@gobodo/gobodo-api 0.1.14 → 0.1.17

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 (173) hide show
  1. package/README.md +17 -6
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +2 -2
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/DataSheetImportsApi.js +2 -2
  15. package/dist/api/DefaultApi.js +2 -2
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EntryPartsApi.js +2 -2
  18. package/dist/api/FacebookApi.js +2 -2
  19. package/dist/api/FieldsApi.js +2 -2
  20. package/dist/api/FilesApi.js +2 -2
  21. package/dist/api/FormsApi.js +2 -2
  22. package/dist/api/FunctionsApi.js +2 -2
  23. package/dist/api/GeocodeApi.js +2 -2
  24. package/dist/api/GoogleApi.js +2 -2
  25. package/dist/api/GraphActionsApi.js +2 -2
  26. package/dist/api/GraphObjectTypesApi.js +2 -2
  27. package/dist/api/GraphObjectsApi.js +2 -2
  28. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  29. package/dist/api/GraphRelationshipsApi.js +2 -2
  30. package/dist/api/GraphSchemasApi.js +2 -2
  31. package/dist/api/GraphTraversalApi.js +2 -2
  32. package/dist/api/GraphsApi.js +2 -2
  33. package/dist/api/GroupsApi.js +2 -2
  34. package/dist/api/IAMApi.js +2 -2
  35. package/dist/api/ImagesApi.js +2 -2
  36. package/dist/api/InvitesApi.js +2 -2
  37. package/dist/api/LikesApi.js +2 -2
  38. package/dist/api/LinkedINApi.js +2 -2
  39. package/dist/api/LiveMeetingsApi.js +2 -2
  40. package/dist/api/MeetingEventsApi.js +2 -2
  41. package/dist/api/PagesApi.js +2 -2
  42. package/dist/api/PostsApi.js +2 -2
  43. package/dist/api/PrivateMessagesApi.js +2 -2
  44. package/dist/api/PublicationsApi.js +2 -2
  45. package/dist/api/ScreensApi.js +2 -2
  46. package/dist/api/SocialIntegrationApi.js +2 -2
  47. package/dist/api/StripeAccountsApi.js +332 -25
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +2 -2
  53. package/dist/api/UserTagsApi.js +2 -2
  54. package/dist/api/UsersApi.js +2 -2
  55. package/dist/api/UtilsApi.js +2 -2
  56. package/dist/api/VideosApi.js +2 -2
  57. package/dist/index.js +42 -14
  58. package/dist/model/APIClient.js +9 -9
  59. package/dist/model/ApplicationPaymentAccountResponse.js +116 -0
  60. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +179 -0
  61. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +165 -0
  62. package/dist/model/{GraphIteratorEntryPartStackTraceInner.js → ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js} +27 -27
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
  64. package/dist/model/Article.js +36 -36
  65. package/dist/model/Authorization.js +2 -2
  66. package/dist/model/BankAccountInfo.js +3 -2
  67. package/dist/model/CardInfo.js +3 -2
  68. package/dist/model/Comment.js +2 -2
  69. package/dist/model/Coordinates.js +2 -2
  70. package/dist/model/CreateAccountResponse.js +2 -2
  71. package/dist/model/CreateStripeAccountInput.js +2 -2
  72. package/dist/model/CreateStripeCustomerInput.js +2 -2
  73. package/dist/model/{CreateCustomerResponse.js → CustomerResponse.js} +22 -22
  74. package/dist/model/DataObject.js +2 -2
  75. package/dist/model/DataSheetImport.js +2 -2
  76. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  77. package/dist/model/DataSheetImportSummary.js +2 -2
  78. package/dist/model/Document.js +36 -36
  79. package/dist/model/DocumentPart.js +9 -9
  80. package/dist/model/DocumentPartType.js +10 -10
  81. package/dist/model/DocumentType.js +10 -10
  82. package/dist/model/FieldMapping.js +2 -2
  83. package/dist/model/Fields.js +2 -2
  84. package/dist/model/File.js +18 -18
  85. package/dist/model/FileAttachmentUploadObject.js +18 -18
  86. package/dist/model/Filter.js +2 -2
  87. package/dist/model/FilterManager.js +2 -2
  88. package/dist/model/Form.js +13 -13
  89. package/dist/model/FormSection.js +2 -2
  90. package/dist/model/FormSubmission.js +2 -2
  91. package/dist/model/Geocode.js +2 -2
  92. package/dist/model/GeocodePayload.js +2 -2
  93. package/dist/model/GeolocationInput.js +2 -2
  94. package/dist/model/Graph.js +2 -2
  95. package/dist/model/GraphAction.js +2 -2
  96. package/dist/model/GraphDatabaseService.js +10 -10
  97. package/dist/model/GraphGeocode.js +2 -2
  98. package/dist/model/GraphIteratorEntryPart.js +6 -6
  99. package/dist/model/GraphObject.js +2 -2
  100. package/dist/model/GraphObjectPayload.js +2 -2
  101. package/dist/model/GraphObjectSchema.js +11 -11
  102. package/dist/model/GraphObjectType.js +2 -2
  103. package/dist/model/GraphObjectTypeSchema.js +2 -2
  104. package/dist/model/GraphOwner.js +2 -2
  105. package/dist/model/GraphRelation.js +2 -2
  106. package/dist/model/GraphRelationObjectObject.js +2 -2
  107. package/dist/model/GraphRelationship.js +2 -2
  108. package/dist/model/GraphRelationshipPayload.js +2 -2
  109. package/dist/model/GraphRelationshipType.js +2 -2
  110. package/dist/model/GraphSchema.js +2 -2
  111. package/dist/model/GraphTraversalInput.js +2 -2
  112. package/dist/model/Image.js +21 -21
  113. package/dist/model/ImageUploadObject.js +21 -21
  114. package/dist/model/InputPart.js +12 -12
  115. package/dist/model/InputPartMediaType.js +2 -2
  116. package/dist/model/Link.js +2 -2
  117. package/dist/model/LiveStreamInfo.js +2 -2
  118. package/dist/model/MeetingEvent.js +2 -2
  119. package/dist/model/MeetingEventTimezone.js +2 -2
  120. package/dist/model/MeetingInfo.js +2 -2
  121. package/dist/model/Member.js +9 -9
  122. package/dist/model/MemberGroupCategory.js +2 -2
  123. package/dist/model/MemberList.js +2 -2
  124. package/dist/model/MessageGroup.js +2 -2
  125. package/dist/model/MultipartBody.js +2 -2
  126. package/dist/model/Objecttype.js +2 -2
  127. package/dist/model/Page.js +2 -2
  128. package/dist/model/PageSchema.js +13 -13
  129. package/dist/model/Pageable.js +2 -2
  130. package/dist/model/Path.js +2 -2
  131. package/dist/model/PaymentIntentInput.js +12 -2
  132. package/dist/model/PaymentIntentResponse.js +2 -2
  133. package/dist/model/PaymentMethod.js +4 -8
  134. package/dist/model/PaymentMethodInput.js +14 -2
  135. package/dist/model/PaymentMethodResponse.js +2 -2
  136. package/dist/model/Post.js +2 -2
  137. package/dist/model/PrivateMessage.js +9 -9
  138. package/dist/model/PrivateMessageConversation.js +2 -2
  139. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  140. package/dist/model/Profile.js +2 -2
  141. package/dist/model/Profiletype.js +2 -2
  142. package/dist/model/PropertyContainer.js +2 -2
  143. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  144. package/dist/model/RelationshipMapping.js +2 -2
  145. package/dist/model/ScreenSchema.js +2 -2
  146. package/dist/model/SimulcastInfo.js +2 -2
  147. package/dist/model/SkinField.js +2 -2
  148. package/dist/model/SocialGroup.js +2 -2
  149. package/dist/model/SocialGroupType.js +9 -9
  150. package/dist/model/Sort.js +2 -2
  151. package/dist/model/StatusUpdate.js +2 -2
  152. package/dist/model/StreetAddress.js +2 -2
  153. package/dist/model/StripeAccount.js +16 -2
  154. package/dist/model/StripeCustomerAccount.js +2 -2
  155. package/dist/model/Template.js +2 -2
  156. package/dist/model/TemplateSchema.js +2 -2
  157. package/dist/model/ThemeMapping.js +2 -2
  158. package/dist/model/ThemeMappingPayload.js +2 -2
  159. package/dist/model/Transaction.js +2 -2
  160. package/dist/model/User.js +9 -9
  161. package/dist/model/UserDataPayload.js +9 -9
  162. package/dist/model/UserDomain.js +2 -2
  163. package/dist/model/UserInvite.js +2 -2
  164. package/dist/model/UserInviteInput.js +2 -2
  165. package/dist/model/UserSchema.js +9 -9
  166. package/dist/model/UserTag.js +2 -2
  167. package/dist/model/Userid.js +2 -2
  168. package/dist/model/Video.js +28 -28
  169. package/dist/model/VideoLiveUrl.js +2 -2
  170. package/dist/model/VideoSchema.js +36 -36
  171. package/dist/model/VideoUploadObject.js +28 -28
  172. package/dist/model/ZeusPortalCategory.js +2 -2
  173. package/package.json +1 -1
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _ApplicationPaymentAccountResponse = _interopRequireDefault(require("../model/ApplicationPaymentAccountResponse"));
8
9
  var _CreateAccountResponse = _interopRequireDefault(require("../model/CreateAccountResponse"));
