Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.14.0"
".": "0.15.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude/prelude-86fc45f417e6468f6a6087f9e35b264b0a350e31385bc078a2027a1f1abd1d15.yml
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude/prelude-33b70f86404b99046db5c61d3142b149dd7dec7eefe5e62ff3b397c7274aa5dc.yml
openapi_spec_hash: fb72aba38ec55a3b6b5162c9f5b4228d
config_hash: 3dbe79c14ecd9a153418249f9155d159
config_hash: 707d65d2f456a2b5ba5b2c565b60128a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.15.0 (2026-09-18)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/prelude-so/node-sdk/compare/v0.14.0...v0.15.0)

### Features

* **api:** manual updates ([524243a](https://github.com/prelude-so/node-sdk/commit/524243a641cfb439443592613422465cefd1f8d3))

## 0.14.0 (2026-09-15)

Full Changelog: [v0.13.0...v0.14.0](https://github.com/prelude-so/node-sdk/compare/v0.13.0...v0.14.0)
Expand Down
82 changes: 68 additions & 14 deletions api.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Shared

Types:

- <code><a href="./src/resources/shared.ts">Signals</a></code>
- <code><a href="./src/resources/shared.ts">Target</a></code>

# Lookup

Types:
Expand All @@ -17,6 +24,7 @@ Types:
- <code><a href="./src/resources/notify.ts">NotifyListSubscriptionConfigsResponse</a></code>
- <code><a href="./src/resources/notify.ts">NotifyListSubscriptionPhoneNumberEventsResponse</a></code>
- <code><a href="./src/resources/notify.ts">NotifyListSubscriptionPhoneNumbersResponse</a></code>
- <code><a href="./src/resources/notify.ts">NotifyReplyResponse</a></code>
- <code><a href="./src/resources/notify.ts">NotifySendResponse</a></code>
- <code><a href="./src/resources/notify.ts">NotifySendBatchResponse</a></code>

Expand All @@ -27,6 +35,7 @@ Methods:
- <code title="get /v2/notify/management/subscriptions">client.notify.<a href="./src/resources/notify.ts">listSubscriptionConfigs</a>({ ...params }) -> NotifyListSubscriptionConfigsResponse</code>
- <code title="get /v2/notify/management/subscriptions/{config_id}/phone_numbers/{phone_number}/events">client.notify.<a href="./src/resources/notify.ts">listSubscriptionPhoneNumberEvents</a>(configId, phoneNumber, { ...params }) -> NotifyListSubscriptionPhoneNumberEventsResponse</code>
- <code title="get /v2/notify/management/subscriptions/{config_id}/phone_numbers">client.notify.<a href="./src/resources/notify.ts">listSubscriptionPhoneNumbers</a>(configId, { ...params }) -> NotifyListSubscriptionPhoneNumbersResponse</code>
- <code title="post /v2/notify/reply">client.notify.<a href="./src/resources/notify.ts">reply</a>({ ...params }) -> NotifyReplyResponse</code>
- <code title="post /v2/notify">client.notify.<a href="./src/resources/notify.ts">send</a>({ ...params }) -> NotifySendResponse</code>
- <code title="post /v2/notify/batch">client.notify.<a href="./src/resources/notify.ts">sendBatch</a>({ ...params }) -> NotifySendBatchResponse</code>

Expand All @@ -44,42 +53,87 @@ Methods:

Types:

- <code><a href="./src/resources/verification.ts">VerificationCreateResponse</a></code>
- <code><a href="./src/resources/verification.ts">VerificationCheckResponse</a></code>
- <code><a href="./src/resources/verification/verification.ts">VerificationCreateResponse</a></code>
- <code><a href="./src/resources/verification/verification.ts">VerificationCheckResponse</a></code>

Methods:

- <code title="post /v2/verification">client.verification.<a href="./src/resources/verification/verification.ts">create</a>({ ...params }) -> VerificationCreateResponse</code>
- <code title="post /v2/verification/check">client.verification.<a href="./src/resources/verification/verification.ts">check</a>({ ...params }) -> VerificationCheckResponse</code>

## Phone

### History

Types:

- <code><a href="./src/resources/verification/phone/history.ts">PhoneVerificationCarrier</a></code>
- <code><a href="./src/resources/verification/phone/history.ts">PhoneVerificationMoney</a></code>
- <code><a href="./src/resources/verification/phone/history.ts">PhoneVerificationPsd2Transaction</a></code>
- <code><a href="./src/resources/verification/phone/history.ts">HistoryRetrieveResponse</a></code>
- <code><a href="./src/resources/verification/phone/history.ts">HistoryListResponse</a></code>

Methods:

- <code title="post /v2/verification">client.verification.<a href="./src/resources/verification.ts">create</a>({ ...params }) -> VerificationCreateResponse</code>
- <code title="post /v2/verification/check">client.verification.<a href="./src/resources/verification.ts">check</a>({ ...params }) -> VerificationCheckResponse</code>
- <code title="get /v2/verification/phone/history/{id}">client.verification.phone.history.<a href="./src/resources/verification/phone/history.ts">retrieve</a>(id) -> HistoryRetrieveResponse</code>
- <code title="get /v2/verification/phone/history">client.verification.phone.history.<a href="./src/resources/verification/phone/history.ts">list</a>({ ...params }) -> HistoryListResponse</code>

# VerificationManagement

Types:

- <code><a href="./src/resources/verification-management.ts">VerificationManagementDeletePhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management.ts">VerificationManagementListPhoneNumbersResponse</a></code>
- <code><a href="./src/resources/verification-management.ts">VerificationManagementListSenderIDsResponse</a></code>
- <code><a href="./src/resources/verification-management.ts">VerificationManagementSetPhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management.ts">VerificationManagementSubmitSenderIDResponse</a></code>
- <code><a href="./src/resources/verification-management/verification-management.ts">VerificationManagementDeletePhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management/verification-management.ts">VerificationManagementListPhoneNumbersResponse</a></code>
- <code><a href="./src/resources/verification-management/verification-management.ts">VerificationManagementListSenderIDsResponse</a></code>
- <code><a href="./src/resources/verification-management/verification-management.ts">VerificationManagementSetPhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management/verification-management.ts">VerificationManagementSubmitSenderIDResponse</a></code>

Methods:

- <code title="delete /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management.ts">deletePhoneNumber</a>(action, { ...params }) -> VerificationManagementDeletePhoneNumberResponse</code>
- <code title="get /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management.ts">listPhoneNumbers</a>(action) -> VerificationManagementListPhoneNumbersResponse</code>
- <code title="get /v2/verification/management/sender-id">client.verificationManagement.<a href="./src/resources/verification-management.ts">listSenderIds</a>() -> VerificationManagementListSenderIDsResponse</code>
- <code title="post /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management.ts">setPhoneNumber</a>(action, { ...params }) -> VerificationManagementSetPhoneNumberResponse</code>
- <code title="post /v2/verification/management/sender-id">client.verificationManagement.<a href="./src/resources/verification-management.ts">submitSenderId</a>({ ...params }) -> VerificationManagementSubmitSenderIDResponse</code>
- <code title="delete /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management/verification-management.ts">deletePhoneNumber</a>(action, { ...params }) -> VerificationManagementDeletePhoneNumberResponse</code>
- <code title="get /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management/verification-management.ts">listPhoneNumbers</a>(action) -> VerificationManagementListPhoneNumbersResponse</code>
- <code title="get /v2/verification/management/sender-id">client.verificationManagement.<a href="./src/resources/verification-management/verification-management.ts">listSenderIds</a>() -> VerificationManagementListSenderIDsResponse</code>
- <code title="post /v2/verification/management/phone-numbers/{action}">client.verificationManagement.<a href="./src/resources/verification-management/verification-management.ts">setPhoneNumber</a>(action, { ...params }) -> VerificationManagementSetPhoneNumberResponse</code>
- <code title="post /v2/verification/management/sender-id">client.verificationManagement.<a href="./src/resources/verification-management/verification-management.ts">submitSenderId</a>({ ...params }) -> VerificationManagementSubmitSenderIDResponse</code>

## Sandbox

Types:

- <code><a href="./src/resources/verification-management/sandbox.ts">SandboxAddPhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management/sandbox.ts">SandboxDeletePhoneNumberResponse</a></code>
- <code><a href="./src/resources/verification-management/sandbox.ts">SandboxListPhoneNumbersResponse</a></code>

Methods:

- <code title="put /v2/verification/management/phone-numbers/sandbox">client.verificationManagement.sandbox.<a href="./src/resources/verification-management/sandbox.ts">addPhoneNumber</a>({ ...params }) -> SandboxAddPhoneNumberResponse</code>
- <code title="delete /v2/verification/management/phone-numbers/sandbox/{phone_number}">client.verificationManagement.sandbox.<a href="./src/resources/verification-management/sandbox.ts">deletePhoneNumber</a>(phoneNumber) -> SandboxDeletePhoneNumberResponse</code>
- <code title="get /v2/verification/management/phone-numbers/sandbox">client.verificationManagement.sandbox.<a href="./src/resources/verification-management/sandbox.ts">listPhoneNumbers</a>() -> SandboxListPhoneNumbersResponse</code>

# Watch

Types:

- <code><a href="./src/resources/watch.ts">WatchEvaluateResponse</a></code>
- <code><a href="./src/resources/watch.ts">WatchPredictResponse</a></code>
- <code><a href="./src/resources/watch.ts">WatchSendEventsResponse</a></code>
- <code><a href="./src/resources/watch.ts">WatchSendFeedbacksResponse</a></code>

Methods:

- <code title="post /v2/watch/eval">client.watch.<a href="./src/resources/watch.ts">evaluate</a>({ ...params }) -> WatchEvaluateResponse</code>
- <code title="post /v2/watch/predict">client.watch.<a href="./src/resources/watch.ts">predict</a>({ ...params }) -> WatchPredictResponse</code>
- <code title="post /v2/watch/event">client.watch.<a href="./src/resources/watch.ts">sendEvents</a>({ ...params }) -> WatchSendEventsResponse</code>
- <code title="post /v2/watch/feedback">client.watch.<a href="./src/resources/watch.ts">sendFeedbacks</a>({ ...params }) -> WatchSendFeedbacksResponse</code>

# Intel

## KYC

Types:

- <code><a href="./src/resources/intel/kyc.ts">KYCMatchResponse</a></code>

Methods:

- <code title="post /v2/intel/kyc/match/{phone}">client.intel.kyc.<a href="./src/resources/intel/kyc.ts">match</a>(phone, { ...params }) -> KYCMatchResponse</code>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prelude.so/sdk",
"version": "0.14.0",
"version": "0.15.0",
"description": "The official TypeScript library for the Prelude API",
"author": "Prelude <hello@prelude.so>",
"types": "dist/index.d.ts",
Expand Down
46 changes: 31 additions & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,26 @@ import {
NotifyListSubscriptionPhoneNumberEventsResponse,
NotifyListSubscriptionPhoneNumbersParams,
NotifyListSubscriptionPhoneNumbersResponse,
NotifyReplyParams,
NotifyReplyResponse,
NotifySendBatchParams,
NotifySendBatchResponse,
NotifySendParams,
NotifySendResponse,
} from './resources/notify';
import { Transactional, TransactionalSendParams, TransactionalSendResponse } from './resources/transactional';
import {
Verification,
VerificationCheckParams,
VerificationCheckResponse,
VerificationCreateParams,
VerificationCreateResponse,
} from './resources/verification';
Watch,
WatchEvaluateParams,
WatchEvaluateResponse,
WatchPredictParams,
WatchPredictResponse,
WatchSendEventsParams,
WatchSendEventsResponse,
WatchSendFeedbacksParams,
WatchSendFeedbacksResponse,
} from './resources/watch';
import { Intel } from './resources/intel/intel';
import {
VerificationManagement,
VerificationManagementDeletePhoneNumberParams,
Expand All @@ -40,16 +47,14 @@ import {
VerificationManagementSetPhoneNumberResponse,
VerificationManagementSubmitSenderIDParams,
VerificationManagementSubmitSenderIDResponse,
} from './resources/verification-management';
} from './resources/verification-management/verification-management';
import {
Watch,
WatchPredictParams,
WatchPredictResponse,
WatchSendEventsParams,
WatchSendEventsResponse,
WatchSendFeedbacksParams,
WatchSendFeedbacksResponse,
} from './resources/watch';
Verification,
VerificationCheckParams,
VerificationCheckResponse,
VerificationCreateParams,
VerificationCreateResponse,
} from './resources/verification/verification';

export interface ClientOptions {
/**
Expand Down Expand Up @@ -203,6 +208,7 @@ export class Prelude extends Core.APIClient {
* Evaluate email addresses and phone numbers for trustworthiness.
*/
watch: API.Watch = new API.Watch(this);
intel: API.Intel = new API.Intel(this);

/**
* Check whether the base URL is set to its default.
Expand Down Expand Up @@ -257,6 +263,7 @@ Prelude.Transactional = Transactional;
Prelude.Verification = Verification;
Prelude.VerificationManagement = VerificationManagement;
Prelude.Watch = Watch;
Prelude.Intel = Intel;

export declare namespace Prelude {
export type RequestOptions = Core.RequestOptions;
Expand All @@ -274,11 +281,13 @@ export declare namespace Prelude {
type NotifyListSubscriptionConfigsResponse as NotifyListSubscriptionConfigsResponse,
type NotifyListSubscriptionPhoneNumberEventsResponse as NotifyListSubscriptionPhoneNumberEventsResponse,
type NotifyListSubscriptionPhoneNumbersResponse as NotifyListSubscriptionPhoneNumbersResponse,
type NotifyReplyResponse as NotifyReplyResponse,
type NotifySendResponse as NotifySendResponse,
type NotifySendBatchResponse as NotifySendBatchResponse,
type NotifyListSubscriptionConfigsParams as NotifyListSubscriptionConfigsParams,
type NotifyListSubscriptionPhoneNumberEventsParams as NotifyListSubscriptionPhoneNumberEventsParams,
type NotifyListSubscriptionPhoneNumbersParams as NotifyListSubscriptionPhoneNumbersParams,
type NotifyReplyParams as NotifyReplyParams,
type NotifySendParams as NotifySendParams,
type NotifySendBatchParams as NotifySendBatchParams,
};
Expand Down Expand Up @@ -311,13 +320,20 @@ export declare namespace Prelude {

export {
Watch as Watch,
type WatchEvaluateResponse as WatchEvaluateResponse,
type WatchPredictResponse as WatchPredictResponse,
type WatchSendEventsResponse as WatchSendEventsResponse,
type WatchSendFeedbacksResponse as WatchSendFeedbacksResponse,
type WatchEvaluateParams as WatchEvaluateParams,
type WatchPredictParams as WatchPredictParams,
type WatchSendEventsParams as WatchSendEventsParams,
type WatchSendFeedbacksParams as WatchSendFeedbacksParams,
};

export { Intel as Intel };

export type Signals = API.Signals;
export type Target = API.Target;
}

export { toFile, fileFromPath } from './uploads';
Expand Down
10 changes: 8 additions & 2 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export * from './shared';
export { Intel } from './intel/intel';
export { Lookup, type LookupLookupResponse, type LookupLookupParams } from './lookup';
export {
Notify,
Expand All @@ -8,11 +10,13 @@ export {
type NotifyListSubscriptionConfigsResponse,
type NotifyListSubscriptionPhoneNumberEventsResponse,
type NotifyListSubscriptionPhoneNumbersResponse,
type NotifyReplyResponse,
type NotifySendResponse,
type NotifySendBatchResponse,
type NotifyListSubscriptionConfigsParams,
type NotifyListSubscriptionPhoneNumberEventsParams,
type NotifyListSubscriptionPhoneNumbersParams,
type NotifyReplyParams,
type NotifySendParams,
type NotifySendBatchParams,
} from './notify';
Expand All @@ -23,7 +27,7 @@ export {
type VerificationCheckResponse,
type VerificationCreateParams,
type VerificationCheckParams,
} from './verification';
} from './verification/verification';
export {
VerificationManagement,
type VerificationManagementDeletePhoneNumberResponse,
Expand All @@ -34,12 +38,14 @@ export {
type VerificationManagementDeletePhoneNumberParams,
type VerificationManagementSetPhoneNumberParams,
type VerificationManagementSubmitSenderIDParams,
} from './verification-management';
} from './verification-management/verification-management';
export {
Watch,
type WatchEvaluateResponse,
type WatchPredictResponse,
type WatchSendEventsResponse,
type WatchSendFeedbacksResponse,
type WatchEvaluateParams,
type WatchPredictParams,
type WatchSendEventsParams,
type WatchSendFeedbacksParams,
Expand Down
3 changes: 3 additions & 0 deletions src/resources/intel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export * from './intel/index';
4 changes: 4 additions & 0 deletions src/resources/intel/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export { Intel } from './intel';
export { KYC, type KYCMatchResponse, type KYCMatchParams } from './kyc';
15 changes: 15 additions & 0 deletions src/resources/intel/intel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import { APIResource } from '../../resource';
import * as KYCAPI from './kyc';
import { KYC, KYCMatchParams, KYCMatchResponse } from './kyc';

export class Intel extends APIResource {
kyc: KYCAPI.KYC = new KYCAPI.KYC(this._client);
}

Intel.KYC = KYC;

export declare namespace Intel {
export { KYC as KYC, type KYCMatchResponse as KYCMatchResponse, type KYCMatchParams as KYCMatchParams };
}
Loading
Loading