@gobodo/gobodo-api 0.1.13 → 0.1.16

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 (175) hide show
  1. package/README.md +20 -5
  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 +333 -23
  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 +70 -14
  58. package/dist/model/APIClient.js +2 -2
  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/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +166 -0
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
  64. package/dist/model/Article.js +18 -18
  65. package/dist/model/Authorization.js +2 -2
  66. package/dist/model/BankAccountInfo.js +163 -0
  67. package/dist/model/CardInfo.js +127 -0
  68. package/dist/model/Comment.js +10 -10
  69. package/dist/model/Coordinates.js +2 -2
  70. package/dist/model/CreateAccountResponse.js +2 -2
  71. package/dist/model/CreateCustomerResponse.js +2 -2
  72. package/dist/model/CreateStripeAccountInput.js +2 -2
  73. package/dist/model/CreateStripeCustomerInput.js +2 -2
  74. package/dist/model/CustomerResponse.js +116 -0
  75. package/dist/model/DataObject.js +2 -2
  76. package/dist/model/DataSheetImport.js +52 -52
  77. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  78. package/dist/model/DataSheetImportSummary.js +2 -2
  79. package/dist/model/Document.js +18 -18
  80. package/dist/model/DocumentPart.js +9 -9
  81. package/dist/model/DocumentPartType.js +2 -2
  82. package/dist/model/DocumentType.js +2 -2
  83. package/dist/model/FieldMapping.js +2 -2
  84. package/dist/model/Fields.js +9 -9
  85. package/dist/model/File.js +9 -9
  86. package/dist/model/FileAttachmentUploadObject.js +9 -9
  87. package/dist/model/Filter.js +2 -2
  88. package/dist/model/FilterManager.js +2 -2
  89. package/dist/model/Form.js +2 -2
  90. package/dist/model/FormSection.js +2 -2
  91. package/dist/model/FormSubmission.js +13 -13
  92. package/dist/model/Geocode.js +2 -2
  93. package/dist/model/GeocodePayload.js +2 -2
  94. package/dist/model/GeolocationInput.js +2 -2
  95. package/dist/model/Graph.js +2 -2
  96. package/dist/model/GraphAction.js +2 -2
  97. package/dist/model/GraphDatabaseService.js +2 -2
  98. package/dist/model/GraphGeocode.js +2 -2
  99. package/dist/model/GraphIteratorEntryPart.js +6 -6
  100. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  101. package/dist/model/GraphObject.js +2 -2
  102. package/dist/model/GraphObjectPayload.js +2 -2
  103. package/dist/model/GraphObjectSchema.js +11 -11
  104. package/dist/model/GraphObjectType.js +2 -2
  105. package/dist/model/GraphObjectTypeSchema.js +2 -2
  106. package/dist/model/GraphOwner.js +2 -2
  107. package/dist/model/GraphRelation.js +2 -2
  108. package/dist/model/GraphRelationObjectObject.js +2 -2
  109. package/dist/model/GraphRelationship.js +2 -2
  110. package/dist/model/GraphRelationshipPayload.js +2 -2
  111. package/dist/model/GraphRelationshipType.js +2 -2
  112. package/dist/model/GraphSchema.js +2 -2
  113. package/dist/model/GraphTraversalInput.js +2 -2
  114. package/dist/model/Image.js +10 -10
  115. package/dist/model/ImageUploadObject.js +10 -10
  116. package/dist/model/InputPart.js +2 -2
  117. package/dist/model/InputPartMediaType.js +2 -2
  118. package/dist/model/Link.js +2 -2
  119. package/dist/model/LiveStreamInfo.js +2 -2
  120. package/dist/model/MeetingEvent.js +10 -10
  121. package/dist/model/MeetingEventTimezone.js +2 -2
  122. package/dist/model/MeetingInfo.js +2 -2
  123. package/dist/model/Member.js +2 -2
  124. package/dist/model/MemberGroupCategory.js +2 -2
  125. package/dist/model/MemberList.js +2 -2
  126. package/dist/model/MessageGroup.js +2 -2
  127. package/dist/model/MultipartBody.js +2 -2
  128. package/dist/model/Objecttype.js +2 -2
  129. package/dist/model/Page.js +9 -9
  130. package/dist/model/PageSchema.js +2 -2
  131. package/dist/model/Pageable.js +9 -9
  132. package/dist/model/Path.js +2 -2
  133. package/dist/model/PaymentIntentInput.js +12 -2
  134. package/dist/model/PaymentIntentResponse.js +2 -2
  135. package/dist/model/PaymentMethod.js +47 -3
  136. package/dist/model/PaymentMethodInput.js +180 -0
  137. package/dist/model/PaymentMethodResponse.js +104 -0
  138. package/dist/model/Post.js +2 -2
  139. package/dist/model/PrivateMessage.js +2 -2
  140. package/dist/model/PrivateMessageConversation.js +2 -2
  141. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  142. package/dist/model/Profile.js +2 -2
  143. package/dist/model/Profiletype.js +2 -2
  144. package/dist/model/PropertyContainer.js +2 -2
  145. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  146. package/dist/model/RelationshipMapping.js +2 -2
  147. package/dist/model/ScreenSchema.js +2 -2
  148. package/dist/model/SimulcastInfo.js +2 -2
  149. package/dist/model/SkinField.js +9 -9
  150. package/dist/model/SocialGroup.js +10 -10
  151. package/dist/model/SocialGroupType.js +2 -2
  152. package/dist/model/Sort.js +2 -2
  153. package/dist/model/StatusUpdate.js +2 -2
  154. package/dist/model/StreetAddress.js +2 -2
  155. package/dist/model/StripeAccount.js +16 -2
  156. package/dist/model/StripeCustomerAccount.js +2 -2
  157. package/dist/model/Template.js +2 -2
  158. package/dist/model/TemplateSchema.js +2 -2
  159. package/dist/model/ThemeMapping.js +2 -2
  160. package/dist/model/ThemeMappingPayload.js +2 -2
  161. package/dist/model/Transaction.js +2 -2
  162. package/dist/model/User.js +2 -2
  163. package/dist/model/UserDataPayload.js +2 -2
  164. package/dist/model/UserDomain.js +2 -2
  165. package/dist/model/UserInvite.js +2 -2
  166. package/dist/model/UserInviteInput.js +2 -2
  167. package/dist/model/UserSchema.js +2 -2
  168. package/dist/model/UserTag.js +2 -2
  169. package/dist/model/Userid.js +2 -2
  170. package/dist/model/Video.js +9 -9
  171. package/dist/model/VideoLiveUrl.js +2 -2
  172. package/dist/model/VideoSchema.js +9 -9
  173. package/dist/model/VideoUploadObject.js +9 -9
  174. package/dist/model/ZeusPortalCategory.js +2 -2
  175. package/package.json +1 -1
@@ -5,13 +5,16 @@ 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"));
16
+ var _PaymentMethodInput = _interopRequireDefault(require("../model/PaymentMethodInput"));
17
+ var _PaymentMethodResponse = _interopRequireDefault(require("../model/PaymentMethodResponse"));
15
18
  var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
16
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
20
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -23,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
23
26
  * gobodo-api
24
27
  * REST Interface for Gobodo API
25
28
  *
26
- * The version of the OpenAPI document: 0.1.13
29
+ * The version of the OpenAPI document: 0.1.16
27
30
  * Contact: info@gobodo.io
28
31
  *
29
32
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +37,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
34
37
  /**
35
38
  * StripeAccounts service.
36
39
  * @module api/StripeAccountsApi
37
- * @version 0.1.13
40
+ * @version 0.1.16
38
41
  */
39
42
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
40
43
  /**
@@ -50,25 +53,64 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
50
53
  }
51
54
 
52
55
  /**
53
- * Callback function to receive the result of the createAndLinkStripeAccount operation.
54
- * @callback module:api/StripeAccountsApi~createAndLinkStripeAccountCallback
56
+ * Callback function to receive the result of the addStripePaymentMethod operation.
57
+ * @callback module:api/StripeAccountsApi~addStripePaymentMethodCallback
55
58
  * @param {String} error Error message, if any.
56
- * @param {module:model/CreateAccountResponse} data The data returned by the service call.
59
+ * @param {module:model/PaymentMethodResponse} data The data returned by the service call.
57
60
  * @param {String} response The complete HTTP response.
58
61
  */
59
62
 
60
63
  /**
61
- * Creates a Stripe account for the logged in user
62
- * Creates a Stripe Account
63
- * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
64
+ * Adds payment methods for the customer stored in stripe
65
+ * Retrieves the payment methods for the customer stored in stripe
64
66
  * @param {Object} opts Optional parameters
65
67
  * @param {String} [authorization] The authorization token of the logged in user
66
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
67
69
  * @param {String} [transactionid] The id of the transaction this operation is being run in
68
- * @param {module:api/StripeAccountsApi~createAndLinkStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
69
- * data is of type: {@link module:model/CreateAccountResponse}
70
+ * @param {module:model/PaymentMethodInput} [paymentMethodInput]
71
+ * @param {module:api/StripeAccountsApi~addStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
72
+ * data is of type: {@link module:model/PaymentMethodResponse}
70
73
  */
71
74
  _createClass(StripeAccountsApi, [{
75
+ key: "addStripePaymentMethod",
76
+ value: function addStripePaymentMethod(opts, callback) {
77
+ opts = opts || {};
78
+ var postBody = opts['paymentMethodInput'];
79
+ var pathParams = {};
80
+ var queryParams = {};
81
+ var headerParams = {
82
+ 'Authorization': opts['authorization'],
83
+ 'zeusportal-postas': opts['zeusportalPostas'],
84
+ 'transactionid': opts['transactionid']
85
+ };
86
+ var formParams = {};
87
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
88
+ var contentTypes = ['application/json'];
89
+ var accepts = ['application/json'];
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);
92
+ }
93
+
94
+ /**
95
+ * Callback function to receive the result of the createAndLinkStripeAccount operation.
96
+ * @callback module:api/StripeAccountsApi~createAndLinkStripeAccountCallback
97
+ * @param {String} error Error message, if any.
98
+ * @param {module:model/CreateAccountResponse} data The data returned by the service call.
99
+ * @param {String} response The complete HTTP response.
100
+ */
101
+
102
+ /**
103
+ * Creates a Stripe account for the logged in user
104
+ * Creates a Stripe Account
105
+ * @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
106
+ * @param {Object} opts Optional parameters
107
+ * @param {String} [authorization] The authorization token of the logged in user
108
+ * @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
109
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
110
+ * @param {module:api/StripeAccountsApi~createAndLinkStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
111
+ * data is of type: {@link module:model/CreateAccountResponse}
112
+ */
113
+ }, {
72
114
  key: "createAndLinkStripeAccount",
73
115
  value: function createAndLinkStripeAccount(createStripeAccountInput, opts, callback) {
74
116
  opts = opts || {};
@@ -96,7 +138,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
96
138
  * Callback function to receive the result of the createAndLinkStripeCustomerAccount operation.
97
139
  * @callback module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback
98
140
  * @param {String} error Error message, if any.
99
- * @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.
100
142
  * @param {String} response The complete HTTP response.
101
143
  */
102
144
 
@@ -109,7 +151,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
109
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
110
152
  * @param {String} [transactionid] The id of the transaction this operation is being run in
111
153
  * @param {module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
112
- * data is of type: {@link module:model/CreateCustomerResponse}
154
+ * data is of type: {@link module:model/CustomerResponse}
113
155
  */
114
156
  }, {
115
157
  key: "createAndLinkStripeCustomerAccount",
@@ -131,7 +173,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
131
173
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
132
174
  var contentTypes = ['application/json'];
133
175
  var accepts = ['application/json'];
134
- var returnType = _CreateCustomerResponse["default"];
176
+ var returnType = _CustomerResponse["default"];
135
177
  return this.apiClient.callApi('/graph/data/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
136
178
  }
137
179
 
@@ -260,6 +302,96 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
260
302
  return this.apiClient.callApi('/graph/data/stripe/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
261
303
  }
262
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
+
263
395
  /**
264
396
  * Callback function to receive the result of the getStripeApiKey operation.
265
397
  * @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
@@ -299,8 +431,46 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
299
431
  }
300
432
 
301
433
  /**
302
- * Callback function to receive the result of the getStripePaymentMethods operation.
303
- * @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
304
474
  * @param {String} error Error message, if any.
305
475
  * @param {Array.<module:model/PaymentMethod>} data The data returned by the service call.
306
476
  * @param {String} response The complete HTTP response.
@@ -314,17 +484,17 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
314
484
  * @param {String} [authorization] The authorization token of the logged in user
315
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
316
486
  * @param {String} [transactionid] The id of the transaction this operation is being run in
317
- * @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
318
488
  * data is of type: {@link Array.<module:model/PaymentMethod>}
319
489
  */
320
490
  }, {
321
- key: "getStripePaymentMethods",
322
- value: function getStripePaymentMethods(customerID, opts, callback) {
491
+ key: "getStripeCustomerPaymentMethods",
492
+ value: function getStripeCustomerPaymentMethods(customerID, opts, callback) {
323
493
  opts = opts || {};
324
494
  var postBody = null;
325
495
  // verify the required parameter 'customerID' is set
326
496
  if (customerID === undefined || customerID === null) {
327
- throw new Error("Missing the required parameter 'customerID' when calling getStripePaymentMethods");
497
+ throw new Error("Missing the required parameter 'customerID' when calling getStripeCustomerPaymentMethods");
328
498
  }
329
499
  var pathParams = {
330
500
  'customerID': customerID
@@ -343,6 +513,146 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
343
513
  return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
344
514
  }
345
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
+
346
656
  /**
347
657
  * Callback function to receive the result of the updateAccountLink operation.
348
658
  * @callback module:api/StripeAccountsApi~updateAccountLinkCallback
@@ -397,7 +707,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
397
707
  * Callback function to receive the result of the updateCustomer operation.
398
708
  * @callback module:api/StripeAccountsApi~updateCustomerCallback
399
709
  * @param {String} error Error message, if any.
400
- * @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.
401
711
  * @param {String} response The complete HTTP response.
402
712
  */
403
713
 
@@ -411,7 +721,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
411
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
412
722
  * @param {String} [transactionid] The id of the transaction this operation is being run in
413
723
  * @param {module:api/StripeAccountsApi~updateCustomerCallback} callback The callback function, accepting three arguments: error, data, response
414
- * data is of type: {@link module:model/CreateCustomerResponse}
724
+ * data is of type: {@link module:model/CustomerResponse}
415
725
  */
416
726
  }, {
417
727
  key: "updateCustomer",
@@ -439,7 +749,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
439
749
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
440
750
  var contentTypes = ['application/json'];
441
751
  var accepts = ['application/json'];
442
- var returnType = _CreateCustomerResponse["default"];
752
+ var returnType = _CustomerResponse["default"];
443
753
  return this.apiClient.callApi('/graph/data/stripe/customer/{customerID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
444
754
  }
445
755
  }]);
@@ -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.13
19
+ * The version of the OpenAPI document: 0.1.16
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.13
30
+ * @version 0.1.16
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.13
19
+ * The version of the OpenAPI document: 0.1.16
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.13
30
+ * @version 0.1.16
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.13
20
+ * The version of the OpenAPI document: 0.1.16
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.13
31
+ * @version 0.1.16
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.13
19
+ * The version of the OpenAPI document: 0.1.16
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.13
30
+ * @version 0.1.16
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.13
19
+ * The version of the OpenAPI document: 0.1.16
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.13
30
+ * @version 0.1.16
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.13
21
+ * The version of the OpenAPI document: 0.1.16
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.13
32
+ * @version 0.1.16
33
33
  */
34
34
  var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**