@codeforamerica/safety-net-openapi-california 1.0.0
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/applications/client/client.gen.d.ts +2 -0
- package/dist/applications/client/client.gen.js +128 -0
- package/dist/applications/client/index.d.ts +8 -0
- package/dist/applications/client/index.js +6 -0
- package/dist/applications/client/types.gen.d.ts +88 -0
- package/dist/applications/client/types.gen.js +2 -0
- package/dist/applications/client/utils.gen.d.ts +14 -0
- package/dist/applications/client/utils.gen.js +171 -0
- package/dist/applications/client.gen.d.ts +12 -0
- package/dist/applications/client.gen.js +3 -0
- package/dist/applications/core/auth.gen.d.ts +18 -0
- package/dist/applications/core/auth.gen.js +14 -0
- package/dist/applications/core/bodySerializer.gen.d.ts +25 -0
- package/dist/applications/core/bodySerializer.gen.js +57 -0
- package/dist/applications/core/params.gen.d.ts +43 -0
- package/dist/applications/core/params.gen.js +100 -0
- package/dist/applications/core/pathSerializer.gen.d.ts +33 -0
- package/dist/applications/core/pathSerializer.gen.js +114 -0
- package/dist/applications/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/applications/core/queryKeySerializer.gen.js +99 -0
- package/dist/applications/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/applications/core/serverSentEvents.gen.js +137 -0
- package/dist/applications/core/types.gen.d.ts +78 -0
- package/dist/applications/core/types.gen.js +2 -0
- package/dist/applications/core/utils.gen.d.ts +19 -0
- package/dist/applications/core/utils.gen.js +87 -0
- package/dist/applications/index.d.ts +2 -0
- package/dist/applications/index.js +2 -0
- package/dist/applications/sdk.gen.d.ts +45 -0
- package/dist/applications/sdk.gen.js +70 -0
- package/dist/applications/types.gen.d.ts +34007 -0
- package/dist/applications/types.gen.js +2 -0
- package/dist/applications/zod.gen.d.ts +17374 -0
- package/dist/applications/zod.gen.js +16857 -0
- package/dist/households/client/client.gen.d.ts +2 -0
- package/dist/households/client/client.gen.js +128 -0
- package/dist/households/client/index.d.ts +8 -0
- package/dist/households/client/index.js +6 -0
- package/dist/households/client/types.gen.d.ts +88 -0
- package/dist/households/client/types.gen.js +2 -0
- package/dist/households/client/utils.gen.d.ts +14 -0
- package/dist/households/client/utils.gen.js +171 -0
- package/dist/households/client.gen.d.ts +12 -0
- package/dist/households/client.gen.js +3 -0
- package/dist/households/core/auth.gen.d.ts +18 -0
- package/dist/households/core/auth.gen.js +14 -0
- package/dist/households/core/bodySerializer.gen.d.ts +25 -0
- package/dist/households/core/bodySerializer.gen.js +57 -0
- package/dist/households/core/params.gen.d.ts +43 -0
- package/dist/households/core/params.gen.js +100 -0
- package/dist/households/core/pathSerializer.gen.d.ts +33 -0
- package/dist/households/core/pathSerializer.gen.js +114 -0
- package/dist/households/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/households/core/queryKeySerializer.gen.js +99 -0
- package/dist/households/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/households/core/serverSentEvents.gen.js +137 -0
- package/dist/households/core/types.gen.d.ts +78 -0
- package/dist/households/core/types.gen.js +2 -0
- package/dist/households/core/utils.gen.d.ts +19 -0
- package/dist/households/core/utils.gen.js +87 -0
- package/dist/households/index.d.ts +2 -0
- package/dist/households/index.js +2 -0
- package/dist/households/sdk.gen.d.ts +45 -0
- package/dist/households/sdk.gen.js +70 -0
- package/dist/households/types.gen.d.ts +1693 -0
- package/dist/households/types.gen.js +2 -0
- package/dist/households/zod.gen.d.ts +624 -0
- package/dist/households/zod.gen.js +625 -0
- package/dist/incomes/client/client.gen.d.ts +2 -0
- package/dist/incomes/client/client.gen.js +128 -0
- package/dist/incomes/client/index.d.ts +8 -0
- package/dist/incomes/client/index.js +6 -0
- package/dist/incomes/client/types.gen.d.ts +88 -0
- package/dist/incomes/client/types.gen.js +2 -0
- package/dist/incomes/client/utils.gen.d.ts +14 -0
- package/dist/incomes/client/utils.gen.js +171 -0
- package/dist/incomes/client.gen.d.ts +12 -0
- package/dist/incomes/client.gen.js +3 -0
- package/dist/incomes/core/auth.gen.d.ts +18 -0
- package/dist/incomes/core/auth.gen.js +14 -0
- package/dist/incomes/core/bodySerializer.gen.d.ts +25 -0
- package/dist/incomes/core/bodySerializer.gen.js +57 -0
- package/dist/incomes/core/params.gen.d.ts +43 -0
- package/dist/incomes/core/params.gen.js +100 -0
- package/dist/incomes/core/pathSerializer.gen.d.ts +33 -0
- package/dist/incomes/core/pathSerializer.gen.js +114 -0
- package/dist/incomes/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/incomes/core/queryKeySerializer.gen.js +99 -0
- package/dist/incomes/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/incomes/core/serverSentEvents.gen.js +137 -0
- package/dist/incomes/core/types.gen.d.ts +78 -0
- package/dist/incomes/core/types.gen.js +2 -0
- package/dist/incomes/core/utils.gen.d.ts +19 -0
- package/dist/incomes/core/utils.gen.js +87 -0
- package/dist/incomes/index.d.ts +2 -0
- package/dist/incomes/index.js +2 -0
- package/dist/incomes/sdk.gen.d.ts +47 -0
- package/dist/incomes/sdk.gen.js +72 -0
- package/dist/incomes/types.gen.d.ts +1425 -0
- package/dist/incomes/types.gen.js +2 -0
- package/dist/incomes/zod.gen.d.ts +961 -0
- package/dist/incomes/zod.gen.js +920 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/persons/client/client.gen.d.ts +2 -0
- package/dist/persons/client/client.gen.js +128 -0
- package/dist/persons/client/index.d.ts +8 -0
- package/dist/persons/client/index.js +6 -0
- package/dist/persons/client/types.gen.d.ts +88 -0
- package/dist/persons/client/types.gen.js +2 -0
- package/dist/persons/client/utils.gen.d.ts +14 -0
- package/dist/persons/client/utils.gen.js +171 -0
- package/dist/persons/client.gen.d.ts +12 -0
- package/dist/persons/client.gen.js +3 -0
- package/dist/persons/core/auth.gen.d.ts +18 -0
- package/dist/persons/core/auth.gen.js +14 -0
- package/dist/persons/core/bodySerializer.gen.d.ts +25 -0
- package/dist/persons/core/bodySerializer.gen.js +57 -0
- package/dist/persons/core/params.gen.d.ts +43 -0
- package/dist/persons/core/params.gen.js +100 -0
- package/dist/persons/core/pathSerializer.gen.d.ts +33 -0
- package/dist/persons/core/pathSerializer.gen.js +114 -0
- package/dist/persons/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/persons/core/queryKeySerializer.gen.js +99 -0
- package/dist/persons/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/persons/core/serverSentEvents.gen.js +137 -0
- package/dist/persons/core/types.gen.d.ts +78 -0
- package/dist/persons/core/types.gen.js +2 -0
- package/dist/persons/core/utils.gen.d.ts +19 -0
- package/dist/persons/core/utils.gen.js +87 -0
- package/dist/persons/index.d.ts +2 -0
- package/dist/persons/index.js +2 -0
- package/dist/persons/sdk.gen.d.ts +45 -0
- package/dist/persons/sdk.gen.js +70 -0
- package/dist/persons/types.gen.d.ts +7595 -0
- package/dist/persons/types.gen.js +2 -0
- package/dist/persons/zod.gen.d.ts +3578 -0
- package/dist/persons/zod.gen.js +3579 -0
- package/dist/search-helpers.d.ts +242 -0
- package/dist/search-helpers.js +244 -0
- package/package.json +95 -0
- package/src/applications/client/client.gen.ts +166 -0
- package/src/applications/client/index.ts +23 -0
- package/src/applications/client/types.gen.ts +197 -0
- package/src/applications/client/utils.gen.ts +213 -0
- package/src/applications/client.gen.ts +16 -0
- package/src/applications/core/auth.gen.ts +42 -0
- package/src/applications/core/bodySerializer.gen.ts +100 -0
- package/src/applications/core/params.gen.ts +176 -0
- package/src/applications/core/pathSerializer.gen.ts +181 -0
- package/src/applications/core/queryKeySerializer.gen.ts +136 -0
- package/src/applications/core/serverSentEvents.gen.ts +266 -0
- package/src/applications/core/types.gen.ts +118 -0
- package/src/applications/core/utils.gen.ts +143 -0
- package/src/applications/index.ts +4 -0
- package/src/applications/sdk.gen.ts +92 -0
- package/src/applications/types.gen.ts +34043 -0
- package/src/applications/zod.gen.ts +16877 -0
- package/src/households/client/client.gen.ts +166 -0
- package/src/households/client/index.ts +23 -0
- package/src/households/client/types.gen.ts +197 -0
- package/src/households/client/utils.gen.ts +213 -0
- package/src/households/client.gen.ts +16 -0
- package/src/households/core/auth.gen.ts +42 -0
- package/src/households/core/bodySerializer.gen.ts +100 -0
- package/src/households/core/params.gen.ts +176 -0
- package/src/households/core/pathSerializer.gen.ts +181 -0
- package/src/households/core/queryKeySerializer.gen.ts +136 -0
- package/src/households/core/serverSentEvents.gen.ts +266 -0
- package/src/households/core/types.gen.ts +118 -0
- package/src/households/core/utils.gen.ts +143 -0
- package/src/households/index.ts +4 -0
- package/src/households/sdk.gen.ts +92 -0
- package/src/households/types.gen.ts +1729 -0
- package/src/households/zod.gen.ts +645 -0
- package/src/incomes/client/client.gen.ts +166 -0
- package/src/incomes/client/index.ts +23 -0
- package/src/incomes/client/types.gen.ts +197 -0
- package/src/incomes/client/utils.gen.ts +213 -0
- package/src/incomes/client.gen.ts +16 -0
- package/src/incomes/core/auth.gen.ts +42 -0
- package/src/incomes/core/bodySerializer.gen.ts +100 -0
- package/src/incomes/core/params.gen.ts +176 -0
- package/src/incomes/core/pathSerializer.gen.ts +181 -0
- package/src/incomes/core/queryKeySerializer.gen.ts +136 -0
- package/src/incomes/core/serverSentEvents.gen.ts +266 -0
- package/src/incomes/core/types.gen.ts +118 -0
- package/src/incomes/core/utils.gen.ts +143 -0
- package/src/incomes/index.ts +4 -0
- package/src/incomes/sdk.gen.ts +94 -0
- package/src/incomes/types.gen.ts +1460 -0
- package/src/incomes/zod.gen.ts +939 -0
- package/src/index.ts +5 -0
- package/src/persons/client/client.gen.ts +166 -0
- package/src/persons/client/index.ts +23 -0
- package/src/persons/client/types.gen.ts +197 -0
- package/src/persons/client/utils.gen.ts +213 -0
- package/src/persons/client.gen.ts +16 -0
- package/src/persons/core/auth.gen.ts +42 -0
- package/src/persons/core/bodySerializer.gen.ts +100 -0
- package/src/persons/core/params.gen.ts +176 -0
- package/src/persons/core/pathSerializer.gen.ts +181 -0
- package/src/persons/core/queryKeySerializer.gen.ts +136 -0
- package/src/persons/core/serverSentEvents.gen.ts +266 -0
- package/src/persons/core/types.gen.ts +118 -0
- package/src/persons/core/utils.gen.ts +143 -0
- package/src/persons/index.ts +4 -0
- package/src/persons/sdk.gen.ts +92 -0
- package/src/persons/types.gen.ts +7631 -0
- package/src/persons/zod.gen.ts +3599 -0
- package/src/search-helpers.ts +264 -0
|
@@ -0,0 +1,1729 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseURL: 'https://api.example.com' | 'http://localhost:8080' | (string & {});
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Represents a household unit with multiple members.
|
|
9
|
+
*/
|
|
10
|
+
export type Household = {
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the household.
|
|
13
|
+
*/
|
|
14
|
+
readonly id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Home address of the household.
|
|
17
|
+
*/
|
|
18
|
+
homeAddress: {
|
|
19
|
+
/**
|
|
20
|
+
* Primary street address line.
|
|
21
|
+
*/
|
|
22
|
+
addressLine1: string;
|
|
23
|
+
/**
|
|
24
|
+
* Secondary address line such as apartment or unit.
|
|
25
|
+
*/
|
|
26
|
+
addressLine2?: string;
|
|
27
|
+
/**
|
|
28
|
+
* City or locality of residence.
|
|
29
|
+
*/
|
|
30
|
+
city: string;
|
|
31
|
+
/**
|
|
32
|
+
* State, province, or region of residence.
|
|
33
|
+
*/
|
|
34
|
+
stateProvince: string;
|
|
35
|
+
/**
|
|
36
|
+
* Postal or ZIP code.
|
|
37
|
+
*/
|
|
38
|
+
postalCode: string;
|
|
39
|
+
/**
|
|
40
|
+
* County or equivalent administrative region.
|
|
41
|
+
*/
|
|
42
|
+
county?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Mailing address if different from home address.
|
|
46
|
+
*/
|
|
47
|
+
mailingAddress?: {
|
|
48
|
+
/**
|
|
49
|
+
* Primary street address line.
|
|
50
|
+
*/
|
|
51
|
+
addressLine1: string;
|
|
52
|
+
/**
|
|
53
|
+
* Secondary address line such as apartment or unit.
|
|
54
|
+
*/
|
|
55
|
+
addressLine2?: string;
|
|
56
|
+
/**
|
|
57
|
+
* City or locality of residence.
|
|
58
|
+
*/
|
|
59
|
+
city: string;
|
|
60
|
+
/**
|
|
61
|
+
* State, province, or region of residence.
|
|
62
|
+
*/
|
|
63
|
+
stateProvince: string;
|
|
64
|
+
/**
|
|
65
|
+
* Postal or ZIP code.
|
|
66
|
+
*/
|
|
67
|
+
postalCode: string;
|
|
68
|
+
/**
|
|
69
|
+
* County or equivalent administrative region.
|
|
70
|
+
*/
|
|
71
|
+
county?: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Primary phone number for the household.
|
|
75
|
+
*/
|
|
76
|
+
phoneNumber?: string;
|
|
77
|
+
/**
|
|
78
|
+
* List of household members with their relationship to the head of household.
|
|
79
|
+
*/
|
|
80
|
+
members: Array<{
|
|
81
|
+
/**
|
|
82
|
+
* Reference to the person's unique identifier.
|
|
83
|
+
*/
|
|
84
|
+
personId: string;
|
|
85
|
+
/**
|
|
86
|
+
* Relationship to the head of household.
|
|
87
|
+
*/
|
|
88
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* Timestamp when the household record was created.
|
|
92
|
+
*/
|
|
93
|
+
readonly createdAt: string;
|
|
94
|
+
/**
|
|
95
|
+
* Timestamp when the household record was last updated.
|
|
96
|
+
*/
|
|
97
|
+
readonly updatedAt: string;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Represents a household unit with multiple members.
|
|
102
|
+
*/
|
|
103
|
+
export type HouseholdCreate = {
|
|
104
|
+
/**
|
|
105
|
+
* Unique identifier for the household.
|
|
106
|
+
*/
|
|
107
|
+
readonly id: string;
|
|
108
|
+
/**
|
|
109
|
+
* Home address of the household.
|
|
110
|
+
*/
|
|
111
|
+
homeAddress: {
|
|
112
|
+
/**
|
|
113
|
+
* Primary street address line.
|
|
114
|
+
*/
|
|
115
|
+
addressLine1: string;
|
|
116
|
+
/**
|
|
117
|
+
* Secondary address line such as apartment or unit.
|
|
118
|
+
*/
|
|
119
|
+
addressLine2?: string;
|
|
120
|
+
/**
|
|
121
|
+
* City or locality of residence.
|
|
122
|
+
*/
|
|
123
|
+
city: string;
|
|
124
|
+
/**
|
|
125
|
+
* State, province, or region of residence.
|
|
126
|
+
*/
|
|
127
|
+
stateProvince: string;
|
|
128
|
+
/**
|
|
129
|
+
* Postal or ZIP code.
|
|
130
|
+
*/
|
|
131
|
+
postalCode: string;
|
|
132
|
+
/**
|
|
133
|
+
* County or equivalent administrative region.
|
|
134
|
+
*/
|
|
135
|
+
county?: string;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Mailing address if different from home address.
|
|
139
|
+
*/
|
|
140
|
+
mailingAddress?: {
|
|
141
|
+
/**
|
|
142
|
+
* Primary street address line.
|
|
143
|
+
*/
|
|
144
|
+
addressLine1: string;
|
|
145
|
+
/**
|
|
146
|
+
* Secondary address line such as apartment or unit.
|
|
147
|
+
*/
|
|
148
|
+
addressLine2?: string;
|
|
149
|
+
/**
|
|
150
|
+
* City or locality of residence.
|
|
151
|
+
*/
|
|
152
|
+
city: string;
|
|
153
|
+
/**
|
|
154
|
+
* State, province, or region of residence.
|
|
155
|
+
*/
|
|
156
|
+
stateProvince: string;
|
|
157
|
+
/**
|
|
158
|
+
* Postal or ZIP code.
|
|
159
|
+
*/
|
|
160
|
+
postalCode: string;
|
|
161
|
+
/**
|
|
162
|
+
* County or equivalent administrative region.
|
|
163
|
+
*/
|
|
164
|
+
county?: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Primary phone number for the household.
|
|
168
|
+
*/
|
|
169
|
+
phoneNumber?: string;
|
|
170
|
+
/**
|
|
171
|
+
* List of household members with their relationship to the head of household.
|
|
172
|
+
*/
|
|
173
|
+
members: Array<{
|
|
174
|
+
/**
|
|
175
|
+
* Reference to the person's unique identifier.
|
|
176
|
+
*/
|
|
177
|
+
personId: string;
|
|
178
|
+
/**
|
|
179
|
+
* Relationship to the head of household.
|
|
180
|
+
*/
|
|
181
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Timestamp when the household record was created.
|
|
185
|
+
*/
|
|
186
|
+
readonly createdAt: string;
|
|
187
|
+
/**
|
|
188
|
+
* Timestamp when the household record was last updated.
|
|
189
|
+
*/
|
|
190
|
+
readonly updatedAt: string;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Represents a household unit with multiple members.
|
|
195
|
+
*/
|
|
196
|
+
export type HouseholdUpdate = {
|
|
197
|
+
/**
|
|
198
|
+
* Unique identifier for the household.
|
|
199
|
+
*/
|
|
200
|
+
readonly id: string;
|
|
201
|
+
/**
|
|
202
|
+
* Home address of the household.
|
|
203
|
+
*/
|
|
204
|
+
homeAddress: {
|
|
205
|
+
/**
|
|
206
|
+
* Primary street address line.
|
|
207
|
+
*/
|
|
208
|
+
addressLine1: string;
|
|
209
|
+
/**
|
|
210
|
+
* Secondary address line such as apartment or unit.
|
|
211
|
+
*/
|
|
212
|
+
addressLine2?: string;
|
|
213
|
+
/**
|
|
214
|
+
* City or locality of residence.
|
|
215
|
+
*/
|
|
216
|
+
city: string;
|
|
217
|
+
/**
|
|
218
|
+
* State, province, or region of residence.
|
|
219
|
+
*/
|
|
220
|
+
stateProvince: string;
|
|
221
|
+
/**
|
|
222
|
+
* Postal or ZIP code.
|
|
223
|
+
*/
|
|
224
|
+
postalCode: string;
|
|
225
|
+
/**
|
|
226
|
+
* County or equivalent administrative region.
|
|
227
|
+
*/
|
|
228
|
+
county?: string;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Mailing address if different from home address.
|
|
232
|
+
*/
|
|
233
|
+
mailingAddress?: {
|
|
234
|
+
/**
|
|
235
|
+
* Primary street address line.
|
|
236
|
+
*/
|
|
237
|
+
addressLine1: string;
|
|
238
|
+
/**
|
|
239
|
+
* Secondary address line such as apartment or unit.
|
|
240
|
+
*/
|
|
241
|
+
addressLine2?: string;
|
|
242
|
+
/**
|
|
243
|
+
* City or locality of residence.
|
|
244
|
+
*/
|
|
245
|
+
city: string;
|
|
246
|
+
/**
|
|
247
|
+
* State, province, or region of residence.
|
|
248
|
+
*/
|
|
249
|
+
stateProvince: string;
|
|
250
|
+
/**
|
|
251
|
+
* Postal or ZIP code.
|
|
252
|
+
*/
|
|
253
|
+
postalCode: string;
|
|
254
|
+
/**
|
|
255
|
+
* County or equivalent administrative region.
|
|
256
|
+
*/
|
|
257
|
+
county?: string;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Primary phone number for the household.
|
|
261
|
+
*/
|
|
262
|
+
phoneNumber?: string;
|
|
263
|
+
/**
|
|
264
|
+
* List of household members with their relationship to the head of household.
|
|
265
|
+
*/
|
|
266
|
+
members: Array<{
|
|
267
|
+
/**
|
|
268
|
+
* Reference to the person's unique identifier.
|
|
269
|
+
*/
|
|
270
|
+
personId: string;
|
|
271
|
+
/**
|
|
272
|
+
* Relationship to the head of household.
|
|
273
|
+
*/
|
|
274
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
275
|
+
}>;
|
|
276
|
+
/**
|
|
277
|
+
* Timestamp when the household record was created.
|
|
278
|
+
*/
|
|
279
|
+
readonly createdAt: string;
|
|
280
|
+
/**
|
|
281
|
+
* Timestamp when the household record was last updated.
|
|
282
|
+
*/
|
|
283
|
+
readonly updatedAt: string;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type HouseholdList = {
|
|
287
|
+
items: Array<{
|
|
288
|
+
/**
|
|
289
|
+
* Unique identifier for the household.
|
|
290
|
+
*/
|
|
291
|
+
readonly id: string;
|
|
292
|
+
/**
|
|
293
|
+
* Home address of the household.
|
|
294
|
+
*/
|
|
295
|
+
homeAddress: {
|
|
296
|
+
/**
|
|
297
|
+
* Primary street address line.
|
|
298
|
+
*/
|
|
299
|
+
addressLine1: string;
|
|
300
|
+
/**
|
|
301
|
+
* Secondary address line such as apartment or unit.
|
|
302
|
+
*/
|
|
303
|
+
addressLine2?: string;
|
|
304
|
+
/**
|
|
305
|
+
* City or locality of residence.
|
|
306
|
+
*/
|
|
307
|
+
city: string;
|
|
308
|
+
/**
|
|
309
|
+
* State, province, or region of residence.
|
|
310
|
+
*/
|
|
311
|
+
stateProvince: string;
|
|
312
|
+
/**
|
|
313
|
+
* Postal or ZIP code.
|
|
314
|
+
*/
|
|
315
|
+
postalCode: string;
|
|
316
|
+
/**
|
|
317
|
+
* County or equivalent administrative region.
|
|
318
|
+
*/
|
|
319
|
+
county?: string;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Mailing address if different from home address.
|
|
323
|
+
*/
|
|
324
|
+
mailingAddress?: {
|
|
325
|
+
/**
|
|
326
|
+
* Primary street address line.
|
|
327
|
+
*/
|
|
328
|
+
addressLine1: string;
|
|
329
|
+
/**
|
|
330
|
+
* Secondary address line such as apartment or unit.
|
|
331
|
+
*/
|
|
332
|
+
addressLine2?: string;
|
|
333
|
+
/**
|
|
334
|
+
* City or locality of residence.
|
|
335
|
+
*/
|
|
336
|
+
city: string;
|
|
337
|
+
/**
|
|
338
|
+
* State, province, or region of residence.
|
|
339
|
+
*/
|
|
340
|
+
stateProvince: string;
|
|
341
|
+
/**
|
|
342
|
+
* Postal or ZIP code.
|
|
343
|
+
*/
|
|
344
|
+
postalCode: string;
|
|
345
|
+
/**
|
|
346
|
+
* County or equivalent administrative region.
|
|
347
|
+
*/
|
|
348
|
+
county?: string;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Primary phone number for the household.
|
|
352
|
+
*/
|
|
353
|
+
phoneNumber?: string;
|
|
354
|
+
/**
|
|
355
|
+
* List of household members with their relationship to the head of household.
|
|
356
|
+
*/
|
|
357
|
+
members: Array<{
|
|
358
|
+
/**
|
|
359
|
+
* Reference to the person's unique identifier.
|
|
360
|
+
*/
|
|
361
|
+
personId: string;
|
|
362
|
+
/**
|
|
363
|
+
* Relationship to the head of household.
|
|
364
|
+
*/
|
|
365
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
366
|
+
}>;
|
|
367
|
+
/**
|
|
368
|
+
* Timestamp when the household record was created.
|
|
369
|
+
*/
|
|
370
|
+
readonly createdAt: string;
|
|
371
|
+
/**
|
|
372
|
+
* Timestamp when the household record was last updated.
|
|
373
|
+
*/
|
|
374
|
+
readonly updatedAt: string;
|
|
375
|
+
}>;
|
|
376
|
+
/**
|
|
377
|
+
* Total number of households available.
|
|
378
|
+
*/
|
|
379
|
+
total: number;
|
|
380
|
+
/**
|
|
381
|
+
* Maximum number of households requested.
|
|
382
|
+
*/
|
|
383
|
+
limit: number;
|
|
384
|
+
/**
|
|
385
|
+
* Number of items skipped before the current page.
|
|
386
|
+
*/
|
|
387
|
+
offset: number;
|
|
388
|
+
/**
|
|
389
|
+
* Indicates whether more households are available beyond the current page.
|
|
390
|
+
*/
|
|
391
|
+
hasNext?: boolean;
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Represents a household unit with multiple members.
|
|
396
|
+
*/
|
|
397
|
+
export type HouseholdWritable = {
|
|
398
|
+
/**
|
|
399
|
+
* Home address of the household.
|
|
400
|
+
*/
|
|
401
|
+
homeAddress: {
|
|
402
|
+
/**
|
|
403
|
+
* Primary street address line.
|
|
404
|
+
*/
|
|
405
|
+
addressLine1: string;
|
|
406
|
+
/**
|
|
407
|
+
* Secondary address line such as apartment or unit.
|
|
408
|
+
*/
|
|
409
|
+
addressLine2?: string;
|
|
410
|
+
/**
|
|
411
|
+
* City or locality of residence.
|
|
412
|
+
*/
|
|
413
|
+
city: string;
|
|
414
|
+
/**
|
|
415
|
+
* State, province, or region of residence.
|
|
416
|
+
*/
|
|
417
|
+
stateProvince: string;
|
|
418
|
+
/**
|
|
419
|
+
* Postal or ZIP code.
|
|
420
|
+
*/
|
|
421
|
+
postalCode: string;
|
|
422
|
+
/**
|
|
423
|
+
* County or equivalent administrative region.
|
|
424
|
+
*/
|
|
425
|
+
county?: string;
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* Mailing address if different from home address.
|
|
429
|
+
*/
|
|
430
|
+
mailingAddress?: {
|
|
431
|
+
/**
|
|
432
|
+
* Primary street address line.
|
|
433
|
+
*/
|
|
434
|
+
addressLine1: string;
|
|
435
|
+
/**
|
|
436
|
+
* Secondary address line such as apartment or unit.
|
|
437
|
+
*/
|
|
438
|
+
addressLine2?: string;
|
|
439
|
+
/**
|
|
440
|
+
* City or locality of residence.
|
|
441
|
+
*/
|
|
442
|
+
city: string;
|
|
443
|
+
/**
|
|
444
|
+
* State, province, or region of residence.
|
|
445
|
+
*/
|
|
446
|
+
stateProvince: string;
|
|
447
|
+
/**
|
|
448
|
+
* Postal or ZIP code.
|
|
449
|
+
*/
|
|
450
|
+
postalCode: string;
|
|
451
|
+
/**
|
|
452
|
+
* County or equivalent administrative region.
|
|
453
|
+
*/
|
|
454
|
+
county?: string;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* Primary phone number for the household.
|
|
458
|
+
*/
|
|
459
|
+
phoneNumber?: string;
|
|
460
|
+
/**
|
|
461
|
+
* List of household members with their relationship to the head of household.
|
|
462
|
+
*/
|
|
463
|
+
members: Array<{
|
|
464
|
+
/**
|
|
465
|
+
* Reference to the person's unique identifier.
|
|
466
|
+
*/
|
|
467
|
+
personId: string;
|
|
468
|
+
/**
|
|
469
|
+
* Relationship to the head of household.
|
|
470
|
+
*/
|
|
471
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
472
|
+
}>;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Represents a household unit with multiple members.
|
|
477
|
+
*/
|
|
478
|
+
export type HouseholdCreateWritable = {
|
|
479
|
+
/**
|
|
480
|
+
* Home address of the household.
|
|
481
|
+
*/
|
|
482
|
+
homeAddress: {
|
|
483
|
+
/**
|
|
484
|
+
* Primary street address line.
|
|
485
|
+
*/
|
|
486
|
+
addressLine1: string;
|
|
487
|
+
/**
|
|
488
|
+
* Secondary address line such as apartment or unit.
|
|
489
|
+
*/
|
|
490
|
+
addressLine2?: string;
|
|
491
|
+
/**
|
|
492
|
+
* City or locality of residence.
|
|
493
|
+
*/
|
|
494
|
+
city: string;
|
|
495
|
+
/**
|
|
496
|
+
* State, province, or region of residence.
|
|
497
|
+
*/
|
|
498
|
+
stateProvince: string;
|
|
499
|
+
/**
|
|
500
|
+
* Postal or ZIP code.
|
|
501
|
+
*/
|
|
502
|
+
postalCode: string;
|
|
503
|
+
/**
|
|
504
|
+
* County or equivalent administrative region.
|
|
505
|
+
*/
|
|
506
|
+
county?: string;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Mailing address if different from home address.
|
|
510
|
+
*/
|
|
511
|
+
mailingAddress?: {
|
|
512
|
+
/**
|
|
513
|
+
* Primary street address line.
|
|
514
|
+
*/
|
|
515
|
+
addressLine1: string;
|
|
516
|
+
/**
|
|
517
|
+
* Secondary address line such as apartment or unit.
|
|
518
|
+
*/
|
|
519
|
+
addressLine2?: string;
|
|
520
|
+
/**
|
|
521
|
+
* City or locality of residence.
|
|
522
|
+
*/
|
|
523
|
+
city: string;
|
|
524
|
+
/**
|
|
525
|
+
* State, province, or region of residence.
|
|
526
|
+
*/
|
|
527
|
+
stateProvince: string;
|
|
528
|
+
/**
|
|
529
|
+
* Postal or ZIP code.
|
|
530
|
+
*/
|
|
531
|
+
postalCode: string;
|
|
532
|
+
/**
|
|
533
|
+
* County or equivalent administrative region.
|
|
534
|
+
*/
|
|
535
|
+
county?: string;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Primary phone number for the household.
|
|
539
|
+
*/
|
|
540
|
+
phoneNumber?: string;
|
|
541
|
+
/**
|
|
542
|
+
* List of household members with their relationship to the head of household.
|
|
543
|
+
*/
|
|
544
|
+
members: Array<{
|
|
545
|
+
/**
|
|
546
|
+
* Reference to the person's unique identifier.
|
|
547
|
+
*/
|
|
548
|
+
personId: string;
|
|
549
|
+
/**
|
|
550
|
+
* Relationship to the head of household.
|
|
551
|
+
*/
|
|
552
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
553
|
+
}>;
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Represents a household unit with multiple members.
|
|
558
|
+
*/
|
|
559
|
+
export type HouseholdUpdateWritable = {
|
|
560
|
+
/**
|
|
561
|
+
* Home address of the household.
|
|
562
|
+
*/
|
|
563
|
+
homeAddress: {
|
|
564
|
+
/**
|
|
565
|
+
* Primary street address line.
|
|
566
|
+
*/
|
|
567
|
+
addressLine1: string;
|
|
568
|
+
/**
|
|
569
|
+
* Secondary address line such as apartment or unit.
|
|
570
|
+
*/
|
|
571
|
+
addressLine2?: string;
|
|
572
|
+
/**
|
|
573
|
+
* City or locality of residence.
|
|
574
|
+
*/
|
|
575
|
+
city: string;
|
|
576
|
+
/**
|
|
577
|
+
* State, province, or region of residence.
|
|
578
|
+
*/
|
|
579
|
+
stateProvince: string;
|
|
580
|
+
/**
|
|
581
|
+
* Postal or ZIP code.
|
|
582
|
+
*/
|
|
583
|
+
postalCode: string;
|
|
584
|
+
/**
|
|
585
|
+
* County or equivalent administrative region.
|
|
586
|
+
*/
|
|
587
|
+
county?: string;
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* Mailing address if different from home address.
|
|
591
|
+
*/
|
|
592
|
+
mailingAddress?: {
|
|
593
|
+
/**
|
|
594
|
+
* Primary street address line.
|
|
595
|
+
*/
|
|
596
|
+
addressLine1: string;
|
|
597
|
+
/**
|
|
598
|
+
* Secondary address line such as apartment or unit.
|
|
599
|
+
*/
|
|
600
|
+
addressLine2?: string;
|
|
601
|
+
/**
|
|
602
|
+
* City or locality of residence.
|
|
603
|
+
*/
|
|
604
|
+
city: string;
|
|
605
|
+
/**
|
|
606
|
+
* State, province, or region of residence.
|
|
607
|
+
*/
|
|
608
|
+
stateProvince: string;
|
|
609
|
+
/**
|
|
610
|
+
* Postal or ZIP code.
|
|
611
|
+
*/
|
|
612
|
+
postalCode: string;
|
|
613
|
+
/**
|
|
614
|
+
* County or equivalent administrative region.
|
|
615
|
+
*/
|
|
616
|
+
county?: string;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Primary phone number for the household.
|
|
620
|
+
*/
|
|
621
|
+
phoneNumber?: string;
|
|
622
|
+
/**
|
|
623
|
+
* List of household members with their relationship to the head of household.
|
|
624
|
+
*/
|
|
625
|
+
members: Array<{
|
|
626
|
+
/**
|
|
627
|
+
* Reference to the person's unique identifier.
|
|
628
|
+
*/
|
|
629
|
+
personId: string;
|
|
630
|
+
/**
|
|
631
|
+
* Relationship to the head of household.
|
|
632
|
+
*/
|
|
633
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
634
|
+
}>;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
export type HouseholdListWritable = {
|
|
638
|
+
items: Array<{
|
|
639
|
+
/**
|
|
640
|
+
* Home address of the household.
|
|
641
|
+
*/
|
|
642
|
+
homeAddress: {
|
|
643
|
+
/**
|
|
644
|
+
* Primary street address line.
|
|
645
|
+
*/
|
|
646
|
+
addressLine1: string;
|
|
647
|
+
/**
|
|
648
|
+
* Secondary address line such as apartment or unit.
|
|
649
|
+
*/
|
|
650
|
+
addressLine2?: string;
|
|
651
|
+
/**
|
|
652
|
+
* City or locality of residence.
|
|
653
|
+
*/
|
|
654
|
+
city: string;
|
|
655
|
+
/**
|
|
656
|
+
* State, province, or region of residence.
|
|
657
|
+
*/
|
|
658
|
+
stateProvince: string;
|
|
659
|
+
/**
|
|
660
|
+
* Postal or ZIP code.
|
|
661
|
+
*/
|
|
662
|
+
postalCode: string;
|
|
663
|
+
/**
|
|
664
|
+
* County or equivalent administrative region.
|
|
665
|
+
*/
|
|
666
|
+
county?: string;
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* Mailing address if different from home address.
|
|
670
|
+
*/
|
|
671
|
+
mailingAddress?: {
|
|
672
|
+
/**
|
|
673
|
+
* Primary street address line.
|
|
674
|
+
*/
|
|
675
|
+
addressLine1: string;
|
|
676
|
+
/**
|
|
677
|
+
* Secondary address line such as apartment or unit.
|
|
678
|
+
*/
|
|
679
|
+
addressLine2?: string;
|
|
680
|
+
/**
|
|
681
|
+
* City or locality of residence.
|
|
682
|
+
*/
|
|
683
|
+
city: string;
|
|
684
|
+
/**
|
|
685
|
+
* State, province, or region of residence.
|
|
686
|
+
*/
|
|
687
|
+
stateProvince: string;
|
|
688
|
+
/**
|
|
689
|
+
* Postal or ZIP code.
|
|
690
|
+
*/
|
|
691
|
+
postalCode: string;
|
|
692
|
+
/**
|
|
693
|
+
* County or equivalent administrative region.
|
|
694
|
+
*/
|
|
695
|
+
county?: string;
|
|
696
|
+
};
|
|
697
|
+
/**
|
|
698
|
+
* Primary phone number for the household.
|
|
699
|
+
*/
|
|
700
|
+
phoneNumber?: string;
|
|
701
|
+
/**
|
|
702
|
+
* List of household members with their relationship to the head of household.
|
|
703
|
+
*/
|
|
704
|
+
members: Array<{
|
|
705
|
+
/**
|
|
706
|
+
* Reference to the person's unique identifier.
|
|
707
|
+
*/
|
|
708
|
+
personId: string;
|
|
709
|
+
/**
|
|
710
|
+
* Relationship to the head of household.
|
|
711
|
+
*/
|
|
712
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
713
|
+
}>;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* Total number of households available.
|
|
717
|
+
*/
|
|
718
|
+
total: number;
|
|
719
|
+
/**
|
|
720
|
+
* Maximum number of households requested.
|
|
721
|
+
*/
|
|
722
|
+
limit: number;
|
|
723
|
+
/**
|
|
724
|
+
* Number of items skipped before the current page.
|
|
725
|
+
*/
|
|
726
|
+
offset: number;
|
|
727
|
+
/**
|
|
728
|
+
* Indicates whether more households are available beyond the current page.
|
|
729
|
+
*/
|
|
730
|
+
hasNext?: boolean;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Unique identifier of the household.
|
|
735
|
+
*/
|
|
736
|
+
export type HouseholdIdParam = string;
|
|
737
|
+
|
|
738
|
+
export type ListHouseholdsData = {
|
|
739
|
+
body?: never;
|
|
740
|
+
path?: never;
|
|
741
|
+
query?: {
|
|
742
|
+
/**
|
|
743
|
+
* Search query using field:value syntax. Multiple conditions separated by
|
|
744
|
+
* spaces are ANDed together.
|
|
745
|
+
*
|
|
746
|
+
* **URL Encoding:** This parameter must be URL-encoded when sent over HTTP.
|
|
747
|
+
* Most HTTP clients handle this automatically. Examples in this documentation
|
|
748
|
+
* show human-readable syntax for clarity.
|
|
749
|
+
*
|
|
750
|
+
* ## Syntax
|
|
751
|
+
*
|
|
752
|
+
* | Pattern | Description | Example |
|
|
753
|
+
* |---------|-------------|---------|
|
|
754
|
+
* | `term` | Full-text exact match | `john` |
|
|
755
|
+
* | `*term*` | Full-text contains | `*john*` |
|
|
756
|
+
* | `term*` | Full-text starts with | `john*` |
|
|
757
|
+
* | `*term` | Full-text ends with | `*smith` |
|
|
758
|
+
* | `field:value` | Exact match on field | `status:approved` |
|
|
759
|
+
* | `field:*value*` | Contains (case-insensitive) | `name:*john*` |
|
|
760
|
+
* | `field:value*` | Starts with | `name:john*` |
|
|
761
|
+
* | `field:*value` | Ends with | `email:*@example.com` |
|
|
762
|
+
* | `field:"value"` | Quoted value (for spaces) | `name:"john doe"` |
|
|
763
|
+
* | `field.nested:value` | Nested field (dot notation) | `address.state:CA` |
|
|
764
|
+
* | `field:>value` | Greater than | `income:>1000` |
|
|
765
|
+
* | `field:>=value` | Greater than or equal | `income:>=1000` |
|
|
766
|
+
* | `field:<value` | Less than | `income:<5000` |
|
|
767
|
+
* | `field:<=value` | Less than or equal | `income:<=5000` |
|
|
768
|
+
* | `field:val1,val2` | Match any value (OR) | `status:approved,pending` |
|
|
769
|
+
* | `-field:value` | Exclude / negate | `-status:denied` |
|
|
770
|
+
* | `field:*` | Field exists (not null) | `email:*` |
|
|
771
|
+
* | `-field:*` | Field does not exist | `-deletedAt:*` |
|
|
772
|
+
*
|
|
773
|
+
* ## Examples
|
|
774
|
+
*
|
|
775
|
+
* - `john` — exact match for "john" in searchable fields
|
|
776
|
+
* - `*john*` — contains "john" in searchable fields
|
|
777
|
+
* - `name:*smith*` — name contains "smith" (case-insensitive)
|
|
778
|
+
* - `email:*@example.com` — email ends with "@example.com"
|
|
779
|
+
* - `status:approved` — exact match on status field
|
|
780
|
+
* - `status:approved,pending` — status is "approved" OR "pending"
|
|
781
|
+
* - `income:>=1000` — income greater than or equal to 1000
|
|
782
|
+
* - `created:>2024-01-01` — created after January 1, 2024
|
|
783
|
+
* - `status:approved income:>=1000` — approved AND income >= 1000 (multiple conditions)
|
|
784
|
+
* - `-status:denied` — exclude records with status "denied"
|
|
785
|
+
* - `-deletedAt:*` — only records where deletedAt does not exist
|
|
786
|
+
* - `applicant.state:CA` — nested field filter
|
|
787
|
+
*
|
|
788
|
+
* ## URL Encoding Reference
|
|
789
|
+
*
|
|
790
|
+
* When manually constructing URLs, encode these characters:
|
|
791
|
+
*
|
|
792
|
+
* | Character | Encoded |
|
|
793
|
+
* |-----------|---------|
|
|
794
|
+
* | (space) | `%20` or `+` |
|
|
795
|
+
* | `"` | `%22` |
|
|
796
|
+
* | `:` | `%3A` |
|
|
797
|
+
* | `>` | `%3E` |
|
|
798
|
+
* | `<` | `%3C` |
|
|
799
|
+
* | `,` | `%2C` |
|
|
800
|
+
*
|
|
801
|
+
* **Example:**
|
|
802
|
+
* ```
|
|
803
|
+
* Human-readable: q=status:approved income:>=1000
|
|
804
|
+
* URL-encoded: q=status%3Aapproved%20income%3A%3E%3D1000
|
|
805
|
+
* ```
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
q?: string;
|
|
809
|
+
/**
|
|
810
|
+
* Maximum number of items to return (1-100).
|
|
811
|
+
*/
|
|
812
|
+
limit?: number;
|
|
813
|
+
/**
|
|
814
|
+
* Number of items to skip before collecting results.
|
|
815
|
+
*/
|
|
816
|
+
offset?: number;
|
|
817
|
+
};
|
|
818
|
+
url: '/households';
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
export type ListHouseholdsErrors = {
|
|
822
|
+
/**
|
|
823
|
+
* The request is malformed or contains invalid parameters.
|
|
824
|
+
*/
|
|
825
|
+
400: {
|
|
826
|
+
/**
|
|
827
|
+
* Machine-readable error code.
|
|
828
|
+
*/
|
|
829
|
+
code: string;
|
|
830
|
+
/**
|
|
831
|
+
* Human-readable error description.
|
|
832
|
+
*/
|
|
833
|
+
message: string;
|
|
834
|
+
/**
|
|
835
|
+
* Additional error details.
|
|
836
|
+
*/
|
|
837
|
+
details?: Array<{
|
|
838
|
+
[key: string]: unknown;
|
|
839
|
+
}>;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* An unexpected error occurred on the server.
|
|
843
|
+
*/
|
|
844
|
+
500: {
|
|
845
|
+
/**
|
|
846
|
+
* Machine-readable error code.
|
|
847
|
+
*/
|
|
848
|
+
code: string;
|
|
849
|
+
/**
|
|
850
|
+
* Human-readable error description.
|
|
851
|
+
*/
|
|
852
|
+
message: string;
|
|
853
|
+
/**
|
|
854
|
+
* Additional error details.
|
|
855
|
+
*/
|
|
856
|
+
details?: Array<{
|
|
857
|
+
[key: string]: unknown;
|
|
858
|
+
}>;
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
export type ListHouseholdsError = ListHouseholdsErrors[keyof ListHouseholdsErrors];
|
|
863
|
+
|
|
864
|
+
export type ListHouseholdsResponses = {
|
|
865
|
+
/**
|
|
866
|
+
* A paginated collection of households.
|
|
867
|
+
*/
|
|
868
|
+
200: {
|
|
869
|
+
items: Array<{
|
|
870
|
+
/**
|
|
871
|
+
* Unique identifier for the household.
|
|
872
|
+
*/
|
|
873
|
+
readonly id: string;
|
|
874
|
+
/**
|
|
875
|
+
* Home address of the household.
|
|
876
|
+
*/
|
|
877
|
+
homeAddress: {
|
|
878
|
+
/**
|
|
879
|
+
* Primary street address line.
|
|
880
|
+
*/
|
|
881
|
+
addressLine1: string;
|
|
882
|
+
/**
|
|
883
|
+
* Secondary address line such as apartment or unit.
|
|
884
|
+
*/
|
|
885
|
+
addressLine2?: string;
|
|
886
|
+
/**
|
|
887
|
+
* City or locality of residence.
|
|
888
|
+
*/
|
|
889
|
+
city: string;
|
|
890
|
+
/**
|
|
891
|
+
* State, province, or region of residence.
|
|
892
|
+
*/
|
|
893
|
+
stateProvince: string;
|
|
894
|
+
/**
|
|
895
|
+
* Postal or ZIP code.
|
|
896
|
+
*/
|
|
897
|
+
postalCode: string;
|
|
898
|
+
/**
|
|
899
|
+
* County or equivalent administrative region.
|
|
900
|
+
*/
|
|
901
|
+
county?: string;
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* Mailing address if different from home address.
|
|
905
|
+
*/
|
|
906
|
+
mailingAddress?: {
|
|
907
|
+
/**
|
|
908
|
+
* Primary street address line.
|
|
909
|
+
*/
|
|
910
|
+
addressLine1: string;
|
|
911
|
+
/**
|
|
912
|
+
* Secondary address line such as apartment or unit.
|
|
913
|
+
*/
|
|
914
|
+
addressLine2?: string;
|
|
915
|
+
/**
|
|
916
|
+
* City or locality of residence.
|
|
917
|
+
*/
|
|
918
|
+
city: string;
|
|
919
|
+
/**
|
|
920
|
+
* State, province, or region of residence.
|
|
921
|
+
*/
|
|
922
|
+
stateProvince: string;
|
|
923
|
+
/**
|
|
924
|
+
* Postal or ZIP code.
|
|
925
|
+
*/
|
|
926
|
+
postalCode: string;
|
|
927
|
+
/**
|
|
928
|
+
* County or equivalent administrative region.
|
|
929
|
+
*/
|
|
930
|
+
county?: string;
|
|
931
|
+
};
|
|
932
|
+
/**
|
|
933
|
+
* Primary phone number for the household.
|
|
934
|
+
*/
|
|
935
|
+
phoneNumber?: string;
|
|
936
|
+
/**
|
|
937
|
+
* List of household members with their relationship to the head of household.
|
|
938
|
+
*/
|
|
939
|
+
members: Array<{
|
|
940
|
+
/**
|
|
941
|
+
* Reference to the person's unique identifier.
|
|
942
|
+
*/
|
|
943
|
+
personId: string;
|
|
944
|
+
/**
|
|
945
|
+
* Relationship to the head of household.
|
|
946
|
+
*/
|
|
947
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
948
|
+
}>;
|
|
949
|
+
/**
|
|
950
|
+
* Timestamp when the household record was created.
|
|
951
|
+
*/
|
|
952
|
+
readonly createdAt: string;
|
|
953
|
+
/**
|
|
954
|
+
* Timestamp when the household record was last updated.
|
|
955
|
+
*/
|
|
956
|
+
readonly updatedAt: string;
|
|
957
|
+
}>;
|
|
958
|
+
/**
|
|
959
|
+
* Total number of households available.
|
|
960
|
+
*/
|
|
961
|
+
total: number;
|
|
962
|
+
/**
|
|
963
|
+
* Maximum number of households requested.
|
|
964
|
+
*/
|
|
965
|
+
limit: number;
|
|
966
|
+
/**
|
|
967
|
+
* Number of items skipped before the current page.
|
|
968
|
+
*/
|
|
969
|
+
offset: number;
|
|
970
|
+
/**
|
|
971
|
+
* Indicates whether more households are available beyond the current page.
|
|
972
|
+
*/
|
|
973
|
+
hasNext?: boolean;
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
export type ListHouseholdsResponse = ListHouseholdsResponses[keyof ListHouseholdsResponses];
|
|
978
|
+
|
|
979
|
+
export type CreateHouseholdData = {
|
|
980
|
+
body: {
|
|
981
|
+
/**
|
|
982
|
+
* Unique identifier for the household.
|
|
983
|
+
*/
|
|
984
|
+
readonly id: string;
|
|
985
|
+
/**
|
|
986
|
+
* Home address of the household.
|
|
987
|
+
*/
|
|
988
|
+
homeAddress: {
|
|
989
|
+
/**
|
|
990
|
+
* Primary street address line.
|
|
991
|
+
*/
|
|
992
|
+
addressLine1: string;
|
|
993
|
+
/**
|
|
994
|
+
* Secondary address line such as apartment or unit.
|
|
995
|
+
*/
|
|
996
|
+
addressLine2?: string;
|
|
997
|
+
/**
|
|
998
|
+
* City or locality of residence.
|
|
999
|
+
*/
|
|
1000
|
+
city: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* State, province, or region of residence.
|
|
1003
|
+
*/
|
|
1004
|
+
stateProvince: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* Postal or ZIP code.
|
|
1007
|
+
*/
|
|
1008
|
+
postalCode: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* County or equivalent administrative region.
|
|
1011
|
+
*/
|
|
1012
|
+
county?: string;
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* Mailing address if different from home address.
|
|
1016
|
+
*/
|
|
1017
|
+
mailingAddress?: {
|
|
1018
|
+
/**
|
|
1019
|
+
* Primary street address line.
|
|
1020
|
+
*/
|
|
1021
|
+
addressLine1: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Secondary address line such as apartment or unit.
|
|
1024
|
+
*/
|
|
1025
|
+
addressLine2?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* City or locality of residence.
|
|
1028
|
+
*/
|
|
1029
|
+
city: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* State, province, or region of residence.
|
|
1032
|
+
*/
|
|
1033
|
+
stateProvince: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Postal or ZIP code.
|
|
1036
|
+
*/
|
|
1037
|
+
postalCode: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* County or equivalent administrative region.
|
|
1040
|
+
*/
|
|
1041
|
+
county?: string;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Primary phone number for the household.
|
|
1045
|
+
*/
|
|
1046
|
+
phoneNumber?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* List of household members with their relationship to the head of household.
|
|
1049
|
+
*/
|
|
1050
|
+
members: Array<{
|
|
1051
|
+
/**
|
|
1052
|
+
* Reference to the person's unique identifier.
|
|
1053
|
+
*/
|
|
1054
|
+
personId: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Relationship to the head of household.
|
|
1057
|
+
*/
|
|
1058
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
1059
|
+
}>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Timestamp when the household record was created.
|
|
1062
|
+
*/
|
|
1063
|
+
readonly createdAt: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Timestamp when the household record was last updated.
|
|
1066
|
+
*/
|
|
1067
|
+
readonly updatedAt: string;
|
|
1068
|
+
} & {
|
|
1069
|
+
[key: string]: unknown;
|
|
1070
|
+
};
|
|
1071
|
+
path?: never;
|
|
1072
|
+
query?: never;
|
|
1073
|
+
url: '/households';
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
export type CreateHouseholdErrors = {
|
|
1077
|
+
/**
|
|
1078
|
+
* The request is malformed or contains invalid parameters.
|
|
1079
|
+
*/
|
|
1080
|
+
400: {
|
|
1081
|
+
/**
|
|
1082
|
+
* Machine-readable error code.
|
|
1083
|
+
*/
|
|
1084
|
+
code: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Human-readable error description.
|
|
1087
|
+
*/
|
|
1088
|
+
message: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Additional error details.
|
|
1091
|
+
*/
|
|
1092
|
+
details?: Array<{
|
|
1093
|
+
[key: string]: unknown;
|
|
1094
|
+
}>;
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* The request was well-formed but contained semantic errors.
|
|
1098
|
+
*/
|
|
1099
|
+
422: {
|
|
1100
|
+
/**
|
|
1101
|
+
* Machine-readable error code.
|
|
1102
|
+
*/
|
|
1103
|
+
code: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Human-readable error description.
|
|
1106
|
+
*/
|
|
1107
|
+
message: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Additional error details.
|
|
1110
|
+
*/
|
|
1111
|
+
details?: Array<{
|
|
1112
|
+
[key: string]: unknown;
|
|
1113
|
+
}>;
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* An unexpected error occurred on the server.
|
|
1117
|
+
*/
|
|
1118
|
+
500: {
|
|
1119
|
+
/**
|
|
1120
|
+
* Machine-readable error code.
|
|
1121
|
+
*/
|
|
1122
|
+
code: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Human-readable error description.
|
|
1125
|
+
*/
|
|
1126
|
+
message: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Additional error details.
|
|
1129
|
+
*/
|
|
1130
|
+
details?: Array<{
|
|
1131
|
+
[key: string]: unknown;
|
|
1132
|
+
}>;
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
export type CreateHouseholdError = CreateHouseholdErrors[keyof CreateHouseholdErrors];
|
|
1137
|
+
|
|
1138
|
+
export type CreateHouseholdResponses = {
|
|
1139
|
+
/**
|
|
1140
|
+
* Represents a household unit with multiple members.
|
|
1141
|
+
*/
|
|
1142
|
+
201: {
|
|
1143
|
+
/**
|
|
1144
|
+
* Unique identifier for the household.
|
|
1145
|
+
*/
|
|
1146
|
+
readonly id: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Home address of the household.
|
|
1149
|
+
*/
|
|
1150
|
+
homeAddress: {
|
|
1151
|
+
/**
|
|
1152
|
+
* Primary street address line.
|
|
1153
|
+
*/
|
|
1154
|
+
addressLine1: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* Secondary address line such as apartment or unit.
|
|
1157
|
+
*/
|
|
1158
|
+
addressLine2?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* City or locality of residence.
|
|
1161
|
+
*/
|
|
1162
|
+
city: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* State, province, or region of residence.
|
|
1165
|
+
*/
|
|
1166
|
+
stateProvince: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Postal or ZIP code.
|
|
1169
|
+
*/
|
|
1170
|
+
postalCode: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* County or equivalent administrative region.
|
|
1173
|
+
*/
|
|
1174
|
+
county?: string;
|
|
1175
|
+
};
|
|
1176
|
+
/**
|
|
1177
|
+
* Mailing address if different from home address.
|
|
1178
|
+
*/
|
|
1179
|
+
mailingAddress?: {
|
|
1180
|
+
/**
|
|
1181
|
+
* Primary street address line.
|
|
1182
|
+
*/
|
|
1183
|
+
addressLine1: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Secondary address line such as apartment or unit.
|
|
1186
|
+
*/
|
|
1187
|
+
addressLine2?: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* City or locality of residence.
|
|
1190
|
+
*/
|
|
1191
|
+
city: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* State, province, or region of residence.
|
|
1194
|
+
*/
|
|
1195
|
+
stateProvince: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* Postal or ZIP code.
|
|
1198
|
+
*/
|
|
1199
|
+
postalCode: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* County or equivalent administrative region.
|
|
1202
|
+
*/
|
|
1203
|
+
county?: string;
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* Primary phone number for the household.
|
|
1207
|
+
*/
|
|
1208
|
+
phoneNumber?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* List of household members with their relationship to the head of household.
|
|
1211
|
+
*/
|
|
1212
|
+
members: Array<{
|
|
1213
|
+
/**
|
|
1214
|
+
* Reference to the person's unique identifier.
|
|
1215
|
+
*/
|
|
1216
|
+
personId: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Relationship to the head of household.
|
|
1219
|
+
*/
|
|
1220
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
1221
|
+
}>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Timestamp when the household record was created.
|
|
1224
|
+
*/
|
|
1225
|
+
readonly createdAt: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Timestamp when the household record was last updated.
|
|
1228
|
+
*/
|
|
1229
|
+
readonly updatedAt: string;
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
export type CreateHouseholdResponse = CreateHouseholdResponses[keyof CreateHouseholdResponses];
|
|
1234
|
+
|
|
1235
|
+
export type DeleteHouseholdData = {
|
|
1236
|
+
body?: never;
|
|
1237
|
+
path: {
|
|
1238
|
+
/**
|
|
1239
|
+
* Unique identifier of the household.
|
|
1240
|
+
*/
|
|
1241
|
+
householdId: string;
|
|
1242
|
+
};
|
|
1243
|
+
query?: never;
|
|
1244
|
+
url: '/households/{householdId}';
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
export type DeleteHouseholdErrors = {
|
|
1248
|
+
/**
|
|
1249
|
+
* The requested resource was not found.
|
|
1250
|
+
*/
|
|
1251
|
+
404: {
|
|
1252
|
+
/**
|
|
1253
|
+
* Machine-readable error code.
|
|
1254
|
+
*/
|
|
1255
|
+
code: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Human-readable error description.
|
|
1258
|
+
*/
|
|
1259
|
+
message: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* Additional error details.
|
|
1262
|
+
*/
|
|
1263
|
+
details?: Array<{
|
|
1264
|
+
[key: string]: unknown;
|
|
1265
|
+
}>;
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* An unexpected error occurred on the server.
|
|
1269
|
+
*/
|
|
1270
|
+
500: {
|
|
1271
|
+
/**
|
|
1272
|
+
* Machine-readable error code.
|
|
1273
|
+
*/
|
|
1274
|
+
code: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Human-readable error description.
|
|
1277
|
+
*/
|
|
1278
|
+
message: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Additional error details.
|
|
1281
|
+
*/
|
|
1282
|
+
details?: Array<{
|
|
1283
|
+
[key: string]: unknown;
|
|
1284
|
+
}>;
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
export type DeleteHouseholdError = DeleteHouseholdErrors[keyof DeleteHouseholdErrors];
|
|
1289
|
+
|
|
1290
|
+
export type DeleteHouseholdResponses = {
|
|
1291
|
+
/**
|
|
1292
|
+
* Household deleted successfully.
|
|
1293
|
+
*/
|
|
1294
|
+
204: void;
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
export type DeleteHouseholdResponse = DeleteHouseholdResponses[keyof DeleteHouseholdResponses];
|
|
1298
|
+
|
|
1299
|
+
export type GetHouseholdData = {
|
|
1300
|
+
body?: never;
|
|
1301
|
+
path: {
|
|
1302
|
+
/**
|
|
1303
|
+
* Unique identifier of the household.
|
|
1304
|
+
*/
|
|
1305
|
+
householdId: string;
|
|
1306
|
+
};
|
|
1307
|
+
query?: never;
|
|
1308
|
+
url: '/households/{householdId}';
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
export type GetHouseholdErrors = {
|
|
1312
|
+
/**
|
|
1313
|
+
* The requested resource was not found.
|
|
1314
|
+
*/
|
|
1315
|
+
404: {
|
|
1316
|
+
/**
|
|
1317
|
+
* Machine-readable error code.
|
|
1318
|
+
*/
|
|
1319
|
+
code: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Human-readable error description.
|
|
1322
|
+
*/
|
|
1323
|
+
message: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Additional error details.
|
|
1326
|
+
*/
|
|
1327
|
+
details?: Array<{
|
|
1328
|
+
[key: string]: unknown;
|
|
1329
|
+
}>;
|
|
1330
|
+
};
|
|
1331
|
+
/**
|
|
1332
|
+
* An unexpected error occurred on the server.
|
|
1333
|
+
*/
|
|
1334
|
+
500: {
|
|
1335
|
+
/**
|
|
1336
|
+
* Machine-readable error code.
|
|
1337
|
+
*/
|
|
1338
|
+
code: string;
|
|
1339
|
+
/**
|
|
1340
|
+
* Human-readable error description.
|
|
1341
|
+
*/
|
|
1342
|
+
message: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Additional error details.
|
|
1345
|
+
*/
|
|
1346
|
+
details?: Array<{
|
|
1347
|
+
[key: string]: unknown;
|
|
1348
|
+
}>;
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
export type GetHouseholdError = GetHouseholdErrors[keyof GetHouseholdErrors];
|
|
1353
|
+
|
|
1354
|
+
export type GetHouseholdResponses = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Represents a household unit with multiple members.
|
|
1357
|
+
*/
|
|
1358
|
+
200: {
|
|
1359
|
+
/**
|
|
1360
|
+
* Unique identifier for the household.
|
|
1361
|
+
*/
|
|
1362
|
+
readonly id: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Home address of the household.
|
|
1365
|
+
*/
|
|
1366
|
+
homeAddress: {
|
|
1367
|
+
/**
|
|
1368
|
+
* Primary street address line.
|
|
1369
|
+
*/
|
|
1370
|
+
addressLine1: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Secondary address line such as apartment or unit.
|
|
1373
|
+
*/
|
|
1374
|
+
addressLine2?: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* City or locality of residence.
|
|
1377
|
+
*/
|
|
1378
|
+
city: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* State, province, or region of residence.
|
|
1381
|
+
*/
|
|
1382
|
+
stateProvince: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Postal or ZIP code.
|
|
1385
|
+
*/
|
|
1386
|
+
postalCode: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* County or equivalent administrative region.
|
|
1389
|
+
*/
|
|
1390
|
+
county?: string;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Mailing address if different from home address.
|
|
1394
|
+
*/
|
|
1395
|
+
mailingAddress?: {
|
|
1396
|
+
/**
|
|
1397
|
+
* Primary street address line.
|
|
1398
|
+
*/
|
|
1399
|
+
addressLine1: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Secondary address line such as apartment or unit.
|
|
1402
|
+
*/
|
|
1403
|
+
addressLine2?: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* City or locality of residence.
|
|
1406
|
+
*/
|
|
1407
|
+
city: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* State, province, or region of residence.
|
|
1410
|
+
*/
|
|
1411
|
+
stateProvince: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Postal or ZIP code.
|
|
1414
|
+
*/
|
|
1415
|
+
postalCode: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* County or equivalent administrative region.
|
|
1418
|
+
*/
|
|
1419
|
+
county?: string;
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* Primary phone number for the household.
|
|
1423
|
+
*/
|
|
1424
|
+
phoneNumber?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* List of household members with their relationship to the head of household.
|
|
1427
|
+
*/
|
|
1428
|
+
members: Array<{
|
|
1429
|
+
/**
|
|
1430
|
+
* Reference to the person's unique identifier.
|
|
1431
|
+
*/
|
|
1432
|
+
personId: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Relationship to the head of household.
|
|
1435
|
+
*/
|
|
1436
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
1437
|
+
}>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Timestamp when the household record was created.
|
|
1440
|
+
*/
|
|
1441
|
+
readonly createdAt: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* Timestamp when the household record was last updated.
|
|
1444
|
+
*/
|
|
1445
|
+
readonly updatedAt: string;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
export type GetHouseholdResponse = GetHouseholdResponses[keyof GetHouseholdResponses];
|
|
1450
|
+
|
|
1451
|
+
export type UpdateHouseholdData = {
|
|
1452
|
+
body: {
|
|
1453
|
+
/**
|
|
1454
|
+
* Unique identifier for the household.
|
|
1455
|
+
*/
|
|
1456
|
+
readonly id: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* Home address of the household.
|
|
1459
|
+
*/
|
|
1460
|
+
homeAddress: {
|
|
1461
|
+
/**
|
|
1462
|
+
* Primary street address line.
|
|
1463
|
+
*/
|
|
1464
|
+
addressLine1: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Secondary address line such as apartment or unit.
|
|
1467
|
+
*/
|
|
1468
|
+
addressLine2?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* City or locality of residence.
|
|
1471
|
+
*/
|
|
1472
|
+
city: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* State, province, or region of residence.
|
|
1475
|
+
*/
|
|
1476
|
+
stateProvince: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Postal or ZIP code.
|
|
1479
|
+
*/
|
|
1480
|
+
postalCode: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* County or equivalent administrative region.
|
|
1483
|
+
*/
|
|
1484
|
+
county?: string;
|
|
1485
|
+
};
|
|
1486
|
+
/**
|
|
1487
|
+
* Mailing address if different from home address.
|
|
1488
|
+
*/
|
|
1489
|
+
mailingAddress?: {
|
|
1490
|
+
/**
|
|
1491
|
+
* Primary street address line.
|
|
1492
|
+
*/
|
|
1493
|
+
addressLine1: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Secondary address line such as apartment or unit.
|
|
1496
|
+
*/
|
|
1497
|
+
addressLine2?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* City or locality of residence.
|
|
1500
|
+
*/
|
|
1501
|
+
city: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* State, province, or region of residence.
|
|
1504
|
+
*/
|
|
1505
|
+
stateProvince: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Postal or ZIP code.
|
|
1508
|
+
*/
|
|
1509
|
+
postalCode: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* County or equivalent administrative region.
|
|
1512
|
+
*/
|
|
1513
|
+
county?: string;
|
|
1514
|
+
};
|
|
1515
|
+
/**
|
|
1516
|
+
* Primary phone number for the household.
|
|
1517
|
+
*/
|
|
1518
|
+
phoneNumber?: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* List of household members with their relationship to the head of household.
|
|
1521
|
+
*/
|
|
1522
|
+
members: Array<{
|
|
1523
|
+
/**
|
|
1524
|
+
* Reference to the person's unique identifier.
|
|
1525
|
+
*/
|
|
1526
|
+
personId: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* Relationship to the head of household.
|
|
1529
|
+
*/
|
|
1530
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
1531
|
+
}>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Timestamp when the household record was created.
|
|
1534
|
+
*/
|
|
1535
|
+
readonly createdAt: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Timestamp when the household record was last updated.
|
|
1538
|
+
*/
|
|
1539
|
+
readonly updatedAt: string;
|
|
1540
|
+
} & {
|
|
1541
|
+
[key: string]: unknown;
|
|
1542
|
+
};
|
|
1543
|
+
path: {
|
|
1544
|
+
/**
|
|
1545
|
+
* Unique identifier of the household.
|
|
1546
|
+
*/
|
|
1547
|
+
householdId: string;
|
|
1548
|
+
};
|
|
1549
|
+
query?: never;
|
|
1550
|
+
url: '/households/{householdId}';
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
export type UpdateHouseholdErrors = {
|
|
1554
|
+
/**
|
|
1555
|
+
* The request is malformed or contains invalid parameters.
|
|
1556
|
+
*/
|
|
1557
|
+
400: {
|
|
1558
|
+
/**
|
|
1559
|
+
* Machine-readable error code.
|
|
1560
|
+
*/
|
|
1561
|
+
code: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* Human-readable error description.
|
|
1564
|
+
*/
|
|
1565
|
+
message: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* Additional error details.
|
|
1568
|
+
*/
|
|
1569
|
+
details?: Array<{
|
|
1570
|
+
[key: string]: unknown;
|
|
1571
|
+
}>;
|
|
1572
|
+
};
|
|
1573
|
+
/**
|
|
1574
|
+
* The requested resource was not found.
|
|
1575
|
+
*/
|
|
1576
|
+
404: {
|
|
1577
|
+
/**
|
|
1578
|
+
* Machine-readable error code.
|
|
1579
|
+
*/
|
|
1580
|
+
code: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* Human-readable error description.
|
|
1583
|
+
*/
|
|
1584
|
+
message: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* Additional error details.
|
|
1587
|
+
*/
|
|
1588
|
+
details?: Array<{
|
|
1589
|
+
[key: string]: unknown;
|
|
1590
|
+
}>;
|
|
1591
|
+
};
|
|
1592
|
+
/**
|
|
1593
|
+
* The request was well-formed but contained semantic errors.
|
|
1594
|
+
*/
|
|
1595
|
+
422: {
|
|
1596
|
+
/**
|
|
1597
|
+
* Machine-readable error code.
|
|
1598
|
+
*/
|
|
1599
|
+
code: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* Human-readable error description.
|
|
1602
|
+
*/
|
|
1603
|
+
message: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* Additional error details.
|
|
1606
|
+
*/
|
|
1607
|
+
details?: Array<{
|
|
1608
|
+
[key: string]: unknown;
|
|
1609
|
+
}>;
|
|
1610
|
+
};
|
|
1611
|
+
/**
|
|
1612
|
+
* An unexpected error occurred on the server.
|
|
1613
|
+
*/
|
|
1614
|
+
500: {
|
|
1615
|
+
/**
|
|
1616
|
+
* Machine-readable error code.
|
|
1617
|
+
*/
|
|
1618
|
+
code: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* Human-readable error description.
|
|
1621
|
+
*/
|
|
1622
|
+
message: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Additional error details.
|
|
1625
|
+
*/
|
|
1626
|
+
details?: Array<{
|
|
1627
|
+
[key: string]: unknown;
|
|
1628
|
+
}>;
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
export type UpdateHouseholdError = UpdateHouseholdErrors[keyof UpdateHouseholdErrors];
|
|
1633
|
+
|
|
1634
|
+
export type UpdateHouseholdResponses = {
|
|
1635
|
+
/**
|
|
1636
|
+
* Represents a household unit with multiple members.
|
|
1637
|
+
*/
|
|
1638
|
+
200: {
|
|
1639
|
+
/**
|
|
1640
|
+
* Unique identifier for the household.
|
|
1641
|
+
*/
|
|
1642
|
+
readonly id: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* Home address of the household.
|
|
1645
|
+
*/
|
|
1646
|
+
homeAddress: {
|
|
1647
|
+
/**
|
|
1648
|
+
* Primary street address line.
|
|
1649
|
+
*/
|
|
1650
|
+
addressLine1: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* Secondary address line such as apartment or unit.
|
|
1653
|
+
*/
|
|
1654
|
+
addressLine2?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* City or locality of residence.
|
|
1657
|
+
*/
|
|
1658
|
+
city: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* State, province, or region of residence.
|
|
1661
|
+
*/
|
|
1662
|
+
stateProvince: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* Postal or ZIP code.
|
|
1665
|
+
*/
|
|
1666
|
+
postalCode: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* County or equivalent administrative region.
|
|
1669
|
+
*/
|
|
1670
|
+
county?: string;
|
|
1671
|
+
};
|
|
1672
|
+
/**
|
|
1673
|
+
* Mailing address if different from home address.
|
|
1674
|
+
*/
|
|
1675
|
+
mailingAddress?: {
|
|
1676
|
+
/**
|
|
1677
|
+
* Primary street address line.
|
|
1678
|
+
*/
|
|
1679
|
+
addressLine1: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Secondary address line such as apartment or unit.
|
|
1682
|
+
*/
|
|
1683
|
+
addressLine2?: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* City or locality of residence.
|
|
1686
|
+
*/
|
|
1687
|
+
city: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* State, province, or region of residence.
|
|
1690
|
+
*/
|
|
1691
|
+
stateProvince: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Postal or ZIP code.
|
|
1694
|
+
*/
|
|
1695
|
+
postalCode: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* County or equivalent administrative region.
|
|
1698
|
+
*/
|
|
1699
|
+
county?: string;
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Primary phone number for the household.
|
|
1703
|
+
*/
|
|
1704
|
+
phoneNumber?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* List of household members with their relationship to the head of household.
|
|
1707
|
+
*/
|
|
1708
|
+
members: Array<{
|
|
1709
|
+
/**
|
|
1710
|
+
* Reference to the person's unique identifier.
|
|
1711
|
+
*/
|
|
1712
|
+
personId: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Relationship to the head of household.
|
|
1715
|
+
*/
|
|
1716
|
+
relationship: 'head_of_household' | 'spouse' | 'husband' | 'wife' | 'partner' | 'child' | 'parent' | 'sibling' | 'grandparent' | 'grandchild' | 'other_relative' | 'non_relative';
|
|
1717
|
+
}>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Timestamp when the household record was created.
|
|
1720
|
+
*/
|
|
1721
|
+
readonly createdAt: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* Timestamp when the household record was last updated.
|
|
1724
|
+
*/
|
|
1725
|
+
readonly updatedAt: string;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
export type UpdateHouseholdResponse = UpdateHouseholdResponses[keyof UpdateHouseholdResponses];
|