@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
- *
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,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the ApiError interface.
16
- */
17
- export function instanceOfApiError(value) {
18
- if (!('message' in value) || value['message'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function ApiErrorFromJSON(json) {
23
- return ApiErrorFromJSONTyped(json, false);
24
- }
25
- export function ApiErrorFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'code': json['code'] == null ? undefined : json['code'],
31
- 'message': json['message'],
32
- };
33
- }
34
- export function ApiErrorToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'code': value['code'],
40
- 'message': value['message'],
41
- };
42
- }
@@ -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,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.8.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
15
- /**
16
- * Check if a given object implements the CategoriesResponse interface.
17
- */
18
- export function instanceOfCategoriesResponse(value) {
19
- let isInstance = true;
20
- isInstance = isInstance && "categories" in value;
21
- return isInstance;
22
- }
23
- export function CategoriesResponseFromJSON(json) {
24
- return CategoriesResponseFromJSONTyped(json, false);
25
- }
26
- export function CategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
28
- return json;
29
- }
30
- return {
31
- 'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
32
- };
33
- }
34
- export function CategoriesResponseToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'categories': (value.categories.map(IntegrationCategoryToJSON)),
43
- };
44
- }
@@ -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.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 { 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,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { CreateAdminIntegrationListingRequestGradientFromJSON, CreateAdminIntegrationListingRequestGradientToJSON, } from './CreateAdminIntegrationListingRequestGradient';
15
- /**
16
- * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
17
- */
18
- export function instanceOfCreateAdminIntegrationListingRequest(value) {
19
- if (!('name' in value) || value['name'] === undefined)
20
- return false;
21
- if (!('description' in value) || value['description'] === undefined)
22
- return false;
23
- if (!('content' in value) || value['content'] === undefined)
24
- return false;
25
- if (!('author' in value) || value['author'] === undefined)
26
- return false;
27
- if (!('integration' in value) || value['integration'] === undefined)
28
- return false;
29
- if (!('slug' in value) || value['slug'] === undefined)
30
- return false;
31
- if (!('gradient' in value) || value['gradient'] === undefined)
32
- return false;
33
- if (!('icon' in value) || value['icon'] === undefined)
34
- return false;
35
- if (!('categories' in value) || value['categories'] === undefined)
36
- return false;
37
- return true;
38
- }
39
- export function CreateAdminIntegrationListingRequestFromJSON(json) {
40
- return CreateAdminIntegrationListingRequestFromJSONTyped(json, false);
41
- }
42
- export function CreateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'name': json['name'],
48
- 'description': json['description'],
49
- 'content': json['content'],
50
- 'author': json['author'],
51
- 'integration': json['integration'],
52
- 'slug': json['slug'],
53
- 'gradient': CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
54
- 'icon': json['icon'],
55
- 'categories': json['categories'],
56
- };
57
- }
58
- export function CreateAdminIntegrationListingRequestToJSON(value) {
59
- if (value == null) {
60
- return value;
61
- }
62
- return {
63
- 'name': value['name'],
64
- 'description': value['description'],
65
- 'content': value['content'],
66
- 'author': value['author'],
67
- 'integration': value['integration'],
68
- 'slug': value['slug'],
69
- 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
70
- 'icon': value['icon'],
71
- 'categories': value['categories'],
72
- };
73
- }
@@ -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,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
16
- */
17
- export function instanceOfCreateAdminIntegrationListingRequestGradient(value) {
18
- return true;
19
- }
20
- export function CreateAdminIntegrationListingRequestGradientFromJSON(json) {
21
- return CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, false);
22
- }
23
- export function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'from': json['from'] == null ? undefined : json['from'],
29
- 'to': json['to'] == null ? undefined : json['to'],
30
- };
31
- }
32
- export function CreateAdminIntegrationListingRequestGradientToJSON(value) {
33
- if (value == null) {
34
- return value;
35
- }
36
- return {
37
- 'from': value['from'],
38
- 'to': value['to'],
39
- };
40
- }
@@ -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,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the Integration interface.
16
- */
17
- export function instanceOfIntegration(value) {
18
- return true;
19
- }
20
- export function IntegrationFromJSON(json) {
21
- return IntegrationFromJSONTyped(json, false);
22
- }
23
- export function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'id': json['id'] == null ? undefined : json['id'],
29
- 'code': json['code'] == null ? undefined : json['code'],
30
- 'config': json['config'] == null ? undefined : json['config'],
31
- };
32
- }
33
- export function IntegrationToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'code': value['code'],
39
- 'config': value['config'],
40
- };
41
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.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,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
15
- /**
16
- * Check if a given object implements the IntegrationCategoriesResponse interface.
17
- */
18
- export function instanceOfIntegrationCategoriesResponse(value) {
19
- if (!('categories' in value) || value['categories'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationCategoriesResponseFromJSON(json) {
24
- return IntegrationCategoriesResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationCategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
32
- };
33
- }
34
- export function IntegrationCategoriesResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'categories': (value['categories'].map(IntegrationCategoryToJSON)),
40
- };
41
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.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,56 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.11.1
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * @export
16
- */
17
- export const IntegrationCategoryTypeEnum = {
18
- Featured: 'featured',
19
- Grid: 'grid',
20
- Column: 'column'
21
- };
22
- /**
23
- * Check if a given object implements the IntegrationCategory interface.
24
- */
25
- export function instanceOfIntegrationCategory(value) {
26
- if (!('name' in value) || value['name'] === undefined)
27
- return false;
28
- if (!('slug' in value) || value['slug'] === undefined)
29
- return false;
30
- if (!('type' in value) || value['type'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- export function IntegrationCategoryFromJSON(json) {
35
- return IntegrationCategoryFromJSONTyped(json, false);
36
- }
37
- export function IntegrationCategoryFromJSONTyped(json, ignoreDiscriminator) {
38
- if (json == null) {
39
- return json;
40
- }
41
- return {
42
- 'name': json['name'],
43
- 'slug': json['slug'],
44
- 'type': json['type'],
45
- };
46
- }
47
- export function IntegrationCategoryToJSON(value) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'name': value['name'],
53
- 'slug': value['slug'],
54
- 'type': value['type'],
55
- };
56
- }