@gobodo/gobodo-api-promise 0.1.52 → 0.1.60

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 (216) hide show
  1. package/README.md +85 -9
  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 +44 -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 +4 -432
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EmailsApi.js +346 -0
  18. package/dist/api/EntryPartsApi.js +2 -2
  19. package/dist/api/FacebookApi.js +2 -2
  20. package/dist/api/FieldsApi.js +2 -2
  21. package/dist/api/FilesApi.js +2 -2
  22. package/dist/api/FormsApi.js +2 -2
  23. package/dist/api/FunctionsApi.js +1373 -25
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionTypesApi.js +632 -0
  27. package/dist/api/GraphActionsApi.js +2 -2
  28. package/dist/api/GraphObjectTypesApi.js +163 -5
  29. package/dist/api/GraphObjectsApi.js +2 -2
  30. package/dist/api/GraphRelationshipTypesApi.js +160 -2
  31. package/dist/api/GraphRelationshipsApi.js +2 -2
  32. package/dist/api/GraphSchemasApi.js +2 -2
  33. package/dist/api/GraphTraversalApi.js +2 -2
  34. package/dist/api/GraphsApi.js +2 -2
  35. package/dist/api/GroupsApi.js +2 -2
  36. package/dist/api/IAMApi.js +2 -2
  37. package/dist/api/ImagesApi.js +2 -2
  38. package/dist/api/InvitesApi.js +2 -2
  39. package/dist/api/LikesApi.js +2 -2
  40. package/dist/api/LinkedINApi.js +2 -2
  41. package/dist/api/LiveMeetingsApi.js +2 -2
  42. package/dist/api/MeetingEventsApi.js +2 -2
  43. package/dist/api/NotificationsApi.js +1076 -0
  44. package/dist/api/PagesApi.js +2 -2
  45. package/dist/api/PhoneNumbersApi.js +403 -0
  46. package/dist/api/PostsApi.js +2 -2
  47. package/dist/api/PrivateMessagesApi.js +2 -2
  48. package/dist/api/PublicationsApi.js +2 -2
  49. package/dist/api/ScreensApi.js +2 -2
  50. package/dist/api/SocialIntegrationApi.js +2 -2
  51. package/dist/api/StripeAccountsApi.js +2 -2
  52. package/dist/api/TagsApi.js +2 -2
  53. package/dist/api/TemplatesApi.js +2 -2
  54. package/dist/api/ThemeMappingsApi.js +2 -2
  55. package/dist/api/TopicsApi.js +569 -0
  56. package/dist/api/TransactionsApi.js +2 -2
  57. package/dist/api/TwitterApi.js +2 -2
  58. package/dist/api/UserTagsApi.js +2 -2
  59. package/dist/api/UsersApi.js +2 -2
  60. package/dist/api/UtilsApi.js +2 -2
  61. package/dist/api/VideosApi.js +2 -2
  62. package/dist/index.js +196 -7
  63. package/dist/model/APIClient.js +23 -23
  64. package/dist/model/AccountSessionInput.js +2 -2
  65. package/dist/model/AccountSessionResponse.js +2 -2
  66. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  67. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -49
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  69. package/dist/model/Article.js +25 -25
  70. package/dist/model/AuthResponse.js +2 -2
  71. package/dist/model/AwsSettings.js +193 -0
  72. package/dist/model/Balance.js +33 -33
  73. package/dist/model/BalanceDetails.js +2 -2
  74. package/dist/model/BalanceResponse.js +2 -2
  75. package/dist/model/BankAccountInfo.js +2 -2
  76. package/dist/model/CardInfo.js +2 -2
  77. package/dist/model/Comment.js +31 -31
  78. package/dist/model/Coordinates.js +2 -2
  79. package/dist/model/CreateAccountResponse.js +2 -2
  80. package/dist/model/CreateFunctionInput.js +238 -0
  81. package/dist/model/CreateStripeAccountInput.js +2 -2
  82. package/dist/model/CreateStripeCustomerInput.js +2 -2
  83. package/dist/model/CreateTopicInput.js +191 -0
  84. package/dist/model/CreateTopicListenerInput.js +160 -0
  85. package/dist/model/CustomerResponse.js +2 -2
  86. package/dist/model/DataObject.js +2 -2
  87. package/dist/model/DataSheetImport.js +27 -27
  88. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  89. package/dist/model/DataSheetImportSummary.js +2 -2
  90. package/dist/model/DeviceRegistrationRequest.js +252 -0
  91. package/dist/model/Document.js +25 -25
  92. package/dist/model/DocumentPart.js +52 -52
  93. package/dist/model/DocumentPartType.js +27 -27
  94. package/dist/model/DocumentType.js +51 -51
  95. package/dist/model/EmailAddress.js +245 -0
  96. package/dist/model/FieldMapping.js +2 -2
  97. package/dist/model/Fields.js +70 -70
  98. package/dist/model/File.js +43 -43
  99. package/dist/model/FileAttachmentUploadObject.js +43 -43
  100. package/dist/model/Filter.js +2 -2
  101. package/dist/model/FilterManager.js +2 -2
  102. package/dist/model/Form.js +29 -29
  103. package/dist/model/FormSection.js +2 -2
  104. package/dist/model/FormSubmission.js +30 -30
  105. package/dist/model/FunctionConfigInput.js +563 -0
  106. package/dist/model/FunctionEnvironmentConfig.js +221 -0
  107. package/dist/model/FunctionInput.js +260 -0
  108. package/dist/model/FunctionOutput.js +235 -0
  109. package/dist/model/Geocode.js +2 -2
  110. package/dist/model/GeocodePayload.js +2 -2
  111. package/dist/model/GeolocationInput.js +2 -2
  112. package/dist/model/GetFunctionConfig.js +536 -0
  113. package/dist/model/GetFunctionEnvironmentConfig.js +223 -0
  114. package/dist/model/GetFunctionResponse.js +302 -0
  115. package/dist/model/GoogleCloudSettings.js +162 -0
  116. package/dist/model/Graph.js +113 -113
  117. package/dist/model/GraphAction.js +29 -29
  118. package/dist/model/GraphDatabaseService.js +2 -2
  119. package/dist/model/GraphGeocode.js +2 -2
  120. package/dist/model/GraphIteratorEntryPart.js +2 -2
  121. package/dist/model/GraphObject.js +81 -81
  122. package/dist/model/GraphObjectPayload.js +2 -2
  123. package/dist/model/GraphObjectSchema.js +81 -81
  124. package/dist/model/GraphObjectType.js +52 -52
  125. package/dist/model/GraphObjectTypeSchema.js +52 -52
  126. package/dist/model/GraphOwner.js +2 -2
  127. package/dist/model/GraphRelationship.js +30 -30
  128. package/dist/model/GraphRelationshipPayload.js +2 -2
  129. package/dist/model/GraphRelationshipType.js +2 -2
  130. package/dist/model/GraphSchema.js +115 -115
  131. package/dist/model/GraphTraversalInput.js +2 -2
  132. package/dist/model/Image.js +87 -87
  133. package/dist/model/ImageUploadObject.js +87 -87
  134. package/dist/model/InputPart.js +29 -29
  135. package/dist/model/InputPartHeaders.js +106 -0
  136. package/dist/model/InputPartMediaType.js +2 -2
  137. package/dist/model/KafkaSettings.js +220 -0
  138. package/dist/model/Link.js +56 -56
  139. package/dist/model/LiveStreamInfo.js +2 -2
  140. package/dist/model/MeetingEvent.js +85 -85
  141. package/dist/model/MeetingEventTimezone.js +2 -2
  142. package/dist/model/MeetingInfo.js +31 -31
  143. package/dist/model/Member.js +53 -53
  144. package/dist/model/MemberGroupCategory.js +2 -2
  145. package/dist/model/MemberList.js +2 -2
  146. package/dist/model/MessageGroup.js +25 -25
  147. package/dist/model/MultipartBody.js +2 -2
  148. package/dist/model/Notification.js +381 -0
  149. package/dist/model/NotificationInput.js +273 -0
  150. package/dist/model/NotificationResponse.js +332 -0
  151. package/dist/model/Objecttype.js +48 -48
  152. package/dist/model/OutParameter.js +162 -0
  153. package/dist/model/Page.js +2 -2
  154. package/dist/model/PageSchema.js +43 -43
  155. package/dist/model/Pageable.js +2 -2
  156. package/dist/model/Parameter.js +162 -0
  157. package/dist/model/Path.js +2 -2
  158. package/dist/model/PaymentAccountObject.js +2 -2
  159. package/dist/model/PaymentIntentInput.js +2 -2
  160. package/dist/model/PaymentIntentResponse.js +2 -2
  161. package/dist/model/PaymentMethod.js +2 -2
  162. package/dist/model/PaymentMethodInput.js +2 -2
  163. package/dist/model/PaymentMethodResponse.js +2 -2
  164. package/dist/model/PaymentMethodsResponse.js +2 -2
  165. package/dist/model/Payout.js +30 -30
  166. package/dist/model/PayoutInput.js +2 -2
  167. package/dist/model/PayoutResponse.js +2 -2
  168. package/dist/model/PhoneNumber.js +332 -0
  169. package/dist/model/Post.js +2 -2
  170. package/dist/model/PrivateMessage.js +2 -2
  171. package/dist/model/PrivateMessageConversation.js +91 -91
  172. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  173. package/dist/model/Profile.js +2 -2
  174. package/dist/model/Profiletype.js +2 -2
  175. package/dist/model/PropertyContainer.js +25 -25
  176. package/dist/model/PurgeDataDefaultResponse.js +179 -0
  177. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  178. package/dist/model/RelationshipMapping.js +2 -2
  179. package/dist/model/ScreenSchema.js +81 -81
  180. package/dist/model/SimulcastInfo.js +2 -2
  181. package/dist/model/SkinField.js +70 -70
  182. package/dist/model/SocialGroup.js +2 -2
  183. package/dist/model/SocialGroupType.js +48 -48
  184. package/dist/model/Sort.js +2 -2
  185. package/dist/model/SourceTypes.js +2 -2
  186. package/dist/model/StatusUpdate.js +2 -2
  187. package/dist/model/StreetAddress.js +2 -2
  188. package/dist/model/StripeAccount.js +2 -2
  189. package/dist/model/StripeCustomerAccount.js +2 -2
  190. package/dist/model/Template.js +58 -58
  191. package/dist/model/TemplateSchema.js +58 -58
  192. package/dist/model/ThemeMapping.js +27 -27
  193. package/dist/model/ThemeMappingPayload.js +25 -25
  194. package/dist/model/TopicInfoResponse.js +269 -0
  195. package/dist/model/TopicMessageInput.js +158 -0
  196. package/dist/model/TopicSubscriptionResponse.js +220 -0
  197. package/dist/model/Transaction.js +2 -2
  198. package/dist/model/Transfer.js +32 -32
  199. package/dist/model/TransferInput.js +2 -2
  200. package/dist/model/TransferResponse.js +2 -2
  201. package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
  202. package/dist/model/TraversalRelationResponse.js +2 -2
  203. package/dist/model/User.js +53 -53
  204. package/dist/model/UserDataPayload.js +53 -53
  205. package/dist/model/UserDomain.js +2 -2
  206. package/dist/model/UserInvite.js +29 -29
  207. package/dist/model/UserInviteInput.js +2 -2
  208. package/dist/model/UserSchema.js +53 -53
  209. package/dist/model/UserTag.js +2 -2
  210. package/dist/model/Userid.js +2 -2
  211. package/dist/model/Video.js +97 -97
  212. package/dist/model/VideoLiveUrl.js +2 -2
  213. package/dist/model/VideoSchema.js +124 -124
  214. package/dist/model/VideoUploadObject.js +97 -97
  215. package/dist/model/ZeusPortalCategory.js +2 -2
  216. package/package.json +1 -1
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.52
19
+ * The version of the OpenAPI document: 0.1.60
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The VideoSchema model module.
29
29
  * @module model/VideoSchema
