@teemill/integrations 0.8.3 → 0.9.0
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 +3 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/IntegrationsApi.d.ts +12 -2
- package/dist/apis/IntegrationsApi.js +206 -351
- package/dist/esm/apis/IntegrationsApi.d.ts +101 -0
- package/dist/esm/apis/IntegrationsApi.js +290 -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 +45 -0
- package/dist/esm/models/Integration.js +41 -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 +41 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +12 -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.d.ts +9 -26
- package/dist/models/Integration.js +10 -26
- package/dist/models/IntegrationCategoriesResponse.d.ts +1 -1
- package/dist/models/IntegrationCategoriesResponse.js +9 -12
- 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 +2 -2
- package/dist/models/IntegrationListing.js +38 -33
- package/dist/models/IntegrationListingGradient.d.ts +1 -1
- package/dist/models/IntegrationListingGradient.js +9 -14
- package/dist/models/IntegrationListingsResponse.d.ts +1 -1
- package/dist/models/IntegrationListingsResponse.js +9 -12
- 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.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +9 -12
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +223 -439
- package/package.json +4 -2
- package/src/apis/IntegrationsApi.ts +48 -1
- package/src/models/ApiError.ts +10 -15
- package/src/models/Integration.ts +17 -57
- package/src/models/IntegrationCategoriesResponse.ts +8 -13
- package/src/models/IntegrationCategory.ts +12 -17
- package/src/models/IntegrationListing.ts +28 -33
- package/src/models/IntegrationListingGradient.ts +10 -15
- package/src/models/IntegrationListingsResponse.ts +8 -13
- package/src/models/IntegrationProduct.ts +18 -23
- package/src/models/IntegrationProductsResponse.ts +8 -13
- package/src/models/IntegrationsResponse.ts +8 -13
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +2 -2
|
@@ -18,7 +18,7 @@ exports.IntegrationInfoToJSON = exports.IntegrationInfoFromJSONTyped = exports.I
|
|
|
18
18
|
* Check if a given object implements the IntegrationInfo interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfIntegrationInfo(value) {
|
|
21
|
-
|
|
21
|
+
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "name" in value;
|
|
23
23
|
isInstance = isInstance && "description" in value;
|
|
24
24
|
isInstance = isInstance && "author" in value;
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,4 +90,4 @@ export interface IntegrationListing {
|
|
|
90
90
|
export declare function instanceOfIntegrationListing(value: object): boolean;
|
|
91
91
|
export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
|
|
92
92
|
export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
|
|
93
|
-
export declare function IntegrationListingToJSON(value?: IntegrationListing | null): any;
|
|
93
|
+
export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, '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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,25 +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
|
-
|
|
35
|
-
|
|
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;
|
|
36
44
|
}
|
|
37
45
|
exports.instanceOfIntegrationListing = instanceOfIntegrationListing;
|
|
38
46
|
function IntegrationListingFromJSON(json) {
|
|
@@ -40,11 +48,11 @@ function IntegrationListingFromJSON(json) {
|
|
|
40
48
|
}
|
|
41
49
|
exports.IntegrationListingFromJSON = IntegrationListingFromJSON;
|
|
42
50
|
function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (
|
|
51
|
+
if (json == null) {
|
|
44
52
|
return json;
|
|
45
53
|
}
|
|
46
54
|
return {
|
|
47
|
-
'id':
|
|
55
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
48
56
|
'slug': json['slug'],
|
|
49
57
|
'code': json['code'],
|
|
50
58
|
'name': json['name'],
|
|
@@ -59,23 +67,20 @@ function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
67
|
}
|
|
60
68
|
exports.IntegrationListingFromJSONTyped = IntegrationListingFromJSONTyped;
|
|
61
69
|
function IntegrationListingToJSON(value) {
|
|
62
|
-
if (value
|
|
63
|
-
return
|
|
64
|
-
}
|
|
65
|
-
if (value === null) {
|
|
66
|
-
return null;
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
67
72
|
}
|
|
68
73
|
return {
|
|
69
|
-
'slug': value
|
|
70
|
-
'code': value
|
|
71
|
-
'name': value
|
|
72
|
-
'description': value
|
|
73
|
-
'content': value
|
|
74
|
-
'author': value
|
|
75
|
-
'icon': value
|
|
76
|
-
'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value
|
|
77
|
-
'dependencies': value
|
|
78
|
-
'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)),
|
|
79
84
|
};
|
|
80
85
|
}
|
|
81
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
-
|
|
17
|
+
const IntegrationListing_1 = require("./IntegrationListing");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the IntegrationListingsResponse interface.
|
|
20
20
|
*/
|
|
21
21
|
function instanceOfIntegrationListingsResponse(value) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('listings' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntegrationListingsResponse = instanceOfIntegrationListingsResponse;
|
|
27
27
|
function IntegrationListingsResponseFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ 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 {
|
|
@@ -38,14 +38,11 @@ function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
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': (value
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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;
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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
|
+
* The version of the OpenAPI document: 0.9.0
|
|
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.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
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
22
|
+
if (!('integrations' in value))
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfIntegrationsResponse = instanceOfIntegrationsResponse;
|
|
27
27
|
function IntegrationsResponseFromJSON(json) {
|
|
@@ -29,7 +29,7 @@ function IntegrationsResponseFromJSON(json) {
|
|
|
29
29
|
}
|
|
30
30
|
exports.IntegrationsResponseFromJSON = IntegrationsResponseFromJSON;
|
|
31
31
|
function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (
|
|
32
|
+
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
@@ -38,14 +38,11 @@ function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.IntegrationsResponseFromJSONTyped = IntegrationsResponseFromJSONTyped;
|
|
40
40
|
function IntegrationsResponseToJSON(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
|
-
'integrations': (value
|
|
45
|
+
'integrations': (value['integrations'].map(Integration_1.IntegrationToJSON)),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
exports.IntegrationsResponseToJSON = IntegrationsResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './ApiError';
|
|
2
|
+
export * from './Integration';
|
|
2
3
|
export * from './IntegrationCategoriesResponse';
|
|
3
4
|
export * from './IntegrationCategory';
|
|
4
5
|
export * from './IntegrationListing';
|
|
@@ -6,3 +7,4 @@ export * from './IntegrationListingGradient';
|
|
|
6
7
|
export * from './IntegrationListingsResponse';
|
|
7
8
|
export * from './IntegrationProduct';
|
|
8
9
|
export * from './IntegrationProductsResponse';
|
|
10
|
+
export * from './IntegrationsResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +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("./Integration"), exports);
|
|
20
21
|
__exportStar(require("./IntegrationCategoriesResponse"), exports);
|
|
21
22
|
__exportStar(require("./IntegrationCategory"), exports);
|
|
22
23
|
__exportStar(require("./IntegrationListing"), exports);
|
|
@@ -24,3 +25,4 @@ __exportStar(require("./IntegrationListingGradient"), exports);
|
|
|
24
25
|
__exportStar(require("./IntegrationListingsResponse"), exports);
|
|
25
26
|
__exportStar(require("./IntegrationProduct"), exports);
|
|
26
27
|
__exportStar(require("./IntegrationProductsResponse"), exports);
|
|
28
|
+
__exportStar(require("./IntegrationsResponse"), 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.9.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|