@teemill/integrations 0.8.4 → 0.9.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 (68) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/dist/apis/IntegrationsApi.d.ts +12 -2
  4. package/dist/apis/IntegrationsApi.js +35 -1
  5. package/dist/esm/apis/IntegrationsApi.d.ts +12 -2
  6. package/dist/esm/apis/IntegrationsApi.js +36 -2
  7. package/dist/esm/models/ApiError.d.ts +1 -1
  8. package/dist/esm/models/ApiError.js +1 -1
  9. package/dist/esm/models/Integration.d.ts +9 -26
  10. package/dist/esm/models/Integration.js +10 -26
  11. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +1 -1
  12. package/dist/esm/models/IntegrationCategoriesResponse.js +1 -1
  13. package/dist/esm/models/IntegrationCategory.d.ts +1 -1
  14. package/dist/esm/models/IntegrationCategory.js +1 -1
  15. package/dist/esm/models/IntegrationListing.d.ts +1 -1
  16. package/dist/esm/models/IntegrationListing.js +1 -1
  17. package/dist/esm/models/IntegrationListingGradient.d.ts +1 -1
  18. package/dist/esm/models/IntegrationListingGradient.js +1 -1
  19. package/dist/esm/models/IntegrationListingsResponse.d.ts +1 -1
  20. package/dist/esm/models/IntegrationListingsResponse.js +1 -1
  21. package/dist/esm/models/IntegrationProduct.d.ts +1 -1
  22. package/dist/esm/models/IntegrationProduct.js +1 -1
  23. package/dist/esm/models/IntegrationProductsResponse.d.ts +1 -1
  24. package/dist/esm/models/IntegrationProductsResponse.js +1 -1
  25. package/dist/esm/models/IntegrationsResponse.d.ts +1 -1
  26. package/dist/esm/models/IntegrationsResponse.js +8 -11
  27. package/dist/esm/models/index.d.ts +2 -0
  28. package/dist/esm/models/index.js +2 -0
  29. package/dist/esm/runtime.d.ts +1 -1
  30. package/dist/esm/runtime.js +1 -1
  31. package/dist/models/ApiError.d.ts +1 -1
  32. package/dist/models/ApiError.js +1 -1
  33. package/dist/models/Integration.d.ts +9 -26
  34. package/dist/models/Integration.js +10 -26
  35. package/dist/models/IntegrationCategoriesResponse.d.ts +1 -1
  36. package/dist/models/IntegrationCategoriesResponse.js +1 -1
  37. package/dist/models/IntegrationCategory.d.ts +1 -1
  38. package/dist/models/IntegrationCategory.js +1 -1
  39. package/dist/models/IntegrationListing.d.ts +1 -1
  40. package/dist/models/IntegrationListing.js +1 -1
  41. package/dist/models/IntegrationListingGradient.d.ts +1 -1
  42. package/dist/models/IntegrationListingGradient.js +1 -1
  43. package/dist/models/IntegrationListingsResponse.d.ts +1 -1
  44. package/dist/models/IntegrationListingsResponse.js +1 -1
  45. package/dist/models/IntegrationProduct.d.ts +1 -1
  46. package/dist/models/IntegrationProduct.js +1 -1
  47. package/dist/models/IntegrationProductsResponse.d.ts +1 -1
  48. package/dist/models/IntegrationProductsResponse.js +1 -1
  49. package/dist/models/IntegrationsResponse.d.ts +1 -1
  50. package/dist/models/IntegrationsResponse.js +8 -11
  51. package/dist/models/index.d.ts +2 -0
  52. package/dist/models/index.js +2 -0
  53. package/dist/runtime.d.ts +1 -1
  54. package/dist/runtime.js +1 -1
  55. package/package.json +1 -1
  56. package/src/apis/IntegrationsApi.ts +48 -1
  57. package/src/models/ApiError.ts +1 -1
  58. package/src/models/Integration.ts +17 -57
  59. package/src/models/IntegrationCategoriesResponse.ts +1 -1
  60. package/src/models/IntegrationCategory.ts +1 -1
  61. package/src/models/IntegrationListing.ts +1 -1
  62. package/src/models/IntegrationListingGradient.ts +1 -1
  63. package/src/models/IntegrationListingsResponse.ts +1 -1
  64. package/src/models/IntegrationProduct.ts +1 -1
  65. package/src/models/IntegrationProductsResponse.ts +1 -1
  66. package/src/models/IntegrationsResponse.ts +8 -13
  67. package/src/models/index.ts +2 -0
  68. package/src/runtime.ts +1 -1
