@medipass/web-sdk 11.69.4-feature-staff-provider-registration-types.0 → 11.69.4-feature-staff-provider-registration-types.2
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.
package/lib/resources/staff.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MedipassRequestOpts } from '../types';
|
|
1
|
+
import type { MedipassRequestOpts, StaffMember } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* Create business staff member
|
|
4
4
|
* @param {String} businessId - Organisation ID
|
|
@@ -213,7 +213,7 @@ export declare const checkStaffMemberEmailExists: (businessId: string, query: {
|
|
|
213
213
|
* @param {Object} body - Request body
|
|
214
214
|
* @param {Object} opts - Additional options
|
|
215
215
|
*/
|
|
216
|
-
export declare const createStaffProviderSetItem: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<
|
|
216
|
+
export declare const createStaffProviderSetItem: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
217
217
|
/**
|
|
218
218
|
* Update business staff provider set item
|
|
219
219
|
* @param {String} businessId - Business ID
|
|
@@ -222,7 +222,7 @@ export declare const createStaffProviderSetItem: (businessId: string, staffId: s
|
|
|
222
222
|
* @param {Object} body - Request body
|
|
223
223
|
* @param {Object} opts - Additional options
|
|
224
224
|
*/
|
|
225
|
-
export declare const updateStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<
|
|
225
|
+
export declare const updateStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
226
226
|
/**
|
|
227
227
|
* Delete business staff provider set item
|
|
228
228
|
* @param {String} businessId - Business ID
|
|
@@ -230,7 +230,7 @@ export declare const updateStaffProviderSetItem: (businessId: string, staffId: s
|
|
|
230
230
|
* @param {String} providerSetItemId - Provider set item ID
|
|
231
231
|
* @param {Object} opts - Additional options
|
|
232
232
|
*/
|
|
233
|
-
export declare const deleteStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, opts?: MedipassRequestOpts) => Promise<
|
|
233
|
+
export declare const deleteStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
234
234
|
/**
|
|
235
235
|
* Create business staff provider registration
|
|
236
236
|
* @param {String} businessId - Business ID
|
|
@@ -238,7 +238,7 @@ export declare const deleteStaffProviderSetItem: (businessId: string, staffId: s
|
|
|
238
238
|
* @param {Object} body - Request body
|
|
239
239
|
* @param {Object} opts - Additional options
|
|
240
240
|
*/
|
|
241
|
-
export declare const createStaffProviderRegistration: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<
|
|
241
|
+
export declare const createStaffProviderRegistration: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
242
242
|
/**
|
|
243
243
|
* Update business staff provider registration
|
|
244
244
|
* @param {String} businessId - Business ID
|
|
@@ -247,7 +247,7 @@ export declare const createStaffProviderRegistration: (businessId: string, staff
|
|
|
247
247
|
* @param {Object} body - Request body
|
|
248
248
|
* @param {Object} opts - Additional options
|
|
249
249
|
*/
|
|
250
|
-
export declare const updateStaffProviderRegistration: (businessId: string, staffId: string, providerRegistrationId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<
|
|
250
|
+
export declare const updateStaffProviderRegistration: (businessId: string, staffId: string, providerRegistrationId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
251
251
|
/**
|
|
252
252
|
* Delete business staff provider registration
|
|
253
253
|
* @param {String} businessId - Business ID
|
|
@@ -255,7 +255,7 @@ export declare const updateStaffProviderRegistration: (businessId: string, staff
|
|
|
255
255
|
* @param {String} providerRegistrationId - Provider registration ID
|
|
256
256
|
* @param {Object} opts - Additional options
|
|
257
257
|
*/
|
|
258
|
-
export declare const deleteStaffProviderRegistration: (businessId: string, staffId: string, providerRegistrationId: string, opts?: MedipassRequestOpts) => Promise<
|
|
258
|
+
export declare const deleteStaffProviderRegistration: (businessId: string, staffId: string, providerRegistrationId: string, opts?: MedipassRequestOpts) => Promise<StaffMember>;
|
|
259
259
|
/**
|
|
260
260
|
* Gets a list of providers and their current status.
|
|
261
261
|
* @param {String} businessId - Business ID
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.69.4-feature-staff-provider-registration-types.
|
|
3
|
+
"version": "11.69.4-feature-staff-provider-registration-types.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"resolutions": {
|
|
57
57
|
"react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "c4954da5d09ad64c699969ae72c31c501ef00557"
|
|
60
60
|
}
|