@teemill/integrations 0.15.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 +32 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +22 -5
- package/dist/api.js +17 -8
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +22 -5
- package/dist/esm/api.js +17 -8
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- 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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -915,10 +915,13 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
915
915
|
/**
|
|
916
916
|
* List all integration listings
|
|
917
917
|
* @summary List integration listings
|
|
918
|
+
* @param {string} project
|
|
918
919
|
* @param {*} [options] Override http request option.
|
|
919
920
|
* @throws {RequiredError}
|
|
920
921
|
*/
|
|
921
|
-
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)
|
|
922
925
|
const localVarPath = `/v1/integrations/listings`;
|
|
923
926
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
924
927
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -938,6 +941,10 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
938
941
|
// authentication api-key required
|
|
939
942
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
940
943
|
|
|
944
|
+
if (project !== undefined) {
|
|
945
|
+
localVarQueryParameter['project'] = project;
|
|
946
|
+
}
|
|
947
|
+
|
|
941
948
|
|
|
942
949
|
|
|
943
950
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1246,11 +1253,12 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
|
1246
1253
|
/**
|
|
1247
1254
|
* List all integration listings
|
|
1248
1255
|
* @summary List integration listings
|
|
1256
|
+
* @param {string} project
|
|
1249
1257
|
* @param {*} [options] Override http request option.
|
|
1250
1258
|
* @throws {RequiredError}
|
|
1251
1259
|
*/
|
|
1252
|
-
async getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1253
|
-
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);
|
|
1254
1262
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1255
1263
|
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationListings']?.[localVarOperationServerIndex]?.url;
|
|
1256
1264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1392,11 +1400,12 @@ export const IntegrationsApiFactory = function (configuration?: Configuration, b
|
|
|
1392
1400
|
/**
|
|
1393
1401
|
* List all integration listings
|
|
1394
1402
|
* @summary List integration listings
|
|
1403
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1395
1404
|
* @param {*} [options] Override http request option.
|
|
1396
1405
|
* @throws {RequiredError}
|
|
1397
1406
|
*/
|
|
1398
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1399
|
-
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));
|
|
1400
1409
|
},
|
|
1401
1410
|
/**
|
|
1402
1411
|
* Get a product available for an integration
|
|
@@ -1519,6 +1528,20 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1519
1528
|
readonly listing: string
|
|
1520
1529
|
}
|
|
1521
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
|
+
|
|
1522
1545
|
/**
|
|
1523
1546
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1524
1547
|
* @export
|
|
@@ -1656,12 +1679,13 @@ export class IntegrationsApi extends BaseAPI {
|
|
|
1656
1679
|
/**
|
|
1657
1680
|
* List all integration listings
|
|
1658
1681
|
* @summary List integration listings
|
|
1682
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1659
1683
|
* @param {*} [options] Override http request option.
|
|
1660
1684
|
* @throws {RequiredError}
|
|
1661
1685
|
* @memberof IntegrationsApi
|
|
1662
1686
|
*/
|
|
1663
|
-
public getIntegrationListings(options?: RawAxiosRequestConfig) {
|
|
1664
|
-
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));
|
|
1665
1689
|
}
|
|
1666
1690
|
|
|
1667
1691
|
/**
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage PodOS Integrations
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -705,10 +705,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
705
705
|
/**
|
|
706
706
|
* List all integration listings
|
|
707
707
|
* @summary List integration listings
|
|
708
|
+
* @param {string} project
|
|
708
709
|
* @param {*} [options] Override http request option.
|
|
709
710
|
* @throws {RequiredError}
|
|
710
711
|
*/
|
|
711
|
-
getIntegrationListings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
|
+
getIntegrationListings: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
713
|
/**
|
|
713
714
|
* Get a product available for an integration
|
|
714
715
|
* @summary Get integration product
|
|
@@ -805,10 +806,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
805
806
|
/**
|
|
806
807
|
* List all integration listings
|
|
807
808
|
* @summary List integration listings
|
|
809
|
+
* @param {string} project
|
|
808
810
|
* @param {*} [options] Override http request option.
|
|
809
811
|
* @throws {RequiredError}
|
|
810
812
|
*/
|
|
811
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
813
|
+
getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
812
814
|
/**
|
|
813
815
|
* Get a product available for an integration
|
|
814
816
|
* @summary Get integration product
|
|
@@ -905,10 +907,11 @@ export declare const IntegrationsApiFactory: (configuration?: Configuration, bas
|
|
|
905
907
|
/**
|
|
906
908
|
* List all integration listings
|
|
907
909
|
* @summary List integration listings
|
|
910
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
908
911
|
* @param {*} [options] Override http request option.
|
|
909
912
|
* @throws {RequiredError}
|
|
910
913
|
*/
|
|
911
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
914
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
912
915
|
/**
|
|
913
916
|
* Get a product available for an integration
|
|
914
917
|
* @summary Get integration product
|
|
@@ -1013,6 +1016,19 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1013
1016
|
*/
|
|
1014
1017
|
readonly listing: string;
|
|
1015
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
|
+
}
|
|
1016
1032
|
/**
|
|
1017
1033
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1018
1034
|
* @export
|
|
@@ -1127,11 +1143,12 @@ export declare class IntegrationsApi extends BaseAPI {
|
|
|
1127
1143
|
/**
|
|
1128
1144
|
* List all integration listings
|
|
1129
1145
|
* @summary List integration listings
|
|
1146
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1130
1147
|
* @param {*} [options] Override http request option.
|
|
1131
1148
|
* @throws {RequiredError}
|
|
1132
1149
|
* @memberof IntegrationsApi
|
|
1133
1150
|
*/
|
|
1134
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1151
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1135
1152
|
/**
|
|
1136
1153
|
* Get a product available for an integration
|
|
1137
1154
|
* @summary Get integration product
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage PodOS Integrations
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.16.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (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
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage PodOS Integrations
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.16.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -705,10 +705,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
705
705
|
/**
|
|
706
706
|
* List all integration listings
|
|
707
707
|
* @summary List integration listings
|
|
708
|
+
* @param {string} project
|
|
708
709
|
* @param {*} [options] Override http request option.
|
|
709
710
|
* @throws {RequiredError}
|
|
710
711
|
*/
|
|
711
|
-
getIntegrationListings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
|
+
getIntegrationListings: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
712
713
|
/**
|
|
713
714
|
* Get a product available for an integration
|
|
714
715
|
* @summary Get integration product
|
|
@@ -805,10 +806,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
805
806
|
/**
|
|
806
807
|
* List all integration listings
|
|
807
808
|
* @summary List integration listings
|
|
809
|
+
* @param {string} project
|
|
808
810
|
* @param {*} [options] Override http request option.
|
|
809
811
|
* @throws {RequiredError}
|
|
810
812
|
*/
|
|
811
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
813
|
+
getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
812
814
|
/**
|
|
813
815
|
* Get a product available for an integration
|
|
814
816
|
* @summary Get integration product
|
|
@@ -905,10 +907,11 @@ export declare const IntegrationsApiFactory: (configuration?: Configuration, bas
|
|
|
905
907
|
/**
|
|
906
908
|
* List all integration listings
|
|
907
909
|
* @summary List integration listings
|
|
910
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
908
911
|
* @param {*} [options] Override http request option.
|
|
909
912
|
* @throws {RequiredError}
|
|
910
913
|
*/
|
|
911
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
914
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
912
915
|
/**
|
|
913
916
|
* Get a product available for an integration
|
|
914
917
|
* @summary Get integration product
|
|
@@ -1013,6 +1016,19 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1013
1016
|
*/
|
|
1014
1017
|
readonly listing: string;
|
|
1015
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
|
+
}
|
|
1016
1032
|
/**
|
|
1017
1033
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1018
1034
|
* @export
|
|
@@ -1127,11 +1143,12 @@ export declare class IntegrationsApi extends BaseAPI {
|
|
|
1127
1143
|
/**
|
|
1128
1144
|
* List all integration listings
|
|
1129
1145
|
* @summary List integration listings
|
|
1146
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1130
1147
|
* @param {*} [options] Override http request option.
|
|
1131
1148
|
* @throws {RequiredError}
|
|
1132
1149
|
* @memberof IntegrationsApi
|
|
1133
1150
|
*/
|
|
1134
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1151
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1135
1152
|
/**
|
|
1136
1153
|
* Get a product available for an integration
|
|
1137
1154
|
* @summary Get integration product
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage PodOS Integrations
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.16.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (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
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED