@munchi_oy/core 2.14.3 → 2.15.1

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.
@@ -4596,6 +4596,18 @@ export interface CreateMunchiGiftCardDto {
4596
4596
  * @memberof CreateMunchiGiftCardDto
4597
4597
  */
4598
4598
  'purchaserEmail'?: string;
4599
+ /**
4600
+ * Whether the card is emailed to purchaserEmail once it is ACTIVE: at once for a card sold ACTIVE, when its order is paid for one sold PENDING. Absent: true. Without purchaserEmail nothing is sent.
4601
+ * @type {boolean}
4602
+ * @memberof CreateMunchiGiftCardDto
4603
+ */
4604
+ 'sendEmail'?: boolean;
4605
+ /**
4606
+ * The message shown in the card\'s email, 1 to 300 characters once the spaces around it are dropped: the buyer\'s own words. Absent or only spaces: none.
4607
+ * @type {string}
4608
+ * @memberof CreateMunchiGiftCardDto
4609
+ */
4610
+ 'message'?: string;
4599
4611
  /**
4600
4612
  * The country code of the buyer\'s phone, 1 to 8 characters as sent; spaces around it are dropped
4601
4613
  * @type {string}
@@ -4878,6 +4890,31 @@ export interface CreatePaymentMethodDtoGiftCardCredentials {
4878
4890
  */
4879
4891
  'uniquePosDeviceId'?: string;
4880
4892
  }
4893
+ /**
4894
+ *
4895
+ * @export
4896
+ * @interface CreatePaymentTerminalDto
4897
+ */
4898
+ export interface CreatePaymentTerminalDto {
4899
+ /**
4900
+ *
4901
+ * @type {TerminalProvider}
4902
+ * @memberof CreatePaymentTerminalDto
4903
+ */
4904
+ 'provider': TerminalProvider;
4905
+ /**
4906
+ * The provider\'s own id of the terminal, trimmed: for viva the terminal ID (TID) in Viva\'s portal, digits only (16010572); for nets the terminal ID (TID), digits only (72102200); for worldline the terminal\'s serial number, letters and digits (253SKD884468). The payment is sent to the provider with this id, so it must be the id the provider knows
4907
+ * @type {string}
4908
+ * @memberof CreatePaymentTerminalDto
4909
+ */
4910
+ 'hardwareId': string;
4911
+ /**
4912
+ * The terminal\'s name, as the venue\'s staff call it
4913
+ * @type {string}
4914
+ * @memberof CreatePaymentTerminalDto
4915
+ */
4916
+ 'label': string;
4917
+ }
4881
4918
  /**
4882
4919
  *
4883
4920
  * @export
@@ -5197,11 +5234,17 @@ export interface CreateVenueGiftCardDto {
5197
5234
  */
5198
5235
  'note'?: string;
5199
5236
  /**
5200
- * The message shown in the card\'s email, 1 to 300 characters: the buyer\'s or the store\'s own words. Absent: none.
5237
+ * The message shown in the card\'s email, 1 to 300 characters once the spaces around it are dropped: the buyer\'s or the store\'s own words. Absent or only spaces: none.
5201
5238
  * @type {string}
5202
5239
  * @memberof CreateVenueGiftCardDto
5203
5240
  */
5204
5241
  'message'?: string;
5242
+ /**
5243
+ *
5244
+ * @type {GiftCardLanguage}
5245
+ * @memberof CreateVenueGiftCardDto
5246
+ */
5247
+ 'language'?: GiftCardLanguage;
5205
5248
  /**
5206
5249
  * Whether the card is emailed to buyerEmail at once. Absent: true. Without buyerEmail nothing is sent.
5207
5250
  * @type {boolean}
@@ -8896,6 +8939,16 @@ export declare const GiftCardIssue: {
8896
8939
  readonly ByHand: "BY_HAND";
8897
8940
  };
8898
8941
  export type GiftCardIssue = typeof GiftCardIssue[keyof typeof GiftCardIssue];
8942
+ /**
8943
+ *
8944
+ * @export
8945
+ * @enum {string}
8946
+ */
8947
+ export declare const GiftCardLanguage: {
8948
+ readonly En: "en";
8949
+ readonly Fi: "fi";
8950
+ };
8951
+ export type GiftCardLanguage = typeof GiftCardLanguage[keyof typeof GiftCardLanguage];
8899
8952
  /**
8900
8953
  *
8901
8954
  * @export
@@ -9441,6 +9494,12 @@ export interface GiftCardSettingsDto {
9441
9494
  * @memberof GiftCardSettingsDto
9442
9495
  */
9443
9496
  'terms': string | null;
9497
+ /**
9498
+ *
9499
+ * @type {GiftCardLanguage}
9500
+ * @memberof GiftCardSettingsDto
9501
+ */
9502
+ 'emailLanguage': GiftCardLanguage | null;
9444
9503
  }
9445
9504
  /**
9446
9505
  * Where the store\'s gift cards can be spent
@@ -26749,6 +26808,19 @@ export interface ReleasedLicenceHoldsDto {
26749
26808
  */
26750
26809
  'nextAfterVenueId': number | null;
26751
26810
  }
26811
+ /**
26812
+ *
26813
+ * @export
26814
+ * @interface RenamePaymentTerminalDto
26815
+ */
26816
+ export interface RenamePaymentTerminalDto {
26817
+ /**
26818
+ * The terminal\'s new name; nothing else of the terminal changes
26819
+ * @type {string}
26820
+ * @memberof RenamePaymentTerminalDto
26821
+ */
26822
+ 'label': string;
26823
+ }
26752
26824
  /**
26753
26825
  *
26754
26826
  * @export
@@ -33419,6 +33491,17 @@ export declare const TerminalConnectionType: {
33419
33491
  readonly Network: "NETWORK";
33420
33492
  };
33421
33493
  export type TerminalConnectionType = typeof TerminalConnectionType[keyof typeof TerminalConnectionType];
33494
+ /**
33495
+ *
33496
+ * @export
33497
+ * @enum {string}
33498
+ */
33499
+ export declare const TerminalProvider: {
33500
+ readonly Viva: "viva";
33501
+ readonly Nets: "nets";
33502
+ readonly Worldline: "worldline";
33503
+ };
33504
+ export type TerminalProvider = typeof TerminalProvider[keyof typeof TerminalProvider];
33422
33505
  /**
33423
33506
  *
33424
33507
  * @export
@@ -35972,6 +36055,12 @@ export interface UpdateGiftCardSettingsDto {
35972
36055
  * @memberof UpdateGiftCardSettingsDto
35973
36056
  */
35974
36057
  'terms'?: string | null;
36058
+ /**
36059
+ *
36060
+ * @type {GiftCardLanguage}
36061
+ * @memberof UpdateGiftCardSettingsDto
36062
+ */
36063
+ 'emailLanguage'?: GiftCardLanguage | null;
35975
36064
  }
35976
36065
  /**
35977
36066
  * Where the store\'s gift cards can be spent, both channels. Absent: unchanged.
@@ -36476,6 +36565,12 @@ export interface UpdateVenueGiftCardDto {
36476
36565
  * @memberof UpdateVenueGiftCardDto
36477
36566
  */
36478
36567
  'buyerEmail': string | null;
36568
+ /**
36569
+ *
36570
+ * @type {GiftCardLanguage}
36571
+ * @memberof UpdateVenueGiftCardDto
36572
+ */
36573
+ 'language'?: GiftCardLanguage | null;
36479
36574
  }
36480
36575
  /**
36481
36576
  *
@@ -37713,6 +37808,12 @@ export interface VenueGiftCardDetailDto {
37713
37808
  * @memberof VenueGiftCardDetailDto
37714
37809
  */
37715
37810
  'message': string | null;
37811
+ /**
37812
+ *
37813
+ * @type {GiftCardLanguage}
37814
+ * @memberof VenueGiftCardDetailDto
37815
+ */
37816
+ 'language': GiftCardLanguage | null;
37716
37817
  /**
37717
37818
  *
37718
37819
  * @type {VenueGiftCardDetailDtoLastEmail}
@@ -38023,7 +38124,7 @@ export interface VenuePaymentTerminalDto {
38023
38124
  */
