yellowgrid-api-ts 3.2.80-dev.0 → 3.2.80
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 +262 -257
- package/.openapi-generator/VERSION +1 -1
- package/README.md +15 -2
- package/api.ts +1020 -4789
- package/base.ts +2 -26
- package/common.ts +16 -39
- package/config.json +3 -3
- package/configuration.ts +25 -19
- package/dist/api.d.ts +428 -4342
- package/dist/api.js +954 -594
- package/dist/base.d.ts +1 -25
- package/dist/base.js +2 -21
- package/dist/common.d.ts +5 -36
- package/dist/common.js +17 -39
- package/dist/configuration.d.ts +25 -18
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/PortStatusEnum.d.ts +5 -0
- package/dist/models/PortStatusEnum.js +5 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminNumberPortDTO.md +4 -0
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +1 -1
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CreditNoteItemModel.md +29 -0
- package/docs/CreditNoteModel.md +2 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +61 -6
- package/docs/OAuth20Api.md +4 -4
- package/docs/OrderDetailsDTO.md +2 -0
- package/docs/OrdersApi.md +294 -66
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProductsApi.md +59 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +57 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/ShippingRequestDTO.md +4 -0
- package/docs/SmsAccountDTO.md +31 -0
- package/docs/SmsAccountRequestDTO.md +29 -0
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TcxSbcDTO.md +2 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/PortStatusEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/docs/NumberPortModel.md +0 -51
- package/docs/TelephonySupportTicketModel.md +0 -41
- package/hs_err_pid16044.log +0 -249
- package/hs_err_pid44560.log +0 -249
- package/hs_err_pid53988.log +0 -249
- package/hs_err_pid58728.log +0 -40
package/docs/ProductsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ProductsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://bitbucket.org*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
@@ -11,6 +11,7 @@ All URIs are relative to *https://api.yellowgrid.local*
|
|
|
11
11
|
|[**getGetStockList**](#getgetstocklist) | **GET** /products/stock | Get Current Stock & Pricing|
|
|
12
12
|
|[**getGetTcxTemplates**](#getgettcxtemplates) | **GET** /products/attributes/tcx/templates | Get 3CX Templates|
|
|
13
13
|
|[**getSearchProducts**](#getsearchproducts) | **GET** /products/search | Search Products|
|
|
14
|
+
|[**patchAddQuantityToStock**](#patchaddquantitytostock) | **PATCH** /products/{sku}/stock/add | Add Item Quantity To Stock|
|
|
14
15
|
|[**postGetProduct**](#postgetproduct) | **POST** /products/{sku} | Get Product|
|
|
15
16
|
|[**postGetProductForCustomer**](#postgetproductforcustomer) | **POST** /admin/products/{sku} | Get Product For Customer|
|
|
16
17
|
|
|
@@ -363,6 +364,63 @@ No authorization required
|
|
|
363
364
|
|
|
364
365
|
[[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)
|
|
365
366
|
|
|
367
|
+
# **patchAddQuantityToStock**
|
|
368
|
+
> patchAddQuantityToStock()
|
|
369
|
+
|
|
370
|
+
Add Item Quantity To Stock
|
|
371
|
+
|
|
372
|
+
### Example
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
import {
|
|
376
|
+
ProductsApi,
|
|
377
|
+
Configuration
|
|
378
|
+
} from 'yellowgrid-api-ts';
|
|
379
|
+
|
|
380
|
+
const configuration = new Configuration();
|
|
381
|
+
const apiInstance = new ProductsApi(configuration);
|
|
382
|
+
|
|
383
|
+
let sku: string; //Product SKU (default to undefined)
|
|
384
|
+
let quantity: number; //Quantity (default to undefined)
|
|
385
|
+
|
|
386
|
+
const { status, data } = await apiInstance.patchAddQuantityToStock(
|
|
387
|
+
sku,
|
|
388
|
+
quantity
|
|
389
|
+
);
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Parameters
|
|
393
|
+
|
|
394
|
+
|Name | Type | Description | Notes|
|
|
395
|
+
|------------- | ------------- | ------------- | -------------|
|
|
396
|
+
| **sku** | [**string**] | Product SKU | defaults to undefined|
|
|
397
|
+
| **quantity** | [**number**] | Quantity | defaults to undefined|
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
### Return type
|
|
401
|
+
|
|
402
|
+
void (empty response body)
|
|
403
|
+
|
|
404
|
+
### Authorization
|
|
405
|
+
|
|
406
|
+
No authorization required
|
|
407
|
+
|
|
408
|
+
### HTTP request headers
|
|
409
|
+
|
|
410
|
+
- **Content-Type**: Not defined
|
|
411
|
+
- **Accept**: Not defined
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
### HTTP response details
|
|
415
|
+
| Status code | Description | Response headers |
|
|
416
|
+
|-------------|-------------|------------------|
|
|
417
|
+
|**200** | No Response | - |
|
|
418
|
+
|**400** | Bad Request | - |
|
|
419
|
+
|**401** | Unauthorised | - |
|
|
420
|
+
|**403** | Access Denied | - |
|
|
421
|
+
|
|
422
|
+
[[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)
|
|
423
|
+
|
|
366
424
|
# **postGetProduct**
|
|
367
425
|
> ProductSummaryDTO postGetProduct(postGetProductRequest)
|
|
368
426
|
|
package/docs/ProvisioningApi.md
CHANGED
package/docs/SIPTrunksApi.md
CHANGED
package/docs/SMSApi.md
CHANGED
|
@@ -1,11 +1,67 @@
|
|
|
1
1
|
# SMSApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
3
|
+
All URIs are relative to *https://bitbucket.org*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**postCreateSmsAccount**](#postcreatesmsaccount) | **POST** /messaging/sms/account | Create SMS Account|
|
|
7
8
|
|[**postSendSms**](#postsendsms) | **POST** /messaging/sms/send | |
|
|
8
9
|
|
|
10
|
+
# **postCreateSmsAccount**
|
|
11
|
+
> SmsAccountDTO postCreateSmsAccount()
|
|
12
|
+
|
|
13
|
+
Create SMS Account
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
SMSApi,
|
|
20
|
+
Configuration,
|
|
21
|
+
SmsAccountRequestDTO
|
|
22
|
+
} from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new SMSApi(configuration);
|
|
26
|
+
|
|
27
|
+
let smsAccountRequestDTO: SmsAccountRequestDTO; //SMS Account Request (optional)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.postCreateSmsAccount(
|
|
30
|
+
smsAccountRequestDTO
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **smsAccountRequestDTO** | **SmsAccountRequestDTO**| SMS Account Request | |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**SmsAccountDTO**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
No authorization required
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: application/json
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | SMS Account | - |
|
|
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
|
+
|
|
9
65
|
# **postSendSms**
|
|
10
66
|
> SmsDataModel postSendSms()
|
|
11
67
|
|
package/docs/ServicesApi.md
CHANGED
package/docs/ShippingApi.md
CHANGED
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
9
9
|
**service** | **string** | Courier Service | [optional] [default to undefined]
|
|
10
10
|
**boxes** | **number** | Boxes | [optional] [default to undefined]
|
|
11
|
+
**printer** | **number** | Printer | [optional] [default to undefined]
|
|
12
|
+
**shipment** | [**ShipmentRequestDTO**](ShipmentRequestDTO.md) | | [optional] [default to undefined]
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ const instance: ShippingRequestDTO = {
|
|
|
18
20
|
courier,
|
|
19
21
|
service,
|
|
20
22
|
boxes,
|
|
23
|
+
printer,
|
|
24
|
+
shipment,
|
|
21
25
|
};
|
|
22
26
|
```
|
|
23
27
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# SmsAccountDTO
|
|
2
|
+
|
|
3
|
+
SMS Account
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**sendUrl** | **string** | Send URL | [optional] [default to undefined]
|
|
10
|
+
**webhookUrl** | **string** | Webhook URL | [optional] [default to undefined]
|
|
11
|
+
**apiKey** | **string** | API Key | [optional] [default to undefined]
|
|
12
|
+
**numbers** | [**Array<SmsNumbersEntity>**](SmsNumbersEntity.md) | Numbers | [optional] [default to undefined]
|
|
13
|
+
**name** | **string** | Name | [optional] [default to undefined]
|
|
14
|
+
**whitelist** | [**Array<SmsWhitelistEntity>**](SmsWhitelistEntity.md) | Sender Whitelist | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SmsAccountDTO } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: SmsAccountDTO = {
|
|
22
|
+
sendUrl,
|
|
23
|
+
webhookUrl,
|
|
24
|
+
apiKey,
|
|
25
|
+
numbers,
|
|
26
|
+
name,
|
|
27
|
+
whitelist,
|
|
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,29 @@
|
|
|
1
|
+
# SmsAccountRequestDTO
|
|
2
|
+
|
|
3
|
+
SMS Account Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**provider** | **number** | SMS Provider | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Customer Name | [optional] [default to undefined]
|
|
11
|
+
**webhookUrl** | **string** | SMS Webhook | [optional] [default to undefined]
|
|
12
|
+
**iso** | **string** | Number Country | [optional] [default to undefined]
|
|
13
|
+
**type** | **string** | Number Type | [optional] [default to TypeEnum_Mobile]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SmsAccountRequestDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: SmsAccountRequestDTO = {
|
|
21
|
+
provider,
|
|
22
|
+
name,
|
|
23
|
+
webhookUrl,
|
|
24
|
+
iso,
|
|
25
|
+
type,
|
|
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)
|
package/docs/SystemApi.md
CHANGED
package/docs/TcxSbcDTO.md
CHANGED
|
@@ -6,6 +6,7 @@ SBC Data
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
9
10
|
**ipAddress** | **string** | LAN IP Address | [optional] [default to undefined]
|
|
10
11
|
**defaultGateway** | **string** | LAN Default Gateway | [optional] [default to undefined]
|
|
11
12
|
**netmask** | **string** | LAN Subnet Mask | [optional] [default to undefined]
|
|
@@ -19,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
19
20
|
import { TcxSbcDTO } from 'yellowgrid-api-ts';
|
|
20
21
|
|
|
21
22
|
const instance: TcxSbcDTO = {
|
|
23
|
+
id,
|
|
22
24
|
ipAddress,
|
|
23
25
|
defaultGateway,
|
|
24
26
|
netmask,
|
package/docs/TicketsApi.md
CHANGED
package/docs/WebhooksApi.md
CHANGED
package/getEnums.php
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
|
|
3
|
-
use App\Contracts\Enums\PublicEnumInterface;
|
|
4
|
-
|
|
5
|
-
require_once __DIR__."/../../../../vendor/autoload.php";
|
|
6
|
-
|
|
7
|
-
$dir = __DIR__."/models";
|
|
8
|
-
if (!is_dir($dir)) {
|
|
9
|
-
mkdir($dir);
|
|
10
|
-
}
|
|
11
|
-
foreach (\App\Enums\Router\PublicEnumEnum::cases() as $publicEnum) {
|
|
12
|
-
$ref = new ReflectionEnum($publicEnum->value);
|
|
13
|
-
$cases = [];
|
|
14
|
-
foreach ($ref->getCases() as $c) {
|
|
15
|
-
/** @var BackedEnum $enum */
|
|
16
|
-
$enum = $c->getEnum()->getName();
|
|
17
|
-
$value = $c->getBackingValue();
|
|
18
|
-
/** @var PublicEnumInterface $case */
|
|
19
|
-
$case = $enum::from($value);
|
|
20
|
-
$cases[$c->getName()] = [
|
|
21
|
-
"name" => $case->name,
|
|
22
|
-
"value" => $case->value,
|
|
23
|
-
"publicValue" => $case->getPublicValue()
|
|
24
|
-
];
|
|
25
|
-
}
|
|
26
|
-
$enumName = $ref->getShortName();
|
|
27
|
-
$enumString = json_encode($cases, JSON_PRETTY_PRINT);
|
|
28
|
-
$content = "export const $enumName = $enumString as const;".
|
|
29
|
-
"\n\n export type $enumName = typeof $enumName;";
|
|
30
|
-
file_put_contents("$dir/$enumName.ts", $content);
|
|
31
|
-
}
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
use App\Contracts\Enums\PublicEnumInterface;
|
|
4
|
+
|
|
5
|
+
require_once __DIR__."/../../../../vendor/autoload.php";
|
|
6
|
+
|
|
7
|
+
$dir = __DIR__."/models";
|
|
8
|
+
if (!is_dir($dir)) {
|
|
9
|
+
mkdir($dir);
|
|
10
|
+
}
|
|
11
|
+
foreach (\App\Enums\Router\PublicEnumEnum::cases() as $publicEnum) {
|
|
12
|
+
$ref = new ReflectionEnum($publicEnum->value);
|
|
13
|
+
$cases = [];
|
|
14
|
+
foreach ($ref->getCases() as $c) {
|
|
15
|
+
/** @var BackedEnum $enum */
|
|
16
|
+
$enum = $c->getEnum()->getName();
|
|
17
|
+
$value = $c->getBackingValue();
|
|
18
|
+
/** @var PublicEnumInterface $case */
|
|
19
|
+
$case = $enum::from($value);
|
|
20
|
+
$cases[$c->getName()] = [
|
|
21
|
+
"name" => $case->name,
|
|
22
|
+
"value" => $case->value,
|
|
23
|
+
"publicValue" => $case->getPublicValue()
|
|
24
|
+
];
|
|
25
|
+
}
|
|
26
|
+
$enumName = $ref->getShortName();
|
|
27
|
+
$enumString = json_encode($cases, JSON_PRETTY_PRINT);
|
|
28
|
+
$content = "export const $enumName = $enumString as const;".
|
|
29
|
+
"\n\n export type $enumName = typeof $enumName;";
|
|
30
|
+
file_put_contents("$dir/$enumName.ts", $content);
|
|
31
|
+
}
|
package/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
package/models/PortStatusEnum.ts
CHANGED
package/openapitools.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yellowgrid-api-ts",
|
|
3
|
-
"version": "3.2.80
|
|
3
|
+
"version": "3.2.80",
|
|
4
4
|
"description": "OpenAPI client for yellowgrid-api-ts",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepare": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"axios": "^1.
|
|
25
|
+
"axios": "^1.13.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "12.11.5 - 12.20.42",
|
package/docs/NumberPortModel.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# NumberPortModel
|
|
2
|
-
|
|
3
|
-
Number Port Model
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
10
|
-
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
11
|
-
**endUser** | **string** | End User | [optional] [default to undefined]
|
|
12
|
-
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
13
|
-
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
14
|
-
**city** | **string** | City | [optional] [default to undefined]
|
|
15
|
-
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
16
|
-
**trunkId** | **number** | Trunk ID | [optional] [default to undefined]
|
|
17
|
-
**tenantId** | **string** | Tenant ID | [optional] [default to undefined]
|
|
18
|
-
**requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
|
|
19
|
-
**portDate** | **string** | Port Date | [optional] [default to undefined]
|
|
20
|
-
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
21
|
-
**status** | **number** | Status | [optional] [default to undefined]
|
|
22
|
-
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
23
|
-
**ranges** | **Array<any>** | Number Port Ranges | [optional] [default to undefined]
|
|
24
|
-
**customerName** | **string** | Customer Company Name | [optional] [default to undefined]
|
|
25
|
-
|
|
26
|
-
## Example
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { NumberPortModel } from 'yellowgrid-api-ts';
|
|
30
|
-
|
|
31
|
-
const instance: NumberPortModel = {
|
|
32
|
-
id,
|
|
33
|
-
customerId,
|
|
34
|
-
endUser,
|
|
35
|
-
addressLine1,
|
|
36
|
-
addressLine2,
|
|
37
|
-
city,
|
|
38
|
-
postCode,
|
|
39
|
-
trunkId,
|
|
40
|
-
tenantId,
|
|
41
|
-
requestedPortDate,
|
|
42
|
-
portDate,
|
|
43
|
-
comment,
|
|
44
|
-
status,
|
|
45
|
-
ticketId,
|
|
46
|
-
ranges,
|
|
47
|
-
customerName,
|
|
48
|
-
};
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# TelephonySupportTicketModel
|
|
2
|
-
|
|
3
|
-
Telephony Support Ticket
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Ticket ID | [optional] [default to undefined]
|
|
10
|
-
**status** | **string** | Ticket status | [optional] [default to undefined]
|
|
11
|
-
**statusId** | **number** | Ticket status ID | [optional] [default to undefined]
|
|
12
|
-
**subject** | **string** | Ticket subject | [optional] [default to undefined]
|
|
13
|
-
**supportEmail** | **string** | Support email address | [optional] [default to undefined]
|
|
14
|
-
**toEmails** | **Array<string>** | Recipient emails | [optional] [default to undefined]
|
|
15
|
-
**description** | **string** | Ticket description (HTML) | [optional] [default to undefined]
|
|
16
|
-
**descriptionText** | **string** | Ticket description (plain text) | [optional] [default to undefined]
|
|
17
|
-
**createdAt** | **string** | Creation timestamp | [optional] [default to undefined]
|
|
18
|
-
**attachments** | [**Array<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
|
|
19
|
-
**conversations** | [**Array<ConversationModel>**](ConversationModel.md) | Conversations | [optional] [default to undefined]
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { TelephonySupportTicketModel } from 'yellowgrid-api-ts';
|
|
25
|
-
|
|
26
|
-
const instance: TelephonySupportTicketModel = {
|
|
27
|
-
id,
|
|
28
|
-
status,
|
|
29
|
-
statusId,
|
|
30
|
-
subject,
|
|
31
|
-
supportEmail,
|
|
32
|
-
toEmails,
|
|
33
|
-
description,
|
|
34
|
-
descriptionText,
|
|
35
|
-
createdAt,
|
|
36
|
-
attachments,
|
|
37
|
-
conversations,
|
|
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)
|