yellowgrid-api-ts 3.1.6 → 3.1.7
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 -9
- package/dist/api.d.ts +26 -6
- package/dist/api.js +29 -13
- package/docs/Class3CXInstallationsApi.md +4 -1
- package/docs/CrmContactDTO.md +4 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1271,11 +1271,17 @@ export interface CrmContactDTO {
|
|
|
1271
1271
|
*/
|
|
1272
1272
|
'id'?: string;
|
|
1273
1273
|
/**
|
|
1274
|
-
* Contact Name
|
|
1274
|
+
* Contact First Name
|
|
1275
1275
|
* @type {string}
|
|
1276
1276
|
* @memberof CrmContactDTO
|
|
1277
1277
|
*/
|
|
1278
|
-
'
|
|
1278
|
+
'firstName'?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Contact Last Name
|
|
1281
|
+
* @type {string}
|
|
1282
|
+
* @memberof CrmContactDTO
|
|
1283
|
+
*/
|
|
1284
|
+
'lastName'?: string;
|
|
1279
1285
|
/**
|
|
1280
1286
|
* Phone Number
|
|
1281
1287
|
* @type {string}
|
|
@@ -12590,10 +12596,11 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12590
12596
|
* @param {string} [search] Search
|
|
12591
12597
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
12592
12598
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
12599
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
12593
12600
|
* @param {*} [options] Override http request option.
|
|
12594
12601
|
* @throws {RequiredError}
|
|
12595
12602
|
*/
|
|
12596
|
-
getGetInstallations: async (pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12603
|
+
getGetInstallations: async (pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12597
12604
|
const localVarPath = `/tcx/installations`;
|
|
12598
12605
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12599
12606
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12630,6 +12637,10 @@ export const Class3CXInstallationsApiAxiosParamCreator = function (configuration
|
|
|
12630
12637
|
localVarQueryParameter['hosting'] = hosting;
|
|
12631
12638
|
}
|
|
12632
12639
|
|
|
12640
|
+
if (installType !== undefined) {
|
|
12641
|
+
localVarQueryParameter['installType'] = installType;
|
|
12642
|
+
}
|
|
12643
|
+
|
|
12633
12644
|
|
|
12634
12645
|
|
|
12635
12646
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13038,11 +13049,12 @@ export const Class3CXInstallationsApiFp = function(configuration?: Configuration
|
|
|
13038
13049
|
* @param {string} [search] Search
|
|
13039
13050
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
13040
13051
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
13052
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
13041
13053
|
* @param {*} [options] Override http request option.
|
|
13042
13054
|
* @throws {RequiredError}
|
|
13043
13055
|
*/
|
|
13044
|
-
async getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationsModel>> {
|
|
13045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetInstallations(pageSize, page, customerId, search, status, hosting, options);
|
|
13056
|
+
async getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationsModel>> {
|
|
13057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options);
|
|
13046
13058
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13047
13059
|
const localVarOperationServerBasePath = operationServerMap['Class3CXInstallationsApi.getGetInstallations']?.[localVarOperationServerIndex]?.url;
|
|
13048
13060
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13202,11 +13214,12 @@ export const Class3CXInstallationsApiFactory = function (configuration?: Configu
|
|
|
13202
13214
|
* @param {string} [search] Search
|
|
13203
13215
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
13204
13216
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
13217
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
13205
13218
|
* @param {*} [options] Override http request option.
|
|
13206
13219
|
* @throws {RequiredError}
|
|
13207
13220
|
*/
|
|
13208
|
-
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel> {
|
|
13209
|
-
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, options).then((request) => request(axios, basePath));
|
|
13221
|
+
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel> {
|
|
13222
|
+
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(axios, basePath));
|
|
13210
13223
|
},
|
|
13211
13224
|
/**
|
|
13212
13225
|
* Create a root user
|
|
@@ -13338,12 +13351,13 @@ export class Class3CXInstallationsApi extends BaseAPI {
|
|
|
13338
13351
|
* @param {string} [search] Search
|
|
13339
13352
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
13340
13353
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
13354
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
13341
13355
|
* @param {*} [options] Override http request option.
|
|
13342
13356
|
* @throws {RequiredError}
|
|
13343
13357
|
* @memberof Class3CXInstallationsApi
|
|
13344
13358
|
*/
|
|
13345
|
-
public getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig) {
|
|
13346
|
-
return Class3CXInstallationsApiFp(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, options).then((request) => request(this.axios, this.basePath));
|
|
13359
|
+
public getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig) {
|
|
13360
|
+
return Class3CXInstallationsApiFp(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then((request) => request(this.axios, this.basePath));
|
|
13347
13361
|
}
|
|
13348
13362
|
|
|
13349
13363
|
/**
|
|
@@ -13484,6 +13498,16 @@ export const GetGetInstallationsHostingEnum = {
|
|
|
13484
13498
|
All: 'all'
|
|
13485
13499
|
} as const;
|
|
13486
13500
|
export type GetGetInstallationsHostingEnum = typeof GetGetInstallationsHostingEnum[keyof typeof GetGetInstallationsHostingEnum];
|
|
13501
|
+
/**
|
|
13502
|
+
* @export
|
|
13503
|
+
*/
|
|
13504
|
+
export const GetGetInstallationsInstallTypeEnum = {
|
|
13505
|
+
New: 'new',
|
|
13506
|
+
Restore: 'restore',
|
|
13507
|
+
Failover: 'failover',
|
|
13508
|
+
MultiTenant: 'multi-tenant'
|
|
13509
|
+
} as const;
|
|
13510
|
+
export type GetGetInstallationsInstallTypeEnum = typeof GetGetInstallationsInstallTypeEnum[keyof typeof GetGetInstallationsInstallTypeEnum];
|
|
13487
13511
|
/**
|
|
13488
13512
|
* @export
|
|
13489
13513
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -1261,11 +1261,17 @@ export interface CrmContactDTO {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
'id'?: string;
|
|
1263
1263
|
/**
|
|
1264
|
-
* Contact Name
|
|
1264
|
+
* Contact First Name
|
|
1265
1265
|
* @type {string}
|
|
1266
1266
|
* @memberof CrmContactDTO
|
|
1267
1267
|
*/
|
|
1268
|
-
'
|
|
1268
|
+
'firstName'?: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* Contact Last Name
|
|
1271
|
+
* @type {string}
|
|
1272
|
+
* @memberof CrmContactDTO
|
|
1273
|
+
*/
|
|
1274
|
+
'lastName'?: string;
|
|
1269
1275
|
/**
|
|
1270
1276
|
* Phone Number
|
|
1271
1277
|
* @type {string}
|
|
@@ -10425,10 +10431,11 @@ export declare const Class3CXInstallationsApiAxiosParamCreator: (configuration?:
|
|
|
10425
10431
|
* @param {string} [search] Search
|
|
10426
10432
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
10427
10433
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
10434
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
10428
10435
|
* @param {*} [options] Override http request option.
|
|
10429
10436
|
* @throws {RequiredError}
|
|
10430
10437
|
*/
|
|
10431
|
-
getGetInstallations: (pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10438
|
+
getGetInstallations: (pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10432
10439
|
/**
|
|
10433
10440
|
* Create a root user
|
|
10434
10441
|
* @summary Create a root user
|
|
@@ -10533,10 +10540,11 @@ export declare const Class3CXInstallationsApiFp: (configuration?: Configuration)
|
|
|
10533
10540
|
* @param {string} [search] Search
|
|
10534
10541
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
10535
10542
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
10543
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
10536
10544
|
* @param {*} [options] Override http request option.
|
|
10537
10545
|
* @throws {RequiredError}
|
|
10538
10546
|
*/
|
|
10539
|
-
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationsModel>>;
|
|
10547
|
+
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationsModel>>;
|
|
10540
10548
|
/**
|
|
10541
10549
|
* Create a root user
|
|
10542
10550
|
* @summary Create a root user
|
|
@@ -10641,10 +10649,11 @@ export declare const Class3CXInstallationsApiFactory: (configuration?: Configura
|
|
|
10641
10649
|
* @param {string} [search] Search
|
|
10642
10650
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
10643
10651
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
10652
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
10644
10653
|
* @param {*} [options] Override http request option.
|
|
10645
10654
|
* @throws {RequiredError}
|
|
10646
10655
|
*/
|
|
10647
|
-
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel>;
|
|
10656
|
+
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationsModel>;
|
|
10648
10657
|
/**
|
|
10649
10658
|
* Create a root user
|
|
10650
10659
|
* @summary Create a root user
|
|
@@ -10752,11 +10761,12 @@ export declare class Class3CXInstallationsApi extends BaseAPI {
|
|
|
10752
10761
|
* @param {string} [search] Search
|
|
10753
10762
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
10754
10763
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
10764
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
10755
10765
|
* @param {*} [options] Override http request option.
|
|
10756
10766
|
* @throws {RequiredError}
|
|
10757
10767
|
* @memberof Class3CXInstallationsApi
|
|
10758
10768
|
*/
|
|
10759
|
-
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxInstallationsModel, any, {}>>;
|
|
10769
|
+
getGetInstallations(pageSize?: number, page?: number, customerId?: string, search?: string, status?: GetGetInstallationsStatusEnum, hosting?: GetGetInstallationsHostingEnum, installType?: GetGetInstallationsInstallTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxInstallationsModel, any, {}>>;
|
|
10760
10770
|
/**
|
|
10761
10771
|
* Create a root user
|
|
10762
10772
|
* @summary Create a root user
|
|
@@ -10868,6 +10878,16 @@ export declare const GetGetInstallationsHostingEnum: {
|
|
|
10868
10878
|
readonly All: "all";
|
|
10869
10879
|
};
|
|
10870
10880
|
export type GetGetInstallationsHostingEnum = typeof GetGetInstallationsHostingEnum[keyof typeof GetGetInstallationsHostingEnum];
|
|
10881
|
+
/**
|
|
10882
|
+
* @export
|
|
10883
|
+
*/
|
|
10884
|
+
export declare const GetGetInstallationsInstallTypeEnum: {
|
|
10885
|
+
readonly New: "new";
|
|
10886
|
+
readonly Restore: "restore";
|
|
10887
|
+
readonly Failover: "failover";
|
|
10888
|
+
readonly MultiTenant: "multi-tenant";
|
|
10889
|
+
};
|
|
10890
|
+
export type GetGetInstallationsInstallTypeEnum = typeof GetGetInstallationsInstallTypeEnum[keyof typeof GetGetInstallationsInstallTypeEnum];
|
|
10871
10891
|
/**
|
|
10872
10892
|
* @export
|
|
10873
10893
|
*/
|
package/dist/api.js
CHANGED
|
@@ -84,9 +84,9 @@ 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.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.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = void 0;
|
|
87
|
+
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.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = 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.SipTrunkChangeResponseModelTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = void 0;
|
|
88
|
+
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.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.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.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = void 0;
|
|
89
|
+
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.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = void 0;
|
|
90
90
|
var axios_1 = require("axios");
|
|
91
91
|
// Some imports not used depending on template conditions
|
|
92
92
|
// @ts-ignore
|
|
@@ -4966,15 +4966,16 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
4966
4966
|
* @param {string} [search] Search
|
|
4967
4967
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
4968
4968
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
4969
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
4969
4970
|
* @param {*} [options] Override http request option.
|
|
4970
4971
|
* @throws {RequiredError}
|
|
4971
4972
|
*/
|
|
4972
|
-
getGetInstallations: function (pageSize_1, page_1, customerId_1, search_1, status_1, hosting_1) {
|
|
4973
|
+
getGetInstallations: function (pageSize_1, page_1, customerId_1, search_1, status_1, hosting_1, installType_1) {
|
|
4973
4974
|
var args_1 = [];
|
|
4974
|
-
for (var _i =
|
|
4975
|
-
args_1[_i -
|
|
4975
|
+
for (var _i = 7; _i < arguments.length; _i++) {
|
|
4976
|
+
args_1[_i - 7] = arguments[_i];
|
|
4976
4977
|
}
|
|
4977
|
-
return __awaiter(_this, __spreadArray([pageSize_1, page_1, customerId_1, search_1, status_1, hosting_1], args_1, true), void 0, function (pageSize, page, customerId, search, status, hosting, options) {
|
|
4978
|
+
return __awaiter(_this, __spreadArray([pageSize_1, page_1, customerId_1, search_1, status_1, hosting_1, installType_1], args_1, true), void 0, function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
4978
4979
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4979
4980
|
if (options === void 0) { options = {}; }
|
|
4980
4981
|
return __generator(this, function (_a) {
|
|
@@ -5004,6 +5005,9 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
5004
5005
|
if (hosting !== undefined) {
|
|
5005
5006
|
localVarQueryParameter['hosting'] = hosting;
|
|
5006
5007
|
}
|
|
5008
|
+
if (installType !== undefined) {
|
|
5009
|
+
localVarQueryParameter['installType'] = installType;
|
|
5010
|
+
}
|
|
5007
5011
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5008
5012
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5009
5013
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5439,16 +5443,17 @@ var Class3CXInstallationsApiFp = function (configuration) {
|
|
|
5439
5443
|
* @param {string} [search] Search
|
|
5440
5444
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
5441
5445
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
5446
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
5442
5447
|
* @param {*} [options] Override http request option.
|
|
5443
5448
|
* @throws {RequiredError}
|
|
5444
5449
|
*/
|
|
5445
|
-
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, options) {
|
|
5450
|
+
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
5446
5451
|
return __awaiter(this, void 0, void 0, function () {
|
|
5447
5452
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5448
5453
|
var _a, _b, _c;
|
|
5449
5454
|
return __generator(this, function (_d) {
|
|
5450
5455
|
switch (_d.label) {
|
|
5451
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetInstallations(pageSize, page, customerId, search, status, hosting, options)];
|
|
5456
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options)];
|
|
5452
5457
|
case 1:
|
|
5453
5458
|
localVarAxiosArgs = _d.sent();
|
|
5454
5459
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -5703,11 +5708,12 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
|
|
|
5703
5708
|
* @param {string} [search] Search
|
|
5704
5709
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
5705
5710
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
5711
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
5706
5712
|
* @param {*} [options] Override http request option.
|
|
5707
5713
|
* @throws {RequiredError}
|
|
5708
5714
|
*/
|
|
5709
|
-
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, options) {
|
|
5710
|
-
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, options).then(function (request) { return request(axios, basePath); });
|
|
5715
|
+
getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
5716
|
+
return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
|
|
5711
5717
|
},
|
|
5712
5718
|
/**
|
|
5713
5719
|
* Create a root user
|
|
@@ -5843,13 +5849,14 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
|
|
|
5843
5849
|
* @param {string} [search] Search
|
|
5844
5850
|
* @param {GetGetInstallationsStatusEnum} [status] Status
|
|
5845
5851
|
* @param {GetGetInstallationsHostingEnum} [hosting] Hosting
|
|
5852
|
+
* @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
|
|
5846
5853
|
* @param {*} [options] Override http request option.
|
|
5847
5854
|
* @throws {RequiredError}
|
|
5848
5855
|
* @memberof Class3CXInstallationsApi
|
|
5849
5856
|
*/
|
|
5850
|
-
Class3CXInstallationsApi.prototype.getGetInstallations = function (pageSize, page, customerId, search, status, hosting, options) {
|
|
5857
|
+
Class3CXInstallationsApi.prototype.getGetInstallations = function (pageSize, page, customerId, search, status, hosting, installType, options) {
|
|
5851
5858
|
var _this = this;
|
|
5852
|
-
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5859
|
+
return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5853
5860
|
};
|
|
5854
5861
|
/**
|
|
5855
5862
|
* Create a root user
|
|
@@ -5989,6 +5996,15 @@ exports.GetGetInstallationsHostingEnum = {
|
|
|
5989
5996
|
Onprem: 'onprem',
|
|
5990
5997
|
All: 'all'
|
|
5991
5998
|
};
|
|
5999
|
+
/**
|
|
6000
|
+
* @export
|
|
6001
|
+
*/
|
|
6002
|
+
exports.GetGetInstallationsInstallTypeEnum = {
|
|
6003
|
+
New: 'new',
|
|
6004
|
+
Restore: 'restore',
|
|
6005
|
+
Failover: 'failover',
|
|
6006
|
+
MultiTenant: 'multi-tenant'
|
|
6007
|
+
};
|
|
5992
6008
|
/**
|
|
5993
6009
|
* @export
|
|
5994
6010
|
*/
|
|
@@ -92,6 +92,7 @@ let customerId: string; //Customer ID (optional) (default to undefined)
|
|
|
92
92
|
let search: string; //Search (optional) (default to undefined)
|
|
93
93
|
let status: 'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'; //Status (optional) (default to undefined)
|
|
94
94
|
let hosting: 'yellowgrid' | 'multi-tenant' | 'onprem' | 'all'; //Hosting (optional) (default to undefined)
|
|
95
|
+
let installType: 'new' | 'restore' | 'failover' | 'multi-tenant'; //Install Type (optional) (default to undefined)
|
|
95
96
|
|
|
96
97
|
const { status, data } = await apiInstance.getGetInstallations(
|
|
97
98
|
pageSize,
|
|
@@ -99,7 +100,8 @@ const { status, data } = await apiInstance.getGetInstallations(
|
|
|
99
100
|
customerId,
|
|
100
101
|
search,
|
|
101
102
|
status,
|
|
102
|
-
hosting
|
|
103
|
+
hosting,
|
|
104
|
+
installType
|
|
103
105
|
);
|
|
104
106
|
```
|
|
105
107
|
|
|
@@ -113,6 +115,7 @@ const { status, data } = await apiInstance.getGetInstallations(
|
|
|
113
115
|
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
114
116
|
| **status** | [**'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'**]**Array<'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'>** | Status | (optional) defaults to undefined|
|
|
115
117
|
| **hosting** | [**'yellowgrid' | 'multi-tenant' | 'onprem' | 'all'**]**Array<'yellowgrid' | 'multi-tenant' | 'onprem' | 'all'>** | Hosting | (optional) defaults to undefined|
|
|
118
|
+
| **installType** | [**'new' | 'restore' | 'failover' | 'multi-tenant'**]**Array<'new' | 'restore' | 'failover' | 'multi-tenant'>** | Install Type | (optional) defaults to undefined|
|
|
116
119
|
|
|
117
120
|
|
|
118
121
|
### Return type
|
package/docs/CrmContactDTO.md
CHANGED
|
@@ -7,7 +7,8 @@ CRM Contact
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**id** | **string** | Contact ID | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**firstName** | **string** | Contact First Name | [optional] [default to undefined]
|
|
11
|
+
**lastName** | **string** | Contact Last Name | [optional] [default to undefined]
|
|
11
12
|
**phone** | **string** | Phone Number | [optional] [default to undefined]
|
|
12
13
|
**company** | **string** | Company Name | [optional] [default to undefined]
|
|
13
14
|
**email** | **string** | Email Address | [optional] [default to undefined]
|
|
@@ -20,7 +21,8 @@ import { CrmContactDTO } from 'yellowgrid-api-ts';
|
|
|
20
21
|
|
|
21
22
|
const instance: CrmContactDTO = {
|
|
22
23
|
id,
|
|
23
|
-
|
|
24
|
+
firstName,
|
|
25
|
+
lastName,
|
|
24
26
|
phone,
|
|
25
27
|
company,
|
|
26
28
|
email,
|