yellowgrid-api-ts 3.2.257 → 3.2.259

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.
@@ -240,6 +240,7 @@ docs/SMSApi.md
240
240
  docs/SbcDTO.md
241
241
  docs/ScannedItemModel.md
242
242
  docs/ScopeModel.md
243
+ docs/Sdr.md
243
244
  docs/SdrReferenceType.md
244
245
  docs/SeriesDTO.md
245
246
  docs/Service.md
@@ -277,6 +278,7 @@ docs/SmsPayloadModel.md
277
278
  docs/SmsPhoneNumberModel.md
278
279
  docs/SmsResponseModel.md
279
280
  docs/SmsWhitelistEntity.md
281
+ docs/SpecialService.md
280
282
  docs/StockManagementApi.md
281
283
  docs/StockOrderCourierEntity.md
282
284
  docs/StockOrderDeductionModel.md
@@ -351,6 +353,7 @@ docs/TicketSummaryModel.md
351
353
  docs/TicketTimeDTO.md
352
354
  docs/TicketsApi.md
353
355
  docs/TokenResponseModel.md
356
+ docs/UnconnectedSdr.md
354
357
  docs/UpgradeOrderResponseModel.md
355
358
  docs/UpgradeRequestModel.md
356
359
  docs/UserEntity.md
