@delopay/sdk 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XK6RSV5Y.js → chunk-TE4LLC2R.js} +133 -133
- package/dist/chunk-TE4LLC2R.js.map +1 -0
- package/dist/index.cjs +132 -132
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -40
- package/dist/index.d.ts +40 -40
- package/dist/index.js +1 -1
- package/dist/internal.cjs +132 -132
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-XK6RSV5Y.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1955,7 +1955,7 @@ declare class Authentication {
|
|
|
1955
1955
|
sync(authId: string, params?: Record<string, unknown>): Promise<AuthenticationResponse>;
|
|
1956
1956
|
/** Redirect after authentication. `POST /authentication/{authId}/redirect` */
|
|
1957
1957
|
redirect(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1958
|
-
/** Enable authn methods token. `POST /authentication/{authId}/
|
|
1958
|
+
/** Enable authn methods token. `POST /authentication/{authId}/enabled-authn-methods-token` */
|
|
1959
1959
|
enabledAuthnMethodsToken(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1960
1960
|
/** Submit eligibility check. `POST /authentication/{authId}/eligibility-check` */
|
|
1961
1961
|
eligibilityCheck(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
@@ -2101,7 +2101,7 @@ declare class Connectors {
|
|
|
2101
2101
|
registerWebhook(merchantId: string, connectorId: string, params?: ConnectorWebhookRegisterRequest): Promise<ConnectorWebhookRegisterResponse>;
|
|
2102
2102
|
/** Get registered webhooks for a connector. `GET /account/{merchantId}/connectors/webhooks/{connectorId}` */
|
|
2103
2103
|
getWebhook(merchantId: string, connectorId: string): Promise<ConnectorWebhookListResponse>;
|
|
2104
|
-
/** List available payment methods. `GET /account/
|
|
2104
|
+
/** List available payment methods. `GET /account/payment-methods` */
|
|
2105
2105
|
listPaymentMethods(): Promise<Record<string, unknown>[]>;
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
@@ -2158,7 +2158,7 @@ declare class Customers {
|
|
|
2158
2158
|
* @returns Array of customer objects.
|
|
2159
2159
|
*/
|
|
2160
2160
|
list(params?: CustomerListParams): Promise<CustomerResponse[]>;
|
|
2161
|
-
/** List customers with count. `GET /customers/
|
|
2161
|
+
/** List customers with count. `GET /customers/list-with-count` */
|
|
2162
2162
|
listWithCount(params?: CustomerListParams): Promise<{
|
|
2163
2163
|
count: number;
|
|
2164
2164
|
total_count: number;
|
|
@@ -2383,9 +2383,9 @@ declare class PaymentLinks {
|
|
|
2383
2383
|
* @returns Paginated list of payment links.
|
|
2384
2384
|
*/
|
|
2385
2385
|
list(params?: PaymentLinkListParams): Promise<PaymentLinkListResponse>;
|
|
2386
|
-
/** Initiate (render) a payment link page. `GET /
|
|
2386
|
+
/** Initiate (render) a payment link page. `GET /payment-link/{merchantId}/{paymentId}` */
|
|
2387
2387
|
initiate(merchantId: string, paymentId: string): Promise<Record<string, unknown>>;
|
|
2388
|
-
/** Get payment link status. `GET /
|
|
2388
|
+
/** Get payment link status. `GET /payment-linkstatus/{merchantId}/{paymentId}` */
|
|
2389
2389
|
status(merchantId: string, paymentId: string): Promise<Record<string, unknown>>;
|
|
2390
2390
|
}
|
|
2391
2391
|
|
|
@@ -2463,27 +2463,27 @@ declare class PaymentMethods {
|
|
|
2463
2463
|
* @returns The updated payment method.
|
|
2464
2464
|
*/
|
|
2465
2465
|
setDefault(customerId: string, methodId: string): Promise<PaymentMethodResponse>;
|
|
2466
|
-
/** Migrate a payment method. `POST /
|
|
2466
|
+
/** Migrate a payment method. `POST /payment-methods/migrate` */
|
|
2467
2467
|
migrate(params: Record<string, unknown>): Promise<PaymentMethodResponse>;
|
|
2468
|
-
/** Batch migrate payment methods. `POST /
|
|
2468
|
+
/** Batch migrate payment methods. `POST /payment-methods/migrate-batch` */
|
|
2469
2469
|
migrateBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2470
|
-
/** Batch update payment methods. `POST /
|
|
2470
|
+
/** Batch update payment methods. `POST /payment-methods/update-batch` */
|
|
2471
2471
|
updateBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2472
|
-
/** Batch retrieve payment methods. `GET /
|
|
2472
|
+
/** Batch retrieve payment methods. `GET /payment-methods/batch` */
|
|
2473
2473
|
batchRetrieve(params?: Record<string, string | number | undefined>): Promise<PaymentMethodResponse[]>;
|
|
2474
|
-
/** Tokenize a card. `POST /
|
|
2474
|
+
/** Tokenize a card. `POST /payment-methods/tokenize-card` */
|
|
2475
2475
|
tokenizeCard(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2476
|
-
/** Batch tokenize cards. `POST /
|
|
2476
|
+
/** Batch tokenize cards. `POST /payment-methods/tokenize-card-batch` */
|
|
2477
2477
|
tokenizeCardBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2478
|
-
/** Initiate payment method collect link flow. `POST /
|
|
2478
|
+
/** Initiate payment method collect link flow. `POST /payment-methods/collect` */
|
|
2479
2479
|
collect(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2480
|
-
/** Save a payment method. `POST /
|
|
2480
|
+
/** Save a payment method. `POST /payment-methods/{methodId}/save` */
|
|
2481
2481
|
save(methodId: string, params?: Record<string, unknown>): Promise<PaymentMethodResponse>;
|
|
2482
|
-
/** Create payment method auth link token. `POST /
|
|
2482
|
+
/** Create payment method auth link token. `POST /payment-methods/auth/link` */
|
|
2483
2483
|
createAuthLink(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2484
|
-
/** Exchange payment method auth token. `POST /
|
|
2484
|
+
/** Exchange payment method auth token. `POST /payment-methods/auth/exchange` */
|
|
2485
2485
|
exchangeAuthToken(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2486
|
-
/** Tokenize card using existing PM. `POST /
|
|
2486
|
+
/** Tokenize card using existing PM. `POST /payment-methods/{methodId}/tokenize-card` */
|
|
2487
2487
|
tokenizeCardForMethod(methodId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
@@ -2574,23 +2574,23 @@ declare class Payments {
|
|
|
2574
2574
|
* ```
|
|
2575
2575
|
*/
|
|
2576
2576
|
list(params?: PaymentListParams): Promise<PaymentListResponse>;
|
|
2577
|
-
/** Generate session tokens. `POST /payments/
|
|
2577
|
+
/** Generate session tokens. `POST /payments/session-tokens` */
|
|
2578
2578
|
sessionTokens(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2579
2579
|
/** Retrieve payment with gateway credentials. `POST /payments/sync` */
|
|
2580
2580
|
sync(params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2581
|
-
/** Cancel after partial capture. `POST /payments/{paymentId}/
|
|
2581
|
+
/** Cancel after partial capture. `POST /payments/{paymentId}/cancel-post-capture` */
|
|
2582
2582
|
cancelPostCapture(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2583
|
-
/** Incrementally authorize more funds. `POST /payments/{paymentId}/
|
|
2583
|
+
/** Incrementally authorize more funds. `POST /payments/{paymentId}/incremental-authorization` */
|
|
2584
2584
|
incrementalAuthorization(paymentId: string, params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2585
|
-
/** Extend authorization window. `POST /payments/{paymentId}/
|
|
2585
|
+
/** Extend authorization window. `POST /payments/{paymentId}/extend-authorization` */
|
|
2586
2586
|
extendAuthorization(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2587
|
-
/** Complete authorization. `POST /payments/{paymentId}/
|
|
2587
|
+
/** Complete authorization. `POST /payments/{paymentId}/complete-authorize` */
|
|
2588
2588
|
completeAuthorize(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2589
|
-
/** Dynamic tax calculation. `POST /payments/{paymentId}/
|
|
2589
|
+
/** Dynamic tax calculation. `POST /payments/{paymentId}/calculate-tax` */
|
|
2590
2590
|
calculateTax(paymentId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2591
|
-
/** Update payment metadata. `POST /payments/{paymentId}/
|
|
2591
|
+
/** Update payment metadata. `POST /payments/{paymentId}/update-metadata` */
|
|
2592
2592
|
updateMetadata(paymentId: string, params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2593
|
-
/** Retrieve extended card info. `GET /payments/{paymentId}/
|
|
2593
|
+
/** Retrieve extended card info. `GET /payments/{paymentId}/extended-card-info` */
|
|
2594
2594
|
extendedCardInfo(paymentId: string): Promise<Record<string, unknown>>;
|
|
2595
2595
|
/** List payments (profile-scoped). `GET /payments/profile/list` */
|
|
2596
2596
|
listByProfile(params?: PaymentListParams): Promise<PaymentListResponse>;
|
|
@@ -2715,9 +2715,9 @@ declare class Profiles {
|
|
|
2715
2715
|
list(accountId: string): Promise<ProfileResponse[]>;
|
|
2716
2716
|
update(accountId: string, profileId: string, params: ProfileUpdateRequest): Promise<ProfileResponse>;
|
|
2717
2717
|
delete(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2718
|
-
/** Toggle extended card info for a profile. `POST /account/{accountId}/
|
|
2718
|
+
/** Toggle extended card info for a profile. `POST /account/{accountId}/business-profile/{profileId}/toggle-extended-card-info` */
|
|
2719
2719
|
toggleExtendedCardInfo(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2720
|
-
/** Toggle connector agnostic MIT. `POST /account/{accountId}/
|
|
2720
|
+
/** Toggle connector agnostic MIT. `POST /account/{accountId}/business-profile/{profileId}/toggle-connector-agnostic-mit` */
|
|
2721
2721
|
toggleConnectorAgnosticMit(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2722
2722
|
}
|
|
2723
2723
|
|
|
@@ -3100,11 +3100,11 @@ declare class StripeConnect {
|
|
|
3100
3100
|
constructor(request: RequestFn);
|
|
3101
3101
|
createAccount(params: StripeConnectAccountRequest): Promise<StripeConnectAccountResponse>;
|
|
3102
3102
|
createAccountLink(params: StripeConnectLinkRequest): Promise<StripeConnectLinkResponse>;
|
|
3103
|
-
/** Get onboarding action URL. `POST /
|
|
3103
|
+
/** Get onboarding action URL. `POST /connector-onboarding/action-url` */
|
|
3104
3104
|
getActionUrl(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3105
|
-
/** Sync onboarding status. `POST /
|
|
3105
|
+
/** Sync onboarding status. `POST /connector-onboarding/sync` */
|
|
3106
3106
|
syncOnboarding(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3107
|
-
/** Reset tracking ID. `POST /
|
|
3107
|
+
/** Reset tracking ID. `POST /connector-onboarding/reset-tracking-id` */
|
|
3108
3108
|
resetTrackingId(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3109
3109
|
}
|
|
3110
3110
|
|
|
@@ -3275,9 +3275,9 @@ declare class Users {
|
|
|
3275
3275
|
getAuthUrl(): Promise<Record<string, unknown>>;
|
|
3276
3276
|
/** Select auth method. `POST /user/auth/select` */
|
|
3277
3277
|
selectAuth(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3278
|
-
/** List users in lineage. `GET /user/
|
|
3278
|
+
/** List users in lineage. `GET /user/employees/list` */
|
|
3279
3279
|
listUsersInLineage(): Promise<Record<string, unknown>[]>;
|
|
3280
|
-
/** Resend invite. `POST /user/
|
|
3280
|
+
/** Resend invite. `POST /user/employees/resend-invite` */
|
|
3281
3281
|
resendInvite(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3282
3282
|
/**
|
|
3283
3283
|
* Get the caller's parent permission groups + scopes.
|
|
@@ -3295,7 +3295,7 @@ declare class Users {
|
|
|
3295
3295
|
listInvitableRoles(params?: ListInvitableRolesParams): Promise<Record<string, unknown>[]>;
|
|
3296
3296
|
/** List updatable roles. `GET /user/role/list/update` */
|
|
3297
3297
|
listUpdatableRoles(): Promise<Record<string, unknown>[]>;
|
|
3298
|
-
/** Get permission info. `GET /user/
|
|
3298
|
+
/** Get permission info. `GET /user/permission-info` */
|
|
3299
3299
|
getPermissionInfo(): Promise<Record<string, unknown>>;
|
|
3300
3300
|
/** Get module list. `GET /user/module/list` */
|
|
3301
3301
|
getModuleList(): Promise<Record<string, unknown>[]>;
|
|
@@ -3347,15 +3347,15 @@ declare class Analytics {
|
|
|
3347
3347
|
searchDomain(domain: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3348
3348
|
/** Get analytics info. `GET /analytics/{domain}/info` */
|
|
3349
3349
|
getInfo(domain: string): Promise<Record<string, unknown>>;
|
|
3350
|
-
/** Get API event logs. `GET /analytics/
|
|
3350
|
+
/** Get API event logs. `GET /analytics/api-event-logs` */
|
|
3351
3351
|
apiEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3352
|
-
/** Get SDK event logs. `POST /analytics/
|
|
3352
|
+
/** Get SDK event logs. `POST /analytics/sdk-event-logs` */
|
|
3353
3353
|
sdkEventLogs(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3354
|
-
/** Get connector event logs. `GET /analytics/
|
|
3354
|
+
/** Get connector event logs. `GET /analytics/connector-event-logs` */
|
|
3355
3355
|
connectorEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3356
|
-
/** Get routing event logs. `GET /analytics/
|
|
3356
|
+
/** Get routing event logs. `GET /analytics/routing-event-logs` */
|
|
3357
3357
|
routingEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3358
|
-
/** Get outgoing webhook event logs. `GET /analytics/
|
|
3358
|
+
/** Get outgoing webhook event logs. `GET /analytics/outgoing-webhook-event-logs` */
|
|
3359
3359
|
outgoingWebhookEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
@@ -3389,13 +3389,13 @@ declare class Export {
|
|
|
3389
3389
|
declare class FeatureMatrix {
|
|
3390
3390
|
private readonly request;
|
|
3391
3391
|
constructor(request: RequestFn);
|
|
3392
|
-
/** Retrieve the feature matrix. `GET /
|
|
3392
|
+
/** Retrieve the feature matrix. `GET /feature-matrix` */
|
|
3393
3393
|
retrieve(): Promise<Record<string, unknown>>;
|
|
3394
3394
|
/**
|
|
3395
3395
|
* Retrieve the feature matrix scoped to a merchant. Beta connectors
|
|
3396
3396
|
* are filtered against the merchant's allowlist so the dashboard only
|
|
3397
3397
|
* surfaces connectors the merchant can actually attach.
|
|
3398
|
-
* `GET /
|
|
3398
|
+
* `GET /feature-matrix/{merchantId}`
|
|
3399
3399
|
*/
|
|
3400
3400
|
retrieveForMerchant(merchantId: string): Promise<Record<string, unknown>>;
|
|
3401
3401
|
}
|
|
@@ -3416,7 +3416,7 @@ declare class Forex {
|
|
|
3416
3416
|
constructor(request: RequestFn);
|
|
3417
3417
|
/** Retrieve forex rates. `GET /forex/rates` */
|
|
3418
3418
|
getRates(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3419
|
-
/** Convert from minor currency. `GET /forex/
|
|
3419
|
+
/** Convert from minor currency. `GET /forex/convert-from-minor` */
|
|
3420
3420
|
convertFromMinor(params: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3421
3421
|
}
|
|
3422
3422
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1955,7 +1955,7 @@ declare class Authentication {
|
|
|
1955
1955
|
sync(authId: string, params?: Record<string, unknown>): Promise<AuthenticationResponse>;
|
|
1956
1956
|
/** Redirect after authentication. `POST /authentication/{authId}/redirect` */
|
|
1957
1957
|
redirect(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1958
|
-
/** Enable authn methods token. `POST /authentication/{authId}/
|
|
1958
|
+
/** Enable authn methods token. `POST /authentication/{authId}/enabled-authn-methods-token` */
|
|
1959
1959
|
enabledAuthnMethodsToken(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
1960
1960
|
/** Submit eligibility check. `POST /authentication/{authId}/eligibility-check` */
|
|
1961
1961
|
eligibilityCheck(authId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
@@ -2101,7 +2101,7 @@ declare class Connectors {
|
|
|
2101
2101
|
registerWebhook(merchantId: string, connectorId: string, params?: ConnectorWebhookRegisterRequest): Promise<ConnectorWebhookRegisterResponse>;
|
|
2102
2102
|
/** Get registered webhooks for a connector. `GET /account/{merchantId}/connectors/webhooks/{connectorId}` */
|
|
2103
2103
|
getWebhook(merchantId: string, connectorId: string): Promise<ConnectorWebhookListResponse>;
|
|
2104
|
-
/** List available payment methods. `GET /account/
|
|
2104
|
+
/** List available payment methods. `GET /account/payment-methods` */
|
|
2105
2105
|
listPaymentMethods(): Promise<Record<string, unknown>[]>;
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
@@ -2158,7 +2158,7 @@ declare class Customers {
|
|
|
2158
2158
|
* @returns Array of customer objects.
|
|
2159
2159
|
*/
|
|
2160
2160
|
list(params?: CustomerListParams): Promise<CustomerResponse[]>;
|
|
2161
|
-
/** List customers with count. `GET /customers/
|
|
2161
|
+
/** List customers with count. `GET /customers/list-with-count` */
|
|
2162
2162
|
listWithCount(params?: CustomerListParams): Promise<{
|
|
2163
2163
|
count: number;
|
|
2164
2164
|
total_count: number;
|
|
@@ -2383,9 +2383,9 @@ declare class PaymentLinks {
|
|
|
2383
2383
|
* @returns Paginated list of payment links.
|
|
2384
2384
|
*/
|
|
2385
2385
|
list(params?: PaymentLinkListParams): Promise<PaymentLinkListResponse>;
|
|
2386
|
-
/** Initiate (render) a payment link page. `GET /
|
|
2386
|
+
/** Initiate (render) a payment link page. `GET /payment-link/{merchantId}/{paymentId}` */
|
|
2387
2387
|
initiate(merchantId: string, paymentId: string): Promise<Record<string, unknown>>;
|
|
2388
|
-
/** Get payment link status. `GET /
|
|
2388
|
+
/** Get payment link status. `GET /payment-linkstatus/{merchantId}/{paymentId}` */
|
|
2389
2389
|
status(merchantId: string, paymentId: string): Promise<Record<string, unknown>>;
|
|
2390
2390
|
}
|
|
2391
2391
|
|
|
@@ -2463,27 +2463,27 @@ declare class PaymentMethods {
|
|
|
2463
2463
|
* @returns The updated payment method.
|
|
2464
2464
|
*/
|
|
2465
2465
|
setDefault(customerId: string, methodId: string): Promise<PaymentMethodResponse>;
|
|
2466
|
-
/** Migrate a payment method. `POST /
|
|
2466
|
+
/** Migrate a payment method. `POST /payment-methods/migrate` */
|
|
2467
2467
|
migrate(params: Record<string, unknown>): Promise<PaymentMethodResponse>;
|
|
2468
|
-
/** Batch migrate payment methods. `POST /
|
|
2468
|
+
/** Batch migrate payment methods. `POST /payment-methods/migrate-batch` */
|
|
2469
2469
|
migrateBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2470
|
-
/** Batch update payment methods. `POST /
|
|
2470
|
+
/** Batch update payment methods. `POST /payment-methods/update-batch` */
|
|
2471
2471
|
updateBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2472
|
-
/** Batch retrieve payment methods. `GET /
|
|
2472
|
+
/** Batch retrieve payment methods. `GET /payment-methods/batch` */
|
|
2473
2473
|
batchRetrieve(params?: Record<string, string | number | undefined>): Promise<PaymentMethodResponse[]>;
|
|
2474
|
-
/** Tokenize a card. `POST /
|
|
2474
|
+
/** Tokenize a card. `POST /payment-methods/tokenize-card` */
|
|
2475
2475
|
tokenizeCard(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2476
|
-
/** Batch tokenize cards. `POST /
|
|
2476
|
+
/** Batch tokenize cards. `POST /payment-methods/tokenize-card-batch` */
|
|
2477
2477
|
tokenizeCardBatch(params: Record<string, unknown>[]): Promise<Record<string, unknown>>;
|
|
2478
|
-
/** Initiate payment method collect link flow. `POST /
|
|
2478
|
+
/** Initiate payment method collect link flow. `POST /payment-methods/collect` */
|
|
2479
2479
|
collect(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2480
|
-
/** Save a payment method. `POST /
|
|
2480
|
+
/** Save a payment method. `POST /payment-methods/{methodId}/save` */
|
|
2481
2481
|
save(methodId: string, params?: Record<string, unknown>): Promise<PaymentMethodResponse>;
|
|
2482
|
-
/** Create payment method auth link token. `POST /
|
|
2482
|
+
/** Create payment method auth link token. `POST /payment-methods/auth/link` */
|
|
2483
2483
|
createAuthLink(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2484
|
-
/** Exchange payment method auth token. `POST /
|
|
2484
|
+
/** Exchange payment method auth token. `POST /payment-methods/auth/exchange` */
|
|
2485
2485
|
exchangeAuthToken(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2486
|
-
/** Tokenize card using existing PM. `POST /
|
|
2486
|
+
/** Tokenize card using existing PM. `POST /payment-methods/{methodId}/tokenize-card` */
|
|
2487
2487
|
tokenizeCardForMethod(methodId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
@@ -2574,23 +2574,23 @@ declare class Payments {
|
|
|
2574
2574
|
* ```
|
|
2575
2575
|
*/
|
|
2576
2576
|
list(params?: PaymentListParams): Promise<PaymentListResponse>;
|
|
2577
|
-
/** Generate session tokens. `POST /payments/
|
|
2577
|
+
/** Generate session tokens. `POST /payments/session-tokens` */
|
|
2578
2578
|
sessionTokens(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2579
2579
|
/** Retrieve payment with gateway credentials. `POST /payments/sync` */
|
|
2580
2580
|
sync(params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2581
|
-
/** Cancel after partial capture. `POST /payments/{paymentId}/
|
|
2581
|
+
/** Cancel after partial capture. `POST /payments/{paymentId}/cancel-post-capture` */
|
|
2582
2582
|
cancelPostCapture(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2583
|
-
/** Incrementally authorize more funds. `POST /payments/{paymentId}/
|
|
2583
|
+
/** Incrementally authorize more funds. `POST /payments/{paymentId}/incremental-authorization` */
|
|
2584
2584
|
incrementalAuthorization(paymentId: string, params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2585
|
-
/** Extend authorization window. `POST /payments/{paymentId}/
|
|
2585
|
+
/** Extend authorization window. `POST /payments/{paymentId}/extend-authorization` */
|
|
2586
2586
|
extendAuthorization(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2587
|
-
/** Complete authorization. `POST /payments/{paymentId}/
|
|
2587
|
+
/** Complete authorization. `POST /payments/{paymentId}/complete-authorize` */
|
|
2588
2588
|
completeAuthorize(paymentId: string, params?: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2589
|
-
/** Dynamic tax calculation. `POST /payments/{paymentId}/
|
|
2589
|
+
/** Dynamic tax calculation. `POST /payments/{paymentId}/calculate-tax` */
|
|
2590
2590
|
calculateTax(paymentId: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
2591
|
-
/** Update payment metadata. `POST /payments/{paymentId}/
|
|
2591
|
+
/** Update payment metadata. `POST /payments/{paymentId}/update-metadata` */
|
|
2592
2592
|
updateMetadata(paymentId: string, params: Record<string, unknown>): Promise<PaymentResponse>;
|
|
2593
|
-
/** Retrieve extended card info. `GET /payments/{paymentId}/
|
|
2593
|
+
/** Retrieve extended card info. `GET /payments/{paymentId}/extended-card-info` */
|
|
2594
2594
|
extendedCardInfo(paymentId: string): Promise<Record<string, unknown>>;
|
|
2595
2595
|
/** List payments (profile-scoped). `GET /payments/profile/list` */
|
|
2596
2596
|
listByProfile(params?: PaymentListParams): Promise<PaymentListResponse>;
|
|
@@ -2715,9 +2715,9 @@ declare class Profiles {
|
|
|
2715
2715
|
list(accountId: string): Promise<ProfileResponse[]>;
|
|
2716
2716
|
update(accountId: string, profileId: string, params: ProfileUpdateRequest): Promise<ProfileResponse>;
|
|
2717
2717
|
delete(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2718
|
-
/** Toggle extended card info for a profile. `POST /account/{accountId}/
|
|
2718
|
+
/** Toggle extended card info for a profile. `POST /account/{accountId}/business-profile/{profileId}/toggle-extended-card-info` */
|
|
2719
2719
|
toggleExtendedCardInfo(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2720
|
-
/** Toggle connector agnostic MIT. `POST /account/{accountId}/
|
|
2720
|
+
/** Toggle connector agnostic MIT. `POST /account/{accountId}/business-profile/{profileId}/toggle-connector-agnostic-mit` */
|
|
2721
2721
|
toggleConnectorAgnosticMit(accountId: string, profileId: string): Promise<ProfileResponse>;
|
|
2722
2722
|
}
|
|
2723
2723
|
|
|
@@ -3100,11 +3100,11 @@ declare class StripeConnect {
|
|
|
3100
3100
|
constructor(request: RequestFn);
|
|
3101
3101
|
createAccount(params: StripeConnectAccountRequest): Promise<StripeConnectAccountResponse>;
|
|
3102
3102
|
createAccountLink(params: StripeConnectLinkRequest): Promise<StripeConnectLinkResponse>;
|
|
3103
|
-
/** Get onboarding action URL. `POST /
|
|
3103
|
+
/** Get onboarding action URL. `POST /connector-onboarding/action-url` */
|
|
3104
3104
|
getActionUrl(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3105
|
-
/** Sync onboarding status. `POST /
|
|
3105
|
+
/** Sync onboarding status. `POST /connector-onboarding/sync` */
|
|
3106
3106
|
syncOnboarding(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3107
|
-
/** Reset tracking ID. `POST /
|
|
3107
|
+
/** Reset tracking ID. `POST /connector-onboarding/reset-tracking-id` */
|
|
3108
3108
|
resetTrackingId(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3109
3109
|
}
|
|
3110
3110
|
|
|
@@ -3275,9 +3275,9 @@ declare class Users {
|
|
|
3275
3275
|
getAuthUrl(): Promise<Record<string, unknown>>;
|
|
3276
3276
|
/** Select auth method. `POST /user/auth/select` */
|
|
3277
3277
|
selectAuth(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3278
|
-
/** List users in lineage. `GET /user/
|
|
3278
|
+
/** List users in lineage. `GET /user/employees/list` */
|
|
3279
3279
|
listUsersInLineage(): Promise<Record<string, unknown>[]>;
|
|
3280
|
-
/** Resend invite. `POST /user/
|
|
3280
|
+
/** Resend invite. `POST /user/employees/resend-invite` */
|
|
3281
3281
|
resendInvite(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3282
3282
|
/**
|
|
3283
3283
|
* Get the caller's parent permission groups + scopes.
|
|
@@ -3295,7 +3295,7 @@ declare class Users {
|
|
|
3295
3295
|
listInvitableRoles(params?: ListInvitableRolesParams): Promise<Record<string, unknown>[]>;
|
|
3296
3296
|
/** List updatable roles. `GET /user/role/list/update` */
|
|
3297
3297
|
listUpdatableRoles(): Promise<Record<string, unknown>[]>;
|
|
3298
|
-
/** Get permission info. `GET /user/
|
|
3298
|
+
/** Get permission info. `GET /user/permission-info` */
|
|
3299
3299
|
getPermissionInfo(): Promise<Record<string, unknown>>;
|
|
3300
3300
|
/** Get module list. `GET /user/module/list` */
|
|
3301
3301
|
getModuleList(): Promise<Record<string, unknown>[]>;
|
|
@@ -3347,15 +3347,15 @@ declare class Analytics {
|
|
|
3347
3347
|
searchDomain(domain: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3348
3348
|
/** Get analytics info. `GET /analytics/{domain}/info` */
|
|
3349
3349
|
getInfo(domain: string): Promise<Record<string, unknown>>;
|
|
3350
|
-
/** Get API event logs. `GET /analytics/
|
|
3350
|
+
/** Get API event logs. `GET /analytics/api-event-logs` */
|
|
3351
3351
|
apiEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3352
|
-
/** Get SDK event logs. `POST /analytics/
|
|
3352
|
+
/** Get SDK event logs. `POST /analytics/sdk-event-logs` */
|
|
3353
3353
|
sdkEventLogs(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3354
|
-
/** Get connector event logs. `GET /analytics/
|
|
3354
|
+
/** Get connector event logs. `GET /analytics/connector-event-logs` */
|
|
3355
3355
|
connectorEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3356
|
-
/** Get routing event logs. `GET /analytics/
|
|
3356
|
+
/** Get routing event logs. `GET /analytics/routing-event-logs` */
|
|
3357
3357
|
routingEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3358
|
-
/** Get outgoing webhook event logs. `GET /analytics/
|
|
3358
|
+
/** Get outgoing webhook event logs. `GET /analytics/outgoing-webhook-event-logs` */
|
|
3359
3359
|
outgoingWebhookEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
@@ -3389,13 +3389,13 @@ declare class Export {
|
|
|
3389
3389
|
declare class FeatureMatrix {
|
|
3390
3390
|
private readonly request;
|
|
3391
3391
|
constructor(request: RequestFn);
|
|
3392
|
-
/** Retrieve the feature matrix. `GET /
|
|
3392
|
+
/** Retrieve the feature matrix. `GET /feature-matrix` */
|
|
3393
3393
|
retrieve(): Promise<Record<string, unknown>>;
|
|
3394
3394
|
/**
|
|
3395
3395
|
* Retrieve the feature matrix scoped to a merchant. Beta connectors
|
|
3396
3396
|
* are filtered against the merchant's allowlist so the dashboard only
|
|
3397
3397
|
* surfaces connectors the merchant can actually attach.
|
|
3398
|
-
* `GET /
|
|
3398
|
+
* `GET /feature-matrix/{merchantId}`
|
|
3399
3399
|
*/
|
|
3400
3400
|
retrieveForMerchant(merchantId: string): Promise<Record<string, unknown>>;
|
|
3401
3401
|
}
|
|
@@ -3416,7 +3416,7 @@ declare class Forex {
|
|
|
3416
3416
|
constructor(request: RequestFn);
|
|
3417
3417
|
/** Retrieve forex rates. `GET /forex/rates` */
|
|
3418
3418
|
getRates(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3419
|
-
/** Convert from minor currency. `GET /forex/
|
|
3419
|
+
/** Convert from minor currency. `GET /forex/convert-from-minor` */
|
|
3420
3420
|
convertFromMinor(params: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
3421
3421
|
}
|
|
3422
3422
|
|