@voyantjs/customer-portal-react 0.6.0 → 0.6.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.
- package/dist/operations.js +2 -2
- package/package.json +5 -5
package/dist/operations.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { fetchWithValidation, withQueryParams } from "./client.js";
|
|
3
3
|
import { customerPortalBookingBillingContactResponseSchema, customerPortalBookingDocumentsResponseSchema, customerPortalBookingResponseSchema, customerPortalBookingsResponseSchema, customerPortalBootstrapResponseSchema, customerPortalCompanionImportResponseSchema, customerPortalCompanionResponseSchema, customerPortalCompanionsResponseSchema, customerPortalContactExistsResponseSchema, customerPortalPhoneContactExistsResponseSchema, customerPortalProfileResponseSchema, successEnvelope, } from "./schemas.js";
|
|
4
4
|
export function getCustomerPortalContactExists(client, email) {
|
|
5
|
-
return fetchWithValidation(withQueryParams("/v1/customer-portal/contact-exists", { email }), customerPortalContactExistsResponseSchema, client);
|
|
5
|
+
return fetchWithValidation(withQueryParams("/v1/public/customer-portal/contact-exists", { email }), customerPortalContactExistsResponseSchema, client);
|
|
6
6
|
}
|
|
7
7
|
export function getCustomerPortalPhoneContactExists(client, phone) {
|
|
8
|
-
return fetchWithValidation(withQueryParams("/v1/customer-portal/contact-exists/phone", { phone }), customerPortalPhoneContactExistsResponseSchema, client);
|
|
8
|
+
return fetchWithValidation(withQueryParams("/v1/public/customer-portal/contact-exists/phone", { phone }), customerPortalPhoneContactExistsResponseSchema, client);
|
|
9
9
|
}
|
|
10
10
|
export function getCustomerPortalProfile(client) {
|
|
11
11
|
return fetchWithValidation("/v1/public/customer-portal/me", customerPortalProfileResponseSchema, client);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/customer-portal-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react": "^19.0.0",
|
|
40
40
|
"react-dom": "^19.0.0",
|
|
41
41
|
"zod": "^4.0.0",
|
|
42
|
-
"@voyantjs/customer-portal": "0.6.
|
|
42
|
+
"@voyantjs/customer-portal": "0.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"typescript": "^6.0.2",
|
|
51
51
|
"vitest": "^4.1.2",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
|
-
"@voyantjs/customer-portal": "0.6.
|
|
54
|
-
"@voyantjs/react": "0.6.
|
|
53
|
+
"@voyantjs/customer-portal": "0.6.2",
|
|
54
|
+
"@voyantjs/react": "0.6.2",
|
|
55
55
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@voyantjs/react": "0.6.
|
|
58
|
+
"@voyantjs/react": "0.6.2"
|
|
59
59
|
},
|
|
60
60
|
"files": [
|
|
61
61
|
"dist"
|