@gobodo/gobodo-api-promise 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 (1453) hide show
  1. package/README.md +54 -11
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/ApiClient.d.ts +1 -1
  4. package/dist/ApiClient.js +3 -3
  5. package/dist/api/AIApi.d.ts +7 -7
  6. package/dist/api/AIApi.js +2 -2
  7. package/dist/api/AIConversationsApi.d.ts +11 -11
  8. package/dist/api/AIConversationsApi.js +2 -2
  9. package/dist/api/AbilitiesApi.d.ts +4 -4
  10. package/dist/api/AbilitiesApi.js +2 -2
  11. package/dist/api/ActionTypesApi.d.ts +1 -1
  12. package/dist/api/AdCampaignsApi.d.ts +8 -8
  13. package/dist/api/AdCampaignsApi.js +2 -2
  14. package/dist/api/AdManagementApi.d.ts +13 -13
  15. package/dist/api/AdManagementApi.js +2 -2
  16. package/dist/api/AdminDataManagementApi.d.ts +2 -2
  17. package/dist/api/AdminDataManagementApi.js +2 -2
  18. package/dist/api/AdsApi.d.ts +6 -6
  19. package/dist/api/AdsApi.js +2 -2
  20. package/dist/api/AttachmentsApi.d.ts +9 -9
  21. package/dist/api/AttachmentsApi.js +6 -6
  22. package/dist/api/AuthenticationApi.d.ts +12 -12
  23. package/dist/api/AuthenticationApi.js +2 -2
  24. package/dist/api/CategoriesApi.d.ts +8 -8
  25. package/dist/api/CategoriesApi.js +2 -2
  26. package/dist/api/CircleAccountsApi.d.ts +11 -11
  27. package/dist/api/CircleAccountsApi.js +2 -2
  28. package/dist/api/CommentsApi.d.ts +10 -10
  29. package/dist/api/CommentsApi.js +2 -2
  30. package/dist/api/ContentManagementApi.d.ts +29 -29
  31. package/dist/api/ContentManagementApi.js +2 -2
  32. package/dist/api/ConversationsApi.d.ts +9 -9
  33. package/dist/api/ConversationsApi.js +2 -2
  34. package/dist/api/CurrencyApi.d.ts +8 -8
  35. package/dist/api/CurrencyApi.js +2 -2
  36. package/dist/api/DataSheetImportsApi.d.ts +22 -22
  37. package/dist/api/DataSheetImportsApi.js +14 -14
  38. package/dist/api/DataSyncApi.d.ts +424 -0
  39. package/dist/api/DataSyncApi.d.ts.map +1 -0
  40. package/dist/api/DataSyncApi.js +772 -0
  41. package/dist/api/DefaultApi.d.ts +13 -13
  42. package/dist/api/DefaultApi.js +2 -2
  43. package/dist/api/DocumentPartTypesApi.d.ts +3 -3
  44. package/dist/api/DocumentPartTypesApi.js +2 -2
  45. package/dist/api/DocumentTypesApi.d.ts +3 -3
  46. package/dist/api/DocumentTypesApi.js +2 -2
  47. package/dist/api/DocumentsApi.d.ts +13 -13
  48. package/dist/api/DocumentsApi.js +2 -2
  49. package/dist/api/EmailsApi.d.ts +5 -5
  50. package/dist/api/EmailsApi.js +2 -2
  51. package/dist/api/EntryPartsApi.d.ts +13 -13
  52. package/dist/api/EntryPartsApi.js +2 -2
  53. package/dist/api/FacebookApi.d.ts +2 -2
  54. package/dist/api/FacebookApi.js +2 -2
  55. package/dist/api/FieldsApi.d.ts +8 -8
  56. package/dist/api/FieldsApi.js +2 -2
  57. package/dist/api/FilesApi.d.ts +1 -1
  58. package/dist/api/FormsApi.d.ts +15 -15
  59. package/dist/api/FormsApi.js +2 -2
  60. package/dist/api/FunctionsApi.d.ts +26 -26
  61. package/dist/api/FunctionsApi.js +2 -2
  62. package/dist/api/GeocodeApi.d.ts +4 -4
  63. package/dist/api/GeocodeApi.js +2 -2
  64. package/dist/api/GobodoManagementApi.d.ts +18 -18
  65. package/dist/api/GobodoManagementApi.js +2 -2
  66. package/dist/api/GoogleApi.d.ts +2 -2
  67. package/dist/api/GoogleApi.js +2 -2
  68. package/dist/api/GraphActionTypesApi.d.ts +22 -22
  69. package/dist/api/GraphActionTypesApi.js +6 -6
  70. package/dist/api/GraphActionsApi.d.ts +10 -10
  71. package/dist/api/GraphActionsApi.js +2 -2
  72. package/dist/api/GraphObjectTypesApi.d.ts +32 -32
  73. package/dist/api/GraphObjectTypesApi.js +6 -6
  74. package/dist/api/GraphObjectsApi.d.ts +31 -31
  75. package/dist/api/GraphObjectsApi.js +2 -2
  76. package/dist/api/GraphRelationshipTypesApi.d.ts +29 -29
  77. package/dist/api/GraphRelationshipTypesApi.js +6 -6
  78. package/dist/api/GraphRelationshipsApi.d.ts +15 -15
  79. package/dist/api/GraphRelationshipsApi.js +2 -2
  80. package/dist/api/GraphSchemasApi.d.ts +19 -19
  81. package/dist/api/GraphSchemasApi.js +2 -2
  82. package/dist/api/GraphTraversalApi.d.ts +8 -8
  83. package/dist/api/GraphTraversalApi.js +2 -2
  84. package/dist/api/GraphsApi.d.ts +23 -23
  85. package/dist/api/GraphsApi.js +2 -2
  86. package/dist/api/GroupsApi.d.ts +11 -11
  87. package/dist/api/IAMApi.d.ts +5 -5
  88. package/dist/api/IAMApi.js +2 -2
  89. package/dist/api/ImagesApi.d.ts +9 -9
  90. package/dist/api/ImagesApi.js +6 -6
  91. package/dist/api/InvitesApi.d.ts +6 -6
  92. package/dist/api/InvitesApi.js +2 -2
  93. package/dist/api/LaunchTemplatesApi.d.ts +17 -17
  94. package/dist/api/LaunchTemplatesApi.js +2 -2
  95. package/dist/api/LikesApi.d.ts +14 -14
  96. package/dist/api/LikesApi.js +2 -2
  97. package/dist/api/LinkedINApi.d.ts +2 -2
  98. package/dist/api/LinkedINApi.js +2 -2
  99. package/dist/api/LinksApi.d.ts +10 -10
  100. package/dist/api/LinksApi.js +2 -2
  101. package/dist/api/LiveMeetingsApi.d.ts +3 -3
  102. package/dist/api/LiveMeetingsApi.js +2 -2
  103. package/dist/api/MeetingEventsApi.d.ts +20 -20
  104. package/dist/api/MeetingEventsApi.js +2 -2
  105. package/dist/api/MenuItemsApi.d.ts +7 -7
  106. package/dist/api/MenuItemsApi.js +2 -2
  107. package/dist/api/MenusApi.d.ts +7 -7
  108. package/dist/api/MenusApi.js +2 -2
  109. package/dist/api/NotificationsApi.d.ts +15 -15
  110. package/dist/api/NotificationsApi.js +2 -2
  111. package/dist/api/PagesApi.d.ts +9 -9
  112. package/dist/api/PagesApi.js +2 -2
  113. package/dist/api/PasswordResetApi.d.ts +2 -2
  114. package/dist/api/PasswordResetApi.js +2 -2
  115. package/dist/api/PayPalAccountsApi.d.ts +3 -3
  116. package/dist/api/PhoneNumbersApi.d.ts +6 -6
  117. package/dist/api/PhoneNumbersApi.js +2 -2
  118. package/dist/api/PostsApi.d.ts +10 -10
  119. package/dist/api/PostsApi.js +2 -2
  120. package/dist/api/PrivateMessagesApi.d.ts +16 -16
  121. package/dist/api/PrivateMessagesApi.js +2 -2
  122. package/dist/api/PublicationsApi.d.ts +10 -10
  123. package/dist/api/PublicationsApi.js +2 -2
  124. package/dist/api/RestApplicationsApi.d.ts +9 -9
  125. package/dist/api/RestApplicationsApi.js +2 -2
  126. package/dist/api/ScreensApi.d.ts +3 -3
  127. package/dist/api/ScreensApi.js +2 -2
  128. package/dist/api/SitesApi.d.ts +16 -16
  129. package/dist/api/SitesApi.js +2 -2
  130. package/dist/api/SocialGroupsApi.d.ts +20 -20
  131. package/dist/api/SocialGroupsApi.js +2 -2
  132. package/dist/api/SocialIntegrationApi.d.ts +5 -5
  133. package/dist/api/SocialIntegrationApi.js +2 -2
  134. package/dist/api/SquareAccountsApi.d.ts +4 -4
  135. package/dist/api/SquareAccountsApi.js +2 -2
  136. package/dist/api/StripeAccountsApi.d.ts +1038 -190
  137. package/dist/api/StripeAccountsApi.d.ts.map +1 -1
  138. package/dist/api/StripeAccountsApi.js +2006 -527
  139. package/dist/api/TagsApi.d.ts +1 -1
  140. package/dist/api/TemplatesApi.d.ts +10 -10
  141. package/dist/api/TemplatesApi.js +2 -2
  142. package/dist/api/ThemeMappingsApi.d.ts +9 -9
  143. package/dist/api/ThemeMappingsApi.js +2 -2
  144. package/dist/api/TopicsApi.d.ts +9 -9
  145. package/dist/api/TopicsApi.js +2 -2
  146. package/dist/api/TransactionsApi.d.ts +1 -1
  147. package/dist/api/TransactionsApi.js +2 -2
  148. package/dist/api/TwitterApi.d.ts +2 -2
  149. package/dist/api/TwitterApi.js +2 -2
  150. package/dist/api/URLMappingsApi.d.ts +9 -9
  151. package/dist/api/URLMappingsApi.js +2 -2
  152. package/dist/api/UserManagerAdministrationApi.d.ts +28 -28
  153. package/dist/api/UserManagerAdministrationApi.js +2 -2
  154. package/dist/api/UserTagsApi.d.ts +4 -4
  155. package/dist/api/UserTagsApi.js +2 -2
  156. package/dist/api/UsersApi.d.ts +12 -12
  157. package/dist/api/UsersApi.js +2 -2
  158. package/dist/api/UtilsApi.d.ts +1 -1
  159. package/dist/api/UtilsApi.js +2 -2
  160. package/dist/api/VideosApi.d.ts +13 -13
  161. package/dist/api/VideosApi.js +6 -6
  162. package/dist/api/ViewsApi.d.ts +6 -6
  163. package/dist/api/ViewsApi.js +2 -2
  164. package/dist/api/WalletsApi.d.ts +18 -18
  165. package/dist/api/WalletsApi.js +2 -2
  166. package/dist/index.d.ts +18 -1
  167. package/dist/index.d.ts.map +1 -1
  168. package/dist/index.js +119 -0
  169. package/dist/model/AIPromptRequest.d.ts +1 -1
  170. package/dist/model/AIPromptRequest.js +2 -2
  171. package/dist/model/AIPromptResponse.d.ts +1 -1
  172. package/dist/model/AIPromptResponse.js +2 -2
  173. package/dist/model/APIClient.d.ts +28 -28
  174. package/dist/model/APIClient.d.ts.map +1 -1
  175. package/dist/model/APIClient.js +86 -86
  176. package/dist/model/Aba.d.ts +1 -1
  177. package/dist/model/Aba.js +2 -2
  178. package/dist/model/AbilityResponse.d.ts +1 -1
  179. package/dist/model/AbilityResponse.js +2 -2
  180. package/dist/model/Account.d.ts +1 -1
  181. package/dist/model/Account.js +2 -2
  182. package/dist/model/AccountSessionInput.d.ts +1 -1
  183. package/dist/model/AccountSessionInput.js +2 -2
  184. package/dist/model/AccountSessionResponse.d.ts +1 -1
  185. package/dist/model/AccountSessionResponse.js +2 -2
  186. package/dist/model/AchCreditTransfer.d.ts +1 -1
  187. package/dist/model/AchCreditTransfer.js +2 -2
  188. package/dist/model/AchDebit.d.ts +1 -1
  189. package/dist/model/AchDebit.js +2 -2
  190. package/dist/model/AcssDebit.d.ts +1 -1
  191. package/dist/model/AcssDebit.js +2 -2
  192. package/dist/model/AddInvoiceItem.d.ts +1 -1
  193. package/dist/model/AddInvoiceItem.js +2 -2
  194. package/dist/model/AddMembersInput.d.ts +1 -1
  195. package/dist/model/AddMembersInput.js +2 -2
  196. package/dist/model/AdditionalDocument.d.ts +1 -1
  197. package/dist/model/AdditionalDocument.js +2 -2
  198. package/dist/model/AdditionalTosAcceptances.d.ts +1 -1
  199. package/dist/model/AdditionalTosAcceptances.js +2 -2
  200. package/dist/model/Address.d.ts +1 -1
  201. package/dist/model/Address.js +2 -2
  202. package/dist/model/AddressKana.d.ts +1 -1
  203. package/dist/model/AddressKana.js +2 -2
  204. package/dist/model/AddressKanji.d.ts +1 -1
  205. package/dist/model/AddressKanji.js +2 -2
  206. package/dist/model/AddressResponse.d.ts +1 -1
  207. package/dist/model/AddressResponse.js +2 -2
  208. package/dist/model/Affirm.d.ts +28 -1
  209. package/dist/model/Affirm.d.ts.map +1 -1
  210. package/dist/model/Affirm.js +89 -2
  211. package/dist/model/AfterCompletion.d.ts +1 -1
  212. package/dist/model/AfterCompletion.js +2 -2
  213. package/dist/model/AfterExpiration.d.ts +1 -1
  214. package/dist/model/AfterExpiration.js +2 -2
  215. package/dist/model/AfterpayClearpay.d.ts +14 -5
  216. package/dist/model/AfterpayClearpay.d.ts.map +1 -1
  217. package/dist/model/AfterpayClearpay.js +44 -15
  218. package/dist/model/Alipay.d.ts +5 -23
  219. package/dist/model/Alipay.d.ts.map +1 -1
  220. package/dist/model/Alipay.js +15 -73
  221. package/dist/model/AlipayHandleRedirect.d.ts +1 -1
  222. package/dist/model/AlipayHandleRedirect.js +2 -2
  223. package/dist/model/Alternative.d.ts +1 -1
  224. package/dist/model/Alternative.js +2 -2
  225. package/dist/model/AmexExpressCheckout.d.ts +1 -1
  226. package/dist/model/AmexExpressCheckout.js +2 -2
  227. package/dist/model/AmountDetails.d.ts +1 -1
  228. package/dist/model/AmountDetails.js +2 -2
  229. package/dist/model/ApplePay.d.ts +1 -1
  230. package/dist/model/ApplePay.js +2 -2
  231. package/dist/model/Application.d.ts +1 -1
  232. package/dist/model/Application.js +2 -2
  233. package/dist/model/ApplicationFee.d.ts +19 -19
  234. package/dist/model/ApplicationFee.d.ts.map +1 -1
  235. package/dist/model/ApplicationFee.js +57 -57
  236. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  237. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  238. package/dist/model/AppliesTo.d.ts +1 -1
  239. package/dist/model/AppliesTo.js +2 -2
  240. package/dist/model/Article.d.ts +75 -75
  241. package/dist/model/Article.d.ts.map +1 -1
  242. package/dist/model/Article.js +211 -211
  243. package/dist/model/AttachmentData.d.ts +9 -9
  244. package/dist/model/AttachmentData.js +23 -23
  245. package/dist/model/AuBecsDebit.d.ts +1 -37
  246. package/dist/model/AuBecsDebit.d.ts.map +1 -1
  247. package/dist/model/AuBecsDebit.js +2 -118
  248. package/dist/model/Auth0ConfigInput.d.ts +1 -1
  249. package/dist/model/Auth0ConfigInput.js +2 -2
  250. package/dist/model/Auth0ConfigResponse.d.ts +1 -1
  251. package/dist/model/Auth0ConfigResponse.js +2 -2
  252. package/dist/model/AuthResponse.d.ts +1 -1
  253. package/dist/model/AuthResponse.js +2 -2
  254. package/dist/model/AuthorizationCheckResponse.d.ts +1 -1
  255. package/dist/model/AuthorizationCheckResponse.js +2 -2
  256. package/dist/model/AutomaticPaymentMethods.d.ts +1 -1
  257. package/dist/model/AutomaticPaymentMethods.js +2 -2
  258. package/dist/model/AutomaticTax.d.ts +1 -1
  259. package/dist/model/AutomaticTax.js +2 -2
  260. package/dist/model/AvailablePlan.d.ts +1 -1
  261. package/dist/model/AvailablePlan.js +2 -2
  262. package/dist/model/AwsSettings.d.ts +1 -1
  263. package/dist/model/AwsSettings.js +2 -2
  264. package/dist/model/BacsDebit.d.ts +1 -37
  265. package/dist/model/BacsDebit.d.ts.map +1 -1
  266. package/dist/model/BacsDebit.js +2 -118
  267. package/dist/model/BacsDebitPayments.d.ts +1 -1
  268. package/dist/model/BacsDebitPayments.js +2 -2
  269. package/dist/model/Balance.d.ts +29 -29
  270. package/dist/model/Balance.d.ts.map +1 -1
  271. package/dist/model/Balance.js +102 -102
  272. package/dist/model/BalanceDetails.d.ts +1 -1
  273. package/dist/model/BalanceDetails.js +2 -2
  274. package/dist/model/BalanceResponse.d.ts +1 -1
  275. package/dist/model/BalanceResponse.js +2 -2
  276. package/dist/model/BalanceTransaction.d.ts +1 -1
  277. package/dist/model/BalanceTransaction.js +2 -2
  278. package/dist/model/BalanceTransactionSource.d.ts +1 -1
  279. package/dist/model/BalanceTransactionSource.js +2 -2
  280. package/dist/model/Bancontact.d.ts +1 -1
  281. package/dist/model/Bancontact.js +2 -2
  282. package/dist/model/BankAccountInfo.d.ts +1 -1
  283. package/dist/model/BankAccountInfo.js +2 -2
  284. package/dist/model/BankTransfer.d.ts +1 -1
  285. package/dist/model/BankTransfer.js +2 -2
  286. package/dist/model/Base64AttachmentUpload.d.ts +1 -1
  287. package/dist/model/Base64AttachmentUpload.js +2 -2
  288. package/dist/model/Base64ImageUpload.d.ts +1 -1
  289. package/dist/model/Base64ImageUpload.js +2 -2
  290. package/dist/model/Base64Upload.d.ts +1 -1
  291. package/dist/model/Base64Upload.js +2 -2
  292. package/dist/model/Base64VideoUpload.d.ts +1 -1
  293. package/dist/model/Base64VideoUpload.js +2 -2
  294. package/dist/model/BillingDetails.d.ts +1 -1
  295. package/dist/model/BillingDetails.js +2 -2
  296. package/dist/model/BillingThresholds.d.ts +1 -1
  297. package/dist/model/BillingThresholds.js +2 -2
  298. package/dist/model/Blik.d.ts +1 -1
  299. package/dist/model/Blik.js +2 -2
  300. package/dist/model/Blocked.d.ts +1 -1
  301. package/dist/model/Blocked.js +2 -2
  302. package/dist/model/BlogPostResponse.d.ts +1 -1
  303. package/dist/model/BlogPostResponse.js +2 -2
  304. package/dist/model/Boleto.d.ts +1 -10
  305. package/dist/model/Boleto.d.ts.map +1 -1
  306. package/dist/model/Boleto.js +2 -31
  307. package/dist/model/BoletoDisplayDetails.d.ts +1 -1
  308. package/dist/model/BoletoDisplayDetails.js +2 -2
  309. package/dist/model/Branding.d.ts +9 -9
  310. package/dist/model/Branding.js +28 -28
  311. package/dist/model/Breakdown.d.ts +1 -1
  312. package/dist/model/Breakdown.js +2 -2
  313. package/dist/model/BusinessProfile.d.ts +1 -1
  314. package/dist/model/BusinessProfile.js +2 -2
  315. package/dist/model/CacheInvalidation.d.ts +1 -1
  316. package/dist/model/CacheInvalidation.js +2 -2
  317. package/dist/model/CancellationDetails.d.ts +1 -1
  318. package/dist/model/CancellationDetails.js +2 -2
  319. package/dist/model/Capabilities.d.ts +1 -1
  320. package/dist/model/Capabilities.js +2 -2
  321. package/dist/model/Card.d.ts +1 -1
  322. package/dist/model/Card.js +2 -2
  323. package/dist/model/CardAwaitNotification.d.ts +1 -1
  324. package/dist/model/CardAwaitNotification.js +2 -2
  325. package/dist/model/CardInfo.d.ts +1 -1
  326. package/dist/model/CardInfo.js +2 -2
  327. package/dist/model/CardIssuing.d.ts +1 -1
  328. package/dist/model/CardIssuing.js +2 -2
  329. package/dist/model/CardPayments.d.ts +1 -1
  330. package/dist/model/CardPayments.js +2 -2
  331. package/dist/model/CardPresent.d.ts +6 -177
  332. package/dist/model/CardPresent.d.ts.map +1 -1
  333. package/dist/model/CardPresent.js +18 -547
  334. package/dist/model/CashBalance.d.ts +1 -1
  335. package/dist/model/CashBalance.js +2 -2
  336. package/dist/model/Cashapp.d.ts +1 -19
  337. package/dist/model/Cashapp.d.ts.map +1 -1
  338. package/dist/model/Cashapp.js +2 -60
  339. package/dist/model/CashappHandleRedirectOrDisplayQrCode.d.ts +1 -1
  340. package/dist/model/CashappHandleRedirectOrDisplayQrCode.js +2 -2
  341. package/dist/model/Charge.d.ts +34 -34
  342. package/dist/model/Charge.d.ts.map +1 -1
  343. package/dist/model/Charge.js +107 -107
  344. package/dist/model/CheckoutSessionInput.d.ts +1 -1
  345. package/dist/model/CheckoutSessionInput.js +2 -2
  346. package/dist/model/CheckoutSessionResponse.d.ts +1 -1
  347. package/dist/model/CheckoutSessionResponse.js +2 -2
  348. package/dist/model/Checks.d.ts +1 -1
  349. package/dist/model/Checks.js +2 -2
  350. package/dist/model/ClerkConfigInput.d.ts +1 -1
  351. package/dist/model/ClerkConfigInput.js +2 -2
  352. package/dist/model/ClerkConfigResponse.d.ts +1 -1
  353. package/dist/model/ClerkConfigResponse.js +2 -2
  354. package/dist/model/CognitoConfigInput.d.ts +1 -1
  355. package/dist/model/CognitoConfigInput.js +2 -2
  356. package/dist/model/CognitoConfigResponse.d.ts +1 -1
  357. package/dist/model/CognitoConfigResponse.js +2 -2
  358. package/dist/model/CommentInput.d.ts +1 -1
  359. package/dist/model/CommentInput.js +2 -2
  360. package/dist/model/CommentResponse.d.ts +1 -1
  361. package/dist/model/CommentResponse.js +2 -2
  362. package/dist/model/Company.d.ts +1 -1
  363. package/dist/model/Company.js +2 -2
  364. package/dist/model/CompletedSessions.d.ts +1 -1
  365. package/dist/model/CompletedSessions.js +2 -2
  366. package/dist/model/Computed.d.ts +1 -1
  367. package/dist/model/Computed.js +2 -2
  368. package/dist/model/Consent.d.ts +1 -1
  369. package/dist/model/Consent.js +2 -2
  370. package/dist/model/ConsentCollection.d.ts +1 -1
  371. package/dist/model/ConsentCollection.js +2 -2
  372. package/dist/model/ConsoleOrganizationInput.d.ts +1 -1
  373. package/dist/model/ConsoleOrganizationInput.js +2 -2
  374. package/dist/model/ConsoleOrganizationResponse.d.ts +1 -1
  375. package/dist/model/ConsoleOrganizationResponse.js +2 -2
  376. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  377. package/dist/model/ConsoleProjectInput.js +2 -2
  378. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  379. package/dist/model/ConsoleProjectResponse.js +2 -2
  380. package/dist/model/Controller.d.ts +1 -1
  381. package/dist/model/Controller.js +2 -2
  382. package/dist/model/Coordinates.d.ts +1 -1
  383. package/dist/model/Coordinates.js +2 -2
  384. package/dist/model/Coupon.d.ts +1 -1
  385. package/dist/model/Coupon.js +2 -2
  386. package/dist/model/CreateAccountResponse.d.ts +1 -1
  387. package/dist/model/CreateAccountResponse.js +2 -2
  388. package/dist/model/CreateCircleAccountInput.d.ts +1 -1
  389. package/dist/model/CreateCircleAccountInput.js +2 -2
  390. package/dist/model/CreateFunctionInput.d.ts +1 -1
  391. package/dist/model/CreateFunctionInput.js +2 -2
  392. package/dist/model/CreatePayPalAccountInput.d.ts +1 -1
  393. package/dist/model/CreatePayPalAccountInput.js +2 -2
  394. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  395. package/dist/model/CreateStripeAccountInput.js +2 -2
  396. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  397. package/dist/model/CreateStripeCustomerInput.js +2 -2
  398. package/dist/model/CreateTopicInput.d.ts +1 -1
  399. package/dist/model/CreateTopicInput.js +2 -2
  400. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  401. package/dist/model/CreateTopicListenerInput.js +2 -2
  402. package/dist/model/CreditedItems.d.ts +1 -1
  403. package/dist/model/CreditedItems.js +2 -2
  404. package/dist/model/CurrencyConversion.d.ts +1 -1
  405. package/dist/model/CurrencyConversion.js +2 -2
  406. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  407. package/dist/model/CurrencyGrantInput.js +2 -2
  408. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  409. package/dist/model/CurrencyGrantResponse.js +2 -2
  410. package/dist/model/CurrencyInput.d.ts +1 -1
  411. package/dist/model/CurrencyInput.js +2 -2
  412. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  413. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  414. package/dist/model/CurrencyOption.d.ts +1 -1
  415. package/dist/model/CurrencyOption.js +2 -2
  416. package/dist/model/CurrencyResponse.d.ts +1 -1
  417. package/dist/model/CurrencyResponse.js +2 -2
  418. package/dist/model/CurrencySettings.d.ts +1 -1
  419. package/dist/model/CurrencySettings.js +2 -2
  420. package/dist/model/CurrentPhase.d.ts +1 -1
  421. package/dist/model/CurrentPhase.js +2 -2
  422. package/dist/model/CustomField.d.ts +1 -1
  423. package/dist/model/CustomField.js +2 -2
  424. package/dist/model/CustomText.d.ts +1 -1
  425. package/dist/model/CustomText.js +2 -2
  426. package/dist/model/CustomUnitAmount.d.ts +1 -1
  427. package/dist/model/CustomUnitAmount.js +2 -2
  428. package/dist/model/Customer.d.ts +10 -10
  429. package/dist/model/Customer.d.ts.map +1 -1
  430. package/dist/model/Customer.js +27 -27
  431. package/dist/model/CustomerAcceptance.d.ts +1 -1
  432. package/dist/model/CustomerAcceptance.js +2 -2
  433. package/dist/model/CustomerBalance.d.ts +1 -1
  434. package/dist/model/CustomerBalance.js +2 -2
  435. package/dist/model/CustomerDetails.d.ts +1 -1
  436. package/dist/model/CustomerDetails.js +2 -2
  437. package/dist/model/CustomerNotification.d.ts +1 -1
  438. package/dist/model/CustomerNotification.js +2 -2
  439. package/dist/model/CustomerResponse.d.ts +1 -1
  440. package/dist/model/CustomerResponse.js +2 -2
  441. package/dist/model/CustomerTaxId.d.ts +1 -1
  442. package/dist/model/CustomerTaxId.js +2 -2
  443. package/dist/model/Dashboard.d.ts +1 -1
  444. package/dist/model/Dashboard.js +2 -2
  445. package/dist/model/DataObject.d.ts +1 -1
  446. package/dist/model/DataObject.js +2 -2
  447. package/dist/model/DataSheetImport.d.ts +51 -51
  448. package/dist/model/DataSheetImport.d.ts.map +1 -1
  449. package/dist/model/DataSheetImport.js +159 -159
  450. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  451. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  452. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  453. package/dist/model/DataSheetImportSummary.js +2 -2
  454. package/dist/model/DataSync.d.ts +338 -0
  455. package/dist/model/DataSync.d.ts.map +1 -0
  456. package/dist/model/DataSync.js +1070 -0
  457. package/dist/model/DataSyncInput.d.ts +138 -0
  458. package/dist/model/DataSyncInput.d.ts.map +1 -0
  459. package/dist/model/DataSyncInput.js +422 -0
  460. package/dist/model/DataSyncResponse.d.ts +158 -0
  461. package/dist/model/DataSyncResponse.d.ts.map +1 -0
  462. package/dist/model/DataSyncResponse.js +488 -0
  463. package/dist/model/DeclineOn.d.ts +1 -1
  464. package/dist/model/DeclineOn.js +2 -2
  465. package/dist/model/DefaultSettings.d.ts +10 -10
  466. package/dist/model/DefaultSettings.d.ts.map +1 -1
  467. package/dist/model/DefaultSettings.js +30 -30
  468. package/dist/model/DeliveryEstimate.d.ts +1 -1
  469. package/dist/model/DeliveryEstimate.js +2 -2
  470. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  471. package/dist/model/DeviceRegistrationRequest.js +2 -2
  472. package/dist/model/Discount.d.ts +10 -10
  473. package/dist/model/Discount.d.ts.map +1 -1
  474. package/dist/model/Discount.js +30 -30
  475. package/dist/model/DiscountAmount.d.ts +1 -1
  476. package/dist/model/DiscountAmount.js +2 -2
  477. package/dist/model/DisplayBankTransferInstructions.d.ts +1 -1
  478. package/dist/model/DisplayBankTransferInstructions.js +2 -2
  479. package/dist/model/DisplayDetails.d.ts +1 -1
  480. package/dist/model/DisplayDetails.js +2 -2
  481. package/dist/model/Dob.d.ts +1 -1
  482. package/dist/model/Dob.js +2 -2
  483. package/dist/model/Document.d.ts +80 -80
  484. package/dist/model/Document.d.ts.map +1 -1
  485. package/dist/model/Document.js +225 -225
  486. package/dist/model/DocumentPart.d.ts +69 -69
  487. package/dist/model/DocumentPart.d.ts.map +1 -1
  488. package/dist/model/DocumentPart.js +194 -194
  489. package/dist/model/DocumentPartType.d.ts +33 -33
  490. package/dist/model/DocumentPartType.d.ts.map +1 -1
  491. package/dist/model/DocumentPartType.js +96 -96
  492. package/dist/model/DocumentType.d.ts +53 -53
  493. package/dist/model/DocumentType.d.ts.map +1 -1
  494. package/dist/model/DocumentType.js +141 -141
  495. package/dist/model/DomainCreateInput.d.ts +1 -1
  496. package/dist/model/DomainCreateInput.js +2 -2
  497. package/dist/model/DomainCreateResponse.d.ts +1 -1
  498. package/dist/model/DomainCreateResponse.js +2 -2
  499. package/dist/model/DomainMappingInput.d.ts +1 -1
  500. package/dist/model/DomainMappingInput.js +2 -2
  501. package/dist/model/DomainMappingResponse.d.ts +1 -1
  502. package/dist/model/DomainMappingResponse.js +2 -2
  503. package/dist/model/Dropdown.d.ts +1 -1
  504. package/dist/model/Dropdown.js +2 -2
  505. package/dist/model/EmailAddress.d.ts +1 -1
  506. package/dist/model/EmailAddress.js +2 -2
  507. package/dist/model/EmailSent.d.ts +1 -1
  508. package/dist/model/EmailSent.js +2 -2
  509. package/dist/model/EndBehavior.d.ts +1 -1
  510. package/dist/model/EndBehavior.js +2 -2
  511. package/dist/model/Eps.d.ts +5 -14
  512. package/dist/model/Eps.d.ts.map +1 -1
  513. package/dist/model/Eps.js +15 -44
  514. package/dist/model/Errors.d.ts +1 -1
  515. package/dist/model/Errors.js +2 -2
  516. package/dist/model/EuBankTransfer.d.ts +1 -1
  517. package/dist/model/EuBankTransfer.js +2 -2
  518. package/dist/model/ExtendedAuthorization.d.ts +1 -1
  519. package/dist/model/ExtendedAuthorization.js +2 -2
  520. package/dist/model/ExternalAccount.d.ts +1 -1
  521. package/dist/model/ExternalAccount.js +2 -2
  522. package/dist/model/ExternalAccountCollection.d.ts +1 -1
  523. package/dist/model/ExternalAccountCollection.js +2 -2
  524. package/dist/model/ExternalAccountCollectionPageTypeToken.d.ts +1 -1
  525. package/dist/model/ExternalAccountCollectionPageTypeToken.js +2 -2
  526. package/dist/model/Familymart.d.ts +1 -1
  527. package/dist/model/Familymart.js +2 -2
  528. package/dist/model/Feature.d.ts +1 -1
  529. package/dist/model/Feature.js +2 -2
  530. package/dist/model/FeeDetail.d.ts +1 -1
  531. package/dist/model/FeeDetail.js +2 -2
  532. package/dist/model/FeeRefund.d.ts +10 -10
  533. package/dist/model/FeeRefund.d.ts.map +1 -1
  534. package/dist/model/FeeRefund.js +30 -30
  535. package/dist/model/FeeRefundCollection.d.ts +1 -1
  536. package/dist/model/FeeRefundCollection.js +2 -2
  537. package/dist/model/Field.d.ts +65 -0
  538. package/dist/model/Field.d.ts.map +1 -0
  539. package/dist/model/Field.js +187 -0
  540. package/dist/model/FieldMapping.d.ts +10 -10
  541. package/dist/model/FieldMapping.d.ts.map +1 -1
  542. package/dist/model/FieldMapping.js +29 -29
  543. package/dist/model/Fields.d.ts +102 -60
  544. package/dist/model/Fields.d.ts.map +1 -1
  545. package/dist/model/Fields.js +295 -159
  546. package/dist/model/File.d.ts +1 -1
  547. package/dist/model/File.js +2 -2
  548. package/dist/model/FileAttachmentUploadObject.d.ts +38 -38
  549. package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
  550. package/dist/model/FileAttachmentUploadObject.js +106 -106
  551. package/dist/model/FileLink.d.ts +1 -1
  552. package/dist/model/FileLink.js +2 -2
  553. package/dist/model/FileLinkCollection.d.ts +1 -1
  554. package/dist/model/FileLinkCollection.js +2 -2
  555. package/dist/model/Filter.d.ts +1 -1
  556. package/dist/model/Filter.js +2 -2
  557. package/dist/model/FilterManager.d.ts +1 -1
  558. package/dist/model/FilterManager.js +2 -2
  559. package/dist/model/FinancialAddress.d.ts +1 -1
  560. package/dist/model/FinancialAddress.js +2 -2
  561. package/dist/model/FinancialConnections.d.ts +1 -1
  562. package/dist/model/FinancialConnections.js +2 -2
  563. package/dist/model/FirebaseConfigInput.d.ts +1 -1
  564. package/dist/model/FirebaseConfigInput.js +2 -2
  565. package/dist/model/FirebaseConfigResponse.d.ts +1 -1
  566. package/dist/model/FirebaseConfigResponse.js +2 -2
  567. package/dist/model/FixedAmount.d.ts +1 -1
  568. package/dist/model/FixedAmount.js +2 -2
  569. package/dist/model/Form.d.ts +24 -24
  570. package/dist/model/Form.d.ts.map +1 -1
  571. package/dist/model/Form.js +87 -87
  572. package/dist/model/FormSection.d.ts +11 -11
  573. package/dist/model/FormSection.d.ts.map +1 -1
  574. package/dist/model/FormSection.js +42 -42
  575. package/dist/model/FormSubmission.d.ts +10 -10
  576. package/dist/model/FormSubmission.d.ts.map +1 -1
  577. package/dist/model/FormSubmission.js +29 -29
  578. package/dist/model/Fpx.d.ts +5 -23
  579. package/dist/model/Fpx.d.ts.map +1 -1
  580. package/dist/model/Fpx.js +15 -73
  581. package/dist/model/FraudDetails.d.ts +1 -1
  582. package/dist/model/FraudDetails.js +2 -2
  583. package/dist/model/FromInvoice.d.ts +1 -1
  584. package/dist/model/FromInvoice.js +2 -2
  585. package/dist/model/FromQuote.d.ts +1 -1
  586. package/dist/model/FromQuote.js +2 -2
  587. package/dist/model/FunctionConfigInput.d.ts +1 -1
  588. package/dist/model/FunctionConfigInput.js +2 -2
  589. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  590. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  591. package/dist/model/FunctionInput.d.ts +1 -1
  592. package/dist/model/FunctionInput.js +2 -2
  593. package/dist/model/FunctionOutput.d.ts +1 -1
  594. package/dist/model/FunctionOutput.js +2 -2
  595. package/dist/model/FutureRequirements.d.ts +1 -1
  596. package/dist/model/FutureRequirements.js +2 -2
  597. package/dist/model/GeneratedFrom.d.ts +10 -10
  598. package/dist/model/GeneratedFrom.d.ts.map +1 -1
  599. package/dist/model/GeneratedFrom.js +30 -30
  600. package/dist/model/GeocodePayload.d.ts +1 -1
  601. package/dist/model/GeocodePayload.js +2 -2
  602. package/dist/model/GeocodeResponse.d.ts +1 -1
  603. package/dist/model/GeocodeResponse.js +2 -2
  604. package/dist/model/GeolocationInput.d.ts +1 -1
  605. package/dist/model/GeolocationInput.js +2 -2
  606. package/dist/model/GetFunctionConfig.d.ts +1 -1
  607. package/dist/model/GetFunctionConfig.js +2 -2
  608. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  609. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  610. package/dist/model/GetFunctionResponse.d.ts +1 -1
  611. package/dist/model/GetFunctionResponse.js +2 -2
  612. package/dist/model/Giropay.d.ts +5 -32
  613. package/dist/model/Giropay.d.ts.map +1 -1
  614. package/dist/model/Giropay.js +15 -102
  615. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  616. package/dist/model/GoogleCloudSettings.js +2 -2
  617. package/dist/model/GooglePay.d.ts +1 -1
  618. package/dist/model/GooglePay.js +2 -2
  619. package/dist/model/Grabpay.d.ts +5 -5
  620. package/dist/model/Grabpay.d.ts.map +1 -1
  621. package/dist/model/Grabpay.js +15 -15
  622. package/dist/model/Graph.d.ts +41 -41
  623. package/dist/model/Graph.d.ts.map +1 -1
  624. package/dist/model/Graph.js +115 -115
  625. package/dist/model/GraphAction.d.ts +24 -24
  626. package/dist/model/GraphAction.d.ts.map +1 -1
  627. package/dist/model/GraphAction.js +56 -56
  628. package/dist/model/GraphActionPayload.d.ts +1 -1
  629. package/dist/model/GraphActionPayload.js +2 -2
  630. package/dist/model/GraphActionResponse.d.ts +1 -1
  631. package/dist/model/GraphActionResponse.js +2 -2
  632. package/dist/model/GraphActionTypeInput.d.ts +1 -1
  633. package/dist/model/GraphActionTypeInput.js +2 -2
  634. package/dist/model/GraphActionTypeResponse.d.ts +4 -3
  635. package/dist/model/GraphActionTypeResponse.d.ts.map +1 -1
  636. package/dist/model/GraphActionTypeResponse.js +8 -6
  637. package/dist/model/GraphInput.d.ts +1 -1
  638. package/dist/model/GraphInput.js +2 -2
  639. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  640. package/dist/model/GraphIteratorEntryPart.js +2 -2
  641. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +10 -10
  642. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -1
  643. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +25 -25
  644. package/dist/model/GraphObject.d.ts +50 -50
  645. package/dist/model/GraphObject.d.ts.map +1 -1
  646. package/dist/model/GraphObject.js +134 -134
  647. package/dist/model/GraphObjectPayload.d.ts +1 -1
  648. package/dist/model/GraphObjectPayload.js +2 -2
  649. package/dist/model/GraphObjectResponse.d.ts +1 -1
  650. package/dist/model/GraphObjectResponse.js +2 -2
  651. package/dist/model/GraphObjectType.d.ts +72 -72
  652. package/dist/model/GraphObjectType.d.ts.map +1 -1
  653. package/dist/model/GraphObjectType.js +202 -202
  654. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  655. package/dist/model/GraphObjectTypeInput.js +2 -2
  656. package/dist/model/GraphObjectTypeResponse.d.ts +4 -3
  657. package/dist/model/GraphObjectTypeResponse.d.ts.map +1 -1
  658. package/dist/model/GraphObjectTypeResponse.js +8 -6
  659. package/dist/model/GraphObjectTypeSchema.d.ts +59 -68
  660. package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
  661. package/dist/model/GraphObjectTypeSchema.js +158 -189
  662. package/dist/model/GraphOwner.d.ts +1 -1
  663. package/dist/model/GraphOwner.js +2 -2
  664. package/dist/model/GraphRelationship.d.ts +20 -20
  665. package/dist/model/GraphRelationship.d.ts.map +1 -1
  666. package/dist/model/GraphRelationship.js +51 -51
  667. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  668. package/dist/model/GraphRelationshipPayload.js +2 -2
  669. package/dist/model/GraphRelationshipResponse.d.ts +1 -1
  670. package/dist/model/GraphRelationshipResponse.js +2 -2
  671. package/dist/model/GraphRelationshipType.d.ts +62 -62
  672. package/dist/model/GraphRelationshipType.d.ts.map +1 -1
  673. package/dist/model/GraphRelationshipType.js +175 -175
  674. package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
  675. package/dist/model/GraphRelationshipTypeInput.js +2 -2
  676. package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -3
  677. package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -1
  678. package/dist/model/GraphRelationshipTypeResponse.js +8 -6
  679. package/dist/model/GraphResponse.d.ts +1 -1
  680. package/dist/model/GraphResponse.js +2 -2
  681. package/dist/model/GraphSchemaInput.d.ts +1 -1
  682. package/dist/model/GraphSchemaInput.js +2 -2
  683. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  684. package/dist/model/GraphSchemaResponse.js +2 -2
  685. package/dist/model/GraphTraversalInput.d.ts +1 -1
  686. package/dist/model/GraphTraversalInput.js +2 -2
  687. package/dist/model/HostedConfirmation.d.ts +1 -1
  688. package/dist/model/HostedConfirmation.js +2 -2
  689. package/dist/model/Iban.d.ts +1 -1
  690. package/dist/model/Iban.js +2 -2
  691. package/dist/model/Ideal.d.ts +10 -10
  692. package/dist/model/Ideal.d.ts.map +1 -1
  693. package/dist/model/Ideal.js +30 -30
  694. package/dist/model/Image.d.ts +1 -1
  695. package/dist/model/Image.js +2 -2
  696. package/dist/model/IncrementalAuthorization.d.ts +1 -1
  697. package/dist/model/IncrementalAuthorization.js +2 -2
  698. package/dist/model/IndexFilter.d.ts +1 -1
  699. package/dist/model/IndexFilter.js +2 -2
  700. package/dist/model/InputPart.d.ts +24 -24
  701. package/dist/model/InputPart.d.ts.map +1 -1
  702. package/dist/model/InputPart.js +63 -63
  703. package/dist/model/InputPartHeaders.d.ts +1 -1
  704. package/dist/model/InputPartHeaders.js +2 -2
  705. package/dist/model/Installments.d.ts +1 -1
  706. package/dist/model/Installments.js +2 -2
  707. package/dist/model/InteracPresent.d.ts +1 -154
  708. package/dist/model/InteracPresent.d.ts.map +1 -1
  709. package/dist/model/InteracPresent.js +2 -489
  710. package/dist/model/InviteMembersInput.d.ts +1 -1
  711. package/dist/model/InviteMembersInput.js +2 -2
  712. package/dist/model/Invoice.d.ts +28 -28
  713. package/dist/model/Invoice.d.ts.map +1 -1
  714. package/dist/model/Invoice.js +92 -92
  715. package/dist/model/InvoiceCreation.d.ts +1 -1
  716. package/dist/model/InvoiceCreation.js +2 -2
  717. package/dist/model/InvoiceData.d.ts +1 -1
  718. package/dist/model/InvoiceData.js +2 -2
  719. package/dist/model/InvoiceItem.d.ts +10 -10
  720. package/dist/model/InvoiceItem.d.ts.map +1 -1
  721. package/dist/model/InvoiceItem.js +32 -32
  722. package/dist/model/InvoiceLineItem.d.ts +10 -10
  723. package/dist/model/InvoiceLineItem.d.ts.map +1 -1
  724. package/dist/model/InvoiceLineItem.js +32 -32
  725. package/dist/model/InvoiceLineItemCollection.d.ts +1 -1
  726. package/dist/model/InvoiceLineItemCollection.js +2 -2
  727. package/dist/model/InvoiceSettings.d.ts +1 -1
  728. package/dist/model/InvoiceSettings.js +2 -2
  729. package/dist/model/IpAddressLocation.d.ts +1 -1
  730. package/dist/model/IpAddressLocation.js +2 -2
  731. package/dist/model/Item.d.ts +1 -1
  732. package/dist/model/Item.js +2 -2
  733. package/dist/model/ItemReason.d.ts +1 -1
  734. package/dist/model/ItemReason.js +2 -2
  735. package/dist/model/JsonArray.d.ts +1 -1
  736. package/dist/model/JsonArray.js +2 -2
  737. package/dist/model/JsonNull.d.ts +80 -80
  738. package/dist/model/JsonNull.d.ts.map +1 -1
  739. package/dist/model/JsonNull.js +213 -213
  740. package/dist/model/JsonObject.d.ts +1 -1
  741. package/dist/model/JsonObject.js +2 -2
  742. package/dist/model/JsonPrimitive.d.ts +63 -63
  743. package/dist/model/JsonPrimitive.d.ts.map +1 -1
  744. package/dist/model/JsonPrimitive.js +173 -173
  745. package/dist/model/JsonValue.d.ts +1 -1
  746. package/dist/model/JsonValue.js +2 -2
  747. package/dist/model/KafkaSettings.d.ts +1 -1
  748. package/dist/model/KafkaSettings.js +2 -2
  749. package/dist/model/KeycloakConfigInput.d.ts +1 -1
  750. package/dist/model/KeycloakConfigInput.js +2 -2
  751. package/dist/model/KeycloakConfigResponse.d.ts +1 -1
  752. package/dist/model/KeycloakConfigResponse.js +2 -2
  753. package/dist/model/Klarna.d.ts +1 -19
  754. package/dist/model/Klarna.d.ts.map +1 -1
  755. package/dist/model/Klarna.js +2 -60
  756. package/dist/model/Konbini.d.ts +1 -1
  757. package/dist/model/Konbini.js +2 -2
  758. package/dist/model/KonbiniDisplayDetails.d.ts +1 -1
  759. package/dist/model/KonbiniDisplayDetails.js +2 -2
  760. package/dist/model/Label.d.ts +1 -1
  761. package/dist/model/Label.js +2 -2
  762. package/dist/model/LaunchTemplateExecutionRequest.d.ts +1 -1
  763. package/dist/model/LaunchTemplateExecutionRequest.js +2 -2
  764. package/dist/model/LaunchTemplateExecutionResponse.d.ts +1 -1
  765. package/dist/model/LaunchTemplateExecutionResponse.js +2 -2
  766. package/dist/model/LaunchTemplateInput.d.ts +1 -1
  767. package/dist/model/LaunchTemplateInput.js +2 -2
  768. package/dist/model/LaunchTemplateObject.d.ts +28 -28
  769. package/dist/model/LaunchTemplateObject.d.ts.map +1 -1
  770. package/dist/model/LaunchTemplateObject.js +75 -75
  771. package/dist/model/LaunchTemplateResponse.d.ts +1 -1
  772. package/dist/model/LaunchTemplateResponse.js +2 -2
  773. package/dist/model/Lawson.d.ts +1 -1
  774. package/dist/model/Lawson.js +2 -2
  775. package/dist/model/Level3.d.ts +1 -1
  776. package/dist/model/Level3.js +2 -2
  777. package/dist/model/LineItem.d.ts +1 -1
  778. package/dist/model/LineItem.js +2 -2
  779. package/dist/model/LineItemCollection.d.ts +1 -1
  780. package/dist/model/LineItemCollection.js +2 -2
  781. package/dist/model/LineItemInput.d.ts +1 -1
  782. package/dist/model/LineItemInput.js +2 -2
  783. package/dist/model/Link.d.ts +1 -10
  784. package/dist/model/Link.d.ts.map +1 -1
  785. package/dist/model/Link.js +2 -31
  786. package/dist/model/LinkInput.d.ts +1 -1
  787. package/dist/model/LinkInput.js +2 -2
  788. package/dist/model/LinkResponse.d.ts +1 -1
  789. package/dist/model/LinkResponse.js +2 -2
  790. package/dist/model/LiveStreamInfo.d.ts +10 -10
  791. package/dist/model/LiveStreamInfo.d.ts.map +1 -1
  792. package/dist/model/LiveStreamInfo.js +33 -33
  793. package/dist/model/Location.d.ts +1 -1
  794. package/dist/model/Location.js +2 -2
  795. package/dist/model/MainPhoto.d.ts +1 -1
  796. package/dist/model/MainPhoto.js +2 -2
  797. package/dist/model/Mandate.d.ts +1 -1
  798. package/dist/model/Mandate.js +2 -2
  799. package/dist/model/MandateOptions.d.ts +1 -1
  800. package/dist/model/MandateOptions.js +2 -2
  801. package/dist/model/Masterpass.d.ts +1 -1
  802. package/dist/model/Masterpass.js +2 -2
  803. package/dist/model/Maximum.d.ts +1 -1
  804. package/dist/model/Maximum.js +2 -2
  805. package/dist/model/MediaType.d.ts +9 -9
  806. package/dist/model/MediaType.d.ts.map +1 -1
  807. package/dist/model/MediaType.js +23 -23
  808. package/dist/model/MeetingEventInput.d.ts +1 -1
  809. package/dist/model/MeetingEventInput.js +2 -2
  810. package/dist/model/MeetingEventResponse.d.ts +1 -1
  811. package/dist/model/MeetingEventResponse.js +2 -2
  812. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  813. package/dist/model/MeetingEventTypeInput.js +2 -2
  814. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  815. package/dist/model/MeetingEventTypeResponse.js +2 -2
  816. package/dist/model/MeetingInfo.d.ts +23 -23
  817. package/dist/model/MeetingInfo.d.ts.map +1 -1
  818. package/dist/model/MeetingInfo.js +60 -60
  819. package/dist/model/Member.d.ts +32 -32
  820. package/dist/model/Member.d.ts.map +1 -1
  821. package/dist/model/Member.js +94 -94
  822. package/dist/model/MemberGroupCategory.d.ts +18 -18
  823. package/dist/model/MemberGroupCategory.d.ts.map +1 -1
  824. package/dist/model/MemberGroupCategory.js +50 -50
  825. package/dist/model/MemberList.d.ts +1 -1
  826. package/dist/model/MemberList.js +2 -2
  827. package/dist/model/MemberManagerConfigInput.d.ts +1 -1
  828. package/dist/model/MemberManagerConfigInput.js +2 -2
  829. package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
  830. package/dist/model/MemberManagerConfigResponse.js +2 -2
  831. package/dist/model/MemberManagerInput.d.ts +1 -1
  832. package/dist/model/MemberManagerInput.js +2 -2
  833. package/dist/model/MemberManagerResponse.d.ts +1 -1
  834. package/dist/model/MemberManagerResponse.js +2 -2
  835. package/dist/model/MemberManagerSecretInput.d.ts +1 -1
  836. package/dist/model/MemberManagerSecretInput.js +2 -2
  837. package/dist/model/MemberManagerSecretResponse.d.ts +1 -1
  838. package/dist/model/MemberManagerSecretResponse.js +2 -2
  839. package/dist/model/MenuInput.d.ts +1 -1
  840. package/dist/model/MenuInput.js +2 -2
  841. package/dist/model/MenuItemInput.d.ts +1 -1
  842. package/dist/model/MenuItemInput.js +2 -2
  843. package/dist/model/MenuItemResponse.d.ts +1 -1
  844. package/dist/model/MenuItemResponse.js +2 -2
  845. package/dist/model/MenuResponse.d.ts +1 -1
  846. package/dist/model/MenuResponse.js +2 -2
  847. package/dist/model/Message.d.ts +1 -1
  848. package/dist/model/Message.js +2 -2
  849. package/dist/model/MessageGroup.d.ts +1 -1
  850. package/dist/model/MessageGroup.js +2 -2
  851. package/dist/model/Minimum.d.ts +1 -1
  852. package/dist/model/Minimum.js +2 -2
  853. package/dist/model/Ministop.d.ts +1 -1
  854. package/dist/model/Ministop.js +2 -2
  855. package/dist/model/MonthlyEstimatedRevenue.d.ts +1 -1
  856. package/dist/model/MonthlyEstimatedRevenue.js +2 -2
  857. package/dist/model/MultiUse.d.ts +1 -1
  858. package/dist/model/MultiUse.js +2 -2
  859. package/dist/model/Multibanco.d.ts +1 -1
  860. package/dist/model/Multibanco.js +2 -2
  861. package/dist/model/Multicapture.d.ts +1 -1
  862. package/dist/model/Multicapture.js +2 -2
  863. package/dist/model/MultipartBody.d.ts +1 -1
  864. package/dist/model/MultipartBody.js +2 -2
  865. package/dist/model/MultivaluedMapStringString.d.ts +1 -1
  866. package/dist/model/MultivaluedMapStringString.js +2 -2
  867. package/dist/model/N8nSettings.d.ts +1 -1
  868. package/dist/model/N8nSettings.js +2 -2
  869. package/dist/model/NetworkToken.d.ts +1 -1
  870. package/dist/model/NetworkToken.js +2 -2
  871. package/dist/model/Networks.d.ts +1 -1
  872. package/dist/model/Networks.js +2 -2
  873. package/dist/model/NextAction.d.ts +33 -6
  874. package/dist/model/NextAction.d.ts.map +1 -1
  875. package/dist/model/NextAction.js +107 -18
  876. package/dist/model/NotificationInput.d.ts +1 -1
  877. package/dist/model/NotificationInput.js +2 -2
  878. package/dist/model/NotificationResponse.d.ts +1 -1
  879. package/dist/model/NotificationResponse.js +2 -2
  880. package/dist/model/NumberSettings.d.ts +1 -1
  881. package/dist/model/NumberSettings.js +2 -2
  882. package/dist/model/Numeric.d.ts +1 -1
  883. package/dist/model/Numeric.js +2 -2
  884. package/dist/model/ObjectSettings.d.ts +1 -1
  885. package/dist/model/ObjectSettings.js +2 -2
  886. package/dist/model/Objecttype.d.ts +68 -59
  887. package/dist/model/Objecttype.d.ts.map +1 -1
  888. package/dist/model/Objecttype.js +189 -158
  889. package/dist/model/Offline.d.ts +1 -1
  890. package/dist/model/Offline.js +2 -2
  891. package/dist/model/Online.d.ts +1 -1
  892. package/dist/model/Online.js +2 -2
  893. package/dist/model/Option.d.ts +1 -1
  894. package/dist/model/Option.js +2 -2
  895. package/dist/model/OutParameter.d.ts +1 -1
  896. package/dist/model/OutParameter.js +2 -2
  897. package/dist/model/Outcome.d.ts +1 -1
  898. package/dist/model/Outcome.js +2 -2
  899. package/dist/model/Overcapture.d.ts +1 -1
  900. package/dist/model/Overcapture.js +2 -2
  901. package/dist/model/OwnershipDeclaration.d.ts +1 -1
  902. package/dist/model/OwnershipDeclaration.js +2 -2
  903. package/dist/model/Oxxo.d.ts +14 -5
  904. package/dist/model/Oxxo.d.ts.map +1 -1
  905. package/dist/model/Oxxo.js +40 -15
  906. package/dist/model/OxxoDisplayDetails.d.ts +1 -1
  907. package/dist/model/OxxoDisplayDetails.js +2 -2
  908. package/dist/model/P24.d.ts +5 -23
  909. package/dist/model/P24.d.ts.map +1 -1
  910. package/dist/model/P24.js +15 -73
  911. package/dist/model/PackageDimensions.d.ts +1 -1
  912. package/dist/model/PackageDimensions.js +2 -2
  913. package/dist/model/Page.d.ts +41 -41
  914. package/dist/model/Page.d.ts.map +1 -1
  915. package/dist/model/Page.js +117 -117
  916. package/dist/model/PageSchema.d.ts +19 -19
  917. package/dist/model/PageSchema.d.ts.map +1 -1
  918. package/dist/model/PageSchema.js +54 -54
  919. package/dist/model/PageableObject.d.ts +19 -19
  920. package/dist/model/PageableObject.d.ts.map +1 -1
  921. package/dist/model/PageableObject.js +48 -48
  922. package/dist/model/Parameter.d.ts +1 -1
  923. package/dist/model/Parameter.js +2 -2
  924. package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
  925. package/dist/model/PasswordResetInitiateRequest.js +2 -2
  926. package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
  927. package/dist/model/PasswordResetInitiateResponse.js +2 -2
  928. package/dist/model/PasswordResetRequest.d.ts +1 -1
  929. package/dist/model/PasswordResetRequest.js +2 -2
  930. package/dist/model/PasswordResetResponse.d.ts +1 -1
  931. package/dist/model/PasswordResetResponse.js +2 -2
  932. package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
  933. package/dist/model/PasswordResetValidationResponse.js +2 -2
  934. package/dist/model/Path.d.ts +1 -1
  935. package/dist/model/Path.js +2 -2
  936. package/dist/model/PauseCollection.d.ts +1 -1
  937. package/dist/model/PauseCollection.js +2 -2
  938. package/dist/model/PaymentAccountObject.d.ts +10 -10
  939. package/dist/model/PaymentAccountObject.d.ts.map +1 -1
  940. package/dist/model/PaymentAccountObject.js +25 -25
  941. package/dist/model/PaymentIntent.d.ts +24 -24
  942. package/dist/model/PaymentIntent.d.ts.map +1 -1
  943. package/dist/model/PaymentIntent.js +77 -77
  944. package/dist/model/PaymentIntentData.d.ts +1 -1
  945. package/dist/model/PaymentIntentData.js +2 -2
  946. package/dist/model/PaymentIntentInput.d.ts +1 -1
  947. package/dist/model/PaymentIntentInput.js +2 -2
  948. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  949. package/dist/model/PaymentIntentResponse.js +2 -2
  950. package/dist/model/PaymentLink.d.ts +1 -1
  951. package/dist/model/PaymentLink.js +2 -2
  952. package/dist/model/PaymentMethod.d.ts +1 -1
  953. package/dist/model/PaymentMethod.js +2 -2
  954. package/dist/model/PaymentMethodConfigurationDetails.d.ts +1 -1
  955. package/dist/model/PaymentMethodConfigurationDetails.js +2 -2
  956. package/dist/model/PaymentMethodDetails.d.ts +1 -226
  957. package/dist/model/PaymentMethodDetails.d.ts.map +1 -1
  958. package/dist/model/PaymentMethodDetails.js +2 -777
  959. package/dist/model/PaymentMethodInput.d.ts +1 -1
  960. package/dist/model/PaymentMethodInput.js +2 -2
  961. package/dist/model/PaymentMethodOptions.d.ts +1 -1
  962. package/dist/model/PaymentMethodOptions.js +2 -2
  963. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  964. package/dist/model/PaymentMethodResponse.js +2 -2
  965. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  966. package/dist/model/PaymentMethodsResponse.js +2 -2
  967. package/dist/model/PaymentSettings.d.ts +1 -1
  968. package/dist/model/PaymentSettings.js +2 -2
  969. package/dist/model/PaymentSource.d.ts +1 -1
  970. package/dist/model/PaymentSource.js +2 -2
  971. package/dist/model/PaymentSourceCollection.d.ts +1 -1
  972. package/dist/model/PaymentSourceCollection.js +2 -2
  973. package/dist/model/Payments.d.ts +1 -1
  974. package/dist/model/Payments.js +2 -2
  975. package/dist/model/Paynow.d.ts +5 -5
  976. package/dist/model/Paynow.d.ts.map +1 -1
  977. package/dist/model/Paynow.js +15 -15
  978. package/dist/model/PaynowDisplayQrCode.d.ts +1 -1
  979. package/dist/model/PaynowDisplayQrCode.js +2 -2
  980. package/dist/model/Payout.d.ts +23 -23
  981. package/dist/model/Payout.d.ts.map +1 -1
  982. package/dist/model/Payout.js +64 -64
  983. package/dist/model/PayoutInput.d.ts +1 -1
  984. package/dist/model/PayoutInput.js +2 -2
  985. package/dist/model/PayoutResponse.d.ts +1 -1
  986. package/dist/model/PayoutResponse.js +2 -2
  987. package/dist/model/Payouts.d.ts +1 -1
  988. package/dist/model/Payouts.js +2 -2
  989. package/dist/model/Paypal.d.ts +1 -46
  990. package/dist/model/Paypal.d.ts.map +1 -1
  991. package/dist/model/Paypal.js +2 -149
  992. package/dist/model/Pdf.d.ts +1 -1
  993. package/dist/model/Pdf.js +2 -2
  994. package/dist/model/PendingInvoiceItemInterval.d.ts +1 -1
  995. package/dist/model/PendingInvoiceItemInterval.js +2 -2
  996. package/dist/model/PendingUpdate.d.ts +1 -1
  997. package/dist/model/PendingUpdate.js +2 -2
  998. package/dist/model/Period.d.ts +1 -1
  999. package/dist/model/Period.js +2 -2
  1000. package/dist/model/Person.d.ts +1 -1
  1001. package/dist/model/Person.js +2 -2
  1002. package/dist/model/Phase.d.ts +11 -11
  1003. package/dist/model/Phase.d.ts.map +1 -1
  1004. package/dist/model/Phase.js +32 -32
  1005. package/dist/model/PhoneNumber.d.ts +27 -27
  1006. package/dist/model/PhoneNumber.d.ts.map +1 -1
  1007. package/dist/model/PhoneNumber.js +86 -86
  1008. package/dist/model/PhoneNumberCollection.d.ts +1 -1
  1009. package/dist/model/PhoneNumberCollection.js +2 -2
  1010. package/dist/model/Pix.d.ts +23 -5
  1011. package/dist/model/Pix.d.ts.map +1 -1
  1012. package/dist/model/Pix.js +65 -15
  1013. package/dist/model/PixDisplayQrCode.d.ts +1 -1
  1014. package/dist/model/PixDisplayQrCode.js +2 -2
  1015. package/dist/model/Plan.d.ts +1 -1
  1016. package/dist/model/Plan.js +2 -2
  1017. package/dist/model/PostInput.d.ts +1 -1
  1018. package/dist/model/PostInput.js +2 -2
  1019. package/dist/model/PostResponse.d.ts +1 -1
  1020. package/dist/model/PostResponse.js +2 -2
  1021. package/dist/model/Price.d.ts +1 -1
  1022. package/dist/model/Price.js +2 -2
  1023. package/dist/model/PriceInput.d.ts +94 -0
  1024. package/dist/model/PriceInput.d.ts.map +1 -0
  1025. package/dist/model/PriceInput.js +270 -0
  1026. package/dist/model/PriceResponse.d.ts +57 -0
  1027. package/dist/model/PriceResponse.d.ts.map +1 -0
  1028. package/dist/model/PriceResponse.js +158 -0
  1029. package/dist/model/PrivateMessage.d.ts +41 -41
  1030. package/dist/model/PrivateMessage.d.ts.map +1 -1
  1031. package/dist/model/PrivateMessage.js +114 -114
  1032. package/dist/model/PrivateMessageConversation.d.ts +56 -56
  1033. package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
  1034. package/dist/model/PrivateMessageConversation.js +162 -162
  1035. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  1036. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  1037. package/dist/model/Processing.d.ts +1 -1
  1038. package/dist/model/Processing.js +2 -2
  1039. package/dist/model/Product.d.ts +10 -10
  1040. package/dist/model/Product.d.ts.map +1 -1
  1041. package/dist/model/Product.js +30 -30
  1042. package/dist/model/ProductCategory.d.ts +112 -0
  1043. package/dist/model/ProductCategory.d.ts.map +1 -0
  1044. package/dist/model/ProductCategory.js +318 -0
  1045. package/dist/model/ProductCategoryInput.d.ts +74 -0
  1046. package/dist/model/ProductCategoryInput.d.ts.map +1 -0
  1047. package/dist/model/ProductCategoryInput.js +210 -0
  1048. package/dist/model/ProductCategoryResponse.d.ts +57 -0
  1049. package/dist/model/ProductCategoryResponse.d.ts.map +1 -0
  1050. package/dist/model/ProductCategoryResponse.js +158 -0
  1051. package/dist/model/ProductInput.d.ts +92 -0
  1052. package/dist/model/ProductInput.d.ts.map +1 -0
  1053. package/dist/model/ProductInput.js +268 -0
  1054. package/dist/model/ProductResponse.d.ts +57 -0
  1055. package/dist/model/ProductResponse.d.ts.map +1 -0
  1056. package/dist/model/ProductResponse.js +158 -0
  1057. package/dist/model/Profile.d.ts +10 -10
  1058. package/dist/model/Profile.d.ts.map +1 -1
  1059. package/dist/model/Profile.js +30 -30
  1060. package/dist/model/Profiletype.d.ts +1 -1
  1061. package/dist/model/Profiletype.js +2 -2
  1062. package/dist/model/PromotionCode.d.ts +1 -1
  1063. package/dist/model/PromotionCode.js +2 -2
  1064. package/dist/model/Promptpay.d.ts +5 -5
  1065. package/dist/model/Promptpay.d.ts.map +1 -1
  1066. package/dist/model/Promptpay.js +15 -15
  1067. package/dist/model/PromptpayDisplayQrCode.d.ts +1 -1
  1068. package/dist/model/PromptpayDisplayQrCode.js +2 -2
  1069. package/dist/model/ProrationDetails.d.ts +1 -1
  1070. package/dist/model/ProrationDetails.js +2 -2
  1071. package/dist/model/PublicationInput.d.ts +1 -1
  1072. package/dist/model/PublicationInput.js +2 -2
  1073. package/dist/model/PublicationResponse.d.ts +1 -1
  1074. package/dist/model/PublicationResponse.js +2 -2
  1075. package/dist/model/PurchaseInput.d.ts +1 -1
  1076. package/dist/model/PurchaseInput.js +2 -2
  1077. package/dist/model/PurchaseResponse.d.ts +1 -1
  1078. package/dist/model/PurchaseResponse.js +2 -2
  1079. package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
  1080. package/dist/model/PurgeDataDefaultResponse.js +2 -2
  1081. package/dist/model/QrCode.d.ts +1 -1
  1082. package/dist/model/QrCode.js +2 -2
  1083. package/dist/model/Quote.d.ts +28 -28
  1084. package/dist/model/Quote.d.ts.map +1 -1
  1085. package/dist/model/Quote.js +108 -108
  1086. package/dist/model/RadarOptions.d.ts +1 -1
  1087. package/dist/model/RadarOptions.js +2 -2
  1088. package/dist/model/Receipt.d.ts +1 -1
  1089. package/dist/model/Receipt.js +2 -2
  1090. package/dist/model/Recovery.d.ts +1 -1
  1091. package/dist/model/Recovery.js +2 -2
  1092. package/dist/model/Recurring.d.ts +1 -1
  1093. package/dist/model/Recurring.js +2 -2
  1094. package/dist/model/RecurringInput.d.ts +71 -0
  1095. package/dist/model/RecurringInput.d.ts.map +1 -0
  1096. package/dist/model/RecurringInput.js +209 -0
  1097. package/dist/model/Redirect.d.ts +1 -1
  1098. package/dist/model/Redirect.js +2 -2
  1099. package/dist/model/RedirectToUrl.d.ts +1 -1
  1100. package/dist/model/RedirectToUrl.js +2 -2
  1101. package/dist/model/Refund.d.ts +34 -34
  1102. package/dist/model/Refund.d.ts.map +1 -1
  1103. package/dist/model/Refund.js +99 -99
  1104. package/dist/model/RefundCollection.d.ts +1 -1
  1105. package/dist/model/RefundCollection.js +2 -2
  1106. package/dist/model/Relationship.d.ts +1 -1
  1107. package/dist/model/Relationship.js +2 -2
  1108. package/dist/model/RelationshipMapping.d.ts +19 -19
  1109. package/dist/model/RelationshipMapping.d.ts.map +1 -1
  1110. package/dist/model/RelationshipMapping.js +55 -55
  1111. package/dist/model/Rendering.d.ts +1 -1
  1112. package/dist/model/Rendering.js +2 -2
  1113. package/dist/model/RenderingOptions.d.ts +1 -1
  1114. package/dist/model/RenderingOptions.js +2 -2
  1115. package/dist/model/RequestOptions.d.ts +1 -1
  1116. package/dist/model/RequestOptions.js +2 -2
  1117. package/dist/model/RequestOptionsProxyCredential.d.ts +1 -1
  1118. package/dist/model/RequestOptionsProxyCredential.js +2 -2
  1119. package/dist/model/Requirements.d.ts +1 -1
  1120. package/dist/model/Requirements.js +2 -2
  1121. package/dist/model/RestApplicationInput.d.ts +1 -1
  1122. package/dist/model/RestApplicationInput.js +2 -2
  1123. package/dist/model/RestApplicationResponse.d.ts +1 -1
  1124. package/dist/model/RestApplicationResponse.js +2 -2
  1125. package/dist/model/Restrictions.d.ts +1 -1
  1126. package/dist/model/Restrictions.js +2 -2
  1127. package/dist/model/Review.d.ts +1 -1
  1128. package/dist/model/Review.js +2 -2
  1129. package/dist/model/RevolutPay.d.ts +1 -1
  1130. package/dist/model/RevolutPay.js +2 -2
  1131. package/dist/model/Rule.d.ts +1 -1
  1132. package/dist/model/Rule.js +2 -2
  1133. package/dist/model/SamsungPay.d.ts +1 -1
  1134. package/dist/model/SamsungPay.js +2 -2
  1135. package/dist/model/Schedule.d.ts +1 -1
  1136. package/dist/model/Schedule.js +2 -2
  1137. package/dist/model/Schema.d.ts +47 -0
  1138. package/dist/model/Schema.d.ts.map +1 -0
  1139. package/dist/model/Schema.js +158 -0
  1140. package/dist/model/ScreenSchema.d.ts +59 -59
  1141. package/dist/model/ScreenSchema.d.ts.map +1 -1
  1142. package/dist/model/ScreenSchema.js +165 -165
  1143. package/dist/model/Seicomart.d.ts +1 -1
  1144. package/dist/model/Seicomart.js +2 -2
  1145. package/dist/model/SellerProtection.d.ts +1 -1
  1146. package/dist/model/SellerProtection.js +2 -2
  1147. package/dist/model/SepaCreditTransfer.d.ts +1 -1
  1148. package/dist/model/SepaCreditTransfer.js +2 -2
  1149. package/dist/model/SepaDebit.d.ts +1 -1
  1150. package/dist/model/SepaDebit.js +2 -2
  1151. package/dist/model/SepaDebitPayments.d.ts +1 -1
  1152. package/dist/model/SepaDebitPayments.js +2 -2
  1153. package/dist/model/Session.d.ts +1 -1
  1154. package/dist/model/Session.js +2 -2
  1155. package/dist/model/Settings.d.ts +1 -1
  1156. package/dist/model/Settings.js +2 -2
  1157. package/dist/model/SetupAttempt.d.ts +10 -10
  1158. package/dist/model/SetupAttempt.d.ts.map +1 -1
  1159. package/dist/model/SetupAttempt.js +32 -32
  1160. package/dist/model/SetupIntent.d.ts +1 -1
  1161. package/dist/model/SetupIntent.js +2 -2
  1162. package/dist/model/ShippingAddress.d.ts +1 -1
  1163. package/dist/model/ShippingAddress.js +2 -2
  1164. package/dist/model/ShippingAddressCollection.d.ts +1 -1
  1165. package/dist/model/ShippingAddressCollection.js +2 -2
  1166. package/dist/model/ShippingCost.d.ts +1 -1
  1167. package/dist/model/ShippingCost.js +2 -2
  1168. package/dist/model/ShippingDetails.d.ts +1 -1
  1169. package/dist/model/ShippingDetails.js +2 -2
  1170. package/dist/model/ShippingOption.d.ts +1 -1
  1171. package/dist/model/ShippingOption.js +2 -2
  1172. package/dist/model/ShippingRate.d.ts +1 -1
  1173. package/dist/model/ShippingRate.js +2 -2
  1174. package/dist/model/SimulcastInfo.d.ts +12 -12
  1175. package/dist/model/SimulcastInfo.d.ts.map +1 -1
  1176. package/dist/model/SimulcastInfo.js +36 -36
  1177. package/dist/model/SingleUse.d.ts +1 -1
  1178. package/dist/model/SingleUse.js +2 -2
  1179. package/dist/model/SiteInput.d.ts +1 -1
  1180. package/dist/model/SiteInput.js +2 -2
  1181. package/dist/model/SiteResponse.d.ts +1 -1
  1182. package/dist/model/SiteResponse.js +2 -2
  1183. package/dist/model/SiteTypeInput.d.ts +1 -1
  1184. package/dist/model/SiteTypeInput.js +2 -2
  1185. package/dist/model/SiteTypeResponse.d.ts +1 -1
  1186. package/dist/model/SiteTypeResponse.js +2 -2
  1187. package/dist/model/SkinField.d.ts +102 -60
  1188. package/dist/model/SkinField.d.ts.map +1 -1
  1189. package/dist/model/SkinField.js +295 -159
  1190. package/dist/model/SkinFieldResponse.d.ts +33 -3
  1191. package/dist/model/SkinFieldResponse.d.ts.map +1 -1
  1192. package/dist/model/SkinFieldResponse.js +112 -6
  1193. package/dist/model/SocialGroup.d.ts +52 -52
  1194. package/dist/model/SocialGroup.d.ts.map +1 -1
  1195. package/dist/model/SocialGroup.js +146 -146
  1196. package/dist/model/SocialGroupInput.d.ts +1 -1
  1197. package/dist/model/SocialGroupInput.js +2 -2
  1198. package/dist/model/SocialGroupResponse.d.ts +1 -1
  1199. package/dist/model/SocialGroupResponse.js +2 -2
  1200. package/dist/model/SocialGroupType.d.ts +1 -1
  1201. package/dist/model/SocialGroupType.js +2 -2
  1202. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  1203. package/dist/model/SocialGroupTypeInput.js +2 -2
  1204. package/dist/model/Sofort.d.ts +10 -19
  1205. package/dist/model/Sofort.d.ts.map +1 -1
  1206. package/dist/model/Sofort.js +30 -59
  1207. package/dist/model/SortCode.d.ts +1 -1
  1208. package/dist/model/SortCode.js +2 -2
  1209. package/dist/model/SortObject.d.ts +1 -1
  1210. package/dist/model/SortObject.js +2 -2
  1211. package/dist/model/SourceTypes.d.ts +1 -1
  1212. package/dist/model/SourceTypes.js +2 -2
  1213. package/dist/model/Spei.d.ts +1 -1
  1214. package/dist/model/Spei.js +2 -2
  1215. package/dist/model/StatusDetails.d.ts +1 -1
  1216. package/dist/model/StatusDetails.js +2 -2
  1217. package/dist/model/StatusTransitions.d.ts +1 -1
  1218. package/dist/model/StatusTransitions.js +2 -2
  1219. package/dist/model/Store.d.ts +1 -1
  1220. package/dist/model/Store.js +2 -2
  1221. package/dist/model/Stores.d.ts +1 -1
  1222. package/dist/model/Stores.js +2 -2
  1223. package/dist/model/StripeAccount.d.ts +1 -1
  1224. package/dist/model/StripeAccount.js +2 -2
  1225. package/dist/model/StripeCheckoutSession.d.ts +42 -42
  1226. package/dist/model/StripeCheckoutSession.d.ts.map +1 -1
  1227. package/dist/model/StripeCheckoutSession.js +113 -113
  1228. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  1229. package/dist/model/StripeCustomerAccount.js +2 -2
  1230. package/dist/model/StripeError.d.ts +1 -1
  1231. package/dist/model/StripeError.js +2 -2
  1232. package/dist/model/StripePaymentIntent.d.ts +24 -24
  1233. package/dist/model/StripePaymentIntent.d.ts.map +1 -1
  1234. package/dist/model/StripePaymentIntent.js +66 -66
  1235. package/dist/model/StripePrice.d.ts +119 -0
  1236. package/dist/model/StripePrice.d.ts.map +1 -0
  1237. package/dist/model/StripePrice.js +361 -0
  1238. package/dist/model/StripeProduct.d.ts +101 -0
  1239. package/dist/model/StripeProduct.d.ts.map +1 -0
  1240. package/dist/model/StripeProduct.js +304 -0
  1241. package/dist/model/StripeSubscription.d.ts +29 -29
  1242. package/dist/model/StripeSubscription.d.ts.map +1 -1
  1243. package/dist/model/StripeSubscription.js +76 -76
  1244. package/dist/model/Submit.d.ts +1 -1
  1245. package/dist/model/Submit.js +2 -2
  1246. package/dist/model/Subscription.d.ts +19 -19
  1247. package/dist/model/Subscription.d.ts.map +1 -1
  1248. package/dist/model/Subscription.js +62 -62
  1249. package/dist/model/SubscriptionCollection.d.ts +1 -1
  1250. package/dist/model/SubscriptionCollection.js +2 -2
  1251. package/dist/model/SubscriptionData.d.ts +1 -1
  1252. package/dist/model/SubscriptionData.js +2 -2
  1253. package/dist/model/SubscriptionDetails.d.ts +1 -1
  1254. package/dist/model/SubscriptionDetails.js +2 -2
  1255. package/dist/model/SubscriptionInput.d.ts +1 -1
  1256. package/dist/model/SubscriptionInput.js +2 -2
  1257. package/dist/model/SubscriptionItem.d.ts +1 -1
  1258. package/dist/model/SubscriptionItem.js +2 -2
  1259. package/dist/model/SubscriptionItemCollection.d.ts +1 -1
  1260. package/dist/model/SubscriptionItemCollection.js +2 -2
  1261. package/dist/model/SubscriptionResponse.d.ts +1 -1
  1262. package/dist/model/SubscriptionResponse.js +2 -2
  1263. package/dist/model/SubscriptionSchedule.d.ts +1 -1
  1264. package/dist/model/SubscriptionSchedule.js +2 -2
  1265. package/dist/model/SupabaseConfigInput.d.ts +1 -1
  1266. package/dist/model/SupabaseConfigInput.js +2 -2
  1267. package/dist/model/SupabaseConfigResponse.d.ts +1 -1
  1268. package/dist/model/SupabaseConfigResponse.js +2 -2
  1269. package/dist/model/Swift.d.ts +1 -1
  1270. package/dist/model/Swift.js +2 -2
  1271. package/dist/model/Tax.d.ts +1 -1
  1272. package/dist/model/Tax.js +2 -2
  1273. package/dist/model/TaxAmount.d.ts +1 -1
  1274. package/dist/model/TaxAmount.js +2 -2
  1275. package/dist/model/TaxCode.d.ts +1 -1
  1276. package/dist/model/TaxCode.js +2 -2
  1277. package/dist/model/TaxId.d.ts +1 -1
  1278. package/dist/model/TaxId.js +2 -2
  1279. package/dist/model/TaxIdCollection.d.ts +1 -1
  1280. package/dist/model/TaxIdCollection.js +2 -2
  1281. package/dist/model/TaxRate.d.ts +1 -1
  1282. package/dist/model/TaxRate.js +2 -2
  1283. package/dist/model/Template.d.ts +15 -15
  1284. package/dist/model/Template.d.ts.map +1 -1
  1285. package/dist/model/Template.js +43 -43
  1286. package/dist/model/TemplateInput.d.ts +1 -1
  1287. package/dist/model/TemplateInput.js +2 -2
  1288. package/dist/model/TemplateResponse.d.ts +1 -1
  1289. package/dist/model/TemplateResponse.js +2 -2
  1290. package/dist/model/TemplateSchema.d.ts +15 -15
  1291. package/dist/model/TemplateSchema.d.ts.map +1 -1
  1292. package/dist/model/TemplateSchema.js +43 -43
  1293. package/dist/model/TermsOfServiceAcceptance.d.ts +1 -1
  1294. package/dist/model/TermsOfServiceAcceptance.js +2 -2
  1295. package/dist/model/TestClock.d.ts +1 -1
  1296. package/dist/model/TestClock.js +2 -2
  1297. package/dist/model/TestConnectionRequest.d.ts +61 -0
  1298. package/dist/model/TestConnectionRequest.d.ts.map +1 -0
  1299. package/dist/model/TestConnectionRequest.js +176 -0
  1300. package/dist/model/TestConnectionResponse.d.ts +78 -0
  1301. package/dist/model/TestConnectionResponse.d.ts.map +1 -0
  1302. package/dist/model/TestConnectionResponse.js +238 -0
  1303. package/dist/model/Text.d.ts +1 -1
  1304. package/dist/model/Text.js +2 -2
  1305. package/dist/model/ThemeMapping.d.ts +10 -10
  1306. package/dist/model/ThemeMapping.d.ts.map +1 -1
  1307. package/dist/model/ThemeMapping.js +32 -32
  1308. package/dist/model/ThemeMappingPayload.d.ts +10 -10
  1309. package/dist/model/ThemeMappingPayload.d.ts.map +1 -1
  1310. package/dist/model/ThemeMappingPayload.js +25 -25
  1311. package/dist/model/ThreeDSecure.d.ts +1 -19
  1312. package/dist/model/ThreeDSecure.d.ts.map +1 -1
  1313. package/dist/model/ThreeDSecure.js +2 -56
  1314. package/dist/model/ThreeDSecureUsage.d.ts +1 -1
  1315. package/dist/model/ThreeDSecureUsage.js +2 -2
  1316. package/dist/model/ThresholdReason.d.ts +1 -1
  1317. package/dist/model/ThresholdReason.js +2 -2
  1318. package/dist/model/Tier.d.ts +1 -1
  1319. package/dist/model/Tier.js +2 -2
  1320. package/dist/model/Timezone.d.ts +1 -1
  1321. package/dist/model/Timezone.js +2 -2
  1322. package/dist/model/Timezone1.d.ts +1 -1
  1323. package/dist/model/Timezone1.js +2 -2
  1324. package/dist/model/Tip.d.ts +1 -1
  1325. package/dist/model/Tip.js +2 -2
  1326. package/dist/model/TopicInfoResponse.d.ts +1 -1
  1327. package/dist/model/TopicInfoResponse.js +2 -2
  1328. package/dist/model/TopicMessageInput.d.ts +1 -1
  1329. package/dist/model/TopicMessageInput.js +2 -2
  1330. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  1331. package/dist/model/TopicSubscriptionResponse.js +2 -2
  1332. package/dist/model/TosAcceptance.d.ts +1 -1
  1333. package/dist/model/TosAcceptance.js +2 -2
  1334. package/dist/model/TotalDetails.d.ts +1 -1
  1335. package/dist/model/TotalDetails.js +2 -2
  1336. package/dist/model/TotalDiscountAmount.d.ts +1 -1
  1337. package/dist/model/TotalDiscountAmount.js +2 -2
  1338. package/dist/model/TotalTaxAmount.d.ts +1 -1
  1339. package/dist/model/TotalTaxAmount.js +2 -2
  1340. package/dist/model/Transaction.d.ts +1 -1
  1341. package/dist/model/Transaction.js +2 -2
  1342. package/dist/model/Transfer.d.ts +21 -21
  1343. package/dist/model/Transfer.d.ts.map +1 -1
  1344. package/dist/model/Transfer.js +59 -59
  1345. package/dist/model/TransferData.d.ts +1 -1
  1346. package/dist/model/TransferData.js +2 -2
  1347. package/dist/model/TransferInput.d.ts +1 -1
  1348. package/dist/model/TransferInput.js +2 -2
  1349. package/dist/model/TransferResponse.d.ts +1 -1
  1350. package/dist/model/TransferResponse.js +2 -2
  1351. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +21 -21
  1352. package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -1
  1353. package/dist/model/TransferResponsePaymentMethodDetails.js +59 -59
  1354. package/dist/model/TransferReversal.d.ts +10 -10
  1355. package/dist/model/TransferReversal.d.ts.map +1 -1
  1356. package/dist/model/TransferReversal.js +32 -32
  1357. package/dist/model/TransferReversalCollection.d.ts +1 -1
  1358. package/dist/model/TransferReversalCollection.js +2 -2
  1359. package/dist/model/TransformQuantity.d.ts +1 -1
  1360. package/dist/model/TransformQuantity.js +2 -2
  1361. package/dist/model/TransformUsage.d.ts +1 -1
  1362. package/dist/model/TransformUsage.js +2 -2
  1363. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  1364. package/dist/model/TraversalRelationResponse.js +2 -2
  1365. package/dist/model/Treasury.d.ts +1 -1
  1366. package/dist/model/Treasury.js +2 -2
  1367. package/dist/model/TrialSettings.d.ts +1 -1
  1368. package/dist/model/TrialSettings.js +2 -2
  1369. package/dist/model/URLMappingInput.d.ts +1 -1
  1370. package/dist/model/URLMappingInput.js +2 -2
  1371. package/dist/model/URLMappingResponse.d.ts +1 -1
  1372. package/dist/model/URLMappingResponse.js +2 -2
  1373. package/dist/model/Upfront.d.ts +1 -1
  1374. package/dist/model/Upfront.js +2 -2
  1375. package/dist/model/UsBankAccount.d.ts +1 -1
  1376. package/dist/model/UsBankAccount.js +2 -2
  1377. package/dist/model/User.d.ts +32 -32
  1378. package/dist/model/User.d.ts.map +1 -1
  1379. package/dist/model/User.js +94 -94
  1380. package/dist/model/UserDataPayload.d.ts +32 -32
  1381. package/dist/model/UserDataPayload.d.ts.map +1 -1
  1382. package/dist/model/UserDataPayload.js +94 -94
  1383. package/dist/model/UserDomain.d.ts +1 -1
  1384. package/dist/model/UserDomain.js +2 -2
  1385. package/dist/model/UserInvite.d.ts +37 -37
  1386. package/dist/model/UserInvite.d.ts.map +1 -1
  1387. package/dist/model/UserInvite.js +102 -102
  1388. package/dist/model/UserInviteInput.d.ts +1 -1
  1389. package/dist/model/UserInviteInput.js +2 -2
  1390. package/dist/model/UserResponse.d.ts +1 -1
  1391. package/dist/model/UserResponse.js +2 -2
  1392. package/dist/model/UserSchema.d.ts +32 -32
  1393. package/dist/model/UserSchema.d.ts.map +1 -1
  1394. package/dist/model/UserSchema.js +94 -94
  1395. package/dist/model/Userid.d.ts +10 -10
  1396. package/dist/model/Userid.d.ts.map +1 -1
  1397. package/dist/model/Userid.js +25 -25
  1398. package/dist/model/UsernameReminderRequest.d.ts +1 -1
  1399. package/dist/model/UsernameReminderRequest.js +2 -2
  1400. package/dist/model/UsernameReminderResponse.d.ts +1 -1
  1401. package/dist/model/UsernameReminderResponse.js +2 -2
  1402. package/dist/model/Verification.d.ts +1 -1
  1403. package/dist/model/Verification.js +2 -2
  1404. package/dist/model/VerifyWithMicrodeposits.d.ts +1 -1
  1405. package/dist/model/VerifyWithMicrodeposits.js +2 -2
  1406. package/dist/model/Video.d.ts +1 -1
  1407. package/dist/model/Video.js +2 -2
  1408. package/dist/model/VideoLiveUrl.d.ts +1 -1
  1409. package/dist/model/VideoLiveUrl.js +2 -2
  1410. package/dist/model/VideoSchema.d.ts +78 -78
  1411. package/dist/model/VideoSchema.d.ts.map +1 -1
  1412. package/dist/model/VideoSchema.js +221 -221
  1413. package/dist/model/VideoUploadObject.d.ts +78 -78
  1414. package/dist/model/VideoUploadObject.d.ts.map +1 -1
  1415. package/dist/model/VideoUploadObject.js +223 -223
  1416. package/dist/model/ViewInput.d.ts +1 -1
  1417. package/dist/model/ViewInput.js +2 -2
  1418. package/dist/model/ViewResponse.d.ts +1 -1
  1419. package/dist/model/ViewResponse.js +2 -2
  1420. package/dist/model/VisaCheckout.d.ts +1 -1
  1421. package/dist/model/VisaCheckout.js +2 -2
  1422. package/dist/model/Wallet.d.ts +1 -55
  1423. package/dist/model/Wallet.d.ts.map +1 -1
  1424. package/dist/model/Wallet.js +2 -186
  1425. package/dist/model/WalletHoldInput.d.ts +1 -1
  1426. package/dist/model/WalletHoldInput.js +2 -2
  1427. package/dist/model/WalletHoldResponse.d.ts +1 -1
  1428. package/dist/model/WalletHoldResponse.js +2 -2
  1429. package/dist/model/WalletPayoutInput.d.ts +1 -1
  1430. package/dist/model/WalletPayoutInput.js +2 -2
  1431. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  1432. package/dist/model/WalletPayoutResponse.js +2 -2
  1433. package/dist/model/WalletResponse.d.ts +1 -1
  1434. package/dist/model/WalletResponse.js +2 -2
  1435. package/dist/model/Wechat.d.ts +1 -1
  1436. package/dist/model/Wechat.js +2 -2
  1437. package/dist/model/WechatPay.d.ts +1 -19
  1438. package/dist/model/WechatPay.d.ts.map +1 -1
  1439. package/dist/model/WechatPay.js +2 -60
  1440. package/dist/model/WechatPayDisplayQrCode.d.ts +1 -1
  1441. package/dist/model/WechatPayDisplayQrCode.js +2 -2
  1442. package/dist/model/WechatPayRedirectToAndroidApp.d.ts +1 -1
  1443. package/dist/model/WechatPayRedirectToAndroidApp.js +2 -2
  1444. package/dist/model/WechatPayRedirectToIosApp.d.ts +1 -1
  1445. package/dist/model/WechatPayRedirectToIosApp.js +2 -2
  1446. package/dist/model/Zengin.d.ts +1 -1
  1447. package/dist/model/Zengin.js +2 -2
  1448. package/dist/model/ZeusPortalCategory.d.ts +33 -33
  1449. package/dist/model/ZeusPortalCategory.d.ts.map +1 -1
  1450. package/dist/model/ZeusPortalCategory.js +97 -97
  1451. package/dist/model/Zip.d.ts +1 -1
  1452. package/dist/model/Zip.js +2 -2
  1453. 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
  /**
@@ -331,13 +340,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
331
340
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
332
341
  */
