yellowgrid-api-ts 3.2.69-dev.0 → 3.2.71-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.
@@ -0,0 +1,18 @@
1
+ export declare const EventStatusEnum: {
2
+ readonly ONGOING: {
3
+ readonly name: "ONGOING";
4
+ readonly value: 0;
5
+ readonly publicValue: "Ongoing";
6
+ };
7
+ readonly RESOLVED: {
8
+ readonly name: "RESOLVED";
9
+ readonly value: 1;
10
+ readonly publicValue: "Resolved";
11
+ };
12
+ readonly ARCHIVED: {
13
+ readonly name: "ARCHIVED";
14
+ readonly value: 2;
15
+ readonly publicValue: "Archived";
16
+ };
17
+ };
18
+ export type EventStatusEnum = typeof EventStatusEnum;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventStatusEnum = void 0;
4
+ exports.EventStatusEnum = {
5
+ "ONGOING": {
6
+ "name": "ONGOING",
7
+ "value": 0,
8
+ "publicValue": "Ongoing"
9
+ },
10
+ "RESOLVED": {
11
+ "name": "RESOLVED",
12
+ "value": 1,
13
+ "publicValue": "Resolved"
14
+ },
15
+ "ARCHIVED": {
16
+ "name": "ARCHIVED",
17
+ "value": 2,
18
+ "publicValue": "Archived"
19
+ }
20
+ };
@@ -0,0 +1,18 @@
1
+ export declare const PortStatusEnum: {
2
+ readonly DRAFT: {
3
+ readonly name: "DRAFT";
4
+ readonly value: 0;
5
+ readonly publicValue: "Draft";
6
+ };
7
+ readonly OPEN: {
8
+ readonly name: "OPEN";
9
+ readonly value: 1;
10
+ readonly publicValue: "Open";
11
+ };
12
+ readonly CLOSED: {
13
+ readonly name: "CLOSED";
14
+ readonly value: 2;
15
+ readonly publicValue: "Closed";
16
+ };
17
+ };
18
+ export type PortStatusEnum = typeof PortStatusEnum;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PortStatusEnum = void 0;
4
+ exports.PortStatusEnum = {
5
+ "DRAFT": {
6
+ "name": "DRAFT",
7
+ "value": 0,
8
+ "publicValue": "Draft"
9
+ },
10
+ "OPEN": {
11
+ "name": "OPEN",
12
+ "value": 1,
13
+ "publicValue": "Open"
14
+ },
15
+ "CLOSED": {
16
+ "name": "CLOSED",
17
+ "value": 2,
18
+ "publicValue": "Closed"
19
+ }
20
+ };
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.yellowgrid.local*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**deleteGetTenant**](#deletegettenant) | **DELETE** /tcx/mt/tenants/{reference} | Delete 3CX MT Tenant|
8
+ |[**getGetAdminTenants**](#getgetadmintenants) | **GET** /tcx/mt/admin/tenants | Get 3CX MT Tenants|
8
9
  |[**getGetTenant**](#getgettenant) | **GET** /tcx/mt/tenants/{reference} | Get 3CX MT Tenant|
9
10
  |[**getGetTenants**](#getgettenants) | **GET** /tcx/mt/tenants | Get 3CX MT Tenants|
10
11
  |[**postAddMtDdi**](#postaddmtddi) | **POST** /tcx/mt/ddis | Add 3CX MT DDI|
@@ -66,6 +67,60 @@ No authorization required
66
67
 
67
68
  [[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)
68
69
 
70
+ # **getGetAdminTenants**
71
+ > Array<TcxMultiTenantModel> getGetAdminTenants()
72
+
73
+ Get 3CX Starter Bundle Tenants
74
+
75
+ ### Example
76
+
77
+ ```typescript
78
+ import {
79
+ Class3CXMultiTenantApi,
80
+ Configuration
81
+ } from 'yellowgrid-api-ts';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new Class3CXMultiTenantApi(configuration);
85
+
86
+ let customerId: number; // (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.getGetAdminTenants(
89
+ customerId
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **customerId** | [**number**] | | defaults to undefined|
98
+
99
+
100
+ ### Return type
101
+
102
+ **Array<TcxMultiTenantModel>**
103
+
104
+ ### Authorization
105
+
106
+ No authorization required
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
114
+ ### HTTP response details
115
+ | Status code | Description | Response headers |
116
+ |-------------|-------------|------------------|
117
+ |**200** | 3CX Starter Bundle Tenant | - |
118
+ |**400** | Bad Request | - |
119
+ |**401** | Unauthorised | - |
120
+ |**403** | Access Denied | - |
121
+
122
+ [[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)
123
+
69
124
  # **getGetTenant**
70
125
  > TcxMultiTenantModel getGetTenant()
71
126
 
@@ -0,0 +1,55 @@
1
+ # NumberPortDTO
2
+
3
+ Number Port Response
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **companyName** | **string** | Company Name | [optional] [default to undefined]
10
+ **addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
11
+ **addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
12
+ **city** | **string** | City | [optional] [default to undefined]
13
+ **postCode** | **string** | Post Code | [optional] [default to undefined]
14
+ **trunkId** | **number** | Trunk ID | [optional] [default to undefined]
15
+ **tenantId** | **string** | Starter Bundle ID | [optional] [default to undefined]
16
+ **requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
17
+ **asap** | **boolean** | Port Date ASAP | [optional] [default to undefined]
18
+ **comment** | **string** | Comment | [optional] [default to undefined]
19
+ **id** | **number** | Number Port ID | [optional] [default to undefined]
20
+ **customerId** | **number** | Reseller ID | [optional] [default to undefined]
21
+ **customerName** | **string** | Customer Name | [optional] [default to undefined]
22
+ **portDate** | **string** | Porting Date | [optional] [default to undefined]
23
+ **numberRanges** | [**Array&lt;NumberPortRangeDTO&gt;**](NumberPortRangeDTO.md) | Number Ranges | [optional] [default to undefined]
24
+ **status** | **number** | Status | [optional] [default to undefined]
25
+ **statusText** | **string** | Status Text | [optional] [default to undefined]
26
+ **ticketId** | **number** | Ticket ID | [optional] [default to undefined]
27
+
28
+ ## Example
29
+
30
+ ```typescript
31
+ import { NumberPortDTO } from 'yellowgrid-api-ts';
32
+
33
+ const instance: NumberPortDTO = {
34
+ companyName,
35
+ addressLine1,
36
+ addressLine2,
37
+ city,
38
+ postCode,
39
+ trunkId,
40
+ tenantId,
41
+ requestedPortDate,
42
+ asap,
43
+ comment,
44
+ id,
45
+ customerId,
46
+ customerName,
47
+ portDate,
48
+ numberRanges,
49
+ status,
50
+ statusText,
51
+ ticketId,
52
+ };
53
+ ```
54
+
55
+ [[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,51 @@
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&lt;any&gt;** | 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)
@@ -0,0 +1,33 @@
1
+ # NumberPortRangeDTO
2
+
3
+ Number Port Range Response
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **rangeStart** | **string** | Range Start Number | [optional] [default to undefined]
10
+ **rangeEnd** | **string** | Range End Number | [optional] [default to undefined]
11
+ **lcp** | **string** | Losing Communications Provider | [optional] [default to undefined]
12
+ **postCode** | **string** | Range Post Code | [optional] [default to undefined]
13
+ **id** | **number** | Number Port Range ID | [optional] [default to undefined]
14
+ **portId** | **number** | Number Port ID | [optional] [default to undefined]
15
+ **rangeHolder** | **string** | Range Holder | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { NumberPortRangeDTO } from 'yellowgrid-api-ts';
21
+
22
+ const instance: NumberPortRangeDTO = {
23
+ rangeStart,
24
+ rangeEnd,
25
+ lcp,
26
+ postCode,
27
+ id,
28
+ portId,
29
+ rangeHolder,
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,27 @@
1
+ # NumberPortRangeRequestDTO
2
+
3
+ NumberPortRangeDTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **rangeStart** | **string** | Range Start Number | [optional] [default to undefined]
10
+ **rangeEnd** | **string** | Range End Number | [optional] [default to undefined]
11
+ **lcp** | **string** | Losing Communications Provider | [optional] [default to undefined]
12
+ **postCode** | **string** | Range Post Code | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { NumberPortRangeRequestDTO } from 'yellowgrid-api-ts';
18
+
19
+ const instance: NumberPortRangeRequestDTO = {
20
+ rangeStart,
21
+ rangeEnd,
22
+ lcp,
23
+ postCode,
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)