@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,1921 @@
|
|
|
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 _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
10
|
+
var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
|
|
11
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
18
|
+
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); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.34
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* GraphRelationships service.
|
|
32
|
+
* @module api/GraphRelationshipsApi
|
|
33
|
+
* @version 0.1.34
|
|
34
|
+
*/
|
|
35
|
+
var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new GraphRelationshipsApi.
|
|
38
|
+
* @alias module:api/GraphRelationshipsApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function GraphRelationshipsApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, GraphRelationshipsApi);
|
|
45
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @param {Number} id
|
|
50
|
+
* @param {Object} opts Optional parameters
|
|
51
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
52
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
53
|
+
* @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
|
|
54
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
55
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
56
|
+
* @param {String} [body]
|
|
57
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
58
|
+
*/
|
|
59
|
+
_createClass(GraphRelationshipsApi, [{
|
|
60
|
+
key: "addEndObjectTypes1WithHttpInfo",
|
|
61
|
+
value: function addEndObjectTypes1WithHttpInfo(id, opts) {
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
var postBody = opts['body'];
|
|
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 addEndObjectTypes1");
|
|
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 = ['application/json'];
|
|
82
|
+
var accepts = ['application/json'];
|
|
83
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
84
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @param {Number} id
|
|
89
|
+
* @param {Object} opts Optional parameters
|
|
90
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
91
|
+
* @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
|
|
92
|
+
* @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
|
|
93
|
+
* @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
|
|
94
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
95
|
+
* @param {String} opts.body
|
|
96
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "addEndObjectTypes1",
|
|
100
|
+
value: function addEndObjectTypes1(id, opts) {
|
|
101
|
+
return this.addEndObjectTypes1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
102
|
+
return response_and_data.data;
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @param {Number} id
|
|
108
|
+
* @param {Object} opts Optional parameters
|
|
109
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
110
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
111
|
+
* @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
|
|
112
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
113
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
114
|
+
* @param {String} [body]
|
|
115
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "addStartObjectTypesWithHttpInfo",
|
|
119
|
+
value: function addStartObjectTypesWithHttpInfo(id, opts) {
|
|
120
|
+
opts = opts || {};
|
|
121
|
+
var postBody = opts['body'];
|
|
122
|
+
// verify the required parameter 'id' is set
|
|
123
|
+
if (id === undefined || id === null) {
|
|
124
|
+
throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
|
|
125
|
+
}
|
|
126
|
+
var pathParams = {
|
|
127
|
+
'id': id
|
|
128
|
+
};
|
|
129
|
+
var queryParams = {};
|
|
130
|
+
var headerParams = {
|
|
131
|
+
'Authorization': opts['authorization'],
|
|
132
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
133
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
134
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
135
|
+
'transactionid': opts['transactionid']
|
|
136
|
+
};
|
|
137
|
+
var formParams = {};
|
|
138
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
139
|
+
var contentTypes = ['application/json'];
|
|
140
|
+
var accepts = ['application/json'];
|
|
141
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
142
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @param {Number} id
|
|
147
|
+
* @param {Object} opts Optional parameters
|
|
148
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
149
|
+
* @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
|
|
150
|
+
* @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
|
|
151
|
+
* @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
|
|
152
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
153
|
+
* @param {String} opts.body
|
|
154
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
155
|
+
*/
|
|
156
|
+
}, {
|
|
157
|
+
key: "addStartObjectTypes",
|
|
158
|
+
value: function addStartObjectTypes(id, opts) {
|
|
159
|
+
return this.addStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
160
|
+
return response_and_data.data;
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Create a Relationship
|
|
166
|
+
* Create a relationship to another object
|
|
167
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
168
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
169
|
+
* @param {Object} opts Optional parameters
|
|
170
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
171
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
172
|
+
* @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
|
|
173
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
174
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
175
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
176
|
+
*/
|
|
177
|
+
}, {
|
|
178
|
+
key: "createRelationshipWithHttpInfo",
|
|
179
|
+
value: function createRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
180
|
+
opts = opts || {};
|
|
181
|
+
var postBody = graphRelationshipPayload;
|
|
182
|
+
// verify the required parameter 'id' is set
|
|
183
|
+
if (id === undefined || id === null) {
|
|
184
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
185
|
+
}
|
|
186
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
187
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
188
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
189
|
+
}
|
|
190
|
+
var pathParams = {
|
|
191
|
+
'id': id
|
|
192
|
+
};
|
|
193
|
+
var queryParams = {};
|
|
194
|
+
var headerParams = {
|
|
195
|
+
'Authorization': opts['authorization'],
|
|
196
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
197
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
198
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
199
|
+
'transactionid': opts['transactionid']
|
|
200
|
+
};
|
|
201
|
+
var formParams = {};
|
|
202
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
203
|
+
var contentTypes = ['application/json'];
|
|
204
|
+
var accepts = ['application/json'];
|
|
205
|
+
var returnType = _GraphRelationship["default"];
|
|
206
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Create a Relationship
|
|
211
|
+
* Create a relationship to another object
|
|
212
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
213
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
214
|
+
* @param {Object} opts Optional parameters
|
|
215
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
216
|
+
* @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
|
|
217
|
+
* @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
|
|
218
|
+
* @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
|
|
219
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
220
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
221
|
+
*/
|
|
222
|
+
}, {
|
|
223
|
+
key: "createRelationship",
|
|
224
|
+
value: function createRelationship(id, graphRelationshipPayload, opts) {
|
|
225
|
+
return this.createRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
226
|
+
return response_and_data.data;
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Create relationshp type
|
|
232
|
+
* Creates a new relationship type
|
|
233
|
+
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
234
|
+
* @param {Object} opts Optional parameters
|
|
235
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
236
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
237
|
+
* @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
|
|
238
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
239
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
240
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
241
|
+
*/
|
|
242
|
+
}, {
|
|
243
|
+
key: "createRelationshipTypeWithHttpInfo",
|
|
244
|
+
value: function createRelationshipTypeWithHttpInfo(graphRelationshipType, opts) {
|
|
245
|
+
opts = opts || {};
|
|
246
|
+
var postBody = graphRelationshipType;
|
|
247
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
248
|
+
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
249
|
+
throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
|
|
250
|
+
}
|
|
251
|
+
var pathParams = {};
|
|
252
|
+
var queryParams = {};
|
|
253
|
+
var headerParams = {
|
|
254
|
+
'Authorization': opts['authorization'],
|
|
255
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
256
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
257
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
258
|
+
'transactionid': opts['transactionid']
|
|
259
|
+
};
|
|
260
|
+
var formParams = {};
|
|
261
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
262
|
+
var contentTypes = ['application/json'];
|
|
263
|
+
var accepts = ['application/json'];
|
|
264
|
+
var returnType = _GraphRelationshipType["default"];
|
|
265
|
+
return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Create relationshp type
|
|
270
|
+
* Creates a new relationship type
|
|
271
|
+
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
|
|
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 module:model/GraphRelationshipType}
|
|
279
|
+
*/
|
|
280
|
+
}, {
|
|
281
|
+
key: "createRelationshipType",
|
|
282
|
+
value: function createRelationshipType(graphRelationshipType, opts) {
|
|
283
|
+
return this.createRelationshipTypeWithHttpInfo(graphRelationshipType, opts).then(function (response_and_data) {
|
|
284
|
+
return response_and_data.data;
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Create Relationships
|
|
290
|
+
* Create a relationships to other objects
|
|
291
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
292
|
+
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
293
|
+
* @param {Object} opts Optional parameters
|
|
294
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
295
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
296
|
+
* @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
|
|
297
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
298
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
299
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
300
|
+
*/
|
|
301
|
+
}, {
|
|
302
|
+
key: "createRelationshipsWithHttpInfo",
|
|
303
|
+
value: function createRelationshipsWithHttpInfo(id, graphRelationshipPayload, opts) {
|
|
304
|
+
opts = opts || {};
|
|
305
|
+
var postBody = graphRelationshipPayload;
|
|
306
|
+
// verify the required parameter 'id' is set
|
|
307
|
+
if (id === undefined || id === null) {
|
|
308
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
309
|
+
}
|
|
310
|
+
// verify the required parameter 'graphRelationshipPayload' is set
|
|
311
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
312
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
313
|
+
}
|
|
314
|
+
var pathParams = {
|
|
315
|
+
'id': id
|
|
316
|
+
};
|
|
317
|
+
var queryParams = {};
|
|
318
|
+
var headerParams = {
|
|
319
|
+
'Authorization': opts['authorization'],
|
|
320
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
321
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
322
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
323
|
+
'transactionid': opts['transactionid']
|
|
324
|
+
};
|
|
325
|
+
var formParams = {};
|
|
326
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
327
|
+
var contentTypes = ['application/json'];
|
|
328
|
+
var accepts = ['application/json'];
|
|
329
|
+
var returnType = [_GraphRelationship["default"]];
|
|
330
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Create Relationships
|
|
335
|
+
* Create a relationships to other objects
|
|
336
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
337
|
+
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
338
|
+
* @param {Object} opts Optional parameters
|
|
339
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
340
|
+
* @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
|
|
341
|
+
* @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
|
|
342
|
+
* @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
|
|
343
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
344
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
345
|
+
*/
|
|
346
|
+
}, {
|
|
347
|
+
key: "createRelationships",
|
|
348
|
+
value: function createRelationships(id, graphRelationshipPayload, opts) {
|
|
349
|
+
return this.createRelationshipsWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
|
|
350
|
+
return response_and_data.data;
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Delete Relationship
|
|
356
|
+
* Delete an individual relationship
|
|
357
|
+
* @param {Number} id
|
|
358
|
+
* @param {Object} opts Optional parameters
|
|
359
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
360
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
361
|
+
* @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
|
|
362
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
363
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
364
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
365
|
+
*/
|
|
366
|
+
}, {
|
|
367
|
+
key: "deleteRelationshipWithHttpInfo",
|
|
368
|
+
value: function deleteRelationshipWithHttpInfo(id, opts) {
|
|
369
|
+
opts = opts || {};
|
|
370
|
+
var postBody = null;
|
|
371
|
+
// verify the required parameter 'id' is set
|
|
372
|
+
if (id === undefined || id === null) {
|
|
373
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
|
|
374
|
+
}
|
|
375
|
+
var pathParams = {
|
|
376
|
+
'id': id
|
|
377
|
+
};
|
|
378
|
+
var queryParams = {};
|
|
379
|
+
var headerParams = {
|
|
380
|
+
'Authorization': opts['authorization'],
|
|
381
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
382
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
383
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
384
|
+
'transactionid': opts['transactionid']
|
|
385
|
+
};
|
|
386
|
+
var formParams = {};
|
|
387
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
388
|
+
var contentTypes = [];
|
|
389
|
+
var accepts = ['*/*'];
|
|
390
|
+
var returnType = null;
|
|
391
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Delete Relationship
|
|
396
|
+
* Delete an individual relationship
|
|
397
|
+
* @param {Number} id
|
|
398
|
+
* @param {Object} opts Optional parameters
|
|
399
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
400
|
+
* @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
|
|
401
|
+
* @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
|
|
402
|
+
* @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
|
|
403
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
404
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
405
|
+
*/
|
|
406
|
+
}, {
|
|
407
|
+
key: "deleteRelationship",
|
|
408
|
+
value: function deleteRelationship(id, opts) {
|
|
409
|
+
return this.deleteRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
410
|
+
return response_and_data.data;
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Root for the API
|
|
416
|
+
* @param {Object} opts Optional parameters
|
|
417
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
418
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
419
|
+
* @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
|
|
420
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
421
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
422
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
423
|
+
*/
|
|
424
|
+
}, {
|
|
425
|
+
key: "get11WithHttpInfo",
|
|
426
|
+
value: function get11WithHttpInfo(opts) {
|
|
427
|
+
opts = opts || {};
|
|
428
|
+
var postBody = null;
|
|
429
|
+
var pathParams = {};
|
|
430
|
+
var queryParams = {};
|
|
431
|
+
var headerParams = {
|
|
432
|
+
'Authorization': opts['authorization'],
|
|
433
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
434
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
435
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
436
|
+
'transactionid': opts['transactionid']
|
|
437
|
+
};
|
|
438
|
+
var formParams = {};
|
|
439
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
440
|
+
var contentTypes = [];
|
|
441
|
+
var accepts = ['*/*'];
|
|
442
|
+
var returnType = null;
|
|
443
|
+
return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Root for the API
|
|
448
|
+
* @param {Object} opts Optional parameters
|
|
449
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
450
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
451
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
452
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
453
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
454
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
455
|
+
*/
|
|
456
|
+
}, {
|
|
457
|
+
key: "get11",
|
|
458
|
+
value: function get11(opts) {
|
|
459
|
+
return this.get11WithHttpInfo(opts).then(function (response_and_data) {
|
|
460
|
+
return response_and_data.data;
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Root for the API
|
|
466
|
+
* @param {Object} opts Optional parameters
|
|
467
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
468
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
469
|
+
* @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
|
|
470
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
471
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
472
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
473
|
+
*/
|
|
474
|
+
}, {
|
|
475
|
+
key: "get12WithHttpInfo",
|
|
476
|
+
value: function get12WithHttpInfo(opts) {
|
|
477
|
+
opts = opts || {};
|
|
478
|
+
var postBody = null;
|
|
479
|
+
var pathParams = {};
|
|
480
|
+
var queryParams = {};
|
|
481
|
+
var headerParams = {
|
|
482
|
+
'Authorization': opts['authorization'],
|
|
483
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
484
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
485
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
486
|
+
'transactionid': opts['transactionid']
|
|
487
|
+
};
|
|
488
|
+
var formParams = {};
|
|
489
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
490
|
+
var contentTypes = [];
|
|
491
|
+
var accepts = ['*/*'];
|
|
492
|
+
var returnType = null;
|
|
493
|
+
return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Root for the API
|
|
498
|
+
* @param {Object} opts Optional parameters
|
|
499
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
500
|
+
* @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
|
|
501
|
+
* @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
|
|
502
|
+
* @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
|
|
503
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
504
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
505
|
+
*/
|
|
506
|
+
}, {
|
|
507
|
+
key: "get12",
|
|
508
|
+
value: function get12(opts) {
|
|
509
|
+
return this.get12WithHttpInfo(opts).then(function (response_and_data) {
|
|
510
|
+
return response_and_data.data;
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Get All Relationships
|
|
516
|
+
* Returns a listing of relationships
|
|
517
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
518
|
+
* @param {Object} opts Optional parameters
|
|
519
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
520
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
521
|
+
* @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
|
|
522
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
523
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
524
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
525
|
+
*/
|
|
526
|
+
}, {
|
|
527
|
+
key: "getAllRelationshipsWithHttpInfo",
|
|
528
|
+
value: function getAllRelationshipsWithHttpInfo(id, opts) {
|
|
529
|
+
opts = opts || {};
|
|
530
|
+
var postBody = null;
|
|
531
|
+
// verify the required parameter 'id' is set
|
|
532
|
+
if (id === undefined || id === null) {
|
|
533
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
534
|
+
}
|
|
535
|
+
var pathParams = {
|
|
536
|
+
'id': id
|
|
537
|
+
};
|
|
538
|
+
var queryParams = {};
|
|
539
|
+
var headerParams = {
|
|
540
|
+
'Authorization': opts['authorization'],
|
|
541
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
542
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
543
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
544
|
+
'transactionid': opts['transactionid']
|
|
545
|
+
};
|
|
546
|
+
var formParams = {};
|
|
547
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
548
|
+
var contentTypes = [];
|
|
549
|
+
var accepts = ['application/json'];
|
|
550
|
+
var returnType = [_GraphRelationship["default"]];
|
|
551
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Get All Relationships
|
|
556
|
+
* Returns a listing of relationships
|
|
557
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
558
|
+
* @param {Object} opts Optional parameters
|
|
559
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
560
|
+
* @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
|
|
561
|
+
* @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
|
|
562
|
+
* @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
|
|
563
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
564
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
565
|
+
*/
|
|
566
|
+
}, {
|
|
567
|
+
key: "getAllRelationships",
|
|
568
|
+
value: function getAllRelationships(id, opts) {
|
|
569
|
+
return this.getAllRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
570
|
+
return response_and_data.data;
|
|
571
|
+
});
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Get All Relationships By Type
|
|
576
|
+
* Returns a listing of relationships
|
|
577
|
+
* @param {Number} id The id of the relationship type we are searching for
|
|
578
|
+
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
579
|
+
* @param {Object} opts Optional parameters
|
|
580
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
581
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
582
|
+
* @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
|
|
583
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
584
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
585
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
586
|
+
*/
|
|
587
|
+
}, {
|
|
588
|
+
key: "getAllRelationshipsByTypeWithHttpInfo",
|
|
589
|
+
value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
|
|
590
|
+
opts = opts || {};
|
|
591
|
+
var postBody = null;
|
|
592
|
+
// verify the required parameter 'id' is set
|
|
593
|
+
if (id === undefined || id === null) {
|
|
594
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
595
|
+
}
|
|
596
|
+
// verify the required parameter 'reltypeid' is set
|
|
597
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
598
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
599
|
+
}
|
|
600
|
+
var pathParams = {
|
|
601
|
+
'id': id,
|
|
602
|
+
'reltypeid': reltypeid
|
|
603
|
+
};
|
|
604
|
+
var queryParams = {};
|
|
605
|
+
var headerParams = {
|
|
606
|
+
'Authorization': opts['authorization'],
|
|
607
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
608
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
609
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
610
|
+
'transactionid': opts['transactionid']
|
|
611
|
+
};
|
|
612
|
+
var formParams = {};
|
|
613
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
614
|
+
var contentTypes = [];
|
|
615
|
+
var accepts = ['application/json'];
|
|
616
|
+
var returnType = [_GraphRelationship["default"]];
|
|
617
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Get All Relationships By Type
|
|
622
|
+
* Returns a listing of relationships
|
|
623
|
+
* @param {Number} id The id of the relationship type we are searching for
|
|
624
|
+
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
625
|
+
* @param {Object} opts Optional parameters
|
|
626
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
627
|
+
* @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
|
|
628
|
+
* @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
|
|
629
|
+
* @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
|
|
630
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
631
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
632
|
+
*/
|
|
633
|
+
}, {
|
|
634
|
+
key: "getAllRelationshipsByType",
|
|
635
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts) {
|
|
636
|
+
return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
637
|
+
return response_and_data.data;
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @param {Number} id
|
|
643
|
+
* @param {Object} opts Optional parameters
|
|
644
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
645
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
646
|
+
* @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
|
|
647
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
648
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
649
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
650
|
+
*/
|
|
651
|
+
}, {
|
|
652
|
+
key: "getEndObjectTypes1WithHttpInfo",
|
|
653
|
+
value: function getEndObjectTypes1WithHttpInfo(id, opts) {
|
|
654
|
+
opts = opts || {};
|
|
655
|
+
var postBody = null;
|
|
656
|
+
// verify the required parameter 'id' is set
|
|
657
|
+
if (id === undefined || id === null) {
|
|
658
|
+
throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes1");
|
|
659
|
+
}
|
|
660
|
+
var pathParams = {
|
|
661
|
+
'id': id
|
|
662
|
+
};
|
|
663
|
+
var queryParams = {};
|
|
664
|
+
var headerParams = {
|
|
665
|
+
'Authorization': opts['authorization'],
|
|
666
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
667
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
668
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
669
|
+
'transactionid': opts['transactionid']
|
|
670
|
+
};
|
|
671
|
+
var formParams = {};
|
|
672
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
673
|
+
var contentTypes = [];
|
|
674
|
+
var accepts = ['application/json'];
|
|
675
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
676
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @param {Number} id
|
|
681
|
+
* @param {Object} opts Optional parameters
|
|
682
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
683
|
+
* @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
|
|
684
|
+
* @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
|
|
685
|
+
* @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
|
|
686
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
687
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
688
|
+
*/
|
|
689
|
+
}, {
|
|
690
|
+
key: "getEndObjectTypes1",
|
|
691
|
+
value: function getEndObjectTypes1(id, opts) {
|
|
692
|
+
return this.getEndObjectTypes1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
693
|
+
return response_and_data.data;
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @param {Number} id
|
|
699
|
+
* @param {Object} opts Optional parameters
|
|
700
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
701
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
702
|
+
* @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
|
|
703
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
704
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
705
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
706
|
+
*/
|
|
707
|
+
}, {
|
|
708
|
+
key: "getFields2WithHttpInfo",
|
|
709
|
+
value: function getFields2WithHttpInfo(id, opts) {
|
|
710
|
+
opts = opts || {};
|
|
711
|
+
var postBody = null;
|
|
712
|
+
// verify the required parameter 'id' is set
|
|
713
|
+
if (id === undefined || id === null) {
|
|
714
|
+
throw new Error("Missing the required parameter 'id' when calling getFields2");
|
|
715
|
+
}
|
|
716
|
+
var pathParams = {
|
|
717
|
+
'id': id
|
|
718
|
+
};
|
|
719
|
+
var queryParams = {};
|
|
720
|
+
var headerParams = {
|
|
721
|
+
'Authorization': opts['authorization'],
|
|
722
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
723
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
724
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
725
|
+
'transactionid': opts['transactionid']
|
|
726
|
+
};
|
|
727
|
+
var formParams = {};
|
|
728
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
729
|
+
var contentTypes = [];
|
|
730
|
+
var accepts = ['application/json'];
|
|
731
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
732
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @param {Number} id
|
|
737
|
+
* @param {Object} opts Optional parameters
|
|
738
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
739
|
+
* @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
|
|
740
|
+
* @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
|
|
741
|
+
* @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
|
|
742
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
743
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
744
|
+
*/
|
|
745
|
+
}, {
|
|
746
|
+
key: "getFields2",
|
|
747
|
+
value: function getFields2(id, opts) {
|
|
748
|
+
return this.getFields2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
749
|
+
return response_and_data.data;
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Get Properties
|
|
755
|
+
* Get all properties attached to a relationship
|
|
756
|
+
* @param {Number} id
|
|
757
|
+
* @param {Object} opts Optional parameters
|
|
758
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
759
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
760
|
+
* @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
|
|
761
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
762
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
763
|
+
* @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
|
|
764
|
+
*/
|
|
765
|
+
}, {
|
|
766
|
+
key: "getRelPropertiesWithHttpInfo",
|
|
767
|
+
value: function getRelPropertiesWithHttpInfo(id, opts) {
|
|
768
|
+
opts = opts || {};
|
|
769
|
+
var postBody = null;
|
|
770
|
+
// verify the required parameter 'id' is set
|
|
771
|
+
if (id === undefined || id === null) {
|
|
772
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperties");
|
|
773
|
+
}
|
|
774
|
+
var pathParams = {
|
|
775
|
+
'id': id
|
|
776
|
+
};
|
|
777
|
+
var queryParams = {};
|
|
778
|
+
var headerParams = {
|
|
779
|
+
'Authorization': opts['authorization'],
|
|
780
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
781
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
782
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
783
|
+
'transactionid': opts['transactionid']
|
|
784
|
+
};
|
|
785
|
+
var formParams = {};
|
|
786
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
787
|
+
var contentTypes = [];
|
|
788
|
+
var accepts = ['application/json'];
|
|
789
|
+
var returnType = {
|
|
790
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
791
|
+
};
|
|
792
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Get Properties
|
|
797
|
+
* Get all properties attached to a relationship
|
|
798
|
+
* @param {Number} id
|
|
799
|
+
* @param {Object} opts Optional parameters
|
|
800
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
801
|
+
* @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
|
|
802
|
+
* @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
|
|
803
|
+
* @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
|
|
804
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
805
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
806
|
+
*/
|
|
807
|
+
}, {
|
|
808
|
+
key: "getRelProperties",
|
|
809
|
+
value: function getRelProperties(id, opts) {
|
|
810
|
+
return this.getRelPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
811
|
+
return response_and_data.data;
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Get Property
|
|
817
|
+
* Get a single property attached to a relationship
|
|
818
|
+
* @param {Number} id
|
|
819
|
+
* @param {String} prop
|
|
820
|
+
* @param {Object} opts Optional parameters
|
|
821
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
822
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
823
|
+
* @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
|
|
824
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
825
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
826
|
+
* @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
|
|
827
|
+
*/
|
|
828
|
+
}, {
|
|
829
|
+
key: "getRelPropertyWithHttpInfo",
|
|
830
|
+
value: function getRelPropertyWithHttpInfo(id, prop, opts) {
|
|
831
|
+
opts = opts || {};
|
|
832
|
+
var postBody = null;
|
|
833
|
+
// verify the required parameter 'id' is set
|
|
834
|
+
if (id === undefined || id === null) {
|
|
835
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperty");
|
|
836
|
+
}
|
|
837
|
+
// verify the required parameter 'prop' is set
|
|
838
|
+
if (prop === undefined || prop === null) {
|
|
839
|
+
throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
|
|
840
|
+
}
|
|
841
|
+
var pathParams = {
|
|
842
|
+
'id': id,
|
|
843
|
+
'prop': prop
|
|
844
|
+
};
|
|
845
|
+
var queryParams = {};
|
|
846
|
+
var headerParams = {
|
|
847
|
+
'Authorization': opts['authorization'],
|
|
848
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
849
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
850
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
851
|
+
'transactionid': opts['transactionid']
|
|
852
|
+
};
|
|
853
|
+
var formParams = {};
|
|
854
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
855
|
+
var contentTypes = [];
|
|
856
|
+
var accepts = ['application/json'];
|
|
857
|
+
var returnType = {
|
|
858
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
859
|
+
};
|
|
860
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Get Property
|
|
865
|
+
* Get a single property attached to a relationship
|
|
866
|
+
* @param {Number} id
|
|
867
|
+
* @param {String} prop
|
|
868
|
+
* @param {Object} opts Optional parameters
|
|
869
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
870
|
+
* @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
|
|
871
|
+
* @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
|
|
872
|
+
* @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
|
|
873
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
874
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
875
|
+
*/
|
|
876
|
+
}, {
|
|
877
|
+
key: "getRelProperty",
|
|
878
|
+
value: function getRelProperty(id, prop, opts) {
|
|
879
|
+
return this.getRelPropertyWithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
880
|
+
return response_and_data.data;
|
|
881
|
+
});
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Gets the relationship by id
|
|
886
|
+
* @param {Number} id
|
|
887
|
+
* @param {Object} opts Optional parameters
|
|
888
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
889
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
890
|
+
* @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
|
|
891
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
892
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
893
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
894
|
+
*/
|
|
895
|
+
}, {
|
|
896
|
+
key: "getRelationshipByIdWithHttpInfo",
|
|
897
|
+
value: function getRelationshipByIdWithHttpInfo(id, opts) {
|
|
898
|
+
opts = opts || {};
|
|
899
|
+
var postBody = null;
|
|
900
|
+
// verify the required parameter 'id' is set
|
|
901
|
+
if (id === undefined || id === null) {
|
|
902
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
|
|
903
|
+
}
|
|
904
|
+
var pathParams = {
|
|
905
|
+
'id': id
|
|
906
|
+
};
|
|
907
|
+
var queryParams = {};
|
|
908
|
+
var headerParams = {
|
|
909
|
+
'Authorization': opts['authorization'],
|
|
910
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
911
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
912
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
913
|
+
'transactionid': opts['transactionid']
|
|
914
|
+
};
|
|
915
|
+
var formParams = {};
|
|
916
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
917
|
+
var contentTypes = [];
|
|
918
|
+
var accepts = ['application/json'];
|
|
919
|
+
var returnType = _GraphRelationship["default"];
|
|
920
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Gets the relationship by id
|
|
925
|
+
* @param {Number} id
|
|
926
|
+
* @param {Object} opts Optional parameters
|
|
927
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
928
|
+
* @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
|
|
929
|
+
* @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
|
|
930
|
+
* @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
|
|
931
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
932
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
933
|
+
*/
|
|
934
|
+
}, {
|
|
935
|
+
key: "getRelationshipById",
|
|
936
|
+
value: function getRelationshipById(id, opts) {
|
|
937
|
+
return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
938
|
+
return response_and_data.data;
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Gets the relationship type by the java classname
|
|
944
|
+
* @param {String} classname
|
|
945
|
+
* @param {Object} opts Optional parameters
|
|
946
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
947
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
948
|
+
* @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
|
|
949
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
950
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
951
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
952
|
+
*/
|
|
953
|
+
}, {
|
|
954
|
+
key: "getRelationshipTypeByClassNameWithHttpInfo",
|
|
955
|
+
value: function getRelationshipTypeByClassNameWithHttpInfo(classname, opts) {
|
|
956
|
+
opts = opts || {};
|
|
957
|
+
var postBody = null;
|
|
958
|
+
// verify the required parameter 'classname' is set
|
|
959
|
+
if (classname === undefined || classname === null) {
|
|
960
|
+
throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
|
|
961
|
+
}
|
|
962
|
+
var pathParams = {
|
|
963
|
+
'classname': classname
|
|
964
|
+
};
|
|
965
|
+
var queryParams = {};
|
|
966
|
+
var headerParams = {
|
|
967
|
+
'Authorization': opts['authorization'],
|
|
968
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
969
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
970
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
971
|
+
'transactionid': opts['transactionid']
|
|
972
|
+
};
|
|
973
|
+
var formParams = {};
|
|
974
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
975
|
+
var contentTypes = [];
|
|
976
|
+
var accepts = ['*/*'];
|
|
977
|
+
var returnType = _GraphRelationshipType["default"];
|
|
978
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Gets the relationship type by the java classname
|
|
983
|
+
* @param {String} classname
|
|
984
|
+
* @param {Object} opts Optional parameters
|
|
985
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
986
|
+
* @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
|
|
987
|
+
* @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
|
|
988
|
+
* @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
|
|
989
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
990
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
991
|
+
*/
|
|
992
|
+
}, {
|
|
993
|
+
key: "getRelationshipTypeByClassName",
|
|
994
|
+
value: function getRelationshipTypeByClassName(classname, opts) {
|
|
995
|
+
return this.getRelationshipTypeByClassNameWithHttpInfo(classname, opts).then(function (response_and_data) {
|
|
996
|
+
return response_and_data.data;
|
|
997
|
+
});
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Gets the relationship type by key
|
|
1002
|
+
* @param {String} id
|
|
1003
|
+
* @param {Object} opts Optional parameters
|
|
1004
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1005
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1006
|
+
* @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
|
|
1007
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1008
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1009
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
1010
|
+
*/
|
|
1011
|
+
}, {
|
|
1012
|
+
key: "getRelationshipTypeByIdWithHttpInfo",
|
|
1013
|
+
value: function getRelationshipTypeByIdWithHttpInfo(id, opts) {
|
|
1014
|
+
opts = opts || {};
|
|
1015
|
+
var postBody = null;
|
|
1016
|
+
// verify the required parameter 'id' is set
|
|
1017
|
+
if (id === undefined || id === null) {
|
|
1018
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
|
|
1019
|
+
}
|
|
1020
|
+
var pathParams = {
|
|
1021
|
+
'id': id
|
|
1022
|
+
};
|
|
1023
|
+
var queryParams = {};
|
|
1024
|
+
var headerParams = {
|
|
1025
|
+
'Authorization': opts['authorization'],
|
|
1026
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1027
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1028
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1029
|
+
'transactionid': opts['transactionid']
|
|
1030
|
+
};
|
|
1031
|
+
var formParams = {};
|
|
1032
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1033
|
+
var contentTypes = [];
|
|
1034
|
+
var accepts = ['application/json'];
|
|
1035
|
+
var returnType = _GraphRelationshipType["default"];
|
|
1036
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Gets the relationship type by key
|
|
1041
|
+
* @param {String} id
|
|
1042
|
+
* @param {Object} opts Optional parameters
|
|
1043
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1044
|
+
* @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
|
|
1045
|
+
* @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
|
|
1046
|
+
* @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
|
|
1047
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1048
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
1049
|
+
*/
|
|
1050
|
+
}, {
|
|
1051
|
+
key: "getRelationshipTypeById",
|
|
1052
|
+
value: function getRelationshipTypeById(id, opts) {
|
|
1053
|
+
return this.getRelationshipTypeByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1054
|
+
return response_and_data.data;
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Gets the relationship type by key
|
|
1060
|
+
* @param {String} key
|
|
1061
|
+
* @param {Object} opts Optional parameters
|
|
1062
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1063
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1064
|
+
* @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
|
|
1065
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1066
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1067
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
1068
|
+
*/
|
|
1069
|
+
}, {
|
|
1070
|
+
key: "getRelationshipTypeByKeyWithHttpInfo",
|
|
1071
|
+
value: function getRelationshipTypeByKeyWithHttpInfo(key, opts) {
|
|
1072
|
+
opts = opts || {};
|
|
1073
|
+
var postBody = null;
|
|
1074
|
+
// verify the required parameter 'key' is set
|
|
1075
|
+
if (key === undefined || key === null) {
|
|
1076
|
+
throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
|
|
1077
|
+
}
|
|
1078
|
+
var pathParams = {
|
|
1079
|
+
'key': key
|
|
1080
|
+
};
|
|
1081
|
+
var queryParams = {};
|
|
1082
|
+
var headerParams = {
|
|
1083
|
+
'Authorization': opts['authorization'],
|
|
1084
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1085
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1086
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1087
|
+
'transactionid': opts['transactionid']
|
|
1088
|
+
};
|
|
1089
|
+
var formParams = {};
|
|
1090
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1091
|
+
var contentTypes = [];
|
|
1092
|
+
var accepts = ['application/json'];
|
|
1093
|
+
var returnType = _GraphRelationshipType["default"];
|
|
1094
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Gets the relationship type by key
|
|
1099
|
+
* @param {String} key
|
|
1100
|
+
* @param {Object} opts Optional parameters
|
|
1101
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1102
|
+
* @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
|
|
1103
|
+
* @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
|
|
1104
|
+
* @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
|
|
1105
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1106
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
1107
|
+
*/
|
|
1108
|
+
}, {
|
|
1109
|
+
key: "getRelationshipTypeByKey",
|
|
1110
|
+
value: function getRelationshipTypeByKey(key, opts) {
|
|
1111
|
+
return this.getRelationshipTypeByKeyWithHttpInfo(key, opts).then(function (response_and_data) {
|
|
1112
|
+
return response_and_data.data;
|
|
1113
|
+
});
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Get relationships in the graph
|
|
1118
|
+
* @param {Number} id
|
|
1119
|
+
* @param {Object} opts Optional parameters
|
|
1120
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1121
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1122
|
+
* @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
|
|
1123
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1124
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1125
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
1126
|
+
*/
|
|
1127
|
+
}, {
|
|
1128
|
+
key: "getRelationshipsWithHttpInfo",
|
|
1129
|
+
value: function getRelationshipsWithHttpInfo(id, opts) {
|
|
1130
|
+
opts = opts || {};
|
|
1131
|
+
var postBody = null;
|
|
1132
|
+
// verify the required parameter 'id' is set
|
|
1133
|
+
if (id === undefined || id === null) {
|
|
1134
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationships");
|
|
1135
|
+
}
|
|
1136
|
+
var pathParams = {
|
|
1137
|
+
'id': id
|
|
1138
|
+
};
|
|
1139
|
+
var queryParams = {};
|
|
1140
|
+
var headerParams = {
|
|
1141
|
+
'Authorization': opts['authorization'],
|
|
1142
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1143
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1144
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1145
|
+
'transactionid': opts['transactionid']
|
|
1146
|
+
};
|
|
1147
|
+
var formParams = {};
|
|
1148
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1149
|
+
var contentTypes = [];
|
|
1150
|
+
var accepts = ['application/json'];
|
|
1151
|
+
var returnType = _GraphRelationship["default"];
|
|
1152
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* Get relationships in the graph
|
|
1157
|
+
* @param {Number} id
|
|
1158
|
+
* @param {Object} opts Optional parameters
|
|
1159
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1160
|
+
* @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
|
|
1161
|
+
* @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
|
|
1162
|
+
* @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
|
|
1163
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1164
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
1165
|
+
*/
|
|
1166
|
+
}, {
|
|
1167
|
+
key: "getRelationships",
|
|
1168
|
+
value: function getRelationships(id, opts) {
|
|
1169
|
+
return this.getRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1170
|
+
return response_and_data.data;
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Get relationships in the graph with the given object type
|
|
1176
|
+
* @param {Number} id
|
|
1177
|
+
* @param {String} type
|
|
1178
|
+
* @param {Object} opts Optional parameters
|
|
1179
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1180
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1181
|
+
* @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
|
|
1182
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1183
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1184
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
1185
|
+
*/
|
|
1186
|
+
}, {
|
|
1187
|
+
key: "getRelationships1WithHttpInfo",
|
|
1188
|
+
value: function getRelationships1WithHttpInfo(id, type, opts) {
|
|
1189
|
+
opts = opts || {};
|
|
1190
|
+
var postBody = null;
|
|
1191
|
+
// verify the required parameter 'id' is set
|
|
1192
|
+
if (id === undefined || id === null) {
|
|
1193
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationships1");
|
|
1194
|
+
}
|
|
1195
|
+
// verify the required parameter 'type' is set
|
|
1196
|
+
if (type === undefined || type === null) {
|
|
1197
|
+
throw new Error("Missing the required parameter 'type' when calling getRelationships1");
|
|
1198
|
+
}
|
|
1199
|
+
var pathParams = {
|
|
1200
|
+
'id': id,
|
|
1201
|
+
'type': type
|
|
1202
|
+
};
|
|
1203
|
+
var queryParams = {};
|
|
1204
|
+
var headerParams = {
|
|
1205
|
+
'Authorization': opts['authorization'],
|
|
1206
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1207
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1208
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1209
|
+
'transactionid': opts['transactionid']
|
|
1210
|
+
};
|
|
1211
|
+
var formParams = {};
|
|
1212
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1213
|
+
var contentTypes = [];
|
|
1214
|
+
var accepts = ['application/json'];
|
|
1215
|
+
var returnType = _GraphRelationship["default"];
|
|
1216
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* Get relationships in the graph with the given object type
|
|
1221
|
+
* @param {Number} id
|
|
1222
|
+
* @param {String} type
|
|
1223
|
+
* @param {Object} opts Optional parameters
|
|
1224
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1225
|
+
* @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
|
|
1226
|
+
* @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
|
|
1227
|
+
* @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
|
|
1228
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1229
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
1230
|
+
*/
|
|
1231
|
+
}, {
|
|
1232
|
+
key: "getRelationships1",
|
|
1233
|
+
value: function getRelationships1(id, type, opts) {
|
|
1234
|
+
return this.getRelationships1WithHttpInfo(id, type, opts).then(function (response_and_data) {
|
|
1235
|
+
return response_and_data.data;
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Get Incoming Relationships By Type
|
|
1241
|
+
* Returns a listing of relationships
|
|
1242
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1243
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1244
|
+
* @param {Object} opts Optional parameters
|
|
1245
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1246
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1247
|
+
* @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
|
|
1248
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1249
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1250
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1251
|
+
*/
|
|
1252
|
+
}, {
|
|
1253
|
+
key: "getRelationshipsByTypeInWithHttpInfo",
|
|
1254
|
+
value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
|
|
1255
|
+
opts = opts || {};
|
|
1256
|
+
var postBody = null;
|
|
1257
|
+
// verify the required parameter 'id' is set
|
|
1258
|
+
if (id === undefined || id === null) {
|
|
1259
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
1260
|
+
}
|
|
1261
|
+
// verify the required parameter 'reltypeid' is set
|
|
1262
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1263
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
1264
|
+
}
|
|
1265
|
+
var pathParams = {
|
|
1266
|
+
'id': id,
|
|
1267
|
+
'reltypeid': reltypeid
|
|
1268
|
+
};
|
|
1269
|
+
var queryParams = {};
|
|
1270
|
+
var headerParams = {
|
|
1271
|
+
'Authorization': opts['authorization'],
|
|
1272
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1273
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1274
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1275
|
+
'transactionid': opts['transactionid']
|
|
1276
|
+
};
|
|
1277
|
+
var formParams = {};
|
|
1278
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1279
|
+
var contentTypes = [];
|
|
1280
|
+
var accepts = ['application/json'];
|
|
1281
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1282
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Get Incoming Relationships By Type
|
|
1287
|
+
* Returns a listing of relationships
|
|
1288
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1289
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1290
|
+
* @param {Object} opts Optional parameters
|
|
1291
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1292
|
+
* @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
|
|
1293
|
+
* @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
|
|
1294
|
+
* @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
|
|
1295
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1296
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1297
|
+
*/
|
|
1298
|
+
}, {
|
|
1299
|
+
key: "getRelationshipsByTypeIn",
|
|
1300
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
|
|
1301
|
+
return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1302
|
+
return response_and_data.data;
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Get Outgoing Relationships By Type
|
|
1308
|
+
* Returns a listing of relationships
|
|
1309
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1310
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1311
|
+
* @param {Object} opts Optional parameters
|
|
1312
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1313
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1314
|
+
* @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
|
|
1315
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1316
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1317
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1318
|
+
*/
|
|
1319
|
+
}, {
|
|
1320
|
+
key: "getRelationshipsByTypeOutWithHttpInfo",
|
|
1321
|
+
value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
|
|
1322
|
+
opts = opts || {};
|
|
1323
|
+
var postBody = null;
|
|
1324
|
+
// verify the required parameter 'id' is set
|
|
1325
|
+
if (id === undefined || id === null) {
|
|
1326
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
1327
|
+
}
|
|
1328
|
+
// verify the required parameter 'reltypeid' is set
|
|
1329
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1330
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
1331
|
+
}
|
|
1332
|
+
var pathParams = {
|
|
1333
|
+
'id': id,
|
|
1334
|
+
'reltypeid': reltypeid
|
|
1335
|
+
};
|
|
1336
|
+
var queryParams = {};
|
|
1337
|
+
var headerParams = {
|
|
1338
|
+
'Authorization': opts['authorization'],
|
|
1339
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1340
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1341
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1342
|
+
'transactionid': opts['transactionid']
|
|
1343
|
+
};
|
|
1344
|
+
var formParams = {};
|
|
1345
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1346
|
+
var contentTypes = [];
|
|
1347
|
+
var accepts = ['application/json'];
|
|
1348
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1349
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* Get Outgoing Relationships By Type
|
|
1354
|
+
* Returns a listing of relationships
|
|
1355
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1356
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
1357
|
+
* @param {Object} opts Optional parameters
|
|
1358
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1359
|
+
* @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
|
|
1360
|
+
* @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
|
|
1361
|
+
* @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
|
|
1362
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1363
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1364
|
+
*/
|
|
1365
|
+
}, {
|
|
1366
|
+
key: "getRelationshipsByTypeOut",
|
|
1367
|
+
value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
|
|
1368
|
+
return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
|
|
1369
|
+
return response_and_data.data;
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Get Incoming Relationships
|
|
1375
|
+
* Returns a listing of relationships
|
|
1376
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1377
|
+
* @param {Object} opts Optional parameters
|
|
1378
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1379
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1380
|
+
* @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
|
|
1381
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1382
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1383
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1384
|
+
*/
|
|
1385
|
+
}, {
|
|
1386
|
+
key: "getRelationshipsInWithHttpInfo",
|
|
1387
|
+
value: function getRelationshipsInWithHttpInfo(id, opts) {
|
|
1388
|
+
opts = opts || {};
|
|
1389
|
+
var postBody = null;
|
|
1390
|
+
// verify the required parameter 'id' is set
|
|
1391
|
+
if (id === undefined || id === null) {
|
|
1392
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
1393
|
+
}
|
|
1394
|
+
var pathParams = {
|
|
1395
|
+
'id': id
|
|
1396
|
+
};
|
|
1397
|
+
var queryParams = {};
|
|
1398
|
+
var headerParams = {
|
|
1399
|
+
'Authorization': opts['authorization'],
|
|
1400
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1401
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1402
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1403
|
+
'transactionid': opts['transactionid']
|
|
1404
|
+
};
|
|
1405
|
+
var formParams = {};
|
|
1406
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1407
|
+
var contentTypes = [];
|
|
1408
|
+
var accepts = ['application/json'];
|
|
1409
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1410
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Get Incoming Relationships
|
|
1415
|
+
* Returns a listing of relationships
|
|
1416
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1417
|
+
* @param {Object} opts Optional parameters
|
|
1418
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1419
|
+
* @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
|
|
1420
|
+
* @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
|
|
1421
|
+
* @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
|
|
1422
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1423
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1424
|
+
*/
|
|
1425
|
+
}, {
|
|
1426
|
+
key: "getRelationshipsIn",
|
|
1427
|
+
value: function getRelationshipsIn(id, opts) {
|
|
1428
|
+
return this.getRelationshipsInWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1429
|
+
return response_and_data.data;
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Get Outgoing Relationships
|
|
1435
|
+
* Returns a listing of relationships
|
|
1436
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1437
|
+
* @param {Object} opts Optional parameters
|
|
1438
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1439
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1440
|
+
* @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
|
|
1441
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1442
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1443
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationship>} and HTTP response
|
|
1444
|
+
*/
|
|
1445
|
+
}, {
|
|
1446
|
+
key: "getRelationshipsOutWithHttpInfo",
|
|
1447
|
+
value: function getRelationshipsOutWithHttpInfo(id, opts) {
|
|
1448
|
+
opts = opts || {};
|
|
1449
|
+
var postBody = null;
|
|
1450
|
+
// verify the required parameter 'id' is set
|
|
1451
|
+
if (id === undefined || id === null) {
|
|
1452
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
1453
|
+
}
|
|
1454
|
+
var pathParams = {
|
|
1455
|
+
'id': id
|
|
1456
|
+
};
|
|
1457
|
+
var queryParams = {};
|
|
1458
|
+
var headerParams = {
|
|
1459
|
+
'Authorization': opts['authorization'],
|
|
1460
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1461
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1462
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1463
|
+
'transactionid': opts['transactionid']
|
|
1464
|
+
};
|
|
1465
|
+
var formParams = {};
|
|
1466
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1467
|
+
var contentTypes = [];
|
|
1468
|
+
var accepts = ['application/json'];
|
|
1469
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1470
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Get Outgoing Relationships
|
|
1475
|
+
* Returns a listing of relationships
|
|
1476
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1477
|
+
* @param {Object} opts Optional parameters
|
|
1478
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1479
|
+
* @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
|
|
1480
|
+
* @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
|
|
1481
|
+
* @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
|
|
1482
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1483
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationship>}
|
|
1484
|
+
*/
|
|
1485
|
+
}, {
|
|
1486
|
+
key: "getRelationshipsOut",
|
|
1487
|
+
value: function getRelationshipsOut(id, opts) {
|
|
1488
|
+
return this.getRelationshipsOutWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1489
|
+
return response_and_data.data;
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* @param {Number} id
|
|
1495
|
+
* @param {Object} opts Optional parameters
|
|
1496
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1497
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1498
|
+
* @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
|
|
1499
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1500
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1501
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1502
|
+
*/
|
|
1503
|
+
}, {
|
|
1504
|
+
key: "getStartObjectTypesWithHttpInfo",
|
|
1505
|
+
value: function getStartObjectTypesWithHttpInfo(id, opts) {
|
|
1506
|
+
opts = opts || {};
|
|
1507
|
+
var postBody = null;
|
|
1508
|
+
// verify the required parameter 'id' is set
|
|
1509
|
+
if (id === undefined || id === null) {
|
|
1510
|
+
throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
|
|
1511
|
+
}
|
|
1512
|
+
var pathParams = {
|
|
1513
|
+
'id': id
|
|
1514
|
+
};
|
|
1515
|
+
var queryParams = {};
|
|
1516
|
+
var headerParams = {
|
|
1517
|
+
'Authorization': opts['authorization'],
|
|
1518
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1519
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1520
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1521
|
+
'transactionid': opts['transactionid']
|
|
1522
|
+
};
|
|
1523
|
+
var formParams = {};
|
|
1524
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1525
|
+
var contentTypes = [];
|
|
1526
|
+
var accepts = ['application/json'];
|
|
1527
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1528
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @param {Number} id
|
|
1533
|
+
* @param {Object} opts Optional parameters
|
|
1534
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1535
|
+
* @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
|
|
1536
|
+
* @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
|
|
1537
|
+
* @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
|
|
1538
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1539
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1540
|
+
*/
|
|
1541
|
+
}, {
|
|
1542
|
+
key: "getStartObjectTypes",
|
|
1543
|
+
value: function getStartObjectTypes(id, opts) {
|
|
1544
|
+
return this.getStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1545
|
+
return response_and_data.data;
|
|
1546
|
+
});
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* @param {Number} id
|
|
1551
|
+
* @param {Object} opts Optional parameters
|
|
1552
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1553
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1554
|
+
* @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
|
|
1555
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1556
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1557
|
+
* @param {String} [body]
|
|
1558
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1559
|
+
*/
|
|
1560
|
+
}, {
|
|
1561
|
+
key: "removeEndObjectTypesWithHttpInfo",
|
|
1562
|
+
value: function removeEndObjectTypesWithHttpInfo(id, opts) {
|
|
1563
|
+
opts = opts || {};
|
|
1564
|
+
var postBody = opts['body'];
|
|
1565
|
+
// verify the required parameter 'id' is set
|
|
1566
|
+
if (id === undefined || id === null) {
|
|
1567
|
+
throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
|
|
1568
|
+
}
|
|
1569
|
+
var pathParams = {
|
|
1570
|
+
'id': id
|
|
1571
|
+
};
|
|
1572
|
+
var queryParams = {};
|
|
1573
|
+
var headerParams = {
|
|
1574
|
+
'Authorization': opts['authorization'],
|
|
1575
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1576
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1577
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1578
|
+
'transactionid': opts['transactionid']
|
|
1579
|
+
};
|
|
1580
|
+
var formParams = {};
|
|
1581
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1582
|
+
var contentTypes = ['application/json'];
|
|
1583
|
+
var accepts = ['application/json'];
|
|
1584
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1585
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* @param {Number} id
|
|
1590
|
+
* @param {Object} opts Optional parameters
|
|
1591
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1592
|
+
* @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
|
|
1593
|
+
* @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
|
|
1594
|
+
* @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
|
|
1595
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1596
|
+
* @param {String} opts.body
|
|
1597
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1598
|
+
*/
|
|
1599
|
+
}, {
|
|
1600
|
+
key: "removeEndObjectTypes",
|
|
1601
|
+
value: function removeEndObjectTypes(id, opts) {
|
|
1602
|
+
return this.removeEndObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1603
|
+
return response_and_data.data;
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* @param {Number} id
|
|
1609
|
+
* @param {Object} opts Optional parameters
|
|
1610
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1611
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1612
|
+
* @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
|
|
1613
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1614
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1615
|
+
* @param {String} [body]
|
|
1616
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1617
|
+
*/
|
|
1618
|
+
}, {
|
|
1619
|
+
key: "removeStartObjectTypesWithHttpInfo",
|
|
1620
|
+
value: function removeStartObjectTypesWithHttpInfo(id, opts) {
|
|
1621
|
+
opts = opts || {};
|
|
1622
|
+
var postBody = opts['body'];
|
|
1623
|
+
// verify the required parameter 'id' is set
|
|
1624
|
+
if (id === undefined || id === null) {
|
|
1625
|
+
throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
|
|
1626
|
+
}
|
|
1627
|
+
var pathParams = {
|
|
1628
|
+
'id': id
|
|
1629
|
+
};
|
|
1630
|
+
var queryParams = {};
|
|
1631
|
+
var headerParams = {
|
|
1632
|
+
'Authorization': opts['authorization'],
|
|
1633
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1634
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1635
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1636
|
+
'transactionid': opts['transactionid']
|
|
1637
|
+
};
|
|
1638
|
+
var formParams = {};
|
|
1639
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1640
|
+
var contentTypes = ['application/json'];
|
|
1641
|
+
var accepts = ['application/json'];
|
|
1642
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1643
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* @param {Number} id
|
|
1648
|
+
* @param {Object} opts Optional parameters
|
|
1649
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1650
|
+
* @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
|
|
1651
|
+
* @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
|
|
1652
|
+
* @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
|
|
1653
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1654
|
+
* @param {String} opts.body
|
|
1655
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1656
|
+
*/
|
|
1657
|
+
}, {
|
|
1658
|
+
key: "removeStartObjectTypes",
|
|
1659
|
+
value: function removeStartObjectTypes(id, opts) {
|
|
1660
|
+
return this.removeStartObjectTypesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1661
|
+
return response_and_data.data;
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Set Multiple Properties
|
|
1667
|
+
* Set multiple properties attaced to an object / record
|
|
1668
|
+
* @param {Number} id
|
|
1669
|
+
* @param {Object} opts Optional parameters
|
|
1670
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1671
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1672
|
+
* @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
|
|
1673
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1674
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1675
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
1676
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1677
|
+
*/
|
|
1678
|
+
}, {
|
|
1679
|
+
key: "setRelPropertiesWithHttpInfo",
|
|
1680
|
+
value: function setRelPropertiesWithHttpInfo(id, opts) {
|
|
1681
|
+
opts = opts || {};
|
|
1682
|
+
var postBody = opts['requestBody'];
|
|
1683
|
+
// verify the required parameter 'id' is set
|
|
1684
|
+
if (id === undefined || id === null) {
|
|
1685
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperties");
|
|
1686
|
+
}
|
|
1687
|
+
var pathParams = {
|
|
1688
|
+
'id': id
|
|
1689
|
+
};
|
|
1690
|
+
var queryParams = {};
|
|
1691
|
+
var headerParams = {
|
|
1692
|
+
'Authorization': opts['authorization'],
|
|
1693
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1694
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1695
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1696
|
+
'transactionid': opts['transactionid']
|
|
1697
|
+
};
|
|
1698
|
+
var formParams = {};
|
|
1699
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1700
|
+
var contentTypes = [];
|
|
1701
|
+
var accepts = ['*/*'];
|
|
1702
|
+
var returnType = null;
|
|
1703
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Set Multiple Properties
|
|
1708
|
+
* Set multiple properties attaced to an object / record
|
|
1709
|
+
* @param {Number} id
|
|
1710
|
+
* @param {Object} opts Optional parameters
|
|
1711
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1712
|
+
* @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
|
|
1713
|
+
* @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
|
|
1714
|
+
* @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
|
|
1715
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1716
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
|
|
1717
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1718
|
+
*/
|
|
1719
|
+
}, {
|
|
1720
|
+
key: "setRelProperties",
|
|
1721
|
+
value: function setRelProperties(id, opts) {
|
|
1722
|
+
return this.setRelPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1723
|
+
return response_and_data.data;
|
|
1724
|
+
});
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Update Property
|
|
1729
|
+
* Update a specific property
|
|
1730
|
+
* @param {Number} id
|
|
1731
|
+
* @param {String} prop
|
|
1732
|
+
* @param {Object} opts Optional parameters
|
|
1733
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1734
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1735
|
+
* @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
|
|
1736
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1737
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1738
|
+
* @param {String} [body]
|
|
1739
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1740
|
+
*/
|
|
1741
|
+
}, {
|
|
1742
|
+
key: "setRelPropertyWithHttpInfo",
|
|
1743
|
+
value: function setRelPropertyWithHttpInfo(id, prop, opts) {
|
|
1744
|
+
opts = opts || {};
|
|
1745
|
+
var postBody = opts['body'];
|
|
1746
|
+
// verify the required parameter 'id' is set
|
|
1747
|
+
if (id === undefined || id === null) {
|
|
1748
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperty");
|
|
1749
|
+
}
|
|
1750
|
+
// verify the required parameter 'prop' is set
|
|
1751
|
+
if (prop === undefined || prop === null) {
|
|
1752
|
+
throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
|
|
1753
|
+
}
|
|
1754
|
+
var pathParams = {
|
|
1755
|
+
'id': id,
|
|
1756
|
+
'prop': prop
|
|
1757
|
+
};
|
|
1758
|
+
var queryParams = {};
|
|
1759
|
+
var headerParams = {
|
|
1760
|
+
'Authorization': opts['authorization'],
|
|
1761
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1762
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1763
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1764
|
+
'transactionid': opts['transactionid']
|
|
1765
|
+
};
|
|
1766
|
+
var formParams = {};
|
|
1767
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1768
|
+
var contentTypes = [];
|
|
1769
|
+
var accepts = ['*/*'];
|
|
1770
|
+
var returnType = null;
|
|
1771
|
+
return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* Update Property
|
|
1776
|
+
* Update a specific property
|
|
1777
|
+
* @param {Number} id
|
|
1778
|
+
* @param {String} prop
|
|
1779
|
+
* @param {Object} opts Optional parameters
|
|
1780
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1781
|
+
* @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
|
|
1782
|
+
* @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
|
|
1783
|
+
* @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
|
|
1784
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1785
|
+
* @param {String} opts.body
|
|
1786
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1787
|
+
*/
|
|
1788
|
+
}, {
|
|
1789
|
+
key: "setRelProperty",
|
|
1790
|
+
value: function setRelProperty(id, prop, opts) {
|
|
1791
|
+
return this.setRelPropertyWithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
1792
|
+
return response_and_data.data;
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Update a relationshp type
|
|
1798
|
+
* Performs an update of the relationship type
|
|
1799
|
+
* @param {Number} id The id of the relationship type we are updating
|
|
1800
|
+
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1801
|
+
* @param {Object} opts Optional parameters
|
|
1802
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1803
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1804
|
+
* @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
|
|
1805
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1806
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1807
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipType} and HTTP response
|
|
1808
|
+
*/
|
|
1809
|
+
}, {
|
|
1810
|
+
key: "updateRelationshipTypeWithHttpInfo",
|
|
1811
|
+
value: function updateRelationshipTypeWithHttpInfo(id, graphRelationshipType, opts) {
|
|
1812
|
+
opts = opts || {};
|
|
1813
|
+
var postBody = graphRelationshipType;
|
|
1814
|
+
// verify the required parameter 'id' is set
|
|
1815
|
+
if (id === undefined || id === null) {
|
|
1816
|
+
throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
|
|
1817
|
+
}
|
|
1818
|
+
// verify the required parameter 'graphRelationshipType' is set
|
|
1819
|
+
if (graphRelationshipType === undefined || graphRelationshipType === null) {
|
|
1820
|
+
throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
|
|
1821
|
+
}
|
|
1822
|
+
var pathParams = {
|
|
1823
|
+
'id': id
|
|
1824
|
+
};
|
|
1825
|
+
var queryParams = {};
|
|
1826
|
+
var headerParams = {
|
|
1827
|
+
'Authorization': opts['authorization'],
|
|
1828
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1829
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1830
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1831
|
+
'transactionid': opts['transactionid']
|
|
1832
|
+
};
|
|
1833
|
+
var formParams = {};
|
|
1834
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1835
|
+
var contentTypes = ['application/json'];
|
|
1836
|
+
var accepts = ['application/json'];
|
|
1837
|
+
var returnType = _GraphRelationshipType["default"];
|
|
1838
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* Update a relationshp type
|
|
1843
|
+
* Performs an update of the relationship type
|
|
1844
|
+
* @param {Number} id The id of the relationship type we are updating
|
|
1845
|
+
* @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
|
|
1846
|
+
* @param {Object} opts Optional parameters
|
|
1847
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1848
|
+
* @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
|
|
1849
|
+
* @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
|
|
1850
|
+
* @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
|
|
1851
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1852
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipType}
|
|
1853
|
+
*/
|
|
1854
|
+
}, {
|
|
1855
|
+
key: "updateRelationshipType",
|
|
1856
|
+
value: function updateRelationshipType(id, graphRelationshipType, opts) {
|
|
1857
|
+
return this.updateRelationshipTypeWithHttpInfo(id, graphRelationshipType, opts).then(function (response_and_data) {
|
|
1858
|
+
return response_and_data.data;
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* @param {Number} id
|
|
1864
|
+
* @param {Object} opts Optional parameters
|
|
1865
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1866
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1867
|
+
* @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
|
|
1868
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1869
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1870
|
+
* @param {String} [body]
|
|
1871
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
|
|
1872
|
+
*/
|
|
1873
|
+
}, {
|
|
1874
|
+
key: "updateTemplate2WithHttpInfo",
|
|
1875
|
+
value: function updateTemplate2WithHttpInfo(id, opts) {
|
|
1876
|
+
opts = opts || {};
|
|
1877
|
+
var postBody = opts['body'];
|
|
1878
|
+
// verify the required parameter 'id' is set
|
|
1879
|
+
if (id === undefined || id === null) {
|
|
1880
|
+
throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
|
|
1881
|
+
}
|
|
1882
|
+
var pathParams = {
|
|
1883
|
+
'id': id
|
|
1884
|
+
};
|
|
1885
|
+
var queryParams = {};
|
|
1886
|
+
var headerParams = {
|
|
1887
|
+
'Authorization': opts['authorization'],
|
|
1888
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1889
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1890
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1891
|
+
'transactionid': opts['transactionid']
|
|
1892
|
+
};
|
|
1893
|
+
var formParams = {};
|
|
1894
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1895
|
+
var contentTypes = ['application/json'];
|
|
1896
|
+
var accepts = ['application/json'];
|
|
1897
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
1898
|
+
return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/**
|
|
1902
|
+
* @param {Number} id
|
|
1903
|
+
* @param {Object} opts Optional parameters
|
|
1904
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1905
|
+
* @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
|
|
1906
|
+
* @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
|
|
1907
|
+
* @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
|
|
1908
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1909
|
+
* @param {String} opts.body
|
|
1910
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
|
|
1911
|
+
*/
|
|
1912
|
+
}, {
|
|
1913
|
+
key: "updateTemplate2",
|
|
1914
|
+
value: function updateTemplate2(id, opts) {
|
|
1915
|
+
return this.updateTemplate2WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1916
|
+
return response_and_data.data;
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
}]);
|
|
1920
|
+
return GraphRelationshipsApi;
|
|
1921
|
+
}();
|