@gobodo/gobodo-api-promise 0.1.34

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 (188) hide show
  1. package/README.md +794 -0
  2. package/dist/ApiClient.js +720 -0
  3. package/dist/api/ActionTypesApi.js +113 -0
  4. package/dist/api/AdCampaignsApi.js +500 -0
  5. package/dist/api/AdManagementApi.js +722 -0
  6. package/dist/api/AdminDataManagementApi.js +111 -0
  7. package/dist/api/AdsApi.js +384 -0
  8. package/dist/api/AttachmentsApi.js +465 -0
  9. package/dist/api/AuthenticationApi.js +418 -0
  10. package/dist/api/CategoriesApi.js +451 -0
  11. package/dist/api/CommentsApi.js +520 -0
  12. package/dist/api/ContentManagementApi.js +1491 -0
  13. package/dist/api/ConversationsApi.js +559 -0
  14. package/dist/api/DataSheetImportsApi.js +1066 -0
  15. package/dist/api/DefaultApi.js +696 -0
  16. package/dist/api/DocumentsApi.js +807 -0
  17. package/dist/api/EntryPartsApi.js +847 -0
  18. package/dist/api/FacebookApi.js +88 -0
  19. package/dist/api/FieldsApi.js +243 -0
  20. package/dist/api/FilesApi.js +116 -0
  21. package/dist/api/FormsApi.js +1136 -0
  22. package/dist/api/FunctionsApi.js +111 -0
  23. package/dist/api/GeocodeApi.js +340 -0
  24. package/dist/api/GoogleApi.js +88 -0
  25. package/dist/api/GraphActionsApi.js +674 -0
  26. package/dist/api/GraphObjectTypesApi.js +527 -0
  27. package/dist/api/GraphObjectsApi.js +4026 -0
  28. package/dist/api/GraphRelationshipTypesApi.js +1055 -0
  29. package/dist/api/GraphRelationshipsApi.js +1921 -0
  30. package/dist/api/GraphSchemasApi.js +459 -0
  31. package/dist/api/GraphTraversalApi.js +415 -0
  32. package/dist/api/GraphsApi.js +716 -0
  33. package/dist/api/GroupsApi.js +731 -0
  34. package/dist/api/IAMApi.js +268 -0
  35. package/dist/api/ImagesApi.js +535 -0
  36. package/dist/api/InvitesApi.js +339 -0
  37. package/dist/api/LikesApi.js +785 -0
  38. package/dist/api/LinkedINApi.js +88 -0
  39. package/dist/api/LiveMeetingsApi.js +175 -0
  40. package/dist/api/MeetingEventsApi.js +358 -0
  41. package/dist/api/PagesApi.js +605 -0
  42. package/dist/api/PostsApi.js +330 -0
  43. package/dist/api/PrivateMessagesApi.js +965 -0
  44. package/dist/api/PublicationsApi.js +103 -0
  45. package/dist/api/ScreensApi.js +224 -0
  46. package/dist/api/SocialIntegrationApi.js +214 -0
  47. package/dist/api/StripeAccountsApi.js +2309 -0
  48. package/dist/api/TagsApi.js +111 -0
  49. package/dist/api/TemplatesApi.js +224 -0
  50. package/dist/api/ThemeMappingsApi.js +219 -0
  51. package/dist/api/TransactionsApi.js +161 -0
  52. package/dist/api/TwitterApi.js +88 -0
  53. package/dist/api/UserTagsApi.js +592 -0
  54. package/dist/api/UsersApi.js +591 -0
  55. package/dist/api/UtilsApi.js +80 -0
  56. package/dist/api/VideosApi.js +709 -0
  57. package/dist/index.js +1301 -0
  58. package/dist/model/APIClient.js +354 -0
  59. package/dist/model/AccountSessionInput.js +222 -0
  60. package/dist/model/AccountSessionResponse.js +171 -0
  61. package/dist/model/ApplicationPaymentAccountResponse.js +185 -0
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +265 -0
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +234 -0
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +303 -0
  65. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +187 -0
  66. package/dist/model/Article.js +668 -0
  67. package/dist/model/Authorization.js +166 -0
  68. package/dist/model/Balance.js +267 -0
  69. package/dist/model/BalanceDetails.js +164 -0
  70. package/dist/model/BalanceResponse.js +139 -0
  71. package/dist/model/BankAccountInfo.js +232 -0
  72. package/dist/model/CardInfo.js +213 -0
  73. package/dist/model/Comment.js +495 -0
  74. package/dist/model/Coordinates.js +129 -0
  75. package/dist/model/CreateAccountResponse.js +233 -0
  76. package/dist/model/CreateStripeAccountInput.js +216 -0
  77. package/dist/model/CreateStripeCustomerInput.js +195 -0
  78. package/dist/model/CustomerResponse.js +168 -0
  79. package/dist/model/DataObject.js +129 -0
  80. package/dist/model/DataSheetImport.js +732 -0
  81. package/dist/model/DataSheetImportPrivacySettings.js +154 -0
  82. package/dist/model/DataSheetImportSummary.js +206 -0
  83. package/dist/model/Document.js +743 -0
  84. package/dist/model/DocumentPart.js +612 -0
  85. package/dist/model/DocumentPartType.js +358 -0
  86. package/dist/model/DocumentType.js +458 -0
  87. package/dist/model/FieldMapping.js +185 -0
  88. package/dist/model/Fields.js +737 -0
  89. package/dist/model/File.js +341 -0
  90. package/dist/model/FileAttachmentUploadObject.js +341 -0
  91. package/dist/model/Filter.js +137 -0
  92. package/dist/model/FilterManager.js +154 -0
  93. package/dist/model/Form.js +393 -0
  94. package/dist/model/FormSection.js +304 -0
  95. package/dist/model/FormSubmission.js +238 -0
  96. package/dist/model/Geocode.js +191 -0
  97. package/dist/model/GeocodePayload.js +141 -0
  98. package/dist/model/GeolocationInput.js +216 -0
  99. package/dist/model/Graph.js +499 -0
  100. package/dist/model/GraphAction.js +298 -0
  101. package/dist/model/GraphDatabaseService.js +254 -0
  102. package/dist/model/GraphGeocode.js +282 -0
  103. package/dist/model/GraphIteratorEntryPart.js +129 -0
  104. package/dist/model/GraphObject.js +454 -0
  105. package/dist/model/GraphObjectPayload.js +430 -0
  106. package/dist/model/GraphObjectSchema.js +545 -0
  107. package/dist/model/GraphObjectType.js +626 -0
  108. package/dist/model/GraphObjectTypeSchema.js +645 -0
  109. package/dist/model/GraphOwner.js +158 -0
  110. package/dist/model/GraphRelationObjectObject.js +273 -0
  111. package/dist/model/GraphRelationship.js +301 -0
  112. package/dist/model/GraphRelationshipPayload.js +214 -0
  113. package/dist/model/GraphRelationshipType.js +675 -0
  114. package/dist/model/GraphSchema.js +645 -0
  115. package/dist/model/GraphTraversalInput.js +1125 -0
  116. package/dist/model/Image.js +449 -0
  117. package/dist/model/ImageUploadObject.js +449 -0
  118. package/dist/model/InputPart.js +191 -0
  119. package/dist/model/InputPartMediaType.js +214 -0
  120. package/dist/model/Link.js +305 -0
  121. package/dist/model/LiveStreamInfo.js +167 -0
  122. package/dist/model/MeetingEvent.js +591 -0
  123. package/dist/model/MeetingEventTimezone.js +187 -0
  124. package/dist/model/MeetingInfo.js +220 -0
  125. package/dist/model/Member.js +525 -0
  126. package/dist/model/MemberGroupCategory.js +237 -0
  127. package/dist/model/MemberList.js +96 -0
  128. package/dist/model/MessageGroup.js +160 -0
  129. package/dist/model/MultipartBody.js +133 -0
  130. package/dist/model/Objecttype.js +615 -0
  131. package/dist/model/Page.js +370 -0
  132. package/dist/model/PageSchema.js +482 -0
  133. package/dist/model/Pageable.js +235 -0
  134. package/dist/model/Path.js +110 -0
  135. package/dist/model/PaymentAccountObject.js +209 -0
  136. package/dist/model/PaymentIntentInput.js +214 -0
  137. package/dist/model/PaymentIntentResponse.js +137 -0
  138. package/dist/model/PaymentMethod.js +319 -0
  139. package/dist/model/PaymentMethodInput.js +291 -0
  140. package/dist/model/PaymentMethodResponse.js +139 -0
  141. package/dist/model/PaymentMethodsResponse.js +158 -0
  142. package/dist/model/Payout.js +313 -0
  143. package/dist/model/PayoutInput.js +347 -0
  144. package/dist/model/PayoutResponse.js +142 -0
  145. package/dist/model/Post.js +368 -0
  146. package/dist/model/PrivateMessage.js +494 -0
  147. package/dist/model/PrivateMessageConversation.js +520 -0
  148. package/dist/model/PrivateMessageConversationSchema.js +268 -0
  149. package/dist/model/Profile.js +191 -0
  150. package/dist/model/Profiletype.js +210 -0
  151. package/dist/model/PropertyContainer.js +162 -0
  152. package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
  153. package/dist/model/RelationshipMapping.js +264 -0
  154. package/dist/model/ScreenSchema.js +834 -0
  155. package/dist/model/SimulcastInfo.js +175 -0
  156. package/dist/model/SkinField.js +737 -0
  157. package/dist/model/SocialGroup.js +602 -0
  158. package/dist/model/SocialGroupType.js +327 -0
  159. package/dist/model/Sort.js +154 -0
  160. package/dist/model/SourceTypes.js +154 -0
  161. package/dist/model/StatusUpdate.js +312 -0
  162. package/dist/model/StreetAddress.js +224 -0
  163. package/dist/model/StripeAccount.js +272 -0
  164. package/dist/model/StripeCustomerAccount.js +212 -0
  165. package/dist/model/Template.js +272 -0
  166. package/dist/model/TemplateSchema.js +300 -0
  167. package/dist/model/ThemeMapping.js +245 -0
  168. package/dist/model/ThemeMappingPayload.js +239 -0
  169. package/dist/model/Transaction.js +137 -0
  170. package/dist/model/Transfer.js +286 -0
  171. package/dist/model/TransferInput.js +288 -0
  172. package/dist/model/TransferResponse.js +173 -0
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
  174. package/dist/model/TraversalRelationResponse.js +176 -0
  175. package/dist/model/User.js +525 -0
  176. package/dist/model/UserDataPayload.js +525 -0
  177. package/dist/model/UserDomain.js +191 -0
  178. package/dist/model/UserInvite.js +404 -0
  179. package/dist/model/UserInviteInput.js +245 -0
  180. package/dist/model/UserSchema.js +525 -0
  181. package/dist/model/UserTag.js +246 -0
  182. package/dist/model/Userid.js +133 -0
  183. package/dist/model/Video.js +632 -0
  184. package/dist/model/VideoLiveUrl.js +137 -0
  185. package/dist/model/VideoSchema.js +717 -0
  186. package/dist/model/VideoUploadObject.js +632 -0
  187. package/dist/model/ZeusPortalCategory.js +434 -0
  188. package/package.json +46 -0
