@digitalmedika/satusehat 0.1.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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +135 -0
  3. package/dist/builders/cbc-panel-builder.d.ts +18 -0
  4. package/dist/builders/laboratory-panel-builder.d.ts +72 -0
  5. package/dist/builders/organization-builder.d.ts +23 -0
  6. package/dist/builders/service-request-specimen-observation-builder.d.ts +62 -0
  7. package/dist/client/auth.d.ts +11 -0
  8. package/dist/client/create-client.d.ts +5 -0
  9. package/dist/client/token-store.d.ts +7 -0
  10. package/dist/client/transport.d.ts +28 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/types.d.ts +293 -0
  13. package/dist/endpoints/condition.d.ts +945 -0
  14. package/dist/endpoints/diagnostic-report.d.ts +560 -0
  15. package/dist/endpoints/encounter.d.ts +1150 -0
  16. package/dist/endpoints/location.d.ts +500 -0
  17. package/dist/endpoints/medication-request.d.ts +1585 -0
  18. package/dist/endpoints/medication.d.ts +395 -0
  19. package/dist/endpoints/observation.d.ts +1415 -0
  20. package/dist/endpoints/organization.d.ts +454 -0
  21. package/dist/endpoints/patient.d.ts +72 -0
  22. package/dist/endpoints/practitioner-role.d.ts +425 -0
  23. package/dist/endpoints/practitioner.d.ts +210 -0
  24. package/dist/endpoints/procedure.d.ts +990 -0
  25. package/dist/endpoints/service-request.d.ts +1040 -0
  26. package/dist/endpoints/specimen.d.ts +1005 -0
  27. package/dist/index.d.ts +26 -0
  28. package/dist/index.js +21 -0
  29. package/dist/schemas/common.d.ts +328 -0
  30. package/dist/schemas/condition.d.ts +5314 -0
  31. package/dist/schemas/diagnostic-report.d.ts +2631 -0
  32. package/dist/schemas/encounter.d.ts +7087 -0
  33. package/dist/schemas/location.d.ts +2432 -0
  34. package/dist/schemas/medication-request.d.ts +12183 -0
  35. package/dist/schemas/medication.d.ts +2111 -0
  36. package/dist/schemas/observation.d.ts +9253 -0
  37. package/dist/schemas/organization.d.ts +3357 -0
  38. package/dist/schemas/patient.d.ts +418 -0
  39. package/dist/schemas/practitioner-role.d.ts +1930 -0
  40. package/dist/schemas/practitioner.d.ts +1626 -0
  41. package/dist/schemas/procedure.d.ts +5283 -0
  42. package/dist/schemas/service-request.d.ts +5268 -0
  43. package/dist/schemas/specimen.d.ts +6520 -0
  44. package/package.json +61 -0
