@gobodo/gobodo-api-promise 0.1.38 → 0.1.39

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 (187) hide show
  1. package/README.md +6 -6
  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 +71 -3
  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 +6 -13
  58. package/dist/model/APIClient.js +2 -2
  59. package/dist/model/AccountSessionInput.js +2 -2
  60. package/dist/model/AccountSessionResponse.js +2 -2
  61. package/dist/model/ApplicationPaymentAccountResponse.js +31 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +16 -47
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +303 -0
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +187 -0
  65. package/dist/model/Article.js +54 -54
  66. package/dist/model/AuthResponse.js +2 -2
  67. package/dist/model/Balance.js +33 -33
  68. package/dist/model/BalanceDetails.js +2 -2
  69. package/dist/model/BalanceResponse.js +2 -2
  70. package/dist/model/BankAccountInfo.js +2 -2
  71. package/dist/model/CardInfo.js +2 -2
  72. package/dist/model/Comment.js +25 -25
  73. package/dist/model/Coordinates.js +2 -2
  74. package/dist/model/CreateAccountResponse.js +2 -2
  75. package/dist/model/CreateStripeAccountInput.js +27 -2
  76. package/dist/model/CreateStripeCustomerInput.js +2 -2
  77. package/dist/model/CustomerResponse.js +2 -2
  78. package/dist/model/DataObject.js +2 -2
  79. package/dist/model/DataSheetImport.js +141 -141
  80. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  81. package/dist/model/DataSheetImportSummary.js +25 -25
  82. package/dist/model/Document.js +54 -54
  83. package/dist/model/DocumentPart.js +31 -31
  84. package/dist/model/DocumentPartType.js +25 -25
  85. package/dist/model/DocumentType.js +2 -2
  86. package/dist/model/FieldMapping.js +2 -2
  87. package/dist/model/Fields.js +26 -26
  88. package/dist/model/File.js +43 -43
  89. package/dist/model/FileAttachmentUploadObject.js +43 -43
  90. package/dist/model/Filter.js +2 -2
  91. package/dist/model/FilterManager.js +2 -2
  92. package/dist/model/Form.js +29 -29
  93. package/dist/model/FormSection.js +2 -2
  94. package/dist/model/FormSubmission.js +2 -2
  95. package/dist/model/Geocode.js +2 -2
  96. package/dist/model/GeocodePayload.js +2 -2
  97. package/dist/model/GeolocationInput.js +2 -2
  98. package/dist/model/Graph.js +2 -2
  99. package/dist/model/GraphAction.js +2 -2
  100. package/dist/model/GraphDatabaseService.js +27 -27
  101. package/dist/model/GraphGeocode.js +2 -2
  102. package/dist/model/GraphIteratorEntryPart.js +8 -8
  103. package/dist/model/GraphObject.js +2 -2
  104. package/dist/model/GraphObjectPayload.js +2 -2
  105. package/dist/model/GraphObjectSchema.js +30 -30
  106. package/dist/model/GraphObjectType.js +2 -2
  107. package/dist/model/GraphObjectTypeSchema.js +2 -2
  108. package/dist/model/GraphOwner.js +2 -2
  109. package/dist/model/GraphRelationObjectObject.js +2 -2
  110. package/dist/model/GraphRelationship.js +2 -2
  111. package/dist/model/GraphRelationshipPayload.js +2 -2
  112. package/dist/model/GraphRelationshipType.js +2 -2
  113. package/dist/model/GraphSchema.js +2 -2
  114. package/dist/model/GraphTraversalInput.js +2 -2
  115. package/dist/model/Image.js +87 -87
  116. package/dist/model/ImageUploadObject.js +87 -87
  117. package/dist/model/InputPart.js +29 -29
  118. package/dist/model/InputPartMediaType.js +2 -2
  119. package/dist/model/Link.js +54 -54
  120. package/dist/model/LiveStreamInfo.js +2 -2
  121. package/dist/model/MeetingEvent.js +2 -2
  122. package/dist/model/MeetingEventTimezone.js +2 -2
  123. package/dist/model/MeetingInfo.js +2 -2
  124. package/dist/model/Member.js +53 -53
  125. package/dist/model/MemberGroupCategory.js +2 -2
  126. package/dist/model/MemberList.js +2 -2
  127. package/dist/model/MessageGroup.js +25 -25
  128. package/dist/model/MultipartBody.js +2 -2
  129. package/dist/model/Objecttype.js +2 -2
  130. package/dist/model/Page.js +2 -2
  131. package/dist/model/PageSchema.js +54 -54
  132. package/dist/model/Pageable.js +2 -2
  133. package/dist/model/Path.js +2 -2
  134. package/dist/model/PaymentAccountObject.js +2 -2
  135. package/dist/model/PaymentIntentInput.js +2 -2
  136. package/dist/model/PaymentIntentResponse.js +2 -2
  137. package/dist/model/PaymentMethod.js +2 -2
  138. package/dist/model/PaymentMethodInput.js +2 -2
  139. package/dist/model/PaymentMethodResponse.js +2 -2
  140. package/dist/model/PaymentMethodsResponse.js +2 -2
  141. package/dist/model/Payout.js +30 -30
  142. package/dist/model/PayoutInput.js +2 -2
  143. package/dist/model/PayoutResponse.js +2 -2
  144. package/dist/model/Post.js +2 -2
  145. package/dist/model/PrivateMessage.js +25 -25
  146. package/dist/model/PrivateMessageConversation.js +60 -60
  147. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  148. package/dist/model/Profile.js +2 -2
  149. package/dist/model/Profiletype.js +2 -2
  150. package/dist/model/PropertyContainer.js +25 -25
  151. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  152. package/dist/model/RelationshipMapping.js +2 -2
  153. package/dist/model/ScreenSchema.js +2 -2
  154. package/dist/model/SimulcastInfo.js +2 -2
  155. package/dist/model/SkinField.js +26 -26
  156. package/dist/model/SocialGroup.js +2 -2
  157. package/dist/model/SocialGroupType.js +2 -2
  158. package/dist/model/Sort.js +2 -2
  159. package/dist/model/SourceTypes.js +2 -2
  160. package/dist/model/StatusUpdate.js +2 -2
  161. package/dist/model/StreetAddress.js +2 -2
  162. package/dist/model/StripeAccount.js +52 -2
  163. package/dist/model/StripeCustomerAccount.js +2 -2
  164. package/dist/model/Template.js +30 -30
  165. package/dist/model/TemplateSchema.js +30 -30
  166. package/dist/model/ThemeMapping.js +39 -39
  167. package/dist/model/ThemeMappingPayload.js +25 -25
  168. package/dist/model/Transaction.js +2 -2
  169. package/dist/model/Transfer.js +42 -42
  170. package/dist/model/TransferInput.js +2 -2
  171. package/dist/model/TransferResponse.js +2 -2
  172. package/dist/model/TransferResponsePaymentMethodDetails.js +42 -42
  173. package/dist/model/TraversalRelationResponse.js +2 -2
  174. package/dist/model/User.js +53 -53
  175. package/dist/model/UserDataPayload.js +53 -53
  176. package/dist/model/UserDomain.js +2 -2
  177. package/dist/model/UserInvite.js +2 -2
  178. package/dist/model/UserInviteInput.js +2 -2
  179. package/dist/model/UserSchema.js +53 -53
  180. package/dist/model/UserTag.js +2 -2
  181. package/dist/model/Userid.js +2 -2
  182. package/dist/model/Video.js +68 -68
  183. package/dist/model/VideoLiveUrl.js +2 -2
  184. package/dist/model/VideoSchema.js +95 -95
  185. package/dist/model/VideoUploadObject.js +68 -68
  186. package/dist/model/ZeusPortalCategory.js +2 -2
  187. package/package.json +1 -1
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.38
19
+ * The version of the OpenAPI document: 0.1.39
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The ApplicationPaymentAccountResponse model module.
29
29
  * @module model/ApplicationPaymentAccountResponse
