@medipass/web-sdk 12.10.13-feature-web-sdk-summaries-types.0 → 12.10.13-feature-web-sdk-summaries-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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MedipassRequestOpts } from '../types';
|
|
2
|
-
import type { SettlementSummariesQuery, SettlementSummariesResponse,
|
|
2
|
+
import type { SettlementSummariesQuery, SettlementSummariesResponse, SettlementSummariesByPeriodQuery, SettlementSummariesByPeriodResponse, SettlementSummaryResponse } from 'types/settlement-summaries';
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* This will kick off a worker that will generate the file and return an S3 file ID.
|
|
@@ -37,7 +37,7 @@ export declare const getBusinessSettlementSummaries: (businessId: string, query:
|
|
|
37
37
|
* @param {Object} query - Query parameters
|
|
38
38
|
* @param {Object} opts - Additional options
|
|
39
39
|
*/
|
|
40
|
-
export declare const getBusinessSettlementSummariesByPeriod: (businessId: string, query:
|
|
40
|
+
export declare const getBusinessSettlementSummariesByPeriod: (businessId: string, query: SettlementSummariesByPeriodQuery, opts?: MedipassRequestOpts) => Promise<SettlementSummariesByPeriodResponse>;
|
|
41
41
|
/**
|
|
42
42
|
* Get a business's settlement summary by Id
|
|
43
43
|
* @param {String} businessId - Business ID
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PaginatedQuery, PaginatedResponse } from '
|
|
2
|
-
export interface
|
|
1
|
+
import type { PaginatedQuery, PaginatedResponse } from './index';
|
|
2
|
+
export interface SettlementSummariesByPeriodItem {
|
|
3
3
|
settlementPeriod: string;
|
|
4
4
|
settlementParty: string;
|
|
5
5
|
funderName: string;
|
|
@@ -26,8 +26,8 @@ export interface SettlementSummaryByPeriodItem {
|
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
export declare type
|
|
30
|
-
export declare type
|
|
29
|
+
export declare type SettlementSummariesByPeriodResponse = PaginatedResponse<SettlementSummariesByPeriodItem>;
|
|
30
|
+
export declare type SettlementSummariesByPeriodQuery = PaginatedQuery & {
|
|
31
31
|
tz: string;
|
|
32
32
|
from: string;
|
|
33
33
|
to: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "12.10.13-feature-web-sdk-summaries-types.
|
|
3
|
+
"version": "12.10.13-feature-web-sdk-summaries-types.2",
|
|
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": "
|
|
62
|
+
"gitHead": "8ec49dafc7d21905aa4ca414469facc220632511"
|
|
63
63
|
}
|