@gobodo/gobodo-api-promise 0.1.34 → 0.1.38

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 +8 -3
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +14 -2
  4. package/dist/api/AdCampaignsApi.js +98 -2
  5. package/dist/api/AdManagementApi.js +146 -2
  6. package/dist/api/AdminDataManagementApi.js +14 -2
  7. package/dist/api/AdsApi.js +74 -2
  8. package/dist/api/AttachmentsApi.js +86 -2
  9. package/dist/api/AuthenticationApi.js +27 -27
  10. package/dist/api/CategoriesApi.js +86 -2
  11. package/dist/api/CommentsApi.js +98 -2
  12. package/dist/api/ContentManagementApi.js +290 -2
  13. package/dist/api/ConversationsApi.js +110 -2
  14. package/dist/api/DataSheetImportsApi.js +182 -2
  15. package/dist/api/DefaultApi.js +134 -2
  16. package/dist/api/DocumentsApi.js +158 -2
  17. package/dist/api/EntryPartsApi.js +158 -2
  18. package/dist/api/FacebookApi.js +6 -6
  19. package/dist/api/FieldsApi.js +38 -2
  20. package/dist/api/FilesApi.js +14 -2
  21. package/dist/api/FormsApi.js +218 -2
  22. package/dist/api/FunctionsApi.js +14 -2
  23. package/dist/api/GeocodeApi.js +62 -2
  24. package/dist/api/GoogleApi.js +6 -6
  25. package/dist/api/GraphActionsApi.js +122 -2
  26. package/dist/api/GraphObjectTypesApi.js +110 -2
  27. package/dist/api/GraphObjectsApi.js +779 -11
  28. package/dist/api/GraphRelationshipTypesApi.js +206 -2
  29. package/dist/api/GraphRelationshipsApi.js +374 -2
  30. package/dist/api/GraphSchemasApi.js +86 -2
  31. package/dist/api/GraphTraversalApi.js +144 -2
  32. package/dist/api/GraphsApi.js +134 -2
  33. package/dist/api/GroupsApi.js +134 -2
  34. package/dist/api/IAMApi.js +50 -2
  35. package/dist/api/ImagesApi.js +98 -2
  36. package/dist/api/InvitesApi.js +62 -2
  37. package/dist/api/LikesApi.js +146 -2
  38. package/dist/api/LinkedINApi.js +6 -6
  39. package/dist/api/LiveMeetingsApi.js +26 -2
  40. package/dist/api/MeetingEventsApi.js +62 -2
  41. package/dist/api/PagesApi.js +110 -2
  42. package/dist/api/PostsApi.js +62 -2
  43. package/dist/api/PrivateMessagesApi.js +194 -2
  44. package/dist/api/PublicationsApi.js +14 -2
  45. package/dist/api/ScreensApi.js +38 -2
  46. package/dist/api/SocialIntegrationApi.js +15 -15
  47. package/dist/api/StripeAccountsApi.js +458 -2
  48. package/dist/api/TagsApi.js +14 -2
  49. package/dist/api/TemplatesApi.js +38 -2
  50. package/dist/api/ThemeMappingsApi.js +38 -2
  51. package/dist/api/TransactionsApi.js +8 -8
  52. package/dist/api/TwitterApi.js +6 -6
  53. package/dist/api/UserTagsApi.js +110 -2
  54. package/dist/api/UsersApi.js +110 -2
  55. package/dist/api/UtilsApi.js +2 -2
  56. package/dist/api/VideosApi.js +134 -2
  57. package/dist/index.js +5 -5
  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 +2 -2
  62. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
  64. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
  65. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
  66. package/dist/model/Article.js +121 -121
  67. package/dist/model/AuthResponse.js +238 -0
  68. package/dist/model/Balance.js +34 -34
  69. package/dist/model/BalanceDetails.js +2 -2
  70. package/dist/model/BalanceResponse.js +2 -2
  71. package/dist/model/BankAccountInfo.js +2 -2
  72. package/dist/model/CardInfo.js +2 -2
  73. package/dist/model/Comment.js +31 -31
  74. package/dist/model/Coordinates.js +2 -2
  75. package/dist/model/CreateAccountResponse.js +2 -2
  76. package/dist/model/CreateStripeAccountInput.js +2 -2
  77. package/dist/model/CreateStripeCustomerInput.js +2 -2
  78. package/dist/model/CustomerResponse.js +2 -2
  79. package/dist/model/DataObject.js +2 -2
  80. package/dist/model/DataSheetImport.js +2 -2
  81. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  82. package/dist/model/DataSheetImportSummary.js +2 -2
  83. package/dist/model/Document.js +121 -121
  84. package/dist/model/DocumentPart.js +2 -2
  85. package/dist/model/DocumentPartType.js +2 -2
  86. package/dist/model/DocumentType.js +48 -48
  87. package/dist/model/FieldMapping.js +2 -2
  88. package/dist/model/Fields.js +26 -26
  89. package/dist/model/File.js +48 -48
  90. package/dist/model/FileAttachmentUploadObject.js +48 -48
  91. package/dist/model/Filter.js +2 -2
  92. package/dist/model/FilterManager.js +2 -2
  93. package/dist/model/Form.js +2 -2
  94. package/dist/model/FormSection.js +2 -2
  95. package/dist/model/FormSubmission.js +2 -2
  96. package/dist/model/Geocode.js +2 -2
  97. package/dist/model/GeocodePayload.js +2 -2
  98. package/dist/model/GeolocationInput.js +2 -2
  99. package/dist/model/Graph.js +25 -25
  100. package/dist/model/GraphAction.js +2 -2
  101. package/dist/model/GraphDatabaseService.js +24 -24
  102. package/dist/model/GraphGeocode.js +2 -2
  103. package/dist/model/GraphIteratorEntryPart.js +2 -2
  104. package/dist/model/GraphObject.js +2 -2
  105. package/dist/model/GraphObjectPayload.js +2 -2
  106. package/dist/model/GraphObjectSchema.js +2 -2
  107. package/dist/model/GraphObjectType.js +2 -2
  108. package/dist/model/GraphObjectTypeSchema.js +2 -2
  109. package/dist/model/GraphOwner.js +2 -2
  110. package/dist/model/GraphRelationObjectObject.js +2 -2
  111. package/dist/model/GraphRelationship.js +2 -2
  112. package/dist/model/GraphRelationshipPayload.js +2 -2
  113. package/dist/model/GraphRelationshipType.js +2 -2
  114. package/dist/model/GraphSchema.js +2 -2
  115. package/dist/model/GraphTraversalInput.js +2 -2
  116. package/dist/model/Image.js +70 -70
  117. package/dist/model/ImageUploadObject.js +70 -70
  118. package/dist/model/InputPart.js +2 -2
  119. package/dist/model/InputPartMediaType.js +2 -2
  120. package/dist/model/Link.js +54 -54
  121. package/dist/model/LiveStreamInfo.js +2 -2
  122. package/dist/model/MeetingEvent.js +85 -85
  123. package/dist/model/MeetingEventTimezone.js +2 -2
  124. package/dist/model/MeetingInfo.js +2 -2
  125. package/dist/model/Member.js +42 -42
  126. package/dist/model/MemberGroupCategory.js +2 -2
  127. package/dist/model/MemberList.js +2 -2
  128. package/dist/model/MessageGroup.js +25 -25
  129. package/dist/model/MultipartBody.js +2 -2
  130. package/dist/model/Objecttype.js +2 -2
  131. package/dist/model/Page.js +2 -2
  132. package/dist/model/PageSchema.js +48 -48
  133. package/dist/model/Pageable.js +2 -2
  134. package/dist/model/Path.js +2 -2
  135. package/dist/model/PaymentAccountObject.js +2 -2
  136. package/dist/model/PaymentIntentInput.js +2 -2
  137. package/dist/model/PaymentIntentResponse.js +2 -2
  138. package/dist/model/PaymentMethod.js +23 -23
  139. package/dist/model/PaymentMethodInput.js +2 -2
  140. package/dist/model/PaymentMethodResponse.js +2 -2
  141. package/dist/model/PaymentMethodsResponse.js +2 -2
  142. package/dist/model/Payout.js +30 -30
  143. package/dist/model/PayoutInput.js +2 -2
  144. package/dist/model/PayoutResponse.js +2 -2
  145. package/dist/model/Post.js +2 -2
  146. package/dist/model/PrivateMessage.js +2 -2
  147. package/dist/model/PrivateMessageConversation.js +60 -60
  148. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  149. package/dist/model/Profile.js +2 -2
  150. package/dist/model/Profiletype.js +2 -2
  151. package/dist/model/PropertyContainer.js +25 -25
  152. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  153. package/dist/model/RelationshipMapping.js +2 -2
  154. package/dist/model/ScreenSchema.js +2 -2
  155. package/dist/model/SimulcastInfo.js +2 -2
  156. package/dist/model/SkinField.js +26 -26
  157. package/dist/model/SocialGroup.js +2 -2
  158. package/dist/model/SocialGroupType.js +2 -2
  159. package/dist/model/Sort.js +2 -2
  160. package/dist/model/SourceTypes.js +2 -2
  161. package/dist/model/StatusUpdate.js +2 -2
  162. package/dist/model/StreetAddress.js +2 -2
  163. package/dist/model/StripeAccount.js +2 -2
  164. package/dist/model/StripeCustomerAccount.js +2 -2
  165. package/dist/model/Template.js +30 -30
  166. package/dist/model/TemplateSchema.js +30 -30
  167. package/dist/model/ThemeMapping.js +39 -39
  168. package/dist/model/ThemeMappingPayload.js +25 -25
  169. package/dist/model/Transaction.js +2 -2
  170. package/dist/model/Transfer.js +55 -55
  171. package/dist/model/TransferInput.js +2 -2
  172. package/dist/model/TransferResponse.js +77 -2
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +55 -55
  174. package/dist/model/TraversalRelationResponse.js +2 -2
  175. package/dist/model/User.js +42 -42
  176. package/dist/model/UserDataPayload.js +42 -42
  177. package/dist/model/UserDomain.js +2 -2
  178. package/dist/model/UserInvite.js +2 -2
  179. package/dist/model/UserInviteInput.js +2 -2
  180. package/dist/model/UserSchema.js +42 -42
  181. package/dist/model/UserTag.js +2 -2
  182. package/dist/model/Userid.js +2 -2
  183. package/dist/model/Video.js +81 -81
  184. package/dist/model/VideoLiveUrl.js +2 -2
  185. package/dist/model/VideoSchema.js +81 -81
  186. package/dist/model/VideoUploadObject.js +81 -81
  187. package/dist/model/ZeusPortalCategory.js +2 -2
  188. package/package.json +1 -1
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.34
22
+ * The version of the OpenAPI document: 0.1.38
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The Article model module.
32
32
  * @module model/Article
