@medipass/web-sdk 11.38.1-feature-eclipse-reporting.0 → 11.38.1-feature-typescript-claudia.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/.eslintrc.cjs +96 -0
- package/babel.config.js +2 -1
- package/lib/index.d.ts +262 -0
- package/lib/index.js +83 -3
- package/lib/{regions-7b23080d.js → regions-a0a28864.js} +2 -2
- package/lib/resources/accounts.d.ts +215 -0
- package/lib/resources/accounts.js +3 -3
- package/lib/resources/actions.d.ts +13 -0
- package/lib/resources/actions.js +3 -3
- package/lib/resources/api-keys.d.ts +24 -0
- package/lib/resources/api-keys.js +3 -3
- package/lib/resources/applications.d.ts +31 -0
- package/lib/resources/applications.js +3 -3
- package/lib/resources/attachments.d.ts +32 -0
- package/lib/resources/attachments.js +3 -3
- package/lib/resources/auth.d.ts +59 -0
- package/lib/resources/auth.js +3 -3
- package/lib/resources/bulk-submits.d.ts +17 -0
- package/lib/resources/bulk-submits.js +3 -3
- package/lib/resources/bulk-uploads.d.ts +26 -0
- package/lib/resources/bulk-uploads.js +3 -3
- package/lib/resources/business-profiles.d.ts +18 -0
- package/lib/resources/business-profiles.js +3 -3
- package/lib/resources/businesses.d.ts +132 -0
- package/lib/resources/businesses.js +3 -3
- package/lib/resources/claim-items.d.ts +31 -0
- package/lib/resources/claim-items.js +3 -3
- package/lib/resources/devices.d.ts +11 -0
- package/lib/resources/devices.js +3 -3
- package/lib/resources/doc-accounts.d.ts +32 -0
- package/lib/resources/doc-accounts.js +3 -3
- package/lib/resources/documents.d.ts +90 -0
- package/lib/resources/documents.js +3 -3
- package/lib/resources/emails.d.ts +14 -0
- package/lib/resources/emails.js +3 -3
- package/lib/resources/form-application-templates.d.ts +20 -0
- package/lib/resources/form-application-templates.js +3 -3
- package/lib/resources/form-applications.d.ts +27 -0
- package/lib/resources/form-applications.js +3 -3
- package/lib/resources/forms.d.ts +100 -0
- package/lib/resources/forms.js +3 -3
- package/lib/resources/funder-services.d.ts +8 -0
- package/lib/resources/funder-services.js +3 -3
- package/lib/resources/funder-settings.d.ts +8 -0
- package/lib/resources/funder-settings.js +3 -3
- package/lib/resources/funders.d.ts +5 -0
- package/lib/resources/funders.js +3 -3
- package/lib/resources/futures.d.ts +85 -0
- package/lib/resources/futures.js +3 -3
- package/lib/resources/health-fund-accounts.d.ts +78 -0
- package/lib/resources/health-fund-accounts.js +3 -3
- package/lib/resources/health-fund-settings.d.ts +39 -0
- package/lib/resources/health-fund-settings.js +3 -3
- package/lib/resources/healthfunds.d.ts +64 -0
- package/lib/resources/healthfunds.js +3 -3
- package/lib/resources/icditems.d.ts +14 -0
- package/lib/resources/icditems.js +3 -3
- package/lib/resources/invoice-scans.d.ts +26 -0
- package/lib/resources/invoice-scans.js +3 -3
- package/lib/resources/jhcs.d.ts +7 -0
- package/lib/resources/jhcs.js +3 -3
- package/lib/resources/kyc.d.ts +109 -0
- package/lib/resources/kyc.js +3 -3
- package/lib/resources/logs.d.ts +16 -0
- package/lib/resources/logs.js +3 -3
- package/lib/resources/members.d.ts +92 -0
- package/lib/resources/members.js +3 -3
- package/lib/resources/message-mappings.d.ts +9 -0
- package/lib/resources/message-mappings.js +3 -3
- package/lib/resources/minions.d.ts +40 -0
- package/lib/resources/minions.js +3 -3
- package/lib/resources/modalities.d.ts +19 -0
- package/lib/resources/modalities.js +3 -3
- package/lib/resources/notes.d.ts +17 -0
- package/lib/resources/notes.js +3 -3
- package/lib/resources/onboarding-applications.d.ts +52 -0
- package/lib/resources/onboarding-applications.js +3 -3
- package/lib/resources/onboarding-requests.d.ts +39 -0
- package/lib/resources/onboarding-requests.js +3 -3
- package/lib/resources/ops.d.ts +60 -0
- package/lib/resources/ops.js +3 -3
- package/lib/resources/organisations.d.ts +7 -0
- package/lib/resources/organisations.js +3 -3
- package/lib/resources/partners.d.ts +50 -0
- package/lib/resources/partners.js +3 -3
- package/lib/resources/patients.d.ts +44 -0
- package/lib/resources/patients.js +3 -3
- package/lib/resources/payments.d.ts +155 -0
- package/lib/resources/payments.js +3 -3
- package/lib/resources/pms.d.ts +43 -0
- package/lib/resources/pms.js +3 -3
- package/lib/resources/practice-profiles.d.ts +20 -0
- package/lib/resources/practice-profiles.js +3 -3
- package/lib/resources/practice-types.d.ts +6 -0
- package/lib/resources/practice-types.js +3 -3
- package/lib/resources/practices.d.ts +137 -0
- package/lib/resources/practices.js +3 -3
- package/lib/resources/products.d.ts +23 -0
- package/lib/resources/products.js +3 -3
- package/lib/resources/professional-categories.d.ts +23 -0
- package/lib/resources/professional-categories.js +3 -3
- package/lib/resources/provider-number-types.d.ts +16 -0
- package/lib/resources/provider-number-types.js +3 -3
- package/lib/resources/provider-registration-types.d.ts +15 -0
- package/lib/resources/provider-registration-types.js +3 -3
- package/lib/resources/provider-requests.d.ts +17 -0
- package/lib/resources/provider-requests.js +3 -3
- package/lib/resources/provider-types.d.ts +6 -0
- package/lib/resources/provider-types.js +3 -3
- package/lib/resources/ref-sources.d.ts +6 -0
- package/lib/resources/ref-sources.js +3 -3
- package/lib/resources/risk.d.ts +13 -0
- package/lib/resources/risk.js +3 -3
- package/lib/resources/rnas.d.ts +43 -0
- package/lib/resources/rnas.js +3 -3
- package/lib/resources/roles.d.ts +7 -0
- package/lib/resources/roles.js +3 -3
- package/lib/resources/self-checkout-sessions.d.ts +134 -0
- package/lib/resources/self-checkout-sessions.js +3 -3
- package/lib/resources/services.d.ts +88 -0
- package/lib/resources/services.js +3 -3
- package/lib/resources/settlements.d.ts +37 -0
- package/lib/resources/settlements.js +3 -3
- package/lib/resources/sign-up.d.ts +5 -0
- package/lib/resources/sign-up.js +3 -3
- package/lib/resources/specialties.d.ts +23 -0
- package/lib/resources/specialties.js +3 -3
- package/lib/resources/staff-profiles.d.ts +20 -0
- package/lib/resources/staff-profiles.js +3 -3
- package/lib/resources/staff.d.ts +242 -0
- package/lib/resources/staff.js +3 -3
- package/lib/resources/statistics.d.ts +56 -0
- package/lib/resources/statistics.js +3 -3
- package/lib/resources/subscriptions.d.ts +32 -0
- package/lib/resources/subscriptions.js +3 -3
- package/lib/resources/terminals.d.ts +71 -0
- package/lib/resources/terminals.js +3 -3
- package/lib/resources/transaction-export.d.ts +18 -0
- package/lib/resources/transaction-export.js +3 -3
- package/lib/resources/transactions.d.ts +466 -0
- package/lib/resources/transactions.js +3 -3
- package/lib/resources/triggers.d.ts +20 -0
- package/lib/resources/triggers.js +3 -3
- package/lib/resources/vendors.d.ts +9 -0
- package/lib/resources/vendors.js +3 -3
- package/lib/resources/verify.d.ts +9 -0
- package/lib/resources/verify.js +3 -3
- package/lib/resources/workers.d.ts +3 -0
- package/lib/resources/workers.js +3 -3
- package/lib/resources/workflow-exceptions.d.ts +5 -0
- package/lib/resources/workflow-exceptions.js +3 -3
- package/lib/services/aws.d.ts +54 -0
- package/lib/services/aws.js +3 -3
- package/lib/services/storage.d.ts +28 -0
- package/lib/services/storage.js +126 -18
- package/lib/services/version.d.ts +21 -0
- package/lib/services/version.js +3 -3
- package/lib/{staff-1ec3d500.js → staff-96febcd8.js} +345 -738
- package/lib/types/documents.d.ts +115 -0
- package/lib/types/documents.js +2 -0
- package/lib/types/forms.d.ts +67 -0
- package/lib/types/forms.js +2 -0
- package/lib/types/index.d.ts +42 -0
- package/lib/types/index.js +2 -0
- package/lib/types/message-mappings.d.ts +18 -0
- package/lib/types/message-mappings.js +2 -0
- package/lib/types/notes.d.ts +5 -0
- package/lib/types/notes.js +2 -0
- package/lib/types/products.d.ts +34 -0
- package/lib/types/products.js +2 -0
- package/lib/types/professional-categories.d.ts +20 -0
- package/lib/types/professional-categories.js +2 -0
- package/lib/types/specialties.d.ts +22 -0
- package/lib/types/specialties.js +2 -0
- package/lib/types/subscriptions.d.ts +52 -0
- package/lib/types/subscriptions.js +2 -0
- package/lib/utils/application.d.ts +1 -0
- package/lib/utils/application.js +3 -3
- package/lib/utils/base-urls/core.d.ts +19 -0
- package/lib/utils/base-urls/index.d.ts +37 -0
- package/lib/utils/base-urls/risk.d.ts +17 -0
- package/lib/utils/does-param-exist.d.ts +2 -0
- package/lib/utils/get-axios-error.d.ts +2 -0
- package/lib/utils/param-error.d.ts +3 -0
- package/lib/utils/professions.d.ts +3 -0
- package/lib/utils/professions.js +3 -3
- package/lib/utils/regions.d.ts +1 -0
- package/lib/utils/regions.js +2 -2
- package/lib/utils/request.d.ts +3 -0
- package/lib/utils/request.js +3 -3
- package/lib/utils/staff.d.ts +8 -0
- package/lib/utils/staff.js +3 -3
- package/package.json +19 -9
- package/tsconfig.json +33 -0
- package/types/globals.d.ts +7 -0
- package/types/index.d.ts +1 -0
- package/.eslintrc +0 -3
- package/lib/_types/documents.js.flow +0 -118
- package/lib/_types/forms.js.flow +0 -57
- package/lib/_types/index.js.flow +0 -47
- package/lib/_types/message-mappings.js.flow +0 -22
- package/lib/_types/notes.js.flow +0 -7
- package/lib/_types/products.js.flow +0 -40
- package/lib/_types/professional-categories.js.flow +0 -25
- package/lib/_types/specialties.js.flow +0 -27
- package/lib/_types/subscriptions.js.flow +0 -58
- package/lib/index.js.flow +0 -438
- package/lib/resources/accounts.js.flow +0 -445
- package/lib/resources/actions.js.flow +0 -25
- package/lib/resources/api-keys.js.flow +0 -54
- package/lib/resources/applications.js.flow +0 -60
- package/lib/resources/attachments.js.flow +0 -75
- package/lib/resources/auth.js.flow +0 -185
- package/lib/resources/bulk-submits.js.flow +0 -43
- package/lib/resources/bulk-uploads.js.flow +0 -56
- package/lib/resources/business-profiles.js.flow +0 -45
- package/lib/resources/businesses.js.flow +0 -267
- package/lib/resources/claim-items.js.flow +0 -76
- package/lib/resources/devices.js.flow +0 -64
- package/lib/resources/doc-accounts.js.flow +0 -61
- package/lib/resources/documents.js.flow +0 -216
- package/lib/resources/emails.js.flow +0 -96
- package/lib/resources/form-application-templates.js.flow +0 -52
- package/lib/resources/form-applications.js.flow +0 -62
- package/lib/resources/forms.js.flow +0 -222
- package/lib/resources/funder-services.js.flow +0 -17
- package/lib/resources/funder-settings.js.flow +0 -58
- package/lib/resources/funders.js.flow +0 -15
- package/lib/resources/futures.js.flow +0 -154
- package/lib/resources/health-fund-accounts.js.flow +0 -198
- package/lib/resources/health-fund-settings.js.flow +0 -104
- package/lib/resources/healthfunds.js.flow +0 -139
- package/lib/resources/icditems.js.flow +0 -36
- package/lib/resources/invoice-scans.js.flow +0 -56
- package/lib/resources/jhcs.js.flow +0 -20
- package/lib/resources/kyc.js.flow +0 -216
- package/lib/resources/logs.js.flow +0 -32
- package/lib/resources/members.js.flow +0 -196
- package/lib/resources/message-mappings.js.flow +0 -25
- package/lib/resources/minions.js.flow +0 -96
- package/lib/resources/modalities.js.flow +0 -46
- package/lib/resources/notes.js.flow +0 -112
- package/lib/resources/onboarding-applications.js.flow +0 -142
- package/lib/resources/onboarding-requests.js.flow +0 -97
- package/lib/resources/ops.js.flow +0 -116
- package/lib/resources/organisations.js.flow +0 -15
- package/lib/resources/partners.js.flow +0 -118
- package/lib/resources/patients.js.flow +0 -102
- package/lib/resources/payments.js.flow +0 -523
- package/lib/resources/pms.js.flow +0 -102
- package/lib/resources/practice-profiles.js.flow +0 -51
- package/lib/resources/practice-types.js.flow +0 -14
- package/lib/resources/practices.js.flow +0 -314
- package/lib/resources/products.js.flow +0 -48
- package/lib/resources/professional-categories.js.flow +0 -56
- package/lib/resources/provider-number-types.js.flow +0 -32
- package/lib/resources/provider-registration-types.js.flow +0 -32
- package/lib/resources/provider-requests.js.flow +0 -46
- package/lib/resources/provider-types.js.flow +0 -14
- package/lib/resources/ref-sources.js.flow +0 -16
- package/lib/resources/risk.js.flow +0 -29
- package/lib/resources/rnas.js.flow +0 -108
- package/lib/resources/roles.js.flow +0 -12
- package/lib/resources/self-checkout-sessions.js.flow +0 -382
- package/lib/resources/services.js.flow +0 -219
- package/lib/resources/settlements.js.flow +0 -97
- package/lib/resources/sign-up.js.flow +0 -15
- package/lib/resources/specialties.js.flow +0 -46
- package/lib/resources/staff-profiles.js.flow +0 -51
- package/lib/resources/staff.js.flow +0 -583
- package/lib/resources/statistics.js.flow +0 -147
- package/lib/resources/subscriptions.js.flow +0 -81
- package/lib/resources/terminals.js.flow +0 -161
- package/lib/resources/transaction-export.js.flow +0 -48
- package/lib/resources/transactions.js.flow +0 -1097
- package/lib/resources/triggers.js.flow +0 -36
- package/lib/resources/vendors.js.flow +0 -28
- package/lib/resources/verify.js.flow +0 -14
- package/lib/resources/workers.js.flow +0 -10
- package/lib/resources/workflow-exceptions.js.flow +0 -17
- package/lib/services/__mocks__/storage.js.flow +0 -30
- package/lib/services/aws.js.flow +0 -339
- package/lib/services/storage.js.flow +0 -92
- package/lib/services/version.js.flow +0 -73
- package/lib/storage-4b403caa.js +0 -1300
- package/lib/utils/application.js.flow +0 -23
- package/lib/utils/base-urls/core.js.flow +0 -18
- package/lib/utils/base-urls/index.js.flow +0 -7
- package/lib/utils/base-urls/risk.js.flow +0 -16
- package/lib/utils/does-param-exist.js.flow +0 -23
- package/lib/utils/get-axios-error.js.flow +0 -8
- package/lib/utils/param-error.js.flow +0 -8
- package/lib/utils/professions.js.flow +0 -66
- package/lib/utils/regions.js.flow +0 -21
- package/lib/utils/request.js.flow +0 -36
- package/lib/utils/staff.js.flow +0 -81
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import type { MedipassRequestOpts } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Create business staff member
|
|
4
|
+
* @param {String} businessId - Organisation ID
|
|
5
|
+
* @param {Object} body - Request body
|
|
6
|
+
* @param {Object} opts - Additional options
|
|
7
|
+
*/
|
|
8
|
+
export declare const createBusinessStaffMember: (businessId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
9
|
+
/**
|
|
10
|
+
* Create organisation staff member
|
|
11
|
+
* @param {String} organisationId - Organisation ID
|
|
12
|
+
* @param {Object} body - Request body
|
|
13
|
+
* @param {Object} opts - Additional options
|
|
14
|
+
*/
|
|
15
|
+
export declare const createOrganisationStaffMember: (organisationId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
16
|
+
/**
|
|
17
|
+
* Delete business staff member
|
|
18
|
+
* @param {String} businessId - Business ID
|
|
19
|
+
* @param {String} staffId - Staff ID
|
|
20
|
+
* @param {Object} opts - Additional options
|
|
21
|
+
*/
|
|
22
|
+
export declare const deleteBusinessStaffMember: (businessId: string, staffId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
23
|
+
/**
|
|
24
|
+
* Delete business staff member email
|
|
25
|
+
* @param {String} businessId - Business ID
|
|
26
|
+
* @param {String} staffId - Staff ID
|
|
27
|
+
* @param {Object} opts - Additional options
|
|
28
|
+
*/
|
|
29
|
+
export declare const deleteBusinessStaffMemberEmail: (businessId: string, staffId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
30
|
+
/**
|
|
31
|
+
* Get business staff member
|
|
32
|
+
* @param {Object} businessId - Business ID
|
|
33
|
+
* @param {Object} staffId - Staff ID
|
|
34
|
+
* @param {Object} opts - Additional options
|
|
35
|
+
*/
|
|
36
|
+
export declare const getBusinessStaffMember: (businessId: string, staffId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
37
|
+
/**
|
|
38
|
+
* Get business staff member roles
|
|
39
|
+
* @param {String} businessId - Business ID
|
|
40
|
+
* @param {String} staffId - Staff ID
|
|
41
|
+
* @param {String} roleFullName - Role
|
|
42
|
+
* @param {Object} opts - Additional options
|
|
43
|
+
*/
|
|
44
|
+
export declare const getBusinessStaffMemberRoles: (businessId: string, staffId: string, roleFullName: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
45
|
+
/**
|
|
46
|
+
* Get business practice staff member
|
|
47
|
+
* @param {Object} businessId - Business ID
|
|
48
|
+
* @param {Object} practiceId - Practice ID
|
|
49
|
+
* @param {Object} staffId - Staff ID
|
|
50
|
+
* @param {Object} opts - Additional options
|
|
51
|
+
*/
|
|
52
|
+
export declare const getBusinessPracticeStaffMember: (businessId: string, practiceId: string, staffId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
53
|
+
/**
|
|
54
|
+
* Get business practice staff member modalities
|
|
55
|
+
* @param {Object} businessId - Business ID
|
|
56
|
+
* @param {Object} practiceId - Practice ID
|
|
57
|
+
* @param {Object} staffId - Staff ID
|
|
58
|
+
* @param {Object} query - Query parameters
|
|
59
|
+
* @param {Object} opts - Additional options
|
|
60
|
+
*/
|
|
61
|
+
export declare const getBusinessPracticeStaffMemberModalities: (businessId: string, practiceId: string, staffId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Array<Record<string, any>>>;
|
|
62
|
+
/**
|
|
63
|
+
* Get business practice staff members
|
|
64
|
+
* @param {Object} businessId - Business ID
|
|
65
|
+
* @param {Object} practiceId - Practice ID
|
|
66
|
+
* @param {Object} query - Query parameters
|
|
67
|
+
* @param {Object} opts - Additional options
|
|
68
|
+
*/
|
|
69
|
+
export declare const getBusinessPracticeStaffMembers: (businessId: string, practiceId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
70
|
+
/**
|
|
71
|
+
* Get business form practice staff members
|
|
72
|
+
* @param {Object} businessId - Business ID
|
|
73
|
+
* @param {Object} formId - Form ID
|
|
74
|
+
* @param {Object} practiceId - Practice ID
|
|
75
|
+
* @param {Object} query - Query parameters
|
|
76
|
+
* @param {Object} opts - Additional options
|
|
77
|
+
*/
|
|
78
|
+
export declare const getBusinessFormPracticeStaffMembers: (businessId: string, formId: string, practiceId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
79
|
+
/**
|
|
80
|
+
* Get business service staff members
|
|
81
|
+
* @param {Object} businessId - Business ID
|
|
82
|
+
* @param {Object} serviceId - Service ID
|
|
83
|
+
* @param {Object} query - Query parameters
|
|
84
|
+
* @param {Object} opts - Additional options
|
|
85
|
+
*/
|
|
86
|
+
export declare const getBusinessServiceStaffMembers: (businessId: string, serviceId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
87
|
+
/**
|
|
88
|
+
* Get business staff members
|
|
89
|
+
* @param {Object} opts - Additional options
|
|
90
|
+
*/
|
|
91
|
+
export declare const getBusinessStaffMembers: (businessId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
92
|
+
/**
|
|
93
|
+
* Get business staff upload urls
|
|
94
|
+
* @param {String} businessId - Business ID
|
|
95
|
+
* @param {String} staffId - Staff ID
|
|
96
|
+
* @param {String} contentType - Mime type
|
|
97
|
+
* @param {Object} opts - Additional options
|
|
98
|
+
*/
|
|
99
|
+
export declare const getBusinessStaffUploadUrl: (businessId: string, staffId: string, contentType: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
100
|
+
/**
|
|
101
|
+
* Get organisation staff members
|
|
102
|
+
* @param {String} organisationId - Organisation ID
|
|
103
|
+
* @param {Object} opts - Additional options
|
|
104
|
+
*/
|
|
105
|
+
export declare const getOrganisationStaffMembers: (organisationId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
106
|
+
/**
|
|
107
|
+
* Get staff member
|
|
108
|
+
* @param {String} staffId - Staff ID
|
|
109
|
+
* @param {Object} opts - Additional options
|
|
110
|
+
*/
|
|
111
|
+
export declare const getStaffMember: (staffId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
112
|
+
/**
|
|
113
|
+
* Grant business practice staff role
|
|
114
|
+
* @param {String} businessId - Business ID
|
|
115
|
+
* @param {String} practiceId - Practice ID
|
|
116
|
+
* @param {String} staffId - Staff ID
|
|
117
|
+
* @param {String} roleFullName - Role
|
|
118
|
+
* @param {Object} opts - Additional options
|
|
119
|
+
*/
|
|
120
|
+
export declare const grantBusinessPracticeStaffRole: (businessId: string, practiceId: string, staffId: string, roleFullName: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
121
|
+
/**
|
|
122
|
+
* Grant business practice staff role
|
|
123
|
+
* @param {String} businessId - Business ID
|
|
124
|
+
* @param {String} staffId - Staff ID
|
|
125
|
+
* @param {String} roleFullName - Role
|
|
126
|
+
* @param {Object} body - Request body
|
|
127
|
+
* @param {Object} opts - Additional options
|
|
128
|
+
*/
|
|
129
|
+
export declare const grantBusinessStaffRole: (businessId: string, staffId: string, roleFullName: string, body?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
130
|
+
/**
|
|
131
|
+
* Invite a new business staff member
|
|
132
|
+
* @param {String} businessId - Business ID
|
|
133
|
+
* @param {Object} body - Request body
|
|
134
|
+
* @param {Object} opts - Additional options
|
|
135
|
+
*/
|
|
136
|
+
export declare const inviteNewBusinessStaffMember: (businessId: string, body?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
137
|
+
/**
|
|
138
|
+
* Invite business staff
|
|
139
|
+
* @param {String} businessId - Business ID
|
|
140
|
+
* @param {String} staffId - Staff ID
|
|
141
|
+
* @param {Object} opts - Additional options
|
|
142
|
+
*/
|
|
143
|
+
export declare const inviteBusinessStaffMember: (businessId: string, staffId: string, body?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
144
|
+
/**
|
|
145
|
+
* Revoke business practice staff role
|
|
146
|
+
* @param {String} businessId - Business ID
|
|
147
|
+
* @param {String} practiceId - Practice ID
|
|
148
|
+
* @param {String} staffId - Staff ID
|
|
149
|
+
* @param {String} roleFullName - Role
|
|
150
|
+
* @param {Object} opts - Additional options
|
|
151
|
+
*/
|
|
152
|
+
export declare const revokeBusinessPracticeStaffRole: (businessId: string, practiceId: string, staffId: string, roleFullName: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
153
|
+
/**
|
|
154
|
+
* Revoke business practice staff role
|
|
155
|
+
* @param {String} businessId - Business ID
|
|
156
|
+
* @param {String} staffId - Staff ID
|
|
157
|
+
* @param {String} roleFullName - Role
|
|
158
|
+
* @param {Object} body - Request body
|
|
159
|
+
* @param {Object} opts - Additional options
|
|
160
|
+
*/
|
|
161
|
+
export declare const revokeBusinessStaffRole: (businessId: string, staffId: string, roleFullName: string, body?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
162
|
+
/**
|
|
163
|
+
* Update business staff member
|
|
164
|
+
* @param {String} businessId - Business ID
|
|
165
|
+
* @param {String} staffId - Staff ID
|
|
166
|
+
* @param {Object} body - Request body
|
|
167
|
+
* @param {Object} opts - Additional options
|
|
168
|
+
*/
|
|
169
|
+
export declare const updateBusinessStaffMember: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
170
|
+
/**
|
|
171
|
+
* Create or resend a magic link to update current staff's email
|
|
172
|
+
* @param {String} businessId - Business ID
|
|
173
|
+
* @param {String} staffId - Staff ID
|
|
174
|
+
* @param {Object} body - Request body
|
|
175
|
+
* @param {Object} opts - Additional options
|
|
176
|
+
*/
|
|
177
|
+
export declare const updateBusinessStaffMemberEmail: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
178
|
+
/**
|
|
179
|
+
* Update organisation staff member
|
|
180
|
+
* @param {String} organisationId - Organisation ID
|
|
181
|
+
* @param {String} staffId - Staff ID
|
|
182
|
+
* @param {Object} body - Request body
|
|
183
|
+
* @param {Object} opts - Additional options
|
|
184
|
+
*/
|
|
185
|
+
export declare const updateOrganisationStaffMember: (organisationId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
186
|
+
/**
|
|
187
|
+
* Verify staff member
|
|
188
|
+
* @param {String} staffId - Staff ID
|
|
189
|
+
* @param {Object} body - Request body
|
|
190
|
+
* @param {Object} opts - Additional options
|
|
191
|
+
*/
|
|
192
|
+
export declare const verifyStaffMember: (staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
193
|
+
/**
|
|
194
|
+
* Clone staff member into another business
|
|
195
|
+
* @param {String} staffId - Staff ID
|
|
196
|
+
* @param {Object} body - Request body
|
|
197
|
+
* @param {Object} opts - Additional options
|
|
198
|
+
*/
|
|
199
|
+
export declare const cloneStaffMemberIntoBusiness: (staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
200
|
+
/**
|
|
201
|
+
* Check if email exists
|
|
202
|
+
* @param {String} businessId - Business ID
|
|
203
|
+
* @param {Object} query - Query parameters
|
|
204
|
+
* @param {Object} opts - Additional options
|
|
205
|
+
*/
|
|
206
|
+
export declare const checkStaffMemberEmailExists: (businessId: string, query: {
|
|
207
|
+
email: string;
|
|
208
|
+
}, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
209
|
+
/**
|
|
210
|
+
* Create business staff provider set item
|
|
211
|
+
* @param {String} businessId - Business ID
|
|
212
|
+
* @param {String} staffId - Staff ID
|
|
213
|
+
* @param {Object} body - Request body
|
|
214
|
+
* @param {Object} opts - Additional options
|
|
215
|
+
*/
|
|
216
|
+
export declare const createStaffProviderSetItem: (businessId: string, staffId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
217
|
+
/**
|
|
218
|
+
* Update business staff provider set item
|
|
219
|
+
* @param {String} businessId - Business ID
|
|
220
|
+
* @param {String} staffId - Staff ID
|
|
221
|
+
* @param {String} providerSetItemId - Provider set item ID
|
|
222
|
+
* @param {Object} body - Request body
|
|
223
|
+
* @param {Object} opts - Additional options
|
|
224
|
+
*/
|
|
225
|
+
export declare const updateStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
226
|
+
/**
|
|
227
|
+
* Delete business staff provider set item
|
|
228
|
+
* @param {String} businessId - Business ID
|
|
229
|
+
* @param {String} staffId - Staff ID
|
|
230
|
+
* @param {String} providerSetItemId - Provider set item ID
|
|
231
|
+
* @param {Object} opts - Additional options
|
|
232
|
+
*/
|
|
233
|
+
export declare const deleteStaffProviderSetItem: (businessId: string, staffId: string, providerSetItemId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
234
|
+
/**
|
|
235
|
+
* Gets a list of providers and their current status.
|
|
236
|
+
* @param {String} businessId - Business ID
|
|
237
|
+
* @param {Object} query - Query parameters
|
|
238
|
+
* @param {Object} opts - Additional options
|
|
239
|
+
*/
|
|
240
|
+
export declare const getProvidersStatus: (businessId: string, query: {
|
|
241
|
+
providerNumber?: string;
|
|
242
|
+
}, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
package/lib/resources/staff.js
CHANGED
|
@@ -18,8 +18,7 @@ require('../utils/param-error.js');
|
|
|
18
18
|
require('../utils/does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('../utils/get-axios-error.js');
|
|
21
|
-
require('../
|
|
22
|
-
var request = require('../staff-1ec3d500.js');
|
|
21
|
+
var request = require('../staff-96febcd8.js');
|
|
23
22
|
require('lodash/omitBy');
|
|
24
23
|
require('lodash/isEmpty');
|
|
25
24
|
require('store/src/store-engine');
|
|
@@ -27,6 +26,7 @@ require('store/storages/localStorage');
|
|
|
27
26
|
require('store/storages/sessionStorage');
|
|
28
27
|
require('masked');
|
|
29
28
|
require('@medipass/utils/sensitive-keys');
|
|
29
|
+
require('../services/storage.js');
|
|
30
30
|
require('platform');
|
|
31
31
|
require('@medipass/utils/constants');
|
|
32
32
|
require('braintree-web/client');
|
|
@@ -40,7 +40,7 @@ require('../utils/base-urls/core.js');
|
|
|
40
40
|
require('../utils/base-urls/risk.js');
|
|
41
41
|
require('../utils/base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-a0a28864.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { MedipassRequestOpts } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Get transaction statistics for a health fund
|
|
4
|
+
* @param {String} healthFundId - Health fund ID
|
|
5
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
6
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
7
|
+
* @param {Object} query - Extra query parameters
|
|
8
|
+
* @param {Object} opts - Additional options
|
|
9
|
+
*/
|
|
10
|
+
export declare const getTransactionStatsForHealthFundId: (healthFundId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Array<Record<string, any>>>;
|
|
11
|
+
/**
|
|
12
|
+
* Get transaction statistics as CSV for a health fund
|
|
13
|
+
* @param {String} healthFundId - Health fund ID
|
|
14
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
15
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
16
|
+
* @param {Object} query - Extra query parameters
|
|
17
|
+
* @param {Object} opts - Additional options
|
|
18
|
+
*/
|
|
19
|
+
export declare const getTransactionStatsCSVForHealthFundId: (healthFundId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
20
|
+
/**
|
|
21
|
+
* Get health fund account stats for a health fund
|
|
22
|
+
* @param {String} healthFundId - Health fund ID
|
|
23
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
24
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
25
|
+
* @param {Object} query - Extra query parameters
|
|
26
|
+
* @param {Object} opts - Additional options
|
|
27
|
+
*/
|
|
28
|
+
export declare const getHealthFundAccountStatsForHealthFundId: (healthFundId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
29
|
+
/**
|
|
30
|
+
* Get transaction statistics for a business
|
|
31
|
+
* @param {String} businessId - Business ID
|
|
32
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
33
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
34
|
+
* @param {Object} query - Extra query parameters
|
|
35
|
+
* @param {Object} opts - Additional options
|
|
36
|
+
*/
|
|
37
|
+
export declare const getTransactionStatsForBusiness: (businessId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Get transaction statistics for a practice
|
|
40
|
+
* @param {String} businessId - Business ID
|
|
41
|
+
* @param {String} practiceId - Practice ID
|
|
42
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
43
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
44
|
+
* @param {Object} query - Extra query parameters
|
|
45
|
+
* @param {Object} opts - Additional options
|
|
46
|
+
*/
|
|
47
|
+
export declare const getTransactionStatsForPractice: (businessId: string, practiceId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
48
|
+
/**
|
|
49
|
+
* Get transaction statistics for an organisation
|
|
50
|
+
* @param {String} organisationId - Organisation ID
|
|
51
|
+
* @param {String} from - From date in YYYY-MM-DD format
|
|
52
|
+
* @param {String} to - To date in YYYY-MM-DD format
|
|
53
|
+
* @param {Object} query - Extra query parameters
|
|
54
|
+
* @param {Object} opts - Additional options
|
|
55
|
+
*/
|
|
56
|
+
export declare const getTransactionStatsForOrganisation: (organisationId: string, from: string | null | undefined, to: string | null | undefined, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
@@ -18,8 +18,7 @@ require('../utils/param-error.js');
|
|
|
18
18
|
require('../utils/does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('../utils/get-axios-error.js');
|
|
21
|
-
require('../
|
|
22
|
-
var request = require('../staff-1ec3d500.js');
|
|
21
|
+
var request = require('../staff-96febcd8.js');
|
|
23
22
|
require('lodash/omitBy');
|
|
24
23
|
require('lodash/isEmpty');
|
|
25
24
|
require('store/src/store-engine');
|
|
@@ -27,6 +26,7 @@ require('store/storages/localStorage');
|
|
|
27
26
|
require('store/storages/sessionStorage');
|
|
28
27
|
require('masked');
|
|
29
28
|
require('@medipass/utils/sensitive-keys');
|
|
29
|
+
require('../services/storage.js');
|
|
30
30
|
require('platform');
|
|
31
31
|
require('@medipass/utils/constants');
|
|
32
32
|
require('braintree-web/client');
|
|
@@ -40,7 +40,7 @@ require('../utils/base-urls/core.js');
|
|
|
40
40
|
require('../utils/base-urls/risk.js');
|
|
41
41
|
require('../utils/base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-a0a28864.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { MedipassRequestOpts, CreateBusinessSubscriptionBody, GetBusinessSubscriptionsQuery, UpdateBusinessSubscriptionBody, SubscriptionResponse, SubscriptionsResponse } from '../types';
|
|
2
|
+
export declare const pathBusinessSubscriptions: (businessId: string) => string;
|
|
3
|
+
export declare const pathBusinessSubscription: (businessId: string, subscriptionId: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Create business subscription
|
|
6
|
+
* @param {String} businessId - Business ID
|
|
7
|
+
* @param {Object} body - Request body
|
|
8
|
+
* @param {Object} opts - Additional options
|
|
9
|
+
*/
|
|
10
|
+
export declare const createBusinessSubscription: (businessId: string, body?: CreateBusinessSubscriptionBody, opts?: MedipassRequestOpts) => Promise<SubscriptionResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Get business subscriptions
|
|
13
|
+
* @param {String} businessId - Business ID
|
|
14
|
+
* @param {Object} query - Query parameters
|
|
15
|
+
* @param {Object} opts - Additional options
|
|
16
|
+
*/
|
|
17
|
+
export declare const getBusinessSubscriptions: (businessId: string, query?: GetBusinessSubscriptionsQuery, opts?: MedipassRequestOpts) => Promise<SubscriptionsResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get business subscription
|
|
20
|
+
* @param {String} businessId - Business ID
|
|
21
|
+
* @param {String} subscriptionId - Subscription ID
|
|
22
|
+
* @param {Object} opts - Additional options
|
|
23
|
+
*/
|
|
24
|
+
export declare const getBusinessSubscription: (businessId: string, subscriptionId: string, opts?: MedipassRequestOpts) => Promise<SubscriptionResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Update business subscription
|
|
27
|
+
* @param {String} businessId - Business ID
|
|
28
|
+
* @param {String} subscriptionId - Subscription ID
|
|
29
|
+
* @param {Object} body - Request body
|
|
30
|
+
* @param {Object} opts - Additional options
|
|
31
|
+
*/
|
|
32
|
+
export declare const updateBusinessSubscription: (businessId: string, subscriptionId: string, body: UpdateBusinessSubscriptionBody, opts?: MedipassRequestOpts) => Promise<SubscriptionResponse>;
|
|
@@ -18,8 +18,7 @@ require('../utils/param-error.js');
|
|
|
18
18
|
require('../utils/does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('../utils/get-axios-error.js');
|
|
21
|
-
require('../
|
|
22
|
-
var request = require('../staff-1ec3d500.js');
|
|
21
|
+
var request = require('../staff-96febcd8.js');
|
|
23
22
|
require('lodash/omitBy');
|
|
24
23
|
require('lodash/isEmpty');
|
|
25
24
|
require('store/src/store-engine');
|
|
@@ -27,6 +26,7 @@ require('store/storages/localStorage');
|
|
|
27
26
|
require('store/storages/sessionStorage');
|
|
28
27
|
require('masked');
|
|
29
28
|
require('@medipass/utils/sensitive-keys');
|
|
29
|
+
require('../services/storage.js');
|
|
30
30
|
require('platform');
|
|
31
31
|
require('@medipass/utils/constants');
|
|
32
32
|
require('braintree-web/client');
|
|
@@ -40,7 +40,7 @@ require('../utils/base-urls/core.js');
|
|
|
40
40
|
require('../utils/base-urls/risk.js');
|
|
41
41
|
require('../utils/base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-a0a28864.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { MedipassRequestOpts } from '../types';
|
|
2
|
+
export declare const pathTerminalsByBusinessId: (businessId: string) => string;
|
|
3
|
+
export declare const pathTerminalsByPracticeId: (businessId: string, practiceId: string) => string;
|
|
4
|
+
export declare const pathTerminalByTerminalId: (businessId: string, practiceId: string, terminalId: string) => string;
|
|
5
|
+
export declare const pathResetTerminal: (businessId: string, practiceId: string, terminalId: string) => string;
|
|
6
|
+
export declare const pathClientTokenByPracticeId: (businessId: string, practiceId: string) => string;
|
|
7
|
+
/**
|
|
8
|
+
* Register a terminal
|
|
9
|
+
* @param {String} businessId - Business ID
|
|
10
|
+
* @param {String} practiceId - Practice ID
|
|
11
|
+
* @param {Object} body - Request body
|
|
12
|
+
* @param {Object} opts - Additional options
|
|
13
|
+
*/
|
|
14
|
+
export declare const registerTerminal: (businessId: string, practiceId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
15
|
+
/**
|
|
16
|
+
* Get terminals for a business
|
|
17
|
+
* @param {String} businessId - Business ID
|
|
18
|
+
* @param {Object} query - query parameters
|
|
19
|
+
* @param {Object} opts - Additional options
|
|
20
|
+
*/
|
|
21
|
+
export declare const getBusinessTerminals: (businessId: string, query: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
22
|
+
/**
|
|
23
|
+
* Get registered terminals for a practice
|
|
24
|
+
* @param {String} businessId - Business ID
|
|
25
|
+
* @param {String} practiceId - Practice ID
|
|
26
|
+
* @param {Object} query - query parameters
|
|
27
|
+
* @param {Object} opts - Additional options
|
|
28
|
+
*/
|
|
29
|
+
export declare const getTerminals: (businessId: string, practiceId: string, query: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
30
|
+
/**
|
|
31
|
+
* Get terminal by terminalId
|
|
32
|
+
* @param {String} businessId - Business ID
|
|
33
|
+
* @param {String} practiceId - Practice ID
|
|
34
|
+
* @param {String} terminalId - Terminal ID
|
|
35
|
+
* @param {Object} body - Request body
|
|
36
|
+
* @param {Object} opts - Additional options
|
|
37
|
+
*/
|
|
38
|
+
export declare const getTerminal: (businessId: string, practiceId: string, terminalId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
39
|
+
/**
|
|
40
|
+
* Update terminal by terminalId
|
|
41
|
+
* @param {String} businessId - Business ID
|
|
42
|
+
* @param {String} practiceId - Practice ID
|
|
43
|
+
* @param {String} terminalId - Terminal ID
|
|
44
|
+
* @param {Object} body - Request body
|
|
45
|
+
* @param {Object} opts - Additional options
|
|
46
|
+
*/
|
|
47
|
+
export declare const updateTerminal: (businessId: string, practiceId: string, terminalId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
48
|
+
/**
|
|
49
|
+
* Delete terminal by terminalId
|
|
50
|
+
* @param {String} businessId - Business ID
|
|
51
|
+
* @param {String} practiceId - Practice ID
|
|
52
|
+
* @param {String} terminalId - Terminal ID
|
|
53
|
+
* @param {Object} opts - Additional options
|
|
54
|
+
*/
|
|
55
|
+
export declare const deleteTerminal: (businessId: string, practiceId: string, terminalId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
56
|
+
/**
|
|
57
|
+
* Get client token
|
|
58
|
+
* @param {String} businessId - Business ID
|
|
59
|
+
* @param {String} practiceId - Practice ID
|
|
60
|
+
* @param {Object} opts - Additional options
|
|
61
|
+
*/
|
|
62
|
+
export declare const getClientToken: (businessId: string, practiceId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
63
|
+
/**
|
|
64
|
+
* Reset terminal by terminalId - only to be used on tyro simulato terminals
|
|
65
|
+
* @param {String} businessId - Business ID
|
|
66
|
+
* @param {String} practiceId - Practice ID
|
|
67
|
+
* @param {String} terminalId - Terminal ID
|
|
68
|
+
* @param {Object} body - Request body
|
|
69
|
+
* @param {Object} opts - Additional options
|
|
70
|
+
*/
|
|
71
|
+
export declare const resetTerminal: (businessId: string, practiceId: string, terminalId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
@@ -18,8 +18,7 @@ require('../utils/param-error.js');
|
|
|
18
18
|
require('../utils/does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('../utils/get-axios-error.js');
|
|
21
|
-
require('../
|
|
22
|
-
var request = require('../staff-1ec3d500.js');
|
|
21
|
+
var request = require('../staff-96febcd8.js');
|
|
23
22
|
require('lodash/omitBy');
|
|
24
23
|
require('lodash/isEmpty');
|
|
25
24
|
require('store/src/store-engine');
|
|
@@ -27,6 +26,7 @@ require('store/storages/localStorage');
|
|
|
27
26
|
require('store/storages/sessionStorage');
|
|
28
27
|
require('masked');
|
|
29
28
|
require('@medipass/utils/sensitive-keys');
|
|
29
|
+
require('../services/storage.js');
|
|
30
30
|
require('platform');
|
|
31
31
|
require('@medipass/utils/constants');
|
|
32
32
|
require('braintree-web/client');
|
|
@@ -40,7 +40,7 @@ require('../utils/base-urls/core.js');
|
|
|
40
40
|
require('../utils/base-urls/risk.js');
|
|
41
41
|
require('../utils/base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-a0a28864.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MedipassRequestOpts } from '../types';
|
|
2
|
+
export declare const pathCreateHealthFundTransactionExport: (healthFundId: string) => string;
|
|
3
|
+
export declare const pathGetHealthFundTransactionExport: (healthFundId: string, transactionExportId: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Get a transaction export for a healthfund
|
|
6
|
+
* @param {String} healthFundId - Health fund ID
|
|
7
|
+
* @param {Object} body - Request body
|
|
8
|
+
* @param {Object} opts - Additional options
|
|
9
|
+
*/
|
|
10
|
+
export declare const createHealthFundTransactionExport: (healthFundId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
11
|
+
/**
|
|
12
|
+
* Get transaction export for a healthfund
|
|
13
|
+
* @param {String} healthFundId - Health Fund ID
|
|
14
|
+
* @param {String} transactionExportId - Transaction Export ID
|
|
15
|
+
* @param {Object} query - query parameters
|
|
16
|
+
* @param {Object} opts - Additional options
|
|
17
|
+
*/
|
|
18
|
+
export declare const getHealthFundTransactionExport: (healthFundId: string, transactionExportId: string, query?: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
|
|
@@ -18,8 +18,7 @@ require('../utils/param-error.js');
|
|
|
18
18
|
require('../utils/does-param-exist.js');
|
|
19
19
|
require('@medipass/utils/sentry');
|
|
20
20
|
require('../utils/get-axios-error.js');
|
|
21
|
-
require('../
|
|
22
|
-
var request = require('../staff-1ec3d500.js');
|
|
21
|
+
var request = require('../staff-96febcd8.js');
|
|
23
22
|
require('lodash/omitBy');
|
|
24
23
|
require('lodash/isEmpty');
|
|
25
24
|
require('store/src/store-engine');
|
|
@@ -27,6 +26,7 @@ require('store/storages/localStorage');
|
|
|
27
26
|
require('store/storages/sessionStorage');
|
|
28
27
|
require('masked');
|
|
29
28
|
require('@medipass/utils/sensitive-keys');
|
|
29
|
+
require('../services/storage.js');
|
|
30
30
|
require('platform');
|
|
31
31
|
require('@medipass/utils/constants');
|
|
32
32
|
require('braintree-web/client');
|
|
@@ -40,7 +40,7 @@ require('../utils/base-urls/core.js');
|
|
|
40
40
|
require('../utils/base-urls/risk.js');
|
|
41
41
|
require('../utils/base-urls/index.js');
|
|
42
42
|
require('js-cookie');
|
|
43
|
-
require('../regions-
|
|
43
|
+
require('../regions-a0a28864.js');
|
|
44
44
|
require('lodash/flatten');
|
|
45
45
|
|
|
46
46
|
|