@flintpay/node 3.0.0-beta.20261006210100 → 3.0.0-beta.20261006230000

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.
Files changed (2182) hide show
  1. package/MODELS.md +62 -39
  2. package/README.md +2 -2
  3. package/REFERENCE.md +9 -9
  4. package/RUNTIME.md +1 -1
  5. package/declarations/BuyerDeliverySelectionResult.d.ts +1 -1
  6. package/declarations/BuyerDeliverySelectionResultInput.d.ts +1 -1
  7. package/declarations/BuyerInvoiceCheckoutSessionResult.d.ts +2 -1
  8. package/declarations/BuyerInvoiceCheckoutSessionResultInput.d.ts +2 -1
  9. package/declarations/CheckoutAccess.d.ts +1 -1
  10. package/declarations/CheckoutAccessInput.d.ts +1 -1
  11. package/declarations/CheckoutCustomerVerificationConfirmation.d.ts +1 -1
  12. package/declarations/CheckoutCustomerVerificationConfirmationInput.d.ts +1 -1
  13. package/declarations/CheckoutDeliverySelectionResultResponse.d.ts +1 -1
  14. package/declarations/CheckoutDeliverySelectionResultResponseInput.d.ts +1 -1
  15. package/declarations/CheckoutExpirationConfig.d.ts +1 -1
  16. package/declarations/CheckoutSession.d.ts +1 -1
  17. package/declarations/CheckoutSessionInput.d.ts +1 -1
  18. package/declarations/CheckoutSessionLaunchResult.d.ts +2 -1
  19. package/declarations/CheckoutSessionLaunchResultInput.d.ts +2 -1
  20. package/declarations/CheckoutSessionRevisionConflictDetail.d.ts +1 -1
  21. package/declarations/CheckoutSessionRevisionConflictDetailInput.d.ts +1 -1
  22. package/declarations/CheckoutSettings.d.ts +1 -1
  23. package/declarations/ErrorDetail.d.ts +1 -1
  24. package/declarations/ErrorDetailInput.d.ts +1 -1
  25. package/declarations/ErrorObject.d.ts +1 -1
  26. package/declarations/ErrorObjectInput.d.ts +1 -1
  27. package/declarations/HostedCheckout.d.ts +1 -1
  28. package/declarations/HostedCheckoutInput.d.ts +1 -1
  29. package/declarations/IncomingWebhookb1a2881c3c8dPayload.d.ts +1 -1
  30. package/declarations/IncomingWebhookb1a2881c3c8dPayloadInput.d.ts +1 -1
  31. package/declarations/InventoryTransferActionConflictErrorDetail.d.ts +1 -1
  32. package/declarations/InventoryTransferActionConflictErrorDetailInput.d.ts +1 -1
  33. package/declarations/InventoryTransferActionConflictErrorObject.d.ts +1 -1
  34. package/declarations/InventoryTransferActionConflictErrorObjectInput.d.ts +1 -1
  35. package/declarations/InvoiceCheckoutSessionResult.d.ts +2 -1
  36. package/declarations/InvoiceCheckoutSessionResultInput.d.ts +2 -1
  37. package/declarations/MeListFulfillmentEventsInput.d.ts +1 -1
  38. package/declarations/Webhook_checkout_session_completed_installed_merchants.d.ts +1 -1
  39. package/declarations/Webhook_checkout_session_completed_installed_merchantsInput.d.ts +1 -1
  40. package/declarations/Webhook_checkout_session_completed_merchant.d.ts +1 -1
  41. package/declarations/Webhook_checkout_session_completed_merchantInput.d.ts +1 -1
  42. package/declarations/_SdkWebhookEnvelope5.d.ts +1 -1
  43. package/descriptors/data.js +2663 -2662
  44. package/descriptors/resources/analytics.js +4 -4
  45. package/descriptors/resources/apiKeys.js +4 -4
  46. package/descriptors/resources/balanceTransactions.js +4 -4
  47. package/descriptors/resources/balances.js +4 -4
  48. package/descriptors/resources/bundles.js +4 -4
  49. package/descriptors/resources/capabilities.js +4 -4
  50. package/descriptors/resources/categories.js +4 -4
  51. package/descriptors/resources/checkoutSessions.js +4 -4
  52. package/descriptors/resources/creditNotes.js +4 -4
  53. package/descriptors/resources/customerDeletionRequests.js +4 -4
  54. package/descriptors/resources/customerSessions.js +4 -4
  55. package/descriptors/resources/customerVerifications.js +4 -4
  56. package/descriptors/resources/customers.js +4 -4
  57. package/descriptors/resources/deliveryLocationSets.js +4 -4
  58. package/descriptors/resources/deliveryMethods.js +4 -4
  59. package/descriptors/resources/deliveryPreviews.js +4 -4
  60. package/descriptors/resources/deliveryProfiles.js +4 -4
  61. package/descriptors/resources/deliveryQuotes.js +4 -4
  62. package/descriptors/resources/deliveryRateCallbacks.js +4 -4
  63. package/descriptors/resources/deliveryRevocations.js +4 -4
  64. package/descriptors/resources/deliveryZones.js +4 -4
  65. package/descriptors/resources/demoSessions.js +4 -4
  66. package/descriptors/resources/developer.js +4 -4
  67. package/descriptors/resources/devices.js +4 -4
  68. package/descriptors/resources/discountPreviews.js +4 -4
  69. package/descriptors/resources/disputes.js +4 -4
  70. package/descriptors/resources/emailPreferenceLinks.js +4 -4
  71. package/descriptors/resources/feedbackReports.js +4 -4
  72. package/descriptors/resources/fraudWarnings.js +4 -4
  73. package/descriptors/resources/fulfillmentEvents.js +4 -4
  74. package/descriptors/resources/fulfillmentNotifications.js +4 -4
  75. package/descriptors/resources/fulfillments.js +4 -4
  76. package/descriptors/resources/giftCardAdjustments.js +4 -4
  77. package/descriptors/resources/giftCardCashOuts.js +4 -4
  78. package/descriptors/resources/giftCardFundingDispositions.js +4 -4
  79. package/descriptors/resources/giftCardLoads.js +4 -4
  80. package/descriptors/resources/giftCardNotifications.js +4 -4
  81. package/descriptors/resources/giftCardRedemptions.js +4 -4
  82. package/descriptors/resources/giftCardTransactions.js +4 -4
  83. package/descriptors/resources/giftCards.js +4 -4
  84. package/descriptors/resources/inventoryAdjustments.js +4 -4
  85. package/descriptors/resources/inventoryAllocationPolicies.js +4 -4
  86. package/descriptors/resources/inventoryCounts.js +4 -4
  87. package/descriptors/resources/inventoryItems.js +4 -4
  88. package/descriptors/resources/inventoryLevels.js +4 -4
  89. package/descriptors/resources/inventoryMovements.js +4 -4
  90. package/descriptors/resources/inventoryReceipts.js +4 -4
  91. package/descriptors/resources/inventoryReservations.js +4 -4
  92. package/descriptors/resources/inventoryTransfers.js +4 -4
  93. package/descriptors/resources/invoicePaymentTerms.js +4 -4
  94. package/descriptors/resources/invoices.js +4 -4
  95. package/descriptors/resources/locations.js +4 -4
  96. package/descriptors/resources/me.js +4 -4
  97. package/descriptors/resources/merchantAccountSessions.js +4 -4
  98. package/descriptors/resources/merchantBillingBalances.js +4 -4
  99. package/descriptors/resources/merchantSubscriptionInvoices.js +4 -4
  100. package/descriptors/resources/merchants.js +4 -4
  101. package/descriptors/resources/modifierGroups.js +4 -4
  102. package/descriptors/resources/modifierSets.js +4 -4
  103. package/descriptors/resources/oauth.js +4 -4
  104. package/descriptors/resources/onboarding.js +4 -4
  105. package/descriptors/resources/orders.js +4 -4
  106. package/descriptors/resources/organizations.js +4 -4
  107. package/descriptors/resources/packages.js +4 -4
  108. package/descriptors/resources/paymentIntents.js +4 -4
  109. package/descriptors/resources/paymentLinks.js +4 -4
  110. package/descriptors/resources/paymentMethodDomains.js +4 -4
  111. package/descriptors/resources/paymentMethods.js +4 -4
  112. package/descriptors/resources/payoutSettings.js +4 -4
  113. package/descriptors/resources/payouts.js +4 -4
  114. package/descriptors/resources/products.js +4 -4
  115. package/descriptors/resources/promotions.js +4 -4
  116. package/descriptors/resources/refunds.js +4 -4
  117. package/descriptors/resources/reportDownloads.js +4 -4
  118. package/descriptors/resources/reports.js +4 -4
  119. package/descriptors/resources/returnDispositions.js +4 -4
  120. package/descriptors/resources/returnInspections.js +4 -4
  121. package/descriptors/resources/returnPolicies.js +4 -4
  122. package/descriptors/resources/returnPreviews.js +4 -4
  123. package/descriptors/resources/returnReasons.js +4 -4
  124. package/descriptors/resources/returnReceipts.js +4 -4
  125. package/descriptors/resources/returnResolutions.js +4 -4
  126. package/descriptors/resources/returns.js +4 -4
  127. package/descriptors/resources/reviews.js +4 -4
  128. package/descriptors/resources/riskLists.js +4 -4
  129. package/descriptors/resources/riskPreviews.js +4 -4
  130. package/descriptors/resources/riskRules.js +4 -4
  131. package/descriptors/resources/settings.js +4 -4
  132. package/descriptors/resources/shipments.js +4 -4
  133. package/descriptors/resources/specification.js +4 -4
  134. package/descriptors/resources/subscriptionPlans.js +4 -4
  135. package/descriptors/resources/subscriptions.js +4 -4
  136. package/descriptors/resources/webhookDeliveries.js +4 -4
  137. package/descriptors/resources/webhookEndpoints.js +4 -4
  138. package/descriptors/resources/webhookEventTypes.js +4 -4
  139. package/descriptors/resources/webhookEvents.js +4 -4
  140. package/descriptors/root.js +7 -7
  141. package/descriptors/settings.js +1 -1
  142. package/descriptors/webhook.js +4 -4
  143. package/examples/me-listFulfillmentEvents.mjs +3 -1
  144. package/examples/me-listFulfillmentEvents.ts +3 -1
  145. package/guides/pagination-and-retries.md +1 -1
  146. package/index.js +2 -2
  147. package/models/APIKey.js +2 -2
  148. package/models/APIKeyListResponse.js +3 -3
  149. package/models/APIKeyResponse.js +3 -3
  150. package/models/APIKeyWithSecret.js +2 -2
  151. package/models/APIRequestLog.js +2 -2
  152. package/models/APIRequestLogDetail.js +2 -2
  153. package/models/APIRequestLogDetailResponse.js +3 -3
  154. package/models/APIRequestLogListResponse.js +3 -3
  155. package/models/APIRequestLogQueryParam.js +2 -2
  156. package/models/APIRequestLogReproduction.js +2 -2
  157. package/models/AccessLink.js +2 -2
  158. package/models/AccessLinkResponse.js +3 -3
  159. package/models/ActionResponse.js +3 -3
  160. package/models/ActionResult.js +2 -2
  161. package/models/AddLineItemsRequest.js +3 -3
  162. package/models/AddOrderChargeRequest.js +3 -3
  163. package/models/AddReturnLineItemRequest.js +2 -2
  164. package/models/AddReturnLineItemResponse.js +3 -3
  165. package/models/AddRiskListItemsRequest.js +2 -2
  166. package/models/Address.js +2 -2
  167. package/models/AdjustmentLine.js +2 -2
  168. package/models/Analysis.js +2 -2
  169. package/models/AnalyticsOverview.js +2 -2
  170. package/models/AnalyticsOverviewResponse.js +3 -3
  171. package/models/ApiRequestLogExpansionShape.js +2 -2
  172. package/models/ApiRequestLogResponseShapeMetadata.js +2 -2
  173. package/models/AppliedDiscount.js +2 -2
  174. package/models/ApplyDiscountRequest.js +3 -3
  175. package/models/ApplyOrderGiftCardRequest.js +2 -2
  176. package/models/AssessInvoiceLateFeeRequest.js +2 -2
  177. package/models/AssignToUnconfiguredDeliveryProfileRequest.js +2 -2
  178. package/models/AvailableModifier.js +2 -2
  179. package/models/AvailableModifierGroup.js +2 -2
  180. package/models/AvailableModifierSelection.js +2 -2
  181. package/models/AvailableTextModifierConfig.js +2 -2
  182. package/models/Balance.js +2 -2
  183. package/models/BalanceListResponse.js +3 -3
  184. package/models/BalanceTransaction.js +2 -2
  185. package/models/BalanceTransactionListResponse.js +3 -3
  186. package/models/BalanceTransactionRelatedResource.js +2 -2
  187. package/models/BalanceTransactionResponse.js +3 -3
  188. package/models/Banner.js +2 -2
  189. package/models/BrandingSettings.js +2 -2
  190. package/models/Bundle.js +3 -3
  191. package/models/BundleComponent.js +2 -2
  192. package/models/BundleComponentListResponse.js +3 -3
  193. package/models/BundleComponentVariantSummary.js +2 -2
  194. package/models/BundleListResponse.js +3 -3
  195. package/models/BundleResponse.js +3 -3
  196. package/models/BuyerAction.js +2 -2
  197. package/models/BuyerCapabilities.js +2 -2
  198. package/models/BuyerCreditNote.js +2 -2
  199. package/models/BuyerCreditNoteListResponse.js +3 -3
  200. package/models/BuyerCreditNoteResponse.js +3 -3
  201. package/models/BuyerDeliveryInputRequirementResource.js +2 -2
  202. package/models/BuyerDeliveryOptionResource.js +2 -2
  203. package/models/BuyerDeliveryQuote.js +2 -2
  204. package/models/BuyerDeliveryQuoteChoiceGroupResource.js +2 -2
  205. package/models/BuyerDeliverySelection.js +2 -2
  206. package/models/BuyerDeliverySelectionChoiceResource.js +2 -2
  207. package/models/BuyerDeliverySelectionResult.js +3 -3
  208. package/models/BuyerEffectiveDeliverySelectionResource.js +2 -2
  209. package/models/BuyerFulfillmentEvent.js +2 -2
  210. package/models/BuyerFulfillmentEventListResponse.js +3 -3
  211. package/models/BuyerGiftCard.js +2 -2
  212. package/models/BuyerGiftCardListResponse.js +3 -3
  213. package/models/BuyerGiftCardResponse.js +3 -3
  214. package/models/BuyerGiftCardTransaction.js +2 -2
  215. package/models/BuyerGiftCardTransactionListResponse.js +3 -3
  216. package/models/BuyerInstructionsConfig.js +2 -2
  217. package/models/BuyerInvoice.js +3 -3
  218. package/models/BuyerInvoiceCheckoutSessionResponse.js +3 -3
  219. package/models/BuyerInvoiceCheckoutSessionResult.js +4 -4
  220. package/models/BuyerInvoiceLateFee.js +4 -4
  221. package/models/BuyerInvoiceListResponse.js +4 -4
  222. package/models/BuyerInvoiceResponse.js +4 -4
  223. package/models/BuyerPauseCapability.js +2 -2
  224. package/models/BuyerRefund.js +4 -4
  225. package/models/BuyerRefundListResponse.js +4 -4
  226. package/models/BuyerRetentionOffer.js +2 -2
  227. package/models/BuyerSubscriptionPaymentRetry.js +3 -3
  228. package/models/BuyerSubscriptionPaymentRetryResponse.js +4 -4
  229. package/models/CLITokenRequest.js +2 -2
  230. package/models/CLITokenResponse.js +2 -2
  231. package/models/CallerSuppliedDeliveryMethodResultRequest.js +3 -3
  232. package/models/CallerSuppliedDeliveryOutcomeRequest.js +3 -3
  233. package/models/CancelGiftCardNotificationRequest.js +3 -3
  234. package/models/CancelOrderPaymentAttemptRequest.js +3 -3
  235. package/models/CancelOrderPaymentAttemptResponse.js +4 -4
  236. package/models/CancelOrderPaymentAttemptResult.js +4 -4
  237. package/models/CancelOrderPaymentRequest.js +3 -3
  238. package/models/CancelPaymentIntentRequest.js +3 -3
  239. package/models/CancelPayoutRequest.js +3 -3
  240. package/models/CancelReturnDispositionRequest.js +3 -3
  241. package/models/CancelReturnDispositionResponse.js +4 -4
  242. package/models/CancelReturnLineItemRequest.js +3 -3
  243. package/models/CancelReturnLineItemResponse.js +4 -4
  244. package/models/CancelReturnRequest.js +3 -3
  245. package/models/CancelReturnResolutionRequest.js +3 -3
  246. package/models/CancelReturnResolutionResponse.js +4 -4
  247. package/models/CancelReturnResponse.js +4 -4
  248. package/models/CancelSubscriptionRequest.js +3 -3
  249. package/models/Capability.js +4 -4
  250. package/models/CapabilityListResponse.js +4 -4
  251. package/models/CapabilityRequirements.js +3 -3
  252. package/models/CaptureOrderPaymentRequest.js +3 -3
  253. package/models/CapturePaymentIntentRequest.js +3 -3
  254. package/models/CardDetails.js +3 -3
  255. package/models/CatalogSettings.js +3 -3
  256. package/models/Category.js +3 -3
  257. package/models/CategoryListResponse.js +4 -4
  258. package/models/CategoryReference.js +3 -3
  259. package/models/CategoryResponse.js +4 -4
  260. package/models/ChangeSubscriptionPaymentMethodRequest.js +3 -3
  261. package/models/CheckoutAccess.js +3 -3
  262. package/models/CheckoutBuyerContact.js +2 -2
  263. package/models/CheckoutBuyerContactRequest.js +2 -2
  264. package/models/CheckoutCustomTextConfig.js +2 -2
  265. package/models/CheckoutCustomTextWriteConfig.js +2 -2
  266. package/models/CheckoutCustomerConfig.js +2 -2
  267. package/models/CheckoutCustomerPrefill.js +2 -2
  268. package/models/CheckoutCustomerVerification.js +2 -2
  269. package/models/CheckoutCustomerVerificationConfirmation.js +3 -3
  270. package/models/CheckoutCustomerVerificationConfirmationResponse.js +3 -3
  271. package/models/CheckoutCustomerVerificationResponse.js +3 -3
  272. package/models/CheckoutDeliveryPinnedDependency.js +2 -2
  273. package/models/CheckoutDeliveryQuoteResponse.js +3 -3
  274. package/models/CheckoutDeliverySelectionResultResponse.js +3 -3
  275. package/models/CheckoutDerivedDeliveryResource.js +2 -2
  276. package/models/CheckoutDerivedMerchantDeliveryResource.js +2 -2
  277. package/models/CheckoutEffectiveDeliverySelectionResponse.js +3 -3
  278. package/models/CheckoutExpirationConfig.js +2 -2
  279. package/models/CheckoutLegalConfig.js +2 -2
  280. package/models/CheckoutMerchantSupport.js +2 -2
  281. package/models/CheckoutPaymentConfig.js +2 -2
  282. package/models/CheckoutPaymentMethodSave.js +2 -2
  283. package/models/CheckoutProblemResource.js +3 -3
  284. package/models/CheckoutPromotionConfig.js +2 -2
  285. package/models/CheckoutQuickPayItemRequest.js +2 -2
  286. package/models/CheckoutRecoveryEmailSettings.js +2 -2
  287. package/models/CheckoutRedirectsConfig.js +2 -2
  288. package/models/CheckoutSavedPaymentDetailsSettings.js +2 -2
  289. package/models/CheckoutSession.js +3 -3
  290. package/models/CheckoutSessionLaunchResponse.js +3 -3
  291. package/models/CheckoutSessionLaunchResult.js +3 -3
  292. package/models/CheckoutSessionLineItemModifierUpdate.js +3 -3
  293. package/models/CheckoutSessionLineItemModifierUpdateResponse.js +3 -3
  294. package/models/CheckoutSessionListResponse.js +3 -3
  295. package/models/CheckoutSessionResponse.js +3 -3
  296. package/models/CheckoutSessionRevisionConflictDetail.js +2 -2
  297. package/models/CheckoutSettings.js +2 -2
  298. package/models/CheckoutSubscriptionTerms.js +2 -2
  299. package/models/CheckoutTaxConfig.js +2 -2
  300. package/models/CheckoutTipConfig.js +2 -2
  301. package/models/CloseCheckoutSessionRequest.js +2 -2
  302. package/models/CloseOrderRequest.js +2 -2
  303. package/models/CollectInvoiceRequest.js +2 -2
  304. package/models/CollectInvoiceResponse.js +3 -3
  305. package/models/CollectInvoiceResult.js +3 -3
  306. package/models/CommitInventoryReservationRequest.js +2 -2
  307. package/models/CompleteReturnRequest.js +2 -2
  308. package/models/CompleteReturnResponse.js +3 -3
  309. package/models/ConfirmCheckoutCustomerVerificationRequest.js +2 -2
  310. package/models/ConfirmCustomerVerificationRequest.js +2 -2
  311. package/models/ConfirmEmailChangeRequest.js +2 -2
  312. package/models/ConfirmPaymentIntentRequest.js +2 -2
  313. package/models/ConfirmReturnResolutionRequest.js +2 -2
  314. package/models/ConfirmReturnResolutionResponse.js +3 -3
  315. package/models/ConsumeInventoryReservationRequest.js +2 -2
  316. package/models/CountMetric.js +2 -2
  317. package/models/CountProvenance.js +2 -2
  318. package/models/CreateAPIKeyRequest.js +2 -2
  319. package/models/CreateAPIKeyResponse.js +3 -3
  320. package/models/CreateBundleComponentRequest.js +2 -2
  321. package/models/CreateBundleRequest.js +2 -2
  322. package/models/CreateCategoryRequest.js +2 -2
  323. package/models/CreateCheckoutCustomerVerificationRequest.js +2 -2
  324. package/models/CreateCheckoutDeliveryQuoteRequest.js +2 -2
  325. package/models/CreateCheckoutSessionRequest.js +2 -2
  326. package/models/CreateCreditNoteAllocationRequest.js +2 -2
  327. package/models/CreateCreditNoteRefundRequest.js +2 -2
  328. package/models/CreateCreditNoteRequest.js +2 -2
  329. package/models/CreateCustomerAddressRequest.js +2 -2
  330. package/models/CreateCustomerRequest.js +2 -2
  331. package/models/CreateCustomerSessionRequest.js +2 -2
  332. package/models/CreateCustomerVerificationRequest.js +2 -2
  333. package/models/CreateDeliveryFulfillmentDetails.js +2 -2
  334. package/models/CreateDeliveryLocationSetRequest.js +2 -2
  335. package/models/CreateDeliveryMethodRequest.js +2 -2
  336. package/models/CreateDeliveryOptionsPreviewRequest.js +3 -3
  337. package/models/CreateDeliveryPickupLocationsPreviewRequest.js +2 -2
  338. package/models/CreateDeliveryPreviewRequest.js +3 -3
  339. package/models/CreateDeliveryProfileRequest.js +2 -2
  340. package/models/CreateDeliveryRateCallbackRequest.js +2 -2
  341. package/models/CreateDeliverySelectionChoiceRequest.js +2 -2
  342. package/models/CreateDeliverySelectionRequest.js +2 -2
  343. package/models/CreateDeliveryZoneRequest.js +2 -2
  344. package/models/CreateDemoSessionRequest.js +2 -2
  345. package/models/CreateDeviceRequest.js +2 -2
  346. package/models/CreateDeviceResponse.js +3 -3
  347. package/models/CreateDeviceResult.js +2 -2
  348. package/models/CreateDigitalFulfillmentDetails.js +2 -2
  349. package/models/CreateEmailChangeRequest.js +2 -2
  350. package/models/CreateFeedbackReportRequest.js +2 -2
  351. package/models/CreateFulfillmentEventRequest.js +2 -2
  352. package/models/CreateFulfillmentRequest.js +2 -2
  353. package/models/CreateGiftCardAdjustmentRequest.js +2 -2
  354. package/models/CreateGiftCardCashOutRequest.js +2 -2
  355. package/models/CreateGiftCardFundingDispositionRequest.js +2 -2
  356. package/models/CreateGiftCardLoadRequest.js +2 -2
  357. package/models/CreateGiftCardNotificationRequest.js +2 -2
  358. package/models/CreateGiftCardRedemptionRequest.js +2 -2
  359. package/models/CreateGiftCardRequest.js +2 -2
  360. package/models/CreateInlineModifierGroupRequest.js +2 -2
  361. package/models/CreateInventoryAdjustmentRequest.js +2 -2
  362. package/models/CreateInventoryAllocationPolicyRequest.js +2 -2
  363. package/models/CreateInventoryCountRequest.js +2 -2
  364. package/models/CreateInventoryItemRequest.js +2 -2
  365. package/models/CreateInventoryReceiptRequest.js +2 -2
  366. package/models/CreateInventoryReservationRequest.js +3 -3
  367. package/models/CreateInventoryTransferRequest.js +2 -2
  368. package/models/CreateInvoicePaymentTermRequest.js +3 -3
  369. package/models/CreateInvoiceQuickPayRequest.js +3 -3
  370. package/models/CreateInvoiceRequest.js +3 -3
  371. package/models/CreateLocationRequest.js +2 -2
  372. package/models/CreateModifierGroupRequest.js +2 -2
  373. package/models/CreateModifierRequest.js +2 -2
  374. package/models/CreateModifierSetGroupRequest.js +2 -2
  375. package/models/CreateModifierSetRequest.js +2 -2
  376. package/models/CreateOrderDiscount.js +3 -3
  377. package/models/CreateOrderLineItem.js +3 -3
  378. package/models/CreateOrderPaymentIntentRequest.js +2 -2
  379. package/models/CreateOrderPaymentIntentResponse.js +3 -3
  380. package/models/CreateOrderPaymentIntentResult.js +3 -3
  381. package/models/CreateOrderRequest.js +3 -3
  382. package/models/CreateOrderTip.js +2 -2
  383. package/models/CreateOrganizationRequest.js +2 -2
  384. package/models/CreatePackageItemRequest.js +2 -2
  385. package/models/CreatePackageRequest.js +2 -2
  386. package/models/CreatePackageResponse.js +3 -3
  387. package/models/CreatePackageResult.js +2 -2
  388. package/models/CreatePartnerAppRequest.js +2 -2
  389. package/models/CreatePartnerAppResponse.js +3 -3
  390. package/models/CreatePaymentIntentRequest.js +2 -2
  391. package/models/CreatePaymentIntentResponse.js +3 -3
  392. package/models/CreatePaymentIntentResult.js +3 -3
  393. package/models/CreatePaymentLinkRequest.js +3 -3
  394. package/models/CreatePaymentMethodDomainRequest.js +2 -2
  395. package/models/CreatePayoutRequest.js +2 -2
  396. package/models/CreatePickupFulfillmentDetails.js +2 -2
  397. package/models/CreateProductOptionRequest.js +2 -2
  398. package/models/CreateProductOptionValueRequest.js +2 -2
  399. package/models/CreateProductRequest.js +2 -2
  400. package/models/CreateProductVariantRequest.js +2 -2
  401. package/models/CreatePromotionCodeRequest.js +2 -2
  402. package/models/CreatePromotionRequest.js +3 -3
  403. package/models/CreateRefundRequest.js +3 -3
  404. package/models/CreateRefundResponse.js +3 -3
  405. package/models/CreateReportRequest.js +2 -2
  406. package/models/CreateReturnDispositionRequest.js +2 -2
  407. package/models/CreateReturnDispositionResponse.js +3 -3
  408. package/models/CreateReturnEligibilityCheckRequest.js +3 -3
  409. package/models/CreateReturnInspectionRequest.js +2 -2
  410. package/models/CreateReturnInspectionResponse.js +3 -3
  411. package/models/CreateReturnPolicyRequest.js +3 -3
  412. package/models/CreateReturnPolicyResponse.js +3 -3
  413. package/models/CreateReturnPreviewData.js +3 -3
  414. package/models/CreateReturnPreviewRequest.js +3 -3
  415. package/models/CreateReturnPreviewResponse.js +3 -3
  416. package/models/CreateReturnReasonRequest.js +2 -2
  417. package/models/CreateReturnReasonResponse.js +3 -3
  418. package/models/CreateReturnReceiptRequest.js +3 -3
  419. package/models/CreateReturnReceiptResponse.js +3 -3
  420. package/models/CreateReturnRequest.js +2 -2
  421. package/models/CreateReturnResolutionPreviewRequest.js +3 -3
  422. package/models/CreateReturnResolutionRequest.js +3 -3
  423. package/models/CreateReturnResolutionResponse.js +3 -3
  424. package/models/CreateReturnResponse.js +3 -3
  425. package/models/CreateRiskListRequest.js +2 -2
  426. package/models/CreateRiskPreviewRequest.js +3 -3
  427. package/models/CreateRiskRuleRequest.js +3 -3
  428. package/models/CreateSandboxRequest.js +2 -2
  429. package/models/CreateServiceFulfillmentDetails.js +2 -2
  430. package/models/CreateShipmentRequest.js +2 -2
  431. package/models/CreateShipmentResponse.js +3 -3
  432. package/models/CreateShipmentResult.js +2 -2
  433. package/models/CreateSubscriptionPlanRequest.js +3 -3
  434. package/models/CreateSubscriptionRequest.js +3 -3
  435. package/models/CreateWebhookEndpointRequest.js +2 -2
  436. package/models/CreateWebhookTestEventRequest.js +2 -2
  437. package/models/CreditNote.js +2 -2
  438. package/models/CreditNoteAllocation.js +2 -2
  439. package/models/CreditNoteAllocationListResponse.js +3 -3
  440. package/models/CreditNoteAllocationResponse.js +3 -3
  441. package/models/CreditNoteAllocationResult.js +3 -3
  442. package/models/CreditNoteAllocationResultResponse.js +3 -3
  443. package/models/CreditNoteCorrectionRequest.js +2 -2
  444. package/models/CreditNoteLine.js +2 -2
  445. package/models/CreditNoteLineRequest.js +2 -2
  446. package/models/CreditNoteListResponse.js +3 -3
  447. package/models/CreditNoteRefundListResponse.js +3 -3
  448. package/models/CreditNoteRefundRequest.js +2 -2
  449. package/models/CreditNoteResponse.js +3 -3
  450. package/models/CustomDomainStatus.js +2 -2
  451. package/models/CustomDomainStatusChange.js +2 -2
  452. package/models/Customer.js +2 -2
  453. package/models/CustomerAccountDNSRecord.js +2 -2
  454. package/models/CustomerAccountPresentation.js +2 -2
  455. package/models/CustomerAccountRouteTemplates.js +2 -2
  456. package/models/CustomerAccountSettings.js +2 -2
  457. package/models/CustomerAddress.js +2 -2
  458. package/models/CustomerAddressListResponse.js +3 -3
  459. package/models/CustomerAddressResponse.js +3 -3
  460. package/models/CustomerDeletionRequest.js +2 -2
  461. package/models/CustomerDeletionRequestListResponse.js +3 -3
  462. package/models/CustomerDeletionRequestResponse.js +3 -3
  463. package/models/CustomerEmailDeliverySettings.js +2 -2
  464. package/models/CustomerEmailPreferences.js +2 -2
  465. package/models/CustomerEmailPreferencesResponse.js +3 -3
  466. package/models/CustomerListResponse.js +3 -3
  467. package/models/CustomerReceivableBalance.js +2 -2
  468. package/models/CustomerReceivables.js +2 -2
  469. package/models/CustomerResponse.js +3 -3
  470. package/models/CustomerSession.js +2 -2
  471. package/models/CustomerSessionResponse.js +3 -3
  472. package/models/CustomerSessionRevocation.js +2 -2
  473. package/models/CustomerSessionRevocationResponse.js +3 -3
  474. package/models/CustomerSessionsRevocation.js +2 -2
  475. package/models/CustomerSessionsRevocationResponse.js +3 -3
  476. package/models/CustomerVerification.js +2 -2
  477. package/models/CustomerVerificationResponse.js +3 -3
  478. package/models/DecideReturnInspectionLineItemRequest.js +2 -2
  479. package/models/DecideReturnInspectionLineItemResponse.js +3 -3
  480. package/models/DecideReturnRequest.js +3 -3
  481. package/models/DecideReturnResponse.js +3 -3
  482. package/models/DeclineReviewRequest.js +2 -2
  483. package/models/DeletePayoutDestinationRequest.js +2 -2
  484. package/models/DeleteReturnLineItemResponse.js +3 -3
  485. package/models/DeleteReturnPolicyResponse.js +3 -3
  486. package/models/DeleteReturnReasonResponse.js +3 -3
  487. package/models/DeliveryAddressAdvisoryResource.js +2 -2
  488. package/models/DeliveryAddressRequest.js +2 -2
  489. package/models/DeliveryAddressResource.js +2 -2
  490. package/models/DeliveryArrivalEstimate.js +2 -2
  491. package/models/DeliveryAvailability.js +2 -2
  492. package/models/DeliveryBlackoutInterval.js +2 -2
  493. package/models/DeliveryBusinessDayRange.js +2 -2
  494. package/models/DeliveryBuyerLocationRequest.js +2 -2
  495. package/models/DeliveryBuyerLocationResource.js +2 -2
  496. package/models/DeliveryCalculatedPricingStrategy.js +2 -2
  497. package/models/DeliveryCalculatedPricingStrategyRequest.js +2 -2
  498. package/models/DeliveryCallbackPricingStrategyRequest.js +2 -2
  499. package/models/DeliveryCallerSuppliedPricingStrategyRequest.js +2 -2
  500. package/models/DeliveryCandidateOutcomeResource.js +2 -2
  501. package/models/DeliveryCoordinateRequest.js +2 -2
  502. package/models/DeliveryCountryCondition.js +2 -2
  503. package/models/DeliveryCustomerBooleanCondition.js +2 -2
  504. package/models/DeliveryCustomerGroupCondition.js +2 -2
  505. package/models/DeliveryDistance.js +2 -2
  506. package/models/DeliveryDistanceUnitPrice.js +2 -2
  507. package/models/DeliveryDistanceUnitPriceRequest.js +2 -2
  508. package/models/DeliveryEligibilityExpression.js +2 -2
  509. package/models/DeliveryEligibilityMismatch.js +2 -2
  510. package/models/DeliveryEstimateRule.js +2 -2
  511. package/models/DeliveryEstimateRuleRequest.js +2 -2
  512. package/models/DeliveryExternalPricingStrategy.js +2 -2
  513. package/models/DeliveryFixedPricingStrategy.js +2 -2
  514. package/models/DeliveryFixedPricingStrategyRequest.js +2 -2
  515. package/models/DeliveryFulfillmentDetails.js +2 -2
  516. package/models/DeliveryInputConstraint.js +2 -2
  517. package/models/DeliveryInputRequirement.js +2 -2
  518. package/models/DeliveryInventoryAssignmentRequest.js +2 -2
  519. package/models/DeliveryInventoryReservationSummary.js +2 -2
  520. package/models/DeliveryLocalDeliveryDetails.js +2 -2
  521. package/models/DeliveryLocationSet.js +2 -2
  522. package/models/DeliveryLocationSetConfiguration.js +2 -2
  523. package/models/DeliveryLocationSetListResponse.js +3 -3
  524. package/models/DeliveryLocationSetResponse.js +3 -3
  525. package/models/DeliveryLocationSummaryResource.js +2 -2
  526. package/models/DeliveryMerchantDiagnostic.js +2 -2
  527. package/models/DeliveryMethod.js +2 -2
  528. package/models/DeliveryMethodConfiguration.js +2 -2
  529. package/models/DeliveryMethodConfigurationCreateRequest.js +2 -2
  530. package/models/DeliveryMethodConfigurationRequest.js +2 -2
  531. package/models/DeliveryMethodListResponse.js +3 -3
  532. package/models/DeliveryMethodOriginSelector.js +2 -2
  533. package/models/DeliveryMethodOriginSelectorRequest.js +2 -2
  534. package/models/DeliveryMethodResponse.js +3 -3
  535. package/models/DeliveryOptionProjection.js +2 -2
  536. package/models/DeliveryPendingCallerRateRequest.js +2 -2
  537. package/models/DeliveryPickupAvailability.js +2 -2
  538. package/models/DeliveryPickupAvailabilityCandidateOutcome.js +2 -2
  539. package/models/DeliveryPickupAvailabilityDiagnostic.js +2 -2
  540. package/models/DeliveryPickupAvailabilityLocationResource.js +2 -2
  541. package/models/DeliveryPickupAvailabilityLocationSummary.js +2 -2
  542. package/models/DeliveryPickupAvailabilityMaximumDistanceRequest.js +2 -2
  543. package/models/DeliveryPickupAvailabilityMethodResource.js +2 -2
  544. package/models/DeliveryPickupAvailabilityQuantityResource.js +2 -2
  545. package/models/DeliveryPickupDetails.js +2 -2
  546. package/models/DeliveryPlan.js +2 -2
  547. package/models/DeliveryPostalCodeCondition.js +2 -2
  548. package/models/DeliveryPostalCodeValue.js +2 -2
  549. package/models/DeliveryPreview.js +3 -3
  550. package/models/DeliveryPreviewChoiceGroupResource.js +2 -2
  551. package/models/DeliveryPreviewResponse.js +3 -3
  552. package/models/DeliveryPreviewRoutingSource.js +2 -2
  553. package/models/DeliveryPricingRate.js +2 -2
  554. package/models/DeliveryPricingRateCreateRequest.js +2 -2
  555. package/models/DeliveryPricingRateRequest.js +2 -2
  556. package/models/DeliveryPricingStrategy.js +2 -2
  557. package/models/DeliveryPricingStrategyCreateRequest.js +2 -2
  558. package/models/DeliveryPricingStrategyRequest.js +2 -2
  559. package/models/DeliveryPricingTierBand.js +2 -2
  560. package/models/DeliveryPricingTierBandRequest.js +2 -2
  561. package/models/DeliveryProfile.js +2 -2
  562. package/models/DeliveryProfileAssignment.js +2 -2
  563. package/models/DeliveryProfileAssignmentResponse.js +3 -3
  564. package/models/DeliveryProfileConfiguration.js +2 -2
  565. package/models/DeliveryProfileConfigurationRequest.js +2 -2
  566. package/models/DeliveryProfileDiagnostics.js +2 -2
  567. package/models/DeliveryProfileListResponse.js +3 -3
  568. package/models/DeliveryProfileOriginPolicy.js +2 -2
  569. package/models/DeliveryProfileOriginPolicyRequest.js +2 -2
  570. package/models/DeliveryProfileResponse.js +3 -3
  571. package/models/DeliveryQuote.js +2 -2
  572. package/models/DeliveryQuoteChoiceGroupResource.js +2 -2
  573. package/models/DeliveryQuoteExecutionLegResource.js +2 -2
  574. package/models/DeliveryQuoteLineItemResource.js +2 -2
  575. package/models/DeliveryQuoteListResponse.js +3 -3
  576. package/models/DeliveryQuoteMethodResource.js +2 -2
  577. package/models/DeliveryRadiusCondition.js +2 -2
  578. package/models/DeliveryRadiusOrigin.js +2 -2
  579. package/models/DeliveryRateCallback.js +2 -2
  580. package/models/DeliveryRateCallbackConfiguration.js +2 -2
  581. package/models/DeliveryRateCallbackConnectionCheck.js +2 -2
  582. package/models/DeliveryRateCallbackConnectionCheckResponse.js +3 -3
  583. package/models/DeliveryRateCallbackListResponse.js +3 -3
  584. package/models/DeliveryRateCallbackResponse.js +3 -3
  585. package/models/DeliveryRateCallbackSigningKeyRotation.js +2 -2
  586. package/models/DeliveryRateCallbackSigningKeyRotationResponse.js +3 -3
  587. package/models/DeliveryRateCallbackTestDelivery.js +2 -2
  588. package/models/DeliveryRateCallbackTestDeliveryResponse.js +3 -3
  589. package/models/DeliveryRateTablePricingStrategy.js +2 -2
  590. package/models/DeliveryRateTablePricingStrategyCreateRequest.js +2 -2
  591. package/models/DeliveryRateTablePricingStrategyRequest.js +2 -2
  592. package/models/DeliveryRecipientRequirement.js +2 -2
  593. package/models/DeliveryRecipientResource.js +2 -2
  594. package/models/DeliveryRevocation.js +2 -2
  595. package/models/DeliveryRevocationImpact.js +2 -2
  596. package/models/DeliveryRevocationResponse.js +3 -3
  597. package/models/DeliveryRevocationTarget.js +2 -2
  598. package/models/DeliveryScheduleWindowRule.js +2 -2
  599. package/models/DeliveryScheduleWindowRuleRequest.js +2 -2
  600. package/models/DeliverySelection.js +2 -2
  601. package/models/DeliverySelectionChoiceResource.js +2 -2
  602. package/models/DeliverySelectionInstructionsRequest.js +2 -2
  603. package/models/DeliverySelectionLifecycleEventResource.js +2 -2
  604. package/models/DeliverySelectionRecipientRequest.js +2 -2
  605. package/models/DeliverySelectionResponse.js +3 -3
  606. package/models/DeliverySelectionResult.js +3 -3
  607. package/models/DeliveryShipmentDetails.js +2 -2
  608. package/models/DeliveryStateCondition.js +2 -2
  609. package/models/DeliveryTieredPricingStrategy.js +2 -2
  610. package/models/DeliveryTieredPricingStrategyRequest.js +2 -2
  611. package/models/DeliveryTransitTimeRule.js +2 -2
  612. package/models/DeliveryWeeklyInterval.js +2 -2
  613. package/models/DeliveryWeightUnitPrice.js +2 -2
  614. package/models/DeliveryWeightUnitPriceRequest.js +2 -2
  615. package/models/DeliveryWindowRequest.js +2 -2
  616. package/models/DeliveryWindowResource.js +2 -2
  617. package/models/DeliveryWindowTimeCondition.js +2 -2
  618. package/models/DeliveryZone.js +2 -2
  619. package/models/DeliveryZoneCondition.js +2 -2
  620. package/models/DeliveryZoneConfiguration.js +2 -2
  621. package/models/DeliveryZoneListResponse.js +3 -3
  622. package/models/DeliveryZoneResponse.js +3 -3
  623. package/models/DemoSession.js +2 -2
  624. package/models/DemoSessionAPIKey.js +2 -2
  625. package/models/DemoSessionResponse.js +3 -3
  626. package/models/DeveloperAuthContext.js +2 -2
  627. package/models/DeveloperAuthContextResponse.js +3 -3
  628. package/models/DeveloperInitialAPIKeyRequest.js +2 -2
  629. package/models/DeveloperSandbox.js +2 -2
  630. package/models/DeveloperSandboxWithAPIKey.js +2 -2
  631. package/models/Device.js +2 -2
  632. package/models/DeviceListResponse.js +3 -3
  633. package/models/DeviceResponse.js +3 -3
  634. package/models/DigitalFulfillmentDetails.js +2 -2
  635. package/models/Dimensions.js +2 -2
  636. package/models/DiscountPreview.js +2 -2
  637. package/models/DiscountPreviewRequest.js +3 -3
  638. package/models/DiscountPreviewResponse.js +3 -3
  639. package/models/Dispute.js +2 -2
  640. package/models/DisputeListResponse.js +3 -3
  641. package/models/DisputeResponse.js +3 -3
  642. package/models/DocumentTaxID.js +2 -2
  643. package/models/EffectiveDeliverySelectionResource.js +2 -2
  644. package/models/EmailChangeRequest.js +2 -2
  645. package/models/EmailChangeRequestResponse.js +3 -3
  646. package/models/EmailPreferenceLink.js +2 -2
  647. package/models/EmailPreferenceLinkRequest.js +2 -2
  648. package/models/EmailPreferenceLinkResponse.js +3 -3
  649. package/models/ErrorDetail.js +3 -3
  650. package/models/ErrorEnvelope.js +3 -3
  651. package/models/ErrorObject.js +3 -3
  652. package/models/ErrorRemediation.js +3 -3
  653. package/models/ErrorResourceReference.js +2 -2
  654. package/models/ExpandedCustomerSummary.js +2 -2
  655. package/models/ExpandedInvoiceSummary.js +2 -2
  656. package/models/ExpandedOrderSummary.js +2 -2
  657. package/models/ExpandedOrganizationSummary.js +2 -2
  658. package/models/ExpandedPackageSummary.js +2 -2
  659. package/models/ExpandedPaymentIntentSummary.js +3 -3
  660. package/models/ExpandedPaymentLinkSummary.js +2 -2
  661. package/models/ExpandedPaymentMethodSummary.js +2 -2
  662. package/models/ExpandedPayoutDestinationSummary.js +2 -2
  663. package/models/ExpandedPayoutSummary.js +2 -2
  664. package/models/ExpandedShipmentSummary.js +2 -2
  665. package/models/ExpandedSubscriptionPlanSummary.js +3 -3
  666. package/models/ExpandedSubscriptionSummary.js +2 -2
  667. package/models/FeedbackReport.js +2 -2
  668. package/models/FeedbackReportListResponse.js +3 -3
  669. package/models/FeedbackReportResponse.js +3 -3
  670. package/models/FeedbackReportingClient.js +2 -2
  671. package/models/FraudWarning.js +2 -2
  672. package/models/FraudWarningListResponse.js +3 -3
  673. package/models/FraudWarningResponse.js +3 -3
  674. package/models/Fulfillment.js +2 -2
  675. package/models/FulfillmentChargeLink.js +2 -2
  676. package/models/FulfillmentCommandResponse.js +3 -3
  677. package/models/FulfillmentCommandResult.js +2 -2
  678. package/models/FulfillmentEvent.js +2 -2
  679. package/models/FulfillmentEventListResponse.js +3 -3
  680. package/models/FulfillmentEventResourceResponse.js +3 -3
  681. package/models/FulfillmentEventResponse.js +3 -3
  682. package/models/FulfillmentEventResult.js +2 -2
  683. package/models/FulfillmentHold.js +2 -2
  684. package/models/FulfillmentLineItem.js +2 -2
  685. package/models/FulfillmentLineItemRequest.js +2 -2
  686. package/models/FulfillmentListResponse.js +3 -3
  687. package/models/FulfillmentNotification.js +2 -2
  688. package/models/FulfillmentNotificationListResponse.js +3 -3
  689. package/models/FulfillmentNotificationResponse.js +3 -3
  690. package/models/FulfillmentOutcome.js +2 -2
  691. package/models/FulfillmentPackagingRequest.js +2 -2
  692. package/models/FulfillmentRecipient.js +2 -2
  693. package/models/FulfillmentResponse.js +3 -3
  694. package/models/FulfillmentSettings.js +2 -2
  695. package/models/FulfillmentTransitionRequest.js +2 -2
  696. package/models/FulfillmentTransitionRequestAccept.js +2 -2
  697. package/models/FulfillmentTransitionRequestCancel.js +2 -2
  698. package/models/FulfillmentTransitionRequestComplete.js +2 -2
  699. package/models/FulfillmentTransitionRequestDispatch.js +2 -2
  700. package/models/FulfillmentTransitionRequestFail.js +2 -2
  701. package/models/FulfillmentTransitionRequestHold.js +2 -2
  702. package/models/FulfillmentTransitionRequestMarkNoShow.js +2 -2
  703. package/models/FulfillmentTransitionRequestMarkPacked.js +2 -2
  704. package/models/FulfillmentTransitionRequestMarkPicked.js +2 -2
  705. package/models/FulfillmentTransitionRequestMarkPreparing.js +2 -2
  706. package/models/FulfillmentTransitionRequestMarkReady.js +2 -2
  707. package/models/FulfillmentTransitionRequestSchedule.js +2 -2
  708. package/models/FulfillmentTransitionRequestStart.js +2 -2
  709. package/models/GetOrCreateReturnResolutionCheckoutSessionRequest.js +2 -2
  710. package/models/GetOrCreateReturnResolutionCheckoutSessionResponse.js +3 -3
  711. package/models/GetPaymentIntentResponse.js +3 -3
  712. package/models/GetPaymentIntentResult.js +3 -3
  713. package/models/GetReturnDispositionResponse.js +3 -3
  714. package/models/GetReturnInspectionResponse.js +3 -3
  715. package/models/GetReturnLineItemResponse.js +3 -3
  716. package/models/GetReturnPolicyResponse.js +3 -3
  717. package/models/GetReturnPolicyRevisionResponse.js +3 -3
  718. package/models/GetReturnReasonResponse.js +3 -3
  719. package/models/GetReturnReceiptResponse.js +3 -3
  720. package/models/GetReturnResolutionResponse.js +3 -3
  721. package/models/GetReturnResponse.js +3 -3
  722. package/models/GiftCard.js +2 -2
  723. package/models/GiftCardCommandResponse.js +3 -3
  724. package/models/GiftCardCommandResult.js +2 -2
  725. package/models/GiftCardCustomAmountBounds.js +2 -2
  726. package/models/GiftCardFundingDisposition.js +2 -2
  727. package/models/GiftCardFundingDispositionResponse.js +3 -3
  728. package/models/GiftCardFundingDispute.js +2 -2
  729. package/models/GiftCardFundingLossResolution.js +2 -2
  730. package/models/GiftCardFundingSource.js +2 -2
  731. package/models/GiftCardListResponse.js +3 -3
  732. package/models/GiftCardLoad.js +2 -2
  733. package/models/GiftCardLoadListResponse.js +3 -3
  734. package/models/GiftCardLoadResponse.js +3 -3
  735. package/models/GiftCardNotification.js +2 -2
  736. package/models/GiftCardNotificationDelivery.js +2 -2
  737. package/models/GiftCardNotificationDeliveryAttempt.js +2 -2
  738. package/models/GiftCardNotificationListResponse.js +3 -3
  739. package/models/GiftCardNotificationProviderOutcome.js +2 -2
  740. package/models/GiftCardNotificationRecipient.js +2 -2
  741. package/models/GiftCardNotificationResponse.js +3 -3
  742. package/models/GiftCardProductConfiguration.js +2 -2
  743. package/models/GiftCardPurchaseRecipient.js +2 -2
  744. package/models/GiftCardPurchaseRefundAllocation.js +2 -2
  745. package/models/GiftCardPurchaseRefundRecovery.js +2 -2
  746. package/models/GiftCardPurchaseRefundRecoveryDestination.js +2 -2
  747. package/models/GiftCardPurchaseRefundValueAllocation.js +2 -2
  748. package/models/GiftCardPurchaseRefundValueHold.js +2 -2
  749. package/models/GiftCardPurchaseRequest.js +2 -2
  750. package/models/GiftCardPurchaseRestoration.js +2 -2
  751. package/models/GiftCardPurchaseSnapshot.js +2 -2
  752. package/models/GiftCardRedemption.js +2 -2
  753. package/models/GiftCardRedemptionListResponse.js +3 -3
  754. package/models/GiftCardRedemptionResponse.js +3 -3
  755. package/models/GiftCardRefundProvenance.js +2 -2
  756. package/models/GiftCardResponse.js +3 -3
  757. package/models/GiftCardTransaction.js +2 -2
  758. package/models/GiftCardTransactionListResponse.js +3 -3
  759. package/models/GiftCardVersionRequest.js +2 -2
  760. package/models/GrantOrganizationMembershipRequest.js +2 -2
  761. package/models/GuestPurchaseLink.js +2 -2
  762. package/models/GuestPurchaseLinkResponse.js +3 -3
  763. package/models/HoldDetail.js +2 -2
  764. package/models/HostedCheckout.js +3 -3
  765. package/models/Image.js +2 -2
  766. package/models/ImageReferenceRequest.js +2 -2
  767. package/models/ImageRequest.js +2 -2
  768. package/models/IncomingWebhook04494e8bd1b3Payload.js +2 -2
  769. package/models/IncomingWebhook0480be55a902Payload.js +2 -2
  770. package/models/IncomingWebhook05810405f7d2Payload.js +2 -2
  771. package/models/IncomingWebhook067bab7c655aPayload.js +2 -2
  772. package/models/IncomingWebhook06baf65fb878Payload.js +2 -2
  773. package/models/IncomingWebhook0b04bd9d63dbPayload.js +2 -2
  774. package/models/IncomingWebhook0caa82ed1aafPayload.js +2 -2
  775. package/models/IncomingWebhook0d891c599afbPayload.js +2 -2
  776. package/models/IncomingWebhook0d9fec82cba8Payload.js +2 -2
  777. package/models/IncomingWebhook0ed7a866163aPayload.js +2 -2
  778. package/models/IncomingWebhook10de2029f92ePayload.js +2 -2
  779. package/models/IncomingWebhook1255f92e9f23Payload.js +2 -2
  780. package/models/IncomingWebhook13640c439e38Payload.js +2 -2
  781. package/models/IncomingWebhook14d267be17f3Payload.js +2 -2
  782. package/models/IncomingWebhook155e0b06aa8fPayload.js +2 -2
  783. package/models/IncomingWebhook172f57408f3aPayload.js +2 -2
  784. package/models/IncomingWebhook1824a72a4c81Payload.js +2 -2
  785. package/models/IncomingWebhook18deb3ad40c4Payload.js +2 -2
  786. package/models/IncomingWebhook1a6523f8bf80Payload.js +2 -2
  787. package/models/IncomingWebhook1def026adfecPayload.js +2 -2
  788. package/models/IncomingWebhook1eb1077dc5faPayload.js +2 -2
  789. package/models/IncomingWebhook2100acf09455Payload.js +2 -2
  790. package/models/IncomingWebhook2111a23e6e7cPayload.js +2 -2
  791. package/models/IncomingWebhook22d72673a8cdPayload.js +2 -2
  792. package/models/IncomingWebhook2410dfed959ePayload.js +2 -2
  793. package/models/IncomingWebhook2525f823ec7cPayload.js +2 -2
  794. package/models/IncomingWebhook25a1d8aaa819Payload.js +2 -2
  795. package/models/IncomingWebhook26154f9b0abbPayload.js +2 -2
  796. package/models/IncomingWebhook274ba21f04d5Payload.js +2 -2
  797. package/models/IncomingWebhook2786e5956695Payload.js +2 -2
  798. package/models/IncomingWebhook2841a4070c41Payload.js +2 -2
  799. package/models/IncomingWebhook2873f18b6724Payload.js +2 -2
  800. package/models/IncomingWebhook28c5dc1777e5Payload.js +2 -2
  801. package/models/IncomingWebhook28eb66b9f1a5Payload.js +2 -2
  802. package/models/IncomingWebhook290918a8af6ePayload.js +2 -2
  803. package/models/IncomingWebhook2b16597f72aaPayload.js +2 -2
  804. package/models/IncomingWebhook2c03ad91f156Payload.js +2 -2
  805. package/models/IncomingWebhook30ac14eea065Payload.js +2 -2
  806. package/models/IncomingWebhook31bad37575e1Payload.js +2 -2
  807. package/models/IncomingWebhook32b1c5e66db2Payload.js +2 -2
  808. package/models/IncomingWebhook335ccd991b2bPayload.js +2 -2
  809. package/models/IncomingWebhook33ee5571b4b4Payload.js +2 -2
  810. package/models/IncomingWebhook3573c4463034Payload.js +2 -2
  811. package/models/IncomingWebhook358012160ab8Payload.js +2 -2
  812. package/models/IncomingWebhook35b36170e2ebPayload.js +2 -2
  813. package/models/IncomingWebhook38eda7a4e990Payload.js +2 -2
  814. package/models/IncomingWebhook39300cef9ff7Payload.js +2 -2
  815. package/models/IncomingWebhook3a56bcc239ddPayload.js +2 -2
  816. package/models/IncomingWebhook3a84d3034c0dPayload.js +2 -2
  817. package/models/IncomingWebhook3ae537b058b5Payload.js +2 -2
  818. package/models/IncomingWebhook3b618fd743f5Payload.js +2 -2
  819. package/models/IncomingWebhook3b80f4a3f54aPayload.js +2 -2
  820. package/models/IncomingWebhook3bed705c5a7fPayload.js +2 -2
  821. package/models/IncomingWebhook3dbc0a577678Payload.js +2 -2
  822. package/models/IncomingWebhook3e1e165872bePayload.js +2 -2
  823. package/models/IncomingWebhook3e2b96ab23f9Payload.js +2 -2
  824. package/models/IncomingWebhook42d1750d6349Payload.js +2 -2
  825. package/models/IncomingWebhook42dd85c73d6bPayload.js +2 -2
  826. package/models/IncomingWebhook43a17bfb8144Payload.js +2 -2
  827. package/models/IncomingWebhook44764240a51fPayload.js +2 -2
  828. package/models/IncomingWebhook44e6923a1369Payload.js +2 -2
  829. package/models/IncomingWebhook45be12e0c91dPayload.js +2 -2
  830. package/models/IncomingWebhook46209f173440Payload.js +2 -2
  831. package/models/IncomingWebhook498370f9652cPayload.js +2 -2
  832. package/models/IncomingWebhook4cf95bc872d3Payload.js +2 -2
  833. package/models/IncomingWebhook527f9bd2c39dPayload.js +2 -2
  834. package/models/IncomingWebhook54f21d035575Payload.js +2 -2
  835. package/models/IncomingWebhook54f564ce918cPayload.js +2 -2
  836. package/models/IncomingWebhook5552ddfae579Payload.js +2 -2
  837. package/models/IncomingWebhook566155358f70Payload.js +2 -2
  838. package/models/IncomingWebhook587b04e915e2Payload.js +2 -2
  839. package/models/IncomingWebhook588d0bbca380Payload.js +2 -2
  840. package/models/IncomingWebhook58b33e47adbePayload.js +2 -2
  841. package/models/IncomingWebhook5bf59a0e8b86Payload.js +2 -2
  842. package/models/IncomingWebhook5de06b12da29Payload.js +2 -2
  843. package/models/IncomingWebhook60391de8320bPayload.js +2 -2
  844. package/models/IncomingWebhook607f05b24d65Payload.js +2 -2
  845. package/models/IncomingWebhook622846acc8b6Payload.js +2 -2
  846. package/models/IncomingWebhook63b2b06a26ecPayload.js +2 -2
  847. package/models/IncomingWebhook63cd5f8b0721Payload.js +2 -2
  848. package/models/IncomingWebhook64406eae7092Payload.js +2 -2
  849. package/models/IncomingWebhook647f08b314c3Payload.js +2 -2
  850. package/models/IncomingWebhook659c69fe23c6Payload.js +2 -2
  851. package/models/IncomingWebhook66f11b3fe6a8Payload.js +2 -2
  852. package/models/IncomingWebhook67cf9ddb98ebPayload.js +2 -2
  853. package/models/IncomingWebhook68e5035f44d1Payload.js +2 -2
  854. package/models/IncomingWebhook6a2a6e17495ePayload.js +2 -2
  855. package/models/IncomingWebhook6abcc176d530Payload.js +2 -2
  856. package/models/IncomingWebhook6d96c0c875cdPayload.js +2 -2
  857. package/models/IncomingWebhook6e888acafb4bPayload.js +2 -2
  858. package/models/IncomingWebhook6f55e77725f4Payload.js +2 -2
  859. package/models/IncomingWebhook701c073b0a0cPayload.js +2 -2
  860. package/models/IncomingWebhook7216a23a3dddPayload.js +2 -2
  861. package/models/IncomingWebhook72368f2647acPayload.js +2 -2
  862. package/models/IncomingWebhook7253fff5f748Payload.js +2 -2
  863. package/models/IncomingWebhook72eec85cad89Payload.js +2 -2
  864. package/models/IncomingWebhook769913a11504Payload.js +2 -2
  865. package/models/IncomingWebhook7730424c8474Payload.js +2 -2
  866. package/models/IncomingWebhook78590778ef68Payload.js +2 -2
  867. package/models/IncomingWebhook7adf7ff33e7aPayload.js +2 -2
  868. package/models/IncomingWebhook7bde345d1a10Payload.js +2 -2
  869. package/models/IncomingWebhook7c5df18e2269Payload.js +2 -2
  870. package/models/IncomingWebhook7cb66beed654Payload.js +2 -2
  871. package/models/IncomingWebhook7d17f7f10156Payload.js +2 -2
  872. package/models/IncomingWebhook7dc0310d3669Payload.js +2 -2
  873. package/models/IncomingWebhook7dd2b7d6ef54Payload.js +2 -2
  874. package/models/IncomingWebhook8061fc32f027Payload.js +2 -2
  875. package/models/IncomingWebhook8172dd26545fPayload.js +2 -2
  876. package/models/IncomingWebhook8364247aa322Payload.js +2 -2
  877. package/models/IncomingWebhook88596065c1b9Payload.js +2 -2
  878. package/models/IncomingWebhook88c91570cbe0Payload.js +2 -2
  879. package/models/IncomingWebhook89b737dd7119Payload.js +2 -2
  880. package/models/IncomingWebhook8b9272735b74Payload.js +2 -2
  881. package/models/IncomingWebhook8c8f435e6e23Payload.js +2 -2
  882. package/models/IncomingWebhook8d0ecb37ce13Payload.js +2 -2
  883. package/models/IncomingWebhook90b44f6ab93dPayload.js +2 -2
  884. package/models/IncomingWebhook90c487338917Payload.js +2 -2
  885. package/models/IncomingWebhook9123c6d282f9Payload.js +2 -2
  886. package/models/IncomingWebhook9647232e2632Payload.js +2 -2
  887. package/models/IncomingWebhook968a85236406Payload.js +2 -2
  888. package/models/IncomingWebhook96ad40704e72Payload.js +2 -2
  889. package/models/IncomingWebhook96bb47deea93Payload.js +2 -2
  890. package/models/IncomingWebhook96e4efc9dab0Payload.js +2 -2
  891. package/models/IncomingWebhook97e2715bf986Payload.js +2 -2
  892. package/models/IncomingWebhook98a976c72b8ePayload.js +2 -2
  893. package/models/IncomingWebhook993ba0d279b8Payload.js +2 -2
  894. package/models/IncomingWebhook9a3120a73ba6Payload.js +2 -2
  895. package/models/IncomingWebhook9ae0cd21c3dbPayload.js +2 -2
  896. package/models/IncomingWebhook9b7963c3e444Payload.js +2 -2
  897. package/models/IncomingWebhook9d6f9adeef1cPayload.js +2 -2
  898. package/models/IncomingWebhook9f2c64cbfcafPayload.js +2 -2
  899. package/models/IncomingWebhook9f970012f914Payload.js +2 -2
  900. package/models/IncomingWebhooka1881a33c0d8Payload.js +2 -2
  901. package/models/IncomingWebhooka532d2deefcaPayload.js +2 -2
  902. package/models/IncomingWebhooka9876afe4b94Payload.js +2 -2
  903. package/models/IncomingWebhooka9d01c88ec13Payload.js +2 -2
  904. package/models/IncomingWebhooka9f404707239Payload.js +2 -2
  905. package/models/IncomingWebhookac68e02edc21Payload.js +2 -2
  906. package/models/IncomingWebhookad7368dbf165Payload.js +2 -2
  907. package/models/IncomingWebhookafe737e725c6Payload.js +2 -2
  908. package/models/IncomingWebhookb1293e1abb2aPayload.js +2 -2
  909. package/models/IncomingWebhookb162e468fa9aPayload.js +2 -2
  910. package/models/IncomingWebhookb1a2881c3c8dPayload.js +4 -4
  911. package/models/IncomingWebhookb1a3cccf875cPayload.js +3 -3
  912. package/models/IncomingWebhookb5e016d3aecaPayload.js +3 -3
  913. package/models/IncomingWebhookb65376063a56Payload.js +4 -4
  914. package/models/IncomingWebhookb78f9b55b73fPayload.js +3 -3
  915. package/models/IncomingWebhookb85f38361fb8Payload.js +3 -3
  916. package/models/IncomingWebhookb887d4b2753cPayload.js +3 -3
  917. package/models/IncomingWebhookb9b1da5ab933Payload.js +3 -3
  918. package/models/IncomingWebhookbb439dd961a8Payload.js +3 -3
  919. package/models/IncomingWebhookbca943d8a28aPayload.js +3 -3
  920. package/models/IncomingWebhookbd445ea5b01aPayload.js +3 -3
  921. package/models/IncomingWebhookbec68ec6ef2ePayload.js +3 -3
  922. package/models/IncomingWebhookbfe731fc8c52Payload.js +3 -3
  923. package/models/IncomingWebhookc04d32fcb4e2Payload.js +4 -4
  924. package/models/IncomingWebhookc3ebf1cf7ec9Payload.js +3 -3
  925. package/models/IncomingWebhookc6907837bb30Payload.js +3 -3
  926. package/models/IncomingWebhookc71d9380e0c9Payload.js +3 -3
  927. package/models/IncomingWebhookc7c9c518e9d3Payload.js +3 -3
  928. package/models/IncomingWebhookc823e4336c4aPayload.js +3 -3
  929. package/models/IncomingWebhookc82943441c1dPayload.js +3 -3
  930. package/models/IncomingWebhookc8cb35576c0fPayload.js +3 -3
  931. package/models/IncomingWebhookc8e851ec1b62Payload.js +3 -3
  932. package/models/IncomingWebhookcbaf05798f54Payload.js +3 -3
  933. package/models/IncomingWebhookce317e37a514Payload.js +3 -3
  934. package/models/IncomingWebhookcf769e4fa54cPayload.js +3 -3
  935. package/models/IncomingWebhookcfa0fc3e7b61Payload.js +3 -3
  936. package/models/IncomingWebhookcff5d1339489Payload.js +4 -4
  937. package/models/IncomingWebhookd299182c6639Payload.js +3 -3
  938. package/models/IncomingWebhookd2d184df8ba4Payload.js +3 -3
  939. package/models/IncomingWebhookd429a10e7388Payload.js +3 -3
  940. package/models/IncomingWebhookd5308faf7210Payload.js +3 -3
  941. package/models/IncomingWebhookd5a6f520dad7Payload.js +3 -3
  942. package/models/IncomingWebhookd5c9a344b9b1Payload.js +3 -3
  943. package/models/IncomingWebhookd61edf29f9d2Payload.js +3 -3
  944. package/models/IncomingWebhookd7a01fed3e2fPayload.js +3 -3
  945. package/models/IncomingWebhookd7ae2aa49927Payload.js +3 -3
  946. package/models/IncomingWebhookd8d5a73039b9Payload.js +3 -3
  947. package/models/IncomingWebhookdb74c29bf1ffPayload.js +3 -3
  948. package/models/IncomingWebhookdb9dd209977aPayload.js +3 -3
  949. package/models/IncomingWebhookdc1126d5a87dPayload.js +4 -4
  950. package/models/IncomingWebhookdc2332579846Payload.js +3 -3
  951. package/models/IncomingWebhookdd77f0f69512Payload.js +3 -3
  952. package/models/IncomingWebhookde0dbbc12385Payload.js +4 -4
  953. package/models/IncomingWebhooke22691fcc424Payload.js +3 -3
  954. package/models/IncomingWebhooke24aaa50d5c2Payload.js +3 -3
  955. package/models/IncomingWebhooke3b79e3983d2Payload.js +3 -3
  956. package/models/IncomingWebhooke807fdb62367Payload.js +3 -3
  957. package/models/IncomingWebhooke817b6292432Payload.js +4 -4
  958. package/models/IncomingWebhooke8c8a6153ca1Payload.js +4 -4
  959. package/models/IncomingWebhookea0ef7d1c212Payload.js +3 -3
  960. package/models/IncomingWebhookeab48bfd0932Payload.js +3 -3
  961. package/models/IncomingWebhooked8e7a89077ePayload.js +3 -3
  962. package/models/IncomingWebhookefe153a00c42Payload.js +3 -3
  963. package/models/IncomingWebhookeff38a7dc9a0Payload.js +4 -4
  964. package/models/IncomingWebhookf2be10231857Payload.js +4 -4
  965. package/models/IncomingWebhookf4c208cc6c8ePayload.js +4 -4
  966. package/models/IncomingWebhookf5b72c2a310ePayload.js +3 -3
  967. package/models/IncomingWebhookf6f719ba2af4Payload.js +4 -4
  968. package/models/IncomingWebhookf93bed5b28a1Payload.js +4 -4
  969. package/models/IncomingWebhookf9640e80dd75Payload.js +3 -3
  970. package/models/IncomingWebhookfce7e0c4eba0Payload.js +3 -3
  971. package/models/IncomingWebhookfcf5fa4b1850Payload.js +3 -3
  972. package/models/IncomingWebhookfd258d9a47caPayload.js +3 -3
  973. package/models/IncomingWebhookff9afffd27c6Payload.js +3 -3
  974. package/models/InitialGiftCardFunding.js +2 -2
  975. package/models/InlineModifierGroupRequest.js +3 -3
  976. package/models/InventoryActionRequired.js +3 -3
  977. package/models/InventoryAdjustment.js +3 -3
  978. package/models/InventoryAdjustmentLineRequest.js +3 -3
  979. package/models/InventoryAdjustmentListResponse.js +4 -4
  980. package/models/InventoryAdjustmentResult.js +3 -3
  981. package/models/InventoryAdjustmentResultResponse.js +4 -4
  982. package/models/InventoryAllocationPolicy.js +3 -3
  983. package/models/InventoryAllocationPolicyConfiguration.js +3 -3
  984. package/models/InventoryAllocationPolicyListResponse.js +4 -4
  985. package/models/InventoryAllocationPolicyResponse.js +4 -4
  986. package/models/InventoryAssignment.js +3 -3
  987. package/models/InventoryCount.js +3 -3
  988. package/models/InventoryCountLine.js +3 -3
  989. package/models/InventoryCountListResponse.js +4 -4
  990. package/models/InventoryCountObservationRequest.js +3 -3
  991. package/models/InventoryCountResponse.js +4 -4
  992. package/models/InventoryCountResult.js +3 -3
  993. package/models/InventoryCountResultResponse.js +4 -4
  994. package/models/InventoryCountTransitionRequest.js +3 -3
  995. package/models/InventoryItem.js +3 -3
  996. package/models/InventoryItemCreateRequest.js +3 -3
  997. package/models/InventoryItemListResponse.js +4 -4
  998. package/models/InventoryItemResponse.js +4 -4
  999. package/models/InventoryLevel.js +3 -3
  1000. package/models/InventoryLevelListResponse.js +4 -4
  1001. package/models/InventoryLevelUpdateResult.js +3 -3
  1002. package/models/InventoryLevelUpdateResultResponse.js +4 -4
  1003. package/models/InventoryMovement.js +3 -3
  1004. package/models/InventoryMovementListResponse.js +4 -4
  1005. package/models/InventoryOriginPolicy.js +3 -3
  1006. package/models/InventoryReceipt.js +3 -3
  1007. package/models/InventoryReceiptLine.js +3 -3
  1008. package/models/InventoryReceiptLineRequest.js +3 -3
  1009. package/models/InventoryReceiptListResponse.js +4 -4
  1010. package/models/InventoryReceiptResult.js +3 -3
  1011. package/models/InventoryReceiptResultResponse.js +4 -4
  1012. package/models/InventoryReservation.js +3 -3
  1013. package/models/InventoryReservationListResponse.js +4 -4
  1014. package/models/InventoryReservationOwner.js +3 -3
  1015. package/models/InventoryReservationProvenance.js +2 -2
  1016. package/models/InventoryReservationResult.js +3 -3
  1017. package/models/InventoryReservationResultResponse.js +4 -4
  1018. package/models/InventoryRoutingDemand.js +3 -3
  1019. package/models/InventoryRoutingSource.js +2 -2
  1020. package/models/InventoryRoutingSourceRequest.js +4 -4
  1021. package/models/InventorySettings.js +3 -3
  1022. package/models/InventorySourceReference.js +3 -3
  1023. package/models/InventorySourceSystem.js +2 -2
  1024. package/models/InventorySourceSystemRequest.js +3 -3
  1025. package/models/InventoryTransfer.js +3 -3
  1026. package/models/InventoryTransferActionConflictErrorDetail.js +4 -4
  1027. package/models/InventoryTransferActionConflictErrorEnvelope.js +4 -4
  1028. package/models/InventoryTransferActionConflictErrorObject.js +4 -4
  1029. package/models/InventoryTransferConflictErrorEnvelope.js +4 -4
  1030. package/models/InventoryTransferLine.js +3 -3
  1031. package/models/InventoryTransferLineRequest.js +3 -3
  1032. package/models/InventoryTransferListResponse.js +4 -4
  1033. package/models/InventoryTransferOtherConflictErrorEnvelope.js +4 -4
  1034. package/models/InventoryTransferProvenanceRequest.js +3 -3
  1035. package/models/InventoryTransferResponse.js +4 -4
  1036. package/models/InventoryTransferResult.js +3 -3
  1037. package/models/InventoryTransferResultResponse.js +4 -4
  1038. package/models/InventoryTransferTransitionRequest.js +4 -4
  1039. package/models/Invoice.js +4 -4
  1040. package/models/InvoiceActivity.js +4 -4
  1041. package/models/InvoiceActivityListResponse.js +4 -4
  1042. package/models/InvoiceAutopayRetryPolicy.js +3 -3
  1043. package/models/InvoiceCheckoutSessionRequest.js +3 -3
  1044. package/models/InvoiceCheckoutSessionResponse.js +4 -4
  1045. package/models/InvoiceCheckoutSessionResult.js +4 -4
  1046. package/models/InvoiceCollectionRequest.js +2 -2
  1047. package/models/InvoiceDeliveryAttempt.js +3 -3
  1048. package/models/InvoiceDeliveryAttemptListResponse.js +4 -4
  1049. package/models/InvoiceDiscount.js +3 -3
  1050. package/models/InvoiceLateFee.js +4 -4
  1051. package/models/InvoiceLateFeePolicy.js +4 -4
  1052. package/models/InvoiceLineItem.js +3 -3
  1053. package/models/InvoiceListResponse.js +4 -4
  1054. package/models/InvoiceManualPaymentRequest.js +3 -3
  1055. package/models/InvoicePaymentAttempt.js +3 -3
  1056. package/models/InvoicePaymentAttemptListResponse.js +4 -4
  1057. package/models/InvoicePaymentAttemptResponse.js +4 -4
  1058. package/models/InvoicePaymentDueRequest.js +2 -2
  1059. package/models/InvoicePaymentOptionLimit.js +3 -3
  1060. package/models/InvoicePaymentPolicy.js +3 -3
  1061. package/models/InvoicePaymentTerm.js +4 -4
  1062. package/models/InvoicePaymentTermCalculation.js +4 -4
  1063. package/models/InvoicePaymentTermListResponse.js +4 -4
  1064. package/models/InvoicePaymentTermResponse.js +4 -4
  1065. package/models/InvoicePaymentTermsSnapshot.js +4 -4
  1066. package/models/InvoiceReminderPolicy.js +3 -3
  1067. package/models/InvoiceReminderRule.js +3 -3
  1068. package/models/InvoiceResponse.js +4 -4
  1069. package/models/InvoiceScheduleAmountSpecification.js +4 -4
  1070. package/models/InvoiceScheduleDue.js +4 -4
  1071. package/models/InvoiceScheduleEntry.js +4 -4
  1072. package/models/InvoiceScheduleEntryWrite.js +4 -4
  1073. package/models/InvoiceSettings.js +3 -3
  1074. package/models/InvoiceSettingsPatch.js +4 -4
  1075. package/models/InvoiceSnapshot.js +4 -4
  1076. package/models/InvoiceTip.js +3 -3
  1077. package/models/IssueCreditNoteRequest.js +3 -3
  1078. package/models/IssueCreditNoteResponse.js +4 -4
  1079. package/models/IssueInvoiceRequest.js +3 -3
  1080. package/models/IssueInvoiceResponse.js +4 -4
  1081. package/models/IssueInvoiceResult.js +4 -4
  1082. package/models/IssueSandboxAPIKeyRequest.js +3 -3
  1083. package/models/IssuedCreditNote.js +4 -4
  1084. package/models/LegalSettings.js +3 -3
  1085. package/models/LineItemFulfillmentOriginRequest.js +3 -3
  1086. package/models/LineItemFulfillmentRequest.js +3 -3
  1087. package/models/LineItemFulfillmentSizeRequest.js +3 -3
  1088. package/models/LineItemFulfillmentWeightRequest.js +3 -3
  1089. package/models/LineItemInventoryDemand.js +3 -3
  1090. package/models/LineItemInventorySnapshot.js +3 -3
  1091. package/models/LinkCustomerGuestPurchasesRequest.js +3 -3
  1092. package/models/ListReturnDispositionsResponse.js +4 -4
  1093. package/models/ListReturnInspectionsResponse.js +4 -4
  1094. package/models/ListReturnLineItemsResponse.js +4 -4
  1095. package/models/ListReturnPoliciesResponse.js +4 -4
  1096. package/models/ListReturnPolicyRevisionsResponse.js +4 -4
  1097. package/models/ListReturnReasonsResponse.js +4 -4
  1098. package/models/ListReturnReceiptsResponse.js +4 -4
  1099. package/models/ListReturnResolutionsResponse.js +4 -4
  1100. package/models/ListReturnsResponse.js +4 -4
  1101. package/models/Location.js +3 -3
  1102. package/models/LocationAddress.js +2 -2
  1103. package/models/LocationCoordinate.js +3 -3
  1104. package/models/LocationInventory.js +3 -3
  1105. package/models/LocationInventoryRequest.js +3 -3
  1106. package/models/LocationInventoryResponse.js +4 -4
  1107. package/models/LocationListResponse.js +4 -4
  1108. package/models/LocationResponse.js +4 -4
  1109. package/models/LookupGiftCardRequest.js +3 -3
  1110. package/models/ManualDiscountRequest.js +3 -3
  1111. package/models/MeFlintWalletCard.js +3 -3
  1112. package/models/MeFlintWalletCardListResponse.js +4 -4
  1113. package/models/MeFlintWalletStoreSetup.js +3 -3
  1114. package/models/MeFlintWalletStoreSetupResponse.js +4 -4
  1115. package/models/Merchant.js +4 -4
  1116. package/models/MerchantAccountSession.js +4 -4
  1117. package/models/MerchantAccountSessionClientSession.js +3 -3
  1118. package/models/MerchantAccountSessionCreateRequest.js +3 -3
  1119. package/models/MerchantAccountSessionEffectivePolicy.js +3 -3
  1120. package/models/MerchantAccountSessionRefreshRequest.js +3 -3
  1121. package/models/MerchantAccountSessionResponse.js +4 -4
  1122. package/models/MerchantAccountSessionStripe.js +3 -3
  1123. package/models/MerchantAccountSessionStripeAccountSession.js +3 -3
  1124. package/models/MerchantAccountSessionStripeCollectionOptions.js +3 -3
  1125. package/models/MerchantAccountSessionStripeComponent.js +3 -3
  1126. package/models/MerchantAccountSessionStripeRequirements.js +3 -3
  1127. package/models/MerchantBillingBalance.js +3 -3
  1128. package/models/MerchantBillingBalanceListResponse.js +4 -4
  1129. package/models/MerchantBillingBalanceResponse.js +4 -4
  1130. package/models/MerchantReadinessAxis.js +4 -4
  1131. package/models/MerchantReadinessRequirements.js +3 -3
  1132. package/models/MerchantResponse.js +4 -4
  1133. package/models/MerchantSubscriptionInvoice.js +3 -3
  1134. package/models/MerchantSubscriptionInvoiceLine.js +3 -3
  1135. package/models/MerchantSubscriptionInvoiceListResponse.js +4 -4
  1136. package/models/MerchantSubscriptionInvoiceResponse.js +4 -4
  1137. package/models/MerchantWebhookEnvelope.js +2 -2
  1138. package/models/Modifier.js +3 -3
  1139. package/models/ModifierGroup.js +3 -3
  1140. package/models/ModifierGroupListResponse.js +4 -4
  1141. package/models/ModifierGroupResponse.js +4 -4
  1142. package/models/ModifierOverride.js +3 -3
  1143. package/models/ModifierRequest.js +3 -3
  1144. package/models/ModifierSet.js +3 -3
  1145. package/models/ModifierSetGroup.js +4 -4
  1146. package/models/ModifierSetGroupRequest.js +3 -3
  1147. package/models/ModifierSetListResponse.js +4 -4
  1148. package/models/ModifierSetResponse.js +4 -4
  1149. package/models/MoneyMetric.js +3 -3
  1150. package/models/MoneyMovementBlockedReason.js +3 -3
  1151. package/models/MoneyMovementHistoryMeta.js +3 -3
  1152. package/models/MoneyMovementListMeta.js +4 -4
  1153. package/models/MoneyValue.js +2 -2
  1154. package/models/NextAction.js +4 -4
  1155. package/models/NextActionMerchantAccountSession.js +3 -3
  1156. package/models/OnboardingAdvanceRequest.js +4 -4
  1157. package/models/OnboardingLaunchRecommendedPolicy.js +3 -3
  1158. package/models/OnboardingLaunchReference.js +3 -3
  1159. package/models/OnboardingNextStep.js +3 -3
  1160. package/models/OnboardingProfile.js +3 -3
  1161. package/models/OnboardingProfileRequest.js +3 -3
  1162. package/models/OnboardingRequirements.js +4 -4
  1163. package/models/OnboardingStartRequest.js +3 -3
  1164. package/models/OnboardingStartResponse.js +4 -4
  1165. package/models/OnboardingStartResult.js +3 -3
  1166. package/models/OnboardingState.js +4 -4
  1167. package/models/OnboardingStateResponse.js +4 -4
  1168. package/models/OnboardingVerifyEmailRequest.js +3 -3
  1169. package/models/OnboardingVerifyEmailResponse.js +4 -4
  1170. package/models/OnboardingVerifyEmailResult.js +4 -4
  1171. package/models/Order.js +3 -3
  1172. package/models/OrderActivity.js +4 -4
  1173. package/models/OrderActivityListResponse.js +4 -4
  1174. package/models/OrderAuthorizationAmounts.js +3 -3
  1175. package/models/OrderCalculatedChargeTax.js +4 -4
  1176. package/models/OrderCalculatedLineItemTax.js +4 -4
  1177. package/models/OrderCharge.js +4 -4
  1178. package/models/OrderChargeRequest.js +4 -4
  1179. package/models/OrderDeliveryDestination.js +2 -2
  1180. package/models/OrderDeliveryDestinationAddress.js +3 -3
  1181. package/models/OrderDeliveryDestinationAddressRequest.js +3 -3
  1182. package/models/OrderDeliveryDestinationRecipient.js +3 -3
  1183. package/models/OrderDeliveryDestinationRecipientRequest.js +3 -3
  1184. package/models/OrderDeliveryDestinationRequest.js +2 -2
  1185. package/models/OrderDraftLineItemInventoryDemandRequest.js +3 -3
  1186. package/models/OrderDraftLineItemTaxCalculationRequest.js +4 -4
  1187. package/models/OrderDraftLineItemTaxRequest.js +4 -4
  1188. package/models/OrderDraftTaxComponentRequest.js +3 -3
  1189. package/models/OrderDraftTaxJurisdictionRequest.js +3 -3
  1190. package/models/OrderGiftCardAllocation.js +3 -3
  1191. package/models/OrderGiftCardAllocationAcceptance.js +4 -4
  1192. package/models/OrderGiftCardEstimate.js +3 -3
  1193. package/models/OrderGiftCardSelection.js +3 -3
  1194. package/models/OrderGiftCardSettlement.js +3 -3
  1195. package/models/OrderInventoryRoutingSourceRequest.js +3 -3
  1196. package/models/OrderLineItem.js +4 -4
  1197. package/models/OrderLineItemModifier.js +3 -3
  1198. package/models/OrderLineItemModifierRequest.js +2 -2
  1199. package/models/OrderLineItemTax.js +3 -3
  1200. package/models/OrderListResponse.js +4 -4
  1201. package/models/OrderPaymentAttempt.js +4 -4
  1202. package/models/OrderPaymentAttemptListResponse.js +4 -4
  1203. package/models/OrderPaymentAttemptResponse.js +4 -4
  1204. package/models/OrderPaymentIntentSelection.js +3 -3
  1205. package/models/OrderPaymentLifecycleResponse.js +4 -4
  1206. package/models/OrderPaymentLifecycleResult.js +4 -4
  1207. package/models/OrderPaymentSourceCardSelection.js +3 -3
  1208. package/models/OrderPaymentSourceSelection.js +3 -3
  1209. package/models/OrderResponse.js +4 -4
  1210. package/models/OrderReturnCreditSettlement.js +3 -3
  1211. package/models/OrderTax.js +4 -4
  1212. package/models/OrderTaxCalculationRequest.js +4 -4
  1213. package/models/OrderTaxComponentRequest.js +3 -3
  1214. package/models/OrderTaxExemption.js +3 -3
  1215. package/models/OrderTaxJurisdictionRequest.js +3 -3
  1216. package/models/OrderTaxLocation.js +3 -3
  1217. package/models/OrderTaxLocationFullAddressRequest.js +3 -3
  1218. package/models/OrderTaxLocationInputFullAddress.js +3 -3
  1219. package/models/OrderTaxLocationInputInferredFullAddress.js +3 -3
  1220. package/models/OrderTaxLocationInputInferredPostalCode.js +3 -3
  1221. package/models/OrderTaxLocationInputPostalCode.js +3 -3
  1222. package/models/OrderTaxLocationPostalAddressRequest.js +3 -3
  1223. package/models/OrderTaxLocationRequest.js +3 -3
  1224. package/models/OrderTaxRequest.js +4 -4
  1225. package/models/Organization.js +4 -4
  1226. package/models/OrganizationListResponse.js +4 -4
  1227. package/models/OrganizationMembership.js +3 -3
  1228. package/models/OrganizationMembershipListResponse.js +4 -4
  1229. package/models/OrganizationMembershipResponse.js +4 -4
  1230. package/models/OrganizationResponse.js +4 -4
  1231. package/models/Package.js +2 -2
  1232. package/models/PackageItem.js +3 -3
  1233. package/models/PackageItemListResponse.js +4 -4
  1234. package/models/PackageItemResponse.js +4 -4
  1235. package/models/PackageListResponse.js +4 -4
  1236. package/models/PackageResponse.js +4 -4
  1237. package/models/PackageStatusUpdate.js +3 -3
  1238. package/models/PackageStatusUpdateResponse.js +4 -4
  1239. package/models/PackageStatusUpdateResult.js +3 -3
  1240. package/models/PackageTransitionRequest.js +4 -4
  1241. package/models/PackageTransitionRequestMarkDelivered.js +3 -3
  1242. package/models/PackageTransitionRequestMarkDeliveryAttempted.js +3 -3
  1243. package/models/PackageTransitionRequestMarkException.js +3 -3
  1244. package/models/PackageTransitionRequestMarkInTransit.js +3 -3
  1245. package/models/PackageTransitionRequestMarkOutForDelivery.js +3 -3
  1246. package/models/PackageTransitionRequestMarkPacked.js +3 -3
  1247. package/models/PackageTransitionRequestMarkReturned.js +3 -3
  1248. package/models/PackageTransitionRequestMarkShipped.js +3 -3
  1249. package/models/PartnerApp.js +3 -3
  1250. package/models/PartnerAppInstall.js +3 -3
  1251. package/models/PartnerAppInstallListResponse.js +4 -4
  1252. package/models/PartnerAppInstallResponse.js +4 -4
  1253. package/models/PartnerAppListResponse.js +4 -4
  1254. package/models/PartnerAppPermissionManifestEntry.js +3 -3
  1255. package/models/PartnerAppResponse.js +4 -4
  1256. package/models/PartnerAppSecretRotationResult.js +3 -3
  1257. package/models/PartnerAppWithSecret.js +3 -3
  1258. package/models/PartnerAuthorizePreview.js +3 -3
  1259. package/models/PartnerAuthorizePreviewPermission.js +3 -3
  1260. package/models/PartnerAuthorizePreviewResponse.js +4 -4
  1261. package/models/PartnerEnvironmentGrant.js +3 -3
  1262. package/models/PartnerEnvironmentGrantEventPayload.js +3 -3
  1263. package/models/PartnerInstallEventPayload.js +3 -3
  1264. package/models/PartnerTokenErrorResponse.js +3 -3
  1265. package/models/PartnerTokenRequest.js +3 -3
  1266. package/models/PartnerTokenResponse.js +3 -3
  1267. package/models/PartnerWebhookEnvelope.js +2 -2
  1268. package/models/PauseSubscriptionRequest.js +3 -3
  1269. package/models/PayOrderRequest.js +4 -4
  1270. package/models/PayOrderRequestConfirmPaymentIntents.js +4 -4
  1271. package/models/PayOrderRequestPay.js +4 -4
  1272. package/models/PayOrderRequestResume.js +4 -4
  1273. package/models/PayOrderRequestSetup.js +4 -4
  1274. package/models/PayOrderResponse.js +4 -4
  1275. package/models/PayOrderResult.js +4 -4
  1276. package/models/PaymentAddOnFee.js +3 -3
  1277. package/models/PaymentAttemptGiftCardRedemption.js +3 -3
  1278. package/models/PaymentAttemptPaymentIntent.js +4 -4
  1279. package/models/PaymentClientAction.js +3 -3
  1280. package/models/PaymentCollection.js +4 -4
  1281. package/models/PaymentCollectionStripe.js +4 -4
  1282. package/models/PaymentCollectionStripeElements.js +4 -4
  1283. package/models/PaymentErrorSummary.js +3 -3
  1284. package/models/PaymentFulfillmentHold.js +3 -3
  1285. package/models/PaymentIntent.js +4 -4
  1286. package/models/PaymentIntentListResponse.js +4 -4
  1287. package/models/PaymentIntentResponse.js +4 -4
  1288. package/models/PaymentLimitSettings.js +3 -3
  1289. package/models/PaymentLink.js +4 -4
  1290. package/models/PaymentLinkCustomField.js +3 -3
  1291. package/models/PaymentLinkCustomFieldPatchRequest.js +3 -3
  1292. package/models/PaymentLinkCustomFieldRequest.js +3 -3
  1293. package/models/PaymentLinkCustomerConfig.js +3 -3
  1294. package/models/PaymentLinkEventConfig.js +3 -3
  1295. package/models/PaymentLinkLineItem.js +4 -4
  1296. package/models/PaymentLinkLineItemPatchRequest.js +4 -4
  1297. package/models/PaymentLinkLineItemRequest.js +4 -4
  1298. package/models/PaymentLinkListResponse.js +4 -4
  1299. package/models/PaymentLinkResponse.js +4 -4
  1300. package/models/PaymentLinkSubscriptionPreview.js +3 -3
  1301. package/models/PaymentMethod.js +4 -4
  1302. package/models/PaymentMethodDomain.js +3 -3
  1303. package/models/PaymentMethodDomainListResponse.js +4 -4
  1304. package/models/PaymentMethodDomainPaymentOption.js +3 -3
  1305. package/models/PaymentMethodDomainResponse.js +4 -4
  1306. package/models/PaymentMethodListResponse.js +4 -4
  1307. package/models/PaymentMethodResponse.js +4 -4
  1308. package/models/PaymentRefund.js +3 -3
  1309. package/models/PaymentRisk.js +2 -2
  1310. package/models/PaymentSourceAchDebitSummary.js +3 -3
  1311. package/models/PaymentSourceCardSummary.js +3 -3
  1312. package/models/PaymentSourceCredential.js +3 -3
  1313. package/models/PaymentSourceSummary.js +3 -3
  1314. package/models/PaymentVolumeBucket.js +3 -3
  1315. package/models/PaymentVolumeTimeseries.js +3 -3
  1316. package/models/PaymentVolumeTimeseriesResponse.js +4 -4
  1317. package/models/Payout.js +4 -4
  1318. package/models/PayoutDestination.js +3 -3
  1319. package/models/PayoutDestinationListResponse.js +4 -4
  1320. package/models/PayoutDestinationResponse.js +4 -4
  1321. package/models/PayoutEntry.js +3 -3
  1322. package/models/PayoutEntryListResponse.js +4 -4
  1323. package/models/PayoutListResponse.js +4 -4
  1324. package/models/PayoutResponse.js +4 -4
  1325. package/models/PayoutSettings.js +4 -4
  1326. package/models/PayoutSettingsResponse.js +4 -4
  1327. package/models/PayoutTraceID.js +3 -3
  1328. package/models/PendingPaymentAction.js +3 -3
  1329. package/models/PendingPaymentActionPaymentIntentSubject.js +3 -3
  1330. package/models/PendingPaymentActionSetupPaymentSourceSubject.js +3 -3
  1331. package/models/PendingPaymentActionSubject.js +2 -2
  1332. package/models/PickupFulfillmentDetails.js +3 -3
  1333. package/models/PolicyLocation.js +3 -3
  1334. package/models/PostalAddress.js +2 -2
  1335. package/models/PrefilledCustomerInfo.js +3 -3
  1336. package/models/PricingAmounts.js +3 -3
  1337. package/models/ProcessExistingReturnLineItemRequest.js +4 -4
  1338. package/models/ProcessExistingReturnRequest.js +4 -4
  1339. package/models/ProcessExistingReturnResponse.js +4 -4
  1340. package/models/Product.js +4 -4
  1341. package/models/ProductListResponse.js +4 -4
  1342. package/models/ProductOption.js +3 -3
  1343. package/models/ProductOptionListResponse.js +4 -4
  1344. package/models/ProductOptionResponse.js +4 -4
  1345. package/models/ProductOptionValue.js +3 -3
  1346. package/models/ProductPriceRange.js +3 -3
  1347. package/models/ProductResponse.js +4 -4
  1348. package/models/ProductVariant.js +4 -4
  1349. package/models/ProductVariantListResponse.js +4 -4
  1350. package/models/ProductVariantMatch.js +3 -3
  1351. package/models/ProductVariantRequest.js +3 -3
  1352. package/models/ProductVariantResponse.js +4 -4
  1353. package/models/ProductVariantSelectedOptionRequest.js +3 -3
  1354. package/models/Promotion.js +4 -4
  1355. package/models/PromotionApplicationMethod.js +4 -4
  1356. package/models/PromotionCandidate.js +3 -3
  1357. package/models/PromotionCode.js +4 -4
  1358. package/models/PromotionCodeListResponse.js +4 -4
  1359. package/models/PromotionCodeResponse.js +4 -4
  1360. package/models/PromotionCodesSummary.js +3 -3
  1361. package/models/PromotionCombinesWith.js +3 -3
  1362. package/models/PromotionExclusivity.js +3 -3
  1363. package/models/PromotionListResponse.js +4 -4
  1364. package/models/PromotionRecurrence.js +3 -3
  1365. package/models/PromotionRefRequest.js +4 -4
  1366. package/models/PromotionResponse.js +4 -4
  1367. package/models/PromotionRule.js +2 -2
  1368. package/models/PromotionRuleGroup.js +4 -4
  1369. package/models/PromotionRuleValue.js +3 -3
  1370. package/models/PromotionSchedule.js +3 -3
  1371. package/models/PromotionSettings.js +3 -3
  1372. package/models/PublicDownload.js +3 -3
  1373. package/models/PublicFraudWarningPaymentSummary.js +3 -3
  1374. package/models/PublicIPAddressLocation.js +2 -2
  1375. package/models/PublicPaymentLink.js +4 -4
  1376. package/models/PublicPaymentLinkResponse.js +4 -4
  1377. package/models/PublicPaymentLinkResult.js +4 -4
  1378. package/models/PublicResolvedBundleComponent.js +3 -3
  1379. package/models/PublicResolvedBundleVariantSummary.js +3 -3
  1380. package/models/PublicResolvedLineItemInfo.js +3 -3
  1381. package/models/PublicResolvedModifierGroup.js +3 -3
  1382. package/models/PublicResolvedModifierOption.js +3 -3
  1383. package/models/PublicResolvedTextModifier.js +3 -3
  1384. package/models/PublicReviewRisk.js +3 -3
  1385. package/models/PublicRiskAttribute.js +3 -3
  1386. package/models/PublicRiskAttributeRegistry.js +3 -3
  1387. package/models/PublicRiskListItemResult.js +3 -3
  1388. package/models/PublicRiskPaymentSummary.js +3 -3
  1389. package/models/PublishLocationGeographyRequest.js +3 -3
  1390. package/models/PublishReturnPolicyRevisionRequest.js +4 -4
  1391. package/models/PublishReturnPolicyRevisionResponse.js +4 -4
  1392. package/models/PurchasedEvent.js +3 -3
  1393. package/models/PurchasedGiftCard.js +3 -3
  1394. package/models/QuotaDetails.js +2 -2
  1395. package/models/ReceiptSettings.js +3 -3
  1396. package/models/Redirects.js +2 -2
  1397. package/models/RefreshCustomerSessionRequest.js +3 -3
  1398. package/models/Refund.js +4 -4
  1399. package/models/RefundAdjustmentAudit.js +3 -3
  1400. package/models/RefundAdjustmentReason.js +3 -3
  1401. package/models/RefundCharge.js +3 -3
  1402. package/models/RefundGiftCardCode.js +3 -3
  1403. package/models/RefundGiftCardDestination.js +3 -3
  1404. package/models/RefundLineItem.js +3 -3
  1405. package/models/RefundLineItemAdjustment.js +3 -3
  1406. package/models/RefundLineItemAdjustmentIn.js +3 -3
  1407. package/models/RefundLineItemAdjustmentRefund.js +3 -3
  1408. package/models/RefundLineItemAdjustmentRefundIn.js +3 -3
  1409. package/models/RefundLineItemAllocation.js +4 -4
  1410. package/models/RefundLineItemAutomaticRefund.js +3 -3
  1411. package/models/RefundLineItemModifierAllocation.js +3 -3
  1412. package/models/RefundListResponse.js +4 -4
  1413. package/models/RefundResponse.js +4 -4
  1414. package/models/RefundTaxBreakdownRefund.js +3 -3
  1415. package/models/RefundTaxBreakdownRefundIn.js +3 -3
  1416. package/models/RefundTenderAllocation.js +3 -3
  1417. package/models/RefundTenderAllocationRequest.js +4 -4
  1418. package/models/RefundUnissuedGiftCardRecovery.js +3 -3
  1419. package/models/RegenerateInvoiceLinkResponse.js +4 -4
  1420. package/models/RegenerateInvoiceLinkResult.js +4 -4
  1421. package/models/ReleaseInventoryReservationRequest.js +4 -4
  1422. package/models/ReleaseReturnResolutionRequest.js +3 -3
  1423. package/models/ReleaseReturnResolutionResponse.js +4 -4
  1424. package/models/RemoveDiscountsRequest.js +3 -3
  1425. package/models/RemoveOrderGiftCardRequest.js +3 -3
  1426. package/models/ReopenReturnRequest.js +3 -3
  1427. package/models/ReopenReturnResponse.js +4 -4
  1428. package/models/Report.js +4 -4
  1429. package/models/ReportListResponse.js +4 -4
  1430. package/models/ReportResponse.js +4 -4
  1431. package/models/RequestedTip.js +3 -3
  1432. package/models/ResendWebhookDeliveryRequest.js +3 -3
  1433. package/models/ReservationLine.js +3 -3
  1434. package/models/ResolveCustomerDeletionRequest.js +3 -3
  1435. package/models/ResolveOrderInventoryExceptionRequest.js +3 -3
  1436. package/models/ResolvePaymentLinkLineItemModifierRequest.js +3 -3
  1437. package/models/ResolvePaymentLinkLineItemModifiers.js +3 -3
  1438. package/models/ResolvePaymentLinkRequest.js +3 -3
  1439. package/models/ResolvePaymentLinkResponse.js +4 -4
  1440. package/models/ResolvePaymentLinkTextModifierRequest.js +3 -3
  1441. package/models/ResourceTimeline.js +4 -4
  1442. package/models/ResourceTimelineEntry.js +3 -3
  1443. package/models/ResourceTimelineResponse.js +4 -4
  1444. package/models/ResourceVersionRequest.js +3 -3
  1445. package/models/ResponseMeta.js +4 -4
  1446. package/models/ResponseWarning.js +4 -4
  1447. package/models/RetryReturnDispositionRequest.js +3 -3
  1448. package/models/RetryReturnDispositionResponse.js +4 -4
  1449. package/models/RetryReturnResolutionRequest.js +3 -3
  1450. package/models/RetryReturnResolutionResponse.js +4 -4
  1451. package/models/ReturnActor.js +3 -3
  1452. package/models/ReturnCompletionBlocker.js +3 -3
  1453. package/models/ReturnDisposition.js +3 -3
  1454. package/models/ReturnEligibilityCheck.js +4 -4
  1455. package/models/ReturnEligibilityCheckLineItem.js +3 -3
  1456. package/models/ReturnEligibilitySelection.js +4 -4
  1457. package/models/ReturnFinancialSummary.js +3 -3
  1458. package/models/ReturnHandoffDestination.js +3 -3
  1459. package/models/ReturnHandoffRequirement.js +3 -3
  1460. package/models/ReturnHandoffRequirementLineItem.js +3 -3
  1461. package/models/ReturnInspection.js +4 -4
  1462. package/models/ReturnInspectionLineItem.js +3 -3
  1463. package/models/ReturnInspectionLineItemRequest.js +3 -3
  1464. package/models/ReturnLineDecision.js +4 -4
  1465. package/models/ReturnLineItem.js +4 -4
  1466. package/models/ReturnLineItemDecisionProposal.js +3 -3
  1467. package/models/ReturnLineItemEligibility.js +3 -3
  1468. package/models/ReturnLineItemRequest.js +3 -3
  1469. package/models/ReturnLineItemValue.js +3 -3
  1470. package/models/ReturnPolicy.js +4 -4
  1471. package/models/ReturnPolicyAdjustmentProposal.js +3 -3
  1472. package/models/ReturnPolicyEvaluation.js +3 -3
  1473. package/models/ReturnPolicyEvaluationLineItem.js +3 -3
  1474. package/models/ReturnPolicyRevision.js +4 -4
  1475. package/models/ReturnPolicyRevisionRequest.js +4 -4
  1476. package/models/ReturnPolicyScope.js +4 -4
  1477. package/models/ReturnProcessDecision.js +4 -4
  1478. package/models/ReturnProcessDispositionRequest.js +3 -3
  1479. package/models/ReturnProcessInspectionRequest.js +3 -3
  1480. package/models/ReturnProcessReceiptRequest.js +3 -3
  1481. package/models/ReturnProcessResolutionRequest.js +4 -4
  1482. package/models/ReturnProcessResult.js +4 -4
  1483. package/models/ReturnReason.js +3 -3
  1484. package/models/ReturnReasonSummary.js +3 -3
  1485. package/models/ReturnReceipt.js +4 -4
  1486. package/models/ReturnReceiptLineItem.js +3 -3
  1487. package/models/ReturnReceiptLineItemRequest.js +4 -4
  1488. package/models/ReturnReplacementLineItem.js +3 -3
  1489. package/models/ReturnReplacementLineItemReplacementRequest.js +4 -4
  1490. package/models/ReturnReplacementLineItemRequest.js +4 -4
  1491. package/models/ReturnResolution.js +4 -4
  1492. package/models/ReturnResolutionAdjustment.js +3 -3
  1493. package/models/ReturnResolutionAdjustmentRequest.js +3 -3
  1494. package/models/ReturnResolutionAdjustmentSet.js +3 -3
  1495. package/models/ReturnResolutionExecutionBlocker.js +3 -3
  1496. package/models/ReturnResolutionLineItem.js +3 -3
  1497. package/models/ReturnResolutionLineItemReplacementRequest.js +3 -3
  1498. package/models/ReturnResolutionLineItemRequest.js +3 -3
  1499. package/models/ReturnResolutionPreview.js +3 -3
  1500. package/models/ReturnResolutionWarning.js +3 -3
  1501. package/models/ReturnResource.js +4 -4
  1502. package/models/ReturnRestockingFeePolicy.js +3 -3
  1503. package/models/ReturnShipmentLineItemAllocation.js +3 -3
  1504. package/models/ReturnShippingPolicy.js +3 -3
  1505. package/models/ReturnSourceSystem.js +3 -3
  1506. package/models/ReturnUnverifiedItem.js +3 -3
  1507. package/models/ReturnWindow.js +3 -3
  1508. package/models/Review.js +3 -3
  1509. package/models/ReviewListResponse.js +4 -4
  1510. package/models/ReviewResponse.js +4 -4
  1511. package/models/RevokeDeliveryDependencyRequest.js +3 -3
  1512. package/models/RevokeOrganizationMembershipResponse.js +4 -4
  1513. package/models/RevokeOrganizationMembershipResult.js +3 -3
  1514. package/models/RiskList.js +3 -3
  1515. package/models/RiskListItem.js +3 -3
  1516. package/models/RiskListItemListResponse.js +4 -4
  1517. package/models/RiskListItemResponse.js +4 -4
  1518. package/models/RiskListItemResultsData.js +3 -3
  1519. package/models/RiskListItemResultsResponse.js +4 -4
  1520. package/models/RiskListListResponse.js +4 -4
  1521. package/models/RiskListResourceResponse.js +4 -4
  1522. package/models/RiskPredicateNode.js +4 -4
  1523. package/models/RiskRule.js +4 -4
  1524. package/models/RiskRuleAttributeRegistryResponse.js +4 -4
  1525. package/models/RiskRuleListResponse.js +4 -4
  1526. package/models/RiskRuleResponse.js +4 -4
  1527. package/models/RiskRuleValidationResponse.js +4 -4
  1528. package/models/RotateGiftCardCodeRequest.js +3 -3
  1529. package/models/RotatePartnerAppSecretResponse.js +4 -4
  1530. package/models/RuleValidation.js +3 -3
  1531. package/models/RuleWarning.js +3 -3
  1532. package/models/SandboxListResponse.js +4 -4
  1533. package/models/SandboxResponse.js +4 -4
  1534. package/models/SandboxWithAPIKeyResponse.js +4 -4
  1535. package/models/SaveMeGiftCardRequest.js +4 -4
  1536. package/models/SaveMePaymentMethodRequest.js +3 -3
  1537. package/models/SavePaymentMethodRequest.js +3 -3
  1538. package/models/SavePaymentMethodResponse.js +4 -4
  1539. package/models/SavePaymentMethodResult.js +4 -4
  1540. package/models/ScopeRequirement.js +2 -2
  1541. package/models/SelectableMerchant.js +3 -3
  1542. package/models/SelectableOrderPaymentIntent.js +4 -4
  1543. package/models/SelectedProductOption.js +3 -3
  1544. package/models/SendOrderReceiptRequest.js +3 -3
  1545. package/models/ServiceFulfillmentDetails.js +3 -3
  1546. package/models/SetDefaultCustomerAddressRequest.js +3 -3
  1547. package/models/Settings.js +4 -4
  1548. package/models/SettingsResponse.js +4 -4
  1549. package/models/SettlementAmounts.js +3 -3
  1550. package/models/Shipment.js +2 -2
  1551. package/models/ShipmentListResponse.js +4 -4
  1552. package/models/ShipmentResponse.js +4 -4
  1553. package/models/ShippingDimensions.js +3 -3
  1554. package/models/ShippingWeight.js +3 -3
  1555. package/models/SignedMoney.js +2 -2
  1556. package/models/SkipSubscriptionCycleRequest.js +3 -3
  1557. package/models/StripeClientAuthority.js +3 -3
  1558. package/models/StripeClientSetup.js +3 -3
  1559. package/models/StripeClientSetupStripe.js +3 -3
  1560. package/models/StripePaymentClientAction.js +3 -3
  1561. package/models/StripePaymentIntentClientAction.js +3 -3
  1562. package/models/StripeSetupIntentClientAction.js +3 -3
  1563. package/models/Subscription.js +4 -4
  1564. package/models/SubscriptionAnalytics.js +3 -3
  1565. package/models/SubscriptionAnalyticsResponse.js +4 -4
  1566. package/models/SubscriptionBillingScheduleRequest.js +3 -3
  1567. package/models/SubscriptionBillingStartRequest.js +4 -4
  1568. package/models/SubscriptionCancellationDetails.js +3 -3
  1569. package/models/SubscriptionLineItem.js +3 -3
  1570. package/models/SubscriptionListResponse.js +4 -4
  1571. package/models/SubscriptionPaymentRetry.js +3 -3
  1572. package/models/SubscriptionPaymentRetryFailure.js +3 -3
  1573. package/models/SubscriptionPaymentRetryListResponse.js +4 -4
  1574. package/models/SubscriptionPaymentRetryResponse.js +4 -4
  1575. package/models/SubscriptionPlan.js +4 -4
  1576. package/models/SubscriptionPlanLineItem.js +4 -4
  1577. package/models/SubscriptionPlanLineItemRequest.js +4 -4
  1578. package/models/SubscriptionPlanListResponse.js +4 -4
  1579. package/models/SubscriptionPlanResponse.js +4 -4
  1580. package/models/SubscriptionResponse.js +4 -4
  1581. package/models/SubscriptionServiceLocation.js +3 -3
  1582. package/models/SubscriptionServiceLocationRequest.js +4 -4
  1583. package/models/SubscriptionSettings.js +3 -3
  1584. package/models/SubscriptionSnapshotMetrics.js +3 -3
  1585. package/models/SubscriptionStatusCounts.js +3 -3
  1586. package/models/SubscriptionWindowMetrics.js +3 -3
  1587. package/models/TaxBreakdown.js +4 -4
  1588. package/models/TaxCalculationRequest.js +4 -4
  1589. package/models/TaxComponentRequest.js +3 -3
  1590. package/models/TaxIdentity.js +2 -2
  1591. package/models/TaxIdentityPatch.js +3 -3
  1592. package/models/TaxIdentityRequest.js +3 -3
  1593. package/models/TaxJurisdiction.js +3 -3
  1594. package/models/TaxSettings.js +3 -3
  1595. package/models/TextModifierConfig.js +3 -3
  1596. package/models/TextModifierConfigRequest.js +3 -3
  1597. package/models/TextModifierRequest.js +3 -3
  1598. package/models/ThemeConfig.js +3 -3
  1599. package/models/Tip.js +3 -3
  1600. package/models/TipPaymentIntentAllocation.js +3 -3
  1601. package/models/TipValueSettlementAllocation.js +3 -3
  1602. package/models/TippingSettings.js +4 -4
  1603. package/models/TippingSettingsPatch.js +4 -4
  1604. package/models/TransferOrganizationOwnershipRequest.js +3 -3
  1605. package/models/TransferOrganizationOwnershipResponse.js +4 -4
  1606. package/models/TransferOrganizationOwnershipResult.js +3 -3
  1607. package/models/TransitionGiftCardRequest.js +4 -4
  1608. package/models/UpdateAPIKeyRequest.js +3 -3
  1609. package/models/UpdateBundleComponentRequest.js +3 -3
  1610. package/models/UpdateBundleRequest.js +4 -4
  1611. package/models/UpdateCatalogSettings.js +3 -3
  1612. package/models/UpdateCategoryRequest.js +3 -3
  1613. package/models/UpdateCheckoutSessionRequest.js +3 -3
  1614. package/models/UpdateCreditNoteRequest.js +4 -4
  1615. package/models/UpdateCustomerAddressRequest.js +3 -3
  1616. package/models/UpdateCustomerEmailPreferencesRequest.js +3 -3
  1617. package/models/UpdateCustomerRequest.js +4 -4
  1618. package/models/UpdateDeliveryFulfillmentDetails.js +3 -3
  1619. package/models/UpdateDeliveryLocationSetRequest.js +4 -4
  1620. package/models/UpdateDeliveryMethodRequest.js +4 -4
  1621. package/models/UpdateDeliveryProfileRequest.js +4 -4
  1622. package/models/UpdateDeliveryRateCallbackRequest.js +4 -4
  1623. package/models/UpdateDeliveryZoneRequest.js +4 -4
  1624. package/models/UpdateDeviceRequest.js +3 -3
  1625. package/models/UpdateDigitalFulfillmentDetails.js +3 -3
  1626. package/models/UpdateFulfillmentRequest.js +4 -4
  1627. package/models/UpdateGiftCardRequest.js +3 -3
  1628. package/models/UpdateInventoryAllocationPolicyRequest.js +4 -4
  1629. package/models/UpdateInventoryCountRequest.js +4 -4
  1630. package/models/UpdateInventoryItemRequest.js +4 -4
  1631. package/models/UpdateInventoryLevelRequest.js +3 -3
  1632. package/models/UpdateInventoryTransferRequest.js +4 -4
  1633. package/models/UpdateInvoicePaymentTermRequest.js +4 -4
  1634. package/models/UpdateInvoiceRequest.js +4 -4
  1635. package/models/UpdateLineItemRequest.js +4 -4
  1636. package/models/UpdateLocationInventoryRequest.js +3 -3
  1637. package/models/UpdateLocationRequest.js +4 -4
  1638. package/models/UpdateMeRequest.js +3 -3
  1639. package/models/UpdateMerchantRequest.js +3 -3
  1640. package/models/UpdateModifierGroupRequest.js +3 -3
  1641. package/models/UpdateModifierSetRequest.js +3 -3
  1642. package/models/UpdateOrderChargeRequest.js +4 -4
  1643. package/models/UpdateOrderRequest.js +4 -4
  1644. package/models/UpdateOrganizationRequest.js +3 -3
  1645. package/models/UpdatePackageItemRequest.js +3 -3
  1646. package/models/UpdatePackageRequest.js +4 -4
  1647. package/models/UpdatePackageResponse.js +4 -4
  1648. package/models/UpdatePackageResult.js +3 -3
  1649. package/models/UpdatePartnerAppRequest.js +3 -3
  1650. package/models/UpdatePaymentIntentRequest.js +3 -3
  1651. package/models/UpdatePaymentLinkRequest.js +4 -4
  1652. package/models/UpdatePaymentMethodDomainRequest.js +3 -3
  1653. package/models/UpdatePayoutDestinationRequest.js +3 -3
  1654. package/models/UpdatePayoutSettingsRequest.js +4 -4
  1655. package/models/UpdatePickupFulfillmentDetails.js +3 -3
  1656. package/models/UpdateProductOptionRequest.js +3 -3
  1657. package/models/UpdateProductOptionValueRequest.js +3 -3
  1658. package/models/UpdateProductRequest.js +4 -4
  1659. package/models/UpdateProductVariantRequest.js +4 -4
  1660. package/models/UpdatePromotionCodeRequest.js +3 -3
  1661. package/models/UpdatePromotionRequest.js +4 -4
  1662. package/models/UpdateRefundRequest.js +3 -3
  1663. package/models/UpdateReturnLineItemRequest.js +3 -3
  1664. package/models/UpdateReturnLineItemResponse.js +4 -4
  1665. package/models/UpdateReturnPolicyRequest.js +3 -3
  1666. package/models/UpdateReturnPolicyResponse.js +4 -4
  1667. package/models/UpdateReturnReasonRequest.js +4 -4
  1668. package/models/UpdateReturnReasonResponse.js +4 -4
  1669. package/models/UpdateReturnRequest.js +3 -3
  1670. package/models/UpdateReturnResolutionRequest.js +4 -4
  1671. package/models/UpdateReturnResolutionResponse.js +4 -4
  1672. package/models/UpdateReturnResponse.js +4 -4
  1673. package/models/UpdateRiskListRequest.js +3 -3
  1674. package/models/UpdateRiskRuleRequest.js +4 -4
  1675. package/models/UpdateServiceFulfillmentDetails.js +3 -3
  1676. package/models/UpdateSettingsRequest.js +4 -4
  1677. package/models/UpdateShipmentRequest.js +3 -3
  1678. package/models/UpdateShipmentResponse.js +4 -4
  1679. package/models/UpdateShipmentResult.js +3 -3
  1680. package/models/UpdateSubscriptionBillingScheduleRequest.js +4 -4
  1681. package/models/UpdateSubscriptionPlanLineItemRequest.js +4 -4
  1682. package/models/UpdateSubscriptionPlanRequest.js +4 -4
  1683. package/models/UpdateSubscriptionRequest.js +3 -3
  1684. package/models/UpdateWebhookEndpointRequest.js +3 -3
  1685. package/models/User.js +3 -3
  1686. package/models/VerifyReturnReceiptLineItemRequest.js +3 -3
  1687. package/models/VerifyReturnReceiptLineItemResponse.js +4 -4
  1688. package/models/VoidPackageRequest.js +3 -3
  1689. package/models/VoidPackageResponse.js +4 -4
  1690. package/models/VoidPackageResult.js +3 -3
  1691. package/models/VoidShipmentRequest.js +3 -3
  1692. package/models/VoidShipmentResponse.js +4 -4
  1693. package/models/VoidShipmentResult.js +3 -3
  1694. package/models/WaiveInvoiceLateFeeRequest.js +3 -3
  1695. package/models/WaiveReturnLineInspectionRequest.js +3 -3
  1696. package/models/WaiveReturnLineInspectionResponse.js +4 -4
  1697. package/models/WebhookDelivery.js +3 -3
  1698. package/models/WebhookDeliveryAction.js +3 -3
  1699. package/models/WebhookDeliveryActionResponse.js +4 -4
  1700. package/models/WebhookDeliveryAttempt.js +3 -3
  1701. package/models/WebhookDeliveryAttemptListResponse.js +4 -4
  1702. package/models/WebhookDeliveryListResponse.js +4 -4
  1703. package/models/WebhookDeliveryResponse.js +4 -4
  1704. package/models/WebhookEndpoint.js +3 -3
  1705. package/models/WebhookEndpointListResponse.js +4 -4
  1706. package/models/WebhookEndpointResponse.js +4 -4
  1707. package/models/WebhookEvent.js +4 -4
  1708. package/models/WebhookEventListResponse.js +4 -4
  1709. package/models/WebhookEventResponse.js +4 -4
  1710. package/models/WebhookEventType.js +3 -3
  1711. package/models/WebhookEventTypeListResponse.js +4 -4
  1712. package/models/WebhookSecret.js +3 -3
  1713. package/models/WebhookSecretRotationResponse.js +4 -4
  1714. package/models/WebhookStreamDisconnect.js +3 -3
  1715. package/models/WebhookStreamGap.js +3 -3
  1716. package/models/WebhookStreamReady.js +3 -3
  1717. package/models/WebhookStreamWithheld.js +4 -4
  1718. package/models/Webhook_balance_transaction_created_merchant.js +3 -3
  1719. package/models/Webhook_balance_transaction_updated_merchant.js +3 -3
  1720. package/models/Webhook_balance_updated_merchant.js +3 -3
  1721. package/models/Webhook_capability_updated_merchant.js +3 -3
  1722. package/models/Webhook_checkout_session_closed_installed_merchants.js +2 -2
  1723. package/models/Webhook_checkout_session_closed_merchant.js +2 -2
  1724. package/models/Webhook_checkout_session_completed_installed_merchants.js +4 -4
  1725. package/models/Webhook_checkout_session_completed_merchant.js +4 -4
  1726. package/models/Webhook_checkout_session_expired_installed_merchants.js +4 -4
  1727. package/models/Webhook_checkout_session_expired_merchant.js +4 -4
  1728. package/models/Webhook_checkout_session_invalidated_installed_merchants.js +2 -2
  1729. package/models/Webhook_checkout_session_invalidated_merchant.js +2 -2
  1730. package/models/Webhook_credit_note_allocation_created_installed_merchants.js +2 -2
  1731. package/models/Webhook_credit_note_allocation_created_merchant.js +2 -2
  1732. package/models/Webhook_credit_note_allocation_reversed_installed_merchants.js +2 -2
  1733. package/models/Webhook_credit_note_allocation_reversed_merchant.js +2 -2
  1734. package/models/Webhook_credit_note_created_installed_merchants.js +2 -2
  1735. package/models/Webhook_credit_note_created_merchant.js +2 -2
  1736. package/models/Webhook_credit_note_issued_installed_merchants.js +2 -2
  1737. package/models/Webhook_credit_note_issued_merchant.js +2 -2
  1738. package/models/Webhook_credit_note_updated_installed_merchants.js +2 -2
  1739. package/models/Webhook_credit_note_updated_merchant.js +2 -2
  1740. package/models/Webhook_credit_note_voided_installed_merchants.js +2 -2
  1741. package/models/Webhook_credit_note_voided_merchant.js +2 -2
  1742. package/models/Webhook_custom_domain_status_changed_merchant.js +3 -3
  1743. package/models/Webhook_customer_created_installed_merchants.js +2 -2
  1744. package/models/Webhook_customer_created_merchant.js +2 -2
  1745. package/models/Webhook_customer_deletion_completed_installed_merchants.js +2 -2
  1746. package/models/Webhook_customer_deletion_completed_merchant.js +2 -2
  1747. package/models/Webhook_customer_deletion_rejected_installed_merchants.js +4 -4
  1748. package/models/Webhook_customer_deletion_rejected_merchant.js +4 -4
  1749. package/models/Webhook_customer_deletion_requested_installed_merchants.js +2 -2
  1750. package/models/Webhook_customer_deletion_requested_merchant.js +2 -2
  1751. package/models/Webhook_customer_updated_installed_merchants.js +2 -2
  1752. package/models/Webhook_customer_updated_merchant.js +2 -2
  1753. package/models/Webhook_delivery_location_set_activated_installed_merchants.js +3 -3
  1754. package/models/Webhook_delivery_location_set_activated_merchant.js +3 -3
  1755. package/models/Webhook_delivery_location_set_archived_installed_merchants.js +2 -2
  1756. package/models/Webhook_delivery_location_set_archived_merchant.js +2 -2
  1757. package/models/Webhook_delivery_location_set_created_installed_merchants.js +3 -3
  1758. package/models/Webhook_delivery_location_set_created_merchant.js +3 -3
  1759. package/models/Webhook_delivery_location_set_deactivated_installed_merchants.js +3 -3
  1760. package/models/Webhook_delivery_location_set_deactivated_merchant.js +3 -3
  1761. package/models/Webhook_delivery_location_set_updated_installed_merchants.js +3 -3
  1762. package/models/Webhook_delivery_location_set_updated_merchant.js +3 -3
  1763. package/models/Webhook_delivery_method_activated_installed_merchants.js +2 -2
  1764. package/models/Webhook_delivery_method_activated_merchant.js +2 -2
  1765. package/models/Webhook_delivery_method_archived_installed_merchants.js +3 -3
  1766. package/models/Webhook_delivery_method_archived_merchant.js +3 -3
  1767. package/models/Webhook_delivery_method_created_installed_merchants.js +2 -2
  1768. package/models/Webhook_delivery_method_created_merchant.js +2 -2
  1769. package/models/Webhook_delivery_method_deactivated_installed_merchants.js +3 -3
  1770. package/models/Webhook_delivery_method_deactivated_merchant.js +3 -3
  1771. package/models/Webhook_delivery_method_updated_installed_merchants.js +2 -2
  1772. package/models/Webhook_delivery_method_updated_merchant.js +2 -2
  1773. package/models/Webhook_delivery_profile_activated_installed_merchants.js +2 -2
  1774. package/models/Webhook_delivery_profile_activated_merchant.js +2 -2
  1775. package/models/Webhook_delivery_profile_archived_installed_merchants.js +3 -3
  1776. package/models/Webhook_delivery_profile_archived_merchant.js +3 -3
  1777. package/models/Webhook_delivery_profile_created_installed_merchants.js +2 -2
  1778. package/models/Webhook_delivery_profile_created_merchant.js +2 -2
  1779. package/models/Webhook_delivery_profile_deactivated_installed_merchants.js +2 -2
  1780. package/models/Webhook_delivery_profile_deactivated_merchant.js +2 -2
  1781. package/models/Webhook_delivery_profile_updated_installed_merchants.js +2 -2
  1782. package/models/Webhook_delivery_profile_updated_merchant.js +2 -2
  1783. package/models/Webhook_delivery_rate_archived_installed_merchants.js +2 -2
  1784. package/models/Webhook_delivery_rate_archived_merchant.js +2 -2
  1785. package/models/Webhook_delivery_rate_callback_activated_installed_merchants.js +2 -2
  1786. package/models/Webhook_delivery_rate_callback_activated_merchant.js +2 -2
  1787. package/models/Webhook_delivery_rate_callback_archived_installed_merchants.js +3 -3
  1788. package/models/Webhook_delivery_rate_callback_archived_merchant.js +3 -3
  1789. package/models/Webhook_delivery_rate_callback_created_installed_merchants.js +2 -2
  1790. package/models/Webhook_delivery_rate_callback_created_merchant.js +2 -2
  1791. package/models/Webhook_delivery_rate_callback_deactivated_installed_merchants.js +2 -2
  1792. package/models/Webhook_delivery_rate_callback_deactivated_merchant.js +2 -2
  1793. package/models/Webhook_delivery_rate_callback_updated_installed_merchants.js +2 -2
  1794. package/models/Webhook_delivery_rate_callback_updated_merchant.js +2 -2
  1795. package/models/Webhook_delivery_rate_created_installed_merchants.js +2 -2
  1796. package/models/Webhook_delivery_rate_created_merchant.js +2 -2
  1797. package/models/Webhook_delivery_rate_updated_installed_merchants.js +2 -2
  1798. package/models/Webhook_delivery_rate_updated_merchant.js +2 -2
  1799. package/models/Webhook_delivery_revocation_created_installed_merchants.js +3 -3
  1800. package/models/Webhook_delivery_revocation_created_merchant.js +3 -3
  1801. package/models/Webhook_delivery_selection_committed_installed_merchants.js +3 -3
  1802. package/models/Webhook_delivery_selection_committed_merchant.js +3 -3
  1803. package/models/Webhook_delivery_zone_activated_installed_merchants.js +3 -3
  1804. package/models/Webhook_delivery_zone_activated_merchant.js +3 -3
  1805. package/models/Webhook_delivery_zone_archived_installed_merchants.js +3 -3
  1806. package/models/Webhook_delivery_zone_archived_merchant.js +3 -3
  1807. package/models/Webhook_delivery_zone_created_installed_merchants.js +3 -3
  1808. package/models/Webhook_delivery_zone_created_merchant.js +3 -3
  1809. package/models/Webhook_delivery_zone_deactivated_installed_merchants.js +2 -2
  1810. package/models/Webhook_delivery_zone_deactivated_merchant.js +2 -2
  1811. package/models/Webhook_delivery_zone_updated_installed_merchants.js +2 -2
  1812. package/models/Webhook_delivery_zone_updated_merchant.js +2 -2
  1813. package/models/Webhook_dispute_closed_merchant.js +3 -3
  1814. package/models/Webhook_dispute_created_merchant.js +3 -3
  1815. package/models/Webhook_dispute_lost_merchant.js +3 -3
  1816. package/models/Webhook_dispute_needs_response_merchant.js +3 -3
  1817. package/models/Webhook_dispute_prevented_merchant.js +3 -3
  1818. package/models/Webhook_dispute_updated_merchant.js +3 -3
  1819. package/models/Webhook_dispute_warning_closed_merchant.js +3 -3
  1820. package/models/Webhook_dispute_won_merchant.js +3 -3
  1821. package/models/Webhook_fraud_warning_created_installed_merchants.js +2 -2
  1822. package/models/Webhook_fraud_warning_created_merchant.js +2 -2
  1823. package/models/Webhook_fraud_warning_updated_installed_merchants.js +2 -2
  1824. package/models/Webhook_fraud_warning_updated_merchant.js +2 -2
  1825. package/models/Webhook_gift_card_created_installed_merchants.js +2 -2
  1826. package/models/Webhook_gift_card_created_merchant.js +2 -2
  1827. package/models/Webhook_gift_card_load_created_installed_merchants.js +3 -3
  1828. package/models/Webhook_gift_card_load_created_merchant.js +3 -3
  1829. package/models/Webhook_gift_card_load_updated_installed_merchants.js +2 -2
  1830. package/models/Webhook_gift_card_load_updated_merchant.js +2 -2
  1831. package/models/Webhook_gift_card_notification_created_installed_merchants.js +3 -3
  1832. package/models/Webhook_gift_card_notification_created_merchant.js +3 -3
  1833. package/models/Webhook_gift_card_notification_updated_installed_merchants.js +2 -2
  1834. package/models/Webhook_gift_card_notification_updated_merchant.js +2 -2
  1835. package/models/Webhook_gift_card_redemption_created_installed_merchants.js +2 -2
  1836. package/models/Webhook_gift_card_redemption_created_merchant.js +2 -2
  1837. package/models/Webhook_gift_card_redemption_updated_installed_merchants.js +2 -2
  1838. package/models/Webhook_gift_card_redemption_updated_merchant.js +2 -2
  1839. package/models/Webhook_gift_card_transaction_created_installed_merchants.js +2 -2
  1840. package/models/Webhook_gift_card_transaction_created_merchant.js +2 -2
  1841. package/models/Webhook_gift_card_updated_installed_merchants.js +2 -2
  1842. package/models/Webhook_gift_card_updated_merchant.js +2 -2
  1843. package/models/Webhook_inventory_action_required_merchant.js +3 -3
  1844. package/models/Webhook_inventory_count_applied_merchant.js +3 -3
  1845. package/models/Webhook_inventory_level_updated_merchant.js +3 -3
  1846. package/models/Webhook_inventory_receipt_created_merchant.js +3 -3
  1847. package/models/Webhook_inventory_reservation_at_risk_merchant.js +3 -3
  1848. package/models/Webhook_inventory_reservation_closed_merchant.js +3 -3
  1849. package/models/Webhook_inventory_reservation_committed_merchant.js +3 -3
  1850. package/models/Webhook_inventory_reservation_consumed_merchant.js +3 -3
  1851. package/models/Webhook_inventory_reservation_created_merchant.js +3 -3
  1852. package/models/Webhook_inventory_reservation_hold_expired_merchant.js +3 -3
  1853. package/models/Webhook_inventory_reservation_released_merchant.js +3 -3
  1854. package/models/Webhook_inventory_shortage_detected_merchant.js +3 -3
  1855. package/models/Webhook_inventory_transfer_closed_merchant.js +3 -3
  1856. package/models/Webhook_inventory_transfer_departed_merchant.js +3 -3
  1857. package/models/Webhook_inventory_transfer_lost_merchant.js +3 -3
  1858. package/models/Webhook_inventory_transfer_received_merchant.js +3 -3
  1859. package/models/Webhook_inventory_transfer_returned_merchant.js +3 -3
  1860. package/models/Webhook_invoice_collection_block_resolved_installed_merchants.js +4 -4
  1861. package/models/Webhook_invoice_collection_block_resolved_merchant.js +4 -4
  1862. package/models/Webhook_invoice_collection_blocked_installed_merchants.js +2 -2
  1863. package/models/Webhook_invoice_collection_blocked_merchant.js +2 -2
  1864. package/models/Webhook_invoice_created_installed_merchants.js +2 -2
  1865. package/models/Webhook_invoice_created_merchant.js +2 -2
  1866. package/models/Webhook_invoice_credited_installed_merchants.js +2 -2
  1867. package/models/Webhook_invoice_credited_merchant.js +2 -2
  1868. package/models/Webhook_invoice_delivery_failed_installed_merchants.js +2 -2
  1869. package/models/Webhook_invoice_delivery_failed_merchant.js +2 -2
  1870. package/models/Webhook_invoice_delivery_succeeded_installed_merchants.js +2 -2
  1871. package/models/Webhook_invoice_delivery_succeeded_merchant.js +2 -2
  1872. package/models/Webhook_invoice_issue_failed_installed_merchants.js +4 -4
  1873. package/models/Webhook_invoice_issue_failed_merchant.js +4 -4
  1874. package/models/Webhook_invoice_issued_installed_merchants.js +2 -2
  1875. package/models/Webhook_invoice_issued_merchant.js +2 -2
  1876. package/models/Webhook_invoice_late_fee_assessed_installed_merchants.js +2 -2
  1877. package/models/Webhook_invoice_late_fee_assessed_merchant.js +2 -2
  1878. package/models/Webhook_invoice_late_fee_due_installed_merchants.js +4 -4
  1879. package/models/Webhook_invoice_late_fee_due_merchant.js +4 -4
  1880. package/models/Webhook_invoice_late_fee_waived_installed_merchants.js +2 -2
  1881. package/models/Webhook_invoice_late_fee_waived_merchant.js +2 -2
  1882. package/models/Webhook_invoice_manual_payment_recorded_installed_merchants.js +2 -2
  1883. package/models/Webhook_invoice_manual_payment_recorded_merchant.js +2 -2
  1884. package/models/Webhook_invoice_manual_payment_reversed_installed_merchants.js +2 -2
  1885. package/models/Webhook_invoice_manual_payment_reversed_merchant.js +2 -2
  1886. package/models/Webhook_invoice_marked_uncollectible_installed_merchants.js +2 -2
  1887. package/models/Webhook_invoice_marked_uncollectible_merchant.js +2 -2
  1888. package/models/Webhook_invoice_overdue_installed_merchants.js +2 -2
  1889. package/models/Webhook_invoice_overdue_merchant.js +2 -2
  1890. package/models/Webhook_invoice_paid_installed_merchants.js +2 -2
  1891. package/models/Webhook_invoice_paid_merchant.js +2 -2
  1892. package/models/Webhook_invoice_partially_paid_installed_merchants.js +3 -3
  1893. package/models/Webhook_invoice_partially_paid_merchant.js +3 -3
  1894. package/models/Webhook_invoice_partially_refunded_installed_merchants.js +3 -3
  1895. package/models/Webhook_invoice_partially_refunded_merchant.js +3 -3
  1896. package/models/Webhook_invoice_payment_attempt_canceled_installed_merchants.js +2 -2
  1897. package/models/Webhook_invoice_payment_attempt_canceled_merchant.js +2 -2
  1898. package/models/Webhook_invoice_payment_attempt_expired_installed_merchants.js +2 -2
  1899. package/models/Webhook_invoice_payment_attempt_expired_merchant.js +2 -2
  1900. package/models/Webhook_invoice_payment_failed_installed_merchants.js +2 -2
  1901. package/models/Webhook_invoice_payment_failed_merchant.js +2 -2
  1902. package/models/Webhook_invoice_payment_processing_installed_merchants.js +4 -4
  1903. package/models/Webhook_invoice_payment_processing_merchant.js +4 -4
  1904. package/models/Webhook_invoice_refunded_installed_merchants.js +3 -3
  1905. package/models/Webhook_invoice_refunded_merchant.js +3 -3
  1906. package/models/Webhook_invoice_reminder_due_installed_merchants.js +4 -4
  1907. package/models/Webhook_invoice_reminder_due_merchant.js +4 -4
  1908. package/models/Webhook_invoice_sent_installed_merchants.js +2 -2
  1909. package/models/Webhook_invoice_sent_merchant.js +2 -2
  1910. package/models/Webhook_invoice_updated_installed_merchants.js +2 -2
  1911. package/models/Webhook_invoice_updated_merchant.js +2 -2
  1912. package/models/Webhook_invoice_voided_installed_merchants.js +2 -2
  1913. package/models/Webhook_invoice_voided_merchant.js +2 -2
  1914. package/models/Webhook_merchant_billing_balance_updated_merchant.js +3 -3
  1915. package/models/Webhook_merchant_readiness_updated_merchant.js +4 -4
  1916. package/models/Webhook_merchant_subscription_invoice_issued_merchant.js +3 -3
  1917. package/models/Webhook_merchant_subscription_invoice_updated_merchant.js +3 -3
  1918. package/models/Webhook_order_closed_installed_merchants.js +3 -3
  1919. package/models/Webhook_order_closed_merchant.js +3 -3
  1920. package/models/Webhook_order_created_installed_merchants.js +2 -2
  1921. package/models/Webhook_order_created_merchant.js +2 -2
  1922. package/models/Webhook_order_fulfillment_completed_installed_merchants.js +3 -3
  1923. package/models/Webhook_order_fulfillment_completed_merchant.js +3 -3
  1924. package/models/Webhook_order_fulfillment_created_installed_merchants.js +2 -2
  1925. package/models/Webhook_order_fulfillment_created_merchant.js +2 -2
  1926. package/models/Webhook_order_fulfillment_event_created_installed_merchants.js +2 -2
  1927. package/models/Webhook_order_fulfillment_event_created_merchant.js +2 -2
  1928. package/models/Webhook_order_fulfillment_package_created_installed_merchants.js +2 -2
  1929. package/models/Webhook_order_fulfillment_package_created_merchant.js +2 -2
  1930. package/models/Webhook_order_fulfillment_package_updated_installed_merchants.js +2 -2
  1931. package/models/Webhook_order_fulfillment_package_updated_merchant.js +2 -2
  1932. package/models/Webhook_order_fulfillment_shipment_created_installed_merchants.js +2 -2
  1933. package/models/Webhook_order_fulfillment_shipment_created_merchant.js +2 -2
  1934. package/models/Webhook_order_fulfillment_shipment_updated_installed_merchants.js +2 -2
  1935. package/models/Webhook_order_fulfillment_shipment_updated_merchant.js +2 -2
  1936. package/models/Webhook_order_fulfillment_status_changed_installed_merchants.js +2 -2
  1937. package/models/Webhook_order_fulfillment_status_changed_merchant.js +2 -2
  1938. package/models/Webhook_order_fulfillment_updated_installed_merchants.js +2 -2
  1939. package/models/Webhook_order_fulfillment_updated_merchant.js +2 -2
  1940. package/models/Webhook_order_inventory_action_required_merchant.js +3 -3
  1941. package/models/Webhook_order_inventory_exception_created_installed_merchants.js +2 -2
  1942. package/models/Webhook_order_inventory_exception_created_merchant.js +2 -2
  1943. package/models/Webhook_order_inventory_exception_resolved_installed_merchants.js +2 -2
  1944. package/models/Webhook_order_inventory_exception_resolved_merchant.js +2 -2
  1945. package/models/Webhook_order_paid_installed_merchants.js +4 -4
  1946. package/models/Webhook_order_paid_merchant.js +4 -4
  1947. package/models/Webhook_order_partially_paid_installed_merchants.js +4 -4
  1948. package/models/Webhook_order_partially_paid_merchant.js +4 -4
  1949. package/models/Webhook_order_payment_authorization_canceled_installed_merchants.js +3 -3
  1950. package/models/Webhook_order_payment_authorization_canceled_merchant.js +3 -3
  1951. package/models/Webhook_order_payment_authorization_expired_installed_merchants.js +2 -2
  1952. package/models/Webhook_order_payment_authorization_expired_merchant.js +2 -2
  1953. package/models/Webhook_order_payment_authorized_installed_merchants.js +2 -2
  1954. package/models/Webhook_order_payment_authorized_merchant.js +2 -2
  1955. package/models/Webhook_order_payment_captured_installed_merchants.js +2 -2
  1956. package/models/Webhook_order_payment_captured_merchant.js +2 -2
  1957. package/models/Webhook_order_refunded_installed_merchants.js +2 -2
  1958. package/models/Webhook_order_refunded_merchant.js +2 -2
  1959. package/models/Webhook_order_updated_installed_merchants.js +2 -2
  1960. package/models/Webhook_order_updated_merchant.js +2 -2
  1961. package/models/Webhook_partner_app_install_created_partner_app.js +3 -3
  1962. package/models/Webhook_partner_app_install_environment_grant_created_partner_app.js +3 -3
  1963. package/models/Webhook_partner_app_install_environment_grant_revoked_partner_app.js +3 -3
  1964. package/models/Webhook_partner_app_install_permissions_updated_partner_app.js +3 -3
  1965. package/models/Webhook_partner_app_install_revoked_partner_app.js +3 -3
  1966. package/models/Webhook_partner_app_install_updated_partner_app.js +3 -3
  1967. package/models/Webhook_payment_intent_canceled_installed_merchants.js +3 -3
  1968. package/models/Webhook_payment_intent_canceled_merchant.js +3 -3
  1969. package/models/Webhook_payment_intent_fulfillment_hold_updated_installed_merchants.js +2 -2
  1970. package/models/Webhook_payment_intent_fulfillment_hold_updated_merchant.js +2 -2
  1971. package/models/Webhook_payment_intent_payment_failed_installed_merchants.js +3 -3
  1972. package/models/Webhook_payment_intent_payment_failed_merchant.js +3 -3
  1973. package/models/Webhook_payment_intent_processing_installed_merchants.js +3 -3
  1974. package/models/Webhook_payment_intent_processing_merchant.js +3 -3
  1975. package/models/Webhook_payment_intent_requires_action_installed_merchants.js +2 -2
  1976. package/models/Webhook_payment_intent_requires_action_merchant.js +2 -2
  1977. package/models/Webhook_payment_intent_requires_capture_installed_merchants.js +2 -2
  1978. package/models/Webhook_payment_intent_requires_capture_merchant.js +2 -2
  1979. package/models/Webhook_payment_intent_succeeded_installed_merchants.js +2 -2
  1980. package/models/Webhook_payment_intent_succeeded_merchant.js +2 -2
  1981. package/models/Webhook_payment_method_failed_installed_merchants.js +2 -2
  1982. package/models/Webhook_payment_method_failed_merchant.js +2 -2
  1983. package/models/Webhook_payment_method_removed_installed_merchants.js +2 -2
  1984. package/models/Webhook_payment_method_removed_merchant.js +2 -2
  1985. package/models/Webhook_payment_method_saved_installed_merchants.js +2 -2
  1986. package/models/Webhook_payment_method_saved_merchant.js +2 -2
  1987. package/models/Webhook_payout_canceled_merchant.js +3 -3
  1988. package/models/Webhook_payout_created_merchant.js +3 -3
  1989. package/models/Webhook_payout_destination_created_merchant.js +3 -3
  1990. package/models/Webhook_payout_destination_deleted_merchant.js +3 -3
  1991. package/models/Webhook_payout_destination_disabled_merchant.js +3 -3
  1992. package/models/Webhook_payout_destination_updated_merchant.js +3 -3
  1993. package/models/Webhook_payout_failed_merchant.js +3 -3
  1994. package/models/Webhook_payout_paid_merchant.js +3 -3
  1995. package/models/Webhook_payout_reversed_merchant.js +3 -3
  1996. package/models/Webhook_payout_settings_updated_merchant.js +3 -3
  1997. package/models/Webhook_payout_updated_merchant.js +3 -3
  1998. package/models/Webhook_refund_created_installed_merchants.js +2 -2
  1999. package/models/Webhook_refund_created_merchant.js +2 -2
  2000. package/models/Webhook_refund_failed_installed_merchants.js +2 -2
  2001. package/models/Webhook_refund_failed_merchant.js +2 -2
  2002. package/models/Webhook_refund_updated_installed_merchants.js +2 -2
  2003. package/models/Webhook_refund_updated_merchant.js +2 -2
  2004. package/models/Webhook_report_failed_installed_merchants.js +4 -4
  2005. package/models/Webhook_report_failed_merchant.js +4 -4
  2006. package/models/Webhook_report_succeeded_installed_merchants.js +4 -4
  2007. package/models/Webhook_report_succeeded_merchant.js +4 -4
  2008. package/models/Webhook_return_canceled_installed_merchants.js +2 -2
  2009. package/models/Webhook_return_canceled_merchant.js +2 -2
  2010. package/models/Webhook_return_completed_installed_merchants.js +3 -3
  2011. package/models/Webhook_return_completed_merchant.js +3 -3
  2012. package/models/Webhook_return_created_installed_merchants.js +2 -2
  2013. package/models/Webhook_return_created_merchant.js +2 -2
  2014. package/models/Webhook_return_decision_recorded_installed_merchants.js +2 -2
  2015. package/models/Webhook_return_decision_recorded_merchant.js +2 -2
  2016. package/models/Webhook_return_disposition_created_installed_merchants.js +3 -3
  2017. package/models/Webhook_return_disposition_created_merchant.js +3 -3
  2018. package/models/Webhook_return_disposition_updated_installed_merchants.js +3 -3
  2019. package/models/Webhook_return_disposition_updated_merchant.js +3 -3
  2020. package/models/Webhook_return_inspection_acceptance_decided_installed_merchants.js +3 -3
  2021. package/models/Webhook_return_inspection_acceptance_decided_merchant.js +3 -3
  2022. package/models/Webhook_return_inspection_created_installed_merchants.js +2 -2
  2023. package/models/Webhook_return_inspection_created_merchant.js +2 -2
  2024. package/models/Webhook_return_inspection_superseded_installed_merchants.js +2 -2
  2025. package/models/Webhook_return_inspection_superseded_merchant.js +2 -2
  2026. package/models/Webhook_return_receipt_created_installed_merchants.js +2 -2
  2027. package/models/Webhook_return_receipt_created_merchant.js +2 -2
  2028. package/models/Webhook_return_receipt_superseded_installed_merchants.js +3 -3
  2029. package/models/Webhook_return_receipt_superseded_merchant.js +3 -3
  2030. package/models/Webhook_return_receipt_verified_installed_merchants.js +2 -2
  2031. package/models/Webhook_return_receipt_verified_merchant.js +2 -2
  2032. package/models/Webhook_return_reopened_installed_merchants.js +2 -2
  2033. package/models/Webhook_return_reopened_merchant.js +2 -2
  2034. package/models/Webhook_return_resolution_created_installed_merchants.js +2 -2
  2035. package/models/Webhook_return_resolution_created_merchant.js +2 -2
  2036. package/models/Webhook_return_resolution_updated_installed_merchants.js +3 -3
  2037. package/models/Webhook_return_resolution_updated_merchant.js +3 -3
  2038. package/models/Webhook_return_updated_installed_merchants.js +2 -2
  2039. package/models/Webhook_return_updated_merchant.js +2 -2
  2040. package/models/Webhook_review_closed_installed_merchants.js +2 -2
  2041. package/models/Webhook_review_closed_merchant.js +2 -2
  2042. package/models/Webhook_review_opened_installed_merchants.js +3 -3
  2043. package/models/Webhook_review_opened_merchant.js +3 -3
  2044. package/models/Webhook_subscription_activated_installed_merchants.js +2 -2
  2045. package/models/Webhook_subscription_activated_merchant.js +2 -2
  2046. package/models/Webhook_subscription_canceled_installed_merchants.js +2 -2
  2047. package/models/Webhook_subscription_canceled_merchant.js +2 -2
  2048. package/models/Webhook_subscription_cancellation_scheduled_installed_merchants.js +2 -2
  2049. package/models/Webhook_subscription_cancellation_scheduled_merchant.js +2 -2
  2050. package/models/Webhook_subscription_created_installed_merchants.js +2 -2
  2051. package/models/Webhook_subscription_created_merchant.js +2 -2
  2052. package/models/Webhook_subscription_dunning_exhausted_installed_merchants.js +2 -2
  2053. package/models/Webhook_subscription_dunning_exhausted_merchant.js +2 -2
  2054. package/models/Webhook_subscription_past_due_installed_merchants.js +3 -3
  2055. package/models/Webhook_subscription_past_due_merchant.js +3 -3
  2056. package/models/Webhook_subscription_paused_installed_merchants.js +3 -3
  2057. package/models/Webhook_subscription_paused_merchant.js +3 -3
  2058. package/models/Webhook_subscription_payment_failed_installed_merchants.js +2 -2
  2059. package/models/Webhook_subscription_payment_failed_merchant.js +2 -2
  2060. package/models/Webhook_subscription_payment_retry_created_installed_merchants.js +2 -2
  2061. package/models/Webhook_subscription_payment_retry_created_merchant.js +2 -2
  2062. package/models/Webhook_subscription_payment_retry_failed_installed_merchants.js +2 -2
  2063. package/models/Webhook_subscription_payment_retry_failed_merchant.js +2 -2
  2064. package/models/Webhook_subscription_payment_retry_succeeded_installed_merchants.js +2 -2
  2065. package/models/Webhook_subscription_payment_retry_succeeded_merchant.js +2 -2
  2066. package/models/Webhook_subscription_payment_succeeded_installed_merchants.js +2 -2
  2067. package/models/Webhook_subscription_payment_succeeded_merchant.js +2 -2
  2068. package/models/Webhook_subscription_reactivated_installed_merchants.js +2 -2
  2069. package/models/Webhook_subscription_reactivated_merchant.js +2 -2
  2070. package/models/Webhook_subscription_renewal_upcoming_installed_merchants.js +2 -2
  2071. package/models/Webhook_subscription_renewal_upcoming_merchant.js +2 -2
  2072. package/models/Webhook_subscription_resumed_installed_merchants.js +2 -2
  2073. package/models/Webhook_subscription_resumed_merchant.js +2 -2
  2074. package/models/Webhook_subscription_trial_ending_installed_merchants.js +2 -2
  2075. package/models/Webhook_subscription_trial_ending_merchant.js +2 -2
  2076. package/models/Webhook_subscription_updated_installed_merchants.js +2 -2
  2077. package/models/Webhook_subscription_updated_merchant.js +2 -2
  2078. package/models/Weight.js +2 -2
  2079. package/package.json +1 -1
  2080. package/predicates/OrdersUpdateLineItemResponse.js +4 -4
  2081. package/resources/analytics.js +2 -2
  2082. package/resources/apiKeys.js +2 -2
  2083. package/resources/balanceTransactions.js +2 -2
  2084. package/resources/balances.js +2 -2
  2085. package/resources/bundles.js +2 -2
  2086. package/resources/capabilities.js +2 -2
  2087. package/resources/categories.js +2 -2
  2088. package/resources/checkoutSessions.d.ts +2 -0
  2089. package/resources/checkoutSessions.js +3 -2
  2090. package/resources/creditNotes.js +2 -2
  2091. package/resources/customerDeletionRequests.js +2 -2
  2092. package/resources/customerSessions.js +2 -2
  2093. package/resources/customerVerifications.js +2 -2
  2094. package/resources/customers.js +2 -2
  2095. package/resources/deliveryLocationSets.js +2 -2
  2096. package/resources/deliveryMethods.js +2 -2
  2097. package/resources/deliveryPreviews.js +2 -2
  2098. package/resources/deliveryProfiles.js +2 -2
  2099. package/resources/deliveryQuotes.js +2 -2
  2100. package/resources/deliveryRateCallbacks.js +2 -2
  2101. package/resources/deliveryRevocations.js +2 -2
  2102. package/resources/deliveryZones.js +2 -2
  2103. package/resources/demoSessions.js +2 -2
  2104. package/resources/developer.js +2 -2
  2105. package/resources/devices.js +2 -2
  2106. package/resources/discountPreviews.js +2 -2
  2107. package/resources/disputes.js +2 -2
  2108. package/resources/emailPreferenceLinks.js +2 -2
  2109. package/resources/feedbackReports.js +2 -2
  2110. package/resources/fraudWarnings.js +2 -2
  2111. package/resources/fulfillmentEvents.js +2 -2
  2112. package/resources/fulfillmentNotifications.js +2 -2
  2113. package/resources/fulfillments.js +2 -2
  2114. package/resources/giftCardAdjustments.js +2 -2
  2115. package/resources/giftCardCashOuts.js +2 -2
  2116. package/resources/giftCardFundingDispositions.js +2 -2
  2117. package/resources/giftCardLoads.js +2 -2
  2118. package/resources/giftCardNotifications.js +2 -2
  2119. package/resources/giftCardRedemptions.js +2 -2
  2120. package/resources/giftCardTransactions.js +2 -2
  2121. package/resources/giftCards.js +2 -2
  2122. package/resources/inventoryAdjustments.js +2 -2
  2123. package/resources/inventoryAllocationPolicies.js +2 -2
  2124. package/resources/inventoryCounts.js +2 -2
  2125. package/resources/inventoryItems.js +2 -2
  2126. package/resources/inventoryLevels.js +2 -2
  2127. package/resources/inventoryMovements.js +2 -2
  2128. package/resources/inventoryReceipts.js +2 -2
  2129. package/resources/inventoryReservations.js +2 -2
  2130. package/resources/inventoryTransfers.js +2 -2
  2131. package/resources/invoicePaymentTerms.js +2 -2
  2132. package/resources/invoices.d.ts +2 -0
  2133. package/resources/invoices.js +3 -2
  2134. package/resources/locations.js +2 -2
  2135. package/resources/me.d.ts +9 -7
  2136. package/resources/me.js +3 -2
  2137. package/resources/merchantAccountSessions.js +2 -2
  2138. package/resources/merchantBillingBalances.js +2 -2
  2139. package/resources/merchantSubscriptionInvoices.js +2 -2
  2140. package/resources/merchants.js +2 -2
  2141. package/resources/modifierGroups.js +2 -2
  2142. package/resources/modifierSets.js +2 -2
  2143. package/resources/oauth.js +2 -2
  2144. package/resources/onboarding.js +2 -2
  2145. package/resources/orders.d.ts +1 -1
  2146. package/resources/orders.js +2 -2
  2147. package/resources/organizations.js +2 -2
  2148. package/resources/packages.js +2 -2
  2149. package/resources/paymentIntents.js +2 -2
  2150. package/resources/paymentLinks.d.ts +2 -0
  2151. package/resources/paymentLinks.js +3 -2
  2152. package/resources/paymentMethodDomains.js +2 -2
  2153. package/resources/paymentMethods.js +2 -2
  2154. package/resources/payoutSettings.js +2 -2
  2155. package/resources/payouts.js +2 -2
  2156. package/resources/products.js +2 -2
  2157. package/resources/promotions.js +2 -2
  2158. package/resources/refunds.js +2 -2
  2159. package/resources/reportDownloads.js +2 -2
  2160. package/resources/reports.js +2 -2
  2161. package/resources/returnDispositions.js +2 -2
  2162. package/resources/returnInspections.js +2 -2
  2163. package/resources/returnPolicies.js +2 -2
  2164. package/resources/returnPreviews.js +2 -2
  2165. package/resources/returnReasons.js +2 -2
  2166. package/resources/returnReceipts.js +2 -2
  2167. package/resources/returnResolutions.d.ts +2 -0
  2168. package/resources/returnResolutions.js +3 -2
  2169. package/resources/returns.js +2 -2
  2170. package/resources/reviews.js +2 -2
  2171. package/resources/riskLists.js +2 -2
  2172. package/resources/riskPreviews.js +2 -2
  2173. package/resources/riskRules.js +2 -2
  2174. package/resources/settings.js +2 -2
  2175. package/resources/shipments.js +2 -2
  2176. package/resources/specification.js +2 -2
  2177. package/resources/subscriptionPlans.js +2 -2
  2178. package/resources/subscriptions.js +2 -2
  2179. package/resources/webhookDeliveries.js +2 -2
  2180. package/resources/webhookEndpoints.js +2 -2
  2181. package/resources/webhookEventTypes.js +2 -2
  2182. package/resources/webhookEvents.js +2 -2
