yellowgrid-api-ts 3.2.264 → 3.2.265-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 +417 -365
- package/.openapi-generator/VERSION +1 -1
- package/README.md +116 -3
- package/api.ts +9153 -3168
- package/base.ts +2 -2
- package/common.ts +3 -3
- package/config.json +4 -4
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11797 -8215
- package/dist/api.js +14308 -9052
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/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 +0 -5
- package/dist/models/ConnectionTypeEnum.js +0 -5
- 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/AbstractOrderRequestDTO.md +4 -4
- 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 +159 -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 +4 -4
- 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 +7 -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 +63 -5
- 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 +49 -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 +25 -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 +11 -3
- package/docs/CrmContactDTO.md +7 -7
- package/docs/CrmDateActivitiesDTO.md +1 -1
- 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 +4 -2
- package/docs/CustomerListAccountDTO.md +13 -13
- package/docs/CustomerOrderRequestDTO.md +4 -4
- 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 +4 -2
- package/docs/DetailedOrderRequestDTO.md +4 -4
- package/docs/DeviceModel.md +25 -0
- 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/{PostSplitOrderRequest.md → EmailRequestModel.md} +6 -5
- 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/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/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 +14 -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 +12 -10
- package/docs/OrderTotalModel.md +7 -7
- package/docs/OrderedItemEntity.md +14 -14
- package/docs/OrderedItemModel.md +14 -14
- package/docs/OrdersApi.md +119 -6
- package/docs/PartnerDTO.md +12 -10
- package/docs/PasswordSenderDTO.md +2 -2
- package/docs/PasswordSenderEntity.md +7 -7
- package/docs/PatchApproveRmaRequest.md +20 -0
- package/docs/PortalAccountModel.md +25 -23
- package/docs/PortalLoginModel.md +7 -7
- package/docs/PostGenerateReport200Response.md +8 -8
- package/docs/PriceListItemModel.md +2 -2
- package/docs/PricingApi.md +5 -5
- package/docs/PrinterEntity.md +5 -5
- package/docs/PrizesEntity.md +6 -6
- package/docs/ProductDetailedSummaryDTO.md +2 -2
- package/docs/ProductPriceListItemModel.md +2 -2
- package/docs/{StockProductPriceModel.md → ProductPriceModel.md} +5 -5
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/ProductSerialInfoDTO.md +27 -0
- package/docs/ProductSerialInfoModel.md +3 -3
- package/docs/ProductSummaryDTO.md +2 -2
- 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 +7 -7
- 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/RMAApi.md +1753 -0
- package/docs/ReasonRequestModel.md +21 -0
- package/docs/RecordingBackupAzureModel.md +4 -4
- package/docs/RemoteStorageDTO.md +4 -4
- package/docs/ReportRequestDTO.md +1 -1
- package/docs/ReportsApi.md +1 -1
- package/docs/RequestDTO.md +29 -0
- package/docs/ResolutionRequestModel.md +21 -0
- package/docs/ResourceNotReadyException.md +3 -3
- package/docs/ResponseDTO.md +33 -0
- 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 +4 -4
- 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/TcxInstallationModel.md +17 -17
- package/docs/TcxInstallationsModel.md +4 -4
- package/docs/TcxKeySummaryDTO.md +3 -3
- package/docs/TcxKeysEntity.md +7 -7
- 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/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/git_push.sh +14 -17
- package/index.ts +1 -1
- package/models/AgentEnum.ts +49 -0
- package/models/CategoryEnum.ts +109 -0
- package/models/ConnectionTypeEnum.ts +0 -5
- 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 +2 -2
package/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://api.local.yellowgrid.co.uk` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const AgentEnum = {
|
|
2
|
+
"ADAM_ALBISON": {
|
|
3
|
+
"name": "ADAM_ALBISON",
|
|
4
|
+
"value": 80003691891,
|
|
5
|
+
"publicValue": "Adam Albison"
|
|
6
|
+
},
|
|
7
|
+
"ADAM_CADMAN": {
|
|
8
|
+
"name": "ADAM_CADMAN",
|
|
9
|
+
"value": 80003691895,
|
|
10
|
+
"publicValue": "Adam Cadman"
|
|
11
|
+
},
|
|
12
|
+
"CRAIG_GRAHAM": {
|
|
13
|
+
"name": "CRAIG_GRAHAM",
|
|
14
|
+
"value": 80003691704,
|
|
15
|
+
"publicValue": "Craig Graham"
|
|
16
|
+
},
|
|
17
|
+
"DANIEL_BUTTERWORTH": {
|
|
18
|
+
"name": "DANIEL_BUTTERWORTH",
|
|
19
|
+
"value": 80005134852,
|
|
20
|
+
"publicValue": "Daniel Butterworth"
|
|
21
|
+
},
|
|
22
|
+
"DAVID_HOPE": {
|
|
23
|
+
"name": "DAVID_HOPE",
|
|
24
|
+
"value": 80053071801,
|
|
25
|
+
"publicValue": "David Hope"
|
|
26
|
+
},
|
|
27
|
+
"JACOB_BASQUILL": {
|
|
28
|
+
"name": "JACOB_BASQUILL",
|
|
29
|
+
"value": 80118862524,
|
|
30
|
+
"publicValue": "Jacob Basquill"
|
|
31
|
+
},
|
|
32
|
+
"JOSH_IRELAND": {
|
|
33
|
+
"name": "JOSH_IRELAND",
|
|
34
|
+
"value": 80090558320,
|
|
35
|
+
"publicValue": "Josh Ireland"
|
|
36
|
+
},
|
|
37
|
+
"PHILIP_SLATER": {
|
|
38
|
+
"name": "PHILIP_SLATER",
|
|
39
|
+
"value": 80007256845,
|
|
40
|
+
"publicValue": "Philip Slater"
|
|
41
|
+
},
|
|
42
|
+
"TOMI_OLUWAYOMI": {
|
|
43
|
+
"name": "TOMI_OLUWAYOMI",
|
|
44
|
+
"value": 80105333618,
|
|
45
|
+
"publicValue": "Tomi Oluwayomi"
|
|
46
|
+
}
|
|
47
|
+
} as const;
|
|
48
|
+
|
|
49
|
+
export type AgentEnum = typeof AgentEnum;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export const CategoryEnum = {
|
|
2
|
+
"VOIP_PHONES": {
|
|
3
|
+
"name": "VOIP_PHONES",
|
|
4
|
+
"value": "VoIP Phones",
|
|
5
|
+
"publicValue": "VoIP Phones"
|
|
6
|
+
},
|
|
7
|
+
"YEALINK": {
|
|
8
|
+
"name": "YEALINK",
|
|
9
|
+
"value": "Yealink",
|
|
10
|
+
"publicValue": "Yealink"
|
|
11
|
+
},
|
|
12
|
+
"MAIRDI": {
|
|
13
|
+
"name": "MAIRDI",
|
|
14
|
+
"value": "Mairdi",
|
|
15
|
+
"publicValue": "Mairdi"
|
|
16
|
+
},
|
|
17
|
+
"JABRA": {
|
|
18
|
+
"name": "JABRA",
|
|
19
|
+
"value": "Jabra",
|
|
20
|
+
"publicValue": "Jabra"
|
|
21
|
+
},
|
|
22
|
+
"TCX": {
|
|
23
|
+
"name": "TCX",
|
|
24
|
+
"value": "3CX",
|
|
25
|
+
"publicValue": "3CX"
|
|
26
|
+
},
|
|
27
|
+
"FANVIL": {
|
|
28
|
+
"name": "FANVIL",
|
|
29
|
+
"value": "Fanvil",
|
|
30
|
+
"publicValue": "Fanvil"
|
|
31
|
+
},
|
|
32
|
+
"VT": {
|
|
33
|
+
"name": "VT",
|
|
34
|
+
"value": "VT",
|
|
35
|
+
"publicValue": "VT"
|
|
36
|
+
},
|
|
37
|
+
"NETGEAR": {
|
|
38
|
+
"name": "NETGEAR",
|
|
39
|
+
"value": "Netgear",
|
|
40
|
+
"publicValue": "Netgear"
|
|
41
|
+
},
|
|
42
|
+
"ALGO": {
|
|
43
|
+
"name": "ALGO",
|
|
44
|
+
"value": "Algo",
|
|
45
|
+
"publicValue": "Algo"
|
|
46
|
+
},
|
|
47
|
+
"YEALINK_HEADSETS": {
|
|
48
|
+
"name": "YEALINK_HEADSETS",
|
|
49
|
+
"value": "Yealink Headsets",
|
|
50
|
+
"publicValue": "Yealink Headsets"
|
|
51
|
+
},
|
|
52
|
+
"YEALINK_DECT_HANDSETS": {
|
|
53
|
+
"name": "YEALINK_DECT_HANDSETS",
|
|
54
|
+
"value": "Yealink DECT Handsets",
|
|
55
|
+
"publicValue": "Yealink DECT Handsets"
|
|
56
|
+
},
|
|
57
|
+
"YEALINK_DECT_HEADSETS": {
|
|
58
|
+
"name": "YEALINK_DECT_HEADSETS",
|
|
59
|
+
"value": "Yealink DECT Headsets",
|
|
60
|
+
"publicValue": "Yealink DECT Headsets"
|
|
61
|
+
},
|
|
62
|
+
"YEALINK_BT_HEADSETS": {
|
|
63
|
+
"name": "YEALINK_BT_HEADSETS",
|
|
64
|
+
"value": "Yealink BT Headsets",
|
|
65
|
+
"publicValue": "Yealink BT Headsets"
|
|
66
|
+
},
|
|
67
|
+
"YEALINK_USB_WIRED_HEADSETS": {
|
|
68
|
+
"name": "YEALINK_USB_WIRED_HEADSETS",
|
|
69
|
+
"value": "Yealink USB Wired Headsets",
|
|
70
|
+
"publicValue": "Yealink USB Wired Headsets"
|
|
71
|
+
},
|
|
72
|
+
"YEALINK_MEETING_ROOMS": {
|
|
73
|
+
"name": "YEALINK_MEETING_ROOMS",
|
|
74
|
+
"value": "Yealink Meeting Rooms",
|
|
75
|
+
"publicValue": "Yealink Meeting Rooms"
|
|
76
|
+
},
|
|
77
|
+
"FANVIL_VOIP_PHONES": {
|
|
78
|
+
"name": "FANVIL_VOIP_PHONES",
|
|
79
|
+
"value": "Fanvil Phones",
|
|
80
|
+
"publicValue": "Fanvil Phones"
|
|
81
|
+
},
|
|
82
|
+
"FANVIL_HEADSETS": {
|
|
83
|
+
"name": "FANVIL_HEADSETS",
|
|
84
|
+
"value": "Fanvil Headsets",
|
|
85
|
+
"publicValue": "Fanvil Headsets"
|
|
86
|
+
},
|
|
87
|
+
"FANVIL_WIRELESS": {
|
|
88
|
+
"name": "FANVIL_WIRELESS",
|
|
89
|
+
"value": "Fanvil Wireless Phones",
|
|
90
|
+
"publicValue": "Fanvil Wireless Phones"
|
|
91
|
+
},
|
|
92
|
+
"FANVIL_SECURITY_PRODUCTS": {
|
|
93
|
+
"name": "FANVIL_SECURITY_PRODUCTS",
|
|
94
|
+
"value": "Fanvil Security Products",
|
|
95
|
+
"publicValue": "Fanvil Security Products"
|
|
96
|
+
},
|
|
97
|
+
"FANVIL_ACCESSORIES": {
|
|
98
|
+
"name": "FANVIL_ACCESSORIES",
|
|
99
|
+
"value": "Fanvil Accessories",
|
|
100
|
+
"publicValue": "Fanvil Accessories"
|
|
101
|
+
},
|
|
102
|
+
"FANVIL_HOTEL_PHONES": {
|
|
103
|
+
"name": "FANVIL_HOTEL_PHONES",
|
|
104
|
+
"value": "Fanvil Hotel Phones",
|
|
105
|
+
"publicValue": "Fanvil Hotel Phones"
|
|
106
|
+
}
|
|
107
|
+
} as const;
|
|
108
|
+
|
|
109
|
+
export type CategoryEnum = typeof CategoryEnum;
|
|
@@ -49,11 +49,6 @@ export const ConnectionTypeEnum = {
|
|
|
49
49
|
"value": "Starter Bundle",
|
|
50
50
|
"publicValue": "Starter Bundle"
|
|
51
51
|
},
|
|
52
|
-
"OTHER": {
|
|
53
|
-
"name": "OTHER",
|
|
54
|
-
"value": "Other",
|
|
55
|
-
"publicValue": "Other"
|
|
56
|
-
},
|
|
57
52
|
"RECURRING_CHARGES": {
|
|
58
53
|
"name": "RECURRING_CHARGES",
|
|
59
54
|
"value": "Recurring Charges",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const ReasonEnum = {
|
|
2
|
+
"DOA": {
|
|
3
|
+
"name": "DOA",
|
|
4
|
+
"value": 1,
|
|
5
|
+
"publicValue": "Dead On Arrival"
|
|
6
|
+
},
|
|
7
|
+
"FAULTY": {
|
|
8
|
+
"name": "FAULTY",
|
|
9
|
+
"value": 2,
|
|
10
|
+
"publicValue": "Faulty"
|
|
11
|
+
},
|
|
12
|
+
"WORKING": {
|
|
13
|
+
"name": "WORKING",
|
|
14
|
+
"value": 3,
|
|
15
|
+
"publicValue": "Working (Good Condition)"
|
|
16
|
+
}
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export type ReasonEnum = typeof ReasonEnum;
|
package/models/ReportEnum.ts
CHANGED
|
@@ -7,7 +7,7 @@ export const ReportEnum = {
|
|
|
7
7
|
"POS": {
|
|
8
8
|
"name": "POS",
|
|
9
9
|
"value": 2,
|
|
10
|
-
"publicValue": "POS"
|
|
10
|
+
"publicValue": "Fanvil POS"
|
|
11
11
|
},
|
|
12
12
|
"CUSTOMER_SPEND": {
|
|
13
13
|
"name": "CUSTOMER_SPEND",
|
|
@@ -63,6 +63,16 @@ export const ReportEnum = {
|
|
|
63
63
|
"name": "BILLING_UNCONNECTED_SERVICES",
|
|
64
64
|
"value": 13,
|
|
65
65
|
"publicValue": "Billing - Unconnected Services"
|
|
66
|
+
},
|
|
67
|
+
"TCX_VALUE_ADD": {
|
|
68
|
+
"name": "TCX_VALUE_ADD",
|
|
69
|
+
"value": 14,
|
|
70
|
+
"publicValue": "3CX Value Add"
|
|
71
|
+
},
|
|
72
|
+
"TCX_NEW_PARTNERS": {
|
|
73
|
+
"name": "TCX_NEW_PARTNERS",
|
|
74
|
+
"value": 15,
|
|
75
|
+
"publicValue": "3CX New Partners"
|
|
66
76
|
}
|
|
67
77
|
} as const;
|
|
68
78
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const ResolutionEnum = {
|
|
2
|
+
"REPLACEMENT": {
|
|
3
|
+
"name": "REPLACEMENT",
|
|
4
|
+
"value": 1,
|
|
5
|
+
"publicValue": "Replacement"
|
|
6
|
+
},
|
|
7
|
+
"CREDIT": {
|
|
8
|
+
"name": "CREDIT",
|
|
9
|
+
"value": 2,
|
|
10
|
+
"publicValue": "Credit"
|
|
11
|
+
},
|
|
12
|
+
"ADVANCE_REPLACEMENT": {
|
|
13
|
+
"name": "ADVANCE_REPLACEMENT",
|
|
14
|
+
"value": 3,
|
|
15
|
+
"publicValue": "Advance Replacement"
|
|
16
|
+
}
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export type ResolutionEnum = typeof ResolutionEnum;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const RmaItemCreditTypeEnum = {
|
|
2
|
+
"FULL": {
|
|
3
|
+
"name": "FULL",
|
|
4
|
+
"value": 100,
|
|
5
|
+
"publicValue": "Full (100%)"
|
|
6
|
+
},
|
|
7
|
+
"RESTOCKING_FEE": {
|
|
8
|
+
"name": "RESTOCKING_FEE",
|
|
9
|
+
"value": 85,
|
|
10
|
+
"publicValue": "Restocking Fee (85%)"
|
|
11
|
+
}
|
|
12
|
+
} as const;
|
|
13
|
+
|
|
14
|
+
export type RmaItemCreditTypeEnum = typeof RmaItemCreditTypeEnum;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const RmaItemResolutionEnum = {
|
|
2
|
+
"UNRESOLVED": {
|
|
3
|
+
"name": "UNRESOLVED",
|
|
4
|
+
"value": 1,
|
|
5
|
+
"publicValue": "Unresolved"
|
|
6
|
+
},
|
|
7
|
+
"REPLACED": {
|
|
8
|
+
"name": "REPLACED",
|
|
9
|
+
"value": 2,
|
|
10
|
+
"publicValue": "Replaced"
|
|
11
|
+
},
|
|
12
|
+
"CREDITED": {
|
|
13
|
+
"name": "CREDITED",
|
|
14
|
+
"value": 3,
|
|
15
|
+
"publicValue": "Credited"
|
|
16
|
+
},
|
|
17
|
+
"RETURNED": {
|
|
18
|
+
"name": "RETURNED",
|
|
19
|
+
"value": 4,
|
|
20
|
+
"publicValue": "Returned"
|
|
21
|
+
},
|
|
22
|
+
"BINNED": {
|
|
23
|
+
"name": "BINNED",
|
|
24
|
+
"value": 5,
|
|
25
|
+
"publicValue": "Binned"
|
|
26
|
+
}
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type RmaItemResolutionEnum = typeof RmaItemResolutionEnum;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const RmaItemStatusEnum = {
|
|
2
|
+
"NOT_RECEIVED": {
|
|
3
|
+
"name": "NOT_RECEIVED",
|
|
4
|
+
"value": 1,
|
|
5
|
+
"publicValue": "Not Received"
|
|
6
|
+
},
|
|
7
|
+
"IN_PROGRESS": {
|
|
8
|
+
"name": "IN_PROGRESS",
|
|
9
|
+
"value": 2,
|
|
10
|
+
"publicValue": "In Progress"
|
|
11
|
+
},
|
|
12
|
+
"RESOLVED": {
|
|
13
|
+
"name": "RESOLVED",
|
|
14
|
+
"value": 3,
|
|
15
|
+
"publicValue": "Resolved"
|
|
16
|
+
}
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export type RmaItemStatusEnum = typeof RmaItemStatusEnum;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const RmaStatusEnum = {
|
|
2
|
+
"OPEN": {
|
|
3
|
+
"name": "OPEN",
|
|
4
|
+
"value": 1,
|
|
5
|
+
"publicValue": "Open"
|
|
6
|
+
},
|
|
7
|
+
"AWAITING_ITEMS": {
|
|
8
|
+
"name": "AWAITING_ITEMS",
|
|
9
|
+
"value": 2,
|
|
10
|
+
"publicValue": "Awaiting Items"
|
|
11
|
+
},
|
|
12
|
+
"IN_PROGRESS": {
|
|
13
|
+
"name": "IN_PROGRESS",
|
|
14
|
+
"value": 3,
|
|
15
|
+
"publicValue": "In Progress"
|
|
16
|
+
},
|
|
17
|
+
"RESOLVED": {
|
|
18
|
+
"name": "RESOLVED",
|
|
19
|
+
"value": 4,
|
|
20
|
+
"publicValue": "Resolved"
|
|
21
|
+
},
|
|
22
|
+
"REJECTED": {
|
|
23
|
+
"name": "REJECTED",
|
|
24
|
+
"value": 5,
|
|
25
|
+
"publicValue": "Rejected"
|
|
26
|
+
},
|
|
27
|
+
"ARCHIVED": {
|
|
28
|
+
"name": "ARCHIVED",
|
|
29
|
+
"value": 6,
|
|
30
|
+
"publicValue": "Archived"
|
|
31
|
+
}
|
|
32
|
+
} as const;
|
|
33
|
+
|
|
34
|
+
export type RmaStatusEnum = typeof RmaStatusEnum;
|
package/openapitools.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yellowgrid-api-ts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.265-dev.0",
|
|
4
4
|
"description": "OpenAPI client for yellowgrid-api-ts",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepare": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"axios": "1.
|
|
25
|
+
"axios": "1.20.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "12.11.5 - 12.20.42",
|