yellowgrid-api-ts 3.2.221-dev.0 → 3.2.222-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/api.ts +33 -7
- package/dist/api.d.ts +26 -4
- package/dist/api.js +37 -13
- package/docs/BillingApi.md +9 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -21040,10 +21040,11 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21040
21040
|
},
|
|
21041
21041
|
/**
|
|
21042
21042
|
* Get Service Plans Detailed
|
|
21043
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
21043
21044
|
* @param {*} [options] Override http request option.
|
|
21044
21045
|
* @throws {RequiredError}
|
|
21045
21046
|
*/
|
|
21046
|
-
getGetServicesPlanDetails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21047
|
+
getGetServicesPlanDetails: async (type?: GetGetServicesPlanDetailsTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21047
21048
|
const localVarPath = `/billing/admin/servicePlans/details`;
|
|
21048
21049
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21049
21050
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21056,6 +21057,10 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21056
21057
|
const localVarHeaderParameter = {} as any;
|
|
21057
21058
|
const localVarQueryParameter = {} as any;
|
|
21058
21059
|
|
|
21060
|
+
if (type !== undefined) {
|
|
21061
|
+
localVarQueryParameter['type'] = type;
|
|
21062
|
+
}
|
|
21063
|
+
|
|
21059
21064
|
|
|
21060
21065
|
|
|
21061
21066
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22700,11 +22705,12 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
22700
22705
|
},
|
|
22701
22706
|
/**
|
|
22702
22707
|
* Get Service Plans Detailed
|
|
22708
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
22703
22709
|
* @param {*} [options] Override http request option.
|
|
22704
22710
|
* @throws {RequiredError}
|
|
22705
22711
|
*/
|
|
22706
|
-
async getGetServicesPlanDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>> {
|
|
22707
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetServicesPlanDetails(options);
|
|
22712
|
+
async getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>> {
|
|
22713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetServicesPlanDetails(type, options);
|
|
22708
22714
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22709
22715
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetServicesPlanDetails']?.[localVarOperationServerIndex]?.url;
|
|
22710
22716
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -23415,11 +23421,12 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
23415
23421
|
},
|
|
23416
23422
|
/**
|
|
23417
23423
|
* Get Service Plans Detailed
|
|
23424
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
23418
23425
|
* @param {*} [options] Override http request option.
|
|
23419
23426
|
* @throws {RequiredError}
|
|
23420
23427
|
*/
|
|
23421
|
-
getGetServicesPlanDetails(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>> {
|
|
23422
|
-
return localVarFp.getGetServicesPlanDetails(options).then((request) => request(axios, basePath));
|
|
23428
|
+
getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>> {
|
|
23429
|
+
return localVarFp.getGetServicesPlanDetails(type, options).then((request) => request(axios, basePath));
|
|
23423
23430
|
},
|
|
23424
23431
|
/**
|
|
23425
23432
|
* Get SIP Trunk List
|
|
@@ -24090,12 +24097,13 @@ export class BillingApi extends BaseAPI {
|
|
|
24090
24097
|
|
|
24091
24098
|
/**
|
|
24092
24099
|
* Get Service Plans Detailed
|
|
24100
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
24093
24101
|
* @param {*} [options] Override http request option.
|
|
24094
24102
|
* @throws {RequiredError}
|
|
24095
24103
|
* @memberof BillingApi
|
|
24096
24104
|
*/
|
|
24097
|
-
public getGetServicesPlanDetails(options?: RawAxiosRequestConfig) {
|
|
24098
|
-
return BillingApiFp(this.configuration).getGetServicesPlanDetails(options).then((request) => request(this.axios, this.basePath));
|
|
24105
|
+
public getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig) {
|
|
24106
|
+
return BillingApiFp(this.configuration).getGetServicesPlanDetails(type, options).then((request) => request(this.axios, this.basePath));
|
|
24099
24107
|
}
|
|
24100
24108
|
|
|
24101
24109
|
/**
|
|
@@ -24499,6 +24507,24 @@ export const GetGetConnectionsTypeEnum = {
|
|
|
24499
24507
|
RecurringCharges: 'Recurring Charges'
|
|
24500
24508
|
} as const;
|
|
24501
24509
|
export type GetGetConnectionsTypeEnum = typeof GetGetConnectionsTypeEnum[keyof typeof GetGetConnectionsTypeEnum];
|
|
24510
|
+
/**
|
|
24511
|
+
* @export
|
|
24512
|
+
*/
|
|
24513
|
+
export const GetGetServicesPlanDetailsTypeEnum = {
|
|
24514
|
+
SipTrunks: 'SIP Trunks',
|
|
24515
|
+
Broadband: 'Broadband',
|
|
24516
|
+
Ethernet: 'Ethernet',
|
|
24517
|
+
Mobile: 'Mobile',
|
|
24518
|
+
Wlr: 'WLR',
|
|
24519
|
+
Horizon: 'Horizon',
|
|
24520
|
+
Nts: 'NTS',
|
|
24521
|
+
Hosting: 'Hosting',
|
|
24522
|
+
Crm: 'CRM',
|
|
24523
|
+
StarterBundle: 'Starter Bundle',
|
|
24524
|
+
Other: 'Other',
|
|
24525
|
+
RecurringCharges: 'Recurring Charges'
|
|
24526
|
+
} as const;
|
|
24527
|
+
export type GetGetServicesPlanDetailsTypeEnum = typeof GetGetServicesPlanDetailsTypeEnum[keyof typeof GetGetServicesPlanDetailsTypeEnum];
|
|
24502
24528
|
|
|
24503
24529
|
|
|
24504
24530
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -18203,10 +18203,11 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
18203
18203
|
getGetServicePlans: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18204
18204
|
/**
|
|
18205
18205
|
* Get Service Plans Detailed
|
|
18206
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
18206
18207
|
* @param {*} [options] Override http request option.
|
|
18207
18208
|
* @throws {RequiredError}
|
|
18208
18209
|
*/
|
|
18209
|
-
getGetServicesPlanDetails: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18210
|
+
getGetServicesPlanDetails: (type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18210
18211
|
/**
|
|
18211
18212
|
* Get SIP Trunk List
|
|
18212
18213
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -18686,10 +18687,11 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
18686
18687
|
getGetServicePlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>>;
|
|
18687
18688
|
/**
|
|
18688
18689
|
* Get Service Plans Detailed
|
|
18690
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
18689
18691
|
* @param {*} [options] Override http request option.
|
|
18690
18692
|
* @throws {RequiredError}
|
|
18691
18693
|
*/
|
|
18692
|
-
getGetServicesPlanDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>>;
|
|
18694
|
+
getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ServicePlan>>>;
|
|
18693
18695
|
/**
|
|
18694
18696
|
* Get SIP Trunk List
|
|
18695
18697
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -19169,10 +19171,11 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
19169
19171
|
getGetServicePlans(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>>;
|
|
19170
19172
|
/**
|
|
19171
19173
|
* Get Service Plans Detailed
|
|
19174
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
19172
19175
|
* @param {*} [options] Override http request option.
|
|
19173
19176
|
* @throws {RequiredError}
|
|
19174
19177
|
*/
|
|
19175
|
-
getGetServicesPlanDetails(options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>>;
|
|
19178
|
+
getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<ServicePlan>>;
|
|
19176
19179
|
/**
|
|
19177
19180
|
* Get SIP Trunk List
|
|
19178
19181
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -19685,11 +19688,12 @@ export declare class BillingApi extends BaseAPI {
|
|
|
19685
19688
|
getGetServicePlans(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicePlan[], any, {}>>;
|
|
19686
19689
|
/**
|
|
19687
19690
|
* Get Service Plans Detailed
|
|
19691
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
19688
19692
|
* @param {*} [options] Override http request option.
|
|
19689
19693
|
* @throws {RequiredError}
|
|
19690
19694
|
* @memberof BillingApi
|
|
19691
19695
|
*/
|
|
19692
|
-
getGetServicesPlanDetails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicePlan[], any, {}>>;
|
|
19696
|
+
getGetServicesPlanDetails(type?: GetGetServicesPlanDetailsTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServicePlan[], any, {}>>;
|
|
19693
19697
|
/**
|
|
19694
19698
|
* Get SIP Trunk List
|
|
19695
19699
|
* @param {number} [billCustomerId] Customer ID
|
|
@@ -19992,6 +19996,24 @@ export declare const GetGetConnectionsTypeEnum: {
|
|
|
19992
19996
|
readonly RecurringCharges: "Recurring Charges";
|
|
19993
19997
|
};
|
|
19994
19998
|
export type GetGetConnectionsTypeEnum = typeof GetGetConnectionsTypeEnum[keyof typeof GetGetConnectionsTypeEnum];
|
|
19999
|
+
/**
|
|
20000
|
+
* @export
|
|
20001
|
+
*/
|
|
20002
|
+
export declare const GetGetServicesPlanDetailsTypeEnum: {
|
|
20003
|
+
readonly SipTrunks: "SIP Trunks";
|
|
20004
|
+
readonly Broadband: "Broadband";
|
|
20005
|
+
readonly Ethernet: "Ethernet";
|
|
20006
|
+
readonly Mobile: "Mobile";
|
|
20007
|
+
readonly Wlr: "WLR";
|
|
20008
|
+
readonly Horizon: "Horizon";
|
|
20009
|
+
readonly Nts: "NTS";
|
|
20010
|
+
readonly Hosting: "Hosting";
|
|
20011
|
+
readonly Crm: "CRM";
|
|
20012
|
+
readonly StarterBundle: "Starter Bundle";
|
|
20013
|
+
readonly Other: "Other";
|
|
20014
|
+
readonly RecurringCharges: "Recurring Charges";
|
|
20015
|
+
};
|
|
20016
|
+
export type GetGetServicesPlanDetailsTypeEnum = typeof GetGetServicesPlanDetailsTypeEnum[keyof typeof GetGetServicesPlanDetailsTypeEnum];
|
|
19995
20017
|
/**
|
|
19996
20018
|
* CRMApi - axios parameter creator
|
|
19997
20019
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -85,9 +85,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
87
|
exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockReportItemModelCurrencyEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = void 0;
|
|
88
|
+
exports.MiscApi = exports.MiscApiFactory = exports.MiscApiFp = exports.MiscApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetServicesPlanDetailsTypeEnum = exports.GetGetConnectionsTypeEnum = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = void 0;
|
|
89
|
+
exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
@@ -5776,15 +5776,16 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5776
5776
|
},
|
|
5777
5777
|
/**
|
|
5778
5778
|
* Get Service Plans Detailed
|
|
5779
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
5779
5780
|
* @param {*} [options] Override http request option.
|
|
5780
5781
|
* @throws {RequiredError}
|
|
5781
5782
|
*/
|
|
5782
|
-
getGetServicesPlanDetails: function () {
|
|
5783
|
+
getGetServicesPlanDetails: function (type_1) {
|
|
5783
5784
|
var args_1 = [];
|
|
5784
|
-
for (var _i =
|
|
5785
|
-
args_1[_i] = arguments[_i];
|
|
5785
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5786
|
+
args_1[_i - 1] = arguments[_i];
|
|
5786
5787
|
}
|
|
5787
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
5788
|
+
return __awaiter(_this, __spreadArray([type_1], args_1, true), void 0, function (type, options) {
|
|
5788
5789
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5789
5790
|
if (options === void 0) { options = {}; }
|
|
5790
5791
|
return __generator(this, function (_a) {
|
|
@@ -5796,6 +5797,9 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5796
5797
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5797
5798
|
localVarHeaderParameter = {};
|
|
5798
5799
|
localVarQueryParameter = {};
|
|
5800
|
+
if (type !== undefined) {
|
|
5801
|
+
localVarQueryParameter['type'] = type;
|
|
5802
|
+
}
|
|
5799
5803
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5800
5804
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5801
5805
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7796,16 +7800,17 @@ var BillingApiFp = function (configuration) {
|
|
|
7796
7800
|
},
|
|
7797
7801
|
/**
|
|
7798
7802
|
* Get Service Plans Detailed
|
|
7803
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
7799
7804
|
* @param {*} [options] Override http request option.
|
|
7800
7805
|
* @throws {RequiredError}
|
|
7801
7806
|
*/
|
|
7802
|
-
getGetServicesPlanDetails: function (options) {
|
|
7807
|
+
getGetServicesPlanDetails: function (type, options) {
|
|
7803
7808
|
return __awaiter(this, void 0, void 0, function () {
|
|
7804
7809
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7805
7810
|
var _a, _b, _c;
|
|
7806
7811
|
return __generator(this, function (_d) {
|
|
7807
7812
|
switch (_d.label) {
|
|
7808
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServicesPlanDetails(options)];
|
|
7813
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetServicesPlanDetails(type, options)];
|
|
7809
7814
|
case 1:
|
|
7810
7815
|
localVarAxiosArgs = _d.sent();
|
|
7811
7816
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8851,11 +8856,12 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8851
8856
|
},
|
|
8852
8857
|
/**
|
|
8853
8858
|
* Get Service Plans Detailed
|
|
8859
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
8854
8860
|
* @param {*} [options] Override http request option.
|
|
8855
8861
|
* @throws {RequiredError}
|
|
8856
8862
|
*/
|
|
8857
|
-
getGetServicesPlanDetails: function (options) {
|
|
8858
|
-
return localVarFp.getGetServicesPlanDetails(options).then(function (request) { return request(axios, basePath); });
|
|
8863
|
+
getGetServicesPlanDetails: function (type, options) {
|
|
8864
|
+
return localVarFp.getGetServicesPlanDetails(type, options).then(function (request) { return request(axios, basePath); });
|
|
8859
8865
|
},
|
|
8860
8866
|
/**
|
|
8861
8867
|
* Get SIP Trunk List
|
|
@@ -9530,13 +9536,14 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9530
9536
|
};
|
|
9531
9537
|
/**
|
|
9532
9538
|
* Get Service Plans Detailed
|
|
9539
|
+
* @param {GetGetServicesPlanDetailsTypeEnum} [type] Connection Type
|
|
9533
9540
|
* @param {*} [options] Override http request option.
|
|
9534
9541
|
* @throws {RequiredError}
|
|
9535
9542
|
* @memberof BillingApi
|
|
9536
9543
|
*/
|
|
9537
|
-
BillingApi.prototype.getGetServicesPlanDetails = function (options) {
|
|
9544
|
+
BillingApi.prototype.getGetServicesPlanDetails = function (type, options) {
|
|
9538
9545
|
var _this = this;
|
|
9539
|
-
return (0, exports.BillingApiFp)(this.configuration).getGetServicesPlanDetails(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9546
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetServicesPlanDetails(type, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9540
9547
|
};
|
|
9541
9548
|
/**
|
|
9542
9549
|
* Get SIP Trunk List
|
|
@@ -9940,6 +9947,23 @@ exports.GetGetConnectionsTypeEnum = {
|
|
|
9940
9947
|
Other: 'Other',
|
|
9941
9948
|
RecurringCharges: 'Recurring Charges'
|
|
9942
9949
|
};
|
|
9950
|
+
/**
|
|
9951
|
+
* @export
|
|
9952
|
+
*/
|
|
9953
|
+
exports.GetGetServicesPlanDetailsTypeEnum = {
|
|
9954
|
+
SipTrunks: 'SIP Trunks',
|
|
9955
|
+
Broadband: 'Broadband',
|
|
9956
|
+
Ethernet: 'Ethernet',
|
|
9957
|
+
Mobile: 'Mobile',
|
|
9958
|
+
Wlr: 'WLR',
|
|
9959
|
+
Horizon: 'Horizon',
|
|
9960
|
+
Nts: 'NTS',
|
|
9961
|
+
Hosting: 'Hosting',
|
|
9962
|
+
Crm: 'CRM',
|
|
9963
|
+
StarterBundle: 'Starter Bundle',
|
|
9964
|
+
Other: 'Other',
|
|
9965
|
+
RecurringCharges: 'Recurring Charges'
|
|
9966
|
+
};
|
|
9943
9967
|
/**
|
|
9944
9968
|
* CRMApi - axios parameter creator
|
|
9945
9969
|
* @export
|
package/docs/BillingApi.md
CHANGED
|
@@ -1723,11 +1723,18 @@ import {
|
|
|
1723
1723
|
const configuration = new Configuration();
|
|
1724
1724
|
const apiInstance = new BillingApi(configuration);
|
|
1725
1725
|
|
|
1726
|
-
|
|
1726
|
+
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Other' | 'Recurring Charges'; //Connection Type (optional) (default to undefined)
|
|
1727
|
+
|
|
1728
|
+
const { status, data } = await apiInstance.getGetServicesPlanDetails(
|
|
1729
|
+
type
|
|
1730
|
+
);
|
|
1727
1731
|
```
|
|
1728
1732
|
|
|
1729
1733
|
### Parameters
|
|
1730
|
-
|
|
1734
|
+
|
|
1735
|
+
|Name | Type | Description | Notes|
|
|
1736
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1737
|
+
| **type** | [**'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Other' | 'Recurring Charges'**]**Array<'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Other' | 'Recurring Charges'>** | Connection Type | (optional) defaults to undefined|
|
|
1731
1738
|
|
|
1732
1739
|
|
|
1733
1740
|
### Return type
|