30
- * @version 0.1.38
30
+ * @version 0.1.39
31
31
  */
32
32
  var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -96,6 +96,23 @@ var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
96
96
  value: function setApplicationId(applicationId) {
97
97
  this['applicationId'] = applicationId;
98
98
  }
99
+ /**
100
+ * @return {String}
101
+ */
102
+ }, {
103
+ key: "getFailureMessage",
104
+ value: function getFailureMessage() {
105
+ return this.failureMessage;
106
+ }
107
+
108
+ /**
109
+ * @param {String} failureMessage
110
+ */
111
+ }, {
112
+ key: "setFailureMessage",
113
+ value: function setFailureMessage(failureMessage) {
114
+ this['failureMessage'] = failureMessage;
115
+ }
99
116
  /**
100
117
  * @return {module:model/ApplicationPaymentAccountResponseFailureException}
101
118
  */
@@ -138,6 +155,9 @@ var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
138
155
  if (data.hasOwnProperty('applicationId')) {
139
156
  obj['applicationId'] = _ApiClient["default"].convertToType(data['applicationId'], 'Number');
140
157
  }
158
+ if (data.hasOwnProperty('failureMessage')) {
159
+ obj['failureMessage'] = _ApiClient["default"].convertToType(data['failureMessage'], 'String');
160
+ }
141
161
  if (data.hasOwnProperty('failureException')) {
142
162
  obj['failureException'] = _ApplicationPaymentAccountResponseFailureException["default"].constructFromObject(data['failureException']);
143
163
  }
@@ -153,6 +173,10 @@ var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
153
173
  }, {
154
174
  key: "validateJSON",
155
175
  value: function validateJSON(data) {
176
+ // ensure the json data is a string
177
+ if (data['failureMessage'] && !(typeof data['failureMessage'] === 'string' || data['failureMessage'] instanceof String)) {
178
+ throw new Error("Expected the field `failureMessage` to be a primitive type in the JSON string but got " + data['failureMessage']);
179
+ }
156
180
  // validate the optional field `failureException`
157
181
  if (data['failureException']) {
158
182
  // data not null
@@ -178,6 +202,11 @@ ApplicationPaymentAccountResponse.prototype['siteId'] = undefined;
178
202
  */
179
203
  ApplicationPaymentAccountResponse.prototype['applicationId'] = undefined;
180
204
 
205
+ /**
206
+ * @member {String} failureMessage
207
+ */
208
+ ApplicationPaymentAccountResponse.prototype['failureMessage'] = undefined;
209
+
181
210
  /**
182
211
  * @member {module:model/ApplicationPaymentAccountResponseFailureException} failureException
183
212
  */
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _ApplicationPaymentAccountResponseFailureExceptionCause = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCause"));
9
- var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
10
- var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
8
+ var _ApplicationPaymentAccountResponseFailureExceptionStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionStackTraceInner"));
9
+ var _ApplicationPaymentAccountResponseFailureExceptionSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionSuppressedInner"));
11
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
11
  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
12
  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; } } }; }
