@teemill/integrations 0.11.1 → 0.12.2
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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/dist/apis/IntegrationsApi.d.ts +8 -8
- package/dist/apis/IntegrationsApi.js +4 -4
- package/dist/esm/apis/IntegrationsApi.d.ts +8 -8
- package/dist/esm/apis/IntegrationsApi.js +5 -5
- package/dist/esm/models/AdminIntegrationListing.d.ts +101 -0
- package/dist/esm/models/AdminIntegrationListing.js +85 -0
- package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +32 -0
- package/dist/esm/models/AdminIntegrationListingsResponse.js +41 -0
- package/dist/esm/models/ApiError.d.ts +1 -1
- package/dist/esm/models/ApiError.js +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
- package/dist/esm/models/Icon.d.ts +43 -0
- package/dist/esm/models/Icon.js +48 -0
- package/dist/esm/models/Integration.d.ts +1 -1
- package/dist/esm/models/Integration.js +1 -1
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationCategoriesResponse.js +1 -1
- package/dist/esm/models/IntegrationCategory.d.ts +1 -1
- package/dist/esm/models/IntegrationCategory.js +1 -1
- package/dist/esm/models/IntegrationListing.d.ts +4 -3
- package/dist/esm/models/IntegrationListing.js +4 -3
- package/dist/esm/models/IntegrationListingGradient.d.ts +7 -1
- package/dist/esm/models/IntegrationListingGradient.js +3 -1
- package/dist/esm/models/IntegrationListingsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationListingsResponse.js +1 -1
- package/dist/esm/models/IntegrationProduct.d.ts +1 -1
- package/dist/esm/models/IntegrationProduct.js +1 -1
- package/dist/esm/models/IntegrationProductsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationProductsResponse.js +1 -1
- package/dist/esm/models/IntegrationsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationsResponse.js +1 -1
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AdminIntegrationListing.d.ts +101 -0
- package/dist/models/AdminIntegrationListing.js +92 -0
- package/dist/models/AdminIntegrationListingsResponse.d.ts +32 -0
- package/dist/models/AdminIntegrationListingsResponse.js +48 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/models/CreateAdminIntegrationListingRequest.js +1 -1
- package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
- package/dist/models/Icon.d.ts +43 -0
- package/dist/models/Icon.js +55 -0
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.js +1 -1
- package/dist/models/IntegrationCategoriesResponse.d.ts +1 -1
- package/dist/models/IntegrationCategoriesResponse.js +1 -1
- package/dist/models/IntegrationCategory.d.ts +1 -1
- package/dist/models/IntegrationCategory.js +1 -1
- package/dist/models/IntegrationListing.d.ts +4 -3
- package/dist/models/IntegrationListing.js +4 -3
- package/dist/models/IntegrationListingGradient.d.ts +7 -1
- package/dist/models/IntegrationListingGradient.js +3 -1
- package/dist/models/IntegrationListingsResponse.d.ts +1 -1
- package/dist/models/IntegrationListingsResponse.js +1 -1
- package/dist/models/IntegrationProduct.d.ts +1 -1
- package/dist/models/IntegrationProduct.js +1 -1
- package/dist/models/IntegrationProductsResponse.d.ts +1 -1
- package/dist/models/IntegrationProductsResponse.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/models/UpdateAdminIntegrationListingRequest.js +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/IntegrationsApi.ts +16 -10
- package/src/models/AdminIntegrationListing.ts +183 -0
- package/src/models/AdminIntegrationListingsResponse.ts +68 -0
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateAdminIntegrationListingRequest.ts +1 -1
- package/src/models/CreateAdminIntegrationListingRequestGradient.ts +9 -1
- package/src/models/Icon.ts +79 -0
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationCategoriesResponse.ts +1 -1
- package/src/models/IntegrationCategory.ts +1 -1
- package/src/models/IntegrationListing.ts +11 -5
- package/src/models/IntegrationListingGradient.ts +9 -1
- package/src/models/IntegrationListingsResponse.ts +1 -1
- package/src/models/IntegrationProduct.ts +1 -1
- package/src/models/IntegrationProductsResponse.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/UpdateAdminIntegrationListingRequest.ts +1 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Integrations API
|
|
5
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Integration } from './Integration';
|
|
17
|
+
import {
|
|
18
|
+
IntegrationFromJSON,
|
|
19
|
+
IntegrationFromJSONTyped,
|
|
20
|
+
IntegrationToJSON,
|
|
21
|
+
} from './Integration';
|
|
22
|
+
import type { IntegrationCategory } from './IntegrationCategory';
|
|
23
|
+
import {
|
|
24
|
+
IntegrationCategoryFromJSON,
|
|
25
|
+
IntegrationCategoryFromJSONTyped,
|
|
26
|
+
IntegrationCategoryToJSON,
|
|
27
|
+
} from './IntegrationCategory';
|
|
28
|
+
import type { IntegrationListingGradient } from './IntegrationListingGradient';
|
|
29
|
+
import {
|
|
30
|
+
IntegrationListingGradientFromJSON,
|
|
31
|
+
IntegrationListingGradientFromJSONTyped,
|
|
32
|
+
IntegrationListingGradientToJSON,
|
|
33
|
+
} from './IntegrationListingGradient';
|
|
34
|
+
import type { Icon } from './Icon';
|
|
35
|
+
import {
|
|
36
|
+
IconFromJSON,
|
|
37
|
+
IconFromJSONTyped,
|
|
38
|
+
IconToJSON,
|
|
39
|
+
} from './Icon';
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
* @interface AdminIntegrationListing
|
|
45
|
+
*/
|
|
46
|
+
export interface AdminIntegrationListing {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof AdminIntegrationListing
|
|
51
|
+
*/
|
|
52
|
+
readonly id?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The slug of the integration listing that is used in the URL
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AdminIntegrationListing
|
|
57
|
+
*/
|
|
58
|
+
slug: string;
|
|
59
|
+
/**
|
|
60
|
+
* The code of the integration
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof AdminIntegrationListing
|
|
63
|
+
*/
|
|
64
|
+
code: string;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the integration listing
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof AdminIntegrationListing
|
|
69
|
+
*/
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The description of the integration listing
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof AdminIntegrationListing
|
|
75
|
+
*/
|
|
76
|
+
description: string;
|
|
77
|
+
/**
|
|
78
|
+
* The html content of the integration listing
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof AdminIntegrationListing
|
|
81
|
+
*/
|
|
82
|
+
content: string;
|
|
83
|
+
/**
|
|
84
|
+
* The author of the integration listing
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof AdminIntegrationListing
|
|
87
|
+
*/
|
|
88
|
+
author: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Icon}
|
|
92
|
+
* @memberof AdminIntegrationListing
|
|
93
|
+
*/
|
|
94
|
+
icon: Icon;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {IntegrationListingGradient}
|
|
98
|
+
* @memberof AdminIntegrationListing
|
|
99
|
+
*/
|
|
100
|
+
gradient: IntegrationListingGradient;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Integration}
|
|
104
|
+
* @memberof AdminIntegrationListing
|
|
105
|
+
*/
|
|
106
|
+
integration: Integration;
|
|
107
|
+
/**
|
|
108
|
+
* The dependencies that this integration listing requires
|
|
109
|
+
* @type {Array<string>}
|
|
110
|
+
* @memberof AdminIntegrationListing
|
|
111
|
+
*/
|
|
112
|
+
dependencies: Array<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The categories that this listing belongs to
|
|
115
|
+
* @type {Array<IntegrationCategory>}
|
|
116
|
+
* @memberof AdminIntegrationListing
|
|
117
|
+
*/
|
|
118
|
+
categories: Array<IntegrationCategory>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the AdminIntegrationListing interface.
|
|
123
|
+
*/
|
|
124
|
+
export function instanceOfAdminIntegrationListing(value: object): value is AdminIntegrationListing {
|
|
125
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
126
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
127
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
128
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
129
|
+
if (!('content' in value) || value['content'] === undefined) return false;
|
|
130
|
+
if (!('author' in value) || value['author'] === undefined) return false;
|
|
131
|
+
if (!('icon' in value) || value['icon'] === undefined) return false;
|
|
132
|
+
if (!('gradient' in value) || value['gradient'] === undefined) return false;
|
|
133
|
+
if (!('integration' in value) || value['integration'] === undefined) return false;
|
|
134
|
+
if (!('dependencies' in value) || value['dependencies'] === undefined) return false;
|
|
135
|
+
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function AdminIntegrationListingFromJSON(json: any): AdminIntegrationListing {
|
|
140
|
+
return AdminIntegrationListingFromJSONTyped(json, false);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function AdminIntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListing {
|
|
144
|
+
if (json == null) {
|
|
145
|
+
return json;
|
|
146
|
+
}
|
|
147
|
+
return {
|
|
148
|
+
|
|
149
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
150
|
+
'slug': json['slug'],
|
|
151
|
+
'code': json['code'],
|
|
152
|
+
'name': json['name'],
|
|
153
|
+
'description': json['description'],
|
|
154
|
+
'content': json['content'],
|
|
155
|
+
'author': json['author'],
|
|
156
|
+
'icon': IconFromJSON(json['icon']),
|
|
157
|
+
'gradient': IntegrationListingGradientFromJSON(json['gradient']),
|
|
158
|
+
'integration': IntegrationFromJSON(json['integration']),
|
|
159
|
+
'dependencies': json['dependencies'],
|
|
160
|
+
'categories': ((json['categories'] as Array<any>).map(IntegrationCategoryFromJSON)),
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export function AdminIntegrationListingToJSON(value?: Omit<AdminIntegrationListing, 'id'> | null): any {
|
|
165
|
+
if (value == null) {
|
|
166
|
+
return value;
|
|
167
|
+
}
|
|
168
|
+
return {
|
|
169
|
+
|
|
170
|
+
'slug': value['slug'],
|
|
171
|
+
'code': value['code'],
|
|
172
|
+
'name': value['name'],
|
|
173
|
+
'description': value['description'],
|
|
174
|
+
'content': value['content'],
|
|
175
|
+
'author': value['author'],
|
|
176
|
+
'icon': IconToJSON(value['icon']),
|
|
177
|
+
'gradient': IntegrationListingGradientToJSON(value['gradient']),
|
|
178
|
+
'integration': IntegrationToJSON(value['integration']),
|
|
179
|
+
'dependencies': value['dependencies'],
|
|
180
|
+
'categories': ((value['categories'] as Array<any>).map(IntegrationCategoryToJSON)),
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Integrations API
|
|
5
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AdminIntegrationListing } from './AdminIntegrationListing';
|
|
17
|
+
import {
|
|
18
|
+
AdminIntegrationListingFromJSON,
|
|
19
|
+
AdminIntegrationListingFromJSONTyped,
|
|
20
|
+
AdminIntegrationListingToJSON,
|
|
21
|
+
} from './AdminIntegrationListing';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface AdminIntegrationListingsResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface AdminIntegrationListingsResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<AdminIntegrationListing>}
|
|
32
|
+
* @memberof AdminIntegrationListingsResponse
|
|
33
|
+
*/
|
|
34
|
+
listings: Array<AdminIntegrationListing>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the AdminIntegrationListingsResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfAdminIntegrationListingsResponse(value: object): value is AdminIntegrationListingsResponse {
|
|
41
|
+
if (!('listings' in value) || value['listings'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AdminIntegrationListingsResponseFromJSON(json: any): AdminIntegrationListingsResponse {
|
|
46
|
+
return AdminIntegrationListingsResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AdminIntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListingsResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'listings': ((json['listings'] as Array<any>).map(AdminIntegrationListingFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AdminIntegrationListingsResponseToJSON(value?: AdminIntegrationListingsResponse | null): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'listings': ((value['listings'] as Array<any>).map(AdminIntegrationListingToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
package/src/models/ApiError.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,6 +31,12 @@ export interface CreateAdminIntegrationListingRequestGradient {
|
|
|
31
31
|
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
32
32
|
*/
|
|
33
33
|
to?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
38
|
+
*/
|
|
39
|
+
angle?: number;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -52,6 +58,7 @@ export function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json:
|
|
|
52
58
|
|
|
53
59
|
'from': json['from'] == null ? undefined : json['from'],
|
|
54
60
|
'to': json['to'] == null ? undefined : json['to'],
|
|
61
|
+
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -63,6 +70,7 @@ export function CreateAdminIntegrationListingRequestGradientToJSON(value?: Creat
|
|
|
63
70
|
|
|
64
71
|
'from': value['from'],
|
|
65
72
|
'to': value['to'],
|
|
73
|
+
'angle': value['angle'],
|
|
66
74
|
};
|
|
67
75
|
}
|
|
68
76
|
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Integrations API
|
|
5
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Icon
|
|
20
|
+
*/
|
|
21
|
+
export interface Icon {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Icon
|
|
26
|
+
*/
|
|
27
|
+
prefix: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof Icon
|
|
32
|
+
*/
|
|
33
|
+
iconName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof Icon
|
|
38
|
+
*/
|
|
39
|
+
data: object;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the Icon interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfIcon(value: object): value is Icon {
|
|
46
|
+
if (!('prefix' in value) || value['prefix'] === undefined) return false;
|
|
47
|
+
if (!('iconName' in value) || value['iconName'] === undefined) return false;
|
|
48
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function IconFromJSON(json: any): Icon {
|
|
53
|
+
return IconFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function IconFromJSONTyped(json: any, ignoreDiscriminator: boolean): Icon {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'prefix': json['prefix'],
|
|
63
|
+
'iconName': json['iconName'],
|
|
64
|
+
'data': json['data'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function IconToJSON(value?: Icon | null): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'prefix': value['prefix'],
|
|
75
|
+
'iconName': value['iconName'],
|
|
76
|
+
'data': value['data'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
IntegrationListingGradientFromJSONTyped,
|
|
26
26
|
IntegrationListingGradientToJSON,
|
|
27
27
|
} from './IntegrationListingGradient';
|
|
28
|
+
import type { Icon } from './Icon';
|
|
29
|
+
import {
|
|
30
|
+
IconFromJSON,
|
|
31
|
+
IconFromJSONTyped,
|
|
32
|
+
IconToJSON,
|
|
33
|
+
} from './Icon';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
@@ -76,10 +82,10 @@ export interface IntegrationListing {
|
|
|
76
82
|
author: string;
|
|
77
83
|
/**
|
|
78
84
|
*
|
|
79
|
-
* @type {
|
|
85
|
+
* @type {Icon}
|
|
80
86
|
* @memberof IntegrationListing
|
|
81
87
|
*/
|
|
82
|
-
icon:
|
|
88
|
+
icon: Icon;
|
|
83
89
|
/**
|
|
84
90
|
*
|
|
85
91
|
* @type {IntegrationListingGradient}
|
|
@@ -134,7 +140,7 @@ export function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
134
140
|
'description': json['description'],
|
|
135
141
|
'content': json['content'],
|
|
136
142
|
'author': json['author'],
|
|
137
|
-
'icon': json['icon'],
|
|
143
|
+
'icon': IconFromJSON(json['icon']),
|
|
138
144
|
'gradient': IntegrationListingGradientFromJSON(json['gradient']),
|
|
139
145
|
'dependencies': json['dependencies'],
|
|
140
146
|
'categories': ((json['categories'] as Array<any>).map(IntegrationCategoryFromJSON)),
|
|
@@ -153,7 +159,7 @@ export function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'>
|
|
|
153
159
|
'description': value['description'],
|
|
154
160
|
'content': value['content'],
|
|
155
161
|
'author': value['author'],
|
|
156
|
-
'icon': value['icon'],
|
|
162
|
+
'icon': IconToJSON(value['icon']),
|
|
157
163
|
'gradient': IntegrationListingGradientToJSON(value['gradient']),
|
|
158
164
|
'dependencies': value['dependencies'],
|
|
159
165
|
'categories': ((value['categories'] as Array<any>).map(IntegrationCategoryToJSON)),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,6 +31,12 @@ export interface IntegrationListingGradient {
|
|
|
31
31
|
* @memberof IntegrationListingGradient
|
|
32
32
|
*/
|
|
33
33
|
to?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof IntegrationListingGradient
|
|
38
|
+
*/
|
|
39
|
+
angle?: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -52,6 +58,7 @@ export function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscrim
|
|
|
52
58
|
|
|
53
59
|
'from': json['from'] == null ? undefined : json['from'],
|
|
54
60
|
'to': json['to'] == null ? undefined : json['to'],
|
|
61
|
+
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -63,6 +70,7 @@ export function IntegrationListingGradientToJSON(value?: IntegrationListingGradi
|
|
|
63
70
|
|
|
64
71
|
'from': value['from'],
|
|
65
72
|
'to': value['to'],
|
|
73
|
+
'angle': value['angle'],
|
|
66
74
|
};
|
|
67
75
|
}
|
|
68
76
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/index.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AdminIntegrationListing';
|
|
4
|
+
export * from './AdminIntegrationListingsResponse';
|
|
3
5
|
export * from './ApiError';
|
|
4
6
|
export * from './CreateAdminIntegrationListingRequest';
|
|
5
7
|
export * from './CreateAdminIntegrationListingRequestGradient';
|
|
8
|
+
export * from './Icon';
|
|
6
9
|
export * from './Integration';
|
|
7
10
|
export * from './IntegrationCategoriesResponse';
|
|
8
11
|
export * from './IntegrationCategory';
|
package/src/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.12.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|