yellowgrid-api-ts 3.2.261 → 3.2.262-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 +415 -365
- package/.openapi-generator/VERSION +1 -1
- package/README.md +111 -2
- package/api.ts +29101 -14672
- package/base.ts +26 -2
- package/common.ts +39 -16
- package/config.json +4 -4
- package/configuration.ts +21 -27
- package/dist/api.d.ts +20606 -8738
- package/dist/api.js +14410 -8951
- 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/AgentEnum.d.ts +48 -0
- package/dist/models/AgentEnum.js +50 -0
- package/dist/models/CategoryEnum.d.ts +108 -0
- package/dist/models/CategoryEnum.js +110 -0
- package/dist/models/ConnectionTypeEnum.d.ts +17 -7
- package/dist/models/ConnectionTypeEnum.js +17 -7
- package/dist/models/GroupEnum.d.ts +43 -0
- package/dist/models/GroupEnum.js +45 -0
- package/dist/models/ReasonEnum.d.ts +18 -0
- package/dist/models/ReasonEnum.js +20 -0
- package/dist/models/ReportEnum.d.ts +11 -1
- package/dist/models/ReportEnum.js +11 -1
- package/dist/models/ResolutionEnum.d.ts +18 -0
- package/dist/models/ResolutionEnum.js +20 -0
- package/dist/models/RmaItemCreditTypeEnum.d.ts +13 -0
- package/dist/models/RmaItemCreditTypeEnum.js +15 -0
- package/dist/models/RmaItemResolutionEnum.d.ts +28 -0
- package/dist/models/RmaItemResolutionEnum.js +30 -0
- package/dist/models/RmaItemStatusEnum.d.ts +18 -0
- package/dist/models/RmaItemStatusEnum.js +20 -0
- package/dist/models/RmaStatusEnum.d.ts +33 -0
- package/dist/models/RmaStatusEnum.js +35 -0
- package/docs/AbstractItemDiscountModel.md +21 -0
- package/docs/AbstractOrderRequestDTO.md +5 -5
- package/docs/AccountAddressesDTO.md +3 -3
- package/docs/AccountContactEntity.md +13 -13
- package/docs/AccountContactModel.md +13 -13
- package/docs/AccountContactRequestModel.md +9 -9
- package/docs/AccountDetailedSummaryDTO.md +11 -9
- package/docs/AccountFinanceDTO.md +10 -10
- package/docs/AccountRequestModel.md +11 -11
- package/docs/AccountSummaryDTO.md +3 -3
- package/docs/AccountsApi.md +104 -1
- package/docs/AccountsResponseModel.md +4 -4
- package/docs/AddressDTO.md +12 -6
- package/docs/AddressModel.md +5 -5
- package/docs/AddressRequestModel.md +4 -4
- package/docs/AdminCustomerRmasModel.md +27 -0
- package/docs/AdminNumberPortDTO.md +7 -7
- package/docs/AdminOrderRequestDTO.md +5 -5
- package/docs/AdminRmaDTO.md +67 -0
- package/docs/AdminRmaItemDTO.md +51 -0
- package/docs/AdminRmaNoteDTO.md +27 -0
- package/docs/AdminRmaSummaryDTO.md +39 -0
- package/docs/AdminUserModel.md +5 -5
- package/docs/AgentHoursGraphModel.md +4 -4
- package/docs/AgentHoursGraphMonthModel.md +2 -2
- package/docs/ApiLogEntity.md +12 -12
- package/docs/AreaCodeModel.md +2 -2
- package/docs/AttachmentModel.md +5 -5
- package/docs/AttributeSetEnum.md +2 -2
- package/docs/AuditLogEntity.md +9 -9
- package/docs/AuthCodeResponseModel.md +1 -1
- package/docs/AxisDataDTO.md +1 -1
- package/docs/BasicItemDTO.md +2 -2
- package/docs/BasicProductDTO.md +2 -2
- package/docs/BatchDTO.md +17 -17
- package/docs/BatchEntity.md +17 -17
- package/docs/BillingApi.md +62 -7
- package/docs/BrandedVideoSummaryDTO.md +47 -0
- package/docs/BrandedVideosApi.md +424 -0
- package/docs/BrandedVideosSummariesModel.md +27 -0
- package/docs/CRMApi.md +60 -1
- package/docs/CallBarringModel.md +5 -5
- package/docs/CallJournalRequestModel.md +35 -0
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +385 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +53 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/ClientDetailsModel.md +7 -7
- package/docs/ClientModel.md +4 -4
- package/docs/CollectionDateDTO.md +27 -0
- package/docs/CollectionDatesRequestDTO.md +23 -0
- package/docs/CompanyContractModel.md +5 -5
- package/docs/ContactInfoModel.md +5 -5
- package/docs/ConversationModel.md +8 -8
- package/docs/CourierPriceEntity.md +10 -10
- package/docs/CreditAccountEntity.md +23 -23
- package/docs/CreditNoteDTO.md +5 -1
- package/docs/CreditNoteEntity.md +5 -5
- package/docs/CreditNoteItemDTO.md +3 -1
- package/docs/CreditNoteItemEntity.md +7 -5
- package/docs/CreditNoteItemModel.md +7 -5
- package/docs/CreditNoteModel.md +5 -5
- package/docs/CrmActivitiesResponseDTO.md +2 -2
- package/docs/CrmActivityDTO.md +12 -4
- package/docs/CrmContactDTO.md +7 -7
- package/docs/CrmDateActivitiesDTO.md +2 -2
- package/docs/CrmNoteEntity.md +10 -10
- package/docs/CrmNoteModel.md +10 -10
- package/docs/CustomerCoordinatesDTO.md +5 -5
- package/docs/CustomerInformationModel.md +4 -4
- package/docs/CustomerItemRequestDTO.md +2 -2
- package/docs/CustomerListAccountDTO.md +13 -13
- package/docs/CustomerOrderRequestDTO.md +5 -5
- package/docs/CustomerPriceListEnum.md +2 -2
- package/docs/CustomerRmasModel.md +27 -0
- package/docs/CustomerSummaryReportDTO.md +6 -6
- package/docs/DdiRangeRequestModel.md +3 -3
- package/docs/DdiRangesRequestModel.md +1 -1
- package/docs/DetailedItemRequestDTO.md +2 -2
- package/docs/DetailedOrderRequestDTO.md +5 -5
- package/docs/DivertRequestModel.md +1 -1
- package/docs/DivertResponseModel.md +2 -2
- package/docs/EdTechProClientEntity.md +4 -4
- package/docs/EdTechProSchoolModel.md +11 -11
- package/docs/EdTechProSchoolsModel.md +4 -4
- package/docs/EdTechProSetupModel.md +5 -5
- package/docs/EmailRequestModel.md +21 -0
- package/docs/EngineeredWizardRequestModel.md +25 -0
- package/docs/EventDTO.md +8 -8
- package/docs/EventRequestDTO.md +3 -3
- package/docs/EventSubscriptionModel.md +2 -2
- package/docs/EventUpdateDTO.md +4 -4
- package/docs/EventUpdateEntity.md +5 -5
- package/docs/EventUpdateRequestDTO.md +3 -3
- package/docs/ExpiringKeyDTO.md +5 -5
- package/docs/FraudManagementModel.md +2 -2
- package/docs/FreshdeskCompanyTicketsModel.md +4 -4
- package/docs/FreshdeskTicketEntity.md +6 -6
- package/docs/FtpAccountsEntity.md +5 -5
- package/docs/GenericFileModel.md +3 -3
- package/docs/GetDisconnectDDIRequest.md +20 -0
- package/docs/GetGetTcxHostingPriceList200Response.md +20 -0
- package/docs/GraphDTO.md +6 -6
- package/docs/HostingChangeResponseModel.md +5 -5
- package/docs/HostingRegionDTO.md +3 -3
- package/docs/InstallationDetailsDTO.md +3 -3
- package/docs/InstanceAutoFailoverEntity.md +5 -5
- package/docs/InstanceDeletionScheduleEntity.md +4 -4
- package/docs/InstanceEntity.md +21 -21
- package/docs/InstanceFailoverEntity.md +11 -11
- package/docs/InstanceMonitoringEntity.md +3 -3
- package/docs/InstanceMonitoringLogEntity.md +6 -6
- package/docs/InstanceScheduledTasksEntity.md +6 -6
- package/docs/InstanceTcxDetailsEntity.md +10 -10
- package/docs/InstanceUserCredentialsEntity.md +5 -5
- package/docs/ItemDTO.md +2 -2
- package/docs/ItemDiscountEntity.md +6 -6
- package/docs/ItemEntity.md +21 -21
- package/docs/ItemResolutionRequestModel.md +21 -0
- package/docs/LinkedOrderEntity.md +2 -2
- package/docs/MFARequiredModel.md +2 -2
- package/docs/MacAddressDTO.md +2 -2
- package/docs/MacAddressRequestModel.md +21 -0
- package/docs/MiscApi.md +1 -1
- package/docs/MonthlyUsageModel.md +2 -2
- package/docs/MultiTenantChangeResponseModel.md +4 -4
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NameRequestModel.md +21 -0
- package/docs/NavigationModel.md +4 -4
- package/docs/NoteRequestModel.md +21 -0
- package/docs/NumberPortDTO.md +7 -7
- package/docs/NumberPortModel.md +51 -0
- package/docs/NumberPortNoteDTO.md +5 -5
- package/docs/NumberPortRangeDTO.md +2 -2
- package/docs/NumberPortingApi.md +22 -22
- package/docs/NumberPortsModel.md +4 -4
- package/docs/OAuth20Api.md +5 -5
- package/docs/OfflineInstancesEntity.md +5 -5
- package/docs/OrderDTO.md +3 -3
- package/docs/OrderDetailsDTO.md +10 -10
- package/docs/OrderEntity.md +56 -56
- package/docs/OrderItemDTO.md +2 -2
- package/docs/OrderRequestModel.md +6 -6
- package/docs/OrderSummariesModel.md +4 -4
- package/docs/OrderSummaryDTO.md +10 -10
- package/docs/OrderTotalModel.md +7 -7
- package/docs/OrderedItemEntity.md +14 -14
- package/docs/OrderedItemModel.md +14 -14
- package/docs/OrdersApi.md +115 -1
- package/docs/PartnerDTO.md +11 -11
- package/docs/PasswordSenderDTO.md +3 -3
- package/docs/PasswordSenderEntity.md +7 -7
- package/docs/PatchApproveRmaRequest.md +20 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PortalAccountModel.md +23 -23
- package/docs/PortalLoginModel.md +7 -7
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PostGenerateReport200Response.md +8 -8
- package/docs/PostGetProductRequest.md +24 -0
- package/docs/PriceListItemModel.md +2 -2
- package/docs/PricingApi.md +1 -1
- package/docs/PrinterEntity.md +5 -5
- package/docs/PrizesEntity.md +6 -6
- package/docs/ProductDetailedSummaryDTO.md +4 -4
- package/docs/ProductPriceListItemModel.md +2 -2
- package/docs/ProductPriceModel.md +23 -0
- package/docs/ProductSearchDTO.md +37 -0
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/ProductSerialInfoDTO.md +27 -0
- package/docs/ProductSerialInfoModel.md +3 -3
- package/docs/ProductSummaryDTO.md +3 -3
- package/docs/ProductsApi.md +1 -1
- package/docs/PromoCodesEntity.md +13 -13
- package/docs/PromoItemModel.md +35 -0
- package/docs/PromoItemsEntity.md +8 -8
- package/docs/PromoModel.md +45 -0
- package/docs/PromoSummariesModel.md +27 -0
- package/docs/PromoSummaryDTO.md +31 -0
- package/docs/PromotionsApi.md +241 -0
- package/docs/ProspectDTO.md +9 -9
- package/docs/ProspectEntity.md +11 -11
- package/docs/ProspectsApi.md +1 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/ProvisioningModel.md +3 -3
- package/docs/ProvisioningRequestEntity.md +3 -3
- package/docs/PutTransferConnectionRequest.md +20 -0
- package/docs/RMAApi.md +1753 -0
- package/docs/ReasonRequestModel.md +21 -0
- package/docs/RecordingBackupAzureModel.md +4 -4
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/RemoteStorageDTO.md +4 -4
- package/docs/ReportRequestDTO.md +3 -3
- package/docs/ReportsApi.md +1 -1
- package/docs/ResolutionRequestModel.md +21 -0
- package/docs/ResourceNotReadyException.md +3 -3
- package/docs/RmaCollectionDTO.md +27 -0
- package/docs/RmaCreditItemRequestDTO.md +25 -0
- package/docs/RmaDTO.md +47 -0
- package/docs/RmaItemDTO.md +35 -0
- package/docs/RmaItemRequestDTO.md +25 -0
- package/docs/RmaOrderDTO.md +33 -0
- package/docs/RmaOrderItemDTO.md +37 -0
- package/docs/RmaOrderSummaryDTO.md +25 -0
- package/docs/RmaReplacementOrderItemDTO.md +23 -0
- package/docs/RmaReplacementOrderRequestDTO.md +21 -0
- package/docs/RmaRequestDTO.md +36 -0
- package/docs/RmaReturnDTO.md +31 -0
- package/docs/RmaSummaryDTO.md +31 -0
- package/docs/RmaSummaryItemDTO.md +23 -0
- package/docs/RootAccessModel.md +3 -3
- package/docs/S3BucketEntity.md +4 -4
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ScannedItemModel.md +1 -1
- package/docs/ScopeModel.md +2 -2
- package/docs/SearchSchoolModel.md +35 -0
- package/docs/SerialNumberRequestModel.md +21 -0
- package/docs/SeriesDTO.md +3 -3
- package/docs/ServiceHealthDTO.md +2 -2
- package/docs/ServiceStatusDTO.md +4 -4
- package/docs/ServicesApi.md +1 -1
- package/docs/ShipmentAddressEntity.md +11 -11
- package/docs/ShipmentDTO.md +4 -4
- package/docs/ShipmentEntity.md +12 -12
- package/docs/ShipmentItemDTO.md +2 -2
- package/docs/ShipmentItemEntity.md +5 -5
- package/docs/ShipmentItemModel.md +5 -5
- package/docs/ShipmentModel.md +12 -12
- package/docs/ShipmentRequestDTO.md +6 -6
- package/docs/ShippingApi.md +57 -1
- package/docs/ShippingConsignmentModel.md +4 -4
- package/docs/ShippingInformationDTO.md +3 -3
- package/docs/ShippingRequestDTO.md +3 -3
- package/docs/ShippingServiceDTO.md +2 -2
- package/docs/ShippingServiceModel.md +4 -4
- package/docs/ShippingServicesModel.md +1 -1
- package/docs/SipTrunkChangeResponseModel.md +5 -5
- package/docs/SipTrunkCreationRequestModel.md +6 -6
- package/docs/SipTrunkEntity.md +12 -12
- package/docs/SipTrunksResponseModel.md +4 -4
- package/docs/SmsAccountDTO.md +6 -6
- package/docs/SmsAccountEntity.md +6 -6
- package/docs/SmsAccountRequestDTO.md +5 -5
- package/docs/SmsDataModel.md +1 -1
- package/docs/SmsMessageModel.md +3 -3
- package/docs/SmsNumbersEntity.md +2 -2
- package/docs/SmsPayloadModel.md +3 -3
- package/docs/SmsPhoneNumberModel.md +1 -1
- package/docs/SmsResponseModel.md +3 -3
- package/docs/SmsWhitelistEntity.md +2 -2
- package/docs/StockManagementApi.md +1 -1
- package/docs/StockOrderCourierEntity.md +4 -4
- package/docs/StockOrderDeductionModel.md +4 -4
- package/docs/StockOrderDeductionRequestModel.md +2 -2
- package/docs/StockOrderDeductionsEntity.md +4 -4
- package/docs/StockOrderEntity.md +22 -22
- package/docs/StockOrderItemEntity.md +7 -7
- package/docs/StockOrderItemModel.md +7 -7
- package/docs/StockOrderItemRequestModel.md +4 -4
- package/docs/StockOrderModel.md +14 -14
- package/docs/StockOrderProductEntity.md +6 -6
- package/docs/StockOrderRequestModel.md +3 -3
- package/docs/StockOrderSupplierEntity.md +9 -9
- package/docs/StockOrderSupplierModel.md +9 -9
- package/docs/StockOrdersModel.md +4 -4
- package/docs/StockProductModel.md +11 -9
- package/docs/StockProductSummariesModel.md +4 -4
- package/docs/StockProductSummaryModel.md +6 -6
- package/docs/StockReportItemModel.md +6 -6
- package/docs/StockReportModel.md +5 -5
- package/docs/StockTransactionsEntity.md +8 -8
- package/docs/SupplierEntity.md +9 -9
- package/docs/SupplierItemEntity.md +8 -8
- package/docs/SupplierItemModel.md +8 -8
- package/docs/SupplierItemsResultsDTO.md +1 -1
- package/docs/SupplierModel.md +9 -9
- package/docs/SupplierProductDTO.md +43 -0
- package/docs/SupplierProductModel.md +3 -3
- package/docs/SupplierProductResultsModel.md +4 -4
- package/docs/SuppliersApi.md +57 -1
- package/docs/SupportTicketModel.md +10 -10
- package/docs/SystemApi.md +1 -1
- package/docs/TableDTO.md +3 -3
- package/docs/TableDataDTO.md +1 -1
- package/docs/TableHistoryEntity.md +8 -8
- package/docs/TableRowDTO.md +1 -1
- package/docs/TcxBackupEntity.md +9 -9
- package/docs/TcxBackupModel.md +9 -9
- package/docs/TcxBillingEntity.md +10 -10
- package/docs/TcxBulkLicenceDetailsModel.md +2 -2
- package/docs/TcxDeadLicenceEntity.md +3 -3
- package/docs/TcxEngineerTaskDTO.md +29 -0
- package/docs/TcxEngineeringDTO.md +37 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxInstallationModel.md +17 -17
- package/docs/TcxInstallationsModel.md +4 -4
- package/docs/TcxKeySummaryDTO.md +4 -4
- package/docs/TcxKeysEntity.md +6 -6
- package/docs/TcxLicenceDetailsErrorModel.md +4 -4
- package/docs/TcxLicenceDetailsModel.md +11 -11
- package/docs/TcxMacsEntity.md +3 -3
- package/docs/TcxMultiTenantModel.md +7 -7
- package/docs/TcxMultiTenantUserModel.md +3 -3
- package/docs/TcxMultiTenantsModel.md +4 -4
- package/docs/TcxRemoteStorageModel.md +4 -4
- package/docs/TcxSbcDTO.md +7 -7
- package/docs/TcxSbcResponseDTO.md +2 -2
- package/docs/TcxSetupsModel.md +4 -4
- package/docs/TcxSummaryDTO.md +23 -0
- package/docs/TcxTemplateXmlEnum.md +2 -2
- package/docs/TcxUsersEntity.md +6 -6
- package/docs/TcxWizardConfigModel.md +2 -2
- package/docs/TcxWizardModel.md +2 -0
- package/docs/TechSupportCompanySummaryDTO.md +5 -5
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/ThumbnailDTO.md +25 -0
- package/docs/TicketSummaryModel.md +6 -6
- package/docs/TicketTimeDTO.md +9 -9
- package/docs/TicketsApi.md +11 -11
- package/docs/TokenResponseModel.md +3 -3
- package/docs/UpgradeOrderResponseModel.md +2 -2
- package/docs/UpgradeRequestModel.md +4 -4
- package/docs/UserEntity.md +10 -10
- package/docs/VideoRequestEntity.md +51 -0
- package/docs/WebhooksApi.md +1 -1
- package/docs/XeroLogEntity.md +10 -10
- 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/AgentEnum.ts +49 -0
- package/models/CategoryEnum.ts +109 -0
- package/models/ConnectionTypeEnum.ts +17 -7
- package/models/GroupEnum.ts +44 -0
- package/models/ReasonEnum.ts +19 -0
- package/models/ReportEnum.ts +11 -1
- package/models/ResolutionEnum.ts +19 -0
- package/models/RmaItemCreditTypeEnum.ts +14 -0
- package/models/RmaItemResolutionEnum.ts +29 -0
- package/models/RmaItemStatusEnum.ts +19 -0
- package/models/RmaStatusEnum.ts +34 -0
- package/openapitools.json +1 -1
- package/package.json +1 -1
|
@@ -6,29 +6,29 @@ Customer Account
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | ID | [
|
|
10
|
-
**name** | **string** | Contact Name | [
|
|
11
|
-
**email** | **string** | Email | [
|
|
12
|
-
**phone** | **string** | Phone Number | [
|
|
13
|
-
**company** | **string** | Company Name | [
|
|
14
|
-
**companyNumber** | **string** | Company Registration Number | [
|
|
15
|
-
**vatNumber** | **string** | VAT Number | [
|
|
16
|
-
**addressLine1** | **string** | Address Line 1 | [
|
|
17
|
-
**addressLine2** | **string** | Address Line 2 | [
|
|
18
|
-
**city** | **string** | City | [
|
|
19
|
-
**county** | **string** | County | [
|
|
20
|
-
**iso** | **string** | Country ISO Code | [
|
|
21
|
-
**postalCode** | **string** | Post Code | [
|
|
22
|
-
**accountNumber** | **string** | Account Number | [
|
|
23
|
-
**xeroId** | **string** | Xero Contact ID | [
|
|
24
|
-
**creditLimit** | **number** | Credit Limit | [
|
|
25
|
-
**paymentMethod** | **string** | Payment Method | [
|
|
26
|
-
**servicePaymentMethod** | **string** | Service Payment Method | [
|
|
27
|
-
**resellerId** | **string** | 3CX Reseller ID | [
|
|
28
|
-
**creationDate** | **string** | Creation Date | [
|
|
29
|
-
**prizePromo** | **boolean** | Prize Promo Enabled | [
|
|
30
|
-
**portalAccess** | **boolean** | Portal Access | [
|
|
31
|
-
**cname** | **string** | Wizard CNAME | [
|
|
9
|
+
**id** | **number** | ID | [default to undefined]
|
|
10
|
+
**name** | **string** | Contact Name | [default to undefined]
|
|
11
|
+
**email** | **string** | Email | [default to undefined]
|
|
12
|
+
**phone** | **string** | Phone Number | [default to undefined]
|
|
13
|
+
**company** | **string** | Company Name | [default to undefined]
|
|
14
|
+
**companyNumber** | **string** | Company Registration Number | [default to undefined]
|
|
15
|
+
**vatNumber** | **string** | VAT Number | [default to undefined]
|
|
16
|
+
**addressLine1** | **string** | Address Line 1 | [default to undefined]
|
|
17
|
+
**addressLine2** | **string** | Address Line 2 | [default to undefined]
|
|
18
|
+
**city** | **string** | City | [default to undefined]
|
|
19
|
+
**county** | **string** | County | [default to undefined]
|
|
20
|
+
**iso** | **string** | Country ISO Code | [default to undefined]
|
|
21
|
+
**postalCode** | **string** | Post Code | [default to undefined]
|
|
22
|
+
**accountNumber** | **string** | Account Number | [default to undefined]
|
|
23
|
+
**xeroId** | **string** | Xero Contact ID | [default to undefined]
|
|
24
|
+
**creditLimit** | **number** | Credit Limit | [default to undefined]
|
|
25
|
+
**paymentMethod** | **string** | Payment Method | [default to undefined]
|
|
26
|
+
**servicePaymentMethod** | **string** | Service Payment Method | [default to undefined]
|
|
27
|
+
**resellerId** | **string** | 3CX Reseller ID | [default to undefined]
|
|
28
|
+
**creationDate** | **string** | Creation Date | [default to undefined]
|
|
29
|
+
**prizePromo** | **boolean** | Prize Promo Enabled | [default to undefined]
|
|
30
|
+
**portalAccess** | **boolean** | Portal Access | [default to undefined]
|
|
31
|
+
**cname** | **string** | Wizard CNAME | [default to undefined]
|
|
32
32
|
**directDebitMandate** | **boolean** | Active Direct Debit Mandate | [optional] [default to undefined]
|
|
33
33
|
**navigation** | [**Array<NavigationModel>**](NavigationModel.md) | Portal Navigation | [optional] [default to undefined]
|
|
34
34
|
|
package/docs/PortalLoginModel.md
CHANGED
|
@@ -6,13 +6,13 @@ Portal Login
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**email** | **string** | Email Address | [
|
|
10
|
-
**password** | **string** | Password | [
|
|
11
|
-
**code** | **string** | MFA Code | [
|
|
12
|
-
**secret** | **string** | MFA Secret | [
|
|
13
|
-
**codeChallenge** | **string** | Oauth 2.0 code challenge | [
|
|
14
|
-
**codeVerifier** | **string** | Oauth 2.0 code verifier | [
|
|
15
|
-
**redirect_uri** | **string** | Oauth 2.0 code redirect uri | [
|
|
9
|
+
**email** | **string** | Email Address | [default to undefined]
|
|
10
|
+
**password** | **string** | Password | [default to undefined]
|
|
11
|
+
**code** | **string** | MFA Code | [default to undefined]
|
|
12
|
+
**secret** | **string** | MFA Secret | [default to undefined]
|
|
13
|
+
**codeChallenge** | **string** | Oauth 2.0 code challenge | [default to undefined]
|
|
14
|
+
**codeVerifier** | **string** | Oauth 2.0 code verifier | [default to undefined]
|
|
15
|
+
**redirect_uri** | **string** | Oauth 2.0 code redirect uri | [default to undefined]
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PostAddAdminNoteRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**note** | **string** | Note | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PostAddAdminNoteRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PostAddAdminNoteRequest = {
|
|
16
|
+
note,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**title** | **string** | Title | [
|
|
9
|
-
**xAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | X Axis | [
|
|
10
|
-
**yAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | Y Axis | [
|
|
11
|
-
**legend** | **Array<string>** | Legend | [
|
|
12
|
-
**series** | [**Array<SeriesDTO>**](SeriesDTO.md) | Series | [
|
|
8
|
+
**title** | **string** | Title | [default to undefined]
|
|
9
|
+
**xAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | X Axis | [default to undefined]
|
|
10
|
+
**yAxis** | [**Array<AxisDataDTO>**](AxisDataDTO.md) | Y Axis | [default to undefined]
|
|
11
|
+
**legend** | **Array<string>** | Legend | [default to undefined]
|
|
12
|
+
**series** | [**Array<SeriesDTO>**](SeriesDTO.md) | Series | [default to undefined]
|
|
13
13
|
**currency** | **string** | Currency | [optional] [default to undefined]
|
|
14
|
-
**locale** | **string** | Locale | [
|
|
15
|
-
**headers** | [**TableRowDTO**](TableRowDTO.md) | | [
|
|
16
|
-
**rows** | [**Array<TableRowDTO>**](TableRowDTO.md) | Rows | [
|
|
14
|
+
**locale** | **string** | Locale | [default to undefined]
|
|
15
|
+
**headers** | [**TableRowDTO**](TableRowDTO.md) | | [default to undefined]
|
|
16
|
+
**rows** | [**Array<TableRowDTO>**](TableRowDTO.md) | Rows | [default to undefined]
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PostGetProductRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
9
|
+
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
10
|
+
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PostGetProductRequest } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: PostGetProductRequest = {
|
|
18
|
+
quantity,
|
|
19
|
+
licenceKey,
|
|
20
|
+
hosting,
|
|
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)
|
|
@@ -6,9 +6,9 @@ Price & Stock List
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**title** | **string** | Title | [
|
|
9
|
+
**title** | **string** | Title | [default to undefined]
|
|
10
10
|
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
11
|
-
**price** | **number** | Price | [
|
|
11
|
+
**price** | **number** | Price | [default to undefined]
|
|
12
12
|
**rrp** | **number** | RRP | [optional] [default to undefined]
|
|
13
13
|
**stock** | **number** | Stock | [optional] [default to undefined]
|
|
14
14
|
|
package/docs/PricingApi.md
CHANGED
package/docs/PrinterEntity.md
CHANGED
|
@@ -6,11 +6,11 @@ PrintersEntity
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | id | [
|
|
10
|
-
**brand** | **string** | brand | [
|
|
11
|
-
**model** | **string** | model | [
|
|
12
|
-
**sn** | **string** | sn | [
|
|
13
|
-
**location** | **string** | location | [
|
|
9
|
+
**id** | **number** | id | [default to undefined]
|
|
10
|
+
**brand** | **string** | brand | [default to undefined]
|
|
11
|
+
**model** | **string** | model | [default to undefined]
|
|
12
|
+
**sn** | **string** | sn | [default to undefined]
|
|
13
|
+
**location** | **string** | location | [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
package/docs/PrizesEntity.md
CHANGED
|
@@ -6,12 +6,12 @@ PrizesEntity
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | id | [
|
|
10
|
-
**year** | **number** | year | [
|
|
11
|
-
**sku** | **string** | sku | [
|
|
12
|
-
**title** | **string** | title | [
|
|
13
|
-
**target** | **number** | target | [
|
|
14
|
-
**image** | **string** | image | [
|
|
9
|
+
**id** | **number** | id | [default to undefined]
|
|
10
|
+
**year** | **number** | year | [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [default to undefined]
|
|
12
|
+
**title** | **string** | title | [default to undefined]
|
|
13
|
+
**target** | **number** | target | [default to undefined]
|
|
14
|
+
**image** | **string** | image | [default to undefined]
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
@@ -6,16 +6,16 @@ Product Detailed Summary
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**sku** | **string** | SKU | [
|
|
10
|
-
**title** | **string** | Title | [
|
|
9
|
+
**sku** | **string** | SKU | [default to undefined]
|
|
10
|
+
**title** | **string** | Title | [default to undefined]
|
|
11
11
|
**quantity** | **number** | Stock Quantity | [optional] [default to undefined]
|
|
12
12
|
**stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
|
|
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
|
|
@@ -6,9 +6,9 @@ Product Price List Item
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**title** | **string** | Title | [
|
|
9
|
+
**title** | **string** | Title | [default to undefined]
|
|
10
10
|
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
11
|
-
**price** | **number** | Price | [
|
|
11
|
+
**price** | **number** | Price | [default to undefined]
|
|
12
12
|
**rrp** | **number** | RRP | [optional] [default to undefined]
|
|
13
13
|
**stock** | **number** | Stock | [optional] [default to undefined]
|
|
14
14
|
**brand** | **string** | Brand | [optional] [default to undefined]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# ProductPriceModel
|
|
2
|
+
|
|
3
|
+
Product Price
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**priceList** | [**CustomerPriceListEnum**](CustomerPriceListEnum.md) | | [default to undefined]
|
|
10
|
+
**price** | **number** | Price (£) | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ProductPriceModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: ProductPriceModel = {
|
|
18
|
+
priceList,
|
|
19
|
+
price,
|
|
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)
|
|
@@ -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)
|
|
@@ -6,7 +6,7 @@ Product Search Results
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**results** | [**Array<ProductSummaryDTO>**](ProductSummaryDTO.md) | Results | [
|
|
9
|
+
**results** | [**Array<ProductSummaryDTO>**](ProductSummaryDTO.md) | Results | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# ProductSerialInfoDTO
|
|
2
|
+
|
|
3
|
+
Product Serial Info Response
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sku** | **string** | SKU | [default to undefined]
|
|
10
|
+
**title** | **string** | Product Title | [default to undefined]
|
|
11
|
+
**mac** | **boolean** | Has MAC Address | [default to undefined]
|
|
12
|
+
**serialPrefixes** | **Array<string>** | Serial Prefix | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProductSerialInfoDTO } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: ProductSerialInfoDTO = {
|
|
20
|
+
sku,
|
|
21
|
+
title,
|
|
22
|
+
mac,
|
|
23
|
+
serialPrefixes,
|
|
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)
|
|
@@ -6,9 +6,9 @@ Product Serial Info
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**sku** | **string** | SKU | [
|
|
10
|
-
**title** | **string** | Product Title | [
|
|
11
|
-
**mac** | **boolean** | Has MAC Address | [
|
|
9
|
+
**sku** | **string** | SKU | [default to undefined]
|
|
10
|
+
**title** | **string** | Product Title | [default to undefined]
|
|
11
|
+
**mac** | **boolean** | Has MAC Address | [default to undefined]
|
|
12
12
|
**serial_prefixes** | **Array<string>** | Serial Prefix | [optional] [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
@@ -6,14 +6,14 @@ Product Summary
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**sku** | **string** | SKU | [
|
|
10
|
-
**title** | **string** | Title | [
|
|
9
|
+
**sku** | **string** | SKU | [default to undefined]
|
|
10
|
+
**title** | **string** | Title | [default to undefined]
|
|
11
11
|
**quantity** | **number** | Stock Quantity | [optional] [default to undefined]
|
|
12
12
|
**stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
|
|
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
|
@@ -7,16 +7,16 @@ PromoCodesEntity
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
-
**code** | **string** | code | [
|
|
11
|
-
**description** | **string** | description | [
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**
|
|
19
|
-
**
|
|
10
|
+
**code** | **string** | code | [default to undefined]
|
|
11
|
+
**description** | **string** | description | [default to undefined]
|
|
12
|
+
**startDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**endDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
+
**customerLimit** | **number** | customerLimit | [default to undefined]
|
|
15
|
+
**globalLimit** | **number** | globalLimit | [default to undefined]
|
|
16
|
+
**orderRestrictions** | **Array<string>** | orderRestrictions | [default to undefined]
|
|
17
|
+
**includeDistribution** | **boolean** | includeDistribution | [default to undefined]
|
|
18
|
+
**distributionOnly** | **boolean** | distributionOnly | [default to undefined]
|
|
19
|
+
**nfr** | **boolean** | nfr | [default to undefined]
|
|
20
20
|
**note** | **string** | note | [optional] [default to undefined]
|
|
21
21
|
|
|
22
22
|
## Example
|
|
@@ -28,14 +28,14 @@ const instance: PromoCodesEntity = {
|
|
|
28
28
|
id,
|
|
29
29
|
code,
|
|
30
30
|
description,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
expiry,
|
|
31
|
+
startDate,
|
|
32
|
+
endDate,
|
|
34
33
|
customerLimit,
|
|
35
34
|
globalLimit,
|
|
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 | [default to undefined]
|
|
10
|
+
**promoId** | **number** | promoId | [default to undefined]
|
|
11
|
+
**price** | **number** | price | [default to undefined]
|
|
12
|
+
**discount** | **number** | discount | [default to undefined]
|
|
13
|
+
**sku** | **string** | sku | [default to undefined]
|
|
14
|
+
**quantity** | **number** | quantity | [default to undefined]
|
|
15
|
+
**bulkQuantity** | **number** | bulkQuantity | [default to undefined]
|
|
16
|
+
**bulkAdd** | **number** | bulkAdd | [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)
|
package/docs/PromoItemsEntity.md
CHANGED
|
@@ -6,14 +6,14 @@ PromoItemsEntity
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | id | [
|
|
10
|
-
**promoId** | **number** | promoId | [
|
|
11
|
-
**price** | **number** | price | [
|
|
12
|
-
**discount** | **number** | discount | [
|
|
13
|
-
**sku** | **string** | sku | [
|
|
14
|
-
**quantity** | **number** | quantity | [
|
|
15
|
-
**bulkQuantity** | **number** | bulkQuantity | [
|
|
16
|
-
**bulkAdd** | **number** | bulkAdd | [
|
|
9
|
+
**id** | **number** | id | [default to undefined]
|
|
10
|
+
**promoId** | **number** | promoId | [default to undefined]
|
|
11
|
+
**price** | **number** | price | [default to undefined]
|
|
12
|
+
**discount** | **number** | discount | [default to undefined]
|
|
13
|
+
**sku** | **string** | sku | [default to undefined]
|
|
14
|
+
**quantity** | **number** | quantity | [default to undefined]
|
|
15
|
+
**bulkQuantity** | **number** | bulkQuantity | [default to undefined]
|
|
16
|
+
**bulkAdd** | **number** | bulkAdd | [default to undefined]
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
@@ -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 | [default to undefined]
|
|
11
|
+
**description** | **string** | description | [default to undefined]
|
|
12
|
+
**startDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**endDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
+
**customerLimit** | **number** | customerLimit | [default to undefined]
|
|
15
|
+
**globalLimit** | **number** | globalLimit | [default to undefined]
|
|
16
|
+
**orderRestrictions** | **Array<string>** | orderRestrictions | [default to undefined]
|
|
17
|
+
**includeDistribution** | **boolean** | includeDistribution | [default to undefined]
|
|
18
|
+
**distributionOnly** | **boolean** | distributionOnly | [default to undefined]
|
|
19
|
+
**nfr** | **boolean** | nfr | [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
|
+
startDate,
|
|
33
|
+
endDate,
|
|
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 | [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [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,31 @@
|
|
|
1
|
+
# PromoSummaryDTO
|
|
2
|
+
|
|
3
|
+
Promo Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Description | [default to undefined]
|
|
11
|
+
**code** | **string** | Promo Code | [default to undefined]
|
|
12
|
+
**startDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**endDate** | **string** | Date Time | [optional] [default to undefined]
|
|
14
|
+
**orders** | **number** | Orders | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PromoSummaryDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: PromoSummaryDTO = {
|
|
22
|
+
id,
|
|
23
|
+
description,
|
|
24
|
+
code,
|
|
25
|
+
startDate,
|
|
26
|
+
endDate,
|
|
27
|
+
orders,
|
|
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)
|