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