@gobodo/gobodo-api 0.1.86 → 0.1.87
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 +40 -37
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +8 -8
- package/dist/api/AdManagementApi.js +19 -19
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +13 -13
- package/dist/api/AttachmentsApi.js +7 -7
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +7 -7
- package/dist/api/CommentsApi.js +7 -7
- package/dist/api/ContentManagementApi.js +12 -12
- package/dist/api/ConversationsApi.js +7 -7
- package/dist/api/CurrencyApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +7 -7
- package/dist/api/DefaultApi.js +13 -13
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.js +2 -2
- package/dist/api/DocumentsApi.js +7 -7
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +7 -7
- 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 +17 -17
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GobodoManagementApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.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 +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +96 -37
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +6 -5
- package/dist/api/GroupsApi.js +7 -7
- package/dist/api/IAMApi.js +13 -13
- package/dist/api/ImagesApi.js +7 -7
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +7 -7
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.js +7 -7
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.js +7 -7
- package/dist/api/PrivateMessagesApi.js +18 -18
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.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 +8 -8
- package/dist/api/TopicsApi.js +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +7 -7
- package/dist/api/UsersApi.js +7 -7
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +7 -7
- package/dist/api/WalletsApi.js +2 -2
- package/dist/index.js +14 -0
- package/dist/model/APIClient.js +2 -2
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.js +43 -43
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +2 -2
- package/dist/model/ConsoleProjectInput.js +2 -2
- package/dist/model/ConsoleProjectResponse.js +2 -2
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.js +2 -2
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.js +2 -2
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +28 -28
- package/dist/model/DocumentPartType.js +2 -2
- package/dist/model/DocumentType.js +16 -16
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +10 -10
- 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 +9 -9
- package/dist/model/Form.js +21 -21
- package/dist/model/FormSection.js +21 -21
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.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/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.js +13 -13
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +11 -11
- package/dist/model/GraphObjectType.js +10 -10
- package/dist/model/GraphObjectTypeInput.js +2 -2
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +10 -10
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +14 -14
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphSchema.js +26 -26
- package/dist/model/GraphSchemaInput.js +2 -2
- package/dist/model/GraphSchemaResponse.js +315 -0
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +10 -10
- package/dist/model/ImageUploadObject.js +10 -10
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.js +13 -13
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +14 -14
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +2 -2
- 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/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.js +10 -10
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +2 -2
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.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/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +2 -2
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +10 -10
- package/dist/model/PrivateMessageConversation.js +10 -10
- 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 +2 -2
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.js +10 -10
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- 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/TemplateResponse.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/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +2 -2
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +2 -2
- package/dist/model/UserDataPayload.js +2 -2
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserResponse.js +304 -0
- package/dist/model/UserSchema.js +2 -2
- package/dist/model/UserTag.js +15 -15
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +2 -2
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +9 -9
- package/dist/model/VideoUploadObject.js +2 -2
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The DocumentPart model module.
|
|
34
34
|
* @module model/DocumentPart
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.87
|
|
36
36
|
*/
|
|
37
37
|
var DocumentPart = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -68,12 +68,12 @@ var DocumentPart = /*#__PURE__*/function () {
|
|
|
68
68
|
if (data.hasOwnProperty('documentparts')) {
|
|
69
69
|
obj['documentparts'] = _ApiClient["default"].convertToType(data['documentparts'], [DocumentPart]);
|
|
70
70
|
}
|
|
71
|
-
if (data.hasOwnProperty('creatorpageid')) {
|
|
72
|
-
obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
|
|
73
|
-
}
|
|
74
71
|
if (data.hasOwnProperty('documentparttypeid')) {
|
|
75
72
|
obj['documentparttypeid'] = _ApiClient["default"].convertToType(data['documentparttypeid'], 'Number');
|
|
76
73
|
}
|
|
74
|
+
if (data.hasOwnProperty('creatorpageid')) {
|
|
75
|
+
obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
|
|
76
|
+
}
|
|
77
77
|
if (data.hasOwnProperty('parentid')) {
|
|
78
78
|
obj['parentid'] = _ApiClient["default"].convertToType(data['parentid'], 'Number');
|
|
79
79
|
}
|
|
@@ -86,24 +86,24 @@ var DocumentPart = /*#__PURE__*/function () {
|
|
|
86
86
|
if (data.hasOwnProperty('title')) {
|
|
87
87
|
obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
|
|
88
88
|
}
|
|
89
|
+
if (data.hasOwnProperty('creator')) {
|
|
90
|
+
obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'String');
|
|
91
|
+
}
|
|
89
92
|
if (data.hasOwnProperty('status')) {
|
|
90
93
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
91
94
|
}
|
|
95
|
+
if (data.hasOwnProperty('childentryparts')) {
|
|
96
|
+
obj['childentryparts'] = _ApiClient["default"].convertToType(data['childentryparts'], Object);
|
|
97
|
+
}
|
|
92
98
|
if (data.hasOwnProperty('documentparttype')) {
|
|
93
99
|
obj['documentparttype'] = _DocumentPartType["default"].constructFromObject(data['documentparttype']);
|
|
94
100
|
}
|
|
95
|
-
if (data.hasOwnProperty('creator')) {
|
|
96
|
-
obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'String');
|
|
97
|
-
}
|
|
98
101
|
if (data.hasOwnProperty('articleid')) {
|
|
99
102
|
obj['articleid'] = _ApiClient["default"].convertToType(data['articleid'], 'Number');
|
|
100
103
|
}
|
|
101
104
|
if (data.hasOwnProperty('childentrypartcount')) {
|
|
102
105
|
obj['childentrypartcount'] = _ApiClient["default"].convertToType(data['childentrypartcount'], 'Number');
|
|
103
106
|
}
|
|
104
|
-
if (data.hasOwnProperty('childentryparts')) {
|
|
105
|
-
obj['childentryparts'] = _ApiClient["default"].convertToType(data['childentryparts'], Object);
|
|
106
|
-
}
|
|
107
107
|
if (data.hasOwnProperty('modificationdate')) {
|
|
108
108
|
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
109
109
|
}
|
|
@@ -163,15 +163,15 @@ var DocumentPart = /*#__PURE__*/function () {
|
|
|
163
163
|
if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
|
|
164
164
|
throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
|
|
165
165
|
}
|
|
166
|
+
// ensure the json data is a string
|
|
167
|
+
if (data['creator'] && !(typeof data['creator'] === 'string' || data['creator'] instanceof String)) {
|
|
168
|
+
throw new Error("Expected the field `creator` to be a primitive type in the JSON string but got " + data['creator']);
|
|
169
|
+
}
|
|
166
170
|
// validate the optional field `documentparttype`
|
|
167
171
|
if (data['documentparttype']) {
|
|
168
172
|
// data not null
|
|
169
173
|
_DocumentPartType["default"].validateJSON(data['documentparttype']);
|
|
170
174
|
}
|
|
171
|
-
// ensure the json data is a string
|
|
172
|
-
if (data['creator'] && !(typeof data['creator'] === 'string' || data['creator'] instanceof String)) {
|
|
173
|
-
throw new Error("Expected the field `creator` to be a primitive type in the JSON string but got " + data['creator']);
|
|
174
|
-
}
|
|
175
175
|
// validate the optional field `mainPhoto`
|
|
176
176
|
if (data['mainPhoto']) {
|
|
177
177
|
// data not null
|
|
@@ -196,14 +196,14 @@ var DocumentPart = /*#__PURE__*/function () {
|
|
|
196
196
|
DocumentPart.prototype['documentparts'] = undefined;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* @member {Number}
|
|
199
|
+
* @member {Number} documentparttypeid
|
|
200
200
|
*/
|
|
201
|
-
DocumentPart.prototype['
|
|
201
|
+
DocumentPart.prototype['documentparttypeid'] = undefined;
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
|
-
* @member {Number}
|
|
204
|
+
* @member {Number} creatorpageid
|
|
205
205
|
*/
|
|
206
|
-
DocumentPart.prototype['
|
|
206
|
+
DocumentPart.prototype['creatorpageid'] = undefined;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* @member {Number} parentid
|
|
@@ -225,20 +225,25 @@ DocumentPart.prototype['creationdate'] = undefined;
|
|
|
225
225
|
*/
|
|
226
226
|
DocumentPart.prototype['title'] = undefined;
|
|
227
227
|
|
|
228
|
+
/**
|
|
229
|
+
* @member {String} creator
|
|
230
|
+
*/
|
|
231
|
+
DocumentPart.prototype['creator'] = undefined;
|
|
232
|
+
|
|
228
233
|
/**
|
|
229
234
|
* @member {Number} status
|
|
230
235
|
*/
|
|
231
236
|
DocumentPart.prototype['status'] = undefined;
|
|
232
237
|
|
|
233
238
|
/**
|
|
234
|
-
* @member {
|
|
239
|
+
* @member {Object} childentryparts
|
|
235
240
|
*/
|
|
236
|
-
DocumentPart.prototype['
|
|
241
|
+
DocumentPart.prototype['childentryparts'] = undefined;
|
|
237
242
|
|
|
238
243
|
/**
|
|
239
|
-
* @member {
|
|
244
|
+
* @member {module:model/DocumentPartType} documentparttype
|
|
240
245
|
*/
|
|
241
|
-
DocumentPart.prototype['
|
|
246
|
+
DocumentPart.prototype['documentparttype'] = undefined;
|
|
242
247
|
|
|
243
248
|
/**
|
|
244
249
|
* @member {Number} articleid
|
|
@@ -250,11 +255,6 @@ DocumentPart.prototype['articleid'] = undefined;
|
|
|
250
255
|
*/
|
|
251
256
|
DocumentPart.prototype['childentrypartcount'] = undefined;
|
|
252
257
|
|
|
253
|
-
/**
|
|
254
|
-
* @member {Object} childentryparts
|
|
255
|
-
*/
|
|
256
|
-
DocumentPart.prototype['childentryparts'] = undefined;
|
|
257
|
-
|
|
258
258
|
/**
|
|
259
259
|
* @member {Date} modificationdate
|
|
260
260
|
*/
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DocumentPartType model module.
|
|
30
30
|
* @module model/DocumentPartType
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.87
|
|
32
32
|
*/
|
|
33
33
|
var DocumentPartType = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DocumentType model module.
|
|
30
30
|
* @module model/DocumentType
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.87
|
|
32
32
|
*/
|
|
33
33
|
var DocumentType = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -82,18 +82,18 @@ var DocumentType = /*#__PURE__*/function () {
|
|
|
82
82
|
if (data.hasOwnProperty('graphObjectType')) {
|
|
83
83
|
obj['graphObjectType'] = _GraphObjectType["default"].constructFromObject(data['graphObjectType']);
|
|
84
84
|
}
|
|
85
|
-
if (data.hasOwnProperty('singlePart')) {
|
|
86
|
-
obj['singlePart'] = _ApiClient["default"].convertToType(data['singlePart'], 'Boolean');
|
|
87
|
-
}
|
|
88
|
-
if (data.hasOwnProperty('entryPartTypes')) {
|
|
89
|
-
obj['entryPartTypes'] = _ApiClient["default"].convertToType(data['entryPartTypes'], Object);
|
|
90
|
-
}
|
|
91
85
|
if (data.hasOwnProperty('childTypes')) {
|
|
92
86
|
obj['childTypes'] = _ApiClient["default"].convertToType(data['childTypes'], Object);
|
|
93
87
|
}
|
|
94
88
|
if (data.hasOwnProperty('singleDescription')) {
|
|
95
89
|
obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
|
|
96
90
|
}
|
|
91
|
+
if (data.hasOwnProperty('singlePart')) {
|
|
92
|
+
obj['singlePart'] = _ApiClient["default"].convertToType(data['singlePart'], 'Boolean');
|
|
93
|
+
}
|
|
94
|
+
if (data.hasOwnProperty('entryPartTypes')) {
|
|
95
|
+
obj['entryPartTypes'] = _ApiClient["default"].convertToType(data['entryPartTypes'], Object);
|
|
96
|
+
}
|
|
97
97
|
if (data.hasOwnProperty('mediaItem')) {
|
|
98
98
|
obj['mediaItem'] = _ApiClient["default"].convertToType(data['mediaItem'], 'Boolean');
|
|
99
99
|
}
|
|
@@ -182,24 +182,24 @@ DocumentType.prototype['searchable'] = undefined;
|
|
|
182
182
|
DocumentType.prototype['graphObjectType'] = undefined;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* @member {
|
|
185
|
+
* @member {Object} childTypes
|
|
186
186
|
*/
|
|
187
|
-
DocumentType.prototype['
|
|
187
|
+
DocumentType.prototype['childTypes'] = undefined;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* @member {
|
|
190
|
+
* @member {String} singleDescription
|
|
191
191
|
*/
|
|
192
|
-
DocumentType.prototype['
|
|
192
|
+
DocumentType.prototype['singleDescription'] = undefined;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* @member {
|
|
195
|
+
* @member {Boolean} singlePart
|
|
196
196
|
*/
|
|
197
|
-
DocumentType.prototype['
|
|
197
|
+
DocumentType.prototype['singlePart'] = undefined;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* @member {
|
|
200
|
+
* @member {Object} entryPartTypes
|
|
201
201
|
*/
|
|
202
|
-
DocumentType.prototype['
|
|
202
|
+
DocumentType.prototype['entryPartTypes'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* @member {Boolean} mediaItem
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The EmailAddress model module.
|
|
28
28
|
* @module model/EmailAddress
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.87
|
|
30
30
|
*/
|
|
31
31
|
var EmailAddress = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FieldMapping model module.
|
|
28
28
|
* @module model/FieldMapping
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.87
|
|
30
30
|
*/
|
|
31
31
|
var FieldMapping = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Fields.js
CHANGED
|
@@ -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.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.87
|
|
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 Fields model module.
|
|
29
29
|
* @module model/Fields
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.87
|
|
31
31
|
*/
|
|
32
32
|
var Fields = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -69,15 +69,15 @@ var Fields = /*#__PURE__*/function () {
|
|
|
69
69
|
if (data.hasOwnProperty('currencySymbol')) {
|
|
70
70
|
obj['currencySymbol'] = _ApiClient["default"].convertToType(data['currencySymbol'], 'String');
|
|
71
71
|
}
|
|
72
|
+
if (data.hasOwnProperty('precision')) {
|
|
73
|
+
obj['precision'] = _ApiClient["default"].convertToType(data['precision'], 'Number');
|
|
74
|
+
}
|
|
72
75
|
if (data.hasOwnProperty('label')) {
|
|
73
76
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
|
74
77
|
}
|
|
75
78
|
if (data.hasOwnProperty('options')) {
|
|
76
79
|
obj['options'] = _ApiClient["default"].convertToType(data['options'], Object);
|
|
77
80
|
}
|
|
78
|
-
if (data.hasOwnProperty('precision')) {
|
|
79
|
-
obj['precision'] = _ApiClient["default"].convertToType(data['precision'], 'Number');
|
|
80
|
-
}
|
|
81
81
|
if (data.hasOwnProperty('description')) {
|
|
82
82
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
83
83
|
}
|
|
@@ -171,6 +171,11 @@ Fields.prototype['type'] = undefined;
|
|
|
171
171
|
*/
|
|
172
172
|
Fields.prototype['currencySymbol'] = undefined;
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* @member {Number} precision
|
|
176
|
+
*/
|
|
177
|
+
Fields.prototype['precision'] = undefined;
|
|
178
|
+
|
|
174
179
|
/**
|
|
175
180
|
* @member {String} label
|
|
176
181
|
*/
|
|
@@ -181,11 +186,6 @@ Fields.prototype['label'] = undefined;
|
|
|
181
186
|
*/
|
|
182
187
|
Fields.prototype['options'] = undefined;
|
|
183
188
|
|
|
184
|
-
/**
|
|
185
|
-
* @member {Number} precision
|
|
186
|
-
*/
|
|
187
|
-
Fields.prototype['precision'] = undefined;
|
|
188
|
-
|
|
189
189
|
/**
|
|
190
190
|
* @member {String} description
|
|
191
191
|
*/
|
package/dist/model/File.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The File model module.
|
|
28
28
|
* @module model/File
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.87
|
|
30
30
|
*/
|
|
31
31
|
var File = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FileAttachmentUploadObject model module.
|
|
28
28
|
* @module model/FileAttachmentUploadObject
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.87
|
|
30
30
|
*/
|
|
31
31
|
var FileAttachmentUploadObject = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Filter.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.87
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Filter model module.
|
|
28
28
|
* @module model/Filter
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.87
|
|
30
30
|
*/
|
|
31
31
|
var Filter = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.87
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FilterManager model module.
|
|
32
32
|
* @module model/FilterManager
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.87
|
|
34
34
|
*/
|
|
35
35
|
var FilterManager = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -63,12 +63,12 @@ var FilterManager = /*#__PURE__*/function () {
|
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
65
|
obj = obj || new FilterManager();
|
|
66
|
-
if (data.hasOwnProperty('filterCount')) {
|
|
67
|
-
obj['filterCount'] = _ApiClient["default"].convertToType(data['filterCount'], 'Number');
|
|
68
|
-
}
|
|
69
66
|
if (data.hasOwnProperty('availableFilters')) {
|
|
70
67
|
obj['availableFilters'] = _ApiClient["default"].convertToType(data['availableFilters'], [_Filter["default"]]);
|
|
71
68
|
}
|
|
69
|
+
if (data.hasOwnProperty('filterCount')) {
|
|
70
|
+
obj['filterCount'] = _ApiClient["default"].convertToType(data['filterCount'], 'Number');
|
|
71
|
+
}
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
@@ -107,12 +107,12 @@ var FilterManager = /*#__PURE__*/function () {
|
|
|
107
107
|
}]);
|
|
108
108
|
}();
|
|
109
109
|
/**
|
|
110
|
-
* @member {
|
|
110
|
+
* @member {Array.<module:model/Filter>} availableFilters
|
|
111
111
|
*/
|
|
112
|
-
FilterManager.prototype['
|
|
112
|
+
FilterManager.prototype['availableFilters'] = undefined;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* @member {
|
|
115
|
+
* @member {Number} filterCount
|
|
116
116
|
*/
|
|
117
|
-
FilterManager.prototype['
|
|
117
|
+
FilterManager.prototype['filterCount'] = undefined;
|
|
118
118
|
var _default = exports["default"] = FilterManager;
|
package/dist/model/Form.js
CHANGED
|
@@ -22,7 +22,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
22
22
|
* gobodo-api
|
|
23
23
|
* REST Interface for Gobodo API
|
|
24
24
|
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.
|
|
25
|
+
* The version of the OpenAPI document: 0.1.87
|
|
26
26
|
* Contact: info@gobodo.io
|
|
27
27
|
*
|
|
28
28
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The Form model module.
|
|
35
35
|
* @module model/Form
|
|
36
|
-
* @version 0.1.
|
|
36
|
+
* @version 0.1.87
|
|
37
37
|
*/
|
|
38
38
|
var Form = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -81,12 +81,12 @@ var Form = /*#__PURE__*/function () {
|
|
|
81
81
|
if (data.hasOwnProperty('submissions')) {
|
|
82
82
|
obj['submissions'] = _FormSubmission["default"].constructFromObject(data['submissions']);
|
|
83
83
|
}
|
|
84
|
-
if (data.hasOwnProperty('sections')) {
|
|
85
|
-
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [_FormSection["default"]]);
|
|
86
|
-
}
|
|
87
84
|
if (data.hasOwnProperty('fields')) {
|
|
88
85
|
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_Fields["default"]]);
|
|
89
86
|
}
|
|
87
|
+
if (data.hasOwnProperty('sections')) {
|
|
88
|
+
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [_FormSection["default"]]);
|
|
89
|
+
}
|
|
90
90
|
if (data.hasOwnProperty('data')) {
|
|
91
91
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
92
92
|
}
|
|
@@ -127,19 +127,19 @@ var Form = /*#__PURE__*/function () {
|
|
|
127
127
|
// data not null
|
|
128
128
|
_FormSubmission["default"].validateJSON(data['submissions']);
|
|
129
129
|
}
|
|
130
|
-
if (data['
|
|
130
|
+
if (data['fields']) {
|
|
131
131
|
// data not null
|
|
132
132
|
// ensure the json data is an array
|
|
133
|
-
if (!Array.isArray(data['
|
|
134
|
-
throw new Error("Expected the field `
|
|
133
|
+
if (!Array.isArray(data['fields'])) {
|
|
134
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
135
135
|
}
|
|
136
|
-
// validate the optional field `
|
|
137
|
-
var _iterator = _createForOfIteratorHelper(data['
|
|
136
|
+
// validate the optional field `fields` (array)
|
|
137
|
+
var _iterator = _createForOfIteratorHelper(data['fields']),
|
|
138
138
|
_step;
|
|
139
139
|
try {
|
|
140
140
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
141
141
|
var item = _step.value;
|
|
142
|
-
|
|
142
|
+
_Fields["default"].validateJSON(item);
|
|
143
143
|
}
|
|
144
144
|
} catch (err) {
|
|
145
145
|
_iterator.e(err);
|
|
@@ -148,19 +148,19 @@ var Form = /*#__PURE__*/function () {
|
|
|
148
148
|
}
|
|
149
149
|
;
|
|
150
150
|
}
|
|
151
|
-
if (data['
|
|
151
|
+
if (data['sections']) {
|
|
152
152
|
// data not null
|
|
153
153
|
// ensure the json data is an array
|
|
154
|
-
if (!Array.isArray(data['
|
|
155
|
-
throw new Error("Expected the field `
|
|
154
|
+
if (!Array.isArray(data['sections'])) {
|
|
155
|
+
throw new Error("Expected the field `sections` to be an array in the JSON data but got " + data['sections']);
|
|
156
156
|
}
|
|
157
|
-
// validate the optional field `
|
|
158
|
-
var _iterator2 = _createForOfIteratorHelper(data['
|
|
157
|
+
// validate the optional field `sections` (array)
|
|
158
|
+
var _iterator2 = _createForOfIteratorHelper(data['sections']),
|
|
159
159
|
_step2;
|
|
160
160
|
try {
|
|
161
161
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
162
162
|
var _item = _step2.value;
|
|
163
|
-
|
|
163
|
+
_FormSection["default"].validateJSON(_item);
|
|
164
164
|
}
|
|
165
165
|
} catch (err) {
|
|
166
166
|
_iterator2.e(err);
|
|
@@ -199,14 +199,14 @@ Form.prototype['creator'] = undefined;
|
|
|
199
199
|
Form.prototype['submissions'] = undefined;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* @member {Array.<module:model/
|
|
202
|
+
* @member {Array.<module:model/Fields>} fields
|
|
203
203
|
*/
|
|
204
|
-
Form.prototype['
|
|
204
|
+
Form.prototype['fields'] = undefined;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
* @member {Array.<module:model/
|
|
207
|
+
* @member {Array.<module:model/FormSection>} sections
|
|
208
208
|
*/
|
|
209
|
-
Form.prototype['
|
|
209
|
+
Form.prototype['sections'] = undefined;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* @member {Object} data
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.87
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FormSection model module.
|
|
32
32
|
* @module model/FormSection
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.87
|
|
34
34
|
*/
|
|
35
35
|
var FormSection = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -72,12 +72,12 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
72
72
|
if (data.hasOwnProperty('name')) {
|
|
73
73
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
74
74
|
}
|
|
75
|
-
if (data.hasOwnProperty('sections')) {
|
|
76
|
-
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [FormSection]);
|
|
77
|
-
}
|
|
78
75
|
if (data.hasOwnProperty('fields')) {
|
|
79
76
|
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_Fields["default"]]);
|
|
80
77
|
}
|
|
78
|
+
if (data.hasOwnProperty('sections')) {
|
|
79
|
+
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [FormSection]);
|
|
80
|
+
}
|
|
81
81
|
if (data.hasOwnProperty('data')) {
|
|
82
82
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
83
83
|
}
|
|
@@ -100,19 +100,19 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
100
100
|
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
101
101
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
102
102
|
}
|
|
103
|
-
if (data['
|
|
103
|
+
if (data['fields']) {
|
|
104
104
|
// data not null
|
|
105
105
|
// ensure the json data is an array
|
|
106
|
-
if (!Array.isArray(data['
|
|
107
|
-
throw new Error("Expected the field `
|
|
106
|
+
if (!Array.isArray(data['fields'])) {
|
|
107
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
108
108
|
}
|
|
109
|
-
// validate the optional field `
|
|
110
|
-
var _iterator = _createForOfIteratorHelper(data['
|
|
109
|
+
// validate the optional field `fields` (array)
|
|
110
|
+
var _iterator = _createForOfIteratorHelper(data['fields']),
|
|
111
111
|
_step;
|
|
112
112
|
try {
|
|
113
113
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
114
114
|
var item = _step.value;
|
|
115
|
-
|
|
115
|
+
_Fields["default"].validateJSON(item);
|
|
116
116
|
}
|
|
117
117
|
} catch (err) {
|
|
118
118
|
_iterator.e(err);
|
|
@@ -121,19 +121,19 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
121
121
|
}
|
|
122
122
|
;
|
|
123
123
|
}
|
|
124
|
-
if (data['
|
|
124
|
+
if (data['sections']) {
|
|
125
125
|
// data not null
|
|
126
126
|
// ensure the json data is an array
|
|
127
|
-
if (!Array.isArray(data['
|
|
128
|
-
throw new Error("Expected the field `
|
|
127
|
+
if (!Array.isArray(data['sections'])) {
|
|
128
|
+
throw new Error("Expected the field `sections` to be an array in the JSON data but got " + data['sections']);
|
|
129
129
|
}
|
|
130
|
-
// validate the optional field `
|
|
131
|
-
var _iterator2 = _createForOfIteratorHelper(data['
|
|
130
|
+
// validate the optional field `sections` (array)
|
|
131
|
+
var _iterator2 = _createForOfIteratorHelper(data['sections']),
|
|
132
132
|
_step2;
|
|
133
133
|
try {
|
|
134
134
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
135
135
|
var _item = _step2.value;
|
|
136
|
-
|
|
136
|
+
FormSection.validateJSON(_item);
|
|
137
137
|
}
|
|
138
138
|
} catch (err) {
|
|
139
139
|
_iterator2.e(err);
|
|
@@ -162,14 +162,14 @@ FormSection.prototype['parentsectionid'] = undefined;
|
|
|
162
162
|
FormSection.prototype['name'] = undefined;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* @member {Array.<module:model/
|
|
165
|
+
* @member {Array.<module:model/Fields>} fields
|
|
166
166
|
*/
|
|
167
|
-
FormSection.prototype['
|
|
167
|
+
FormSection.prototype['fields'] = undefined;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
* @member {Array.<module:model/
|
|
170
|
+
* @member {Array.<module:model/FormSection>} sections
|
|
171
171
|
*/
|
|
172
|
-
FormSection.prototype['
|
|
172
|
+
FormSection.prototype['sections'] = undefined;
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* @member {Object} data
|