@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,55 +0,0 @@
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.12.2
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.IconToJSON = exports.IconFromJSONTyped = exports.IconFromJSON = exports.instanceOfIcon = void 0;
17
- /**
18
- * Check if a given object implements the Icon interface.
19
- */
20
- function instanceOfIcon(value) {
21
- if (!('prefix' in value) || value['prefix'] === undefined)
22
- return false;
23
- if (!('iconName' in value) || value['iconName'] === undefined)
24
- return false;
25
- if (!('data' in value) || value['data'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- exports.instanceOfIcon = instanceOfIcon;
30
- function IconFromJSON(json) {
31
- return IconFromJSONTyped(json, false);
32
- }
33
- exports.IconFromJSON = IconFromJSON;
34
- function IconFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'prefix': json['prefix'],
40
- 'iconName': json['iconName'],
41
- 'data': json['data'],
42
- };
43
- }
44
- exports.IconFromJSONTyped = IconFromJSONTyped;
45
- function IconToJSON(value) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'prefix': value['prefix'],
51
- 'iconName': value['iconName'],
52
- 'data': value['data'],
53
- };
54
- }
55
- exports.IconToJSON = IconToJSON;
@@ -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,48 +0,0 @@
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.12.2
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.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
17
- /**
18
- * Check if a given object implements the Integration interface.
19
- */
20
- function instanceOfIntegration(value) {
21
- return true;
22
- }
23
- exports.instanceOfIntegration = instanceOfIntegration;
24
- function IntegrationFromJSON(json) {
25
- return IntegrationFromJSONTyped(json, false);
26
- }
27
- exports.IntegrationFromJSON = IntegrationFromJSON;
28
- function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'id': json['id'] == null ? undefined : json['id'],
34
- 'code': json['code'] == null ? undefined : json['code'],
35
- 'config': json['config'] == null ? undefined : json['config'],
36
- };
37
- }
38
- exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
39
- function IntegrationToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'code': value['code'],
45
- 'config': value['config'],
46
- };
47
- }
48
- exports.IntegrationToJSON = IntegrationToJSON;
@@ -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,48 +0,0 @@
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.12.2
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.IntegrationCategoriesResponseToJSON = exports.IntegrationCategoriesResponseFromJSONTyped = exports.IntegrationCategoriesResponseFromJSON = exports.instanceOfIntegrationCategoriesResponse = void 0;
17
- const IntegrationCategory_1 = require("./IntegrationCategory");
18
- /**
19
- * Check if a given object implements the IntegrationCategoriesResponse interface.
20
- */
21
- function instanceOfIntegrationCategoriesResponse(value) {
22
- if (!('categories' in value) || value['categories'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- exports.instanceOfIntegrationCategoriesResponse = instanceOfIntegrationCategoriesResponse;
27
- function IntegrationCategoriesResponseFromJSON(json) {
28
- return IntegrationCategoriesResponseFromJSONTyped(json, false);
29
- }
30
- exports.IntegrationCategoriesResponseFromJSON = IntegrationCategoriesResponseFromJSON;
31
- function IntegrationCategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
37
- };
38
- }
39
- exports.IntegrationCategoriesResponseFromJSONTyped = IntegrationCategoriesResponseFromJSONTyped;
40
- function IntegrationCategoriesResponseToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
46
- };
47
- }
48
- exports.IntegrationCategoriesResponseToJSON = IntegrationCategoriesResponseToJSON;
@@ -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,63 +0,0 @@
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.12.2
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.IntegrationCategoryToJSON = exports.IntegrationCategoryFromJSONTyped = exports.IntegrationCategoryFromJSON = exports.instanceOfIntegrationCategory = exports.IntegrationCategoryTypeEnum = void 0;
17
- /**
18
- * @export
19
- */
20
- exports.IntegrationCategoryTypeEnum = {
21
- Featured: 'featured',
22
- Grid: 'grid',
23
- Column: 'column'
24
- };
25
- /**
26
- * Check if a given object implements the IntegrationCategory interface.
27
- */
28
- function instanceOfIntegrationCategory(value) {
29
- if (!('name' in value) || value['name'] === undefined)
30
- return false;
31
- if (!('slug' in value) || value['slug'] === undefined)
32
- return false;
33
- if (!('type' in value) || value['type'] === undefined)
34
- return false;
35
- return true;
36
- }
37
- exports.instanceOfIntegrationCategory = instanceOfIntegrationCategory;
38
- function IntegrationCategoryFromJSON(json) {
39
- return IntegrationCategoryFromJSONTyped(json, false);
40
- }
41
- exports.IntegrationCategoryFromJSON = IntegrationCategoryFromJSON;
42
- function IntegrationCategoryFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'name': json['name'],
48
- 'slug': json['slug'],
49
- 'type': json['type'],
50
- };
51
- }
52
- exports.IntegrationCategoryFromJSONTyped = IntegrationCategoryFromJSONTyped;
53
- function IntegrationCategoryToJSON(value) {
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'name': value['name'],
59
- 'slug': value['slug'],
60
- 'type': value['type'],
61
- };
62
- }
63
- exports.IntegrationCategoryToJSON = IntegrationCategoryToJSON;
@@ -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,59 +0,0 @@
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.7.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.IntegrationInfoToJSON = exports.IntegrationInfoFromJSONTyped = exports.IntegrationInfoFromJSON = exports.instanceOfIntegrationInfo = void 0;
17
- /**
18
- * Check if a given object implements the IntegrationInfo interface.
19
- */
20
- function instanceOfIntegrationInfo(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "description" in value;
24
- isInstance = isInstance && "author" in value;
25
- isInstance = isInstance && "icon" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfIntegrationInfo = instanceOfIntegrationInfo;
29
- function IntegrationInfoFromJSON(json) {
30
- return IntegrationInfoFromJSONTyped(json, false);
31
- }
32
- exports.IntegrationInfoFromJSON = IntegrationInfoFromJSON;
33
- function IntegrationInfoFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'name': json['name'],
39
- 'description': json['description'],
40
- 'author': json['author'],
41
- 'icon': json['icon'],
42
- };
43
- }
44
- exports.IntegrationInfoFromJSONTyped = IntegrationInfoFromJSONTyped;
45
- function IntegrationInfoToJSON(value) {
46
- if (value === undefined) {
47
- return undefined;
48
- }
49
- if (value === null) {
50
- return null;
51
- }
52
- return {
53
- 'name': value.name,
54
- 'description': value.description,
55
- 'author': value.author,
56
- 'icon': value.icon,
57
- };
58
- }
59
- exports.IntegrationInfoToJSON = IntegrationInfoToJSON;
@@ -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,87 +0,0 @@
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.12.2
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.IntegrationListingToJSON = exports.IntegrationListingFromJSONTyped = exports.IntegrationListingFromJSON = exports.instanceOfIntegrationListing = void 0;
17
- const IntegrationCategory_1 = require("./IntegrationCategory");
18
- const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
19
- const Icon_1 = require("./Icon");
20
- /**
21
- * Check if a given object implements the IntegrationListing interface.
22
- */
23
- function instanceOfIntegrationListing(value) {
24
- if (!('slug' in value) || value['slug'] === undefined)
25
- return false;
26
- if (!('code' in value) || value['code'] === undefined)
27
- return false;
28
- if (!('name' in value) || value['name'] === undefined)
29
- return false;
30
- if (!('description' in value) || value['description'] === undefined)
31
- return false;
32
- if (!('content' in value) || value['content'] === undefined)
33
- return false;
34
- if (!('author' in value) || value['author'] === undefined)
35
- return false;
36
- if (!('icon' in value) || value['icon'] === undefined)
37
- return false;
38
- if (!('gradient' in value) || value['gradient'] === undefined)
39
- return false;
40
- if (!('dependencies' in value) || value['dependencies'] === undefined)
41
- return false;
42
- if (!('categories' in value) || value['categories'] === undefined)
43
- return false;
44
- return true;
45
- }
46
- exports.instanceOfIntegrationListing = instanceOfIntegrationListing;
47
- function IntegrationListingFromJSON(json) {
48
- return IntegrationListingFromJSONTyped(json, false);
49
- }
50
- exports.IntegrationListingFromJSON = IntegrationListingFromJSON;
51
- function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
52
- if (json == null) {
53
- return json;
54
- }
55
- return {
56
- 'id': json['id'] == null ? undefined : json['id'],
57
- 'slug': json['slug'],
58
- 'code': json['code'],
59
- 'name': json['name'],
60
- 'description': json['description'],
61
- 'content': json['content'],
62
- 'author': json['author'],
63
- 'icon': (0, Icon_1.IconFromJSON)(json['icon']),
64
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
65
- 'dependencies': json['dependencies'],
66
- 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
67
- };
68
- }
69
- exports.IntegrationListingFromJSONTyped = IntegrationListingFromJSONTyped;
70
- function IntegrationListingToJSON(value) {
71
- if (value == null) {
72
- return value;
73
- }
74
- return {
75
- 'slug': value['slug'],
76
- 'code': value['code'],
77
- 'name': value['name'],
78
- 'description': value['description'],
79
- 'content': value['content'],
80
- 'author': value['author'],
81
- 'icon': (0, Icon_1.IconToJSON)(value['icon']),
82
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
83
- 'dependencies': value['dependencies'],
84
- 'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
85
- };
86
- }
87
- exports.IntegrationListingToJSON = IntegrationListingToJSON;
@@ -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;