@gobodo/gobodo-api 0.1.17 → 0.1.20

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 (172) hide show
  1. package/README.md +22 -19
  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 +153 -21
  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/model/APIClient.js +9 -9
  58. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  59. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  60. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
  61. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
  63. package/dist/model/Article.js +27 -27
  64. package/dist/model/Authorization.js +2 -2
  65. package/dist/model/BankAccountInfo.js +2 -2
  66. package/dist/model/CardInfo.js +2 -2
  67. package/dist/model/Comment.js +10 -10
  68. package/dist/model/Coordinates.js +2 -2
  69. package/dist/model/CreateAccountResponse.js +18 -2
  70. package/dist/model/CreateStripeAccountInput.js +2 -2
  71. package/dist/model/CreateStripeCustomerInput.js +16 -2
  72. package/dist/model/CustomerResponse.js +2 -2
  73. package/dist/model/DataObject.js +2 -2
  74. package/dist/model/DataSheetImport.js +2 -2
  75. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  76. package/dist/model/DataSheetImportSummary.js +2 -2
  77. package/dist/model/Document.js +27 -27
  78. package/dist/model/DocumentPart.js +2 -2
  79. package/dist/model/DocumentPartType.js +10 -10
  80. package/dist/model/DocumentType.js +10 -10
  81. package/dist/model/FieldMapping.js +2 -2
  82. package/dist/model/Fields.js +2 -2
  83. package/dist/model/File.js +2 -2
  84. package/dist/model/FileAttachmentUploadObject.js +2 -2
  85. package/dist/model/Filter.js +2 -2
  86. package/dist/model/FilterManager.js +9 -9
  87. package/dist/model/Form.js +2 -2
  88. package/dist/model/FormSection.js +2 -2
  89. package/dist/model/FormSubmission.js +2 -2
  90. package/dist/model/Geocode.js +2 -2
  91. package/dist/model/GeocodePayload.js +2 -2
  92. package/dist/model/GeolocationInput.js +2 -2
  93. package/dist/model/Graph.js +2 -2
  94. package/dist/model/GraphAction.js +2 -2
  95. package/dist/model/GraphDatabaseService.js +2 -2
  96. package/dist/model/GraphGeocode.js +2 -2
  97. package/dist/model/GraphIteratorEntryPart.js +2 -2
  98. package/dist/model/GraphObject.js +2 -2
  99. package/dist/model/GraphObjectPayload.js +2 -2
  100. package/dist/model/GraphObjectSchema.js +11 -11
  101. package/dist/model/GraphObjectType.js +2 -2
  102. package/dist/model/GraphObjectTypeSchema.js +2 -2
  103. package/dist/model/GraphOwner.js +2 -2
  104. package/dist/model/GraphRelation.js +2 -2
  105. package/dist/model/GraphRelationObjectObject.js +2 -2
  106. package/dist/model/GraphRelationship.js +2 -2
  107. package/dist/model/GraphRelationshipPayload.js +2 -2
  108. package/dist/model/GraphRelationshipType.js +2 -2
  109. package/dist/model/GraphSchema.js +2 -2
  110. package/dist/model/GraphTraversalInput.js +2 -2
  111. package/dist/model/Image.js +2 -2
  112. package/dist/model/ImageUploadObject.js +2 -2
  113. package/dist/model/InputPart.js +2 -2
  114. package/dist/model/InputPartMediaType.js +2 -2
  115. package/dist/model/Link.js +2 -2
  116. package/dist/model/LiveStreamInfo.js +2 -2
  117. package/dist/model/MeetingEvent.js +34 -34
  118. package/dist/model/MeetingEventTimezone.js +2 -2
  119. package/dist/model/MeetingInfo.js +14 -14
  120. package/dist/model/Member.js +2 -2
  121. package/dist/model/MemberGroupCategory.js +2 -2
  122. package/dist/model/MemberList.js +2 -2
  123. package/dist/model/MessageGroup.js +2 -2
  124. package/dist/model/MultipartBody.js +2 -2
  125. package/dist/model/Objecttype.js +2 -2
  126. package/dist/model/Page.js +9 -9
  127. package/dist/model/PageSchema.js +2 -2
  128. package/dist/model/Pageable.js +2 -2
  129. package/dist/model/Path.js +2 -2
  130. package/dist/model/PaymentIntentInput.js +2 -2
  131. package/dist/model/PaymentIntentResponse.js +2 -2
  132. package/dist/model/PaymentMethod.js +2 -2
  133. package/dist/model/PaymentMethodInput.js +2 -2
  134. package/dist/model/PaymentMethodResponse.js +2 -2
  135. package/dist/model/Post.js +2 -2
  136. package/dist/model/PrivateMessage.js +2 -2
  137. package/dist/model/PrivateMessageConversation.js +2 -2
  138. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  139. package/dist/model/Profile.js +2 -2
  140. package/dist/model/Profiletype.js +2 -2
  141. package/dist/model/PropertyContainer.js +2 -2
  142. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  143. package/dist/model/RelationshipMapping.js +2 -2
  144. package/dist/model/ScreenSchema.js +2 -2
  145. package/dist/model/SimulcastInfo.js +2 -2
  146. package/dist/model/SkinField.js +2 -2
  147. package/dist/model/SocialGroup.js +2 -2
  148. package/dist/model/SocialGroupType.js +9 -9
  149. package/dist/model/Sort.js +2 -2
  150. package/dist/model/StatusUpdate.js +2 -2
  151. package/dist/model/StreetAddress.js +2 -2
  152. package/dist/model/StripeAccount.js +3 -2
  153. package/dist/model/StripeCustomerAccount.js +2 -2
  154. package/dist/model/Template.js +2 -2
  155. package/dist/model/TemplateSchema.js +2 -2
  156. package/dist/model/ThemeMapping.js +2 -2
  157. package/dist/model/ThemeMappingPayload.js +2 -2
  158. package/dist/model/Transaction.js +2 -2
  159. package/dist/model/User.js +2 -2
  160. package/dist/model/UserDataPayload.js +2 -2
  161. package/dist/model/UserDomain.js +2 -2
  162. package/dist/model/UserInvite.js +2 -2
  163. package/dist/model/UserInviteInput.js +2 -2
  164. package/dist/model/UserSchema.js +2 -2
  165. package/dist/model/UserTag.js +2 -2
  166. package/dist/model/Userid.js +2 -2
  167. package/dist/model/Video.js +2 -2
  168. package/dist/model/VideoLiveUrl.js +2 -2
  169. package/dist/model/VideoSchema.js +10 -10
  170. package/dist/model/VideoUploadObject.js +2 -2
  171. package/dist/model/ZeusPortalCategory.js +2 -2
  172. package/package.json +1 -1
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  * gobodo-api
27
27
  * REST Interface for Gobodo API
