@gobodo/gobodo-api-promise 0.1.34
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 +794 -0
- package/dist/ApiClient.js +720 -0
- package/dist/api/ActionTypesApi.js +113 -0
- package/dist/api/AdCampaignsApi.js +500 -0
- package/dist/api/AdManagementApi.js +722 -0
- package/dist/api/AdminDataManagementApi.js +111 -0
- package/dist/api/AdsApi.js +384 -0
- package/dist/api/AttachmentsApi.js +465 -0
- package/dist/api/AuthenticationApi.js +418 -0
- package/dist/api/CategoriesApi.js +451 -0
- package/dist/api/CommentsApi.js +520 -0
- package/dist/api/ContentManagementApi.js +1491 -0
- package/dist/api/ConversationsApi.js +559 -0
- package/dist/api/DataSheetImportsApi.js +1066 -0
- package/dist/api/DefaultApi.js +696 -0
- package/dist/api/DocumentsApi.js +807 -0
- package/dist/api/EntryPartsApi.js +847 -0
- package/dist/api/FacebookApi.js +88 -0
- package/dist/api/FieldsApi.js +243 -0
- package/dist/api/FilesApi.js +116 -0
- package/dist/api/FormsApi.js +1136 -0
- package/dist/api/FunctionsApi.js +111 -0
- package/dist/api/GeocodeApi.js +340 -0
- package/dist/api/GoogleApi.js +88 -0
- package/dist/api/GraphActionsApi.js +674 -0
- package/dist/api/GraphObjectTypesApi.js +527 -0
- package/dist/api/GraphObjectsApi.js +4026 -0
- package/dist/api/GraphRelationshipTypesApi.js +1055 -0
- package/dist/api/GraphRelationshipsApi.js +1921 -0
- package/dist/api/GraphSchemasApi.js +459 -0
- package/dist/api/GraphTraversalApi.js +415 -0
- package/dist/api/GraphsApi.js +716 -0
- package/dist/api/GroupsApi.js +731 -0
- package/dist/api/IAMApi.js +268 -0
- package/dist/api/ImagesApi.js +535 -0
- package/dist/api/InvitesApi.js +339 -0
- package/dist/api/LikesApi.js +785 -0
- package/dist/api/LinkedINApi.js +88 -0
- package/dist/api/LiveMeetingsApi.js +175 -0
- package/dist/api/MeetingEventsApi.js +358 -0
- package/dist/api/PagesApi.js +605 -0
- package/dist/api/PostsApi.js +330 -0
- package/dist/api/PrivateMessagesApi.js +965 -0
- package/dist/api/PublicationsApi.js +103 -0
- package/dist/api/ScreensApi.js +224 -0
- package/dist/api/SocialIntegrationApi.js +214 -0
- package/dist/api/StripeAccountsApi.js +2309 -0
- package/dist/api/TagsApi.js +111 -0
- package/dist/api/TemplatesApi.js +224 -0
- package/dist/api/ThemeMappingsApi.js +219 -0
- package/dist/api/TransactionsApi.js +161 -0
- package/dist/api/TwitterApi.js +88 -0
- package/dist/api/UserTagsApi.js +592 -0
- package/dist/api/UsersApi.js +591 -0
- package/dist/api/UtilsApi.js +80 -0
- package/dist/api/VideosApi.js +709 -0
- package/dist/index.js +1301 -0
- package/dist/model/APIClient.js +354 -0
- package/dist/model/AccountSessionInput.js +222 -0
- package/dist/model/AccountSessionResponse.js +171 -0
- package/dist/model/ApplicationPaymentAccountResponse.js +185 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +265 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +234 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +303 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +187 -0
- package/dist/model/Article.js +668 -0
- package/dist/model/Authorization.js +166 -0
- package/dist/model/Balance.js +267 -0
- package/dist/model/BalanceDetails.js +164 -0
- package/dist/model/BalanceResponse.js +139 -0
- package/dist/model/BankAccountInfo.js +232 -0
- package/dist/model/CardInfo.js +213 -0
- package/dist/model/Comment.js +495 -0
- package/dist/model/Coordinates.js +129 -0
- package/dist/model/CreateAccountResponse.js +233 -0
- package/dist/model/CreateStripeAccountInput.js +216 -0
- package/dist/model/CreateStripeCustomerInput.js +195 -0
- package/dist/model/CustomerResponse.js +168 -0
- package/dist/model/DataObject.js +129 -0
- package/dist/model/DataSheetImport.js +732 -0
- package/dist/model/DataSheetImportPrivacySettings.js +154 -0
- package/dist/model/DataSheetImportSummary.js +206 -0
- package/dist/model/Document.js +743 -0
- package/dist/model/DocumentPart.js +612 -0
- package/dist/model/DocumentPartType.js +358 -0
- package/dist/model/DocumentType.js +458 -0
- package/dist/model/FieldMapping.js +185 -0
- package/dist/model/Fields.js +737 -0
- package/dist/model/File.js +341 -0
- package/dist/model/FileAttachmentUploadObject.js +341 -0
- package/dist/model/Filter.js +137 -0
- package/dist/model/FilterManager.js +154 -0
- package/dist/model/Form.js +393 -0
- package/dist/model/FormSection.js +304 -0
- package/dist/model/FormSubmission.js +238 -0
- package/dist/model/Geocode.js +191 -0
- package/dist/model/GeocodePayload.js +141 -0
- package/dist/model/GeolocationInput.js +216 -0
- package/dist/model/Graph.js +499 -0
- package/dist/model/GraphAction.js +298 -0
- package/dist/model/GraphDatabaseService.js +254 -0
- package/dist/model/GraphGeocode.js +282 -0
- package/dist/model/GraphIteratorEntryPart.js +129 -0
- package/dist/model/GraphObject.js +454 -0
- package/dist/model/GraphObjectPayload.js +430 -0
- package/dist/model/GraphObjectSchema.js +545 -0
- package/dist/model/GraphObjectType.js +626 -0
- package/dist/model/GraphObjectTypeSchema.js +645 -0
- package/dist/model/GraphOwner.js +158 -0
- package/dist/model/GraphRelationObjectObject.js +273 -0
- package/dist/model/GraphRelationship.js +301 -0
- package/dist/model/GraphRelationshipPayload.js +214 -0
- package/dist/model/GraphRelationshipType.js +675 -0
- package/dist/model/GraphSchema.js +645 -0
- package/dist/model/GraphTraversalInput.js +1125 -0
- package/dist/model/Image.js +449 -0
- package/dist/model/ImageUploadObject.js +449 -0
- package/dist/model/InputPart.js +191 -0
- package/dist/model/InputPartMediaType.js +214 -0
- package/dist/model/Link.js +305 -0
- package/dist/model/LiveStreamInfo.js +167 -0
- package/dist/model/MeetingEvent.js +591 -0
- package/dist/model/MeetingEventTimezone.js +187 -0
- package/dist/model/MeetingInfo.js +220 -0
- package/dist/model/Member.js +525 -0
- package/dist/model/MemberGroupCategory.js +237 -0
- package/dist/model/MemberList.js +96 -0
- package/dist/model/MessageGroup.js +160 -0
- package/dist/model/MultipartBody.js +133 -0
- package/dist/model/Objecttype.js +615 -0
- package/dist/model/Page.js +370 -0
- package/dist/model/PageSchema.js +482 -0
- package/dist/model/Pageable.js +235 -0
- package/dist/model/Path.js +110 -0
- package/dist/model/PaymentAccountObject.js +209 -0
- package/dist/model/PaymentIntentInput.js +214 -0
- package/dist/model/PaymentIntentResponse.js +137 -0
- package/dist/model/PaymentMethod.js +319 -0
- package/dist/model/PaymentMethodInput.js +291 -0
- package/dist/model/PaymentMethodResponse.js +139 -0
- package/dist/model/PaymentMethodsResponse.js +158 -0
- package/dist/model/Payout.js +313 -0
- package/dist/model/PayoutInput.js +347 -0
- package/dist/model/PayoutResponse.js +142 -0
- package/dist/model/Post.js +368 -0
- package/dist/model/PrivateMessage.js +494 -0
- package/dist/model/PrivateMessageConversation.js +520 -0
- package/dist/model/PrivateMessageConversationSchema.js +268 -0
- package/dist/model/Profile.js +191 -0
- package/dist/model/Profiletype.js +210 -0
- package/dist/model/PropertyContainer.js +162 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
- package/dist/model/RelationshipMapping.js +264 -0
- package/dist/model/ScreenSchema.js +834 -0
- package/dist/model/SimulcastInfo.js +175 -0
- package/dist/model/SkinField.js +737 -0
- package/dist/model/SocialGroup.js +602 -0
- package/dist/model/SocialGroupType.js +327 -0
- package/dist/model/Sort.js +154 -0
- package/dist/model/SourceTypes.js +154 -0
- package/dist/model/StatusUpdate.js +312 -0
- package/dist/model/StreetAddress.js +224 -0
- package/dist/model/StripeAccount.js +272 -0
- package/dist/model/StripeCustomerAccount.js +212 -0
- package/dist/model/Template.js +272 -0
- package/dist/model/TemplateSchema.js +300 -0
- package/dist/model/ThemeMapping.js +245 -0
- package/dist/model/ThemeMappingPayload.js +239 -0
- package/dist/model/Transaction.js +137 -0
- package/dist/model/Transfer.js +286 -0
- package/dist/model/TransferInput.js +288 -0
- package/dist/model/TransferResponse.js +173 -0
- package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
- package/dist/model/TraversalRelationResponse.js +176 -0
- package/dist/model/User.js +525 -0
- package/dist/model/UserDataPayload.js +525 -0
- package/dist/model/UserDomain.js +191 -0
- package/dist/model/UserInvite.js +404 -0
- package/dist/model/UserInviteInput.js +245 -0
- package/dist/model/UserSchema.js +525 -0
- package/dist/model/UserTag.js +246 -0
- package/dist/model/Userid.js +133 -0
- package/dist/model/Video.js +632 -0
- package/dist/model/VideoLiveUrl.js +137 -0
- package/dist/model/VideoSchema.js +717 -0
- package/dist/model/VideoUploadObject.js +632 -0
- package/dist/model/ZeusPortalCategory.js +434 -0
- package/package.json +46 -0
|
@@ -0,0 +1,696 @@
|
|
|
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 _APIClient = _interopRequireDefault(require("../model/APIClient"));
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* gobodo-api
|
|
18
|
+
* REST Interface for Gobodo API
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: 0.1.34
|
|
21
|
+
* Contact: info@gobodo.io
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Default service.
|
|
30
|
+
* @module api/DefaultApi
|
|
31
|
+
* @version 0.1.34
|
|
32
|
+
*/
|
|
33
|
+
var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new DefaultApi.
|
|
36
|
+
* @alias module:api/DefaultApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
|
+
function DefaultApi(apiClient) {
|
|
42
|
+
_classCallCheck(this, DefaultApi);
|
|
43
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @param {Number} id
|
|
48
|
+
* @param {Object} opts Optional parameters
|
|
49
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
50
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
51
|
+
* @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
|
|
52
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
53
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
54
|
+
* @param {Array.<module:model/PurgeDataDefaultResponseValue>} [purgeDataDefaultResponseValue]
|
|
55
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
56
|
+
*/
|
|
57
|
+
_createClass(DefaultApi, [{
|
|
58
|
+
key: "addEndObjectTypesWithHttpInfo",
|
|
59
|
+
value: function addEndObjectTypesWithHttpInfo(id, opts) {
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
62
|
+
// verify the required parameter 'id' is set
|
|
63
|
+
if (id === undefined || id === null) {
|
|
64
|
+
throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes");
|
|
65
|
+
}
|
|
66
|
+
var pathParams = {
|
|
67
|
+
'id': id
|
|
68
|
+
};
|
|
69
|
+
var queryParams = {};
|
|
70
|
+
var headerParams = {
|
|
71
|
+
'Authorization': opts['authorization'],
|
|
72
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
73
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
74
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
75
|
+
'transactionid': opts['transactionid']
|
|
76
|
+
};
|
|
77
|
+
var formParams = {};
|
|
78
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
79
|
+
var contentTypes = ['application/json'];
|
|
80
|
+
var accepts = ['application/json'];
|
|
81
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
82
|
+
return this.apiClient.callApi('/graph/data/actiontype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @param {Number} id
|
|
87
|
+
* @param {Object} opts Optional parameters
|
|
88
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
89
|
+
* @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
|
|
90
|
+
* @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
|
|
91
|
+
* @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
|
|
92
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
93
|
+
* @param {Array.<module:model/PurgeDataDefaultResponseValue>} opts.purgeDataDefaultResponseValue
|
|
94
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
95
|
+
*/
|
|
96
|
+
}, {
|
|
97
|
+
key: "addEndObjectTypes",
|
|
98
|
+
value: function addEndObjectTypes(id, opts) {
|
|
99
|
+
return this.addEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
100
|
+
return response_and_data.data;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @param {Array.<module:model/APIClient>} aPIClient API Client Object
|
|
106
|
+
* @param {Object} opts Optional parameters
|
|
107
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
108
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
109
|
+
* @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
|
|
110
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
111
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
112
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/APIClient>} and HTTP response
|
|
113
|
+
*/
|
|
114
|
+
}, {
|
|
115
|
+
key: "createApiClientWithHttpInfo",
|
|
116
|
+
value: function createApiClientWithHttpInfo(aPIClient, opts) {
|
|
117
|
+
opts = opts || {};
|
|
118
|
+
var postBody = aPIClient;
|
|
119
|
+
// verify the required parameter 'aPIClient' is set
|
|
120
|
+
if (aPIClient === undefined || aPIClient === null) {
|
|
121
|
+
throw new Error("Missing the required parameter 'aPIClient' when calling createApiClient");
|
|
122
|
+
}
|
|
123
|
+
var pathParams = {};
|
|
124
|
+
var queryParams = {};
|
|
125
|
+
var headerParams = {
|
|
126
|
+
'Authorization': opts['authorization'],
|
|
127
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
128
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
129
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
130
|
+
'transactionid': opts['transactionid']
|
|
131
|
+
};
|
|
132
|
+
var formParams = {};
|
|
133
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
134
|
+
var contentTypes = ['application/json'];
|
|
135
|
+
var accepts = ['application/json'];
|
|
136
|
+
var returnType = [_APIClient["default"]];
|
|
137
|
+
return this.apiClient.callApi('/graph/data/api/clients', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @param {Array.<module:model/APIClient>} aPIClient API Client Object
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
144
|
+
* @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
|
|
145
|
+
* @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
|
|
146
|
+
* @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
|
|
147
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
148
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/APIClient>}
|
|
149
|
+
*/
|
|
150
|
+
}, {
|
|
151
|
+
key: "createApiClient",
|
|
152
|
+
value: function createApiClient(aPIClient, opts) {
|
|
153
|
+
return this.createApiClientWithHttpInfo(aPIClient, opts).then(function (response_and_data) {
|
|
154
|
+
return response_and_data.data;
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @param {Object} opts Optional parameters
|
|
160
|
+
* @param {String} [apiKey] The Api Key of the client accessing the api
|
|
161
|
+
* @param {String} [authorization]
|
|
162
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
163
|
+
*/
|
|
164
|
+
}, {
|
|
165
|
+
key: "doEndPointWithHttpInfo",
|
|
166
|
+
value: function doEndPointWithHttpInfo(opts) {
|
|
167
|
+
opts = opts || {};
|
|
168
|
+
var postBody = null;
|
|
169
|
+
var pathParams = {};
|
|
170
|
+
var queryParams = {};
|
|
171
|
+
var headerParams = {
|
|
172
|
+
'apiKey': opts['apiKey'],
|
|
173
|
+
'Authorization': opts['authorization']
|
|
174
|
+
};
|
|
175
|
+
var formParams = {};
|
|
176
|
+
var authNames = ['NexusGraphAPIKey'];
|
|
177
|
+
var contentTypes = [];
|
|
178
|
+
var accepts = ['application/json'];
|
|
179
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
180
|
+
return this.apiClient.callApi('/graph/data', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @param {Object} opts Optional parameters
|
|
185
|
+
* @param {String} opts.apiKey The Api Key of the client accessing the api
|
|
186
|
+
* @param {String} opts.authorization
|
|
187
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
188
|
+
*/
|
|
189
|
+
}, {
|
|
190
|
+
key: "doEndPoint",
|
|
191
|
+
value: function doEndPoint(opts) {
|
|
192
|
+
return this.doEndPointWithHttpInfo(opts).then(function (response_and_data) {
|
|
193
|
+
return response_and_data.data;
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Root for the API
|
|
199
|
+
* @param {Object} opts Optional parameters
|
|
200
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
201
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
202
|
+
* @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
|
|
203
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
204
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
205
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
206
|
+
*/
|
|
207
|
+
}, {
|
|
208
|
+
key: "get21WithHttpInfo",
|
|
209
|
+
value: function get21WithHttpInfo(opts) {
|
|
210
|
+
opts = opts || {};
|
|
211
|
+
var postBody = null;
|
|
212
|
+
var pathParams = {};
|
|
213
|
+
var queryParams = {};
|
|
214
|
+
var headerParams = {
|
|
215
|
+
'Authorization': opts['authorization'],
|
|
216
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
217
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
218
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
219
|
+
'transactionid': opts['transactionid']
|
|
220
|
+
};
|
|
221
|
+
var formParams = {};
|
|
222
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
223
|
+
var contentTypes = [];
|
|
224
|
+
var accepts = ['*/*'];
|
|
225
|
+
var returnType = null;
|
|
226
|
+
return this.apiClient.callApi('/graph/data/api/clients', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Root for the API
|
|
231
|
+
* @param {Object} opts Optional parameters
|
|
232
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
233
|
+
* @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
|
|
234
|
+
* @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
|
|
235
|
+
* @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
|
|
236
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
237
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
238
|
+
*/
|
|
239
|
+
}, {
|
|
240
|
+
key: "get21",
|
|
241
|
+
value: function get21(opts) {
|
|
242
|
+
return this.get21WithHttpInfo(opts).then(function (response_and_data) {
|
|
243
|
+
return response_and_data.data;
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Gets and object by id
|
|
249
|
+
* @param {Number} id
|
|
250
|
+
* @param {Object} opts Optional parameters
|
|
251
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
252
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
253
|
+
* @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
|
|
254
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
255
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
256
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
257
|
+
*/
|
|
258
|
+
}, {
|
|
259
|
+
key: "get22WithHttpInfo",
|
|
260
|
+
value: function get22WithHttpInfo(id, opts) {
|
|
261
|
+
opts = opts || {};
|
|
262
|
+
var postBody = null;
|
|
263
|
+
// verify the required parameter 'id' is set
|
|
264
|
+
if (id === undefined || id === null) {
|
|
265
|
+
throw new Error("Missing the required parameter 'id' when calling get22");
|
|
266
|
+
}
|
|
267
|
+
var pathParams = {
|
|
268
|
+
'id': id
|
|
269
|
+
};
|
|
270
|
+
var queryParams = {};
|
|
271
|
+
var headerParams = {
|
|
272
|
+
'Authorization': opts['authorization'],
|
|
273
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
274
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
275
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
276
|
+
'transactionid': opts['transactionid']
|
|
277
|
+
};
|
|
278
|
+
var formParams = {};
|
|
279
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
280
|
+
var contentTypes = [];
|
|
281
|
+
var accepts = ['application/json'];
|
|
282
|
+
var returnType = {
|
|
283
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
284
|
+
};
|
|
285
|
+
return this.apiClient.callApi('/graph/data/api/clients/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Gets and object by id
|
|
290
|
+
* @param {Number} id
|
|
291
|
+
* @param {Object} opts Optional parameters
|
|
292
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
293
|
+
* @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
|
|
294
|
+
* @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
|
|
295
|
+
* @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
|
|
296
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
297
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
298
|
+
*/
|
|
299
|
+
}, {
|
|
300
|
+
key: "get22",
|
|
301
|
+
value: function get22(id, opts) {
|
|
302
|
+
return this.get22WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
303
|
+
return response_and_data.data;
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Root for the API
|
|
309
|
+
* @param {Object} opts Optional parameters
|
|
310
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
311
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
312
|
+
* @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
|
|
313
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
314
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
315
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
316
|
+
*/
|
|
317
|
+
}, {
|
|
318
|
+
key: "get5WithHttpInfo",
|
|
319
|
+
value: function get5WithHttpInfo(opts) {
|
|
320
|
+
opts = opts || {};
|
|
321
|
+
var postBody = null;
|
|
322
|
+
var pathParams = {};
|
|
323
|
+
var queryParams = {};
|
|
324
|
+
var headerParams = {
|
|
325
|
+
'Authorization': opts['authorization'],
|
|
326
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
327
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
328
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
329
|
+
'transactionid': opts['transactionid']
|
|
330
|
+
};
|
|
331
|
+
var formParams = {};
|
|
332
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
333
|
+
var contentTypes = [];
|
|
334
|
+
var accepts = ['*/*'];
|
|
335
|
+
var returnType = null;
|
|
336
|
+
return this.apiClient.callApi('/graph/data/actiontype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Root for the API
|
|
341
|
+
* @param {Object} opts Optional parameters
|
|
342
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
343
|
+
* @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
|
|
344
|
+
* @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
|
|
345
|
+
* @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
|
|
346
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
347
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
348
|
+
*/
|
|
349
|
+
}, {
|
|
350
|
+
key: "get5",
|
|
351
|
+
value: function get5(opts) {
|
|
352
|
+
return this.get5WithHttpInfo(opts).then(function (response_and_data) {
|
|
353
|
+
return response_and_data.data;
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Gets and object by id
|
|
359
|
+
* @param {Number} id
|
|
360
|
+
* @param {Object} opts Optional parameters
|
|
361
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
362
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
363
|
+
* @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
|
|
364
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
365
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
366
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
367
|
+
*/
|
|
368
|
+
}, {
|
|
369
|
+
key: "get6WithHttpInfo",
|
|
370
|
+
value: function get6WithHttpInfo(id, opts) {
|
|
371
|
+
opts = opts || {};
|
|
372
|
+
var postBody = null;
|
|
373
|
+
// verify the required parameter 'id' is set
|
|
374
|
+
if (id === undefined || id === null) {
|
|
375
|
+
throw new Error("Missing the required parameter 'id' when calling get6");
|
|
376
|
+
}
|
|
377
|
+
var pathParams = {
|
|
378
|
+
'id': id
|
|
379
|
+
};
|
|
380
|
+
var queryParams = {};
|
|
381
|
+
var headerParams = {
|
|
382
|
+
'Authorization': opts['authorization'],
|
|
383
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
384
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
385
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
386
|
+
'transactionid': opts['transactionid']
|
|
387
|
+
};
|
|
388
|
+
var formParams = {};
|
|
389
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
390
|
+
var contentTypes = [];
|
|
391
|
+
var accepts = ['application/json'];
|
|
392
|
+
var returnType = {
|
|
393
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
394
|
+
};
|
|
395
|
+
return this.apiClient.callApi('/graph/data/actiontype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Gets and object by id
|
|
400
|
+
* @param {Number} id
|
|
401
|
+
* @param {Object} opts Optional parameters
|
|
402
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
403
|
+
* @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
|
|
404
|
+
* @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
|
|
405
|
+
* @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
|
|
406
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
407
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
408
|
+
*/
|
|
409
|
+
}, {
|
|
410
|
+
key: "get6",
|
|
411
|
+
value: function get6(id, opts) {
|
|
412
|
+
return this.get6WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
413
|
+
return response_and_data.data;
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Gets an api client by id
|
|
419
|
+
* Gets a comment by id
|
|
420
|
+
* @param {Object} opts Optional parameters
|
|
421
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
422
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
423
|
+
* @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
|
|
424
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
425
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
426
|
+
* @param {String} [body] The id of the object that we are retreiving
|
|
427
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/APIClient} and HTTP response
|
|
428
|
+
*/
|
|
429
|
+
}, {
|
|
430
|
+
key: "getApiClientByIdWithHttpInfo",
|
|
431
|
+
value: function getApiClientByIdWithHttpInfo(opts) {
|
|
432
|
+
opts = opts || {};
|
|
433
|
+
var postBody = opts['body'];
|
|
434
|
+
var pathParams = {};
|
|
435
|
+
var queryParams = {};
|
|
436
|
+
var headerParams = {
|
|
437
|
+
'Authorization': opts['authorization'],
|
|
438
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
439
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
440
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
441
|
+
'transactionid': opts['transactionid']
|
|
442
|
+
};
|
|
443
|
+
var formParams = {};
|
|
444
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
445
|
+
var contentTypes = [];
|
|
446
|
+
var accepts = ['*/*'];
|
|
447
|
+
var returnType = _APIClient["default"];
|
|
448
|
+
return this.apiClient.callApi('/graph/data/api/clients/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Gets an api client by id
|
|
453
|
+
* Gets a comment by id
|
|
454
|
+
* @param {Object} opts Optional parameters
|
|
455
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
456
|
+
* @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
|
|
457
|
+
* @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
|
|
458
|
+
* @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
|
|
459
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
460
|
+
* @param {String} opts.body The id of the object that we are retreiving
|
|
461
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/APIClient}
|
|
462
|
+
*/
|
|
463
|
+
}, {
|
|
464
|
+
key: "getApiClientById",
|
|
465
|
+
value: function getApiClientById(opts) {
|
|
466
|
+
return this.getApiClientByIdWithHttpInfo(opts).then(function (response_and_data) {
|
|
467
|
+
return response_and_data.data;
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @param {Number} id
|
|
473
|
+
* @param {Object} opts Optional parameters
|
|
474
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
475
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
476
|
+
* @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
|
|
477
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
478
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
479
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
480
|
+
*/
|
|
481
|
+
}, {
|
|
482
|
+
key: "getEndObjectTypesWithHttpInfo",
|
|
483
|
+
value: function getEndObjectTypesWithHttpInfo(id, opts) {
|
|
484
|
+
opts = opts || {};
|
|
485
|
+
var postBody = null;
|
|
486
|
+
// verify the required parameter 'id' is set
|
|
487
|
+
if (id === undefined || id === null) {
|
|
488
|
+
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
|
|
489
|
+
}
|
|
490
|
+
var pathParams = {
|
|
491
|
+
'id': id
|
|
492
|
+
};
|
|
493
|
+
var queryParams = {};
|
|
494
|
+
var headerParams = {
|
|
495
|
+
'Authorization': opts['authorization'],
|
|
496
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
497
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
498
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
499
|
+
'transactionid': opts['transactionid']
|
|
500
|
+
};
|
|
501
|
+
var formParams = {};
|
|
502
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
503
|
+
var contentTypes = [];
|
|
504
|
+
var accepts = ['application/json'];
|
|
505
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
506
|
+
return this.apiClient.callApi('/graph/data/actiontype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @param {Number} id
|
|
511
|
+
* @param {Object} opts Optional parameters
|
|
512
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
513
|
+
* @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
|
|
514
|
+
* @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
|
|
515
|
+
* @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
|
|
516
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
517
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
518
|
+
*/
|
|
519
|
+
}, {
|
|
520
|
+
key: "getEndObjectTypes",
|
|
521
|
+
value: function getEndObjectTypes(id, opts) {
|
|
522
|
+
return this.getEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
523
|
+
return response_and_data.data;
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @param {Number} id
|
|
529
|
+
* @param {Object} opts Optional parameters
|
|
530
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
531
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
532
|
+
* @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
|
|
533
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
534
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
535
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
536
|
+
*/
|
|
537
|
+
}, {
|
|
538
|
+
key: "getFieldsWithHttpInfo",
|
|
539
|
+
value: function getFieldsWithHttpInfo(id, opts) {
|
|
540
|
+
opts = opts || {};
|
|
541
|
+
var postBody = null;
|
|
542
|
+
// verify the required parameter 'id' is set
|
|
543
|
+
if (id === undefined || id === null) {
|
|
544
|
+
throw new Error("Missing the required parameter 'id' when calling getFields");
|
|
545
|
+
}
|
|
546
|
+
var pathParams = {
|
|
547
|
+
'id': id
|
|
548
|
+
};
|
|
549
|
+
var queryParams = {};
|
|
550
|
+
var headerParams = {
|
|
551
|
+
'Authorization': opts['authorization'],
|
|
552
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
553
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
554
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
555
|
+
'transactionid': opts['transactionid']
|
|
556
|
+
};
|
|
557
|
+
var formParams = {};
|
|
558
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
559
|
+
var contentTypes = [];
|
|
560
|
+
var accepts = ['application/json'];
|
|
561
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
562
|
+
return this.apiClient.callApi('/graph/data/actiontype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @param {Number} id
|
|
567
|
+
* @param {Object} opts Optional parameters
|
|
568
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
569
|
+
* @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
|
|
570
|
+
* @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
|
|
571
|
+
* @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
|
|
572
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
573
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
574
|
+
*/
|
|
575
|
+
}, {
|
|
576
|
+
key: "getFields",
|
|
577
|
+
value: function getFields(id, opts) {
|
|
578
|
+
return this.getFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
579
|
+
return response_and_data.data;
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Resets the secret key of the API Client
|
|
585
|
+
* Resets the secret key of the API Client
|
|
586
|
+
* @param {Object} opts Optional parameters
|
|
587
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
588
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
589
|
+
* @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
|
|
590
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
591
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
592
|
+
* @param {String} [body] The id of the client we are resetting the secret key for
|
|
593
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/APIClient} and HTTP response
|
|
594
|
+
*/
|
|
595
|
+
}, {
|
|
596
|
+
key: "resetSecretKeyWithHttpInfo",
|
|
597
|
+
value: function resetSecretKeyWithHttpInfo(opts) {
|
|
598
|
+
opts = opts || {};
|
|
599
|
+
var postBody = opts['body'];
|
|
600
|
+
var pathParams = {};
|
|
601
|
+
var queryParams = {};
|
|
602
|
+
var headerParams = {
|
|
603
|
+
'Authorization': opts['authorization'],
|
|
604
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
605
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
606
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
607
|
+
'transactionid': opts['transactionid']
|
|
608
|
+
};
|
|
609
|
+
var formParams = {};
|
|
610
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
611
|
+
var contentTypes = [];
|
|
612
|
+
var accepts = ['*/*'];
|
|
613
|
+
var returnType = _APIClient["default"];
|
|
614
|
+
return this.apiClient.callApi('/graph/data/api/clients/{key}/resetSecretkey', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Resets the secret key of the API Client
|
|
619
|
+
* Resets the secret key of the API Client
|
|
620
|
+
* @param {Object} opts Optional parameters
|
|
621
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
622
|
+
* @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
|
|
623
|
+
* @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
|
|
624
|
+
* @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
|
|
625
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
626
|
+
* @param {String} opts.body The id of the client we are resetting the secret key for
|
|
627
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/APIClient}
|
|
628
|
+
*/
|
|
629
|
+
}, {
|
|
630
|
+
key: "resetSecretKey",
|
|
631
|
+
value: function resetSecretKey(opts) {
|
|
632
|
+
return this.resetSecretKeyWithHttpInfo(opts).then(function (response_and_data) {
|
|
633
|
+
return response_and_data.data;
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @param {Number} id
|
|
639
|
+
* @param {Object} opts Optional parameters
|
|
640
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
641
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
642
|
+
* @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
|
|
643
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
644
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
645
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
646
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
647
|
+
*/
|
|
648
|
+
}, {
|
|
649
|
+
key: "updateTemplateWithHttpInfo",
|
|
650
|
+
value: function updateTemplateWithHttpInfo(id, opts) {
|
|
651
|
+
opts = opts || {};
|
|
652
|
+
var postBody = opts['requestBody'];
|
|
653
|
+
// verify the required parameter 'id' is set
|
|
654
|
+
if (id === undefined || id === null) {
|
|
655
|
+
throw new Error("Missing the required parameter 'id' when calling updateTemplate");
|
|
656
|
+
}
|
|
657
|
+
var pathParams = {
|
|
658
|
+
'id': id
|
|
659
|
+
};
|
|
660
|
+
var queryParams = {};
|
|
661
|
+
var headerParams = {
|
|
662
|
+
'Authorization': opts['authorization'],
|
|
663
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
664
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
665
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
666
|
+
'transactionid': opts['transactionid']
|
|
667
|
+
};
|
|
668
|
+
var formParams = {};
|
|
669
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
670
|
+
var contentTypes = ['application/json'];
|
|
671
|
+
var accepts = ['application/json'];
|
|
672
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
673
|
+
return this.apiClient.callApi('/graph/data/actiontype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @param {Number} id
|
|
678
|
+
* @param {Object} opts Optional parameters
|
|
679
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
680
|
+
* @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
|
|
681
|
+
* @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
|
|
682
|
+
* @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
|
|
683
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
684
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
|
|
685
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
686
|
+
*/
|
|
687
|
+
}, {
|
|
688
|
+
key: "updateTemplate",
|
|
689
|
+
value: function updateTemplate(id, opts) {
|
|
690
|
+
return this.updateTemplateWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
691
|
+
return response_and_data.data;
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
}]);
|
|
695
|
+
return DefaultApi;
|
|
696
|
+
}();
|