@munchi_oy/core 1.9.129 → 1.9.130

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.
@@ -13924,6 +13924,19 @@ export interface PayTerminalLockStatusResponseDto {
13924
13924
  */
13925
13925
  'hasLock': boolean;
13926
13926
  }
13927
+ /**
13928
+ *
13929
+ * @export
13930
+ * @interface PayTerminalPresenceResponseDto
13931
+ */
13932
+ export interface PayTerminalPresenceResponseDto {
13933
+ /**
13934
+ * True if the paired terminal is currently present on the session channel.
13935
+ * @type {boolean}
13936
+ * @memberof PayTerminalPresenceResponseDto
13937
+ */
13938
+ 'online': boolean;
13939
+ }
13927
13940
  /**
13928
13941
  *
13929
13942
  * @export
@@ -36968,6 +36981,14 @@ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configura
36968
36981
  * @throws {RequiredError}
36969
36982
  */
36970
36983
  payTerminalPair: (pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36984
+ /**
36985
+ *
36986
+ * @summary Check whether the paired terminal is currently present on the session channel.
36987
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
36988
+ * @param {*} [options] Override http request option.
36989
+ * @throws {RequiredError}
36990
+ */
36991
+ payTerminalPresence: (payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36971
36992
  /**
36972
36993
  *
36973
36994
  * @summary Mint a session-channel Ably token scoped to the device role.
@@ -37038,6 +37059,14 @@ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
37038
37059
  * @throws {RequiredError}
37039
37060
  */
37040
37061
  payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PairPayTerminalResponseDto>>;
37062
+ /**
37063
+ *
37064
+ * @summary Check whether the paired terminal is currently present on the session channel.
37065
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
37066
+ * @param {*} [options] Override http request option.
37067
+ * @throws {RequiredError}
37068
+ */
37069
+ payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalPresenceResponseDto>>;
37041
37070
  /**
37042
37071
  *
37043
37072
  * @summary Mint a session-channel Ably token scoped to the device role.
@@ -37108,6 +37137,14 @@ export declare const PayTerminalApiFactory: (configuration?: Configuration, base
37108
37137
  * @throws {RequiredError}
37109
37138
  */
37110
37139
  payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: any): AxiosPromise<PairPayTerminalResponseDto>;
37140
+ /**
37141
+ *
37142
+ * @summary Check whether the paired terminal is currently present on the session channel.
37143
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
37144
+ * @param {*} [options] Override http request option.
37145
+ * @throws {RequiredError}
37146
+ */
37147
+ payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: any): AxiosPromise<PayTerminalPresenceResponseDto>;
37111
37148
  /**
37112
37149
  *
37113
37150
  * @summary Mint a session-channel Ably token scoped to the device role.
@@ -37185,6 +37222,15 @@ export interface PayTerminalApiInterface {
37185
37222
  * @memberof PayTerminalApiInterface
37186
37223
  */
37187
37224
  payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<PairPayTerminalResponseDto>;
37225
+ /**
37226
+ *
37227
+ * @summary Check whether the paired terminal is currently present on the session channel.
37228
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
37229
+ * @param {*} [options] Override http request option.
37230
+ * @throws {RequiredError}
37231
+ * @memberof PayTerminalApiInterface
37232
+ */
37233
+ payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalPresenceResponseDto>;
37188
37234
  /**
37189
37235
  *
37190
37236
  * @summary Mint a session-channel Ably token scoped to the device role.
@@ -37265,6 +37311,15 @@ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInt
37265
37311
  * @memberof PayTerminalApi
37266
37312
  */
37267
37313
  payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PairPayTerminalResponseDto, any, {}>>;
37314
+ /**
37315
+ *
37316
+ * @summary Check whether the paired terminal is currently present on the session channel.
37317
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
37318
+ * @param {*} [options] Override http request option.
37319
+ * @throws {RequiredError}
37320
+ * @memberof PayTerminalApi
37321
+ */
37322
+ payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalPresenceResponseDto, any, {}>>;
37268
37323
  /**
37269
37324
  *
37270
37325
  * @summary Mint a session-channel Ably token scoped to the device role.