@@ -6,6 +6,7 @@ src/apis/IntegrationsApi.ts
6
6
  src/apis/index.ts
7
7
  src/index.ts
8
8
  src/models/ApiError.ts
9
+ src/models/Integration.ts
9
10
  src/models/IntegrationCategoriesResponse.ts
10
11
  src/models/IntegrationCategory.ts
11
12
  src/models/IntegrationListing.ts
@@ -13,6 +14,7 @@ src/models/IntegrationListingGradient.ts
13
14
  src/models/IntegrationListingsResponse.ts
14
15
  src/models/IntegrationProduct.ts
15
16
  src/models/IntegrationProductsResponse.ts
17
+ src/models/IntegrationsResponse.ts
16
18
  src/models/index.ts
17
19
  src/runtime.ts
18
20
  tsconfig.esm.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.8.4
1
+ ## @teemill/integrations@0.9.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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.8.4 --save
39
+ npm install @teemill/integrations@0.9.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse } from '../models/index';
13
+ import type { IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse } from '../models/index';
14
14
  export interface GetIntegrationCategoryRequest {
15
15
  category: string;
16
16
  }
@@ -88,4 +88,14 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
88
88
  * List integration products
89
89
  */
90
90
  getIntegrationProducts(integration: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationProductsResponse>;
91
+ /**
92
+ * List all integrations
93
+ * List integrations
94
+ */
95
+ getIntegrationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationsResponse>>;
96
+ /**
97
+ * List all integrations
98
+ * List integrations
99
+ */
100
+ getIntegrations(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
91
101
  }
@@ -5,7 +5,7 @@
5
5
  * Integrations API
6
6
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.8.4
8
+ * The version of the OpenAPI document: 0.9.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -256,5 +256,39 @@ class IntegrationsApi extends runtime.BaseAPI {
256
256
  return yield response.value();
257
257
  });
258
258
  }
259
+ /**
260
+ * List all integrations
261
+ * List integrations
262
+ */
263
+ getIntegrationsRaw(initOverrides) {
264
+ return __awaiter(this, void 0, void 0, function* () {
265
+ const queryParameters = {};
266
+ const headerParameters = {};
267
+ if (this.configuration && this.configuration.accessToken) {
268
+ // oauth required
269
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
270
+ }
271
+ if (this.configuration && this.configuration.apiKey) {
272
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
273
+ }
274
+ const response = yield this.request({
275
+ path: `/v1/integrations`,
276
+ method: 'GET',
277
+ headers: headerParameters,
278
+ query: queryParameters,
279
+ }, initOverrides);
280
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IntegrationsResponseFromJSON)(jsonValue));
281
+ });
282
+ }
283
+ /**
284
+ * List all integrations
285
+ * List integrations
286
+ */
287
+ getIntegrations(initOverrides) {
288
+ return __awaiter(this, void 0, void 0, function* () {
289
+ const response = yield this.getIntegrationsRaw(initOverrides);
290
+ return yield response.value();
291
+ });
292
+ }
259
293
  }
260
294
  exports.IntegrationsApi = IntegrationsApi;
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse } from '../models/index';
13
+ import type { IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse } from '../models/index';
14
14
  export interface GetIntegrationCategoryRequest {
15
15
  category: string;
16
16
  }
@@ -88,4 +88,14 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
88
88
  * List integration products
89
89
  */
