@teemill/integrations 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +82 -10
- package/base.ts +3 -3
- package/common.ts +3 -3
- package/configuration.ts +9 -4
- package/dist/api.d.ts +72 -7
- package/dist/api.js +19 -10
- package/dist/base.d.ts +3 -3
- package/dist/base.js +3 -3
- package/dist/common.d.ts +4 -4
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +5 -4
- package/dist/esm/api.d.ts +72 -7
- package/dist/esm/api.js +19 -10
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +4 -4
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +5 -4
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/integrations@0.
|
|
1
|
+
## @teemill/integrations@0.16.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/integrations@0.
|
|
39
|
+
npm install @teemill/integrations@0.16.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -107,6 +107,18 @@ export interface AdminIntegrationListing {
|
|
|
107
107
|
* @memberof AdminIntegrationListing
|
|
108
108
|
*/
|
|
109
109
|
'categories': Array<IntegrationCategory>;
|
|
110
|
+
/**
|
|
111
|
+
* The string identifier displayed in the UI menu
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof AdminIntegrationListing
|
|
114
|
+
*/
|
|
115
|
+
'menuTitle'?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The order of the listing in the UI menu
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof AdminIntegrationListing
|
|
120
|
+
*/
|
|
121
|
+
'menuSortOrder': number;
|
|
110
122
|
}
|
|
111
123
|
/**
|
|
112
124
|
*
|
|
@@ -206,6 +218,18 @@ export interface CreateAdminIntegrationListingRequest {
|
|
|
206
218
|
* @memberof CreateAdminIntegrationListingRequest
|
|
207
219
|
*/
|
|
208
220
|
'categories': Array<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The string identifier displayed in the UI menu
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
225
|
+
*/
|
|
226
|
+
'menuTitle'?: string;
|
|
227
|
+
/**
|
|
228
|
+
* The order of the listing in the UI menu
|
|
229
|
+
* @type {number}
|
|
230
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
231
|
+
*/
|
|
232
|
+
'menuSortOrder': number;
|
|
209
233
|
}
|
|
210
234
|
/**
|
|
211
235
|
* The gradient that is used to display the listing
|
|
@@ -413,6 +437,18 @@ export interface IntegrationListing {
|
|
|
413
437
|
* @memberof IntegrationListing
|
|
414
438
|
*/
|
|
415
439
|
'categories': Array<IntegrationCategory>;
|
|
440
|
+
/**
|
|
441
|
+
* The string identifier displayed in the UI menu
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof IntegrationListing
|
|
444
|
+
*/
|
|
445
|
+
'menuTitle'?: string;
|
|
446
|
+
/**
|
|
447
|
+
* The order of the listing in the UI menu
|
|
448
|
+
* @type {number}
|
|
449
|
+
* @memberof IntegrationListing
|
|
450
|
+
*/
|
|
451
|
+
'menuSortOrder': number;
|
|
416
452
|
}
|
|
417
453
|
/**
|
|
418
454
|
* The gradient that is used to display the listing
|
|
@@ -587,6 +623,18 @@ export interface UpdateAdminIntegrationListingRequest {
|
|
|
587
623
|
* @memberof UpdateAdminIntegrationListingRequest
|
|
588
624
|
*/
|
|
589
625
|
'categories'?: Array<string>;
|
|
626
|
+
/**
|
|
627
|
+
* The string identifier displayed in the UI menu
|
|
628
|
+
* @type {string}
|
|
629
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
630
|
+
*/
|
|
631
|
+
'menuTitle'?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The order of the listing in the UI menu
|
|
634
|
+
* @type {number}
|
|
635
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
636
|
+
*/
|
|
637
|
+
'menuSortOrder'?: number;
|
|
590
638
|
}
|
|
591
639
|
/**
|
|
592
640
|
* The gradient that is used to display the listing
|
|
@@ -867,10 +915,13 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
867
915
|
/**
|
|
868
916
|
* List all integration listings
|
|
869
917
|
* @summary List integration listings
|
|
918
|
+
* @param {string} project
|
|
870
919
|
* @param {*} [options] Override http request option.
|
|
871
920
|
* @throws {RequiredError}
|
|
872
921
|
*/
|
|
873
|
-
getIntegrationListings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
922
|
+
getIntegrationListings: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
923
|
+
// verify required parameter 'project' is not null or undefined
|
|
924
|
+
assertParamExists('getIntegrationListings', 'project', project)
|
|
874
925
|
const localVarPath = `/v1/integrations/listings`;
|
|
875
926
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
876
927
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -890,6 +941,10 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
890
941
|
// authentication api-key required
|
|
891
942
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
892
943
|
|
|
944
|
+
if (project !== undefined) {
|
|
945
|
+
localVarQueryParameter['project'] = project;
|
|
946
|
+
}
|
|
947
|
+
|
|
893
948
|
|
|
894
949
|
|
|
895
950
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1198,11 +1253,12 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
|
1198
1253
|
/**
|
|
1199
1254
|
* List all integration listings
|
|
1200
1255
|
* @summary List integration listings
|
|
1256
|
+
* @param {string} project
|
|
1201
1257
|
* @param {*} [options] Override http request option.
|
|
1202
1258
|
* @throws {RequiredError}
|
|
1203
1259
|
*/
|
|
1204
|
-
async getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1205
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListings(options);
|
|
1260
|
+
async getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListings(project, options);
|
|
1206
1262
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1207
1263
|
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationListings']?.[localVarOperationServerIndex]?.url;
|
|
1208
1264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1344,11 +1400,12 @@ export const IntegrationsApiFactory = function (configuration?: Configuration, b
|
|
|
1344
1400
|
/**
|
|
1345
1401
|
* List all integration listings
|
|
1346
1402
|
* @summary List integration listings
|
|
1403
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1347
1404
|
* @param {*} [options] Override http request option.
|
|
1348
1405
|
* @throws {RequiredError}
|
|
1349
1406
|
*/
|
|
1350
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1351
|
-
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
1407
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1408
|
+
return localVarFp.getIntegrationListings(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1352
1409
|
},
|
|
1353
1410
|
/**
|
|
1354
1411
|
* Get a product available for an integration
|
|
@@ -1471,6 +1528,20 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1471
1528
|
readonly listing: string
|
|
1472
1529
|
}
|
|
1473
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* Request parameters for getIntegrationListings operation in IntegrationsApi.
|
|
1533
|
+
* @export
|
|
1534
|
+
* @interface IntegrationsApiGetIntegrationListingsRequest
|
|
1535
|
+
*/
|
|
1536
|
+
export interface IntegrationsApiGetIntegrationListingsRequest {
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @type {string}
|
|
1540
|
+
* @memberof IntegrationsApiGetIntegrationListings
|
|
1541
|
+
*/
|
|
1542
|
+
readonly project: string
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1474
1545
|
/**
|
|
1475
1546
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1476
1547
|
* @export
|
|
@@ -1608,12 +1679,13 @@ export class IntegrationsApi extends BaseAPI {
|
|
|
1608
1679
|
/**
|
|
1609
1680
|
* List all integration listings
|
|
1610
1681
|
* @summary List integration listings
|
|
1682
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1611
1683
|
* @param {*} [options] Override http request option.
|
|
1612
1684
|
* @throws {RequiredError}
|
|
1613
1685
|
* @memberof IntegrationsApi
|
|
1614
1686
|
*/
|
|
1615
|
-
public getIntegrationListings(options?: RawAxiosRequestConfig) {
|
|
1616
|
-
return IntegrationsApiFp(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
1687
|
+
public getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig) {
|
|
1688
|
+
return IntegrationsApiFp(this.configuration).getIntegrationListings(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1617
1689
|
}
|
|
1618
1690
|
|
|
1619
1691
|
/**
|
package/base.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/common.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -89,7 +89,12 @@ export class Configuration {
|
|
|
89
89
|
this.accessToken = param.accessToken;
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
|
-
this.baseOptions =
|
|
92
|
+
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
94
|
+
headers: {
|
|
95
|
+
...param.baseOptions?.headers,
|
|
96
|
+
},
|
|
97
|
+
};
|
|
93
98
|
this.formDataCtor = param.formDataCtor;
|
|
94
99
|
}
|
|
95
100
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -97,6 +97,18 @@ export interface AdminIntegrationListing {
|
|
|
97
97
|
* @memberof AdminIntegrationListing
|
|
98
98
|
*/
|
|
99
99
|
'categories': Array<IntegrationCategory>;
|
|
100
|
+
/**
|
|
101
|
+
* The string identifier displayed in the UI menu
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof AdminIntegrationListing
|
|
104
|
+
*/
|
|
105
|
+
'menuTitle'?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The order of the listing in the UI menu
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof AdminIntegrationListing
|
|
110
|
+
*/
|
|
111
|
+
'menuSortOrder': number;
|
|
100
112
|
}
|
|
101
113
|
/**
|
|
102
114
|
*
|
|
@@ -196,6 +208,18 @@ export interface CreateAdminIntegrationListingRequest {
|
|
|
196
208
|
* @memberof CreateAdminIntegrationListingRequest
|
|
197
209
|
*/
|
|
198
210
|
'categories': Array<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The string identifier displayed in the UI menu
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
215
|
+
*/
|
|
216
|
+
'menuTitle'?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The order of the listing in the UI menu
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
221
|
+
*/
|
|
222
|
+
'menuSortOrder': number;
|
|
199
223
|
}
|
|
200
224
|
/**
|
|
201
225
|
* The gradient that is used to display the listing
|
|
@@ -402,6 +426,18 @@ export interface IntegrationListing {
|
|
|
402
426
|
* @memberof IntegrationListing
|
|
403
427
|
*/
|
|
404
428
|
'categories': Array<IntegrationCategory>;
|
|
429
|
+
/**
|
|
430
|
+
* The string identifier displayed in the UI menu
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof IntegrationListing
|
|
433
|
+
*/
|
|
434
|
+
'menuTitle'?: string;
|
|
435
|
+
/**
|
|
436
|
+
* The order of the listing in the UI menu
|
|
437
|
+
* @type {number}
|
|
438
|
+
* @memberof IntegrationListing
|
|
439
|
+
*/
|
|
440
|
+
'menuSortOrder': number;
|
|
405
441
|
}
|
|
406
442
|
/**
|
|
407
443
|
* The gradient that is used to display the listing
|
|
@@ -576,6 +612,18 @@ export interface UpdateAdminIntegrationListingRequest {
|
|
|
576
612
|
* @memberof UpdateAdminIntegrationListingRequest
|
|
577
613
|
*/
|
|
578
614
|
'categories'?: Array<string>;
|
|
615
|
+
/**
|
|
616
|
+
* The string identifier displayed in the UI menu
|
|
617
|
+
* @type {string}
|
|
618
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
619
|
+
*/
|
|
620
|
+
'menuTitle'?: string;
|
|
621
|
+
/**
|
|
622
|
+
* The order of the listing in the UI menu
|
|
623
|
+
* @type {number}
|
|
624
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
625
|
+
*/
|
|
626
|
+
'menuSortOrder'?: number;
|
|
579
627
|
}
|
|
580
628
|
/**
|
|
581
629
|
* The gradient that is used to display the listing
|
|
@@ -657,10 +705,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
657
705
|
/**
|
|
658
706
|
* List all integration listings
|
|
659
707
|
* @summary List integration listings
|
|
708
|
+
* @param {string} project
|
|
660
709
|
* @param {*} [options] Override http request option.
|
|
661
710
|
* @throws {RequiredError}
|
|
662
711
|
*/
|
|
663
|
-
getIntegrationListings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
|
+
getIntegrationListings: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
664
713
|
/**
|
|
665
714
|
* Get a product available for an integration
|
|
666
715
|
* @summary Get integration product
|
|
@@ -757,10 +806,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
757
806
|
/**
|
|
758
807
|
* List all integration listings
|
|
759
808
|
* @summary List integration listings
|
|
809
|
+
* @param {string} project
|
|
760
810
|
* @param {*} [options] Override http request option.
|
|
761
811
|
* @throws {RequiredError}
|
|
762
812
|
*/
|
|
763
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
813
|
+
getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
764
814
|
/**
|
|
765
815
|
* Get a product available for an integration
|
|
766
816
|
* @summary Get integration product
|
|
@@ -857,10 +907,11 @@ export declare const IntegrationsApiFactory: (configuration?: Configuration, bas
|
|
|
857
907
|
/**
|
|
858
908
|
* List all integration listings
|
|
859
909
|
* @summary List integration listings
|
|
910
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
860
911
|
* @param {*} [options] Override http request option.
|
|
861
912
|
* @throws {RequiredError}
|
|
862
913
|
*/
|
|
863
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
914
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
864
915
|
/**
|
|
865
916
|
* Get a product available for an integration
|
|
866
917
|
* @summary Get integration product
|
|
@@ -965,6 +1016,19 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
965
1016
|
*/
|
|
966
1017
|
readonly listing: string;
|
|
967
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Request parameters for getIntegrationListings operation in IntegrationsApi.
|
|
1021
|
+
* @export
|
|
1022
|
+
* @interface IntegrationsApiGetIntegrationListingsRequest
|
|
1023
|
+
*/
|
|
1024
|
+
export interface IntegrationsApiGetIntegrationListingsRequest {
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @type {string}
|
|
1028
|
+
* @memberof IntegrationsApiGetIntegrationListings
|
|
1029
|
+
*/
|
|
1030
|
+
readonly project: string;
|
|
1031
|
+
}
|
|
968
1032
|
/**
|
|
969
1033
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
970
1034
|
* @export
|
|
@@ -1079,11 +1143,12 @@ export declare class IntegrationsApi extends BaseAPI {
|
|
|
1079
1143
|
/**
|
|
1080
1144
|
* List all integration listings
|
|
1081
1145
|
* @summary List integration listings
|
|
1146
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1082
1147
|
* @param {*} [options] Override http request option.
|
|
1083
1148
|
* @throws {RequiredError}
|
|
1084
1149
|
* @memberof IntegrationsApi
|
|
1085
1150
|
*/
|
|
1086
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1151
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1087
1152
|
/**
|
|
1088
1153
|
* Get a product available for an integration
|
|
1089
1154
|
* @summary Get integration product
|
package/dist/api.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Integrations API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Integrations
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.14.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -244,10 +244,13 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
/**
|
|
245
245
|
* List all integration listings
|
|
246
246
|
* @summary List integration listings
|
|
247
|
+
* @param {string} project
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
*/
|
|
250
|
-
getIntegrationListings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
251
|
+
getIntegrationListings: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
252
|
+
// verify required parameter 'project' is not null or undefined
|
|
253
|
+
(0, common_1.assertParamExists)('getIntegrationListings', 'project', project);
|
|
251
254
|
const localVarPath = `/v1/integrations/listings`;
|
|
252
255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
256
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -263,6 +266,9 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
263
266
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
264
267
|
// authentication api-key required
|
|
265
268
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
269
|
+
if (project !== undefined) {
|
|
270
|
+
localVarQueryParameter['project'] = project;
|
|
271
|
+
}
|
|
266
272
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
267
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
274
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -550,13 +556,14 @@ const IntegrationsApiFp = function (configuration) {
|
|
|
550
556
|
/**
|
|
551
557
|
* List all integration listings
|
|
552
558
|
* @summary List integration listings
|
|
559
|
+
* @param {string} project
|
|
553
560
|
* @param {*} [options] Override http request option.
|
|
554
561
|
* @throws {RequiredError}
|
|
555
562
|
*/
|
|
556
|
-
getIntegrationListings(options) {
|
|
563
|
+
getIntegrationListings(project, options) {
|
|
557
564
|
return __awaiter(this, void 0, void 0, function* () {
|
|
558
565
|
var _a, _b, _c;
|
|
559
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(options);
|
|
566
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(project, options);
|
|
560
567
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
568
|
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
569
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -714,11 +721,12 @@ const IntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
714
721
|
/**
|
|
715
722
|
* List all integration listings
|
|
716
723
|
* @summary List integration listings
|
|
724
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
717
725
|
* @param {*} [options] Override http request option.
|
|
718
726
|
* @throws {RequiredError}
|
|
719
727
|
*/
|
|
720
|
-
getIntegrationListings(options) {
|
|
721
|
-
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
728
|
+
getIntegrationListings(requestParameters, options) {
|
|
729
|
+
return localVarFp.getIntegrationListings(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
722
730
|
},
|
|
723
731
|
/**
|
|
724
732
|
* Get a product available for an integration
|
|
@@ -846,12 +854,13 @@ class IntegrationsApi extends base_1.BaseAPI {
|
|
|
846
854
|
/**
|
|
847
855
|
* List all integration listings
|
|
848
856
|
* @summary List integration listings
|
|
857
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
849
858
|
* @param {*} [options] Override http request option.
|
|
850
859
|
* @throws {RequiredError}
|
|
851
860
|
* @memberof IntegrationsApi
|
|
852
861
|
*/
|
|
853
|
-
getIntegrationListings(options) {
|
|
854
|
-
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
862
|
+
getIntegrationListings(requestParameters, options) {
|
|
863
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListings(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
855
864
|
}
|
|
856
865
|
/**
|
|
857
866
|
* Get a product available for an integration
|
package/dist/base.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/base.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Integrations API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Integrations
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.14.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/dist/common.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Integrations API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Integrations
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.14.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/configuration.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Integrations API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Integrations
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.14.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -16,13 +16,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.Configuration = void 0;
|
|
17
17
|
class Configuration {
|
|
18
18
|
constructor(param = {}) {
|
|
19
|
+
var _a;
|
|
19
20
|
this.apiKey = param.apiKey;
|
|
20
21
|
this.username = param.username;
|
|
21
22
|
this.password = param.password;
|
|
22
23
|
this.accessToken = param.accessToken;
|
|
23
24
|
this.basePath = param.basePath;
|
|
24
25
|
this.serverIndex = param.serverIndex;
|
|
25
|
-
this.baseOptions = param.baseOptions;
|
|
26
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
26
27
|
this.formDataCtor = param.formDataCtor;
|
|
27
28
|
}
|
|
28
29
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -97,6 +97,18 @@ export interface AdminIntegrationListing {
|
|
|
97
97
|
* @memberof AdminIntegrationListing
|
|
98
98
|
*/
|
|
99
99
|
'categories': Array<IntegrationCategory>;
|
|
100
|
+
/**
|
|
101
|
+
* The string identifier displayed in the UI menu
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof AdminIntegrationListing
|
|
104
|
+
*/
|
|
105
|
+
'menuTitle'?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The order of the listing in the UI menu
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof AdminIntegrationListing
|
|
110
|
+
*/
|
|
111
|
+
'menuSortOrder': number;
|
|
100
112
|
}
|
|
101
113
|
/**
|
|
102
114
|
*
|
|
@@ -196,6 +208,18 @@ export interface CreateAdminIntegrationListingRequest {
|
|
|
196
208
|
* @memberof CreateAdminIntegrationListingRequest
|
|
197
209
|
*/
|
|
198
210
|
'categories': Array<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The string identifier displayed in the UI menu
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
215
|
+
*/
|
|
216
|
+
'menuTitle'?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The order of the listing in the UI menu
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
221
|
+
*/
|
|
222
|
+
'menuSortOrder': number;
|
|
199
223
|
}
|
|
200
224
|
/**
|
|
201
225
|
* The gradient that is used to display the listing
|
|
@@ -402,6 +426,18 @@ export interface IntegrationListing {
|
|
|
402
426
|
* @memberof IntegrationListing
|
|
403
427
|
*/
|
|
404
428
|
'categories': Array<IntegrationCategory>;
|
|
429
|
+
/**
|
|
430
|
+
* The string identifier displayed in the UI menu
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof IntegrationListing
|
|
433
|
+
*/
|
|
434
|
+
'menuTitle'?: string;
|
|
435
|
+
/**
|
|
436
|
+
* The order of the listing in the UI menu
|
|
437
|
+
* @type {number}
|
|
438
|
+
* @memberof IntegrationListing
|
|
439
|
+
*/
|
|
440
|
+
'menuSortOrder': number;
|
|
405
441
|
}
|
|
406
442
|
/**
|
|
407
443
|
* The gradient that is used to display the listing
|
|
@@ -576,6 +612,18 @@ export interface UpdateAdminIntegrationListingRequest {
|
|
|
576
612
|
* @memberof UpdateAdminIntegrationListingRequest
|
|
577
613
|
*/
|
|
578
614
|
'categories'?: Array<string>;
|
|
615
|
+
/**
|
|
616
|
+
* The string identifier displayed in the UI menu
|
|
617
|
+
* @type {string}
|
|
618
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
619
|
+
*/
|
|
620
|
+
'menuTitle'?: string;
|
|
621
|
+
/**
|
|
622
|
+
* The order of the listing in the UI menu
|
|
623
|
+
* @type {number}
|
|
624
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
625
|
+
*/
|
|
626
|
+
'menuSortOrder'?: number;
|
|
579
627
|
}
|
|
580
628
|
/**
|
|
581
629
|
* The gradient that is used to display the listing
|
|
@@ -657,10 +705,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
657
705
|
/**
|
|
658
706
|
* List all integration listings
|
|
659
707
|
* @summary List integration listings
|
|
708
|
+
* @param {string} project
|
|
660
709
|
* @param {*} [options] Override http request option.
|
|
661
710
|
* @throws {RequiredError}
|
|
662
711
|
*/
|
|
663
|
-
getIntegrationListings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
|
+
getIntegrationListings: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
664
713
|
/**
|
|
665
714
|
* Get a product available for an integration
|
|
666
715
|
* @summary Get integration product
|
|
@@ -757,10 +806,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
757
806
|
/**
|
|
758
807
|
* List all integration listings
|
|
759
808
|
* @summary List integration listings
|
|
809
|
+
* @param {string} project
|
|
760
810
|
* @param {*} [options] Override http request option.
|
|
761
811
|
* @throws {RequiredError}
|
|
762
812
|
*/
|
|
763
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
813
|
+
getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
764
814
|
/**
|
|
765
815
|
* Get a product available for an integration
|
|
766
816
|
* @summary Get integration product
|
|
@@ -857,10 +907,11 @@ export declare const IntegrationsApiFactory: (configuration?: Configuration, bas
|
|
|
857
907
|
/**
|
|
858
908
|
* List all integration listings
|
|
859
909
|
* @summary List integration listings
|
|
910
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
860
911
|
* @param {*} [options] Override http request option.
|
|
861
912
|
* @throws {RequiredError}
|
|
862
913
|
*/
|
|
863
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
914
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
864
915
|
/**
|
|
865
916
|
* Get a product available for an integration
|
|
866
917
|
* @summary Get integration product
|
|
@@ -965,6 +1016,19 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
965
1016
|
*/
|
|
966
1017
|
readonly listing: string;
|
|
967
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Request parameters for getIntegrationListings operation in IntegrationsApi.
|
|
1021
|
+
* @export
|
|
1022
|
+
* @interface IntegrationsApiGetIntegrationListingsRequest
|
|
1023
|
+
*/
|
|
1024
|
+
export interface IntegrationsApiGetIntegrationListingsRequest {
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @type {string}
|
|
1028
|
+
* @memberof IntegrationsApiGetIntegrationListings
|
|
1029
|
+
*/
|
|
1030
|
+
readonly project: string;
|
|
1031
|
+
}
|
|
968
1032
|
/**
|
|
969
1033
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
970
1034
|
* @export
|
|
@@ -1079,11 +1143,12 @@ export declare class IntegrationsApi extends BaseAPI {
|
|
|
1079
1143
|
/**
|
|
1080
1144
|
* List all integration listings
|
|
1081
1145
|
* @summary List integration listings
|
|
1146
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1082
1147
|
* @param {*} [options] Override http request option.
|
|
1083
1148
|
* @throws {RequiredError}
|
|
1084
1149
|
* @memberof IntegrationsApi
|
|
1085
1150
|
*/
|
|
1086
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1151
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1087
1152
|
/**
|
|
1088
1153
|
* Get a product available for an integration
|
|
1089
1154
|
* @summary Get integration product
|
package/dist/esm/api.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.14.0
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -241,10 +241,13 @@ export const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
/**
|
|
242
242
|
* List all integration listings
|
|
243
243
|
* @summary List integration listings
|
|
244
|
+
* @param {string} project
|
|
244
245
|
* @param {*} [options] Override http request option.
|
|
245
246
|
* @throws {RequiredError}
|
|
246
247
|
*/
|
|
247
|
-
getIntegrationListings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
248
|
+
getIntegrationListings: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
249
|
+
// verify required parameter 'project' is not null or undefined
|
|
250
|
+
assertParamExists('getIntegrationListings', 'project', project);
|
|
248
251
|
const localVarPath = `/v1/integrations/listings`;
|
|
249
252
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
250
253
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -260,6 +263,9 @@ export const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
260
263
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
261
264
|
// authentication api-key required
|
|
262
265
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
266
|
+
if (project !== undefined) {
|
|
267
|
+
localVarQueryParameter['project'] = project;
|
|
268
|
+
}
|
|
263
269
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
271
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -546,13 +552,14 @@ export const IntegrationsApiFp = function (configuration) {
|
|
|
546
552
|
/**
|
|
547
553
|
* List all integration listings
|
|
548
554
|
* @summary List integration listings
|
|
555
|
+
* @param {string} project
|
|
549
556
|
* @param {*} [options] Override http request option.
|
|
550
557
|
* @throws {RequiredError}
|
|
551
558
|
*/
|
|
552
|
-
getIntegrationListings(options) {
|
|
559
|
+
getIntegrationListings(project, options) {
|
|
553
560
|
return __awaiter(this, void 0, void 0, function* () {
|
|
554
561
|
var _a, _b, _c;
|
|
555
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(options);
|
|
562
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(project, options);
|
|
556
563
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
557
564
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IntegrationsApi.getIntegrationListings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
558
565
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -709,11 +716,12 @@ export const IntegrationsApiFactory = function (configuration, basePath, axios)
|
|
|
709
716
|
/**
|
|
710
717
|
* List all integration listings
|
|
711
718
|
* @summary List integration listings
|
|
719
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
712
720
|
* @param {*} [options] Override http request option.
|
|
713
721
|
* @throws {RequiredError}
|
|
714
722
|
*/
|
|
715
|
-
getIntegrationListings(options) {
|
|
716
|
-
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
723
|
+
getIntegrationListings(requestParameters, options) {
|
|
724
|
+
return localVarFp.getIntegrationListings(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
717
725
|
},
|
|
718
726
|
/**
|
|
719
727
|
* Get a product available for an integration
|
|
@@ -840,12 +848,13 @@ export class IntegrationsApi extends BaseAPI {
|
|
|
840
848
|
/**
|
|
841
849
|
* List all integration listings
|
|
842
850
|
* @summary List integration listings
|
|
851
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
843
852
|
* @param {*} [options] Override http request option.
|
|
844
853
|
* @throws {RequiredError}
|
|
845
854
|
* @memberof IntegrationsApi
|
|
846
855
|
*/
|
|
847
|
-
getIntegrationListings(options) {
|
|
848
|
-
return IntegrationsApiFp(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
856
|
+
getIntegrationListings(requestParameters, options) {
|
|
857
|
+
return IntegrationsApiFp(this.configuration).getIntegrationListings(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
849
858
|
}
|
|
850
859
|
/**
|
|
851
860
|
* Get a product available for an integration
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/base.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.14.0
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/esm/common.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.14.0
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.14.0
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export class Configuration {
|
|
15
15
|
constructor(param = {}) {
|
|
16
|
+
var _a;
|
|
16
17
|
this.apiKey = param.apiKey;
|
|
17
18
|
this.username = param.username;
|
|
18
19
|
this.password = param.password;
|
|
19
20
|
this.accessToken = param.accessToken;
|
|
20
21
|
this.basePath = param.basePath;
|
|
21
22
|
this.serverIndex = param.serverIndex;
|
|
22
|
-
this.baseOptions = param.baseOptions;
|
|
23
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
23
24
|
this.formDataCtor = param.formDataCtor;
|
|
24
25
|
}
|
|
25
26
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/esm/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
8
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.14.0
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Integrations API
|
|
3
|
-
* Manage
|
|
3
|
+
* Manage PodOS Integrations
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
4
6
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.14.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/index.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Integrations API
|
|
6
|
-
* Manage
|
|
6
|
+
* Manage PodOS Integrations
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
7
9
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.14.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/index.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Integrations API
|
|
5
|
-
* Manage
|
|
5
|
+
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|