yellowgrid-api-ts 3.2.244 → 3.2.246-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 +369 -318
- package/.openapi-generator/VERSION +1 -1
- package/README.md +123 -3
- package/api.ts +14410 -953
- package/base.ts +26 -2
- package/common.ts +39 -16
- package/config.json +4 -3
- package/configuration.ts +21 -27
- package/dist/api.d.ts +15808 -5240
- package/dist/api.js +8872 -2842
- package/dist/base.d.ts +25 -1
- package/dist/base.js +21 -2
- package/dist/common.d.ts +36 -5
- package/dist/common.js +39 -17
- package/dist/configuration.d.ts +18 -25
- package/dist/configuration.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/ConnectionTypeEnum.d.ts +73 -0
- package/dist/models/ConnectionTypeEnum.js +75 -0
- package/dist/models/GroupEnum.d.ts +43 -0
- package/dist/models/GroupEnum.js +45 -0
- package/dist/models/HostingPriceListEnum.d.ts +5 -0
- package/dist/models/HostingPriceListEnum.js +5 -0
- package/dist/models/ReportEnum.d.ts +15 -0
- package/dist/models/ReportEnum.js +15 -0
- package/docs/AbstractItemDiscountModel.md +21 -0
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountDetailedSummaryDTO.md +2 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/BaseService.md +36 -0
- package/docs/BillingApi.md +3631 -26
- package/docs/Bundle.md +34 -0
- package/docs/BundleCustomer.md +34 -0
- package/docs/CRMApi.md +1 -1
- package/docs/CallTariff.md +34 -0
- package/docs/CallTariffPlan.md +36 -0
- package/docs/CallTariffResponse.md +26 -0
- package/docs/Cdr.md +112 -0
- 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/ConnectionRequest.md +36 -0
- package/docs/ConnectionType.md +28 -0
- package/docs/ContactDetail.md +58 -0
- package/docs/CrmActivityDTO.md +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/Customer.md +98 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/CustomerRate.md +22 -0
- package/docs/CustomerRateType.md +12 -0
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/GetDisconnectDDIRequest.md +20 -0
- package/docs/InboundCli.md +50 -0
- package/docs/InboundTariffPlan.md +32 -0
- package/docs/InboundTariffPlanResponse.md +28 -0
- package/docs/MiscApi.md +1 -1
- package/docs/MultiTenantSipTrunkRequest.md +22 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortModel.md +51 -0
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrdersApi.md +1 -1
- package/docs/OutboundCli.md +70 -0
- package/docs/PartnerDTO.md +1 -1
- package/docs/PasswordSenderDTO.md +1 -1
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PostAddBroadbandRequest.md +28 -0
- package/docs/PostAddCallTariffToCallTariffPlanRequest.md +34 -0
- package/docs/PostAddEthernetRequest.md +28 -0
- package/docs/PostAddRecurringChargeRequest.md +30 -0
- package/docs/PostAddServiceToServicePlanRequest.md +30 -0
- package/docs/PostAddSipTrunkDDIsRequest.md +30 -0
- package/docs/PostDisconnectDDIRequest.md +20 -0
- package/docs/PostGetBaseServicesRequest.md +22 -0
- package/docs/PostGetPriceGroupsRequest.md +22 -0
- package/docs/PostGetProductRequest.md +24 -0
- package/docs/PostGetServicePlansRequest.md +22 -0
- package/docs/PostGetSipTrunksBillingRequest.md +34 -0
- package/docs/PostUpdateConnectionRequest.md +22 -0
- package/docs/PostUpdateRecurringChargeRequest.md +30 -0
- package/docs/PriceGroup.md +30 -0
- package/docs/PriceGroupResponse.md +24 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProcessedCdr.md +96 -0
- package/docs/ProductDetailedSummaryDTO.md +2 -2
- package/docs/ProductSearchDTO.md +37 -0
- package/docs/ProductSummaryDTO.md +1 -1
- package/docs/ProductsApi.md +1 -1
- package/docs/PromoCodesEntity.md +6 -6
- package/docs/PromoItemModel.md +35 -0
- package/docs/PromoModel.md +45 -0
- package/docs/PromoSummariesModel.md +27 -0
- package/docs/PromoSummaryDTO.md +29 -0
- package/docs/PromotionsApi.md +241 -0
- package/docs/ProspectDTO.md +2 -2
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/PutAddCallTariffToCallTariffPlanRequest.md +30 -0
- package/docs/PutAddServiceToServicePlanRequest.md +26 -0
- package/docs/PutConnectionSearchRequest.md +20 -0
- package/docs/PutGetBaseServicesRequest.md +28 -0
- package/docs/PutGetCallTariffPlanRequest.md +28 -0
- package/docs/PutGetPriceGroupsRequest.md +28 -0
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/RecurringCharge.md +48 -0
- package/docs/ReportRequestDTO.md +2 -2
- package/docs/ReportsApi.md +1 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/Sdr.md +66 -0
- package/docs/SdrReferenceType.md +24 -0
- package/docs/Service.md +42 -0
- package/docs/ServicePlan.md +36 -0
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/ShippingApi.md +1 -1
- package/docs/SpecialService.md +40 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/SuppliersApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TariffRate.md +30 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/UnconnectedSdr.md +68 -0
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/hs_err_pid16044.log +249 -0
- package/hs_err_pid44560.log +249 -0
- package/hs_err_pid53988.log +249 -0
- package/hs_err_pid58728.log +40 -0
- package/index.ts +1 -1
- package/models/ConnectionTypeEnum.ts +74 -0
- package/models/GroupEnum.ts +44 -0
- package/models/HostingPriceListEnum.ts +5 -0
- package/models/ReportEnum.ts +15 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# PostGetSipTrunksBillingRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**parentEndpointId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**endpointId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**connectionDate** | **string** | Date Time | [optional] [default to undefined]
|
|
11
|
+
**servicePlanName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**callTariffPlanName** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**invoiceDescription** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**isMtPrimarySipTrunk** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**mtPrimarySipTrunkId** | **number** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PostGetSipTrunksBillingRequest } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: PostGetSipTrunksBillingRequest = {
|
|
23
|
+
parentEndpointId,
|
|
24
|
+
endpointId,
|
|
25
|
+
connectionDate,
|
|
26
|
+
servicePlanName,
|
|
27
|
+
callTariffPlanName,
|
|
28
|
+
invoiceDescription,
|
|
29
|
+
isMtPrimarySipTrunk,
|
|
30
|
+
mtPrimarySipTrunkId,
|
|
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,22 @@
|
|
|
1
|
+
# PostUpdateConnectionRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**property** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**value** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PostUpdateConnectionRequest } from 'yellowgrid-api-ts';
|
|
15
|
+
|
|
16
|
+
const instance: PostUpdateConnectionRequest = {
|
|
17
|
+
property,
|
|
18
|
+
value,
|
|
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,30 @@
|
|
|
1
|
+
# PostUpdateRecurringChargeRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**reference** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**customerCharge** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**quantity** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**endPeriod** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**accountCode** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PostUpdateRecurringChargeRequest } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: PostUpdateRecurringChargeRequest = {
|
|
21
|
+
reference,
|
|
22
|
+
description,
|
|
23
|
+
customerCharge,
|
|
24
|
+
quantity,
|
|
25
|
+
endPeriod,
|
|
26
|
+
accountCode,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PriceGroup
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**createdDate** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**category** | **string** | | [default to undefined]
|
|
12
|
+
**description** | **string** | | [default to undefined]
|
|
13
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PriceGroup } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: PriceGroup = {
|
|
21
|
+
createdDate,
|
|
22
|
+
id,
|
|
23
|
+
name,
|
|
24
|
+
category,
|
|
25
|
+
description,
|
|
26
|
+
filePeriod,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PriceGroupResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PriceGroupResponse } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: PriceGroupResponse = {
|
|
18
|
+
id,
|
|
19
|
+
name,
|
|
20
|
+
description,
|
|
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/docs/PricingApi.md
CHANGED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# ProcessedCdr
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**cdrId** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**cdr** | [**Cdr**](Cdr.md) | | [optional] [default to undefined]
|
|
11
|
+
**contentReference** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**callClass** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**inbound** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
**cli** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**presentationNumber** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**outboundCliId** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**outboundCli** | [**OutboundCli**](OutboundCli.md) | | [optional] [default to undefined]
|
|
18
|
+
**mtPrimaryOutboundCliId** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**mtPrimaryOutboundCli** | [**OutboundCli**](OutboundCli.md) | | [optional] [default to undefined]
|
|
20
|
+
**callTariffPlanId** | **number** | | [optional] [default to undefined]
|
|
21
|
+
**callTariffPlan** | [**CallTariffPlan**](CallTariffPlan.md) | | [optional] [default to undefined]
|
|
22
|
+
**inboundTariffPlanId** | **number** | | [optional] [default to undefined]
|
|
23
|
+
**inboundTariffPlan** | [**InboundTariffPlan**](InboundTariffPlan.md) | | [optional] [default to undefined]
|
|
24
|
+
**callTariffId** | **number** | | [optional] [default to undefined]
|
|
25
|
+
**callTariff** | [**CallTariff**](CallTariff.md) | | [optional] [default to undefined]
|
|
26
|
+
**customerChargePreRounded** | **number** | | [optional] [default to undefined]
|
|
27
|
+
**customerCharge** | **number** | | [optional] [default to undefined]
|
|
28
|
+
**customerChargePostBundle** | **number** | | [optional] [default to undefined]
|
|
29
|
+
**bundleName** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**customerId** | **number** | | [optional] [default to undefined]
|
|
31
|
+
**tariffPlanName** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**chargecode** | **string** | | [optional] [default to undefined]
|
|
33
|
+
**priceGroupName** | **string** | | [optional] [default to undefined]
|
|
34
|
+
**unknownDestRate** | [**CustomerRate**](CustomerRate.md) | | [optional] [default to undefined]
|
|
35
|
+
**ngcsAcsChgPerMin** | **number** | | [optional] [default to undefined]
|
|
36
|
+
**ngcsAcsChgPerCall** | **number** | | [optional] [default to undefined]
|
|
37
|
+
**customerNGCSAcssChg** | **number** | | [optional] [default to undefined]
|
|
38
|
+
**customerRate** | [**CustomerRate**](CustomerRate.md) | | [optional] [default to undefined]
|
|
39
|
+
**salesprice** | **number** | | [optional] [default to undefined]
|
|
40
|
+
**callDateTime** | **string** | | [optional] [default to undefined]
|
|
41
|
+
**duration** | **number** | | [optional] [default to undefined]
|
|
42
|
+
**ngcsServiceCharge** | **number** | | [optional] [default to undefined]
|
|
43
|
+
**cdrDescription** | **string** | | [optional] [default to undefined]
|
|
44
|
+
**calledNumber** | **string** | | [optional] [default to undefined]
|
|
45
|
+
**remarks** | **string** | | [optional] [default to undefined]
|
|
46
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
47
|
+
|
|
48
|
+
## Example
|
|
49
|
+
|
|
50
|
+
```typescript
|
|
51
|
+
import { ProcessedCdr } from 'yellowgrid-api-ts';
|
|
52
|
+
|
|
53
|
+
const instance: ProcessedCdr = {
|
|
54
|
+
id,
|
|
55
|
+
cdrId,
|
|
56
|
+
cdr,
|
|
57
|
+
contentReference,
|
|
58
|
+
callClass,
|
|
59
|
+
inbound,
|
|
60
|
+
cli,
|
|
61
|
+
presentationNumber,
|
|
62
|
+
outboundCliId,
|
|
63
|
+
outboundCli,
|
|
64
|
+
mtPrimaryOutboundCliId,
|
|
65
|
+
mtPrimaryOutboundCli,
|
|
66
|
+
callTariffPlanId,
|
|
67
|
+
callTariffPlan,
|
|
68
|
+
inboundTariffPlanId,
|
|
69
|
+
inboundTariffPlan,
|
|
70
|
+
callTariffId,
|
|
71
|
+
callTariff,
|
|
72
|
+
customerChargePreRounded,
|
|
73
|
+
customerCharge,
|
|
74
|
+
customerChargePostBundle,
|
|
75
|
+
bundleName,
|
|
76
|
+
customerId,
|
|
77
|
+
tariffPlanName,
|
|
78
|
+
chargecode,
|
|
79
|
+
priceGroupName,
|
|
80
|
+
unknownDestRate,
|
|
81
|
+
ngcsAcsChgPerMin,
|
|
82
|
+
ngcsAcsChgPerCall,
|
|
83
|
+
customerNGCSAcssChg,
|
|
84
|
+
customerRate,
|
|
85
|
+
salesprice,
|
|
86
|
+
callDateTime,
|
|
87
|
+
duration,
|
|
88
|
+
ngcsServiceCharge,
|
|
89
|
+
cdrDescription,
|
|
90
|
+
calledNumber,
|
|
91
|
+
remarks,
|
|
92
|
+
filePeriod,
|
|
93
|
+
};
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**price** | **number** | Price | [optional] [default to undefined]
|
|
14
14
|
**cartonSize** | **number** | Carton Size | [optional] [default to undefined]
|
|
15
15
|
**rrp** | **number** | RRP Price | [optional] [default to undefined]
|
|
16
|
-
**licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) |
|
|
16
|
+
**licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
|
|
17
17
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
18
|
-
**dueDate** | **string** |
|
|
18
|
+
**dueDate** | **string** | Date Time | [optional] [default to undefined]
|
|
19
19
|
**onOrder** | **number** | On Order | [optional] [default to undefined]
|
|
20
20
|
|
|
21
21
|
## Example
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# ProductSearchDTO
|
|
2
|
+
|
|
3
|
+
Product Search
|
|
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
|
+
**licenceKey** | **string** | Licence Key | [optional] [default to undefined]
|
|
12
|
+
**hosting** | **boolean** | Hosting | [optional] [default to undefined]
|
|
13
|
+
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
14
|
+
**renewalYears** | **number** | 3CX Renewal Years | [optional] [default to undefined]
|
|
15
|
+
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
16
|
+
**items** | [**Array<CustomerItemRequestDTO>**](CustomerItemRequestDTO.md) | Items | [optional] [default to undefined]
|
|
17
|
+
**discount** | **number** | Discount | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { ProductSearchDTO } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: ProductSearchDTO = {
|
|
25
|
+
sku,
|
|
26
|
+
quantity,
|
|
27
|
+
licenceKey,
|
|
28
|
+
hosting,
|
|
29
|
+
tcxSalesCode,
|
|
30
|
+
renewalYears,
|
|
31
|
+
orderId,
|
|
32
|
+
items,
|
|
33
|
+
discount,
|
|
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)
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**price** | **number** | Price | [optional] [default to undefined]
|
|
14
14
|
**cartonSize** | **number** | Carton Size | [optional] [default to undefined]
|
|
15
15
|
**rrp** | **number** | RRP Price | [optional] [default to undefined]
|
|
16
|
-
**licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) |
|
|
16
|
+
**licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
|
|
17
17
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
18
18
|
|
|
19
19
|
## Example
|
package/docs/ProductsApi.md
CHANGED
package/docs/PromoCodesEntity.md
CHANGED
|
@@ -9,14 +9,14 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**id** | **number** | id | [optional] [default to undefined]
|
|
10
10
|
**code** | **string** | code | [optional] [default to undefined]
|
|
11
11
|
**description** | **string** | description | [optional] [default to undefined]
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**expiry** | **string** | expiry | [optional] [default to undefined]
|
|
12
|
+
**start** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**expiry** | **string** | Date Time | [optional] [default to undefined]
|
|
15
14
|
**customerLimit** | **number** | customerLimit | [optional] [default to undefined]
|
|
16
15
|
**globalLimit** | **number** | globalLimit | [optional] [default to undefined]
|
|
17
16
|
**orderRestrictions** | **string** | orderRestrictions | [optional] [default to undefined]
|
|
18
|
-
**includeDistribution** | **
|
|
19
|
-
**distributionOnly** | **
|
|
17
|
+
**includeDistribution** | **boolean** | includeDistribution | [optional] [default to undefined]
|
|
18
|
+
**distributionOnly** | **boolean** | distributionOnly | [optional] [default to undefined]
|
|
19
|
+
**nfr** | **boolean** | nfr | [optional] [default to undefined]
|
|
20
20
|
**note** | **string** | note | [optional] [default to undefined]
|
|
21
21
|
|
|
22
22
|
## Example
|
|
@@ -28,7 +28,6 @@ const instance: PromoCodesEntity = {
|
|
|
28
28
|
id,
|
|
29
29
|
code,
|
|
30
30
|
description,
|
|
31
|
-
banner,
|
|
32
31
|
start,
|
|
33
32
|
expiry,
|
|
34
33
|
customerLimit,
|
|
@@ -36,6 +35,7 @@ const instance: PromoCodesEntity = {
|
|
|
36
35
|
orderRestrictions,
|
|
37
36
|
includeDistribution,
|
|
38
37
|
distributionOnly,
|
|
38
|
+
nfr,
|
|
39
39
|
note,
|
|
40
40
|
};
|
|
41
41
|
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# PromoItemModel
|
|
2
|
+
|
|
3
|
+
Promo Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**promoId** | **number** | promoId | [optional] [default to undefined]
|
|
11
|
+
**price** | **number** | price | [optional] [default to undefined]
|
|
12
|
+
**discount** | **number** | discount | [optional] [default to undefined]
|
|
13
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
14
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
15
|
+
**bulkQuantity** | **number** | bulkQuantity | [optional] [default to undefined]
|
|
16
|
+
**bulkAdd** | **number** | bulkAdd | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { PromoItemModel } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: PromoItemModel = {
|
|
24
|
+
id,
|
|
25
|
+
promoId,
|
|
26
|
+
price,
|
|
27
|
+
discount,
|
|
28
|
+
sku,
|
|
29
|
+
quantity,
|
|
30
|
+
bulkQuantity,
|
|
31
|
+
bulkAdd,
|
|
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,45 @@
|
|
|
1
|
+
# PromoModel
|
|
2
|
+
|
|
3
|
+
Promotion
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**code** | **string** | code | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | description | [optional] [default to undefined]
|
|
12
|
+
**start** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**expiry** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
+
**customerLimit** | **number** | customerLimit | [optional] [default to undefined]
|
|
15
|
+
**globalLimit** | **number** | globalLimit | [optional] [default to undefined]
|
|
16
|
+
**orderRestrictions** | **string** | orderRestrictions | [optional] [default to undefined]
|
|
17
|
+
**includeDistribution** | **boolean** | includeDistribution | [optional] [default to undefined]
|
|
18
|
+
**distributionOnly** | **boolean** | distributionOnly | [optional] [default to undefined]
|
|
19
|
+
**nfr** | **boolean** | nfr | [optional] [default to undefined]
|
|
20
|
+
**note** | **string** | note | [optional] [default to undefined]
|
|
21
|
+
**items** | [**Array<PromoItemModel>**](PromoItemModel.md) | Items | [optional] [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { PromoModel } from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const instance: PromoModel = {
|
|
29
|
+
id,
|
|
30
|
+
code,
|
|
31
|
+
description,
|
|
32
|
+
start,
|
|
33
|
+
expiry,
|
|
34
|
+
customerLimit,
|
|
35
|
+
globalLimit,
|
|
36
|
+
orderRestrictions,
|
|
37
|
+
includeDistribution,
|
|
38
|
+
distributionOnly,
|
|
39
|
+
nfr,
|
|
40
|
+
note,
|
|
41
|
+
items,
|
|
42
|
+
};
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
[[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,27 @@
|
|
|
1
|
+
# PromoSummariesModel
|
|
2
|
+
|
|
3
|
+
Promotions
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<PromoSummaryDTO>**](PromoSummaryDTO.md) | Results | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PromoSummariesModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: PromoSummariesModel = {
|
|
20
|
+
results,
|
|
21
|
+
page,
|
|
22
|
+
perPage,
|
|
23
|
+
totalResults,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[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
|
+
# PromoSummaryDTO
|
|
2
|
+
|
|
3
|
+
Promo Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**description** | **string** | Description | [optional] [default to undefined]
|
|
10
|
+
**code** | **string** | Promo Code | [optional] [default to undefined]
|
|
11
|
+
**startDate** | **string** | Date Time | [optional] [default to undefined]
|
|
12
|
+
**endDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**orders** | **number** | Orders | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PromoSummaryDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: PromoSummaryDTO = {
|
|
21
|
+
description,
|
|
22
|
+
code,
|
|
23
|
+
startDate,
|
|
24
|
+
endDate,
|
|
25
|
+
orders,
|
|
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)
|