@teemill/integrations 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -2
- package/api.ts +19 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11 -3
- package/dist/api.js +11 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +11 -3
- package/dist/esm/api.js +11 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminIntegrationListing.md +48 -0
- package/docs/AdminIntegrationListingsResponse.md +20 -0
- package/docs/ApiError.md +22 -0
- package/docs/CreateAdminIntegrationListingRequest.md +42 -0
- package/docs/CreateAdminIntegrationListingRequestGradient.md +25 -0
- package/docs/Icon.md +24 -0
- package/docs/Integration.md +26 -0
- package/docs/IntegrationCategoriesResponse.md +20 -0
- package/docs/IntegrationCategory.md +24 -0
- package/docs/IntegrationListing.md +46 -0
- package/docs/IntegrationListingGradient.md +25 -0
- package/docs/IntegrationListingsResponse.md +20 -0
- package/docs/IntegrationProduct.md +30 -0
- package/docs/IntegrationProductsResponse.md +20 -0
- package/docs/IntegrationsApi.md +665 -0
- package/docs/IntegrationsResponse.md +20 -0
- package/docs/UpdateAdminIntegrationListingRequest.md +42 -0
- package/docs/UpdateAdminIntegrationListingRequestGradient.md +25 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/docs/ApiError.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ApiError
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ApiError } from '@teemill/integrations';
|
|
15
|
+
|
|
16
|
+
const instance: ApiError = {
|
|
17
|
+
code,
|
|
18
|
+
message,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# CreateAdminIntegrationListingRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | The name of the integration listing | [default to undefined]
|
|
9
|
+
**description** | **string** | The description of the integration listing | [default to undefined]
|
|
10
|
+
**content** | **string** | The html content of the integration listing | [default to undefined]
|
|
11
|
+
**pricing** | **string** | The html content of the pricing information | [optional] [default to undefined]
|
|
12
|
+
**author** | **string** | The author of the integration listing | [default to undefined]
|
|
13
|
+
**integration** | **string** | The code of the integration | [default to undefined]
|
|
14
|
+
**slug** | **string** | The slug of the integration listing that is used in the URL | [default to undefined]
|
|
15
|
+
**gradient** | [**CreateAdminIntegrationListingRequestGradient**](CreateAdminIntegrationListingRequestGradient.md) | | [default to undefined]
|
|
16
|
+
**icon** | **string** | The icon of the integration listing | [default to undefined]
|
|
17
|
+
**categories** | **Array<string>** | The categories that this listing belongs to | [default to undefined]
|
|
18
|
+
**menuTitle** | **string** | The string identifier displayed in the UI menu | [optional] [default to undefined]
|
|
19
|
+
**menuSortOrder** | **number** | The order of the listing in the UI menu | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { CreateAdminIntegrationListingRequest } from '@teemill/integrations';
|
|
25
|
+
|
|
26
|
+
const instance: CreateAdminIntegrationListingRequest = {
|
|
27
|
+
name,
|
|
28
|
+
description,
|
|
29
|
+
content,
|
|
30
|
+
pricing,
|
|
31
|
+
author,
|
|
32
|
+
integration,
|
|
33
|
+
slug,
|
|
34
|
+
gradient,
|
|
35
|
+
icon,
|
|
36
|
+
categories,
|
|
37
|
+
menuTitle,
|
|
38
|
+
menuSortOrder,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# CreateAdminIntegrationListingRequestGradient
|
|
2
|
+
|
|
3
|
+
The gradient that is used to display the listing
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**from** | **string** | | [default to undefined]
|
|
10
|
+
**to** | **string** | | [default to undefined]
|
|
11
|
+
**angle** | **number** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CreateAdminIntegrationListingRequestGradient } from '@teemill/integrations';
|
|
17
|
+
|
|
18
|
+
const instance: CreateAdminIntegrationListingRequestGradient = {
|
|
19
|
+
from,
|
|
20
|
+
to,
|
|
21
|
+
angle,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Icon.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Icon
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**prefix** | **string** | | [default to undefined]
|
|
9
|
+
**iconName** | **string** | | [default to undefined]
|
|
10
|
+
**icon** | **Array<any>** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Icon } from '@teemill/integrations';
|
|
16
|
+
|
|
17
|
+
const instance: Icon = {
|
|
18
|
+
prefix,
|
|
19
|
+
iconName,
|
|
20
|
+
icon,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Integration
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [readonly] [default to undefined]
|
|
9
|
+
**code** | **string** | The code of the integration | [optional] [default to undefined]
|
|
10
|
+
**config** | **{ [key: string]: string; }** | The configuration of the integration | [optional] [default to undefined]
|
|
11
|
+
**icon** | **any** | The icon of the integration | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { Integration } from '@teemill/integrations';
|
|
17
|
+
|
|
18
|
+
const instance: Integration = {
|
|
19
|
+
id,
|
|
20
|
+
code,
|
|
21
|
+
config,
|
|
22
|
+
icon,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# IntegrationCategoriesResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**categories** | [**Array<IntegrationCategory>**](IntegrationCategory.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { IntegrationCategoriesResponse } from '@teemill/integrations';
|
|
14
|
+
|
|
15
|
+
const instance: IntegrationCategoriesResponse = {
|
|
16
|
+
categories,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# IntegrationCategory
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | The name of the category | [default to undefined]
|
|
9
|
+
**slug** | **string** | The slug of the category that is used in the URL | [default to undefined]
|
|
10
|
+
**type** | **string** | The type of category, used to determine how it is displayed | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { IntegrationCategory } from '@teemill/integrations';
|
|
16
|
+
|
|
17
|
+
const instance: IntegrationCategory = {
|
|
18
|
+
name,
|
|
19
|
+
slug,
|
|
20
|
+
type,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# IntegrationListing
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [readonly] [default to undefined]
|
|
9
|
+
**slug** | **string** | The slug of the integration listing that is used in the URL | [default to undefined]
|
|
10
|
+
**code** | **string** | The code of the integration | [default to undefined]
|
|
11
|
+
**name** | **string** | The name of the integration listing | [default to undefined]
|
|
12
|
+
**description** | **string** | The description of the integration listing | [default to undefined]
|
|
13
|
+
**content** | **string** | The html content of the integration listing | [default to undefined]
|
|
14
|
+
**pricing** | **string** | The html content of the pricing information | [optional] [default to undefined]
|
|
15
|
+
**author** | **string** | The author of the integration listing | [default to undefined]
|
|
16
|
+
**icon** | [**Icon**](Icon.md) | | [default to undefined]
|
|
17
|
+
**gradient** | [**IntegrationListingGradient**](IntegrationListingGradient.md) | | [default to undefined]
|
|
18
|
+
**dependencies** | **Array<string>** | The dependencies that this integration listing requires | [default to undefined]
|
|
19
|
+
**categories** | [**Array<IntegrationCategory>**](IntegrationCategory.md) | The categories that this listing belongs to | [default to undefined]
|
|
20
|
+
**menuTitle** | **string** | The string identifier displayed in the UI menu | [optional] [default to undefined]
|
|
21
|
+
**menuSortOrder** | **number** | The order of the listing in the UI menu | [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { IntegrationListing } from '@teemill/integrations';
|
|
27
|
+
|
|
28
|
+
const instance: IntegrationListing = {
|
|
29
|
+
id,
|
|
30
|
+
slug,
|
|
31
|
+
code,
|
|
32
|
+
name,
|
|
33
|
+
description,
|
|
34
|
+
content,
|
|
35
|
+
pricing,
|
|
36
|
+
author,
|
|
37
|
+
icon,
|
|
38
|
+
gradient,
|
|
39
|
+
dependencies,
|
|
40
|
+
categories,
|
|
41
|
+
menuTitle,
|
|
42
|
+
menuSortOrder,
|
|
43
|
+
};
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# IntegrationListingGradient
|
|
2
|
+
|
|
3
|
+
The gradient that is used to display the listing
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**from** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**to** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**angle** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { IntegrationListingGradient } from '@teemill/integrations';
|
|
17
|
+
|
|
18
|
+
const instance: IntegrationListingGradient = {
|
|
19
|
+
from,
|
|
20
|
+
to,
|
|
21
|
+
angle,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# IntegrationListingsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**listings** | [**Array<IntegrationListing>**](IntegrationListing.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { IntegrationListingsResponse } from '@teemill/integrations';
|
|
14
|
+
|
|
15
|
+
const instance: IntegrationListingsResponse = {
|
|
16
|
+
listings,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# IntegrationProduct
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | The ID of the product | [optional] [readonly] [default to undefined]
|
|
9
|
+
**sku** | **string** | The SKU of the product | [default to undefined]
|
|
10
|
+
**name** | **string** | The name of the product | [default to undefined]
|
|
11
|
+
**slug** | **string** | The slug of the product that is used in the URL | [default to undefined]
|
|
12
|
+
**description** | **string** | The user facing description of the product | [default to undefined]
|
|
13
|
+
**price** | **number** | The price of the product in GBP | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { IntegrationProduct } from '@teemill/integrations';
|
|
19
|
+
|
|
20
|
+
const instance: IntegrationProduct = {
|
|
21
|
+
id,
|
|
22
|
+
sku,
|
|
23
|
+
name,
|
|
24
|
+
slug,
|
|
25
|
+
description,
|
|
26
|
+
price,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# IntegrationProductsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**products** | [**Array<IntegrationProduct>**](IntegrationProduct.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { IntegrationProductsResponse } from '@teemill/integrations';
|
|
14
|
+
|
|
15
|
+
const instance: IntegrationProductsResponse = {
|
|
16
|
+
products,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|