@teemill/integrations 0.15.0 → 0.17.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 +64 -2
- package/api.ts +50 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +32 -7
- package/dist/api.js +27 -13
- 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 +32 -7
- package/dist/esm/api.js +27 -13
- 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/docs/AdminIntegrationListing.md +48 -0
- package/docs/AdminIntegrationListingsResponse.md +20 -0
- package/docs/ApiError.md +22 -0
- package/docs/CreateAdminIntegrationListingRequest.md +42 -0
- package/docs/CreateAdminIntegrationListingRequestGradient.md +25 -0
- package/docs/Icon.md +24 -0
- package/docs/Integration.md +26 -0
- package/docs/IntegrationCategoriesResponse.md +20 -0
- package/docs/IntegrationCategory.md +24 -0
- package/docs/IntegrationListing.md +46 -0
- package/docs/IntegrationListingGradient.md +25 -0
- package/docs/IntegrationListingsResponse.md +20 -0
- package/docs/IntegrationProduct.md +30 -0
- package/docs/IntegrationProductsResponse.md +20 -0
- package/docs/IntegrationsApi.md +665 -0
- package/docs/IntegrationsResponse.md +20 -0
- package/docs/UpdateAdminIntegrationListingRequest.md +42 -0
- package/docs/UpdateAdminIntegrationListingRequestGradient.md +25 -0
- 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.17.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.17.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,3 +44,65 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
+
|
|
48
|
+
### Documentation for API Endpoints
|
|
49
|
+
|
|
50
|
+
All URIs are relative to *https://localhost:8080*
|
|
51
|
+
|
|
52
|
+
Class | Method | HTTP request | Description
|
|
53
|
+
------------ | ------------- | ------------- | -------------
|
|
54
|
+
*IntegrationsApi* | [**createAdminIntegrationListing**](docs/IntegrationsApi.md#createadminintegrationlisting) | **POST** /v1/integrations/admin/listings | Create integration listing
|
|
55
|
+
*IntegrationsApi* | [**deleteAdminIntegrationListing**](docs/IntegrationsApi.md#deleteadminintegrationlisting) | **DELETE** /v1/integrations/admin/listings/{listing} | Delete integration listing
|
|
56
|
+
*IntegrationsApi* | [**getAdminIntegrationListing**](docs/IntegrationsApi.md#getadminintegrationlisting) | **GET** /v1/integrations/admin/listings/{listing} | Retrieve integration listing
|
|
57
|
+
*IntegrationsApi* | [**getIntegrationCategories**](docs/IntegrationsApi.md#getintegrationcategories) | **GET** /v1/integrations/categories | List integration categories
|
|
58
|
+
*IntegrationsApi* | [**getIntegrationCategory**](docs/IntegrationsApi.md#getintegrationcategory) | **GET** /v1/integrations/categories/{category} | Get integration category
|
|
59
|
+
*IntegrationsApi* | [**getIntegrationListing**](docs/IntegrationsApi.md#getintegrationlisting) | **GET** /v1/integrations/listings/{listing} | Get integration listing
|
|
60
|
+
*IntegrationsApi* | [**getIntegrationListings**](docs/IntegrationsApi.md#getintegrationlistings) | **GET** /v1/integrations/listings | List integration listings
|
|
61
|
+
*IntegrationsApi* | [**getIntegrationProduct**](docs/IntegrationsApi.md#getintegrationproduct) | **GET** /v1/integrations/{integration}/products/{product} | Get integration product
|
|
62
|
+
*IntegrationsApi* | [**getIntegrationProducts**](docs/IntegrationsApi.md#getintegrationproducts) | **GET** /v1/integrations/{integration}/products | List integration products
|
|
63
|
+
*IntegrationsApi* | [**getIntegrations**](docs/IntegrationsApi.md#getintegrations) | **GET** /v1/integrations | List integrations
|
|
64
|
+
*IntegrationsApi* | [**listAdminIntegrationListings**](docs/IntegrationsApi.md#listadminintegrationlistings) | **GET** /v1/integrations/admin/listings | List integration listings
|
|
65
|
+
*IntegrationsApi* | [**updateAdminIntegrationListing**](docs/IntegrationsApi.md#updateadminintegrationlisting) | **PATCH** /v1/integrations/admin/listings/{listing} | Update integration listing
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Documentation For Models
|
|
69
|
+
|
|
70
|
+
- [AdminIntegrationListing](docs/AdminIntegrationListing.md)
|
|
71
|
+
- [AdminIntegrationListingsResponse](docs/AdminIntegrationListingsResponse.md)
|
|
72
|
+
- [ApiError](docs/ApiError.md)
|
|
73
|
+
- [CreateAdminIntegrationListingRequest](docs/CreateAdminIntegrationListingRequest.md)
|
|
74
|
+
- [CreateAdminIntegrationListingRequestGradient](docs/CreateAdminIntegrationListingRequestGradient.md)
|
|
75
|
+
- [Icon](docs/Icon.md)
|
|
76
|
+
- [Integration](docs/Integration.md)
|
|
77
|
+
- [IntegrationCategoriesResponse](docs/IntegrationCategoriesResponse.md)
|
|
78
|
+
- [IntegrationCategory](docs/IntegrationCategory.md)
|
|
79
|
+
- [IntegrationListing](docs/IntegrationListing.md)
|
|
80
|
+
- [IntegrationListingGradient](docs/IntegrationListingGradient.md)
|
|
81
|
+
- [IntegrationListingsResponse](docs/IntegrationListingsResponse.md)
|
|
82
|
+
- [IntegrationProduct](docs/IntegrationProduct.md)
|
|
83
|
+
- [IntegrationProductsResponse](docs/IntegrationProductsResponse.md)
|
|
84
|
+
- [IntegrationsResponse](docs/IntegrationsResponse.md)
|
|
85
|
+
- [UpdateAdminIntegrationListingRequest](docs/UpdateAdminIntegrationListingRequest.md)
|
|
86
|
+
- [UpdateAdminIntegrationListingRequestGradient](docs/UpdateAdminIntegrationListingRequestGradient.md)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<a id="documentation-for-authorization"></a>
|
|
90
|
+
## Documentation For Authorization
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
Authentication schemes defined for the API:
|
|
94
|
+
<a id="api-key"></a>
|
|
95
|
+
### api-key
|
|
96
|
+
|
|
97
|
+
- **Type**: API key
|
|
98
|
+
- **API key parameter name**: Authorization
|
|
99
|
+
- **Location**: HTTP header
|
|
100
|
+
|
|
101
|
+
<a id="session-oauth"></a>
|
|
102
|
+
### session-oauth
|
|
103
|
+
|
|
104
|
+
- **Type**: OAuth
|
|
105
|
+
- **Flow**: password
|
|
106
|
+
- **Authorization URL**:
|
|
107
|
+
- **Scopes**: N/A
|
|
108
|
+
|
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.17.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);
|
|
@@ -998,10 +1005,11 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
998
1005
|
* List all products available for an integration
|
|
999
1006
|
* @summary List integration products
|
|
1000
1007
|
* @param {number} integration Integrations unique identifier
|
|
1008
|
+
* @param {string} [project]
|
|
1001
1009
|
* @param {*} [options] Override http request option.
|
|
1002
1010
|
* @throws {RequiredError}
|
|
1003
1011
|
*/
|
|
1004
|
-
getIntegrationProducts: async (integration: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1012
|
+
getIntegrationProducts: async (integration: number, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1005
1013
|
// verify required parameter 'integration' is not null or undefined
|
|
1006
1014
|
assertParamExists('getIntegrationProducts', 'integration', integration)
|
|
1007
1015
|
const localVarPath = `/v1/integrations/{integration}/products`
|
|
@@ -1024,6 +1032,10 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
1024
1032
|
// authentication api-key required
|
|
1025
1033
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1026
1034
|
|
|
1035
|
+
if (project !== undefined) {
|
|
1036
|
+
localVarQueryParameter['project'] = project;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1027
1039
|
|
|
1028
1040
|
|
|
1029
1041
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1246,11 +1258,12 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
|
1246
1258
|
/**
|
|
1247
1259
|
* List all integration listings
|
|
1248
1260
|
* @summary List integration listings
|
|
1261
|
+
* @param {string} project
|
|
1249
1262
|
* @param {*} [options] Override http request option.
|
|
1250
1263
|
* @throws {RequiredError}
|
|
1251
1264
|
*/
|
|
1252
|
-
async getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1253
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListings(options);
|
|
1265
|
+
async getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>> {
|
|
1266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationListings(project, options);
|
|
1254
1267
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1255
1268
|
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationListings']?.[localVarOperationServerIndex]?.url;
|
|
1256
1269
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1273,11 +1286,12 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
|
|
|
1273
1286
|
* List all products available for an integration
|
|
1274
1287
|
* @summary List integration products
|
|
1275
1288
|
* @param {number} integration Integrations unique identifier
|
|
1289
|
+
* @param {string} [project]
|
|
1276
1290
|
* @param {*} [options] Override http request option.
|
|
1277
1291
|
* @throws {RequiredError}
|
|
1278
1292
|
*/
|
|
1279
|
-
async getIntegrationProducts(integration: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>> {
|
|
1280
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationProducts(integration, options);
|
|
1293
|
+
async getIntegrationProducts(integration: number, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>> {
|
|
1294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIntegrationProducts(integration, project, options);
|
|
1281
1295
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1282
1296
|
const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationProducts']?.[localVarOperationServerIndex]?.url;
|
|
1283
1297
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1392,11 +1406,12 @@ export const IntegrationsApiFactory = function (configuration?: Configuration, b
|
|
|
1392
1406
|
/**
|
|
1393
1407
|
* List all integration listings
|
|
1394
1408
|
* @summary List integration listings
|
|
1409
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1395
1410
|
* @param {*} [options] Override http request option.
|
|
1396
1411
|
* @throws {RequiredError}
|
|
1397
1412
|
*/
|
|
1398
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1399
|
-
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
1413
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse> {
|
|
1414
|
+
return localVarFp.getIntegrationListings(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1400
1415
|
},
|
|
1401
1416
|
/**
|
|
1402
1417
|
* Get a product available for an integration
|
|
@@ -1416,7 +1431,7 @@ export const IntegrationsApiFactory = function (configuration?: Configuration, b
|
|
|
1416
1431
|
* @throws {RequiredError}
|
|
1417
1432
|
*/
|
|
1418
1433
|
getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationProductsResponse> {
|
|
1419
|
-
return localVarFp.getIntegrationProducts(requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
1434
|
+
return localVarFp.getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1420
1435
|
},
|
|
1421
1436
|
/**
|
|
1422
1437
|
* List all integrations
|
|
@@ -1519,6 +1534,20 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1519
1534
|
readonly listing: string
|
|
1520
1535
|
}
|
|
1521
1536
|
|
|
1537
|
+
/**
|
|
1538
|
+
* Request parameters for getIntegrationListings operation in IntegrationsApi.
|
|
1539
|
+
* @export
|
|
1540
|
+
* @interface IntegrationsApiGetIntegrationListingsRequest
|
|
1541
|
+
*/
|
|
1542
|
+
export interface IntegrationsApiGetIntegrationListingsRequest {
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @type {string}
|
|
1546
|
+
* @memberof IntegrationsApiGetIntegrationListings
|
|
1547
|
+
*/
|
|
1548
|
+
readonly project: string
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1522
1551
|
/**
|
|
1523
1552
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1524
1553
|
* @export
|
|
@@ -1552,6 +1581,13 @@ export interface IntegrationsApiGetIntegrationProductsRequest {
|
|
|
1552
1581
|
* @memberof IntegrationsApiGetIntegrationProducts
|
|
1553
1582
|
*/
|
|
1554
1583
|
readonly integration: number
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof IntegrationsApiGetIntegrationProducts
|
|
1589
|
+
*/
|
|
1590
|
+
readonly project?: string
|
|
1555
1591
|
}
|
|
1556
1592
|
|
|
1557
1593
|
/**
|
|
@@ -1656,12 +1692,13 @@ export class IntegrationsApi extends BaseAPI {
|
|
|
1656
1692
|
/**
|
|
1657
1693
|
* List all integration listings
|
|
1658
1694
|
* @summary List integration listings
|
|
1695
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1659
1696
|
* @param {*} [options] Override http request option.
|
|
1660
1697
|
* @throws {RequiredError}
|
|
1661
1698
|
* @memberof IntegrationsApi
|
|
1662
1699
|
*/
|
|
1663
|
-
public getIntegrationListings(options?: RawAxiosRequestConfig) {
|
|
1664
|
-
return IntegrationsApiFp(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
1700
|
+
public getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig) {
|
|
1701
|
+
return IntegrationsApiFp(this.configuration).getIntegrationListings(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1665
1702
|
}
|
|
1666
1703
|
|
|
1667
1704
|
/**
|
|
@@ -1685,7 +1722,7 @@ export class IntegrationsApi extends BaseAPI {
|
|
|
1685
1722
|
* @memberof IntegrationsApi
|
|
1686
1723
|
*/
|
|
1687
1724
|
public getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig) {
|
|
1688
|
-
return IntegrationsApiFp(this.configuration).getIntegrationProducts(requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
1725
|
+
return IntegrationsApiFp(this.configuration).getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1689
1726
|
}
|
|
1690
1727
|
|
|
1691
1728
|
/**
|
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.17.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
|
|
@@ -722,10 +723,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
722
723
|
* List all products available for an integration
|
|
723
724
|
* @summary List integration products
|
|
724
725
|
* @param {number} integration Integrations unique identifier
|
|
726
|
+
* @param {string} [project]
|
|
725
727
|
* @param {*} [options] Override http request option.
|
|
726
728
|
* @throws {RequiredError}
|
|
727
729
|
*/
|
|
728
|
-
getIntegrationProducts: (integration: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
730
|
+
getIntegrationProducts: (integration: number, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
729
731
|
/**
|
|
730
732
|
* List all integrations
|
|
731
733
|
* @summary List integrations
|
|
@@ -805,10 +807,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
805
807
|
/**
|
|
806
808
|
* List all integration listings
|
|
807
809
|
* @summary List integration listings
|
|
810
|
+
* @param {string} project
|
|
808
811
|
* @param {*} [options] Override http request option.
|
|
809
812
|
* @throws {RequiredError}
|
|
810
813
|
*/
|
|
811
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
814
|
+
getIntegrationListings(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationListingsResponse>>;
|
|
812
815
|
/**
|
|
813
816
|
* Get a product available for an integration
|
|
814
817
|
* @summary Get integration product
|
|
@@ -822,10 +825,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
|
|
|
822
825
|
* List all products available for an integration
|
|
823
826
|
* @summary List integration products
|
|
824
827
|
* @param {number} integration Integrations unique identifier
|
|
828
|
+
* @param {string} [project]
|
|
825
829
|
* @param {*} [options] Override http request option.
|
|
826
830
|
* @throws {RequiredError}
|
|
827
831
|
*/
|
|
828
|
-
getIntegrationProducts(integration: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>>;
|
|
832
|
+
getIntegrationProducts(integration: number, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>>;
|
|
829
833
|
/**
|
|
830
834
|
* List all integrations
|
|
831
835
|
* @summary List integrations
|
|
@@ -905,10 +909,11 @@ export declare const IntegrationsApiFactory: (configuration?: Configuration, bas
|
|
|
905
909
|
/**
|
|
906
910
|
* List all integration listings
|
|
907
911
|
* @summary List integration listings
|
|
912
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
908
913
|
* @param {*} [options] Override http request option.
|
|
909
914
|
* @throws {RequiredError}
|
|
910
915
|
*/
|
|
911
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
916
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationListingsResponse>;
|
|
912
917
|
/**
|
|
913
918
|
* Get a product available for an integration
|
|
914
919
|
* @summary Get integration product
|
|
@@ -1013,6 +1018,19 @@ export interface IntegrationsApiGetIntegrationListingRequest {
|
|
|
1013
1018
|
*/
|
|
1014
1019
|
readonly listing: string;
|
|
1015
1020
|
}
|
|
1021
|
+
/**
|
|
1022
|
+
* Request parameters for getIntegrationListings operation in IntegrationsApi.
|
|
1023
|
+
* @export
|
|
1024
|
+
* @interface IntegrationsApiGetIntegrationListingsRequest
|
|
1025
|
+
*/
|
|
1026
|
+
export interface IntegrationsApiGetIntegrationListingsRequest {
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @type {string}
|
|
1030
|
+
* @memberof IntegrationsApiGetIntegrationListings
|
|
1031
|
+
*/
|
|
1032
|
+
readonly project: string;
|
|
1033
|
+
}
|
|
1016
1034
|
/**
|
|
1017
1035
|
* Request parameters for getIntegrationProduct operation in IntegrationsApi.
|
|
1018
1036
|
* @export
|
|
@@ -1044,6 +1062,12 @@ export interface IntegrationsApiGetIntegrationProductsRequest {
|
|
|
1044
1062
|
* @memberof IntegrationsApiGetIntegrationProducts
|
|
1045
1063
|
*/
|
|
1046
1064
|
readonly integration: number;
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {string}
|
|
1068
|
+
* @memberof IntegrationsApiGetIntegrationProducts
|
|
1069
|
+
*/
|
|
1070
|
+
readonly project?: string;
|
|
1047
1071
|
}
|
|
1048
1072
|
/**
|
|
1049
1073
|
* Request parameters for updateAdminIntegrationListing operation in IntegrationsApi.
|
|
@@ -1127,11 +1151,12 @@ export declare class IntegrationsApi extends BaseAPI {
|
|
|
1127
1151
|
/**
|
|
1128
1152
|
* List all integration listings
|
|
1129
1153
|
* @summary List integration listings
|
|
1154
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
1130
1155
|
* @param {*} [options] Override http request option.
|
|
1131
1156
|
* @throws {RequiredError}
|
|
1132
1157
|
* @memberof IntegrationsApi
|
|
1133
1158
|
*/
|
|
1134
|
-
getIntegrationListings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1159
|
+
getIntegrationListings(requestParameters: IntegrationsApiGetIntegrationListingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IntegrationListingsResponse, any>>;
|
|
1135
1160
|
/**
|
|
1136
1161
|
* Get a product available for an integration
|
|
1137
1162
|
* @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.17.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);
|
|
@@ -313,10 +319,11 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
313
319
|
* List all products available for an integration
|
|
314
320
|
* @summary List integration products
|
|
315
321
|
* @param {number} integration Integrations unique identifier
|
|
322
|
+
* @param {string} [project]
|
|
316
323
|
* @param {*} [options] Override http request option.
|
|
317
324
|
* @throws {RequiredError}
|
|
318
325
|
*/
|
|
319
|
-
getIntegrationProducts: (integration_1, ...args_1) => __awaiter(this, [integration_1, ...args_1], void 0, function* (integration, options = {}) {
|
|
326
|
+
getIntegrationProducts: (integration_1, project_1, ...args_1) => __awaiter(this, [integration_1, project_1, ...args_1], void 0, function* (integration, project, options = {}) {
|
|
320
327
|
// verify required parameter 'integration' is not null or undefined
|
|
321
328
|
(0, common_1.assertParamExists)('getIntegrationProducts', 'integration', integration);
|
|
322
329
|
const localVarPath = `/v1/integrations/{integration}/products`
|
|
@@ -335,6 +342,9 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
335
342
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
336
343
|
// authentication api-key required
|
|
337
344
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
345
|
+
if (project !== undefined) {
|
|
346
|
+
localVarQueryParameter['project'] = project;
|
|
347
|
+
}
|
|
338
348
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
339
349
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
350
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -550,13 +560,14 @@ const IntegrationsApiFp = function (configuration) {
|
|
|
550
560
|
/**
|
|
551
561
|
* List all integration listings
|
|
552
562
|
* @summary List integration listings
|
|
563
|
+
* @param {string} project
|
|
553
564
|
* @param {*} [options] Override http request option.
|
|
554
565
|
* @throws {RequiredError}
|
|
555
566
|
*/
|
|
556
|
-
getIntegrationListings(options) {
|
|
567
|
+
getIntegrationListings(project, options) {
|
|
557
568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
558
569
|
var _a, _b, _c;
|
|
559
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(options);
|
|
570
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationListings(project, options);
|
|
560
571
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
572
|
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
573
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -583,13 +594,14 @@ const IntegrationsApiFp = function (configuration) {
|
|
|
583
594
|
* List all products available for an integration
|
|
584
595
|
* @summary List integration products
|
|
585
596
|
* @param {number} integration Integrations unique identifier
|
|
597
|
+
* @param {string} [project]
|
|
586
598
|
* @param {*} [options] Override http request option.
|
|
587
599
|
* @throws {RequiredError}
|
|
588
600
|
*/
|
|
589
|
-
getIntegrationProducts(integration, options) {
|
|
601
|
+
getIntegrationProducts(integration, project, options) {
|
|
590
602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
591
603
|
var _a, _b, _c;
|
|
592
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, options);
|
|
604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, project, options);
|
|
593
605
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
594
606
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IntegrationsApi.getIntegrationProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
595
607
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -714,11 +726,12 @@ const IntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
714
726
|
/**
|
|
715
727
|
* List all integration listings
|
|
716
728
|
* @summary List integration listings
|
|
729
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
717
730
|
* @param {*} [options] Override http request option.
|
|
718
731
|
* @throws {RequiredError}
|
|
719
732
|
*/
|
|
720
|
-
getIntegrationListings(options) {
|
|
721
|
-
return localVarFp.getIntegrationListings(options).then((request) => request(axios, basePath));
|
|
733
|
+
getIntegrationListings(requestParameters, options) {
|
|
734
|
+
return localVarFp.getIntegrationListings(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
722
735
|
},
|
|
723
736
|
/**
|
|
724
737
|
* Get a product available for an integration
|
|
@@ -738,7 +751,7 @@ const IntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
738
751
|
* @throws {RequiredError}
|
|
739
752
|
*/
|
|
740
753
|
getIntegrationProducts(requestParameters, options) {
|
|
741
|
-
return localVarFp.getIntegrationProducts(requestParameters.integration, options).then((request) => request(axios, basePath));
|
|
754
|
+
return localVarFp.getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
742
755
|
},
|
|
743
756
|
/**
|
|
744
757
|
* List all integrations
|
|
@@ -846,12 +859,13 @@ class IntegrationsApi extends base_1.BaseAPI {
|
|
|
846
859
|
/**
|
|
847
860
|
* List all integration listings
|
|
848
861
|
* @summary List integration listings
|
|
862
|
+
* @param {IntegrationsApiGetIntegrationListingsRequest} requestParameters Request parameters.
|
|
849
863
|
* @param {*} [options] Override http request option.
|
|
850
864
|
* @throws {RequiredError}
|
|
851
865
|
* @memberof IntegrationsApi
|
|
852
866
|
*/
|
|
853
|
-
getIntegrationListings(options) {
|
|
854
|
-
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListings(options).then((request) => request(this.axios, this.basePath));
|
|
867
|
+
getIntegrationListings(requestParameters, options) {
|
|
868
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationListings(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
855
869
|
}
|
|
856
870
|
/**
|
|
857
871
|
* Get a product available for an integration
|
|
@@ -873,7 +887,7 @@ class IntegrationsApi extends base_1.BaseAPI {
|
|
|
873
887
|
* @memberof IntegrationsApi
|
|
874
888
|
*/
|
|
875
889
|
getIntegrationProducts(requestParameters, options) {
|
|
876
|
-
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationProducts(requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
return (0, exports.IntegrationsApiFp)(this.configuration).getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
877
891
|
}
|
|
878
892
|
/**
|
|
879
893
|
* List all integrations
|
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