@medipass/web-sdk 11.66.6 → 11.66.7

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 { CreateNoteRequestBody, MedipassRequestOpts, PaginatedQuery } from '../types';
1
+ import type { CreateNoteRequestBody, MedipassRequestOpts, PaginatedQuery, PaginatedResponse } from '../types';
2
2
  export declare const pathHealthFundDocumentNotes: (healthFundId: string, documentId: string) => string;
3
3
  export declare const pathHealthFundTransactionNote: (healthFundId: string, transactionId: string) => string;
4
4
  export declare const pathHealthFundNote: (healthFundId: string, noteId: string) => string;
@@ -10,7 +10,18 @@ export declare const getHealthFundDocumentNotes: (healthFundId: string, document
10
10
  export declare const getHealthFundTransactionNote: (healthFundId: string, transactionId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
11
11
  export declare const getHealthFundNote: (healthFundId: string, noteId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
12
12
  export declare const getTransactionNotes: (transactionId: string, query?: PaginatedQuery | null | undefined, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
13
- export declare const getTransactionNote: (businessId: string, transactionId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
13
+ export interface TransactionNote {
14
+ accountId: string;
15
+ businessId: string;
16
+ created: string;
17
+ healthFundId: string;
18
+ modified: string;
19
+ note: string;
20
+ transactionId: string;
21
+ username: string;
22
+ _id: string;
23
+ }
24
+ export declare const getTransactionNote: (businessId: string, transactionId: string, opts?: MedipassRequestOpts) => Promise<PaginatedResponse<TransactionNote>>;
14
25
  export declare const addTransactionNote: (transactionId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
15
26
  export declare const deleteTransactionNote: (transactionId: string, transactionNoteId: string, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
16
27
  export declare const updateHealthFundNote: (healthFundId: string, noteId: string, body: CreateNoteRequestBody, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "11.66.6",
3
+ "version": "11.66.7",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -57,5 +57,5 @@
57
57
  "resolutions": {
58
58
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
59
59
  },
60
- "gitHead": "0ce1b7bd7efea72684927142b13f335bfdecceff"
60
+ "gitHead": "9cace59219ba5973567a1839e2de1212d21c03fb"
61
61
  }