yellowgrid-api-ts 3.2.239 → 3.2.240
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 +8 -0
- package/README.md +9 -0
- package/api.ts +292 -0
- package/dist/api.d.ts +243 -0
- package/dist/api.js +143 -4
- package/dist/models/GraphTypeEnum.d.ts +13 -0
- package/dist/models/GraphTypeEnum.js +15 -0
- package/dist/models/ReportEnum.d.ts +53 -0
- package/dist/models/ReportEnum.js +55 -0
- package/docs/AxisDataDTO.md +25 -0
- package/docs/GraphDTO.md +33 -0
- package/docs/PostGenerateReport200Response.md +36 -0
- package/docs/ReportRequestDTO.md +37 -0
- package/docs/ReportsApi.md +55 -0
- package/docs/SeriesDTO.md +27 -0
- package/docs/TableDTO.md +25 -0
- package/docs/TableDataDTO.md +21 -0
- package/docs/TableRowDTO.md +21 -0
- package/models/GraphTypeEnum.ts +14 -0
- package/models/ReportEnum.ts +54 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1020,6 +1020,30 @@ export interface AuthCodeResponseModel {
|
|
|
1020
1020
|
*/
|
|
1021
1021
|
'redirect_uri'?: string | null;
|
|
1022
1022
|
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Graph Axis Data
|
|
1025
|
+
*/
|
|
1026
|
+
export interface AxisDataDTO {
|
|
1027
|
+
/**
|
|
1028
|
+
* Type
|
|
1029
|
+
*/
|
|
1030
|
+
'type'?: AxisDataDTOTypeEnum;
|
|
1031
|
+
/**
|
|
1032
|
+
* Data
|
|
1033
|
+
*/
|
|
1034
|
+
'data'?: Array<string> | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* Name
|
|
1037
|
+
*/
|
|
1038
|
+
'name'?: string | null;
|
|
1039
|
+
}
|
|
1040
|
+
export declare const AxisDataDTOTypeEnum: {
|
|
1041
|
+
readonly Value: "value";
|
|
1042
|
+
readonly Category: "category";
|
|
1043
|
+
readonly Time: "time";
|
|
1044
|
+
readonly Log: "log";
|
|
1045
|
+
};
|
|
1046
|
+
export type AxisDataDTOTypeEnum = typeof AxisDataDTOTypeEnum[keyof typeof AxisDataDTOTypeEnum];
|
|
1023
1047
|
/**
|
|
1024
1048
|
* Basic Order Item
|
|
1025
1049
|
*/
|
|
@@ -2600,6 +2624,73 @@ export interface GetGetPrice200Response {
|
|
|
2600
2624
|
export interface GetGetRecording200Response {
|
|
2601
2625
|
'recordingData'?: string;
|
|
2602
2626
|
}
|
|
2627
|
+
/**
|
|
2628
|
+
* Graph
|
|
2629
|
+
*/
|
|
2630
|
+
export interface GraphDTO {
|
|
2631
|
+
/**
|
|
2632
|
+
* Title
|
|
2633
|
+
*/
|
|
2634
|
+
'title'?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* X Axis
|
|
2637
|
+
*/
|
|
2638
|
+
'xAxis'?: Array<AxisDataDTO>;
|
|
2639
|
+
/**
|
|
2640
|
+
* Y Axis
|
|
2641
|
+
*/
|
|
2642
|
+
'yAxis'?: Array<AxisDataDTO>;
|
|
2643
|
+
/**
|
|
2644
|
+
* Legend
|
|
2645
|
+
*/
|
|
2646
|
+
'legend'?: Array<string>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Series
|
|
2649
|
+
*/
|
|
2650
|
+
'series'?: Array<SeriesDTO>;
|
|
2651
|
+
/**
|
|
2652
|
+
* Currency
|
|
2653
|
+
*/
|
|
2654
|
+
'currency'?: GraphDTOCurrencyEnum | null;
|
|
2655
|
+
/**
|
|
2656
|
+
* Locale
|
|
2657
|
+
*/
|
|
2658
|
+
'locale'?: string;
|
|
2659
|
+
}
|
|
2660
|
+
export declare const GraphDTOCurrencyEnum: {
|
|
2661
|
+
readonly Eur: "EUR";
|
|
2662
|
+
readonly Usd: "USD";
|
|
2663
|
+
readonly Jpy: "JPY";
|
|
2664
|
+
readonly Bgn: "BGN";
|
|
2665
|
+
readonly Czk: "CZK";
|
|
2666
|
+
readonly Dkk: "DKK";
|
|
2667
|
+
readonly Gbp: "GBP";
|
|
2668
|
+
readonly Huf: "HUF";
|
|
2669
|
+
readonly Pln: "PLN";
|
|
2670
|
+
readonly Ron: "RON";
|
|
2671
|
+
readonly Sek: "SEK";
|
|
2672
|
+
readonly Chf: "CHF";
|
|
2673
|
+
readonly Isk: "ISK";
|
|
2674
|
+
readonly Nok: "NOK";
|
|
2675
|
+
readonly Try: "TRY";
|
|
2676
|
+
readonly Aud: "AUD";
|
|
2677
|
+
readonly Brl: "BRL";
|
|
2678
|
+
readonly Cad: "CAD";
|
|
2679
|
+
readonly Cny: "CNY";
|
|
2680
|
+
readonly Hkd: "HKD";
|
|
2681
|
+
readonly Idr: "IDR";
|
|
2682
|
+
readonly Ils: "ILS";
|
|
2683
|
+
readonly Inr: "INR";
|
|
2684
|
+
readonly Krw: "KRW";
|
|
2685
|
+
readonly Mxn: "MXN";
|
|
2686
|
+
readonly Myr: "MYR";
|
|
2687
|
+
readonly Nzd: "NZD";
|
|
2688
|
+
readonly Php: "PHP";
|
|
2689
|
+
readonly Sgd: "SGD";
|
|
2690
|
+
readonly Thb: "THB";
|
|
2691
|
+
readonly Zar: "ZAR";
|
|
2692
|
+
};
|
|
2693
|
+
export type GraphDTOCurrencyEnum = typeof GraphDTOCurrencyEnum[keyof typeof GraphDTOCurrencyEnum];
|
|
2603
2694
|
/**
|
|
2604
2695
|
* Change Response
|
|
2605
2696
|
*/
|
|
@@ -4706,6 +4797,10 @@ export interface PostAddOrderNoteRequest {
|
|
|
4706
4797
|
export interface PostAddWebhook200Response {
|
|
4707
4798
|
'url'?: string;
|
|
4708
4799
|
}
|
|
4800
|
+
/**
|
|
4801
|
+
* @type PostGenerateReport200Response
|
|
4802
|
+
*/
|
|
4803
|
+
export type PostGenerateReport200Response = GraphDTO | TableDTO;
|
|
4709
4804
|
export interface PostGetClientCredentialsRequest {
|
|
4710
4805
|
/**
|
|
4711
4806
|
* OAuth 2.0 scopes
|
|
@@ -5290,6 +5385,65 @@ export interface RemoteStorageDTO {
|
|
|
5290
5385
|
*/
|
|
5291
5386
|
'region'?: string;
|
|
5292
5387
|
}
|
|
5388
|
+
/**
|
|
5389
|
+
* Report Request
|
|
5390
|
+
*/
|
|
5391
|
+
export interface ReportRequestDTO {
|
|
5392
|
+
/**
|
|
5393
|
+
* Report
|
|
5394
|
+
*/
|
|
5395
|
+
'report'?: ReportRequestDTOReportEnum;
|
|
5396
|
+
/**
|
|
5397
|
+
* Start
|
|
5398
|
+
*/
|
|
5399
|
+
'start'?: string | null;
|
|
5400
|
+
/**
|
|
5401
|
+
* End
|
|
5402
|
+
*/
|
|
5403
|
+
'end'?: string | null;
|
|
5404
|
+
/**
|
|
5405
|
+
* Month
|
|
5406
|
+
*/
|
|
5407
|
+
'month'?: number | null;
|
|
5408
|
+
/**
|
|
5409
|
+
* Year
|
|
5410
|
+
*/
|
|
5411
|
+
'year'?: number | null;
|
|
5412
|
+
/**
|
|
5413
|
+
* SKU
|
|
5414
|
+
*/
|
|
5415
|
+
'sku'?: string | null;
|
|
5416
|
+
/**
|
|
5417
|
+
* Price
|
|
5418
|
+
*/
|
|
5419
|
+
'price'?: number | null;
|
|
5420
|
+
/**
|
|
5421
|
+
* Recipients
|
|
5422
|
+
*/
|
|
5423
|
+
'recipients'?: Array<string> | null;
|
|
5424
|
+
/**
|
|
5425
|
+
* Graph Type
|
|
5426
|
+
*/
|
|
5427
|
+
'graphType'?: ReportRequestDTOGraphTypeEnum | null;
|
|
5428
|
+
}
|
|
5429
|
+
export declare const ReportRequestDTOReportEnum: {
|
|
5430
|
+
readonly _1: "1";
|
|
5431
|
+
readonly _2: "2";
|
|
5432
|
+
readonly _3: "3";
|
|
5433
|
+
readonly _4: "4";
|
|
5434
|
+
readonly _5: "5";
|
|
5435
|
+
readonly _6: "6";
|
|
5436
|
+
readonly _7: "7";
|
|
5437
|
+
readonly _8: "8";
|
|
5438
|
+
readonly _9: "9";
|
|
5439
|
+
readonly _10: "10";
|
|
5440
|
+
};
|
|
5441
|
+
export type ReportRequestDTOReportEnum = typeof ReportRequestDTOReportEnum[keyof typeof ReportRequestDTOReportEnum];
|
|
5442
|
+
export declare const ReportRequestDTOGraphTypeEnum: {
|
|
5443
|
+
readonly StackedArea: "stacked-area";
|
|
5444
|
+
readonly Table: "table";
|
|
5445
|
+
};
|
|
5446
|
+
export type ReportRequestDTOGraphTypeEnum = typeof ReportRequestDTOGraphTypeEnum[keyof typeof ReportRequestDTOGraphTypeEnum];
|
|
5293
5447
|
/**
|
|
5294
5448
|
* Resource Not Ready
|
|
5295
5449
|
*/
|
|
@@ -5420,6 +5574,31 @@ export interface ScopeModel {
|
|
|
5420
5574
|
*/
|
|
5421
5575
|
'description'?: string;
|
|
5422
5576
|
}
|
|
5577
|
+
/**
|
|
5578
|
+
* Graph Series Data
|
|
5579
|
+
*/
|
|
5580
|
+
export interface SeriesDTO {
|
|
5581
|
+
/**
|
|
5582
|
+
* Name
|
|
5583
|
+
*/
|
|
5584
|
+
'name'?: string;
|
|
5585
|
+
/**
|
|
5586
|
+
* Type
|
|
5587
|
+
*/
|
|
5588
|
+
'type'?: SeriesDTOTypeEnum;
|
|
5589
|
+
/**
|
|
5590
|
+
* Stack
|
|
5591
|
+
*/
|
|
5592
|
+
'stack'?: string | null;
|
|
5593
|
+
/**
|
|
5594
|
+
* Data
|
|
5595
|
+
*/
|
|
5596
|
+
'data'?: Array<string>;
|
|
5597
|
+
}
|
|
5598
|
+
export declare const SeriesDTOTypeEnum: {
|
|
5599
|
+
readonly Line: "line";
|
|
5600
|
+
};
|
|
5601
|
+
export type SeriesDTOTypeEnum = typeof SeriesDTOTypeEnum[keyof typeof SeriesDTOTypeEnum];
|
|
5423
5602
|
/**
|
|
5424
5603
|
* Service Health DTO
|
|
5425
5604
|
*/
|
|
@@ -7242,6 +7421,29 @@ export interface SupportTicketModel {
|
|
|
7242
7421
|
*/
|
|
7243
7422
|
'conversations'?: Array<ConversationModel>;
|
|
7244
7423
|
}
|
|
7424
|
+
/**
|
|
7425
|
+
* Table
|
|
7426
|
+
*/
|
|
7427
|
+
export interface TableDTO {
|
|
7428
|
+
/**
|
|
7429
|
+
* Title
|
|
7430
|
+
*/
|
|
7431
|
+
'title'?: string;
|
|
7432
|
+
'headers'?: TableRowDTO;
|
|
7433
|
+
/**
|
|
7434
|
+
* Rows
|
|
7435
|
+
*/
|
|
7436
|
+
'rows'?: Array<TableRowDTO>;
|
|
7437
|
+
}
|
|
7438
|
+
/**
|
|
7439
|
+
* Table Data
|
|
7440
|
+
*/
|
|
7441
|
+
export interface TableDataDTO {
|
|
7442
|
+
/**
|
|
7443
|
+
* Value
|
|
7444
|
+
*/
|
|
7445
|
+
'value'?: string;
|
|
7446
|
+
}
|
|
7245
7447
|
/**
|
|
7246
7448
|
* TableAttribsEntity
|
|
7247
7449
|
*/
|
|
@@ -7279,6 +7481,15 @@ export interface TableHistoryEntity {
|
|
|
7279
7481
|
*/
|
|
7280
7482
|
'page'?: number;
|
|
7281
7483
|
}
|
|
7484
|
+
/**
|
|
7485
|
+
* Table Row
|
|
7486
|
+
*/
|
|
7487
|
+
export interface TableRowDTO {
|
|
7488
|
+
/**
|
|
7489
|
+
* Table Data
|
|
7490
|
+
*/
|
|
7491
|
+
'data'?: Array<TableDataDTO>;
|
|
7492
|
+
}
|
|
7282
7493
|
/**
|
|
7283
7494
|
* 3CX Wizard Restore From Backup
|
|
7284
7495
|
*/
|
|
@@ -16440,6 +16651,14 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
16440
16651
|
* @throws {RequiredError}
|
|
16441
16652
|
*/
|
|
16442
16653
|
getGetStockReport: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16654
|
+
/**
|
|
16655
|
+
* Generate Reports
|
|
16656
|
+
* @summary Generate Reports
|
|
16657
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
16658
|
+
* @param {*} [options] Override http request option.
|
|
16659
|
+
* @throws {RequiredError}
|
|
16660
|
+
*/
|
|
16661
|
+
postGenerateReport: (reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16443
16662
|
};
|
|
16444
16663
|
/**
|
|
16445
16664
|
* ReportsApi - functional programming interface
|
|
@@ -16451,6 +16670,14 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
16451
16670
|
* @throws {RequiredError}
|
|
16452
16671
|
*/
|
|
16453
16672
|
getGetStockReport(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockReportModel>>;
|
|
16673
|
+
/**
|
|
16674
|
+
* Generate Reports
|
|
16675
|
+
* @summary Generate Reports
|
|
16676
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
16677
|
+
* @param {*} [options] Override http request option.
|
|
16678
|
+
* @throws {RequiredError}
|
|
16679
|
+
*/
|
|
16680
|
+
postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostGenerateReport200Response>>;
|
|
16454
16681
|
};
|
|
16455
16682
|
/**
|
|
16456
16683
|
* ReportsApi - factory interface
|
|
@@ -16462,6 +16689,14 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
|
16462
16689
|
* @throws {RequiredError}
|
|
16463
16690
|
*/
|
|
16464
16691
|
getGetStockReport(options?: RawAxiosRequestConfig): AxiosPromise<StockReportModel>;
|
|
16692
|
+
/**
|
|
16693
|
+
* Generate Reports
|
|
16694
|
+
* @summary Generate Reports
|
|
16695
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
16696
|
+
* @param {*} [options] Override http request option.
|
|
16697
|
+
* @throws {RequiredError}
|
|
16698
|
+
*/
|
|
16699
|
+
postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<PostGenerateReport200Response>;
|
|
16465
16700
|
};
|
|
16466
16701
|
/**
|
|
16467
16702
|
* ReportsApi - object-oriented interface
|
|
@@ -16473,6 +16708,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
|
16473
16708
|
* @throws {RequiredError}
|
|
16474
16709
|
*/
|
|
16475
16710
|
getGetStockReport(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockReportModel, any, {}>>;
|
|
16711
|
+
/**
|
|
16712
|
+
* Generate Reports
|
|
16713
|
+
* @summary Generate Reports
|
|
16714
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
16715
|
+
* @param {*} [options] Override http request option.
|
|
16716
|
+
* @throws {RequiredError}
|
|
16717
|
+
*/
|
|
16718
|
+
postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostGenerateReport200Response, any, {}>>;
|
|
16476
16719
|
}
|
|
16477
16720
|
/**
|
|
16478
16721
|
* SIPTrunksApi - axios parameter creator
|
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 = void 0;
|
|
87
|
+
exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = 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.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ProspectDTOStatusEnum = 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.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
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.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.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = void 0;
|
|
89
|
+
exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = 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 = 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 = void 0;
|
|
91
91
|
var axios_1 = require("axios");
|
|
92
92
|
// Some imports not used depending on template conditions
|
|
93
93
|
// @ts-ignore
|
|
@@ -202,6 +202,12 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
202
202
|
Oauth2Clients: 'oauth2_clients',
|
|
203
203
|
Oauth2Tokens: 'oauth2_tokens',
|
|
204
204
|
};
|
|
205
|
+
exports.AxisDataDTOTypeEnum = {
|
|
206
|
+
Value: 'value',
|
|
207
|
+
Category: 'category',
|
|
208
|
+
Time: 'time',
|
|
209
|
+
Log: 'log',
|
|
210
|
+
};
|
|
205
211
|
exports.DivertResponseModelStatusEnum = {
|
|
206
212
|
Enabled: 'enabled',
|
|
207
213
|
Disabled: 'disabled',
|
|
@@ -211,6 +217,39 @@ exports.EventDTOStatusEnum = {
|
|
|
211
217
|
NUMBER_1: 1,
|
|
212
218
|
NUMBER_2: 2,
|
|
213
219
|
};
|
|
220
|
+
exports.GraphDTOCurrencyEnum = {
|
|
221
|
+
Eur: 'EUR',
|
|
222
|
+
Usd: 'USD',
|
|
223
|
+
Jpy: 'JPY',
|
|
224
|
+
Bgn: 'BGN',
|
|
225
|
+
Czk: 'CZK',
|
|
226
|
+
Dkk: 'DKK',
|
|
227
|
+
Gbp: 'GBP',
|
|
228
|
+
Huf: 'HUF',
|
|
229
|
+
Pln: 'PLN',
|
|
230
|
+
Ron: 'RON',
|
|
231
|
+
Sek: 'SEK',
|
|
232
|
+
Chf: 'CHF',
|
|
233
|
+
Isk: 'ISK',
|
|
234
|
+
Nok: 'NOK',
|
|
235
|
+
Try: 'TRY',
|
|
236
|
+
Aud: 'AUD',
|
|
237
|
+
Brl: 'BRL',
|
|
238
|
+
Cad: 'CAD',
|
|
239
|
+
Cny: 'CNY',
|
|
240
|
+
Hkd: 'HKD',
|
|
241
|
+
Idr: 'IDR',
|
|
242
|
+
Ils: 'ILS',
|
|
243
|
+
Inr: 'INR',
|
|
244
|
+
Krw: 'KRW',
|
|
245
|
+
Mxn: 'MXN',
|
|
246
|
+
Myr: 'MYR',
|
|
247
|
+
Nzd: 'NZD',
|
|
248
|
+
Php: 'PHP',
|
|
249
|
+
Sgd: 'SGD',
|
|
250
|
+
Thb: 'THB',
|
|
251
|
+
Zar: 'ZAR',
|
|
252
|
+
};
|
|
214
253
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
215
254
|
NewInstance: 'New Instance',
|
|
216
255
|
BuildingInstance: 'Building Instance',
|
|
@@ -318,6 +357,25 @@ exports.ProspectDTOStatusEnum = {
|
|
|
318
357
|
NoActionRequired: 'No Action Required',
|
|
319
358
|
DoNotCall: 'Do Not Call',
|
|
320
359
|
};
|
|
360
|
+
exports.ReportRequestDTOReportEnum = {
|
|
361
|
+
_1: '1',
|
|
362
|
+
_2: '2',
|
|
363
|
+
_3: '3',
|
|
364
|
+
_4: '4',
|
|
365
|
+
_5: '5',
|
|
366
|
+
_6: '6',
|
|
367
|
+
_7: '7',
|
|
368
|
+
_8: '8',
|
|
369
|
+
_9: '9',
|
|
370
|
+
_10: '10',
|
|
371
|
+
};
|
|
372
|
+
exports.ReportRequestDTOGraphTypeEnum = {
|
|
373
|
+
StackedArea: 'stacked-area',
|
|
374
|
+
Table: 'table',
|
|
375
|
+
};
|
|
376
|
+
exports.SeriesDTOTypeEnum = {
|
|
377
|
+
Line: 'line',
|
|
378
|
+
};
|
|
321
379
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
322
380
|
NUMBER_0: 0,
|
|
323
381
|
NUMBER_1: 1,
|
|
@@ -19096,6 +19154,43 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
19096
19154
|
});
|
|
19097
19155
|
});
|
|
19098
19156
|
},
|
|
19157
|
+
/**
|
|
19158
|
+
* Generate Reports
|
|
19159
|
+
* @summary Generate Reports
|
|
19160
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
19161
|
+
* @param {*} [options] Override http request option.
|
|
19162
|
+
* @throws {RequiredError}
|
|
19163
|
+
*/
|
|
19164
|
+
postGenerateReport: function (reportRequestDTO_1) {
|
|
19165
|
+
var args_1 = [];
|
|
19166
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
19167
|
+
args_1[_i - 1] = arguments[_i];
|
|
19168
|
+
}
|
|
19169
|
+
return __awaiter(_this, __spreadArray([reportRequestDTO_1], args_1, true), void 0, function (reportRequestDTO, options) {
|
|
19170
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
19171
|
+
if (options === void 0) { options = {}; }
|
|
19172
|
+
return __generator(this, function (_a) {
|
|
19173
|
+
localVarPath = "/reports";
|
|
19174
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19175
|
+
if (configuration) {
|
|
19176
|
+
baseOptions = configuration.baseOptions;
|
|
19177
|
+
}
|
|
19178
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
19179
|
+
localVarHeaderParameter = {};
|
|
19180
|
+
localVarQueryParameter = {};
|
|
19181
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19182
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
19183
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19184
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19185
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19186
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reportRequestDTO, localVarRequestOptions, configuration);
|
|
19187
|
+
return [2 /*return*/, {
|
|
19188
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
19189
|
+
options: localVarRequestOptions,
|
|
19190
|
+
}];
|
|
19191
|
+
});
|
|
19192
|
+
});
|
|
19193
|
+
},
|
|
19099
19194
|
};
|
|
19100
19195
|
};
|
|
19101
19196
|
exports.ReportsApiAxiosParamCreator = ReportsApiAxiosParamCreator;
|
|
@@ -19126,6 +19221,29 @@ var ReportsApiFp = function (configuration) {
|
|
|
19126
19221
|
});
|
|
19127
19222
|
});
|
|
19128
19223
|
},
|
|
19224
|
+
/**
|
|
19225
|
+
* Generate Reports
|
|
19226
|
+
* @summary Generate Reports
|
|
19227
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
19228
|
+
* @param {*} [options] Override http request option.
|
|
19229
|
+
* @throws {RequiredError}
|
|
19230
|
+
*/
|
|
19231
|
+
postGenerateReport: function (reportRequestDTO, options) {
|
|
19232
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19233
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
19234
|
+
var _a, _b, _c;
|
|
19235
|
+
return __generator(this, function (_d) {
|
|
19236
|
+
switch (_d.label) {
|
|
19237
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGenerateReport(reportRequestDTO, options)];
|
|
19238
|
+
case 1:
|
|
19239
|
+
localVarAxiosArgs = _d.sent();
|
|
19240
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19241
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReportsApi.postGenerateReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19242
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
19243
|
+
}
|
|
19244
|
+
});
|
|
19245
|
+
});
|
|
19246
|
+
},
|
|
19129
19247
|
};
|
|
19130
19248
|
};
|
|
19131
19249
|
exports.ReportsApiFp = ReportsApiFp;
|
|
@@ -19143,6 +19261,16 @@ var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
19143
19261
|
getGetStockReport: function (options) {
|
|
19144
19262
|
return localVarFp.getGetStockReport(options).then(function (request) { return request(axios, basePath); });
|
|
19145
19263
|
},
|
|
19264
|
+
/**
|
|
19265
|
+
* Generate Reports
|
|
19266
|
+
* @summary Generate Reports
|
|
19267
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
19268
|
+
* @param {*} [options] Override http request option.
|
|
19269
|
+
* @throws {RequiredError}
|
|
19270
|
+
*/
|
|
19271
|
+
postGenerateReport: function (reportRequestDTO, options) {
|
|
19272
|
+
return localVarFp.postGenerateReport(reportRequestDTO, options).then(function (request) { return request(axios, basePath); });
|
|
19273
|
+
},
|
|
19146
19274
|
};
|
|
19147
19275
|
};
|
|
19148
19276
|
exports.ReportsApiFactory = ReportsApiFactory;
|
|
@@ -19163,6 +19291,17 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
19163
19291
|
var _this = this;
|
|
19164
19292
|
return (0, exports.ReportsApiFp)(this.configuration).getGetStockReport(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19165
19293
|
};
|
|
19294
|
+
/**
|
|
19295
|
+
* Generate Reports
|
|
19296
|
+
* @summary Generate Reports
|
|
19297
|
+
* @param {ReportRequestDTO} [reportRequestDTO] Report Request
|
|
19298
|
+
* @param {*} [options] Override http request option.
|
|
19299
|
+
* @throws {RequiredError}
|
|
19300
|
+
*/
|
|
19301
|
+
ReportsApi.prototype.postGenerateReport = function (reportRequestDTO, options) {
|
|
19302
|
+
var _this = this;
|
|
19303
|
+
return (0, exports.ReportsApiFp)(this.configuration).postGenerateReport(reportRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
19304
|
+
};
|
|
19166
19305
|
return ReportsApi;
|
|
19167
19306
|
}(base_1.BaseAPI));
|
|
19168
19307
|
exports.ReportsApi = ReportsApi;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const GraphTypeEnum: {
|
|
2
|
+
readonly STACKED: {
|
|
3
|
+
readonly name: "STACKED";
|
|
4
|
+
readonly value: "stacked-area";
|
|
5
|
+
readonly publicValue: "Stacked Area";
|
|
6
|
+
};
|
|
7
|
+
readonly TABLE: {
|
|
8
|
+
readonly name: "TABLE";
|
|
9
|
+
readonly value: "table";
|
|
10
|
+
readonly publicValue: "Table";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type GraphTypeEnum = typeof GraphTypeEnum;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GraphTypeEnum = void 0;
|
|
4
|
+
exports.GraphTypeEnum = {
|
|
5
|
+
"STACKED": {
|
|
6
|
+
"name": "STACKED",
|
|
7
|
+
"value": "stacked-area",
|
|
8
|
+
"publicValue": "Stacked Area"
|
|
9
|
+
},
|
|
10
|
+
"TABLE": {
|
|
11
|
+
"name": "TABLE",
|
|
12
|
+
"value": "table",
|
|
13
|
+
"publicValue": "Table"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const ReportEnum: {
|
|
2
|
+
readonly STOCK: {
|
|
3
|
+
readonly name: "STOCK";
|
|
4
|
+
readonly value: 1;
|
|
5
|
+
readonly publicValue: "Stock";
|
|
6
|
+
};
|
|
7
|
+
readonly POS: {
|
|
8
|
+
readonly name: "POS";
|
|
9
|
+
readonly value: 2;
|
|
10
|
+
readonly publicValue: "POS";
|
|
11
|
+
};
|
|
12
|
+
readonly CUSTOMER_SPEND: {
|
|
13
|
+
readonly name: "CUSTOMER_SPEND";
|
|
14
|
+
readonly value: 3;
|
|
15
|
+
readonly publicValue: "Customer Spend";
|
|
16
|
+
};
|
|
17
|
+
readonly MONTHLY_SALES: {
|
|
18
|
+
readonly name: "MONTHLY_SALES";
|
|
19
|
+
readonly value: 4;
|
|
20
|
+
readonly publicValue: "Monthly Sales";
|
|
21
|
+
};
|
|
22
|
+
readonly CUSTOMER_ANNUAL_COMPARISON: {
|
|
23
|
+
readonly name: "CUSTOMER_ANNUAL_COMPARISON";
|
|
24
|
+
readonly value: 5;
|
|
25
|
+
readonly publicValue: "Customer Annual Comparison";
|
|
26
|
+
};
|
|
27
|
+
readonly LOW_STOCK: {
|
|
28
|
+
readonly name: "LOW_STOCK";
|
|
29
|
+
readonly value: 6;
|
|
30
|
+
readonly publicValue: "Low Stock";
|
|
31
|
+
};
|
|
32
|
+
readonly LEAGUE_TABLE: {
|
|
33
|
+
readonly name: "LEAGUE_TABLE";
|
|
34
|
+
readonly value: 7;
|
|
35
|
+
readonly publicValue: "League Table";
|
|
36
|
+
};
|
|
37
|
+
readonly REVENUE: {
|
|
38
|
+
readonly name: "REVENUE";
|
|
39
|
+
readonly value: 8;
|
|
40
|
+
readonly publicValue: "Revenue";
|
|
41
|
+
};
|
|
42
|
+
readonly EXPENDITURE: {
|
|
43
|
+
readonly name: "EXPENDITURE";
|
|
44
|
+
readonly value: 9;
|
|
45
|
+
readonly publicValue: "Expenditure";
|
|
46
|
+
};
|
|
47
|
+
readonly TECH_SUPPORT_CUSTOMERS: {
|
|
48
|
+
readonly name: "TECH_SUPPORT_CUSTOMERS";
|
|
49
|
+
readonly value: 10;
|
|
50
|
+
readonly publicValue: "Tech Support Customers";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type ReportEnum = typeof ReportEnum;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReportEnum = void 0;
|
|
4
|
+
exports.ReportEnum = {
|
|
5
|
+
"STOCK": {
|
|
6
|
+
"name": "STOCK",
|
|
7
|
+
"value": 1,
|
|
8
|
+
"publicValue": "Stock"
|
|
9
|
+
},
|
|
10
|
+
"POS": {
|
|
11
|
+
"name": "POS",
|
|
12
|
+
"value": 2,
|
|
13
|
+
"publicValue": "POS"
|
|
14
|
+
},
|
|
15
|
+
"CUSTOMER_SPEND": {
|
|
16
|
+
"name": "CUSTOMER_SPEND",
|
|
17
|
+
"value": 3,
|
|
18
|
+
"publicValue": "Customer Spend"
|
|
19
|
+
},
|
|
20
|
+
"MONTHLY_SALES": {
|
|
21
|
+
"name": "MONTHLY_SALES",
|
|
22
|
+
"value": 4,
|
|
23
|
+
"publicValue": "Monthly Sales"
|
|
24
|
+
},
|
|
25
|
+
"CUSTOMER_ANNUAL_COMPARISON": {
|
|
26
|
+
"name": "CUSTOMER_ANNUAL_COMPARISON",
|
|
27
|
+
"value": 5,
|
|
28
|
+
"publicValue": "Customer Annual Comparison"
|
|
29
|
+
},
|
|
30
|
+
"LOW_STOCK": {
|
|
31
|
+
"name": "LOW_STOCK",
|
|
32
|
+
"value": 6,
|
|
33
|
+
"publicValue": "Low Stock"
|
|
34
|
+
},
|
|
35
|
+
"LEAGUE_TABLE": {
|
|
36
|
+
"name": "LEAGUE_TABLE",
|
|
37
|
+
"value": 7,
|
|
38
|
+
"publicValue": "League Table"
|
|
39
|
+
},
|
|
40
|
+
"REVENUE": {
|
|
41
|
+
"name": "REVENUE",
|
|
42
|
+
"value": 8,
|
|
43
|
+
"publicValue": "Revenue"
|
|
44
|
+
},
|
|
45
|
+
"EXPENDITURE": {
|
|
46
|
+
"name": "EXPENDITURE",
|
|
47
|
+
"value": 9,
|
|
48
|
+
"publicValue": "Expenditure"
|
|
49
|
+
},
|
|
50
|
+
"TECH_SUPPORT_CUSTOMERS": {
|
|
51
|
+
"name": "TECH_SUPPORT_CUSTOMERS",
|
|
52
|
+
"value": 10,
|
|
53
|
+
"publicValue": "Tech Support Customers"
|
|
54
|
+
}
|
|
55
|
+
};
|