@teemill/integrations 0.2.0 → 0.3.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.
@@ -1 +1 @@
1
- 7.1.0-SNAPSHOT
1
+ 7.1.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.2.0
1
+ ## @teemill/integrations@0.3.0
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.2.0 --save
39
+ npm install @teemill/integrations@0.3.0 --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.2.0
5
+ * The version of the OpenAPI document: 0.3.0
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
- integrationId: number;
15
+ integration: number;
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(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration>;
30
+ getIntegration(integration: number, 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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -85,8 +85,8 @@ var IntegrationsApi = /** @class */ (function (_super) {
85
85
  return __generator(this, function (_c) {
86
86
  switch (_c.label) {
87
87
  case 0:
88
- if (requestParameters.integrationId === null || requestParameters.integrationId === undefined) {
89
- throw new runtime.RequiredError('integrationId', 'Required parameter requestParameters.integrationId was null or undefined when calling getIntegration.');
88
+ if (requestParameters.integration === null || requestParameters.integration === undefined) {
89
+ throw new runtime.RequiredError('integration', 'Required parameter requestParameters.integration was null or undefined when calling getIntegration.');
90
90
  }
91
91
  queryParameters = {};
92
92
  headerParameters = {};
@@ -104,7 +104,7 @@ var IntegrationsApi = /** @class */ (function (_super) {
104
104
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
105
105
  }
106
106
  return [4 /*yield*/, this.request({
107
- path: "/v1/integrations/{integrationId}".replace("{".concat("integrationId", "}"), encodeURIComponent(String(requestParameters.integrationId))),
107
+ path: "/v1/integrations/{integration}".replace("{".concat("integration", "}"), encodeURIComponent(String(requestParameters.integration))),
108
108
  method: 'GET',
109
109
  headers: headerParameters,
110
110
  query: queryParameters,
@@ -120,12 +120,12 @@ var IntegrationsApi = /** @class */ (function (_super) {
120
120
  * Get an integration
121
121
  * Get integration
122
122
  */
123
- IntegrationsApi.prototype.getIntegration = function (requestParameters, initOverrides) {
123
+ IntegrationsApi.prototype.getIntegration = function (integration, initOverrides) {
124
124
  return __awaiter(this, void 0, void 0, function () {
125
125
  var response;
126
126
  return __generator(this, function (_a) {
127
127
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, this.getIntegrationRaw(requestParameters, initOverrides)];
128
+ case 0: return [4 /*yield*/, this.getIntegrationRaw({ integration: integration }, initOverrides)];
129
129
  case 1:
130
130
  response = _a.sent();
131
131
  return [4 /*yield*/, response.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.2.0
5
+ * The version of the OpenAPI document: 0.3.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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
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.2.0
5
+ * The version of the OpenAPI document: 0.3.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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
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.2.0
5
+ * The version of the OpenAPI document: 0.3.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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
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.2.0
5
+ * The version of the OpenAPI document: 0.3.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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
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.2.0
5
+ * The version of the OpenAPI document: 0.3.0
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.2.0
8
+ * The version of the OpenAPI document: 0.3.0
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/integrations",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "OpenAPI client for @teemill/integrations",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
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
- integrationId: number;
32
+ integration: number;
33
33
  }
34
34
 
35
35
  /**
@@ -42,8 +42,8 @@ export class IntegrationsApi extends runtime.BaseAPI {
42
42
  * Get integration
43
43
  */
44
44
  async getIntegrationRaw(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Integration>> {
45
- if (requestParameters.integrationId === null || requestParameters.integrationId === undefined) {
46
- throw new runtime.RequiredError('integrationId','Required parameter requestParameters.integrationId was null or undefined when calling getIntegration.');
45
+ if (requestParameters.integration === null || requestParameters.integration === undefined) {
46
+ throw new runtime.RequiredError('integration','Required parameter requestParameters.integration was null or undefined when calling getIntegration.');
47
47
  }
48
48
 
49
49
  const queryParameters: any = {};
@@ -60,7 +60,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
60
60
  }
61
61
 
62
62
  const response = await this.request({
63
- path: `/v1/integrations/{integrationId}`.replace(`{${"integrationId"}}`, encodeURIComponent(String(requestParameters.integrationId))),
63
+ path: `/v1/integrations/{integration}`.replace(`{${"integration"}}`, encodeURIComponent(String(requestParameters.integration))),
64
64
  method: 'GET',
65
65
  headers: headerParameters,
66
66
  query: queryParameters,
@@ -73,8 +73,8 @@ export class IntegrationsApi extends runtime.BaseAPI {
73
73
  * Get an integration
74
74
  * Get integration
75
75
  */
76
- async getIntegration(requestParameters: GetIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
77
- const response = await this.getIntegrationRaw(requestParameters, initOverrides);
76
+ async getIntegration(integration: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Integration> {
77
+ const response = await this.getIntegrationRaw({ integration: integration }, initOverrides);
78
78
  return await response.value();
79
79
  }
80
80
 
@@ -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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
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.2.0
7
+ * The version of the OpenAPI document: 0.3.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).