yellowgrid-api-ts 3.2.220-dev.0 → 3.2.221-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.
@@ -26,13 +26,16 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
26
26
  |[**getGetBundleCallsWithCost**](#getgetbundlecallswithcost) | **GET** /billing/admin/bundleCallsWithCost | |
27
27
  |[**getGetCallTariffPlan**](#getgetcalltariffplan) | **GET** /billing/admin/callTariffPlan | |
28
28
  |[**getGetCallTariffs**](#getgetcalltariffs) | **GET** /billing/admin/callTariffs | |
29
+ |[**getGetCallTariffsDetails**](#getgetcalltariffsdetails) | **GET** /billing/admin/callTariffs/details | |
29
30
  |[**getGetChildren**](#getgetchildren) | **GET** /billing/customer/children | |
30
31
  |[**getGetConnections**](#getgetconnections) | **GET** /billing/customer/connections | |
31
32
  |[**getGetCustomer**](#getgetcustomer) | **GET** /billing/admin/customer | |
32
33
  |[**getGetInboundTariffs**](#getgetinboundtariffs) | **GET** /billing/admin/inboundTariffs | |
34
+ |[**getGetInboundTariffsDetails**](#getgetinboundtariffsdetails) | **GET** /billing/admin/inboundTariffs/details | |
33
35
  |[**getGetPriceGroups**](#getgetpricegroups) | **GET** /billing/admin/priceGroups | |
34
36
  |[**getGetServicePlan**](#getgetserviceplan) | **GET** /billing/admin/servicePlan | |
35
37
  |[**getGetServicePlans**](#getgetserviceplans) | **GET** /billing/admin/servicePlans | |
38
+ |[**getGetServicesPlanDetails**](#getgetservicesplandetails) | **GET** /billing/admin/servicePlans/details | |
36
39
  |[**getGetSipTrunkList**](#getgetsiptrunklist) | **GET** /billing/customer/list/sipTrunks | |
37
40
  |[**getGetSipTrunksBilling**](#getgetsiptrunksbilling) | **GET** /billing/customer/sipTrunks | |
38
41
  |[**getGetUnconnectedCalls**](#getgetunconnectedcalls) | **GET** /billing/admin/unconnectedCalls | |
@@ -47,6 +50,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
47
50
  |[**postAddSipTrunkDDIs**](#postaddsiptrunkddis) | **POST** /billing/customer/sipTrunkDDIs | |
48
51
  |[**postGetBaseServices**](#postgetbaseservices) | **POST** /billing/admin/baseServices | |
49
52
  |[**postGetCallTariffPlan**](#postgetcalltariffplan) | **POST** /billing/admin/callTariffPlan | |
53
+ |[**postGetConnections**](#postgetconnections) | **POST** /billing/customer/connections | |
50
54
  |[**postGetPriceGroups**](#postgetpricegroups) | **POST** /billing/admin/priceGroups | |
51
55
  |[**postGetServicePlans**](#postgetserviceplans) | **POST** /billing/admin/servicePlans | |
52
56
  |[**postGetSipTrunksBilling**](#postgetsiptrunksbilling) | **POST** /billing/customer/sipTrunks | |
@@ -63,6 +67,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
63
67
  |[**putEnableDdiBilling**](#putenableddibilling) | **PUT** /billing/customer/enableDdiBilling | |
64
68
  |[**putGetBaseServices**](#putgetbaseservices) | **PUT** /billing/admin/baseServices | |
65
69
  |[**putGetCallTariffPlan**](#putgetcalltariffplan) | **PUT** /billing/admin/callTariffPlan | |
70
+ |[**putGetConnections**](#putgetconnections) | **PUT** /billing/customer/connections | |
66
71
  |[**putGetPriceGroups**](#putgetpricegroups) | **PUT** /billing/admin/priceGroups | |
67
72
 
68
73
  # **deleteAddCallTariffToCallTariffPlan**
@@ -1218,6 +1223,53 @@ const { status, data } = await apiInstance.getGetCallTariffs();
1218
1223
  This endpoint does not have any parameters.
1219
1224
 
1220
1225
 
1226
+ ### Return type
1227
+
1228
+ **Array<CallTariffPlan>**
1229
+
1230
+ ### Authorization
1231
+
1232
+ No authorization required
1233
+
1234
+ ### HTTP request headers
1235
+
1236
+ - **Content-Type**: Not defined
1237
+ - **Accept**: application/json
1238
+
1239
+
1240
+ ### HTTP response details
1241
+ | Status code | Description | Response headers |
1242
+ |-------------|-------------|------------------|
1243
+ |**200** | Call Tariff Plan | - |
1244
+ |**400** | Bad Request | - |
1245
+ |**401** | Unauthorised | - |
1246
+ |**403** | Access Denied | - |
1247
+
1248
+ [[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)
1249
+
1250
+ # **getGetCallTariffsDetails**
1251
+ > Array<CallTariffPlan> getGetCallTariffsDetails()
1252
+
1253
+ Get Call Tariffs Detailed
1254
+
1255
+ ### Example
1256
+
1257
+ ```typescript
1258
+ import {
1259
+ BillingApi,
1260
+ Configuration
1261
+ } from 'yellowgrid-api-ts';
1262
+
1263
+ const configuration = new Configuration();
1264
+ const apiInstance = new BillingApi(configuration);
1265
+
1266
+ const { status, data } = await apiInstance.getGetCallTariffsDetails();
1267
+ ```
1268
+
1269
+ ### Parameters
1270
+ This endpoint does not have any parameters.
1271
+
1272
+
1221
1273
  ### Return type
1222
1274
 
1223
1275
  **Array<CallTariffPlan>**
@@ -1460,6 +1512,53 @@ No authorization required
1460
1512
 
1461
1513
  [[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)
1462
1514
 
1515
+ # **getGetInboundTariffsDetails**
1516
+ > Array<InboundTariffPlanResponse> getGetInboundTariffsDetails()
1517
+
1518
+ Get Inbound Tariffs Detailed
1519
+
1520
+ ### Example
1521
+
1522
+ ```typescript
1523
+ import {
1524
+ BillingApi,
1525
+ Configuration
1526
+ } from 'yellowgrid-api-ts';
1527
+
1528
+ const configuration = new Configuration();
1529
+ const apiInstance = new BillingApi(configuration);
1530
+
1531
+ const { status, data } = await apiInstance.getGetInboundTariffsDetails();
1532
+ ```
1533
+
1534
+ ### Parameters
1535
+ This endpoint does not have any parameters.
1536
+
1537
+
1538
+ ### Return type
1539
+
1540
+ **Array<InboundTariffPlanResponse>**
1541
+
1542
+ ### Authorization
1543
+
1544
+ No authorization required
1545
+
1546
+ ### HTTP request headers
1547
+
1548
+ - **Content-Type**: Not defined
1549
+ - **Accept**: application/json
1550
+
1551
+
1552
+ ### HTTP response details
1553
+ | Status code | Description | Response headers |
1554
+ |-------------|-------------|------------------|
1555
+ |**200** | Inbound Tariff | - |
1556
+ |**400** | Bad Request | - |
1557
+ |**401** | Unauthorised | - |
1558
+ |**403** | Access Denied | - |
1559
+
1560
+ [[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)
1561
+
1463
1562
  # **getGetPriceGroups**
1464
1563
  > Array<PriceGroup> getGetPriceGroups()
1465
1564
 
@@ -1584,6 +1683,53 @@ const { status, data } = await apiInstance.getGetServicePlans();
1584
1683
  This endpoint does not have any parameters.
1585
1684
 
1586
1685
 
1686
+ ### Return type
1687
+
1688
+ **Array<ServicePlan>**
1689
+
1690
+ ### Authorization
1691
+
1692
+ No authorization required
1693
+
1694
+ ### HTTP request headers
1695
+
1696
+ - **Content-Type**: Not defined
1697
+ - **Accept**: application/json
1698
+
1699
+
1700
+ ### HTTP response details
1701
+ | Status code | Description | Response headers |
1702
+ |-------------|-------------|------------------|
1703
+ |**200** | Service Plan | - |
1704
+ |**400** | Bad Request | - |
1705
+ |**401** | Unauthorised | - |
1706
+ |**403** | Access Denied | - |
1707
+
1708
+ [[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)
1709
+
1710
+ # **getGetServicesPlanDetails**
1711
+ > Array<ServicePlan> getGetServicesPlanDetails()
1712
+
1713
+ Get Service Plans Detailed
1714
+
1715
+ ### Example
1716
+
1717
+ ```typescript
1718
+ import {
1719
+ BillingApi,
1720
+ Configuration
1721
+ } from 'yellowgrid-api-ts';
1722
+
1723
+ const configuration = new Configuration();
1724
+ const apiInstance = new BillingApi(configuration);
1725
+
1726
+ const { status, data } = await apiInstance.getGetServicesPlanDetails();
1727
+ ```
1728
+
1729
+ ### Parameters
1730
+ This endpoint does not have any parameters.
1731
+
1732
+
1587
1733
  ### Return type
1588
1734
 
1589
1735
  **Array<ServicePlan>**
@@ -2377,6 +2523,64 @@ No authorization required
2377
2523
 
2378
2524
  [[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)
2379
2525
 
2526
+ # **postGetConnections**
2527
+ > OutboundCli postGetConnections()
2528
+
2529
+ Add Connection
2530
+
2531
+ ### Example
2532
+
2533
+ ```typescript
2534
+ import {
2535
+ BillingApi,
2536
+ Configuration,
2537
+ ConnectionRequest
2538
+ } from 'yellowgrid-api-ts';
2539
+
2540
+ const configuration = new Configuration();
2541
+ const apiInstance = new BillingApi(configuration);
2542
+
2543
+ let billCustomerId: number; //Customer ID (optional) (default to undefined)
2544
+ let connectionRequest: ConnectionRequest; // (optional)
2545
+
2546
+ const { status, data } = await apiInstance.postGetConnections(
2547
+ billCustomerId,
2548
+ connectionRequest
2549
+ );
2550
+ ```
2551
+
2552
+ ### Parameters
2553
+
2554
+ |Name | Type | Description | Notes|
2555
+ |------------- | ------------- | ------------- | -------------|
2556
+ | **connectionRequest** | **ConnectionRequest**| | |
2557
+ | **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
2558
+
2559
+
2560
+ ### Return type
2561
+
2562
+ **OutboundCli**
2563
+
2564
+ ### Authorization
2565
+
2566
+ No authorization required
2567
+
2568
+ ### HTTP request headers
2569
+
2570
+ - **Content-Type**: application/json
2571
+ - **Accept**: application/json
2572
+
2573
+
2574
+ ### HTTP response details
2575
+ | Status code | Description | Response headers |
2576
+ |-------------|-------------|------------------|
2577
+ |**200** | Connection | - |
2578
+ |**400** | Bad Request | - |
2579
+ |**401** | Unauthorised | - |
2580
+ |**403** | Access Denied | - |
2581
+
2582
+ [[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)
2583
+
2380
2584
  # **postGetPriceGroups**
2381
2585
  > PriceGroup postGetPriceGroups(postGetPriceGroupsRequest)
2382
2586
 
@@ -3280,6 +3484,67 @@ No authorization required
3280
3484
 
3281
3485
  [[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)
3282
3486
 
3487
+ # **putGetConnections**
3488
+ > OutboundCli putGetConnections()
3489
+
3490
+ Update Connection
3491
+
3492
+ ### Example
3493
+
3494
+ ```typescript
3495
+ import {
3496
+ BillingApi,
3497
+ Configuration,
3498
+ ConnectionRequest
3499
+ } from 'yellowgrid-api-ts';
3500
+
3501
+ const configuration = new Configuration();
3502
+ const apiInstance = new BillingApi(configuration);
3503
+
3504
+ let connectionId: number; //Connection ID (default to undefined)
3505
+ let billCustomerId: number; //Customer ID (optional) (default to undefined)
3506
+ let connectionRequest: ConnectionRequest; // (optional)
3507
+
3508
+ const { status, data } = await apiInstance.putGetConnections(
3509
+ connectionId,
3510
+ billCustomerId,
3511
+ connectionRequest
3512
+ );
3513
+ ```
3514
+
3515
+ ### Parameters
3516
+
3517
+ |Name | Type | Description | Notes|
3518
+ |------------- | ------------- | ------------- | -------------|
3519
+ | **connectionRequest** | **ConnectionRequest**| | |
3520
+ | **connectionId** | [**number**] | Connection ID | defaults to undefined|
3521
+ | **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
3522
+
3523
+
3524
+ ### Return type
3525
+
3526
+ **OutboundCli**
3527
+
3528
+ ### Authorization
3529
+
3530
+ No authorization required
3531
+
3532
+ ### HTTP request headers
3533
+
3534
+ - **Content-Type**: application/json
3535
+ - **Accept**: application/json
3536
+
3537
+
3538
+ ### HTTP response details
3539
+ | Status code | Description | Response headers |
3540
+ |-------------|-------------|------------------|
3541
+ |**200** | Connection | - |
3542
+ |**400** | Bad Request | - |
3543
+ |**401** | Unauthorised | - |
3544
+ |**403** | Access Denied | - |
3545
+
3546
+ [[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)
3547
+
3283
3548
  # **putGetPriceGroups**
3284
3549
  > PriceGroup putGetPriceGroups(putGetPriceGroupsRequest)
3285
3550
 
@@ -0,0 +1,26 @@
1
+ # CallTariffResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **priceGroupId** | **number** | | [optional] [default to undefined]
10
+ **priceGroup** | [**PriceGroupResponse**](PriceGroupResponse.md) | | [optional] [default to undefined]
11
+ **tariffRate** | [**TariffRate**](TariffRate.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { CallTariffResponse } from 'yellowgrid-api-ts';
17
+
18
+ const instance: CallTariffResponse = {
19
+ id,
20
+ priceGroupId,
21
+ priceGroup,
22
+ tariffRate,
23
+ };
24
+ ```
25
+
26
+ [[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,36 @@
1
+ # ConnectionRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **customerId** | **number** | | [default to undefined]
9
+ **reference** | **string** | | [default to undefined]
10
+ **connectionDate** | **string** | | [default to undefined]
11
+ **servicePlanId** | **number** | | [default to undefined]
12
+ **zeroRated** | **boolean** | | [optional] [default to undefined]
13
+ **callTariffPlanId** | **number** | | [optional] [default to undefined]
14
+ **inboundTariffPlanId** | **number** | | [optional] [default to undefined]
15
+ **invoiceDescription** | **string** | | [optional] [default to undefined]
16
+ **mtSipTrunkRequest** | [**MultiTenantSipTrunkRequest**](MultiTenantSipTrunkRequest.md) | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { ConnectionRequest } from 'yellowgrid-api-ts';
22
+
23
+ const instance: ConnectionRequest = {
24
+ customerId,
25
+ reference,
26
+ connectionDate,
27
+ servicePlanId,
28
+ zeroRated,
29
+ callTariffPlanId,
30
+ inboundTariffPlanId,
31
+ invoiceDescription,
32
+ mtSipTrunkRequest,
33
+ };
34
+ ```
35
+
36
+ [[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,28 @@
1
+ # InboundTariffPlanResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **rate** | [**TariffRate**](TariffRate.md) | | [optional] [default to undefined]
11
+ **callTariffs** | [**Array&lt;CallTariffResponse&gt;**](CallTariffResponse.md) | | [optional] [default to undefined]
12
+ **closed** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { InboundTariffPlanResponse } from 'yellowgrid-api-ts';
18
+
19
+ const instance: InboundTariffPlanResponse = {
20
+ id,
21
+ name,
22
+ rate,
23
+ callTariffs,
24
+ closed,
25
+ };
26
+ ```
27
+
28
+ [[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,22 @@
1
+ # MultiTenantSipTrunkRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **isPrimary** | **boolean** | | [default to undefined]
9
+ **mtPrimarySipTrunkId** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { MultiTenantSipTrunkRequest } from 'yellowgrid-api-ts';
15
+
16
+ const instance: MultiTenantSipTrunkRequest = {
17
+ isPrimary,
18
+ mtPrimarySipTrunkId,
19
+ };
20
+ ```
21
+
22
+ [[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,24 @@
1
+ # PriceGroupResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PriceGroupResponse } from 'yellowgrid-api-ts';
16
+
17
+ const instance: PriceGroupResponse = {
18
+ id,
19
+ name,
20
+ description,
21
+ };
22
+ ```
23
+
24
+ [[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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.220-dev.0",
3
+ "version": "3.2.221-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {