@teemill/integrations 0.8.4 → 0.10.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 (84) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/IntegrationsApi.d.ts +75 -2
  5. package/dist/apis/IntegrationsApi.js +231 -1
  6. package/dist/esm/apis/IntegrationsApi.d.ts +75 -2
  7. package/dist/esm/apis/IntegrationsApi.js +232 -2
  8. package/dist/esm/models/ApiError.d.ts +2 -2
  9. package/dist/esm/models/ApiError.js +2 -2
  10. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  11. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +61 -0
  12. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  13. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +40 -0
  14. package/dist/esm/models/Integration.d.ts +10 -27
  15. package/dist/esm/models/Integration.js +10 -26
  16. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +2 -2
  17. package/dist/esm/models/IntegrationCategoriesResponse.js +2 -2
  18. package/dist/esm/models/IntegrationCategory.d.ts +2 -2
  19. package/dist/esm/models/IntegrationCategory.js +4 -4
  20. package/dist/esm/models/IntegrationListing.d.ts +2 -2
  21. package/dist/esm/models/IntegrationListing.js +11 -11
  22. package/dist/esm/models/IntegrationListingGradient.d.ts +2 -2
  23. package/dist/esm/models/IntegrationListingGradient.js +1 -1
  24. package/dist/esm/models/IntegrationListingsResponse.d.ts +2 -2
  25. package/dist/esm/models/IntegrationListingsResponse.js +2 -2
  26. package/dist/esm/models/IntegrationProduct.d.ts +2 -2
  27. package/dist/esm/models/IntegrationProduct.js +6 -6
  28. package/dist/esm/models/IntegrationProductsResponse.d.ts +2 -2
  29. package/dist/esm/models/IntegrationProductsResponse.js +2 -2
  30. package/dist/esm/models/IntegrationsResponse.d.ts +2 -2
  31. package/dist/esm/models/IntegrationsResponse.js +8 -11
  32. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  33. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +49 -0
  34. package/dist/esm/models/index.d.ts +5 -0
  35. package/dist/esm/models/index.js +5 -0
  36. package/dist/esm/runtime.d.ts +1 -1
  37. package/dist/esm/runtime.js +1 -1
  38. package/dist/models/ApiError.d.ts +2 -2
  39. package/dist/models/ApiError.js +2 -2
  40. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  41. package/dist/models/CreateAdminIntegrationListingRequest.js +68 -0
  42. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  43. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +47 -0
  44. package/dist/models/Integration.d.ts +10 -27
  45. package/dist/models/Integration.js +10 -26
  46. package/dist/models/IntegrationCategoriesResponse.d.ts +2 -2
  47. package/dist/models/IntegrationCategoriesResponse.js +2 -2
  48. package/dist/models/IntegrationCategory.d.ts +2 -2
  49. package/dist/models/IntegrationCategory.js +4 -4
  50. package/dist/models/IntegrationListing.d.ts +2 -2
  51. package/dist/models/IntegrationListing.js +11 -11
  52. package/dist/models/IntegrationListingGradient.d.ts +2 -2
  53. package/dist/models/IntegrationListingGradient.js +1 -1
  54. package/dist/models/IntegrationListingsResponse.d.ts +2 -2
  55. package/dist/models/IntegrationListingsResponse.js +2 -2
  56. package/dist/models/IntegrationProduct.d.ts +2 -2
  57. package/dist/models/IntegrationProduct.js +6 -6
  58. package/dist/models/IntegrationProductsResponse.d.ts +2 -2
  59. package/dist/models/IntegrationProductsResponse.js +2 -2
  60. package/dist/models/IntegrationsResponse.d.ts +2 -2
  61. package/dist/models/IntegrationsResponse.js +8 -11
  62. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  63. package/dist/models/UpdateAdminIntegrationListingRequest.js +56 -0
  64. package/dist/models/index.d.ts +5 -0
  65. package/dist/models/index.js +5 -0
  66. package/dist/runtime.d.ts +1 -1
  67. package/dist/runtime.js +1 -1
  68. package/package.json +2 -2
  69. package/src/apis/IntegrationsApi.ts +323 -1
  70. package/src/models/ApiError.ts +3 -3
  71. package/src/models/CreateAdminIntegrationListingRequest.ts +113 -0
  72. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +68 -0
  73. package/src/models/Integration.ts +18 -58
  74. package/src/models/IntegrationCategoriesResponse.ts +3 -3
  75. package/src/models/IntegrationCategory.ts +5 -5
  76. package/src/models/IntegrationListing.ts +12 -12
  77. package/src/models/IntegrationListingGradient.ts +2 -2
  78. package/src/models/IntegrationListingsResponse.ts +3 -3
  79. package/src/models/IntegrationProduct.ts +7 -7
  80. package/src/models/IntegrationProductsResponse.ts +3 -3
  81. package/src/models/IntegrationsResponse.ts +9 -14
  82. package/src/models/UpdateAdminIntegrationListingRequest.ts +107 -0
  83. package/src/models/index.ts +5 -0
  84. package/src/runtime.ts +1 -1
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.10.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateAdminIntegrationListingRequestToJSON = exports.CreateAdminIntegrationListingRequestFromJSONTyped = exports.CreateAdminIntegrationListingRequestFromJSON = exports.instanceOfCreateAdminIntegrationListingRequest = void 0;
17
+ const CreateAdminIntegrationListingRequestGradient_1 = require("./CreateAdminIntegrationListingRequestGradient");
18
+ /**
19
+ * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
20
+ */
21
+ function instanceOfCreateAdminIntegrationListingRequest(value) {
22
+ if (!('name' in value) || value['name'] === undefined)
23
+ return false;
24
+ if (!('description' in value) || value['description'] === undefined)
25
+ return false;
26
+ if (!('content' in value) || value['content'] === undefined)
27
+ return false;
28
+ if (!('slug' in value) || value['slug'] === undefined)
29
+ return false;
30
+ if (!('gradient' in value) || value['gradient'] === undefined)
31
+ return false;
32
+ if (!('icon' in value) || value['icon'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ exports.instanceOfCreateAdminIntegrationListingRequest = instanceOfCreateAdminIntegrationListingRequest;
37
+ function CreateAdminIntegrationListingRequestFromJSON(json) {
38
+ return CreateAdminIntegrationListingRequestFromJSONTyped(json, false);
39
+ }
40
+ exports.CreateAdminIntegrationListingRequestFromJSON = CreateAdminIntegrationListingRequestFromJSON;
41
+ function CreateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'name': json['name'],
47
+ 'description': json['description'],
48
+ 'content': json['content'],
49
+ 'slug': json['slug'],
50
+ 'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientFromJSON)(json['gradient']),
51
+ 'icon': json['icon'],
52
+ };
53
+ }
54
+ exports.CreateAdminIntegrationListingRequestFromJSONTyped = CreateAdminIntegrationListingRequestFromJSONTyped;
55
+ function CreateAdminIntegrationListingRequestToJSON(value) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'name': value['name'],
61
+ 'description': value['description'],
62
+ 'content': value['content'],
63
+ 'slug': value['slug'],
64
+ 'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientToJSON)(value['gradient']),
65
+ 'icon': value['icon'],
66
+ };
67
+ }
68
+ exports.CreateAdminIntegrationListingRequestToJSON = CreateAdminIntegrationListingRequestToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Integrations API
3
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.10.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The gradient that is used to display the listing
14
+ * @export
15
+ * @interface CreateAdminIntegrationListingRequestGradient
16
+ */
17
+ export interface CreateAdminIntegrationListingRequestGradient {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAdminIntegrationListingRequestGradient
22
+ */
23
+ from?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateAdminIntegrationListingRequestGradient
28
+ */
29
+ to?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
33
+ */
34
+ export declare function instanceOfCreateAdminIntegrationListingRequestGradient(value: object): value is CreateAdminIntegrationListingRequestGradient;
35
+ export declare function CreateAdminIntegrationListingRequestGradientFromJSON(json: any): CreateAdminIntegrationListingRequestGradient;
36
+ export declare function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequestGradient;
37
+ export declare function CreateAdminIntegrationListingRequestGradientToJSON(value?: CreateAdminIntegrationListingRequestGradient | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.10.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateAdminIntegrationListingRequestGradientToJSON = exports.CreateAdminIntegrationListingRequestGradientFromJSONTyped = exports.CreateAdminIntegrationListingRequestGradientFromJSON = exports.instanceOfCreateAdminIntegrationListingRequestGradient = void 0;
17
+ /**
18
+ * Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
19
+ */
20
+ function instanceOfCreateAdminIntegrationListingRequestGradient(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfCreateAdminIntegrationListingRequestGradient = instanceOfCreateAdminIntegrationListingRequestGradient;
24
+ function CreateAdminIntegrationListingRequestGradientFromJSON(json) {
25
+ return CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, false);
26
+ }
27
+ exports.CreateAdminIntegrationListingRequestGradientFromJSON = CreateAdminIntegrationListingRequestGradientFromJSON;
28
+ function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'from': json['from'] == null ? undefined : json['from'],
34
+ 'to': json['to'] == null ? undefined : json['to'],
35
+ };
36
+ }
37
+ exports.CreateAdminIntegrationListingRequestGradientFromJSONTyped = CreateAdminIntegrationListingRequestGradientFromJSONTyped;
38
+ function CreateAdminIntegrationListingRequestGradientToJSON(value) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'from': value['from'],
44
+ 'to': value['to'],
45
+ };
46
+ }
47
+ exports.CreateAdminIntegrationListingRequestGradientToJSON = CreateAdminIntegrationListingRequestGradientToJSON;
@@ -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.10.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,40 +22,24 @@ 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.
58
41
  */