@@ -21,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
21
20
  * gobodo-api
22
21
  * REST Interface for Gobodo API
23
22
  *
24
- * The version of the OpenAPI document: 0.1.38
23
+ * The version of the OpenAPI document: 0.1.39
25
24
  * Contact: info@gobodo.io
26
25
  *
27
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
31
  /**
33
32
  * The ApplicationPaymentAccountResponseFailureException model module.
34
33
  * @module model/ApplicationPaymentAccountResponseFailureException
35
- * @version 0.1.38
34
+ * @version 0.1.39
36
35
  */
37
36
  var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function () {
38
37
  /**
@@ -50,34 +49,17 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
50
49
  * Only for internal use.
51
50
  */
52
51
  _createClass(ApplicationPaymentAccountResponseFailureException, [{
53
- key: "getCause",
52
+ key: "getStackTrace",
54
53
  value:
55
54
  /**
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>}
55
+ * @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner>}
72
56
  */
73
- }, {
74
- key: "getStackTrace",
75
- value: function getStackTrace() {
57
+ function getStackTrace() {
76
58
  return this.stackTrace;
77
59
  }
78
60
 
79
61
  /**
80
- * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
62
+ * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner>} stackTrace
81
63
  */
82
64
  }, {
83
65
  key: "setStackTrace",
@@ -102,7 +84,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
102
84
  this['message'] = message;
103
85
  }
104
86
  /**
105
- * @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>}
87
+ * @return {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner>}
106
88
  */
107
89
  }, {
108
90
  key: "getSuppressed",
@@ -111,7 +93,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
111
93
  }
112
94
 
113
95
  /**
114
- * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
96
+ * @param {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner>} suppressed
115
97
  */
116
98
  }, {
117
99
  key: "setSuppressed",
@@ -151,17 +133,14 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
151
133
  value: function constructFromObject(data, obj) {
152
134
  if (data) {
153
135
  obj = obj || new ApplicationPaymentAccountResponseFailureException();
154
- if (data.hasOwnProperty('cause')) {
155
- obj['cause'] = _ApplicationPaymentAccountResponseFailureExceptionCause["default"].constructFromObject(data['cause']);
156
- }
157
136
  if (data.hasOwnProperty('stackTrace')) {
158
- obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
137
+ obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"]]);
159
138
  }
160
139
  if (data.hasOwnProperty('message')) {
161
140
  obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
162
141
  }
163
142
  if (data.hasOwnProperty('suppressed')) {
164
- obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
143
+ obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionSuppressedInner["default"]]);
165
144
  }
166
145
  if (data.hasOwnProperty('localizedMessage')) {
167
146
  obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
@@ -178,11 +157,6 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
178
157
  }, {
179
158
  key: "validateJSON",
180
159
  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
160
  if (data['stackTrace']) {
187
161
  // data not null
188
162
  // ensure the json data is an array
@@ -195,7 +169,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
195
169
  try {
196
170
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
197
171
  var item = _step.value;
198
- _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
172
+ _ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"].validateJSON(item);
199
173
  }
200
174
  } catch (err) {
201
175
  _iterator.e(err);
@@ -220,7 +194,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
220
194
  try {
221
195
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
222
196
  var _item = _step2.value;
223
- _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
197
+ _ApplicationPaymentAccountResponseFailureExceptionSuppressedInner["default"].validateJSON(_item);
224
198
  }
225
199
  } catch (err) {
226
200
  _iterator2.e(err);
@@ -239,12 +213,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
239
213
  return ApplicationPaymentAccountResponseFailureException;
240
214
  }();
241
215
  /**
242
- * @member {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} cause
243
- */
244
- ApplicationPaymentAccountResponseFailureException.prototype['cause'] = undefined;
245
-
246
- /**
247
- * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
216
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner>} stackTrace
248
217
  */
249
218
  ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = undefined;
250
219
 
@@ -254,7 +223,7 @@ ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = unde
254
223
  ApplicationPaymentAccountResponseFailureException.prototype['message'] = undefined;
255
224
 
256
225
  /**
257
- * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
226
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner>} suppressed
258
227
  */
259
228
  ApplicationPaymentAccountResponseFailureException.prototype['suppressed'] = undefined;
260
229
 
@@ -0,0 +1,303 @@
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.39
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 ApplicationPaymentAccountResponseFailureExceptionStackTraceInner model module.
28
+ * @module model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner
29
+ * @version 0.1.39
30
+ */
31
+ var ApplicationPaymentAccountResponseFailureExceptionStackTraceInner = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
34
+ * @alias module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner
35
+ */
36
+ function ApplicationPaymentAccountResponseFailureExceptionStackTraceInner() {
37
+ _classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionStackTraceInner);
38
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.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(ApplicationPaymentAccountResponseFailureExceptionStackTraceInner, [{
47
+ key: "getClassLoaderName",
48
+ value:
49
+ /**
50
+ * @return {String}
51
+ */
52
+ function getClassLoaderName() {
53
+ return this.classLoaderName;
54
+ }
55
+
56
+ /**
57
+ * @param {String} classLoaderName
58
+ */
59
+ }, {
60
+ key: "setClassLoaderName",
61
+ value: function setClassLoaderName(classLoaderName) {
62
+ this['classLoaderName'] = classLoaderName;
63
+ }
64
+ /**
65
+ * @return {String}
66
+ */
67
+ }, {
68
+ key: "getModuleName",
69
+ value: function getModuleName() {
70
+ return this.moduleName;
71
+ }
72
+
73
+ /**
74
+ * @param {String} moduleName
75
+ */
76
+ }, {
77
+ key: "setModuleName",
78
+ value: function setModuleName(moduleName) {
79
+ this['moduleName'] = moduleName;
80
+ }
81
+ /**
82
+ * @return {String}
83
+ */
84
+ }, {
85
+ key: "getModuleVersion",
86
+ value: function getModuleVersion() {
87
+ return this.moduleVersion;
88
+ }
89
+
90
+ /**
91
+ * @param {String} moduleVersion
92
+ */
93
+ }, {
94
+ key: "setModuleVersion",
95
+ value: function setModuleVersion(moduleVersion) {
96
+ this['moduleVersion'] = moduleVersion;
97
+ }
98
+ /**
99
+ * @return {String}
100
+ */
101
+ }, {
102
+ key: "getMethodName",
103
+ value: function getMethodName() {
104
+ return this.methodName;
105
+ }
106
+
107
+ /**
108
+ * @param {String} methodName
109
+ */
110
+ }, {
111
+ key: "setMethodName",
112
+ value: function setMethodName(methodName) {
113
+ this['methodName'] = methodName;
114
+ }
115
+ /**
116
+ * @return {String}
117
+ */
118
+ }, {
119
+ key: "getFileName",
120
+ value: function getFileName() {
121
+ return this.fileName;
122
+ }
123
+
124
+ /**
125
+ * @param {String} fileName
126
+ */
127
+ }, {
128
+ key: "setFileName",
129
+ value: function setFileName(fileName) {
130
+ this['fileName'] = fileName;
131
+ }
132
+ /**
133
+ * @return {Number}
134
+ */
135
+ }, {
136
+ key: "getLineNumber",
137
+ value: function getLineNumber() {
138
+ return this.lineNumber;
139
+ }
140
+
141
+ /**
142
+ * @param {Number} lineNumber
143
+ */
144
+ }, {
145
+ key: "setLineNumber",
146
+ value: function setLineNumber(lineNumber) {
147
+ this['lineNumber'] = lineNumber;
148
+ }
149
+ /**
150
+ * @return {Boolean}
151
+ */
152
+ }, {
153
+ key: "getNativeMethod",
154
+ value: function getNativeMethod() {
155
+ return this.nativeMethod;
156
+ }
157
+
158
+ /**
159
+ * @param {Boolean} nativeMethod
160
+ */
161
+ }, {
162
+ key: "setNativeMethod",
163
+ value: function setNativeMethod(nativeMethod) {
164
+ this['nativeMethod'] = nativeMethod;
165
+ }
166
+ /**
167
+ * @return {String}
168
+ */
169
+ }, {
170
+ key: "getClassName",
171
+ value: function getClassName() {
172
+ return this.className;
173
+ }
174
+
175
+ /**
176
+ * @param {String} className
177
+ */
178
+ }, {
179
+ key: "setClassName",
180
+ value: function setClassName(className) {
181
+ this['className'] = className;
182
+ }
183
+ }], [{
184
+ key: "initialize",
185
+ value: function initialize(obj) {}
186
+
187
+ /**
188
+ * Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code> from a plain JavaScript object, optionally creating a new instance.
189
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
190
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
191
+ * @param {module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner} obj Optional instance to populate.
192
+ * @return {module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code> instance.
193
+ */
194
+ }, {
195
+ key: "constructFromObject",
196
+ value: function constructFromObject(data, obj) {
197
+ if (data) {
198
+ obj = obj || new ApplicationPaymentAccountResponseFailureExceptionStackTraceInner();
199
+ if (data.hasOwnProperty('classLoaderName')) {
200
+ obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
201
+ }
202
+ if (data.hasOwnProperty('moduleName')) {
203
+ obj['moduleName'] = _ApiClient["default"].convertToType(data['moduleName'], 'String');
204
+ }
205
+ if (data.hasOwnProperty('moduleVersion')) {
206
+ obj['moduleVersion'] = _ApiClient["default"].convertToType(data['moduleVersion'], 'String');
207
+ }
208
+ if (data.hasOwnProperty('methodName')) {
209
+ obj['methodName'] = _ApiClient["default"].convertToType(data['methodName'], 'String');
210
+ }
211
+ if (data.hasOwnProperty('fileName')) {
212
+ obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
213
+ }
214
+ if (data.hasOwnProperty('lineNumber')) {
215
+ obj['lineNumber'] = _ApiClient["default"].convertToType(data['lineNumber'], 'Number');
216
+ }
217
+ if (data.hasOwnProperty('nativeMethod')) {
218
+ obj['nativeMethod'] = _ApiClient["default"].convertToType(data['nativeMethod'], 'Boolean');
219
+ }
220
+ if (data.hasOwnProperty('className')) {
221
+ obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
222
+ }
223
+ }
224
+ return obj;
225
+ }
226
+
227
+ /**
228
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
229
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
230
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
231
+ */
232
+ }, {
233
+ key: "validateJSON",
234
+ value: function validateJSON(data) {
235
+ // ensure the json data is a string
236
+ if (data['classLoaderName'] && !(typeof data['classLoaderName'] === 'string' || data['classLoaderName'] instanceof String)) {
237
+ throw new Error("Expected the field `classLoaderName` to be a primitive type in the JSON string but got " + data['classLoaderName']);
238
+ }
239
+ // ensure the json data is a string
240
+ if (data['moduleName'] && !(typeof data['moduleName'] === 'string' || data['moduleName'] instanceof String)) {
241
+ throw new Error("Expected the field `moduleName` to be a primitive type in the JSON string but got " + data['moduleName']);
242
+ }
243
+ // ensure the json data is a string
244
+ if (data['moduleVersion'] && !(typeof data['moduleVersion'] === 'string' || data['moduleVersion'] instanceof String)) {
245
+ throw new Error("Expected the field `moduleVersion` to be a primitive type in the JSON string but got " + data['moduleVersion']);
246
+ }
247
+ // ensure the json data is a string
248
+ if (data['methodName'] && !(typeof data['methodName'] === 'string' || data['methodName'] instanceof String)) {
249
+ throw new Error("Expected the field `methodName` to be a primitive type in the JSON string but got " + data['methodName']);
250
+ }
251
+ // ensure the json data is a string
252
+ if (data['fileName'] && !(typeof data['fileName'] === 'string' || data['fileName'] instanceof String)) {
253
+ throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
254
+ }
255
+ // ensure the json data is a string
256
+ if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
257
+ throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
258
+ }
259
+ return true;
260
+ }
261
+ }]);
262
+ return ApplicationPaymentAccountResponseFailureExceptionStackTraceInner;
263
+ }();
264
+ /**
265
+ * @member {String} classLoaderName
266
+ */
267
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['classLoaderName'] = undefined;
268
+
269
+ /**
270
+ * @member {String} moduleName
271
+ */
272
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['moduleName'] = undefined;
273
+
274
+ /**
275
+ * @member {String} moduleVersion
276
+ */
277
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['moduleVersion'] = undefined;
278
+
279
+ /**
280
+ * @member {String} methodName
281
+ */
282
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['methodName'] = undefined;
283
+
284
+ /**
285
+ * @member {String} fileName
286
+ */
287
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['fileName'] = undefined;
288
+
289
+ /**
290
+ * @member {Number} lineNumber
291
+ */
292
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['lineNumber'] = undefined;
293
+
294
+ /**
295
+ * @member {Boolean} nativeMethod
296
+ */
297
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['nativeMethod'] = undefined;
298
+
299
+ /**
300
+ * @member {String} className
301
+ */
302
+ ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['className'] = undefined;
303
+ var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionStackTraceInner;