@amos.com/node 0.1.60 → 0.1.61

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/index.d.mts CHANGED
@@ -91,6 +91,8 @@ interface paths {
91
91
  * Create or reuse a customer
92
92
  * @description Creates a registered customer, or returns the existing customer when
93
93
  * `email` or `phone` already belongs to one in the organization.
94
+ * When `email` is sent, reuse is by email only; a phone match is not used
95
+ * as a fallback, so a mistyped email cannot attach to another customer.
94
96
  * Reuse does not update the existing record; use PUT to change it.
95
97
  * Returns 200 for reuse and 201 for create.
96
98
  */
@@ -974,7 +976,10 @@ interface paths {
974
976
  };
975
977
  get?: never;
976
978
  put?: never;
977
- /** Create a new setup intent */
979
+ /**
980
+ * Create a new setup intent
981
+ * @description Creates an organization-scoped setup intent. X-Account-Id is ignored if sent. The customer must belong to the authenticated organization. Returns an embed token whose JWT payload includes organization_id and setup_intent_id.
982
+ */
978
983
  post: operations["CreateSetupIntent"];
979
984
  delete?: never;
980
985
  options?: never;
@@ -1250,13 +1255,33 @@ interface components {
1250
1255
  [key: string]: string[];
1251
1256
  };
1252
1257
  };
1253
- /** @description Decoded JWT payload for embed token responses. */
1258
+ /**
1259
+ * @description Decoded JWT payload for embed token responses.
1260
+ *
1261
+ * Payment intent tokens include `account_id` and `payment_intent_id`.
1262
+ * Setup intent tokens include `organization_id` and `setup_intent_id`
1263
+ * and do not use `account_id`. Unused fields are null.
1264
+ */
1254
1265
  EmbedTokenJwt: {
1255
- /** Format: uuid */
1256
- account_id?: string;
1257
- /** Format: uuid */
1266
+ /**
1267
+ * Format: uuid
1268
+ * @description Present for payment intent embed tokens. Null for setup intents.
1269
+ */
1270
+ account_id?: string | null;
1271
+ /**
1272
+ * Format: uuid
1273
+ * @description Present for setup intent embed tokens. Null for payment intents.
1274
+ */
1275
+ organization_id?: string | null;
1276
+ /**
1277
+ * Format: uuid
1278
+ * @description Present for payment intent embed tokens. Null for setup intents.
1279
+ */
1258
1280
  payment_intent_id?: string | null;
1259
- /** Format: uuid */
1281
+ /**
1282
+ * Format: uuid
1283
+ * @description Present for setup intent embed tokens. Null for payment intents.
1284
+ */
1260
1285
  setup_intent_id?: string | null;
1261
1286
  };
1262
1287
  /** @description Decoded JWT payload for render token responses. */
@@ -1269,7 +1294,13 @@ interface components {
1269
1294
  render_template_id?: string;
1270
1295
  };
1271
1296
  EmbedToken: {
1272
- /** @description JWT string used for embedded payment and setup intent flows. When decoded, the JWT payload matches the EmbedTokenJwt schema. */
1297
+ /**
1298
+ * @description JWT string used for embedded payment and setup intent flows.
1299
+ * When decoded, the JWT payload matches the EmbedTokenJwt schema.
1300
+ * Setup intent tokens are organization-scoped (`organization_id` +
1301
+ * `setup_intent_id`). Payment intent tokens remain account-scoped
1302
+ * (`account_id` + `payment_intent_id`).
1303
+ */
1273
1304
  token?: string;
1274
1305
  ttl?: number;
1275
1306
  };
@@ -1494,12 +1525,9 @@ interface components {
1494
1525
  /** Format: date-time */
1495
1526
  updated_at?: string;
1496
1527
  };
1497
- /** @enum {string} */
1498
- DunningConfigurationExhaustedActionType: "cancel" | "pause" | "none";
1499
1528
  CreateDunningConfigurationInput: {
1500
1529
  /** @description Days after a failed collection to retry, in ascending order. */
1501
1530
  retry_days: number[];
1502
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1503
1531
  enabled?: boolean;
1504
1532
  };
