@teemill/integrations 0.12.2 → 0.12.7
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/.openapi-generator/FILES +6 -21
- package/README.md +3 -3
- package/api.ts +1649 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1100 -0
- package/dist/api.js +910 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1100 -0
- package/dist/esm/api.js +903 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/IntegrationsApi.d.ts +0 -164
- package/dist/apis/IntegrationsApi.js +0 -490
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/IntegrationsApi.d.ts +0 -164
- package/dist/esm/apis/IntegrationsApi.js +0 -486
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/esm/models/AdminIntegrationListing.js +0 -85
- package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/AdminIntegrationListingsResponse.js +0 -41
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/CategoriesResponse.d.ts +0 -32
- package/dist/esm/models/CategoriesResponse.js +0 -44
- package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -42
- package/dist/esm/models/Icon.d.ts +0 -43
- package/dist/esm/models/Icon.js +0 -48
- package/dist/esm/models/Integration.d.ts +0 -45
- package/dist/esm/models/Integration.js +0 -41
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
- package/dist/esm/models/IntegrationCategory.d.ts +0 -52
- package/dist/esm/models/IntegrationCategory.js +0 -56
- package/dist/esm/models/IntegrationInfo.d.ts +0 -49
- package/dist/esm/models/IntegrationInfo.js +0 -52
- package/dist/esm/models/IntegrationListing.d.ts +0 -94
- package/dist/esm/models/IntegrationListing.js +0 -80
- package/dist/esm/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/esm/models/IntegrationListingGradient.js +0 -42
- package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationListingsResponse.js +0 -41
- package/dist/esm/models/IntegrationProduct.d.ts +0 -61
- package/dist/esm/models/IntegrationProduct.js +0 -57
- package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationProductsResponse.js +0 -41
- package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationsResponse.js +0 -41
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
- package/dist/esm/models/index.d.ts +0 -16
- package/dist/esm/models/index.js +0 -18
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/models/AdminIntegrationListing.js +0 -92
- package/dist/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/models/AdminIntegrationListingsResponse.js +0 -48
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/CategoriesResponse.d.ts +0 -32
- package/dist/models/CategoriesResponse.js +0 -51
- package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
- package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -49
- package/dist/models/Icon.d.ts +0 -43
- package/dist/models/Icon.js +0 -55
- package/dist/models/Integration.d.ts +0 -45
- package/dist/models/Integration.js +0 -48
- package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/models/IntegrationCategoriesResponse.js +0 -48
- package/dist/models/IntegrationCategory.d.ts +0 -52
- package/dist/models/IntegrationCategory.js +0 -63
- package/dist/models/IntegrationInfo.d.ts +0 -49
- package/dist/models/IntegrationInfo.js +0 -59
- package/dist/models/IntegrationListing.d.ts +0 -94
- package/dist/models/IntegrationListing.js +0 -87
- package/dist/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/models/IntegrationListingGradient.js +0 -49
- package/dist/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/models/IntegrationListingsResponse.js +0 -48
- package/dist/models/IntegrationProduct.d.ts +0 -61
- package/dist/models/IntegrationProduct.js +0 -64
- package/dist/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/models/IntegrationProductsResponse.js +0 -48
- package/dist/models/IntegrationsResponse.d.ts +0 -32
- package/dist/models/IntegrationsResponse.js +0 -48
- package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
- package/dist/models/index.d.ts +0 -16
- package/dist/models/index.js +0 -34
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/IntegrationsApi.ts +0 -682
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/AdminIntegrationListing.ts +0 -183
- package/src/models/AdminIntegrationListingsResponse.ts +0 -68
- package/src/models/ApiError.ts +0 -69
- package/src/models/CategoriesResponse.ts +0 -73
- package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
- package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -76
- package/src/models/Icon.ts +0 -79
- package/src/models/Integration.ts +0 -75
- package/src/models/IntegrationCategoriesResponse.ts +0 -68
- package/src/models/IntegrationCategory.ts +0 -91
- package/src/models/IntegrationInfo.ts +0 -93
- package/src/models/IntegrationListing.ts +0 -168
- package/src/models/IntegrationListingGradient.ts +0 -76
- package/src/models/IntegrationListingsResponse.ts +0 -68
- package/src/models/IntegrationProduct.ts +0 -104
- package/src/models/IntegrationProductsResponse.ts +0 -68
- package/src/models/IntegrationsResponse.ts +0 -68
- package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
- package/src/models/index.ts +0 -18
- package/src/runtime.ts +0 -441
package/dist/api.js
ADDED
|
@@ -0,0 +1,910 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Integrations API
|
|
6
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.12.7
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.IntegrationsApi = exports.IntegrationsApiFactory = exports.IntegrationsApiFp = exports.IntegrationsApiAxiosParamCreator = exports.IntegrationCategoryTypeEnum = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("./common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("./base");
|
|
32
|
+
exports.IntegrationCategoryTypeEnum = {
|
|
33
|
+
Featured: 'featured',
|
|
34
|
+
Grid: 'grid',
|
|
35
|
+
Column: 'column'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* IntegrationsApi - axios parameter creator
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
42
|
+
return {
|
|
43
|
+
/**
|
|
44
|
+
* Create a new integration listing
|
|
45
|
+
* @summary Create integration listing
|
|
46
|
+
* @param {CreateAdminIntegrationListingRequest} createAdminIntegrationListingRequest Create a new integration listing
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
createAdminIntegrationListing: (createAdminIntegrationListingRequest_1, ...args_1) => __awaiter(this, [createAdminIntegrationListingRequest_1, ...args_1], void 0, function* (createAdminIntegrationListingRequest, options = {}) {
|
|
51
|
+
// verify required parameter 'createAdminIntegrationListingRequest' is not null or undefined
|
|
52
|
+
(0, common_1.assertParamExists)('createAdminIntegrationListing', 'createAdminIntegrationListingRequest', createAdminIntegrationListingRequest);
|
|
53
|
+
const localVarPath = `/v1/integrations/admin/listings`;
|
|
54
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
56
|
+
let baseOptions;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
}
|
|
60
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
61
|
+
const localVarHeaderParameter = {};
|
|
62
|
+
const localVarQueryParameter = {};
|
|
63
|
+
// authentication session-oauth required
|
|
64
|
+
// oauth required
|
|
65
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
66
|
+
// authentication api-key required
|
|
67
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
68
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
69
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
70
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
71
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
72
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAdminIntegrationListingRequest, localVarRequestOptions, configuration);
|
|
73
|
+
return {
|
|
74
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
}),
|
|
78
|
+
/**
|
|
79
|
+
* Delete an integration listing
|
|
80
|
+
* @summary Delete integration listing
|
|
81
|
+
* @param {string} listing Integration listing unique identifier
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
deleteAdminIntegrationListing: (listing_1, ...args_2) => __awaiter(this, [listing_1, ...args_2], void 0, function* (listing, options = {}) {
|
|
86
|
+
// verify required parameter 'listing' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('deleteAdminIntegrationListing', 'listing', listing);
|
|
88
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
89
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
90
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
// authentication session-oauth required
|
|
100
|
+
// oauth required
|
|
101
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
102
|
+
// authentication api-key required
|
|
103
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
104
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107
|
+
return {
|
|
108
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
}),
|
|
112
|
+
/**
|
|
113
|
+
* Retrieves a specific integration listing by its slug.
|
|
114
|
+
* @summary Retrieve integration listing
|
|
115
|
+
* @param {string} listing Integration listing unique identifier
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
getAdminIntegrationListing: (listing_2, ...args_3) => __awaiter(this, [listing_2, ...args_3], void 0, function* (listing, options = {}) {
|
|
120
|
+
// verify required parameter 'listing' is not null or undefined
|
|
121
|
+
(0, common_1.assertParamExists)('getAdminIntegrationListing', 'listing', listing);
|
|
122
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
123
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
124
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
125
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
126
|
+
let baseOptions;
|
|
127
|
+
if (configuration) {
|
|
128
|
+
baseOptions = configuration.baseOptions;
|
|
129
|
+
}
|
|
130
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
131
|
+
const localVarHeaderParameter = {};
|
|
132
|
+
const localVarQueryParameter = {};
|
|
133
|
+
// authentication session-oauth required
|
|
134
|
+
// oauth required
|
|
135
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
136
|
+
// authentication api-key required
|
|
137
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
138
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
141
|
+
return {
|
|
142
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
};
|
|
145
|
+
}),
|
|
146
|
+
/**
|
|
147
|
+
* List all integration categories
|
|
148
|
+
* @summary List integration categories
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getIntegrationCategories: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
|
|
153
|
+
const localVarPath = `/v1/integrations/categories`;
|
|
154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
156
|
+
let baseOptions;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
}
|
|
160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
161
|
+
const localVarHeaderParameter = {};
|
|
162
|
+
const localVarQueryParameter = {};
|
|
163
|
+
// authentication session-oauth required
|
|
164
|
+
// oauth required
|
|
165
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
166
|
+
// authentication api-key required
|
|
167
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
168
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
170
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
171
|
+
return {
|
|
172
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
173
|
+
options: localVarRequestOptions,
|
|
174
|
+
};
|
|
175
|
+
}),
|
|
176
|
+
/**
|
|
177
|
+
* Get an integration category
|
|
178
|
+
* @summary Get integration category
|
|
179
|
+
* @param {string} category Categories unique identifier
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
getIntegrationCategory: (category_1, ...args_5) => __awaiter(this, [category_1, ...args_5], void 0, function* (category, options = {}) {
|
|
184
|
+
// verify required parameter 'category' is not null or undefined
|
|
185
|
+
(0, common_1.assertParamExists)('getIntegrationCategory', 'category', category);
|
|
186
|
+
const localVarPath = `/v1/integrations/categories/{category}`
|
|
187
|
+
.replace(`{${"category"}}`, encodeURIComponent(String(category)));
|
|
188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
190
|
+
let baseOptions;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
}
|
|
194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
195
|
+
const localVarHeaderParameter = {};
|
|
196
|
+
const localVarQueryParameter = {};
|
|
197
|
+
// authentication session-oauth required
|
|
198
|
+
// oauth required
|
|
199
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
200
|
+
// authentication api-key required
|
|
201
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
202
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
204
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
205
|
+
return {
|
|
206
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
207
|
+
options: localVarRequestOptions,
|
|
208
|
+
};
|
|
209
|
+
}),
|
|
210
|
+
/**
|
|
211
|
+
* Get an integration listing
|
|
212
|
+
* @summary Get integration listing
|
|
213
|
+
* @param {string} listing Integration listing unique identifier
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
getIntegrationListing: (listing_3, ...args_6) => __awaiter(this, [listing_3, ...args_6], void 0, function* (listing, options = {}) {
|
|
218
|
+
// verify required parameter 'listing' is not null or undefined
|
|
219
|
+
(0, common_1.assertParamExists)('getIntegrationListing', 'listing', listing);
|
|
220
|
+
const localVarPath = `/v1/integrations/listings/{listing}`
|
|
221
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
224
|
+
let baseOptions;
|
|
225
|
+
if (configuration) {
|
|
226
|
+
baseOptions = configuration.baseOptions;
|
|
227
|
+
}
|
|
228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
229
|
+
const localVarHeaderParameter = {};
|
|
230
|
+
const localVarQueryParameter = {};
|
|
231
|
+
// authentication session-oauth required
|
|
232
|
+
// oauth required
|
|
233
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
234
|
+
// authentication api-key required
|
|
235
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
236
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
239
|
+
return {
|
|
240
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
241
|
+
options: localVarRequestOptions,
|
|
242
|
+
};
|
|
243
|
+
}),
|
|
244
|
+
/**
|
|
245
|
+
* List all integration listings
|
|
246
|
+
* @summary List integration listings
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
getIntegrationListings: (...args_7) => __awaiter(this, [...args_7], void 0, function* (options = {}) {
|
|
251
|
+
const localVarPath = `/v1/integrations/listings`;
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
}
|
|
258
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
259
|
+
const localVarHeaderParameter = {};
|
|
260
|
+
const localVarQueryParameter = {};
|
|
261
|
+
// authentication session-oauth required
|
|
262
|
+
// oauth required
|
|
263
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
264
|
+
// authentication api-key required
|
|
265
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
266
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
269
|
+
return {
|
|
270
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
271
|
+
options: localVarRequestOptions,
|
|
272
|
+
};
|
|
273
|
+
}),
|
|
274
|
+
/**
|
|
275
|
+
* Get a product available for an integration
|
|
276
|
+
* @summary Get integration product
|
|
277
|
+
* @param {number} integration Integrations unique identifier
|
|
278
|
+
* @param {string} product Products unique identifier
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
getIntegrationProduct: (integration_1, product_1, ...args_8) => __awaiter(this, [integration_1, product_1, ...args_8], void 0, function* (integration, product, options = {}) {
|
|
283
|
+
// verify required parameter 'integration' is not null or undefined
|
|
284
|
+
(0, common_1.assertParamExists)('getIntegrationProduct', 'integration', integration);
|
|
285
|
+
// verify required parameter 'product' is not null or undefined
|
|
286
|
+
(0, common_1.assertParamExists)('getIntegrationProduct', 'product', product);
|
|
287
|
+
const localVarPath = `/v1/integrations/{integration}/products/{product}`
|
|
288
|
+
.replace(`{${"integration"}}`, encodeURIComponent(String(integration)))
|
|
289
|
+
.replace(`{${"product"}}`, encodeURIComponent(String(product)));
|
|
290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
292
|
+
let baseOptions;
|
|
293
|
+
if (configuration) {
|
|
294
|
+
baseOptions = configuration.baseOptions;
|
|
295
|
+
}
|
|
296
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
297
|
+
const localVarHeaderParameter = {};
|
|
298
|
+
const localVarQueryParameter = {};
|
|
299
|
+
// authentication session-oauth required
|
|
300
|
+
// oauth required
|
|
301
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
302
|
+
// authentication api-key required
|
|
303
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
304
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
306
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
307
|
+
return {
|
|
308
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
309
|
+
options: localVarRequestOptions,
|
|
310
|
+
};
|
|
311
|
+
}),
|
|
312
|
+
/**
|
|
313
|
+
* List all products available for an integration
|
|
314
|
+
* @summary List integration products
|
|
315
|
+
* @param {number} integration Integrations unique identifier
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
getIntegrationProducts: (integration_2, ...args_9) => __awaiter(this, [integration_2, ...args_9], void 0, function* (integration, options = {}) {
|
|
320
|
+
// verify required parameter 'integration' is not null or undefined
|
|
321
|
+
(0, common_1.assertParamExists)('getIntegrationProducts', 'integration', integration);
|
|
322
|
+
const localVarPath = `/v1/integrations/{integration}/products`
|
|
323
|
+
.replace(`{${"integration"}}`, encodeURIComponent(String(integration)));
|
|
324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
326
|
+
let baseOptions;
|
|
327
|
+
if (configuration) {
|
|
328
|
+
baseOptions = configuration.baseOptions;
|
|
329
|
+
}
|
|
330
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
331
|
+
const localVarHeaderParameter = {};
|
|
332
|
+
const localVarQueryParameter = {};
|
|
333
|
+
// authentication session-oauth required
|
|
334
|
+
// oauth required
|
|
335
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
336
|
+
// authentication api-key required
|
|
337
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
338
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
341
|
+
return {
|
|
342
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
343
|
+
options: localVarRequestOptions,
|
|
344
|
+
};
|
|
345
|
+
}),
|
|
346
|
+
/**
|
|
347
|
+
* List all integrations
|
|
348
|
+
* @summary List integrations
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getIntegrations: (...args_10) => __awaiter(this, [...args_10], void 0, function* (options = {}) {
|
|
353
|
+
const localVarPath = `/v1/integrations`;
|
|
354
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
355
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
356
|
+
let baseOptions;
|
|
357
|
+
if (configuration) {
|
|
358
|
+
baseOptions = configuration.baseOptions;
|
|
359
|
+
}
|
|
360
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
361
|
+
const localVarHeaderParameter = {};
|
|
362
|
+
const localVarQueryParameter = {};
|
|
363
|
+
// authentication session-oauth required
|
|
364
|
+
// oauth required
|
|
365
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
366
|
+
// authentication api-key required
|
|
367
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
371
|
+
return {
|
|
372
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
|
+
options: localVarRequestOptions,
|
|
374
|
+
};
|
|
375
|
+
}),
|
|
376
|
+
/**
|
|
377
|
+
* List all integration listings
|
|
378
|
+
* @summary List integration listings
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
listAdminIntegrationListings: (...args_11) => __awaiter(this, [...args_11], void 0, function* (options = {}) {
|
|
383
|
+
const localVarPath = `/v1/integrations/admin/listings`;
|
|
384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
+
let baseOptions;
|
|
387
|
+
if (configuration) {
|
|
388
|
+
baseOptions = configuration.baseOptions;
|
|
389
|
+
}
|
|
390
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
391
|
+
const localVarHeaderParameter = {};
|
|
392
|
+
const localVarQueryParameter = {};
|
|
393
|
+
// authentication session-oauth required
|
|
394
|
+
// oauth required
|
|
395
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
396
|
+
// authentication api-key required
|
|
397
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
398
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
401
|
+
return {
|
|
402
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
403
|
+
options: localVarRequestOptions,
|
|
404
|
+
};
|
|
405
|
+
}),
|
|
406
|
+
/**
|
|
407
|
+
* Update an integration listing
|
|
408
|
+
* @summary Update integration listing
|
|
409
|
+
* @param {string} listing Integration listing unique identifier
|
|
410
|
+
* @param {UpdateAdminIntegrationListingRequest} updateAdminIntegrationListingRequest Update an integration listing
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
updateAdminIntegrationListing: (listing_4, updateAdminIntegrationListingRequest_1, ...args_12) => __awaiter(this, [listing_4, updateAdminIntegrationListingRequest_1, ...args_12], void 0, function* (listing, updateAdminIntegrationListingRequest, options = {}) {
|
|
415
|
+
// verify required parameter 'listing' is not null or undefined
|
|
416
|
+
(0, common_1.assertParamExists)('updateAdminIntegrationListing', 'listing', listing);
|
|
417
|
+
// verify required parameter 'updateAdminIntegrationListingRequest' is not null or undefined
|
|
418
|
+
(0, common_1.assertParamExists)('updateAdminIntegrationListing', 'updateAdminIntegrationListingRequest', updateAdminIntegrationListingRequest);
|
|
419
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
420
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
421
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
422
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
423
|
+
let baseOptions;
|
|
424
|
+
if (configuration) {
|
|
425
|
+
baseOptions = configuration.baseOptions;
|
|
426
|
+
}
|
|
427
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
428
|
+
const localVarHeaderParameter = {};
|
|
429
|
+
const localVarQueryParameter = {};
|
|
430
|
+
// authentication session-oauth required
|
|
431
|
+
// oauth required
|
|
432
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
433
|
+
// authentication api-key required
|
|
434
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
435
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
436
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
437
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
438
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
439
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateAdminIntegrationListingRequest, localVarRequestOptions, configuration);
|
|
440
|
+
return {
|
|
441
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
442
|
+
options: localVarRequestOptions,
|
|
443
|
+
};
|
|
444
|
+
}),
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
exports.IntegrationsApiAxiosParamCreator = IntegrationsApiAxiosParamCreator;
|
|
448
|
+
/**
|
|
449
|
+
* IntegrationsApi - functional programming interface
|
|
450
|
+
* @export
|
|
451
|
+
*/
|
|
452
|
+
const IntegrationsApiFp = function (configuration) {
|
|
453
|
+
const localVarAxiosParamCreator = (0, exports.IntegrationsApiAxiosParamCreator)(configuration);
|
|
454
|
+
return {
|
|
455
|
+
/**
|
|
456
|
+
* Create a new integration listing
|
|
457
|
+
* @summary Create integration listing
|
|
458
|
+
* @param {CreateAdminIntegrationListingRequest} createAdminIntegrationListingRequest Create a new integration listing
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
createAdminIntegrationListing(createAdminIntegrationListingRequest, options) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
var _a, _b, _c;
|
|
465
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAdminIntegrationListing(createAdminIntegrationListingRequest, options);
|
|
466
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
467
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.createAdminIntegrationListing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
468
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
469
|
+
});
|
|
470
|
+
},
|
|
471
|
+
/**
|
|
472
|
+
* Delete an integration listing
|
|
473
|
+
* @summary Delete integration listing
|
|
474
|
+
* @param {string} listing Integration listing unique identifier
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
deleteAdminIntegrationListing(listing, options) {
|
|
479
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
480
|
+
var _a, _b, _c;
|
|
481
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAdminIntegrationListing(listing, options);
|
|
482
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
483
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.deleteAdminIntegrationListing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
484
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
485
|
+
});
|
|
486
|
+
},
|
|
487
|
+
/**
|
|
488
|
+
* Retrieves a specific integration listing by its slug.
|
|
489
|
+
* @summary Retrieve integration listing
|
|
490
|
+
* @param {string} listing Integration listing unique identifier
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
getAdminIntegrationListing(listing, options) {
|
|
495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
496
|
+
var _a, _b, _c;
|
|
497
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdminIntegrationListing(listing, options);
|
|
498
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
499
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getAdminIntegrationListing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
500
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
501
|
+
});
|
|
502
|
+
},
|
|
503
|
+
/**
|
|
504
|
+
* List all integration categories
|
|
505
|
+
* @summary List integration categories
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
getIntegrationCategories(options) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
var _a, _b, _c;
|
|
512
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationCategories(options);
|
|
513
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
514
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationCategories']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
515
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
516
|
+
});
|
|
517
|
+
},
|
|
518
|
+
/**
|
|
519
|
+
* Get an integration category
|
|
520
|
+
* @summary Get integration category
|
|
521
|
+
* @param {string} category Categories unique identifier
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
getIntegrationCategory(category, options) {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
var _a, _b, _c;
|
|
528
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationCategory(category, options);
|
|
529
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
530
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationCategory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
531
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
/**
|
|
535
|
+
* Get an integration listing
|
|
536
|
+
* @summary Get integration listing
|
|
537
|
+
* @param {string} listing Integration listing unique identifier
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
getIntegrationListing(listing, options) {
|
|
542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
543
|
+
var _a, _b, _c;
|
|
544
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListing(listing, options);
|
|
545
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
546
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationListing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
547
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
548
|
+
});
|
|
549
|
+
},
|
|
550
|
+
/**
|
|
551
|
+
* List all integration listings
|
|
552
|
+
* @summary List integration listings
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
getIntegrationListings(options) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
558
|
+
var _a, _b, _c;
|
|
559
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(options);
|
|
560
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
562
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
563
|
+
});
|
|
564
|
+
},
|
|
565
|
+
/**
|
|
566
|
+
* Get a product available for an integration
|
|
567
|
+
* @summary Get integration product
|
|
568
|
+
* @param {number} integration Integrations unique identifier
|
|
569
|
+
* @param {string} product Products unique identifier
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
getIntegrationProduct(integration, product, options) {
|
|
574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
575
|
+
var _a, _b, _c;
|
|
576
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProduct(integration, product, options);
|
|
577
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
578
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationProduct']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
579
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
580
|
+
});
|
|
581
|
+
},
|
|
582
|
+
/**
|
|
583
|
+
* List all products available for an integration
|
|
584
|
+
* @summary List integration products
|
|
585
|
+
* @param {number} integration Integrations unique identifier
|
|
586
|
+
* @param {*} [options] Override http request option.
|
|
587
|
+
* @throws {RequiredError}
|
|
588
|
+
*/
|
|
589
|
+
getIntegrationProducts(integration, options) {
|
|
590
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
591
|
+
var _a, _b, _c;
|
|
592
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, options);
|
|
593
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
594
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
595
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
596
|
+
});
|
|
597
|
+
},
|
|
598
|
+
/**
|
|
599
|
+
* List all integrations
|
|
600
|
+
* @summary List integrations
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
getIntegrations(options) {
|
|
605
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
606
|
+
var _a, _b, _c;
|
|
607
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrations(options);
|
|
608
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
609
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
610
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
611
|
+
});
|
|
612
|
+
},
|
|
613
|
+
/**
|
|
614
|
+
* List all integration listings
|
|
615
|
+
* @summary List integration listings
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
listAdminIntegrationListings(options) {
|
|
620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
621
|
+
var _a, _b, _c;
|
|
622
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAdminIntegrationListings(options);
|
|
623
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
624
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.listAdminIntegrationListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
625
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
626
|
+
});
|
|
627
|
+
},
|
|
628
|
+
/**
|
|
629
|
+
* Update an integration listing
|
|
630
|
+
* @summary Update integration listing
|
|
631
|
+
* @param {string} listing Integration listing unique identifier
|
|
632
|
+
* @param {UpdateAdminIntegrationListingRequest} updateAdminIntegrationListingRequest Update an integration listing
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
updateAdminIntegrationListing(listing, updateAdminIntegrationListingRequest, options) {
|
|
637
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
638
|
+
var _a, _b, _c;
|
|
639
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAdminIntegrationListing(listing, updateAdminIntegrationListingRequest, options);
|
|
640
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
641
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.updateAdminIntegrationListing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
642
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
643
|
+
});
|
|
644
|
+
},
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
exports.IntegrationsApiFp = IntegrationsApiFp;
|
|
648
|
+
/**
|
|
649
|
+
* IntegrationsApi - factory interface
|
|
650
|
+
* @export
|
|
651
|
+
*/
|
|
652
|
+
const IntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
653
|
+
const localVarFp = (0, exports.IntegrationsApiFp)(configuration);
|
|
654
|
+
return {
|
|
655
|
+
/**
|
|
656
|
+
* Create a new integration listing
|
|
657
|
+
* @summary Create integration listing
|
|
658
|
+
* @param {IntegrationsApiCreateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
*/
|
|
662
|
+
createAdminIntegrationListing(requestParameters, options) {
|
|
663
|
+
return localVarFp.createAdminIntegrationListing(requestParameters.createAdminIntegrationListingRequest, options).then((request) => request(axios, basePath));
|
|
664
|
+
},
|
|
665
|
+
/**
|
|
666
|
+
* Delete an integration listing
|
|
667
|
+
* @summary Delete integration listing
|
|
668
|
+
* @param {IntegrationsApiDeleteAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
deleteAdminIntegrationListing(requestParameters, options) {
|
|
673
|
+
return localVarFp.deleteAdminIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
674
|
+
},
|
|
675
|
+
/**
|
|
676
|
+
* Retrieves a specific integration listing by its slug.
|
|
677
|
+
* @summary Retrieve integration listing
|
|
678
|
+
* @param {IntegrationsApiGetAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
679
|
+
* @param {*} [options] Override http request option.
|
|
680
|
+
* @throws {RequiredError}
|
|
681
|
+
*/
|
|
682
|
+
getAdminIntegrationListing(requestParameters, options) {
|
|
683
|
+
return localVarFp.getAdminIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
684
|
+
},
|
|
685
|
+
/**
|
|
686
|
+
* List all integration categories
|
|
687
|
+
* @summary List integration categories
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
getIntegrationCategories(options) {
|
|
692
|
+
return localVarFp.getIntegrationCategories(options).then((request) => request(axios, basePath));
|
|
693
|
+
},
|
|
694
|
+
/**
|
|
695
|
+
* Get an integration category
|
|
696
|
+
* @summary Get integration category
|
|
697
|
+
* @param {IntegrationsApiGetIntegrationCategoryRequest} requestParameters Request parameters.
|
|
698
|
+
* @param {*} [options] Override http request option.
|
|
699
|
+
* @throws {RequiredError}
|
|
700
|
+
*/
|
|
701
|
+
getIntegrationCategory(requestParameters, options) {
|
|
702
|
+
return localVarFp.getIntegrationCategory(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
703
|
+
},
|
|
704
|
+
/**
|
|
705
|
+
* Get an integration listing
|
|
706
|
+
* @summary Get integration listing
|
|
707
|
+
* @param {IntegrationsApiGetIntegrationListingRequest} requestParameters Request parameters.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @throws {RequiredError}
|
|
710
|
+
*/
|
|
711
|
+
getIntegrationListing(requestParameters, options) {
|
|
712
|
+
return localVarFp.getIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
713
|
+
},
|
|
714
|
+
/**
|
|
715
|
+
* List all integration listings
|
|
716
|
+
* @summary List integration listings
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
getIntegrationListings(options) {
|
|
721
|
+
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
722
|
+
},
|
|
723
|
+
/**
|
|
724
|
+
* Get a product available for an integration
|
|
725
|
+
* @summary Get integration product
|
|
726
|
+
* @param {IntegrationsApiGetIntegrationProductRequest} requestParameters Request parameters.
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
getIntegrationProduct(requestParameters, options) {
|
|
731
|
+
return localVarFp.getIntegrationProduct(requestParameters.integration, requestParameters.product, options).then((request) => request(axios, basePath));
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
* List all products available for an integration
|
|
735
|
+
* @summary List integration products
|
|
736
|
+
* @param {IntegrationsApiGetIntegrationProductsRequest} requestParameters Request parameters.
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
getIntegrationProducts(requestParameters, options) {
|
|
741
|
+
return localVarFp.getIntegrationProducts(requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
* List all integrations
|
|
745
|
+
* @summary List integrations
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
*/
|
|
749
|
+
getIntegrations(options) {
|
|
750
|
+
return localVarFp.getIntegrations(options).then((request) => request(axios, basePath));
|
|
751
|
+
},
|
|
752
|
+
/**
|
|
753
|
+
* List all integration listings
|
|
754
|
+
* @summary List integration listings
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
*/
|
|
758
|
+
listAdminIntegrationListings(options) {
|
|
759
|
+
return localVarFp.listAdminIntegrationListings(options).then((request) => request(axios, basePath));
|
|
760
|
+
},
|
|
761
|
+
/**
|
|
762
|
+
* Update an integration listing
|
|
763
|
+
* @summary Update integration listing
|
|
764
|
+
* @param {IntegrationsApiUpdateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
updateAdminIntegrationListing(requestParameters, options) {
|
|
769
|
+
return localVarFp.updateAdminIntegrationListing(requestParameters.listing, requestParameters.updateAdminIntegrationListingRequest, options).then((request) => request(axios, basePath));
|
|
770
|
+
},
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
exports.IntegrationsApiFactory = IntegrationsApiFactory;
|
|
774
|
+
/**
|
|
775
|
+
* IntegrationsApi - object-oriented interface
|
|
776
|
+
* @export
|
|
777
|
+
* @class IntegrationsApi
|
|
778
|
+
* @extends {BaseAPI}
|
|
779
|
+
*/
|
|
780
|
+
class IntegrationsApi extends base_1.BaseAPI {
|
|
781
|
+
/**
|
|
782
|
+
* Create a new integration listing
|
|
783
|
+
* @summary Create integration listing
|
|
784
|
+
* @param {IntegrationsApiCreateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
785
|
+
* @param {*} [options] Override http request option.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
* @memberof IntegrationsApi
|
|
788
|
+
*/
|
|
789
|
+
createAdminIntegrationListing(requestParameters, options) {
|
|
790
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).createAdminIntegrationListing(requestParameters.createAdminIntegrationListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Delete an integration listing
|
|
794
|
+
* @summary Delete integration listing
|
|
795
|
+
* @param {IntegrationsApiDeleteAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
796
|
+
* @param {*} [options] Override http request option.
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
* @memberof IntegrationsApi
|
|
799
|
+
*/
|
|
800
|
+
deleteAdminIntegrationListing(requestParameters, options) {
|
|
801
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).deleteAdminIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Retrieves a specific integration listing by its slug.
|
|
805
|
+
* @summary Retrieve integration listing
|
|
806
|
+
* @param {IntegrationsApiGetAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @throws {RequiredError}
|
|
809
|
+
* @memberof IntegrationsApi
|
|
810
|
+
*/
|
|
811
|
+
getAdminIntegrationListing(requestParameters, options) {
|
|
812
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getAdminIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* List all integration categories
|
|
816
|
+
* @summary List integration categories
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
* @memberof IntegrationsApi
|
|
820
|
+
*/
|
|
821
|
+
getIntegrationCategories(options) {
|
|
822
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationCategories(options).then((request) => request(this.axios, this.basePath));
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Get an integration category
|
|
826
|
+
* @summary Get integration category
|
|
827
|
+
* @param {IntegrationsApiGetIntegrationCategoryRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
* @memberof IntegrationsApi
|
|
831
|
+
*/
|
|
832
|
+
getIntegrationCategory(requestParameters, options) {
|
|
833
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationCategory(requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* Get an integration listing
|
|
837
|
+
* @summary Get integration listing
|
|
838
|
+
* @param {IntegrationsApiGetIntegrationListingRequest} requestParameters Request parameters.
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
* @memberof IntegrationsApi
|
|
842
|
+
*/
|
|
843
|
+
getIntegrationListing(requestParameters, options) {
|
|
844
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* List all integration listings
|
|
848
|
+
* @summary List integration listings
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
* @memberof IntegrationsApi
|
|
852
|
+
*/
|
|
853
|
+
getIntegrationListings(options) {
|
|
854
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Get a product available for an integration
|
|
858
|
+
* @summary Get integration product
|
|
859
|
+
* @param {IntegrationsApiGetIntegrationProductRequest} requestParameters Request parameters.
|
|
860
|
+
* @param {*} [options] Override http request option.
|
|
861
|
+
* @throws {RequiredError}
|
|
862
|
+
* @memberof IntegrationsApi
|
|
863
|
+
*/
|
|
864
|
+
getIntegrationProduct(requestParameters, options) {
|
|
865
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationProduct(requestParameters.integration, requestParameters.product, options).then((request) => request(this.axios, this.basePath));
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* List all products available for an integration
|
|
869
|
+
* @summary List integration products
|
|
870
|
+
* @param {IntegrationsApiGetIntegrationProductsRequest} requestParameters Request parameters.
|
|
871
|
+
* @param {*} [options] Override http request option.
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
* @memberof IntegrationsApi
|
|
874
|
+
*/
|
|
875
|
+
getIntegrationProducts(requestParameters, options) {
|
|
876
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationProducts(requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* List all integrations
|
|
880
|
+
* @summary List integrations
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
* @memberof IntegrationsApi
|
|
884
|
+
*/
|
|
885
|
+
getIntegrations(options) {
|
|
886
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrations(options).then((request) => request(this.axios, this.basePath));
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* List all integration listings
|
|
890
|
+
* @summary List integration listings
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof IntegrationsApi
|
|
894
|
+
*/
|
|
895
|
+
listAdminIntegrationListings(options) {
|
|
896
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).listAdminIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* Update an integration listing
|
|
900
|
+
* @summary Update integration listing
|
|
901
|
+
* @param {IntegrationsApiUpdateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
* @memberof IntegrationsApi
|
|
905
|
+
*/
|
|
906
|
+
updateAdminIntegrationListing(requestParameters, options) {
|
|
907
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).updateAdminIntegrationListing(requestParameters.listing, requestParameters.updateAdminIntegrationListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
exports.IntegrationsApi = IntegrationsApi;
|