@teemill/integrations 0.12.2 → 0.12.7

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 (141) hide show
  1. package/.openapi-generator/FILES +6 -21
  2. package/README.md +3 -3
  3. package/api.ts +1649 -0
  4. package/base.ts +86 -0
  5. package/common.ts +150 -0
  6. package/configuration.ts +110 -0
  7. package/dist/api.d.ts +1100 -0
  8. package/dist/api.js +910 -0
  9. package/dist/base.d.ts +66 -0
  10. package/dist/base.js +65 -0
  11. package/dist/common.d.ts +65 -0
  12. package/dist/common.js +161 -0
  13. package/dist/configuration.d.ts +91 -0
  14. package/dist/configuration.js +43 -0
  15. package/dist/esm/api.d.ts +1100 -0
  16. package/dist/esm/api.js +903 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +39 -0
  23. package/dist/esm/index.d.ts +13 -3
  24. package/dist/esm/index.js +13 -3
  25. package/dist/index.d.ts +13 -3
  26. package/dist/index.js +15 -5
  27. package/git_push.sh +57 -0
  28. package/index.ts +18 -0
  29. package/package.json +14 -2
  30. package/tsconfig.json +4 -6
  31. package/dist/apis/IntegrationsApi.d.ts +0 -164
  32. package/dist/apis/IntegrationsApi.js +0 -490
  33. package/dist/apis/index.d.ts +0 -1
  34. package/dist/apis/index.js +0 -19
  35. package/dist/esm/apis/IntegrationsApi.d.ts +0 -164
  36. package/dist/esm/apis/IntegrationsApi.js +0 -486
  37. package/dist/esm/apis/index.d.ts +0 -1
  38. package/dist/esm/apis/index.js +0 -3
  39. package/dist/esm/models/AdminIntegrationListing.d.ts +0 -101
  40. package/dist/esm/models/AdminIntegrationListing.js +0 -85
  41. package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +0 -32
  42. package/dist/esm/models/AdminIntegrationListingsResponse.js +0 -41
  43. package/dist/esm/models/ApiError.d.ts +0 -37
  44. package/dist/esm/models/ApiError.js +0 -42
  45. package/dist/esm/models/CategoriesResponse.d.ts +0 -32
  46. package/dist/esm/models/CategoriesResponse.js +0 -44
  47. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  48. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
  49. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
  50. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -42
  51. package/dist/esm/models/Icon.d.ts +0 -43
  52. package/dist/esm/models/Icon.js +0 -48
  53. package/dist/esm/models/Integration.d.ts +0 -45
  54. package/dist/esm/models/Integration.js +0 -41
  55. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
  56. package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
  57. package/dist/esm/models/IntegrationCategory.d.ts +0 -52
  58. package/dist/esm/models/IntegrationCategory.js +0 -56
  59. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  60. package/dist/esm/models/IntegrationInfo.js +0 -52
  61. package/dist/esm/models/IntegrationListing.d.ts +0 -94
  62. package/dist/esm/models/IntegrationListing.js +0 -80
  63. package/dist/esm/models/IntegrationListingGradient.d.ts +0 -43
  64. package/dist/esm/models/IntegrationListingGradient.js +0 -42
  65. package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
  66. package/dist/esm/models/IntegrationListingsResponse.js +0 -41
  67. package/dist/esm/models/IntegrationProduct.d.ts +0 -61
  68. package/dist/esm/models/IntegrationProduct.js +0 -57
  69. package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
  70. package/dist/esm/models/IntegrationProductsResponse.js +0 -41
  71. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  72. package/dist/esm/models/IntegrationsResponse.js +0 -41
  73. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  74. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
  75. package/dist/esm/models/index.d.ts +0 -16
  76. package/dist/esm/models/index.js +0 -18
  77. package/dist/esm/runtime.d.ts +0 -187
  78. package/dist/esm/runtime.js +0 -333
  79. package/dist/models/AdminIntegrationListing.d.ts +0 -101
  80. package/dist/models/AdminIntegrationListing.js +0 -92
  81. package/dist/models/AdminIntegrationListingsResponse.d.ts +0 -32
  82. package/dist/models/AdminIntegrationListingsResponse.js +0 -48
  83. package/dist/models/ApiError.d.ts +0 -37
  84. package/dist/models/ApiError.js +0 -49
  85. package/dist/models/CategoriesResponse.d.ts +0 -32
  86. package/dist/models/CategoriesResponse.js +0 -51
  87. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  88. package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
  89. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
  90. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -49
  91. package/dist/models/Icon.d.ts +0 -43
  92. package/dist/models/Icon.js +0 -55
  93. package/dist/models/Integration.d.ts +0 -45
  94. package/dist/models/Integration.js +0 -48
  95. package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
  96. package/dist/models/IntegrationCategoriesResponse.js +0 -48
  97. package/dist/models/IntegrationCategory.d.ts +0 -52
  98. package/dist/models/IntegrationCategory.js +0 -63
  99. package/dist/models/IntegrationInfo.d.ts +0 -49
  100. package/dist/models/IntegrationInfo.js +0 -59
  101. package/dist/models/IntegrationListing.d.ts +0 -94
  102. package/dist/models/IntegrationListing.js +0 -87
  103. package/dist/models/IntegrationListingGradient.d.ts +0 -43
  104. package/dist/models/IntegrationListingGradient.js +0 -49
  105. package/dist/models/IntegrationListingsResponse.d.ts +0 -32
  106. package/dist/models/IntegrationListingsResponse.js +0 -48
  107. package/dist/models/IntegrationProduct.d.ts +0 -61
  108. package/dist/models/IntegrationProduct.js +0 -64
  109. package/dist/models/IntegrationProductsResponse.d.ts +0 -32
  110. package/dist/models/IntegrationProductsResponse.js +0 -48
  111. package/dist/models/IntegrationsResponse.d.ts +0 -32
  112. package/dist/models/IntegrationsResponse.js +0 -48
  113. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  114. package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
  115. package/dist/models/index.d.ts +0 -16
  116. package/dist/models/index.js +0 -34
  117. package/dist/runtime.d.ts +0 -187
  118. package/dist/runtime.js +0 -349
  119. package/src/apis/IntegrationsApi.ts +0 -682
  120. package/src/apis/index.ts +0 -3
  121. package/src/index.ts +0 -5
  122. package/src/models/AdminIntegrationListing.ts +0 -183
  123. package/src/models/AdminIntegrationListingsResponse.ts +0 -68
  124. package/src/models/ApiError.ts +0 -69
  125. package/src/models/CategoriesResponse.ts +0 -73
  126. package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
  127. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -76
  128. package/src/models/Icon.ts +0 -79
  129. package/src/models/Integration.ts +0 -75
  130. package/src/models/IntegrationCategoriesResponse.ts +0 -68
  131. package/src/models/IntegrationCategory.ts +0 -91
  132. package/src/models/IntegrationInfo.ts +0 -93
  133. package/src/models/IntegrationListing.ts +0 -168
  134. package/src/models/IntegrationListingGradient.ts +0 -76
  135. package/src/models/IntegrationListingsResponse.ts +0 -68
  136. package/src/models/IntegrationProduct.ts +0 -104
  137. package/src/models/IntegrationProductsResponse.ts +0 -68
  138. package/src/models/IntegrationsResponse.ts +0 -68
  139. package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
  140. package/src/models/index.ts +0 -18
  141. package/src/runtime.ts +0 -441
