@teemill/integrations 0.11.1 → 0.12.5

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 (126) hide show
  1. package/.openapi-generator/FILES +6 -18
  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/ApiError.d.ts +0 -37
  40. package/dist/esm/models/ApiError.js +0 -42
  41. package/dist/esm/models/CategoriesResponse.d.ts +0 -32
  42. package/dist/esm/models/CategoriesResponse.js +0 -44
  43. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  44. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
  45. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -37
  46. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -40
  47. package/dist/esm/models/Integration.d.ts +0 -45
  48. package/dist/esm/models/Integration.js +0 -41
  49. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
  50. package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
  51. package/dist/esm/models/IntegrationCategory.d.ts +0 -52
  52. package/dist/esm/models/IntegrationCategory.js +0 -56
  53. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  54. package/dist/esm/models/IntegrationInfo.js +0 -52
  55. package/dist/esm/models/IntegrationListing.d.ts +0 -93
  56. package/dist/esm/models/IntegrationListing.js +0 -79
  57. package/dist/esm/models/IntegrationListingGradient.d.ts +0 -37
  58. package/dist/esm/models/IntegrationListingGradient.js +0 -40
  59. package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
  60. package/dist/esm/models/IntegrationListingsResponse.js +0 -41
  61. package/dist/esm/models/IntegrationProduct.d.ts +0 -61
  62. package/dist/esm/models/IntegrationProduct.js +0 -57
  63. package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
  64. package/dist/esm/models/IntegrationProductsResponse.js +0 -41
  65. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  66. package/dist/esm/models/IntegrationsResponse.js +0 -41
  67. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  68. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
  69. package/dist/esm/models/index.d.ts +0 -13
  70. package/dist/esm/models/index.js +0 -15
  71. package/dist/esm/runtime.d.ts +0 -187
  72. package/dist/esm/runtime.js +0 -333
  73. package/dist/models/ApiError.d.ts +0 -37
  74. package/dist/models/ApiError.js +0 -49
  75. package/dist/models/CategoriesResponse.d.ts +0 -32
  76. package/dist/models/CategoriesResponse.js +0 -51
  77. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  78. package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
  79. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -37
  80. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -47
  81. package/dist/models/Integration.d.ts +0 -45
  82. package/dist/models/Integration.js +0 -48
  83. package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
  84. package/dist/models/IntegrationCategoriesResponse.js +0 -48
  85. package/dist/models/IntegrationCategory.d.ts +0 -52
  86. package/dist/models/IntegrationCategory.js +0 -63
  87. package/dist/models/IntegrationInfo.d.ts +0 -49
  88. package/dist/models/IntegrationInfo.js +0 -59
  89. package/dist/models/IntegrationListing.d.ts +0 -93
  90. package/dist/models/IntegrationListing.js +0 -86
  91. package/dist/models/IntegrationListingGradient.d.ts +0 -37
  92. package/dist/models/IntegrationListingGradient.js +0 -47
  93. package/dist/models/IntegrationListingsResponse.d.ts +0 -32
  94. package/dist/models/IntegrationListingsResponse.js +0 -48
  95. package/dist/models/IntegrationProduct.d.ts +0 -61
  96. package/dist/models/IntegrationProduct.js +0 -64
  97. package/dist/models/IntegrationProductsResponse.d.ts +0 -32
  98. package/dist/models/IntegrationProductsResponse.js +0 -48
  99. package/dist/models/IntegrationsResponse.d.ts +0 -32
  100. package/dist/models/IntegrationsResponse.js +0 -48
  101. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  102. package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
  103. package/dist/models/index.d.ts +0 -13
  104. package/dist/models/index.js +0 -31
  105. package/dist/runtime.d.ts +0 -187
  106. package/dist/runtime.js +0 -349
  107. package/src/apis/IntegrationsApi.ts +0 -676
  108. package/src/apis/index.ts +0 -3
  109. package/src/index.ts +0 -5
  110. package/src/models/ApiError.ts +0 -69
  111. package/src/models/CategoriesResponse.ts +0 -73
  112. package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
  113. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -68
  114. package/src/models/Integration.ts +0 -75
  115. package/src/models/IntegrationCategoriesResponse.ts +0 -68
  116. package/src/models/IntegrationCategory.ts +0 -91
  117. package/src/models/IntegrationInfo.ts +0 -93
  118. package/src/models/IntegrationListing.ts +0 -162
  119. package/src/models/IntegrationListingGradient.ts +0 -68
  120. package/src/models/IntegrationListingsResponse.ts +0 -68
  121. package/src/models/IntegrationProduct.ts +0 -104
  122. package/src/models/IntegrationProductsResponse.ts +0 -68
  123. package/src/models/IntegrationsResponse.ts +0 -68
  124. package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
  125. package/src/models/index.ts +0 -15
  126. package/src/runtime.ts +0 -441
