yellowgrid-api-ts 3.2.213-dev.0 → 3.2.214-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 +45 -9
- package/dist/api.d.ts +42 -9
- package/dist/api.js +39 -8
- package/docs/BillingApi.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -9013,8 +9013,26 @@ export interface PostGetServicePlansRequest {
|
|
|
9013
9013
|
* @type {string}
|
|
9014
9014
|
* @memberof PostGetServicePlansRequest
|
|
9015
9015
|
*/
|
|
9016
|
-
'planGroup'?:
|
|
9016
|
+
'planGroup'?: PostGetServicePlansRequestPlanGroupEnum;
|
|
9017
9017
|
}
|
|
9018
|
+
|
|
9019
|
+
export const PostGetServicePlansRequestPlanGroupEnum = {
|
|
9020
|
+
SipTrunks: 'SIP Trunks',
|
|
9021
|
+
Broadband: 'Broadband',
|
|
9022
|
+
Ethernet: 'Ethernet',
|
|
9023
|
+
Mobile: 'Mobile',
|
|
9024
|
+
Wlr: 'WLR',
|
|
9025
|
+
Horizon: 'Horizon',
|
|
9026
|
+
Nts: 'NTS',
|
|
9027
|
+
Hosting: 'Hosting',
|
|
9028
|
+
Crm: 'CRM',
|
|
9029
|
+
StarterBundle: 'Starter Bundle',
|
|
9030
|
+
Other: 'Other',
|
|
9031
|
+
RecurringCharges: 'Recurring Charges'
|
|
9032
|
+
} as const;
|
|
9033
|
+
|
|
9034
|
+
export type PostGetServicePlansRequestPlanGroupEnum = typeof PostGetServicePlansRequestPlanGroupEnum[keyof typeof PostGetServicePlansRequestPlanGroupEnum];
|
|
9035
|
+
|
|
9018
9036
|
/**
|
|
9019
9037
|
*
|
|
9020
9038
|
* @export
|
|
@@ -20585,12 +20603,12 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20585
20603
|
},
|
|
20586
20604
|
/**
|
|
20587
20605
|
* Get Connections
|
|
20588
|
-
* @param {
|
|
20606
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
20589
20607
|
* @param {number} [billCustomerId] Customer ID
|
|
20590
20608
|
* @param {*} [options] Override http request option.
|
|
20591
20609
|
* @throws {RequiredError}
|
|
20592
20610
|
*/
|
|
20593
|
-
getGetConnections: async (type?:
|
|
20611
|
+
getGetConnections: async (type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20594
20612
|
const localVarPath = `/billing/customer/connections`;
|
|
20595
20613
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20596
20614
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22240,12 +22258,12 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
22240
22258
|
},
|
|
22241
22259
|
/**
|
|
22242
22260
|
* Get Connections
|
|
22243
|
-
* @param {
|
|
22261
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
22244
22262
|
* @param {number} [billCustomerId] Customer ID
|
|
22245
22263
|
* @param {*} [options] Override http request option.
|
|
22246
22264
|
* @throws {RequiredError}
|
|
22247
22265
|
*/
|
|
22248
|
-
async getGetConnections(type?:
|
|
22266
|
+
async getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutboundCli>>> {
|
|
22249
22267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetConnections(type, billCustomerId, options);
|
|
22250
22268
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22251
22269
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetConnections']?.[localVarOperationServerIndex]?.url;
|
|
@@ -22918,12 +22936,12 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
22918
22936
|
},
|
|
22919
22937
|
/**
|
|
22920
22938
|
* Get Connections
|
|
22921
|
-
* @param {
|
|
22939
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
22922
22940
|
* @param {number} [billCustomerId] Customer ID
|
|
22923
22941
|
* @param {*} [options] Override http request option.
|
|
22924
22942
|
* @throws {RequiredError}
|
|
22925
22943
|
*/
|
|
22926
|
-
getGetConnections(type?:
|
|
22944
|
+
getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>> {
|
|
22927
22945
|
return localVarFp.getGetConnections(type, billCustomerId, options).then((request) => request(axios, basePath));
|
|
22928
22946
|
},
|
|
22929
22947
|
/**
|
|
@@ -23531,13 +23549,13 @@ export class BillingApi extends BaseAPI {
|
|
|
23531
23549
|
|
|
23532
23550
|
/**
|
|
23533
23551
|
* Get Connections
|
|
23534
|
-
* @param {
|
|
23552
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
23535
23553
|
* @param {number} [billCustomerId] Customer ID
|
|
23536
23554
|
* @param {*} [options] Override http request option.
|
|
23537
23555
|
* @throws {RequiredError}
|
|
23538
23556
|
* @memberof BillingApi
|
|
23539
23557
|
*/
|
|
23540
|
-
public getGetConnections(type?:
|
|
23558
|
+
public getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig) {
|
|
23541
23559
|
return BillingApiFp(this.configuration).getGetConnections(type, billCustomerId, options).then((request) => request(this.axios, this.basePath));
|
|
23542
23560
|
}
|
|
23543
23561
|
|
|
@@ -23952,6 +23970,24 @@ export class BillingApi extends BaseAPI {
|
|
|
23952
23970
|
}
|
|
23953
23971
|
}
|
|
23954
23972
|
|
|
23973
|
+
/**
|
|
23974
|
+
* @export
|
|
23975
|
+
*/
|
|
23976
|
+
export const GetGetConnectionsTypeEnum = {
|
|
23977
|
+
SipTrunks: 'SIP Trunks',
|
|
23978
|
+
Broadband: 'Broadband',
|
|
23979
|
+
Ethernet: 'Ethernet',
|
|
23980
|
+
Mobile: 'Mobile',
|
|
23981
|
+
Wlr: 'WLR',
|
|
23982
|
+
Horizon: 'Horizon',
|
|
23983
|
+
Nts: 'NTS',
|
|
23984
|
+
Hosting: 'Hosting',
|
|
23985
|
+
Crm: 'CRM',
|
|
23986
|
+
StarterBundle: 'Starter Bundle',
|
|
23987
|
+
Other: 'Other',
|
|
23988
|
+
RecurringCharges: 'Recurring Charges'
|
|
23989
|
+
} as const;
|
|
23990
|
+
export type GetGetConnectionsTypeEnum = typeof GetGetConnectionsTypeEnum[keyof typeof GetGetConnectionsTypeEnum];
|
|
23955
23991
|
|
|
23956
23992
|
|
|
23957
23993
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -8941,8 +8941,23 @@ export interface PostGetServicePlansRequest {
|
|
|
8941
8941
|
* @type {string}
|
|
8942
8942
|
* @memberof PostGetServicePlansRequest
|
|
8943
8943
|
*/
|
|
8944
|
-
'planGroup'?:
|
|
8944
|
+
'planGroup'?: PostGetServicePlansRequestPlanGroupEnum;
|
|
8945
8945
|
}
|
|
8946
|
+
export declare const PostGetServicePlansRequestPlanGroupEnum: {
|
|
8947
|
+
readonly SipTrunks: "SIP Trunks";
|
|
8948
|
+
readonly Broadband: "Broadband";
|
|
8949
|
+
readonly Ethernet: "Ethernet";
|
|
8950
|
+
readonly Mobile: "Mobile";
|
|
8951
|
+
readonly Wlr: "WLR";
|
|
8952
|
+
readonly Horizon: "Horizon";
|
|
8953
|
+
readonly Nts: "NTS";
|
|
8954
|
+
readonly Hosting: "Hosting";
|
|
8955
|
+
readonly Crm: "CRM";
|
|
8956
|
+
readonly StarterBundle: "Starter Bundle";
|
|
8957
|
+
readonly Other: "Other";
|
|
8958
|
+
readonly RecurringCharges: "Recurring Charges";
|
|
8959
|
+
};
|
|
8960
|
+
export type PostGetServicePlansRequestPlanGroupEnum = typeof PostGetServicePlansRequestPlanGroupEnum[keyof typeof PostGetServicePlansRequestPlanGroupEnum];
|
|
8946
8961
|
/**
|
|
8947
8962
|
*
|
|
8948
8963
|
* @export
|
|
@@ -17961,12 +17976,12 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17961
17976
|
getGetChildren: (billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17962
17977
|
/**
|
|
17963
17978
|
* Get Connections
|
|
17964
|
-
* @param {
|
|
17979
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
17965
17980
|
* @param {number} [billCustomerId] Customer ID
|
|
17966
17981
|
* @param {*} [options] Override http request option.
|
|
17967
17982
|
* @throws {RequiredError}
|
|
17968
17983
|
*/
|
|
17969
|
-
getGetConnections: (type?:
|
|
17984
|
+
getGetConnections: (type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17970
17985
|
/**
|
|
17971
17986
|
* Get Customer (Global)
|
|
17972
17987
|
* @param {string} [accountId] Account ID
|
|
@@ -18408,12 +18423,12 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
18408
18423
|
getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
|
|
18409
18424
|
/**
|
|
18410
18425
|
* Get Connections
|
|
18411
|
-
* @param {
|
|
18426
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
18412
18427
|
* @param {number} [billCustomerId] Customer ID
|
|
18413
18428
|
* @param {*} [options] Override http request option.
|
|
18414
18429
|
* @throws {RequiredError}
|
|
18415
18430
|
*/
|
|
18416
|
-
getGetConnections(type?:
|
|
18431
|
+
getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutboundCli>>>;
|
|
18417
18432
|
/**
|
|
18418
18433
|
* Get Customer (Global)
|
|
18419
18434
|
* @param {string} [accountId] Account ID
|
|
@@ -18855,12 +18870,12 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
18855
18870
|
getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<object>>;
|
|
18856
18871
|
/**
|
|
18857
18872
|
* Get Connections
|
|
18858
|
-
* @param {
|
|
18873
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
18859
18874
|
* @param {number} [billCustomerId] Customer ID
|
|
18860
18875
|
* @param {*} [options] Override http request option.
|
|
18861
18876
|
* @throws {RequiredError}
|
|
18862
18877
|
*/
|
|
18863
|
-
getGetConnections(type?:
|
|
18878
|
+
getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutboundCli>>;
|
|
18864
18879
|
/**
|
|
18865
18880
|
* Get Customer (Global)
|
|
18866
18881
|
* @param {string} [accountId] Account ID
|
|
@@ -19327,13 +19342,13 @@ export declare class BillingApi extends BaseAPI {
|
|
|
19327
19342
|
getGetChildren(billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object[], any, {}>>;
|
|
19328
19343
|
/**
|
|
19329
19344
|
* Get Connections
|
|
19330
|
-
* @param {
|
|
19345
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
19331
19346
|
* @param {number} [billCustomerId] Customer ID
|
|
19332
19347
|
* @param {*} [options] Override http request option.
|
|
19333
19348
|
* @throws {RequiredError}
|
|
19334
19349
|
* @memberof BillingApi
|
|
19335
19350
|
*/
|
|
19336
|
-
getGetConnections(type?:
|
|
19351
|
+
getGetConnections(type?: GetGetConnectionsTypeEnum, billCustomerId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundCli[], any, {}>>;
|
|
19337
19352
|
/**
|
|
19338
19353
|
* Get Customer (Global)
|
|
19339
19354
|
* @param {string} [accountId] Account ID
|
|
@@ -19637,6 +19652,24 @@ export declare class BillingApi extends BaseAPI {
|
|
|
19637
19652
|
*/
|
|
19638
19653
|
putGetPriceGroups(priceGroupId: number, putGetPriceGroupsRequest: PutGetPriceGroupsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceGroup, any, {}>>;
|
|
19639
19654
|
}
|
|
19655
|
+
/**
|
|
19656
|
+
* @export
|
|
19657
|
+
*/
|
|
19658
|
+
export declare const GetGetConnectionsTypeEnum: {
|
|
19659
|
+
readonly SipTrunks: "SIP Trunks";
|
|
19660
|
+
readonly Broadband: "Broadband";
|
|
19661
|
+
readonly Ethernet: "Ethernet";
|
|
19662
|
+
readonly Mobile: "Mobile";
|
|
19663
|
+
readonly Wlr: "WLR";
|
|
19664
|
+
readonly Horizon: "Horizon";
|
|
19665
|
+
readonly Nts: "NTS";
|
|
19666
|
+
readonly Hosting: "Hosting";
|
|
19667
|
+
readonly Crm: "CRM";
|
|
19668
|
+
readonly StarterBundle: "Starter Bundle";
|
|
19669
|
+
readonly Other: "Other";
|
|
19670
|
+
readonly RecurringCharges: "Recurring Charges";
|
|
19671
|
+
};
|
|
19672
|
+
export type GetGetConnectionsTypeEnum = typeof GetGetConnectionsTypeEnum[keyof typeof GetGetConnectionsTypeEnum];
|
|
19640
19673
|
/**
|
|
19641
19674
|
* CRMApi - axios parameter creator
|
|
19642
19675
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -84,10 +84,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
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 = void 0;
|
|
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.MyPBXToolsApiAxiosParamCreator = 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.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.SIPTrunksApiAxiosParamCreator = 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 = 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 = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
@@ -360,6 +360,20 @@ exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
|
360
360
|
_6: '6',
|
|
361
361
|
_7: '7'
|
|
362
362
|
};
|
|
363
|
+
exports.PostGetServicePlansRequestPlanGroupEnum = {
|
|
364
|
+
SipTrunks: 'SIP Trunks',
|
|
365
|
+
Broadband: 'Broadband',
|
|
366
|
+
Ethernet: 'Ethernet',
|
|
367
|
+
Mobile: 'Mobile',
|
|
368
|
+
Wlr: 'WLR',
|
|
369
|
+
Horizon: 'Horizon',
|
|
370
|
+
Nts: 'NTS',
|
|
371
|
+
Hosting: 'Hosting',
|
|
372
|
+
Crm: 'CRM',
|
|
373
|
+
StarterBundle: 'Starter Bundle',
|
|
374
|
+
Other: 'Other',
|
|
375
|
+
RecurringCharges: 'Recurring Charges'
|
|
376
|
+
};
|
|
363
377
|
exports.ProspectDTOStatusEnum = {
|
|
364
378
|
NoCallBackSet: 'No Call Back Set',
|
|
365
379
|
CallBackDue: 'Call Back Due',
|
|
@@ -5480,7 +5494,7 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
5480
5494
|
},
|
|
5481
5495
|
/**
|
|
5482
5496
|
* Get Connections
|
|
5483
|
-
* @param {
|
|
5497
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
5484
5498
|
* @param {number} [billCustomerId] Customer ID
|
|
5485
5499
|
* @param {*} [options] Override http request option.
|
|
5486
5500
|
* @throws {RequiredError}
|
|
@@ -7424,7 +7438,7 @@ var BillingApiFp = function (configuration) {
|
|
|
7424
7438
|
},
|
|
7425
7439
|
/**
|
|
7426
7440
|
* Get Connections
|
|
7427
|
-
* @param {
|
|
7441
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
7428
7442
|
* @param {number} [billCustomerId] Customer ID
|
|
7429
7443
|
* @param {*} [options] Override http request option.
|
|
7430
7444
|
* @throws {RequiredError}
|
|
@@ -8472,7 +8486,7 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
8472
8486
|
},
|
|
8473
8487
|
/**
|
|
8474
8488
|
* Get Connections
|
|
8475
|
-
* @param {
|
|
8489
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
8476
8490
|
* @param {number} [billCustomerId] Customer ID
|
|
8477
8491
|
* @param {*} [options] Override http request option.
|
|
8478
8492
|
* @throws {RequiredError}
|
|
@@ -9089,7 +9103,7 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9089
9103
|
};
|
|
9090
9104
|
/**
|
|
9091
9105
|
* Get Connections
|
|
9092
|
-
* @param {
|
|
9106
|
+
* @param {GetGetConnectionsTypeEnum} [type] Connection Type
|
|
9093
9107
|
* @param {number} [billCustomerId] Customer ID
|
|
9094
9108
|
* @param {*} [options] Override http request option.
|
|
9095
9109
|
* @throws {RequiredError}
|
|
@@ -9512,6 +9526,23 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
9512
9526
|
return BillingApi;
|
|
9513
9527
|
}(base_1.BaseAPI));
|
|
9514
9528
|
exports.BillingApi = BillingApi;
|
|
9529
|
+
/**
|
|
9530
|
+
* @export
|
|
9531
|
+
*/
|
|
9532
|
+
exports.GetGetConnectionsTypeEnum = {
|
|
9533
|
+
SipTrunks: 'SIP Trunks',
|
|
9534
|
+
Broadband: 'Broadband',
|
|
9535
|
+
Ethernet: 'Ethernet',
|
|
9536
|
+
Mobile: 'Mobile',
|
|
9537
|
+
Wlr: 'WLR',
|
|
9538
|
+
Horizon: 'Horizon',
|
|
9539
|
+
Nts: 'NTS',
|
|
9540
|
+
Hosting: 'Hosting',
|
|
9541
|
+
Crm: 'CRM',
|
|
9542
|
+
StarterBundle: 'Starter Bundle',
|
|
9543
|
+
Other: 'Other',
|
|
9544
|
+
RecurringCharges: 'Recurring Charges'
|
|
9545
|
+
};
|
|
9515
9546
|
/**
|
|
9516
9547
|
* CRMApi - axios parameter creator
|
|
9517
9548
|
* @export
|
package/docs/BillingApi.md
CHANGED
|
@@ -1312,7 +1312,7 @@ import {
|
|
|
1312
1312
|
const configuration = new Configuration();
|
|
1313
1313
|
const apiInstance = new BillingApi(configuration);
|
|
1314
1314
|
|
|
1315
|
-
let type:
|
|
1315
|
+
let type: 'SIP Trunks' | 'Broadband' | 'Ethernet' | 'Mobile' | 'WLR' | 'Horizon' | 'NTS' | 'Hosting' | 'CRM' | 'Starter Bundle' | 'Other' | 'Recurring Charges'; //Connection Type (optional) (default to undefined)
|
|
1316
1316
|
let billCustomerId: number; //Customer ID (optional) (default to undefined)
|
|
1317
1317
|
|
|
1318
1318
|
const { status, data } = await apiInstance.getGetConnections(
|
|
@@ -1325,7 +1325,7 @@ const { status, data } = await apiInstance.getGetConnections(
|
|
|
1325
1325
|
|
|
1326
1326
|
|Name | Type | Description | Notes|
|
|
1327
1327
|
|------------- | ------------- | ------------- | -------------|
|
|
1328
|
-
| **type** | [**
|
|
1328
|
+
| **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|
|
|
1329
1329
|
| **billCustomerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
1330
1330
|
|
|
1331
1331
|
|