28
28
  *
29
- * The version of the OpenAPI document: 0.1.17
29
+ * The version of the OpenAPI document: 0.1.20
30
30
  * Contact: info@gobodo.io
31
31
  *
32
32
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +37,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
37
37
  /**
38
38
  * StripeAccounts service.
39
39
  * @module api/StripeAccountsApi
40
- * @version 0.1.17
40
+ * @version 0.1.20
41
41
  */
42
42
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
43
43
  /**
@@ -88,7 +88,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
88
88
  var contentTypes = ['application/json'];
89
89
  var accepts = ['application/json'];
90
90
  var returnType = _PaymentMethodResponse["default"];
91
- return this.apiClient.callApi('/graph/data/stripe/paymentmethods', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
91
+ return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
92
92
  }
93
93
 
94
94
  /**
@@ -131,7 +131,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
131
131
  var contentTypes = ['application/json'];
132
132
  var accepts = ['application/json'];
133
133
  var returnType = _CreateAccountResponse["default"];
134
- return this.apiClient.callApi('/graph/data/stripe/account', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
134
+ return this.apiClient.callApi('/graph/data/payments/stripe/account', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
135
135
  }
136
136
 
137
137
  /**
@@ -174,7 +174,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
174
174
  var contentTypes = ['application/json'];
175
175
  var accepts = ['application/json'];
176
176
  var returnType = _CustomerResponse["default"];
177
- return this.apiClient.callApi('/graph/data/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
177
+ return this.apiClient.callApi('/graph/data/payments/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
178
178
  }
179
179
 
180
180
  /**
@@ -217,7 +217,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
217
217
  var contentTypes = ['application/json'];
218
218
  var accepts = ['application/json'];
219
219
  var returnType = _PaymentIntentResponse["default"];
220
- return this.apiClient.callApi('/graph/data/stripe/payment', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
220
+ return this.apiClient.callApi('/graph/data/payments/stripe/payment', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
221
221
  }
222
222
 
223
223
  /**
@@ -253,7 +253,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
253
253
  var contentTypes = [];
254
254
  var accepts = ['application/json'];
255
255
  var returnType = null;
256
- return this.apiClient.callApi('/graph/data/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
256
+ return this.apiClient.callApi('/graph/data/payments/stripe', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
257
257
  }
258
258
 
259
259
  /**
@@ -299,7 +299,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
299
299
  var returnType = {
300
300
  'String': _PurgeDataDefaultResponseValue["default"]
301
301
  };
302
- return this.apiClient.callApi('/graph/data/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
302
+ return this.apiClient.callApi('/graph/data/payments/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
303
303
  }
304
304
 
305
305
  /**
@@ -344,7 +344,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
344
344
  var contentTypes = [];
345
345
  var accepts = ['application/json'];
346
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);
347
+ return this.apiClient.callApi('/graph/data/payments/stripe/application/{applicationid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
348
348
  }
349
349
 
350
350
  /**
@@ -389,7 +389,45 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
389
389
  var contentTypes = [];
390
390
  var accepts = ['application/json'];
391
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);
392
+ return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/paymentaccount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
393
+ }
394
+
395
+ /**
396
+ * Callback function to receive the result of the getStripeAccount operation.
397
+ * @callback module:api/StripeAccountsApi~getStripeAccountCallback
398
+ * @param {String} error Error message, if any.
399
+ * @param {module:model/CreateAccountResponse} data The data returned by the service call.
400
+ * @param {String} response The complete HTTP response.
401
+ */
402
+
403
+ /**
404
+ * Retrieves the Stripe Account For the Logged In User
405
+ * Retrieves the Stripe Customer Account
406
+ * @param {Object} opts Optional parameters
407
+ * @param {String} [authorization] The authorization token of the logged in user
408
+ * @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
409
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
410
+ * @param {module:api/StripeAccountsApi~getStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
411
+ * data is of type: {@link module:model/CreateAccountResponse}
412
+ */
413
+ }, {
414
+ key: "getStripeAccount",
415
+ value: function getStripeAccount(opts, callback) {
416
+ opts = opts || {};
417
+ var postBody = null;
418
+ var pathParams = {};
419
+ var queryParams = {};
420
+ var headerParams = {
421
+ 'Authorization': opts['authorization'],
422
+ 'zeusportal-postas': opts['zeusportalPostas'],
423
+ 'transactionid': opts['transactionid']
424
+ };
425
+ var formParams = {};
426
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
427
+ var contentTypes = [];
428
+ var accepts = ['application/json'];
429
+ var returnType = _CreateAccountResponse["default"];
430
+ return this.apiClient.callApi('/graph/data/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
393
431
  }
394
432
 
395
433
  /**
@@ -427,7 +465,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
427
465
  var contentTypes = [];
428
466
  var accepts = ['text/plain'];
429
467
  var returnType = 'String';
430
- return this.apiClient.callApi('/graph/data/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
468
+ return this.apiClient.callApi('/graph/data/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
431
469
  }
432
470
 
433
471
  /**
@@ -465,7 +503,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
465
503
  var contentTypes = [];
466
504
  var accepts = ['application/json'];
467
505
  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);
506
+ return this.apiClient.callApi('/graph/data/payments/stripe/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
469
507
  }
470
508
 
471
509
  /**
@@ -510,7 +548,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
510
548
  var contentTypes = [];
511
549
  var accepts = ['application/json'];
512
550
  var returnType = [_PaymentMethod["default"]];
513
- return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
551
+ return this.apiClient.callApi('/graph/data/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
514
552
  }
515
553
 
516
554
  /**
@@ -548,7 +586,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
548
586
  var contentTypes = [];
549
587
  var accepts = ['application/json'];
550
588
  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);
589
+ return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
552
590
  }
553
591
 
554
592
  /**
@@ -599,7 +637,100 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
599
637
  var contentTypes = [];
600
638
  var accepts = ['application/json'];
601
639
  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);
640
+ return this.apiClient.callApi('/graph/data/payments/stripe/application/{applicationid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
641
+ }
642
+
643
+ /**
644
+ * Callback function to receive the result of the setDefaultCustomerStripePaymentMethod operation.
645
+ * @callback module:api/StripeAccountsApi~setDefaultCustomerStripePaymentMethodCallback
646
+ * @param {String} error Error message, if any.
647
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
648
+ * @param {String} response The complete HTTP response.
649
+ */
650
+
651
+ /**
652
+ * Adds payment methods for the customer stored in stripe
653
+ * Retrieves the payment methods for the customer stored in stripe
654
+ * @param {Number} customerID The id of the customer
655
+ * @param {String} body The id of the payment method
656
+ * @param {Object} opts Optional parameters
657
+ * @param {String} [authorization] The authorization token of the logged in user
658
+ * @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
659
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
660
+ * @param {module:api/StripeAccountsApi~setDefaultCustomerStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
661
+ * data is of type: {@link module:model/PaymentMethodResponse}
662
+ */
663
+ }, {
664
+ key: "setDefaultCustomerStripePaymentMethod",
665
+ value: function setDefaultCustomerStripePaymentMethod(customerID, body, opts, callback) {
666
+ opts = opts || {};
667
+ var postBody = body;
668
+ // verify the required parameter 'customerID' is set
669
+ if (customerID === undefined || customerID === null) {
670
+ throw new Error("Missing the required parameter 'customerID' when calling setDefaultCustomerStripePaymentMethod");
671
+ }
672
+ // verify the required parameter 'body' is set
673
+ if (body === undefined || body === null) {
674
+ throw new Error("Missing the required parameter 'body' when calling setDefaultCustomerStripePaymentMethod");
675
+ }
676
+ var pathParams = {
677
+ 'customerID': customerID
678
+ };
679
+ var queryParams = {};
680
+ var headerParams = {
681
+ 'Authorization': opts['authorization'],
682
+ 'zeusportal-postas': opts['zeusportalPostas'],
683
+ 'transactionid': opts['transactionid']
684
+ };
685
+ var formParams = {};
686
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
687
+ var contentTypes = ['text/plain'];
688
+ var accepts = ['application/json'];
689
+ var returnType = _PaymentMethodResponse["default"];
690
+ return this.apiClient.callApi('/graph/data/payments/stripe/customer/{customerID}/paymentmethods/default', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
691
+ }
692
+
693
+ /**
694
+ * Callback function to receive the result of the setDefaultStripePaymentMethod operation.
695
+ * @callback module:api/StripeAccountsApi~setDefaultStripePaymentMethodCallback
696
+ * @param {String} error Error message, if any.
697
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
698
+ * @param {String} response The complete HTTP response.
699
+ */
700
+
701
+ /**
702
+ * Adds payment methods for the customer stored in stripe
703
+ * Retrieves the payment methods for the customer stored in stripe
704
+ * @param {String} body The id of the payment method
705
+ * @param {Object} opts Optional parameters
706
+ * @param {String} [authorization] The authorization token of the logged in user
707
+ * @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
708
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
709
+ * @param {module:api/StripeAccountsApi~setDefaultStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
710
+ * data is of type: {@link module:model/PaymentMethodResponse}
711
+ */
712
+ }, {
713
+ key: "setDefaultStripePaymentMethod",
714
+ value: function setDefaultStripePaymentMethod(body, opts, callback) {
715
+ opts = opts || {};
716
+ var postBody = body;
717
+ // verify the required parameter 'body' is set
718
+ if (body === undefined || body === null) {
719
+ throw new Error("Missing the required parameter 'body' when calling setDefaultStripePaymentMethod");
720
+ }
721
+ var pathParams = {};
722
+ var queryParams = {};
723
+ var headerParams = {
724
+ 'Authorization': opts['authorization'],
725
+ 'zeusportal-postas': opts['zeusportalPostas'],
726
+ 'transactionid': opts['transactionid']
727
+ };
728
+ var formParams = {};
729
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
730
+ var contentTypes = ['text/plain'];
731
+ var accepts = ['application/json'];
732
+ var returnType = _PaymentMethodResponse["default"];
733
+ return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods/default', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
603
734
  }
604
735
 
605
736
  /**
@@ -650,7 +781,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
650
781
  var contentTypes = [];
651
782
  var accepts = ['application/json'];
652
783
  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);
784
+ return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
654
785
  }
655
786
 
656
787
  /**
@@ -700,7 +831,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
700
831
  var contentTypes = ['application/json'];
701
832
  var accepts = ['application/json'];
702
833
  var returnType = _CreateAccountResponse["default"];
703
- return this.apiClient.callApi('/graph/data/stripe/account/{accountID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
834
+ return this.apiClient.callApi('/graph/data/payments/stripe/account/{accountID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
704
835
  }
705
836
 
706
837
  /**
@@ -750,7 +881,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
750
881
  var contentTypes = ['application/json'];
751
882
  var accepts = ['application/json'];
752
883
  var returnType = _CustomerResponse["default"];
753
- return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
884
+ return this.apiClient.callApi('/graph/data/payments/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
754
885
  }
755
886
 
756
887
  /**
@@ -769,6 +900,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
769
900
  * @param {String} [authorization] The authorization token of the logged in user
770
901
  * @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
902
  * @param {String} [transactionid] The id of the transaction this operation is being run in
903
+ * @param {module:model/PaymentMethodInput} [paymentMethodInput] The payment method data
772
904
  * @param {module:api/StripeAccountsApi~updateStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
773
905
  * data is of type: {@link module:model/PaymentMethodResponse}
774
906
  */
@@ -776,7 +908,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
776
908
  key: "updateStripePaymentMethod",
777
909
  value: function updateStripePaymentMethod(paymentMethodID, opts, callback) {
778
910
  opts = opts || {};
779
- var postBody = null;
911
+ var postBody = opts['paymentMethodInput'];
780
912
  // verify the required parameter 'paymentMethodID' is set
781
913
  if (paymentMethodID === undefined || paymentMethodID === null) {
782
914
  throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");
@@ -792,10 +924,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
792
924
  };
793
925
  var formParams = {};
794
926
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
795
- var contentTypes = [];
927
+ var contentTypes = ['application/json'];
796
928
  var accepts = ['application/json'];
797
929
  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);
930
+ return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods/{paymentMethodID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
799
931
  }
800
932
  }]);
