yellowgrid-api-ts 3.0.79
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 +189 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +385 -0
- package/api.ts +20310 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/config.json +3 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +14136 -0
- package/dist/api.js +14123 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +86 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccountContactEntity.md +45 -0
- package/docs/AccountContactModel.md +45 -0
- package/docs/AccountContactRequestModel.md +37 -0
- package/docs/AccountRequestModel.md +53 -0
- package/docs/AccountSummaryDTO.md +25 -0
- package/docs/AccountsApi.md +948 -0
- package/docs/AccountsResponseModel.md +27 -0
- package/docs/AddressModel.md +45 -0
- package/docs/AddressRequestModel.md +27 -0
- package/docs/AgentHoursGraphModel.md +27 -0
- package/docs/AgentHoursGraphMonthModel.md +23 -0
- package/docs/ApiLogEntity.md +43 -0
- package/docs/AreaCodeModel.md +23 -0
- package/docs/AttachmentModel.md +29 -0
- package/docs/AttributeSetEnum.md +23 -0
- package/docs/AuthCodeResponseModel.md +25 -0
- package/docs/BatchEntity.md +53 -0
- package/docs/CallBarringModel.md +29 -0
- package/docs/Class3CXApi.md +172 -0
- package/docs/Class3CXInstallationWizardApi.md +1355 -0
- package/docs/Class3CXInstallationsApi.md +651 -0
- package/docs/Class3CXIntegrationsApi.md +344 -0
- package/docs/Class3CXMultiTenantApi.md +404 -0
- package/docs/ClientDetailsModel.md +35 -0
- package/docs/ClientModel.md +27 -0
- package/docs/CompanyContractModel.md +29 -0
- package/docs/ContactInfoModel.md +29 -0
- package/docs/ConversationModel.md +35 -0
- package/docs/CreditAccountEntity.md +61 -0
- package/docs/CustomerInformationModel.md +33 -0
- package/docs/CustomerPriceListEnum.md +23 -0
- package/docs/CustomerSummaryReportDTO.md +31 -0
- package/docs/DdiRangeRequestModel.md +25 -0
- package/docs/DdiRangesRequestModel.md +21 -0
- package/docs/DivertRequestModel.md +23 -0
- package/docs/DivertResponseModel.md +25 -0
- package/docs/EdTechProClientEntity.md +29 -0
- package/docs/EdTechProSchoolModel.md +47 -0
- package/docs/EdTechProSchoolsModel.md +27 -0
- package/docs/EdTechProSetupModel.md +29 -0
- package/docs/FraudManagementModel.md +23 -0
- package/docs/FreshdeskCompanyTicketsModel.md +27 -0
- package/docs/FreshdeskTicketEntity.md +33 -0
- package/docs/FtpAccountsEntity.md +29 -0
- package/docs/GenericFileModel.md +25 -0
- package/docs/GetGetPasswordHash200Response.md +20 -0
- package/docs/GetGetPrice200Response.md +20 -0
- package/docs/GetGetRecording200Response.md +20 -0
- package/docs/HostingChangeResponseModel.md +29 -0
- package/docs/InstanceAutoFailoverEntity.md +29 -0
- package/docs/InstanceDeletionScheduleEntity.md +27 -0
- package/docs/InstanceEntity.md +59 -0
- package/docs/InstanceFailoverEntity.md +41 -0
- package/docs/InstanceMonitoringEntity.md +25 -0
- package/docs/InstanceMonitoringLogEntity.md +31 -0
- package/docs/InstanceScheduledTasksEntity.md +31 -0
- package/docs/InstanceTcxDetailsEntity.md +39 -0
- package/docs/InstanceUserCredentialsEntity.md +29 -0
- package/docs/ItemDTO.md +41 -0
- package/docs/ItemEntity.md +61 -0
- package/docs/MFARequiredModel.md +23 -0
- package/docs/MonthlyUsageModel.md +23 -0
- package/docs/MultiTenantChangeResponseModel.md +27 -0
- package/docs/MyPBXToolsApi.md +65 -0
- package/docs/NavigationModel.md +27 -0
- package/docs/OAuth20Api.md +368 -0
- package/docs/OfflineInstancesEntity.md +29 -0
- package/docs/OrderEntity.md +135 -0
- package/docs/OrderRequestModel.md +45 -0
- package/docs/OrderSummariesModel.md +27 -0
- package/docs/OrderSummaryDTO.md +43 -0
- package/docs/OrderTotalModel.md +33 -0
- package/docs/OrderedItemEntity.md +47 -0
- package/docs/OrdersApi.md +135 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +20 -0
- package/docs/PortalAccountModel.md +67 -0
- package/docs/PortalLoginModel.md +33 -0
- package/docs/PostAddWebhook200Response.md +20 -0
- package/docs/PostGetClientCredentialsRequest.md +20 -0
- package/docs/PriceListItemModel.md +29 -0
- package/docs/PricingApi.md +138 -0
- package/docs/PrizesEntity.md +31 -0
- package/docs/ProductSearchResultsModel.md +21 -0
- package/docs/ProductSerialInfoModel.md +27 -0
- package/docs/ProductSummaryModel.md +31 -0
- package/docs/ProductsApi.md +315 -0
- package/docs/PromoCodesEntity.md +43 -0
- package/docs/PromoItemsEntity.md +35 -0
- package/docs/ProvisioningApi.md +402 -0
- package/docs/ProvisioningEntity.md +29 -0
- package/docs/ProvisioningRequestEntity.md +25 -0
- package/docs/ResourceNotReadyException.md +25 -0
- package/docs/RootAccessModel.md +25 -0
- package/docs/SIPTrunksApi.md +1258 -0
- package/docs/SMSApi.md +66 -0
- package/docs/ScannedItemModel.md +29 -0
- package/docs/ScopeModel.md +23 -0
- package/docs/ShipmentAddressEntity.md +41 -0
- package/docs/ShipmentEntity.md +43 -0
- package/docs/ShipmentItemEntity.md +29 -0
- package/docs/SipTrunkChangeResponseModel.md +29 -0
- package/docs/SipTrunkCreationRequestModel.md +31 -0
- package/docs/SipTrunkEntity.md +43 -0
- package/docs/SipTrunksResponseModel.md +27 -0
- package/docs/SmsAccountEntity.md +33 -0
- package/docs/SmsDataModel.md +21 -0
- package/docs/SmsMessageModel.md +25 -0
- package/docs/SmsNumbersEntity.md +23 -0
- package/docs/SmsPayloadModel.md +25 -0
- package/docs/SmsPhoneNumberModel.md +23 -0
- package/docs/SmsResponseModel.md +29 -0
- package/docs/SmsWhitelistEntity.md +23 -0
- package/docs/StockManagementApi.md +1380 -0
- package/docs/StockOrderCourierEntity.md +27 -0
- package/docs/StockOrderDeductionModel.md +27 -0
- package/docs/StockOrderDeductionRequestModel.md +23 -0
- package/docs/StockOrderDeductionsEntity.md +27 -0
- package/docs/StockOrderEntity.md +63 -0
- package/docs/StockOrderItemEntity.md +33 -0
- package/docs/StockOrderItemModel.md +37 -0
- package/docs/StockOrderItemRequestModel.md +27 -0
- package/docs/StockOrderModel.md +49 -0
- package/docs/StockOrderProductEntity.md +31 -0
- package/docs/StockOrderRequestModel.md +25 -0
- package/docs/StockOrderSupplierEntity.md +37 -0
- package/docs/StockOrderSupplierModel.md +37 -0
- package/docs/StockOrdersModel.md +27 -0
- package/docs/StockProductModel.md +49 -0
- package/docs/StockProductPriceModel.md +23 -0
- package/docs/StockProductSummariesModel.md +27 -0
- package/docs/StockProductSummaryModel.md +33 -0
- package/docs/StockTransactionsEntity.md +35 -0
- package/docs/SupplierEntity.md +37 -0
- package/docs/SupplierItemEntity.md +35 -0
- package/docs/SystemApi.md +80 -0
- package/docs/TcxBackupEntity.md +37 -0
- package/docs/TcxBackupModel.md +55 -0
- package/docs/TcxBillingEntity.md +39 -0
- package/docs/TcxBulkLicenceDetailsModel.md +23 -0
- package/docs/TcxDeadLicenceEntity.md +25 -0
- package/docs/TcxExtsEntity.md +35 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxInstallationModel.md +75 -0
- package/docs/TcxInstallationsModel.md +27 -0
- package/docs/TcxKeySummaryDTO.md +29 -0
- package/docs/TcxKeysEntity.md +31 -0
- package/docs/TcxLicenceDetailsErrorModel.md +27 -0
- package/docs/TcxLicenceDetailsModel.md +41 -0
- package/docs/TcxMacsEntity.md +25 -0
- package/docs/TcxMultiTenantModel.md +47 -0
- package/docs/TcxMultiTenantUserModel.md +25 -0
- package/docs/TcxMultiTenantsModel.md +27 -0
- package/docs/TcxNumbersEntity.md +25 -0
- package/docs/TcxOfficeHoursEntity.md +49 -0
- package/docs/TcxPhoneModel.md +32 -0
- package/docs/TcxPhonesEntity.md +31 -0
- package/docs/TcxSbcEntity.md +51 -0
- package/docs/TcxSetupEntity.md +71 -0
- package/docs/TcxSetupsModel.md +27 -0
- package/docs/TcxSipTrunksEntity.md +45 -0
- package/docs/TcxTemplateXmlEnum.md +23 -0
- package/docs/TcxUsersEntity.md +31 -0
- package/docs/TcxWizardConfigModel.md +23 -0
- package/docs/TcxWizardModel.md +47 -0
- package/docs/TechSupportCompanySummaryDTO.md +29 -0
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/TicketSummaryModel.md +35 -0
- package/docs/TicketTimeDTO.md +36 -0
- package/docs/TicketsApi.md +300 -0
- package/docs/TokenResponseModel.md +25 -0
- package/docs/UpgradeOrderResponseModel.md +23 -0
- package/docs/UpgradeRequestModel.md +27 -0
- package/docs/UserEntity.md +39 -0
- package/docs/WebhooksApi.md +117 -0
- package/docs/XeroLogEntity.md +39 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/openapitools.json +7 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# AccountsResponseModel
|
|
2
|
+
|
|
3
|
+
Accounts
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<CreditAccountEntity>**](CreditAccountEntity.md) | Results | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
|
+
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
|
+
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { AccountsResponseModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: AccountsResponseModel = {
|
|
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,45 @@
|
|
|
1
|
+
# AddressModel
|
|
2
|
+
|
|
3
|
+
Order Address
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**firstName** | **string** | Contact First Name | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | Contact Last Name | [optional] [default to undefined]
|
|
11
|
+
**fullName** | **string** | Contact Full Name | [optional] [default to undefined]
|
|
12
|
+
**telephone** | **string** | Contact Telephone | [optional] [default to undefined]
|
|
13
|
+
**vatNumber** | **string** | VAT Number | [optional] [default to undefined]
|
|
14
|
+
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
15
|
+
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
16
|
+
**addressLine3** | **string** | Address Line 3 | [optional] [default to undefined]
|
|
17
|
+
**city** | **string** | City | [optional] [default to undefined]
|
|
18
|
+
**region** | **string** | Region | [optional] [default to undefined]
|
|
19
|
+
**postalCode** | **string** | Postal Code | [optional] [default to undefined]
|
|
20
|
+
**iso** | **string** | Country | [optional] [default to undefined]
|
|
21
|
+
**company** | **string** | Company | [optional] [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { AddressModel } from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const instance: AddressModel = {
|
|
29
|
+
firstName,
|
|
30
|
+
lastName,
|
|
31
|
+
fullName,
|
|
32
|
+
telephone,
|
|
33
|
+
vatNumber,
|
|
34
|
+
addressLine1,
|
|
35
|
+
addressLine2,
|
|
36
|
+
addressLine3,
|
|
37
|
+
city,
|
|
38
|
+
region,
|
|
39
|
+
postalCode,
|
|
40
|
+
iso,
|
|
41
|
+
company,
|
|
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
|
+
# AddressRequestModel
|
|
2
|
+
|
|
3
|
+
Address Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
10
|
+
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
11
|
+
**addressCity** | **string** | City | [optional] [default to undefined]
|
|
12
|
+
**addressPostcode** | **string** | Postal Code | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { AddressRequestModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: AddressRequestModel = {
|
|
20
|
+
addressLine1,
|
|
21
|
+
addressLine2,
|
|
22
|
+
addressCity,
|
|
23
|
+
addressPostcode,
|
|
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,27 @@
|
|
|
1
|
+
# AgentHoursGraphModel
|
|
2
|
+
|
|
3
|
+
Agent Hours Graph
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**agentName** | **string** | Agent Name | [optional] [default to undefined]
|
|
10
|
+
**months** | [**Array<AgentHoursGraphMonthModel>**](AgentHoursGraphMonthModel.md) | Agent Hours By Month | [optional] [default to undefined]
|
|
11
|
+
**agentColour** | **string** | Agent Colour | [optional] [default to undefined]
|
|
12
|
+
**annualHours** | **number** | Annual Hours | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { AgentHoursGraphModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: AgentHoursGraphModel = {
|
|
20
|
+
agentName,
|
|
21
|
+
months,
|
|
22
|
+
agentColour,
|
|
23
|
+
annualHours,
|
|
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,23 @@
|
|
|
1
|
+
# AgentHoursGraphMonthModel
|
|
2
|
+
|
|
3
|
+
Agent Hours Graph Month
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**ticketHours** | **number** | Month Ticket Hours | [optional] [default to undefined]
|
|
10
|
+
**timeEntryHours** | **number** | Month Time Entry Hours | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AgentHoursGraphMonthModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: AgentHoursGraphMonthModel = {
|
|
18
|
+
ticketHours,
|
|
19
|
+
timeEntryHours,
|
|
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,43 @@
|
|
|
1
|
+
# ApiLogEntity
|
|
2
|
+
|
|
3
|
+
API Log
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | ID | [optional] [default to undefined]
|
|
10
|
+
**timestamp** | **string** | Timestamp | [optional] [default to undefined]
|
|
11
|
+
**method** | **string** | HTTP Method | [optional] [default to undefined]
|
|
12
|
+
**uri** | **string** | URI | [optional] [default to undefined]
|
|
13
|
+
**client_ip** | **string** | Client IP | [optional] [default to undefined]
|
|
14
|
+
**request_headers** | **Array<string>** | Request Headers | [optional] [default to undefined]
|
|
15
|
+
**request_body** | **object** | Request Body | [optional] [default to undefined]
|
|
16
|
+
**client_id** | **string** | Client ID | [optional] [default to undefined]
|
|
17
|
+
**response_code** | **number** | HTTP Response Code | [optional] [default to undefined]
|
|
18
|
+
**response_headers** | **Array<string>** | Response Headers | [optional] [default to undefined]
|
|
19
|
+
**response_body** | **object** | Response Body | [optional] [default to undefined]
|
|
20
|
+
**http_origin** | **string** | HTTP Origin | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { ApiLogEntity } from 'yellowgrid-api-ts';
|
|
26
|
+
|
|
27
|
+
const instance: ApiLogEntity = {
|
|
28
|
+
id,
|
|
29
|
+
timestamp,
|
|
30
|
+
method,
|
|
31
|
+
uri,
|
|
32
|
+
client_ip,
|
|
33
|
+
request_headers,
|
|
34
|
+
request_body,
|
|
35
|
+
client_id,
|
|
36
|
+
response_code,
|
|
37
|
+
response_headers,
|
|
38
|
+
response_body,
|
|
39
|
+
http_origin,
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[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,23 @@
|
|
|
1
|
+
# AreaCodeModel
|
|
2
|
+
|
|
3
|
+
UK Area Code
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | Area Code | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Location | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AreaCodeModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: AreaCodeModel = {
|
|
18
|
+
code,
|
|
19
|
+
name,
|
|
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,29 @@
|
|
|
1
|
+
# AttachmentModel
|
|
2
|
+
|
|
3
|
+
Ticket Attachment
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Attachment ID | [optional] [default to undefined]
|
|
10
|
+
**contentType** | **string** | Content Type | [optional] [default to undefined]
|
|
11
|
+
**size** | **string** | Size | [optional] [default to undefined]
|
|
12
|
+
**fileName** | **string** | File Name | [optional] [default to undefined]
|
|
13
|
+
**attachmentUrl** | **string** | Attachment URL | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AttachmentModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: AttachmentModel = {
|
|
21
|
+
id,
|
|
22
|
+
contentType,
|
|
23
|
+
size,
|
|
24
|
+
fileName,
|
|
25
|
+
attachmentUrl,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# AttributeSetEnum
|
|
2
|
+
|
|
3
|
+
Attribute Set
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Attribute Set ID | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Attribute Set Name | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { AttributeSetEnum } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: AttributeSetEnum = {
|
|
18
|
+
id,
|
|
19
|
+
name,
|
|
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,25 @@
|
|
|
1
|
+
# AuthCodeResponseModel
|
|
2
|
+
|
|
3
|
+
OAuth Auth Code Response
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | Auth Code | [optional] [default to undefined]
|
|
10
|
+
**state** | **string** | State | [optional] [default to undefined]
|
|
11
|
+
**redirect_uri** | **string** | Redirect URI | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AuthCodeResponseModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: AuthCodeResponseModel = {
|
|
19
|
+
code,
|
|
20
|
+
state,
|
|
21
|
+
redirect_uri,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[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,53 @@
|
|
|
1
|
+
# BatchEntity
|
|
2
|
+
|
|
3
|
+
BatchesEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**supplierId** | **number** | supplierId | [optional] [default to undefined]
|
|
12
|
+
**poNumber** | **string** | poNumber | [optional] [default to undefined]
|
|
13
|
+
**carriage** | **number** | carriage | [optional] [default to undefined]
|
|
14
|
+
**courier** | **string** | courier | [optional] [default to undefined]
|
|
15
|
+
**courierService** | **string** | courierService | [optional] [default to undefined]
|
|
16
|
+
**courierReference** | **string** | courierReference | [optional] [default to undefined]
|
|
17
|
+
**courierUnique** | **string** | courierUnique | [optional] [default to undefined]
|
|
18
|
+
**notes** | **string** | notes | [optional] [default to undefined]
|
|
19
|
+
**ordered** | **number** | ordered | [optional] [default to undefined]
|
|
20
|
+
**carriagePaid** | **number** | carriagePaid | [optional] [default to undefined]
|
|
21
|
+
**carriageRefunded** | **number** | carriageRefunded | [optional] [default to undefined]
|
|
22
|
+
**carriageRefundedDue** | **number** | carriageRefundedDue | [optional] [default to undefined]
|
|
23
|
+
**netdespatchLabel** | **string** | netdespatchLabel | [optional] [default to undefined]
|
|
24
|
+
**courierBoxes** | **number** | courierBoxes | [optional] [default to undefined]
|
|
25
|
+
**mac** | **string** | mac | [optional] [default to undefined]
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { BatchEntity } from 'yellowgrid-api-ts';
|
|
31
|
+
|
|
32
|
+
const instance: BatchEntity = {
|
|
33
|
+
id,
|
|
34
|
+
orderId,
|
|
35
|
+
supplierId,
|
|
36
|
+
poNumber,
|
|
37
|
+
carriage,
|
|
38
|
+
courier,
|
|
39
|
+
courierService,
|
|
40
|
+
courierReference,
|
|
41
|
+
courierUnique,
|
|
42
|
+
notes,
|
|
43
|
+
ordered,
|
|
44
|
+
carriagePaid,
|
|
45
|
+
carriageRefunded,
|
|
46
|
+
carriageRefundedDue,
|
|
47
|
+
netdespatchLabel,
|
|
48
|
+
courierBoxes,
|
|
49
|
+
mac,
|
|
50
|
+
};
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# CallBarringModel
|
|
2
|
+
|
|
3
|
+
Call Barring
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**blockPremiumCalls** | **boolean** | Block Premium Calls | [optional] [default to true]
|
|
10
|
+
**blockMobileCalls** | **boolean** | Block Mobile Calls | [optional] [default to false]
|
|
11
|
+
**blockInternationalCalls** | **boolean** | Block International Calls | [optional] [default to false]
|
|
12
|
+
**block084Calls** | **boolean** | Block 084 Calls | [optional] [default to false]
|
|
13
|
+
**block087Calls** | **boolean** | Block 087 Calls | [optional] [default to false]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { CallBarringModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: CallBarringModel = {
|
|
21
|
+
blockPremiumCalls,
|
|
22
|
+
blockMobileCalls,
|
|
23
|
+
blockInternationalCalls,
|
|
24
|
+
block084Calls,
|
|
25
|
+
block087Calls,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Class3CXApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
|
|
8
|
+
|[**getGetPasswordHash**](#getgetpasswordhash) | **GET** /tcx/pwd2hash | Convert a password to a hashed 3CX password|
|
|
9
|
+
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
10
|
+
|
|
11
|
+
# **getGetLicenceDetails**
|
|
12
|
+
> TcxLicenceDetailsModel getGetLicenceDetails()
|
|
13
|
+
|
|
14
|
+
Get 3CX Licence Details
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
Class3CXApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
26
|
+
|
|
27
|
+
let key: string; //3CX Licence Key (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.getGetLicenceDetails(
|
|
30
|
+
key
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **key** | [**string**] | 3CX Licence Key | defaults to undefined|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**TcxLicenceDetailsModel**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
No authorization required
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: Not defined
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | 3CX Licence Details | - |
|
|
59
|
+
|**400** | Bad Request | - |
|
|
60
|
+
|**401** | Unauthorised | - |
|
|
61
|
+
|**403** | Access Denied | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **getGetPasswordHash**
|
|
66
|
+
> GetGetPasswordHash200Response getGetPasswordHash()
|
|
67
|
+
|
|
68
|
+
Generate a 3CX hashed password for 3CX installation
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
Class3CXApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from 'yellowgrid-api-ts';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
80
|
+
|
|
81
|
+
let password: string; //Desired 3CX web access password (default to undefined)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.getGetPasswordHash(
|
|
84
|
+
password
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
|Name | Type | Description | Notes|
|
|
91
|
+
|------------- | ------------- | ------------- | -------------|
|
|
92
|
+
| **password** | [**string**] | Desired 3CX web access password | defaults to undefined|
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**GetGetPasswordHash200Response**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
No authorization required
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: Not defined
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | Password Hash | - |
|
|
113
|
+
|**400** | Bad Request | - |
|
|
114
|
+
|**401** | Unauthorised | - |
|
|
115
|
+
|**403** | Access Denied | - |
|
|
116
|
+
|
|
117
|
+
[[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)
|
|
118
|
+
|
|
119
|
+
# **postGetBulkLicenceDetails**
|
|
120
|
+
> TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
|
|
121
|
+
|
|
122
|
+
Get Bulk 3CX Licence Details
|
|
123
|
+
|
|
124
|
+
### Example
|
|
125
|
+
|
|
126
|
+
```typescript
|
|
127
|
+
import {
|
|
128
|
+
Class3CXApi,
|
|
129
|
+
Configuration
|
|
130
|
+
} from 'yellowgrid-api-ts';
|
|
131
|
+
|
|
132
|
+
const configuration = new Configuration();
|
|
133
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
134
|
+
|
|
135
|
+
let requestBody: Array<string>; //Licence Lookup Request (optional)
|
|
136
|
+
|
|
137
|
+
const { status, data } = await apiInstance.postGetBulkLicenceDetails(
|
|
138
|
+
requestBody
|
|
139
|
+
);
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Parameters
|
|
143
|
+
|
|
144
|
+
|Name | Type | Description | Notes|
|
|
145
|
+
|------------- | ------------- | ------------- | -------------|
|
|
146
|
+
| **requestBody** | **Array<string>**| Licence Lookup Request | |
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Return type
|
|
150
|
+
|
|
151
|
+
**TcxBulkLicenceDetailsModel**
|
|
152
|
+
|
|
153
|
+
### Authorization
|
|
154
|
+
|
|
155
|
+
No authorization required
|
|
156
|
+
|
|
157
|
+
### HTTP request headers
|
|
158
|
+
|
|
159
|
+
- **Content-Type**: application/json
|
|
160
|
+
- **Accept**: application/json
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### HTTP response details
|
|
164
|
+
| Status code | Description | Response headers |
|
|
165
|
+
|-------------|-------------|------------------|
|
|
166
|
+
|**200** | 3CX Licence Details | - |
|
|
167
|
+
|**400** | Bad Request | - |
|
|
168
|
+
|**401** | Unauthorised | - |
|
|
169
|
+
|**403** | Access Denied | - |
|
|
170
|
+
|
|
171
|
+
[[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)
|
|
172
|
+
|