@@ -1,43 +0,0 @@
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.12.2
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
- *
14
- * @export
15
- * @interface Icon
16
- */
17
- export interface Icon {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof Icon
22
- */
23
- prefix: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Icon
28
- */
29
- iconName: string;
30
- /**
31
- *
32
- * @type {object}
33
- * @memberof Icon
34
- */
35
- data: object;
36
- }
37
- /**
38
- * Check if a given object implements the Icon interface.
39
- */
40
- export declare function instanceOfIcon(value: object): value is Icon;
41
- export declare function IconFromJSON(json: any): Icon;
42
- export declare function IconFromJSONTyped(json: any, ignoreDiscriminator: boolean): Icon;
43
- export declare function IconToJSON(value?: Icon | null): any;
@@ -1,48 +0,0 @@
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.12.2
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
- /**
15
- * Check if a given object implements the Icon interface.
16
- */
17
- export function instanceOfIcon(value) {
18
- if (!('prefix' in value) || value['prefix'] === undefined)
19
- return false;
20
- if (!('iconName' in value) || value['iconName'] === undefined)
21
- return false;
22
- if (!('data' in value) || value['data'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- export function IconFromJSON(json) {
27
- return IconFromJSONTyped(json, false);
28
- }
29
- export function IconFromJSONTyped(json, ignoreDiscriminator) {
30
- if (json == null) {
31
- return json;
32
- }
33
- return {
34
- 'prefix': json['prefix'],
35
- 'iconName': json['iconName'],
36
- 'data': json['data'],
37
- };
38
- }
39
- export function IconToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'prefix': value['prefix'],
45
- 'iconName': value['iconName'],
46
- 'data': value['data'],
47
- };
48
- }
@@ -1,45 +0,0 @@
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.12.2
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
- *
14
- * @export
15
- * @interface Integration
16
- */
17
- export interface Integration {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof Integration
22
- */
23
- readonly id?: number;
24
- /**
25
- * The code of the integration
26
- * @type {string}
27
- * @memberof Integration
28
- */
29
- code?: string;
30
- /**
31
- * The configuration of the integration
32
- * @type {{ [key: string]: string; }}
33
- * @memberof Integration
34
- */
35
- config?: {
36
- [key: string]: string;
37
- };
38
- }
39
- /**
40
- * Check if a given object implements the Integration interface.
41
- */
42
- export declare function instanceOfIntegration(value: object): value is Integration;
43
- export declare function IntegrationFromJSON(json: any): Integration;
44
- export declare function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration;
45
- export declare function IntegrationToJSON(value?: Omit<Integration, 'id'> | null): any;
@@ -1,41 +0,0 @@
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.12.2
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
- /**
15
- * Check if a given object implements the Integration interface.
16
- */
17
- export function instanceOfIntegration(value) {
18
- return true;
19
- }
20
- export function IntegrationFromJSON(json) {
21
- return IntegrationFromJSONTyped(json, false);
22
- }
23
- export function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'id': json['id'] == null ? undefined : json['id'],
29
- 'code': json['code'] == null ? undefined : json['code'],
30
- 'config': json['config'] == null ? undefined : json['config'],
31
- };
32
- }
33
- export function IntegrationToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'code': value['code'],
39
- 'config': value['config'],
40
- };
41
- }
@@ -1,32 +0,0 @@
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.12.2
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 { IntegrationCategory } from './IntegrationCategory';
13
- /**
14
- *
15
- * @export
16
- * @interface IntegrationCategoriesResponse
17
- */
18
- export interface IntegrationCategoriesResponse {
19
- /**
20
- *
21
- * @type {Array<IntegrationCategory>}
22
- * @memberof IntegrationCategoriesResponse
23
- */
24
- categories: Array<IntegrationCategory>;
25
- }
26
- /**
27
- * Check if a given object implements the IntegrationCategoriesResponse interface.
28
- */
29
- export declare function instanceOfIntegrationCategoriesResponse(value: object): value is IntegrationCategoriesResponse;
30
- export declare function IntegrationCategoriesResponseFromJSON(json: any): IntegrationCategoriesResponse;
31
- export declare function IntegrationCategoriesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategoriesResponse;
32
- export declare function IntegrationCategoriesResponseToJSON(value?: IntegrationCategoriesResponse | null): any;
@@ -1,41 +0,0 @@
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.12.2
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 { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
15
- /**
16
- * Check if a given object implements the IntegrationCategoriesResponse interface.
17
- */
18
- export function instanceOfIntegrationCategoriesResponse(value) {
19
- if (!('categories' in value) || value['categories'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationCategoriesResponseFromJSON(json) {
24
- return IntegrationCategoriesResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationCategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
32
- };
33
- }
34
- export function IntegrationCategoriesResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'categories': (value['categories'].map(IntegrationCategoryToJSON)),
40
- };
41
- }
@@ -1,52 +0,0 @@
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.12.2
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
- *
14
- * @export
15
- * @interface IntegrationCategory
16
- */
17
- export interface IntegrationCategory {
18
- /**
19
- * The name of the category
20
- * @type {string}
21
- * @memberof IntegrationCategory
22
- */
23
- name: string;
24
- /**
25
- * The slug of the category that is used in the URL
26
- * @type {string}
27
- * @memberof IntegrationCategory
28
- */
29
- slug: string;
30
- /**
31
- * The type of category, used to determine how it is displayed
32
- * @type {string}
33
- * @memberof IntegrationCategory
34
- */
35
- type: IntegrationCategoryTypeEnum;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const IntegrationCategoryTypeEnum: {
41
- readonly Featured: "featured";
42
- readonly Grid: "grid";
43
- readonly Column: "column";
44
- };
45
- export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[keyof typeof IntegrationCategoryTypeEnum];
46
- /**
47
- * Check if a given object implements the IntegrationCategory interface.
48
- */
49
- export declare function instanceOfIntegrationCategory(value: object): value is IntegrationCategory;
50
- export declare function IntegrationCategoryFromJSON(json: any): IntegrationCategory;
51
- export declare function IntegrationCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategory;
52
- export declare function IntegrationCategoryToJSON(value?: IntegrationCategory | null): any;
@@ -1,56 +0,0 @@
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.12.2
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
- /**
15
- * @export
16
- */
17
- export const IntegrationCategoryTypeEnum = {
18
- Featured: 'featured',
19
- Grid: 'grid',
20
- Column: 'column'
21
- };
22
- /**
23
- * Check if a given object implements the IntegrationCategory interface.
24
- */
25
- export function instanceOfIntegrationCategory(value) {
26
- if (!('name' in value) || value['name'] === undefined)
27
- return false;
28
- if (!('slug' in value) || value['slug'] === undefined)
29
- return false;
30
- if (!('type' in value) || value['type'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- export function IntegrationCategoryFromJSON(json) {
35
- return IntegrationCategoryFromJSONTyped(json, false);
36
- }
37
- export function IntegrationCategoryFromJSONTyped(json, ignoreDiscriminator) {
38
- if (json == null) {
39
- return json;
40
- }
41
- return {
42
- 'name': json['name'],
43
- 'slug': json['slug'],
44
- 'type': json['type'],
45
- };
46
- }
47
- export function IntegrationCategoryToJSON(value) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'name': value['name'],
53
- 'slug': value['slug'],
54
- 'type': value['type'],
55
- };
56
- }
@@ -1,49 +0,0 @@
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.7.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
- *
14
- * @export
15
- * @interface IntegrationInfo
16
- */
17
- export interface IntegrationInfo {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IntegrationInfo
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof IntegrationInfo
28
- */
29
- description: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof IntegrationInfo
34
- */
35
- author: string;
36
- /**
37
- *
38
- * @type {object}
39
- * @memberof IntegrationInfo
40
- */
41
- icon: object;
42
- }
43
- /**
44
- * Check if a given object implements the IntegrationInfo interface.
45
- */
46
- export declare function instanceOfIntegrationInfo(value: object): boolean;
47
- export declare function IntegrationInfoFromJSON(json: any): IntegrationInfo;
48
- export declare function IntegrationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationInfo;
49
- export declare function IntegrationInfoToJSON(value?: IntegrationInfo | null): any;
@@ -1,52 +0,0 @@
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.7.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
- /**
15
- * Check if a given object implements the IntegrationInfo interface.
16
- */
17
- export function instanceOfIntegrationInfo(value) {
18
- let isInstance = true;
19
- isInstance = isInstance && "name" in value;
20
- isInstance = isInstance && "description" in value;
21
- isInstance = isInstance && "author" in value;
22
- isInstance = isInstance && "icon" in value;
23
- return isInstance;
24
- }
25
- export function IntegrationInfoFromJSON(json) {
26
- return IntegrationInfoFromJSONTyped(json, false);
27
- }
28
- export function IntegrationInfoFromJSONTyped(json, ignoreDiscriminator) {
29
- if ((json === undefined) || (json === null)) {
30
- return json;
31
- }
32
- return {
33
- 'name': json['name'],
34
- 'description': json['description'],
35
- 'author': json['author'],
36
- 'icon': json['icon'],
37
- };
38
- }
39
- export function IntegrationInfoToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'name': value.name,
48
- 'description': value.description,
49
- 'author': value.author,
50
- 'icon': value.icon,
51
- };
52
- }
@@ -1,94 +0,0 @@
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.12.2
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 { IntegrationCategory } from './IntegrationCategory';
13
- import type { IntegrationListingGradient } from './IntegrationListingGradient';
14
- import type { Icon } from './Icon';
15
- /**
16
- *
17
- * @export
18
- * @interface IntegrationListing
19
- */
20
- export interface IntegrationListing {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof IntegrationListing
25
- */
26
- readonly id?: number;
27
- /**
28
- * The slug of the integration listing that is used in the URL
29
- * @type {string}
30
- * @memberof IntegrationListing
31
- */
32
- slug: string;
33
- /**
34
- * The code of the integration
35
- * @type {string}
36
- * @memberof IntegrationListing
37
- */
38
- code: string;
39
- /**
40
- * The name of the integration listing
41
- * @type {string}
42
- * @memberof IntegrationListing
43
- */
44
- name: string;
45
- /**
46
- * The description of the integration listing
47
- * @type {string}
48
- * @memberof IntegrationListing
49
- */
50
- description: string;
51
- /**
52
- * The html content of the integration listing
53
- * @type {string}
54
- * @memberof IntegrationListing
55
- */
56
- content: string;
57
- /**
58
- * The author of the integration listing
59
- * @type {string}
60
- * @memberof IntegrationListing
61
- */
62
- author: string;
63
- /**
64
- *
65
- * @type {Icon}
66
- * @memberof IntegrationListing
67
- */
68
- icon: Icon;
69
- /**
70
- *
71
- * @type {IntegrationListingGradient}
72
- * @memberof IntegrationListing
73
- */
74
- gradient: IntegrationListingGradient;
75
- /**
76
- * The dependencies that this integration listing requires
77
- * @type {Array<string>}
78
- * @memberof IntegrationListing
79
- */
80
- dependencies: Array<string>;
81
- /**
82
- * The categories that this listing belongs to
83
- * @type {Array<IntegrationCategory>}
84
- * @memberof IntegrationListing
85
- */
86
- categories: Array<IntegrationCategory>;
87
- }
88
- /**
89
- * Check if a given object implements the IntegrationListing interface.
90
- */
91
- export declare function instanceOfIntegrationListing(value: object): value is IntegrationListing;
92
- export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
93
- export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
94
- export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any;
@@ -1,80 +0,0 @@
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.12.2
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 { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
15
- import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, } from './IntegrationListingGradient';
16
- import { IconFromJSON, IconToJSON, } from './Icon';
17
- /**
18
- * Check if a given object implements the IntegrationListing interface.
19
- */
20
- export function instanceOfIntegrationListing(value) {
21
- if (!('slug' in value) || value['slug'] === undefined)
22
- return false;
23
- if (!('code' in value) || value['code'] === undefined)
24
- return false;
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('description' in value) || value['description'] === undefined)
28
- return false;
29
- if (!('content' in value) || value['content'] === undefined)
30
- return false;
31
- if (!('author' in value) || value['author'] === undefined)
32
- return false;
33
- if (!('icon' in value) || value['icon'] === undefined)
34
- return false;
35
- if (!('gradient' in value) || value['gradient'] === undefined)
36
- return false;
37
- if (!('dependencies' in value) || value['dependencies'] === undefined)
38
- return false;
39
- if (!('categories' in value) || value['categories'] === undefined)
40
- return false;
41
- return true;
42
- }
43
- export function IntegrationListingFromJSON(json) {
44
- return IntegrationListingFromJSONTyped(json, false);
45
- }
46
- export function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'] == null ? undefined : json['id'],
52
- 'slug': json['slug'],
53
- 'code': json['code'],
54
- 'name': json['name'],
55
- 'description': json['description'],
56
- 'content': json['content'],
57
- 'author': json['author'],
58
- 'icon': IconFromJSON(json['icon']),
59
- 'gradient': IntegrationListingGradientFromJSON(json['gradient']),
60
- 'dependencies': json['dependencies'],
61
- 'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
62
- };
63
- }
64
- export function IntegrationListingToJSON(value) {
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'slug': value['slug'],
70
- 'code': value['code'],
71
- 'name': value['name'],
72
- 'description': value['description'],
73
- 'content': value['content'],
74
- 'author': value['author'],
75
- 'icon': IconToJSON(value['icon']),
76
- 'gradient': IntegrationListingGradientToJSON(value['gradient']),
77
- 'dependencies': value['dependencies'],
78
- 'categories': (value['categories'].map(IntegrationCategoryToJSON)),
79
- };
80
- }
@@ -1,43 +0,0 @@
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.12.2
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 IntegrationListingGradient
16
- */
17
- export interface IntegrationListingGradient {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IntegrationListingGradient
22
- */
23
- from?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof IntegrationListingGradient
28
- */
29
- to?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof IntegrationListingGradient
34
- */
35
- angle?: string;
36
- }
37
- /**
38
- * Check if a given object implements the IntegrationListingGradient interface.
39
- */
40
- export declare function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient;
41
- export declare function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient;
42
- export declare function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient;
43
- export declare function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any;