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.
Files changed (145) hide show
  1. package/.openapi-generator/FILES +369 -318
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +123 -3
  4. package/api.ts +14410 -953
  5. package/base.ts +26 -2
  6. package/common.ts +39 -16
  7. package/config.json +4 -3
  8. package/configuration.ts +21 -27
  9. package/dist/api.d.ts +15808 -5240
  10. package/dist/api.js +8872 -2842
  11. package/dist/base.d.ts +25 -1
  12. package/dist/base.js +21 -2
  13. package/dist/common.d.ts +36 -5
  14. package/dist/common.js +39 -17
  15. package/dist/configuration.d.ts +18 -25
  16. package/dist/configuration.js +4 -4
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/ConnectionTypeEnum.d.ts +73 -0
  20. package/dist/models/ConnectionTypeEnum.js +75 -0
  21. package/dist/models/GroupEnum.d.ts +43 -0
  22. package/dist/models/GroupEnum.js +45 -0
  23. package/dist/models/HostingPriceListEnum.d.ts +5 -0
  24. package/dist/models/HostingPriceListEnum.js +5 -0
  25. package/dist/models/ReportEnum.d.ts +15 -0
  26. package/dist/models/ReportEnum.js +15 -0
  27. package/docs/AbstractItemDiscountModel.md +21 -0
  28. package/docs/AbstractOrderRequestDTO.md +1 -1
  29. package/docs/AccountDetailedSummaryDTO.md +2 -0
  30. package/docs/AccountsApi.md +1 -1
  31. package/docs/AdminOrderRequestDTO.md +1 -1
  32. package/docs/BaseService.md +36 -0
  33. package/docs/BillingApi.md +3631 -26
  34. package/docs/Bundle.md +34 -0
  35. package/docs/BundleCustomer.md +34 -0
  36. package/docs/CRMApi.md +1 -1
  37. package/docs/CallTariff.md +34 -0
  38. package/docs/CallTariffPlan.md +36 -0
  39. package/docs/CallTariffResponse.md +26 -0
  40. package/docs/Cdr.md +112 -0
  41. package/docs/Class3CXApi.md +1 -1
  42. package/docs/Class3CXInstallationWizardApi.md +1 -1
  43. package/docs/Class3CXInstallationsApi.md +1 -1
  44. package/docs/Class3CXIntegrationsApi.md +1 -1
  45. package/docs/Class3CXMultiTenantApi.md +1 -1
  46. package/docs/ConnectionRequest.md +36 -0
  47. package/docs/ConnectionType.md +28 -0
  48. package/docs/ContactDetail.md +58 -0
  49. package/docs/CrmActivityDTO.md +1 -1
  50. package/docs/CrmDateActivitiesDTO.md +1 -1
  51. package/docs/Customer.md +98 -0
  52. package/docs/CustomerOrderRequestDTO.md +1 -1
  53. package/docs/CustomerRate.md +22 -0
  54. package/docs/CustomerRateType.md +12 -0
  55. package/docs/DetailedOrderRequestDTO.md +1 -1
  56. package/docs/GetDisconnectDDIRequest.md +20 -0
  57. package/docs/InboundCli.md +50 -0
  58. package/docs/InboundTariffPlan.md +32 -0
  59. package/docs/InboundTariffPlanResponse.md +28 -0
  60. package/docs/MiscApi.md +1 -1
  61. package/docs/MultiTenantSipTrunkRequest.md +22 -0
  62. package/docs/MyPBXToolsApi.md +1 -1
  63. package/docs/NumberPortModel.md +51 -0
  64. package/docs/NumberPortingApi.md +1 -1
  65. package/docs/OAuth20Api.md +1 -1
  66. package/docs/OrdersApi.md +1 -1
  67. package/docs/OutboundCli.md +70 -0
  68. package/docs/PartnerDTO.md +1 -1
  69. package/docs/PasswordSenderDTO.md +1 -1
  70. package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
  71. package/docs/PostAddAdminNoteRequest.md +20 -0
  72. package/docs/PostAddBroadbandRequest.md +28 -0
  73. package/docs/PostAddCallTariffToCallTariffPlanRequest.md +34 -0
  74. package/docs/PostAddEthernetRequest.md +28 -0
  75. package/docs/PostAddRecurringChargeRequest.md +30 -0
  76. package/docs/PostAddServiceToServicePlanRequest.md +30 -0
  77. package/docs/PostAddSipTrunkDDIsRequest.md +30 -0
  78. package/docs/PostDisconnectDDIRequest.md +20 -0
  79. package/docs/PostGetBaseServicesRequest.md +22 -0
  80. package/docs/PostGetPriceGroupsRequest.md +22 -0
  81. package/docs/PostGetProductRequest.md +24 -0
  82. package/docs/PostGetServicePlansRequest.md +22 -0
  83. package/docs/PostGetSipTrunksBillingRequest.md +34 -0
  84. package/docs/PostUpdateConnectionRequest.md +22 -0
  85. package/docs/PostUpdateRecurringChargeRequest.md +30 -0
  86. package/docs/PriceGroup.md +30 -0
  87. package/docs/PriceGroupResponse.md +24 -0
  88. package/docs/PricingApi.md +1 -1
  89. package/docs/ProcessedCdr.md +96 -0
  90. package/docs/ProductDetailedSummaryDTO.md +2 -2
  91. package/docs/ProductSearchDTO.md +37 -0
  92. package/docs/ProductSummaryDTO.md +1 -1
  93. package/docs/ProductsApi.md +1 -1
  94. package/docs/PromoCodesEntity.md +6 -6
  95. package/docs/PromoItemModel.md +35 -0
  96. package/docs/PromoModel.md +45 -0
  97. package/docs/PromoSummariesModel.md +27 -0
  98. package/docs/PromoSummaryDTO.md +29 -0
  99. package/docs/PromotionsApi.md +241 -0
  100. package/docs/ProspectDTO.md +2 -2
  101. package/docs/ProspectsApi.md +1 -1
  102. package/docs/ProvisioningApi.md +1 -1
  103. package/docs/PutAddCallTariffToCallTariffPlanRequest.md +30 -0
  104. package/docs/PutAddServiceToServicePlanRequest.md +26 -0
  105. package/docs/PutConnectionSearchRequest.md +20 -0
  106. package/docs/PutGetBaseServicesRequest.md +28 -0
  107. package/docs/PutGetCallTariffPlanRequest.md +28 -0
  108. package/docs/PutGetPriceGroupsRequest.md +28 -0
  109. package/docs/RecordingsBackupInfoDTO.md +2 -2
  110. package/docs/RecurringCharge.md +48 -0
  111. package/docs/ReportRequestDTO.md +2 -2
  112. package/docs/ReportsApi.md +1 -1
  113. package/docs/SIPTrunksApi.md +1 -1
  114. package/docs/SMSApi.md +1 -1
  115. package/docs/Sdr.md +66 -0
  116. package/docs/SdrReferenceType.md +24 -0
  117. package/docs/Service.md +42 -0
  118. package/docs/ServicePlan.md +36 -0
  119. package/docs/ServicesApi.md +1 -1
  120. package/docs/ShipmentRequestDTO.md +2 -2
  121. package/docs/ShippingApi.md +1 -1
  122. package/docs/SpecialService.md +40 -0
  123. package/docs/StockManagementApi.md +1 -1
  124. package/docs/SuppliersApi.md +1 -1
  125. package/docs/SystemApi.md +1 -1
  126. package/docs/TariffRate.md +30 -0
  127. package/docs/TcxHostingPricingEntity.md +35 -0
  128. package/docs/TcxInstallationDetailsModel.md +45 -0
  129. package/docs/TcxKeySummaryDTO.md +1 -1
  130. package/docs/TelephonySupportTicketModel.md +41 -0
  131. package/docs/TicketsApi.md +1 -1
  132. package/docs/UnconnectedSdr.md +68 -0
  133. package/docs/WebhooksApi.md +1 -1
  134. package/getEnums.php +31 -31
  135. package/hs_err_pid16044.log +249 -0
  136. package/hs_err_pid44560.log +249 -0
  137. package/hs_err_pid53988.log +249 -0
  138. package/hs_err_pid58728.log +40 -0
  139. package/index.ts +1 -1
  140. package/models/ConnectionTypeEnum.ts +74 -0
  141. package/models/GroupEnum.ts +44 -0
  142. package/models/HostingPriceListEnum.ts +5 -0
  143. package/models/ReportEnum.ts +15 -0
  144. package/openapitools.json +1 -1
  145. 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)
@@ -1,6 +1,6 @@
1
1
  # PricingApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -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) | 3CX Licence Details | [optional] [default to undefined]
16
+ **licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
17
17
  **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
18
- **dueDate** | **string** | Due Date | [optional] [default to undefined]
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) | 3CX Licence Details | [optional] [default to undefined]
16
+ **licenceDetails** | [**TcxLicenceDetailsModel**](TcxLicenceDetailsModel.md) | | [optional] [default to undefined]
17
17
  **hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
18
18
 
19
19
  ## Example
@@ -1,6 +1,6 @@
1
1
  # ProductsApi
2
2
 
3
- All URIs are relative to *https://bitbucket.org*
3
+ All URIs are relative to *https://api.local.yellowgrid.co.uk*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -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
- **banner** | **string** | banner | [optional] [default to undefined]
13
- **start** | **string** | start | [optional] [default to undefined]
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** | **number** | includeDistribution | [optional] [default to undefined]
19
- **distributionOnly** | **number** | distributionOnly | [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
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)