yellowgrid-api-ts 3.1.15 → 3.1.17-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 +218 -198
- package/README.md +39 -8
- package/api.ts +2183 -289
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1609 -174
- package/dist/api.js +1248 -215
- 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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractOrderRequestDTO.md +33 -0
- package/docs/AccountDetailedSummaryDTO.md +39 -0
- package/docs/AccountsApi.md +103 -0
- package/docs/AddressModel.md +2 -0
- package/docs/AdminItemRequestDTO.md +43 -0
- package/docs/AdminOrderRequestDTO.md +45 -0
- package/docs/AdminUserModel.md +29 -0
- package/docs/AuditLogEntity.md +37 -0
- package/docs/BasicItemDTO.md +23 -0
- package/docs/BasicProductDTO.md +23 -0
- package/docs/Class3CXApi.md +0 -55
- package/docs/ClientDetailsModel.md +0 -2
- package/docs/CourierPriceEntity.md +39 -0
- package/docs/CustomerItemRequestDTO.md +37 -0
- package/docs/CustomerOrderRequestDTO.md +33 -0
- package/docs/DetailedItemRequestDTO.md +43 -0
- package/docs/DetailedOrderRequestDTO.md +33 -0
- package/docs/ItemDTO.md +12 -4
- package/docs/ItemDiscountEntity.md +33 -0
- package/docs/ItemEntity.md +4 -2
- package/docs/LinkedOrderEntity.md +23 -0
- package/docs/OrderSummaryDTO.md +8 -0
- package/docs/OrderTotalModel.md +2 -0
- package/docs/OrdersApi.md +359 -7
- package/docs/PostGetProductForCustomerRequest.md +24 -0
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +7 -3
- package/docs/ProductsApi.md +164 -43
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/ShippingApi.md +122 -0
- package/docs/ShippingConsignmentModel.md +26 -0
- package/docs/ShippingInformationDTO.md +25 -0
- package/docs/ShippingServiceDTO.md +23 -0
- package/docs/ShippingServiceModel.md +31 -0
- package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcDTO.md +31 -0
- package/docs/TcxSbcModel.md +1 -1
- package/docs/UserEntity.md +4 -0
- package/hs_err_pid58424.log +247 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# CustomerItemRequestDTO
|
|
2
|
+
|
|
3
|
+
Order Item Request
|
|
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
|
+
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
13
|
+
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
14
|
+
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
15
|
+
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
16
|
+
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCS | [optional] [default to undefined]
|
|
17
|
+
**readOnly** | **boolean** | Read Only (Cannot be edited) | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { CustomerItemRequestDTO } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: CustomerItemRequestDTO = {
|
|
25
|
+
sku,
|
|
26
|
+
quantity,
|
|
27
|
+
id,
|
|
28
|
+
licenceKey,
|
|
29
|
+
hosting,
|
|
30
|
+
processDate,
|
|
31
|
+
tcxSalesCode,
|
|
32
|
+
sbcs,
|
|
33
|
+
readOnly,
|
|
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)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# CustomerOrderRequestDTO
|
|
2
|
+
|
|
3
|
+
Order Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**orderReference** | **string** | Order Reference | [optional] [default to undefined]
|
|
10
|
+
**items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
|
+
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
|
+
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
|
+
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { CustomerOrderRequestDTO } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: CustomerOrderRequestDTO = {
|
|
23
|
+
orderReference,
|
|
24
|
+
items,
|
|
25
|
+
shippingService,
|
|
26
|
+
provisioningUrl,
|
|
27
|
+
shippingAddress,
|
|
28
|
+
partShip,
|
|
29
|
+
quote,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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
|
+
# DetailedItemRequestDTO
|
|
2
|
+
|
|
3
|
+
Detailed Order Item Request
|
|
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
|
+
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
13
|
+
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
14
|
+
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
15
|
+
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
16
|
+
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCS | [optional] [default to undefined]
|
|
17
|
+
**readOnly** | **boolean** | Read Only (Cannot be edited) | [optional] [default to undefined]
|
|
18
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
19
|
+
**itemPrice** | **number** | Price (£) | [optional] [default to undefined]
|
|
20
|
+
**additionalDiscount** | **number** | Additional Discount | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { DetailedItemRequestDTO } from 'yellowgrid-api-ts';
|
|
26
|
+
|
|
27
|
+
const instance: DetailedItemRequestDTO = {
|
|
28
|
+
sku,
|
|
29
|
+
quantity,
|
|
30
|
+
id,
|
|
31
|
+
licenceKey,
|
|
32
|
+
hosting,
|
|
33
|
+
processDate,
|
|
34
|
+
tcxSalesCode,
|
|
35
|
+
sbcs,
|
|
36
|
+
readOnly,
|
|
37
|
+
title,
|
|
38
|
+
itemPrice,
|
|
39
|
+
additionalDiscount,
|
|
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,33 @@
|
|
|
1
|
+
# DetailedOrderRequestDTO
|
|
2
|
+
|
|
3
|
+
Detailed Order Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**orderReference** | **string** | Order Reference | [optional] [default to undefined]
|
|
10
|
+
**items** | [**Array<DetailedItemRequestDTO>**](DetailedItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
11
|
+
**shippingService** | [**ShippingServiceDTO**](ShippingServiceDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**provisioningUrl** | **string** | Provisioning URL | [optional] [default to undefined]
|
|
13
|
+
**shippingAddress** | [**AddressModel**](AddressModel.md) | | [optional] [default to undefined]
|
|
14
|
+
**partShip** | **boolean** | Part Ship Order | [optional] [default to undefined]
|
|
15
|
+
**quote** | **boolean** | Quote | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { DetailedOrderRequestDTO } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: DetailedOrderRequestDTO = {
|
|
23
|
+
orderReference,
|
|
24
|
+
items,
|
|
25
|
+
shippingService,
|
|
26
|
+
provisioningUrl,
|
|
27
|
+
shippingAddress,
|
|
28
|
+
partShip,
|
|
29
|
+
quote,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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/ItemDTO.md
CHANGED
|
@@ -6,17 +6,21 @@ Order Item
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
10
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
9
11
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
12
|
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
11
13
|
**title** | **string** | Title | [optional] [default to undefined]
|
|
12
|
-
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
13
|
-
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
14
14
|
**price** | **number** | Price | [optional] [default to undefined]
|
|
15
15
|
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
16
16
|
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
17
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
|
+
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
18
19
|
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
19
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]
|
|
20
24
|
|
|
21
25
|
## Example
|
|
22
26
|
|
|
@@ -24,17 +28,21 @@ Name | Type | Description | Notes
|
|
|
24
28
|
import { ItemDTO } from 'yellowgrid-api-ts';
|
|
25
29
|
|
|
26
30
|
const instance: ItemDTO = {
|
|
31
|
+
sku,
|
|
32
|
+
quantity,
|
|
27
33
|
id,
|
|
28
34
|
orderId,
|
|
29
35
|
title,
|
|
30
|
-
sku,
|
|
31
|
-
quantity,
|
|
32
36
|
price,
|
|
33
37
|
licenceKey,
|
|
34
38
|
licenceExpiry,
|
|
35
39
|
processDate,
|
|
40
|
+
hosting,
|
|
36
41
|
promoItem,
|
|
37
42
|
refunded,
|
|
43
|
+
sbcs,
|
|
44
|
+
readonly,
|
|
45
|
+
tcxSalesCode,
|
|
38
46
|
};
|
|
39
47
|
```
|
|
40
48
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# ItemDiscountEntity
|
|
2
|
+
|
|
3
|
+
ItemDiscountsEntity
|
|
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
|
+
**priceList** | **string** | priceList | [optional] [default to undefined]
|
|
12
|
+
**discount** | **number** | discount | [optional] [default to undefined]
|
|
13
|
+
**type** | **string** | type | [optional] [default to undefined]
|
|
14
|
+
**description** | **string** | description | [optional] [default to undefined]
|
|
15
|
+
**priority** | **number** | priority | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { ItemDiscountEntity } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: ItemDiscountEntity = {
|
|
23
|
+
id,
|
|
24
|
+
itemId,
|
|
25
|
+
priceList,
|
|
26
|
+
discount,
|
|
27
|
+
type,
|
|
28
|
+
description,
|
|
29
|
+
priority,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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/ItemEntity.md
CHANGED
|
@@ -22,11 +22,12 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**shippingTax** | **number** | shippingTax | [optional] [default to undefined]
|
|
23
23
|
**shippingTaxGbp** | **number** | shippingTaxGbp | [optional] [default to undefined]
|
|
24
24
|
**customerRefunded** | **number** | customerRefunded | [optional] [default to undefined]
|
|
25
|
-
**
|
|
25
|
+
**licenceKey** | **string** | licencekey | [optional] [default to undefined]
|
|
26
26
|
**addHosting** | **number** | addHosting | [optional] [default to undefined]
|
|
27
27
|
**licenceExpiryDate** | **string** | licenceExpiryDate | [optional] [default to undefined]
|
|
28
28
|
**processDate** | **string** | processDate | [optional] [default to undefined]
|
|
29
29
|
**promoItem** | **number** | promo | [optional] [default to undefined]
|
|
30
|
+
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
30
31
|
|
|
31
32
|
## Example
|
|
32
33
|
|
|
@@ -50,11 +51,12 @@ const instance: ItemEntity = {
|
|
|
50
51
|
shippingTax,
|
|
51
52
|
shippingTaxGbp,
|
|
52
53
|
customerRefunded,
|
|
53
|
-
|
|
54
|
+
licenceKey,
|
|
54
55
|
addHosting,
|
|
55
56
|
licenceExpiryDate,
|
|
56
57
|
processDate,
|
|
57
58
|
promoItem,
|
|
59
|
+
tcxSalesCode,
|
|
58
60
|
};
|
|
59
61
|
```
|
|
60
62
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# LinkedOrderEntity
|
|
2
|
+
|
|
3
|
+
LinkedOrdersEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
10
|
+
**linkedOrderId** | **number** | linkedOrderId | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { LinkedOrderEntity } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: LinkedOrderEntity = {
|
|
18
|
+
orderId,
|
|
19
|
+
linkedOrderId,
|
|
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)
|
package/docs/OrderSummaryDTO.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
10
|
**reference** | **string** | Reference | [optional] [default to undefined]
|
|
11
11
|
**invoiceNumber** | **string** | Invoice Number | [optional] [default to undefined]
|
|
12
|
+
**invoiceId** | **string** | Invoice ID | [optional] [default to undefined]
|
|
12
13
|
**orderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
14
|
**paid** | **boolean** | Paid | [optional] [default to undefined]
|
|
14
15
|
**complete** | **boolean** | Complete | [optional] [default to undefined]
|
|
@@ -18,6 +19,9 @@ Name | Type | Description | Notes
|
|
|
18
19
|
**items** | [**Array<ItemDTO>**](ItemDTO.md) | Items | [optional] [default to undefined]
|
|
19
20
|
**carriageCharge** | **number** | Carriage Charge | [optional] [default to undefined]
|
|
20
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]
|
|
21
25
|
|
|
22
26
|
## Example
|
|
23
27
|
|
|
@@ -28,6 +32,7 @@ const instance: OrderSummaryDTO = {
|
|
|
28
32
|
id,
|
|
29
33
|
reference,
|
|
30
34
|
invoiceNumber,
|
|
35
|
+
invoiceId,
|
|
31
36
|
orderDate,
|
|
32
37
|
paid,
|
|
33
38
|
complete,
|
|
@@ -37,6 +42,9 @@ const instance: OrderSummaryDTO = {
|
|
|
37
42
|
items,
|
|
38
43
|
carriageCharge,
|
|
39
44
|
fulfillable,
|
|
45
|
+
provisioningUrl,
|
|
46
|
+
shippingService,
|
|
47
|
+
readonly,
|
|
40
48
|
};
|
|
41
49
|
```
|
|
42
50
|
|
package/docs/OrderTotalModel.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**vatRate** | **number** | VAT Rate | [optional] [default to undefined]
|
|
14
14
|
**credit** | **number** | Credit | [optional] [default to undefined]
|
|
15
15
|
**currency** | **string** | Currency | [optional] [default to undefined]
|
|
16
|
+
**delivery** | **number** | Delivery | [optional] [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -27,6 +28,7 @@ const instance: OrderTotalModel = {
|
|
|
27
28
|
vatRate,
|
|
28
29
|
credit,
|
|
29
30
|
currency,
|
|
31
|
+
delivery,
|
|
30
32
|
};
|
|
31
33
|
```
|
|
32
34
|
|