@teemill/integrations 0.12.2 → 0.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -21
- package/README.md +3 -3
- package/api.ts +1649 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1100 -0
- package/dist/api.js +910 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1100 -0
- package/dist/esm/api.js +903 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/IntegrationsApi.d.ts +0 -164
- package/dist/apis/IntegrationsApi.js +0 -490
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/IntegrationsApi.d.ts +0 -164
- package/dist/esm/apis/IntegrationsApi.js +0 -486
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/esm/models/AdminIntegrationListing.js +0 -85
- package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/AdminIntegrationListingsResponse.js +0 -41
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/CategoriesResponse.d.ts +0 -32
- package/dist/esm/models/CategoriesResponse.js +0 -44
- package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -42
- package/dist/esm/models/Icon.d.ts +0 -43
- package/dist/esm/models/Icon.js +0 -48
- package/dist/esm/models/Integration.d.ts +0 -45
- package/dist/esm/models/Integration.js +0 -41
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
- package/dist/esm/models/IntegrationCategory.d.ts +0 -52
- package/dist/esm/models/IntegrationCategory.js +0 -56
- package/dist/esm/models/IntegrationInfo.d.ts +0 -49
- package/dist/esm/models/IntegrationInfo.js +0 -52
- package/dist/esm/models/IntegrationListing.d.ts +0 -94
- package/dist/esm/models/IntegrationListing.js +0 -80
- package/dist/esm/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/esm/models/IntegrationListingGradient.js +0 -42
- package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationListingsResponse.js +0 -41
- package/dist/esm/models/IntegrationProduct.d.ts +0 -61
- package/dist/esm/models/IntegrationProduct.js +0 -57
- package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationProductsResponse.js +0 -41
- package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationsResponse.js +0 -41
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
- package/dist/esm/models/index.d.ts +0 -16
- package/dist/esm/models/index.js +0 -18
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/AdminIntegrationListing.d.ts +0 -101
- package/dist/models/AdminIntegrationListing.js +0 -92
- package/dist/models/AdminIntegrationListingsResponse.d.ts +0 -32
- package/dist/models/AdminIntegrationListingsResponse.js +0 -48
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/CategoriesResponse.d.ts +0 -32
- package/dist/models/CategoriesResponse.js +0 -51
- package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
- package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -49
- package/dist/models/Icon.d.ts +0 -43
- package/dist/models/Icon.js +0 -55
- package/dist/models/Integration.d.ts +0 -45
- package/dist/models/Integration.js +0 -48
- package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
- package/dist/models/IntegrationCategoriesResponse.js +0 -48
- package/dist/models/IntegrationCategory.d.ts +0 -52
- package/dist/models/IntegrationCategory.js +0 -63
- package/dist/models/IntegrationInfo.d.ts +0 -49
- package/dist/models/IntegrationInfo.js +0 -59
- package/dist/models/IntegrationListing.d.ts +0 -94
- package/dist/models/IntegrationListing.js +0 -87
- package/dist/models/IntegrationListingGradient.d.ts +0 -43
- package/dist/models/IntegrationListingGradient.js +0 -49
- package/dist/models/IntegrationListingsResponse.d.ts +0 -32
- package/dist/models/IntegrationListingsResponse.js +0 -48
- package/dist/models/IntegrationProduct.d.ts +0 -61
- package/dist/models/IntegrationProduct.js +0 -64
- package/dist/models/IntegrationProductsResponse.d.ts +0 -32
- package/dist/models/IntegrationProductsResponse.js +0 -48
- package/dist/models/IntegrationsResponse.d.ts +0 -32
- package/dist/models/IntegrationsResponse.js +0 -48
- package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
- package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
- package/dist/models/index.d.ts +0 -16
- package/dist/models/index.js +0 -34
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/IntegrationsApi.ts +0 -682
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/AdminIntegrationListing.ts +0 -183
- package/src/models/AdminIntegrationListingsResponse.ts +0 -68
- package/src/models/ApiError.ts +0 -69
- package/src/models/CategoriesResponse.ts +0 -73
- package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
- package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -76
- package/src/models/Icon.ts +0 -79
- package/src/models/Integration.ts +0 -75
- package/src/models/IntegrationCategoriesResponse.ts +0 -68
- package/src/models/IntegrationCategory.ts +0 -91
- package/src/models/IntegrationInfo.ts +0 -93
- package/src/models/IntegrationListing.ts +0 -168
- package/src/models/IntegrationListingGradient.ts +0 -76
- package/src/models/IntegrationListingsResponse.ts +0 -68
- package/src/models/IntegrationProduct.ts +0 -104
- package/src/models/IntegrationProductsResponse.ts +0 -68
- package/src/models/IntegrationsResponse.ts +0 -68
- package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
- package/src/models/index.ts +0 -18
- package/src/runtime.ts +0 -441
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntegrationListingGradientToJSON = exports.IntegrationListingGradientFromJSONTyped = exports.IntegrationListingGradientFromJSON = exports.instanceOfIntegrationListingGradient = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the IntegrationListingGradient interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfIntegrationListingGradient(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfIntegrationListingGradient = instanceOfIntegrationListingGradient;
|
|
24
|
-
function IntegrationListingGradientFromJSON(json) {
|
|
25
|
-
return IntegrationListingGradientFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.IntegrationListingGradientFromJSON = IntegrationListingGradientFromJSON;
|
|
28
|
-
function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'from': json['from'] == null ? undefined : json['from'],
|
|
34
|
-
'to': json['to'] == null ? undefined : json['to'],
|
|
35
|
-
'angle': json['angle'] == null ? undefined : json['angle'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.IntegrationListingGradientFromJSONTyped = IntegrationListingGradientFromJSONTyped;
|
|
39
|
-
function IntegrationListingGradientToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'from': value['from'],
|
|
45
|
-
'to': value['to'],
|
|
46
|
-
'angle': value['angle'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.IntegrationListingGradientToJSON = IntegrationListingGradientToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntegrationListingsResponseToJSON = exports.IntegrationListingsResponseFromJSONTyped = exports.IntegrationListingsResponseFromJSON = exports.instanceOfIntegrationListingsResponse = void 0;
|
|
17
|
-
const IntegrationListing_1 = require("./IntegrationListing");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfIntegrationListingsResponse(value) {
|
|
22
|
-
if (!('listings' in value) || value['listings'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfIntegrationListingsResponse = instanceOfIntegrationListingsResponse;
|
|
27
|
-
function IntegrationListingsResponseFromJSON(json) {
|
|
28
|
-
return IntegrationListingsResponseFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.IntegrationListingsResponseFromJSON = IntegrationListingsResponseFromJSON;
|
|
31
|
-
function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'listings': (json['listings'].map(IntegrationListing_1.IntegrationListingFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.IntegrationListingsResponseFromJSONTyped = IntegrationListingsResponseFromJSONTyped;
|
|
40
|
-
function IntegrationListingsResponseToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'listings': (value['listings'].map(IntegrationListing_1.IntegrationListingToJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.IntegrationListingsResponseToJSON = IntegrationListingsResponseToJSON;
|
|
@@ -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.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface 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,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntegrationProductToJSON = exports.IntegrationProductFromJSONTyped = exports.IntegrationProductFromJSON = exports.instanceOfIntegrationProduct = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the IntegrationProduct interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfIntegrationProduct(value) {
|
|
21
|
-
if (!('sku' in value) || value['sku'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('price' in value) || value['price'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
exports.instanceOfIntegrationProduct = instanceOfIntegrationProduct;
|
|
34
|
-
function IntegrationProductFromJSON(json) {
|
|
35
|
-
return IntegrationProductFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
exports.IntegrationProductFromJSON = IntegrationProductFromJSON;
|
|
38
|
-
function IntegrationProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
44
|
-
'sku': json['sku'],
|
|
45
|
-
'name': json['name'],
|
|
46
|
-
'slug': json['slug'],
|
|
47
|
-
'description': json['description'],
|
|
48
|
-
'price': json['price'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.IntegrationProductFromJSONTyped = IntegrationProductFromJSONTyped;
|
|
52
|
-
function IntegrationProductToJSON(value) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'sku': value['sku'],
|
|
58
|
-
'name': value['name'],
|
|
59
|
-
'slug': value['slug'],
|
|
60
|
-
'description': value['description'],
|
|
61
|
-
'price': value['price'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
exports.IntegrationProductToJSON = IntegrationProductToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntegrationProductsResponseToJSON = exports.IntegrationProductsResponseFromJSONTyped = exports.IntegrationProductsResponseFromJSON = exports.instanceOfIntegrationProductsResponse = void 0;
|
|
17
|
-
const IntegrationProduct_1 = require("./IntegrationProduct");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the IntegrationProductsResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfIntegrationProductsResponse(value) {
|
|
22
|
-
if (!('products' in value) || value['products'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfIntegrationProductsResponse = instanceOfIntegrationProductsResponse;
|
|
27
|
-
function IntegrationProductsResponseFromJSON(json) {
|
|
28
|
-
return IntegrationProductsResponseFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.IntegrationProductsResponseFromJSON = IntegrationProductsResponseFromJSON;
|
|
31
|
-
function IntegrationProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'products': (json['products'].map(IntegrationProduct_1.IntegrationProductFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.IntegrationProductsResponseFromJSONTyped = IntegrationProductsResponseFromJSONTyped;
|
|
40
|
-
function IntegrationProductsResponseToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'products': (value['products'].map(IntegrationProduct_1.IntegrationProductToJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.IntegrationProductsResponseToJSON = IntegrationProductsResponseToJSON;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { 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;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IntegrationsResponseToJSON = exports.IntegrationsResponseFromJSONTyped = exports.IntegrationsResponseFromJSON = exports.instanceOfIntegrationsResponse = void 0;
|
|
17
|
-
const Integration_1 = require("./Integration");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the IntegrationsResponse interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfIntegrationsResponse(value) {
|
|
22
|
-
if (!('integrations' in value) || value['integrations'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfIntegrationsResponse = instanceOfIntegrationsResponse;
|
|
27
|
-
function IntegrationsResponseFromJSON(json) {
|
|
28
|
-
return IntegrationsResponseFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.IntegrationsResponseFromJSON = IntegrationsResponseFromJSON;
|
|
31
|
-
function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'integrations': (json['integrations'].map(Integration_1.IntegrationFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.IntegrationsResponseFromJSONTyped = IntegrationsResponseFromJSONTyped;
|
|
40
|
-
function IntegrationsResponseToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'integrations': (value['integrations'].map(Integration_1.IntegrationToJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.IntegrationsResponseToJSON = IntegrationsResponseToJSON;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Integrations API
|
|
3
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.12.2
|
|
6
|
-
* Contact: hello@teemill.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateAdminIntegrationListingRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UpdateAdminIntegrationListingRequest {
|
|
19
|
-
/**
|
|
20
|
-
* The name of the integration listing
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The description of the integration listing
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
29
|
-
*/
|
|
30
|
-
description?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The html content of the integration listing
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
35
|
-
*/
|
|
36
|
-
content?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The code of the integration
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
41
|
-
*/
|
|
42
|
-
integration?: string;
|
|
43
|
-
/**
|
|
44
|
-
* The author of the integration listing
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
47
|
-
*/
|
|
48
|
-
author?: string;
|
|
49
|
-
/**
|
|
50
|
-
* The slug of the integration listing that is used in the URL
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
53
|
-
*/
|
|
54
|
-
slug?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {CreateAdminIntegrationListingRequestGradient}
|
|
58
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
59
|
-
*/
|
|
60
|
-
gradient?: CreateAdminIntegrationListingRequestGradient;
|
|
61
|
-
/**
|
|
62
|
-
* The icon of the integration listing
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
65
|
-
*/
|
|
66
|
-
icon?: string;
|
|
67
|
-
/**
|
|
68
|
-
* The categories that this listing belongs to
|
|
69
|
-
* @type {Array<string>}
|
|
70
|
-
* @memberof UpdateAdminIntegrationListingRequest
|
|
71
|
-
*/
|
|
72
|
-
categories?: Array<string>;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
|
|
76
|
-
*/
|
|
77
|
-
export declare function instanceOfUpdateAdminIntegrationListingRequest(value: object): value is UpdateAdminIntegrationListingRequest;
|
|
78
|
-
export declare function UpdateAdminIntegrationListingRequestFromJSON(json: any): UpdateAdminIntegrationListingRequest;
|
|
79
|
-
export declare function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminIntegrationListingRequest;
|
|
80
|
-
export declare function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIntegrationListingRequest | null): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Integrations API
|
|
6
|
-
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.12.2
|
|
9
|
-
* Contact: hello@teemill.com
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateAdminIntegrationListingRequestToJSON = exports.UpdateAdminIntegrationListingRequestFromJSONTyped = exports.UpdateAdminIntegrationListingRequestFromJSON = exports.instanceOfUpdateAdminIntegrationListingRequest = void 0;
|
|
17
|
-
const CreateAdminIntegrationListingRequestGradient_1 = require("./CreateAdminIntegrationListingRequestGradient");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUpdateAdminIntegrationListingRequest(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfUpdateAdminIntegrationListingRequest = instanceOfUpdateAdminIntegrationListingRequest;
|
|
25
|
-
function UpdateAdminIntegrationListingRequestFromJSON(json) {
|
|
26
|
-
return UpdateAdminIntegrationListingRequestFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateAdminIntegrationListingRequestFromJSON = UpdateAdminIntegrationListingRequestFromJSON;
|
|
29
|
-
function UpdateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
36
|
-
'content': json['content'] == null ? undefined : json['content'],
|
|
37
|
-
'integration': json['integration'] == null ? undefined : json['integration'],
|
|
38
|
-
'author': json['author'] == null ? undefined : json['author'],
|
|
39
|
-
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
40
|
-
'gradient': json['gradient'] == null ? undefined : (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientFromJSON)(json['gradient']),
|
|
41
|
-
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
42
|
-
'categories': json['categories'] == null ? undefined : json['categories'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.UpdateAdminIntegrationListingRequestFromJSONTyped = UpdateAdminIntegrationListingRequestFromJSONTyped;
|
|
46
|
-
function UpdateAdminIntegrationListingRequestToJSON(value) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'name': value['name'],
|
|
52
|
-
'description': value['description'],
|
|
53
|
-
'content': value['content'],
|
|
54
|
-
'integration': value['integration'],
|
|
55
|
-
'author': value['author'],
|
|
56
|
-
'slug': value['slug'],
|
|
57
|
-
'gradient': (0, CreateAdminIntegrationListingRequestGradient_1.CreateAdminIntegrationListingRequestGradientToJSON)(value['gradient']),
|
|
58
|
-
'icon': value['icon'],
|
|
59
|
-
'categories': value['categories'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.UpdateAdminIntegrationListingRequestToJSON = UpdateAdminIntegrationListingRequestToJSON;
|
package/dist/models/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from './AdminIntegrationListing';
|
|
2
|
-
export * from './AdminIntegrationListingsResponse';
|
|
3
|
-
export * from './ApiError';
|
|
4
|
-
export * from './CreateAdminIntegrationListingRequest';
|
|
5
|
-
export * from './CreateAdminIntegrationListingRequestGradient';
|
|
6
|
-
export * from './Icon';
|
|
7
|
-
export * from './Integration';
|
|
8
|
-
export * from './IntegrationCategoriesResponse';
|
|
9
|
-
export * from './IntegrationCategory';
|
|
10
|
-
export * from './IntegrationListing';
|
|
11
|
-
export * from './IntegrationListingGradient';
|
|
12
|
-
export * from './IntegrationListingsResponse';
|
|
13
|
-
export * from './IntegrationProduct';
|
|
14
|
-
export * from './IntegrationProductsResponse';
|
|
15
|
-
export * from './IntegrationsResponse';
|
|
16
|
-
export * from './UpdateAdminIntegrationListingRequest';
|
package/dist/models/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/* tslint:disable */
|
|
18
|
-
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./AdminIntegrationListing"), exports);
|
|
20
|
-
__exportStar(require("./AdminIntegrationListingsResponse"), exports);
|
|
21
|
-
__exportStar(require("./ApiError"), exports);
|
|
22
|
-
__exportStar(require("./CreateAdminIntegrationListingRequest"), exports);
|
|
23
|
-
__exportStar(require("./CreateAdminIntegrationListingRequestGradient"), exports);
|
|
24
|
-
__exportStar(require("./Icon"), exports);
|
|
25
|
-
__exportStar(require("./Integration"), exports);
|
|
26
|
-
__exportStar(require("./IntegrationCategoriesResponse"), exports);
|
|
27
|
-
__exportStar(require("./IntegrationCategory"), exports);
|
|
28
|
-
__exportStar(require("./IntegrationListing"), exports);
|
|
29
|
-
__exportStar(require("./IntegrationListingGradient"), exports);
|
|
30
|
-
__exportStar(require("./IntegrationListingsResponse"), exports);
|
|
31
|
-
__exportStar(require("./IntegrationProduct"), exports);
|
|
32
|
-
__exportStar(require("./IntegrationProductsResponse"), exports);
|
|
33
|
-
__exportStar(require("./IntegrationsResponse"), exports);
|
|
34
|
-
__exportStar(require("./UpdateAdminIntegrationListingRequest"), exports);
|