@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,92 +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.AdminIntegrationListingToJSON = exports.AdminIntegrationListingFromJSONTyped = exports.AdminIntegrationListingFromJSON = exports.instanceOfAdminIntegrationListing = void 0;
17
- const Integration_1 = require("./Integration");
18
- const IntegrationCategory_1 = require("./IntegrationCategory");
19
- const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
20
- const Icon_1 = require("./Icon");
21
- /**
22
- * Check if a given object implements the AdminIntegrationListing interface.
23
- */
24
- function instanceOfAdminIntegrationListing(value) {
25
- if (!('slug' in value) || value['slug'] === undefined)
26
- return false;
27
- if (!('code' in value) || value['code'] === undefined)
28
- return false;
29
- if (!('name' in value) || value['name'] === undefined)
30
- return false;
31
- if (!('description' in value) || value['description'] === undefined)
32
- return false;
33
- if (!('content' in value) || value['content'] === undefined)
34
- return false;
35
- if (!('author' in value) || value['author'] === undefined)
36
- return false;
37
- if (!('icon' in value) || value['icon'] === undefined)
38
- return false;
39
- if (!('gradient' in value) || value['gradient'] === undefined)
40
- return false;
41
- if (!('integration' in value) || value['integration'] === undefined)
42
- return false;
43
- if (!('dependencies' in value) || value['dependencies'] === undefined)
44
- return false;
45
- if (!('categories' in value) || value['categories'] === undefined)
46
- return false;
47
- return true;
48
- }
49
- exports.instanceOfAdminIntegrationListing = instanceOfAdminIntegrationListing;
50
- function AdminIntegrationListingFromJSON(json) {
51
- return AdminIntegrationListingFromJSONTyped(json, false);
52
- }
53
- exports.AdminIntegrationListingFromJSON = AdminIntegrationListingFromJSON;
54
- function AdminIntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
55
- if (json == null) {
56
- return json;
57
- }
58
- return {
59
- 'id': json['id'] == null ? undefined : json['id'],
60
- 'slug': json['slug'],
61
- 'code': json['code'],
62
- 'name': json['name'],
63
- 'description': json['description'],
64
- 'content': json['content'],
65
- 'author': json['author'],
66
- 'icon': (0, Icon_1.IconFromJSON)(json['icon']),
67
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
68
- 'integration': (0, Integration_1.IntegrationFromJSON)(json['integration']),
69
- 'dependencies': json['dependencies'],
70
- 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
71
- };
72
- }
73
- exports.AdminIntegrationListingFromJSONTyped = AdminIntegrationListingFromJSONTyped;
74
- function AdminIntegrationListingToJSON(value) {
75
- if (value == null) {
76
- return value;
77
- }
78
- return {
79
- 'slug': value['slug'],
80
- 'code': value['code'],
81
- 'name': value['name'],
82
- 'description': value['description'],
83
- 'content': value['content'],
84
- 'author': value['author'],
85
- 'icon': (0, Icon_1.IconToJSON)(value['icon']),
86
- 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
87
- 'integration': (0, Integration_1.IntegrationToJSON)(value['integration']),
88
- 'dependencies': value['dependencies'],
89
- 'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
90
- };
91
- }
92
- exports.AdminIntegrationListingToJSON = AdminIntegrationListingToJSON;
@@ -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 { AdminIntegrationListing } from './AdminIntegrationListing';
13
- /**
14
- *
15
- * @export
16
- * @interface AdminIntegrationListingsResponse
17
- */
18
- export interface AdminIntegrationListingsResponse {
19
- /**
20
- *
21
- * @type {Array<AdminIntegrationListing>}
22
- * @memberof AdminIntegrationListingsResponse
23
- */
24
- listings: Array<AdminIntegrationListing>;
25
- }
26
- /**
27
- * Check if a given object implements the AdminIntegrationListingsResponse interface.
28
- */
29
- export declare function instanceOfAdminIntegrationListingsResponse(value: object): value is AdminIntegrationListingsResponse;
30
- export declare function AdminIntegrationListingsResponseFromJSON(json: any): AdminIntegrationListingsResponse;
31
- export declare function AdminIntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListingsResponse;
32
- export declare function AdminIntegrationListingsResponseToJSON(value?: AdminIntegrationListingsResponse | 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.AdminIntegrationListingsResponseToJSON = exports.AdminIntegrationListingsResponseFromJSONTyped = exports.AdminIntegrationListingsResponseFromJSON = exports.instanceOfAdminIntegrationListingsResponse = void 0;
17
- const AdminIntegrationListing_1 = require("./AdminIntegrationListing");
18
- /**
19
- * Check if a given object implements the AdminIntegrationListingsResponse interface.
20
- */
21
- function instanceOfAdminIntegrationListingsResponse(value) {
22
- if (!('listings' in value) || value['listings'] === undefined)
23
- return false;
24
- return true;
25
- }
26
- exports.instanceOfAdminIntegrationListingsResponse = instanceOfAdminIntegrationListingsResponse;
27
- function AdminIntegrationListingsResponseFromJSON(json) {
28
- return AdminIntegrationListingsResponseFromJSONTyped(json, false);
29
- }
30
- exports.AdminIntegrationListingsResponseFromJSON = AdminIntegrationListingsResponseFromJSON;
31
- function AdminIntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'listings': (json['listings'].map(AdminIntegrationListing_1.AdminIntegrationListingFromJSON)),
37
- };
38
- }
39
- exports.AdminIntegrationListingsResponseFromJSONTyped = AdminIntegrationListingsResponseFromJSONTyped;
40
- function AdminIntegrationListingsResponseToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'listings': (value['listings'].map(AdminIntegrationListing_1.AdminIntegrationListingToJSON)),
46
- };
47
- }
48
- exports.AdminIntegrationListingsResponseToJSON = AdminIntegrationListingsResponseToJSON;
@@ -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.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 ApiError
16
- */
17
- export interface ApiError {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ApiError
22
- */
23
- code?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ApiError
28
- */
29
- message: string;
30
- }
31
- /**
32
- * Check if a given object implements the ApiError interface.
33
- */
34
- export declare function instanceOfApiError(value: object): value is ApiError;
35
- export declare function ApiErrorFromJSON(json: any): ApiError;
36
- export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
37
- export declare function ApiErrorToJSON(value?: ApiError | null): any;
@@ -1,49 +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.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSON = exports.instanceOfApiError = void 0;
17
- /**
18
- * Check if a given object implements the ApiError interface.
19
- */
20
- function instanceOfApiError(value) {
21
- if (!('message' in value) || value['message'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfApiError = instanceOfApiError;
26
- function ApiErrorFromJSON(json) {
27
- return ApiErrorFromJSONTyped(json, false);
28
- }
29
- exports.ApiErrorFromJSON = ApiErrorFromJSON;
30
- function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'code': json['code'] == null ? undefined : json['code'],
36
- 'message': json['message'],
37
- };
38
- }
39
- exports.ApiErrorFromJSONTyped = ApiErrorFromJSONTyped;
40
- function ApiErrorToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'code': value['code'],
46
- 'message': value['message'],
47
- };
48
- }
49
- exports.ApiErrorToJSON = ApiErrorToJSON;
@@ -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.8.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 CategoriesResponse
17
- */
18
- export interface CategoriesResponse {
19
- /**
20
- *
21
- * @type {Array<IntegrationCategory>}
22
- * @memberof CategoriesResponse
23
- */
24
- categories: Array<IntegrationCategory>;
25
- }
26
- /**
27
- * Check if a given object implements the CategoriesResponse interface.
28
- */
29
- export declare function instanceOfCategoriesResponse(value: object): boolean;
30
- export declare function CategoriesResponseFromJSON(json: any): CategoriesResponse;
31
- export declare function CategoriesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoriesResponse;
32
- export declare function CategoriesResponseToJSON(value?: CategoriesResponse | null): any;
@@ -1,51 +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.8.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.CategoriesResponseToJSON = exports.CategoriesResponseFromJSONTyped = exports.CategoriesResponseFromJSON = exports.instanceOfCategoriesResponse = void 0;
17
- const IntegrationCategory_1 = require("./IntegrationCategory");
18
- /**
19
- * Check if a given object implements the CategoriesResponse interface.
20
- */
21
- function instanceOfCategoriesResponse(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "categories" in value;
24
- return isInstance;
25
- }
26
- exports.instanceOfCategoriesResponse = instanceOfCategoriesResponse;
27
- function CategoriesResponseFromJSON(json) {
28
- return CategoriesResponseFromJSONTyped(json, false);
29
- }
30
- exports.CategoriesResponseFromJSON = CategoriesResponseFromJSON;
31
- function CategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
33
- return json;
34
- }
35
- return {
36
- 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
37
- };
38
- }
39
- exports.CategoriesResponseFromJSONTyped = CategoriesResponseFromJSONTyped;
40
- function CategoriesResponseToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'categories': (value.categories.map(IntegrationCategory_1.IntegrationCategoryToJSON)),
49
- };
50
- }
51
- exports.CategoriesResponseToJSON = CategoriesResponseToJSON;
@@ -1,80 +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 { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateAdminIntegrationListingRequest
17
- */
18
- export interface CreateAdminIntegrationListingRequest {
19
- /**
20
- * The name of the integration listing
21
- * @type {string}
22
- * @memberof CreateAdminIntegrationListingRequest
23
- */
24
- name: string;
25
- /**
26
- * The description of the integration listing
27
- * @type {string}
28
- * @memberof CreateAdminIntegrationListingRequest
29
- */
30
- description: string;
31
- /**
32
- * The html content of the integration listing
33
- * @type {string}
34
- * @memberof CreateAdminIntegrationListingRequest
35
- */
36
- content: string;
37
- /**
38
- * The author of the integration listing
39
- * @type {string}
40
- * @memberof CreateAdminIntegrationListingRequest
41
- */
42
- author: string;
43
- /**
44
- * The code of the integration
45
- * @type {string}
46
- * @memberof CreateAdminIntegrationListingRequest
47
- */
48
- integration: string;
49
- /**
50
- * The slug of the integration listing that is used in the URL
51
- * @type {string}
52
- * @memberof CreateAdminIntegrationListingRequest
53
- */
54
- slug: string;
55
- /**
56
- *
57
- * @type {CreateAdminIntegrationListingRequestGradient}
58
- * @memberof CreateAdminIntegrationListingRequest
59
- */
60
- gradient: CreateAdminIntegrationListingRequestGradient;
61
- /**
62
- * The icon of the integration listing
63
- * @type {string}
64
- * @memberof CreateAdminIntegrationListingRequest
65
- */
66
- icon: string;
67
- /**
68
- * The categories that this listing belongs to
69
- * @type {Array<string>}
70
- * @memberof CreateAdminIntegrationListingRequest
71
- */
72
- categories: Array<string>;
73
- }
74
- /**
75
- * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
76
- */
77
- export declare function instanceOfCreateAdminIntegrationListingRequest(value: object): value is CreateAdminIntegrationListingRequest;
78
- export declare function CreateAdminIntegrationListingRequestFromJSON(json: any): CreateAdminIntegrationListingRequest;
79
- export declare function CreateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequest;
80
- export declare function CreateAdminIntegrationListingRequestToJSON(value?: CreateAdminIntegrationListingRequest | null): any;
@@ -1,80 +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.CreateAdminIntegrationListingRequestToJSON = exports.CreateAdminIntegrationListingRequestFromJSONTyped = exports.CreateAdminIntegrationListingRequestFromJSON = exports.instanceOfCreateAdminIntegrationListingRequest = void 0;
17
- const CreateAdminIntegrationListingRequestGradient_1 = require("./CreateAdminIntegrationListingRequestGradient");
18
- /**
19
- * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
20
- */
21
- function instanceOfCreateAdminIntegrationListingRequest(value) {
22
- if (!('name' in value) || value['name'] === undefined)
23
- return false;
24
- if (!('description' in value) || value['description'] === undefined)
25
- return false;
26
- if (!('content' in value) || value['content'] === undefined)
27
- return false;
28
- if (!('author' in value) || value['author'] === undefined)
29
- return false;
30
- if (!('integration' in value) || value['integration'] === undefined)
31
- return false;
32
- if (!('slug' in value) || value['slug'] === undefined)
33
- return false;
34
- if (!('gradient' in value) || value['gradient'] === undefined)
35
- return false;
36
- if (!('icon' in value) || value['icon'] === undefined)
37
- return false;
38
- if (!('categories' in value) || value['categories'] === undefined)
39
- return false;
40
- return true;
41
- }
42
- exports.instanceOfCreateAdminIntegrationListingRequest = instanceOfCreateAdminIntegrationListingRequest;
43
- function CreateAdminIntegrationListingRequestFromJSON(json) {
44
- return CreateAdminIntegrationListingRequestFromJSONTyped(json, false);
45
- }
46
- exports.CreateAdminIntegrationListingRequestFromJSON = CreateAdminIntegrationListingRequestFromJSON;
47
- function CreateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
48
- if (json == null) {
49
- return json;
50
- }
51
- return {
52
- 'name': json['name'],
53
- 'description': json['description'],
54
- 'content': json['content'],
55
- 'author': json['author'],
56
- 'integration': json['integration'],
57
- 'slug': json['slug'],
58
- 'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientFromJSON)(json['gradient']),
59
- 'icon': json['icon'],
60
- 'categories': json['categories'],
61
- };
62
- }
63
- exports.CreateAdminIntegrationListingRequestFromJSONTyped = CreateAdminIntegrationListingRequestFromJSONTyped;
64
- function CreateAdminIntegrationListingRequestToJSON(value) {
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'name': value['name'],
70
- 'description': value['description'],
71
- 'content': value['content'],
72
- 'author': value['author'],
73
- 'integration': value['integration'],
74
- 'slug': value['slug'],
75
- 'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientToJSON)(value['gradient']),
76
- 'icon': value['icon'],
77
- 'categories': value['categories'],
78
- };
79
- }
80
- exports.CreateAdminIntegrationListingRequestToJSON = CreateAdminIntegrationListingRequestToJSON;
@@ -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 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
- * @type {number}
33
- * @memberof CreateAdminIntegrationListingRequestGradient
34
- */
35
- angle?: number;
36
- }
37
- /**
38
- * Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
39
- */
40
- export declare function instanceOfCreateAdminIntegrationListingRequestGradient(value: object): value is CreateAdminIntegrationListingRequestGradient;
41
- export declare function CreateAdminIntegrationListingRequestGradientFromJSON(json: any): CreateAdminIntegrationListingRequestGradient;
42
- export declare function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequestGradient;
43
- export declare function CreateAdminIntegrationListingRequestGradientToJSON(value?: CreateAdminIntegrationListingRequestGradient | null): any;
@@ -1,49 +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.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
- 'angle': json['angle'] == null ? undefined : json['angle'],
36
- };
37
- }
38
- exports.CreateAdminIntegrationListingRequestGradientFromJSONTyped = CreateAdminIntegrationListingRequestGradientFromJSONTyped;
39
- function CreateAdminIntegrationListingRequestGradientToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'from': value['from'],
45
- 'to': value['to'],
46
- 'angle': value['angle'],
47
- };
48
- }
49
- exports.CreateAdminIntegrationListingRequestGradientToJSON = CreateAdminIntegrationListingRequestGradientToJSON;
@@ -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;