33
- * @version 0.1.34
33
+ * @version 0.1.38
34
34
  */
35
35
  var Article = /*#__PURE__*/function () {
36
36
  /**
@@ -83,21 +83,21 @@ var Article = /*#__PURE__*/function () {
83
83
  this['description'] = description;
84
84
  }
85
85
  /**
86
- * @return {String}
86
+ * @return {Object}
87
87
  */
88
88
  }, {
89
- key: "getUnfilteredSubject",
90
- value: function getUnfilteredSubject() {
91
- return this.unfilteredSubject;
89
+ key: "getEntrypartarray",
90
+ value: function getEntrypartarray() {
91
+ return this.entrypartarray;
92
92
  }
93
93
 
94
94
  /**
95
- * @param {String} unfilteredSubject
95
+ * @param {Object} entrypartarray
96
96
  */
97
97
  }, {
98
- key: "setUnfilteredSubject",
99
- value: function setUnfilteredSubject(unfilteredSubject) {
100
- this['unfilteredSubject'] = unfilteredSubject;
98
+ key: "setEntrypartarray",
99
+ value: function setEntrypartarray(entrypartarray) {
100
+ this['entrypartarray'] = entrypartarray;
101
101
  }
102
102
  /**
103
103
  * @return {Date}
@@ -117,38 +117,89 @@ var Article = /*#__PURE__*/function () {
117
117
  this['expirationdate'] = expirationdate;
118
118
  }
119
119
  /**
120
- * @return {Number}
120
+ * @return {module:model/DocumentType}
121
121
  */
122
122
  }, {
123
- key: "getPagecount",
124
- value: function getPagecount() {
125
- return this.pagecount;
123
+ key: "getDocumenttype",
124
+ value: function getDocumenttype() {
125
+ return this.documenttype;
126
126
  }
127
127
 
128
128
  /**
129
- * @param {Number} pagecount
129
+ * @param {module:model/DocumentType} documenttype
130
130
  */
131
131
  }, {
132
- key: "setPagecount",
133
- value: function setPagecount(pagecount) {
134
- this['pagecount'] = pagecount;
132
+ key: "setDocumenttype",
133
+ value: function setDocumenttype(documenttype) {
134
+ this['documenttype'] = documenttype;
135
135
  }
136
136
  /**
137
- * @return {module:model/DocumentType}
137
+ * @return {String}
138
138
  */
139
139
  }, {
140
- key: "getDocumenttype",
141
- value: function getDocumenttype() {
142
- return this.documenttype;
140
+ key: "getMainPhoto",
141
+ value: function getMainPhoto() {
142
+ return this.mainPhoto;
143
143
  }
144
144
 
145
145
  /**
146
- * @param {module:model/DocumentType} documenttype
146
+ * @param {String} mainPhoto
147
147
  */
148
148
  }, {
149
- key: "setDocumenttype",
150
- value: function setDocumenttype(documenttype) {
151
- this['documenttype'] = documenttype;
149
+ key: "setMainPhoto",
150
+ value: function setMainPhoto(mainPhoto) {
151
+ this['mainPhoto'] = mainPhoto;
152
+ }
153
+ /**
154
+ * @return {module:model/FilterManager}
155
+ */
156
+ }, {
157
+ key: "getFilterManager",
158
+ value: function getFilterManager() {
159
+ return this.filterManager;
160
+ }
161
+
162
+ /**
163
+ * @param {module:model/FilterManager} filterManager
164
+ */
165
+ }, {
166
+ key: "setFilterManager",
167
+ value: function setFilterManager(filterManager) {
168
+ this['filterManager'] = filterManager;
169
+ }
170
+ /**
171
+ * @return {String}
172
+ */
173
+ }, {
174
+ key: "getUnfilteredSubject",
175
+ value: function getUnfilteredSubject() {
176
+ return this.unfilteredSubject;
177
+ }
178
+
179
+ /**
180
+ * @param {String} unfilteredSubject
181
+ */
182
+ }, {
183
+ key: "setUnfilteredSubject",
184
+ value: function setUnfilteredSubject(unfilteredSubject) {
185
+ this['unfilteredSubject'] = unfilteredSubject;
186
+ }
187
+ /**
188
+ * @return {Number}
189
+ */
190
+ }, {
191
+ key: "getPagecount",
192
+ value: function getPagecount() {
193
+ return this.pagecount;
194
+ }
195
+
196
+ /**
197
+ * @param {Number} pagecount
198
+ */
199
+ }, {
200
+ key: "setPagecount",
201
+ value: function setPagecount(pagecount) {
202
+ this['pagecount'] = pagecount;
152
203
  }
153
204
  /**
154
205
  * @return {module:model/GraphIteratorEntryPart}
@@ -218,57 +269,6 @@ var Article = /*#__PURE__*/function () {
218
269
  value: function setContributors(contributors) {
219
270
  this['contributors'] = contributors;
220
271
  }
221
- /**
222
- * @return {module:model/FilterManager}
223
- */
224
- }, {
225
- key: "getFilterManager",
226
- value: function getFilterManager() {
227
- return this.filterManager;
228
- }
229
-
230
- /**
231
- * @param {module:model/FilterManager} filterManager
232
- */
233
- }, {
234
- key: "setFilterManager",
235
- value: function setFilterManager(filterManager) {
236
- this['filterManager'] = filterManager;
237
- }
238
- /**
239
- * @return {Object}
240
- */
241
- }, {
242
- key: "getEntrypartarray",
243
- value: function getEntrypartarray() {
244
- return this.entrypartarray;
245
- }
246
-
247
- /**
248
- * @param {Object} entrypartarray
249
- */
250
- }, {
251
- key: "setEntrypartarray",
252
- value: function setEntrypartarray(entrypartarray) {
253
- this['entrypartarray'] = entrypartarray;
254
- }
255
- /**
256
- * @return {String}
257
- */
258
- }, {
259
- key: "getMainPhoto",
260
- value: function getMainPhoto() {
261
- return this.mainPhoto;
262
- }
263
-
264
- /**
265
- * @param {String} mainPhoto
266
- */
267
- }, {
268
- key: "setMainPhoto",
269
- value: function setMainPhoto(mainPhoto) {
270
- this['mainPhoto'] = mainPhoto;
271
- }
272
272
  /**
273
273
  * @return {String}
274
274
  */
@@ -444,18 +444,27 @@ var Article = /*#__PURE__*/function () {
444
444
  if (data.hasOwnProperty('description')) {
445
445
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
446
446
  }
447
- if (data.hasOwnProperty('unfilteredSubject')) {
448
- obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
447
+ if (data.hasOwnProperty('entrypartarray')) {
448
+ obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
449
449
  }
450
450
  if (data.hasOwnProperty('expirationdate')) {
451
451
  obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
452
452
  }
453
- if (data.hasOwnProperty('pagecount')) {
454
- obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
455
- }
456
453
  if (data.hasOwnProperty('documenttype')) {
457
454
  obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
458
455
  }
456
+ if (data.hasOwnProperty('mainPhoto')) {
457
+ obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
458
+ }
459
+ if (data.hasOwnProperty('filterManager')) {
460
+ obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
461
+ }
462
+ if (data.hasOwnProperty('unfilteredSubject')) {
463
+ obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
464
+ }
465
+ if (data.hasOwnProperty('pagecount')) {
466
+ obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
467
+ }
459
468
  if (data.hasOwnProperty('topentrypartarray')) {
460
469
  obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
461
470
  }
@@ -468,15 +477,6 @@ var Article = /*#__PURE__*/function () {
468
477
  if (data.hasOwnProperty('contributors')) {
469
478
  obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
470
479
  }
471
- if (data.hasOwnProperty('filterManager')) {
472
- obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
473
- }
474
- if (data.hasOwnProperty('entrypartarray')) {
475
- obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
476
- }
477
- if (data.hasOwnProperty('mainPhoto')) {
478
- obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
479
- }
480
480
  if (data.hasOwnProperty('body')) {
481
481
  obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
482
482
  }
@@ -520,19 +520,14 @@ var Article = /*#__PURE__*/function () {
520
520
  if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
521
521
  throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
522
522
  }
523
- // ensure the json data is a string
524
- if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
525
- throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
526
- }
527
523
  // validate the optional field `documenttype`
528
524
  if (data['documenttype']) {
529
525
  // data not null
530
526
  _DocumentType["default"].validateJSON(data['documenttype']);
531
527
  }
532
- // validate the optional field `topentrypartarray`
533
- if (data['topentrypartarray']) {
534
- // data not null
535
- _GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
528
+ // ensure the json data is a string
529
+ if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
530
+ throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
536
531
  }
537
532
  // validate the optional field `filterManager`
538
533
  if (data['filterManager']) {
@@ -540,8 +535,13 @@ var Article = /*#__PURE__*/function () {
540
535
  _FilterManager["default"].validateJSON(data['filterManager']);
541
536
  }
542
537
  // ensure the json data is a string
543
- if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
544
- throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
538
+ if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
539
+ throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
540
+ }
541
+ // validate the optional field `topentrypartarray`
542
+ if (data['topentrypartarray']) {
543
+ // data not null
544
+ _GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
545
545
  }
546
546
  // ensure the json data is a string
547
547
  if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
@@ -567,9 +567,9 @@ Article.prototype['status'] = undefined;
567
567
  Article.prototype['description'] = undefined;
568
568
 
569
569
  /**
570
- * @member {String} unfilteredSubject
570
+ * @member {Object} entrypartarray
571
571
  */
572
- Article.prototype['unfilteredSubject'] = undefined;
572
+ Article.prototype['entrypartarray'] = undefined;
573
573
 
574
574
  /**
575
575
  * @member {Date} expirationdate
@@ -577,49 +577,49 @@ Article.prototype['unfilteredSubject'] = undefined;
577
577
  Article.prototype['expirationdate'] = undefined;
578
578
 
579
579
  /**
580
- * @member {Number} pagecount
580
+ * @member {module:model/DocumentType} documenttype
581
581
  */
582
- Article.prototype['pagecount'] = undefined;
582
+ Article.prototype['documenttype'] = undefined;
583
583
 
584
584
  /**
585
- * @member {module:model/DocumentType} documenttype
585
+ * @member {String} mainPhoto
586
586
  */
587
- Article.prototype['documenttype'] = undefined;
587
+ Article.prototype['mainPhoto'] = undefined;
588
588
 
589
589
  /**
590
- * @member {module:model/GraphIteratorEntryPart} topentrypartarray
590
+ * @member {module:model/FilterManager} filterManager
591
591
  */
592
- Article.prototype['topentrypartarray'] = undefined;
592
+ Article.prototype['filterManager'] = undefined;
593
593
 
594
594
  /**
595
- * @member {Object} relatedarticles
595
+ * @member {String} unfilteredSubject
596
596
  */
597
- Article.prototype['relatedarticles'] = undefined;
597
+ Article.prototype['unfilteredSubject'] = undefined;
598
598
 
599
599
  /**
600
- * @member {Object} keywords
600
+ * @member {Number} pagecount
601
601
  */
602
- Article.prototype['keywords'] = undefined;
602
+ Article.prototype['pagecount'] = undefined;
603
603
 
604
604
  /**
605
- * @member {Array.<module:model/User>} contributors
605
+ * @member {module:model/GraphIteratorEntryPart} topentrypartarray
606
606
  */
607
- Article.prototype['contributors'] = undefined;
607
+ Article.prototype['topentrypartarray'] = undefined;
608
608
 
609
609
  /**
610
- * @member {module:model/FilterManager} filterManager
610
+ * @member {Object} relatedarticles
611
611
  */
612
- Article.prototype['filterManager'] = undefined;
612
+ Article.prototype['relatedarticles'] = undefined;
613
613
 
614
614
  /**
615
- * @member {Object} entrypartarray
615
+ * @member {Object} keywords
616
616
  */
617
- Article.prototype['entrypartarray'] = undefined;
617
+ Article.prototype['keywords'] = undefined;
618
618
 
619
619
  /**
620
- * @member {String} mainPhoto
620
+ * @member {Array.<module:model/User>} contributors
621
621
  */
622
- Article.prototype['mainPhoto'] = undefined;
622
+ Article.prototype['contributors'] = undefined;
623
623
 
624
624
  /**
625
625
  * @member {String} body
@@ -0,0 +1,238 @@
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.38
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 AuthResponse model module.
28
+ * @module model/AuthResponse
29
+ * @version 0.1.38
30
+ */
31
+ var AuthResponse = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AuthResponse</code>.
34
+ * @alias module:model/AuthResponse
35
+ */
36
+ function AuthResponse() {
37
+ _classCallCheck(this, AuthResponse);
38
+ AuthResponse.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(AuthResponse, [{
47
+ key: "getId",
48
+ value:
49
+ /**
50
+ * @return {Number}
51
+ */
52
+ function getId() {
53
+ return this.id;
54
+ }
55
+
56
+ /**
57
+ * @param {Number} id
58
+ */
59
+ }, {
60
+ key: "setId",
61
+ value: function setId(id) {
62
+ this['id'] = id;
63
+ }
64
+ /**
65
+ * @return {String}
66
+ */
67
+ }, {
68
+ key: "getUsername",
69
+ value: function getUsername() {
70
+ return this.username;
71
+ }
72
+
73
+ /**
74
+ * @param {String} username
75
+ */
76
+ }, {
77
+ key: "setUsername",
78
+ value: function setUsername(username) {
79
+ this['username'] = username;
80
+ }
81
+ /**
82
+ * @return {String}
83
+ */
84
+ }, {
85
+ key: "getAuthtoken",
86
+ value: function getAuthtoken() {
87
+ return this.authtoken;
88
+ }
89
+
90
+ /**
91
+ * @param {String} authtoken
92
+ */
93
+ }, {
94
+ key: "setAuthtoken",
95
+ value: function setAuthtoken(authtoken) {
96
+ this['authtoken'] = authtoken;
97
+ }
98
+ /**
99
+ * @return {String}
100
+ */
101
+ }, {
102
+ key: "getFailureException",
103
+ value: function getFailureException() {
104
+ return this.failureException;
105
+ }
106
+
107
+ /**
108
+ * @param {String} failureException
109
+ */
110
+ }, {
111
+ key: "setFailureException",
112
+ value: function setFailureException(failureException) {
113
+ this['failureException'] = failureException;
114
+ }
115
+ /**
116
+ * @return {module:model/AuthResponse.FailureReasonEnum}
117
+ */
118
+ }, {
119
+ key: "getFailureReason",
120
+ value: function getFailureReason() {
121
+ return this.failureReason;
122
+ }
123
+
124
+ /**
125
+ * @param {module:model/AuthResponse.FailureReasonEnum} failureReason
126
+ */
127
+ }, {
128
+ key: "setFailureReason",
129
+ value: function setFailureReason(failureReason) {
130
+ this['failureReason'] = failureReason;
131
+ }
132
+ }], [{
133
+ key: "initialize",
134
+ value: function initialize(obj) {}
135
+
136
+ /**
137
+ * Constructs a <code>AuthResponse</code> from a plain JavaScript object, optionally creating a new instance.
138
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
139
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
140
+ * @param {module:model/AuthResponse} obj Optional instance to populate.
141
+ * @return {module:model/AuthResponse} The populated <code>AuthResponse</code> instance.
142
+ */
143
+ }, {
144
+ key: "constructFromObject",
145
+ value: function constructFromObject(data, obj) {
146
+ if (data) {
147
+ obj = obj || new AuthResponse();
148
+ if (data.hasOwnProperty('id')) {
149
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
150
+ }
151
+ if (data.hasOwnProperty('username')) {
152
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
153
+ }
154
+ if (data.hasOwnProperty('authtoken')) {
155
+ obj['authtoken'] = _ApiClient["default"].convertToType(data['authtoken'], 'String');
156
+ }
157
+ if (data.hasOwnProperty('failureException')) {
158
+ obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
159
+ }
160
+ if (data.hasOwnProperty('failureReason')) {
161
+ obj['failureReason'] = _ApiClient["default"].convertToType(data['failureReason'], 'String');
162
+ }
163
+ }
164
+ return obj;
165
+ }
166
+
167
+ /**
168
+ * Validates the JSON data with respect to <code>AuthResponse</code>.
169
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
170
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AuthResponse</code>.
171
+ */
172
+ }, {
173
+ key: "validateJSON",
174
+ value: function validateJSON(data) {
175
+ // ensure the json data is a string
176
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
177
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
178
+ }
179
+ // ensure the json data is a string
180
+ if (data['authtoken'] && !(typeof data['authtoken'] === 'string' || data['authtoken'] instanceof String)) {
181
+ throw new Error("Expected the field `authtoken` to be a primitive type in the JSON string but got " + data['authtoken']);
182
+ }
183
+ // ensure the json data is a string
184
+ if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
185
+ throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
186
+ }
187
+ // ensure the json data is a string
188
+ if (data['failureReason'] && !(typeof data['failureReason'] === 'string' || data['failureReason'] instanceof String)) {
189
+ throw new Error("Expected the field `failureReason` to be a primitive type in the JSON string but got " + data['failureReason']);
190
+ }
191
+ return true;
192
+ }
193
+ }]);
194
+ return AuthResponse;
195
+ }();
196
+ /**
197
+ * @member {Number} id
198
+ */
199
+ AuthResponse.prototype['id'] = undefined;
200
+
201
+ /**
202
+ * @member {String} username
203
+ */
204
+ AuthResponse.prototype['username'] = undefined;
205
+
206
+ /**
207
+ * @member {String} authtoken
208
+ */
209
+ AuthResponse.prototype['authtoken'] = undefined;
210
+
211
+ /**
212
+ * @member {String} failureException
213
+ */
214
+ AuthResponse.prototype['failureException'] = undefined;
215
+
216
+ /**
217
+ * @member {module:model/AuthResponse.FailureReasonEnum} failureReason
218
+ */
219
+ AuthResponse.prototype['failureReason'] = undefined;
220
+
221
+ /**
222
+ * Allowed values for the <code>failureReason</code> property.
223
+ * @enum {String}
224
+ * @readonly
225
+ */
226
+ AuthResponse['FailureReasonEnum'] = {
227
+ /**
228
+ * value: "BACKEND_ERROR"
229
+ * @const
230
+ */
231
+ "BACKEND_ERROR": "BACKEND_ERROR",
232
+ /**
233
+ * value: "INCORRECT_CREDENTIALS"
234
+ * @const
235
+ */
236
+ "INCORRECT_CREDENTIALS": "INCORRECT_CREDENTIALS"
237
+ };
238
+ var _default = exports["default"] = AuthResponse;