@gobodo/gobodo-api 0.1.13 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/README.md +20 -5
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +2 -2
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/DataSheetImportsApi.js +2 -2
  15. package/dist/api/DefaultApi.js +2 -2
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EntryPartsApi.js +2 -2
  18. package/dist/api/FacebookApi.js +2 -2
  19. package/dist/api/FieldsApi.js +2 -2
  20. package/dist/api/FilesApi.js +2 -2
  21. package/dist/api/FormsApi.js +2 -2
  22. package/dist/api/FunctionsApi.js +2 -2
  23. package/dist/api/GeocodeApi.js +2 -2
  24. package/dist/api/GoogleApi.js +2 -2
  25. package/dist/api/GraphActionsApi.js +2 -2
  26. package/dist/api/GraphObjectTypesApi.js +2 -2
  27. package/dist/api/GraphObjectsApi.js +2 -2
  28. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  29. package/dist/api/GraphRelationshipsApi.js +2 -2
  30. package/dist/api/GraphSchemasApi.js +2 -2
  31. package/dist/api/GraphTraversalApi.js +2 -2
  32. package/dist/api/GraphsApi.js +2 -2
  33. package/dist/api/GroupsApi.js +2 -2
  34. package/dist/api/IAMApi.js +2 -2
  35. package/dist/api/ImagesApi.js +2 -2
  36. package/dist/api/InvitesApi.js +2 -2
  37. package/dist/api/LikesApi.js +2 -2
  38. package/dist/api/LinkedINApi.js +2 -2
  39. package/dist/api/LiveMeetingsApi.js +2 -2
  40. package/dist/api/MeetingEventsApi.js +2 -2
  41. package/dist/api/PagesApi.js +2 -2
  42. package/dist/api/PostsApi.js +2 -2
  43. package/dist/api/PrivateMessagesApi.js +2 -2
  44. package/dist/api/PublicationsApi.js +2 -2
  45. package/dist/api/ScreensApi.js +2 -2
  46. package/dist/api/SocialIntegrationApi.js +2 -2
  47. package/dist/api/StripeAccountsApi.js +333 -23
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +2 -2
  53. package/dist/api/UserTagsApi.js +2 -2
  54. package/dist/api/UsersApi.js +2 -2
  55. package/dist/api/UtilsApi.js +2 -2
  56. package/dist/api/VideosApi.js +2 -2
  57. package/dist/index.js +70 -14
  58. package/dist/model/APIClient.js +2 -2
  59. package/dist/model/ApplicationPaymentAccountResponse.js +116 -0
  60. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +179 -0
  61. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +165 -0
  62. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +166 -0
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
  64. package/dist/model/Article.js +18 -18
  65. package/dist/model/Authorization.js +2 -2
  66. package/dist/model/BankAccountInfo.js +163 -0
  67. package/dist/model/CardInfo.js +127 -0
  68. package/dist/model/Comment.js +10 -10
  69. package/dist/model/Coordinates.js +2 -2
  70. package/dist/model/CreateAccountResponse.js +2 -2
  71. package/dist/model/CreateCustomerResponse.js +2 -2
  72. package/dist/model/CreateStripeAccountInput.js +2 -2
  73. package/dist/model/CreateStripeCustomerInput.js +2 -2
  74. package/dist/model/CustomerResponse.js +116 -0
  75. package/dist/model/DataObject.js +2 -2
  76. package/dist/model/DataSheetImport.js +52 -52
  77. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  78. package/dist/model/DataSheetImportSummary.js +2 -2
  79. package/dist/model/Document.js +18 -18
  80. package/dist/model/DocumentPart.js +9 -9
  81. package/dist/model/DocumentPartType.js +2 -2
  82. package/dist/model/DocumentType.js +2 -2
  83. package/dist/model/FieldMapping.js +2 -2
  84. package/dist/model/Fields.js +9 -9
  85. package/dist/model/File.js +9 -9
  86. package/dist/model/FileAttachmentUploadObject.js +9 -9
  87. package/dist/model/Filter.js +2 -2
  88. package/dist/model/FilterManager.js +2 -2
  89. package/dist/model/Form.js +2 -2
  90. package/dist/model/FormSection.js +2 -2
  91. package/dist/model/FormSubmission.js +13 -13
  92. package/dist/model/Geocode.js +2 -2
  93. package/dist/model/GeocodePayload.js +2 -2
  94. package/dist/model/GeolocationInput.js +2 -2
  95. package/dist/model/Graph.js +2 -2
  96. package/dist/model/GraphAction.js +2 -2
  97. package/dist/model/GraphDatabaseService.js +2 -2
  98. package/dist/model/GraphGeocode.js +2 -2
  99. package/dist/model/GraphIteratorEntryPart.js +6 -6
  100. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  101. package/dist/model/GraphObject.js +2 -2
  102. package/dist/model/GraphObjectPayload.js +2 -2
  103. package/dist/model/GraphObjectSchema.js +11 -11
  104. package/dist/model/GraphObjectType.js +2 -2
  105. package/dist/model/GraphObjectTypeSchema.js +2 -2
  106. package/dist/model/GraphOwner.js +2 -2
  107. package/dist/model/GraphRelation.js +2 -2
  108. package/dist/model/GraphRelationObjectObject.js +2 -2
  109. package/dist/model/GraphRelationship.js +2 -2
  110. package/dist/model/GraphRelationshipPayload.js +2 -2
  111. package/dist/model/GraphRelationshipType.js +2 -2
  112. package/dist/model/GraphSchema.js +2 -2
  113. package/dist/model/GraphTraversalInput.js +2 -2
  114. package/dist/model/Image.js +10 -10
  115. package/dist/model/ImageUploadObject.js +10 -10
  116. package/dist/model/InputPart.js +2 -2
  117. package/dist/model/InputPartMediaType.js +2 -2
  118. package/dist/model/Link.js +2 -2
  119. package/dist/model/LiveStreamInfo.js +2 -2
  120. package/dist/model/MeetingEvent.js +10 -10
  121. package/dist/model/MeetingEventTimezone.js +2 -2
  122. package/dist/model/MeetingInfo.js +2 -2
  123. package/dist/model/Member.js +2 -2
  124. package/dist/model/MemberGroupCategory.js +2 -2
  125. package/dist/model/MemberList.js +2 -2
  126. package/dist/model/MessageGroup.js +2 -2
  127. package/dist/model/MultipartBody.js +2 -2
  128. package/dist/model/Objecttype.js +2 -2
  129. package/dist/model/Page.js +9 -9
  130. package/dist/model/PageSchema.js +2 -2
  131. package/dist/model/Pageable.js +9 -9
  132. package/dist/model/Path.js +2 -2
  133. package/dist/model/PaymentIntentInput.js +12 -2
  134. package/dist/model/PaymentIntentResponse.js +2 -2
  135. package/dist/model/PaymentMethod.js +47 -3
  136. package/dist/model/PaymentMethodInput.js +180 -0
  137. package/dist/model/PaymentMethodResponse.js +104 -0
  138. package/dist/model/Post.js +2 -2
  139. package/dist/model/PrivateMessage.js +2 -2
  140. package/dist/model/PrivateMessageConversation.js +2 -2
  141. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  142. package/dist/model/Profile.js +2 -2
  143. package/dist/model/Profiletype.js +2 -2
  144. package/dist/model/PropertyContainer.js +2 -2
  145. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  146. package/dist/model/RelationshipMapping.js +2 -2
  147. package/dist/model/ScreenSchema.js +2 -2
  148. package/dist/model/SimulcastInfo.js +2 -2
  149. package/dist/model/SkinField.js +9 -9
  150. package/dist/model/SocialGroup.js +10 -10
  151. package/dist/model/SocialGroupType.js +2 -2
  152. package/dist/model/Sort.js +2 -2
  153. package/dist/model/StatusUpdate.js +2 -2
  154. package/dist/model/StreetAddress.js +2 -2
  155. package/dist/model/StripeAccount.js +16 -2
  156. package/dist/model/StripeCustomerAccount.js +2 -2
  157. package/dist/model/Template.js +2 -2
  158. package/dist/model/TemplateSchema.js +2 -2
  159. package/dist/model/ThemeMapping.js +2 -2
  160. package/dist/model/ThemeMappingPayload.js +2 -2
  161. package/dist/model/Transaction.js +2 -2
  162. package/dist/model/User.js +2 -2
  163. package/dist/model/UserDataPayload.js +2 -2
  164. package/dist/model/UserDomain.js +2 -2
  165. package/dist/model/UserInvite.js +2 -2
  166. package/dist/model/UserInviteInput.js +2 -2
  167. package/dist/model/UserSchema.js +2 -2
  168. package/dist/model/UserTag.js +2 -2
  169. package/dist/model/Userid.js +2 -2
  170. package/dist/model/Video.js +9 -9
  171. package/dist/model/VideoLiveUrl.js +2 -2
  172. package/dist/model/VideoSchema.js +9 -9
  173. package/dist/model/VideoUploadObject.js +9 -9
  174. package/dist/model/ZeusPortalCategory.js +2 -2
  175. package/package.json +1 -1