9
- var _CreateCustomerResponse = _interopRequireDefault(require("../model/CreateCustomerResponse"));
10
10
  var _CreateStripeAccountInput = _interopRequireDefault(require("../model/CreateStripeAccountInput"));
11
11
  var _CreateStripeCustomerInput = _interopRequireDefault(require("../model/CreateStripeCustomerInput"));
12
+ var _CustomerResponse = _interopRequireDefault(require("../model/CustomerResponse"));
12
13
  var _PaymentIntentInput = _interopRequireDefault(require("../model/PaymentIntentInput"));
13
14
  var _PaymentIntentResponse = _interopRequireDefault(require("../model/PaymentIntentResponse"));
14
15
  var _PaymentMethod = _interopRequireDefault(require("../model/PaymentMethod"));
@@ -25,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
25
26
  * gobodo-api
26
27
  * REST Interface for Gobodo API
27
28
  *
28
- * The version of the OpenAPI document: 0.1.14
29
+ * The version of the OpenAPI document: 0.1.17
29
30
  * Contact: info@gobodo.io
30
31
  *
31
32
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +37,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
36
37
  /**
37
38
  * StripeAccounts service.
38
39
  * @module api/StripeAccountsApi
39
- * @version 0.1.14
40
+ * @version 0.1.17
40
41
  */