1505
1533
  CreateDunningConfigurationRequest: {
@@ -1507,7 +1535,6 @@ interface components {
1507
1535
  };
1508
1536
  UpdateDunningConfigurationInput: {
1509
1537
  retry_days?: number[];
1510
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1511
1538
  enabled?: boolean;
1512
1539
  };
1513
1540
  UpdateDunningConfigurationRequest: {
@@ -1517,7 +1544,6 @@ interface components {
1517
1544
  /** Format: uuid */
1518
1545
  id?: string;
1519
1546
  retry_days?: number[];
1520
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1521
1547
  enabled?: boolean;
1522
1548
  /** Format: date-time */
1523
1549
  created_at?: string;
@@ -2450,7 +2476,10 @@ interface components {
2450
2476
  origins: components["schemas"]["Origin"][];
2451
2477
  };
2452
2478
  CreateSetupIntentInput: {
2453
- /** Format: uuid */
2479
+ /**
2480
+ * Format: uuid
2481
+ * @description Customer on the authenticated organization.
2482
+ */
2454
2483
  customer_id?: string;
2455
2484
  metadata?: components["schemas"]["Metadata"];
2456
2485
  };
@@ -2471,8 +2500,16 @@ interface components {
2471
2500
  SetupIntent: {
2472
2501
  /** Format: uuid */
2473
2502
  id?: string;
2474
- /** Format: uuid */
2475
- account_id?: string;
2503
+ /**
2504
+ * Format: uuid
2505
+ * @description Legacy account association. Null for organization-scoped setup intents.
2506
+ */
2507
+ account_id?: string | null;
2508
+ /**
2509
+ * Format: uuid
2510
+ * @description Organization that owns the setup intent.
2511
+ */
2512
+ organization_id?: string;
2476
2513
  /** Format: uuid */
2477
2514
  customer_id?: string;
2478
2515
  metadata?: components["schemas"]["Metadata"];
@@ -2980,7 +3017,10 @@ interface operations {
2980
3017
  "application/json": components["schemas"]["Customer"];
2981
3018
  };
2982
3019
  };
2983
- /** @description Email and phone match different customers */
3020
+ /**
3021
+ * @description Email and phone match different customers, or the email is new and
3022
+ * the phone already belongs to another customer.
3023
+ */
2984
3024
  409: {
2985
3025
  headers: {
2986
3026
  [name: string]: unknown;
@@ -5666,7 +5706,6 @@ declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDee
5666
5706
  declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
5667
5707
  declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
5668
5708
  declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
5669
- declare const dunningConfigurationExhaustedActionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["DunningConfigurationExhaustedActionType"]>;
5670
5709
  declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
5671
5710
  declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]>;
5672
5711
  declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
@@ -5746,4 +5785,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5746
5785
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5747
5786
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5748
5787
 
5749
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, dunningConfigurationExhaustedActionTypeValues, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
5788
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.d.ts CHANGED
@@ -91,6 +91,8 @@ interface paths {
91
91
  * Create or reuse a customer
92
92
  * @description Creates a registered customer, or returns the existing customer when
93
93
  * `email` or `phone` already belongs to one in the organization.
94
+ * When `email` is sent, reuse is by email only; a phone match is not used
95
+ * as a fallback, so a mistyped email cannot attach to another customer.
94
96
  * Reuse does not update the existing record; use PUT to change it.
95
97
  * Returns 200 for reuse and 201 for create.
96
98
  */
@@ -974,7 +976,10 @@ interface paths {
974
976
  };
975
977
  get?: never;
976
978
  put?: never;
977
- /** Create a new setup intent */
979
+ /**
980
+ * Create a new setup intent
981
+ * @description Creates an organization-scoped setup intent. X-Account-Id is ignored if sent. The customer must belong to the authenticated organization. Returns an embed token whose JWT payload includes organization_id and setup_intent_id.
982
+ */
978
983
  post: operations["CreateSetupIntent"];
979
984
  delete?: never;
980
985
  options?: never;
@@ -1250,13 +1255,33 @@ interface components {
1250
1255
  [key: string]: string[];
1251
1256
  };
1252
1257
  };
1253
- /** @description Decoded JWT payload for embed token responses. */
1258
+ /**
1259
+ * @description Decoded JWT payload for embed token responses.
1260
+ *
1261
+ * Payment intent tokens include `account_id` and `payment_intent_id`.
1262
+ * Setup intent tokens include `organization_id` and `setup_intent_id`
1263
+ * and do not use `account_id`. Unused fields are null.
1264
+ */
1254
1265
  EmbedTokenJwt: {
1255
- /** Format: uuid */
1256
- account_id?: string;
1257
- /** Format: uuid */
1266
+ /**
1267
+ * Format: uuid
1268
+ * @description Present for payment intent embed tokens. Null for setup intents.
1269
+ */
1270
+ account_id?: string | null;
1271
+ /**
1272
+ * Format: uuid
1273
+ * @description Present for setup intent embed tokens. Null for payment intents.
1274
+ */
1275
+ organization_id?: string | null;
1276
+ /**
1277
+ * Format: uuid
1278
+ * @description Present for payment intent embed tokens. Null for setup intents.
1279
+ */
1258
1280
  payment_intent_id?: string | null;
1259
- /** Format: uuid */
1281
+ /**
1282
+ * Format: uuid
1283
+ * @description Present for setup intent embed tokens. Null for payment intents.
1284
+ */
1260
1285
  setup_intent_id?: string | null;
1261
1286
  };
1262
1287
  /** @description Decoded JWT payload for render token responses. */
@@ -1269,7 +1294,13 @@ interface components {
1269
1294
  render_template_id?: string;
1270
1295
  };
1271
1296
  EmbedToken: {
1272
- /** @description JWT string used for embedded payment and setup intent flows. When decoded, the JWT payload matches the EmbedTokenJwt schema. */
1297
+ /**
1298
+ * @description JWT string used for embedded payment and setup intent flows.
1299
+ * When decoded, the JWT payload matches the EmbedTokenJwt schema.
1300
+ * Setup intent tokens are organization-scoped (`organization_id` +
1301
+ * `setup_intent_id`). Payment intent tokens remain account-scoped
1302
+ * (`account_id` + `payment_intent_id`).
1303
+ */
1273
1304
  token?: string;
1274
1305
  ttl?: number;
1275
1306
  };
@@ -1494,12 +1525,9 @@ interface components {
1494
1525
  /** Format: date-time */
1495
1526
  updated_at?: string;
1496
1527
  };
1497
- /** @enum {string} */
1498
- DunningConfigurationExhaustedActionType: "cancel" | "pause" | "none";
1499
1528
  CreateDunningConfigurationInput: {
1500
1529
  /** @description Days after a failed collection to retry, in ascending order. */
1501
1530
  retry_days: number[];
1502
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1503
1531
  enabled?: boolean;
1504
1532
  };
1505
1533
  CreateDunningConfigurationRequest: {
@@ -1507,7 +1535,6 @@ interface components {
1507
1535
  };
1508
1536
  UpdateDunningConfigurationInput: {
1509
1537
  retry_days?: number[];
1510
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1511
1538
  enabled?: boolean;
1512
1539
  };
1513
1540
  UpdateDunningConfigurationRequest: {
@@ -1517,7 +1544,6 @@ interface components {
1517
1544
  /** Format: uuid */
1518
1545
  id?: string;
1519
1546
  retry_days?: number[];
1520
- exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
1521
1547
  enabled?: boolean;
1522
1548
  /** Format: date-time */
1523
1549
  created_at?: string;
@@ -2450,7 +2476,10 @@ interface components {
2450
2476
  origins: components["schemas"]["Origin"][];
2451
2477
  };
2452
2478
  CreateSetupIntentInput: {
2453
- /** Format: uuid */
2479
+ /**
2480
+ * Format: uuid
2481
+ * @description Customer on the authenticated organization.
2482
+ */
2454
2483
  customer_id?: string;
2455
2484
  metadata?: components["schemas"]["Metadata"];
2456
2485
  };
@@ -2471,8 +2500,16 @@ interface components {
2471
2500
  SetupIntent: {
2472
2501
  /** Format: uuid */
2473
2502
  id?: string;
2474
- /** Format: uuid */
2475
- account_id?: string;
2503
+ /**
2504
+ * Format: uuid
2505
+ * @description Legacy account association. Null for organization-scoped setup intents.
2506
+ */
2507
+ account_id?: string | null;
2508
+ /**
2509
+ * Format: uuid
2510
+ * @description Organization that owns the setup intent.
2511
+ */
2512
+ organization_id?: string;
2476
2513
  /** Format: uuid */
2477
2514
  customer_id?: string;
2478
2515
  metadata?: components["schemas"]["Metadata"];
@@ -2980,7 +3017,10 @@ interface operations {
2980
3017
  "application/json": components["schemas"]["Customer"];
2981
3018
  };
2982
3019
  };
2983
- /** @description Email and phone match different customers */
3020
+ /**
3021
+ * @description Email and phone match different customers, or the email is new and
3022
+ * the phone already belongs to another customer.
3023
+ */
2984
3024
  409: {
2985
3025
  headers: {
2986
3026
  [name: string]: unknown;
@@ -5666,7 +5706,6 @@ declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDee
5666
5706
  declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
5667
5707
  declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
5668
5708
  declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
5669
- declare const dunningConfigurationExhaustedActionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["DunningConfigurationExhaustedActionType"]>;
5670
5709
  declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
5671
5710
  declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]>;
5672
5711
  declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
@@ -5746,4 +5785,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5746
5785
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5747
5786
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5748
5787
 
5749
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, dunningConfigurationExhaustedActionTypeValues, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
5788
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.js CHANGED
@@ -46,7 +46,6 @@ __export(index_exports, {
46
46
  chargeAllowed_reverse_actionValues: () => chargeAllowed_reverse_actionValues,
47
47
  chargeStateValues: () => chargeStateValues,
48
48
  createPayApiClient: () => createPayApiClient,
49
- dunningConfigurationExhaustedActionTypeValues: () => dunningConfigurationExhaustedActionTypeValues,
50
49
  embedConfirmApplePayPaymentMethodInputTypeValues: () => embedConfirmApplePayPaymentMethodInputTypeValues,
51
50
  embedConfirmBankAccountPaymentMethodInputTypeValues: () => embedConfirmBankAccountPaymentMethodInputTypeValues,
52
51
  embedConfirmCardPaymentMethodInputTypeValues: () => embedConfirmCardPaymentMethodInputTypeValues,
@@ -87,7 +86,6 @@ var bankAccountProfileFailure_reasonValues = ["activation_failed", "processing_e
87
86
  var cardProfileFailure_reasonValues = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
88
87
  var chargeAllowed_reverse_actionValues = ["void", "refund"];
89
88
  var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
90
- var dunningConfigurationExhaustedActionTypeValues = ["cancel", "pause", "none"];
91
89
  var externalAccountTypeValues = ["external_card", "external_bank_account"];
92
90
  var legalEntityEntityTypeValues = ["individual_sole_proprietorship", "corporation", "limited_liability_company", "partnership", "limited_partnership", "general_partnership", "tax_exempt_organization", "government_agency"];
93
91
  var legalEntityOwnershipTypeValues = ["public", "private"];
@@ -153,7 +151,6 @@ function createPayApiClient(options) {
153
151
  chargeAllowed_reverse_actionValues,
154
152
  chargeStateValues,
155
153
  createPayApiClient,
156
- dunningConfigurationExhaustedActionTypeValues,
157
154
  embedConfirmApplePayPaymentMethodInputTypeValues,
158
155
  embedConfirmBankAccountPaymentMethodInputTypeValues,
159
156
  embedConfirmCardPaymentMethodInputTypeValues,