@munchi_oy/core 2.0.1 → 2.0.2

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/generated/api.ts CHANGED
@@ -502,6 +502,18 @@ export interface BusinessConfigResponseDto {
502
502
  * @memberof BusinessConfigResponseDto
503
503
  */
504
504
  'currency': CurrencyCode;
505
+ /**
506
+ * The venue\'s country, ISO 3166-1 alpha-2, from the seller\'s address in Vendure; null until Vendure\'s seller sync has sent it
507
+ * @type {string}
508
+ * @memberof BusinessConfigResponseDto
509
+ */
510
+ 'countryCode'?: string | null;
511
+ /**
512
+ * The venue\'s BCP 47 locale: its country\'s main language and the country (FI is fi-FI); null until Vendure\'s seller sync has sent the country
513
+ * @type {string}
514
+ * @memberof BusinessConfigResponseDto
515
+ */
516
+ 'locale'?: string | null;
505
517
  /**
506
518
  *
507
519
  * @type {BusinessConfigResponseDtoBusiness}
@@ -2887,6 +2899,18 @@ export interface ConfigDto {
2887
2899
  * @memberof ConfigDto
2888
2900
  */
2889
2901
  'currency': CurrencyCode;
2902
+ /**
2903
+ * The venue\'s country, ISO 3166-1 alpha-2, from the seller\'s address in Vendure; null until Vendure\'s seller sync has sent it
2904
+ * @type {string}
2905
+ * @memberof ConfigDto
2906
+ */
2907
+ 'countryCode'?: string | null;
2908
+ /**
2909
+ * The venue\'s BCP 47 locale: its country\'s main language and the country (FI is fi-FI); null until Vendure\'s seller sync has sent the country
2910
+ * @type {string}
2911
+ * @memberof ConfigDto
2912
+ */
2913
+ 'locale'?: string | null;
2890
2914
  /**
2891
2915
  * Creation date and time in ISO 8601 format
2892
2916
  * @type {string}
@@ -3017,7 +3041,7 @@ export interface ConfigManagementResponseDto {
3017
3041
  */
3018
3042
  'message'?: string;
3019
3043
  /**
3020
- * What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty, { businessId, keys } for a sync, { id, removed } for a removed option.
3044
+ * What was saved, as the database wrote it: the venue, the config, the provider\'s config without its secrets, the options, the integration (the third-party gift card\'s credentials without the password), { program, businessId } for loyalty (the program\'s secretKey answered null), { businessId, keys } for a sync, { id, removed } for a removed option.
3021
3045
  * @type {object}
3022
3046
  * @memberof ConfigManagementResponseDto
3023
3047
  */
@@ -4460,7 +4484,141 @@ export const CurrencyCode = {
4460
4484
  Mdl: 'MDL',
4461
4485
  Bam: 'BAM',
4462
4486
  Aed: 'AED',
4463
- Usd: 'USD'
4487
+ Usd: 'USD',
4488
+ Afn: 'AFN',
4489
+ Amd: 'AMD',
4490
+ Aoa: 'AOA',
4491
+ Ars: 'ARS',
4492
+ Aud: 'AUD',
4493
+ Awg: 'AWG',
4494
+ Azn: 'AZN',
4495
+ Bbd: 'BBD',
4496
+ Bdt: 'BDT',
4497
+ Bhd: 'BHD',
4498
+ Bif: 'BIF',
4499
+ Bmd: 'BMD',
4500
+ Bnd: 'BND',
4501
+ Bob: 'BOB',
4502
+ Brl: 'BRL',
4503
+ Bsd: 'BSD',
4504
+ Btn: 'BTN',
4505
+ Bwp: 'BWP',
4506
+ Byn: 'BYN',
4507
+ Bzd: 'BZD',
4508
+ Cad: 'CAD',
4509
+ Cdf: 'CDF',
4510
+ Clp: 'CLP',
4511
+ Cny: 'CNY',
4512
+ Cop: 'COP',
4513
+ Crc: 'CRC',
4514
+ Cup: 'CUP',
4515
+ Cve: 'CVE',
4516
+ Djf: 'DJF',
4517
+ Dop: 'DOP',
4518
+ Dzd: 'DZD',
4519
+ Egp: 'EGP',
4520
+ Ern: 'ERN',
4521
+ Etb: 'ETB',
4522
+ Fjd: 'FJD',
4523
+ Fkp: 'FKP',
4524
+ Gel: 'GEL',
4525
+ Ghs: 'GHS',
4526
+ Gip: 'GIP',
4527
+ Gmd: 'GMD',
4528
+ Gnf: 'GNF',
4529
+ Gtq: 'GTQ',
4530
+ Gyd: 'GYD',
4531
+ Hkd: 'HKD',
4532
+ Hnl: 'HNL',
4533
+ Htg: 'HTG',
4534
+ Idr: 'IDR',
4535
+ Ils: 'ILS',
4536
+ Inr: 'INR',
4537
+ Iqd: 'IQD',
4538
+ Irr: 'IRR',
4539
+ Jmd: 'JMD',
4540
+ Jod: 'JOD',
4541
+ Jpy: 'JPY',
4542
+ Kes: 'KES',
4543
+ Kgs: 'KGS',
4544
+ Khr: 'KHR',
4545
+ Kmf: 'KMF',
4546
+ Kpw: 'KPW',
4547
+ Krw: 'KRW',
4548
+ Kwd: 'KWD',
4549
+ Kyd: 'KYD',
4550
+ Kzt: 'KZT',
4551
+ Lak: 'LAK',
4552
+ Lbp: 'LBP',
4553
+ Lkr: 'LKR',
4554
+ Lrd: 'LRD',
4555
+ Lsl: 'LSL',
4556
+ Lyd: 'LYD',
4557
+ Mad: 'MAD',
4558
+ Mga: 'MGA',
4559
+ Mmk: 'MMK',
4560
+ Mnt: 'MNT',
4561
+ Mop: 'MOP',
4562
+ Mru: 'MRU',
4563
+ Mur: 'MUR',
4564
+ Mvr: 'MVR',
4565
+ Mwk: 'MWK',
4566
+ Mxn: 'MXN',
4567
+ Myr: 'MYR',
4568
+ Mzn: 'MZN',
4569
+ Nad: 'NAD',
4570
+ Ngn: 'NGN',
4571
+ Nio: 'NIO',
4572
+ Npr: 'NPR',
4573
+ Nzd: 'NZD',
4574
+ Omr: 'OMR',
4575
+ Pab: 'PAB',
4576
+ Pen: 'PEN',
4577
+ Pgk: 'PGK',
4578
+ Php: 'PHP',
4579
+ Pkr: 'PKR',
4580
+ Pyg: 'PYG',
4581
+ Qar: 'QAR',
4582
+ Rwf: 'RWF',
4583
+ Sar: 'SAR',
4584
+ Sbd: 'SBD',
4585
+ Scr: 'SCR',
4586
+ Sdg: 'SDG',
4587
+ Sgd: 'SGD',
4588
+ Shp: 'SHP',
4589
+ Sle: 'SLE',
4590
+ Sos: 'SOS',
4591
+ Srd: 'SRD',
4592
+ Ssp: 'SSP',
4593
+ Stn: 'STN',
4594
+ Svc: 'SVC',
4595
+ Syp: 'SYP',
4596
+ Szl: 'SZL',
4597
+ Thb: 'THB',
4598
+ Tjs: 'TJS',
4599
+ Tmt: 'TMT',
4600
+ Tnd: 'TND',
4601
+ Top: 'TOP',
4602
+ Ttd: 'TTD',
4603
+ Twd: 'TWD',
4604
+ Tzs: 'TZS',
4605
+ Ugx: 'UGX',
4606
+ Uyu: 'UYU',
4607
+ Uzs: 'UZS',
4608
+ Ved: 'VED',
4609
+ Ves: 'VES',
4610
+ Vnd: 'VND',
4611
+ Vuv: 'VUV',
4612
+ Wst: 'WST',
4613
+ Xaf: 'XAF',
4614
+ Xcd: 'XCD',
4615
+ Xcg: 'XCG',
4616
+ Xof: 'XOF',
4617
+ Xpf: 'XPF',
4618
+ Yer: 'YER',
4619
+ Zar: 'ZAR',
4620
+ Zmw: 'ZMW',
4621
+ Zwg: 'ZWG'
4464
4622
  } as const;
4465
4623
 
4466
4624
  export type CurrencyCode = typeof CurrencyCode[keyof typeof CurrencyCode];
@@ -6268,13 +6426,13 @@ export interface EpassiCredentialsSavedDto {
6268
6426
  */
6269
6427
  'accessKeyEnding': string;
6270
6428
  /**
6271
- * The venue\'s 2048-bit RSA public key in PEM format, to send to Epassi: Epassi verifies the venue\'s requests with it. The server made the key pair on the channel\'s first save and keeps it on every later save; the private half never leaves the server.
6429
+ * Munchi\'s 2048-bit RSA public key for this environment, in PEM format: the key Epassi verifies every venue\'s requests with. It is the same for every venue; the private half never leaves the server.
6272
6430
  * @type {string}
6273
6431
  * @memberof EpassiCredentialsSavedDto
6274
6432
  */
6275
6433
  'publicKey': string;
6276
6434
  /**
6277
- * True when this save made the venue\'s key pair: send Epassi the public key, or its requests will be refused. False when the key Epassi already holds was kept.
6435
+ * Always false: every venue signs with the environment\'s key, which Epassi already holds, so a save never makes a key pair. Kept for the clients that read it.
6278
6436
  * @type {boolean}
6279
6437
  * @memberof EpassiCredentialsSavedDto
6280
6438
  */
@@ -6697,6 +6855,18 @@ export interface ExternalBusinessConfigDto {
6697
6855
  * @memberof ExternalBusinessConfigDto
6698
6856
  */
6699
6857
  'currency': CurrencyCode;
6858
+ /**
6859
+ * The venue\'s country, ISO 3166-1 alpha-2, from the seller\'s address in Vendure; null until Vendure\'s seller sync has sent it
6860
+ * @type {string}
6861
+ * @memberof ExternalBusinessConfigDto
6862
+ */
6863
+ 'countryCode'?: string | null;
6864
+ /**
6865
+ * The venue\'s BCP 47 locale: its country\'s main language and the country (FI is fi-FI); null until Vendure\'s seller sync has sent the country
6866
+ * @type {string}
6867
+ * @memberof ExternalBusinessConfigDto
6868
+ */
6869
+ 'locale'?: string | null;
6700
6870
  /**
6701
6871
  *
6702
6872
  * @type {PaymentProvider}
@@ -6863,6 +7033,18 @@ export interface ExternalBusinessConfigResponseDtoConfig {
6863
7033
  * @memberof ExternalBusinessConfigResponseDtoConfig
6864
7034
  */
6865
7035
  'currency': CurrencyCode;
7036
+ /**
7037
+ * The venue\'s country, ISO 3166-1 alpha-2, from the seller\'s address in Vendure; null until Vendure\'s seller sync has sent it
7038
+ * @type {string}
7039
+ * @memberof ExternalBusinessConfigResponseDtoConfig
7040
+ */
7041
+ 'countryCode'?: string | null;
7042
+ /**
7043
+ * The venue\'s BCP 47 locale: its country\'s main language and the country (FI is fi-FI); null until Vendure\'s seller sync has sent the country
7044
+ * @type {string}
7045
+ * @memberof ExternalBusinessConfigResponseDtoConfig
7046
+ */
7047
+ 'locale'?: string | null;
6866
7048
  /**
6867
7049
  *
6868
7050
  * @type {PaymentProvider}
@@ -7468,13 +7650,13 @@ export interface GiftCardInfoDto {
7468
7650
  */
7469
7651
  'title': string;
7470
7652
  /**
7471
- * What is left on the card, in euros (not cents)
7653
+ * What is left on the card, in units of its currency (euros for EUR, not cents)
7472
7654
  * @type {number}
7473
7655
  * @memberof GiftCardInfoDto
7474
7656
  */
7475
7657
  'balance': number;
7476
7658
  /**
7477
- * The card\'s currency code; EUR when Luckiefun sends none
7659
+ * The card\'s currency code; the venue\'s currency when Luckiefun sends none
7478
7660
  * @type {string}
7479
7661
  * @memberof GiftCardInfoDto
7480
7662
  */
@@ -13399,6 +13581,12 @@ export interface OrderHistoryPosResponseDtoV2Summary {
13399
13581
  * @memberof OrderHistoryPosResponseDtoV2Summary
13400
13582
  */
13401
13583
  'totalTipAmount'?: number;
13584
+ /**
13585
+ * Each currency\'s sales of the period, in that currency\'s units (not minor units), keyed by its ISO 4217 code. Present only when the period\'s orders are in more than one currency; totalSales then holds the venue currency\'s sales alone, as amounts of two currencies are never added.
13586
+ * @type {{ [key: string]: number; }}
13587
+ * @memberof OrderHistoryPosResponseDtoV2Summary
13588
+ */
13589
+ 'totalsByCurrency'?: { [key: string]: number; };
13402
13590
  }
13403
13591
  /**
13404
13592
  *
@@ -20091,6 +20279,49 @@ export interface PosOrderSuboptionDto {
20091
20279
  */
20092
20280
  'value_pos_id': string | null;
20093
20281
  }
20282
+ /**
20283
+ *
20284
+ * @export
20285
+ * @interface PosOrderSummaryDto
20286
+ */
20287
+ export interface PosOrderSummaryDto {
20288
+ /**
20289
+ * How many orders of the period count: online, every order not rejected; POS, every order not fully refunded (with a payment filter, only those with a matching payment). 0 when the person on the till may not see it.
20290
+ * @type {number}
20291
+ * @memberof PosOrderSummaryDto
20292
+ */
20293
+ 'totalOrders': number;
20294
+ /**
20295
+ * How many orders of the period were rejected. Always 0 in the POS history. 0 when the person on the till may not see it.
20296
+ * @type {number}
20297
+ * @memberof PosOrderSummaryDto
20298
+ */
20299
+ 'rejectedOrders': number;
20300
+ /**
20301
+ * The period\'s sales in euros (not cents): online, the net total of the orders not rejected; POS, the payments less successful refunds. 0 when the person on the till may not see it.
20302
+ * @type {number}
20303
+ * @memberof PosOrderSummaryDto
20304
+ */
20305
+ 'totalSales': number;
20306
+ /**
20307
+ * The net total of the period\'s rejected orders, in euros. Always 0 in the POS history. 0 when the person on the till may not see it.
20308
+ * @type {number}
20309
+ * @memberof PosOrderSummaryDto
20310
+ */
20311
+ 'rejectedSales': number;
20312
+ /**
20313
+ * POS history only: the tips of the orders on this page, in cents. Absent from the online history.
20314
+ * @type {number}
20315
+ * @memberof PosOrderSummaryDto
20316
+ */
20317
+ 'totalTipAmount'?: number;
20318
+ /**
20319
+ * Each currency\'s sales of the period, in that currency\'s units (not minor units), keyed by its ISO 4217 code. Present only when the period\'s orders are in more than one currency; totalSales then holds the venue currency\'s sales alone, as amounts of two currencies are never added.
20320
+ * @type {{ [key: string]: number; }}
20321
+ * @memberof PosOrderSummaryDto
20322
+ */
20323
+ 'totalsByCurrency'?: { [key: string]: number; };
20324
+ }
20094
20325
  /**
20095
20326
  *
20096
20327
  * @export
@@ -22751,13 +22982,13 @@ export interface RedeemGiftCardResponseDto {
22751
22982
  */
22752
22983
  'redeemedAmount'?: number;
22753
22984
  /**
22754
- * On success: what is left on the card, in euros (not cents); 0 when the provider does not say
22985
+ * On success: what is left on the card, in units of its currency (euros for EUR, not cents); 0 when the provider does not say
22755
22986
  * @type {number}
22756
22987
  * @memberof RedeemGiftCardResponseDto
22757
22988
  */
22758
22989
  'remainingBalance'?: number;
22759
22990
  /**
22760
- * On success: the card\'s currency code; EUR when the provider does not say
22991
+ * On success: the card\'s currency code; the venue\'s currency when the provider does not say
22761
22992
  * @type {string}
22762
22993
  * @memberof RedeemGiftCardResponseDto
22763
22994
  */
@@ -24042,11 +24273,11 @@ export interface SendCashReportDto {
24042
24273
  */
24043
24274
  'recipient': string;
24044
24275
  /**
24045
- * The IANA timezone the report\'s times are printed in
24276
+ * The IANA timezone the report\'s times are printed in. Absent: the venue\'s own time zone (Business.timeZone).
24046
24277
  * @type {string}
24047
24278
  * @memberof SendCashReportDto
24048
24279
  */
24049
- 'timezone': string;
24280
+ 'timezone'?: string;
24050
24281
  }
24051
24282
  /**
24052
24283
  *
@@ -28533,13 +28764,13 @@ export interface UnifiedProductDto {
28533
28764
  */
28534
28765
  'quantity': number;
28535
28766
  /**
28536
- * Unit price of the product, in euros: as the channel sent it on a platform order, the base price without options on a till order
28767
+ * Unit price of the product, in the order\'s currency (not minor units): as the channel sent it on a platform order, the base price without options on a till order
28537
28768
  * @type {number}
28538
28769
  * @memberof UnifiedProductDto
28539
28770
  */
28540
28771
  'unitPrice': number;
28541
28772
  /**
28542
- * Actual paid price of the product, in euros: as the channel reported it on a platform order (for most channels the whole line), the unit price with options before discounts on a till order
28773
+ * Actual paid price of the product, in the order\'s currency (not minor units): as the channel reported it on a platform order (for most channels the whole line), the unit price with options before discounts on a till order
28543
28774
  * @type {number}
28544
28775
  * @memberof UnifiedProductDto
28545
28776
  */
@@ -28708,13 +28939,13 @@ export interface UnifiedSubOptionDto {
28708
28939
  */
28709
28940
  'name': string;
28710
28941
  /**
28711
- * Unit price of the sub-option, in euros
28942
+ * Unit price of the sub-option, in the order\'s currency (not minor units)
28712
28943
  * @type {number}
28713
28944
  * @memberof UnifiedSubOptionDto
28714
28945
  */
28715
28946
  'unitPrice': number;
28716
28947
  /**
28717
- * Actual paid price of the sub-option, in euros: as the channel reported it on a platform order, the unit price on a till order
28948
+ * Actual paid price of the sub-option, in the order\'s currency (not minor units): as the channel reported it on a platform order, the unit price on a till order
28718
28949
  * @type {number}
28719
28950
  * @memberof UnifiedSubOptionDto
28720
28951
  */
@@ -30183,13 +30414,13 @@ export interface ValidateGiftCardResponseDtoCardInfo {
30183
30414
  */
30184
30415
  'title': string;
30185
30416
  /**
30186
- * What is left on the card, in euros (not cents)
30417
+ * What is left on the card, in units of its currency (euros for EUR, not cents)
30187
30418
  * @type {number}
30188
30419
  * @memberof ValidateGiftCardResponseDtoCardInfo
30189
30420
  */
30190
30421
  'balance': number;
30191
30422
  /**
30192
- * The card\'s currency code; EUR when Luckiefun sends none
30423
+ * The card\'s currency code; the venue\'s currency when Luckiefun sends none
30193
30424
  * @type {string}
30194
30425
  * @memberof ValidateGiftCardResponseDtoCardInfo
30195
30426
  */
@@ -30298,6 +30529,24 @@ export interface VendureSellerUpsertDto {
30298
30529
  * @memberof VendureSellerUpsertDto
30299
30530
  */
30300
30531
  'timezone'?: string | null;
30532
+ /**
30533
+ * The venue\'s country, ISO 3166-1 alpha-2 in any case, from the seller\'s address. Saved on the venue\'s BusinessConfig (created when the venue has none) with the country\'s locale, its main language and the country (FI is fi-FI). Any country is accepted. Null, absent, or a code that names no country keeps the stored one; a code that names none is logged
30534
+ * @type {string}
30535
+ * @memberof VendureSellerUpsertDto
30536
+ */
30537
+ 'country_code'?: string | null;
30538
+ /**
30539
+ * The currency the venue sells in, ISO 4217 in any case: the default currency of the seller\'s channels. Saved as the venue\'s currency, which the config answers, payments and reports read. A retired code is saved as its successor (ANG as XCG, SLL as SLE, ZWL as ZWG). Null, absent, or a code no currency has (CUC) keeps the stored one; an unknown code is logged
30540
+ * @type {string}
30541
+ * @memberof VendureSellerUpsertDto
30542
+ */
30543
+ 'currency'?: string | null;
30544
+ /**
30545
+ * The time the venue\'s business day ends, \"HH:mm\" 24-hour, in the venue\'s time zone: a sale before it counts on the day before in the day\'s report. Kept on the venue\'s MunchiPos config. Null, absent, or text that is not \"HH:mm\" keeps the stored one; a venue with none ends its day at 05:00
30546
+ * @type {string}
30547
+ * @memberof VendureSellerUpsertDto
30548
+ */
30549
+ 'report_time'?: string | null;
30301
30550
  /**
30302
30551
  * Whether the venue is in use. Vendure sends false when the seller is deleted
30303
30552
  * @type {boolean}
@@ -34354,12 +34603,13 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
34354
34603
  };
34355
34604
  },
34356
34605
  /**
34357
- * Read from Vendure and kept for 30 days for every caller; a failed read is not kept.
34606
+ * Read from Vendure. The venue named by businessId, or else the one venue a ticket covers, is answered the rates of its own tax zone, kept per venue and cleared by its seller sync; a venue with no tax of its own zone yet, and any other caller, every zone\'s enabled taxes, as before, so a till never gets an empty list. Kept 15 minutes, since Vendure announces no tax change yet; a failed read is not kept.
34358
34607
  * @summary List the enabled tax rates
34608
+ * @param {number} [businessId] The venue whose taxes are asked, its venue id: the rates of its own tax zone in Vendure. It must be on the signed-in ticket. Absent, a ticket of one venue is answered that venue\'s taxes, and any other caller every zone\'s enabled taxes, as before
34359
34609
  * @param {*} [options] Override http request option.
34360
34610
  * @throws {RequiredError}
34361
34611
  */
34362
- getBusinessTax: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34612
+ getBusinessTax: async (businessId?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34363
34613
  const localVarPath = `/api/v1/business/tax`;
34364
34614
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
34365
34615
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -34376,6 +34626,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
34376
34626
  // http bearer authentication required
34377
34627
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
34378
34628
 
34629
+ if (businessId !== undefined) {
34630
+ localVarQueryParameter['businessId'] = businessId;
34631
+ }
34632
+
34379
34633
 
34380
34634
 
34381
34635
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -34703,13 +34957,14 @@ export const BusinessApiFp = function(configuration?: Configuration) {
34703
34957
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34704
34958
  },
34705
34959
  /**
34706
- * Read from Vendure and kept for 30 days for every caller; a failed read is not kept.
34960
+ * Read from Vendure. The venue named by businessId, or else the one venue a ticket covers, is answered the rates of its own tax zone, kept per venue and cleared by its seller sync; a venue with no tax of its own zone yet, and any other caller, every zone\'s enabled taxes, as before, so a till never gets an empty list. Kept 15 minutes, since Vendure announces no tax change yet; a failed read is not kept.
34707
34961
  * @summary List the enabled tax rates
34962
+ * @param {number} [businessId] The venue whose taxes are asked, its venue id: the rates of its own tax zone in Vendure. It must be on the signed-in ticket. Absent, a ticket of one venue is answered that venue\&#39;s taxes, and any other caller every zone\&#39;s enabled taxes, as before
34708
34963
  * @param {*} [options] Override http request option.
34709
34964
  * @throws {RequiredError}
34710
34965
  */
34711
- async getBusinessTax(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessTaxResponseDto>>> {
34712
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessTax(options);
34966
+ async getBusinessTax(businessId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessTaxResponseDto>>> {
34967
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBusinessTax(businessId, options);
34713
34968
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34714
34969
  },
34715
34970
  /**
@@ -34890,13 +35145,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
34890
35145
  return localVarFp.getBusinessProviderStatus(businessId, options).then((request) => request(axios, basePath));
34891
35146
  },
34892
35147
  /**
34893
- * Read from Vendure and kept for 30 days for every caller; a failed read is not kept.
35148
+ * Read from Vendure. The venue named by businessId, or else the one venue a ticket covers, is answered the rates of its own tax zone, kept per venue and cleared by its seller sync; a venue with no tax of its own zone yet, and any other caller, every zone\'s enabled taxes, as before, so a till never gets an empty list. Kept 15 minutes, since Vendure announces no tax change yet; a failed read is not kept.
34894
35149
  * @summary List the enabled tax rates
35150
+ * @param {number} [businessId] The venue whose taxes are asked, its venue id: the rates of its own tax zone in Vendure. It must be on the signed-in ticket. Absent, a ticket of one venue is answered that venue\&#39;s taxes, and any other caller every zone\&#39;s enabled taxes, as before
34895
35151
  * @param {*} [options] Override http request option.
34896
35152
  * @throws {RequiredError}
34897
35153
  */
34898
- getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>> {
34899
- return localVarFp.getBusinessTax(options).then((request) => request(axios, basePath));
35154
+ getBusinessTax(businessId?: number, options?: any): AxiosPromise<Array<BusinessTaxResponseDto>> {
35155
+ return localVarFp.getBusinessTax(businessId, options).then((request) => request(axios, basePath));
34900
35156
  },
34901
35157
  /**
34902
35158
  * Kept 30 days per venue and invalidated when a venue\'s providers change. One cache read for all the venues, and one database read for the venues not kept. Each venue asked for is answered once, in the order asked; a venue with no active provider is answered with an empty list, which is kept too.
@@ -35071,13 +35327,14 @@ export interface BusinessApiInterface {
35071
35327
  getBusinessProviderStatus(businessId: string, options?: AxiosRequestConfig): AxiosPromise<Array<ProviderStatusResponseDto>>;
35072
35328
 
35073
35329
  /**
35074
- * Read from Vendure and kept for 30 days for every caller; a failed read is not kept.
35330
+ * Read from Vendure. The venue named by businessId, or else the one venue a ticket covers, is answered the rates of its own tax zone, kept per venue and cleared by its seller sync; a venue with no tax of its own zone yet, and any other caller, every zone\'s enabled taxes, as before, so a till never gets an empty list. Kept 15 minutes, since Vendure announces no tax change yet; a failed read is not kept.
35075
35331
  * @summary List the enabled tax rates
35332
+ * @param {number} [businessId] The venue whose taxes are asked, its venue id: the rates of its own tax zone in Vendure. It must be on the signed-in ticket. Absent, a ticket of one venue is answered that venue\&#39;s taxes, and any other caller every zone\&#39;s enabled taxes, as before
35076
35333
  * @param {*} [options] Override http request option.
35077
35334
  * @throws {RequiredError}
35078
35335
  * @memberof BusinessApiInterface
35079
35336
  */
35080
- getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
35337
+ getBusinessTax(businessId?: number, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
35081
35338
 
35082
35339
  /**
35083
35340
  * Kept 30 days per venue and invalidated when a venue\'s providers change. One cache read for all the venues, and one database read for the venues not kept. Each venue asked for is answered once, in the order asked; a venue with no active provider is answered with an empty list, which is kept too.
@@ -35274,14 +35531,15 @@ export class BusinessApi extends BaseAPI implements BusinessApiInterface {
35274
35531
  }
35275
35532
 
35276
35533
  /**
35277
- * Read from Vendure and kept for 30 days for every caller; a failed read is not kept.
35534
+ * Read from Vendure. The venue named by businessId, or else the one venue a ticket covers, is answered the rates of its own tax zone, kept per venue and cleared by its seller sync; a venue with no tax of its own zone yet, and any other caller, every zone\'s enabled taxes, as before, so a till never gets an empty list. Kept 15 minutes, since Vendure announces no tax change yet; a failed read is not kept.
35278
35535
  * @summary List the enabled tax rates
35536
+ * @param {number} [businessId] The venue whose taxes are asked, its venue id: the rates of its own tax zone in Vendure. It must be on the signed-in ticket. Absent, a ticket of one venue is answered that venue\&#39;s taxes, and any other caller every zone\&#39;s enabled taxes, as before
35279
35537
  * @param {*} [options] Override http request option.
35280
35538
  * @throws {RequiredError}
35281
35539
  * @memberof BusinessApi
35282
35540
  */
35283
- public getBusinessTax(options?: AxiosRequestConfig) {
35284
- return BusinessApiFp(this.configuration).getBusinessTax(options).then((request) => request(this.axios, this.basePath));
35541
+ public getBusinessTax(businessId?: number, options?: AxiosRequestConfig) {
35542
+ return BusinessApiFp(this.configuration).getBusinessTax(businessId, options).then((request) => request(this.axios, this.basePath));
35285
35543
  }
35286
35544
 
35287
35545
  /**
@@ -35534,7 +35792,7 @@ export const CashManagementApiAxiosParamCreator = function (configuration?: Conf
35534
35792
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
35535
35793
  * @param {number} [page] The page to read, from 1
35536
35794
  * @param {number} [rowPerPage] How many entries a page holds
35537
- * @param {string} [timezone] IANA timezone the period is read in (default \&quot;UTC\&quot;)
35795
+ * @param {string} [timezone] IANA timezone the period is read in. Absent: the venue\&#39;s own time zone (Business.timeZone)
35538
35796
  * @param {*} [options] Override http request option.
35539
35797
  * @throws {RequiredError}
35540
35798
  */
@@ -35801,7 +36059,7 @@ export const CashManagementApiFp = function(configuration?: Configuration) {
35801
36059
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
35802
36060
  * @param {number} [page] The page to read, from 1
35803
36061
  * @param {number} [rowPerPage] How many entries a page holds
35804
- * @param {string} [timezone] IANA timezone the period is read in (default \&quot;UTC\&quot;)
36062
+ * @param {string} [timezone] IANA timezone the period is read in. Absent: the venue\&#39;s own time zone (Business.timeZone)
35805
36063
  * @param {*} [options] Override http request option.
35806
36064
  * @throws {RequiredError}
35807
36065
  */
@@ -35888,7 +36146,7 @@ export const CashManagementApiFactory = function (configuration?: Configuration,
35888
36146
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
35889
36147
  * @param {number} [page] The page to read, from 1
35890
36148
  * @param {number} [rowPerPage] How many entries a page holds
35891
- * @param {string} [timezone] IANA timezone the period is read in (default \&quot;UTC\&quot;)
36149
+ * @param {string} [timezone] IANA timezone the period is read in. Absent: the venue\&#39;s own time zone (Business.timeZone)
35892
36150
  * @param {*} [options] Override http request option.
35893
36151
  * @throws {RequiredError}
35894
36152
  */
@@ -35969,7 +36227,7 @@ export interface CashManagementApiInterface {
35969
36227
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
35970
36228
  * @param {number} [page] The page to read, from 1
35971
36229
  * @param {number} [rowPerPage] How many entries a page holds
35972
- * @param {string} [timezone] IANA timezone the period is read in (default \&quot;UTC\&quot;)
36230
+ * @param {string} [timezone] IANA timezone the period is read in. Absent: the venue\&#39;s own time zone (Business.timeZone)
35973
36231
  * @param {*} [options] Override http request option.
35974
36232
  * @throws {RequiredError}
35975
36233
  * @memberof CashManagementApiInterface
@@ -36052,7 +36310,7 @@ export class CashManagementApi extends BaseAPI implements CashManagementApiInter
36052
36310
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36053
36311
  * @param {number} [page] The page to read, from 1
36054
36312
  * @param {number} [rowPerPage] How many entries a page holds
36055
- * @param {string} [timezone] IANA timezone the period is read in (default \&quot;UTC\&quot;)
36313
+ * @param {string} [timezone] IANA timezone the period is read in. Absent: the venue\&#39;s own time zone (Business.timeZone)
36056
36314
  * @param {*} [options] Override http request option.
36057
36315
  * @throws {RequiredError}
36058
36316
  * @memberof CashManagementApi
@@ -36131,7 +36389,7 @@ export const CashManagementV6ApiAxiosParamCreator = function (configuration?: Co
36131
36389
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36132
36390
  * @param {number} [page] The page to read, from 1
36133
36391
  * @param {number} [rowPerPage] How many entries a page holds
36134
- * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
36392
+ * @param {string} [timezone] Timezone of the period asked for. Absent: the venue\&#39;s own time zone (Business.timeZone)
36135
36393
  * @param {*} [options] Override http request option.
36136
36394
  * @throws {RequiredError}
36137
36395
  */
@@ -36209,7 +36467,7 @@ export const CashManagementV6ApiFp = function(configuration?: Configuration) {
36209
36467
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36210
36468
  * @param {number} [page] The page to read, from 1
36211
36469
  * @param {number} [rowPerPage] How many entries a page holds
36212
- * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
36470
+ * @param {string} [timezone] Timezone of the period asked for. Absent: the venue\&#39;s own time zone (Business.timeZone)
36213
36471
  * @param {*} [options] Override http request option.
36214
36472
  * @throws {RequiredError}
36215
36473
  */
@@ -36236,7 +36494,7 @@ export const CashManagementV6ApiFactory = function (configuration?: Configuratio
36236
36494
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36237
36495
  * @param {number} [page] The page to read, from 1
36238
36496
  * @param {number} [rowPerPage] How many entries a page holds
36239
- * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
36497
+ * @param {string} [timezone] Timezone of the period asked for. Absent: the venue\&#39;s own time zone (Business.timeZone)
36240
36498
  * @param {*} [options] Override http request option.
36241
36499
  * @throws {RequiredError}
36242
36500
  */
@@ -36261,7 +36519,7 @@ export interface CashManagementV6ApiInterface {
36261
36519
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36262
36520
  * @param {number} [page] The page to read, from 1
36263
36521
  * @param {number} [rowPerPage] How many entries a page holds
36264
- * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
36522
+ * @param {string} [timezone] Timezone of the period asked for. Absent: the venue\&#39;s own time zone (Business.timeZone)
36265
36523
  * @param {*} [options] Override http request option.
36266
36524
  * @throws {RequiredError}
36267
36525
  * @memberof CashManagementV6ApiInterface
@@ -36286,7 +36544,7 @@ export class CashManagementV6Api extends BaseAPI implements CashManagementV6ApiI
36286
36544
  * @param {string} [end] The period\&#39;s end, ISO 8601. Required when timeSpan is CUSTOM; an end after now reads until now.
36287
36545
  * @param {number} [page] The page to read, from 1
36288
36546
  * @param {number} [rowPerPage] How many entries a page holds
36289
- * @param {string} [timezone] Timezone of the period asked for (default \&quot;UTC\&quot;)
36547
+ * @param {string} [timezone] Timezone of the period asked for. Absent: the venue\&#39;s own time zone (Business.timeZone)
36290
36548
  * @param {*} [options] Override http request option.
36291
36549
  * @throws {RequiredError}
36292
36550
  * @memberof CashManagementV6Api
@@ -37016,7 +37274,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
37016
37274
  };
37017
37275
  },
37018
37276
  /**
37019
- * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. Every field in the body is written as sent.
37277
+ * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
37020
37278
  * @summary Create or update a venue
37021
37279
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37022
37280
  * @param {UpsertBusinessDto} upsertBusinessDto
@@ -37060,7 +37318,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
37060
37318
  };
37061
37319
  },
37062
37320
  /**
37063
- * A new config is saved in Europe/Helsinki unless the body says otherwise. Every field in the body is written as sent. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37321
+ * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37064
37322
  * @summary Create or update a channel\'s config
37065
37323
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37066
37324
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
@@ -37162,7 +37420,7 @@ export const ConfigManagementApiAxiosParamCreator = function (configuration?: Co
37162
37420
  };
37163
37421
  },
37164
37422
  /**
37165
- * The secret is stored encrypted. A new program needs name, apiBaseUrl and secretKey. The venue\'s cached config and loyalty settings are cleared.
37423
+ * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
37166
37424
  * @summary Create or update a loyalty program and link it to a venue
37167
37425
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37168
37426
  * @param {UpsertLoyaltyDto} upsertLoyaltyDto
@@ -37535,7 +37793,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
37535
37793
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37536
37794
  },
37537
37795
  /**
37538
- * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. Every field in the body is written as sent.
37796
+ * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
37539
37797
  * @summary Create or update a venue
37540
37798
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37541
37799
  * @param {UpsertBusinessDto} upsertBusinessDto
@@ -37547,7 +37805,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
37547
37805
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37548
37806
  },
37549
37807
  /**
37550
- * A new config is saved in Europe/Helsinki unless the body says otherwise. Every field in the body is written as sent. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37808
+ * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37551
37809
  * @summary Create or update a channel\'s config
37552
37810
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37553
37811
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
@@ -37573,7 +37831,7 @@ export const ConfigManagementApiFp = function(configuration?: Configuration) {
37573
37831
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37574
37832
  },
37575
37833
  /**
37576
- * The secret is stored encrypted. A new program needs name, apiBaseUrl and secretKey. The venue\'s cached config and loyalty settings are cleared.
37834
+ * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
37577
37835
  * @summary Create or update a loyalty program and link it to a venue
37578
37836
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37579
37837
  * @param {UpsertLoyaltyDto} upsertLoyaltyDto
@@ -37719,7 +37977,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
37719
37977
  return localVarFp.configSaveEpassiCredentials(businessId, xAppX, xEpassiAccessKey, saveEpassiCredentialsDto, options).then((request) => request(axios, basePath));
37720
37978
  },
37721
37979
  /**
37722
- * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. Every field in the body is written as sent.
37980
+ * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
37723
37981
  * @summary Create or update a venue
37724
37982
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37725
37983
  * @param {UpsertBusinessDto} upsertBusinessDto
@@ -37730,7 +37988,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
37730
37988
  return localVarFp.configUpsertBusiness(businessId, upsertBusinessDto, options).then((request) => request(axios, basePath));
37731
37989
  },
37732
37990
  /**
37733
- * A new config is saved in Europe/Helsinki unless the body says otherwise. Every field in the body is written as sent. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37991
+ * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37734
37992
  * @summary Create or update a channel\'s config
37735
37993
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37736
37994
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
@@ -37754,7 +38012,7 @@ export const ConfigManagementApiFactory = function (configuration?: Configuratio
37754
38012
  return localVarFp.configUpsertGiftCard(businessId, xAppX, upsertGiftCardDto, options).then((request) => request(axios, basePath));
37755
38013
  },
37756
38014
  /**
37757
- * The secret is stored encrypted. A new program needs name, apiBaseUrl and secretKey. The venue\'s cached config and loyalty settings are cleared.
38015
+ * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
37758
38016
  * @summary Create or update a loyalty program and link it to a venue
37759
38017
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37760
38018
  * @param {UpsertLoyaltyDto} upsertLoyaltyDto
@@ -37893,7 +38151,7 @@ export interface ConfigManagementApiInterface {
37893
38151
  configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
37894
38152
 
37895
38153
  /**
37896
- * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. Every field in the body is written as sent.
38154
+ * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
37897
38155
  * @summary Create or update a venue
37898
38156
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37899
38157
  * @param {UpsertBusinessDto} upsertBusinessDto
@@ -37904,7 +38162,7 @@ export interface ConfigManagementApiInterface {
37904
38162
  configUpsertBusiness(businessId: number, upsertBusinessDto: UpsertBusinessDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
37905
38163
 
37906
38164
  /**
37907
- * A new config is saved in Europe/Helsinki unless the body says otherwise. Every field in the body is written as sent. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
38165
+ * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
37908
38166
  * @summary Create or update a channel\'s config
37909
38167
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37910
38168
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
@@ -37928,7 +38186,7 @@ export interface ConfigManagementApiInterface {
37928
38186
  configUpsertGiftCard(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertGiftCardDto: UpsertGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
37929
38187
 
37930
38188
  /**
37931
- * The secret is stored encrypted. A new program needs name, apiBaseUrl and secretKey. The venue\'s cached config and loyalty settings are cleared.
38189
+ * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
37932
38190
  * @summary Create or update a loyalty program and link it to a venue
37933
38191
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
37934
38192
  * @param {UpsertLoyaltyDto} upsertLoyaltyDto
@@ -38077,7 +38335,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
38077
38335
  }
38078
38336
 
38079
38337
  /**
38080
- * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. Every field in the body is written as sent.
38338
+ * A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
38081
38339
  * @summary Create or update a venue
38082
38340
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
38083
38341
  * @param {UpsertBusinessDto} upsertBusinessDto
@@ -38090,7 +38348,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
38090
38348
  }
38091
38349
 
38092
38350
  /**
38093
- * A new config is saved in Europe/Helsinki unless the body says otherwise. Every field in the body is written as sent. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
38351
+ * A new config is saved in Europe/Helsinki unless the body says otherwise. The fields below are written as sent; any other field is dropped and its name logged. A venue with no merchant switched to Team or PIN lock gets its own merchant, named after it, in the same transaction. The venue\'s cached config and POS session are cleared.
38094
38352
  * @summary Create or update a channel\'s config
38095
38353
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
38096
38354
  * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX The app channel whose config is read or written
@@ -38118,7 +38376,7 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
38118
38376
  }
38119
38377
 
38120
38378
  /**
38121
- * The secret is stored encrypted. A new program needs name, apiBaseUrl and secretKey. The venue\'s cached config and loyalty settings are cleared.
38379
+ * The secret is stored encrypted and never answered: secretKey is null in the answer. A new program needs name, apiBaseUrl and secretKey; apiBaseUrl must be https on the Munchi loyalty server\'s host. A signed-in ticket may write only a programme that serves no venue off its account; the programme and the venue\'s link are written together. The venue\'s cached config and loyalty settings are cleared.
38122
38380
  * @summary Create or update a loyalty program and link it to a venue
38123
38381
  * @param {number} businessId The venue\&#39;s orderingBusinessId, not its cuid
38124
38382
  * @param {UpsertLoyaltyDto} upsertLoyaltyDto
@@ -40482,7 +40740,7 @@ export const HistoryApiAxiosParamCreator = function (configuration?: Configurati
40482
40740
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40483
40741
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40484
40742
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40485
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
40743
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40486
40744
  * @param {*} [options] Override http request option.
40487
40745
  * @deprecated
40488
40746
  * @throws {RequiredError}
@@ -40589,7 +40847,7 @@ export const HistoryApiAxiosParamCreator = function (configuration?: Configurati
40589
40847
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40590
40848
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40591
40849
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40592
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
40850
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40593
40851
  * @param {*} [options] Override http request option.
40594
40852
  * @throws {RequiredError}
40595
40853
  */
@@ -40705,7 +40963,7 @@ export const HistoryApiFp = function(configuration?: Configuration) {
40705
40963
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40706
40964
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40707
40965
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40708
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
40966
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40709
40967
  * @param {*} [options] Override http request option.
40710
40968
  * @deprecated
40711
40969
  * @throws {RequiredError}
@@ -40730,7 +40988,7 @@ export const HistoryApiFp = function(configuration?: Configuration) {
40730
40988
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40731
40989
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40732
40990
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40733
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
40991
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40734
40992
  * @param {*} [options] Override http request option.
40735
40993
  * @throws {RequiredError}
40736
40994
  */
@@ -40764,7 +41022,7 @@ export const HistoryApiFactory = function (configuration?: Configuration, basePa
40764
41022
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40765
41023
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40766
41024
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40767
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41025
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40768
41026
  * @param {*} [options] Override http request option.
40769
41027
  * @deprecated
40770
41028
  * @throws {RequiredError}
@@ -40788,7 +41046,7 @@ export const HistoryApiFactory = function (configuration?: Configuration, basePa
40788
41046
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40789
41047
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40790
41048
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40791
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41049
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40792
41050
  * @param {*} [options] Override http request option.
40793
41051
  * @throws {RequiredError}
40794
41052
  */
@@ -40820,7 +41078,7 @@ export interface HistoryApiInterface {
40820
41078
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40821
41079
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40822
41080
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40823
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41081
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40824
41082
  * @param {*} [options] Override http request option.
40825
41083
  * @deprecated
40826
41084
  * @throws {RequiredError}
@@ -40844,7 +41102,7 @@ export interface HistoryApiInterface {
40844
41102
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40845
41103
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40846
41104
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40847
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41105
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40848
41106
  * @param {*} [options] Override http request option.
40849
41107
  * @throws {RequiredError}
40850
41108
  * @memberof HistoryApiInterface
@@ -40876,7 +41134,7 @@ export class HistoryApi extends BaseAPI implements HistoryApiInterface {
40876
41134
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40877
41135
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40878
41136
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40879
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41137
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40880
41138
  * @param {*} [options] Override http request option.
40881
41139
  * @deprecated
40882
41140
  * @throws {RequiredError}
@@ -40902,7 +41160,7 @@ export class HistoryApi extends BaseAPI implements HistoryApiInterface {
40902
41160
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40903
41161
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40904
41162
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40905
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41163
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40906
41164
  * @param {*} [options] Override http request option.
40907
41165
  * @throws {RequiredError}
40908
41166
  * @memberof HistoryApi
@@ -40935,7 +41193,7 @@ export const HistoryV6ApiAxiosParamCreator = function (configuration?: Configura
40935
41193
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
40936
41194
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
40937
41195
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
40938
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41196
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
40939
41197
  * @param {*} [options] Override http request option.
40940
41198
  * @throws {RequiredError}
40941
41199
  */
@@ -41037,7 +41295,7 @@ export const HistoryV6ApiAxiosParamCreator = function (configuration?: Configura
41037
41295
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41038
41296
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41039
41297
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41040
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41298
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41041
41299
  * @param {*} [options] Override http request option.
41042
41300
  * @throws {RequiredError}
41043
41301
  */
@@ -41143,7 +41401,7 @@ export const HistoryV6ApiAxiosParamCreator = function (configuration?: Configura
41143
41401
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41144
41402
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41145
41403
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41146
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41404
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41147
41405
  * @param {*} [options] Override http request option.
41148
41406
  * @throws {RequiredError}
41149
41407
  */
@@ -41259,7 +41517,7 @@ export const HistoryV6ApiFp = function(configuration?: Configuration) {
41259
41517
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41260
41518
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41261
41519
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41262
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41520
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41263
41521
  * @param {*} [options] Override http request option.
41264
41522
  * @throws {RequiredError}
41265
41523
  */
@@ -41283,7 +41541,7 @@ export const HistoryV6ApiFp = function(configuration?: Configuration) {
41283
41541
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41284
41542
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41285
41543
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41286
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41544
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41287
41545
  * @param {*} [options] Override http request option.
41288
41546
  * @throws {RequiredError}
41289
41547
  */
@@ -41307,7 +41565,7 @@ export const HistoryV6ApiFp = function(configuration?: Configuration) {
41307
41565
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41308
41566
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41309
41567
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41310
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41568
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41311
41569
  * @param {*} [options] Override http request option.
41312
41570
  * @throws {RequiredError}
41313
41571
  */
@@ -41341,7 +41599,7 @@ export const HistoryV6ApiFactory = function (configuration?: Configuration, base
41341
41599
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41342
41600
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41343
41601
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41344
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41602
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41345
41603
  * @param {*} [options] Override http request option.
41346
41604
  * @throws {RequiredError}
41347
41605
  */
@@ -41364,7 +41622,7 @@ export const HistoryV6ApiFactory = function (configuration?: Configuration, base
41364
41622
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41365
41623
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41366
41624
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41367
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41625
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41368
41626
  * @param {*} [options] Override http request option.
41369
41627
  * @throws {RequiredError}
41370
41628
  */
@@ -41387,7 +41645,7 @@ export const HistoryV6ApiFactory = function (configuration?: Configuration, base
41387
41645
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41388
41646
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41389
41647
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41390
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41648
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41391
41649
  * @param {*} [options] Override http request option.
41392
41650
  * @throws {RequiredError}
41393
41651
  */
@@ -41419,7 +41677,7 @@ export interface HistoryV6ApiInterface {
41419
41677
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41420
41678
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41421
41679
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41422
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41680
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41423
41681
  * @param {*} [options] Override http request option.
41424
41682
  * @throws {RequiredError}
41425
41683
  * @memberof HistoryV6ApiInterface
@@ -41442,7 +41700,7 @@ export interface HistoryV6ApiInterface {
41442
41700
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41443
41701
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41444
41702
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41445
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41703
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41446
41704
  * @param {*} [options] Override http request option.
41447
41705
  * @throws {RequiredError}
41448
41706
  * @memberof HistoryV6ApiInterface
@@ -41465,7 +41723,7 @@ export interface HistoryV6ApiInterface {
41465
41723
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41466
41724
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41467
41725
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41468
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41726
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41469
41727
  * @param {*} [options] Override http request option.
41470
41728
  * @throws {RequiredError}
41471
41729
  * @memberof HistoryV6ApiInterface
@@ -41497,7 +41755,7 @@ export class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
41497
41755
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41498
41756
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41499
41757
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41500
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41758
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41501
41759
  * @param {*} [options] Override http request option.
41502
41760
  * @throws {RequiredError}
41503
41761
  * @memberof HistoryV6Api
@@ -41522,7 +41780,7 @@ export class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
41522
41780
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41523
41781
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41524
41782
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41525
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41783
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41526
41784
  * @param {*} [options] Override http request option.
41527
41785
  * @throws {RequiredError}
41528
41786
  * @memberof HistoryV6Api
@@ -41547,7 +41805,7 @@ export class HistoryV6Api extends BaseAPI implements HistoryV6ApiInterface {
41547
41805
  * @param {Array<OrderType>} [orderType] Keep the orders of these types. Absent: every type.
41548
41806
  * @param {Array<PaymentMethod>} [paymentTypePos] Keep the orders with a payment of these methods; in the POS order history Card also keeps Debit and Credit, and the totals count only those payments. Absent: every method. The online order history does not read it.
41549
41807
  * @param {string} [invoiceCompanyId] Keep the orders invoiced to this company id. Absent: every order. The online order history does not read it.
41550
- * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: \&quot;UTC\&quot;.
41808
+ * @param {string} [timezone] The IANA timezone the period\&#39;s days are counted in. Absent: the venue\&#39;s own time zone (Business.timeZone).
41551
41809
  * @param {*} [options] Override http request option.
41552
41810
  * @throws {RequiredError}
41553
41811
  * @memberof HistoryV6Api
@@ -41782,7 +42040,7 @@ export const InvoiceCompaniesApiAxiosParamCreator = function (configuration?: Co
41782
42040
  };
41783
42041
  },
41784
42042
  /**
41785
- * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is read back.
42043
+ * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is answered as the change wrote it. A body with no field changes nothing and answers the company as it is.
41786
42044
  * @summary Update an invoice company
41787
42045
  * @param {string} id The company\&#39;s id
41788
42046
  * @param {number} businessId The venue the companies belong to: its orderingBusinessId
@@ -41901,7 +42159,7 @@ export const InvoiceCompaniesApiFp = function(configuration?: Configuration) {
41901
42159
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41902
42160
  },
41903
42161
  /**
41904
- * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is read back.
42162
+ * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is answered as the change wrote it. A body with no field changes nothing and answers the company as it is.
41905
42163
  * @summary Update an invoice company
41906
42164
  * @param {string} id The company\&#39;s id
41907
42165
  * @param {number} businessId The venue the companies belong to: its orderingBusinessId
@@ -41977,7 +42235,7 @@ export const InvoiceCompaniesApiFactory = function (configuration?: Configuratio
41977
42235
  return localVarFp.searchInvoiceCompanies(businessId, search, options).then((request) => request(axios, basePath));
41978
42236
  },
41979
42237
  /**
41980
- * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is read back.
42238
+ * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is answered as the change wrote it. A body with no field changes nothing and answers the company as it is.
41981
42239
  * @summary Update an invoice company
41982
42240
  * @param {string} id The company\&#39;s id
41983
42241
  * @param {number} businessId The venue the companies belong to: its orderingBusinessId
@@ -42051,7 +42309,7 @@ export interface InvoiceCompaniesApiInterface {
42051
42309
  searchInvoiceCompanies(businessId: number, search?: string, options?: AxiosRequestConfig): AxiosPromise<Array<InvoiceCompanyResponseDto>>;
42052
42310
 
42053
42311
  /**
42054
- * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is read back.
42312
+ * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is answered as the change wrote it. A body with no field changes nothing and answers the company as it is.
42055
42313
  * @summary Update an invoice company
42056
42314
  * @param {string} id The company\&#39;s id
42057
42315
  * @param {number} businessId The venue the companies belong to: its orderingBusinessId
@@ -42135,7 +42393,7 @@ export class InvoiceCompaniesApi extends BaseAPI implements InvoiceCompaniesApiI
42135
42393
  }
42136
42394
 
42137
42395
  /**
42138
- * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is read back.
42396
+ * Changes the fields sent and keeps the others, for munchi-dashboard-server, on behalf of the portal; a body field the DTO does not declare is ignored, and an address, phone, countryCode or bic sent as null is cleared. Once changed, the venue\'s kept company list and its config are invalidated, and the company is answered as the change wrote it. A body with no field changes nothing and answers the company as it is.
42139
42397
  * @summary Update an invoice company
42140
42398
  * @param {string} id The company\&#39;s id
42141
42399
  * @param {number} businessId The venue the companies belong to: its orderingBusinessId
@@ -45712,7 +45970,7 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
45712
45970
  };
45713
45971
  },
45714
45972
  /**
45715
- * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres, then the platform or the order\'s Firestore document is told; a failure to tell it is logged and does not change the answer.
45973
+ * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres and the answer leaves; after it, the platform or the order\'s Firestore document is told, then the venue\'s tills; a failure to tell it is logged and does not change the answer.
45716
45974
  * @summary Mark an order as delivered to customer or picked-up by driver
45717
45975
  * @param {DeliveredOrderDto} deliveredOrderDto
45718
45976
  * @param {*} [options] Override http request option.
@@ -46218,7 +46476,7 @@ export const OrdersApiFp = function(configuration?: Configuration) {
46218
46476
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46219
46477
  },
46220
46478
  /**
46221
- * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres, then the platform or the order\'s Firestore document is told; a failure to tell it is logged and does not change the answer.
46479
+ * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres and the answer leaves; after it, the platform or the order\'s Firestore document is told, then the venue\'s tills; a failure to tell it is logged and does not change the answer.
46222
46480
  * @summary Mark an order as delivered to customer or picked-up by driver
46223
46481
  * @param {DeliveredOrderDto} deliveredOrderDto
46224
46482
  * @param {*} [options] Override http request option.
@@ -46396,7 +46654,7 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
46396
46654
  return localVarFp.deletePosParkedOrderV2(deletePosOrderDto, options).then((request) => request(axios, basePath));
46397
46655
  },
46398
46656
  /**
46399
- * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres, then the platform or the order\'s Firestore document is told; a failure to tell it is logged and does not change the answer.
46657
+ * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres and the answer leaves; after it, the platform or the order\'s Firestore document is told, then the venue\'s tills; a failure to tell it is logged and does not change the answer.
46400
46658
  * @summary Mark an order as delivered to customer or picked-up by driver
46401
46659
  * @param {DeliveredOrderDto} deliveredOrderDto
46402
46660
  * @param {*} [options] Override http request option.
@@ -46561,7 +46819,7 @@ export interface OrdersApiInterface {
46561
46819
  deletePosParkedOrderV2(deletePosOrderDto: DeletePosOrderDto, options?: AxiosRequestConfig): AxiosPromise<void>;
46562
46820
 
46563
46821
  /**
46564
- * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres, then the platform or the order\'s Firestore document is told; a failure to tell it is logged and does not change the answer.
46822
+ * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres and the answer leaves; after it, the platform or the order\'s Firestore document is told, then the venue\'s tills; a failure to tell it is logged and does not change the answer.
46565
46823
  * @summary Mark an order as delivered to customer or picked-up by driver
46566
46824
  * @param {DeliveredOrderDto} deliveredOrderDto
46567
46825
  * @param {*} [options] Override http request option.
@@ -46732,7 +46990,7 @@ export class OrdersApi extends BaseAPI implements OrdersApiInterface {
46732
46990
  }
46733
46991
 
46734
46992
  /**
46735
- * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres, then the platform or the order\'s Firestore document is told; a failure to tell it is logged and does not change the answer.
46993
+ * The till\'s Order Manager hands a platform order over. A delivery order becomes pick_up_by_driver; a pickup or dine-in order becomes delivered. The status is stored in Postgres and the answer leaves; after it, the platform or the order\'s Firestore document is told, then the venue\'s tills; a failure to tell it is logged and does not change the answer.
46736
46994
  * @summary Mark an order as delivered to customer or picked-up by driver
46737
46995
  * @param {DeliveredOrderDto} deliveredOrderDto
46738
46996
  * @param {*} [options] Override http request option.
@@ -51734,7 +51992,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
51734
51992
  * @summary Get a product\'s stock and on/off for every channel
51735
51993
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51736
51994
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51737
- * @param {string} productId The product\&#39;s id in Vendure
51995
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51738
51996
  * @param {*} [options] Override http request option.
51739
51997
  * @throws {RequiredError}
51740
51998
  */
@@ -51776,7 +52034,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
51776
52034
  * @summary Save a product\'s stock and on/off for several channels at once
51777
52035
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51778
52036
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51779
- * @param {string} productId The product\&#39;s id in Vendure
52037
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51780
52038
  * @param {UpdateChannelInventoryDto} updateChannelInventoryDto The channels to save
51781
52039
  * @param {*} [options] Override http request option.
51782
52040
  * @throws {RequiredError}
@@ -51824,7 +52082,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
51824
52082
  * @summary Save a product\'s SKU (label code)
51825
52083
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51826
52084
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51827
- * @param {string} productId The product\&#39;s id in Vendure
52085
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51828
52086
  * @param {UpdateProductSkuDto} updateProductSkuDto The SKU to save
51829
52087
  * @param {*} [options] Override http request option.
51830
52088
  * @throws {RequiredError}
@@ -51882,7 +52140,7 @@ export const ProductApiFp = function(configuration?: Configuration) {
51882
52140
  * @summary Get a product\'s stock and on/off for every channel
51883
52141
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51884
52142
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51885
- * @param {string} productId The product\&#39;s id in Vendure
52143
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51886
52144
  * @param {*} [options] Override http request option.
51887
52145
  * @throws {RequiredError}
51888
52146
  */
@@ -51895,7 +52153,7 @@ export const ProductApiFp = function(configuration?: Configuration) {
51895
52153
  * @summary Save a product\'s stock and on/off for several channels at once
51896
52154
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51897
52155
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51898
- * @param {string} productId The product\&#39;s id in Vendure
52156
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51899
52157
  * @param {UpdateChannelInventoryDto} updateChannelInventoryDto The channels to save
51900
52158
  * @param {*} [options] Override http request option.
51901
52159
  * @throws {RequiredError}
@@ -51909,7 +52167,7 @@ export const ProductApiFp = function(configuration?: Configuration) {
51909
52167
  * @summary Save a product\'s SKU (label code)
51910
52168
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51911
52169
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51912
- * @param {string} productId The product\&#39;s id in Vendure
52170
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51913
52171
  * @param {UpdateProductSkuDto} updateProductSkuDto The SKU to save
51914
52172
  * @param {*} [options] Override http request option.
51915
52173
  * @throws {RequiredError}
@@ -51933,7 +52191,7 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
51933
52191
  * @summary Get a product\'s stock and on/off for every channel
51934
52192
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51935
52193
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51936
- * @param {string} productId The product\&#39;s id in Vendure
52194
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51937
52195
  * @param {*} [options] Override http request option.
51938
52196
  * @throws {RequiredError}
51939
52197
  */
@@ -51945,7 +52203,7 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
51945
52203
  * @summary Save a product\'s stock and on/off for several channels at once
51946
52204
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51947
52205
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51948
- * @param {string} productId The product\&#39;s id in Vendure
52206
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51949
52207
  * @param {UpdateChannelInventoryDto} updateChannelInventoryDto The channels to save
51950
52208
  * @param {*} [options] Override http request option.
51951
52209
  * @throws {RequiredError}
@@ -51958,7 +52216,7 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
51958
52216
  * @summary Save a product\'s SKU (label code)
51959
52217
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51960
52218
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51961
- * @param {string} productId The product\&#39;s id in Vendure
52219
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51962
52220
  * @param {UpdateProductSkuDto} updateProductSkuDto The SKU to save
51963
52221
  * @param {*} [options] Override http request option.
51964
52222
  * @throws {RequiredError}
@@ -51980,7 +52238,7 @@ export interface ProductApiInterface {
51980
52238
  * @summary Get a product\'s stock and on/off for every channel
51981
52239
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51982
52240
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51983
- * @param {string} productId The product\&#39;s id in Vendure
52241
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51984
52242
  * @param {*} [options] Override http request option.
51985
52243
  * @throws {RequiredError}
51986
52244
  * @memberof ProductApiInterface
@@ -51992,7 +52250,7 @@ export interface ProductApiInterface {
51992
52250
  * @summary Save a product\'s stock and on/off for several channels at once
51993
52251
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
51994
52252
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
51995
- * @param {string} productId The product\&#39;s id in Vendure
52253
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
51996
52254
  * @param {UpdateChannelInventoryDto} updateChannelInventoryDto The channels to save
51997
52255
  * @param {*} [options] Override http request option.
51998
52256
  * @throws {RequiredError}
@@ -52005,7 +52263,7 @@ export interface ProductApiInterface {
52005
52263
  * @summary Save a product\'s SKU (label code)
52006
52264
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
52007
52265
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
52008
- * @param {string} productId The product\&#39;s id in Vendure
52266
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
52009
52267
  * @param {UpdateProductSkuDto} updateProductSkuDto The SKU to save
52010
52268
  * @param {*} [options] Override http request option.
52011
52269
  * @throws {RequiredError}
@@ -52027,7 +52285,7 @@ export class ProductApi extends BaseAPI implements ProductApiInterface {
52027
52285
  * @summary Get a product\'s stock and on/off for every channel
52028
52286
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
52029
52287
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
52030
- * @param {string} productId The product\&#39;s id in Vendure
52288
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
52031
52289
  * @param {*} [options] Override http request option.
52032
52290
  * @throws {RequiredError}
52033
52291
  * @memberof ProductApi
@@ -52041,7 +52299,7 @@ export class ProductApi extends BaseAPI implements ProductApiInterface {
52041
52299
  * @summary Save a product\'s stock and on/off for several channels at once
52042
52300
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
52043
52301
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
52044
- * @param {string} productId The product\&#39;s id in Vendure
52302
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
52045
52303
  * @param {UpdateChannelInventoryDto} updateChannelInventoryDto The channels to save
52046
52304
  * @param {*} [options] Override http request option.
52047
52305
  * @throws {RequiredError}
@@ -52056,7 +52314,7 @@ export class ProductApi extends BaseAPI implements ProductApiInterface {
52056
52314
  * @summary Save a product\'s SKU (label code)
52057
52315
  * @param {string} businessId The venue\&#39;s id; the ticket must cover it
52058
52316
  * @param {string} categoryId The product\&#39;s category id. Not checked against the product: it is copied into each answered row as category_id
52059
- * @param {string} productId The product\&#39;s id in Vendure
52317
+ * @param {string} productId The product\&#39;s id in Vendure: a whole number from 1, with no leading zero; anything else is refused with 400 before Vendure is asked
52060
52318
  * @param {UpdateProductSkuDto} updateProductSkuDto The SKU to save
52061
52319
  * @param {*} [options] Override http request option.
52062
52320
  * @throws {RequiredError}
@@ -53693,7 +53951,7 @@ export const ReportApiAxiosParamCreator = function (configuration?: Configuratio
53693
53951
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
53694
53952
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53695
53953
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53696
- * @param {string} [timezone] Timezone (default is \&quot;UTC\&quot;)
53954
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
53697
53955
  * @param {ProviderEnum} [provider] Order source provider (default is MunchiPos)
53698
53956
  * @param {*} [options] Override http request option.
53699
53957
  * @throws {RequiredError}
@@ -53835,7 +54093,7 @@ export const ReportApiFp = function(configuration?: Configuration) {
53835
54093
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
53836
54094
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53837
54095
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53838
- * @param {string} [timezone] Timezone (default is \&quot;UTC\&quot;)
54096
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
53839
54097
  * @param {ProviderEnum} [provider] Order source provider (default is MunchiPos)
53840
54098
  * @param {*} [options] Override http request option.
53841
54099
  * @throws {RequiredError}
@@ -53878,7 +54136,7 @@ export const ReportApiFactory = function (configuration?: Configuration, basePat
53878
54136
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
53879
54137
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53880
54138
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53881
- * @param {string} [timezone] Timezone (default is \&quot;UTC\&quot;)
54139
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
53882
54140
  * @param {ProviderEnum} [provider] Order source provider (default is MunchiPos)
53883
54141
  * @param {*} [options] Override http request option.
53884
54142
  * @throws {RequiredError}
@@ -53918,7 +54176,7 @@ export interface ReportApiInterface {
53918
54176
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
53919
54177
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53920
54178
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53921
- * @param {string} [timezone] Timezone (default is \&quot;UTC\&quot;)
54179
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
53922
54180
  * @param {ProviderEnum} [provider] Order source provider (default is MunchiPos)
53923
54181
  * @param {*} [options] Override http request option.
53924
54182
  * @throws {RequiredError}
@@ -53958,7 +54216,7 @@ export class ReportApi extends BaseAPI implements ReportApiInterface {
53958
54216
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
53959
54217
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53960
54218
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
53961
- * @param {string} [timezone] Timezone (default is \&quot;UTC\&quot;)
54219
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
53962
54220
  * @param {ProviderEnum} [provider] Order source provider (default is MunchiPos)
53963
54221
  * @param {*} [options] Override http request option.
53964
54222
  * @throws {RequiredError}
@@ -54001,7 +54259,7 @@ export const ReportV6ApiAxiosParamCreator = function (configuration?: Configurat
54001
54259
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54002
54260
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54003
54261
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54004
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54262
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54005
54263
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54006
54264
  * @param {*} [options] Override http request option.
54007
54265
  * @throws {RequiredError}
@@ -54068,7 +54326,7 @@ export const ReportV6ApiAxiosParamCreator = function (configuration?: Configurat
54068
54326
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54069
54327
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54070
54328
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54071
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54329
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54072
54330
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54073
54331
  * @param {*} [options] Override http request option.
54074
54332
  * @throws {RequiredError}
@@ -54149,7 +54407,7 @@ export const ReportV6ApiFp = function(configuration?: Configuration) {
54149
54407
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54150
54408
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54151
54409
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54152
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54410
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54153
54411
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54154
54412
  * @param {*} [options] Override http request option.
54155
54413
  * @throws {RequiredError}
@@ -54166,7 +54424,7 @@ export const ReportV6ApiFp = function(configuration?: Configuration) {
54166
54424
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54167
54425
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54168
54426
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54169
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54427
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54170
54428
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54171
54429
  * @param {*} [options] Override http request option.
54172
54430
  * @throws {RequiredError}
@@ -54192,7 +54450,7 @@ export const ReportV6ApiFactory = function (configuration?: Configuration, baseP
54192
54450
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54193
54451
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54194
54452
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54195
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54453
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54196
54454
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54197
54455
  * @param {*} [options] Override http request option.
54198
54456
  * @throws {RequiredError}
@@ -54208,7 +54466,7 @@ export const ReportV6ApiFactory = function (configuration?: Configuration, baseP
54208
54466
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54209
54467
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54210
54468
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54211
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54469
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54212
54470
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54213
54471
  * @param {*} [options] Override http request option.
54214
54472
  * @throws {RequiredError}
@@ -54232,7 +54490,7 @@ export interface ReportV6ApiInterface {
54232
54490
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54233
54491
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54234
54492
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54235
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54493
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54236
54494
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54237
54495
  * @param {*} [options] Override http request option.
54238
54496
  * @throws {RequiredError}
@@ -54248,7 +54506,7 @@ export interface ReportV6ApiInterface {
54248
54506
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54249
54507
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54250
54508
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54251
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54509
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54252
54510
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54253
54511
  * @param {*} [options] Override http request option.
54254
54512
  * @throws {RequiredError}
@@ -54272,7 +54530,7 @@ export class ReportV6Api extends BaseAPI implements ReportV6ApiInterface {
54272
54530
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54273
54531
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54274
54532
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54275
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54533
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54276
54534
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54277
54535
  * @param {*} [options] Override http request option.
54278
54536
  * @throws {RequiredError}
@@ -54290,7 +54548,7 @@ export class ReportV6Api extends BaseAPI implements ReportV6ApiInterface {
54290
54548
  * @param {TimeSpan} [timeSpan] The period asked for: DAY, WEEK, MONTH, YEAR, or CUSTOM between start and end
54291
54549
  * @param {string} [start] The first day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54292
54550
  * @param {string} [end] The last day of a CUSTOM period, an ISO 8601 date; required with CUSTOM
54293
- * @param {string} [timezone] Timezone of the period (default \&quot;UTC\&quot;)
54551
+ * @param {string} [timezone] Timezone of the period. Absent: the venue\&#39;s own time zone (Business.timeZone)
54294
54552
  * @param {ProviderEnum} [provider] Order source (default MunchiPos)
54295
54553
  * @param {*} [options] Override http request option.
54296
54554
  * @throws {RequiredError}