@@ -49,4 +49,4 @@ import type { TaxBreakdown } from './TaxBreakdown.js';
49
49
  import type { ThemeConfig } from './ThemeConfig.js';
50
50
  import type { Tip } from './Tip.js';
51
51
 
52
- export type CheckoutDeliverySelectionResultResponse = { "data": (({ "audience": ("merchant") & ("merchant"); "checkout_session": CheckoutSession; "delivery_selection": DeliverySelection; "inventory_reservation"?: DeliveryInventoryReservationSummary; "order": Order; }) | ({ "audience": ("buyer") & ("buyer"); /** The checkout session after the change. Merchant-only fields, such as metadata and external_reference_id, are omitted. */ "checkout_session": { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "checkout_session_id": string; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "custom_text"?: CheckoutCustomTextWriteConfig; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_collection"?: CheckoutCustomerConfig; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: { /** The customer's default billing address. Omitted when the customer has none. */ "billing_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; /** The customer's email. */ "email": string; /** The customer's default shipping address. Omitted when the customer has none. */ "shipping_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; }; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: Array<CheckoutDeliveryPinnedDependency>; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required": boolean; "expiration"?: CheckoutExpirationConfig; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: (({ "choice_groups": Array<DeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<DeliveryInputRequirement>; "merchant_diagnostics": Array<DeliveryMerchantDiagnostic>; }) | ({ "buyer_reasons": Array<string>; "choice_groups": Array<BuyerDeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<BuyerDeliveryInputRequirementResource>; }) | (object)); "invoice"?: (({ "collection_block_status"?: "none" | "inventory_blocked" | "resolved" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "due_at"?: string; "invoice_id": string; "invoice_number"?: string; "is_overdue": boolean; "order_id"?: string; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refund_status"?: "none" | "partially_refunded" | "refunded" | (string & {}); "refunded_money": MoneyValue; "status": "draft" | "open" | "partially_paid" | "paid" | "void" | "uncollectible" | "credited" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "invoice_id"?: string; "legal"?: LegalSettings; "merchant_id"?: string; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: { /** Support email address. Format: email. */ "email"?: string; /** Support phone number. */ "phone"?: string; /** Support page, as an absolute http or https URL. Format: uri. */ "url"?: string; }; "metadata"?: Record<string, string>; "order"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "order_id": string; "order_number"?: string; "payment_intent_ids"?: Array<string>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": PricingAmounts; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "settlement_amounts": SettlementAmounts; "status": "open" | "closed" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "order_id"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_link"?: (({ /** Format: int32. */ "completed_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "description"?: string; "name": string; "payment_link_id": string; "payment_link_type"?: "standard" | "donation" | "event" | (string & {}); "status": "active" | "inactive" | (string & {}); "subscription_plan_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; }) | (null)); "payment_link_id"?: string; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: { /** True while status is pending after the buyer confirmed the number by text, when the number alone can't save the card: the customer with the buyer's email existed before this payment, the buyer did not confirm that email in this checkout, and the number isn't already the customer's saved number with an active card saved with it. The buyer confirms the email with an emailed code to finish; the card is then saved with the number, which replaces the customer's saved number. */ "email_confirmation_required": boolean; /** When a pending save stops waiting: 24 hours after the payment succeeded or was approved. Format: date-time. */ "expires_at"?: string | null; /** Last two digits of the number the buyer gave, which a code is texted to. Set while status is pending. */ "phone_last_digits"?: string; "saved_with"?: "sms" | "email" | (string & {}); "status": "pending" | "saved" | "expired" | (string & {}); }; "payments"?: CheckoutPaymentConfig; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems": Array<CheckoutProblemResource>; "promotion_config"?: CheckoutPromotionConfig; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: string | null; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode": boolean; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: string; "redirects"?: CheckoutRedirectsConfig; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: boolean; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: boolean; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: boolean; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "paid" | "partially_paid" | "expired" | "closed" | "invalidated" | (string & {}); "subscription_plan_id"?: string; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: { "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Number of billing intervals between recurring charges. Format: int32. */ "billing_interval_count": number; /** Minimum commitment in months, when the plan has one. Format: int32. */ "contract_term_months"?: number; /** Fee charged when the buyer cancels before the contract term ends, when the plan has one. */ "early_termination_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Plan name shown to the buyer. */ "plan_name": string; /** Charge for one billing interval before tax: each line's unit price times its quantity, plus modifiers. */ "recurring_total_money": { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** One-time fee charged with the first payment, when the plan has one. */ "setup_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Flint subscription plan ID the terms come from. */ "subscription_plan_id": string; /** Days before the first recurring charge, when the plan has a trial. Format: int32. */ "trial_period_days"?: number; }; "superseding_checkout_session_id"?: string; "surface": "hosted" | "embedded" | (string & {}); "tax"?: CheckoutTaxConfig; "terminal_reason"?: "payment_succeeded" | "payment_partially_succeeded" | "expired" | "api" | "order_mutated" | "superseded" | "invoice_paid_elsewhere" | "invoice_voided" | "invoice_uncollectible" | "invoice_balance_changed" | (string & {}); "theme"?: ThemeConfig; "tip"?: CheckoutTipConfig; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; }; "delivery_selection": BuyerDeliverySelection; /** Omitted for checkout credentials, which cannot read the merchant's inventory reservation. Merchant credentials receive it on DeliverySelectionResult. */ "inventory_reservation"?: { /** RFC3339 timestamp. Format: date-time. */ "expires_at": string; "inventory_reservation_id": string; "owner_type": "delivery_selection" | "payment_attempt" | "order_balance_hold" | (string & {}); "required_next_action"?: "none" | "retry_payment" | "replace_selection" | "contact_merchant" | (string & {}); "status": "active" | "closed" | (string & {}); }; /** The order after the change. Merchant-only fields, such as external_reference_id and internal_note, are omitted. */ "order": { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; "applied_discounts"?: Array<AppliedDiscount>; "authorization_amounts"?: { "authorized_money": MoneyValue; "capturable_money": MoneyValue; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; }; /** What the buyer can do with the order, in this order: start_return, then resend_receipt. A buyer's read through a customer session on /v1/me, or in Flint's buyer account, lists both every time; a merchant read gets an empty list. A list of orders leaves start_return out, since only a read of one order checks return eligibility. start_return is due when the last open return window ends. Example: []. */ "buyer_actions": Array<BuyerAction>; /** Email and phone saved when payment started, from the pay request's buyer_contact or the paying checkout session's saved contact. It does not change the linked customer. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "buyer_note"?: string; "charges"?: Array<OrderCharge>; "checkout_session_ids"?: Array<string>; /** The note supplied when the order was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_id"?: string; /** The shipment or local-delivery destination committed for this order. Payment freezes this value; fulfillment recipient changes do not replace it. */ "delivery_destination"?: { "address": OrderDeliveryDestinationAddress; /** Delivery selection that controls this destination, when checkout collected it. */ "delivery_selection_id"?: string; /** Time payment froze this destination. Format: date-time. */ "frozen_at"?: string; "recipient"?: OrderDeliveryDestinationRecipient; "source": "delivery_selection" | "api" | "dashboard" | (string & {}); }; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "fulfillments"?: Array<Fulfillment>; "gift_card_estimate"?: { "can_pay": boolean; "gift_card_money": MoneyValue; "gift_cards": Array<OrderGiftCardAllocation>; "is_reserved": boolean; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision": string; "processor_money": MoneyValue; }; "gift_card_settlements"?: Array<OrderGiftCardSettlement>; "gift_card_tender_enabled"?: boolean; "gift_cards"?: Array<OrderGiftCardSelection>; "internal_note"?: string; "inventory_exception_status"?: "paid_inventory_failed" | "resolved" | (string & {}); /** The reservation holding stock for this order, when one exists. */ "inventory_reservation_id"?: string; /** Where this order's tracked demand is routed. Required before an order containing tracked variants can hold stock. */ "inventory_routing_source"?: { "inventory_allocation_policy_id"?: string; "inventory_allocation_policy_version_id"?: string; "location_id"?: string; "location_ids"?: Array<string>; "type": "fixed_location" | "policy" | "policy_version" | (string & {}); }; "line_items": Array<OrderLineItem>; "merchant_id"?: string; "metadata"?: Record<string, string>; "order_id": string; "order_number"?: string; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": { "charge_money": MoneyValue; "discount_money": MoneyValue; "requested_tip_money": MoneyValue; "subtotal_money": MoneyValue; "tax_money": MoneyValue; "total_money": MoneyValue; }; "purchased_event"?: { "location"?: string; "name": string; /** RFC3339 timestamp. Format: date-time. */ "starts_at"?: string; "timezone"?: string; }; "refund_ids"?: Array<string>; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "requested_tip"?: RequestedTip; /** Value applied to this order from items the buyer returned, such as an exchange's replacement order. Included in settlement_amounts.paid_money. */ "return_credit_settlements"?: Array<OrderReturnCreditSettlement>; "settlement_amounts": { "balance_money": SignedMoney; "credit_money": MoneyValue; "net_collected_money": MoneyValue; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refunded_money": MoneyValue; "settled_tip_money": MoneyValue; }; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "closed" | (string & {}); "subscription"?: (({ /** Format: int32. */ "billing_anchor_day": number; "cancel_at_period_end": boolean; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "current_period_end"?: string; "current_period_start"?: string; "customer_id": string; /** RFC3339 timestamp. Format: date-time. */ "next_billing_at"?: string; "status": "trialing" | "active" | "paused" | "past_due" | "canceled" | "incomplete" | (string & {}); "subscription_id": string; "subscription_plan_id": string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "subscription_id"?: string; "subscription_plan"?: (({ "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Format: int32. */ "billing_interval_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; /** ISO 4217 currency code. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; "description"?: string; "line_items"?: Array<SubscriptionPlanLineItem>; "name": string; "setup_fee_money"?: MoneyValue; "status": "active" | "archived" | (string & {}); "subscription_plan_id": string; /** Format: int32. */ "trial_period_days"?: number; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "subscription_plan_id"?: string; "tax": { /** Identifies which automatic tax behavior applies to this order. connected means the account's tax connection calculated it. standard marks an order calculated before automatic tax required a tax connection. */ "automatic_profile"?: "standard" | "connected" | (string & {}); "available_location_inputs"?: Array<string>; "enabled": boolean; "exemption"?: OrderTaxExemption; /** Normalized reason the most recent tax calculation could not complete. */ "failure_reason"?: "calculation_unavailable" | "location_unsupported" | "rate_unavailable" | (string & {}); "location"?: OrderTaxLocation; "mode": "automatic" | "external" | (string & {}); "status": "not_required" | "requires_location" | "calculated" | "exempt" | "incomplete" | (string & {}); "tax_breakdowns"?: Array<TaxBreakdown>; /** Explains why tax was charged or zero for this order. */ "taxability_reason": "standard_rated" | "not_taxable" | "customer_exempt" | "tax_disabled" | "no_jurisdiction" | "location_required" | (string & {}); }; "tips"?: Array<Tip>; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }; }) | (object)); "meta"?: ResponseMeta; "request_id"?: string; };
52
+ export type CheckoutDeliverySelectionResultResponse = { "data": (({ "audience": ("merchant") & ("merchant"); "checkout_session": CheckoutSession; "delivery_selection": DeliverySelection; "inventory_reservation"?: DeliveryInventoryReservationSummary; "order": Order; }) | ({ "audience": ("buyer") & ("buyer"); /** The checkout session after the change. Merchant-only fields, such as metadata and external_reference_id, are omitted. */ "checkout_session": { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "checkout_session_id": string; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "custom_text"?: CheckoutCustomTextWriteConfig; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_collection"?: CheckoutCustomerConfig; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: { /** The customer's default billing address. Omitted when the customer has none. */ "billing_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; /** The customer's email. */ "email": string; /** The customer's default shipping address. Omitted when the customer has none. */ "shipping_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; }; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: Array<CheckoutDeliveryPinnedDependency>; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required": boolean; "expiration"?: CheckoutExpirationConfig; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: (({ "choice_groups": Array<DeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<DeliveryInputRequirement>; "merchant_diagnostics": Array<DeliveryMerchantDiagnostic>; }) | ({ "buyer_reasons": Array<string>; "choice_groups": Array<BuyerDeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<BuyerDeliveryInputRequirementResource>; }) | (object)); "invoice"?: (({ "collection_block_status"?: "none" | "inventory_blocked" | "resolved" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "due_at"?: string; "invoice_id": string; "invoice_number"?: string; "is_overdue": boolean; "order_id"?: string; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refund_status"?: "none" | "partially_refunded" | "refunded" | (string & {}); "refunded_money": MoneyValue; "status": "draft" | "open" | "partially_paid" | "paid" | "void" | "uncollectible" | "credited" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "invoice_id"?: string; "legal"?: LegalSettings; "merchant_id"?: string; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: { /** Support email address. Format: email. */ "email"?: string; /** Support phone number. */ "phone"?: string; /** Support page, as an absolute http or https URL. Format: uri. */ "url"?: string; }; "metadata"?: Record<string, string>; "order"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "order_id": string; "order_number"?: string; "payment_intent_ids"?: Array<string>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": PricingAmounts; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "settlement_amounts": SettlementAmounts; "status": "open" | "closed" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "order_id"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_link"?: (({ /** Format: int32. */ "completed_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "description"?: string; "name": string; "payment_link_id": string; "payment_link_type"?: "standard" | "donation" | "event" | (string & {}); "status": "active" | "inactive" | (string & {}); "subscription_plan_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; }) | (null)); "payment_link_id"?: string; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: { /** True while status is pending after the buyer confirmed the number by text, when the number alone can't save the card: the customer with the buyer's email existed before this payment, the buyer did not confirm that email in this checkout, and the number isn't already the customer's saved number with an active card saved with it. The buyer confirms the email with an emailed code to finish; the card is then saved with the number, which replaces the customer's saved number. */ "email_confirmation_required": boolean; /** When a pending save stops waiting: 24 hours after the payment succeeded or was approved. Format: date-time. */ "expires_at"?: string | null; /** Last two digits of the number the buyer gave, which a code is texted to. Set while status is pending. */ "phone_last_digits"?: string; "saved_with"?: "sms" | "email" | (string & {}); "status": "pending" | "saved" | "expired" | (string & {}); }; "payments"?: CheckoutPaymentConfig; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems": Array<CheckoutProblemResource>; "promotion_config"?: CheckoutPromotionConfig; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: string | null; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode": boolean; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: string; "redirects"?: CheckoutRedirectsConfig; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: boolean; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: boolean; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: boolean; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "paid" | "partially_paid" | "expired" | "closed" | "invalidated" | (string & {}); "subscription_plan_id"?: string; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: { "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Number of billing intervals between recurring charges. Format: int32. */ "billing_interval_count": number; /** Minimum commitment in months, when the plan has one. Format: int32. */ "contract_term_months"?: number; /** Fee charged when the buyer cancels before the contract term ends, when the plan has one. */ "early_termination_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Plan name shown to the buyer. */ "plan_name": string; /** Charge for one billing interval before tax: each line's unit price times its quantity, plus modifiers. */ "recurring_total_money": { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** One-time fee charged with the first payment, when the plan has one. */ "setup_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Flint subscription plan ID the terms come from. */ "subscription_plan_id": string; /** Days before the first recurring charge, when the plan has a trial. Format: int32. */ "trial_period_days"?: number; }; "superseding_checkout_session_id"?: string; "surface": "hosted" | "embedded" | (string & {}); "tax"?: CheckoutTaxConfig; "terminal_reason"?: "payment_succeeded" | "payment_partially_succeeded" | "expired" | "api" | "order_mutated" | "superseded" | "invoice_paid_elsewhere" | "invoice_voided" | "invoice_uncollectible" | "invoice_balance_changed" | (string & {}); "theme"?: ThemeConfig; "tip"?: CheckoutTipConfig; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; /** Hosted checkout URL that carries a one-time launch credential. Send the buyer here to pay. Returned for a hosted session on every launch result: create, payment-link resolve, and invoice and return-resolution checkout. Reads return it only to a credential that can manage checkout sessions. Omitted for embedded sessions. */ "url"?: string; }; "delivery_selection": BuyerDeliverySelection; /** Omitted for checkout credentials, which cannot read the merchant's inventory reservation. Merchant credentials receive it on DeliverySelectionResult. */ "inventory_reservation"?: { /** RFC3339 timestamp. Format: date-time. */ "expires_at": string; "inventory_reservation_id": string; "owner_type": "delivery_selection" | "payment_attempt" | "order_balance_hold" | (string & {}); "required_next_action"?: "none" | "retry_payment" | "replace_selection" | "contact_merchant" | (string & {}); "status": "active" | "closed" | (string & {}); }; /** The order after the change. Merchant-only fields, such as external_reference_id and internal_note, are omitted. */ "order": { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; "applied_discounts"?: Array<AppliedDiscount>; "authorization_amounts"?: { "authorized_money": MoneyValue; "capturable_money": MoneyValue; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; }; /** What the buyer can do with the order, in this order: start_return, then resend_receipt. A buyer's read through a customer session on /v1/me, or in Flint's buyer account, lists both every time; a merchant read gets an empty list. A list of orders leaves start_return out, since only a read of one order checks return eligibility. start_return is due when the last open return window ends. Example: []. */ "buyer_actions": Array<BuyerAction>; /** Email and phone saved when payment started, from the pay request's buyer_contact or the paying checkout session's saved contact. It does not change the linked customer. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "buyer_note"?: string; "charges"?: Array<OrderCharge>; "checkout_session_ids"?: Array<string>; /** The note supplied when the order was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_id"?: string; /** The shipment or local-delivery destination committed for this order. Payment freezes this value; fulfillment recipient changes do not replace it. */ "delivery_destination"?: { "address": OrderDeliveryDestinationAddress; /** Delivery selection that controls this destination, when checkout collected it. */ "delivery_selection_id"?: string; /** Time payment froze this destination. Format: date-time. */ "frozen_at"?: string; "recipient"?: OrderDeliveryDestinationRecipient; "source": "delivery_selection" | "api" | "dashboard" | (string & {}); }; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "fulfillments"?: Array<Fulfillment>; "gift_card_estimate"?: { "can_pay": boolean; "gift_card_money": MoneyValue; "gift_cards": Array<OrderGiftCardAllocation>; "is_reserved": boolean; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision": string; "processor_money": MoneyValue; }; "gift_card_settlements"?: Array<OrderGiftCardSettlement>; "gift_card_tender_enabled"?: boolean; "gift_cards"?: Array<OrderGiftCardSelection>; "internal_note"?: string; "inventory_exception_status"?: "paid_inventory_failed" | "resolved" | (string & {}); /** The reservation holding stock for this order, when one exists. */ "inventory_reservation_id"?: string; /** Where this order's tracked demand is routed. Required before an order containing tracked variants can hold stock. */ "inventory_routing_source"?: { "inventory_allocation_policy_id"?: string; "inventory_allocation_policy_version_id"?: string; "location_id"?: string; "location_ids"?: Array<string>; "type": "fixed_location" | "policy" | "policy_version" | (string & {}); }; "line_items": Array<OrderLineItem>; "merchant_id"?: string; "metadata"?: Record<string, string>; "order_id": string; "order_number"?: string; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": { "charge_money": MoneyValue; "discount_money": MoneyValue; "requested_tip_money": MoneyValue; "subtotal_money": MoneyValue; "tax_money": MoneyValue; "total_money": MoneyValue; }; "purchased_event"?: { "location"?: string; "name": string; /** RFC3339 timestamp. Format: date-time. */ "starts_at"?: string; "timezone"?: string; }; "refund_ids"?: Array<string>; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "requested_tip"?: RequestedTip; /** Value applied to this order from items the buyer returned, such as an exchange's replacement order. Included in settlement_amounts.paid_money. */ "return_credit_settlements"?: Array<OrderReturnCreditSettlement>; "settlement_amounts": { "balance_money": SignedMoney; "credit_money": MoneyValue; "net_collected_money": MoneyValue; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refunded_money": MoneyValue; "settled_tip_money": MoneyValue; }; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "closed" | (string & {}); "subscription"?: (({ /** Format: int32. */ "billing_anchor_day": number; "cancel_at_period_end": boolean; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "current_period_end"?: string; "current_period_start"?: string; "customer_id": string; /** RFC3339 timestamp. Format: date-time. */ "next_billing_at"?: string; "status": "trialing" | "active" | "paused" | "past_due" | "canceled" | "incomplete" | (string & {}); "subscription_id": string; "subscription_plan_id": string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "subscription_id"?: string; "subscription_plan"?: (({ "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Format: int32. */ "billing_interval_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; /** ISO 4217 currency code. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; "description"?: string; "line_items"?: Array<SubscriptionPlanLineItem>; "name": string; "setup_fee_money"?: MoneyValue; "status": "active" | "archived" | (string & {}); "subscription_plan_id": string; /** Format: int32. */ "trial_period_days"?: number; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "subscription_plan_id"?: string; "tax": { /** Identifies which automatic tax behavior applies to this order. connected means the account's tax connection calculated it. standard marks an order calculated before automatic tax required a tax connection. */ "automatic_profile"?: "standard" | "connected" | (string & {}); "available_location_inputs"?: Array<string>; "enabled": boolean; "exemption"?: OrderTaxExemption; /** Normalized reason the most recent tax calculation could not complete. */ "failure_reason"?: "calculation_unavailable" | "location_unsupported" | "rate_unavailable" | (string & {}); "location"?: OrderTaxLocation; "mode": "automatic" | "external" | (string & {}); "status": "not_required" | "requires_location" | "calculated" | "exempt" | "incomplete" | (string & {}); "tax_breakdowns"?: Array<TaxBreakdown>; /** Explains why tax was charged or zero for this order. */ "taxability_reason": "standard_rated" | "not_taxable" | "customer_exempt" | "tax_disabled" | "no_jurisdiction" | "location_required" | (string & {}); }; "tips"?: Array<Tip>; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }; }) | (object)); "meta"?: ResponseMeta; "request_id"?: string; };
@@ -19,4 +19,4 @@ import type { RequestedTipInput } from './RequestedTipInput.js';
19
19
  import type { ResponseMetaInput } from './ResponseMetaInput.js';
20
20
  import type { ThemeConfigInput } from './ThemeConfigInput.js';
21
21
 
22
- export type CheckoutDeliverySelectionResultResponseInput = { "data": (({ "audience": ("merchant") & ("merchant"); "checkout_session": CheckoutSessionInput; "delivery_selection": DeliverySelectionInput; "inventory_reservation"?: DeliveryInventoryReservationSummaryInput; "order": OrderInput; }) | ({ "audience": ("buyer") & ("buyer"); /** The checkout session after the change. Merchant-only fields, such as metadata and external_reference_id, are omitted. */ "checkout_session": { "active_payment_attempt"?: never; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared"?: never; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared"?: never; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: never; }; "checkout_session_id"?: never; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "custom_text"?: CheckoutCustomTextWriteConfigInput; "customer"?: never; "customer_collection"?: CheckoutCustomerConfigInput; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: never; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: never; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required"?: never; "expiration"?: CheckoutExpirationConfigInput; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: never; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: never; "invoice"?: never; "invoice_id"?: never; "legal"?: LegalSettingsInput; "merchant_id"?: never; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: never; "metadata"?: Record<string, string>; "order"?: never; "order_id"?: string; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_link"?: never; "payment_link_id"?: never; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: never; "payments"?: CheckoutPaymentConfigInput; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems"?: never; "promotion_config"?: CheckoutPromotionConfigInput; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: never; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode"?: never; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: never; "redirects"?: CheckoutRedirectsConfigInput; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: never; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: never; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: never; "setup_collection"?: never; "status"?: never; "subscription_plan_id"?: never; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: never; "superseding_checkout_session_id"?: never; "surface": "hosted" | "embedded"; "tax"?: CheckoutTaxConfigInput; "terminal_reason"?: never; "theme"?: ThemeConfigInput; "tip"?: CheckoutTipConfigInput; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; "url"?: never; }; "delivery_selection": BuyerDeliverySelectionInput; /** Omitted for checkout credentials, which cannot read the merchant's inventory reservation. Merchant credentials receive it on DeliverySelectionResult. */ "inventory_reservation"?: { /** RFC3339 timestamp. Format: date-time. */ "expires_at": string | globalThis.Date; "inventory_reservation_id": string; "owner_type": "delivery_selection" | "payment_attempt" | "order_balance_hold"; "required_next_action"?: "none" | "retry_payment" | "replace_selection" | "contact_merchant"; "status": "active" | "closed"; }; /** The order after the change. Merchant-only fields, such as external_reference_id and internal_note, are omitted. */ "order": { "active_payment_attempt"?: never; "applied_discounts"?: never; "authorization_amounts"?: never; /** What the buyer can do with the order, in this order: start_return, then resend_receipt. A buyer's read through a customer session on /v1/me, or in Flint's buyer account, lists both every time; a merchant read gets an empty list. A list of orders leaves start_return out, since only a read of one order checks return eligibility. start_return is due when the last open return window ends. Example: []. */ "buyer_actions"?: never; /** Email and phone saved when payment started, from the pay request's buyer_contact or the paying checkout session's saved contact. It does not change the linked customer. */ "buyer_contact"?: never; "buyer_note"?: string; "charges"?: never; "checkout_session_ids"?: never; /** The note supplied when the order was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "customer"?: never; "customer_id"?: string; /** The shipment or local-delivery destination committed for this order. Payment freezes this value; fulfillment recipient changes do not replace it. */ "delivery_destination"?: { "address": OrderDeliveryDestinationAddressInput; /** Delivery selection that controls this destination, when checkout collected it. */ "delivery_selection_id"?: string; /** Time payment froze this destination. Format: date-time. */ "frozen_at"?: string | globalThis.Date; "recipient"?: OrderDeliveryDestinationRecipientInput; "source": "delivery_selection" | "api" | "dashboard"; }; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; "fulfillment_status"?: never; "fulfillments"?: never; "gift_card_estimate"?: never; "gift_card_settlements"?: never; "gift_card_tender_enabled"?: never; "gift_cards"?: never; "internal_note"?: string; "inventory_exception_status"?: never; /** The reservation holding stock for this order, when one exists. */ "inventory_reservation_id"?: never; /** Where this order's tracked demand is routed. Required before an order containing tracked variants can hold stock. */ "inventory_routing_source"?: { "inventory_allocation_policy_id"?: string; "inventory_allocation_policy_version_id"?: string; "location_id"?: string; "location_ids"?: Array<string>; "type": "fixed_location" | "policy" | "policy_version"; }; "line_items"?: never; "merchant_id"?: never; "metadata"?: Record<string, string>; "order_id"?: never; "order_number"?: never; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision"?: never; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_status"?: never; "pricing_amounts"?: never; "purchased_event"?: never; "refund_ids"?: never; "refund_status"?: never; "requested_tip"?: RequestedTipInput; /** Value applied to this order from items the buyer returned, such as an exchange's replacement order. Included in settlement_amounts.paid_money. */ "return_credit_settlements"?: never; "settlement_amounts"?: never; "setup_collection"?: never; "status"?: never; "subscription"?: never; "subscription_id"?: never; "subscription_plan"?: never; "subscription_plan_id"?: never; "tax"?: never; "tips"?: never; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; }; })); "meta"?: ResponseMetaInput; "request_id"?: string; };
22
+ export type CheckoutDeliverySelectionResultResponseInput = { "data": (({ "audience": ("merchant") & ("merchant"); "checkout_session": CheckoutSessionInput; "delivery_selection": DeliverySelectionInput; "inventory_reservation"?: DeliveryInventoryReservationSummaryInput; "order": OrderInput; }) | ({ "audience": ("buyer") & ("buyer"); /** The checkout session after the change. Merchant-only fields, such as metadata and external_reference_id, are omitted. */ "checkout_session": { "active_payment_attempt"?: never; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared"?: never; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared"?: never; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: never; }; "checkout_session_id"?: never; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "custom_text"?: CheckoutCustomTextWriteConfigInput; "customer"?: never; "customer_collection"?: CheckoutCustomerConfigInput; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: never; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: never; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required"?: never; "expiration"?: CheckoutExpirationConfigInput; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: never; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: never; "invoice"?: never; "invoice_id"?: never; "legal"?: LegalSettingsInput; "merchant_id"?: never; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: never; "metadata"?: Record<string, string>; "order"?: never; "order_id"?: string; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_link"?: never; "payment_link_id"?: never; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: never; "payments"?: CheckoutPaymentConfigInput; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems"?: never; "promotion_config"?: CheckoutPromotionConfigInput; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: never; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode"?: never; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: never; "redirects"?: CheckoutRedirectsConfigInput; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: never; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: never; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: never; "setup_collection"?: never; "status"?: never; "subscription_plan_id"?: never; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: never; "superseding_checkout_session_id"?: never; "surface": "hosted" | "embedded"; "tax"?: CheckoutTaxConfigInput; "terminal_reason"?: never; "theme"?: ThemeConfigInput; "tip"?: CheckoutTipConfigInput; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; /** Hosted checkout URL that carries a one-time launch credential. Send the buyer here to pay. Returned for a hosted session on every launch result: create, payment-link resolve, and invoice and return-resolution checkout. Reads return it only to a credential that can manage checkout sessions. Omitted for embedded sessions. */ "url"?: never; }; "delivery_selection": BuyerDeliverySelectionInput; /** Omitted for checkout credentials, which cannot read the merchant's inventory reservation. Merchant credentials receive it on DeliverySelectionResult. */ "inventory_reservation"?: { /** RFC3339 timestamp. Format: date-time. */ "expires_at": string | globalThis.Date; "inventory_reservation_id": string; "owner_type": "delivery_selection" | "payment_attempt" | "order_balance_hold"; "required_next_action"?: "none" | "retry_payment" | "replace_selection" | "contact_merchant"; "status": "active" | "closed"; }; /** The order after the change. Merchant-only fields, such as external_reference_id and internal_note, are omitted. */ "order": { "active_payment_attempt"?: never; "applied_discounts"?: never; "authorization_amounts"?: never; /** What the buyer can do with the order, in this order: start_return, then resend_receipt. A buyer's read through a customer session on /v1/me, or in Flint's buyer account, lists both every time; a merchant read gets an empty list. A list of orders leaves start_return out, since only a read of one order checks return eligibility. start_return is due when the last open return window ends. Example: []. */ "buyer_actions"?: never; /** Email and phone saved when payment started, from the pay request's buyer_contact or the paying checkout session's saved contact. It does not change the linked customer. */ "buyer_contact"?: never; "buyer_note"?: string; "charges"?: never; "checkout_session_ids"?: never; /** The note supplied when the order was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "customer"?: never; "customer_id"?: string; /** The shipment or local-delivery destination committed for this order. Payment freezes this value; fulfillment recipient changes do not replace it. */ "delivery_destination"?: { "address": OrderDeliveryDestinationAddressInput; /** Delivery selection that controls this destination, when checkout collected it. */ "delivery_selection_id"?: string; /** Time payment froze this destination. Format: date-time. */ "frozen_at"?: string | globalThis.Date; "recipient"?: OrderDeliveryDestinationRecipientInput; "source": "delivery_selection" | "api" | "dashboard"; }; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; "fulfillment_status"?: never; "fulfillments"?: never; "gift_card_estimate"?: never; "gift_card_settlements"?: never; "gift_card_tender_enabled"?: never; "gift_cards"?: never; "internal_note"?: string; "inventory_exception_status"?: never; /** The reservation holding stock for this order, when one exists. */ "inventory_reservation_id"?: never; /** Where this order's tracked demand is routed. Required before an order containing tracked variants can hold stock. */ "inventory_routing_source"?: { "inventory_allocation_policy_id"?: string; "inventory_allocation_policy_version_id"?: string; "location_id"?: string; "location_ids"?: Array<string>; "type": "fixed_location" | "policy" | "policy_version"; }; "line_items"?: never; "merchant_id"?: never; "metadata"?: Record<string, string>; "order_id"?: never; "order_number"?: never; /** Use an exact numeric string, not a floating-point number. Format: int64. */ "order_revision"?: never; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_status"?: never; "pricing_amounts"?: never; "purchased_event"?: never; "refund_ids"?: never; "refund_status"?: never; "requested_tip"?: RequestedTipInput; /** Value applied to this order from items the buyer returned, such as an exchange's replacement order. Included in settlement_amounts.paid_money. */ "return_credit_settlements"?: never; "settlement_amounts"?: never; "setup_collection"?: never; "status"?: never; "subscription"?: never; "subscription_id"?: never; "subscription_plan"?: never; "subscription_plan_id"?: never; "tax"?: never; "tips"?: never; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; }; })); "meta"?: ResponseMetaInput; "request_id"?: string; };
@@ -1,4 +1,4 @@
1
1
 
2
2
 
3
3
 
4
- export type CheckoutExpirationConfig = { /** Optional URL to send buyers to after the checkout session expires. */ "expiration_url"?: string; /** Duration in seconds before the checkout session expires after creation. Use an exact numeric string, not a floating-point number. Format: int64. */ "expires_in_seconds"?: string; };
4
+ export type CheckoutExpirationConfig = { /** Optional URL to send buyers to after the checkout session expires. */ "expiration_url"?: string; /** Duration in seconds before the checkout session expires after creation. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 60. maximum: 86400. */ "expires_in_seconds"?: string; };
@@ -25,4 +25,4 @@ import type { PricingAmounts } from './PricingAmounts.js';
25
25
  import type { SettlementAmounts } from './SettlementAmounts.js';
26
26
  import type { ThemeConfig } from './ThemeConfig.js';
27
27
 
28
- export type CheckoutSession = { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "checkout_session_id": string; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "custom_text"?: CheckoutCustomTextWriteConfig; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_collection"?: CheckoutCustomerConfig; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: { /** The customer's default billing address. Omitted when the customer has none. */ "billing_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; /** The customer's email. */ "email": string; /** The customer's default shipping address. Omitted when the customer has none. */ "shipping_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; }; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: Array<CheckoutDeliveryPinnedDependency>; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required": boolean; "expiration"?: CheckoutExpirationConfig; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: (({ "choice_groups": Array<DeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<DeliveryInputRequirement>; "merchant_diagnostics": Array<DeliveryMerchantDiagnostic>; }) | ({ "buyer_reasons": Array<string>; "choice_groups": Array<BuyerDeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<BuyerDeliveryInputRequirementResource>; }) | (object)); "invoice"?: (({ "collection_block_status"?: "none" | "inventory_blocked" | "resolved" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "due_at"?: string; "invoice_id": string; "invoice_number"?: string; "is_overdue": boolean; "order_id"?: string; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refund_status"?: "none" | "partially_refunded" | "refunded" | (string & {}); "refunded_money": MoneyValue; "status": "draft" | "open" | "partially_paid" | "paid" | "void" | "uncollectible" | "credited" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "invoice_id"?: string; "legal"?: LegalSettings; "merchant_id"?: string; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: { /** Support email address. Format: email. */ "email"?: string; /** Support phone number. */ "phone"?: string; /** Support page, as an absolute http or https URL. Format: uri. */ "url"?: string; }; "metadata"?: Record<string, string>; "order"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "order_id": string; "order_number"?: string; "payment_intent_ids"?: Array<string>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": PricingAmounts; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "settlement_amounts": SettlementAmounts; "status": "open" | "closed" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "order_id"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_link"?: (({ /** Format: int32. */ "completed_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "description"?: string; "name": string; "payment_link_id": string; "payment_link_type"?: "standard" | "donation" | "event" | (string & {}); "status": "active" | "inactive" | (string & {}); "subscription_plan_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; }) | (null)); "payment_link_id"?: string; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: { /** True while status is pending after the buyer confirmed the number by text, when the number alone can't save the card: the customer with the buyer's email existed before this payment, the buyer did not confirm that email in this checkout, and the number isn't already the customer's saved number with an active card saved with it. The buyer confirms the email with an emailed code to finish; the card is then saved with the number, which replaces the customer's saved number. */ "email_confirmation_required": boolean; /** When a pending save stops waiting: 24 hours after the payment succeeded or was approved. Format: date-time. */ "expires_at"?: string | null; /** Last two digits of the number the buyer gave, which a code is texted to. Set while status is pending. */ "phone_last_digits"?: string; "saved_with"?: "sms" | "email" | (string & {}); "status": "pending" | "saved" | "expired" | (string & {}); }; "payments"?: CheckoutPaymentConfig; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems": Array<CheckoutProblemResource>; "promotion_config"?: CheckoutPromotionConfig; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: string | null; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode": boolean; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: string; "redirects"?: CheckoutRedirectsConfig; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: boolean; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: boolean; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: boolean; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "paid" | "partially_paid" | "expired" | "closed" | "invalidated" | (string & {}); "subscription_plan_id"?: string; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: { "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Number of billing intervals between recurring charges. Format: int32. */ "billing_interval_count": number; /** Minimum commitment in months, when the plan has one. Format: int32. */ "contract_term_months"?: number; /** Fee charged when the buyer cancels before the contract term ends, when the plan has one. */ "early_termination_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Plan name shown to the buyer. */ "plan_name": string; /** Charge for one billing interval before tax: each line's unit price times its quantity, plus modifiers. */ "recurring_total_money": { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** One-time fee charged with the first payment, when the plan has one. */ "setup_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Flint subscription plan ID the terms come from. */ "subscription_plan_id": string; /** Days before the first recurring charge, when the plan has a trial. Format: int32. */ "trial_period_days"?: number; }; "superseding_checkout_session_id"?: string; "surface": "hosted" | "embedded" | (string & {}); "tax"?: CheckoutTaxConfig; "terminal_reason"?: "payment_succeeded" | "payment_partially_succeeded" | "expired" | "api" | "order_mutated" | "superseded" | "invoice_paid_elsewhere" | "invoice_voided" | "invoice_uncollectible" | "invoice_balance_changed" | (string & {}); "theme"?: ThemeConfig; "tip"?: CheckoutTipConfig; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; };
28
+ export type CheckoutSession = { "active_payment_attempt"?: { /** RFC3339 timestamp. Format: date-time. */ "completed_at"?: string; "expected_outstanding_money": MoneyValue; /** Reason code for an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.code. Unmapped values are returned as attempt_failed. */ "failure_code"?: "card_declined" | "insufficient_funds" | "bank_account_closed" | "bank_account_not_found" | "bank_debit_not_authorized" | "bank_account_restricted" | "bank_debit_limit_exceeded" | "authentication_required" | "payment_blocked" | "expired_card" | "incorrect_cvc" | "processing_error" | "payment_method_unavailable" | "payment_method_declined" | "payment_not_completed" | "payment_action_expired" | "payment_method_temporarily_unavailable" | "payment_failed" | "authorization_canceled" | "coupon_reservation_failed" | "invalid_payment_source" | "inventory_unavailable" | "order_changed_before_payment" | "order_payment_customer_mismatch" | "payment_attempt_canceled" | "payment_attempt_expired" | "payment_authorization_canceled" | "payment_authorization_expired" | "payment_confirmation_rejected" | "payment_confirm_outcome_unknown" | "payment_link_capacity_claim_failed" | "payment_link_capacity_validation_failed" | "payment_method_activation_pending" | "payment_method_required" | "payment_option_not_allowed" | "payment_option_unavailable" | "payment_source_binding_failed" | "payment_source_conflict" | "payment_source_not_updatable" | "payment_source_ownership_mismatch" | "receipt_email_failed" | "resource_guarantee_failed" | "setup_action_unavailable" | "setup_canceled" | "setup_cancellation_outcome_unknown" | "setup_cancellation_pending" | "setup_confirmation_outcome_unknown" | "setup_hold_acquisition_failed" | "setup_preparation_outcome_unknown" | "setup_processing" | "setup_result_incomplete" | "setup_status_unknown" | "tip_allocation_sync_failed" | "zero_balance_hold_acquisition_failed" | "attempt_failed" | (string & {}); /** Explanation of an attempt failure or interrupted payment step, when available. For payment declines, inspect each payment leg's last_payment_error.message. */ "failure_message"?: string; "gift_card_redemptions"?: Array<PaymentAttemptGiftCardRedemption>; /** Whether the attempt can continue through PayOrder with action: resume and this order_payment_attempt_id after any pending client action is complete. If false, check status before starting another payment; the attempt may still be in progress. */ "is_resumable": boolean; "mode": "payment" | "setup" | "settlement" | (string & {}); "order_payment_attempt_id": string; "payment_intents"?: Array<PaymentAttemptPaymentIntent>; "pending_actions"?: Array<PendingPaymentAction>; /** RFC3339 timestamp. Format: date-time. */ "started_at"?: string; "status": "processing" | "requires_action" | "requires_capture" | "partially_succeeded" | "requires_retry" | "finalizing" | "succeeded" | "failed" | "expired" | "canceled" | (string & {}); }; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared": boolean; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared": boolean; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: string; }; "checkout_session_id": string; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: string; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "custom_text"?: CheckoutCustomTextWriteConfig; "customer"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id": string; "email": string; "name"?: string; "phone"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "customer_collection"?: CheckoutCustomerConfig; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: { /** The customer's default billing address. Omitted when the customer has none. */ "billing_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; /** The customer's email. */ "email": string; /** The customer's default shipping address. Omitted when the customer has none. */ "shipping_address"?: { "city": string; /** ISO 3166-1 alpha-2 country code. minLength: 2. maxLength: 2. pattern: ^[A-Z]{2}$. Example: "US". */ "country": string; "line1": string; "line2"?: string; "postal_code": string; "state": string; }; }; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: Array<CheckoutDeliveryPinnedDependency>; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required": boolean; "expiration"?: CheckoutExpirationConfig; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: (({ "choice_groups": Array<DeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<DeliveryInputRequirement>; "merchant_diagnostics": Array<DeliveryMerchantDiagnostic>; }) | ({ "buyer_reasons": Array<string>; "choice_groups": Array<BuyerDeliveryQuoteChoiceGroupResource>; "delivery_quote_id"?: string; "evaluation_status": "complete" | "incomplete" | "degraded" | "requires_explicit_quote" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: string; /** Inputs the checkout's delivery methods need. Once the checkout has a delivery quote, these are the quote's input_requirements. Before that, they come from the methods alone and name no choice group: the fields in each method's quote_input_fields, and each recipient field a method requires. */ "input_requirements": Array<BuyerDeliveryInputRequirementResource>; }) | (object)); "invoice"?: (({ "collection_block_status"?: "none" | "inventory_blocked" | "resolved" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "due_at"?: string; "invoice_id": string; "invoice_number"?: string; "is_overdue": boolean; "order_id"?: string; "outstanding_money": MoneyValue; "paid_money": MoneyValue; "refund_status"?: "none" | "partially_refunded" | "refunded" | (string & {}); "refunded_money": MoneyValue; "status": "draft" | "open" | "partially_paid" | "paid" | "void" | "uncollectible" | "credited" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "invoice_id"?: string; "legal"?: LegalSettings; "merchant_id"?: string; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: { /** Support email address. Format: email. */ "email"?: string; /** Support phone number. */ "phone"?: string; /** Support page, as an absolute http or https URL. Format: uri. */ "url"?: string; }; "metadata"?: Record<string, string>; "order"?: (({ /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "customer_id"?: string; "fulfillment_status"?: "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "canceled" | "not_applicable" | "closed" | (string & {}); "order_id": string; "order_number"?: string; "payment_intent_ids"?: Array<string>; "payment_status": "unpaid" | "partially_paid" | "paid" | (string & {}); "pricing_amounts": PricingAmounts; "refund_status": "none" | "partially_refunded" | "refunded" | (string & {}); "settlement_amounts": SettlementAmounts; "status": "open" | "closed" | (string & {}); /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; }) | (null)); "order_id"?: string; "origin"?: "virtual_terminal" | "payment_link" | "checkout" | "api" | "subscription" | (string & {}); "payment_collection"?: { "stripe"?: PaymentCollectionStripe; }; "payment_intent_ids"?: Array<string>; "payment_intents"?: Array<ExpandedPaymentIntentSummary>; "payment_link"?: (({ /** Format: int32. */ "completed_count": number; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: string; "description"?: string; "name": string; "payment_link_id": string; "payment_link_type"?: "standard" | "donation" | "event" | (string & {}); "status": "active" | "inactive" | (string & {}); "subscription_plan_id"?: string; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; "url"?: string; }) | (null)); "payment_link_id"?: string; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: { /** True while status is pending after the buyer confirmed the number by text, when the number alone can't save the card: the customer with the buyer's email existed before this payment, the buyer did not confirm that email in this checkout, and the number isn't already the customer's saved number with an active card saved with it. The buyer confirms the email with an emailed code to finish; the card is then saved with the number, which replaces the customer's saved number. */ "email_confirmation_required": boolean; /** When a pending save stops waiting: 24 hours after the payment succeeded or was approved. Format: date-time. */ "expires_at"?: string | null; /** Last two digits of the number the buyer gave, which a code is texted to. Set while status is pending. */ "phone_last_digits"?: string; "saved_with"?: "sms" | "email" | (string & {}); "status": "pending" | "saved" | "expired" | (string & {}); }; "payments"?: CheckoutPaymentConfig; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems": Array<CheckoutProblemResource>; "promotion_config"?: CheckoutPromotionConfig; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: string | null; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode": boolean; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: string; "redirects"?: CheckoutRedirectsConfig; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: boolean; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: boolean; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: boolean; "setup_collection"?: { "stripe"?: PaymentCollectionStripe; }; "status": "open" | "paid" | "partially_paid" | "expired" | "closed" | "invalidated" | (string & {}); "subscription_plan_id"?: string; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: { "billing_interval": "daily" | "weekly" | "monthly" | "yearly" | (string & {}); /** Number of billing intervals between recurring charges. Format: int32. */ "billing_interval_count": number; /** Minimum commitment in months, when the plan has one. Format: int32. */ "contract_term_months"?: number; /** Fee charged when the buyer cancels before the contract term ends, when the plan has one. */ "early_termination_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Plan name shown to the buyer. */ "plan_name": string; /** Charge for one billing interval before tax: each line's unit price times its quantity, plus modifiers. */ "recurring_total_money": { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** One-time fee charged with the first payment, when the plan has one. */ "setup_fee_money"?: { /** Amount in the currency's minor unit, such as cents for USD. Use an exact numeric string, not a floating-point number. Format: int64. minimum: 0. */ "amount": string; /** ISO 4217 currency code for this amount. minLength: 3. maxLength: 3. pattern: ^[A-Z]{3}$. Example: "USD". */ "currency": string; }; /** Flint subscription plan ID the terms come from. */ "subscription_plan_id": string; /** Days before the first recurring charge, when the plan has a trial. Format: int32. */ "trial_period_days"?: number; }; "superseding_checkout_session_id"?: string; "surface": "hosted" | "embedded" | (string & {}); "tax"?: CheckoutTaxConfig; "terminal_reason"?: "payment_succeeded" | "payment_partially_succeeded" | "expired" | "api" | "order_mutated" | "superseded" | "invoice_paid_elsewhere" | "invoice_voided" | "invoice_uncollectible" | "invoice_balance_changed" | (string & {}); "theme"?: ThemeConfig; "tip"?: CheckoutTipConfig; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: string; /** Hosted checkout URL that carries a one-time launch credential. Send the buyer here to pay. Returned for a hosted session on every launch result: create, payment-link resolve, and invoice and return-resolution checkout. Reads return it only to a credential that can manage checkout sessions. Omitted for embedded sessions. */ "url"?: string; };
@@ -10,4 +10,4 @@ import type { CheckoutTipConfigInput } from './CheckoutTipConfigInput.js';
10
10
  import type { LegalSettingsInput } from './LegalSettingsInput.js';
11
11
  import type { ThemeConfigInput } from './ThemeConfigInput.js';
12
12
 
13
- export type CheckoutSessionInput = { "active_payment_attempt"?: never; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared"?: never; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared"?: never; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: never; }; "checkout_session_id"?: never; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "custom_text"?: CheckoutCustomTextWriteConfigInput; "customer"?: never; "customer_collection"?: CheckoutCustomerConfigInput; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: never; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: never; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required"?: never; "expiration"?: CheckoutExpirationConfigInput; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: never; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: never; "invoice"?: never; "invoice_id"?: never; "legal"?: LegalSettingsInput; "merchant_id"?: never; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: never; "metadata"?: Record<string, string>; "order"?: never; "order_id"?: string; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_link"?: never; "payment_link_id"?: never; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: never; "payments"?: CheckoutPaymentConfigInput; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems"?: never; "promotion_config"?: CheckoutPromotionConfigInput; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: never; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode"?: never; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: never; "redirects"?: CheckoutRedirectsConfigInput; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: never; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: never; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: never; "setup_collection"?: never; "status"?: never; "subscription_plan_id"?: never; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: never; "superseding_checkout_session_id"?: never; "surface": "hosted" | "embedded"; "tax"?: CheckoutTaxConfigInput; "terminal_reason"?: never; "theme"?: ThemeConfigInput; "tip"?: CheckoutTipConfigInput; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; "url"?: never; };
13
+ export type CheckoutSessionInput = { "active_payment_attempt"?: never; /** Contact the buyer entered in checkout before paying, saved with the session's checkout credential. Omitted until the buyer saves or clears a field. When a checkout session payment omits buyer_contact.email or buyer_contact.phone, Flint uses these values. Flint clears the contact 30 days after the session ends, and when a customer linked to the session is deleted. */ "buyer_contact"?: { /** Email supplied for the buyer, exactly as sent. Null when no email is saved; is_email_cleared distinguishes an explicit clear. Format: email. maxLength: 255. */ "email": string | null; /** True when the buyer explicitly cleared the email, including before entering one. Saving an email resets it to false. Do not restore a prefilled email while true. */ "is_email_cleared"?: never; /** True when the buyer explicitly cleared the phone, including before entering one. Saving a phone resets it to false. Do not restore a prefilled phone while true. */ "is_phone_cleared"?: never; /** Phone supplied for the buyer, in E.164 format. Null when no phone is saved; is_phone_cleared distinguishes an explicit clear. pattern: ^\+[1-9][0-9]{1,14}$. */ "phone": string | null; /** When the buyer last changed the saved checkout contact. Omitted on order buyer contact. Format: date-time. */ "updated_at"?: never; }; "checkout_session_id"?: never; /** The note supplied when the checkout session was closed. It is not shown to the buyer. */ "closed_reason"?: never; /** RFC3339 timestamp. Format: date-time. */ "created_at"?: never; "custom_text"?: CheckoutCustomTextWriteConfigInput; "customer"?: never; "customer_collection"?: CheckoutCustomerConfigInput; /** Contact and default addresses of the customer the checkout acts for: the customer the merchant created the session for, or the customer whose email the buyer confirmed in it. Present only on reads with the session's checkout credential while the session is open and acts for a customer. */ "customer_prefill"?: never; /** Immutable delivery method assignment captured when the checkout was created. */ "delivery_method_ids": Array<string>; /** Merchant-only immutable configuration lineage used to evaluate delivery quotes. */ "delivery_pinned_dependencies"?: never; /** Whether the order has at least one remaining quote-resolved fulfillment choice that must be selected before payment. */ "delivery_selection_required"?: never; "expiration"?: CheckoutExpirationConfigInput; /** RFC3339 timestamp. Format: date-time. */ "expires_at"?: never; /** Caller-owned identifier for this resource in an external system. maxLength: 255. */ "external_reference_id"?: string; /** Current fulfillment choices for Flint-owned pricing. Checkout credentials receive the fields available to buyers; merchant credentials also receive configuration lineage and diagnostics. External pricing reports requires_explicit_quote; reading this field does not request a delivery quote. Omitted when the session is not open, has no order, or Flint cannot read its delivery. */ "fulfillment"?: never; "invoice"?: never; "invoice_id"?: never; "legal"?: LegalSettingsInput; "merchant_id"?: never; /** How the buyer can reach the merchant for help: the support email, phone, and URL the merchant set. Present only on reads with the session's checkout credential, and only when the merchant set at least one of them. Show it where your checkout tells the buyer to contact the merchant, such as an expired or closed checkout, or your receipt. */ "merchant_support"?: never; "metadata"?: Record<string, string>; "order"?: never; "order_id"?: string; "origin"?: never; "payment_collection"?: never; "payment_intent_ids"?: never; "payment_intents"?: never; "payment_link"?: never; "payment_link_id"?: never; /** The card the buyer saved with this checkout's payment by giving a mobile phone number, and whether they confirmed it. Present only on reads with the session's checkout credential, after a payment that paid the order in full, or that was approved for the merchant to capture later, and saved a card this way. A checkout whose payment is approved stays open until the capture. */ "payment_method_save"?: never; "payments"?: CheckoutPaymentConfigInput; /** Named conditions that affect checkout completion. Follow each problem's remediation action instead of reconstructing delivery lifecycle rules in the client. When Flint cannot read the checkout's delivery, the read still succeeds and reports delivery_selection_stale; its remediation says whether reading the session again can succeed, and its next action's reason_code names the error. */ "problems"?: never; "promotion_config"?: CheckoutPromotionConfigInput; /** RFC3339 deadline for the restricted payment-attempt recovery window. Format: date-time. */ "recovery_expires_at"?: never; /** Whether this terminal session credential is temporarily restricted to recovering its owning payment attempt. */ "recovery_mode"?: never; /** Payment attempt that this checkout credential may recover while recovery_mode is true. */ "recovery_payment_attempt_id"?: never; "redirects"?: CheckoutRedirectsConfigInput; /** Whether checkout offers the buyer the option to save the card they type for faster checkout at this merchant. Present only on reads with the session's checkout credential. When true and save_payment_method_requires_verification is false, PayOrder accepts save_payment_method: true for one newly collected card. False when the merchant turned checkout.saved_payment_details off, customer accounts are merchant hosted, card is not an available payment option, the checkout collects an invoice, a subscription, or a return, or the checkout acts for no customer and Flint cannot email the buyer a verification code. */ "save_payment_method_offered"?: never; /** Whether the buyer can save the card they type by giving a US or Canadian mobile phone number with the payment, in save_payment_method_phone on POST /v1/orders/{order_id}/pay, and confirming it with a texted code after paying. Present only on reads with the session's checkout credential. True while Flint can send texts and either save_payment_method_requires_verification is true, so the number replaces confirming an email before paying, or the checkout acts for the customer whose email the buyer confirmed with this credential, so the number joins that customer's saved details once the buyer confirms it. */ "save_payment_method_phone_offered"?: never; /** Whether the buyer must confirm their email with a code before the checkout can save their card or use their saved cards. Present only on reads with the session's checkout credential. True when save_payment_method_offered is true and the checkout acts for no customer for this credential: the merchant created it without one, and either the buyer has not confirmed an email with this credential, or the customer whose email they confirmed has since changed that email or been deleted. A credential other than the one a confirmation returned, such as the hosted checkout link opened on another device, reads true. Send the code with POST /v1/checkout-sessions/{checkout_session_id}/customer-verifications. False while the checkout acts for a customer, and whenever save_payment_method_offered is false. */ "save_payment_method_requires_verification"?: never; "setup_collection"?: never; "status"?: never; "subscription_plan_id"?: never; /** Renewal terms a subscription checkout commits the buyer to. Frozen when the session's order was created, so later plan changes do not alter them. Absent when the checkout starts no subscription. */ "subscription_terms"?: never; "superseding_checkout_session_id"?: never; "surface": "hosted" | "embedded"; "tax"?: CheckoutTaxConfigInput; "terminal_reason"?: never; "theme"?: ThemeConfigInput; "tip"?: CheckoutTipConfigInput; /** RFC3339 timestamp. Format: date-time. */ "updated_at"?: never; /** Hosted checkout URL that carries a one-time launch credential. Send the buyer here to pay. Returned for a hosted session on every launch result: create, payment-link resolve, and invoice and return-resolution checkout. Reads return it only to a credential that can manage checkout sessions. Omitted for embedded sessions. */ "url"?: never; };
@@ -1,4 +1,5 @@
1
1
 
2
+ import type { CheckoutAccess } from './CheckoutAccess.js';
2
3
  import type { CheckoutSession } from './CheckoutSession.js';
3
4
 
4
- /** Checkout-session access returned for hosted or embedded checkout creation. */ export type CheckoutSessionLaunchResult = { /** Checkout credential and, for hosted checkout, its launch URL. Keep the checkout credential on your backend. */ "checkout_access": { "checkout_auth_token": string; "hosted_url"?: string; }; "checkout_session": CheckoutSession; /** Deprecated. Use checkout_access. Present only for hosted checkout. */ "hosted_checkout"?: { /** Checkout-session auth token for clients that operate the created checkout session directly. The hosted URL uses a separate launch credential. */ "checkout_auth_token": string; /** Hosted checkout URL for the created or reused checkout session. */ "url": string; }; /** True when an existing checkout of the requested surface was reused. For POST /v1/checkout-sessions, true only when a retry with the original Idempotency-Key returns the session that request created. */ "reused_existing": boolean; };
5
+ /** The checkout session and the credential to operate it. For hosted checkout, send the buyer to checkout_session.url. For embedded checkout, pass checkout_access.checkout_auth_token to your checkout client. */ export type CheckoutSessionLaunchResult = { "checkout_access": CheckoutAccess; "checkout_session": CheckoutSession; /** True when an existing checkout of the requested surface was reused. For POST /v1/checkout-sessions, true only when a retry with the original Idempotency-Key returns the session that request created. */ "reused_existing": boolean; };
@@ -1,4 +1,5 @@
1
1
 
2
+ import type { CheckoutAccessInput } from './CheckoutAccessInput.js';
2
3
  import type { CheckoutSessionInput } from './CheckoutSessionInput.js';
3
4
 
4
- /** Checkout-session access returned for hosted or embedded checkout creation. */ export type CheckoutSessionLaunchResultInput = { /** Checkout credential and, for hosted checkout, its launch URL. Keep the checkout credential on your backend. */ "checkout_access": { "checkout_auth_token": string; "hosted_url"?: string; }; "checkout_session": CheckoutSessionInput; /** Deprecated. Use checkout_access. Present only for hosted checkout. */ "hosted_checkout"?: { /** Checkout-session auth token for clients that operate the created checkout session directly. The hosted URL uses a separate launch credential. */ "checkout_auth_token": string; /** Hosted checkout URL for the created or reused checkout session. */ "url": string; }; /** True when an existing checkout of the requested surface was reused. For POST /v1/checkout-sessions, true only when a retry with the original Idempotency-Key returns the session that request created. */ "reused_existing": boolean; };
5
+ /** The checkout session and the credential to operate it. For hosted checkout, send the buyer to checkout_session.url. For embedded checkout, pass checkout_access.checkout_auth_token to your checkout client. */ export type CheckoutSessionLaunchResultInput = { "checkout_access": CheckoutAccessInput; "checkout_session": CheckoutSessionInput; /** True when an existing checkout of the requested surface was reused. For POST /v1/checkout-sessions, true only when a retry with the original Idempotency-Key returns the session that request created. */ "reused_existing": boolean; };