@teemill/integrations 0.9.0 → 0.10.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.
Files changed (84) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/IntegrationsApi.d.ts +65 -2
  5. package/dist/apis/IntegrationsApi.js +197 -1
  6. package/dist/esm/apis/IntegrationsApi.d.ts +65 -2
  7. package/dist/esm/apis/IntegrationsApi.js +198 -2
  8. package/dist/esm/models/ApiError.d.ts +2 -2
  9. package/dist/esm/models/ApiError.js +2 -2
  10. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  11. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +61 -0
  12. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  13. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +40 -0
  14. package/dist/esm/models/Integration.d.ts +2 -2
  15. package/dist/esm/models/Integration.js +1 -1
  16. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +2 -2
  17. package/dist/esm/models/IntegrationCategoriesResponse.js +2 -2
  18. package/dist/esm/models/IntegrationCategory.d.ts +2 -2
  19. package/dist/esm/models/IntegrationCategory.js +4 -4
  20. package/dist/esm/models/IntegrationListing.d.ts +2 -2
  21. package/dist/esm/models/IntegrationListing.js +11 -11
  22. package/dist/esm/models/IntegrationListingGradient.d.ts +2 -2
  23. package/dist/esm/models/IntegrationListingGradient.js +1 -1
  24. package/dist/esm/models/IntegrationListingsResponse.d.ts +2 -2
  25. package/dist/esm/models/IntegrationListingsResponse.js +2 -2
  26. package/dist/esm/models/IntegrationProduct.d.ts +2 -2
  27. package/dist/esm/models/IntegrationProduct.js +6 -6
  28. package/dist/esm/models/IntegrationProductsResponse.d.ts +2 -2
  29. package/dist/esm/models/IntegrationProductsResponse.js +2 -2
  30. package/dist/esm/models/IntegrationsResponse.d.ts +2 -2
  31. package/dist/esm/models/IntegrationsResponse.js +2 -2
  32. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  33. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +49 -0
  34. package/dist/esm/models/index.d.ts +3 -0
  35. package/dist/esm/models/index.js +3 -0
  36. package/dist/esm/runtime.d.ts +1 -1
  37. package/dist/esm/runtime.js +1 -1
  38. package/dist/models/ApiError.d.ts +2 -2
  39. package/dist/models/ApiError.js +2 -2
  40. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  41. package/dist/models/CreateAdminIntegrationListingRequest.js +68 -0
  42. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  43. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +47 -0
  44. package/dist/models/Integration.d.ts +2 -2
  45. package/dist/models/Integration.js +1 -1
  46. package/dist/models/IntegrationCategoriesResponse.d.ts +2 -2
  47. package/dist/models/IntegrationCategoriesResponse.js +2 -2
  48. package/dist/models/IntegrationCategory.d.ts +2 -2
  49. package/dist/models/IntegrationCategory.js +4 -4
  50. package/dist/models/IntegrationListing.d.ts +2 -2
  51. package/dist/models/IntegrationListing.js +11 -11
  52. package/dist/models/IntegrationListingGradient.d.ts +2 -2
  53. package/dist/models/IntegrationListingGradient.js +1 -1
  54. package/dist/models/IntegrationListingsResponse.d.ts +2 -2
  55. package/dist/models/IntegrationListingsResponse.js +2 -2
  56. package/dist/models/IntegrationProduct.d.ts +2 -2
  57. package/dist/models/IntegrationProduct.js +6 -6
  58. package/dist/models/IntegrationProductsResponse.d.ts +2 -2
  59. package/dist/models/IntegrationProductsResponse.js +2 -2
  60. package/dist/models/IntegrationsResponse.d.ts +2 -2
  61. package/dist/models/IntegrationsResponse.js +2 -2
  62. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  63. package/dist/models/UpdateAdminIntegrationListingRequest.js +56 -0
  64. package/dist/models/index.d.ts +3 -0
  65. package/dist/models/index.js +3 -0
  66. package/dist/runtime.d.ts +1 -1
  67. package/dist/runtime.js +1 -1
  68. package/package.json +2 -2
  69. package/src/apis/IntegrationsApi.ts +276 -1
  70. package/src/models/ApiError.ts +3 -3
  71. package/src/models/CreateAdminIntegrationListingRequest.ts +113 -0
  72. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +68 -0
  73. package/src/models/Integration.ts +2 -2
  74. package/src/models/IntegrationCategoriesResponse.ts +3 -3
  75. package/src/models/IntegrationCategory.ts +5 -5
  76. package/src/models/IntegrationListing.ts +12 -12
  77. package/src/models/IntegrationListingGradient.ts +2 -2
  78. package/src/models/IntegrationListingsResponse.ts +3 -3
  79. package/src/models/IntegrationProduct.ts +7 -7
  80. package/src/models/IntegrationProductsResponse.ts +3 -3
  81. package/src/models/IntegrationsResponse.ts +3 -3
  82. package/src/models/UpdateAdminIntegrationListingRequest.ts +107 -0
  83. package/src/models/index.ts +3 -0
  84. package/src/runtime.ts +1 -1
