@gobodo/gobodo-api 0.1.20 → 0.1.21

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 +5 -2
  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 +47 -2
  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 +14 -0
  58. package/dist/model/APIClient.js +9 -9
  59. package/dist/model/AccountSessionInput.js +128 -0
  60. package/dist/model/AccountSessionResponse.js +113 -0
  61. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
  65. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
  66. package/dist/model/Article.js +9 -9
  67. package/dist/model/Authorization.js +2 -2
  68. package/dist/model/BankAccountInfo.js +2 -2
  69. package/dist/model/CardInfo.js +2 -2
  70. package/dist/model/Comment.js +9 -9
  71. package/dist/model/Coordinates.js +2 -2
  72. package/dist/model/CreateAccountResponse.js +2 -2
  73. package/dist/model/CreateStripeAccountInput.js +2 -2
  74. package/dist/model/CreateStripeCustomerInput.js +2 -2
  75. package/dist/model/CustomerResponse.js +2 -2
  76. package/dist/model/DataObject.js +2 -2
  77. package/dist/model/DataSheetImport.js +2 -2
  78. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  79. package/dist/model/DataSheetImportSummary.js +2 -2
  80. package/dist/model/Document.js +9 -9
  81. package/dist/model/DocumentPart.js +9 -9
  82. package/dist/model/DocumentPartType.js +9 -9
  83. package/dist/model/DocumentType.js +2 -2
  84. package/dist/model/FieldMapping.js +2 -2
  85. package/dist/model/Fields.js +10 -10
  86. package/dist/model/File.js +14 -14
  87. package/dist/model/FileAttachmentUploadObject.js +14 -14
  88. package/dist/model/Filter.js +2 -2
  89. package/dist/model/FilterManager.js +9 -9
  90. package/dist/model/Form.js +13 -13
  91. package/dist/model/FormSection.js +2 -2
  92. package/dist/model/FormSubmission.js +2 -2
  93. package/dist/model/Geocode.js +2 -2
  94. package/dist/model/GeocodePayload.js +2 -2
  95. package/dist/model/GeolocationInput.js +2 -2
  96. package/dist/model/Graph.js +2 -2
  97. package/dist/model/GraphAction.js +2 -2
  98. package/dist/model/GraphDatabaseService.js +2 -2
  99. package/dist/model/GraphGeocode.js +2 -2
  100. package/dist/model/GraphIteratorEntryPart.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 +2 -2
  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 +30 -30
  113. package/dist/model/GraphTraversalInput.js +2 -2
  114. package/dist/model/Image.js +29 -29
  115. package/dist/model/ImageUploadObject.js +29 -29
  116. package/dist/model/InputPart.js +12 -12
  117. package/dist/model/InputPartMediaType.js +2 -2
  118. package/dist/model/Link.js +24 -24
  119. package/dist/model/LiveStreamInfo.js +2 -2
  120. package/dist/model/MeetingEvent.js +35 -35
  121. package/dist/model/MeetingEventTimezone.js +2 -2
  122. package/dist/model/MeetingInfo.js +14 -14
  123. package/dist/model/Member.js +25 -25
  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 +2 -2
  130. package/dist/model/PageSchema.js +21 -21
  131. package/dist/model/Pageable.js +2 -2
  132. package/dist/model/Path.js +2 -2
  133. package/dist/model/PaymentIntentInput.js +2 -2
  134. package/dist/model/PaymentIntentResponse.js +2 -2
  135. package/dist/model/PaymentMethod.js +2 -2
  136. package/dist/model/PaymentMethodInput.js +2 -2
  137. package/dist/model/PaymentMethodResponse.js +2 -2
  138. package/dist/model/Post.js +2 -2
  139. package/dist/model/PrivateMessage.js +9 -9
  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 +10 -10
  150. package/dist/model/SocialGroup.js +2 -2
  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 +2 -2
  156. package/dist/model/StripeCustomerAccount.js +2 -2
  157. package/dist/model/Template.js +11 -11
  158. package/dist/model/TemplateSchema.js +11 -11
  159. package/dist/model/ThemeMapping.js +10 -10
  160. package/dist/model/ThemeMappingPayload.js +9 -9
  161. package/dist/model/Transaction.js +2 -2
  162. package/dist/model/User.js +25 -25
  163. package/dist/model/UserDataPayload.js +25 -25
  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 +25 -25
  168. package/dist/model/UserTag.js +2 -2
  169. package/dist/model/Userid.js +2 -2
  170. package/dist/model/Video.js +26 -26
  171. package/dist/model/VideoLiveUrl.js +2 -2
  172. package/dist/model/VideoSchema.js +26 -26
  173. package/dist/model/VideoUploadObject.js +26 -26
  174. package/dist/model/ZeusPortalCategory.js +2 -2
  175. package/package.json +1 -1
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _AccountSessionInput = _interopRequireDefault(require("../model/AccountSessionInput"));
9
+ var _AccountSessionResponse = _interopRequireDefault(require("../model/AccountSessionResponse"));
8
10
  var _ApplicationPaymentAccountResponse = _interopRequireDefault(require("../model/ApplicationPaymentAccountResponse"));