59
- export declare function instanceOfIntegration(value: object): boolean;
42
+ export declare function instanceOfIntegration(value: object): value is Integration;
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;
@@ -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.7.0
8
+ * The version of the OpenAPI document: 0.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -14,18 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
17
- const runtime_1 = require("../runtime");
18
- const IntegrationInfo_1 = require("./IntegrationInfo");
19
17
  /**
20
18
  * Check if a given object implements the Integration interface.
21
19
  */
22
20
  function instanceOfIntegration(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "name" in value;
25
- isInstance = isInstance && "code" in value;
26
- isInstance = isInstance && "config" in value;
27
- isInstance = isInstance && "info" in value;
28
- return isInstance;
21
+ return true;
29
22
  }
30
23
  exports.instanceOfIntegration = instanceOfIntegration;
31
24
  function IntegrationFromJSON(json) {
@@ -33,32 +26,23 @@ function IntegrationFromJSON(json) {
33
26
  }
34
27
  exports.IntegrationFromJSON = IntegrationFromJSON;
35
28
  function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
36
- if ((json === undefined) || (json === null)) {
29
+ if (json == null) {
37
30
  return json;
38
31
  }
39
32
  return {
40
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
41
- 'name': json['name'],
42
- 'code': json['code'],
43
- 'config': json['config'],
44
- 'info': (0, IntegrationInfo_1.IntegrationInfoFromJSON)(json['info']),
45
- 'dependencies': !(0, runtime_1.exists)(json, 'dependencies') ? undefined : json['dependencies'],
33
+ 'id': json['id'] == null ? undefined : json['id'],
34
+ 'code': json['code'] == null ? undefined : json['code'],
35
+ 'config': json['config'] == null ? undefined : json['config'],
46
36
  };
47
37
  }
48
38
  exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
49
39
  function IntegrationToJSON(value) {
50
- if (value === undefined) {
51
- return undefined;
52
- }
53
- if (value === null) {
54
- return null;
40
+ if (value == null) {
41
+ return value;
55
42
  }
56
43
  return {
57
- 'name': value.name,
58
- 'code': value.code,
59
- 'config': value.config,
60
- 'info': (0, IntegrationInfo_1.IntegrationInfoToJSON)(value.info),
61
- 'dependencies': value.dependencies,
44
+ 'code': value['code'],
45
+ 'config': value['config'],
62
46
  };
63
47
  }
64
48
  exports.IntegrationToJSON = IntegrationToJSON;
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationCategoriesResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationCategoriesResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationCategoriesResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationCategoriesResponse(value: object): value is IntegrationCategoriesResponse;
30
30
  export declare function IntegrationCategoriesResponseFromJSON(json: any): IntegrationCategoriesResponse;
31
31
  export declare function IntegrationCategoriesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategoriesResponse;
32
32
  export declare function IntegrationCategoriesResponseToJSON(value?: IntegrationCategoriesResponse | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ const IntegrationCategory_1 = require("./IntegrationCategory");
19
19
  * Check if a given object implements the IntegrationCategoriesResponse interface.
20
20
  */
21
21
  function instanceOfIntegrationCategoriesResponse(value) {
22
- if (!('categories' in value))
22
+ if (!('categories' in value) || value['categories'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[key
46
46
  /**
47
47
  * Check if a given object implements the IntegrationCategory interface.
48
48
  */
49
- export declare function instanceOfIntegrationCategory(value: object): boolean;
49
+ export declare function instanceOfIntegrationCategory(value: object): value is IntegrationCategory;
50
50
  export declare function IntegrationCategoryFromJSON(json: any): IntegrationCategory;
51
51
  export declare function IntegrationCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategory;
52
52
  export declare function IntegrationCategoryToJSON(value?: IntegrationCategory | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,11 +26,11 @@ exports.IntegrationCategoryTypeEnum = {
26
26
  * Check if a given object implements the IntegrationCategory interface.
27
27
  */
28
28
  function instanceOfIntegrationCategory(value) {
29
- if (!('name' in value))
29
+ if (!('name' in value) || value['name'] === undefined)
30
30
  return false;
31
- if (!('slug' in value))
31
+ if (!('slug' in value) || value['slug'] === undefined)
32
32
  return false;
33
- if (!('type' in value))
33
+ if (!('type' in value) || value['type'] === undefined)
34
34
  return false;
35
35
  return true;
36
36
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -87,7 +87,7 @@ export interface IntegrationListing {
87
87
  /**
88
88
  * Check if a given object implements the IntegrationListing interface.
89
89
  */
90
- export declare function instanceOfIntegrationListing(value: object): boolean;
90
+ export declare function instanceOfIntegrationListing(value: object): value is IntegrationListing;
91
91
  export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
92
92
  export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
93
93
  export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,25 +20,25 @@ const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
20
20
  * Check if a given object implements the IntegrationListing interface.
21
21
  */
22
22
  function instanceOfIntegrationListing(value) {
23
- if (!('slug' in value))
23
+ if (!('slug' in value) || value['slug'] === undefined)
24
24
  return false;
25
- if (!('code' in value))
25
+ if (!('code' in value) || value['code'] === undefined)
26
26
  return false;
27
- if (!('name' in value))
27
+ if (!('name' in value) || value['name'] === undefined)
28
28
  return false;
29
- if (!('description' in value))
29
+ if (!('description' in value) || value['description'] === undefined)
30
30
  return false;
31
- if (!('content' in value))
31
+ if (!('content' in value) || value['content'] === undefined)
32
32
  return false;
33
- if (!('author' in value))
33
+ if (!('author' in value) || value['author'] === undefined)
34
34
  return false;
35
- if (!('icon' in value))
35
+ if (!('icon' in value) || value['icon'] === undefined)
36
36
  return false;
37
- if (!('gradient' in value))
37
+ if (!('gradient' in value) || value['gradient'] === undefined)
38
38
  return false;
39
- if (!('dependencies' in value))
39
+ if (!('dependencies' in value) || value['dependencies'] === undefined)
40
40
  return false;
41
- if (!('categories' in value))
41
+ if (!('categories' in value) || value['categories'] === undefined)
42
42
  return false;
43
43
  return true;
44
44
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ export interface IntegrationListingGradient {
31
31
  /**
32
32
  * Check if a given object implements the IntegrationListingGradient interface.
33
33
  */
34
- export declare function instanceOfIntegrationListingGradient(value: object): boolean;
34
+ export declare function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient;
35
35
  export declare function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient;
36
36
  export declare function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient;
37
37
  export declare function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
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 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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationListingsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationListingsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationListingsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse;
30
30
  export declare function IntegrationListingsResponseFromJSON(json: any): IntegrationListingsResponse;
31
31
  export declare function IntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingsResponse;
32
32
  export declare function IntegrationListingsResponseToJSON(value?: IntegrationListingsResponse | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ const IntegrationListing_1 = require("./IntegrationListing");
19
19
  * Check if a given object implements the IntegrationListingsResponse interface.
20
20
  */
21
21
  function instanceOfIntegrationListingsResponse(value) {
22
- if (!('listings' in value))
22
+ if (!('listings' in value) || value['listings'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,7 @@ export interface IntegrationProduct {
55
55
  /**
56
56
  * Check if a given object implements the IntegrationProduct interface.
57
57
  */
58
- export declare function instanceOfIntegrationProduct(value: object): boolean;
58
+ export declare function instanceOfIntegrationProduct(value: object): value is IntegrationProduct;
59
59
  export declare function IntegrationProductFromJSON(json: any): IntegrationProduct;
60
60
  export declare function IntegrationProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProduct;
61
61
  export declare function IntegrationProductToJSON(value?: Omit<IntegrationProduct, 'id'> | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,15 +18,15 @@ exports.IntegrationProductToJSON = exports.IntegrationProductFromJSONTyped = exp
18
18
  * Check if a given object implements the IntegrationProduct interface.
19
19
  */
20
20
  function instanceOfIntegrationProduct(value) {
21
- if (!('sku' in value))
21
+ if (!('sku' in value) || value['sku'] === undefined)
22
22
  return false;
23
- if (!('name' in value))
23
+ if (!('name' in value) || value['name'] === undefined)
24
24
  return false;
25
- if (!('slug' in value))
25
+ if (!('slug' in value) || value['slug'] === undefined)
26
26
  return false;
27
- if (!('description' in value))
27
+ if (!('description' in value) || value['description'] === undefined)
28
28
  return false;
29
- if (!('price' in value))
29
+ if (!('price' in value) || value['price'] === undefined)
30
30
  return false;
31
31
  return true;
32
32
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationProductsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationProductsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationProductsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationProductsResponse(value: object): value is IntegrationProductsResponse;
30
30
  export declare function IntegrationProductsResponseFromJSON(json: any): IntegrationProductsResponse;
31
31
  export declare function IntegrationProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProductsResponse;
32
32
  export declare function IntegrationProductsResponseToJSON(value?: IntegrationProductsResponse | null): any;
@@ -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.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ const IntegrationProduct_1 = require("./IntegrationProduct");
19
19
  * Check if a given object implements the IntegrationProductsResponse interface.
20
20
  */
21
21
  function instanceOfIntegrationProductsResponse(value) {
22
- if (!('products' in value))
22
+ if (!('products' in value) || value['products'] === undefined)
23
23
  return false;
24
24
  return true;
25
25
  }
@@ -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.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse;
30
30
  export declare function IntegrationsResponseFromJSON(json: any): IntegrationsResponse;
31
31
  export declare function IntegrationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationsResponse;
32
32
  export declare function IntegrationsResponseToJSON(value?: IntegrationsResponse | null): any;