@teemill/integrations 0.9.0 → 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 +3 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/IntegrationsApi.d.ts +65 -2
  5. package/dist/apis/IntegrationsApi.js +197 -1
  6. package/dist/esm/apis/IntegrationsApi.d.ts +65 -2
  7. package/dist/esm/apis/IntegrationsApi.js +198 -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 +2 -2
  15. package/dist/esm/models/Integration.js +1 -1
  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 +2 -2
  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 +3 -0
  35. package/dist/esm/models/index.js +3 -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 +2 -2
  45. package/dist/models/Integration.js +1 -1
  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 +2 -2
  62. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  63. package/dist/models/UpdateAdminIntegrationListingRequest.js +56 -0
  64. package/dist/models/index.d.ts +3 -0
  65. package/dist/models/index.js +3 -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 +276 -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 +2 -2
  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 +3 -3
  82. package/src/models/UpdateAdminIntegrationListingRequest.ts +107 -0
  83. package/src/models/index.ts +3 -0
  84. package/src/runtime.ts +1 -1
@@ -0,0 +1,62 @@
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
+ import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateAdminIntegrationListingRequest
17
+ */
18
+ export interface UpdateAdminIntegrationListingRequest {
19
+ /**
20
+ * The name of the integration listing
21
+ * @type {string}
22
+ * @memberof UpdateAdminIntegrationListingRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ * The description of the integration listing
27
+ * @type {string}
28
+ * @memberof UpdateAdminIntegrationListingRequest
29
+ */
30
+ description?: string;
31
+ /**
32
+ * The html content of the integration listing
33
+ * @type {string}
34
+ * @memberof UpdateAdminIntegrationListingRequest
35
+ */
36
+ content?: string;
37
+ /**
38
+ * The slug of the integration listing that is used in the URL
39
+ * @type {string}
40
+ * @memberof UpdateAdminIntegrationListingRequest
41
+ */
42
+ slug?: string;
43
+ /**
44
+ *
45
+ * @type {CreateAdminIntegrationListingRequestGradient}
46
+ * @memberof UpdateAdminIntegrationListingRequest
47
+ */
48
+ gradient?: CreateAdminIntegrationListingRequestGradient;
49
+ /**
50
+ * The icon of the integration listing
51
+ * @type {string}
52
+ * @memberof UpdateAdminIntegrationListingRequest
53
+ */
54
+ icon?: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
58
+ */
59
+ export declare function instanceOfUpdateAdminIntegrationListingRequest(value: object): value is UpdateAdminIntegrationListingRequest;
60
+ export declare function UpdateAdminIntegrationListingRequestFromJSON(json: any): UpdateAdminIntegrationListingRequest;
61
+ export declare function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminIntegrationListingRequest;
62
+ export declare function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIntegrationListingRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Integrations API
5
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.10.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { CreateAdminIntegrationListingRequestGradientFromJSON, CreateAdminIntegrationListingRequestGradientToJSON, } from './CreateAdminIntegrationListingRequestGradient';
15
+ /**
16
+ * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
17
+ */
18
+ export function instanceOfUpdateAdminIntegrationListingRequest(value) {
19
+ return true;
20
+ }
21
+ export function UpdateAdminIntegrationListingRequestFromJSON(json) {
22
+ return UpdateAdminIntegrationListingRequestFromJSONTyped(json, false);
23
+ }
24
+ export function UpdateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'name': json['name'] == null ? undefined : json['name'],
30
+ 'description': json['description'] == null ? undefined : json['description'],
31
+ 'content': json['content'] == null ? undefined : json['content'],
32
+ 'slug': json['slug'] == null ? undefined : json['slug'],
33
+ 'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
34
+ 'icon': json['icon'] == null ? undefined : json['icon'],
35
+ };
36
+ }
37
+ export function UpdateAdminIntegrationListingRequestToJSON(value) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'name': value['name'],
43
+ 'description': value['description'],
44
+ 'content': value['content'],
45
+ 'slug': value['slug'],
46
+ 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
47
+ 'icon': value['icon'],
48
+ };
49
+ }
@@ -1,4 +1,6 @@
1
1
  export * from './ApiError';
2
+ export * from './CreateAdminIntegrationListingRequest';
3
+ export * from './CreateAdminIntegrationListingRequestGradient';
2
4
  export * from './Integration';
3
5
  export * from './IntegrationCategoriesResponse';
