@gobodo/gobodo-api-promise 0.1.111 → 0.1.113

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 (1534) hide show
  1. package/README.md +375 -45
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/ApiClient.d.ts +1 -1
  4. package/dist/ApiClient.js +3 -3
  5. package/dist/api/AbilitiesApi.d.ts +1 -1
  6. package/dist/api/AbilitiesApi.js +2 -2
  7. package/dist/api/AdCampaignsApi.d.ts +5 -5
  8. package/dist/api/AdCampaignsApi.js +13 -13
  9. package/dist/api/AdManagementApi.d.ts +9 -9
  10. package/dist/api/AdManagementApi.js +24 -24
  11. package/dist/api/AdminDataManagementApi.d.ts +1 -1
  12. package/dist/api/AdminDataManagementApi.js +2 -2
  13. package/dist/api/AdsApi.d.ts +5 -5
  14. package/dist/api/AdsApi.js +13 -13
  15. package/dist/api/AttachmentsApi.d.ts +3 -3
  16. package/dist/api/AttachmentsApi.d.ts.map +1 -1
  17. package/dist/api/AttachmentsApi.js +7 -7
  18. package/dist/api/AuthenticationApi.d.ts +1 -1
  19. package/dist/api/AuthenticationApi.js +2 -2
  20. package/dist/api/CategoriesApi.d.ts +3 -3
  21. package/dist/api/CategoriesApi.d.ts.map +1 -1
  22. package/dist/api/CategoriesApi.js +7 -7
  23. package/dist/api/CommentsApi.d.ts +3 -3
  24. package/dist/api/CommentsApi.js +7 -7
  25. package/dist/api/ContentManagementApi.d.ts +5 -5
  26. package/dist/api/ContentManagementApi.js +12 -12
  27. package/dist/api/ConversationsApi.d.ts +3 -3
  28. package/dist/api/ConversationsApi.js +7 -7
  29. package/dist/api/CurrencyApi.d.ts +1 -1
  30. package/dist/api/CurrencyApi.js +2 -2
  31. package/dist/api/DataSheetImportsApi.d.ts +3 -3
  32. package/dist/api/DataSheetImportsApi.js +7 -7
  33. package/dist/api/DefaultApi.d.ts +5 -5
  34. package/dist/api/DefaultApi.d.ts.map +1 -1
  35. package/dist/api/DefaultApi.js +13 -13
  36. package/dist/api/DocumentPartTypesApi.d.ts +1 -1
  37. package/dist/api/DocumentPartTypesApi.js +2 -2
  38. package/dist/api/DocumentTypesApi.d.ts +1 -1
  39. package/dist/api/DocumentTypesApi.js +2 -2
  40. package/dist/api/DocumentsApi.d.ts +3 -3
  41. package/dist/api/DocumentsApi.js +7 -7
  42. package/dist/api/EmailsApi.d.ts +1 -1
  43. package/dist/api/EmailsApi.js +2 -2
  44. package/dist/api/EntryPartsApi.d.ts +3 -3
  45. package/dist/api/EntryPartsApi.js +7 -7
  46. package/dist/api/FacebookApi.d.ts +1 -1
  47. package/dist/api/FacebookApi.js +2 -2
  48. package/dist/api/FieldsApi.d.ts +1 -1
  49. package/dist/api/FieldsApi.js +2 -2
  50. package/dist/api/FormsApi.d.ts +7 -7
  51. package/dist/api/FormsApi.js +17 -17
  52. package/dist/api/FunctionsApi.d.ts +1 -1
  53. package/dist/api/FunctionsApi.js +2 -2
  54. package/dist/api/GeocodeApi.d.ts +1 -1
  55. package/dist/api/GeocodeApi.js +2 -2
  56. package/dist/api/GobodoManagementApi.d.ts +1 -1
  57. package/dist/api/GobodoManagementApi.js +2 -2
  58. package/dist/api/GoogleApi.d.ts +1 -1
  59. package/dist/api/GoogleApi.js +2 -2
  60. package/dist/api/GraphActionTypesApi.d.ts +1 -1
  61. package/dist/api/GraphActionTypesApi.js +2 -2
  62. package/dist/api/GraphActionsApi.d.ts +1 -1
  63. package/dist/api/GraphActionsApi.js +2 -2
  64. package/dist/api/GraphObjectTypesApi.d.ts +1 -1
  65. package/dist/api/GraphObjectTypesApi.js +2 -2
  66. package/dist/api/GraphObjectsApi.d.ts +1 -1
  67. package/dist/api/GraphObjectsApi.js +2 -2
  68. package/dist/api/GraphRelationshipTypesApi.d.ts +1 -1
  69. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  70. package/dist/api/GraphRelationshipsApi.d.ts +1 -1
  71. package/dist/api/GraphRelationshipsApi.js +2 -2
  72. package/dist/api/GraphSchemasApi.d.ts +1 -1
  73. package/dist/api/GraphSchemasApi.js +2 -2
  74. package/dist/api/GraphTraversalApi.d.ts +1 -1
  75. package/dist/api/GraphTraversalApi.js +2 -2
  76. package/dist/api/GraphsApi.d.ts +1 -1
  77. package/dist/api/GraphsApi.js +2 -2
  78. package/dist/api/GroupsApi.d.ts +11 -11
  79. package/dist/api/IAMApi.d.ts +5 -5
  80. package/dist/api/IAMApi.js +13 -13
  81. package/dist/api/ImagesApi.d.ts +3 -3
  82. package/dist/api/ImagesApi.js +7 -7
  83. package/dist/api/InvitesApi.d.ts +1 -1
  84. package/dist/api/InvitesApi.js +2 -2
  85. package/dist/api/LikesApi.d.ts +3 -3
  86. package/dist/api/LikesApi.js +7 -7
  87. package/dist/api/LinkedINApi.d.ts +1 -1
  88. package/dist/api/LinkedINApi.js +2 -2
  89. package/dist/api/LinksApi.d.ts +440 -0
  90. package/dist/api/LinksApi.d.ts.map +1 -0
  91. package/dist/api/LinksApi.js +787 -0
  92. package/dist/api/LiveMeetingsApi.d.ts +1 -1
  93. package/dist/api/LiveMeetingsApi.js +2 -2
  94. package/dist/api/MeetingEventsApi.d.ts +1 -1
  95. package/dist/api/MeetingEventsApi.js +2 -2
  96. package/dist/api/NotificationsApi.d.ts +1 -1
  97. package/dist/api/NotificationsApi.js +2 -2
  98. package/dist/api/PagesApi.d.ts +3 -3
  99. package/dist/api/PagesApi.js +7 -7
  100. package/dist/api/PasswordResetApi.d.ts +1 -1
  101. package/dist/api/PasswordResetApi.js +2 -2
  102. package/dist/api/PayPalAccountsApi.d.ts +150 -0
  103. package/dist/api/PayPalAccountsApi.d.ts.map +1 -0
  104. package/dist/api/PayPalAccountsApi.js +273 -0
  105. package/dist/api/PhoneNumbersApi.d.ts +1 -1
  106. package/dist/api/PhoneNumbersApi.js +2 -2
  107. package/dist/api/PostsApi.d.ts +272 -29
  108. package/dist/api/PostsApi.d.ts.map +1 -1
  109. package/dist/api/PostsApi.js +483 -61
  110. package/dist/api/PrivateMessagesApi.d.ts +5 -5
  111. package/dist/api/PrivateMessagesApi.js +12 -12
  112. package/dist/api/PublicationsApi.d.ts +1 -1
  113. package/dist/api/PublicationsApi.js +2 -2
  114. package/dist/api/RestApplicationsApi.d.ts +1 -1
  115. package/dist/api/RestApplicationsApi.js +2 -2
  116. package/dist/api/ScreensApi.d.ts +1 -1
  117. package/dist/api/ScreensApi.js +2 -2
  118. package/dist/api/SitesApi.d.ts +1 -1
  119. package/dist/api/SitesApi.js +2 -2
  120. package/dist/api/SocialGroupsApi.d.ts +3 -3
  121. package/dist/api/SocialGroupsApi.js +7 -7
  122. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  123. package/dist/api/SocialIntegrationApi.js +2 -2
  124. package/dist/api/SquareAccountsApi.d.ts +150 -0
  125. package/dist/api/SquareAccountsApi.d.ts.map +1 -0
  126. package/dist/api/SquareAccountsApi.js +273 -0
  127. package/dist/api/StripeAccountsApi.d.ts +522 -5
  128. package/dist/api/StripeAccountsApi.d.ts.map +1 -1
  129. package/dist/api/StripeAccountsApi.js +1023 -126
  130. package/dist/api/TemplatesApi.d.ts +1 -1
  131. package/dist/api/TemplatesApi.js +2 -2
  132. package/dist/api/ThemeMappingsApi.d.ts +3 -3
  133. package/dist/api/ThemeMappingsApi.js +8 -8
  134. package/dist/api/TopicsApi.d.ts +3 -3
  135. package/dist/api/TopicsApi.d.ts.map +1 -1
  136. package/dist/api/TopicsApi.js +8 -8
  137. package/dist/api/TransactionsApi.d.ts +1 -1
  138. package/dist/api/TransactionsApi.js +2 -2
  139. package/dist/api/TwitterApi.d.ts +1 -1
  140. package/dist/api/TwitterApi.js +2 -2
  141. package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
  142. package/dist/api/UserManagerAdministrationApi.js +2 -2
  143. package/dist/api/UserTagsApi.d.ts +5 -5
  144. package/dist/api/UserTagsApi.js +13 -13
  145. package/dist/api/UsersApi.d.ts +1 -1
  146. package/dist/api/UsersApi.js +2 -2
  147. package/dist/api/UtilsApi.d.ts +1 -1
  148. package/dist/api/UtilsApi.js +2 -2
  149. package/dist/api/VideosApi.d.ts +3 -3
  150. package/dist/api/VideosApi.js +7 -7
  151. package/dist/api/WalletsApi.d.ts +1 -1
  152. package/dist/api/WalletsApi.js +2 -2
  153. package/dist/index.d.ts +305 -3
  154. package/dist/index.d.ts.map +1 -1
  155. package/dist/index.js +2569 -455
  156. package/dist/model/APIClient.d.ts +1 -1
  157. package/dist/model/APIClient.js +2 -2
  158. package/dist/model/Aba.d.ts +74 -0
  159. package/dist/model/Aba.d.ts.map +1 -0
  160. package/dist/model/Aba.js +217 -0
  161. package/dist/model/AbilityResponse.d.ts +1 -1
  162. package/dist/model/AbilityResponse.js +2 -2
  163. package/dist/model/Account.d.ts +263 -0
  164. package/dist/model/Account.d.ts.map +1 -0
  165. package/dist/model/Account.js +820 -0
  166. package/dist/model/AccountSessionInput.d.ts +1 -1
  167. package/dist/model/AccountSessionInput.js +2 -2
  168. package/dist/model/AccountSessionResponse.d.ts +1 -1
  169. package/dist/model/AccountSessionResponse.js +2 -2
  170. package/dist/model/AchCreditTransfer.d.ts +83 -0
  171. package/dist/model/AchCreditTransfer.d.ts.map +1 -0
  172. package/dist/model/AchCreditTransfer.js +246 -0
  173. package/dist/model/AchDebit.d.ts +101 -0
  174. package/dist/model/AchDebit.d.ts.map +1 -0
  175. package/dist/model/AchDebit.js +304 -0
  176. package/dist/model/AcssDebit.d.ts +101 -0
  177. package/dist/model/AcssDebit.d.ts.map +1 -0
  178. package/dist/model/AcssDebit.js +304 -0
  179. package/dist/model/AddInvoiceItem.d.ts +83 -0
  180. package/dist/model/AddInvoiceItem.d.ts.map +1 -0
  181. package/dist/model/AddInvoiceItem.js +265 -0
  182. package/dist/model/AdditionalDocument.d.ts +101 -0
  183. package/dist/model/AdditionalDocument.d.ts.map +1 -0
  184. package/dist/model/AdditionalDocument.js +306 -0
  185. package/dist/model/AdditionalTosAcceptances.d.ts +56 -0
  186. package/dist/model/AdditionalTosAcceptances.d.ts.map +1 -0
  187. package/dist/model/AdditionalTosAcceptances.js +161 -0
  188. package/dist/model/Address.d.ts +1 -1
  189. package/dist/model/Address.js +2 -2
  190. package/dist/model/AddressKana.d.ts +110 -0
  191. package/dist/model/AddressKana.d.ts.map +1 -0
  192. package/dist/model/AddressKana.js +333 -0
  193. package/dist/model/AddressKanji.d.ts +110 -0
  194. package/dist/model/AddressKanji.d.ts.map +1 -0
  195. package/dist/model/AddressKanji.js +333 -0
  196. package/dist/model/AddressResponse.d.ts +1 -1
  197. package/dist/model/AddressResponse.js +2 -2
  198. package/dist/model/Affirm.d.ts +47 -0
  199. package/dist/model/Affirm.d.ts.map +1 -0
  200. package/dist/model/Affirm.js +130 -0
  201. package/dist/model/AfterCompletion.d.ts +74 -0
  202. package/dist/model/AfterCompletion.d.ts.map +1 -0
  203. package/dist/model/AfterCompletion.js +221 -0
  204. package/dist/model/AfterExpiration.d.ts +56 -0
  205. package/dist/model/AfterExpiration.d.ts.map +1 -0
  206. package/dist/model/AfterExpiration.js +161 -0
  207. package/dist/model/AfterpayClearpay.d.ts +65 -0
  208. package/dist/model/AfterpayClearpay.d.ts.map +1 -0
  209. package/dist/model/AfterpayClearpay.js +188 -0
  210. package/dist/model/Alipay.d.ts +74 -0
  211. package/dist/model/Alipay.d.ts.map +1 -0
  212. package/dist/model/Alipay.js +217 -0
  213. package/dist/model/AlipayHandleRedirect.d.ts +83 -0
  214. package/dist/model/AlipayHandleRedirect.d.ts.map +1 -0
  215. package/dist/model/AlipayHandleRedirect.js +246 -0
  216. package/dist/model/Alternative.d.ts +65 -0
  217. package/dist/model/Alternative.d.ts.map +1 -0
  218. package/dist/model/Alternative.js +188 -0
  219. package/dist/model/AmexExpressCheckout.d.ts +47 -0
  220. package/dist/model/AmexExpressCheckout.d.ts.map +1 -0
  221. package/dist/model/AmexExpressCheckout.js +130 -0
  222. package/dist/model/AmountDetails.d.ts +56 -0
  223. package/dist/model/AmountDetails.d.ts.map +1 -0
  224. package/dist/model/AmountDetails.js +161 -0
  225. package/dist/model/ApplePay.d.ts +47 -0
  226. package/dist/model/ApplePay.d.ts.map +1 -0
  227. package/dist/model/ApplePay.js +130 -0
  228. package/dist/model/Application.d.ts +83 -0
  229. package/dist/model/Application.d.ts.map +1 -0
  230. package/dist/model/Application.js +242 -0
  231. package/dist/model/ApplicationFee.d.ts +227 -0
  232. package/dist/model/ApplicationFee.d.ts.map +1 -0
  233. package/dist/model/ApplicationFee.js +697 -0
  234. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  235. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  236. package/dist/model/AppliesTo.d.ts +56 -0
  237. package/dist/model/AppliesTo.d.ts.map +1 -0
  238. package/dist/model/AppliesTo.js +159 -0
  239. package/dist/model/Article.d.ts +28 -28
  240. package/dist/model/Article.d.ts.map +1 -1
  241. package/dist/model/Article.js +73 -73
  242. package/dist/model/AuBecsDebit.d.ts +83 -0
  243. package/dist/model/AuBecsDebit.d.ts.map +1 -0
  244. package/dist/model/AuBecsDebit.js +246 -0
  245. package/dist/model/AuthResponse.d.ts +1 -1
  246. package/dist/model/AuthResponse.js +2 -2
  247. package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
  248. package/dist/model/AuthorizationCheckResponse.js +2 -2
  249. package/dist/model/AutomaticPaymentMethods.d.ts +65 -0
  250. package/dist/model/AutomaticPaymentMethods.d.ts.map +1 -0
  251. package/dist/model/AutomaticPaymentMethods.js +184 -0
  252. package/dist/model/AutomaticTax.d.ts +65 -0
  253. package/dist/model/AutomaticTax.d.ts.map +1 -0
  254. package/dist/model/AutomaticTax.js +184 -0
  255. package/dist/model/AvailablePlan.d.ts +74 -0
  256. package/dist/model/AvailablePlan.d.ts.map +1 -0
  257. package/dist/model/AvailablePlan.js +213 -0
  258. package/dist/model/AwsSettings.d.ts +1 -1
  259. package/dist/model/AwsSettings.js +2 -2
  260. package/dist/model/BacsDebit.d.ts +83 -0
  261. package/dist/model/BacsDebit.d.ts.map +1 -0
  262. package/dist/model/BacsDebit.js +246 -0
  263. package/dist/model/BacsDebitPayments.d.ts +65 -0
  264. package/dist/model/BacsDebitPayments.d.ts.map +1 -0
  265. package/dist/model/BacsDebitPayments.js +188 -0
  266. package/dist/model/Balance.d.ts +9 -9
  267. package/dist/model/Balance.d.ts.map +1 -1
  268. package/dist/model/Balance.js +33 -33
  269. package/dist/model/BalanceDetails.d.ts +1 -1
  270. package/dist/model/BalanceDetails.js +2 -2
  271. package/dist/model/BalanceResponse.d.ts +1 -1
  272. package/dist/model/BalanceResponse.js +2 -2
  273. package/dist/model/BalanceTransaction.d.ts +200 -0
  274. package/dist/model/BalanceTransaction.d.ts.map +1 -0
  275. package/dist/model/BalanceTransaction.js +618 -0
  276. package/dist/model/BalanceTransactionSource.d.ts +47 -0
  277. package/dist/model/BalanceTransactionSource.d.ts.map +1 -0
  278. package/dist/model/BalanceTransactionSource.js +133 -0
  279. package/dist/model/Bancontact.d.ts +137 -0
  280. package/dist/model/Bancontact.d.ts.map +1 -0
  281. package/dist/model/Bancontact.js +424 -0
  282. package/dist/model/BankAccountInfo.d.ts +1 -1
  283. package/dist/model/BankAccountInfo.js +2 -2
  284. package/dist/model/BankTransfer.d.ts +65 -0
  285. package/dist/model/BankTransfer.d.ts.map +1 -0
  286. package/dist/model/BankTransfer.js +190 -0
  287. package/dist/model/Base64ImageUpload.d.ts +1 -1
  288. package/dist/model/Base64ImageUpload.js +2 -2
  289. package/dist/model/BillingDetails.d.ts +83 -0
  290. package/dist/model/BillingDetails.d.ts.map +1 -0
  291. package/dist/model/BillingDetails.js +248 -0
  292. package/dist/model/BillingThresholds.d.ts +56 -0
  293. package/dist/model/BillingThresholds.d.ts.map +1 -0
  294. package/dist/model/BillingThresholds.js +155 -0
  295. package/dist/model/Blik.d.ts +47 -0
  296. package/dist/model/Blik.d.ts.map +1 -0
  297. package/dist/model/Blik.js +130 -0
  298. package/dist/model/Blocked.d.ts +65 -0
  299. package/dist/model/Blocked.d.ts.map +1 -0
  300. package/dist/model/Blocked.js +188 -0
  301. package/dist/model/BlogPostResponse.d.ts +1 -1
  302. package/dist/model/BlogPostResponse.js +2 -2
  303. package/dist/model/Boleto.d.ts +56 -0
  304. package/dist/model/Boleto.d.ts.map +1 -0
  305. package/dist/model/Boleto.js +159 -0
  306. package/dist/model/BoletoDisplayDetails.d.ts +83 -0
  307. package/dist/model/BoletoDisplayDetails.d.ts.map +1 -0
  308. package/dist/model/BoletoDisplayDetails.js +242 -0
  309. package/dist/model/Branding.d.ts +101 -0
  310. package/dist/model/Branding.d.ts.map +1 -0
  311. package/dist/model/Branding.js +306 -0
  312. package/dist/model/Breakdown.d.ts +65 -0
  313. package/dist/model/Breakdown.d.ts.map +1 -0
  314. package/dist/model/Breakdown.js +227 -0
  315. package/dist/model/BusinessProfile.d.ts +128 -0
  316. package/dist/model/BusinessProfile.d.ts.map +1 -0
  317. package/dist/model/BusinessProfile.js +395 -0
  318. package/dist/model/CacheInvalidation.d.ts +1 -1
  319. package/dist/model/CacheInvalidation.js +2 -2
  320. package/dist/model/CancellationDetails.d.ts +74 -0
  321. package/dist/model/CancellationDetails.d.ts.map +1 -0
  322. package/dist/model/CancellationDetails.js +217 -0
  323. package/dist/model/Capabilities.d.ts +380 -0
  324. package/dist/model/Capabilities.d.ts.map +1 -0
  325. package/dist/model/Capabilities.js +1203 -0
  326. package/dist/model/Card.d.ts +263 -0
  327. package/dist/model/Card.d.ts.map +1 -0
  328. package/dist/model/Card.js +824 -0
  329. package/dist/model/CardAwaitNotification.d.ts +65 -0
  330. package/dist/model/CardAwaitNotification.d.ts.map +1 -0
  331. package/dist/model/CardAwaitNotification.js +180 -0
  332. package/dist/model/CardInfo.d.ts +1 -1
  333. package/dist/model/CardInfo.js +2 -2
  334. package/dist/model/CardIssuing.d.ts +56 -0
  335. package/dist/model/CardIssuing.d.ts.map +1 -0
  336. package/dist/model/CardIssuing.js +161 -0
  337. package/dist/model/CardPayments.d.ts +83 -0
  338. package/dist/model/CardPayments.d.ts.map +1 -0
  339. package/dist/model/CardPayments.js +248 -0
  340. package/dist/model/CardPresent.d.ts +236 -0
  341. package/dist/model/CardPresent.d.ts.map +1 -0
  342. package/dist/model/CardPresent.js +719 -0
  343. package/dist/model/CashBalance.d.ts +101 -0
  344. package/dist/model/CashBalance.d.ts.map +1 -0
  345. package/dist/model/CashBalance.js +296 -0
  346. package/dist/model/Cashapp.d.ts +65 -0
  347. package/dist/model/Cashapp.d.ts.map +1 -0
  348. package/dist/model/Cashapp.js +188 -0
  349. package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +74 -0
  350. package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts.map +1 -0
  351. package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +219 -0
  352. package/dist/model/Charge.d.ts +587 -0
  353. package/dist/model/Charge.d.ts.map +1 -0
  354. package/dist/model/Charge.js +1864 -0
  355. package/dist/model/CheckoutSessionInput.d.ts +191 -0
  356. package/dist/model/CheckoutSessionInput.d.ts.map +1 -0
  357. package/dist/model/CheckoutSessionInput.js +538 -0
  358. package/dist/model/CheckoutSessionResponse.d.ts +106 -0
  359. package/dist/model/CheckoutSessionResponse.d.ts.map +1 -0
  360. package/dist/model/CheckoutSessionResponse.js +304 -0
  361. package/dist/model/Checks.d.ts +74 -0
  362. package/dist/model/Checks.d.ts.map +1 -0
  363. package/dist/model/Checks.js +217 -0
  364. package/dist/model/Comment.d.ts +10 -10
  365. package/dist/model/Comment.d.ts.map +1 -1
  366. package/dist/model/Comment.js +27 -27
  367. package/dist/model/Company.d.ts +209 -0
  368. package/dist/model/Company.d.ts.map +1 -0
  369. package/dist/model/Company.js +642 -0
  370. package/dist/model/CompletedSessions.d.ts +65 -0
  371. package/dist/model/CompletedSessions.d.ts.map +1 -0
  372. package/dist/model/CompletedSessions.js +180 -0
  373. package/dist/model/Computed.d.ts +65 -0
  374. package/dist/model/Computed.d.ts.map +1 -0
  375. package/dist/model/Computed.js +192 -0
  376. package/dist/model/Consent.d.ts +65 -0
  377. package/dist/model/Consent.d.ts.map +1 -0
  378. package/dist/model/Consent.js +188 -0
  379. package/dist/model/ConsentCollection.d.ts +65 -0
  380. package/dist/model/ConsentCollection.d.ts.map +1 -0
  381. package/dist/model/ConsentCollection.js +188 -0
  382. package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
  383. package/dist/model/ConsoleOrganizationInput.js +2 -2
  384. package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
  385. package/dist/model/ConsoleOrganizationResponse.js +2 -2
  386. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  387. package/dist/model/ConsoleProjectInput.js +2 -2
  388. package/dist/model/ConsoleProjectResponse.d.ts +13 -3
  389. package/dist/model/ConsoleProjectResponse.d.ts.map +1 -1
  390. package/dist/model/ConsoleProjectResponse.js +33 -6
  391. package/dist/model/Controller.d.ts +65 -0
  392. package/dist/model/Controller.d.ts.map +1 -0
  393. package/dist/model/Controller.js +184 -0
  394. package/dist/model/Coordinates.d.ts +12 -2
  395. package/dist/model/Coordinates.d.ts.map +1 -1
  396. package/dist/model/Coordinates.js +30 -5
  397. package/dist/model/Coupon.d.ts +218 -0
  398. package/dist/model/Coupon.d.ts.map +1 -0
  399. package/dist/model/Coupon.js +636 -0
  400. package/dist/model/CreateAccountResponse.d.ts +1 -1
  401. package/dist/model/CreateAccountResponse.js +2 -2
  402. package/dist/model/CreateFunctionInput.d.ts +1 -1
  403. package/dist/model/CreateFunctionInput.js +2 -2
  404. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  405. package/dist/model/CreateStripeAccountInput.js +2 -2
  406. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  407. package/dist/model/CreateStripeCustomerInput.js +2 -2
  408. package/dist/model/CreateTopicInput.d.ts +1 -1
  409. package/dist/model/CreateTopicInput.js +2 -2
  410. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  411. package/dist/model/CreateTopicListenerInput.js +2 -2
  412. package/dist/model/CreditedItems.d.ts +65 -0
  413. package/dist/model/CreditedItems.d.ts.map +1 -0
  414. package/dist/model/CreditedItems.js +188 -0
  415. package/dist/model/CurrencyConversion.d.ts +83 -0
  416. package/dist/model/CurrencyConversion.d.ts.map +1 -0
  417. package/dist/model/CurrencyConversion.js +234 -0
  418. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  419. package/dist/model/CurrencyGrantInput.js +2 -2
  420. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  421. package/dist/model/CurrencyGrantResponse.js +2 -2
  422. package/dist/model/CurrencyInput.d.ts +1 -1
  423. package/dist/model/CurrencyInput.js +2 -2
  424. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  425. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  426. package/dist/model/CurrencyOption.d.ts +65 -0
  427. package/dist/model/CurrencyOption.d.ts.map +1 -0
  428. package/dist/model/CurrencyOption.js +184 -0
  429. package/dist/model/CurrencyResponse.d.ts +1 -1
  430. package/dist/model/CurrencyResponse.js +2 -2
  431. package/dist/model/CurrencySettings.d.ts +1 -1
  432. package/dist/model/CurrencySettings.js +2 -2
  433. package/dist/model/CurrentPhase.d.ts +65 -0
  434. package/dist/model/CurrentPhase.d.ts.map +1 -0
  435. package/dist/model/CurrentPhase.js +180 -0
  436. package/dist/model/CustomField.d.ts +65 -0
  437. package/dist/model/CustomField.d.ts.map +1 -0
  438. package/dist/model/CustomField.js +188 -0
  439. package/dist/model/CustomText.d.ts +74 -0
  440. package/dist/model/CustomText.d.ts.map +1 -0
  441. package/dist/model/CustomText.js +223 -0
  442. package/dist/model/CustomUnitAmount.d.ts +74 -0
  443. package/dist/model/CustomUnitAmount.d.ts.map +1 -0
  444. package/dist/model/CustomUnitAmount.js +205 -0
  445. package/dist/model/Customer.d.ts +344 -0
  446. package/dist/model/Customer.d.ts.map +1 -0
  447. package/dist/model/Customer.js +1073 -0
  448. package/dist/model/CustomerAcceptance.d.ts +83 -0
  449. package/dist/model/CustomerAcceptance.d.ts.map +1 -0
  450. package/dist/model/CustomerAcceptance.js +246 -0
  451. package/dist/model/CustomerBalance.d.ts +47 -0
  452. package/dist/model/CustomerBalance.d.ts.map +1 -0
  453. package/dist/model/CustomerBalance.js +130 -0
  454. package/dist/model/CustomerDetails.d.ts +101 -0
  455. package/dist/model/CustomerDetails.d.ts.map +1 -0
  456. package/dist/model/CustomerDetails.js +327 -0
  457. package/dist/model/CustomerNotification.d.ts +65 -0
  458. package/dist/model/CustomerNotification.d.ts.map +1 -0
  459. package/dist/model/CustomerNotification.js +180 -0
  460. package/dist/model/CustomerResponse.d.ts +1 -1
  461. package/dist/model/CustomerResponse.js +2 -2
  462. package/dist/model/CustomerTaxId.d.ts +65 -0
  463. package/dist/model/CustomerTaxId.d.ts.map +1 -0
  464. package/dist/model/CustomerTaxId.js +188 -0
  465. package/dist/model/Dashboard.d.ts +65 -0
  466. package/dist/model/Dashboard.d.ts.map +1 -0
  467. package/dist/model/Dashboard.js +188 -0
  468. package/dist/model/DataObject.d.ts +1 -1
  469. package/dist/model/DataObject.js +2 -2
  470. package/dist/model/DataSheetImport.d.ts +1 -1
  471. package/dist/model/DataSheetImport.js +2 -2
  472. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  473. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  474. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  475. package/dist/model/DataSheetImportSummary.js +2 -2
  476. package/dist/model/DeclineOn.d.ts +65 -0
  477. package/dist/model/DeclineOn.d.ts.map +1 -0
  478. package/dist/model/DeclineOn.js +180 -0
  479. package/dist/model/DefaultSettings.d.ts +155 -0
  480. package/dist/model/DefaultSettings.d.ts.map +1 -0
  481. package/dist/model/DefaultSettings.js +486 -0
  482. package/dist/model/DeliveryEstimate.d.ts +65 -0
  483. package/dist/model/DeliveryEstimate.d.ts.map +1 -0
  484. package/dist/model/DeliveryEstimate.js +192 -0
  485. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  486. package/dist/model/DeviceRegistrationRequest.js +2 -2
  487. package/dist/model/Discount.d.ts +173 -0
  488. package/dist/model/Discount.d.ts.map +1 -0
  489. package/dist/model/Discount.js +530 -0
  490. package/dist/model/DiscountAmount.d.ts +74 -0
  491. package/dist/model/DiscountAmount.d.ts.map +1 -0
  492. package/dist/model/DiscountAmount.js +215 -0
  493. package/dist/model/DisplayBankTransferInstructions.d.ts +101 -0
  494. package/dist/model/DisplayBankTransferInstructions.d.ts.map +1 -0
  495. package/dist/model/DisplayBankTransferInstructions.js +321 -0
  496. package/dist/model/DisplayDetails.d.ts +65 -0
  497. package/dist/model/DisplayDetails.d.ts.map +1 -0
  498. package/dist/model/DisplayDetails.js +186 -0
  499. package/dist/model/Dob.d.ts +74 -0
  500. package/dist/model/Dob.d.ts.map +1 -0
  501. package/dist/model/Dob.js +205 -0
  502. package/dist/model/Document.d.ts +28 -28
  503. package/dist/model/Document.d.ts.map +1 -1
  504. package/dist/model/Document.js +73 -73
  505. package/dist/model/DocumentPart.d.ts +24 -24
  506. package/dist/model/DocumentPart.d.ts.map +1 -1
  507. package/dist/model/DocumentPart.js +66 -66
  508. package/dist/model/DocumentPartType.d.ts +11 -11
  509. package/dist/model/DocumentPartType.d.ts.map +1 -1
  510. package/dist/model/DocumentPartType.js +30 -30
  511. package/dist/model/DocumentType.d.ts +19 -19
  512. package/dist/model/DocumentType.d.ts.map +1 -1
  513. package/dist/model/DocumentType.js +54 -54
  514. package/dist/model/DomainMappingInput.d.ts +1 -1
  515. package/dist/model/DomainMappingInput.js +2 -2
  516. package/dist/model/DomainMappingResponse.d.ts +1 -1
  517. package/dist/model/DomainMappingResponse.js +2 -2
  518. package/dist/model/Dropdown.d.ts +56 -0
  519. package/dist/model/Dropdown.d.ts.map +1 -0
  520. package/dist/model/Dropdown.js +180 -0
  521. package/dist/model/EmailAddress.d.ts +1 -1
  522. package/dist/model/EmailAddress.js +2 -2
  523. package/dist/model/EmailSent.d.ts +65 -0
  524. package/dist/model/EmailSent.d.ts.map +1 -0
  525. package/dist/model/EmailSent.js +184 -0
  526. package/dist/model/EndBehavior.d.ts +56 -0
  527. package/dist/model/EndBehavior.d.ts.map +1 -0
  528. package/dist/model/EndBehavior.js +159 -0
  529. package/dist/model/Eps.d.ts +65 -0
  530. package/dist/model/Eps.d.ts.map +1 -0
  531. package/dist/model/Eps.js +188 -0
  532. package/dist/model/Errors.d.ts +74 -0
  533. package/dist/model/Errors.d.ts.map +1 -0
  534. package/dist/model/Errors.js +217 -0
  535. package/dist/model/EuBankTransfer.d.ts +56 -0
  536. package/dist/model/EuBankTransfer.d.ts.map +1 -0
  537. package/dist/model/EuBankTransfer.js +159 -0
  538. package/dist/model/ExtendedAuthorization.d.ts +56 -0
  539. package/dist/model/ExtendedAuthorization.d.ts.map +1 -0
  540. package/dist/model/ExtendedAuthorization.js +159 -0
  541. package/dist/model/ExternalAccount.d.ts +47 -0
  542. package/dist/model/ExternalAccount.d.ts.map +1 -0
  543. package/dist/model/ExternalAccount.js +133 -0
  544. package/dist/model/ExternalAccountCollection.d.ts +119 -0
  545. package/dist/model/ExternalAccountCollection.d.ts.map +1 -0
  546. package/dist/model/ExternalAccountCollection.js +377 -0
  547. package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +38 -0
  548. package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts.map +1 -0
  549. package/dist/model/ExternalAccountCollectionPageTypeToken.js +108 -0
  550. package/dist/model/Familymart.d.ts +65 -0
  551. package/dist/model/Familymart.d.ts.map +1 -0
  552. package/dist/model/Familymart.js +188 -0
  553. package/dist/model/Feature.d.ts +56 -0
  554. package/dist/model/Feature.d.ts.map +1 -0
  555. package/dist/model/Feature.js +159 -0
  556. package/dist/model/FeeDetail.d.ts +92 -0
  557. package/dist/model/FeeDetail.d.ts.map +1 -0
  558. package/dist/model/FeeDetail.js +271 -0
  559. package/dist/model/FeeRefund.d.ts +146 -0
  560. package/dist/model/FeeRefund.d.ts.map +1 -0
  561. package/dist/model/FeeRefund.js +439 -0
  562. package/dist/model/FeeRefundCollection.d.ts +119 -0
  563. package/dist/model/FeeRefundCollection.d.ts.map +1 -0
  564. package/dist/model/FeeRefundCollection.js +377 -0
  565. package/dist/model/FieldMapping.d.ts +1 -1
  566. package/dist/model/FieldMapping.js +2 -2
  567. package/dist/model/Fields.d.ts +51 -51
  568. package/dist/model/Fields.d.ts.map +1 -1
  569. package/dist/model/Fields.js +132 -132
  570. package/dist/model/File.d.ts +10 -10
  571. package/dist/model/File.d.ts.map +1 -1
  572. package/dist/model/File.js +31 -31
  573. package/dist/model/FileAttachmentUploadObject.d.ts +10 -10
  574. package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
  575. package/dist/model/FileAttachmentUploadObject.js +31 -31
  576. package/dist/model/FileLink.d.ts +146 -0
  577. package/dist/model/FileLink.d.ts.map +1 -0
  578. package/dist/model/FileLink.js +428 -0
  579. package/dist/model/FileLinkCollection.d.ts +119 -0
  580. package/dist/model/FileLinkCollection.d.ts.map +1 -0
  581. package/dist/model/FileLinkCollection.js +377 -0
  582. package/dist/model/Filter.d.ts +1 -1
  583. package/dist/model/Filter.js +2 -2
  584. package/dist/model/FilterManager.d.ts +1 -1
  585. package/dist/model/FilterManager.js +2 -2
  586. package/dist/model/FinancialAddress.d.ts +119 -0
  587. package/dist/model/FinancialAddress.d.ts.map +1 -0
  588. package/dist/model/FinancialAddress.js +374 -0
  589. package/dist/model/FinancialConnections.d.ts +65 -0
  590. package/dist/model/FinancialConnections.d.ts.map +1 -0
  591. package/dist/model/FinancialConnections.js +188 -0
  592. package/dist/model/FixedAmount.d.ts +74 -0
  593. package/dist/model/FixedAmount.d.ts.map +1 -0
  594. package/dist/model/FixedAmount.js +212 -0
  595. package/dist/model/Form.d.ts +10 -10
  596. package/dist/model/Form.d.ts.map +1 -1
  597. package/dist/model/Form.js +37 -37
  598. package/dist/model/FormSection.d.ts +10 -10
  599. package/dist/model/FormSection.d.ts.map +1 -1
  600. package/dist/model/FormSection.js +37 -37
  601. package/dist/model/FormSubmission.d.ts +1 -1
  602. package/dist/model/FormSubmission.js +2 -2
  603. package/dist/model/Fpx.d.ts +74 -0
  604. package/dist/model/Fpx.d.ts.map +1 -0
  605. package/dist/model/Fpx.js +217 -0
  606. package/dist/model/FraudDetails.d.ts +65 -0
  607. package/dist/model/FraudDetails.d.ts.map +1 -0
  608. package/dist/model/FraudDetails.js +188 -0
  609. package/dist/model/FromInvoice.d.ts +74 -0
  610. package/dist/model/FromInvoice.d.ts.map +1 -0
  611. package/dist/model/FromInvoice.js +219 -0
  612. package/dist/model/FromQuote.d.ts +74 -0
  613. package/dist/model/FromQuote.d.ts.map +1 -0
  614. package/dist/model/FromQuote.js +215 -0
  615. package/dist/model/FunctionConfigInput.d.ts +1 -1
  616. package/dist/model/FunctionConfigInput.js +2 -2
  617. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  618. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  619. package/dist/model/FunctionInput.d.ts +1 -1
  620. package/dist/model/FunctionInput.js +2 -2
  621. package/dist/model/FunctionOutput.d.ts +1 -1
  622. package/dist/model/FunctionOutput.js +2 -2
  623. package/dist/model/FutureRequirements.d.ts +101 -0
  624. package/dist/model/FutureRequirements.d.ts.map +1 -0
  625. package/dist/model/FutureRequirements.js +343 -0
  626. package/dist/model/GeneratedFrom.d.ts +83 -0
  627. package/dist/model/GeneratedFrom.d.ts.map +1 -0
  628. package/dist/model/GeneratedFrom.js +250 -0
  629. package/dist/model/GeocodePayload.d.ts +1 -1
  630. package/dist/model/GeocodePayload.js +2 -2
  631. package/dist/model/GeocodeResponse.d.ts +1 -1
  632. package/dist/model/GeocodeResponse.js +2 -2
  633. package/dist/model/GeolocationInput.d.ts +1 -1
  634. package/dist/model/GeolocationInput.js +2 -2
  635. package/dist/model/GetFunctionConfig.d.ts +1 -1
  636. package/dist/model/GetFunctionConfig.js +2 -2
  637. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  638. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  639. package/dist/model/GetFunctionResponse.d.ts +1 -1
  640. package/dist/model/GetFunctionResponse.js +2 -2
  641. package/dist/model/Giropay.d.ts +83 -0
  642. package/dist/model/Giropay.d.ts.map +1 -0
  643. package/dist/model/Giropay.js +246 -0
  644. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  645. package/dist/model/GoogleCloudSettings.js +2 -2
  646. package/dist/model/GooglePay.d.ts +47 -0
  647. package/dist/model/GooglePay.d.ts.map +1 -0
  648. package/dist/model/GooglePay.js +130 -0
  649. package/dist/model/Grabpay.d.ts +56 -0
  650. package/dist/model/Grabpay.d.ts.map +1 -0
  651. package/dist/model/Grabpay.js +159 -0
  652. package/dist/model/Graph.d.ts +52 -52
  653. package/dist/model/Graph.d.ts.map +1 -1
  654. package/dist/model/Graph.js +135 -135
  655. package/dist/model/GraphAction.d.ts +1 -1
  656. package/dist/model/GraphAction.js +2 -2
  657. package/dist/model/GraphActionPayload.d.ts +1 -1
  658. package/dist/model/GraphActionPayload.js +2 -2
  659. package/dist/model/GraphActionResponse.d.ts +1 -1
  660. package/dist/model/GraphActionResponse.js +2 -2
  661. package/dist/model/GraphActionTypeInput.d.ts +1 -1
  662. package/dist/model/GraphActionTypeInput.js +2 -2
  663. package/dist/model/GraphActionTypeResponse.d.ts +1 -1
  664. package/dist/model/GraphActionTypeResponse.js +2 -2
  665. package/dist/model/GraphInput.d.ts +1 -1
  666. package/dist/model/GraphInput.js +2 -2
  667. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  668. package/dist/model/GraphIteratorEntryPart.js +2 -2
  669. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
  670. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  671. package/dist/model/GraphObject.d.ts +10 -10
  672. package/dist/model/GraphObject.d.ts.map +1 -1
  673. package/dist/model/GraphObject.js +27 -27
  674. package/dist/model/GraphObjectPayload.d.ts +1 -1
  675. package/dist/model/GraphObjectPayload.js +2 -2
  676. package/dist/model/GraphObjectResponse.d.ts +1 -1
  677. package/dist/model/GraphObjectResponse.js +2 -2
  678. package/dist/model/GraphObjectType.d.ts +37 -37
  679. package/dist/model/GraphObjectType.d.ts.map +1 -1
  680. package/dist/model/GraphObjectType.js +98 -98
  681. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  682. package/dist/model/GraphObjectTypeInput.js +2 -2
  683. package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
  684. package/dist/model/GraphObjectTypeResponse.js +2 -2
  685. package/dist/model/GraphObjectTypeSchema.d.ts +37 -37
  686. package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
  687. package/dist/model/GraphObjectTypeSchema.js +98 -98
  688. package/dist/model/GraphOwner.d.ts +1 -1
  689. package/dist/model/GraphOwner.js +2 -2
  690. package/dist/model/GraphRelationship.d.ts +1 -1
  691. package/dist/model/GraphRelationship.js +2 -2
  692. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  693. package/dist/model/GraphRelationshipPayload.js +2 -2
  694. package/dist/model/GraphRelationshipResponse.d.ts +1 -1
  695. package/dist/model/GraphRelationshipResponse.js +2 -2
  696. package/dist/model/GraphRelationshipType.d.ts +34 -34
  697. package/dist/model/GraphRelationshipType.d.ts.map +1 -1
  698. package/dist/model/GraphRelationshipType.js +92 -92
  699. package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
  700. package/dist/model/GraphRelationshipTypeInput.js +2 -2
  701. package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
  702. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  703. package/dist/model/GraphResponse.d.ts +1 -1
  704. package/dist/model/GraphResponse.js +2 -2
  705. package/dist/model/GraphSchemaInput.d.ts +1 -1
  706. package/dist/model/GraphSchemaInput.js +2 -2
  707. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  708. package/dist/model/GraphSchemaResponse.js +2 -2
  709. package/dist/model/GraphTraversalInput.d.ts +1 -1
  710. package/dist/model/GraphTraversalInput.js +2 -2
  711. package/dist/model/HostedConfirmation.d.ts +56 -0
  712. package/dist/model/HostedConfirmation.d.ts.map +1 -0
  713. package/dist/model/HostedConfirmation.js +159 -0
  714. package/dist/model/Iban.d.ts +83 -0
  715. package/dist/model/Iban.d.ts.map +1 -0
  716. package/dist/model/Iban.js +246 -0
  717. package/dist/model/Ideal.d.ts +119 -0
  718. package/dist/model/Ideal.d.ts.map +1 -0
  719. package/dist/model/Ideal.js +366 -0
  720. package/dist/model/Image.d.ts +1 -1
  721. package/dist/model/Image.js +2 -2
  722. package/dist/model/IncrementalAuthorization.d.ts +56 -0
  723. package/dist/model/IncrementalAuthorization.d.ts.map +1 -0
  724. package/dist/model/IncrementalAuthorization.js +159 -0
  725. package/dist/model/IndexFilter.d.ts +1 -1
  726. package/dist/model/IndexFilter.js +2 -2
  727. package/dist/model/InputPart.d.ts +10 -10
  728. package/dist/model/InputPart.d.ts.map +1 -1
  729. package/dist/model/InputPart.js +25 -25
  730. package/dist/model/InputPartHeaders.d.ts +1 -1
  731. package/dist/model/InputPartHeaders.js +2 -2
  732. package/dist/model/Installments.d.ts +56 -0
  733. package/dist/model/Installments.d.ts.map +1 -0
  734. package/dist/model/Installments.js +161 -0
  735. package/dist/model/InteracPresent.d.ts +200 -0
  736. package/dist/model/InteracPresent.d.ts.map +1 -0
  737. package/dist/model/InteracPresent.js +617 -0
  738. package/dist/model/Invoice.d.ts +920 -0
  739. package/dist/model/Invoice.d.ts.map +1 -0
  740. package/dist/model/Invoice.js +3001 -0
  741. package/dist/model/InvoiceCreation.d.ts +65 -0
  742. package/dist/model/InvoiceCreation.d.ts.map +1 -0
  743. package/dist/model/InvoiceCreation.js +186 -0
  744. package/dist/model/InvoiceData.d.ts +110 -0
  745. package/dist/model/InvoiceData.d.ts.map +1 -0
  746. package/dist/model/InvoiceData.js +372 -0
  747. package/dist/model/InvoiceItem.d.ts +317 -0
  748. package/dist/model/InvoiceItem.d.ts.map +1 -0
  749. package/dist/model/InvoiceItem.js +1011 -0
  750. package/dist/model/InvoiceLineItem.d.ts +299 -0
  751. package/dist/model/InvoiceLineItem.d.ts.map +1 -0
  752. package/dist/model/InvoiceLineItem.js +1001 -0
  753. package/dist/model/InvoiceLineItemCollection.d.ts +119 -0
  754. package/dist/model/InvoiceLineItemCollection.d.ts.map +1 -0
  755. package/dist/model/InvoiceLineItemCollection.js +377 -0
  756. package/dist/model/InvoiceSettings.d.ts +92 -0
  757. package/dist/model/InvoiceSettings.d.ts.map +1 -0
  758. package/dist/model/InvoiceSettings.js +300 -0
  759. package/dist/model/IpAddressLocation.d.ts +92 -0
  760. package/dist/model/IpAddressLocation.d.ts.map +1 -0
  761. package/dist/model/IpAddressLocation.js +267 -0
  762. package/dist/model/Item.d.ts +119 -0
  763. package/dist/model/Item.d.ts.map +1 -0
  764. package/dist/model/Item.js +383 -0
  765. package/dist/model/ItemReason.d.ts +65 -0
  766. package/dist/model/ItemReason.d.ts.map +1 -0
  767. package/dist/model/ItemReason.js +184 -0
  768. package/dist/model/JsonArray.d.ts +1 -1
  769. package/dist/model/JsonArray.js +2 -2
  770. package/dist/model/JsonNull.d.ts +209 -0
  771. package/dist/model/JsonNull.d.ts.map +1 -0
  772. package/dist/model/JsonNull.js +600 -0
  773. package/dist/model/JsonObject.d.ts +1 -1
  774. package/dist/model/JsonObject.js +2 -2
  775. package/dist/model/JsonPrimitive.d.ts +236 -0
  776. package/dist/model/JsonPrimitive.d.ts.map +1 -0
  777. package/dist/model/JsonPrimitive.js +675 -0
  778. package/dist/model/JsonValue.d.ts +1 -1
  779. package/dist/model/JsonValue.js +2 -2
  780. package/dist/model/KafkaSettings.d.ts +1 -1
  781. package/dist/model/KafkaSettings.js +2 -2
  782. package/dist/model/Klarna.d.ts +65 -0
  783. package/dist/model/Klarna.d.ts.map +1 -0
  784. package/dist/model/Klarna.js +188 -0
  785. package/dist/model/Konbini.d.ts +56 -0
  786. package/dist/model/Konbini.d.ts.map +1 -0
  787. package/dist/model/Konbini.js +161 -0
  788. package/dist/model/KonbiniDisplayDetails.d.ts +74 -0
  789. package/dist/model/KonbiniDisplayDetails.d.ts.map +1 -0
  790. package/dist/model/KonbiniDisplayDetails.js +215 -0
  791. package/dist/model/Label.d.ts +65 -0
  792. package/dist/model/Label.d.ts.map +1 -0
  793. package/dist/model/Label.js +188 -0
  794. package/dist/model/Lawson.d.ts +65 -0
  795. package/dist/model/Lawson.d.ts.map +1 -0
  796. package/dist/model/Lawson.js +188 -0
  797. package/dist/model/Level3.d.ts +101 -0
  798. package/dist/model/Level3.d.ts.map +1 -0
  799. package/dist/model/Level3.js +321 -0
  800. package/dist/model/LineItem.d.ts +155 -0
  801. package/dist/model/LineItem.d.ts.map +1 -0
  802. package/dist/model/LineItem.js +499 -0
  803. package/dist/model/LineItemCollection.d.ts +119 -0
  804. package/dist/model/LineItemCollection.d.ts.map +1 -0
  805. package/dist/model/LineItemCollection.js +377 -0
  806. package/dist/model/LineItemInput.d.ts +129 -0
  807. package/dist/model/LineItemInput.d.ts.map +1 -0
  808. package/dist/model/LineItemInput.js +351 -0
  809. package/dist/model/Link.d.ts +15 -60
  810. package/dist/model/Link.d.ts.map +1 -1
  811. package/dist/model/Link.js +40 -186
  812. package/dist/model/LinkInput.d.ts +101 -0
  813. package/dist/model/LinkInput.d.ts.map +1 -0
  814. package/dist/model/LinkInput.js +303 -0
  815. package/dist/model/LinkResponse.d.ts +117 -0
  816. package/dist/model/LinkResponse.d.ts.map +1 -0
  817. package/dist/model/LinkResponse.js +342 -0
  818. package/dist/model/LiveStreamInfo.d.ts +1 -1
  819. package/dist/model/LiveStreamInfo.js +2 -2
  820. package/dist/model/Location.d.ts +74 -0
  821. package/dist/model/Location.d.ts.map +1 -0
  822. package/dist/model/Location.js +217 -0
  823. package/dist/model/MainPhoto.d.ts +47 -0
  824. package/dist/model/MainPhoto.d.ts.map +1 -0
  825. package/dist/model/MainPhoto.js +133 -0
  826. package/dist/model/Mandate.d.ts +164 -0
  827. package/dist/model/Mandate.d.ts.map +1 -0
  828. package/dist/model/Mandate.js +509 -0
  829. package/dist/model/MandateOptions.d.ts +56 -0
  830. package/dist/model/MandateOptions.d.ts.map +1 -0
  831. package/dist/model/MandateOptions.js +159 -0
  832. package/dist/model/Masterpass.d.ts +83 -0
  833. package/dist/model/Masterpass.d.ts.map +1 -0
  834. package/dist/model/Masterpass.js +249 -0
  835. package/dist/model/Maximum.d.ts +65 -0
  836. package/dist/model/Maximum.d.ts.map +1 -0
  837. package/dist/model/Maximum.js +184 -0
  838. package/dist/model/MediaType.d.ts +1 -1
  839. package/dist/model/MediaType.js +2 -2
  840. package/dist/model/MeetingEventInput.d.ts +1 -1
  841. package/dist/model/MeetingEventInput.js +2 -2
  842. package/dist/model/MeetingEventResponse.d.ts +1 -1
  843. package/dist/model/MeetingEventResponse.js +2 -2
  844. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  845. package/dist/model/MeetingEventTypeInput.js +2 -2
  846. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  847. package/dist/model/MeetingEventTypeResponse.js +2 -2
  848. package/dist/model/MeetingInfo.d.ts +10 -10
  849. package/dist/model/MeetingInfo.d.ts.map +1 -1
  850. package/dist/model/MeetingInfo.js +31 -31
  851. package/dist/model/Member.d.ts +10 -10
  852. package/dist/model/Member.d.ts.map +1 -1
  853. package/dist/model/Member.js +31 -31
  854. package/dist/model/MemberGroupCategory.d.ts +1 -1
  855. package/dist/model/MemberGroupCategory.js +2 -2
  856. package/dist/model/MemberList.d.ts +1 -1
  857. package/dist/model/MemberList.js +2 -2
  858. package/dist/model/MemberManagerConfigInput.d.ts +1 -1
  859. package/dist/model/MemberManagerConfigInput.js +2 -2
  860. package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
  861. package/dist/model/MemberManagerConfigResponse.js +2 -2
  862. package/dist/model/MemberManagerInput.d.ts +1 -1
  863. package/dist/model/MemberManagerInput.js +2 -2
  864. package/dist/model/MemberManagerResponse.d.ts +1 -1
  865. package/dist/model/MemberManagerResponse.js +2 -2
  866. package/dist/model/MessageGroup.d.ts +1 -1
  867. package/dist/model/MessageGroup.js +2 -2
  868. package/dist/model/Minimum.d.ts +65 -0
  869. package/dist/model/Minimum.d.ts.map +1 -0
  870. package/dist/model/Minimum.js +184 -0
  871. package/dist/model/Ministop.d.ts +65 -0
  872. package/dist/model/Ministop.d.ts.map +1 -0
  873. package/dist/model/Ministop.js +188 -0
  874. package/dist/model/MonthlyEstimatedRevenue.d.ts +65 -0
  875. package/dist/model/MonthlyEstimatedRevenue.d.ts.map +1 -0
  876. package/dist/model/MonthlyEstimatedRevenue.js +184 -0
  877. package/dist/model/MultiUse.d.ts +47 -0
  878. package/dist/model/MultiUse.d.ts.map +1 -0
  879. package/dist/model/MultiUse.js +130 -0
  880. package/dist/model/Multibanco.d.ts +65 -0
  881. package/dist/model/Multibanco.d.ts.map +1 -0
  882. package/dist/model/Multibanco.js +188 -0
  883. package/dist/model/Multicapture.d.ts +56 -0
  884. package/dist/model/Multicapture.d.ts.map +1 -0
  885. package/dist/model/Multicapture.js +159 -0
  886. package/dist/model/MultipartBody.d.ts +1 -1
  887. package/dist/model/MultipartBody.js +2 -2
  888. package/dist/model/MultivaluedMapStringString.d.ts +1 -1
  889. package/dist/model/MultivaluedMapStringString.js +2 -2
  890. package/dist/model/NetworkToken.d.ts +56 -0
  891. package/dist/model/NetworkToken.d.ts.map +1 -0
  892. package/dist/model/NetworkToken.js +155 -0
  893. package/dist/model/Networks.d.ts +65 -0
  894. package/dist/model/Networks.d.ts.map +1 -0
  895. package/dist/model/Networks.js +188 -0
  896. package/dist/model/NextAction.d.ts +65 -0
  897. package/dist/model/NextAction.d.ts.map +1 -0
  898. package/dist/model/NextAction.js +190 -0
  899. package/dist/model/NotificationInput.d.ts +1 -1
  900. package/dist/model/NotificationInput.js +2 -2
  901. package/dist/model/NotificationResponse.d.ts +1 -1
  902. package/dist/model/NotificationResponse.js +2 -2
  903. package/dist/model/NumberSettings.d.ts +1 -1
  904. package/dist/model/NumberSettings.js +2 -2
  905. package/dist/model/Numeric.d.ts +65 -0
  906. package/dist/model/Numeric.d.ts.map +1 -0
  907. package/dist/model/Numeric.js +180 -0
  908. package/dist/model/ObjectSettings.d.ts +1 -1
  909. package/dist/model/ObjectSettings.js +2 -2
  910. package/dist/model/Objecttype.d.ts +28 -28
  911. package/dist/model/Objecttype.d.ts.map +1 -1
  912. package/dist/model/Objecttype.js +77 -77
  913. package/dist/model/Offline.d.ts +56 -0
  914. package/dist/model/Offline.d.ts.map +1 -0
  915. package/dist/model/Offline.js +155 -0
  916. package/dist/model/Online.d.ts +65 -0
  917. package/dist/model/Online.d.ts.map +1 -0
  918. package/dist/model/Online.js +188 -0
  919. package/dist/model/Option.d.ts +65 -0
  920. package/dist/model/Option.d.ts.map +1 -0
  921. package/dist/model/Option.js +188 -0
  922. package/dist/model/OutParameter.d.ts +1 -1
  923. package/dist/model/OutParameter.js +2 -2
  924. package/dist/model/Outcome.d.ts +119 -0
  925. package/dist/model/Outcome.d.ts.map +1 -0
  926. package/dist/model/Outcome.js +360 -0
  927. package/dist/model/Overcapture.d.ts +65 -0
  928. package/dist/model/Overcapture.d.ts.map +1 -0
  929. package/dist/model/Overcapture.js +184 -0
  930. package/dist/model/OwnershipDeclaration.d.ts +74 -0
  931. package/dist/model/OwnershipDeclaration.d.ts.map +1 -0
  932. package/dist/model/OwnershipDeclaration.js +213 -0
  933. package/dist/model/Oxxo.d.ts +56 -0
  934. package/dist/model/Oxxo.d.ts.map +1 -0
  935. package/dist/model/Oxxo.js +159 -0
  936. package/dist/model/OxxoDisplayDetails.d.ts +74 -0
  937. package/dist/model/OxxoDisplayDetails.d.ts.map +1 -0
  938. package/dist/model/OxxoDisplayDetails.js +213 -0
  939. package/dist/model/P24.d.ts +74 -0
  940. package/dist/model/P24.d.ts.map +1 -0
  941. package/dist/model/P24.js +217 -0
  942. package/dist/model/PackageDimensions.d.ts +83 -0
  943. package/dist/model/PackageDimensions.d.ts.map +1 -0
  944. package/dist/model/PackageDimensions.js +230 -0
  945. package/dist/model/Page.d.ts +1 -1
  946. package/dist/model/Page.js +2 -2
  947. package/dist/model/PageSchema.d.ts +10 -10
  948. package/dist/model/PageSchema.d.ts.map +1 -1
  949. package/dist/model/PageSchema.js +25 -25
  950. package/dist/model/Pageable.d.ts +1 -1
  951. package/dist/model/Pageable.js +2 -2
  952. package/dist/model/Parameter.d.ts +1 -1
  953. package/dist/model/Parameter.js +2 -2
  954. package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
  955. package/dist/model/PasswordResetInitiateRequest.js +2 -2
  956. package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
  957. package/dist/model/PasswordResetInitiateResponse.js +2 -2
  958. package/dist/model/PasswordResetRequest.d.ts +1 -1
  959. package/dist/model/PasswordResetRequest.js +2 -2
  960. package/dist/model/PasswordResetResponse.d.ts +1 -1
  961. package/dist/model/PasswordResetResponse.js +2 -2
  962. package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
  963. package/dist/model/PasswordResetValidationResponse.js +2 -2
  964. package/dist/model/Path.d.ts +1 -1
  965. package/dist/model/Path.js +2 -2
  966. package/dist/model/PauseCollection.d.ts +65 -0
  967. package/dist/model/PauseCollection.d.ts.map +1 -0
  968. package/dist/model/PauseCollection.js +184 -0
  969. package/dist/model/PaymentAccountObject.d.ts +1 -1
  970. package/dist/model/PaymentAccountObject.js +2 -2
  971. package/dist/model/PaymentIntent.d.ts +488 -0
  972. package/dist/model/PaymentIntent.d.ts.map +1 -0
  973. package/dist/model/PaymentIntent.js +1551 -0
  974. package/dist/model/PaymentIntentData.d.ts +110 -0
  975. package/dist/model/PaymentIntentData.d.ts.map +1 -0
  976. package/dist/model/PaymentIntentData.js +331 -0
  977. package/dist/model/PaymentIntentInput.d.ts +1 -1
  978. package/dist/model/PaymentIntentInput.js +2 -2
  979. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  980. package/dist/model/PaymentIntentResponse.js +2 -2
  981. package/dist/model/PaymentLink.d.ts +371 -0
  982. package/dist/model/PaymentLink.d.ts.map +1 -0
  983. package/dist/model/PaymentLink.js +1217 -0
  984. package/dist/model/PaymentMethod.d.ts +383 -40
  985. package/dist/model/PaymentMethod.d.ts.map +1 -1
  986. package/dist/model/PaymentMethod.js +1282 -106
  987. package/dist/model/PaymentMethodConfigurationDetails.d.ts +65 -0
  988. package/dist/model/PaymentMethodConfigurationDetails.d.ts.map +1 -0
  989. package/dist/model/PaymentMethodConfigurationDetails.js +188 -0
  990. package/dist/model/PaymentMethodDetails.d.ts +416 -0
  991. package/dist/model/PaymentMethodDetails.d.ts.map +1 -0
  992. package/dist/model/PaymentMethodDetails.js +1399 -0
  993. package/dist/model/PaymentMethodInput.d.ts +1 -1
  994. package/dist/model/PaymentMethodInput.js +2 -2
  995. package/dist/model/PaymentMethodOptions.d.ts +101 -0
  996. package/dist/model/PaymentMethodOptions.d.ts.map +1 -0
  997. package/dist/model/PaymentMethodOptions.js +316 -0
  998. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  999. package/dist/model/PaymentMethodResponse.js +2 -2
  1000. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  1001. package/dist/model/PaymentMethodsResponse.js +2 -2
  1002. package/dist/model/PaymentSettings.d.ts +74 -0
  1003. package/dist/model/PaymentSettings.d.ts.map +1 -0
  1004. package/dist/model/PaymentSettings.js +219 -0
  1005. package/dist/model/PaymentSource.d.ts +47 -0
  1006. package/dist/model/PaymentSource.d.ts.map +1 -0
  1007. package/dist/model/PaymentSource.js +133 -0
  1008. package/dist/model/PaymentSourceCollection.d.ts +119 -0
  1009. package/dist/model/PaymentSourceCollection.d.ts.map +1 -0
  1010. package/dist/model/PaymentSourceCollection.js +377 -0
  1011. package/dist/model/Payments.d.ts +92 -0
  1012. package/dist/model/Payments.d.ts.map +1 -0
  1013. package/dist/model/Payments.js +275 -0
  1014. package/dist/model/Paynow.d.ts +56 -0
  1015. package/dist/model/Paynow.d.ts.map +1 -0
  1016. package/dist/model/Paynow.js +159 -0
  1017. package/dist/model/PaynowDisplayQrCode.d.ts +83 -0
  1018. package/dist/model/PaynowDisplayQrCode.d.ts.map +1 -0
  1019. package/dist/model/PaynowDisplayQrCode.js +246 -0
  1020. package/dist/model/Payout.d.ts +12 -12
  1021. package/dist/model/Payout.d.ts.map +1 -1
  1022. package/dist/model/Payout.js +34 -34
  1023. package/dist/model/PayoutInput.d.ts +1 -1
  1024. package/dist/model/PayoutInput.js +2 -2
  1025. package/dist/model/PayoutResponse.d.ts +1 -1
  1026. package/dist/model/PayoutResponse.js +2 -2
  1027. package/dist/model/Payouts.d.ts +74 -0
  1028. package/dist/model/Payouts.d.ts.map +1 -0
  1029. package/dist/model/Payouts.js +215 -0
  1030. package/dist/model/Paypal.d.ts +92 -0
  1031. package/dist/model/Paypal.d.ts.map +1 -0
  1032. package/dist/model/Paypal.js +277 -0
  1033. package/dist/model/Pdf.d.ts +56 -0
  1034. package/dist/model/Pdf.d.ts.map +1 -0
  1035. package/dist/model/Pdf.js +159 -0
  1036. package/dist/model/PendingInvoiceItemInterval.d.ts +65 -0
  1037. package/dist/model/PendingInvoiceItemInterval.d.ts.map +1 -0
  1038. package/dist/model/PendingInvoiceItemInterval.js +184 -0
  1039. package/dist/model/PendingUpdate.d.ts +92 -0
  1040. package/dist/model/PendingUpdate.d.ts.map +1 -0
  1041. package/dist/model/PendingUpdate.js +280 -0
  1042. package/dist/model/Period.d.ts +65 -0
  1043. package/dist/model/Period.d.ts.map +1 -0
  1044. package/dist/model/Period.js +180 -0
  1045. package/dist/model/Person.d.ts +344 -0
  1046. package/dist/model/Person.d.ts.map +1 -0
  1047. package/dist/model/Person.js +1080 -0
  1048. package/dist/model/Phase.d.ts +254 -0
  1049. package/dist/model/Phase.d.ts.map +1 -0
  1050. package/dist/model/Phase.js +850 -0
  1051. package/dist/model/PhoneNumber.d.ts +1 -1
  1052. package/dist/model/PhoneNumber.js +2 -2
  1053. package/dist/model/PhoneNumberCollection.d.ts +56 -0
  1054. package/dist/model/PhoneNumberCollection.d.ts.map +1 -0
  1055. package/dist/model/PhoneNumberCollection.js +155 -0
  1056. package/dist/model/Pix.d.ts +56 -0
  1057. package/dist/model/Pix.d.ts.map +1 -0
  1058. package/dist/model/Pix.js +159 -0
  1059. package/dist/model/PixDisplayQrCode.d.ts +92 -0
  1060. package/dist/model/PixDisplayQrCode.d.ts.map +1 -0
  1061. package/dist/model/PixDisplayQrCode.js +271 -0
  1062. package/dist/model/Plan.d.ts +74 -0
  1063. package/dist/model/Plan.d.ts.map +1 -0
  1064. package/dist/model/Plan.js +213 -0
  1065. package/dist/model/Post.d.ts +1 -1
  1066. package/dist/model/Post.js +2 -2
  1067. package/dist/model/PostInput.d.ts +92 -0
  1068. package/dist/model/PostInput.d.ts.map +1 -0
  1069. package/dist/model/PostInput.js +260 -0
  1070. package/dist/model/PostResponse.d.ts +156 -0
  1071. package/dist/model/PostResponse.d.ts.map +1 -0
  1072. package/dist/model/PostResponse.js +436 -0
  1073. package/dist/model/Price.d.ts +263 -0
  1074. package/dist/model/Price.d.ts.map +1 -0
  1075. package/dist/model/Price.js +824 -0
  1076. package/dist/model/PrivateMessage.d.ts +10 -10
  1077. package/dist/model/PrivateMessage.d.ts.map +1 -1
  1078. package/dist/model/PrivateMessage.js +27 -27
  1079. package/dist/model/PrivateMessageConversation.d.ts +1 -1
  1080. package/dist/model/PrivateMessageConversation.js +2 -2
  1081. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  1082. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  1083. package/dist/model/Processing.d.ts +65 -0
  1084. package/dist/model/Processing.d.ts.map +1 -0
  1085. package/dist/model/Processing.js +190 -0
  1086. package/dist/model/Product.d.ts +254 -0
  1087. package/dist/model/Product.d.ts.map +1 -0
  1088. package/dist/model/Product.js +794 -0
  1089. package/dist/model/Profile.d.ts +1 -1
  1090. package/dist/model/Profile.js +2 -2
  1091. package/dist/model/Profiletype.d.ts +1 -1
  1092. package/dist/model/Profiletype.js +2 -2
  1093. package/dist/model/PromotionCode.d.ts +182 -0
  1094. package/dist/model/PromotionCode.d.ts.map +1 -0
  1095. package/dist/model/PromotionCode.js +541 -0
  1096. package/dist/model/Promptpay.d.ts +56 -0
  1097. package/dist/model/Promptpay.d.ts.map +1 -0
  1098. package/dist/model/Promptpay.js +159 -0
  1099. package/dist/model/PromptpayDisplayQrCode.d.ts +83 -0
  1100. package/dist/model/PromptpayDisplayQrCode.d.ts.map +1 -0
  1101. package/dist/model/PromptpayDisplayQrCode.js +246 -0
  1102. package/dist/model/ProrationDetails.d.ts +56 -0
  1103. package/dist/model/ProrationDetails.d.ts.map +1 -0
  1104. package/dist/model/ProrationDetails.js +161 -0
  1105. package/dist/model/PublicationInput.d.ts +1 -1
  1106. package/dist/model/PublicationInput.js +2 -2
  1107. package/dist/model/PublicationResponse.d.ts +1 -1
  1108. package/dist/model/PublicationResponse.js +2 -2
  1109. package/dist/model/PurchaseInput.d.ts +1 -1
  1110. package/dist/model/PurchaseInput.js +2 -2
  1111. package/dist/model/PurchaseResponse.d.ts +1 -1
  1112. package/dist/model/PurchaseResponse.js +2 -2
  1113. package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
  1114. package/dist/model/PurgeDataDefaultResponse.js +2 -2
  1115. package/dist/model/QrCode.d.ts +74 -0
  1116. package/dist/model/QrCode.d.ts.map +1 -0
  1117. package/dist/model/QrCode.js +213 -0
  1118. package/dist/model/Quote.d.ts +452 -0
  1119. package/dist/model/Quote.d.ts.map +1 -0
  1120. package/dist/model/Quote.js +1472 -0
  1121. package/dist/model/RadarOptions.d.ts +56 -0
  1122. package/dist/model/RadarOptions.d.ts.map +1 -0
  1123. package/dist/model/RadarOptions.js +159 -0
  1124. package/dist/model/Receipt.d.ts +128 -0
  1125. package/dist/model/Receipt.d.ts.map +1 -0
  1126. package/dist/model/Receipt.js +391 -0
  1127. package/dist/model/Recovery.d.ts +83 -0
  1128. package/dist/model/Recovery.d.ts.map +1 -0
  1129. package/dist/model/Recovery.js +234 -0
  1130. package/dist/model/Recurring.d.ts +92 -0
  1131. package/dist/model/Recurring.d.ts.map +1 -0
  1132. package/dist/model/Recurring.js +265 -0
  1133. package/dist/model/Redirect.d.ts +56 -0
  1134. package/dist/model/Redirect.d.ts.map +1 -0
  1135. package/dist/model/Redirect.js +159 -0
  1136. package/dist/model/RedirectToUrl.d.ts +65 -0
  1137. package/dist/model/RedirectToUrl.d.ts.map +1 -0
  1138. package/dist/model/RedirectToUrl.js +188 -0
  1139. package/dist/model/Refund.d.ts +290 -0
  1140. package/dist/model/Refund.d.ts.map +1 -0
  1141. package/dist/model/Refund.js +907 -0
  1142. package/dist/model/RefundCollection.d.ts +119 -0
  1143. package/dist/model/RefundCollection.d.ts.map +1 -0
  1144. package/dist/model/RefundCollection.js +377 -0
  1145. package/dist/model/Relationship.d.ts +110 -0
  1146. package/dist/model/Relationship.d.ts.map +1 -0
  1147. package/dist/model/Relationship.js +309 -0
  1148. package/dist/model/RelationshipMapping.d.ts +1 -1
  1149. package/dist/model/RelationshipMapping.js +2 -2
  1150. package/dist/model/Rendering.d.ts +65 -0
  1151. package/dist/model/Rendering.d.ts.map +1 -0
  1152. package/dist/model/Rendering.js +190 -0
  1153. package/dist/model/RenderingOptions.d.ts +56 -0
  1154. package/dist/model/RenderingOptions.d.ts.map +1 -0
  1155. package/dist/model/RenderingOptions.js +159 -0
  1156. package/dist/model/RequestOptions.d.ts +128 -0
  1157. package/dist/model/RequestOptions.d.ts.map +1 -0
  1158. package/dist/model/RequestOptions.js +384 -0
  1159. package/dist/model/RequestOptionsProxyCredential.d.ts +47 -0
  1160. package/dist/model/RequestOptionsProxyCredential.d.ts.map +1 -0
  1161. package/dist/model/RequestOptionsProxyCredential.js +137 -0
  1162. package/dist/model/Requirements.d.ts +119 -0
  1163. package/dist/model/Requirements.d.ts.map +1 -0
  1164. package/dist/model/Requirements.js +397 -0
  1165. package/dist/model/RestApplicationInput.d.ts +1 -1
  1166. package/dist/model/RestApplicationInput.js +2 -2
  1167. package/dist/model/RestApplicationResponse.d.ts +1 -1
  1168. package/dist/model/RestApplicationResponse.js +2 -2
  1169. package/dist/model/Restrictions.d.ts +83 -0
  1170. package/dist/model/Restrictions.d.ts.map +1 -0
  1171. package/dist/model/Restrictions.js +237 -0
  1172. package/dist/model/Review.d.ts +200 -0
  1173. package/dist/model/Review.d.ts.map +1 -0
  1174. package/dist/model/Review.js +615 -0
  1175. package/dist/model/RevolutPay.d.ts +47 -0
  1176. package/dist/model/RevolutPay.d.ts.map +1 -0
  1177. package/dist/model/RevolutPay.js +130 -0
  1178. package/dist/model/Rule.d.ts +74 -0
  1179. package/dist/model/Rule.d.ts.map +1 -0
  1180. package/dist/model/Rule.js +217 -0
  1181. package/dist/model/SamsungPay.d.ts +47 -0
  1182. package/dist/model/SamsungPay.d.ts.map +1 -0
  1183. package/dist/model/SamsungPay.js +130 -0
  1184. package/dist/model/Schedule.d.ts +83 -0
  1185. package/dist/model/Schedule.d.ts.map +1 -0
  1186. package/dist/model/Schedule.js +238 -0
  1187. package/dist/model/ScreenSchema.d.ts +10 -10
  1188. package/dist/model/ScreenSchema.d.ts.map +1 -1
  1189. package/dist/model/ScreenSchema.js +27 -27
  1190. package/dist/model/Seicomart.d.ts +65 -0
  1191. package/dist/model/Seicomart.d.ts.map +1 -0
  1192. package/dist/model/Seicomart.js +188 -0
  1193. package/dist/model/SellerProtection.d.ts +65 -0
  1194. package/dist/model/SellerProtection.d.ts.map +1 -0
  1195. package/dist/model/SellerProtection.js +188 -0
  1196. package/dist/model/SepaCreditTransfer.d.ts +74 -0
  1197. package/dist/model/SepaCreditTransfer.d.ts.map +1 -0
  1198. package/dist/model/SepaCreditTransfer.js +217 -0
  1199. package/dist/model/SepaDebit.d.ts +101 -0
  1200. package/dist/model/SepaDebit.d.ts.map +1 -0
  1201. package/dist/model/SepaDebit.js +306 -0
  1202. package/dist/model/SepaDebitPayments.d.ts +56 -0
  1203. package/dist/model/SepaDebitPayments.d.ts.map +1 -0
  1204. package/dist/model/SepaDebitPayments.js +159 -0
  1205. package/dist/model/Session.d.ts +83 -0
  1206. package/dist/model/Session.d.ts.map +1 -0
  1207. package/dist/model/Session.js +246 -0
  1208. package/dist/model/Settings.d.ts +128 -0
  1209. package/dist/model/Settings.d.ts.map +1 -0
  1210. package/dist/model/Settings.js +409 -0
  1211. package/dist/model/SetupAttempt.d.ts +236 -0
  1212. package/dist/model/SetupAttempt.d.ts.map +1 -0
  1213. package/dist/model/SetupAttempt.js +737 -0
  1214. package/dist/model/SetupIntent.d.ts +344 -0
  1215. package/dist/model/SetupIntent.d.ts.map +1 -0
  1216. package/dist/model/SetupIntent.js +1092 -0
  1217. package/dist/model/ShippingAddress.d.ts +56 -0
  1218. package/dist/model/ShippingAddress.d.ts.map +1 -0
  1219. package/dist/model/ShippingAddress.js +159 -0
  1220. package/dist/model/ShippingAddressCollection.d.ts +56 -0
  1221. package/dist/model/ShippingAddressCollection.d.ts.map +1 -0
  1222. package/dist/model/ShippingAddressCollection.js +159 -0
  1223. package/dist/model/ShippingCost.d.ts +101 -0
  1224. package/dist/model/ShippingCost.d.ts.map +1 -0
  1225. package/dist/model/ShippingCost.js +315 -0
  1226. package/dist/model/ShippingDetails.d.ts +92 -0
  1227. package/dist/model/ShippingDetails.d.ts.map +1 -0
  1228. package/dist/model/ShippingDetails.js +277 -0
  1229. package/dist/model/ShippingOption.d.ts +74 -0
  1230. package/dist/model/ShippingOption.d.ts.map +1 -0
  1231. package/dist/model/ShippingOption.js +215 -0
  1232. package/dist/model/ShippingRate.d.ts +173 -0
  1233. package/dist/model/ShippingRate.d.ts.map +1 -0
  1234. package/dist/model/ShippingRate.js +524 -0
  1235. package/dist/model/SimulcastInfo.d.ts +1 -1
  1236. package/dist/model/SimulcastInfo.js +2 -2
  1237. package/dist/model/SingleUse.d.ts +65 -0
  1238. package/dist/model/SingleUse.d.ts.map +1 -0
  1239. package/dist/model/SingleUse.js +184 -0
  1240. package/dist/model/SiteInput.d.ts +1 -1
  1241. package/dist/model/SiteInput.js +2 -2
  1242. package/dist/model/SiteResponse.d.ts +1 -1
  1243. package/dist/model/SiteResponse.js +2 -2
  1244. package/dist/model/SiteTypeInput.d.ts +1 -1
  1245. package/dist/model/SiteTypeInput.js +2 -2
  1246. package/dist/model/SiteTypeResponse.d.ts +1 -1
  1247. package/dist/model/SiteTypeResponse.js +2 -2
  1248. package/dist/model/SkinField.d.ts +51 -51
  1249. package/dist/model/SkinField.d.ts.map +1 -1
  1250. package/dist/model/SkinField.js +132 -132
  1251. package/dist/model/SkinFieldResponse.d.ts +1 -1
  1252. package/dist/model/SkinFieldResponse.js +2 -2
  1253. package/dist/model/SocialGroup.d.ts +9 -9
  1254. package/dist/model/SocialGroup.d.ts.map +1 -1
  1255. package/dist/model/SocialGroup.js +23 -23
  1256. package/dist/model/SocialGroupInput.d.ts +1 -1
  1257. package/dist/model/SocialGroupInput.js +2 -2
  1258. package/dist/model/SocialGroupResponse.d.ts +1 -1
  1259. package/dist/model/SocialGroupResponse.js +2 -2
  1260. package/dist/model/SocialGroupType.d.ts +1 -1
  1261. package/dist/model/SocialGroupType.js +2 -2
  1262. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  1263. package/dist/model/SocialGroupTypeInput.js +2 -2
  1264. package/dist/model/Sofort.d.ts +146 -0
  1265. package/dist/model/Sofort.d.ts.map +1 -0
  1266. package/dist/model/Sofort.js +453 -0
  1267. package/dist/model/Sort.d.ts +1 -1
  1268. package/dist/model/Sort.js +2 -2
  1269. package/dist/model/SortCode.d.ts +74 -0
  1270. package/dist/model/SortCode.d.ts.map +1 -0
  1271. package/dist/model/SortCode.js +217 -0
  1272. package/dist/model/SourceTypes.d.ts +1 -1
  1273. package/dist/model/SourceTypes.js +2 -2
  1274. package/dist/model/Spei.d.ts +74 -0
  1275. package/dist/model/Spei.d.ts.map +1 -0
  1276. package/dist/model/Spei.js +217 -0
  1277. package/dist/model/StatusDetails.d.ts +56 -0
  1278. package/dist/model/StatusDetails.d.ts.map +1 -0
  1279. package/dist/model/StatusDetails.js +161 -0
  1280. package/dist/model/StatusTransitions.d.ts +74 -0
  1281. package/dist/model/StatusTransitions.d.ts.map +1 -0
  1282. package/dist/model/StatusTransitions.js +205 -0
  1283. package/dist/model/StatusUpdate.d.ts +1 -1
  1284. package/dist/model/StatusUpdate.js +2 -2
  1285. package/dist/model/Store.d.ts +56 -0
  1286. package/dist/model/Store.d.ts.map +1 -0
  1287. package/dist/model/Store.js +159 -0
  1288. package/dist/model/Stores.d.ts +83 -0
  1289. package/dist/model/Stores.d.ts.map +1 -0
  1290. package/dist/model/Stores.js +254 -0
  1291. package/dist/model/StripeAccount.d.ts +11 -168
  1292. package/dist/model/StripeAccount.d.ts.map +1 -1
  1293. package/dist/model/StripeAccount.js +29 -487
  1294. package/dist/model/StripeCheckoutSession.d.ts +137 -0
  1295. package/dist/model/StripeCheckoutSession.d.ts.map +1 -0
  1296. package/dist/model/StripeCheckoutSession.js +395 -0
  1297. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  1298. package/dist/model/StripeCustomerAccount.js +2 -2
  1299. package/dist/model/StripeError.d.ts +164 -0
  1300. package/dist/model/StripeError.d.ts.map +1 -0
  1301. package/dist/model/StripeError.js +515 -0
  1302. package/dist/model/StripePaymentIntent.d.ts +104 -0
  1303. package/dist/model/StripePaymentIntent.d.ts.map +1 -0
  1304. package/dist/model/StripePaymentIntent.js +299 -0
  1305. package/dist/model/StripeSubscription.d.ts +137 -0
  1306. package/dist/model/StripeSubscription.d.ts.map +1 -0
  1307. package/dist/model/StripeSubscription.js +375 -0
  1308. package/dist/model/Submit.d.ts +56 -0
  1309. package/dist/model/Submit.d.ts.map +1 -0
  1310. package/dist/model/Submit.js +159 -0
  1311. package/dist/model/Subscription.d.ts +524 -0
  1312. package/dist/model/Subscription.d.ts.map +1 -0
  1313. package/dist/model/Subscription.js +1663 -0
  1314. package/dist/model/SubscriptionCollection.d.ts +119 -0
  1315. package/dist/model/SubscriptionCollection.d.ts.map +1 -0
  1316. package/dist/model/SubscriptionCollection.js +377 -0
  1317. package/dist/model/SubscriptionData.d.ts +83 -0
  1318. package/dist/model/SubscriptionData.d.ts.map +1 -0
  1319. package/dist/model/SubscriptionData.js +236 -0
  1320. package/dist/model/SubscriptionDetails.d.ts +56 -0
  1321. package/dist/model/SubscriptionDetails.d.ts.map +1 -0
  1322. package/dist/model/SubscriptionDetails.js +157 -0
  1323. package/dist/model/SubscriptionInput.d.ts +171 -0
  1324. package/dist/model/SubscriptionInput.d.ts.map +1 -0
  1325. package/dist/model/SubscriptionInput.js +453 -0
  1326. package/dist/model/SubscriptionItem.d.ts +155 -0
  1327. package/dist/model/SubscriptionItem.d.ts.map +1 -0
  1328. package/dist/model/SubscriptionItem.js +487 -0
  1329. package/dist/model/SubscriptionItemCollection.d.ts +119 -0
  1330. package/dist/model/SubscriptionItemCollection.d.ts.map +1 -0
  1331. package/dist/model/SubscriptionItemCollection.js +377 -0
  1332. package/dist/model/SubscriptionResponse.d.ts +71 -0
  1333. package/dist/model/SubscriptionResponse.d.ts.map +1 -0
  1334. package/dist/model/SubscriptionResponse.js +207 -0
  1335. package/dist/model/SubscriptionSchedule.d.ts +254 -0
  1336. package/dist/model/SubscriptionSchedule.d.ts.map +1 -0
  1337. package/dist/model/SubscriptionSchedule.js +804 -0
  1338. package/dist/model/Swift.d.ts +74 -0
  1339. package/dist/model/Swift.d.ts.map +1 -0
  1340. package/dist/model/Swift.js +217 -0
  1341. package/dist/model/Tax.d.ts +74 -0
  1342. package/dist/model/Tax.d.ts.map +1 -0
  1343. package/dist/model/Tax.js +219 -0
  1344. package/dist/model/TaxAmount.d.ts +101 -0
  1345. package/dist/model/TaxAmount.d.ts.map +1 -0
  1346. package/dist/model/TaxAmount.js +294 -0
  1347. package/dist/model/TaxCode.d.ts +92 -0
  1348. package/dist/model/TaxCode.d.ts.map +1 -0
  1349. package/dist/model/TaxCode.js +271 -0
  1350. package/dist/model/TaxId.d.ts +155 -0
  1351. package/dist/model/TaxId.d.ts.map +1 -0
  1352. package/dist/model/TaxId.js +466 -0
  1353. package/dist/model/TaxIdCollection.d.ts +119 -0
  1354. package/dist/model/TaxIdCollection.d.ts.map +1 -0
  1355. package/dist/model/TaxIdCollection.js +377 -0
  1356. package/dist/model/TaxRate.d.ts +191 -0
  1357. package/dist/model/TaxRate.d.ts.map +1 -0
  1358. package/dist/model/TaxRate.js +564 -0
  1359. package/dist/model/Template.d.ts +1 -1
  1360. package/dist/model/Template.js +2 -2
  1361. package/dist/model/TemplateResponse.d.ts +1 -1
  1362. package/dist/model/TemplateResponse.js +2 -2
  1363. package/dist/model/TemplateSchema.d.ts +1 -1
  1364. package/dist/model/TemplateSchema.js +2 -2
  1365. package/dist/model/TermsOfServiceAcceptance.d.ts +56 -0
  1366. package/dist/model/TermsOfServiceAcceptance.d.ts.map +1 -0
  1367. package/dist/model/TermsOfServiceAcceptance.js +159 -0
  1368. package/dist/model/TestClock.d.ts +137 -0
  1369. package/dist/model/TestClock.d.ts.map +1 -0
  1370. package/dist/model/TestClock.js +396 -0
  1371. package/dist/model/Text.d.ts +65 -0
  1372. package/dist/model/Text.d.ts.map +1 -0
  1373. package/dist/model/Text.js +180 -0
  1374. package/dist/model/ThemeMapping.d.ts +1 -1
  1375. package/dist/model/ThemeMapping.js +2 -2
  1376. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  1377. package/dist/model/ThemeMappingPayload.js +2 -2
  1378. package/dist/model/ThreeDSecure.d.ts +119 -0
  1379. package/dist/model/ThreeDSecure.d.ts.map +1 -0
  1380. package/dist/model/ThreeDSecure.js +358 -0
  1381. package/dist/model/ThreeDSecureUsage.d.ts +56 -0
  1382. package/dist/model/ThreeDSecureUsage.d.ts.map +1 -0
  1383. package/dist/model/ThreeDSecureUsage.js +155 -0
  1384. package/dist/model/ThresholdReason.d.ts +65 -0
  1385. package/dist/model/ThresholdReason.d.ts.map +1 -0
  1386. package/dist/model/ThresholdReason.js +205 -0
  1387. package/dist/model/Tier.d.ts +92 -0
  1388. package/dist/model/Tier.d.ts.map +1 -0
  1389. package/dist/model/Tier.js +255 -0
  1390. package/dist/model/Timezone.d.ts +1 -1
  1391. package/dist/model/Timezone.js +2 -2
  1392. package/dist/model/Timezone1.d.ts +1 -1
  1393. package/dist/model/Timezone1.js +2 -2
  1394. package/dist/model/Tip.d.ts +56 -0
  1395. package/dist/model/Tip.d.ts.map +1 -0
  1396. package/dist/model/Tip.js +155 -0
  1397. package/dist/model/TopicInfoResponse.d.ts +1 -1
  1398. package/dist/model/TopicInfoResponse.js +2 -2
  1399. package/dist/model/TopicMessageInput.d.ts +1 -1
  1400. package/dist/model/TopicMessageInput.js +2 -2
  1401. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  1402. package/dist/model/TopicSubscriptionResponse.js +2 -2
  1403. package/dist/model/TosAcceptance.d.ts +83 -0
  1404. package/dist/model/TosAcceptance.d.ts.map +1 -0
  1405. package/dist/model/TosAcceptance.js +242 -0
  1406. package/dist/model/TotalDetails.d.ts +83 -0
  1407. package/dist/model/TotalDetails.d.ts.map +1 -0
  1408. package/dist/model/TotalDetails.js +236 -0
  1409. package/dist/model/TotalDiscountAmount.d.ts +74 -0
  1410. package/dist/model/TotalDiscountAmount.d.ts.map +1 -0
  1411. package/dist/model/TotalDiscountAmount.js +215 -0
  1412. package/dist/model/TotalTaxAmount.d.ts +101 -0
  1413. package/dist/model/TotalTaxAmount.d.ts.map +1 -0
  1414. package/dist/model/TotalTaxAmount.js +294 -0
  1415. package/dist/model/Transaction.d.ts +1 -1
  1416. package/dist/model/Transaction.js +2 -2
  1417. package/dist/model/Transfer.d.ts +1 -1
  1418. package/dist/model/Transfer.js +2 -2
  1419. package/dist/model/TransferData.d.ts +83 -0
  1420. package/dist/model/TransferData.d.ts.map +1 -0
  1421. package/dist/model/TransferData.js +240 -0
  1422. package/dist/model/TransferInput.d.ts +1 -1
  1423. package/dist/model/TransferInput.js +2 -2
  1424. package/dist/model/TransferResponse.d.ts +1 -1
  1425. package/dist/model/TransferResponse.js +2 -2
  1426. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
  1427. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  1428. package/dist/model/TransferReversal.d.ts +182 -0
  1429. package/dist/model/TransferReversal.d.ts.map +1 -0
  1430. package/dist/model/TransferReversal.js +558 -0
  1431. package/dist/model/TransferReversalCollection.d.ts +119 -0
  1432. package/dist/model/TransferReversalCollection.d.ts.map +1 -0
  1433. package/dist/model/TransferReversalCollection.js +377 -0
  1434. package/dist/model/TransformQuantity.d.ts +65 -0
  1435. package/dist/model/TransformQuantity.d.ts.map +1 -0
  1436. package/dist/model/TransformQuantity.js +184 -0
  1437. package/dist/model/TransformUsage.d.ts +65 -0
  1438. package/dist/model/TransformUsage.d.ts.map +1 -0
  1439. package/dist/model/TransformUsage.js +184 -0
  1440. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  1441. package/dist/model/TraversalRelationResponse.js +2 -2
  1442. package/dist/model/Treasury.d.ts +56 -0
  1443. package/dist/model/Treasury.d.ts.map +1 -0
  1444. package/dist/model/Treasury.js +161 -0
  1445. package/dist/model/TrialSettings.d.ts +56 -0
  1446. package/dist/model/TrialSettings.d.ts.map +1 -0
  1447. package/dist/model/TrialSettings.js +161 -0
  1448. package/dist/model/Upfront.d.ts +83 -0
  1449. package/dist/model/Upfront.d.ts.map +1 -0
  1450. package/dist/model/Upfront.js +242 -0
  1451. package/dist/model/UsBankAccount.d.ts +101 -0
  1452. package/dist/model/UsBankAccount.d.ts.map +1 -0
  1453. package/dist/model/UsBankAccount.js +304 -0
  1454. package/dist/model/User.d.ts +10 -10
  1455. package/dist/model/User.d.ts.map +1 -1
  1456. package/dist/model/User.js +31 -31
  1457. package/dist/model/UserDataPayload.d.ts +10 -10
  1458. package/dist/model/UserDataPayload.d.ts.map +1 -1
  1459. package/dist/model/UserDataPayload.js +31 -31
  1460. package/dist/model/UserDomain.d.ts +1 -1
  1461. package/dist/model/UserDomain.js +2 -2
  1462. package/dist/model/UserInvite.d.ts +10 -10
  1463. package/dist/model/UserInvite.d.ts.map +1 -1
  1464. package/dist/model/UserInvite.js +31 -31
  1465. package/dist/model/UserInviteInput.d.ts +1 -1
  1466. package/dist/model/UserInviteInput.js +2 -2
  1467. package/dist/model/UserResponse.d.ts +1 -1
  1468. package/dist/model/UserResponse.js +2 -2
  1469. package/dist/model/UserSchema.d.ts +10 -10
  1470. package/dist/model/UserSchema.d.ts.map +1 -1
  1471. package/dist/model/UserSchema.js +31 -31
  1472. package/dist/model/Userid.d.ts +1 -1
  1473. package/dist/model/Userid.js +2 -2
  1474. package/dist/model/UsernameReminderRequest.d.ts +1 -1
  1475. package/dist/model/UsernameReminderRequest.js +2 -2
  1476. package/dist/model/UsernameReminderResponse.d.ts +1 -1
  1477. package/dist/model/UsernameReminderResponse.js +2 -2
  1478. package/dist/model/Verification.d.ts +74 -0
  1479. package/dist/model/Verification.d.ts.map +1 -0
  1480. package/dist/model/Verification.js +217 -0
  1481. package/dist/model/VerifyWithMicrodeposits.d.ts +74 -0
  1482. package/dist/model/VerifyWithMicrodeposits.d.ts.map +1 -0
  1483. package/dist/model/VerifyWithMicrodeposits.js +213 -0
  1484. package/dist/model/Video.d.ts +10 -10
  1485. package/dist/model/Video.d.ts.map +1 -1
  1486. package/dist/model/Video.js +31 -31
  1487. package/dist/model/VideoLiveUrl.d.ts +1 -1
  1488. package/dist/model/VideoLiveUrl.js +2 -2
  1489. package/dist/model/VideoSchema.d.ts +10 -10
  1490. package/dist/model/VideoSchema.d.ts.map +1 -1
  1491. package/dist/model/VideoSchema.js +31 -31
  1492. package/dist/model/VideoUploadObject.d.ts +10 -10
  1493. package/dist/model/VideoUploadObject.d.ts.map +1 -1
  1494. package/dist/model/VideoUploadObject.js +31 -31
  1495. package/dist/model/VisaCheckout.d.ts +83 -0
  1496. package/dist/model/VisaCheckout.d.ts.map +1 -0
  1497. package/dist/model/VisaCheckout.js +249 -0
  1498. package/dist/model/Wallet.d.ts +128 -0
  1499. package/dist/model/Wallet.d.ts.map +1 -0
  1500. package/dist/model/Wallet.js +405 -0
  1501. package/dist/model/WalletHoldInput.d.ts +1 -1
  1502. package/dist/model/WalletHoldInput.js +2 -2
  1503. package/dist/model/WalletHoldResponse.d.ts +1 -1
  1504. package/dist/model/WalletHoldResponse.js +2 -2
  1505. package/dist/model/WalletPayoutInput.d.ts +1 -1
  1506. package/dist/model/WalletPayoutInput.js +2 -2
  1507. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  1508. package/dist/model/WalletPayoutResponse.js +2 -2
  1509. package/dist/model/WalletResponse.d.ts +1 -1
  1510. package/dist/model/WalletResponse.js +2 -2
  1511. package/dist/model/Wechat.d.ts +47 -0
  1512. package/dist/model/Wechat.d.ts.map +1 -0
  1513. package/dist/model/Wechat.js +130 -0
  1514. package/dist/model/WechatPay.d.ts +65 -0
  1515. package/dist/model/WechatPay.d.ts.map +1 -0
  1516. package/dist/model/WechatPay.js +188 -0
  1517. package/dist/model/WechatPayDisplayQrCode.d.ts +92 -0
  1518. package/dist/model/WechatPayDisplayQrCode.d.ts.map +1 -0
  1519. package/dist/model/WechatPayDisplayQrCode.js +275 -0
  1520. package/dist/model/WechatPayRedirectToAndroidApp.d.ts +119 -0
  1521. package/dist/model/WechatPayRedirectToAndroidApp.d.ts.map +1 -0
  1522. package/dist/model/WechatPayRedirectToAndroidApp.js +349 -0
  1523. package/dist/model/WechatPayRedirectToIosApp.d.ts +56 -0
  1524. package/dist/model/WechatPayRedirectToIosApp.d.ts.map +1 -0
  1525. package/dist/model/WechatPayRedirectToIosApp.js +159 -0
  1526. package/dist/model/Zengin.d.ts +110 -0
  1527. package/dist/model/Zengin.d.ts.map +1 -0
  1528. package/dist/model/Zengin.js +333 -0
  1529. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  1530. package/dist/model/ZeusPortalCategory.js +2 -2
  1531. package/dist/model/Zip.d.ts +47 -0
  1532. package/dist/model/Zip.d.ts.map +1 -0
  1533. package/dist/model/Zip.js +130 -0
  1534. package/package.json +1 -1
