@teemill/integrations 0.16.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.
Files changed (45) hide show
  1. package/README.md +64 -2
  2. package/api.ts +19 -6
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +11 -3
  7. package/dist/api.js +11 -6
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +11 -3
  15. package/dist/esm/api.js +11 -6
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AdminIntegrationListing.md +48 -0
  27. package/docs/AdminIntegrationListingsResponse.md +20 -0
  28. package/docs/ApiError.md +22 -0
  29. package/docs/CreateAdminIntegrationListingRequest.md +42 -0
  30. package/docs/CreateAdminIntegrationListingRequestGradient.md +25 -0
  31. package/docs/Icon.md +24 -0
  32. package/docs/Integration.md +26 -0
  33. package/docs/IntegrationCategoriesResponse.md +20 -0
  34. package/docs/IntegrationCategory.md +24 -0
  35. package/docs/IntegrationListing.md +46 -0
  36. package/docs/IntegrationListingGradient.md +25 -0
  37. package/docs/IntegrationListingsResponse.md +20 -0
  38. package/docs/IntegrationProduct.md +30 -0
  39. package/docs/IntegrationProductsResponse.md +20 -0
  40. package/docs/IntegrationsApi.md +665 -0
  41. package/docs/IntegrationsResponse.md +20 -0
  42. package/docs/UpdateAdminIntegrationListingRequest.md +42 -0
  43. package/docs/UpdateAdminIntegrationListingRequestGradient.md +25 -0
  44. package/index.ts +1 -1
  45. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.16.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.16.0 --save
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.16.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).
@@ -1005,10 +1005,11 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
1005
1005
  * List all products available for an integration
1006
1006
  * @summary List integration products
1007
1007
  * @param {number} integration Integrations unique identifier
1008
+ * @param {string} [project]
1008
1009
  * @param {*} [options] Override http request option.
1009
1010
  * @throws {RequiredError}
1010
1011
  */
