@munchi_oy/core 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +2557 -16
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +4813 -913
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -434,6 +434,56 @@ export interface AnalyticsDashboardCardDto {
|
|
|
434
434
|
*/
|
|
435
435
|
'id': string;
|
|
436
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @export
|
|
440
|
+
* @interface AnalyticsDashboardFiltersDto
|
|
441
|
+
*/
|
|
442
|
+
export interface AnalyticsDashboardFiltersDto {
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
446
|
+
* @memberof AnalyticsDashboardFiltersDto
|
|
447
|
+
*/
|
|
448
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
449
|
+
/**
|
|
450
|
+
* The apps it counts; an empty list counts every app
|
|
451
|
+
* @type {Array<ReportApp>}
|
|
452
|
+
* @memberof AnalyticsDashboardFiltersDto
|
|
453
|
+
*/
|
|
454
|
+
'channels': Array<ReportApp>;
|
|
455
|
+
/**
|
|
456
|
+
* The stores it counts, by orderingBusinessId, at most 200: the dashboard\'s own store, or stores of its organisation. Absent or empty: the dashboard\'s own store, or every store of its organisation.
|
|
457
|
+
* @type {Array<number>}
|
|
458
|
+
* @memberof AnalyticsDashboardFiltersDto
|
|
459
|
+
*/
|
|
460
|
+
'stores'?: Array<number>;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* The period it reads
|
|
464
|
+
* @export
|
|
465
|
+
* @interface AnalyticsDashboardFiltersDtoPeriod
|
|
466
|
+
*/
|
|
467
|
+
export interface AnalyticsDashboardFiltersDtoPeriod {
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @type {PeriodPreset}
|
|
471
|
+
* @memberof AnalyticsDashboardFiltersDtoPeriod
|
|
472
|
+
*/
|
|
473
|
+
'preset': PeriodPreset;
|
|
474
|
+
/**
|
|
475
|
+
* The first day of a custom period, YYYY-MM-DD in the store\'s zone; only with custom (or CUSTOM), refused with any other
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof AnalyticsDashboardFiltersDtoPeriod
|
|
478
|
+
*/
|
|
479
|
+
'startDay'?: string;
|
|
480
|
+
/**
|
|
481
|
+
* The last day of a custom period, inclusive, YYYY-MM-DD, startDay or later; only with custom (or CUSTOM), refused with any other
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof AnalyticsDashboardFiltersDtoPeriod
|
|
484
|
+
*/
|
|
485
|
+
'endDay'?: string;
|
|
486
|
+
}
|
|
437
487
|
/**
|
|
438
488
|
*
|
|
439
489
|
* @export
|
|
@@ -471,6 +521,12 @@ export interface AnalyticsDashboardResponseDto {
|
|
|
471
521
|
* @memberof AnalyticsDashboardResponseDto
|
|
472
522
|
*/
|
|
473
523
|
'goals': AnalyticsDashboardResponseDtoGoals;
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @type {AnalyticsDashboardResponseDtoFilters}
|
|
527
|
+
* @memberof AnalyticsDashboardResponseDto
|
|
528
|
+
*/
|
|
529
|
+
'filters'?: AnalyticsDashboardResponseDtoFilters;
|
|
474
530
|
/**
|
|
475
531
|
* When the dashboard was last saved, ISO 8601 in UTC
|
|
476
532
|
* @type {string}
|
|
@@ -490,6 +546,31 @@ export interface AnalyticsDashboardResponseDto {
|
|
|
490
546
|
*/
|
|
491
547
|
'updatedBy': string;
|
|
492
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* The period, apps and stores the dashboard reads; absent when no save has set them yet
|
|
551
|
+
* @export
|
|
552
|
+
* @interface AnalyticsDashboardResponseDtoFilters
|
|
553
|
+
*/
|
|
554
|
+
export interface AnalyticsDashboardResponseDtoFilters {
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
558
|
+
* @memberof AnalyticsDashboardResponseDtoFilters
|
|
559
|
+
*/
|
|
560
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
561
|
+
/**
|
|
562
|
+
* The apps it counts; an empty list counts every app
|
|
563
|
+
* @type {Array<ReportApp>}
|
|
564
|
+
* @memberof AnalyticsDashboardResponseDtoFilters
|
|
565
|
+
*/
|
|
566
|
+
'channels': Array<ReportApp>;
|
|
567
|
+
/**
|
|
568
|
+
* The stores it counts, by orderingBusinessId, at most 200: the dashboard\'s own store, or stores of its organisation. Absent or empty: the dashboard\'s own store, or every store of its organisation.
|
|
569
|
+
* @type {Array<number>}
|
|
570
|
+
* @memberof AnalyticsDashboardResponseDtoFilters
|
|
571
|
+
*/
|
|
572
|
+
'stores'?: Array<number>;
|
|
573
|
+
}
|
|
493
574
|
/**
|
|
494
575
|
* The sales goals, in the minor unit of the store\'s currency; a goal not set is absent
|
|
495
576
|
* @export
|
|
@@ -4841,6 +4922,43 @@ export interface CreateReservationDto {
|
|
|
4841
4922
|
*/
|
|
4842
4923
|
'tableIds'?: Array<string>;
|
|
4843
4924
|
}
|
|
4925
|
+
/**
|
|
4926
|
+
*
|
|
4927
|
+
* @export
|
|
4928
|
+
* @interface CreateSavedReportDto
|
|
4929
|
+
*/
|
|
4930
|
+
export interface CreateSavedReportDto {
|
|
4931
|
+
/**
|
|
4932
|
+
*
|
|
4933
|
+
* @type {SavedReportKind}
|
|
4934
|
+
* @memberof CreateSavedReportDto
|
|
4935
|
+
*/
|
|
4936
|
+
'kind': SavedReportKind;
|
|
4937
|
+
/**
|
|
4938
|
+
* The report\'s name, as people wrote it
|
|
4939
|
+
* @type {string}
|
|
4940
|
+
* @memberof CreateSavedReportDto
|
|
4941
|
+
*/
|
|
4942
|
+
'name': string;
|
|
4943
|
+
/**
|
|
4944
|
+
* The cards in the order they are shown, at most 60; dashboard-one\'s own ids, kept as sent
|
|
4945
|
+
* @type {Array<AnalyticsDashboardCardDto>}
|
|
4946
|
+
* @memberof CreateSavedReportDto
|
|
4947
|
+
*/
|
|
4948
|
+
'cards': Array<AnalyticsDashboardCardDto>;
|
|
4949
|
+
/**
|
|
4950
|
+
*
|
|
4951
|
+
* @type {SavedReportDtoFilters}
|
|
4952
|
+
* @memberof CreateSavedReportDto
|
|
4953
|
+
*/
|
|
4954
|
+
'filters': SavedReportDtoFilters;
|
|
4955
|
+
/**
|
|
4956
|
+
*
|
|
4957
|
+
* @type {SavedReportVisibility}
|
|
4958
|
+
* @memberof CreateSavedReportDto
|
|
4959
|
+
*/
|
|
4960
|
+
'visibility'?: SavedReportVisibility;
|
|
4961
|
+
}
|
|
4844
4962
|
/**
|
|
4845
4963
|
*
|
|
4846
4964
|
* @export
|
|
@@ -6544,6 +6662,19 @@ export interface DisplayInitResponseDto {
|
|
|
6544
6662
|
*/
|
|
6545
6663
|
'ablyTokenRequest': object;
|
|
6546
6664
|
}
|
|
6665
|
+
/**
|
|
6666
|
+
*
|
|
6667
|
+
* @export
|
|
6668
|
+
* @interface DuplicateSavedReportDto
|
|
6669
|
+
*/
|
|
6670
|
+
export interface DuplicateSavedReportDto {
|
|
6671
|
+
/**
|
|
6672
|
+
* The copy\'s name; the copy is private to the person who makes it
|
|
6673
|
+
* @type {string}
|
|
6674
|
+
* @memberof DuplicateSavedReportDto
|
|
6675
|
+
*/
|
|
6676
|
+
'name': string;
|
|
6677
|
+
}
|
|
6547
6678
|
/**
|
|
6548
6679
|
*
|
|
6549
6680
|
* @export
|
|
@@ -18355,6 +18486,27 @@ export declare const PaymentTypeEnum: {
|
|
|
18355
18486
|
readonly PayOnDelivery: "pay_on_delivery";
|
|
18356
18487
|
};
|
|
18357
18488
|
export type PaymentTypeEnum = typeof PaymentTypeEnum[keyof typeof PaymentTypeEnum];
|
|
18489
|
+
/**
|
|
18490
|
+
*
|
|
18491
|
+
* @export
|
|
18492
|
+
* @enum {string}
|
|
18493
|
+
*/
|
|
18494
|
+
export declare const PeriodPreset: {
|
|
18495
|
+
readonly Today: "today";
|
|
18496
|
+
readonly Yesterday: "yesterday";
|
|
18497
|
+
readonly ThisWeek: "thisWeek";
|
|
18498
|
+
readonly LastWeek: "lastWeek";
|
|
18499
|
+
readonly ThisMonth: "thisMonth";
|
|
18500
|
+
readonly LastMonth: "lastMonth";
|
|
18501
|
+
readonly ThisYear: "thisYear";
|
|
18502
|
+
readonly CustomDays: "custom";
|
|
18503
|
+
readonly Day: "DAY";
|
|
18504
|
+
readonly Week: "WEEK";
|
|
18505
|
+
readonly Month: "MONTH";
|
|
18506
|
+
readonly Year: "YEAR";
|
|
18507
|
+
readonly Custom: "CUSTOM";
|
|
18508
|
+
};
|
|
18509
|
+
export type PeriodPreset = typeof PeriodPreset[keyof typeof PeriodPreset];
|
|
18358
18510
|
/**
|
|
18359
18511
|
*
|
|
18360
18512
|
* @export
|
|
@@ -19333,6 +19485,12 @@ export interface PosMenuIngredientDto {
|
|
|
19333
19485
|
* @memberof PosMenuIngredientDto
|
|
19334
19486
|
*/
|
|
19335
19487
|
'rank': number;
|
|
19488
|
+
/**
|
|
19489
|
+
* True: the app shows it ticked at first, and the customer unticks it to leave it out. False: shown unticked, and the customer ticks it to have it. Either way, an ingredient left unticked is sent as removed. Always sent: true when Vendure says nothing
|
|
19490
|
+
* @type {boolean}
|
|
19491
|
+
* @memberof PosMenuIngredientDto
|
|
19492
|
+
*/
|
|
19493
|
+
'preselected': boolean;
|
|
19336
19494
|
}
|
|
19337
19495
|
/**
|
|
19338
19496
|
*
|
|
@@ -19353,7 +19511,7 @@ export interface PosMenuIngredientSectionDto {
|
|
|
19353
19511
|
*/
|
|
19354
19512
|
'heading': string | null;
|
|
19355
19513
|
/**
|
|
19356
|
-
* The ingredients the customer may
|
|
19514
|
+
* The ingredients the customer may leave out, each ticked at first unless its preselected is false. Never empty; hidden ones are not sent
|
|
19357
19515
|
* @type {Array<PosMenuIngredientDto>}
|
|
19358
19516
|
* @memberof PosMenuIngredientSectionDto
|
|
19359
19517
|
*/
|
|
@@ -19609,7 +19767,7 @@ export interface PosMenuProductDtoIngredientSection {
|
|
|
19609
19767
|
*/
|
|
19610
19768
|
'heading': string | null;
|
|
19611
19769
|
/**
|
|
19612
|
-
* The ingredients the customer may
|
|
19770
|
+
* The ingredients the customer may leave out, each ticked at first unless its preselected is false. Never empty; hidden ones are not sent
|
|
19613
19771
|
* @type {Array<PosMenuIngredientDto>}
|
|
19614
19772
|
* @memberof PosMenuProductDtoIngredientSection
|
|
19615
19773
|
*/
|
|
@@ -23247,6 +23405,55 @@ export declare const PubSubTarget: {
|
|
|
23247
23405
|
readonly Kds: "KDS";
|
|
23248
23406
|
};
|
|
23249
23407
|
export type PubSubTarget = typeof PubSubTarget[keyof typeof PubSubTarget];
|
|
23408
|
+
/**
|
|
23409
|
+
*
|
|
23410
|
+
* @export
|
|
23411
|
+
* @interface PublicSavedReportDto
|
|
23412
|
+
*/
|
|
23413
|
+
export interface PublicSavedReportDto {
|
|
23414
|
+
/**
|
|
23415
|
+
*
|
|
23416
|
+
* @type {SavedReportKind}
|
|
23417
|
+
* @memberof PublicSavedReportDto
|
|
23418
|
+
*/
|
|
23419
|
+
'kind': SavedReportKind;
|
|
23420
|
+
/**
|
|
23421
|
+
* The report\'s name, as people wrote it
|
|
23422
|
+
* @type {string}
|
|
23423
|
+
* @memberof PublicSavedReportDto
|
|
23424
|
+
*/
|
|
23425
|
+
'name': string;
|
|
23426
|
+
/**
|
|
23427
|
+
* The cards in the order they are shown, at most 60; dashboard-one\'s own ids, kept as sent
|
|
23428
|
+
* @type {Array<AnalyticsDashboardCardDto>}
|
|
23429
|
+
* @memberof PublicSavedReportDto
|
|
23430
|
+
*/
|
|
23431
|
+
'cards': Array<AnalyticsDashboardCardDto>;
|
|
23432
|
+
/**
|
|
23433
|
+
*
|
|
23434
|
+
* @type {SavedReportDtoFilters}
|
|
23435
|
+
* @memberof PublicSavedReportDto
|
|
23436
|
+
*/
|
|
23437
|
+
'filters': SavedReportDtoFilters;
|
|
23438
|
+
/**
|
|
23439
|
+
* The store whose data the report reads, by orderingBusinessId; null for an organisation\'s
|
|
23440
|
+
* @type {number}
|
|
23441
|
+
* @memberof PublicSavedReportDto
|
|
23442
|
+
*/
|
|
23443
|
+
'businessId': number | null;
|
|
23444
|
+
/**
|
|
23445
|
+
* The organisation whose stores the report reads; null for a store\'s
|
|
23446
|
+
* @type {string}
|
|
23447
|
+
* @memberof PublicSavedReportDto
|
|
23448
|
+
*/
|
|
23449
|
+
'groupId': string | null;
|
|
23450
|
+
/**
|
|
23451
|
+
* When it was last saved, ISO 8601 in UTC
|
|
23452
|
+
* @type {string}
|
|
23453
|
+
* @memberof PublicSavedReportDto
|
|
23454
|
+
*/
|
|
23455
|
+
'updatedAt': string;
|
|
23456
|
+
}
|
|
23250
23457
|
/**
|
|
23251
23458
|
*
|
|
23252
23459
|
* @export
|
|
@@ -23303,6 +23510,15 @@ export interface RankedCategoryDto {
|
|
|
23303
23510
|
*/
|
|
23304
23511
|
'enabled': boolean;
|
|
23305
23512
|
}
|
|
23513
|
+
/**
|
|
23514
|
+
*
|
|
23515
|
+
* @export
|
|
23516
|
+
* @enum {string}
|
|
23517
|
+
*/
|
|
23518
|
+
export declare const ReadyMadeReport: {
|
|
23519
|
+
readonly Sales: "sales";
|
|
23520
|
+
};
|
|
23521
|
+
export type ReadyMadeReport = typeof ReadyMadeReport[keyof typeof ReadyMadeReport];
|
|
23306
23522
|
/**
|
|
23307
23523
|
*
|
|
23308
23524
|
* @export
|
|
@@ -24309,6 +24525,18 @@ export declare const ReportBreakdown: {
|
|
|
24309
24525
|
readonly VenueApp: "venue_app";
|
|
24310
24526
|
};
|
|
24311
24527
|
export type ReportBreakdown = typeof ReportBreakdown[keyof typeof ReportBreakdown];
|
|
24528
|
+
/**
|
|
24529
|
+
*
|
|
24530
|
+
* @export
|
|
24531
|
+
* @enum {string}
|
|
24532
|
+
*/
|
|
24533
|
+
export declare const ReportCadence: {
|
|
24534
|
+
readonly Daily: "daily";
|
|
24535
|
+
readonly Weekly: "weekly";
|
|
24536
|
+
readonly Monthly: "monthly";
|
|
24537
|
+
readonly Off: "off";
|
|
24538
|
+
};
|
|
24539
|
+
export type ReportCadence = typeof ReportCadence[keyof typeof ReportCadence];
|
|
24312
24540
|
/**
|
|
24313
24541
|
*
|
|
24314
24542
|
* @export
|
|
@@ -24342,6 +24570,75 @@ export declare const ReportChangeField: {
|
|
|
24342
24570
|
readonly AverageOrderValue: "averageOrderValue";
|
|
24343
24571
|
};
|
|
24344
24572
|
export type ReportChangeField = typeof ReportChangeField[keyof typeof ReportChangeField];
|
|
24573
|
+
/**
|
|
24574
|
+
*
|
|
24575
|
+
* @export
|
|
24576
|
+
* @interface ReportFiltersDto
|
|
24577
|
+
*/
|
|
24578
|
+
export interface ReportFiltersDto {
|
|
24579
|
+
/**
|
|
24580
|
+
*
|
|
24581
|
+
* @type {ReportFiltersDtoA}
|
|
24582
|
+
* @memberof ReportFiltersDto
|
|
24583
|
+
*/
|
|
24584
|
+
'a': ReportFiltersDtoA;
|
|
24585
|
+
/**
|
|
24586
|
+
*
|
|
24587
|
+
* @type {ReportFiltersDtoB}
|
|
24588
|
+
* @memberof ReportFiltersDto
|
|
24589
|
+
*/
|
|
24590
|
+
'b'?: ReportFiltersDtoB;
|
|
24591
|
+
}
|
|
24592
|
+
/**
|
|
24593
|
+
* Side A: a report\'s only side, a comparison\'s first
|
|
24594
|
+
* @export
|
|
24595
|
+
* @interface ReportFiltersDtoA
|
|
24596
|
+
*/
|
|
24597
|
+
export interface ReportFiltersDtoA {
|
|
24598
|
+
/**
|
|
24599
|
+
*
|
|
24600
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
24601
|
+
* @memberof ReportFiltersDtoA
|
|
24602
|
+
*/
|
|
24603
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
24604
|
+
/**
|
|
24605
|
+
* The apps it counts; an empty list counts every app
|
|
24606
|
+
* @type {Array<ReportApp>}
|
|
24607
|
+
* @memberof ReportFiltersDtoA
|
|
24608
|
+
*/
|
|
24609
|
+
'channels': Array<ReportApp>;
|
|
24610
|
+
/**
|
|
24611
|
+
* The stores the side counts, by orderingBusinessId, at most 200; an empty list counts the report\'s own store, or every store of its organisation. Each must be the report\'s own store or one of its organisation\'s, checked on save.
|
|
24612
|
+
* @type {Array<number>}
|
|
24613
|
+
* @memberof ReportFiltersDtoA
|
|
24614
|
+
*/
|
|
24615
|
+
'stores': Array<number>;
|
|
24616
|
+
}
|
|
24617
|
+
/**
|
|
24618
|
+
* Side B: a comparison\'s second side; required for a comparison, refused for a report
|
|
24619
|
+
* @export
|
|
24620
|
+
* @interface ReportFiltersDtoB
|
|
24621
|
+
*/
|
|
24622
|
+
export interface ReportFiltersDtoB {
|
|
24623
|
+
/**
|
|
24624
|
+
*
|
|
24625
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
24626
|
+
* @memberof ReportFiltersDtoB
|
|
24627
|
+
*/
|
|
24628
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
24629
|
+
/**
|
|
24630
|
+
* The apps it counts; an empty list counts every app
|
|
24631
|
+
* @type {Array<ReportApp>}
|
|
24632
|
+
* @memberof ReportFiltersDtoB
|
|
24633
|
+
*/
|
|
24634
|
+
'channels': Array<ReportApp>;
|
|
24635
|
+
/**
|
|
24636
|
+
* The stores the side counts, by orderingBusinessId, at most 200; an empty list counts the report\'s own store, or every store of its organisation. Each must be the report\'s own store or one of its organisation\'s, checked on save.
|
|
24637
|
+
* @type {Array<number>}
|
|
24638
|
+
* @memberof ReportFiltersDtoB
|
|
24639
|
+
*/
|
|
24640
|
+
'stores': Array<number>;
|
|
24641
|
+
}
|
|
24345
24642
|
/**
|
|
24346
24643
|
*
|
|
24347
24644
|
* @export
|
|
@@ -24377,6 +24674,318 @@ export declare const ReportPart: {
|
|
|
24377
24674
|
readonly Discounts: "discounts";
|
|
24378
24675
|
};
|
|
24379
24676
|
export type ReportPart = typeof ReportPart[keyof typeof ReportPart];
|
|
24677
|
+
/**
|
|
24678
|
+
*
|
|
24679
|
+
* @export
|
|
24680
|
+
* @interface ReportPeriodDto
|
|
24681
|
+
*/
|
|
24682
|
+
export interface ReportPeriodDto {
|
|
24683
|
+
/**
|
|
24684
|
+
*
|
|
24685
|
+
* @type {PeriodPreset}
|
|
24686
|
+
* @memberof ReportPeriodDto
|
|
24687
|
+
*/
|
|
24688
|
+
'preset': PeriodPreset;
|
|
24689
|
+
/**
|
|
24690
|
+
* The first day of a custom period, YYYY-MM-DD in the store\'s zone; only with custom (or CUSTOM), refused with any other
|
|
24691
|
+
* @type {string}
|
|
24692
|
+
* @memberof ReportPeriodDto
|
|
24693
|
+
*/
|
|
24694
|
+
'startDay'?: string;
|
|
24695
|
+
/**
|
|
24696
|
+
* The last day of a custom period, inclusive, YYYY-MM-DD, startDay or later; only with custom (or CUSTOM), refused with any other
|
|
24697
|
+
* @type {string}
|
|
24698
|
+
* @memberof ReportPeriodDto
|
|
24699
|
+
*/
|
|
24700
|
+
'endDay'?: string;
|
|
24701
|
+
}
|
|
24702
|
+
/**
|
|
24703
|
+
*
|
|
24704
|
+
* @export
|
|
24705
|
+
* @interface ReportRunDto
|
|
24706
|
+
*/
|
|
24707
|
+
export interface ReportRunDto {
|
|
24708
|
+
/**
|
|
24709
|
+
* The run\'s id; dashboard-one opens it at /reports/runs/{id}
|
|
24710
|
+
* @type {string}
|
|
24711
|
+
* @memberof ReportRunDto
|
|
24712
|
+
*/
|
|
24713
|
+
'id': string;
|
|
24714
|
+
/**
|
|
24715
|
+
* The first day reported on, YYYY-MM-DD
|
|
24716
|
+
* @type {string}
|
|
24717
|
+
* @memberof ReportRunDto
|
|
24718
|
+
*/
|
|
24719
|
+
'periodStart': string;
|
|
24720
|
+
/**
|
|
24721
|
+
* The last day reported on, inclusive, YYYY-MM-DD
|
|
24722
|
+
* @type {string}
|
|
24723
|
+
* @memberof ReportRunDto
|
|
24724
|
+
*/
|
|
24725
|
+
'periodEnd': string;
|
|
24726
|
+
/**
|
|
24727
|
+
* When the run was made, ISO 8601 in UTC
|
|
24728
|
+
* @type {string}
|
|
24729
|
+
* @memberof ReportRunDto
|
|
24730
|
+
*/
|
|
24731
|
+
'madeAt': string;
|
|
24732
|
+
/**
|
|
24733
|
+
*
|
|
24734
|
+
* @type {ReportRunStatus}
|
|
24735
|
+
* @memberof ReportRunDto
|
|
24736
|
+
*/
|
|
24737
|
+
'status': ReportRunStatus;
|
|
24738
|
+
/**
|
|
24739
|
+
* Who it was sent to; only to those who manage its report, absent for everyone else
|
|
24740
|
+
* @type {Array<string>}
|
|
24741
|
+
* @memberof ReportRunDto
|
|
24742
|
+
*/
|
|
24743
|
+
'recipients'?: Array<string>;
|
|
24744
|
+
/**
|
|
24745
|
+
* The formats it kept a file in, each downloadable: pdf and xlsx for a ready-made report; none for a saved report or comparison, whose run opens the report for its days
|
|
24746
|
+
* @type {Array<FileFormat>}
|
|
24747
|
+
* @memberof ReportRunDto
|
|
24748
|
+
*/
|
|
24749
|
+
'formats': Array<FileFormat>;
|
|
24750
|
+
/**
|
|
24751
|
+
* Why a run kept no file or sent no email, in Munchi\'s words; null when it did both
|
|
24752
|
+
* @type {string}
|
|
24753
|
+
* @memberof ReportRunDto
|
|
24754
|
+
*/
|
|
24755
|
+
'note': string | null;
|
|
24756
|
+
}
|
|
24757
|
+
/**
|
|
24758
|
+
*
|
|
24759
|
+
* @export
|
|
24760
|
+
* @interface ReportRunFileDto
|
|
24761
|
+
*/
|
|
24762
|
+
export interface ReportRunFileDto {
|
|
24763
|
+
/**
|
|
24764
|
+
* A signed address that downloads the file, good until expiresAt; needs no sign-in
|
|
24765
|
+
* @type {string}
|
|
24766
|
+
* @memberof ReportRunFileDto
|
|
24767
|
+
*/
|
|
24768
|
+
'url': string;
|
|
24769
|
+
/**
|
|
24770
|
+
* When the address stops working, ISO 8601 in UTC
|
|
24771
|
+
* @type {string}
|
|
24772
|
+
* @memberof ReportRunFileDto
|
|
24773
|
+
*/
|
|
24774
|
+
'expiresAt': string;
|
|
24775
|
+
}
|
|
24776
|
+
/**
|
|
24777
|
+
*
|
|
24778
|
+
* @export
|
|
24779
|
+
* @interface ReportRunListDto
|
|
24780
|
+
*/
|
|
24781
|
+
export interface ReportRunListDto {
|
|
24782
|
+
/**
|
|
24783
|
+
* The runs, newest first
|
|
24784
|
+
* @type {Array<ReportRunDto>}
|
|
24785
|
+
* @memberof ReportRunListDto
|
|
24786
|
+
*/
|
|
24787
|
+
'runs': Array<ReportRunDto>;
|
|
24788
|
+
/**
|
|
24789
|
+
* Send as after for the next page; null on the last page
|
|
24790
|
+
* @type {string}
|
|
24791
|
+
* @memberof ReportRunListDto
|
|
24792
|
+
*/
|
|
24793
|
+
'nextAfter': string | null;
|
|
24794
|
+
}
|
|
24795
|
+
/**
|
|
24796
|
+
*
|
|
24797
|
+
* @export
|
|
24798
|
+
* @interface ReportRunOpenedDto
|
|
24799
|
+
*/
|
|
24800
|
+
export interface ReportRunOpenedDto {
|
|
24801
|
+
/**
|
|
24802
|
+
* The run\'s id; dashboard-one opens it at /reports/runs/{id}
|
|
24803
|
+
* @type {string}
|
|
24804
|
+
* @memberof ReportRunOpenedDto
|
|
24805
|
+
*/
|
|
24806
|
+
'id': string;
|
|
24807
|
+
/**
|
|
24808
|
+
* The first day reported on, YYYY-MM-DD
|
|
24809
|
+
* @type {string}
|
|
24810
|
+
* @memberof ReportRunOpenedDto
|
|
24811
|
+
*/
|
|
24812
|
+
'periodStart': string;
|
|
24813
|
+
/**
|
|
24814
|
+
* The last day reported on, inclusive, YYYY-MM-DD
|
|
24815
|
+
* @type {string}
|
|
24816
|
+
* @memberof ReportRunOpenedDto
|
|
24817
|
+
*/
|
|
24818
|
+
'periodEnd': string;
|
|
24819
|
+
/**
|
|
24820
|
+
* When the run was made, ISO 8601 in UTC
|
|
24821
|
+
* @type {string}
|
|
24822
|
+
* @memberof ReportRunOpenedDto
|
|
24823
|
+
*/
|
|
24824
|
+
'madeAt': string;
|
|
24825
|
+
/**
|
|
24826
|
+
*
|
|
24827
|
+
* @type {ReportRunStatus}
|
|
24828
|
+
* @memberof ReportRunOpenedDto
|
|
24829
|
+
*/
|
|
24830
|
+
'status': ReportRunStatus;
|
|
24831
|
+
/**
|
|
24832
|
+
* Who it was sent to; only to those who manage its report, absent for everyone else
|
|
24833
|
+
* @type {Array<string>}
|
|
24834
|
+
* @memberof ReportRunOpenedDto
|
|
24835
|
+
*/
|
|
24836
|
+
'recipients'?: Array<string>;
|
|
24837
|
+
/**
|
|
24838
|
+
* The formats it kept a file in, each downloadable: pdf and xlsx for a ready-made report; none for a saved report or comparison, whose run opens the report for its days
|
|
24839
|
+
* @type {Array<FileFormat>}
|
|
24840
|
+
* @memberof ReportRunOpenedDto
|
|
24841
|
+
*/
|
|
24842
|
+
'formats': Array<FileFormat>;
|
|
24843
|
+
/**
|
|
24844
|
+
* Why a run kept no file or sent no email, in Munchi\'s words; null when it did both
|
|
24845
|
+
* @type {string}
|
|
24846
|
+
* @memberof ReportRunOpenedDto
|
|
24847
|
+
*/
|
|
24848
|
+
'note': string | null;
|
|
24849
|
+
/**
|
|
24850
|
+
* The store the run belongs to, by orderingBusinessId; null for an organisation\'s
|
|
24851
|
+
* @type {number}
|
|
24852
|
+
* @memberof ReportRunOpenedDto
|
|
24853
|
+
*/
|
|
24854
|
+
'businessId': number | null;
|
|
24855
|
+
/**
|
|
24856
|
+
* The organisation the run belongs to (its licence server group); null for a store\'s
|
|
24857
|
+
* @type {string}
|
|
24858
|
+
* @memberof ReportRunOpenedDto
|
|
24859
|
+
*/
|
|
24860
|
+
'groupId': string | null;
|
|
24861
|
+
/**
|
|
24862
|
+
* The saved report it sent; null for a ready-made report
|
|
24863
|
+
* @type {string}
|
|
24864
|
+
* @memberof ReportRunOpenedDto
|
|
24865
|
+
*/
|
|
24866
|
+
'savedReportId': string | null;
|
|
24867
|
+
/**
|
|
24868
|
+
*
|
|
24869
|
+
* @type {ReadyMadeReport}
|
|
24870
|
+
* @memberof ReportRunOpenedDto
|
|
24871
|
+
*/
|
|
24872
|
+
'readyMadeReport': ReadyMadeReport | null;
|
|
24873
|
+
}
|
|
24874
|
+
/**
|
|
24875
|
+
*
|
|
24876
|
+
* @export
|
|
24877
|
+
* @enum {string}
|
|
24878
|
+
*/
|
|
24879
|
+
export declare const ReportRunStatus: {
|
|
24880
|
+
readonly Making: "making";
|
|
24881
|
+
readonly Sent: "sent";
|
|
24882
|
+
readonly Failed: "failed";
|
|
24883
|
+
};
|
|
24884
|
+
export type ReportRunStatus = typeof ReportRunStatus[keyof typeof ReportRunStatus];
|
|
24885
|
+
/**
|
|
24886
|
+
*
|
|
24887
|
+
* @export
|
|
24888
|
+
* @interface ReportScheduleDto
|
|
24889
|
+
*/
|
|
24890
|
+
export interface ReportScheduleDto {
|
|
24891
|
+
/**
|
|
24892
|
+
*
|
|
24893
|
+
* @type {ReportCadence}
|
|
24894
|
+
* @memberof ReportScheduleDto
|
|
24895
|
+
*/
|
|
24896
|
+
'cadence': ReportCadence;
|
|
24897
|
+
/**
|
|
24898
|
+
* The ISO weekday a weekly schedule sends on, 1 Monday to 7 Sunday; only for weekly
|
|
24899
|
+
* @type {number}
|
|
24900
|
+
* @memberof ReportScheduleDto
|
|
24901
|
+
*/
|
|
24902
|
+
'weekday'?: number | null;
|
|
24903
|
+
/**
|
|
24904
|
+
* The time it sends at, HH:MM on the clock of timeZone
|
|
24905
|
+
* @type {string}
|
|
24906
|
+
* @memberof ReportScheduleDto
|
|
24907
|
+
*/
|
|
24908
|
+
'time': string;
|
|
24909
|
+
/**
|
|
24910
|
+
* Who gets an email with a link to each run, any addresses, 0 to 20. An empty list emails nobody: each run is still saved under the report\'s past runs.
|
|
24911
|
+
* @type {Array<string>}
|
|
24912
|
+
* @memberof ReportScheduleDto
|
|
24913
|
+
*/
|
|
24914
|
+
'recipients': Array<string>;
|
|
24915
|
+
/**
|
|
24916
|
+
* The schedule\'s id
|
|
24917
|
+
* @type {string}
|
|
24918
|
+
* @memberof ReportScheduleDto
|
|
24919
|
+
*/
|
|
24920
|
+
'id': string;
|
|
24921
|
+
/**
|
|
24922
|
+
* The saved report it sends; null for a ready-made report
|
|
24923
|
+
* @type {string}
|
|
24924
|
+
* @memberof ReportScheduleDto
|
|
24925
|
+
*/
|
|
24926
|
+
'savedReportId': string | null;
|
|
24927
|
+
/**
|
|
24928
|
+
*
|
|
24929
|
+
* @type {ReadyMadeReport}
|
|
24930
|
+
* @memberof ReportScheduleDto
|
|
24931
|
+
*/
|
|
24932
|
+
'readyMadeReport': ReadyMadeReport | null;
|
|
24933
|
+
/**
|
|
24934
|
+
* The IANA time zone time is read in
|
|
24935
|
+
* @type {string}
|
|
24936
|
+
* @memberof ReportScheduleDto
|
|
24937
|
+
*/
|
|
24938
|
+
'timeZone': string;
|
|
24939
|
+
/**
|
|
24940
|
+
* When it next sends, ISO 8601 in UTC; null while off
|
|
24941
|
+
* @type {string}
|
|
24942
|
+
* @memberof ReportScheduleDto
|
|
24943
|
+
*/
|
|
24944
|
+
'nextRunAt': string | null;
|
|
24945
|
+
/**
|
|
24946
|
+
* 1 when made, one more on each save
|
|
24947
|
+
* @type {number}
|
|
24948
|
+
* @memberof ReportScheduleDto
|
|
24949
|
+
*/
|
|
24950
|
+
'version': number;
|
|
24951
|
+
/**
|
|
24952
|
+
* When it was last saved, ISO 8601 in UTC
|
|
24953
|
+
* @type {string}
|
|
24954
|
+
* @memberof ReportScheduleDto
|
|
24955
|
+
*/
|
|
24956
|
+
'updatedAt': string;
|
|
24957
|
+
/**
|
|
24958
|
+
* The Clerk user id of who last saved it
|
|
24959
|
+
* @type {string}
|
|
24960
|
+
* @memberof ReportScheduleDto
|
|
24961
|
+
*/
|
|
24962
|
+
'updatedBy': string;
|
|
24963
|
+
}
|
|
24964
|
+
/**
|
|
24965
|
+
*
|
|
24966
|
+
* @export
|
|
24967
|
+
* @interface ReportSideDto
|
|
24968
|
+
*/
|
|
24969
|
+
export interface ReportSideDto {
|
|
24970
|
+
/**
|
|
24971
|
+
*
|
|
24972
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
24973
|
+
* @memberof ReportSideDto
|
|
24974
|
+
*/
|
|
24975
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
24976
|
+
/**
|
|
24977
|
+
* The apps it counts; an empty list counts every app
|
|
24978
|
+
* @type {Array<ReportApp>}
|
|
24979
|
+
* @memberof ReportSideDto
|
|
24980
|
+
*/
|
|
24981
|
+
'channels': Array<ReportApp>;
|
|
24982
|
+
/**
|
|
24983
|
+
* The stores the side counts, by orderingBusinessId, at most 200; an empty list counts the report\'s own store, or every store of its organisation. Each must be the report\'s own store or one of its organisation\'s, checked on save.
|
|
24984
|
+
* @type {Array<number>}
|
|
24985
|
+
* @memberof ReportSideDto
|
|
24986
|
+
*/
|
|
24987
|
+
'stores': Array<number>;
|
|
24988
|
+
}
|
|
24380
24989
|
/**
|
|
24381
24990
|
*
|
|
24382
24991
|
* @export
|
|
@@ -25329,7 +25938,7 @@ export interface SalesReportComparisonDto {
|
|
|
25329
25938
|
*/
|
|
25330
25939
|
'lastBusinessDay': string;
|
|
25331
25940
|
/**
|
|
25332
|
-
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is cut
|
|
25941
|
+
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is never cut: the group\'s totals and dailyBreakdown count it up to dataUntil, as without compareSameTime. Present when no venue and app of the group was compared whole that day (one that sold nothing that day counts as cut); absent when compareSameTime was not sent, the report\'s last day is over, or a venue\'s day had no hours yet and was compared whole. In a group of venues in several time zones each venue is cut at its own clock\'s hour of the same instant, which this names in the report\'s time zone
|
|
25333
25942
|
* @type {string}
|
|
25334
25943
|
* @memberof SalesReportComparisonDto
|
|
25335
25944
|
*/
|
|
@@ -25647,7 +26256,7 @@ export interface SalesReportGroupDtoComparison {
|
|
|
25647
26256
|
*/
|
|
25648
26257
|
'lastBusinessDay': string;
|
|
25649
26258
|
/**
|
|
25650
|
-
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is cut
|
|
26259
|
+
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is never cut: the group\'s totals and dailyBreakdown count it up to dataUntil, as without compareSameTime. Present when no venue and app of the group was compared whole that day (one that sold nothing that day counts as cut); absent when compareSameTime was not sent, the report\'s last day is over, or a venue\'s day had no hours yet and was compared whole. In a group of venues in several time zones each venue is cut at its own clock\'s hour of the same instant, which this names in the report\'s time zone
|
|
25651
26260
|
* @type {string}
|
|
25652
26261
|
* @memberof SalesReportGroupDtoComparison
|
|
25653
26262
|
*/
|
|
@@ -26719,7 +27328,7 @@ export interface SalesReportShortComparisonDto {
|
|
|
26719
27328
|
*/
|
|
26720
27329
|
'lastBusinessDay': string;
|
|
26721
27330
|
/**
|
|
26722
|
-
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is cut
|
|
27331
|
+
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is never cut: the group\'s totals and dailyBreakdown count it up to dataUntil, as without compareSameTime. Present when no venue and app of the group was compared whole that day (one that sold nothing that day counts as cut); absent when compareSameTime was not sent, the report\'s last day is over, or a venue\'s day had no hours yet and was compared whole. In a group of venues in several time zones each venue is cut at its own clock\'s hour of the same instant, which this names in the report\'s time zone
|
|
26723
27332
|
* @type {string}
|
|
26724
27333
|
* @memberof SalesReportShortComparisonDto
|
|
26725
27334
|
*/
|
|
@@ -26938,7 +27547,7 @@ export interface SalesReportShortGroupDtoComparison {
|
|
|
26938
27547
|
*/
|
|
26939
27548
|
'lastBusinessDay': string;
|
|
26940
27549
|
/**
|
|
26941
|
-
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is cut
|
|
27550
|
+
* compareSameTime only: the instant the compared last day was added up to, ISO 8601 in UTC: that day at the last full hour, on the report\'s clock, that both the daily rows and the hours have reached on the report\'s last day (a client says \"until 14:00\"). The report\'s own last day is never cut: the group\'s totals and dailyBreakdown count it up to dataUntil, as without compareSameTime. Present when no venue and app of the group was compared whole that day (one that sold nothing that day counts as cut); absent when compareSameTime was not sent, the report\'s last day is over, or a venue\'s day had no hours yet and was compared whole. In a group of venues in several time zones each venue is cut at its own clock\'s hour of the same instant, which this names in the report\'s time zone
|
|
26942
27551
|
* @type {string}
|
|
26943
27552
|
* @memberof SalesReportShortGroupDtoComparison
|
|
26944
27553
|
*/
|
|
@@ -27175,6 +27784,166 @@ export interface SalesReportShortSalesDto {
|
|
|
27175
27784
|
*/
|
|
27176
27785
|
'topItemsByQuantity'?: Array<SalesReportTopItemDto>;
|
|
27177
27786
|
}
|
|
27787
|
+
/**
|
|
27788
|
+
*
|
|
27789
|
+
* @export
|
|
27790
|
+
* @interface SalesReportStaffGroupDto
|
|
27791
|
+
*/
|
|
27792
|
+
export interface SalesReportStaffGroupDto {
|
|
27793
|
+
/**
|
|
27794
|
+
* The venue\'s orderingBusinessId
|
|
27795
|
+
* @type {number}
|
|
27796
|
+
* @memberof SalesReportStaffGroupDto
|
|
27797
|
+
*/
|
|
27798
|
+
'businessId': number;
|
|
27799
|
+
/**
|
|
27800
|
+
*
|
|
27801
|
+
* @type {CurrencyCode}
|
|
27802
|
+
* @memberof SalesReportStaffGroupDto
|
|
27803
|
+
*/
|
|
27804
|
+
'currency': CurrencyCode;
|
|
27805
|
+
/**
|
|
27806
|
+
* Decimals of the currency\'s minor unit (2 for EUR)
|
|
27807
|
+
* @type {number}
|
|
27808
|
+
* @memberof SalesReportStaffGroupDto
|
|
27809
|
+
*/
|
|
27810
|
+
'minorDigits': number;
|
|
27811
|
+
/**
|
|
27812
|
+
* Every staff member with POS orders in the period, by staffId; the members add up to the venue\'s POS day totals
|
|
27813
|
+
* @type {Array<SalesReportStaffMemberDto>}
|
|
27814
|
+
* @memberof SalesReportStaffGroupDto
|
|
27815
|
+
*/
|
|
27816
|
+
'staff': Array<SalesReportStaffMemberDto>;
|
|
27817
|
+
}
|
|
27818
|
+
/**
|
|
27819
|
+
*
|
|
27820
|
+
* @export
|
|
27821
|
+
* @interface SalesReportStaffMemberDto
|
|
27822
|
+
*/
|
|
27823
|
+
export interface SalesReportStaffMemberDto {
|
|
27824
|
+
/**
|
|
27825
|
+
* The staff member\'s id on the POS orders (the order\'s staffId); the empty text is the orders that name nobody
|
|
27826
|
+
* @type {string}
|
|
27827
|
+
* @memberof SalesReportStaffMemberDto
|
|
27828
|
+
*/
|
|
27829
|
+
'staffId': string;
|
|
27830
|
+
/**
|
|
27831
|
+
* Orders not refunded, or refunded in part (the POS app\'s totalOrders)
|
|
27832
|
+
* @type {number}
|
|
27833
|
+
* @memberof SalesReportStaffMemberDto
|
|
27834
|
+
*/
|
|
27835
|
+
'orderCount': number;
|
|
27836
|
+
/**
|
|
27837
|
+
* Every payment not reverted, less its rounding, fully refunded orders included (totalSales), in the major unit
|
|
27838
|
+
* @type {number}
|
|
27839
|
+
* @memberof SalesReportStaffMemberDto
|
|
27840
|
+
*/
|
|
27841
|
+
'sales': number;
|
|
27842
|
+
/**
|
|
27843
|
+
* Every successful refund of the period\'s orders, refunded in part or in full (totalRefunds), in the major unit
|
|
27844
|
+
* @type {number}
|
|
27845
|
+
* @memberof SalesReportStaffMemberDto
|
|
27846
|
+
*/
|
|
27847
|
+
'refunds': number;
|
|
27848
|
+
/**
|
|
27849
|
+
* The baskets\' discounts of orders not refunded in full (totalDiscounts), in the major unit
|
|
27850
|
+
* @type {number}
|
|
27851
|
+
* @memberof SalesReportStaffMemberDto
|
|
27852
|
+
*/
|
|
27853
|
+
'discounts': number;
|
|
27854
|
+
/**
|
|
27855
|
+
* The quantity of every item not cancelled, of orders not refunded in full (totalItemsCount)
|
|
27856
|
+
* @type {number}
|
|
27857
|
+
* @memberof SalesReportStaffMemberDto
|
|
27858
|
+
*/
|
|
27859
|
+
'itemQuantity': number;
|
|
27860
|
+
/**
|
|
27861
|
+
* Tips, in the major unit
|
|
27862
|
+
* @type {number}
|
|
27863
|
+
* @memberof SalesReportStaffMemberDto
|
|
27864
|
+
*/
|
|
27865
|
+
'tips': number;
|
|
27866
|
+
/**
|
|
27867
|
+
* Each payment method the staff member took, by paymentMethod
|
|
27868
|
+
* @type {Array<SalesReportStaffPaymentDto>}
|
|
27869
|
+
* @memberof SalesReportStaffMemberDto
|
|
27870
|
+
*/
|
|
27871
|
+
'payments': Array<SalesReportStaffPaymentDto>;
|
|
27872
|
+
}
|
|
27873
|
+
/**
|
|
27874
|
+
*
|
|
27875
|
+
* @export
|
|
27876
|
+
* @interface SalesReportStaffPaymentDto
|
|
27877
|
+
*/
|
|
27878
|
+
export interface SalesReportStaffPaymentDto {
|
|
27879
|
+
/**
|
|
27880
|
+
* The payment method as the POS app\'s end-of-day report keys it: its label, else its type, in lower case with every \'.\' made \'_\'
|
|
27881
|
+
* @type {string}
|
|
27882
|
+
* @memberof SalesReportStaffPaymentDto
|
|
27883
|
+
*/
|
|
27884
|
+
'paymentMethod': string;
|
|
27885
|
+
/**
|
|
27886
|
+
* Payments not reverted, less one for each refund of an order refunded in full (the POS app\'s transactionCount)
|
|
27887
|
+
* @type {number}
|
|
27888
|
+
* @memberof SalesReportStaffPaymentDto
|
|
27889
|
+
*/
|
|
27890
|
+
'transactionCount': number;
|
|
27891
|
+
/**
|
|
27892
|
+
* The payments less their rounding and their refunds, in the major unit
|
|
27893
|
+
* @type {number}
|
|
27894
|
+
* @memberof SalesReportStaffPaymentDto
|
|
27895
|
+
*/
|
|
27896
|
+
'sold': number;
|
|
27897
|
+
/**
|
|
27898
|
+
* As sold, and zero for a voucher, which is no money paid; in the major unit
|
|
27899
|
+
* @type {number}
|
|
27900
|
+
* @memberof SalesReportStaffPaymentDto
|
|
27901
|
+
*/
|
|
27902
|
+
'paid': number;
|
|
27903
|
+
}
|
|
27904
|
+
/**
|
|
27905
|
+
*
|
|
27906
|
+
* @export
|
|
27907
|
+
* @interface SalesReportStaffResponseDto
|
|
27908
|
+
*/
|
|
27909
|
+
export interface SalesReportStaffResponseDto {
|
|
27910
|
+
/**
|
|
27911
|
+
* The first instant of the period, ISO 8601 in UTC
|
|
27912
|
+
* @type {string}
|
|
27913
|
+
* @memberof SalesReportStaffResponseDto
|
|
27914
|
+
*/
|
|
27915
|
+
'reportDateStart': string;
|
|
27916
|
+
/**
|
|
27917
|
+
* The last instant of the period, ISO 8601 in UTC; now, when the period ends later
|
|
27918
|
+
* @type {string}
|
|
27919
|
+
* @memberof SalesReportStaffResponseDto
|
|
27920
|
+
*/
|
|
27921
|
+
'reportDateEnd': string;
|
|
27922
|
+
/**
|
|
27923
|
+
* The IANA time zone the period\'s days are read in
|
|
27924
|
+
* @type {string}
|
|
27925
|
+
* @memberof SalesReportStaffResponseDto
|
|
27926
|
+
*/
|
|
27927
|
+
'timezone': string;
|
|
27928
|
+
/**
|
|
27929
|
+
* The first business day, YYYY-MM-DD
|
|
27930
|
+
* @type {string}
|
|
27931
|
+
* @memberof SalesReportStaffResponseDto
|
|
27932
|
+
*/
|
|
27933
|
+
'firstBusinessDay': string;
|
|
27934
|
+
/**
|
|
27935
|
+
* The last business day, YYYY-MM-DD, inclusive
|
|
27936
|
+
* @type {string}
|
|
27937
|
+
* @memberof SalesReportStaffResponseDto
|
|
27938
|
+
*/
|
|
27939
|
+
'lastBusinessDay': string;
|
|
27940
|
+
/**
|
|
27941
|
+
* One group per venue and currency that sold on the POS in the period; a venue with no POS orders answers no group
|
|
27942
|
+
* @type {Array<SalesReportStaffGroupDto>}
|
|
27943
|
+
* @memberof SalesReportStaffResponseDto
|
|
27944
|
+
*/
|
|
27945
|
+
'groups': Array<SalesReportStaffGroupDto>;
|
|
27946
|
+
}
|
|
27178
27947
|
/**
|
|
27179
27948
|
*
|
|
27180
27949
|
* @export
|
|
@@ -27358,6 +28127,12 @@ export interface SaveAnalyticsDashboardDto {
|
|
|
27358
28127
|
* @memberof SaveAnalyticsDashboardDto
|
|
27359
28128
|
*/
|
|
27360
28129
|
'goals': SaveAnalyticsDashboardDtoGoals;
|
|
28130
|
+
/**
|
|
28131
|
+
*
|
|
28132
|
+
* @type {SaveAnalyticsDashboardDtoFilters}
|
|
28133
|
+
* @memberof SaveAnalyticsDashboardDto
|
|
28134
|
+
*/
|
|
28135
|
+
'filters'?: SaveAnalyticsDashboardDtoFilters;
|
|
27361
28136
|
/**
|
|
27362
28137
|
* The version the dashboard was read at, from its GET. Absent or null only to create the first dashboard; answered 409 when someone saved since, or when one already exists.
|
|
27363
28138
|
* @type {number}
|
|
@@ -27365,6 +28140,31 @@ export interface SaveAnalyticsDashboardDto {
|
|
|
27365
28140
|
*/
|
|
27366
28141
|
'expectedVersion'?: number | null;
|
|
27367
28142
|
}
|
|
28143
|
+
/**
|
|
28144
|
+
* The period, apps and stores the dashboard reads. Absent on a save: the dashboard keeps the ones it has, so a save from before they were kept loses none.
|
|
28145
|
+
* @export
|
|
28146
|
+
* @interface SaveAnalyticsDashboardDtoFilters
|
|
28147
|
+
*/
|
|
28148
|
+
export interface SaveAnalyticsDashboardDtoFilters {
|
|
28149
|
+
/**
|
|
28150
|
+
*
|
|
28151
|
+
* @type {AnalyticsDashboardFiltersDtoPeriod}
|
|
28152
|
+
* @memberof SaveAnalyticsDashboardDtoFilters
|
|
28153
|
+
*/
|
|
28154
|
+
'period': AnalyticsDashboardFiltersDtoPeriod;
|
|
28155
|
+
/**
|
|
28156
|
+
* The apps it counts; an empty list counts every app
|
|
28157
|
+
* @type {Array<ReportApp>}
|
|
28158
|
+
* @memberof SaveAnalyticsDashboardDtoFilters
|
|
28159
|
+
*/
|
|
28160
|
+
'channels': Array<ReportApp>;
|
|
28161
|
+
/**
|
|
28162
|
+
* The stores it counts, by orderingBusinessId, at most 200: the dashboard\'s own store, or stores of its organisation. Absent or empty: the dashboard\'s own store, or every store of its organisation.
|
|
28163
|
+
* @type {Array<number>}
|
|
28164
|
+
* @memberof SaveAnalyticsDashboardDtoFilters
|
|
28165
|
+
*/
|
|
28166
|
+
'stores'?: Array<number>;
|
|
28167
|
+
}
|
|
27368
28168
|
/**
|
|
27369
28169
|
* The sales goals the cards measure against; an empty object saves none.
|
|
27370
28170
|
* @export
|
|
@@ -27397,6 +28197,156 @@ export interface SaveEpassiCredentialsDto {
|
|
|
27397
28197
|
*/
|
|
27398
28198
|
'posName': string;
|
|
27399
28199
|
}
|
|
28200
|
+
/**
|
|
28201
|
+
*
|
|
28202
|
+
* @export
|
|
28203
|
+
* @interface SavedReportDto
|
|
28204
|
+
*/
|
|
28205
|
+
export interface SavedReportDto {
|
|
28206
|
+
/**
|
|
28207
|
+
*
|
|
28208
|
+
* @type {SavedReportKind}
|
|
28209
|
+
* @memberof SavedReportDto
|
|
28210
|
+
*/
|
|
28211
|
+
'kind': SavedReportKind;
|
|
28212
|
+
/**
|
|
28213
|
+
* The report\'s name, as people wrote it
|
|
28214
|
+
* @type {string}
|
|
28215
|
+
* @memberof SavedReportDto
|
|
28216
|
+
*/
|
|
28217
|
+
'name': string;
|
|
28218
|
+
/**
|
|
28219
|
+
* The cards in the order they are shown, at most 60; dashboard-one\'s own ids, kept as sent
|
|
28220
|
+
* @type {Array<AnalyticsDashboardCardDto>}
|
|
28221
|
+
* @memberof SavedReportDto
|
|
28222
|
+
*/
|
|
28223
|
+
'cards': Array<AnalyticsDashboardCardDto>;
|
|
28224
|
+
/**
|
|
28225
|
+
*
|
|
28226
|
+
* @type {SavedReportDtoFilters}
|
|
28227
|
+
* @memberof SavedReportDto
|
|
28228
|
+
*/
|
|
28229
|
+
'filters': SavedReportDtoFilters;
|
|
28230
|
+
/**
|
|
28231
|
+
* The report\'s id
|
|
28232
|
+
* @type {string}
|
|
28233
|
+
* @memberof SavedReportDto
|
|
28234
|
+
*/
|
|
28235
|
+
'id': string;
|
|
28236
|
+
/**
|
|
28237
|
+
* The store it belongs to, by orderingBusinessId; null for an organisation\'s
|
|
28238
|
+
* @type {number}
|
|
28239
|
+
* @memberof SavedReportDto
|
|
28240
|
+
*/
|
|
28241
|
+
'businessId': number | null;
|
|
28242
|
+
/**
|
|
28243
|
+
* The organisation it belongs to (its licence server group); null for a store\'s
|
|
28244
|
+
* @type {string}
|
|
28245
|
+
* @memberof SavedReportDto
|
|
28246
|
+
*/
|
|
28247
|
+
'groupId': string | null;
|
|
28248
|
+
/**
|
|
28249
|
+
*
|
|
28250
|
+
* @type {SavedReportVisibility}
|
|
28251
|
+
* @memberof SavedReportDto
|
|
28252
|
+
*/
|
|
28253
|
+
'visibility': SavedReportVisibility;
|
|
28254
|
+
/**
|
|
28255
|
+
* The link\'s token while the report is public (GET /api/v6/public-reports/{token}); null otherwise
|
|
28256
|
+
* @type {string}
|
|
28257
|
+
* @memberof SavedReportDto
|
|
28258
|
+
*/
|
|
28259
|
+
'publicToken': string | null;
|
|
28260
|
+
/**
|
|
28261
|
+
* The Clerk user id of the person who made it
|
|
28262
|
+
* @type {string}
|
|
28263
|
+
* @memberof SavedReportDto
|
|
28264
|
+
*/
|
|
28265
|
+
'ownerId': string;
|
|
28266
|
+
/**
|
|
28267
|
+
* 1 when made, one more on each save. Send it back as expectedVersion.
|
|
28268
|
+
* @type {number}
|
|
28269
|
+
* @memberof SavedReportDto
|
|
28270
|
+
*/
|
|
28271
|
+
'version': number;
|
|
28272
|
+
/**
|
|
28273
|
+
* When it was made, ISO 8601 in UTC
|
|
28274
|
+
* @type {string}
|
|
28275
|
+
* @memberof SavedReportDto
|
|
28276
|
+
*/
|
|
28277
|
+
'createdAt': string;
|
|
28278
|
+
/**
|
|
28279
|
+
* When it was last saved, ISO 8601 in UTC
|
|
28280
|
+
* @type {string}
|
|
28281
|
+
* @memberof SavedReportDto
|
|
28282
|
+
*/
|
|
28283
|
+
'updatedAt': string;
|
|
28284
|
+
/**
|
|
28285
|
+
* The Clerk user id of who last saved it
|
|
28286
|
+
* @type {string}
|
|
28287
|
+
* @memberof SavedReportDto
|
|
28288
|
+
*/
|
|
28289
|
+
'updatedBy': string;
|
|
28290
|
+
}
|
|
28291
|
+
/**
|
|
28292
|
+
* What the report reads
|
|
28293
|
+
* @export
|
|
28294
|
+
* @interface SavedReportDtoFilters
|
|
28295
|
+
*/
|
|
28296
|
+
export interface SavedReportDtoFilters {
|
|
28297
|
+
/**
|
|
28298
|
+
*
|
|
28299
|
+
* @type {ReportFiltersDtoA}
|
|
28300
|
+
* @memberof SavedReportDtoFilters
|
|
28301
|
+
*/
|
|
28302
|
+
'a': ReportFiltersDtoA;
|
|
28303
|
+
/**
|
|
28304
|
+
*
|
|
28305
|
+
* @type {ReportFiltersDtoB}
|
|
28306
|
+
* @memberof SavedReportDtoFilters
|
|
28307
|
+
*/
|
|
28308
|
+
'b'?: ReportFiltersDtoB;
|
|
28309
|
+
}
|
|
28310
|
+
/**
|
|
28311
|
+
*
|
|
28312
|
+
* @export
|
|
28313
|
+
* @enum {string}
|
|
28314
|
+
*/
|
|
28315
|
+
export declare const SavedReportKind: {
|
|
28316
|
+
readonly Report: "report";
|
|
28317
|
+
readonly Comparison: "comparison";
|
|
28318
|
+
};
|
|
28319
|
+
export type SavedReportKind = typeof SavedReportKind[keyof typeof SavedReportKind];
|
|
28320
|
+
/**
|
|
28321
|
+
*
|
|
28322
|
+
* @export
|
|
28323
|
+
* @interface SavedReportListDto
|
|
28324
|
+
*/
|
|
28325
|
+
export interface SavedReportListDto {
|
|
28326
|
+
/**
|
|
28327
|
+
* The caller\'s own private reports and the shared ones, last saved first
|
|
28328
|
+
* @type {Array<SavedReportDto>}
|
|
28329
|
+
* @memberof SavedReportListDto
|
|
28330
|
+
*/
|
|
28331
|
+
'reports': Array<SavedReportDto>;
|
|
28332
|
+
/**
|
|
28333
|
+
* Send as after for the next page; null on the last page
|
|
28334
|
+
* @type {string}
|
|
28335
|
+
* @memberof SavedReportListDto
|
|
28336
|
+
*/
|
|
28337
|
+
'nextAfter': string | null;
|
|
28338
|
+
}
|
|
28339
|
+
/**
|
|
28340
|
+
*
|
|
28341
|
+
* @export
|
|
28342
|
+
* @enum {string}
|
|
28343
|
+
*/
|
|
28344
|
+
export declare const SavedReportVisibility: {
|
|
28345
|
+
readonly Private: "private";
|
|
28346
|
+
readonly Organisation: "organisation";
|
|
28347
|
+
readonly Public: "public";
|
|
28348
|
+
};
|
|
28349
|
+
export type SavedReportVisibility = typeof SavedReportVisibility[keyof typeof SavedReportVisibility];
|
|
27400
28350
|
/**
|
|
27401
28351
|
*
|
|
27402
28352
|
* @export
|
|
@@ -27596,6 +28546,68 @@ export interface SetEmployeeRoleDto {
|
|
|
27596
28546
|
*/
|
|
27597
28547
|
'roleId': string;
|
|
27598
28548
|
}
|
|
28549
|
+
/**
|
|
28550
|
+
*
|
|
28551
|
+
* @export
|
|
28552
|
+
* @interface SetReportScheduleDto
|
|
28553
|
+
*/
|
|
28554
|
+
export interface SetReportScheduleDto {
|
|
28555
|
+
/**
|
|
28556
|
+
*
|
|
28557
|
+
* @type {ReportCadence}
|
|
28558
|
+
* @memberof SetReportScheduleDto
|
|
28559
|
+
*/
|
|
28560
|
+
'cadence': ReportCadence;
|
|
28561
|
+
/**
|
|
28562
|
+
* The ISO weekday a weekly schedule sends on, 1 Monday to 7 Sunday; only for weekly
|
|
28563
|
+
* @type {number}
|
|
28564
|
+
* @memberof SetReportScheduleDto
|
|
28565
|
+
*/
|
|
28566
|
+
'weekday'?: number | null;
|
|
28567
|
+
/**
|
|
28568
|
+
* The time it sends at, HH:MM on the clock of timeZone
|
|
28569
|
+
* @type {string}
|
|
28570
|
+
* @memberof SetReportScheduleDto
|
|
28571
|
+
*/
|
|
28572
|
+
'time': string;
|
|
28573
|
+
/**
|
|
28574
|
+
* Who gets an email with a link to each run, any addresses, 0 to 20. An empty list emails nobody: each run is still saved under the report\'s past runs.
|
|
28575
|
+
* @type {Array<string>}
|
|
28576
|
+
* @memberof SetReportScheduleDto
|
|
28577
|
+
*/
|
|
28578
|
+
'recipients': Array<string>;
|
|
28579
|
+
/**
|
|
28580
|
+
* The IANA time zone time is read in. A store\'s schedule: absent is the store\'s own zone. An organisation\'s: required.
|
|
28581
|
+
* @type {string}
|
|
28582
|
+
* @memberof SetReportScheduleDto
|
|
28583
|
+
*/
|
|
28584
|
+
'timeZone'?: string;
|
|
28585
|
+
/**
|
|
28586
|
+
* The version the schedule was read at. Absent or null only to make the first; answered 409 when someone saved since, or when one already exists.
|
|
28587
|
+
* @type {number}
|
|
28588
|
+
* @memberof SetReportScheduleDto
|
|
28589
|
+
*/
|
|
28590
|
+
'expectedVersion'?: number | null;
|
|
28591
|
+
}
|
|
28592
|
+
/**
|
|
28593
|
+
*
|
|
28594
|
+
* @export
|
|
28595
|
+
* @interface SetSavedReportVisibilityDto
|
|
28596
|
+
*/
|
|
28597
|
+
export interface SetSavedReportVisibilityDto {
|
|
28598
|
+
/**
|
|
28599
|
+
*
|
|
28600
|
+
* @type {SavedReportVisibility}
|
|
28601
|
+
* @memberof SetSavedReportVisibilityDto
|
|
28602
|
+
*/
|
|
28603
|
+
'visibility': SavedReportVisibility;
|
|
28604
|
+
/**
|
|
28605
|
+
* The version the report was read at; answered 409 when someone saved it since
|
|
28606
|
+
* @type {number}
|
|
28607
|
+
* @memberof SetSavedReportVisibilityDto
|
|
28608
|
+
*/
|
|
28609
|
+
'expectedVersion': number;
|
|
28610
|
+
}
|
|
27599
28611
|
/**
|
|
27600
28612
|
*
|
|
27601
28613
|
* @export
|
|
@@ -32702,6 +33714,43 @@ export interface UpdateReservationStatusDto {
|
|
|
32702
33714
|
*/
|
|
32703
33715
|
'tableIds'?: Array<string>;
|
|
32704
33716
|
}
|
|
33717
|
+
/**
|
|
33718
|
+
*
|
|
33719
|
+
* @export
|
|
33720
|
+
* @interface UpdateSavedReportDto
|
|
33721
|
+
*/
|
|
33722
|
+
export interface UpdateSavedReportDto {
|
|
33723
|
+
/**
|
|
33724
|
+
*
|
|
33725
|
+
* @type {SavedReportKind}
|
|
33726
|
+
* @memberof UpdateSavedReportDto
|
|
33727
|
+
*/
|
|
33728
|
+
'kind': SavedReportKind;
|
|
33729
|
+
/**
|
|
33730
|
+
* The report\'s name, as people wrote it
|
|
33731
|
+
* @type {string}
|
|
33732
|
+
* @memberof UpdateSavedReportDto
|
|
33733
|
+
*/
|
|
33734
|
+
'name': string;
|
|
33735
|
+
/**
|
|
33736
|
+
* The cards in the order they are shown, at most 60; dashboard-one\'s own ids, kept as sent
|
|
33737
|
+
* @type {Array<AnalyticsDashboardCardDto>}
|
|
33738
|
+
* @memberof UpdateSavedReportDto
|
|
33739
|
+
*/
|
|
33740
|
+
'cards': Array<AnalyticsDashboardCardDto>;
|
|
33741
|
+
/**
|
|
33742
|
+
*
|
|
33743
|
+
* @type {SavedReportDtoFilters}
|
|
33744
|
+
* @memberof UpdateSavedReportDto
|
|
33745
|
+
*/
|
|
33746
|
+
'filters': SavedReportDtoFilters;
|
|
33747
|
+
/**
|
|
33748
|
+
* The version the report was read at; answered 409 when someone saved it since
|
|
33749
|
+
* @type {number}
|
|
33750
|
+
* @memberof UpdateSavedReportDto
|
|
33751
|
+
*/
|
|
33752
|
+
'expectedVersion': number;
|
|
33753
|
+
}
|
|
32705
33754
|
/**
|
|
32706
33755
|
*
|
|
32707
33756
|
* @export
|
|
@@ -49674,7 +50723,7 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49674
50723
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
49675
50724
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
49676
50725
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
49677
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
50726
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
49678
50727
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
49679
50728
|
* @param {*} [options] Override http request option.
|
|
49680
50729
|
* @throws {RequiredError}
|
|
@@ -49725,6 +50774,20 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49725
50774
|
* @throws {RequiredError}
|
|
49726
50775
|
*/
|
|
49727
50776
|
getSalesReportOrderTypes: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50777
|
+
/**
|
|
50778
|
+
* The period GET /api/v6/report/sales would read, for the same venues, apps and time zone (the venue\'s own unless timezone is sent), with the same access, from the daily till rows (daily_till_summary, daily_till_payments): each staff member\'s POS orders counted by the POS app\'s own end-of-day rules, added up over the period\'s whole business days. One group per venue and currency; breakdown is not taken, since a staff member is one venue\'s. Only the POS writes these rows, so an asked app other than pos adds nothing.
|
|
50779
|
+
* @summary The POS app\'s report per staff member: orders, sales, refunds, discounts, items, tips and payments by method
|
|
50780
|
+
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50781
|
+
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
50782
|
+
* @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
50783
|
+
* @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
50784
|
+
* @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\'s own (Business.timeZone)
|
|
50785
|
+
* @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
|
|
50786
|
+
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50787
|
+
* @param {*} [options] Override http request option.
|
|
50788
|
+
* @throws {RequiredError}
|
|
50789
|
+
*/
|
|
50790
|
+
getSalesReportStaff: (businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, language?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49728
50791
|
/**
|
|
49729
50792
|
* The report GET /api/v6/report/sales answers for the same query, with the same access, short enough to read whole: the same totals, orderCount, averageOrderValue, days, VAT, payments, discounts, comparison, changes and changesFromBaseline, every amount rounded to the currency\'s minor digits; with part items, each category\'s totals (with and without VAT) without its items, and topItemsBySales and topItemsByQuantity, the 10 best-selling items with an item of the same name in several categories added up once. For every item with its VAT, its net and its options, read GET /api/v6/report/sales.
|
|
49730
50793
|
* @summary Sales report of the venues and apps, short: totals, categories and best-selling items
|
|
@@ -49739,7 +50802,7 @@ export declare const ReportApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
49739
50802
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
49740
50803
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
49741
50804
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
49742
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
50805
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
49743
50806
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
49744
50807
|
* @param {*} [options] Override http request option.
|
|
49745
50808
|
* @throws {RequiredError}
|
|
@@ -49823,7 +50886,7 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
|
|
|
49823
50886
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
49824
50887
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
49825
50888
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
49826
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
50889
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
49827
50890
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
49828
50891
|
* @param {*} [options] Override http request option.
|
|
49829
50892
|
* @throws {RequiredError}
|
|
@@ -49874,6 +50937,20 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
|
|
|
49874
50937
|
* @throws {RequiredError}
|
|
49875
50938
|
*/
|
|
49876
50939
|
getSalesReportOrderTypes(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SalesReportOrderTypesResponseDto>>;
|
|
50940
|
+
/**
|
|
50941
|
+
* The period GET /api/v6/report/sales would read, for the same venues, apps and time zone (the venue\'s own unless timezone is sent), with the same access, from the daily till rows (daily_till_summary, daily_till_payments): each staff member\'s POS orders counted by the POS app\'s own end-of-day rules, added up over the period\'s whole business days. One group per venue and currency; breakdown is not taken, since a staff member is one venue\'s. Only the POS writes these rows, so an asked app other than pos adds nothing.
|
|
50942
|
+
* @summary The POS app\'s report per staff member: orders, sales, refunds, discounts, items, tips and payments by method
|
|
50943
|
+
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
50944
|
+
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
50945
|
+
* @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
50946
|
+
* @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
50947
|
+
* @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\'s own (Business.timeZone)
|
|
50948
|
+
* @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
|
|
50949
|
+
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50950
|
+
* @param {*} [options] Override http request option.
|
|
50951
|
+
* @throws {RequiredError}
|
|
50952
|
+
*/
|
|
50953
|
+
getSalesReportStaff(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, language?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SalesReportStaffResponseDto>>;
|
|
49877
50954
|
/**
|
|
49878
50955
|
* The report GET /api/v6/report/sales answers for the same query, with the same access, short enough to read whole: the same totals, orderCount, averageOrderValue, days, VAT, payments, discounts, comparison, changes and changesFromBaseline, every amount rounded to the currency\'s minor digits; with part items, each category\'s totals (with and without VAT) without its items, and topItemsBySales and topItemsByQuantity, the 10 best-selling items with an item of the same name in several categories added up once. For every item with its VAT, its net and its options, read GET /api/v6/report/sales.
|
|
49879
50956
|
* @summary Sales report of the venues and apps, short: totals, categories and best-selling items
|
|
@@ -49888,7 +50965,7 @@ export declare const ReportApiFp: (configuration?: Configuration) => {
|
|
|
49888
50965
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
49889
50966
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
49890
50967
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
49891
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
50968
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
49892
50969
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
49893
50970
|
* @param {*} [options] Override http request option.
|
|
49894
50971
|
* @throws {RequiredError}
|
|
@@ -49972,7 +51049,7 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
|
|
|
49972
51049
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
49973
51050
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
49974
51051
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
49975
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51052
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
49976
51053
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
49977
51054
|
* @param {*} [options] Override http request option.
|
|
49978
51055
|
* @throws {RequiredError}
|
|
@@ -50023,6 +51100,20 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
|
|
|
50023
51100
|
* @throws {RequiredError}
|
|
50024
51101
|
*/
|
|
50025
51102
|
getSalesReportOrderTypes(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, options?: any): AxiosPromise<SalesReportOrderTypesResponseDto>;
|
|
51103
|
+
/**
|
|
51104
|
+
* The period GET /api/v6/report/sales would read, for the same venues, apps and time zone (the venue\'s own unless timezone is sent), with the same access, from the daily till rows (daily_till_summary, daily_till_payments): each staff member\'s POS orders counted by the POS app\'s own end-of-day rules, added up over the period\'s whole business days. One group per venue and currency; breakdown is not taken, since a staff member is one venue\'s. Only the POS writes these rows, so an asked app other than pos adds nothing.
|
|
51105
|
+
* @summary The POS app\'s report per staff member: orders, sales, refunds, discounts, items, tips and payments by method
|
|
51106
|
+
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
51107
|
+
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
51108
|
+
* @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51109
|
+
* @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51110
|
+
* @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\'s own (Business.timeZone)
|
|
51111
|
+
* @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
|
|
51112
|
+
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
51113
|
+
* @param {*} [options] Override http request option.
|
|
51114
|
+
* @throws {RequiredError}
|
|
51115
|
+
*/
|
|
51116
|
+
getSalesReportStaff(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, language?: string, options?: any): AxiosPromise<SalesReportStaffResponseDto>;
|
|
50026
51117
|
/**
|
|
50027
51118
|
* The report GET /api/v6/report/sales answers for the same query, with the same access, short enough to read whole: the same totals, orderCount, averageOrderValue, days, VAT, payments, discounts, comparison, changes and changesFromBaseline, every amount rounded to the currency\'s minor digits; with part items, each category\'s totals (with and without VAT) without its items, and topItemsBySales and topItemsByQuantity, the 10 best-selling items with an item of the same name in several categories added up once. For every item with its VAT, its net and its options, read GET /api/v6/report/sales.
|
|
50028
51119
|
* @summary Sales report of the venues and apps, short: totals, categories and best-selling items
|
|
@@ -50037,7 +51128,7 @@ export declare const ReportApiFactory: (configuration?: Configuration, basePath?
|
|
|
50037
51128
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50038
51129
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
50039
51130
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
50040
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51131
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
50041
51132
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
50042
51133
|
* @param {*} [options] Override http request option.
|
|
50043
51134
|
* @throws {RequiredError}
|
|
@@ -50125,7 +51216,7 @@ export interface ReportApiInterface {
|
|
|
50125
51216
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50126
51217
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
50127
51218
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
50128
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51219
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
50129
51220
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
50130
51221
|
* @param {*} [options] Override http request option.
|
|
50131
51222
|
* @throws {RequiredError}
|
|
@@ -50180,6 +51271,21 @@ export interface ReportApiInterface {
|
|
|
50180
51271
|
* @memberof ReportApiInterface
|
|
50181
51272
|
*/
|
|
50182
51273
|
getSalesReportOrderTypes(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, options?: AxiosRequestConfig): AxiosPromise<SalesReportOrderTypesResponseDto>;
|
|
51274
|
+
/**
|
|
51275
|
+
* The period GET /api/v6/report/sales would read, for the same venues, apps and time zone (the venue\'s own unless timezone is sent), with the same access, from the daily till rows (daily_till_summary, daily_till_payments): each staff member\'s POS orders counted by the POS app\'s own end-of-day rules, added up over the period\'s whole business days. One group per venue and currency; breakdown is not taken, since a staff member is one venue\'s. Only the POS writes these rows, so an asked app other than pos adds nothing.
|
|
51276
|
+
* @summary The POS app\'s report per staff member: orders, sales, refunds, discounts, items, tips and payments by method
|
|
51277
|
+
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
51278
|
+
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
51279
|
+
* @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51280
|
+
* @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51281
|
+
* @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\'s own (Business.timeZone)
|
|
51282
|
+
* @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
|
|
51283
|
+
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
51284
|
+
* @param {*} [options] Override http request option.
|
|
51285
|
+
* @throws {RequiredError}
|
|
51286
|
+
* @memberof ReportApiInterface
|
|
51287
|
+
*/
|
|
51288
|
+
getSalesReportStaff(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, language?: string, options?: AxiosRequestConfig): AxiosPromise<SalesReportStaffResponseDto>;
|
|
50183
51289
|
/**
|
|
50184
51290
|
* The report GET /api/v6/report/sales answers for the same query, with the same access, short enough to read whole: the same totals, orderCount, averageOrderValue, days, VAT, payments, discounts, comparison, changes and changesFromBaseline, every amount rounded to the currency\'s minor digits; with part items, each category\'s totals (with and without VAT) without its items, and topItemsBySales and topItemsByQuantity, the 10 best-selling items with an item of the same name in several categories added up once. For every item with its VAT, its net and its options, read GET /api/v6/report/sales.
|
|
50185
51291
|
* @summary Sales report of the venues and apps, short: totals, categories and best-selling items
|
|
@@ -50194,7 +51300,7 @@ export interface ReportApiInterface {
|
|
|
50194
51300
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50195
51301
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
50196
51302
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
50197
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51303
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
50198
51304
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
50199
51305
|
* @param {*} [options] Override http request option.
|
|
50200
51306
|
* @throws {RequiredError}
|
|
@@ -50285,7 +51391,7 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
50285
51391
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50286
51392
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
50287
51393
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
50288
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51394
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
50289
51395
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
50290
51396
|
* @param {*} [options] Override http request option.
|
|
50291
51397
|
* @throws {RequiredError}
|
|
@@ -50340,6 +51446,21 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
50340
51446
|
* @memberof ReportApi
|
|
50341
51447
|
*/
|
|
50342
51448
|
getSalesReportOrderTypes(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, breakdown?: ReportBreakdown, language?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SalesReportOrderTypesResponseDto, any, {}>>;
|
|
51449
|
+
/**
|
|
51450
|
+
* The period GET /api/v6/report/sales would read, for the same venues, apps and time zone (the venue\'s own unless timezone is sent), with the same access, from the daily till rows (daily_till_summary, daily_till_payments): each staff member\'s POS orders counted by the POS app\'s own end-of-day rules, added up over the period\'s whole business days. One group per venue and currency; breakdown is not taken, since a staff member is one venue\'s. Only the POS writes these rows, so an asked app other than pos adds nothing.
|
|
51451
|
+
* @summary The POS app\'s report per staff member: orders, sales, refunds, discounts, items, tips and payments by method
|
|
51452
|
+
* @param {Array<number>} businessIds The venues asked about, by business id
|
|
51453
|
+
* @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
|
|
51454
|
+
* @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51455
|
+
* @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
|
|
51456
|
+
* @param {string} [timezone] The time zone the period is read in, IANA. Absent: the first venue\'s own (Business.timeZone)
|
|
51457
|
+
* @param {Array<ReportApp>} [apps] The apps to add up, the parameter repeated or a JSON list. Absent: all four
|
|
51458
|
+
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
51459
|
+
* @param {*} [options] Override http request option.
|
|
51460
|
+
* @throws {RequiredError}
|
|
51461
|
+
* @memberof ReportApi
|
|
51462
|
+
*/
|
|
51463
|
+
getSalesReportStaff(businessIds: Array<number>, timeSpan?: TimeSpan, start?: string, end?: string, timezone?: string, apps?: Array<ReportApp>, language?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SalesReportStaffResponseDto, any, {}>>;
|
|
50343
51464
|
/**
|
|
50344
51465
|
* The report GET /api/v6/report/sales answers for the same query, with the same access, short enough to read whole: the same totals, orderCount, averageOrderValue, days, VAT, payments, discounts, comparison, changes and changesFromBaseline, every amount rounded to the currency\'s minor digits; with part items, each category\'s totals (with and without VAT) without its items, and topItemsBySales and topItemsByQuantity, the 10 best-selling items with an item of the same name in several categories added up once. For every item with its VAT, its net and its options, read GET /api/v6/report/sales.
|
|
50345
51466
|
* @summary Sales report of the venues and apps, short: totals, categories and best-selling items
|
|
@@ -50354,7 +51475,7 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
50354
51475
|
* @param {string} [language] Accepted and not read, so a request copied from the portal\'s report works: the report has no text to translate
|
|
50355
51476
|
* @param {string} [compareStart] With compareEnd, compares the report with these whole days: each group then also answers comparison, the same group over them, and the change of every total worked out exactly. The first business day compared, YYYY-MM-DD, in the report\'s time zone; not later than today. Neither sent: no comparison, and the answer is as before. Sent without compareEnd: refused
|
|
50356
51477
|
* @param {string} [compareEnd] With compareStart: the last business day compared, YYYY-MM-DD, inclusive; a day later than today is read up to now. Sent without compareStart: refused
|
|
50357
|
-
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running,
|
|
51478
|
+
* @param {boolean} [compareSameTime] With compareStart and compareEnd, true compares up to the same time: while the report\'s last day is still running, the compared last day is added up only to the last full hour the data has reached on the report\'s last day, on each venue\'s own clock (today so far against that day until 14:00); its earlier days stay whole. The report\'s own period is never cut: its totals are those of the same report without compareSameTime, up to dataUntil. Each group whose compared day was cut answers comparison.comparedUntil. Only the compared totals are cut (comparison.salesReport\'s and comparison.paymentReport.summary\'s totals, totalDiscounts, orderCount, averageOrderValue, the changes and the compared day\'s dailyBreakdown); the lists (categories, items, VAT rates, payment methods, discounts) of the compared last day stay whole, since the hours hold totals only, not lines per item, payment method, VAT rate or discount. A day without hours yet is compared whole. Absent or false: the comparison is as before
|
|
50358
51479
|
* @param {string} [baseline] One group of the answer every other group is compared with: venue:<id> with breakdown venue, app:<app> with breakdown app, venue:<id>,app:<app> with breakdown venue_app. Every other group then answers changesFromBaseline (current: the group; previous: the baseline), of the main period only; a group in another currency than the baseline\'s answers changesFromBaselineLeftOut instead. Refused when the breakdown does not split on what it names, or it names a venue or app not asked
|
|
50359
51480
|
* @param {*} [options] Override http request option.
|
|
50360
51481
|
* @throws {RequiredError}
|
|
@@ -50377,6 +51498,653 @@ export declare class ReportApi extends BaseAPI implements ReportApiInterface {
|
|
|
50377
51498
|
*/
|
|
50378
51499
|
sendReportEmailV5(businessIds: Array<number>, timezone: string, sendReportEmailDto: SendReportEmailDto, timeSpan?: TimeSpan, start?: string, end?: string, provider?: ProviderEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
50379
51500
|
}
|
|
51501
|
+
/**
|
|
51502
|
+
* ReportSchedulesApi - axios parameter creator
|
|
51503
|
+
* @export
|
|
51504
|
+
*/
|
|
51505
|
+
export declare const ReportSchedulesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
51506
|
+
/**
|
|
51507
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51508
|
+
* @summary Download a file of a organisation\'s report run
|
|
51509
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51510
|
+
* @param {string} runId The run\'s id
|
|
51511
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51512
|
+
* @param {*} [options] Override http request option.
|
|
51513
|
+
* @throws {RequiredError}
|
|
51514
|
+
*/
|
|
51515
|
+
getOrganisationReportRunFile: (groupId: string, runId: string, format: FileFormat, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51516
|
+
/**
|
|
51517
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51518
|
+
* @summary Read when an organisation\'s saved report is emailed
|
|
51519
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51520
|
+
* @param {string} reportId The saved report\'s id
|
|
51521
|
+
* @param {*} [options] Override http request option.
|
|
51522
|
+
* @throws {RequiredError}
|
|
51523
|
+
*/
|
|
51524
|
+
getOrganisationSavedReportSchedule: (groupId: string, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51525
|
+
/**
|
|
51526
|
+
* dashboard-one\'s /reports/runs/{runId} page: the run\'s days, status, recipients and formats, and the store or organisation it belongs to, read from the run itself, so the page opens there and downloads its files through that scope\'s file route. Answered to whoever opens the run\'s report (a ready-made report\'s runs: its managers); 404 to anyone else.
|
|
51527
|
+
* @summary Read the report run an email links to
|
|
51528
|
+
* @param {string} runId The run\'s id
|
|
51529
|
+
* @param {*} [options] Override http request option.
|
|
51530
|
+
* @throws {RequiredError}
|
|
51531
|
+
*/
|
|
51532
|
+
getReportRun: (runId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51533
|
+
/**
|
|
51534
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51535
|
+
* @summary Read when a store\'s ready-made report is emailed
|
|
51536
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51537
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51538
|
+
* @param {*} [options] Override http request option.
|
|
51539
|
+
* @throws {RequiredError}
|
|
51540
|
+
*/
|
|
51541
|
+
getStoreReadyMadeReportSchedule: (businessId: number, readyMadeReport: ReadyMadeReport, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51542
|
+
/**
|
|
51543
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51544
|
+
* @summary Download a file of a store\'s report run
|
|
51545
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51546
|
+
* @param {string} runId The run\'s id
|
|
51547
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51548
|
+
* @param {*} [options] Override http request option.
|
|
51549
|
+
* @throws {RequiredError}
|
|
51550
|
+
*/
|
|
51551
|
+
getStoreReportRunFile: (businessId: number, runId: string, format: FileFormat, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51552
|
+
/**
|
|
51553
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51554
|
+
* @summary Read when a store\'s saved report is emailed
|
|
51555
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51556
|
+
* @param {string} reportId The saved report\'s id
|
|
51557
|
+
* @param {*} [options] Override http request option.
|
|
51558
|
+
* @throws {RequiredError}
|
|
51559
|
+
*/
|
|
51560
|
+
getStoreSavedReportSchedule: (businessId: number, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51561
|
+
/**
|
|
51562
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51563
|
+
* @summary List the past runs of an organisation\'s saved report
|
|
51564
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51565
|
+
* @param {string} reportId The saved report\'s id
|
|
51566
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51567
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51568
|
+
* @param {*} [options] Override http request option.
|
|
51569
|
+
* @throws {RequiredError}
|
|
51570
|
+
*/
|
|
51571
|
+
listOrganisationSavedReportRuns: (groupId: string, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51572
|
+
/**
|
|
51573
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51574
|
+
* @summary List the past runs of a store\'s ready-made report
|
|
51575
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51576
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51577
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51578
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51579
|
+
* @param {*} [options] Override http request option.
|
|
51580
|
+
* @throws {RequiredError}
|
|
51581
|
+
*/
|
|
51582
|
+
listStoreReadyMadeReportRuns: (businessId: number, readyMadeReport: ReadyMadeReport, limit?: number, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51583
|
+
/**
|
|
51584
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51585
|
+
* @summary List the past runs of a store\'s saved report
|
|
51586
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51587
|
+
* @param {string} reportId The saved report\'s id
|
|
51588
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51589
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51590
|
+
* @param {*} [options] Override http request option.
|
|
51591
|
+
* @throws {RequiredError}
|
|
51592
|
+
*/
|
|
51593
|
+
listStoreSavedReportRuns: (businessId: number, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51594
|
+
/**
|
|
51595
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51596
|
+
* @summary Set when an organisation\'s saved report is emailed
|
|
51597
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51598
|
+
* @param {string} reportId The saved report\'s id
|
|
51599
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51600
|
+
* @param {*} [options] Override http request option.
|
|
51601
|
+
* @throws {RequiredError}
|
|
51602
|
+
*/
|
|
51603
|
+
setOrganisationSavedReportSchedule: (groupId: string, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51604
|
+
/**
|
|
51605
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51606
|
+
* @summary Set when a store\'s ready-made report is emailed
|
|
51607
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51608
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51609
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51610
|
+
* @param {*} [options] Override http request option.
|
|
51611
|
+
* @throws {RequiredError}
|
|
51612
|
+
*/
|
|
51613
|
+
setStoreReadyMadeReportSchedule: (businessId: number, readyMadeReport: ReadyMadeReport, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51614
|
+
/**
|
|
51615
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51616
|
+
* @summary Set when a store\'s saved report is emailed
|
|
51617
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51618
|
+
* @param {string} reportId The saved report\'s id
|
|
51619
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51620
|
+
* @param {*} [options] Override http request option.
|
|
51621
|
+
* @throws {RequiredError}
|
|
51622
|
+
*/
|
|
51623
|
+
setStoreSavedReportSchedule: (businessId: number, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51624
|
+
};
|
|
51625
|
+
/**
|
|
51626
|
+
* ReportSchedulesApi - functional programming interface
|
|
51627
|
+
* @export
|
|
51628
|
+
*/
|
|
51629
|
+
export declare const ReportSchedulesApiFp: (configuration?: Configuration) => {
|
|
51630
|
+
/**
|
|
51631
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51632
|
+
* @summary Download a file of a organisation\'s report run
|
|
51633
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51634
|
+
* @param {string} runId The run\'s id
|
|
51635
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51636
|
+
* @param {*} [options] Override http request option.
|
|
51637
|
+
* @throws {RequiredError}
|
|
51638
|
+
*/
|
|
51639
|
+
getOrganisationReportRunFile(groupId: string, runId: string, format: FileFormat, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunFileDto>>;
|
|
51640
|
+
/**
|
|
51641
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51642
|
+
* @summary Read when an organisation\'s saved report is emailed
|
|
51643
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51644
|
+
* @param {string} reportId The saved report\'s id
|
|
51645
|
+
* @param {*} [options] Override http request option.
|
|
51646
|
+
* @throws {RequiredError}
|
|
51647
|
+
*/
|
|
51648
|
+
getOrganisationSavedReportSchedule(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51649
|
+
/**
|
|
51650
|
+
* dashboard-one\'s /reports/runs/{runId} page: the run\'s days, status, recipients and formats, and the store or organisation it belongs to, read from the run itself, so the page opens there and downloads its files through that scope\'s file route. Answered to whoever opens the run\'s report (a ready-made report\'s runs: its managers); 404 to anyone else.
|
|
51651
|
+
* @summary Read the report run an email links to
|
|
51652
|
+
* @param {string} runId The run\'s id
|
|
51653
|
+
* @param {*} [options] Override http request option.
|
|
51654
|
+
* @throws {RequiredError}
|
|
51655
|
+
*/
|
|
51656
|
+
getReportRun(runId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunOpenedDto>>;
|
|
51657
|
+
/**
|
|
51658
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51659
|
+
* @summary Read when a store\'s ready-made report is emailed
|
|
51660
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51661
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51662
|
+
* @param {*} [options] Override http request option.
|
|
51663
|
+
* @throws {RequiredError}
|
|
51664
|
+
*/
|
|
51665
|
+
getStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51666
|
+
/**
|
|
51667
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51668
|
+
* @summary Download a file of a store\'s report run
|
|
51669
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51670
|
+
* @param {string} runId The run\'s id
|
|
51671
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51672
|
+
* @param {*} [options] Override http request option.
|
|
51673
|
+
* @throws {RequiredError}
|
|
51674
|
+
*/
|
|
51675
|
+
getStoreReportRunFile(businessId: number, runId: string, format: FileFormat, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunFileDto>>;
|
|
51676
|
+
/**
|
|
51677
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51678
|
+
* @summary Read when a store\'s saved report is emailed
|
|
51679
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51680
|
+
* @param {string} reportId The saved report\'s id
|
|
51681
|
+
* @param {*} [options] Override http request option.
|
|
51682
|
+
* @throws {RequiredError}
|
|
51683
|
+
*/
|
|
51684
|
+
getStoreSavedReportSchedule(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51685
|
+
/**
|
|
51686
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51687
|
+
* @summary List the past runs of an organisation\'s saved report
|
|
51688
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51689
|
+
* @param {string} reportId The saved report\'s id
|
|
51690
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51691
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51692
|
+
* @param {*} [options] Override http request option.
|
|
51693
|
+
* @throws {RequiredError}
|
|
51694
|
+
*/
|
|
51695
|
+
listOrganisationSavedReportRuns(groupId: string, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunListDto>>;
|
|
51696
|
+
/**
|
|
51697
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51698
|
+
* @summary List the past runs of a store\'s ready-made report
|
|
51699
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51700
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51701
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51702
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51703
|
+
* @param {*} [options] Override http request option.
|
|
51704
|
+
* @throws {RequiredError}
|
|
51705
|
+
*/
|
|
51706
|
+
listStoreReadyMadeReportRuns(businessId: number, readyMadeReport: ReadyMadeReport, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunListDto>>;
|
|
51707
|
+
/**
|
|
51708
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51709
|
+
* @summary List the past runs of a store\'s saved report
|
|
51710
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51711
|
+
* @param {string} reportId The saved report\'s id
|
|
51712
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51713
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51714
|
+
* @param {*} [options] Override http request option.
|
|
51715
|
+
* @throws {RequiredError}
|
|
51716
|
+
*/
|
|
51717
|
+
listStoreSavedReportRuns(businessId: number, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportRunListDto>>;
|
|
51718
|
+
/**
|
|
51719
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51720
|
+
* @summary Set when an organisation\'s saved report is emailed
|
|
51721
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51722
|
+
* @param {string} reportId The saved report\'s id
|
|
51723
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51724
|
+
* @param {*} [options] Override http request option.
|
|
51725
|
+
* @throws {RequiredError}
|
|
51726
|
+
*/
|
|
51727
|
+
setOrganisationSavedReportSchedule(groupId: string, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51728
|
+
/**
|
|
51729
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51730
|
+
* @summary Set when a store\'s ready-made report is emailed
|
|
51731
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51732
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51733
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51734
|
+
* @param {*} [options] Override http request option.
|
|
51735
|
+
* @throws {RequiredError}
|
|
51736
|
+
*/
|
|
51737
|
+
setStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51738
|
+
/**
|
|
51739
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51740
|
+
* @summary Set when a store\'s saved report is emailed
|
|
51741
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51742
|
+
* @param {string} reportId The saved report\'s id
|
|
51743
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51744
|
+
* @param {*} [options] Override http request option.
|
|
51745
|
+
* @throws {RequiredError}
|
|
51746
|
+
*/
|
|
51747
|
+
setStoreSavedReportSchedule(businessId: number, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportScheduleDto>>;
|
|
51748
|
+
};
|
|
51749
|
+
/**
|
|
51750
|
+
* ReportSchedulesApi - factory interface
|
|
51751
|
+
* @export
|
|
51752
|
+
*/
|
|
51753
|
+
export declare const ReportSchedulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
51754
|
+
/**
|
|
51755
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51756
|
+
* @summary Download a file of a organisation\'s report run
|
|
51757
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51758
|
+
* @param {string} runId The run\'s id
|
|
51759
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51760
|
+
* @param {*} [options] Override http request option.
|
|
51761
|
+
* @throws {RequiredError}
|
|
51762
|
+
*/
|
|
51763
|
+
getOrganisationReportRunFile(groupId: string, runId: string, format: FileFormat, options?: any): AxiosPromise<ReportRunFileDto>;
|
|
51764
|
+
/**
|
|
51765
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51766
|
+
* @summary Read when an organisation\'s saved report is emailed
|
|
51767
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51768
|
+
* @param {string} reportId The saved report\'s id
|
|
51769
|
+
* @param {*} [options] Override http request option.
|
|
51770
|
+
* @throws {RequiredError}
|
|
51771
|
+
*/
|
|
51772
|
+
getOrganisationSavedReportSchedule(groupId: string, reportId: string, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51773
|
+
/**
|
|
51774
|
+
* dashboard-one\'s /reports/runs/{runId} page: the run\'s days, status, recipients and formats, and the store or organisation it belongs to, read from the run itself, so the page opens there and downloads its files through that scope\'s file route. Answered to whoever opens the run\'s report (a ready-made report\'s runs: its managers); 404 to anyone else.
|
|
51775
|
+
* @summary Read the report run an email links to
|
|
51776
|
+
* @param {string} runId The run\'s id
|
|
51777
|
+
* @param {*} [options] Override http request option.
|
|
51778
|
+
* @throws {RequiredError}
|
|
51779
|
+
*/
|
|
51780
|
+
getReportRun(runId: string, options?: any): AxiosPromise<ReportRunOpenedDto>;
|
|
51781
|
+
/**
|
|
51782
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51783
|
+
* @summary Read when a store\'s ready-made report is emailed
|
|
51784
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51785
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51786
|
+
* @param {*} [options] Override http request option.
|
|
51787
|
+
* @throws {RequiredError}
|
|
51788
|
+
*/
|
|
51789
|
+
getStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51790
|
+
/**
|
|
51791
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51792
|
+
* @summary Download a file of a store\'s report run
|
|
51793
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51794
|
+
* @param {string} runId The run\'s id
|
|
51795
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51796
|
+
* @param {*} [options] Override http request option.
|
|
51797
|
+
* @throws {RequiredError}
|
|
51798
|
+
*/
|
|
51799
|
+
getStoreReportRunFile(businessId: number, runId: string, format: FileFormat, options?: any): AxiosPromise<ReportRunFileDto>;
|
|
51800
|
+
/**
|
|
51801
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51802
|
+
* @summary Read when a store\'s saved report is emailed
|
|
51803
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51804
|
+
* @param {string} reportId The saved report\'s id
|
|
51805
|
+
* @param {*} [options] Override http request option.
|
|
51806
|
+
* @throws {RequiredError}
|
|
51807
|
+
*/
|
|
51808
|
+
getStoreSavedReportSchedule(businessId: number, reportId: string, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51809
|
+
/**
|
|
51810
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51811
|
+
* @summary List the past runs of an organisation\'s saved report
|
|
51812
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51813
|
+
* @param {string} reportId The saved report\'s id
|
|
51814
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51815
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51816
|
+
* @param {*} [options] Override http request option.
|
|
51817
|
+
* @throws {RequiredError}
|
|
51818
|
+
*/
|
|
51819
|
+
listOrganisationSavedReportRuns(groupId: string, reportId: string, limit?: number, after?: string, options?: any): AxiosPromise<ReportRunListDto>;
|
|
51820
|
+
/**
|
|
51821
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51822
|
+
* @summary List the past runs of a store\'s ready-made report
|
|
51823
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51824
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51825
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51826
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51827
|
+
* @param {*} [options] Override http request option.
|
|
51828
|
+
* @throws {RequiredError}
|
|
51829
|
+
*/
|
|
51830
|
+
listStoreReadyMadeReportRuns(businessId: number, readyMadeReport: ReadyMadeReport, limit?: number, after?: string, options?: any): AxiosPromise<ReportRunListDto>;
|
|
51831
|
+
/**
|
|
51832
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51833
|
+
* @summary List the past runs of a store\'s saved report
|
|
51834
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51835
|
+
* @param {string} reportId The saved report\'s id
|
|
51836
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51837
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51838
|
+
* @param {*} [options] Override http request option.
|
|
51839
|
+
* @throws {RequiredError}
|
|
51840
|
+
*/
|
|
51841
|
+
listStoreSavedReportRuns(businessId: number, reportId: string, limit?: number, after?: string, options?: any): AxiosPromise<ReportRunListDto>;
|
|
51842
|
+
/**
|
|
51843
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51844
|
+
* @summary Set when an organisation\'s saved report is emailed
|
|
51845
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51846
|
+
* @param {string} reportId The saved report\'s id
|
|
51847
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51848
|
+
* @param {*} [options] Override http request option.
|
|
51849
|
+
* @throws {RequiredError}
|
|
51850
|
+
*/
|
|
51851
|
+
setOrganisationSavedReportSchedule(groupId: string, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51852
|
+
/**
|
|
51853
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51854
|
+
* @summary Set when a store\'s ready-made report is emailed
|
|
51855
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51856
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51857
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51858
|
+
* @param {*} [options] Override http request option.
|
|
51859
|
+
* @throws {RequiredError}
|
|
51860
|
+
*/
|
|
51861
|
+
setStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, setReportScheduleDto: SetReportScheduleDto, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51862
|
+
/**
|
|
51863
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51864
|
+
* @summary Set when a store\'s saved report is emailed
|
|
51865
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51866
|
+
* @param {string} reportId The saved report\'s id
|
|
51867
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51868
|
+
* @param {*} [options] Override http request option.
|
|
51869
|
+
* @throws {RequiredError}
|
|
51870
|
+
*/
|
|
51871
|
+
setStoreSavedReportSchedule(businessId: number, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: any): AxiosPromise<ReportScheduleDto>;
|
|
51872
|
+
};
|
|
51873
|
+
/**
|
|
51874
|
+
* ReportSchedulesApi - interface
|
|
51875
|
+
* @export
|
|
51876
|
+
* @interface ReportSchedulesApi
|
|
51877
|
+
*/
|
|
51878
|
+
export interface ReportSchedulesApiInterface {
|
|
51879
|
+
/**
|
|
51880
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51881
|
+
* @summary Download a file of a organisation\'s report run
|
|
51882
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51883
|
+
* @param {string} runId The run\'s id
|
|
51884
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51885
|
+
* @param {*} [options] Override http request option.
|
|
51886
|
+
* @throws {RequiredError}
|
|
51887
|
+
* @memberof ReportSchedulesApiInterface
|
|
51888
|
+
*/
|
|
51889
|
+
getOrganisationReportRunFile(groupId: string, runId: string, format: FileFormat, options?: AxiosRequestConfig): AxiosPromise<ReportRunFileDto>;
|
|
51890
|
+
/**
|
|
51891
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51892
|
+
* @summary Read when an organisation\'s saved report is emailed
|
|
51893
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51894
|
+
* @param {string} reportId The saved report\'s id
|
|
51895
|
+
* @param {*} [options] Override http request option.
|
|
51896
|
+
* @throws {RequiredError}
|
|
51897
|
+
* @memberof ReportSchedulesApiInterface
|
|
51898
|
+
*/
|
|
51899
|
+
getOrganisationSavedReportSchedule(groupId: string, reportId: string, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
51900
|
+
/**
|
|
51901
|
+
* dashboard-one\'s /reports/runs/{runId} page: the run\'s days, status, recipients and formats, and the store or organisation it belongs to, read from the run itself, so the page opens there and downloads its files through that scope\'s file route. Answered to whoever opens the run\'s report (a ready-made report\'s runs: its managers); 404 to anyone else.
|
|
51902
|
+
* @summary Read the report run an email links to
|
|
51903
|
+
* @param {string} runId The run\'s id
|
|
51904
|
+
* @param {*} [options] Override http request option.
|
|
51905
|
+
* @throws {RequiredError}
|
|
51906
|
+
* @memberof ReportSchedulesApiInterface
|
|
51907
|
+
*/
|
|
51908
|
+
getReportRun(runId: string, options?: AxiosRequestConfig): AxiosPromise<ReportRunOpenedDto>;
|
|
51909
|
+
/**
|
|
51910
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51911
|
+
* @summary Read when a store\'s ready-made report is emailed
|
|
51912
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51913
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51914
|
+
* @param {*} [options] Override http request option.
|
|
51915
|
+
* @throws {RequiredError}
|
|
51916
|
+
* @memberof ReportSchedulesApiInterface
|
|
51917
|
+
*/
|
|
51918
|
+
getStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
51919
|
+
/**
|
|
51920
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
51921
|
+
* @summary Download a file of a store\'s report run
|
|
51922
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51923
|
+
* @param {string} runId The run\'s id
|
|
51924
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
51925
|
+
* @param {*} [options] Override http request option.
|
|
51926
|
+
* @throws {RequiredError}
|
|
51927
|
+
* @memberof ReportSchedulesApiInterface
|
|
51928
|
+
*/
|
|
51929
|
+
getStoreReportRunFile(businessId: number, runId: string, format: FileFormat, options?: AxiosRequestConfig): AxiosPromise<ReportRunFileDto>;
|
|
51930
|
+
/**
|
|
51931
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
51932
|
+
* @summary Read when a store\'s saved report is emailed
|
|
51933
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51934
|
+
* @param {string} reportId The saved report\'s id
|
|
51935
|
+
* @param {*} [options] Override http request option.
|
|
51936
|
+
* @throws {RequiredError}
|
|
51937
|
+
* @memberof ReportSchedulesApiInterface
|
|
51938
|
+
*/
|
|
51939
|
+
getStoreSavedReportSchedule(businessId: number, reportId: string, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
51940
|
+
/**
|
|
51941
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51942
|
+
* @summary List the past runs of an organisation\'s saved report
|
|
51943
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51944
|
+
* @param {string} reportId The saved report\'s id
|
|
51945
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51946
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51947
|
+
* @param {*} [options] Override http request option.
|
|
51948
|
+
* @throws {RequiredError}
|
|
51949
|
+
* @memberof ReportSchedulesApiInterface
|
|
51950
|
+
*/
|
|
51951
|
+
listOrganisationSavedReportRuns(groupId: string, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): AxiosPromise<ReportRunListDto>;
|
|
51952
|
+
/**
|
|
51953
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51954
|
+
* @summary List the past runs of a store\'s ready-made report
|
|
51955
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51956
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51957
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51958
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51959
|
+
* @param {*} [options] Override http request option.
|
|
51960
|
+
* @throws {RequiredError}
|
|
51961
|
+
* @memberof ReportSchedulesApiInterface
|
|
51962
|
+
*/
|
|
51963
|
+
listStoreReadyMadeReportRuns(businessId: number, readyMadeReport: ReadyMadeReport, limit?: number, after?: string, options?: AxiosRequestConfig): AxiosPromise<ReportRunListDto>;
|
|
51964
|
+
/**
|
|
51965
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
51966
|
+
* @summary List the past runs of a store\'s saved report
|
|
51967
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51968
|
+
* @param {string} reportId The saved report\'s id
|
|
51969
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
51970
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
51971
|
+
* @param {*} [options] Override http request option.
|
|
51972
|
+
* @throws {RequiredError}
|
|
51973
|
+
* @memberof ReportSchedulesApiInterface
|
|
51974
|
+
*/
|
|
51975
|
+
listStoreSavedReportRuns(businessId: number, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): AxiosPromise<ReportRunListDto>;
|
|
51976
|
+
/**
|
|
51977
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51978
|
+
* @summary Set when an organisation\'s saved report is emailed
|
|
51979
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
51980
|
+
* @param {string} reportId The saved report\'s id
|
|
51981
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51982
|
+
* @param {*} [options] Override http request option.
|
|
51983
|
+
* @throws {RequiredError}
|
|
51984
|
+
* @memberof ReportSchedulesApiInterface
|
|
51985
|
+
*/
|
|
51986
|
+
setOrganisationSavedReportSchedule(groupId: string, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
51987
|
+
/**
|
|
51988
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
51989
|
+
* @summary Set when a store\'s ready-made report is emailed
|
|
51990
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
51991
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
51992
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
51993
|
+
* @param {*} [options] Override http request option.
|
|
51994
|
+
* @throws {RequiredError}
|
|
51995
|
+
* @memberof ReportSchedulesApiInterface
|
|
51996
|
+
*/
|
|
51997
|
+
setStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
51998
|
+
/**
|
|
51999
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
52000
|
+
* @summary Set when a store\'s saved report is emailed
|
|
52001
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52002
|
+
* @param {string} reportId The saved report\'s id
|
|
52003
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
52004
|
+
* @param {*} [options] Override http request option.
|
|
52005
|
+
* @throws {RequiredError}
|
|
52006
|
+
* @memberof ReportSchedulesApiInterface
|
|
52007
|
+
*/
|
|
52008
|
+
setStoreSavedReportSchedule(businessId: number, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): AxiosPromise<ReportScheduleDto>;
|
|
52009
|
+
}
|
|
52010
|
+
/**
|
|
52011
|
+
* ReportSchedulesApi - object-oriented interface
|
|
52012
|
+
* @export
|
|
52013
|
+
* @class ReportSchedulesApi
|
|
52014
|
+
* @extends {BaseAPI}
|
|
52015
|
+
*/
|
|
52016
|
+
export declare class ReportSchedulesApi extends BaseAPI implements ReportSchedulesApiInterface {
|
|
52017
|
+
/**
|
|
52018
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
52019
|
+
* @summary Download a file of a organisation\'s report run
|
|
52020
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
52021
|
+
* @param {string} runId The run\'s id
|
|
52022
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
52023
|
+
* @param {*} [options] Override http request option.
|
|
52024
|
+
* @throws {RequiredError}
|
|
52025
|
+
* @memberof ReportSchedulesApi
|
|
52026
|
+
*/
|
|
52027
|
+
getOrganisationReportRunFile(groupId: string, runId: string, format: FileFormat, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunFileDto, any, {}>>;
|
|
52028
|
+
/**
|
|
52029
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
52030
|
+
* @summary Read when an organisation\'s saved report is emailed
|
|
52031
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
52032
|
+
* @param {string} reportId The saved report\'s id
|
|
52033
|
+
* @param {*} [options] Override http request option.
|
|
52034
|
+
* @throws {RequiredError}
|
|
52035
|
+
* @memberof ReportSchedulesApi
|
|
52036
|
+
*/
|
|
52037
|
+
getOrganisationSavedReportSchedule(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52038
|
+
/**
|
|
52039
|
+
* dashboard-one\'s /reports/runs/{runId} page: the run\'s days, status, recipients and formats, and the store or organisation it belongs to, read from the run itself, so the page opens there and downloads its files through that scope\'s file route. Answered to whoever opens the run\'s report (a ready-made report\'s runs: its managers); 404 to anyone else.
|
|
52040
|
+
* @summary Read the report run an email links to
|
|
52041
|
+
* @param {string} runId The run\'s id
|
|
52042
|
+
* @param {*} [options] Override http request option.
|
|
52043
|
+
* @throws {RequiredError}
|
|
52044
|
+
* @memberof ReportSchedulesApi
|
|
52045
|
+
*/
|
|
52046
|
+
getReportRun(runId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunOpenedDto, any, {}>>;
|
|
52047
|
+
/**
|
|
52048
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
52049
|
+
* @summary Read when a store\'s ready-made report is emailed
|
|
52050
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52051
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
52052
|
+
* @param {*} [options] Override http request option.
|
|
52053
|
+
* @throws {RequiredError}
|
|
52054
|
+
* @memberof ReportSchedulesApi
|
|
52055
|
+
*/
|
|
52056
|
+
getStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52057
|
+
/**
|
|
52058
|
+
* A signed address that downloads the run\'s PDF or Excel file for 15 minutes, to whoever opens the run\'s report.
|
|
52059
|
+
* @summary Download a file of a store\'s report run
|
|
52060
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52061
|
+
* @param {string} runId The run\'s id
|
|
52062
|
+
* @param {FileFormat} format Which of the run\'s files
|
|
52063
|
+
* @param {*} [options] Override http request option.
|
|
52064
|
+
* @throws {RequiredError}
|
|
52065
|
+
* @memberof ReportSchedulesApi
|
|
52066
|
+
*/
|
|
52067
|
+
getStoreReportRunFile(businessId: number, runId: string, format: FileFormat, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunFileDto, any, {}>>;
|
|
52068
|
+
/**
|
|
52069
|
+
* Its schedule: cadence, time and zone, recipients and when it next sends. 404 when none is saved. Managers only.
|
|
52070
|
+
* @summary Read when a store\'s saved report is emailed
|
|
52071
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52072
|
+
* @param {string} reportId The saved report\'s id
|
|
52073
|
+
* @param {*} [options] Override http request option.
|
|
52074
|
+
* @throws {RequiredError}
|
|
52075
|
+
* @memberof ReportSchedulesApi
|
|
52076
|
+
*/
|
|
52077
|
+
getStoreSavedReportSchedule(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52078
|
+
/**
|
|
52079
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
52080
|
+
* @summary List the past runs of an organisation\'s saved report
|
|
52081
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
52082
|
+
* @param {string} reportId The saved report\'s id
|
|
52083
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
52084
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
52085
|
+
* @param {*} [options] Override http request option.
|
|
52086
|
+
* @throws {RequiredError}
|
|
52087
|
+
* @memberof ReportSchedulesApi
|
|
52088
|
+
*/
|
|
52089
|
+
listOrganisationSavedReportRuns(groupId: string, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunListDto, any, {}>>;
|
|
52090
|
+
/**
|
|
52091
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
52092
|
+
* @summary List the past runs of a store\'s ready-made report
|
|
52093
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52094
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
52095
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
52096
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
52097
|
+
* @param {*} [options] Override http request option.
|
|
52098
|
+
* @throws {RequiredError}
|
|
52099
|
+
* @memberof ReportSchedulesApi
|
|
52100
|
+
*/
|
|
52101
|
+
listStoreReadyMadeReportRuns(businessId: number, readyMadeReport: ReadyMadeReport, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunListDto, any, {}>>;
|
|
52102
|
+
/**
|
|
52103
|
+
* Every time it was emailed, newest first, a page at a time: the days it covered, who it went to and the files it kept.
|
|
52104
|
+
* @summary List the past runs of a store\'s saved report
|
|
52105
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52106
|
+
* @param {string} reportId The saved report\'s id
|
|
52107
|
+
* @param {number} [limit] At most this many runs, 1 to 100. Absent: 30
|
|
52108
|
+
* @param {string} [after] The id of the last run of the page before; the list goes on after it
|
|
52109
|
+
* @param {*} [options] Override http request option.
|
|
52110
|
+
* @throws {RequiredError}
|
|
52111
|
+
* @memberof ReportSchedulesApi
|
|
52112
|
+
*/
|
|
52113
|
+
listStoreSavedReportRuns(businessId: number, reportId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportRunListDto, any, {}>>;
|
|
52114
|
+
/**
|
|
52115
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
52116
|
+
* @summary Set when an organisation\'s saved report is emailed
|
|
52117
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
52118
|
+
* @param {string} reportId The saved report\'s id
|
|
52119
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
52120
|
+
* @param {*} [options] Override http request option.
|
|
52121
|
+
* @throws {RequiredError}
|
|
52122
|
+
* @memberof ReportSchedulesApi
|
|
52123
|
+
*/
|
|
52124
|
+
setOrganisationSavedReportSchedule(groupId: string, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52125
|
+
/**
|
|
52126
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
52127
|
+
* @summary Set when a store\'s ready-made report is emailed
|
|
52128
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52129
|
+
* @param {ReadyMadeReport} readyMadeReport The ready-made report
|
|
52130
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
52131
|
+
* @param {*} [options] Override http request option.
|
|
52132
|
+
* @throws {RequiredError}
|
|
52133
|
+
* @memberof ReportSchedulesApi
|
|
52134
|
+
*/
|
|
52135
|
+
setStoreReadyMadeReportSchedule(businessId: number, readyMadeReport: ReadyMadeReport, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52136
|
+
/**
|
|
52137
|
+
* Replaces its schedule. The first save, without expectedVersion, makes it; every later one sends the version it read (409 when stale). Each run is saved under the report\'s past runs (a ready-made report\'s with its PDF and Excel files) and emails each recipient, if any, a link to it in dashboard-one. Off keeps the schedule without sending. Managers only.
|
|
52138
|
+
* @summary Set when a store\'s saved report is emailed
|
|
52139
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
52140
|
+
* @param {string} reportId The saved report\'s id
|
|
52141
|
+
* @param {SetReportScheduleDto} setReportScheduleDto
|
|
52142
|
+
* @param {*} [options] Override http request option.
|
|
52143
|
+
* @throws {RequiredError}
|
|
52144
|
+
* @memberof ReportSchedulesApi
|
|
52145
|
+
*/
|
|
52146
|
+
setStoreSavedReportSchedule(businessId: number, reportId: string, setReportScheduleDto: SetReportScheduleDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportScheduleDto, any, {}>>;
|
|
52147
|
+
}
|
|
50380
52148
|
/**
|
|
50381
52149
|
* ReportV6Api - axios parameter creator
|
|
50382
52150
|
* @export
|
|
@@ -51372,6 +53140,779 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
|
|
|
51372
53140
|
*/
|
|
51373
53141
|
updateReservationStatus(id: string, businessId: number, updateReservationStatusDto: UpdateReservationStatusDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationResponseDto, any, {}>>;
|
|
51374
53142
|
}
|
|
53143
|
+
/**
|
|
53144
|
+
* SavedReportsApi - axios parameter creator
|
|
53145
|
+
* @export
|
|
53146
|
+
*/
|
|
53147
|
+
export declare const SavedReportsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
53148
|
+
/**
|
|
53149
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53150
|
+
* @summary Save a report or a comparison of a organisation
|
|
53151
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53152
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53153
|
+
* @param {*} [options] Override http request option.
|
|
53154
|
+
* @throws {RequiredError}
|
|
53155
|
+
*/
|
|
53156
|
+
createOrganisationSavedReport: (groupId: string, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53157
|
+
/**
|
|
53158
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53159
|
+
* @summary Save a report or a comparison of a store
|
|
53160
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53161
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53162
|
+
* @param {*} [options] Override http request option.
|
|
53163
|
+
* @throws {RequiredError}
|
|
53164
|
+
*/
|
|
53165
|
+
createStoreSavedReport: (businessId: number, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53166
|
+
/**
|
|
53167
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53168
|
+
* @summary Delete a saved report of a organisation
|
|
53169
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53170
|
+
* @param {string} reportId The saved report\'s id
|
|
53171
|
+
* @param {*} [options] Override http request option.
|
|
53172
|
+
* @throws {RequiredError}
|
|
53173
|
+
*/
|
|
53174
|
+
deleteOrganisationSavedReport: (groupId: string, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53175
|
+
/**
|
|
53176
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53177
|
+
* @summary Delete a saved report of a store
|
|
53178
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53179
|
+
* @param {string} reportId The saved report\'s id
|
|
53180
|
+
* @param {*} [options] Override http request option.
|
|
53181
|
+
* @throws {RequiredError}
|
|
53182
|
+
*/
|
|
53183
|
+
deleteStoreSavedReport: (businessId: number, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53184
|
+
/**
|
|
53185
|
+
* A private copy owned by the person, in the same organisation, under the name sent. Managers only.
|
|
53186
|
+
* @summary Copy a saved report of a organisation
|
|
53187
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53188
|
+
* @param {string} reportId The saved report\'s id
|
|
53189
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53190
|
+
* @param {*} [options] Override http request option.
|
|
53191
|
+
* @throws {RequiredError}
|
|
53192
|
+
*/
|
|
53193
|
+
duplicateOrganisationSavedReport: (groupId: string, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53194
|
+
/**
|
|
53195
|
+
* A private copy owned by the person, in the same store, under the name sent. Managers only.
|
|
53196
|
+
* @summary Copy a saved report of a store
|
|
53197
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53198
|
+
* @param {string} reportId The saved report\'s id
|
|
53199
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53200
|
+
* @param {*} [options] Override http request option.
|
|
53201
|
+
* @throws {RequiredError}
|
|
53202
|
+
*/
|
|
53203
|
+
duplicateStoreSavedReport: (businessId: number, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53204
|
+
/**
|
|
53205
|
+
* A report the person sees: their own, or one shared with the organisation.
|
|
53206
|
+
* @summary Read one saved report of a organisation
|
|
53207
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53208
|
+
* @param {string} reportId The saved report\'s id
|
|
53209
|
+
* @param {*} [options] Override http request option.
|
|
53210
|
+
* @throws {RequiredError}
|
|
53211
|
+
*/
|
|
53212
|
+
getOrganisationSavedReport: (groupId: string, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53213
|
+
/**
|
|
53214
|
+
* No sign-in. The report\'s name, kind, cards and filters, and the store or organisation whose data it reads; never its data, whose reads stay behind sign-in. 404 when no report is public under that token (never made public, made private again, or published again with a new link).
|
|
53215
|
+
* @summary Read a public report by its link
|
|
53216
|
+
* @param {string} token The public link\'s token, 43 characters
|
|
53217
|
+
* @param {*} [options] Override http request option.
|
|
53218
|
+
* @throws {RequiredError}
|
|
53219
|
+
*/
|
|
53220
|
+
getPublicSavedReport: (token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53221
|
+
/**
|
|
53222
|
+
* A report the person sees: their own, or one shared with the store.
|
|
53223
|
+
* @summary Read one saved report of a store
|
|
53224
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53225
|
+
* @param {string} reportId The saved report\'s id
|
|
53226
|
+
* @param {*} [options] Override http request option.
|
|
53227
|
+
* @throws {RequiredError}
|
|
53228
|
+
*/
|
|
53229
|
+
getStoreSavedReport: (businessId: number, reportId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53230
|
+
/**
|
|
53231
|
+
* The person\'s own private reports and every report shared with the organisation, last saved first, a page at a time.
|
|
53232
|
+
* @summary List the saved reports the person sees of a organisation
|
|
53233
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53234
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53235
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53236
|
+
* @param {*} [options] Override http request option.
|
|
53237
|
+
* @throws {RequiredError}
|
|
53238
|
+
*/
|
|
53239
|
+
listOrganisationSavedReports: (groupId: string, limit?: number, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53240
|
+
/**
|
|
53241
|
+
* The person\'s own private reports and every report shared with the store, last saved first, a page at a time.
|
|
53242
|
+
* @summary List the saved reports the person sees of a store
|
|
53243
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53244
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53245
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53246
|
+
* @param {*} [options] Override http request option.
|
|
53247
|
+
* @throws {RequiredError}
|
|
53248
|
+
*/
|
|
53249
|
+
listStoreSavedReports: (businessId: number, limit?: number, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53250
|
+
/**
|
|
53251
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53252
|
+
* @summary Set who sees a saved report of a organisation
|
|
53253
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53254
|
+
* @param {string} reportId The saved report\'s id
|
|
53255
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53256
|
+
* @param {*} [options] Override http request option.
|
|
53257
|
+
* @throws {RequiredError}
|
|
53258
|
+
*/
|
|
53259
|
+
setOrganisationSavedReportVisibility: (groupId: string, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53260
|
+
/**
|
|
53261
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53262
|
+
* @summary Set who sees a saved report of a store
|
|
53263
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53264
|
+
* @param {string} reportId The saved report\'s id
|
|
53265
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53266
|
+
* @param {*} [options] Override http request option.
|
|
53267
|
+
* @throws {RequiredError}
|
|
53268
|
+
*/
|
|
53269
|
+
setStoreSavedReportVisibility: (businessId: number, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53270
|
+
/**
|
|
53271
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53272
|
+
* @summary Replace a saved report\'s name, cards and filters of a organisation
|
|
53273
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53274
|
+
* @param {string} reportId The saved report\'s id
|
|
53275
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53276
|
+
* @param {*} [options] Override http request option.
|
|
53277
|
+
* @throws {RequiredError}
|
|
53278
|
+
*/
|
|
53279
|
+
updateOrganisationSavedReport: (groupId: string, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53280
|
+
/**
|
|
53281
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53282
|
+
* @summary Replace a saved report\'s name, cards and filters of a store
|
|
53283
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53284
|
+
* @param {string} reportId The saved report\'s id
|
|
53285
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53286
|
+
* @param {*} [options] Override http request option.
|
|
53287
|
+
* @throws {RequiredError}
|
|
53288
|
+
*/
|
|
53289
|
+
updateStoreSavedReport: (businessId: number, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53290
|
+
};
|
|
53291
|
+
/**
|
|
53292
|
+
* SavedReportsApi - functional programming interface
|
|
53293
|
+
* @export
|
|
53294
|
+
*/
|
|
53295
|
+
export declare const SavedReportsApiFp: (configuration?: Configuration) => {
|
|
53296
|
+
/**
|
|
53297
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53298
|
+
* @summary Save a report or a comparison of a organisation
|
|
53299
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53300
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53301
|
+
* @param {*} [options] Override http request option.
|
|
53302
|
+
* @throws {RequiredError}
|
|
53303
|
+
*/
|
|
53304
|
+
createOrganisationSavedReport(groupId: string, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53305
|
+
/**
|
|
53306
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53307
|
+
* @summary Save a report or a comparison of a store
|
|
53308
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53309
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53310
|
+
* @param {*} [options] Override http request option.
|
|
53311
|
+
* @throws {RequiredError}
|
|
53312
|
+
*/
|
|
53313
|
+
createStoreSavedReport(businessId: number, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53314
|
+
/**
|
|
53315
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53316
|
+
* @summary Delete a saved report of a organisation
|
|
53317
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53318
|
+
* @param {string} reportId The saved report\'s id
|
|
53319
|
+
* @param {*} [options] Override http request option.
|
|
53320
|
+
* @throws {RequiredError}
|
|
53321
|
+
*/
|
|
53322
|
+
deleteOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53323
|
+
/**
|
|
53324
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53325
|
+
* @summary Delete a saved report of a store
|
|
53326
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53327
|
+
* @param {string} reportId The saved report\'s id
|
|
53328
|
+
* @param {*} [options] Override http request option.
|
|
53329
|
+
* @throws {RequiredError}
|
|
53330
|
+
*/
|
|
53331
|
+
deleteStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53332
|
+
/**
|
|
53333
|
+
* A private copy owned by the person, in the same organisation, under the name sent. Managers only.
|
|
53334
|
+
* @summary Copy a saved report of a organisation
|
|
53335
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53336
|
+
* @param {string} reportId The saved report\'s id
|
|
53337
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53338
|
+
* @param {*} [options] Override http request option.
|
|
53339
|
+
* @throws {RequiredError}
|
|
53340
|
+
*/
|
|
53341
|
+
duplicateOrganisationSavedReport(groupId: string, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53342
|
+
/**
|
|
53343
|
+
* A private copy owned by the person, in the same store, under the name sent. Managers only.
|
|
53344
|
+
* @summary Copy a saved report of a store
|
|
53345
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53346
|
+
* @param {string} reportId The saved report\'s id
|
|
53347
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53348
|
+
* @param {*} [options] Override http request option.
|
|
53349
|
+
* @throws {RequiredError}
|
|
53350
|
+
*/
|
|
53351
|
+
duplicateStoreSavedReport(businessId: number, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53352
|
+
/**
|
|
53353
|
+
* A report the person sees: their own, or one shared with the organisation.
|
|
53354
|
+
* @summary Read one saved report of a organisation
|
|
53355
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53356
|
+
* @param {string} reportId The saved report\'s id
|
|
53357
|
+
* @param {*} [options] Override http request option.
|
|
53358
|
+
* @throws {RequiredError}
|
|
53359
|
+
*/
|
|
53360
|
+
getOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53361
|
+
/**
|
|
53362
|
+
* No sign-in. The report\'s name, kind, cards and filters, and the store or organisation whose data it reads; never its data, whose reads stay behind sign-in. 404 when no report is public under that token (never made public, made private again, or published again with a new link).
|
|
53363
|
+
* @summary Read a public report by its link
|
|
53364
|
+
* @param {string} token The public link\'s token, 43 characters
|
|
53365
|
+
* @param {*} [options] Override http request option.
|
|
53366
|
+
* @throws {RequiredError}
|
|
53367
|
+
*/
|
|
53368
|
+
getPublicSavedReport(token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSavedReportDto>>;
|
|
53369
|
+
/**
|
|
53370
|
+
* A report the person sees: their own, or one shared with the store.
|
|
53371
|
+
* @summary Read one saved report of a store
|
|
53372
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53373
|
+
* @param {string} reportId The saved report\'s id
|
|
53374
|
+
* @param {*} [options] Override http request option.
|
|
53375
|
+
* @throws {RequiredError}
|
|
53376
|
+
*/
|
|
53377
|
+
getStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53378
|
+
/**
|
|
53379
|
+
* The person\'s own private reports and every report shared with the organisation, last saved first, a page at a time.
|
|
53380
|
+
* @summary List the saved reports the person sees of a organisation
|
|
53381
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53382
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53383
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53384
|
+
* @param {*} [options] Override http request option.
|
|
53385
|
+
* @throws {RequiredError}
|
|
53386
|
+
*/
|
|
53387
|
+
listOrganisationSavedReports(groupId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportListDto>>;
|
|
53388
|
+
/**
|
|
53389
|
+
* The person\'s own private reports and every report shared with the store, last saved first, a page at a time.
|
|
53390
|
+
* @summary List the saved reports the person sees of a store
|
|
53391
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53392
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53393
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53394
|
+
* @param {*} [options] Override http request option.
|
|
53395
|
+
* @throws {RequiredError}
|
|
53396
|
+
*/
|
|
53397
|
+
listStoreSavedReports(businessId: number, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportListDto>>;
|
|
53398
|
+
/**
|
|
53399
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53400
|
+
* @summary Set who sees a saved report of a organisation
|
|
53401
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53402
|
+
* @param {string} reportId The saved report\'s id
|
|
53403
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53404
|
+
* @param {*} [options] Override http request option.
|
|
53405
|
+
* @throws {RequiredError}
|
|
53406
|
+
*/
|
|
53407
|
+
setOrganisationSavedReportVisibility(groupId: string, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53408
|
+
/**
|
|
53409
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53410
|
+
* @summary Set who sees a saved report of a store
|
|
53411
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53412
|
+
* @param {string} reportId The saved report\'s id
|
|
53413
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53414
|
+
* @param {*} [options] Override http request option.
|
|
53415
|
+
* @throws {RequiredError}
|
|
53416
|
+
*/
|
|
53417
|
+
setStoreSavedReportVisibility(businessId: number, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53418
|
+
/**
|
|
53419
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53420
|
+
* @summary Replace a saved report\'s name, cards and filters of a organisation
|
|
53421
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53422
|
+
* @param {string} reportId The saved report\'s id
|
|
53423
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53424
|
+
* @param {*} [options] Override http request option.
|
|
53425
|
+
* @throws {RequiredError}
|
|
53426
|
+
*/
|
|
53427
|
+
updateOrganisationSavedReport(groupId: string, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53428
|
+
/**
|
|
53429
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53430
|
+
* @summary Replace a saved report\'s name, cards and filters of a store
|
|
53431
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53432
|
+
* @param {string} reportId The saved report\'s id
|
|
53433
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53434
|
+
* @param {*} [options] Override http request option.
|
|
53435
|
+
* @throws {RequiredError}
|
|
53436
|
+
*/
|
|
53437
|
+
updateStoreSavedReport(businessId: number, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedReportDto>>;
|
|
53438
|
+
};
|
|
53439
|
+
/**
|
|
53440
|
+
* SavedReportsApi - factory interface
|
|
53441
|
+
* @export
|
|
53442
|
+
*/
|
|
53443
|
+
export declare const SavedReportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
53444
|
+
/**
|
|
53445
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53446
|
+
* @summary Save a report or a comparison of a organisation
|
|
53447
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53448
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53449
|
+
* @param {*} [options] Override http request option.
|
|
53450
|
+
* @throws {RequiredError}
|
|
53451
|
+
*/
|
|
53452
|
+
createOrganisationSavedReport(groupId: string, createSavedReportDto: CreateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53453
|
+
/**
|
|
53454
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53455
|
+
* @summary Save a report or a comparison of a store
|
|
53456
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53457
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53458
|
+
* @param {*} [options] Override http request option.
|
|
53459
|
+
* @throws {RequiredError}
|
|
53460
|
+
*/
|
|
53461
|
+
createStoreSavedReport(businessId: number, createSavedReportDto: CreateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53462
|
+
/**
|
|
53463
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53464
|
+
* @summary Delete a saved report of a organisation
|
|
53465
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53466
|
+
* @param {string} reportId The saved report\'s id
|
|
53467
|
+
* @param {*} [options] Override http request option.
|
|
53468
|
+
* @throws {RequiredError}
|
|
53469
|
+
*/
|
|
53470
|
+
deleteOrganisationSavedReport(groupId: string, reportId: string, options?: any): AxiosPromise<void>;
|
|
53471
|
+
/**
|
|
53472
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53473
|
+
* @summary Delete a saved report of a store
|
|
53474
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53475
|
+
* @param {string} reportId The saved report\'s id
|
|
53476
|
+
* @param {*} [options] Override http request option.
|
|
53477
|
+
* @throws {RequiredError}
|
|
53478
|
+
*/
|
|
53479
|
+
deleteStoreSavedReport(businessId: number, reportId: string, options?: any): AxiosPromise<void>;
|
|
53480
|
+
/**
|
|
53481
|
+
* A private copy owned by the person, in the same organisation, under the name sent. Managers only.
|
|
53482
|
+
* @summary Copy a saved report of a organisation
|
|
53483
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53484
|
+
* @param {string} reportId The saved report\'s id
|
|
53485
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53486
|
+
* @param {*} [options] Override http request option.
|
|
53487
|
+
* @throws {RequiredError}
|
|
53488
|
+
*/
|
|
53489
|
+
duplicateOrganisationSavedReport(groupId: string, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53490
|
+
/**
|
|
53491
|
+
* A private copy owned by the person, in the same store, under the name sent. Managers only.
|
|
53492
|
+
* @summary Copy a saved report of a store
|
|
53493
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53494
|
+
* @param {string} reportId The saved report\'s id
|
|
53495
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53496
|
+
* @param {*} [options] Override http request option.
|
|
53497
|
+
* @throws {RequiredError}
|
|
53498
|
+
*/
|
|
53499
|
+
duplicateStoreSavedReport(businessId: number, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53500
|
+
/**
|
|
53501
|
+
* A report the person sees: their own, or one shared with the organisation.
|
|
53502
|
+
* @summary Read one saved report of a organisation
|
|
53503
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53504
|
+
* @param {string} reportId The saved report\'s id
|
|
53505
|
+
* @param {*} [options] Override http request option.
|
|
53506
|
+
* @throws {RequiredError}
|
|
53507
|
+
*/
|
|
53508
|
+
getOrganisationSavedReport(groupId: string, reportId: string, options?: any): AxiosPromise<SavedReportDto>;
|
|
53509
|
+
/**
|
|
53510
|
+
* No sign-in. The report\'s name, kind, cards and filters, and the store or organisation whose data it reads; never its data, whose reads stay behind sign-in. 404 when no report is public under that token (never made public, made private again, or published again with a new link).
|
|
53511
|
+
* @summary Read a public report by its link
|
|
53512
|
+
* @param {string} token The public link\'s token, 43 characters
|
|
53513
|
+
* @param {*} [options] Override http request option.
|
|
53514
|
+
* @throws {RequiredError}
|
|
53515
|
+
*/
|
|
53516
|
+
getPublicSavedReport(token: string, options?: any): AxiosPromise<PublicSavedReportDto>;
|
|
53517
|
+
/**
|
|
53518
|
+
* A report the person sees: their own, or one shared with the store.
|
|
53519
|
+
* @summary Read one saved report of a store
|
|
53520
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53521
|
+
* @param {string} reportId The saved report\'s id
|
|
53522
|
+
* @param {*} [options] Override http request option.
|
|
53523
|
+
* @throws {RequiredError}
|
|
53524
|
+
*/
|
|
53525
|
+
getStoreSavedReport(businessId: number, reportId: string, options?: any): AxiosPromise<SavedReportDto>;
|
|
53526
|
+
/**
|
|
53527
|
+
* The person\'s own private reports and every report shared with the organisation, last saved first, a page at a time.
|
|
53528
|
+
* @summary List the saved reports the person sees of a organisation
|
|
53529
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53530
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53531
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53532
|
+
* @param {*} [options] Override http request option.
|
|
53533
|
+
* @throws {RequiredError}
|
|
53534
|
+
*/
|
|
53535
|
+
listOrganisationSavedReports(groupId: string, limit?: number, after?: string, options?: any): AxiosPromise<SavedReportListDto>;
|
|
53536
|
+
/**
|
|
53537
|
+
* The person\'s own private reports and every report shared with the store, last saved first, a page at a time.
|
|
53538
|
+
* @summary List the saved reports the person sees of a store
|
|
53539
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53540
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53541
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53542
|
+
* @param {*} [options] Override http request option.
|
|
53543
|
+
* @throws {RequiredError}
|
|
53544
|
+
*/
|
|
53545
|
+
listStoreSavedReports(businessId: number, limit?: number, after?: string, options?: any): AxiosPromise<SavedReportListDto>;
|
|
53546
|
+
/**
|
|
53547
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53548
|
+
* @summary Set who sees a saved report of a organisation
|
|
53549
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53550
|
+
* @param {string} reportId The saved report\'s id
|
|
53551
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53552
|
+
* @param {*} [options] Override http request option.
|
|
53553
|
+
* @throws {RequiredError}
|
|
53554
|
+
*/
|
|
53555
|
+
setOrganisationSavedReportVisibility(groupId: string, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53556
|
+
/**
|
|
53557
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53558
|
+
* @summary Set who sees a saved report of a store
|
|
53559
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53560
|
+
* @param {string} reportId The saved report\'s id
|
|
53561
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53562
|
+
* @param {*} [options] Override http request option.
|
|
53563
|
+
* @throws {RequiredError}
|
|
53564
|
+
*/
|
|
53565
|
+
setStoreSavedReportVisibility(businessId: number, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53566
|
+
/**
|
|
53567
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53568
|
+
* @summary Replace a saved report\'s name, cards and filters of a organisation
|
|
53569
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53570
|
+
* @param {string} reportId The saved report\'s id
|
|
53571
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53572
|
+
* @param {*} [options] Override http request option.
|
|
53573
|
+
* @throws {RequiredError}
|
|
53574
|
+
*/
|
|
53575
|
+
updateOrganisationSavedReport(groupId: string, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53576
|
+
/**
|
|
53577
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53578
|
+
* @summary Replace a saved report\'s name, cards and filters of a store
|
|
53579
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53580
|
+
* @param {string} reportId The saved report\'s id
|
|
53581
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53582
|
+
* @param {*} [options] Override http request option.
|
|
53583
|
+
* @throws {RequiredError}
|
|
53584
|
+
*/
|
|
53585
|
+
updateStoreSavedReport(businessId: number, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: any): AxiosPromise<SavedReportDto>;
|
|
53586
|
+
};
|
|
53587
|
+
/**
|
|
53588
|
+
* SavedReportsApi - interface
|
|
53589
|
+
* @export
|
|
53590
|
+
* @interface SavedReportsApi
|
|
53591
|
+
*/
|
|
53592
|
+
export interface SavedReportsApiInterface {
|
|
53593
|
+
/**
|
|
53594
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53595
|
+
* @summary Save a report or a comparison of a organisation
|
|
53596
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53597
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53598
|
+
* @param {*} [options] Override http request option.
|
|
53599
|
+
* @throws {RequiredError}
|
|
53600
|
+
* @memberof SavedReportsApiInterface
|
|
53601
|
+
*/
|
|
53602
|
+
createOrganisationSavedReport(groupId: string, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53603
|
+
/**
|
|
53604
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53605
|
+
* @summary Save a report or a comparison of a store
|
|
53606
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53607
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53608
|
+
* @param {*} [options] Override http request option.
|
|
53609
|
+
* @throws {RequiredError}
|
|
53610
|
+
* @memberof SavedReportsApiInterface
|
|
53611
|
+
*/
|
|
53612
|
+
createStoreSavedReport(businessId: number, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53613
|
+
/**
|
|
53614
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53615
|
+
* @summary Delete a saved report of a organisation
|
|
53616
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53617
|
+
* @param {string} reportId The saved report\'s id
|
|
53618
|
+
* @param {*} [options] Override http request option.
|
|
53619
|
+
* @throws {RequiredError}
|
|
53620
|
+
* @memberof SavedReportsApiInterface
|
|
53621
|
+
*/
|
|
53622
|
+
deleteOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
53623
|
+
/**
|
|
53624
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53625
|
+
* @summary Delete a saved report of a store
|
|
53626
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53627
|
+
* @param {string} reportId The saved report\'s id
|
|
53628
|
+
* @param {*} [options] Override http request option.
|
|
53629
|
+
* @throws {RequiredError}
|
|
53630
|
+
* @memberof SavedReportsApiInterface
|
|
53631
|
+
*/
|
|
53632
|
+
deleteStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
53633
|
+
/**
|
|
53634
|
+
* A private copy owned by the person, in the same organisation, under the name sent. Managers only.
|
|
53635
|
+
* @summary Copy a saved report of a organisation
|
|
53636
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53637
|
+
* @param {string} reportId The saved report\'s id
|
|
53638
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53639
|
+
* @param {*} [options] Override http request option.
|
|
53640
|
+
* @throws {RequiredError}
|
|
53641
|
+
* @memberof SavedReportsApiInterface
|
|
53642
|
+
*/
|
|
53643
|
+
duplicateOrganisationSavedReport(groupId: string, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53644
|
+
/**
|
|
53645
|
+
* A private copy owned by the person, in the same store, under the name sent. Managers only.
|
|
53646
|
+
* @summary Copy a saved report of a store
|
|
53647
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53648
|
+
* @param {string} reportId The saved report\'s id
|
|
53649
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53650
|
+
* @param {*} [options] Override http request option.
|
|
53651
|
+
* @throws {RequiredError}
|
|
53652
|
+
* @memberof SavedReportsApiInterface
|
|
53653
|
+
*/
|
|
53654
|
+
duplicateStoreSavedReport(businessId: number, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53655
|
+
/**
|
|
53656
|
+
* A report the person sees: their own, or one shared with the organisation.
|
|
53657
|
+
* @summary Read one saved report of a organisation
|
|
53658
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53659
|
+
* @param {string} reportId The saved report\'s id
|
|
53660
|
+
* @param {*} [options] Override http request option.
|
|
53661
|
+
* @throws {RequiredError}
|
|
53662
|
+
* @memberof SavedReportsApiInterface
|
|
53663
|
+
*/
|
|
53664
|
+
getOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53665
|
+
/**
|
|
53666
|
+
* No sign-in. The report\'s name, kind, cards and filters, and the store or organisation whose data it reads; never its data, whose reads stay behind sign-in. 404 when no report is public under that token (never made public, made private again, or published again with a new link).
|
|
53667
|
+
* @summary Read a public report by its link
|
|
53668
|
+
* @param {string} token The public link\'s token, 43 characters
|
|
53669
|
+
* @param {*} [options] Override http request option.
|
|
53670
|
+
* @throws {RequiredError}
|
|
53671
|
+
* @memberof SavedReportsApiInterface
|
|
53672
|
+
*/
|
|
53673
|
+
getPublicSavedReport(token: string, options?: AxiosRequestConfig): AxiosPromise<PublicSavedReportDto>;
|
|
53674
|
+
/**
|
|
53675
|
+
* A report the person sees: their own, or one shared with the store.
|
|
53676
|
+
* @summary Read one saved report of a store
|
|
53677
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53678
|
+
* @param {string} reportId The saved report\'s id
|
|
53679
|
+
* @param {*} [options] Override http request option.
|
|
53680
|
+
* @throws {RequiredError}
|
|
53681
|
+
* @memberof SavedReportsApiInterface
|
|
53682
|
+
*/
|
|
53683
|
+
getStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53684
|
+
/**
|
|
53685
|
+
* The person\'s own private reports and every report shared with the organisation, last saved first, a page at a time.
|
|
53686
|
+
* @summary List the saved reports the person sees of a organisation
|
|
53687
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53688
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53689
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53690
|
+
* @param {*} [options] Override http request option.
|
|
53691
|
+
* @throws {RequiredError}
|
|
53692
|
+
* @memberof SavedReportsApiInterface
|
|
53693
|
+
*/
|
|
53694
|
+
listOrganisationSavedReports(groupId: string, limit?: number, after?: string, options?: AxiosRequestConfig): AxiosPromise<SavedReportListDto>;
|
|
53695
|
+
/**
|
|
53696
|
+
* The person\'s own private reports and every report shared with the store, last saved first, a page at a time.
|
|
53697
|
+
* @summary List the saved reports the person sees of a store
|
|
53698
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53699
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53700
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53701
|
+
* @param {*} [options] Override http request option.
|
|
53702
|
+
* @throws {RequiredError}
|
|
53703
|
+
* @memberof SavedReportsApiInterface
|
|
53704
|
+
*/
|
|
53705
|
+
listStoreSavedReports(businessId: number, limit?: number, after?: string, options?: AxiosRequestConfig): AxiosPromise<SavedReportListDto>;
|
|
53706
|
+
/**
|
|
53707
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53708
|
+
* @summary Set who sees a saved report of a organisation
|
|
53709
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53710
|
+
* @param {string} reportId The saved report\'s id
|
|
53711
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53712
|
+
* @param {*} [options] Override http request option.
|
|
53713
|
+
* @throws {RequiredError}
|
|
53714
|
+
* @memberof SavedReportsApiInterface
|
|
53715
|
+
*/
|
|
53716
|
+
setOrganisationSavedReportVisibility(groupId: string, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53717
|
+
/**
|
|
53718
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53719
|
+
* @summary Set who sees a saved report of a store
|
|
53720
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53721
|
+
* @param {string} reportId The saved report\'s id
|
|
53722
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53723
|
+
* @param {*} [options] Override http request option.
|
|
53724
|
+
* @throws {RequiredError}
|
|
53725
|
+
* @memberof SavedReportsApiInterface
|
|
53726
|
+
*/
|
|
53727
|
+
setStoreSavedReportVisibility(businessId: number, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53728
|
+
/**
|
|
53729
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53730
|
+
* @summary Replace a saved report\'s name, cards and filters of a organisation
|
|
53731
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53732
|
+
* @param {string} reportId The saved report\'s id
|
|
53733
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53734
|
+
* @param {*} [options] Override http request option.
|
|
53735
|
+
* @throws {RequiredError}
|
|
53736
|
+
* @memberof SavedReportsApiInterface
|
|
53737
|
+
*/
|
|
53738
|
+
updateOrganisationSavedReport(groupId: string, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53739
|
+
/**
|
|
53740
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53741
|
+
* @summary Replace a saved report\'s name, cards and filters of a store
|
|
53742
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53743
|
+
* @param {string} reportId The saved report\'s id
|
|
53744
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53745
|
+
* @param {*} [options] Override http request option.
|
|
53746
|
+
* @throws {RequiredError}
|
|
53747
|
+
* @memberof SavedReportsApiInterface
|
|
53748
|
+
*/
|
|
53749
|
+
updateStoreSavedReport(businessId: number, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): AxiosPromise<SavedReportDto>;
|
|
53750
|
+
}
|
|
53751
|
+
/**
|
|
53752
|
+
* SavedReportsApi - object-oriented interface
|
|
53753
|
+
* @export
|
|
53754
|
+
* @class SavedReportsApi
|
|
53755
|
+
* @extends {BaseAPI}
|
|
53756
|
+
*/
|
|
53757
|
+
export declare class SavedReportsApi extends BaseAPI implements SavedReportsApiInterface {
|
|
53758
|
+
/**
|
|
53759
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53760
|
+
* @summary Save a report or a comparison of a organisation
|
|
53761
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53762
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53763
|
+
* @param {*} [options] Override http request option.
|
|
53764
|
+
* @throws {RequiredError}
|
|
53765
|
+
* @memberof SavedReportsApi
|
|
53766
|
+
*/
|
|
53767
|
+
createOrganisationSavedReport(groupId: string, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53768
|
+
/**
|
|
53769
|
+
* Saves a new report (side A) or comparison (sides A and B), owned by the person; private unless visibility says otherwise. Managers only.
|
|
53770
|
+
* @summary Save a report or a comparison of a store
|
|
53771
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53772
|
+
* @param {CreateSavedReportDto} createSavedReportDto
|
|
53773
|
+
* @param {*} [options] Override http request option.
|
|
53774
|
+
* @throws {RequiredError}
|
|
53775
|
+
* @memberof SavedReportsApi
|
|
53776
|
+
*/
|
|
53777
|
+
createStoreSavedReport(businessId: number, createSavedReportDto: CreateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53778
|
+
/**
|
|
53779
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53780
|
+
* @summary Delete a saved report of a organisation
|
|
53781
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53782
|
+
* @param {string} reportId The saved report\'s id
|
|
53783
|
+
* @param {*} [options] Override http request option.
|
|
53784
|
+
* @throws {RequiredError}
|
|
53785
|
+
* @memberof SavedReportsApi
|
|
53786
|
+
*/
|
|
53787
|
+
deleteOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
53788
|
+
/**
|
|
53789
|
+
* Deletes it with its schedule and past runs. Managers only, on a report they see.
|
|
53790
|
+
* @summary Delete a saved report of a store
|
|
53791
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53792
|
+
* @param {string} reportId The saved report\'s id
|
|
53793
|
+
* @param {*} [options] Override http request option.
|
|
53794
|
+
* @throws {RequiredError}
|
|
53795
|
+
* @memberof SavedReportsApi
|
|
53796
|
+
*/
|
|
53797
|
+
deleteStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
53798
|
+
/**
|
|
53799
|
+
* A private copy owned by the person, in the same organisation, under the name sent. Managers only.
|
|
53800
|
+
* @summary Copy a saved report of a organisation
|
|
53801
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53802
|
+
* @param {string} reportId The saved report\'s id
|
|
53803
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53804
|
+
* @param {*} [options] Override http request option.
|
|
53805
|
+
* @throws {RequiredError}
|
|
53806
|
+
* @memberof SavedReportsApi
|
|
53807
|
+
*/
|
|
53808
|
+
duplicateOrganisationSavedReport(groupId: string, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53809
|
+
/**
|
|
53810
|
+
* A private copy owned by the person, in the same store, under the name sent. Managers only.
|
|
53811
|
+
* @summary Copy a saved report of a store
|
|
53812
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53813
|
+
* @param {string} reportId The saved report\'s id
|
|
53814
|
+
* @param {DuplicateSavedReportDto} duplicateSavedReportDto
|
|
53815
|
+
* @param {*} [options] Override http request option.
|
|
53816
|
+
* @throws {RequiredError}
|
|
53817
|
+
* @memberof SavedReportsApi
|
|
53818
|
+
*/
|
|
53819
|
+
duplicateStoreSavedReport(businessId: number, reportId: string, duplicateSavedReportDto: DuplicateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53820
|
+
/**
|
|
53821
|
+
* A report the person sees: their own, or one shared with the organisation.
|
|
53822
|
+
* @summary Read one saved report of a organisation
|
|
53823
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53824
|
+
* @param {string} reportId The saved report\'s id
|
|
53825
|
+
* @param {*} [options] Override http request option.
|
|
53826
|
+
* @throws {RequiredError}
|
|
53827
|
+
* @memberof SavedReportsApi
|
|
53828
|
+
*/
|
|
53829
|
+
getOrganisationSavedReport(groupId: string, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53830
|
+
/**
|
|
53831
|
+
* No sign-in. The report\'s name, kind, cards and filters, and the store or organisation whose data it reads; never its data, whose reads stay behind sign-in. 404 when no report is public under that token (never made public, made private again, or published again with a new link).
|
|
53832
|
+
* @summary Read a public report by its link
|
|
53833
|
+
* @param {string} token The public link\'s token, 43 characters
|
|
53834
|
+
* @param {*} [options] Override http request option.
|
|
53835
|
+
* @throws {RequiredError}
|
|
53836
|
+
* @memberof SavedReportsApi
|
|
53837
|
+
*/
|
|
53838
|
+
getPublicSavedReport(token: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSavedReportDto, any, {}>>;
|
|
53839
|
+
/**
|
|
53840
|
+
* A report the person sees: their own, or one shared with the store.
|
|
53841
|
+
* @summary Read one saved report of a store
|
|
53842
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53843
|
+
* @param {string} reportId The saved report\'s id
|
|
53844
|
+
* @param {*} [options] Override http request option.
|
|
53845
|
+
* @throws {RequiredError}
|
|
53846
|
+
* @memberof SavedReportsApi
|
|
53847
|
+
*/
|
|
53848
|
+
getStoreSavedReport(businessId: number, reportId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53849
|
+
/**
|
|
53850
|
+
* The person\'s own private reports and every report shared with the organisation, last saved first, a page at a time.
|
|
53851
|
+
* @summary List the saved reports the person sees of a organisation
|
|
53852
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53853
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53854
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53855
|
+
* @param {*} [options] Override http request option.
|
|
53856
|
+
* @throws {RequiredError}
|
|
53857
|
+
* @memberof SavedReportsApi
|
|
53858
|
+
*/
|
|
53859
|
+
listOrganisationSavedReports(groupId: string, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportListDto, any, {}>>;
|
|
53860
|
+
/**
|
|
53861
|
+
* The person\'s own private reports and every report shared with the store, last saved first, a page at a time.
|
|
53862
|
+
* @summary List the saved reports the person sees of a store
|
|
53863
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53864
|
+
* @param {number} [limit] At most this many reports, 1 to 100. Absent: 50
|
|
53865
|
+
* @param {string} [after] The id of the last report of the page before; the list goes on after it
|
|
53866
|
+
* @param {*} [options] Override http request option.
|
|
53867
|
+
* @throws {RequiredError}
|
|
53868
|
+
* @memberof SavedReportsApi
|
|
53869
|
+
*/
|
|
53870
|
+
listStoreSavedReports(businessId: number, limit?: number, after?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportListDto, any, {}>>;
|
|
53871
|
+
/**
|
|
53872
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53873
|
+
* @summary Set who sees a saved report of a organisation
|
|
53874
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53875
|
+
* @param {string} reportId The saved report\'s id
|
|
53876
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53877
|
+
* @param {*} [options] Override http request option.
|
|
53878
|
+
* @throws {RequiredError}
|
|
53879
|
+
* @memberof SavedReportsApi
|
|
53880
|
+
*/
|
|
53881
|
+
setOrganisationSavedReportVisibility(groupId: string, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53882
|
+
/**
|
|
53883
|
+
* private, organisation, or public: a new link every time it is made public, and leaving public ends the link. Saved at the version read. Managers only.
|
|
53884
|
+
* @summary Set who sees a saved report of a store
|
|
53885
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53886
|
+
* @param {string} reportId The saved report\'s id
|
|
53887
|
+
* @param {SetSavedReportVisibilityDto} setSavedReportVisibilityDto
|
|
53888
|
+
* @param {*} [options] Override http request option.
|
|
53889
|
+
* @throws {RequiredError}
|
|
53890
|
+
* @memberof SavedReportsApi
|
|
53891
|
+
*/
|
|
53892
|
+
setStoreSavedReportVisibility(businessId: number, reportId: string, setSavedReportVisibilityDto: SetSavedReportVisibilityDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53893
|
+
/**
|
|
53894
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53895
|
+
* @summary Replace a saved report\'s name, cards and filters of a organisation
|
|
53896
|
+
* @param {string} groupId The organisation\'s id: its group\'s accountId in the licence server
|
|
53897
|
+
* @param {string} reportId The saved report\'s id
|
|
53898
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53899
|
+
* @param {*} [options] Override http request option.
|
|
53900
|
+
* @throws {RequiredError}
|
|
53901
|
+
* @memberof SavedReportsApi
|
|
53902
|
+
*/
|
|
53903
|
+
updateOrganisationSavedReport(groupId: string, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53904
|
+
/**
|
|
53905
|
+
* Saves at the version read; 409 when someone saved since. Managers only, on a report they see.
|
|
53906
|
+
* @summary Replace a saved report\'s name, cards and filters of a store
|
|
53907
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
53908
|
+
* @param {string} reportId The saved report\'s id
|
|
53909
|
+
* @param {UpdateSavedReportDto} updateSavedReportDto
|
|
53910
|
+
* @param {*} [options] Override http request option.
|
|
53911
|
+
* @throws {RequiredError}
|
|
53912
|
+
* @memberof SavedReportsApi
|
|
53913
|
+
*/
|
|
53914
|
+
updateStoreSavedReport(businessId: number, reportId: string, updateSavedReportDto: UpdateSavedReportDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedReportDto, any, {}>>;
|
|
53915
|
+
}
|
|
51375
53916
|
/**
|
|
51376
53917
|
* ShiftTrackingApi - axios parameter creator
|
|
51377
53918
|
* @export
|