@@ -1,37 +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.11.1
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;
@@ -1,47 +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.11.1
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;
@@ -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.11.1
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.11.1
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.11.1
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.11.1
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.11.1
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.11.1
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,93 +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.11.1
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
- /**
15
- *
16
- * @export
17
- * @interface IntegrationListing
18
- */
19
- export interface IntegrationListing {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof IntegrationListing
24
- */
25
- readonly id?: number;
26
- /**
27
- * The slug of the integration listing that is used in the URL
28
- * @type {string}
29
- * @memberof IntegrationListing
30
- */
31
- slug: string;
32
- /**
33
- * The code of the integration
34
- * @type {string}
35
- * @memberof IntegrationListing
36
- */
37
- code: string;
38
- /**
39
- * The name of the integration listing
40
- * @type {string}
41
- * @memberof IntegrationListing
42
- */
43
- name: string;
44
- /**
45
- * The description of the integration listing
46
- * @type {string}
47
- * @memberof IntegrationListing
48
- */
49
- description: string;
50
- /**
51
- * The html content of the integration listing
52
- * @type {string}
53
- * @memberof IntegrationListing
54
- */
55
- content: string;
56
- /**
57
- * The author of the integration listing
58
- * @type {string}
59
- * @memberof IntegrationListing
60
- */
61
- author: string;
62
- /**
63
- *
64
- * @type {object}
65
- * @memberof IntegrationListing
66
- */
67
- icon: object;
68
- /**
69
- *
70
- * @type {IntegrationListingGradient}
71
- * @memberof IntegrationListing
72
- */
73
- gradient: IntegrationListingGradient;
74
- /**
75
- * The dependencies that this integration listing requires
76
- * @type {Array<string>}
77
- * @memberof IntegrationListing
78
- */
79
- dependencies: Array<string>;
80
- /**
81
- * The categories that this listing belongs to
82
- * @type {Array<IntegrationCategory>}
83
- * @memberof IntegrationListing
84
- */
85
- categories: Array<IntegrationCategory>;
86
- }
87
- /**
88
- * Check if a given object implements the IntegrationListing interface.
89
- */
90
- export declare function instanceOfIntegrationListing(value: object): value is IntegrationListing;
91
- export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
92
- export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
93
- export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any;
@@ -1,86 +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.11.1
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
- /**
20
- * Check if a given object implements the IntegrationListing interface.
21
- */
22
- function instanceOfIntegrationListing(value) {
23
- if (!('slug' in value) || value['slug'] === undefined)
24
- return false;
25
- if (!('code' in value) || value['code'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('description' in value) || value['description'] === undefined)
30
- return false;
31
- if (!('content' in value) || value['content'] === undefined)
32
- return false;
33
- if (!('author' in value) || value['author'] === undefined)
34
- return false;
35
- if (!('icon' in value) || value['icon'] === undefined)
36
- return false;
37
- if (!('gradient' in value) || value['gradient'] === undefined)
38
- return false;
39
- if (!('dependencies' in value) || value['dependencies'] === undefined)
40
- return false;
41
- if (!('categories' in value) || value['categories'] === undefined)
42
- return false;
43
- return true;
44
- }
45
- exports.instanceOfIntegrationListing = instanceOfIntegrationListing;
46
- function IntegrationListingFromJSON(json) {
47
- return IntegrationListingFromJSONTyped(json, false);
48
- }
49
- exports.IntegrationListingFromJSON = IntegrationListingFromJSON;
50
- function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
- 'id': json['id'] == null ? undefined : json['id'],
56
- 'slug': json['slug'],
57
- 'code': json['code'],
58
- 'name': json['name'],
59
- 'description': json['description'],
60
- 'content': json['content'],
61
- 'author': json['author'],
62
- 'icon': json['icon'],
63
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
64
- 'dependencies': json['dependencies'],
65
- 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
66
- };
67
- }
68
- exports.IntegrationListingFromJSONTyped = IntegrationListingFromJSONTyped;
69
- function IntegrationListingToJSON(value) {
70
- if (value == null) {
71
- return value;
72
- }
73
- return {
74
- 'slug': value['slug'],
75
- 'code': value['code'],
76
- 'name': value['name'],
77
- 'description': value['description'],
78
- 'content': value['content'],
79
- 'author': value['author'],
80
- 'icon': value['icon'],
81
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
82
- 'dependencies': value['dependencies'],
83
- 'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
84
- };
85
- }
86
- exports.IntegrationListingToJSON = IntegrationListingToJSON;