yellowgrid-api-ts 3.2.154-dev.0 → 3.2.156-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 +1 -0
- package/README.md +1 -0
- package/api.ts +103 -1
- package/dist/api.d.ts +68 -0
- package/dist/api.js +125 -5
- package/dist/models/UserGroupEnum.d.ts +5 -0
- package/dist/models/UserGroupEnum.js +5 -0
- package/docs/BillingApi.md +55 -0
- package/models/UserGroupEnum.ts +5 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -70,6 +70,7 @@ Class | Method | HTTP request | Description
|
|
|
70
70
|
*AccountsApi* | [**postSendPasswordReset**](docs/AccountsApi.md#postsendpasswordreset) | **POST** /accounts/contacts/password/reset | Send password reset email
|
|
71
71
|
*AccountsApi* | [**postSubmitResellerApplication**](docs/AccountsApi.md#postsubmitresellerapplication) | **POST** /accounts/reseller | Submit reseller application
|
|
72
72
|
*AccountsApi* | [**putUpdateAccountContact**](docs/AccountsApi.md#putupdateaccountcontact) | **PUT** /accounts/me/contacts/{email} | Update Account Contact
|
|
73
|
+
*BillingApi* | [**getGetAllCustomer**](docs/BillingApi.md#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers
|
|
73
74
|
*CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
|
|
74
75
|
*Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
|
|
75
76
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
package/api.ts
CHANGED
|
@@ -970,7 +970,8 @@ export const AdminUserModelPermissionsEnum = {
|
|
|
970
970
|
All: 'All',
|
|
971
971
|
Standard: 'Standard',
|
|
972
972
|
Technical: 'Technical',
|
|
973
|
-
Privileged: 'Privileged'
|
|
973
|
+
Privileged: 'Privileged',
|
|
974
|
+
Development: 'Development'
|
|
974
975
|
} as const;
|
|
975
976
|
|
|
976
977
|
export type AdminUserModelPermissionsEnum = typeof AdminUserModelPermissionsEnum[keyof typeof AdminUserModelPermissionsEnum];
|
|
@@ -13521,6 +13522,107 @@ export class AccountsApi extends BaseAPI {
|
|
|
13521
13522
|
|
|
13522
13523
|
|
|
13523
13524
|
|
|
13525
|
+
/**
|
|
13526
|
+
* BillingApi - axios parameter creator
|
|
13527
|
+
* @export
|
|
13528
|
+
*/
|
|
13529
|
+
export const BillingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13530
|
+
return {
|
|
13531
|
+
/**
|
|
13532
|
+
* Get Billing Customers
|
|
13533
|
+
* @summary Get Billing Customers
|
|
13534
|
+
* @param {*} [options] Override http request option.
|
|
13535
|
+
* @throws {RequiredError}
|
|
13536
|
+
*/
|
|
13537
|
+
getGetAllCustomer: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13538
|
+
const localVarPath = `/billing/admin/customerList`;
|
|
13539
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13540
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13541
|
+
let baseOptions;
|
|
13542
|
+
if (configuration) {
|
|
13543
|
+
baseOptions = configuration.baseOptions;
|
|
13544
|
+
}
|
|
13545
|
+
|
|
13546
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13547
|
+
const localVarHeaderParameter = {} as any;
|
|
13548
|
+
const localVarQueryParameter = {} as any;
|
|
13549
|
+
|
|
13550
|
+
|
|
13551
|
+
|
|
13552
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13553
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13554
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13555
|
+
|
|
13556
|
+
return {
|
|
13557
|
+
url: toPathString(localVarUrlObj),
|
|
13558
|
+
options: localVarRequestOptions,
|
|
13559
|
+
};
|
|
13560
|
+
},
|
|
13561
|
+
}
|
|
13562
|
+
};
|
|
13563
|
+
|
|
13564
|
+
/**
|
|
13565
|
+
* BillingApi - functional programming interface
|
|
13566
|
+
* @export
|
|
13567
|
+
*/
|
|
13568
|
+
export const BillingApiFp = function(configuration?: Configuration) {
|
|
13569
|
+
const localVarAxiosParamCreator = BillingApiAxiosParamCreator(configuration)
|
|
13570
|
+
return {
|
|
13571
|
+
/**
|
|
13572
|
+
* Get Billing Customers
|
|
13573
|
+
* @summary Get Billing Customers
|
|
13574
|
+
* @param {*} [options] Override http request option.
|
|
13575
|
+
* @throws {RequiredError}
|
|
13576
|
+
*/
|
|
13577
|
+
async getGetAllCustomer(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: { [key: string]: string; }; }>> {
|
|
13578
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAllCustomer(options);
|
|
13579
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13580
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.getGetAllCustomer']?.[localVarOperationServerIndex]?.url;
|
|
13581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13582
|
+
},
|
|
13583
|
+
}
|
|
13584
|
+
};
|
|
13585
|
+
|
|
13586
|
+
/**
|
|
13587
|
+
* BillingApi - factory interface
|
|
13588
|
+
* @export
|
|
13589
|
+
*/
|
|
13590
|
+
export const BillingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13591
|
+
const localVarFp = BillingApiFp(configuration)
|
|
13592
|
+
return {
|
|
13593
|
+
/**
|
|
13594
|
+
* Get Billing Customers
|
|
13595
|
+
* @summary Get Billing Customers
|
|
13596
|
+
* @param {*} [options] Override http request option.
|
|
13597
|
+
* @throws {RequiredError}
|
|
13598
|
+
*/
|
|
13599
|
+
getGetAllCustomer(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: { [key: string]: string; }; }> {
|
|
13600
|
+
return localVarFp.getGetAllCustomer(options).then((request) => request(axios, basePath));
|
|
13601
|
+
},
|
|
13602
|
+
};
|
|
13603
|
+
};
|
|
13604
|
+
|
|
13605
|
+
/**
|
|
13606
|
+
* BillingApi - object-oriented interface
|
|
13607
|
+
* @export
|
|
13608
|
+
* @class BillingApi
|
|
13609
|
+
* @extends {BaseAPI}
|
|
13610
|
+
*/
|
|
13611
|
+
export class BillingApi extends BaseAPI {
|
|
13612
|
+
/**
|
|
13613
|
+
* Get Billing Customers
|
|
13614
|
+
* @summary Get Billing Customers
|
|
13615
|
+
* @param {*} [options] Override http request option.
|
|
13616
|
+
* @throws {RequiredError}
|
|
13617
|
+
* @memberof BillingApi
|
|
13618
|
+
*/
|
|
13619
|
+
public getGetAllCustomer(options?: RawAxiosRequestConfig) {
|
|
13620
|
+
return BillingApiFp(this.configuration).getGetAllCustomer(options).then((request) => request(this.axios, this.basePath));
|
|
13621
|
+
}
|
|
13622
|
+
}
|
|
13623
|
+
|
|
13624
|
+
|
|
13625
|
+
|
|
13524
13626
|
/**
|
|
13525
13627
|
* CRMApi - axios parameter creator
|
|
13526
13628
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -956,6 +956,7 @@ export declare const AdminUserModelPermissionsEnum: {
|
|
|
956
956
|
readonly Standard: "Standard";
|
|
957
957
|
readonly Technical: "Technical";
|
|
958
958
|
readonly Privileged: "Privileged";
|
|
959
|
+
readonly Development: "Development";
|
|
959
960
|
};
|
|
960
961
|
export type AdminUserModelPermissionsEnum = typeof AdminUserModelPermissionsEnum[keyof typeof AdminUserModelPermissionsEnum];
|
|
961
962
|
/**
|
|
@@ -12690,6 +12691,73 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
12690
12691
|
*/
|
|
12691
12692
|
putUpdateAccountContact(email: string, accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
12692
12693
|
}
|
|
12694
|
+
/**
|
|
12695
|
+
* BillingApi - axios parameter creator
|
|
12696
|
+
* @export
|
|
12697
|
+
*/
|
|
12698
|
+
export declare const BillingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12699
|
+
/**
|
|
12700
|
+
* Get Billing Customers
|
|
12701
|
+
* @summary Get Billing Customers
|
|
12702
|
+
* @param {*} [options] Override http request option.
|
|
12703
|
+
* @throws {RequiredError}
|
|
12704
|
+
*/
|
|
12705
|
+
getGetAllCustomer: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12706
|
+
};
|
|
12707
|
+
/**
|
|
12708
|
+
* BillingApi - functional programming interface
|
|
12709
|
+
* @export
|
|
12710
|
+
*/
|
|
12711
|
+
export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
12712
|
+
/**
|
|
12713
|
+
* Get Billing Customers
|
|
12714
|
+
* @summary Get Billing Customers
|
|
12715
|
+
* @param {*} [options] Override http request option.
|
|
12716
|
+
* @throws {RequiredError}
|
|
12717
|
+
*/
|
|
12718
|
+
getGetAllCustomer(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
12719
|
+
[key: string]: {
|
|
12720
|
+
[key: string]: string;
|
|
12721
|
+
};
|
|
12722
|
+
}>>;
|
|
12723
|
+
};
|
|
12724
|
+
/**
|
|
12725
|
+
* BillingApi - factory interface
|
|
12726
|
+
* @export
|
|
12727
|
+
*/
|
|
12728
|
+
export declare const BillingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12729
|
+
/**
|
|
12730
|
+
* Get Billing Customers
|
|
12731
|
+
* @summary Get Billing Customers
|
|
12732
|
+
* @param {*} [options] Override http request option.
|
|
12733
|
+
* @throws {RequiredError}
|
|
12734
|
+
*/
|
|
12735
|
+
getGetAllCustomer(options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
12736
|
+
[key: string]: {
|
|
12737
|
+
[key: string]: string;
|
|
12738
|
+
};
|
|
12739
|
+
}>;
|
|
12740
|
+
};
|
|
12741
|
+
/**
|
|
12742
|
+
* BillingApi - object-oriented interface
|
|
12743
|
+
* @export
|
|
12744
|
+
* @class BillingApi
|
|
12745
|
+
* @extends {BaseAPI}
|
|
12746
|
+
*/
|
|
12747
|
+
export declare class BillingApi extends BaseAPI {
|
|
12748
|
+
/**
|
|
12749
|
+
* Get Billing Customers
|
|
12750
|
+
* @summary Get Billing Customers
|
|
12751
|
+
* @param {*} [options] Override http request option.
|
|
12752
|
+
* @throws {RequiredError}
|
|
12753
|
+
* @memberof BillingApi
|
|
12754
|
+
*/
|
|
12755
|
+
getGetAllCustomer(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
12756
|
+
[key: string]: {
|
|
12757
|
+
[key: string]: string;
|
|
12758
|
+
};
|
|
12759
|
+
}, any, {}>>;
|
|
12760
|
+
}
|
|
12693
12761
|
/**
|
|
12694
12762
|
* CRMApi - axios parameter creator
|
|
12695
12763
|
* @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 = void 0;
|
|
87
|
+
exports.Class3CXApiAxiosParamCreator = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = 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.ProspectDTOStatusEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
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 = 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 = void 0;
|
|
89
|
+
exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = 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 = 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 = void 0;
|
|
90
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
@@ -109,7 +109,8 @@ exports.AdminUserModelPermissionsEnum = {
|
|
|
109
109
|
All: 'All',
|
|
110
110
|
Standard: 'Standard',
|
|
111
111
|
Technical: 'Technical',
|
|
112
|
-
Privileged: 'Privileged'
|
|
112
|
+
Privileged: 'Privileged',
|
|
113
|
+
Development: 'Development'
|
|
113
114
|
};
|
|
114
115
|
exports.AuditLogEntityActionEnum = {
|
|
115
116
|
Create: 'CREATE',
|
|
@@ -2051,6 +2052,125 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
2051
2052
|
return AccountsApi;
|
|
2052
2053
|
}(base_1.BaseAPI));
|
|
2053
2054
|
exports.AccountsApi = AccountsApi;
|
|
2055
|
+
/**
|
|
2056
|
+
* BillingApi - axios parameter creator
|
|
2057
|
+
* @export
|
|
2058
|
+
*/
|
|
2059
|
+
var BillingApiAxiosParamCreator = function (configuration) {
|
|
2060
|
+
var _this = this;
|
|
2061
|
+
return {
|
|
2062
|
+
/**
|
|
2063
|
+
* Get Billing Customers
|
|
2064
|
+
* @summary Get Billing Customers
|
|
2065
|
+
* @param {*} [options] Override http request option.
|
|
2066
|
+
* @throws {RequiredError}
|
|
2067
|
+
*/
|
|
2068
|
+
getGetAllCustomer: function () {
|
|
2069
|
+
var args_1 = [];
|
|
2070
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2071
|
+
args_1[_i] = arguments[_i];
|
|
2072
|
+
}
|
|
2073
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
2074
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2075
|
+
if (options === void 0) { options = {}; }
|
|
2076
|
+
return __generator(this, function (_a) {
|
|
2077
|
+
localVarPath = "/billing/admin/customerList";
|
|
2078
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2079
|
+
if (configuration) {
|
|
2080
|
+
baseOptions = configuration.baseOptions;
|
|
2081
|
+
}
|
|
2082
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2083
|
+
localVarHeaderParameter = {};
|
|
2084
|
+
localVarQueryParameter = {};
|
|
2085
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2086
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2087
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2088
|
+
return [2 /*return*/, {
|
|
2089
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2090
|
+
options: localVarRequestOptions,
|
|
2091
|
+
}];
|
|
2092
|
+
});
|
|
2093
|
+
});
|
|
2094
|
+
},
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
exports.BillingApiAxiosParamCreator = BillingApiAxiosParamCreator;
|
|
2098
|
+
/**
|
|
2099
|
+
* BillingApi - functional programming interface
|
|
2100
|
+
* @export
|
|
2101
|
+
*/
|
|
2102
|
+
var BillingApiFp = function (configuration) {
|
|
2103
|
+
var localVarAxiosParamCreator = (0, exports.BillingApiAxiosParamCreator)(configuration);
|
|
2104
|
+
return {
|
|
2105
|
+
/**
|
|
2106
|
+
* Get Billing Customers
|
|
2107
|
+
* @summary Get Billing Customers
|
|
2108
|
+
* @param {*} [options] Override http request option.
|
|
2109
|
+
* @throws {RequiredError}
|
|
2110
|
+
*/
|
|
2111
|
+
getGetAllCustomer: function (options) {
|
|
2112
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2113
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2114
|
+
var _a, _b, _c;
|
|
2115
|
+
return __generator(this, function (_d) {
|
|
2116
|
+
switch (_d.label) {
|
|
2117
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAllCustomer(options)];
|
|
2118
|
+
case 1:
|
|
2119
|
+
localVarAxiosArgs = _d.sent();
|
|
2120
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2121
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.getGetAllCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2122
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2123
|
+
}
|
|
2124
|
+
});
|
|
2125
|
+
});
|
|
2126
|
+
},
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
exports.BillingApiFp = BillingApiFp;
|
|
2130
|
+
/**
|
|
2131
|
+
* BillingApi - factory interface
|
|
2132
|
+
* @export
|
|
2133
|
+
*/
|
|
2134
|
+
var BillingApiFactory = function (configuration, basePath, axios) {
|
|
2135
|
+
var localVarFp = (0, exports.BillingApiFp)(configuration);
|
|
2136
|
+
return {
|
|
2137
|
+
/**
|
|
2138
|
+
* Get Billing Customers
|
|
2139
|
+
* @summary Get Billing Customers
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
*/
|
|
2143
|
+
getGetAllCustomer: function (options) {
|
|
2144
|
+
return localVarFp.getGetAllCustomer(options).then(function (request) { return request(axios, basePath); });
|
|
2145
|
+
},
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
exports.BillingApiFactory = BillingApiFactory;
|
|
2149
|
+
/**
|
|
2150
|
+
* BillingApi - object-oriented interface
|
|
2151
|
+
* @export
|
|
2152
|
+
* @class BillingApi
|
|
2153
|
+
* @extends {BaseAPI}
|
|
2154
|
+
*/
|
|
2155
|
+
var BillingApi = /** @class */ (function (_super) {
|
|
2156
|
+
__extends(BillingApi, _super);
|
|
2157
|
+
function BillingApi() {
|
|
2158
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2159
|
+
}
|
|
2160
|
+
/**
|
|
2161
|
+
* Get Billing Customers
|
|
2162
|
+
* @summary Get Billing Customers
|
|
2163
|
+
* @param {*} [options] Override http request option.
|
|
2164
|
+
* @throws {RequiredError}
|
|
2165
|
+
* @memberof BillingApi
|
|
2166
|
+
*/
|
|
2167
|
+
BillingApi.prototype.getGetAllCustomer = function (options) {
|
|
2168
|
+
var _this = this;
|
|
2169
|
+
return (0, exports.BillingApiFp)(this.configuration).getGetAllCustomer(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2170
|
+
};
|
|
2171
|
+
return BillingApi;
|
|
2172
|
+
}(base_1.BaseAPI));
|
|
2173
|
+
exports.BillingApi = BillingApi;
|
|
2054
2174
|
/**
|
|
2055
2175
|
* CRMApi - axios parameter creator
|
|
2056
2176
|
* @export
|
|
@@ -19,5 +19,10 @@ export declare const UserGroupEnum: {
|
|
|
19
19
|
readonly value: "Privileged";
|
|
20
20
|
readonly publicValue: "Privileged";
|
|
21
21
|
};
|
|
22
|
+
readonly DEVELOPMENT: {
|
|
23
|
+
readonly name: "DEVELOPMENT";
|
|
24
|
+
readonly value: "Development";
|
|
25
|
+
readonly publicValue: "Development";
|
|
26
|
+
};
|
|
22
27
|
};
|
|
23
28
|
export type UserGroupEnum = typeof UserGroupEnum;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# BillingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetAllCustomer**](#getgetallcustomer) | **GET** /billing/admin/customerList | Get Billing Customers|
|
|
8
|
+
|
|
9
|
+
# **getGetAllCustomer**
|
|
10
|
+
> { [key: string]: { [key: string]: string; }; } getGetAllCustomer()
|
|
11
|
+
|
|
12
|
+
Get Billing Customers
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
BillingApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new BillingApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.getGetAllCustomer();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**{ [key: string]: { [key: string]: string; }; }**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
No authorization required
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: application/json
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | Billing Customer List | - |
|
|
50
|
+
|**400** | Bad Request | - |
|
|
51
|
+
|**401** | Unauthorised | - |
|
|
52
|
+
|**403** | Access Denied | - |
|
|
53
|
+
|
|
54
|
+
[[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)
|
|
55
|
+
|
package/models/UserGroupEnum.ts
CHANGED