yellowgrid-api-ts 3.2.101-dev.0 → 3.2.103-dev.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/.openapi-generator/FILES +28 -1
- package/README.md +60 -1
- package/api.ts +3441 -182
- package/dist/api.d.ts +2218 -157
- package/dist/api.js +3028 -235
- package/docs/AccountPageDetailsDTO.md +35 -0
- package/docs/AccountsApi.md +352 -4
- package/docs/AdminNumberPortDTO.md +4 -0
- package/docs/BatchDTO.md +59 -0
- package/docs/CreditNoteDTO.md +21 -0
- package/docs/CreditNoteEntity.md +29 -0
- package/docs/CreditNoteItemDTO.md +25 -0
- package/docs/CreditNoteItemEntity.md +29 -0
- package/docs/CreditNoteItemModel.md +29 -0
- package/docs/CreditNoteModel.md +31 -0
- package/docs/NumberPortingApi.md +60 -5
- package/docs/OAuth20Api.md +3 -3
- package/docs/OrderDetailsDTO.md +65 -0
- package/docs/OrderItemDTO.md +55 -0
- package/docs/OrderedItemModel.md +47 -0
- package/docs/OrdersApi.md +1325 -74
- package/docs/PatchUpdateAccountCnameRequest.md +20 -0
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PostAddOrderNoteRequest.md +20 -0
- package/docs/PostSplitOrderRequest.md +20 -0
- package/docs/PrinterEntity.md +29 -0
- package/docs/ProductsApi.md +58 -0
- package/docs/PutAllocateItemsRequest.md +20 -0
- package/docs/PutAllocateItemsRequestItemsInner.md +22 -0
- package/docs/SMSApi.md +56 -0
- package/docs/ShipmentDTO.md +41 -0
- package/docs/ShipmentItemDTO.md +23 -0
- package/docs/ShipmentItemEntity.md +1 -1
- package/docs/ShipmentItemModel.md +29 -0
- package/docs/ShipmentModel.md +43 -0
- package/docs/ShipmentRequestDTO.md +31 -0
- package/docs/ShippingRequestDTO.md +28 -0
- package/docs/SmsAccountDTO.md +31 -0
- package/docs/SmsAccountRequestDTO.md +29 -0
- package/docs/SupplierItemModel.md +35 -0
- package/docs/SupplierModel.md +37 -0
- package/docs/TcxSbcDTO.md +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PatchUpdateAccountCnameRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**cname** | **string** | CNAME | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PatchUpdateAccountCnameRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PatchUpdateAccountCnameRequest = {
|
|
16
|
+
cname,
|
|
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,20 @@
|
|
|
1
|
+
# PostAddAdminNoteRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**note** | **string** | Note | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostAddAdminNoteRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostAddAdminNoteRequest = {
|
|
16
|
+
note,
|
|
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,20 @@
|
|
|
1
|
+
# PostAddOrderNoteRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**note** | **string** | Order Note | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostAddOrderNoteRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostAddOrderNoteRequest = {
|
|
16
|
+
note,
|
|
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,20 @@
|
|
|
1
|
+
# PostSplitOrderRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**itemIds** | **Array<number>** | Item Ids | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostSplitOrderRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostSplitOrderRequest = {
|
|
16
|
+
itemIds,
|
|
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,29 @@
|
|
|
1
|
+
# PrinterEntity
|
|
2
|
+
|
|
3
|
+
PrintersEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**brand** | **string** | brand | [optional] [default to undefined]
|
|
11
|
+
**model** | **string** | model | [optional] [default to undefined]
|
|
12
|
+
**sn** | **string** | sn | [optional] [default to undefined]
|
|
13
|
+
**location** | **string** | location | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PrinterEntity } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: PrinterEntity = {
|
|
21
|
+
id,
|
|
22
|
+
brand,
|
|
23
|
+
model,
|
|
24
|
+
sn,
|
|
25
|
+
location,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[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/ProductsApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *https://localhost*
|
|
|
11
11
|
|[**getGetStockList**](#getgetstocklist) | **GET** /products/stock | Get Current Stock & Pricing|
|
|
12
12
|
|[**getGetTcxTemplates**](#getgettcxtemplates) | **GET** /products/attributes/tcx/templates | Get 3CX Templates|
|
|
13
13
|
|[**getSearchProducts**](#getsearchproducts) | **GET** /products/search | Search Products|
|
|
14
|
+
|[**patchAddQuantityToStock**](#patchaddquantitytostock) | **PATCH** /products/{sku}/stock/add | Add Item Quantity To Stock|
|
|
14
15
|
|[**postGetProduct**](#postgetproduct) | **POST** /products/{sku} | Get Product|
|
|
15
16
|
|[**postGetProductForCustomer**](#postgetproductforcustomer) | **POST** /admin/products/{sku} | Get Product For Customer|
|
|
16
17
|
|
|
@@ -363,6 +364,63 @@ No authorization required
|
|
|
363
364
|
|
|
364
365
|
[[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)
|
|
365
366
|
|
|
367
|
+
# **patchAddQuantityToStock**
|
|
368
|
+
> patchAddQuantityToStock()
|
|
369
|
+
|
|
370
|
+
Add Item Quantity To Stock
|
|
371
|
+
|
|
372
|
+
### Example
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
import {
|
|
376
|
+
ProductsApi,
|
|
377
|
+
Configuration
|
|
378
|
+
} from 'yellowgrid-api-ts';
|
|
379
|
+
|
|
380
|
+
const configuration = new Configuration();
|
|
381
|
+
const apiInstance = new ProductsApi(configuration);
|
|
382
|
+
|
|
383
|
+
let sku: string; //Product SKU (default to undefined)
|
|
384
|
+
let quantity: number; //Quantity (default to undefined)
|
|
385
|
+
|
|
386
|
+
const { status, data } = await apiInstance.patchAddQuantityToStock(
|
|
387
|
+
sku,
|
|
388
|
+
quantity
|
|
389
|
+
);
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Parameters
|
|
393
|
+
|
|
394
|
+
|Name | Type | Description | Notes|
|
|
395
|
+
|------------- | ------------- | ------------- | -------------|
|
|
396
|
+
| **sku** | [**string**] | Product SKU | defaults to undefined|
|
|
397
|
+
| **quantity** | [**number**] | Quantity | defaults to undefined|
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
### Return type
|
|
401
|
+
|
|
402
|
+
void (empty response body)
|
|
403
|
+
|
|
404
|
+
### Authorization
|
|
405
|
+
|
|
406
|
+
No authorization required
|
|
407
|
+
|
|
408
|
+
### HTTP request headers
|
|
409
|
+
|
|
410
|
+
- **Content-Type**: Not defined
|
|
411
|
+
- **Accept**: Not defined
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
### HTTP response details
|
|
415
|
+
| Status code | Description | Response headers |
|
|
416
|
+
|-------------|-------------|------------------|
|
|
417
|
+
|**200** | No Response | - |
|
|
418
|
+
|**400** | Bad Request | - |
|
|
419
|
+
|**401** | Unauthorised | - |
|
|
420
|
+
|**403** | Access Denied | - |
|
|
421
|
+
|
|
422
|
+
[[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)
|
|
423
|
+
|
|
366
424
|
# **postGetProduct**
|
|
367
425
|
> ProductSummaryDTO postGetProduct(postGetProductRequest)
|
|
368
426
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PutAllocateItemsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<PutAllocateItemsRequestItemsInner>**](PutAllocateItemsRequestItemsInner.md) | Items | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PutAllocateItemsRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PutAllocateItemsRequest = {
|
|
16
|
+
items,
|
|
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,22 @@
|
|
|
1
|
+
# PutAllocateItemsRequestItemsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**itemId** | **number** | Item ID | [optional] [default to undefined]
|
|
9
|
+
**quantity** | **number** | Quantity To Allocate | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PutAllocateItemsRequestItemsInner } from 'yellowgrid-api-ts';
|
|
15
|
+
|
|
16
|
+
const instance: PutAllocateItemsRequestItemsInner = {
|
|
17
|
+
itemId,
|
|
18
|
+
quantity,
|
|
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)
|
package/docs/SMSApi.md
CHANGED
|
@@ -4,8 +4,64 @@ All URIs are relative to *https://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**postCreateSmsAccount**](#postcreatesmsaccount) | **POST** /messaging/sms/account | Create SMS Account|
|
|
7
8
|
|[**postSendSms**](#postsendsms) | **POST** /messaging/sms/send | |
|
|
8
9
|
|
|
10
|
+
# **postCreateSmsAccount**
|
|
11
|
+
> SmsAccountDTO postCreateSmsAccount()
|
|
12
|
+
|
|
13
|
+
Create SMS Account
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
SMSApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
SmsAccountRequestDTO
|
|
22
|
+
} from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new SMSApi(configuration);
|
|
26
|
+
|
|
27
|
+
let smsAccountRequestDTO: SmsAccountRequestDTO; //SMS Account Request (optional)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.postCreateSmsAccount(
|
|
30
|
+
smsAccountRequestDTO
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **smsAccountRequestDTO** | **SmsAccountRequestDTO**| SMS Account Request | |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**SmsAccountDTO**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
No authorization required
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: application/json
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | SMS Account | - |
|
|
59
|
+
|**400** | Bad Request | - |
|
|
60
|
+
|**401** | Unauthorised | - |
|
|
61
|
+
|**403** | Access Denied | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
9
65
|
# **postSendSms**
|
|
10
66
|
> SmsDataModel postSendSms()
|
|
11
67
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# ShipmentDTO
|
|
2
|
+
|
|
3
|
+
Shipment
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**batchId** | **number** | Batch ID | [optional] [default to undefined]
|
|
11
|
+
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
12
|
+
**reference** | **string** | Courier Reference | [optional] [default to undefined]
|
|
13
|
+
**tracking** | **string** | Courier Tracking | [optional] [default to undefined]
|
|
14
|
+
**trackingUrl** | **string** | Courier Tracking URL | [optional] [default to undefined]
|
|
15
|
+
**requestedDate** | **string** | Date Time | [optional] [default to undefined]
|
|
16
|
+
**scannedItems** | [**Array<ScannedItemModel>**](ScannedItemModel.md) | Scanned Items | [optional] [default to undefined]
|
|
17
|
+
**items** | [**Array<ShipmentItemModel>**](ShipmentItemModel.md) | Items | [optional] [default to undefined]
|
|
18
|
+
**address** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
19
|
+
**boxes** | **number** | Boxes Shipped | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ShipmentDTO } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: ShipmentDTO = {
|
|
27
|
+
id,
|
|
28
|
+
batchId,
|
|
29
|
+
courier,
|
|
30
|
+
reference,
|
|
31
|
+
tracking,
|
|
32
|
+
trackingUrl,
|
|
33
|
+
requestedDate,
|
|
34
|
+
scannedItems,
|
|
35
|
+
items,
|
|
36
|
+
address,
|
|
37
|
+
boxes,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[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,23 @@
|
|
|
1
|
+
# ShipmentItemDTO
|
|
2
|
+
|
|
3
|
+
Shipment Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**itemId** | **number** | Item ID | [optional] [default to undefined]
|
|
10
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ShipmentItemDTO } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: ShipmentItemDTO = {
|
|
18
|
+
itemId,
|
|
19
|
+
quantity,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**shipmentId** | **number** | shipmentId | [optional] [default to undefined]
|
|
11
11
|
**batchId** | **number** | batchId | [optional] [default to undefined]
|
|
12
12
|
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
13
|
-
**itemId** | **
|
|
13
|
+
**itemId** | **number** | item | [optional] [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ShipmentItemModel
|
|
2
|
+
|
|
3
|
+
Shipment Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**shipmentId** | **number** | shipmentId | [optional] [default to undefined]
|
|
11
|
+
**batchId** | **number** | batchId | [optional] [default to undefined]
|
|
12
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
13
|
+
**itemId** | **number** | item | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ShipmentItemModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ShipmentItemModel = {
|
|
21
|
+
id,
|
|
22
|
+
shipmentId,
|
|
23
|
+
batchId,
|
|
24
|
+
quantity,
|
|
25
|
+
itemId,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[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,43 @@
|
|
|
1
|
+
# ShipmentModel
|
|
2
|
+
|
|
3
|
+
Shipment
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**batchId** | **number** | batchId | [optional] [default to undefined]
|
|
11
|
+
**courier** | **string** | courier | [optional] [default to undefined]
|
|
12
|
+
**courierService** | **string** | courierService | [optional] [default to undefined]
|
|
13
|
+
**courierServiceDesc** | **string** | courierServiceDesc | [optional] [default to undefined]
|
|
14
|
+
**courierReference** | **string** | courierReference | [optional] [default to undefined]
|
|
15
|
+
**courierTracking** | **string** | courierTracking | [optional] [default to undefined]
|
|
16
|
+
**courierBoxes** | **number** | courierBoxes | [optional] [default to undefined]
|
|
17
|
+
**scannedData** | **string** | mac | [optional] [default to undefined]
|
|
18
|
+
**dateShipped** | **string** | date | [optional] [default to undefined]
|
|
19
|
+
**requestDate** | **string** | requestDate | [optional] [default to undefined]
|
|
20
|
+
**provId** | **number** | provId | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { ShipmentModel } from 'yellowgrid-api-ts';
|
|
26
|
+
|
|
27
|
+
const instance: ShipmentModel = {
|
|
28
|
+
id,
|
|
29
|
+
batchId,
|
|
30
|
+
courier,
|
|
31
|
+
courierService,
|
|
32
|
+
courierServiceDesc,
|
|
33
|
+
courierReference,
|
|
34
|
+
courierTracking,
|
|
35
|
+
courierBoxes,
|
|
36
|
+
scannedData,
|
|
37
|
+
dateShipped,
|
|
38
|
+
requestDate,
|
|
39
|
+
provId,
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[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,31 @@
|
|
|
1
|
+
# ShipmentRequestDTO
|
|
2
|
+
|
|
3
|
+
Shipment Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
10
|
+
**address** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
11
|
+
**scannedLines** | **Array<string>** | Scanned Lines | [optional] [default to undefined]
|
|
12
|
+
**service** | **string** | Service | [optional] [default to undefined]
|
|
13
|
+
**shipDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
+
**items** | [**Array<ShipmentItemDTO>**](ShipmentItemDTO.md) | Items | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ShipmentRequestDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: ShipmentRequestDTO = {
|
|
22
|
+
courier,
|
|
23
|
+
address,
|
|
24
|
+
scannedLines,
|
|
25
|
+
service,
|
|
26
|
+
shipDate,
|
|
27
|
+
items,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,28 @@
|
|
|
1
|
+
# ShippingRequestDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
9
|
+
**service** | **string** | Courier Service | [optional] [default to undefined]
|
|
10
|
+
**boxes** | **number** | Boxes | [optional] [default to undefined]
|
|
11
|
+
**printer** | **number** | Printer | [optional] [default to undefined]
|
|
12
|
+
**shipment** | [**ShipmentRequestDTO**](ShipmentRequestDTO.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ShippingRequestDTO } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: ShippingRequestDTO = {
|
|
20
|
+
courier,
|
|
21
|
+
service,
|
|
22
|
+
boxes,
|
|
23
|
+
printer,
|
|
24
|
+
shipment,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,31 @@
|
|
|
1
|
+
# SmsAccountDTO
|
|
2
|
+
|
|
3
|
+
SMS Account
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sendUrl** | **string** | Send URL | [optional] [default to undefined]
|
|
10
|
+
**webhookUrl** | **string** | Webhook URL | [optional] [default to undefined]
|
|
11
|
+
**apiKey** | **string** | API Key | [optional] [default to undefined]
|
|
12
|
+
**numbers** | [**Array<SmsNumbersEntity>**](SmsNumbersEntity.md) | Numbers | [optional] [default to undefined]
|
|
13
|
+
**name** | **string** | Name | [optional] [default to undefined]
|
|
14
|
+
**whitelist** | [**Array<SmsWhitelistEntity>**](SmsWhitelistEntity.md) | Sender Whitelist | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SmsAccountDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: SmsAccountDTO = {
|
|
22
|
+
sendUrl,
|
|
23
|
+
webhookUrl,
|
|
24
|
+
apiKey,
|
|
25
|
+
numbers,
|
|
26
|
+
name,
|
|
27
|
+
whitelist,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,29 @@
|
|
|
1
|
+
# SmsAccountRequestDTO
|
|
2
|
+
|
|
3
|
+
SMS Account Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**provider** | **number** | SMS Provider | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Customer Name | [optional] [default to undefined]
|
|
11
|
+
**webhookUrl** | **string** | SMS Webhook | [optional] [default to undefined]
|
|
12
|
+
**iso** | **string** | Number Country | [optional] [default to undefined]
|
|
13
|
+
**type** | **string** | Number Type | [optional] [default to TypeEnum_Mobile]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SmsAccountRequestDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: SmsAccountRequestDTO = {
|
|
21
|
+
provider,
|
|
22
|
+
name,
|
|
23
|
+
webhookUrl,
|
|
24
|
+
iso,
|
|
25
|
+
type,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[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,35 @@
|
|
|
1
|
+
# SupplierItemModel
|
|
2
|
+
|
|
3
|
+
Supplier Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**itemOptions** | **string** | itemOptions | [optional] [default to undefined]
|
|
14
|
+
**itemPrice** | **number** | itemPrice | [optional] [default to undefined]
|
|
15
|
+
**itemType** | **number** | itemType | [optional] [default to undefined]
|
|
16
|
+
**supplierSku** | **string** | supplierSku | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { SupplierItemModel } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: SupplierItemModel = {
|
|
24
|
+
id,
|
|
25
|
+
supplierId,
|
|
26
|
+
sku,
|
|
27
|
+
title,
|
|
28
|
+
itemOptions,
|
|
29
|
+
itemPrice,
|
|
30
|
+
itemType,
|
|
31
|
+
supplierSku,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[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,37 @@
|
|
|
1
|
+
# SupplierModel
|
|
2
|
+
|
|
3
|
+
Supplier
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
11
|
+
**shortName** | **string** | nameShort | [optional] [default to undefined]
|
|
12
|
+
**email** | **string** | email | [optional] [default to undefined]
|
|
13
|
+
**phone** | **string** | phone | [optional] [default to undefined]
|
|
14
|
+
**defaultCourier** | **string** | defaultCourier | [optional] [default to undefined]
|
|
15
|
+
**defaultCarriage** | **number** | defaultCarriage | [optional] [default to undefined]
|
|
16
|
+
**accountNumber** | **string** | account | [optional] [default to undefined]
|
|
17
|
+
**xeroAccountNumber** | **string** | internalAccount | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { SupplierModel } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: SupplierModel = {
|
|
25
|
+
id,
|
|
26
|
+
name,
|
|
27
|
+
shortName,
|
|
28
|
+
email,
|
|
29
|
+
phone,
|
|
30
|
+
defaultCourier,
|
|
31
|
+
defaultCarriage,
|
|
32
|
+
accountNumber,
|
|
33
|
+
xeroAccountNumber,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[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/TcxSbcDTO.md
CHANGED
|
@@ -6,6 +6,7 @@ SBC Data
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
9
10
|
**ipAddress** | **string** | LAN IP Address | [optional] [default to undefined]
|
|
10
11
|
**defaultGateway** | **string** | LAN Default Gateway | [optional] [default to undefined]
|
|
11
12
|
**netmask** | **string** | LAN Subnet Mask | [optional] [default to undefined]
|
|
@@ -19,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
19
20
|
import { TcxSbcDTO } from 'yellowgrid-api-ts';
|
|
20
21
|
|
|
21
22
|
const instance: TcxSbcDTO = {
|
|
23
|
+
id,
|
|
22
24
|
ipAddress,
|
|
23
25
|
defaultGateway,
|
|
24
26
|
netmask,
|