333
342
  }, {
334
- key: "cancelSubscriptionWithHttpInfo",
335
- value: function cancelSubscriptionWithHttpInfo(subscriptionId, opts) {
343
+ key: "cancelStripeSubscriptionWithHttpInfo",
344
+ value: function cancelStripeSubscriptionWithHttpInfo(subscriptionId, opts) {
336
345
  opts = opts || {};
337
346
  var postBody = null;
338
347
  // verify the required parameter 'subscriptionId' is set
339
348
  if (subscriptionId === undefined || subscriptionId === null) {
340
- throw new Error("Missing the required parameter 'subscriptionId' when calling cancelSubscription");
349
+ throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscription");
341
350
  }
342
351
  var pathParams = {
343
352
  'subscriptionId': subscriptionId
@@ -386,9 +395,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
386
395
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
387
396
  */
388
397
  }, {
389
- key: "cancelSubscription",
390
- value: function cancelSubscription(subscriptionId, opts) {
391
- return this.cancelSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
398
+ key: "cancelStripeSubscription",
399
+ value: function cancelStripeSubscription(subscriptionId, opts) {
400
+ return this.cancelStripeSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
392
401
  return response_and_data.data;
393
402
  });
394
403
  }
@@ -413,13 +422,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
413
422
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
414
423
  */
415
424
  }, {
416
- key: "cancelSubscriptionAtPeriodEndWithHttpInfo",
417
- value: function cancelSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts) {
425
+ key: "cancelStripeSubscriptionAtPeriodEndWithHttpInfo",
426
+ value: function cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts) {
418
427
  opts = opts || {};
419
428
  var postBody = null;
420
429
  // verify the required parameter 'subscriptionId' is set
421
430
  if (subscriptionId === undefined || subscriptionId === null) {
422
- throw new Error("Missing the required parameter 'subscriptionId' when calling cancelSubscriptionAtPeriodEnd");
431
+ throw new Error("Missing the required parameter 'subscriptionId' when calling cancelStripeSubscriptionAtPeriodEnd");
423
432
  }
424
433
  var pathParams = {
425
434
  'subscriptionId': subscriptionId
@@ -468,9 +477,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
468
477
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
469
478
  */
470
479
  }, {
471
- key: "cancelSubscriptionAtPeriodEnd",
472
- value: function cancelSubscriptionAtPeriodEnd(subscriptionId, opts) {
473
- return this.cancelSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
480
+ key: "cancelStripeSubscriptionAtPeriodEnd",
481
+ value: function cancelStripeSubscriptionAtPeriodEnd(subscriptionId, opts) {
482
+ return this.cancelStripeSubscriptionAtPeriodEndWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
474
483
  return response_and_data.data;
475
484
  });
476
485
  }
@@ -804,9 +813,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
804
813
  }
805
814
 
806
815
  /**
807
- * Creates a Stripe Checkout Session for hosted payment page
808
- * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
809
- * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
816
+ * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
817
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
818
+ * @param {Number} siteid
819
+ * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
810
820
  * @param {Object} opts Optional parameters
811
821
  * @param {String} [authorization] The authorization token of the logged in user
812
822
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -820,18 +830,24 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
820
830
  * @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
821
831
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
822
832
  * @param {String} [transactionid] The id of the transaction this operation is being run in
823
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CheckoutSessionResponse} and HTTP response
833
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
824
834
  */
825
835
  }, {
826
- key: "createCheckoutSessionWithHttpInfo",
827
- value: function createCheckoutSessionWithHttpInfo(checkoutSessionInput, opts) {
836
+ key: "createSiteStripePaymentAccountWithHttpInfo",
837
+ value: function createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts) {
828
838
  opts = opts || {};
829
- var postBody = checkoutSessionInput;
830
- // verify the required parameter 'checkoutSessionInput' is set
831
- if (checkoutSessionInput === undefined || checkoutSessionInput === null) {
832
- throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createCheckoutSession");
839
+ var postBody = createStripeAccountInput;
840
+ // verify the required parameter 'siteid' is set
841
+ if (siteid === undefined || siteid === null) {
842
+ throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
833
843
  }
834
- var pathParams = {};
844
+ // verify the required parameter 'createStripeAccountInput' is set
845
+ if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
846
+ throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
847
+ }
848
+ var pathParams = {
849
+ 'siteid': siteid
850
+ };
835
851
  var queryParams = {
836
852
  'cacheduration': opts['cacheduration'],
837
853
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -850,16 +866,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
850
866
  };
851
867
  var formParams = {};
852
868
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
853
- var contentTypes = ['application/json'];
869
+ var contentTypes = [];
854
870
  var accepts = ['application/json'];
855
- var returnType = _CheckoutSessionResponse["default"];
856
- return this.apiClient.callApi('/payments/stripe/checkout/session', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
871
+ var returnType = _ApplicationPaymentAccountResponse["default"];
872
+ return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
857
873
  }
858
874
 
859
875
  /**
860
- * Creates a Stripe Checkout Session for hosted payment page
861
- * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
862
- * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
876
+ * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
877
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
878
+ * @param {Number} siteid
879
+ * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
863
880
  * @param {Object} opts Optional parameters
864
881
  * @param {String} opts.authorization The authorization token of the logged in user
865
882
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -873,21 +890,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
873
890
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
874
891
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
875
892
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
876
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CheckoutSessionResponse}
893
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
877
894
  */
878
895
  }, {
879
- key: "createCheckoutSession",
880
- value: function createCheckoutSession(checkoutSessionInput, opts) {
881
- return this.createCheckoutSessionWithHttpInfo(checkoutSessionInput, opts).then(function (response_and_data) {
896
+ key: "createSiteStripePaymentAccount",
897
+ value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts) {
898
+ return this.createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts).then(function (response_and_data) {
882
899
  return response_and_data.data;
883
900
  });
884
901
  }
885
902
 
886
903
  /**
887
- * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
888
- * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
889
- * @param {Number} siteid
890
- * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
904
+ * Creates a Stripe Checkout Session for hosted payment page
905
+ * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
906
+ * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
891
907
  * @param {Object} opts Optional parameters
892
908
  * @param {String} [authorization] The authorization token of the logged in user
893
909
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -901,24 +917,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
901
917
  * @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
902
918
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
903
919
  * @param {String} [transactionid] The id of the transaction this operation is being run in
904
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
920
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CheckoutSessionResponse} and HTTP response
905
921
  */
906
922
  }, {
907
- key: "createSiteStripePaymentAccountWithHttpInfo",
908
- value: function createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts) {
923
+ key: "createStripeCheckoutSessionWithHttpInfo",
924
+ value: function createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput, opts) {
909
925
  opts = opts || {};
910
- var postBody = createStripeAccountInput;
911
- // verify the required parameter 'siteid' is set
912
- if (siteid === undefined || siteid === null) {
913
- throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
914
- }
915
- // verify the required parameter 'createStripeAccountInput' is set
916
- if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
917
- throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
926
+ var postBody = checkoutSessionInput;
927
+ // verify the required parameter 'checkoutSessionInput' is set
928
+ if (checkoutSessionInput === undefined || checkoutSessionInput === null) {
929
+ throw new Error("Missing the required parameter 'checkoutSessionInput' when calling createStripeCheckoutSession");
918
930
  }
919
- var pathParams = {
920
- 'siteid': siteid
921
- };
931
+ var pathParams = {};
922
932
  var queryParams = {
923
933
  'cacheduration': opts['cacheduration'],
924
934
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -937,17 +947,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
937
947
  };
938
948
  var formParams = {};
939
949
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
940
- var contentTypes = [];
950
+ var contentTypes = ['application/json'];
941
951
  var accepts = ['application/json'];
942
- var returnType = _ApplicationPaymentAccountResponse["default"];
943
- return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
952
+ var returnType = _CheckoutSessionResponse["default"];
953
+ return this.apiClient.callApi('/payments/stripe/checkout/session', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
944
954
  }
945
955
 
946
956
  /**
947
- * Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
948
- * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
949
- * @param {Number} siteid
950
- * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
957
+ * Creates a Stripe Checkout Session for hosted payment page
958
+ * Creates a Stripe Checkout Session and returns a URL to redirect the user to Stripe's hosted payment page
959
+ * @param {module:model/CheckoutSessionInput} checkoutSessionInput Contains the info to create the Checkout Session
951
960
  * @param {Object} opts Optional parameters
952
961
  * @param {String} opts.authorization The authorization token of the logged in user
953
962
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -961,12 +970,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
961
970
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
962
971
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
963
972
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
964
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
973
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CheckoutSessionResponse}
965
974
  */
966
975
  }, {
967
- key: "createSiteStripePaymentAccount",
968
- value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts) {
969
- return this.createSiteStripePaymentAccountWithHttpInfo(siteid, createStripeAccountInput, opts).then(function (response_and_data) {
976
+ key: "createStripeCheckoutSession",
977
+ value: function createStripeCheckoutSession(checkoutSessionInput, opts) {
978
+ return this.createStripeCheckoutSessionWithHttpInfo(checkoutSessionInput, opts).then(function (response_and_data) {
970
979
  return response_and_data.data;
971
980
  });
972
981
  }
@@ -1052,9 +1061,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1052
1061
  }
1053
1062
 
1054
1063
  /**
1055
- * Creates a new subscription
1056
- * Creates a recurring subscription for the logged-in user
1057
- * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
1064
+ * Creates a new price
1065
+ * Creates a new price in Stripe
1066
+ * @param {module:model/PriceInput} priceInput Contains the info to create the price
1058
1067
  * @param {Object} opts Optional parameters
1059
1068
  * @param {String} [authorization] The authorization token of the logged in user
1060
1069
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1068,16 +1077,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1068
1077
  * @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
1069
1078
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1070
1079
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1071
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
1080
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
1072
1081
  */
1073
1082
  }, {
1074
- key: "createSubscriptionWithHttpInfo",
1075
- value: function createSubscriptionWithHttpInfo(subscriptionInput, opts) {
1083
+ key: "createStripePriceWithHttpInfo",
1084
+ value: function createStripePriceWithHttpInfo(priceInput, opts) {
1076
1085
  opts = opts || {};
1077
- var postBody = subscriptionInput;
1078
- // verify the required parameter 'subscriptionInput' is set
1079
- if (subscriptionInput === undefined || subscriptionInput === null) {
1080
- throw new Error("Missing the required parameter 'subscriptionInput' when calling createSubscription");
1086
+ var postBody = priceInput;
1087
+ // verify the required parameter 'priceInput' is set
1088
+ if (priceInput === undefined || priceInput === null) {
1089
+ throw new Error("Missing the required parameter 'priceInput' when calling createStripePrice");
1081
1090
  }
1082
1091
  var pathParams = {};
1083
1092
  var queryParams = {
@@ -1100,14 +1109,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1100
1109
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1101
1110
  var contentTypes = ['application/json'];
1102
1111
  var accepts = ['application/json'];
1103
- var returnType = _SubscriptionResponse["default"];
1104
- return this.apiClient.callApi('/payments/stripe/subscription', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1112
+ var returnType = _PriceResponse["default"];
1113
+ return this.apiClient.callApi('/payments/stripe/price', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1105
1114
  }
1106
1115
 
1107
1116
  /**
1108
- * Creates a new subscription
1109
- * Creates a recurring subscription for the logged-in user
1110
- * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
1117
+ * Creates a new price
1118
+ * Creates a new price in Stripe
1119
+ * @param {module:model/PriceInput} priceInput Contains the info to create the price
1111
1120
  * @param {Object} opts Optional parameters
1112
1121
  * @param {String} opts.authorization The authorization token of the logged in user
1113
1122
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1121,17 +1130,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1121
1130
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1122
1131
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1123
1132
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1124
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionResponse}
1133
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PriceResponse}
1125
1134
  */
1126
1135
  }, {
1127
- key: "createSubscription",
1128
- value: function createSubscription(subscriptionInput, opts) {
1129
- return this.createSubscriptionWithHttpInfo(subscriptionInput, opts).then(function (response_and_data) {
1136
+ key: "createStripePrice",
1137
+ value: function createStripePrice(priceInput, opts) {
1138
+ return this.createStripePriceWithHttpInfo(priceInput, opts).then(function (response_and_data) {
1130
1139
  return response_and_data.data;
1131
1140
  });
1132
1141
  }
1133
1142
 
1134
1143
  /**
1144
+ * Creates a new product
1145
+ * Creates a new product in Stripe
1146
+ * @param {module:model/ProductInput} productInput Contains the info to create the product
1135
1147
  * @param {Object} opts Optional parameters
1136
1148
  * @param {String} [authorization] The authorization token of the logged in user
1137
1149
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1145,13 +1157,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1145
1157
  * @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
1146
1158
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1147
1159
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1148
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1160
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
1149
1161
  */
1150
1162
  }, {
1151
- key: "deleteStripeAccountWithHttpInfo",
1152
- value: function deleteStripeAccountWithHttpInfo(opts) {
1163
+ key: "createStripeProductWithHttpInfo",
1164
+ value: function createStripeProductWithHttpInfo(productInput, opts) {
1153
1165
  opts = opts || {};
1154
- var postBody = null;
1166
+ var postBody = productInput;
1167
+ // verify the required parameter 'productInput' is set
1168
+ if (productInput === undefined || productInput === null) {
1169
+ throw new Error("Missing the required parameter 'productInput' when calling createStripeProduct");
1170
+ }
1155
1171
  var pathParams = {};
1156
1172
  var queryParams = {
1157
1173
  'cacheduration': opts['cacheduration'],
@@ -1171,13 +1187,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1171
1187
  };
1172
1188
  var formParams = {};
1173
1189
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1174
- var contentTypes = [];
1190
+ var contentTypes = ['application/json'];
1175
1191
  var accepts = ['application/json'];
1176
- var returnType = Object;
1177
- return this.apiClient.callApi('/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1192
+ var returnType = _ProductResponse["default"];
1193
+ return this.apiClient.callApi('/payments/stripe/product', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1178
1194
  }
1179
1195
 
1180
1196
  /**
1197
+ * Creates a new product
1198
+ * Creates a new product in Stripe
1199
+ * @param {module:model/ProductInput} productInput Contains the info to create the product
1181
1200
  * @param {Object} opts Optional parameters
1182
1201
  * @param {String} opts.authorization The authorization token of the logged in user
1183
1202
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1191,18 +1210,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1191
1210
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1192
1211
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1193
1212
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1194
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1213
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
1195
1214
  */
1196
1215
  }, {
1197
- key: "deleteStripeAccount",
1198
- value: function deleteStripeAccount(opts) {
1199
- return this.deleteStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
1216
+ key: "createStripeProduct",
1217
+ value: function createStripeProduct(productInput, opts) {
1218
+ return this.createStripeProductWithHttpInfo(productInput, opts).then(function (response_and_data) {
1200
1219
  return response_and_data.data;
1201
1220
  });
1202
1221
  }
1203
1222
 
1204
1223
  /**
1205
- * @param {Number} accountID The id of the account to delete
1224
+ * Creates a new product category
1225
+ * Creates a new product category
1226
+ * @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
1206
1227
  * @param {Object} opts Optional parameters
1207
1228
  * @param {String} [authorization] The authorization token of the logged in user
1208
1229
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1216,20 +1237,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1216
1237
  * @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
1217
1238
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1218
1239
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1219
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1240
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
1220
1241
  */
1221
1242
  }, {
1222
- key: "deleteStripeAccountWithIdWithHttpInfo",
1223
- value: function deleteStripeAccountWithIdWithHttpInfo(accountID, opts) {
1243
+ key: "createStripeProductCategoryWithHttpInfo",
1244
+ value: function createStripeProductCategoryWithHttpInfo(productCategoryInput, opts) {
1224
1245
  opts = opts || {};
1225
- var postBody = null;
1226
- // verify the required parameter 'accountID' is set
1227
- if (accountID === undefined || accountID === null) {
1228
- throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");
1246
+ var postBody = productCategoryInput;
1247
+ // verify the required parameter 'productCategoryInput' is set
1248
+ if (productCategoryInput === undefined || productCategoryInput === null) {
1249
+ throw new Error("Missing the required parameter 'productCategoryInput' when calling createStripeProductCategory");
1229
1250
  }
1230
- var pathParams = {
1231
- 'accountID': accountID
1232
- };
1251
+ var pathParams = {};
1233
1252
  var queryParams = {
1234
1253
  'cacheduration': opts['cacheduration'],
1235
1254
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1248,14 +1267,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1248
1267
  };
1249
1268
  var formParams = {};
1250
1269
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1251
- var contentTypes = [];
1270
+ var contentTypes = ['application/json'];
1252
1271
  var accepts = ['application/json'];
1253
- var returnType = Object;
1254
- return this.apiClient.callApi('/payments/stripe/account/{accountID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1272
+ var returnType = _ProductCategoryResponse["default"];
1273
+ return this.apiClient.callApi('/payments/stripe/product-category', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1255
1274
  }
1256
1275
 
1257
1276
  /**
1258
- * @param {Number} accountID The id of the account to delete
1277
+ * Creates a new product category
1278
+ * Creates a new product category
1279
+ * @param {module:model/ProductCategoryInput} productCategoryInput Contains the info to create the category
1259
1280
  * @param {Object} opts Optional parameters
1260
1281
  * @param {String} opts.authorization The authorization token of the logged in user
1261
1282
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1269,20 +1290,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1269
1290
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1270
1291
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1271
1292
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1272
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1293
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
1273
1294
  */
1274
1295
  }, {
1275
- key: "deleteStripeAccountWithId",
1276
- value: function deleteStripeAccountWithId(accountID, opts) {
1277
- return this.deleteStripeAccountWithIdWithHttpInfo(accountID, opts).then(function (response_and_data) {
1296
+ key: "createStripeProductCategory",
1297
+ value: function createStripeProductCategory(productCategoryInput, opts) {
1298
+ return this.createStripeProductCategoryWithHttpInfo(productCategoryInput, opts).then(function (response_and_data) {
1278
1299
  return response_and_data.data;
1279
1300
  });
1280
1301
  }
1281
1302
 
1282
1303
  /**
1283
- * Adds payment methods for the customer stored in stripe
1284
- * Retrieves the payment methods for the customer stored in stripe
1285
- * @param {String} paymentMethodID The id of the payment method to delete
1304
+ * Creates a new subscription
1305
+ * Creates a recurring subscription for the logged-in user
1306
+ * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
1286
1307
  * @param {Object} opts Optional parameters
1287
1308
  * @param {String} [authorization] The authorization token of the logged in user
1288
1309
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1296,20 +1317,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1296
1317
  * @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
1297
1318
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1298
1319
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1299
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
1320
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
1300
1321
  */
1301
1322
  }, {
1302
- key: "deleteStripePaymentMethodWithHttpInfo",
1303
- value: function deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts) {
1323
+ key: "createStripeSubscriptionWithHttpInfo",
1324
+ value: function createStripeSubscriptionWithHttpInfo(subscriptionInput, opts) {
1304
1325
  opts = opts || {};
1305
- var postBody = null;
1306
- // verify the required parameter 'paymentMethodID' is set
1307
- if (paymentMethodID === undefined || paymentMethodID === null) {
1308
- throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");
1326
+ var postBody = subscriptionInput;
1327
+ // verify the required parameter 'subscriptionInput' is set
1328
+ if (subscriptionInput === undefined || subscriptionInput === null) {
1329
+ throw new Error("Missing the required parameter 'subscriptionInput' when calling createStripeSubscription");
1309
1330
  }
1310
- var pathParams = {
1311
- 'paymentMethodID': paymentMethodID
1312
- };
1331
+ var pathParams = {};
1313
1332
  var queryParams = {
1314
1333
  'cacheduration': opts['cacheduration'],
1315
1334
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -1328,16 +1347,16 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1328
1347
  };
1329
1348
  var formParams = {};
1330
1349
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1331
- var contentTypes = [];
1350
+ var contentTypes = ['application/json'];
1332
1351
  var accepts = ['application/json'];
1333
- var returnType = _PaymentMethodResponse["default"];
1334
- return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1352
+ var returnType = _SubscriptionResponse["default"];
1353
+ return this.apiClient.callApi('/payments/stripe/subscription', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1335
1354
  }
1336
1355
 
1337
1356
  /**
1338
- * Adds payment methods for the customer stored in stripe
1339
- * Retrieves the payment methods for the customer stored in stripe
1340
- * @param {String} paymentMethodID The id of the payment method to delete
1357
+ * Creates a new subscription
1358
+ * Creates a recurring subscription for the logged-in user
1359
+ * @param {module:model/SubscriptionInput} subscriptionInput Contains the info to create the subscription
1341
1360
  * @param {Object} opts Optional parameters
1342
1361
  * @param {String} opts.authorization The authorization token of the logged in user
1343
1362
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1351,18 +1370,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1351
1370
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1352
1371
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1353
1372
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1354
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
1373
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionResponse}
1355
1374
  */
1356
1375
  }, {
1357
- key: "deleteStripePaymentMethod",
1358
- value: function deleteStripePaymentMethod(paymentMethodID, opts) {
1359
- return this.deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts).then(function (response_and_data) {
1376
+ key: "createStripeSubscription",
1377
+ value: function createStripeSubscription(subscriptionInput, opts) {
1378
+ return this.createStripeSubscriptionWithHttpInfo(subscriptionInput, opts).then(function (response_and_data) {
1360
1379
  return response_and_data.data;
1361
1380
  });
1362
1381
  }
1363
1382
 
1364
1383
  /**
1365
- * Root for the API
1366
1384
  * @param {Object} opts Optional parameters
1367
1385
  * @param {String} [authorization] The authorization token of the logged in user
1368
1386
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1376,11 +1394,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1376
1394
  * @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
1377
1395
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1378
1396
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1379
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1397
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1380
1398
  */
1381
1399
  }, {
1382
- key: "get6WithHttpInfo",
1383
- value: function get6WithHttpInfo(opts) {
1400
+ key: "deleteStripeAccountWithHttpInfo",
1401
+ value: function deleteStripeAccountWithHttpInfo(opts) {
1384
1402
  opts = opts || {};
1385
1403
  var postBody = null;
1386
1404
  var pathParams = {};
@@ -1404,12 +1422,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1404
1422
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1405
1423
  var contentTypes = [];
1406
1424
  var accepts = ['application/json'];
1407
- var returnType = null;
1408
- return this.apiClient.callApi('/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1425
+ var returnType = Object;
1426
+ return this.apiClient.callApi('/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1409
1427
  }
1410
1428
 
1411
1429
  /**
1412
- * Root for the API
1413
1430
  * @param {Object} opts Optional parameters
1414
1431
  * @param {String} opts.authorization The authorization token of the logged in user
1415
1432
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1423,19 +1440,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1423
1440
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1424
1441
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1425
1442
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1426
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1443
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1427
1444
  */
1428
1445
  }, {
1429
- key: "get6",
1430
- value: function get6(opts) {
1431
- return this.get6WithHttpInfo(opts).then(function (response_and_data) {
1446
+ key: "deleteStripeAccount",
1447
+ value: function deleteStripeAccount(opts) {
1448
+ return this.deleteStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
1432
1449
  return response_and_data.data;
1433
1450
  });
1434
1451
  }
1435
1452
 
1436
1453
  /**
1437
- * Gets and object by id
1438
- * @param {Number} id
1454
+ * @param {Number} accountID The id of the account to delete
1439
1455
  * @param {Object} opts Optional parameters
1440
1456
  * @param {String} [authorization] The authorization token of the logged in user
1441
1457
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1449,19 +1465,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1449
1465
  * @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
1450
1466
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1451
1467
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1452
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponse} and HTTP response
1468
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1453
1469
  */
1454
1470
  }, {
1455
- key: "get7WithHttpInfo",
1456
- value: function get7WithHttpInfo(id, opts) {
1471
+ key: "deleteStripeAccountWithIdWithHttpInfo",
1472
+ value: function deleteStripeAccountWithIdWithHttpInfo(accountID, opts) {
1457
1473
  opts = opts || {};
1458
1474
  var postBody = null;
1459
- // verify the required parameter 'id' is set
1460
- if (id === undefined || id === null) {
1461
- throw new Error("Missing the required parameter 'id' when calling get7");
1475
+ // verify the required parameter 'accountID' is set
1476
+ if (accountID === undefined || accountID === null) {
1477
+ throw new Error("Missing the required parameter 'accountID' when calling deleteStripeAccountWithId");
1462
1478
  }
1463
1479
  var pathParams = {
1464
- 'id': id
1480
+ 'accountID': accountID
1465
1481
  };
1466
1482
  var queryParams = {
1467
1483
  'cacheduration': opts['cacheduration'],
@@ -1483,13 +1499,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1483
1499
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1484
1500
  var contentTypes = [];
1485
1501
  var accepts = ['application/json'];
1486
- var returnType = _PurgeDataDefaultResponse["default"];
1487
- return this.apiClient.callApi('/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1502
+ var returnType = Object;
1503
+ return this.apiClient.callApi('/payments/stripe/account/{accountID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1488
1504
  }
1489
1505
 
1490
1506
  /**
1491
- * Gets and object by id
1492
- * @param {Number} id
1507
+ * @param {Number} accountID The id of the account to delete
1493
1508
  * @param {Object} opts Optional parameters
1494
1509
  * @param {String} opts.authorization The authorization token of the logged in user
1495
1510
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1503,20 +1518,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1503
1518
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1504
1519
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1505
1520
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1506
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponse}
1521
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1507
1522
  */
1508
1523
  }, {
1509
- key: "get7",
1510
- value: function get7(id, opts) {
1511
- return this.get7WithHttpInfo(id, opts).then(function (response_and_data) {
1524
+ key: "deleteStripeAccountWithId",
1525
+ value: function deleteStripeAccountWithId(accountID, opts) {
1526
+ return this.deleteStripeAccountWithIdWithHttpInfo(accountID, opts).then(function (response_and_data) {
1512
1527
  return response_and_data.data;
1513
1528
  });
1514
1529
  }
1515
1530
 
1516
1531
  /**
1517
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1518
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1519
- * @param {Number} applicationid
1532
+ * Adds payment methods for the customer stored in stripe
1533
+ * Retrieves the payment methods for the customer stored in stripe
1534
+ * @param {String} paymentMethodID The id of the payment method to delete
1520
1535
  * @param {Object} opts Optional parameters
1521
1536
  * @param {String} [authorization] The authorization token of the logged in user
1522
1537
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1530,19 +1545,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1530
1545
  * @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
1531
1546
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1532
1547
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1533
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
1548
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
1534
1549
  */
1535
1550
  }, {
1536
- key: "getApplicationStripePaymentAccountWithHttpInfo",
1537
- value: function getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts) {
1551
+ key: "deleteStripePaymentMethodWithHttpInfo",
1552
+ value: function deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts) {
1538
1553
  opts = opts || {};
1539
1554
  var postBody = null;
1540
- // verify the required parameter 'applicationid' is set
1541
- if (applicationid === undefined || applicationid === null) {
1542
- throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
1555
+ // verify the required parameter 'paymentMethodID' is set
1556
+ if (paymentMethodID === undefined || paymentMethodID === null) {
1557
+ throw new Error("Missing the required parameter 'paymentMethodID' when calling deleteStripePaymentMethod");
1543
1558
  }
1544
1559
  var pathParams = {
1545
- 'applicationid': applicationid
1560
+ 'paymentMethodID': paymentMethodID
1546
1561
  };
1547
1562
  var queryParams = {
1548
1563
  'cacheduration': opts['cacheduration'],
@@ -1564,14 +1579,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1564
1579
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1565
1580
  var contentTypes = [];
1566
1581
  var accepts = ['application/json'];
1567
- var returnType = _ApplicationPaymentAccountResponse["default"];
1568
- return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1582
+ var returnType = _PaymentMethodResponse["default"];
1583
+ return this.apiClient.callApi('/payments/stripe/paymentmethods/{paymentMethodID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1569
1584
  }
1570
1585
 
1571
1586
  /**
1572
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1573
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1574
- * @param {Number} applicationid
1587
+ * Adds payment methods for the customer stored in stripe
1588
+ * Retrieves the payment methods for the customer stored in stripe
1589
+ * @param {String} paymentMethodID The id of the payment method to delete
1575
1590
  * @param {Object} opts Optional parameters
1576
1591
  * @param {String} opts.authorization The authorization token of the logged in user
1577
1592
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1585,20 +1600,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1585
1600
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1586
1601
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1587
1602
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1588
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
1603
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
1589
1604
  */
1590
1605
  }, {
1591
- key: "getApplicationStripePaymentAccount",
1592
- value: function getApplicationStripePaymentAccount(applicationid, opts) {
1593
- return this.getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts).then(function (response_and_data) {
1606
+ key: "deleteStripePaymentMethod",
1607
+ value: function deleteStripePaymentMethod(paymentMethodID, opts) {
1608
+ return this.deleteStripePaymentMethodWithHttpInfo(paymentMethodID, opts).then(function (response_and_data) {
1594
1609
  return response_and_data.data;
1595
1610
  });
1596
1611
  }
1597
1612
 
1598
1613
  /**
1599
- * Retrieves a Stripe Checkout Session
1600
- * Retrieves the details of a checkout session by ID
1601
- * @param {String} sessionId The checkout session ID
1614
+ * Archives a price
1615
+ * Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
1616
+ * @param {String} priceId The price ID
1602
1617
  * @param {Object} opts Optional parameters
1603
1618
  * @param {String} [authorization] The authorization token of the logged in user
1604
1619
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1612,19 +1627,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1612
1627
  * @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
1613
1628
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1614
1629
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1615
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeCheckoutSession} and HTTP response
1630
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
1616
1631
  */
1617
1632
  }, {
1618
- key: "getCheckoutSessionWithHttpInfo",
1619
- value: function getCheckoutSessionWithHttpInfo(sessionId, opts) {
1633
+ key: "deleteStripePriceWithHttpInfo",
1634
+ value: function deleteStripePriceWithHttpInfo(priceId, opts) {
1620
1635
  opts = opts || {};
1621
1636
  var postBody = null;
1622
- // verify the required parameter 'sessionId' is set
1623
- if (sessionId === undefined || sessionId === null) {
1624
- throw new Error("Missing the required parameter 'sessionId' when calling getCheckoutSession");
1637
+ // verify the required parameter 'priceId' is set
1638
+ if (priceId === undefined || priceId === null) {
1639
+ throw new Error("Missing the required parameter 'priceId' when calling deleteStripePrice");
1625
1640
  }
1626
1641
  var pathParams = {
1627
- 'sessionId': sessionId
1642
+ 'priceId': priceId
1628
1643
  };
1629
1644
  var queryParams = {
1630
1645
  'cacheduration': opts['cacheduration'],
@@ -1646,14 +1661,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1646
1661
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1647
1662
  var contentTypes = [];
1648
1663
  var accepts = ['application/json'];
1649
- var returnType = _StripeCheckoutSession["default"];
1650
- return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1664
+ var returnType = _StripePrice["default"];
1665
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1651
1666
  }
1652
1667
 
1653
1668
  /**
1654
- * Retrieves a Stripe Checkout Session
1655
- * Retrieves the details of a checkout session by ID
1656
- * @param {String} sessionId The checkout session ID
1669
+ * Archives a price
1670
+ * Archives a price by setting it to inactive (Stripe does not allow permanent deletion)
1671
+ * @param {String} priceId The price ID
1657
1672
  * @param {Object} opts Optional parameters
1658
1673
  * @param {String} opts.authorization The authorization token of the logged in user
1659
1674
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1667,20 +1682,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1667
1682
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1668
1683
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1669
1684
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1670
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeCheckoutSession}
1685
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePrice}
1671
1686
  */
1672
1687
  }, {
1673
- key: "getCheckoutSession",
1674
- value: function getCheckoutSession(sessionId, opts) {
1675
- return this.getCheckoutSessionWithHttpInfo(sessionId, opts).then(function (response_and_data) {
1688
+ key: "deleteStripePrice",
1689
+ value: function deleteStripePrice(priceId, opts) {
1690
+ return this.deleteStripePriceWithHttpInfo(priceId, opts).then(function (response_and_data) {
1676
1691
  return response_and_data.data;
1677
1692
  });
1678
1693
  }
1679
1694
 
1680
1695
  /**
1681
- * Retrieves the payment intent for a checkout session
1682
- * Retrieves the payment intent associated with a checkout session to verify payment status
1683
- * @param {String} sessionId The checkout session ID
1696
+ * Deletes a product
1697
+ * Deletes a product
1698
+ * @param {String} productId The product ID
1684
1699
  * @param {Object} opts Optional parameters
1685
1700
  * @param {String} [authorization] The authorization token of the logged in user
1686
1701
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1694,19 +1709,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1694
1709
  * @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
1695
1710
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1696
1711
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1697
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePaymentIntent} and HTTP response
1712
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeProduct} and HTTP response
1698
1713
  */
1699
1714
  }, {
1700
- key: "getCheckoutSessionPaymentWithHttpInfo",
1701
- value: function getCheckoutSessionPaymentWithHttpInfo(sessionId, opts) {
1715
+ key: "deleteStripeProductWithHttpInfo",
1716
+ value: function deleteStripeProductWithHttpInfo(productId, opts) {
1702
1717
  opts = opts || {};
1703
1718
  var postBody = null;
1704
- // verify the required parameter 'sessionId' is set
1705
- if (sessionId === undefined || sessionId === null) {
1706
- throw new Error("Missing the required parameter 'sessionId' when calling getCheckoutSessionPayment");
1719
+ // verify the required parameter 'productId' is set
1720
+ if (productId === undefined || productId === null) {
1721
+ throw new Error("Missing the required parameter 'productId' when calling deleteStripeProduct");
1707
1722
  }
1708
1723
  var pathParams = {
1709
- 'sessionId': sessionId
1724
+ 'productId': productId
1710
1725
  };
1711
1726
  var queryParams = {
1712
1727
  'cacheduration': opts['cacheduration'],
@@ -1728,14 +1743,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1728
1743
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1729
1744
  var contentTypes = [];
1730
1745
  var accepts = ['application/json'];
1731
- var returnType = _StripePaymentIntent["default"];
1732
- return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1746
+ var returnType = _StripeProduct["default"];
1747
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1733
1748
  }
1734
1749
 
1735
1750
  /**
1736
- * Retrieves the payment intent for a checkout session
1737
- * Retrieves the payment intent associated with a checkout session to verify payment status
1738
- * @param {String} sessionId The checkout session ID
1751
+ * Deletes a product
1752
+ * Deletes a product
1753
+ * @param {String} productId The product ID
1739
1754
  * @param {Object} opts Optional parameters
1740
1755
  * @param {String} opts.authorization The authorization token of the logged in user
1741
1756
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1749,20 +1764,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1749
1764
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1750
1765
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1751
1766
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1752
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePaymentIntent}
1767
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeProduct}
1753
1768
  */
1754
1769
  }, {
1755
- key: "getCheckoutSessionPayment",
1756
- value: function getCheckoutSessionPayment(sessionId, opts) {
1757
- return this.getCheckoutSessionPaymentWithHttpInfo(sessionId, opts).then(function (response_and_data) {
1770
+ key: "deleteStripeProduct",
1771
+ value: function deleteStripeProduct(productId, opts) {
1772
+ return this.deleteStripeProductWithHttpInfo(productId, opts).then(function (response_and_data) {
1758
1773
  return response_and_data.data;
1759
1774
  });
1760
1775
  }
1761
1776
 
1762
1777
  /**
1763
- * Gets the default payment method
1764
- * Retrieves the default payment for the customer stored in stripe
1765
- * @param {Number} customerID The id of the customer
1778
+ * Deletes a category
1779
+ * Deletes a category
1780
+ * @param {Number} categoryId The category ID
1766
1781
  * @param {Object} opts Optional parameters
1767
1782
  * @param {String} [authorization] The authorization token of the logged in user
1768
1783
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1776,19 +1791,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1776
1791
  * @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
1777
1792
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1778
1793
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1779
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
1794
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1780
1795
  */
1781
1796
  }, {
1782
- key: "getDefaultCustomerStripePaymentMethodWithHttpInfo",
1783
- value: function getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts) {
1797
+ key: "deleteStripeProductCategoryWithHttpInfo",
1798
+ value: function deleteStripeProductCategoryWithHttpInfo(categoryId, opts) {
1784
1799
  opts = opts || {};
1785
1800
  var postBody = null;
1786
- // verify the required parameter 'customerID' is set
1787
- if (customerID === undefined || customerID === null) {
1788
- throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");
1801
+ // verify the required parameter 'categoryId' is set
1802
+ if (categoryId === undefined || categoryId === null) {
1803
+ throw new Error("Missing the required parameter 'categoryId' when calling deleteStripeProductCategory");
1789
1804
  }
1790
1805
  var pathParams = {
1791
- 'customerID': customerID
1806
+ 'categoryId': categoryId
1792
1807
  };
1793
1808
  var queryParams = {
1794
1809
  'cacheduration': opts['cacheduration'],
@@ -1809,15 +1824,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1809
1824
  var formParams = {};
1810
1825
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1811
1826
  var contentTypes = [];
1812
- var accepts = ['application/json'];
1813
- var returnType = _PaymentMethodResponse["default"];
1814
- return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1827
+ var accepts = [];
1828
+ var returnType = null;
1829
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1815
1830
  }
1816
1831
 
1817
1832
  /**
1818
- * Gets the default payment method
1819
- * Retrieves the default payment for the customer stored in stripe
1820
- * @param {Number} customerID The id of the customer
1833
+ * Deletes a category
1834
+ * Deletes a category
1835
+ * @param {Number} categoryId The category ID
1821
1836
  * @param {Object} opts Optional parameters
1822
1837
  * @param {String} opts.authorization The authorization token of the logged in user
1823
1838
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1831,19 +1846,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1831
1846
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1832
1847
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1833
1848
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1834
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
1849
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1835
1850
  */
1836
1851
  }, {
1837
- key: "getDefaultCustomerStripePaymentMethod",
1838
- value: function getDefaultCustomerStripePaymentMethod(customerID, opts) {
1839
- return this.getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts).then(function (response_and_data) {
1852
+ key: "deleteStripeProductCategory",
1853
+ value: function deleteStripeProductCategory(categoryId, opts) {
1854
+ return this.deleteStripeProductCategoryWithHttpInfo(categoryId, opts).then(function (response_and_data) {
1840
1855
  return response_and_data.data;
1841
1856
  });
1842
1857
  }
1843
1858
 
1844
1859
  /**
1845
- * Gets the default payment method
1846
- * Retrieves the default payment for the customer stored in stripe
1860
+ * Root for the API
1847
1861
  * @param {Object} opts Optional parameters
1848
1862
  * @param {String} [authorization] The authorization token of the logged in user
1849
1863
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1857,11 +1871,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1857
1871
  * @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
1858
1872
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1859
1873
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1860
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
1874
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1861
1875
  */
1862
1876
  }, {
1863
- key: "getDefaultStripePaymentMethodWithHttpInfo",
1864
- value: function getDefaultStripePaymentMethodWithHttpInfo(opts) {
1877
+ key: "get6WithHttpInfo",
1878
+ value: function get6WithHttpInfo(opts) {
1865
1879
  opts = opts || {};
1866
1880
  var postBody = null;
1867
1881
  var pathParams = {};
@@ -1885,13 +1899,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1885
1899
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1886
1900
  var contentTypes = [];
1887
1901
  var accepts = ['application/json'];
1888
- var returnType = _PaymentMethodResponse["default"];
1889
- return this.apiClient.callApi('/payments/stripe/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1902
+ var returnType = null;
1903
+ return this.apiClient.callApi('/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1890
1904
  }
1891
1905
 
1892
1906
  /**
1893
- * Gets the default payment method
1894
- * Retrieves the default payment for the customer stored in stripe
1907
+ * Root for the API
1895
1908
  * @param {Object} opts Optional parameters
1896
1909
  * @param {String} opts.authorization The authorization token of the logged in user
1897
1910
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1905,20 +1918,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1905
1918
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1906
1919
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1907
1920
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1908
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
1921
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1909
1922
  */
1910
1923
  }, {
1911
- key: "getDefaultStripePaymentMethod",
1912
- value: function getDefaultStripePaymentMethod(opts) {
1913
- return this.getDefaultStripePaymentMethodWithHttpInfo(opts).then(function (response_and_data) {
1924
+ key: "get6",
1925
+ value: function get6(opts) {
1926
+ return this.get6WithHttpInfo(opts).then(function (response_and_data) {
1914
1927
  return response_and_data.data;
1915
1928
  });
1916
1929
  }
1917
1930
 
1918
1931
  /**
1919
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1920
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1921
- * @param {Number} siteid
1932
+ * Gets and object by id
1933
+ * @param {Number} id
1922
1934
  * @param {Object} opts Optional parameters
1923
1935
  * @param {String} [authorization] The authorization token of the logged in user
1924
1936
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1932,19 +1944,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1932
1944
  * @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
1933
1945
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1934
1946
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1935
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
1947
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponse} and HTTP response
1936
1948
  */
1937
1949
  }, {
1938
- key: "getSiteStripePaymentAccountWithHttpInfo",
1939
- value: function getSiteStripePaymentAccountWithHttpInfo(siteid, opts) {
1950
+ key: "get7WithHttpInfo",
1951
+ value: function get7WithHttpInfo(id, opts) {
1940
1952
  opts = opts || {};
1941
1953
  var postBody = null;
1942
- // verify the required parameter 'siteid' is set
1943
- if (siteid === undefined || siteid === null) {
1944
- throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");
1954
+ // verify the required parameter 'id' is set
1955
+ if (id === undefined || id === null) {
1956
+ throw new Error("Missing the required parameter 'id' when calling get7");
1945
1957
  }
1946
1958
  var pathParams = {
1947
- 'siteid': siteid
1959
+ 'id': id
1948
1960
  };
1949
1961
  var queryParams = {
1950
1962
  'cacheduration': opts['cacheduration'],
@@ -1966,14 +1978,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1966
1978
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1967
1979
  var contentTypes = [];
1968
1980
  var accepts = ['application/json'];
1969
- var returnType = _ApplicationPaymentAccountResponse["default"];
1970
- return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1981
+ var returnType = _PurgeDataDefaultResponse["default"];
1982
+ return this.apiClient.callApi('/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1971
1983
  }
1972
1984
 
1973
1985
  /**
1974
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1975
- * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
1976
- * @param {Number} siteid
1986
+ * Gets and object by id
1987
+ * @param {Number} id
1977
1988
  * @param {Object} opts Optional parameters
1978
1989
  * @param {String} opts.authorization The authorization token of the logged in user
1979
1990
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -1987,19 +1998,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
1987
1998
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1988
1999
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1989
2000
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
1990
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
2001
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponse}
1991
2002
  */
1992
2003
  }, {
1993
- key: "getSiteStripePaymentAccount",
1994
- value: function getSiteStripePaymentAccount(siteid, opts) {
1995
- return this.getSiteStripePaymentAccountWithHttpInfo(siteid, opts).then(function (response_and_data) {
2004
+ key: "get7",
2005
+ value: function get7(id, opts) {
2006
+ return this.get7WithHttpInfo(id, opts).then(function (response_and_data) {
1996
2007
  return response_and_data.data;
1997
2008
  });
1998
2009
  }
1999
2010
 
2000
2011
  /**
2001
- * Retrieves the Stripe Account For the Logged In User
2002
- * Retrieves the Stripe Customer Account
2012
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2013
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2014
+ * @param {Number} applicationid
2003
2015
  * @param {Object} opts Optional parameters
2004
2016
  * @param {String} [authorization] The authorization token of the logged in user
2005
2017
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2013,14 +2025,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2013
2025
  * @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
2014
2026
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2015
2027
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2016
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
2028
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
2017
2029
  */
2018
2030
  }, {
2019
- key: "getStripeAccountWithHttpInfo",
2020
- value: function getStripeAccountWithHttpInfo(opts) {
2031
+ key: "getApplicationStripePaymentAccountWithHttpInfo",
2032
+ value: function getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts) {
2021
2033
  opts = opts || {};
2022
2034
  var postBody = null;
2023
- var pathParams = {};
2035
+ // verify the required parameter 'applicationid' is set
2036
+ if (applicationid === undefined || applicationid === null) {
2037
+ throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
2038
+ }
2039
+ var pathParams = {
2040
+ 'applicationid': applicationid
2041
+ };
2024
2042
  var queryParams = {
2025
2043
  'cacheduration': opts['cacheduration'],
2026
2044
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2041,13 +2059,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2041
2059
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2042
2060
  var contentTypes = [];
2043
2061
  var accepts = ['application/json'];
2044
- var returnType = _CreateAccountResponse["default"];
2045
- return this.apiClient.callApi('/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2062
+ var returnType = _ApplicationPaymentAccountResponse["default"];
2063
+ return this.apiClient.callApi('/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2046
2064
  }
2047
2065
 
2048
2066
  /**
2049
- * Retrieves the Stripe Account For the Logged In User
2050
- * Retrieves the Stripe Customer Account
2067
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2068
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2069
+ * @param {Number} applicationid
2051
2070
  * @param {Object} opts Optional parameters
2052
2071
  * @param {String} opts.authorization The authorization token of the logged in user
2053
2072
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2061,20 +2080,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2061
2080
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2062
2081
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2063
2082
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2064
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
2083
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
2065
2084
  */
2066
2085
  }, {
2067
- key: "getStripeAccount",
2068
- value: function getStripeAccount(opts) {
2069
- return this.getStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
2086
+ key: "getApplicationStripePaymentAccount",
2087
+ value: function getApplicationStripePaymentAccount(applicationid, opts) {
2088
+ return this.getApplicationStripePaymentAccountWithHttpInfo(applicationid, opts).then(function (response_and_data) {
2070
2089
  return response_and_data.data;
2071
2090
  });
2072
2091
  }
2073
2092
 
2074
2093
  /**
2075
- * Gets the balance of the logged in user
2076
- * Gets the balance of the logged in user
2077
- * @param {Number} accountID The id of the account we are getting the balance for
2094
+ * Gets the default payment method
2095
+ * Retrieves the default payment for the customer stored in stripe
2096
+ * @param {Number} customerID The id of the customer
2078
2097
  * @param {Object} opts Optional parameters
2079
2098
  * @param {String} [authorization] The authorization token of the logged in user
2080
2099
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2088,19 +2107,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2088
2107
  * @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
2108
  * @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
2109
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2091
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
2110
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
2092
2111
  */
2093
2112
  }, {
2094
- key: "getStripeAccountBalanceWithHttpInfo",
2095
- value: function getStripeAccountBalanceWithHttpInfo(accountID, opts) {
2113
+ key: "getDefaultCustomerStripePaymentMethodWithHttpInfo",
2114
+ value: function getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts) {
2096
2115
  opts = opts || {};
2097
2116
  var postBody = null;
2098
- // verify the required parameter 'accountID' is set
2099
- if (accountID === undefined || accountID === null) {
2100
- throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
2117
+ // verify the required parameter 'customerID' is set
2118
+ if (customerID === undefined || customerID === null) {
2119
+ throw new Error("Missing the required parameter 'customerID' when calling getDefaultCustomerStripePaymentMethod");
2101
2120
  }
2102
2121
  var pathParams = {
2103
- 'accountID': accountID
2122
+ 'customerID': customerID
2104
2123
  };
2105
2124
  var queryParams = {
2106
2125
  'cacheduration': opts['cacheduration'],
@@ -2122,14 +2141,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2122
2141
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2123
2142
  var contentTypes = [];
2124
2143
  var accepts = ['application/json'];
2125
- var returnType = _BalanceResponse["default"];
2126
- return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2144
+ var returnType = _PaymentMethodResponse["default"];
2145
+ return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2127
2146
  }
2128
2147
 
2129
2148
  /**
2130
- * Gets the balance of the logged in user
2131
- * Gets the balance of the logged in user
2132
- * @param {Number} accountID The id of the account we are getting the balance for
2149
+ * Gets the default payment method
2150
+ * Retrieves the default payment for the customer stored in stripe
2151
+ * @param {Number} customerID The id of the customer
2133
2152
  * @param {Object} opts Optional parameters
2134
2153
  * @param {String} opts.authorization The authorization token of the logged in user
2135
2154
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2143,19 +2162,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2143
2162
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2144
2163
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2145
2164
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2146
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
2165
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
2147
2166
  */
2148
2167
  }, {
2149
- key: "getStripeAccountBalance",
2150
- value: function getStripeAccountBalance(accountID, opts) {
2151
- return this.getStripeAccountBalanceWithHttpInfo(accountID, opts).then(function (response_and_data) {
2168
+ key: "getDefaultCustomerStripePaymentMethod",
2169
+ value: function getDefaultCustomerStripePaymentMethod(customerID, opts) {
2170
+ return this.getDefaultCustomerStripePaymentMethodWithHttpInfo(customerID, opts).then(function (response_and_data) {
2152
2171
  return response_and_data.data;
2153
2172
  });
2154
2173
  }
2155
2174
 
2156
2175
  /**
2157
- * Returns the publishable API key for Stripe
2158
- * Returns the publishable API key for Stripe
2176
+ * Gets the default payment method
2177
+ * Retrieves the default payment for the customer stored in stripe
2159
2178
  * @param {Object} opts Optional parameters
2160
2179
  * @param {String} [authorization] The authorization token of the logged in user
2161
2180
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2169,11 +2188,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2169
2188
  * @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
2170
2189
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2171
2190
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2172
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
2191
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodResponse} and HTTP response
2173
2192
  */
2174
2193
  }, {
2175
- key: "getStripeApiKeyWithHttpInfo",
2176
- value: function getStripeApiKeyWithHttpInfo(opts) {
2194
+ key: "getDefaultStripePaymentMethodWithHttpInfo",
2195
+ value: function getDefaultStripePaymentMethodWithHttpInfo(opts) {
2177
2196
  opts = opts || {};
2178
2197
  var postBody = null;
2179
2198
  var pathParams = {};
@@ -2196,14 +2215,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2196
2215
  var formParams = {};
2197
2216
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2198
2217
  var contentTypes = [];
2199
- var accepts = ['text/plain'];
2200
- var returnType = 'String';
2201
- return this.apiClient.callApi('/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2218
+ var accepts = ['application/json'];
2219
+ var returnType = _PaymentMethodResponse["default"];
2220
+ return this.apiClient.callApi('/payments/stripe/paymentmethods/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2202
2221
  }
2203
2222
 
2204
2223
  /**
2205
- * Returns the publishable API key for Stripe
2206
- * Returns the publishable API key for Stripe
2224
+ * Gets the default payment method
2225
+ * Retrieves the default payment for the customer stored in stripe
2207
2226
  * @param {Object} opts Optional parameters
2208
2227
  * @param {String} opts.authorization The authorization token of the logged in user
2209
2228
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2217,19 +2236,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2217
2236
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2218
2237
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2219
2238
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2220
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link String}
2239
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodResponse}
2221
2240
  */
2222
2241
  }, {
2223
- key: "getStripeApiKey",
2224
- value: function getStripeApiKey(opts) {
2225
- return this.getStripeApiKeyWithHttpInfo(opts).then(function (response_and_data) {
2242
+ key: "getDefaultStripePaymentMethod",
2243
+ value: function getDefaultStripePaymentMethod(opts) {
2244
+ return this.getDefaultStripePaymentMethodWithHttpInfo(opts).then(function (response_and_data) {
2226
2245
  return response_and_data.data;
2227
2246
  });
2228
2247
  }
2229
2248
 
2230
2249
  /**
2231
- * Gets the balance of the logged in user
2232
- * Gets the balance of the logged in user
2250
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2251
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2252
+ * @param {Number} siteid
2233
2253
  * @param {Object} opts Optional parameters
2234
2254
  * @param {String} [authorization] The authorization token of the logged in user
2235
2255
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2243,14 +2263,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2243
2263
  * @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
2244
2264
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2245
2265
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2246
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
2266
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ApplicationPaymentAccountResponse} and HTTP response
2247
2267
  */
2248
2268
  }, {
2249
- key: "getStripeBalanceWithHttpInfo",
2250
- value: function getStripeBalanceWithHttpInfo(opts) {
2269
+ key: "getSiteStripePaymentAccountWithHttpInfo",
2270
+ value: function getSiteStripePaymentAccountWithHttpInfo(siteid, opts) {
2251
2271
  opts = opts || {};
2252
2272
  var postBody = null;
2253
- var pathParams = {};
2273
+ // verify the required parameter 'siteid' is set
2274
+ if (siteid === undefined || siteid === null) {
2275
+ throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");
2276
+ }
2277
+ var pathParams = {
2278
+ 'siteid': siteid
2279
+ };
2254
2280
  var queryParams = {
2255
2281
  'cacheduration': opts['cacheduration'],
2256
2282
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2271,13 +2297,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2271
2297
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2272
2298
  var contentTypes = [];
2273
2299
  var accepts = ['application/json'];
2274
- var returnType = _BalanceResponse["default"];
2275
- return this.apiClient.callApi('/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2300
+ var returnType = _ApplicationPaymentAccountResponse["default"];
2301
+ return this.apiClient.callApi('/payments/stripe/site/{siteid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2276
2302
  }
2277
2303
 
2278
2304
  /**
2279
- * Gets the balance of the logged in user
2280
- * Gets the balance of the logged in user
2305
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2306
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
2307
+ * @param {Number} siteid
2281
2308
  * @param {Object} opts Optional parameters
2282
2309
  * @param {String} opts.authorization The authorization token of the logged in user
2283
2310
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2291,18 +2318,18 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2291
2318
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2292
2319
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2293
2320
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2294
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
2321
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ApplicationPaymentAccountResponse}
2295
2322
  */
2296
2323
  }, {
2297
- key: "getStripeBalance",
2298
- value: function getStripeBalance(opts) {
2299
- return this.getStripeBalanceWithHttpInfo(opts).then(function (response_and_data) {
2324
+ key: "getSiteStripePaymentAccount",
2325
+ value: function getSiteStripePaymentAccount(siteid, opts) {
2326
+ return this.getSiteStripePaymentAccountWithHttpInfo(siteid, opts).then(function (response_and_data) {
2300
2327
  return response_and_data.data;
2301
2328
  });
2302
2329
  }
2303
2330
 
2304
2331
  /**
2305
- * Retrieves the Stripe Customer Account For the Logged In User
2332
+ * Retrieves the Stripe Account For the Logged In User
2306
2333
  * Retrieves the Stripe Customer Account
2307
2334
  * @param {Object} opts Optional parameters
2308
2335
  * @param {String} [authorization] The authorization token of the logged in user
@@ -2317,11 +2344,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2317
2344
  * @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
2318
2345
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2319
2346
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2320
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
2347
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
2321
2348
  */
2322
2349
  }, {
2323
- key: "getStripeCustomerAccountWithHttpInfo",
2324
- value: function getStripeCustomerAccountWithHttpInfo(opts) {
2350
+ key: "getStripeAccountWithHttpInfo",
2351
+ value: function getStripeAccountWithHttpInfo(opts) {
2325
2352
  opts = opts || {};
2326
2353
  var postBody = null;
2327
2354
  var pathParams = {};
@@ -2345,12 +2372,12 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2345
2372
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2346
2373
  var contentTypes = [];
2347
2374
  var accepts = ['application/json'];
2348
- var returnType = _CustomerResponse["default"];
2349
- return this.apiClient.callApi('/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2375
+ var returnType = _CreateAccountResponse["default"];
2376
+ return this.apiClient.callApi('/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2350
2377
  }
2351
2378
 
2352
2379
  /**
2353
- * Retrieves the Stripe Customer Account For the Logged In User
2380
+ * Retrieves the Stripe Account For the Logged In User
2354
2381
  * Retrieves the Stripe Customer Account
2355
2382
  * @param {Object} opts Optional parameters
2356
2383
  * @param {String} opts.authorization The authorization token of the logged in user
@@ -2365,20 +2392,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2365
2392
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2366
2393
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2367
2394
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2368
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
2395
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
2369
2396
  */
2370
2397
  }, {
2371
- key: "getStripeCustomerAccount",
2372
- value: function getStripeCustomerAccount(opts) {
2373
- return this.getStripeCustomerAccountWithHttpInfo(opts).then(function (response_and_data) {
2398
+ key: "getStripeAccount",
2399
+ value: function getStripeAccount(opts) {
2400
+ return this.getStripeAccountWithHttpInfo(opts).then(function (response_and_data) {
2374
2401
  return response_and_data.data;
2375
2402
  });
2376
2403
  }
2377
2404
 
2378
2405
  /**
2379
- * Retrieves the payment methods for the customer stored in stripe
2380
- * Retrieves the payment methods for the customer stored in stripe
2381
- * @param {Number} customerID The customerid to update
2406
+ * Gets the balance of the logged in user
2407
+ * Gets the balance of the logged in user
2408
+ * @param {Number} accountID The id of the account we are getting the balance for
2382
2409
  * @param {Object} opts Optional parameters
2383
2410
  * @param {String} [authorization] The authorization token of the logged in user
2384
2411
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2392,19 +2419,1127 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2392
2419
  * @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
2393
2420
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2394
2421
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2395
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
2422
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
2423
+ */
2424
+ }, {
2425
+ key: "getStripeAccountBalanceWithHttpInfo",
2426
+ value: function getStripeAccountBalanceWithHttpInfo(accountID, opts) {
2427
+ opts = opts || {};
2428
+ var postBody = null;
2429
+ // verify the required parameter 'accountID' is set
2430
+ if (accountID === undefined || accountID === null) {
2431
+ throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
2432
+ }
2433
+ var pathParams = {
2434
+ 'accountID': accountID
2435
+ };
2436
+ var queryParams = {
2437
+ 'cacheduration': opts['cacheduration'],
2438
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2439
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2440
+ 'cachescope': opts['cachescope'],
2441
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2442
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2443
+ };
2444
+ var headerParams = {
2445
+ 'Authorization': opts['authorization'],
2446
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2447
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2448
+ 'zeusportal-postas': opts['zeusportalPostas'],
2449
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2450
+ 'transactionid': opts['transactionid']
2451
+ };
2452
+ var formParams = {};
2453
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2454
+ var contentTypes = [];
2455
+ var accepts = ['application/json'];
2456
+ var returnType = _BalanceResponse["default"];
2457
+ return this.apiClient.callApi('/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2458
+ }
2459
+
2460
+ /**
2461
+ * Gets the balance of the logged in user
2462
+ * Gets the balance of the logged in user
2463
+ * @param {Number} accountID The id of the account we are getting the balance for
2464
+ * @param {Object} opts Optional parameters
2465
+ * @param {String} opts.authorization The authorization token of the logged in user
2466
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2467
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2468
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2469
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2470
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2471
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2472
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2473
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2474
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2475
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2476
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2477
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
2478
+ */
2479
+ }, {
2480
+ key: "getStripeAccountBalance",
2481
+ value: function getStripeAccountBalance(accountID, opts) {
2482
+ return this.getStripeAccountBalanceWithHttpInfo(accountID, opts).then(function (response_and_data) {
2483
+ return response_and_data.data;
2484
+ });
2485
+ }
2486
+
2487
+ /**
2488
+ * Returns the publishable API key for Stripe
2489
+ * Returns the publishable API key for Stripe
2490
+ * @param {Object} opts Optional parameters
2491
+ * @param {String} [authorization] The authorization token of the logged in user
2492
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2493
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2494
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2495
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2496
+ * @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)
2497
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2498
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2499
+ * @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
2500
+ * @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
2501
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2502
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2503
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link String} and HTTP response
2504
+ */
2505
+ }, {
2506
+ key: "getStripeApiKeyWithHttpInfo",
2507
+ value: function getStripeApiKeyWithHttpInfo(opts) {
2508
+ opts = opts || {};
2509
+ var postBody = null;
2510
+ var pathParams = {};
2511
+ var queryParams = {
2512
+ 'cacheduration': opts['cacheduration'],
2513
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2514
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2515
+ 'cachescope': opts['cachescope'],
2516
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2517
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2518
+ };
2519
+ var headerParams = {
2520
+ 'Authorization': opts['authorization'],
2521
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2522
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2523
+ 'zeusportal-postas': opts['zeusportalPostas'],
2524
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2525
+ 'transactionid': opts['transactionid']
2526
+ };
2527
+ var formParams = {};
2528
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2529
+ var contentTypes = [];
2530
+ var accepts = ['text/plain'];
2531
+ var returnType = 'String';
2532
+ return this.apiClient.callApi('/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2533
+ }
2534
+
2535
+ /**
2536
+ * Returns the publishable API key for Stripe
2537
+ * Returns the publishable API key for Stripe
2538
+ * @param {Object} opts Optional parameters
2539
+ * @param {String} opts.authorization The authorization token of the logged in user
2540
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2541
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2542
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2543
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2544
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2545
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2546
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2547
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2548
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2549
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2550
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2551
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link String}
2552
+ */
2553
+ }, {
2554
+ key: "getStripeApiKey",
2555
+ value: function getStripeApiKey(opts) {
2556
+ return this.getStripeApiKeyWithHttpInfo(opts).then(function (response_and_data) {
2557
+ return response_and_data.data;
2558
+ });
2559
+ }
2560
+
2561
+ /**
2562
+ * Gets the balance of the logged in user
2563
+ * Gets the balance of the logged in user
2564
+ * @param {Object} opts Optional parameters
2565
+ * @param {String} [authorization] The authorization token of the logged in user
2566
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2567
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2568
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2569
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2570
+ * @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)
2571
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2572
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2573
+ * @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
2574
+ * @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
2575
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2576
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2577
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
2578
+ */
2579
+ }, {
2580
+ key: "getStripeBalanceWithHttpInfo",
2581
+ value: function getStripeBalanceWithHttpInfo(opts) {
2582
+ opts = opts || {};
2583
+ var postBody = null;
2584
+ var pathParams = {};
2585
+ var queryParams = {
2586
+ 'cacheduration': opts['cacheduration'],
2587
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2588
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2589
+ 'cachescope': opts['cachescope'],
2590
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2591
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2592
+ };
2593
+ var headerParams = {
2594
+ 'Authorization': opts['authorization'],
2595
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2596
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2597
+ 'zeusportal-postas': opts['zeusportalPostas'],
2598
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2599
+ 'transactionid': opts['transactionid']
2600
+ };
2601
+ var formParams = {};
2602
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2603
+ var contentTypes = [];
2604
+ var accepts = ['application/json'];
2605
+ var returnType = _BalanceResponse["default"];
2606
+ return this.apiClient.callApi('/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2607
+ }
2608
+
2609
+ /**
2610
+ * Gets the balance of the logged in user
2611
+ * Gets the balance of the logged in user
2612
+ * @param {Object} opts Optional parameters
2613
+ * @param {String} opts.authorization The authorization token of the logged in user
2614
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2615
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2616
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2617
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2618
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2619
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2620
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2621
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2622
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2623
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2624
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2625
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
2626
+ */
2627
+ }, {
2628
+ key: "getStripeBalance",
2629
+ value: function getStripeBalance(opts) {
2630
+ return this.getStripeBalanceWithHttpInfo(opts).then(function (response_and_data) {
2631
+ return response_and_data.data;
2632
+ });
2633
+ }
2634
+
2635
+ /**
2636
+ * Retrieves a Stripe Checkout Session
2637
+ * Retrieves the details of a checkout session by ID
2638
+ * @param {String} sessionId The checkout session ID
2639
+ * @param {Object} opts Optional parameters
2640
+ * @param {String} [authorization] The authorization token of the logged in user
2641
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2642
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2643
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2644
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2645
+ * @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)
2646
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2647
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2648
+ * @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
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
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
2651
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2652
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeCheckoutSession} and HTTP response
2653
+ */
2654
+ }, {
2655
+ key: "getStripeCheckoutSessionWithHttpInfo",
2656
+ value: function getStripeCheckoutSessionWithHttpInfo(sessionId, opts) {
2657
+ opts = opts || {};
2658
+ var postBody = null;
2659
+ // verify the required parameter 'sessionId' is set
2660
+ if (sessionId === undefined || sessionId === null) {
2661
+ throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSession");
2662
+ }
2663
+ var pathParams = {
2664
+ 'sessionId': sessionId
2665
+ };
2666
+ var queryParams = {
2667
+ 'cacheduration': opts['cacheduration'],
2668
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2669
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2670
+ 'cachescope': opts['cachescope'],
2671
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2672
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2673
+ };
2674
+ var headerParams = {
2675
+ 'Authorization': opts['authorization'],
2676
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2677
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2678
+ 'zeusportal-postas': opts['zeusportalPostas'],
2679
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2680
+ 'transactionid': opts['transactionid']
2681
+ };
2682
+ var formParams = {};
2683
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2684
+ var contentTypes = [];
2685
+ var accepts = ['application/json'];
2686
+ var returnType = _StripeCheckoutSession["default"];
2687
+ return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2688
+ }
2689
+
2690
+ /**
2691
+ * Retrieves a Stripe Checkout Session
2692
+ * Retrieves the details of a checkout session by ID
2693
+ * @param {String} sessionId The checkout session ID
2694
+ * @param {Object} opts Optional parameters
2695
+ * @param {String} opts.authorization The authorization token of the logged in user
2696
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2697
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2698
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2699
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2700
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2701
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2702
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2703
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2704
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2705
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2706
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2707
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeCheckoutSession}
2708
+ */
2709
+ }, {
2710
+ key: "getStripeCheckoutSession",
2711
+ value: function getStripeCheckoutSession(sessionId, opts) {
2712
+ return this.getStripeCheckoutSessionWithHttpInfo(sessionId, opts).then(function (response_and_data) {
2713
+ return response_and_data.data;
2714
+ });
2715
+ }
2716
+
2717
+ /**
2718
+ * Retrieves the payment intent for a checkout session
2719
+ * Retrieves the payment intent associated with a checkout session to verify payment status
2720
+ * @param {String} sessionId The checkout session ID
2721
+ * @param {Object} opts Optional parameters
2722
+ * @param {String} [authorization] The authorization token of the logged in user
2723
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2724
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2725
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2726
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2727
+ * @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)
2728
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2729
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2730
+ * @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
2731
+ * @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
2732
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2733
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2734
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePaymentIntent} and HTTP response
2735
+ */
2736
+ }, {
2737
+ key: "getStripeCheckoutSessionPaymentWithHttpInfo",
2738
+ value: function getStripeCheckoutSessionPaymentWithHttpInfo(sessionId, opts) {
2739
+ opts = opts || {};
2740
+ var postBody = null;
2741
+ // verify the required parameter 'sessionId' is set
2742
+ if (sessionId === undefined || sessionId === null) {
2743
+ throw new Error("Missing the required parameter 'sessionId' when calling getStripeCheckoutSessionPayment");
2744
+ }
2745
+ var pathParams = {
2746
+ 'sessionId': sessionId
2747
+ };
2748
+ var queryParams = {
2749
+ 'cacheduration': opts['cacheduration'],
2750
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2751
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2752
+ 'cachescope': opts['cachescope'],
2753
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2754
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2755
+ };
2756
+ var headerParams = {
2757
+ 'Authorization': opts['authorization'],
2758
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2759
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2760
+ 'zeusportal-postas': opts['zeusportalPostas'],
2761
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2762
+ 'transactionid': opts['transactionid']
2763
+ };
2764
+ var formParams = {};
2765
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2766
+ var contentTypes = [];
2767
+ var accepts = ['application/json'];
2768
+ var returnType = _StripePaymentIntent["default"];
2769
+ return this.apiClient.callApi('/payments/stripe/checkout/session/{sessionId}/payment', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2770
+ }
2771
+
2772
+ /**
2773
+ * Retrieves the payment intent for a checkout session
2774
+ * Retrieves the payment intent associated with a checkout session to verify payment status
2775
+ * @param {String} sessionId The checkout session ID
2776
+ * @param {Object} opts Optional parameters
2777
+ * @param {String} opts.authorization The authorization token of the logged in user
2778
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2779
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2780
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2781
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2782
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2783
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2784
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2785
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2786
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2787
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2788
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2789
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePaymentIntent}
2790
+ */
2791
+ }, {
2792
+ key: "getStripeCheckoutSessionPayment",
2793
+ value: function getStripeCheckoutSessionPayment(sessionId, opts) {
2794
+ return this.getStripeCheckoutSessionPaymentWithHttpInfo(sessionId, opts).then(function (response_and_data) {
2795
+ return response_and_data.data;
2796
+ });
2797
+ }
2798
+
2799
+ /**
2800
+ * Retrieves the Stripe Customer Account For the Logged In User
2801
+ * Retrieves the Stripe Customer Account
2802
+ * @param {Object} opts Optional parameters
2803
+ * @param {String} [authorization] The authorization token of the logged in user
2804
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2805
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2806
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2807
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2808
+ * @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)
2809
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2810
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2811
+ * @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
2812
+ * @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
2813
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2814
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2815
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
2816
+ */
2817
+ }, {
2818
+ key: "getStripeCustomerAccountWithHttpInfo",
2819
+ value: function getStripeCustomerAccountWithHttpInfo(opts) {
2820
+ opts = opts || {};
2821
+ var postBody = null;
2822
+ var pathParams = {};
2823
+ var queryParams = {
2824
+ 'cacheduration': opts['cacheduration'],
2825
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2826
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2827
+ 'cachescope': opts['cachescope'],
2828
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2829
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2830
+ };
2831
+ var headerParams = {
2832
+ 'Authorization': opts['authorization'],
2833
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2834
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2835
+ 'zeusportal-postas': opts['zeusportalPostas'],
2836
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2837
+ 'transactionid': opts['transactionid']
2838
+ };
2839
+ var formParams = {};
2840
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2841
+ var contentTypes = [];
2842
+ var accepts = ['application/json'];
2843
+ var returnType = _CustomerResponse["default"];
2844
+ return this.apiClient.callApi('/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2845
+ }
2846
+
2847
+ /**
2848
+ * Retrieves the Stripe Customer Account For the Logged In User
2849
+ * Retrieves the Stripe Customer Account
2850
+ * @param {Object} opts Optional parameters
2851
+ * @param {String} opts.authorization The authorization token of the logged in user
2852
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2853
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2854
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2855
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2856
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2857
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2858
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2859
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2860
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2861
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2862
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2863
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
2864
+ */
2865
+ }, {
2866
+ key: "getStripeCustomerAccount",
2867
+ value: function getStripeCustomerAccount(opts) {
2868
+ return this.getStripeCustomerAccountWithHttpInfo(opts).then(function (response_and_data) {
2869
+ return response_and_data.data;
2870
+ });
2871
+ }
2872
+
2873
+ /**
2874
+ * Retrieves the payment methods for the customer stored in stripe
2875
+ * Retrieves the payment methods for the customer stored in stripe
2876
+ * @param {Number} customerID The customerid to update
2877
+ * @param {Object} opts Optional parameters
2878
+ * @param {String} [authorization] The authorization token of the logged in user
2879
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2880
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2881
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2882
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2883
+ * @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)
2884
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2885
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2886
+ * @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
2887
+ * @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
2888
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2889
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2890
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
2891
+ */
2892
+ }, {
2893
+ key: "getStripeCustomerPaymentMethodsWithHttpInfo",
2894
+ value: function getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts) {
2895
+ opts = opts || {};
2896
+ var postBody = null;
2897
+ // verify the required parameter 'customerID' is set
2898
+ if (customerID === undefined || customerID === null) {
2899
+ throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
2900
+ }
2901
+ var pathParams = {
2902
+ 'customerID': customerID
2903
+ };
2904
+ var queryParams = {
2905
+ 'cacheduration': opts['cacheduration'],
2906
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2907
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2908
+ 'cachescope': opts['cachescope'],
2909
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2910
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2911
+ };
2912
+ var headerParams = {
2913
+ 'Authorization': opts['authorization'],
2914
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2915
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2916
+ 'zeusportal-postas': opts['zeusportalPostas'],
2917
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2918
+ 'transactionid': opts['transactionid']
2919
+ };
2920
+ var formParams = {};
2921
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2922
+ var contentTypes = [];
2923
+ var accepts = ['application/json'];
2924
+ var returnType = _PaymentMethodsResponse["default"];
2925
+ return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2926
+ }
2927
+
2928
+ /**
2929
+ * Retrieves the payment methods for the customer stored in stripe
2930
+ * Retrieves the payment methods for the customer stored in stripe
2931
+ * @param {Number} customerID The customerid to update
2932
+ * @param {Object} opts Optional parameters
2933
+ * @param {String} opts.authorization The authorization token of the logged in user
2934
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2935
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2936
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2937
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2938
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2939
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
2940
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2941
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
2942
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2943
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2944
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2945
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
2946
+ */
2947
+ }, {
2948
+ key: "getStripeCustomerPaymentMethods",
2949
+ value: function getStripeCustomerPaymentMethods(customerID, opts) {
2950
+ return this.getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts).then(function (response_and_data) {
2951
+ return response_and_data.data;
2952
+ });
2953
+ }
2954
+
2955
+ /**
2956
+ * Retrieves the payment methods for the customer stored in stripe
2957
+ * Retrieves the payment methods for the customer stored in stripe
2958
+ * @param {Object} opts Optional parameters
2959
+ * @param {String} [authorization] The authorization token of the logged in user
2960
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2961
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2962
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2963
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2964
+ * @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)
2965
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2966
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2967
+ * @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
2968
+ * @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
2969
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2970
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2971
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
2972
+ */
2973
+ }, {
2974
+ key: "getStripePaymentMethodsWithHttpInfo",
2975
+ value: function getStripePaymentMethodsWithHttpInfo(opts) {
2976
+ opts = opts || {};
2977
+ var postBody = null;
2978
+ var pathParams = {};
2979
+ var queryParams = {
2980
+ 'cacheduration': opts['cacheduration'],
2981
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
2982
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2983
+ 'cachescope': opts['cachescope'],
2984
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
2985
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2986
+ };
2987
+ var headerParams = {
2988
+ 'Authorization': opts['authorization'],
2989
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2990
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
2991
+ 'zeusportal-postas': opts['zeusportalPostas'],
2992
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2993
+ 'transactionid': opts['transactionid']
2994
+ };
2995
+ var formParams = {};
2996
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2997
+ var contentTypes = [];
2998
+ var accepts = ['application/json'];
2999
+ var returnType = _PaymentMethodsResponse["default"];
3000
+ return this.apiClient.callApi('/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3001
+ }
3002
+
3003
+ /**
3004
+ * Retrieves the payment methods for the customer stored in stripe
3005
+ * Retrieves the payment methods for the customer stored in stripe
3006
+ * @param {Object} opts Optional parameters
3007
+ * @param {String} opts.authorization The authorization token of the logged in user
3008
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3009
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3010
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3011
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3012
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3013
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3014
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3015
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3016
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3017
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3018
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3019
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
3020
+ */
3021
+ }, {
3022
+ key: "getStripePaymentMethods",
3023
+ value: function getStripePaymentMethods(opts) {
3024
+ return this.getStripePaymentMethodsWithHttpInfo(opts).then(function (response_and_data) {
3025
+ return response_and_data.data;
3026
+ });
3027
+ }
3028
+
3029
+ /**
3030
+ * Retrieves a price by ID
3031
+ * Gets the details of a specific price
3032
+ * @param {String} priceId The price ID
3033
+ * @param {Object} opts Optional parameters
3034
+ * @param {String} [authorization] The authorization token of the logged in user
3035
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3036
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3037
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3038
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3039
+ * @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)
3040
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3041
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3042
+ * @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
3043
+ * @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
3044
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3045
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3046
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripePrice} and HTTP response
3047
+ */
3048
+ }, {
3049
+ key: "getStripePriceWithHttpInfo",
3050
+ value: function getStripePriceWithHttpInfo(priceId, opts) {
3051
+ opts = opts || {};
3052
+ var postBody = null;
3053
+ // verify the required parameter 'priceId' is set
3054
+ if (priceId === undefined || priceId === null) {
3055
+ throw new Error("Missing the required parameter 'priceId' when calling getStripePrice");
3056
+ }
3057
+ var pathParams = {
3058
+ 'priceId': priceId
3059
+ };
3060
+ var queryParams = {
3061
+ 'cacheduration': opts['cacheduration'],
3062
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3063
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3064
+ 'cachescope': opts['cachescope'],
3065
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3066
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3067
+ };
3068
+ var headerParams = {
3069
+ 'Authorization': opts['authorization'],
3070
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3071
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3072
+ 'zeusportal-postas': opts['zeusportalPostas'],
3073
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3074
+ 'transactionid': opts['transactionid']
3075
+ };
3076
+ var formParams = {};
3077
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3078
+ var contentTypes = [];
3079
+ var accepts = ['application/json'];
3080
+ var returnType = _StripePrice["default"];
3081
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3082
+ }
3083
+
3084
+ /**
3085
+ * Retrieves a price by ID
3086
+ * Gets the details of a specific price
3087
+ * @param {String} priceId The price ID
3088
+ * @param {Object} opts Optional parameters
3089
+ * @param {String} opts.authorization The authorization token of the logged in user
3090
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3091
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3092
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3093
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3094
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3095
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3096
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3097
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3098
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3099
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3100
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3101
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripePrice}
3102
+ */
3103
+ }, {
3104
+ key: "getStripePrice",
3105
+ value: function getStripePrice(priceId, opts) {
3106
+ return this.getStripePriceWithHttpInfo(priceId, opts).then(function (response_and_data) {
3107
+ return response_and_data.data;
3108
+ });
3109
+ }
3110
+
3111
+ /**
3112
+ * Retrieves a product by ID
3113
+ * Gets the details of a specific product
3114
+ * @param {String} productId The product ID
3115
+ * @param {Object} opts Optional parameters
3116
+ * @param {String} [authorization] The authorization token of the logged in user
3117
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3118
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3119
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3120
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3121
+ * @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)
3122
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3123
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3124
+ * @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
3125
+ * @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
3126
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3127
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3128
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeProduct} and HTTP response
3129
+ */
3130
+ }, {
3131
+ key: "getStripeProductWithHttpInfo",
3132
+ value: function getStripeProductWithHttpInfo(productId, opts) {
3133
+ opts = opts || {};
3134
+ var postBody = null;
3135
+ // verify the required parameter 'productId' is set
3136
+ if (productId === undefined || productId === null) {
3137
+ throw new Error("Missing the required parameter 'productId' when calling getStripeProduct");
3138
+ }
3139
+ var pathParams = {
3140
+ 'productId': productId
3141
+ };
3142
+ var queryParams = {
3143
+ 'cacheduration': opts['cacheduration'],
3144
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3145
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3146
+ 'cachescope': opts['cachescope'],
3147
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3148
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3149
+ };
3150
+ var headerParams = {
3151
+ 'Authorization': opts['authorization'],
3152
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3153
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3154
+ 'zeusportal-postas': opts['zeusportalPostas'],
3155
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3156
+ 'transactionid': opts['transactionid']
3157
+ };
3158
+ var formParams = {};
3159
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3160
+ var contentTypes = [];
3161
+ var accepts = ['application/json'];
3162
+ var returnType = _StripeProduct["default"];
3163
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3164
+ }
3165
+
3166
+ /**
3167
+ * Retrieves a product by ID
3168
+ * Gets the details of a specific product
3169
+ * @param {String} productId The product ID
3170
+ * @param {Object} opts Optional parameters
3171
+ * @param {String} opts.authorization The authorization token of the logged in user
3172
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3173
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3174
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3175
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3176
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3177
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3178
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3179
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3180
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3181
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3182
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3183
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeProduct}
3184
+ */
3185
+ }, {
3186
+ key: "getStripeProduct",
3187
+ value: function getStripeProduct(productId, opts) {
3188
+ return this.getStripeProductWithHttpInfo(productId, opts).then(function (response_and_data) {
3189
+ return response_and_data.data;
3190
+ });
3191
+ }
3192
+
3193
+ /**
3194
+ * Retrieves a category by ID
3195
+ * Gets the details of a specific category
3196
+ * @param {Number} categoryId The category ID
3197
+ * @param {Object} opts Optional parameters
3198
+ * @param {String} [authorization] The authorization token of the logged in user
3199
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3200
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3201
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3202
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3203
+ * @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)
3204
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3205
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3206
+ * @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
3207
+ * @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
3208
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3209
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3210
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategory} and HTTP response
3211
+ */
3212
+ }, {
3213
+ key: "getStripeProductCategoryWithHttpInfo",
3214
+ value: function getStripeProductCategoryWithHttpInfo(categoryId, opts) {
3215
+ opts = opts || {};
3216
+ var postBody = null;
3217
+ // verify the required parameter 'categoryId' is set
3218
+ if (categoryId === undefined || categoryId === null) {
3219
+ throw new Error("Missing the required parameter 'categoryId' when calling getStripeProductCategory");
3220
+ }
3221
+ var pathParams = {
3222
+ 'categoryId': categoryId
3223
+ };
3224
+ var queryParams = {
3225
+ 'cacheduration': opts['cacheduration'],
3226
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3227
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3228
+ 'cachescope': opts['cachescope'],
3229
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3230
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3231
+ };
3232
+ var headerParams = {
3233
+ 'Authorization': opts['authorization'],
3234
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3235
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3236
+ 'zeusportal-postas': opts['zeusportalPostas'],
3237
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3238
+ 'transactionid': opts['transactionid']
3239
+ };
3240
+ var formParams = {};
3241
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3242
+ var contentTypes = [];
3243
+ var accepts = ['application/json'];
3244
+ var returnType = _ProductCategory["default"];
3245
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3246
+ }
3247
+
3248
+ /**
3249
+ * Retrieves a category by ID
3250
+ * Gets the details of a specific category
3251
+ * @param {Number} categoryId The category ID
3252
+ * @param {Object} opts Optional parameters
3253
+ * @param {String} opts.authorization The authorization token of the logged in user
3254
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3255
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3256
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3257
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3258
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3259
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3260
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3261
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3262
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3263
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3264
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3265
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategory}
3266
+ */
3267
+ }, {
3268
+ key: "getStripeProductCategory",
3269
+ value: function getStripeProductCategory(categoryId, opts) {
3270
+ return this.getStripeProductCategoryWithHttpInfo(categoryId, opts).then(function (response_and_data) {
3271
+ return response_and_data.data;
3272
+ });
3273
+ }
3274
+
3275
+ /**
3276
+ * Retrieves a category by unique key
3277
+ * Gets the details of a specific category by its unique key
3278
+ * @param {String} key The category key
3279
+ * @param {Object} opts Optional parameters
3280
+ * @param {String} [authorization] The authorization token of the logged in user
3281
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3282
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3283
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3284
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3285
+ * @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)
3286
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3287
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3288
+ * @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
3289
+ * @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
3290
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3291
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3292
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategory} and HTTP response
3293
+ */
3294
+ }, {
3295
+ key: "getStripeProductCategoryByKeyWithHttpInfo",
3296
+ value: function getStripeProductCategoryByKeyWithHttpInfo(key, opts) {
3297
+ opts = opts || {};
3298
+ var postBody = null;
3299
+ // verify the required parameter 'key' is set
3300
+ if (key === undefined || key === null) {
3301
+ throw new Error("Missing the required parameter 'key' when calling getStripeProductCategoryByKey");
3302
+ }
3303
+ var pathParams = {
3304
+ 'key': key
3305
+ };
3306
+ var queryParams = {
3307
+ 'cacheduration': opts['cacheduration'],
3308
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3309
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3310
+ 'cachescope': opts['cachescope'],
3311
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3312
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3313
+ };
3314
+ var headerParams = {
3315
+ 'Authorization': opts['authorization'],
3316
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3317
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3318
+ 'zeusportal-postas': opts['zeusportalPostas'],
3319
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3320
+ 'transactionid': opts['transactionid']
3321
+ };
3322
+ var formParams = {};
3323
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3324
+ var contentTypes = [];
3325
+ var accepts = ['application/json'];
3326
+ var returnType = _ProductCategory["default"];
3327
+ return this.apiClient.callApi('/payments/stripe/product-category/key/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3328
+ }
3329
+
3330
+ /**
3331
+ * Retrieves a category by unique key
3332
+ * Gets the details of a specific category by its unique key
3333
+ * @param {String} key The category key
3334
+ * @param {Object} opts Optional parameters
3335
+ * @param {String} opts.authorization The authorization token of the logged in user
3336
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3337
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3338
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3339
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3340
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3341
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3342
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3343
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3344
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3345
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3346
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3347
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategory}
3348
+ */
3349
+ }, {
3350
+ key: "getStripeProductCategoryByKey",
3351
+ value: function getStripeProductCategoryByKey(key, opts) {
3352
+ return this.getStripeProductCategoryByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
3353
+ return response_and_data.data;
3354
+ });
3355
+ }
3356
+
3357
+ /**
3358
+ * Lists all subscriptions for the logged-in user
3359
+ * Retrieves all subscriptions for the current user
3360
+ * @param {Object} opts Optional parameters
3361
+ * @param {String} [authorization] The authorization token of the logged in user
3362
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3363
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3364
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3365
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3366
+ * @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)
3367
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3368
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3369
+ * @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
3370
+ * @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
3371
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3372
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3373
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeSubscription>} and HTTP response
3374
+ */
3375
+ }, {
3376
+ key: "getStripeSubscriptionsWithHttpInfo",
3377
+ value: function getStripeSubscriptionsWithHttpInfo(opts) {
3378
+ opts = opts || {};
3379
+ var postBody = null;
3380
+ var pathParams = {};
3381
+ var queryParams = {
3382
+ 'cacheduration': opts['cacheduration'],
3383
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3384
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3385
+ 'cachescope': opts['cachescope'],
3386
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3387
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3388
+ };
3389
+ var headerParams = {
3390
+ 'Authorization': opts['authorization'],
3391
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3392
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3393
+ 'zeusportal-postas': opts['zeusportalPostas'],
3394
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3395
+ 'transactionid': opts['transactionid']
3396
+ };
3397
+ var formParams = {};
3398
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3399
+ var contentTypes = [];
3400
+ var accepts = ['application/json'];
3401
+ var returnType = [_StripeSubscription["default"]];
3402
+ return this.apiClient.callApi('/payments/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3403
+ }
3404
+
3405
+ /**
3406
+ * Lists all subscriptions for the logged-in user
3407
+ * Retrieves all subscriptions for the current user
3408
+ * @param {Object} opts Optional parameters
3409
+ * @param {String} opts.authorization The authorization token of the logged in user
3410
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3411
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3412
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3413
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3414
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3415
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3416
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3417
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3418
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3419
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3420
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3421
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripeSubscription>}
3422
+ */
3423
+ }, {
3424
+ key: "getStripeSubscriptions",
3425
+ value: function getStripeSubscriptions(opts) {
3426
+ return this.getStripeSubscriptionsWithHttpInfo(opts).then(function (response_and_data) {
3427
+ return response_and_data.data;
3428
+ });
3429
+ }
3430
+
3431
+ /**
3432
+ * Retrieves the transfer payment with the given transferId
3433
+ * Retrieves the transfer payment with the given transferId
3434
+ * @param {String} transferID The id of the transfer
3435
+ * @param {Object} opts Optional parameters
3436
+ * @param {String} [authorization] The authorization token of the logged in user
3437
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3438
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3439
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3440
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3441
+ * @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)
3442
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3443
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3444
+ * @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
3445
+ * @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
3446
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3447
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3448
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
3449
+ */
3450
+ }, {
3451
+ key: "getStripeTransferWithHttpInfo",
3452
+ value: function getStripeTransferWithHttpInfo(transferID, opts) {
3453
+ opts = opts || {};
3454
+ var postBody = null;
3455
+ // verify the required parameter 'transferID' is set
3456
+ if (transferID === undefined || transferID === null) {
3457
+ throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
3458
+ }
3459
+ var pathParams = {
3460
+ 'transferID': transferID
3461
+ };
3462
+ var queryParams = {
3463
+ 'cacheduration': opts['cacheduration'],
3464
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
3465
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3466
+ 'cachescope': opts['cachescope'],
3467
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
3468
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
3469
+ };
3470
+ var headerParams = {
3471
+ 'Authorization': opts['authorization'],
3472
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
3473
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
3474
+ 'zeusportal-postas': opts['zeusportalPostas'],
3475
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
3476
+ 'transactionid': opts['transactionid']
3477
+ };
3478
+ var formParams = {};
3479
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3480
+ var contentTypes = [];
3481
+ var accepts = ['application/json'];
3482
+ var returnType = _TransferResponse["default"];
3483
+ return this.apiClient.callApi('/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3484
+ }
3485
+
3486
+ /**
3487
+ * Retrieves the transfer payment with the given transferId
3488
+ * Retrieves the transfer payment with the given transferId
3489
+ * @param {String} transferID The id of the transfer
3490
+ * @param {Object} opts Optional parameters
3491
+ * @param {String} opts.authorization The authorization token of the logged in user
3492
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
3493
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
3494
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
3495
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
3496
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
3497
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
3498
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
3499
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3500
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3501
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3502
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
3503
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
3504
+ */
3505
+ }, {
3506
+ key: "getStripeTransfer",
3507
+ value: function getStripeTransfer(transferID, opts) {
3508
+ return this.getStripeTransferWithHttpInfo(transferID, opts).then(function (response_and_data) {
3509
+ return response_and_data.data;
3510
+ });
3511
+ }
3512
+
3513
+ /**
3514
+ * Retrieves the transfer payment details with the given transferId
3515
+ * Retrieves the transfer payment with the given transferId
3516
+ * @param {String} transferID The id of the transfer
3517
+ * @param {Object} opts Optional parameters
3518
+ * @param {String} [authorization] The authorization token of the logged in user
3519
+ * @param {Number} [cacheduration] The how long the cache entry should persist
3520
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
3521
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3522
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
3523
+ * @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)
3524
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3525
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3526
+ * @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
3527
+ * @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
3528
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3529
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
3530
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
2396
3531
  */
2397
3532
  }, {
2398
- key: "getStripeCustomerPaymentMethodsWithHttpInfo",
2399
- value: function getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts) {
3533
+ key: "getStripeTransferPaymentMethodDetailsWithHttpInfo",
3534
+ value: function getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts) {
2400
3535
  opts = opts || {};
2401
3536
  var postBody = null;
2402
- // verify the required parameter 'customerID' is set
2403
- if (customerID === undefined || customerID === null) {
2404
- throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
3537
+ // verify the required parameter 'transferID' is set
3538
+ if (transferID === undefined || transferID === null) {
3539
+ throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
2405
3540
  }
2406
3541
  var pathParams = {
2407
- 'customerID': customerID
3542
+ 'transferID': transferID
2408
3543
  };
2409
3544
  var queryParams = {
2410
3545
  'cacheduration': opts['cacheduration'],
@@ -2426,14 +3561,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2426
3561
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2427
3562
  var contentTypes = [];
2428
3563
  var accepts = ['application/json'];
2429
- var returnType = _PaymentMethodsResponse["default"];
2430
- return this.apiClient.callApi('/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3564
+ var returnType = _TransferResponse["default"];
3565
+ return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2431
3566
  }
2432
3567
 
2433
3568
  /**
2434
- * Retrieves the payment methods for the customer stored in stripe
2435
- * Retrieves the payment methods for the customer stored in stripe
2436
- * @param {Number} customerID The customerid to update
3569
+ * Retrieves the transfer payment details with the given transferId
3570
+ * Retrieves the transfer payment with the given transferId
3571
+ * @param {String} transferID The id of the transfer
2437
3572
  * @param {Object} opts Optional parameters
2438
3573
  * @param {String} opts.authorization The authorization token of the logged in user
2439
3574
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2447,19 +3582,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2447
3582
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2448
3583
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2449
3584
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2450
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
3585
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
2451
3586
  */
2452
3587
  }, {
2453
- key: "getStripeCustomerPaymentMethods",
2454
- value: function getStripeCustomerPaymentMethods(customerID, opts) {
2455
- return this.getStripeCustomerPaymentMethodsWithHttpInfo(customerID, opts).then(function (response_and_data) {
3588
+ key: "getStripeTransferPaymentMethodDetails",
3589
+ value: function getStripeTransferPaymentMethodDetails(transferID, opts) {
3590
+ return this.getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts).then(function (response_and_data) {
2456
3591
  return response_and_data.data;
2457
3592
  });
2458
3593
  }
2459
3594
 
2460
3595
  /**
2461
- * Retrieves the payment methods for the customer stored in stripe
2462
- * Retrieves the payment methods for the customer stored in stripe
3596
+ * Retrieves a subscription by ID
3597
+ * Gets the details of a specific subscription
3598
+ * @param {String} subscriptionId The subscription ID
2463
3599
  * @param {Object} opts Optional parameters
2464
3600
  * @param {String} [authorization] The authorization token of the logged in user
2465
3601
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2473,14 +3609,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2473
3609
  * @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
2474
3610
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2475
3611
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2476
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PaymentMethodsResponse} and HTTP response
3612
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
2477
3613
  */
2478
3614
  }, {
2479
- key: "getStripePaymentMethodsWithHttpInfo",
2480
- value: function getStripePaymentMethodsWithHttpInfo(opts) {
3615
+ key: "getSubscriptionWithHttpInfo",
3616
+ value: function getSubscriptionWithHttpInfo(subscriptionId, opts) {
2481
3617
  opts = opts || {};
2482
3618
  var postBody = null;
2483
- var pathParams = {};
3619
+ // verify the required parameter 'subscriptionId' is set
3620
+ if (subscriptionId === undefined || subscriptionId === null) {
3621
+ throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
3622
+ }
3623
+ var pathParams = {
3624
+ 'subscriptionId': subscriptionId
3625
+ };
2484
3626
  var queryParams = {
2485
3627
  'cacheduration': opts['cacheduration'],
2486
3628
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2501,13 +3643,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2501
3643
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2502
3644
  var contentTypes = [];
2503
3645
  var accepts = ['application/json'];
2504
- var returnType = _PaymentMethodsResponse["default"];
2505
- return this.apiClient.callApi('/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3646
+ var returnType = _StripeSubscription["default"];
3647
+ return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2506
3648
  }
2507
3649
 
2508
3650
  /**
2509
- * Retrieves the payment methods for the customer stored in stripe
2510
- * Retrieves the payment methods for the customer stored in stripe
3651
+ * Retrieves a subscription by ID
3652
+ * Gets the details of a specific subscription
3653
+ * @param {String} subscriptionId The subscription ID
2511
3654
  * @param {Object} opts Optional parameters
2512
3655
  * @param {String} opts.authorization The authorization token of the logged in user
2513
3656
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2521,20 +3664,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2521
3664
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2522
3665
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2523
3666
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2524
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PaymentMethodsResponse}
3667
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
2525
3668
  */
2526
3669
  }, {
2527
- key: "getStripePaymentMethods",
2528
- value: function getStripePaymentMethods(opts) {
2529
- return this.getStripePaymentMethodsWithHttpInfo(opts).then(function (response_and_data) {
3670
+ key: "getSubscription",
3671
+ value: function getSubscription(subscriptionId, opts) {
3672
+ return this.getSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
2530
3673
  return response_and_data.data;
2531
3674
  });
2532
3675
  }
2533
3676
 
2534
3677
  /**
2535
- * Retrieves the transfer payment with the given transferId
2536
- * Retrieves the transfer payment with the given transferId
2537
- * @param {String} transferID The id of the transfer
3678
+ * Retrieves the Stripe Account For the Specified User
3679
+ * Retrieves the Stripe Account
3680
+ * @param {Number} userID The id of the user to retrieve the account for
2538
3681
  * @param {Object} opts Optional parameters
2539
3682
  * @param {String} [authorization] The authorization token of the logged in user
2540
3683
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2548,19 +3691,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2548
3691
  * @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
2549
3692
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2550
3693
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2551
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
3694
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
2552
3695
  */
2553
3696
  }, {
2554
- key: "getStripeTransferWithHttpInfo",
2555
- value: function getStripeTransferWithHttpInfo(transferID, opts) {
3697
+ key: "getUserStripeAccountWithHttpInfo",
3698
+ value: function getUserStripeAccountWithHttpInfo(userID, opts) {
2556
3699
  opts = opts || {};
2557
3700
  var postBody = null;
2558
- // verify the required parameter 'transferID' is set
2559
- if (transferID === undefined || transferID === null) {
2560
- throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
3701
+ // verify the required parameter 'userID' is set
3702
+ if (userID === undefined || userID === null) {
3703
+ throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
2561
3704
  }
2562
3705
  var pathParams = {
2563
- 'transferID': transferID
3706
+ 'userID': userID
2564
3707
  };
2565
3708
  var queryParams = {
2566
3709
  'cacheduration': opts['cacheduration'],
@@ -2582,14 +3725,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2582
3725
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2583
3726
  var contentTypes = [];
2584
3727
  var accepts = ['application/json'];
2585
- var returnType = _TransferResponse["default"];
2586
- return this.apiClient.callApi('/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3728
+ var returnType = _CreateAccountResponse["default"];
3729
+ return this.apiClient.callApi('/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2587
3730
  }
2588
3731
 
2589
3732
  /**
2590
- * Retrieves the transfer payment with the given transferId
2591
- * Retrieves the transfer payment with the given transferId
2592
- * @param {String} transferID The id of the transfer
3733
+ * Retrieves the Stripe Account For the Specified User
3734
+ * Retrieves the Stripe Account
3735
+ * @param {Number} userID The id of the user to retrieve the account for
2593
3736
  * @param {Object} opts Optional parameters
2594
3737
  * @param {String} opts.authorization The authorization token of the logged in user
2595
3738
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2603,20 +3746,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2603
3746
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2604
3747
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2605
3748
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2606
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
3749
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
2607
3750
  */
2608
3751
  }, {
2609
- key: "getStripeTransfer",
2610
- value: function getStripeTransfer(transferID, opts) {
2611
- return this.getStripeTransferWithHttpInfo(transferID, opts).then(function (response_and_data) {
3752
+ key: "getUserStripeAccount",
3753
+ value: function getUserStripeAccount(userID, opts) {
3754
+ return this.getUserStripeAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
2612
3755
  return response_and_data.data;
2613
3756
  });
2614
3757
  }
2615
3758
 
2616
3759
  /**
2617
- * Retrieves the transfer payment details with the given transferId
2618
- * Retrieves the transfer payment with the given transferId
2619
- * @param {String} transferID The id of the transfer
3760
+ * Retrieves the Stripe Customer Account For the Logged In User
3761
+ * Retrieves the Stripe Customer Account
3762
+ * @param {Number} userID The id of the user to retrieve the account for
2620
3763
  * @param {Object} opts Optional parameters
2621
3764
  * @param {String} [authorization] The authorization token of the logged in user
2622
3765
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2630,19 +3773,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2630
3773
  * @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
2631
3774
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2632
3775
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2633
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
3776
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
2634
3777
  */
2635
3778
  }, {
2636
- key: "getStripeTransferPaymentMethodDetailsWithHttpInfo",
2637
- value: function getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts) {
3779
+ key: "getUserStripeCustomerAccountWithHttpInfo",
3780
+ value: function getUserStripeCustomerAccountWithHttpInfo(userID, opts) {
2638
3781
  opts = opts || {};
2639
3782
  var postBody = null;
2640
- // verify the required parameter 'transferID' is set
2641
- if (transferID === undefined || transferID === null) {
2642
- throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
3783
+ // verify the required parameter 'userID' is set
3784
+ if (userID === undefined || userID === null) {
3785
+ throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
2643
3786
  }
2644
3787
  var pathParams = {
2645
- 'transferID': transferID
3788
+ 'userID': userID
2646
3789
  };
2647
3790
  var queryParams = {
2648
3791
  'cacheduration': opts['cacheduration'],
@@ -2664,14 +3807,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2664
3807
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2665
3808
  var contentTypes = [];
2666
3809
  var accepts = ['application/json'];
2667
- var returnType = _TransferResponse["default"];
2668
- return this.apiClient.callApi('/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3810
+ var returnType = _CustomerResponse["default"];
3811
+ return this.apiClient.callApi('/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2669
3812
  }
2670
3813
 
2671
3814
  /**
2672
- * Retrieves the transfer payment details with the given transferId
2673
- * Retrieves the transfer payment with the given transferId
2674
- * @param {String} transferID The id of the transfer
3815
+ * Retrieves the Stripe Customer Account For the Logged In User
3816
+ * Retrieves the Stripe Customer Account
3817
+ * @param {Number} userID The id of the user to retrieve the account for
2675
3818
  * @param {Object} opts Optional parameters
2676
3819
  * @param {String} opts.authorization The authorization token of the logged in user
2677
3820
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2685,20 +3828,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2685
3828
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2686
3829
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2687
3830
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2688
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
3831
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
2689
3832
  */
2690
3833
  }, {
2691
- key: "getStripeTransferPaymentMethodDetails",
2692
- value: function getStripeTransferPaymentMethodDetails(transferID, opts) {
2693
- return this.getStripeTransferPaymentMethodDetailsWithHttpInfo(transferID, opts).then(function (response_and_data) {
3834
+ key: "getUserStripeCustomerAccount",
3835
+ value: function getUserStripeCustomerAccount(userID, opts) {
3836
+ return this.getUserStripeCustomerAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
2694
3837
  return response_and_data.data;
2695
3838
  });
2696
3839
  }
2697
3840
 
2698
3841
  /**
2699
- * Retrieves a subscription by ID
2700
- * Gets the details of a specific subscription
2701
- * @param {String} subscriptionId The subscription ID
3842
+ * Handles Stripe webhook events
3843
+ * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
2702
3844
  * @param {Object} opts Optional parameters
2703
3845
  * @param {String} [authorization] The authorization token of the logged in user
2704
3846
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2712,20 +3854,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2712
3854
  * @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
2713
3855
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2714
3856
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2715
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
3857
+ * @param {String} [body]
3858
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
2716
3859
  */
2717
3860
  }, {
2718
- key: "getSubscriptionWithHttpInfo",
2719
- value: function getSubscriptionWithHttpInfo(subscriptionId, opts) {
3861
+ key: "handleStripeWebhookWithHttpInfo",
3862
+ value: function handleStripeWebhookWithHttpInfo(opts) {
2720
3863
  opts = opts || {};
2721
- var postBody = null;
2722
- // verify the required parameter 'subscriptionId' is set
2723
- if (subscriptionId === undefined || subscriptionId === null) {
2724
- throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscription");
2725
- }
2726
- var pathParams = {
2727
- 'subscriptionId': subscriptionId
2728
- };
3864
+ var postBody = opts['body'];
3865
+ var pathParams = {};
2729
3866
  var queryParams = {
2730
3867
  'cacheduration': opts['cacheduration'],
2731
3868
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2744,16 +3881,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2744
3881
  };
2745
3882
  var formParams = {};
2746
3883
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2747
- var contentTypes = [];
2748
- var accepts = ['application/json'];
2749
- var returnType = _StripeSubscription["default"];
2750
- return this.apiClient.callApi('/payments/stripe/subscription/{subscriptionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3884
+ var contentTypes = ['application/json'];
3885
+ var accepts = [];
3886
+ var returnType = null;
3887
+ return this.apiClient.callApi('/payments/stripe/webhook', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2751
3888
  }
2752
3889
 
2753
3890
  /**
2754
- * Retrieves a subscription by ID
2755
- * Gets the details of a specific subscription
2756
- * @param {String} subscriptionId The subscription ID
3891
+ * Handles Stripe webhook events
3892
+ * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
2757
3893
  * @param {Object} opts Optional parameters
2758
3894
  * @param {String} opts.authorization The authorization token of the logged in user
2759
3895
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2767,19 +3903,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2767
3903
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2768
3904
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2769
3905
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2770
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
3906
+ * @param {String} opts.body
3907
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2771
3908
  */
2772
3909
  }, {
2773
- key: "getSubscription",
2774
- value: function getSubscription(subscriptionId, opts) {
2775
- return this.getSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
3910
+ key: "handleStripeWebhook",
3911
+ value: function handleStripeWebhook(opts) {
3912
+ return this.handleStripeWebhookWithHttpInfo(opts).then(function (response_and_data) {
2776
3913
  return response_and_data.data;
2777
3914
  });
2778
3915
  }
2779
3916
 
2780
3917
  /**
2781
- * Lists all subscriptions for the logged-in user
2782
- * Retrieves all subscriptions for the current user
3918
+ * Lists all prices
3919
+ * Retrieves all prices
2783
3920
  * @param {Object} opts Optional parameters
2784
3921
  * @param {String} [authorization] The authorization token of the logged in user
2785
3922
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2793,11 +3930,11 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2793
3930
  * @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
2794
3931
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2795
3932
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2796
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeSubscription>} and HTTP response
3933
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
2797
3934
  */
2798
3935
  }, {
2799
- key: "getSubscriptionsWithHttpInfo",
2800
- value: function getSubscriptionsWithHttpInfo(opts) {
3936
+ key: "listPricesWithHttpInfo",
3937
+ value: function listPricesWithHttpInfo(opts) {
2801
3938
  opts = opts || {};
2802
3939
  var postBody = null;
2803
3940
  var pathParams = {};
@@ -2821,13 +3958,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2821
3958
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2822
3959
  var contentTypes = [];
2823
3960
  var accepts = ['application/json'];
2824
- var returnType = [_StripeSubscription["default"]];
2825
- return this.apiClient.callApi('/payments/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3961
+ var returnType = [_StripePrice["default"]];
3962
+ return this.apiClient.callApi('/payments/stripe/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2826
3963
  }
2827
3964
 
2828
3965
  /**
2829
- * Lists all subscriptions for the logged-in user
2830
- * Retrieves all subscriptions for the current user
3966
+ * Lists all prices
3967
+ * Retrieves all prices
2831
3968
  * @param {Object} opts Optional parameters
2832
3969
  * @param {String} opts.authorization The authorization token of the logged in user
2833
3970
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2841,20 +3978,20 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2841
3978
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2842
3979
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2843
3980
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2844
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripeSubscription>}
3981
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripePrice>}
2845
3982
  */
2846
3983
  }, {
2847
- key: "getSubscriptions",
2848
- value: function getSubscriptions(opts) {
2849
- return this.getSubscriptionsWithHttpInfo(opts).then(function (response_and_data) {
3984
+ key: "listPrices",
3985
+ value: function listPrices(opts) {
3986
+ return this.listPricesWithHttpInfo(opts).then(function (response_and_data) {
2850
3987
  return response_and_data.data;
2851
3988
  });
2852
3989
  }
2853
3990
 
2854
3991
  /**
2855
- * Retrieves the Stripe Account For the Specified User
2856
- * Retrieves the Stripe Account
2857
- * @param {Number} userID The id of the user to retrieve the account for
3992
+ * Lists all prices for a product
3993
+ * Retrieves all prices associated with a specific product
3994
+ * @param {String} productId The product ID
2858
3995
  * @param {Object} opts Optional parameters
2859
3996
  * @param {String} [authorization] The authorization token of the logged in user
2860
3997
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2868,19 +4005,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2868
4005
  * @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
2869
4006
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2870
4007
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2871
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAccountResponse} and HTTP response
4008
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripePrice>} and HTTP response
2872
4009
  */
2873
4010
  }, {
2874
- key: "getUserStripeAccountWithHttpInfo",
2875
- value: function getUserStripeAccountWithHttpInfo(userID, opts) {
4011
+ key: "listStripePricesByProductWithHttpInfo",
4012
+ value: function listStripePricesByProductWithHttpInfo(productId, opts) {
2876
4013
  opts = opts || {};
2877
4014
  var postBody = null;
2878
- // verify the required parameter 'userID' is set
2879
- if (userID === undefined || userID === null) {
2880
- throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
4015
+ // verify the required parameter 'productId' is set
4016
+ if (productId === undefined || productId === null) {
4017
+ throw new Error("Missing the required parameter 'productId' when calling listStripePricesByProduct");
2881
4018
  }
2882
4019
  var pathParams = {
2883
- 'userID': userID
4020
+ 'productId': productId
2884
4021
  };
2885
4022
  var queryParams = {
2886
4023
  'cacheduration': opts['cacheduration'],
@@ -2902,14 +4039,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2902
4039
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2903
4040
  var contentTypes = [];
2904
4041
  var accepts = ['application/json'];
2905
- var returnType = _CreateAccountResponse["default"];
2906
- return this.apiClient.callApi('/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
4042
+ var returnType = [_StripePrice["default"]];
4043
+ return this.apiClient.callApi('/payments/stripe/product/{productId}/price', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2907
4044
  }
2908
4045
 
2909
4046
  /**
2910
- * Retrieves the Stripe Account For the Specified User
2911
- * Retrieves the Stripe Account
2912
- * @param {Number} userID The id of the user to retrieve the account for
4047
+ * Lists all prices for a product
4048
+ * Retrieves all prices associated with a specific product
4049
+ * @param {String} productId The product ID
2913
4050
  * @param {Object} opts Optional parameters
2914
4051
  * @param {String} opts.authorization The authorization token of the logged in user
2915
4052
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -2923,20 +4060,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2923
4060
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2924
4061
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2925
4062
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
2926
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAccountResponse}
4063
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripePrice>}
2927
4064
  */
2928
4065
  }, {
2929
- key: "getUserStripeAccount",
2930
- value: function getUserStripeAccount(userID, opts) {
2931
- return this.getUserStripeAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
4066
+ key: "listStripePricesByProduct",
4067
+ value: function listStripePricesByProduct(productId, opts) {
4068
+ return this.listStripePricesByProductWithHttpInfo(productId, opts).then(function (response_and_data) {
2932
4069
  return response_and_data.data;
2933
4070
  });
2934
4071
  }
2935
4072
 
2936
4073
  /**
2937
- * Retrieves the Stripe Customer Account For the Logged In User
2938
- * Retrieves the Stripe Customer Account
2939
- * @param {Number} userID The id of the user to retrieve the account for
4074
+ * Lists all product categories
4075
+ * Retrieves all product categories scoped to the current ApplicationRoot
2940
4076
  * @param {Object} opts Optional parameters
2941
4077
  * @param {String} [authorization] The authorization token of the logged in user
2942
4078
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2950,20 +4086,14 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2950
4086
  * @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
2951
4087
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2952
4088
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2953
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomerResponse} and HTTP response
4089
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProductCategory>} and HTTP response
2954
4090
  */
2955
4091
  }, {
2956
- key: "getUserStripeCustomerAccountWithHttpInfo",
2957
- value: function getUserStripeCustomerAccountWithHttpInfo(userID, opts) {
4092
+ key: "listStripeProductCategoriesWithHttpInfo",
4093
+ value: function listStripeProductCategoriesWithHttpInfo(opts) {
2958
4094
  opts = opts || {};
2959
4095
  var postBody = null;
2960
- // verify the required parameter 'userID' is set
2961
- if (userID === undefined || userID === null) {
2962
- throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
2963
- }
2964
- var pathParams = {
2965
- 'userID': userID
2966
- };
4096
+ var pathParams = {};
2967
4097
  var queryParams = {
2968
4098
  'cacheduration': opts['cacheduration'],
2969
4099
  'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
@@ -2984,14 +4114,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
2984
4114
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2985
4115
  var contentTypes = [];
2986
4116
  var accepts = ['application/json'];
2987
- var returnType = _CustomerResponse["default"];
2988
- return this.apiClient.callApi('/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
4117
+ var returnType = [_ProductCategory["default"]];
4118
+ return this.apiClient.callApi('/payments/stripe/product-category', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2989
4119
  }
2990
4120
 
2991
4121
  /**
2992
- * Retrieves the Stripe Customer Account For the Logged In User
2993
- * Retrieves the Stripe Customer Account
2994
- * @param {Number} userID The id of the user to retrieve the account for
4122
+ * Lists all product categories
4123
+ * Retrieves all product categories scoped to the current ApplicationRoot
2995
4124
  * @param {Object} opts Optional parameters
2996
4125
  * @param {String} opts.authorization The authorization token of the logged in user
2997
4126
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -3005,19 +4134,19 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3005
4134
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3006
4135
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3007
4136
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
3008
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomerResponse}
4137
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ProductCategory>}
3009
4138
  */
3010
4139
  }, {
3011
- key: "getUserStripeCustomerAccount",
3012
- value: function getUserStripeCustomerAccount(userID, opts) {
3013
- return this.getUserStripeCustomerAccountWithHttpInfo(userID, opts).then(function (response_and_data) {
4140
+ key: "listStripeProductCategories",
4141
+ value: function listStripeProductCategories(opts) {
4142
+ return this.listStripeProductCategoriesWithHttpInfo(opts).then(function (response_and_data) {
3014
4143
  return response_and_data.data;
3015
4144
  });
3016
4145
  }
3017
4146
 
3018
4147
  /**
3019
- * Handles Stripe webhook events
3020
- * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
4148
+ * Lists all products
4149
+ * Retrieves all products
3021
4150
  * @param {Object} opts Optional parameters
3022
4151
  * @param {String} [authorization] The authorization token of the logged in user
3023
4152
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3031,14 +4160,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3031
4160
  * @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
3032
4161
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3033
4162
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3034
- * @param {String} [body]
3035
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
4163
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/StripeProduct>} and HTTP response
3036
4164
  */
3037
4165
  }, {
3038
- key: "handleStripeWebhookWithHttpInfo",
3039
- value: function handleStripeWebhookWithHttpInfo(opts) {
4166
+ key: "listStripeProductsWithHttpInfo",
4167
+ value: function listStripeProductsWithHttpInfo(opts) {
3040
4168
  opts = opts || {};
3041
- var postBody = opts['body'];
4169
+ var postBody = null;
3042
4170
  var pathParams = {};
3043
4171
  var queryParams = {
3044
4172
  'cacheduration': opts['cacheduration'],
@@ -3058,15 +4186,15 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3058
4186
  };
3059
4187
  var formParams = {};
3060
4188
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3061
- var contentTypes = ['application/json'];
3062
- var accepts = [];
3063
- var returnType = null;
3064
- return this.apiClient.callApi('/payments/stripe/webhook', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
4189
+ var contentTypes = [];
4190
+ var accepts = ['application/json'];
4191
+ var returnType = [_StripeProduct["default"]];
4192
+ return this.apiClient.callApi('/payments/stripe/product', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
3065
4193
  }
3066
4194
 
3067
4195
  /**
3068
- * Handles Stripe webhook events
3069
- * Receives and processes webhook events from Stripe. This endpoint verifies the webhook signature and dispatches events to appropriate handlers.
4196
+ * Lists all products
4197
+ * Retrieves all products
3070
4198
  * @param {Object} opts Optional parameters
3071
4199
  * @param {String} opts.authorization The authorization token of the logged in user
3072
4200
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -3079,14 +4207,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3079
4207
  * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
3080
4208
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3081
4209
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
3082
- * @param {String} opts.transactionid The id of the transaction this operation is being run in
3083
- * @param {String} opts.body
3084
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
4210
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
4211
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/StripeProduct>}
3085
4212
  */
3086
4213
  }, {
3087
- key: "handleStripeWebhook",
3088
- value: function handleStripeWebhook(opts) {
3089
- return this.handleStripeWebhookWithHttpInfo(opts).then(function (response_and_data) {
4214
+ key: "listStripeProducts",
4215
+ value: function listStripeProducts(opts) {
4216
+ return this.listStripeProductsWithHttpInfo(opts).then(function (response_and_data) {
3090
4217
  return response_and_data.data;
3091
4218
  });
3092
4219
  }
@@ -3199,13 +4326,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3199
4326
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/StripeSubscription} and HTTP response
3200
4327
  */
3201
4328
  }, {
3202
- key: "resumeSubscriptionWithHttpInfo",
3203
- value: function resumeSubscriptionWithHttpInfo(subscriptionId, opts) {
4329
+ key: "resumeStripeSubscriptionWithHttpInfo",
4330
+ value: function resumeStripeSubscriptionWithHttpInfo(subscriptionId, opts) {
3204
4331
  opts = opts || {};
3205
4332
  var postBody = null;
3206
4333
  // verify the required parameter 'subscriptionId' is set
3207
4334
  if (subscriptionId === undefined || subscriptionId === null) {
3208
- throw new Error("Missing the required parameter 'subscriptionId' when calling resumeSubscription");
4335
+ throw new Error("Missing the required parameter 'subscriptionId' when calling resumeStripeSubscription");
3209
4336
  }
3210
4337
  var pathParams = {
3211
4338
  'subscriptionId': subscriptionId
@@ -3254,9 +4381,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3254
4381
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/StripeSubscription}
3255
4382
  */
3256
4383
  }, {
3257
- key: "resumeSubscription",
3258
- value: function resumeSubscription(subscriptionId, opts) {
3259
- return this.resumeSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
4384
+ key: "resumeStripeSubscription",
4385
+ value: function resumeStripeSubscription(subscriptionId, opts) {
4386
+ return this.resumeStripeSubscriptionWithHttpInfo(subscriptionId, opts).then(function (response_and_data) {
3260
4387
  return response_and_data.data;
3261
4388
  });
3262
4389
  }
@@ -3607,6 +4734,94 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3607
4734
  });
3608
4735
  }
3609
4736
 
4737
+ /**
4738
+ * Sets or removes parent category
4739
+ * Sets the parent category for a category, or removes the parent if parentCategoryId is null
4740
+ * @param {Number} categoryId The category ID
4741
+ * @param {Object.<String, {String: Object}>} requestBody Contains the parent category ID (or null to remove parent)
4742
+ * @param {Object} opts Optional parameters
4743
+ * @param {String} [authorization] The authorization token of the logged in user
4744
+ * @param {Number} [cacheduration] The how long the cache entry should persist
4745
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
4746
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
4747
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
4748
+ * @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)
4749
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
4750
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
4751
+ * @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
4752
+ * @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
4753
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
4754
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
4755
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
4756
+ */
4757
+ }, {
4758
+ key: "setStripeProductCategoryParentWithHttpInfo",
4759
+ value: function setStripeProductCategoryParentWithHttpInfo(categoryId, requestBody, opts) {
4760
+ opts = opts || {};
4761
+ var postBody = requestBody;
4762
+ // verify the required parameter 'categoryId' is set
4763
+ if (categoryId === undefined || categoryId === null) {
4764
+ throw new Error("Missing the required parameter 'categoryId' when calling setStripeProductCategoryParent");
4765
+ }
4766
+ // verify the required parameter 'requestBody' is set
4767
+ if (requestBody === undefined || requestBody === null) {
4768
+ throw new Error("Missing the required parameter 'requestBody' when calling setStripeProductCategoryParent");
4769
+ }
4770
+ var pathParams = {
4771
+ 'categoryId': categoryId
4772
+ };
4773
+ var queryParams = {
4774
+ 'cacheduration': opts['cacheduration'],
4775
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
4776
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
4777
+ 'cachescope': opts['cachescope'],
4778
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
4779
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
4780
+ };
4781
+ var headerParams = {
4782
+ 'Authorization': opts['authorization'],
4783
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
4784
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
4785
+ 'zeusportal-postas': opts['zeusportalPostas'],
4786
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
4787
+ 'transactionid': opts['transactionid']
4788
+ };
4789
+ var formParams = {};
4790
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
4791
+ var contentTypes = ['application/json'];
4792
+ var accepts = ['application/json'];
4793
+ var returnType = _ProductCategoryResponse["default"];
4794
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}/parent', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
4795
+ }
4796
+
4797
+ /**
4798
+ * Sets or removes parent category
4799
+ * Sets the parent category for a category, or removes the parent if parentCategoryId is null
4800
+ * @param {Number} categoryId The category ID
4801
+ * @param {Object.<String, {String: Object}>} requestBody Contains the parent category ID (or null to remove parent)
4802
+ * @param {Object} opts Optional parameters
4803
+ * @param {String} opts.authorization The authorization token of the logged in user
4804
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
4805
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
4806
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
4807
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
4808
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
4809
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
4810
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
4811
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
4812
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
4813
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
4814
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
4815
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
4816
+ */
4817
+ }, {
4818
+ key: "setStripeProductCategoryParent",
4819
+ value: function setStripeProductCategoryParent(categoryId, requestBody, opts) {
4820
+ return this.setStripeProductCategoryParentWithHttpInfo(categoryId, requestBody, opts).then(function (response_and_data) {
4821
+ return response_and_data.data;
4822
+ });
4823
+ }
4824
+
3610
4825
  /**
3611
4826
  * Pays out the account of the logged in user
3612
4827
  * Pays out the account of the logged in user
@@ -3943,6 +5158,94 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
3943
5158
  });
3944
5159
  }
3945
5160
 
5161
+ /**
5162
+ * Updates a price
5163
+ * Updates an existing price (only active status and metadata can be updated)
5164
+ * @param {String} priceId The price ID
5165
+ * @param {module:model/PriceInput} priceInput The price update data
5166
+ * @param {Object} opts Optional parameters
5167
+ * @param {String} [authorization] The authorization token of the logged in user
5168
+ * @param {Number} [cacheduration] The how long the cache entry should persist
5169
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
5170
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
5171
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
5172
+ * @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)
5173
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
5174
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
5175
+ * @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
5176
+ * @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
5177
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
5178
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
5179
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PriceResponse} and HTTP response
5180
+ */
5181
+ }, {
5182
+ key: "updatePriceWithHttpInfo",
5183
+ value: function updatePriceWithHttpInfo(priceId, priceInput, opts) {
5184
+ opts = opts || {};
5185
+ var postBody = priceInput;
5186
+ // verify the required parameter 'priceId' is set
5187
+ if (priceId === undefined || priceId === null) {
5188
+ throw new Error("Missing the required parameter 'priceId' when calling updatePrice");
5189
+ }
5190
+ // verify the required parameter 'priceInput' is set
5191
+ if (priceInput === undefined || priceInput === null) {
5192
+ throw new Error("Missing the required parameter 'priceInput' when calling updatePrice");
5193
+ }
5194
+ var pathParams = {
5195
+ 'priceId': priceId
5196
+ };
5197
+ var queryParams = {
5198
+ 'cacheduration': opts['cacheduration'],
5199
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
5200
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
5201
+ 'cachescope': opts['cachescope'],
5202
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
5203
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
5204
+ };
5205
+ var headerParams = {
5206
+ 'Authorization': opts['authorization'],
5207
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
5208
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
5209
+ 'zeusportal-postas': opts['zeusportalPostas'],
5210
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
5211
+ 'transactionid': opts['transactionid']
5212
+ };
5213
+ var formParams = {};
5214
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
5215
+ var contentTypes = ['application/json'];
5216
+ var accepts = ['application/json'];
5217
+ var returnType = _PriceResponse["default"];
5218
+ return this.apiClient.callApi('/payments/stripe/price/{priceId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
5219
+ }
5220
+
5221
+ /**
5222
+ * Updates a price
5223
+ * Updates an existing price (only active status and metadata can be updated)
5224
+ * @param {String} priceId The price ID
5225
+ * @param {module:model/PriceInput} priceInput The price update data
5226
+ * @param {Object} opts Optional parameters
5227
+ * @param {String} opts.authorization The authorization token of the logged in user
5228
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
5229
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
5230
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
5231
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
5232
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
5233
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
5234
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
5235
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
5236
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
5237
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
5238
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
5239
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PriceResponse}
5240
+ */
5241
+ }, {
5242
+ key: "updatePrice",
5243
+ value: function updatePrice(priceId, priceInput, opts) {
5244
+ return this.updatePriceWithHttpInfo(priceId, priceInput, opts).then(function (response_and_data) {
5245
+ return response_and_data.data;
5246
+ });
5247
+ }
5248
+
3946
5249
  /**
3947
5250
  * Adds payment methods for the customer stored in stripe
3948
5251
  * Retrieves the payment methods for the customer stored in stripe
@@ -4027,6 +5330,182 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
4027
5330
  });
4028
5331
  }
4029
5332
 
5333
+ /**
5334
+ * Updates a product
5335
+ * Updates an existing product
5336
+ * @param {String} productId The product ID
5337
+ * @param {module:model/ProductInput} productInput The product update data
5338
+ * @param {Object} opts Optional parameters
5339
+ * @param {String} [authorization] The authorization token of the logged in user
5340
+ * @param {Number} [cacheduration] The how long the cache entry should persist
5341
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
5342
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
5343
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
5344
+ * @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)
5345
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
5346
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
5347
+ * @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
5348
+ * @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
5349
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
5350
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
5351
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductResponse} and HTTP response
5352
+ */
5353
+ }, {
5354
+ key: "updateStripeProductWithHttpInfo",
5355
+ value: function updateStripeProductWithHttpInfo(productId, productInput, opts) {
5356
+ opts = opts || {};
5357
+ var postBody = productInput;
5358
+ // verify the required parameter 'productId' is set
5359
+ if (productId === undefined || productId === null) {
5360
+ throw new Error("Missing the required parameter 'productId' when calling updateStripeProduct");
5361
+ }
5362
+ // verify the required parameter 'productInput' is set
5363
+ if (productInput === undefined || productInput === null) {
5364
+ throw new Error("Missing the required parameter 'productInput' when calling updateStripeProduct");
5365
+ }
5366
+ var pathParams = {
5367
+ 'productId': productId
5368
+ };
5369
+ var queryParams = {
5370
+ 'cacheduration': opts['cacheduration'],
5371
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
5372
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
5373
+ 'cachescope': opts['cachescope'],
5374
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
5375
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
5376
+ };
5377
+ var headerParams = {
5378
+ 'Authorization': opts['authorization'],
5379
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
5380
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
5381
+ 'zeusportal-postas': opts['zeusportalPostas'],
5382
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
5383
+ 'transactionid': opts['transactionid']
5384
+ };
5385
+ var formParams = {};
5386
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
5387
+ var contentTypes = ['application/json'];
5388
+ var accepts = ['application/json'];
5389
+ var returnType = _ProductResponse["default"];
5390
+ return this.apiClient.callApi('/payments/stripe/product/{productId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
5391
+ }
5392
+
5393
+ /**
5394
+ * Updates a product
5395
+ * Updates an existing product
5396
+ * @param {String} productId The product ID
5397
+ * @param {module:model/ProductInput} productInput The product update data
5398
+ * @param {Object} opts Optional parameters
5399
+ * @param {String} opts.authorization The authorization token of the logged in user
5400
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
5401
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
5402
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
5403
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
5404
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
5405
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
5406
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
5407
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
5408
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
5409
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
5410
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
5411
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductResponse}
5412
+ */
5413
+ }, {
5414
+ key: "updateStripeProduct",
5415
+ value: function updateStripeProduct(productId, productInput, opts) {
5416
+ return this.updateStripeProductWithHttpInfo(productId, productInput, opts).then(function (response_and_data) {
5417
+ return response_and_data.data;
5418
+ });
5419
+ }
5420
+
5421
+ /**
5422
+ * Updates a category
5423
+ * Updates an existing category
5424
+ * @param {Number} categoryId The category ID
5425
+ * @param {module:model/ProductCategoryInput} productCategoryInput The category update data
5426
+ * @param {Object} opts Optional parameters
5427
+ * @param {String} [authorization] The authorization token of the logged in user
5428
+ * @param {Number} [cacheduration] The how long the cache entry should persist
5429
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
5430
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
5431
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
5432
+ * @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)
5433
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
5434
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
5435
+ * @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
5436
+ * @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
5437
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
5438
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
5439
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProductCategoryResponse} and HTTP response
5440
+ */
5441
+ }, {
5442
+ key: "updateStripeProductCategoryWithHttpInfo",
5443
+ value: function updateStripeProductCategoryWithHttpInfo(categoryId, productCategoryInput, opts) {
5444
+ opts = opts || {};
5445
+ var postBody = productCategoryInput;
5446
+ // verify the required parameter 'categoryId' is set
5447
+ if (categoryId === undefined || categoryId === null) {
5448
+ throw new Error("Missing the required parameter 'categoryId' when calling updateStripeProductCategory");
5449
+ }
5450
+ // verify the required parameter 'productCategoryInput' is set
5451
+ if (productCategoryInput === undefined || productCategoryInput === null) {
5452
+ throw new Error("Missing the required parameter 'productCategoryInput' when calling updateStripeProductCategory");
5453
+ }
5454
+ var pathParams = {
5455
+ 'categoryId': categoryId
5456
+ };
5457
+ var queryParams = {
5458
+ 'cacheduration': opts['cacheduration'],
5459
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
5460
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
5461
+ 'cachescope': opts['cachescope'],
5462
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
5463
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
5464
+ };
5465
+ var headerParams = {
5466
+ 'Authorization': opts['authorization'],
5467
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
5468
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
5469
+ 'zeusportal-postas': opts['zeusportalPostas'],
5470
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
5471
+ 'transactionid': opts['transactionid']
5472
+ };
5473
+ var formParams = {};
5474
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
5475
+ var contentTypes = ['application/json'];
5476
+ var accepts = ['application/json'];
5477
+ var returnType = _ProductCategoryResponse["default"];
5478
+ return this.apiClient.callApi('/payments/stripe/product-category/{categoryId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
5479
+ }
5480
+
5481
+ /**
5482
+ * Updates a category
5483
+ * Updates an existing category
5484
+ * @param {Number} categoryId The category ID
5485
+ * @param {module:model/ProductCategoryInput} productCategoryInput The category update data
5486
+ * @param {Object} opts Optional parameters
5487
+ * @param {String} opts.authorization The authorization token of the logged in user
5488
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
5489
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
5490
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
5491
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
5492
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
5493
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
5494
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
5495
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
5496
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
5497
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
5498
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
5499
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProductCategoryResponse}
5500
+ */
5501
+ }, {
5502
+ key: "updateStripeProductCategory",
5503
+ value: function updateStripeProductCategory(categoryId, productCategoryInput, opts) {
5504
+ return this.updateStripeProductCategoryWithHttpInfo(categoryId, productCategoryInput, opts).then(function (response_and_data) {
5505
+ return response_and_data.data;
5506
+ });
5507
+ }
5508
+
4030
5509
  /**
4031
5510
  * Updates a subscription
4032
5511
  * Updates an existing subscription
@@ -4048,17 +5527,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
4048
5527
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SubscriptionResponse} and HTTP response
4049
5528
  */
4050
5529
  }, {
4051
- key: "updateSubscriptionWithHttpInfo",
4052
- value: function updateSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts) {
5530
+ key: "updateStripeSubscriptionWithHttpInfo",
5531
+ value: function updateStripeSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts) {
4053
5532
  opts = opts || {};
4054
5533
  var postBody = subscriptionInput;
4055
5534
  // verify the required parameter 'subscriptionId' is set
4056
5535
  if (subscriptionId === undefined || subscriptionId === null) {
4057
- throw new Error("Missing the required parameter 'subscriptionId' when calling updateSubscription");
5536
+ throw new Error("Missing the required parameter 'subscriptionId' when calling updateStripeSubscription");
4058
5537
  }
4059
5538
  // verify the required parameter 'subscriptionInput' is set
4060
5539
  if (subscriptionInput === undefined || subscriptionInput === null) {
4061
- throw new Error("Missing the required parameter 'subscriptionInput' when calling updateSubscription");
5540
+ throw new Error("Missing the required parameter 'subscriptionInput' when calling updateStripeSubscription");
4062
5541
  }
4063
5542
  var pathParams = {
4064
5543
  'subscriptionId': subscriptionId
@@ -4108,9 +5587,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
4108
5587
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SubscriptionResponse}
4109
5588
  */
4110
5589
  }, {
4111
- key: "updateSubscription",
4112
- value: function updateSubscription(subscriptionId, subscriptionInput, opts) {
4113
- return this.updateSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts).then(function (response_and_data) {
5590
+ key: "updateStripeSubscription",
5591
+ value: function updateStripeSubscription(subscriptionId, subscriptionInput, opts) {
5592
+ return this.updateStripeSubscriptionWithHttpInfo(subscriptionId, subscriptionInput, opts).then(function (response_and_data) {
4114
5593
  return response_and_data.data;
4115
5594
  });
4116
5595
  }