@@ -0,0 +1,165 @@
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 _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
9
+ var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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); }
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; } } }; }
13
+ 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); }
14
+ 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; }
15
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
+ 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); } }
17
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
18
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
19
+ 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); } /**
20
+ * gobodo-api
21
+ * REST Interface for Gobodo API
22
+ *
23
+ * The version of the OpenAPI document: 0.1.16
24
+ * Contact: info@gobodo.io
25
+ *
26
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27
+ * https://openapi-generator.tech
28
+ * Do not edit the class manually.
29
+ *
30
+ */
31
+ /**
32
+ * The ApplicationPaymentAccountResponseFailureExceptionCause model module.
33
+ * @module model/ApplicationPaymentAccountResponseFailureExceptionCause
34
+ * @version 0.1.16
35
+ */
36
+ var ApplicationPaymentAccountResponseFailureExceptionCause = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
39
+ * @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCause
40
+ */
41
+ function ApplicationPaymentAccountResponseFailureExceptionCause() {
42
+ _classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCause);
43
+ ApplicationPaymentAccountResponseFailureExceptionCause.initialize(this);
44
+ }
45
+
46
+ /**
47
+ * Initializes the fields of this object.
48
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
+ * Only for internal use.
50
+ */
51
+ _createClass(ApplicationPaymentAccountResponseFailureExceptionCause, null, [{
52
+ key: "initialize",
53
+ value: function initialize(obj) {}
54
+
55
+ /**
56
+ * Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} obj Optional instance to populate.
60
+ * @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> instance.
61
+ */
62
+ }, {
63
+ key: "constructFromObject",
64
+ value: function constructFromObject(data, obj) {
65
+ if (data) {
66
+ obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCause();
67
+ if (data.hasOwnProperty('stackTrace')) {
68
+ obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
69
+ }
70
+ if (data.hasOwnProperty('message')) {
71
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
72
+ }
73
+ if (data.hasOwnProperty('suppressed')) {
74
+ obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
75
+ }
76
+ if (data.hasOwnProperty('localizedMessage')) {
77
+ obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
78
+ }
79
+ }
80
+ return obj;
81
+ }
82
+
83
+ /**
84
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
85
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
86
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
87
+ */
88
+ }, {
89
+ key: "validateJSON",
90
+ value: function validateJSON(data) {
91
+ if (data['stackTrace']) {
92
+ // data not null
93
+ // ensure the json data is an array
94
+ if (!Array.isArray(data['stackTrace'])) {
95
+ throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
96
+ }
97
+ // validate the optional field `stackTrace` (array)
98
+ var _iterator = _createForOfIteratorHelper(data['stackTrace']),
99
+ _step;
100
+ try {
101
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
102
+ var item = _step.value;
103
+ _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
104
+ }
105
+ } catch (err) {
106
+ _iterator.e(err);
107
+ } finally {
108
+ _iterator.f();
109
+ }
110
+ ;
111
+ }
112
+ // ensure the json data is a string
113
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
114
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
115
+ }
116
+ if (data['suppressed']) {
117
+ // data not null
118
+ // ensure the json data is an array
119
+ if (!Array.isArray(data['suppressed'])) {
120
+ throw new Error("Expected the field `suppressed` to be an array in the JSON data but got " + data['suppressed']);
121
+ }
122
+ // validate the optional field `suppressed` (array)
123
+ var _iterator2 = _createForOfIteratorHelper(data['suppressed']),
124
+ _step2;
125
+ try {
126
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
127
+ var _item = _step2.value;
128
+ _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
129
+ }
130
+ } catch (err) {
131
+ _iterator2.e(err);
132
+ } finally {
133
+ _iterator2.f();
134
+ }
135
+ ;
136
+ }
137
+ // ensure the json data is a string
138
+ if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
139
+ throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
140
+ }
141
+ return true;
142
+ }
143
+ }]);
144
+ return ApplicationPaymentAccountResponseFailureExceptionCause;
145
+ }();
146
+ /**
147
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
148
+ */
149
+ ApplicationPaymentAccountResponseFailureExceptionCause.prototype['stackTrace'] = undefined;
150
+
151
+ /**
152
+ * @member {String} message
153
+ */
154
+ ApplicationPaymentAccountResponseFailureExceptionCause.prototype['message'] = undefined;
155
+
156
+ /**
157
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
158
+ */
159
+ ApplicationPaymentAccountResponseFailureExceptionCause.prototype['suppressed'] = undefined;
160
+
161
+ /**
162
+ * @member {String} localizedMessage
163
+ */
164
+ ApplicationPaymentAccountResponseFailureExceptionCause.prototype['localizedMessage'] = undefined;
165
+ var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCause;
@@ -0,0 +1,166 @@
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); } /**
15
+ * gobodo-api
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.16
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 ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner model module.
28
+ * @module model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
29
+ * @version 0.1.16
30
+ */
31
+ var ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
34
+ * @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner
35
+ */
36
+ function ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner() {
37
+ _classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner);
38
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.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(ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} obj Optional instance to populate.
55
+ * @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner();
62
+ if (data.hasOwnProperty('classLoaderName')) {
63
+ obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('moduleName')) {
66
+ obj['moduleName'] = _ApiClient["default"].convertToType(data['moduleName'], 'String');
67
+ }
68
+ if (data.hasOwnProperty('moduleVersion')) {
69
+ obj['moduleVersion'] = _ApiClient["default"].convertToType(data['moduleVersion'], 'String');
70
+ }
71
+ if (data.hasOwnProperty('methodName')) {
72
+ obj['methodName'] = _ApiClient["default"].convertToType(data['methodName'], 'String');
73
+ }
74
+ if (data.hasOwnProperty('fileName')) {
75
+ obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
76
+ }
77
+ if (data.hasOwnProperty('lineNumber')) {
78
+ obj['lineNumber'] = _ApiClient["default"].convertToType(data['lineNumber'], 'Number');
79
+ }
80
+ if (data.hasOwnProperty('nativeMethod')) {
81
+ obj['nativeMethod'] = _ApiClient["default"].convertToType(data['nativeMethod'], 'Boolean');
82
+ }
83
+ if (data.hasOwnProperty('className')) {
84
+ obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
85
+ }
86
+ }
87
+ return obj;
88
+ }
89
+
90
+ /**
91
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
92
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
93
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner</code>.
94
+ */
95
+ }, {
96
+ key: "validateJSON",
97
+ value: function validateJSON(data) {
98
+ // ensure the json data is a string
99
+ if (data['classLoaderName'] && !(typeof data['classLoaderName'] === 'string' || data['classLoaderName'] instanceof String)) {
100
+ throw new Error("Expected the field `classLoaderName` to be a primitive type in the JSON string but got " + data['classLoaderName']);
101
+ }
102
+ // ensure the json data is a string
103
+ if (data['moduleName'] && !(typeof data['moduleName'] === 'string' || data['moduleName'] instanceof String)) {
104
+ throw new Error("Expected the field `moduleName` to be a primitive type in the JSON string but got " + data['moduleName']);
105
+ }
106
+ // ensure the json data is a string
107
+ if (data['moduleVersion'] && !(typeof data['moduleVersion'] === 'string' || data['moduleVersion'] instanceof String)) {
108
+ throw new Error("Expected the field `moduleVersion` to be a primitive type in the JSON string but got " + data['moduleVersion']);
109
+ }
110
+ // ensure the json data is a string
111
+ if (data['methodName'] && !(typeof data['methodName'] === 'string' || data['methodName'] instanceof String)) {
112
+ throw new Error("Expected the field `methodName` to be a primitive type in the JSON string but got " + data['methodName']);
113
+ }
114
+ // ensure the json data is a string
115
+ if (data['fileName'] && !(typeof data['fileName'] === 'string' || data['fileName'] instanceof String)) {
116
+ throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
117
+ }
118
+ // ensure the json data is a string
119
+ if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
120
+ throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
121
+ }
122
+ return true;
123
+ }
124
+ }]);
125
+ return ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
126
+ }();
127
+ /**
128
+ * @member {String} classLoaderName
129
+ */
130
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['classLoaderName'] = undefined;
131
+
132
+ /**
133
+ * @member {String} moduleName
134
+ */
135
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleName'] = undefined;
136
+
137
+ /**
138
+ * @member {String} moduleVersion
139
+ */
140
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['moduleVersion'] = undefined;
141
+
142
+ /**
143
+ * @member {String} methodName
144
+ */
145
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['methodName'] = undefined;
146
+
147
+ /**
148
+ * @member {String} fileName
149
+ */
150
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['fileName'] = undefined;
151
+
152
+ /**
153
+ * @member {Number} lineNumber
154
+ */
155
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['lineNumber'] = undefined;
156
+
157
+ /**
158
+ * @member {Boolean} nativeMethod
159
+ */
160
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['nativeMethod'] = undefined;
161
+
162
+ /**
163
+ * @member {String} className
164
+ */
165
+ ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.prototype['className'] = undefined;
166
+ var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner;
@@ -0,0 +1,135 @@
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 _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
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 _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; } } }; }
12
+ 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); }
13
+ 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; }
14
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
+ 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); } }
16
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
+ 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); } /**
19
+ * gobodo-api
20
+ * REST Interface for Gobodo API
21
+ *
22
+ * The version of the OpenAPI document: 0.1.16
23
+ * Contact: info@gobodo.io
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner model module.
32
+ * @module model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
33
+ * @version 0.1.16
34
+ */
35
+ var ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
38
+ * @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner
39
+ */
40
+ function ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner() {
41
+ _classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner);
42
+ ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.initialize(this);
43
+ }
44
+
45
+ /**
46
+ * Initializes the fields of this object.
47
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
48
+ * Only for internal use.
49
+ */
50
+ _createClass(ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner, null, [{
51
+ key: "initialize",
52
+ value: function initialize(obj) {}
53
+
54
+ /**
55
+ * Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> from a plain JavaScript object, optionally creating a new instance.
56
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
57
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
58
+ * @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} obj Optional instance to populate.
59
+ * @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code> instance.
60
+ */
61
+ }, {
62
+ key: "constructFromObject",
63
+ value: function constructFromObject(data, obj) {
64
+ if (data) {
65
+ obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner();
66
+ if (data.hasOwnProperty('stackTrace')) {
67
+ obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
68
+ }
69
+ if (data.hasOwnProperty('message')) {
70
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('localizedMessage')) {
73
+ obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
81
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
82
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner</code>.
83
+ */
84
+ }, {
85
+ key: "validateJSON",
86
+ value: function validateJSON(data) {
87
+ if (data['stackTrace']) {
88
+ // data not null
89
+ // ensure the json data is an array
90
+ if (!Array.isArray(data['stackTrace'])) {
91
+ throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
92
+ }
93
+ // validate the optional field `stackTrace` (array)
94
+ var _iterator = _createForOfIteratorHelper(data['stackTrace']),
95
+ _step;
96
+ try {
97
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
98
+ var item = _step.value;
99
+ _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
100
+ }
101
+ } catch (err) {
102
+ _iterator.e(err);
103
+ } finally {
104
+ _iterator.f();
105
+ }
106
+ ;
107
+ }
108
+ // ensure the json data is a string
109
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
110
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
111
+ }
112
+ // ensure the json data is a string
113
+ if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
114
+ throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
115
+ }
116
+ return true;
117
+ }
118
+ }]);
119
+ return ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
120
+ }();
121
+ /**
122
+ * @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
123
+ */
124
+ ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['stackTrace'] = undefined;
125
+
126
+ /**
127
+ * @member {String} message
128
+ */
129
+ ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['message'] = undefined;
130
+
131
+ /**
132
+ * @member {String} localizedMessage
133
+ */
134
+ ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.prototype['localizedMessage'] = undefined;
135
+ var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner;
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.13
22
+ * The version of the OpenAPI document: 0.1.16
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
30
30
  /**
31
31
  * The Article model module.
32
32
  * @module model/Article
33
- * @version 0.1.13
33
+ * @version 0.1.16
34
34
  */