9
11
  var _CreateAccountResponse = _interopRequireDefault(require("../model/CreateAccountResponse"));
10
12
  var _CreateStripeAccountInput = _interopRequireDefault(require("../model/CreateStripeAccountInput"));
@@ -26,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
28
  * gobodo-api
27
29
  * REST Interface for Gobodo API
28
30
  *
29
- * The version of the OpenAPI document: 0.1.20
31
+ * The version of the OpenAPI document: 0.1.21
30
32
  * Contact: info@gobodo.io
31
33
  *
32
34
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +39,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
37
39
  /**
38
40
  * StripeAccounts service.
39
41
  * @module api/StripeAccountsApi
40
- * @version 0.1.20
42
+ * @version 0.1.21
41
43
  */
42
44
  var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
43
45
  /**
@@ -91,6 +93,49 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
91
93
  return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
92
94
  }
93
95
 
96
+ /**
97
+ * Callback function to receive the result of the createAccountSession operation.
98
+ * @callback module:api/StripeAccountsApi~createAccountSessionCallback
99
+ * @param {String} error Error message, if any.
100
+ * @param {module:model/AccountSessionResponse} data The data returned by the service call.
101
+ * @param {String} response The complete HTTP response.
102
+ */
103
+
104
+ /**
105
+ * Creates an Account Session which is used to integrate Stripe's connected UI components
106
+ * Creates an Account Session which is used to integrate Stripe's connected UI components
107
+ * @param {module:model/AccountSessionInput} accountSessionInput Contains the info to create the Account Session
108
+ * @param {Object} opts Optional parameters
109
+ * @param {String} [authorization] The authorization token of the logged in user
110
+ * @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
111
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
112
+ * @param {module:api/StripeAccountsApi~createAccountSessionCallback} callback The callback function, accepting three arguments: error, data, response
113
+ * data is of type: {@link module:model/AccountSessionResponse}
114
+ */
115
+ }, {
116
+ key: "createAccountSession",
117
+ value: function createAccountSession(accountSessionInput, opts, callback) {
118
+ opts = opts || {};
119
+ var postBody = accountSessionInput;
120
+ // verify the required parameter 'accountSessionInput' is set
121
+ if (accountSessionInput === undefined || accountSessionInput === null) {
122
+ throw new Error("Missing the required parameter 'accountSessionInput' when calling createAccountSession");
123
+ }
124
+ var pathParams = {};
125
+ var queryParams = {};
126
+ var headerParams = {
127
+ 'Authorization': opts['authorization'],
128
+ 'zeusportal-postas': opts['zeusportalPostas'],
129
+ 'transactionid': opts['transactionid']
130
+ };
131
+ var formParams = {};
132
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
133
+ var contentTypes = ['application/json'];
134
+ var accepts = ['application/json'];
135
+ var returnType = _AccountSessionResponse["default"];
136
+ return this.apiClient.callApi('/graph/data/payments/stripe/accountSession', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
137
+ }
138
+
94
139
  /**
95
140
  * Callback function to receive the result of the createAndLinkStripeAccount operation.
96
141
  * @callback module:api/StripeAccountsApi~createAndLinkStripeAccountCallback
@@ -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.20
19
+ * The version of the OpenAPI document: 0.1.21
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.20
30
+ * @version 0.1.21
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.20
19
+ * The version of the OpenAPI document: 0.1.21
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.20
30
+ * @version 0.1.21
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.20
20
+ * The version of the OpenAPI document: 0.1.21
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.20
31
+ * @version 0.1.21
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.20
19
+ * The version of the OpenAPI document: 0.1.21
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.20
30
+ * @version 0.1.21
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.20
19
+ * The version of the OpenAPI document: 0.1.21
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.20
30
+ * @version 0.1.21
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.20
21
+ * The version of the OpenAPI document: 0.1.21
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.20
32
+ * @version 0.1.21
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.20
24
+ * The version of the OpenAPI document: 0.1.21
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.20
35
+ * @version 0.1.21
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.20
18
+ * The version of the OpenAPI document: 0.1.21
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.20
29
+ * @version 0.1.21
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.20
26
+ * The version of the OpenAPI document: 0.1.21
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.20
37
+ * @version 0.1.21
38
38
  */
39
39
  var VideosApi = exports["default"] = /*#__PURE__*/function () {
40
40
  /**
package/dist/index.js CHANGED
@@ -9,6 +9,18 @@ Object.defineProperty(exports, "APIClient", {
9
9
  return _APIClient["default"];
10
10
  }
11
11
  });
12
+ Object.defineProperty(exports, "AccountSessionInput", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _AccountSessionInput["default"];
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "AccountSessionResponse", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _AccountSessionResponse["default"];
22
+ }
23
+ });
12
24
  Object.defineProperty(exports, "ActionTypesApi", {
13
25
  enumerable: true,
14
26
  get: function get() {
@@ -1025,6 +1037,8 @@ Object.defineProperty(exports, "ZeusPortalCategory", {
1025
1037
  });
1026
1038
  var _ApiClient = _interopRequireDefault(require("./ApiClient"));
1027
1039
  var _APIClient = _interopRequireDefault(require("./model/APIClient"));
1040
+ var _AccountSessionInput = _interopRequireDefault(require("./model/AccountSessionInput"));
1041
+ var _AccountSessionResponse = _interopRequireDefault(require("./model/AccountSessionResponse"));
1028
1042
  var _ApplicationPaymentAccountResponse = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponse"));
1029
1043
  var _ApplicationPaymentAccountResponseFailureException = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureException"));
1030
1044
  var _ApplicationPaymentAccountResponseFailureExceptionCause = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureExceptionCause"));
@@ -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.20
19
+ * The version of the OpenAPI document: 0.1.21
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.20
30
+ * @version 0.1.21
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('users')) {
79
- obj['users'] = _ApiClient["default"].convertToType(data['users'], [_User["default"]]);
80
- }
81
78
  if (data.hasOwnProperty('developers')) {
82
79
  obj['developers'] = _ApiClient["default"].convertToType(data['developers'], [_User["default"]]);
83
80
  }
81
+ if (data.hasOwnProperty('users')) {
82
+ obj['users'] = _ApiClient["default"].convertToType(data['users'], [_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>} users
154
+ * @member {Array.<module:model/User>} developers
155
155
  */
156
- APIClient.prototype['users'] = undefined;
156
+ APIClient.prototype['developers'] = undefined;
157
157
 
158
158
  /**
159
- * @member {Array.<module:model/User>} developers
159
+ * @member {Array.<module:model/User>} users
160
160
  */
161
- APIClient.prototype['developers'] = undefined;
161
+ APIClient.prototype['users'] = undefined;
162
162
 
163
163
  /**
164
164
  * @member {Object} data
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _CreateStripeAccountInput = _interopRequireDefault(require("./CreateStripeAccountInput"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ 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); }
11
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
+ * gobodo-api
17
+ * REST Interface for Gobodo API
18
+ *
19
+ * The version of the OpenAPI document: 0.1.21
20
+ * Contact: info@gobodo.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * The AccountSessionInput model module.
29
+ * @module model/AccountSessionInput
30
+ * @version 0.1.21
31
+ */
32
+ var AccountSessionInput = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new <code>AccountSessionInput</code>.
35
+ * @alias module:model/AccountSessionInput
36
+ */
37
+ function AccountSessionInput() {
38
+ _classCallCheck(this, AccountSessionInput);
39
+ AccountSessionInput.initialize(this);
40
+ }
41
+
42
+ /**
43
+ * Initializes the fields of this object.
44
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
+ * Only for internal use.
46
+ */
47
+ _createClass(AccountSessionInput, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>AccountSessionInput</code> from a plain JavaScript object, optionally creating a new instance.
53
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
55
+ * @param {module:model/AccountSessionInput} obj Optional instance to populate.
56
+ * @return {module:model/AccountSessionInput} The populated <code>AccountSessionInput</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new AccountSessionInput();
63
+ if (data.hasOwnProperty('enableAccountOnboarding')) {
64
+ obj['enableAccountOnboarding'] = _ApiClient["default"].convertToType(data['enableAccountOnboarding'], 'Boolean');
65
+ }
66
+ if (data.hasOwnProperty('enablePayments')) {
67
+ obj['enablePayments'] = _ApiClient["default"].convertToType(data['enablePayments'], 'Boolean');
68
+ }
69
+ if (data.hasOwnProperty('enablePaymentDetails')) {
70
+ obj['enablePaymentDetails'] = _ApiClient["default"].convertToType(data['enablePaymentDetails'], 'Boolean');
71
+ }
72
+ if (data.hasOwnProperty('enablePayouts')) {
73
+ obj['enablePayouts'] = _ApiClient["default"].convertToType(data['enablePayouts'], 'Boolean');
74
+ }
75
+ if (data.hasOwnProperty('createAccountInput')) {
76
+ obj['createAccountInput'] = _CreateStripeAccountInput["default"].constructFromObject(data['createAccountInput']);
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>AccountSessionInput</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AccountSessionInput</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // validate the optional field `createAccountInput`
91
+ if (data['createAccountInput']) {
92
+ // data not null
93
+ _CreateStripeAccountInput["default"].validateJSON(data['createAccountInput']);
94
+ }
95
+ return true;
96
+ }
97
+ }]);
98
+ return AccountSessionInput;
99
+ }();
100
+ /**
101
+ * Whether the Account Onboarding element is enabled
102
+ * @member {Boolean} enableAccountOnboarding
103
+ */
104
+ AccountSessionInput.prototype['enableAccountOnboarding'] = undefined;
105
+
106
+ /**
107
+ * Whether the payments element is enabled
108
+ * @member {Boolean} enablePayments
109
+ */
110
+ AccountSessionInput.prototype['enablePayments'] = undefined;
111
+
112
+ /**
113
+ * Whether the payment details element is enabled
114
+ * @member {Boolean} enablePaymentDetails
115
+ */
116
+ AccountSessionInput.prototype['enablePaymentDetails'] = undefined;
117
+
118
+ /**
119
+ * Whether the payouts element is enabled
120
+ * @member {Boolean} enablePayouts
121
+ */
122
+ AccountSessionInput.prototype['enablePayouts'] = undefined;
123
+
124
+ /**
125
+ * @member {module:model/CreateStripeAccountInput} createAccountInput
126
+ */
127
+ AccountSessionInput.prototype['createAccountInput'] = undefined;
128
+ var _default = exports["default"] = AccountSessionInput;