@amos.com/node 0.1.37 → 0.1.40

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
@@ -455,6 +455,24 @@ interface paths {
455
455
  patch?: never;
456
456
  trace?: never;
457
457
  };
458
+ "/organization": {
459
+ parameters: {
460
+ query?: never;
461
+ header?: never;
462
+ path?: never;
463
+ cookie?: never;
464
+ };
465
+ /** Retrieve the current organization */
466
+ get: operations["GetOrganization"];
467
+ put?: never;
468
+ post?: never;
469
+ delete?: never;
470
+ options?: never;
471
+ head?: never;
472
+ /** Update the current organization */
473
+ patch: operations["UpdateOrganization"];
474
+ trace?: never;
475
+ };
458
476
  "/origins": {
459
477
  parameters: {
460
478
  query?: never;
@@ -1265,12 +1283,12 @@ interface components {
1265
1283
  exp_year?: number;
1266
1284
  moto?: boolean;
1267
1285
  };
1268
- /** @description Apple Pay card profile for embed confirm. Clients only send wallet_payload (the raw JSON-encoded PKPaymentToken). Brand, last4, expiration, pan_type, wallet_provider, and cryptogram are set from the Vault response. Encrypted PAN and client-supplied cryptogram are not supported. */
1286
+ /** @description Apple Pay card profile for embed confirm. Clients only send wallet_payload (the raw JSON-encoded PKPaymentToken). wallet_provider is derived from the payment method type. Brand, last4, expiration, pan_type, and cryptogram are set from the Vault response. Encrypted PAN and client-supplied cryptogram are not supported. */
1269
1287
  ApplePayCardProfileInput: {
1270
1288
  /** @description The unmodified JSON-encoded PKPaymentToken. */
1271
1289
  wallet_payload: string;
1272
1290
  };
1273
- /** @description Google Pay card profile for embed confirm. Clients only send wallet_payload. Brand, last4, expiration, pan_type, wallet_provider, and cryptogram are set from the Vault response. Encrypted PAN is not supported. */
1291
+ /** @description Google Pay card profile for embed confirm. Clients only send wallet_payload. wallet_provider is derived from the payment method type. Brand, last4, expiration, pan_type, and cryptogram are set from the Vault response. Encrypted PAN is not supported. */
1274
1292
  GooglePayCardProfileInput: {
1275
1293
  /** @description The unmodified Google Pay payment token payload. */
1276
1294
  wallet_payload: string;
@@ -1919,6 +1937,25 @@ interface components {
1919
1937
  /** Format: date-time */
1920
1938
  updated_at?: string;
1921
1939
  };
1940
+ Organization: {
1941
+ /** Format: uuid */
1942
+ id?: string;
1943
+ name?: string;
1944
+ slug?: string;
1945
+ /** @enum {string} */
1946
+ kind?: "direct" | "payfac";
1947
+ /** Format: date-time */
1948
+ created_at?: string;
1949
+ /** Format: date-time */
1950
+ updated_at?: string;
1951
+ };
1952
+ UpdateOrganizationInput: {
1953
+ /** @description Globally unique public slug used in payment link URLs. Changing this breaks existing `/payment_links/{organization_slug}/...` links. */
1954
+ slug: string;
1955
+ };
1956
+ UpdateOrganizationRequest: {
1957
+ organization: components["schemas"]["UpdateOrganizationInput"];
1958
+ };
1922
1959
  CreateOriginInput: {
1923
1960
  value?: string;
1924
1961
  };
@@ -3489,6 +3526,59 @@ interface operations {
3489
3526
  };
3490
3527
  };
3491
3528
  };
3529
+ GetOrganization: {
3530
+ parameters: {
3531
+ query?: never;
3532
+ header?: never;
3533
+ path?: never;
3534
+ cookie?: never;
3535
+ };
3536
+ requestBody?: never;
3537
+ responses: {
3538
+ /** @description The authenticated organization */
3539
+ 200: {
3540
+ headers: {
3541
+ [name: string]: unknown;
3542
+ };
3543
+ content: {
3544
+ "application/json": components["schemas"]["Organization"];
3545
+ };
3546
+ };
3547
+ };
3548
+ };
3549
+ UpdateOrganization: {
3550
+ parameters: {
3551
+ query?: never;
3552
+ header?: never;
3553
+ path?: never;
3554
+ cookie?: never;
3555
+ };
3556
+ requestBody: {
3557
+ content: {
3558
+ "application/json": components["schemas"]["UpdateOrganizationRequest"];
3559
+ };
3560
+ };
3561
+ responses: {
3562
+ /** @description Organization updated successfully */
3563
+ 200: {
3564
+ headers: {
3565
+ [name: string]: unknown;
3566
+ };
3567
+ content: {
3568
+ "application/json": components["schemas"]["Organization"];
3569
+ };
3570
+ };
3571
+ /** @description Unprocessable entity */
3572
+ 422: {
3573
+ headers: {
3574
+ [name: string]: unknown;
3575
+ };
3576
+ content: {
3577
+ "application/json": components["schemas"]["Error"];
3578
+ };
3579
+ };
3580
+ };
3581
+ };
3492
3582
  ListOrigins: {
3493
3583
  parameters: {
3494
3584
  query?: {
@@ -5248,6 +5338,7 @@ declare const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<co
5248
5338
  declare const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["TransactionSourceType"]>;
5249
5339
  declare const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WalletProviderType"]>;
5250
5340
  declare const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]>;
5341
+ declare const organizationKindValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Organization"]["kind"]>;
5251
5342
  declare const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntent"]["state"]>;
5252
5343
  declare const achVerificationTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AchVerification"]["type"]>;
5253
5344
  declare const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["payment_transaction_type"]>;
@@ -5266,10 +5357,9 @@ declare const AMOS_API_VERSION = "1";
5266
5357
  * fully typed against the OpenAPI spec — paths, path/query/header params,
5267
5358
  * request bodies, and response bodies are all checked at compile time.
5268
5359
  *
5269
- * Provide credentials and the required `X-Api-Version` header either as
5270
- * default `headers` here or via `params.header` on each call. Use
5271
- * `client.use(middleware)` to add per-request behavior such as fresh
5272
- * idempotency keys.
5360
+ * Provide credentials and the required `X-Api-Version` header as default
5361
+ * `headers` here. Use `client.use(middleware)` to add per-request behavior
5362
+ * such as fresh idempotency keys.
5273
5363
  *
5274
5364
  * @example
5275
5365
  * ```ts
@@ -5288,7 +5378,6 @@ declare const AMOS_API_VERSION = "1";
5288
5378
  * });
5289
5379
  *
5290
5380
  * const { data, error } = await pay.POST("/customers", {
5291
- * params: { header: { "X-Api-Version": AMOS_API_VERSION } },
5292
5381
  * body: { customer: { email: "alex@example.com" } },
5293
5382
  * });
5294
5383
  * ```
@@ -5297,4 +5386,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5297
5386
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5298
5387
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5299
5388
 
5300
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, achVerificationTypeValues, 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, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, 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 };
5389
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, achVerificationTypeValues, 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, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, 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
@@ -455,6 +455,24 @@ interface paths {
455
455
  patch?: never;
456
456
  trace?: never;
457
457
  };
458
+ "/organization": {
459
+ parameters: {
460
+ query?: never;
461
+ header?: never;
462
+ path?: never;
463
+ cookie?: never;
464
+ };
465
+ /** Retrieve the current organization */
466
+ get: operations["GetOrganization"];
467
+ put?: never;
468
+ post?: never;
469
+ delete?: never;
470
+ options?: never;
471
+ head?: never;
472
+ /** Update the current organization */
473
+ patch: operations["UpdateOrganization"];
474
+ trace?: never;
475
+ };
458
476
  "/origins": {
459
477
  parameters: {
460
478
  query?: never;
@@ -1265,12 +1283,12 @@ interface components {
1265
1283
  exp_year?: number;
1266
1284
  moto?: boolean;
1267
1285
  };
1268
- /** @description Apple Pay card profile for embed confirm. Clients only send wallet_payload (the raw JSON-encoded PKPaymentToken). Brand, last4, expiration, pan_type, wallet_provider, and cryptogram are set from the Vault response. Encrypted PAN and client-supplied cryptogram are not supported. */
1286
+ /** @description Apple Pay card profile for embed confirm. Clients only send wallet_payload (the raw JSON-encoded PKPaymentToken). wallet_provider is derived from the payment method type. Brand, last4, expiration, pan_type, and cryptogram are set from the Vault response. Encrypted PAN and client-supplied cryptogram are not supported. */
1269
1287
  ApplePayCardProfileInput: {
1270
1288
  /** @description The unmodified JSON-encoded PKPaymentToken. */
1271
1289
  wallet_payload: string;
1272
1290
  };
1273
- /** @description Google Pay card profile for embed confirm. Clients only send wallet_payload. Brand, last4, expiration, pan_type, wallet_provider, and cryptogram are set from the Vault response. Encrypted PAN is not supported. */
1291
+ /** @description Google Pay card profile for embed confirm. Clients only send wallet_payload. wallet_provider is derived from the payment method type. Brand, last4, expiration, pan_type, and cryptogram are set from the Vault response. Encrypted PAN is not supported. */
1274
1292
  GooglePayCardProfileInput: {
1275
1293
  /** @description The unmodified Google Pay payment token payload. */
1276
1294
  wallet_payload: string;
@@ -1919,6 +1937,25 @@ interface components {
1919
1937
  /** Format: date-time */
1920
1938
  updated_at?: string;
1921
1939
  };
1940
+ Organization: {
1941
+ /** Format: uuid */
1942
+ id?: string;
1943
+ name?: string;
1944
+ slug?: string;
1945
+ /** @enum {string} */
1946
+ kind?: "direct" | "payfac";
1947
+ /** Format: date-time */
1948
+ created_at?: string;
1949
+ /** Format: date-time */
1950
+ updated_at?: string;
1951
+ };
1952
+ UpdateOrganizationInput: {
1953
+ /** @description Globally unique public slug used in payment link URLs. Changing this breaks existing `/payment_links/{organization_slug}/...` links. */
1954
+ slug: string;
1955
+ };
1956
+ UpdateOrganizationRequest: {
1957
+ organization: components["schemas"]["UpdateOrganizationInput"];
1958
+ };
1922
1959
  CreateOriginInput: {
1923
1960
  value?: string;
1924
1961
  };
@@ -3489,6 +3526,59 @@ interface operations {
3489
3526
  };
3490
3527
  };
3491
3528
  };
3529
+ GetOrganization: {
3530
+ parameters: {
3531
+ query?: never;
3532
+ header?: never;
3533
+ path?: never;
3534
+ cookie?: never;
3535
+ };
3536
+ requestBody?: never;
3537
+ responses: {
3538
+ /** @description The authenticated organization */
3539
+ 200: {
3540
+ headers: {
3541
+ [name: string]: unknown;
3542
+ };
3543
+ content: {
3544
+ "application/json": components["schemas"]["Organization"];
3545
+ };
3546
+ };
3547
+ };
3548
+ };
3549
+ UpdateOrganization: {
3550
+ parameters: {
3551
+ query?: never;
3552
+ header?: never;
3553
+ path?: never;
3554
+ cookie?: never;
3555
+ };
3556
+ requestBody: {
3557
+ content: {
3558
+ "application/json": components["schemas"]["UpdateOrganizationRequest"];
3559
+ };
3560
+ };
3561
+ responses: {
3562
+ /** @description Organization updated successfully */
3563
+ 200: {
3564
+ headers: {
3565
+ [name: string]: unknown;
3566
+ };
3567
+ content: {
3568
+ "application/json": components["schemas"]["Organization"];
3569
+ };
3570
+ };
3571
+ /** @description Unprocessable entity */
3572
+ 422: {
3573
+ headers: {
3574
+ [name: string]: unknown;
3575
+ };
3576
+ content: {
3577
+ "application/json": components["schemas"]["Error"];
3578
+ };
3579
+ };
3580
+ };
3581
+ };
3492
3582
  ListOrigins: {
3493
3583
  parameters: {
3494
3584
  query?: {
@@ -5248,6 +5338,7 @@ declare const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<co
5248
5338
  declare const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["TransactionSourceType"]>;
5249
5339
  declare const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WalletProviderType"]>;
5250
5340
  declare const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]>;
5341
+ declare const organizationKindValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Organization"]["kind"]>;
5251
5342
  declare const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntent"]["state"]>;
5252
5343
  declare const achVerificationTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AchVerification"]["type"]>;
5253
5344
  declare const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["payment_transaction_type"]>;
@@ -5266,10 +5357,9 @@ declare const AMOS_API_VERSION = "1";
5266
5357
  * fully typed against the OpenAPI spec — paths, path/query/header params,
5267
5358
  * request bodies, and response bodies are all checked at compile time.
5268
5359
  *
5269
- * Provide credentials and the required `X-Api-Version` header either as
5270
- * default `headers` here or via `params.header` on each call. Use
5271
- * `client.use(middleware)` to add per-request behavior such as fresh
5272
- * idempotency keys.
5360
+ * Provide credentials and the required `X-Api-Version` header as default
5361
+ * `headers` here. Use `client.use(middleware)` to add per-request behavior
5362
+ * such as fresh idempotency keys.
5273
5363
  *
5274
5364
  * @example
5275
5365
  * ```ts
@@ -5288,7 +5378,6 @@ declare const AMOS_API_VERSION = "1";
5288
5378
  * });
5289
5379
  *
5290
5380
  * const { data, error } = await pay.POST("/customers", {
5291
- * params: { header: { "X-Api-Version": AMOS_API_VERSION } },
5292
5381
  * body: { customer: { email: "alex@example.com" } },
5293
5382
  * });
5294
5383
  * ```
@@ -5297,4 +5386,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5297
5386
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5298
5387
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5299
5388
 
5300
- export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, achVerificationTypeValues, 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, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, 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 };
5389
+ export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, achVerificationTypeValues, 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, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, 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
@@ -57,6 +57,7 @@ __export(index_exports, {
57
57
  legalEntityEntityTypeValues: () => legalEntityEntityTypeValues,
58
58
  legalEntityOwnershipTypeValues: () => legalEntityOwnershipTypeValues,
59
59
  merchantBusinessCategoryTypeValues: () => merchantBusinessCategoryTypeValues,
60
+ organizationKindValues: () => organizationKindValues,
60
61
  pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues: () => pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues,
61
62
  paymentIntentCaptureMethodTypeValues: () => paymentIntentCaptureMethodTypeValues,
62
63
  paymentIntentStateValues: () => paymentIntentStateValues,
@@ -118,6 +119,7 @@ var subscriptionPlanTypeValues = ["fixed", "variable"];
118
119
  var transactionSourceTypeValues = ["api", "dashboard", "iframe", "system", "subscription"];
119
120
  var walletProviderTypeValues = ["googlepay", "applepay"];
120
121
  var webhookEventTypeValues = ["charge.cancelled", "charge.created", "charge.errored", "charge.failed", "charge.processing", "charge.requires_capture", "charge.requires_confirmation", "charge.requires_review", "charge.settlement_failed", "charge.succeeded", "customer.created", "customer.updated", "legal_entity.created", "legal_entity.updated", "legal_entity_principal.created", "legal_entity_principal.updated", "legal_entity_application.approved", "legal_entity_application.denied", "legal_entity_application.needs_information", "legal_entity_application.pending", "legal_entity_application.submitted", "merchant.created", "merchant.updated", "payment_intent.cancelled", "payment_intent.created", "payment_intent.errored_authorization", "payment_intent.errored_capture", "payment_intent.errored_sale", "payment_intent.processing_authorization", "payment_intent.processing_capture", "payment_intent.processing_sale", "payment_intent.requires_capture", "payment_intent.requires_confirmation", "payment_intent.requires_payment_method", "payment_intent.requires_review", "payment_intent.succeeded", "processor_transaction.completed", "reconciliation.created", "refund.cancelled", "refund.created", "refund.failed", "refund.pending", "refund.processing", "refund.requires_review", "refund.succeeded", "void.created", "void.failed", "void.pending", "void.processing", "void.requires_review", "void.succeeded"];
122
+ var organizationKindValues = ["direct", "payfac"];
121
123
  var paymentIntentStateValues = ["requires_payment_method", "requires_confirmation", "requires_capture", "processing_authorization", "processing_capture", "processing_sale", "requires_review", "succeeded", "cancelled", "errored_authorization", "errored_capture", "errored_sale"];
122
124
  var achVerificationTypeValues = ["plaid_auth"];
123
125
  var processorTransactionPayment_transaction_typeValues = ["charge", "refund", "void"];
@@ -162,6 +164,7 @@ function createPayApiClient(options) {
162
164
  legalEntityEntityTypeValues,
163
165
  legalEntityOwnershipTypeValues,
164
166
  merchantBusinessCategoryTypeValues,
167
+ organizationKindValues,
165
168
  pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues,
166
169
  paymentIntentCaptureMethodTypeValues,
167
170
  paymentIntentStateValues,