90
90
  getIntegrationProducts(integration: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationProductsResponse>;
91
+ /**
92
+ * List all integrations
93
+ * List integrations
94
+ */
95
+ getIntegrationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationsResponse>>;
96
+ /**
97
+ * List all integrations
98
+ * List integrations
99
+ */
100
+ getIntegrations(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationsResponse>;
91
101
  }
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { IntegrationCategoriesResponseFromJSON, IntegrationListingFromJSON, IntegrationListingsResponseFromJSON, IntegrationProductFromJSON, IntegrationProductsResponseFromJSON, } from '../models/index';
24
+ import { IntegrationCategoriesResponseFromJSON, IntegrationListingFromJSON, IntegrationListingsResponseFromJSON, IntegrationProductFromJSON, IntegrationProductsResponseFromJSON, IntegrationsResponseFromJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -253,4 +253,38 @@ export class IntegrationsApi extends runtime.BaseAPI {
253
253
  return yield response.value();
254
254
  });
255
255
  }
256
+ /**
257
+ * List all integrations
258
+ * List integrations
259
+ */
260
+ getIntegrationsRaw(initOverrides) {
261
+ return __awaiter(this, void 0, void 0, function* () {
262
+ const queryParameters = {};
263
+ const headerParameters = {};
264
+ if (this.configuration && this.configuration.accessToken) {
265
+ // oauth required
266
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
267
+ }
268
+ if (this.configuration && this.configuration.apiKey) {
269
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
270
+ }
271
+ const response = yield this.request({
272
+ path: `/v1/integrations`,
273
+ method: 'GET',
274
+ headers: headerParameters,
275
+ query: queryParameters,
276
+ }, initOverrides);
277
+ return new runtime.JSONApiResponse(response, (jsonValue) => IntegrationsResponseFromJSON(jsonValue));
278
+ });
279
+ }
280
+ /**
281
+ * List all integrations
282
+ * List integrations
283
+ */
284
+ getIntegrations(initOverrides) {
285
+ return __awaiter(this, void 0, void 0, function* () {
286
+ const response = yield this.getIntegrationsRaw(initOverrides);
287
+ return yield response.value();
288
+ });
289
+ }
256
290
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,14 +2,13 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.7.0
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { IntegrationInfo } from './IntegrationInfo';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,35 +22,19 @@ export interface Integration {
23
22
  */
24
23
  readonly id?: number;
25
24
  /**
26
- *
27
- * @type {string}
28
- * @memberof Integration
29
- */
30
- name: string;
31
- /**
32
- *
25
+ * The code of the integration
33
26
  * @type {string}
34
27
  * @memberof Integration
35
28
  */
36
- code: string;
29
+ code?: string;
37
30
  /**
38
- *
39
- * @type {object}
40
- * @memberof Integration
41
- */
42
- config: object;
43
- /**
44
- *
45
- * @type {IntegrationInfo}
46
- * @memberof Integration
47
- */
48
- info: IntegrationInfo;
49
- /**
50
- *
51
- * @type {Array<string>}
31
+ * The configuration of the integration
32
+ * @type {{ [key: string]: string; }}
52
33
  * @memberof Integration
53
34
  */
54
- dependencies?: Array<string>;
35
+ config?: {
36
+ [key: string]: string;
37
+ };
55
38
  }
56
39
  /**
57
40
  * Check if a given object implements the Integration interface.
@@ -59,4 +42,4 @@ export interface Integration {
59
42
  export declare function instanceOfIntegration(value: object): boolean;
60
43
  export declare function IntegrationFromJSON(json: any): Integration;
61
44
  export declare function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration;
62
- export declare function IntegrationToJSON(value?: Integration | null): any;
45
+ export declare function IntegrationToJSON(value?: Omit<Integration, 'id'> | null): any;
@@ -4,54 +4,38 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.7.0
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
- import { IntegrationInfoFromJSON, IntegrationInfoToJSON, } from './IntegrationInfo';
16
14
  /**
17
15
  * Check if a given object implements the Integration interface.
18
16
  */
