@gobodo/gobodo-api-promise 0.1.34 → 0.1.36

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 +3 -3
  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 +27 -27
  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 +6 -6
  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 +6 -6
  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 +6 -6
  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 +15 -15
  47. package/dist/api/StripeAccountsApi.js +2 -2
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +6 -6
  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 +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 +131 -131
  67. package/dist/model/AuthResponse.js +238 -0
  68. package/dist/model/Balance.js +2 -2
  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 +38 -38
  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 +131 -131
  84. package/dist/model/DocumentPart.js +2 -2
  85. package/dist/model/DocumentPartType.js +25 -25
  86. package/dist/model/DocumentType.js +48 -48
  87. package/dist/model/FieldMapping.js +2 -2
  88. package/dist/model/Fields.js +52 -52
  89. package/dist/model/File.js +31 -31
  90. package/dist/model/FileAttachmentUploadObject.js +31 -31
  91. package/dist/model/Filter.js +2 -2
  92. package/dist/model/FilterManager.js +2 -2
  93. package/dist/model/Form.js +29 -29
  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 +2 -2
  100. package/dist/model/GraphAction.js +2 -2
  101. package/dist/model/GraphDatabaseService.js +29 -29
  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 +90 -90
  115. package/dist/model/GraphTraversalInput.js +2 -2
  116. package/dist/model/Image.js +63 -63
  117. package/dist/model/ImageUploadObject.js +63 -63
  118. package/dist/model/InputPart.js +29 -29
  119. package/dist/model/InputPartMediaType.js +2 -2
  120. package/dist/model/Link.js +28 -28
  121. package/dist/model/LiveStreamInfo.js +2 -2
  122. package/dist/model/MeetingEvent.js +31 -31
  123. package/dist/model/MeetingEventTimezone.js +2 -2
  124. package/dist/model/MeetingInfo.js +2 -2
  125. package/dist/model/Member.js +65 -65
  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 +75 -75
  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 +33 -33
  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 +52 -52
  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 +2 -2
  166. package/dist/model/TemplateSchema.js +2 -2
  167. package/dist/model/ThemeMapping.js +2 -2
  168. package/dist/model/ThemeMappingPayload.js +2 -2
  169. package/dist/model/Transaction.js +2 -2
  170. package/dist/model/Transfer.js +31 -31
  171. package/dist/model/TransferInput.js +2 -2
  172. package/dist/model/TransferResponse.js +77 -2
  173. package/dist/model/TransferResponsePaymentMethodDetails.js +31 -31
  174. package/dist/model/TraversalRelationResponse.js +2 -2
  175. package/dist/model/User.js +65 -65
  176. package/dist/model/UserDataPayload.js +65 -65
  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 +65 -65
  181. package/dist/model/UserTag.js +2 -2
  182. package/dist/model/Userid.js +2 -2
  183. package/dist/model/Video.js +68 -68
  184. package/dist/model/VideoLiveUrl.js +2 -2
  185. package/dist/model/VideoSchema.js +68 -68
  186. package/dist/model/VideoUploadObject.js +68 -68
  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.36
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.36
34
34
  */
