@medipass/web-sdk 11.61.1-feature-healthpoint-registration-application-endpoints.3 → 11.61.1-feature-healthpoint-registration-application-endpoints.5

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.
@@ -154,7 +154,7 @@ export declare const updateBusinessPaymentMethod: (businessId: string, paymentMe
154
154
  * @returns {Object} The device data
155
155
  */
156
156
  export declare const updateBusinessPatientPaymentMethod: (businessId: string, patientId: string, paymentMethodId: string, body: Record<string, any>, opts?: MedipassRequestOpts) => Promise<Record<string, any>>;
157
- export declare const getPaymentGatewayError: (sessionResponse: Record<string, any>) => "The payment card details you entered were invalid, please review the payment card credentials and try again." | "There are issues connecting to the payment gateway. Please refresh the page and try again." | null;
157
+ export declare const getPaymentGatewayError: (sessionResponse: Record<string, any>) => any;
158
158
  /**
159
159
  * Get a business nonce
160
160
  * @param {Object} body - Request body
@@ -83,14 +83,14 @@ export declare type HealthFundDocumentResponse = {
83
83
  country?: string;
84
84
  };
85
85
  workflowState: string;
86
- assignedToAccountId: string;
87
- assignedToUsername: string;
88
- approvedByAccountId: string;
89
- approvedByUsername: string;
90
- approvedDate: string;
86
+ assignedToAccountId?: string;
87
+ assignedToUsername?: string;
88
+ approvedByAccountId?: string;
89
+ approvedByUsername?: string;
90
+ approvedDate?: string;
91
91
  createdByAccountId: string;
92
92
  createdByAccountUsername: string;
93
- declinedDate: string;
93
+ declinedDate?: string;
94
94
  status: string;
95
95
  tags: Array<{
96
96
  _id: string;
@@ -102,7 +102,7 @@ export declare type HealthFundDocumentResponse = {
102
102
  };
103
103
  assignedByAccountId: string;
104
104
  assignedByUsername: string;
105
- notes: string;
105
+ notes?: string;
106
106
  }>;
107
107
  isPublished?: boolean;
108
108
  created: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "11.61.1-feature-healthpoint-registration-application-endpoints.3",
3
+ "version": "11.61.1-feature-healthpoint-registration-application-endpoints.5",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/plugin-transform-runtime": "7.8.3",
49
- "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.1",
49
+ "@medipass/utils": "^11.77.5-feature-healthpoint-registration-application-endpoints.3",
50
50
  "@types/jest": "28.1.6",
51
51
  "@types/mocha": "9.1.1",
52
52
  "@types/node": "18.7.1",
@@ -58,5 +58,5 @@
58
58
  "resolutions": {
59
59
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
60
60
  },
61
- "gitHead": "0fa7a67bb2e25f792bfb4c836ccb045c90e520a4"
61
+ "gitHead": "d3ac2d25b315f4c873afd425808b0836c4a8fa58"
62
62
  }