19
17
  export function instanceOfIntegration(value) {
20
- let isInstance = true;
21
- isInstance = isInstance && "name" in value;
22
- isInstance = isInstance && "code" in value;
23
- isInstance = isInstance && "config" in value;
24
- isInstance = isInstance && "info" in value;
25
- return isInstance;
18
+ return true;
26
19
  }
27
20
  export function IntegrationFromJSON(json) {
28
21
  return IntegrationFromJSONTyped(json, false);
29
22
  }
30
23
  export function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
24
+ if (json == null) {
32
25
  return json;
33
26
  }
34
27
  return {
35
- 'id': !exists(json, 'id') ? undefined : json['id'],
36
- 'name': json['name'],
37
- 'code': json['code'],
38
- 'config': json['config'],
39
- 'info': IntegrationInfoFromJSON(json['info']),
40
- 'dependencies': !exists(json, 'dependencies') ? undefined : json['dependencies'],
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'code': json['code'] == null ? undefined : json['code'],
30
+ 'config': json['config'] == null ? undefined : json['config'],
41
31
  };
42
32
  }
43
33
  export function IntegrationToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
34
+ if (value == null) {
35
+ return value;
49
36
  }
50
37
  return {
51
- 'name': value.name,
52
- 'code': value.code,
53
- 'config': value.config,
54
- 'info': IntegrationInfoToJSON(value.info),
55
- 'dependencies': value.dependencies,
38
+ 'code': value['code'],
39
+ 'config': value['config'],
56
40
  };
57
41
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.7.0
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.7.0
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,15 +16,15 @@ import { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
16
16
  * Check if a given object implements the IntegrationsResponse interface.
17
17
  */
18
18
  export function instanceOfIntegrationsResponse(value) {
19
- let isInstance = true;
20
- isInstance = isInstance && "integrations" in value;
21
- return isInstance;
19
+ if (!('integrations' in value))
20
+ return false;
21
+ return true;
22
22
  }
23
23
  export function IntegrationsResponseFromJSON(json) {
24
24
  return IntegrationsResponseFromJSONTyped(json, false);
25
25
  }
26
26
  export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
27
+ if (json == null) {
28
28
  return json;
29
29
  }
30
30
  return {
@@ -32,13 +32,10 @@ export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
32
  };
33
33
  }
34
34
  export function IntegrationsResponseToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
35
+ if (value == null) {
36
+ return value;
40
37
  }
41
38
  return {
42
- 'integrations': (value.integrations.map(IntegrationToJSON)),
39
+ 'integrations': (value['integrations'].map(IntegrationToJSON)),
43
40
  };
44
41
  }
@@ -1,4 +1,5 @@
1
1
  export * from './ApiError';
2
+ export * from './Integration';
2
3
  export * from './IntegrationCategoriesResponse';
3
4
  export * from './IntegrationCategory';
4
5
  export * from './IntegrationListing';
@@ -6,3 +7,4 @@ export * from './IntegrationListingGradient';
6
7
  export * from './IntegrationListingsResponse';
7
8
  export * from './IntegrationProduct';
8
9
  export * from './IntegrationProductsResponse';
10
+ export * from './IntegrationsResponse';
@@ -1,6 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './ApiError';
4
+ export * from './Integration';
4
5
  export * from './IntegrationCategoriesResponse';
5
6
  export * from './IntegrationCategory';
6
7
  export * from './IntegrationListing';
@@ -8,3 +9,4 @@ export * from './IntegrationListingGradient';
8
9
  export * from './IntegrationListingsResponse';
9
10
  export * from './IntegrationProduct';
10
11
  export * from './IntegrationProductsResponse';
12
+ export * from './IntegrationsResponse';
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.9.0
8
8
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.9.0
6
6
  * Contact: hello@teemill.com
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 Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.8.4
8
+ * The version of the OpenAPI document: 0.9.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).