@munchi_oy/core 1.9.105 → 1.9.107

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.
@@ -21315,6 +21315,50 @@ export interface SyncKioskOrderResponseDto {
21315
21315
  */
21316
21316
  'orderId': string;
21317
21317
  }
21318
+ /**
21319
+ *
21320
+ * @export
21321
+ * @interface SyncPayTerminalLockBodyDto
21322
+ */
21323
+ export interface SyncPayTerminalLockBodyDto {
21324
+ /**
21325
+ * Business the terminal belongs to.
21326
+ * @type {number}
21327
+ * @memberof SyncPayTerminalLockBodyDto
21328
+ */
21329
+ 'businessId': number;
21330
+ /**
21331
+ * Stable hardware identifier of the pay-terminal device.
21332
+ * @type {string}
21333
+ * @memberof SyncPayTerminalLockBodyDto
21334
+ */
21335
+ 'deviceId': string;
21336
+ /**
21337
+ * Human-readable terminal name, for admin/support lookup only.
21338
+ * @type {string}
21339
+ * @memberof SyncPayTerminalLockBodyDto
21340
+ */
21341
+ 'deviceName'?: string | null;
21342
+ /**
21343
+ * Passcode to claim for this business/device, if none is set yet. Omit to just register/refresh the device without touching the passcode.
21344
+ * @type {string}
21345
+ * @memberof SyncPayTerminalLockBodyDto
21346
+ */
21347
+ 'passcode'?: string;
21348
+ }
21349
+ /**
21350
+ *
21351
+ * @export
21352
+ * @interface SyncPayTerminalLockResponseDto
21353
+ */
21354
+ export interface SyncPayTerminalLockResponseDto {
21355
+ /**
21356
+ *
21357
+ * @type {boolean}
21358
+ * @memberof SyncPayTerminalLockResponseDto
21359
+ */
21360
+ 'success': boolean;
21361
+ }
21318
21362
  /**
21319
21363
  *
21320
21364
  * @export
@@ -34801,6 +34845,14 @@ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configura
34801
34845
  * @throws {RequiredError}
34802
34846
  */
34803
34847
  payTerminalLockStatus: (payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34848
+ /**
34849
+ *
34850
+ * @summary Register/refresh a business/device pair (name included) on login, venue-selection, or a terminal-name change. If a passcode is included and none is set yet, claims it in the same call — fails with a conflict if one already exists. Never lets the app change or remove an existing passcode; only the admin-only PUT endpoint can do that.
34851
+ * @param {SyncPayTerminalLockBodyDto} syncPayTerminalLockBodyDto
34852
+ * @param {*} [options] Override http request option.
34853
+ * @throws {RequiredError}
34854
+ */
34855
+ payTerminalLockSync: (syncPayTerminalLockBodyDto: SyncPayTerminalLockBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34804
34856
  /**
34805
34857
  *
34806
34858
  * @summary Verify a restricted-area passcode attempt for a business/device.
@@ -34863,6 +34915,14 @@ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
34863
34915
  * @throws {RequiredError}
34864
34916
  */
34865
34917
  payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalLockStatusResponseDto>>;
34918
+ /**
34919
+ *
34920
+ * @summary Register/refresh a business/device pair (name included) on login, venue-selection, or a terminal-name change. If a passcode is included and none is set yet, claims it in the same call — fails with a conflict if one already exists. Never lets the app change or remove an existing passcode; only the admin-only PUT endpoint can do that.
34921
+ * @param {SyncPayTerminalLockBodyDto} syncPayTerminalLockBodyDto
34922
+ * @param {*} [options] Override http request option.
34923
+ * @throws {RequiredError}
34924
+ */
34925
+ payTerminalLockSync(syncPayTerminalLockBodyDto: SyncPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncPayTerminalLockResponseDto>>;
34866
34926
  /**
34867
34927
  *
34868
34928
  * @summary Verify a restricted-area passcode attempt for a business/device.
@@ -34925,6 +34985,14 @@ export declare const PayTerminalApiFactory: (configuration?: Configuration, base
34925
34985
  * @throws {RequiredError}
34926
34986
  */
34927
34987
  payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: any): AxiosPromise<PayTerminalLockStatusResponseDto>;
34988
+ /**
34989
+ *
34990
+ * @summary Register/refresh a business/device pair (name included) on login, venue-selection, or a terminal-name change. If a passcode is included and none is set yet, claims it in the same call — fails with a conflict if one already exists. Never lets the app change or remove an existing passcode; only the admin-only PUT endpoint can do that.
34991
+ * @param {SyncPayTerminalLockBodyDto} syncPayTerminalLockBodyDto
34992
+ * @param {*} [options] Override http request option.
34993
+ * @throws {RequiredError}
34994
+ */
34995
+ payTerminalLockSync(syncPayTerminalLockBodyDto: SyncPayTerminalLockBodyDto, options?: any): AxiosPromise<SyncPayTerminalLockResponseDto>;
34928
34996
  /**
34929
34997
  *
34930
34998
  * @summary Verify a restricted-area passcode attempt for a business/device.
@@ -34991,6 +35059,15 @@ export interface PayTerminalApiInterface {
34991
35059
  * @memberof PayTerminalApiInterface
34992
35060
  */
34993
35061
  payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalLockStatusResponseDto>;
35062
+ /**
35063
+ *
35064
+ * @summary Register/refresh a business/device pair (name included) on login, venue-selection, or a terminal-name change. If a passcode is included and none is set yet, claims it in the same call — fails with a conflict if one already exists. Never lets the app change or remove an existing passcode; only the admin-only PUT endpoint can do that.
35065
+ * @param {SyncPayTerminalLockBodyDto} syncPayTerminalLockBodyDto
35066
+ * @param {*} [options] Override http request option.
35067
+ * @throws {RequiredError}
35068
+ * @memberof PayTerminalApiInterface
35069
+ */
35070
+ payTerminalLockSync(syncPayTerminalLockBodyDto: SyncPayTerminalLockBodyDto, options?: AxiosRequestConfig): AxiosPromise<SyncPayTerminalLockResponseDto>;
34994
35071
  /**
34995
35072
  *
34996
35073
  * @summary Verify a restricted-area passcode attempt for a business/device.
@@ -35062,6 +35139,15 @@ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInt
35062
35139
  * @memberof PayTerminalApi
35063
35140
  */
35064
35141
  payTerminalLockStatus(payTerminalLockStatusBodyDto: PayTerminalLockStatusBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalLockStatusResponseDto, any, {}>>;
35142
+ /**
35143
+ *
35144
+ * @summary Register/refresh a business/device pair (name included) on login, venue-selection, or a terminal-name change. If a passcode is included and none is set yet, claims it in the same call — fails with a conflict if one already exists. Never lets the app change or remove an existing passcode; only the admin-only PUT endpoint can do that.
35145
+ * @param {SyncPayTerminalLockBodyDto} syncPayTerminalLockBodyDto
35146
+ * @param {*} [options] Override http request option.
35147
+ * @throws {RequiredError}
35148
+ * @memberof PayTerminalApi
35149
+ */
35150
+ payTerminalLockSync(syncPayTerminalLockBodyDto: SyncPayTerminalLockBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncPayTerminalLockResponseDto, any, {}>>;
35065
35151
  /**
35066
35152
  *
35067
35153
  * @summary Verify a restricted-area passcode attempt for a business/device.