@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
@@ -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).
@@ -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).
@@ -25,6 +25,12 @@ import {
25
25
  IntegrationListingGradientFromJSONTyped,
26
26
  IntegrationListingGradientToJSON,
27
27
  } from './IntegrationListingGradient';
28
+ import type { Icon } from './Icon';
29
+ import {
30
+ IconFromJSON,
31
+ IconFromJSONTyped,
32
+ IconToJSON,
33
+ } from './Icon';
28
34
 
29
35
  /**
30
36
  *
@@ -76,10 +82,10 @@ export interface IntegrationListing {
76
82
  author: string;
77
83
  /**
78
84
  *
79
- * @type {object}
85
+ * @type {Icon}
80
86
  * @memberof IntegrationListing
81
87
  */
82
- icon: object;
88
+ icon: Icon;
83
89
  /**
84
90
  *
85
91
  * @type {IntegrationListingGradient}
@@ -134,7 +140,7 @@ export function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator:
134
140
  'description': json['description'],
135
141
  'content': json['content'],
136
142
  'author': json['author'],
137
- 'icon': json['icon'],
143
+ 'icon': IconFromJSON(json['icon']),
138
144
  'gradient': IntegrationListingGradientFromJSON(json['gradient']),
139
145
  'dependencies': json['dependencies'],
140
146
  'categories': ((json['categories'] as Array<any>).map(IntegrationCategoryFromJSON)),
@@ -153,7 +159,7 @@ export function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'>
153
159
  'description': value['description'],
154
160
  'content': value['content'],
155
161
  'author': value['author'],
156
- 'icon': value['icon'],
162
+ 'icon': IconToJSON(value['icon']),
157
163
  'gradient': IntegrationListingGradientToJSON(value['gradient']),
158
164
  'dependencies': value['dependencies'],
159
165
  'categories': ((value['categories'] as Array<any>).map(IntegrationCategoryToJSON)),
@@ -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).
@@ -31,6 +31,12 @@ export interface IntegrationListingGradient {
31
31
  * @memberof IntegrationListingGradient
32
32
  */
33
33
  to?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof IntegrationListingGradient
38
+ */
39
+ angle?: string;
34
40
  }
35
41
 
36
42
  /**
@@ -52,6 +58,7 @@ export function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscrim
52
58
 
53
59
  'from': json['from'] == null ? undefined : json['from'],
54
60
  'to': json['to'] == null ? undefined : json['to'],
61
+ 'angle': json['angle'] == null ? undefined : json['angle'],
55
62
  };
56
63
  }
57
64
 
@@ -63,6 +70,7 @@ export function IntegrationListingGradientToJSON(value?: IntegrationListingGradi
63
70
 
64
71
  'from': value['from'],
65
72
  'to': value['to'],
73
+ 'angle': value['angle'],
66
74
  };
67
75
  }
68
76
 
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -44,6 +44,18 @@ export interface UpdateAdminIntegrationListingRequest {
44
44
  * @memberof UpdateAdminIntegrationListingRequest
45
45
  */
46
46
  content?: string;
47
+ /**
48
+ * The code of the integration
49
+ * @type {string}
50
+ * @memberof UpdateAdminIntegrationListingRequest
51
+ */
52
+ integration?: string;
53
+ /**
54
+ * The author of the integration listing
55
+ * @type {string}
56
+ * @memberof UpdateAdminIntegrationListingRequest
57
+ */
58
+ author?: string;
47
59
  /**
48
60
  * The slug of the integration listing that is used in the URL
49
61
  * @type {string}
@@ -62,6 +74,12 @@ export interface UpdateAdminIntegrationListingRequest {
62
74
  * @memberof UpdateAdminIntegrationListingRequest
63
75
  */
64
76
  icon?: string;
77
+ /**
78
+ * The categories that this listing belongs to
79
+ * @type {Array<string>}
80
+ * @memberof UpdateAdminIntegrationListingRequest
81
+ */
82
+ categories?: Array<string>;
65
83
  }
66
84
 
67
85
  /**
@@ -84,9 +102,12 @@ export function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ign
84
102
  'name': json['name'] == null ? undefined : json['name'],
85
103
  'description': json['description'] == null ? undefined : json['description'],
86
104
  'content': json['content'] == null ? undefined : json['content'],
105
+ 'integration': json['integration'] == null ? undefined : json['integration'],
106
+ 'author': json['author'] == null ? undefined : json['author'],
87
107
  'slug': json['slug'] == null ? undefined : json['slug'],
88
108
  'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
89
109
  'icon': json['icon'] == null ? undefined : json['icon'],
110
+ 'categories': json['categories'] == null ? undefined : json['categories'],
90
111
  };
91
112
  }
92
113
 
@@ -99,9 +120,12 @@ export function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIn
99
120
  'name': value['name'],
100
121
  'description': value['description'],
101
122
  'content': value['content'],
123
+ 'integration': value['integration'],
124
+ 'author': value['author'],
102
125
  'slug': value['slug'],
103
126
  'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
104
127
  'icon': value['icon'],
128
+ 'categories': value['categories'],
105
129
  };
106
130
  }
107
131
 
@@ -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';
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.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).