yellowgrid-api-ts 3.2.77-dev.0 → 3.2.77
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 +239 -257
- package/.openapi-generator/VERSION +1 -1
- package/README.md +8 -38
- package/api.ts +552 -6719
- package/base.ts +2 -26
- package/common.ts +16 -39
- package/config.json +3 -3
- package/configuration.ts +25 -19
- package/dist/api.d.ts +243 -5742
- package/dist/api.js +510 -2068
- package/dist/base.d.ts +1 -25
- package/dist/base.js +2 -21
- package/dist/common.d.ts +5 -36
- package/dist/common.js +17 -39
- package/dist/configuration.d.ts +25 -18
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/PortStatusEnum.d.ts +5 -0
- package/dist/models/PortStatusEnum.js +5 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminNumberPortDTO.md +4 -0
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +61 -6
- package/docs/OAuth20Api.md +4 -4
- package/docs/OrdersApi.md +47 -945
- package/docs/{PostAddOrderNoteRequest.md → PostAddAdminNoteRequest.md} +4 -4
- package/docs/PricingApi.md +1 -1
- package/docs/ProductsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +57 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentItemEntity.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/SmsAccountDTO.md +31 -0
- package/docs/SmsAccountRequestDTO.md +29 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/PortStatusEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/dist/models/CourierEnum.d.ts +0 -18
- package/dist/models/CourierEnum.js +0 -20
- package/dist/models/PrinterEnum.d.ts +0 -18
- package/dist/models/PrinterEnum.js +0 -20
- package/docs/BatchDTO.md +0 -59
- package/docs/CreditNoteDTO.md +0 -21
- package/docs/CreditNoteEntity.md +0 -29
- package/docs/CreditNoteItemDTO.md +0 -25
- package/docs/CreditNoteItemEntity.md +0 -29
- package/docs/CreditNoteModel.md +0 -29
- package/docs/NumberPortModel.md +0 -51
- package/docs/OrderDetailsDTO.md +0 -63
- package/docs/OrderItemDTO.md +0 -55
- package/docs/OrderedItemModel.md +0 -47
- package/docs/PostSplitOrderRequest.md +0 -20
- package/docs/PrinterEntity.md +0 -29
- package/docs/PutAllocateItemsRequest.md +0 -20
- package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
- package/docs/ShipmentDTO.md +0 -35
- package/docs/ShipmentItemDTO.md +0 -23
- package/docs/ShipmentItemModel.md +0 -29
- package/docs/ShipmentModel.md +0 -43
- package/docs/ShipmentRequestDTO.md +0 -31
- package/docs/ShippingRequestDTO.md +0 -24
- package/docs/SupplierItemModel.md +0 -35
- package/docs/SupplierModel.md +0 -37
- package/docs/TelephonySupportTicketModel.md +0 -41
- package/hs_err_pid16044.log +0 -249
- package/hs_err_pid44560.log +0 -249
- package/hs_err_pid53988.log +0 -249
- package/hs_err_pid58728.log +0 -40
- package/models/CourierEnum.ts +0 -19
- package/models/PrinterEnum.ts +0 -19
package/docs/NumberPortModel.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# NumberPortModel
|
|
2
|
-
|
|
3
|
-
Number Port Model
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
10
|
-
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
11
|
-
**endUser** | **string** | End User | [optional] [default to undefined]
|
|
12
|
-
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
13
|
-
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
14
|
-
**city** | **string** | City | [optional] [default to undefined]
|
|
15
|
-
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
16
|
-
**trunkId** | **number** | Trunk ID | [optional] [default to undefined]
|
|
17
|
-
**tenantId** | **string** | Tenant ID | [optional] [default to undefined]
|
|
18
|
-
**requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
|
|
19
|
-
**portDate** | **string** | Port Date | [optional] [default to undefined]
|
|
20
|
-
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
21
|
-
**status** | **number** | Status | [optional] [default to undefined]
|
|
22
|
-
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
23
|
-
**ranges** | **Array<any>** | Number Port Ranges | [optional] [default to undefined]
|
|
24
|
-
**customerName** | **string** | Customer Company Name | [optional] [default to undefined]
|
|
25
|
-
|
|
26
|
-
## Example
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { NumberPortModel } from 'yellowgrid-api-ts';
|
|
30
|
-
|
|
31
|
-
const instance: NumberPortModel = {
|
|
32
|
-
id,
|
|
33
|
-
customerId,
|
|
34
|
-
endUser,
|
|
35
|
-
addressLine1,
|
|
36
|
-
addressLine2,
|
|
37
|
-
city,
|
|
38
|
-
postCode,
|
|
39
|
-
trunkId,
|
|
40
|
-
tenantId,
|
|
41
|
-
requestedPortDate,
|
|
42
|
-
portDate,
|
|
43
|
-
comment,
|
|
44
|
-
status,
|
|
45
|
-
ticketId,
|
|
46
|
-
ranges,
|
|
47
|
-
customerName,
|
|
48
|
-
};
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
[[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/OrderDetailsDTO.md
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# OrderDetailsDTO
|
|
2
|
-
|
|
3
|
-
Order Details
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
-
**reference** | **string** | Reference | [optional] [default to undefined]
|
|
11
|
-
**invoiceNumber** | **string** | Invoice Number | [optional] [default to undefined]
|
|
12
|
-
**invoiceId** | **string** | Invoice ID | [optional] [default to undefined]
|
|
13
|
-
**orderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
-
**paid** | **boolean** | Paid | [optional] [default to undefined]
|
|
15
|
-
**complete** | **boolean** | Complete | [optional] [default to undefined]
|
|
16
|
-
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
17
|
-
**customer** | [**AccountSummaryDTO**](AccountSummaryDTO.md) | | [optional] [default to undefined]
|
|
18
|
-
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
19
|
-
**items** | [**Array<ItemDTO>**](ItemDTO.md) | Items | [optional] [default to undefined]
|
|
20
|
-
**carriageCharge** | **number** | Carriage Charge | [optional] [default to undefined]
|
|
21
|
-
**fulfillable** | **boolean** | Fulfillable | [optional] [default to undefined]
|
|
22
|
-
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
23
|
-
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
24
|
-
**readonly** | **boolean** | Readonly | [optional] [default to undefined]
|
|
25
|
-
**detailedItems** | [**Array<OrderItemDTO>**](OrderItemDTO.md) | Detailed Items | [optional] [default to undefined]
|
|
26
|
-
**batches** | [**Array<BatchDTO>**](BatchDTO.md) | Batches | [optional] [default to undefined]
|
|
27
|
-
**logEntries** | [**Array<AuditLogEntity>**](AuditLogEntity.md) | Audit Log | [optional] [default to undefined]
|
|
28
|
-
**paymentLink** | **string** | Card Payment Link | [optional] [default to undefined]
|
|
29
|
-
**credits** | [**Array<CreditNoteModel>**](CreditNoteModel.md) | Credits | [optional] [default to undefined]
|
|
30
|
-
**customerEmail** | **string** | Customer Email | [optional] [default to undefined]
|
|
31
|
-
|
|
32
|
-
## Example
|
|
33
|
-
|
|
34
|
-
```typescript
|
|
35
|
-
import { OrderDetailsDTO } from 'yellowgrid-api-ts';
|
|
36
|
-
|
|
37
|
-
const instance: OrderDetailsDTO = {
|
|
38
|
-
id,
|
|
39
|
-
reference,
|
|
40
|
-
invoiceNumber,
|
|
41
|
-
invoiceId,
|
|
42
|
-
orderDate,
|
|
43
|
-
paid,
|
|
44
|
-
complete,
|
|
45
|
-
quote,
|
|
46
|
-
customer,
|
|
47
|
-
shippingAddress,
|
|
48
|
-
items,
|
|
49
|
-
carriageCharge,
|
|
50
|
-
fulfillable,
|
|
51
|
-
provisioningUrl,
|
|
52
|
-
shippingService,
|
|
53
|
-
readonly,
|
|
54
|
-
detailedItems,
|
|
55
|
-
batches,
|
|
56
|
-
logEntries,
|
|
57
|
-
paymentLink,
|
|
58
|
-
credits,
|
|
59
|
-
customerEmail,
|
|
60
|
-
};
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
[[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/OrderItemDTO.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# OrderItemDTO
|
|
2
|
-
|
|
3
|
-
Order Item Details
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
-
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
11
|
-
**id** | **number** | ID | [optional] [default to undefined]
|
|
12
|
-
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
13
|
-
**title** | **string** | Title | [optional] [default to undefined]
|
|
14
|
-
**price** | **number** | Price | [optional] [default to undefined]
|
|
15
|
-
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
16
|
-
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
|
-
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
|
-
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
19
|
-
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
20
|
-
**refunded** | **number** | Refunded | [optional] [default to undefined]
|
|
21
|
-
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCs | [optional] [default to undefined]
|
|
22
|
-
**readonly** | **boolean** | Readonly | [optional] [default to undefined]
|
|
23
|
-
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
24
|
-
**suppliers** | [**Array<SupplierModel>**](SupplierModel.md) | Suppliers | [optional] [default to undefined]
|
|
25
|
-
**supplierItems** | [**Array<SupplierItemModel>**](SupplierItemModel.md) | Supplier Items | [optional] [default to undefined]
|
|
26
|
-
**allocated** | **number** | Allocated | [optional] [default to undefined]
|
|
27
|
-
|
|
28
|
-
## Example
|
|
29
|
-
|
|
30
|
-
```typescript
|
|
31
|
-
import { OrderItemDTO } from 'yellowgrid-api-ts';
|
|
32
|
-
|
|
33
|
-
const instance: OrderItemDTO = {
|
|
34
|
-
sku,
|
|
35
|
-
quantity,
|
|
36
|
-
id,
|
|
37
|
-
orderId,
|
|
38
|
-
title,
|
|
39
|
-
price,
|
|
40
|
-
licenceKey,
|
|
41
|
-
licenceExpiry,
|
|
42
|
-
processDate,
|
|
43
|
-
hosting,
|
|
44
|
-
promoItem,
|
|
45
|
-
refunded,
|
|
46
|
-
sbcs,
|
|
47
|
-
readonly,
|
|
48
|
-
tcxSalesCode,
|
|
49
|
-
suppliers,
|
|
50
|
-
supplierItems,
|
|
51
|
-
allocated,
|
|
52
|
-
};
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
[[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/OrderedItemModel.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# OrderedItemModel
|
|
2
|
-
|
|
3
|
-
Ordered Item Model
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
-
**itemId** | **number** | itemId | [optional] [default to undefined]
|
|
11
|
-
**orderedQuantity** | **number** | orderedQuantity | [optional] [default to undefined]
|
|
12
|
-
**itemStatus** | **number** | itemStatus | [optional] [default to undefined]
|
|
13
|
-
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
14
|
-
**supplierItemId** | **number** | supplierItemId | [optional] [default to undefined]
|
|
15
|
-
**supplierPrice** | **number** | supplierPrice | [optional] [default to undefined]
|
|
16
|
-
**statusDate** | **string** | statusDate | [optional] [default to undefined]
|
|
17
|
-
**statusAuthor** | **number** | statusAuthor | [optional] [default to undefined]
|
|
18
|
-
**supplierPaid** | **number** | supplierPaid | [optional] [default to undefined]
|
|
19
|
-
**supplierCreditDue** | **number** | supplierCreditDue | [optional] [default to undefined]
|
|
20
|
-
**supplierCreditReceived** | **number** | supplierCreditReceived | [optional] [default to undefined]
|
|
21
|
-
**supplierSku** | **string** | supplierSku | [optional] [default to undefined]
|
|
22
|
-
**returnedStock** | **number** | returnedStock | [optional] [default to undefined]
|
|
23
|
-
|
|
24
|
-
## Example
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { OrderedItemModel } from 'yellowgrid-api-ts';
|
|
28
|
-
|
|
29
|
-
const instance: OrderedItemModel = {
|
|
30
|
-
id,
|
|
31
|
-
itemId,
|
|
32
|
-
orderedQuantity,
|
|
33
|
-
itemStatus,
|
|
34
|
-
supplierId,
|
|
35
|
-
supplierItemId,
|
|
36
|
-
supplierPrice,
|
|
37
|
-
statusDate,
|
|
38
|
-
statusAuthor,
|
|
39
|
-
supplierPaid,
|
|
40
|
-
supplierCreditDue,
|
|
41
|
-
supplierCreditReceived,
|
|
42
|
-
supplierSku,
|
|
43
|
-
returnedStock,
|
|
44
|
-
};
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
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)
|
package/docs/PrinterEntity.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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)
|
|
@@ -1,20 +0,0 @@
|
|
|
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)
|
|
@@ -1,22 +0,0 @@
|
|
|
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/ShipmentDTO.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
**requestedDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
-
**scannedItems** | [**Array<ScannedItemModel>**](ScannedItemModel.md) | Scanned Items | [optional] [default to undefined]
|
|
15
|
-
**items** | [**Array<ShipmentItemModel>**](ShipmentItemModel.md) | Items | [optional] [default to undefined]
|
|
16
|
-
**address** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { ShipmentDTO } from 'yellowgrid-api-ts';
|
|
22
|
-
|
|
23
|
-
const instance: ShipmentDTO = {
|
|
24
|
-
id,
|
|
25
|
-
batchId,
|
|
26
|
-
courier,
|
|
27
|
-
reference,
|
|
28
|
-
requestedDate,
|
|
29
|
-
scannedItems,
|
|
30
|
-
items,
|
|
31
|
-
address,
|
|
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)
|
package/docs/ShipmentItemDTO.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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)
|
|
@@ -1,29 +0,0 @@
|
|
|
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)
|
package/docs/ShipmentModel.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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)
|
|
@@ -1,31 +0,0 @@
|
|
|
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)
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { ShippingRequestDTO } from 'yellowgrid-api-ts';
|
|
16
|
-
|
|
17
|
-
const instance: ShippingRequestDTO = {
|
|
18
|
-
courier,
|
|
19
|
-
service,
|
|
20
|
-
boxes,
|
|
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)
|
|
@@ -1,35 +0,0 @@
|
|
|
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)
|
package/docs/SupplierModel.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
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)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# TelephonySupportTicketModel
|
|
2
|
-
|
|
3
|
-
Telephony Support Ticket
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Ticket ID | [optional] [default to undefined]
|
|
10
|
-
**status** | **string** | Ticket status | [optional] [default to undefined]
|
|
11
|
-
**statusId** | **number** | Ticket status ID | [optional] [default to undefined]
|
|
12
|
-
**subject** | **string** | Ticket subject | [optional] [default to undefined]
|
|
13
|
-
**supportEmail** | **string** | Support email address | [optional] [default to undefined]
|
|
14
|
-
**toEmails** | **Array<string>** | Recipient emails | [optional] [default to undefined]
|
|
15
|
-
**description** | **string** | Ticket description (HTML) | [optional] [default to undefined]
|
|
16
|
-
**descriptionText** | **string** | Ticket description (plain text) | [optional] [default to undefined]
|
|
17
|
-
**createdAt** | **string** | Creation timestamp | [optional] [default to undefined]
|
|
18
|
-
**attachments** | [**Array<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
|
|
19
|
-
**conversations** | [**Array<ConversationModel>**](ConversationModel.md) | Conversations | [optional] [default to undefined]
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { TelephonySupportTicketModel } from 'yellowgrid-api-ts';
|
|
25
|
-
|
|
26
|
-
const instance: TelephonySupportTicketModel = {
|
|
27
|
-
id,
|
|
28
|
-
status,
|
|
29
|
-
statusId,
|
|
30
|
-
subject,
|
|
31
|
-
supportEmail,
|
|
32
|
-
toEmails,
|
|
33
|
-
description,
|
|
34
|
-
descriptionText,
|
|
35
|
-
createdAt,
|
|
36
|
-
attachments,
|
|
37
|
-
conversations,
|
|
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)
|