38024
38125
  export interface VenuePaymentTerminalsDto {
38025
38126
  /**
38026
- * The venue\'s payment terminals as stored, oldest first; a terminal is stored once a till has discovered it
38127
+ * The venue\'s payment terminals as stored, oldest first; a terminal is stored once a till has discovered it at its provider, or once Munchi ops added it
38027
38128
  * @type {Array<VenuePaymentTerminalDto>}
38028
38129
  * @memberof VenuePaymentTerminalsDto
38029
38130
  */
@@ -59742,6 +59843,15 @@ export declare const VenueKiosksApiAxiosParamCreator: (configuration?: Configura
59742
59843
  * @throws {RequiredError}
59743
59844
  */
59744
59845
  claimVenueKiosk: (businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59846
+ /**
59847
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
59848
+ * @summary Add a payment terminal to the venue (Munchi admins only)
59849
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59850
+ * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
59851
+ * @param {*} [options] Override http request option.
59852
+ * @throws {RequiredError}
59853
+ */
59854
+ createVenuePaymentTerminal: (businessId: number, createPaymentTerminalDto: CreatePaymentTerminalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59745
59855
  /**
59746
59856
  * paymentTerminalId names one of the venue\'s stored terminals, or null unlinks the kiosk\'s terminal. A terminal another kiosk or till holds is refused, never taken from it. The kiosk\'s kept station is forgotten, so the kiosk pays on the new terminal from its next request.
59747
59857
  * @summary Link one of the venue\'s payment terminals to a kiosk, or unlink it
@@ -59761,7 +59871,7 @@ export declare const VenueKiosksApiAxiosParamCreator: (configuration?: Configura
59761
59871
  */
59762
59872
  listVenueKiosks: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59763
59873
  /**
59764
- * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover); this route asks no provider.
59874
+ * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover), or once Munchi ops added it (POST payment-terminals); this route asks no provider.
59765
59875
  * @summary List the venue\'s payment terminals, for linking one to a kiosk
59766
59876
  * @param {number} businessId The venue\&#39;s orderingBusinessId
59767
59877
  * @param {*} [options] Override http request option.
@@ -59777,6 +59887,25 @@ export declare const VenueKiosksApiAxiosParamCreator: (configuration?: Configura
59777
59887
  * @throws {RequiredError}
59778
59888
  */
59779
59889
  removeVenueKiosk: (businessId: number, stationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59890
+ /**
59891
+ * The terminal\'s row is deleted; payments made on it keep its id in their own records. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Refused while a kiosk or till holds the terminal, and while a payment, reversal or refund started on it in the last 24 hours is still waiting on the terminal. Both are read under a lock on the terminal, so a link made meanwhile is never undone silently. A Viva or Nets terminal still on the venue\'s provider account is stored again on a till\'s next discover.
59892
+ * @summary Remove a payment terminal from the venue (Munchi admins only)
59893
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59894
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
59895
+ * @param {*} [options] Override http request option.
59896
+ * @throws {RequiredError}
59897
+ */
59898
+ removeVenuePaymentTerminal: (businessId: number, paymentTerminalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59899
+ /**
59900
+ * Only the label changes; the provider and its terminal id stay, and a kiosk or till holding the terminal keeps paying on it and shows the new label from its next request. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Two renames at once both write; the later one\'s label stays.
59901
+ * @summary Rename one of the venue\'s payment terminals (Munchi admins only)
59902
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59903
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
59904
+ * @param {RenamePaymentTerminalDto} renamePaymentTerminalDto
59905
+ * @param {*} [options] Override http request option.
59906
+ * @throws {RequiredError}
59907
+ */
59908
+ renameVenuePaymentTerminal: (businessId: number, paymentTerminalId: string, renamePaymentTerminalDto: RenamePaymentTerminalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59780
59909
  };
59781
59910
  /**
59782
59911
  * VenueKiosksApi - functional programming interface
@@ -59802,6 +59931,15 @@ export declare const VenueKiosksApiFp: (configuration?: Configuration) => {
59802
59931
  * @throws {RequiredError}
59803
59932
  */
59804
59933
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueKioskDto>>;
59934
+ /**
59935
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
59936
+ * @summary Add a payment terminal to the venue (Munchi admins only)
59937
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59938
+ * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
59939
+ * @param {*} [options] Override http request option.
59940
+ * @throws {RequiredError}
59941
+ */
59942
+ createVenuePaymentTerminal(businessId: number, createPaymentTerminalDto: CreatePaymentTerminalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenuePaymentTerminalDto>>;
59805
59943
  /**
59806
59944
  * paymentTerminalId names one of the venue\'s stored terminals, or null unlinks the kiosk\'s terminal. A terminal another kiosk or till holds is refused, never taken from it. The kiosk\'s kept station is forgotten, so the kiosk pays on the new terminal from its next request.
59807
59945
  * @summary Link one of the venue\'s payment terminals to a kiosk, or unlink it
@@ -59821,7 +59959,7 @@ export declare const VenueKiosksApiFp: (configuration?: Configuration) => {
59821
59959
  */
59822
59960
  listVenueKiosks(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueKiosksDto>>;
59823
59961
  /**
59824
- * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover); this route asks no provider.
59962
+ * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover), or once Munchi ops added it (POST payment-terminals); this route asks no provider.
59825
59963
  * @summary List the venue\'s payment terminals, for linking one to a kiosk
59826
59964
  * @param {number} businessId The venue\&#39;s orderingBusinessId
59827
59965
  * @param {*} [options] Override http request option.
@@ -59837,6 +59975,25 @@ export declare const VenueKiosksApiFp: (configuration?: Configuration) => {
59837
59975
  * @throws {RequiredError}
59838
59976
  */
59839
59977
  removeVenueKiosk(businessId: number, stationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueKioskDto>>;
59978
+ /**
59979
+ * The terminal\'s row is deleted; payments made on it keep its id in their own records. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Refused while a kiosk or till holds the terminal, and while a payment, reversal or refund started on it in the last 24 hours is still waiting on the terminal. Both are read under a lock on the terminal, so a link made meanwhile is never undone silently. A Viva or Nets terminal still on the venue\'s provider account is stored again on a till\'s next discover.
59980
+ * @summary Remove a payment terminal from the venue (Munchi admins only)
59981
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59982
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
59983
+ * @param {*} [options] Override http request option.
59984
+ * @throws {RequiredError}
59985
+ */
59986
+ removeVenuePaymentTerminal(businessId: number, paymentTerminalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenuePaymentTerminalDto>>;
59987
+ /**
59988
+ * Only the label changes; the provider and its terminal id stay, and a kiosk or till holding the terminal keeps paying on it and shows the new label from its next request. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Two renames at once both write; the later one\'s label stays.
59989
+ * @summary Rename one of the venue\'s payment terminals (Munchi admins only)
59990
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
59991
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
59992
+ * @param {RenamePaymentTerminalDto} renamePaymentTerminalDto
59993
+ * @param {*} [options] Override http request option.
59994
+ * @throws {RequiredError}
59995
+ */
59996
+ renameVenuePaymentTerminal(businessId: number, paymentTerminalId: string, renamePaymentTerminalDto: RenamePaymentTerminalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenuePaymentTerminalDto>>;
59840
59997
  };
59841
59998
  /**
59842
59999
  * VenueKiosksApi - factory interface
@@ -59862,6 +60019,15 @@ export declare const VenueKiosksApiFactory: (configuration?: Configuration, base
59862
60019
  * @throws {RequiredError}
59863
60020
  */
59864
60021
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: any): AxiosPromise<VenueKioskDto>;
60022
+ /**
60023
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
60024
+ * @summary Add a payment terminal to the venue (Munchi admins only)
60025
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60026
+ * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
60027
+ * @param {*} [options] Override http request option.
60028
+ * @throws {RequiredError}
60029
+ */
60030
+ createVenuePaymentTerminal(businessId: number, createPaymentTerminalDto: CreatePaymentTerminalDto, options?: any): AxiosPromise<VenuePaymentTerminalDto>;
59865
60031
  /**
59866
60032
  * paymentTerminalId names one of the venue\'s stored terminals, or null unlinks the kiosk\'s terminal. A terminal another kiosk or till holds is refused, never taken from it. The kiosk\'s kept station is forgotten, so the kiosk pays on the new terminal from its next request.
59867
60033
  * @summary Link one of the venue\'s payment terminals to a kiosk, or unlink it
@@ -59881,7 +60047,7 @@ export declare const VenueKiosksApiFactory: (configuration?: Configuration, base
59881
60047
  */
59882
60048
  listVenueKiosks(businessId: number, options?: any): AxiosPromise<VenueKiosksDto>;
59883
60049
  /**
59884
- * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover); this route asks no provider.
60050
+ * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover), or once Munchi ops added it (POST payment-terminals); this route asks no provider.
59885
60051
  * @summary List the venue\'s payment terminals, for linking one to a kiosk
59886
60052
  * @param {number} businessId The venue\&#39;s orderingBusinessId
59887
60053
  * @param {*} [options] Override http request option.
@@ -59897,6 +60063,25 @@ export declare const VenueKiosksApiFactory: (configuration?: Configuration, base
59897
60063
  * @throws {RequiredError}
59898
60064
  */
59899
60065
  removeVenueKiosk(businessId: number, stationId: string, options?: any): AxiosPromise<VenueKioskDto>;
60066
+ /**
60067
+ * The terminal\'s row is deleted; payments made on it keep its id in their own records. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Refused while a kiosk or till holds the terminal, and while a payment, reversal or refund started on it in the last 24 hours is still waiting on the terminal. Both are read under a lock on the terminal, so a link made meanwhile is never undone silently. A Viva or Nets terminal still on the venue\'s provider account is stored again on a till\'s next discover.
60068
+ * @summary Remove a payment terminal from the venue (Munchi admins only)
60069
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60070
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60071
+ * @param {*} [options] Override http request option.
60072
+ * @throws {RequiredError}
60073
+ */
60074
+ removeVenuePaymentTerminal(businessId: number, paymentTerminalId: string, options?: any): AxiosPromise<VenuePaymentTerminalDto>;
60075
+ /**
60076
+ * Only the label changes; the provider and its terminal id stay, and a kiosk or till holding the terminal keeps paying on it and shows the new label from its next request. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Two renames at once both write; the later one\'s label stays.
60077
+ * @summary Rename one of the venue\'s payment terminals (Munchi admins only)
60078
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60079
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60080
+ * @param {RenamePaymentTerminalDto} renamePaymentTerminalDto
60081
+ * @param {*} [options] Override http request option.
60082
+ * @throws {RequiredError}
60083
+ */
60084
+ renameVenuePaymentTerminal(businessId: number, paymentTerminalId: string, renamePaymentTerminalDto: RenamePaymentTerminalDto, options?: any): AxiosPromise<VenuePaymentTerminalDto>;
59900
60085
  };
59901
60086
  /**
59902
60087
  * VenueKiosksApi - interface
@@ -59925,6 +60110,16 @@ export interface VenueKiosksApiInterface {
59925
60110
  * @memberof VenueKiosksApiInterface
59926
60111
  */
59927
60112
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
60113
+ /**
60114
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
60115
+ * @summary Add a payment terminal to the venue (Munchi admins only)
60116
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60117
+ * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
60118
+ * @param {*} [options] Override http request option.
60119
+ * @throws {RequiredError}
60120
+ * @memberof VenueKiosksApiInterface
60121
+ */
60122
+ createVenuePaymentTerminal(businessId: number, createPaymentTerminalDto: CreatePaymentTerminalDto, options?: AxiosRequestConfig): AxiosPromise<VenuePaymentTerminalDto>;
59928
60123
  /**
59929
60124
  * paymentTerminalId names one of the venue\'s stored terminals, or null unlinks the kiosk\'s terminal. A terminal another kiosk or till holds is refused, never taken from it. The kiosk\'s kept station is forgotten, so the kiosk pays on the new terminal from its next request.
59930
60125
  * @summary Link one of the venue\'s payment terminals to a kiosk, or unlink it
@@ -59946,7 +60141,7 @@ export interface VenueKiosksApiInterface {
59946
60141
  */
59947
60142
  listVenueKiosks(businessId: number, options?: AxiosRequestConfig): AxiosPromise<VenueKiosksDto>;
59948
60143
  /**
59949
- * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover); this route asks no provider.
60144
+ * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover), or once Munchi ops added it (POST payment-terminals); this route asks no provider.
59950
60145
  * @summary List the venue\'s payment terminals, for linking one to a kiosk
59951
60146
  * @param {number} businessId The venue\&#39;s orderingBusinessId
59952
60147
  * @param {*} [options] Override http request option.
@@ -59964,6 +60159,27 @@ export interface VenueKiosksApiInterface {
59964
60159
  * @memberof VenueKiosksApiInterface
59965
60160
  */
59966
60161
  removeVenueKiosk(businessId: number, stationId: string, options?: AxiosRequestConfig): AxiosPromise<VenueKioskDto>;
60162
+ /**
60163
+ * The terminal\'s row is deleted; payments made on it keep its id in their own records. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Refused while a kiosk or till holds the terminal, and while a payment, reversal or refund started on it in the last 24 hours is still waiting on the terminal. Both are read under a lock on the terminal, so a link made meanwhile is never undone silently. A Viva or Nets terminal still on the venue\'s provider account is stored again on a till\'s next discover.
60164
+ * @summary Remove a payment terminal from the venue (Munchi admins only)
60165
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60166
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60167
+ * @param {*} [options] Override http request option.
60168
+ * @throws {RequiredError}
60169
+ * @memberof VenueKiosksApiInterface
60170
+ */
60171
+ removeVenuePaymentTerminal(businessId: number, paymentTerminalId: string, options?: AxiosRequestConfig): AxiosPromise<VenuePaymentTerminalDto>;
60172
+ /**
60173
+ * Only the label changes; the provider and its terminal id stay, and a kiosk or till holding the terminal keeps paying on it and shows the new label from its next request. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Two renames at once both write; the later one\'s label stays.
60174
+ * @summary Rename one of the venue\'s payment terminals (Munchi admins only)
60175
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60176
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60177
+ * @param {RenamePaymentTerminalDto} renamePaymentTerminalDto
60178
+ * @param {*} [options] Override http request option.
60179
+ * @throws {RequiredError}
60180
+ * @memberof VenueKiosksApiInterface
60181
+ */
60182
+ renameVenuePaymentTerminal(businessId: number, paymentTerminalId: string, renamePaymentTerminalDto: RenamePaymentTerminalDto, options?: AxiosRequestConfig): AxiosPromise<VenuePaymentTerminalDto>;
59967
60183
  }
59968
60184
  /**
59969
60185
  * VenueKiosksApi - object-oriented interface
@@ -59993,6 +60209,16 @@ export declare class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInt
59993
60209
  * @memberof VenueKiosksApi
59994
60210
  */
59995
60211
  claimVenueKiosk(businessId: number, claimKioskDto: ClaimKioskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueKioskDto, any, {}>>;
60212
+ /**
60213
+ * Munchi ops store a card terminal for the venue by the id its provider gives it, so a kiosk or till can take it. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161); the venue\'s own logins are refused. hardwareId is checked against its provider\'s shape: Viva\'s and Nets\' terminal ID (TID) are digits, a Worldline terminal\'s serial number letters and digits. The provider is not asked: the terminal must already be registered on the venue\'s account at the provider, or its payments are refused there. The terminal is stored free, linked to no station. A terminal id the venue already stores, under any provider, is refused; so is a Worldline terminal another venue stores, since Worldline finds a terminal by its id alone. Viva and Nets terminals may be stored at several venues, as discover stores them.
60214
+ * @summary Add a payment terminal to the venue (Munchi admins only)
60215
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60216
+ * @param {CreatePaymentTerminalDto} createPaymentTerminalDto
60217
+ * @param {*} [options] Override http request option.
60218
+ * @throws {RequiredError}
60219
+ * @memberof VenueKiosksApi
60220
+ */
60221
+ createVenuePaymentTerminal(businessId: number, createPaymentTerminalDto: CreatePaymentTerminalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenuePaymentTerminalDto, any, {}>>;
59996
60222
  /**
59997
60223
  * paymentTerminalId names one of the venue\'s stored terminals, or null unlinks the kiosk\'s terminal. A terminal another kiosk or till holds is refused, never taken from it. The kiosk\'s kept station is forgotten, so the kiosk pays on the new terminal from its next request.
59998
60224
  * @summary Link one of the venue\'s payment terminals to a kiosk, or unlink it
@@ -60014,7 +60240,7 @@ export declare class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInt
60014
60240
  */
60015
60241
  listVenueKiosks(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueKiosksDto, any, {}>>;
60016
60242
  /**
60017
- * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover); this route asks no provider.
60243
+ * The venue\'s stored terminals, oldest first, each with the station it is linked to. A terminal is stored once a till discovered it at its provider (POST /v1/terminal/discover), or once Munchi ops added it (POST payment-terminals); this route asks no provider.
60018
60244
  * @summary List the venue\'s payment terminals, for linking one to a kiosk
60019
60245
  * @param {number} businessId The venue\&#39;s orderingBusinessId
60020
60246
  * @param {*} [options] Override http request option.
@@ -60032,6 +60258,27 @@ export declare class VenueKiosksApi extends BaseAPI implements VenueKiosksApiInt
60032
60258
  * @memberof VenueKiosksApi
60033
60259
  */
60034
60260
  removeVenueKiosk(businessId: number, stationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueKioskDto, any, {}>>;
60261
+ /**
60262
+ * The terminal\'s row is deleted; payments made on it keep its id in their own records. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Refused while a kiosk or till holds the terminal, and while a payment, reversal or refund started on it in the last 24 hours is still waiting on the terminal. Both are read under a lock on the terminal, so a link made meanwhile is never undone silently. A Viva or Nets terminal still on the venue\'s provider account is stored again on a till\'s next discover.
60263
+ * @summary Remove a payment terminal from the venue (Munchi admins only)
60264
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60265
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60266
+ * @param {*} [options] Override http request option.
60267
+ * @throws {RequiredError}
60268
+ * @memberof VenueKiosksApi
60269
+ */
60270
+ removeVenuePaymentTerminal(businessId: number, paymentTerminalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenuePaymentTerminalDto, any, {}>>;
60271
+ /**
60272
+ * Only the label changes; the provider and its terminal id stay, and a kiosk or till holding the terminal keeps paying on it and shows the new label from its next request. Only a Munchi admin\'s ticket or Munchi\'s own Clerk key may (D161). Two renames at once both write; the later one\'s label stays.
60273
+ * @summary Rename one of the venue\'s payment terminals (Munchi admins only)
60274
+ * @param {number} businessId The venue\&#39;s orderingBusinessId
60275
+ * @param {string} paymentTerminalId The payment terminal\&#39;s id, as the venue\&#39;s terminal list answers it
60276
+ * @param {RenamePaymentTerminalDto} renamePaymentTerminalDto
60277
+ * @param {*} [options] Override http request option.
60278
+ * @throws {RequiredError}
60279
+ * @memberof VenueKiosksApi
60280
+ */
60281
+ renameVenuePaymentTerminal(businessId: number, paymentTerminalId: string, renamePaymentTerminalDto: RenamePaymentTerminalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenuePaymentTerminalDto, any, {}>>;
60035
60282
  }
60036
60283
  /**
60037
60284
  * VivaApi - axios parameter creator