@medipass/web-sdk 11.71.1-chore-add-terminal-pin-endpoints.3 → 11.71.1-chore-add-terminal-pin-endpoints.4

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.
@@ -1,4 +1,4 @@
1
- import type { MedipassRequestOpts, Business } from '../types';
1
+ import type { MedipassRequestOpts, Business, TerminalPin } from '../types';
2
2
  /**
3
3
  * Create businesses
4
4
  * @param {Object} body - Request body
@@ -223,16 +223,10 @@ export declare const suspendBusinessEmail: (businessId: string, opts?: MedipassR
223
223
  * @param {String} businessId - Business ID
224
224
  * @param {Object} opts - Additional options
225
225
  */
226
- export declare const getBusinessTerminalPin: (businessId: string, opts?: MedipassRequestOpts) => Promise<{
227
- key: string;
228
- expiry: string;
229
- }>;
226
+ export declare const getBusinessTerminalPin: (businessId: string, opts?: MedipassRequestOpts) => Promise<TerminalPin>;
230
227
  /**
231
228
  * Create a 6 digit pin for a terminal authentication
232
229
  * @param {String} businessId - Business ID
233
230
  * @param {Object} opts - Additional options
234
231
  */
235
- export declare const createBusinessTerminalPin: (businessId: string, opts?: MedipassRequestOpts) => Promise<{
236
- key: string;
237
- expiry: string;
238
- }>;
232
+ export declare const createBusinessTerminalPin: (businessId: string, opts?: MedipassRequestOpts) => Promise<TerminalPin>;
@@ -28,6 +28,7 @@ export * from './transaction';
28
28
  export * from './virus-scan';
29
29
  export * from './settlement-export';
30
30
  export * from './account';
31
+ export * from './terminal-pin';
31
32
  export declare type MedipassRequestOpts = {
32
33
  baseUrl?: string;
33
34
  hyperMediaEndpoint?: string | null | undefined;
@@ -0,0 +1,4 @@
1
+ export interface TerminalPin {
2
+ key: string;
3
+ expiry: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "11.71.1-chore-add-terminal-pin-endpoints.3",
3
+ "version": "11.71.1-chore-add-terminal-pin-endpoints.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -59,5 +59,5 @@
59
59
  "resolutions": {
60
60
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
61
61
  },
62
- "gitHead": "6950733548b0a0007736c2112b026d9742f3ac39"
62
+ "gitHead": "63074ce47c5bd41b5ec37a2c889f122e3c7b0fad"
63
63
  }