@teemill/integrations 0.10.0 → 0.12.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 (98) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/dist/apis/IntegrationsApi.d.ts +8 -8
  4. package/dist/apis/IntegrationsApi.js +4 -4
  5. package/dist/esm/apis/IntegrationsApi.d.ts +8 -8
  6. package/dist/esm/apis/IntegrationsApi.js +5 -5
  7. package/dist/esm/models/AdminIntegrationListing.d.ts +101 -0
  8. package/dist/esm/models/AdminIntegrationListing.js +85 -0
  9. package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +32 -0
  10. package/dist/esm/models/AdminIntegrationListingsResponse.js +41 -0
  11. package/dist/esm/models/ApiError.d.ts +1 -1
  12. package/dist/esm/models/ApiError.js +1 -1
  13. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +19 -1
  14. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +13 -1
  15. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
  16. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
  17. package/dist/esm/models/Icon.d.ts +43 -0
  18. package/dist/esm/models/Icon.js +48 -0
  19. package/dist/esm/models/Integration.d.ts +1 -1
  20. package/dist/esm/models/Integration.js +1 -1
  21. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +1 -1
  22. package/dist/esm/models/IntegrationCategoriesResponse.js +1 -1
  23. package/dist/esm/models/IntegrationCategory.d.ts +1 -1
  24. package/dist/esm/models/IntegrationCategory.js +1 -1
  25. package/dist/esm/models/IntegrationListing.d.ts +4 -3
  26. package/dist/esm/models/IntegrationListing.js +4 -3
  27. package/dist/esm/models/IntegrationListingGradient.d.ts +7 -1
  28. package/dist/esm/models/IntegrationListingGradient.js +3 -1
  29. package/dist/esm/models/IntegrationListingsResponse.d.ts +1 -1
  30. package/dist/esm/models/IntegrationListingsResponse.js +1 -1
  31. package/dist/esm/models/IntegrationProduct.d.ts +1 -1
  32. package/dist/esm/models/IntegrationProduct.js +1 -1
  33. package/dist/esm/models/IntegrationProductsResponse.d.ts +1 -1
  34. package/dist/esm/models/IntegrationProductsResponse.js +1 -1
  35. package/dist/esm/models/IntegrationsResponse.d.ts +1 -1
  36. package/dist/esm/models/IntegrationsResponse.js +1 -1
  37. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +19 -1
  38. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +7 -1
  39. package/dist/esm/models/index.d.ts +3 -0
  40. package/dist/esm/models/index.js +3 -0
  41. package/dist/esm/runtime.d.ts +1 -1
  42. package/dist/esm/runtime.js +1 -1
  43. package/dist/models/AdminIntegrationListing.d.ts +101 -0
  44. package/dist/models/AdminIntegrationListing.js +92 -0
  45. package/dist/models/AdminIntegrationListingsResponse.d.ts +32 -0
  46. package/dist/models/AdminIntegrationListingsResponse.js +48 -0
  47. package/dist/models/ApiError.d.ts +1 -1
  48. package/dist/models/ApiError.js +1 -1
  49. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +19 -1
  50. package/dist/models/CreateAdminIntegrationListingRequest.js +13 -1
  51. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
  52. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
  53. package/dist/models/Icon.d.ts +43 -0
  54. package/dist/models/Icon.js +55 -0
  55. package/dist/models/Integration.d.ts +1 -1
  56. package/dist/models/Integration.js +1 -1
  57. package/dist/models/IntegrationCategoriesResponse.d.ts +1 -1
  58. package/dist/models/IntegrationCategoriesResponse.js +1 -1
  59. package/dist/models/IntegrationCategory.d.ts +1 -1
  60. package/dist/models/IntegrationCategory.js +1 -1
  61. package/dist/models/IntegrationListing.d.ts +4 -3
  62. package/dist/models/IntegrationListing.js +4 -3
  63. package/dist/models/IntegrationListingGradient.d.ts +7 -1
  64. package/dist/models/IntegrationListingGradient.js +3 -1
  65. package/dist/models/IntegrationListingsResponse.d.ts +1 -1
  66. package/dist/models/IntegrationListingsResponse.js +1 -1
  67. package/dist/models/IntegrationProduct.d.ts +1 -1
  68. package/dist/models/IntegrationProduct.js +1 -1
  69. package/dist/models/IntegrationProductsResponse.d.ts +1 -1
  70. package/dist/models/IntegrationProductsResponse.js +1 -1
  71. package/dist/models/IntegrationsResponse.d.ts +1 -1
  72. package/dist/models/IntegrationsResponse.js +1 -1
  73. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +19 -1
  74. package/dist/models/UpdateAdminIntegrationListingRequest.js +7 -1
  75. package/dist/models/index.d.ts +3 -0
  76. package/dist/models/index.js +3 -0
  77. package/dist/runtime.d.ts +1 -1
  78. package/dist/runtime.js +1 -1
  79. package/package.json +1 -1
  80. package/src/apis/IntegrationsApi.ts +16 -10
  81. package/src/models/AdminIntegrationListing.ts +183 -0
  82. package/src/models/AdminIntegrationListingsResponse.ts +68 -0
  83. package/src/models/ApiError.ts +1 -1
  84. package/src/models/CreateAdminIntegrationListingRequest.ts +28 -1
  85. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +9 -1
  86. package/src/models/Icon.ts +79 -0
  87. package/src/models/Integration.ts +1 -1
  88. package/src/models/IntegrationCategoriesResponse.ts +1 -1
  89. package/src/models/IntegrationCategory.ts +1 -1
  90. package/src/models/IntegrationListing.ts +11 -5
  91. package/src/models/IntegrationListingGradient.ts +9 -1
  92. package/src/models/IntegrationListingsResponse.ts +1 -1
  93. package/src/models/IntegrationProduct.ts +1 -1
  94. package/src/models/IntegrationProductsResponse.ts +1 -1
  95. package/src/models/IntegrationsResponse.ts +1 -1
  96. package/src/models/UpdateAdminIntegrationListingRequest.ts +25 -1
  97. package/src/models/index.ts +3 -0
  98. package/src/runtime.ts +1 -1
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Integrations API
3
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Icon
16
+ */
17
+ export interface Icon {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Icon
22
+ */
23
+ prefix: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Icon
28
+ */
29
+ iconName: string;
30
+ /**
31
+ *
32
+ * @type {object}
33
+ * @memberof Icon
34
+ */
35
+ data: object;
36
+ }
37
+ /**
38
+ * Check if a given object implements the Icon interface.
39
+ */
40
+ export declare function instanceOfIcon(value: object): value is Icon;
41
+ export declare function IconFromJSON(json: any): Icon;
42
+ export declare function IconFromJSONTyped(json: any, ignoreDiscriminator: boolean): Icon;
43
+ export declare function IconToJSON(value?: Icon | null): any;
@@ -0,0 +1,48 @@
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.12.2
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
+ * Check if a given object implements the Icon interface.
16
+ */
17
+ export function instanceOfIcon(value) {
18
+ if (!('prefix' in value) || value['prefix'] === undefined)
19
+ return false;
20
+ if (!('iconName' in value) || value['iconName'] === undefined)
21
+ return false;
22
+ if (!('data' in value) || value['data'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function IconFromJSON(json) {
27
+ return IconFromJSONTyped(json, false);
28
+ }
29
+ export function IconFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'prefix': json['prefix'],
35
+ 'iconName': json['iconName'],
36
+ 'data': json['data'],
37
+ };
38
+ }
39
+ export function IconToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'prefix': value['prefix'],
45
+ 'iconName': value['iconName'],
46
+ 'data': value['data'],
47
+ };
48
+ }
@@ -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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { IntegrationCategory } from './IntegrationCategory';
13
13
  import type { IntegrationListingGradient } from './IntegrationListingGradient';
