@gobodo/gobodo-api 0.1.147 → 0.1.150

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 (1314) hide show
  1. package/README.md +54 -11
  2. package/dist/ApiClient.d.ts +1 -1
  3. package/dist/ApiClient.js +3 -3
  4. package/dist/api/AIApi.d.ts +1 -1
  5. package/dist/api/AIApi.js +2 -2
  6. package/dist/api/AIConversationsApi.d.ts +1 -1
  7. package/dist/api/AIConversationsApi.js +2 -2
  8. package/dist/api/AbilitiesApi.d.ts +1 -1
  9. package/dist/api/AbilitiesApi.js +2 -2
  10. package/dist/api/AdCampaignsApi.d.ts +1 -1
  11. package/dist/api/AdCampaignsApi.js +2 -2
  12. package/dist/api/AdManagementApi.d.ts +1 -1
  13. package/dist/api/AdManagementApi.js +2 -2
  14. package/dist/api/AdminDataManagementApi.d.ts +1 -1
  15. package/dist/api/AdminDataManagementApi.js +2 -2
  16. package/dist/api/AdsApi.d.ts +1 -1
  17. package/dist/api/AdsApi.js +2 -2
  18. package/dist/api/AttachmentsApi.d.ts +2 -2
  19. package/dist/api/AttachmentsApi.js +5 -5
  20. package/dist/api/AuthenticationApi.d.ts +1 -1
  21. package/dist/api/AuthenticationApi.js +2 -2
  22. package/dist/api/CategoriesApi.d.ts +1 -1
  23. package/dist/api/CategoriesApi.js +2 -2
  24. package/dist/api/CircleAccountsApi.d.ts +1 -1
  25. package/dist/api/CircleAccountsApi.js +2 -2
  26. package/dist/api/CommentsApi.d.ts +1 -1
  27. package/dist/api/CommentsApi.js +2 -2
  28. package/dist/api/ContentManagementApi.d.ts +1 -1
  29. package/dist/api/ContentManagementApi.js +2 -2
  30. package/dist/api/ConversationsApi.d.ts +1 -1
  31. package/dist/api/ConversationsApi.js +2 -2
  32. package/dist/api/CurrencyApi.d.ts +1 -1
  33. package/dist/api/CurrencyApi.js +2 -2
  34. package/dist/api/DataSheetImportsApi.d.ts +4 -4
  35. package/dist/api/DataSheetImportsApi.js +11 -11
  36. package/dist/api/DataSyncApi.d.ts +259 -0
  37. package/dist/api/DataSyncApi.js +616 -0
  38. package/dist/api/DefaultApi.d.ts +1 -1
  39. package/dist/api/DefaultApi.js +2 -2
  40. package/dist/api/DocumentPartTypesApi.d.ts +1 -1
  41. package/dist/api/DocumentPartTypesApi.js +2 -2
  42. package/dist/api/DocumentTypesApi.d.ts +1 -1
  43. package/dist/api/DocumentTypesApi.js +2 -2
  44. package/dist/api/DocumentsApi.d.ts +1 -1
  45. package/dist/api/DocumentsApi.js +2 -2
  46. package/dist/api/EmailsApi.d.ts +1 -1
  47. package/dist/api/EmailsApi.js +2 -2
  48. package/dist/api/EntryPartsApi.d.ts +1 -1
  49. package/dist/api/EntryPartsApi.js +2 -2
  50. package/dist/api/FacebookApi.d.ts +1 -1
  51. package/dist/api/FacebookApi.js +2 -2
  52. package/dist/api/FieldsApi.d.ts +1 -1
  53. package/dist/api/FieldsApi.js +2 -2
  54. package/dist/api/FormsApi.d.ts +1 -1
  55. package/dist/api/FormsApi.js +2 -2
  56. package/dist/api/FunctionsApi.d.ts +1 -1
  57. package/dist/api/FunctionsApi.js +2 -2
  58. package/dist/api/GeocodeApi.d.ts +1 -1
  59. package/dist/api/GeocodeApi.js +2 -2
  60. package/dist/api/GobodoManagementApi.d.ts +1 -1
  61. package/dist/api/GobodoManagementApi.js +2 -2
  62. package/dist/api/GoogleApi.d.ts +1 -1
  63. package/dist/api/GoogleApi.js +2 -2
  64. package/dist/api/GraphActionTypesApi.d.ts +3 -3
  65. package/dist/api/GraphActionTypesApi.js +4 -4
  66. package/dist/api/GraphActionsApi.d.ts +1 -1
  67. package/dist/api/GraphActionsApi.js +2 -2
  68. package/dist/api/GraphObjectTypesApi.d.ts +3 -3
  69. package/dist/api/GraphObjectTypesApi.js +4 -4
  70. package/dist/api/GraphObjectsApi.d.ts +1 -1
  71. package/dist/api/GraphObjectsApi.js +2 -2
  72. package/dist/api/GraphRelationshipTypesApi.d.ts +3 -3
  73. package/dist/api/GraphRelationshipTypesApi.js +4 -4
  74. package/dist/api/GraphRelationshipsApi.d.ts +1 -1
  75. package/dist/api/GraphRelationshipsApi.js +2 -2
  76. package/dist/api/GraphSchemasApi.d.ts +1 -1
  77. package/dist/api/GraphSchemasApi.js +2 -2
  78. package/dist/api/GraphTraversalApi.d.ts +1 -1
  79. package/dist/api/GraphTraversalApi.js +2 -2
  80. package/dist/api/GraphsApi.d.ts +1 -1
  81. package/dist/api/GraphsApi.js +2 -2
  82. package/dist/api/IAMApi.d.ts +1 -1
  83. package/dist/api/IAMApi.js +2 -2
  84. package/dist/api/ImagesApi.d.ts +2 -2
  85. package/dist/api/ImagesApi.js +5 -5
  86. package/dist/api/InvitesApi.d.ts +1 -1
  87. package/dist/api/InvitesApi.js +2 -2
  88. package/dist/api/LaunchTemplatesApi.d.ts +1 -1
  89. package/dist/api/LaunchTemplatesApi.js +2 -2
  90. package/dist/api/LikesApi.d.ts +1 -1
  91. package/dist/api/LikesApi.js +2 -2
  92. package/dist/api/LinkedINApi.d.ts +1 -1
  93. package/dist/api/LinkedINApi.js +2 -2
  94. package/dist/api/LinksApi.d.ts +1 -1
  95. package/dist/api/LinksApi.js +2 -2
  96. package/dist/api/LiveMeetingsApi.d.ts +1 -1
  97. package/dist/api/LiveMeetingsApi.js +2 -2
  98. package/dist/api/MeetingEventsApi.d.ts +1 -1
  99. package/dist/api/MeetingEventsApi.js +2 -2
  100. package/dist/api/MenuItemsApi.d.ts +1 -1
  101. package/dist/api/MenuItemsApi.js +2 -2
  102. package/dist/api/MenusApi.d.ts +1 -1
  103. package/dist/api/MenusApi.js +2 -2
  104. package/dist/api/NotificationsApi.d.ts +1 -1
  105. package/dist/api/NotificationsApi.js +2 -2
  106. package/dist/api/PagesApi.d.ts +1 -1
  107. package/dist/api/PagesApi.js +2 -2
  108. package/dist/api/PasswordResetApi.d.ts +1 -1
  109. package/dist/api/PasswordResetApi.js +2 -2
  110. package/dist/api/PhoneNumbersApi.d.ts +1 -1
  111. package/dist/api/PhoneNumbersApi.js +2 -2
  112. package/dist/api/PostsApi.d.ts +1 -1
  113. package/dist/api/PostsApi.js +2 -2
  114. package/dist/api/PrivateMessagesApi.d.ts +1 -1
  115. package/dist/api/PrivateMessagesApi.js +2 -2
  116. package/dist/api/PublicationsApi.d.ts +1 -1
  117. package/dist/api/PublicationsApi.js +2 -2
  118. package/dist/api/RestApplicationsApi.d.ts +1 -1
  119. package/dist/api/RestApplicationsApi.js +2 -2
  120. package/dist/api/ScreensApi.d.ts +1 -1
  121. package/dist/api/ScreensApi.js +2 -2
  122. package/dist/api/SitesApi.d.ts +1 -1
  123. package/dist/api/SitesApi.js +2 -2
  124. package/dist/api/SocialGroupsApi.d.ts +1 -1
  125. package/dist/api/SocialGroupsApi.js +2 -2
  126. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  127. package/dist/api/SocialIntegrationApi.js +2 -2
  128. package/dist/api/SquareAccountsApi.d.ts +1 -1
  129. package/dist/api/SquareAccountsApi.js +2 -2
  130. package/dist/api/StripeAccountsApi.d.ts +612 -108
  131. package/dist/api/StripeAccountsApi.js +1572 -419
  132. package/dist/api/TemplatesApi.d.ts +1 -1
  133. package/dist/api/TemplatesApi.js +2 -2
  134. package/dist/api/ThemeMappingsApi.d.ts +1 -1
  135. package/dist/api/ThemeMappingsApi.js +2 -2
  136. package/dist/api/TopicsApi.d.ts +1 -1
  137. package/dist/api/TopicsApi.js +2 -2
  138. package/dist/api/TransactionsApi.d.ts +1 -1
  139. package/dist/api/TransactionsApi.js +2 -2
  140. package/dist/api/TwitterApi.d.ts +1 -1
  141. package/dist/api/TwitterApi.js +2 -2
  142. package/dist/api/URLMappingsApi.d.ts +1 -1
  143. package/dist/api/URLMappingsApi.js +2 -2
  144. package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
  145. package/dist/api/UserManagerAdministrationApi.js +2 -2
  146. package/dist/api/UserTagsApi.d.ts +1 -1
  147. package/dist/api/UserTagsApi.js +2 -2
  148. package/dist/api/UsersApi.d.ts +1 -1
  149. package/dist/api/UsersApi.js +2 -2
  150. package/dist/api/UtilsApi.d.ts +1 -1
  151. package/dist/api/UtilsApi.js +2 -2
  152. package/dist/api/VideosApi.d.ts +2 -2
  153. package/dist/api/VideosApi.js +5 -5
  154. package/dist/api/ViewsApi.d.ts +1 -1
  155. package/dist/api/ViewsApi.js +2 -2
  156. package/dist/api/WalletsApi.d.ts +1 -1
  157. package/dist/api/WalletsApi.js +2 -2
  158. package/dist/index.d.ts +18 -1
  159. package/dist/index.js +119 -0
  160. package/dist/model/AIPromptRequest.d.ts +1 -1
  161. package/dist/model/AIPromptRequest.js +2 -2
  162. package/dist/model/AIPromptResponse.d.ts +1 -1
  163. package/dist/model/AIPromptResponse.js +2 -2
  164. package/dist/model/APIClient.d.ts +4 -4
  165. package/dist/model/APIClient.js +33 -33
  166. package/dist/model/Aba.d.ts +1 -1
  167. package/dist/model/Aba.js +2 -2
  168. package/dist/model/AbilityResponse.d.ts +1 -1
  169. package/dist/model/AbilityResponse.js +2 -2
  170. package/dist/model/Account.d.ts +1 -1
  171. package/dist/model/Account.js +2 -2
  172. package/dist/model/AccountSessionInput.d.ts +1 -1
  173. package/dist/model/AccountSessionInput.js +2 -2
  174. package/dist/model/AccountSessionResponse.d.ts +1 -1
  175. package/dist/model/AccountSessionResponse.js +2 -2
  176. package/dist/model/AchCreditTransfer.d.ts +1 -1
  177. package/dist/model/AchCreditTransfer.js +2 -2
  178. package/dist/model/AchDebit.d.ts +1 -1
  179. package/dist/model/AchDebit.js +2 -2
  180. package/dist/model/AcssDebit.d.ts +1 -1
  181. package/dist/model/AcssDebit.js +2 -2
  182. package/dist/model/AddInvoiceItem.d.ts +1 -1
  183. package/dist/model/AddInvoiceItem.js +2 -2
  184. package/dist/model/AddMembersInput.d.ts +1 -1
  185. package/dist/model/AddMembersInput.js +2 -2
  186. package/dist/model/AdditionalDocument.d.ts +1 -1
  187. package/dist/model/AdditionalDocument.js +2 -2
  188. package/dist/model/AdditionalTosAcceptances.d.ts +1 -1
  189. package/dist/model/AdditionalTosAcceptances.js +2 -2
  190. package/dist/model/Address.d.ts +1 -1
  191. package/dist/model/Address.js +2 -2
  192. package/dist/model/AddressKana.d.ts +1 -1
  193. package/dist/model/AddressKana.js +2 -2
  194. package/dist/model/AddressKanji.d.ts +1 -1
  195. package/dist/model/AddressKanji.js +2 -2
  196. package/dist/model/AddressResponse.d.ts +1 -1
  197. package/dist/model/AddressResponse.js +2 -2
  198. package/dist/model/Affirm.d.ts +4 -1
  199. package/dist/model/Affirm.js +38 -2
  200. package/dist/model/AfterCompletion.d.ts +1 -1
  201. package/dist/model/AfterCompletion.js +2 -2
  202. package/dist/model/AfterExpiration.d.ts +1 -1
  203. package/dist/model/AfterExpiration.js +2 -2
  204. package/dist/model/AfterpayClearpay.d.ts +3 -2
  205. package/dist/model/AfterpayClearpay.js +20 -8
  206. package/dist/model/Alipay.d.ts +2 -4
  207. package/dist/model/Alipay.js +8 -32
  208. package/dist/model/AlipayHandleRedirect.d.ts +1 -1
  209. package/dist/model/AlipayHandleRedirect.js +2 -2
  210. package/dist/model/Alternative.d.ts +1 -1
  211. package/dist/model/Alternative.js +2 -2
  212. package/dist/model/AmexExpressCheckout.d.ts +1 -1
  213. package/dist/model/AmexExpressCheckout.js +2 -2
  214. package/dist/model/AmountDetails.d.ts +1 -1
  215. package/dist/model/AmountDetails.js +2 -2
  216. package/dist/model/ApplePay.d.ts +1 -1
  217. package/dist/model/ApplePay.js +2 -2
  218. package/dist/model/Application.d.ts +1 -1
  219. package/dist/model/Application.js +2 -2
  220. package/dist/model/ApplicationFee.d.ts +3 -3
  221. package/dist/model/ApplicationFee.js +26 -26
  222. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  223. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  224. package/dist/model/AppliesTo.d.ts +1 -1
  225. package/dist/model/AppliesTo.js +2 -2
  226. package/dist/model/Article.d.ts +12 -12
  227. package/dist/model/Article.js +79 -79
  228. package/dist/model/AttachmentData.d.ts +2 -2
  229. package/dist/model/AttachmentData.js +9 -9
  230. package/dist/model/AuBecsDebit.d.ts +1 -5
  231. package/dist/model/AuBecsDebit.js +2 -50
  232. package/dist/model/Auth0ConfigInput.d.ts +1 -1
  233. package/dist/model/Auth0ConfigInput.js +2 -2
  234. package/dist/model/Auth0ConfigResponse.d.ts +1 -1
  235. package/dist/model/Auth0ConfigResponse.js +2 -2
  236. package/dist/model/AuthResponse.d.ts +1 -1
  237. package/dist/model/AuthResponse.js +2 -2
  238. package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
  239. package/dist/model/AuthorizationCheckResponse.js +2 -2
  240. package/dist/model/AutomaticPaymentMethods.d.ts +1 -1
  241. package/dist/model/AutomaticPaymentMethods.js +2 -2
  242. package/dist/model/AutomaticTax.d.ts +1 -1
  243. package/dist/model/AutomaticTax.js +2 -2
  244. package/dist/model/AvailablePlan.d.ts +1 -1
  245. package/dist/model/AvailablePlan.js +2 -2
  246. package/dist/model/AwsSettings.d.ts +1 -1
  247. package/dist/model/AwsSettings.js +2 -2
  248. package/dist/model/BacsDebit.d.ts +1 -5
  249. package/dist/model/BacsDebit.js +2 -50
  250. package/dist/model/BacsDebitPayments.d.ts +1 -1
  251. package/dist/model/BacsDebitPayments.js +2 -2
  252. package/dist/model/Balance.d.ts +5 -5
  253. package/dist/model/Balance.js +54 -54
  254. package/dist/model/BalanceDetails.d.ts +1 -1
  255. package/dist/model/BalanceDetails.js +2 -2
  256. package/dist/model/BalanceResponse.d.ts +1 -1
  257. package/dist/model/BalanceResponse.js +2 -2
  258. package/dist/model/BalanceTransaction.d.ts +1 -1
  259. package/dist/model/BalanceTransaction.js +2 -2
  260. package/dist/model/BalanceTransactionSource.d.ts +1 -1
  261. package/dist/model/BalanceTransactionSource.js +2 -2
  262. package/dist/model/Bancontact.d.ts +1 -1
  263. package/dist/model/Bancontact.js +2 -2
  264. package/dist/model/BankAccountInfo.d.ts +1 -1
  265. package/dist/model/BankAccountInfo.js +2 -2
  266. package/dist/model/BankTransfer.d.ts +1 -1
  267. package/dist/model/BankTransfer.js +2 -2
  268. package/dist/model/Base64AttachmentUpload.d.ts +1 -1
  269. package/dist/model/Base64AttachmentUpload.js +2 -2
  270. package/dist/model/Base64ImageUpload.d.ts +1 -1
  271. package/dist/model/Base64ImageUpload.js +2 -2
  272. package/dist/model/Base64Upload.d.ts +1 -1
  273. package/dist/model/Base64Upload.js +2 -2
  274. package/dist/model/Base64VideoUpload.d.ts +1 -1
  275. package/dist/model/Base64VideoUpload.js +2 -2
  276. package/dist/model/BillingDetails.d.ts +1 -1
  277. package/dist/model/BillingDetails.js +2 -2
  278. package/dist/model/BillingThresholds.d.ts +1 -1
  279. package/dist/model/BillingThresholds.js +2 -2
  280. package/dist/model/Blik.d.ts +1 -1
  281. package/dist/model/Blik.js +2 -2
  282. package/dist/model/Blocked.d.ts +1 -1
  283. package/dist/model/Blocked.js +2 -2
  284. package/dist/model/BlogPostResponse.d.ts +1 -1
  285. package/dist/model/BlogPostResponse.js +2 -2
  286. package/dist/model/Boleto.d.ts +1 -2
  287. package/dist/model/Boleto.js +2 -14
  288. package/dist/model/BoletoDisplayDetails.d.ts +1 -1
  289. package/dist/model/BoletoDisplayDetails.js +2 -2
  290. package/dist/model/Branding.d.ts +2 -2
  291. package/dist/model/Branding.js +14 -14
  292. package/dist/model/Breakdown.d.ts +1 -1
  293. package/dist/model/Breakdown.js +2 -2
  294. package/dist/model/BusinessProfile.d.ts +1 -1
  295. package/dist/model/BusinessProfile.js +2 -2
  296. package/dist/model/CacheInvalidation.d.ts +1 -1
  297. package/dist/model/CacheInvalidation.js +2 -2
  298. package/dist/model/CancellationDetails.d.ts +1 -1
  299. package/dist/model/CancellationDetails.js +2 -2
  300. package/dist/model/Capabilities.d.ts +1 -1
  301. package/dist/model/Capabilities.js +2 -2
  302. package/dist/model/Card.d.ts +1 -1
  303. package/dist/model/Card.js +2 -2
  304. package/dist/model/CardAwaitNotification.d.ts +1 -1
  305. package/dist/model/CardAwaitNotification.js +2 -2
  306. package/dist/model/CardInfo.d.ts +1 -1
  307. package/dist/model/CardInfo.js +2 -2
  308. package/dist/model/CardIssuing.d.ts +1 -1
  309. package/dist/model/CardIssuing.js +2 -2
  310. package/dist/model/CardPayments.d.ts +1 -1
  311. package/dist/model/CardPayments.js +2 -2
  312. package/dist/model/CardPresent.d.ts +2 -21
  313. package/dist/model/CardPresent.js +10 -216
  314. package/dist/model/CashBalance.d.ts +1 -1
  315. package/dist/model/CashBalance.js +2 -2
  316. package/dist/model/Cashapp.d.ts +1 -3
  317. package/dist/model/Cashapp.js +2 -26
  318. package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +1 -1
  319. package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +2 -2
  320. package/dist/model/Charge.d.ts +6 -6
  321. package/dist/model/Charge.js +49 -49
  322. package/dist/model/CheckoutSessionInput.d.ts +1 -1
  323. package/dist/model/CheckoutSessionInput.js +2 -2
  324. package/dist/model/CheckoutSessionResponse.d.ts +1 -1
  325. package/dist/model/CheckoutSessionResponse.js +2 -2
  326. package/dist/model/Checks.d.ts +1 -1
  327. package/dist/model/Checks.js +2 -2
  328. package/dist/model/ClerkConfigInput.d.ts +1 -1
  329. package/dist/model/ClerkConfigInput.js +2 -2
  330. package/dist/model/ClerkConfigResponse.d.ts +1 -1
  331. package/dist/model/ClerkConfigResponse.js +2 -2
  332. package/dist/model/CognitoConfigInput.d.ts +1 -1
  333. package/dist/model/CognitoConfigInput.js +2 -2
  334. package/dist/model/CognitoConfigResponse.d.ts +1 -1
  335. package/dist/model/CognitoConfigResponse.js +2 -2
  336. package/dist/model/CommentInput.d.ts +1 -1
  337. package/dist/model/CommentInput.js +2 -2
  338. package/dist/model/CommentResponse.d.ts +1 -1
  339. package/dist/model/CommentResponse.js +2 -2
  340. package/dist/model/Company.d.ts +1 -1
  341. package/dist/model/Company.js +2 -2
  342. package/dist/model/CompletedSessions.d.ts +1 -1
  343. package/dist/model/CompletedSessions.js +2 -2
  344. package/dist/model/Computed.d.ts +1 -1
  345. package/dist/model/Computed.js +2 -2
  346. package/dist/model/Consent.d.ts +1 -1
  347. package/dist/model/Consent.js +2 -2
  348. package/dist/model/ConsentCollection.d.ts +1 -1
  349. package/dist/model/ConsentCollection.js +2 -2
  350. package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
  351. package/dist/model/ConsoleOrganizationInput.js +2 -2
  352. package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
  353. package/dist/model/ConsoleOrganizationResponse.js +2 -2
  354. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  355. package/dist/model/ConsoleProjectInput.js +2 -2
  356. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  357. package/dist/model/ConsoleProjectResponse.js +2 -2
  358. package/dist/model/Controller.d.ts +1 -1
  359. package/dist/model/Controller.js +2 -2
  360. package/dist/model/Coordinates.d.ts +1 -1
  361. package/dist/model/Coordinates.js +2 -2
  362. package/dist/model/Coupon.d.ts +1 -1
  363. package/dist/model/Coupon.js +2 -2
  364. package/dist/model/CreateAccountResponse.d.ts +1 -1
  365. package/dist/model/CreateAccountResponse.js +2 -2
  366. package/dist/model/CreateCircleAccountInput.d.ts +1 -1
  367. package/dist/model/CreateCircleAccountInput.js +2 -2
  368. package/dist/model/CreateFunctionInput.d.ts +1 -1
  369. package/dist/model/CreateFunctionInput.js +2 -2
  370. package/dist/model/CreatePayPalAccountInput.d.ts +1 -1
  371. package/dist/model/CreatePayPalAccountInput.js +2 -2
  372. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  373. package/dist/model/CreateStripeAccountInput.js +2 -2
  374. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  375. package/dist/model/CreateStripeCustomerInput.js +2 -2
  376. package/dist/model/CreateTopicInput.d.ts +1 -1
  377. package/dist/model/CreateTopicInput.js +2 -2
  378. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  379. package/dist/model/CreateTopicListenerInput.js +2 -2
  380. package/dist/model/CreditedItems.d.ts +1 -1
  381. package/dist/model/CreditedItems.js +2 -2
  382. package/dist/model/CurrencyConversion.d.ts +1 -1
  383. package/dist/model/CurrencyConversion.js +2 -2
  384. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  385. package/dist/model/CurrencyGrantInput.js +2 -2
  386. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  387. package/dist/model/CurrencyGrantResponse.js +2 -2
  388. package/dist/model/CurrencyInput.d.ts +1 -1
  389. package/dist/model/CurrencyInput.js +2 -2
  390. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  391. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  392. package/dist/model/CurrencyOption.d.ts +1 -1
  393. package/dist/model/CurrencyOption.js +2 -2
  394. package/dist/model/CurrencyResponse.d.ts +1 -1
  395. package/dist/model/CurrencyResponse.js +2 -2
  396. package/dist/model/CurrencySettings.d.ts +1 -1
  397. package/dist/model/CurrencySettings.js +2 -2
  398. package/dist/model/CurrentPhase.d.ts +1 -1
  399. package/dist/model/CurrentPhase.js +2 -2
  400. package/dist/model/CustomField.d.ts +1 -1
  401. package/dist/model/CustomField.js +2 -2
  402. package/dist/model/CustomText.d.ts +1 -1
  403. package/dist/model/CustomText.js +2 -2
  404. package/dist/model/CustomUnitAmount.d.ts +1 -1
  405. package/dist/model/CustomUnitAmount.js +2 -2
  406. package/dist/model/Customer.d.ts +2 -2
  407. package/dist/model/Customer.js +10 -10
  408. package/dist/model/CustomerAcceptance.d.ts +1 -1
  409. package/dist/model/CustomerAcceptance.js +2 -2
  410. package/dist/model/CustomerBalance.d.ts +1 -1
  411. package/dist/model/CustomerBalance.js +2 -2
  412. package/dist/model/CustomerDetails.d.ts +1 -1
  413. package/dist/model/CustomerDetails.js +2 -2
  414. package/dist/model/CustomerNotification.d.ts +1 -1
  415. package/dist/model/CustomerNotification.js +2 -2
  416. package/dist/model/CustomerResponse.d.ts +1 -1
  417. package/dist/model/CustomerResponse.js +2 -2
  418. package/dist/model/CustomerTaxId.d.ts +1 -1
  419. package/dist/model/CustomerTaxId.js +2 -2
  420. package/dist/model/Dashboard.d.ts +1 -1
  421. package/dist/model/Dashboard.js +2 -2
  422. package/dist/model/DataObject.d.ts +1 -1
  423. package/dist/model/DataObject.js +2 -2
  424. package/dist/model/DataSheetImport.d.ts +7 -7
  425. package/dist/model/DataSheetImport.js +64 -64
  426. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  427. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  428. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  429. package/dist/model/DataSheetImportSummary.js +2 -2
  430. package/dist/model/DataSync.d.ts +89 -0
  431. package/dist/model/DataSync.js +541 -0
  432. package/dist/model/DataSyncInput.d.ts +65 -0
  433. package/dist/model/DataSyncInput.js +267 -0
  434. package/dist/model/DataSyncResponse.d.ts +61 -0
  435. package/dist/model/DataSyncResponse.js +282 -0
  436. package/dist/model/DeclineOn.d.ts +1 -1
  437. package/dist/model/DeclineOn.js +2 -2
  438. package/dist/model/DefaultSettings.d.ts +2 -2
  439. package/dist/model/DefaultSettings.js +14 -14
  440. package/dist/model/DeliveryEstimate.d.ts +1 -1
  441. package/dist/model/DeliveryEstimate.js +2 -2
  442. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  443. package/dist/model/DeviceRegistrationRequest.js +2 -2
  444. package/dist/model/Discount.d.ts +2 -2
  445. package/dist/model/Discount.js +14 -14
  446. package/dist/model/DiscountAmount.d.ts +1 -1
  447. package/dist/model/DiscountAmount.js +2 -2
  448. package/dist/model/DisplayBankTransferInstructions.d.ts +1 -1
  449. package/dist/model/DisplayBankTransferInstructions.js +2 -2
  450. package/dist/model/DisplayDetails.d.ts +1 -1
  451. package/dist/model/DisplayDetails.js +2 -2
  452. package/dist/model/Dob.d.ts +1 -1
  453. package/dist/model/Dob.js +2 -2
  454. package/dist/model/Document.d.ts +13 -13
  455. package/dist/model/Document.js +85 -85
  456. package/dist/model/DocumentPart.d.ts +10 -10
  457. package/dist/model/DocumentPart.js +76 -76
  458. package/dist/model/DocumentPartType.d.ts +6 -6
  459. package/dist/model/DocumentPartType.js +41 -41
  460. package/dist/model/DocumentType.d.ts +8 -8
  461. package/dist/model/DocumentType.js +55 -55
  462. package/dist/model/DomainCreateInput.d.ts +1 -1
  463. package/dist/model/DomainCreateInput.js +2 -2
  464. package/dist/model/DomainCreateResponse.d.ts +1 -1
  465. package/dist/model/DomainCreateResponse.js +2 -2
  466. package/dist/model/DomainMappingInput.d.ts +1 -1
  467. package/dist/model/DomainMappingInput.js +2 -2
  468. package/dist/model/DomainMappingResponse.d.ts +1 -1
  469. package/dist/model/DomainMappingResponse.js +2 -2
  470. package/dist/model/Dropdown.d.ts +1 -1
  471. package/dist/model/Dropdown.js +2 -2
  472. package/dist/model/EmailAddress.d.ts +1 -1
  473. package/dist/model/EmailAddress.js +2 -2
  474. package/dist/model/EmailSent.d.ts +1 -1
  475. package/dist/model/EmailSent.js +2 -2
  476. package/dist/model/EndBehavior.d.ts +1 -1
  477. package/dist/model/EndBehavior.js +2 -2
  478. package/dist/model/Eps.d.ts +2 -3
  479. package/dist/model/Eps.js +8 -20
  480. package/dist/model/Errors.d.ts +1 -1
  481. package/dist/model/Errors.js +2 -2
  482. package/dist/model/EuBankTransfer.d.ts +1 -1
  483. package/dist/model/EuBankTransfer.js +2 -2
  484. package/dist/model/ExtendedAuthorization.d.ts +1 -1
  485. package/dist/model/ExtendedAuthorization.js +2 -2
  486. package/dist/model/ExternalAccount.d.ts +1 -1
  487. package/dist/model/ExternalAccount.js +2 -2
  488. package/dist/model/ExternalAccountCollection.d.ts +1 -1
  489. package/dist/model/ExternalAccountCollection.js +2 -2
  490. package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +1 -1
  491. package/dist/model/ExternalAccountCollectionPageTypeToken.js +2 -2
  492. package/dist/model/Familymart.d.ts +1 -1
  493. package/dist/model/Familymart.js +2 -2
  494. package/dist/model/Feature.d.ts +1 -1
  495. package/dist/model/Feature.js +2 -2
  496. package/dist/model/FeeDetail.d.ts +1 -1
  497. package/dist/model/FeeDetail.js +2 -2
  498. package/dist/model/FeeRefund.d.ts +2 -2
  499. package/dist/model/FeeRefund.js +14 -14
  500. package/dist/model/FeeRefundCollection.d.ts +1 -1
  501. package/dist/model/FeeRefundCollection.js +2 -2
  502. package/dist/model/Field.d.ts +32 -0
  503. package/dist/model/Field.js +117 -0
  504. package/dist/model/FieldMapping.d.ts +2 -2
  505. package/dist/model/FieldMapping.js +13 -13
  506. package/dist/model/Fields.d.ts +26 -8
  507. package/dist/model/Fields.js +145 -60
  508. package/dist/model/File.d.ts +1 -1
  509. package/dist/model/File.js +2 -2
  510. package/dist/model/FileAttachmentUploadObject.d.ts +6 -6
  511. package/dist/model/FileAttachmentUploadObject.js +37 -37
  512. package/dist/model/FileLink.d.ts +1 -1
  513. package/dist/model/FileLink.js +2 -2
  514. package/dist/model/FileLinkCollection.d.ts +1 -1
  515. package/dist/model/FileLinkCollection.js +2 -2
  516. package/dist/model/Filter.d.ts +1 -1
  517. package/dist/model/Filter.js +2 -2
  518. package/dist/model/FilterManager.d.ts +1 -1
  519. package/dist/model/FilterManager.js +2 -2
  520. package/dist/model/FinancialAddress.d.ts +1 -1
  521. package/dist/model/FinancialAddress.js +2 -2
  522. package/dist/model/FinancialConnections.d.ts +1 -1
  523. package/dist/model/FinancialConnections.js +2 -2
  524. package/dist/model/FirebaseConfigInput.d.ts +1 -1
  525. package/dist/model/FirebaseConfigInput.js +2 -2
  526. package/dist/model/FirebaseConfigResponse.d.ts +1 -1
  527. package/dist/model/FirebaseConfigResponse.js +2 -2
  528. package/dist/model/FixedAmount.d.ts +1 -1
  529. package/dist/model/FixedAmount.js +2 -2
  530. package/dist/model/Form.d.ts +4 -4
  531. package/dist/model/Form.js +43 -43
  532. package/dist/model/FormSection.d.ts +3 -3
  533. package/dist/model/FormSection.js +26 -26
  534. package/dist/model/FormSubmission.d.ts +2 -2
  535. package/dist/model/FormSubmission.js +13 -13
  536. package/dist/model/Fpx.d.ts +2 -4
  537. package/dist/model/Fpx.js +8 -32
  538. package/dist/model/FraudDetails.d.ts +1 -1
  539. package/dist/model/FraudDetails.js +2 -2
  540. package/dist/model/FromInvoice.d.ts +1 -1
  541. package/dist/model/FromInvoice.js +2 -2
  542. package/dist/model/FromQuote.d.ts +1 -1
  543. package/dist/model/FromQuote.js +2 -2
  544. package/dist/model/FunctionConfigInput.d.ts +1 -1
  545. package/dist/model/FunctionConfigInput.js +2 -2
  546. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  547. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  548. package/dist/model/FunctionInput.d.ts +1 -1
  549. package/dist/model/FunctionInput.js +2 -2
  550. package/dist/model/FunctionOutput.d.ts +1 -1
  551. package/dist/model/FunctionOutput.js +2 -2
  552. package/dist/model/FutureRequirements.d.ts +1 -1
  553. package/dist/model/FutureRequirements.js +2 -2
  554. package/dist/model/GeneratedFrom.d.ts +2 -2
  555. package/dist/model/GeneratedFrom.js +14 -14
  556. package/dist/model/GeocodePayload.d.ts +1 -1
  557. package/dist/model/GeocodePayload.js +2 -2
  558. package/dist/model/GeocodeResponse.d.ts +1 -1
  559. package/dist/model/GeocodeResponse.js +2 -2
  560. package/dist/model/GeolocationInput.d.ts +1 -1
  561. package/dist/model/GeolocationInput.js +2 -2
  562. package/dist/model/GetFunctionConfig.d.ts +1 -1
  563. package/dist/model/GetFunctionConfig.js +2 -2
  564. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  565. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  566. package/dist/model/GetFunctionResponse.d.ts +1 -1
  567. package/dist/model/GetFunctionResponse.js +2 -2
  568. package/dist/model/Giropay.d.ts +2 -5
  569. package/dist/model/Giropay.js +8 -44
  570. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  571. package/dist/model/GoogleCloudSettings.js +2 -2
  572. package/dist/model/GooglePay.d.ts +1 -1
  573. package/dist/model/GooglePay.js +2 -2
  574. package/dist/model/Grabpay.d.ts +2 -2
  575. package/dist/model/Grabpay.js +8 -8
  576. package/dist/model/Graph.d.ts +7 -7
  577. package/dist/model/Graph.js +42 -42
  578. package/dist/model/GraphAction.d.ts +4 -4
  579. package/dist/model/GraphAction.js +20 -20
  580. package/dist/model/GraphActionPayload.d.ts +1 -1
  581. package/dist/model/GraphActionPayload.js +2 -2
  582. package/dist/model/GraphActionResponse.d.ts +1 -1
  583. package/dist/model/GraphActionResponse.js +2 -2
  584. package/dist/model/GraphActionTypeInput.d.ts +1 -1
  585. package/dist/model/GraphActionTypeInput.js +2 -2
  586. package/dist/model/GraphActionTypeResponse.d.ts +4 -3
  587. package/dist/model/GraphActionTypeResponse.js +8 -6
  588. package/dist/model/GraphInput.d.ts +1 -1
  589. package/dist/model/GraphInput.js +2 -2
  590. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  591. package/dist/model/GraphIteratorEntryPart.js +2 -2
  592. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
  593. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
  594. package/dist/model/GraphObject.d.ts +7 -7
  595. package/dist/model/GraphObject.js +52 -52
  596. package/dist/model/GraphObjectPayload.d.ts +1 -1
  597. package/dist/model/GraphObjectPayload.js +2 -2
  598. package/dist/model/GraphObjectResponse.d.ts +1 -1
  599. package/dist/model/GraphObjectResponse.js +2 -2
  600. package/dist/model/GraphObjectType.d.ts +11 -11
  601. package/dist/model/GraphObjectType.js +80 -80
  602. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  603. package/dist/model/GraphObjectTypeInput.js +2 -2
  604. package/dist/model/GraphObjectTypeResponse.d.ts +4 -3
  605. package/dist/model/GraphObjectTypeResponse.js +8 -6
  606. package/dist/model/GraphObjectTypeSchema.d.ts +10 -11
  607. package/dist/model/GraphObjectTypeSchema.js +61 -75
  608. package/dist/model/GraphOwner.d.ts +1 -1
  609. package/dist/model/GraphOwner.js +2 -2
  610. package/dist/model/GraphRelationship.d.ts +3 -3
  611. package/dist/model/GraphRelationship.js +18 -18
  612. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  613. package/dist/model/GraphRelationshipPayload.js +2 -2
  614. package/dist/model/GraphRelationshipResponse.d.ts +1 -1
  615. package/dist/model/GraphRelationshipResponse.js +2 -2
  616. package/dist/model/GraphRelationshipType.d.ts +11 -11
  617. package/dist/model/GraphRelationshipType.js +75 -75
  618. package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
  619. package/dist/model/GraphRelationshipTypeInput.js +2 -2
  620. package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -3
  621. package/dist/model/GraphRelationshipTypeResponse.js +8 -6
  622. package/dist/model/GraphResponse.d.ts +1 -1
  623. package/dist/model/GraphResponse.js +2 -2
  624. package/dist/model/GraphSchemaInput.d.ts +1 -1
  625. package/dist/model/GraphSchemaInput.js +2 -2
  626. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  627. package/dist/model/GraphSchemaResponse.js +2 -2
  628. package/dist/model/GraphTraversalInput.d.ts +1 -1
  629. package/dist/model/GraphTraversalInput.js +2 -2
  630. package/dist/model/HostedConfirmation.d.ts +1 -1
  631. package/dist/model/HostedConfirmation.js +2 -2
  632. package/dist/model/Iban.d.ts +1 -1
  633. package/dist/model/Iban.js +2 -2
  634. package/dist/model/Ideal.d.ts +2 -2
  635. package/dist/model/Ideal.js +14 -14
  636. package/dist/model/Image.d.ts +1 -1
  637. package/dist/model/Image.js +2 -2
  638. package/dist/model/IncrementalAuthorization.d.ts +1 -1
  639. package/dist/model/IncrementalAuthorization.js +2 -2
  640. package/dist/model/IndexFilter.d.ts +1 -1
  641. package/dist/model/IndexFilter.js +2 -2
  642. package/dist/model/InputPart.d.ts +4 -4
  643. package/dist/model/InputPart.js +24 -24
  644. package/dist/model/InputPartHeaders.d.ts +1 -1
  645. package/dist/model/InputPartHeaders.js +2 -2
  646. package/dist/model/Installments.d.ts +1 -1
  647. package/dist/model/Installments.js +2 -2
  648. package/dist/model/InteracPresent.d.ts +1 -18
  649. package/dist/model/InteracPresent.js +2 -200
  650. package/dist/model/InviteMembersInput.d.ts +1 -1
  651. package/dist/model/InviteMembersInput.js +2 -2
  652. package/dist/model/Invoice.d.ts +4 -4
  653. package/dist/model/Invoice.js +41 -41
  654. package/dist/model/InvoiceCreation.d.ts +1 -1
  655. package/dist/model/InvoiceCreation.js +2 -2
  656. package/dist/model/InvoiceData.d.ts +1 -1
  657. package/dist/model/InvoiceData.js +2 -2
  658. package/dist/model/InvoiceItem.d.ts +2 -2
  659. package/dist/model/InvoiceItem.js +15 -15
  660. package/dist/model/InvoiceLineItem.d.ts +2 -2
  661. package/dist/model/InvoiceLineItem.js +15 -15
  662. package/dist/model/InvoiceLineItemCollection.d.ts +1 -1
  663. package/dist/model/InvoiceLineItemCollection.js +2 -2
  664. package/dist/model/InvoiceSettings.d.ts +1 -1
  665. package/dist/model/InvoiceSettings.js +2 -2
  666. package/dist/model/IpAddressLocation.d.ts +1 -1
  667. package/dist/model/IpAddressLocation.js +2 -2
  668. package/dist/model/Item.d.ts +1 -1
  669. package/dist/model/Item.js +2 -2
  670. package/dist/model/ItemReason.d.ts +1 -1
  671. package/dist/model/ItemReason.js +2 -2
  672. package/dist/model/JsonArray.d.ts +1 -1
  673. package/dist/model/JsonArray.js +2 -2
  674. package/dist/model/JsonNull.d.ts +14 -14
  675. package/dist/model/JsonNull.js +75 -75
  676. package/dist/model/JsonObject.d.ts +1 -1
  677. package/dist/model/JsonObject.js +2 -2
  678. package/dist/model/JsonPrimitive.d.ts +11 -11
  679. package/dist/model/JsonPrimitive.js +63 -63
  680. package/dist/model/JsonValue.d.ts +1 -1
  681. package/dist/model/JsonValue.js +2 -2
  682. package/dist/model/KafkaSettings.d.ts +1 -1
  683. package/dist/model/KafkaSettings.js +2 -2
  684. package/dist/model/KeycloakConfigInput.d.ts +1 -1
  685. package/dist/model/KeycloakConfigInput.js +2 -2
  686. package/dist/model/KeycloakConfigResponse.d.ts +1 -1
  687. package/dist/model/KeycloakConfigResponse.js +2 -2
  688. package/dist/model/Klarna.d.ts +1 -3
  689. package/dist/model/Klarna.js +2 -26
  690. package/dist/model/Konbini.d.ts +1 -1
  691. package/dist/model/Konbini.js +2 -2
  692. package/dist/model/KonbiniDisplayDetails.d.ts +1 -1
  693. package/dist/model/KonbiniDisplayDetails.js +2 -2
  694. package/dist/model/Label.d.ts +1 -1
  695. package/dist/model/Label.js +2 -2
  696. package/dist/model/LaunchTemplateExecutionRequest.d.ts +1 -1
  697. package/dist/model/LaunchTemplateExecutionRequest.js +2 -2
  698. package/dist/model/LaunchTemplateExecutionResponse.d.ts +1 -1
  699. package/dist/model/LaunchTemplateExecutionResponse.js +2 -2
  700. package/dist/model/LaunchTemplateInput.d.ts +1 -1
  701. package/dist/model/LaunchTemplateInput.js +2 -2
  702. package/dist/model/LaunchTemplateObject.d.ts +4 -4
  703. package/dist/model/LaunchTemplateObject.js +27 -27
  704. package/dist/model/LaunchTemplateResponse.d.ts +1 -1
  705. package/dist/model/LaunchTemplateResponse.js +2 -2
  706. package/dist/model/Lawson.d.ts +1 -1
  707. package/dist/model/Lawson.js +2 -2
  708. package/dist/model/Level3.d.ts +1 -1
  709. package/dist/model/Level3.js +2 -2
  710. package/dist/model/LineItem.d.ts +1 -1
  711. package/dist/model/LineItem.js +2 -2
  712. package/dist/model/LineItemCollection.d.ts +1 -1
  713. package/dist/model/LineItemCollection.js +2 -2
  714. package/dist/model/LineItemInput.d.ts +1 -1
  715. package/dist/model/LineItemInput.js +2 -2
  716. package/dist/model/Link.d.ts +1 -2
  717. package/dist/model/Link.js +2 -14
  718. package/dist/model/LinkInput.d.ts +1 -1
  719. package/dist/model/LinkInput.js +2 -2
  720. package/dist/model/LinkResponse.d.ts +1 -1
  721. package/dist/model/LinkResponse.js +2 -2
  722. package/dist/model/LiveStreamInfo.d.ts +2 -2
  723. package/dist/model/LiveStreamInfo.js +14 -14
  724. package/dist/model/Location.d.ts +1 -1
  725. package/dist/model/Location.js +2 -2
  726. package/dist/model/MainPhoto.d.ts +1 -1
  727. package/dist/model/MainPhoto.js +2 -2
  728. package/dist/model/Mandate.d.ts +1 -1
  729. package/dist/model/Mandate.js +2 -2
  730. package/dist/model/MandateOptions.d.ts +1 -1
  731. package/dist/model/MandateOptions.js +2 -2
  732. package/dist/model/Masterpass.d.ts +1 -1
  733. package/dist/model/Masterpass.js +2 -2
  734. package/dist/model/Maximum.d.ts +1 -1
  735. package/dist/model/Maximum.js +2 -2
  736. package/dist/model/MediaType.d.ts +2 -2
  737. package/dist/model/MediaType.js +9 -9
  738. package/dist/model/MeetingEventInput.d.ts +1 -1
  739. package/dist/model/MeetingEventInput.js +2 -2
  740. package/dist/model/MeetingEventResponse.d.ts +1 -1
  741. package/dist/model/MeetingEventResponse.js +2 -2
  742. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  743. package/dist/model/MeetingEventTypeInput.js +2 -2
  744. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  745. package/dist/model/MeetingEventTypeResponse.js +2 -2
  746. package/dist/model/MeetingInfo.d.ts +3 -3
  747. package/dist/model/MeetingInfo.js +23 -23
  748. package/dist/model/Member.d.ts +5 -5
  749. package/dist/model/Member.js +38 -38
  750. package/dist/model/MemberGroupCategory.d.ts +3 -3
  751. package/dist/model/MemberGroupCategory.js +20 -20
  752. package/dist/model/MemberList.d.ts +1 -1
  753. package/dist/model/MemberList.js +2 -2
  754. package/dist/model/MemberManagerConfigInput.d.ts +1 -1
  755. package/dist/model/MemberManagerConfigInput.js +2 -2
  756. package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
  757. package/dist/model/MemberManagerConfigResponse.js +2 -2
  758. package/dist/model/MemberManagerInput.d.ts +1 -1
  759. package/dist/model/MemberManagerInput.js +2 -2
  760. package/dist/model/MemberManagerResponse.d.ts +1 -1
  761. package/dist/model/MemberManagerResponse.js +2 -2
  762. package/dist/model/MemberManagerSecretInput.d.ts +1 -1
  763. package/dist/model/MemberManagerSecretInput.js +2 -2
  764. package/dist/model/MemberManagerSecretResponse.d.ts +1 -1
  765. package/dist/model/MemberManagerSecretResponse.js +2 -2
  766. package/dist/model/MenuInput.d.ts +1 -1
  767. package/dist/model/MenuInput.js +2 -2
  768. package/dist/model/MenuItemInput.d.ts +1 -1
  769. package/dist/model/MenuItemInput.js +2 -2
  770. package/dist/model/MenuItemResponse.d.ts +1 -1
  771. package/dist/model/MenuItemResponse.js +2 -2
  772. package/dist/model/MenuResponse.d.ts +1 -1
  773. package/dist/model/MenuResponse.js +2 -2
  774. package/dist/model/Message.d.ts +1 -1
  775. package/dist/model/Message.js +2 -2
  776. package/dist/model/MessageGroup.d.ts +1 -1
  777. package/dist/model/MessageGroup.js +2 -2
  778. package/dist/model/Minimum.d.ts +1 -1
  779. package/dist/model/Minimum.js +2 -2
  780. package/dist/model/Ministop.d.ts +1 -1
  781. package/dist/model/Ministop.js +2 -2
  782. package/dist/model/MonthlyEstimatedRevenue.d.ts +1 -1
  783. package/dist/model/MonthlyEstimatedRevenue.js +2 -2
  784. package/dist/model/MultiUse.d.ts +1 -1
  785. package/dist/model/MultiUse.js +2 -2
  786. package/dist/model/Multibanco.d.ts +1 -1
  787. package/dist/model/Multibanco.js +2 -2
  788. package/dist/model/Multicapture.d.ts +1 -1
  789. package/dist/model/Multicapture.js +2 -2
  790. package/dist/model/MultipartBody.d.ts +1 -1
  791. package/dist/model/MultipartBody.js +2 -2
  792. package/dist/model/MultivaluedMapStringString.d.ts +1 -1
  793. package/dist/model/MultivaluedMapStringString.js +2 -2
  794. package/dist/model/N8nSettings.d.ts +1 -1
  795. package/dist/model/N8nSettings.js +2 -2
  796. package/dist/model/NetworkToken.d.ts +1 -1
  797. package/dist/model/NetworkToken.js +2 -2
  798. package/dist/model/Networks.d.ts +1 -1
  799. package/dist/model/Networks.js +2 -2
  800. package/dist/model/NextAction.d.ts +5 -2
  801. package/dist/model/NextAction.js +48 -10
  802. package/dist/model/NotificationInput.d.ts +1 -1
  803. package/dist/model/NotificationInput.js +2 -2
  804. package/dist/model/NotificationResponse.d.ts +1 -1
  805. package/dist/model/NotificationResponse.js +2 -2
  806. package/dist/model/NumberSettings.d.ts +1 -1
  807. package/dist/model/NumberSettings.js +2 -2
  808. package/dist/model/Numeric.d.ts +1 -1
  809. package/dist/model/Numeric.js +2 -2
  810. package/dist/model/ObjectSettings.d.ts +1 -1
  811. package/dist/model/ObjectSettings.js +2 -2
  812. package/dist/model/Objecttype.d.ts +11 -10
  813. package/dist/model/Objecttype.js +75 -61
  814. package/dist/model/Offline.d.ts +1 -1
  815. package/dist/model/Offline.js +2 -2
  816. package/dist/model/Online.d.ts +1 -1
  817. package/dist/model/Online.js +2 -2
  818. package/dist/model/Option.d.ts +1 -1
  819. package/dist/model/Option.js +2 -2
  820. package/dist/model/OutParameter.d.ts +1 -1
  821. package/dist/model/OutParameter.js +2 -2
  822. package/dist/model/Outcome.d.ts +1 -1
  823. package/dist/model/Outcome.js +2 -2
  824. package/dist/model/Overcapture.d.ts +1 -1
  825. package/dist/model/Overcapture.js +2 -2
  826. package/dist/model/OwnershipDeclaration.d.ts +1 -1
  827. package/dist/model/OwnershipDeclaration.js +2 -2
  828. package/dist/model/Oxxo.d.ts +3 -2
  829. package/dist/model/Oxxo.js +16 -8
  830. package/dist/model/OxxoDisplayDetails.d.ts +1 -1
  831. package/dist/model/OxxoDisplayDetails.js +2 -2
  832. package/dist/model/P24.d.ts +2 -4
  833. package/dist/model/P24.js +8 -32
  834. package/dist/model/PackageDimensions.d.ts +1 -1
  835. package/dist/model/PackageDimensions.js +2 -2
  836. package/dist/model/Page.d.ts +6 -6
  837. package/dist/model/Page.js +41 -41
  838. package/dist/model/PageSchema.d.ts +3 -3
  839. package/dist/model/PageSchema.js +21 -21
  840. package/dist/model/PageableObject.d.ts +5 -5
  841. package/dist/model/PageableObject.js +18 -18
  842. package/dist/model/Parameter.d.ts +1 -1
  843. package/dist/model/Parameter.js +2 -2
  844. package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
  845. package/dist/model/PasswordResetInitiateRequest.js +2 -2
  846. package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
  847. package/dist/model/PasswordResetInitiateResponse.js +2 -2
  848. package/dist/model/PasswordResetRequest.d.ts +1 -1
  849. package/dist/model/PasswordResetRequest.js +2 -2
  850. package/dist/model/PasswordResetResponse.d.ts +1 -1
  851. package/dist/model/PasswordResetResponse.js +2 -2
  852. package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
  853. package/dist/model/PasswordResetValidationResponse.js +2 -2
  854. package/dist/model/Path.d.ts +1 -1
  855. package/dist/model/Path.js +2 -2
  856. package/dist/model/PauseCollection.d.ts +1 -1
  857. package/dist/model/PauseCollection.js +2 -2
  858. package/dist/model/PaymentAccountObject.d.ts +2 -2
  859. package/dist/model/PaymentAccountObject.js +9 -9
  860. package/dist/model/PaymentIntent.d.ts +4 -4
  861. package/dist/model/PaymentIntent.js +35 -35
  862. package/dist/model/PaymentIntentData.d.ts +1 -1
  863. package/dist/model/PaymentIntentData.js +2 -2
  864. package/dist/model/PaymentIntentInput.d.ts +1 -1
  865. package/dist/model/PaymentIntentInput.js +2 -2
  866. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  867. package/dist/model/PaymentIntentResponse.js +2 -2
  868. package/dist/model/PaymentLink.d.ts +1 -1
  869. package/dist/model/PaymentLink.js +2 -2
  870. package/dist/model/PaymentMethod.d.ts +1 -1
  871. package/dist/model/PaymentMethod.js +2 -2
  872. package/dist/model/PaymentMethodConfigurationDetails.d.ts +1 -1
  873. package/dist/model/PaymentMethodConfigurationDetails.js +2 -2
  874. package/dist/model/PaymentMethodDetails.d.ts +1 -26
  875. package/dist/model/PaymentMethodDetails.js +2 -352
  876. package/dist/model/PaymentMethodInput.d.ts +1 -1
  877. package/dist/model/PaymentMethodInput.js +2 -2
  878. package/dist/model/PaymentMethodOptions.d.ts +1 -1
  879. package/dist/model/PaymentMethodOptions.js +2 -2
  880. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  881. package/dist/model/PaymentMethodResponse.js +2 -2
  882. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  883. package/dist/model/PaymentMethodsResponse.js +2 -2
  884. package/dist/model/PaymentSettings.d.ts +1 -1
  885. package/dist/model/PaymentSettings.js +2 -2
  886. package/dist/model/PaymentSource.d.ts +1 -1
  887. package/dist/model/PaymentSource.js +2 -2
  888. package/dist/model/PaymentSourceCollection.d.ts +1 -1
  889. package/dist/model/PaymentSourceCollection.js +2 -2
  890. package/dist/model/Payments.d.ts +1 -1
  891. package/dist/model/Payments.js +2 -2
  892. package/dist/model/Paynow.d.ts +2 -2
  893. package/dist/model/Paynow.js +8 -8
  894. package/dist/model/PaynowDisplayQrCode.d.ts +1 -1
  895. package/dist/model/PaynowDisplayQrCode.js +2 -2
  896. package/dist/model/Payout.d.ts +3 -3
  897. package/dist/model/Payout.js +24 -24
  898. package/dist/model/PayoutInput.d.ts +1 -1
  899. package/dist/model/PayoutInput.js +2 -2
  900. package/dist/model/PayoutResponse.d.ts +1 -1
  901. package/dist/model/PayoutResponse.js +2 -2
  902. package/dist/model/Payouts.d.ts +1 -1
  903. package/dist/model/Payouts.js +2 -2
  904. package/dist/model/Paypal.d.ts +1 -6
  905. package/dist/model/Paypal.js +2 -64
  906. package/dist/model/Pdf.d.ts +1 -1
  907. package/dist/model/Pdf.js +2 -2
  908. package/dist/model/PendingInvoiceItemInterval.d.ts +1 -1
  909. package/dist/model/PendingInvoiceItemInterval.js +2 -2
  910. package/dist/model/PendingUpdate.d.ts +1 -1
  911. package/dist/model/PendingUpdate.js +2 -2
  912. package/dist/model/Period.d.ts +1 -1
  913. package/dist/model/Period.js +2 -2
  914. package/dist/model/Person.d.ts +1 -1
  915. package/dist/model/Person.js +2 -2
  916. package/dist/model/Phase.d.ts +3 -3
  917. package/dist/model/Phase.js +16 -16
  918. package/dist/model/PhoneNumber.d.ts +4 -4
  919. package/dist/model/PhoneNumber.js +37 -37
  920. package/dist/model/PhoneNumberCollection.d.ts +1 -1
  921. package/dist/model/PhoneNumberCollection.js +2 -2
  922. package/dist/model/Pix.d.ts +4 -2
  923. package/dist/model/Pix.js +24 -8
  924. package/dist/model/PixDisplayQrCode.d.ts +1 -1
  925. package/dist/model/PixDisplayQrCode.js +2 -2
  926. package/dist/model/Plan.d.ts +1 -1
  927. package/dist/model/Plan.js +2 -2
  928. package/dist/model/PostInput.d.ts +1 -1
  929. package/dist/model/PostInput.js +2 -2
  930. package/dist/model/PostResponse.d.ts +1 -1
  931. package/dist/model/PostResponse.js +2 -2
  932. package/dist/model/Price.d.ts +1 -1
  933. package/dist/model/Price.js +2 -2
  934. package/dist/model/PriceInput.d.ts +45 -0
  935. package/dist/model/PriceInput.js +166 -0
  936. package/dist/model/PriceResponse.d.ts +40 -0
  937. package/dist/model/PriceResponse.js +122 -0
  938. package/dist/model/PrivateMessage.d.ts +8 -8
  939. package/dist/model/PrivateMessage.js +43 -43
  940. package/dist/model/PrivateMessageConversation.d.ts +6 -6
  941. package/dist/model/PrivateMessageConversation.js +65 -65
  942. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  943. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  944. package/dist/model/Processing.d.ts +1 -1
  945. package/dist/model/Processing.js +2 -2
  946. package/dist/model/Product.d.ts +2 -2
  947. package/dist/model/Product.js +14 -14
  948. package/dist/model/ProductCategory.d.ts +47 -0
  949. package/dist/model/ProductCategory.js +180 -0
  950. package/dist/model/ProductCategoryInput.d.ts +41 -0
  951. package/dist/model/ProductCategoryInput.js +140 -0
  952. package/dist/model/ProductCategoryResponse.d.ts +40 -0
  953. package/dist/model/ProductCategoryResponse.js +122 -0
  954. package/dist/model/ProductInput.d.ts +43 -0
  955. package/dist/model/ProductInput.js +164 -0
  956. package/dist/model/ProductResponse.d.ts +40 -0
  957. package/dist/model/ProductResponse.js +122 -0
  958. package/dist/model/Profile.d.ts +2 -2
  959. package/dist/model/Profile.js +14 -14
  960. package/dist/model/Profiletype.d.ts +1 -1
  961. package/dist/model/Profiletype.js +2 -2
  962. package/dist/model/PromotionCode.d.ts +1 -1
  963. package/dist/model/PromotionCode.js +2 -2
  964. package/dist/model/Promptpay.d.ts +2 -2
  965. package/dist/model/Promptpay.js +8 -8
  966. package/dist/model/PromptpayDisplayQrCode.d.ts +1 -1
  967. package/dist/model/PromptpayDisplayQrCode.js +2 -2
  968. package/dist/model/ProrationDetails.d.ts +1 -1
  969. package/dist/model/ProrationDetails.js +2 -2
  970. package/dist/model/PublicationInput.d.ts +1 -1
  971. package/dist/model/PublicationInput.js +2 -2
  972. package/dist/model/PublicationResponse.d.ts +1 -1
  973. package/dist/model/PublicationResponse.js +2 -2
  974. package/dist/model/PurchaseInput.d.ts +1 -1
  975. package/dist/model/PurchaseInput.js +2 -2
  976. package/dist/model/PurchaseResponse.d.ts +1 -1
  977. package/dist/model/PurchaseResponse.js +2 -2
  978. package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
  979. package/dist/model/PurgeDataDefaultResponse.js +2 -2
  980. package/dist/model/QrCode.d.ts +1 -1
  981. package/dist/model/QrCode.js +2 -2
  982. package/dist/model/Quote.d.ts +4 -4
  983. package/dist/model/Quote.js +58 -58
  984. package/dist/model/RadarOptions.d.ts +1 -1
  985. package/dist/model/RadarOptions.js +2 -2
  986. package/dist/model/Receipt.d.ts +1 -1
  987. package/dist/model/Receipt.js +2 -2
  988. package/dist/model/Recovery.d.ts +1 -1
  989. package/dist/model/Recovery.js +2 -2
  990. package/dist/model/Recurring.d.ts +1 -1
  991. package/dist/model/Recurring.js +2 -2
  992. package/dist/model/RecurringInput.d.ts +46 -0
  993. package/dist/model/RecurringInput.js +156 -0
  994. package/dist/model/Redirect.d.ts +1 -1
  995. package/dist/model/Redirect.js +2 -2
  996. package/dist/model/RedirectToUrl.d.ts +1 -1
  997. package/dist/model/RedirectToUrl.js +2 -2
  998. package/dist/model/Refund.d.ts +6 -6
  999. package/dist/model/Refund.js +44 -44
  1000. package/dist/model/RefundCollection.d.ts +1 -1
  1001. package/dist/model/RefundCollection.js +2 -2
  1002. package/dist/model/Relationship.d.ts +1 -1
  1003. package/dist/model/Relationship.js +2 -2
  1004. package/dist/model/RelationshipMapping.d.ts +3 -3
  1005. package/dist/model/RelationshipMapping.js +24 -24
  1006. package/dist/model/Rendering.d.ts +1 -1
  1007. package/dist/model/Rendering.js +2 -2
  1008. package/dist/model/RenderingOptions.d.ts +1 -1
  1009. package/dist/model/RenderingOptions.js +2 -2
  1010. package/dist/model/RequestOptions.d.ts +1 -1
  1011. package/dist/model/RequestOptions.js +2 -2
  1012. package/dist/model/RequestOptionsProxyCredential.d.ts +1 -1
  1013. package/dist/model/RequestOptionsProxyCredential.js +2 -2
  1014. package/dist/model/Requirements.d.ts +1 -1
  1015. package/dist/model/Requirements.js +2 -2
  1016. package/dist/model/RestApplicationInput.d.ts +1 -1
  1017. package/dist/model/RestApplicationInput.js +2 -2
  1018. package/dist/model/RestApplicationResponse.d.ts +1 -1
  1019. package/dist/model/RestApplicationResponse.js +2 -2
  1020. package/dist/model/Restrictions.d.ts +1 -1
  1021. package/dist/model/Restrictions.js +2 -2
  1022. package/dist/model/Review.d.ts +1 -1
  1023. package/dist/model/Review.js +2 -2
  1024. package/dist/model/RevolutPay.d.ts +1 -1
  1025. package/dist/model/RevolutPay.js +2 -2
  1026. package/dist/model/Rule.d.ts +1 -1
  1027. package/dist/model/Rule.js +2 -2
  1028. package/dist/model/SamsungPay.d.ts +1 -1
  1029. package/dist/model/SamsungPay.js +2 -2
  1030. package/dist/model/Schedule.d.ts +1 -1
  1031. package/dist/model/Schedule.js +2 -2
  1032. package/dist/model/Schema.d.ts +30 -0
  1033. package/dist/model/Schema.js +122 -0
  1034. package/dist/model/ScreenSchema.d.ts +9 -9
  1035. package/dist/model/ScreenSchema.js +68 -68
  1036. package/dist/model/Seicomart.d.ts +1 -1
  1037. package/dist/model/Seicomart.js +2 -2
  1038. package/dist/model/SellerProtection.d.ts +1 -1
  1039. package/dist/model/SellerProtection.js +2 -2
  1040. package/dist/model/SepaCreditTransfer.d.ts +1 -1
  1041. package/dist/model/SepaCreditTransfer.js +2 -2
  1042. package/dist/model/SepaDebit.d.ts +1 -1
  1043. package/dist/model/SepaDebit.js +2 -2
  1044. package/dist/model/SepaDebitPayments.d.ts +1 -1
  1045. package/dist/model/SepaDebitPayments.js +2 -2
  1046. package/dist/model/Session.d.ts +1 -1
  1047. package/dist/model/Session.js +2 -2
  1048. package/dist/model/Settings.d.ts +1 -1
  1049. package/dist/model/Settings.js +2 -2
  1050. package/dist/model/SetupAttempt.d.ts +2 -2
  1051. package/dist/model/SetupAttempt.js +15 -15
  1052. package/dist/model/SetupIntent.d.ts +1 -1
  1053. package/dist/model/SetupIntent.js +2 -2
  1054. package/dist/model/ShippingAddress.d.ts +1 -1
  1055. package/dist/model/ShippingAddress.js +2 -2
  1056. package/dist/model/ShippingAddressCollection.d.ts +1 -1
  1057. package/dist/model/ShippingAddressCollection.js +2 -2
  1058. package/dist/model/ShippingCost.d.ts +1 -1
  1059. package/dist/model/ShippingCost.js +2 -2
  1060. package/dist/model/ShippingDetails.d.ts +1 -1
  1061. package/dist/model/ShippingDetails.js +2 -2
  1062. package/dist/model/ShippingOption.d.ts +1 -1
  1063. package/dist/model/ShippingOption.js +2 -2
  1064. package/dist/model/ShippingRate.d.ts +1 -1
  1065. package/dist/model/ShippingRate.js +2 -2
  1066. package/dist/model/SimulcastInfo.d.ts +2 -2
  1067. package/dist/model/SimulcastInfo.js +15 -15
  1068. package/dist/model/SingleUse.d.ts +1 -1
  1069. package/dist/model/SingleUse.js +2 -2
  1070. package/dist/model/SiteInput.d.ts +1 -1
  1071. package/dist/model/SiteInput.js +2 -2
  1072. package/dist/model/SiteResponse.d.ts +1 -1
  1073. package/dist/model/SiteResponse.js +2 -2
  1074. package/dist/model/SiteTypeInput.d.ts +1 -1
  1075. package/dist/model/SiteTypeInput.js +2 -2
  1076. package/dist/model/SiteTypeResponse.d.ts +1 -1
  1077. package/dist/model/SiteTypeResponse.js +2 -2
  1078. package/dist/model/SkinField.d.ts +26 -8
  1079. package/dist/model/SkinField.js +145 -60
  1080. package/dist/model/SkinFieldResponse.d.ts +17 -3
  1081. package/dist/model/SkinFieldResponse.js +78 -6
  1082. package/dist/model/SocialGroup.d.ts +8 -8
  1083. package/dist/model/SocialGroup.js +55 -55
  1084. package/dist/model/SocialGroupInput.d.ts +1 -1
  1085. package/dist/model/SocialGroupInput.js +2 -2
  1086. package/dist/model/SocialGroupResponse.d.ts +1 -1
  1087. package/dist/model/SocialGroupResponse.js +2 -2
  1088. package/dist/model/SocialGroupType.d.ts +1 -1
  1089. package/dist/model/SocialGroupType.js +2 -2
  1090. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  1091. package/dist/model/SocialGroupTypeInput.js +2 -2
  1092. package/dist/model/Sofort.d.ts +2 -3
  1093. package/dist/model/Sofort.js +14 -26
  1094. package/dist/model/SortCode.d.ts +1 -1
  1095. package/dist/model/SortCode.js +2 -2
  1096. package/dist/model/SortObject.d.ts +1 -1
  1097. package/dist/model/SortObject.js +2 -2
  1098. package/dist/model/SourceTypes.d.ts +1 -1
  1099. package/dist/model/SourceTypes.js +2 -2
  1100. package/dist/model/Spei.d.ts +1 -1
  1101. package/dist/model/Spei.js +2 -2
  1102. package/dist/model/StatusDetails.d.ts +1 -1
  1103. package/dist/model/StatusDetails.js +2 -2
  1104. package/dist/model/StatusTransitions.d.ts +1 -1
  1105. package/dist/model/StatusTransitions.js +2 -2
  1106. package/dist/model/Store.d.ts +1 -1
  1107. package/dist/model/Store.js +2 -2
  1108. package/dist/model/Stores.d.ts +1 -1
  1109. package/dist/model/Stores.js +2 -2
  1110. package/dist/model/StripeAccount.d.ts +1 -1
  1111. package/dist/model/StripeAccount.js +2 -2
  1112. package/dist/model/StripeCheckoutSession.d.ts +6 -6
  1113. package/dist/model/StripeCheckoutSession.js +47 -47
  1114. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  1115. package/dist/model/StripeCustomerAccount.js +2 -2
  1116. package/dist/model/StripeError.d.ts +1 -1
  1117. package/dist/model/StripeError.js +2 -2
  1118. package/dist/model/StripePaymentIntent.d.ts +4 -4
  1119. package/dist/model/StripePaymentIntent.js +29 -29
  1120. package/dist/model/StripePrice.d.ts +38 -0
  1121. package/dist/model/StripePrice.js +189 -0
  1122. package/dist/model/StripeProduct.d.ts +36 -0
  1123. package/dist/model/StripeProduct.js +166 -0
  1124. package/dist/model/StripeSubscription.d.ts +4 -4
  1125. package/dist/model/StripeSubscription.js +29 -29
  1126. package/dist/model/Submit.d.ts +1 -1
  1127. package/dist/model/Submit.js +2 -2
  1128. package/dist/model/Subscription.d.ts +3 -3
  1129. package/dist/model/Subscription.js +28 -28
  1130. package/dist/model/SubscriptionCollection.d.ts +1 -1
  1131. package/dist/model/SubscriptionCollection.js +2 -2
  1132. package/dist/model/SubscriptionData.d.ts +1 -1
  1133. package/dist/model/SubscriptionData.js +2 -2
  1134. package/dist/model/SubscriptionDetails.d.ts +1 -1
  1135. package/dist/model/SubscriptionDetails.js +2 -2
  1136. package/dist/model/SubscriptionInput.d.ts +1 -1
  1137. package/dist/model/SubscriptionInput.js +2 -2
  1138. package/dist/model/SubscriptionItem.d.ts +1 -1
  1139. package/dist/model/SubscriptionItem.js +2 -2
  1140. package/dist/model/SubscriptionItemCollection.d.ts +1 -1
  1141. package/dist/model/SubscriptionItemCollection.js +2 -2
  1142. package/dist/model/SubscriptionResponse.d.ts +1 -1
  1143. package/dist/model/SubscriptionResponse.js +2 -2
  1144. package/dist/model/SubscriptionSchedule.d.ts +1 -1
  1145. package/dist/model/SubscriptionSchedule.js +2 -2
  1146. package/dist/model/SupabaseConfigInput.d.ts +1 -1
  1147. package/dist/model/SupabaseConfigInput.js +2 -2
  1148. package/dist/model/SupabaseConfigResponse.d.ts +1 -1
  1149. package/dist/model/SupabaseConfigResponse.js +2 -2
  1150. package/dist/model/Swift.d.ts +1 -1
  1151. package/dist/model/Swift.js +2 -2
  1152. package/dist/model/Tax.d.ts +1 -1
  1153. package/dist/model/Tax.js +2 -2
  1154. package/dist/model/TaxAmount.d.ts +1 -1
  1155. package/dist/model/TaxAmount.js +2 -2
  1156. package/dist/model/TaxCode.d.ts +1 -1
  1157. package/dist/model/TaxCode.js +2 -2
  1158. package/dist/model/TaxId.d.ts +1 -1
  1159. package/dist/model/TaxId.js +2 -2
  1160. package/dist/model/TaxIdCollection.d.ts +1 -1
  1161. package/dist/model/TaxIdCollection.js +2 -2
  1162. package/dist/model/TaxRate.d.ts +1 -1
  1163. package/dist/model/TaxRate.js +2 -2
  1164. package/dist/model/Template.d.ts +3 -3
  1165. package/dist/model/Template.js +18 -18
  1166. package/dist/model/TemplateInput.d.ts +1 -1
  1167. package/dist/model/TemplateInput.js +2 -2
  1168. package/dist/model/TemplateResponse.d.ts +1 -1
  1169. package/dist/model/TemplateResponse.js +2 -2
  1170. package/dist/model/TemplateSchema.d.ts +3 -3
  1171. package/dist/model/TemplateSchema.js +18 -18
  1172. package/dist/model/TermsOfServiceAcceptance.d.ts +1 -1
  1173. package/dist/model/TermsOfServiceAcceptance.js +2 -2
  1174. package/dist/model/TestClock.d.ts +1 -1
  1175. package/dist/model/TestClock.js +2 -2
  1176. package/dist/model/TestConnectionRequest.d.ts +44 -0
  1177. package/dist/model/TestConnectionRequest.js +140 -0
  1178. package/dist/model/TestConnectionResponse.d.ts +45 -0
  1179. package/dist/model/TestConnectionResponse.js +168 -0
  1180. package/dist/model/Text.d.ts +1 -1
  1181. package/dist/model/Text.js +2 -2
  1182. package/dist/model/ThemeMapping.d.ts +2 -2
  1183. package/dist/model/ThemeMapping.js +15 -15
  1184. package/dist/model/ThemeMappingPayload.d.ts +2 -2
  1185. package/dist/model/ThemeMappingPayload.js +9 -9
  1186. package/dist/model/ThreeDSecure.d.ts +1 -3
  1187. package/dist/model/ThreeDSecure.js +2 -22
  1188. package/dist/model/ThreeDSecureUsage.d.ts +1 -1
  1189. package/dist/model/ThreeDSecureUsage.js +2 -2
  1190. package/dist/model/ThresholdReason.d.ts +1 -1
  1191. package/dist/model/ThresholdReason.js +2 -2
  1192. package/dist/model/Tier.d.ts +1 -1
  1193. package/dist/model/Tier.js +2 -2
  1194. package/dist/model/Timezone.d.ts +1 -1
  1195. package/dist/model/Timezone.js +2 -2
  1196. package/dist/model/Timezone1.d.ts +1 -1
  1197. package/dist/model/Timezone1.js +2 -2
  1198. package/dist/model/Tip.d.ts +1 -1
  1199. package/dist/model/Tip.js +2 -2
  1200. package/dist/model/TopicInfoResponse.d.ts +1 -1
  1201. package/dist/model/TopicInfoResponse.js +2 -2
  1202. package/dist/model/TopicMessageInput.d.ts +1 -1
  1203. package/dist/model/TopicMessageInput.js +2 -2
  1204. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  1205. package/dist/model/TopicSubscriptionResponse.js +2 -2
  1206. package/dist/model/TosAcceptance.d.ts +1 -1
  1207. package/dist/model/TosAcceptance.js +2 -2
  1208. package/dist/model/TotalDetails.d.ts +1 -1
  1209. package/dist/model/TotalDetails.js +2 -2
  1210. package/dist/model/TotalDiscountAmount.d.ts +1 -1
  1211. package/dist/model/TotalDiscountAmount.js +2 -2
  1212. package/dist/model/TotalTaxAmount.d.ts +1 -1
  1213. package/dist/model/TotalTaxAmount.js +2 -2
  1214. package/dist/model/Transaction.d.ts +1 -1
  1215. package/dist/model/Transaction.js +2 -2
  1216. package/dist/model/Transfer.d.ts +3 -3
  1217. package/dist/model/Transfer.js +21 -21
  1218. package/dist/model/TransferData.d.ts +1 -1
  1219. package/dist/model/TransferData.js +2 -2
  1220. package/dist/model/TransferInput.d.ts +1 -1
  1221. package/dist/model/TransferInput.js +2 -2
  1222. package/dist/model/TransferResponse.d.ts +1 -1
  1223. package/dist/model/TransferResponse.js +2 -2
  1224. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +3 -3
  1225. package/dist/model/TransferResponsePaymentMethodDetails.js +21 -21
  1226. package/dist/model/TransferReversal.d.ts +2 -2
  1227. package/dist/model/TransferReversal.js +15 -15
  1228. package/dist/model/TransferReversalCollection.d.ts +1 -1
  1229. package/dist/model/TransferReversalCollection.js +2 -2
  1230. package/dist/model/TransformQuantity.d.ts +1 -1
  1231. package/dist/model/TransformQuantity.js +2 -2
  1232. package/dist/model/TransformUsage.d.ts +1 -1
  1233. package/dist/model/TransformUsage.js +2 -2
  1234. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  1235. package/dist/model/TraversalRelationResponse.js +2 -2
  1236. package/dist/model/Treasury.d.ts +1 -1
  1237. package/dist/model/Treasury.js +2 -2
  1238. package/dist/model/TrialSettings.d.ts +1 -1
  1239. package/dist/model/TrialSettings.js +2 -2
  1240. package/dist/model/URLMappingInput.d.ts +1 -1
  1241. package/dist/model/URLMappingInput.js +2 -2
  1242. package/dist/model/URLMappingResponse.d.ts +1 -1
  1243. package/dist/model/URLMappingResponse.js +2 -2
  1244. package/dist/model/Upfront.d.ts +1 -1
  1245. package/dist/model/Upfront.js +2 -2
  1246. package/dist/model/UsBankAccount.d.ts +1 -1
  1247. package/dist/model/UsBankAccount.js +2 -2
  1248. package/dist/model/User.d.ts +5 -5
  1249. package/dist/model/User.js +38 -38
  1250. package/dist/model/UserDataPayload.d.ts +5 -5
  1251. package/dist/model/UserDataPayload.js +38 -38
  1252. package/dist/model/UserDomain.d.ts +1 -1
  1253. package/dist/model/UserDomain.js +2 -2
  1254. package/dist/model/UserInvite.d.ts +6 -6
  1255. package/dist/model/UserInvite.js +43 -43
  1256. package/dist/model/UserInviteInput.d.ts +1 -1
  1257. package/dist/model/UserInviteInput.js +2 -2
  1258. package/dist/model/UserResponse.d.ts +1 -1
  1259. package/dist/model/UserResponse.js +2 -2
  1260. package/dist/model/UserSchema.d.ts +5 -5
  1261. package/dist/model/UserSchema.js +38 -38
  1262. package/dist/model/Userid.d.ts +2 -2
  1263. package/dist/model/Userid.js +9 -9
  1264. package/dist/model/UsernameReminderRequest.d.ts +1 -1
  1265. package/dist/model/UsernameReminderRequest.js +2 -2
  1266. package/dist/model/UsernameReminderResponse.d.ts +1 -1
  1267. package/dist/model/UsernameReminderResponse.js +2 -2
  1268. package/dist/model/Verification.d.ts +1 -1
  1269. package/dist/model/Verification.js +2 -2
  1270. package/dist/model/VerifyWithMicrodeposits.d.ts +1 -1
  1271. package/dist/model/VerifyWithMicrodeposits.js +2 -2
  1272. package/dist/model/Video.d.ts +1 -1
  1273. package/dist/model/Video.js +2 -2
  1274. package/dist/model/VideoLiveUrl.d.ts +1 -1
  1275. package/dist/model/VideoLiveUrl.js +2 -2
  1276. package/dist/model/VideoSchema.d.ts +12 -12
  1277. package/dist/model/VideoSchema.js +83 -83
  1278. package/dist/model/VideoUploadObject.d.ts +12 -12
  1279. package/dist/model/VideoUploadObject.js +83 -83
  1280. package/dist/model/ViewInput.d.ts +1 -1
  1281. package/dist/model/ViewInput.js +2 -2
  1282. package/dist/model/ViewResponse.d.ts +1 -1
  1283. package/dist/model/ViewResponse.js +2 -2
  1284. package/dist/model/VisaCheckout.d.ts +1 -1
  1285. package/dist/model/VisaCheckout.js +2 -2
  1286. package/dist/model/Wallet.d.ts +1 -7
  1287. package/dist/model/Wallet.js +2 -84
  1288. package/dist/model/WalletHoldInput.d.ts +1 -1
  1289. package/dist/model/WalletHoldInput.js +2 -2
  1290. package/dist/model/WalletHoldResponse.d.ts +1 -1
  1291. package/dist/model/WalletHoldResponse.js +2 -2
  1292. package/dist/model/WalletPayoutInput.d.ts +1 -1
  1293. package/dist/model/WalletPayoutInput.js +2 -2
  1294. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  1295. package/dist/model/WalletPayoutResponse.js +2 -2
  1296. package/dist/model/WalletResponse.d.ts +1 -1
  1297. package/dist/model/WalletResponse.js +2 -2
  1298. package/dist/model/Wechat.d.ts +1 -1
  1299. package/dist/model/Wechat.js +2 -2
  1300. package/dist/model/WechatPay.d.ts +1 -3
  1301. package/dist/model/WechatPay.js +2 -26
  1302. package/dist/model/WechatPayDisplayQrCode.d.ts +1 -1
  1303. package/dist/model/WechatPayDisplayQrCode.js +2 -2
  1304. package/dist/model/WechatPayRedirectToAndroidApp.d.ts +1 -1
  1305. package/dist/model/WechatPayRedirectToAndroidApp.js +2 -2
  1306. package/dist/model/WechatPayRedirectToIosApp.d.ts +1 -1
  1307. package/dist/model/WechatPayRedirectToIosApp.js +2 -2
  1308. package/dist/model/Zengin.d.ts +1 -1
  1309. package/dist/model/Zengin.js +2 -2
  1310. package/dist/model/ZeusPortalCategory.d.ts +5 -5
  1311. package/dist/model/ZeusPortalCategory.js +38 -38
  1312. package/dist/model/Zip.d.ts +1 -1
  1313. package/dist/model/Zip.js +2 -2
  1314. package/package.json +2 -2
