@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
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _CreateFunctionInput = _interopRequireDefault(require("../model/CreateFunctionInput"));
|
|
9
|
+
var _GetFunctionResponse = _interopRequireDefault(require("../model/GetFunctionResponse"));
|
|
10
|
+
var _GraphObjectTypeResponse = _interopRequireDefault(require("../model/GraphObjectTypeResponse"));
|
|
9
11
|
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
10
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
13
|
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); }
|
|
@@ -17,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
17
19
|
* gobodo-api
|
|
18
20
|
* REST Interface for Gobodo API
|
|
19
21
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.61
|
|
21
23
|
* Contact: info@gobodo.io
|
|
22
24
|
*
|
|
23
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
30
|
/**
|
|
29
31
|
* GraphObjectTypes service.
|
|
30
32
|
* @module api/GraphObjectTypesApi
|
|
31
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.61
|
|
32
34
|
*/
|
|
33
35
|
var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
36
|
/**
|
|
@@ -44,7 +46,10 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
49
|
+
* Adds a method to an object type
|
|
50
|
+
* Adds a method to an object type
|
|
51
|
+
* @param {Number} objecttypeid
|
|
52
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
48
53
|
* @param {Object} opts Optional parameters
|
|
49
54
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
50
55
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -56,20 +61,23 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
56
61
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
57
62
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
58
63
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
59
|
-
* @
|
|
60
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
64
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
61
65
|
*/
|
|
62
66
|
_createClass(GraphObjectTypesApi, [{
|
|
63
|
-
key: "
|
|
64
|
-
value: function
|
|
67
|
+
key: "addMethodToObjectTypeWithHttpInfo",
|
|
68
|
+
value: function addMethodToObjectTypeWithHttpInfo(objecttypeid, createFunctionInput, opts) {
|
|
65
69
|
opts = opts || {};
|
|
66
|
-
var postBody =
|
|
67
|
-
// verify the required parameter '
|
|
68
|
-
if (
|
|
69
|
-
throw new Error("Missing the required parameter '
|
|
70
|
+
var postBody = createFunctionInput;
|
|
71
|
+
// verify the required parameter 'objecttypeid' is set
|
|
72
|
+
if (objecttypeid === undefined || objecttypeid === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'objecttypeid' when calling addMethodToObjectType");
|
|
74
|
+
}
|
|
75
|
+
// verify the required parameter 'createFunctionInput' is set
|
|
76
|
+
if (createFunctionInput === undefined || createFunctionInput === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'createFunctionInput' when calling addMethodToObjectType");
|
|
70
78
|
}
|
|
71
79
|
var pathParams = {
|
|
72
|
-
'
|
|
80
|
+
'objecttypeid': objecttypeid
|
|
73
81
|
};
|
|
74
82
|
var queryParams = {};
|
|
75
83
|
var headerParams = {
|
|
@@ -86,14 +94,17 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
94
|
};
|
|
87
95
|
var formParams = {};
|
|
88
96
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
89
|
-
var contentTypes = [
|
|
97
|
+
var contentTypes = [];
|
|
90
98
|
var accepts = ['application/json'];
|
|
91
|
-
var returnType =
|
|
92
|
-
return this.apiClient.callApi('/graph/data/objecttype/{
|
|
99
|
+
var returnType = _GetFunctionResponse["default"];
|
|
100
|
+
return this.apiClient.callApi('/graph/data/functions/objecttype/{objecttypeid}/method', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
/**
|
|
96
|
-
*
|
|
104
|
+
* Adds a method to an object type
|
|
105
|
+
* Adds a method to an object type
|
|
106
|
+
* @param {Number} objecttypeid
|
|
107
|
+
* @param {module:model/CreateFunctionInput} createFunctionInput
|
|
97
108
|
* @param {Object} opts Optional parameters
|
|
98
109
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
99
110
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -105,19 +116,17 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
105
116
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
106
117
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
107
118
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
108
|
-
* @
|
|
109
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
119
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
110
120
|
*/
|
|
111
121
|
}, {
|
|
112
|
-
key: "
|
|
113
|
-
value: function
|
|
114
|
-
return this.
|
|
122
|
+
key: "addMethodToObjectType",
|
|
123
|
+
value: function addMethodToObjectType(objecttypeid, createFunctionInput, opts) {
|
|
124
|
+
return this.addMethodToObjectTypeWithHttpInfo(objecttypeid, createFunctionInput, opts).then(function (response_and_data) {
|
|
115
125
|
return response_and_data.data;
|
|
116
126
|
});
|
|
117
127
|
}
|
|
118
128
|
|
|
119
129
|
/**
|
|
120
|
-
* Gets and object by id
|
|
121
130
|
* @param {Number} id
|
|
122
131
|
* @param {Object} opts Optional parameters
|
|
123
132
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -130,16 +139,17 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
130
139
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
131
140
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
132
141
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
133
|
-
* @
|
|
142
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
143
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
134
144
|
*/
|
|
135
145
|
}, {
|
|
136
|
-
key: "
|
|
137
|
-
value: function
|
|
146
|
+
key: "addPoliciesWithHttpInfo",
|
|
147
|
+
value: function addPoliciesWithHttpInfo(id, opts) {
|
|
138
148
|
opts = opts || {};
|
|
139
|
-
var postBody =
|
|
149
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
140
150
|
// verify the required parameter 'id' is set
|
|
141
151
|
if (id === undefined || id === null) {
|
|
142
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
152
|
+
throw new Error("Missing the required parameter 'id' when calling addPolicies");
|
|
143
153
|
}
|
|
144
154
|
var pathParams = {
|
|
145
155
|
'id': id
|
|
@@ -159,14 +169,13 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
159
169
|
};
|
|
160
170
|
var formParams = {};
|
|
161
171
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
162
|
-
var contentTypes = [];
|
|
172
|
+
var contentTypes = ['application/json'];
|
|
163
173
|
var accepts = ['application/json'];
|
|
164
|
-
var returnType =
|
|
165
|
-
return this.apiClient.callApi('/graph/data/objecttype/{id}', '
|
|
174
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
175
|
+
return this.apiClient.callApi('/graph/data/objecttype/{id}/policies', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
166
176
|
}
|
|
167
177
|
|
|
168
178
|
/**
|
|
169
|
-
* Gets and object by id
|
|
170
179
|
* @param {Number} id
|
|
171
180
|
* @param {Object} opts Optional parameters
|
|
172
181
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -179,12 +188,13 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
179
188
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
180
189
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
181
190
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
182
|
-
* @
|
|
191
|
+
* @param {module:model/PurgeDataDefaultResponseValue} opts.purgeDataDefaultResponseValue
|
|
192
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
183
193
|
*/
|
|
184
194
|
}, {
|
|
185
|
-
key: "
|
|
186
|
-
value: function
|
|
187
|
-
return this.
|
|
195
|
+
key: "addPolicies",
|
|
196
|
+
value: function addPolicies(id, opts) {
|
|
197
|
+
return this.addPoliciesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
188
198
|
return response_and_data.data;
|
|
189
199
|
});
|
|
190
200
|
}
|
|
@@ -255,7 +265,6 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
255
265
|
}
|
|
256
266
|
|
|
257
267
|
/**
|
|
258
|
-
* @param {String} key
|
|
259
268
|
* @param {Object} opts Optional parameters
|
|
260
269
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
261
270
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -267,20 +276,14 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
267
276
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
268
277
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
269
278
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
270
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
279
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
271
280
|
*/
|
|
272
281
|
}, {
|
|
273
|
-
key: "
|
|
274
|
-
value: function
|
|
282
|
+
key: "getAllObjectTypesWithHttpInfo",
|
|
283
|
+
value: function getAllObjectTypesWithHttpInfo(opts) {
|
|
275
284
|
opts = opts || {};
|
|
276
285
|
var postBody = null;
|
|
277
|
-
|
|
278
|
-
if (key === undefined || key === null) {
|
|
279
|
-
throw new Error("Missing the required parameter 'key' when calling get9");
|
|
280
|
-
}
|
|
281
|
-
var pathParams = {
|
|
282
|
-
'key': key
|
|
283
|
-
};
|
|
286
|
+
var pathParams = {};
|
|
284
287
|
var queryParams = {};
|
|
285
288
|
var headerParams = {
|
|
286
289
|
'Authorization': opts['authorization'],
|
|
@@ -298,12 +301,11 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
298
301
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
299
302
|
var contentTypes = [];
|
|
300
303
|
var accepts = ['application/json'];
|
|
301
|
-
var returnType =
|
|
302
|
-
return this.apiClient.callApi('/graph/data/objecttype/
|
|
304
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
305
|
+
return this.apiClient.callApi('/graph/data/objecttype/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
303
306
|
}
|
|
304
307
|
|
|
305
308
|
/**
|
|
306
|
-
* @param {String} key
|
|
307
309
|
* @param {Object} opts Optional parameters
|
|
308
310
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
309
311
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -315,12 +317,12 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
315
317
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
316
318
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
317
319
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
318
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
320
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
319
321
|
*/
|
|
320
322
|
}, {
|
|
321
|
-
key: "
|
|
322
|
-
value: function
|
|
323
|
-
return this.
|
|
323
|
+
key: "getAllObjectTypes",
|
|
324
|
+
value: function getAllObjectTypes(opts) {
|
|
325
|
+
return this.getAllObjectTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
324
326
|
return response_and_data.data;
|
|
325
327
|
});
|
|
326
328
|
}
|
|
@@ -340,8 +342,8 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
340
342
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
341
343
|
*/
|
|
342
344
|
}, {
|
|
343
|
-
key: "
|
|
344
|
-
value: function
|
|
345
|
+
key: "getDefaultObjectTypesWithHttpInfo",
|
|
346
|
+
value: function getDefaultObjectTypesWithHttpInfo(opts) {
|
|
345
347
|
opts = opts || {};
|
|
346
348
|
var postBody = null;
|
|
347
349
|
var pathParams = {};
|
|
@@ -363,7 +365,7 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
363
365
|
var contentTypes = [];
|
|
364
366
|
var accepts = ['application/json'];
|
|
365
367
|
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
366
|
-
return this.apiClient.callApi('/graph/data/objecttype/
|
|
368
|
+
return this.apiClient.callApi('/graph/data/objecttype/default', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
367
369
|
}
|
|
368
370
|
|
|
369
371
|
/**
|
|
@@ -381,14 +383,15 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
381
383
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
382
384
|
*/
|
|
383
385
|
}, {
|
|
384
|
-
key: "
|
|
385
|
-
value: function
|
|
386
|
-
return this.
|
|
386
|
+
key: "getDefaultObjectTypes",
|
|
387
|
+
value: function getDefaultObjectTypes(opts) {
|
|
388
|
+
return this.getDefaultObjectTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
387
389
|
return response_and_data.data;
|
|
388
390
|
});
|
|
389
391
|
}
|
|
390
392
|
|
|
391
393
|
/**
|
|
394
|
+
* @param {Number} id
|
|
392
395
|
* @param {Object} opts Optional parameters
|
|
393
396
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
394
397
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -403,8 +406,78 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
403
406
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
404
407
|
*/
|
|
405
408
|
}, {
|
|
406
|
-
key: "
|
|
407
|
-
value: function
|
|
409
|
+
key: "getFields1WithHttpInfo",
|
|
410
|
+
value: function getFields1WithHttpInfo(id, opts) {
|
|
411
|
+
opts = opts || {};
|
|
412
|
+
var postBody = null;
|
|
413
|
+
// verify the required parameter 'id' is set
|
|
414
|
+
if (id === undefined || id === null) {
|
|
415
|
+
throw new Error("Missing the required parameter 'id' when calling getFields1");
|
|
416
|
+
}
|
|
417
|
+
var pathParams = {
|
|
418
|
+
'id': id
|
|
419
|
+
};
|
|
420
|
+
var queryParams = {};
|
|
421
|
+
var headerParams = {
|
|
422
|
+
'Authorization': opts['authorization'],
|
|
423
|
+
'cacheduration': opts['cacheduration'],
|
|
424
|
+
'cachegroup': opts['cachegroup'],
|
|
425
|
+
'cachekey': opts['cachekey'],
|
|
426
|
+
'cachescope': opts['cachescope'],
|
|
427
|
+
'cacheuser': opts['cacheuser'],
|
|
428
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
429
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
430
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
431
|
+
'transactionid': opts['transactionid']
|
|
432
|
+
};
|
|
433
|
+
var formParams = {};
|
|
434
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
435
|
+
var contentTypes = [];
|
|
436
|
+
var accepts = ['application/json'];
|
|
437
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
438
|
+
return this.apiClient.callApi('/graph/data/objecttype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* @param {Number} id
|
|
443
|
+
* @param {Object} opts Optional parameters
|
|
444
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
445
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
446
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
447
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
448
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
449
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
450
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
451
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
452
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
453
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
454
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
455
|
+
*/
|
|
456
|
+
}, {
|
|
457
|
+
key: "getFields1",
|
|
458
|
+
value: function getFields1(id, opts) {
|
|
459
|
+
return this.getFields1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
460
|
+
return response_and_data.data;
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @param {Object} opts Optional parameters
|
|
466
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
467
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
468
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
469
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
470
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
471
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
472
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
473
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
474
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
475
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
476
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
477
|
+
*/
|
|
478
|
+
}, {
|
|
479
|
+
key: "getMyObjectTypesWithHttpInfo",
|
|
480
|
+
value: function getMyObjectTypesWithHttpInfo(opts) {
|
|
408
481
|
opts = opts || {};
|
|
409
482
|
var postBody = null;
|
|
410
483
|
var pathParams = {};
|
|
@@ -426,7 +499,7 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
426
499
|
var contentTypes = [];
|
|
427
500
|
var accepts = ['application/json'];
|
|
428
501
|
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
429
|
-
return this.apiClient.callApi('/graph/data/objecttype/
|
|
502
|
+
return this.apiClient.callApi('/graph/data/objecttype/mine', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
430
503
|
}
|
|
431
504
|
|
|
432
505
|
/**
|
|
@@ -444,14 +517,16 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
444
517
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
445
518
|
*/
|
|
446
519
|
}, {
|
|
447
|
-
key: "
|
|
448
|
-
value: function
|
|
449
|
-
return this.
|
|
520
|
+
key: "getMyObjectTypes",
|
|
521
|
+
value: function getMyObjectTypes(opts) {
|
|
522
|
+
return this.getMyObjectTypesWithHttpInfo(opts).then(function (response_and_data) {
|
|
450
523
|
return response_and_data.data;
|
|
451
524
|
});
|
|
452
525
|
}
|
|
453
526
|
|
|
454
527
|
/**
|
|
528
|
+
* Get Graph Object Type
|
|
529
|
+
* Returns the graph object type with the given key
|
|
455
530
|
* @param {Number} id
|
|
456
531
|
* @param {Object} opts Optional parameters
|
|
457
532
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
@@ -464,16 +539,16 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
464
539
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
465
540
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
466
541
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
467
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
542
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphObjectTypeResponse} and HTTP response
|
|
468
543
|
*/
|
|
469
544
|
}, {
|
|
470
|
-
key: "
|
|
471
|
-
value: function
|
|
545
|
+
key: "getObjectTypeByIdWithHttpInfo",
|
|
546
|
+
value: function getObjectTypeByIdWithHttpInfo(id, opts) {
|
|
472
547
|
opts = opts || {};
|
|
473
548
|
var postBody = null;
|
|
474
549
|
// verify the required parameter 'id' is set
|
|
475
550
|
if (id === undefined || id === null) {
|
|
476
|
-
throw new Error("Missing the required parameter 'id' when calling
|
|
551
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectTypeById");
|
|
477
552
|
}
|
|
478
553
|
var pathParams = {
|
|
479
554
|
'id': id
|
|
@@ -495,11 +570,13 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
495
570
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
496
571
|
var contentTypes = [];
|
|
497
572
|
var accepts = ['application/json'];
|
|
498
|
-
var returnType =
|
|
499
|
-
return this.apiClient.callApi('/graph/data/objecttype/{id}
|
|
573
|
+
var returnType = _GraphObjectTypeResponse["default"];
|
|
574
|
+
return this.apiClient.callApi('/graph/data/objecttype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
500
575
|
}
|
|
501
576
|
|
|
502
577
|
/**
|
|
578
|
+
* Get Graph Object Type
|
|
579
|
+
* Returns the graph object type with the given key
|
|
503
580
|
* @param {Number} id
|
|
504
581
|
* @param {Object} opts Optional parameters
|
|
505
582
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
@@ -512,17 +589,20 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
512
589
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
513
590
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
514
591
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
515
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
592
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphObjectTypeResponse}
|
|
516
593
|
*/
|
|
517
594
|
}, {
|
|
518
|
-
key: "
|
|
519
|
-
value: function
|
|
520
|
-
return this.
|
|
595
|
+
key: "getObjectTypeById",
|
|
596
|
+
value: function getObjectTypeById(id, opts) {
|
|
597
|
+
return this.getObjectTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
521
598
|
return response_and_data.data;
|
|
522
599
|
});
|
|
523
600
|
}
|
|
524
601
|
|
|
525
602
|
/**
|
|
603
|
+
* Get Graph Object Type
|
|
604
|
+
* Returns the graph object type with the given key
|
|
605
|
+
* @param {String} key
|
|
526
606
|
* @param {Object} opts Optional parameters
|
|
527
607
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
528
608
|
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
@@ -534,14 +614,20 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
534
614
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
535
615
|
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
536
616
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
537
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
|
617
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphObjectTypeResponse} and HTTP response
|
|
538
618
|
*/
|
|
539
619
|
}, {
|
|
540
|
-
key: "
|
|
541
|
-
value: function
|
|
620
|
+
key: "getObjectTypeByKeyWithHttpInfo",
|
|
621
|
+
value: function getObjectTypeByKeyWithHttpInfo(key, opts) {
|
|
542
622
|
opts = opts || {};
|
|
543
623
|
var postBody = null;
|
|
544
|
-
|
|
624
|
+
// verify the required parameter 'key' is set
|
|
625
|
+
if (key === undefined || key === null) {
|
|
626
|
+
throw new Error("Missing the required parameter 'key' when calling getObjectTypeByKey");
|
|
627
|
+
}
|
|
628
|
+
var pathParams = {
|
|
629
|
+
'key': key
|
|
630
|
+
};
|
|
545
631
|
var queryParams = {};
|
|
546
632
|
var headerParams = {
|
|
547
633
|
'Authorization': opts['authorization'],
|
|
@@ -559,11 +645,14 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
559
645
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
560
646
|
var contentTypes = [];
|
|
561
647
|
var accepts = ['application/json'];
|
|
562
|
-
var returnType =
|
|
563
|
-
return this.apiClient.callApi('/graph/data/objecttype/
|
|
648
|
+
var returnType = _GraphObjectTypeResponse["default"];
|
|
649
|
+
return this.apiClient.callApi('/graph/data/objecttype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
564
650
|
}
|
|
565
651
|
|
|
566
652
|
/**
|
|
653
|
+
* Get Graph Object Type
|
|
654
|
+
* Returns the graph object type with the given key
|
|
655
|
+
* @param {String} key
|
|
567
656
|
* @param {Object} opts Optional parameters
|
|
568
657
|
* @param {String} opts.authorization The authorization token of the logged in user
|
|
569
658
|
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
@@ -575,12 +664,87 @@ var GraphObjectTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
575
664
|
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
576
665
|
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
577
666
|
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
578
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
|
667
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphObjectTypeResponse}
|
|
579
668
|
*/
|
|
580
669
|
}, {
|
|
581
|
-
key: "
|
|
582
|
-
value: function
|
|
583
|
-
return this.
|
|
670
|
+
key: "getObjectTypeByKey",
|
|
671
|
+
value: function getObjectTypeByKey(key, opts) {
|
|
672
|
+
return this.getObjectTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
673
|
+
return response_and_data.data;
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Retrieves the methods associated with the Object Type
|
|
679
|
+
* Retrieves the methods associated with the Object Type
|
|
680
|
+
* @param {Number} objecttypeid
|
|
681
|
+
* @param {Object} opts Optional parameters
|
|
682
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
683
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
684
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
685
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
686
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
687
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
688
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
689
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
690
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
691
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
692
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetFunctionResponse} and HTTP response
|
|
693
|
+
*/
|
|
694
|
+
}, {
|
|
695
|
+
key: "getObjectTypeMethodsWithHttpInfo",
|
|
696
|
+
value: function getObjectTypeMethodsWithHttpInfo(objecttypeid, opts) {
|
|
697
|
+
opts = opts || {};
|
|
698
|
+
var postBody = null;
|
|
699
|
+
// verify the required parameter 'objecttypeid' is set
|
|
700
|
+
if (objecttypeid === undefined || objecttypeid === null) {
|
|
701
|
+
throw new Error("Missing the required parameter 'objecttypeid' when calling getObjectTypeMethods");
|
|
702
|
+
}
|
|
703
|
+
var pathParams = {
|
|
704
|
+
'objecttypeid': objecttypeid
|
|
705
|
+
};
|
|
706
|
+
var queryParams = {};
|
|
707
|
+
var headerParams = {
|
|
708
|
+
'Authorization': opts['authorization'],
|
|
709
|
+
'cacheduration': opts['cacheduration'],
|
|
710
|
+
'cachegroup': opts['cachegroup'],
|
|
711
|
+
'cachekey': opts['cachekey'],
|
|
712
|
+
'cachescope': opts['cachescope'],
|
|
713
|
+
'cacheuser': opts['cacheuser'],
|
|
714
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
715
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
716
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
717
|
+
'transactionid': opts['transactionid']
|
|
718
|
+
};
|
|
719
|
+
var formParams = {};
|
|
720
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
721
|
+
var contentTypes = [];
|
|
722
|
+
var accepts = ['application/json'];
|
|
723
|
+
var returnType = _GetFunctionResponse["default"];
|
|
724
|
+
return this.apiClient.callApi('/graph/data/functions/objecttype/{objecttypeid}/methods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Retrieves the methods associated with the Object Type
|
|
729
|
+
* Retrieves the methods associated with the Object Type
|
|
730
|
+
* @param {Number} objecttypeid
|
|
731
|
+
* @param {Object} opts Optional parameters
|
|
732
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
733
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
734
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
735
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
736
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
737
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
738
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
739
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
740
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
741
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
742
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetFunctionResponse}
|
|
743
|
+
*/
|
|
744
|
+
}, {
|
|
745
|
+
key: "getObjectTypeMethods",
|
|
746
|
+
value: function getObjectTypeMethods(objecttypeid, opts) {
|
|
747
|
+
return this.getObjectTypeMethodsWithHttpInfo(objecttypeid, opts).then(function (response_and_data) {
|
|
584
748
|
return response_and_data.data;
|
|
585
749
|
});
|
|
586
750
|
}
|
|
@@ -35,7 +35,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
35
35
|
* gobodo-api
|
|
36
36
|
* REST Interface for Gobodo API
|
|
37
37
|
*
|
|
38
|
-
* The version of the OpenAPI document: 0.1.
|
|
38
|
+
* The version of the OpenAPI document: 0.1.61
|
|
39
39
|
* Contact: info@gobodo.io
|
|
40
40
|
*
|
|
41
41
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
46
|
/**
|
|
47
47
|
* GraphObjects service.
|
|
48
48
|
* @module api/GraphObjectsApi
|
|
49
|
-
* @version 0.1.
|
|
49
|
+
* @version 0.1.61
|
|
50
50
|
*/
|
|
51
51
|
var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
52
|
/**
|