@munchi_oy/core 1.9.103 → 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.
@@ -9934,6 +9934,36 @@ export interface MunchiPayCardDetailDto {
9934
9934
  * @memberof MunchiPayCardDetailDto
9935
9935
  */
9936
9936
  'last4': string;
9937
+ /**
9938
+ * EMV Application Identifier.
9939
+ * @type {string}
9940
+ * @memberof MunchiPayCardDetailDto
9941
+ */
9942
+ 'aid'?: string | null;
9943
+ /**
9944
+ * Viva order code / authentication reference.
9945
+ * @type {string}
9946
+ * @memberof MunchiPayCardDetailDto
9947
+ */
9948
+ 'orderCode'?: string | null;
9949
+ /**
9950
+ * Card application/funding label (e.g. \'Debit\', \'Credit\').
9951
+ * @type {string}
9952
+ * @memberof MunchiPayCardDetailDto
9953
+ */
9954
+ 'applicationLabel'?: string | null;
9955
+ /**
9956
+ * PAN entry mode (e.g. chip, swipe, contactless).
9957
+ * @type {string}
9958
+ * @memberof MunchiPayCardDetailDto
9959
+ */
9960
+ 'panEntryMode'?: string | null;
9961
+ /**
9962
+ * Issuing bank identifier.
9963
+ * @type {string}
9964
+ * @memberof MunchiPayCardDetailDto
9965
+ */
9966
+ 'bankId'?: string | null;
9937
9967
  }
9938
9968
  /**
9939
9969
  *
@@ -10044,6 +10074,36 @@ export interface MunchiPaySessionDtoCardDetail {
10044
10074
  * @memberof MunchiPaySessionDtoCardDetail
10045
10075
  */
10046
10076
  'last4': string;
10077
+ /**
10078
+ * EMV Application Identifier.
10079
+ * @type {string}
10080
+ * @memberof MunchiPaySessionDtoCardDetail
10081
+ */
10082
+ 'aid'?: string | null;
10083
+ /**
10084
+ * Viva order code / authentication reference.
10085
+ * @type {string}
10086
+ * @memberof MunchiPaySessionDtoCardDetail
10087
+ */
10088
+ 'orderCode'?: string | null;
10089
+ /**
10090
+ * Card application/funding label (e.g. \'Debit\', \'Credit\').
10091
+ * @type {string}
10092
+ * @memberof MunchiPaySessionDtoCardDetail
10093
+ */
10094
+ 'applicationLabel'?: string | null;
10095
+ /**
10096
+ * PAN entry mode (e.g. chip, swipe, contactless).
10097
+ * @type {string}
10098
+ * @memberof MunchiPaySessionDtoCardDetail
10099
+ */
10100
+ 'panEntryMode'?: string | null;
10101
+ /**
10102
+ * Issuing bank identifier.
10103
+ * @type {string}
10104
+ * @memberof MunchiPaySessionDtoCardDetail
10105
+ */
10106
+ 'bankId'?: string | null;
10047
10107
  }
10048
10108
  /**
10049
10109
  *
@@ -12719,6 +12779,38 @@ export interface PayTerminalInitResponseDto {
12719
12779
  */
12720
12780
  'ablyTokenRequest': object;
12721
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
+ }
12722
12814
  /**
12723
12815
  *
12724
12816
  * @export
@@ -20206,6 +20298,50 @@ export interface SendReportEmailDto {
20206
20298
  */
20207
20299
  'language'?: ReportLanguage;
20208
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
+ }
20209
20345
  /**
20210
20346
  *
20211
20347
  * @export
@@ -24938,6 +25074,44 @@ export interface ValidateGiftCardResponseDto {
24938
25074
  */
24939
25075
  'cardInfo'?: GiftCardInfoDto;
24940
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
+ }
24941
25115
  /**
24942
25116
  *
24943
25117
  * @export
@@ -34611,6 +34785,30 @@ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configura
34611
34785
  * @throws {RequiredError}
34612
34786
  */
34613
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>;
34614
34812
  /**
34615
34813
  *
34616
34814
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34649,6 +34847,30 @@ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
34649
34847
  * @throws {RequiredError}
34650
34848
  */
34651
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>>;
34652
34874
  /**
34653
34875
  *
34654
34876
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34687,6 +34909,30 @@ export declare const PayTerminalApiFactory: (configuration?: Configuration, base
34687
34909
  * @throws {RequiredError}
34688
34910
  */
34689
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>;
34690
34936
  /**
34691
34937
  *
34692
34938
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34727,6 +34973,33 @@ export interface PayTerminalApiInterface {
34727
34973
  * @memberof PayTerminalApiInterface
34728
34974
  */
34729
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>;
34730
35003
  /**
34731
35004
  *
34732
35005
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
@@ -34771,6 +35044,33 @@ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInt
34771
35044
  * @memberof PayTerminalApi
34772
35045
  */
34773
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, {}>>;
34774
35074
  /**
34775
35075
  *
34776
35076
  * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).