@teemill/integrations 0.12.2 → 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.
- package/.openapi-generator/FILES +6 -21
- package/README.md +3 -3
- package/api.ts +1649 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1100 -0
- package/dist/api.js +910 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1100 -0
- package/dist/esm/api.js +903 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/IntegrationsApi.d.ts +0 -164
- package/dist/apis/IntegrationsApi.js +0 -490
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/IntegrationsApi.d.ts +0 -164
- package/dist/esm/apis/IntegrationsApi.js +0 -486
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/esm/models/AdminIntegrationListing.js +0 -85
- package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/AdminIntegrationListingsResponse.js +0 -41
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/CategoriesResponse.d.ts +0 -32
- package/dist/esm/models/CategoriesResponse.js +0 -44
- package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -42
- package/dist/esm/models/Icon.d.ts +0 -43
- package/dist/esm/models/Icon.js +0 -48
- package/dist/esm/models/Integration.d.ts +0 -45
- package/dist/esm/models/Integration.js +0 -41
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
- package/dist/esm/models/IntegrationCategory.d.ts +0 -52
- package/dist/esm/models/IntegrationCategory.js +0 -56
- package/dist/esm/models/IntegrationInfo.d.ts +0 -49
- package/dist/esm/models/IntegrationInfo.js +0 -52
- package/dist/esm/models/IntegrationListing.d.ts +0 -94
- package/dist/esm/models/IntegrationListing.js +0 -80
- package/dist/esm/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/esm/models/IntegrationListingGradient.js +0 -42
- package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationListingsResponse.js +0 -41
- package/dist/esm/models/IntegrationProduct.d.ts +0 -61
- package/dist/esm/models/IntegrationProduct.js +0 -57
- package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationProductsResponse.js +0 -41
- package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationsResponse.js +0 -41
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
- package/dist/esm/models/index.d.ts +0 -16
- package/dist/esm/models/index.js +0 -18
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/models/AdminIntegrationListing.js +0 -92
- package/dist/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/models/AdminIntegrationListingsResponse.js +0 -48
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/CategoriesResponse.d.ts +0 -32
- package/dist/models/CategoriesResponse.js +0 -51
- package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
- package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -49
- package/dist/models/Icon.d.ts +0 -43
- package/dist/models/Icon.js +0 -55
- package/dist/models/Integration.d.ts +0 -45
- package/dist/models/Integration.js +0 -48
- package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/models/IntegrationCategoriesResponse.js +0 -48
- package/dist/models/IntegrationCategory.d.ts +0 -52
- package/dist/models/IntegrationCategory.js +0 -63
- package/dist/models/IntegrationInfo.d.ts +0 -49
- package/dist/models/IntegrationInfo.js +0 -59
- package/dist/models/IntegrationListing.d.ts +0 -94
- package/dist/models/IntegrationListing.js +0 -87
- package/dist/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/models/IntegrationListingGradient.js +0 -49
- package/dist/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/models/IntegrationListingsResponse.js +0 -48
- package/dist/models/IntegrationProduct.d.ts +0 -61
- package/dist/models/IntegrationProduct.js +0 -64
- package/dist/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/models/IntegrationProductsResponse.js +0 -48
- package/dist/models/IntegrationsResponse.d.ts +0 -32
- package/dist/models/IntegrationsResponse.js +0 -48
- package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
- package/dist/models/index.d.ts +0 -16
- package/dist/models/index.js +0 -34
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/IntegrationsApi.ts +0 -682
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/AdminIntegrationListing.ts +0 -183
- package/src/models/AdminIntegrationListingsResponse.ts +0 -68
- package/src/models/ApiError.ts +0 -69
- package/src/models/CategoriesResponse.ts +0 -73
- package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
- package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -76
- package/src/models/Icon.ts +0 -79
- package/src/models/Integration.ts +0 -75
- package/src/models/IntegrationCategoriesResponse.ts +0 -68
- package/src/models/IntegrationCategory.ts +0 -91
- package/src/models/IntegrationInfo.ts +0 -93
- package/src/models/IntegrationListing.ts +0 -168
- package/src/models/IntegrationListingGradient.ts +0 -76
- package/src/models/IntegrationListingsResponse.ts +0 -68
- package/src/models/IntegrationProduct.ts +0 -104
- package/src/models/IntegrationProductsResponse.ts +0 -68
- package/src/models/IntegrationsResponse.ts +0 -68
- package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
- package/src/models/index.ts +0 -18
- package/src/runtime.ts +0 -441
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Integration } from './Integration';
|
|
13
|
-
import type { IntegrationCategory } from './IntegrationCategory';
|
|
14
|
-
import type { IntegrationListingGradient } from './IntegrationListingGradient';
|
|
15
|
-
import type { Icon } from './Icon';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AdminIntegrationListing
|
|
20
|
-
*/
|
|
21
|
-
export interface AdminIntegrationListing {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof AdminIntegrationListing
|
|
26
|
-
*/
|
|
27
|
-
readonly id?: number;
|
|
28
|
-
/**
|
|
29
|
-
* The slug of the integration listing that is used in the URL
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AdminIntegrationListing
|
|
32
|
-
*/
|
|
33
|
-
slug: string;
|
|
34
|
-
/**
|
|
35
|
-
* The code of the integration
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AdminIntegrationListing
|
|
38
|
-
*/
|
|
39
|
-
code: string;
|
|
40
|
-
/**
|
|
41
|
-
* The name of the integration listing
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AdminIntegrationListing
|
|
44
|
-
*/
|
|
45
|
-
name: string;
|
|
46
|
-
/**
|
|
47
|
-
* The description of the integration listing
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AdminIntegrationListing
|
|
50
|
-
*/
|
|
51
|
-
description: string;
|
|
52
|
-
/**
|
|
53
|
-
* The html content of the integration listing
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof AdminIntegrationListing
|
|
56
|
-
*/
|
|
57
|
-
content: string;
|
|
58
|
-
/**
|
|
59
|
-
* The author of the integration listing
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof AdminIntegrationListing
|
|
62
|
-
*/
|
|
63
|
-
author: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Icon}
|
|
67
|
-
* @memberof AdminIntegrationListing
|
|
68
|
-
*/
|
|
69
|
-
icon: Icon;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {IntegrationListingGradient}
|
|
73
|
-
* @memberof AdminIntegrationListing
|
|
74
|
-
*/
|
|
75
|
-
gradient: IntegrationListingGradient;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {Integration}
|
|
79
|
-
* @memberof AdminIntegrationListing
|
|
80
|
-
*/
|
|
81
|
-
integration: Integration;
|
|
82
|
-
/**
|
|
83
|
-
* The dependencies that this integration listing requires
|
|
84
|
-
* @type {Array<string>}
|
|
85
|
-
* @memberof AdminIntegrationListing
|
|
86
|
-
*/
|
|
87
|
-
dependencies: Array<string>;
|
|
88
|
-
/**
|
|
89
|
-
* The categories that this listing belongs to
|
|
90
|
-
* @type {Array<IntegrationCategory>}
|
|
91
|
-
* @memberof AdminIntegrationListing
|
|
92
|
-
*/
|
|
93
|
-
categories: Array<IntegrationCategory>;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Check if a given object implements the AdminIntegrationListing interface.
|
|
97
|
-
*/
|
|
98
|
-
export declare function instanceOfAdminIntegrationListing(value: object): value is AdminIntegrationListing;
|
|
99
|
-
export declare function AdminIntegrationListingFromJSON(json: any): AdminIntegrationListing;
|
|
100
|
-
export declare function AdminIntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListing;
|
|
101
|
-
export declare function AdminIntegrationListingToJSON(value?: Omit<AdminIntegrationListing, 'id'> | null): any;
|
|
@@ -1,85 +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.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
|
-
import { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
|
|
15
|
-
import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
|
|
16
|
-
import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, } from './IntegrationListingGradient';
|
|
17
|
-
import { IconFromJSON, IconToJSON, } from './Icon';
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the AdminIntegrationListing interface.
|
|
20
|
-
*/
|
|
21
|
-
export function instanceOfAdminIntegrationListing(value) {
|
|
22
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('code' in value) || value['code'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('author' in value) || value['author'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('icon' in value) || value['icon'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('gradient' in value) || value['gradient'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('integration' in value) || value['integration'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('dependencies' in value) || value['dependencies'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
export function AdminIntegrationListingFromJSON(json) {
|
|
47
|
-
return AdminIntegrationListingFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function AdminIntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
55
|
-
'slug': json['slug'],
|
|
56
|
-
'code': json['code'],
|
|
57
|
-
'name': json['name'],
|
|
58
|
-
'description': json['description'],
|
|
59
|
-
'content': json['content'],
|
|
60
|
-
'author': json['author'],
|
|
61
|
-
'icon': IconFromJSON(json['icon']),
|
|
62
|
-
'gradient': IntegrationListingGradientFromJSON(json['gradient']),
|
|
63
|
-
'integration': IntegrationFromJSON(json['integration']),
|
|
64
|
-
'dependencies': json['dependencies'],
|
|
65
|
-
'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
export function AdminIntegrationListingToJSON(value) {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
'slug': value['slug'],
|
|
74
|
-
'code': value['code'],
|
|
75
|
-
'name': value['name'],
|
|
76
|
-
'description': value['description'],
|
|
77
|
-
'content': value['content'],
|
|
78
|
-
'author': value['author'],
|
|
79
|
-
'icon': IconToJSON(value['icon']),
|
|
80
|
-
'gradient': IntegrationListingGradientToJSON(value['gradient']),
|
|
81
|
-
'integration': IntegrationToJSON(value['integration']),
|
|
82
|
-
'dependencies': value['dependencies'],
|
|
83
|
-
'categories': (value['categories'].map(IntegrationCategoryToJSON)),
|
|
84
|
-
};
|
|
85
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { AdminIntegrationListing } from './AdminIntegrationListing';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AdminIntegrationListingsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AdminIntegrationListingsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AdminIntegrationListing>}
|
|
22
|
-
* @memberof AdminIntegrationListingsResponse
|
|
23
|
-
*/
|
|
24
|
-
listings: Array<AdminIntegrationListing>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AdminIntegrationListingsResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAdminIntegrationListingsResponse(value: object): value is AdminIntegrationListingsResponse;
|
|
30
|
-
export declare function AdminIntegrationListingsResponseFromJSON(json: any): AdminIntegrationListingsResponse;
|
|
31
|
-
export declare function AdminIntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListingsResponse;
|
|
32
|
-
export declare function AdminIntegrationListingsResponseToJSON(value?: AdminIntegrationListingsResponse | null): any;
|
|
@@ -1,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.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
|
-
import { AdminIntegrationListingFromJSON, AdminIntegrationListingToJSON, } from './AdminIntegrationListing';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the AdminIntegrationListingsResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfAdminIntegrationListingsResponse(value) {
|
|
19
|
-
if (!('listings' in value) || value['listings'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function AdminIntegrationListingsResponseFromJSON(json) {
|
|
24
|
-
return AdminIntegrationListingsResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function AdminIntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'listings': (json['listings'].map(AdminIntegrationListingFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function AdminIntegrationListingsResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'listings': (value['listings'].map(AdminIntegrationListingToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiError
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiError {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiError
|
|
22
|
-
*/
|
|
23
|
-
code?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiError
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ApiError interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfApiError(value: object): value is ApiError;
|
|
35
|
-
export declare function ApiErrorFromJSON(json: any): ApiError;
|
|
36
|
-
export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
|
|
37
|
-
export declare function ApiErrorToJSON(value?: ApiError | null): any;
|
|
@@ -1,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.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
|
-
* 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.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreateAdminIntegrationListingRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateAdminIntegrationListingRequest {
|
|
19
|
-
/**
|
|
20
|
-
* The name of the integration listing
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
* The description of the integration listing
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
29
|
-
*/
|
|
30
|
-
description: string;
|
|
31
|
-
/**
|
|
32
|
-
* The html content of the integration listing
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
35
|
-
*/
|
|
36
|
-
content: string;
|
|
37
|
-
/**
|
|
38
|
-
* The author of the integration listing
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
41
|
-
*/
|
|
42
|
-
author: string;
|
|
43
|
-
/**
|
|
44
|
-
* The code of the integration
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
47
|
-
*/
|
|
48
|
-
integration: string;
|
|
49
|
-
/**
|
|
50
|
-
* The slug of the integration listing that is used in the URL
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
53
|
-
*/
|
|
54
|
-
slug: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {CreateAdminIntegrationListingRequestGradient}
|
|
58
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
59
|
-
*/
|
|
60
|
-
gradient: CreateAdminIntegrationListingRequestGradient;
|
|
61
|
-
/**
|
|
62
|
-
* The icon of the integration listing
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
65
|
-
*/
|
|
66
|
-
icon: string;
|
|
67
|
-
/**
|
|
68
|
-
* The categories that this listing belongs to
|
|
69
|
-
* @type {Array<string>}
|
|
70
|
-
* @memberof CreateAdminIntegrationListingRequest
|
|
71
|
-
*/
|
|
72
|
-
categories: Array<string>;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the CreateAdminIntegrationListingRequest interface.
|
|
76
|
-
*/
|
|
77
|
-
export declare function instanceOfCreateAdminIntegrationListingRequest(value: object): value is CreateAdminIntegrationListingRequest;
|
|
78
|
-
export declare function CreateAdminIntegrationListingRequestFromJSON(json: any): CreateAdminIntegrationListingRequest;
|
|
79
|
-
export declare function CreateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequest;
|
|
80
|
-
export declare function CreateAdminIntegrationListingRequestToJSON(value?: CreateAdminIntegrationListingRequest | null): any;
|
|
@@ -1,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.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
|
-
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,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The gradient that is used to display the listing
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CreateAdminIntegrationListingRequestGradient
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateAdminIntegrationListingRequestGradient {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
22
|
-
*/
|
|
23
|
-
from?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
28
|
-
*/
|
|
29
|
-
to?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CreateAdminIntegrationListingRequestGradient
|
|
34
|
-
*/
|
|
35
|
-
angle?: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfCreateAdminIntegrationListingRequestGradient(value: object): value is CreateAdminIntegrationListingRequestGradient;
|
|
41
|
-
export declare function CreateAdminIntegrationListingRequestGradientFromJSON(json: any): CreateAdminIntegrationListingRequestGradient;
|
|
42
|
-
export declare function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequestGradient;
|
|
43
|
-
export declare function CreateAdminIntegrationListingRequestGradientToJSON(value?: CreateAdminIntegrationListingRequestGradient | null): any;
|
|
@@ -1,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.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
|
-
* 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
|
-
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function CreateAdminIntegrationListingRequestGradientToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'from': value['from'],
|
|
39
|
-
'to': value['to'],
|
|
40
|
-
'angle': value['angle'],
|
|
41
|
-
};
|
|
42
|
-
}
|