@teemill/integrations 0.10.0 → 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 +19 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +13 -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 +19 -1
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +7 -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 +19 -1
- package/dist/models/CreateAdminIntegrationListingRequest.js +13 -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 +19 -1
- package/dist/models/UpdateAdminIntegrationListingRequest.js +7 -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 +28 -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 +25 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
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;
|
|
@@ -0,0 +1,48 @@
|
|
|
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;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/ApiError.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,6 +34,18 @@ export interface CreateAdminIntegrationListingRequest {
|
|
|
34
34
|
* @memberof CreateAdminIntegrationListingRequest
|
|
35
35
|
*/
|
|
36
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;
|
|
37
49
|
/**
|
|
38
50
|
* The slug of the integration listing that is used in the URL
|
|
39
51
|
* @type {string}
|
|
@@ -52,6 +64,12 @@ export interface CreateAdminIntegrationListingRequest {
|
|
|
52
64
|
* @memberof CreateAdminIntegrationListingRequest
|
|
53
65
|
*/
|
|
54
66
|
icon: string;
|
|
67
|
+
/**
|
|
68
|
+
* The categories that this listing belongs to
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof CreateAdminIntegrationListingRequest
|
|
71
|
+
*/
|
|
72
|
+
categories: Array<string>;
|
|
55
73
|
}
|
|
56
74
|
/**
|
|
57
75
|
* Check if a given object implements the CreateAdminIntegrationListingRequest interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,12 +25,18 @@ function instanceOfCreateAdminIntegrationListingRequest(value) {
|
|
|
25
25
|
return false;
|
|
26
26
|
if (!('content' in value) || value['content'] === undefined)
|
|
27
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;
|
|
28
32
|
if (!('slug' in value) || value['slug'] === undefined)
|
|
29
33
|
return false;
|
|
30
34
|
if (!('gradient' in value) || value['gradient'] === undefined)
|
|
31
35
|
return false;
|
|
32
36
|
if (!('icon' in value) || value['icon'] === undefined)
|
|
33
37
|
return false;
|
|
38
|
+
if (!('categories' in value) || value['categories'] === undefined)
|
|
39
|
+
return false;
|
|
34
40
|
return true;
|
|
35
41
|
}
|
|
36
42
|
exports.instanceOfCreateAdminIntegrationListingRequest = instanceOfCreateAdminIntegrationListingRequest;
|
|
@@ -46,9 +52,12 @@ function CreateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscrimin
|
|
|
46
52
|
'name': json['name'],
|
|
47
53
|
'description': json['description'],
|
|
48
54
|
'content': json['content'],
|
|
55
|
+
'author': json['author'],
|
|
56
|
+
'integration': json['integration'],
|
|
49
57
|
'slug': json['slug'],
|
|
50
58
|
'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientFromJSON)(json['gradient']),
|
|
51
59
|
'icon': json['icon'],
|
|
60
|
+
'categories': json['categories'],
|
|
52
61
|
};
|
|
53
62
|
}
|
|
54
63
|
exports.CreateAdminIntegrationListingRequestFromJSONTyped = CreateAdminIntegrationListingRequestFromJSONTyped;
|
|
@@ -60,9 +69,12 @@ function CreateAdminIntegrationListingRequestToJSON(value) {
|
|
|
60
69
|
'name': value['name'],
|
|
61
70
|
'description': value['description'],
|
|
62
71
|
'content': value['content'],
|
|
72
|
+
'author': value['author'],
|
|
73
|
+
'integration': value['integration'],
|
|
63
74
|
'slug': value['slug'],
|
|
64
75
|
'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientToJSON)(value['gradient']),
|
|
65
76
|
'icon': value['icon'],
|
|
77
|
+
'categories': value['categories'],
|
|
66
78
|
};
|
|
67
79
|
}
|
|
68
80
|
exports.CreateAdminIntegrationListingRequestToJSON = CreateAdminIntegrationListingRequestToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,12 @@ export interface CreateAdminIntegrationListingRequestGradient {
|
|
|
27
27
|
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
28
28
|
*/
|
|
29
29
|
to?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
34
|
+
*/
|
|
35
|
+
angle?: number;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,6 +32,7 @@ function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, ignoreD
|
|
|
32
32
|
return {
|
|
33
33
|
'from': json['from'] == null ? undefined : json['from'],
|
|
34
34
|
'to': json['to'] == null ? undefined : json['to'],
|
|
35
|
+
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
exports.CreateAdminIntegrationListingRequestGradientFromJSONTyped = CreateAdminIntegrationListingRequestGradientFromJSONTyped;
|
|
@@ -42,6 +43,7 @@ function CreateAdminIntegrationListingRequestGradientToJSON(value) {
|
|
|
42
43
|
return {
|
|
43
44
|
'from': value['from'],
|
|
44
45
|
'to': value['to'],
|
|
46
|
+
'angle': value['angle'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
exports.CreateAdminIntegrationListingRequestGradientToJSON = CreateAdminIntegrationListingRequestGradientToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Integrations API
|
|
6
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
|
+
* Contact: hello@teemill.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IconToJSON = exports.IconFromJSONTyped = exports.IconFromJSON = exports.instanceOfIcon = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Icon interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfIcon(value) {
|
|
21
|
+
if (!('prefix' in value) || value['prefix'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('iconName' in value) || value['iconName'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfIcon = instanceOfIcon;
|
|
30
|
+
function IconFromJSON(json) {
|
|
31
|
+
return IconFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.IconFromJSON = IconFromJSON;
|
|
34
|
+
function IconFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'prefix': json['prefix'],
|
|
40
|
+
'iconName': json['iconName'],
|
|
41
|
+
'data': json['data'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.IconFromJSONTyped = IconFromJSONTyped;
|
|
45
|
+
function IconToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'prefix': value['prefix'],
|
|
51
|
+
'iconName': value['iconName'],
|
|
52
|
+
'data': value['data'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.IconToJSON = IconToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { IntegrationCategory } from './IntegrationCategory';
|
|
13
13
|
import type { IntegrationListingGradient } from './IntegrationListingGradient';
|
|
14
|
+
import type { Icon } from './Icon';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -61,10 +62,10 @@ export interface IntegrationListing {
|
|
|
61
62
|
author: string;
|
|
62
63
|
/**
|
|
63
64
|
*
|
|
64
|
-
* @type {
|
|
65
|
+
* @type {Icon}
|
|
65
66
|
* @memberof IntegrationListing
|
|
66
67
|
*/
|
|
67
|
-
icon:
|
|
68
|
+
icon: Icon;
|
|
68
69
|
/**
|
|
69
70
|
*
|
|
70
71
|
* @type {IntegrationListingGradient}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.IntegrationListingToJSON = exports.IntegrationListingFromJSONTyped = exports.IntegrationListingFromJSON = exports.instanceOfIntegrationListing = void 0;
|
|
17
17
|
const IntegrationCategory_1 = require("./IntegrationCategory");
|
|
18
18
|
const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
|
|
19
|
+
const Icon_1 = require("./Icon");
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the IntegrationListing interface.
|
|
21
22
|
*/
|
|
@@ -59,7 +60,7 @@ function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'description': json['description'],
|
|
60
61
|
'content': json['content'],
|
|
61
62
|
'author': json['author'],
|
|
62
|
-
'icon': json['icon'],
|
|
63
|
+
'icon': (0, Icon_1.IconFromJSON)(json['icon']),
|
|
63
64
|
'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
|
|
64
65
|
'dependencies': json['dependencies'],
|
|
65
66
|
'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
|
|
@@ -77,7 +78,7 @@ function IntegrationListingToJSON(value) {
|
|
|
77
78
|
'description': value['description'],
|
|
78
79
|
'content': value['content'],
|
|
79
80
|
'author': value['author'],
|
|
80
|
-
'icon': value['icon'],
|
|
81
|
+
'icon': (0, Icon_1.IconToJSON)(value['icon']),
|
|
81
82
|
'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
|
|
82
83
|
'dependencies': value['dependencies'],
|
|
83
84
|
'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,12 @@ export interface IntegrationListingGradient {
|
|
|
27
27
|
* @memberof IntegrationListingGradient
|
|
28
28
|
*/
|
|
29
29
|
to?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationListingGradient
|
|
34
|
+
*/
|
|
35
|
+
angle?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the IntegrationListingGradient interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,6 +32,7 @@ function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
return {
|
|
33
33
|
'from': json['from'] == null ? undefined : json['from'],
|
|
34
34
|
'to': json['to'] == null ? undefined : json['to'],
|
|
35
|
+
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
exports.IntegrationListingGradientFromJSONTyped = IntegrationListingGradientFromJSONTyped;
|
|
@@ -42,6 +43,7 @@ function IntegrationListingGradientToJSON(value) {
|
|
|
42
43
|
return {
|
|
43
44
|
'from': value['from'],
|
|
44
45
|
'to': value['to'],
|
|
46
|
+
'angle': value['angle'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
exports.IntegrationListingGradientToJSON = IntegrationListingGradientToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.12.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.12.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,6 +34,18 @@ export interface UpdateAdminIntegrationListingRequest {
|
|
|
34
34
|
* @memberof UpdateAdminIntegrationListingRequest
|
|
35
35
|
*/
|
|
36
36
|
content?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The code of the integration
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
41
|
+
*/
|
|
42
|
+
integration?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The author of the integration listing
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
47
|
+
*/
|
|
48
|
+
author?: string;
|
|
37
49
|
/**
|
|
38
50
|
* The slug of the integration listing that is used in the URL
|
|
39
51
|
* @type {string}
|
|
@@ -52,6 +64,12 @@ export interface UpdateAdminIntegrationListingRequest {
|
|
|
52
64
|
* @memberof UpdateAdminIntegrationListingRequest
|
|
53
65
|
*/
|
|
54
66
|
icon?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The categories that this listing belongs to
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof UpdateAdminIntegrationListingRequest
|
|
71
|
+
*/
|
|
72
|
+
categories?: Array<string>;
|
|
55
73
|
}
|
|
56
74
|
/**
|
|
57
75
|
* Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
|