@teemill/integrations 0.4.0 → 0.4.2
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/README.md +2 -2
- package/dist/apis/IntegrationsApi.d.ts +3 -3
- package/dist/apis/IntegrationsApi.js +2 -2
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/Integration.d.ts +3 -3
- package/dist/models/Integration.js +3 -4
- package/dist/models/IntegrationInfo.d.ts +1 -1
- package/dist/models/IntegrationInfo.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/IntegrationsApi.ts +4 -4
- package/src/models/ApiError.ts +1 -1
- package/src/models/Integration.ts +5 -6
- package/src/models/IntegrationInfo.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/runtime.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/integrations@0.4.
|
|
1
|
+
## @teemill/integrations@0.4.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/integrations@0.4.
|
|
39
|
+
npm install @teemill/integrations@0.4.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { Integration, IntegrationsResponse } from '../models/index';
|
|
14
14
|
export interface GetIntegrationRequest {
|
|
15
|
-
integration:
|
|
15
|
+
integration: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
|
|
|
27
27
|
* Get an integration
|
|
28
28
|
* Get integration
|
|
29
29
|
*/
|
|
30
|
-
getIntegration(integration:
|
|
30
|
+
getIntegration(integration: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
|
|
31
31
|
/**
|
|
32
32
|
* List all integrations available
|
|
33
33
|
* List integrations
|
|
@@ -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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -126,7 +126,7 @@ var IntegrationsApi = /** @class */ (function (_super) {
|
|
|
126
126
|
return __generator(this, function (_a) {
|
|
127
127
|
switch (_a.label) {
|
|
128
128
|
case 0: return [4 /*yield*/, this.getIntegrationRaw({
|
|
129
|
-
integration: integration
|
|
129
|
+
integration: integration,
|
|
130
130
|
}, initOverrides)];
|
|
131
131
|
case 1:
|
|
132
132
|
response = _a.sent();
|
|
@@ -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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/ApiError.js
CHANGED
|
@@ -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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,10 +48,10 @@ export interface Integration {
|
|
|
48
48
|
info: IntegrationInfo;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {Array<string>}
|
|
52
52
|
* @memberof Integration
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
dependencies?: Array<string>;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Check if a given object implements the Integration 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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,7 +25,6 @@ function instanceOfIntegration(value) {
|
|
|
25
25
|
isInstance = isInstance && "code" in value;
|
|
26
26
|
isInstance = isInstance && "config" in value;
|
|
27
27
|
isInstance = isInstance && "info" in value;
|
|
28
|
-
isInstance = isInstance && "enabled" in value;
|
|
29
28
|
return isInstance;
|
|
30
29
|
}
|
|
31
30
|
exports.instanceOfIntegration = instanceOfIntegration;
|
|
@@ -43,7 +42,7 @@ function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
42
|
'code': json['code'],
|
|
44
43
|
'config': json['config'],
|
|
45
44
|
'info': (0, IntegrationInfo_1.IntegrationInfoFromJSON)(json['info']),
|
|
46
|
-
'
|
|
45
|
+
'dependencies': !(0, runtime_1.exists)(json, 'dependencies') ? undefined : json['dependencies'],
|
|
47
46
|
};
|
|
48
47
|
}
|
|
49
48
|
exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
|
|
@@ -59,7 +58,7 @@ function IntegrationToJSON(value) {
|
|
|
59
58
|
'code': value.code,
|
|
60
59
|
'config': value.config,
|
|
61
60
|
'info': (0, IntegrationInfo_1.IntegrationInfoToJSON)(value.info),
|
|
62
|
-
'
|
|
61
|
+
'dependencies': value.dependencies,
|
|
63
62
|
};
|
|
64
63
|
}
|
|
65
64
|
exports.IntegrationToJSON = IntegrationToJSON;
|
|
@@ -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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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.4.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.2
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -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.4.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.2
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from '../models/index';
|
|
30
30
|
|
|
31
31
|
export interface GetIntegrationRequest {
|
|
32
|
-
integration:
|
|
32
|
+
integration: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -74,12 +74,12 @@ export class IntegrationsApi extends runtime.BaseAPI {
|
|
|
74
74
|
* Get integration
|
|
75
75
|
*/
|
|
76
76
|
async getIntegration(
|
|
77
|
-
integration:
|
|
77
|
+
integration: string,
|
|
78
78
|
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
79
79
|
): Promise<Integration> {
|
|
80
80
|
const response = await this.getIntegrationRaw(
|
|
81
81
|
{
|
|
82
|
-
integration: integration
|
|
82
|
+
integration: integration,
|
|
83
83
|
},
|
|
84
84
|
initOverrides
|
|
85
85
|
);
|
package/src/models/ApiError.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -58,10 +58,10 @@ export interface Integration {
|
|
|
58
58
|
info: IntegrationInfo;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {Array<string>}
|
|
62
62
|
* @memberof Integration
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
dependencies?: Array<string>;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -73,7 +73,6 @@ export function instanceOfIntegration(value: object): boolean {
|
|
|
73
73
|
isInstance = isInstance && "code" in value;
|
|
74
74
|
isInstance = isInstance && "config" in value;
|
|
75
75
|
isInstance = isInstance && "info" in value;
|
|
76
|
-
isInstance = isInstance && "enabled" in value;
|
|
77
76
|
|
|
78
77
|
return isInstance;
|
|
79
78
|
}
|
|
@@ -93,7 +92,7 @@ export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
93
92
|
'code': json['code'],
|
|
94
93
|
'config': json['config'],
|
|
95
94
|
'info': IntegrationInfoFromJSON(json['info']),
|
|
96
|
-
'
|
|
95
|
+
'dependencies': !exists(json, 'dependencies') ? undefined : json['dependencies'],
|
|
97
96
|
};
|
|
98
97
|
}
|
|
99
98
|
|
|
@@ -110,7 +109,7 @@ export function IntegrationToJSON(value?: Integration | null): any {
|
|
|
110
109
|
'code': value.code,
|
|
111
110
|
'config': value.config,
|
|
112
111
|
'info': IntegrationInfoToJSON(value.info),
|
|
113
|
-
'
|
|
112
|
+
'dependencies': value.dependencies,
|
|
114
113
|
};
|
|
115
114
|
}
|
|
116
115
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Integrations API
|
|
5
5
|
* Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.4.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.2
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|