@gobodo/gobodo-api 0.1.6 → 0.1.7
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.
- package/README.md +2 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +3 -3
- package/dist/api/GraphRelationshipsApi.js +3 -3
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/model/APIClient.js +19 -19
- package/dist/model/Article.js +41 -41
- package/dist/model/Authorization.js +2 -2
- package/dist/model/Comment.js +21 -21
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateCustomerResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +23 -23
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +41 -41
- package/dist/model/DocumentPart.js +47 -47
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +18 -18
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +18 -18
- package/dist/model/File.js +18 -18
- package/dist/model/FileAttachmentUploadObject.js +18 -18
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +32 -31
- package/dist/model/GraphAction.js +3 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +3 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.js +16 -15
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +25 -24
- package/dist/model/GraphObjectType.js +11 -10
- package/dist/model/GraphObjectTypeSchema.js +11 -10
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelation.js +3 -2
- package/dist/model/GraphRelationObjectObject.js +3 -2
- package/dist/model/GraphRelationship.js +3 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +23 -22
- package/dist/model/GraphSchema.js +11 -10
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +22 -22
- package/dist/model/ImageUploadObject.js +22 -22
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +13 -13
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +25 -25
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +13 -13
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +11 -10
- package/dist/model/Page.js +9 -9
- package/dist/model/PageSchema.js +23 -23
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/Post.js +10 -10
- package/dist/model/PrivateMessage.js +21 -21
- package/dist/model/PrivateMessageConversation.js +56 -56
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +9 -9
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +28 -27
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +18 -18
- package/dist/model/SocialGroup.js +16 -16
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/StatusUpdate.js +10 -10
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/User.js +13 -13
- package/dist/model/UserDataPayload.js +13 -13
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +13 -13
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Video.js +30 -30
- package/dist/model/VideoLiveUrl.js +13 -13
- package/dist/model/VideoSchema.js +38 -38
- package/dist/model/VideoUploadObject.js +30 -30
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +2 -2
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* Gobodo API
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.7
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* ThemeMappings service.
|
|
30
30
|
* @module api/ThemeMappingsApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.7
|
|
32
32
|
*/
|
|
33
33
|
var ThemeMappingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* Gobodo API
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Transactions service.
|
|
29
29
|
* @module api/TransactionsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.7
|
|
31
31
|
*/
|
|
32
32
|
var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/TwitterApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* Gobodo API
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Twitter service.
|
|
29
29
|
* @module api/TwitterApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.7
|
|
31
31
|
*/
|
|
32
32
|
var TwitterApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/UserTagsApi.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
* Gobodo API
|
|
19
19
|
* REST Interface for Gobodo API
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.7
|
|
22
22
|
* Contact: info@gobodo.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
29
29
|
/**
|
|
30
30
|
* UserTags service.
|
|
31
31
|
* @module api/UserTagsApi
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.7
|
|
33
33
|
*/
|
|
34
34
|
var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/UsersApi.js
CHANGED
|
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
21
21
|
* Gobodo API
|
|
22
22
|
* REST Interface for Gobodo API
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.7
|
|
25
25
|
* Contact: info@gobodo.io
|
|
26
26
|
*
|
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
32
32
|
/**
|
|
33
33
|
* Users service.
|
|
34
34
|
* @module api/UsersApi
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.7
|
|
36
36
|
*/
|
|
37
37
|
var UsersApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/UtilsApi.js
CHANGED
|
@@ -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.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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
|
* Utils service.
|
|
28
28
|
* @module api/UtilsApi
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.7
|
|
30
30
|
*/
|
|
31
31
|
var UtilsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/api/VideosApi.js
CHANGED
|
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
23
23
|
* Gobodo API
|
|
24
24
|
* REST Interface for Gobodo API
|
|
25
25
|
*
|
|
26
|
-
* The version of the OpenAPI document: 0.1.
|
|
26
|
+
* The version of the OpenAPI document: 0.1.7
|
|
27
27
|
* Contact: info@gobodo.io
|
|
28
28
|
*
|
|
29
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
34
34
|
/**
|
|
35
35
|
* Videos service.
|
|
36
36
|
* @module api/VideosApi
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.7
|
|
38
38
|
*/
|
|
39
39
|
var VideosApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
package/dist/model/APIClient.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* Gobodo API
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The APIClient model module.
|
|
29
29
|
* @module model/APIClient
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.7
|
|
31
31
|
*/
|
|
32
32
|
var APIClient = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -66,21 +66,21 @@ var APIClient = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('type')) {
|
|
67
67
|
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
|
|
68
68
|
}
|
|
69
|
+
if (data.hasOwnProperty('creator')) {
|
|
70
|
+
obj['creator'] = _User["default"].constructFromObject(data['creator']);
|
|
71
|
+
}
|
|
69
72
|
if (data.hasOwnProperty('apiKey')) {
|
|
70
73
|
obj['apiKey'] = _ApiClient["default"].convertToType(data['apiKey'], 'String');
|
|
71
74
|
}
|
|
72
75
|
if (data.hasOwnProperty('secretKey')) {
|
|
73
76
|
obj['secretKey'] = _ApiClient["default"].convertToType(data['secretKey'], 'String');
|
|
74
77
|
}
|
|
75
|
-
if (data.hasOwnProperty('
|
|
76
|
-
obj['
|
|
78
|
+
if (data.hasOwnProperty('users')) {
|
|
79
|
+
obj['users'] = _ApiClient["default"].convertToType(data['users'], [_User["default"]]);
|
|
77
80
|
}
|
|
78
81
|
if (data.hasOwnProperty('developers')) {
|
|
79
82
|
obj['developers'] = _ApiClient["default"].convertToType(data['developers'], [_User["default"]]);
|
|
80
83
|
}
|
|
81
|
-
if (data.hasOwnProperty('users')) {
|
|
82
|
-
obj['users'] = _ApiClient["default"].convertToType(data['users'], [_User["default"]]);
|
|
83
|
-
}
|
|
84
84
|
if (data.hasOwnProperty('data')) {
|
|
85
85
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
86
86
|
}
|
|
@@ -107,6 +107,11 @@ var APIClient = /*#__PURE__*/function () {
|
|
|
107
107
|
if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
|
|
108
108
|
throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
|
|
109
109
|
}
|
|
110
|
+
// validate the optional field `creator`
|
|
111
|
+
if (data['creator']) {
|
|
112
|
+
// data not null
|
|
113
|
+
_User["default"].validateJSON(data['creator']);
|
|
114
|
+
}
|
|
110
115
|
// ensure the json data is a string
|
|
111
116
|
if (data['apiKey'] && !(typeof data['apiKey'] === 'string' || data['apiKey'] instanceof String)) {
|
|
112
117
|
throw new Error("Expected the field `apiKey` to be a primitive type in the JSON string but got " + data['apiKey']);
|
|
@@ -115,11 +120,6 @@ var APIClient = /*#__PURE__*/function () {
|
|
|
115
120
|
if (data['secretKey'] && !(typeof data['secretKey'] === 'string' || data['secretKey'] instanceof String)) {
|
|
116
121
|
throw new Error("Expected the field `secretKey` to be a primitive type in the JSON string but got " + data['secretKey']);
|
|
117
122
|
}
|
|
118
|
-
// validate the optional field `creator`
|
|
119
|
-
if (data['creator']) {
|
|
120
|
-
// data not null
|
|
121
|
-
_User["default"].validateJSON(data['creator']);
|
|
122
|
-
}
|
|
123
123
|
return true;
|
|
124
124
|
}
|
|
125
125
|
}]);
|
|
@@ -135,6 +135,11 @@ APIClient.prototype['name'] = undefined;
|
|
|
135
135
|
*/
|
|
136
136
|
APIClient.prototype['type'] = undefined;
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* @member {module:model/User} creator
|
|
140
|
+
*/
|
|
141
|
+
APIClient.prototype['creator'] = undefined;
|
|
142
|
+
|
|
138
143
|
/**
|
|
139
144
|
* @member {String} apiKey
|
|
140
145
|
*/
|
|
@@ -146,20 +151,15 @@ APIClient.prototype['apiKey'] = undefined;
|
|
|
146
151
|
APIClient.prototype['secretKey'] = undefined;
|
|
147
152
|
|
|
148
153
|
/**
|
|
149
|
-
* @member {module:model/User}
|
|
154
|
+
* @member {Array.<module:model/User>} users
|
|
150
155
|
*/
|
|
151
|
-
APIClient.prototype['
|
|
156
|
+
APIClient.prototype['users'] = undefined;
|
|
152
157
|
|
|
153
158
|
/**
|
|
154
159
|
* @member {Array.<module:model/User>} developers
|
|
155
160
|
*/
|
|
156
161
|
APIClient.prototype['developers'] = undefined;
|
|
157
162
|
|
|
158
|
-
/**
|
|
159
|
-
* @member {Array.<module:model/User>} users
|
|
160
|
-
*/
|
|
161
|
-
APIClient.prototype['users'] = undefined;
|
|
162
|
-
|
|
163
163
|
/**
|
|
164
164
|
* @member {Object} data
|
|
165
165
|
*/
|
package/dist/model/Article.js
CHANGED
|
@@ -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.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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.
|
|
33
|
+
* @version 0.1.7
|
|
34
34
|
*/
|
|
35
35
|
var Article = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -63,11 +63,8 @@ var Article = /*#__PURE__*/function () {
|
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
65
|
obj = obj || new Article();
|
|
66
|
-
if (data.hasOwnProperty('
|
|
67
|
-
obj['
|
|
68
|
-
}
|
|
69
|
-
if (data.hasOwnProperty('expirationdate')) {
|
|
70
|
-
obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
|
|
66
|
+
if (data.hasOwnProperty('status')) {
|
|
67
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
71
68
|
}
|
|
72
69
|
if (data.hasOwnProperty('documenttype')) {
|
|
73
70
|
obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
|
|
@@ -75,18 +72,24 @@ var Article = /*#__PURE__*/function () {
|
|
|
75
72
|
if (data.hasOwnProperty('description')) {
|
|
76
73
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
77
74
|
}
|
|
78
|
-
if (data.hasOwnProperty('status')) {
|
|
79
|
-
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
80
|
-
}
|
|
81
75
|
if (data.hasOwnProperty('mainPhoto')) {
|
|
82
76
|
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
83
77
|
}
|
|
78
|
+
if (data.hasOwnProperty('entrypartarray')) {
|
|
79
|
+
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('expirationdate')) {
|
|
82
|
+
obj['expirationdate'] = _ApiClient["default"].convertToType(data['expirationdate'], 'Date');
|
|
83
|
+
}
|
|
84
84
|
if (data.hasOwnProperty('filterManager')) {
|
|
85
85
|
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
86
86
|
}
|
|
87
87
|
if (data.hasOwnProperty('pagecount')) {
|
|
88
88
|
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
89
89
|
}
|
|
90
|
+
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
91
|
+
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
92
|
+
}
|
|
90
93
|
if (data.hasOwnProperty('topentrypartarray')) {
|
|
91
94
|
obj['topentrypartarray'] = _GraphIteratorEntryPart["default"].constructFromObject(data['topentrypartarray']);
|
|
92
95
|
}
|
|
@@ -99,24 +102,21 @@ var Article = /*#__PURE__*/function () {
|
|
|
99
102
|
if (data.hasOwnProperty('contributors')) {
|
|
100
103
|
obj['contributors'] = _ApiClient["default"].convertToType(data['contributors'], [_User["default"]]);
|
|
101
104
|
}
|
|
102
|
-
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
103
|
-
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
104
|
-
}
|
|
105
105
|
if (data.hasOwnProperty('body')) {
|
|
106
106
|
obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
|
|
107
107
|
}
|
|
108
108
|
if (data.hasOwnProperty('creationdate')) {
|
|
109
109
|
obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
|
|
110
110
|
}
|
|
111
|
-
if (data.hasOwnProperty('modificationdate')) {
|
|
112
|
-
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
113
|
-
}
|
|
114
111
|
if (data.hasOwnProperty('creatorid')) {
|
|
115
112
|
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
116
113
|
}
|
|
117
114
|
if (data.hasOwnProperty('subject')) {
|
|
118
115
|
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
119
116
|
}
|
|
117
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
118
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
119
|
+
}
|
|
120
120
|
if (data.hasOwnProperty('modifier')) {
|
|
121
121
|
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
122
122
|
}
|
|
@@ -159,16 +159,16 @@ var Article = /*#__PURE__*/function () {
|
|
|
159
159
|
// data not null
|
|
160
160
|
_FilterManager["default"].validateJSON(data['filterManager']);
|
|
161
161
|
}
|
|
162
|
+
// ensure the json data is a string
|
|
163
|
+
if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
|
|
164
|
+
throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
|
|
165
|
+
}
|
|
162
166
|
// validate the optional field `topentrypartarray`
|
|
163
167
|
if (data['topentrypartarray']) {
|
|
164
168
|
// data not null
|
|
165
169
|
_GraphIteratorEntryPart["default"].validateJSON(data['topentrypartarray']);
|
|
166
170
|
}
|
|
167
171
|
// ensure the json data is a string
|
|
168
|
-
if (data['unfilteredSubject'] && !(typeof data['unfilteredSubject'] === 'string' || data['unfilteredSubject'] instanceof String)) {
|
|
169
|
-
throw new Error("Expected the field `unfilteredSubject` to be a primitive type in the JSON string but got " + data['unfilteredSubject']);
|
|
170
|
-
}
|
|
171
|
-
// ensure the json data is a string
|
|
172
172
|
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
173
173
|
throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
|
|
174
174
|
}
|
|
@@ -182,14 +182,9 @@ var Article = /*#__PURE__*/function () {
|
|
|
182
182
|
return Article;
|
|
183
183
|
}();
|
|
184
184
|
/**
|
|
185
|
-
* @member {
|
|
186
|
-
*/
|
|
187
|
-
Article.prototype['entrypartarray'] = undefined;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* @member {Date} expirationdate
|
|
185
|
+
* @member {Number} status
|
|
191
186
|
*/
|
|
192
|
-
Article.prototype['
|
|
187
|
+
Article.prototype['status'] = undefined;
|
|
193
188
|
|
|
194
189
|
/**
|
|
195
190
|
* @member {module:model/DocumentType} documenttype
|
|
@@ -202,14 +197,19 @@ Article.prototype['documenttype'] = undefined;
|
|
|
202
197
|
Article.prototype['description'] = undefined;
|
|
203
198
|
|
|
204
199
|
/**
|
|
205
|
-
* @member {
|
|
200
|
+
* @member {String} mainPhoto
|
|
206
201
|
*/
|
|
207
|
-
Article.prototype['
|
|
202
|
+
Article.prototype['mainPhoto'] = undefined;
|
|
208
203
|
|
|
209
204
|
/**
|
|
210
|
-
* @member {
|
|
205
|
+
* @member {Object} entrypartarray
|
|
211
206
|
*/
|
|
212
|
-
Article.prototype['
|
|
207
|
+
Article.prototype['entrypartarray'] = undefined;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @member {Date} expirationdate
|
|
211
|
+
*/
|
|
212
|
+
Article.prototype['expirationdate'] = undefined;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* @member {module:model/FilterManager} filterManager
|
|
@@ -221,6 +221,11 @@ Article.prototype['filterManager'] = undefined;
|
|
|
221
221
|
*/
|
|
222
222
|
Article.prototype['pagecount'] = undefined;
|
|
223
223
|
|
|
224
|
+
/**
|
|
225
|
+
* @member {String} unfilteredSubject
|
|
226
|
+
*/
|
|
227
|
+
Article.prototype['unfilteredSubject'] = undefined;
|
|
228
|
+
|
|
224
229
|
/**
|
|
225
230
|
* @member {module:model/GraphIteratorEntryPart} topentrypartarray
|
|
226
231
|
*/
|
|
@@ -241,11 +246,6 @@ Article.prototype['keywords'] = undefined;
|
|
|
241
246
|
*/
|
|
242
247
|
Article.prototype['contributors'] = undefined;
|
|
243
248
|
|
|
244
|
-
/**
|
|
245
|
-
* @member {String} unfilteredSubject
|
|
246
|
-
*/
|
|
247
|
-
Article.prototype['unfilteredSubject'] = undefined;
|
|
248
|
-
|
|
249
249
|
/**
|
|
250
250
|
* @member {String} body
|
|
251
251
|
*/
|
|
@@ -256,11 +256,6 @@ Article.prototype['body'] = undefined;
|
|
|
256
256
|
*/
|
|
257
257
|
Article.prototype['creationdate'] = undefined;
|
|
258
258
|
|
|
259
|
-
/**
|
|
260
|
-
* @member {Date} modificationdate
|
|
261
|
-
*/
|
|
262
|
-
Article.prototype['modificationdate'] = undefined;
|
|
263
|
-
|
|
264
259
|
/**
|
|
265
260
|
* @member {Number} creatorid
|
|
266
261
|
*/
|
|
@@ -271,6 +266,11 @@ Article.prototype['creatorid'] = undefined;
|
|
|
271
266
|
*/
|
|
272
267
|
Article.prototype['subject'] = undefined;
|
|
273
268
|
|
|
269
|
+
/**
|
|
270
|
+
* @member {Date} modificationdate
|
|
271
|
+
*/
|
|
272
|
+
Article.prototype['modificationdate'] = undefined;
|
|
273
|
+
|
|
274
274
|
/**
|
|
275
275
|
* @member {Number} modifier
|
|
276
276
|
*/
|
|
@@ -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.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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.
|
|
29
|
+
* @version 0.1.7
|
|
30
30
|
*/
|
|
31
31
|
var Authorization = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Comment.js
CHANGED
|
@@ -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.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.7
|
|
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 Comment model module.
|
|
28
28
|
* @module model/Comment
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.7
|
|
30
30
|
*/
|
|
31
31
|
var Comment = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -68,12 +68,12 @@ var Comment = /*#__PURE__*/function () {
|
|
|
68
68
|
if (data.hasOwnProperty('anonymous')) {
|
|
69
69
|
obj['anonymous'] = _ApiClient["default"].convertToType(data['anonymous'], 'Boolean');
|
|
70
70
|
}
|
|
71
|
-
if (data.hasOwnProperty('unfilteredmessage')) {
|
|
72
|
-
obj['unfilteredmessage'] = _ApiClient["default"].convertToType(data['unfilteredmessage'], 'String');
|
|
73
|
-
}
|
|
74
71
|
if (data.hasOwnProperty('unfilteredsubject')) {
|
|
75
72
|
obj['unfilteredsubject'] = _ApiClient["default"].convertToType(data['unfilteredsubject'], 'String');
|
|
76
73
|
}
|
|
74
|
+
if (data.hasOwnProperty('unfilteredmessage')) {
|
|
75
|
+
obj['unfilteredmessage'] = _ApiClient["default"].convertToType(data['unfilteredmessage'], 'String');
|
|
76
|
+
}
|
|
77
77
|
if (data.hasOwnProperty('parentComment')) {
|
|
78
78
|
obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
|
|
79
79
|
}
|
|
@@ -86,15 +86,15 @@ var Comment = /*#__PURE__*/function () {
|
|
|
86
86
|
if (data.hasOwnProperty('creationdate')) {
|
|
87
87
|
obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
|
|
88
88
|
}
|
|
89
|
-
if (data.hasOwnProperty('modificationdate')) {
|
|
90
|
-
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
91
|
-
}
|
|
92
89
|
if (data.hasOwnProperty('creatorid')) {
|
|
93
90
|
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
94
91
|
}
|
|
95
92
|
if (data.hasOwnProperty('subject')) {
|
|
96
93
|
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
97
94
|
}
|
|
95
|
+
if (data.hasOwnProperty('modificationdate')) {
|
|
96
|
+
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
97
|
+
}
|
|
98
98
|
if (data.hasOwnProperty('modifier')) {
|
|
99
99
|
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
100
100
|
}
|
|
@@ -119,15 +119,15 @@ var Comment = /*#__PURE__*/function () {
|
|
|
119
119
|
}, {
|
|
120
120
|
key: "validateJSON",
|
|
121
121
|
value: function validateJSON(data) {
|
|
122
|
-
// ensure the json data is a string
|
|
123
|
-
if (data['unfilteredmessage'] && !(typeof data['unfilteredmessage'] === 'string' || data['unfilteredmessage'] instanceof String)) {
|
|
124
|
-
throw new Error("Expected the field `unfilteredmessage` to be a primitive type in the JSON string but got " + data['unfilteredmessage']);
|
|
125
|
-
}
|
|
126
122
|
// ensure the json data is a string
|
|
127
123
|
if (data['unfilteredsubject'] && !(typeof data['unfilteredsubject'] === 'string' || data['unfilteredsubject'] instanceof String)) {
|
|
128
124
|
throw new Error("Expected the field `unfilteredsubject` to be a primitive type in the JSON string but got " + data['unfilteredsubject']);
|
|
129
125
|
}
|
|
130
126
|
// ensure the json data is a string
|
|
127
|
+
if (data['unfilteredmessage'] && !(typeof data['unfilteredmessage'] === 'string' || data['unfilteredmessage'] instanceof String)) {
|
|
128
|
+
throw new Error("Expected the field `unfilteredmessage` to be a primitive type in the JSON string but got " + data['unfilteredmessage']);
|
|
129
|
+
}
|
|
130
|
+
// ensure the json data is a string
|
|
131
131
|
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
132
132
|
throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
|
|
133
133
|
}
|
|
@@ -156,14 +156,14 @@ Comment.prototype['parentid'] = undefined;
|
|
|
156
156
|
Comment.prototype['anonymous'] = undefined;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* @member {String}
|
|
159
|
+
* @member {String} unfilteredsubject
|
|
160
160
|
*/
|
|
161
|
-
Comment.prototype['
|
|
161
|
+
Comment.prototype['unfilteredsubject'] = undefined;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* @member {String}
|
|
164
|
+
* @member {String} unfilteredmessage
|
|
165
165
|
*/
|
|
166
|
-
Comment.prototype['
|
|
166
|
+
Comment.prototype['unfilteredmessage'] = undefined;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* @member {Number} parentComment
|
|
@@ -185,11 +185,6 @@ Comment.prototype['body'] = undefined;
|
|
|
185
185
|
*/
|
|
186
186
|
Comment.prototype['creationdate'] = undefined;
|
|
187
187
|
|
|
188
|
-
/**
|
|
189
|
-
* @member {Date} modificationdate
|
|
190
|
-
*/
|
|
191
|
-
Comment.prototype['modificationdate'] = undefined;
|
|
192
|
-
|
|
193
188
|
/**
|
|
194
189
|
* @member {Number} creatorid
|
|
195
190
|
*/
|
|
@@ -200,6 +195,11 @@ Comment.prototype['creatorid'] = undefined;
|
|
|
200
195
|
*/
|
|
201
196
|
Comment.prototype['subject'] = undefined;
|
|
202
197
|
|
|
198
|
+
/**
|
|
199
|
+
* @member {Date} modificationdate
|
|
200
|
+
*/
|
|
201
|
+
Comment.prototype['modificationdate'] = undefined;
|
|
202
|
+
|
|
203
203
|
/**
|
|
204
204
|
* @member {Number} modifier
|
|
205
205
|
*/
|