@gobodo/gobodo-api-promise 0.1.52 → 0.1.61
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 +137 -54
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +13 -13
- package/dist/api/AdManagementApi.js +24 -24
- 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 +44 -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/DataSheetImportsApi.js +7 -7
- package/dist/api/DefaultApi.js +15 -443
- package/dist/api/DocumentsApi.js +7 -7
- package/dist/api/EmailsApi.js +346 -0
- 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 +1373 -25
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +632 -0
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +250 -86
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +172 -13
- package/dist/api/GraphRelationshipsApi.js +21 -20
- package/dist/api/GraphSchemasApi.js +13 -13
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +13 -13
- 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 +1076 -0
- package/dist/api/PagesApi.js +7 -7
- package/dist/api/PhoneNumbersApi.js +403 -0
- package/dist/api/PostsApi.js +7 -7
- package/dist/api/PrivateMessagesApi.js +18 -18
- 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 +8 -8
- package/dist/api/TopicsApi.js +569 -0
- 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/index.js +245 -7
- package/dist/model/APIClient.js +23 -23
- 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 -49
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +193 -0
- package/dist/model/Balance.js +33 -33
- 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 +31 -31
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +238 -0
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +191 -0
- package/dist/model/CreateTopicListenerInput.js +160 -0
- package/dist/model/CurrencySettings.js +108 -0
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +27 -27
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +252 -0
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +52 -52
- package/dist/model/DocumentPartType.js +23 -23
- package/dist/model/DocumentType.js +63 -63
- package/dist/model/EmailAddress.js +245 -0
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +71 -71
- package/dist/model/File.js +23 -23
- package/dist/model/FileAttachmentUploadObject.js +23 -23
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +37 -37
- package/dist/model/FormSection.js +37 -37
- package/dist/model/FormSubmission.js +30 -30
- package/dist/model/FunctionConfigInput.js +563 -0
- package/dist/model/FunctionEnvironmentConfig.js +221 -0
- package/dist/model/FunctionInput.js +260 -0
- package/dist/model/FunctionOutput.js +235 -0
- 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 +536 -0
- package/dist/model/GetFunctionEnvironmentConfig.js +223 -0
- package/dist/model/GetFunctionResponse.js +302 -0
- package/dist/model/GoogleCloudSettings.js +162 -0
- package/dist/model/Graph.js +91 -91
- package/dist/model/GraphAction.js +29 -29
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +81 -81
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +109 -109
- package/dist/model/GraphObjectType.js +52 -52
- package/dist/model/GraphObjectTypeResponse.js +377 -0
- package/dist/model/GraphObjectTypeSchema.js +52 -52
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +30 -30
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +33 -33
- package/dist/model/GraphRelationshipTypeResponse.js +612 -0
- package/dist/model/GraphSchema.js +115 -115
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +70 -70
- package/dist/model/ImageUploadObject.js +70 -70
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartHeaders.js +106 -0
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +220 -0
- package/dist/model/Link.js +54 -54
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +108 -108
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +31 -31
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +25 -25
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Notification.js +381 -0
- package/dist/model/NotificationInput.js +273 -0
- package/dist/model/NotificationResponse.js +332 -0
- package/dist/model/NumberSettings.js +104 -0
- package/dist/model/ObjectSettings.js +129 -0
- package/dist/model/Objecttype.js +48 -48
- package/dist/model/OutParameter.js +162 -0
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +27 -27
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.js +162 -0
- 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 +25 -25
- 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 +32 -32
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.js +332 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +91 -91
- 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 +25 -25
- package/dist/model/PurgeDataDefaultResponse.js +179 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +81 -81
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +71 -71
- package/dist/model/SkinFieldResponse.js +596 -0
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +25 -25
- 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 +58 -58
- package/dist/model/TemplateResponse.js +301 -0
- package/dist/model/TemplateSchema.js +58 -58
- package/dist/model/ThemeMapping.js +27 -27
- package/dist/model/ThemeMappingPayload.js +25 -25
- package/dist/model/TopicInfoResponse.js +269 -0
- package/dist/model/TopicMessageInput.js +158 -0
- package/dist/model/TopicSubscriptionResponse.js +220 -0
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +32 -32
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +31 -31
- package/dist/model/UserDataPayload.js +31 -31
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +29 -29
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +31 -31
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +52 -52
- package/dist/model/VideoLiveUrl.js +27 -27
- package/dist/model/VideoSchema.js +52 -52
- package/dist/model/VideoUploadObject.js +52 -52
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.61
|
|
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.61
|
|
34
34
|
*/
|
|
35
35
|
var FormSection = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -100,38 +100,38 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
100
100
|
this['name'] = name;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
* @return {Array.<module:model/
|
|
103
|
+
* @return {Array.<module:model/FormSection>}
|
|
104
104
|
*/
|
|
105
105
|
}, {
|
|
106
|
-
key: "
|
|
107
|
-
value: function
|
|
108
|
-
return this.
|
|
106
|
+
key: "getSections",
|
|
107
|
+
value: function getSections() {
|
|
108
|
+
return this.sections;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* @param {Array.<module:model/
|
|
112
|
+
* @param {Array.<module:model/FormSection>} sections
|
|
113
113
|
*/
|
|
114
114
|
}, {
|
|
115
|
-
key: "
|
|
116
|
-
value: function
|
|
117
|
-
this['
|
|
115
|
+
key: "setSections",
|
|
116
|
+
value: function setSections(sections) {
|
|
117
|
+
this['sections'] = sections;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* @return {Array.<module:model/
|
|
120
|
+
* @return {Array.<module:model/Fields>}
|
|
121
121
|
*/
|
|
122
122
|
}, {
|
|
123
|
-
key: "
|
|
124
|
-
value: function
|
|
125
|
-
return this.
|
|
123
|
+
key: "getFields",
|
|
124
|
+
value: function getFields() {
|
|
125
|
+
return this.fields;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* @param {Array.<module:model/
|
|
129
|
+
* @param {Array.<module:model/Fields>} fields
|
|
130
130
|
*/
|
|
131
131
|
}, {
|
|
132
|
-
key: "
|
|
133
|
-
value: function
|
|
134
|
-
this['
|
|
132
|
+
key: "setFields",
|
|
133
|
+
value: function setFields(fields) {
|
|
134
|
+
this['fields'] = fields;
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* @return {Object}
|
|
@@ -192,12 +192,12 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
192
192
|
if (data.hasOwnProperty('name')) {
|
|
193
193
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
194
194
|
}
|
|
195
|
-
if (data.hasOwnProperty('fields')) {
|
|
196
|
-
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_Fields["default"]]);
|
|
197
|
-
}
|
|
198
195
|
if (data.hasOwnProperty('sections')) {
|
|
199
196
|
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [FormSection]);
|
|
200
197
|
}
|
|
198
|
+
if (data.hasOwnProperty('fields')) {
|
|
199
|
+
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_Fields["default"]]);
|
|
200
|
+
}
|
|
201
201
|
if (data.hasOwnProperty('data')) {
|
|
202
202
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
203
203
|
}
|
|
@@ -220,19 +220,19 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
220
220
|
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
221
221
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
222
222
|
}
|
|
223
|
-
if (data['
|
|
223
|
+
if (data['sections']) {
|
|
224
224
|
// data not null
|
|
225
225
|
// ensure the json data is an array
|
|
226
|
-
if (!Array.isArray(data['
|
|
227
|
-
throw new Error("Expected the field `
|
|
226
|
+
if (!Array.isArray(data['sections'])) {
|
|
227
|
+
throw new Error("Expected the field `sections` to be an array in the JSON data but got " + data['sections']);
|
|
228
228
|
}
|
|
229
|
-
// validate the optional field `
|
|
230
|
-
var _iterator = _createForOfIteratorHelper(data['
|
|
229
|
+
// validate the optional field `sections` (array)
|
|
230
|
+
var _iterator = _createForOfIteratorHelper(data['sections']),
|
|
231
231
|
_step;
|
|
232
232
|
try {
|
|
233
233
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
234
234
|
var item = _step.value;
|
|
235
|
-
|
|
235
|
+
FormSection.validateJSON(item);
|
|
236
236
|
}
|
|
237
237
|
} catch (err) {
|
|
238
238
|
_iterator.e(err);
|
|
@@ -241,19 +241,19 @@ var FormSection = /*#__PURE__*/function () {
|
|
|
241
241
|
}
|
|
242
242
|
;
|
|
243
243
|
}
|
|
244
|
-
if (data['
|
|
244
|
+
if (data['fields']) {
|
|
245
245
|
// data not null
|
|
246
246
|
// ensure the json data is an array
|
|
247
|
-
if (!Array.isArray(data['
|
|
248
|
-
throw new Error("Expected the field `
|
|
247
|
+
if (!Array.isArray(data['fields'])) {
|
|
248
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
249
249
|
}
|
|
250
|
-
// validate the optional field `
|
|
251
|
-
var _iterator2 = _createForOfIteratorHelper(data['
|
|
250
|
+
// validate the optional field `fields` (array)
|
|
251
|
+
var _iterator2 = _createForOfIteratorHelper(data['fields']),
|
|
252
252
|
_step2;
|
|
253
253
|
try {
|
|
254
254
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
255
255
|
var _item = _step2.value;
|
|
256
|
-
|
|
256
|
+
_Fields["default"].validateJSON(_item);
|
|
257
257
|
}
|
|
258
258
|
} catch (err) {
|
|
259
259
|
_iterator2.e(err);
|
|
@@ -283,14 +283,14 @@ FormSection.prototype['formid'] = undefined;
|
|
|
283
283
|
FormSection.prototype['name'] = undefined;
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
|
-
* @member {Array.<module:model/
|
|
286
|
+
* @member {Array.<module:model/FormSection>} sections
|
|
287
287
|
*/
|
|
288
|
-
FormSection.prototype['
|
|
288
|
+
FormSection.prototype['sections'] = undefined;
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
|
-
* @member {Array.<module:model/
|
|
291
|
+
* @member {Array.<module:model/Fields>} fields
|
|
292
292
|
*/
|
|
293
|
-
FormSection.prototype['
|
|
293
|
+
FormSection.prototype['fields'] = undefined;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* @member {Object} data
|
|
@@ -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.61
|
|
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 FormSubmission model module.
|
|
30
30
|
* @module model/FormSubmission
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.61
|
|
32
32
|
*/
|
|
33
33
|
var FormSubmission = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -64,38 +64,38 @@ var FormSubmission = /*#__PURE__*/function () {
|
|
|
64
64
|
this['status'] = status;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* @return {module:model/
|
|
67
|
+
* @return {module:model/DataObject}
|
|
68
68
|
*/
|
|
69
69
|
}, {
|
|
70
|
-
key: "
|
|
71
|
-
value: function
|
|
72
|
-
return this.
|
|
70
|
+
key: "getSubmitter",
|
|
71
|
+
value: function getSubmitter() {
|
|
72
|
+
return this.submitter;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* @param {module:model/
|
|
76
|
+
* @param {module:model/DataObject} submitter
|
|
77
77
|
*/
|
|
78
78
|
}, {
|
|
79
|
-
key: "
|
|
80
|
-
value: function
|
|
81
|
-
this['
|
|
79
|
+
key: "setSubmitter",
|
|
80
|
+
value: function setSubmitter(submitter) {
|
|
81
|
+
this['submitter'] = submitter;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
* @return {module:model/
|
|
84
|
+
* @return {module:model/Form}
|
|
85
85
|
*/
|
|
86
86
|
}, {
|
|
87
|
-
key: "
|
|
88
|
-
value: function
|
|
89
|
-
return this.
|
|
87
|
+
key: "getForm",
|
|
88
|
+
value: function getForm() {
|
|
89
|
+
return this.form;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* @param {module:model/
|
|
93
|
+
* @param {module:model/Form} form
|
|
94
94
|
*/
|
|
95
95
|
}, {
|
|
96
|
-
key: "
|
|
97
|
-
value: function
|
|
98
|
-
this['
|
|
96
|
+
key: "setForm",
|
|
97
|
+
value: function setForm(form) {
|
|
98
|
+
this['form'] = form;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* @return {Object}
|
|
@@ -150,12 +150,12 @@ var FormSubmission = /*#__PURE__*/function () {
|
|
|
150
150
|
if (data.hasOwnProperty('status')) {
|
|
151
151
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
152
152
|
}
|
|
153
|
-
if (data.hasOwnProperty('form')) {
|
|
154
|
-
obj['form'] = _Form["default"].constructFromObject(data['form']);
|
|
155
|
-
}
|
|
156
153
|
if (data.hasOwnProperty('submitter')) {
|
|
157
154
|
obj['submitter'] = _DataObject["default"].constructFromObject(data['submitter']);
|
|
158
155
|
}
|
|
156
|
+
if (data.hasOwnProperty('form')) {
|
|
157
|
+
obj['form'] = _Form["default"].constructFromObject(data['form']);
|
|
158
|
+
}
|
|
159
159
|
if (data.hasOwnProperty('data')) {
|
|
160
160
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
161
161
|
}
|
|
@@ -178,16 +178,16 @@ var FormSubmission = /*#__PURE__*/function () {
|
|
|
178
178
|
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
179
179
|
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
180
180
|
}
|
|
181
|
-
// validate the optional field `form`
|
|
182
|
-
if (data['form']) {
|
|
183
|
-
// data not null
|
|
184
|
-
_Form["default"].validateJSON(data['form']);
|
|
185
|
-
}
|
|
186
181
|
// validate the optional field `submitter`
|
|
187
182
|
if (data['submitter']) {
|
|
188
183
|
// data not null
|
|
189
184
|
_DataObject["default"].validateJSON(data['submitter']);
|
|
190
185
|
}
|
|
186
|
+
// validate the optional field `form`
|
|
187
|
+
if (data['form']) {
|
|
188
|
+
// data not null
|
|
189
|
+
_Form["default"].validateJSON(data['form']);
|
|
190
|
+
}
|
|
191
191
|
return true;
|
|
192
192
|
}
|
|
193
193
|
}]);
|
|
@@ -199,14 +199,14 @@ var FormSubmission = /*#__PURE__*/function () {
|
|
|
199
199
|
FormSubmission.prototype['status'] = undefined;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* @member {module:model/
|
|
202
|
+
* @member {module:model/DataObject} submitter
|
|
203
203
|
*/
|
|
204
|
-
FormSubmission.prototype['
|
|
204
|
+
FormSubmission.prototype['submitter'] = undefined;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
* @member {module:model/
|
|
207
|
+
* @member {module:model/Form} form
|
|
208
208
|
*/
|
|
209
|
-
FormSubmission.prototype['
|
|
209
|
+
FormSubmission.prototype['form'] = undefined;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* @member {Object} data
|