801
933
  return StripeAccountsApi;
@@ -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.17
19
+ * The version of the OpenAPI document: 0.1.20
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.17
30
+ * @version 0.1.20
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.17
19
+ * The version of the OpenAPI document: 0.1.20
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.17
30
+ * @version 0.1.20
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.17
20
+ * The version of the OpenAPI document: 0.1.20
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.17
31
+ * @version 0.1.20
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.17
19
+ * The version of the OpenAPI document: 0.1.20
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.17
30
+ * @version 0.1.20
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.17
19
+ * The version of the OpenAPI document: 0.1.20
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.17
30
+ * @version 0.1.20
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.17
21
+ * The version of the OpenAPI document: 0.1.20
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.17
32
+ * @version 0.1.20
33
33
  */
34
34
  var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
21
21
  * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.17
24
+ * The version of the OpenAPI document: 0.1.20
25
25
  * Contact: info@gobodo.io
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
32
32
  /**
33
33
  * Users service.
34
34
  * @module api/UsersApi
35
- * @version 0.1.17
35
+ * @version 0.1.20
36
36
  */
37
37
  var UsersApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.17
18
+ * The version of the OpenAPI document: 0.1.20
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * Utils service.
28
28
  * @module api/UtilsApi
29
- * @version 0.1.17
29
+ * @version 0.1.20
30
30
  */
