@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/api.ts
ADDED
|
@@ -0,0 +1,1649 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Integrations API
|
|
5
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.7
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from './configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
22
|
+
import type { RequestArgs } from './base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AdminIntegrationListing
|
|
30
|
+
*/
|
|
31
|
+
export interface AdminIntegrationListing {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof AdminIntegrationListing
|
|
36
|
+
*/
|
|
37
|
+
'id'?: number;
|
|
38
|
+
/**
|
|
39
|
+
* The slug of the integration listing that is used in the URL
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AdminIntegrationListing
|
|
42
|
+
*/
|
|
43
|
+
'slug': string;
|
|
44
|
+
/**
|
|
45
|
+
* The code of the integration
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AdminIntegrationListing
|
|
48
|
+
*/
|
|
49
|
+
'code': string;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the integration listing
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AdminIntegrationListing
|
|
54
|
+
*/
|
|
55
|
+
'name': string;
|
|
56
|
+
/**
|
|
57
|
+
* The description of the integration listing
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AdminIntegrationListing
|
|
60
|
+
*/
|
|
61
|
+
'description': string;
|
|
62
|
+
/**
|
|
63
|
+
* The html content of the integration listing
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AdminIntegrationListing
|
|
66
|
+
*/
|
|
67
|
+
'content': string;
|
|
68
|
+
/**
|
|
69
|
+
* The author of the integration listing
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AdminIntegrationListing
|
|
72
|
+
*/
|
|
73
|
+
'author': string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Icon}
|
|
77
|
+
* @memberof AdminIntegrationListing
|
|
78
|
+
*/
|
|
79
|
+
'icon': Icon;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {IntegrationListingGradient}
|
|
83
|
+
* @memberof AdminIntegrationListing
|
|
84
|
+
*/
|
|
85
|
+
'gradient': IntegrationListingGradient;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Integration}
|
|
89
|
+
* @memberof AdminIntegrationListing
|
|
90
|
+
*/
|
|
91
|
+
'integration': Integration;
|
|
92
|
+
/**
|
|
93
|
+
* The dependencies that this integration listing requires
|
|
94
|
+
* @type {Array<string>}
|
|
95
|
+
* @memberof AdminIntegrationListing
|
|
96
|
+
*/
|
|
97
|
+
'dependencies': Array<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The categories that this listing belongs to
|
|
100
|
+
* @type {Array<IntegrationCategory>}
|
|
101
|
+
* @memberof AdminIntegrationListing
|
|
102
|
+
*/
|
|
103
|
+
'categories': Array<IntegrationCategory>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @export
|
|
108
|
+
* @interface AdminIntegrationListingsResponse
|
|
109
|
+
*/
|
|
110
|
+
export interface AdminIntegrationListingsResponse {
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Array<AdminIntegrationListing>}
|
|
114
|
+
* @memberof AdminIntegrationListingsResponse
|
|
115
|
+
*/
|
|
116
|
+
'listings': Array<AdminIntegrationListing>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @export
|
|
121
|
+
* @interface ApiError
|
|
122
|
+
*/
|
|
123
|
+
export interface ApiError {
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof ApiError
|
|
128
|
+
*/
|
|
129
|
+
'code'?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof ApiError
|
|
134
|
+
*/
|
|
135
|
+
'message': string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @export
|
|
140
|
+
* @interface CreateAdminIntegrationListingRequest
|
|
141
|
+
*/
|
|
142
|
+
export interface CreateAdminIntegrationListingRequest {
|
|
143
|
+
/**
|
|
144
|
+
* The name of the integration listing
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
147
|
+
*/
|
|
148
|
+
'name': string;
|
|
149
|
+
/**
|
|
150
|
+
* The description of the integration listing
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
153
|
+
*/
|
|
154
|
+
'description': string;
|
|
155
|
+
/**
|
|
156
|
+
* The html content of the integration listing
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
159
|
+
*/
|
|
160
|
+
'content': string;
|
|
161
|
+
/**
|
|
162
|
+
* The author of the integration listing
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
165
|
+
*/
|
|
166
|
+
'author': string;
|
|
167
|
+
/**
|
|
168
|
+
* The code of the integration
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
171
|
+
*/
|
|
172
|
+
'integration': string;
|
|
173
|
+
/**
|
|
174
|
+
* The slug of the integration listing that is used in the URL
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
177
|
+
*/
|
|
178
|
+
'slug': string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {CreateAdminIntegrationListingRequestGradient}
|
|
182
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
183
|
+
*/
|
|
184
|
+
'gradient': CreateAdminIntegrationListingRequestGradient;
|
|
185
|
+
/**
|
|
186
|
+
* The icon of the integration listing
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
189
|
+
*/
|
|
190
|
+
'icon': string;
|
|
191
|
+
/**
|
|
192
|
+
* The categories that this listing belongs to
|
|
193
|
+
* @type {Array<string>}
|
|
194
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
195
|
+
*/
|
|
196
|
+
'categories': Array<string>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* The gradient that is used to display the listing
|
|
200
|
+
* @export
|
|
201
|
+
* @interface CreateAdminIntegrationListingRequestGradient
|
|
202
|
+
*/
|
|
203
|
+
export interface CreateAdminIntegrationListingRequestGradient {
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
208
|
+
*/
|
|
209
|
+
'from': string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
214
|
+
*/
|
|
215
|
+
'to': string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {number}
|
|
219
|
+
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
220
|
+
*/
|
|
221
|
+
'angle': number;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @export
|
|
226
|
+
* @interface Icon
|
|
227
|
+
*/
|
|
228
|
+
export interface Icon {
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof Icon
|
|
233
|
+
*/
|
|
234
|
+
'prefix': string;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof Icon
|
|
239
|
+
*/
|
|
240
|
+
'iconName': string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {Array<any>}
|
|
244
|
+
* @memberof Icon
|
|
245
|
+
*/
|
|
246
|
+
'icon': Array<any>;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @export
|
|
251
|
+
* @interface Integration
|
|
252
|
+
*/
|
|
253
|
+
export interface Integration {
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {number}
|
|
257
|
+
* @memberof Integration
|
|
258
|
+
*/
|
|
259
|
+
'id'?: number;
|
|
260
|
+
/**
|
|
261
|
+
* The code of the integration
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof Integration
|
|
264
|
+
*/
|
|
265
|
+
'code'?: string;
|
|
266
|
+
/**
|
|
267
|
+
* The configuration of the integration
|
|
268
|
+
* @type {{ [key: string]: string; }}
|
|
269
|
+
* @memberof Integration
|
|
270
|
+
*/
|
|
271
|
+
'config'?: { [key: string]: string; };
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @export
|
|
276
|
+
* @interface IntegrationCategoriesResponse
|
|
277
|
+
*/
|
|
278
|
+
export interface IntegrationCategoriesResponse {
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @type {Array<IntegrationCategory>}
|
|
282
|
+
* @memberof IntegrationCategoriesResponse
|
|
283
|
+
*/
|
|
284
|
+
'categories': Array<IntegrationCategory>;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @export
|
|
289
|
+
* @interface IntegrationCategory
|
|
290
|
+
*/
|
|
291
|
+
export interface IntegrationCategory {
|
|
292
|
+
/**
|
|
293
|
+
* The name of the category
|
|
294
|
+
* @type {string}
|
|
295
|
+
* @memberof IntegrationCategory
|
|
296
|
+
*/
|
|
297
|
+
'name': string;
|
|
298
|
+
/**
|
|
299
|
+
* The slug of the category that is used in the URL
|
|
300
|
+
* @type {string}
|
|
301
|
+
* @memberof IntegrationCategory
|
|
302
|
+
*/
|
|
303
|
+
'slug': string;
|
|
304
|
+
/**
|
|
305
|
+
* The type of category, used to determine how it is displayed
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof IntegrationCategory
|
|
308
|
+
*/
|
|
309
|
+
'type': IntegrationCategoryTypeEnum;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export const IntegrationCategoryTypeEnum = {
|
|
313
|
+
Featured: 'featured',
|
|
314
|
+
Grid: 'grid',
|
|
315
|
+
Column: 'column'
|
|
316
|
+
} as const;
|
|
317
|
+
|
|
318
|
+
export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[keyof typeof IntegrationCategoryTypeEnum];
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @export
|
|
323
|
+
* @interface IntegrationListing
|
|
324
|
+
*/
|
|
325
|
+
export interface IntegrationListing {
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {number}
|
|
329
|
+
* @memberof IntegrationListing
|
|
330
|
+
*/
|
|
331
|
+
'id'?: number;
|
|
332
|
+
/**
|
|
333
|
+
* The slug of the integration listing that is used in the URL
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof IntegrationListing
|
|
336
|
+
*/
|
|
337
|
+
'slug': string;
|
|
338
|
+
/**
|
|
339
|
+
* The code of the integration
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof IntegrationListing
|
|
342
|
+
*/
|
|
343
|
+
'code': string;
|
|
344
|
+
/**
|
|
345
|
+
* The name of the integration listing
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof IntegrationListing
|
|
348
|
+
*/
|
|
349
|
+
'name': string;
|
|
350
|
+
/**
|
|
351
|
+
* The description of the integration listing
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof IntegrationListing
|
|
354
|
+
*/
|
|
355
|
+
'description': string;
|
|
356
|
+
/**
|
|
357
|
+
* The html content of the integration listing
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof IntegrationListing
|
|
360
|
+
*/
|
|
361
|
+
'content': string;
|
|
362
|
+
/**
|
|
363
|
+
* The author of the integration listing
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof IntegrationListing
|
|
366
|
+
*/
|
|
367
|
+
'author': string;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {Icon}
|
|
371
|
+
* @memberof IntegrationListing
|
|
372
|
+
*/
|
|
373
|
+
'icon': Icon;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {IntegrationListingGradient}
|
|
377
|
+
* @memberof IntegrationListing
|
|
378
|
+
*/
|
|
379
|
+
'gradient': IntegrationListingGradient;
|
|
380
|
+
/**
|
|
381
|
+
* The dependencies that this integration listing requires
|
|
382
|
+
* @type {Array<string>}
|
|
383
|
+
* @memberof IntegrationListing
|
|
384
|
+
*/
|
|
385
|
+
'dependencies': Array<string>;
|
|
386
|
+
/**
|
|
387
|
+
* The categories that this listing belongs to
|
|
388
|
+
* @type {Array<IntegrationCategory>}
|
|
389
|
+
* @memberof IntegrationListing
|
|
390
|
+
*/
|
|
391
|
+
'categories': Array<IntegrationCategory>;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* The gradient that is used to display the listing
|
|
395
|
+
* @export
|
|
396
|
+
* @interface IntegrationListingGradient
|
|
397
|
+
*/
|
|
398
|
+
export interface IntegrationListingGradient {
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof IntegrationListingGradient
|
|
403
|
+
*/
|
|
404
|
+
'from'?: string;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {string}
|
|
408
|
+
* @memberof IntegrationListingGradient
|
|
409
|
+
*/
|
|
410
|
+
'to'?: string;
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @type {number}
|
|
414
|
+
* @memberof IntegrationListingGradient
|
|
415
|
+
*/
|
|
416
|
+
'angle'?: number;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @export
|
|
421
|
+
* @interface IntegrationListingsResponse
|
|
422
|
+
*/
|
|
423
|
+
export interface IntegrationListingsResponse {
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @type {Array<IntegrationListing>}
|
|
427
|
+
* @memberof IntegrationListingsResponse
|
|
428
|
+
*/
|
|
429
|
+
'listings': Array<IntegrationListing>;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @export
|
|
434
|
+
* @interface IntegrationProduct
|
|
435
|
+
*/
|
|
436
|
+
export interface IntegrationProduct {
|
|
437
|
+
/**
|
|
438
|
+
* The ID of the product
|
|
439
|
+
* @type {number}
|
|
440
|
+
* @memberof IntegrationProduct
|
|
441
|
+
*/
|
|
442
|
+
'id'?: number;
|
|
443
|
+
/**
|
|
444
|
+
* The SKU of the product
|
|
445
|
+
* @type {string}
|
|
446
|
+
* @memberof IntegrationProduct
|
|
447
|
+
*/
|
|
448
|
+
'sku': string;
|
|
449
|
+
/**
|
|
450
|
+
* The name of the product
|
|
451
|
+
* @type {string}
|
|
452
|
+
* @memberof IntegrationProduct
|
|
453
|
+
*/
|
|
454
|
+
'name': string;
|
|
455
|
+
/**
|
|
456
|
+
* The slug of the product that is used in the URL
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof IntegrationProduct
|
|
459
|
+
*/
|
|
460
|
+
'slug': string;
|
|
461
|
+
/**
|
|
462
|
+
* The user facing description of the product
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof IntegrationProduct
|
|
465
|
+
*/
|
|
466
|
+
'description': string;
|
|
467
|
+
/**
|
|
468
|
+
* The price of the product in GBP
|
|
469
|
+
* @type {number}
|
|
470
|
+
* @memberof IntegrationProduct
|
|
471
|
+
*/
|
|
472
|
+
'price': number;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @export
|
|
477
|
+
* @interface IntegrationProductsResponse
|
|
478
|
+
*/
|
|
479
|
+
export interface IntegrationProductsResponse {
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {Array<IntegrationProduct>}
|
|
483
|
+
* @memberof IntegrationProductsResponse
|
|
484
|
+
*/
|
|
485
|
+
'products': Array<IntegrationProduct>;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @export
|
|
490
|
+
* @interface IntegrationsResponse
|
|
491
|
+
*/
|
|
492
|
+
export interface IntegrationsResponse {
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {Array<Integration>}
|
|
496
|
+
* @memberof IntegrationsResponse
|
|
497
|
+
*/
|
|
498
|
+
'integrations': Array<Integration>;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @export
|
|
503
|
+
* @interface UpdateAdminIntegrationListingRequest
|
|
504
|
+
*/
|
|
505
|
+
export interface UpdateAdminIntegrationListingRequest {
|
|
506
|
+
/**
|
|
507
|
+
* The name of the integration listing
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
510
|
+
*/
|
|
511
|
+
'name'?: string;
|
|
512
|
+
/**
|
|
513
|
+
* The description of the integration listing
|
|
514
|
+
* @type {string}
|
|
515
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
516
|
+
*/
|
|
517
|
+
'description'?: string;
|
|
518
|
+
/**
|
|
519
|
+
* The html content of the integration listing
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
522
|
+
*/
|
|
523
|
+
'content'?: string;
|
|
524
|
+
/**
|
|
525
|
+
* The code of the integration
|
|
526
|
+
* @type {string}
|
|
527
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
528
|
+
*/
|
|
529
|
+
'integration'?: string;
|
|
530
|
+
/**
|
|
531
|
+
* The author of the integration listing
|
|
532
|
+
* @type {string}
|
|
533
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
534
|
+
*/
|
|
535
|
+
'author'?: string;
|
|
536
|
+
/**
|
|
537
|
+
* The slug of the integration listing that is used in the URL
|
|
538
|
+
* @type {string}
|
|
539
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
540
|
+
*/
|
|
541
|
+
'slug'?: string;
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {UpdateAdminIntegrationListingRequestGradient}
|
|
545
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
546
|
+
*/
|
|
547
|
+
'gradient'?: UpdateAdminIntegrationListingRequestGradient;
|
|
548
|
+
/**
|
|
549
|
+
* The icon of the integration listing
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
552
|
+
*/
|
|
553
|
+
'icon'?: string;
|
|
554
|
+
/**
|
|
555
|
+
* The categories that this listing belongs to
|
|
556
|
+
* @type {Array<string>}
|
|
557
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
558
|
+
*/
|
|
559
|
+
'categories'?: Array<string>;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* The gradient that is used to display the listing
|
|
563
|
+
* @export
|
|
564
|
+
* @interface UpdateAdminIntegrationListingRequestGradient
|
|
565
|
+
*/
|
|
566
|
+
export interface UpdateAdminIntegrationListingRequestGradient {
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof UpdateAdminIntegrationListingRequestGradient
|
|
571
|
+
*/
|
|
572
|
+
'from'?: string;
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof UpdateAdminIntegrationListingRequestGradient
|
|
577
|
+
*/
|
|
578
|
+
'to'?: string;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {number}
|
|
582
|
+
* @memberof UpdateAdminIntegrationListingRequestGradient
|
|
583
|
+
*/
|
|
584
|
+
'angle'?: number;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* IntegrationsApi - axios parameter creator
|
|
589
|
+
* @export
|
|
590
|
+
*/
|
|
591
|
+
export const IntegrationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
592
|
+
return {
|
|
593
|
+
/**
|
|
594
|
+
* Create a new integration listing
|
|
595
|
+
* @summary Create integration listing
|
|
596
|
+
* @param {CreateAdminIntegrationListingRequest} createAdminIntegrationListingRequest Create a new integration listing
|
|
597
|
+
* @param {*} [options] Override http request option.
|
|
598
|
+
* @throws {RequiredError}
|
|
599
|
+
*/
|
|
600
|
+
createAdminIntegrationListing: async (createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
601
|
+
// verify required parameter 'createAdminIntegrationListingRequest' is not null or undefined
|
|
602
|
+
assertParamExists('createAdminIntegrationListing', 'createAdminIntegrationListingRequest', createAdminIntegrationListingRequest)
|
|
603
|
+
const localVarPath = `/v1/integrations/admin/listings`;
|
|
604
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
605
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
606
|
+
let baseOptions;
|
|
607
|
+
if (configuration) {
|
|
608
|
+
baseOptions = configuration.baseOptions;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
612
|
+
const localVarHeaderParameter = {} as any;
|
|
613
|
+
const localVarQueryParameter = {} as any;
|
|
614
|
+
|
|
615
|
+
// authentication session-oauth required
|
|
616
|
+
// oauth required
|
|
617
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
618
|
+
|
|
619
|
+
// authentication api-key required
|
|
620
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
625
|
+
|
|
626
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
627
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
628
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
629
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAdminIntegrationListingRequest, localVarRequestOptions, configuration)
|
|
630
|
+
|
|
631
|
+
return {
|
|
632
|
+
url: toPathString(localVarUrlObj),
|
|
633
|
+
options: localVarRequestOptions,
|
|
634
|
+
};
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
* Delete an integration listing
|
|
638
|
+
* @summary Delete integration listing
|
|
639
|
+
* @param {string} listing Integration listing unique identifier
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
deleteAdminIntegrationListing: async (listing: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
644
|
+
// verify required parameter 'listing' is not null or undefined
|
|
645
|
+
assertParamExists('deleteAdminIntegrationListing', 'listing', listing)
|
|
646
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
647
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
650
|
+
let baseOptions;
|
|
651
|
+
if (configuration) {
|
|
652
|
+
baseOptions = configuration.baseOptions;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
656
|
+
const localVarHeaderParameter = {} as any;
|
|
657
|
+
const localVarQueryParameter = {} as any;
|
|
658
|
+
|
|
659
|
+
// authentication session-oauth required
|
|
660
|
+
// oauth required
|
|
661
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
662
|
+
|
|
663
|
+
// authentication api-key required
|
|
664
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
671
|
+
|
|
672
|
+
return {
|
|
673
|
+
url: toPathString(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions,
|
|
675
|
+
};
|
|
676
|
+
},
|
|
677
|
+
/**
|
|
678
|
+
* Retrieves a specific integration listing by its slug.
|
|
679
|
+
* @summary Retrieve integration listing
|
|
680
|
+
* @param {string} listing Integration listing unique identifier
|
|
681
|
+
* @param {*} [options] Override http request option.
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
*/
|
|
684
|
+
getAdminIntegrationListing: async (listing: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
685
|
+
// verify required parameter 'listing' is not null or undefined
|
|
686
|
+
assertParamExists('getAdminIntegrationListing', 'listing', listing)
|
|
687
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
688
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
690
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
691
|
+
let baseOptions;
|
|
692
|
+
if (configuration) {
|
|
693
|
+
baseOptions = configuration.baseOptions;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
697
|
+
const localVarHeaderParameter = {} as any;
|
|
698
|
+
const localVarQueryParameter = {} as any;
|
|
699
|
+
|
|
700
|
+
// authentication session-oauth required
|
|
701
|
+
// oauth required
|
|
702
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
703
|
+
|
|
704
|
+
// authentication api-key required
|
|
705
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
710
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
711
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
712
|
+
|
|
713
|
+
return {
|
|
714
|
+
url: toPathString(localVarUrlObj),
|
|
715
|
+
options: localVarRequestOptions,
|
|
716
|
+
};
|
|
717
|
+
},
|
|
718
|
+
/**
|
|
719
|
+
* List all integration categories
|
|
720
|
+
* @summary List integration categories
|
|
721
|
+
* @param {*} [options] Override http request option.
|
|
722
|
+
* @throws {RequiredError}
|
|
723
|
+
*/
|
|
724
|
+
getIntegrationCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
725
|
+
const localVarPath = `/v1/integrations/categories`;
|
|
726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
728
|
+
let baseOptions;
|
|
729
|
+
if (configuration) {
|
|
730
|
+
baseOptions = configuration.baseOptions;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
734
|
+
const localVarHeaderParameter = {} as any;
|
|
735
|
+
const localVarQueryParameter = {} as any;
|
|
736
|
+
|
|
737
|
+
// authentication session-oauth required
|
|
738
|
+
// oauth required
|
|
739
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
740
|
+
|
|
741
|
+
// authentication api-key required
|
|
742
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
748
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
749
|
+
|
|
750
|
+
return {
|
|
751
|
+
url: toPathString(localVarUrlObj),
|
|
752
|
+
options: localVarRequestOptions,
|
|
753
|
+
};
|
|
754
|
+
},
|
|
755
|
+
/**
|
|
756
|
+
* Get an integration category
|
|
757
|
+
* @summary Get integration category
|
|
758
|
+
* @param {string} category Categories unique identifier
|
|
759
|
+
* @param {*} [options] Override http request option.
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
getIntegrationCategory: async (category: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
763
|
+
// verify required parameter 'category' is not null or undefined
|
|
764
|
+
assertParamExists('getIntegrationCategory', 'category', category)
|
|
765
|
+
const localVarPath = `/v1/integrations/categories/{category}`
|
|
766
|
+
.replace(`{${"category"}}`, encodeURIComponent(String(category)));
|
|
767
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
769
|
+
let baseOptions;
|
|
770
|
+
if (configuration) {
|
|
771
|
+
baseOptions = configuration.baseOptions;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
775
|
+
const localVarHeaderParameter = {} as any;
|
|
776
|
+
const localVarQueryParameter = {} as any;
|
|
777
|
+
|
|
778
|
+
// authentication session-oauth required
|
|
779
|
+
// oauth required
|
|
780
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
781
|
+
|
|
782
|
+
// authentication api-key required
|
|
783
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
789
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
790
|
+
|
|
791
|
+
return {
|
|
792
|
+
url: toPathString(localVarUrlObj),
|
|
793
|
+
options: localVarRequestOptions,
|
|
794
|
+
};
|
|
795
|
+
},
|
|
796
|
+
/**
|
|
797
|
+
* Get an integration listing
|
|
798
|
+
* @summary Get integration listing
|
|
799
|
+
* @param {string} listing Integration listing unique identifier
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
getIntegrationListing: async (listing: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
804
|
+
// verify required parameter 'listing' is not null or undefined
|
|
805
|
+
assertParamExists('getIntegrationListing', 'listing', listing)
|
|
806
|
+
const localVarPath = `/v1/integrations/listings/{listing}`
|
|
807
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
810
|
+
let baseOptions;
|
|
811
|
+
if (configuration) {
|
|
812
|
+
baseOptions = configuration.baseOptions;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
816
|
+
const localVarHeaderParameter = {} as any;
|
|
817
|
+
const localVarQueryParameter = {} as any;
|
|
818
|
+
|
|
819
|
+
// authentication session-oauth required
|
|
820
|
+
// oauth required
|
|
821
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
822
|
+
|
|
823
|
+
// authentication api-key required
|
|
824
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
830
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
831
|
+
|
|
832
|
+
return {
|
|
833
|
+
url: toPathString(localVarUrlObj),
|
|
834
|
+
options: localVarRequestOptions,
|
|
835
|
+
};
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* List all integration listings
|
|
839
|
+
* @summary List integration listings
|
|
840
|
+
* @param {*} [options] Override http request option.
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
*/
|
|
843
|
+
getIntegrationListings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
844
|
+
const localVarPath = `/v1/integrations/listings`;
|
|
845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
846
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
|
+
let baseOptions;
|
|
848
|
+
if (configuration) {
|
|
849
|
+
baseOptions = configuration.baseOptions;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
853
|
+
const localVarHeaderParameter = {} as any;
|
|
854
|
+
const localVarQueryParameter = {} as any;
|
|
855
|
+
|
|
856
|
+
// authentication session-oauth required
|
|
857
|
+
// oauth required
|
|
858
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
859
|
+
|
|
860
|
+
// authentication api-key required
|
|
861
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
866
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
867
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
868
|
+
|
|
869
|
+
return {
|
|
870
|
+
url: toPathString(localVarUrlObj),
|
|
871
|
+
options: localVarRequestOptions,
|
|
872
|
+
};
|
|
873
|
+
},
|
|
874
|
+
/**
|
|
875
|
+
* Get a product available for an integration
|
|
876
|
+
* @summary Get integration product
|
|
877
|
+
* @param {number} integration Integrations unique identifier
|
|
878
|
+
* @param {string} product Products unique identifier
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
getIntegrationProduct: async (integration: number, product: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
883
|
+
// verify required parameter 'integration' is not null or undefined
|
|
884
|
+
assertParamExists('getIntegrationProduct', 'integration', integration)
|
|
885
|
+
// verify required parameter 'product' is not null or undefined
|
|
886
|
+
assertParamExists('getIntegrationProduct', 'product', product)
|
|
887
|
+
const localVarPath = `/v1/integrations/{integration}/products/{product}`
|
|
888
|
+
.replace(`{${"integration"}}`, encodeURIComponent(String(integration)))
|
|
889
|
+
.replace(`{${"product"}}`, encodeURIComponent(String(product)));
|
|
890
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
891
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
892
|
+
let baseOptions;
|
|
893
|
+
if (configuration) {
|
|
894
|
+
baseOptions = configuration.baseOptions;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
898
|
+
const localVarHeaderParameter = {} as any;
|
|
899
|
+
const localVarQueryParameter = {} as any;
|
|
900
|
+
|
|
901
|
+
// authentication session-oauth required
|
|
902
|
+
// oauth required
|
|
903
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
904
|
+
|
|
905
|
+
// authentication api-key required
|
|
906
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
911
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
912
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
913
|
+
|
|
914
|
+
return {
|
|
915
|
+
url: toPathString(localVarUrlObj),
|
|
916
|
+
options: localVarRequestOptions,
|
|
917
|
+
};
|
|
918
|
+
},
|
|
919
|
+
/**
|
|
920
|
+
* List all products available for an integration
|
|
921
|
+
* @summary List integration products
|
|
922
|
+
* @param {number} integration Integrations unique identifier
|
|
923
|
+
* @param {*} [options] Override http request option.
|
|
924
|
+
* @throws {RequiredError}
|
|
925
|
+
*/
|
|
926
|
+
getIntegrationProducts: async (integration: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
927
|
+
// verify required parameter 'integration' is not null or undefined
|
|
928
|
+
assertParamExists('getIntegrationProducts', 'integration', integration)
|
|
929
|
+
const localVarPath = `/v1/integrations/{integration}/products`
|
|
930
|
+
.replace(`{${"integration"}}`, encodeURIComponent(String(integration)));
|
|
931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
933
|
+
let baseOptions;
|
|
934
|
+
if (configuration) {
|
|
935
|
+
baseOptions = configuration.baseOptions;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
939
|
+
const localVarHeaderParameter = {} as any;
|
|
940
|
+
const localVarQueryParameter = {} as any;
|
|
941
|
+
|
|
942
|
+
// authentication session-oauth required
|
|
943
|
+
// oauth required
|
|
944
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
945
|
+
|
|
946
|
+
// authentication api-key required
|
|
947
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
952
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
953
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
954
|
+
|
|
955
|
+
return {
|
|
956
|
+
url: toPathString(localVarUrlObj),
|
|
957
|
+
options: localVarRequestOptions,
|
|
958
|
+
};
|
|
959
|
+
},
|
|
960
|
+
/**
|
|
961
|
+
* List all integrations
|
|
962
|
+
* @summary List integrations
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
*/
|
|
966
|
+
getIntegrations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
967
|
+
const localVarPath = `/v1/integrations`;
|
|
968
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
969
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
970
|
+
let baseOptions;
|
|
971
|
+
if (configuration) {
|
|
972
|
+
baseOptions = configuration.baseOptions;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
976
|
+
const localVarHeaderParameter = {} as any;
|
|
977
|
+
const localVarQueryParameter = {} as any;
|
|
978
|
+
|
|
979
|
+
// authentication session-oauth required
|
|
980
|
+
// oauth required
|
|
981
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
982
|
+
|
|
983
|
+
// authentication api-key required
|
|
984
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
989
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
990
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
991
|
+
|
|
992
|
+
return {
|
|
993
|
+
url: toPathString(localVarUrlObj),
|
|
994
|
+
options: localVarRequestOptions,
|
|
995
|
+
};
|
|
996
|
+
},
|
|
997
|
+
/**
|
|
998
|
+
* List all integration listings
|
|
999
|
+
* @summary List integration listings
|
|
1000
|
+
* @param {*} [options] Override http request option.
|
|
1001
|
+
* @throws {RequiredError}
|
|
1002
|
+
*/
|
|
1003
|
+
listAdminIntegrationListings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1004
|
+
const localVarPath = `/v1/integrations/admin/listings`;
|
|
1005
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1006
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1007
|
+
let baseOptions;
|
|
1008
|
+
if (configuration) {
|
|
1009
|
+
baseOptions = configuration.baseOptions;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1013
|
+
const localVarHeaderParameter = {} as any;
|
|
1014
|
+
const localVarQueryParameter = {} as any;
|
|
1015
|
+
|
|
1016
|
+
// authentication session-oauth required
|
|
1017
|
+
// oauth required
|
|
1018
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1019
|
+
|
|
1020
|
+
// authentication api-key required
|
|
1021
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1027
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1028
|
+
|
|
1029
|
+
return {
|
|
1030
|
+
url: toPathString(localVarUrlObj),
|
|
1031
|
+
options: localVarRequestOptions,
|
|
1032
|
+
};
|
|
1033
|
+
},
|
|
1034
|
+
/**
|
|
1035
|
+
* Update an integration listing
|
|
1036
|
+
* @summary Update integration listing
|
|
1037
|
+
* @param {string} listing Integration listing unique identifier
|
|
1038
|
+
* @param {UpdateAdminIntegrationListingRequest} updateAdminIntegrationListingRequest Update an integration listing
|
|
1039
|
+
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @throws {RequiredError}
|
|
1041
|
+
*/
|
|
1042
|
+
updateAdminIntegrationListing: async (listing: string, updateAdminIntegrationListingRequest: UpdateAdminIntegrationListingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1043
|
+
// verify required parameter 'listing' is not null or undefined
|
|
1044
|
+
assertParamExists('updateAdminIntegrationListing', 'listing', listing)
|
|
1045
|
+
// verify required parameter 'updateAdminIntegrationListingRequest' is not null or undefined
|
|
1046
|
+
assertParamExists('updateAdminIntegrationListing', 'updateAdminIntegrationListingRequest', updateAdminIntegrationListingRequest)
|
|
1047
|
+
const localVarPath = `/v1/integrations/admin/listings/{listing}`
|
|
1048
|
+
.replace(`{${"listing"}}`, encodeURIComponent(String(listing)));
|
|
1049
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1050
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1051
|
+
let baseOptions;
|
|
1052
|
+
if (configuration) {
|
|
1053
|
+
baseOptions = configuration.baseOptions;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1057
|
+
const localVarHeaderParameter = {} as any;
|
|
1058
|
+
const localVarQueryParameter = {} as any;
|
|
1059
|
+
|
|
1060
|
+
// authentication session-oauth required
|
|
1061
|
+
// oauth required
|
|
1062
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1063
|
+
|
|
1064
|
+
// authentication api-key required
|
|
1065
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1070
|
+
|
|
1071
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1073
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1074
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAdminIntegrationListingRequest, localVarRequestOptions, configuration)
|
|
1075
|
+
|
|
1076
|
+
return {
|
|
1077
|
+
url: toPathString(localVarUrlObj),
|
|
1078
|
+
options: localVarRequestOptions,
|
|
1079
|
+
};
|
|
1080
|
+
},
|
|
1081
|
+
}
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* IntegrationsApi - functional programming interface
|
|
1086
|
+
* @export
|
|
1087
|
+
*/
|
|
1088
|
+
export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
1089
|
+
const localVarAxiosParamCreator = IntegrationsApiAxiosParamCreator(configuration)
|
|
1090
|
+
return {
|
|
1091
|
+
/**
|
|
1092
|
+
* Create a new integration listing
|
|
1093
|
+
* @summary Create integration listing
|
|
1094
|
+
* @param {CreateAdminIntegrationListingRequest} createAdminIntegrationListingRequest Create a new integration listing
|
|
1095
|
+
* @param {*} [options] Override http request option.
|
|
1096
|
+
* @throws {RequiredError}
|
|
1097
|
+
*/
|
|
1098
|
+
async createAdminIntegrationListing(createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminIntegrationListing>> {
|
|
1099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAdminIntegrationListing(createAdminIntegrationListingRequest, options);
|
|
1100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1101
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.createAdminIntegrationListing']?.[localVarOperationServerIndex]?.url;
|
|
1102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1103
|
+
},
|
|
1104
|
+
/**
|
|
1105
|
+
* Delete an integration listing
|
|
1106
|
+
* @summary Delete integration listing
|
|
1107
|
+
* @param {string} listing Integration listing unique identifier
|
|
1108
|
+
* @param {*} [options] Override http request option.
|
|
1109
|
+
* @throws {RequiredError}
|
|
1110
|
+
*/
|
|
1111
|
+
async deleteAdminIntegrationListing(listing: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1112
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAdminIntegrationListing(listing, options);
|
|
1113
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1114
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.deleteAdminIntegrationListing']?.[localVarOperationServerIndex]?.url;
|
|
1115
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1116
|
+
},
|
|
1117
|
+
/**
|
|
1118
|
+
* Retrieves a specific integration listing by its slug.
|
|
1119
|
+
* @summary Retrieve integration listing
|
|
1120
|
+
* @param {string} listing Integration listing unique identifier
|
|
1121
|
+
* @param {*} [options] Override http request option.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
async getAdminIntegrationListing(listing: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminIntegrationListing>> {
|
|
1125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdminIntegrationListing(listing, options);
|
|
1126
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1127
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getAdminIntegrationListing']?.[localVarOperationServerIndex]?.url;
|
|
1128
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1129
|
+
},
|
|
1130
|
+
/**
|
|
1131
|
+
* List all integration categories
|
|
1132
|
+
* @summary List integration categories
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
*/
|
|
1136
|
+
async getIntegrationCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationCategoriesResponse>> {
|
|
1137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationCategories(options);
|
|
1138
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1139
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationCategories']?.[localVarOperationServerIndex]?.url;
|
|
1140
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1141
|
+
},
|
|
1142
|
+
/**
|
|
1143
|
+
* Get an integration category
|
|
1144
|
+
* @summary Get integration category
|
|
1145
|
+
* @param {string} category Categories unique identifier
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
*/
|
|
1149
|
+
async getIntegrationCategory(category: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationCategory(category, options);
|
|
1151
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1152
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationCategory']?.[localVarOperationServerIndex]?.url;
|
|
1153
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1154
|
+
},
|
|
1155
|
+
/**
|
|
1156
|
+
* Get an integration listing
|
|
1157
|
+
* @summary Get integration listing
|
|
1158
|
+
* @param {string} listing Integration listing unique identifier
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
async getIntegrationListing(listing: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListing>> {
|
|
1163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListing(listing, options);
|
|
1164
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1165
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationListing']?.[localVarOperationServerIndex]?.url;
|
|
1166
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1167
|
+
},
|
|
1168
|
+
/**
|
|
1169
|
+
* List all integration listings
|
|
1170
|
+
* @summary List integration listings
|
|
1171
|
+
* @param {*} [options] Override http request option.
|
|
1172
|
+
* @throws {RequiredError}
|
|
1173
|
+
*/
|
|
1174
|
+
async getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListings(options);
|
|
1176
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1177
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationListings']?.[localVarOperationServerIndex]?.url;
|
|
1178
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1179
|
+
},
|
|
1180
|
+
/**
|
|
1181
|
+
* Get a product available for an integration
|
|
1182
|
+
* @summary Get integration product
|
|
1183
|
+
* @param {number} integration Integrations unique identifier
|
|
1184
|
+
* @param {string} product Products unique identifier
|
|
1185
|
+
* @param {*} [options] Override http request option.
|
|
1186
|
+
* @throws {RequiredError}
|
|
1187
|
+
*/
|
|
1188
|
+
async getIntegrationProduct(integration: number, product: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProduct>> {
|
|
1189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationProduct(integration, product, options);
|
|
1190
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1191
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationProduct']?.[localVarOperationServerIndex]?.url;
|
|
1192
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1193
|
+
},
|
|
1194
|
+
/**
|
|
1195
|
+
* List all products available for an integration
|
|
1196
|
+
* @summary List integration products
|
|
1197
|
+
* @param {number} integration Integrations unique identifier
|
|
1198
|
+
* @param {*} [options] Override http request option.
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
*/
|
|
1201
|
+
async getIntegrationProducts(integration: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>> {
|
|
1202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationProducts(integration, options);
|
|
1203
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1204
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationProducts']?.[localVarOperationServerIndex]?.url;
|
|
1205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1206
|
+
},
|
|
1207
|
+
/**
|
|
1208
|
+
* List all integrations
|
|
1209
|
+
* @summary List integrations
|
|
1210
|
+
* @param {*} [options] Override http request option.
|
|
1211
|
+
* @throws {RequiredError}
|
|
1212
|
+
*/
|
|
1213
|
+
async getIntegrations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationsResponse>> {
|
|
1214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrations(options);
|
|
1215
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1216
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrations']?.[localVarOperationServerIndex]?.url;
|
|
1217
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1218
|
+
},
|
|
1219
|
+
/**
|
|
1220
|
+
* List all integration listings
|
|
1221
|
+
* @summary List integration listings
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
*/
|
|
1225
|
+
async listAdminIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminIntegrationListingsResponse>> {
|
|
1226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAdminIntegrationListings(options);
|
|
1227
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1228
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.listAdminIntegrationListings']?.[localVarOperationServerIndex]?.url;
|
|
1229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1230
|
+
},
|
|
1231
|
+
/**
|
|
1232
|
+
* Update an integration listing
|
|
1233
|
+
* @summary Update integration listing
|
|
1234
|
+
* @param {string} listing Integration listing unique identifier
|
|
1235
|
+
* @param {UpdateAdminIntegrationListingRequest} updateAdminIntegrationListingRequest Update an integration listing
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
async updateAdminIntegrationListing(listing: string, updateAdminIntegrationListingRequest: UpdateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminIntegrationListing>> {
|
|
1240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAdminIntegrationListing(listing, updateAdminIntegrationListingRequest, options);
|
|
1241
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1242
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.updateAdminIntegrationListing']?.[localVarOperationServerIndex]?.url;
|
|
1243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1244
|
+
},
|
|
1245
|
+
}
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* IntegrationsApi - factory interface
|
|
1250
|
+
* @export
|
|
1251
|
+
*/
|
|
1252
|
+
export const IntegrationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1253
|
+
const localVarFp = IntegrationsApiFp(configuration)
|
|
1254
|
+
return {
|
|
1255
|
+
/**
|
|
1256
|
+
* Create a new integration listing
|
|
1257
|
+
* @summary Create integration listing
|
|
1258
|
+
* @param {IntegrationsApiCreateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
1262
|
+
createAdminIntegrationListing(requestParameters: IntegrationsApiCreateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminIntegrationListing> {
|
|
1263
|
+
return localVarFp.createAdminIntegrationListing(requestParameters.createAdminIntegrationListingRequest, options).then((request) => request(axios, basePath));
|
|
1264
|
+
},
|
|
1265
|
+
/**
|
|
1266
|
+
* Delete an integration listing
|
|
1267
|
+
* @summary Delete integration listing
|
|
1268
|
+
* @param {IntegrationsApiDeleteAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
deleteAdminIntegrationListing(requestParameters: IntegrationsApiDeleteAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1273
|
+
return localVarFp.deleteAdminIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
1274
|
+
},
|
|
1275
|
+
/**
|
|
1276
|
+
* Retrieves a specific integration listing by its slug.
|
|
1277
|
+
* @summary Retrieve integration listing
|
|
1278
|
+
* @param {IntegrationsApiGetAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1279
|
+
* @param {*} [options] Override http request option.
|
|
1280
|
+
* @throws {RequiredError}
|
|
1281
|
+
*/
|
|
1282
|
+
getAdminIntegrationListing(requestParameters: IntegrationsApiGetAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminIntegrationListing> {
|
|
1283
|
+
return localVarFp.getAdminIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
1284
|
+
},
|
|
1285
|
+
/**
|
|
1286
|
+
* List all integration categories
|
|
1287
|
+
* @summary List integration categories
|
|
1288
|
+
* @param {*} [options] Override http request option.
|
|
1289
|
+
* @throws {RequiredError}
|
|
1290
|
+
*/
|
|
1291
|
+
getIntegrationCategories(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationCategoriesResponse> {
|
|
1292
|
+
return localVarFp.getIntegrationCategories(options).then((request) => request(axios, basePath));
|
|
1293
|
+
},
|
|
1294
|
+
/**
|
|
1295
|
+
* Get an integration category
|
|
1296
|
+
* @summary Get integration category
|
|
1297
|
+
* @param {IntegrationsApiGetIntegrationCategoryRequest} requestParameters Request parameters.
|
|
1298
|
+
* @param {*} [options] Override http request option.
|
|
1299
|
+
* @throws {RequiredError}
|
|
1300
|
+
*/
|
|
1301
|
+
getIntegrationCategory(requestParameters: IntegrationsApiGetIntegrationCategoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1302
|
+
return localVarFp.getIntegrationCategory(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
1303
|
+
},
|
|
1304
|
+
/**
|
|
1305
|
+
* Get an integration listing
|
|
1306
|
+
* @summary Get integration listing
|
|
1307
|
+
* @param {IntegrationsApiGetIntegrationListingRequest} requestParameters Request parameters.
|
|
1308
|
+
* @param {*} [options] Override http request option.
|
|
1309
|
+
* @throws {RequiredError}
|
|
1310
|
+
*/
|
|
1311
|
+
getIntegrationListing(requestParameters: IntegrationsApiGetIntegrationListingRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListing> {
|
|
1312
|
+
return localVarFp.getIntegrationListing(requestParameters.listing, options).then((request) => request(axios, basePath));
|
|
1313
|
+
},
|
|
1314
|
+
/**
|
|
1315
|
+
* List all integration listings
|
|
1316
|
+
* @summary List integration listings
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
*/
|
|
1320
|
+
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1321
|
+
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
1322
|
+
},
|
|
1323
|
+
/**
|
|
1324
|
+
* Get a product available for an integration
|
|
1325
|
+
* @summary Get integration product
|
|
1326
|
+
* @param {IntegrationsApiGetIntegrationProductRequest} requestParameters Request parameters.
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
getIntegrationProduct(requestParameters: IntegrationsApiGetIntegrationProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationProduct> {
|
|
1331
|
+
return localVarFp.getIntegrationProduct(requestParameters.integration, requestParameters.product, options).then((request) => request(axios, basePath));
|
|
1332
|
+
},
|
|
1333
|
+
/**
|
|
1334
|
+
* List all products available for an integration
|
|
1335
|
+
* @summary List integration products
|
|
1336
|
+
* @param {IntegrationsApiGetIntegrationProductsRequest} requestParameters Request parameters.
|
|
1337
|
+
* @param {*} [options] Override http request option.
|
|
1338
|
+
* @throws {RequiredError}
|
|
1339
|
+
*/
|
|
1340
|
+
getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationProductsResponse> {
|
|
1341
|
+
return localVarFp.getIntegrationProducts(requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
1342
|
+
},
|
|
1343
|
+
/**
|
|
1344
|
+
* List all integrations
|
|
1345
|
+
* @summary List integrations
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
getIntegrations(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse> {
|
|
1350
|
+
return localVarFp.getIntegrations(options).then((request) => request(axios, basePath));
|
|
1351
|
+
},
|
|
1352
|
+
/**
|
|
1353
|
+
* List all integration listings
|
|
1354
|
+
* @summary List integration listings
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
*/
|
|
1358
|
+
listAdminIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<AdminIntegrationListingsResponse> {
|
|
1359
|
+
return localVarFp.listAdminIntegrationListings(options).then((request) => request(axios, basePath));
|
|
1360
|
+
},
|
|
1361
|
+
/**
|
|
1362
|
+
* Update an integration listing
|
|
1363
|
+
* @summary Update integration listing
|
|
1364
|
+
* @param {IntegrationsApiUpdateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1365
|
+
* @param {*} [options] Override http request option.
|
|
1366
|
+
* @throws {RequiredError}
|
|
1367
|
+
*/
|
|
1368
|
+
updateAdminIntegrationListing(requestParameters: IntegrationsApiUpdateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminIntegrationListing> {
|
|
1369
|
+
return localVarFp.updateAdminIntegrationListing(requestParameters.listing, requestParameters.updateAdminIntegrationListingRequest, options).then((request) => request(axios, basePath));
|
|
1370
|
+
},
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Request parameters for createAdminIntegrationListing operation in IntegrationsApi.
|
|
1376
|
+
* @export
|
|
1377
|
+
* @interface IntegrationsApiCreateAdminIntegrationListingRequest
|
|
1378
|
+
*/
|
|
1379
|
+
export interface IntegrationsApiCreateAdminIntegrationListingRequest {
|
|
1380
|
+
/**
|
|
1381
|
+
* Create a new integration listing
|
|
1382
|
+
* @type {CreateAdminIntegrationListingRequest}
|
|
1383
|
+
* @memberof IntegrationsApiCreateAdminIntegrationListing
|
|
1384
|
+
*/
|
|
1385
|
+
readonly createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Request parameters for deleteAdminIntegrationListing operation in IntegrationsApi.
|
|
1390
|
+
* @export
|
|
1391
|
+
* @interface IntegrationsApiDeleteAdminIntegrationListingRequest
|
|
1392
|
+
*/
|
|
1393
|
+
export interface IntegrationsApiDeleteAdminIntegrationListingRequest {
|
|
1394
|
+
/**
|
|
1395
|
+
* Integration listing unique identifier
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof IntegrationsApiDeleteAdminIntegrationListing
|
|
1398
|
+
*/
|
|
1399
|
+
readonly listing: string
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* Request parameters for getAdminIntegrationListing operation in IntegrationsApi.
|
|
1404
|
+
* @export
|
|
1405
|
+
* @interface IntegrationsApiGetAdminIntegrationListingRequest
|
|
1406
|
+
*/
|
|
1407
|
+
export interface IntegrationsApiGetAdminIntegrationListingRequest {
|
|
1408
|
+
/**
|
|
1409
|
+
* Integration listing unique identifier
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof IntegrationsApiGetAdminIntegrationListing
|
|
1412
|
+
*/
|
|
1413
|
+
readonly listing: string
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* Request parameters for getIntegrationCategory operation in IntegrationsApi.
|
|
1418
|
+
* @export
|
|
1419
|
+
* @interface IntegrationsApiGetIntegrationCategoryRequest
|
|
1420
|
+
*/
|
|
1421
|
+
export interface IntegrationsApiGetIntegrationCategoryRequest {
|
|
1422
|
+
/**
|
|
1423
|
+
* Categories unique identifier
|
|
1424
|
+
* @type {string}
|
|
1425
|
+
* @memberof IntegrationsApiGetIntegrationCategory
|
|
1426
|
+
*/
|
|
1427
|
+
readonly category: string
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* Request parameters for getIntegrationListing operation in IntegrationsApi.
|
|
1432
|
+
* @export
|
|
1433
|
+
* @interface IntegrationsApiGetIntegrationListingRequest
|
|
1434
|
+
*/
|
|
1435
|
+
export interface IntegrationsApiGetIntegrationListingRequest {
|
|
1436
|
+
/**
|
|
1437
|
+
* Integration listing unique identifier
|
|
1438
|
+
* @type {string}
|
|
1439
|
+
* @memberof IntegrationsApiGetIntegrationListing
|
|
1440
|
+
*/
|
|
1441
|
+
readonly listing: string
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1446
|
+
* @export
|
|
1447
|
+
* @interface IntegrationsApiGetIntegrationProductRequest
|
|
1448
|
+
*/
|
|
1449
|
+
export interface IntegrationsApiGetIntegrationProductRequest {
|
|
1450
|
+
/**
|
|
1451
|
+
* Integrations unique identifier
|
|
1452
|
+
* @type {number}
|
|
1453
|
+
* @memberof IntegrationsApiGetIntegrationProduct
|
|
1454
|
+
*/
|
|
1455
|
+
readonly integration: number
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Products unique identifier
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof IntegrationsApiGetIntegrationProduct
|
|
1461
|
+
*/
|
|
1462
|
+
readonly product: string
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* Request parameters for getIntegrationProducts operation in IntegrationsApi.
|
|
1467
|
+
* @export
|
|
1468
|
+
* @interface IntegrationsApiGetIntegrationProductsRequest
|
|
1469
|
+
*/
|
|
1470
|
+
export interface IntegrationsApiGetIntegrationProductsRequest {
|
|
1471
|
+
/**
|
|
1472
|
+
* Integrations unique identifier
|
|
1473
|
+
* @type {number}
|
|
1474
|
+
* @memberof IntegrationsApiGetIntegrationProducts
|
|
1475
|
+
*/
|
|
1476
|
+
readonly integration: number
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Request parameters for updateAdminIntegrationListing operation in IntegrationsApi.
|
|
1481
|
+
* @export
|
|
1482
|
+
* @interface IntegrationsApiUpdateAdminIntegrationListingRequest
|
|
1483
|
+
*/
|
|
1484
|
+
export interface IntegrationsApiUpdateAdminIntegrationListingRequest {
|
|
1485
|
+
/**
|
|
1486
|
+
* Integration listing unique identifier
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof IntegrationsApiUpdateAdminIntegrationListing
|
|
1489
|
+
*/
|
|
1490
|
+
readonly listing: string
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* Update an integration listing
|
|
1494
|
+
* @type {UpdateAdminIntegrationListingRequest}
|
|
1495
|
+
* @memberof IntegrationsApiUpdateAdminIntegrationListing
|
|
1496
|
+
*/
|
|
1497
|
+
readonly updateAdminIntegrationListingRequest: UpdateAdminIntegrationListingRequest
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* IntegrationsApi - object-oriented interface
|
|
1502
|
+
* @export
|
|
1503
|
+
* @class IntegrationsApi
|
|
1504
|
+
* @extends {BaseAPI}
|
|
1505
|
+
*/
|
|
1506
|
+
export class IntegrationsApi extends BaseAPI {
|
|
1507
|
+
/**
|
|
1508
|
+
* Create a new integration listing
|
|
1509
|
+
* @summary Create integration listing
|
|
1510
|
+
* @param {IntegrationsApiCreateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1511
|
+
* @param {*} [options] Override http request option.
|
|
1512
|
+
* @throws {RequiredError}
|
|
1513
|
+
* @memberof IntegrationsApi
|
|
1514
|
+
*/
|
|
1515
|
+
public createAdminIntegrationListing(requestParameters: IntegrationsApiCreateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig) {
|
|
1516
|
+
return IntegrationsApiFp(this.configuration).createAdminIntegrationListing(requestParameters.createAdminIntegrationListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* Delete an integration listing
|
|
1521
|
+
* @summary Delete integration listing
|
|
1522
|
+
* @param {IntegrationsApiDeleteAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
* @memberof IntegrationsApi
|
|
1526
|
+
*/
|
|
1527
|
+
public deleteAdminIntegrationListing(requestParameters: IntegrationsApiDeleteAdminIntegrationListingRequest, options?: RawAxiosRequestConfig) {
|
|
1528
|
+
return IntegrationsApiFp(this.configuration).deleteAdminIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* Retrieves a specific integration listing by its slug.
|
|
1533
|
+
* @summary Retrieve integration listing
|
|
1534
|
+
* @param {IntegrationsApiGetAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1535
|
+
* @param {*} [options] Override http request option.
|
|
1536
|
+
* @throws {RequiredError}
|
|
1537
|
+
* @memberof IntegrationsApi
|
|
1538
|
+
*/
|
|
1539
|
+
public getAdminIntegrationListing(requestParameters: IntegrationsApiGetAdminIntegrationListingRequest, options?: RawAxiosRequestConfig) {
|
|
1540
|
+
return IntegrationsApiFp(this.configuration).getAdminIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* List all integration categories
|
|
1545
|
+
* @summary List integration categories
|
|
1546
|
+
* @param {*} [options] Override http request option.
|
|
1547
|
+
* @throws {RequiredError}
|
|
1548
|
+
* @memberof IntegrationsApi
|
|
1549
|
+
*/
|
|
1550
|
+
public getIntegrationCategories(options?: RawAxiosRequestConfig) {
|
|
1551
|
+
return IntegrationsApiFp(this.configuration).getIntegrationCategories(options).then((request) => request(this.axios, this.basePath));
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Get an integration category
|
|
1556
|
+
* @summary Get integration category
|
|
1557
|
+
* @param {IntegrationsApiGetIntegrationCategoryRequest} requestParameters Request parameters.
|
|
1558
|
+
* @param {*} [options] Override http request option.
|
|
1559
|
+
* @throws {RequiredError}
|
|
1560
|
+
* @memberof IntegrationsApi
|
|
1561
|
+
*/
|
|
1562
|
+
public getIntegrationCategory(requestParameters: IntegrationsApiGetIntegrationCategoryRequest, options?: RawAxiosRequestConfig) {
|
|
1563
|
+
return IntegrationsApiFp(this.configuration).getIntegrationCategory(requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Get an integration listing
|
|
1568
|
+
* @summary Get integration listing
|
|
1569
|
+
* @param {IntegrationsApiGetIntegrationListingRequest} requestParameters Request parameters.
|
|
1570
|
+
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @throws {RequiredError}
|
|
1572
|
+
* @memberof IntegrationsApi
|
|
1573
|
+
*/
|
|
1574
|
+
public getIntegrationListing(requestParameters: IntegrationsApiGetIntegrationListingRequest, options?: RawAxiosRequestConfig) {
|
|
1575
|
+
return IntegrationsApiFp(this.configuration).getIntegrationListing(requestParameters.listing, options).then((request) => request(this.axios, this.basePath));
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* List all integration listings
|
|
1580
|
+
* @summary List integration listings
|
|
1581
|
+
* @param {*} [options] Override http request option.
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
* @memberof IntegrationsApi
|
|
1584
|
+
*/
|
|
1585
|
+
public getIntegrationListings(options?: RawAxiosRequestConfig) {
|
|
1586
|
+
return IntegrationsApiFp(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Get a product available for an integration
|
|
1591
|
+
* @summary Get integration product
|
|
1592
|
+
* @param {IntegrationsApiGetIntegrationProductRequest} requestParameters Request parameters.
|
|
1593
|
+
* @param {*} [options] Override http request option.
|
|
1594
|
+
* @throws {RequiredError}
|
|
1595
|
+
* @memberof IntegrationsApi
|
|
1596
|
+
*/
|
|
1597
|
+
public getIntegrationProduct(requestParameters: IntegrationsApiGetIntegrationProductRequest, options?: RawAxiosRequestConfig) {
|
|
1598
|
+
return IntegrationsApiFp(this.configuration).getIntegrationProduct(requestParameters.integration, requestParameters.product, options).then((request) => request(this.axios, this.basePath));
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* List all products available for an integration
|
|
1603
|
+
* @summary List integration products
|
|
1604
|
+
* @param {IntegrationsApiGetIntegrationProductsRequest} requestParameters Request parameters.
|
|
1605
|
+
* @param {*} [options] Override http request option.
|
|
1606
|
+
* @throws {RequiredError}
|
|
1607
|
+
* @memberof IntegrationsApi
|
|
1608
|
+
*/
|
|
1609
|
+
public getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig) {
|
|
1610
|
+
return IntegrationsApiFp(this.configuration).getIntegrationProducts(requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* List all integrations
|
|
1615
|
+
* @summary List integrations
|
|
1616
|
+
* @param {*} [options] Override http request option.
|
|
1617
|
+
* @throws {RequiredError}
|
|
1618
|
+
* @memberof IntegrationsApi
|
|
1619
|
+
*/
|
|
1620
|
+
public getIntegrations(options?: RawAxiosRequestConfig) {
|
|
1621
|
+
return IntegrationsApiFp(this.configuration).getIntegrations(options).then((request) => request(this.axios, this.basePath));
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* List all integration listings
|
|
1626
|
+
* @summary List integration listings
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
* @memberof IntegrationsApi
|
|
1630
|
+
*/
|
|
1631
|
+
public listAdminIntegrationListings(options?: RawAxiosRequestConfig) {
|
|
1632
|
+
return IntegrationsApiFp(this.configuration).listAdminIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* Update an integration listing
|
|
1637
|
+
* @summary Update integration listing
|
|
1638
|
+
* @param {IntegrationsApiUpdateAdminIntegrationListingRequest} requestParameters Request parameters.
|
|
1639
|
+
* @param {*} [options] Override http request option.
|
|
1640
|
+
* @throws {RequiredError}
|
|
1641
|
+
* @memberof IntegrationsApi
|
|
1642
|
+
*/
|
|
1643
|
+
public updateAdminIntegrationListing(requestParameters: IntegrationsApiUpdateAdminIntegrationListingRequest, options?: RawAxiosRequestConfig) {
|
|
1644
|
+
return IntegrationsApiFp(this.configuration).updateAdminIntegrationListing(requestParameters.listing, requestParameters.updateAdminIntegrationListingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|