@@ -23,9 +23,18 @@ var _PaymentMethodResponse = _interopRequireDefault(require("../model/PaymentMet
23
23
  var _PaymentMethodsResponse = _interopRequireDefault(require("../model/PaymentMethodsResponse"));
24
24
  var _PayoutInput = _interopRequireDefault(require("../model/PayoutInput"));
25
25
  var _PayoutResponse = _interopRequireDefault(require("../model/PayoutResponse"));
26
+ var _PriceInput = _interopRequireDefault(require("../model/PriceInput"));
27
+ var _PriceResponse = _interopRequireDefault(require("../model/PriceResponse"));
28
+ var _ProductCategory = _interopRequireDefault(require("../model/ProductCategory"));
29
+ var _ProductCategoryInput = _interopRequireDefault(require("../model/ProductCategoryInput"));
30
+ var _ProductCategoryResponse = _interopRequireDefault(require("../model/ProductCategoryResponse"));
31
+ var _ProductInput = _interopRequireDefault(require("../model/ProductInput"));
32
+ var _ProductResponse = _interopRequireDefault(require("../model/ProductResponse"));
26
33
  var _PurgeDataDefaultResponse = _interopRequireDefault(require("../model/PurgeDataDefaultResponse"));
27
34
  var _StripeCheckoutSession = _interopRequireDefault(require("../model/StripeCheckoutSession"));
28
35
  var _StripePaymentIntent = _interopRequireDefault(require("../model/StripePaymentIntent"));
36
+ var _StripePrice = _interopRequireDefault(require("../model/StripePrice"));
37
+ var _StripeProduct = _interopRequireDefault(require("../model/StripeProduct"));
29
38
  var _StripeSubscription = _interopRequireDefault(require("../model/StripeSubscription"));
30
39
  var _SubscriptionInput = _interopRequireDefault(require("../model/SubscriptionInput"));
31
40
  var _SubscriptionResponse = _interopRequireDefault(require("../model/SubscriptionResponse"));
@@ -41,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
41
50
  * gobodo-api
42
51
  * REST Interface for Gobodo API
43
52
  *
44
- * The version of the OpenAPI document: 0.1.147
53
+ * The version of the OpenAPI document: 0.1.150
45
54
  * Contact: info@gobodo.io
46
55
  *
47
56
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,7 +61,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
52
61
  /**
53
62
  * StripeAccounts service.
54
63
  * @module api/StripeAccountsApi
55
- * @version 0.1.147
64
+ * @version 0.1.150
56
65
  */
57
66
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
58
67
  /**
@@ -257,8 +266,8 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
257
266
  }
258
267
 
259
268
  /**
260
- * Callback function to receive the result of the cancelSubscription operation.
261
- * @callback module:api/StripeAccountsApi~cancelSubscriptionCallback
269
+ * Callback function to receive the result of the cancelStripeSubscription operation.
270
+ * @callback module:api/StripeAccountsApi~cancelStripeSubscriptionCallback
262
271
  * @param {String} error Error message, if any.
263
272
  * @param {module:model/StripeSubscription} data The data returned by the service call.
264
273
  * @param {String} response The complete HTTP response.
@@ -281,17 +290,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
281
290
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
282
291
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
283
292
  * @param {String} [transactionid] The id of the transaction this operation is being run in
284
- * @param {module:api/StripeAccountsApi~cancelSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
293
+ * @param {module:api/StripeAccountsApi~cancelStripeSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
285
294
  * data is of type: {@link module:model/StripeSubscription}
286
295
  */
287
296
  }, {
288
- key: "cancelSubscription",
289
- value: function cancelSubscription(subscriptionId, opts, callback) {
297
+ key: "cancelStripeSubscription",
298
+ value: function cancelStripeSubscription(subscriptionId, opts, callback) {
290
299
  opts = opts || {};
291
300
  var postBody = null;
292
301
  // verify the required parameter 'subscriptionId' is set
293
302
  if (subscriptionId === undefined || subscriptionId === null) {
294
- throw new Error("Missing the required parameter 'subscriptionId' when calling cancelSubscription");
303
+ throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");
295
304
  }
296
305
  var pathParams = {
297
306
  'subscriptionId': subscriptionId
@@ -321,8 +330,8 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
321
330
  }
322
331
 
323
332
  /**
324
- * Callback function to receive the result of the cancelSubscriptionAtPeriodEnd operation.
325
- * @callback module:api/StripeAccountsApi~cancelSubscriptionAtPeriodEndCallback
333
+ * Callback function to receive the result of the cancelStripeSubscriptionAtPeriodEnd operation.
334
+ * @callback module:api/StripeAccountsApi~cancelStripeSubscriptionAtPeriodEndCallback
326
335
  * @param {String} error Error message, if any.
327
336
  * @param {module:model/StripeSubscription} data The data returned by the service call.
328
337
  * @param {String} response The complete HTTP response.
@@ -345,17 +354,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
345
354
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
346
355
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
347
356
  * @param {String} [transactionid] The id of the transaction this operation is being run in
348
- * @param {module:api/StripeAccountsApi~cancelSubscriptionAtPeriodEndCallback} callback The callback function, accepting three arguments: error, data, response
357
+ * @param {module:api/StripeAccountsApi~cancelStripeSubscriptionAtPeriodEndCallback} callback The callback function, accepting three arguments: error, data, response
349
358
  * data is of type: {@link module:model/StripeSubscription}
350
359
  */
351
360
  }, {
352
- key: "cancelSubscriptionAtPeriodEnd",
353
- value: function cancelSubscriptionAtPeriodEnd(subscriptionId, opts, callback) {
361
+ key: "cancelStripeSubscriptionAtPeriodEnd",
362
+ value: function cancelStripeSubscriptionAtPeriodEnd(subscriptionId, opts, callback) {
354
363
  opts = opts || {};
355
364
  var postBody = null;
356
365
  // verify the required parameter 'subscriptionId' is set
357
366
  if (subscriptionId === undefined || subscriptionId === null) {
358
- throw new Error("Missing the required parameter 'subscriptionId' when calling cancelSubscriptionAtPeriodEnd");
367
+ throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");
359
368
  }
360
369
  var pathParams = {
361
370
  'subscriptionId': subscriptionId
@@ -640,17 +649,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
640
649
  }
641
650
 
642
651
  /**
643
- * Callback function to receive the result of the createCheckoutSession operation.
644
- * @callback module:api/StripeAccountsApi~createCheckoutSessionCallback
652
+ * Callback function to receive the result of the createSiteStripePaymentAccount operation.
653
+ * @callback module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback
645
654
  * @param {String} error Error message, if any.
646
- * @param {module:model/CheckoutSessionResponse} data The data returned by the service call.
655
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
647
656
  * @param {String} response The complete HTTP response.
648
657
  */
649
658
 
650
659
  /**
651
- * Creates a Stripe Checkout Session for hosted payment page
652
- * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
653
- * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
660
+ * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
661
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
662
+ * @param {Number} siteid
663
+ * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
654
664
  * @param {Object} opts Optional parameters
655
665
  * @param {String} [authorization] The authorization token of the logged in user
656
666
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -664,19 +674,25 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
664
674
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
665
675
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
666
676
  * @param {String} [transactionid] The id of the transaction this operation is being run in
667
- * @param {module:api/StripeAccountsApi~createCheckoutSessionCallback} callback The callback function, accepting three arguments: error, data, response
668
- * data is of type: {@link module:model/CheckoutSessionResponse}
677
+ * @param {module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
678
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
669
679
  */
670
680
  }, {
671
- key: "createCheckoutSession",
672
- value: function createCheckoutSession(checkoutSessionInput, opts, callback) {
681
+ key: "createSiteStripePaymentAccount",
682
+ value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts, callback) {
673
683
  opts = opts || {};
674
- var postBody = checkoutSessionInput;
675
- // verify the required parameter 'checkoutSessionInput' is set
676
- if (checkoutSessionInput === undefined || checkoutSessionInput === null) {
677
- throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createCheckoutSession");
684
+ var postBody = createStripeAccountInput;
685
+ // verify the required parameter 'siteid' is set
686
+ if (siteid === undefined || siteid === null) {
687
+ throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
678
688
  }
679
- var pathParams = {};
689
+ // verify the required parameter 'createStripeAccountInput' is set
690
+ if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
691
+ throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
692
+ }
693
+ var pathParams = {
694
+ 'siteid': siteid
695
+ };
680
696
  var queryParams = {
681
697
  'cacheduration': opts['cacheduration'],
682
698
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -695,25 +711,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
695
711
  };
696
712
  var formParams = {};
697
713
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
698
- var contentTypes = ['application/json'];
714
+ var contentTypes = [];
699
715
  var accepts = ['application/json'];
700
- var returnType = _CheckoutSessionResponse["default"];
701
- return this.apiClient.callApi('/payments/stripe/checkout/session', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
716
+ var returnType = _ApplicationPaymentAccountResponse["default"];
717
+ return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
702
718
  }
703
719
 
704
720
  /**
705
- * Callback function to receive the result of the createSiteStripePaymentAccount operation.
706
- * @callback module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback
721
+ * Callback function to receive the result of the createStripeCheckoutSession operation.
722
+ * @callback module:api/StripeAccountsApi~createStripeCheckoutSessionCallback
707
723
  * @param {String} error Error message, if any.
708
- * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
724
+ * @param {module:model/CheckoutSessionResponse} data The data returned by the service call.
709
725
  * @param {String} response The complete HTTP response.
710
726
  */
711
727
 
712
728
  /**
713
- * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
714
- * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
715
- * @param {Number} siteid
716
- * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
729
+ * Creates a Stripe Checkout Session for hosted payment page
730
+ * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
731
+ * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
717
732
  * @param {Object} opts Optional parameters
718
733
  * @param {String} [authorization] The authorization token of the logged in user
719
734
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -727,25 +742,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
727
742
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
728
743
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
729
744
  * @param {String} [transactionid] The id of the transaction this operation is being run in
730
- * @param {module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
731
- * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
745
+ * @param {module:api/StripeAccountsApi~createStripeCheckoutSessionCallback} callback The callback function, accepting three arguments: error, data, response
746
+ * data is of type: {@link module:model/CheckoutSessionResponse}
732
747
  */
733
748
  }, {
734
- key: "createSiteStripePaymentAccount",
735
- value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts, callback) {
749
+ key: "createStripeCheckoutSession",
750
+ value: function createStripeCheckoutSession(checkoutSessionInput, opts, callback) {
736
751
  opts = opts || {};
737
- var postBody = createStripeAccountInput;
738
- // verify the required parameter 'siteid' is set
739
- if (siteid === undefined || siteid === null) {
740
- throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
741
- }
742
- // verify the required parameter 'createStripeAccountInput' is set
743
- if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
744
- throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
752
+ var postBody = checkoutSessionInput;
753
+ // verify the required parameter 'checkoutSessionInput' is set
754
+ if (checkoutSessionInput === undefined || checkoutSessionInput === null) {
755
+ throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");
745
756
  }
746
- var pathParams = {
747
- 'siteid': siteid
748
- };
757
+ var pathParams = {};
749
758
  var queryParams = {
750
759
  'cacheduration': opts['cacheduration'],
751
760
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -764,10 +773,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
764
773
  };
765
774
  var formParams = {};
766
775
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
767
- var contentTypes = [];
776
+ var contentTypes = ['application/json'];
768
777
  var accepts = ['application/json'];
769
- var returnType = _ApplicationPaymentAccountResponse["default"];
770
- return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
778
+ var returnType = _CheckoutSessionResponse["default"];
779
+ return this.apiClient.callApi('/payments/stripe/checkout/session', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
771
780
  }
772
781
 
773
782
  /**
@@ -833,17 +842,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
833
842
  }
834
843
 
835
844
  /**
836
- * Callback function to receive the result of the createSubscription operation.
837
- * @callback module:api/StripeAccountsApi~createSubscriptionCallback
845
+ * Callback function to receive the result of the createStripePrice operation.
846
+ * @callback module:api/StripeAccountsApi~createStripePriceCallback
838
847
  * @param {String} error Error message, if any.
839
- * @param {module:model/SubscriptionResponse} data The data returned by the service call.
848
+ * @param {module:model/PriceResponse} data The data returned by the service call.
840
849
  * @param {String} response The complete HTTP response.
841
850
  */
842
851
 
843
852
  /**
844
- * Creates a new subscription
845
- * Creates a recurring subscription for the logged-in user
846
- * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
853
+ * Creates a new price
854
+ * Creates a new price in Stripe
855
+ * @param {module:model/PriceInput} priceInput Contains the info to create the price
847
856
  * @param {Object} opts Optional parameters
848
857
  * @param {String} [authorization] The authorization token of the logged in user
849
858
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -857,17 +866,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
857
866
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
858
867
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
859
868
  * @param {String} [transactionid] The id of the transaction this operation is being run in
860
- * @param {module:api/StripeAccountsApi~createSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
861
- * data is of type: {@link module:model/SubscriptionResponse}
869
+ * @param {module:api/StripeAccountsApi~createStripePriceCallback} callback The callback function, accepting three arguments: error, data, response
870
+ * data is of type: {@link module:model/PriceResponse}
862
871
  */
863
872
  }, {
864
- key: "createSubscription",
865
- value: function createSubscription(subscriptionInput, opts, callback) {
873
+ key: "createStripePrice",
874
+ value: function createStripePrice(priceInput, opts, callback) {
866
875
  opts = opts || {};
867
- var postBody = subscriptionInput;
868
- // verify the required parameter 'subscriptionInput' is set
869
- if (subscriptionInput === undefined || subscriptionInput === null) {
870
- throw new Error("Missing the required parameter 'subscriptionInput' when calling createSubscription");
876
+ var postBody = priceInput;
877
+ // verify the required parameter 'priceInput' is set
878
+ if (priceInput === undefined || priceInput === null) {
879
+ throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");
871
880
  }
872
881
  var pathParams = {};
873
882
  var queryParams = {
@@ -890,19 +899,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
890
899
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
891
900
  var contentTypes = ['application/json'];
892
901
  var accepts = ['application/json'];
893
- var returnType = _SubscriptionResponse["default"];
894
- return this.apiClient.callApi('/payments/stripe/subscription', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
902
+ var returnType = _PriceResponse["default"];
903
+ return this.apiClient.callApi('/payments/stripe/price', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
895
904
  }
896
905
 
897
906
  /**
898
- * Callback function to receive the result of the deleteStripeAccount operation.
899
- * @callback module:api/StripeAccountsApi~deleteStripeAccountCallback
907
+ * Callback function to receive the result of the createStripeProduct operation.
908
+ * @callback module:api/StripeAccountsApi~createStripeProductCallback
900
909
  * @param {String} error Error message, if any.
901
- * @param {Object} data The data returned by the service call.
910
+ * @param {module:model/ProductResponse} data The data returned by the service call.
902
911
  * @param {String} response The complete HTTP response.
903
912
  */
904
913
 
905
914
  /**
915
+ * Creates a new product
916
+ * Creates a new product in Stripe
917
+ * @param {module:model/ProductInput} productInput Contains the info to create the product
906
918
  * @param {Object} opts Optional parameters
907
919
  * @param {String} [authorization] The authorization token of the logged in user
908
920
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -916,14 +928,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
916
928
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
917
929
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
918
930
  * @param {String} [transactionid] The id of the transaction this operation is being run in
919
- * @param {module:api/StripeAccountsApi~deleteStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
920
- * data is of type: {@link Object}
931
+ * @param {module:api/StripeAccountsApi~createStripeProductCallback} callback The callback function, accepting three arguments: error, data, response
932
+ * data is of type: {@link module:model/ProductResponse}
921
933
  */
922
934
  }, {
923
- key: "deleteStripeAccount",
924
- value: function deleteStripeAccount(opts, callback) {
935
+ key: "createStripeProduct",
936
+ value: function createStripeProduct(productInput, opts, callback) {
925
937
  opts = opts || {};
926
- var postBody = null;
938
+ var postBody = productInput;
939
+ // verify the required parameter 'productInput' is set
940
+ if (productInput === undefined || productInput === null) {
941
+ throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");
942
+ }
927
943
  var pathParams = {};
928
944
  var queryParams = {
929
945
  'cacheduration': opts['cacheduration'],
@@ -943,22 +959,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
943
959
  };
944
960
  var formParams = {};
945
961
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
946
- var contentTypes = [];
962
+ var contentTypes = ['application/json'];
947
963
  var accepts = ['application/json'];
948
- var returnType = Object;
949
- return this.apiClient.callApi('/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
964
+ var returnType = _ProductResponse["default"];
965
+ return this.apiClient.callApi('/payments/stripe/product', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
950
966
  }
951
967
 
952
968
  /**
953
- * Callback function to receive the result of the deleteStripeAccountWithId operation.
954
- * @callback module:api/StripeAccountsApi~deleteStripeAccountWithIdCallback
969
+ * Callback function to receive the result of the createStripeProductCategory operation.
970
+ * @callback module:api/StripeAccountsApi~createStripeProductCategoryCallback
955
971
  * @param {String} error Error message, if any.
956
- * @param {Object} data The data returned by the service call.
972
+ * @param {module:model/ProductCategoryResponse} data The data returned by the service call.
957
973
  * @param {String} response The complete HTTP response.
958
974
  */
959
975
 
960
976
  /**
961
- * @param {Number} accountID The id of the account to delete
977
+ * Creates a new product category
978
+ * Creates a new product category
979
+ * @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
962
980
  * @param {Object} opts Optional parameters
963
981
  * @param {String} [authorization] The authorization token of the logged in user
964
982
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -972,21 +990,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
972
990
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
973
991
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
974
992
  * @param {String} [transactionid] The id of the transaction this operation is being run in
975
- * @param {module:api/StripeAccountsApi~deleteStripeAccountWithIdCallback} callback The callback function, accepting three arguments: error, data, response
976
- * data is of type: {@link Object}
993
+ * @param {module:api/StripeAccountsApi~createStripeProductCategoryCallback} callback The callback function, accepting three arguments: error, data, response
994
+ * data is of type: {@link module:model/ProductCategoryResponse}
977
995
  */
978
996
  }, {
979
- key: "deleteStripeAccountWithId",
980
- value: function deleteStripeAccountWithId(accountID, opts, callback) {
997
+ key: "createStripeProductCategory",
998
+ value: function createStripeProductCategory(productCategoryInput, opts, callback) {
981
999
  opts = opts || {};
982
- var postBody = null;
983
- // verify the required parameter 'accountID' is set
984
- if (accountID === undefined || accountID === null) {
985
- throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");
1000
+ var postBody = productCategoryInput;
1001
+ // verify the required parameter 'productCategoryInput' is set
1002
+ if (productCategoryInput === undefined || productCategoryInput === null) {
1003
+ throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");
986
1004
  }
987
- var pathParams = {
988
- 'accountID': accountID
989
- };
1005
+ var pathParams = {};
990
1006
  var queryParams = {
991
1007
  'cacheduration': opts['cacheduration'],
992
1008
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1005,24 +1021,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1005
1021
  };
1006
1022
  var formParams = {};
1007
1023
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1008
- var contentTypes = [];
1024
+ var contentTypes = ['application/json'];
1009
1025
  var accepts = ['application/json'];
1010
- var returnType = Object;
1011
- return this.apiClient.callApi('/payments/stripe/account/{accountID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1026
+ var returnType = _ProductCategoryResponse["default"];
1027
+ return this.apiClient.callApi('/payments/stripe/product-category', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1012
1028
  }
1013
1029
 
1014
1030
  /**
1015
- * Callback function to receive the result of the deleteStripePaymentMethod operation.
1016
- * @callback module:api/StripeAccountsApi~deleteStripePaymentMethodCallback
1031
+ * Callback function to receive the result of the createStripeSubscription operation.
1032
+ * @callback module:api/StripeAccountsApi~createStripeSubscriptionCallback
1017
1033
  * @param {String} error Error message, if any.
1018
- * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
1034
+ * @param {module:model/SubscriptionResponse} data The data returned by the service call.
1019
1035
  * @param {String} response The complete HTTP response.
1020
1036
  */
1021
1037
 
1022
1038
  /**
1023
- * Adds payment methods for the customer stored in stripe
1024
- * Retrieves the payment methods for the customer stored in stripe
1025
- * @param {String} paymentMethodID The id of the payment method to delete
1039
+ * Creates a new subscription
1040
+ * Creates a recurring subscription for the logged-in user
1041
+ * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
1026
1042
  * @param {Object} opts Optional parameters
1027
1043
  * @param {String} [authorization] The authorization token of the logged in user
1028
1044
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1036,21 +1052,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1036
1052
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1037
1053
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1038
1054
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1039
- * @param {module:api/StripeAccountsApi~deleteStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
1040
- * data is of type: {@link module:model/PaymentMethodResponse}
1055
+ * @param {module:api/StripeAccountsApi~createStripeSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
1056
+ * data is of type: {@link module:model/SubscriptionResponse}
1041
1057
  */
1042
1058
  }, {
1043
- key: "deleteStripePaymentMethod",
1044
- value: function deleteStripePaymentMethod(paymentMethodID, opts, callback) {
1059
+ key: "createStripeSubscription",
1060
+ value: function createStripeSubscription(subscriptionInput, opts, callback) {
1045
1061
  opts = opts || {};
1046
- var postBody = null;
1047
- // verify the required parameter 'paymentMethodID' is set
1048
- if (paymentMethodID === undefined || paymentMethodID === null) {
1049
- throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");
1062
+ var postBody = subscriptionInput;
1063
+ // verify the required parameter 'subscriptionInput' is set
1064
+ if (subscriptionInput === undefined || subscriptionInput === null) {
1065
+ throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");
1050
1066
  }
1051
- var pathParams = {
1052
- 'paymentMethodID': paymentMethodID
1053
- };
1067
+ var pathParams = {};
1054
1068
  var queryParams = {
1055
1069
  'cacheduration': opts['cacheduration'],
1056
1070
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1069,22 +1083,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1069
1083
  };
1070
1084
  var formParams = {};
1071
1085
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1072
- var contentTypes = [];
1086
+ var contentTypes = ['application/json'];
1073
1087
  var accepts = ['application/json'];
1074
- var returnType = _PaymentMethodResponse["default"];
1075
- return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1088
+ var returnType = _SubscriptionResponse["default"];
1089
+ return this.apiClient.callApi('/payments/stripe/subscription', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1076
1090
  }
1077
1091
 
1078
1092
  /**
1079
- * Callback function to receive the result of the get6 operation.
1080
- * @callback module:api/StripeAccountsApi~get6Callback
1093
+ * Callback function to receive the result of the deleteStripeAccount operation.
1094
+ * @callback module:api/StripeAccountsApi~deleteStripeAccountCallback
1081
1095
  * @param {String} error Error message, if any.
1082
- * @param data This operation does not return a value.
1096
+ * @param {Object} data The data returned by the service call.
1083
1097
  * @param {String} response The complete HTTP response.
1084
1098
  */
1085
1099
 
1086
1100
  /**
1087
- * Root for the API
1088
1101
  * @param {Object} opts Optional parameters
1089
1102
  * @param {String} [authorization] The authorization token of the logged in user
1090
1103
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1098,11 +1111,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1098
1111
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1099
1112
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1100
1113
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1101
- * @param {module:api/StripeAccountsApi~get6Callback} callback The callback function, accepting three arguments: error, data, response
1114
+ * @param {module:api/StripeAccountsApi~deleteStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
1115
+ * data is of type: {@link Object}
1102
1116
  */
1103
1117
  }, {
1104
- key: "get6",
1105
- value: function get6(opts, callback) {
1118
+ key: "deleteStripeAccount",
1119
+ value: function deleteStripeAccount(opts, callback) {
1106
1120
  opts = opts || {};
1107
1121
  var postBody = null;
1108
1122
  var pathParams = {};
@@ -1126,21 +1140,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1126
1140
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1127
1141
  var contentTypes = [];
1128
1142
  var accepts = ['application/json'];
1129
- var returnType = null;
1130
- return this.apiClient.callApi('/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1143
+ var returnType = Object;
1144
+ return this.apiClient.callApi('/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1131
1145
  }
1132
1146
 
1133
1147
  /**
1134
- * Callback function to receive the result of the get7 operation.
1135
- * @callback module:api/StripeAccountsApi~get7Callback
1148
+ * Callback function to receive the result of the deleteStripeAccountWithId operation.
1149
+ * @callback module:api/StripeAccountsApi~deleteStripeAccountWithIdCallback
1136
1150
  * @param {String} error Error message, if any.
1137
- * @param {module:model/PurgeDataDefaultResponse} data The data returned by the service call.
1151
+ * @param {Object} data The data returned by the service call.
1138
1152
  * @param {String} response The complete HTTP response.
1139
1153
  */
1140
1154
 
1141
1155
  /**
1142
- * Gets and object by id
1143
- * @param {Number} id
1156
+ * @param {Number} accountID The id of the account to delete
1144
1157
  * @param {Object} opts Optional parameters
1145
1158
  * @param {String} [authorization] The authorization token of the logged in user
1146
1159
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1154,20 +1167,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1154
1167
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1155
1168
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1156
1169
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1157
- * @param {module:api/StripeAccountsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
1158
- * data is of type: {@link module:model/PurgeDataDefaultResponse}
1170
+ * @param {module:api/StripeAccountsApi~deleteStripeAccountWithIdCallback} callback The callback function, accepting three arguments: error, data, response
1171
+ * data is of type: {@link Object}
1159
1172
  */
1160
1173
  }, {
1161
- key: "get7",
1162
- value: function get7(id, opts, callback) {
1174
+ key: "deleteStripeAccountWithId",
1175
+ value: function deleteStripeAccountWithId(accountID, opts, callback) {
1163
1176
  opts = opts || {};
1164
1177
  var postBody = null;
1165
- // verify the required parameter 'id' is set
1166
- if (id === undefined || id === null) {
1167
- throw new Error("Missing the required parameter 'id' when calling get7");
1178
+ // verify the required parameter 'accountID' is set
1179
+ if (accountID === undefined || accountID === null) {
1180
+ throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");
1168
1181
  }
1169
1182
  var pathParams = {
1170
- 'id': id
1183
+ 'accountID': accountID
1171
1184
  };
1172
1185
  var queryParams = {
1173
1186
  'cacheduration': opts['cacheduration'],
@@ -1189,22 +1202,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1189
1202
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1190
1203
  var contentTypes = [];
1191
1204
  var accepts = ['application/json'];
1192
- var returnType = _PurgeDataDefaultResponse["default"];
1193
- return this.apiClient.callApi('/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1205
+ var returnType = Object;
1206
+ return this.apiClient.callApi('/payments/stripe/account/{accountID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1194
1207
  }
1195
1208
 
1196
1209
  /**
1197
- * Callback function to receive the result of the getApplicationStripePaymentAccount operation.
1198
- * @callback module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback
1210
+ * Callback function to receive the result of the deleteStripePaymentMethod operation.
1211
+ * @callback module:api/StripeAccountsApi~deleteStripePaymentMethodCallback
1199
1212
  * @param {String} error Error message, if any.
1200
- * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
1213
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
1201
1214
  * @param {String} response The complete HTTP response.
1202
1215
  */
1203
1216
 
1204
1217
  /**
1205
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1206
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1207
- * @param {Number} applicationid
1218
+ * Adds payment methods for the customer stored in stripe
1219
+ * Retrieves the payment methods for the customer stored in stripe
1220
+ * @param {String} paymentMethodID The id of the payment method to delete
1208
1221
  * @param {Object} opts Optional parameters
1209
1222
  * @param {String} [authorization] The authorization token of the logged in user
1210
1223
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1218,20 +1231,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1218
1231
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1219
1232
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1220
1233
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1221
- * @param {module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
1222
- * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
1234
+ * @param {module:api/StripeAccountsApi~deleteStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
1235
+ * data is of type: {@link module:model/PaymentMethodResponse}
1223
1236
  */
1224
1237
  }, {
1225
- key: "getApplicationStripePaymentAccount",
1226
- value: function getApplicationStripePaymentAccount(applicationid, opts, callback) {
1238
+ key: "deleteStripePaymentMethod",
1239
+ value: function deleteStripePaymentMethod(paymentMethodID, opts, callback) {
1227
1240
  opts = opts || {};
1228
1241
  var postBody = null;
1229
- // verify the required parameter 'applicationid' is set
1230
- if (applicationid === undefined || applicationid === null) {
1231
- throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
1242
+ // verify the required parameter 'paymentMethodID' is set
1243
+ if (paymentMethodID === undefined || paymentMethodID === null) {
1244
+ throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");
1232
1245
  }
1233
1246
  var pathParams = {
1234
- 'applicationid': applicationid
1247
+ 'paymentMethodID': paymentMethodID
1235
1248
  };
1236
1249
  var queryParams = {
1237
1250
  'cacheduration': opts['cacheduration'],
@@ -1253,22 +1266,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1253
1266
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1254
1267
  var contentTypes = [];
1255
1268
  var accepts = ['application/json'];
1256
- var returnType = _ApplicationPaymentAccountResponse["default"];
1257
- return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1269
+ var returnType = _PaymentMethodResponse["default"];
1270
+ return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1258
1271
  }
1259
1272
 
1260
1273
  /**
1261
- * Callback function to receive the result of the getCheckoutSession operation.
1262
- * @callback module:api/StripeAccountsApi~getCheckoutSessionCallback
1274
+ * Callback function to receive the result of the deleteStripePrice operation.
1275
+ * @callback module:api/StripeAccountsApi~deleteStripePriceCallback
1263
1276
  * @param {String} error Error message, if any.
1264
- * @param {module:model/StripeCheckoutSession} data The data returned by the service call.
1277
+ * @param {module:model/StripePrice} data The data returned by the service call.
1265
1278
  * @param {String} response The complete HTTP response.
1266
1279
  */
1267
1280
 
1268
1281
  /**
1269
- * Retrieves a Stripe Checkout Session
1270
- * Retrieves the details of a checkout session by ID
1271
- * @param {String} sessionId The checkout session ID
1282
+ * Archives a price
1283
+ * Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
1284
+ * @param {String} priceId The price ID
1272
1285
  * @param {Object} opts Optional parameters
1273
1286
  * @param {String} [authorization] The authorization token of the logged in user
1274
1287
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1282,20 +1295,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1282
1295
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1283
1296
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1284
1297
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1285
- * @param {module:api/StripeAccountsApi~getCheckoutSessionCallback} callback The callback function, accepting three arguments: error, data, response
1286
- * data is of type: {@link module:model/StripeCheckoutSession}
1298
+ * @param {module:api/StripeAccountsApi~deleteStripePriceCallback} callback The callback function, accepting three arguments: error, data, response
1299
+ * data is of type: {@link module:model/StripePrice}
1287
1300
  */
1288
1301
  }, {
1289
- key: "getCheckoutSession",
1290
- value: function getCheckoutSession(sessionId, opts, callback) {
1302
+ key: "deleteStripePrice",
1303
+ value: function deleteStripePrice(priceId, opts, callback) {
1291
1304
  opts = opts || {};
1292
1305
  var postBody = null;
1293
- // verify the required parameter 'sessionId' is set
1294
- if (sessionId === undefined || sessionId === null) {
1295
- throw new Error("Missing the required parameter 'sessionId' when calling getCheckoutSession");
1306
+ // verify the required parameter 'priceId' is set
1307
+ if (priceId === undefined || priceId === null) {
1308
+ throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");
1296
1309
  }
1297
1310
  var pathParams = {
1298
- 'sessionId': sessionId
1311
+ 'priceId': priceId
1299
1312
  };
1300
1313
  var queryParams = {
1301
1314
  'cacheduration': opts['cacheduration'],
@@ -1317,22 +1330,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1317
1330
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1318
1331
  var contentTypes = [];
1319
1332
  var accepts = ['application/json'];
1320
- var returnType = _StripeCheckoutSession["default"];
1321
- return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1333
+ var returnType = _StripePrice["default"];
1334
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1322
1335
  }
1323
1336
 
1324
1337
  /**
1325
- * Callback function to receive the result of the getCheckoutSessionPayment operation.
1326
- * @callback module:api/StripeAccountsApi~getCheckoutSessionPaymentCallback
1338
+ * Callback function to receive the result of the deleteStripeProduct operation.
1339
+ * @callback module:api/StripeAccountsApi~deleteStripeProductCallback
1327
1340
  * @param {String} error Error message, if any.
1328
- * @param {module:model/StripePaymentIntent} data The data returned by the service call.
1341
+ * @param {module:model/StripeProduct} data The data returned by the service call.
1329
1342
  * @param {String} response The complete HTTP response.
1330
1343
  */
1331
1344
 
1332
1345
  /**
1333
- * Retrieves the payment intent for a checkout session
1334
- * Retrieves the payment intent associated with a checkout session to verify payment status
1335
- * @param {String} sessionId The checkout session ID
1346
+ * Deletes a product
1347
+ * Deletes a product
1348
+ * @param {String} productId The product ID
1336
1349
  * @param {Object} opts Optional parameters
1337
1350
  * @param {String} [authorization] The authorization token of the logged in user
1338
1351
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1346,20 +1359,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1346
1359
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1347
1360
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1348
1361
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1349
- * @param {module:api/StripeAccountsApi~getCheckoutSessionPaymentCallback} callback The callback function, accepting three arguments: error, data, response
1350
- * data is of type: {@link module:model/StripePaymentIntent}
1362
+ * @param {module:api/StripeAccountsApi~deleteStripeProductCallback} callback The callback function, accepting three arguments: error, data, response
1363
+ * data is of type: {@link module:model/StripeProduct}
1351
1364
  */
1352
1365
  }, {
1353
- key: "getCheckoutSessionPayment",
1354
- value: function getCheckoutSessionPayment(sessionId, opts, callback) {
1366
+ key: "deleteStripeProduct",
1367
+ value: function deleteStripeProduct(productId, opts, callback) {
1355
1368
  opts = opts || {};
1356
1369
  var postBody = null;
1357
- // verify the required parameter 'sessionId' is set
1358
- if (sessionId === undefined || sessionId === null) {
1359
- throw new Error("Missing the required parameter 'sessionId' when calling getCheckoutSessionPayment");
1370
+ // verify the required parameter 'productId' is set
1371
+ if (productId === undefined || productId === null) {
1372
+ throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");
1360
1373
  }
1361
1374
  var pathParams = {
1362
- 'sessionId': sessionId
1375
+ 'productId': productId
1363
1376
  };
1364
1377
  var queryParams = {
1365
1378
  'cacheduration': opts['cacheduration'],
@@ -1381,22 +1394,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1381
1394
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1382
1395
  var contentTypes = [];
1383
1396
  var accepts = ['application/json'];
1384
- var returnType = _StripePaymentIntent["default"];
1385
- return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1397
+ var returnType = _StripeProduct["default"];
1398
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1386
1399
  }
1387
1400
 
1388
1401
  /**
1389
- * Callback function to receive the result of the getDefaultCustomerStripePaymentMethod operation.
1390
- * @callback module:api/StripeAccountsApi~getDefaultCustomerStripePaymentMethodCallback
1402
+ * Callback function to receive the result of the deleteStripeProductCategory operation.
1403
+ * @callback module:api/StripeAccountsApi~deleteStripeProductCategoryCallback
1391
1404
  * @param {String} error Error message, if any.
1392
- * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
1405
+ * @param data This operation does not return a value.
1393
1406
  * @param {String} response The complete HTTP response.
1394
1407
  */
1395
1408
 
1396
1409
  /**
1397
- * Gets the default payment method
1398
- * Retrieves the default payment for the customer stored in stripe
1399
- * @param {Number} customerID The id of the customer
1410
+ * Deletes a category
1411
+ * Deletes a category
1412
+ * @param {Number} categoryId The category ID
1400
1413
  * @param {Object} opts Optional parameters
1401
1414
  * @param {String} [authorization] The authorization token of the logged in user
1402
1415
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1410,7 +1423,252 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1410
1423
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1411
1424
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1412
1425
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1413
- * @param {module:api/StripeAccountsApi~getDefaultCustomerStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
1426
+ * @param {module:api/StripeAccountsApi~deleteStripeProductCategoryCallback} callback The callback function, accepting three arguments: error, data, response
1427
+ */
1428
+ }, {
1429
+ key: "deleteStripeProductCategory",
1430
+ value: function deleteStripeProductCategory(categoryId, opts, callback) {
1431
+ opts = opts || {};
1432
+ var postBody = null;
1433
+ // verify the required parameter 'categoryId' is set
1434
+ if (categoryId === undefined || categoryId === null) {
1435
+ throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");
1436
+ }
1437
+ var pathParams = {
1438
+ 'categoryId': categoryId
1439
+ };
1440
+ var queryParams = {
1441
+ 'cacheduration': opts['cacheduration'],
1442
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1443
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1444
+ 'cachescope': opts['cachescope'],
1445
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1446
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1447
+ };
1448
+ var headerParams = {
1449
+ 'Authorization': opts['authorization'],
1450
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1451
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1452
+ 'zeusportal-postas': opts['zeusportalPostas'],
1453
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1454
+ 'transactionid': opts['transactionid']
1455
+ };
1456
+ var formParams = {};
1457
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1458
+ var contentTypes = [];
1459
+ var accepts = [];
1460
+ var returnType = null;
1461
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1462
+ }
1463
+
1464
+ /**
1465
+ * Callback function to receive the result of the get6 operation.
1466
+ * @callback module:api/StripeAccountsApi~get6Callback
1467
+ * @param {String} error Error message, if any.
1468
+ * @param data This operation does not return a value.
1469
+ * @param {String} response The complete HTTP response.
1470
+ */
1471
+
1472
+ /**
1473
+ * Root for the API
1474
+ * @param {Object} opts Optional parameters
1475
+ * @param {String} [authorization] The authorization token of the logged in user
1476
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1477
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1478
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1479
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1480
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1481
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1482
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1483
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1484
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1485
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1486
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1487
+ * @param {module:api/StripeAccountsApi~get6Callback} callback The callback function, accepting three arguments: error, data, response
1488
+ */
1489
+ }, {
1490
+ key: "get6",
1491
+ value: function get6(opts, callback) {
1492
+ opts = opts || {};
1493
+ var postBody = null;
1494
+ var pathParams = {};
1495
+ var queryParams = {
1496
+ 'cacheduration': opts['cacheduration'],
1497
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1498
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1499
+ 'cachescope': opts['cachescope'],
1500
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1501
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1502
+ };
1503
+ var headerParams = {
1504
+ 'Authorization': opts['authorization'],
1505
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1506
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1507
+ 'zeusportal-postas': opts['zeusportalPostas'],
1508
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1509
+ 'transactionid': opts['transactionid']
1510
+ };
1511
+ var formParams = {};
1512
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1513
+ var contentTypes = [];
1514
+ var accepts = ['application/json'];
1515
+ var returnType = null;
1516
+ return this.apiClient.callApi('/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1517
+ }
1518
+
1519
+ /**
1520
+ * Callback function to receive the result of the get7 operation.
1521
+ * @callback module:api/StripeAccountsApi~get7Callback
1522
+ * @param {String} error Error message, if any.
1523
+ * @param {module:model/PurgeDataDefaultResponse} data The data returned by the service call.
1524
+ * @param {String} response The complete HTTP response.
1525
+ */
1526
+
1527
+ /**
1528
+ * Gets and object by id
1529
+ * @param {Number} id
1530
+ * @param {Object} opts Optional parameters
1531
+ * @param {String} [authorization] The authorization token of the logged in user
1532
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1533
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1534
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1535
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1536
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1537
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1538
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1539
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1540
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1541
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1542
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1543
+ * @param {module:api/StripeAccountsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
1544
+ * data is of type: {@link module:model/PurgeDataDefaultResponse}
1545
+ */
1546
+ }, {
1547
+ key: "get7",
1548
+ value: function get7(id, opts, callback) {
1549
+ opts = opts || {};
1550
+ var postBody = null;
1551
+ // verify the required parameter 'id' is set
1552
+ if (id === undefined || id === null) {
1553
+ throw new Error("Missing the required parameter 'id' when calling get7");
1554
+ }
1555
+ var pathParams = {
1556
+ 'id': id
1557
+ };
1558
+ var queryParams = {
1559
+ 'cacheduration': opts['cacheduration'],
1560
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1561
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1562
+ 'cachescope': opts['cachescope'],
1563
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1564
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1565
+ };
1566
+ var headerParams = {
1567
+ 'Authorization': opts['authorization'],
1568
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1569
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1570
+ 'zeusportal-postas': opts['zeusportalPostas'],
1571
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1572
+ 'transactionid': opts['transactionid']
1573
+ };
1574
+ var formParams = {};
1575
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1576
+ var contentTypes = [];
1577
+ var accepts = ['application/json'];
1578
+ var returnType = _PurgeDataDefaultResponse["default"];
1579
+ return this.apiClient.callApi('/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1580
+ }
1581
+
1582
+ /**
1583
+ * Callback function to receive the result of the getApplicationStripePaymentAccount operation.
1584
+ * @callback module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback
1585
+ * @param {String} error Error message, if any.
1586
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
1587
+ * @param {String} response The complete HTTP response.
1588
+ */
1589
+
1590
+ /**
1591
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1592
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1593
+ * @param {Number} applicationid
1594
+ * @param {Object} opts Optional parameters
1595
+ * @param {String} [authorization] The authorization token of the logged in user
1596
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1597
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1598
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1599
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1600
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1601
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1602
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1603
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1604
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1605
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1606
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1607
+ * @param {module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
1608
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
1609
+ */
1610
+ }, {
1611
+ key: "getApplicationStripePaymentAccount",
1612
+ value: function getApplicationStripePaymentAccount(applicationid, opts, callback) {
1613
+ opts = opts || {};
1614
+ var postBody = null;
1615
+ // verify the required parameter 'applicationid' is set
1616
+ if (applicationid === undefined || applicationid === null) {
1617
+ throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
1618
+ }
1619
+ var pathParams = {
1620
+ 'applicationid': applicationid
1621
+ };
1622
+ var queryParams = {
1623
+ 'cacheduration': opts['cacheduration'],
1624
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1625
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1626
+ 'cachescope': opts['cachescope'],
1627
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1628
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1629
+ };
1630
+ var headerParams = {
1631
+ 'Authorization': opts['authorization'],
1632
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1633
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1634
+ 'zeusportal-postas': opts['zeusportalPostas'],
1635
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1636
+ 'transactionid': opts['transactionid']
1637
+ };
1638
+ var formParams = {};
1639
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1640
+ var contentTypes = [];
1641
+ var accepts = ['application/json'];
1642
+ var returnType = _ApplicationPaymentAccountResponse["default"];
1643
+ return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1644
+ }
1645
+
1646
+ /**
1647
+ * Callback function to receive the result of the getDefaultCustomerStripePaymentMethod operation.
1648
+ * @callback module:api/StripeAccountsApi~getDefaultCustomerStripePaymentMethodCallback
1649
+ * @param {String} error Error message, if any.
1650
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
1651
+ * @param {String} response The complete HTTP response.
1652
+ */
1653
+
1654
+ /**
1655
+ * Gets the default payment method
1656
+ * Retrieves the default payment for the customer stored in stripe
1657
+ * @param {Number} customerID The id of the customer
1658
+ * @param {Object} opts Optional parameters
1659
+ * @param {String} [authorization] The authorization token of the logged in user
1660
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1661
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1662
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1663
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1664
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1665
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1666
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1667
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1668
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1669
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1670
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1671
+ * @param {module:api/StripeAccountsApi~getDefaultCustomerStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
1414
1672
  * data is of type: {@link module:model/PaymentMethodResponse}
1415
1673
  */
1416
1674
  }, {
@@ -1574,13 +1832,619 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1574
1832
  * Callback function to receive the result of the getStripeAccount operation.
1575
1833
  * @callback module:api/StripeAccountsApi~getStripeAccountCallback
1576
1834
  * @param {String} error Error message, if any.
1577
- * @param {module:model/CreateAccountResponse} data The data returned by the service call.
1835
+ * @param {module:model/CreateAccountResponse} data The data returned by the service call.
1836
+ * @param {String} response The complete HTTP response.
1837
+ */
1838
+
1839
+ /**
1840
+ * Retrieves the Stripe Account For the Logged In User
1841
+ * Retrieves the Stripe Customer Account
1842
+ * @param {Object} opts Optional parameters
1843
+ * @param {String} [authorization] The authorization token of the logged in user
1844
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1845
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1846
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1847
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1848
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1849
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1850
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1851
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1852
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1853
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1854
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1855
+ * @param {module:api/StripeAccountsApi~getStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
1856
+ * data is of type: {@link module:model/CreateAccountResponse}
1857
+ */
1858
+ }, {
1859
+ key: "getStripeAccount",
1860
+ value: function getStripeAccount(opts, callback) {
1861
+ opts = opts || {};
1862
+ var postBody = null;
1863
+ var pathParams = {};
1864
+ var queryParams = {
1865
+ 'cacheduration': opts['cacheduration'],
1866
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1867
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1868
+ 'cachescope': opts['cachescope'],
1869
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1870
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1871
+ };
1872
+ var headerParams = {
1873
+ 'Authorization': opts['authorization'],
1874
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1875
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1876
+ 'zeusportal-postas': opts['zeusportalPostas'],
1877
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1878
+ 'transactionid': opts['transactionid']
1879
+ };
1880
+ var formParams = {};
1881
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1882
+ var contentTypes = [];
1883
+ var accepts = ['application/json'];
1884
+ var returnType = _CreateAccountResponse["default"];
1885
+ return this.apiClient.callApi('/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1886
+ }
1887
+
1888
+ /**
1889
+ * Callback function to receive the result of the getStripeAccountBalance operation.
1890
+ * @callback module:api/StripeAccountsApi~getStripeAccountBalanceCallback
1891
+ * @param {String} error Error message, if any.
1892
+ * @param {module:model/BalanceResponse} data The data returned by the service call.
1893
+ * @param {String} response The complete HTTP response.
1894
+ */
1895
+
1896
+ /**
1897
+ * Gets the balance of the logged in user
1898
+ * Gets the balance of the logged in user
1899
+ * @param {Number} accountID The id of the account we are getting the balance for
1900
+ * @param {Object} opts Optional parameters
1901
+ * @param {String} [authorization] The authorization token of the logged in user
1902
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1903
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1904
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1905
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1906
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1907
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1908
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1909
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1910
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1911
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1912
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1913
+ * @param {module:api/StripeAccountsApi~getStripeAccountBalanceCallback} callback The callback function, accepting three arguments: error, data, response
1914
+ * data is of type: {@link module:model/BalanceResponse}
1915
+ */
1916
+ }, {
1917
+ key: "getStripeAccountBalance",
1918
+ value: function getStripeAccountBalance(accountID, opts, callback) {
1919
+ opts = opts || {};
1920
+ var postBody = null;
1921
+ // verify the required parameter 'accountID' is set
1922
+ if (accountID === undefined || accountID === null) {
1923
+ throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
1924
+ }
1925
+ var pathParams = {
1926
+ 'accountID': accountID
1927
+ };
1928
+ var queryParams = {
1929
+ 'cacheduration': opts['cacheduration'],
1930
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1931
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1932
+ 'cachescope': opts['cachescope'],
1933
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1934
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1935
+ };
1936
+ var headerParams = {
1937
+ 'Authorization': opts['authorization'],
1938
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1939
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1940
+ 'zeusportal-postas': opts['zeusportalPostas'],
1941
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1942
+ 'transactionid': opts['transactionid']
1943
+ };
1944
+ var formParams = {};
1945
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1946
+ var contentTypes = [];
1947
+ var accepts = ['application/json'];
1948
+ var returnType = _BalanceResponse["default"];
1949
+ return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1950
+ }
1951
+
1952
+ /**
1953
+ * Callback function to receive the result of the getStripeApiKey operation.
1954
+ * @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
1955
+ * @param {String} error Error message, if any.
1956
+ * @param {String} data The data returned by the service call.
1957
+ * @param {String} response The complete HTTP response.
1958
+ */
1959
+
1960
+ /**
1961
+ * Returns the publishable API key for Stripe
1962
+ * Returns the publishable API key for Stripe
1963
+ * @param {Object} opts Optional parameters
1964
+ * @param {String} [authorization] The authorization token of the logged in user
1965
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1966
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1967
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1968
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1969
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1970
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1971
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1972
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
1973
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1974
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1975
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1976
+ * @param {module:api/StripeAccountsApi~getStripeApiKeyCallback} callback The callback function, accepting three arguments: error, data, response
1977
+ * data is of type: {@link String}
1978
+ */
1979
+ }, {
1980
+ key: "getStripeApiKey",
1981
+ value: function getStripeApiKey(opts, callback) {
1982
+ opts = opts || {};
1983
+ var postBody = null;
1984
+ var pathParams = {};
1985
+ var queryParams = {
1986
+ 'cacheduration': opts['cacheduration'],
1987
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1988
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1989
+ 'cachescope': opts['cachescope'],
1990
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1991
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1992
+ };
1993
+ var headerParams = {
1994
+ 'Authorization': opts['authorization'],
1995
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1996
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
1997
+ 'zeusportal-postas': opts['zeusportalPostas'],
1998
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1999
+ 'transactionid': opts['transactionid']
2000
+ };
2001
+ var formParams = {};
2002
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2003
+ var contentTypes = [];
2004
+ var accepts = ['text/plain'];
2005
+ var returnType = 'String';
2006
+ return this.apiClient.callApi('/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2007
+ }
2008
+
2009
+ /**
2010
+ * Callback function to receive the result of the getStripeBalance operation.
2011
+ * @callback module:api/StripeAccountsApi~getStripeBalanceCallback
2012
+ * @param {String} error Error message, if any.
2013
+ * @param {module:model/BalanceResponse} data The data returned by the service call.
2014
+ * @param {String} response The complete HTTP response.
2015
+ */
2016
+
2017
+ /**
2018
+ * Gets the balance of the logged in user
2019
+ * Gets the balance of the logged in user
2020
+ * @param {Object} opts Optional parameters
2021
+ * @param {String} [authorization] The authorization token of the logged in user
2022
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2023
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2024
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2025
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2026
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2027
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2028
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2029
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2030
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2031
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2032
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2033
+ * @param {module:api/StripeAccountsApi~getStripeBalanceCallback} callback The callback function, accepting three arguments: error, data, response
2034
+ * data is of type: {@link module:model/BalanceResponse}
2035
+ */
2036
+ }, {
2037
+ key: "getStripeBalance",
2038
+ value: function getStripeBalance(opts, callback) {
2039
+ opts = opts || {};
2040
+ var postBody = null;
2041
+ var pathParams = {};
2042
+ var queryParams = {
2043
+ 'cacheduration': opts['cacheduration'],
2044
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2045
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2046
+ 'cachescope': opts['cachescope'],
2047
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2048
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2049
+ };
2050
+ var headerParams = {
2051
+ 'Authorization': opts['authorization'],
2052
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2053
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2054
+ 'zeusportal-postas': opts['zeusportalPostas'],
2055
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2056
+ 'transactionid': opts['transactionid']
2057
+ };
2058
+ var formParams = {};
2059
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2060
+ var contentTypes = [];
2061
+ var accepts = ['application/json'];
2062
+ var returnType = _BalanceResponse["default"];
2063
+ return this.apiClient.callApi('/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2064
+ }
2065
+
2066
+ /**
2067
+ * Callback function to receive the result of the getStripeCheckoutSession operation.
2068
+ * @callback module:api/StripeAccountsApi~getStripeCheckoutSessionCallback
2069
+ * @param {String} error Error message, if any.
2070
+ * @param {module:model/StripeCheckoutSession} data The data returned by the service call.
2071
+ * @param {String} response The complete HTTP response.
2072
+ */
2073
+
2074
+ /**
2075
+ * Retrieves a Stripe Checkout Session
2076
+ * Retrieves the details of a checkout session by ID
2077
+ * @param {String} sessionId The checkout session ID
2078
+ * @param {Object} opts Optional parameters
2079
+ * @param {String} [authorization] The authorization token of the logged in user
2080
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2081
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2082
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2083
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2084
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2085
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2086
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2087
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2088
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2089
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2090
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2091
+ * @param {module:api/StripeAccountsApi~getStripeCheckoutSessionCallback} callback The callback function, accepting three arguments: error, data, response
2092
+ * data is of type: {@link module:model/StripeCheckoutSession}
2093
+ */
2094
+ }, {
2095
+ key: "getStripeCheckoutSession",
2096
+ value: function getStripeCheckoutSession(sessionId, opts, callback) {
2097
+ opts = opts || {};
2098
+ var postBody = null;
2099
+ // verify the required parameter 'sessionId' is set
2100
+ if (sessionId === undefined || sessionId === null) {
2101
+ throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");
2102
+ }
2103
+ var pathParams = {
2104
+ 'sessionId': sessionId
2105
+ };
2106
+ var queryParams = {
2107
+ 'cacheduration': opts['cacheduration'],
2108
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2109
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2110
+ 'cachescope': opts['cachescope'],
2111
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2112
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2113
+ };
2114
+ var headerParams = {
2115
+ 'Authorization': opts['authorization'],
2116
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2117
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2118
+ 'zeusportal-postas': opts['zeusportalPostas'],
2119
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2120
+ 'transactionid': opts['transactionid']
2121
+ };
2122
+ var formParams = {};
2123
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2124
+ var contentTypes = [];
2125
+ var accepts = ['application/json'];
2126
+ var returnType = _StripeCheckoutSession["default"];
2127
+ return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2128
+ }
2129
+
2130
+ /**
2131
+ * Callback function to receive the result of the getStripeCheckoutSessionPayment operation.
2132
+ * @callback module:api/StripeAccountsApi~getStripeCheckoutSessionPaymentCallback
2133
+ * @param {String} error Error message, if any.
2134
+ * @param {module:model/StripePaymentIntent} data The data returned by the service call.
2135
+ * @param {String} response The complete HTTP response.
2136
+ */
2137
+
2138
+ /**
2139
+ * Retrieves the payment intent for a checkout session
2140
+ * Retrieves the payment intent associated with a checkout session to verify payment status
2141
+ * @param {String} sessionId The checkout session ID
2142
+ * @param {Object} opts Optional parameters
2143
+ * @param {String} [authorization] The authorization token of the logged in user
2144
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2145
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2146
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2147
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2148
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2149
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2150
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2151
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2152
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2153
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2154
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2155
+ * @param {module:api/StripeAccountsApi~getStripeCheckoutSessionPaymentCallback} callback The callback function, accepting three arguments: error, data, response
2156
+ * data is of type: {@link module:model/StripePaymentIntent}
2157
+ */
2158
+ }, {
2159
+ key: "getStripeCheckoutSessionPayment",
2160
+ value: function getStripeCheckoutSessionPayment(sessionId, opts, callback) {
2161
+ opts = opts || {};
2162
+ var postBody = null;
2163
+ // verify the required parameter 'sessionId' is set
2164
+ if (sessionId === undefined || sessionId === null) {
2165
+ throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");
2166
+ }
2167
+ var pathParams = {
2168
+ 'sessionId': sessionId
2169
+ };
2170
+ var queryParams = {
2171
+ 'cacheduration': opts['cacheduration'],
2172
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2173
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2174
+ 'cachescope': opts['cachescope'],
2175
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2176
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2177
+ };
2178
+ var headerParams = {
2179
+ 'Authorization': opts['authorization'],
2180
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2181
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2182
+ 'zeusportal-postas': opts['zeusportalPostas'],
2183
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2184
+ 'transactionid': opts['transactionid']
2185
+ };
2186
+ var formParams = {};
2187
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2188
+ var contentTypes = [];
2189
+ var accepts = ['application/json'];
2190
+ var returnType = _StripePaymentIntent["default"];
2191
+ return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2192
+ }
2193
+
2194
+ /**
2195
+ * Callback function to receive the result of the getStripeCustomerAccount operation.
2196
+ * @callback module:api/StripeAccountsApi~getStripeCustomerAccountCallback
2197
+ * @param {String} error Error message, if any.
2198
+ * @param {module:model/CustomerResponse} data The data returned by the service call.
2199
+ * @param {String} response The complete HTTP response.
2200
+ */
2201
+
2202
+ /**
2203
+ * Retrieves the Stripe Customer Account For the Logged In User
2204
+ * Retrieves the Stripe Customer Account
2205
+ * @param {Object} opts Optional parameters
2206
+ * @param {String} [authorization] The authorization token of the logged in user
2207
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2208
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2209
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2210
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2211
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2212
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2213
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2214
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2215
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2216
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2217
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2218
+ * @param {module:api/StripeAccountsApi~getStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
2219
+ * data is of type: {@link module:model/CustomerResponse}
2220
+ */
2221
+ }, {
2222
+ key: "getStripeCustomerAccount",
2223
+ value: function getStripeCustomerAccount(opts, callback) {
2224
+ opts = opts || {};
2225
+ var postBody = null;
2226
+ var pathParams = {};
2227
+ var queryParams = {
2228
+ 'cacheduration': opts['cacheduration'],
2229
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2230
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2231
+ 'cachescope': opts['cachescope'],
2232
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2233
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2234
+ };
2235
+ var headerParams = {
2236
+ 'Authorization': opts['authorization'],
2237
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2238
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2239
+ 'zeusportal-postas': opts['zeusportalPostas'],
2240
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2241
+ 'transactionid': opts['transactionid']
2242
+ };
2243
+ var formParams = {};
2244
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2245
+ var contentTypes = [];
2246
+ var accepts = ['application/json'];
2247
+ var returnType = _CustomerResponse["default"];
2248
+ return this.apiClient.callApi('/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2249
+ }
2250
+
2251
+ /**
2252
+ * Callback function to receive the result of the getStripeCustomerPaymentMethods operation.
2253
+ * @callback module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback
2254
+ * @param {String} error Error message, if any.
2255
+ * @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
2256
+ * @param {String} response The complete HTTP response.
2257
+ */
2258
+
2259
+ /**
2260
+ * Retrieves the payment methods for the customer stored in stripe
2261
+ * Retrieves the payment methods for the customer stored in stripe
2262
+ * @param {Number} customerID The customerid to update
2263
+ * @param {Object} opts Optional parameters
2264
+ * @param {String} [authorization] The authorization token of the logged in user
2265
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2266
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2267
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2268
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2269
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2270
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2271
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2272
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2273
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2274
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2275
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2276
+ * @param {module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
2277
+ * data is of type: {@link module:model/PaymentMethodsResponse}
2278
+ */
2279
+ }, {
2280
+ key: "getStripeCustomerPaymentMethods",
2281
+ value: function getStripeCustomerPaymentMethods(customerID, opts, callback) {
2282
+ opts = opts || {};
2283
+ var postBody = null;
2284
+ // verify the required parameter 'customerID' is set
2285
+ if (customerID === undefined || customerID === null) {
2286
+ throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
2287
+ }
2288
+ var pathParams = {
2289
+ 'customerID': customerID
2290
+ };
2291
+ var queryParams = {
2292
+ 'cacheduration': opts['cacheduration'],
2293
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2294
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2295
+ 'cachescope': opts['cachescope'],
2296
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2297
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2298
+ };
2299
+ var headerParams = {
2300
+ 'Authorization': opts['authorization'],
2301
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2302
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2303
+ 'zeusportal-postas': opts['zeusportalPostas'],
2304
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2305
+ 'transactionid': opts['transactionid']
2306
+ };
2307
+ var formParams = {};
2308
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2309
+ var contentTypes = [];
2310
+ var accepts = ['application/json'];
2311
+ var returnType = _PaymentMethodsResponse["default"];
2312
+ return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2313
+ }
2314
+
2315
+ /**
2316
+ * Callback function to receive the result of the getStripePaymentMethods operation.
2317
+ * @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
2318
+ * @param {String} error Error message, if any.
2319
+ * @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
2320
+ * @param {String} response The complete HTTP response.
2321
+ */
2322
+
2323
+ /**
2324
+ * Retrieves the payment methods for the customer stored in stripe
2325
+ * Retrieves the payment methods for the customer stored in stripe
2326
+ * @param {Object} opts Optional parameters
2327
+ * @param {String} [authorization] The authorization token of the logged in user
2328
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2329
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2330
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2331
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2332
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2333
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2334
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2335
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2336
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2337
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2338
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2339
+ * @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
2340
+ * data is of type: {@link module:model/PaymentMethodsResponse}
2341
+ */
2342
+ }, {
2343
+ key: "getStripePaymentMethods",
2344
+ value: function getStripePaymentMethods(opts, callback) {
2345
+ opts = opts || {};
2346
+ var postBody = null;
2347
+ var pathParams = {};
2348
+ var queryParams = {
2349
+ 'cacheduration': opts['cacheduration'],
2350
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2351
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2352
+ 'cachescope': opts['cachescope'],
2353
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2354
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2355
+ };
2356
+ var headerParams = {
2357
+ 'Authorization': opts['authorization'],
2358
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2359
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2360
+ 'zeusportal-postas': opts['zeusportalPostas'],
2361
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2362
+ 'transactionid': opts['transactionid']
2363
+ };
2364
+ var formParams = {};
2365
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2366
+ var contentTypes = [];
2367
+ var accepts = ['application/json'];
2368
+ var returnType = _PaymentMethodsResponse["default"];
2369
+ return this.apiClient.callApi('/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2370
+ }
2371
+
2372
+ /**
2373
+ * Callback function to receive the result of the getStripePrice operation.
2374
+ * @callback module:api/StripeAccountsApi~getStripePriceCallback
2375
+ * @param {String} error Error message, if any.
2376
+ * @param {module:model/StripePrice} data The data returned by the service call.
2377
+ * @param {String} response The complete HTTP response.
2378
+ */
2379
+
2380
+ /**
2381
+ * Retrieves a price by ID
2382
+ * Gets the details of a specific price
2383
+ * @param {String} priceId The price ID
2384
+ * @param {Object} opts Optional parameters
2385
+ * @param {String} [authorization] The authorization token of the logged in user
2386
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2387
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2388
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2389
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2390
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2391
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2392
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2393
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2394
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2395
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2396
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2397
+ * @param {module:api/StripeAccountsApi~getStripePriceCallback} callback The callback function, accepting three arguments: error, data, response
2398
+ * data is of type: {@link module:model/StripePrice}
2399
+ */
2400
+ }, {
2401
+ key: "getStripePrice",
2402
+ value: function getStripePrice(priceId, opts, callback) {
2403
+ opts = opts || {};
2404
+ var postBody = null;
2405
+ // verify the required parameter 'priceId' is set
2406
+ if (priceId === undefined || priceId === null) {
2407
+ throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");
2408
+ }
2409
+ var pathParams = {
2410
+ 'priceId': priceId
2411
+ };
2412
+ var queryParams = {
2413
+ 'cacheduration': opts['cacheduration'],
2414
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2415
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2416
+ 'cachescope': opts['cachescope'],
2417
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2418
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2419
+ };
2420
+ var headerParams = {
2421
+ 'Authorization': opts['authorization'],
2422
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2423
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2424
+ 'zeusportal-postas': opts['zeusportalPostas'],
2425
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2426
+ 'transactionid': opts['transactionid']
2427
+ };
2428
+ var formParams = {};
2429
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2430
+ var contentTypes = [];
2431
+ var accepts = ['application/json'];
2432
+ var returnType = _StripePrice["default"];
2433
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2434
+ }
2435
+
2436
+ /**
2437
+ * Callback function to receive the result of the getStripeProduct operation.
2438
+ * @callback module:api/StripeAccountsApi~getStripeProductCallback
2439
+ * @param {String} error Error message, if any.
2440
+ * @param {module:model/StripeProduct} data The data returned by the service call.
1578
2441
  * @param {String} response The complete HTTP response.
1579
2442
  */
1580
2443
 
1581
2444
  /**
1582
- * Retrieves the Stripe Account For the Logged In User
1583
- * Retrieves the Stripe Customer Account
2445
+ * Retrieves a product by ID
2446
+ * Gets the details of a specific product
2447
+ * @param {String} productId The product ID
1584
2448
  * @param {Object} opts Optional parameters
1585
2449
  * @param {String} [authorization] The authorization token of the logged in user
1586
2450
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1594,15 +2458,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1594
2458
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1595
2459
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1596
2460
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1597
- * @param {module:api/StripeAccountsApi~getStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
1598
- * data is of type: {@link module:model/CreateAccountResponse}
2461
+ * @param {module:api/StripeAccountsApi~getStripeProductCallback} callback The callback function, accepting three arguments: error, data, response
2462
+ * data is of type: {@link module:model/StripeProduct}
1599
2463
  */
1600
2464
  }, {
1601
- key: "getStripeAccount",
1602
- value: function getStripeAccount(opts, callback) {
2465
+ key: "getStripeProduct",
2466
+ value: function getStripeProduct(productId, opts, callback) {
1603
2467
  opts = opts || {};
1604
2468
  var postBody = null;
1605
- var pathParams = {};
2469
+ // verify the required parameter 'productId' is set
2470
+ if (productId === undefined || productId === null) {
2471
+ throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");
2472
+ }
2473
+ var pathParams = {
2474
+ 'productId': productId
2475
+ };
1606
2476
  var queryParams = {
1607
2477
  'cacheduration': opts['cacheduration'],
1608
2478
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1623,22 +2493,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1623
2493
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1624
2494
  var contentTypes = [];
1625
2495
  var accepts = ['application/json'];
1626
- var returnType = _CreateAccountResponse["default"];
1627
- return this.apiClient.callApi('/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2496
+ var returnType = _StripeProduct["default"];
2497
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1628
2498
  }
1629
2499
 
1630
2500
  /**
1631
- * Callback function to receive the result of the getStripeAccountBalance operation.
1632
- * @callback module:api/StripeAccountsApi~getStripeAccountBalanceCallback
2501
+ * Callback function to receive the result of the getStripeProductCategory operation.
2502
+ * @callback module:api/StripeAccountsApi~getStripeProductCategoryCallback
1633
2503
  * @param {String} error Error message, if any.
1634
- * @param {module:model/BalanceResponse} data The data returned by the service call.
2504
+ * @param {module:model/ProductCategory} data The data returned by the service call.
1635
2505
  * @param {String} response The complete HTTP response.
1636
2506
  */
1637
2507
 
1638
2508
  /**
1639
- * Gets the balance of the logged in user
1640
- * Gets the balance of the logged in user
1641
- * @param {Number} accountID The id of the account we are getting the balance for
2509
+ * Retrieves a category by ID
2510
+ * Gets the details of a specific category
2511
+ * @param {Number} categoryId The category ID
1642
2512
  * @param {Object} opts Optional parameters
1643
2513
  * @param {String} [authorization] The authorization token of the logged in user
1644
2514
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1652,20 +2522,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1652
2522
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1653
2523
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1654
2524
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1655
- * @param {module:api/StripeAccountsApi~getStripeAccountBalanceCallback} callback The callback function, accepting three arguments: error, data, response
1656
- * data is of type: {@link module:model/BalanceResponse}
2525
+ * @param {module:api/StripeAccountsApi~getStripeProductCategoryCallback} callback The callback function, accepting three arguments: error, data, response
2526
+ * data is of type: {@link module:model/ProductCategory}
1657
2527
  */
1658
2528
  }, {
1659
- key: "getStripeAccountBalance",
1660
- value: function getStripeAccountBalance(accountID, opts, callback) {
2529
+ key: "getStripeProductCategory",
2530
+ value: function getStripeProductCategory(categoryId, opts, callback) {
1661
2531
  opts = opts || {};
1662
2532
  var postBody = null;
1663
- // verify the required parameter 'accountID' is set
1664
- if (accountID === undefined || accountID === null) {
1665
- throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
2533
+ // verify the required parameter 'categoryId' is set
2534
+ if (categoryId === undefined || categoryId === null) {
2535
+ throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");
1666
2536
  }
1667
2537
  var pathParams = {
1668
- 'accountID': accountID
2538
+ 'categoryId': categoryId
1669
2539
  };
1670
2540
  var queryParams = {
1671
2541
  'cacheduration': opts['cacheduration'],
@@ -1687,21 +2557,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1687
2557
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1688
2558
  var contentTypes = [];
1689
2559
  var accepts = ['application/json'];
1690
- var returnType = _BalanceResponse["default"];
1691
- return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2560
+ var returnType = _ProductCategory["default"];
2561
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1692
2562
  }
1693
2563
 
1694
2564
  /**
1695
- * Callback function to receive the result of the getStripeApiKey operation.
1696
- * @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
2565
+ * Callback function to receive the result of the getStripeProductCategoryByKey operation.
2566
+ * @callback module:api/StripeAccountsApi~getStripeProductCategoryByKeyCallback
1697
2567
  * @param {String} error Error message, if any.
1698
- * @param {String} data The data returned by the service call.
2568
+ * @param {module:model/ProductCategory} data The data returned by the service call.
1699
2569
  * @param {String} response The complete HTTP response.
1700
2570
  */
1701
2571
 
1702
2572
  /**
1703
- * Returns the publishable API key for Stripe
1704
- * Returns the publishable API key for Stripe
2573
+ * Retrieves a category by unique key
2574
+ * Gets the details of a specific category by its unique key
2575
+ * @param {String} key The category key
1705
2576
  * @param {Object} opts Optional parameters
1706
2577
  * @param {String} [authorization] The authorization token of the logged in user
1707
2578
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1715,15 +2586,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1715
2586
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1716
2587
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1717
2588
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1718
- * @param {module:api/StripeAccountsApi~getStripeApiKeyCallback} callback The callback function, accepting three arguments: error, data, response
1719
- * data is of type: {@link String}
2589
+ * @param {module:api/StripeAccountsApi~getStripeProductCategoryByKeyCallback} callback The callback function, accepting three arguments: error, data, response
2590
+ * data is of type: {@link module:model/ProductCategory}
1720
2591
  */
1721
2592
  }, {
1722
- key: "getStripeApiKey",
1723
- value: function getStripeApiKey(opts, callback) {
2593
+ key: "getStripeProductCategoryByKey",
2594
+ value: function getStripeProductCategoryByKey(key, opts, callback) {
1724
2595
  opts = opts || {};
1725
2596
  var postBody = null;
1726
- var pathParams = {};
2597
+ // verify the required parameter 'key' is set
2598
+ if (key === undefined || key === null) {
2599
+ throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");
2600
+ }
2601
+ var pathParams = {
2602
+ 'key': key
2603
+ };
1727
2604
  var queryParams = {
1728
2605
  'cacheduration': opts['cacheduration'],
1729
2606
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1743,22 +2620,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1743
2620
  var formParams = {};
1744
2621
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1745
2622
  var contentTypes = [];
1746
- var accepts = ['text/plain'];
1747
- var returnType = 'String';
1748
- return this.apiClient.callApi('/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2623
+ var accepts = ['application/json'];
2624
+ var returnType = _ProductCategory["default"];
2625
+ return this.apiClient.callApi('/payments/stripe/product-category/key/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1749
2626
  }
1750
2627
 
1751
2628
  /**
1752
- * Callback function to receive the result of the getStripeBalance operation.
1753
- * @callback module:api/StripeAccountsApi~getStripeBalanceCallback
2629
+ * Callback function to receive the result of the getStripeSubscriptions operation.
2630
+ * @callback module:api/StripeAccountsApi~getStripeSubscriptionsCallback
1754
2631
  * @param {String} error Error message, if any.
1755
- * @param {module:model/BalanceResponse} data The data returned by the service call.
2632
+ * @param {Array.<module:model/StripeSubscription>} data The data returned by the service call.
1756
2633
  * @param {String} response The complete HTTP response.
1757
2634
  */
1758
2635
 
1759
2636
  /**
1760
- * Gets the balance of the logged in user
1761
- * Gets the balance of the logged in user
2637
+ * Lists all subscriptions for the logged-in user
2638
+ * Retrieves all subscriptions for the current user
1762
2639
  * @param {Object} opts Optional parameters
1763
2640
  * @param {String} [authorization] The authorization token of the logged in user
1764
2641
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1772,12 +2649,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1772
2649
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1773
2650
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1774
2651
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1775
- * @param {module:api/StripeAccountsApi~getStripeBalanceCallback} callback The callback function, accepting three arguments: error, data, response
1776
- * data is of type: {@link module:model/BalanceResponse}
2652
+ * @param {module:api/StripeAccountsApi~getStripeSubscriptionsCallback} callback The callback function, accepting three arguments: error, data, response
2653
+ * data is of type: {@link Array.<module:model/StripeSubscription>}
1777
2654
  */
1778
2655
  }, {
1779
- key: "getStripeBalance",
1780
- value: function getStripeBalance(opts, callback) {
2656
+ key: "getStripeSubscriptions",
2657
+ value: function getStripeSubscriptions(opts, callback) {
1781
2658
  opts = opts || {};
1782
2659
  var postBody = null;
1783
2660
  var pathParams = {};
@@ -1801,21 +2678,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1801
2678
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1802
2679
  var contentTypes = [];
1803
2680
  var accepts = ['application/json'];
1804
- var returnType = _BalanceResponse["default"];
1805
- return this.apiClient.callApi('/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2681
+ var returnType = [_StripeSubscription["default"]];
2682
+ return this.apiClient.callApi('/payments/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1806
2683
  }
1807
2684
 
1808
2685
  /**
1809
- * Callback function to receive the result of the getStripeCustomerAccount operation.
1810
- * @callback module:api/StripeAccountsApi~getStripeCustomerAccountCallback
2686
+ * Callback function to receive the result of the getStripeTransfer operation.
2687
+ * @callback module:api/StripeAccountsApi~getStripeTransferCallback
1811
2688
  * @param {String} error Error message, if any.
1812
- * @param {module:model/CustomerResponse} data The data returned by the service call.
2689
+ * @param {module:model/TransferResponse} data The data returned by the service call.
1813
2690
  * @param {String} response The complete HTTP response.
1814
2691
  */
1815
2692
 
1816
2693
  /**
1817
- * Retrieves the Stripe Customer Account For the Logged In User
1818
- * Retrieves the Stripe Customer Account
2694
+ * Retrieves the transfer payment with the given transferId
2695
+ * Retrieves the transfer payment with the given transferId
2696
+ * @param {String} transferID The id of the transfer
1819
2697
  * @param {Object} opts Optional parameters
1820
2698
  * @param {String} [authorization] The authorization token of the logged in user
1821
2699
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1829,15 +2707,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1829
2707
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1830
2708
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1831
2709
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1832
- * @param {module:api/StripeAccountsApi~getStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
1833
- * data is of type: {@link module:model/CustomerResponse}
2710
+ * @param {module:api/StripeAccountsApi~getStripeTransferCallback} callback The callback function, accepting three arguments: error, data, response
2711
+ * data is of type: {@link module:model/TransferResponse}
1834
2712
  */
1835
2713
  }, {
1836
- key: "getStripeCustomerAccount",
1837
- value: function getStripeCustomerAccount(opts, callback) {
2714
+ key: "getStripeTransfer",
2715
+ value: function getStripeTransfer(transferID, opts, callback) {
1838
2716
  opts = opts || {};
1839
2717
  var postBody = null;
1840
- var pathParams = {};
2718
+ // verify the required parameter 'transferID' is set
2719
+ if (transferID === undefined || transferID === null) {
2720
+ throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
2721
+ }
2722
+ var pathParams = {
2723
+ 'transferID': transferID
2724
+ };
1841
2725
  var queryParams = {
1842
2726
  'cacheduration': opts['cacheduration'],
1843
2727
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1858,22 +2742,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1858
2742
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1859
2743
  var contentTypes = [];
1860
2744
  var accepts = ['application/json'];
1861
- var returnType = _CustomerResponse["default"];
1862
- return this.apiClient.callApi('/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2745
+ var returnType = _TransferResponse["default"];
2746
+ return this.apiClient.callApi('/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1863
2747
  }
1864
2748
 
1865
2749
  /**
1866
- * Callback function to receive the result of the getStripeCustomerPaymentMethods operation.
1867
- * @callback module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback
2750
+ * Callback function to receive the result of the getStripeTransferPaymentMethodDetails operation.
2751
+ * @callback module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback
1868
2752
  * @param {String} error Error message, if any.
1869
- * @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
2753
+ * @param {module:model/TransferResponse} data The data returned by the service call.
1870
2754
  * @param {String} response The complete HTTP response.
1871
2755
  */
1872
2756
 
1873
2757
  /**
1874
- * Retrieves the payment methods for the customer stored in stripe
1875
- * Retrieves the payment methods for the customer stored in stripe
1876
- * @param {Number} customerID The customerid to update
2758
+ * Retrieves the transfer payment details with the given transferId
2759
+ * Retrieves the transfer payment with the given transferId
2760
+ * @param {String} transferID The id of the transfer
1877
2761
  * @param {Object} opts Optional parameters
1878
2762
  * @param {String} [authorization] The authorization token of the logged in user
1879
2763
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1887,20 +2771,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1887
2771
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1888
2772
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1889
2773
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1890
- * @param {module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
1891
- * data is of type: {@link module:model/PaymentMethodsResponse}
2774
+ * @param {module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback} callback The callback function, accepting three arguments: error, data, response
2775
+ * data is of type: {@link module:model/TransferResponse}
1892
2776
  */
1893
2777
  }, {
1894
- key: "getStripeCustomerPaymentMethods",
1895
- value: function getStripeCustomerPaymentMethods(customerID, opts, callback) {
2778
+ key: "getStripeTransferPaymentMethodDetails",
2779
+ value: function getStripeTransferPaymentMethodDetails(transferID, opts, callback) {
1896
2780
  opts = opts || {};
1897
2781
  var postBody = null;
1898
- // verify the required parameter 'customerID' is set
1899
- if (customerID === undefined || customerID === null) {
1900
- throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
2782
+ // verify the required parameter 'transferID' is set
2783
+ if (transferID === undefined || transferID === null) {
2784
+ throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
1901
2785
  }
1902
2786
  var pathParams = {
1903
- 'customerID': customerID
2787
+ 'transferID': transferID
1904
2788
  };
1905
2789
  var queryParams = {
1906
2790
  'cacheduration': opts['cacheduration'],
@@ -1922,21 +2806,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1922
2806
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1923
2807
  var contentTypes = [];
1924
2808
  var accepts = ['application/json'];
1925
- var returnType = _PaymentMethodsResponse["default"];
1926
- return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2809
+ var returnType = _TransferResponse["default"];
2810
+ return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1927
2811
  }
1928
2812
 
1929
2813
  /**
1930
- * Callback function to receive the result of the getStripePaymentMethods operation.
1931
- * @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
2814
+ * Callback function to receive the result of the getSubscription operation.
2815
+ * @callback module:api/StripeAccountsApi~getSubscriptionCallback
1932
2816
  * @param {String} error Error message, if any.
1933
- * @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
2817
+ * @param {module:model/StripeSubscription} data The data returned by the service call.
1934
2818
  * @param {String} response The complete HTTP response.
1935
2819
  */
1936
2820
 
1937
2821
  /**
1938
- * Retrieves the payment methods for the customer stored in stripe
1939
- * Retrieves the payment methods for the customer stored in stripe
2822
+ * Retrieves a subscription by ID
2823
+ * Gets the details of a specific subscription
2824
+ * @param {String} subscriptionId The subscription ID
1940
2825
  * @param {Object} opts Optional parameters
1941
2826
  * @param {String} [authorization] The authorization token of the logged in user
1942
2827
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1950,15 +2835,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1950
2835
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1951
2836
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1952
2837
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1953
- * @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
1954
- * data is of type: {@link module:model/PaymentMethodsResponse}
2838
+ * @param {module:api/StripeAccountsApi~getSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
2839
+ * data is of type: {@link module:model/StripeSubscription}
1955
2840
  */
1956
2841
  }, {
1957
- key: "getStripePaymentMethods",
1958
- value: function getStripePaymentMethods(opts, callback) {
2842
+ key: "getSubscription",
2843
+ value: function getSubscription(subscriptionId, opts, callback) {
1959
2844
  opts = opts || {};
1960
2845
  var postBody = null;
1961
- var pathParams = {};
2846
+ // verify the required parameter 'subscriptionId' is set
2847
+ if (subscriptionId === undefined || subscriptionId === null) {
2848
+ throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
2849
+ }
2850
+ var pathParams = {
2851
+ 'subscriptionId': subscriptionId
2852
+ };
1962
2853
  var queryParams = {
1963
2854
  'cacheduration': opts['cacheduration'],
1964
2855
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1979,22 +2870,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1979
2870
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1980
2871
  var contentTypes = [];
1981
2872
  var accepts = ['application/json'];
1982
- var returnType = _PaymentMethodsResponse["default"];
1983
- return this.apiClient.callApi('/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2873
+ var returnType = _StripeSubscription["default"];
2874
+ return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1984
2875
  }
1985
2876
 
1986
2877
  /**
1987
- * Callback function to receive the result of the getStripeTransfer operation.
1988
- * @callback module:api/StripeAccountsApi~getStripeTransferCallback
2878
+ * Callback function to receive the result of the getUserStripeAccount operation.
2879
+ * @callback module:api/StripeAccountsApi~getUserStripeAccountCallback
1989
2880
  * @param {String} error Error message, if any.
1990
- * @param {module:model/TransferResponse} data The data returned by the service call.
2881
+ * @param {module:model/CreateAccountResponse} data The data returned by the service call.
1991
2882
  * @param {String} response The complete HTTP response.
1992
2883
  */
1993
2884
 
1994
2885
  /**
1995
- * Retrieves the transfer payment with the given transferId
1996
- * Retrieves the transfer payment with the given transferId
1997
- * @param {String} transferID The id of the transfer
2886
+ * Retrieves the Stripe Account For the Specified User
2887
+ * Retrieves the Stripe Account
2888
+ * @param {Number} userID The id of the user to retrieve the account for
1998
2889
  * @param {Object} opts Optional parameters
1999
2890
  * @param {String} [authorization] The authorization token of the logged in user
2000
2891
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2008,20 +2899,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2008
2899
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2009
2900
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2010
2901
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2011
- * @param {module:api/StripeAccountsApi~getStripeTransferCallback} callback The callback function, accepting three arguments: error, data, response
2012
- * data is of type: {@link module:model/TransferResponse}
2902
+ * @param {module:api/StripeAccountsApi~getUserStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
2903
+ * data is of type: {@link module:model/CreateAccountResponse}
2013
2904
  */
2014
2905
  }, {
2015
- key: "getStripeTransfer",
2016
- value: function getStripeTransfer(transferID, opts, callback) {
2906
+ key: "getUserStripeAccount",
2907
+ value: function getUserStripeAccount(userID, opts, callback) {
2017
2908
  opts = opts || {};
2018
2909
  var postBody = null;
2019
- // verify the required parameter 'transferID' is set
2020
- if (transferID === undefined || transferID === null) {
2021
- throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
2910
+ // verify the required parameter 'userID' is set
2911
+ if (userID === undefined || userID === null) {
2912
+ throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
2022
2913
  }
2023
2914
  var pathParams = {
2024
- 'transferID': transferID
2915
+ 'userID': userID
2025
2916
  };
2026
2917
  var queryParams = {
2027
2918
  'cacheduration': opts['cacheduration'],
@@ -2043,22 +2934,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2043
2934
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2044
2935
  var contentTypes = [];
2045
2936
  var accepts = ['application/json'];
2046
- var returnType = _TransferResponse["default"];
2047
- return this.apiClient.callApi('/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2937
+ var returnType = _CreateAccountResponse["default"];
2938
+ return this.apiClient.callApi('/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2048
2939
  }
2049
2940
 
2050
2941
  /**
2051
- * Callback function to receive the result of the getStripeTransferPaymentMethodDetails operation.
2052
- * @callback module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback
2942
+ * Callback function to receive the result of the getUserStripeCustomerAccount operation.
2943
+ * @callback module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback
2053
2944
  * @param {String} error Error message, if any.
2054
- * @param {module:model/TransferResponse} data The data returned by the service call.
2945
+ * @param {module:model/CustomerResponse} data The data returned by the service call.
2055
2946
  * @param {String} response The complete HTTP response.
2056
2947
  */
2057
2948
 
2058
2949
  /**
2059
- * Retrieves the transfer payment details with the given transferId
2060
- * Retrieves the transfer payment with the given transferId
2061
- * @param {String} transferID The id of the transfer
2950
+ * Retrieves the Stripe Customer Account For the Logged In User
2951
+ * Retrieves the Stripe Customer Account
2952
+ * @param {Number} userID The id of the user to retrieve the account for
2062
2953
  * @param {Object} opts Optional parameters
2063
2954
  * @param {String} [authorization] The authorization token of the logged in user
2064
2955
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2072,20 +2963,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2072
2963
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2073
2964
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2074
2965
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2075
- * @param {module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback} callback The callback function, accepting three arguments: error, data, response
2076
- * data is of type: {@link module:model/TransferResponse}
2966
+ * @param {module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
2967
+ * data is of type: {@link module:model/CustomerResponse}
2077
2968
  */
2078
2969
  }, {
2079
- key: "getStripeTransferPaymentMethodDetails",
2080
- value: function getStripeTransferPaymentMethodDetails(transferID, opts, callback) {
2970
+ key: "getUserStripeCustomerAccount",
2971
+ value: function getUserStripeCustomerAccount(userID, opts, callback) {
2081
2972
  opts = opts || {};
2082
2973
  var postBody = null;
2083
- // verify the required parameter 'transferID' is set
2084
- if (transferID === undefined || transferID === null) {
2085
- throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
2974
+ // verify the required parameter 'userID' is set
2975
+ if (userID === undefined || userID === null) {
2976
+ throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
2086
2977
  }
2087
2978
  var pathParams = {
2088
- 'transferID': transferID
2979
+ 'userID': userID
2089
2980
  };
2090
2981
  var queryParams = {
2091
2982
  'cacheduration': opts['cacheduration'],
@@ -2107,22 +2998,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2107
2998
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2108
2999
  var contentTypes = [];
2109
3000
  var accepts = ['application/json'];
2110
- var returnType = _TransferResponse["default"];
2111
- return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3001
+ var returnType = _CustomerResponse["default"];
3002
+ return this.apiClient.callApi('/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2112
3003
  }
2113
3004
 
2114
3005
  /**
2115
- * Callback function to receive the result of the getSubscription operation.
2116
- * @callback module:api/StripeAccountsApi~getSubscriptionCallback
3006
+ * Callback function to receive the result of the handleStripeWebhook operation.
3007
+ * @callback module:api/StripeAccountsApi~handleStripeWebhookCallback
2117
3008
  * @param {String} error Error message, if any.
2118
- * @param {module:model/StripeSubscription} data The data returned by the service call.
3009
+ * @param data This operation does not return a value.
2119
3010
  * @param {String} response The complete HTTP response.
2120
3011
  */
2121
3012
 
2122
3013
  /**
2123
- * Retrieves a subscription by ID
2124
- * Gets the details of a specific subscription
2125
- * @param {String} subscriptionId The subscription ID
3014
+ * Handles Stripe webhook events
3015
+ * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
2126
3016
  * @param {Object} opts Optional parameters
2127
3017
  * @param {String} [authorization] The authorization token of the logged in user
2128
3018
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2136,21 +3026,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2136
3026
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2137
3027
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2138
3028
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2139
- * @param {module:api/StripeAccountsApi~getSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
2140
- * data is of type: {@link module:model/StripeSubscription}
3029
+ * @param {String} [body]
3030
+ * @param {module:api/StripeAccountsApi~handleStripeWebhookCallback} callback The callback function, accepting three arguments: error, data, response
2141
3031
  */
2142
3032
  }, {
2143
- key: "getSubscription",
2144
- value: function getSubscription(subscriptionId, opts, callback) {
3033
+ key: "handleStripeWebhook",
3034
+ value: function handleStripeWebhook(opts, callback) {
2145
3035
  opts = opts || {};
2146
- var postBody = null;
2147
- // verify the required parameter 'subscriptionId' is set
2148
- if (subscriptionId === undefined || subscriptionId === null) {
2149
- throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
2150
- }
2151
- var pathParams = {
2152
- 'subscriptionId': subscriptionId
2153
- };
3036
+ var postBody = opts['body'];
3037
+ var pathParams = {};
2154
3038
  var queryParams = {
2155
3039
  'cacheduration': opts['cacheduration'],
2156
3040
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2168,24 +3052,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2168
3052
  'transactionid': opts['transactionid']
2169
3053
  };
2170
3054
  var formParams = {};
2171
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2172
- var contentTypes = [];
2173
- var accepts = ['application/json'];
2174
- var returnType = _StripeSubscription["default"];
2175
- return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3055
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3056
+ var contentTypes = ['application/json'];
3057
+ var accepts = [];
3058
+ var returnType = null;
3059
+ return this.apiClient.callApi('/payments/stripe/webhook', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2176
3060
  }
2177
3061
 
2178
3062
  /**
2179
- * Callback function to receive the result of the getSubscriptions operation.
2180
- * @callback module:api/StripeAccountsApi~getSubscriptionsCallback
3063
+ * Callback function to receive the result of the listPrices operation.
3064
+ * @callback module:api/StripeAccountsApi~listPricesCallback
2181
3065
  * @param {String} error Error message, if any.
2182
- * @param {Array.<module:model/StripeSubscription>} data The data returned by the service call.
3066
+ * @param {Array.<module:model/StripePrice>} data The data returned by the service call.
2183
3067
  * @param {String} response The complete HTTP response.
2184
3068
  */
2185
3069
 
2186
3070
  /**
2187
- * Lists all subscriptions for the logged-in user
2188
- * Retrieves all subscriptions for the current user
3071
+ * Lists all prices
3072
+ * Retrieves all prices
2189
3073
  * @param {Object} opts Optional parameters
2190
3074
  * @param {String} [authorization] The authorization token of the logged in user
2191
3075
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2199,12 +3083,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2199
3083
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2200
3084
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2201
3085
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2202
- * @param {module:api/StripeAccountsApi~getSubscriptionsCallback} callback The callback function, accepting three arguments: error, data, response
2203
- * data is of type: {@link Array.<module:model/StripeSubscription>}
3086
+ * @param {module:api/StripeAccountsApi~listPricesCallback} callback The callback function, accepting three arguments: error, data, response
3087
+ * data is of type: {@link Array.<module:model/StripePrice>}
2204
3088
  */
2205
3089
  }, {
2206
- key: "getSubscriptions",
2207
- value: function getSubscriptions(opts, callback) {
3090
+ key: "listPrices",
3091
+ value: function listPrices(opts, callback) {
2208
3092
  opts = opts || {};
2209
3093
  var postBody = null;
2210
3094
  var pathParams = {};
@@ -2228,22 +3112,22 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2228
3112
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2229
3113
  var contentTypes = [];
2230
3114
  var accepts = ['application/json'];
2231
- var returnType = [_StripeSubscription["default"]];
2232
- return this.apiClient.callApi('/payments/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3115
+ var returnType = [_StripePrice["default"]];
3116
+ return this.apiClient.callApi('/payments/stripe/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2233
3117
  }
2234
3118
 
2235
3119
  /**
2236
- * Callback function to receive the result of the getUserStripeAccount operation.
2237
- * @callback module:api/StripeAccountsApi~getUserStripeAccountCallback
3120
+ * Callback function to receive the result of the listStripePricesByProduct operation.
3121
+ * @callback module:api/StripeAccountsApi~listStripePricesByProductCallback
2238
3122
  * @param {String} error Error message, if any.
2239
- * @param {module:model/CreateAccountResponse} data The data returned by the service call.
3123
+ * @param {Array.<module:model/StripePrice>} data The data returned by the service call.
2240
3124
  * @param {String} response The complete HTTP response.
2241
3125
  */
2242
3126
 
2243
3127
  /**
2244
- * Retrieves the Stripe Account For the Specified User
2245
- * Retrieves the Stripe Account
2246
- * @param {Number} userID The id of the user to retrieve the account for
3128
+ * Lists all prices for a product
3129
+ * Retrieves all prices associated with a specific product
3130
+ * @param {String} productId The product ID
2247
3131
  * @param {Object} opts Optional parameters
2248
3132
  * @param {String} [authorization] The authorization token of the logged in user
2249
3133
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2257,20 +3141,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2257
3141
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2258
3142
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2259
3143
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2260
- * @param {module:api/StripeAccountsApi~getUserStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
2261
- * data is of type: {@link module:model/CreateAccountResponse}
3144
+ * @param {module:api/StripeAccountsApi~listStripePricesByProductCallback} callback The callback function, accepting three arguments: error, data, response
3145
+ * data is of type: {@link Array.<module:model/StripePrice>}
2262
3146
  */
2263
3147
  }, {
2264
- key: "getUserStripeAccount",
2265
- value: function getUserStripeAccount(userID, opts, callback) {
3148
+ key: "listStripePricesByProduct",
3149
+ value: function listStripePricesByProduct(productId, opts, callback) {
2266
3150
  opts = opts || {};
2267
3151
  var postBody = null;
2268
- // verify the required parameter 'userID' is set
2269
- if (userID === undefined || userID === null) {
2270
- throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
3152
+ // verify the required parameter 'productId' is set
3153
+ if (productId === undefined || productId === null) {
3154
+ throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");
2271
3155
  }
2272
3156
  var pathParams = {
2273
- 'userID': userID
3157
+ 'productId': productId
2274
3158
  };
2275
3159
  var queryParams = {
2276
3160
  'cacheduration': opts['cacheduration'],
@@ -2292,22 +3176,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2292
3176
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2293
3177
  var contentTypes = [];
2294
3178
  var accepts = ['application/json'];
2295
- var returnType = _CreateAccountResponse["default"];
2296
- return this.apiClient.callApi('/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3179
+ var returnType = [_StripePrice["default"]];
3180
+ return this.apiClient.callApi('/payments/stripe/product/{productId}/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2297
3181
  }
2298
3182
 
2299
3183
  /**
2300
- * Callback function to receive the result of the getUserStripeCustomerAccount operation.
2301
- * @callback module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback
3184
+ * Callback function to receive the result of the listStripeProductCategories operation.
3185
+ * @callback module:api/StripeAccountsApi~listStripeProductCategoriesCallback
2302
3186
  * @param {String} error Error message, if any.
2303
- * @param {module:model/CustomerResponse} data The data returned by the service call.
3187
+ * @param {Array.<module:model/ProductCategory>} data The data returned by the service call.
2304
3188
  * @param {String} response The complete HTTP response.
2305
3189
  */
2306
3190
 
2307
3191
  /**
2308
- * Retrieves the Stripe Customer Account For the Logged In User
2309
- * Retrieves the Stripe Customer Account
2310
- * @param {Number} userID The id of the user to retrieve the account for
3192
+ * Lists all product categories
3193
+ * Retrieves all product categories scoped to the current ApplicationRoot
2311
3194
  * @param {Object} opts Optional parameters
2312
3195
  * @param {String} [authorization] The authorization token of the logged in user
2313
3196
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2321,21 +3204,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2321
3204
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2322
3205
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2323
3206
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2324
- * @param {module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
2325
- * data is of type: {@link module:model/CustomerResponse}
3207
+ * @param {module:api/StripeAccountsApi~listStripeProductCategoriesCallback} callback The callback function, accepting three arguments: error, data, response
3208
+ * data is of type: {@link Array.<module:model/ProductCategory>}
2326
3209
  */
2327
3210
  }, {
2328
- key: "getUserStripeCustomerAccount",
2329
- value: function getUserStripeCustomerAccount(userID, opts, callback) {
3211
+ key: "listStripeProductCategories",
3212
+ value: function listStripeProductCategories(opts, callback) {
2330
3213
  opts = opts || {};
2331
3214
  var postBody = null;
2332
- // verify the required parameter 'userID' is set
2333
- if (userID === undefined || userID === null) {
2334
- throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
2335
- }
2336
- var pathParams = {
2337
- 'userID': userID
2338
- };
3215
+ var pathParams = {};
2339
3216
  var queryParams = {
2340
3217
  'cacheduration': opts['cacheduration'],
2341
3218
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2356,21 +3233,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2356
3233
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2357
3234
  var contentTypes = [];
2358
3235
  var accepts = ['application/json'];
2359
- var returnType = _CustomerResponse["default"];
2360
- return this.apiClient.callApi('/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3236
+ var returnType = [_ProductCategory["default"]];
3237
+ return this.apiClient.callApi('/payments/stripe/product-category', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2361
3238
  }
2362
3239
 
2363
3240
  /**
2364
- * Callback function to receive the result of the handleStripeWebhook operation.
2365
- * @callback module:api/StripeAccountsApi~handleStripeWebhookCallback
3241
+ * Callback function to receive the result of the listStripeProducts operation.
3242
+ * @callback module:api/StripeAccountsApi~listStripeProductsCallback
2366
3243
  * @param {String} error Error message, if any.
2367
- * @param data This operation does not return a value.
3244
+ * @param {Array.<module:model/StripeProduct>} data The data returned by the service call.
2368
3245
  * @param {String} response The complete HTTP response.
2369
3246
  */
2370
3247
 
2371
3248
  /**
2372
- * Handles Stripe webhook events
2373
- * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
3249
+ * Lists all products
3250
+ * Retrieves all products
2374
3251
  * @param {Object} opts Optional parameters
2375
3252
  * @param {String} [authorization] The authorization token of the logged in user
2376
3253
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2384,14 +3261,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2384
3261
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2385
3262
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2386
3263
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2387
- * @param {String} [body]
2388
- * @param {module:api/StripeAccountsApi~handleStripeWebhookCallback} callback The callback function, accepting three arguments: error, data, response
3264
+ * @param {module:api/StripeAccountsApi~listStripeProductsCallback} callback The callback function, accepting three arguments: error, data, response
3265
+ * data is of type: {@link Array.<module:model/StripeProduct>}
2389
3266
  */
2390
3267
  }, {
2391
- key: "handleStripeWebhook",
2392
- value: function handleStripeWebhook(opts, callback) {
3268
+ key: "listStripeProducts",
3269
+ value: function listStripeProducts(opts, callback) {
2393
3270
  opts = opts || {};
2394
- var postBody = opts['body'];
3271
+ var postBody = null;
2395
3272
  var pathParams = {};
2396
3273
  var queryParams = {
2397
3274
  'cacheduration': opts['cacheduration'],
@@ -2411,10 +3288,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2411
3288
  };
2412
3289
  var formParams = {};
2413
3290
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2414
- var contentTypes = ['application/json'];
2415
- var accepts = [];
2416
- var returnType = null;
2417
- return this.apiClient.callApi('/payments/stripe/webhook', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3291
+ var contentTypes = [];
3292
+ var accepts = ['application/json'];
3293
+ var returnType = [_StripeProduct["default"]];
3294
+ return this.apiClient.callApi('/payments/stripe/product', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2418
3295
  }
2419
3296
 
2420
3297
  /**
@@ -2487,8 +3364,8 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2487
3364
  }
2488
3365
 
2489
3366
  /**
2490
- * Callback function to receive the result of the resumeSubscription operation.
2491
- * @callback module:api/StripeAccountsApi~resumeSubscriptionCallback
3367
+ * Callback function to receive the result of the resumeStripeSubscription operation.
3368
+ * @callback module:api/StripeAccountsApi~resumeStripeSubscriptionCallback
2492
3369
  * @param {String} error Error message, if any.
2493
3370
  * @param {module:model/StripeSubscription} data The data returned by the service call.
2494
3371
  * @param {String} response The complete HTTP response.
@@ -2511,17 +3388,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2511
3388
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2512
3389
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2513
3390
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2514
- * @param {module:api/StripeAccountsApi~resumeSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
3391
+ * @param {module:api/StripeAccountsApi~resumeStripeSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
2515
3392
  * data is of type: {@link module:model/StripeSubscription}
2516
3393
  */
2517
3394
  }, {
2518
- key: "resumeSubscription",
2519
- value: function resumeSubscription(subscriptionId, opts, callback) {
3395
+ key: "resumeStripeSubscription",
3396
+ value: function resumeStripeSubscription(subscriptionId, opts, callback) {
2520
3397
  opts = opts || {};
2521
3398
  var postBody = null;
2522
3399
  // verify the required parameter 'subscriptionId' is set
2523
3400
  if (subscriptionId === undefined || subscriptionId === null) {
2524
- throw new Error("Missing the required parameter 'subscriptionId' when calling resumeSubscription");
3401
+ throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");
2525
3402
  }
2526
3403
  var pathParams = {
2527
3404
  'subscriptionId': subscriptionId
@@ -2821,6 +3698,75 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2821
3698
  return this.apiClient.callApi('/payments/stripe/site/{siteid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2822
3699
  }
2823
3700
 
3701
+ /**
3702
+ * Callback function to receive the result of the setStripeProductCategoryParent operation.
3703
+ * @callback module:api/StripeAccountsApi~setStripeProductCategoryParentCallback
3704
+ * @param {String} error Error message, if any.
3705
+ * @param {module:model/ProductCategoryResponse} data The data returned by the service call.
3706
+ * @param {String} response The complete HTTP response.
3707
+ */
3708
+
3709
+ /**
3710
+ * Sets or removes parent category
3711
+ * Sets the parent category for a category, or removes the parent if parentCategoryId is null
3712
+ * @param {Number} categoryId The category ID
3713
+ * @param {Object.<String, {String: Object}>} requestBody Contains the parent category ID (or null to remove parent)
3714
+ * @param {Object} opts Optional parameters
3715
+ * @param {String} [authorization] The authorization token of the logged in user
3716
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3717
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3718
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3719
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3720
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3721
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3722
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3723
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3724
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3725
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3726
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3727
+ * @param {module:api/StripeAccountsApi~setStripeProductCategoryParentCallback} callback The callback function, accepting three arguments: error, data, response
3728
+ * data is of type: {@link module:model/ProductCategoryResponse}
3729
+ */
3730
+ }, {
3731
+ key: "setStripeProductCategoryParent",
3732
+ value: function setStripeProductCategoryParent(categoryId, requestBody, opts, callback) {
3733
+ opts = opts || {};
3734
+ var postBody = requestBody;
3735
+ // verify the required parameter 'categoryId' is set
3736
+ if (categoryId === undefined || categoryId === null) {
3737
+ throw new Error("Missing the required parameter 'categoryId' when calling setStripeProductCategoryParent");
3738
+ }
3739
+ // verify the required parameter 'requestBody' is set
3740
+ if (requestBody === undefined || requestBody === null) {
3741
+ throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");
3742
+ }
3743
+ var pathParams = {
3744
+ 'categoryId': categoryId
3745
+ };
3746
+ var queryParams = {
3747
+ 'cacheduration': opts['cacheduration'],
3748
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3749
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3750
+ 'cachescope': opts['cachescope'],
3751
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3752
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3753
+ };
3754
+ var headerParams = {
3755
+ 'Authorization': opts['authorization'],
3756
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3757
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3758
+ 'zeusportal-postas': opts['zeusportalPostas'],
3759
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3760
+ 'transactionid': opts['transactionid']
3761
+ };
3762
+ var formParams = {};
3763
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3764
+ var contentTypes = ['application/json'];
3765
+ var accepts = ['application/json'];
3766
+ var returnType = _ProductCategoryResponse["default"];
3767
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3768
+ }
3769
+
2824
3770
  /**
2825
3771
  * Callback function to receive the result of the stripePayout operation.
2826
3772
  * @callback module:api/StripeAccountsApi~stripePayoutCallback
@@ -3083,6 +4029,75 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3083
4029
  return this.apiClient.callApi('/payments/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3084
4030
  }
3085
4031
 
4032
+ /**
4033
+ * Callback function to receive the result of the updatePrice operation.
4034
+ * @callback module:api/StripeAccountsApi~updatePriceCallback
4035
+ * @param {String} error Error message, if any.
4036
+ * @param {module:model/PriceResponse} data The data returned by the service call.
4037
+ * @param {String} response The complete HTTP response.
4038
+ */
4039
+
4040
+ /**
4041
+ * Updates a price
4042
+ * Updates an existing price (only active status and metadata can be updated)
4043
+ * @param {String} priceId The price ID
4044
+ * @param {module:model/PriceInput} priceInput The price update data
4045
+ * @param {Object} opts Optional parameters
4046
+ * @param {String} [authorization] The authorization token of the logged in user
4047
+ * @param {Number} [cacheduration] The how long the cache entry should persist
4048
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
4049
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
4050
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
4051
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
4052
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
4053
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
4054
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
4055
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
4056
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
4057
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
4058
+ * @param {module:api/StripeAccountsApi~updatePriceCallback} callback The callback function, accepting three arguments: error, data, response
4059
+ * data is of type: {@link module:model/PriceResponse}
4060
+ */
4061
+ }, {
4062
+ key: "updatePrice",
4063
+ value: function updatePrice(priceId, priceInput, opts, callback) {
4064
+ opts = opts || {};
4065
+ var postBody = priceInput;
4066
+ // verify the required parameter 'priceId' is set
4067
+ if (priceId === undefined || priceId === null) {
4068
+ throw new Error("Missing the required parameter 'priceId' when calling updatePrice");
4069
+ }
4070
+ // verify the required parameter 'priceInput' is set
4071
+ if (priceInput === undefined || priceInput === null) {
4072
+ throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");
4073
+ }
4074
+ var pathParams = {
4075
+ 'priceId': priceId
4076
+ };
4077
+ var queryParams = {
4078
+ 'cacheduration': opts['cacheduration'],
4079
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
4080
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
4081
+ 'cachescope': opts['cachescope'],
4082
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
4083
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
4084
+ };
4085
+ var headerParams = {
4086
+ 'Authorization': opts['authorization'],
4087
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
4088
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
4089
+ 'zeusportal-postas': opts['zeusportalPostas'],
4090
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
4091
+ 'transactionid': opts['transactionid']
4092
+ };
4093
+ var formParams = {};
4094
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
4095
+ var contentTypes = ['application/json'];
4096
+ var accepts = ['application/json'];
4097
+ var returnType = _PriceResponse["default"];
4098
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
4099
+ }
4100
+
3086
4101
  /**
3087
4102
  * Callback function to receive the result of the updateStripePaymentMethod operation.
3088
4103
  * @callback module:api/StripeAccountsApi~updateStripePaymentMethodCallback
@@ -3149,8 +4164,146 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3149
4164
  }
3150
4165
 
3151
4166
  /**
3152
- * Callback function to receive the result of the updateSubscription operation.
3153
- * @callback module:api/StripeAccountsApi~updateSubscriptionCallback
4167
+ * Callback function to receive the result of the updateStripeProduct operation.
4168
+ * @callback module:api/StripeAccountsApi~updateStripeProductCallback
4169
+ * @param {String} error Error message, if any.
4170
+ * @param {module:model/ProductResponse} data The data returned by the service call.
4171
+ * @param {String} response The complete HTTP response.
4172
+ */
4173
+
4174
+ /**
4175
+ * Updates a product
4176
+ * Updates an existing product
4177
+ * @param {String} productId The product ID
4178
+ * @param {module:model/ProductInput} productInput The product update data
4179
+ * @param {Object} opts Optional parameters
4180
+ * @param {String} [authorization] The authorization token of the logged in user
4181
+ * @param {Number} [cacheduration] The how long the cache entry should persist
4182
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
4183
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
4184
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
4185
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
4186
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
4187
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
4188
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
4189
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
4190
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
4191
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
4192
+ * @param {module:api/StripeAccountsApi~updateStripeProductCallback} callback The callback function, accepting three arguments: error, data, response
4193
+ * data is of type: {@link module:model/ProductResponse}
4194
+ */
4195
+ }, {
4196
+ key: "updateStripeProduct",
4197
+ value: function updateStripeProduct(productId, productInput, opts, callback) {
4198
+ opts = opts || {};
4199
+ var postBody = productInput;
4200
+ // verify the required parameter 'productId' is set
4201
+ if (productId === undefined || productId === null) {
4202
+ throw new Error("Missing the required parameter 'productId' when calling updateStripeProduct");
4203
+ }
4204
+ // verify the required parameter 'productInput' is set
4205
+ if (productInput === undefined || productInput === null) {
4206
+ throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");
4207
+ }
4208
+ var pathParams = {
4209
+ 'productId': productId
4210
+ };
4211
+ var queryParams = {
4212
+ 'cacheduration': opts['cacheduration'],
4213
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
4214
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
4215
+ 'cachescope': opts['cachescope'],
4216
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
4217
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
4218
+ };
4219
+ var headerParams = {
4220
+ 'Authorization': opts['authorization'],
4221
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
4222
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
4223
+ 'zeusportal-postas': opts['zeusportalPostas'],
4224
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
4225
+ 'transactionid': opts['transactionid']
4226
+ };
4227
+ var formParams = {};
4228
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
4229
+ var contentTypes = ['application/json'];
4230
+ var accepts = ['application/json'];
4231
+ var returnType = _ProductResponse["default"];
4232
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
4233
+ }
4234
+
4235
+ /**
4236
+ * Callback function to receive the result of the updateStripeProductCategory operation.
4237
+ * @callback module:api/StripeAccountsApi~updateStripeProductCategoryCallback
4238
+ * @param {String} error Error message, if any.
4239
+ * @param {module:model/ProductCategoryResponse} data The data returned by the service call.
4240
+ * @param {String} response The complete HTTP response.
4241
+ */
4242
+
4243
+ /**
4244
+ * Updates a category
4245
+ * Updates an existing category
4246
+ * @param {Number} categoryId The category ID
4247
+ * @param {module:model/ProductCategoryInput} productCategoryInput The category update data
4248
+ * @param {Object} opts Optional parameters
4249
+ * @param {String} [authorization] The authorization token of the logged in user
4250
+ * @param {Number} [cacheduration] The how long the cache entry should persist
4251
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
4252
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
4253
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
4254
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
4255
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
4256
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
4257
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
4258
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
4259
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
4260
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
4261
+ * @param {module:api/StripeAccountsApi~updateStripeProductCategoryCallback} callback The callback function, accepting three arguments: error, data, response
4262
+ * data is of type: {@link module:model/ProductCategoryResponse}
4263
+ */
4264
+ }, {
4265
+ key: "updateStripeProductCategory",
4266
+ value: function updateStripeProductCategory(categoryId, productCategoryInput, opts, callback) {
4267
+ opts = opts || {};
4268
+ var postBody = productCategoryInput;
4269
+ // verify the required parameter 'categoryId' is set
4270
+ if (categoryId === undefined || categoryId === null) {
4271
+ throw new Error("Missing the required parameter 'categoryId' when calling updateStripeProductCategory");
4272
+ }
4273
+ // verify the required parameter 'productCategoryInput' is set
4274
+ if (productCategoryInput === undefined || productCategoryInput === null) {
4275
+ throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");
4276
+ }
4277
+ var pathParams = {
4278
+ 'categoryId': categoryId
4279
+ };
4280
+ var queryParams = {
4281
+ 'cacheduration': opts['cacheduration'],
4282
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
4283
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
4284
+ 'cachescope': opts['cachescope'],
4285
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
4286
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
4287
+ };
4288
+ var headerParams = {
4289
+ 'Authorization': opts['authorization'],
4290
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
4291
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
4292
+ 'zeusportal-postas': opts['zeusportalPostas'],
4293
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
4294
+ 'transactionid': opts['transactionid']
4295
+ };
4296
+ var formParams = {};
4297
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
4298
+ var contentTypes = ['application/json'];
4299
+ var accepts = ['application/json'];
4300
+ var returnType = _ProductCategoryResponse["default"];
4301
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
4302
+ }
4303
+
4304
+ /**
4305
+ * Callback function to receive the result of the updateStripeSubscription operation.
4306
+ * @callback module:api/StripeAccountsApi~updateStripeSubscriptionCallback
3154
4307
  * @param {String} error Error message, if any.
3155
4308
  * @param {module:model/SubscriptionResponse} data The data returned by the service call.
3156
4309
  * @param {String} response The complete HTTP response.
@@ -3174,21 +4327,21 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3174
4327
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3175
4328
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3176
4329
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3177
- * @param {module:api/StripeAccountsApi~updateSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
4330
+ * @param {module:api/StripeAccountsApi~updateStripeSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
3178
4331
  * data is of type: {@link module:model/SubscriptionResponse}
3179
4332
  */
3180
4333
  }, {
3181
- key: "updateSubscription",
3182
- value: function updateSubscription(subscriptionId, subscriptionInput, opts, callback) {
4334
+ key: "updateStripeSubscription",
4335
+ value: function updateStripeSubscription(subscriptionId, subscriptionInput, opts, callback) {
3183
4336
  opts = opts || {};
3184
4337
  var postBody = subscriptionInput;
3185
4338
  // verify the required parameter 'subscriptionId' is set
3186
4339
  if (subscriptionId === undefined || subscriptionId === null) {
3187
- throw new Error("Missing the required parameter 'subscriptionId' when calling updateSubscription");
4340
+ throw new Error("Missing the required parameter 'subscriptionId' when calling updateStripeSubscription");
3188
4341
  }
3189
4342
  // verify the required parameter 'subscriptionInput' is set
3190
4343
  if (subscriptionInput === undefined || subscriptionInput === null) {
3191
- throw new Error("Missing the required parameter 'subscriptionInput' when calling updateSubscription");
4344
+ throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");
3192
4345
  }
3193
4346
  var pathParams = {
3194
4347
  'subscriptionId': subscriptionId