@@ -0,0 +1,3001 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _Account = _interopRequireDefault(require("./Account"));
9
+ var _Address = _interopRequireDefault(require("./Address"));
10
+ var _Application = _interopRequireDefault(require("./Application"));
11
+ var _AutomaticTax = _interopRequireDefault(require("./AutomaticTax"));
12
+ var _Charge = _interopRequireDefault(require("./Charge"));
13
+ var _CustomField = _interopRequireDefault(require("./CustomField"));
14
+ var _Customer = _interopRequireDefault(require("./Customer"));
15
+ var _CustomerTaxId = _interopRequireDefault(require("./CustomerTaxId"));
16
+ var _Discount = _interopRequireDefault(require("./Discount"));
17
+ var _FromInvoice = _interopRequireDefault(require("./FromInvoice"));
18
+ var _InvoiceLineItemCollection = _interopRequireDefault(require("./InvoiceLineItemCollection"));
19
+ var _JsonObject = _interopRequireDefault(require("./JsonObject"));
20
+ var _PaymentIntent = _interopRequireDefault(require("./PaymentIntent"));
21
+ var _PaymentMethod = _interopRequireDefault(require("./PaymentMethod"));
22
+ var _PaymentSettings = _interopRequireDefault(require("./PaymentSettings"));
23
+ var _PaymentSource = _interopRequireDefault(require("./PaymentSource"));
24
+ var _Quote = _interopRequireDefault(require("./Quote"));
25
+ var _Rendering = _interopRequireDefault(require("./Rendering"));
26
+ var _RenderingOptions = _interopRequireDefault(require("./RenderingOptions"));
27
+ var _ShippingCost = _interopRequireDefault(require("./ShippingCost"));
28
+ var _ShippingDetails = _interopRequireDefault(require("./ShippingDetails"));
29
+ var _StatusTransitions = _interopRequireDefault(require("./StatusTransitions"));
30
+ var _StripeError = _interopRequireDefault(require("./StripeError"));
31
+ var _Subscription = _interopRequireDefault(require("./Subscription"));
32
+ var _SubscriptionDetails = _interopRequireDefault(require("./SubscriptionDetails"));
33
+ var _TaxId = _interopRequireDefault(require("./TaxId"));
34
+ var _TaxRate = _interopRequireDefault(require("./TaxRate"));
35
+ var _TestClock = _interopRequireDefault(require("./TestClock"));
36
+ var _ThresholdReason = _interopRequireDefault(require("./ThresholdReason"));
37
+ var _TotalDiscountAmount = _interopRequireDefault(require("./TotalDiscountAmount"));
38
+ var _TotalTaxAmount = _interopRequireDefault(require("./TotalTaxAmount"));
39
+ var _TransferData = _interopRequireDefault(require("./TransferData"));
40
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
41
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
42
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
43
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
44
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
45
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
46
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
47
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
48
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
49
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
50
+ * gobodo-api
51
+ * REST Interface for Gobodo API
52
+ *
53
+ * The version of the OpenAPI document: 0.1.113
54
+ * Contact: info@gobodo.io
55
+ *
56
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
57
+ * https://openapi-generator.tech
58
+ * Do not edit the class manually.
59
+ *
60
+ */
61
+ /**
62
+ * The Invoice model module.
63
+ * @module model/Invoice
64
+ * @version 0.1.113
65
+ */
66
+ var Invoice = /*#__PURE__*/function () {
67
+ /**
68
+ * Constructs a new <code>Invoice</code>.
69
+ * @alias module:model/Invoice
70
+ */
71
+ function Invoice() {
72
+ _classCallCheck(this, Invoice);
73
+ Invoice.initialize(this);
74
+ }
75
+
76
+ /**
77
+ * Initializes the fields of this object.
78
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
79
+ * Only for internal use.
80
+ */
81
+ _createClass(Invoice, [{
82
+ key: "getLastResponse",
83
+ value:
84
+ /**
85
+ * @return {Object}
86
+ */
87
+ function getLastResponse() {
88
+ return this.lastResponse;
89
+ }
90
+
91
+ /**
92
+ * @param {Object} lastResponse
93
+ */
94
+ }, {
95
+ key: "setLastResponse",
96
+ value: function setLastResponse(lastResponse) {
97
+ this['lastResponse'] = lastResponse;
98
+ }
99
+ /**
100
+ * @return {module:model/JsonObject}
101
+ */
102
+ }, {
103
+ key: "getRawJsonObject",
104
+ value: function getRawJsonObject() {
105
+ return this.rawJsonObject;
106
+ }
107
+
108
+ /**
109
+ * @param {module:model/JsonObject} rawJsonObject
110
+ */
111
+ }, {
112
+ key: "setRawJsonObject",
113
+ value: function setRawJsonObject(rawJsonObject) {
114
+ this['rawJsonObject'] = rawJsonObject;
115
+ }
116
+ /**
117
+ * @return {Object}
118
+ */
119
+ }, {
120
+ key: "getResponseGetter",
121
+ value: function getResponseGetter() {
122
+ return this.responseGetter;
123
+ }
124
+
125
+ /**
126
+ * @param {Object} responseGetter
127
+ */
128
+ }, {
129
+ key: "setResponseGetter",
130
+ value: function setResponseGetter(responseGetter) {
131
+ this['responseGetter'] = responseGetter;
132
+ }
133
+ /**
134
+ * @return {String}
135
+ */
136
+ }, {
137
+ key: "getAccountCountry",
138
+ value: function getAccountCountry() {
139
+ return this.accountCountry;
140
+ }
141
+
142
+ /**
143
+ * @param {String} accountCountry
144
+ */
145
+ }, {
146
+ key: "setAccountCountry",
147
+ value: function setAccountCountry(accountCountry) {
148
+ this['accountCountry'] = accountCountry;
149
+ }
150
+ /**
151
+ * @return {String}
152
+ */
153
+ }, {
154
+ key: "getAccountName",
155
+ value: function getAccountName() {
156
+ return this.accountName;
157
+ }
158
+
159
+ /**
160
+ * @param {String} accountName
161
+ */
162
+ }, {
163
+ key: "setAccountName",
164
+ value: function setAccountName(accountName) {
165
+ this['accountName'] = accountName;
166
+ }
167
+ /**
168
+ * @return {Array.<String>}
169
+ */
170
+ }, {
171
+ key: "getAccountTaxIds",
172
+ value: function getAccountTaxIds() {
173
+ return this.accountTaxIds;
174
+ }
175
+
176
+ /**
177
+ * @param {Array.<String>} accountTaxIds
178
+ */
179
+ }, {
180
+ key: "setAccountTaxIds",
181
+ value: function setAccountTaxIds(accountTaxIds) {
182
+ this['accountTaxIds'] = accountTaxIds;
183
+ }
184
+ /**
185
+ * @return {Number}
186
+ */
187
+ }, {
188
+ key: "getAmountDue",
189
+ value: function getAmountDue() {
190
+ return this.amountDue;
191
+ }
192
+
193
+ /**
194
+ * @param {Number} amountDue
195
+ */
196
+ }, {
197
+ key: "setAmountDue",
198
+ value: function setAmountDue(amountDue) {
199
+ this['amountDue'] = amountDue;
200
+ }
201
+ /**
202
+ * @return {Number}
203
+ */
204
+ }, {
205
+ key: "getAmountPaid",
206
+ value: function getAmountPaid() {
207
+ return this.amountPaid;
208
+ }
209
+
210
+ /**
211
+ * @param {Number} amountPaid
212
+ */
213
+ }, {
214
+ key: "setAmountPaid",
215
+ value: function setAmountPaid(amountPaid) {
216
+ this['amountPaid'] = amountPaid;
217
+ }
218
+ /**
219
+ * @return {Number}
220
+ */
221
+ }, {
222
+ key: "getAmountRemaining",
223
+ value: function getAmountRemaining() {
224
+ return this.amountRemaining;
225
+ }
226
+
227
+ /**
228
+ * @param {Number} amountRemaining
229
+ */
230
+ }, {
231
+ key: "setAmountRemaining",
232
+ value: function setAmountRemaining(amountRemaining) {
233
+ this['amountRemaining'] = amountRemaining;
234
+ }
235
+ /**
236
+ * @return {Number}
237
+ */
238
+ }, {
239
+ key: "getAmountShipping",
240
+ value: function getAmountShipping() {
241
+ return this.amountShipping;
242
+ }
243
+
244
+ /**
245
+ * @param {Number} amountShipping
246
+ */
247
+ }, {
248
+ key: "setAmountShipping",
249
+ value: function setAmountShipping(amountShipping) {
250
+ this['amountShipping'] = amountShipping;
251
+ }
252
+ /**
253
+ * @return {String}
254
+ */
255
+ }, {
256
+ key: "getApplication",
257
+ value: function getApplication() {
258
+ return this.application;
259
+ }
260
+
261
+ /**
262
+ * @param {String} application
263
+ */
264
+ }, {
265
+ key: "setApplication",
266
+ value: function setApplication(application) {
267
+ this['application'] = application;
268
+ }
269
+ /**
270
+ * @return {Number}
271
+ */
272
+ }, {
273
+ key: "getApplicationFeeAmount",
274
+ value: function getApplicationFeeAmount() {
275
+ return this.applicationFeeAmount;
276
+ }
277
+
278
+ /**
279
+ * @param {Number} applicationFeeAmount
280
+ */
281
+ }, {
282
+ key: "setApplicationFeeAmount",
283
+ value: function setApplicationFeeAmount(applicationFeeAmount) {
284
+ this['applicationFeeAmount'] = applicationFeeAmount;
285
+ }
286
+ /**
287
+ * @return {Number}
288
+ */
289
+ }, {
290
+ key: "getAttemptCount",
291
+ value: function getAttemptCount() {
292
+ return this.attemptCount;
293
+ }
294
+
295
+ /**
296
+ * @param {Number} attemptCount
297
+ */
298
+ }, {
299
+ key: "setAttemptCount",
300
+ value: function setAttemptCount(attemptCount) {
301
+ this['attemptCount'] = attemptCount;
302
+ }
303
+ /**
304
+ * @return {Boolean}
305
+ */
306
+ }, {
307
+ key: "getAttempted",
308
+ value: function getAttempted() {
309
+ return this.attempted;
310
+ }
311
+
312
+ /**
313
+ * @param {Boolean} attempted
314
+ */
315
+ }, {
316
+ key: "setAttempted",
317
+ value: function setAttempted(attempted) {
318
+ this['attempted'] = attempted;
319
+ }
320
+ /**
321
+ * @return {Boolean}
322
+ */
323
+ }, {
324
+ key: "getAutoAdvance",
325
+ value: function getAutoAdvance() {
326
+ return this.autoAdvance;
327
+ }
328
+
329
+ /**
330
+ * @param {Boolean} autoAdvance
331
+ */
332
+ }, {
333
+ key: "setAutoAdvance",
334
+ value: function setAutoAdvance(autoAdvance) {
335
+ this['autoAdvance'] = autoAdvance;
336
+ }
337
+ /**
338
+ * @return {module:model/AutomaticTax}
339
+ */
340
+ }, {
341
+ key: "getAutomaticTax",
342
+ value: function getAutomaticTax() {
343
+ return this.automaticTax;
344
+ }
345
+
346
+ /**
347
+ * @param {module:model/AutomaticTax} automaticTax
348
+ */
349
+ }, {
350
+ key: "setAutomaticTax",
351
+ value: function setAutomaticTax(automaticTax) {
352
+ this['automaticTax'] = automaticTax;
353
+ }
354
+ /**
355
+ * @return {String}
356
+ */
357
+ }, {
358
+ key: "getBillingReason",
359
+ value: function getBillingReason() {
360
+ return this.billingReason;
361
+ }
362
+
363
+ /**
364
+ * @param {String} billingReason
365
+ */
366
+ }, {
367
+ key: "setBillingReason",
368
+ value: function setBillingReason(billingReason) {
369
+ this['billingReason'] = billingReason;
370
+ }
371
+ /**
372
+ * @return {String}
373
+ */
374
+ }, {
375
+ key: "getCharge",
376
+ value: function getCharge() {
377
+ return this.charge;
378
+ }
379
+
380
+ /**
381
+ * @param {String} charge
382
+ */
383
+ }, {
384
+ key: "setCharge",
385
+ value: function setCharge(charge) {
386
+ this['charge'] = charge;
387
+ }
388
+ /**
389
+ * @return {String}
390
+ */
391
+ }, {
392
+ key: "getCollectionMethod",
393
+ value: function getCollectionMethod() {
394
+ return this.collectionMethod;
395
+ }
396
+
397
+ /**
398
+ * @param {String} collectionMethod
399
+ */
400
+ }, {
401
+ key: "setCollectionMethod",
402
+ value: function setCollectionMethod(collectionMethod) {
403
+ this['collectionMethod'] = collectionMethod;
404
+ }
405
+ /**
406
+ * @return {Number}
407
+ */
408
+ }, {
409
+ key: "getCreated",
410
+ value: function getCreated() {
411
+ return this.created;
412
+ }
413
+
414
+ /**
415
+ * @param {Number} created
416
+ */
417
+ }, {
418
+ key: "setCreated",
419
+ value: function setCreated(created) {
420
+ this['created'] = created;
421
+ }
422
+ /**
423
+ * @return {String}
424
+ */
425
+ }, {
426
+ key: "getCurrency",
427
+ value: function getCurrency() {
428
+ return this.currency;
429
+ }
430
+
431
+ /**
432
+ * @param {String} currency
433
+ */
434
+ }, {
435
+ key: "setCurrency",
436
+ value: function setCurrency(currency) {
437
+ this['currency'] = currency;
438
+ }
439
+ /**
440
+ * @return {Array.<module:model/CustomField>}
441
+ */
442
+ }, {
443
+ key: "getCustomFields",
444
+ value: function getCustomFields() {
445
+ return this.customFields;
446
+ }
447
+
448
+ /**
449
+ * @param {Array.<module:model/CustomField>} customFields
450
+ */
451
+ }, {
452
+ key: "setCustomFields",
453
+ value: function setCustomFields(customFields) {
454
+ this['customFields'] = customFields;
455
+ }
456
+ /**
457
+ * @return {String}
458
+ */
459
+ }, {
460
+ key: "getCustomer",
461
+ value: function getCustomer() {
462
+ return this.customer;
463
+ }
464
+
465
+ /**
466
+ * @param {String} customer
467
+ */
468
+ }, {
469
+ key: "setCustomer",
470
+ value: function setCustomer(customer) {
471
+ this['customer'] = customer;
472
+ }
473
+ /**
474
+ * @return {module:model/Address}
475
+ */
476
+ }, {
477
+ key: "getCustomerAddress",
478
+ value: function getCustomerAddress() {
479
+ return this.customerAddress;
480
+ }
481
+
482
+ /**
483
+ * @param {module:model/Address} customerAddress
484
+ */
485
+ }, {
486
+ key: "setCustomerAddress",
487
+ value: function setCustomerAddress(customerAddress) {
488
+ this['customerAddress'] = customerAddress;
489
+ }
490
+ /**
491
+ * @return {String}
492
+ */
493
+ }, {
494
+ key: "getCustomerEmail",
495
+ value: function getCustomerEmail() {
496
+ return this.customerEmail;
497
+ }
498
+
499
+ /**
500
+ * @param {String} customerEmail
501
+ */
502
+ }, {
503
+ key: "setCustomerEmail",
504
+ value: function setCustomerEmail(customerEmail) {
505
+ this['customerEmail'] = customerEmail;
506
+ }
507
+ /**
508
+ * @return {String}
509
+ */
510
+ }, {
511
+ key: "getCustomerName",
512
+ value: function getCustomerName() {
513
+ return this.customerName;
514
+ }
515
+
516
+ /**
517
+ * @param {String} customerName
518
+ */
519
+ }, {
520
+ key: "setCustomerName",
521
+ value: function setCustomerName(customerName) {
522
+ this['customerName'] = customerName;
523
+ }
524
+ /**
525
+ * @return {String}
526
+ */
527
+ }, {
528
+ key: "getCustomerPhone",
529
+ value: function getCustomerPhone() {
530
+ return this.customerPhone;
531
+ }
532
+
533
+ /**
534
+ * @param {String} customerPhone
535
+ */
536
+ }, {
537
+ key: "setCustomerPhone",
538
+ value: function setCustomerPhone(customerPhone) {
539
+ this['customerPhone'] = customerPhone;
540
+ }
541
+ /**
542
+ * @return {module:model/ShippingDetails}
543
+ */
544
+ }, {
545
+ key: "getCustomerShipping",
546
+ value: function getCustomerShipping() {
547
+ return this.customerShipping;
548
+ }
549
+
550
+ /**
551
+ * @param {module:model/ShippingDetails} customerShipping
552
+ */
553
+ }, {
554
+ key: "setCustomerShipping",
555
+ value: function setCustomerShipping(customerShipping) {
556
+ this['customerShipping'] = customerShipping;
557
+ }
558
+ /**
559
+ * @return {String}
560
+ */
561
+ }, {
562
+ key: "getCustomerTaxExempt",
563
+ value: function getCustomerTaxExempt() {
564
+ return this.customerTaxExempt;
565
+ }
566
+
567
+ /**
568
+ * @param {String} customerTaxExempt
569
+ */
570
+ }, {
571
+ key: "setCustomerTaxExempt",
572
+ value: function setCustomerTaxExempt(customerTaxExempt) {
573
+ this['customerTaxExempt'] = customerTaxExempt;
574
+ }
575
+ /**
576
+ * @return {Array.<module:model/CustomerTaxId>}
577
+ */
578
+ }, {
579
+ key: "getCustomerTaxIds",
580
+ value: function getCustomerTaxIds() {
581
+ return this.customerTaxIds;
582
+ }
583
+
584
+ /**
585
+ * @param {Array.<module:model/CustomerTaxId>} customerTaxIds
586
+ */
587
+ }, {
588
+ key: "setCustomerTaxIds",
589
+ value: function setCustomerTaxIds(customerTaxIds) {
590
+ this['customerTaxIds'] = customerTaxIds;
591
+ }
592
+ /**
593
+ * @return {String}
594
+ */
595
+ }, {
596
+ key: "getDefaultPaymentMethod",
597
+ value: function getDefaultPaymentMethod() {
598
+ return this.defaultPaymentMethod;
599
+ }
600
+
601
+ /**
602
+ * @param {String} defaultPaymentMethod
603
+ */
604
+ }, {
605
+ key: "setDefaultPaymentMethod",
606
+ value: function setDefaultPaymentMethod(defaultPaymentMethod) {
607
+ this['defaultPaymentMethod'] = defaultPaymentMethod;
608
+ }
609
+ /**
610
+ * @return {String}
611
+ */
612
+ }, {
613
+ key: "getDefaultSource",
614
+ value: function getDefaultSource() {
615
+ return this.defaultSource;
616
+ }
617
+
618
+ /**
619
+ * @param {String} defaultSource
620
+ */
621
+ }, {
622
+ key: "setDefaultSource",
623
+ value: function setDefaultSource(defaultSource) {
624
+ this['defaultSource'] = defaultSource;
625
+ }
626
+ /**
627
+ * @return {Array.<module:model/TaxRate>}
628
+ */
629
+ }, {
630
+ key: "getDefaultTaxRates",
631
+ value: function getDefaultTaxRates() {
632
+ return this.defaultTaxRates;
633
+ }
634
+
635
+ /**
636
+ * @param {Array.<module:model/TaxRate>} defaultTaxRates
637
+ */
638
+ }, {
639
+ key: "setDefaultTaxRates",
640
+ value: function setDefaultTaxRates(defaultTaxRates) {
641
+ this['defaultTaxRates'] = defaultTaxRates;
642
+ }
643
+ /**
644
+ * @return {Boolean}
645
+ */
646
+ }, {
647
+ key: "getDeleted",
648
+ value: function getDeleted() {
649
+ return this.deleted;
650
+ }
651
+
652
+ /**
653
+ * @param {Boolean} deleted
654
+ */
655
+ }, {
656
+ key: "setDeleted",
657
+ value: function setDeleted(deleted) {
658
+ this['deleted'] = deleted;
659
+ }
660
+ /**
661
+ * @return {String}
662
+ */
663
+ }, {
664
+ key: "getDescription",
665
+ value: function getDescription() {
666
+ return this.description;
667
+ }
668
+
669
+ /**
670
+ * @param {String} description
671
+ */
672
+ }, {
673
+ key: "setDescription",
674
+ value: function setDescription(description) {
675
+ this['description'] = description;
676
+ }
677
+ /**
678
+ * @return {module:model/Discount}
679
+ */
680
+ }, {
681
+ key: "getDiscount",
682
+ value: function getDiscount() {
683
+ return this.discount;
684
+ }
685
+
686
+ /**
687
+ * @param {module:model/Discount} discount
688
+ */
689
+ }, {
690
+ key: "setDiscount",
691
+ value: function setDiscount(discount) {
692
+ this['discount'] = discount;
693
+ }
694
+ /**
695
+ * @return {Array.<String>}
696
+ */
697
+ }, {
698
+ key: "getDiscounts",
699
+ value: function getDiscounts() {
700
+ return this.discounts;
701
+ }
702
+
703
+ /**
704
+ * @param {Array.<String>} discounts
705
+ */
706
+ }, {
707
+ key: "setDiscounts",
708
+ value: function setDiscounts(discounts) {
709
+ this['discounts'] = discounts;
710
+ }
711
+ /**
712
+ * @return {Number}
713
+ */
714
+ }, {
715
+ key: "getDueDate",
716
+ value: function getDueDate() {
717
+ return this.dueDate;
718
+ }
719
+
720
+ /**
721
+ * @param {Number} dueDate
722
+ */
723
+ }, {
724
+ key: "setDueDate",
725
+ value: function setDueDate(dueDate) {
726
+ this['dueDate'] = dueDate;
727
+ }
728
+ /**
729
+ * @return {Number}
730
+ */
731
+ }, {
732
+ key: "getEffectiveAt",
733
+ value: function getEffectiveAt() {
734
+ return this.effectiveAt;
735
+ }
736
+
737
+ /**
738
+ * @param {Number} effectiveAt
739
+ */
740
+ }, {
741
+ key: "setEffectiveAt",
742
+ value: function setEffectiveAt(effectiveAt) {
743
+ this['effectiveAt'] = effectiveAt;
744
+ }
745
+ /**
746
+ * @return {Number}
747
+ */
748
+ }, {
749
+ key: "getEndingBalance",
750
+ value: function getEndingBalance() {
751
+ return this.endingBalance;
752
+ }
753
+
754
+ /**
755
+ * @param {Number} endingBalance
756
+ */
757
+ }, {
758
+ key: "setEndingBalance",
759
+ value: function setEndingBalance(endingBalance) {
760
+ this['endingBalance'] = endingBalance;
761
+ }
762
+ /**
763
+ * @return {String}
764
+ */
765
+ }, {
766
+ key: "getFooter",
767
+ value: function getFooter() {
768
+ return this.footer;
769
+ }
770
+
771
+ /**
772
+ * @param {String} footer
773
+ */
774
+ }, {
775
+ key: "setFooter",
776
+ value: function setFooter(footer) {
777
+ this['footer'] = footer;
778
+ }
779
+ /**
780
+ * @return {module:model/FromInvoice}
781
+ */
782
+ }, {
783
+ key: "getFromInvoice",
784
+ value: function getFromInvoice() {
785
+ return this.fromInvoice;
786
+ }
787
+
788
+ /**
789
+ * @param {module:model/FromInvoice} fromInvoice
790
+ */
791
+ }, {
792
+ key: "setFromInvoice",
793
+ value: function setFromInvoice(fromInvoice) {
794
+ this['fromInvoice'] = fromInvoice;
795
+ }
796
+ /**
797
+ * @return {String}
798
+ */
799
+ }, {
800
+ key: "getHostedInvoiceUrl",
801
+ value: function getHostedInvoiceUrl() {
802
+ return this.hostedInvoiceUrl;
803
+ }
804
+
805
+ /**
806
+ * @param {String} hostedInvoiceUrl
807
+ */
808
+ }, {
809
+ key: "setHostedInvoiceUrl",
810
+ value: function setHostedInvoiceUrl(hostedInvoiceUrl) {
811
+ this['hostedInvoiceUrl'] = hostedInvoiceUrl;
812
+ }
813
+ /**
814
+ * @return {String}
815
+ */
816
+ }, {
817
+ key: "getId",
818
+ value: function getId() {
819
+ return this.id;
820
+ }
821
+
822
+ /**
823
+ * @param {String} id
824
+ */
825
+ }, {
826
+ key: "setId",
827
+ value: function setId(id) {
828
+ this['id'] = id;
829
+ }
830
+ /**
831
+ * @return {String}
832
+ */
833
+ }, {
834
+ key: "getInvoicePdf",
835
+ value: function getInvoicePdf() {
836
+ return this.invoicePdf;
837
+ }
838
+
839
+ /**
840
+ * @param {String} invoicePdf
841
+ */
842
+ }, {
843
+ key: "setInvoicePdf",
844
+ value: function setInvoicePdf(invoicePdf) {
845
+ this['invoicePdf'] = invoicePdf;
846
+ }
847
+ /**
848
+ * @return {module:model/StripeError}
849
+ */
850
+ }, {
851
+ key: "getLastFinalizationError",
852
+ value: function getLastFinalizationError() {
853
+ return this.lastFinalizationError;
854
+ }
855
+
856
+ /**
857
+ * @param {module:model/StripeError} lastFinalizationError
858
+ */
859
+ }, {
860
+ key: "setLastFinalizationError",
861
+ value: function setLastFinalizationError(lastFinalizationError) {
862
+ this['lastFinalizationError'] = lastFinalizationError;
863
+ }
864
+ /**
865
+ * @return {String}
866
+ */
867
+ }, {
868
+ key: "getLatestRevision",
869
+ value: function getLatestRevision() {
870
+ return this.latestRevision;
871
+ }
872
+
873
+ /**
874
+ * @param {String} latestRevision
875
+ */
876
+ }, {
877
+ key: "setLatestRevision",
878
+ value: function setLatestRevision(latestRevision) {
879
+ this['latestRevision'] = latestRevision;
880
+ }
881
+ /**
882
+ * @return {module:model/InvoiceLineItemCollection}
883
+ */
884
+ }, {
885
+ key: "getLines",
886
+ value: function getLines() {
887
+ return this.lines;
888
+ }
889
+
890
+ /**
891
+ * @param {module:model/InvoiceLineItemCollection} lines
892
+ */
893
+ }, {
894
+ key: "setLines",
895
+ value: function setLines(lines) {
896
+ this['lines'] = lines;
897
+ }
898
+ /**
899
+ * @return {Boolean}
900
+ */
901
+ }, {
902
+ key: "getLivemode",
903
+ value: function getLivemode() {
904
+ return this.livemode;
905
+ }
906
+
907
+ /**
908
+ * @param {Boolean} livemode
909
+ */
910
+ }, {
911
+ key: "setLivemode",
912
+ value: function setLivemode(livemode) {
913
+ this['livemode'] = livemode;
914
+ }
915
+ /**
916
+ * @return {Object.<String, String>}
917
+ */
918
+ }, {
919
+ key: "getMetadata",
920
+ value: function getMetadata() {
921
+ return this.metadata;
922
+ }
923
+
924
+ /**
925
+ * @param {Object.<String, String>} metadata
926
+ */
927
+ }, {
928
+ key: "setMetadata",
929
+ value: function setMetadata(metadata) {
930
+ this['metadata'] = metadata;
931
+ }
932
+ /**
933
+ * @return {Number}
934
+ */
935
+ }, {
936
+ key: "getNextPaymentAttempt",
937
+ value: function getNextPaymentAttempt() {
938
+ return this.nextPaymentAttempt;
939
+ }
940
+
941
+ /**
942
+ * @param {Number} nextPaymentAttempt
943
+ */
944
+ }, {
945
+ key: "setNextPaymentAttempt",
946
+ value: function setNextPaymentAttempt(nextPaymentAttempt) {
947
+ this['nextPaymentAttempt'] = nextPaymentAttempt;
948
+ }
949
+ /**
950
+ * @return {String}
951
+ */
952
+ }, {
953
+ key: "getNumber",
954
+ value: function getNumber() {
955
+ return this.number;
956
+ }
957
+
958
+ /**
959
+ * @param {String} number
960
+ */
961
+ }, {
962
+ key: "setNumber",
963
+ value: function setNumber(number) {
964
+ this['number'] = number;
965
+ }
966
+ /**
967
+ * @return {String}
968
+ */
969
+ }, {
970
+ key: "getObject",
971
+ value: function getObject() {
972
+ return this.object;
973
+ }
974
+
975
+ /**
976
+ * @param {String} object
977
+ */
978
+ }, {
979
+ key: "setObject",
980
+ value: function setObject(object) {
981
+ this['object'] = object;
982
+ }
983
+ /**
984
+ * @return {String}
985
+ */
986
+ }, {
987
+ key: "getOnBehalfOf",
988
+ value: function getOnBehalfOf() {
989
+ return this.onBehalfOf;
990
+ }
991
+
992
+ /**
993
+ * @param {String} onBehalfOf
994
+ */
995
+ }, {
996
+ key: "setOnBehalfOf",
997
+ value: function setOnBehalfOf(onBehalfOf) {
998
+ this['onBehalfOf'] = onBehalfOf;
999
+ }
1000
+ /**
1001
+ * @return {Boolean}
1002
+ */
1003
+ }, {
1004
+ key: "getPaid",
1005
+ value: function getPaid() {
1006
+ return this.paid;
1007
+ }
1008
+
1009
+ /**
1010
+ * @param {Boolean} paid
1011
+ */
1012
+ }, {
1013
+ key: "setPaid",
1014
+ value: function setPaid(paid) {
1015
+ this['paid'] = paid;
1016
+ }
1017
+ /**
1018
+ * @return {Boolean}
1019
+ */
1020
+ }, {
1021
+ key: "getPaidOutOfBand",
1022
+ value: function getPaidOutOfBand() {
1023
+ return this.paidOutOfBand;
1024
+ }
1025
+
1026
+ /**
1027
+ * @param {Boolean} paidOutOfBand
1028
+ */
1029
+ }, {
1030
+ key: "setPaidOutOfBand",
1031
+ value: function setPaidOutOfBand(paidOutOfBand) {
1032
+ this['paidOutOfBand'] = paidOutOfBand;
1033
+ }
1034
+ /**
1035
+ * @return {String}
1036
+ */
1037
+ }, {
1038
+ key: "getPaymentIntent",
1039
+ value: function getPaymentIntent() {
1040
+ return this.paymentIntent;
1041
+ }
1042
+
1043
+ /**
1044
+ * @param {String} paymentIntent
1045
+ */
1046
+ }, {
1047
+ key: "setPaymentIntent",
1048
+ value: function setPaymentIntent(paymentIntent) {
1049
+ this['paymentIntent'] = paymentIntent;
1050
+ }
1051
+ /**
1052
+ * @return {module:model/PaymentSettings}
1053
+ */
1054
+ }, {
1055
+ key: "getPaymentSettings",
1056
+ value: function getPaymentSettings() {
1057
+ return this.paymentSettings;
1058
+ }
1059
+
1060
+ /**
1061
+ * @param {module:model/PaymentSettings} paymentSettings
1062
+ */
1063
+ }, {
1064
+ key: "setPaymentSettings",
1065
+ value: function setPaymentSettings(paymentSettings) {
1066
+ this['paymentSettings'] = paymentSettings;
1067
+ }
1068
+ /**
1069
+ * @return {Number}
1070
+ */
1071
+ }, {
1072
+ key: "getPeriodEnd",
1073
+ value: function getPeriodEnd() {
1074
+ return this.periodEnd;
1075
+ }
1076
+
1077
+ /**
1078
+ * @param {Number} periodEnd
1079
+ */
1080
+ }, {
1081
+ key: "setPeriodEnd",
1082
+ value: function setPeriodEnd(periodEnd) {
1083
+ this['periodEnd'] = periodEnd;
1084
+ }
1085
+ /**
1086
+ * @return {Number}
1087
+ */
1088
+ }, {
1089
+ key: "getPeriodStart",
1090
+ value: function getPeriodStart() {
1091
+ return this.periodStart;
1092
+ }
1093
+
1094
+ /**
1095
+ * @param {Number} periodStart
1096
+ */
1097
+ }, {
1098
+ key: "setPeriodStart",
1099
+ value: function setPeriodStart(periodStart) {
1100
+ this['periodStart'] = periodStart;
1101
+ }
1102
+ /**
1103
+ * @return {Number}
1104
+ */
1105
+ }, {
1106
+ key: "getPostPaymentCreditNotesAmount",
1107
+ value: function getPostPaymentCreditNotesAmount() {
1108
+ return this.postPaymentCreditNotesAmount;
1109
+ }
1110
+
1111
+ /**
1112
+ * @param {Number} postPaymentCreditNotesAmount
1113
+ */
1114
+ }, {
1115
+ key: "setPostPaymentCreditNotesAmount",
1116
+ value: function setPostPaymentCreditNotesAmount(postPaymentCreditNotesAmount) {
1117
+ this['postPaymentCreditNotesAmount'] = postPaymentCreditNotesAmount;
1118
+ }
1119
+ /**
1120
+ * @return {Number}
1121
+ */
1122
+ }, {
1123
+ key: "getPrePaymentCreditNotesAmount",
1124
+ value: function getPrePaymentCreditNotesAmount() {
1125
+ return this.prePaymentCreditNotesAmount;
1126
+ }
1127
+
1128
+ /**
1129
+ * @param {Number} prePaymentCreditNotesAmount
1130
+ */
1131
+ }, {
1132
+ key: "setPrePaymentCreditNotesAmount",
1133
+ value: function setPrePaymentCreditNotesAmount(prePaymentCreditNotesAmount) {
1134
+ this['prePaymentCreditNotesAmount'] = prePaymentCreditNotesAmount;
1135
+ }
1136
+ /**
1137
+ * @return {String}
1138
+ */
1139
+ }, {
1140
+ key: "getQuote",
1141
+ value: function getQuote() {
1142
+ return this.quote;
1143
+ }
1144
+
1145
+ /**
1146
+ * @param {String} quote
1147
+ */
1148
+ }, {
1149
+ key: "setQuote",
1150
+ value: function setQuote(quote) {
1151
+ this['quote'] = quote;
1152
+ }
1153
+ /**
1154
+ * @return {String}
1155
+ */
1156
+ }, {
1157
+ key: "getReceiptNumber",
1158
+ value: function getReceiptNumber() {
1159
+ return this.receiptNumber;
1160
+ }
1161
+
1162
+ /**
1163
+ * @param {String} receiptNumber
1164
+ */
1165
+ }, {
1166
+ key: "setReceiptNumber",
1167
+ value: function setReceiptNumber(receiptNumber) {
1168
+ this['receiptNumber'] = receiptNumber;
1169
+ }
1170
+ /**
1171
+ * @return {module:model/Rendering}
1172
+ */
1173
+ }, {
1174
+ key: "getRendering",
1175
+ value: function getRendering() {
1176
+ return this.rendering;
1177
+ }
1178
+
1179
+ /**
1180
+ * @param {module:model/Rendering} rendering
1181
+ */
1182
+ }, {
1183
+ key: "setRendering",
1184
+ value: function setRendering(rendering) {
1185
+ this['rendering'] = rendering;
1186
+ }
1187
+ /**
1188
+ * @return {module:model/RenderingOptions}
1189
+ */
1190
+ }, {
1191
+ key: "getRenderingOptions",
1192
+ value: function getRenderingOptions() {
1193
+ return this.renderingOptions;
1194
+ }
1195
+
1196
+ /**
1197
+ * @param {module:model/RenderingOptions} renderingOptions
1198
+ */
1199
+ }, {
1200
+ key: "setRenderingOptions",
1201
+ value: function setRenderingOptions(renderingOptions) {
1202
+ this['renderingOptions'] = renderingOptions;
1203
+ }
1204
+ /**
1205
+ * @return {module:model/ShippingCost}
1206
+ */
1207
+ }, {
1208
+ key: "getShippingCost",
1209
+ value: function getShippingCost() {
1210
+ return this.shippingCost;
1211
+ }
1212
+
1213
+ /**
1214
+ * @param {module:model/ShippingCost} shippingCost
1215
+ */
1216
+ }, {
1217
+ key: "setShippingCost",
1218
+ value: function setShippingCost(shippingCost) {
1219
+ this['shippingCost'] = shippingCost;
1220
+ }
1221
+ /**
1222
+ * @return {module:model/ShippingDetails}
1223
+ */
1224
+ }, {
1225
+ key: "getShippingDetails",
1226
+ value: function getShippingDetails() {
1227
+ return this.shippingDetails;
1228
+ }
1229
+
1230
+ /**
1231
+ * @param {module:model/ShippingDetails} shippingDetails
1232
+ */
1233
+ }, {
1234
+ key: "setShippingDetails",
1235
+ value: function setShippingDetails(shippingDetails) {
1236
+ this['shippingDetails'] = shippingDetails;
1237
+ }
1238
+ /**
1239
+ * @return {Number}
1240
+ */
1241
+ }, {
1242
+ key: "getStartingBalance",
1243
+ value: function getStartingBalance() {
1244
+ return this.startingBalance;
1245
+ }
1246
+
1247
+ /**
1248
+ * @param {Number} startingBalance
1249
+ */
1250
+ }, {
1251
+ key: "setStartingBalance",
1252
+ value: function setStartingBalance(startingBalance) {
1253
+ this['startingBalance'] = startingBalance;
1254
+ }
1255
+ /**
1256
+ * @return {String}
1257
+ */
1258
+ }, {
1259
+ key: "getStatementDescriptor",
1260
+ value: function getStatementDescriptor() {
1261
+ return this.statementDescriptor;
1262
+ }
1263
+
1264
+ /**
1265
+ * @param {String} statementDescriptor
1266
+ */
1267
+ }, {
1268
+ key: "setStatementDescriptor",
1269
+ value: function setStatementDescriptor(statementDescriptor) {
1270
+ this['statementDescriptor'] = statementDescriptor;
1271
+ }
1272
+ /**
1273
+ * @return {String}
1274
+ */
1275
+ }, {
1276
+ key: "getStatus",
1277
+ value: function getStatus() {
1278
+ return this.status;
1279
+ }
1280
+
1281
+ /**
1282
+ * @param {String} status
1283
+ */
1284
+ }, {
1285
+ key: "setStatus",
1286
+ value: function setStatus(status) {
1287
+ this['status'] = status;
1288
+ }
1289
+ /**
1290
+ * @return {module:model/StatusTransitions}
1291
+ */
1292
+ }, {
1293
+ key: "getStatusTransitions",
1294
+ value: function getStatusTransitions() {
1295
+ return this.statusTransitions;
1296
+ }
1297
+
1298
+ /**
1299
+ * @param {module:model/StatusTransitions} statusTransitions
1300
+ */
1301
+ }, {
1302
+ key: "setStatusTransitions",
1303
+ value: function setStatusTransitions(statusTransitions) {
1304
+ this['statusTransitions'] = statusTransitions;
1305
+ }
1306
+ /**
1307
+ * @return {String}
1308
+ */
1309
+ }, {
1310
+ key: "getSubscription",
1311
+ value: function getSubscription() {
1312
+ return this.subscription;
1313
+ }
1314
+
1315
+ /**
1316
+ * @param {String} subscription
1317
+ */
1318
+ }, {
1319
+ key: "setSubscription",
1320
+ value: function setSubscription(subscription) {
1321
+ this['subscription'] = subscription;
1322
+ }
1323
+ /**
1324
+ * @return {module:model/SubscriptionDetails}
1325
+ */
1326
+ }, {
1327
+ key: "getSubscriptionDetails",
1328
+ value: function getSubscriptionDetails() {
1329
+ return this.subscriptionDetails;
1330
+ }
1331
+
1332
+ /**
1333
+ * @param {module:model/SubscriptionDetails} subscriptionDetails
1334
+ */
1335
+ }, {
1336
+ key: "setSubscriptionDetails",
1337
+ value: function setSubscriptionDetails(subscriptionDetails) {
1338
+ this['subscriptionDetails'] = subscriptionDetails;
1339
+ }
1340
+ /**
1341
+ * @return {Number}
1342
+ */
1343
+ }, {
1344
+ key: "getSubscriptionProrationDate",
1345
+ value: function getSubscriptionProrationDate() {
1346
+ return this.subscriptionProrationDate;
1347
+ }
1348
+
1349
+ /**
1350
+ * @param {Number} subscriptionProrationDate
1351
+ */
1352
+ }, {
1353
+ key: "setSubscriptionProrationDate",
1354
+ value: function setSubscriptionProrationDate(subscriptionProrationDate) {
1355
+ this['subscriptionProrationDate'] = subscriptionProrationDate;
1356
+ }
1357
+ /**
1358
+ * @return {Number}
1359
+ */
1360
+ }, {
1361
+ key: "getSubtotal",
1362
+ value: function getSubtotal() {
1363
+ return this.subtotal;
1364
+ }
1365
+
1366
+ /**
1367
+ * @param {Number} subtotal
1368
+ */
1369
+ }, {
1370
+ key: "setSubtotal",
1371
+ value: function setSubtotal(subtotal) {
1372
+ this['subtotal'] = subtotal;
1373
+ }
1374
+ /**
1375
+ * @return {Number}
1376
+ */
1377
+ }, {
1378
+ key: "getSubtotalExcludingTax",
1379
+ value: function getSubtotalExcludingTax() {
1380
+ return this.subtotalExcludingTax;
1381
+ }
1382
+
1383
+ /**
1384
+ * @param {Number} subtotalExcludingTax
1385
+ */
1386
+ }, {
1387
+ key: "setSubtotalExcludingTax",
1388
+ value: function setSubtotalExcludingTax(subtotalExcludingTax) {
1389
+ this['subtotalExcludingTax'] = subtotalExcludingTax;
1390
+ }
1391
+ /**
1392
+ * @return {Number}
1393
+ */
1394
+ }, {
1395
+ key: "getTax",
1396
+ value: function getTax() {
1397
+ return this.tax;
1398
+ }
1399
+
1400
+ /**
1401
+ * @param {Number} tax
1402
+ */
1403
+ }, {
1404
+ key: "setTax",
1405
+ value: function setTax(tax) {
1406
+ this['tax'] = tax;
1407
+ }
1408
+ /**
1409
+ * @return {String}
1410
+ */
1411
+ }, {
1412
+ key: "getTestClock",
1413
+ value: function getTestClock() {
1414
+ return this.testClock;
1415
+ }
1416
+
1417
+ /**
1418
+ * @param {String} testClock
1419
+ */
1420
+ }, {
1421
+ key: "setTestClock",
1422
+ value: function setTestClock(testClock) {
1423
+ this['testClock'] = testClock;
1424
+ }
1425
+ /**
1426
+ * @return {module:model/ThresholdReason}
1427
+ */
1428
+ }, {
1429
+ key: "getThresholdReason",
1430
+ value: function getThresholdReason() {
1431
+ return this.thresholdReason;
1432
+ }
1433
+
1434
+ /**
1435
+ * @param {module:model/ThresholdReason} thresholdReason
1436
+ */
1437
+ }, {
1438
+ key: "setThresholdReason",
1439
+ value: function setThresholdReason(thresholdReason) {
1440
+ this['thresholdReason'] = thresholdReason;
1441
+ }
1442
+ /**
1443
+ * @return {Number}
1444
+ */
1445
+ }, {
1446
+ key: "getTotal",
1447
+ value: function getTotal() {
1448
+ return this.total;
1449
+ }
1450
+
1451
+ /**
1452
+ * @param {Number} total
1453
+ */
1454
+ }, {
1455
+ key: "setTotal",
1456
+ value: function setTotal(total) {
1457
+ this['total'] = total;
1458
+ }
1459
+ /**
1460
+ * @return {Array.<module:model/TotalDiscountAmount>}
1461
+ */
1462
+ }, {
1463
+ key: "getTotalDiscountAmounts",
1464
+ value: function getTotalDiscountAmounts() {
1465
+ return this.totalDiscountAmounts;
1466
+ }
1467
+
1468
+ /**
1469
+ * @param {Array.<module:model/TotalDiscountAmount>} totalDiscountAmounts
1470
+ */
1471
+ }, {
1472
+ key: "setTotalDiscountAmounts",
1473
+ value: function setTotalDiscountAmounts(totalDiscountAmounts) {
1474
+ this['totalDiscountAmounts'] = totalDiscountAmounts;
1475
+ }
1476
+ /**
1477
+ * @return {Number}
1478
+ */
1479
+ }, {
1480
+ key: "getTotalExcludingTax",
1481
+ value: function getTotalExcludingTax() {
1482
+ return this.totalExcludingTax;
1483
+ }
1484
+
1485
+ /**
1486
+ * @param {Number} totalExcludingTax
1487
+ */
1488
+ }, {
1489
+ key: "setTotalExcludingTax",
1490
+ value: function setTotalExcludingTax(totalExcludingTax) {
1491
+ this['totalExcludingTax'] = totalExcludingTax;
1492
+ }
1493
+ /**
1494
+ * @return {Array.<module:model/TotalTaxAmount>}
1495
+ */
1496
+ }, {
1497
+ key: "getTotalTaxAmounts",
1498
+ value: function getTotalTaxAmounts() {
1499
+ return this.totalTaxAmounts;
1500
+ }
1501
+
1502
+ /**
1503
+ * @param {Array.<module:model/TotalTaxAmount>} totalTaxAmounts
1504
+ */
1505
+ }, {
1506
+ key: "setTotalTaxAmounts",
1507
+ value: function setTotalTaxAmounts(totalTaxAmounts) {
1508
+ this['totalTaxAmounts'] = totalTaxAmounts;
1509
+ }
1510
+ /**
1511
+ * @return {module:model/TransferData}
1512
+ */
1513
+ }, {
1514
+ key: "getTransferData",
1515
+ value: function getTransferData() {
1516
+ return this.transferData;
1517
+ }
1518
+
1519
+ /**
1520
+ * @param {module:model/TransferData} transferData
1521
+ */
1522
+ }, {
1523
+ key: "setTransferData",
1524
+ value: function setTransferData(transferData) {
1525
+ this['transferData'] = transferData;
1526
+ }
1527
+ /**
1528
+ * @return {Number}
1529
+ */
1530
+ }, {
1531
+ key: "getWebhooksDeliveredAt",
1532
+ value: function getWebhooksDeliveredAt() {
1533
+ return this.webhooksDeliveredAt;
1534
+ }
1535
+
1536
+ /**
1537
+ * @param {Number} webhooksDeliveredAt
1538
+ */
1539
+ }, {
1540
+ key: "setWebhooksDeliveredAt",
1541
+ value: function setWebhooksDeliveredAt(webhooksDeliveredAt) {
1542
+ this['webhooksDeliveredAt'] = webhooksDeliveredAt;
1543
+ }
1544
+ /**
1545
+ * @return {module:model/Application}
1546
+ */
1547
+ }, {
1548
+ key: "getApplicationObject",
1549
+ value: function getApplicationObject() {
1550
+ return this.applicationObject;
1551
+ }
1552
+
1553
+ /**
1554
+ * @param {module:model/Application} applicationObject
1555
+ */
1556
+ }, {
1557
+ key: "setApplicationObject",
1558
+ value: function setApplicationObject(applicationObject) {
1559
+ this['applicationObject'] = applicationObject;
1560
+ }
1561
+ /**
1562
+ * @return {module:model/Customer}
1563
+ */
1564
+ }, {
1565
+ key: "getCustomerObject",
1566
+ value: function getCustomerObject() {
1567
+ return this.customerObject;
1568
+ }
1569
+
1570
+ /**
1571
+ * @param {module:model/Customer} customerObject
1572
+ */
1573
+ }, {
1574
+ key: "setCustomerObject",
1575
+ value: function setCustomerObject(customerObject) {
1576
+ this['customerObject'] = customerObject;
1577
+ }
1578
+ /**
1579
+ * @return {module:model/PaymentMethod}
1580
+ */
1581
+ }, {
1582
+ key: "getDefaultPaymentMethodObject",
1583
+ value: function getDefaultPaymentMethodObject() {
1584
+ return this.defaultPaymentMethodObject;
1585
+ }
1586
+
1587
+ /**
1588
+ * @param {module:model/PaymentMethod} defaultPaymentMethodObject
1589
+ */
1590
+ }, {
1591
+ key: "setDefaultPaymentMethodObject",
1592
+ value: function setDefaultPaymentMethodObject(defaultPaymentMethodObject) {
1593
+ this['defaultPaymentMethodObject'] = defaultPaymentMethodObject;
1594
+ }
1595
+ /**
1596
+ * @return {module:model/PaymentSource}
1597
+ */
1598
+ }, {
1599
+ key: "getDefaultSourceObject",
1600
+ value: function getDefaultSourceObject() {
1601
+ return this.defaultSourceObject;
1602
+ }
1603
+
1604
+ /**
1605
+ * @param {module:model/PaymentSource} defaultSourceObject
1606
+ */
1607
+ }, {
1608
+ key: "setDefaultSourceObject",
1609
+ value: function setDefaultSourceObject(defaultSourceObject) {
1610
+ this['defaultSourceObject'] = defaultSourceObject;
1611
+ }
1612
+ /**
1613
+ * @return {module:model/Account}
1614
+ */
1615
+ }, {
1616
+ key: "getOnBehalfOfObject",
1617
+ value: function getOnBehalfOfObject() {
1618
+ return this.onBehalfOfObject;
1619
+ }
1620
+
1621
+ /**
1622
+ * @param {module:model/Account} onBehalfOfObject
1623
+ */
1624
+ }, {
1625
+ key: "setOnBehalfOfObject",
1626
+ value: function setOnBehalfOfObject(onBehalfOfObject) {
1627
+ this['onBehalfOfObject'] = onBehalfOfObject;
1628
+ }
1629
+ /**
1630
+ * @return {module:model/TestClock}
1631
+ */
1632
+ }, {
1633
+ key: "getTestClockObject",
1634
+ value: function getTestClockObject() {
1635
+ return this.testClockObject;
1636
+ }
1637
+
1638
+ /**
1639
+ * @param {module:model/TestClock} testClockObject
1640
+ */
1641
+ }, {
1642
+ key: "setTestClockObject",
1643
+ value: function setTestClockObject(testClockObject) {
1644
+ this['testClockObject'] = testClockObject;
1645
+ }
1646
+ /**
1647
+ * @return {module:model/Charge}
1648
+ */
1649
+ }, {
1650
+ key: "getChargeObject",
1651
+ value: function getChargeObject() {
1652
+ return this.chargeObject;
1653
+ }
1654
+
1655
+ /**
1656
+ * @param {module:model/Charge} chargeObject
1657
+ */
1658
+ }, {
1659
+ key: "setChargeObject",
1660
+ value: function setChargeObject(chargeObject) {
1661
+ this['chargeObject'] = chargeObject;
1662
+ }
1663
+ /**
1664
+ * @return {module:model/Invoice}
1665
+ */
1666
+ }, {
1667
+ key: "getLatestRevisionObject",
1668
+ value: function getLatestRevisionObject() {
1669
+ return this.latestRevisionObject;
1670
+ }
1671
+
1672
+ /**
1673
+ * @param {module:model/Invoice} latestRevisionObject
1674
+ */
1675
+ }, {
1676
+ key: "setLatestRevisionObject",
1677
+ value: function setLatestRevisionObject(latestRevisionObject) {
1678
+ this['latestRevisionObject'] = latestRevisionObject;
1679
+ }
1680
+ /**
1681
+ * @return {module:model/PaymentIntent}
1682
+ */
1683
+ }, {
1684
+ key: "getPaymentIntentObject",
1685
+ value: function getPaymentIntentObject() {
1686
+ return this.paymentIntentObject;
1687
+ }
1688
+
1689
+ /**
1690
+ * @param {module:model/PaymentIntent} paymentIntentObject
1691
+ */
1692
+ }, {
1693
+ key: "setPaymentIntentObject",
1694
+ value: function setPaymentIntentObject(paymentIntentObject) {
1695
+ this['paymentIntentObject'] = paymentIntentObject;
1696
+ }
1697
+ /**
1698
+ * @return {module:model/Quote}
1699
+ */
1700
+ }, {
1701
+ key: "getQuoteObject",
1702
+ value: function getQuoteObject() {
1703
+ return this.quoteObject;
1704
+ }
1705
+
1706
+ /**
1707
+ * @param {module:model/Quote} quoteObject
1708
+ */
1709
+ }, {
1710
+ key: "setQuoteObject",
1711
+ value: function setQuoteObject(quoteObject) {
1712
+ this['quoteObject'] = quoteObject;
1713
+ }
1714
+ /**
1715
+ * @return {module:model/Subscription}
1716
+ */
1717
+ }, {
1718
+ key: "getSubscriptionObject",
1719
+ value: function getSubscriptionObject() {
1720
+ return this.subscriptionObject;
1721
+ }
1722
+
1723
+ /**
1724
+ * @param {module:model/Subscription} subscriptionObject
1725
+ */
1726
+ }, {
1727
+ key: "setSubscriptionObject",
1728
+ value: function setSubscriptionObject(subscriptionObject) {
1729
+ this['subscriptionObject'] = subscriptionObject;
1730
+ }
1731
+ /**
1732
+ * @return {Array.<module:model/TaxId>}
1733
+ */
1734
+ }, {
1735
+ key: "getAccountTaxIdObjects",
1736
+ value: function getAccountTaxIdObjects() {
1737
+ return this.accountTaxIdObjects;
1738
+ }
1739
+
1740
+ /**
1741
+ * @param {Array.<module:model/TaxId>} accountTaxIdObjects
1742
+ */
1743
+ }, {
1744
+ key: "setAccountTaxIdObjects",
1745
+ value: function setAccountTaxIdObjects(accountTaxIdObjects) {
1746
+ this['accountTaxIdObjects'] = accountTaxIdObjects;
1747
+ }
1748
+ /**
1749
+ * @return {Array.<module:model/Discount>}
1750
+ */
1751
+ }, {
1752
+ key: "getDiscountObjects",
1753
+ value: function getDiscountObjects() {
1754
+ return this.discountObjects;
1755
+ }
1756
+
1757
+ /**
1758
+ * @param {Array.<module:model/Discount>} discountObjects
1759
+ */
1760
+ }, {
1761
+ key: "setDiscountObjects",
1762
+ value: function setDiscountObjects(discountObjects) {
1763
+ this['discountObjects'] = discountObjects;
1764
+ }
1765
+ }], [{
1766
+ key: "initialize",
1767
+ value: function initialize(obj) {}
1768
+
1769
+ /**
1770
+ * Constructs a <code>Invoice</code> from a plain JavaScript object, optionally creating a new instance.
1771
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
1772
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
1773
+ * @param {module:model/Invoice} obj Optional instance to populate.
1774
+ * @return {module:model/Invoice} The populated <code>Invoice</code> instance.
1775
+ */
1776
+ }, {
1777
+ key: "constructFromObject",
1778
+ value: function constructFromObject(data, obj) {
1779
+ if (data) {
1780
+ obj = obj || new Invoice();
1781
+ if (data.hasOwnProperty('lastResponse')) {
1782
+ obj['lastResponse'] = _ApiClient["default"].convertToType(data['lastResponse'], Object);
1783
+ }
1784
+ if (data.hasOwnProperty('rawJsonObject')) {
1785
+ obj['rawJsonObject'] = _JsonObject["default"].constructFromObject(data['rawJsonObject']);
1786
+ }
1787
+ if (data.hasOwnProperty('responseGetter')) {
1788
+ obj['responseGetter'] = _ApiClient["default"].convertToType(data['responseGetter'], Object);
1789
+ }
1790
+ if (data.hasOwnProperty('accountCountry')) {
1791
+ obj['accountCountry'] = _ApiClient["default"].convertToType(data['accountCountry'], 'String');
1792
+ }
1793
+ if (data.hasOwnProperty('accountName')) {
1794
+ obj['accountName'] = _ApiClient["default"].convertToType(data['accountName'], 'String');
1795
+ }
1796
+ if (data.hasOwnProperty('accountTaxIds')) {
1797
+ obj['accountTaxIds'] = _ApiClient["default"].convertToType(data['accountTaxIds'], ['String']);
1798
+ }
1799
+ if (data.hasOwnProperty('amountDue')) {
1800
+ obj['amountDue'] = _ApiClient["default"].convertToType(data['amountDue'], 'Number');
1801
+ }
1802
+ if (data.hasOwnProperty('amountPaid')) {
1803
+ obj['amountPaid'] = _ApiClient["default"].convertToType(data['amountPaid'], 'Number');
1804
+ }
1805
+ if (data.hasOwnProperty('amountRemaining')) {
1806
+ obj['amountRemaining'] = _ApiClient["default"].convertToType(data['amountRemaining'], 'Number');
1807
+ }
1808
+ if (data.hasOwnProperty('amountShipping')) {
1809
+ obj['amountShipping'] = _ApiClient["default"].convertToType(data['amountShipping'], 'Number');
1810
+ }
1811
+ if (data.hasOwnProperty('application')) {
1812
+ obj['application'] = _ApiClient["default"].convertToType(data['application'], 'String');
1813
+ }
1814
+ if (data.hasOwnProperty('applicationFeeAmount')) {
1815
+ obj['applicationFeeAmount'] = _ApiClient["default"].convertToType(data['applicationFeeAmount'], 'Number');
1816
+ }
1817
+ if (data.hasOwnProperty('attemptCount')) {
1818
+ obj['attemptCount'] = _ApiClient["default"].convertToType(data['attemptCount'], 'Number');
1819
+ }
1820
+ if (data.hasOwnProperty('attempted')) {
1821
+ obj['attempted'] = _ApiClient["default"].convertToType(data['attempted'], 'Boolean');
1822
+ }
1823
+ if (data.hasOwnProperty('autoAdvance')) {
1824
+ obj['autoAdvance'] = _ApiClient["default"].convertToType(data['autoAdvance'], 'Boolean');
1825
+ }
1826
+ if (data.hasOwnProperty('automaticTax')) {
1827
+ obj['automaticTax'] = _AutomaticTax["default"].constructFromObject(data['automaticTax']);
1828
+ }
1829
+ if (data.hasOwnProperty('billingReason')) {
1830
+ obj['billingReason'] = _ApiClient["default"].convertToType(data['billingReason'], 'String');
1831
+ }
1832
+ if (data.hasOwnProperty('charge')) {
1833
+ obj['charge'] = _ApiClient["default"].convertToType(data['charge'], 'String');
1834
+ }
1835
+ if (data.hasOwnProperty('collectionMethod')) {
1836
+ obj['collectionMethod'] = _ApiClient["default"].convertToType(data['collectionMethod'], 'String');
1837
+ }
1838
+ if (data.hasOwnProperty('created')) {
1839
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
1840
+ }
1841
+ if (data.hasOwnProperty('currency')) {
1842
+ obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
1843
+ }
1844
+ if (data.hasOwnProperty('customFields')) {
1845
+ obj['customFields'] = _ApiClient["default"].convertToType(data['customFields'], [_CustomField["default"]]);
1846
+ }
1847
+ if (data.hasOwnProperty('customer')) {
1848
+ obj['customer'] = _ApiClient["default"].convertToType(data['customer'], 'String');
1849
+ }
1850
+ if (data.hasOwnProperty('customerAddress')) {
1851
+ obj['customerAddress'] = _Address["default"].constructFromObject(data['customerAddress']);
1852
+ }
1853
+ if (data.hasOwnProperty('customerEmail')) {
1854
+ obj['customerEmail'] = _ApiClient["default"].convertToType(data['customerEmail'], 'String');
1855
+ }
1856
+ if (data.hasOwnProperty('customerName')) {
1857
+ obj['customerName'] = _ApiClient["default"].convertToType(data['customerName'], 'String');
1858
+ }
1859
+ if (data.hasOwnProperty('customerPhone')) {
1860
+ obj['customerPhone'] = _ApiClient["default"].convertToType(data['customerPhone'], 'String');
1861
+ }
1862
+ if (data.hasOwnProperty('customerShipping')) {
1863
+ obj['customerShipping'] = _ShippingDetails["default"].constructFromObject(data['customerShipping']);
1864
+ }
1865
+ if (data.hasOwnProperty('customerTaxExempt')) {
1866
+ obj['customerTaxExempt'] = _ApiClient["default"].convertToType(data['customerTaxExempt'], 'String');
1867
+ }
1868
+ if (data.hasOwnProperty('customerTaxIds')) {
1869
+ obj['customerTaxIds'] = _ApiClient["default"].convertToType(data['customerTaxIds'], [_CustomerTaxId["default"]]);
1870
+ }
1871
+ if (data.hasOwnProperty('defaultPaymentMethod')) {
1872
+ obj['defaultPaymentMethod'] = _ApiClient["default"].convertToType(data['defaultPaymentMethod'], 'String');
1873
+ }
1874
+ if (data.hasOwnProperty('defaultSource')) {
1875
+ obj['defaultSource'] = _ApiClient["default"].convertToType(data['defaultSource'], 'String');
1876
+ }
1877
+ if (data.hasOwnProperty('defaultTaxRates')) {
1878
+ obj['defaultTaxRates'] = _ApiClient["default"].convertToType(data['defaultTaxRates'], [_TaxRate["default"]]);
1879
+ }
1880
+ if (data.hasOwnProperty('deleted')) {
1881
+ obj['deleted'] = _ApiClient["default"].convertToType(data['deleted'], 'Boolean');
1882
+ }
1883
+ if (data.hasOwnProperty('description')) {
1884
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
1885
+ }
1886
+ if (data.hasOwnProperty('discount')) {
1887
+ obj['discount'] = _Discount["default"].constructFromObject(data['discount']);
1888
+ }
1889
+ if (data.hasOwnProperty('discounts')) {
1890
+ obj['discounts'] = _ApiClient["default"].convertToType(data['discounts'], ['String']);
1891
+ }
1892
+ if (data.hasOwnProperty('dueDate')) {
1893
+ obj['dueDate'] = _ApiClient["default"].convertToType(data['dueDate'], 'Number');
1894
+ }
1895
+ if (data.hasOwnProperty('effectiveAt')) {
1896
+ obj['effectiveAt'] = _ApiClient["default"].convertToType(data['effectiveAt'], 'Number');
1897
+ }
1898
+ if (data.hasOwnProperty('endingBalance')) {
1899
+ obj['endingBalance'] = _ApiClient["default"].convertToType(data['endingBalance'], 'Number');
1900
+ }
1901
+ if (data.hasOwnProperty('footer')) {
1902
+ obj['footer'] = _ApiClient["default"].convertToType(data['footer'], 'String');
1903
+ }
1904
+ if (data.hasOwnProperty('fromInvoice')) {
1905
+ obj['fromInvoice'] = _FromInvoice["default"].constructFromObject(data['fromInvoice']);
1906
+ }
1907
+ if (data.hasOwnProperty('hostedInvoiceUrl')) {
1908
+ obj['hostedInvoiceUrl'] = _ApiClient["default"].convertToType(data['hostedInvoiceUrl'], 'String');
1909
+ }
1910
+ if (data.hasOwnProperty('id')) {
1911
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
1912
+ }
1913
+ if (data.hasOwnProperty('invoicePdf')) {
1914
+ obj['invoicePdf'] = _ApiClient["default"].convertToType(data['invoicePdf'], 'String');
1915
+ }
1916
+ if (data.hasOwnProperty('lastFinalizationError')) {
1917
+ obj['lastFinalizationError'] = _StripeError["default"].constructFromObject(data['lastFinalizationError']);
1918
+ }
1919
+ if (data.hasOwnProperty('latestRevision')) {
1920
+ obj['latestRevision'] = _ApiClient["default"].convertToType(data['latestRevision'], 'String');
1921
+ }
1922
+ if (data.hasOwnProperty('lines')) {
1923
+ obj['lines'] = _InvoiceLineItemCollection["default"].constructFromObject(data['lines']);
1924
+ }
1925
+ if (data.hasOwnProperty('livemode')) {
1926
+ obj['livemode'] = _ApiClient["default"].convertToType(data['livemode'], 'Boolean');
1927
+ }
1928
+ if (data.hasOwnProperty('metadata')) {
1929
+ obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], {
1930
+ 'String': 'String'
1931
+ });
1932
+ }
1933
+ if (data.hasOwnProperty('nextPaymentAttempt')) {
1934
+ obj['nextPaymentAttempt'] = _ApiClient["default"].convertToType(data['nextPaymentAttempt'], 'Number');
1935
+ }
1936
+ if (data.hasOwnProperty('number')) {
1937
+ obj['number'] = _ApiClient["default"].convertToType(data['number'], 'String');
1938
+ }
1939
+ if (data.hasOwnProperty('object')) {
1940
+ obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
1941
+ }
1942
+ if (data.hasOwnProperty('onBehalfOf')) {
1943
+ obj['onBehalfOf'] = _ApiClient["default"].convertToType(data['onBehalfOf'], 'String');
1944
+ }
1945
+ if (data.hasOwnProperty('paid')) {
1946
+ obj['paid'] = _ApiClient["default"].convertToType(data['paid'], 'Boolean');
1947
+ }
1948
+ if (data.hasOwnProperty('paidOutOfBand')) {
1949
+ obj['paidOutOfBand'] = _ApiClient["default"].convertToType(data['paidOutOfBand'], 'Boolean');
1950
+ }
1951
+ if (data.hasOwnProperty('paymentIntent')) {
1952
+ obj['paymentIntent'] = _ApiClient["default"].convertToType(data['paymentIntent'], 'String');
1953
+ }
1954
+ if (data.hasOwnProperty('paymentSettings')) {
1955
+ obj['paymentSettings'] = _PaymentSettings["default"].constructFromObject(data['paymentSettings']);
1956
+ }
1957
+ if (data.hasOwnProperty('periodEnd')) {
1958
+ obj['periodEnd'] = _ApiClient["default"].convertToType(data['periodEnd'], 'Number');
1959
+ }
1960
+ if (data.hasOwnProperty('periodStart')) {
1961
+ obj['periodStart'] = _ApiClient["default"].convertToType(data['periodStart'], 'Number');
1962
+ }
1963
+ if (data.hasOwnProperty('postPaymentCreditNotesAmount')) {
1964
+ obj['postPaymentCreditNotesAmount'] = _ApiClient["default"].convertToType(data['postPaymentCreditNotesAmount'], 'Number');
1965
+ }
1966
+ if (data.hasOwnProperty('prePaymentCreditNotesAmount')) {
1967
+ obj['prePaymentCreditNotesAmount'] = _ApiClient["default"].convertToType(data['prePaymentCreditNotesAmount'], 'Number');
1968
+ }
1969
+ if (data.hasOwnProperty('quote')) {
1970
+ obj['quote'] = _ApiClient["default"].convertToType(data['quote'], 'String');
1971
+ }
1972
+ if (data.hasOwnProperty('receiptNumber')) {
1973
+ obj['receiptNumber'] = _ApiClient["default"].convertToType(data['receiptNumber'], 'String');
1974
+ }
1975
+ if (data.hasOwnProperty('rendering')) {
1976
+ obj['rendering'] = _Rendering["default"].constructFromObject(data['rendering']);
1977
+ }
1978
+ if (data.hasOwnProperty('renderingOptions')) {
1979
+ obj['renderingOptions'] = _RenderingOptions["default"].constructFromObject(data['renderingOptions']);
1980
+ }
1981
+ if (data.hasOwnProperty('shippingCost')) {
1982
+ obj['shippingCost'] = _ShippingCost["default"].constructFromObject(data['shippingCost']);
1983
+ }
1984
+ if (data.hasOwnProperty('shippingDetails')) {
1985
+ obj['shippingDetails'] = _ShippingDetails["default"].constructFromObject(data['shippingDetails']);
1986
+ }
1987
+ if (data.hasOwnProperty('startingBalance')) {
1988
+ obj['startingBalance'] = _ApiClient["default"].convertToType(data['startingBalance'], 'Number');
1989
+ }
1990
+ if (data.hasOwnProperty('statementDescriptor')) {
1991
+ obj['statementDescriptor'] = _ApiClient["default"].convertToType(data['statementDescriptor'], 'String');
1992
+ }
1993
+ if (data.hasOwnProperty('status')) {
1994
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
1995
+ }
1996
+ if (data.hasOwnProperty('statusTransitions')) {
1997
+ obj['statusTransitions'] = _StatusTransitions["default"].constructFromObject(data['statusTransitions']);
1998
+ }
1999
+ if (data.hasOwnProperty('subscription')) {
2000
+ obj['subscription'] = _ApiClient["default"].convertToType(data['subscription'], 'String');
2001
+ }
2002
+ if (data.hasOwnProperty('subscriptionDetails')) {
2003
+ obj['subscriptionDetails'] = _SubscriptionDetails["default"].constructFromObject(data['subscriptionDetails']);
2004
+ }
2005
+ if (data.hasOwnProperty('subscriptionProrationDate')) {
2006
+ obj['subscriptionProrationDate'] = _ApiClient["default"].convertToType(data['subscriptionProrationDate'], 'Number');
2007
+ }
2008
+ if (data.hasOwnProperty('subtotal')) {
2009
+ obj['subtotal'] = _ApiClient["default"].convertToType(data['subtotal'], 'Number');
2010
+ }
2011
+ if (data.hasOwnProperty('subtotalExcludingTax')) {
2012
+ obj['subtotalExcludingTax'] = _ApiClient["default"].convertToType(data['subtotalExcludingTax'], 'Number');
2013
+ }
2014
+ if (data.hasOwnProperty('tax')) {
2015
+ obj['tax'] = _ApiClient["default"].convertToType(data['tax'], 'Number');
2016
+ }
2017
+ if (data.hasOwnProperty('testClock')) {
2018
+ obj['testClock'] = _ApiClient["default"].convertToType(data['testClock'], 'String');
2019
+ }
2020
+ if (data.hasOwnProperty('thresholdReason')) {
2021
+ obj['thresholdReason'] = _ThresholdReason["default"].constructFromObject(data['thresholdReason']);
2022
+ }
2023
+ if (data.hasOwnProperty('total')) {
2024
+ obj['total'] = _ApiClient["default"].convertToType(data['total'], 'Number');
2025
+ }
2026
+ if (data.hasOwnProperty('totalDiscountAmounts')) {
2027
+ obj['totalDiscountAmounts'] = _ApiClient["default"].convertToType(data['totalDiscountAmounts'], [_TotalDiscountAmount["default"]]);
2028
+ }
2029
+ if (data.hasOwnProperty('totalExcludingTax')) {
2030
+ obj['totalExcludingTax'] = _ApiClient["default"].convertToType(data['totalExcludingTax'], 'Number');
2031
+ }
2032
+ if (data.hasOwnProperty('totalTaxAmounts')) {
2033
+ obj['totalTaxAmounts'] = _ApiClient["default"].convertToType(data['totalTaxAmounts'], [_TotalTaxAmount["default"]]);
2034
+ }
2035
+ if (data.hasOwnProperty('transferData')) {
2036
+ obj['transferData'] = _TransferData["default"].constructFromObject(data['transferData']);
2037
+ }
2038
+ if (data.hasOwnProperty('webhooksDeliveredAt')) {
2039
+ obj['webhooksDeliveredAt'] = _ApiClient["default"].convertToType(data['webhooksDeliveredAt'], 'Number');
2040
+ }
2041
+ if (data.hasOwnProperty('applicationObject')) {
2042
+ obj['applicationObject'] = _Application["default"].constructFromObject(data['applicationObject']);
2043
+ }
2044
+ if (data.hasOwnProperty('customerObject')) {
2045
+ obj['customerObject'] = _Customer["default"].constructFromObject(data['customerObject']);
2046
+ }
2047
+ if (data.hasOwnProperty('defaultPaymentMethodObject')) {
2048
+ obj['defaultPaymentMethodObject'] = _PaymentMethod["default"].constructFromObject(data['defaultPaymentMethodObject']);
2049
+ }
2050
+ if (data.hasOwnProperty('defaultSourceObject')) {
2051
+ obj['defaultSourceObject'] = _PaymentSource["default"].constructFromObject(data['defaultSourceObject']);
2052
+ }
2053
+ if (data.hasOwnProperty('onBehalfOfObject')) {
2054
+ obj['onBehalfOfObject'] = _Account["default"].constructFromObject(data['onBehalfOfObject']);
2055
+ }
2056
+ if (data.hasOwnProperty('testClockObject')) {
2057
+ obj['testClockObject'] = _TestClock["default"].constructFromObject(data['testClockObject']);
2058
+ }
2059
+ if (data.hasOwnProperty('chargeObject')) {
2060
+ obj['chargeObject'] = _Charge["default"].constructFromObject(data['chargeObject']);
2061
+ }
2062
+ if (data.hasOwnProperty('latestRevisionObject')) {
2063
+ obj['latestRevisionObject'] = Invoice.constructFromObject(data['latestRevisionObject']);
2064
+ }
2065
+ if (data.hasOwnProperty('paymentIntentObject')) {
2066
+ obj['paymentIntentObject'] = _PaymentIntent["default"].constructFromObject(data['paymentIntentObject']);
2067
+ }
2068
+ if (data.hasOwnProperty('quoteObject')) {
2069
+ obj['quoteObject'] = _Quote["default"].constructFromObject(data['quoteObject']);
2070
+ }
2071
+ if (data.hasOwnProperty('subscriptionObject')) {
2072
+ obj['subscriptionObject'] = _Subscription["default"].constructFromObject(data['subscriptionObject']);
2073
+ }
2074
+ if (data.hasOwnProperty('accountTaxIdObjects')) {
2075
+ obj['accountTaxIdObjects'] = _ApiClient["default"].convertToType(data['accountTaxIdObjects'], [_TaxId["default"]]);
2076
+ }
2077
+ if (data.hasOwnProperty('discountObjects')) {
2078
+ obj['discountObjects'] = _ApiClient["default"].convertToType(data['discountObjects'], [_Discount["default"]]);
2079
+ }
2080
+ }
2081
+ return obj;
2082
+ }
2083
+
2084
+ /**
2085
+ * Validates the JSON data with respect to <code>Invoice</code>.
2086
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
2087
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Invoice</code>.
2088
+ */
2089
+ }, {
2090
+ key: "validateJSON",
2091
+ value: function validateJSON(data) {
2092
+ // ensure the json data is a string
2093
+ if (data['accountCountry'] && !(typeof data['accountCountry'] === 'string' || data['accountCountry'] instanceof String)) {
2094
+ throw new Error("Expected the field `accountCountry` to be a primitive type in the JSON string but got " + data['accountCountry']);
2095
+ }
2096
+ // ensure the json data is a string
2097
+ if (data['accountName'] && !(typeof data['accountName'] === 'string' || data['accountName'] instanceof String)) {
2098
+ throw new Error("Expected the field `accountName` to be a primitive type in the JSON string but got " + data['accountName']);
2099
+ }
2100
+ // ensure the json data is an array
2101
+ if (!Array.isArray(data['accountTaxIds'])) {
2102
+ throw new Error("Expected the field `accountTaxIds` to be an array in the JSON data but got " + data['accountTaxIds']);
2103
+ }
2104
+ // ensure the json data is a string
2105
+ if (data['application'] && !(typeof data['application'] === 'string' || data['application'] instanceof String)) {
2106
+ throw new Error("Expected the field `application` to be a primitive type in the JSON string but got " + data['application']);
2107
+ }
2108
+ // validate the optional field `automaticTax`
2109
+ if (data['automaticTax']) {
2110
+ // data not null
2111
+ _AutomaticTax["default"].validateJSON(data['automaticTax']);
2112
+ }
2113
+ // ensure the json data is a string
2114
+ if (data['billingReason'] && !(typeof data['billingReason'] === 'string' || data['billingReason'] instanceof String)) {
2115
+ throw new Error("Expected the field `billingReason` to be a primitive type in the JSON string but got " + data['billingReason']);
2116
+ }
2117
+ // ensure the json data is a string
2118
+ if (data['charge'] && !(typeof data['charge'] === 'string' || data['charge'] instanceof String)) {
2119
+ throw new Error("Expected the field `charge` to be a primitive type in the JSON string but got " + data['charge']);
2120
+ }
2121
+ // ensure the json data is a string
2122
+ if (data['collectionMethod'] && !(typeof data['collectionMethod'] === 'string' || data['collectionMethod'] instanceof String)) {
2123
+ throw new Error("Expected the field `collectionMethod` to be a primitive type in the JSON string but got " + data['collectionMethod']);
2124
+ }
2125
+ // ensure the json data is a string
2126
+ if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
2127
+ throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
2128
+ }
2129
+ if (data['customFields']) {
2130
+ // data not null
2131
+ // ensure the json data is an array
2132
+ if (!Array.isArray(data['customFields'])) {
2133
+ throw new Error("Expected the field `customFields` to be an array in the JSON data but got " + data['customFields']);
2134
+ }
2135
+ // validate the optional field `customFields` (array)
2136
+ var _iterator = _createForOfIteratorHelper(data['customFields']),
2137
+ _step;
2138
+ try {
2139
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
2140
+ var item = _step.value;
2141
+ _CustomField["default"].validateJSON(item);
2142
+ }
2143
+ } catch (err) {
2144
+ _iterator.e(err);
2145
+ } finally {
2146
+ _iterator.f();
2147
+ }
2148
+ ;
2149
+ }
2150
+ // ensure the json data is a string
2151
+ if (data['customer'] && !(typeof data['customer'] === 'string' || data['customer'] instanceof String)) {
2152
+ throw new Error("Expected the field `customer` to be a primitive type in the JSON string but got " + data['customer']);
2153
+ }
2154
+ // validate the optional field `customerAddress`
2155
+ if (data['customerAddress']) {
2156
+ // data not null
2157
+ _Address["default"].validateJSON(data['customerAddress']);
2158
+ }
2159
+ // ensure the json data is a string
2160
+ if (data['customerEmail'] && !(typeof data['customerEmail'] === 'string' || data['customerEmail'] instanceof String)) {
2161
+ throw new Error("Expected the field `customerEmail` to be a primitive type in the JSON string but got " + data['customerEmail']);
2162
+ }
2163
+ // ensure the json data is a string
2164
+ if (data['customerName'] && !(typeof data['customerName'] === 'string' || data['customerName'] instanceof String)) {
2165
+ throw new Error("Expected the field `customerName` to be a primitive type in the JSON string but got " + data['customerName']);
2166
+ }
2167
+ // ensure the json data is a string
2168
+ if (data['customerPhone'] && !(typeof data['customerPhone'] === 'string' || data['customerPhone'] instanceof String)) {
2169
+ throw new Error("Expected the field `customerPhone` to be a primitive type in the JSON string but got " + data['customerPhone']);
2170
+ }
2171
+ // validate the optional field `customerShipping`
2172
+ if (data['customerShipping']) {
2173
+ // data not null
2174
+ _ShippingDetails["default"].validateJSON(data['customerShipping']);
2175
+ }
2176
+ // ensure the json data is a string
2177
+ if (data['customerTaxExempt'] && !(typeof data['customerTaxExempt'] === 'string' || data['customerTaxExempt'] instanceof String)) {
2178
+ throw new Error("Expected the field `customerTaxExempt` to be a primitive type in the JSON string but got " + data['customerTaxExempt']);
2179
+ }
2180
+ if (data['customerTaxIds']) {
2181
+ // data not null
2182
+ // ensure the json data is an array
2183
+ if (!Array.isArray(data['customerTaxIds'])) {
2184
+ throw new Error("Expected the field `customerTaxIds` to be an array in the JSON data but got " + data['customerTaxIds']);
2185
+ }
2186
+ // validate the optional field `customerTaxIds` (array)
2187
+ var _iterator2 = _createForOfIteratorHelper(data['customerTaxIds']),
2188
+ _step2;
2189
+ try {
2190
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
2191
+ var _item = _step2.value;
2192
+ _CustomerTaxId["default"].validateJSON(_item);
2193
+ }
2194
+ } catch (err) {
2195
+ _iterator2.e(err);
2196
+ } finally {
2197
+ _iterator2.f();
2198
+ }
2199
+ ;
2200
+ }
2201
+ // ensure the json data is a string
2202
+ if (data['defaultPaymentMethod'] && !(typeof data['defaultPaymentMethod'] === 'string' || data['defaultPaymentMethod'] instanceof String)) {
2203
+ throw new Error("Expected the field `defaultPaymentMethod` to be a primitive type in the JSON string but got " + data['defaultPaymentMethod']);
2204
+ }
2205
+ // ensure the json data is a string
2206
+ if (data['defaultSource'] && !(typeof data['defaultSource'] === 'string' || data['defaultSource'] instanceof String)) {
2207
+ throw new Error("Expected the field `defaultSource` to be a primitive type in the JSON string but got " + data['defaultSource']);
2208
+ }
2209
+ if (data['defaultTaxRates']) {
2210
+ // data not null
2211
+ // ensure the json data is an array
2212
+ if (!Array.isArray(data['defaultTaxRates'])) {
2213
+ throw new Error("Expected the field `defaultTaxRates` to be an array in the JSON data but got " + data['defaultTaxRates']);
2214
+ }
2215
+ // validate the optional field `defaultTaxRates` (array)
2216
+ var _iterator3 = _createForOfIteratorHelper(data['defaultTaxRates']),
2217
+ _step3;
2218
+ try {
2219
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
2220
+ var _item2 = _step3.value;
2221
+ _TaxRate["default"].validateJSON(_item2);
2222
+ }
2223
+ } catch (err) {
2224
+ _iterator3.e(err);
2225
+ } finally {
2226
+ _iterator3.f();
2227
+ }
2228
+ ;
2229
+ }
2230
+ // ensure the json data is a string
2231
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
2232
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
2233
+ }
2234
+ // validate the optional field `discount`
2235
+ if (data['discount']) {
2236
+ // data not null
2237
+ _Discount["default"].validateJSON(data['discount']);
2238
+ }
2239
+ // ensure the json data is an array
2240
+ if (!Array.isArray(data['discounts'])) {
2241
+ throw new Error("Expected the field `discounts` to be an array in the JSON data but got " + data['discounts']);
2242
+ }
2243
+ // ensure the json data is a string
2244
+ if (data['footer'] && !(typeof data['footer'] === 'string' || data['footer'] instanceof String)) {
2245
+ throw new Error("Expected the field `footer` to be a primitive type in the JSON string but got " + data['footer']);
2246
+ }
2247
+ // validate the optional field `fromInvoice`
2248
+ if (data['fromInvoice']) {
2249
+ // data not null
2250
+ _FromInvoice["default"].validateJSON(data['fromInvoice']);
2251
+ }
2252
+ // ensure the json data is a string
2253
+ if (data['hostedInvoiceUrl'] && !(typeof data['hostedInvoiceUrl'] === 'string' || data['hostedInvoiceUrl'] instanceof String)) {
2254
+ throw new Error("Expected the field `hostedInvoiceUrl` to be a primitive type in the JSON string but got " + data['hostedInvoiceUrl']);
2255
+ }
2256
+ // ensure the json data is a string
2257
+ if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
2258
+ throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
2259
+ }
2260
+ // ensure the json data is a string
2261
+ if (data['invoicePdf'] && !(typeof data['invoicePdf'] === 'string' || data['invoicePdf'] instanceof String)) {
2262
+ throw new Error("Expected the field `invoicePdf` to be a primitive type in the JSON string but got " + data['invoicePdf']);
2263
+ }
2264
+ // validate the optional field `lastFinalizationError`
2265
+ if (data['lastFinalizationError']) {
2266
+ // data not null
2267
+ _StripeError["default"].validateJSON(data['lastFinalizationError']);
2268
+ }
2269
+ // ensure the json data is a string
2270
+ if (data['latestRevision'] && !(typeof data['latestRevision'] === 'string' || data['latestRevision'] instanceof String)) {
2271
+ throw new Error("Expected the field `latestRevision` to be a primitive type in the JSON string but got " + data['latestRevision']);
2272
+ }
2273
+ // validate the optional field `lines`
2274
+ if (data['lines']) {
2275
+ // data not null
2276
+ _InvoiceLineItemCollection["default"].validateJSON(data['lines']);
2277
+ }
2278
+ // ensure the json data is a string
2279
+ if (data['number'] && !(typeof data['number'] === 'string' || data['number'] instanceof String)) {
2280
+ throw new Error("Expected the field `number` to be a primitive type in the JSON string but got " + data['number']);
2281
+ }
2282
+ // ensure the json data is a string
2283
+ if (data['object'] && !(typeof data['object'] === 'string' || data['object'] instanceof String)) {
2284
+ throw new Error("Expected the field `object` to be a primitive type in the JSON string but got " + data['object']);
2285
+ }
2286
+ // ensure the json data is a string
2287
+ if (data['onBehalfOf'] && !(typeof data['onBehalfOf'] === 'string' || data['onBehalfOf'] instanceof String)) {
2288
+ throw new Error("Expected the field `onBehalfOf` to be a primitive type in the JSON string but got " + data['onBehalfOf']);
2289
+ }
2290
+ // ensure the json data is a string
2291
+ if (data['paymentIntent'] && !(typeof data['paymentIntent'] === 'string' || data['paymentIntent'] instanceof String)) {
2292
+ throw new Error("Expected the field `paymentIntent` to be a primitive type in the JSON string but got " + data['paymentIntent']);
2293
+ }
2294
+ // validate the optional field `paymentSettings`
2295
+ if (data['paymentSettings']) {
2296
+ // data not null
2297
+ _PaymentSettings["default"].validateJSON(data['paymentSettings']);
2298
+ }
2299
+ // ensure the json data is a string
2300
+ if (data['quote'] && !(typeof data['quote'] === 'string' || data['quote'] instanceof String)) {
2301
+ throw new Error("Expected the field `quote` to be a primitive type in the JSON string but got " + data['quote']);
2302
+ }
2303
+ // ensure the json data is a string
2304
+ if (data['receiptNumber'] && !(typeof data['receiptNumber'] === 'string' || data['receiptNumber'] instanceof String)) {
2305
+ throw new Error("Expected the field `receiptNumber` to be a primitive type in the JSON string but got " + data['receiptNumber']);
2306
+ }
2307
+ // validate the optional field `rendering`
2308
+ if (data['rendering']) {
2309
+ // data not null
2310
+ _Rendering["default"].validateJSON(data['rendering']);
2311
+ }
2312
+ // validate the optional field `renderingOptions`
2313
+ if (data['renderingOptions']) {
2314
+ // data not null
2315
+ _RenderingOptions["default"].validateJSON(data['renderingOptions']);
2316
+ }
2317
+ // validate the optional field `shippingCost`
2318
+ if (data['shippingCost']) {
2319
+ // data not null
2320
+ _ShippingCost["default"].validateJSON(data['shippingCost']);
2321
+ }
2322
+ // validate the optional field `shippingDetails`
2323
+ if (data['shippingDetails']) {
2324
+ // data not null
2325
+ _ShippingDetails["default"].validateJSON(data['shippingDetails']);
2326
+ }
2327
+ // ensure the json data is a string
2328
+ if (data['statementDescriptor'] && !(typeof data['statementDescriptor'] === 'string' || data['statementDescriptor'] instanceof String)) {
2329
+ throw new Error("Expected the field `statementDescriptor` to be a primitive type in the JSON string but got " + data['statementDescriptor']);
2330
+ }
2331
+ // ensure the json data is a string
2332
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
2333
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
2334
+ }
2335
+ // validate the optional field `statusTransitions`
2336
+ if (data['statusTransitions']) {
2337
+ // data not null
2338
+ _StatusTransitions["default"].validateJSON(data['statusTransitions']);
2339
+ }
2340
+ // ensure the json data is a string
2341
+ if (data['subscription'] && !(typeof data['subscription'] === 'string' || data['subscription'] instanceof String)) {
2342
+ throw new Error("Expected the field `subscription` to be a primitive type in the JSON string but got " + data['subscription']);
2343
+ }
2344
+ // validate the optional field `subscriptionDetails`
2345
+ if (data['subscriptionDetails']) {
2346
+ // data not null
2347
+ _SubscriptionDetails["default"].validateJSON(data['subscriptionDetails']);
2348
+ }
2349
+ // ensure the json data is a string
2350
+ if (data['testClock'] && !(typeof data['testClock'] === 'string' || data['testClock'] instanceof String)) {
2351
+ throw new Error("Expected the field `testClock` to be a primitive type in the JSON string but got " + data['testClock']);
2352
+ }
2353
+ // validate the optional field `thresholdReason`
2354
+ if (data['thresholdReason']) {
2355
+ // data not null
2356
+ _ThresholdReason["default"].validateJSON(data['thresholdReason']);
2357
+ }
2358
+ if (data['totalDiscountAmounts']) {
2359
+ // data not null
2360
+ // ensure the json data is an array
2361
+ if (!Array.isArray(data['totalDiscountAmounts'])) {
2362
+ throw new Error("Expected the field `totalDiscountAmounts` to be an array in the JSON data but got " + data['totalDiscountAmounts']);
2363
+ }
2364
+ // validate the optional field `totalDiscountAmounts` (array)
2365
+ var _iterator4 = _createForOfIteratorHelper(data['totalDiscountAmounts']),
2366
+ _step4;
2367
+ try {
2368
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
2369
+ var _item3 = _step4.value;
2370
+ _TotalDiscountAmount["default"].validateJSON(_item3);
2371
+ }
2372
+ } catch (err) {
2373
+ _iterator4.e(err);
2374
+ } finally {
2375
+ _iterator4.f();
2376
+ }
2377
+ ;
2378
+ }
2379
+ if (data['totalTaxAmounts']) {
2380
+ // data not null
2381
+ // ensure the json data is an array
2382
+ if (!Array.isArray(data['totalTaxAmounts'])) {
2383
+ throw new Error("Expected the field `totalTaxAmounts` to be an array in the JSON data but got " + data['totalTaxAmounts']);
2384
+ }
2385
+ // validate the optional field `totalTaxAmounts` (array)
2386
+ var _iterator5 = _createForOfIteratorHelper(data['totalTaxAmounts']),
2387
+ _step5;
2388
+ try {
2389
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
2390
+ var _item4 = _step5.value;
2391
+ _TotalTaxAmount["default"].validateJSON(_item4);
2392
+ }
2393
+ } catch (err) {
2394
+ _iterator5.e(err);
2395
+ } finally {
2396
+ _iterator5.f();
2397
+ }
2398
+ ;
2399
+ }
2400
+ // validate the optional field `transferData`
2401
+ if (data['transferData']) {
2402
+ // data not null
2403
+ _TransferData["default"].validateJSON(data['transferData']);
2404
+ }
2405
+ // validate the optional field `applicationObject`
2406
+ if (data['applicationObject']) {
2407
+ // data not null
2408
+ _Application["default"].validateJSON(data['applicationObject']);
2409
+ }
2410
+ // validate the optional field `customerObject`
2411
+ if (data['customerObject']) {
2412
+ // data not null
2413
+ _Customer["default"].validateJSON(data['customerObject']);
2414
+ }
2415
+ // validate the optional field `defaultPaymentMethodObject`
2416
+ if (data['defaultPaymentMethodObject']) {
2417
+ // data not null
2418
+ _PaymentMethod["default"].validateJSON(data['defaultPaymentMethodObject']);
2419
+ }
2420
+ // validate the optional field `defaultSourceObject`
2421
+ if (data['defaultSourceObject']) {
2422
+ // data not null
2423
+ _PaymentSource["default"].validateJSON(data['defaultSourceObject']);
2424
+ }
2425
+ // validate the optional field `onBehalfOfObject`
2426
+ if (data['onBehalfOfObject']) {
2427
+ // data not null
2428
+ _Account["default"].validateJSON(data['onBehalfOfObject']);
2429
+ }
2430
+ // validate the optional field `testClockObject`
2431
+ if (data['testClockObject']) {
2432
+ // data not null
2433
+ _TestClock["default"].validateJSON(data['testClockObject']);
2434
+ }
2435
+ // validate the optional field `chargeObject`
2436
+ if (data['chargeObject']) {
2437
+ // data not null
2438
+ _Charge["default"].validateJSON(data['chargeObject']);
2439
+ }
2440
+ // validate the optional field `latestRevisionObject`
2441
+ if (data['latestRevisionObject']) {
2442
+ // data not null
2443
+ Invoice.validateJSON(data['latestRevisionObject']);
2444
+ }
2445
+ // validate the optional field `paymentIntentObject`
2446
+ if (data['paymentIntentObject']) {
2447
+ // data not null
2448
+ _PaymentIntent["default"].validateJSON(data['paymentIntentObject']);
2449
+ }
2450
+ // validate the optional field `quoteObject`
2451
+ if (data['quoteObject']) {
2452
+ // data not null
2453
+ _Quote["default"].validateJSON(data['quoteObject']);
2454
+ }
2455
+ // validate the optional field `subscriptionObject`
2456
+ if (data['subscriptionObject']) {
2457
+ // data not null
2458
+ _Subscription["default"].validateJSON(data['subscriptionObject']);
2459
+ }
2460
+ if (data['accountTaxIdObjects']) {
2461
+ // data not null
2462
+ // ensure the json data is an array
2463
+ if (!Array.isArray(data['accountTaxIdObjects'])) {
2464
+ throw new Error("Expected the field `accountTaxIdObjects` to be an array in the JSON data but got " + data['accountTaxIdObjects']);
2465
+ }
2466
+ // validate the optional field `accountTaxIdObjects` (array)
2467
+ var _iterator6 = _createForOfIteratorHelper(data['accountTaxIdObjects']),
2468
+ _step6;
2469
+ try {
2470
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
2471
+ var _item5 = _step6.value;
2472
+ _TaxId["default"].validateJSON(_item5);
2473
+ }
2474
+ } catch (err) {
2475
+ _iterator6.e(err);
2476
+ } finally {
2477
+ _iterator6.f();
2478
+ }
2479
+ ;
2480
+ }
2481
+ if (data['discountObjects']) {
2482
+ // data not null
2483
+ // ensure the json data is an array
2484
+ if (!Array.isArray(data['discountObjects'])) {
2485
+ throw new Error("Expected the field `discountObjects` to be an array in the JSON data but got " + data['discountObjects']);
2486
+ }
2487
+ // validate the optional field `discountObjects` (array)
2488
+ var _iterator7 = _createForOfIteratorHelper(data['discountObjects']),
2489
+ _step7;
2490
+ try {
2491
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
2492
+ var _item6 = _step7.value;
2493
+ _Discount["default"].validateJSON(_item6);
2494
+ }
2495
+ } catch (err) {
2496
+ _iterator7.e(err);
2497
+ } finally {
2498
+ _iterator7.f();
2499
+ }
2500
+ ;
2501
+ }
2502
+ return true;
2503
+ }
2504
+ }]);
2505
+ return Invoice;
2506
+ }();
2507
+ /**
2508
+ * @member {Object} lastResponse
2509
+ */
2510
+ Invoice.prototype['lastResponse'] = undefined;
2511
+
2512
+ /**
2513
+ * @member {module:model/JsonObject} rawJsonObject
2514
+ */
2515
+ Invoice.prototype['rawJsonObject'] = undefined;
2516
+
2517
+ /**
2518
+ * @member {Object} responseGetter
2519
+ */
2520
+ Invoice.prototype['responseGetter'] = undefined;
2521
+
2522
+ /**
2523
+ * @member {String} accountCountry
2524
+ */
2525
+ Invoice.prototype['accountCountry'] = undefined;
2526
+
2527
+ /**
2528
+ * @member {String} accountName
2529
+ */
2530
+ Invoice.prototype['accountName'] = undefined;
2531
+
2532
+ /**
2533
+ * @member {Array.<String>} accountTaxIds
2534
+ */
2535
+ Invoice.prototype['accountTaxIds'] = undefined;
2536
+
2537
+ /**
2538
+ * @member {Number} amountDue
2539
+ */
2540
+ Invoice.prototype['amountDue'] = undefined;
2541
+
2542
+ /**
2543
+ * @member {Number} amountPaid
2544
+ */
2545
+ Invoice.prototype['amountPaid'] = undefined;
2546
+
2547
+ /**
2548
+ * @member {Number} amountRemaining
2549
+ */
2550
+ Invoice.prototype['amountRemaining'] = undefined;
2551
+
2552
+ /**
2553
+ * @member {Number} amountShipping
2554
+ */
2555
+ Invoice.prototype['amountShipping'] = undefined;
2556
+
2557
+ /**
2558
+ * @member {String} application
2559
+ */
2560
+ Invoice.prototype['application'] = undefined;
2561
+
2562
+ /**
2563
+ * @member {Number} applicationFeeAmount
2564
+ */
2565
+ Invoice.prototype['applicationFeeAmount'] = undefined;
2566
+
2567
+ /**
2568
+ * @member {Number} attemptCount
2569
+ */
2570
+ Invoice.prototype['attemptCount'] = undefined;
2571
+
2572
+ /**
2573
+ * @member {Boolean} attempted
2574
+ */
2575
+ Invoice.prototype['attempted'] = undefined;
2576
+
2577
+ /**
2578
+ * @member {Boolean} autoAdvance
2579
+ */
2580
+ Invoice.prototype['autoAdvance'] = undefined;
2581
+
2582
+ /**
2583
+ * @member {module:model/AutomaticTax} automaticTax
2584
+ */
2585
+ Invoice.prototype['automaticTax'] = undefined;
2586
+
2587
+ /**
2588
+ * @member {String} billingReason
2589
+ */
2590
+ Invoice.prototype['billingReason'] = undefined;
2591
+
2592
+ /**
2593
+ * @member {String} charge
2594
+ */
2595
+ Invoice.prototype['charge'] = undefined;
2596
+
2597
+ /**
2598
+ * @member {String} collectionMethod
2599
+ */
2600
+ Invoice.prototype['collectionMethod'] = undefined;
2601
+
2602
+ /**
2603
+ * @member {Number} created
2604
+ */
2605
+ Invoice.prototype['created'] = undefined;
2606
+
2607
+ /**
2608
+ * @member {String} currency
2609
+ */
2610
+ Invoice.prototype['currency'] = undefined;
2611
+
2612
+ /**
2613
+ * @member {Array.<module:model/CustomField>} customFields
2614
+ */
2615
+ Invoice.prototype['customFields'] = undefined;
2616
+
2617
+ /**
2618
+ * @member {String} customer
2619
+ */
2620
+ Invoice.prototype['customer'] = undefined;
2621
+
2622
+ /**
2623
+ * @member {module:model/Address} customerAddress
2624
+ */
2625
+ Invoice.prototype['customerAddress'] = undefined;
2626
+
2627
+ /**
2628
+ * @member {String} customerEmail
2629
+ */
2630
+ Invoice.prototype['customerEmail'] = undefined;
2631
+
2632
+ /**
2633
+ * @member {String} customerName
2634
+ */
2635
+ Invoice.prototype['customerName'] = undefined;
2636
+
2637
+ /**
2638
+ * @member {String} customerPhone
2639
+ */
2640
+ Invoice.prototype['customerPhone'] = undefined;
2641
+
2642
+ /**
2643
+ * @member {module:model/ShippingDetails} customerShipping
2644
+ */
2645
+ Invoice.prototype['customerShipping'] = undefined;
2646
+
2647
+ /**
2648
+ * @member {String} customerTaxExempt
2649
+ */
2650
+ Invoice.prototype['customerTaxExempt'] = undefined;
2651
+
2652
+ /**
2653
+ * @member {Array.<module:model/CustomerTaxId>} customerTaxIds
2654
+ */
2655
+ Invoice.prototype['customerTaxIds'] = undefined;
2656
+
2657
+ /**
2658
+ * @member {String} defaultPaymentMethod
2659
+ */
2660
+ Invoice.prototype['defaultPaymentMethod'] = undefined;
2661
+
2662
+ /**
2663
+ * @member {String} defaultSource
2664
+ */
2665
+ Invoice.prototype['defaultSource'] = undefined;
2666
+
2667
+ /**
2668
+ * @member {Array.<module:model/TaxRate>} defaultTaxRates
2669
+ */
2670
+ Invoice.prototype['defaultTaxRates'] = undefined;
2671
+
2672
+ /**
2673
+ * @member {Boolean} deleted
2674
+ */
2675
+ Invoice.prototype['deleted'] = undefined;
2676
+
2677
+ /**
2678
+ * @member {String} description
2679
+ */
2680
+ Invoice.prototype['description'] = undefined;
2681
+
2682
+ /**
2683
+ * @member {module:model/Discount} discount
2684
+ */
2685
+ Invoice.prototype['discount'] = undefined;
2686
+
2687
+ /**
2688
+ * @member {Array.<String>} discounts
2689
+ */
2690
+ Invoice.prototype['discounts'] = undefined;
2691
+
2692
+ /**
2693
+ * @member {Number} dueDate
2694
+ */
2695
+ Invoice.prototype['dueDate'] = undefined;
2696
+
2697
+ /**
2698
+ * @member {Number} effectiveAt
2699
+ */
2700
+ Invoice.prototype['effectiveAt'] = undefined;
2701
+
2702
+ /**
2703
+ * @member {Number} endingBalance
2704
+ */
2705
+ Invoice.prototype['endingBalance'] = undefined;
2706
+
2707
+ /**
2708
+ * @member {String} footer
2709
+ */
2710
+ Invoice.prototype['footer'] = undefined;
2711
+
2712
+ /**
2713
+ * @member {module:model/FromInvoice} fromInvoice
2714
+ */
2715
+ Invoice.prototype['fromInvoice'] = undefined;
2716
+
2717
+ /**
2718
+ * @member {String} hostedInvoiceUrl
2719
+ */
2720
+ Invoice.prototype['hostedInvoiceUrl'] = undefined;
2721
+
2722
+ /**
2723
+ * @member {String} id
2724
+ */
2725
+ Invoice.prototype['id'] = undefined;
2726
+
2727
+ /**
2728
+ * @member {String} invoicePdf
2729
+ */
2730
+ Invoice.prototype['invoicePdf'] = undefined;
2731
+
2732
+ /**
2733
+ * @member {module:model/StripeError} lastFinalizationError
2734
+ */
2735
+ Invoice.prototype['lastFinalizationError'] = undefined;
2736
+
2737
+ /**
2738
+ * @member {String} latestRevision
2739
+ */
2740
+ Invoice.prototype['latestRevision'] = undefined;
2741
+
2742
+ /**
2743
+ * @member {module:model/InvoiceLineItemCollection} lines
2744
+ */
2745
+ Invoice.prototype['lines'] = undefined;
2746
+
2747
+ /**
2748
+ * @member {Boolean} livemode
2749
+ */
2750
+ Invoice.prototype['livemode'] = undefined;
2751
+
2752
+ /**
2753
+ * @member {Object.<String, String>} metadata
2754
+ */
2755
+ Invoice.prototype['metadata'] = undefined;
2756
+
2757
+ /**
2758
+ * @member {Number} nextPaymentAttempt
2759
+ */
2760
+ Invoice.prototype['nextPaymentAttempt'] = undefined;
2761
+
2762
+ /**
2763
+ * @member {String} number
2764
+ */
2765
+ Invoice.prototype['number'] = undefined;
2766
+
2767
+ /**
2768
+ * @member {String} object
2769
+ */
2770
+ Invoice.prototype['object'] = undefined;
2771
+
2772
+ /**
2773
+ * @member {String} onBehalfOf
2774
+ */
2775
+ Invoice.prototype['onBehalfOf'] = undefined;
2776
+
2777
+ /**
2778
+ * @member {Boolean} paid
2779
+ */
2780
+ Invoice.prototype['paid'] = undefined;
2781
+
2782
+ /**
2783
+ * @member {Boolean} paidOutOfBand
2784
+ */
2785
+ Invoice.prototype['paidOutOfBand'] = undefined;
2786
+
2787
+ /**
2788
+ * @member {String} paymentIntent
2789
+ */
2790
+ Invoice.prototype['paymentIntent'] = undefined;
2791
+
2792
+ /**
2793
+ * @member {module:model/PaymentSettings} paymentSettings
2794
+ */
2795
+ Invoice.prototype['paymentSettings'] = undefined;
2796
+
2797
+ /**
2798
+ * @member {Number} periodEnd
2799
+ */
2800
+ Invoice.prototype['periodEnd'] = undefined;
2801
+
2802
+ /**
2803
+ * @member {Number} periodStart
2804
+ */
2805
+ Invoice.prototype['periodStart'] = undefined;
2806
+
2807
+ /**
2808
+ * @member {Number} postPaymentCreditNotesAmount
2809
+ */
2810
+ Invoice.prototype['postPaymentCreditNotesAmount'] = undefined;
2811
+
2812
+ /**
2813
+ * @member {Number} prePaymentCreditNotesAmount
2814
+ */
2815
+ Invoice.prototype['prePaymentCreditNotesAmount'] = undefined;
2816
+
2817
+ /**
2818
+ * @member {String} quote
2819
+ */
2820
+ Invoice.prototype['quote'] = undefined;
2821
+
2822
+ /**
2823
+ * @member {String} receiptNumber
2824
+ */
2825
+ Invoice.prototype['receiptNumber'] = undefined;
2826
+
2827
+ /**
2828
+ * @member {module:model/Rendering} rendering
2829
+ */
2830
+ Invoice.prototype['rendering'] = undefined;
2831
+
2832
+ /**
2833
+ * @member {module:model/RenderingOptions} renderingOptions
2834
+ */
2835
+ Invoice.prototype['renderingOptions'] = undefined;
2836
+
2837
+ /**
2838
+ * @member {module:model/ShippingCost} shippingCost
2839
+ */
2840
+ Invoice.prototype['shippingCost'] = undefined;
2841
+
2842
+ /**
2843
+ * @member {module:model/ShippingDetails} shippingDetails
2844
+ */
2845
+ Invoice.prototype['shippingDetails'] = undefined;
2846
+
2847
+ /**
2848
+ * @member {Number} startingBalance
2849
+ */
2850
+ Invoice.prototype['startingBalance'] = undefined;
2851
+
2852
+ /**
2853
+ * @member {String} statementDescriptor
2854
+ */
2855
+ Invoice.prototype['statementDescriptor'] = undefined;
2856
+
2857
+ /**
2858
+ * @member {String} status
2859
+ */
2860
+ Invoice.prototype['status'] = undefined;
2861
+
2862
+ /**
2863
+ * @member {module:model/StatusTransitions} statusTransitions
2864
+ */
2865
+ Invoice.prototype['statusTransitions'] = undefined;
2866
+
2867
+ /**
2868
+ * @member {String} subscription
2869
+ */
2870
+ Invoice.prototype['subscription'] = undefined;
2871
+
2872
+ /**
2873
+ * @member {module:model/SubscriptionDetails} subscriptionDetails
2874
+ */
2875
+ Invoice.prototype['subscriptionDetails'] = undefined;
2876
+
2877
+ /**
2878
+ * @member {Number} subscriptionProrationDate
2879
+ */
2880
+ Invoice.prototype['subscriptionProrationDate'] = undefined;
2881
+
2882
+ /**
2883
+ * @member {Number} subtotal
2884
+ */
2885
+ Invoice.prototype['subtotal'] = undefined;
2886
+
2887
+ /**
2888
+ * @member {Number} subtotalExcludingTax
2889
+ */
2890
+ Invoice.prototype['subtotalExcludingTax'] = undefined;
2891
+
2892
+ /**
2893
+ * @member {Number} tax
2894
+ */
2895
+ Invoice.prototype['tax'] = undefined;
2896
+
2897
+ /**
2898
+ * @member {String} testClock
2899
+ */
2900
+ Invoice.prototype['testClock'] = undefined;
2901
+
2902
+ /**
2903
+ * @member {module:model/ThresholdReason} thresholdReason
2904
+ */
2905
+ Invoice.prototype['thresholdReason'] = undefined;
2906
+
2907
+ /**
2908
+ * @member {Number} total
2909
+ */
2910
+ Invoice.prototype['total'] = undefined;
2911
+
2912
+ /**
2913
+ * @member {Array.<module:model/TotalDiscountAmount>} totalDiscountAmounts
2914
+ */
2915
+ Invoice.prototype['totalDiscountAmounts'] = undefined;
2916
+
2917
+ /**
2918
+ * @member {Number} totalExcludingTax
2919
+ */
2920
+ Invoice.prototype['totalExcludingTax'] = undefined;
2921
+
2922
+ /**
2923
+ * @member {Array.<module:model/TotalTaxAmount>} totalTaxAmounts
2924
+ */
2925
+ Invoice.prototype['totalTaxAmounts'] = undefined;
2926
+
2927
+ /**
2928
+ * @member {module:model/TransferData} transferData
2929
+ */
2930
+ Invoice.prototype['transferData'] = undefined;
2931
+
2932
+ /**
2933
+ * @member {Number} webhooksDeliveredAt
2934
+ */
2935
+ Invoice.prototype['webhooksDeliveredAt'] = undefined;
2936
+
2937
+ /**
2938
+ * @member {module:model/Application} applicationObject
2939
+ */
2940
+ Invoice.prototype['applicationObject'] = undefined;
2941
+
2942
+ /**
2943
+ * @member {module:model/Customer} customerObject
2944
+ */
2945
+ Invoice.prototype['customerObject'] = undefined;
2946
+
2947
+ /**
2948
+ * @member {module:model/PaymentMethod} defaultPaymentMethodObject
2949
+ */
2950
+ Invoice.prototype['defaultPaymentMethodObject'] = undefined;
2951
+
2952
+ /**
2953
+ * @member {module:model/PaymentSource} defaultSourceObject
2954
+ */
2955
+ Invoice.prototype['defaultSourceObject'] = undefined;
2956
+
2957
+ /**
2958
+ * @member {module:model/Account} onBehalfOfObject
2959
+ */
2960
+ Invoice.prototype['onBehalfOfObject'] = undefined;
2961
+
2962
+ /**
2963
+ * @member {module:model/TestClock} testClockObject
2964
+ */
2965
+ Invoice.prototype['testClockObject'] = undefined;
2966
+
2967
+ /**
2968
+ * @member {module:model/Charge} chargeObject
2969
+ */
2970
+ Invoice.prototype['chargeObject'] = undefined;
2971
+
2972
+ /**
2973
+ * @member {module:model/Invoice} latestRevisionObject
2974
+ */
2975
+ Invoice.prototype['latestRevisionObject'] = undefined;
2976
+
2977
+ /**
2978
+ * @member {module:model/PaymentIntent} paymentIntentObject
2979
+ */
2980
+ Invoice.prototype['paymentIntentObject'] = undefined;
2981
+
2982
+ /**
2983
+ * @member {module:model/Quote} quoteObject
2984
+ */
2985
+ Invoice.prototype['quoteObject'] = undefined;
2986
+
2987
+ /**
2988
+ * @member {module:model/Subscription} subscriptionObject
2989
+ */
2990
+ Invoice.prototype['subscriptionObject'] = undefined;
2991
+
2992
+ /**
2993
+ * @member {Array.<module:model/TaxId>} accountTaxIdObjects
2994
+ */
2995
+ Invoice.prototype['accountTaxIdObjects'] = undefined;
2996
+
2997
+ /**
2998
+ * @member {Array.<module:model/Discount>} discountObjects
2999
+ */
3000
+ Invoice.prototype['discountObjects'] = undefined;
3001
+ var _default = exports["default"] = Invoice;