package/README.md CHANGED
@@ -121,6 +121,7 @@ Class | Method | HTTP request | Description
121
121
  *BillingApi* | [**getGetCallTariffs**](docs/BillingApi.md#getgetcalltariffs) | **GET** /billing/admin/callTariffs |
122
122
  *BillingApi* | [**getGetCallTariffsDetails**](docs/BillingApi.md#getgetcalltariffsdetails) | **GET** /billing/admin/callTariffs/details |
123
123
  *BillingApi* | [**getGetChildren**](docs/BillingApi.md#getgetchildren) | **GET** /billing/customer/children |
124
+ *BillingApi* | [**getGetConnection**](docs/BillingApi.md#getgetconnection) | **GET** /billing/customer/connections/{id} |
124
125
  *BillingApi* | [**getGetConnections**](docs/BillingApi.md#getgetconnections) | **GET** /billing/customer/connections |
125
126
  *BillingApi* | [**getGetCustomer**](docs/BillingApi.md#getgetcustomer) | **GET** /billing/admin/customer |
126
127
  *BillingApi* | [**getGetInboundTariffs**](docs/BillingApi.md#getgetinboundtariffs) | **GET** /billing/admin/inboundTariffs |
@@ -609,6 +610,7 @@ Class | Method | HTTP request | Description
609
610
  - [SbcDTO](docs/SbcDTO.md)
610
611
  - [ScannedItemModel](docs/ScannedItemModel.md)
611
612
  - [ScopeModel](docs/ScopeModel.md)
613
+ - [Sdr](docs/Sdr.md)
612
614
  - [SdrReferenceType](docs/SdrReferenceType.md)
613
615
  - [SeriesDTO](docs/SeriesDTO.md)
614
616
  - [Service](docs/Service.md)
@@ -644,6 +646,7 @@ Class | Method | HTTP request | Description
644
646
  - [SmsPhoneNumberModel](docs/SmsPhoneNumberModel.md)
645
647
  - [SmsResponseModel](docs/SmsResponseModel.md)
646
648
  - [SmsWhitelistEntity](docs/SmsWhitelistEntity.md)
649
+ - [SpecialService](docs/SpecialService.md)
647
650
  - [StockOrderCourierEntity](docs/StockOrderCourierEntity.md)
648
651
  - [StockOrderDeductionModel](docs/StockOrderDeductionModel.md)
649
652
  - [StockOrderDeductionRequestModel](docs/StockOrderDeductionRequestModel.md)
@@ -714,6 +717,7 @@ Class | Method | HTTP request | Description
714
717
  - [TicketSummaryModel](docs/TicketSummaryModel.md)
715
718
  - [TicketTimeDTO](docs/TicketTimeDTO.md)
716
719
  - [TokenResponseModel](docs/TokenResponseModel.md)
720
+ - [UnconnectedSdr](docs/UnconnectedSdr.md)
717
721
  - [UpgradeOrderResponseModel](docs/UpgradeOrderResponseModel.md)
718
722
  - [UpgradeRequestModel](docs/UpgradeRequestModel.md)
719
723
  - [UserEntity](docs/UserEntity.md)
package/api.ts CHANGED
@@ -6175,6 +6175,32 @@ export interface ScopeModel {
6175
6175
  */
6176
6176
  'description'?: string;
6177
6177
  }
6178
+ export interface Sdr {
6179
+ 'id'?: number;
6180
+ 'customerIdentifier': string | null;
6181
+ 'fromDate': string;
6182
+ 'fromTime'?: string | null;
6183
+ 'toDate'?: string | null;
6184
+ 'toTime'?: string | null;
6185
+ 'refund'?: string | null;
6186
+ 'quantity'?: number;
6187
+ 'frequency'?: number;
6188
+ 'unitCost'?: number;
6189
+ 'totalCost'?: number;
6190
+ 'chargeTypeClass'?: string | null;
6191
+ 'description': string | null;
6192
+ 'serviceID'?: string | null;
6193
+ 'accountRef'?: string | null;
6194
+ 'carrier'?: string | null;
6195
+ 'recordID'?: string | null;
6196
+ 'currency'?: string | null;
6197
+ 'discountReference'?: string | null;
6198
+ 'effectiveDate'?: string | null;
6199
+ 'partMonthCost'?: number;
6200
+ 'filename': string | null;
6201
+ 'contentReference': string | null;
6202
+ 'filePeriod': string | null;
6203
+ }
6178
6204
 
6179
6205
  export const SdrReferenceType = {
6180
6206
  SipTrunk: 'SIP_TRUNK',
@@ -7125,6 +7151,19 @@ export interface SmsWhitelistEntity {
7125
7151
  */
7126
7152
  'fqdn'?: string;
7127
7153
  }
7154
+ export interface SpecialService {
7155
+ 'createdDate'?: string;
7156
+ 'id'?: number;
7157
+ 'outboundCliId'?: number;
7158
+ 'outboundCli': OutboundCli;
7159
+ 'baseService': BaseService;
7160
+ 'customerRate': CustomerRate;
7161
+ 'description': string | null;
7162
+ 'hideOnInvoice'?: boolean;
7163
+ 'startPeriod': string;
7164
+ 'endPeriod'?: string | null;
7165
+ 'filePeriod'?: string | null;
7166
+ }
7128
7167
  /**
7129
7168
  * DistCourierEntity
7130
7169
  */
@@ -9612,6 +9651,33 @@ export interface TokenResponseModel {
9612
9651
  */
9613
9652
  'access_token'?: string;
9614
9653
  }
9654
+ export interface UnconnectedSdr {
9655
+ 'id'?: number;
9656
+ 'sdrId'?: number;
9657
+ 'sdr': Sdr;
9658
+ 'productCode': string | null;
9659
+ 'cli'?: string | null;
9660
+ 'outboundCliId'?: number | null;
9661
+ 'outboundCli'?: OutboundCli;
9662
+ 'servicePlanId'?: number | null;
9663
+ 'servicePlan'?: ServicePlan;
9664
+ 'serviceId'?: number | null;
9665
+ 'service'?: Service;
9666
+ 'specialServiceId'?: number | null;
9667
+ 'specialService'?: SpecialService;
9668
+ 'customerCharge'?: number | null;
9669
+ 'customerRate'?: CustomerRate;
9670
+ 'description'?: string | null;
9671
+ 'hideOnInvoice'?: boolean;
9672
+ 'unitCharge'?: number | null;
9673
+ 'customerId'?: number | null;
9674
+ 'servicePlanName'?: string | null;
9675
+ 'serviceCode'?: string | null;
9676
+ 'sdrDescription'?: string | null;
9677
+ 'sdrCost'?: number | null;
9678
+ 'remarks'?: string | null;
9679
+ 'filePeriod': string | null;
9680
+ }
9615
9681
  /**
9616
9682
  * EdTechPro Upgrade Response
9617
9683
  */
@@ -13851,6 +13917,44 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
13851
13917
  options: localVarRequestOptions,
13852
13918
  };
13853
13919
  },
13920
+ /**
13921
+ * Get Connection
13922
+ * @param {number} id Connection ID
13923
+ * @param {number} [billCustomerId] Customer ID
13924
+ * @param {*} [options] Override http request option.
13925
+ * @throws {RequiredError}
13926
+ */
13927
+ getGetConnection: async (id: number, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13928
+ // verify required parameter 'id' is not null or undefined
13929
+ assertParamExists('getGetConnection', 'id', id)
13930
+ const localVarPath = `/billing/customer/connections/{id}`
13931
+ .replace('{id}', encodeURIComponent(String(id)));
13932
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13933
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13934
+ let baseOptions;
13935
+ if (configuration) {
13936
+ baseOptions = configuration.baseOptions;
13937
+ }
13938
+
13939
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13940
+ const localVarHeaderParameter = {} as any;
13941
+ const localVarQueryParameter = {} as any;
13942
+
13943
+ if (billCustomerId !== undefined) {
13944
+ localVarQueryParameter['billCustomerId'] = billCustomerId;
13945
+ }
13946
+
13947
+ localVarHeaderParameter['Accept'] = 'application/json';
13948
+
13949
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13950
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13951
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13952
+
13953
+ return {
13954
+ url: toPathString(localVarUrlObj),
13955
+ options: localVarRequestOptions,
13956
+ };
13957
+ },
13854
13958
  /**
13855
13959
  * Get Connections
13856
13960
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -15697,6 +15801,19 @@ export const BillingApiFp = function(configuration?: Configuration) {
15697
15801
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetChildren']?.[localVarOperationServerIndex]?.url;
15698
15802
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15699
15803
  },
15804
+ /**
15805
+ * Get Connection
15806
+ * @param {number} id Connection ID
15807
+ * @param {number} [billCustomerId] Customer ID
15808
+ * @param {*} [options] Override http request option.
15809
+ * @throws {RequiredError}
15810
+ */
15811
+ async getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundCli>> {
15812
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetConnection(id, billCustomerId, options);
15813
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15814
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetConnection']?.[localVarOperationServerIndex]?.url;
15815
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15816
+ },
15700
15817
  /**
15701
15818
  * Get Connections
15702
15819
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -15832,7 +15949,7 @@ export const BillingApiFp = function(configuration?: Configuration) {
15832
15949
  * @param {*} [options] Override http request option.
15833
15950
  * @throws {RequiredError}
15834
15951
  */
15835
- async getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProcessedCdr>>> {
15952
+ async getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnconnectedSdr>>> {
15836
15953
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetUnconnectedServices(options);
15837
15954
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15838
15955
  const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetUnconnectedServices']?.[localVarOperationServerIndex]?.url;
@@ -16439,6 +16556,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
16439
16556
  getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<object>> {
16440
16557
  return localVarFp.getGetChildren(billCustomerId, options).then((request) => request(axios, basePath));
16441
16558
  },
16559
+ /**
16560
+ * Get Connection
16561
+ * @param {number} id Connection ID
16562
+ * @param {number} [billCustomerId] Customer ID
16563
+ * @param {*} [options] Override http request option.
16564
+ * @throws {RequiredError}
16565
+ */
16566
+ getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<OutboundCli> {
16567
+ return localVarFp.getGetConnection(id, billCustomerId, options).then((request) => request(axios, basePath));
16568
+ },
16442
16569
  /**
16443
16570
  * Get Connections
16444
16571
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -16541,7 +16668,7 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
16541
16668
  * @param {*} [options] Override http request option.
16542
16669
  * @throws {RequiredError}
16543
16670
  */
16544
- getGetUnconnectedServices(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProcessedCdr>> {
16671
+ getGetUnconnectedServices(options?: RawAxiosRequestConfig): AxiosPromise<Array<UnconnectedSdr>> {
16545
16672
  return localVarFp.getGetUnconnectedServices(options).then((request) => request(axios, basePath));
16546
16673
  },
16547
16674
  /**
@@ -17072,6 +17199,17 @@ export class BillingApi extends BaseAPI {
17072
17199
  return BillingApiFp(this.configuration).getGetChildren(billCustomerId, options).then((request) => request(this.axios, this.basePath));
17073
17200
  }
17074
17201
 
17202
+ /**
17203
+ * Get Connection
17204
+ * @param {number} id Connection ID
17205
+ * @param {number} [billCustomerId] Customer ID
17206
+ * @param {*} [options] Override http request option.
17207
+ * @throws {RequiredError}
17208
+ */
17209
+ public getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig) {
17210
+ return BillingApiFp(this.configuration).getGetConnection(id, billCustomerId, options).then((request) => request(this.axios, this.basePath));
17211
+ }
17212
+
17075
17213
  /**
17076
17214
  * Get Connections
17077
17215
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
package/dist/api.d.ts CHANGED
@@ -6093,6 +6093,32 @@ export interface ScopeModel {
6093
6093
  */
6094
6094
  'description'?: string;
6095
6095
  }
6096
+ export interface Sdr {
6097
+ 'id'?: number;
6098
+ 'customerIdentifier': string | null;
6099
+ 'fromDate': string;
6100
+ 'fromTime'?: string | null;
6101
+ 'toDate'?: string | null;
6102
+ 'toTime'?: string | null;
6103
+ 'refund'?: string | null;
6104
+ 'quantity'?: number;
6105
+ 'frequency'?: number;
6106
+ 'unitCost'?: number;
6107
+ 'totalCost'?: number;
6108
+ 'chargeTypeClass'?: string | null;
6109
+ 'description': string | null;
6110
+ 'serviceID'?: string | null;
6111
+ 'accountRef'?: string | null;
6112
+ 'carrier'?: string | null;
6113
+ 'recordID'?: string | null;
6114
+ 'currency'?: string | null;
6115
+ 'discountReference'?: string | null;
6116
+ 'effectiveDate'?: string | null;
6117
+ 'partMonthCost'?: number;
6118
+ 'filename': string | null;
6119
+ 'contentReference': string | null;
6120
+ 'filePeriod': string | null;
6121
+ }
6096
6122
  export declare const SdrReferenceType: {
6097
6123
  readonly SipTrunk: "SIP_TRUNK";
6098
6124
  readonly Broadband: "BROADBAND";
@@ -7001,6 +7027,19 @@ export interface SmsWhitelistEntity {
7001
7027
  */
7002
7028
  'fqdn'?: string;
7003
7029
  }
7030
+ export interface SpecialService {
7031
+ 'createdDate'?: string;
7032
+ 'id'?: number;
7033
+ 'outboundCliId'?: number;
7034
+ 'outboundCli': OutboundCli;
7035
+ 'baseService': BaseService;
7036
+ 'customerRate': CustomerRate;
7037
+ 'description': string | null;
7038
+ 'hideOnInvoice'?: boolean;
7039
+ 'startPeriod': string;
7040
+ 'endPeriod'?: string | null;
7041
+ 'filePeriod'?: string | null;
7042
+ }
7004
7043
  /**
7005
7044
  * DistCourierEntity
7006
7045
  */
@@ -9464,6 +9503,33 @@ export interface TokenResponseModel {
9464
9503
  */
9465
9504
  'access_token'?: string;
9466
9505
  }
9506
+ export interface UnconnectedSdr {
9507
+ 'id'?: number;
9508
+ 'sdrId'?: number;
9509
+ 'sdr': Sdr;
9510
+ 'productCode': string | null;
9511
+ 'cli'?: string | null;
9512
+ 'outboundCliId'?: number | null;
9513
+ 'outboundCli'?: OutboundCli;
9514
+ 'servicePlanId'?: number | null;
9515
+ 'servicePlan'?: ServicePlan;
9516
+ 'serviceId'?: number | null;
9517
+ 'service'?: Service;
9518
+ 'specialServiceId'?: number | null;
9519
+ 'specialService'?: SpecialService;
9520
+ 'customerCharge'?: number | null;
9521
+ 'customerRate'?: CustomerRate;
9522
+ 'description'?: string | null;
9523
+ 'hideOnInvoice'?: boolean;
9524
+ 'unitCharge'?: number | null;
9525
+ 'customerId'?: number | null;
9526
+ 'servicePlanName'?: string | null;
9527
+ 'serviceCode'?: string | null;
9528
+ 'sdrDescription'?: string | null;
9529
+ 'sdrCost'?: number | null;
9530
+ 'remarks'?: string | null;
9531
+ 'filePeriod': string | null;
9532
+ }
9467
9533
  /**
9468
9534
  * EdTechPro Upgrade Response
9469
9535
  */
@@ -11311,6 +11377,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
11311
11377
  * @throws {RequiredError}
11312
11378
  */
11313
11379
  getGetChildren: (billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11380
+ /**
11381
+ * Get Connection
11382
+ * @param {number} id Connection ID
11383
+ * @param {number} [billCustomerId] Customer ID
11384
+ * @param {*} [options] Override http request option.
11385
+ * @throws {RequiredError}
11386
+ */
11387
+ getGetConnection: (id: number, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11314
11388
  /**
11315
11389
  * Get Connections
11316
11390
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -11794,6 +11868,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11794
11868
  * @throws {RequiredError}
11795
11869
  */
11796
11870
  getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
11871
+ /**
11872
+ * Get Connection
11873
+ * @param {number} id Connection ID
11874
+ * @param {number} [billCustomerId] Customer ID
11875
+ * @param {*} [options] Override http request option.
11876
+ * @throws {RequiredError}
11877
+ */
11878
+ getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundCli>>;
11797
11879
  /**
11798
11880
  * Get Connections
11799
11881
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -11874,7 +11956,7 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11874
11956
  * @param {*} [options] Override http request option.
11875
11957
  * @throws {RequiredError}
11876
11958
  */
11877
- getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProcessedCdr>>>;
11959
+ getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UnconnectedSdr>>>;
11878
11960
  /**
11879
11961
  * Is Bundle Customer
11880
11962
  * @param {number} [billCustomerId] Customer ID
@@ -12277,6 +12359,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
12277
12359
  * @throws {RequiredError}
12278
12360
  */
12279
12361
  getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<object>>;
12362
+ /**
12363
+ * Get Connection
12364
+ * @param {number} id Connection ID
12365
+ * @param {number} [billCustomerId] Customer ID
12366
+ * @param {*} [options] Override http request option.
12367
+ * @throws {RequiredError}
12368
+ */
12369
+ getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<OutboundCli>;
12280
12370
  /**
12281
12371
  * Get Connections
12282
12372
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -12357,7 +12447,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
12357
12447
  * @param {*} [options] Override http request option.
12358
12448
  * @throws {RequiredError}
12359
12449
  */
12360
- getGetUnconnectedServices(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProcessedCdr>>;
12450
+ getGetUnconnectedServices(options?: RawAxiosRequestConfig): AxiosPromise<Array<UnconnectedSdr>>;
12361
12451
  /**
12362
12452
  * Is Bundle Customer
12363
12453
  * @param {number} [billCustomerId] Customer ID
@@ -12760,6 +12850,14 @@ export declare class BillingApi extends BaseAPI {
12760
12850
  * @throws {RequiredError}
12761
12851
  */
12762
12852
  getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any, {}>>;
12853
+ /**
12854
+ * Get Connection
12855
+ * @param {number} id Connection ID
12856
+ * @param {number} [billCustomerId] Customer ID
12857
+ * @param {*} [options] Override http request option.
12858
+ * @throws {RequiredError}
12859
+ */
12860
+ getGetConnection(id: number, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundCli, any, {}>>;
12763
12861
  /**
12764
12862
  * Get Connections
12765
12863
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -12840,7 +12938,7 @@ export declare class BillingApi extends BaseAPI {
12840
12938
  * @param {*} [options] Override http request option.
12841
12939
  * @throws {RequiredError}
12842
12940
  */
12843
- getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProcessedCdr[], any, {}>>;
12941
+ getGetUnconnectedServices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnconnectedSdr[], any, {}>>;
12844
12942
  /**
12845
12943
  * Is Bundle Customer
12846
12944
  * @param {number} [billCustomerId] Customer ID
package/dist/api.js CHANGED
@@ -5410,6 +5410,47 @@ var BillingApiAxiosParamCreator = function (configuration) {
5410
5410
  });
5411
5411
  });
5412
5412
  },
5413
+ /**
5414
+ * Get Connection
5415
+ * @param {number} id Connection ID
5416
+ * @param {number} [billCustomerId] Customer ID
5417
+ * @param {*} [options] Override http request option.
5418
+ * @throws {RequiredError}
5419
+ */
5420
+ getGetConnection: function (id_1, billCustomerId_1) {
5421
+ var args_1 = [];
5422
+ for (var _i = 2; _i < arguments.length; _i++) {
5423
+ args_1[_i - 2] = arguments[_i];
5424
+ }
5425
+ return __awaiter(_this, __spreadArray([id_1, billCustomerId_1], args_1, true), void 0, function (id, billCustomerId, options) {
5426
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5427
+ if (options === void 0) { options = {}; }
5428
+ return __generator(this, function (_a) {
5429
+ // verify required parameter 'id' is not null or undefined
5430
+ (0, common_1.assertParamExists)('getGetConnection', 'id', id);
5431
+ localVarPath = "/billing/customer/connections/{id}"
5432
+ .replace('{id}', encodeURIComponent(String(id)));
5433
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5434
+ if (configuration) {
5435
+ baseOptions = configuration.baseOptions;
5436
+ }
5437
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
5438
+ localVarHeaderParameter = {};
5439
+ localVarQueryParameter = {};
5440
+ if (billCustomerId !== undefined) {
5441
+ localVarQueryParameter['billCustomerId'] = billCustomerId;
5442
+ }
5443
+ localVarHeaderParameter['Accept'] = 'application/json';
5444
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5445
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5446
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5447
+ return [2 /*return*/, {
5448
+ url: (0, common_1.toPathString)(localVarUrlObj),
5449
+ options: localVarRequestOptions,
5450
+ }];
5451
+ });
5452
+ });
5453
+ },
5413
5454
  /**
5414
5455
  * Get Connections
5415
5456
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -7609,6 +7650,29 @@ var BillingApiFp = function (configuration) {
7609
7650
  });
7610
7651
  });
7611
7652
  },
7653
+ /**
7654
+ * Get Connection
7655
+ * @param {number} id Connection ID
7656
+ * @param {number} [billCustomerId] Customer ID
7657
+ * @param {*} [options] Override http request option.
7658
+ * @throws {RequiredError}
7659
+ */
7660
+ getGetConnection: function (id, billCustomerId, options) {
7661
+ return __awaiter(this, void 0, void 0, function () {
7662
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7663
+ var _a, _b, _c;
7664
+ return __generator(this, function (_d) {
7665
+ switch (_d.label) {
7666
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetConnection(id, billCustomerId, options)];
7667
+ case 1:
7668
+ localVarAxiosArgs = _d.sent();
7669
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7670
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7671
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7672
+ }
7673
+ });
7674
+ });
7675
+ },
7612
7676
  /**
7613
7677
  * Get Connections
7614
7678
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -8781,6 +8845,16 @@ var BillingApiFactory = function (configuration, basePath, axios) {
8781
8845
  getGetChildren: function (billCustomerId, options) {
8782
8846
  return localVarFp.getGetChildren(billCustomerId, options).then(function (request) { return request(axios, basePath); });
8783
8847
  },
8848
+ /**
8849
+ * Get Connection
8850
+ * @param {number} id Connection ID
8851
+ * @param {number} [billCustomerId] Customer ID
8852
+ * @param {*} [options] Override http request option.
8853
+ * @throws {RequiredError}
8854
+ */
8855
+ getGetConnection: function (id, billCustomerId, options) {
8856
+ return localVarFp.getGetConnection(id, billCustomerId, options).then(function (request) { return request(axios, basePath); });
8857
+ },
8784
8858
  /**
8785
8859
  * Get Connections
8786
8860
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -9418,6 +9492,17 @@ var BillingApi = /** @class */ (function (_super) {
9418
9492
  var _this = this;
9419
9493
  return (0, exports.BillingApiFp)(this.configuration).getGetChildren(billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9420
9494
  };
9495
+ /**
9496
+ * Get Connection
9497
+ * @param {number} id Connection ID
9498
+ * @param {number} [billCustomerId] Customer ID
9499
+ * @param {*} [options] Override http request option.
9500
+ * @throws {RequiredError}
9501
+ */
9502
+ BillingApi.prototype.getGetConnection = function (id, billCustomerId, options) {
9503
+ var _this = this;
9504
+ return (0, exports.BillingApiFp)(this.configuration).getGetConnection(id, billCustomerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9505
+ };
9421
9506
  /**
9422
9507
  * Get Connections
9423
9508
  * @param {GetGetConnectionsTypeEnum} [type] Connection Type
@@ -26,6 +26,7 @@ All URIs are relative to *https://bitbucket.org*
26
26
  |[**getGetCallTariffs**](#getgetcalltariffs) | **GET** /billing/admin/callTariffs | |
27
27
  |[**getGetCallTariffsDetails**](#getgetcalltariffsdetails) | **GET** /billing/admin/callTariffs/details | |
28
28
  |[**getGetChildren**](#getgetchildren) | **GET** /billing/customer/children | |
29
+ |[**getGetConnection**](#getgetconnection) | **GET** /billing/customer/connections/{id} | |
29
30
  |[**getGetConnections**](#getgetconnections) | **GET** /billing/customer/connections | |
30
31
  |[**getGetCustomer**](#getgetcustomer) | **GET** /billing/admin/customer | |
31
32
  |[**getGetInboundTariffs**](#getgetinboundtariffs) | **GET** /billing/admin/inboundTariffs | |
@@ -1232,6 +1233,63 @@ No authorization required
1232
1233
 
1233
1234
  [[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)
1234
1235
 
1236
+ # **getGetConnection**
1237
+ > OutboundCli getGetConnection()
1238
+
1239
+ Get Connection
1240
+
1241
+ ### Example
1242
+
1243
+ ```typescript
1244
+ import {
1245
+ BillingApi,
1246
+ Configuration
1247
+ } from 'yellowgrid-api-ts';
1248
+
1249
+ const configuration = new Configuration();
1250
+ const apiInstance = new BillingApi(configuration);
1251
+
1252
+ let id: number; //Connection ID (default to undefined)
1253
+ let billCustomerId: number; //Customer ID (optional) (default to undefined)
1254
+
1255
+ const { status, data } = await apiInstance.getGetConnection(
1256
+ id,
1257
+ billCustomerId
1258
+ );
1259
+ ```
1260
+
1261
+ ### Parameters
1262
+
1263
+ |Name | Type | Description | Notes|
1264
+ |------------- | ------------- | ------------- | -------------|
1265
+ | **id** | [**number**] | Connection ID | defaults to undefined|
1266
+ | **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
1267
+
1268
+
1269
+ ### Return type
1270
+
1271
+ **OutboundCli**
1272
+
1273
+ ### Authorization
1274
+
1275
+ No authorization required
1276
+
1277
+ ### HTTP request headers
1278
+
1279
+ - **Content-Type**: Not defined
1280
+ - **Accept**: application/json
1281
+
1282
+
1283
+ ### HTTP response details
1284
+ | Status code | Description | Response headers |
1285
+ |-------------|-------------|------------------|
1286
+ |**200** | Connection | - |
1287
+ |**400** | Bad Request | - |
1288
+ |**401** | Unauthorised | - |
1289
+ |**403** | Access Denied | - |
1290
+
1291
+ [[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)
1292
+
1235
1293
  # **getGetConnections**
1236
1294
  > Array<OutboundCli> getGetConnections()
1237
1295
 
@@ -1801,7 +1859,7 @@ No authorization required
1801
1859
  [[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)
1802
1860
 
1803
1861
  # **getGetUnconnectedServices**
1804
- > Array<ProcessedCdr> getGetUnconnectedServices()
1862
+ > Array<UnconnectedSdr> getGetUnconnectedServices()
1805
1863
 
1806
1864
  Get Unconnected Services
1807
1865
 
@@ -1825,7 +1883,7 @@ This endpoint does not have any parameters.
1825
1883
 
1826
1884
  ### Return type
1827
1885
 
1828
- **Array<ProcessedCdr>**
1886
+ **Array<UnconnectedSdr>**
1829
1887
 
1830
1888
  ### Authorization
1831
1889
 
@@ -1840,7 +1898,7 @@ No authorization required
1840
1898
  ### HTTP response details
1841
1899
  | Status code | Description | Response headers |
1842
1900
  |-------------|-------------|------------------|
1843
- |**200** | Process CDR | - |
1901
+ |**200** | Unconnected SDR | - |
1844
1902
  |**400** | Bad Request | - |
1845
1903
  |**401** | Unauthorised | - |
1846
1904
  |**403** | Access Denied | - |
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,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,68 @@
1
+ # UnconnectedSdr
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **sdrId** | **number** | | [optional] [default to undefined]
10
+ **sdr** | [**Sdr**](Sdr.md) | | [default to undefined]
11
+ **productCode** | **string** | | [default to undefined]
12
+ **cli** | **string** | | [optional] [default to undefined]
13
+ **outboundCliId** | **number** | | [optional] [default to undefined]
14
+ **outboundCli** | [**OutboundCli**](OutboundCli.md) | | [optional] [default to undefined]
15
+ **servicePlanId** | **number** | | [optional] [default to undefined]
16
+ **servicePlan** | [**ServicePlan**](ServicePlan.md) | | [optional] [default to undefined]
17
+ **serviceId** | **number** | | [optional] [default to undefined]
18
+ **service** | [**Service**](Service.md) | | [optional] [default to undefined]
19
+ **specialServiceId** | **number** | | [optional] [default to undefined]
20
+ **specialService** | [**SpecialService**](SpecialService.md) | | [optional] [default to undefined]
21
+ **customerCharge** | **number** | | [optional] [default to undefined]
22
+ **customerRate** | [**CustomerRate**](CustomerRate.md) | | [optional] [default to undefined]
23
+ **description** | **string** | | [optional] [default to undefined]
24
+ **hideOnInvoice** | **boolean** | | [optional] [default to undefined]
25
+ **unitCharge** | **number** | | [optional] [default to undefined]
26
+ **customerId** | **number** | | [optional] [default to undefined]
27
+ **servicePlanName** | **string** | | [optional] [default to undefined]
28
+ **serviceCode** | **string** | | [optional] [default to undefined]
29
+ **sdrDescription** | **string** | | [optional] [default to undefined]
30
+ **sdrCost** | **number** | | [optional] [default to undefined]
31
+ **remarks** | **string** | | [optional] [default to undefined]
32
+ **filePeriod** | **string** | | [default to undefined]
33
+
34
+ ## Example
35
+
36
+ ```typescript
37
+ import { UnconnectedSdr } from 'yellowgrid-api-ts';
38
+
39
+ const instance: UnconnectedSdr = {
40
+ id,
41
+ sdrId,
42
+ sdr,
43
+ productCode,
44
+ cli,
45
+ outboundCliId,
46
+ outboundCli,
47
+ servicePlanId,
48
+ servicePlan,
49
+ serviceId,
50
+ service,
51
+ specialServiceId,
52
+ specialService,
53
+ customerCharge,
54
+ customerRate,
55
+ description,
56
+ hideOnInvoice,
57
+ unitCharge,
58
+ customerId,
59
+ servicePlanName,
60
+ serviceCode,
61
+ sdrDescription,
62
+ sdrCost,
63
+ remarks,
64
+ filePeriod,
65
+ };
66
+ ```
67
+
68
+ [[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.257",
3
+ "version": "3.2.259",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {