@teemill/integrations 0.8.0 → 0.8.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.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/IntegrationsApi.d.ts +3 -3
  3. package/dist/apis/IntegrationsApi.js +1 -1
  4. package/dist/models/ApiError.d.ts +1 -1
  5. package/dist/models/ApiError.js +1 -1
  6. package/dist/models/CategoriesResponse.d.ts +1 -1
  7. package/dist/models/CategoriesResponse.js +1 -1
  8. package/dist/models/IntegrationCategory.d.ts +1 -1
  9. package/dist/models/IntegrationCategory.js +1 -1
  10. package/dist/models/IntegrationListing.d.ts +13 -1
  11. package/dist/models/IntegrationListing.js +6 -1
  12. package/dist/models/IntegrationListingGradient.d.ts +1 -1
  13. package/dist/models/IntegrationListingGradient.js +1 -1
  14. package/dist/models/IntegrationListingsResponse.d.ts +1 -1
  15. package/dist/models/IntegrationListingsResponse.js +1 -1
  16. package/dist/models/IntegrationProduct.d.ts +1 -1
  17. package/dist/models/IntegrationProduct.js +1 -1
  18. package/dist/models/IntegrationProductsResponse.d.ts +1 -1
  19. package/dist/models/IntegrationProductsResponse.js +1 -1
  20. package/dist/runtime.d.ts +1 -1
  21. package/dist/runtime.js +1 -1
  22. package/package.json +1 -1
  23. package/src/apis/IntegrationsApi.ts +3 -3
  24. package/src/models/ApiError.ts +1 -1
  25. package/src/models/CategoriesResponse.ts +1 -1
  26. package/src/models/IntegrationCategory.ts +1 -1
  27. package/src/models/IntegrationListing.ts +18 -1
  28. package/src/models/IntegrationListingGradient.ts +1 -1
  29. package/src/models/IntegrationListingsResponse.ts +1 -1
  30. package/src/models/IntegrationProduct.ts +1 -1
  31. package/src/models/IntegrationProductsResponse.ts +1 -1
  32. package/src/runtime.ts +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.8.0
1
+ ## @teemill/integrations@0.8.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.8.0 --save
39
+ npm install @teemill/integrations@0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,7 +15,7 @@ export interface GetIntegrationCategoryRequest {
15
15
  category: string;
16
16
  }
17
17
  export interface GetIntegrationListingRequest {
18
- listing: number;
18
+ listing: string;
19
19
  }