30
- * @version 0.1.52
30
+ * @version 0.1.60
31
31
  */
32
32
  var VideoSchema = /*#__PURE__*/function () {
33
33
  /**
@@ -45,12 +45,29 @@ var VideoSchema = /*#__PURE__*/function () {
45
45
  * Only for internal use.
46
46
  */
47
47
  _createClass(VideoSchema, [{
48
- key: "getDataurl",
48
+ key: "getCreatorpageid",
49
49
  value:
50
+ /**
51
+ * @return {Number}
52
+ */
53
+ function getCreatorpageid() {
54
+ return this.creatorpageid;
55
+ }
56
+
57
+ /**
58
+ * @param {Number} creatorpageid
59
+ */
60
+ }, {
61
+ key: "setCreatorpageid",
62
+ value: function setCreatorpageid(creatorpageid) {
63
+ this['creatorpageid'] = creatorpageid;
64
+ }
50
65
  /**
51
66
  * @return {String}
52
67
  */
53
- function getDataurl() {
68
+ }, {
69
+ key: "getDataurl",
70
+ value: function getDataurl() {
54
71
  return this.dataurl;
55
72
  }
56
73
 
@@ -79,23 +96,6 @@ var VideoSchema = /*#__PURE__*/function () {
79
96
  value: function setLiveUrl(liveUrl) {
80
97
  this['liveUrl'] = liveUrl;
81
98
  }
82
- /**
83
- * @return {Number}
84
- */
85
- }, {
86
- key: "getCreatorpageid",
87
- value: function getCreatorpageid() {
88
- return this.creatorpageid;
89
- }
90
-
91
- /**
92
- * @param {Number} creatorpageid
93
- */
94
- }, {
95
- key: "setCreatorpageid",
96
- value: function setCreatorpageid(creatorpageid) {
97
- this['creatorpageid'] = creatorpageid;
98
- }
99
99
  /**
100
100
  * @return {String}
101
101
  */
@@ -167,23 +167,6 @@ var VideoSchema = /*#__PURE__*/function () {
167
167
  /**
168
168
  * @return {String}
169
169
  */
170
- }, {
171
- key: "getContenttype",
172
- value: function getContenttype() {
173
- return this.contenttype;
174
- }
175
-
176
- /**
177
- * @param {String} contenttype
178
- */
179
- }, {
180
- key: "setContenttype",
181
- value: function setContenttype(contenttype) {
182
- this['contenttype'] = contenttype;
183
- }
184
- /**
185
- * @return {String}
186
- */
187
170
  }, {
188
171
  key: "getDescription",
189
172
  value: function getDescription() {
@@ -201,23 +184,6 @@ var VideoSchema = /*#__PURE__*/function () {
201
184
  /**
202
185
  * @return {String}
203
186
  */
204
- }, {
205
- key: "getUrl",
206
- value: function getUrl() {
207
- return this.url;
208
- }
209
-
210
- /**
211
- * @param {String} url
212
- */
213
- }, {
214
- key: "setUrl",
215
- value: function setUrl(url) {
216
- this['url'] = url;
217
- }
218
- /**
219
- * @return {String}
220
- */
221
187
  }, {
222
188
  key: "getMainphoto",
223
189
  value: function getMainphoto() {
@@ -317,6 +283,57 @@ var VideoSchema = /*#__PURE__*/function () {
317
283
  value: function setVideoProcessingStatus(videoProcessingStatus) {
318
284
  this['videoProcessingStatus'] = videoProcessingStatus;
319
285
  }
286
+ /**
287
+ * @return {String}
288
+ */
289
+ }, {
290
+ key: "getUrl",
291
+ value: function getUrl() {
292
+ return this.url;
293
+ }
294
+
295
+ /**
296
+ * @param {String} url
297
+ */
298
+ }, {
299
+ key: "setUrl",
300
+ value: function setUrl(url) {
301
+ this['url'] = url;
302
+ }
303
+ /**
304
+ * @return {Number}
305
+ */
306
+ }, {
307
+ key: "getContainerObjectType",
308
+ value: function getContainerObjectType() {
309
+ return this.containerObjectType;
310
+ }
311
+
312
+ /**
313
+ * @param {Number} containerObjectType
314
+ */
315
+ }, {
316
+ key: "setContainerObjectType",
317
+ value: function setContainerObjectType(containerObjectType) {
318
+ this['containerObjectType'] = containerObjectType;
319
+ }
320
+ /**
321
+ * @return {Number}
322
+ */
323
+ }, {
324
+ key: "getContainerObjectID",
325
+ value: function getContainerObjectID() {
326
+ return this.containerObjectID;
327
+ }
328
+
329
+ /**
330
+ * @param {Number} containerObjectID
331
+ */
332
+ }, {
333
+ key: "setContainerObjectID",
334
+ value: function setContainerObjectID(containerObjectID) {
335
+ this['containerObjectID'] = containerObjectID;
336
+ }
320
337
  /**
321
338
  * @return {Number}
322
339
  */
@@ -386,38 +403,21 @@ var VideoSchema = /*#__PURE__*/function () {
386
403
  this['hostKey'] = hostKey;
387
404
  }
388
405
  /**
389
- * @return {Number}
390
- */
391
- }, {
392
- key: "getContainerObjectID",
393
- value: function getContainerObjectID() {
394
- return this.containerObjectID;
395
- }
396
-
397
- /**
398
- * @param {Number} containerObjectID
399
- */
400
- }, {
401
- key: "setContainerObjectID",
402
- value: function setContainerObjectID(containerObjectID) {
403
- this['containerObjectID'] = containerObjectID;
404
- }
405
- /**
406
- * @return {Number}
406
+ * @return {String}
407
407
  */
408
408
  }, {
409
- key: "getContainerObjectType",
410
- value: function getContainerObjectType() {
411
- return this.containerObjectType;
409
+ key: "getContenttype",
410
+ value: function getContenttype() {
411
+ return this.contenttype;
412
412
  }
413
413
 
414
414
  /**
415
- * @param {Number} containerObjectType
415
+ * @param {String} contenttype
416
416
  */
417
417
  }, {
418
- key: "setContainerObjectType",
419
- value: function setContainerObjectType(containerObjectType) {
420
- this['containerObjectType'] = containerObjectType;
418
+ key: "setContenttype",
419
+ value: function setContenttype(contenttype) {
420
+ this['contenttype'] = contenttype;
421
421
  }
422
422
  /**
423
423
  * @return {Object}
@@ -469,15 +469,15 @@ var VideoSchema = /*#__PURE__*/function () {
469
469
  value: function constructFromObject(data, obj) {
470
470
  if (data) {
471
471
  obj = obj || new VideoSchema();
472
+ if (data.hasOwnProperty('creatorpageid')) {
473
+ obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
474
+ }
472
475
  if (data.hasOwnProperty('dataurl')) {
473
476
  obj['dataurl'] = _ApiClient["default"].convertToType(data['dataurl'], 'String');
474
477
  }
475
478
  if (data.hasOwnProperty('liveUrl')) {
476
479
  obj['liveUrl'] = _VideoLiveUrl["default"].constructFromObject(data['liveUrl']);
477
480
  }
478
- if (data.hasOwnProperty('creatorpageid')) {
479
- obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
480
- }
481
481
  if (data.hasOwnProperty('name')) {
482
482
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
483
483
  }
@@ -490,15 +490,9 @@ var VideoSchema = /*#__PURE__*/function () {
490
490
  if (data.hasOwnProperty('fileName')) {
491
491
  obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
492
492
  }
493
- if (data.hasOwnProperty('contenttype')) {
494
- obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
495
- }
496
493
  if (data.hasOwnProperty('description')) {
497
494
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
498
495
  }
499
- if (data.hasOwnProperty('url')) {
500
- obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
501
- }
502
496
  if (data.hasOwnProperty('mainphoto')) {
503
497
  obj['mainphoto'] = _ApiClient["default"].convertToType(data['mainphoto'], 'String');
504
498
  }
@@ -517,6 +511,15 @@ var VideoSchema = /*#__PURE__*/function () {
517
511
  if (data.hasOwnProperty('videoProcessingStatus')) {
518
512
  obj['videoProcessingStatus'] = _ApiClient["default"].convertToType(data['videoProcessingStatus'], 'Number');
519
513
  }
514
+ if (data.hasOwnProperty('url')) {
515
+ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
516
+ }
517
+ if (data.hasOwnProperty('containerObjectType')) {
518
+ obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
519
+ }
520
+ if (data.hasOwnProperty('containerObjectID')) {
521
+ obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
522
+ }
520
523
  if (data.hasOwnProperty('videoType')) {
521
524
  obj['videoType'] = _ApiClient["default"].convertToType(data['videoType'], 'Number');
522
525
  }
@@ -529,11 +532,8 @@ var VideoSchema = /*#__PURE__*/function () {
529
532
  if (data.hasOwnProperty('hostKey')) {
530
533
  obj['hostKey'] = _ApiClient["default"].convertToType(data['hostKey'], 'String');
531
534
  }
532
- if (data.hasOwnProperty('containerObjectID')) {
533
- obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
534
- }
535
- if (data.hasOwnProperty('containerObjectType')) {
536
- obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
535
+ if (data.hasOwnProperty('contenttype')) {
536
+ obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
537
537
  }
538
538
  if (data.hasOwnProperty('data')) {
539
539
  obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
@@ -571,30 +571,35 @@ var VideoSchema = /*#__PURE__*/function () {
571
571
  throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
572
572
  }
573
573
  // ensure the json data is a string
574
- if (data['contenttype'] && !(typeof data['contenttype'] === 'string' || data['contenttype'] instanceof String)) {
575
- throw new Error("Expected the field `contenttype` to be a primitive type in the JSON string but got " + data['contenttype']);
576
- }
577
- // ensure the json data is a string
578
574
  if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
579
575
  throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
580
576
  }
581
577
  // ensure the json data is a string
582
- if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
583
- throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
584
- }
585
- // ensure the json data is a string
586
578
  if (data['mainphoto'] && !(typeof data['mainphoto'] === 'string' || data['mainphoto'] instanceof String)) {
587
579
  throw new Error("Expected the field `mainphoto` to be a primitive type in the JSON string but got " + data['mainphoto']);
588
580
  }
589
581
  // ensure the json data is a string
582
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
583
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
584
+ }
585
+ // ensure the json data is a string
590
586
  if (data['hostKey'] && !(typeof data['hostKey'] === 'string' || data['hostKey'] instanceof String)) {
591
587
  throw new Error("Expected the field `hostKey` to be a primitive type in the JSON string but got " + data['hostKey']);
592
588
  }
589
+ // ensure the json data is a string
590
+ if (data['contenttype'] && !(typeof data['contenttype'] === 'string' || data['contenttype'] instanceof String)) {
591
+ throw new Error("Expected the field `contenttype` to be a primitive type in the JSON string but got " + data['contenttype']);
592
+ }
593
593
  return true;
594
594
  }
595
595
  }]);
596
596
  return VideoSchema;
597
597
  }();
598
+ /**
599
+ * @member {Number} creatorpageid
600
+ */
601
+ VideoSchema.prototype['creatorpageid'] = undefined;
602
+
598
603
  /**
599
604
  * @member {String} dataurl
600
605
  */
@@ -605,11 +610,6 @@ VideoSchema.prototype['dataurl'] = undefined;
605
610
  */
606
611
  VideoSchema.prototype['liveUrl'] = undefined;
607
612
 
608
- /**
609
- * @member {Number} creatorpageid
610
- */
611
- VideoSchema.prototype['creatorpageid'] = undefined;
612
-
613
613
  /**
614
614
  * @member {String} name
615
615
  */
@@ -630,21 +630,11 @@ VideoSchema.prototype['content'] = undefined;
630
630
  */
631
631
  VideoSchema.prototype['fileName'] = undefined;
632
632
 
633
- /**
634
- * @member {String} contenttype
635
- */
636
- VideoSchema.prototype['contenttype'] = undefined;
637
-
638
633
  /**
639
634
  * @member {String} description
640
635
  */
641
636
  VideoSchema.prototype['description'] = undefined;
642
637
 
643
- /**
644
- * @member {String} url
645
- */
646
- VideoSchema.prototype['url'] = undefined;
647
-
648
638
  /**
649
639
  * @member {String} mainphoto
650
640
  */
@@ -675,6 +665,21 @@ VideoSchema.prototype['liveDuration'] = undefined;
675
665
  */
676
666
  VideoSchema.prototype['videoProcessingStatus'] = undefined;
677
667
 
668
+ /**
669
+ * @member {String} url
670
+ */
671
+ VideoSchema.prototype['url'] = undefined;
672
+
673
+ /**
674
+ * @member {Number} containerObjectType
675
+ */
676
+ VideoSchema.prototype['containerObjectType'] = undefined;
677
+
678
+ /**
679
+ * @member {Number} containerObjectID
680
+ */
681
+ VideoSchema.prototype['containerObjectID'] = undefined;
682
+
678
683
  /**
679
684
  * @member {Number} videoType
680
685
  */
@@ -696,14 +701,9 @@ VideoSchema.prototype['thumbnailImages'] = undefined;
696
701
  VideoSchema.prototype['hostKey'] = undefined;
697
702
 
698
703
  /**
699
- * @member {Number} containerObjectID
700
- */
701
- VideoSchema.prototype['containerObjectID'] = undefined;
702
-
703
- /**
704
- * @member {Number} containerObjectType
704
+ * @member {String} contenttype
705
705
  */
706
- VideoSchema.prototype['containerObjectType'] = undefined;
706
+ VideoSchema.prototype['contenttype'] = undefined;
707
707
 
708
708
  /**
709
709
  * @member {Object} data