@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
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.61
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GraphObjectType model module.
|
|
31
31
|
* @module model/GraphObjectType
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.61
|
|
33
33
|
*/
|
|
34
34
|
var GraphObjectType = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -98,6 +98,23 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
98
98
|
value: function setAbstract(_abstract) {
|
|
99
99
|
this['abstract'] = _abstract;
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* @return {Boolean}
|
|
103
|
+
*/
|
|
104
|
+
}, {
|
|
105
|
+
key: "getSearchable",
|
|
106
|
+
value: function getSearchable() {
|
|
107
|
+
return this.searchable;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @param {Boolean} searchable
|
|
112
|
+
*/
|
|
113
|
+
}, {
|
|
114
|
+
key: "setSearchable",
|
|
115
|
+
value: function setSearchable(searchable) {
|
|
116
|
+
this['searchable'] = searchable;
|
|
117
|
+
}
|
|
101
118
|
/**
|
|
102
119
|
* @return {module:model/TemplateSchema}
|
|
103
120
|
*/
|
|
@@ -132,23 +149,6 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
132
149
|
value: function setHiddenFromCreationScreen(hiddenFromCreationScreen) {
|
|
133
150
|
this['hiddenFromCreationScreen'] = hiddenFromCreationScreen;
|
|
134
151
|
}
|
|
135
|
-
/**
|
|
136
|
-
* @return {Boolean}
|
|
137
|
-
*/
|
|
138
|
-
}, {
|
|
139
|
-
key: "getSearchable",
|
|
140
|
-
value: function getSearchable() {
|
|
141
|
-
return this.searchable;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @param {Boolean} searchable
|
|
146
|
-
*/
|
|
147
|
-
}, {
|
|
148
|
-
key: "setSearchable",
|
|
149
|
-
value: function setSearchable(searchable) {
|
|
150
|
-
this['searchable'] = searchable;
|
|
151
|
-
}
|
|
152
152
|
/**
|
|
153
153
|
* Returns Determines whether the user that's creating an instance of this type is required to be an Organization Page
|
|
154
154
|
* @return {Boolean}
|
|
@@ -219,6 +219,23 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
219
219
|
value: function setDescription(description) {
|
|
220
220
|
this['description'] = description;
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* @return {Object}
|
|
224
|
+
*/
|
|
225
|
+
}, {
|
|
226
|
+
key: "getActionTypes",
|
|
227
|
+
value: function getActionTypes() {
|
|
228
|
+
return this.actionTypes;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @param {Object} actionTypes
|
|
233
|
+
*/
|
|
234
|
+
}, {
|
|
235
|
+
key: "setActionTypes",
|
|
236
|
+
value: function setActionTypes(actionTypes) {
|
|
237
|
+
this['actionTypes'] = actionTypes;
|
|
238
|
+
}
|
|
222
239
|
/**
|
|
223
240
|
* @return {module:model/Member}
|
|
224
241
|
*/
|
|
@@ -255,23 +272,6 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
255
272
|
value: function setModificationdate(modificationdate) {
|
|
256
273
|
this['modificationdate'] = modificationdate;
|
|
257
274
|
}
|
|
258
|
-
/**
|
|
259
|
-
* @return {Object}
|
|
260
|
-
*/
|
|
261
|
-
}, {
|
|
262
|
-
key: "getActionTypes",
|
|
263
|
-
value: function getActionTypes() {
|
|
264
|
-
return this.actionTypes;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* @param {Object} actionTypes
|
|
269
|
-
*/
|
|
270
|
-
}, {
|
|
271
|
-
key: "setActionTypes",
|
|
272
|
-
value: function setActionTypes(actionTypes) {
|
|
273
|
-
this['actionTypes'] = actionTypes;
|
|
274
|
-
}
|
|
275
275
|
/**
|
|
276
276
|
* @return {String}
|
|
277
277
|
*/
|
|
@@ -418,15 +418,15 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
418
418
|
if (data.hasOwnProperty('abstract')) {
|
|
419
419
|
obj['abstract'] = _ApiClient["default"].convertToType(data['abstract'], 'Boolean');
|
|
420
420
|
}
|
|
421
|
+
if (data.hasOwnProperty('searchable')) {
|
|
422
|
+
obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
|
|
423
|
+
}
|
|
421
424
|
if (data.hasOwnProperty('template')) {
|
|
422
425
|
obj['template'] = _TemplateSchema["default"].constructFromObject(data['template']);
|
|
423
426
|
}
|
|
424
427
|
if (data.hasOwnProperty('hiddenFromCreationScreen')) {
|
|
425
428
|
obj['hiddenFromCreationScreen'] = _ApiClient["default"].convertToType(data['hiddenFromCreationScreen'], 'Boolean');
|
|
426
429
|
}
|
|
427
|
-
if (data.hasOwnProperty('searchable')) {
|
|
428
|
-
obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
|
|
429
|
-
}
|
|
430
430
|
if (data.hasOwnProperty('creatorrequiredtobepage')) {
|
|
431
431
|
obj['creatorrequiredtobepage'] = _ApiClient["default"].convertToType(data['creatorrequiredtobepage'], 'Boolean');
|
|
432
432
|
}
|
|
@@ -439,15 +439,15 @@ var GraphObjectType = /*#__PURE__*/function () {
|
|
|
439
439
|
if (data.hasOwnProperty('description')) {
|
|
440
440
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
441
441
|
}
|
|
442
|
+
if (data.hasOwnProperty('actionTypes')) {
|
|
443
|
+
obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], Object);
|
|
444
|
+
}
|
|
442
445
|
if (data.hasOwnProperty('creator')) {
|
|
443
446
|
obj['creator'] = _Member["default"].constructFromObject(data['creator']);
|
|
444
447
|
}
|
|
445
448
|
if (data.hasOwnProperty('modificationdate')) {
|
|
446
449
|
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
447
450
|
}
|
|
448
|
-
if (data.hasOwnProperty('actionTypes')) {
|
|
449
|
-
obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], Object);
|
|
450
|
-
}
|
|
451
451
|
if (data.hasOwnProperty('singularname')) {
|
|
452
452
|
obj['singularname'] = _ApiClient["default"].convertToType(data['singularname'], 'String');
|
|
453
453
|
}
|
|
@@ -536,6 +536,11 @@ GraphObjectType.prototype['parent'] = undefined;
|
|
|
536
536
|
*/
|
|
537
537
|
GraphObjectType.prototype['abstract'] = undefined;
|
|
538
538
|
|
|
539
|
+
/**
|
|
540
|
+
* @member {Boolean} searchable
|
|
541
|
+
*/
|
|
542
|
+
GraphObjectType.prototype['searchable'] = undefined;
|
|
543
|
+
|
|
539
544
|
/**
|
|
540
545
|
* @member {module:model/TemplateSchema} template
|
|
541
546
|
*/
|
|
@@ -546,11 +551,6 @@ GraphObjectType.prototype['template'] = undefined;
|
|
|
546
551
|
*/
|
|
547
552
|
GraphObjectType.prototype['hiddenFromCreationScreen'] = undefined;
|
|
548
553
|
|
|
549
|
-
/**
|
|
550
|
-
* @member {Boolean} searchable
|
|
551
|
-
*/
|
|
552
|
-
GraphObjectType.prototype['searchable'] = undefined;
|
|
553
|
-
|
|
554
554
|
/**
|
|
555
555
|
* Determines whether the user that's creating an instance of this type is required to be an Organization Page
|
|
556
556
|
* @member {Boolean} creatorrequiredtobepage
|
|
@@ -572,6 +572,11 @@ GraphObjectType.prototype['workflows'] = undefined;
|
|
|
572
572
|
*/
|
|
573
573
|
GraphObjectType.prototype['description'] = undefined;
|
|
574
574
|
|
|
575
|
+
/**
|
|
576
|
+
* @member {Object} actionTypes
|
|
577
|
+
*/
|
|
578
|
+
GraphObjectType.prototype['actionTypes'] = undefined;
|
|
579
|
+
|
|
575
580
|
/**
|
|
576
581
|
* @member {module:model/Member} creator
|
|
577
582
|
*/
|
|
@@ -583,11 +588,6 @@ GraphObjectType.prototype['creator'] = undefined;
|
|
|
583
588
|
*/
|
|
584
589
|
GraphObjectType.prototype['modificationdate'] = undefined;
|
|
585
590
|
|
|
586
|
-
/**
|
|
587
|
-
* @member {Object} actionTypes
|
|
588
|
-
*/
|
|
589
|
-
GraphObjectType.prototype['actionTypes'] = undefined;
|
|
590
|
-
|
|
591
591
|
/**
|
|
592
592
|
* @member {String} singularname
|
|
593
593
|
*/
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _GetFunctionResponse = _interopRequireDefault(require("./GetFunctionResponse"));
|
|
9
|
+
var _SkinFieldResponse = _interopRequireDefault(require("./SkinFieldResponse"));
|
|
10
|
+
var _TemplateResponse = _interopRequireDefault(require("./TemplateResponse"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
14
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
20
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
21
|
+
* gobodo-api
|
|
22
|
+
* REST Interface for Gobodo API
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: 0.1.61
|
|
25
|
+
* Contact: info@gobodo.io
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* The GraphObjectTypeResponse model module.
|
|
34
|
+
* @module model/GraphObjectTypeResponse
|
|
35
|
+
* @version 0.1.61
|
|
36
|
+
*/
|
|
37
|
+
var GraphObjectTypeResponse = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>GraphObjectTypeResponse</code>.
|
|
40
|
+
* @alias module:model/GraphObjectTypeResponse
|
|
41
|
+
*/
|
|
42
|
+
function GraphObjectTypeResponse() {
|
|
43
|
+
_classCallCheck(this, GraphObjectTypeResponse);
|
|
44
|
+
GraphObjectTypeResponse.initialize(this);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
_createClass(GraphObjectTypeResponse, [{
|
|
53
|
+
key: "getId",
|
|
54
|
+
value:
|
|
55
|
+
/**
|
|
56
|
+
* @return {Number}
|
|
57
|
+
*/
|
|
58
|
+
function getId() {
|
|
59
|
+
return this.id;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @param {Number} id
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "setId",
|
|
67
|
+
value: function setId(id) {
|
|
68
|
+
this['id'] = id;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @return {String}
|
|
72
|
+
*/
|
|
73
|
+
}, {
|
|
74
|
+
key: "getKey",
|
|
75
|
+
value: function getKey() {
|
|
76
|
+
return this.key;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @param {String} key
|
|
81
|
+
*/
|
|
82
|
+
}, {
|
|
83
|
+
key: "setKey",
|
|
84
|
+
value: function setKey(key) {
|
|
85
|
+
this['key'] = key;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @return {String}
|
|
89
|
+
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "getName",
|
|
92
|
+
value: function getName() {
|
|
93
|
+
return this.name;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @param {String} name
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "setName",
|
|
101
|
+
value: function setName(name) {
|
|
102
|
+
this['name'] = name;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @return {String}
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "getDescription",
|
|
109
|
+
value: function getDescription() {
|
|
110
|
+
return this.description;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @param {String} description
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "setDescription",
|
|
118
|
+
value: function setDescription(description) {
|
|
119
|
+
this['description'] = description;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @return {String}
|
|
123
|
+
*/
|
|
124
|
+
}, {
|
|
125
|
+
key: "getSingularName",
|
|
126
|
+
value: function getSingularName() {
|
|
127
|
+
return this.singularName;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @param {String} singularName
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "setSingularName",
|
|
135
|
+
value: function setSingularName(singularName) {
|
|
136
|
+
this['singularName'] = singularName;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @return {String}
|
|
140
|
+
*/
|
|
141
|
+
}, {
|
|
142
|
+
key: "getPluralName",
|
|
143
|
+
value: function getPluralName() {
|
|
144
|
+
return this.pluralName;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @param {String} pluralName
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "setPluralName",
|
|
152
|
+
value: function setPluralName(pluralName) {
|
|
153
|
+
this['pluralName'] = pluralName;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @return {module:model/TemplateResponse}
|
|
157
|
+
*/
|
|
158
|
+
}, {
|
|
159
|
+
key: "getTemplate",
|
|
160
|
+
value: function getTemplate() {
|
|
161
|
+
return this.template;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {module:model/TemplateResponse} template
|
|
166
|
+
*/
|
|
167
|
+
}, {
|
|
168
|
+
key: "setTemplate",
|
|
169
|
+
value: function setTemplate(template) {
|
|
170
|
+
this['template'] = template;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @return {Array.<module:model/SkinFieldResponse>}
|
|
174
|
+
*/
|
|
175
|
+
}, {
|
|
176
|
+
key: "getFields",
|
|
177
|
+
value: function getFields() {
|
|
178
|
+
return this.fields;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @param {Array.<module:model/SkinFieldResponse>} fields
|
|
183
|
+
*/
|
|
184
|
+
}, {
|
|
185
|
+
key: "setFields",
|
|
186
|
+
value: function setFields(fields) {
|
|
187
|
+
this['fields'] = fields;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @return {Array.<module:model/GetFunctionResponse>}
|
|
191
|
+
*/
|
|
192
|
+
}, {
|
|
193
|
+
key: "getMethods",
|
|
194
|
+
value: function getMethods() {
|
|
195
|
+
return this.methods;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @param {Array.<module:model/GetFunctionResponse>} methods
|
|
200
|
+
*/
|
|
201
|
+
}, {
|
|
202
|
+
key: "setMethods",
|
|
203
|
+
value: function setMethods(methods) {
|
|
204
|
+
this['methods'] = methods;
|
|
205
|
+
}
|
|
206
|
+
}], [{
|
|
207
|
+
key: "initialize",
|
|
208
|
+
value: function initialize(obj) {}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Constructs a <code>GraphObjectTypeResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
212
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
213
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
214
|
+
* @param {module:model/GraphObjectTypeResponse} obj Optional instance to populate.
|
|
215
|
+
* @return {module:model/GraphObjectTypeResponse} The populated <code>GraphObjectTypeResponse</code> instance.
|
|
216
|
+
*/
|
|
217
|
+
}, {
|
|
218
|
+
key: "constructFromObject",
|
|
219
|
+
value: function constructFromObject(data, obj) {
|
|
220
|
+
if (data) {
|
|
221
|
+
obj = obj || new GraphObjectTypeResponse();
|
|
222
|
+
if (data.hasOwnProperty('id')) {
|
|
223
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
224
|
+
}
|
|
225
|
+
if (data.hasOwnProperty('key')) {
|
|
226
|
+
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
|
|
227
|
+
}
|
|
228
|
+
if (data.hasOwnProperty('name')) {
|
|
229
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
230
|
+
}
|
|
231
|
+
if (data.hasOwnProperty('description')) {
|
|
232
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
233
|
+
}
|
|
234
|
+
if (data.hasOwnProperty('singularName')) {
|
|
235
|
+
obj['singularName'] = _ApiClient["default"].convertToType(data['singularName'], 'String');
|
|
236
|
+
}
|
|
237
|
+
if (data.hasOwnProperty('pluralName')) {
|
|
238
|
+
obj['pluralName'] = _ApiClient["default"].convertToType(data['pluralName'], 'String');
|
|
239
|
+
}
|
|
240
|
+
if (data.hasOwnProperty('template')) {
|
|
241
|
+
obj['template'] = _TemplateResponse["default"].constructFromObject(data['template']);
|
|
242
|
+
}
|
|
243
|
+
if (data.hasOwnProperty('fields')) {
|
|
244
|
+
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_SkinFieldResponse["default"]]);
|
|
245
|
+
}
|
|
246
|
+
if (data.hasOwnProperty('methods')) {
|
|
247
|
+
obj['methods'] = _ApiClient["default"].convertToType(data['methods'], [_GetFunctionResponse["default"]]);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return obj;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Validates the JSON data with respect to <code>GraphObjectTypeResponse</code>.
|
|
255
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
256
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphObjectTypeResponse</code>.
|
|
257
|
+
*/
|
|
258
|
+
}, {
|
|
259
|
+
key: "validateJSON",
|
|
260
|
+
value: function validateJSON(data) {
|
|
261
|
+
// ensure the json data is a string
|
|
262
|
+
if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
|
|
263
|
+
throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
|
|
264
|
+
}
|
|
265
|
+
// ensure the json data is a string
|
|
266
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
267
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
268
|
+
}
|
|
269
|
+
// ensure the json data is a string
|
|
270
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
271
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
272
|
+
}
|
|
273
|
+
// ensure the json data is a string
|
|
274
|
+
if (data['singularName'] && !(typeof data['singularName'] === 'string' || data['singularName'] instanceof String)) {
|
|
275
|
+
throw new Error("Expected the field `singularName` to be a primitive type in the JSON string but got " + data['singularName']);
|
|
276
|
+
}
|
|
277
|
+
// ensure the json data is a string
|
|
278
|
+
if (data['pluralName'] && !(typeof data['pluralName'] === 'string' || data['pluralName'] instanceof String)) {
|
|
279
|
+
throw new Error("Expected the field `pluralName` to be a primitive type in the JSON string but got " + data['pluralName']);
|
|
280
|
+
}
|
|
281
|
+
// validate the optional field `template`
|
|
282
|
+
if (data['template']) {
|
|
283
|
+
// data not null
|
|
284
|
+
_TemplateResponse["default"].validateJSON(data['template']);
|
|
285
|
+
}
|
|
286
|
+
if (data['fields']) {
|
|
287
|
+
// data not null
|
|
288
|
+
// ensure the json data is an array
|
|
289
|
+
if (!Array.isArray(data['fields'])) {
|
|
290
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
291
|
+
}
|
|
292
|
+
// validate the optional field `fields` (array)
|
|
293
|
+
var _iterator = _createForOfIteratorHelper(data['fields']),
|
|
294
|
+
_step;
|
|
295
|
+
try {
|
|
296
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
297
|
+
var item = _step.value;
|
|
298
|
+
_SkinFieldResponse["default"].validateJSON(item);
|
|
299
|
+
}
|
|
300
|
+
} catch (err) {
|
|
301
|
+
_iterator.e(err);
|
|
302
|
+
} finally {
|
|
303
|
+
_iterator.f();
|
|
304
|
+
}
|
|
305
|
+
;
|
|
306
|
+
}
|
|
307
|
+
if (data['methods']) {
|
|
308
|
+
// data not null
|
|
309
|
+
// ensure the json data is an array
|
|
310
|
+
if (!Array.isArray(data['methods'])) {
|
|
311
|
+
throw new Error("Expected the field `methods` to be an array in the JSON data but got " + data['methods']);
|
|
312
|
+
}
|
|
313
|
+
// validate the optional field `methods` (array)
|
|
314
|
+
var _iterator2 = _createForOfIteratorHelper(data['methods']),
|
|
315
|
+
_step2;
|
|
316
|
+
try {
|
|
317
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
318
|
+
var _item = _step2.value;
|
|
319
|
+
_GetFunctionResponse["default"].validateJSON(_item);
|
|
320
|
+
}
|
|
321
|
+
} catch (err) {
|
|
322
|
+
_iterator2.e(err);
|
|
323
|
+
} finally {
|
|
324
|
+
_iterator2.f();
|
|
325
|
+
}
|
|
326
|
+
;
|
|
327
|
+
}
|
|
328
|
+
return true;
|
|
329
|
+
}
|
|
330
|
+
}]);
|
|
331
|
+
return GraphObjectTypeResponse;
|
|
332
|
+
}();
|
|
333
|
+
/**
|
|
334
|
+
* @member {Number} id
|
|
335
|
+
*/
|
|
336
|
+
GraphObjectTypeResponse.prototype['id'] = undefined;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @member {String} key
|
|
340
|
+
*/
|
|
341
|
+
GraphObjectTypeResponse.prototype['key'] = undefined;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @member {String} name
|
|
345
|
+
*/
|
|
346
|
+
GraphObjectTypeResponse.prototype['name'] = undefined;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @member {String} description
|
|
350
|
+
*/
|
|
351
|
+
GraphObjectTypeResponse.prototype['description'] = undefined;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @member {String} singularName
|
|
355
|
+
*/
|
|
356
|
+
GraphObjectTypeResponse.prototype['singularName'] = undefined;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @member {String} pluralName
|
|
360
|
+
*/
|
|
361
|
+
GraphObjectTypeResponse.prototype['pluralName'] = undefined;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @member {module:model/TemplateResponse} template
|
|
365
|
+
*/
|
|
366
|
+
GraphObjectTypeResponse.prototype['template'] = undefined;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @member {Array.<module:model/SkinFieldResponse>} fields
|
|
370
|
+
*/
|
|
371
|
+
GraphObjectTypeResponse.prototype['fields'] = undefined;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @member {Array.<module:model/GetFunctionResponse>} methods
|
|
375
|
+
*/
|
|
376
|
+
GraphObjectTypeResponse.prototype['methods'] = undefined;
|
|
377
|
+
var _default = exports["default"] = GraphObjectTypeResponse;
|