@gr4vy/sdk 1.2.1 → 1.2.3
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 +0 -4
- package/RUNTIMES.md +6 -6
- package/examples/package-lock.json +1 -1
- package/funcs/accountUpdaterJobsCreate.js +1 -1
- package/funcs/accountUpdaterJobsCreate.js.map +1 -1
- package/funcs/auditLogsList.js +1 -1
- package/funcs/auditLogsList.js.map +1 -1
- package/funcs/buyersCreate.js +1 -1
- package/funcs/buyersCreate.js.map +1 -1
- package/funcs/buyersDelete.js +1 -1
- package/funcs/buyersDelete.js.map +1 -1
- package/funcs/buyersGet.js +1 -1
- package/funcs/buyersGet.js.map +1 -1
- package/funcs/buyersGiftCardsList.js +1 -1
- package/funcs/buyersGiftCardsList.js.map +1 -1
- package/funcs/buyersList.js +1 -1
- package/funcs/buyersList.js.map +1 -1
- package/funcs/buyersPaymentMethodsList.js +1 -1
- package/funcs/buyersPaymentMethodsList.js.map +1 -1
- package/funcs/buyersShippingDetailsCreate.js +1 -1
- package/funcs/buyersShippingDetailsCreate.js.map +1 -1
- package/funcs/buyersShippingDetailsDelete.js +1 -1
- package/funcs/buyersShippingDetailsDelete.js.map +1 -1
- package/funcs/buyersShippingDetailsGet.js +1 -1
- package/funcs/buyersShippingDetailsGet.js.map +1 -1
- package/funcs/buyersShippingDetailsList.js +1 -1
- package/funcs/buyersShippingDetailsList.js.map +1 -1
- package/funcs/buyersShippingDetailsUpdate.js +1 -1
- package/funcs/buyersShippingDetailsUpdate.js.map +1 -1
- package/funcs/buyersUpdate.js +1 -1
- package/funcs/buyersUpdate.js.map +1 -1
- package/funcs/cardSchemeDefinitionsList.js +1 -1
- package/funcs/cardSchemeDefinitionsList.js.map +1 -1
- package/funcs/checkoutSessionsCreate.js +1 -1
- package/funcs/checkoutSessionsCreate.js.map +1 -1
- package/funcs/checkoutSessionsDelete.js +1 -1
- package/funcs/checkoutSessionsDelete.js.map +1 -1
- package/funcs/checkoutSessionsGet.js +1 -1
- package/funcs/checkoutSessionsGet.js.map +1 -1
- package/funcs/checkoutSessionsUpdate.js +1 -1
- package/funcs/checkoutSessionsUpdate.js.map +1 -1
- package/funcs/digitalWalletsCreate.js +1 -1
- package/funcs/digitalWalletsCreate.js.map +1 -1
- package/funcs/digitalWalletsDelete.js +1 -1
- package/funcs/digitalWalletsDelete.js.map +1 -1
- package/funcs/digitalWalletsDomainsCreate.js +1 -1
- package/funcs/digitalWalletsDomainsCreate.js.map +1 -1
- package/funcs/digitalWalletsDomainsDelete.js +1 -1
- package/funcs/digitalWalletsDomainsDelete.js.map +1 -1
- package/funcs/digitalWalletsGet.js +1 -1
- package/funcs/digitalWalletsGet.js.map +1 -1
- package/funcs/digitalWalletsList.js +1 -1
- package/funcs/digitalWalletsList.js.map +1 -1
- package/funcs/digitalWalletsSessionsApplePay.js +1 -1
- package/funcs/digitalWalletsSessionsApplePay.js.map +1 -1
- package/funcs/digitalWalletsSessionsClickToPay.js +1 -1
- package/funcs/digitalWalletsSessionsClickToPay.js.map +1 -1
- package/funcs/digitalWalletsSessionsGooglePay.js +1 -1
- package/funcs/digitalWalletsSessionsGooglePay.js.map +1 -1
- package/funcs/digitalWalletsUpdate.js +1 -1
- package/funcs/digitalWalletsUpdate.js.map +1 -1
- package/funcs/giftCardsBalancesList.js +1 -1
- package/funcs/giftCardsBalancesList.js.map +1 -1
- package/funcs/giftCardsCreate.js +1 -1
- package/funcs/giftCardsCreate.js.map +1 -1
- package/funcs/giftCardsDelete.js +1 -1
- package/funcs/giftCardsDelete.js.map +1 -1
- package/funcs/giftCardsGet.js +1 -1
- package/funcs/giftCardsGet.js.map +1 -1
- package/funcs/giftCardsList.js +1 -1
- package/funcs/giftCardsList.js.map +1 -1
- package/funcs/merchantAccountsCreate.js +1 -1
- package/funcs/merchantAccountsCreate.js.map +1 -1
- package/funcs/merchantAccountsGet.js +1 -1
- package/funcs/merchantAccountsGet.js.map +1 -1
- package/funcs/merchantAccountsList.js +1 -1
- package/funcs/merchantAccountsList.js.map +1 -1
- package/funcs/merchantAccountsUpdate.js +1 -1
- package/funcs/merchantAccountsUpdate.js.map +1 -1
- package/funcs/paymentLinksCreate.js +1 -1
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksExpire.js +1 -1
- package/funcs/paymentLinksExpire.js.map +1 -1
- package/funcs/paymentLinksGet.js +1 -1
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksList.js +1 -1
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentMethodsCreate.js +1 -1
- package/funcs/paymentMethodsCreate.js.map +1 -1
- package/funcs/paymentMethodsDelete.js +1 -1
- package/funcs/paymentMethodsDelete.js.map +1 -1
- package/funcs/paymentMethodsGet.js +1 -1
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.js +1 -1
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensCreate.js +1 -1
- package/funcs/paymentMethodsNetworkTokensCreate.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensCryptogramCreate.js +1 -1
- package/funcs/paymentMethodsNetworkTokensCryptogramCreate.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensDelete.js +1 -1
- package/funcs/paymentMethodsNetworkTokensDelete.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensList.js +1 -1
- package/funcs/paymentMethodsNetworkTokensList.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensResume.js +1 -1
- package/funcs/paymentMethodsNetworkTokensResume.js.map +1 -1
- package/funcs/paymentMethodsNetworkTokensSuspend.js +1 -1
- package/funcs/paymentMethodsNetworkTokensSuspend.js.map +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensCreate.js +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensCreate.js.map +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensDelete.js +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensDelete.js.map +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensList.js +1 -1
- package/funcs/paymentMethodsPaymentServiceTokensList.js.map +1 -1
- package/funcs/paymentOptionsList.js +1 -1
- package/funcs/paymentOptionsList.js.map +1 -1
- package/funcs/paymentServiceDefinitionsGet.js +1 -1
- package/funcs/paymentServiceDefinitionsGet.js.map +1 -1
- package/funcs/paymentServiceDefinitionsList.js +1 -1
- package/funcs/paymentServiceDefinitionsList.js.map +1 -1
- package/funcs/paymentServiceDefinitionsSession.js +1 -1
- package/funcs/paymentServiceDefinitionsSession.js.map +1 -1
- package/funcs/paymentServicesCreate.js +1 -1
- package/funcs/paymentServicesCreate.js.map +1 -1
- package/funcs/paymentServicesDelete.js +1 -1
- package/funcs/paymentServicesDelete.js.map +1 -1
- package/funcs/paymentServicesGet.js +1 -1
- package/funcs/paymentServicesGet.js.map +1 -1
- package/funcs/paymentServicesList.js +1 -1
- package/funcs/paymentServicesList.js.map +1 -1
- package/funcs/paymentServicesSession.js +1 -1
- package/funcs/paymentServicesSession.js.map +1 -1
- package/funcs/paymentServicesUpdate.js +1 -1
- package/funcs/paymentServicesUpdate.js.map +1 -1
- package/funcs/paymentServicesVerify.js +1 -1
- package/funcs/paymentServicesVerify.js.map +1 -1
- package/funcs/payoutsCreate.js +1 -1
- package/funcs/payoutsCreate.js.map +1 -1
- package/funcs/payoutsGet.js +1 -1
- package/funcs/payoutsGet.js.map +1 -1
- package/funcs/payoutsList.js +1 -1
- package/funcs/payoutsList.js.map +1 -1
- package/funcs/refundsGet.js +1 -1
- package/funcs/refundsGet.js.map +1 -1
- package/funcs/reportExecutionsList.js +1 -1
- package/funcs/reportExecutionsList.js.map +1 -1
- package/funcs/reportsCreate.js +1 -1
- package/funcs/reportsCreate.js.map +1 -1
- package/funcs/reportsExecutionsGet.js +1 -1
- package/funcs/reportsExecutionsGet.js.map +1 -1
- package/funcs/reportsExecutionsList.js +1 -1
- package/funcs/reportsExecutionsList.js.map +1 -1
- package/funcs/reportsExecutionsUrl.js +1 -1
- package/funcs/reportsExecutionsUrl.js.map +1 -1
- package/funcs/reportsGet.js +1 -1
- package/funcs/reportsGet.js.map +1 -1
- package/funcs/reportsList.js +1 -1
- package/funcs/reportsList.js.map +1 -1
- package/funcs/reportsPut.js +1 -1
- package/funcs/reportsPut.js.map +1 -1
- package/funcs/transactionsCancel.js +1 -1
- package/funcs/transactionsCancel.js.map +1 -1
- package/funcs/transactionsCapture.js +1 -1
- package/funcs/transactionsCapture.js.map +1 -1
- package/funcs/transactionsCreate.js +1 -1
- package/funcs/transactionsCreate.js.map +1 -1
- package/funcs/transactionsEventsList.js +1 -1
- package/funcs/transactionsEventsList.js.map +1 -1
- package/funcs/transactionsGet.js +1 -1
- package/funcs/transactionsGet.js.map +1 -1
- package/funcs/transactionsList.js +1 -1
- package/funcs/transactionsList.js.map +1 -1
- package/funcs/transactionsRefundsAllCreate.js +1 -1
- package/funcs/transactionsRefundsAllCreate.js.map +1 -1
- package/funcs/transactionsRefundsCreate.js +1 -1
- package/funcs/transactionsRefundsCreate.js.map +1 -1
- package/funcs/transactionsRefundsGet.js +1 -1
- package/funcs/transactionsRefundsGet.js.map +1 -1
- package/funcs/transactionsRefundsList.js +1 -1
- package/funcs/transactionsRefundsList.js.map +1 -1
- package/funcs/transactionsSettlementsGet.js +1 -1
- package/funcs/transactionsSettlementsGet.js.map +1 -1
- package/funcs/transactionsSettlementsList.js +1 -1
- package/funcs/transactionsSettlementsList.js.map +1 -1
- package/funcs/transactionsSync.js +1 -1
- package/funcs/transactionsSync.js.map +1 -1
- package/funcs/transactionsUpdate.js +1 -1
- package/funcs/transactionsUpdate.js.map +1 -1
- package/funcs/transactionsVoid.js +1 -1
- package/funcs/transactionsVoid.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/taxidkind.d.ts +1 -0
- package/models/components/taxidkind.d.ts.map +1 -1
- package/models/components/taxidkind.js +1 -0
- package/models/components/taxidkind.js.map +1 -1
- package/models/components/transaction.d.ts +35 -0
- package/models/components/transaction.d.ts.map +1 -1
- package/models/components/transaction.js +28 -0
- package/models/components/transaction.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountUpdaterJobsCreate.ts +1 -1
- package/src/funcs/auditLogsList.ts +1 -1
- package/src/funcs/buyersCreate.ts +1 -1
- package/src/funcs/buyersDelete.ts +1 -1
- package/src/funcs/buyersGet.ts +1 -1
- package/src/funcs/buyersGiftCardsList.ts +1 -1
- package/src/funcs/buyersList.ts +1 -1
- package/src/funcs/buyersPaymentMethodsList.ts +1 -1
- package/src/funcs/buyersShippingDetailsCreate.ts +1 -1
- package/src/funcs/buyersShippingDetailsDelete.ts +1 -1
- package/src/funcs/buyersShippingDetailsGet.ts +1 -1
- package/src/funcs/buyersShippingDetailsList.ts +1 -1
- package/src/funcs/buyersShippingDetailsUpdate.ts +1 -1
- package/src/funcs/buyersUpdate.ts +1 -1
- package/src/funcs/cardSchemeDefinitionsList.ts +1 -1
- package/src/funcs/checkoutSessionsCreate.ts +1 -1
- package/src/funcs/checkoutSessionsDelete.ts +1 -1
- package/src/funcs/checkoutSessionsGet.ts +1 -1
- package/src/funcs/checkoutSessionsUpdate.ts +1 -1
- package/src/funcs/digitalWalletsCreate.ts +1 -1
- package/src/funcs/digitalWalletsDelete.ts +1 -1
- package/src/funcs/digitalWalletsDomainsCreate.ts +1 -1
- package/src/funcs/digitalWalletsDomainsDelete.ts +1 -1
- package/src/funcs/digitalWalletsGet.ts +1 -1
- package/src/funcs/digitalWalletsList.ts +1 -1
- package/src/funcs/digitalWalletsSessionsApplePay.ts +1 -1
- package/src/funcs/digitalWalletsSessionsClickToPay.ts +1 -1
- package/src/funcs/digitalWalletsSessionsGooglePay.ts +1 -1
- package/src/funcs/digitalWalletsUpdate.ts +1 -1
- package/src/funcs/giftCardsBalancesList.ts +1 -1
- package/src/funcs/giftCardsCreate.ts +1 -1
- package/src/funcs/giftCardsDelete.ts +1 -1
- package/src/funcs/giftCardsGet.ts +1 -1
- package/src/funcs/giftCardsList.ts +1 -1
- package/src/funcs/merchantAccountsCreate.ts +1 -1
- package/src/funcs/merchantAccountsGet.ts +1 -1
- package/src/funcs/merchantAccountsList.ts +1 -1
- package/src/funcs/merchantAccountsUpdate.ts +1 -1
- package/src/funcs/paymentLinksCreate.ts +1 -1
- package/src/funcs/paymentLinksExpire.ts +1 -1
- package/src/funcs/paymentLinksGet.ts +1 -1
- package/src/funcs/paymentLinksList.ts +1 -1
- package/src/funcs/paymentMethodsCreate.ts +1 -1
- package/src/funcs/paymentMethodsDelete.ts +1 -1
- package/src/funcs/paymentMethodsGet.ts +1 -1
- package/src/funcs/paymentMethodsList.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensCreate.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensCryptogramCreate.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensDelete.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensList.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensResume.ts +1 -1
- package/src/funcs/paymentMethodsNetworkTokensSuspend.ts +1 -1
- package/src/funcs/paymentMethodsPaymentServiceTokensCreate.ts +1 -1
- package/src/funcs/paymentMethodsPaymentServiceTokensDelete.ts +1 -1
- package/src/funcs/paymentMethodsPaymentServiceTokensList.ts +1 -1
- package/src/funcs/paymentOptionsList.ts +1 -1
- package/src/funcs/paymentServiceDefinitionsGet.ts +1 -1
- package/src/funcs/paymentServiceDefinitionsList.ts +1 -1
- package/src/funcs/paymentServiceDefinitionsSession.ts +1 -1
- package/src/funcs/paymentServicesCreate.ts +1 -1
- package/src/funcs/paymentServicesDelete.ts +1 -1
- package/src/funcs/paymentServicesGet.ts +1 -1
- package/src/funcs/paymentServicesList.ts +1 -1
- package/src/funcs/paymentServicesSession.ts +1 -1
- package/src/funcs/paymentServicesUpdate.ts +1 -1
- package/src/funcs/paymentServicesVerify.ts +1 -1
- package/src/funcs/payoutsCreate.ts +1 -1
- package/src/funcs/payoutsGet.ts +1 -1
- package/src/funcs/payoutsList.ts +1 -1
- package/src/funcs/refundsGet.ts +1 -1
- package/src/funcs/reportExecutionsList.ts +1 -1
- package/src/funcs/reportsCreate.ts +1 -1
- package/src/funcs/reportsExecutionsGet.ts +1 -1
- package/src/funcs/reportsExecutionsList.ts +1 -1
- package/src/funcs/reportsExecutionsUrl.ts +1 -1
- package/src/funcs/reportsGet.ts +1 -1
- package/src/funcs/reportsList.ts +1 -1
- package/src/funcs/reportsPut.ts +1 -1
- package/src/funcs/transactionsCancel.ts +1 -1
- package/src/funcs/transactionsCapture.ts +1 -1
- package/src/funcs/transactionsCreate.ts +1 -1
- package/src/funcs/transactionsEventsList.ts +1 -1
- package/src/funcs/transactionsGet.ts +1 -1
- package/src/funcs/transactionsList.ts +1 -1
- package/src/funcs/transactionsRefundsAllCreate.ts +1 -1
- package/src/funcs/transactionsRefundsCreate.ts +1 -1
- package/src/funcs/transactionsRefundsGet.ts +1 -1
- package/src/funcs/transactionsRefundsList.ts +1 -1
- package/src/funcs/transactionsSettlementsGet.ts +1 -1
- package/src/funcs/transactionsSettlementsList.ts +1 -1
- package/src/funcs/transactionsSync.ts +1 -1
- package/src/funcs/transactionsUpdate.ts +1 -1
- package/src/funcs/transactionsVoid.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/taxidkind.ts +1 -0
- package/src/models/components/transaction.ts +63 -0
- package/docs/sdks/accountupdater/README.md +0 -6
- package/docs/sdks/gr4vy/README.md +0 -7
|
@@ -151,7 +151,7 @@ async function $do(
|
|
|
151
151
|
options: client._options,
|
|
152
152
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
153
153
|
operationID: "list_payment_method_network_tokens",
|
|
154
|
-
oAuth2Scopes:
|
|
154
|
+
oAuth2Scopes: null,
|
|
155
155
|
|
|
156
156
|
resolvedSecurity: requestSecurity,
|
|
157
157
|
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
options: client._options,
|
|
161
161
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
162
162
|
operationID: "resume_payment_method_network_token",
|
|
163
|
-
oAuth2Scopes:
|
|
163
|
+
oAuth2Scopes: null,
|
|
164
164
|
|
|
165
165
|
resolvedSecurity: requestSecurity,
|
|
166
166
|
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
options: client._options,
|
|
161
161
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
162
162
|
operationID: "suspend_payment_method_network_token",
|
|
163
|
-
oAuth2Scopes:
|
|
163
|
+
oAuth2Scopes: null,
|
|
164
164
|
|
|
165
165
|
resolvedSecurity: requestSecurity,
|
|
166
166
|
|
|
@@ -157,7 +157,7 @@ async function $do(
|
|
|
157
157
|
options: client._options,
|
|
158
158
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159
159
|
operationID: "create_payment_method_payment_service_token",
|
|
160
|
-
oAuth2Scopes:
|
|
160
|
+
oAuth2Scopes: null,
|
|
161
161
|
|
|
162
162
|
resolvedSecurity: requestSecurity,
|
|
163
163
|
|
|
@@ -159,7 +159,7 @@ async function $do(
|
|
|
159
159
|
options: client._options,
|
|
160
160
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
161
161
|
operationID: "delete_payment_method_payment_service_token",
|
|
162
|
-
oAuth2Scopes:
|
|
162
|
+
oAuth2Scopes: null,
|
|
163
163
|
|
|
164
164
|
resolvedSecurity: requestSecurity,
|
|
165
165
|
|
|
@@ -158,7 +158,7 @@ async function $do(
|
|
|
158
158
|
options: client._options,
|
|
159
159
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
160
160
|
operationID: "list_payment_method_payment_service_tokens",
|
|
161
|
-
oAuth2Scopes:
|
|
161
|
+
oAuth2Scopes: null,
|
|
162
162
|
|
|
163
163
|
resolvedSecurity: requestSecurity,
|
|
164
164
|
|
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
options: client._options,
|
|
153
153
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
154
154
|
operationID: "list_payment_service_definitions",
|
|
155
|
-
oAuth2Scopes:
|
|
155
|
+
oAuth2Scopes: null,
|
|
156
156
|
|
|
157
157
|
resolvedSecurity: requestSecurity,
|
|
158
158
|
|
|
@@ -146,7 +146,7 @@ async function $do(
|
|
|
146
146
|
options: client._options,
|
|
147
147
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148
148
|
operationID: "create_payment_service_definition_session",
|
|
149
|
-
oAuth2Scopes:
|
|
149
|
+
oAuth2Scopes: null,
|
|
150
150
|
|
|
151
151
|
resolvedSecurity: requestSecurity,
|
|
152
152
|
|
|
@@ -143,7 +143,7 @@ async function $do(
|
|
|
143
143
|
options: client._options,
|
|
144
144
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145
145
|
operationID: "verify_payment_service_credentials",
|
|
146
|
-
oAuth2Scopes:
|
|
146
|
+
oAuth2Scopes: null,
|
|
147
147
|
|
|
148
148
|
resolvedSecurity: requestSecurity,
|
|
149
149
|
|
package/src/funcs/payoutsGet.ts
CHANGED
package/src/funcs/payoutsList.ts
CHANGED
package/src/funcs/refundsGet.ts
CHANGED
package/src/funcs/reportsGet.ts
CHANGED
package/src/funcs/reportsList.ts
CHANGED
package/src/funcs/reportsPut.ts
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0.0",
|
|
80
|
-
sdkVersion: "1.2.
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 1.2.
|
|
80
|
+
sdkVersion: "1.2.3",
|
|
81
|
+
genVersion: "2.723.4",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 1.2.3 2.723.4 1.0.0 @gr4vy/sdk",
|
|
83
83
|
} as const;
|
|
@@ -350,6 +350,34 @@ export type Transaction = {
|
|
|
350
350
|
* The number of installments for this transaction, if applicable.
|
|
351
351
|
*/
|
|
352
352
|
installmentCount?: number | null | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* The sales tax amount for this transaction, represented as a monetary amount in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for `$12.99`
|
|
355
|
+
*/
|
|
356
|
+
taxAmount?: number | null | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* Merchant tax ID (for example, EIN or VAT number).
|
|
359
|
+
*/
|
|
360
|
+
merchantTaxId?: string | null | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* Customer code or reference.
|
|
363
|
+
*/
|
|
364
|
+
customerReferenceNumber?: string | null | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Whether the tax is included in the amount.
|
|
367
|
+
*/
|
|
368
|
+
amountIncludesTax?: boolean | null | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* The merchant's unique identifier for the sales order or invoice.
|
|
371
|
+
*/
|
|
372
|
+
supplierOrderNumber?: string | null | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* Total charges for import/export duties.
|
|
375
|
+
*/
|
|
376
|
+
dutyAmount?: number | null | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* Total shipping amount.
|
|
379
|
+
*/
|
|
380
|
+
shippingAmount?: number | null | undefined;
|
|
353
381
|
};
|
|
354
382
|
|
|
355
383
|
/** @internal */
|
|
@@ -432,6 +460,13 @@ export const Transaction$inboundSchema: z.ZodType<
|
|
|
432
460
|
recipient: z.nullable(Recipient$inboundSchema).optional(),
|
|
433
461
|
merchant_advice_code: z.nullable(z.string()).optional(),
|
|
434
462
|
installment_count: z.nullable(z.number().int()).optional(),
|
|
463
|
+
tax_amount: z.nullable(z.number().int()).optional(),
|
|
464
|
+
merchant_tax_id: z.nullable(z.string()).optional(),
|
|
465
|
+
customer_reference_number: z.nullable(z.string()).optional(),
|
|
466
|
+
amount_includes_tax: z.nullable(z.boolean()).optional(),
|
|
467
|
+
supplier_order_number: z.nullable(z.string()).optional(),
|
|
468
|
+
duty_amount: z.nullable(z.number().int()).optional(),
|
|
469
|
+
shipping_amount: z.nullable(z.number().int()).optional(),
|
|
435
470
|
}).transform((v) => {
|
|
436
471
|
return remap$(v, {
|
|
437
472
|
"reconciliation_id": "reconciliationId",
|
|
@@ -479,6 +514,13 @@ export const Transaction$inboundSchema: z.ZodType<
|
|
|
479
514
|
"account_funding_transaction": "accountFundingTransaction",
|
|
480
515
|
"merchant_advice_code": "merchantAdviceCode",
|
|
481
516
|
"installment_count": "installmentCount",
|
|
517
|
+
"tax_amount": "taxAmount",
|
|
518
|
+
"merchant_tax_id": "merchantTaxId",
|
|
519
|
+
"customer_reference_number": "customerReferenceNumber",
|
|
520
|
+
"amount_includes_tax": "amountIncludesTax",
|
|
521
|
+
"supplier_order_number": "supplierOrderNumber",
|
|
522
|
+
"duty_amount": "dutyAmount",
|
|
523
|
+
"shipping_amount": "shippingAmount",
|
|
482
524
|
});
|
|
483
525
|
});
|
|
484
526
|
|
|
@@ -543,6 +585,13 @@ export type Transaction$Outbound = {
|
|
|
543
585
|
recipient?: Recipient$Outbound | null | undefined;
|
|
544
586
|
merchant_advice_code?: string | null | undefined;
|
|
545
587
|
installment_count?: number | null | undefined;
|
|
588
|
+
tax_amount?: number | null | undefined;
|
|
589
|
+
merchant_tax_id?: string | null | undefined;
|
|
590
|
+
customer_reference_number?: string | null | undefined;
|
|
591
|
+
amount_includes_tax?: boolean | null | undefined;
|
|
592
|
+
supplier_order_number?: string | null | undefined;
|
|
593
|
+
duty_amount?: number | null | undefined;
|
|
594
|
+
shipping_amount?: number | null | undefined;
|
|
546
595
|
};
|
|
547
596
|
|
|
548
597
|
/** @internal */
|
|
@@ -615,6 +664,13 @@ export const Transaction$outboundSchema: z.ZodType<
|
|
|
615
664
|
recipient: z.nullable(Recipient$outboundSchema).optional(),
|
|
616
665
|
merchantAdviceCode: z.nullable(z.string()).optional(),
|
|
617
666
|
installmentCount: z.nullable(z.number().int()).optional(),
|
|
667
|
+
taxAmount: z.nullable(z.number().int()).optional(),
|
|
668
|
+
merchantTaxId: z.nullable(z.string()).optional(),
|
|
669
|
+
customerReferenceNumber: z.nullable(z.string()).optional(),
|
|
670
|
+
amountIncludesTax: z.nullable(z.boolean()).optional(),
|
|
671
|
+
supplierOrderNumber: z.nullable(z.string()).optional(),
|
|
672
|
+
dutyAmount: z.nullable(z.number().int()).optional(),
|
|
673
|
+
shippingAmount: z.nullable(z.number().int()).optional(),
|
|
618
674
|
}).transform((v) => {
|
|
619
675
|
return remap$(v, {
|
|
620
676
|
reconciliationId: "reconciliation_id",
|
|
@@ -662,6 +718,13 @@ export const Transaction$outboundSchema: z.ZodType<
|
|
|
662
718
|
accountFundingTransaction: "account_funding_transaction",
|
|
663
719
|
merchantAdviceCode: "merchant_advice_code",
|
|
664
720
|
installmentCount: "installment_count",
|
|
721
|
+
taxAmount: "tax_amount",
|
|
722
|
+
merchantTaxId: "merchant_tax_id",
|
|
723
|
+
customerReferenceNumber: "customer_reference_number",
|
|
724
|
+
amountIncludesTax: "amount_includes_tax",
|
|
725
|
+
supplierOrderNumber: "supplier_order_number",
|
|
726
|
+
dutyAmount: "duty_amount",
|
|
727
|
+
shippingAmount: "shipping_amount",
|
|
665
728
|
});
|
|
666
729
|
});
|
|
667
730
|
|