@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
@@ -5,9 +5,12 @@ package.json
5
5
  src/apis/IntegrationsApi.ts
6
6
  src/apis/index.ts
7
7
  src/index.ts
8
+ src/models/AdminIntegrationListing.ts
9
+ src/models/AdminIntegrationListingsResponse.ts
8
10
  src/models/ApiError.ts
9
11
  src/models/CreateAdminIntegrationListingRequest.ts
10
12
  src/models/CreateAdminIntegrationListingRequestGradient.ts
13
+ src/models/Icon.ts
11
14
  src/models/Integration.ts
12
15
  src/models/IntegrationCategoriesResponse.ts
13
16
  src/models/IntegrationCategory.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/integrations@0.10.0
1
+ ## @teemill/integrations@0.12.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.10.0 --save
39
+ npm install @teemill/integrations@0.12.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.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).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateAdminIntegrationListingRequest, IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse, UpdateAdminIntegrationListingRequest } from '../models/index';
13
+ import type { AdminIntegrationListing, AdminIntegrationListingsResponse, CreateAdminIntegrationListingRequest, IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse, UpdateAdminIntegrationListingRequest } from '../models/index';
14
14
  export interface CreateAdminIntegrationListingOperationRequest {
15
15
  createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest;
16
16
  }
@@ -45,12 +45,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
45
45
  * Create a new integration listing
46
46
  * Create integration listing
47
47
  */
