@teemill/integrations 0.11.1 → 0.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -18
- 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/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 -37
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -40
- 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 -93
- package/dist/esm/models/IntegrationListing.js +0 -79
- package/dist/esm/models/IntegrationListingGradient.d.ts +0 -37
- package/dist/esm/models/IntegrationListingGradient.js +0 -40
- 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 -13
- package/dist/esm/models/index.js +0 -15
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- 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 -37
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -47
- 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 -93
- package/dist/models/IntegrationListing.js +0 -86
- package/dist/models/IntegrationListingGradient.d.ts +0 -37
- package/dist/models/IntegrationListingGradient.js +0 -47
- 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 -13
- package/dist/models/index.js +0 -31
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/IntegrationsApi.ts +0 -676
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- 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 -68
- 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 -162
- package/src/models/IntegrationListingGradient.ts +0 -68
- 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 -15
- package/src/runtime.ts +0 -441
|
@@ -1,49 +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.7.0
|
|
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 IntegrationInfo
|
|
16
|
-
*/
|
|
17
|
-
export interface IntegrationInfo {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IntegrationInfo
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IntegrationInfo
|
|
28
|
-
*/
|
|
29
|
-
description: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IntegrationInfo
|
|
34
|
-
*/
|
|
35
|
-
author: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {object}
|
|
39
|
-
* @memberof IntegrationInfo
|
|
40
|
-
*/
|
|
41
|
-
icon: object;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the IntegrationInfo interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfIntegrationInfo(value: object): boolean;
|
|
47
|
-
export declare function IntegrationInfoFromJSON(json: any): IntegrationInfo;
|
|
48
|
-
export declare function IntegrationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationInfo;
|
|
49
|
-
export declare function IntegrationInfoToJSON(value?: IntegrationInfo | null): any;
|
|
@@ -1,52 +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.7.0
|
|
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 IntegrationInfo interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfIntegrationInfo(value) {
|
|
18
|
-
let isInstance = true;
|
|
19
|
-
isInstance = isInstance && "name" in value;
|
|
20
|
-
isInstance = isInstance && "description" in value;
|
|
21
|
-
isInstance = isInstance && "author" in value;
|
|
22
|
-
isInstance = isInstance && "icon" in value;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
export function IntegrationInfoFromJSON(json) {
|
|
26
|
-
return IntegrationInfoFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
export function IntegrationInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if ((json === undefined) || (json === null)) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'name': json['name'],
|
|
34
|
-
'description': json['description'],
|
|
35
|
-
'author': json['author'],
|
|
36
|
-
'icon': json['icon'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function IntegrationInfoToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'name': value.name,
|
|
48
|
-
'description': value.description,
|
|
49
|
-
'author': value.author,
|
|
50
|
-
'icon': value.icon,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { IntegrationCategory } from './IntegrationCategory';
|
|
13
|
-
import type { IntegrationListingGradient } from './IntegrationListingGradient';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface IntegrationListing
|
|
18
|
-
*/
|
|
19
|
-
export interface IntegrationListing {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof IntegrationListing
|
|
24
|
-
*/
|
|
25
|
-
readonly id?: number;
|
|
26
|
-
/**
|
|
27
|
-
* The slug of the integration listing that is used in the URL
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof IntegrationListing
|
|
30
|
-
*/
|
|
31
|
-
slug: string;
|
|
32
|
-
/**
|
|
33
|
-
* The code of the integration
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof IntegrationListing
|
|
36
|
-
*/
|
|
37
|
-
code: string;
|
|
38
|
-
/**
|
|
39
|
-
* The name of the integration listing
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof IntegrationListing
|
|
42
|
-
*/
|
|
43
|
-
name: string;
|
|
44
|
-
/**
|
|
45
|
-
* The description of the integration listing
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof IntegrationListing
|
|
48
|
-
*/
|
|
49
|
-
description: string;
|
|
50
|
-
/**
|
|
51
|
-
* The html content of the integration listing
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof IntegrationListing
|
|
54
|
-
*/
|
|
55
|
-
content: string;
|
|
56
|
-
/**
|
|
57
|
-
* The author of the integration listing
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof IntegrationListing
|
|
60
|
-
*/
|
|
61
|
-
author: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {object}
|
|
65
|
-
* @memberof IntegrationListing
|
|
66
|
-
*/
|
|
67
|
-
icon: object;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {IntegrationListingGradient}
|
|
71
|
-
* @memberof IntegrationListing
|
|
72
|
-
*/
|
|
73
|
-
gradient: IntegrationListingGradient;
|
|
74
|
-
/**
|
|
75
|
-
* The dependencies that this integration listing requires
|
|
76
|
-
* @type {Array<string>}
|
|
77
|
-
* @memberof IntegrationListing
|
|
78
|
-
*/
|
|
79
|
-
dependencies: Array<string>;
|
|
80
|
-
/**
|
|
81
|
-
* The categories that this listing belongs to
|
|
82
|
-
* @type {Array<IntegrationCategory>}
|
|
83
|
-
* @memberof IntegrationListing
|
|
84
|
-
*/
|
|
85
|
-
categories: Array<IntegrationCategory>;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Check if a given object implements the IntegrationListing interface.
|
|
89
|
-
*/
|
|
90
|
-
export declare function instanceOfIntegrationListing(value: object): value is IntegrationListing;
|
|
91
|
-
export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
|
|
92
|
-
export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
|
|
93
|
-
export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Integrations API
|
|
5
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.11.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
|
|
15
|
-
import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, } from './IntegrationListingGradient';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the IntegrationListing interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfIntegrationListing(value) {
|
|
20
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('code' in value) || value['code'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('author' in value) || value['author'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('icon' in value) || value['icon'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('gradient' in value) || value['gradient'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('dependencies' in value) || value['dependencies'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
export function IntegrationListingFromJSON(json) {
|
|
43
|
-
return IntegrationListingFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
51
|
-
'slug': json['slug'],
|
|
52
|
-
'code': json['code'],
|
|
53
|
-
'name': json['name'],
|
|
54
|
-
'description': json['description'],
|
|
55
|
-
'content': json['content'],
|
|
56
|
-
'author': json['author'],
|
|
57
|
-
'icon': json['icon'],
|
|
58
|
-
'gradient': IntegrationListingGradientFromJSON(json['gradient']),
|
|
59
|
-
'dependencies': json['dependencies'],
|
|
60
|
-
'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
export function IntegrationListingToJSON(value) {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
'slug': value['slug'],
|
|
69
|
-
'code': value['code'],
|
|
70
|
-
'name': value['name'],
|
|
71
|
-
'description': value['description'],
|
|
72
|
-
'content': value['content'],
|
|
73
|
-
'author': value['author'],
|
|
74
|
-
'icon': value['icon'],
|
|
75
|
-
'gradient': IntegrationListingGradientToJSON(value['gradient']),
|
|
76
|
-
'dependencies': value['dependencies'],
|
|
77
|
-
'categories': (value['categories'].map(IntegrationCategoryToJSON)),
|
|
78
|
-
};
|
|
79
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The gradient that is used to display the listing
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IntegrationListingGradient
|
|
16
|
-
*/
|
|
17
|
-
export interface IntegrationListingGradient {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IntegrationListingGradient
|
|
22
|
-
*/
|
|
23
|
-
from?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IntegrationListingGradient
|
|
28
|
-
*/
|
|
29
|
-
to?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the IntegrationListingGradient interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient;
|
|
35
|
-
export declare function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient;
|
|
36
|
-
export declare function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient;
|
|
37
|
-
export declare function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Integrations API
|
|
5
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.11.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the IntegrationListingGradient interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfIntegrationListingGradient(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function IntegrationListingGradientFromJSON(json) {
|
|
21
|
-
return IntegrationListingGradientFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'from': json['from'] == null ? undefined : json['from'],
|
|
29
|
-
'to': json['to'] == null ? undefined : json['to'],
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export function IntegrationListingGradientToJSON(value) {
|
|
33
|
-
if (value == null) {
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'from': value['from'],
|
|
38
|
-
'to': value['to'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { IntegrationListing } from './IntegrationListing';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IntegrationListingsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IntegrationListingsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<IntegrationListing>}
|
|
22
|
-
* @memberof IntegrationListingsResponse
|
|
23
|
-
*/
|
|
24
|
-
listings: Array<IntegrationListing>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse;
|
|
30
|
-
export declare function IntegrationListingsResponseFromJSON(json: any): IntegrationListingsResponse;
|
|
31
|
-
export declare function IntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingsResponse;
|
|
32
|
-
export declare function IntegrationListingsResponseToJSON(value?: IntegrationListingsResponse | null): any;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Integrations API
|
|
5
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.11.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { IntegrationListingFromJSON, IntegrationListingToJSON, } from './IntegrationListing';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfIntegrationListingsResponse(value) {
|
|
19
|
-
if (!('listings' in value) || value['listings'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function IntegrationListingsResponseFromJSON(json) {
|
|
24
|
-
return IntegrationListingsResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'listings': (json['listings'].map(IntegrationListingFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function IntegrationListingsResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'listings': (value['listings'].map(IntegrationListingToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IntegrationProduct
|
|
16
|
-
*/
|
|
17
|
-
export interface IntegrationProduct {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the product
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof IntegrationProduct
|
|
22
|
-
*/
|
|
23
|
-
readonly id?: number;
|
|
24
|
-
/**
|
|
25
|
-
* The SKU of the product
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IntegrationProduct
|
|
28
|
-
*/
|
|
29
|
-
sku: string;
|
|
30
|
-
/**
|
|
31
|
-
* The name of the product
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IntegrationProduct
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
* The slug of the product that is used in the URL
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof IntegrationProduct
|
|
40
|
-
*/
|
|
41
|
-
slug: string;
|
|
42
|
-
/**
|
|
43
|
-
* The user facing description of the product
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof IntegrationProduct
|
|
46
|
-
*/
|
|
47
|
-
description: string;
|
|
48
|
-
/**
|
|
49
|
-
* The price of the product in GBP
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof IntegrationProduct
|
|
52
|
-
*/
|
|
53
|
-
price: number;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the IntegrationProduct interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfIntegrationProduct(value: object): value is IntegrationProduct;
|
|
59
|
-
export declare function IntegrationProductFromJSON(json: any): IntegrationProduct;
|
|
60
|
-
export declare function IntegrationProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProduct;
|
|
61
|
-
export declare function IntegrationProductToJSON(value?: Omit<IntegrationProduct, 'id'> | null): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Integrations API
|
|
5
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.11.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the IntegrationProduct interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfIntegrationProduct(value) {
|
|
18
|
-
if (!('sku' in value) || value['sku'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function IntegrationProductFromJSON(json) {
|
|
31
|
-
return IntegrationProductFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function IntegrationProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
39
|
-
'sku': json['sku'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
'slug': json['slug'],
|
|
42
|
-
'description': json['description'],
|
|
43
|
-
'price': json['price'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export function IntegrationProductToJSON(value) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'sku': value['sku'],
|
|
52
|
-
'name': value['name'],
|
|
53
|
-
'slug': value['slug'],
|
|
54
|
-
'description': value['description'],
|
|
55
|
-
'price': value['price'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { IntegrationProduct } from './IntegrationProduct';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IntegrationProductsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IntegrationProductsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<IntegrationProduct>}
|
|
22
|
-
* @memberof IntegrationProductsResponse
|
|
23
|
-
*/
|
|
24
|
-
products: Array<IntegrationProduct>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IntegrationProductsResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIntegrationProductsResponse(value: object): value is IntegrationProductsResponse;
|
|
30
|
-
export declare function IntegrationProductsResponseFromJSON(json: any): IntegrationProductsResponse;
|
|
31
|
-
export declare function IntegrationProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProductsResponse;
|
|
32
|
-
export declare function IntegrationProductsResponseToJSON(value?: IntegrationProductsResponse | null): any;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Integrations API
|
|
5
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.11.1
|
|
8
|
-
* Contact: hello@teemill.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { IntegrationProductFromJSON, IntegrationProductToJSON, } from './IntegrationProduct';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the IntegrationProductsResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfIntegrationProductsResponse(value) {
|
|
19
|
-
if (!('products' in value) || value['products'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function IntegrationProductsResponseFromJSON(json) {
|
|
24
|
-
return IntegrationProductsResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function IntegrationProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'products': (json['products'].map(IntegrationProductFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function IntegrationProductsResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'products': (value['products'].map(IntegrationProductToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.11.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Integration } from './Integration';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IntegrationsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IntegrationsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Integration>}
|
|
22
|
-
* @memberof IntegrationsResponse
|
|
23
|
-
*/
|
|
24
|
-
integrations: Array<Integration>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IntegrationsResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse;
|
|
30
|
-
export declare function IntegrationsResponseFromJSON(json: any): IntegrationsResponse;
|
|
31
|
-
export declare function IntegrationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationsResponse;
|
|
32
|
-
export declare function IntegrationsResponseToJSON(value?: IntegrationsResponse | null): any;
|