4
6
  export * from './IntegrationCategory';
@@ -8,3 +10,4 @@ export * from './IntegrationListingsResponse';
8
10
  export * from './IntegrationProduct';
9
11
  export * from './IntegrationProductsResponse';
10
12
  export * from './IntegrationsResponse';
13
+ export * from './UpdateAdminIntegrationListingRequest';
@@ -1,6 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './ApiError';
4
+ export * from './CreateAdminIntegrationListingRequest';
5
+ export * from './CreateAdminIntegrationListingRequestGradient';
4
6
  export * from './Integration';
5
7
  export * from './IntegrationCategoriesResponse';
6
8
  export * from './IntegrationCategory';
@@ -10,3 +12,4 @@ export * from './IntegrationListingsResponse';
10
12
  export * from './IntegrationProduct';
11
13
  export * from './IntegrationProductsResponse';
12
14
  export * from './IntegrationsResponse';
15
+ export * from './UpdateAdminIntegrationListingRequest';
@@ -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.9.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).
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.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.9.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).
@@ -31,7 +31,7 @@ export interface ApiError {
31
31
  /**
32
32
  * Check if a given object implements the ApiError interface.
33
33
  */
34
- export declare function instanceOfApiError(value: object): boolean;
34
+ export declare function instanceOfApiError(value: object): value is ApiError;
35
35
  export declare function ApiErrorFromJSON(json: any): ApiError;
36
36
  export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
37
37
  export declare function ApiErrorToJSON(value?: ApiError | 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.9.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).
@@ -18,7 +18,7 @@ exports.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSO
18
18
  * Check if a given object implements the ApiError interface.
19
19
  */
20
20
  function instanceOfApiError(value) {
21
- if (!('message' in value))
21
+ if (!('message' in value) || value['message'] === undefined)
22
22
  return false;
23
23
  return true;
24
24
  }
@@ -0,0 +1,62 @@
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
+ import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAdminIntegrationListingRequest
17
+ */
18
+ export interface CreateAdminIntegrationListingRequest {
19
+ /**
20
+ * The name of the integration listing
21
+ * @type {string}
22
+ * @memberof CreateAdminIntegrationListingRequest
23
+ */
24
+ name: string;
25
+ /**
26
+ * The description of the integration listing
27
+ * @type {string}
28
+ * @memberof CreateAdminIntegrationListingRequest
29
+ */
30
+ description: string;
31
+ /**
32
+ * The html content of the integration listing
33
+ * @type {string}
34
+ * @memberof CreateAdminIntegrationListingRequest
35
+ */
36
+ content: string;
37
+ /**
38
+ * The slug of the integration listing that is used in the URL
39
+ * @type {string}
40
+ * @memberof CreateAdminIntegrationListingRequest
41
+ */
42
+ slug: string;
43
+ /**
44
+ *
45
+ * @type {CreateAdminIntegrationListingRequestGradient}
46
+ * @memberof CreateAdminIntegrationListingRequest
47
+ */
48
+ gradient: CreateAdminIntegrationListingRequestGradient;
49
+ /**
50
+ * The icon of the integration listing
51
+ * @type {string}
52
+ * @memberof CreateAdminIntegrationListingRequest
53
+ */
54
+ icon: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
58
+ */
59
+ export declare function instanceOfCreateAdminIntegrationListingRequest(value: object): value is CreateAdminIntegrationListingRequest;
60
+ export declare function CreateAdminIntegrationListingRequestFromJSON(json: any): CreateAdminIntegrationListingRequest;
61
+ export declare function CreateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequest;
62
+ export declare function CreateAdminIntegrationListingRequestToJSON(value?: CreateAdminIntegrationListingRequest | null): any;
@@ -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,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.9.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).
@@ -39,7 +39,7 @@ export interface Integration {
39
39
  /**
40
40
  * Check if a given object implements the Integration interface.
41
41
  */
42
- export declare function instanceOfIntegration(value: object): boolean;
42
+ export declare function instanceOfIntegration(value: object): value is Integration;
43
43
  export declare function IntegrationFromJSON(json: any): Integration;
44
44
  export declare function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration;
45
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.9.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).
@@ -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.9.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 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.9.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).
@@ -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.9.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).
@@ -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.9.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).
@@ -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.9.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).
@@ -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.9.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).
@@ -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.9.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).
@@ -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.9.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).
@@ -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.9.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 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.9.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).
@@ -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
  }