@gobodo/gobodo-api 0.1.6 → 0.1.8
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 +42 -42
- package/dist/model/Authorization.js +2 -2
- package/dist/model/Comment.js +18 -18
- 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 +56 -56
- package/dist/model/DataSheetImportPrivacySettings.js +9 -9
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +42 -42
- package/dist/model/DocumentPart.js +45 -45
- package/dist/model/DocumentPartType.js +9 -9
- package/dist/model/DocumentType.js +18 -18
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +16 -16
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- 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 +28 -27
- package/dist/model/GraphAction.js +10 -9
- 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 +20 -19
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +29 -28
- 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 +12 -11
- package/dist/model/GraphRelationObjectObject.js +12 -11
- package/dist/model/GraphRelationship.js +12 -11
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +12 -11
- package/dist/model/GraphSchema.js +39 -38
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +17 -17
- package/dist/model/ImageUploadObject.js +17 -17
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +24 -24
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +30 -30
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +14 -14
- package/dist/model/Member.js +22 -22
- 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 +26 -26
- 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 +58 -58
- 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 +32 -31
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +16 -16
- package/dist/model/SocialGroup.js +10 -10
- package/dist/model/SocialGroupType.js +2 -2
- 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 +22 -22
- package/dist/model/UserDataPayload.js +22 -22
- 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 +22 -22
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Video.js +37 -37
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +45 -45
- package/dist/model/VideoUploadObject.js +37 -37
- 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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
34
34
|
*/
|
|
35
35
|
var Article = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -63,6 +63,12 @@ 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('description')) {
|
|
67
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('status')) {
|
|
70
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
71
|
+
}
|
|
66
72
|
if (data.hasOwnProperty('entrypartarray')) {
|
|
67
73
|
obj['entrypartarray'] = _ApiClient["default"].convertToType(data['entrypartarray'], Object);
|
|
68
74
|
}
|
|
@@ -72,18 +78,15 @@ var Article = /*#__PURE__*/function () {
|
|
|
72
78
|
if (data.hasOwnProperty('documenttype')) {
|
|
73
79
|
obj['documenttype'] = _DocumentType["default"].constructFromObject(data['documenttype']);
|
|
74
80
|
}
|
|
75
|
-
if (data.hasOwnProperty('description')) {
|
|
76
|
-
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
77
|
-
}
|
|
78
|
-
if (data.hasOwnProperty('status')) {
|
|
79
|
-
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
80
|
-
}
|
|
81
81
|
if (data.hasOwnProperty('mainPhoto')) {
|
|
82
82
|
obj['mainPhoto'] = _ApiClient["default"].convertToType(data['mainPhoto'], 'String');
|
|
83
83
|
}
|
|
84
84
|
if (data.hasOwnProperty('filterManager')) {
|
|
85
85
|
obj['filterManager'] = _FilterManager["default"].constructFromObject(data['filterManager']);
|
|
86
86
|
}
|
|
87
|
+
if (data.hasOwnProperty('unfilteredSubject')) {
|
|
88
|
+
obj['unfilteredSubject'] = _ApiClient["default"].convertToType(data['unfilteredSubject'], 'String');
|
|
89
|
+
}
|
|
87
90
|
if (data.hasOwnProperty('pagecount')) {
|
|
88
91
|
obj['pagecount'] = _ApiClient["default"].convertToType(data['pagecount'], 'Number');
|
|
89
92
|
}
|
|
@@ -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('subject')) {
|
|
112
|
+
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
113
|
+
}
|
|
111
114
|
if (data.hasOwnProperty('modificationdate')) {
|
|
112
115
|
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
113
116
|
}
|
|
114
117
|
if (data.hasOwnProperty('creatorid')) {
|
|
115
118
|
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
116
119
|
}
|
|
117
|
-
if (data.hasOwnProperty('subject')) {
|
|
118
|
-
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
119
|
-
}
|
|
120
120
|
if (data.hasOwnProperty('modifier')) {
|
|
121
121
|
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
122
122
|
}
|
|
@@ -141,16 +141,16 @@ var Article = /*#__PURE__*/function () {
|
|
|
141
141
|
}, {
|
|
142
142
|
key: "validateJSON",
|
|
143
143
|
value: function validateJSON(data) {
|
|
144
|
+
// ensure the json data is a string
|
|
145
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
146
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
147
|
+
}
|
|
144
148
|
// validate the optional field `documenttype`
|
|
145
149
|
if (data['documenttype']) {
|
|
146
150
|
// data not null
|
|
147
151
|
_DocumentType["default"].validateJSON(data['documenttype']);
|
|
148
152
|
}
|
|
149
153
|
// ensure the json data is a string
|
|
150
|
-
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
151
|
-
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
152
|
-
}
|
|
153
|
-
// ensure the json data is a string
|
|
154
154
|
if (data['mainPhoto'] && !(typeof data['mainPhoto'] === 'string' || data['mainPhoto'] instanceof String)) {
|
|
155
155
|
throw new Error("Expected the field `mainPhoto` to be a primitive type in the JSON string but got " + data['mainPhoto']);
|
|
156
156
|
}
|
|
@@ -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,29 +182,29 @@ var Article = /*#__PURE__*/function () {
|
|
|
182
182
|
return Article;
|
|
183
183
|
}();
|
|
184
184
|
/**
|
|
185
|
-
* @member {
|
|
185
|
+
* @member {String} description
|
|
186
186
|
*/
|
|
187
|
-
Article.prototype['
|
|
187
|
+
Article.prototype['description'] = undefined;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* @member {
|
|
190
|
+
* @member {Number} status
|
|
191
191
|
*/
|
|
192
|
-
Article.prototype['
|
|
192
|
+
Article.prototype['status'] = undefined;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* @member {
|
|
195
|
+
* @member {Object} entrypartarray
|
|
196
196
|
*/
|
|
197
|
-
Article.prototype['
|
|
197
|
+
Article.prototype['entrypartarray'] = undefined;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* @member {
|
|
200
|
+
* @member {Date} expirationdate
|
|
201
201
|
*/
|
|
202
|
-
Article.prototype['
|
|
202
|
+
Article.prototype['expirationdate'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* @member {
|
|
205
|
+
* @member {module:model/DocumentType} documenttype
|
|
206
206
|
*/
|
|
207
|
-
Article.prototype['
|
|
207
|
+
Article.prototype['documenttype'] = undefined;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* @member {String} mainPhoto
|
|
@@ -216,6 +216,11 @@ Article.prototype['mainPhoto'] = undefined;
|
|
|
216
216
|
*/
|
|
217
217
|
Article.prototype['filterManager'] = undefined;
|
|
218
218
|
|
|
219
|
+
/**
|
|
220
|
+
* @member {String} unfilteredSubject
|
|
221
|
+
*/
|
|
222
|
+
Article.prototype['unfilteredSubject'] = undefined;
|
|
223
|
+
|
|
219
224
|
/**
|
|
220
225
|
* @member {Number} pagecount
|
|
221
226
|
*/
|
|
@@ -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,6 +256,11 @@ Article.prototype['body'] = undefined;
|
|
|
256
256
|
*/
|
|
257
257
|
Article.prototype['creationdate'] = undefined;
|
|
258
258
|
|
|
259
|
+
/**
|
|
260
|
+
* @member {String} subject
|
|
261
|
+
*/
|
|
262
|
+
Article.prototype['subject'] = undefined;
|
|
263
|
+
|
|
259
264
|
/**
|
|
260
265
|
* @member {Date} modificationdate
|
|
261
266
|
*/
|
|
@@ -266,11 +271,6 @@ Article.prototype['modificationdate'] = undefined;
|
|
|
266
271
|
*/
|
|
267
272
|
Article.prototype['creatorid'] = undefined;
|
|
268
273
|
|
|
269
|
-
/**
|
|
270
|
-
* @member {String} subject
|
|
271
|
-
*/
|
|
272
|
-
Article.prototype['subject'] = 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.8
|
|
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.8
|
|
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.8
|
|
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.8
|
|
30
30
|
*/
|
|
31
31
|
var Comment = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -68,15 +68,15 @@ 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('parentComment')) {
|
|
72
|
+
obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
|
|
73
|
+
}
|
|
71
74
|
if (data.hasOwnProperty('unfilteredmessage')) {
|
|
72
75
|
obj['unfilteredmessage'] = _ApiClient["default"].convertToType(data['unfilteredmessage'], 'String');
|
|
73
76
|
}
|
|
74
77
|
if (data.hasOwnProperty('unfilteredsubject')) {
|
|
75
78
|
obj['unfilteredsubject'] = _ApiClient["default"].convertToType(data['unfilteredsubject'], 'String');
|
|
76
79
|
}
|
|
77
|
-
if (data.hasOwnProperty('parentComment')) {
|
|
78
|
-
obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
|
|
79
|
-
}
|
|
80
80
|
if (data.hasOwnProperty('replies')) {
|
|
81
81
|
obj['replies'] = _ApiClient["default"].convertToType(data['replies'], Object);
|
|
82
82
|
}
|
|
@@ -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('subject')) {
|
|
90
|
+
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
91
|
+
}
|
|
89
92
|
if (data.hasOwnProperty('modificationdate')) {
|
|
90
93
|
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
91
94
|
}
|
|
92
95
|
if (data.hasOwnProperty('creatorid')) {
|
|
93
96
|
obj['creatorid'] = _ApiClient["default"].convertToType(data['creatorid'], 'Number');
|
|
94
97
|
}
|
|
95
|
-
if (data.hasOwnProperty('subject')) {
|
|
96
|
-
obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
|
|
97
|
-
}
|
|
98
98
|
if (data.hasOwnProperty('modifier')) {
|
|
99
99
|
obj['modifier'] = _ApiClient["default"].convertToType(data['modifier'], 'Number');
|
|
100
100
|
}
|
|
@@ -155,6 +155,11 @@ Comment.prototype['parentid'] = undefined;
|
|
|
155
155
|
*/
|
|
156
156
|
Comment.prototype['anonymous'] = undefined;
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* @member {Number} parentComment
|
|
160
|
+
*/
|
|
161
|
+
Comment.prototype['parentComment'] = undefined;
|
|
162
|
+
|
|
158
163
|
/**
|
|
159
164
|
* @member {String} unfilteredmessage
|
|
160
165
|
*/
|
|
@@ -165,11 +170,6 @@ Comment.prototype['unfilteredmessage'] = undefined;
|
|
|
165
170
|
*/
|
|
166
171
|
Comment.prototype['unfilteredsubject'] = undefined;
|
|
167
172
|
|
|
168
|
-
/**
|
|
169
|
-
* @member {Number} parentComment
|
|
170
|
-
*/
|
|
171
|
-
Comment.prototype['parentComment'] = undefined;
|
|
172
|
-
|
|
173
173
|
/**
|
|
174
174
|
* @member {Object} replies
|
|
175
175
|
*/
|
|
@@ -185,6 +185,11 @@ Comment.prototype['body'] = undefined;
|
|
|
185
185
|
*/
|
|
186
186
|
Comment.prototype['creationdate'] = undefined;
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* @member {String} subject
|
|
190
|
+
*/
|
|
191
|
+
Comment.prototype['subject'] = undefined;
|
|
192
|
+
|
|
188
193
|
/**
|
|
189
194
|
* @member {Date} modificationdate
|
|
190
195
|
*/
|
|
@@ -195,11 +200,6 @@ Comment.prototype['modificationdate'] = undefined;
|
|
|
195
200
|
*/
|
|
196
201
|
Comment.prototype['creatorid'] = undefined;
|
|
197
202
|
|
|
198
|
-
/**
|
|
199
|
-
* @member {String} subject
|
|
200
|
-
*/
|
|
201
|
-
Comment.prototype['subject'] = undefined;
|
|
202
|
-
|
|
203
203
|
/**
|
|
204
204
|
* @member {Number} modifier
|
|
205
205
|
*/
|
|
@@ -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.8
|
|
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 Coordinates model module.
|
|
28
28
|
* @module model/Coordinates
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.8
|
|
30
30
|
*/
|
|
31
31
|
var Coordinates = /*#__PURE__*/function () {
|
|
32
32
|
/**
|