@@ -0,0 +1,171 @@
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
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ 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); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ 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); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * gobodo-api
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.34
19
+ * Contact: info@gobodo.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The AccountSessionResponse model module.
28
+ * @module model/AccountSessionResponse
29
+ * @version 0.1.34
30
+ */
31
+ var AccountSessionResponse = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AccountSessionResponse</code>.
34
+ * @alias module:model/AccountSessionResponse
35
+ */
36
+ function AccountSessionResponse() {
37
+ _classCallCheck(this, AccountSessionResponse);
38
+ AccountSessionResponse.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ _createClass(AccountSessionResponse, [{
47
+ key: "getClientSecret",
48
+ value:
49
+ /**
50
+ * Returns The client secret for the Account Session
51
+ * @return {String}
52
+ */
53
+ function getClientSecret() {
54
+ return this.clientSecret;
55
+ }
56
+
57
+ /**
58
+ * Sets The client secret for the Account Session
59
+ * @param {String} clientSecret The client secret for the Account Session
60
+ */
61
+ }, {
62
+ key: "setClientSecret",
63
+ value: function setClientSecret(clientSecret) {
64
+ this['clientSecret'] = clientSecret;
65
+ }
66
+ /**
67
+ * Returns The date the account session expires
68
+ * @return {Date}
69
+ */
70
+ }, {
71
+ key: "getExpires",
72
+ value: function getExpires() {
73
+ return this.expires;
74
+ }
75
+
76
+ /**
77
+ * Sets The date the account session expires
78
+ * @param {Date} expires The date the account session expires
79
+ */
80
+ }, {
81
+ key: "setExpires",
82
+ value: function setExpires(expires) {
83
+ this['expires'] = expires;
84
+ }
85
+ /**
86
+ * Returns Exception details if the account session operation failed
87
+ * @return {String}
88
+ */
89
+ }, {
90
+ key: "getFailureException",
91
+ value: function getFailureException() {
92
+ return this.failureException;
93
+ }
94
+
95
+ /**
96
+ * Sets Exception details if the account session operation failed
97
+ * @param {String} failureException Exception details if the account session operation failed
98
+ */
99
+ }, {
100
+ key: "setFailureException",
101
+ value: function setFailureException(failureException) {
102
+ this['failureException'] = failureException;
103
+ }
104
+ }], [{
105
+ key: "initialize",
106
+ value: function initialize(obj) {}
107
+
108
+ /**
109
+ * Constructs a <code>AccountSessionResponse</code> from a plain JavaScript object, optionally creating a new instance.
110
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
111
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
112
+ * @param {module:model/AccountSessionResponse} obj Optional instance to populate.
113
+ * @return {module:model/AccountSessionResponse} The populated <code>AccountSessionResponse</code> instance.
114
+ */
115
+ }, {
116
+ key: "constructFromObject",
117
+ value: function constructFromObject(data, obj) {
118
+ if (data) {
119
+ obj = obj || new AccountSessionResponse();
120
+ if (data.hasOwnProperty('clientSecret')) {
121
+ obj['clientSecret'] = _ApiClient["default"].convertToType(data['clientSecret'], 'String');
122
+ }
123
+ if (data.hasOwnProperty('expires')) {
124
+ obj['expires'] = _ApiClient["default"].convertToType(data['expires'], 'Date');
125
+ }
126
+ if (data.hasOwnProperty('failureException')) {
127
+ obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
128
+ }
129
+ }
130
+ return obj;
131
+ }
132
+
133
+ /**
134
+ * Validates the JSON data with respect to <code>AccountSessionResponse</code>.
135
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
136
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AccountSessionResponse</code>.
137
+ */
138
+ }, {
139
+ key: "validateJSON",
140
+ value: function validateJSON(data) {
141
+ // ensure the json data is a string
142
+ if (data['clientSecret'] && !(typeof data['clientSecret'] === 'string' || data['clientSecret'] instanceof String)) {
143
+ throw new Error("Expected the field `clientSecret` to be a primitive type in the JSON string but got " + data['clientSecret']);
144
+ }
145
+ // ensure the json data is a string
146
+ if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
147
+ throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
148
+ }
149
+ return true;
150
+ }
151
+ }]);
152
+ return AccountSessionResponse;
153
+ }();
154
+ /**
155
+ * The client secret for the Account Session
156
+ * @member {String} clientSecret
157
+ */
158
+ AccountSessionResponse.prototype['clientSecret'] = undefined;
159
+
160
+ /**
161
+ * The date the account session expires
162
+ * @member {Date} expires
163
+ */
164
+ AccountSessionResponse.prototype['expires'] = undefined;
165
+
166
+ /**
167
+ * Exception details if the account session operation failed
168
+ * @member {String} failureException
169
+ */
170
+ AccountSessionResponse.prototype['failureException'] = undefined;
171
+ var _default = exports["default"] = AccountSessionResponse;
@@ -0,0 +1,185 @@
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 _ApplicationPaymentAccountResponseFailureException = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureException"));
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * gobodo-api
17
+ * REST Interface for Gobodo API
18
+ *
19
+ * The version of the OpenAPI document: 0.1.34
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 ApplicationPaymentAccountResponse model module.
29
+ * @module model/ApplicationPaymentAccountResponse
30
+ * @version 0.1.34
31
+ */
32
+ var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new <code>ApplicationPaymentAccountResponse</code>.
35
+ * @alias module:model/ApplicationPaymentAccountResponse
36
+ */
37
+ function ApplicationPaymentAccountResponse() {
38
+ _classCallCheck(this, ApplicationPaymentAccountResponse);
39
+ ApplicationPaymentAccountResponse.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(ApplicationPaymentAccountResponse, [{
48
+ key: "getAccountId",
49
+ value:
50
+ /**
51
+ * @return {Number}
52
+ */
53
+ function getAccountId() {
54
+ return this.accountId;
55
+ }
56
+
57
+ /**
58
+ * @param {Number} accountId
59
+ */
60
+ }, {
61
+ key: "setAccountId",
62
+ value: function setAccountId(accountId) {
63
+ this['accountId'] = accountId;
64
+ }
65
+ /**
66
+ * @return {Number}
67
+ */
68
+ }, {
69
+ key: "getSiteId",
70
+ value: function getSiteId() {
71
+ return this.siteId;
72
+ }
73
+
74
+ /**
75
+ * @param {Number} siteId
76
+ */
77
+ }, {
78
+ key: "setSiteId",
79
+ value: function setSiteId(siteId) {
80
+ this['siteId'] = siteId;
81
+ }
82
+ /**
83
+ * @return {Number}
84
+ */
85
+ }, {
86
+ key: "getApplicationId",
87
+ value: function getApplicationId() {
88
+ return this.applicationId;
89
+ }
90
+
91
+ /**
92
+ * @param {Number} applicationId
93
+ */
94
+ }, {
95
+ key: "setApplicationId",
96
+ value: function setApplicationId(applicationId) {
97
+ this['applicationId'] = applicationId;
98
+ }
99
+ /**
100
+ * @return {module:model/ApplicationPaymentAccountResponseFailureException}
101
+ */
102
+ }, {
103
+ key: "getFailureException",
104
+ value: function getFailureException() {
105
+ return this.failureException;
106
+ }
107
+
108
+ /**
109
+ * @param {module:model/ApplicationPaymentAccountResponseFailureException} failureException
110
+ */
111
+ }, {
112
+ key: "setFailureException",
113
+ value: function setFailureException(failureException) {
114
+ this['failureException'] = failureException;
115
+ }
116
+ }], [{
117
+ key: "initialize",
118
+ value: function initialize(obj) {}
119
+
120
+ /**
121
+ * Constructs a <code>ApplicationPaymentAccountResponse</code> from a plain JavaScript object, optionally creating a new instance.
122
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
123
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
124
+ * @param {module:model/ApplicationPaymentAccountResponse} obj Optional instance to populate.
125
+ * @return {module:model/ApplicationPaymentAccountResponse} The populated <code>ApplicationPaymentAccountResponse</code> instance.
126
+ */
127
+ }, {
128
+ key: "constructFromObject",
129
+ value: function constructFromObject(data, obj) {
130
+ if (data) {
131
+ obj = obj || new ApplicationPaymentAccountResponse();
132
+ if (data.hasOwnProperty('accountId')) {
133
+ obj['accountId'] = _ApiClient["default"].convertToType(data['accountId'], 'Number');
134
+ }
135
+ if (data.hasOwnProperty('siteId')) {
136
+ obj['siteId'] = _ApiClient["default"].convertToType(data['siteId'], 'Number');
137
+ }
138
+ if (data.hasOwnProperty('applicationId')) {
139
+ obj['applicationId'] = _ApiClient["default"].convertToType(data['applicationId'], 'Number');
140
+ }
141
+ if (data.hasOwnProperty('failureException')) {
142
+ obj['failureException'] = _ApplicationPaymentAccountResponseFailureException["default"].constructFromObject(data['failureException']);
143
+ }
144
+ }
145
+ return obj;
146
+ }
147
+
148
+ /**
149
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponse</code>.
150
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
151
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponse</code>.
152
+ */
153
+ }, {
154
+ key: "validateJSON",
155
+ value: function validateJSON(data) {
156
+ // validate the optional field `failureException`
157
+ if (data['failureException']) {
158
+ // data not null
159
+ _ApplicationPaymentAccountResponseFailureException["default"].validateJSON(data['failureException']);
160
+ }
161
+ return true;
162
+ }
163
+ }]);
164
+ return ApplicationPaymentAccountResponse;
165
+ }();
166
+ /**
167
+ * @member {Number} accountId
168
+ */
169
+ ApplicationPaymentAccountResponse.prototype['accountId'] = undefined;
170
+
171
+ /**
172
+ * @member {Number} siteId
173
+ */
174
+ ApplicationPaymentAccountResponse.prototype['siteId'] = undefined;
175
+
176
+ /**
177
+ * @member {Number} applicationId
178
+ */
179
+ ApplicationPaymentAccountResponse.prototype['applicationId'] = undefined;
180
+
181
+ /**
182
+ * @member {module:model/ApplicationPaymentAccountResponseFailureException} failureException
183
+ */
184
+ ApplicationPaymentAccountResponse.prototype['failureException'] = undefined;
185
+ var _default = exports["default"] = ApplicationPaymentAccountResponse;
@@ -0,0 +1,265 @@
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 _ApplicationPaymentAccountResponseFailureExceptionCause = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCause"));
9
+ var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
10
+ var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ 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); }
13
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
14
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+ 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); } }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
20
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
21
+ * gobodo-api
22
+ * REST Interface for Gobodo API
23
+ *
24
+ * The version of the OpenAPI document: 0.1.34
25
+ * Contact: info@gobodo.io
26
+ *
27
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
28
+ * https://openapi-generator.tech
29
+ * Do not edit the class manually.
30
+ *
31
+ */
32
+ /**
33
+ * The ApplicationPaymentAccountResponseFailureException model module.
34
+ * @module model/ApplicationPaymentAccountResponseFailureException
35
+ * @version 0.1.34
36
+ */
37
+ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function () {
38
+ /**
39
+ * Constructs a new <code>ApplicationPaymentAccountResponseFailureException</code>.
40
+ * @alias module:model/ApplicationPaymentAccountResponseFailureException
41
+ */
42
+ function ApplicationPaymentAccountResponseFailureException() {
43
+ _classCallCheck(this, ApplicationPaymentAccountResponseFailureException);
44
+ ApplicationPaymentAccountResponseFailureException.initialize(this);
45
+ }
46
+
47
+ /**
48
+ * Initializes the fields of this object.
49
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
+ * Only for internal use.
51
+ */
52
+ _createClass(ApplicationPaymentAccountResponseFailureException, [{
53
+ key: "getCause",
54
+ value:
55
+ /**
56
+ * @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCause}
57
+ */
58
+ function getCause() {
59
+ return this.cause;
60
+ }
61
+
62
+ /**
63
+ * @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} cause
64
+ */
65
+ }, {
66
+ key: "setCause",
67
+ value: function setCause(cause) {
68
+ this['cause'] = cause;
69
+ }
70
+ /**
71
+ * @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>}
72
+ */
73
+ }, {
74
+ key: "getStackTrace",
75
+ value: function getStackTrace() {
76
+ return this.stackTrace;
77
+ }
78
+
79
+ /**
80
+ * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
81
+ */
82
+ }, {
83
+ key: "setStackTrace",
84
+ value: function setStackTrace(stackTrace) {
85
+ this['stackTrace'] = stackTrace;
86
+ }
87
+ /**
88
+ * @return {String}
89
+ */
90
+ }, {
91
+ key: "getMessage",
92
+ value: function getMessage() {
93
+ return this.message;
94
+ }
95
+
96
+ /**
97
+ * @param {String} message
98
+ */
99
+ }, {
100
+ key: "setMessage",
101
+ value: function setMessage(message) {
102
+ this['message'] = message;
103
+ }
104
+ /**
105
+ * @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>}
106
+ */
107
+ }, {
108
+ key: "getSuppressed",
109
+ value: function getSuppressed() {
110
+ return this.suppressed;
111
+ }
112
+
113
+ /**
114
+ * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
115
+ */
116
+ }, {
117
+ key: "setSuppressed",
118
+ value: function setSuppressed(suppressed) {
119
+ this['suppressed'] = suppressed;
120
+ }
121
+ /**
122
+ * @return {String}
123
+ */
124
+ }, {
125
+ key: "getLocalizedMessage",
126
+ value: function getLocalizedMessage() {
127
+ return this.localizedMessage;
128
+ }
129
+
130
+ /**
131
+ * @param {String} localizedMessage
132
+ */
133
+ }, {
134
+ key: "setLocalizedMessage",
135
+ value: function setLocalizedMessage(localizedMessage) {
136
+ this['localizedMessage'] = localizedMessage;
137
+ }
138
+ }], [{
139
+ key: "initialize",
140
+ value: function initialize(obj) {}
141
+
142
+ /**
143
+ * Constructs a <code>ApplicationPaymentAccountResponseFailureException</code> from a plain JavaScript object, optionally creating a new instance.
144
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
145
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
146
+ * @param {module:model/ApplicationPaymentAccountResponseFailureException} obj Optional instance to populate.
147
+ * @return {module:model/ApplicationPaymentAccountResponseFailureException} The populated <code>ApplicationPaymentAccountResponseFailureException</code> instance.
148
+ */
149
+ }, {
150
+ key: "constructFromObject",
151
+ value: function constructFromObject(data, obj) {
152
+ if (data) {
153
+ obj = obj || new ApplicationPaymentAccountResponseFailureException();
154
+ if (data.hasOwnProperty('cause')) {
155
+ obj['cause'] = _ApplicationPaymentAccountResponseFailureExceptionCause["default"].constructFromObject(data['cause']);
156
+ }
157
+ if (data.hasOwnProperty('stackTrace')) {
158
+ obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
159
+ }
160
+ if (data.hasOwnProperty('message')) {
161
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
162
+ }
163
+ if (data.hasOwnProperty('suppressed')) {
164
+ obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
165
+ }
166
+ if (data.hasOwnProperty('localizedMessage')) {
167
+ obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
168
+ }
169
+ }
170
+ return obj;
171
+ }
172
+
173
+ /**
174
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureException</code>.
175
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
176
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureException</code>.
177
+ */
178
+ }, {
179
+ key: "validateJSON",
180
+ value: function validateJSON(data) {
181
+ // validate the optional field `cause`
182
+ if (data['cause']) {
183
+ // data not null
184
+ _ApplicationPaymentAccountResponseFailureExceptionCause["default"].validateJSON(data['cause']);
185
+ }
186
+ if (data['stackTrace']) {
187
+ // data not null
188
+ // ensure the json data is an array
189
+ if (!Array.isArray(data['stackTrace'])) {
190
+ throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
191
+ }
192
+ // validate the optional field `stackTrace` (array)
193
+ var _iterator = _createForOfIteratorHelper(data['stackTrace']),
194
+ _step;
195
+ try {
196
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
197
+ var item = _step.value;
198
+ _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
199
+ }
200
+ } catch (err) {
201
+ _iterator.e(err);
202
+ } finally {
203
+ _iterator.f();
204
+ }
205
+ ;
206
+ }
207
+ // ensure the json data is a string
208
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
209
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
210
+ }
211
+ if (data['suppressed']) {
212
+ // data not null
213
+ // ensure the json data is an array
214
+ if (!Array.isArray(data['suppressed'])) {
215
+ throw new Error("Expected the field `suppressed` to be an array in the JSON data but got " + data['suppressed']);
216
+ }
217
+ // validate the optional field `suppressed` (array)
218
+ var _iterator2 = _createForOfIteratorHelper(data['suppressed']),
219
+ _step2;
220
+ try {
221
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
222
+ var _item = _step2.value;
223
+ _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
224
+ }
225
+ } catch (err) {
226
+ _iterator2.e(err);
227
+ } finally {
228
+ _iterator2.f();
229
+ }
230
+ ;
231
+ }
232
+ // ensure the json data is a string
233
+ if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
234
+ throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
235
+ }
236
+ return true;
237
+ }
238
+ }]);
239
+ return ApplicationPaymentAccountResponseFailureException;
240
+ }();
241
+ /**
242
+ * @member {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} cause
243
+ */
244
+ ApplicationPaymentAccountResponseFailureException.prototype['cause'] = undefined;
245
+
246
+ /**
247
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
248
+ */
249
+ ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = undefined;
250
+
251
+ /**
252
+ * @member {String} message
253
+ */
254
+ ApplicationPaymentAccountResponseFailureException.prototype['message'] = undefined;
255
+
256
+ /**
257
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
258
+ */
259
+ ApplicationPaymentAccountResponseFailureException.prototype['suppressed'] = undefined;
260
+
261
+ /**
262
+ * @member {String} localizedMessage
263
+ */
264
+ ApplicationPaymentAccountResponseFailureException.prototype['localizedMessage'] = undefined;
265
+ var _default = exports["default"] = ApplicationPaymentAccountResponseFailureException;