yellowgrid-api-ts 3.2.218-dev.0 → 3.2.219-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.
- package/.openapi-generator/FILES +52 -1
- package/README.md +119 -2
- package/api.ts +5345 -123
- package/dist/api.d.ts +2715 -52
- package/dist/api.js +5500 -118
- package/dist/models/ConnectionTypeEnum.d.ts +63 -0
- package/dist/models/ConnectionTypeEnum.js +65 -0
- package/docs/AdminRmaDTO.md +3 -1
- package/docs/AdminRmaItemDTO.md +2 -0
- package/docs/AdminRmaSummaryDTO.md +2 -0
- package/docs/BaseService.md +36 -0
- package/docs/BillingApi.md +3575 -25
- package/docs/Bundle.md +34 -0
- package/docs/BundleCustomer.md +34 -0
- package/docs/CallTariff.md +34 -0
- package/docs/CallTariffPlan.md +36 -0
- package/docs/CallTariffResponse.md +26 -0
- package/docs/Cdr.md +112 -0
- package/docs/ConnectionRequest.md +36 -0
- package/docs/ConnectionType.md +28 -0
- package/docs/ContactDetail.md +58 -0
- package/docs/Customer.md +98 -0
- package/docs/CustomerRate.md +22 -0
- package/docs/CustomerRateType.md +12 -0
- package/docs/InboundCli.md +50 -0
- package/docs/InboundTariffPlan.md +32 -0
- package/docs/InboundTariffPlanResponse.md +28 -0
- package/docs/MultiTenantSipTrunkRequest.md +22 -0
- package/docs/OutboundCli.md +70 -0
- package/docs/PostAddBroadbandRequest.md +28 -0
- package/docs/PostAddCallTariffToCallTariffPlanRequest.md +34 -0
- package/docs/PostAddEthernetRequest.md +28 -0
- package/docs/PostAddRecurringChargeRequest.md +30 -0
- package/docs/PostAddServiceToServicePlanRequest.md +30 -0
- package/docs/PostAddSipTrunkDDIsRequest.md +30 -0
- package/docs/PostDisconnectDDIRequest.md +20 -0
- package/docs/PostGetBaseServicesRequest.md +22 -0
- package/docs/PostGetPriceGroupsRequest.md +22 -0
- package/docs/PostGetServicePlansRequest.md +22 -0
- package/docs/PostGetSipTrunksBillingRequest.md +34 -0
- package/docs/PostUpdateConnectionRequest.md +22 -0
- package/docs/PostUpdateRecurringChargeRequest.md +30 -0
- package/docs/PriceGroup.md +30 -0
- package/docs/PriceGroupResponse.md +24 -0
- package/docs/ProcessedCdr.md +96 -0
- package/docs/ProductSerialInfoDTO.md +27 -0
- package/docs/PutAddCallTariffToCallTariffPlanRequest.md +30 -0
- package/docs/PutAddServiceToServicePlanRequest.md +26 -0
- package/docs/PutConnectionSearchRequest.md +20 -0
- package/docs/PutGetBaseServicesRequest.md +28 -0
- package/docs/PutGetCallTariffPlanRequest.md +28 -0
- package/docs/PutGetPriceGroupsRequest.md +28 -0
- package/docs/RMAApi.md +111 -1
- package/docs/RecurringCharge.md +48 -0
- package/docs/RmaDTO.md +2 -0
- package/docs/RmaItemDTO.md +2 -0
- package/docs/RmaOrderDTO.md +29 -0
- package/docs/RmaOrderItemDTO.md +33 -0
- package/docs/RmaOrderSummaryDTO.md +25 -0
- package/docs/RmaSummaryDTO.md +2 -0
- package/docs/Sdr.md +66 -0
- package/docs/SdrReferenceType.md +24 -0
- package/docs/Service.md +42 -0
- package/docs/ServicePlan.md +36 -0
- package/docs/SpecialService.md +40 -0
- package/docs/TariffRate.md +30 -0
- package/docs/UnconnectedSdr.md +68 -0
- package/models/ConnectionTypeEnum.ts +64 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PutConnectionSearchRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PutConnectionSearchRequest } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: PutConnectionSearchRequest = {
|
|
16
|
+
customerId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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
|
+
# PutGetBaseServicesRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**property** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**value** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**serviceCodeAdmin** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**dataType** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PutGetBaseServicesRequest } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: PutGetBaseServicesRequest = {
|
|
20
|
+
property,
|
|
21
|
+
value,
|
|
22
|
+
serviceCodeAdmin,
|
|
23
|
+
description,
|
|
24
|
+
dataType,
|
|
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,28 @@
|
|
|
1
|
+
# PutGetCallTariffPlanRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**unknownDestinationsRateType** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**unknownDestinationsRateAmount** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**ngcsAccessChargePerMin** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**ngcsAccessChargePerCall** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PutGetCallTariffPlanRequest } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: PutGetCallTariffPlanRequest = {
|
|
20
|
+
name,
|
|
21
|
+
unknownDestinationsRateType,
|
|
22
|
+
unknownDestinationsRateAmount,
|
|
23
|
+
ngcsAccessChargePerMin,
|
|
24
|
+
ngcsAccessChargePerCall,
|
|
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,28 @@
|
|
|
1
|
+
# PutGetPriceGroupsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**property** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**value** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**unknownDestinationsRateAmount** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**ngcsAccessChargePerMin** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**ngcsAccessChargePerCall** | **number** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PutGetPriceGroupsRequest } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: PutGetPriceGroupsRequest = {
|
|
20
|
+
property,
|
|
21
|
+
value,
|
|
22
|
+
unknownDestinationsRateAmount,
|
|
23
|
+
ngcsAccessChargePerMin,
|
|
24
|
+
ngcsAccessChargePerCall,
|
|
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)
|
package/docs/RMAApi.md
CHANGED
|
@@ -10,6 +10,8 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
|
10
10
|
|[**getGetAdminRma**](#getgetadminrma) | **GET** /admin/rma/{id} | |
|
|
11
11
|
|[**getGetAdminRmas**](#getgetadminrmas) | **GET** /admin/rma | |
|
|
12
12
|
|[**getGetRma**](#getgetrma) | **GET** /rma/{id} | |
|
|
13
|
+
|[**getGetRmaOrder**](#getgetrmaorder) | **GET** /rma/orders/{id} | |
|
|
14
|
+
|[**getSearchRmaOrders**](#getsearchrmaorders) | **GET** /rma/orders | |
|
|
13
15
|
|[**patchApproveRma**](#patchapproverma) | **PATCH** /admin/rma/{id}/approve | |
|
|
14
16
|
|[**patchMarkRmaItemAsBinned**](#patchmarkrmaitemasbinned) | **PATCH** /admin/rma/{id}/items/{item_id}/bin | |
|
|
15
17
|
|[**patchMarkRmaItemAsReceived**](#patchmarkrmaitemasreceived) | **PATCH** /admin/rma/{id}/items/{item_id}/received | |
|
|
@@ -309,7 +311,7 @@ No authorization required
|
|
|
309
311
|
### HTTP response details
|
|
310
312
|
| Status code | Description | Response headers |
|
|
311
313
|
|-------------|-------------|------------------|
|
|
312
|
-
|**200** |
|
|
314
|
+
|**200** | Admin RMAs | - |
|
|
313
315
|
|**400** | Bad Request | - |
|
|
314
316
|
|**401** | Unauthorised | - |
|
|
315
317
|
|**403** | Access Denied | - |
|
|
@@ -370,6 +372,114 @@ No authorization required
|
|
|
370
372
|
|
|
371
373
|
[[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)
|
|
372
374
|
|
|
375
|
+
# **getGetRmaOrder**
|
|
376
|
+
> RmaOrderDTO getGetRmaOrder()
|
|
377
|
+
|
|
378
|
+
Get Order by ID
|
|
379
|
+
|
|
380
|
+
### Example
|
|
381
|
+
|
|
382
|
+
```typescript
|
|
383
|
+
import {
|
|
384
|
+
RMAApi,
|
|
385
|
+
Configuration
|
|
386
|
+
} from 'yellowgrid-api-ts';
|
|
387
|
+
|
|
388
|
+
const configuration = new Configuration();
|
|
389
|
+
const apiInstance = new RMAApi(configuration);
|
|
390
|
+
|
|
391
|
+
let id: number; //Order ID (default to undefined)
|
|
392
|
+
|
|
393
|
+
const { status, data } = await apiInstance.getGetRmaOrder(
|
|
394
|
+
id
|
|
395
|
+
);
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### Parameters
|
|
399
|
+
|
|
400
|
+
|Name | Type | Description | Notes|
|
|
401
|
+
|------------- | ------------- | ------------- | -------------|
|
|
402
|
+
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
### Return type
|
|
406
|
+
|
|
407
|
+
**RmaOrderDTO**
|
|
408
|
+
|
|
409
|
+
### Authorization
|
|
410
|
+
|
|
411
|
+
No authorization required
|
|
412
|
+
|
|
413
|
+
### HTTP request headers
|
|
414
|
+
|
|
415
|
+
- **Content-Type**: Not defined
|
|
416
|
+
- **Accept**: application/json
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
### HTTP response details
|
|
420
|
+
| Status code | Description | Response headers |
|
|
421
|
+
|-------------|-------------|------------------|
|
|
422
|
+
|**200** | RMA | - |
|
|
423
|
+
|**400** | Bad Request | - |
|
|
424
|
+
|**401** | Unauthorised | - |
|
|
425
|
+
|**403** | Access Denied | - |
|
|
426
|
+
|
|
427
|
+
[[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)
|
|
428
|
+
|
|
429
|
+
# **getSearchRmaOrders**
|
|
430
|
+
> Array<RmaOrderSummaryDTO> getSearchRmaOrders()
|
|
431
|
+
|
|
432
|
+
Search for Orders to create an RMA
|
|
433
|
+
|
|
434
|
+
### Example
|
|
435
|
+
|
|
436
|
+
```typescript
|
|
437
|
+
import {
|
|
438
|
+
RMAApi,
|
|
439
|
+
Configuration
|
|
440
|
+
} from 'yellowgrid-api-ts';
|
|
441
|
+
|
|
442
|
+
const configuration = new Configuration();
|
|
443
|
+
const apiInstance = new RMAApi(configuration);
|
|
444
|
+
|
|
445
|
+
let search: string; //Search (optional) (default to undefined)
|
|
446
|
+
|
|
447
|
+
const { status, data } = await apiInstance.getSearchRmaOrders(
|
|
448
|
+
search
|
|
449
|
+
);
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### Parameters
|
|
453
|
+
|
|
454
|
+
|Name | Type | Description | Notes|
|
|
455
|
+
|------------- | ------------- | ------------- | -------------|
|
|
456
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
### Return type
|
|
460
|
+
|
|
461
|
+
**Array<RmaOrderSummaryDTO>**
|
|
462
|
+
|
|
463
|
+
### Authorization
|
|
464
|
+
|
|
465
|
+
No authorization required
|
|
466
|
+
|
|
467
|
+
### HTTP request headers
|
|
468
|
+
|
|
469
|
+
- **Content-Type**: Not defined
|
|
470
|
+
- **Accept**: application/json
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
### HTTP response details
|
|
474
|
+
| Status code | Description | Response headers |
|
|
475
|
+
|-------------|-------------|------------------|
|
|
476
|
+
|**200** | Customer RMAs | - |
|
|
477
|
+
|**400** | Bad Request | - |
|
|
478
|
+
|**401** | Unauthorised | - |
|
|
479
|
+
|**403** | Access Denied | - |
|
|
480
|
+
|
|
481
|
+
[[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)
|
|
482
|
+
|
|
373
483
|
# **patchApproveRma**
|
|
374
484
|
> patchApproveRma()
|
|
375
485
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# RecurringCharge
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**createdDate** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**customerId** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**customer** | [**Customer**](Customer.md) | | [default to undefined]
|
|
12
|
+
**phoneNumber** | **string** | | [default to undefined]
|
|
13
|
+
**description** | **string** | | [default to undefined]
|
|
14
|
+
**channelPartnerBuy** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**customerCharge** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**frequency** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**startDate** | **string** | | [default to undefined]
|
|
18
|
+
**endDate** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**quantity** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**accountCode** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**isActive** | **boolean** | | [optional] [readonly] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { RecurringCharge } from 'yellowgrid-api-ts';
|
|
28
|
+
|
|
29
|
+
const instance: RecurringCharge = {
|
|
30
|
+
createdDate,
|
|
31
|
+
id,
|
|
32
|
+
customerId,
|
|
33
|
+
customer,
|
|
34
|
+
phoneNumber,
|
|
35
|
+
description,
|
|
36
|
+
channelPartnerBuy,
|
|
37
|
+
customerCharge,
|
|
38
|
+
frequency,
|
|
39
|
+
startDate,
|
|
40
|
+
endDate,
|
|
41
|
+
quantity,
|
|
42
|
+
accountCode,
|
|
43
|
+
filePeriod,
|
|
44
|
+
isActive,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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/RmaDTO.md
CHANGED
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
16
16
|
**resolution** | **number** | RMA Resolution | [optional] [default to undefined]
|
|
17
17
|
**status** | **number** | RMA Status | [optional] [default to undefined]
|
|
18
|
+
**statusText** | **string** | RMA Status Text | [optional] [default to undefined]
|
|
18
19
|
**approved** | **boolean** | RMA Approval Status | [optional] [default to undefined]
|
|
19
20
|
**address** | [**AddressDTO**](AddressDTO.md) | RMA Return Address | [optional] [default to undefined]
|
|
20
21
|
**items** | [**Array<RmaItemDTO>**](RmaItemDTO.md) | RMA Items | [optional] [default to undefined]
|
|
@@ -34,6 +35,7 @@ const instance: RmaDTO = {
|
|
|
34
35
|
ticketId,
|
|
35
36
|
resolution,
|
|
36
37
|
status,
|
|
38
|
+
statusText,
|
|
37
39
|
approved,
|
|
38
40
|
address,
|
|
39
41
|
items,
|
package/docs/RmaItemDTO.md
CHANGED
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**serialNumber** | **string** | RMA Item Serial Number | [optional] [default to undefined]
|
|
14
14
|
**received** | **boolean** | RMA Item Received Status | [optional] [default to undefined]
|
|
15
15
|
**status** | **number** | RMA Item Status | [optional] [default to undefined]
|
|
16
|
+
**statusText** | **string** | RMA Item Status Text | [optional] [default to undefined]
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -27,6 +28,7 @@ const instance: RmaItemDTO = {
|
|
|
27
28
|
serialNumber,
|
|
28
29
|
received,
|
|
29
30
|
status,
|
|
31
|
+
statusText,
|
|
30
32
|
};
|
|
31
33
|
```
|
|
32
34
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# RmaOrderDTO
|
|
2
|
+
|
|
3
|
+
RMA Order
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Order ID | [optional] [default to undefined]
|
|
10
|
+
**reference** | **string** | Order Reference | [optional] [default to undefined]
|
|
11
|
+
**orderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
12
|
+
**warrantyExpired** | **boolean** | Warranty Expired | [optional] [default to undefined]
|
|
13
|
+
**items** | [**Array<RmaOrderItemDTO>**](RmaOrderItemDTO.md) | RMA Order Items | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { RmaOrderDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: RmaOrderDTO = {
|
|
21
|
+
id,
|
|
22
|
+
reference,
|
|
23
|
+
orderDate,
|
|
24
|
+
warrantyExpired,
|
|
25
|
+
items,
|
|
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,33 @@
|
|
|
1
|
+
# RmaOrderItemDTO
|
|
2
|
+
|
|
3
|
+
RMA Order Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**itemId** | **number** | Item ID | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Item Name | [optional] [default to undefined]
|
|
11
|
+
**serialInfo** | [**ProductSerialInfoDTO**](ProductSerialInfoDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**alreadyReturnedQuantity** | **number** | Returned Quantity | [optional] [default to undefined]
|
|
13
|
+
**availableReturnQuantity** | **number** | Available Return Quantity | [optional] [default to undefined]
|
|
14
|
+
**endOfLife** | **boolean** | End of Life | [optional] [default to undefined]
|
|
15
|
+
**unlikelyReturn** | **boolean** | Unlikely Return | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { RmaOrderItemDTO } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: RmaOrderItemDTO = {
|
|
23
|
+
itemId,
|
|
24
|
+
name,
|
|
25
|
+
serialInfo,
|
|
26
|
+
alreadyReturnedQuantity,
|
|
27
|
+
availableReturnQuantity,
|
|
28
|
+
endOfLife,
|
|
29
|
+
unlikelyReturn,
|
|
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,25 @@
|
|
|
1
|
+
# RmaOrderSummaryDTO
|
|
2
|
+
|
|
3
|
+
RMA Order Summary
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Order ID | [optional] [default to undefined]
|
|
10
|
+
**reference** | **string** | Order Reference | [optional] [default to undefined]
|
|
11
|
+
**orderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RmaOrderSummaryDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: RmaOrderSummaryDTO = {
|
|
19
|
+
id,
|
|
20
|
+
reference,
|
|
21
|
+
orderDate,
|
|
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)
|
package/docs/RmaSummaryDTO.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
11
11
|
**orderReference** | **string** | Order Reference | [optional] [default to undefined]
|
|
12
12
|
**status** | **number** | RMA Status | [optional] [default to undefined]
|
|
13
|
+
**statusText** | **string** | Status Text | [optional] [default to undefined]
|
|
13
14
|
**items** | [**Array<RmaSummaryItemDTO>**](RmaSummaryItemDTO.md) | RMA Summary Items | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -22,6 +23,7 @@ const instance: RmaSummaryDTO = {
|
|
|
22
23
|
orderId,
|
|
23
24
|
orderReference,
|
|
24
25
|
status,
|
|
26
|
+
statusText,
|
|
25
27
|
items,
|
|
26
28
|
};
|
|
27
29
|
```
|
package/docs/Sdr.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Sdr
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**customerIdentifier** | **string** | | [default to undefined]
|
|
10
|
+
**fromDate** | **string** | | [default to undefined]
|
|
11
|
+
**fromTime** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**toDate** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**toTime** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**refund** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**quantity** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**frequency** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**unitCost** | **number** | | [optional] [default to undefined]
|
|
18
|
+
**totalCost** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**chargeTypeClass** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**description** | **string** | | [default to undefined]
|
|
21
|
+
**serviceID** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**accountRef** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**carrier** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**recordID** | **string** | | [optional] [default to undefined]
|
|
25
|
+
**currency** | **string** | | [optional] [default to undefined]
|
|
26
|
+
**discountReference** | **string** | | [optional] [default to undefined]
|
|
27
|
+
**effectiveDate** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**partMonthCost** | **number** | | [optional] [default to undefined]
|
|
29
|
+
**filename** | **string** | | [default to undefined]
|
|
30
|
+
**contentReference** | **string** | | [default to undefined]
|
|
31
|
+
**filePeriod** | **string** | | [default to undefined]
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
import { Sdr } from 'yellowgrid-api-ts';
|
|
37
|
+
|
|
38
|
+
const instance: Sdr = {
|
|
39
|
+
id,
|
|
40
|
+
customerIdentifier,
|
|
41
|
+
fromDate,
|
|
42
|
+
fromTime,
|
|
43
|
+
toDate,
|
|
44
|
+
toTime,
|
|
45
|
+
refund,
|
|
46
|
+
quantity,
|
|
47
|
+
frequency,
|
|
48
|
+
unitCost,
|
|
49
|
+
totalCost,
|
|
50
|
+
chargeTypeClass,
|
|
51
|
+
description,
|
|
52
|
+
serviceID,
|
|
53
|
+
accountRef,
|
|
54
|
+
carrier,
|
|
55
|
+
recordID,
|
|
56
|
+
currency,
|
|
57
|
+
discountReference,
|
|
58
|
+
effectiveDate,
|
|
59
|
+
partMonthCost,
|
|
60
|
+
filename,
|
|
61
|
+
contentReference,
|
|
62
|
+
filePeriod,
|
|
63
|
+
};
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
[[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
|
+
# SdrReferenceType
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `SipTrunk` (value: `'SIP_TRUNK'`)
|
|
7
|
+
|
|
8
|
+
* `Broadband` (value: `'BROADBAND'`)
|
|
9
|
+
|
|
10
|
+
* `Ethernet` (value: `'ETHERNET'`)
|
|
11
|
+
|
|
12
|
+
* `Mobile` (value: `'MOBILE'`)
|
|
13
|
+
|
|
14
|
+
* `Wlr` (value: `'WLR'`)
|
|
15
|
+
|
|
16
|
+
* `Hzn` (value: `'HZN'`)
|
|
17
|
+
|
|
18
|
+
* `Nts` (value: `'NTS'`)
|
|
19
|
+
|
|
20
|
+
* `Hosting` (value: `'HOSTING'`)
|
|
21
|
+
|
|
22
|
+
* `Crm` (value: `'CRM'`)
|
|
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/docs/Service.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Service
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**createdDate** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**servicePlanId** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**servicePlan** | [**ServicePlan**](ServicePlan.md) | | [optional] [default to undefined]
|
|
12
|
+
**baseServiceId** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**baseService** | [**BaseService**](BaseService.md) | | [optional] [default to undefined]
|
|
14
|
+
**customerRate** | [**CustomerRate**](CustomerRate.md) | | [optional] [default to undefined]
|
|
15
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**hideOnInvoice** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
**bureauRate** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**common** | **boolean** | | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { Service } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: Service = {
|
|
27
|
+
createdDate,
|
|
28
|
+
id,
|
|
29
|
+
servicePlanId,
|
|
30
|
+
servicePlan,
|
|
31
|
+
baseServiceId,
|
|
32
|
+
baseService,
|
|
33
|
+
customerRate,
|
|
34
|
+
description,
|
|
35
|
+
hideOnInvoice,
|
|
36
|
+
bureauRate,
|
|
37
|
+
filePeriod,
|
|
38
|
+
common,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[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
|
+
# ServicePlan
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**createdDate** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**services** | [**Array<Service>**](Service.md) | | [optional] [readonly] [default to undefined]
|
|
12
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**planGroup** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**connectionTypeId** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**connectionType** | [**ConnectionType**](ConnectionType.md) | | [optional] [default to undefined]
|
|
16
|
+
**closed** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { ServicePlan } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: ServicePlan = {
|
|
24
|
+
createdDate,
|
|
25
|
+
id,
|
|
26
|
+
name,
|
|
27
|
+
services,
|
|
28
|
+
filePeriod,
|
|
29
|
+
planGroup,
|
|
30
|
+
connectionTypeId,
|
|
31
|
+
connectionType,
|
|
32
|
+
closed,
|
|
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,40 @@
|
|
|
1
|
+
# SpecialService
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**createdDate** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**outboundCliId** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**outboundCli** | [**OutboundCli**](OutboundCli.md) | | [default to undefined]
|
|
12
|
+
**baseService** | [**BaseService**](BaseService.md) | | [default to undefined]
|
|
13
|
+
**customerRate** | [**CustomerRate**](CustomerRate.md) | | [default to undefined]
|
|
14
|
+
**description** | **string** | | [default to undefined]
|
|
15
|
+
**hideOnInvoice** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
**startPeriod** | **string** | | [default to undefined]
|
|
17
|
+
**endPeriod** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**filePeriod** | **string** | | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { SpecialService } from 'yellowgrid-api-ts';
|
|
24
|
+
|
|
25
|
+
const instance: SpecialService = {
|
|
26
|
+
createdDate,
|
|
27
|
+
id,
|
|
28
|
+
outboundCliId,
|
|
29
|
+
outboundCli,
|
|
30
|
+
baseService,
|
|
31
|
+
customerRate,
|
|
32
|
+
description,
|
|
33
|
+
hideOnInvoice,
|
|
34
|
+
startPeriod,
|
|
35
|
+
endPeriod,
|
|
36
|
+
filePeriod,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[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,30 @@
|
|
|
1
|
+
# TariffRate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**markup** | [**CustomerRateType**](CustomerRateType.md) | | [optional] [default to undefined]
|
|
9
|
+
**day** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**evening** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**weekend** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**minimum** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**setup** | **number** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { TariffRate } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: TariffRate = {
|
|
21
|
+
markup,
|
|
22
|
+
day,
|
|
23
|
+
evening,
|
|
24
|
+
weekend,
|
|
25
|
+
minimum,
|
|
26
|
+
setup,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|