@teemill/integrations 0.4.0 → 0.4.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.4.0
1
+ ## @teemill/integrations@0.4.1
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.0 --save
39
+ npm install @teemill/integrations@0.4.1 --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.0
5
+ * The version of the OpenAPI document: 0.4.1
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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.0
5
+ * The version of the OpenAPI document: 0.4.1
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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.0
5
+ * The version of the OpenAPI document: 0.4.1
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 {boolean}
51
+ * @type {Array<string>}
52
52
  * @memberof Integration
53
53
  */
54
- enabled: boolean;
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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
- 'enabled': json['enabled'],
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
- 'enabled': value.enabled,
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.0
5
+ * The version of the OpenAPI document: 0.4.1
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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.0
5
+ * The version of the OpenAPI document: 0.4.1
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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.0
5
+ * The version of the OpenAPI document: 0.4.1
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.0
8
+ * The version of the OpenAPI document: 0.4.1
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.4.0",
3
+ "version": "0.4.1",
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.4.0
7
+ * The version of the OpenAPI document: 0.4.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -79,7 +79,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
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
  );
@@ -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.0
7
+ * The version of the OpenAPI document: 0.4.1
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.0
7
+ * The version of the OpenAPI document: 0.4.1
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 {boolean}
61
+ * @type {Array<string>}
62
62
  * @memberof Integration
63
63
  */
64
- enabled: boolean;
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
- 'enabled': json['enabled'],
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
- 'enabled': value.enabled,
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.0
7
+ * The version of the OpenAPI document: 0.4.1
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.0
7
+ * The version of the OpenAPI document: 0.4.1
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.0
7
+ * The version of the OpenAPI document: 0.4.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).