31
31
  var UtilsApi = exports["default"] = /*#__PURE__*/function () {
32
32
  /**
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
23
23
  * gobodo-api
24
24
  * REST Interface for Gobodo API
25
25
  *
26
- * The version of the OpenAPI document: 0.1.17
26
+ * The version of the OpenAPI document: 0.1.20
27
27
  * Contact: info@gobodo.io
28
28
  *
29
29
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
34
34
  /**
35
35
  * Videos service.
36
36
  * @module api/VideosApi
37
- * @version 0.1.17
37
+ * @version 0.1.20
38
38
  */
39
39
  var VideosApi = exports["default"] = /*#__PURE__*/function () {
40
40
  /**
@@ -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.17
19
+ * The version of the OpenAPI document: 0.1.20
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
  * The APIClient model module.
29
29
  * @module model/APIClient
30
- * @version 0.1.17
30
+ * @version 0.1.20
31
31
  */
32
32
  var APIClient = /*#__PURE__*/function () {
33
33
  /**
@@ -75,12 +75,12 @@ var APIClient = /*#__PURE__*/function () {
75
75
  if (data.hasOwnProperty('secretKey')) {
76
76
  obj['secretKey'] = _ApiClient["default"].convertToType(data['secretKey'], 'String');
77
77
  }
78
- if (data.hasOwnProperty('developers')) {
79
- obj['developers'] = _ApiClient["default"].convertToType(data['developers'], [_User["default"]]);
80
- }
81
78
  if (data.hasOwnProperty('users')) {
82
79
  obj['users'] = _ApiClient["default"].convertToType(data['users'], [_User["default"]]);
83
80
  }
81
+ if (data.hasOwnProperty('developers')) {
82
+ obj['developers'] = _ApiClient["default"].convertToType(data['developers'], [_User["default"]]);
83
+ }
84
84
  if (data.hasOwnProperty('data')) {
85
85
  obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
86
86
  }
@@ -151,14 +151,14 @@ APIClient.prototype['apiKey'] = undefined;
151
151
  APIClient.prototype['secretKey'] = undefined;
152
152
 
153
153
  /**
154
- * @member {Array.<module:model/User>} developers
154
+ * @member {Array.<module:model/User>} users
155
155
  */
156
- APIClient.prototype['developers'] = undefined;
156
+ APIClient.prototype['users'] = undefined;
157
157
 
158
158
  /**
159
- * @member {Array.<module:model/User>} users
159
+ * @member {Array.<module:model/User>} developers
160
160
  */
161
- APIClient.prototype['users'] = undefined;
161
+ APIClient.prototype['developers'] = undefined;
162
162
 
163
163
  /**
164
164
  * @member {Object} data
@@ -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.17
19
+ * The version of the OpenAPI document: 0.1.20
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
  * The ApplicationPaymentAccountResponse model module.
29
29
  * @module model/ApplicationPaymentAccountResponse
30
- * @version 0.1.17
30
+ * @version 0.1.20
31
31
  */
32
32
  var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
33
33
  /**