@teemill/integrations 0.12.2 → 0.12.7
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,75 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Integration
|
|
20
|
-
*/
|
|
21
|
-
export interface Integration {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof Integration
|
|
26
|
-
*/
|
|
27
|
-
readonly id?: number;
|
|
28
|
-
/**
|
|
29
|
-
* The code of the integration
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Integration
|
|
32
|
-
*/
|
|
33
|
-
code?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The configuration of the integration
|
|
36
|
-
* @type {{ [key: string]: string; }}
|
|
37
|
-
* @memberof Integration
|
|
38
|
-
*/
|
|
39
|
-
config?: { [key: string]: string; };
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the Integration interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfIntegration(value: object): value is Integration {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntegrationFromJSON(json: any): Integration {
|
|
50
|
-
return IntegrationFromJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
60
|
-
'code': json['code'] == null ? undefined : json['code'],
|
|
61
|
-
'config': json['config'] == null ? undefined : json['config'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntegrationToJSON(value?: Omit<Integration, 'id'> | null): any {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'code': value['code'],
|
|
72
|
-
'config': value['config'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,68 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IntegrationCategory } from './IntegrationCategory';
|
|
17
|
-
import {
|
|
18
|
-
IntegrationCategoryFromJSON,
|
|
19
|
-
IntegrationCategoryFromJSONTyped,
|
|
20
|
-
IntegrationCategoryToJSON,
|
|
21
|
-
} from './IntegrationCategory';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntegrationCategoriesResponse
|
|
27
|
-
*/
|
|
28
|
-
export interface IntegrationCategoriesResponse {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<IntegrationCategory>}
|
|
32
|
-
* @memberof IntegrationCategoriesResponse
|
|
33
|
-
*/
|
|
34
|
-
categories: Array<IntegrationCategory>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IntegrationCategoriesResponse interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfIntegrationCategoriesResponse(value: object): value is IntegrationCategoriesResponse {
|
|
41
|
-
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IntegrationCategoriesResponseFromJSON(json: any): IntegrationCategoriesResponse {
|
|
46
|
-
return IntegrationCategoriesResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntegrationCategoriesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategoriesResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'categories': ((json['categories'] as Array<any>).map(IntegrationCategoryFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IntegrationCategoriesResponseToJSON(value?: IntegrationCategoriesResponse | null): any {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'categories': ((value['categories'] as Array<any>).map(IntegrationCategoryToJSON)),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
@@ -1,91 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IntegrationCategory
|
|
20
|
-
*/
|
|
21
|
-
export interface IntegrationCategory {
|
|
22
|
-
/**
|
|
23
|
-
* The name of the category
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IntegrationCategory
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* The slug of the category that is used in the URL
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IntegrationCategory
|
|
32
|
-
*/
|
|
33
|
-
slug: string;
|
|
34
|
-
/**
|
|
35
|
-
* The type of category, used to determine how it is displayed
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IntegrationCategory
|
|
38
|
-
*/
|
|
39
|
-
type: IntegrationCategoryTypeEnum;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const IntegrationCategoryTypeEnum = {
|
|
47
|
-
Featured: 'featured',
|
|
48
|
-
Grid: 'grid',
|
|
49
|
-
Column: 'column'
|
|
50
|
-
} as const;
|
|
51
|
-
export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[keyof typeof IntegrationCategoryTypeEnum];
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the IntegrationCategory interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfIntegrationCategory(value: object): value is IntegrationCategory {
|
|
58
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
59
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
60
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function IntegrationCategoryFromJSON(json: any): IntegrationCategory {
|
|
65
|
-
return IntegrationCategoryFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function IntegrationCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategory {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'name': json['name'],
|
|
75
|
-
'slug': json['slug'],
|
|
76
|
-
'type': json['type'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function IntegrationCategoryToJSON(value?: IntegrationCategory | null): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'name': value['name'],
|
|
87
|
-
'slug': value['slug'],
|
|
88
|
-
'type': value['type'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
@@ -1,93 +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
|
-
import { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IntegrationInfo
|
|
20
|
-
*/
|
|
21
|
-
export interface IntegrationInfo {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IntegrationInfo
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IntegrationInfo
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IntegrationInfo
|
|
38
|
-
*/
|
|
39
|
-
author: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {object}
|
|
43
|
-
* @memberof IntegrationInfo
|
|
44
|
-
*/
|
|
45
|
-
icon: object;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the IntegrationInfo interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfIntegrationInfo(value: object): boolean {
|
|
52
|
-
let isInstance = true;
|
|
53
|
-
isInstance = isInstance && "name" in value;
|
|
54
|
-
isInstance = isInstance && "description" in value;
|
|
55
|
-
isInstance = isInstance && "author" in value;
|
|
56
|
-
isInstance = isInstance && "icon" in value;
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function IntegrationInfoFromJSON(json: any): IntegrationInfo {
|
|
62
|
-
return IntegrationInfoFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntegrationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationInfo {
|
|
66
|
-
if ((json === undefined) || (json === null)) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'name': json['name'],
|
|
72
|
-
'description': json['description'],
|
|
73
|
-
'author': json['author'],
|
|
74
|
-
'icon': json['icon'],
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function IntegrationInfoToJSON(value?: IntegrationInfo | null): any {
|
|
79
|
-
if (value === undefined) {
|
|
80
|
-
return undefined;
|
|
81
|
-
}
|
|
82
|
-
if (value === null) {
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'name': value.name,
|
|
88
|
-
'description': value.description,
|
|
89
|
-
'author': value.author,
|
|
90
|
-
'icon': value.icon,
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|
|
@@ -1,168 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IntegrationCategory } from './IntegrationCategory';
|
|
17
|
-
import {
|
|
18
|
-
IntegrationCategoryFromJSON,
|
|
19
|
-
IntegrationCategoryFromJSONTyped,
|
|
20
|
-
IntegrationCategoryToJSON,
|
|
21
|
-
} from './IntegrationCategory';
|
|
22
|
-
import type { IntegrationListingGradient } from './IntegrationListingGradient';
|
|
23
|
-
import {
|
|
24
|
-
IntegrationListingGradientFromJSON,
|
|
25
|
-
IntegrationListingGradientFromJSONTyped,
|
|
26
|
-
IntegrationListingGradientToJSON,
|
|
27
|
-
} from './IntegrationListingGradient';
|
|
28
|
-
import type { Icon } from './Icon';
|
|
29
|
-
import {
|
|
30
|
-
IconFromJSON,
|
|
31
|
-
IconFromJSONTyped,
|
|
32
|
-
IconToJSON,
|
|
33
|
-
} from './Icon';
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface IntegrationListing
|
|
39
|
-
*/
|
|
40
|
-
export interface IntegrationListing {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {number}
|
|
44
|
-
* @memberof IntegrationListing
|
|
45
|
-
*/
|
|
46
|
-
readonly id?: number;
|
|
47
|
-
/**
|
|
48
|
-
* The slug of the integration listing that is used in the URL
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof IntegrationListing
|
|
51
|
-
*/
|
|
52
|
-
slug: string;
|
|
53
|
-
/**
|
|
54
|
-
* The code of the integration
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof IntegrationListing
|
|
57
|
-
*/
|
|
58
|
-
code: string;
|
|
59
|
-
/**
|
|
60
|
-
* The name of the integration listing
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof IntegrationListing
|
|
63
|
-
*/
|
|
64
|
-
name: string;
|
|
65
|
-
/**
|
|
66
|
-
* The description of the integration listing
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof IntegrationListing
|
|
69
|
-
*/
|
|
70
|
-
description: string;
|
|
71
|
-
/**
|
|
72
|
-
* The html content of the integration listing
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof IntegrationListing
|
|
75
|
-
*/
|
|
76
|
-
content: string;
|
|
77
|
-
/**
|
|
78
|
-
* The author of the integration listing
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof IntegrationListing
|
|
81
|
-
*/
|
|
82
|
-
author: string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Icon}
|
|
86
|
-
* @memberof IntegrationListing
|
|
87
|
-
*/
|
|
88
|
-
icon: Icon;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {IntegrationListingGradient}
|
|
92
|
-
* @memberof IntegrationListing
|
|
93
|
-
*/
|
|
94
|
-
gradient: IntegrationListingGradient;
|
|
95
|
-
/**
|
|
96
|
-
* The dependencies that this integration listing requires
|
|
97
|
-
* @type {Array<string>}
|
|
98
|
-
* @memberof IntegrationListing
|
|
99
|
-
*/
|
|
100
|
-
dependencies: Array<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The categories that this listing belongs to
|
|
103
|
-
* @type {Array<IntegrationCategory>}
|
|
104
|
-
* @memberof IntegrationListing
|
|
105
|
-
*/
|
|
106
|
-
categories: Array<IntegrationCategory>;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Check if a given object implements the IntegrationListing interface.
|
|
111
|
-
*/
|
|
112
|
-
export function instanceOfIntegrationListing(value: object): value is IntegrationListing {
|
|
113
|
-
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
114
|
-
if (!('code' in value) || value['code'] === undefined) return false;
|
|
115
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
116
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
117
|
-
if (!('content' in value) || value['content'] === undefined) return false;
|
|
118
|
-
if (!('author' in value) || value['author'] === undefined) return false;
|
|
119
|
-
if (!('icon' in value) || value['icon'] === undefined) return false;
|
|
120
|
-
if (!('gradient' in value) || value['gradient'] === undefined) return false;
|
|
121
|
-
if (!('dependencies' in value) || value['dependencies'] === undefined) return false;
|
|
122
|
-
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
123
|
-
return true;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export function IntegrationListingFromJSON(json: any): IntegrationListing {
|
|
127
|
-
return IntegrationListingFromJSONTyped(json, false);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing {
|
|
131
|
-
if (json == null) {
|
|
132
|
-
return json;
|
|
133
|
-
}
|
|
134
|
-
return {
|
|
135
|
-
|
|
136
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
137
|
-
'slug': json['slug'],
|
|
138
|
-
'code': json['code'],
|
|
139
|
-
'name': json['name'],
|
|
140
|
-
'description': json['description'],
|
|
141
|
-
'content': json['content'],
|
|
142
|
-
'author': json['author'],
|
|
143
|
-
'icon': IconFromJSON(json['icon']),
|
|
144
|
-
'gradient': IntegrationListingGradientFromJSON(json['gradient']),
|
|
145
|
-
'dependencies': json['dependencies'],
|
|
146
|
-
'categories': ((json['categories'] as Array<any>).map(IntegrationCategoryFromJSON)),
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any {
|
|
151
|
-
if (value == null) {
|
|
152
|
-
return value;
|
|
153
|
-
}
|
|
154
|
-
return {
|
|
155
|
-
|
|
156
|
-
'slug': value['slug'],
|
|
157
|
-
'code': value['code'],
|
|
158
|
-
'name': value['name'],
|
|
159
|
-
'description': value['description'],
|
|
160
|
-
'content': value['content'],
|
|
161
|
-
'author': value['author'],
|
|
162
|
-
'icon': IconToJSON(value['icon']),
|
|
163
|
-
'gradient': IntegrationListingGradientToJSON(value['gradient']),
|
|
164
|
-
'dependencies': value['dependencies'],
|
|
165
|
-
'categories': ((value['categories'] as Array<any>).map(IntegrationCategoryToJSON)),
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
|
|
@@ -1,76 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* The gradient that is used to display the listing
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IntegrationListingGradient
|
|
20
|
-
*/
|
|
21
|
-
export interface IntegrationListingGradient {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IntegrationListingGradient
|
|
26
|
-
*/
|
|
27
|
-
from?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IntegrationListingGradient
|
|
32
|
-
*/
|
|
33
|
-
to?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IntegrationListingGradient
|
|
38
|
-
*/
|
|
39
|
-
angle?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the IntegrationListingGradient interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient {
|
|
50
|
-
return IntegrationListingGradientFromJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient {
|
|
54
|
-
if (json == null) {
|
|
55
|
-
return json;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
|
|
59
|
-
'from': json['from'] == null ? undefined : json['from'],
|
|
60
|
-
'to': json['to'] == null ? undefined : json['to'],
|
|
61
|
-
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'from': value['from'],
|
|
72
|
-
'to': value['to'],
|
|
73
|
-
'angle': value['angle'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
@@ -1,68 +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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IntegrationListing } from './IntegrationListing';
|
|
17
|
-
import {
|
|
18
|
-
IntegrationListingFromJSON,
|
|
19
|
-
IntegrationListingFromJSONTyped,
|
|
20
|
-
IntegrationListingToJSON,
|
|
21
|
-
} from './IntegrationListing';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface IntegrationListingsResponse
|
|
27
|
-
*/
|
|
28
|
-
export interface IntegrationListingsResponse {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<IntegrationListing>}
|
|
32
|
-
* @memberof IntegrationListingsResponse
|
|
33
|
-
*/
|
|
34
|
-
listings: Array<IntegrationListing>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse {
|
|
41
|
-
if (!('listings' in value) || value['listings'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IntegrationListingsResponseFromJSON(json: any): IntegrationListingsResponse {
|
|
46
|
-
return IntegrationListingsResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingsResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'listings': ((json['listings'] as Array<any>).map(IntegrationListingFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IntegrationListingsResponseToJSON(value?: IntegrationListingsResponse | null): any {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'listings': ((value['listings'] as Array<any>).map(IntegrationListingToJSON)),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|