@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,24 +14,33 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationListingToJSON = exports.IntegrationListingFromJSONTyped = exports.IntegrationListingFromJSON = exports.instanceOfIntegrationListing = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var IntegrationListingGradient_1 = require("./IntegrationListingGradient");
|
|
17
|
+
const IntegrationCategory_1 = require("./IntegrationCategory");
|
|
18
|
+
const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
|
|
20
19
|
/**
|
|
21
20
|
* Check if a given object implements the IntegrationListing interface.
|
|
22
21
|
*/
|
|
23
22
|
function instanceOfIntegrationListing(value) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
if (!('slug' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('code' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value))
|
|
30
|
+
return false;
|
|
31
|
+
if (!('content' in value))
|
|
32
|
+
return false;
|
|
33
|
+
if (!('author' in value))
|
|
34
|
+
return false;
|
|
35
|
+
if (!('icon' in value))
|
|
36
|
+
return false;
|
|
37
|
+
if (!('gradient' in value))
|
|
38
|
+
return false;
|
|
39
|
+
if (!('dependencies' in value))
|
|
40
|
+
return false;
|
|
41
|
+
if (!('categories' in value))
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
35
44
|
}
|
|
36
45
|
exports.instanceOfIntegrationListing = instanceOfIntegrationListing;
|
|
37
46
|
function IntegrationListingFromJSON(json) {
|
|
@@ -39,12 +48,12 @@ function IntegrationListingFromJSON(json) {
|
|
|
39
48
|
}
|
|
40
49
|
exports.IntegrationListingFromJSON = IntegrationListingFromJSON;
|
|
41
50
|
function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (
|
|
51
|
+
if (json == null) {
|
|
43
52
|
return json;
|
|
44
53
|
}
|
|
45
54
|
return {
|
|
46
|
-
'id':
|
|
47
|
-
'slug':
|
|
55
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
56
|
+
'slug': json['slug'],
|
|
48
57
|
'code': json['code'],
|
|
49
58
|
'name': json['name'],
|
|
50
59
|
'description': json['description'],
|
|
@@ -58,23 +67,20 @@ function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
67
|
}
|
|
59
68
|
exports.IntegrationListingFromJSONTyped = IntegrationListingFromJSONTyped;
|
|
60
69
|
function IntegrationListingToJSON(value) {
|
|
61
|
-
if (value
|
|
62
|
-
return
|
|
63
|
-
}
|
|
64
|
-
if (value === null) {
|
|
65
|
-
return null;
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
66
72
|
}
|
|
67
73
|
return {
|
|
68
|
-
'slug': value
|
|
69
|
-
'code': value
|
|
70
|
-
'name': value
|
|
71
|
-
'description': value
|
|
72
|
-
'content': value
|
|
73
|
-
'author': value
|
|
74
|
-
'icon': value
|
|
75
|
-
'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value
|
|
76
|
-
'dependencies': value
|
|
77
|
-
'categories': (value
|
|
74
|
+
'slug': value['slug'],
|
|
75
|
+
'code': value['code'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'description': value['description'],
|
|
78
|
+
'content': value['content'],
|
|
79
|
+
'author': value['author'],
|
|
80
|
+
'icon': value['icon'],
|
|
81
|
+
'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
|
|
82
|
+
'dependencies': value['dependencies'],
|
|
83
|
+
'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
|
|
78
84
|
};
|
|
79
85
|
}
|
|
80
86
|
exports.IntegrationListingToJSON = IntegrationListingToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,13 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationListingGradientToJSON = exports.IntegrationListingGradientFromJSONTyped = exports.IntegrationListingGradientFromJSON = exports.instanceOfIntegrationListingGradient = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the IntegrationListingGradient interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfIntegrationListingGradient(value) {
|
|
22
|
-
|
|
23
|
-
return isInstance;
|
|
21
|
+
return true;
|
|
24
22
|
}
|
|
25
23
|
exports.instanceOfIntegrationListingGradient = instanceOfIntegrationListingGradient;
|
|
26
24
|
function IntegrationListingGradientFromJSON(json) {
|
|
@@ -28,25 +26,22 @@ function IntegrationListingGradientFromJSON(json) {
|
|
|
28
26
|
}
|
|
29
27
|
exports.IntegrationListingGradientFromJSON = IntegrationListingGradientFromJSON;
|
|
30
28
|
function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (
|
|
29
|
+
if (json == null) {
|
|
32
30
|
return json;
|
|
33
31
|
}
|
|
34
32
|
return {
|
|
35
|
-
'from':
|
|
36
|
-
'to':
|
|
33
|
+
'from': json['from'] == null ? undefined : json['from'],
|
|
34
|
+
'to': json['to'] == null ? undefined : json['to'],
|
|
37
35
|
};
|
|
38
36
|
}
|
|
39
37
|
exports.IntegrationListingGradientFromJSONTyped = IntegrationListingGradientFromJSONTyped;
|
|
40
38
|
function IntegrationListingGradientToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
46
41
|
}
|
|
47
42
|
return {
|
|
48
|
-
'from': value
|
|
49
|
-
'to': value
|
|
43
|
+
'from': value['from'],
|
|
44
|
+
'to': value['to'],
|
|
50
45
|
};
|
|
51
46
|
}
|
|
52
47
|
exports.IntegrationListingGradientToJSON = IntegrationListingGradientToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,7 +21,7 @@ export interface IntegrationListingsResponse {
|
|
|
21
21
|
* @type {Array<IntegrationListing>}
|
|
22
22
|
* @memberof IntegrationListingsResponse
|
|
23
23
|
*/
|
|
24
|
-
listings
|
|
24
|
+
listings: Array<IntegrationListing>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationListingsResponseToJSON = exports.IntegrationListingsResponseFromJSONTyped = exports.IntegrationListingsResponseFromJSON = exports.instanceOfIntegrationListingsResponse = void 0;
|
|
17
|
-
|
|
18
|
-
var IntegrationListing_1 = require("./IntegrationListing");
|
|
17
|
+
const IntegrationListing_1 = require("./IntegrationListing");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
21
20
|
*/
|
|
22
21
|
function instanceOfIntegrationListingsResponse(value) {
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
if (!('listings' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntegrationListingsResponse = instanceOfIntegrationListingsResponse;
|
|
27
27
|
function IntegrationListingsResponseFromJSON(json) {
|
|
@@ -29,23 +29,20 @@ function IntegrationListingsResponseFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.IntegrationListingsResponseFromJSON = IntegrationListingsResponseFromJSON;
|
|
31
31
|
function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'listings':
|
|
36
|
+
'listings': (json['listings'].map(IntegrationListing_1.IntegrationListingFromJSON)),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.IntegrationListingsResponseFromJSONTyped = IntegrationListingsResponseFromJSONTyped;
|
|
40
40
|
function IntegrationListingsResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'listings':
|
|
45
|
+
'listings': (value['listings'].map(IntegrationListing_1.IntegrationListingToJSON)),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.IntegrationListingsResponseToJSON = IntegrationListingsResponseToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -58,4 +58,4 @@ export interface IntegrationProduct {
|
|
|
58
58
|
export declare function instanceOfIntegrationProduct(value: object): boolean;
|
|
59
59
|
export declare function IntegrationProductFromJSON(json: any): IntegrationProduct;
|
|
60
60
|
export declare function IntegrationProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProduct;
|
|
61
|
-
export declare function IntegrationProductToJSON(value?: IntegrationProduct | null): any;
|
|
61
|
+
export declare function IntegrationProductToJSON(value?: Omit<IntegrationProduct, 'id'> | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,18 +14,21 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationProductToJSON = exports.IntegrationProductFromJSONTyped = exports.IntegrationProductFromJSON = exports.instanceOfIntegrationProduct = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
/**
|
|
19
18
|
* Check if a given object implements the IntegrationProduct interface.
|
|
20
19
|
*/
|
|
21
20
|
function instanceOfIntegrationProduct(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
if (!('sku' in value))
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('slug' in value))
|
|
26
|
+
return false;
|
|
27
|
+
if (!('description' in value))
|
|
28
|
+
return false;
|
|
29
|
+
if (!('price' in value))
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
29
32
|
}
|
|
30
33
|
exports.instanceOfIntegrationProduct = instanceOfIntegrationProduct;
|
|
31
34
|
function IntegrationProductFromJSON(json) {
|
|
@@ -33,11 +36,11 @@ function IntegrationProductFromJSON(json) {
|
|
|
33
36
|
}
|
|
34
37
|
exports.IntegrationProductFromJSON = IntegrationProductFromJSON;
|
|
35
38
|
function IntegrationProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (
|
|
39
|
+
if (json == null) {
|
|
37
40
|
return json;
|
|
38
41
|
}
|
|
39
42
|
return {
|
|
40
|
-
'id':
|
|
43
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
41
44
|
'sku': json['sku'],
|
|
42
45
|
'name': json['name'],
|
|
43
46
|
'slug': json['slug'],
|
|
@@ -47,18 +50,15 @@ function IntegrationProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
50
|
}
|
|
48
51
|
exports.IntegrationProductFromJSONTyped = IntegrationProductFromJSONTyped;
|
|
49
52
|
function IntegrationProductToJSON(value) {
|
|
50
|
-
if (value
|
|
51
|
-
return
|
|
52
|
-
}
|
|
53
|
-
if (value === null) {
|
|
54
|
-
return null;
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'sku': value
|
|
58
|
-
'name': value
|
|
59
|
-
'slug': value
|
|
60
|
-
'description': value
|
|
61
|
-
'price': value
|
|
57
|
+
'sku': value['sku'],
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'slug': value['slug'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'price': value['price'],
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
exports.IntegrationProductToJSON = IntegrationProductToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Integrations API
|
|
6
6
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.4
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationProductsResponseToJSON = exports.IntegrationProductsResponseFromJSONTyped = exports.IntegrationProductsResponseFromJSON = exports.instanceOfIntegrationProductsResponse = void 0;
|
|
17
|
-
|
|
17
|
+
const IntegrationProduct_1 = require("./IntegrationProduct");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the IntegrationProductsResponse interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfIntegrationProductsResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('products' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntegrationProductsResponse = instanceOfIntegrationProductsResponse;
|
|
27
27
|
function IntegrationProductsResponseFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function IntegrationProductsResponseFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.IntegrationProductsResponseFromJSON = IntegrationProductsResponseFromJSON;
|
|
31
31
|
function IntegrationProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function IntegrationProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.IntegrationProductsResponseFromJSONTyped = IntegrationProductsResponseFromJSONTyped;
|
|
40
40
|
function IntegrationProductsResponseToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
46
43
|
}
|
|
47
44
|
return {
|
|
48
|
-
'products': (value
|
|
45
|
+
'products': (value['products'].map(IntegrationProduct_1.IntegrationProductToJSON)),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.IntegrationProductsResponseToJSON = IntegrationProductsResponseToJSON;
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.IntegrationsResponseToJSON = exports.IntegrationsResponseFromJSONTyped = exports.IntegrationsResponseFromJSON = exports.instanceOfIntegrationsResponse = void 0;
|
|
17
|
-
|
|
17
|
+
const Integration_1 = require("./Integration");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the IntegrationsResponse interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfIntegrationsResponse(value) {
|
|
22
|
-
|
|
22
|
+
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "integrations" in value;
|
|
24
24
|
return isInstance;
|
|
25
25
|
}
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ApiError"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./IntegrationCategoriesResponse"), exports);
|
|
21
21
|
__exportStar(require("./IntegrationCategory"), exports);
|
|
22
22
|
__exportStar(require("./IntegrationListing"), exports);
|
|
23
23
|
__exportStar(require("./IntegrationListingGradient"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Integrations API
|
|
3
3
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.4
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|