yellowgrid-api-ts 3.2.359 → 3.2.361

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 CHANGED
@@ -20806,17 +20806,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
20806
20806
  /**
20807
20807
  * Get 3CX call history
20808
20808
  * @param {string} id Instance ID
20809
- * @param {string} trunk Trunk
20810
20809
  * @param {string} [start] Start Date
20811
20810
  * @param {string} [end] End Date
20811
+ * @param {string} [trunk] Trunk
20812
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
20812
20813
  * @param {*} [options] Override http request option.
20813
20814
  * @throws {RequiredError}
20814
20815
  */
20815
- getGetCallHistory: async (id: string, trunk: string, start?: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20816
+ getGetCallHistory: async (id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20816
20817
  // verify required parameter 'id' is not null or undefined
20817
20818
  assertParamExists('getGetCallHistory', 'id', id)
20818
- // verify required parameter 'trunk' is not null or undefined
20819
- assertParamExists('getGetCallHistory', 'trunk', trunk)
20820
20819
  const localVarPath = `/tcx/cc/instance/{id}/calls`
20821
20820
  .replace('{id}', encodeURIComponent(String(id)));
20822
20821
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -20846,6 +20845,10 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
20846
20845
  localVarQueryParameter['trunk'] = trunk;
20847
20846
  }
20848
20847
 
20848
+ if (type !== undefined) {
20849
+ localVarQueryParameter['type'] = type;
20850
+ }
20851
+
20849
20852
  localVarHeaderParameter['Accept'] = 'application/json';
20850
20853
 
20851
20854
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -21163,14 +21166,15 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
21163
21166
  /**
21164
21167
  * Get 3CX call history
21165
21168
  * @param {string} id Instance ID
21166
- * @param {string} trunk Trunk
21167
21169
  * @param {string} [start] Start Date
21168
21170
  * @param {string} [end] End Date
21171
+ * @param {string} [trunk] Trunk
21172
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
21169
21173
  * @param {*} [options] Override http request option.
21170
21174
  * @throws {RequiredError}
21171
21175
  */
21172
- async getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxCallLogCollectionModel>> {
21173
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCallHistory(id, trunk, start, end, options);
21176
+ async getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxCallLogCollectionModel>> {
21177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCallHistory(id, start, end, trunk, type, options);
21174
21178
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21175
21179
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetCallHistory']?.[localVarOperationServerIndex]?.url;
21176
21180
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -21304,14 +21308,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
21304
21308
  /**
21305
21309
  * Get 3CX call history
21306
21310
  * @param {string} id Instance ID
21307
- * @param {string} trunk Trunk
21308
21311
  * @param {string} [start] Start Date
21309
21312
  * @param {string} [end] End Date
21313
+ * @param {string} [trunk] Trunk
21314
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
21310
21315
  * @param {*} [options] Override http request option.
21311
21316
  * @throws {RequiredError}
21312
21317
  */
21313
- getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxCallLogCollectionModel> {
21314
- return localVarFp.getGetCallHistory(id, trunk, start, end, options).then((request) => request(axios, basePath));
21318
+ getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxCallLogCollectionModel> {
21319
+ return localVarFp.getGetCallHistory(id, start, end, trunk, type, options).then((request) => request(axios, basePath));
21315
21320
  },
21316
21321
  /**
21317
21322
  * Get 3CX Licence Details
@@ -21414,14 +21419,15 @@ export class Class3CXApi extends BaseAPI {
21414
21419
  /**
21415
21420
  * Get 3CX call history
21416
21421
  * @param {string} id Instance ID
21417
- * @param {string} trunk Trunk
21418
21422
  * @param {string} [start] Start Date
21419
21423
  * @param {string} [end] End Date
21424
+ * @param {string} [trunk] Trunk
21425
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
21420
21426
  * @param {*} [options] Override http request option.
21421
21427
  * @throws {RequiredError}
21422
21428
  */
21423
- public getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig) {
21424
- return Class3CXApiFp(this.configuration).getGetCallHistory(id, trunk, start, end, options).then((request) => request(this.axios, this.basePath));
21429
+ public getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig) {
21430
+ return Class3CXApiFp(this.configuration).getGetCallHistory(id, start, end, trunk, type, options).then((request) => request(this.axios, this.basePath));
21425
21431
  }
21426
21432
 
21427
21433
  /**
@@ -21516,6 +21522,14 @@ export class Class3CXApi extends BaseAPI {
21516
21522
  }
21517
21523
  }
21518
21524
 
21525
+ export const GetGetCallHistoryTypeEnum = {
21526
+ Dialing: 'dialing',
21527
+ Ended: 'ended',
21528
+ Call: 'call',
21529
+ Ringing: 'ringing',
21530
+ Connected: 'connected',
21531
+ } as const;
21532
+ export type GetGetCallHistoryTypeEnum = typeof GetGetCallHistoryTypeEnum[keyof typeof GetGetCallHistoryTypeEnum];
21519
21533
 
21520
21534
 
21521
21535
  /**
package/dist/api.d.ts CHANGED
@@ -15557,13 +15557,14 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
15557
15557
  /**
15558
15558
  * Get 3CX call history
15559
15559
  * @param {string} id Instance ID
15560
- * @param {string} trunk Trunk
15561
15560
  * @param {string} [start] Start Date
15562
15561
  * @param {string} [end] End Date
15562
+ * @param {string} [trunk] Trunk
15563
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
15563
15564
  * @param {*} [options] Override http request option.
15564
15565
  * @throws {RequiredError}
15565
15566
  */
15566
- getGetCallHistory: (id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15567
+ getGetCallHistory: (id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15567
15568
  /**
15568
15569
  * Get 3CX Licence Details
15569
15570
  * @summary Get 3CX Licence Details
@@ -15642,13 +15643,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
15642
15643
  /**
15643
15644
  * Get 3CX call history
15644
15645
  * @param {string} id Instance ID
15645
- * @param {string} trunk Trunk
15646
15646
  * @param {string} [start] Start Date
15647
15647
  * @param {string} [end] End Date
15648
+ * @param {string} [trunk] Trunk
15649
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
15648
15650
  * @param {*} [options] Override http request option.
15649
15651
  * @throws {RequiredError}
15650
15652
  */
15651
- getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxCallLogCollectionModel>>;
15653
+ getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxCallLogCollectionModel>>;
15652
15654
  /**
15653
15655
  * Get 3CX Licence Details
15654
15656
  * @summary Get 3CX Licence Details
@@ -15727,13 +15729,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
15727
15729
  /**
15728
15730
  * Get 3CX call history
15729
15731
  * @param {string} id Instance ID
15730
- * @param {string} trunk Trunk
15731
15732
  * @param {string} [start] Start Date
15732
15733
  * @param {string} [end] End Date
15734
+ * @param {string} [trunk] Trunk
15735
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
15733
15736
  * @param {*} [options] Override http request option.
15734
15737
  * @throws {RequiredError}
15735
15738
  */
15736
- getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxCallLogCollectionModel>;
15739
+ getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxCallLogCollectionModel>;
15737
15740
  /**
15738
15741
  * Get 3CX Licence Details
15739
15742
  * @summary Get 3CX Licence Details
@@ -15812,13 +15815,14 @@ export declare class Class3CXApi extends BaseAPI {
15812
15815
  /**
15813
15816
  * Get 3CX call history
15814
15817
  * @param {string} id Instance ID
15815
- * @param {string} trunk Trunk
15816
15818
  * @param {string} [start] Start Date
15817
15819
  * @param {string} [end] End Date
15820
+ * @param {string} [trunk] Trunk
15821
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
15818
15822
  * @param {*} [options] Override http request option.
15819
15823
  * @throws {RequiredError}
15820
15824
  */
15821
- getGetCallHistory(id: string, trunk: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxCallLogCollectionModel, any, {}, any>>;
15825
+ getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxCallLogCollectionModel, any, {}, any>>;
15822
15826
  /**
15823
15827
  * Get 3CX Licence Details
15824
15828
  * @summary Get 3CX Licence Details
@@ -15884,6 +15888,14 @@ export declare class Class3CXApi extends BaseAPI {
15884
15888
  */
15885
15889
  postGetBulkLicenceDetails(requestBody?: Array<string>, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxBulkLicenceDetailsModel, any, {}, any>>;
15886
15890
  }
15891
+ export declare const GetGetCallHistoryTypeEnum: {
15892
+ readonly Dialing: "dialing";
15893
+ readonly Ended: "ended";
15894
+ readonly Call: "call";
15895
+ readonly Ringing: "ringing";
15896
+ readonly Connected: "connected";
15897
+ };
15898
+ export type GetGetCallHistoryTypeEnum = typeof GetGetCallHistoryTypeEnum[keyof typeof GetGetCallHistoryTypeEnum];
15887
15899
  /**
15888
15900
  * Class3CXInstallationWizardApi - axios parameter creator
15889
15901
  */
package/dist/api.js CHANGED
@@ -18,9 +18,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.RmaSummaryDTOStatusEnum = exports.RmaRequestDTORequestedResolutionEnum = exports.RmaRequestDTOReasonEnum = exports.RmaItemDTOStatusEnum = exports.RmaDTOStatusEnum = exports.RmaDTOResolutionEnum = exports.RmaDTOReasonEnum = exports.RmaCreditItemRequestDTORefundPercentageEnum = exports.ResponseDTOTypeEnum = exports.ResolutionRequestModelResolutionEnum = exports.RequestDTOActionEnum = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ReasonRequestModelReasonEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.OrderDetailsDTOPaymentMethodEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemResolutionRequestModelResolutionEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.BrandedVideoSummaryDTOStatusEnum = exports.BrandedVideoSummaryDTOTypeEnum = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminRmaSummaryDTOStatusEnum = exports.AdminRmaItemDTOResolutionEnum = exports.AdminRmaItemDTOStatusEnum = exports.AdminRmaDTOStatusEnum = exports.AdminRmaDTOResolutionEnum = exports.AdminRmaDTOReasonEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
20
20
  exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetBrandedVideosTypeEnum = exports.BrandedVideosApi = exports.BrandedVideosApiFactory = exports.BrandedVideosApiFp = exports.BrandedVideosApiAxiosParamCreator = 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 = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.TcxCallLogEntityTypeEnum = exports.SupplierProductDTOCategoryEnum = exports.StockReportItemModelCurrencyEnum = exports.StockProductModelCategoryEnum = 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 = void 0;
21
- 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.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.PatchMarkEngineerTaskAsCompleteCompleteEnum = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = void 0;
22
- exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.RMAApi = exports.RMAApiFactory = exports.RMAApiFp = exports.RMAApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = 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 = void 0;
23
- 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 = void 0;
21
+ 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.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.PatchMarkEngineerTaskAsCompleteCompleteEnum = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.GetGetCallHistoryTypeEnum = exports.Class3CXApi = exports.Class3CXApiFactory = void 0;
22
+ exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.RMAApi = exports.RMAApiFactory = exports.RMAApiFp = exports.RMAApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = 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 = void 0;
23
+ 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 = void 0;
24
24
  const axios_1 = __importDefault(require("axios"));
25
25
  // Some imports not used depending on template conditions
26
26
  // @ts-ignore
@@ -9129,17 +9129,16 @@ const Class3CXApiAxiosParamCreator = function (configuration) {
9129
9129
  /**
9130
9130
  * Get 3CX call history
9131
9131
  * @param {string} id Instance ID
9132
- * @param {string} trunk Trunk
9133
9132
  * @param {string} [start] Start Date
9134
9133
  * @param {string} [end] End Date
9134
+ * @param {string} [trunk] Trunk
9135
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
9135
9136
  * @param {*} [options] Override http request option.
9136
9137
  * @throws {RequiredError}
9137
9138
  */
9138
- getGetCallHistory: async (id, trunk, start, end, options = {}) => {
9139
+ getGetCallHistory: async (id, start, end, trunk, type, options = {}) => {
9139
9140
  // verify required parameter 'id' is not null or undefined
9140
9141
  (0, common_1.assertParamExists)('getGetCallHistory', 'id', id);
9141
- // verify required parameter 'trunk' is not null or undefined
9142
- (0, common_1.assertParamExists)('getGetCallHistory', 'trunk', trunk);
9143
9142
  const localVarPath = `/tcx/cc/instance/{id}/calls`
9144
9143
  .replace('{id}', encodeURIComponent(String(id)));
9145
9144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9164,6 +9163,9 @@ const Class3CXApiAxiosParamCreator = function (configuration) {
9164
9163
  if (trunk !== undefined) {
9165
9164
  localVarQueryParameter['trunk'] = trunk;
9166
9165
  }
9166
+ if (type !== undefined) {
9167
+ localVarQueryParameter['type'] = type;
9168
+ }
9167
9169
  localVarHeaderParameter['Accept'] = 'application/json';
9168
9170
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9169
9171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -9442,14 +9444,15 @@ const Class3CXApiFp = function (configuration) {
9442
9444
  /**
9443
9445
  * Get 3CX call history
9444
9446
  * @param {string} id Instance ID
9445
- * @param {string} trunk Trunk
9446
9447
  * @param {string} [start] Start Date
9447
9448
  * @param {string} [end] End Date
9449
+ * @param {string} [trunk] Trunk
9450
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
9448
9451
  * @param {*} [options] Override http request option.
9449
9452
  * @throws {RequiredError}
9450
9453
  */
9451
- async getGetCallHistory(id, trunk, start, end, options) {
9452
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCallHistory(id, trunk, start, end, options);
9454
+ async getGetCallHistory(id, start, end, trunk, type, options) {
9455
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCallHistory(id, start, end, trunk, type, options);
9453
9456
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9454
9457
  const localVarOperationServerBasePath = base_1.operationServerMap['Class3CXApi.getGetCallHistory']?.[localVarOperationServerIndex]?.url;
9455
9458
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9583,14 +9586,15 @@ const Class3CXApiFactory = function (configuration, basePath, axios) {
9583
9586
  /**
9584
9587
  * Get 3CX call history
9585
9588
  * @param {string} id Instance ID
9586
- * @param {string} trunk Trunk
9587
9589
  * @param {string} [start] Start Date
9588
9590
  * @param {string} [end] End Date
9591
+ * @param {string} [trunk] Trunk
9592
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
9589
9593
  * @param {*} [options] Override http request option.
9590
9594
  * @throws {RequiredError}
9591
9595
  */
9592
- getGetCallHistory(id, trunk, start, end, options) {
9593
- return localVarFp.getGetCallHistory(id, trunk, start, end, options).then((request) => request(axios, basePath));
9596
+ getGetCallHistory(id, start, end, trunk, type, options) {
9597
+ return localVarFp.getGetCallHistory(id, start, end, trunk, type, options).then((request) => request(axios, basePath));
9594
9598
  },
9595
9599
  /**
9596
9600
  * Get 3CX Licence Details
@@ -9692,14 +9696,15 @@ class Class3CXApi extends base_1.BaseAPI {
9692
9696
  /**
9693
9697
  * Get 3CX call history
9694
9698
  * @param {string} id Instance ID
9695
- * @param {string} trunk Trunk
9696
9699
  * @param {string} [start] Start Date
9697
9700
  * @param {string} [end] End Date
9701
+ * @param {string} [trunk] Trunk
9702
+ * @param {GetGetCallHistoryTypeEnum} [type] Type
9698
9703
  * @param {*} [options] Override http request option.
9699
9704
  * @throws {RequiredError}
9700
9705
  */
9701
- getGetCallHistory(id, trunk, start, end, options) {
9702
- return (0, exports.Class3CXApiFp)(this.configuration).getGetCallHistory(id, trunk, start, end, options).then((request) => request(this.axios, this.basePath));
9706
+ getGetCallHistory(id, start, end, trunk, type, options) {
9707
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetCallHistory(id, start, end, trunk, type, options).then((request) => request(this.axios, this.basePath));
9703
9708
  }
9704
9709
  /**
9705
9710
  * Get 3CX Licence Details
@@ -9785,6 +9790,13 @@ class Class3CXApi extends base_1.BaseAPI {
9785
9790
  }
9786
9791
  }
9787
9792
  exports.Class3CXApi = Class3CXApi;
9793
+ exports.GetGetCallHistoryTypeEnum = {
9794
+ Dialing: 'dialing',
9795
+ Ended: 'ended',
9796
+ Call: 'call',
9797
+ Ringing: 'ringing',
9798
+ Connected: 'connected',
9799
+ };
9788
9800
  /**
9789
9801
  * Class3CXInstallationWizardApi - axios parameter creator
9790
9802
  */
@@ -80,15 +80,17 @@ const configuration = new Configuration();
80
80
  const apiInstance = new Class3CXApi(configuration);
81
81
 
82
82
  let id: string; //Instance ID (default to undefined)
83
- let trunk: string; //Trunk (default to undefined)
84
83
  let start: string; //Start Date (optional) (default to undefined)
85
84
  let end: string; //End Date (optional) (default to undefined)
85
+ let trunk: string; //Trunk (optional) (default to undefined)
86
+ let type: 'dialing' | 'ended' | 'call' | 'ringing' | 'connected'; //Type (optional) (default to undefined)
86
87
 
87
88
  const { status, data } = await apiInstance.getGetCallHistory(
88
89
  id,
89
- trunk,
90
90
  start,
91
- end
91
+ end,
92
+ trunk,
93
+ type
92
94
  );
93
95
  ```
94
96
 
@@ -97,9 +99,10 @@ const { status, data } = await apiInstance.getGetCallHistory(
97
99
  |Name | Type | Description | Notes|
98
100
  |------------- | ------------- | ------------- | -------------|
99
101
  | **id** | [**string**] | Instance ID | defaults to undefined|
100
- | **trunk** | [**string**] | Trunk | defaults to undefined|
101
102
  | **start** | [**string**] | Start Date | (optional) defaults to undefined|
102
103
  | **end** | [**string**] | End Date | (optional) defaults to undefined|
104
+ | **trunk** | [**string**] | Trunk | (optional) defaults to undefined|
105
+ | **type** | [**&#39;dialing&#39; | &#39;ended&#39; | &#39;call&#39; | &#39;ringing&#39; | &#39;connected&#39;**]**Array<&#39;dialing&#39; &#124; &#39;ended&#39; &#124; &#39;call&#39; &#124; &#39;ringing&#39; &#124; &#39;connected&#39;>** | Type | (optional) defaults to undefined|
103
106
 
104
107
 
105
108
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.359",
3
+ "version": "3.2.361",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {