@openinherit/sdk 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/LICENSE +191 -0
- package/dist/estate/client/client.gen.d.ts +3 -0
- package/dist/estate/client/client.gen.d.ts.map +1 -0
- package/dist/estate/client/client.gen.js +236 -0
- package/dist/estate/client/client.gen.js.map +1 -0
- package/dist/estate/client/index.d.ts +9 -0
- package/dist/estate/client/index.d.ts.map +1 -0
- package/dist/estate/client/index.js +7 -0
- package/dist/estate/client/index.js.map +1 -0
- package/dist/estate/client/types.gen.d.ts +118 -0
- package/dist/estate/client/types.gen.d.ts.map +1 -0
- package/dist/estate/client/types.gen.js +3 -0
- package/dist/estate/client/types.gen.js.map +1 -0
- package/dist/estate/client/utils.gen.d.ts +34 -0
- package/dist/estate/client/utils.gen.d.ts.map +1 -0
- package/dist/estate/client/utils.gen.js +229 -0
- package/dist/estate/client/utils.gen.js.map +1 -0
- package/dist/estate/client.gen.d.ts +13 -0
- package/dist/estate/client.gen.d.ts.map +1 -0
- package/dist/estate/client.gen.js +4 -0
- package/dist/estate/client.gen.js.map +1 -0
- package/dist/estate/core/auth.gen.d.ts +19 -0
- package/dist/estate/core/auth.gen.d.ts.map +1 -0
- package/dist/estate/core/auth.gen.js +15 -0
- package/dist/estate/core/auth.gen.js.map +1 -0
- package/dist/estate/core/bodySerializer.gen.d.ts +26 -0
- package/dist/estate/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/estate/core/bodySerializer.gen.js +58 -0
- package/dist/estate/core/bodySerializer.gen.js.map +1 -0
- package/dist/estate/core/params.gen.d.ts +44 -0
- package/dist/estate/core/params.gen.d.ts.map +1 -0
- package/dist/estate/core/params.gen.js +101 -0
- package/dist/estate/core/params.gen.js.map +1 -0
- package/dist/estate/core/pathSerializer.gen.d.ts +34 -0
- package/dist/estate/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/estate/core/pathSerializer.gen.js +107 -0
- package/dist/estate/core/pathSerializer.gen.js.map +1 -0
- package/dist/estate/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/estate/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/estate/core/queryKeySerializer.gen.js +93 -0
- package/dist/estate/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/estate/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/estate/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/estate/core/serverSentEvents.gen.js +134 -0
- package/dist/estate/core/serverSentEvents.gen.js.map +1 -0
- package/dist/estate/core/types.gen.d.ts +79 -0
- package/dist/estate/core/types.gen.d.ts.map +1 -0
- package/dist/estate/core/types.gen.js +3 -0
- package/dist/estate/core/types.gen.js.map +1 -0
- package/dist/estate/core/utils.gen.d.ts +20 -0
- package/dist/estate/core/utils.gen.d.ts.map +1 -0
- package/dist/estate/core/utils.gen.js +88 -0
- package/dist/estate/core/utils.gen.js.map +1 -0
- package/dist/estate/index.d.ts +3 -0
- package/dist/estate/index.d.ts.map +1 -0
- package/dist/estate/index.js +3 -0
- package/dist/estate/index.js.map +1 -0
- package/dist/estate/sdk.gen.d.ts +25 -0
- package/dist/estate/sdk.gen.d.ts.map +1 -0
- package/dist/estate/sdk.gen.js +19 -0
- package/dist/estate/sdk.gen.js.map +1 -0
- package/dist/estate/types.gen.d.ts +2140 -0
- package/dist/estate/types.gen.d.ts.map +1 -0
- package/dist/estate/types.gen.js +3 -0
- package/dist/estate/types.gen.js.map +1 -0
- package/dist/reference/client/client.gen.d.ts +3 -0
- package/dist/reference/client/client.gen.d.ts.map +1 -0
- package/dist/reference/client/client.gen.js +236 -0
- package/dist/reference/client/client.gen.js.map +1 -0
- package/dist/reference/client/index.d.ts +9 -0
- package/dist/reference/client/index.d.ts.map +1 -0
- package/dist/reference/client/index.js +7 -0
- package/dist/reference/client/index.js.map +1 -0
- package/dist/reference/client/types.gen.d.ts +118 -0
- package/dist/reference/client/types.gen.d.ts.map +1 -0
- package/dist/reference/client/types.gen.js +3 -0
- package/dist/reference/client/types.gen.js.map +1 -0
- package/dist/reference/client/utils.gen.d.ts +34 -0
- package/dist/reference/client/utils.gen.d.ts.map +1 -0
- package/dist/reference/client/utils.gen.js +229 -0
- package/dist/reference/client/utils.gen.js.map +1 -0
- package/dist/reference/client.gen.d.ts +13 -0
- package/dist/reference/client.gen.d.ts.map +1 -0
- package/dist/reference/client.gen.js +4 -0
- package/dist/reference/client.gen.js.map +1 -0
- package/dist/reference/core/auth.gen.d.ts +19 -0
- package/dist/reference/core/auth.gen.d.ts.map +1 -0
- package/dist/reference/core/auth.gen.js +15 -0
- package/dist/reference/core/auth.gen.js.map +1 -0
- package/dist/reference/core/bodySerializer.gen.d.ts +26 -0
- package/dist/reference/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/reference/core/bodySerializer.gen.js +58 -0
- package/dist/reference/core/bodySerializer.gen.js.map +1 -0
- package/dist/reference/core/params.gen.d.ts +44 -0
- package/dist/reference/core/params.gen.d.ts.map +1 -0
- package/dist/reference/core/params.gen.js +101 -0
- package/dist/reference/core/params.gen.js.map +1 -0
- package/dist/reference/core/pathSerializer.gen.d.ts +34 -0
- package/dist/reference/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/reference/core/pathSerializer.gen.js +107 -0
- package/dist/reference/core/pathSerializer.gen.js.map +1 -0
- package/dist/reference/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/reference/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/reference/core/queryKeySerializer.gen.js +93 -0
- package/dist/reference/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/reference/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/reference/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/reference/core/serverSentEvents.gen.js +134 -0
- package/dist/reference/core/serverSentEvents.gen.js.map +1 -0
- package/dist/reference/core/types.gen.d.ts +79 -0
- package/dist/reference/core/types.gen.d.ts.map +1 -0
- package/dist/reference/core/types.gen.js +3 -0
- package/dist/reference/core/types.gen.js.map +1 -0
- package/dist/reference/core/utils.gen.d.ts +20 -0
- package/dist/reference/core/utils.gen.d.ts.map +1 -0
- package/dist/reference/core/utils.gen.js +88 -0
- package/dist/reference/core/utils.gen.js.map +1 -0
- package/dist/reference/index.d.ts +3 -0
- package/dist/reference/index.d.ts.map +1 -0
- package/dist/reference/index.js +3 -0
- package/dist/reference/index.js.map +1 -0
- package/dist/reference/sdk.gen.d.ts +508 -0
- package/dist/reference/sdk.gen.d.ts.map +1 -0
- package/dist/reference/sdk.gen.js +1147 -0
- package/dist/reference/sdk.gen.js.map +1 -0
- package/dist/reference/types.gen.d.ts +4602 -0
- package/dist/reference/types.gen.d.ts.map +1 -0
- package/dist/reference/types.gen.js +3 -0
- package/dist/reference/types.gen.js.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,1147 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { client } from './client.gen';
|
|
3
|
+
/**
|
|
4
|
+
* List estates
|
|
5
|
+
*
|
|
6
|
+
* Returns a paginated list of estates visible to the authenticated caller.
|
|
7
|
+
* Supports cursor-based pagination and filtering by status and jurisdiction.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export const listEstates = (options) => (options?.client ?? client).get({
|
|
11
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
12
|
+
url: '/estates',
|
|
13
|
+
...options
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Create a new estate
|
|
17
|
+
*
|
|
18
|
+
* Creates a new estate record. The request body must conform to the
|
|
19
|
+
* INHERIT Estate schema. Returns the created estate with an ETag for
|
|
20
|
+
* optimistic concurrency control.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export const createEstate = (options) => (options.client ?? client).post({
|
|
24
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
25
|
+
url: '/estates',
|
|
26
|
+
...options,
|
|
27
|
+
headers: {
|
|
28
|
+
'Content-Type': 'application/json',
|
|
29
|
+
...options.headers
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
/**
|
|
33
|
+
* Delete an estate
|
|
34
|
+
*
|
|
35
|
+
* Permanently deletes an estate and all its associated entities.
|
|
36
|
+
*/
|
|
37
|
+
export const deleteEstate = (options) => (options.client ?? client).delete({
|
|
38
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
39
|
+
url: '/estates/{estateId}',
|
|
40
|
+
...options
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* Get a single estate
|
|
44
|
+
*
|
|
45
|
+
* Returns a single estate by its unique identifier.
|
|
46
|
+
*/
|
|
47
|
+
export const getEstate = (options) => (options.client ?? client).get({
|
|
48
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
49
|
+
url: '/estates/{estateId}',
|
|
50
|
+
...options
|
|
51
|
+
});
|
|
52
|
+
/**
|
|
53
|
+
* Update an estate
|
|
54
|
+
*
|
|
55
|
+
* Partially or fully updates an estate. Callers SHOULD supply an
|
|
56
|
+
* If-Match header containing the ETag from a previous GET or POST
|
|
57
|
+
* response to enable optimistic concurrency control. If the ETag does
|
|
58
|
+
* not match, a 412 Precondition Failed is returned.
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export const updateEstate = (options) => (options.client ?? client).patch({
|
|
62
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
63
|
+
url: '/estates/{estateId}',
|
|
64
|
+
...options,
|
|
65
|
+
headers: {
|
|
66
|
+
'Content-Type': 'application/json',
|
|
67
|
+
...options.headers
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
/**
|
|
71
|
+
* List all people in the estate
|
|
72
|
+
*/
|
|
73
|
+
export const listPeople = (options) => (options.client ?? client).get({
|
|
74
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
75
|
+
url: '/estates/{estateId}/people',
|
|
76
|
+
...options
|
|
77
|
+
});
|
|
78
|
+
/**
|
|
79
|
+
* Add a person to the estate
|
|
80
|
+
*/
|
|
81
|
+
export const createPerson = (options) => (options.client ?? client).post({
|
|
82
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
83
|
+
url: '/estates/{estateId}/people',
|
|
84
|
+
...options,
|
|
85
|
+
headers: {
|
|
86
|
+
'Content-Type': 'application/json',
|
|
87
|
+
...options.headers
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
/**
|
|
91
|
+
* Remove a person from the estate
|
|
92
|
+
*/
|
|
93
|
+
export const deletePerson = (options) => (options.client ?? client).delete({
|
|
94
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
95
|
+
url: '/estates/{estateId}/people/{personId}',
|
|
96
|
+
...options
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* Get a person
|
|
100
|
+
*/
|
|
101
|
+
export const getPerson = (options) => (options.client ?? client).get({
|
|
102
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
103
|
+
url: '/estates/{estateId}/people/{personId}',
|
|
104
|
+
...options
|
|
105
|
+
});
|
|
106
|
+
/**
|
|
107
|
+
* Partial update a person
|
|
108
|
+
*/
|
|
109
|
+
export const updatePerson = (options) => (options.client ?? client).patch({
|
|
110
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
111
|
+
url: '/estates/{estateId}/people/{personId}',
|
|
112
|
+
...options,
|
|
113
|
+
headers: {
|
|
114
|
+
'Content-Type': 'application/json',
|
|
115
|
+
...options.headers
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
/**
|
|
119
|
+
* Replace a person (full update)
|
|
120
|
+
*/
|
|
121
|
+
export const replacePerson = (options) => (options.client ?? client).put({
|
|
122
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
123
|
+
url: '/estates/{estateId}/people/{personId}',
|
|
124
|
+
...options,
|
|
125
|
+
headers: {
|
|
126
|
+
'Content-Type': 'application/json',
|
|
127
|
+
...options.headers
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
/**
|
|
131
|
+
* List all relationships in the estate
|
|
132
|
+
*/
|
|
133
|
+
export const listRelationships = (options) => (options.client ?? client).get({
|
|
134
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
135
|
+
url: '/estates/{estateId}/relationships',
|
|
136
|
+
...options
|
|
137
|
+
});
|
|
138
|
+
/**
|
|
139
|
+
* Add a relationship to the estate
|
|
140
|
+
*/
|
|
141
|
+
export const createRelationship = (options) => (options.client ?? client).post({
|
|
142
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
143
|
+
url: '/estates/{estateId}/relationships',
|
|
144
|
+
...options,
|
|
145
|
+
headers: {
|
|
146
|
+
'Content-Type': 'application/json',
|
|
147
|
+
...options.headers
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
/**
|
|
151
|
+
* Remove a relationship from the estate
|
|
152
|
+
*/
|
|
153
|
+
export const deleteRelationship = (options) => (options.client ?? client).delete({
|
|
154
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
155
|
+
url: '/estates/{estateId}/relationships/{relationshipId}',
|
|
156
|
+
...options
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* Get a relationship
|
|
160
|
+
*/
|
|
161
|
+
export const getRelationship = (options) => (options.client ?? client).get({
|
|
162
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
163
|
+
url: '/estates/{estateId}/relationships/{relationshipId}',
|
|
164
|
+
...options
|
|
165
|
+
});
|
|
166
|
+
/**
|
|
167
|
+
* Partial update a relationship
|
|
168
|
+
*/
|
|
169
|
+
export const updateRelationship = (options) => (options.client ?? client).patch({
|
|
170
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
171
|
+
url: '/estates/{estateId}/relationships/{relationshipId}',
|
|
172
|
+
...options,
|
|
173
|
+
headers: {
|
|
174
|
+
'Content-Type': 'application/json',
|
|
175
|
+
...options.headers
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
/**
|
|
179
|
+
* Replace a relationship (full update)
|
|
180
|
+
*/
|
|
181
|
+
export const replaceRelationship = (options) => (options.client ?? client).put({
|
|
182
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
183
|
+
url: '/estates/{estateId}/relationships/{relationshipId}',
|
|
184
|
+
...options,
|
|
185
|
+
headers: {
|
|
186
|
+
'Content-Type': 'application/json',
|
|
187
|
+
...options.headers
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
/**
|
|
191
|
+
* List all kinships in the estate
|
|
192
|
+
*/
|
|
193
|
+
export const listKinships = (options) => (options.client ?? client).get({
|
|
194
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
195
|
+
url: '/estates/{estateId}/kinships',
|
|
196
|
+
...options
|
|
197
|
+
});
|
|
198
|
+
/**
|
|
199
|
+
* Add a kinship to the estate
|
|
200
|
+
*/
|
|
201
|
+
export const createKinship = (options) => (options.client ?? client).post({
|
|
202
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
203
|
+
url: '/estates/{estateId}/kinships',
|
|
204
|
+
...options,
|
|
205
|
+
headers: {
|
|
206
|
+
'Content-Type': 'application/json',
|
|
207
|
+
...options.headers
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
/**
|
|
211
|
+
* Remove a kinship from the estate
|
|
212
|
+
*/
|
|
213
|
+
export const deleteKinship = (options) => (options.client ?? client).delete({
|
|
214
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
215
|
+
url: '/estates/{estateId}/kinships/{kinshipId}',
|
|
216
|
+
...options
|
|
217
|
+
});
|
|
218
|
+
/**
|
|
219
|
+
* Get a kinship
|
|
220
|
+
*/
|
|
221
|
+
export const getKinship = (options) => (options.client ?? client).get({
|
|
222
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
223
|
+
url: '/estates/{estateId}/kinships/{kinshipId}',
|
|
224
|
+
...options
|
|
225
|
+
});
|
|
226
|
+
/**
|
|
227
|
+
* Partial update a kinship
|
|
228
|
+
*/
|
|
229
|
+
export const updateKinship = (options) => (options.client ?? client).patch({
|
|
230
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
231
|
+
url: '/estates/{estateId}/kinships/{kinshipId}',
|
|
232
|
+
...options,
|
|
233
|
+
headers: {
|
|
234
|
+
'Content-Type': 'application/json',
|
|
235
|
+
...options.headers
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
/**
|
|
239
|
+
* Replace a kinship (full update)
|
|
240
|
+
*/
|
|
241
|
+
export const replaceKinship = (options) => (options.client ?? client).put({
|
|
242
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
243
|
+
url: '/estates/{estateId}/kinships/{kinshipId}',
|
|
244
|
+
...options,
|
|
245
|
+
headers: {
|
|
246
|
+
'Content-Type': 'application/json',
|
|
247
|
+
...options.headers
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
/**
|
|
251
|
+
* List all properties in the estate
|
|
252
|
+
*/
|
|
253
|
+
export const listProperties = (options) => (options.client ?? client).get({
|
|
254
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
255
|
+
url: '/estates/{estateId}/properties',
|
|
256
|
+
...options
|
|
257
|
+
});
|
|
258
|
+
/**
|
|
259
|
+
* Add a property to the estate
|
|
260
|
+
*/
|
|
261
|
+
export const createProperty = (options) => (options.client ?? client).post({
|
|
262
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
263
|
+
url: '/estates/{estateId}/properties',
|
|
264
|
+
...options,
|
|
265
|
+
headers: {
|
|
266
|
+
'Content-Type': 'application/json',
|
|
267
|
+
...options.headers
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
/**
|
|
271
|
+
* Remove a property from the estate
|
|
272
|
+
*/
|
|
273
|
+
export const deleteProperty = (options) => (options.client ?? client).delete({
|
|
274
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
275
|
+
url: '/estates/{estateId}/properties/{propertyId}',
|
|
276
|
+
...options
|
|
277
|
+
});
|
|
278
|
+
/**
|
|
279
|
+
* Get a property
|
|
280
|
+
*/
|
|
281
|
+
export const getProperty = (options) => (options.client ?? client).get({
|
|
282
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
283
|
+
url: '/estates/{estateId}/properties/{propertyId}',
|
|
284
|
+
...options
|
|
285
|
+
});
|
|
286
|
+
/**
|
|
287
|
+
* Partial update a property
|
|
288
|
+
*/
|
|
289
|
+
export const updateProperty = (options) => (options.client ?? client).patch({
|
|
290
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
291
|
+
url: '/estates/{estateId}/properties/{propertyId}',
|
|
292
|
+
...options,
|
|
293
|
+
headers: {
|
|
294
|
+
'Content-Type': 'application/json',
|
|
295
|
+
...options.headers
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
/**
|
|
299
|
+
* Replace a property (full update)
|
|
300
|
+
*/
|
|
301
|
+
export const replaceProperty = (options) => (options.client ?? client).put({
|
|
302
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
303
|
+
url: '/estates/{estateId}/properties/{propertyId}',
|
|
304
|
+
...options,
|
|
305
|
+
headers: {
|
|
306
|
+
'Content-Type': 'application/json',
|
|
307
|
+
...options.headers
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
/**
|
|
311
|
+
* List all assets in the estate
|
|
312
|
+
*/
|
|
313
|
+
export const listAssets = (options) => (options.client ?? client).get({
|
|
314
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
315
|
+
url: '/estates/{estateId}/assets',
|
|
316
|
+
...options
|
|
317
|
+
});
|
|
318
|
+
/**
|
|
319
|
+
* Add an asset to the estate
|
|
320
|
+
*/
|
|
321
|
+
export const createAsset = (options) => (options.client ?? client).post({
|
|
322
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
323
|
+
url: '/estates/{estateId}/assets',
|
|
324
|
+
...options,
|
|
325
|
+
headers: {
|
|
326
|
+
'Content-Type': 'application/json',
|
|
327
|
+
...options.headers
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
/**
|
|
331
|
+
* Remove an asset from the estate
|
|
332
|
+
*/
|
|
333
|
+
export const deleteAsset = (options) => (options.client ?? client).delete({
|
|
334
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
335
|
+
url: '/estates/{estateId}/assets/{assetId}',
|
|
336
|
+
...options
|
|
337
|
+
});
|
|
338
|
+
/**
|
|
339
|
+
* Get an asset
|
|
340
|
+
*/
|
|
341
|
+
export const getAsset = (options) => (options.client ?? client).get({
|
|
342
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
343
|
+
url: '/estates/{estateId}/assets/{assetId}',
|
|
344
|
+
...options
|
|
345
|
+
});
|
|
346
|
+
/**
|
|
347
|
+
* Partial update an asset
|
|
348
|
+
*/
|
|
349
|
+
export const updateAsset = (options) => (options.client ?? client).patch({
|
|
350
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
351
|
+
url: '/estates/{estateId}/assets/{assetId}',
|
|
352
|
+
...options,
|
|
353
|
+
headers: {
|
|
354
|
+
'Content-Type': 'application/json',
|
|
355
|
+
...options.headers
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
/**
|
|
359
|
+
* Replace an asset (full update)
|
|
360
|
+
*/
|
|
361
|
+
export const replaceAsset = (options) => (options.client ?? client).put({
|
|
362
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
363
|
+
url: '/estates/{estateId}/assets/{assetId}',
|
|
364
|
+
...options,
|
|
365
|
+
headers: {
|
|
366
|
+
'Content-Type': 'application/json',
|
|
367
|
+
...options.headers
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
/**
|
|
371
|
+
* List all liabilities in the estate
|
|
372
|
+
*/
|
|
373
|
+
export const listLiabilities = (options) => (options.client ?? client).get({
|
|
374
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
375
|
+
url: '/estates/{estateId}/liabilities',
|
|
376
|
+
...options
|
|
377
|
+
});
|
|
378
|
+
/**
|
|
379
|
+
* Add a liability to the estate
|
|
380
|
+
*/
|
|
381
|
+
export const createLiability = (options) => (options.client ?? client).post({
|
|
382
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
383
|
+
url: '/estates/{estateId}/liabilities',
|
|
384
|
+
...options,
|
|
385
|
+
headers: {
|
|
386
|
+
'Content-Type': 'application/json',
|
|
387
|
+
...options.headers
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
/**
|
|
391
|
+
* Remove a liability from the estate
|
|
392
|
+
*/
|
|
393
|
+
export const deleteLiability = (options) => (options.client ?? client).delete({
|
|
394
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
395
|
+
url: '/estates/{estateId}/liabilities/{liabilityId}',
|
|
396
|
+
...options
|
|
397
|
+
});
|
|
398
|
+
/**
|
|
399
|
+
* Get a liability
|
|
400
|
+
*/
|
|
401
|
+
export const getLiability = (options) => (options.client ?? client).get({
|
|
402
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
403
|
+
url: '/estates/{estateId}/liabilities/{liabilityId}',
|
|
404
|
+
...options
|
|
405
|
+
});
|
|
406
|
+
/**
|
|
407
|
+
* Partial update a liability
|
|
408
|
+
*/
|
|
409
|
+
export const updateLiability = (options) => (options.client ?? client).patch({
|
|
410
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
411
|
+
url: '/estates/{estateId}/liabilities/{liabilityId}',
|
|
412
|
+
...options,
|
|
413
|
+
headers: {
|
|
414
|
+
'Content-Type': 'application/json',
|
|
415
|
+
...options.headers
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
/**
|
|
419
|
+
* Replace a liability (full update)
|
|
420
|
+
*/
|
|
421
|
+
export const replaceLiability = (options) => (options.client ?? client).put({
|
|
422
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
423
|
+
url: '/estates/{estateId}/liabilities/{liabilityId}',
|
|
424
|
+
...options,
|
|
425
|
+
headers: {
|
|
426
|
+
'Content-Type': 'application/json',
|
|
427
|
+
...options.headers
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
/**
|
|
431
|
+
* List all bequests in the estate
|
|
432
|
+
*/
|
|
433
|
+
export const listBequests = (options) => (options.client ?? client).get({
|
|
434
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
435
|
+
url: '/estates/{estateId}/bequests',
|
|
436
|
+
...options
|
|
437
|
+
});
|
|
438
|
+
/**
|
|
439
|
+
* Add a bequest to the estate
|
|
440
|
+
*/
|
|
441
|
+
export const createBequest = (options) => (options.client ?? client).post({
|
|
442
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
443
|
+
url: '/estates/{estateId}/bequests',
|
|
444
|
+
...options,
|
|
445
|
+
headers: {
|
|
446
|
+
'Content-Type': 'application/json',
|
|
447
|
+
...options.headers
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
/**
|
|
451
|
+
* Remove a bequest from the estate
|
|
452
|
+
*/
|
|
453
|
+
export const deleteBequest = (options) => (options.client ?? client).delete({
|
|
454
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
455
|
+
url: '/estates/{estateId}/bequests/{bequestId}',
|
|
456
|
+
...options
|
|
457
|
+
});
|
|
458
|
+
/**
|
|
459
|
+
* Get a bequest
|
|
460
|
+
*/
|
|
461
|
+
export const getBequest = (options) => (options.client ?? client).get({
|
|
462
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
463
|
+
url: '/estates/{estateId}/bequests/{bequestId}',
|
|
464
|
+
...options
|
|
465
|
+
});
|
|
466
|
+
/**
|
|
467
|
+
* Partial update a bequest
|
|
468
|
+
*/
|
|
469
|
+
export const updateBequest = (options) => (options.client ?? client).patch({
|
|
470
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
471
|
+
url: '/estates/{estateId}/bequests/{bequestId}',
|
|
472
|
+
...options,
|
|
473
|
+
headers: {
|
|
474
|
+
'Content-Type': 'application/json',
|
|
475
|
+
...options.headers
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
/**
|
|
479
|
+
* Replace a bequest (full update)
|
|
480
|
+
*/
|
|
481
|
+
export const replaceBequest = (options) => (options.client ?? client).put({
|
|
482
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
483
|
+
url: '/estates/{estateId}/bequests/{bequestId}',
|
|
484
|
+
...options,
|
|
485
|
+
headers: {
|
|
486
|
+
'Content-Type': 'application/json',
|
|
487
|
+
...options.headers
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
/**
|
|
491
|
+
* List all trusts in the estate
|
|
492
|
+
*/
|
|
493
|
+
export const listTrusts = (options) => (options.client ?? client).get({
|
|
494
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
495
|
+
url: '/estates/{estateId}/trusts',
|
|
496
|
+
...options
|
|
497
|
+
});
|
|
498
|
+
/**
|
|
499
|
+
* Add a trust to the estate
|
|
500
|
+
*/
|
|
501
|
+
export const createTrust = (options) => (options.client ?? client).post({
|
|
502
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
503
|
+
url: '/estates/{estateId}/trusts',
|
|
504
|
+
...options,
|
|
505
|
+
headers: {
|
|
506
|
+
'Content-Type': 'application/json',
|
|
507
|
+
...options.headers
|
|
508
|
+
}
|
|
509
|
+
});
|
|
510
|
+
/**
|
|
511
|
+
* Remove a trust from the estate
|
|
512
|
+
*/
|
|
513
|
+
export const deleteTrust = (options) => (options.client ?? client).delete({
|
|
514
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
515
|
+
url: '/estates/{estateId}/trusts/{trustId}',
|
|
516
|
+
...options
|
|
517
|
+
});
|
|
518
|
+
/**
|
|
519
|
+
* Get a trust
|
|
520
|
+
*/
|
|
521
|
+
export const getTrust = (options) => (options.client ?? client).get({
|
|
522
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
523
|
+
url: '/estates/{estateId}/trusts/{trustId}',
|
|
524
|
+
...options
|
|
525
|
+
});
|
|
526
|
+
/**
|
|
527
|
+
* Partial update a trust
|
|
528
|
+
*/
|
|
529
|
+
export const updateTrust = (options) => (options.client ?? client).patch({
|
|
530
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
531
|
+
url: '/estates/{estateId}/trusts/{trustId}',
|
|
532
|
+
...options,
|
|
533
|
+
headers: {
|
|
534
|
+
'Content-Type': 'application/json',
|
|
535
|
+
...options.headers
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
/**
|
|
539
|
+
* Replace a trust (full update)
|
|
540
|
+
*/
|
|
541
|
+
export const replaceTrust = (options) => (options.client ?? client).put({
|
|
542
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
543
|
+
url: '/estates/{estateId}/trusts/{trustId}',
|
|
544
|
+
...options,
|
|
545
|
+
headers: {
|
|
546
|
+
'Content-Type': 'application/json',
|
|
547
|
+
...options.headers
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
/**
|
|
551
|
+
* List all executors in the estate
|
|
552
|
+
*/
|
|
553
|
+
export const listExecutors = (options) => (options.client ?? client).get({
|
|
554
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
555
|
+
url: '/estates/{estateId}/executors',
|
|
556
|
+
...options
|
|
557
|
+
});
|
|
558
|
+
/**
|
|
559
|
+
* Add an executor to the estate
|
|
560
|
+
*/
|
|
561
|
+
export const createExecutor = (options) => (options.client ?? client).post({
|
|
562
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
563
|
+
url: '/estates/{estateId}/executors',
|
|
564
|
+
...options,
|
|
565
|
+
headers: {
|
|
566
|
+
'Content-Type': 'application/json',
|
|
567
|
+
...options.headers
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
/**
|
|
571
|
+
* Remove an executor from the estate
|
|
572
|
+
*/
|
|
573
|
+
export const deleteExecutor = (options) => (options.client ?? client).delete({
|
|
574
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
575
|
+
url: '/estates/{estateId}/executors/{executorId}',
|
|
576
|
+
...options
|
|
577
|
+
});
|
|
578
|
+
/**
|
|
579
|
+
* Get an executor
|
|
580
|
+
*/
|
|
581
|
+
export const getExecutor = (options) => (options.client ?? client).get({
|
|
582
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
583
|
+
url: '/estates/{estateId}/executors/{executorId}',
|
|
584
|
+
...options
|
|
585
|
+
});
|
|
586
|
+
/**
|
|
587
|
+
* Partial update an executor
|
|
588
|
+
*/
|
|
589
|
+
export const updateExecutor = (options) => (options.client ?? client).patch({
|
|
590
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
591
|
+
url: '/estates/{estateId}/executors/{executorId}',
|
|
592
|
+
...options,
|
|
593
|
+
headers: {
|
|
594
|
+
'Content-Type': 'application/json',
|
|
595
|
+
...options.headers
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
/**
|
|
599
|
+
* Replace an executor (full update)
|
|
600
|
+
*/
|
|
601
|
+
export const replaceExecutor = (options) => (options.client ?? client).put({
|
|
602
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
603
|
+
url: '/estates/{estateId}/executors/{executorId}',
|
|
604
|
+
...options,
|
|
605
|
+
headers: {
|
|
606
|
+
'Content-Type': 'application/json',
|
|
607
|
+
...options.headers
|
|
608
|
+
}
|
|
609
|
+
});
|
|
610
|
+
/**
|
|
611
|
+
* List all guardians in the estate
|
|
612
|
+
*/
|
|
613
|
+
export const listGuardians = (options) => (options.client ?? client).get({
|
|
614
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
615
|
+
url: '/estates/{estateId}/guardians',
|
|
616
|
+
...options
|
|
617
|
+
});
|
|
618
|
+
/**
|
|
619
|
+
* Add a guardian to the estate
|
|
620
|
+
*/
|
|
621
|
+
export const createGuardian = (options) => (options.client ?? client).post({
|
|
622
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
623
|
+
url: '/estates/{estateId}/guardians',
|
|
624
|
+
...options,
|
|
625
|
+
headers: {
|
|
626
|
+
'Content-Type': 'application/json',
|
|
627
|
+
...options.headers
|
|
628
|
+
}
|
|
629
|
+
});
|
|
630
|
+
/**
|
|
631
|
+
* Remove a guardian from the estate
|
|
632
|
+
*/
|
|
633
|
+
export const deleteGuardian = (options) => (options.client ?? client).delete({
|
|
634
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
635
|
+
url: '/estates/{estateId}/guardians/{guardianId}',
|
|
636
|
+
...options
|
|
637
|
+
});
|
|
638
|
+
/**
|
|
639
|
+
* Get a guardian
|
|
640
|
+
*/
|
|
641
|
+
export const getGuardian = (options) => (options.client ?? client).get({
|
|
642
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
643
|
+
url: '/estates/{estateId}/guardians/{guardianId}',
|
|
644
|
+
...options
|
|
645
|
+
});
|
|
646
|
+
/**
|
|
647
|
+
* Partial update a guardian
|
|
648
|
+
*/
|
|
649
|
+
export const updateGuardian = (options) => (options.client ?? client).patch({
|
|
650
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
651
|
+
url: '/estates/{estateId}/guardians/{guardianId}',
|
|
652
|
+
...options,
|
|
653
|
+
headers: {
|
|
654
|
+
'Content-Type': 'application/json',
|
|
655
|
+
...options.headers
|
|
656
|
+
}
|
|
657
|
+
});
|
|
658
|
+
/**
|
|
659
|
+
* Replace a guardian (full update)
|
|
660
|
+
*/
|
|
661
|
+
export const replaceGuardian = (options) => (options.client ?? client).put({
|
|
662
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
663
|
+
url: '/estates/{estateId}/guardians/{guardianId}',
|
|
664
|
+
...options,
|
|
665
|
+
headers: {
|
|
666
|
+
'Content-Type': 'application/json',
|
|
667
|
+
...options.headers
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
/**
|
|
671
|
+
* List all wishes in the estate
|
|
672
|
+
*/
|
|
673
|
+
export const listWishes = (options) => (options.client ?? client).get({
|
|
674
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
675
|
+
url: '/estates/{estateId}/wishes',
|
|
676
|
+
...options
|
|
677
|
+
});
|
|
678
|
+
/**
|
|
679
|
+
* Add a wish to the estate
|
|
680
|
+
*/
|
|
681
|
+
export const createWish = (options) => (options.client ?? client).post({
|
|
682
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
683
|
+
url: '/estates/{estateId}/wishes',
|
|
684
|
+
...options,
|
|
685
|
+
headers: {
|
|
686
|
+
'Content-Type': 'application/json',
|
|
687
|
+
...options.headers
|
|
688
|
+
}
|
|
689
|
+
});
|
|
690
|
+
/**
|
|
691
|
+
* Remove a wish from the estate
|
|
692
|
+
*/
|
|
693
|
+
export const deleteWish = (options) => (options.client ?? client).delete({
|
|
694
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
695
|
+
url: '/estates/{estateId}/wishes/{wishId}',
|
|
696
|
+
...options
|
|
697
|
+
});
|
|
698
|
+
/**
|
|
699
|
+
* Get a wish
|
|
700
|
+
*/
|
|
701
|
+
export const getWish = (options) => (options.client ?? client).get({
|
|
702
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
703
|
+
url: '/estates/{estateId}/wishes/{wishId}',
|
|
704
|
+
...options
|
|
705
|
+
});
|
|
706
|
+
/**
|
|
707
|
+
* Partial update a wish
|
|
708
|
+
*/
|
|
709
|
+
export const updateWish = (options) => (options.client ?? client).patch({
|
|
710
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
711
|
+
url: '/estates/{estateId}/wishes/{wishId}',
|
|
712
|
+
...options,
|
|
713
|
+
headers: {
|
|
714
|
+
'Content-Type': 'application/json',
|
|
715
|
+
...options.headers
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
/**
|
|
719
|
+
* Replace a wish (full update)
|
|
720
|
+
*/
|
|
721
|
+
export const replaceWish = (options) => (options.client ?? client).put({
|
|
722
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
723
|
+
url: '/estates/{estateId}/wishes/{wishId}',
|
|
724
|
+
...options,
|
|
725
|
+
headers: {
|
|
726
|
+
'Content-Type': 'application/json',
|
|
727
|
+
...options.headers
|
|
728
|
+
}
|
|
729
|
+
});
|
|
730
|
+
/**
|
|
731
|
+
* List all documents in the estate
|
|
732
|
+
*/
|
|
733
|
+
export const listDocuments = (options) => (options.client ?? client).get({
|
|
734
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
735
|
+
url: '/estates/{estateId}/documents',
|
|
736
|
+
...options
|
|
737
|
+
});
|
|
738
|
+
/**
|
|
739
|
+
* Add a document to the estate
|
|
740
|
+
*/
|
|
741
|
+
export const createDocument = (options) => (options.client ?? client).post({
|
|
742
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
743
|
+
url: '/estates/{estateId}/documents',
|
|
744
|
+
...options,
|
|
745
|
+
headers: {
|
|
746
|
+
'Content-Type': 'application/json',
|
|
747
|
+
...options.headers
|
|
748
|
+
}
|
|
749
|
+
});
|
|
750
|
+
/**
|
|
751
|
+
* Remove a document from the estate
|
|
752
|
+
*/
|
|
753
|
+
export const deleteDocument = (options) => (options.client ?? client).delete({
|
|
754
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
755
|
+
url: '/estates/{estateId}/documents/{documentId}',
|
|
756
|
+
...options
|
|
757
|
+
});
|
|
758
|
+
/**
|
|
759
|
+
* Get a document
|
|
760
|
+
*/
|
|
761
|
+
export const getDocument = (options) => (options.client ?? client).get({
|
|
762
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
763
|
+
url: '/estates/{estateId}/documents/{documentId}',
|
|
764
|
+
...options
|
|
765
|
+
});
|
|
766
|
+
/**
|
|
767
|
+
* Partial update a document
|
|
768
|
+
*/
|
|
769
|
+
export const updateDocument = (options) => (options.client ?? client).patch({
|
|
770
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
771
|
+
url: '/estates/{estateId}/documents/{documentId}',
|
|
772
|
+
...options,
|
|
773
|
+
headers: {
|
|
774
|
+
'Content-Type': 'application/json',
|
|
775
|
+
...options.headers
|
|
776
|
+
}
|
|
777
|
+
});
|
|
778
|
+
/**
|
|
779
|
+
* Replace a document (full update)
|
|
780
|
+
*/
|
|
781
|
+
export const replaceDocument = (options) => (options.client ?? client).put({
|
|
782
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
783
|
+
url: '/estates/{estateId}/documents/{documentId}',
|
|
784
|
+
...options,
|
|
785
|
+
headers: {
|
|
786
|
+
'Content-Type': 'application/json',
|
|
787
|
+
...options.headers
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
/**
|
|
791
|
+
* List all attestations in the estate
|
|
792
|
+
*/
|
|
793
|
+
export const listAttestations = (options) => (options.client ?? client).get({
|
|
794
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
795
|
+
url: '/estates/{estateId}/attestations',
|
|
796
|
+
...options
|
|
797
|
+
});
|
|
798
|
+
/**
|
|
799
|
+
* Add an attestation to the estate
|
|
800
|
+
*/
|
|
801
|
+
export const createAttestation = (options) => (options.client ?? client).post({
|
|
802
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
803
|
+
url: '/estates/{estateId}/attestations',
|
|
804
|
+
...options,
|
|
805
|
+
headers: {
|
|
806
|
+
'Content-Type': 'application/json',
|
|
807
|
+
...options.headers
|
|
808
|
+
}
|
|
809
|
+
});
|
|
810
|
+
/**
|
|
811
|
+
* Remove an attestation from the estate
|
|
812
|
+
*/
|
|
813
|
+
export const deleteAttestation = (options) => (options.client ?? client).delete({
|
|
814
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
815
|
+
url: '/estates/{estateId}/attestations/{attestationId}',
|
|
816
|
+
...options
|
|
817
|
+
});
|
|
818
|
+
/**
|
|
819
|
+
* Get an attestation
|
|
820
|
+
*/
|
|
821
|
+
export const getAttestation = (options) => (options.client ?? client).get({
|
|
822
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
823
|
+
url: '/estates/{estateId}/attestations/{attestationId}',
|
|
824
|
+
...options
|
|
825
|
+
});
|
|
826
|
+
/**
|
|
827
|
+
* Partial update an attestation
|
|
828
|
+
*/
|
|
829
|
+
export const updateAttestation = (options) => (options.client ?? client).patch({
|
|
830
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
831
|
+
url: '/estates/{estateId}/attestations/{attestationId}',
|
|
832
|
+
...options,
|
|
833
|
+
headers: {
|
|
834
|
+
'Content-Type': 'application/json',
|
|
835
|
+
...options.headers
|
|
836
|
+
}
|
|
837
|
+
});
|
|
838
|
+
/**
|
|
839
|
+
* Replace an attestation (full update)
|
|
840
|
+
*/
|
|
841
|
+
export const replaceAttestation = (options) => (options.client ?? client).put({
|
|
842
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
843
|
+
url: '/estates/{estateId}/attestations/{attestationId}',
|
|
844
|
+
...options,
|
|
845
|
+
headers: {
|
|
846
|
+
'Content-Type': 'application/json',
|
|
847
|
+
...options.headers
|
|
848
|
+
}
|
|
849
|
+
});
|
|
850
|
+
/**
|
|
851
|
+
* List all nonprobate transfers in the estate
|
|
852
|
+
*/
|
|
853
|
+
export const listNonprobateTransfers = (options) => (options.client ?? client).get({
|
|
854
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
855
|
+
url: '/estates/{estateId}/nonprobate-transfers',
|
|
856
|
+
...options
|
|
857
|
+
});
|
|
858
|
+
/**
|
|
859
|
+
* Add a nonprobate transfer to the estate
|
|
860
|
+
*/
|
|
861
|
+
export const createNonprobateTransfer = (options) => (options.client ?? client).post({
|
|
862
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
863
|
+
url: '/estates/{estateId}/nonprobate-transfers',
|
|
864
|
+
...options,
|
|
865
|
+
headers: {
|
|
866
|
+
'Content-Type': 'application/json',
|
|
867
|
+
...options.headers
|
|
868
|
+
}
|
|
869
|
+
});
|
|
870
|
+
/**
|
|
871
|
+
* Remove a nonprobate transfer from the estate
|
|
872
|
+
*/
|
|
873
|
+
export const deleteNonprobateTransfer = (options) => (options.client ?? client).delete({
|
|
874
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
875
|
+
url: '/estates/{estateId}/nonprobate-transfers/{transferId}',
|
|
876
|
+
...options
|
|
877
|
+
});
|
|
878
|
+
/**
|
|
879
|
+
* Get a nonprobate transfer
|
|
880
|
+
*/
|
|
881
|
+
export const getNonprobateTransfer = (options) => (options.client ?? client).get({
|
|
882
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
883
|
+
url: '/estates/{estateId}/nonprobate-transfers/{transferId}',
|
|
884
|
+
...options
|
|
885
|
+
});
|
|
886
|
+
/**
|
|
887
|
+
* Partial update a nonprobate transfer
|
|
888
|
+
*/
|
|
889
|
+
export const updateNonprobateTransfer = (options) => (options.client ?? client).patch({
|
|
890
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
891
|
+
url: '/estates/{estateId}/nonprobate-transfers/{transferId}',
|
|
892
|
+
...options,
|
|
893
|
+
headers: {
|
|
894
|
+
'Content-Type': 'application/json',
|
|
895
|
+
...options.headers
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
/**
|
|
899
|
+
* Replace a nonprobate transfer (full update)
|
|
900
|
+
*/
|
|
901
|
+
export const replaceNonprobateTransfer = (options) => (options.client ?? client).put({
|
|
902
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
903
|
+
url: '/estates/{estateId}/nonprobate-transfers/{transferId}',
|
|
904
|
+
...options,
|
|
905
|
+
headers: {
|
|
906
|
+
'Content-Type': 'application/json',
|
|
907
|
+
...options.headers
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
/**
|
|
911
|
+
* List all proxy authorisations in the estate
|
|
912
|
+
*/
|
|
913
|
+
export const listProxyAuthorisations = (options) => (options.client ?? client).get({
|
|
914
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
915
|
+
url: '/estates/{estateId}/proxy-authorisations',
|
|
916
|
+
...options
|
|
917
|
+
});
|
|
918
|
+
/**
|
|
919
|
+
* Add a proxy authorisation to the estate
|
|
920
|
+
*/
|
|
921
|
+
export const createProxyAuthorisation = (options) => (options.client ?? client).post({
|
|
922
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
923
|
+
url: '/estates/{estateId}/proxy-authorisations',
|
|
924
|
+
...options,
|
|
925
|
+
headers: {
|
|
926
|
+
'Content-Type': 'application/json',
|
|
927
|
+
...options.headers
|
|
928
|
+
}
|
|
929
|
+
});
|
|
930
|
+
/**
|
|
931
|
+
* Remove a proxy authorisation from the estate
|
|
932
|
+
*/
|
|
933
|
+
export const deleteProxyAuthorisation = (options) => (options.client ?? client).delete({
|
|
934
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
935
|
+
url: '/estates/{estateId}/proxy-authorisations/{authorisationId}',
|
|
936
|
+
...options
|
|
937
|
+
});
|
|
938
|
+
/**
|
|
939
|
+
* Get a proxy authorisation
|
|
940
|
+
*/
|
|
941
|
+
export const getProxyAuthorisation = (options) => (options.client ?? client).get({
|
|
942
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
943
|
+
url: '/estates/{estateId}/proxy-authorisations/{authorisationId}',
|
|
944
|
+
...options
|
|
945
|
+
});
|
|
946
|
+
/**
|
|
947
|
+
* Partial update a proxy authorisation
|
|
948
|
+
*/
|
|
949
|
+
export const updateProxyAuthorisation = (options) => (options.client ?? client).patch({
|
|
950
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
951
|
+
url: '/estates/{estateId}/proxy-authorisations/{authorisationId}',
|
|
952
|
+
...options,
|
|
953
|
+
headers: {
|
|
954
|
+
'Content-Type': 'application/json',
|
|
955
|
+
...options.headers
|
|
956
|
+
}
|
|
957
|
+
});
|
|
958
|
+
/**
|
|
959
|
+
* Replace a proxy authorisation (full update)
|
|
960
|
+
*/
|
|
961
|
+
export const replaceProxyAuthorisation = (options) => (options.client ?? client).put({
|
|
962
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
963
|
+
url: '/estates/{estateId}/proxy-authorisations/{authorisationId}',
|
|
964
|
+
...options,
|
|
965
|
+
headers: {
|
|
966
|
+
'Content-Type': 'application/json',
|
|
967
|
+
...options.headers
|
|
968
|
+
}
|
|
969
|
+
});
|
|
970
|
+
/**
|
|
971
|
+
* List all dealer interests in the estate
|
|
972
|
+
*/
|
|
973
|
+
export const listDealerInterests = (options) => (options.client ?? client).get({
|
|
974
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
975
|
+
url: '/estates/{estateId}/dealer-interests',
|
|
976
|
+
...options
|
|
977
|
+
});
|
|
978
|
+
/**
|
|
979
|
+
* Add a dealer interest to the estate
|
|
980
|
+
*/
|
|
981
|
+
export const createDealerInterest = (options) => (options.client ?? client).post({
|
|
982
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
983
|
+
url: '/estates/{estateId}/dealer-interests',
|
|
984
|
+
...options,
|
|
985
|
+
headers: {
|
|
986
|
+
'Content-Type': 'application/json',
|
|
987
|
+
...options.headers
|
|
988
|
+
}
|
|
989
|
+
});
|
|
990
|
+
/**
|
|
991
|
+
* Remove a dealer interest from the estate
|
|
992
|
+
*/
|
|
993
|
+
export const deleteDealerInterest = (options) => (options.client ?? client).delete({
|
|
994
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
995
|
+
url: '/estates/{estateId}/dealer-interests/{interestId}',
|
|
996
|
+
...options
|
|
997
|
+
});
|
|
998
|
+
/**
|
|
999
|
+
* Get a dealer interest
|
|
1000
|
+
*/
|
|
1001
|
+
export const getDealerInterest = (options) => (options.client ?? client).get({
|
|
1002
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1003
|
+
url: '/estates/{estateId}/dealer-interests/{interestId}',
|
|
1004
|
+
...options
|
|
1005
|
+
});
|
|
1006
|
+
/**
|
|
1007
|
+
* Partial update a dealer interest
|
|
1008
|
+
*/
|
|
1009
|
+
export const updateDealerInterest = (options) => (options.client ?? client).patch({
|
|
1010
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1011
|
+
url: '/estates/{estateId}/dealer-interests/{interestId}',
|
|
1012
|
+
...options,
|
|
1013
|
+
headers: {
|
|
1014
|
+
'Content-Type': 'application/json',
|
|
1015
|
+
...options.headers
|
|
1016
|
+
}
|
|
1017
|
+
});
|
|
1018
|
+
/**
|
|
1019
|
+
* Replace a dealer interest (full update)
|
|
1020
|
+
*/
|
|
1021
|
+
export const replaceDealerInterest = (options) => (options.client ?? client).put({
|
|
1022
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1023
|
+
url: '/estates/{estateId}/dealer-interests/{interestId}',
|
|
1024
|
+
...options,
|
|
1025
|
+
headers: {
|
|
1026
|
+
'Content-Type': 'application/json',
|
|
1027
|
+
...options.headers
|
|
1028
|
+
}
|
|
1029
|
+
});
|
|
1030
|
+
/**
|
|
1031
|
+
* Export estate as INHERIT JSON document
|
|
1032
|
+
*
|
|
1033
|
+
* Returns a complete INHERIT root document containing all entities for the
|
|
1034
|
+
* estate. The exportedAt, exportedBy, and generator fields are set by the
|
|
1035
|
+
* server at the time of export.
|
|
1036
|
+
*
|
|
1037
|
+
*/
|
|
1038
|
+
export const exportEstateJson = (options) => (options.client ?? client).post({
|
|
1039
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1040
|
+
url: '/estates/{estateId}/export/json',
|
|
1041
|
+
...options,
|
|
1042
|
+
headers: {
|
|
1043
|
+
'Content-Type': 'application/json',
|
|
1044
|
+
...options.headers
|
|
1045
|
+
}
|
|
1046
|
+
});
|
|
1047
|
+
/**
|
|
1048
|
+
* Export estate as a PDF report
|
|
1049
|
+
*
|
|
1050
|
+
* Renders a PDF report of the estate using the specified template.
|
|
1051
|
+
* Three templates are available: full (for the testator), summary (for
|
|
1052
|
+
* the family), and professional (for an estate planning professional).
|
|
1053
|
+
*
|
|
1054
|
+
*/
|
|
1055
|
+
export const exportEstatePdf = (options) => (options.client ?? client).post({
|
|
1056
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1057
|
+
url: '/estates/{estateId}/export/pdf',
|
|
1058
|
+
...options,
|
|
1059
|
+
headers: {
|
|
1060
|
+
'Content-Type': 'application/json',
|
|
1061
|
+
...options.headers
|
|
1062
|
+
}
|
|
1063
|
+
});
|
|
1064
|
+
/**
|
|
1065
|
+
* Import an INHERIT JSON document as a new estate
|
|
1066
|
+
*
|
|
1067
|
+
* Accepts a complete INHERIT JSON document and creates a new estate from it.
|
|
1068
|
+
* Level 1 conformance is required for import to succeed. Levels 2–3
|
|
1069
|
+
* produce non-fatal warnings included in the response.
|
|
1070
|
+
*
|
|
1071
|
+
*/
|
|
1072
|
+
export const importEstate = (options) => (options.client ?? client).post({
|
|
1073
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1074
|
+
url: '/estates/import',
|
|
1075
|
+
...options,
|
|
1076
|
+
headers: {
|
|
1077
|
+
'Content-Type': 'application/vnd.openinherit.v1+json',
|
|
1078
|
+
...options.headers
|
|
1079
|
+
}
|
|
1080
|
+
});
|
|
1081
|
+
/**
|
|
1082
|
+
* Validate a stored estate at all conformance levels
|
|
1083
|
+
*
|
|
1084
|
+
* Validates the stored estate against all three INHERIT conformance levels
|
|
1085
|
+
* progressively. Returns detailed validation results including the highest
|
|
1086
|
+
* level achieved and any violations found at each level.
|
|
1087
|
+
*
|
|
1088
|
+
*/
|
|
1089
|
+
export const validateEstate = (options) => (options.client ?? client).get({
|
|
1090
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1091
|
+
url: '/estates/{estateId}/validate',
|
|
1092
|
+
...options
|
|
1093
|
+
});
|
|
1094
|
+
/**
|
|
1095
|
+
* Unlink the companion estate
|
|
1096
|
+
*
|
|
1097
|
+
* Removes the companion link between this estate and its companion.
|
|
1098
|
+
*/
|
|
1099
|
+
export const unlinkCompanion = (options) => (options.client ?? client).delete({
|
|
1100
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1101
|
+
url: '/estates/{estateId}/companion',
|
|
1102
|
+
...options
|
|
1103
|
+
});
|
|
1104
|
+
/**
|
|
1105
|
+
* Get the companion estate summary
|
|
1106
|
+
*
|
|
1107
|
+
* Returns a summary of the estate linked as a companion to this one.
|
|
1108
|
+
* Returns 404 if this estate has no companion linked.
|
|
1109
|
+
*
|
|
1110
|
+
*/
|
|
1111
|
+
export const getCompanion = (options) => (options.client ?? client).get({
|
|
1112
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1113
|
+
url: '/estates/{estateId}/companion',
|
|
1114
|
+
...options
|
|
1115
|
+
});
|
|
1116
|
+
/**
|
|
1117
|
+
* Link a companion estate
|
|
1118
|
+
*
|
|
1119
|
+
* Links another estate as a companion to this one, typically used for
|
|
1120
|
+
* couples where each partner has their own estate record. Both estates
|
|
1121
|
+
* must exist and must not already be linked to a companion.
|
|
1122
|
+
*
|
|
1123
|
+
*/
|
|
1124
|
+
export const linkCompanion = (options) => (options.client ?? client).post({
|
|
1125
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1126
|
+
url: '/estates/{estateId}/companion',
|
|
1127
|
+
...options,
|
|
1128
|
+
headers: {
|
|
1129
|
+
'Content-Type': 'application/json',
|
|
1130
|
+
...options.headers
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
/**
|
|
1134
|
+
* Get derived estate summary statistics
|
|
1135
|
+
*
|
|
1136
|
+
* Returns derived statistics for the estate including entity counts,
|
|
1137
|
+
* estimated values, conformance level, completeness indicators, and
|
|
1138
|
+
* complexity indicators. Complexity data is used by the INHERIT matchmaker
|
|
1139
|
+
* to assess suitability for estate planning professional referral.
|
|
1140
|
+
*
|
|
1141
|
+
*/
|
|
1142
|
+
export const getEstateSummary = (options) => (options.client ?? client).get({
|
|
1143
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1144
|
+
url: '/estates/{estateId}/summary',
|
|
1145
|
+
...options
|
|
1146
|
+
});
|
|
1147
|
+
//# sourceMappingURL=sdk.gen.js.map
|