@delopay/sdk 0.140.0 → 0.142.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/README.md +7 -2
- package/dist/{chunk-WW33CCSB.js → chunk-SV2BCXV6.js} +12 -4
- package/dist/chunk-SV2BCXV6.js.map +1 -0
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +169 -10
- package/dist/index.d.ts +169 -10
- package/dist/index.js +3 -1
- package/dist/internal.cjs +20 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +12 -2
- package/dist/internal.d.ts +12 -2
- package/dist/internal.js +11 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-WW33CCSB.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,32 @@ type MerchantAccountType = 'standard' | 'platform' | 'connected';
|
|
|
41
41
|
* the two cannot drift apart.
|
|
42
42
|
*/
|
|
43
43
|
type ManualTriggerEventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' | 'payment_cancelled' | 'payment_cancelled_post_capture' | 'payment_authorized' | 'payment_partially_authorized' | 'payment_captured' | 'payment_expired' | 'action_required' | 'refund_succeeded' | 'refund_failed';
|
|
44
|
-
type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid';
|
|
44
|
+
type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid' | SubscriptionLifecycleEventType;
|
|
45
|
+
/**
|
|
46
|
+
* The subscription lifecycle events, as one union so a handler can match the
|
|
47
|
+
* whole family.
|
|
48
|
+
*
|
|
49
|
+
* Every one of them carries `content.type === 'subscription_details'` with a
|
|
50
|
+
* {@link LifecycleWebhook} as `object` — an immutable snapshot of the
|
|
51
|
+
* subscription at the transition — while `invoice_paid` keeps its
|
|
52
|
+
* {@link ConfirmSubscriptionResponse} payload unchanged. See
|
|
53
|
+
* {@link SubscriptionWebhookContent} for telling the two apart.
|
|
54
|
+
*
|
|
55
|
+
* What the backend guarantees about them:
|
|
56
|
+
*
|
|
57
|
+
* - **Adoption is silent.** A subscription that already existed when lifecycle
|
|
58
|
+
* events started emits nothing for the state it is found in; its next
|
|
59
|
+
* transition emits normally.
|
|
60
|
+
* - **A scheduled cancellation emits `subscription_cancelled` while the status
|
|
61
|
+
* is still `active`**, with `cancel_at_period_end: true`. The status moves to
|
|
62
|
+
* `cancelled` when the paid period ends.
|
|
63
|
+
* - **The provider's own vocabulary does not leak.** PayPal has no separate
|
|
64
|
+
* resumed or past-due callback; consumers see DeloPay's generic events
|
|
65
|
+
* regardless of the billing processor.
|
|
66
|
+
* - **`transition_id` is stable across delivery retries** of one transition,
|
|
67
|
+
* which is what to deduplicate on.
|
|
68
|
+
*/
|
|
69
|
+
type SubscriptionLifecycleEventType = 'subscription_created' | 'subscription_active' | 'subscription_past_due' | 'subscription_paused' | 'subscription_resumed' | 'subscription_cancelled' | 'subscription_expired' | 'invoice_payment_failed';
|
|
45
70
|
type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions';
|
|
46
71
|
type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry'
|
|
47
72
|
/**
|
|
@@ -4219,6 +4244,19 @@ interface ProfileCreateRequest {
|
|
|
4219
4244
|
* explicit `null` clears, absent leaves unchanged).
|
|
4220
4245
|
*/
|
|
4221
4246
|
home_country?: string | null;
|
|
4247
|
+
/**
|
|
4248
|
+
* Whether the processor may see the payment `description`. Unset or
|
|
4249
|
+
* `false` (the default) withholds it from every connector; the description
|
|
4250
|
+
* is unaffected everywhere else — stored intent, checkout, dashboards,
|
|
4251
|
+
* webhooks and API responses all keep it.
|
|
4252
|
+
*/
|
|
4253
|
+
send_description_to_processor?: boolean | null;
|
|
4254
|
+
/**
|
|
4255
|
+
* Whether the processor may see the payment `metadata`. Unset or `false`
|
|
4256
|
+
* (the default) withholds the merchant's own keys from every connector that
|
|
4257
|
+
* forwards them; DeloPay's control keys ride either way.
|
|
4258
|
+
*/
|
|
4259
|
+
send_metadata_to_processor?: boolean | null;
|
|
4222
4260
|
}
|
|
4223
4261
|
interface ProfileUpdateRequest {
|
|
4224
4262
|
profile_name?: string | null;
|
|
@@ -4250,6 +4288,17 @@ interface ProfileUpdateRequest {
|
|
|
4250
4288
|
* explicit `null` clears, absent leaves unchanged).
|
|
4251
4289
|
*/
|
|
4252
4290
|
home_country?: string | null;
|
|
4291
|
+
/**
|
|
4292
|
+
* Whether the processor may see the payment `description`. Absent leaves
|
|
4293
|
+
* the setting unchanged; there is no clear case — send `false` to withhold
|
|
4294
|
+
* the description again.
|
|
4295
|
+
*/
|
|
4296
|
+
send_description_to_processor?: boolean | null;
|
|
4297
|
+
/**
|
|
4298
|
+
* Whether the processor may see the payment `metadata`. Absent leaves the
|
|
4299
|
+
* setting unchanged; send `false` to withhold it again.
|
|
4300
|
+
*/
|
|
4301
|
+
send_metadata_to_processor?: boolean | null;
|
|
4253
4302
|
}
|
|
4254
4303
|
interface ProfileResponse {
|
|
4255
4304
|
merchant_id: string;
|
|
@@ -4257,6 +4306,17 @@ interface ProfileResponse {
|
|
|
4257
4306
|
profile_name: string;
|
|
4258
4307
|
enable_payment_response_hash: boolean;
|
|
4259
4308
|
redirect_to_merchant_with_http_post: boolean;
|
|
4309
|
+
/**
|
|
4310
|
+
* Whether the processor may see the payment `description`. `false` (the
|
|
4311
|
+
* default) withholds it from every connector.
|
|
4312
|
+
*/
|
|
4313
|
+
send_description_to_processor: boolean;
|
|
4314
|
+
/**
|
|
4315
|
+
* Whether the processor may see the payment `metadata`. `false` (the
|
|
4316
|
+
* default) withholds the merchant's own keys from every connector that
|
|
4317
|
+
* forwards them; DeloPay's control keys ride either way.
|
|
4318
|
+
*/
|
|
4319
|
+
send_metadata_to_processor: boolean;
|
|
4260
4320
|
is_tax_connector_enabled: boolean;
|
|
4261
4321
|
is_network_tokenization_enabled: boolean;
|
|
4262
4322
|
is_auto_retries_enabled: boolean;
|
|
@@ -4973,7 +5033,73 @@ interface GetSubscriptionItemsResponse {
|
|
|
4973
5033
|
name: string;
|
|
4974
5034
|
description?: string | null;
|
|
4975
5035
|
price_id: SubscriptionItemPrice[];
|
|
5036
|
+
/**
|
|
5037
|
+
* Whether a subscription can be created on this item through this
|
|
5038
|
+
* response: the processor offers it and at least one price in `price_id`
|
|
5039
|
+
* could be stated. An unavailable item is still listed so the page stays
|
|
5040
|
+
* complete — its `price_id` is empty and it must not be offered. A PayPal
|
|
5041
|
+
* plan that is not active or is priced by volume or tiers, or a Stripe
|
|
5042
|
+
* product with no active recurring price with a single unit amount, is
|
|
5043
|
+
* unavailable.
|
|
5044
|
+
*/
|
|
5045
|
+
available: boolean;
|
|
5046
|
+
}
|
|
5047
|
+
/**
|
|
5048
|
+
* Provider-reported lifecycle details on a subscription snapshot. A missing
|
|
5049
|
+
* value is unknown, not false: the provider did not report it.
|
|
5050
|
+
*/
|
|
5051
|
+
interface LifecycleDetails {
|
|
5052
|
+
/** End of the current billing period, ISO 8601 in UTC. */
|
|
5053
|
+
current_period_end?: string | null;
|
|
5054
|
+
/** Cancellation timestamp reported by the provider. */
|
|
5055
|
+
cancelled_at?: string | null;
|
|
5056
|
+
/** Cancellation reason, when supplied. */
|
|
5057
|
+
cancellation_reason?: string | null;
|
|
5058
|
+
/**
|
|
5059
|
+
* Whether cancellation takes effect at the end of the paid period. `true`
|
|
5060
|
+
* on a `subscription_cancelled` event whose `status` is still `active`: the
|
|
5061
|
+
* cancellation is scheduled, and the status moves when the period ends.
|
|
5062
|
+
*/
|
|
5063
|
+
cancel_at_period_end?: boolean | null;
|
|
5064
|
+
}
|
|
5065
|
+
/**
|
|
5066
|
+
* The payload of a subscription lifecycle event (`subscription_created`,
|
|
5067
|
+
* `subscription_active`, `subscription_past_due`, `subscription_paused`,
|
|
5068
|
+
* `subscription_resumed`, `subscription_cancelled`, `subscription_expired`,
|
|
5069
|
+
* `invoice_payment_failed`): an immutable snapshot of the subscription at the
|
|
5070
|
+
* transition, delivered as `content.object` under
|
|
5071
|
+
* `content.type === 'subscription_details'`.
|
|
5072
|
+
*
|
|
5073
|
+
* `invoice_paid` does not use this shape; it keeps its
|
|
5074
|
+
* {@link ConfirmSubscriptionResponse} payload. `transition_id` is what tells
|
|
5075
|
+
* the two apart, and it is stable across delivery retries of one transition.
|
|
5076
|
+
*/
|
|
5077
|
+
interface LifecycleWebhook extends LifecycleDetails {
|
|
5078
|
+
/** The subscription id, same as `subscription_id`. */
|
|
5079
|
+
id: string;
|
|
5080
|
+
subscription_id: string;
|
|
5081
|
+
merchant_reference_id?: string | null;
|
|
5082
|
+
customer_id: string;
|
|
5083
|
+
profile_id: string;
|
|
5084
|
+
status: SubscriptionStatus;
|
|
5085
|
+
/** Provider subscription identifier (Stripe Billing / PayPal). */
|
|
5086
|
+
billing_processor_subscription_id?: string | null;
|
|
5087
|
+
plan_id?: string | null;
|
|
5088
|
+
item_price_id?: string | null;
|
|
5089
|
+
/** Identity of the logical transition, stable across delivery retries. */
|
|
5090
|
+
transition_id: string;
|
|
5091
|
+
/** Environment inherited from the subscription. */
|
|
5092
|
+
test_mode?: boolean | null;
|
|
4976
5093
|
}
|
|
5094
|
+
/**
|
|
5095
|
+
* What `content.object` holds when `content.type === 'subscription_details'`.
|
|
5096
|
+
*
|
|
5097
|
+
* A paid invoice (`invoice_paid`) keeps its existing
|
|
5098
|
+
* {@link ConfirmSubscriptionResponse} serialization; every lifecycle event
|
|
5099
|
+
* carries a {@link LifecycleWebhook}. Use {@link isSubscriptionLifecycleWebhook}
|
|
5100
|
+
* to narrow, or read `event_type`.
|
|
5101
|
+
*/
|
|
5102
|
+
type SubscriptionWebhookContent = ConfirmSubscriptionResponse | LifecycleWebhook;
|
|
4977
5103
|
/** Returned by `GET /subscriptions/estimate`. */
|
|
4978
5104
|
interface SubscriptionEstimateResponse {
|
|
4979
5105
|
amount: number;
|
|
@@ -7614,11 +7740,6 @@ interface PaymentClientContextEntry {
|
|
|
7614
7740
|
* ordinary case — no consent, no hosted checkout, or a payment older than
|
|
7615
7741
|
* the feature — and means "no recording", never "not loaded yet".
|
|
7616
7742
|
*
|
|
7617
|
-
* Ahead of the vendored contract: published in 0.126.0 against the backend
|
|
7618
|
-
* release that serves it, which has not reached the contract snapshot this
|
|
7619
|
-
* SDK carries. Until it does, the backend simply omits the field, which the
|
|
7620
|
-
* optional type already allows. Kept rather than removed because dropping a
|
|
7621
|
-
* published field is a breaking change for consumers already reading it.
|
|
7622
7743
|
*/
|
|
7623
7744
|
replay_session_id?: string | null;
|
|
7624
7745
|
created_at: string;
|
|
@@ -7930,6 +8051,12 @@ interface ConnectorHealthRequirements {
|
|
|
7930
8051
|
past_due?: string[];
|
|
7931
8052
|
errors?: string[];
|
|
7932
8053
|
}
|
|
8054
|
+
type ConnectorHealthCheckStatus = 'healthy' | 'unhealthy' | 'unknown' | 'unsupported';
|
|
8055
|
+
interface ConnectorHealthCheck {
|
|
8056
|
+
id: string;
|
|
8057
|
+
status: ConnectorHealthCheckStatus;
|
|
8058
|
+
reason: string;
|
|
8059
|
+
}
|
|
7933
8060
|
/**
|
|
7934
8061
|
* Result of `GET .../connectors/{connectorId}/health`.
|
|
7935
8062
|
*
|
|
@@ -7942,6 +8069,9 @@ interface ConnectorHealthRequirements {
|
|
|
7942
8069
|
* no capabilities to report.
|
|
7943
8070
|
*/
|
|
7944
8071
|
interface ConnectorHealthResponse {
|
|
8072
|
+
credential_source?: string | null;
|
|
8073
|
+
checks?: ConnectorHealthCheck[];
|
|
8074
|
+
stale?: boolean;
|
|
7945
8075
|
merchant_connector_id: string;
|
|
7946
8076
|
connector: string;
|
|
7947
8077
|
/** Which credential slot was probed, so "healthy" is attributable to an
|
|
@@ -9027,7 +9157,10 @@ declare class Connectors {
|
|
|
9027
9157
|
* revoke an account's ability to take payments while the credentials stay
|
|
9028
9158
|
* perfectly valid, and then a credential check reports healthy while every
|
|
9029
9159
|
* checkout silently stalls. This asks the account's own status instead, and
|
|
9030
|
-
*
|
|
9160
|
+
* does not create a payment. By default it reads a scheduler snapshot;
|
|
9161
|
+
* `refresh: true` asks for a new probe and `stale` identifies an overdue result.
|
|
9162
|
+
* `test_mode` selects the requested environment; `credential_source` identifies
|
|
9163
|
+
* a sandbox, live or shared credential set. Not every provider reports chargeability.
|
|
9031
9164
|
*
|
|
9032
9165
|
* Connectors with no probe answer `state: 'unknown'` with
|
|
9033
9166
|
* `unknown_reason: 'connector_not_supported'`, rather than an error — every
|
|
@@ -9037,7 +9170,10 @@ declare class Connectors {
|
|
|
9037
9170
|
*
|
|
9038
9171
|
* `GET /account/{accountId}/connectors/{connectorId}/health`
|
|
9039
9172
|
*/
|
|
9040
|
-
health(accountId: string, connectorId: string
|
|
9173
|
+
health(accountId: string, connectorId: string, options?: {
|
|
9174
|
+
test_mode?: boolean;
|
|
9175
|
+
refresh?: boolean;
|
|
9176
|
+
}): Promise<ConnectorHealthResponse>;
|
|
9041
9177
|
/** Verify connector credentials. `POST /account/connectors/verify` */
|
|
9042
9178
|
verify(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
9043
9179
|
/**
|
|
@@ -12352,8 +12488,31 @@ type WebhookContent = {
|
|
|
12352
12488
|
object: PayoutResponse;
|
|
12353
12489
|
} | {
|
|
12354
12490
|
type: 'subscription_details';
|
|
12355
|
-
object:
|
|
12491
|
+
object: SubscriptionWebhookContent;
|
|
12356
12492
|
};
|
|
12493
|
+
/**
|
|
12494
|
+
* Whether a `subscription_details` payload is a lifecycle snapshot
|
|
12495
|
+
* ({@link LifecycleWebhook}) rather than a paid invoice.
|
|
12496
|
+
*
|
|
12497
|
+
* The two shapes share `content.type`; what separates them on the wire is
|
|
12498
|
+
* `transition_id`, which every lifecycle snapshot carries and no paid-invoice
|
|
12499
|
+
* payload does. Narrowing on it — rather than on `event_type` — keeps a
|
|
12500
|
+
* handler correct for a lifecycle event added after it was written.
|
|
12501
|
+
*
|
|
12502
|
+
* @example
|
|
12503
|
+
* ```typescript
|
|
12504
|
+
* if (event.content.type === 'subscription_details') {
|
|
12505
|
+
* const object = event.content.object;
|
|
12506
|
+
* if (isSubscriptionLifecycleWebhook(object)) {
|
|
12507
|
+
* object.status; // SubscriptionStatus at the transition
|
|
12508
|
+
* object.cancel_at_period_end; // true for a scheduled cancellation
|
|
12509
|
+
* } else {
|
|
12510
|
+
* object.invoice; // the paid invoice
|
|
12511
|
+
* }
|
|
12512
|
+
* }
|
|
12513
|
+
* ```
|
|
12514
|
+
*/
|
|
12515
|
+
declare function isSubscriptionLifecycleWebhook(object: SubscriptionWebhookContent): object is LifecycleWebhook;
|
|
12357
12516
|
/**
|
|
12358
12517
|
* A parsed and verified Delopay webhook event.
|
|
12359
12518
|
*
|
|
@@ -14048,4 +14207,4 @@ declare const decodeNativePanes: typeof decodePanes;
|
|
|
14048
14207
|
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
14049
14208
|
declare const encodeNativePanes: typeof encodePanes;
|
|
14050
14209
|
|
|
14051
|
-
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type ManualTriggerEventType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NextActionCall, type NextActionDataType, type NomupayOppwaCheckoutData, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
|
14210
|
+
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthCheck, type ConnectorHealthCheckStatus, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LifecycleDetails, type LifecycleWebhook, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type ManualTriggerEventType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NextActionCall, type NextActionDataType, type NomupayOppwaCheckoutData, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLifecycleEventType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, type SubscriptionWebhookContent, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookContent, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, isSubscriptionLifecycleWebhook, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
package/dist/index.js
CHANGED
|
@@ -136,6 +136,7 @@ import {
|
|
|
136
136
|
isCheckboxChecked,
|
|
137
137
|
isDarkSurface,
|
|
138
138
|
isHexColor,
|
|
139
|
+
isSubscriptionLifecycleWebhook,
|
|
139
140
|
knownSectionLabelKey,
|
|
140
141
|
leaf,
|
|
141
142
|
logoDimensions,
|
|
@@ -167,7 +168,7 @@ import {
|
|
|
167
168
|
validatePanes,
|
|
168
169
|
verticalGapValue,
|
|
169
170
|
visibleCustomFields
|
|
170
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-SV2BCXV6.js";
|
|
171
172
|
export {
|
|
172
173
|
AIRWALLEX_AUTOFILL_TREATMENTS,
|
|
173
174
|
AIRWALLEX_CARD_LAYOUTS,
|
|
@@ -306,6 +307,7 @@ export {
|
|
|
306
307
|
isCheckboxChecked,
|
|
307
308
|
isDarkSurface,
|
|
308
309
|
isHexColor,
|
|
310
|
+
isSubscriptionLifecycleWebhook,
|
|
309
311
|
knownSectionLabelKey,
|
|
310
312
|
leaf,
|
|
311
313
|
logoDimensions,
|
package/dist/internal.cjs
CHANGED
|
@@ -170,6 +170,7 @@ __export(internal_exports, {
|
|
|
170
170
|
isCheckboxChecked: () => isCheckboxChecked,
|
|
171
171
|
isDarkSurface: () => isDarkSurface,
|
|
172
172
|
isHexColor: () => isHexColor,
|
|
173
|
+
isSubscriptionLifecycleWebhook: () => isSubscriptionLifecycleWebhook,
|
|
173
174
|
knownSectionLabelKey: () => knownSectionLabelKey,
|
|
174
175
|
leaf: () => leaf,
|
|
175
176
|
logoDimensions: () => logoDimensions,
|
|
@@ -846,7 +847,10 @@ var Connectors = class {
|
|
|
846
847
|
* revoke an account's ability to take payments while the credentials stay
|
|
847
848
|
* perfectly valid, and then a credential check reports healthy while every
|
|
848
849
|
* checkout silently stalls. This asks the account's own status instead, and
|
|
849
|
-
*
|
|
850
|
+
* does not create a payment. By default it reads a scheduler snapshot;
|
|
851
|
+
* `refresh: true` asks for a new probe and `stale` identifies an overdue result.
|
|
852
|
+
* `test_mode` selects the requested environment; `credential_source` identifies
|
|
853
|
+
* a sandbox, live or shared credential set. Not every provider reports chargeability.
|
|
850
854
|
*
|
|
851
855
|
* Connectors with no probe answer `state: 'unknown'` with
|
|
852
856
|
* `unknown_reason: 'connector_not_supported'`, rather than an error — every
|
|
@@ -856,10 +860,11 @@ var Connectors = class {
|
|
|
856
860
|
*
|
|
857
861
|
* `GET /account/{accountId}/connectors/{connectorId}/health`
|
|
858
862
|
*/
|
|
859
|
-
async health(accountId, connectorId) {
|
|
863
|
+
async health(accountId, connectorId, options) {
|
|
860
864
|
return this.request(
|
|
861
865
|
"GET",
|
|
862
|
-
`/account/${encodeURIComponent(accountId)}/connectors/${encodeURIComponent(connectorId)}/health
|
|
866
|
+
`/account/${encodeURIComponent(accountId)}/connectors/${encodeURIComponent(connectorId)}/health`,
|
|
867
|
+
{ query: options }
|
|
863
868
|
);
|
|
864
869
|
}
|
|
865
870
|
/** Verify connector credentials. `POST /account/connectors/verify` */
|
|
@@ -3870,6 +3875,9 @@ var Verification = class {
|
|
|
3870
3875
|
};
|
|
3871
3876
|
|
|
3872
3877
|
// src/resources/webhooks.ts
|
|
3878
|
+
function isSubscriptionLifecycleWebhook(object) {
|
|
3879
|
+
return typeof object.transition_id === "string";
|
|
3880
|
+
}
|
|
3873
3881
|
function hexToBytes(hex) {
|
|
3874
3882
|
if (hex.length === 0 || hex.length % 2 !== 0) return null;
|
|
3875
3883
|
const bytes = new Uint8Array(hex.length / 2);
|
|
@@ -8510,6 +8518,14 @@ var AdminPortal = class {
|
|
|
8510
8518
|
`/admin-portal/transactions/${encodeURIComponent(paymentId)}/attempts/${encodeURIComponent(attemptId)}/processor-cost`
|
|
8511
8519
|
);
|
|
8512
8520
|
}
|
|
8521
|
+
/** Get the connector health polling interval. `GET /admin-portal/connector-health-config` */
|
|
8522
|
+
async getConnectorHealthConfig() {
|
|
8523
|
+
return this.request("GET", "/admin-portal/connector-health-config");
|
|
8524
|
+
}
|
|
8525
|
+
/** Update the connector health polling interval. `PUT /admin-portal/connector-health-config` */
|
|
8526
|
+
async updateConnectorHealthConfig(params) {
|
|
8527
|
+
return this.request("PUT", "/admin-portal/connector-health-config", { body: params });
|
|
8528
|
+
}
|
|
8513
8529
|
/**
|
|
8514
8530
|
* The global payment auto-close policy.
|
|
8515
8531
|
* `GET /admin-portal/auto-close-config`
|
|
@@ -9495,6 +9511,7 @@ var DelopayInternal = class extends Delopay {
|
|
|
9495
9511
|
isCheckboxChecked,
|
|
9496
9512
|
isDarkSurface,
|
|
9497
9513
|
isHexColor,
|
|
9514
|
+
isSubscriptionLifecycleWebhook,
|
|
9498
9515
|
knownSectionLabelKey,
|
|
9499
9516
|
leaf,
|
|
9500
9517
|
logoDimensions,
|