@teemill/platform 0.14.4 → 0.16.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 +94 -2
- package/api.ts +571 -893
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +460 -903
- package/dist/api.js +296 -164
- 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 +460 -903
- package/dist/esm/api.js +291 -155
- 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/Address.md +35 -0
- package/docs/ApiError.md +22 -0
- package/docs/AuthorizeStripe200Response.md +20 -0
- package/docs/ContactInformation.md +23 -0
- package/docs/Customer.md +33 -0
- package/docs/CustomersApi.md +229 -0
- package/docs/CustomersResponse.md +22 -0
- package/docs/DeliveryEstimates.md +22 -0
- package/docs/ExportOrders202Response.md +20 -0
- package/docs/Fulfiller.md +23 -0
- package/docs/FulfillerLocation.md +22 -0
- package/docs/FulfillersResponse.md +22 -0
- package/docs/Fulfillment.md +34 -0
- package/docs/FulfillmentItem.md +24 -0
- package/docs/Image.md +27 -0
- package/docs/ModerateReviewRequest.md +20 -0
- package/docs/Option.md +22 -0
- package/docs/Order.md +54 -0
- package/docs/OrderItem.md +42 -0
- package/docs/OrderStatus.md +16 -0
- package/docs/OrderTracking.md +24 -0
- package/docs/OrdersApi.md +410 -0
- package/docs/OrdersResponse.md +22 -0
- package/docs/Origin.md +22 -0
- package/docs/PaymentAccount.md +24 -0
- package/docs/PaymentApi.md +178 -0
- package/docs/Platform.md +38 -0
- package/docs/PlatformApi.md +122 -0
- package/docs/PlatformLogo.md +22 -0
- package/docs/Price.md +23 -0
- package/docs/Project.md +22 -0
- package/docs/Review.md +40 -0
- package/docs/ReviewAuthor.md +22 -0
- package/docs/ReviewImagesInner.md +22 -0
- package/docs/ReviewProduct.md +23 -0
- package/docs/ReviewReply.md +26 -0
- package/docs/ReviewReplyAuthor.md +20 -0
- package/docs/ReviewsApi.md +278 -0
- package/docs/ReviewsResponse.md +22 -0
- package/docs/ShippingMethod.md +34 -0
- package/docs/Statistics.md +24 -0
- package/docs/StatusHistoryItem.md +22 -0
- package/docs/UpdateFulfillmentRequest.md +20 -0
- package/docs/UpdatePlatformRequest.md +32 -0
- package/docs/ValidationError.md +20 -0
- package/docs/Variant.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
# ReviewsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**exportReviews**](#exportreviews) | **GET** /v1/platform/{platformId}/reviews/export | Export reviews|
|
|
8
|
+
|[**getReview**](#getreview) | **GET** /v1/platform/{platformId}/reviews/{reviewId} | Get review|
|
|
9
|
+
|[**listReviews**](#listreviews) | **GET** /v1/platform/{platformId}/reviews | List reviews|
|
|
10
|
+
|[**moderateReview**](#moderatereview) | **PATCH** /v1/platform/{platformId}/reviews/{reviewId}/moderate | Moderate review|
|
|
11
|
+
|
|
12
|
+
# **exportReviews**
|
|
13
|
+
> File exportReviews()
|
|
14
|
+
|
|
15
|
+
Export reviews as a CSV file.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
ReviewsApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@teemill/platform';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new ReviewsApi(configuration);
|
|
27
|
+
|
|
28
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
29
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
30
|
+
let start: string; //Start of date range to filter by (default to undefined)
|
|
31
|
+
let end: string; //End of date range to filter by (optional) (default to undefined)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.exportReviews(
|
|
34
|
+
project,
|
|
35
|
+
platformId,
|
|
36
|
+
start,
|
|
37
|
+
end
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
46
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
47
|
+
| **start** | [**string**] | Start of date range to filter by | defaults to undefined|
|
|
48
|
+
| **end** | [**string**] | End of date range to filter by | (optional) defaults to undefined|
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**File**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: text/csv; charset=utf-8, application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | Returns the CSV export | - |
|
|
69
|
+
|**202** | Export started. When complete, the export will be available for download from a notification within PodOS Dashboard. | - |
|
|
70
|
+
|**400** | Failed validation | - |
|
|
71
|
+
|**401** | Not authorised to access this resource | - |
|
|
72
|
+
|**403** | Refuse to authorize | - |
|
|
73
|
+
|**500** | Unknown server error | - |
|
|
74
|
+
|
|
75
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
76
|
+
|
|
77
|
+
# **getReview**
|
|
78
|
+
> Review getReview()
|
|
79
|
+
|
|
80
|
+
Get a review left on a platform by a given review ID.
|
|
81
|
+
|
|
82
|
+
### Example
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
import {
|
|
86
|
+
ReviewsApi,
|
|
87
|
+
Configuration
|
|
88
|
+
} from '@teemill/platform';
|
|
89
|
+
|
|
90
|
+
const configuration = new Configuration();
|
|
91
|
+
const apiInstance = new ReviewsApi(configuration);
|
|
92
|
+
|
|
93
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
94
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
95
|
+
let reviewId: string; //The review identifier (default to undefined)
|
|
96
|
+
|
|
97
|
+
const { status, data } = await apiInstance.getReview(
|
|
98
|
+
project,
|
|
99
|
+
platformId,
|
|
100
|
+
reviewId
|
|
101
|
+
);
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
|Name | Type | Description | Notes|
|
|
107
|
+
|------------- | ------------- | ------------- | -------------|
|
|
108
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
109
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
110
|
+
| **reviewId** | [**string**] | The review identifier | defaults to undefined|
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Return type
|
|
114
|
+
|
|
115
|
+
**Review**
|
|
116
|
+
|
|
117
|
+
### Authorization
|
|
118
|
+
|
|
119
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
120
|
+
|
|
121
|
+
### HTTP request headers
|
|
122
|
+
|
|
123
|
+
- **Content-Type**: Not defined
|
|
124
|
+
- **Accept**: application/json
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### HTTP response details
|
|
128
|
+
| Status code | Description | Response headers |
|
|
129
|
+
|-------------|-------------|------------------|
|
|
130
|
+
|**200** | Successfully retrieved a review. | - |
|
|
131
|
+
|**401** | Not authorised to access this resource | - |
|
|
132
|
+
|**403** | Refuse to authorize | - |
|
|
133
|
+
|**404** | Resource not found | - |
|
|
134
|
+
|**500** | Unknown server error | - |
|
|
135
|
+
|
|
136
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
137
|
+
|
|
138
|
+
# **listReviews**
|
|
139
|
+
> ReviewsResponse listReviews()
|
|
140
|
+
|
|
141
|
+
List reviews left on projects belonging to this platform, paginated into configurable chunks.
|
|
142
|
+
|
|
143
|
+
### Example
|
|
144
|
+
|
|
145
|
+
```typescript
|
|
146
|
+
import {
|
|
147
|
+
ReviewsApi,
|
|
148
|
+
Configuration
|
|
149
|
+
} from '@teemill/platform';
|
|
150
|
+
|
|
151
|
+
const configuration = new Configuration();
|
|
152
|
+
const apiInstance = new ReviewsApi(configuration);
|
|
153
|
+
|
|
154
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
155
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
156
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
157
|
+
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
158
|
+
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
159
|
+
let sortBy: Array<string>; //An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. (optional) (default to undefined)
|
|
160
|
+
let start: string; //Start of date range to filter by (optional) (default to undefined)
|
|
161
|
+
let end: string; //End of date range to filter by (optional) (default to undefined)
|
|
162
|
+
|
|
163
|
+
const { status, data } = await apiInstance.listReviews(
|
|
164
|
+
project,
|
|
165
|
+
platformId,
|
|
166
|
+
pageToken,
|
|
167
|
+
pageSize,
|
|
168
|
+
search,
|
|
169
|
+
sortBy,
|
|
170
|
+
start,
|
|
171
|
+
end
|
|
172
|
+
);
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Parameters
|
|
176
|
+
|
|
177
|
+
|Name | Type | Description | Notes|
|
|
178
|
+
|------------- | ------------- | ------------- | -------------|
|
|
179
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
180
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
181
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
182
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
183
|
+
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
184
|
+
| **sortBy** | **Array<string>** | An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. | (optional) defaults to undefined|
|
|
185
|
+
| **start** | [**string**] | Start of date range to filter by | (optional) defaults to undefined|
|
|
186
|
+
| **end** | [**string**] | End of date range to filter by | (optional) defaults to undefined|
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Return type
|
|
190
|
+
|
|
191
|
+
**ReviewsResponse**
|
|
192
|
+
|
|
193
|
+
### Authorization
|
|
194
|
+
|
|
195
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
196
|
+
|
|
197
|
+
### HTTP request headers
|
|
198
|
+
|
|
199
|
+
- **Content-Type**: Not defined
|
|
200
|
+
- **Accept**: application/json
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### HTTP response details
|
|
204
|
+
| Status code | Description | Response headers |
|
|
205
|
+
|-------------|-------------|------------------|
|
|
206
|
+
|**200** | Successfully retrieved all reviews. | - |
|
|
207
|
+
|**401** | Not authorised to access this resource | - |
|
|
208
|
+
|**403** | Refuse to authorize | - |
|
|
209
|
+
|**500** | Unknown server error | - |
|
|
210
|
+
|
|
211
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
212
|
+
|
|
213
|
+
# **moderateReview**
|
|
214
|
+
> Review moderateReview()
|
|
215
|
+
|
|
216
|
+
Moderate a review left on a platform.
|
|
217
|
+
|
|
218
|
+
### Example
|
|
219
|
+
|
|
220
|
+
```typescript
|
|
221
|
+
import {
|
|
222
|
+
ReviewsApi,
|
|
223
|
+
Configuration,
|
|
224
|
+
ModerateReviewRequest
|
|
225
|
+
} from '@teemill/platform';
|
|
226
|
+
|
|
227
|
+
const configuration = new Configuration();
|
|
228
|
+
const apiInstance = new ReviewsApi(configuration);
|
|
229
|
+
|
|
230
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
231
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
232
|
+
let reviewId: string; //The review identifier (default to undefined)
|
|
233
|
+
let moderateReviewRequest: ModerateReviewRequest; // (optional)
|
|
234
|
+
|
|
235
|
+
const { status, data } = await apiInstance.moderateReview(
|
|
236
|
+
project,
|
|
237
|
+
platformId,
|
|
238
|
+
reviewId,
|
|
239
|
+
moderateReviewRequest
|
|
240
|
+
);
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Parameters
|
|
244
|
+
|
|
245
|
+
|Name | Type | Description | Notes|
|
|
246
|
+
|------------- | ------------- | ------------- | -------------|
|
|
247
|
+
| **moderateReviewRequest** | **ModerateReviewRequest**| | |
|
|
248
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
249
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
250
|
+
| **reviewId** | [**string**] | The review identifier | defaults to undefined|
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
### Return type
|
|
254
|
+
|
|
255
|
+
**Review**
|
|
256
|
+
|
|
257
|
+
### Authorization
|
|
258
|
+
|
|
259
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
260
|
+
|
|
261
|
+
### HTTP request headers
|
|
262
|
+
|
|
263
|
+
- **Content-Type**: application/json
|
|
264
|
+
- **Accept**: application/json
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### HTTP response details
|
|
268
|
+
| Status code | Description | Response headers |
|
|
269
|
+
|-------------|-------------|------------------|
|
|
270
|
+
|**200** | Successfully retrieved a review. | - |
|
|
271
|
+
|**400** | Failed validation | - |
|
|
272
|
+
|**401** | Not authorised to access this resource | - |
|
|
273
|
+
|**403** | Refuse to authorize | - |
|
|
274
|
+
|**404** | Resource not found | - |
|
|
275
|
+
|**500** | Unknown server error | - |
|
|
276
|
+
|
|
277
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
278
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ReviewsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**reviews** | [**Array<Review>**](Review.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | The token referencing the next page number | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ReviewsResponse } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: ReviewsResponse = {
|
|
17
|
+
reviews,
|
|
18
|
+
nextPageToken,
|
|
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,34 @@
|
|
|
1
|
+
# ShippingMethod
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**deliveryEstimates** | [**DeliveryEstimates**](DeliveryEstimates.md) | | [optional] [default to undefined]
|
|
12
|
+
**totalPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
13
|
+
**taxPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
14
|
+
**subtotalPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
15
|
+
**discountPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { ShippingMethod } from '@teemill/platform';
|
|
21
|
+
|
|
22
|
+
const instance: ShippingMethod = {
|
|
23
|
+
id,
|
|
24
|
+
name,
|
|
25
|
+
description,
|
|
26
|
+
deliveryEstimates,
|
|
27
|
+
totalPrice,
|
|
28
|
+
taxPrice,
|
|
29
|
+
subtotalPrice,
|
|
30
|
+
discountPrice,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[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
|
+
# Statistics
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**lifetimeValue** | **number** | | [default to undefined]
|
|
9
|
+
**totalOrderCount** | **number** | | [default to undefined]
|
|
10
|
+
**lastPurchased** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Statistics } from '@teemill/platform';
|
|
16
|
+
|
|
17
|
+
const instance: Statistics = {
|
|
18
|
+
lifetimeValue,
|
|
19
|
+
totalOrderCount,
|
|
20
|
+
lastPurchased,
|
|
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,22 @@
|
|
|
1
|
+
# StatusHistoryItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | [**OrderStatus**](OrderStatus.md) | | [optional] [default to undefined]
|
|
9
|
+
**createdAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { StatusHistoryItem } from '@teemill/platform';
|
|
15
|
+
|
|
16
|
+
const instance: StatusHistoryItem = {
|
|
17
|
+
status,
|
|
18
|
+
createdAt,
|
|
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,20 @@
|
|
|
1
|
+
# UpdateFulfillmentRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**fulfillerId** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { UpdateFulfillmentRequest } from '@teemill/platform';
|
|
14
|
+
|
|
15
|
+
const instance: UpdateFulfillmentRequest = {
|
|
16
|
+
fulfillerId,
|
|
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,32 @@
|
|
|
1
|
+
# UpdatePlatformRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**logos** | [**Array<PlatformLogo>**](PlatformLogo.md) | | [optional] [default to undefined]
|
|
9
|
+
**favicon** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**clientGiftWrapAvailable** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**storeSubscriptionFee** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**orderHandlingFee** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**itemHandlingFee** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**chargeClients** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { UpdatePlatformRequest } from '@teemill/platform';
|
|
20
|
+
|
|
21
|
+
const instance: UpdatePlatformRequest = {
|
|
22
|
+
logos,
|
|
23
|
+
favicon,
|
|
24
|
+
clientGiftWrapAvailable,
|
|
25
|
+
storeSubscriptionFee,
|
|
26
|
+
orderHandlingFee,
|
|
27
|
+
itemHandlingFee,
|
|
28
|
+
chargeClients,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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
|
+
# ValidationError
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ValidationError } from '@teemill/platform';
|
|
14
|
+
|
|
15
|
+
const instance: ValidationError = {
|
|
16
|
+
message,
|
|
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)
|
package/docs/Variant.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Variant
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**ref** | **string** | A reference to the resource location | [default to undefined]
|
|
10
|
+
**warehouseVariantRef** | **string** | A reference to the resource location | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Variant } from '@teemill/platform';
|
|
16
|
+
|
|
17
|
+
const instance: Variant = {
|
|
18
|
+
id,
|
|
19
|
+
ref,
|
|
20
|
+
warehouseVariantRef,
|
|
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)
|
package/index.ts
CHANGED