41
42
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
42
43
  /**
@@ -62,7 +63,6 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
62
63
  /**
63
64
  * Adds payment methods for the customer stored in stripe
64
65
  * Retrieves the payment methods for the customer stored in stripe
65
- * @param {Number} customerID The customerid to add payment methods to
66
66
  * @param {Object} opts Optional parameters
67
67
  * @param {String} [authorization] The authorization token of the logged in user
68
68
  * @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
@@ -73,16 +73,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
73
73
  */
74
74
  _createClass(StripeAccountsApi, [{
75
75
  key: "addStripePaymentMethod",
76
- value: function addStripePaymentMethod(customerID, opts, callback) {
76
+ value: function addStripePaymentMethod(opts, callback) {
77
77
  opts = opts || {};
78
78
  var postBody = opts['paymentMethodInput'];
79
- // verify the required parameter 'customerID' is set
80
- if (customerID === undefined || customerID === null) {
81
- throw new Error("Missing the required parameter 'customerID' when calling addStripePaymentMethod");
82
- }
83
- var pathParams = {
84
- 'customerID': customerID
85
- };
79
+ var pathParams = {};
86
80
  var queryParams = {};
87
81
  var headerParams = {
88
82
  'Authorization': opts['authorization'],
@@ -94,7 +88,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
94
88
  var contentTypes = ['application/json'];
95
89
  var accepts = ['application/json'];
96
90
  var returnType = _PaymentMethodResponse["default"];
97
- return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
91
+ return this.apiClient.callApi('/graph/data/stripe/paymentmethods', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
98
92
  }
99
93
 
100
94
  /**
@@ -144,7 +138,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
144
138
  * Callback function to receive the result of the createAndLinkStripeCustomerAccount operation.
145
139
  * @callback module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback
146
140
  * @param {String} error Error message, if any.
147
- * @param {module:model/CreateCustomerResponse} data The data returned by the service call.
141
+ * @param {module:model/CustomerResponse} data The data returned by the service call.
148
142
  * @param {String} response The complete HTTP response.
149
143
  */
150
144
 
@@ -157,7 +151,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
157
151
  * @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
158
152
  * @param {String} [transactionid] The id of the transaction this operation is being run in
159
153
  * @param {module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
160
- * data is of type: {@link module:model/CreateCustomerResponse}
154
+ * data is of type: {@link module:model/CustomerResponse}
161
155
  */
162
156
  }, {
163
157
  key: "createAndLinkStripeCustomerAccount",
@@ -179,7 +173,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
179
173
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
180
174
  var contentTypes = ['application/json'];
181
175
  var accepts = ['application/json'];
182
- var returnType = _CreateCustomerResponse["default"];
176
+ var returnType = _CustomerResponse["default"];
183
177
  return this.apiClient.callApi('/graph/data/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
184
178
  }
185
179
 
@@ -308,6 +302,96 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
308
302
  return this.apiClient.callApi('/graph/data/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
309
303
  }
310
304
 
305
+ /**
306
+ * Callback function to receive the result of the getApplicationStripePaymentAccount operation.
307
+ * @callback module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback
308
+ * @param {String} error Error message, if any.
309
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
310
+ * @param {String} response The complete HTTP response.
311
+ */
312
+
313
+ /**
314
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
315
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
316
+ * @param {Number} applicationid
317
+ * @param {Object} opts Optional parameters
318
+ * @param {String} [authorization] The authorization token of the logged in user
319
+ * @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
320
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
321
+ * @param {module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
322
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
323
+ */
324
+ }, {
325
+ key: "getApplicationStripePaymentAccount",
326
+ value: function getApplicationStripePaymentAccount(applicationid, opts, callback) {
327
+ opts = opts || {};
328
+ var postBody = null;
329
+ // verify the required parameter 'applicationid' is set
330
+ if (applicationid === undefined || applicationid === null) {
331
+ throw new Error("Missing the required parameter 'applicationid' when calling getApplicationStripePaymentAccount");
332
+ }
333
+ var pathParams = {
334
+ 'applicationid': applicationid
335
+ };
336
+ var queryParams = {};
337
+ var headerParams = {
338
+ 'Authorization': opts['authorization'],
339
+ 'zeusportal-postas': opts['zeusportalPostas'],
340
+ 'transactionid': opts['transactionid']
341
+ };
342
+ var formParams = {};
343
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
344
+ var contentTypes = [];
345
+ var accepts = ['application/json'];
346
+ var returnType = _ApplicationPaymentAccountResponse["default"];
347
+ return this.apiClient.callApi('/graph/data/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
348
+ }
349
+
350
+ /**
351
+ * Callback function to receive the result of the getSiteStripePaymentAccount operation.
352
+ * @callback module:api/StripeAccountsApi~getSiteStripePaymentAccountCallback
353
+ * @param {String} error Error message, if any.
354
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
355
+ * @param {String} response The complete HTTP response.
356
+ */
357
+
358
+ /**
359
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
360
+ * Retrieves the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
361
+ * @param {Number} siteid
362
+ * @param {Object} opts Optional parameters
363
+ * @param {String} [authorization] The authorization token of the logged in user
364
+ * @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
365
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
366
+ * @param {module:api/StripeAccountsApi~getSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
367
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
368
+ */
369
+ }, {
370
+ key: "getSiteStripePaymentAccount",
371
+ value: function getSiteStripePaymentAccount(siteid, opts, callback) {
372
+ opts = opts || {};
373
+ var postBody = null;
374
+ // verify the required parameter 'siteid' is set
375
+ if (siteid === undefined || siteid === null) {
376
+ throw new Error("Missing the required parameter 'siteid' when calling getSiteStripePaymentAccount");
377
+ }
378
+ var pathParams = {
379
+ 'siteid': siteid
380
+ };
381
+ var queryParams = {};
382
+ var headerParams = {
383
+ 'Authorization': opts['authorization'],
384
+ 'zeusportal-postas': opts['zeusportalPostas'],
385
+ 'transactionid': opts['transactionid']
386
+ };
387
+ var formParams = {};
388
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
389
+ var contentTypes = [];
390
+ var accepts = ['application/json'];
391
+ var returnType = _ApplicationPaymentAccountResponse["default"];
392
+ return this.apiClient.callApi('/graph/data/stripe/site/{siteid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
393
+ }
394
+
311
395
  /**
312
396
  * Callback function to receive the result of the getStripeApiKey operation.
313
397
  * @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
@@ -347,8 +431,46 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
347
431
  }
348
432
 
349
433
  /**
350
- * Callback function to receive the result of the getStripePaymentMethods operation.
351
- * @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
434
+ * Callback function to receive the result of the getStripeCustomerAccount operation.
435
+ * @callback module:api/StripeAccountsApi~getStripeCustomerAccountCallback
436
+ * @param {String} error Error message, if any.
437
+ * @param {module:model/CustomerResponse} data The data returned by the service call.
438
+ * @param {String} response The complete HTTP response.
439
+ */
440
+
441
+ /**
442
+ * Retrieves the Stripe Customer Account For the Logged In User
443
+ * Retrieves the Stripe Customer Account
444
+ * @param {Object} opts Optional parameters
445
+ * @param {String} [authorization] The authorization token of the logged in user
446
+ * @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
447
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
448
+ * @param {module:api/StripeAccountsApi~getStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
449
+ * data is of type: {@link module:model/CustomerResponse}
450
+ */
451
+ }, {
452
+ key: "getStripeCustomerAccount",
453
+ value: function getStripeCustomerAccount(opts, callback) {
454
+ opts = opts || {};
455
+ var postBody = null;
456
+ var pathParams = {};
457
+ var queryParams = {};
458
+ var headerParams = {
459
+ 'Authorization': opts['authorization'],
460
+ 'zeusportal-postas': opts['zeusportalPostas'],
461
+ 'transactionid': opts['transactionid']
462
+ };
463
+ var formParams = {};
464
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
465
+ var contentTypes = [];
466
+ var accepts = ['application/json'];
467
+ var returnType = _CustomerResponse["default"];
468
+ return this.apiClient.callApi('/graph/data/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
469
+ }
470
+
471
+ /**
472
+ * Callback function to receive the result of the getStripeCustomerPaymentMethods operation.
473
+ * @callback module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback
352
474
  * @param {String} error Error message, if any.
353
475
  * @param {Array.<module:model/PaymentMethod>} data The data returned by the service call.
354
476
  * @param {String} response The complete HTTP response.
@@ -362,17 +484,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
362
484
  * @param {String} [authorization] The authorization token of the logged in user
363
485
  * @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
364
486
  * @param {String} [transactionid] The id of the transaction this operation is being run in
365
- * @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
487
+ * @param {module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
366
488
  * data is of type: {@link Array.<module:model/PaymentMethod>}
367
489
  */
368
490
  }, {
369
- key: "getStripePaymentMethods",
370
- value: function getStripePaymentMethods(customerID, opts, callback) {
491
+ key: "getStripeCustomerPaymentMethods",
492
+ value: function getStripeCustomerPaymentMethods(customerID, opts, callback) {
371
493
  opts = opts || {};
372
494
  var postBody = null;
373
495
  // verify the required parameter 'customerID' is set
374
496
  if (customerID === undefined || customerID === null) {
375
- throw new Error("Missing the required parameter 'customerID' when calling getStripePaymentMethods");
497
+ throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
376
498
  }
377
499
  var pathParams = {
378
500
  'customerID': customerID
@@ -391,6 +513,146 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
391
513
  return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
392
514
  }
393
515
 
516
+ /**
517
+ * Callback function to receive the result of the getStripePaymentMethods operation.
518
+ * @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
519
+ * @param {String} error Error message, if any.
520
+ * @param {Array.<module:model/PaymentMethod>} data The data returned by the service call.
521
+ * @param {String} response The complete HTTP response.
522
+ */
523
+
524
+ /**
525
+ * Retrieves the payment methods for the customer stored in stripe
526
+ * Retrieves the payment methods for the customer stored in stripe
527
+ * @param {Object} opts Optional parameters
528
+ * @param {String} [authorization] The authorization token of the logged in user
529
+ * @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
530
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
531
+ * @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
532
+ * data is of type: {@link Array.<module:model/PaymentMethod>}
533
+ */
534
+ }, {
535
+ key: "getStripePaymentMethods",
536
+ value: function getStripePaymentMethods(opts, callback) {
537
+ opts = opts || {};
538
+ var postBody = null;
539
+ var pathParams = {};
540
+ var queryParams = {};
541
+ var headerParams = {
542
+ 'Authorization': opts['authorization'],
543
+ 'zeusportal-postas': opts['zeusportalPostas'],
544
+ 'transactionid': opts['transactionid']
545
+ };
546
+ var formParams = {};
547
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
548
+ var contentTypes = [];
549
+ var accepts = ['application/json'];
550
+ var returnType = [_PaymentMethod["default"]];
551
+ return this.apiClient.callApi('/graph/data/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
552
+ }
553
+
554
+ /**
555
+ * Callback function to receive the result of the setApplicationStripePaymentAccount operation.
556
+ * @callback module:api/StripeAccountsApi~setApplicationStripePaymentAccountCallback
557
+ * @param {String} error Error message, if any.
558
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
559
+ * @param {String} response The complete HTTP response.
560
+ */
561
+
562
+ /**
563
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
564
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
565
+ * @param {Number} applicationid
566
+ * @param {Number} accountid
567
+ * @param {Object} opts Optional parameters
568
+ * @param {String} [authorization] The authorization token of the logged in user
569
+ * @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
570
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
571
+ * @param {module:api/StripeAccountsApi~setApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
572
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
573
+ */
574
+ }, {
575
+ key: "setApplicationStripePaymentAccount",
576
+ value: function setApplicationStripePaymentAccount(applicationid, accountid, opts, callback) {
577
+ opts = opts || {};
578
+ var postBody = null;
579
+ // verify the required parameter 'applicationid' is set
580
+ if (applicationid === undefined || applicationid === null) {
581
+ throw new Error("Missing the required parameter 'applicationid' when calling setApplicationStripePaymentAccount");
582
+ }
583
+ // verify the required parameter 'accountid' is set
584
+ if (accountid === undefined || accountid === null) {
585
+ throw new Error("Missing the required parameter 'accountid' when calling setApplicationStripePaymentAccount");
586
+ }
587
+ var pathParams = {
588
+ 'applicationid': applicationid,
589
+ 'accountid': accountid
590
+ };
591
+ var queryParams = {};
592
+ var headerParams = {
593
+ 'Authorization': opts['authorization'],
594
+ 'zeusportal-postas': opts['zeusportalPostas'],
595
+ 'transactionid': opts['transactionid']
596
+ };
597
+ var formParams = {};
598
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
599
+ var contentTypes = [];
600
+ var accepts = ['application/json'];
601
+ var returnType = _ApplicationPaymentAccountResponse["default"];
602
+ return this.apiClient.callApi('/graph/data/stripe/application/{applicationid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
603
+ }
604
+
605
+ /**
606
+ * Callback function to receive the result of the setSiteStripePaymentAccount operation.
607
+ * @callback module:api/StripeAccountsApi~setSiteStripePaymentAccountCallback
608
+ * @param {String} error Error message, if any.
609
+ * @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
610
+ * @param {String} response The complete HTTP response.
611
+ */
612
+
613
+ /**
614
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
615
+ * Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
616
+ * @param {Number} siteid
617
+ * @param {Number} accountid
618
+ * @param {Object} opts Optional parameters
619
+ * @param {String} [authorization] The authorization token of the logged in user
620
+ * @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
621
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
622
+ * @param {module:api/StripeAccountsApi~setSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
623
+ * data is of type: {@link module:model/ApplicationPaymentAccountResponse}
624
+ */
625
+ }, {
626
+ key: "setSiteStripePaymentAccount",
627
+ value: function setSiteStripePaymentAccount(siteid, accountid, opts, callback) {
628
+ opts = opts || {};
629
+ var postBody = null;
630
+ // verify the required parameter 'siteid' is set
631
+ if (siteid === undefined || siteid === null) {
632
+ throw new Error("Missing the required parameter 'siteid' when calling setSiteStripePaymentAccount");
633
+ }
634
+ // verify the required parameter 'accountid' is set
635
+ if (accountid === undefined || accountid === null) {
636
+ throw new Error("Missing the required parameter 'accountid' when calling setSiteStripePaymentAccount");
637
+ }
638
+ var pathParams = {
639
+ 'siteid': siteid,
640
+ 'accountid': accountid
641
+ };
642
+ var queryParams = {};
643
+ var headerParams = {
644
+ 'Authorization': opts['authorization'],
645
+ 'zeusportal-postas': opts['zeusportalPostas'],
646
+ 'transactionid': opts['transactionid']
647
+ };
648
+ var formParams = {};
649
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
650
+ var contentTypes = [];
651
+ var accepts = ['application/json'];
652
+ var returnType = _ApplicationPaymentAccountResponse["default"];
653
+ return this.apiClient.callApi('/graph/data/stripe/site/{siteid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
654
+ }
655
+
394
656
  /**
395
657
  * Callback function to receive the result of the updateAccountLink operation.
396
658
  * @callback module:api/StripeAccountsApi~updateAccountLinkCallback
@@ -445,7 +707,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
445
707
  * Callback function to receive the result of the updateCustomer operation.
446
708
  * @callback module:api/StripeAccountsApi~updateCustomerCallback
447
709
  * @param {String} error Error message, if any.
448
- * @param {module:model/CreateCustomerResponse} data The data returned by the service call.
710
+ * @param {module:model/CustomerResponse} data The data returned by the service call.
449
711
  * @param {String} response The complete HTTP response.
450
712
  */
451
713
 
@@ -459,7 +721,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
459
721
  * @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
460
722
  * @param {String} [transactionid] The id of the transaction this operation is being run in
461
723
  * @param {module:api/StripeAccountsApi~updateCustomerCallback} callback The callback function, accepting three arguments: error, data, response
462
- * data is of type: {@link module:model/CreateCustomerResponse}
724
+ * data is of type: {@link module:model/CustomerResponse}
463
725
  */
464
726
  }, {
465
727
  key: "updateCustomer",
@@ -487,9 +749,54 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
487
749
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
488
750
  var contentTypes = ['application/json'];
489
751
  var accepts = ['application/json'];
490
- var returnType = _CreateCustomerResponse["default"];
752
+ var returnType = _CustomerResponse["default"];
491
753
  return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
492
754
  }
755
+
756
+ /**
757
+ * Callback function to receive the result of the updateStripePaymentMethod operation.
758
+ * @callback module:api/StripeAccountsApi~updateStripePaymentMethodCallback
759
+ * @param {String} error Error message, if any.
760
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
761
+ * @param {String} response The complete HTTP response.
762
+ */
763
+
764
+ /**
765
+ * Adds payment methods for the customer stored in stripe
766
+ * Retrieves the payment methods for the customer stored in stripe
767
+ * @param {String} paymentMethodID The id of the payment method to update
768
+ * @param {Object} opts Optional parameters
769
+ * @param {String} [authorization] The authorization token of the logged in user
770
+ * @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
771
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
772
+ * @param {module:api/StripeAccountsApi~updateStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
773
+ * data is of type: {@link module:model/PaymentMethodResponse}
774
+ */
775
+ }, {
776
+ key: "updateStripePaymentMethod",
777
+ value: function updateStripePaymentMethod(paymentMethodID, opts, callback) {
778
+ opts = opts || {};
779
+ var postBody = null;
780
+ // verify the required parameter 'paymentMethodID' is set
781
+ if (paymentMethodID === undefined || paymentMethodID === null) {
782
+ throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");
783
+ }
784
+ var pathParams = {
785
+ 'paymentMethodID': paymentMethodID
786
+ };
787
+ var queryParams = {};
788
+ var headerParams = {
789
+ 'Authorization': opts['authorization'],
790
+ 'zeusportal-postas': opts['zeusportalPostas'],
791
+ 'transactionid': opts['transactionid']
792
+ };
793
+ var formParams = {};
794
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
795
+ var contentTypes = [];
796
+ var accepts = ['application/json'];
797
+ var returnType = _PaymentMethodResponse["default"];
798
+ return this.apiClient.callApi('/graph/data/stripe/paymentmethods/{paymentMethodID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
799
+ }
493
800
  }]);
494
801
  return StripeAccountsApi;
495
802
  }();
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.14
19
+ * The version of the OpenAPI document: 0.1.17
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * Tags service.
29
29
  * @module api/TagsApi
30
- * @version 0.1.14
30
+ * @version 0.1.17
31
31
  */
32
32
  var TagsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.14
19
+ * The version of the OpenAPI document: 0.1.17
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * Templates service.
29
29
  * @module api/TemplatesApi
30
- * @version 0.1.14
30
+ * @version 0.1.17
31
31
  */
32
32
  var TemplatesApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.14
20
+ * The version of the OpenAPI document: 0.1.17
21
21
  * Contact: info@gobodo.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * ThemeMappings service.
30
30
  * @module api/ThemeMappingsApi
31
- * @version 0.1.14
31
+ * @version 0.1.17
32
32
  */
33
33
  var ThemeMappingsApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.14
19
+ * The version of the OpenAPI document: 0.1.17
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * Transactions service.
29
29
  * @module api/TransactionsApi
30
- * @version 0.1.14
30
+ * @version 0.1.17
31
31
  */
32
32
  var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.14
19
+ * The version of the OpenAPI document: 0.1.17
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * Twitter service.
29
29
  * @module api/TwitterApi
30
- * @version 0.1.14
30
+ * @version 0.1.17
31
31
  */
32
32
  var TwitterApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  * gobodo-api
19
19
  * REST Interface for Gobodo API
20
20
  *
21
- * The version of the OpenAPI document: 0.1.14
21
+ * The version of the OpenAPI document: 0.1.17
22
22
  * Contact: info@gobodo.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
29
29
  /**
30
30
  * UserTags service.
31
31
  * @module api/UserTagsApi
32
- * @version 0.1.14
32
+ * @version 0.1.17
33
33
  */
34
34
  var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**