@teemill/integrations 0.8.2 → 0.8.4
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 +2 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/IntegrationsApi.d.ts +4 -4
- package/dist/apis/IntegrationsApi.js +172 -351
- package/dist/esm/apis/IntegrationsApi.d.ts +91 -0
- package/dist/esm/apis/IntegrationsApi.js +256 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiError.d.ts +37 -0
- package/dist/esm/models/ApiError.js +42 -0
- package/dist/esm/models/CategoriesResponse.d.ts +32 -0
- package/dist/esm/models/CategoriesResponse.js +44 -0
- package/dist/esm/models/Integration.d.ts +62 -0
- package/dist/esm/models/Integration.js +57 -0
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +32 -0
- package/dist/esm/models/IntegrationCategoriesResponse.js +41 -0
- package/dist/esm/models/IntegrationCategory.d.ts +52 -0
- package/dist/esm/models/IntegrationCategory.js +56 -0
- package/dist/esm/models/IntegrationInfo.d.ts +49 -0
- package/dist/esm/models/IntegrationInfo.js +52 -0
- package/dist/esm/models/IntegrationListing.d.ts +93 -0
- package/dist/esm/models/IntegrationListing.js +79 -0
- package/dist/esm/models/IntegrationListingGradient.d.ts +37 -0
- package/dist/esm/models/IntegrationListingGradient.js +40 -0
- package/dist/esm/models/IntegrationListingsResponse.d.ts +32 -0
- package/dist/esm/models/IntegrationListingsResponse.js +41 -0
- package/dist/esm/models/IntegrationProduct.d.ts +61 -0
- package/dist/esm/models/IntegrationProduct.js +57 -0
- package/dist/esm/models/IntegrationProductsResponse.d.ts +32 -0
- package/dist/esm/models/IntegrationProductsResponse.js +41 -0
- package/dist/esm/models/IntegrationsResponse.d.ts +32 -0
- package/dist/esm/models/IntegrationsResponse.js +44 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +333 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +10 -14
- package/dist/models/CategoriesResponse.js +2 -2
- package/dist/models/Integration.js +3 -3
- package/dist/models/IntegrationCategoriesResponse.d.ts +32 -0
- package/dist/models/IntegrationCategoriesResponse.js +48 -0
- package/dist/models/IntegrationCategory.d.ts +1 -1
- package/dist/models/IntegrationCategory.js +14 -15
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationListing.d.ts +3 -3
- package/dist/models/IntegrationListing.js +39 -33
- package/dist/models/IntegrationListingGradient.d.ts +1 -1
- package/dist/models/IntegrationListingGradient.js +9 -14
- package/dist/models/IntegrationListingsResponse.d.ts +2 -2
- package/dist/models/IntegrationListingsResponse.js +10 -13
- package/dist/models/IntegrationProduct.d.ts +2 -2
- package/dist/models/IntegrationProduct.js +21 -21
- package/dist/models/IntegrationProductsResponse.d.ts +1 -1
- package/dist/models/IntegrationProductsResponse.js +9 -12
- package/dist/models/IntegrationsResponse.js +2 -2
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/IntegrationsApi.ts +7 -7
- package/src/models/ApiError.ts +10 -15
- package/src/models/IntegrationCategoriesResponse.ts +68 -0
- package/src/models/IntegrationCategory.ts +12 -17
- package/src/models/IntegrationListing.ts +30 -34
- package/src/models/IntegrationListingGradient.ts +10 -15
- package/src/models/IntegrationListingsResponse.ts +10 -14
- package/src/models/IntegrationProduct.ts +18 -23
- package/src/models/IntegrationProductsResponse.ts +8 -13
- package/src/models/index.ts +1 -1
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,41 @@
|
|
|
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.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the IntegrationCategoriesResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfIntegrationCategoriesResponse(value) {
|
|
19
|
+
if (!('categories' in value))
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function IntegrationCategoriesResponseFromJSON(json) {
|
|
24
|
+
return IntegrationCategoriesResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function IntegrationCategoriesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function IntegrationCategoriesResponseToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'categories': (value['categories'].map(IntegrationCategoryToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.4
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegrationCategory
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationCategory {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the category
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationCategory
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The slug of the category that is used in the URL
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationCategory
|
|
28
|
+
*/
|
|
29
|
+
slug: string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of category, used to determine how it is displayed
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationCategory
|
|
34
|
+
*/
|
|
35
|
+
type: IntegrationCategoryTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const IntegrationCategoryTypeEnum: {
|
|
41
|
+
readonly Featured: "featured";
|
|
42
|
+
readonly Grid: "grid";
|
|
43
|
+
readonly Column: "column";
|
|
44
|
+
};
|
|
45
|
+
export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[keyof typeof IntegrationCategoryTypeEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the IntegrationCategory interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfIntegrationCategory(value: object): boolean;
|
|
50
|
+
export declare function IntegrationCategoryFromJSON(json: any): IntegrationCategory;
|
|
51
|
+
export declare function IntegrationCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategory;
|
|
52
|
+
export declare function IntegrationCategoryToJSON(value?: IntegrationCategory | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.4
|
|
8
|
+
* Contact: hello@teemill.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const IntegrationCategoryTypeEnum = {
|
|
18
|
+
Featured: 'featured',
|
|
19
|
+
Grid: 'grid',
|
|
20
|
+
Column: 'column'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the IntegrationCategory interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfIntegrationCategory(value) {
|
|
26
|
+
if (!('name' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('slug' in value))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('type' in value))
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function IntegrationCategoryFromJSON(json) {
|
|
35
|
+
return IntegrationCategoryFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function IntegrationCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'slug': json['slug'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function IntegrationCategoryToJSON(value) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'slug': value['slug'],
|
|
54
|
+
'type': value['type'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.4
|
|
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): boolean;
|
|
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;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Integrations API
|
|
5
|
+
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.8.4
|
|
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))
|
|
21
|
+
return false;
|
|
22
|
+
if (!('code' in value))
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value))
|
|
25
|
+
return false;
|
|
26
|
+
if (!('description' in value))
|
|
27
|
+
return false;
|
|
28
|
+
if (!('content' in value))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('author' in value))
|
|
31
|
+
return false;
|
|
32
|
+
if (!('icon' in value))
|
|
33
|
+
return false;
|
|
34
|
+
if (!('gradient' in value))
|
|
35
|
+
return false;
|
|
36
|
+
if (!('dependencies' in value))
|
|
37
|
+
return false;
|
|
38
|
+
if (!('categories' in value))
|
|
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
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.4
|
|
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): boolean;
|
|
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;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.4
|
|
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
|
+
}
|
|
@@ -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.8.4
|
|
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): boolean;
|
|
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;
|
|
@@ -0,0 +1,41 @@
|
|
|
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.4
|
|
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))
|
|
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
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.4
|
|
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): boolean;
|
|
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;
|