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
package/docs/SMSApi.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# SMSApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**postSendSms**](#postsendsms) | **POST** /messaging/sms/send | |
|
|
8
|
+
|
|
9
|
+
# **postSendSms**
|
|
10
|
+
> SmsDataModel postSendSms()
|
|
11
|
+
|
|
12
|
+
Send SMS
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
SMSApi,
|
|
19
|
+
Configuration,
|
|
20
|
+
SmsMessageModel
|
|
21
|
+
} from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new SMSApi(configuration);
|
|
25
|
+
|
|
26
|
+
let authorization: string; //Bearer Token (default to undefined)
|
|
27
|
+
let smsMessageModel: SmsMessageModel; //SMS Message (optional)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.postSendSms(
|
|
30
|
+
authorization,
|
|
31
|
+
smsMessageModel
|
|
32
|
+
);
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
|Name | Type | Description | Notes|
|
|
38
|
+
|------------- | ------------- | ------------- | -------------|
|
|
39
|
+
| **smsMessageModel** | **SmsMessageModel**| SMS Message | |
|
|
40
|
+
| **authorization** | [**string**] | Bearer Token | defaults to undefined|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
**SmsDataModel**
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
No authorization required
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: application/json
|
|
54
|
+
- **Accept**: application/json
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**200** | Sms Data Model | - |
|
|
61
|
+
|**400** | Bad Request | - |
|
|
62
|
+
|**401** | Unauthorised | - |
|
|
63
|
+
|**403** | Access Denied | - |
|
|
64
|
+
|
|
65
|
+
[[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)
|
|
66
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ScannedItemModel
|
|
2
|
+
|
|
3
|
+
Item MAC & Serial Details
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
10
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
11
|
+
**tcxLabel** | **string** | 3CX Label | [optional] [default to undefined]
|
|
12
|
+
**serialNumbers** | **Array<string>** | Serial Numbers | [optional] [default to undefined]
|
|
13
|
+
**macAddress** | **string** | MAC Address | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ScannedItemModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ScannedItemModel = {
|
|
21
|
+
title,
|
|
22
|
+
sku,
|
|
23
|
+
tcxLabel,
|
|
24
|
+
serialNumbers,
|
|
25
|
+
macAddress,
|
|
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
|
+
# ScopeModel
|
|
2
|
+
|
|
3
|
+
OAuth2 Scope
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | ID | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Description | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ScopeModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: ScopeModel = {
|
|
18
|
+
id,
|
|
19
|
+
description,
|
|
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,41 @@
|
|
|
1
|
+
# ShipmentAddressEntity
|
|
2
|
+
|
|
3
|
+
ShipmentAddressEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**shipmentId** | **number** | shipmentId | [optional] [default to undefined]
|
|
11
|
+
**shipName** | **string** | shipName | [optional] [default to undefined]
|
|
12
|
+
**shipCompany** | **string** | shipCompany | [optional] [default to undefined]
|
|
13
|
+
**shipAddress1** | **string** | shipAddress1 | [optional] [default to undefined]
|
|
14
|
+
**shipAddress2** | **string** | shipAddress2 | [optional] [default to undefined]
|
|
15
|
+
**shipCity** | **string** | shipCity | [optional] [default to undefined]
|
|
16
|
+
**shipStateRegion** | **string** | shipStateRegion | [optional] [default to undefined]
|
|
17
|
+
**shipPostalCode** | **string** | shipPostalCode | [optional] [default to undefined]
|
|
18
|
+
**shipCountry** | **string** | shipCountry | [optional] [default to undefined]
|
|
19
|
+
**shipPhoneNumber** | **string** | shipPhoneNumber | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ShipmentAddressEntity } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: ShipmentAddressEntity = {
|
|
27
|
+
id,
|
|
28
|
+
shipmentId,
|
|
29
|
+
shipName,
|
|
30
|
+
shipCompany,
|
|
31
|
+
shipAddress1,
|
|
32
|
+
shipAddress2,
|
|
33
|
+
shipCity,
|
|
34
|
+
shipStateRegion,
|
|
35
|
+
shipPostalCode,
|
|
36
|
+
shipCountry,
|
|
37
|
+
shipPhoneNumber,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[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
|
+
# ShipmentEntity
|
|
2
|
+
|
|
3
|
+
ShipmentsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**batchId** | **number** | batchId | [optional] [default to undefined]
|
|
11
|
+
**courier** | **string** | courier | [optional] [default to undefined]
|
|
12
|
+
**courierService** | **string** | courierService | [optional] [default to undefined]
|
|
13
|
+
**courierServiceDesc** | **string** | courierServiceDesc | [optional] [default to undefined]
|
|
14
|
+
**courierReference** | **string** | courierReference | [optional] [default to undefined]
|
|
15
|
+
**courierTracking** | **string** | courierTracking | [optional] [default to undefined]
|
|
16
|
+
**courierBoxes** | **number** | courierBoxes | [optional] [default to undefined]
|
|
17
|
+
**scannedData** | **string** | mac | [optional] [default to undefined]
|
|
18
|
+
**date** | **string** | date | [optional] [default to undefined]
|
|
19
|
+
**requestDate** | **string** | requestDate | [optional] [default to undefined]
|
|
20
|
+
**provId** | **number** | provId | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { ShipmentEntity } from 'yellowgrid-api-ts';
|
|
26
|
+
|
|
27
|
+
const instance: ShipmentEntity = {
|
|
28
|
+
id,
|
|
29
|
+
batchId,
|
|
30
|
+
courier,
|
|
31
|
+
courierService,
|
|
32
|
+
courierServiceDesc,
|
|
33
|
+
courierReference,
|
|
34
|
+
courierTracking,
|
|
35
|
+
courierBoxes,
|
|
36
|
+
scannedData,
|
|
37
|
+
date,
|
|
38
|
+
requestDate,
|
|
39
|
+
provId,
|
|
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,29 @@
|
|
|
1
|
+
# ShipmentItemEntity
|
|
2
|
+
|
|
3
|
+
ShipmentItemsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**shipmentId** | **number** | shipmentId | [optional] [default to undefined]
|
|
11
|
+
**batchId** | **number** | batchId | [optional] [default to undefined]
|
|
12
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
13
|
+
**itemId** | **string** | item | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ShipmentItemEntity } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ShipmentItemEntity = {
|
|
21
|
+
id,
|
|
22
|
+
shipmentId,
|
|
23
|
+
batchId,
|
|
24
|
+
quantity,
|
|
25
|
+
itemId,
|
|
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,29 @@
|
|
|
1
|
+
# SipTrunkChangeResponseModel
|
|
2
|
+
|
|
3
|
+
Change Response
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**changeId** | **string** | ID | [optional] [default to undefined]
|
|
10
|
+
**trunk** | [**SipTrunkEntity**](SipTrunkEntity.md) | | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | Type | [optional] [default to undefined]
|
|
12
|
+
**progress** | **number** | Progress | [optional] [default to undefined]
|
|
13
|
+
**provider** | **number** | Service Provider | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SipTrunkChangeResponseModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: SipTrunkChangeResponseModel = {
|
|
21
|
+
changeId,
|
|
22
|
+
trunk,
|
|
23
|
+
type,
|
|
24
|
+
progress,
|
|
25
|
+
provider,
|
|
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,31 @@
|
|
|
1
|
+
# SipTrunkCreationRequestModel
|
|
2
|
+
|
|
3
|
+
SIP Trunk Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**customer** | [**CustomerInformationModel**](CustomerInformationModel.md) | | [optional] [default to undefined]
|
|
10
|
+
**pbxIpAddress** | **string** | PBX IP Address | [optional] [default to '0.0.0.0']
|
|
11
|
+
**channelCount** | **number** | Number of SIP channels | [optional] [default to 2]
|
|
12
|
+
**callBarring** | [**CallBarringModel**](CallBarringModel.md) | | [optional] [default to undefined]
|
|
13
|
+
**fraudManagement** | [**FraudManagementModel**](FraudManagementModel.md) | | [optional] [default to undefined]
|
|
14
|
+
**ddiRanges** | [**DdiRangesRequestModel**](DdiRangesRequestModel.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SipTrunkCreationRequestModel } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: SipTrunkCreationRequestModel = {
|
|
22
|
+
customer,
|
|
23
|
+
pbxIpAddress,
|
|
24
|
+
channelCount,
|
|
25
|
+
callBarring,
|
|
26
|
+
fraudManagement,
|
|
27
|
+
ddiRanges,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# SipTrunkEntity
|
|
2
|
+
|
|
3
|
+
SIP Trunk
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | SIP Trunk ID | [optional] [default to undefined]
|
|
10
|
+
**ownerId** | **number** | Owner ID | [optional] [default to undefined]
|
|
11
|
+
**serviceId** | **number** | Service ID | [optional] [default to undefined]
|
|
12
|
+
**companyName** | **string** | Company Name | [optional] [default to undefined]
|
|
13
|
+
**endpointId** | **string** | Provider Endpoint ID | [optional] [default to undefined]
|
|
14
|
+
**channelCount** | **number** | Number of SIP channels | [optional] [default to undefined]
|
|
15
|
+
**pbxIpAddress** | **string** | PBX IP Address | [optional] [default to undefined]
|
|
16
|
+
**sbcName** | **string** | SBC Name | [optional] [default to undefined]
|
|
17
|
+
**registrarIpAddress** | **string** | SIP Server IP Address | [optional] [default to undefined]
|
|
18
|
+
**mainTrunkNumber** | **string** | Main Trunk Number | [optional] [default to undefined]
|
|
19
|
+
**complete** | **boolean** | Setup Complete | [optional] [default to undefined]
|
|
20
|
+
**owner** | **string** | Owner | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { SipTrunkEntity } from 'yellowgrid-api-ts';
|
|
26
|
+
|
|
27
|
+
const instance: SipTrunkEntity = {
|
|
28
|
+
id,
|
|
29
|
+
ownerId,
|
|
30
|
+
serviceId,
|
|
31
|
+
companyName,
|
|
32
|
+
endpointId,
|
|
33
|
+
channelCount,
|
|
34
|
+
pbxIpAddress,
|
|
35
|
+
sbcName,
|
|
36
|
+
registrarIpAddress,
|
|
37
|
+
mainTrunkNumber,
|
|
38
|
+
complete,
|
|
39
|
+
owner,
|
|
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,27 @@
|
|
|
1
|
+
# SipTrunksResponseModel
|
|
2
|
+
|
|
3
|
+
SIP Trunks
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**results** | [**Array<SipTrunkEntity>**](SipTrunkEntity.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 { SipTrunksResponseModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: SipTrunksResponseModel = {
|
|
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,33 @@
|
|
|
1
|
+
# SmsAccountEntity
|
|
2
|
+
|
|
3
|
+
SmsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | id | [optional] [default to undefined]
|
|
10
|
+
**provider** | **string** | provider | [optional] [default to undefined]
|
|
11
|
+
**creation** | **string** | creation | [optional] [default to undefined]
|
|
12
|
+
**customerId** | **number** | customerId | [optional] [default to undefined]
|
|
13
|
+
**webhookUrl** | **string** | webhookUrl | [optional] [default to undefined]
|
|
14
|
+
**trunkId** | **number** | trunkId | [optional] [default to undefined]
|
|
15
|
+
**name** | **string** | name | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { SmsAccountEntity } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: SmsAccountEntity = {
|
|
23
|
+
id,
|
|
24
|
+
provider,
|
|
25
|
+
creation,
|
|
26
|
+
customerId,
|
|
27
|
+
webhookUrl,
|
|
28
|
+
trunkId,
|
|
29
|
+
name,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[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,21 @@
|
|
|
1
|
+
# SmsDataModel
|
|
2
|
+
|
|
3
|
+
SMS Data Model
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**data** | [**SmsResponseModel**](SmsResponseModel.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SmsDataModel } from 'yellowgrid-api-ts';
|
|
15
|
+
|
|
16
|
+
const instance: SmsDataModel = {
|
|
17
|
+
data,
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[[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
|
+
# SmsMessageModel
|
|
2
|
+
|
|
3
|
+
SMS Message
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**from** | **string** | From Phone Number | [optional] [default to undefined]
|
|
10
|
+
**to** | **string** | To Phone Number | [optional] [default to undefined]
|
|
11
|
+
**text** | **string** | SMS Message | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SmsMessageModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: SmsMessageModel = {
|
|
19
|
+
from,
|
|
20
|
+
to,
|
|
21
|
+
text,
|
|
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,23 @@
|
|
|
1
|
+
# SmsNumbersEntity
|
|
2
|
+
|
|
3
|
+
SmsNumbersEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**smsId** | **string** | smsId | [optional] [default to undefined]
|
|
10
|
+
**number** | **string** | number | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SmsNumbersEntity } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: SmsNumbersEntity = {
|
|
18
|
+
smsId,
|
|
19
|
+
number,
|
|
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
|
+
# SmsPayloadModel
|
|
2
|
+
|
|
3
|
+
SMS Payload
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**to** | [**SmsPhoneNumberModel**](SmsPhoneNumberModel.md) | | [optional] [default to undefined]
|
|
10
|
+
**from** | [**SmsPhoneNumberModel**](SmsPhoneNumberModel.md) | | [optional] [default to undefined]
|
|
11
|
+
**id** | **string** | Message ID | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SmsPayloadModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: SmsPayloadModel = {
|
|
19
|
+
to,
|
|
20
|
+
from,
|
|
21
|
+
id,
|
|
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,23 @@
|
|
|
1
|
+
# SmsPhoneNumberModel
|
|
2
|
+
|
|
3
|
+
SMS Phone Number
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**phone_number** | **string** | Phone Number | [optional] [default to undefined]
|
|
10
|
+
**status** | **string** | status | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SmsPhoneNumberModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: SmsPhoneNumberModel = {
|
|
18
|
+
phone_number,
|
|
19
|
+
status,
|
|
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
|
+
# SmsResponseModel
|
|
2
|
+
|
|
3
|
+
SMS Response Model
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**to** | [**SmsPhoneNumberModel**](SmsPhoneNumberModel.md) | | [optional] [default to undefined]
|
|
10
|
+
**from** | [**SmsPhoneNumberModel**](SmsPhoneNumberModel.md) | | [optional] [default to undefined]
|
|
11
|
+
**id** | **string** | Message Id | [optional] [default to undefined]
|
|
12
|
+
**event_type** | **string** | Event Type | [optional] [default to undefined]
|
|
13
|
+
**payload** | [**SmsPayloadModel**](SmsPayloadModel.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SmsResponseModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: SmsResponseModel = {
|
|
21
|
+
to,
|
|
22
|
+
from,
|
|
23
|
+
id,
|
|
24
|
+
event_type,
|
|
25
|
+
payload,
|
|
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
|
+
# SmsWhitelistEntity
|
|
2
|
+
|
|
3
|
+
SmsWhitelistEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**smsId** | **string** | smsId | [optional] [default to undefined]
|
|
10
|
+
**fqdn** | **string** | fqdn | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SmsWhitelistEntity } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: SmsWhitelistEntity = {
|
|
18
|
+
smsId,
|
|
19
|
+
fqdn,
|
|
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)
|