@@ -0,0 +1,26 @@
1
+ export { createSatuSehatClient, createSatuSehatClientFromEnv, resolveSatuSehatBaseUrl, resolveSatuSehatAuthBaseUrl, } from "./client/create-client";
2
+ export { createClientCredentialsTokenProvider } from "./client/auth";
3
+ export { createFileTokenStore, createMemoryTokenStore, isAccessTokenExpired, } from "./client/token-store";
4
+ export { OrganizationBuilder, createOrganizationBuilder } from "./builders/organization-builder";
5
+ export { createCompleteBloodCountPanelBuilder, } from "./builders/cbc-panel-builder";
6
+ export { LaboratoryPanelBuilder, createLaboratoryPanelBuilder, } from "./builders/laboratory-panel-builder";
7
+ export { ServiceRequestSpecimenObservationBuilder, createServiceRequestSpecimenObservationBuilder, } from "./builders/service-request-specimen-observation-builder";
8
+ export { SatuSehatApiError, SatuSehatConfigError, SatuSehatError, SatuSehatValidationError, } from "./core/errors";
9
+ export type { AccessTokenProvider, ConditionClient, DiagnosticReportClient, EncounterClient, LocationClient, MedicationClient, MedicationRequestClient, MaybePromise, ObservationClient, OrganizationClient, PatientClient, PractitionerClient, PractitionerRoleClient, ProcedureClient, QueryParams, SpecimenClient, ServiceRequestClient, SatuSehatClient, SatuSehatClientConfig, SatuSehatEnvironment, SatuSehatEnvSource, StoredAccessToken, TokenExpiryCheckOptions, TokenStore, } from "./core/types";
10
+ export type { DiagnosticReportBuildLinks, ObservationBuildLinks, ServiceRequestBuildLinks, ServiceRequestSpecimenObservationBuilderInput, } from "./builders/service-request-specimen-observation-builder";
11
+ export type { CompleteBloodCountObservationKey, CompleteBloodCountPanelBuilderInput, } from "./builders/cbc-panel-builder";
12
+ export type { LaboratoryPanelBuilderInput, LaboratoryPanelDiagnosticReportLinks, LaboratoryPanelObservationEntry, LaboratoryPanelObservationInput, LaboratoryPanelObservationLinks, LaboratoryPanelServiceRequestLinks, } from "./builders/laboratory-panel-builder";
13
+ export type { Condition, ConditionAge, ConditionCoding, ConditionCreateInput, ConditionEvidence, ConditionIdentifier, ConditionNote, ConditionPatchInput, ConditionPatchOperation, ConditionRange, ConditionSearchParams, ConditionSearchResponse, ConditionStage, } from "./schemas/condition";
14
+ export type { DiagnosticReport, DiagnosticReportCoding, DiagnosticReportCreateInput, DiagnosticReportIdentifier, DiagnosticReportMedia, DiagnosticReportPatchInput, DiagnosticReportPatchOperation, DiagnosticReportSearchParams, DiagnosticReportSearchResponse, DiagnosticReportStatus, } from "./schemas/diagnostic-report";
15
+ export type { Observation, ObservationCoding, ObservationComponent, ObservationCreateInput, ObservationIdentifier, ObservationNote, ObservationPatchInput, ObservationPatchOperation, ObservationQuantity, ObservationRange, ObservationReferenceRange, ObservationSearchParams, ObservationSearchResponse, ObservationStatus, } from "./schemas/observation";
16
+ export type { Procedure, ProcedureCoding, ProcedureCreateInput, ProcedureFocalDevice, ProcedureIdentifier, ProcedureNote, ProcedurePatchInput, ProcedurePatchOperation, ProcedurePerformer, ProcedureSearchParams, ProcedureSearchResponse, ProcedureStatus, } from "./schemas/procedure";
17
+ export type { Medication, MedicationBatch, MedicationCoding, MedicationCreateInput, MedicationIdentifier, MedicationIngredient, MedicationPatchInput, MedicationPatchOperation, MedicationQuantity, MedicationRatio, MedicationStatus, MedicationTypeExtension, } from "./schemas/medication";
18
+ export type { MedicationRequest, MedicationRequestCoding, MedicationRequestCreateInput, MedicationRequestDispenseRequest, MedicationRequestDoseAndRate, MedicationRequestDosageInstruction, MedicationRequestIdentifier, MedicationRequestIntent, MedicationRequestNote, MedicationRequestPatchInput, MedicationRequestPatchOperation, MedicationRequestPriority, MedicationRequestQuantity, MedicationRequestRange, MedicationRequestRatio, MedicationRequestSearchParams, MedicationRequestSearchResponse, MedicationRequestStatus, MedicationRequestSubstitution, MedicationRequestTiming, MedicationRequestTimingRepeat, } from "./schemas/medication-request";
19
+ export type { ServiceRequest, ServiceRequestCoding, ServiceRequestCreateInput, ServiceRequestIdentifier, ServiceRequestIntent, ServiceRequestNote, ServiceRequestPatchInput, ServiceRequestPatchOperation, ServiceRequestPriority, ServiceRequestQuantity, ServiceRequestRange, ServiceRequestRatio, ServiceRequestSearchParams, ServiceRequestSearchResponse, ServiceRequestStatus, } from "./schemas/service-request";
20
+ export type { Specimen, SpecimenCoding, SpecimenCollection, SpecimenContactDetail, SpecimenContainer, SpecimenCreateInput, SpecimenExtension, SpecimenIdentifier, SpecimenNote, SpecimenPatchInput, SpecimenPatchOperation, SpecimenProcessing, SpecimenQuantity, SpecimenSearchParams, SpecimenSearchResponse, SpecimenStatus, } from "./schemas/specimen";
21
+ export type { Encounter, EncounterClass, EncounterClassHistory, EncounterCreateInput, EncounterDiagnosis, EncounterDuration, EncounterHospitalization, EncounterIdentifier, EncounterLocation, EncounterParticipant, EncounterPatchInput, EncounterPatchOperation, EncounterSearchParams, EncounterSearchResponse, EncounterStatus, EncounterStatusHistory, } from "./schemas/encounter";
22
+ export type { Location, LocationCreateInput, LocationHoursOfOperation, LocationIdentifier, LocationMode, LocationPatchInput, LocationPatchOperation, LocationPhysicalType, LocationPosition, LocationSearchParams, LocationSearchResponse, LocationStatus, LocationType, } from "./schemas/location";
23
+ export type { Patient, PatientIdentifier, PatientSearchParams, PatientSearchResponse, } from "./schemas/patient";
24
+ export type { Practitioner, PractitionerIdentifier, PractitionerQualification, PractitionerSearchParams, PractitionerSearchResponse, } from "./schemas/practitioner";
25
+ export type { PractitionerRole, PractitionerRoleAvailableTime, PractitionerRoleCreateInput, PractitionerRoleNotAvailable, PractitionerRolePatchInput, PractitionerRolePatchOperation, PractitionerRoleSearchParams, PractitionerRoleSearchResponse, } from "./schemas/practitioner-role";
26
+ export type { Organization, OrganizationAddress, OrganizationContact, OrganizationCreateInput, OrganizationIdentifier, OrganizationReference, OrganizationSearchParams, OrganizationSearchResponse, OrganizationTelecom, OrganizationType, } from "./schemas/organization";
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ export {
2
+ resolveSatuSehatBaseUrl,
3
+ resolveSatuSehatAuthBaseUrl,
4
+ isAccessTokenExpired,
5
+ createServiceRequestSpecimenObservationBuilder,
6
+ createSatuSehatClientFromEnv,
7
+ createSatuSehatClient,
8
+ createOrganizationBuilder,
9
+ createMemoryTokenStore,
10
+ createLaboratoryPanelBuilder,
11
+ createFileTokenStore,
12
+ createCompleteBloodCountPanelBuilder,
13
+ createClientCredentialsTokenProvider,
14
+ ServiceRequestSpecimenObservationBuilder,
15
+ SatuSehatValidationError,
16
+ SatuSehatError,
17
+ SatuSehatConfigError,
18
+ SatuSehatApiError,
19
+ OrganizationBuilder,
20
+ LaboratoryPanelBuilder
21
+ };
@@ -0,0 +1,328 @@
1
+ import { z } from "zod";
2
+ export declare const MetaSchema: z.ZodObject<{
3
+ lastUpdated: z.ZodOptional<z.ZodString>;
4
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ versionId: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ lastUpdated?: string | undefined;
8
+ profile?: string[] | undefined;
9
+ versionId?: string | undefined;
10
+ }, {
11
+ lastUpdated?: string | undefined;
12
+ profile?: string[] | undefined;
13
+ versionId?: string | undefined;
14
+ }>;
15
+ export declare const PeriodSchema: z.ZodObject<{
16
+ start: z.ZodOptional<z.ZodString>;
17
+ end: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ start?: string | undefined;
20
+ end?: string | undefined;
21
+ }, {
22
+ start?: string | undefined;
23
+ end?: string | undefined;
24
+ }>;
25
+ export declare const CodingSchema: z.ZodObject<{
26
+ system: z.ZodOptional<z.ZodString>;
27
+ code: z.ZodOptional<z.ZodString>;
28
+ display: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ code?: string | undefined;
31
+ system?: string | undefined;
32
+ display?: string | undefined;
33
+ }, {
34
+ code?: string | undefined;
35
+ system?: string | undefined;
36
+ display?: string | undefined;
37
+ }>;
38
+ export declare const CodeableConceptSchema: z.ZodObject<{
39
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
+ system: z.ZodOptional<z.ZodString>;
41
+ code: z.ZodOptional<z.ZodString>;
42
+ display: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ code?: string | undefined;
45
+ system?: string | undefined;
46
+ display?: string | undefined;
47
+ }, {
48
+ code?: string | undefined;
49
+ system?: string | undefined;
50
+ display?: string | undefined;
51
+ }>, "many">>;
52
+ text: z.ZodOptional<z.ZodString>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ coding?: {
55
+ code?: string | undefined;
56
+ system?: string | undefined;
57
+ display?: string | undefined;
58
+ }[] | undefined;
59
+ text?: string | undefined;
60
+ }, {
61
+ coding?: {
62
+ code?: string | undefined;
63
+ system?: string | undefined;
64
+ display?: string | undefined;
65
+ }[] | undefined;
66
+ text?: string | undefined;
67
+ }>;
68
+ export declare const IdentifierSchema: z.ZodObject<{
69
+ system: z.ZodOptional<z.ZodString>;
70
+ use: z.ZodOptional<z.ZodString>;
71
+ value: z.ZodOptional<z.ZodString>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ value?: string | undefined;
74
+ system?: string | undefined;
75
+ use?: string | undefined;
76
+ }, {
77
+ value?: string | undefined;
78
+ system?: string | undefined;
79
+ use?: string | undefined;
80
+ }>;
81
+ export declare const HumanNameSchema: z.ZodObject<{
82
+ use: z.ZodOptional<z.ZodString>;
83
+ text: z.ZodOptional<z.ZodString>;
84
+ family: z.ZodOptional<z.ZodString>;
85
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
+ prefix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
87
+ suffix: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ text?: string | undefined;
90
+ use?: string | undefined;
91
+ family?: string | undefined;
92
+ given?: string[] | undefined;
93
+ prefix?: string[] | undefined;
94
+ suffix?: string[] | undefined;
95
+ }, {
96
+ text?: string | undefined;
97
+ use?: string | undefined;
98
+ family?: string | undefined;
99
+ given?: string[] | undefined;
100
+ prefix?: string[] | undefined;
101
+ suffix?: string[] | undefined;
102
+ }>;
103
+ export declare const ContactPointSchema: z.ZodObject<{
104
+ system: z.ZodOptional<z.ZodEnum<["phone", "fax", "email", "pager", "url", "sms", "other"]>>;
105
+ value: z.ZodOptional<z.ZodString>;
106
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "mobile"]>>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ value?: string | undefined;
109
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
110
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
111
+ }, {
112
+ value?: string | undefined;
113
+ system?: "phone" | "fax" | "email" | "pager" | "url" | "sms" | "other" | undefined;
114
+ use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
115
+ }>;
116
+ export declare const ExtensionValueCodeSchema: z.ZodObject<{
117
+ url: z.ZodString;
118
+ valueCode: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ url: string;
121
+ valueCode: string;
122
+ }, {
123
+ url: string;
124
+ valueCode: string;
125
+ }>;
126
+ export declare const ExtensionSchema: z.ZodObject<{
127
+ url: z.ZodString;
128
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
129
+ url: z.ZodString;
130
+ valueCode: z.ZodString;
131
+ }, "strip", z.ZodTypeAny, {
132
+ url: string;
133
+ valueCode: string;
134
+ }, {
135
+ url: string;
136
+ valueCode: string;
137
+ }>, "many">>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ url: string;
140
+ extension?: {
141
+ url: string;
142
+ valueCode: string;
143
+ }[] | undefined;
144
+ }, {
145
+ url: string;
146
+ extension?: {
147
+ url: string;
148
+ valueCode: string;
149
+ }[] | undefined;
150
+ }>;
151
+ export declare const AddressSchema: z.ZodObject<{
152
+ use: z.ZodOptional<z.ZodEnum<["home", "work", "temp", "old", "billing"]>>;
153
+ type: z.ZodOptional<z.ZodEnum<["postal", "physical", "both"]>>;
154
+ text: z.ZodOptional<z.ZodString>;
155
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
156
+ city: z.ZodOptional<z.ZodString>;
157
+ district: z.ZodOptional<z.ZodString>;
158
+ state: z.ZodOptional<z.ZodString>;
159
+ postalCode: z.ZodOptional<z.ZodString>;
160
+ country: z.ZodOptional<z.ZodString>;
161
+ period: z.ZodOptional<z.ZodObject<{
162
+ start: z.ZodOptional<z.ZodString>;
163
+ end: z.ZodOptional<z.ZodString>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ start?: string | undefined;
166
+ end?: string | undefined;
167
+ }, {
168
+ start?: string | undefined;
169
+ end?: string | undefined;
170
+ }>>;
171
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
+ url: z.ZodString;
173
+ extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
+ url: z.ZodString;
175
+ valueCode: z.ZodString;
176
+ }, "strip", z.ZodTypeAny, {
177
+ url: string;
178
+ valueCode: string;
179
+ }, {
180
+ url: string;
181
+ valueCode: string;
182
+ }>, "many">>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ url: string;
185
+ extension?: {
186
+ url: string;
187
+ valueCode: string;
188
+ }[] | undefined;
189
+ }, {
190
+ url: string;
191
+ extension?: {
192
+ url: string;
193
+ valueCode: string;
194
+ }[] | undefined;
195
+ }>, "many">>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ type?: "postal" | "physical" | "both" | undefined;
198
+ text?: string | undefined;
199
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
200
+ extension?: {
201
+ url: string;
202
+ extension?: {
203
+ url: string;
204
+ valueCode: string;
205
+ }[] | undefined;
206
+ }[] | undefined;
207
+ line?: string[] | undefined;
208
+ city?: string | undefined;
209
+ district?: string | undefined;
210
+ state?: string | undefined;
211
+ postalCode?: string | undefined;
212
+ country?: string | undefined;
213
+ period?: {
214
+ start?: string | undefined;
215
+ end?: string | undefined;
216
+ } | undefined;
217
+ }, {
218
+ type?: "postal" | "physical" | "both" | undefined;
219
+ text?: string | undefined;
220
+ use?: "home" | "work" | "temp" | "old" | "billing" | undefined;
221
+ extension?: {
222
+ url: string;
223
+ extension?: {
224
+ url: string;
225
+ valueCode: string;
226
+ }[] | undefined;
227
+ }[] | undefined;
228
+ line?: string[] | undefined;
229
+ city?: string | undefined;
230
+ district?: string | undefined;
231
+ state?: string | undefined;
232
+ postalCode?: string | undefined;
233
+ country?: string | undefined;
234
+ period?: {
235
+ start?: string | undefined;
236
+ end?: string | undefined;
237
+ } | undefined;
238
+ }>;
239
+ export declare const AttachmentSchema: z.ZodObject<{
240
+ contentType: z.ZodOptional<z.ZodString>;
241
+ language: z.ZodOptional<z.ZodString>;
242
+ data: z.ZodOptional<z.ZodString>;
243
+ url: z.ZodOptional<z.ZodString>;
244
+ size: z.ZodOptional<z.ZodNumber>;
245
+ hash: z.ZodOptional<z.ZodString>;
246
+ title: z.ZodOptional<z.ZodString>;
247
+ creation: z.ZodOptional<z.ZodString>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ url?: string | undefined;
250
+ contentType?: string | undefined;
251
+ language?: string | undefined;
252
+ data?: string | undefined;
253
+ size?: number | undefined;
254
+ hash?: string | undefined;
255
+ title?: string | undefined;
256
+ creation?: string | undefined;
257
+ }, {
258
+ url?: string | undefined;
259
+ contentType?: string | undefined;
260
+ language?: string | undefined;
261
+ data?: string | undefined;
262
+ size?: number | undefined;
263
+ hash?: string | undefined;
264
+ title?: string | undefined;
265
+ creation?: string | undefined;
266
+ }>;
267
+ export declare const ReferenceSchema: z.ZodObject<{
268
+ reference: z.ZodString;
269
+ display: z.ZodOptional<z.ZodString>;
270
+ type: z.ZodOptional<z.ZodString>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ reference: string;
273
+ type?: string | undefined;
274
+ display?: string | undefined;
275
+ }, {
276
+ reference: string;
277
+ type?: string | undefined;
278
+ display?: string | undefined;
279
+ }>;
280
+ export type Reference = z.infer<typeof ReferenceSchema>;
281
+ export declare const BundleLinkSchema: z.ZodObject<{
282
+ relation: z.ZodOptional<z.ZodString>;
283
+ url: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ url?: string | undefined;
286
+ relation?: string | undefined;
287
+ }, {
288
+ url?: string | undefined;
289
+ relation?: string | undefined;
290
+ }>;
291
+ export declare const BundleSearchSchema: z.ZodObject<{
292
+ mode: z.ZodOptional<z.ZodString>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ mode?: string | undefined;
295
+ }, {
296
+ mode?: string | undefined;
297
+ }>;
298
+ export declare const BundleEntrySchema: <TResource extends z.ZodTypeAny>(resourceSchema: TResource) => z.ZodObject<{
299
+ fullUrl: z.ZodOptional<z.ZodString>;
300
+ resource: TResource;
301
+ search: z.ZodOptional<z.ZodObject<{
302
+ mode: z.ZodOptional<z.ZodString>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ mode?: string | undefined;
305
+ }, {
306
+ mode?: string | undefined;
307
+ }>>;
308
+ }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
309
+ fullUrl: z.ZodOptional<z.ZodString>;
310
+ resource: TResource;
311
+ search: z.ZodOptional<z.ZodObject<{
312
+ mode: z.ZodOptional<z.ZodString>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ mode?: string | undefined;
315
+ }, {
316
+ mode?: string | undefined;
317
+ }>>;
318
+ }>, any> extends infer T ? { [k in keyof T]: T[k]; } : never, z.baseObjectInputType<{
319
+ fullUrl: z.ZodOptional<z.ZodString>;
320
+ resource: TResource;
321
+ search: z.ZodOptional<z.ZodObject<{
322
+ mode: z.ZodOptional<z.ZodString>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ mode?: string | undefined;
325
+ }, {
326
+ mode?: string | undefined;
327
+ }>>;
328
+ }> extends infer T_1 ? { [k_1 in keyof T_1]: T_1[k_1]; } : never>;