@natch-the-storage/heathershaw-platform-types 1.19.1 → 1.19.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.
@@ -1034,8 +1034,8 @@ export declare const ApiRoutes: {
1034
1034
  createPaymentLinkToken: string;
1035
1035
  getByPaymentLinkToken: (token: string) => string;
1036
1036
  updateByPaymentLinkToken: (token: string) => string;
1037
- chargePaymentLink: (token: string) => string;
1038
- chargeOrder: (id: string) => string;
1037
+ handleHostedPaymentLinkExternal: (token: string) => string;
1038
+ handleHostedPaymentLinkAuthenticated: (id: string) => string;
1039
1039
  };
1040
1040
  paperScriptReminders: {
1041
1041
  list: string;
@@ -457,8 +457,8 @@ export const ApiRoutes = {
457
457
  createPaymentLinkToken: '/api/orders/payment-links',
458
458
  getByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
459
459
  updateByPaymentLinkToken: (token) => `/api/orders/payment-links/${token}`,
460
- chargePaymentLink: (token) => `/orders/payment-links/${token}/charge`,
461
- chargeOrder: (id) => `/orders/${id}/charge`,
460
+ handleHostedPaymentLinkExternal: (token) => `/orders/payment-links/${token}/hosted-payment-url`,
461
+ handleHostedPaymentLinkAuthenticated: (id) => `/orders/${id}/hosted-payment-url`,
462
462
  },
463
463
  paperScriptReminders: {
464
464
  list: '/api/paper-script-reminders',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",