@munchi_oy/core 1.9.104 → 1.9.105

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.
@@ -12779,6 +12779,38 @@ export interface PayTerminalInitResponseDto {
12779
12779
  */
12780
12780
  'ablyTokenRequest': object;
12781
12781
  }
12782
+ /**
12783
+ *
12784
+ * @export
12785
+ * @interface PayTerminalLockStatusBodyDto
12786
+ */
12787
+ export interface PayTerminalLockStatusBodyDto {
12788
+ /**
12789
+ * Business the terminal belongs to.
12790
+ * @type {number}
12791
+ * @memberof PayTerminalLockStatusBodyDto
12792
+ */
12793
+ 'businessId': number;
12794
+ /**
12795
+ * Stable hardware identifier of the pay-terminal device.
12796
+ * @type {string}
12797
+ * @memberof PayTerminalLockStatusBodyDto
12798
+ */
12799
+ 'deviceId': string;
12800
+ }
12801
+ /**
12802
+ *
12803
+ * @export
12804
+ * @interface PayTerminalLockStatusResponseDto
12805
+ */
12806
+ export interface PayTerminalLockStatusResponseDto {
12807
+ /**
12808
+ * Whether this business/device has a passcode configured.
12809
+ * @type {boolean}
12810
+ * @memberof PayTerminalLockStatusResponseDto
12811
+ */
12812
+ 'hasLock': boolean;
12813
+ }
12782
12814
  /**
12783
12815
  *
12784
12816
  * @export
@@ -20266,6 +20298,50 @@ export interface SendReportEmailDto {
20266
20298
  */
20267
20299
  'language'?: ReportLanguage;
20268
20300
  }
20301
+ /**
20302
+ *
20303
+ * @export
20304
+ * @interface SetPayTerminalLockBodyDto
20305
+ */
20306
+ export interface SetPayTerminalLockBodyDto {
20307
+ /**
20308
+ * Business the terminal belongs to.
20309
+ * @type {number}
20310
+ * @memberof SetPayTerminalLockBodyDto
20311
+ */
20312
+ 'businessId': number;
20313
+ /**
20314
+ * Stable hardware identifier of the pay-terminal device.
20315
+ * @type {string}
20316
+ * @memberof SetPayTerminalLockBodyDto
20317
+ */
20318
+ 'deviceId': string;
20319
+ /**
20320
+ * Human-readable terminal name, for admin/support lookup only.
20321
+ * @type {string}
20322
+ * @memberof SetPayTerminalLockBodyDto
20323
+ */
20324
+ 'deviceName'?: string | null;
20325
+ /**
20326
+ * New passcode to set for this business/device.
20327
+ * @type {string}
20328
+ * @memberof SetPayTerminalLockBodyDto
20329
+ */
20330
+ 'passcode': string;
20331
+ }
20332
+ /**
20333
+ *
20334
+ * @export
20335
+ * @interface SetPayTerminalLockResponseDto
20336
+ */
20337
+ export interface SetPayTerminalLockResponseDto {
20338
+ /**
20339
+ *
20340
+ * @type {boolean}
20341
+ * @memberof SetPayTerminalLockResponseDto
20342
+ */
20343
+ 'success': boolean;
20344
+ }
20269
20345
  /**
20270
20346
  *
20271
20347
  * @export
@@ -24998,6 +25074,44 @@ export interface ValidateGiftCardResponseDto {
24998
25074
  */
24999
25075
  'cardInfo'?: GiftCardInfoDto;
25000
25076
  }
25077
+ /**
25078
+ *
25079
+ * @export
25080
+ * @interface VerifyPayTerminalLockBodyDto
25081
+ */
25082
+ export interface VerifyPayTerminalLockBodyDto {
25083
+ /**
25084
+ * Business the terminal belongs to.
25085
+ * @type {number}
25086
+ * @memberof VerifyPayTerminalLockBodyDto
25087
+ */
25088
+ 'businessId': number;
25089
+ /**
25090
+ * Stable hardware identifier of the pay-terminal device.
25091
+ * @type {string}
25092
+ * @memberof VerifyPayTerminalLockBodyDto
25093
+ */
25094
+ 'deviceId': string;
25095
+ /**
25096
+ * Passcode entered on the terminal.
25097
+ * @type {string}
25098
+ * @memberof VerifyPayTerminalLockBodyDto
25099
+ */
25100
+ 'passcode': string;
25101
+ }
25102
+ /**
25103
+ *
25104
+ * @export
25105
+ * @interface VerifyPayTerminalLockResponseDto
25106
+ */
25107
+ export interface VerifyPayTerminalLockResponseDto {
25108
+ /**
25109
+ * Whether the entered passcode is correct.
25110
+ * @type {boolean}
25111
+ * @memberof VerifyPayTerminalLockResponseDto
25112
+ */
25113
+ 'valid': boolean;
25114
+ }
25001
25115
  /**
25002
25116
  *
25003
25117
  * @export
@@ -34671,6 +34785,30 @@ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configura
34671
34785
  * @throws {RequiredError}
34672
34786
  */
34673
34787
  payTerminalInit: (payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34788
+ /**
34789
+ *
34790
+ * @summary Set or replace the restricted-area passcode for a business/device. Internal/support tooling only — gated by the shared server API key, not a regular business JWT session, so a locked-out staff member\'s own login can\'t be used to reset their own restriction.
34791
+ * @param {SetPayTerminalLockBodyDto} setPayTerminalLockBodyDto
34792
+ * @param {*} [options] Override http request option.
34793
+ * @throws {RequiredError}
34794
+ */
34795
+ payTerminalLockSet: (setPayTerminalLockBodyDto: SetPayTerminalLockBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34796
+ /**
34797
+ *
34798
+ * @summary Check whether a business/device has a restricted-area passcode configured.
34799
+ * @param {PayTerminalLockStatusBodyDto} payTerminalLockStatusBodyDto
34800
+ * @param {*} [options] Override http request option.
34801
+ * @throws {RequiredError}
34802
+ */
34803
+ payTerminalLockStatus: (payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34804
+ /**
34805
+ *
34806
+ * @summary Verify a restricted-area passcode attempt for a business/device.
34807
+ * @param {VerifyPayTerminalLockBodyDto} verifyPayTerminalLockBodyDto
34808
+ * @param {*} [options] Override http request option.
34809
+ * @throws {RequiredError}
34810
+ */
34811
+ payTerminalLockVerify: (verifyPayTerminalLockBodyDto: VerifyPayTerminalLockBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34674
34812
  /**
34675
34813
  *
34676
34814
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34709,6 +34847,30 @@ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
34709
34847
  * @throws {RequiredError}
34710
34848
  */
34711
34849
  payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalInitResponseDto>>;
34850
+ /**
34851
+ *
34852
+ * @summary Set or replace the restricted-area passcode for a business/device. Internal/support tooling only — gated by the shared server API key, not a regular business JWT session, so a locked-out staff member\'s own login can\'t be used to reset their own restriction.
34853
+ * @param {SetPayTerminalLockBodyDto} setPayTerminalLockBodyDto
34854
+ * @param {*} [options] Override http request option.
34855
+ * @throws {RequiredError}
34856
+ */
34857
+ payTerminalLockSet(setPayTerminalLockBodyDto: SetPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetPayTerminalLockResponseDto>>;
34858
+ /**
34859
+ *
34860
+ * @summary Check whether a business/device has a restricted-area passcode configured.
34861
+ * @param {PayTerminalLockStatusBodyDto} payTerminalLockStatusBodyDto
34862
+ * @param {*} [options] Override http request option.
34863
+ * @throws {RequiredError}
34864
+ */
34865
+ payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalLockStatusResponseDto>>;
34866
+ /**
34867
+ *
34868
+ * @summary Verify a restricted-area passcode attempt for a business/device.
34869
+ * @param {VerifyPayTerminalLockBodyDto} verifyPayTerminalLockBodyDto
34870
+ * @param {*} [options] Override http request option.
34871
+ * @throws {RequiredError}
34872
+ */
34873
+ payTerminalLockVerify(verifyPayTerminalLockBodyDto: VerifyPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyPayTerminalLockResponseDto>>;
34712
34874
  /**
34713
34875
  *
34714
34876
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34747,6 +34909,30 @@ export declare const PayTerminalApiFactory: (configuration?: Configuration, base
34747
34909
  * @throws {RequiredError}
34748
34910
  */
34749
34911
  payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: any): AxiosPromise<PayTerminalInitResponseDto>;
34912
+ /**
34913
+ *
34914
+ * @summary Set or replace the restricted-area passcode for a business/device. Internal/support tooling only — gated by the shared server API key, not a regular business JWT session, so a locked-out staff member\'s own login can\'t be used to reset their own restriction.
34915
+ * @param {SetPayTerminalLockBodyDto} setPayTerminalLockBodyDto
34916
+ * @param {*} [options] Override http request option.
34917
+ * @throws {RequiredError}
34918
+ */
34919
+ payTerminalLockSet(setPayTerminalLockBodyDto: SetPayTerminalLockBodyDto, options?: any): AxiosPromise<SetPayTerminalLockResponseDto>;
34920
+ /**
34921
+ *
34922
+ * @summary Check whether a business/device has a restricted-area passcode configured.
34923
+ * @param {PayTerminalLockStatusBodyDto} payTerminalLockStatusBodyDto
34924
+ * @param {*} [options] Override http request option.
34925
+ * @throws {RequiredError}
34926
+ */
34927
+ payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: any): AxiosPromise<PayTerminalLockStatusResponseDto>;
34928
+ /**
34929
+ *
34930
+ * @summary Verify a restricted-area passcode attempt for a business/device.
34931
+ * @param {VerifyPayTerminalLockBodyDto} verifyPayTerminalLockBodyDto
34932
+ * @param {*} [options] Override http request option.
34933
+ * @throws {RequiredError}
34934
+ */
34935
+ payTerminalLockVerify(verifyPayTerminalLockBodyDto: VerifyPayTerminalLockBodyDto, options?: any): AxiosPromise<VerifyPayTerminalLockResponseDto>;
34750
34936
  /**
34751
34937
  *
34752
34938
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34787,6 +34973,33 @@ export interface PayTerminalApiInterface {
34787
34973
  * @memberof PayTerminalApiInterface
34788
34974
  */
34789
34975
  payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalInitResponseDto>;
34976
+ /**
34977
+ *
34978
+ * @summary Set or replace the restricted-area passcode for a business/device. Internal/support tooling only — gated by the shared server API key, not a regular business JWT session, so a locked-out staff member\'s own login can\'t be used to reset their own restriction.
34979
+ * @param {SetPayTerminalLockBodyDto} setPayTerminalLockBodyDto
34980
+ * @param {*} [options] Override http request option.
34981
+ * @throws {RequiredError}
34982
+ * @memberof PayTerminalApiInterface
34983
+ */
34984
+ payTerminalLockSet(setPayTerminalLockBodyDto: SetPayTerminalLockBodyDto, options?: AxiosRequestConfig): AxiosPromise<SetPayTerminalLockResponseDto>;
34985
+ /**
34986
+ *
34987
+ * @summary Check whether a business/device has a restricted-area passcode configured.
34988
+ * @param {PayTerminalLockStatusBodyDto} payTerminalLockStatusBodyDto
34989
+ * @param {*} [options] Override http request option.
34990
+ * @throws {RequiredError}
34991
+ * @memberof PayTerminalApiInterface
34992
+ */
34993
+ payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalLockStatusResponseDto>;
34994
+ /**
34995
+ *
34996
+ * @summary Verify a restricted-area passcode attempt for a business/device.
34997
+ * @param {VerifyPayTerminalLockBodyDto} verifyPayTerminalLockBodyDto
34998
+ * @param {*} [options] Override http request option.
34999
+ * @throws {RequiredError}
35000
+ * @memberof PayTerminalApiInterface
35001
+ */
35002
+ payTerminalLockVerify(verifyPayTerminalLockBodyDto: VerifyPayTerminalLockBodyDto, options?: AxiosRequestConfig): AxiosPromise<VerifyPayTerminalLockResponseDto>;
34790
35003
  /**
34791
35004
  *
34792
35005
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34831,6 +35044,33 @@ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInt
34831
35044
  * @memberof PayTerminalApi
34832
35045
  */
34833
35046
  payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalInitResponseDto, any, {}>>;
35047
+ /**
35048
+ *
35049
+ * @summary Set or replace the restricted-area passcode for a business/device. Internal/support tooling only — gated by the shared server API key, not a regular business JWT session, so a locked-out staff member\'s own login can\'t be used to reset their own restriction.
35050
+ * @param {SetPayTerminalLockBodyDto} setPayTerminalLockBodyDto
35051
+ * @param {*} [options] Override http request option.
35052
+ * @throws {RequiredError}
35053
+ * @memberof PayTerminalApi
35054
+ */
35055
+ payTerminalLockSet(setPayTerminalLockBodyDto: SetPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SetPayTerminalLockResponseDto, any, {}>>;
35056
+ /**
35057
+ *
35058
+ * @summary Check whether a business/device has a restricted-area passcode configured.
35059
+ * @param {PayTerminalLockStatusBodyDto} payTerminalLockStatusBodyDto
35060
+ * @param {*} [options] Override http request option.
35061
+ * @throws {RequiredError}
35062
+ * @memberof PayTerminalApi
35063
+ */
35064
+ payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalLockStatusResponseDto, any, {}>>;
35065
+ /**
35066
+ *
35067
+ * @summary Verify a restricted-area passcode attempt for a business/device.
35068
+ * @param {VerifyPayTerminalLockBodyDto} verifyPayTerminalLockBodyDto
35069
+ * @param {*} [options] Override http request option.
35070
+ * @throws {RequiredError}
35071
+ * @memberof PayTerminalApi
35072
+ */
35073
+ payTerminalLockVerify(verifyPayTerminalLockBodyDto: VerifyPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyPayTerminalLockResponseDto, any, {}>>;
34834
35074
  /**
34835
35075
  *
34836
35076
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).