20
20
  export interface GetIntegrationProductRequest {
21
21
  integration: number;
@@ -57,7 +57,7 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
57
57
  * Get an integration listing
58
58
  * Get integration listing
59
59
  */
60
- getIntegrationListing(listing: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
60
+ getIntegrationListing(listing: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
61
61
  /**
62
62
  * List all integration listings
63
63
  * List integration listings
@@ -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.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,6 +23,12 @@ export interface IntegrationListing {
23
23
  * @memberof IntegrationListing
24
24
  */
25
25
  readonly id?: number;
26
+ /**
27
+ * The slug of the integration listing that is used in the URL
28
+ * @type {string}
29
+ * @memberof IntegrationListing
30
+ */
31
+ slug?: string;
26
32
  /**
27
33
  * The code of the integration
28
34
  * @type {string}
@@ -41,6 +47,12 @@ export interface IntegrationListing {
41
47
  * @memberof IntegrationListing
42
48
  */
43
49
  description: string;
50
+ /**
51
+ * The html content of the integration listing
52
+ * @type {string}
53
+ * @memberof IntegrationListing
54
+ */
55
+ content: string;
44
56
  /**
45
57
  * The author of the integration listing
46
58
  * @type {string}
@@ -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.0
8
+ * The version of the OpenAPI document: 0.8.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,6 +25,7 @@ function instanceOfIntegrationListing(value) {
25
25
  isInstance = isInstance && "code" in value;
26
26
  isInstance = isInstance && "name" in value;
27
27
  isInstance = isInstance && "description" in value;
28
+ isInstance = isInstance && "content" in value;
28
29
  isInstance = isInstance && "author" in value;
29
30
  isInstance = isInstance && "icon" in value;
30
31
  isInstance = isInstance && "gradient" in value;
@@ -43,9 +44,11 @@ function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
43
44
  }
44
45
  return {
45
46
  'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
47
+ 'slug': !(0, runtime_1.exists)(json, 'slug') ? undefined : json['slug'],
46
48
  'code': json['code'],
47
49
  'name': json['name'],
48
50
  'description': json['description'],
51
+ 'content': json['content'],
49
52
  'author': json['author'],
50
53
  'icon': json['icon'],
51
54
  'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
@@ -62,9 +65,11 @@ function IntegrationListingToJSON(value) {
62
65
  return null;
63
66
  }
64
67
  return {
68
+ 'slug': value.slug,
65
69
  'code': value.code,
66
70
  'name': value.name,
67
71
  'description': value.description,
72
+ 'content': value.content,
68
73
  'author': value.author,
69
74
  'icon': value.icon,
70
75
  'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value.gradient),
@@ -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.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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.8.0
5
+ * The version of the OpenAPI document: 0.8.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.8.0
8
+ * The version of the OpenAPI document: 0.8.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/integrations",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
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.8.0
7
+ * The version of the OpenAPI document: 0.8.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -42,7 +42,7 @@ export interface GetIntegrationCategoryRequest {
42
42
  }
43
43
 
44
44
  export interface GetIntegrationListingRequest {
45
- listing: number;
45
+ listing: string;
46
46
  }
47
47
 
48
48
  export interface GetIntegrationProductRequest {
@@ -190,7 +190,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
190
190
  * Get integration listing
191
191
  */
192
192
  async getIntegrationListing(
193
- listing: number,
193
+ listing: string,
194
194
  initOverrides?: RequestInit | runtime.InitOverrideFunction
195
195
  ): Promise<IntegrationListing> {
196
196
  const response = await this.getIntegrationListingRaw(
@@ -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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,6 +38,12 @@ export interface IntegrationListing {
38
38
  * @memberof IntegrationListing
39
39
  */
40
40
  readonly id?: number;
41
+ /**
42
+ * The slug of the integration listing that is used in the URL
43
+ * @type {string}
44
+ * @memberof IntegrationListing
45
+ */
46
+ slug?: string;
41
47
  /**
42
48
  * The code of the integration
43
49
  * @type {string}
@@ -56,6 +62,12 @@ export interface IntegrationListing {
56
62
  * @memberof IntegrationListing
57
63
  */
58
64
  description: string;
65
+ /**
66
+ * The html content of the integration listing
67
+ * @type {string}
68
+ * @memberof IntegrationListing
69
+ */
70
+ content: string;
59
71
  /**
60
72
  * The author of the integration listing
61
73
  * @type {string}
@@ -96,6 +108,7 @@ export function instanceOfIntegrationListing(value: object): boolean {
96
108
  isInstance = isInstance && "code" in value;
97
109
  isInstance = isInstance && "name" in value;
98
110
  isInstance = isInstance && "description" in value;
111
+ isInstance = isInstance && "content" in value;
99
112
  isInstance = isInstance && "author" in value;
100
113
  isInstance = isInstance && "icon" in value;
101
114
  isInstance = isInstance && "gradient" in value;
@@ -116,9 +129,11 @@ export function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator:
116
129
  return {
117
130
 
118
131
  'id': !exists(json, 'id') ? undefined : json['id'],
132
+ 'slug': !exists(json, 'slug') ? undefined : json['slug'],
119
133
  'code': json['code'],
120
134
  'name': json['name'],
121
135
  'description': json['description'],
136
+ 'content': json['content'],
122
137
  'author': json['author'],
123
138
  'icon': json['icon'],
124
139
  'gradient': IntegrationListingGradientFromJSON(json['gradient']),
@@ -136,9 +151,11 @@ export function IntegrationListingToJSON(value?: IntegrationListing | null): any
136
151
  }
137
152
  return {
138
153
 
154
+ 'slug': value.slug,
139
155
  'code': value.code,
140
156
  'name': value.name,
141
157
  'description': value.description,
158
+ 'content': value.content,
142
159
  'author': value.author,
143
160
  'icon': value.icon,
144
161
  'gradient': IntegrationListingGradientToJSON(value.gradient),
@@ -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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.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.8.0
7
+ * The version of the OpenAPI document: 0.8.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).