@flintpay/node 5.0.0 → 5.1.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 +3 -5
- package/REFERENCE.md +1 -1
- package/RUNTIME.md +2 -8
- package/declarations/types-62.d.ts +3 -4
- package/declarations/types-63.d.ts +3 -3
- package/declarations/types-64.d.ts +2 -2
- package/declarations/types-65.d.ts +3 -3
- package/declarations/types-66.d.ts +3 -3
- package/declarations/types-67.d.ts +3 -3
- package/declarations/types-68.d.ts +3 -2
- package/declarations/types-69.d.ts +3 -3
- package/declarations/types-70.d.ts +3 -3
- package/declarations/types-71.d.ts +3 -5
- package/declarations/types-72.d.ts +4 -3
- package/declarations/types-73.d.ts +10 -1
- package/descriptors/data.js +369 -369
- package/descriptors/resources/analytics.js +10 -10
- package/descriptors/resources/apiKeys.js +10 -10
- package/descriptors/resources/balanceTransactions.js +10 -10
- package/descriptors/resources/balances.js +10 -10
- package/descriptors/resources/bundles.js +12 -12
- package/descriptors/resources/categories.js +11 -11
- package/descriptors/resources/checkoutSessions.js +26 -26
- package/descriptors/resources/creditNotes.js +23 -23
- package/descriptors/resources/customDomains.js +12 -12
- package/descriptors/resources/customerDeletionRequests.js +11 -11
- package/descriptors/resources/customerSessions.js +11 -11
- package/descriptors/resources/customerVerifications.js +11 -11
- package/descriptors/resources/customers.js +17 -17
- package/descriptors/resources/deliveryLocationSets.js +11 -11
- package/descriptors/resources/deliveryMethods.js +21 -21
- package/descriptors/resources/deliveryPreviews.js +19 -19
- package/descriptors/resources/deliveryProfiles.js +13 -13
- package/descriptors/resources/deliveryQuotes.js +17 -17
- package/descriptors/resources/deliveryRateCallbacks.js +13 -13
- package/descriptors/resources/deliveryRevocations.js +14 -14
- package/descriptors/resources/deliveryZones.js +14 -14
- package/descriptors/resources/demoSessions.js +11 -11
- package/descriptors/resources/developer.js +15 -15
- package/descriptors/resources/devices.js +11 -11
- package/descriptors/resources/discountPreviews.js +11 -11
- package/descriptors/resources/disputes.js +17 -17
- package/descriptors/resources/emailPreferenceLinks.js +11 -11
- package/descriptors/resources/feedbackReports.js +12 -12
- package/descriptors/resources/files.js +11 -11
- package/descriptors/resources/fraudWarnings.js +17 -17
- package/descriptors/resources/fulfillmentEvents.js +12 -12
- package/descriptors/resources/fulfillmentNotifications.js +11 -11
- package/descriptors/resources/fulfillments.js +17 -17
- package/descriptors/resources/giftCardAdjustments.js +15 -15
- package/descriptors/resources/giftCardCashOuts.js +14 -14
- package/descriptors/resources/giftCardFundingDispositions.js +11 -11
- package/descriptors/resources/giftCardLoads.js +16 -16
- package/descriptors/resources/giftCardNotifications.js +12 -12
- package/descriptors/resources/giftCardRedemptions.js +15 -15
- package/descriptors/resources/giftCardTransactions.js +13 -13
- package/descriptors/resources/giftCards.js +18 -18
- package/descriptors/resources/inventoryAdjustments.js +13 -13
- package/descriptors/resources/inventoryAllocationPolicies.js +13 -13
- package/descriptors/resources/inventoryCounts.js +13 -13
- package/descriptors/resources/inventoryItems.js +12 -12
- package/descriptors/resources/inventoryLevels.js +13 -13
- package/descriptors/resources/inventoryMovements.js +15 -15
- package/descriptors/resources/inventoryReceipts.js +14 -14
- package/descriptors/resources/inventoryReservations.js +18 -18
- package/descriptors/resources/inventoryTransfers.js +15 -15
- package/descriptors/resources/invoicePaymentTerms.js +16 -16
- package/descriptors/resources/invoices.js +36 -36
- package/descriptors/resources/locations.js +13 -13
- package/descriptors/resources/me.js +52 -52
- package/descriptors/resources/merchantAccountSessions.js +13 -13
- package/descriptors/resources/merchantBillingBalances.js +11 -11
- package/descriptors/resources/merchantBillingEntries.js +11 -11
- package/descriptors/resources/merchantSubscriptionInvoices.js +11 -11
- package/descriptors/resources/merchants.js +15 -15
- package/descriptors/resources/modifierGroups.js +14 -14
- package/descriptors/resources/modifierSets.js +14 -14
- package/descriptors/resources/oauth.js +12 -12
- package/descriptors/resources/onboarding.js +17 -17
- package/descriptors/resources/orders.js +44 -44
- package/descriptors/resources/organizations.js +13 -13
- package/descriptors/resources/packages.js +15 -15
- package/descriptors/resources/partnerAppInstalls.js +11 -11
- package/descriptors/resources/paymentIntents.js +23 -23
- package/descriptors/resources/paymentLinks.js +31 -31
- package/descriptors/resources/paymentMethodDomains.js +12 -12
- package/descriptors/resources/paymentMethods.js +17 -17
- package/descriptors/resources/payoutSettings.js +15 -15
- package/descriptors/resources/payouts.js +13 -13
- package/descriptors/resources/products.js +20 -20
- package/descriptors/resources/promotions.js +17 -17
- package/descriptors/resources/refunds.js +23 -23
- package/descriptors/resources/reportDownloads.js +8 -8
- package/descriptors/resources/reports.js +13 -13
- package/descriptors/resources/returnDispositions.js +11 -11
- package/descriptors/resources/returnInspections.js +13 -13
- package/descriptors/resources/returnPolicies.js +13 -13
- package/descriptors/resources/returnPreviews.js +23 -23
- package/descriptors/resources/returnReasons.js +11 -11
- package/descriptors/resources/returnReceipts.js +14 -14
- package/descriptors/resources/returnResolutions.js +33 -33
- package/descriptors/resources/returns.js +38 -38
- package/descriptors/resources/reviews.js +17 -17
- package/descriptors/resources/riskLists.js +12 -12
- package/descriptors/resources/riskPreviews.js +12 -12
- package/descriptors/resources/riskRules.js +13 -13
- package/descriptors/resources/settings.js +27 -27
- package/descriptors/resources/shipments.js +17 -17
- package/descriptors/resources/specification.js +8 -8
- package/descriptors/resources/subscriptionDeliveryMigrations.js +11 -11
- package/descriptors/resources/subscriptionOffers.js +13 -13
- package/descriptors/resources/subscriptionPlans.js +26 -26
- package/descriptors/resources/subscriptionPreviews.js +33 -33
- package/descriptors/resources/subscriptions.js +36 -36
- package/descriptors/resources/webhookDeliveries.js +11 -11
- package/descriptors/resources/webhookEndpoints.js +13 -13
- package/descriptors/resources/webhookEventTypes.js +12 -12
- package/descriptors/resources/webhookEvents.js +14 -14
- package/descriptors/resources/workloadIdentities.js +13 -13
- package/descriptors/root.js +3 -3
- package/descriptors/settings.js +1 -1
- package/descriptors/webhook.js +127 -127
- package/examples/analytics-getOverview.mjs +0 -3
- package/examples/analytics-getPaymentVolumeTimeseries.mjs +0 -3
- package/examples/analytics-getSubscription.mjs +0 -3
- package/examples/apiKeys-create.mjs +0 -3
- package/examples/apiKeys-get.mjs +0 -3
- package/examples/apiKeys-list.mjs +0 -3
- package/examples/apiKeys-revoke.mjs +0 -3
- package/examples/apiKeys-update.mjs +0 -3
- package/examples/balanceTransactions-get.mjs +0 -3
- package/examples/balanceTransactions-list.mjs +0 -3
- package/examples/balances-list.mjs +0 -3
- package/examples/bundles-create.mjs +0 -3
- package/examples/bundles-get.mjs +0 -3
- package/examples/bundles-list.mjs +0 -3
- package/examples/bundles-listComponents.mjs +0 -3
- package/examples/bundles-remove.mjs +0 -3
- package/examples/bundles-update.mjs +0 -3
- package/examples/categories-create.mjs +0 -3
- package/examples/categories-get.mjs +0 -3
- package/examples/categories-list.mjs +0 -3
- package/examples/categories-remove.mjs +0 -3
- package/examples/categories-update.mjs +0 -3
- package/examples/checkoutSessions-closeSession.mjs +0 -3
- package/examples/checkoutSessions-create.mjs +0 -3
- package/examples/checkoutSessions-createDeliveryQuote.mjs +0 -3
- package/examples/checkoutSessions-createDeliverySelection.mjs +0 -3
- package/examples/checkoutSessions-deleteCurrentDeliverySelection.mjs +0 -3
- package/examples/checkoutSessions-get.mjs +0 -3
- package/examples/checkoutSessions-getCurrentDeliverySelection.mjs +0 -3
- package/examples/checkoutSessions-getDeliveryQuote.mjs +0 -3
- package/examples/checkoutSessions-getDeliverySelectionHistory.mjs +0 -3
- package/examples/checkoutSessions-list.mjs +0 -3
- package/examples/checkoutSessions-update.mjs +0 -3
- package/examples/creditNotes-create.mjs +0 -3
- package/examples/creditNotes-createAllocation.mjs +0 -3
- package/examples/creditNotes-createRefund.mjs +0 -3
- package/examples/creditNotes-get.mjs +0 -3
- package/examples/creditNotes-getAllocation.mjs +0 -3
- package/examples/creditNotes-getPDF.mjs +0 -3
- package/examples/creditNotes-issue.mjs +0 -3
- package/examples/creditNotes-list.mjs +0 -3
- package/examples/creditNotes-listAllocations.mjs +0 -3
- package/examples/creditNotes-listRefunds.mjs +0 -3
- package/examples/creditNotes-reverseAllocation.mjs +0 -3
- package/examples/creditNotes-update.mjs +0 -3
- package/examples/creditNotes-voidResource.mjs +0 -3
- package/examples/customDomains-create.mjs +0 -3
- package/examples/customDomains-get.mjs +0 -3
- package/examples/customDomains-list.mjs +0 -3
- package/examples/customDomains-remove.mjs +0 -3
- package/examples/customerDeletionRequests-list.mjs +0 -3
- package/examples/customerDeletionRequests-resolve.mjs +0 -3
- package/examples/customerSessions-create.mjs +0 -3
- package/examples/customerSessions-revoke.mjs +0 -3
- package/examples/customerVerifications-confirm.mjs +0 -3
- package/examples/customerVerifications-create.mjs +0 -3
- package/examples/customers-create.mjs +0 -3
- package/examples/customers-createAccessLink.mjs +0 -3
- package/examples/customers-createAddress.mjs +0 -3
- package/examples/customers-createDeletionRequest.mjs +0 -3
- package/examples/customers-deleteAddress.mjs +0 -3
- package/examples/customers-get.mjs +0 -3
- package/examples/customers-getAddress.mjs +0 -3
- package/examples/customers-getDeletionRequest.mjs +0 -3
- package/examples/customers-linkGuestPurchases.mjs +0 -3
- package/examples/customers-list.mjs +0 -3
- package/examples/customers-listAddresses.mjs +0 -3
- package/examples/customers-revokeSessions.mjs +0 -3
- package/examples/customers-setDefaultAddress.mjs +0 -3
- package/examples/customers-update.mjs +0 -3
- package/examples/customers-updateAddress.mjs +0 -3
- package/examples/deliveryLocationSets-create.mjs +0 -3
- package/examples/deliveryLocationSets-get.mjs +0 -3
- package/examples/deliveryLocationSets-list.mjs +0 -3
- package/examples/deliveryLocationSets-remove.mjs +0 -3
- package/examples/deliveryLocationSets-update.mjs +0 -3
- package/examples/deliveryMethods-create.mjs +0 -3
- package/examples/deliveryMethods-get.mjs +0 -3
- package/examples/deliveryMethods-list.mjs +0 -3
- package/examples/deliveryMethods-remove.mjs +0 -3
- package/examples/deliveryMethods-update.mjs +0 -3
- package/examples/deliveryPreviews-create.mjs +0 -3
- package/examples/deliveryProfiles-assignToUnconfigured.mjs +0 -3
- package/examples/deliveryProfiles-create.mjs +0 -3
- package/examples/deliveryProfiles-get.mjs +0 -3
- package/examples/deliveryProfiles-list.mjs +0 -3
- package/examples/deliveryProfiles-remove.mjs +0 -3
- package/examples/deliveryProfiles-update.mjs +0 -3
- package/examples/deliveryQuotes-get.mjs +0 -3
- package/examples/deliveryQuotes-list.mjs +0 -3
- package/examples/deliveryRateCallbacks-checkConnection.mjs +0 -3
- package/examples/deliveryRateCallbacks-create.mjs +0 -3
- package/examples/deliveryRateCallbacks-createTestDelivery.mjs +0 -3
- package/examples/deliveryRateCallbacks-get.mjs +0 -3
- package/examples/deliveryRateCallbacks-list.mjs +0 -3
- package/examples/deliveryRateCallbacks-remove.mjs +0 -3
- package/examples/deliveryRateCallbacks-rotateSigningKey.mjs +0 -3
- package/examples/deliveryRateCallbacks-update.mjs +0 -3
- package/examples/deliveryRevocations-get.mjs +0 -3
- package/examples/deliveryRevocations-revokeDeliveryDependency.mjs +0 -3
- package/examples/deliveryZones-create.mjs +0 -3
- package/examples/deliveryZones-get.mjs +0 -3
- package/examples/deliveryZones-list.mjs +0 -3
- package/examples/deliveryZones-remove.mjs +0 -3
- package/examples/deliveryZones-update.mjs +0 -3
- package/examples/developer-createPartnerApp.mjs +0 -3
- package/examples/developer-createSandbox.mjs +0 -3
- package/examples/developer-createSandboxAPIKey.mjs +0 -3
- package/examples/developer-deletePartnerApp.mjs +0 -3
- package/examples/developer-deleteSandbox.mjs +0 -3
- package/examples/developer-getAuthContext.mjs +0 -3
- package/examples/developer-getCurrentAPIKeyRequestLog.mjs +0 -3
- package/examples/developer-getPartnerApp.mjs +0 -3
- package/examples/developer-getPartnerAppInstall.mjs +0 -3
- package/examples/developer-getResourceTimeline.mjs +0 -3
- package/examples/developer-getSandbox.mjs +0 -3
- package/examples/developer-listCurrentAPIKeyRequestLogs.mjs +0 -3
- package/examples/developer-listPartnerAppInstalls.mjs +0 -3
- package/examples/developer-listPartnerApps.mjs +0 -3
- package/examples/developer-listPartnerInstalls.mjs +0 -3
- package/examples/developer-listSandboxes.mjs +0 -3
- package/examples/developer-resetSandbox.mjs +0 -3
- package/examples/developer-revokePartnerAppInstall.mjs +0 -3
- package/examples/developer-revokePartnerEnvironmentGrant.mjs +0 -3
- package/examples/developer-rotatePartnerAppSecret.mjs +0 -3
- package/examples/developer-updatePartnerApp.mjs +0 -3
- package/examples/devices-create.mjs +0 -3
- package/examples/devices-get.mjs +0 -3
- package/examples/devices-list.mjs +0 -3
- package/examples/devices-remove.mjs +0 -3
- package/examples/devices-update.mjs +0 -3
- package/examples/discountPreviews-create.mjs +0 -3
- package/examples/disputes-createResponseSession.mjs +0 -3
- package/examples/disputes-get.mjs +0 -3
- package/examples/disputes-list.mjs +0 -3
- package/examples/emailPreferenceLinks-lookup.mjs +0 -3
- package/examples/emailPreferenceLinks-unsubscribe.mjs +0 -3
- package/examples/feedbackReports-create.mjs +0 -3
- package/examples/feedbackReports-get.mjs +0 -3
- package/examples/feedbackReports-list.mjs +0 -3
- package/examples/files-complete.mjs +0 -3
- package/examples/files-create.mjs +0 -3
- package/examples/files-get.mjs +0 -3
- package/examples/fraudWarnings-get.mjs +0 -3
- package/examples/fraudWarnings-list.mjs +0 -3
- package/examples/fulfillmentEvents-get.mjs +0 -3
- package/examples/fulfillmentEvents-list.mjs +0 -3
- package/examples/fulfillmentNotifications-get.mjs +0 -3
- package/examples/fulfillmentNotifications-list.mjs +0 -3
- package/examples/fulfillments-createEvent.mjs +0 -3
- package/examples/fulfillments-createShipment.mjs +0 -3
- package/examples/fulfillments-get.mjs +0 -3
- package/examples/fulfillments-list.mjs +0 -3
- package/examples/fulfillments-transition.mjs +0 -3
- package/examples/fulfillments-update.mjs +0 -3
- package/examples/giftCardAdjustments-create.mjs +0 -3
- package/examples/giftCardCashOuts-create.mjs +0 -3
- package/examples/giftCardFundingDispositions-create.mjs +0 -3
- package/examples/giftCardFundingDispositions-get.mjs +0 -3
- package/examples/giftCardFundingDispositions-list.mjs +0 -3
- package/examples/giftCardLoads-create.mjs +0 -3
- package/examples/giftCardLoads-get.mjs +0 -3
- package/examples/giftCardLoads-list.mjs +0 -3
- package/examples/giftCardNotifications-cancel.mjs +0 -3
- package/examples/giftCardNotifications-create.mjs +0 -3
- package/examples/giftCardNotifications-get.mjs +0 -3
- package/examples/giftCardNotifications-list.mjs +0 -3
- package/examples/giftCardRedemptions-cancel.mjs +0 -3
- package/examples/giftCardRedemptions-capture.mjs +0 -3
- package/examples/giftCardRedemptions-create.mjs +0 -3
- package/examples/giftCardRedemptions-get.mjs +0 -3
- package/examples/giftCardRedemptions-list.mjs +0 -3
- package/examples/giftCardTransactions-list.mjs +0 -3
- package/examples/giftCards-create.mjs +0 -3
- package/examples/giftCards-get.mjs +0 -3
- package/examples/giftCards-list.mjs +0 -3
- package/examples/giftCards-lookup.mjs +0 -3
- package/examples/giftCards-rotateCode.mjs +0 -3
- package/examples/giftCards-transition.mjs +0 -3
- package/examples/giftCards-update.mjs +0 -3
- package/examples/inventoryAdjustments-create.mjs +0 -3
- package/examples/inventoryAdjustments-get.mjs +0 -3
- package/examples/inventoryAdjustments-list.mjs +0 -3
- package/examples/inventoryAllocationPolicies-create.mjs +0 -3
- package/examples/inventoryAllocationPolicies-get.mjs +0 -3
- package/examples/inventoryAllocationPolicies-getRevision.mjs +0 -3
- package/examples/inventoryAllocationPolicies-list.mjs +0 -3
- package/examples/inventoryAllocationPolicies-listRevisions.mjs +0 -3
- package/examples/inventoryAllocationPolicies-remove.mjs +0 -3
- package/examples/inventoryAllocationPolicies-update.mjs +0 -3
- package/examples/inventoryCounts-create.mjs +0 -3
- package/examples/inventoryCounts-get.mjs +0 -3
- package/examples/inventoryCounts-list.mjs +0 -3
- package/examples/inventoryCounts-transition.mjs +0 -3
- package/examples/inventoryCounts-update.mjs +0 -3
- package/examples/inventoryItems-create.mjs +0 -3
- package/examples/inventoryItems-get.mjs +0 -3
- package/examples/inventoryItems-list.mjs +0 -3
- package/examples/inventoryItems-remove.mjs +0 -3
- package/examples/inventoryItems-update.mjs +0 -3
- package/examples/inventoryLevels-get.mjs +0 -3
- package/examples/inventoryLevels-list.mjs +0 -3
- package/examples/inventoryLevels-update.mjs +0 -3
- package/examples/inventoryMovements-get.mjs +0 -3
- package/examples/inventoryMovements-list.mjs +0 -3
- package/examples/inventoryReceipts-create.mjs +0 -3
- package/examples/inventoryReceipts-get.mjs +0 -3
- package/examples/inventoryReceipts-list.mjs +0 -3
- package/examples/inventoryReservations-create.mjs +0 -3
- package/examples/inventoryReservations-get.mjs +0 -3
- package/examples/inventoryReservations-list.mjs +0 -3
- package/examples/inventoryReservations-transition.mjs +0 -3
- package/examples/inventoryReservations-update.mjs +0 -3
- package/examples/inventoryTransfers-create.mjs +0 -3
- package/examples/inventoryTransfers-get.mjs +0 -3
- package/examples/inventoryTransfers-list.mjs +0 -3
- package/examples/inventoryTransfers-transition.mjs +0 -3
- package/examples/inventoryTransfers-update.mjs +0 -3
- package/examples/invoicePaymentTerms-create.mjs +0 -3
- package/examples/invoicePaymentTerms-get.mjs +0 -3
- package/examples/invoicePaymentTerms-list.mjs +0 -3
- package/examples/invoicePaymentTerms-remove.mjs +0 -3
- package/examples/invoicePaymentTerms-update.mjs +0 -3
- package/examples/invoices-assessLateFee.mjs +0 -3
- package/examples/invoices-cancelPaymentAttempt.mjs +0 -3
- package/examples/invoices-collect.mjs +0 -3
- package/examples/invoices-create.mjs +0 -3
- package/examples/invoices-get.mjs +0 -3
- package/examples/invoices-getManualPayment.mjs +0 -3
- package/examples/invoices-getOrCreateCheckoutSession.mjs +0 -3
- package/examples/invoices-getPDF.mjs +0 -3
- package/examples/invoices-getPaymentAttempt.mjs +0 -3
- package/examples/invoices-issue.mjs +0 -3
- package/examples/invoices-list.mjs +0 -3
- package/examples/invoices-listActivities.mjs +0 -3
- package/examples/invoices-listDeliveryAttempts.mjs +0 -3
- package/examples/invoices-listManualPayments.mjs +0 -3
- package/examples/invoices-listPaymentAttempts.mjs +0 -3
- package/examples/invoices-markUncollectible.mjs +0 -3
- package/examples/invoices-recordManualPayment.mjs +0 -3
- package/examples/invoices-regeneratePublicLink.mjs +0 -3
- package/examples/invoices-reverseManualPayment.mjs +0 -3
- package/examples/invoices-sendReminder.mjs +0 -3
- package/examples/invoices-update.mjs +0 -3
- package/examples/invoices-voidResource.mjs +0 -3
- package/examples/invoices-waiveLateFee.mjs +0 -3
- package/examples/locations-create.mjs +0 -3
- package/examples/locations-get.mjs +0 -3
- package/examples/locations-list.mjs +0 -3
- package/examples/locations-remove.mjs +0 -3
- package/examples/locations-update.mjs +0 -3
- package/examples/merchantAccountSessions-create.mjs +0 -3
- package/examples/merchantAccountSessions-refresh.mjs +0 -3
- package/examples/merchantBillingBalances-get.mjs +0 -3
- package/examples/merchantBillingBalances-list.mjs +0 -3
- package/examples/merchantBillingEntries-list.mjs +0 -3
- package/examples/merchantSubscriptionInvoices-get.mjs +0 -3
- package/examples/merchantSubscriptionInvoices-list.mjs +0 -3
- package/examples/merchants-get.mjs +0 -3
- package/examples/merchants-update.mjs +0 -3
- package/examples/modifierGroups-create.mjs +0 -3
- package/examples/modifierGroups-get.mjs +0 -3
- package/examples/modifierGroups-list.mjs +0 -3
- package/examples/modifierGroups-remove.mjs +0 -3
- package/examples/modifierGroups-update.mjs +0 -3
- package/examples/modifierSets-create.mjs +0 -3
- package/examples/modifierSets-get.mjs +0 -3
- package/examples/modifierSets-list.mjs +0 -3
- package/examples/modifierSets-remove.mjs +0 -3
- package/examples/modifierSets-update.mjs +0 -3
- package/examples/onboarding-advance.mjs +0 -3
- package/examples/onboarding-getState.mjs +0 -3
- package/examples/orders-addCharge.mjs +0 -3
- package/examples/orders-addLineItems.mjs +0 -3
- package/examples/orders-applyDiscount.mjs +0 -3
- package/examples/orders-applyGiftCard.mjs +0 -3
- package/examples/orders-cancelPaymentAttempt.mjs +0 -3
- package/examples/orders-closeSession.mjs +0 -3
- package/examples/orders-create.mjs +0 -3
- package/examples/orders-createAccessLink.mjs +0 -3
- package/examples/orders-createFulfillment.mjs +0 -3
- package/examples/orders-createPaymentIntent.mjs +0 -3
- package/examples/orders-deleteCharge.mjs +0 -3
- package/examples/orders-deleteLineItem.mjs +0 -3
- package/examples/orders-get.mjs +0 -3
- package/examples/orders-getCurrentDeliverySelection.mjs +0 -3
- package/examples/orders-getPaymentAttempt.mjs +0 -3
- package/examples/orders-list.mjs +0 -3
- package/examples/orders-listActivities.mjs +0 -3
- package/examples/orders-listPaymentAttempts.mjs +0 -3
- package/examples/orders-pay.mjs +0 -3
- package/examples/orders-removeDiscounts.mjs +0 -3
- package/examples/orders-removeGiftCard.mjs +0 -3
- package/examples/orders-repriceDiscounts.mjs +0 -3
- package/examples/orders-resolveInventoryException.mjs +0 -3
- package/examples/orders-sendReceipt.mjs +0 -3
- package/examples/orders-update.mjs +0 -3
- package/examples/orders-updateCharge.mjs +0 -3
- package/examples/orders-updateLineItem.mjs +0 -3
- package/examples/organizations-create.mjs +0 -3
- package/examples/organizations-get.mjs +0 -3
- package/examples/organizations-grantMembership.mjs +0 -3
- package/examples/organizations-list.mjs +0 -3
- package/examples/organizations-listMemberships.mjs +0 -3
- package/examples/organizations-remove.mjs +0 -3
- package/examples/organizations-revokeMembership.mjs +0 -3
- package/examples/organizations-update.mjs +0 -3
- package/examples/packages-createItem.mjs +0 -3
- package/examples/packages-deleteItem.mjs +0 -3
- package/examples/packages-get.mjs +0 -3
- package/examples/packages-getItem.mjs +0 -3
- package/examples/packages-list.mjs +0 -3
- package/examples/packages-listPackageItems.mjs +0 -3
- package/examples/packages-transition.mjs +0 -3
- package/examples/packages-update.mjs +0 -3
- package/examples/packages-updateItem.mjs +0 -3
- package/examples/packages-voidResource.mjs +0 -3
- package/examples/partnerAppInstalls-list.mjs +0 -3
- package/examples/partnerAppInstalls-revoke.mjs +0 -3
- package/examples/paymentIntents-cancel.mjs +0 -3
- package/examples/paymentIntents-capture.mjs +0 -3
- package/examples/paymentIntents-confirm.mjs +0 -3
- package/examples/paymentIntents-create.mjs +0 -3
- package/examples/paymentIntents-get.mjs +0 -3
- package/examples/paymentIntents-list.mjs +0 -3
- package/examples/paymentIntents-listActivities.mjs +0 -3
- package/examples/paymentIntents-sendReceipt.mjs +0 -3
- package/examples/paymentIntents-update.mjs +0 -3
- package/examples/paymentLinks-create.mjs +0 -3
- package/examples/paymentLinks-get.mjs +0 -3
- package/examples/paymentLinks-list.mjs +0 -3
- package/examples/paymentLinks-update.mjs +0 -3
- package/examples/paymentMethodDomains-create.mjs +0 -3
- package/examples/paymentMethodDomains-get.mjs +0 -3
- package/examples/paymentMethodDomains-list.mjs +0 -3
- package/examples/paymentMethodDomains-update.mjs +0 -3
- package/examples/paymentMethods-get.mjs +0 -3
- package/examples/paymentMethods-list.mjs +0 -3
- package/examples/paymentMethods-remove.mjs +0 -3
- package/examples/paymentMethods-save.mjs +0 -3
- package/examples/payoutSettings-deletePayoutDestination.mjs +0 -3
- package/examples/payoutSettings-get.mjs +0 -3
- package/examples/payoutSettings-getPayoutDestination.mjs +0 -3
- package/examples/payoutSettings-listPayoutDestinations.mjs +0 -3
- package/examples/payoutSettings-update.mjs +0 -3
- package/examples/payoutSettings-updatePayoutDestination.mjs +0 -3
- package/examples/payouts-cancel.mjs +0 -3
- package/examples/payouts-create.mjs +0 -3
- package/examples/payouts-get.mjs +0 -3
- package/examples/payouts-list.mjs +0 -3
- package/examples/products-create.mjs +0 -3
- package/examples/products-createVariant.mjs +0 -3
- package/examples/products-deleteVariant.mjs +0 -3
- package/examples/products-get.mjs +0 -3
- package/examples/products-getOption.mjs +0 -3
- package/examples/products-getVariant.mjs +0 -3
- package/examples/products-list.mjs +0 -3
- package/examples/products-listOptions.mjs +0 -3
- package/examples/products-listVariants.mjs +0 -3
- package/examples/products-remove.mjs +0 -3
- package/examples/products-update.mjs +0 -3
- package/examples/products-updateVariant.mjs +0 -3
- package/examples/promotions-create.mjs +0 -3
- package/examples/promotions-createCode.mjs +0 -3
- package/examples/promotions-deleteCode.mjs +0 -3
- package/examples/promotions-get.mjs +0 -3
- package/examples/promotions-getCode.mjs +0 -3
- package/examples/promotions-list.mjs +0 -3
- package/examples/promotions-listCodes.mjs +0 -3
- package/examples/promotions-remove.mjs +0 -3
- package/examples/promotions-update.mjs +0 -3
- package/examples/promotions-updateCode.mjs +0 -3
- package/examples/refunds-create.mjs +0 -3
- package/examples/refunds-get.mjs +0 -3
- package/examples/refunds-list.mjs +0 -3
- package/examples/refunds-update.mjs +0 -3
- package/examples/reportDownloads-get.mjs +0 -3
- package/examples/reports-create.mjs +0 -3
- package/examples/reports-get.mjs +0 -3
- package/examples/reports-list.mjs +0 -3
- package/examples/returnDispositions-cancel.mjs +0 -3
- package/examples/returnDispositions-get.mjs +0 -3
- package/examples/returnDispositions-list.mjs +0 -3
- package/examples/returnDispositions-retry.mjs +0 -3
- package/examples/returnInspections-decideLineItem.mjs +0 -3
- package/examples/returnInspections-get.mjs +0 -3
- package/examples/returnInspections-list.mjs +0 -3
- package/examples/returnPolicies-create.mjs +0 -3
- package/examples/returnPolicies-get.mjs +0 -3
- package/examples/returnPolicies-getRevision.mjs +0 -3
- package/examples/returnPolicies-list.mjs +0 -3
- package/examples/returnPolicies-listRevisions.mjs +0 -3
- package/examples/returnPolicies-publishRevision.mjs +0 -3
- package/examples/returnPolicies-remove.mjs +0 -3
- package/examples/returnPolicies-update.mjs +0 -3
- package/examples/returnPreviews-create.mjs +0 -3
- package/examples/returnReasons-create.mjs +0 -3
- package/examples/returnReasons-get.mjs +0 -3
- package/examples/returnReasons-list.mjs +0 -3
- package/examples/returnReasons-remove.mjs +0 -3
- package/examples/returnReasons-update.mjs +0 -3
- package/examples/returnReceipts-get.mjs +0 -3
- package/examples/returnReceipts-list.mjs +0 -3
- package/examples/returnReceipts-verifyLineItem.mjs +0 -3
- package/examples/returnResolutions-cancel.mjs +0 -3
- package/examples/returnResolutions-confirm.mjs +0 -3
- package/examples/returnResolutions-get.mjs +0 -3
- package/examples/returnResolutions-getOrCreateCheckoutSession.mjs +0 -3
- package/examples/returnResolutions-list.mjs +0 -3
- package/examples/returnResolutions-release.mjs +0 -3
- package/examples/returnResolutions-retry.mjs +0 -3
- package/examples/returnResolutions-update.mjs +0 -3
- package/examples/returns-addLineItem.mjs +0 -3
- package/examples/returns-cancel.mjs +0 -3
- package/examples/returns-cancelLineItem.mjs +0 -3
- package/examples/returns-complete.mjs +0 -3
- package/examples/returns-create.mjs +0 -3
- package/examples/returns-createAccessLink.mjs +0 -3
- package/examples/returns-createDisposition.mjs +0 -3
- package/examples/returns-createInspection.mjs +0 -3
- package/examples/returns-createReceipt.mjs +0 -3
- package/examples/returns-createResolution.mjs +0 -3
- package/examples/returns-decide.mjs +0 -3
- package/examples/returns-deleteLineItem.mjs +0 -3
- package/examples/returns-get.mjs +0 -3
- package/examples/returns-getLineItem.mjs +0 -3
- package/examples/returns-list.mjs +0 -3
- package/examples/returns-listActivities.mjs +0 -3
- package/examples/returns-listLineItems.mjs +0 -3
- package/examples/returns-processExisting.mjs +0 -3
- package/examples/returns-reopen.mjs +0 -3
- package/examples/returns-update.mjs +0 -3
- package/examples/returns-updateLineItem.mjs +0 -3
- package/examples/returns-waiveLineInspection.mjs +0 -3
- package/examples/reviews-approve.mjs +0 -3
- package/examples/reviews-decline.mjs +0 -3
- package/examples/reviews-get.mjs +0 -3
- package/examples/reviews-list.mjs +0 -3
- package/examples/riskLists-addItems.mjs +0 -3
- package/examples/riskLists-create.mjs +0 -3
- package/examples/riskLists-deleteItem.mjs +0 -3
- package/examples/riskLists-get.mjs +0 -3
- package/examples/riskLists-getItem.mjs +0 -3
- package/examples/riskLists-list.mjs +0 -3
- package/examples/riskLists-listRiskListItems.mjs +0 -3
- package/examples/riskLists-remove.mjs +0 -3
- package/examples/riskLists-update.mjs +0 -3
- package/examples/riskPreviews-create.mjs +0 -3
- package/examples/riskRules-create.mjs +0 -3
- package/examples/riskRules-get.mjs +0 -3
- package/examples/riskRules-getAttributeRegistry.mjs +0 -3
- package/examples/riskRules-list.mjs +0 -3
- package/examples/riskRules-remove.mjs +0 -3
- package/examples/riskRules-update.mjs +0 -3
- package/examples/settings-get.mjs +0 -3
- package/examples/settings-getEffective.mjs +0 -3
- package/examples/settings-update.mjs +0 -3
- package/examples/settings-validateCustomDomain.mjs +0 -3
- package/examples/shipments-createPackage.mjs +0 -3
- package/examples/shipments-get.mjs +0 -3
- package/examples/shipments-list.mjs +0 -3
- package/examples/shipments-update.mjs +0 -3
- package/examples/shipments-voidResource.mjs +0 -3
- package/examples/subscriptionDeliveryMigrations-create.mjs +0 -3
- package/examples/subscriptionDeliveryMigrations-get.mjs +0 -3
- package/examples/subscriptionDeliveryMigrations-list.mjs +0 -3
- package/examples/subscriptionDeliveryMigrations-listFailures.mjs +0 -3
- package/examples/subscriptionOffers-create.mjs +0 -3
- package/examples/subscriptionOffers-get.mjs +0 -3
- package/examples/subscriptionOffers-list.mjs +0 -3
- package/examples/subscriptionOffers-remove.mjs +0 -3
- package/examples/subscriptionOffers-update.mjs +0 -3
- package/examples/subscriptionPlans-create.mjs +0 -3
- package/examples/subscriptionPlans-get.mjs +0 -3
- package/examples/subscriptionPlans-list.mjs +0 -3
- package/examples/subscriptionPlans-remove.mjs +0 -3
- package/examples/subscriptionPlans-update.mjs +0 -3
- package/examples/subscriptionPreviews-create.mjs +0 -3
- package/examples/subscriptions-cancel.mjs +0 -3
- package/examples/subscriptions-changePaymentMethod.mjs +0 -3
- package/examples/subscriptions-changePlan.mjs +0 -3
- package/examples/subscriptions-create.mjs +0 -3
- package/examples/subscriptions-createAccessLink.mjs +0 -3
- package/examples/subscriptions-createLineItem.mjs +0 -3
- package/examples/subscriptions-createPaymentRetry.mjs +0 -3
- package/examples/subscriptions-deleteLineItem.mjs +0 -3
- package/examples/subscriptions-get.mjs +0 -3
- package/examples/subscriptions-getPaymentRetry.mjs +0 -3
- package/examples/subscriptions-list.mjs +0 -3
- package/examples/subscriptions-listPaymentRetries.mjs +0 -3
- package/examples/subscriptions-pause.mjs +0 -3
- package/examples/subscriptions-reactivate.mjs +0 -3
- package/examples/subscriptions-renew.mjs +0 -3
- package/examples/subscriptions-resume.mjs +0 -3
- package/examples/subscriptions-skipCycle.mjs +0 -3
- package/examples/subscriptions-update.mjs +0 -3
- package/examples/subscriptions-updateBillingSchedule.mjs +0 -3
- package/examples/subscriptions-updateLineItem.mjs +0 -3
- package/examples/webhookDeliveries-create.mjs +0 -3
- package/examples/webhookDeliveries-get.mjs +0 -3
- package/examples/webhookDeliveries-listAttempts.mjs +0 -3
- package/examples/webhookDeliveries-resend.mjs +0 -3
- package/examples/webhookEndpoints-create.mjs +0 -3
- package/examples/webhookEndpoints-createWebhookTestEvent.mjs +0 -3
- package/examples/webhookEndpoints-get.mjs +0 -3
- package/examples/webhookEndpoints-list.mjs +0 -3
- package/examples/webhookEndpoints-remove.mjs +0 -3
- package/examples/webhookEndpoints-rotateWebhookSecret.mjs +0 -3
- package/examples/webhookEndpoints-update.mjs +0 -3
- package/examples/webhookEventTypes-list.mjs +0 -3
- package/examples/webhookEvents-get.mjs +0 -3
- package/examples/webhookEvents-list.mjs +0 -3
- package/examples/webhookEvents-listWebhookDeliveries.mjs +0 -3
- package/examples/webhookEvents-stream.mjs +0 -3
- package/examples/workloadIdentities-create.mjs +0 -3
- package/examples/workloadIdentities-get.mjs +0 -3
- package/examples/workloadIdentities-list.mjs +0 -3
- package/examples/workloadIdentities-remove.mjs +0 -3
- package/examples/workloadIdentities-update.mjs +0 -3
- package/guides/default-credentials.md +40 -0
- package/guides/pagination-and-retries.md +1 -1
- package/index.d.ts +146 -142
- package/index.js +5 -2
- package/models/AddLineItemsRequest.js +8 -8
- package/models/AddOrderChargeRequest.js +7 -7
- package/models/AddReturnLineItemRequest.js +3 -3
- package/models/AddRiskListItemsRequest.js +2 -2
- package/models/AddressRequest.js +2 -2
- package/models/AdjustGiftCardBalanceRequest.js +3 -3
- package/models/ApplyDiscountRequest.js +4 -4
- package/models/ApplyOrderGiftCardRequest.js +2 -2
- package/models/AssessInvoiceLateFeeRequest.js +2 -2
- package/models/AssignToUnconfiguredDeliveryProfileRequest.js +2 -2
- package/models/BrandingSettingsRequest.js +2 -2
- package/models/BuyerCapabilities.js +2 -2
- package/models/BuyerCreateReturnPreviewRequest.js +7 -7
- package/models/BuyerCreateReturnRequest.js +3 -3
- package/models/BuyerCreateReturnResolutionPreviewRequest.js +6 -6
- package/models/BuyerInstructionsConfig.js +2 -2
- package/models/BuyerPauseCapability.js +2 -2
- package/models/BuyerRetentionOffer.js +2 -2
- package/models/BuyerReturnReplacementLineItemInputBundle.js +3 -3
- package/models/BuyerReturnReplacementLineItemInputVariant.js +3 -3
- package/models/BuyerReturnReplacementLineItemRequest.js +4 -4
- package/models/BuyerSkipCapability.js +2 -2
- package/models/CallerSuppliedDeliveryMethodResultRequest.js +4 -4
- package/models/CallerSuppliedDeliveryOutcomeRequest.js +4 -4
- package/models/CallerSuppliedDeliveryOutcomeRequestAvailable.js +4 -4
- package/models/CallerSuppliedDeliveryOutcomeRequestCannotCalculate.js +4 -4
- package/models/CallerSuppliedDeliveryOutcomeRequestUnavailable.js +4 -4
- package/models/CancelGiftCardNotificationRequest.js +2 -2
- package/models/CancelOrderPaymentAttemptRequest.js +2 -2
- package/models/CancelPaymentIntentRequest.js +2 -2
- package/models/CancelPayoutRequest.js +2 -2
- package/models/CancelReturnDispositionRequest.js +2 -2
- package/models/CancelReturnLineItemRequest.js +2 -2
- package/models/CancelReturnRequest.js +2 -2
- package/models/CancelReturnResolutionRequest.js +2 -2
- package/models/CancelSubscriptionRequest.js +2 -2
- package/models/CapturePaymentIntentRequest.js +3 -3
- package/models/CashOutGiftCardRequest.js +3 -3
- package/models/ChangeMeSubscriptionBillingIntervalRequest.js +2 -2
- package/models/ChangeMeSubscriptionDeliveryRequest.js +5 -5
- package/models/ChangeMeSubscriptionQuantityRequest.js +2 -2
- package/models/ChangeSubscriptionPaymentMethodRequest.js +2 -2
- package/models/ChangeSubscriptionPlanRequest.js +3 -3
- package/models/CheckoutBuyerContactRequest.js +2 -2
- package/models/CheckoutBuyerFields.js +2 -2
- package/models/CheckoutCustomTextWriteConfig.js +2 -2
- package/models/CheckoutLegalConfigRequest.js +2 -2
- package/models/CheckoutPaymentConfigRequest.js +2 -2
- package/models/CheckoutPrefillRequest.js +3 -3
- package/models/CheckoutPromotionConfig.js +2 -2
- package/models/CheckoutQuickPayItemRequest.js +4 -4
- package/models/CheckoutRecoveryEmailSettings.js +2 -2
- package/models/CheckoutRedirectsRequest.js +2 -2
- package/models/CheckoutSavedPaymentDetailsSettings.js +2 -2
- package/models/CheckoutSettings.js +2 -2
- package/models/CheckoutSubscriptionTermsRequest.js +3 -3
- package/models/CheckoutTaxConfig.js +2 -2
- package/models/CheckoutTipConfig.js +3 -3
- package/models/CloseCheckoutSessionRequest.js +2 -2
- package/models/CloseOrderRequest.js +2 -2
- package/models/CollectInvoiceRequest.js +2 -2
- package/models/CompleteReturnRequest.js +2 -2
- package/models/ConfigurationVersionRequest.js +2 -2
- package/models/ConfirmCheckoutSessionCustomerVerificationRequest.js +2 -2
- package/models/ConfirmCustomerVerificationRequest.js +2 -2
- package/models/ConfirmEmailChangeRequest.js +2 -2
- package/models/ConfirmPaymentIntentRequest.js +3 -3
- package/models/ConfirmReturnResolutionRequest.js +2 -2
- package/models/CreateAPIKeyRequest.js +4 -4
- package/models/CreateBundleComponentRequest.js +2 -2
- package/models/CreateBundleRequest.js +5 -5
- package/models/CreateCategoryRequest.js +2 -2
- package/models/CreateCheckoutDeliveryQuoteRequest.js +8 -8
- package/models/CreateCheckoutSessionConfirmSavedPaymentMethodVerificationRequest.js +2 -2
- package/models/CreateCheckoutSessionCustomerVerificationRequest.js +3 -3
- package/models/CreateCheckoutSessionGiftCardPurchaseVerificationRequest.js +2 -2
- package/models/CreateCheckoutSessionRequest.js +12 -12
- package/models/CreateCheckoutSessionSavePaymentMethodVerificationRequest.js +2 -2
- package/models/CreateCheckoutSessionUseSavedPaymentMethodsVerificationRequest.js +2 -2
- package/models/CreateCreditNoteAllocationRequest.js +3 -3
- package/models/CreateCreditNoteRefundRequest.js +3 -3
- package/models/CreateCreditNoteRequest.js +5 -5
- package/models/CreateCustomDomainRequest.js +2 -2
- package/models/CreateCustomerAddressRequest.js +3 -3
- package/models/CreateCustomerDeletionRequest.js +2 -2
- package/models/CreateCustomerRequest.js +5 -5
- package/models/CreateCustomerSessionRequest.js +2 -2
- package/models/CreateCustomerVerificationRequest.js +2 -2
- package/models/CreateDeliveryFulfillmentDetails.js +2 -2
- package/models/CreateDeliveryLocationSetRequest.js +3 -3
- package/models/CreateDeliveryMethodRequest.js +12 -12
- package/models/CreateDeliveryMethodRequestLocalDelivery.js +12 -12
- package/models/CreateDeliveryMethodRequestPickup.js +12 -12
- package/models/CreateDeliveryMethodRequestShipment.js +12 -12
- package/models/CreateDeliveryOptionsPreviewRequest.js +10 -10
- package/models/CreateDeliveryPickupLocationsPreviewRequest.js +6 -6
- package/models/CreateDeliveryPreviewRequest.js +10 -10
- package/models/CreateDeliveryProfileRequest.js +3 -3
- package/models/CreateDeliveryRateCallbackRequest.js +3 -3
- package/models/CreateDeliverySelectionChoiceRequest.js +3 -3
- package/models/CreateDeliverySelectionRequest.js +6 -6
- package/models/CreateDeliveryZoneRequest.js +4 -4
- package/models/CreateDemoSessionRequest.js +2 -2
- package/models/CreateDeviceRequest.js +2 -2
- package/models/CreateDigitalFulfillmentDetails.js +2 -2
- package/models/CreateEmailChangeRequest.js +2 -2
- package/models/CreateFeedbackReportNarrative.js +3 -3
- package/models/CreateFeedbackReportRating.js +3 -3
- package/models/CreateFeedbackReportRequest.js +3 -3
- package/models/CreateFileRequest.js +2 -2
- package/models/CreateFulfillmentEventRequest.js +2 -2
- package/models/CreateFulfillmentRequest.js +10 -10
- package/models/CreateFulfillmentRequestDigital.js +9 -9
- package/models/CreateFulfillmentRequestLocalDelivery.js +9 -9
- package/models/CreateFulfillmentRequestPickup.js +9 -9
- package/models/CreateFulfillmentRequestService.js +9 -9
- package/models/CreateFulfillmentRequestShipment.js +9 -9
- package/models/CreateGiftCardFundingDispositionRequest.js +2 -2
- package/models/CreateGiftCardLoadRequest.js +7 -7
- package/models/CreateGiftCardNotificationRequest.js +3 -3
- package/models/CreateGiftCardRedemptionRequest.js +5 -5
- package/models/CreateGiftCardRedemptionRequestAutomatic.js +5 -5
- package/models/CreateGiftCardRedemptionRequestManual.js +4 -4
- package/models/CreateGiftCardRequest.js +8 -8
- package/models/CreateInlineModifierGroupRequest.js +3 -3
- package/models/CreateInventoryAdjustmentConditionChangeRequest.js +5 -5
- package/models/CreateInventoryAdjustmentCorrectionRequest.js +4 -4
- package/models/CreateInventoryAdjustmentCountedRequest.js +4 -4
- package/models/CreateInventoryAdjustmentQuantityRequest.js +4 -4
- package/models/CreateInventoryAdjustmentRequest.js +5 -5
- package/models/CreateInventoryAllocationPolicyRequest.js +3 -3
- package/models/CreateInventoryCountRequest.js +2 -2
- package/models/CreateInventoryItemRequest.js +2 -2
- package/models/CreateInventoryReceiptRequest.js +4 -4
- package/models/CreateInventoryReservationRequest.js +4 -4
- package/models/CreateInventoryTransferRequest.js +3 -3
- package/models/CreateInvoiceIssueRequest.js +2 -2
- package/models/CreateInvoiceManualPaymentRequest.js +3 -3
- package/models/CreateInvoicePaymentTermRequest.js +5 -5
- package/models/CreateInvoiceQuickPayRequest.js +12 -12
- package/models/CreateInvoiceRequest.js +17 -17
- package/models/CreateLocationRequest.js +3 -3
- package/models/CreateMeSubscriptionPreviewRequest.js +5 -5
- package/models/CreateModifierGroupRequest.js +4 -4
- package/models/CreateModifierRequest.js +3 -3
- package/models/CreateModifierSetGroupInputExisting.js +5 -5
- package/models/CreateModifierSetGroupInputInline.js +5 -5
- package/models/CreateModifierSetGroupRequest.js +5 -5
- package/models/CreateModifierSetRequest.js +6 -6
- package/models/CreateOrderDiscount.js +3 -3
- package/models/CreateOrderLineItemRequest.js +7 -7
- package/models/CreateOrderPaymentIntentRequest.js +4 -4
- package/models/CreateOrderRequest.js +12 -12
- package/models/CreateOrderTip.js +5 -5
- package/models/CreateOrganizationRequest.js +2 -2
- package/models/CreatePackageItemRequest.js +2 -2
- package/models/CreatePartnerAppRequest.js +3 -3
- package/models/CreatePaymentIntentRequest.js +4 -4
- package/models/CreatePaymentLinkRequest.js +13 -13
- package/models/CreatePaymentMethodDomainRequest.js +2 -2
- package/models/CreatePayoutRequest.js +3 -3
- package/models/CreatePickupFulfillmentDetails.js +3 -3
- package/models/CreateProductOptionRequest.js +2 -2
- package/models/CreateProductOptionValueRequest.js +2 -2
- package/models/CreateProductRequest.js +11 -11
- package/models/CreatePromotionCodeRequest.js +2 -2
- package/models/CreatePromotionRequest.js +7 -7
- package/models/CreateRefundRequest.js +6 -6
- package/models/CreateRefundRequestAmount.js +6 -6
- package/models/CreateRefundRequestFull.js +4 -4
- package/models/CreateRefundRequestTargets.js +5 -5
- package/models/CreateReportRequest.js +2 -2
- package/models/CreateReturnDispositionRequest.js +2 -2
- package/models/CreateReturnEligibilityPreviewRequest.js +3 -3
- package/models/CreateReturnInspectionRequest.js +5 -5
- package/models/CreateReturnPolicyRequest.js +5 -5
- package/models/CreateReturnPreviewRequest.js +9 -9
- package/models/CreateReturnPreviewRequestEligibility.js +9 -9
- package/models/CreateReturnPreviewRequestResolution.js +9 -9
- package/models/CreateReturnReasonRequest.js +2 -2
- package/models/CreateReturnReceiptRequest.js +7 -7
- package/models/CreateReturnRequest.js +3 -3
- package/models/CreateReturnResolutionPreviewRequest.js +7 -7
- package/models/CreateReturnResolutionPreviewRequestCorrection.js +7 -7
- package/models/CreateReturnResolutionPreviewRequestStandard.js +7 -7
- package/models/CreateReturnResolutionRequest.js +8 -8
- package/models/CreateReturnResolutionRequestCorrection.js +8 -8
- package/models/CreateReturnResolutionRequestStandard.js +8 -8
- package/models/CreateRiskListRequest.js +2 -2
- package/models/CreateRiskPreviewRequest.js +5 -5
- package/models/CreateRiskRuleRequest.js +5 -5
- package/models/CreateSandboxRequest.js +5 -5
- package/models/CreateServiceFulfillmentDetails.js +2 -2
- package/models/CreateShipmentRequest.js +5 -5
- package/models/CreateSubscriptionAccessLinkRequest.js +2 -2
- package/models/CreateSubscriptionDeliveryMigrationRequest.js +2 -2
- package/models/CreateSubscriptionLineItemRequest.js +4 -4
- package/models/CreateSubscriptionLineItemRequestBundle.js +2 -2
- package/models/CreateSubscriptionLineItemRequestVariant.js +2 -2
- package/models/CreateSubscriptionOfferRequest.js +3 -3
- package/models/CreateSubscriptionPlanRequest.js +11 -11
- package/models/CreateSubscriptionPreviewRequest.js +16 -16
- package/models/CreateSubscriptionPreviewRequestCreate.js +9 -9
- package/models/CreateSubscriptionPreviewRequestDeliveryMethodUpdate.js +10 -10
- package/models/CreateSubscriptionPreviewRequestDeliveryOptions.js +4 -4
- package/models/CreateSubscriptionPreviewRequestNextRenewal.js +2 -2
- package/models/CreateSubscriptionPreviewRequestPlanChange.js +3 -3
- package/models/CreateSubscriptionRequest.js +8 -8
- package/models/CreateWebhookDeliveryRequest.js +2 -2
- package/models/CreateWebhookEndpointRequest.js +3 -3
- package/models/CreateWebhookTestEventRequest.js +3 -3
- package/models/CreateWorkloadIdentityRequest.js +4 -4
- package/models/CreditNoteCorrectionRequest.js +3 -3
- package/models/CreditNoteCorrectionRequestAmount.js +4 -4
- package/models/CreditNoteCorrectionRequestQuantity.js +4 -4
- package/models/CreditNoteIssueAllocationRequest.js +3 -3
- package/models/CreditNoteLineItemRequest.js +4 -4
- package/models/CreditNoteRefundRequest.js +3 -3
- package/models/CustomerAccountPresentation.js +2 -2
- package/models/CustomerAccountRouteTemplates.js +2 -2
- package/models/CustomerAccountSettings.js +2 -2
- package/models/CustomerEmailDeliverySettings.js +2 -2
- package/models/DecideReturnInspectionLineItemRequest.js +2 -2
- package/models/DecideReturnRequest.js +4 -4
- package/models/DeclinePaymentReviewRequest.js +2 -2
- package/models/DeliveryAddressRequest.js +2 -2
- package/models/DeliveryAvailability.js +3 -3
- package/models/DeliveryBlackoutInterval.js +2 -2
- package/models/DeliveryBusinessDayRange.js +2 -2
- package/models/DeliveryBuyerLocationInputAddress.js +4 -4
- package/models/DeliveryBuyerLocationInputCoordinate.js +4 -4
- package/models/DeliveryBuyerLocationRequest.js +4 -4
- package/models/DeliveryCalculatedPricingStrategyRequest.js +4 -4
- package/models/DeliveryCallbackPricingStrategyRequest.js +3 -3
- package/models/DeliveryCallerSuppliedPricingStrategyRequest.js +3 -3
- package/models/DeliveryCoordinateRequest.js +2 -2
- package/models/DeliveryCountryCondition.js +2 -2
- package/models/DeliveryCustomerBooleanCondition.js +2 -2
- package/models/DeliveryCustomerSegmentCondition.js +2 -2
- package/models/DeliveryDistance.js +2 -2
- package/models/DeliveryDistanceUnitPriceRequest.js +3 -3
- package/models/DeliveryEligibilityExpression.js +4 -4
- package/models/DeliveryEstimateRuleRequest.js +4 -4
- package/models/DeliveryFixedPricingStrategyRequest.js +3 -3
- package/models/DeliveryInventoryAssignmentRequest.js +2 -2
- package/models/DeliveryLocationSetConfiguration.js +2 -2
- package/models/DeliveryMethodConfigurationCreateRequest.js +11 -11
- package/models/DeliveryMethodConfigurationPatchRequest.js +7 -7
- package/models/DeliveryMethodConfigurationRequest.js +10 -10
- package/models/DeliveryMethodOriginSelectorInputAllocatedOriginGroup.js +3 -3
- package/models/DeliveryMethodOriginSelectorInputFixedLocation.js +3 -3
- package/models/DeliveryMethodOriginSelectorInputPickupLocationCollection.js +3 -3
- package/models/DeliveryMethodOriginSelectorRequest.js +3 -3
- package/models/DeliveryPickupAvailabilityMaximumDistanceRequest.js +2 -2
- package/models/DeliveryPostalCodeCondition.js +2 -2
- package/models/DeliveryPostalCodeValue.js +2 -2
- package/models/DeliveryPreviewRoutingSource.js +2 -2
- package/models/DeliveryPricingRateCreateRequest.js +6 -6
- package/models/DeliveryPricingRateRequest.js +5 -5
- package/models/DeliveryPricingStrategyCreateInputCalculated.js +8 -8
- package/models/DeliveryPricingStrategyCreateInputCallback.js +8 -8
- package/models/DeliveryPricingStrategyCreateInputCallerSupplied.js +8 -8
- package/models/DeliveryPricingStrategyCreateInputFixed.js +8 -8
- package/models/DeliveryPricingStrategyCreateInputRateTable.js +8 -8
- package/models/DeliveryPricingStrategyCreateInputTiered.js +8 -8
- package/models/DeliveryPricingStrategyCreateRequest.js +9 -9
- package/models/DeliveryPricingStrategyInputCalculated.js +7 -7
- package/models/DeliveryPricingStrategyInputCallback.js +7 -7
- package/models/DeliveryPricingStrategyInputCallerSupplied.js +7 -7
- package/models/DeliveryPricingStrategyInputFixed.js +7 -7
- package/models/DeliveryPricingStrategyInputRateTable.js +7 -7
- package/models/DeliveryPricingStrategyInputTiered.js +7 -7
- package/models/DeliveryPricingStrategyRequest.js +6 -6
- package/models/DeliveryPricingTierBandRequest.js +3 -3
- package/models/DeliveryProfileConfigurationRequest.js +2 -2
- package/models/DeliveryProfileOriginPolicyInputFixedLocation.js +2 -2
- package/models/DeliveryProfileOriginPolicyInputInventoryRouting.js +3 -3
- package/models/DeliveryProfileOriginPolicyInputMethodOrigin.js +3 -3
- package/models/DeliveryProfileOriginPolicyRequest.js +2 -2
- package/models/DeliveryRadiusCondition.js +2 -2
- package/models/DeliveryRadiusOrigin.js +2 -2
- package/models/DeliveryRateCallbackConfiguration.js +2 -2
- package/models/DeliveryRateCallbackConfigurationPatchRequest.js +2 -2
- package/models/DeliveryRateTablePricingStrategyCreateRequest.js +6 -6
- package/models/DeliveryRateTablePricingStrategyRequest.js +5 -5
- package/models/DeliveryRecipientRequirement.js +2 -2
- package/models/DeliveryScheduleWindowRuleRequest.js +3 -3
- package/models/DeliverySelectionInstructionsRequest.js +2 -2
- package/models/DeliverySelectionRecipientRequest.js +2 -2
- package/models/DeliveryStateCondition.js +2 -2
- package/models/DeliveryTieredPricingStrategyInputQuantityOrMoney.js +5 -5
- package/models/DeliveryTieredPricingStrategyInputWeight.js +4 -4
- package/models/DeliveryTieredPricingStrategyRequest.js +4 -4
- package/models/DeliveryTransitTimeRule.js +3 -3
- package/models/DeliveryWeeklyInterval.js +2 -2
- package/models/DeliveryWeightUnitPriceRequest.js +3 -3
- package/models/DeliveryWindowRequest.js +3 -3
- package/models/DeliveryWindowTimeCondition.js +2 -2
- package/models/DeliveryZoneCondition.js +2 -2
- package/models/DeliveryZoneConfiguration.js +3 -3
- package/models/DeveloperInitialAPIKeyRequest.js +2 -2
- package/models/Dimensions.js +2 -2
- package/models/DiscountPreviewRequest.js +4 -4
- package/models/DocumentTaxID.js +2 -2
- package/models/EmailPreferenceLinkRequest.js +2 -2
- package/models/FeedbackReportingClient.js +2 -2
- package/models/FulfillmentLineItemRequest.js +2 -2
- package/models/FulfillmentPackagingRequest.js +7 -7
- package/models/FulfillmentRecipientRequest.js +3 -3
- package/models/FulfillmentSettings.js +2 -2
- package/models/FulfillmentTransitionRequest.js +4 -4
- package/models/FulfillmentTransitionRequestAccept.js +2 -2
- package/models/FulfillmentTransitionRequestCancel.js +2 -2
- package/models/FulfillmentTransitionRequestComplete.js +2 -2
- package/models/FulfillmentTransitionRequestDispatch.js +2 -2
- package/models/FulfillmentTransitionRequestFail.js +2 -2
- package/models/FulfillmentTransitionRequestHold.js +2 -2
- package/models/FulfillmentTransitionRequestMarkNoShow.js +2 -2
- package/models/FulfillmentTransitionRequestMarkPacked.js +3 -3
- package/models/FulfillmentTransitionRequestMarkPicked.js +2 -2
- package/models/FulfillmentTransitionRequestMarkPreparing.js +2 -2
- package/models/FulfillmentTransitionRequestMarkReady.js +2 -2
- package/models/FulfillmentTransitionRequestReleaseHold.js +2 -2
- package/models/FulfillmentTransitionRequestSchedule.js +2 -2
- package/models/FulfillmentTransitionRequestStart.js +2 -2
- package/models/GetOrCreateReturnResolutionCheckoutSessionRequest.js +3 -3
- package/models/GiftCardCustomAmountBounds.js +3 -3
- package/models/GiftCardFundingSource.js +4 -4
- package/models/GiftCardFundingSourceAdjustment.js +2 -2
- package/models/GiftCardFundingSourceExternalPayment.js +3 -3
- package/models/GiftCardFundingSourceFlintManualPayment.js +3 -3
- package/models/GiftCardFundingSourceFlintPayment.js +3 -3
- package/models/GiftCardFundingSourceGiftCardPurchaseRefundRecovery.js +3 -3
- package/models/GiftCardFundingSourceGiftCardRefund.js +3 -3
- package/models/GiftCardFundingSourceImport.js +4 -4
- package/models/GiftCardFundingSourceStoreCredit.js +3 -3
- package/models/GiftCardNotificationRecipient.js +3 -3
- package/models/GiftCardProductConfiguration.js +3 -3
- package/models/GiftCardPurchaseDetailsRequest.js +3 -3
- package/models/GiftCardPurchaseRecipientPatchRequest.js +2 -2
- package/models/GiftCardPurchaseRecipientRequest.js +2 -2
- package/models/GiftCardVersionRequest.js +2 -2
- package/models/GrantOrganizationMembershipRequest.js +2 -2
- package/models/ImageReferenceRequest.js +2 -2
- package/models/ImageRequest.js +2 -2
- package/models/InitialGiftCardFunding.js +7 -7
- package/models/InlineModifierGroupRequest.js +3 -3
- package/models/InventoryAdjustmentConditionChangeLineRequest.js +3 -3
- package/models/InventoryAdjustmentQuantityLineRequest.js +2 -2
- package/models/InventoryAdjustmentSetLineRequest.js +2 -2
- package/models/InventoryAllocationConfigurationValue.js +2 -2
- package/models/InventoryAllocationPolicyLocation.js +2 -2
- package/models/InventoryCountObservationRequest.js +2 -2
- package/models/InventoryCountTransitionRequest.js +3 -3
- package/models/InventoryCountTransitionRequestApply.js +2 -2
- package/models/InventoryCountTransitionRequestCancel.js +2 -2
- package/models/InventoryItemCreateRequest.js +2 -2
- package/models/InventoryOriginPolicy.js +2 -2
- package/models/InventoryProvenanceRequest.js +3 -3
- package/models/InventoryReceiptLineRequest.js +2 -2
- package/models/InventoryReservationOwnerRequest.js +2 -2
- package/models/InventoryReservationTransitionRequest.js +5 -5
- package/models/InventoryReservationTransitionRequestCommit.js +3 -3
- package/models/InventoryReservationTransitionRequestConsume.js +5 -5
- package/models/InventoryReservationTransitionRequestRelease.js +3 -3
- package/models/InventoryRoutingDemand.js +2 -2
- package/models/InventoryRoutingSourceInputFixedLocation.js +2 -2
- package/models/InventoryRoutingSourceInputPolicy.js +2 -2
- package/models/InventoryRoutingSourceInputPolicyRevision.js +2 -2
- package/models/InventoryRoutingSourceRequest.js +2 -2
- package/models/InventorySettings.js +2 -2
- package/models/InventorySourceSystemRequest.js +2 -2
- package/models/InventoryTransferLineRequest.js +2 -2
- package/models/InventoryTransferTransitionRequest.js +5 -5
- package/models/InventoryTransferTransitionRequestCancel.js +5 -5
- package/models/InventoryTransferTransitionRequestDepart.js +5 -5
- package/models/InventoryTransferTransitionRequestReceive.js +5 -5
- package/models/InventoryTransferTransitionRequestReportLoss.js +5 -5
- package/models/InventoryTransferTransitionRequestReturnToOrigin.js +5 -5
- package/models/InvoiceAutopayRetryPolicy.js +2 -2
- package/models/InvoiceCheckoutSessionRequest.js +3 -3
- package/models/InvoiceCollectionInputAutomatic.js +5 -5
- package/models/InvoiceCollectionInputBuyerInitiated.js +5 -5
- package/models/InvoiceCollectionInputExternal.js +5 -5
- package/models/InvoiceCollectionInputMerchantDefault.js +6 -6
- package/models/InvoiceCollectionRequest.js +6 -6
- package/models/InvoiceLateFeePolicy.js +4 -4
- package/models/InvoiceLateFeePolicyFixed.js +4 -4
- package/models/InvoiceLateFeePolicyPercentage.js +4 -4
- package/models/InvoicePaymentDueInputCustomerDefault.js +4 -4
- package/models/InvoicePaymentDueInputDate.js +3 -3
- package/models/InvoicePaymentDueInputMerchantDefault.js +4 -4
- package/models/InvoicePaymentDueInputNone.js +3 -3
- package/models/InvoicePaymentDueInputPaymentTerms.js +3 -3
- package/models/InvoicePaymentDueRequest.js +4 -4
- package/models/InvoicePaymentOptionLimit.js +3 -3
- package/models/InvoicePaymentPolicy.js +3 -3
- package/models/InvoicePaymentTermCalculation.js +3 -3
- package/models/InvoicePaymentTermCalculationDayOfMonth.js +3 -3
- package/models/InvoicePaymentTermCalculationDayOfNextMonth.js +3 -3
- package/models/InvoicePaymentTermCalculationDaysAfterMonthEnd.js +3 -3
- package/models/InvoicePaymentTermCalculationNetDays.js +3 -3
- package/models/InvoicePaymentTermCalculationOnReceipt.js +3 -3
- package/models/InvoiceReminderPolicy.js +2 -2
- package/models/InvoiceReminderRule.js +2 -2
- package/models/InvoiceScheduleAmountSpecification.js +4 -4
- package/models/InvoiceScheduleAmountSpecificationFixed.js +4 -4
- package/models/InvoiceScheduleAmountSpecificationPercentage.js +4 -4
- package/models/InvoiceScheduleAmountSpecificationRemainingBalance.js +4 -4
- package/models/InvoiceScheduleDueWrite.js +3 -3
- package/models/InvoiceScheduleDueWriteAtIssue.js +3 -3
- package/models/InvoiceScheduleDueWriteDate.js +2 -2
- package/models/InvoiceScheduleDueWriteInvoiceDueDate.js +3 -3
- package/models/InvoiceScheduleEntryWrite.js +8 -8
- package/models/InvoiceScheduleEntryWriteBalance.js +8 -8
- package/models/InvoiceScheduleEntryWriteDeposit.js +7 -7
- package/models/InvoiceScheduleEntryWriteInstallment.js +7 -7
- package/models/InvoiceSettingsPatch.js +7 -7
- package/models/IssueCreditNoteRequest.js +4 -4
- package/models/IssueInvoiceRequest.js +2 -2
- package/models/IssueSandboxAPIKeyRequest.js +4 -4
- package/models/LegalSettingsRequest.js +2 -2
- package/models/LineItemFulfillmentOriginRequest.js +2 -2
- package/models/LineItemFulfillmentRequest.js +2 -2
- package/models/LinkCustomerGuestPurchasesRequest.js +2 -2
- package/models/LocationAddressRequest.js +2 -2
- package/models/LocationCoordinate.js +2 -2
- package/models/LookupGiftCardRequest.js +2 -2
- package/models/ManualDiscountRequest.js +3 -3
- package/models/MerchantAccountSessionCreateRequest.js +3 -3
- package/models/MerchantAccountSessionRefreshRequest.js +2 -2
- package/models/ModifierOverride.js +3 -3
- package/models/ModifierRequest.js +3 -3
- package/models/ModifierSetGroupInputExisting.js +5 -5
- package/models/ModifierSetGroupInputInline.js +5 -5
- package/models/ModifierSetGroupRequest.js +5 -5
- package/models/MoneyValue.js +2 -2
- package/models/OnboardingAdvanceRequest.js +4 -4
- package/models/OnboardingProfileRequest.js +2 -2
- package/models/OnboardingStartRequest.js +2 -2
- package/models/OnboardingVerifyEmailRequest.js +2 -2
- package/models/OrderCalculatedChargeTax.js +4 -4
- package/models/OrderCalculatedLineItemTax.js +4 -4
- package/models/OrderChargeRequest.js +6 -6
- package/models/OrderChargeTaxAssignment.js +4 -4
- package/models/OrderDeliveryDestinationAddressRequest.js +2 -2
- package/models/OrderDeliveryDestinationRecipientRequest.js +2 -2
- package/models/OrderDeliveryDestinationRequest.js +2 -2
- package/models/OrderDraftLineItemInventoryDemandRequest.js +2 -2
- package/models/OrderDraftLineItemTaxCalculationRequest.js +3 -3
- package/models/OrderDraftLineItemTaxRequest.js +3 -3
- package/models/OrderDraftTaxComponentRequest.js +3 -3
- package/models/OrderDraftTaxJurisdictionRequest.js +2 -2
- package/models/OrderGiftCardAllocationAcceptance.js +3 -3
- package/models/OrderInventoryRoutingSourceRequest.js +2 -2
- package/models/OrderLineItemModifierRequest.js +3 -3
- package/models/OrderLineItemTax.js +2 -2
- package/models/OrderLineItemTaxAssignment.js +4 -4
- package/models/OrderPaymentIntentSelection.js +3 -3
- package/models/OrderPaymentSourceCardSelection.js +2 -2
- package/models/OrderPaymentSourceSelection.js +2 -2
- package/models/OrderTaxCalculationInputAutomatic.js +2 -2
- package/models/OrderTaxCalculationInputExternal.js +5 -5
- package/models/OrderTaxCalculationRequest.js +5 -5
- package/models/OrderTaxComponentRequest.js +4 -4
- package/models/OrderTaxJurisdictionRequest.js +2 -2
- package/models/OrderTaxLocationFullAddressRequest.js +2 -2
- package/models/OrderTaxLocationInputFullAddress.js +2 -2
- package/models/OrderTaxLocationInputInferredFullAddress.js +2 -2
- package/models/OrderTaxLocationInputInferredPostalCode.js +3 -3
- package/models/OrderTaxLocationInputPostalCode.js +3 -3
- package/models/OrderTaxLocationPostalAddressRequest.js +2 -2
- package/models/OrderTaxLocationRequest.js +3 -3
- package/models/OrderTaxRequest.js +5 -5
- package/models/OrderTaxUpdateRequest.js +9 -9
- package/models/PackageCreateInputCreated.js +7 -7
- package/models/PackageCreateInputShipped.js +7 -7
- package/models/PackageCreateRequest.js +7 -7
- package/models/PackageTransitionRequest.js +5 -5
- package/models/PackageTransitionRequestMarkDelivered.js +2 -2
- package/models/PackageTransitionRequestMarkDeliveryAttempted.js +2 -2
- package/models/PackageTransitionRequestMarkException.js +2 -2
- package/models/PackageTransitionRequestMarkInTransit.js +2 -2
- package/models/PackageTransitionRequestMarkOutForDelivery.js +2 -2
- package/models/PackageTransitionRequestMarkPacked.js +2 -2
- package/models/PackageTransitionRequestMarkReturned.js +2 -2
- package/models/PackageTransitionRequestMarkShipped.js +2 -2
- package/models/PartnerAppPermissionManifestEntry.js +2 -2
- package/models/PauseSubscriptionRequest.js +2 -2
- package/models/PayOrderRequest.js +7 -7
- package/models/PayOrderRequestConfirmPaymentIntents.js +7 -7
- package/models/PayOrderRequestPay.js +7 -7
- package/models/PayOrderRequestResume.js +5 -5
- package/models/PayOrderRequestSetup.js +5 -5
- package/models/PaymentLimitSettingsPatch.js +2 -2
- package/models/PaymentLinkCustomFieldPatchRequest.js +2 -2
- package/models/PaymentLinkCustomFieldRequest.js +2 -2
- package/models/PaymentLinkCustomTextConfig.js +2 -2
- package/models/PaymentLinkCustomTextPatchRequest.js +2 -2
- package/models/PaymentLinkEventConfigPatchRequest.js +2 -2
- package/models/PaymentLinkEventConfigRequest.js +2 -2
- package/models/PaymentLinkLegalConfig.js +2 -2
- package/models/PaymentLinkLegalPatchRequest.js +2 -2
- package/models/PaymentLinkLineItemPatchRequest.js +6 -6
- package/models/PaymentLinkLineItemRequest.js +6 -6
- package/models/PaymentLinkPaymentConfig.js +2 -2
- package/models/PaymentLinkPaymentPatchRequest.js +2 -2
- package/models/PaymentLinkRedirectsPatchRequest.js +2 -2
- package/models/PaymentLinkThemeConfig.js +2 -2
- package/models/PaymentLinkThemePatchRequest.js +2 -2
- package/models/PaymentSourceCredential.js +2 -2
- package/models/PostalAddress.js +2 -2
- package/models/ProcessExistingReturnLineItemRequest.js +9 -9
- package/models/ProcessExistingReturnRequest.js +12 -12
- package/models/ProductVariantRequest.js +8 -8
- package/models/ProductVariantSelectedOptionRequest.js +2 -2
- package/models/PromotionAmountOffMethodRequest.js +7 -7
- package/models/PromotionApplicationMethodPatch.js +6 -6
- package/models/PromotionApplicationMethodRequest.js +6 -6
- package/models/PromotionBuyXGetYMethodRequest.js +7 -7
- package/models/PromotionCombinesWithPatch.js +2 -2
- package/models/PromotionCombinesWithRequest.js +2 -2
- package/models/PromotionExclusivityPatch.js +2 -2
- package/models/PromotionExclusivityRequest.js +2 -2
- package/models/PromotionPercentOffMethodRequest.js +7 -7
- package/models/PromotionRecurrence.js +2 -2
- package/models/PromotionRecurrenceForever.js +3 -3
- package/models/PromotionRecurrenceOnce.js +3 -3
- package/models/PromotionRecurrenceRepeating.js +2 -2
- package/models/PromotionRefRequest.js +2 -2
- package/models/PromotionRuleGroupRequest.js +5 -5
- package/models/PromotionRuleRequest.js +3 -3
- package/models/PromotionRuleValueRequest.js +3 -3
- package/models/PromotionSchedule.js +2 -2
- package/models/PromotionSchedulePatch.js +2 -2
- package/models/PromotionSettings.js +2 -2
- package/models/PublishReturnPolicyRevisionRequest.js +5 -5
- package/models/ReceiptSettingsRequest.js +2 -2
- package/models/RefreshCustomerSessionRequest.js +2 -2
- package/models/RefundAdjustmentAudit.js +2 -2
- package/models/RefundAdjustmentReasonRequest.js +2 -2
- package/models/RefundCharge.js +3 -3
- package/models/RefundDestinations.js +2 -2
- package/models/RefundLineItem.js +3 -3
- package/models/RefundLineItemAdjustmentIn.js +3 -3
- package/models/RefundLineItemAdjustmentRefundIn.js +3 -3
- package/models/RefundTaxBreakdownRefundIn.js +3 -3
- package/models/RefundTenderAllocationInputGiftCardRedemption.js +5 -5
- package/models/RefundTenderAllocationInputPaymentIntent.js +5 -5
- package/models/RefundTenderAllocationRequest.js +4 -4
- package/models/ReleaseReturnResolutionRequest.js +2 -2
- package/models/RemoveDiscountsRequest.js +2 -2
- package/models/RenewSubscriptionRequest.js +2 -2
- package/models/ReopenReturnRequest.js +2 -2
- package/models/RepriceDiscountsRequest.js +2 -2
- package/models/ResendWebhookDeliveryRequest.js +2 -2
- package/models/ResetDemoSessionRequest.js +2 -2
- package/models/ResolveCustomerDeletionRequest.js +2 -2
- package/models/ResolveOrderInventoryExceptionRequest.js +2 -2
- package/models/ResolvePaymentLinkLineItemModifierRequest.js +2 -2
- package/models/ResolvePaymentLinkLineItemModifiers.js +2 -2
- package/models/ResolvePaymentLinkRequest.js +4 -4
- package/models/ResolvePaymentLinkTextModifierRequest.js +2 -2
- package/models/ResourceVersionRequest.js +2 -2
- package/models/RetryReturnDispositionRequest.js +2 -2
- package/models/RetryReturnResolutionRequest.js +2 -2
- package/models/ReturnEligibilityLineItemRequest.js +2 -2
- package/models/ReturnEligibilitySelection.js +3 -3
- package/models/ReturnEligibilitySelectionAllRemainingFulfilled.js +4 -4
- package/models/ReturnEligibilitySelectionLineItems.js +4 -4
- package/models/ReturnInspectionLineItemRequest.js +2 -2
- package/models/ReturnLineDecision.js +3 -3
- package/models/ReturnLineItemRequest.js +2 -2
- package/models/ReturnPolicyRevisionInputIneligible.js +5 -5
- package/models/ReturnPolicyRevisionInputReturnable.js +5 -5
- package/models/ReturnPolicyRevisionRequest.js +4 -4
- package/models/ReturnPolicyScope.js +3 -3
- package/models/ReturnPolicyScopeAll.js +3 -3
- package/models/ReturnPolicyScopeInclude.js +3 -3
- package/models/ReturnProcessDecision.js +3 -3
- package/models/ReturnProcessDispositionRequest.js +2 -2
- package/models/ReturnProcessInspectionRequest.js +2 -2
- package/models/ReturnProcessReceiptRequest.js +4 -4
- package/models/ReturnProcessResolutionRequest.js +7 -7
- package/models/ReturnReceiptLineItemInputExcess.js +4 -4
- package/models/ReturnReceiptLineItemInputMatched.js +4 -4
- package/models/ReturnReceiptLineItemInputUnverified.js +4 -4
- package/models/ReturnReceiptLineItemRequest.js +4 -4
- package/models/ReturnReplacementLineItemInputBundle.js +4 -4
- package/models/ReturnReplacementLineItemInputCustom.js +5 -5
- package/models/ReturnReplacementLineItemInputVariant.js +4 -4
- package/models/ReturnReplacementLineItemRequest.js +5 -5
- package/models/ReturnResolutionAdjustmentRequest.js +3 -3
- package/models/ReturnResolutionLineItemRequest.js +2 -2
- package/models/ReturnRestockingFeePolicy.js +3 -3
- package/models/ReturnShipmentLineItemAllocation.js +2 -2
- package/models/ReturnShippingPolicy.js +2 -2
- package/models/ReturnSourceSystem.js +3 -3
- package/models/ReturnUnverifiedItem.js +2 -2
- package/models/ReturnWindow.js +2 -2
- package/models/ReverseInvoiceManualPaymentRequest.js +2 -2
- package/models/RevokeDeliveryDependencyRequest.js +5 -5
- package/models/RevokeDeliveryDependencyTarget.js +4 -4
- package/models/RevokeDeliveryDependencyTargetDeliveryMethod.js +4 -4
- package/models/RevokeDeliveryDependencyTargetDeliveryMethodRevision.js +3 -3
- package/models/RevokeDeliveryDependencyTargetDeliveryRateCallback.js +4 -4
- package/models/RevokeDeliveryDependencyTargetDeliveryRateCallbackRevision.js +3 -3
- package/models/RevokeDeliveryDependencyTargetDeliveryRateCallbackSigningKey.js +3 -3
- package/models/RevokeDeliveryDependencyTargetLocationGeography.js +3 -3
- package/models/RiskPredicateNode.js +4 -4
- package/models/RotateGiftCardCodeRequest.js +3 -3
- package/models/RotatePartnerAppSecretRequest.js +2 -2
- package/models/RotateWebhookSecretRequest.js +2 -2
- package/models/SaveMeGiftCardRequest.js +3 -3
- package/models/SaveMeGiftCardRequestCode.js +3 -3
- package/models/SaveMeGiftCardRequestRecipientAccess.js +3 -3
- package/models/SaveMePaymentMethodRequest.js +2 -2
- package/models/SavePaymentMethodRequest.js +2 -2
- package/models/SendOrderReceiptRequest.js +2 -2
- package/models/SendPaymentIntentReceiptRequest.js +2 -2
- package/models/SetDefaultCustomerAddressRequest.js +2 -2
- package/models/SignedMoney.js +2 -2
- package/models/SinglePackageCreateInputCreated.js +5 -5
- package/models/SinglePackageCreateInputShipped.js +5 -5
- package/models/SinglePackageCreateRequest.js +6 -6
- package/models/SkipMeSubscriptionCycleRequest.js +2 -2
- package/models/SkipSubscriptionCycleRequest.js +2 -2
- package/models/SubscribedLineRequest.js +2 -2
- package/models/SubscriptionBillingScheduleInputExternal.js +2 -2
- package/models/SubscriptionBillingScheduleInputFlint.js +2 -2
- package/models/SubscriptionBillingScheduleRequest.js +2 -2
- package/models/SubscriptionBillingScheduleUpdateInputExternal.js +2 -2
- package/models/SubscriptionBillingScheduleUpdateInputFlint.js +2 -2
- package/models/SubscriptionBillingScheduleUpdateRequest.js +3 -3
- package/models/SubscriptionBillingStartInputImmediate.js +2 -2
- package/models/SubscriptionBillingStartInputImported.js +2 -2
- package/models/SubscriptionBillingStartInputScheduled.js +2 -2
- package/models/SubscriptionBillingStartRequest.js +2 -2
- package/models/SubscriptionDeliveryDestinationInputAddress.js +3 -3
- package/models/SubscriptionDeliveryDestinationInputCustomerAddress.js +2 -2
- package/models/SubscriptionDeliveryDestinationRequest.js +3 -3
- package/models/SubscriptionDeliveryRequest.js +4 -4
- package/models/SubscriptionIntervalOption.js +2 -2
- package/models/SubscriptionOfferLineItemRequest.js +2 -2
- package/models/SubscriptionOfferTermsRequest.js +3 -3
- package/models/SubscriptionPlanLineItemRequest.js +7 -7
- package/models/SubscriptionPlanTermsRequest.js +3 -3
- package/models/SubscriptionServiceLocationInputAddress.js +3 -3
- package/models/SubscriptionServiceLocationInputCustomerAddress.js +2 -2
- package/models/SubscriptionServiceLocationRequest.js +4 -4
- package/models/SubscriptionSettings.js +2 -2
- package/models/SubscriptionTermsRequest.js +4 -4
- package/models/TaxCalculationRequest.js +3 -3
- package/models/TaxComponentRequest.js +3 -3
- package/models/TaxIdentityPatch.js +4 -4
- package/models/TaxIdentityRequest.js +4 -4
- package/models/TaxJurisdiction.js +2 -2
- package/models/TaxSettingsRequest.js +2 -2
- package/models/TextModifierConfigPatchRequest.js +2 -2
- package/models/TextModifierConfigRequest.js +2 -2
- package/models/TextModifierRequest.js +2 -2
- package/models/ThemeConfigRequest.js +2 -2
- package/models/TippingSettingsPatch.js +5 -5
- package/models/TransitionGiftCardRequest.js +3 -3
- package/models/TransitionGiftCardRequestFreeze.js +2 -2
- package/models/TransitionGiftCardRequestWithoutReason.js +3 -3
- package/models/UpdateAPIKeyRequest.js +5 -5
- package/models/UpdateBundleComponentRequest.js +2 -2
- package/models/UpdateBundleRequest.js +6 -6
- package/models/UpdateCategoryRequest.js +2 -2
- package/models/UpdateCheckoutSessionRequest.js +4 -4
- package/models/UpdateCreditNoteRequest.js +6 -6
- package/models/UpdateCustomerAddressRequest.js +3 -3
- package/models/UpdateCustomerEmailPreferencesRequest.js +2 -2
- package/models/UpdateCustomerRequest.js +6 -6
- package/models/UpdateDeliveryFulfillmentDetails.js +2 -2
- package/models/UpdateDeliveryLocationSetRequest.js +3 -3
- package/models/UpdateDeliveryMethodRequest.js +9 -9
- package/models/UpdateDeliveryProfileRequest.js +4 -4
- package/models/UpdateDeliveryRateCallbackRequest.js +4 -4
- package/models/UpdateDeliveryZoneRequest.js +5 -5
- package/models/UpdateDeviceRequest.js +2 -2
- package/models/UpdateDigitalFulfillmentDetails.js +2 -2
- package/models/UpdateFulfillmentRequest.js +7 -7
- package/models/UpdateGiftCardRequest.js +2 -2
- package/models/UpdateInventoryAllocationPolicyRequest.js +4 -4
- package/models/UpdateInventoryCountRequest.js +4 -4
- package/models/UpdateInventoryItemRequest.js +3 -3
- package/models/UpdateInventoryLevelRequest.js +2 -2
- package/models/UpdateInventoryReservationRequest.js +2 -2
- package/models/UpdateInventoryTransferRequest.js +3 -3
- package/models/UpdateInvoicePaymentTermRequest.js +5 -5
- package/models/UpdateInvoiceRequest.js +10 -10
- package/models/UpdateLineItemRequest.js +10 -10
- package/models/UpdateLocationRequest.js +3 -3
- package/models/UpdateMeRequest.js +2 -2
- package/models/UpdateMeSubscriptionLineItemRequest.js +2 -2
- package/models/UpdateMeSubscriptionRequest.js +5 -5
- package/models/UpdateMerchantRequest.js +5 -5
- package/models/UpdateModifierGroupRequest.js +5 -5
- package/models/UpdateModifierSetRequest.js +6 -6
- package/models/UpdateOrderChargeRequest.js +5 -5
- package/models/UpdateOrderRequest.js +11 -11
- package/models/UpdateOrganizationRequest.js +2 -2
- package/models/UpdatePackageItemRequest.js +2 -2
- package/models/UpdatePackageRequest.js +5 -5
- package/models/UpdatePartnerAppRequest.js +4 -4
- package/models/UpdatePaymentIntentRequest.js +4 -4
- package/models/UpdatePaymentLinkRequest.js +15 -15
- package/models/UpdatePaymentMethodDomainRequest.js +2 -2
- package/models/UpdatePayoutDestinationRequest.js +2 -2
- package/models/UpdatePayoutSettingsRequest.js +5 -5
- package/models/UpdatePickupFulfillmentDetails.js +4 -4
- package/models/UpdateProductOptionRequest.js +2 -2
- package/models/UpdateProductOptionValueRequest.js +2 -2
- package/models/UpdateProductRequest.js +6 -6
- package/models/UpdateProductVariantRequest.js +11 -11
- package/models/UpdatePromotionCodeRequest.js +2 -2
- package/models/UpdatePromotionRequest.js +7 -7
- package/models/UpdateRefundRequest.js +2 -2
- package/models/UpdateReturnLineItemRequest.js +2 -2
- package/models/UpdateReturnPolicyRequest.js +2 -2
- package/models/UpdateReturnReasonRequest.js +3 -3
- package/models/UpdateReturnReplacementLineItemInputBundle.js +4 -4
- package/models/UpdateReturnReplacementLineItemInputCustom.js +5 -5
- package/models/UpdateReturnReplacementLineItemInputVariant.js +4 -4
- package/models/UpdateReturnReplacementLineItemRequest.js +5 -5
- package/models/UpdateReturnRequest.js +2 -2
- package/models/UpdateReturnResolutionAdjustmentRequest.js +3 -3
- package/models/UpdateReturnResolutionLineItemRequest.js +2 -2
- package/models/UpdateReturnResolutionRequest.js +7 -7
- package/models/UpdateRiskListRequest.js +2 -2
- package/models/UpdateRiskRuleRequest.js +5 -5
- package/models/UpdateServiceFulfillmentDetails.js +2 -2
- package/models/UpdateSettingsRequest.js +11 -11
- package/models/UpdateShipmentRequest.js +2 -2
- package/models/UpdateSubscriptionBillingScheduleRequest.js +3 -3
- package/models/UpdateSubscriptionBillingScheduleRequestExternal.js +2 -2
- package/models/UpdateSubscriptionBillingScheduleRequestFlint.js +2 -2
- package/models/UpdateSubscriptionLineItemRequest.js +2 -2
- package/models/UpdateSubscriptionOfferRequest.js +3 -3
- package/models/UpdateSubscriptionPlanLineItemRequest.js +7 -7
- package/models/UpdateSubscriptionPlanRequest.js +13 -13
- package/models/UpdateSubscriptionRequest.js +7 -7
- package/models/UpdateWebhookEndpointRequest.js +3 -3
- package/models/UpdateWorkloadIdentityRequest.js +5 -5
- package/models/VerifyReturnReceiptLineItemRequest.js +2 -2
- package/models/VoidPackageRequest.js +2 -2
- package/models/VoidShipmentRequest.js +2 -2
- package/models/WaiveInvoiceLateFeeRequest.js +2 -2
- package/models/WaiveReturnLineInspectionRequest.js +2 -2
- package/models/Weight.js +2 -2
- package/models/WorkloadIdentityClaimConditionRequest.js +2 -2
- package/package.json +1 -1
- package/resources/analytics.d.ts +3 -1
- package/resources/analytics.js +5 -2
- package/resources/apiKeys.d.ts +3 -1
- package/resources/apiKeys.js +5 -2
- package/resources/balanceTransactions.d.ts +3 -1
- package/resources/balanceTransactions.js +5 -2
- package/resources/balances.d.ts +3 -1
- package/resources/balances.js +5 -2
- package/resources/bundles.d.ts +3 -1
- package/resources/bundles.js +5 -2
- package/resources/categories.d.ts +3 -1
- package/resources/categories.js +5 -2
- package/resources/checkoutSessions.d.ts +7 -5
- package/resources/checkoutSessions.js +5 -2
- package/resources/creditNotes.d.ts +5 -3
- package/resources/creditNotes.js +5 -2
- package/resources/customDomains.d.ts +3 -1
- package/resources/customDomains.js +5 -2
- package/resources/customerDeletionRequests.d.ts +3 -1
- package/resources/customerDeletionRequests.js +5 -2
- package/resources/customerSessions.d.ts +3 -1
- package/resources/customerSessions.js +5 -2
- package/resources/customerVerifications.d.ts +3 -1
- package/resources/customerVerifications.js +5 -2
- package/resources/customers.d.ts +3 -1
- package/resources/customers.js +5 -2
- package/resources/deliveryLocationSets.d.ts +3 -1
- package/resources/deliveryLocationSets.js +5 -2
- package/resources/deliveryMethods.d.ts +5 -3
- package/resources/deliveryMethods.js +5 -2
- package/resources/deliveryPreviews.d.ts +3 -1
- package/resources/deliveryPreviews.js +5 -2
- package/resources/deliveryProfiles.d.ts +3 -1
- package/resources/deliveryProfiles.js +5 -2
- package/resources/deliveryQuotes.d.ts +3 -1
- package/resources/deliveryQuotes.js +5 -2
- package/resources/deliveryRateCallbacks.d.ts +3 -1
- package/resources/deliveryRateCallbacks.js +5 -2
- package/resources/deliveryRevocations.d.ts +3 -1
- package/resources/deliveryRevocations.js +5 -2
- package/resources/deliveryZones.d.ts +3 -1
- package/resources/deliveryZones.js +5 -2
- package/resources/demoSessions.d.ts +3 -1
- package/resources/demoSessions.js +5 -2
- package/resources/developer.d.ts +3 -1
- package/resources/developer.js +5 -2
- package/resources/devices.d.ts +3 -1
- package/resources/devices.js +5 -2
- package/resources/discountPreviews.d.ts +3 -1
- package/resources/discountPreviews.js +5 -2
- package/resources/disputes.d.ts +3 -1
- package/resources/disputes.js +5 -2
- package/resources/emailPreferenceLinks.d.ts +3 -1
- package/resources/emailPreferenceLinks.js +5 -2
- package/resources/feedbackReports.d.ts +3 -1
- package/resources/feedbackReports.js +5 -2
- package/resources/files.d.ts +3 -1
- package/resources/files.js +5 -2
- package/resources/fraudWarnings.d.ts +3 -1
- package/resources/fraudWarnings.js +5 -2
- package/resources/fulfillmentEvents.d.ts +3 -1
- package/resources/fulfillmentEvents.js +5 -2
- package/resources/fulfillmentNotifications.d.ts +3 -1
- package/resources/fulfillmentNotifications.js +5 -2
- package/resources/fulfillments.d.ts +5 -3
- package/resources/fulfillments.js +5 -2
- package/resources/giftCardAdjustments.d.ts +3 -1
- package/resources/giftCardAdjustments.js +5 -2
- package/resources/giftCardCashOuts.d.ts +3 -1
- package/resources/giftCardCashOuts.js +5 -2
- package/resources/giftCardFundingDispositions.d.ts +3 -1
- package/resources/giftCardFundingDispositions.js +5 -2
- package/resources/giftCardLoads.d.ts +3 -1
- package/resources/giftCardLoads.js +5 -2
- package/resources/giftCardNotifications.d.ts +3 -1
- package/resources/giftCardNotifications.js +5 -2
- package/resources/giftCardRedemptions.d.ts +5 -3
- package/resources/giftCardRedemptions.js +5 -2
- package/resources/giftCardTransactions.d.ts +3 -1
- package/resources/giftCardTransactions.js +5 -2
- package/resources/giftCards.d.ts +3 -1
- package/resources/giftCards.js +5 -2
- package/resources/inventoryAdjustments.d.ts +3 -1
- package/resources/inventoryAdjustments.js +5 -2
- package/resources/inventoryAllocationPolicies.d.ts +3 -1
- package/resources/inventoryAllocationPolicies.js +5 -2
- package/resources/inventoryCounts.d.ts +3 -1
- package/resources/inventoryCounts.js +5 -2
- package/resources/inventoryItems.d.ts +3 -1
- package/resources/inventoryItems.js +5 -2
- package/resources/inventoryLevels.d.ts +3 -1
- package/resources/inventoryLevels.js +5 -2
- package/resources/inventoryMovements.d.ts +3 -1
- package/resources/inventoryMovements.js +5 -2
- package/resources/inventoryReceipts.d.ts +3 -1
- package/resources/inventoryReceipts.js +5 -2
- package/resources/inventoryReservations.d.ts +3 -1
- package/resources/inventoryReservations.js +5 -2
- package/resources/inventoryTransfers.d.ts +9 -4
- package/resources/inventoryTransfers.js +5 -2
- package/resources/invoicePaymentTerms.d.ts +3 -1
- package/resources/invoicePaymentTerms.js +5 -2
- package/resources/invoices.d.ts +7 -6
- package/resources/invoices.js +5 -2
- package/resources/locations.d.ts +3 -1
- package/resources/locations.js +5 -2
- package/resources/me.d.ts +11 -10
- package/resources/me.js +5 -2
- package/resources/merchantAccountSessions.d.ts +3 -1
- package/resources/merchantAccountSessions.js +5 -2
- package/resources/merchantBillingBalances.d.ts +3 -1
- package/resources/merchantBillingBalances.js +5 -2
- package/resources/merchantBillingEntries.d.ts +3 -1
- package/resources/merchantBillingEntries.js +5 -2
- package/resources/merchantSubscriptionInvoices.d.ts +3 -1
- package/resources/merchantSubscriptionInvoices.js +5 -2
- package/resources/merchants.d.ts +3 -1
- package/resources/merchants.js +5 -2
- package/resources/modifierGroups.d.ts +3 -1
- package/resources/modifierGroups.js +5 -2
- package/resources/modifierSets.d.ts +3 -1
- package/resources/modifierSets.js +5 -2
- package/resources/oauth.d.ts +3 -1
- package/resources/oauth.js +5 -2
- package/resources/onboarding.d.ts +3 -1
- package/resources/onboarding.js +5 -2
- package/resources/orders.d.ts +5 -3
- package/resources/orders.js +5 -2
- package/resources/organizations.d.ts +3 -1
- package/resources/organizations.js +5 -2
- package/resources/packages.d.ts +3 -1
- package/resources/packages.js +5 -2
- package/resources/partnerAppInstalls.d.ts +3 -1
- package/resources/partnerAppInstalls.js +5 -2
- package/resources/paymentIntents.d.ts +3 -1
- package/resources/paymentIntents.js +5 -2
- package/resources/paymentLinks.d.ts +7 -5
- package/resources/paymentLinks.js +5 -2
- package/resources/paymentMethodDomains.d.ts +3 -1
- package/resources/paymentMethodDomains.js +5 -2
- package/resources/paymentMethods.d.ts +3 -1
- package/resources/paymentMethods.js +5 -2
- package/resources/payoutSettings.d.ts +3 -1
- package/resources/payoutSettings.js +5 -2
- package/resources/payouts.d.ts +3 -1
- package/resources/payouts.js +5 -2
- package/resources/products.d.ts +3 -1
- package/resources/products.js +5 -2
- package/resources/promotions.d.ts +3 -1
- package/resources/promotions.js +5 -2
- package/resources/refunds.d.ts +3 -1
- package/resources/refunds.js +5 -2
- package/resources/reportDownloads.d.ts +3 -1
- package/resources/reportDownloads.js +5 -2
- package/resources/reports.d.ts +3 -1
- package/resources/reports.js +5 -2
- package/resources/returnDispositions.d.ts +3 -1
- package/resources/returnDispositions.js +5 -2
- package/resources/returnInspections.d.ts +3 -1
- package/resources/returnInspections.js +5 -2
- package/resources/returnPolicies.d.ts +3 -1
- package/resources/returnPolicies.js +5 -2
- package/resources/returnPreviews.d.ts +5 -3
- package/resources/returnPreviews.js +5 -2
- package/resources/returnReasons.d.ts +3 -1
- package/resources/returnReasons.js +5 -2
- package/resources/returnReceipts.d.ts +3 -1
- package/resources/returnReceipts.js +5 -2
- package/resources/returnResolutions.d.ts +5 -4
- package/resources/returnResolutions.js +5 -2
- package/resources/returns.d.ts +5 -3
- package/resources/returns.js +5 -2
- package/resources/reviews.d.ts +3 -1
- package/resources/reviews.js +5 -2
- package/resources/riskLists.d.ts +3 -1
- package/resources/riskLists.js +5 -2
- package/resources/riskPreviews.d.ts +3 -1
- package/resources/riskPreviews.js +5 -2
- package/resources/riskRules.d.ts +3 -1
- package/resources/riskRules.js +5 -2
- package/resources/settings.d.ts +3 -1
- package/resources/settings.js +5 -2
- package/resources/shipments.d.ts +3 -1
- package/resources/shipments.js +5 -2
- package/resources/specification.d.ts +3 -1
- package/resources/specification.js +5 -2
- package/resources/subscriptionDeliveryMigrations.d.ts +3 -1
- package/resources/subscriptionDeliveryMigrations.js +5 -2
- package/resources/subscriptionOffers.d.ts +3 -1
- package/resources/subscriptionOffers.js +5 -2
- package/resources/subscriptionPlans.d.ts +3 -1
- package/resources/subscriptionPlans.js +5 -2
- package/resources/subscriptionPreviews.d.ts +5 -3
- package/resources/subscriptionPreviews.js +5 -2
- package/resources/subscriptions.d.ts +7 -4
- package/resources/subscriptions.js +5 -2
- package/resources/webhookDeliveries.d.ts +3 -1
- package/resources/webhookDeliveries.js +5 -2
- package/resources/webhookEndpoints.d.ts +3 -1
- package/resources/webhookEndpoints.js +5 -2
- package/resources/webhookEventTypes.d.ts +3 -1
- package/resources/webhookEventTypes.js +5 -2
- package/resources/webhookEvents.d.ts +3 -1
- package/resources/webhookEvents.js +5 -2
- package/resources/workloadIdentities.d.ts +3 -1
- package/resources/workloadIdentities.js +5 -2
- package/runtime.d.ts +1 -1
- package/runtime.js +81 -16
- package/webhooks.js +2 -2
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returnResolutions.get(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returnResolutions.list();
|
|
12
9
|
console.log(result);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
package/examples/returns-get.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returns.get(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returns.getLineItem(
|
|
12
9
|
"example",
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returns.list();
|
|
12
9
|
console.log(result);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returns.listActivities(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.returns.listLineItems(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
package/examples/reviews-get.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.reviews.get(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.reviews.list();
|
|
12
9
|
console.log(result);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskLists.get(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskLists.getItem(
|
|
12
9
|
"example",
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskLists.list();
|
|
12
9
|
console.log(result);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskLists.listRiskListItems(
|
|
12
9
|
"example"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskPreviews.create(
|
|
12
9
|
{
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
// Persist this key with the action before sending; reuse it for every resubmission.
|
|
12
9
|
const idempotencyKey = crypto.randomUUID();
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Client } from "@flintpay/node";
|
|
2
2
|
const baseUrl = process.env.API_BASE_URL;
|
|
3
3
|
if (!baseUrl) throw new Error("Set API_BASE_URL to your sandbox or local mock URL");
|
|
4
|
-
const apiKey = process.env.API_KEY;
|
|
5
|
-
if (!apiKey) throw new Error("Set API_KEY: this call requires a credential");
|
|
6
4
|
const client = new Client({
|
|
7
5
|
baseUrl,
|
|
8
6
|
allowInsecureHttp: ["localhost", "127.0.0.1"].includes(new URL(baseUrl).hostname) && new URL(baseUrl).protocol === "http:",
|
|
9
|
-
apiKey,
|
|
10
7
|
});
|
|
11
8
|
const result = await client.riskRules.get(
|
|
12
9
|
"example"
|