48
- createAdminIntegrationListingRaw(requestParameters: CreateAdminIntegrationListingOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListing>>;
48
+ createAdminIntegrationListingRaw(requestParameters: CreateAdminIntegrationListingOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListing>>;
49
49
  /**
50
50
  * Create a new integration listing
51
51
  * Create integration listing
52
52
  */
53
- createAdminIntegrationListing(createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
53
+ createAdminIntegrationListing(createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListing>;
54
54
  /**
55
55
  * Delete an integration listing
56
56
  * Delete integration listing
@@ -65,12 +65,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
65
65
  * Retrieves a specific integration listing by its slug.
66
66
  * Retrieve integration listing
67
67
  */
68
- getAdminIntegrationListingRaw(requestParameters: GetAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListing>>;
68
+ getAdminIntegrationListingRaw(requestParameters: GetAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListing>>;
69
69
  /**
70
70
  * Retrieves a specific integration listing by its slug.
71
71
  * Retrieve integration listing
72
72
  */
73
- getAdminIntegrationListing(listing: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
73
+ getAdminIntegrationListing(listing: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListing>;
74
74
  /**
75
75
  * List all integration categories
76
76
  * List integration categories
@@ -145,12 +145,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
145
145
  * List all integration listings
146
146
  * List integration listings
147
147
  */
148
- listAdminIntegrationListingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListingsResponse>>;
148
+ listAdminIntegrationListingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListingsResponse>>;
149
149
  /**
150
150
  * List all integration listings
151
151
  * List integration listings
152
152
  */
153
- listAdminIntegrationListings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListingsResponse>;
153
+ listAdminIntegrationListings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListingsResponse>;
154
154
  /**
155
155
  * Update an integration listing
156
156
  * Update integration listing
@@ -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.10.0
8
+ * The version of the OpenAPI document: 0.12.2
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,7 @@ class IntegrationsApi extends runtime.BaseAPI {
55
55
  query: queryParameters,
56
56
  body: (0, index_1.CreateAdminIntegrationListingRequestToJSON)(requestParameters.createAdminIntegrationListingRequest),
57
57
  }, initOverrides);
58
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IntegrationListingFromJSON)(jsonValue));
58
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminIntegrationListingFromJSON)(jsonValue));
59
59
  });
60
60
  }
61
61
  /**
@@ -132,7 +132,7 @@ class IntegrationsApi extends runtime.BaseAPI {
132
132
  headers: headerParameters,
133
133
  query: queryParameters,
134
134
  }, initOverrides);
135
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IntegrationListingFromJSON)(jsonValue));
135
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminIntegrationListingFromJSON)(jsonValue));
136
136
  });
137
137
  }
138
138
  /**
@@ -429,7 +429,7 @@ class IntegrationsApi extends runtime.BaseAPI {
429
429
  headers: headerParameters,
430
430
  query: queryParameters,
431
431
  }, initOverrides);
432
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IntegrationListingsResponseFromJSON)(jsonValue));
432
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminIntegrationListingsResponseFromJSON)(jsonValue));
433
433
  });
434
434
  }
435
435
  /**
@@ -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).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateAdminIntegrationListingRequest, IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse, UpdateAdminIntegrationListingRequest } from '../models/index';
13
+ import type { AdminIntegrationListing, AdminIntegrationListingsResponse, CreateAdminIntegrationListingRequest, IntegrationCategoriesResponse, IntegrationListing, IntegrationListingsResponse, IntegrationProduct, IntegrationProductsResponse, IntegrationsResponse, UpdateAdminIntegrationListingRequest } from '../models/index';
14
14
  export interface CreateAdminIntegrationListingOperationRequest {
15
15
  createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest;
16
16
  }
@@ -45,12 +45,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
45
45
  * Create a new integration listing
46
46
  * Create integration listing
47
47
  */
48
- createAdminIntegrationListingRaw(requestParameters: CreateAdminIntegrationListingOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListing>>;
48
+ createAdminIntegrationListingRaw(requestParameters: CreateAdminIntegrationListingOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListing>>;
49
49
  /**
50
50
  * Create a new integration listing
51
51
  * Create integration listing
52
52
  */
53
- createAdminIntegrationListing(createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
53
+ createAdminIntegrationListing(createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListing>;
54
54
  /**
55
55
  * Delete an integration listing
56
56
  * Delete integration listing
@@ -65,12 +65,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
65
65
  * Retrieves a specific integration listing by its slug.
66
66
  * Retrieve integration listing
67
67
  */
68
- getAdminIntegrationListingRaw(requestParameters: GetAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListing>>;
68
+ getAdminIntegrationListingRaw(requestParameters: GetAdminIntegrationListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListing>>;
69
69
  /**
70
70
  * Retrieves a specific integration listing by its slug.
71
71
  * Retrieve integration listing
72
72
  */
73
- getAdminIntegrationListing(listing: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListing>;
73
+ getAdminIntegrationListing(listing: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListing>;
74
74
  /**
75
75
  * List all integration categories
76
76
  * List integration categories
@@ -145,12 +145,12 @@ export declare class IntegrationsApi extends runtime.BaseAPI {
145
145
  * List all integration listings
146
146
  * List integration listings
147
147
  */
148
- listAdminIntegrationListingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntegrationListingsResponse>>;
148
+ listAdminIntegrationListingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminIntegrationListingsResponse>>;
149
149
  /**
150
150
  * List all integration listings
151
151
  * List integration listings
152
152
  */
153
- listAdminIntegrationListings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntegrationListingsResponse>;
153
+ listAdminIntegrationListings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminIntegrationListingsResponse>;
154
154
  /**
155
155
  * Update an integration listing
156
156
  * Update integration listing
@@ -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).
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { CreateAdminIntegrationListingRequestToJSON, IntegrationCategoriesResponseFromJSON, IntegrationListingFromJSON, IntegrationListingsResponseFromJSON, IntegrationProductFromJSON, IntegrationProductsResponseFromJSON, IntegrationsResponseFromJSON, UpdateAdminIntegrationListingRequestToJSON, } from '../models/index';
24
+ import { AdminIntegrationListingFromJSON, AdminIntegrationListingsResponseFromJSON, CreateAdminIntegrationListingRequestToJSON, IntegrationCategoriesResponseFromJSON, IntegrationListingFromJSON, IntegrationListingsResponseFromJSON, IntegrationProductFromJSON, IntegrationProductsResponseFromJSON, IntegrationsResponseFromJSON, UpdateAdminIntegrationListingRequestToJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -52,7 +52,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
52
52
  query: queryParameters,
53
53
  body: CreateAdminIntegrationListingRequestToJSON(requestParameters.createAdminIntegrationListingRequest),
54
54
  }, initOverrides);
55
- return new runtime.JSONApiResponse(response, (jsonValue) => IntegrationListingFromJSON(jsonValue));
55
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminIntegrationListingFromJSON(jsonValue));
56
56
  });
57
57
  }
58
58
  /**
@@ -129,7 +129,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
129
129
  headers: headerParameters,
130
130
  query: queryParameters,
131
131
  }, initOverrides);
132
- return new runtime.JSONApiResponse(response, (jsonValue) => IntegrationListingFromJSON(jsonValue));
132
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminIntegrationListingFromJSON(jsonValue));
133
133
  });
134
134
  }
135
135
  /**
@@ -426,7 +426,7 @@ export class IntegrationsApi extends runtime.BaseAPI {
426
426
  headers: headerParameters,
427
427
  query: queryParameters,
428
428
  }, initOverrides);
429
- return new runtime.JSONApiResponse(response, (jsonValue) => IntegrationListingsResponseFromJSON(jsonValue));
429
+ return new runtime.JSONApiResponse(response, (jsonValue) => AdminIntegrationListingsResponseFromJSON(jsonValue));
430
430
  });
431
431
  }
432
432
  /**
@@ -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,85 @@
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
+ import { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
15
+ import { IntegrationCategoryFromJSON, IntegrationCategoryToJSON, } from './IntegrationCategory';
16
+ import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, } from './IntegrationListingGradient';
17
+ import { IconFromJSON, IconToJSON, } from './Icon';
18
+ /**
19
+ * Check if a given object implements the AdminIntegrationListing interface.
20
+ */
21
+ export function instanceOfAdminIntegrationListing(value) {
22
+ if (!('slug' in value) || value['slug'] === undefined)
23
+ return false;
24
+ if (!('code' in value) || value['code'] === undefined)
25
+ return false;
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('description' in value) || value['description'] === undefined)
29
+ return false;
30
+ if (!('content' in value) || value['content'] === undefined)
31
+ return false;
32
+ if (!('author' in value) || value['author'] === undefined)
33
+ return false;
34
+ if (!('icon' in value) || value['icon'] === undefined)
35
+ return false;
36
+ if (!('gradient' in value) || value['gradient'] === undefined)
37
+ return false;
38
+ if (!('integration' in value) || value['integration'] === undefined)
39
+ return false;
40
+ if (!('dependencies' in value) || value['dependencies'] === undefined)
41
+ return false;
42
+ if (!('categories' in value) || value['categories'] === undefined)
43
+ return false;
44
+ return true;
45
+ }
46
+ export function AdminIntegrationListingFromJSON(json) {
47
+ return AdminIntegrationListingFromJSONTyped(json, false);
48
+ }
49
+ export function AdminIntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'id': json['id'] == null ? undefined : json['id'],
55
+ 'slug': json['slug'],
56
+ 'code': json['code'],
57
+ 'name': json['name'],
58
+ 'description': json['description'],
59
+ 'content': json['content'],
60
+ 'author': json['author'],
61
+ 'icon': IconFromJSON(json['icon']),
62
+ 'gradient': IntegrationListingGradientFromJSON(json['gradient']),
63
+ 'integration': IntegrationFromJSON(json['integration']),
64
+ 'dependencies': json['dependencies'],
65
+ 'categories': (json['categories'].map(IntegrationCategoryFromJSON)),
66
+ };
67
+ }
68
+ export function AdminIntegrationListingToJSON(value) {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'slug': value['slug'],
74
+ 'code': value['code'],
75
+ 'name': value['name'],
76
+ 'description': value['description'],
77
+ 'content': value['content'],
78
+ 'author': value['author'],
79
+ 'icon': IconToJSON(value['icon']),
80
+ 'gradient': IntegrationListingGradientToJSON(value['gradient']),
81
+ 'integration': IntegrationToJSON(value['integration']),
82
+ 'dependencies': value['dependencies'],
83
+ 'categories': (value['categories'].map(IntegrationCategoryToJSON)),
84
+ };
85
+ }
@@ -0,0 +1,32 @@
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 { AdminIntegrationListing } from './AdminIntegrationListing';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminIntegrationListingsResponse
17
+ */
18
+ export interface AdminIntegrationListingsResponse {
19
+ /**
20
+ *
21
+ * @type {Array<AdminIntegrationListing>}
22
+ * @memberof AdminIntegrationListingsResponse
23
+ */
24
+ listings: Array<AdminIntegrationListing>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AdminIntegrationListingsResponse interface.
28
+ */
29
+ export declare function instanceOfAdminIntegrationListingsResponse(value: object): value is AdminIntegrationListingsResponse;
30
+ export declare function AdminIntegrationListingsResponseFromJSON(json: any): AdminIntegrationListingsResponse;
31
+ export declare function AdminIntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminIntegrationListingsResponse;
32
+ export declare function AdminIntegrationListingsResponseToJSON(value?: AdminIntegrationListingsResponse | null): any;
@@ -0,0 +1,41 @@
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
+ import { AdminIntegrationListingFromJSON, AdminIntegrationListingToJSON, } from './AdminIntegrationListing';
15
+ /**
16
+ * Check if a given object implements the AdminIntegrationListingsResponse interface.
17
+ */
18
+ export function instanceOfAdminIntegrationListingsResponse(value) {
19
+ if (!('listings' in value) || value['listings'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function AdminIntegrationListingsResponseFromJSON(json) {
24
+ return AdminIntegrationListingsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function AdminIntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'listings': (json['listings'].map(AdminIntegrationListingFromJSON)),
32
+ };
33
+ }
34
+ export function AdminIntegrationListingsResponseToJSON(value) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'listings': (value['listings'].map(AdminIntegrationListingToJSON)),
40
+ };
41
+ }
@@ -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 CreateAdminIntegrationListingRequest {
34
34
  * @memberof CreateAdminIntegrationListingRequest
35
35
  */
36
36
  content: string;
37
+ /**
38
+ * The author of the integration listing
39
+ * @type {string}
40
+ * @memberof CreateAdminIntegrationListingRequest
41
+ */
42
+ author: string;
43
+ /**
44
+ * The code of the integration
45
+ * @type {string}
46
+ * @memberof CreateAdminIntegrationListingRequest
47
+ */
48
+ integration: 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 CreateAdminIntegrationListingRequest {
52
64
  * @memberof CreateAdminIntegrationListingRequest
53
65
  */
54
66
  icon: string;
67
+ /**
68
+ * The categories that this listing belongs to
69
+ * @type {Array<string>}
70
+ * @memberof CreateAdminIntegrationListingRequest
71
+ */
72
+ categories: Array<string>;
55
73
  }
56
74
  /**
57
75
  * Check if a given object implements the CreateAdminIntegrationListingRequest 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).
@@ -22,12 +22,18 @@ export function instanceOfCreateAdminIntegrationListingRequest(value) {
22
22
  return false;
23
23
  if (!('content' in value) || value['content'] === undefined)
24
24
  return false;
25
+ if (!('author' in value) || value['author'] === undefined)
26
+ return false;
27
+ if (!('integration' in value) || value['integration'] === undefined)
28
+ return false;
25
29
  if (!('slug' in value) || value['slug'] === undefined)
26
30
  return false;
27
31
  if (!('gradient' in value) || value['gradient'] === undefined)
28
32
  return false;
29
33
  if (!('icon' in value) || value['icon'] === undefined)
30
34
  return false;
35
+ if (!('categories' in value) || value['categories'] === undefined)
36
+ return false;
31
37
  return true;
32
38
  }
33
39
  export function CreateAdminIntegrationListingRequestFromJSON(json) {
@@ -41,9 +47,12 @@ export function CreateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDi
41
47
  'name': json['name'],
42
48
  'description': json['description'],
43
49
  'content': json['content'],
50
+ 'author': json['author'],
51
+ 'integration': json['integration'],
44
52
  'slug': json['slug'],
45
53
  'gradient': CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
46
54
  'icon': json['icon'],
55
+ 'categories': json['categories'],
47
56
  };
48
57
  }
49
58
  export function CreateAdminIntegrationListingRequestToJSON(value) {
@@ -54,8 +63,11 @@ export function CreateAdminIntegrationListingRequestToJSON(value) {
54
63
  'name': value['name'],
55
64
  'description': value['description'],
56
65
  'content': value['content'],
66
+ 'author': value['author'],
67
+ 'integration': value['integration'],
57
68
  'slug': value['slug'],
58
69
  'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
59
70
  'icon': value['icon'],
71
+ 'categories': value['categories'],
60
72
  };
61
73
  }
@@ -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 CreateAdminIntegrationListingRequestGradient {
27
27
  * @memberof CreateAdminIntegrationListingRequestGradient
28
28
  */
29
29
  to?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateAdminIntegrationListingRequestGradient
34
+ */
35
+ angle?: number;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the CreateAdminIntegrationListingRequestGradient 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 CreateAdminIntegrationListingRequestGradientFromJSONTyped(json,
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 CreateAdminIntegrationListingRequestGradientToJSON(value) {
@@ -36,5 +37,6 @@ export function CreateAdminIntegrationListingRequestGradientToJSON(value) {
36
37
  return {
37
38
  'from': value['from'],
38
39
  'to': value['to'],
40
+ 'angle': value['angle'],
39
41
  };
40
42
  }