@medipass/web-sdk 11.58.1-feature-export-daily-remittance-endpoints.3 → 11.58.1-feature-export-daily-remittance-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, CheckStatusOfBusinessSettlementExport
|
|
1
|
+
import type { MedipassRequestOpts, CheckStatusOfBusinessSettlementExport } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
* This will kick off a worker that will generate the file and return an S3 file ID.
|
|
@@ -14,14 +14,14 @@ export declare const initiateBusinessSettlementExport: (businessId: string, quer
|
|
|
14
14
|
to?: string;
|
|
15
15
|
}, opts?: MedipassRequestOpts) => Promise<{
|
|
16
16
|
s3FileId: string;
|
|
17
|
-
}
|
|
17
|
+
}>;
|
|
18
18
|
/**
|
|
19
19
|
This can be used to query the file ID until the status is completed or errored.
|
|
20
20
|
* @param {String} businessId - Business ID
|
|
21
21
|
* @param {String} s3FileId - S3File ID
|
|
22
22
|
* @param {Object} opts - Additional options
|
|
23
23
|
*/
|
|
24
|
-
export declare const checkStatusOfBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<CheckStatusOfBusinessSettlementExport
|
|
24
|
+
export declare const checkStatusOfBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<CheckStatusOfBusinessSettlementExport>;
|
|
25
25
|
/**
|
|
26
26
|
This can be used to download the file from S3 when the status has completed.
|
|
27
27
|
* @param {String} businessId - Business ID
|
|
@@ -30,7 +30,7 @@ export declare const checkStatusOfBusinessSettlementExport: (businessId: string,
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const downloadBusinessSettlementExport: (businessId: string, s3FileId: string, opts?: MedipassRequestOpts) => Promise<{
|
|
32
32
|
s3SignedUrl: string;
|
|
33
|
-
}
|
|
33
|
+
}>;
|
|
34
34
|
/**
|
|
35
35
|
* Get business settlements
|
|
36
36
|
* @param {String} businessId - Business ID
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.58.1-feature-export-daily-remittance-endpoints.
|
|
3
|
+
"version": "11.58.1-feature-export-daily-remittance-endpoints.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"resolutions": {
|
|
59
59
|
"react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "51ff06dad8bb29b49b6fca35a88e28b60994c911"
|
|
62
62
|
}
|