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/docs/BillingApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# BillingApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
@@ -61,6 +61,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
61
61
|
|[**postUpdateRecurringCharge**](#postupdaterecurringcharge) | **POST** /billing/customer/updateRecurringCharges | |
|
|
62
62
|
|[**putAddCallTariffToCallTariffPlan**](#putaddcalltarifftocalltariffplan) | **PUT** /billing/admin/callTariffPlan/callTariff | |
|
|
63
63
|
|[**putAddServiceToServicePlan**](#putaddservicetoserviceplan) | **PUT** /billing/admin/servicePlan/service | |
|
|
64
|
+
|[**putChangeParent**](#putchangeparent) | **PUT** /billing/admin/parent/change | |
|
|
64
65
|
|[**putConnectionSearch**](#putconnectionsearch) | **PUT** /billing/admin/connections | |
|
|
65
66
|
|[**putConvertChildToParent**](#putconvertchildtoparent) | **PUT** /billing/customer/makeParent | |
|
|
66
67
|
|[**putDisableBundles**](#putdisablebundles) | **PUT** /billing/customer/disableBundles | |
|
|
@@ -1361,7 +1362,7 @@ import {
|
|
|
1361
1362
|
const configuration = new Configuration();
|
|
1362
1363
|
const apiInstance = new BillingApi(configuration);
|
|
1363
1364
|
|
|
1364
|
-
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | '
|
|
1365
|
+
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'; //Connection Type (optional) (default to undefined)
|
|
1365
1366
|
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
1366
1367
|
|
|
1367
1368
|
const { status, data } = await apiInstance.getGetConnections(
|
|
@@ -1374,7 +1375,7 @@ const { status, data } = await apiInstance.getGetConnections(
|
|
|
1374
1375
|
|
|
1375
1376
|
|Name | Type | Description | Notes|
|
|
1376
1377
|
|------------- | ------------- | ------------- | -------------|
|
|
1377
|
-
| **type** | [**'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | '
|
|
1378
|
+
| **type** | [**'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'**]**Array<'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'>** | Connection Type | (optional) defaults to undefined|
|
|
1378
1379
|
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
1379
1380
|
|
|
1380
1381
|
|
|
@@ -1720,7 +1721,7 @@ import {
|
|
|
1720
1721
|
const configuration = new Configuration();
|
|
1721
1722
|
const apiInstance = new BillingApi(configuration);
|
|
1722
1723
|
|
|
1723
|
-
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | '
|
|
1724
|
+
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'; //Connection Type (optional) (default to undefined)
|
|
1724
1725
|
|
|
1725
1726
|
const { status, data } = await apiInstance.getGetServicesPlanDetails(
|
|
1726
1727
|
type
|
|
@@ -1731,7 +1732,7 @@ const { status, data } = await apiInstance.getGetServicesPlanDetails(
|
|
|
1731
1732
|
|
|
1732
1733
|
|Name | Type | Description | Notes|
|
|
1733
1734
|
|------------- | ------------- | ------------- | -------------|
|
|
1734
|
-
| **type** | [**'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | '
|
|
1735
|
+
| **type** | [**'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'**]**Array<'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Recurring Charges' | 'SMS' | 'CFD' | 'EdTechPro'>** | Connection Type | (optional) defaults to undefined|
|
|
1735
1736
|
|
|
1736
1737
|
|
|
1737
1738
|
### Return type
|
|
@@ -3154,6 +3155,63 @@ No authorization required
|
|
|
3154
3155
|
|
|
3155
3156
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3156
3157
|
|
|
3158
|
+
# **putChangeParent**
|
|
3159
|
+
> Customer putChangeParent()
|
|
3160
|
+
|
|
3161
|
+
Change Parent
|
|
3162
|
+
|
|
3163
|
+
### Example
|
|
3164
|
+
|
|
3165
|
+
```typescript
|
|
3166
|
+
import {
|
|
3167
|
+
BillingApi,
|
|
3168
|
+
Configuration
|
|
3169
|
+
} from 'yellowgrid-api-ts';
|
|
3170
|
+
|
|
3171
|
+
const configuration = new Configuration();
|
|
3172
|
+
const apiInstance = new BillingApi(configuration);
|
|
3173
|
+
|
|
3174
|
+
let parentId: number; //Parent ID (optional) (default to undefined)
|
|
3175
|
+
let childId: number; //Child ID (optional) (default to undefined)
|
|
3176
|
+
|
|
3177
|
+
const { status, data } = await apiInstance.putChangeParent(
|
|
3178
|
+
parentId,
|
|
3179
|
+
childId
|
|
3180
|
+
);
|
|
3181
|
+
```
|
|
3182
|
+
|
|
3183
|
+
### Parameters
|
|
3184
|
+
|
|
3185
|
+
|Name | Type | Description | Notes|
|
|
3186
|
+
|------------- | ------------- | ------------- | -------------|
|
|
3187
|
+
| **parentId** | [**number**] | Parent ID | (optional) defaults to undefined|
|
|
3188
|
+
| **childId** | [**number**] | Child ID | (optional) defaults to undefined|
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
### Return type
|
|
3192
|
+
|
|
3193
|
+
**Customer**
|
|
3194
|
+
|
|
3195
|
+
### Authorization
|
|
3196
|
+
|
|
3197
|
+
No authorization required
|
|
3198
|
+
|
|
3199
|
+
### HTTP request headers
|
|
3200
|
+
|
|
3201
|
+
- **Content-Type**: Not defined
|
|
3202
|
+
- **Accept**: application/json
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
### HTTP response details
|
|
3206
|
+
| Status code | Description | Response headers |
|
|
3207
|
+
|-------------|-------------|------------------|
|
|
3208
|
+
|**200** | Customer | - |
|
|
3209
|
+
|**400** | Bad Request | - |
|
|
3210
|
+
|**401** | Unauthorised | - |
|
|
3211
|
+
|**403** | Access Denied | - |
|
|
3212
|
+
|
|
3213
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3214
|
+
|
|
3157
3215
|
# **putConnectionSearch**
|
|
3158
3216
|
> OutboundCli putConnectionSearch(putConnectionSearchRequest)
|
|
3159
3217
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# BrandedVideoSummaryDTO
|
|
2
|
+
|
|
3
|
+
Branded Video Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [default to undefined]
|
|
10
|
+
**customerId** | **number** | Customer ID | [default to undefined]
|
|
11
|
+
**company** | **string** | Company | [default to undefined]
|
|
12
|
+
**type** | **string** | Type | [default to undefined]
|
|
13
|
+
**video** | **string** | Video | [default to undefined]
|
|
14
|
+
**email** | **string** | Email | [default to undefined]
|
|
15
|
+
**website** | **string** | Website | [default to undefined]
|
|
16
|
+
**telephone** | **string** | Telephone | [default to undefined]
|
|
17
|
+
**invoiceNumber** | **string** | Invoice Number | [optional] [default to undefined]
|
|
18
|
+
**requestDate** | **string** | Request Date | [optional] [default to undefined]
|
|
19
|
+
**dueDate** | **string** | Due Date | [optional] [default to undefined]
|
|
20
|
+
**oneDriveId** | **string** | OneDrive ID | [optional] [default to undefined]
|
|
21
|
+
**status** | **string** | Status | [default to undefined]
|
|
22
|
+
**notes** | **string** | Notes | [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { BrandedVideoSummaryDTO } from 'yellowgrid-api-ts';
|
|
28
|
+
|
|
29
|
+
const instance: BrandedVideoSummaryDTO = {
|
|
30
|
+
id,
|
|
31
|
+
customerId,
|
|
32
|
+
company,
|
|
33
|
+
type,
|
|
34
|
+
video,
|
|
35
|
+
email,
|
|
36
|
+
website,
|
|
37
|
+
telephone,
|
|
38
|
+
invoiceNumber,
|
|
39
|
+
requestDate,
|
|
40
|
+
dueDate,
|
|
41
|
+
oneDriveId,
|
|
42
|
+
status,
|
|
43
|
+
notes,
|
|
44
|
+
};
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
[[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,424 @@
|
|
|
1
|
+
# BrandedVideosApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteDeleteVideoRequest**](#deletedeletevideorequest) | **DELETE** /marketing/videos/{id} | |
|
|
8
|
+
|[**getDownloadLogo**](#getdownloadlogo) | **GET** /marketing/videos/logo | |
|
|
9
|
+
|[**getGetBrandedVideos**](#getgetbrandedvideos) | **GET** /marketing/videos | |
|
|
10
|
+
|[**getGetThumbnails**](#getgetthumbnails) | **GET** /marketing/videos/thumbnails | |
|
|
11
|
+
|[**postDownloadLogo**](#postdownloadlogo) | **POST** /marketing/videos/logo | |
|
|
12
|
+
|[**postSendBrandedVideoEmail**](#postsendbrandedvideoemail) | **POST** /marketing/videos/{id}/send | |
|
|
13
|
+
|[**postUploadVideo**](#postuploadvideo) | **POST** /marketing/videos/{id}/upload | |
|
|
14
|
+
|
|
15
|
+
# **deleteDeleteVideoRequest**
|
|
16
|
+
> deleteDeleteVideoRequest()
|
|
17
|
+
|
|
18
|
+
Send Branded Video Email
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
BrandedVideosApi,
|
|
25
|
+
Configuration
|
|
26
|
+
} from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
30
|
+
|
|
31
|
+
let id: number; //Video ID (default to undefined)
|
|
32
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.deleteDeleteVideoRequest(
|
|
35
|
+
id,
|
|
36
|
+
customerId
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **id** | [**number**] | Video ID | defaults to undefined|
|
|
45
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
void (empty response body)
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
No authorization required
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: Not defined
|
|
59
|
+
- **Accept**: Not defined
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | No Response | - |
|
|
66
|
+
|**400** | Bad Request | - |
|
|
67
|
+
|**401** | Unauthorised | - |
|
|
68
|
+
|**403** | Access Denied | - |
|
|
69
|
+
|
|
70
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
71
|
+
|
|
72
|
+
# **getDownloadLogo**
|
|
73
|
+
> string getDownloadLogo()
|
|
74
|
+
|
|
75
|
+
Get Customer Logo
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
BrandedVideosApi,
|
|
82
|
+
Configuration
|
|
83
|
+
} from 'yellowgrid-api-ts';
|
|
84
|
+
|
|
85
|
+
const configuration = new Configuration();
|
|
86
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
87
|
+
|
|
88
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
89
|
+
|
|
90
|
+
const { status, data } = await apiInstance.getDownloadLogo(
|
|
91
|
+
customerId
|
|
92
|
+
);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|Name | Type | Description | Notes|
|
|
98
|
+
|------------- | ------------- | ------------- | -------------|
|
|
99
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
**string**
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
No authorization required
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: Not defined
|
|
113
|
+
- **Accept**: application/json
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### HTTP response details
|
|
117
|
+
| Status code | Description | Response headers |
|
|
118
|
+
|-------------|-------------|------------------|
|
|
119
|
+
|**200** | Logo URL | - |
|
|
120
|
+
|**400** | Bad Request | - |
|
|
121
|
+
|**401** | Unauthorised | - |
|
|
122
|
+
|**403** | Access Denied | - |
|
|
123
|
+
|
|
124
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
125
|
+
|
|
126
|
+
# **getGetBrandedVideos**
|
|
127
|
+
> BrandedVideosSummariesModel getGetBrandedVideos()
|
|
128
|
+
|
|
129
|
+
Get Branded Videos
|
|
130
|
+
|
|
131
|
+
### Example
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
import {
|
|
135
|
+
BrandedVideosApi,
|
|
136
|
+
Configuration
|
|
137
|
+
} from 'yellowgrid-api-ts';
|
|
138
|
+
|
|
139
|
+
const configuration = new Configuration();
|
|
140
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
141
|
+
|
|
142
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
143
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
144
|
+
let search: string; //Search (optional) (default to undefined)
|
|
145
|
+
let type: 'paid' | 'reward' | 'sample'; //Type (optional) (default to undefined)
|
|
146
|
+
let outstanding: boolean; //Outstanding (optional) (default to undefined)
|
|
147
|
+
let overdue: boolean; //Overdue (optional) (default to undefined)
|
|
148
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
149
|
+
|
|
150
|
+
const { status, data } = await apiInstance.getGetBrandedVideos(
|
|
151
|
+
pageSize,
|
|
152
|
+
page,
|
|
153
|
+
search,
|
|
154
|
+
type,
|
|
155
|
+
outstanding,
|
|
156
|
+
overdue,
|
|
157
|
+
customerId
|
|
158
|
+
);
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Parameters
|
|
162
|
+
|
|
163
|
+
|Name | Type | Description | Notes|
|
|
164
|
+
|------------- | ------------- | ------------- | -------------|
|
|
165
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
166
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
167
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
168
|
+
| **type** | [**'paid' | 'reward' | 'sample'**]**Array<'paid' | 'reward' | 'sample'>** | Type | (optional) defaults to undefined|
|
|
169
|
+
| **outstanding** | [**boolean**] | Outstanding | (optional) defaults to undefined|
|
|
170
|
+
| **overdue** | [**boolean**] | Overdue | (optional) defaults to undefined|
|
|
171
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
### Return type
|
|
175
|
+
|
|
176
|
+
**BrandedVideosSummariesModel**
|
|
177
|
+
|
|
178
|
+
### Authorization
|
|
179
|
+
|
|
180
|
+
No authorization required
|
|
181
|
+
|
|
182
|
+
### HTTP request headers
|
|
183
|
+
|
|
184
|
+
- **Content-Type**: Not defined
|
|
185
|
+
- **Accept**: application/json
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### HTTP response details
|
|
189
|
+
| Status code | Description | Response headers |
|
|
190
|
+
|-------------|-------------|------------------|
|
|
191
|
+
|**200** | Branded Video Summaries | - |
|
|
192
|
+
|**400** | Bad Request | - |
|
|
193
|
+
|**401** | Unauthorised | - |
|
|
194
|
+
|**403** | Access Denied | - |
|
|
195
|
+
|
|
196
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
197
|
+
|
|
198
|
+
# **getGetThumbnails**
|
|
199
|
+
> Array<ThumbnailDTO> getGetThumbnails()
|
|
200
|
+
|
|
201
|
+
Get Thumbnails
|
|
202
|
+
|
|
203
|
+
### Example
|
|
204
|
+
|
|
205
|
+
```typescript
|
|
206
|
+
import {
|
|
207
|
+
BrandedVideosApi,
|
|
208
|
+
Configuration
|
|
209
|
+
} from 'yellowgrid-api-ts';
|
|
210
|
+
|
|
211
|
+
const configuration = new Configuration();
|
|
212
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
213
|
+
|
|
214
|
+
const { status, data } = await apiInstance.getGetThumbnails();
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Parameters
|
|
218
|
+
This endpoint does not have any parameters.
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Return type
|
|
222
|
+
|
|
223
|
+
**Array<ThumbnailDTO>**
|
|
224
|
+
|
|
225
|
+
### Authorization
|
|
226
|
+
|
|
227
|
+
No authorization required
|
|
228
|
+
|
|
229
|
+
### HTTP request headers
|
|
230
|
+
|
|
231
|
+
- **Content-Type**: Not defined
|
|
232
|
+
- **Accept**: application/json
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
### HTTP response details
|
|
236
|
+
| Status code | Description | Response headers |
|
|
237
|
+
|-------------|-------------|------------------|
|
|
238
|
+
|**200** | Thumbnails | - |
|
|
239
|
+
|**400** | Bad Request | - |
|
|
240
|
+
|**401** | Unauthorised | - |
|
|
241
|
+
|**403** | Access Denied | - |
|
|
242
|
+
|
|
243
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
244
|
+
|
|
245
|
+
# **postDownloadLogo**
|
|
246
|
+
> postDownloadLogo()
|
|
247
|
+
|
|
248
|
+
Upload logo
|
|
249
|
+
|
|
250
|
+
### Example
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
import {
|
|
254
|
+
BrandedVideosApi,
|
|
255
|
+
Configuration
|
|
256
|
+
} from 'yellowgrid-api-ts';
|
|
257
|
+
|
|
258
|
+
const configuration = new Configuration();
|
|
259
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
260
|
+
|
|
261
|
+
let logo: File; //Logo (default to undefined)
|
|
262
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
263
|
+
|
|
264
|
+
const { status, data } = await apiInstance.postDownloadLogo(
|
|
265
|
+
logo,
|
|
266
|
+
customerId
|
|
267
|
+
);
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Parameters
|
|
271
|
+
|
|
272
|
+
|Name | Type | Description | Notes|
|
|
273
|
+
|------------- | ------------- | ------------- | -------------|
|
|
274
|
+
| **logo** | [**File**] | Logo | defaults to undefined|
|
|
275
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Return type
|
|
279
|
+
|
|
280
|
+
void (empty response body)
|
|
281
|
+
|
|
282
|
+
### Authorization
|
|
283
|
+
|
|
284
|
+
No authorization required
|
|
285
|
+
|
|
286
|
+
### HTTP request headers
|
|
287
|
+
|
|
288
|
+
- **Content-Type**: multipart/form-data
|
|
289
|
+
- **Accept**: Not defined
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
### HTTP response details
|
|
293
|
+
| Status code | Description | Response headers |
|
|
294
|
+
|-------------|-------------|------------------|
|
|
295
|
+
|**200** | No Response | - |
|
|
296
|
+
|**400** | Bad Request | - |
|
|
297
|
+
|**401** | Unauthorised | - |
|
|
298
|
+
|**403** | Access Denied | - |
|
|
299
|
+
|
|
300
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
301
|
+
|
|
302
|
+
# **postSendBrandedVideoEmail**
|
|
303
|
+
> postSendBrandedVideoEmail()
|
|
304
|
+
|
|
305
|
+
Send Branded Video Email
|
|
306
|
+
|
|
307
|
+
### Example
|
|
308
|
+
|
|
309
|
+
```typescript
|
|
310
|
+
import {
|
|
311
|
+
BrandedVideosApi,
|
|
312
|
+
Configuration
|
|
313
|
+
} from 'yellowgrid-api-ts';
|
|
314
|
+
|
|
315
|
+
const configuration = new Configuration();
|
|
316
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
317
|
+
|
|
318
|
+
let email: string; //Email (default to undefined)
|
|
319
|
+
let id: number; //Video ID (default to undefined)
|
|
320
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
321
|
+
|
|
322
|
+
const { status, data } = await apiInstance.postSendBrandedVideoEmail(
|
|
323
|
+
email,
|
|
324
|
+
id,
|
|
325
|
+
customerId
|
|
326
|
+
);
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Parameters
|
|
330
|
+
|
|
331
|
+
|Name | Type | Description | Notes|
|
|
332
|
+
|------------- | ------------- | ------------- | -------------|
|
|
333
|
+
| **email** | [**string**] | Email | defaults to undefined|
|
|
334
|
+
| **id** | [**number**] | Video ID | defaults to undefined|
|
|
335
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
### Return type
|
|
339
|
+
|
|
340
|
+
void (empty response body)
|
|
341
|
+
|
|
342
|
+
### Authorization
|
|
343
|
+
|
|
344
|
+
No authorization required
|
|
345
|
+
|
|
346
|
+
### HTTP request headers
|
|
347
|
+
|
|
348
|
+
- **Content-Type**: Not defined
|
|
349
|
+
- **Accept**: Not defined
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
### HTTP response details
|
|
353
|
+
| Status code | Description | Response headers |
|
|
354
|
+
|-------------|-------------|------------------|
|
|
355
|
+
|**200** | No Response | - |
|
|
356
|
+
|**400** | Bad Request | - |
|
|
357
|
+
|**401** | Unauthorised | - |
|
|
358
|
+
|**403** | Access Denied | - |
|
|
359
|
+
|
|
360
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
361
|
+
|
|
362
|
+
# **postUploadVideo**
|
|
363
|
+
> BrandedVideoSummaryDTO postUploadVideo()
|
|
364
|
+
|
|
365
|
+
Upload Video
|
|
366
|
+
|
|
367
|
+
### Example
|
|
368
|
+
|
|
369
|
+
```typescript
|
|
370
|
+
import {
|
|
371
|
+
BrandedVideosApi,
|
|
372
|
+
Configuration
|
|
373
|
+
} from 'yellowgrid-api-ts';
|
|
374
|
+
|
|
375
|
+
const configuration = new Configuration();
|
|
376
|
+
const apiInstance = new BrandedVideosApi(configuration);
|
|
377
|
+
|
|
378
|
+
let thumbnailId: string; //Thumbnail ID (default to undefined)
|
|
379
|
+
let id: number; //Video ID (default to undefined)
|
|
380
|
+
let video: File; //Video (default to undefined)
|
|
381
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
382
|
+
|
|
383
|
+
const { status, data } = await apiInstance.postUploadVideo(
|
|
384
|
+
thumbnailId,
|
|
385
|
+
id,
|
|
386
|
+
video,
|
|
387
|
+
customerId
|
|
388
|
+
);
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
### Parameters
|
|
392
|
+
|
|
393
|
+
|Name | Type | Description | Notes|
|
|
394
|
+
|------------- | ------------- | ------------- | -------------|
|
|
395
|
+
| **thumbnailId** | [**string**] | Thumbnail ID | defaults to undefined|
|
|
396
|
+
| **id** | [**number**] | Video ID | defaults to undefined|
|
|
397
|
+
| **video** | [**File**] | Video | defaults to undefined|
|
|
398
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
### Return type
|
|
402
|
+
|
|
403
|
+
**BrandedVideoSummaryDTO**
|
|
404
|
+
|
|
405
|
+
### Authorization
|
|
406
|
+
|
|
407
|
+
No authorization required
|
|
408
|
+
|
|
409
|
+
### HTTP request headers
|
|
410
|
+
|
|
411
|
+
- **Content-Type**: multipart/form-data
|
|
412
|
+
- **Accept**: application/json
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
### HTTP response details
|
|
416
|
+
| Status code | Description | Response headers |
|
|
417
|
+
|-------------|-------------|------------------|
|
|
418
|
+
|**200** | Branded Video Summary | - |
|
|
419
|
+
|**400** | Bad Request | - |
|
|
420
|
+
|**401** | Unauthorised | - |
|
|
421
|
+
|**403** | Access Denied | - |
|
|
422
|
+
|
|
423
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
424
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# BrandedVideosSummariesModel
|
|
2
|
+
|
|
3
|
+
Promotions
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<BrandedVideoSummaryDTO>**](BrandedVideoSummaryDTO.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 { BrandedVideosSummariesModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: BrandedVideosSummariesModel = {
|
|
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)
|
package/docs/CRMApi.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# CRMApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetCrmActivities**](#getgetcrmactivities) | **GET** /admin/crm/{id}/activities | |
|
|
8
8
|
|[**getSearchByPhone**](#getsearchbyphone) | **GET** /crm/contact/search | |
|
|
9
9
|
|[**postCreateCrmNote**](#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note | |
|
|
10
|
+
|[**postJournalCall**](#postjournalcall) | **POST** /crm/contact/{id}/journal | |
|
|
10
11
|
|
|
11
12
|
# **getGetCrmActivities**
|
|
12
13
|
> CrmActivitiesResponseDTO getGetCrmActivities()
|
|
@@ -173,3 +174,61 @@ No authorization required
|
|
|
173
174
|
|
|
174
175
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
175
176
|
|
|
177
|
+
# **postJournalCall**
|
|
178
|
+
> CrmActivityDTO postJournalCall()
|
|
179
|
+
|
|
180
|
+
Journal a phone call
|
|
181
|
+
|
|
182
|
+
### Example
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import {
|
|
186
|
+
CRMApi,
|
|
187
|
+
Configuration,
|
|
188
|
+
CallJournalRequestModel
|
|
189
|
+
} from 'yellowgrid-api-ts';
|
|
190
|
+
|
|
191
|
+
const configuration = new Configuration();
|
|
192
|
+
const apiInstance = new CRMApi(configuration);
|
|
193
|
+
|
|
194
|
+
let id: number; //Contact ID (default to undefined)
|
|
195
|
+
let callJournalRequestModel: CallJournalRequestModel; //Journal Call Request (optional)
|
|
196
|
+
|
|
197
|
+
const { status, data } = await apiInstance.postJournalCall(
|
|
198
|
+
id,
|
|
199
|
+
callJournalRequestModel
|
|
200
|
+
);
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Parameters
|
|
204
|
+
|
|
205
|
+
|Name | Type | Description | Notes|
|
|
206
|
+
|------------- | ------------- | ------------- | -------------|
|
|
207
|
+
| **callJournalRequestModel** | **CallJournalRequestModel**| Journal Call Request | |
|
|
208
|
+
| **id** | [**number**] | Contact ID | defaults to undefined|
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
### Return type
|
|
212
|
+
|
|
213
|
+
**CrmActivityDTO**
|
|
214
|
+
|
|
215
|
+
### Authorization
|
|
216
|
+
|
|
217
|
+
No authorization required
|
|
218
|
+
|
|
219
|
+
### HTTP request headers
|
|
220
|
+
|
|
221
|
+
- **Content-Type**: application/json
|
|
222
|
+
- **Accept**: application/json
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### HTTP response details
|
|
226
|
+
| Status code | Description | Response headers |
|
|
227
|
+
|-------------|-------------|------------------|
|
|
228
|
+
|**200** | CRM Contact | - |
|
|
229
|
+
|**400** | Bad Request | - |
|
|
230
|
+
|**401** | Unauthorised | - |
|
|
231
|
+
|**403** | Access Denied | - |
|
|
232
|
+
|
|
233
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
234
|
+
|