@gobodo/gobodo-api-promise 0.1.65 → 0.1.66
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 +17 -2
- 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 +2 -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 +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.js +2 -2
- 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 +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -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 +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.js +407 -0
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.js +405 -0
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TopicsApi.js +2 -2
- 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 +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +49 -0
- 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 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/Article.js +98 -98
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.js +33 -33
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +2 -2
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.js +98 -98
- package/dist/model/DocumentPart.js +25 -25
- package/dist/model/DocumentPartType.js +25 -25
- package/dist/model/DocumentType.js +39 -39
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +27 -27
- package/dist/model/File.js +31 -31
- package/dist/model/FileAttachmentUploadObject.js +31 -31
- 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 +2 -2
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.js +2 -2
- 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 +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.js +25 -25
- package/dist/model/GraphAction.js +2 -2
- 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 +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeResponse.js +8 -6
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +31 -31
- package/dist/model/ImageUploadObject.js +31 -31
- package/dist/model/InputPart.js +29 -29
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +27 -27
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +25 -25
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.js +25 -25
- package/dist/model/PageSchema.js +29 -29
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.js +2 -2
- 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 +2 -2
- 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 +27 -27
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +2 -2
- 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 +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/RestApplicationInput.js +247 -0
- package/dist/model/RestApplicationResponse.js +278 -0
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.js +243 -0
- package/dist/model/SiteResponse.js +311 -0
- package/dist/model/SiteTypeResponse.js +216 -0
- package/dist/model/SkinField.js +27 -27
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- 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 +2 -2
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +29 -29
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +29 -29
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +25 -25
- package/dist/model/UserDataPayload.js +25 -25
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +25 -25
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +56 -56
- package/dist/model/VideoLiveUrl.js +27 -27
- package/dist/model/VideoSchema.js +56 -56
- package/dist/model/VideoUploadObject.js +56 -56
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,407 @@
|
|
|
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 _RestApplicationInput = _interopRequireDefault(require("../model/RestApplicationInput"));
|
|
9
|
+
var _RestApplicationResponse = _interopRequireDefault(require("../model/RestApplicationResponse"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
|
+
* gobodo-api
|
|
18
|
+
* REST Interface for Gobodo API
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: 0.1.66
|
|
21
|
+
* Contact: info@gobodo.io
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* RestApplications service.
|
|
30
|
+
* @module api/RestApplicationsApi
|
|
31
|
+
* @version 0.1.66
|
|
32
|
+
*/
|
|
33
|
+
var RestApplicationsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new RestApplicationsApi.
|
|
36
|
+
* @alias module:api/RestApplicationsApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
|
+
function RestApplicationsApi(apiClient) {
|
|
42
|
+
_classCallCheck(this, RestApplicationsApi);
|
|
43
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Create a rest application
|
|
48
|
+
* @param {Object} opts Optional parameters
|
|
49
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
50
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
51
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
52
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
53
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
54
|
+
* @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)
|
|
55
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
56
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
57
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
58
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
59
|
+
* @param {module:model/RestApplicationInput} [restApplicationInput]
|
|
60
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RestApplicationResponse} and HTTP response
|
|
61
|
+
*/
|
|
62
|
+
_createClass(RestApplicationsApi, [{
|
|
63
|
+
key: "createRestApplicationWithHttpInfo",
|
|
64
|
+
value: function createRestApplicationWithHttpInfo(opts) {
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
var postBody = opts['restApplicationInput'];
|
|
67
|
+
var pathParams = {};
|
|
68
|
+
var queryParams = {};
|
|
69
|
+
var headerParams = {
|
|
70
|
+
'Authorization': opts['authorization'],
|
|
71
|
+
'cacheduration': opts['cacheduration'],
|
|
72
|
+
'cachegroup': opts['cachegroup'],
|
|
73
|
+
'cachekey': opts['cachekey'],
|
|
74
|
+
'cachescope': opts['cachescope'],
|
|
75
|
+
'cacheuser': opts['cacheuser'],
|
|
76
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
77
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
78
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
79
|
+
'transactionid': opts['transactionid']
|
|
80
|
+
};
|
|
81
|
+
var formParams = {};
|
|
82
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
83
|
+
var contentTypes = [];
|
|
84
|
+
var accepts = ['application/json'];
|
|
85
|
+
var returnType = _RestApplicationResponse["default"];
|
|
86
|
+
return this.apiClient.callApi('/graph/data/restapplications', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Create a rest application
|
|
91
|
+
* @param {Object} opts Optional parameters
|
|
92
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
93
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
94
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
95
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
96
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
97
|
+
* @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)
|
|
98
|
+
* @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
|
|
99
|
+
* @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
|
|
100
|
+
* @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
|
|
101
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
102
|
+
* @param {module:model/RestApplicationInput} opts.restApplicationInput
|
|
103
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RestApplicationResponse}
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "createRestApplication",
|
|
107
|
+
value: function createRestApplication(opts) {
|
|
108
|
+
return this.createRestApplicationWithHttpInfo(opts).then(function (response_and_data) {
|
|
109
|
+
return response_and_data.data;
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Delete a rest application
|
|
115
|
+
* @param {Number} id
|
|
116
|
+
* @param {Object} opts Optional parameters
|
|
117
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
118
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
119
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
120
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
121
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
122
|
+
* @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)
|
|
123
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
124
|
+
* @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
|
|
125
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
126
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
127
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
128
|
+
*/
|
|
129
|
+
}, {
|
|
130
|
+
key: "deleteRestApplicationWithHttpInfo",
|
|
131
|
+
value: function deleteRestApplicationWithHttpInfo(id, opts) {
|
|
132
|
+
opts = opts || {};
|
|
133
|
+
var postBody = null;
|
|
134
|
+
// verify the required parameter 'id' is set
|
|
135
|
+
if (id === undefined || id === null) {
|
|
136
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRestApplication");
|
|
137
|
+
}
|
|
138
|
+
var pathParams = {
|
|
139
|
+
'id': id
|
|
140
|
+
};
|
|
141
|
+
var queryParams = {};
|
|
142
|
+
var headerParams = {
|
|
143
|
+
'Authorization': opts['authorization'],
|
|
144
|
+
'cacheduration': opts['cacheduration'],
|
|
145
|
+
'cachegroup': opts['cachegroup'],
|
|
146
|
+
'cachekey': opts['cachekey'],
|
|
147
|
+
'cachescope': opts['cachescope'],
|
|
148
|
+
'cacheuser': opts['cacheuser'],
|
|
149
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
150
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
151
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
152
|
+
'transactionid': opts['transactionid']
|
|
153
|
+
};
|
|
154
|
+
var formParams = {};
|
|
155
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
156
|
+
var contentTypes = [];
|
|
157
|
+
var accepts = [];
|
|
158
|
+
var returnType = null;
|
|
159
|
+
return this.apiClient.callApi('/graph/data/restapplications/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Delete a rest application
|
|
164
|
+
* @param {Number} id
|
|
165
|
+
* @param {Object} opts Optional parameters
|
|
166
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
167
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
168
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
169
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
170
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
171
|
+
* @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)
|
|
172
|
+
* @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
|
|
173
|
+
* @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
|
|
174
|
+
* @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
|
|
175
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
176
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
177
|
+
*/
|
|
178
|
+
}, {
|
|
179
|
+
key: "deleteRestApplication",
|
|
180
|
+
value: function deleteRestApplication(id, opts) {
|
|
181
|
+
return this.deleteRestApplicationWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
182
|
+
return response_and_data.data;
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Get a rest application by id
|
|
188
|
+
* @param {Number} id
|
|
189
|
+
* @param {Object} opts Optional parameters
|
|
190
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
191
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
192
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
193
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
194
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
195
|
+
* @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)
|
|
196
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
197
|
+
* @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
|
|
198
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
199
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
200
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RestApplicationResponse} and HTTP response
|
|
201
|
+
*/
|
|
202
|
+
}, {
|
|
203
|
+
key: "getRestApplicationByIdWithHttpInfo",
|
|
204
|
+
value: function getRestApplicationByIdWithHttpInfo(id, opts) {
|
|
205
|
+
opts = opts || {};
|
|
206
|
+
var postBody = null;
|
|
207
|
+
// verify the required parameter 'id' is set
|
|
208
|
+
if (id === undefined || id === null) {
|
|
209
|
+
throw new Error("Missing the required parameter 'id' when calling getRestApplicationById");
|
|
210
|
+
}
|
|
211
|
+
var pathParams = {
|
|
212
|
+
'id': id
|
|
213
|
+
};
|
|
214
|
+
var queryParams = {};
|
|
215
|
+
var headerParams = {
|
|
216
|
+
'Authorization': opts['authorization'],
|
|
217
|
+
'cacheduration': opts['cacheduration'],
|
|
218
|
+
'cachegroup': opts['cachegroup'],
|
|
219
|
+
'cachekey': opts['cachekey'],
|
|
220
|
+
'cachescope': opts['cachescope'],
|
|
221
|
+
'cacheuser': opts['cacheuser'],
|
|
222
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
223
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
224
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
225
|
+
'transactionid': opts['transactionid']
|
|
226
|
+
};
|
|
227
|
+
var formParams = {};
|
|
228
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
229
|
+
var contentTypes = [];
|
|
230
|
+
var accepts = ['application/json'];
|
|
231
|
+
var returnType = _RestApplicationResponse["default"];
|
|
232
|
+
return this.apiClient.callApi('/graph/data/restapplications/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Get a rest application by id
|
|
237
|
+
* @param {Number} id
|
|
238
|
+
* @param {Object} opts Optional parameters
|
|
239
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
240
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
241
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
242
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
243
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
244
|
+
* @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)
|
|
245
|
+
* @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
|
|
246
|
+
* @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
|
|
247
|
+
* @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
|
|
248
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
249
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RestApplicationResponse}
|
|
250
|
+
*/
|
|
251
|
+
}, {
|
|
252
|
+
key: "getRestApplicationById",
|
|
253
|
+
value: function getRestApplicationById(id, opts) {
|
|
254
|
+
return this.getRestApplicationByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
255
|
+
return response_and_data.data;
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Get all rest applications
|
|
261
|
+
* @param {Object} opts Optional parameters
|
|
262
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
263
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
264
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
265
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
266
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
267
|
+
* @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)
|
|
268
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
269
|
+
* @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
|
|
270
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
271
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
272
|
+
* @param {Number} [startindex]
|
|
273
|
+
* @param {Number} [count]
|
|
274
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RestApplicationResponse>} and HTTP response
|
|
275
|
+
*/
|
|
276
|
+
}, {
|
|
277
|
+
key: "getRestApplicationsWithHttpInfo",
|
|
278
|
+
value: function getRestApplicationsWithHttpInfo(opts) {
|
|
279
|
+
opts = opts || {};
|
|
280
|
+
var postBody = null;
|
|
281
|
+
var pathParams = {};
|
|
282
|
+
var queryParams = {
|
|
283
|
+
'startindex': opts['startindex'],
|
|
284
|
+
'count': opts['count']
|
|
285
|
+
};
|
|
286
|
+
var headerParams = {
|
|
287
|
+
'Authorization': opts['authorization'],
|
|
288
|
+
'cacheduration': opts['cacheduration'],
|
|
289
|
+
'cachegroup': opts['cachegroup'],
|
|
290
|
+
'cachekey': opts['cachekey'],
|
|
291
|
+
'cachescope': opts['cachescope'],
|
|
292
|
+
'cacheuser': opts['cacheuser'],
|
|
293
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
294
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
295
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
296
|
+
'transactionid': opts['transactionid']
|
|
297
|
+
};
|
|
298
|
+
var formParams = {};
|
|
299
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
300
|
+
var contentTypes = [];
|
|
301
|
+
var accepts = ['application/json'];
|
|
302
|
+
var returnType = [_RestApplicationResponse["default"]];
|
|
303
|
+
return this.apiClient.callApi('/graph/data/restapplications', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Get all rest applications
|
|
308
|
+
* @param {Object} opts Optional parameters
|
|
309
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
310
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
311
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
312
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
313
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
314
|
+
* @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)
|
|
315
|
+
* @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
|
|
316
|
+
* @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
|
|
317
|
+
* @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
|
|
318
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
319
|
+
* @param {Number} opts.startindex
|
|
320
|
+
* @param {Number} opts.count
|
|
321
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RestApplicationResponse>}
|
|
322
|
+
*/
|
|
323
|
+
}, {
|
|
324
|
+
key: "getRestApplications",
|
|
325
|
+
value: function getRestApplications(opts) {
|
|
326
|
+
return this.getRestApplicationsWithHttpInfo(opts).then(function (response_and_data) {
|
|
327
|
+
return response_and_data.data;
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Update a rest application
|
|
333
|
+
* @param {Number} id
|
|
334
|
+
* @param {Object} opts Optional parameters
|
|
335
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
336
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
337
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
338
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
339
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
340
|
+
* @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)
|
|
341
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
342
|
+
* @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
|
|
343
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
344
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
345
|
+
* @param {module:model/RestApplicationInput} [restApplicationInput]
|
|
346
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RestApplicationResponse} and HTTP response
|
|
347
|
+
*/
|
|
348
|
+
}, {
|
|
349
|
+
key: "updateRestApplicationWithHttpInfo",
|
|
350
|
+
value: function updateRestApplicationWithHttpInfo(id, opts) {
|
|
351
|
+
opts = opts || {};
|
|
352
|
+
var postBody = opts['restApplicationInput'];
|
|
353
|
+
// verify the required parameter 'id' is set
|
|
354
|
+
if (id === undefined || id === null) {
|
|
355
|
+
throw new Error("Missing the required parameter 'id' when calling updateRestApplication");
|
|
356
|
+
}
|
|
357
|
+
var pathParams = {
|
|
358
|
+
'id': id
|
|
359
|
+
};
|
|
360
|
+
var queryParams = {};
|
|
361
|
+
var headerParams = {
|
|
362
|
+
'Authorization': opts['authorization'],
|
|
363
|
+
'cacheduration': opts['cacheduration'],
|
|
364
|
+
'cachegroup': opts['cachegroup'],
|
|
365
|
+
'cachekey': opts['cachekey'],
|
|
366
|
+
'cachescope': opts['cachescope'],
|
|
367
|
+
'cacheuser': opts['cacheuser'],
|
|
368
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
369
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
370
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
371
|
+
'transactionid': opts['transactionid']
|
|
372
|
+
};
|
|
373
|
+
var formParams = {};
|
|
374
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
375
|
+
var contentTypes = [];
|
|
376
|
+
var accepts = ['application/json'];
|
|
377
|
+
var returnType = _RestApplicationResponse["default"];
|
|
378
|
+
return this.apiClient.callApi('/graph/data/restapplications/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Update a rest application
|
|
383
|
+
* @param {Number} id
|
|
384
|
+
* @param {Object} opts Optional parameters
|
|
385
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
386
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
387
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
388
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
389
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
390
|
+
* @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)
|
|
391
|
+
* @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
|
|
392
|
+
* @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
|
|
393
|
+
* @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
|
|
394
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
395
|
+
* @param {module:model/RestApplicationInput} opts.restApplicationInput
|
|
396
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RestApplicationResponse}
|
|
397
|
+
*/
|
|
398
|
+
}, {
|
|
399
|
+
key: "updateRestApplication",
|
|
400
|
+
value: function updateRestApplication(id, opts) {
|
|
401
|
+
return this.updateRestApplicationWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
402
|
+
return response_and_data.data;
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
}]);
|
|
406
|
+
return RestApplicationsApi;
|
|
407
|
+
}();
|
package/dist/api/ScreensApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.66
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* Screens service.
|
|
29
29
|
* @module api/ScreensApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.66
|
|
31
31
|
*/
|
|
32
32
|
var ScreensApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|