1011
- getIntegrationProducts: async (integration: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1012
+ getIntegrationProducts: async (integration: number, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1012
1013
  // verify required parameter 'integration' is not null or undefined
1013
1014
  assertParamExists('getIntegrationProducts', 'integration', integration)
1014
1015
  const localVarPath = `/v1/integrations/{integration}/products`
@@ -1031,6 +1032,10 @@ export const IntegrationsApiAxiosParamCreator = function (configuration?: Config
1031
1032
  // authentication api-key required
1032
1033
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1033
1034
 
1035
+ if (project !== undefined) {
1036
+ localVarQueryParameter['project'] = project;
1037
+ }
1038
+
1034
1039
 
1035
1040
 
1036
1041
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1281,11 +1286,12 @@ export const IntegrationsApiFp = function(configuration?: Configuration) {
1281
1286
  * List all products available for an integration
1282
1287
  * @summary List integration products
1283
1288
  * @param {number} integration Integrations unique identifier
1289
+ * @param {string} [project]
1284
1290
  * @param {*} [options] Override http request option.
1285
1291
  * @throws {RequiredError}
1286
1292
  */
1287
- async getIntegrationProducts(integration: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationProductsResponse>> {
1288
- 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);
1289
1295
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1290
1296
  const localVarOperationServerBasePath = operationServerMap['IntegrationsApi.getIntegrationProducts']?.[localVarOperationServerIndex]?.url;
1291
1297
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1425,7 +1431,7 @@ export const IntegrationsApiFactory = function (configuration?: Configuration, b
1425
1431
  * @throws {RequiredError}
1426
1432
  */
1427
1433
  getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationProductsResponse> {
1428
- 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));
1429
1435
  },
1430
1436
  /**
1431
1437
  * List all integrations
@@ -1575,6 +1581,13 @@ export interface IntegrationsApiGetIntegrationProductsRequest {
1575
1581
  * @memberof IntegrationsApiGetIntegrationProducts
1576
1582
  */
1577
1583
  readonly integration: number
1584
+
1585
+ /**
1586
+ *
1587
+ * @type {string}
1588
+ * @memberof IntegrationsApiGetIntegrationProducts
1589
+ */
1590
+ readonly project?: string
1578
1591
  }
1579
1592
 
1580
1593
  /**
@@ -1709,7 +1722,7 @@ export class IntegrationsApi extends BaseAPI {
1709
1722
  * @memberof IntegrationsApi
1710
1723
  */
1711
1724
  public getIntegrationProducts(requestParameters: IntegrationsApiGetIntegrationProductsRequest, options?: RawAxiosRequestConfig) {
1712
- 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));
1713
1726
  }
1714
1727
 
1715
1728
  /**
package/base.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.16.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).
package/common.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.16.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).
package/configuration.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.16.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).
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.16.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).
@@ -723,10 +723,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
723
723
  * List all products available for an integration
724
724
  * @summary List integration products
725
725
  * @param {number} integration Integrations unique identifier
726
+ * @param {string} [project]
726
727
  * @param {*} [options] Override http request option.
727
728
  * @throws {RequiredError}
728
729
  */
729
- getIntegrationProducts: (integration: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
730
+ getIntegrationProducts: (integration: number, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
730
731
  /**
731
732
  * List all integrations
732
733
  * @summary List integrations
@@ -824,10 +825,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
824
825
  * List all products available for an integration
825
826
  * @summary List integration products
826
827
  * @param {number} integration Integrations unique identifier
828
+ * @param {string} [project]
827
829
  * @param {*} [options] Override http request option.
828
830
  * @throws {RequiredError}
829
831
  */
830
- 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>>;
831
833
  /**
832
834
  * List all integrations
833
835
  * @summary List integrations
@@ -1060,6 +1062,12 @@ export interface IntegrationsApiGetIntegrationProductsRequest {
1060
1062
  * @memberof IntegrationsApiGetIntegrationProducts
1061
1063
  */
1062
1064
  readonly integration: number;
1065
+ /**
1066
+ *
1067
+ * @type {string}
1068
+ * @memberof IntegrationsApiGetIntegrationProducts
1069
+ */
1070
+ readonly project?: string;
1063
1071
  }
1064
1072
  /**
1065
1073
  * Request parameters for updateAdminIntegrationListing operation in IntegrationsApi.
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.16.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).
@@ -319,10 +319,11 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
319
319
  * List all products available for an integration
320
320
  * @summary List integration products
321
321
  * @param {number} integration Integrations unique identifier
322
+ * @param {string} [project]
322
323
  * @param {*} [options] Override http request option.
323
324
  * @throws {RequiredError}
324
325
  */
325
- 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 = {}) {
326
327
  // verify required parameter 'integration' is not null or undefined
327
328
  (0, common_1.assertParamExists)('getIntegrationProducts', 'integration', integration);
328
329
  const localVarPath = `/v1/integrations/{integration}/products`
@@ -341,6 +342,9 @@ const IntegrationsApiAxiosParamCreator = function (configuration) {
341
342
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
342
343
  // authentication api-key required
343
344
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
345
+ if (project !== undefined) {
346
+ localVarQueryParameter['project'] = project;
347
+ }
344
348
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
345
349
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
346
350
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -590,13 +594,14 @@ const IntegrationsApiFp = function (configuration) {
590
594
  * List all products available for an integration
591
595
  * @summary List integration products
592
596
  * @param {number} integration Integrations unique identifier
597
+ * @param {string} [project]
593
598
  * @param {*} [options] Override http request option.
594
599
  * @throws {RequiredError}
595
600
  */
596
- getIntegrationProducts(integration, options) {
601
+ getIntegrationProducts(integration, project, options) {
597
602
  return __awaiter(this, void 0, void 0, function* () {
598
603
  var _a, _b, _c;
599
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, options);
604
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, project, options);
600
605
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
601
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;
602
607
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -746,7 +751,7 @@ const IntegrationsApiFactory = function (configuration, basePath, axios) {
746
751
  * @throws {RequiredError}
747
752
  */
748
753
  getIntegrationProducts(requestParameters, options) {
749
- 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));
750
755
  },
751
756
  /**
752
757
  * List all integrations
@@ -882,7 +887,7 @@ class IntegrationsApi extends base_1.BaseAPI {
882
887
  * @memberof IntegrationsApi
883
888
  */
884
889
  getIntegrationProducts(requestParameters, options) {
885
- 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));
886
891
  }
887
892
  /**
888
893
  * List all integrations
package/dist/base.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.16.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).
package/dist/base.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.16.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).
package/dist/common.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.16.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).
package/dist/common.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.16.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).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage PodOS Integrations
4
4
  *
5
- * The version of the OpenAPI document: 0.16.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).
@@ -5,7 +5,7 @@
5
5
  * Integrations API
6
6
  * Manage PodOS Integrations
7
7
  *
8
- * The version of the OpenAPI document: 0.16.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).
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.16.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).
@@ -723,10 +723,11 @@ export declare const IntegrationsApiAxiosParamCreator: (configuration?: Configur
723
723
  * List all products available for an integration
724
724
  * @summary List integration products
725
725
  * @param {number} integration Integrations unique identifier
726
+ * @param {string} [project]
726
727
  * @param {*} [options] Override http request option.
727
728
  * @throws {RequiredError}
728
729
  */
729
- getIntegrationProducts: (integration: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
730
+ getIntegrationProducts: (integration: number, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
730
731
  /**
731
732
  * List all integrations
732
733
  * @summary List integrations
@@ -824,10 +825,11 @@ export declare const IntegrationsApiFp: (configuration?: Configuration) => {
824
825
  * List all products available for an integration
825
826
  * @summary List integration products
826
827
  * @param {number} integration Integrations unique identifier
828
+ * @param {string} [project]
827
829
  * @param {*} [options] Override http request option.
828
830
  * @throws {RequiredError}
829
831
  */
830
- 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>>;
831
833
  /**
832
834
  * List all integrations
833
835
  * @summary List integrations
@@ -1060,6 +1062,12 @@ export interface IntegrationsApiGetIntegrationProductsRequest {
1060
1062
  * @memberof IntegrationsApiGetIntegrationProducts
1061
1063
  */
1062
1064
  readonly integration: number;
1065
+ /**
1066
+ *
1067
+ * @type {string}
1068
+ * @memberof IntegrationsApiGetIntegrationProducts
1069
+ */
1070
+ readonly project?: string;
1063
1071
  }
1064
1072
  /**
1065
1073
  * Request parameters for updateAdminIntegrationListing operation in IntegrationsApi.
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.16.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).
@@ -316,10 +316,11 @@ export const IntegrationsApiAxiosParamCreator = function (configuration) {
316
316
  * List all products available for an integration
317
317
  * @summary List integration products
318
318
  * @param {number} integration Integrations unique identifier
319
+ * @param {string} [project]
319
320
  * @param {*} [options] Override http request option.
320
321
  * @throws {RequiredError}
321
322
  */
322
- getIntegrationProducts: (integration_1, ...args_1) => __awaiter(this, [integration_1, ...args_1], void 0, function* (integration, options = {}) {
323
+ getIntegrationProducts: (integration_1, project_1, ...args_1) => __awaiter(this, [integration_1, project_1, ...args_1], void 0, function* (integration, project, options = {}) {
323
324
  // verify required parameter 'integration' is not null or undefined
324
325
  assertParamExists('getIntegrationProducts', 'integration', integration);
325
326
  const localVarPath = `/v1/integrations/{integration}/products`
@@ -338,6 +339,9 @@ export const IntegrationsApiAxiosParamCreator = function (configuration) {
338
339
  yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
339
340
  // authentication api-key required
340
341
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
342
+ if (project !== undefined) {
343
+ localVarQueryParameter['project'] = project;
344
+ }
341
345
  setSearchParams(localVarUrlObj, localVarQueryParameter);
342
346
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
343
347
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -586,13 +590,14 @@ export const IntegrationsApiFp = function (configuration) {
586
590
  * List all products available for an integration
587
591
  * @summary List integration products
588
592
  * @param {number} integration Integrations unique identifier
593
+ * @param {string} [project]
589
594
  * @param {*} [options] Override http request option.
590
595
  * @throws {RequiredError}
591
596
  */
592
- getIntegrationProducts(integration, options) {
597
+ getIntegrationProducts(integration, project, options) {
593
598
  return __awaiter(this, void 0, void 0, function* () {
594
599
  var _a, _b, _c;
595
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, options);
600
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIntegrationProducts(integration, project, options);
596
601
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
597
602
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IntegrationsApi.getIntegrationProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
598
603
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -741,7 +746,7 @@ export const IntegrationsApiFactory = function (configuration, basePath, axios)
741
746
  * @throws {RequiredError}
742
747
  */
743
748
  getIntegrationProducts(requestParameters, options) {
744
- return localVarFp.getIntegrationProducts(requestParameters.integration, options).then((request) => request(axios, basePath));
749
+ return localVarFp.getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(axios, basePath));
745
750
  },
746
751
  /**
747
752
  * List all integrations
@@ -876,7 +881,7 @@ export class IntegrationsApi extends BaseAPI {
876
881
  * @memberof IntegrationsApi
877
882
  */
878
883
  getIntegrationProducts(requestParameters, options) {
879
- return IntegrationsApiFp(this.configuration).getIntegrationProducts(requestParameters.integration, options).then((request) => request(this.axios, this.basePath));
884
+ return IntegrationsApiFp(this.configuration).getIntegrationProducts(requestParameters.integration, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
880
885
  }
881
886
  /**
882
887
  * List all integrations
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage PodOS Integrations
4
4
  *
5
- * The version of the OpenAPI document: 0.16.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).
package/dist/esm/base.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.16.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).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage PodOS Integrations
4
4
  *
5
- * The version of the OpenAPI document: 0.16.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).
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage PodOS Integrations
6
6
  *
7
- * The version of the OpenAPI document: 0.16.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).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage PodOS Integrations
4
4
  *
5
- * The version of the OpenAPI document: 0.16.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).
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage PodOS Integrations
6
6
  *
7
- * The version of the OpenAPI document: 0.16.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).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage PodOS Integrations
4
4
  *
5
- * The version of the OpenAPI document: 0.16.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).
package/dist/esm/index.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.16.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).
package/dist/index.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.16.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).
package/dist/index.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.16.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).
@@ -0,0 +1,48 @@
1
+ # AdminIntegrationListing
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [readonly] [default to undefined]
9
+ **slug** | **string** | The slug of the integration listing that is used in the URL | [default to undefined]
10
+ **code** | **string** | The code of the integration | [default to undefined]
11
+ **name** | **string** | The name of the integration listing | [default to undefined]
12
+ **description** | **string** | The description of the integration listing | [default to undefined]
13
+ **content** | **string** | The html content of the integration listing | [default to undefined]
14
+ **pricing** | **string** | The html content of the pricing information | [optional] [default to undefined]
15
+ **author** | **string** | The author of the integration listing | [default to undefined]
16
+ **icon** | [**Icon**](Icon.md) | | [default to undefined]
17
+ **gradient** | [**IntegrationListingGradient**](IntegrationListingGradient.md) | | [default to undefined]
18
+ **integration** | [**Integration**](Integration.md) | | [default to undefined]
19
+ **dependencies** | **Array&lt;string&gt;** | The dependencies that this integration listing requires | [default to undefined]
20
+ **categories** | [**Array&lt;IntegrationCategory&gt;**](IntegrationCategory.md) | The categories that this listing belongs to | [default to undefined]
21
+ **menuTitle** | **string** | The string identifier displayed in the UI menu | [optional] [default to undefined]
22
+ **menuSortOrder** | **number** | The order of the listing in the UI menu | [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { AdminIntegrationListing } from '@teemill/integrations';
28
+
29
+ const instance: AdminIntegrationListing = {
30
+ id,
31
+ slug,
32
+ code,
33
+ name,
34
+ description,
35
+ content,
36
+ pricing,
37
+ author,
38
+ icon,
39
+ gradient,
40
+ integration,
41
+ dependencies,
42
+ categories,
43
+ menuTitle,
44
+ menuSortOrder,
45
+ };
46
+ ```
47
+
48
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # AdminIntegrationListingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **listings** | [**Array&lt;AdminIntegrationListing&gt;**](AdminIntegrationListing.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AdminIntegrationListingsResponse } from '@teemill/integrations';
14
+
15
+ const instance: AdminIntegrationListingsResponse = {
16
+ listings,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)