14
+ import type { Icon } from './Icon';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -61,10 +62,10 @@ export interface IntegrationListing {
61
62
  author: string;
62
63
  /**
63
64
  *
64
- * @type {object}
65
+ * @type {Icon}
65
66
  * @memberof IntegrationListing
66
67
  */
67
- icon: object;
68
+ icon: Icon;
68
69
  /**
69
70
  *
70
71
  * @type {IntegrationListingGradient}
@@ -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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
15
15
  import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, } from './IntegrationListingGradient';
16
+ import { IconFromJSON, IconToJSON, } from './Icon';
16
17
  /**
17
18
  * Check if a given object implements the IntegrationListing interface.
18
19
  */
@@ -54,7 +55,7 @@ export function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
54
55
  'description': json['description'],
55
56
  'content': json['content'],
56
57
  'author': json['author'],
57
- 'icon': json['icon'],
58
+ 'icon': IconFromJSON(json['icon']),
58
59
  'gradient': IntegrationListingGradientFromJSON(json['gradient']),
59
60
  'dependencies': json['dependencies'],
60
61
  'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
@@ -71,7 +72,7 @@ export function IntegrationListingToJSON(value) {
71
72
  'description': value['description'],
72
73
  'content': value['content'],
73
74
  'author': value['author'],
74
- 'icon': value['icon'],
75
+ 'icon': IconToJSON(value['icon']),
75
76
  'gradient': IntegrationListingGradientToJSON(value['gradient']),
76
77
  'dependencies': value['dependencies'],
77
78
  'categories': (value['categories'].map(IntegrationCategoryToJSON)),
@@ -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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,6 +27,12 @@ export interface IntegrationListingGradient {
27
27
  * @memberof IntegrationListingGradient
28
28
  */
29
29
  to?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IntegrationListingGradient
34
+ */
35
+ angle?: string;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the IntegrationListingGradient interface.
@@ -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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,6 +27,7 @@ export function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminato
27
27
  return {
28
28
  'from': json['from'] == null ? undefined : json['from'],
29
29
  'to': json['to'] == null ? undefined : json['to'],
30
+ 'angle': json['angle'] == null ? undefined : json['angle'],
30
31
  };
31
32
  }
32
33
  export function IntegrationListingGradientToJSON(value) {
@@ -36,5 +37,6 @@ export function IntegrationListingGradientToJSON(value) {
36
37
  return {
37
38
  'from': value['from'],
38
39
  'to': value['to'],
40
+ 'angle': value['angle'],
39
41
  };
40
42
  }
@@ -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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * 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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,6 +34,18 @@ export interface UpdateAdminIntegrationListingRequest {
34
34
  * @memberof UpdateAdminIntegrationListingRequest
35
35
  */
36
36
  content?: string;
37
+ /**
38
+ * The code of the integration
39
+ * @type {string}
40
+ * @memberof UpdateAdminIntegrationListingRequest
41
+ */
42
+ integration?: string;
43
+ /**
44
+ * The author of the integration listing
45
+ * @type {string}
46
+ * @memberof UpdateAdminIntegrationListingRequest
47
+ */
48
+ author?: string;
37
49
  /**
38
50
  * The slug of the integration listing that is used in the URL
39
51
  * @type {string}
@@ -52,6 +64,12 @@ export interface UpdateAdminIntegrationListingRequest {
52
64
  * @memberof UpdateAdminIntegrationListingRequest
53
65
  */
54
66
  icon?: string;
67
+ /**
68
+ * The categories that this listing belongs to
69
+ * @type {Array<string>}
70
+ * @memberof UpdateAdminIntegrationListingRequest
71
+ */
72
+ categories?: Array<string>;
55
73
  }
56
74
  /**
57
75
  * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
@@ -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.10.0
7
+ * The version of the OpenAPI document: 0.12.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,9 +29,12 @@ export function UpdateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDi
29
29
  'name': json['name'] == null ? undefined : json['name'],
30
30
  'description': json['description'] == null ? undefined : json['description'],
31
31
  'content': json['content'] == null ? undefined : json['content'],
32
+ 'integration': json['integration'] == null ? undefined : json['integration'],
33
+ 'author': json['author'] == null ? undefined : json['author'],
32
34
  'slug': json['slug'] == null ? undefined : json['slug'],
33
35
  'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
34
36
  'icon': json['icon'] == null ? undefined : json['icon'],
37
+ 'categories': json['categories'] == null ? undefined : json['categories'],
35
38
  };
36
39
  }
37
40
  export function UpdateAdminIntegrationListingRequestToJSON(value) {
@@ -42,8 +45,11 @@ export function UpdateAdminIntegrationListingRequestToJSON(value) {
42
45
  'name': value['name'],
43
46
  'description': value['description'],
44
47
  'content': value['content'],
48
+ 'integration': value['integration'],
49
+ 'author': value['author'],
45
50
  'slug': value['slug'],
46
51
  'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
47
52
  'icon': value['icon'],
53
+ 'categories': value['categories'],
48
54
  };
49
55
  }
@@ -1,6 +1,9 @@
1
+ export * from './AdminIntegrationListing';
2
+ export * from './AdminIntegrationListingsResponse';
1
3
  export * from './ApiError';
2
4
  export * from './CreateAdminIntegrationListingRequest';
3
5
  export * from './CreateAdminIntegrationListingRequestGradient';
6
+ export * from './Icon';
4
7
  export * from './Integration';
5
8
  export * from './IntegrationCategoriesResponse';
6
9
  export * from './IntegrationCategory';
@@ -1,8 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AdminIntegrationListing';
4
+ export * from './AdminIntegrationListingsResponse';
3
5
  export * from './ApiError';
4
6
  export * from './CreateAdminIntegrationListingRequest';
5
7
  export * from './CreateAdminIntegrationListingRequestGradient';
8
+ export * from './Icon';
6
9
  export * from './Integration';
7
10
  export * from './IntegrationCategoriesResponse';
8
11
  export * from './IntegrationCategory';
@@ -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.10.0
5
+ * The version of the OpenAPI document: 0.12.2
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * 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.10.0
7
+ * The version of the OpenAPI document: 0.12.2
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Integrations API
3
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.12.2
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Integration } from './Integration';
13
+ import type { IntegrationCategory } from './IntegrationCategory';
14
+ import type { IntegrationListingGradient } from './IntegrationListingGradient';
15
+ import type { Icon } from './Icon';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AdminIntegrationListing
20
+ */
21
+ export interface AdminIntegrationListing {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof AdminIntegrationListing
26
+ */
27
+ readonly id?: number;
28
+ /**
29
+ * The slug of the integration listing that is used in the URL
30
+ * @type {string}
31
+ * @memberof AdminIntegrationListing
32
+ */
33
+ slug: string;
34
+ /**
35
+ * The code of the integration
36
+ * @type {string}
37
+ * @memberof AdminIntegrationListing
38
+ */
39
+ code: string;
40
+ /**
41
+ * The name of the integration listing
42
+ * @type {string}
43
+ * @memberof AdminIntegrationListing
44
+ */
45
+ name: string;
46
+ /**
47
+ * The description of the integration listing
48
+ * @type {string}
49
+ * @memberof AdminIntegrationListing
50
+ */
51
+ description: string;
52
+ /**
53
+ * The html content of the integration listing
54
+ * @type {string}
55
+ * @memberof AdminIntegrationListing
56
+ */
57
+ content: string;
58
+ /**
59
+ * The author of the integration listing
60
+ * @type {string}
61
+ * @memberof AdminIntegrationListing
62
+ */
63
+ author: string;
64
+ /**
65
+ *
66
+ * @type {Icon}
67
+ * @memberof AdminIntegrationListing
68
+ */
69
+ icon: Icon;
70
+ /**
71
+ *
72
+ * @type {IntegrationListingGradient}
73
+ * @memberof AdminIntegrationListing
74
+ */
75
+ gradient: IntegrationListingGradient;
76
+ /**
77
+ *
78
+ * @type {Integration}
79
+ * @memberof AdminIntegrationListing
80
+ */
81
+ integration: Integration;
82
+ /**
83
+ * The dependencies that this integration listing requires
84
+ * @type {Array<string>}
85
+ * @memberof AdminIntegrationListing
86
+ */
87
+ dependencies: Array<string>;
88
+ /**
89
+ * The categories that this listing belongs to
90
+ * @type {Array<IntegrationCategory>}
91
+ * @memberof AdminIntegrationListing
92
+ */
93
+ categories: Array<IntegrationCategory>;
94
+ }
95
+ /**
96
+ * Check if a given object implements the AdminIntegrationListing interface.
97
+ */
98
+ export declare function instanceOfAdminIntegrationListing(value: object): value is AdminIntegrationListing;
99
+ export declare function AdminIntegrationListingFromJSON(json: any): AdminIntegrationListing;
100
+ export declare function AdminIntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListing;
101
+ export declare function AdminIntegrationListingToJSON(value?: Omit<AdminIntegrationListing, 'id'> | null): any;
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.12.2
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AdminIntegrationListingToJSON = exports.AdminIntegrationListingFromJSONTyped = exports.AdminIntegrationListingFromJSON = exports.instanceOfAdminIntegrationListing = void 0;
17
+ const Integration_1 = require("./Integration");
18
+ const IntegrationCategory_1 = require("./IntegrationCategory");
19
+ const IntegrationListingGradient_1 = require("./IntegrationListingGradient");
20
+ const Icon_1 = require("./Icon");
21
+ /**
22
+ * Check if a given object implements the AdminIntegrationListing interface.
23
+ */
24
+ function instanceOfAdminIntegrationListing(value) {
25
+ if (!('slug' in value) || value['slug'] === undefined)
26
+ return false;
27
+ if (!('code' in value) || value['code'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('description' in value) || value['description'] === undefined)
32
+ return false;
33
+ if (!('content' in value) || value['content'] === undefined)
34
+ return false;
35
+ if (!('author' in value) || value['author'] === undefined)
36
+ return false;
37
+ if (!('icon' in value) || value['icon'] === undefined)
38
+ return false;
39
+ if (!('gradient' in value) || value['gradient'] === undefined)
40
+ return false;
41
+ if (!('integration' in value) || value['integration'] === undefined)
42
+ return false;
43
+ if (!('dependencies' in value) || value['dependencies'] === undefined)
44
+ return false;
45
+ if (!('categories' in value) || value['categories'] === undefined)
46
+ return false;
47
+ return true;
48
+ }
49
+ exports.instanceOfAdminIntegrationListing = instanceOfAdminIntegrationListing;
50
+ function AdminIntegrationListingFromJSON(json) {
51
+ return AdminIntegrationListingFromJSONTyped(json, false);
52
+ }
53
+ exports.AdminIntegrationListingFromJSON = AdminIntegrationListingFromJSON;
54
+ function AdminIntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'id': json['id'] == null ? undefined : json['id'],
60
+ 'slug': json['slug'],
61
+ 'code': json['code'],
62
+ 'name': json['name'],
63
+ 'description': json['description'],
64
+ 'content': json['content'],
65
+ 'author': json['author'],
66
+ 'icon': (0, Icon_1.IconFromJSON)(json['icon']),
67
+ 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
68
+ 'integration': (0, Integration_1.IntegrationFromJSON)(json['integration']),
69
+ 'dependencies': json['dependencies'],
70
+ 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
71
+ };
72
+ }
73
+ exports.AdminIntegrationListingFromJSONTyped = AdminIntegrationListingFromJSONTyped;
74
+ function AdminIntegrationListingToJSON(value) {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'slug': value['slug'],
80
+ 'code': value['code'],
81
+ 'name': value['name'],
82
+ 'description': value['description'],
83
+ 'content': value['content'],
84
+ 'author': value['author'],
85
+ 'icon': (0, Icon_1.IconToJSON)(value['icon']),
86
+ 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value['gradient']),
87
+ 'integration': (0, Integration_1.IntegrationToJSON)(value['integration']),
88
+ 'dependencies': value['dependencies'],
89
+ 'categories': (value['categories'].map(IntegrationCategory_1.IntegrationCategoryToJSON)),
90
+ };
91
+ }
92
+ exports.AdminIntegrationListingToJSON = AdminIntegrationListingToJSON;