@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,592 @@
|
|
|
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 _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
10
|
+
var _UserTag = _interopRequireDefault(require("../model/UserTag"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17
|
+
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); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.34
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* UserTags service.
|
|
31
|
+
* @module api/UserTagsApi
|
|
32
|
+
* @version 0.1.34
|
|
33
|
+
*/
|
|
34
|
+
var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new UserTagsApi.
|
|
37
|
+
* @alias module:api/UserTagsApi
|
|
38
|
+
* @class
|
|
39
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
40
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
41
|
+
*/
|
|
42
|
+
function UserTagsApi(apiClient) {
|
|
43
|
+
_classCallCheck(this, UserTagsApi);
|
|
44
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Delete Relationship
|
|
49
|
+
* Delete an individual relationship
|
|
50
|
+
* @param {Number} id
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
53
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
54
|
+
* @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
|
|
55
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
56
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
57
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
58
|
+
*/
|
|
59
|
+
_createClass(UserTagsApi, [{
|
|
60
|
+
key: "deleteRelationship2WithHttpInfo",
|
|
61
|
+
value: function deleteRelationship2WithHttpInfo(id, opts) {
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
var postBody = null;
|
|
64
|
+
// verify the required parameter 'id' is set
|
|
65
|
+
if (id === undefined || id === null) {
|
|
66
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship2");
|
|
67
|
+
}
|
|
68
|
+
var pathParams = {
|
|
69
|
+
'id': id
|
|
70
|
+
};
|
|
71
|
+
var queryParams = {};
|
|
72
|
+
var headerParams = {
|
|
73
|
+
'Authorization': opts['authorization'],
|
|
74
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
75
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
76
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
77
|
+
'transactionid': opts['transactionid']
|
|
78
|
+
};
|
|
79
|
+
var formParams = {};
|
|
80
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
81
|
+
var contentTypes = [];
|
|
82
|
+
var accepts = ['*/*'];
|
|
83
|
+
var returnType = null;
|
|
84
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Delete Relationship
|
|
89
|
+
* Delete an individual relationship
|
|
90
|
+
* @param {Number} id
|
|
91
|
+
* @param {Object} opts Optional parameters
|
|
92
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
93
|
+
* @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
|
|
94
|
+
* @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
|
|
95
|
+
* @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
|
|
96
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
97
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "deleteRelationship2",
|
|
101
|
+
value: function deleteRelationship2(id, opts) {
|
|
102
|
+
return this.deleteRelationship2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
103
|
+
return response_and_data.data;
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Root for the API
|
|
109
|
+
* @param {Object} opts Optional parameters
|
|
110
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
111
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
112
|
+
* @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
|
|
113
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
114
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
115
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "get43WithHttpInfo",
|
|
119
|
+
value: function get43WithHttpInfo(opts) {
|
|
120
|
+
opts = opts || {};
|
|
121
|
+
var postBody = null;
|
|
122
|
+
var pathParams = {};
|
|
123
|
+
var queryParams = {};
|
|
124
|
+
var headerParams = {
|
|
125
|
+
'Authorization': opts['authorization'],
|
|
126
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
127
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
128
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
129
|
+
'transactionid': opts['transactionid']
|
|
130
|
+
};
|
|
131
|
+
var formParams = {};
|
|
132
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
133
|
+
var contentTypes = [];
|
|
134
|
+
var accepts = ['*/*'];
|
|
135
|
+
var returnType = null;
|
|
136
|
+
return this.apiClient.callApi('/graph/data/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Root for the API
|
|
141
|
+
* @param {Object} opts Optional parameters
|
|
142
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
143
|
+
* @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
|
|
144
|
+
* @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
|
|
145
|
+
* @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
|
|
146
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
147
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
148
|
+
*/
|
|
149
|
+
}, {
|
|
150
|
+
key: "get43",
|
|
151
|
+
value: function get43(opts) {
|
|
152
|
+
return this.get43WithHttpInfo(opts).then(function (response_and_data) {
|
|
153
|
+
return response_and_data.data;
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Get Properties
|
|
159
|
+
* Get all properties attached to a relationship
|
|
160
|
+
* @param {Number} id
|
|
161
|
+
* @param {Object} opts Optional parameters
|
|
162
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
163
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
164
|
+
* @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
|
|
165
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
166
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
167
|
+
* @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
|
|
168
|
+
*/
|
|
169
|
+
}, {
|
|
170
|
+
key: "getRelProperties2WithHttpInfo",
|
|
171
|
+
value: function getRelProperties2WithHttpInfo(id, opts) {
|
|
172
|
+
opts = opts || {};
|
|
173
|
+
var postBody = null;
|
|
174
|
+
// verify the required parameter 'id' is set
|
|
175
|
+
if (id === undefined || id === null) {
|
|
176
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperties2");
|
|
177
|
+
}
|
|
178
|
+
var pathParams = {
|
|
179
|
+
'id': id
|
|
180
|
+
};
|
|
181
|
+
var queryParams = {};
|
|
182
|
+
var headerParams = {
|
|
183
|
+
'Authorization': opts['authorization'],
|
|
184
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
185
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
186
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
187
|
+
'transactionid': opts['transactionid']
|
|
188
|
+
};
|
|
189
|
+
var formParams = {};
|
|
190
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
191
|
+
var contentTypes = [];
|
|
192
|
+
var accepts = ['application/json'];
|
|
193
|
+
var returnType = {
|
|
194
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
195
|
+
};
|
|
196
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Get Properties
|
|
201
|
+
* Get all properties attached to a relationship
|
|
202
|
+
* @param {Number} id
|
|
203
|
+
* @param {Object} opts Optional parameters
|
|
204
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
205
|
+
* @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
|
|
206
|
+
* @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
|
|
207
|
+
* @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
|
|
208
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
209
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
210
|
+
*/
|
|
211
|
+
}, {
|
|
212
|
+
key: "getRelProperties2",
|
|
213
|
+
value: function getRelProperties2(id, opts) {
|
|
214
|
+
return this.getRelProperties2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
215
|
+
return response_and_data.data;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Get Property
|
|
221
|
+
* Get a single property attached to a relationship
|
|
222
|
+
* @param {Number} id
|
|
223
|
+
* @param {String} prop
|
|
224
|
+
* @param {Object} opts Optional parameters
|
|
225
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
226
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
227
|
+
* @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
|
|
228
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
229
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
230
|
+
* @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
|
|
231
|
+
*/
|
|
232
|
+
}, {
|
|
233
|
+
key: "getRelProperty2WithHttpInfo",
|
|
234
|
+
value: function getRelProperty2WithHttpInfo(id, prop, opts) {
|
|
235
|
+
opts = opts || {};
|
|
236
|
+
var postBody = null;
|
|
237
|
+
// verify the required parameter 'id' is set
|
|
238
|
+
if (id === undefined || id === null) {
|
|
239
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperty2");
|
|
240
|
+
}
|
|
241
|
+
// verify the required parameter 'prop' is set
|
|
242
|
+
if (prop === undefined || prop === null) {
|
|
243
|
+
throw new Error("Missing the required parameter 'prop' when calling getRelProperty2");
|
|
244
|
+
}
|
|
245
|
+
var pathParams = {
|
|
246
|
+
'id': id,
|
|
247
|
+
'prop': prop
|
|
248
|
+
};
|
|
249
|
+
var queryParams = {};
|
|
250
|
+
var headerParams = {
|
|
251
|
+
'Authorization': opts['authorization'],
|
|
252
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
253
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
254
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
255
|
+
'transactionid': opts['transactionid']
|
|
256
|
+
};
|
|
257
|
+
var formParams = {};
|
|
258
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
259
|
+
var contentTypes = [];
|
|
260
|
+
var accepts = ['application/json'];
|
|
261
|
+
var returnType = {
|
|
262
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
263
|
+
};
|
|
264
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Get Property
|
|
269
|
+
* Get a single property attached to a relationship
|
|
270
|
+
* @param {Number} id
|
|
271
|
+
* @param {String} prop
|
|
272
|
+
* @param {Object} opts Optional parameters
|
|
273
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
274
|
+
* @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
|
|
275
|
+
* @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
|
|
276
|
+
* @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
|
|
277
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
278
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
279
|
+
*/
|
|
280
|
+
}, {
|
|
281
|
+
key: "getRelProperty2",
|
|
282
|
+
value: function getRelProperty2(id, prop, opts) {
|
|
283
|
+
return this.getRelProperty2WithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
284
|
+
return response_and_data.data;
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Gets the relationship by id
|
|
290
|
+
* @param {Number} id
|
|
291
|
+
* @param {Object} opts Optional parameters
|
|
292
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
293
|
+
* @param {Number} [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} [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} [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} [transactionid] The id of the transaction this operation is being run in
|
|
297
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
298
|
+
*/
|
|
299
|
+
}, {
|
|
300
|
+
key: "getRelationshipById1WithHttpInfo",
|
|
301
|
+
value: function getRelationshipById1WithHttpInfo(id, opts) {
|
|
302
|
+
opts = opts || {};
|
|
303
|
+
var postBody = null;
|
|
304
|
+
// verify the required parameter 'id' is set
|
|
305
|
+
if (id === undefined || id === null) {
|
|
306
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipById1");
|
|
307
|
+
}
|
|
308
|
+
var pathParams = {
|
|
309
|
+
'id': id
|
|
310
|
+
};
|
|
311
|
+
var queryParams = {};
|
|
312
|
+
var headerParams = {
|
|
313
|
+
'Authorization': opts['authorization'],
|
|
314
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
315
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
316
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
317
|
+
'transactionid': opts['transactionid']
|
|
318
|
+
};
|
|
319
|
+
var formParams = {};
|
|
320
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
321
|
+
var contentTypes = [];
|
|
322
|
+
var accepts = ['application/json'];
|
|
323
|
+
var returnType = _GraphRelationship["default"];
|
|
324
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Gets the relationship by id
|
|
329
|
+
* @param {Number} id
|
|
330
|
+
* @param {Object} opts Optional parameters
|
|
331
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
332
|
+
* @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
|
|
333
|
+
* @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
|
|
334
|
+
* @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
|
|
335
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
336
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
337
|
+
*/
|
|
338
|
+
}, {
|
|
339
|
+
key: "getRelationshipById1",
|
|
340
|
+
value: function getRelationshipById1(id, opts) {
|
|
341
|
+
return this.getRelationshipById1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
342
|
+
return response_and_data.data;
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @param {Number} id
|
|
348
|
+
* @param {Object} opts Optional parameters
|
|
349
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
350
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
351
|
+
* @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
|
|
352
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
353
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
354
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
|
|
355
|
+
*/
|
|
356
|
+
}, {
|
|
357
|
+
key: "getUserTagsWithHttpInfo",
|
|
358
|
+
value: function getUserTagsWithHttpInfo(id, opts) {
|
|
359
|
+
opts = opts || {};
|
|
360
|
+
var postBody = null;
|
|
361
|
+
// verify the required parameter 'id' is set
|
|
362
|
+
if (id === undefined || id === null) {
|
|
363
|
+
throw new Error("Missing the required parameter 'id' when calling getUserTags");
|
|
364
|
+
}
|
|
365
|
+
var pathParams = {
|
|
366
|
+
'id': id
|
|
367
|
+
};
|
|
368
|
+
var queryParams = {};
|
|
369
|
+
var headerParams = {
|
|
370
|
+
'Authorization': opts['authorization'],
|
|
371
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
372
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
373
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
374
|
+
'transactionid': opts['transactionid']
|
|
375
|
+
};
|
|
376
|
+
var formParams = {};
|
|
377
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
378
|
+
var contentTypes = [];
|
|
379
|
+
var accepts = ['application/json'];
|
|
380
|
+
var returnType = ['String'];
|
|
381
|
+
return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @param {Number} id
|
|
386
|
+
* @param {Object} opts Optional parameters
|
|
387
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
388
|
+
* @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
|
|
389
|
+
* @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
|
|
390
|
+
* @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
|
|
391
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
392
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
|
|
393
|
+
*/
|
|
394
|
+
}, {
|
|
395
|
+
key: "getUserTags",
|
|
396
|
+
value: function getUserTags(id, opts) {
|
|
397
|
+
return this.getUserTagsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
398
|
+
return response_and_data.data;
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Set Multiple Properties
|
|
404
|
+
* Set multiple properties attaced to an object / record
|
|
405
|
+
* @param {Number} id
|
|
406
|
+
* @param {Object} opts Optional parameters
|
|
407
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
408
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
409
|
+
* @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
|
|
410
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
411
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
412
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
413
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
414
|
+
*/
|
|
415
|
+
}, {
|
|
416
|
+
key: "setRelProperties2WithHttpInfo",
|
|
417
|
+
value: function setRelProperties2WithHttpInfo(id, opts) {
|
|
418
|
+
opts = opts || {};
|
|
419
|
+
var postBody = opts['requestBody'];
|
|
420
|
+
// verify the required parameter 'id' is set
|
|
421
|
+
if (id === undefined || id === null) {
|
|
422
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperties2");
|
|
423
|
+
}
|
|
424
|
+
var pathParams = {
|
|
425
|
+
'id': id
|
|
426
|
+
};
|
|
427
|
+
var queryParams = {};
|
|
428
|
+
var headerParams = {
|
|
429
|
+
'Authorization': opts['authorization'],
|
|
430
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
431
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
432
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
433
|
+
'transactionid': opts['transactionid']
|
|
434
|
+
};
|
|
435
|
+
var formParams = {};
|
|
436
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
437
|
+
var contentTypes = [];
|
|
438
|
+
var accepts = ['*/*'];
|
|
439
|
+
var returnType = null;
|
|
440
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Set Multiple Properties
|
|
445
|
+
* Set multiple properties attaced to an object / record
|
|
446
|
+
* @param {Number} id
|
|
447
|
+
* @param {Object} opts Optional parameters
|
|
448
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
449
|
+
* @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
|
|
450
|
+
* @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
|
|
451
|
+
* @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
|
|
452
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
453
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
|
|
454
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
455
|
+
*/
|
|
456
|
+
}, {
|
|
457
|
+
key: "setRelProperties2",
|
|
458
|
+
value: function setRelProperties2(id, opts) {
|
|
459
|
+
return this.setRelProperties2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
460
|
+
return response_and_data.data;
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Update Property
|
|
466
|
+
* Update a specific property
|
|
467
|
+
* @param {Number} id
|
|
468
|
+
* @param {String} prop
|
|
469
|
+
* @param {Object} opts Optional parameters
|
|
470
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
471
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
472
|
+
* @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
|
|
473
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
474
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
475
|
+
* @param {String} [body]
|
|
476
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
477
|
+
*/
|
|
478
|
+
}, {
|
|
479
|
+
key: "setRelProperty2WithHttpInfo",
|
|
480
|
+
value: function setRelProperty2WithHttpInfo(id, prop, opts) {
|
|
481
|
+
opts = opts || {};
|
|
482
|
+
var postBody = opts['body'];
|
|
483
|
+
// verify the required parameter 'id' is set
|
|
484
|
+
if (id === undefined || id === null) {
|
|
485
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperty2");
|
|
486
|
+
}
|
|
487
|
+
// verify the required parameter 'prop' is set
|
|
488
|
+
if (prop === undefined || prop === null) {
|
|
489
|
+
throw new Error("Missing the required parameter 'prop' when calling setRelProperty2");
|
|
490
|
+
}
|
|
491
|
+
var pathParams = {
|
|
492
|
+
'id': id,
|
|
493
|
+
'prop': prop
|
|
494
|
+
};
|
|
495
|
+
var queryParams = {};
|
|
496
|
+
var headerParams = {
|
|
497
|
+
'Authorization': opts['authorization'],
|
|
498
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
499
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
500
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
501
|
+
'transactionid': opts['transactionid']
|
|
502
|
+
};
|
|
503
|
+
var formParams = {};
|
|
504
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
505
|
+
var contentTypes = [];
|
|
506
|
+
var accepts = ['*/*'];
|
|
507
|
+
var returnType = null;
|
|
508
|
+
return this.apiClient.callApi('/graph/data/usertags/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Update Property
|
|
513
|
+
* Update a specific property
|
|
514
|
+
* @param {Number} id
|
|
515
|
+
* @param {String} prop
|
|
516
|
+
* @param {Object} opts Optional parameters
|
|
517
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
518
|
+
* @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
|
|
519
|
+
* @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
|
|
520
|
+
* @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
|
|
521
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
522
|
+
* @param {String} opts.body
|
|
523
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
524
|
+
*/
|
|
525
|
+
}, {
|
|
526
|
+
key: "setRelProperty2",
|
|
527
|
+
value: function setRelProperty2(id, prop, opts) {
|
|
528
|
+
return this.setRelProperty2WithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
529
|
+
return response_and_data.data;
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* @param {Number} id
|
|
535
|
+
* @param {Object} opts Optional parameters
|
|
536
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
537
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
538
|
+
* @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
|
|
539
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
540
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
541
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
542
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/UserTag>} and HTTP response
|
|
543
|
+
*/
|
|
544
|
+
}, {
|
|
545
|
+
key: "tagUsersWithHttpInfo",
|
|
546
|
+
value: function tagUsersWithHttpInfo(id, opts) {
|
|
547
|
+
opts = opts || {};
|
|
548
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
549
|
+
// verify the required parameter 'id' is set
|
|
550
|
+
if (id === undefined || id === null) {
|
|
551
|
+
throw new Error("Missing the required parameter 'id' when calling tagUsers");
|
|
552
|
+
}
|
|
553
|
+
var pathParams = {
|
|
554
|
+
'id': id
|
|
555
|
+
};
|
|
556
|
+
var queryParams = {};
|
|
557
|
+
var headerParams = {
|
|
558
|
+
'Authorization': opts['authorization'],
|
|
559
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
560
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
561
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
562
|
+
'transactionid': opts['transactionid']
|
|
563
|
+
};
|
|
564
|
+
var formParams = {};
|
|
565
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
566
|
+
var contentTypes = ['application/json'];
|
|
567
|
+
var accepts = ['application/json'];
|
|
568
|
+
var returnType = [_UserTag["default"]];
|
|
569
|
+
return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @param {Number} id
|
|
574
|
+
* @param {Object} opts Optional parameters
|
|
575
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
576
|
+
* @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
|
|
577
|
+
* @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
|
|
578
|
+
* @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
|
|
579
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
580
|
+
* @param {module:model/PurgeDataDefaultResponseValue} opts.purgeDataDefaultResponseValue
|
|
581
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/UserTag>}
|
|
582
|
+
*/
|
|
583
|
+
}, {
|
|
584
|
+
key: "tagUsers",
|
|
585
|
+
value: function tagUsers(id, opts) {
|
|
586
|
+
return this.tagUsersWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
587
|
+
return response_and_data.data;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
}]);
|
|
591
|
+
return UserTagsApi;
|
|
592
|
+
}();
|