@teemill/integrations 0.11.1 → 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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/dist/apis/IntegrationsApi.d.ts +8 -8
- package/dist/apis/IntegrationsApi.js +4 -4
- package/dist/esm/apis/IntegrationsApi.d.ts +8 -8
- package/dist/esm/apis/IntegrationsApi.js +5 -5
- package/dist/esm/models/AdminIntegrationListing.d.ts +101 -0
- package/dist/esm/models/AdminIntegrationListing.js +85 -0
- package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +32 -0
- package/dist/esm/models/AdminIntegrationListingsResponse.js +41 -0
- package/dist/esm/models/ApiError.d.ts +1 -1
- package/dist/esm/models/ApiError.js +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequest.js +1 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
- package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
- package/dist/esm/models/Icon.d.ts +43 -0
- package/dist/esm/models/Icon.js +48 -0
- package/dist/esm/models/Integration.d.ts +1 -1
- package/dist/esm/models/Integration.js +1 -1
- package/dist/esm/models/IntegrationCategoriesResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationCategoriesResponse.js +1 -1
- package/dist/esm/models/IntegrationCategory.d.ts +1 -1
- package/dist/esm/models/IntegrationCategory.js +1 -1
- package/dist/esm/models/IntegrationListing.d.ts +4 -3
- package/dist/esm/models/IntegrationListing.js +4 -3
- package/dist/esm/models/IntegrationListingGradient.d.ts +7 -1
- package/dist/esm/models/IntegrationListingGradient.js +3 -1
- package/dist/esm/models/IntegrationListingsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationListingsResponse.js +1 -1
- package/dist/esm/models/IntegrationProduct.d.ts +1 -1
- package/dist/esm/models/IntegrationProduct.js +1 -1
- package/dist/esm/models/IntegrationProductsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationProductsResponse.js +1 -1
- package/dist/esm/models/IntegrationsResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationsResponse.js +1 -1
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AdminIntegrationListing.d.ts +101 -0
- package/dist/models/AdminIntegrationListing.js +92 -0
- package/dist/models/AdminIntegrationListingsResponse.d.ts +32 -0
- package/dist/models/AdminIntegrationListingsResponse.js +48 -0
- package/dist/models/ApiError.d.ts +1 -1
- package/dist/models/ApiError.js +1 -1
- package/dist/models/CreateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/models/CreateAdminIntegrationListingRequest.js +1 -1
- package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +7 -1
- package/dist/models/CreateAdminIntegrationListingRequestGradient.js +3 -1
- package/dist/models/Icon.d.ts +43 -0
- package/dist/models/Icon.js +55 -0
- package/dist/models/Integration.d.ts +1 -1
- package/dist/models/Integration.js +1 -1
- package/dist/models/IntegrationCategoriesResponse.d.ts +1 -1
- package/dist/models/IntegrationCategoriesResponse.js +1 -1
- package/dist/models/IntegrationCategory.d.ts +1 -1
- package/dist/models/IntegrationCategory.js +1 -1
- package/dist/models/IntegrationListing.d.ts +4 -3
- package/dist/models/IntegrationListing.js +4 -3
- package/dist/models/IntegrationListingGradient.d.ts +7 -1
- package/dist/models/IntegrationListingGradient.js +3 -1
- package/dist/models/IntegrationListingsResponse.d.ts +1 -1
- package/dist/models/IntegrationListingsResponse.js +1 -1
- package/dist/models/IntegrationProduct.d.ts +1 -1
- package/dist/models/IntegrationProduct.js +1 -1
- package/dist/models/IntegrationProductsResponse.d.ts +1 -1
- package/dist/models/IntegrationProductsResponse.js +1 -1
- package/dist/models/IntegrationsResponse.d.ts +1 -1
- package/dist/models/IntegrationsResponse.js +1 -1
- package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +1 -1
- package/dist/models/UpdateAdminIntegrationListingRequest.js +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/IntegrationsApi.ts +16 -10
- package/src/models/AdminIntegrationListing.ts +183 -0
- package/src/models/AdminIntegrationListingsResponse.ts +68 -0
- package/src/models/ApiError.ts +1 -1
- package/src/models/CreateAdminIntegrationListingRequest.ts +1 -1
- package/src/models/CreateAdminIntegrationListingRequestGradient.ts +9 -1
- package/src/models/Icon.ts +79 -0
- package/src/models/Integration.ts +1 -1
- package/src/models/IntegrationCategoriesResponse.ts +1 -1
- package/src/models/IntegrationCategory.ts +1 -1
- package/src/models/IntegrationListing.ts +11 -5
- package/src/models/IntegrationListingGradient.ts +9 -1
- package/src/models/IntegrationListingsResponse.ts +1 -1
- package/src/models/IntegrationProduct.ts +1 -1
- package/src/models/IntegrationProductsResponse.ts +1 -1
- package/src/models/IntegrationsResponse.ts +1 -1
- package/src/models/UpdateAdminIntegrationListingRequest.ts +1 -1
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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.
|
|
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) =>
|
|
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) =>
|
|
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) =>
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
}
|
|
@@ -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;
|