35
35
  var Article = /*#__PURE__*/function () {
36
36
  /**
@@ -48,56 +48,56 @@ var Article = /*#__PURE__*/function () {
48
48
  * Only for internal use.
49
49
  */
50
50
  _createClass(Article, [{
51
- key: "getStatus",
51
+ key: "getDescription",
52
52
  value:
53
53
  /**
54
- * @return {Number}
54
+ * @return {String}
55
55
  */
56
- function getStatus() {
57
- return this.status;
56
+ function getDescription() {
57
+ return this.description;
58
58
  }
59
59
 
60
60
  /**
61
- * @param {Number} status
61
+ * @param {String} description
62
62
  */
63
63
  }, {
64
- key: "setStatus",
65
- value: function setStatus(status) {
66
- this['status'] = status;
64
+ key: "setDescription",
65
+ value: function setDescription(description) {
66
+ this['description'] = description;
67
67
  }
68
68
  /**
69
- * @return {String}
69
+ * @return {Number}
70
70
  */
71
71
  }, {
72
- key: "getDescription",
73
- value: function getDescription() {
74
- return this.description;
72
+ key: "getStatus",
73
+ value: function getStatus() {
74
+ return this.status;
75
75
  }
76
76
 
77
77
  /**
78
- * @param {String} description
78
+ * @param {Number} status
79
79
  */
80
80
  }, {
81
- key: "setDescription",
82
- value: function setDescription(description) {
83
- this['description'] = description;
81
+ key: "setStatus",
82
+ value: function setStatus(status) {
83
+ this['status'] = status;
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,72 @@ 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 {Number}
172
+ */
173
+ }, {
174
+ key: "getPagecount",
175
+ value: function getPagecount() {
176
+ return this.pagecount;
177
+ }
178
+
179
+ /**
180
+ * @param {Number} pagecount
181
+ */
182
+ }, {
183
+ key: "setPagecount",
184
+ value: function setPagecount(pagecount) {
185
+ this['pagecount'] = pagecount;
152
186
  }
153
187
  /**
154
188
  * @return {module:model/GraphIteratorEntryPart}
@@ -218,56 +252,22 @@ var Article = /*#__PURE__*/function () {
218
252
  value: function setContributors(contributors) {
219
253
  this['contributors'] = contributors;
220
254
  }
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
255
  /**
256
256
  * @return {String}
257
257
  */
258
258
  }, {
259
- key: "getMainPhoto",
260
- value: function getMainPhoto() {
261
- return this.mainPhoto;
259
+ key: "getUnfilteredSubject",
260
+ value: function getUnfilteredSubject() {
261
+ return this.unfilteredSubject;
262
262
  }
263
263
 
264
264
  /**
265
- * @param {String} mainPhoto
265
+ * @param {String} unfilteredSubject
266
266
  */
267
267
  }, {
268
- key: "setMainPhoto",
269
- value: function setMainPhoto(mainPhoto) {
270
- this['mainPhoto'] = mainPhoto;
268
+ key: "setUnfilteredSubject",
269
+ value: function setUnfilteredSubject(unfilteredSubject) {
270
+ this['unfilteredSubject'] = unfilteredSubject;
271
271
  }
272
272
  /**
273
273
  * @return {String}
@@ -438,24 +438,30 @@ var Article = /*#__PURE__*/function () {
438
438
  value: function constructFromObject(data, obj) {
439
439
  if (data) {
440
440
  obj = obj || new Article();
441
- if (data.hasOwnProperty('status')) {
442
- obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
443
- }
444
441
  if (data.hasOwnProperty('description')) {
445
442
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
446
443
  }
447
- if (data.hasOwnProperty('unfilteredSubject')) {
448
- obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
444
+ if (data.hasOwnProperty('status')) {
445
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
446
+ }
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('pagecount')) {
463
+ obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
464
+ }
459
465
  if (data.hasOwnProperty('topentrypartarray')) {
460
466
  obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
461
467
  }
@@ -468,14 +474,8 @@ var Article = /*#__PURE__*/function () {
468
474
  if (data.hasOwnProperty('contributors')) {
469
475
  obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
470
476
  }
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');
477
+ if (data.hasOwnProperty('unfilteredSubject')) {
478
+ obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
479
479
  }
480
480
  if (data.hasOwnProperty('body')) {
481
481
  obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
@@ -520,28 +520,28 @@ 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']) {
539
534
  // data not null
540
535
  _FilterManager["default"].validateJSON(data['filterManager']);
541
536
  }
537
+ // validate the optional field `topentrypartarray`
538
+ if (data['topentrypartarray']) {
539
+ // data not null
540
+ _GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
541
+ }
542
542
  // 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']);
543
+ if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
544
+ throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
545
545
  }
546
546
  // ensure the json data is a string
547
547
  if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
@@ -557,19 +557,19 @@ var Article = /*#__PURE__*/function () {
557
557
  return Article;
558
558
  }();
559
559
  /**
560
- * @member {Number} status
560
+ * @member {String} description
561
561
  */
562
- Article.prototype['status'] = undefined;
562
+ Article.prototype['description'] = undefined;
563
563
 
564
564
  /**
565
- * @member {String} description
565
+ * @member {Number} status
566
566
  */
567
- Article.prototype['description'] = undefined;
567
+ Article.prototype['status'] = 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,14 +577,24 @@ 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
+
589
+ /**
590
+ * @member {module:model/FilterManager} filterManager
591
+ */
592
+ Article.prototype['filterManager'] = undefined;
593
+
594
+ /**
595
+ * @member {Number} pagecount
596
+ */
597
+ Article.prototype['pagecount'] = undefined;
588
598
 
589
599
  /**
590
600
  * @member {module:model/GraphIteratorEntryPart} topentrypartarray
@@ -607,19 +617,9 @@ Article.prototype['keywords'] = undefined;
607
617
  Article.prototype['contributors'] = undefined;
608
618
 
609
619
  /**
610
- * @member {module:model/FilterManager} filterManager
611
- */
612
- Article.prototype['filterManager'] = undefined;
613
-
614
- /**
615
- * @member {Object} entrypartarray
616
- */
617
- Article.prototype['entrypartarray'] = undefined;
618
-
619
- /**
620
- * @member {String} mainPhoto
620
+ * @member {String} unfilteredSubject
621
621
  */
622
- Article.prototype['mainPhoto'] = undefined;
622
+ Article.prototype['unfilteredSubject'] = 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.36
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.36
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;
@@ -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.36
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 Balance model module.
32
32
  * @module model/Balance
33
- * @version 0.1.34
33
+ * @version 0.1.36
34
34
  */
35
35
  var Balance = /*#__PURE__*/function () {
36
36
  /**