@voyantjs/identity-react 0.31.1 → 0.31.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.
@@ -6,7 +6,7 @@ export declare function useAddressMutation(): {
6
6
  create: import("@tanstack/react-query").UseMutationResult<{
7
7
  entityType: string;
8
8
  entityId: string;
9
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
9
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
10
10
  isPrimary: boolean;
11
11
  id: string;
12
12
  fullText: string | null;
@@ -26,7 +26,7 @@ export declare function useAddressMutation(): {
26
26
  }, Error, {
27
27
  entityType: string;
28
28
  entityId: string;
29
- label?: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal" | undefined;
29
+ label?: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting" | undefined;
30
30
  fullText?: string | null | undefined;
31
31
  line1?: string | null | undefined;
32
32
  line2?: string | null | undefined;
@@ -44,7 +44,7 @@ export declare function useAddressMutation(): {
44
44
  update: import("@tanstack/react-query").UseMutationResult<{
45
45
  entityType: string;
46
46
  entityId: string;
47
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
47
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
48
48
  isPrimary: boolean;
49
49
  id: string;
50
50
  fullText: string | null;
@@ -6,7 +6,7 @@ export declare function useAddresses(options?: UseAddressesOptions): import("@ta
6
6
  data: {
7
7
  entityType: string;
8
8
  entityId: string;
9
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
9
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
10
10
  isPrimary: boolean;
11
11
  id: string;
12
12
  fullText: string | null;
@@ -146,7 +146,7 @@ export declare function getAddressesQueryOptions(client: FetchWithValidationOpti
146
146
  data: {
147
147
  entityType: string;
148
148
  entityId: string;
149
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
149
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
150
150
  isPrimary: boolean;
151
151
  id: string;
152
152
  fullText: string | null;
@@ -171,7 +171,7 @@ export declare function getAddressesQueryOptions(client: FetchWithValidationOpti
171
171
  data: {
172
172
  entityType: string;
173
173
  entityId: string;
174
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
174
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
175
175
  isPrimary: boolean;
176
176
  id: string;
177
177
  fullText: string | null;
@@ -197,7 +197,7 @@ export declare function getAddressesQueryOptions(client: FetchWithValidationOpti
197
197
  data: {
198
198
  entityType: string;
199
199
  entityId: string;
200
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
200
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
201
201
  isPrimary: boolean;
202
202
  id: string;
203
203
  fullText: string | null;
@@ -225,7 +225,7 @@ export declare function getAddressesQueryOptions(client: FetchWithValidationOpti
225
225
  data: {
226
226
  entityType: string;
227
227
  entityId: string;
228
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
228
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
229
229
  isPrimary: boolean;
230
230
  id: string;
231
231
  fullText: string | null;
@@ -253,7 +253,7 @@ export declare function getAddressesQueryOptions(client: FetchWithValidationOpti
253
253
  export declare function getAddressQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
254
254
  entityType: string;
255
255
  entityId: string;
256
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
256
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
257
257
  isPrimary: boolean;
258
258
  id: string;
259
259
  fullText: string | null;
@@ -273,7 +273,7 @@ export declare function getAddressQueryOptions(client: FetchWithValidationOption
273
273
  }, Error, {
274
274
  entityType: string;
275
275
  entityId: string;
276
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
276
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
277
277
  isPrimary: boolean;
278
278
  id: string;
279
279
  fullText: string | null;
@@ -294,7 +294,7 @@ export declare function getAddressQueryOptions(client: FetchWithValidationOption
294
294
  queryFn?: import("@tanstack/react-query").QueryFunction<{
295
295
  entityType: string;
296
296
  entityId: string;
297
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
297
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
298
298
  isPrimary: boolean;
299
299
  id: string;
300
300
  fullText: string | null;
@@ -317,7 +317,7 @@ export declare function getAddressQueryOptions(client: FetchWithValidationOption
317
317
  [dataTagSymbol]: {
318
318
  entityType: string;
319
319
  entityId: string;
320
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
320
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
321
321
  isPrimary: boolean;
322
322
  id: string;
323
323
  fullText: string | null;
package/dist/schemas.d.ts CHANGED
@@ -43,11 +43,11 @@ export declare const addressRecordSchema: z.ZodObject<{
43
43
  service: "service";
44
44
  primary: "primary";
45
45
  other: "other";
46
+ legal: "legal";
46
47
  billing: "billing";
47
48
  shipping: "shipping";
48
49
  mailing: "mailing";
49
50
  meeting: "meeting";
50
- legal: "legal";
51
51
  }>>;
52
52
  isPrimary: z.ZodDefault<z.ZodBoolean>;
53
53
  id: z.ZodString;
@@ -157,11 +157,11 @@ export declare const addressListResponse: z.ZodObject<{
157
157
  service: "service";
158
158
  primary: "primary";
159
159
  other: "other";
160
+ legal: "legal";
160
161
  billing: "billing";
161
162
  shipping: "shipping";
162
163
  mailing: "mailing";
163
164
  meeting: "meeting";
164
- legal: "legal";
165
165
  }>>;
166
166
  isPrimary: z.ZodDefault<z.ZodBoolean>;
167
167
  id: z.ZodString;
@@ -192,11 +192,11 @@ export declare const addressSingleResponse: z.ZodObject<{
192
192
  service: "service";
193
193
  primary: "primary";
194
194
  other: "other";
195
+ legal: "legal";
195
196
  billing: "billing";
196
197
  shipping: "shipping";
197
198
  mailing: "mailing";
198
199
  meeting: "meeting";
199
- legal: "legal";
200
200
  }>>;
201
201
  isPrimary: z.ZodDefault<z.ZodBoolean>;
202
202
  id: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/identity-react",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "react": "^19.0.0",
42
42
  "react-dom": "^19.0.0",
43
43
  "zod": "^4.0.0",
44
- "@voyantjs/identity": "0.31.1"
44
+ "@voyantjs/identity": "0.31.2"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@tanstack/react-query": "^5.96.2",
@@ -52,12 +52,12 @@
52
52
  "typescript": "^6.0.2",
53
53
  "vitest": "^4.1.2",
54
54
  "zod": "^4.3.6",
55
- "@voyantjs/identity": "0.31.1",
56
- "@voyantjs/react": "0.31.1",
55
+ "@voyantjs/identity": "0.31.2",
56
+ "@voyantjs/react": "0.31.2",
57
57
  "@voyantjs/voyant-typescript-config": "0.1.0"
58
58
  },
59
59
  "dependencies": {
60
- "@voyantjs/react": "0.31.1"
60
+ "@voyantjs/react": "0.31.2"
61
61
  },
62
62
  "files": [
63
63
  "dist"