@gobodo/gobodo-api 0.1.18 → 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 -21
  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 +78 -29
  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 +2 -2
  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 +37 -37
  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 +17 -17
  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 +37 -37
  78. package/dist/model/DocumentPart.js +9 -9
  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 +9 -9
  83. package/dist/model/File.js +14 -14
  84. package/dist/model/FileAttachmentUploadObject.js +14 -14
  85. package/dist/model/Filter.js +2 -2
  86. package/dist/model/FilterManager.js +9 -9
  87. package/dist/model/Form.js +13 -13
  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 +10 -10
  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 +14 -14
  112. package/dist/model/ImageUploadObject.js +14 -14
  113. package/dist/model/InputPart.js +12 -12
  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 +9 -9
  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 +2 -2
  127. package/dist/model/PageSchema.js +13 -13
  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 +10 -10
  133. package/dist/model/PaymentMethodInput.js +2 -2
  134. package/dist/model/PaymentMethodResponse.js +2 -2
  135. package/dist/model/Post.js +9 -9
  136. package/dist/model/PrivateMessage.js +9 -9
  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 +9 -9
  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 +9 -9
  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 +9 -9
  160. package/dist/model/UserDataPayload.js +9 -9
  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 +9 -9
  165. package/dist/model/UserTag.js +2 -2
  166. package/dist/model/Userid.js +2 -2
  167. package/dist/model/Video.js +14 -14
  168. package/dist/model/VideoLiveUrl.js +2 -2
  169. package/dist/model/VideoSchema.js +14 -14
  170. package/dist/model/VideoUploadObject.js +14 -14
  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.18
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.18
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,7 @@ 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);
603
641
  }
604
642
 
605
643
  /**
@@ -614,6 +652,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
614
652
  * Adds payment methods for the customer stored in stripe
615
653
  * Retrieves the payment methods for the customer stored in stripe
616
654
  * @param {Number} customerID The id of the customer
655
+ * @param {String} body The id of the payment method
617
656
  * @param {Object} opts Optional parameters
618
657
  * @param {String} [authorization] The authorization token of the logged in user
619
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
@@ -623,13 +662,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
623
662
  */
624
663
  }, {
625
664
  key: "setDefaultCustomerStripePaymentMethod",
626
- value: function setDefaultCustomerStripePaymentMethod(customerID, opts, callback) {
665
+ value: function setDefaultCustomerStripePaymentMethod(customerID, body, opts, callback) {
627
666
  opts = opts || {};
628
- var postBody = null;
667
+ var postBody = body;
629
668
  // verify the required parameter 'customerID' is set
630
669
  if (customerID === undefined || customerID === null) {
631
670
  throw new Error("Missing the required parameter 'customerID' when calling setDefaultCustomerStripePaymentMethod");
632
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
+ }
633
676
  var pathParams = {
634
677
  'customerID': customerID
635
678
  };
@@ -641,10 +684,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
641
684
  };
642
685
  var formParams = {};
643
686
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
644
- var contentTypes = [];
687
+ var contentTypes = ['text/plain'];
645
688
  var accepts = ['application/json'];
646
689
  var returnType = _PaymentMethodResponse["default"];
647
- return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods/default', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
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);
648
691
  }
649
692
 
650
693
  /**
@@ -658,6 +701,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
658
701
  /**
659
702
  * Adds payment methods for the customer stored in stripe
660
703
  * Retrieves the payment methods for the customer stored in stripe
704
+ * @param {String} body The id of the payment method
661
705
  * @param {Object} opts Optional parameters
662
706
  * @param {String} [authorization] The authorization token of the logged in user
663
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
@@ -667,9 +711,13 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
667
711
  */
668
712
  }, {
669
713
  key: "setDefaultStripePaymentMethod",
670
- value: function setDefaultStripePaymentMethod(opts, callback) {
714
+ value: function setDefaultStripePaymentMethod(body, opts, callback) {
671
715
  opts = opts || {};
672
- var postBody = null;
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
+ }
673
721
  var pathParams = {};
674
722
  var queryParams = {};
675
723
  var headerParams = {
@@ -679,10 +727,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
679
727
  };
680
728
  var formParams = {};
681
729
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
682
- var contentTypes = [];
730
+ var contentTypes = ['text/plain'];
683
731
  var accepts = ['application/json'];
684
732
  var returnType = _PaymentMethodResponse["default"];
685
- return this.apiClient.callApi('/graph/data/stripe/paymentmethods/default', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
733
+ return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods/default', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
686
734
  }
687
735
 
688
736
  /**
@@ -733,7 +781,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
733
781
  var contentTypes = [];
734
782
  var accepts = ['application/json'];
735
783
  var returnType = _ApplicationPaymentAccountResponse["default"];
736
- 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);
737
785
  }
738
786
 
739
787
  /**
@@ -783,7 +831,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
783
831
  var contentTypes = ['application/json'];
784
832
  var accepts = ['application/json'];
785
833
  var returnType = _CreateAccountResponse["default"];
786
- 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);
787
835
  }
788
836
 
789
837
  /**
@@ -833,7 +881,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
833
881
  var contentTypes = ['application/json'];
834
882
  var accepts = ['application/json'];
835
883
  var returnType = _CustomerResponse["default"];
836
- 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);
837
885
  }
838
886
 
839
887
  /**
@@ -852,6 +900,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
852
900
  * @param {String} [authorization] The authorization token of the logged in user
853
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
854
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
855
904
  * @param {module:api/StripeAccountsApi~updateStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
856
905
  * data is of type: {@link module:model/PaymentMethodResponse}
857
906
  */
@@ -859,7 +908,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
859
908
  key: "updateStripePaymentMethod",
860
909
  value: function updateStripePaymentMethod(paymentMethodID, opts, callback) {
861
910
  opts = opts || {};
862
- var postBody = null;
911
+ var postBody = opts['paymentMethodInput'];
863
912
  // verify the required parameter 'paymentMethodID' is set
864
913
  if (paymentMethodID === undefined || paymentMethodID === null) {
865
914
  throw new Error("Missing the required parameter 'paymentMethodID' when calling updateStripePaymentMethod");
@@ -875,10 +924,10 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
875
924
  };
876
925
  var formParams = {};
877
926
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
878
- var contentTypes = [];
927
+ var contentTypes = ['application/json'];
879
928
  var accepts = ['application/json'];
880
929
  var returnType = _PaymentMethodResponse["default"];
881
- 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);
882
931
  }
883
932
  }]);
884
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
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.18
30
+ * @version 0.1.20
31
31
  */
32
32
  var APIClient = /*#__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.18
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.18
30
+ * @version 0.1.20
31
31
  */
32
32
  var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -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.18
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
  * The ApplicationPaymentAccountResponseFailureException model module.
34
34
  * @module model/ApplicationPaymentAccountResponseFailureException
35
- * @version 0.1.18
35
+ * @version 0.1.20
36
36
  */
37
37
  var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function () {
38
38
  /**