@@ -0,0 +1,113 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Integrations API
5
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.10.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
17
+ import {
18
+ CreateAdminIntegrationListingRequestGradientFromJSON,
19
+ CreateAdminIntegrationListingRequestGradientFromJSONTyped,
20
+ CreateAdminIntegrationListingRequestGradientToJSON,
21
+ } from './CreateAdminIntegrationListingRequestGradient';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CreateAdminIntegrationListingRequest
27
+ */
28
+ export interface CreateAdminIntegrationListingRequest {
29
+ /**
30
+ * The name of the integration listing
31
+ * @type {string}
32
+ * @memberof CreateAdminIntegrationListingRequest
33
+ */
34
+ name: string;
35
+ /**
36
+ * The description of the integration listing
37
+ * @type {string}
38
+ * @memberof CreateAdminIntegrationListingRequest
39
+ */
40
+ description: string;
41
+ /**
42
+ * The html content of the integration listing
43
+ * @type {string}
44
+ * @memberof CreateAdminIntegrationListingRequest
45
+ */
46
+ content: string;
47
+ /**
48
+ * The slug of the integration listing that is used in the URL
49
+ * @type {string}
50
+ * @memberof CreateAdminIntegrationListingRequest
51
+ */
52
+ slug: string;
53
+ /**
54
+ *
55
+ * @type {CreateAdminIntegrationListingRequestGradient}
56
+ * @memberof CreateAdminIntegrationListingRequest
57
+ */
58
+ gradient: CreateAdminIntegrationListingRequestGradient;
59
+ /**
60
+ * The icon of the integration listing
61
+ * @type {string}
62
+ * @memberof CreateAdminIntegrationListingRequest
63
+ */
64
+ icon: string;
65
+ }
66
+
67
+ /**
68
+ * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
69
+ */
70
+ export function instanceOfCreateAdminIntegrationListingRequest(value: object): value is CreateAdminIntegrationListingRequest {
71
+ if (!('name' in value) || value['name'] === undefined) return false;
72
+ if (!('description' in value) || value['description'] === undefined) return false;
73
+ if (!('content' in value) || value['content'] === undefined) return false;
74
+ if (!('slug' in value) || value['slug'] === undefined) return false;
75
+ if (!('gradient' in value) || value['gradient'] === undefined) return false;
76
+ if (!('icon' in value) || value['icon'] === undefined) return false;
77
+ return true;
78
+ }
79
+
80
+ export function CreateAdminIntegrationListingRequestFromJSON(json: any): CreateAdminIntegrationListingRequest {
81
+ return CreateAdminIntegrationListingRequestFromJSONTyped(json, false);
82
+ }
83
+
84
+ export function CreateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequest {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+
90
+ 'name': json['name'],
91
+ 'description': json['description'],
92
+ 'content': json['content'],
93
+ 'slug': json['slug'],
94
+ 'gradient': CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
95
+ 'icon': json['icon'],
96
+ };
97
+ }
98
+
99
+ export function CreateAdminIntegrationListingRequestToJSON(value?: CreateAdminIntegrationListingRequest | null): any {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+ return {
104
+
105
+ 'name': value['name'],
106
+ 'description': value['description'],
107
+ 'content': value['content'],
108
+ 'slug': value['slug'],
109
+ 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
110
+ 'icon': value['icon'],
111
+ };
112
+ }
113
+
@@ -0,0 +1,68 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Integrations API
5
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.10.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * The gradient that is used to display the listing
18
+ * @export
19
+ * @interface CreateAdminIntegrationListingRequestGradient
20
+ */
21
+ export interface CreateAdminIntegrationListingRequestGradient {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateAdminIntegrationListingRequestGradient
26
+ */
27
+ from?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CreateAdminIntegrationListingRequestGradient
32
+ */
33
+ to?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the CreateAdminIntegrationListingRequestGradient interface.
38
+ */
39
+ export function instanceOfCreateAdminIntegrationListingRequestGradient(value: object): value is CreateAdminIntegrationListingRequestGradient {
40
+ return true;
41
+ }
42
+
43
+ export function CreateAdminIntegrationListingRequestGradientFromJSON(json: any): CreateAdminIntegrationListingRequestGradient {
44
+ return CreateAdminIntegrationListingRequestGradientFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function CreateAdminIntegrationListingRequestGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequestGradient {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'from': json['from'] == null ? undefined : json['from'],
54
+ 'to': json['to'] == null ? undefined : json['to'],
55
+ };
56
+ }
57
+
58
+ export function CreateAdminIntegrationListingRequestGradientToJSON(value?: CreateAdminIntegrationListingRequestGradient | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'from': value['from'],
65
+ 'to': value['to'],
66
+ };
67
+ }
68
+
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
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 Integration {
42
42
  /**
43
43
  * Check if a given object implements the Integration interface.
44
44
  */
45
- export function instanceOfIntegration(value: object): boolean {
45
+ export function instanceOfIntegration(value: object): value is Integration {
46
46
  return true;
47
47
  }
48
48
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ export interface IntegrationCategoriesResponse {
37
37
  /**
38
38
  * Check if a given object implements the IntegrationCategoriesResponse interface.
39
39
  */
40
- export function instanceOfIntegrationCategoriesResponse(value: object): boolean {
41
- if (!('categories' in value)) return false;
40
+ export function instanceOfIntegrationCategoriesResponse(value: object): value is IntegrationCategoriesResponse {
41
+ if (!('categories' in value) || value['categories'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -54,10 +54,10 @@ export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[key
54
54
  /**
55
55
  * Check if a given object implements the IntegrationCategory interface.
56
56
  */
57
- export function instanceOfIntegrationCategory(value: object): boolean {
58
- if (!('name' in value)) return false;
59
- if (!('slug' in value)) return false;
60
- if (!('type' in value)) return false;
57
+ export function instanceOfIntegrationCategory(value: object): value is IntegrationCategory {
58
+ if (!('name' in value) || value['name'] === undefined) return false;
59
+ if (!('slug' in value) || value['slug'] === undefined) return false;
60
+ if (!('type' in value) || value['type'] === undefined) return false;
61
61
  return true;
62
62
  }
63
63
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -103,17 +103,17 @@ export interface IntegrationListing {
103
103
  /**
104
104
  * Check if a given object implements the IntegrationListing interface.
105
105
  */
106
- export function instanceOfIntegrationListing(value: object): boolean {
107
- if (!('slug' in value)) return false;
108
- if (!('code' in value)) return false;
109
- if (!('name' in value)) return false;
110
- if (!('description' in value)) return false;
111
- if (!('content' in value)) return false;
112
- if (!('author' in value)) return false;
113
- if (!('icon' in value)) return false;
114
- if (!('gradient' in value)) return false;
115
- if (!('dependencies' in value)) return false;
116
- if (!('categories' in value)) return false;
106
+ export function instanceOfIntegrationListing(value: object): value is IntegrationListing {
107
+ if (!('slug' in value) || value['slug'] === undefined) return false;
108
+ if (!('code' in value) || value['code'] === undefined) return false;
109
+ if (!('name' in value) || value['name'] === undefined) return false;
110
+ if (!('description' in value) || value['description'] === undefined) return false;
111
+ if (!('content' in value) || value['content'] === undefined) return false;
112
+ if (!('author' in value) || value['author'] === undefined) return false;
113
+ if (!('icon' in value) || value['icon'] === undefined) return false;
114
+ if (!('gradient' in value) || value['gradient'] === undefined) return false;
115
+ if (!('dependencies' in value) || value['dependencies'] === undefined) return false;
116
+ if (!('categories' in value) || value['categories'] === undefined) return false;
117
117
  return true;
118
118
  }
119
119
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,7 @@ export interface IntegrationListingGradient {
36
36
  /**
37
37
  * Check if a given object implements the IntegrationListingGradient interface.
38
38
  */
39
- export function instanceOfIntegrationListingGradient(value: object): boolean {
39
+ export function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient {
40
40
  return true;
41
41
  }
42
42
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ export interface IntegrationListingsResponse {
37
37
  /**
38
38
  * Check if a given object implements the IntegrationListingsResponse interface.
39
39
  */
40
- export function instanceOfIntegrationListingsResponse(value: object): boolean {
41
- if (!('listings' in value)) return false;
40
+ export function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse {
41
+ if (!('listings' in value) || value['listings'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,12 +60,12 @@ export interface IntegrationProduct {
60
60
  /**
61
61
  * Check if a given object implements the IntegrationProduct interface.
62
62
  */
63
- export function instanceOfIntegrationProduct(value: object): boolean {
64
- if (!('sku' in value)) return false;
65
- if (!('name' in value)) return false;
66
- if (!('slug' in value)) return false;
67
- if (!('description' in value)) return false;
68
- if (!('price' in value)) return false;
63
+ export function instanceOfIntegrationProduct(value: object): value is IntegrationProduct {
64
+ if (!('sku' in value) || value['sku'] === undefined) return false;
65
+ if (!('name' in value) || value['name'] === undefined) return false;
66
+ if (!('slug' in value) || value['slug'] === undefined) return false;
67
+ if (!('description' in value) || value['description'] === undefined) return false;
68
+ if (!('price' in value) || value['price'] === undefined) return false;
69
69
  return true;
70
70
  }
71
71
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ export interface IntegrationProductsResponse {
37
37
  /**
38
38
  * Check if a given object implements the IntegrationProductsResponse interface.
39
39
  */
40
- export function instanceOfIntegrationProductsResponse(value: object): boolean {
41
- if (!('products' in value)) return false;
40
+ export function instanceOfIntegrationProductsResponse(value: object): value is IntegrationProductsResponse {
41
+ if (!('products' in value) || value['products'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
@@ -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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ export interface IntegrationsResponse {
37
37
  /**
38
38
  * Check if a given object implements the IntegrationsResponse interface.
39
39
  */
40
- export function instanceOfIntegrationsResponse(value: object): boolean {
41
- if (!('integrations' in value)) return false;
40
+ export function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse {
41
+ if (!('integrations' in value) || value['integrations'] === undefined) return false;
42
42
  return true;
43
43
  }
44
44
 
@@ -0,0 +1,107 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Integrations API
5
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.10.0
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
17
+ import {
18
+ CreateAdminIntegrationListingRequestGradientFromJSON,
19
+ CreateAdminIntegrationListingRequestGradientFromJSONTyped,
20
+ CreateAdminIntegrationListingRequestGradientToJSON,
21
+ } from './CreateAdminIntegrationListingRequestGradient';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface UpdateAdminIntegrationListingRequest
27
+ */
28
+ export interface UpdateAdminIntegrationListingRequest {
29
+ /**
30
+ * The name of the integration listing
31
+ * @type {string}
32
+ * @memberof UpdateAdminIntegrationListingRequest
33
+ */
34
+ name?: string;
35
+ /**
36
+ * The description of the integration listing
37
+ * @type {string}
38
+ * @memberof UpdateAdminIntegrationListingRequest
39
+ */
40
+ description?: string;
41
+ /**
42
+ * The html content of the integration listing
43
+ * @type {string}
44
+ * @memberof UpdateAdminIntegrationListingRequest
45
+ */
46
+ content?: string;
47
+ /**
48
+ * The slug of the integration listing that is used in the URL
49
+ * @type {string}
50
+ * @memberof UpdateAdminIntegrationListingRequest
51
+ */
52
+ slug?: string;
53
+ /**
54
+ *
55
+ * @type {CreateAdminIntegrationListingRequestGradient}
56
+ * @memberof UpdateAdminIntegrationListingRequest
57
+ */
58
+ gradient?: CreateAdminIntegrationListingRequestGradient;
59
+ /**
60
+ * The icon of the integration listing
61
+ * @type {string}
62
+ * @memberof UpdateAdminIntegrationListingRequest
63
+ */
64
+ icon?: string;
65
+ }
66
+
67
+ /**
68
+ * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
69
+ */
70
+ export function instanceOfUpdateAdminIntegrationListingRequest(value: object): value is UpdateAdminIntegrationListingRequest {
71
+ return true;
72
+ }
73
+
74
+ export function UpdateAdminIntegrationListingRequestFromJSON(json: any): UpdateAdminIntegrationListingRequest {
75
+ return UpdateAdminIntegrationListingRequestFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminIntegrationListingRequest {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'name': json['name'] == null ? undefined : json['name'],
85
+ 'description': json['description'] == null ? undefined : json['description'],
86
+ 'content': json['content'] == null ? undefined : json['content'],
87
+ 'slug': json['slug'] == null ? undefined : json['slug'],
88
+ 'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
89
+ 'icon': json['icon'] == null ? undefined : json['icon'],
90
+ };
91
+ }
92
+
93
+ export function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIntegrationListingRequest | null): any {
94
+ if (value == null) {
95
+ return value;
96
+ }
97
+ return {
98
+
99
+ 'name': value['name'],
100
+ 'description': value['description'],
101
+ 'content': value['content'],
102
+ 'slug': value['slug'],
103
+ 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
104
+ 'icon': value['icon'],
105
+ };
106
+ }
107
+
@@ -1,6 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './ApiError';
4
+ export * from './CreateAdminIntegrationListingRequest';
5
+ export * from './CreateAdminIntegrationListingRequestGradient';
4
6
  export * from './Integration';
5
7
  export * from './IntegrationCategoriesResponse';
6
8
  export * from './IntegrationCategory';
@@ -10,3 +12,4 @@ export * from './IntegrationListingsResponse';
10
12
  export * from './IntegrationProduct';
11
13
  export * from './IntegrationProductsResponse';
12
14
  export * from './IntegrationsResponse';
15
+ export * from './UpdateAdminIntegrationListingRequest';
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.9.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).