35
35
  var Article = /*#__PURE__*/function () {
36
36
  /**
@@ -87,6 +87,12 @@ var Article = /*#__PURE__*/function () {
87
87
  if (data.hasOwnProperty('unfilteredSubject')) {
88
88
  obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
89
89
  }
90
+ if (data.hasOwnProperty('keywords')) {
91
+ obj['keywords'] = _ApiClient["default"].convertToType(data['keywords'], Object);
92
+ }
93
+ if (data.hasOwnProperty('contributors')) {
94
+ obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
95
+ }
90
96
  if (data.hasOwnProperty('pagecount')) {
91
97
  obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
92
98
  }
@@ -96,12 +102,6 @@ var Article = /*#__PURE__*/function () {
96
102
  if (data.hasOwnProperty('relatedarticles')) {
97
103
  obj['relatedarticles'] = _ApiClient["default"].convertToType(data['relatedarticles'], Object);
98
104
  }
99
- if (data.hasOwnProperty('keywords')) {
100
- obj['keywords'] = _ApiClient["default"].convertToType(data['keywords'], Object);
101
- }
102
- if (data.hasOwnProperty('contributors')) {
103
- obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
104
- }
105
105
  if (data.hasOwnProperty('body')) {
106
106
  obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
107
107
  }
@@ -222,29 +222,29 @@ Article.prototype['filterManager'] = undefined;
222
222
  Article.prototype['unfilteredSubject'] = undefined;
223
223
 
224
224
  /**
225
- * @member {Number} pagecount
225
+ * @member {Object} keywords
226
226
  */
227
- Article.prototype['pagecount'] = undefined;
227
+ Article.prototype['keywords'] = undefined;
228
228
 
229
229
  /**
230
- * @member {module:model/GraphIteratorEntryPart} topentrypartarray
230
+ * @member {Array.<module:model/User>} contributors
231
231
  */
232
- Article.prototype['topentrypartarray'] = undefined;
232
+ Article.prototype['contributors'] = undefined;
233
233
 
234
234
  /**
235
- * @member {Object} relatedarticles
235
+ * @member {Number} pagecount
236
236
  */
237
- Article.prototype['relatedarticles'] = undefined;
237
+ Article.prototype['pagecount'] = undefined;
238
238
 
239
239
  /**
240
- * @member {Object} keywords
240
+ * @member {module:model/GraphIteratorEntryPart} topentrypartarray
241
241
  */
242
- Article.prototype['keywords'] = undefined;
242
+ Article.prototype['topentrypartarray'] = undefined;
243
243
 
244
244
  /**
245
- * @member {Array.<module:model/User>} contributors
245
+ * @member {Object} relatedarticles
246
246
  */
247
- Article.prototype['contributors'] = undefined;
247
+ Article.prototype['relatedarticles'] = undefined;
248
248
 
249
249
  /**
250
250
  * @member {String} body
@@ -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.13
18
+ * The version of the OpenAPI document: 0.1.16
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
  * The Authorization model module.
28
28
  * @module model/Authorization
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var Authorization = /*#__PURE__*/function () {
32
32
  /**