@documenso/sdk-typescript 0.6.2 → 0.7.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/README.md +1 -1
- package/bin/mcp-server.js +227 -825
- package/bin/mcp-server.js.map +8 -8
- package/examples/package-lock.json +2 -2
- package/funcs/documentsCreateV0.d.ts +2 -0
- package/funcs/documentsCreateV0.d.ts.map +1 -1
- package/funcs/documentsCreateV0.js +2 -0
- package/funcs/documentsCreateV0.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/envelopefieldcreatemany.d.ts +167 -943
- package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldcreatemany.js +297 -1182
- package/models/operations/envelopefieldcreatemany.js.map +1 -1
- package/models/operations/envelopefieldupdatemany.d.ts +70 -70
- package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldupdatemany.js +135 -135
- package/models/operations/envelopefieldupdatemany.js.map +1 -1
- package/package.json +2 -2
- package/sdk/documents.d.ts +2 -0
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +2 -0
- package/sdk/documents.js.map +1 -1
- package/src/funcs/documentsCreateV0.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/envelopefieldcreatemany.ts +803 -3125
- package/src/models/operations/envelopefieldupdatemany.ts +232 -305
- package/src/sdk/documents.ts +2 -0
|
@@ -8,2603 +8,436 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export
|
|
12
|
-
|
|
11
|
+
export type EnvelopeFieldCreateManyDataRequest2 = {
|
|
12
|
+
placeholder: string;
|
|
13
|
+
width?: number | undefined;
|
|
14
|
+
height?: number | undefined;
|
|
15
|
+
matchAll?: boolean | undefined;
|
|
16
|
+
recipientId: number;
|
|
17
|
+
envelopeItemId?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type EnvelopeFieldCreateManyDataRequest1 = {
|
|
21
|
+
page: number;
|
|
22
|
+
positionX: number;
|
|
23
|
+
positionY: number;
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
recipientId: number;
|
|
27
|
+
envelopeItemId?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type EnvelopeFieldCreateManyDataUnion =
|
|
31
|
+
| EnvelopeFieldCreateManyDataRequest1
|
|
32
|
+
| EnvelopeFieldCreateManyDataRequest2;
|
|
33
|
+
|
|
34
|
+
export type EnvelopeFieldCreateManyRequest = {
|
|
35
|
+
envelopeId: string;
|
|
36
|
+
data: Array<
|
|
37
|
+
EnvelopeFieldCreateManyDataRequest1 | EnvelopeFieldCreateManyDataRequest2
|
|
38
|
+
>;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const EnvelopeFieldCreateManyTypeEnum = {
|
|
42
|
+
Signature: "SIGNATURE",
|
|
43
|
+
FreeSignature: "FREE_SIGNATURE",
|
|
44
|
+
Initials: "INITIALS",
|
|
45
|
+
Name: "NAME",
|
|
46
|
+
Email: "EMAIL",
|
|
47
|
+
Date: "DATE",
|
|
48
|
+
Text: "TEXT",
|
|
49
|
+
Number: "NUMBER",
|
|
50
|
+
Radio: "RADIO",
|
|
51
|
+
Checkbox: "CHECKBOX",
|
|
52
|
+
Dropdown: "DROPDOWN",
|
|
13
53
|
} as const;
|
|
14
|
-
export type
|
|
15
|
-
typeof
|
|
54
|
+
export type EnvelopeFieldCreateManyTypeEnum = ClosedEnum<
|
|
55
|
+
typeof EnvelopeFieldCreateManyTypeEnum
|
|
16
56
|
>;
|
|
17
57
|
|
|
18
|
-
export type
|
|
58
|
+
export type EnvelopeFieldCreateManyValue3 = {
|
|
19
59
|
value: string;
|
|
20
60
|
};
|
|
21
61
|
|
|
22
|
-
export type
|
|
62
|
+
export type EnvelopeFieldCreateManyFieldMetaDropdown = {
|
|
23
63
|
label?: string | undefined;
|
|
24
64
|
placeholder?: string | undefined;
|
|
25
65
|
required?: boolean | undefined;
|
|
26
66
|
readOnly?: boolean | undefined;
|
|
27
67
|
fontSize?: number | undefined;
|
|
28
|
-
type:
|
|
29
|
-
values?: Array<
|
|
68
|
+
type: "dropdown";
|
|
69
|
+
values?: Array<EnvelopeFieldCreateManyValue3> | undefined;
|
|
30
70
|
defaultValue?: string | undefined;
|
|
31
71
|
};
|
|
32
72
|
|
|
33
|
-
export type
|
|
34
|
-
type: "DROPDOWN";
|
|
35
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaDropdownRequest | undefined;
|
|
36
|
-
recipientId: number;
|
|
37
|
-
envelopeItemId?: string | undefined;
|
|
38
|
-
page: number;
|
|
39
|
-
positionX: number;
|
|
40
|
-
positionY: number;
|
|
41
|
-
width: number;
|
|
42
|
-
height: number;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export const EnvelopeFieldCreateManyTypeCheckboxEnum = {
|
|
46
|
-
Checkbox: "checkbox",
|
|
47
|
-
} as const;
|
|
48
|
-
export type EnvelopeFieldCreateManyTypeCheckboxEnum = ClosedEnum<
|
|
49
|
-
typeof EnvelopeFieldCreateManyTypeCheckboxEnum
|
|
50
|
-
>;
|
|
51
|
-
|
|
52
|
-
export type EnvelopeFieldCreateManyValueCheckbox = {
|
|
73
|
+
export type EnvelopeFieldCreateManyValue2 = {
|
|
53
74
|
id: number;
|
|
54
75
|
checked: boolean;
|
|
55
76
|
value: string;
|
|
56
77
|
};
|
|
57
78
|
|
|
58
|
-
export const
|
|
79
|
+
export const EnvelopeFieldCreateManyDirection2 = {
|
|
59
80
|
Vertical: "vertical",
|
|
60
81
|
Horizontal: "horizontal",
|
|
61
82
|
} as const;
|
|
62
|
-
export type
|
|
63
|
-
typeof
|
|
83
|
+
export type EnvelopeFieldCreateManyDirection2 = ClosedEnum<
|
|
84
|
+
typeof EnvelopeFieldCreateManyDirection2
|
|
64
85
|
>;
|
|
65
86
|
|
|
66
|
-
export type
|
|
87
|
+
export type EnvelopeFieldCreateManyFieldMetaCheckbox = {
|
|
67
88
|
label?: string | undefined;
|
|
68
89
|
placeholder?: string | undefined;
|
|
69
90
|
required?: boolean | undefined;
|
|
70
91
|
readOnly?: boolean | undefined;
|
|
71
92
|
fontSize?: number | undefined;
|
|
72
|
-
type:
|
|
73
|
-
values?: Array<
|
|
93
|
+
type: "checkbox";
|
|
94
|
+
values?: Array<EnvelopeFieldCreateManyValue2> | undefined;
|
|
74
95
|
validationRule?: string | undefined;
|
|
75
96
|
validationLength?: number | undefined;
|
|
76
|
-
direction?:
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
export type EnvelopeFieldCreateManyDataCheckbox = {
|
|
80
|
-
type: "CHECKBOX";
|
|
81
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaCheckboxRequest | undefined;
|
|
82
|
-
recipientId: number;
|
|
83
|
-
envelopeItemId?: string | undefined;
|
|
84
|
-
page: number;
|
|
85
|
-
positionX: number;
|
|
86
|
-
positionY: number;
|
|
87
|
-
width: number;
|
|
88
|
-
height: number;
|
|
97
|
+
direction?: EnvelopeFieldCreateManyDirection2 | undefined;
|
|
89
98
|
};
|
|
90
99
|
|
|
91
|
-
export
|
|
92
|
-
Radio: "radio",
|
|
93
|
-
} as const;
|
|
94
|
-
export type EnvelopeFieldCreateManyTypeRadioEnum = ClosedEnum<
|
|
95
|
-
typeof EnvelopeFieldCreateManyTypeRadioEnum
|
|
96
|
-
>;
|
|
97
|
-
|
|
98
|
-
export type EnvelopeFieldCreateManyValueRadio = {
|
|
100
|
+
export type EnvelopeFieldCreateManyValue1 = {
|
|
99
101
|
id: number;
|
|
100
102
|
checked: boolean;
|
|
101
103
|
value: string;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
|
-
export const
|
|
106
|
+
export const EnvelopeFieldCreateManyDirection1 = {
|
|
105
107
|
Vertical: "vertical",
|
|
106
108
|
Horizontal: "horizontal",
|
|
107
109
|
} as const;
|
|
108
|
-
export type
|
|
109
|
-
typeof
|
|
110
|
+
export type EnvelopeFieldCreateManyDirection1 = ClosedEnum<
|
|
111
|
+
typeof EnvelopeFieldCreateManyDirection1
|
|
110
112
|
>;
|
|
111
113
|
|
|
112
|
-
export type
|
|
114
|
+
export type EnvelopeFieldCreateManyFieldMetaRadio = {
|
|
113
115
|
label?: string | undefined;
|
|
114
116
|
placeholder?: string | undefined;
|
|
115
117
|
required?: boolean | undefined;
|
|
116
118
|
readOnly?: boolean | undefined;
|
|
117
119
|
fontSize?: number | undefined;
|
|
118
|
-
type:
|
|
119
|
-
values?: Array<
|
|
120
|
-
direction?:
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export type EnvelopeFieldCreateManyDataRadio = {
|
|
124
|
-
type: "RADIO";
|
|
125
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaRadioRequest | undefined;
|
|
126
|
-
recipientId: number;
|
|
127
|
-
envelopeItemId?: string | undefined;
|
|
128
|
-
page: number;
|
|
129
|
-
positionX: number;
|
|
130
|
-
positionY: number;
|
|
131
|
-
width: number;
|
|
132
|
-
height: number;
|
|
120
|
+
type: "radio";
|
|
121
|
+
values?: Array<EnvelopeFieldCreateManyValue1> | undefined;
|
|
122
|
+
direction?: EnvelopeFieldCreateManyDirection1 | undefined;
|
|
133
123
|
};
|
|
134
124
|
|
|
135
|
-
export const
|
|
136
|
-
Number: "number",
|
|
137
|
-
} as const;
|
|
138
|
-
export type EnvelopeFieldCreateManyTypeNumberEnum = ClosedEnum<
|
|
139
|
-
typeof EnvelopeFieldCreateManyTypeNumberEnum
|
|
140
|
-
>;
|
|
141
|
-
|
|
142
|
-
export const EnvelopeFieldCreateManyTextAlignNumber = {
|
|
125
|
+
export const EnvelopeFieldCreateManyTextAlign6 = {
|
|
143
126
|
Left: "left",
|
|
144
127
|
Center: "center",
|
|
145
128
|
Right: "right",
|
|
146
129
|
} as const;
|
|
147
|
-
export type
|
|
148
|
-
typeof
|
|
130
|
+
export type EnvelopeFieldCreateManyTextAlign6 = ClosedEnum<
|
|
131
|
+
typeof EnvelopeFieldCreateManyTextAlign6
|
|
149
132
|
>;
|
|
150
133
|
|
|
151
|
-
export const
|
|
134
|
+
export const EnvelopeFieldCreateManyVerticalAlign2 = {
|
|
152
135
|
Top: "top",
|
|
153
136
|
Middle: "middle",
|
|
154
137
|
Bottom: "bottom",
|
|
155
138
|
} as const;
|
|
156
|
-
export type
|
|
157
|
-
typeof
|
|
139
|
+
export type EnvelopeFieldCreateManyVerticalAlign2 = ClosedEnum<
|
|
140
|
+
typeof EnvelopeFieldCreateManyVerticalAlign2
|
|
158
141
|
>;
|
|
159
142
|
|
|
160
|
-
export type
|
|
143
|
+
export type EnvelopeFieldCreateManyFieldMetaNumber = {
|
|
161
144
|
label?: string | undefined;
|
|
162
145
|
placeholder?: string | undefined;
|
|
163
146
|
required?: boolean | undefined;
|
|
164
147
|
readOnly?: boolean | undefined;
|
|
165
148
|
fontSize?: number | undefined;
|
|
166
|
-
type:
|
|
149
|
+
type: "number";
|
|
167
150
|
numberFormat?: string | null | undefined;
|
|
168
151
|
value?: string | undefined;
|
|
169
152
|
minValue?: number | null | undefined;
|
|
170
153
|
maxValue?: number | null | undefined;
|
|
171
|
-
textAlign?:
|
|
154
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign6 | undefined;
|
|
172
155
|
lineHeight?: number | null | undefined;
|
|
173
156
|
letterSpacing?: number | null | undefined;
|
|
174
|
-
verticalAlign?:
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
export type EnvelopeFieldCreateManyDataNumber = {
|
|
178
|
-
type: "NUMBER";
|
|
179
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaNumberRequest | undefined;
|
|
180
|
-
recipientId: number;
|
|
181
|
-
envelopeItemId?: string | undefined;
|
|
182
|
-
page: number;
|
|
183
|
-
positionX: number;
|
|
184
|
-
positionY: number;
|
|
185
|
-
width: number;
|
|
186
|
-
height: number;
|
|
157
|
+
verticalAlign?: EnvelopeFieldCreateManyVerticalAlign2 | null | undefined;
|
|
187
158
|
};
|
|
188
159
|
|
|
189
|
-
export const
|
|
190
|
-
Text: "text",
|
|
191
|
-
} as const;
|
|
192
|
-
export type EnvelopeFieldCreateManyTypeTextEnum = ClosedEnum<
|
|
193
|
-
typeof EnvelopeFieldCreateManyTypeTextEnum
|
|
194
|
-
>;
|
|
195
|
-
|
|
196
|
-
export const EnvelopeFieldCreateManyTextAlignText = {
|
|
160
|
+
export const EnvelopeFieldCreateManyTextAlign5 = {
|
|
197
161
|
Left: "left",
|
|
198
162
|
Center: "center",
|
|
199
163
|
Right: "right",
|
|
200
164
|
} as const;
|
|
201
|
-
export type
|
|
202
|
-
typeof
|
|
165
|
+
export type EnvelopeFieldCreateManyTextAlign5 = ClosedEnum<
|
|
166
|
+
typeof EnvelopeFieldCreateManyTextAlign5
|
|
203
167
|
>;
|
|
204
168
|
|
|
205
|
-
export const
|
|
169
|
+
export const EnvelopeFieldCreateManyVerticalAlign1 = {
|
|
206
170
|
Top: "top",
|
|
207
171
|
Middle: "middle",
|
|
208
172
|
Bottom: "bottom",
|
|
209
173
|
} as const;
|
|
210
|
-
export type
|
|
211
|
-
typeof
|
|
174
|
+
export type EnvelopeFieldCreateManyVerticalAlign1 = ClosedEnum<
|
|
175
|
+
typeof EnvelopeFieldCreateManyVerticalAlign1
|
|
212
176
|
>;
|
|
213
177
|
|
|
214
|
-
export type
|
|
178
|
+
export type EnvelopeFieldCreateManyFieldMetaText = {
|
|
215
179
|
label?: string | undefined;
|
|
216
180
|
placeholder?: string | undefined;
|
|
217
181
|
required?: boolean | undefined;
|
|
218
182
|
readOnly?: boolean | undefined;
|
|
219
183
|
fontSize?: number | undefined;
|
|
220
|
-
type:
|
|
184
|
+
type: "text";
|
|
221
185
|
text?: string | undefined;
|
|
222
186
|
characterLimit?: number | undefined;
|
|
223
|
-
textAlign?:
|
|
187
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign5 | undefined;
|
|
224
188
|
lineHeight?: number | null | undefined;
|
|
225
189
|
letterSpacing?: number | null | undefined;
|
|
226
|
-
verticalAlign?:
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
export type EnvelopeFieldCreateManyDataText = {
|
|
230
|
-
type: "TEXT";
|
|
231
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaTextRequest | undefined;
|
|
232
|
-
recipientId: number;
|
|
233
|
-
envelopeItemId?: string | undefined;
|
|
234
|
-
page: number;
|
|
235
|
-
positionX: number;
|
|
236
|
-
positionY: number;
|
|
237
|
-
width: number;
|
|
238
|
-
height: number;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
export const EnvelopeFieldCreateManyTypeDateEnum = {
|
|
242
|
-
Date: "date",
|
|
243
|
-
} as const;
|
|
244
|
-
export type EnvelopeFieldCreateManyTypeDateEnum = ClosedEnum<
|
|
245
|
-
typeof EnvelopeFieldCreateManyTypeDateEnum
|
|
246
|
-
>;
|
|
247
|
-
|
|
248
|
-
export const EnvelopeFieldCreateManyTextAlignDate = {
|
|
249
|
-
Left: "left",
|
|
250
|
-
Center: "center",
|
|
251
|
-
Right: "right",
|
|
252
|
-
} as const;
|
|
253
|
-
export type EnvelopeFieldCreateManyTextAlignDate = ClosedEnum<
|
|
254
|
-
typeof EnvelopeFieldCreateManyTextAlignDate
|
|
255
|
-
>;
|
|
256
|
-
|
|
257
|
-
export type EnvelopeFieldCreateManyFieldMetaDateRequest = {
|
|
258
|
-
label?: string | undefined;
|
|
259
|
-
placeholder?: string | undefined;
|
|
260
|
-
required?: boolean | undefined;
|
|
261
|
-
readOnly?: boolean | undefined;
|
|
262
|
-
fontSize?: number | undefined;
|
|
263
|
-
type: EnvelopeFieldCreateManyTypeDateEnum;
|
|
264
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignDate | undefined;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
export type EnvelopeFieldCreateManyDataDate = {
|
|
268
|
-
type: "DATE";
|
|
269
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaDateRequest | undefined;
|
|
270
|
-
recipientId: number;
|
|
271
|
-
envelopeItemId?: string | undefined;
|
|
272
|
-
page: number;
|
|
273
|
-
positionX: number;
|
|
274
|
-
positionY: number;
|
|
275
|
-
width: number;
|
|
276
|
-
height: number;
|
|
190
|
+
verticalAlign?: EnvelopeFieldCreateManyVerticalAlign1 | null | undefined;
|
|
277
191
|
};
|
|
278
192
|
|
|
279
|
-
export const
|
|
280
|
-
Email: "email",
|
|
281
|
-
} as const;
|
|
282
|
-
export type EnvelopeFieldCreateManyTypeEmailEnum = ClosedEnum<
|
|
283
|
-
typeof EnvelopeFieldCreateManyTypeEmailEnum
|
|
284
|
-
>;
|
|
285
|
-
|
|
286
|
-
export const EnvelopeFieldCreateManyTextAlignEmail = {
|
|
193
|
+
export const EnvelopeFieldCreateManyTextAlign4 = {
|
|
287
194
|
Left: "left",
|
|
288
195
|
Center: "center",
|
|
289
196
|
Right: "right",
|
|
290
197
|
} as const;
|
|
291
|
-
export type
|
|
292
|
-
typeof
|
|
198
|
+
export type EnvelopeFieldCreateManyTextAlign4 = ClosedEnum<
|
|
199
|
+
typeof EnvelopeFieldCreateManyTextAlign4
|
|
293
200
|
>;
|
|
294
201
|
|
|
295
|
-
export type
|
|
202
|
+
export type EnvelopeFieldCreateManyFieldMetaDate = {
|
|
296
203
|
label?: string | undefined;
|
|
297
204
|
placeholder?: string | undefined;
|
|
298
205
|
required?: boolean | undefined;
|
|
299
206
|
readOnly?: boolean | undefined;
|
|
300
207
|
fontSize?: number | undefined;
|
|
301
|
-
type:
|
|
302
|
-
textAlign?:
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
export type EnvelopeFieldCreateManyDataEmail = {
|
|
306
|
-
type: "EMAIL";
|
|
307
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaEmailRequest | undefined;
|
|
308
|
-
recipientId: number;
|
|
309
|
-
envelopeItemId?: string | undefined;
|
|
310
|
-
page: number;
|
|
311
|
-
positionX: number;
|
|
312
|
-
positionY: number;
|
|
313
|
-
width: number;
|
|
314
|
-
height: number;
|
|
208
|
+
type: "date";
|
|
209
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign4 | undefined;
|
|
315
210
|
};
|
|
316
211
|
|
|
317
|
-
export const
|
|
318
|
-
Name: "name",
|
|
319
|
-
} as const;
|
|
320
|
-
export type EnvelopeFieldCreateManyTypeNameEnum = ClosedEnum<
|
|
321
|
-
typeof EnvelopeFieldCreateManyTypeNameEnum
|
|
322
|
-
>;
|
|
323
|
-
|
|
324
|
-
export const EnvelopeFieldCreateManyTextAlignName = {
|
|
212
|
+
export const EnvelopeFieldCreateManyTextAlign3 = {
|
|
325
213
|
Left: "left",
|
|
326
214
|
Center: "center",
|
|
327
215
|
Right: "right",
|
|
328
216
|
} as const;
|
|
329
|
-
export type
|
|
330
|
-
typeof
|
|
217
|
+
export type EnvelopeFieldCreateManyTextAlign3 = ClosedEnum<
|
|
218
|
+
typeof EnvelopeFieldCreateManyTextAlign3
|
|
331
219
|
>;
|
|
332
220
|
|
|
333
|
-
export type
|
|
221
|
+
export type EnvelopeFieldCreateManyFieldMetaEmail = {
|
|
334
222
|
label?: string | undefined;
|
|
335
223
|
placeholder?: string | undefined;
|
|
336
224
|
required?: boolean | undefined;
|
|
337
225
|
readOnly?: boolean | undefined;
|
|
338
226
|
fontSize?: number | undefined;
|
|
339
|
-
type:
|
|
340
|
-
textAlign?:
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
export type EnvelopeFieldCreateManyDataName = {
|
|
344
|
-
type: "NAME";
|
|
345
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaNameRequest | undefined;
|
|
346
|
-
recipientId: number;
|
|
347
|
-
envelopeItemId?: string | undefined;
|
|
348
|
-
page: number;
|
|
349
|
-
positionX: number;
|
|
350
|
-
positionY: number;
|
|
351
|
-
width: number;
|
|
352
|
-
height: number;
|
|
227
|
+
type: "email";
|
|
228
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign3 | undefined;
|
|
353
229
|
};
|
|
354
230
|
|
|
355
|
-
export const
|
|
356
|
-
Initials: "initials",
|
|
357
|
-
} as const;
|
|
358
|
-
export type EnvelopeFieldCreateManyTypeInitialsEnum = ClosedEnum<
|
|
359
|
-
typeof EnvelopeFieldCreateManyTypeInitialsEnum
|
|
360
|
-
>;
|
|
361
|
-
|
|
362
|
-
export const EnvelopeFieldCreateManyTextAlignInitials = {
|
|
231
|
+
export const EnvelopeFieldCreateManyTextAlign2 = {
|
|
363
232
|
Left: "left",
|
|
364
233
|
Center: "center",
|
|
365
234
|
Right: "right",
|
|
366
235
|
} as const;
|
|
367
|
-
export type
|
|
368
|
-
typeof
|
|
369
|
-
>;
|
|
370
|
-
|
|
371
|
-
export type EnvelopeFieldCreateManyFieldMetaInitialsRequest = {
|
|
372
|
-
label?: string | undefined;
|
|
373
|
-
placeholder?: string | undefined;
|
|
374
|
-
required?: boolean | undefined;
|
|
375
|
-
readOnly?: boolean | undefined;
|
|
376
|
-
fontSize?: number | undefined;
|
|
377
|
-
type: EnvelopeFieldCreateManyTypeInitialsEnum;
|
|
378
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignInitials | undefined;
|
|
379
|
-
};
|
|
380
|
-
|
|
381
|
-
export type EnvelopeFieldCreateManyDataInitials = {
|
|
382
|
-
type: "INITIALS";
|
|
383
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaInitialsRequest | undefined;
|
|
384
|
-
recipientId: number;
|
|
385
|
-
envelopeItemId?: string | undefined;
|
|
386
|
-
page: number;
|
|
387
|
-
positionX: number;
|
|
388
|
-
positionY: number;
|
|
389
|
-
width: number;
|
|
390
|
-
height: number;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
export type EnvelopeFieldCreateManyDataFreeSignature = {
|
|
394
|
-
type: "FREE_SIGNATURE";
|
|
395
|
-
recipientId: number;
|
|
396
|
-
envelopeItemId?: string | undefined;
|
|
397
|
-
page: number;
|
|
398
|
-
positionX: number;
|
|
399
|
-
positionY: number;
|
|
400
|
-
width: number;
|
|
401
|
-
height: number;
|
|
402
|
-
};
|
|
403
|
-
|
|
404
|
-
export const EnvelopeFieldCreateManyTypeSignatureEnum = {
|
|
405
|
-
Signature: "signature",
|
|
406
|
-
} as const;
|
|
407
|
-
export type EnvelopeFieldCreateManyTypeSignatureEnum = ClosedEnum<
|
|
408
|
-
typeof EnvelopeFieldCreateManyTypeSignatureEnum
|
|
409
|
-
>;
|
|
410
|
-
|
|
411
|
-
export type EnvelopeFieldCreateManyFieldMetaSignatureRequest = {
|
|
412
|
-
label?: string | undefined;
|
|
413
|
-
placeholder?: string | undefined;
|
|
414
|
-
required?: boolean | undefined;
|
|
415
|
-
readOnly?: boolean | undefined;
|
|
416
|
-
fontSize?: number | undefined;
|
|
417
|
-
type: EnvelopeFieldCreateManyTypeSignatureEnum;
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
export type EnvelopeFieldCreateManyDataSignature = {
|
|
421
|
-
type: "SIGNATURE";
|
|
422
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaSignatureRequest | undefined;
|
|
423
|
-
recipientId: number;
|
|
424
|
-
envelopeItemId?: string | undefined;
|
|
425
|
-
page: number;
|
|
426
|
-
positionX: number;
|
|
427
|
-
positionY: number;
|
|
428
|
-
width: number;
|
|
429
|
-
height: number;
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
export type EnvelopeFieldCreateManyDataUnion =
|
|
433
|
-
| EnvelopeFieldCreateManyDataSignature
|
|
434
|
-
| EnvelopeFieldCreateManyDataFreeSignature
|
|
435
|
-
| EnvelopeFieldCreateManyDataInitials
|
|
436
|
-
| EnvelopeFieldCreateManyDataName
|
|
437
|
-
| EnvelopeFieldCreateManyDataEmail
|
|
438
|
-
| EnvelopeFieldCreateManyDataDate
|
|
439
|
-
| EnvelopeFieldCreateManyDataText
|
|
440
|
-
| EnvelopeFieldCreateManyDataNumber
|
|
441
|
-
| EnvelopeFieldCreateManyDataRadio
|
|
442
|
-
| EnvelopeFieldCreateManyDataCheckbox
|
|
443
|
-
| EnvelopeFieldCreateManyDataDropdown;
|
|
444
|
-
|
|
445
|
-
export type EnvelopeFieldCreateManyRequest = {
|
|
446
|
-
envelopeId: string;
|
|
447
|
-
data: Array<
|
|
448
|
-
| EnvelopeFieldCreateManyDataSignature
|
|
449
|
-
| EnvelopeFieldCreateManyDataFreeSignature
|
|
450
|
-
| EnvelopeFieldCreateManyDataInitials
|
|
451
|
-
| EnvelopeFieldCreateManyDataName
|
|
452
|
-
| EnvelopeFieldCreateManyDataEmail
|
|
453
|
-
| EnvelopeFieldCreateManyDataDate
|
|
454
|
-
| EnvelopeFieldCreateManyDataText
|
|
455
|
-
| EnvelopeFieldCreateManyDataNumber
|
|
456
|
-
| EnvelopeFieldCreateManyDataRadio
|
|
457
|
-
| EnvelopeFieldCreateManyDataCheckbox
|
|
458
|
-
| EnvelopeFieldCreateManyDataDropdown
|
|
459
|
-
>;
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export const EnvelopeFieldCreateManyTypeResponseEnum = {
|
|
463
|
-
Signature: "SIGNATURE",
|
|
464
|
-
FreeSignature: "FREE_SIGNATURE",
|
|
465
|
-
Initials: "INITIALS",
|
|
466
|
-
Name: "NAME",
|
|
467
|
-
Email: "EMAIL",
|
|
468
|
-
Date: "DATE",
|
|
469
|
-
Text: "TEXT",
|
|
470
|
-
Number: "NUMBER",
|
|
471
|
-
Radio: "RADIO",
|
|
472
|
-
Checkbox: "CHECKBOX",
|
|
473
|
-
Dropdown: "DROPDOWN",
|
|
474
|
-
} as const;
|
|
475
|
-
export type EnvelopeFieldCreateManyTypeResponseEnum = ClosedEnum<
|
|
476
|
-
typeof EnvelopeFieldCreateManyTypeResponseEnum
|
|
477
|
-
>;
|
|
478
|
-
|
|
479
|
-
export type EnvelopeFieldCreateManyValueResponse3 = {
|
|
480
|
-
value: string;
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
export type EnvelopeFieldCreateManyFieldMetaDropdownResponse = {
|
|
484
|
-
label?: string | undefined;
|
|
485
|
-
placeholder?: string | undefined;
|
|
486
|
-
required?: boolean | undefined;
|
|
487
|
-
readOnly?: boolean | undefined;
|
|
488
|
-
fontSize?: number | undefined;
|
|
489
|
-
type: "dropdown";
|
|
490
|
-
values?: Array<EnvelopeFieldCreateManyValueResponse3> | undefined;
|
|
491
|
-
defaultValue?: string | undefined;
|
|
492
|
-
};
|
|
493
|
-
|
|
494
|
-
export type EnvelopeFieldCreateManyValueResponse2 = {
|
|
495
|
-
id: number;
|
|
496
|
-
checked: boolean;
|
|
497
|
-
value: string;
|
|
498
|
-
};
|
|
499
|
-
|
|
500
|
-
export const EnvelopeFieldCreateManyDirectionResponse2 = {
|
|
501
|
-
Vertical: "vertical",
|
|
502
|
-
Horizontal: "horizontal",
|
|
503
|
-
} as const;
|
|
504
|
-
export type EnvelopeFieldCreateManyDirectionResponse2 = ClosedEnum<
|
|
505
|
-
typeof EnvelopeFieldCreateManyDirectionResponse2
|
|
506
|
-
>;
|
|
507
|
-
|
|
508
|
-
export type EnvelopeFieldCreateManyFieldMetaCheckboxResponse = {
|
|
509
|
-
label?: string | undefined;
|
|
510
|
-
placeholder?: string | undefined;
|
|
511
|
-
required?: boolean | undefined;
|
|
512
|
-
readOnly?: boolean | undefined;
|
|
513
|
-
fontSize?: number | undefined;
|
|
514
|
-
type: "checkbox";
|
|
515
|
-
values?: Array<EnvelopeFieldCreateManyValueResponse2> | undefined;
|
|
516
|
-
validationRule?: string | undefined;
|
|
517
|
-
validationLength?: number | undefined;
|
|
518
|
-
direction?: EnvelopeFieldCreateManyDirectionResponse2 | undefined;
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
export type EnvelopeFieldCreateManyValueResponse1 = {
|
|
522
|
-
id: number;
|
|
523
|
-
checked: boolean;
|
|
524
|
-
value: string;
|
|
525
|
-
};
|
|
526
|
-
|
|
527
|
-
export const EnvelopeFieldCreateManyDirectionResponse1 = {
|
|
528
|
-
Vertical: "vertical",
|
|
529
|
-
Horizontal: "horizontal",
|
|
530
|
-
} as const;
|
|
531
|
-
export type EnvelopeFieldCreateManyDirectionResponse1 = ClosedEnum<
|
|
532
|
-
typeof EnvelopeFieldCreateManyDirectionResponse1
|
|
533
|
-
>;
|
|
534
|
-
|
|
535
|
-
export type EnvelopeFieldCreateManyFieldMetaRadioResponse = {
|
|
536
|
-
label?: string | undefined;
|
|
537
|
-
placeholder?: string | undefined;
|
|
538
|
-
required?: boolean | undefined;
|
|
539
|
-
readOnly?: boolean | undefined;
|
|
540
|
-
fontSize?: number | undefined;
|
|
541
|
-
type: "radio";
|
|
542
|
-
values?: Array<EnvelopeFieldCreateManyValueResponse1> | undefined;
|
|
543
|
-
direction?: EnvelopeFieldCreateManyDirectionResponse1 | undefined;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
export const EnvelopeFieldCreateManyTextAlignResponse6 = {
|
|
547
|
-
Left: "left",
|
|
548
|
-
Center: "center",
|
|
549
|
-
Right: "right",
|
|
550
|
-
} as const;
|
|
551
|
-
export type EnvelopeFieldCreateManyTextAlignResponse6 = ClosedEnum<
|
|
552
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse6
|
|
553
|
-
>;
|
|
554
|
-
|
|
555
|
-
export const EnvelopeFieldCreateManyVerticalAlignResponse2 = {
|
|
556
|
-
Top: "top",
|
|
557
|
-
Middle: "middle",
|
|
558
|
-
Bottom: "bottom",
|
|
559
|
-
} as const;
|
|
560
|
-
export type EnvelopeFieldCreateManyVerticalAlignResponse2 = ClosedEnum<
|
|
561
|
-
typeof EnvelopeFieldCreateManyVerticalAlignResponse2
|
|
562
|
-
>;
|
|
563
|
-
|
|
564
|
-
export type EnvelopeFieldCreateManyFieldMetaNumberResponse = {
|
|
565
|
-
label?: string | undefined;
|
|
566
|
-
placeholder?: string | undefined;
|
|
567
|
-
required?: boolean | undefined;
|
|
568
|
-
readOnly?: boolean | undefined;
|
|
569
|
-
fontSize?: number | undefined;
|
|
570
|
-
type: "number";
|
|
571
|
-
numberFormat?: string | null | undefined;
|
|
572
|
-
value?: string | undefined;
|
|
573
|
-
minValue?: number | null | undefined;
|
|
574
|
-
maxValue?: number | null | undefined;
|
|
575
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse6 | undefined;
|
|
576
|
-
lineHeight?: number | null | undefined;
|
|
577
|
-
letterSpacing?: number | null | undefined;
|
|
578
|
-
verticalAlign?:
|
|
579
|
-
| EnvelopeFieldCreateManyVerticalAlignResponse2
|
|
580
|
-
| null
|
|
581
|
-
| undefined;
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
export const EnvelopeFieldCreateManyTextAlignResponse5 = {
|
|
585
|
-
Left: "left",
|
|
586
|
-
Center: "center",
|
|
587
|
-
Right: "right",
|
|
588
|
-
} as const;
|
|
589
|
-
export type EnvelopeFieldCreateManyTextAlignResponse5 = ClosedEnum<
|
|
590
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse5
|
|
591
|
-
>;
|
|
592
|
-
|
|
593
|
-
export const EnvelopeFieldCreateManyVerticalAlignResponse1 = {
|
|
594
|
-
Top: "top",
|
|
595
|
-
Middle: "middle",
|
|
596
|
-
Bottom: "bottom",
|
|
597
|
-
} as const;
|
|
598
|
-
export type EnvelopeFieldCreateManyVerticalAlignResponse1 = ClosedEnum<
|
|
599
|
-
typeof EnvelopeFieldCreateManyVerticalAlignResponse1
|
|
600
|
-
>;
|
|
601
|
-
|
|
602
|
-
export type EnvelopeFieldCreateManyFieldMetaTextResponse = {
|
|
603
|
-
label?: string | undefined;
|
|
604
|
-
placeholder?: string | undefined;
|
|
605
|
-
required?: boolean | undefined;
|
|
606
|
-
readOnly?: boolean | undefined;
|
|
607
|
-
fontSize?: number | undefined;
|
|
608
|
-
type: "text";
|
|
609
|
-
text?: string | undefined;
|
|
610
|
-
characterLimit?: number | undefined;
|
|
611
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse5 | undefined;
|
|
612
|
-
lineHeight?: number | null | undefined;
|
|
613
|
-
letterSpacing?: number | null | undefined;
|
|
614
|
-
verticalAlign?:
|
|
615
|
-
| EnvelopeFieldCreateManyVerticalAlignResponse1
|
|
616
|
-
| null
|
|
617
|
-
| undefined;
|
|
618
|
-
};
|
|
619
|
-
|
|
620
|
-
export const EnvelopeFieldCreateManyTextAlignResponse4 = {
|
|
621
|
-
Left: "left",
|
|
622
|
-
Center: "center",
|
|
623
|
-
Right: "right",
|
|
624
|
-
} as const;
|
|
625
|
-
export type EnvelopeFieldCreateManyTextAlignResponse4 = ClosedEnum<
|
|
626
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse4
|
|
627
|
-
>;
|
|
628
|
-
|
|
629
|
-
export type EnvelopeFieldCreateManyFieldMetaDateResponse = {
|
|
630
|
-
label?: string | undefined;
|
|
631
|
-
placeholder?: string | undefined;
|
|
632
|
-
required?: boolean | undefined;
|
|
633
|
-
readOnly?: boolean | undefined;
|
|
634
|
-
fontSize?: number | undefined;
|
|
635
|
-
type: "date";
|
|
636
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse4 | undefined;
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
export const EnvelopeFieldCreateManyTextAlignResponse3 = {
|
|
640
|
-
Left: "left",
|
|
641
|
-
Center: "center",
|
|
642
|
-
Right: "right",
|
|
643
|
-
} as const;
|
|
644
|
-
export type EnvelopeFieldCreateManyTextAlignResponse3 = ClosedEnum<
|
|
645
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse3
|
|
646
|
-
>;
|
|
647
|
-
|
|
648
|
-
export type EnvelopeFieldCreateManyFieldMetaEmailResponse = {
|
|
649
|
-
label?: string | undefined;
|
|
650
|
-
placeholder?: string | undefined;
|
|
651
|
-
required?: boolean | undefined;
|
|
652
|
-
readOnly?: boolean | undefined;
|
|
653
|
-
fontSize?: number | undefined;
|
|
654
|
-
type: "email";
|
|
655
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse3 | undefined;
|
|
656
|
-
};
|
|
657
|
-
|
|
658
|
-
export const EnvelopeFieldCreateManyTextAlignResponse2 = {
|
|
659
|
-
Left: "left",
|
|
660
|
-
Center: "center",
|
|
661
|
-
Right: "right",
|
|
662
|
-
} as const;
|
|
663
|
-
export type EnvelopeFieldCreateManyTextAlignResponse2 = ClosedEnum<
|
|
664
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse2
|
|
665
|
-
>;
|
|
666
|
-
|
|
667
|
-
export type EnvelopeFieldCreateManyFieldMetaNameResponse = {
|
|
668
|
-
label?: string | undefined;
|
|
669
|
-
placeholder?: string | undefined;
|
|
670
|
-
required?: boolean | undefined;
|
|
671
|
-
readOnly?: boolean | undefined;
|
|
672
|
-
fontSize?: number | undefined;
|
|
673
|
-
type: "name";
|
|
674
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse2 | undefined;
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
export const EnvelopeFieldCreateManyTextAlignResponse1 = {
|
|
678
|
-
Left: "left",
|
|
679
|
-
Center: "center",
|
|
680
|
-
Right: "right",
|
|
681
|
-
} as const;
|
|
682
|
-
export type EnvelopeFieldCreateManyTextAlignResponse1 = ClosedEnum<
|
|
683
|
-
typeof EnvelopeFieldCreateManyTextAlignResponse1
|
|
684
|
-
>;
|
|
685
|
-
|
|
686
|
-
export type EnvelopeFieldCreateManyFieldMetaInitialsResponse = {
|
|
687
|
-
label?: string | undefined;
|
|
688
|
-
placeholder?: string | undefined;
|
|
689
|
-
required?: boolean | undefined;
|
|
690
|
-
readOnly?: boolean | undefined;
|
|
691
|
-
fontSize?: number | undefined;
|
|
692
|
-
type: "initials";
|
|
693
|
-
textAlign?: EnvelopeFieldCreateManyTextAlignResponse1 | undefined;
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
export type EnvelopeFieldCreateManyFieldMetaSignatureResponse = {
|
|
697
|
-
label?: string | undefined;
|
|
698
|
-
placeholder?: string | undefined;
|
|
699
|
-
required?: boolean | undefined;
|
|
700
|
-
readOnly?: boolean | undefined;
|
|
701
|
-
fontSize?: number | undefined;
|
|
702
|
-
type: "signature";
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
export type EnvelopeFieldCreateManyFieldMetaUnion =
|
|
706
|
-
| EnvelopeFieldCreateManyFieldMetaSignatureResponse
|
|
707
|
-
| EnvelopeFieldCreateManyFieldMetaInitialsResponse
|
|
708
|
-
| EnvelopeFieldCreateManyFieldMetaNameResponse
|
|
709
|
-
| EnvelopeFieldCreateManyFieldMetaEmailResponse
|
|
710
|
-
| EnvelopeFieldCreateManyFieldMetaDateResponse
|
|
711
|
-
| EnvelopeFieldCreateManyFieldMetaTextResponse
|
|
712
|
-
| EnvelopeFieldCreateManyFieldMetaNumberResponse
|
|
713
|
-
| EnvelopeFieldCreateManyFieldMetaRadioResponse
|
|
714
|
-
| EnvelopeFieldCreateManyFieldMetaCheckboxResponse
|
|
715
|
-
| EnvelopeFieldCreateManyFieldMetaDropdownResponse;
|
|
716
|
-
|
|
717
|
-
export type EnvelopeFieldCreateManyDataResponse = {
|
|
718
|
-
envelopeId: string;
|
|
719
|
-
envelopeItemId: string;
|
|
720
|
-
type: EnvelopeFieldCreateManyTypeResponseEnum;
|
|
721
|
-
id: number;
|
|
722
|
-
secondaryId: string;
|
|
723
|
-
recipientId: number;
|
|
724
|
-
page: number;
|
|
725
|
-
positionX?: any | undefined;
|
|
726
|
-
positionY?: any | undefined;
|
|
727
|
-
width?: any | undefined;
|
|
728
|
-
height?: any | undefined;
|
|
729
|
-
customText: string;
|
|
730
|
-
inserted: boolean;
|
|
731
|
-
fieldMeta:
|
|
732
|
-
| EnvelopeFieldCreateManyFieldMetaSignatureResponse
|
|
733
|
-
| EnvelopeFieldCreateManyFieldMetaInitialsResponse
|
|
734
|
-
| EnvelopeFieldCreateManyFieldMetaNameResponse
|
|
735
|
-
| EnvelopeFieldCreateManyFieldMetaEmailResponse
|
|
736
|
-
| EnvelopeFieldCreateManyFieldMetaDateResponse
|
|
737
|
-
| EnvelopeFieldCreateManyFieldMetaTextResponse
|
|
738
|
-
| EnvelopeFieldCreateManyFieldMetaNumberResponse
|
|
739
|
-
| EnvelopeFieldCreateManyFieldMetaRadioResponse
|
|
740
|
-
| EnvelopeFieldCreateManyFieldMetaCheckboxResponse
|
|
741
|
-
| EnvelopeFieldCreateManyFieldMetaDropdownResponse
|
|
742
|
-
| null;
|
|
743
|
-
documentId?: number | null | undefined;
|
|
744
|
-
templateId?: number | null | undefined;
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Successful response
|
|
749
|
-
*/
|
|
750
|
-
export type EnvelopeFieldCreateManyResponse = {
|
|
751
|
-
data: Array<EnvelopeFieldCreateManyDataResponse>;
|
|
752
|
-
};
|
|
753
|
-
|
|
754
|
-
/** @internal */
|
|
755
|
-
export const EnvelopeFieldCreateManyTypeDropdownEnum$inboundSchema:
|
|
756
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeDropdownEnum> = z
|
|
757
|
-
.nativeEnum(EnvelopeFieldCreateManyTypeDropdownEnum);
|
|
758
|
-
/** @internal */
|
|
759
|
-
export const EnvelopeFieldCreateManyTypeDropdownEnum$outboundSchema:
|
|
760
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeDropdownEnum> =
|
|
761
|
-
EnvelopeFieldCreateManyTypeDropdownEnum$inboundSchema;
|
|
762
|
-
|
|
763
|
-
/** @internal */
|
|
764
|
-
export const EnvelopeFieldCreateManyValueDropdown$inboundSchema: z.ZodType<
|
|
765
|
-
EnvelopeFieldCreateManyValueDropdown,
|
|
766
|
-
z.ZodTypeDef,
|
|
767
|
-
unknown
|
|
768
|
-
> = z.object({
|
|
769
|
-
value: z.string(),
|
|
770
|
-
});
|
|
771
|
-
/** @internal */
|
|
772
|
-
export type EnvelopeFieldCreateManyValueDropdown$Outbound = {
|
|
773
|
-
value: string;
|
|
774
|
-
};
|
|
775
|
-
|
|
776
|
-
/** @internal */
|
|
777
|
-
export const EnvelopeFieldCreateManyValueDropdown$outboundSchema: z.ZodType<
|
|
778
|
-
EnvelopeFieldCreateManyValueDropdown$Outbound,
|
|
779
|
-
z.ZodTypeDef,
|
|
780
|
-
EnvelopeFieldCreateManyValueDropdown
|
|
781
|
-
> = z.object({
|
|
782
|
-
value: z.string(),
|
|
783
|
-
});
|
|
784
|
-
|
|
785
|
-
export function envelopeFieldCreateManyValueDropdownToJSON(
|
|
786
|
-
envelopeFieldCreateManyValueDropdown: EnvelopeFieldCreateManyValueDropdown,
|
|
787
|
-
): string {
|
|
788
|
-
return JSON.stringify(
|
|
789
|
-
EnvelopeFieldCreateManyValueDropdown$outboundSchema.parse(
|
|
790
|
-
envelopeFieldCreateManyValueDropdown,
|
|
791
|
-
),
|
|
792
|
-
);
|
|
793
|
-
}
|
|
794
|
-
export function envelopeFieldCreateManyValueDropdownFromJSON(
|
|
795
|
-
jsonString: string,
|
|
796
|
-
): SafeParseResult<EnvelopeFieldCreateManyValueDropdown, SDKValidationError> {
|
|
797
|
-
return safeParse(
|
|
798
|
-
jsonString,
|
|
799
|
-
(x) =>
|
|
800
|
-
EnvelopeFieldCreateManyValueDropdown$inboundSchema.parse(JSON.parse(x)),
|
|
801
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueDropdown' from JSON`,
|
|
802
|
-
);
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
/** @internal */
|
|
806
|
-
export const EnvelopeFieldCreateManyFieldMetaDropdownRequest$inboundSchema:
|
|
807
|
-
z.ZodType<
|
|
808
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest,
|
|
809
|
-
z.ZodTypeDef,
|
|
810
|
-
unknown
|
|
811
|
-
> = z.object({
|
|
812
|
-
label: z.string().optional(),
|
|
813
|
-
placeholder: z.string().optional(),
|
|
814
|
-
required: z.boolean().optional(),
|
|
815
|
-
readOnly: z.boolean().optional(),
|
|
816
|
-
fontSize: z.number().default(12),
|
|
817
|
-
type: EnvelopeFieldCreateManyTypeDropdownEnum$inboundSchema,
|
|
818
|
-
values: z.array(
|
|
819
|
-
z.lazy(() => EnvelopeFieldCreateManyValueDropdown$inboundSchema),
|
|
820
|
-
).optional(),
|
|
821
|
-
defaultValue: z.string().optional(),
|
|
822
|
-
});
|
|
823
|
-
/** @internal */
|
|
824
|
-
export type EnvelopeFieldCreateManyFieldMetaDropdownRequest$Outbound = {
|
|
825
|
-
label?: string | undefined;
|
|
826
|
-
placeholder?: string | undefined;
|
|
827
|
-
required?: boolean | undefined;
|
|
828
|
-
readOnly?: boolean | undefined;
|
|
829
|
-
fontSize: number;
|
|
830
|
-
type: string;
|
|
831
|
-
values?: Array<EnvelopeFieldCreateManyValueDropdown$Outbound> | undefined;
|
|
832
|
-
defaultValue?: string | undefined;
|
|
833
|
-
};
|
|
834
|
-
|
|
835
|
-
/** @internal */
|
|
836
|
-
export const EnvelopeFieldCreateManyFieldMetaDropdownRequest$outboundSchema:
|
|
837
|
-
z.ZodType<
|
|
838
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest$Outbound,
|
|
839
|
-
z.ZodTypeDef,
|
|
840
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest
|
|
841
|
-
> = z.object({
|
|
842
|
-
label: z.string().optional(),
|
|
843
|
-
placeholder: z.string().optional(),
|
|
844
|
-
required: z.boolean().optional(),
|
|
845
|
-
readOnly: z.boolean().optional(),
|
|
846
|
-
fontSize: z.number().default(12),
|
|
847
|
-
type: EnvelopeFieldCreateManyTypeDropdownEnum$outboundSchema,
|
|
848
|
-
values: z.array(
|
|
849
|
-
z.lazy(() => EnvelopeFieldCreateManyValueDropdown$outboundSchema),
|
|
850
|
-
).optional(),
|
|
851
|
-
defaultValue: z.string().optional(),
|
|
852
|
-
});
|
|
853
|
-
|
|
854
|
-
export function envelopeFieldCreateManyFieldMetaDropdownRequestToJSON(
|
|
855
|
-
envelopeFieldCreateManyFieldMetaDropdownRequest:
|
|
856
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest,
|
|
857
|
-
): string {
|
|
858
|
-
return JSON.stringify(
|
|
859
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest$outboundSchema.parse(
|
|
860
|
-
envelopeFieldCreateManyFieldMetaDropdownRequest,
|
|
861
|
-
),
|
|
862
|
-
);
|
|
863
|
-
}
|
|
864
|
-
export function envelopeFieldCreateManyFieldMetaDropdownRequestFromJSON(
|
|
865
|
-
jsonString: string,
|
|
866
|
-
): SafeParseResult<
|
|
867
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest,
|
|
868
|
-
SDKValidationError
|
|
869
|
-
> {
|
|
870
|
-
return safeParse(
|
|
871
|
-
jsonString,
|
|
872
|
-
(x) =>
|
|
873
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest$inboundSchema.parse(
|
|
874
|
-
JSON.parse(x),
|
|
875
|
-
),
|
|
876
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaDropdownRequest' from JSON`,
|
|
877
|
-
);
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
/** @internal */
|
|
881
|
-
export const EnvelopeFieldCreateManyDataDropdown$inboundSchema: z.ZodType<
|
|
882
|
-
EnvelopeFieldCreateManyDataDropdown,
|
|
883
|
-
z.ZodTypeDef,
|
|
884
|
-
unknown
|
|
885
|
-
> = z.object({
|
|
886
|
-
type: z.literal("DROPDOWN"),
|
|
887
|
-
fieldMeta: z.lazy(() =>
|
|
888
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest$inboundSchema
|
|
889
|
-
).optional(),
|
|
890
|
-
recipientId: z.number(),
|
|
891
|
-
envelopeItemId: z.string().optional(),
|
|
892
|
-
page: z.number(),
|
|
893
|
-
positionX: z.number(),
|
|
894
|
-
positionY: z.number(),
|
|
895
|
-
width: z.number(),
|
|
896
|
-
height: z.number(),
|
|
897
|
-
});
|
|
898
|
-
/** @internal */
|
|
899
|
-
export type EnvelopeFieldCreateManyDataDropdown$Outbound = {
|
|
900
|
-
type: "DROPDOWN";
|
|
901
|
-
fieldMeta?:
|
|
902
|
-
| EnvelopeFieldCreateManyFieldMetaDropdownRequest$Outbound
|
|
903
|
-
| undefined;
|
|
904
|
-
recipientId: number;
|
|
905
|
-
envelopeItemId?: string | undefined;
|
|
906
|
-
page: number;
|
|
907
|
-
positionX: number;
|
|
908
|
-
positionY: number;
|
|
909
|
-
width: number;
|
|
910
|
-
height: number;
|
|
911
|
-
};
|
|
912
|
-
|
|
913
|
-
/** @internal */
|
|
914
|
-
export const EnvelopeFieldCreateManyDataDropdown$outboundSchema: z.ZodType<
|
|
915
|
-
EnvelopeFieldCreateManyDataDropdown$Outbound,
|
|
916
|
-
z.ZodTypeDef,
|
|
917
|
-
EnvelopeFieldCreateManyDataDropdown
|
|
918
|
-
> = z.object({
|
|
919
|
-
type: z.literal("DROPDOWN"),
|
|
920
|
-
fieldMeta: z.lazy(() =>
|
|
921
|
-
EnvelopeFieldCreateManyFieldMetaDropdownRequest$outboundSchema
|
|
922
|
-
).optional(),
|
|
923
|
-
recipientId: z.number(),
|
|
924
|
-
envelopeItemId: z.string().optional(),
|
|
925
|
-
page: z.number(),
|
|
926
|
-
positionX: z.number(),
|
|
927
|
-
positionY: z.number(),
|
|
928
|
-
width: z.number(),
|
|
929
|
-
height: z.number(),
|
|
930
|
-
});
|
|
931
|
-
|
|
932
|
-
export function envelopeFieldCreateManyDataDropdownToJSON(
|
|
933
|
-
envelopeFieldCreateManyDataDropdown: EnvelopeFieldCreateManyDataDropdown,
|
|
934
|
-
): string {
|
|
935
|
-
return JSON.stringify(
|
|
936
|
-
EnvelopeFieldCreateManyDataDropdown$outboundSchema.parse(
|
|
937
|
-
envelopeFieldCreateManyDataDropdown,
|
|
938
|
-
),
|
|
939
|
-
);
|
|
940
|
-
}
|
|
941
|
-
export function envelopeFieldCreateManyDataDropdownFromJSON(
|
|
942
|
-
jsonString: string,
|
|
943
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataDropdown, SDKValidationError> {
|
|
944
|
-
return safeParse(
|
|
945
|
-
jsonString,
|
|
946
|
-
(x) =>
|
|
947
|
-
EnvelopeFieldCreateManyDataDropdown$inboundSchema.parse(JSON.parse(x)),
|
|
948
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataDropdown' from JSON`,
|
|
949
|
-
);
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/** @internal */
|
|
953
|
-
export const EnvelopeFieldCreateManyTypeCheckboxEnum$inboundSchema:
|
|
954
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeCheckboxEnum> = z
|
|
955
|
-
.nativeEnum(EnvelopeFieldCreateManyTypeCheckboxEnum);
|
|
956
|
-
/** @internal */
|
|
957
|
-
export const EnvelopeFieldCreateManyTypeCheckboxEnum$outboundSchema:
|
|
958
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeCheckboxEnum> =
|
|
959
|
-
EnvelopeFieldCreateManyTypeCheckboxEnum$inboundSchema;
|
|
960
|
-
|
|
961
|
-
/** @internal */
|
|
962
|
-
export const EnvelopeFieldCreateManyValueCheckbox$inboundSchema: z.ZodType<
|
|
963
|
-
EnvelopeFieldCreateManyValueCheckbox,
|
|
964
|
-
z.ZodTypeDef,
|
|
965
|
-
unknown
|
|
966
|
-
> = z.object({
|
|
967
|
-
id: z.number(),
|
|
968
|
-
checked: z.boolean(),
|
|
969
|
-
value: z.string(),
|
|
970
|
-
});
|
|
971
|
-
/** @internal */
|
|
972
|
-
export type EnvelopeFieldCreateManyValueCheckbox$Outbound = {
|
|
973
|
-
id: number;
|
|
974
|
-
checked: boolean;
|
|
975
|
-
value: string;
|
|
976
|
-
};
|
|
977
|
-
|
|
978
|
-
/** @internal */
|
|
979
|
-
export const EnvelopeFieldCreateManyValueCheckbox$outboundSchema: z.ZodType<
|
|
980
|
-
EnvelopeFieldCreateManyValueCheckbox$Outbound,
|
|
981
|
-
z.ZodTypeDef,
|
|
982
|
-
EnvelopeFieldCreateManyValueCheckbox
|
|
983
|
-
> = z.object({
|
|
984
|
-
id: z.number(),
|
|
985
|
-
checked: z.boolean(),
|
|
986
|
-
value: z.string(),
|
|
987
|
-
});
|
|
988
|
-
|
|
989
|
-
export function envelopeFieldCreateManyValueCheckboxToJSON(
|
|
990
|
-
envelopeFieldCreateManyValueCheckbox: EnvelopeFieldCreateManyValueCheckbox,
|
|
991
|
-
): string {
|
|
992
|
-
return JSON.stringify(
|
|
993
|
-
EnvelopeFieldCreateManyValueCheckbox$outboundSchema.parse(
|
|
994
|
-
envelopeFieldCreateManyValueCheckbox,
|
|
995
|
-
),
|
|
996
|
-
);
|
|
997
|
-
}
|
|
998
|
-
export function envelopeFieldCreateManyValueCheckboxFromJSON(
|
|
999
|
-
jsonString: string,
|
|
1000
|
-
): SafeParseResult<EnvelopeFieldCreateManyValueCheckbox, SDKValidationError> {
|
|
1001
|
-
return safeParse(
|
|
1002
|
-
jsonString,
|
|
1003
|
-
(x) =>
|
|
1004
|
-
EnvelopeFieldCreateManyValueCheckbox$inboundSchema.parse(JSON.parse(x)),
|
|
1005
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueCheckbox' from JSON`,
|
|
1006
|
-
);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
/** @internal */
|
|
1010
|
-
export const EnvelopeFieldCreateManyDirectionCheckbox$inboundSchema:
|
|
1011
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyDirectionCheckbox> = z
|
|
1012
|
-
.nativeEnum(EnvelopeFieldCreateManyDirectionCheckbox);
|
|
1013
|
-
/** @internal */
|
|
1014
|
-
export const EnvelopeFieldCreateManyDirectionCheckbox$outboundSchema:
|
|
1015
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyDirectionCheckbox> =
|
|
1016
|
-
EnvelopeFieldCreateManyDirectionCheckbox$inboundSchema;
|
|
1017
|
-
|
|
1018
|
-
/** @internal */
|
|
1019
|
-
export const EnvelopeFieldCreateManyFieldMetaCheckboxRequest$inboundSchema:
|
|
1020
|
-
z.ZodType<
|
|
1021
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest,
|
|
1022
|
-
z.ZodTypeDef,
|
|
1023
|
-
unknown
|
|
1024
|
-
> = z.object({
|
|
1025
|
-
label: z.string().optional(),
|
|
1026
|
-
placeholder: z.string().optional(),
|
|
1027
|
-
required: z.boolean().optional(),
|
|
1028
|
-
readOnly: z.boolean().optional(),
|
|
1029
|
-
fontSize: z.number().default(12),
|
|
1030
|
-
type: EnvelopeFieldCreateManyTypeCheckboxEnum$inboundSchema,
|
|
1031
|
-
values: z.array(
|
|
1032
|
-
z.lazy(() => EnvelopeFieldCreateManyValueCheckbox$inboundSchema),
|
|
1033
|
-
).optional(),
|
|
1034
|
-
validationRule: z.string().optional(),
|
|
1035
|
-
validationLength: z.number().optional(),
|
|
1036
|
-
direction: EnvelopeFieldCreateManyDirectionCheckbox$inboundSchema.default(
|
|
1037
|
-
"vertical",
|
|
1038
|
-
),
|
|
1039
|
-
});
|
|
1040
|
-
/** @internal */
|
|
1041
|
-
export type EnvelopeFieldCreateManyFieldMetaCheckboxRequest$Outbound = {
|
|
1042
|
-
label?: string | undefined;
|
|
1043
|
-
placeholder?: string | undefined;
|
|
1044
|
-
required?: boolean | undefined;
|
|
1045
|
-
readOnly?: boolean | undefined;
|
|
1046
|
-
fontSize: number;
|
|
1047
|
-
type: string;
|
|
1048
|
-
values?: Array<EnvelopeFieldCreateManyValueCheckbox$Outbound> | undefined;
|
|
1049
|
-
validationRule?: string | undefined;
|
|
1050
|
-
validationLength?: number | undefined;
|
|
1051
|
-
direction: string;
|
|
1052
|
-
};
|
|
1053
|
-
|
|
1054
|
-
/** @internal */
|
|
1055
|
-
export const EnvelopeFieldCreateManyFieldMetaCheckboxRequest$outboundSchema:
|
|
1056
|
-
z.ZodType<
|
|
1057
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest$Outbound,
|
|
1058
|
-
z.ZodTypeDef,
|
|
1059
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest
|
|
1060
|
-
> = z.object({
|
|
1061
|
-
label: z.string().optional(),
|
|
1062
|
-
placeholder: z.string().optional(),
|
|
1063
|
-
required: z.boolean().optional(),
|
|
1064
|
-
readOnly: z.boolean().optional(),
|
|
1065
|
-
fontSize: z.number().default(12),
|
|
1066
|
-
type: EnvelopeFieldCreateManyTypeCheckboxEnum$outboundSchema,
|
|
1067
|
-
values: z.array(
|
|
1068
|
-
z.lazy(() => EnvelopeFieldCreateManyValueCheckbox$outboundSchema),
|
|
1069
|
-
).optional(),
|
|
1070
|
-
validationRule: z.string().optional(),
|
|
1071
|
-
validationLength: z.number().optional(),
|
|
1072
|
-
direction: EnvelopeFieldCreateManyDirectionCheckbox$outboundSchema.default(
|
|
1073
|
-
"vertical",
|
|
1074
|
-
),
|
|
1075
|
-
});
|
|
1076
|
-
|
|
1077
|
-
export function envelopeFieldCreateManyFieldMetaCheckboxRequestToJSON(
|
|
1078
|
-
envelopeFieldCreateManyFieldMetaCheckboxRequest:
|
|
1079
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest,
|
|
1080
|
-
): string {
|
|
1081
|
-
return JSON.stringify(
|
|
1082
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest$outboundSchema.parse(
|
|
1083
|
-
envelopeFieldCreateManyFieldMetaCheckboxRequest,
|
|
1084
|
-
),
|
|
1085
|
-
);
|
|
1086
|
-
}
|
|
1087
|
-
export function envelopeFieldCreateManyFieldMetaCheckboxRequestFromJSON(
|
|
1088
|
-
jsonString: string,
|
|
1089
|
-
): SafeParseResult<
|
|
1090
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest,
|
|
1091
|
-
SDKValidationError
|
|
1092
|
-
> {
|
|
1093
|
-
return safeParse(
|
|
1094
|
-
jsonString,
|
|
1095
|
-
(x) =>
|
|
1096
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest$inboundSchema.parse(
|
|
1097
|
-
JSON.parse(x),
|
|
1098
|
-
),
|
|
1099
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaCheckboxRequest' from JSON`,
|
|
1100
|
-
);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export const EnvelopeFieldCreateManyDataCheckbox$inboundSchema: z.ZodType<
|
|
1105
|
-
EnvelopeFieldCreateManyDataCheckbox,
|
|
1106
|
-
z.ZodTypeDef,
|
|
1107
|
-
unknown
|
|
1108
|
-
> = z.object({
|
|
1109
|
-
type: z.literal("CHECKBOX"),
|
|
1110
|
-
fieldMeta: z.lazy(() =>
|
|
1111
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest$inboundSchema
|
|
1112
|
-
).optional(),
|
|
1113
|
-
recipientId: z.number(),
|
|
1114
|
-
envelopeItemId: z.string().optional(),
|
|
1115
|
-
page: z.number(),
|
|
1116
|
-
positionX: z.number(),
|
|
1117
|
-
positionY: z.number(),
|
|
1118
|
-
width: z.number(),
|
|
1119
|
-
height: z.number(),
|
|
1120
|
-
});
|
|
1121
|
-
/** @internal */
|
|
1122
|
-
export type EnvelopeFieldCreateManyDataCheckbox$Outbound = {
|
|
1123
|
-
type: "CHECKBOX";
|
|
1124
|
-
fieldMeta?:
|
|
1125
|
-
| EnvelopeFieldCreateManyFieldMetaCheckboxRequest$Outbound
|
|
1126
|
-
| undefined;
|
|
1127
|
-
recipientId: number;
|
|
1128
|
-
envelopeItemId?: string | undefined;
|
|
1129
|
-
page: number;
|
|
1130
|
-
positionX: number;
|
|
1131
|
-
positionY: number;
|
|
1132
|
-
width: number;
|
|
1133
|
-
height: number;
|
|
1134
|
-
};
|
|
1135
|
-
|
|
1136
|
-
/** @internal */
|
|
1137
|
-
export const EnvelopeFieldCreateManyDataCheckbox$outboundSchema: z.ZodType<
|
|
1138
|
-
EnvelopeFieldCreateManyDataCheckbox$Outbound,
|
|
1139
|
-
z.ZodTypeDef,
|
|
1140
|
-
EnvelopeFieldCreateManyDataCheckbox
|
|
1141
|
-
> = z.object({
|
|
1142
|
-
type: z.literal("CHECKBOX"),
|
|
1143
|
-
fieldMeta: z.lazy(() =>
|
|
1144
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxRequest$outboundSchema
|
|
1145
|
-
).optional(),
|
|
1146
|
-
recipientId: z.number(),
|
|
1147
|
-
envelopeItemId: z.string().optional(),
|
|
1148
|
-
page: z.number(),
|
|
1149
|
-
positionX: z.number(),
|
|
1150
|
-
positionY: z.number(),
|
|
1151
|
-
width: z.number(),
|
|
1152
|
-
height: z.number(),
|
|
1153
|
-
});
|
|
1154
|
-
|
|
1155
|
-
export function envelopeFieldCreateManyDataCheckboxToJSON(
|
|
1156
|
-
envelopeFieldCreateManyDataCheckbox: EnvelopeFieldCreateManyDataCheckbox,
|
|
1157
|
-
): string {
|
|
1158
|
-
return JSON.stringify(
|
|
1159
|
-
EnvelopeFieldCreateManyDataCheckbox$outboundSchema.parse(
|
|
1160
|
-
envelopeFieldCreateManyDataCheckbox,
|
|
1161
|
-
),
|
|
1162
|
-
);
|
|
1163
|
-
}
|
|
1164
|
-
export function envelopeFieldCreateManyDataCheckboxFromJSON(
|
|
1165
|
-
jsonString: string,
|
|
1166
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataCheckbox, SDKValidationError> {
|
|
1167
|
-
return safeParse(
|
|
1168
|
-
jsonString,
|
|
1169
|
-
(x) =>
|
|
1170
|
-
EnvelopeFieldCreateManyDataCheckbox$inboundSchema.parse(JSON.parse(x)),
|
|
1171
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataCheckbox' from JSON`,
|
|
1172
|
-
);
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
/** @internal */
|
|
1176
|
-
export const EnvelopeFieldCreateManyTypeRadioEnum$inboundSchema:
|
|
1177
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeRadioEnum> = z.nativeEnum(
|
|
1178
|
-
EnvelopeFieldCreateManyTypeRadioEnum,
|
|
1179
|
-
);
|
|
1180
|
-
/** @internal */
|
|
1181
|
-
export const EnvelopeFieldCreateManyTypeRadioEnum$outboundSchema:
|
|
1182
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeRadioEnum> =
|
|
1183
|
-
EnvelopeFieldCreateManyTypeRadioEnum$inboundSchema;
|
|
1184
|
-
|
|
1185
|
-
/** @internal */
|
|
1186
|
-
export const EnvelopeFieldCreateManyValueRadio$inboundSchema: z.ZodType<
|
|
1187
|
-
EnvelopeFieldCreateManyValueRadio,
|
|
1188
|
-
z.ZodTypeDef,
|
|
1189
|
-
unknown
|
|
1190
|
-
> = z.object({
|
|
1191
|
-
id: z.number(),
|
|
1192
|
-
checked: z.boolean(),
|
|
1193
|
-
value: z.string(),
|
|
1194
|
-
});
|
|
1195
|
-
/** @internal */
|
|
1196
|
-
export type EnvelopeFieldCreateManyValueRadio$Outbound = {
|
|
1197
|
-
id: number;
|
|
1198
|
-
checked: boolean;
|
|
1199
|
-
value: string;
|
|
1200
|
-
};
|
|
1201
|
-
|
|
1202
|
-
/** @internal */
|
|
1203
|
-
export const EnvelopeFieldCreateManyValueRadio$outboundSchema: z.ZodType<
|
|
1204
|
-
EnvelopeFieldCreateManyValueRadio$Outbound,
|
|
1205
|
-
z.ZodTypeDef,
|
|
1206
|
-
EnvelopeFieldCreateManyValueRadio
|
|
1207
|
-
> = z.object({
|
|
1208
|
-
id: z.number(),
|
|
1209
|
-
checked: z.boolean(),
|
|
1210
|
-
value: z.string(),
|
|
1211
|
-
});
|
|
1212
|
-
|
|
1213
|
-
export function envelopeFieldCreateManyValueRadioToJSON(
|
|
1214
|
-
envelopeFieldCreateManyValueRadio: EnvelopeFieldCreateManyValueRadio,
|
|
1215
|
-
): string {
|
|
1216
|
-
return JSON.stringify(
|
|
1217
|
-
EnvelopeFieldCreateManyValueRadio$outboundSchema.parse(
|
|
1218
|
-
envelopeFieldCreateManyValueRadio,
|
|
1219
|
-
),
|
|
1220
|
-
);
|
|
1221
|
-
}
|
|
1222
|
-
export function envelopeFieldCreateManyValueRadioFromJSON(
|
|
1223
|
-
jsonString: string,
|
|
1224
|
-
): SafeParseResult<EnvelopeFieldCreateManyValueRadio, SDKValidationError> {
|
|
1225
|
-
return safeParse(
|
|
1226
|
-
jsonString,
|
|
1227
|
-
(x) => EnvelopeFieldCreateManyValueRadio$inboundSchema.parse(JSON.parse(x)),
|
|
1228
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueRadio' from JSON`,
|
|
1229
|
-
);
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
/** @internal */
|
|
1233
|
-
export const EnvelopeFieldCreateManyDirectionRadio$inboundSchema:
|
|
1234
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyDirectionRadio> = z.nativeEnum(
|
|
1235
|
-
EnvelopeFieldCreateManyDirectionRadio,
|
|
1236
|
-
);
|
|
1237
|
-
/** @internal */
|
|
1238
|
-
export const EnvelopeFieldCreateManyDirectionRadio$outboundSchema:
|
|
1239
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyDirectionRadio> =
|
|
1240
|
-
EnvelopeFieldCreateManyDirectionRadio$inboundSchema;
|
|
1241
|
-
|
|
1242
|
-
/** @internal */
|
|
1243
|
-
export const EnvelopeFieldCreateManyFieldMetaRadioRequest$inboundSchema:
|
|
1244
|
-
z.ZodType<
|
|
1245
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest,
|
|
1246
|
-
z.ZodTypeDef,
|
|
1247
|
-
unknown
|
|
1248
|
-
> = z.object({
|
|
1249
|
-
label: z.string().optional(),
|
|
1250
|
-
placeholder: z.string().optional(),
|
|
1251
|
-
required: z.boolean().optional(),
|
|
1252
|
-
readOnly: z.boolean().optional(),
|
|
1253
|
-
fontSize: z.number().default(12),
|
|
1254
|
-
type: EnvelopeFieldCreateManyTypeRadioEnum$inboundSchema,
|
|
1255
|
-
values: z.array(
|
|
1256
|
-
z.lazy(() => EnvelopeFieldCreateManyValueRadio$inboundSchema),
|
|
1257
|
-
).optional(),
|
|
1258
|
-
direction: EnvelopeFieldCreateManyDirectionRadio$inboundSchema.default(
|
|
1259
|
-
"vertical",
|
|
1260
|
-
),
|
|
1261
|
-
});
|
|
1262
|
-
/** @internal */
|
|
1263
|
-
export type EnvelopeFieldCreateManyFieldMetaRadioRequest$Outbound = {
|
|
1264
|
-
label?: string | undefined;
|
|
1265
|
-
placeholder?: string | undefined;
|
|
1266
|
-
required?: boolean | undefined;
|
|
1267
|
-
readOnly?: boolean | undefined;
|
|
1268
|
-
fontSize: number;
|
|
1269
|
-
type: string;
|
|
1270
|
-
values?: Array<EnvelopeFieldCreateManyValueRadio$Outbound> | undefined;
|
|
1271
|
-
direction: string;
|
|
1272
|
-
};
|
|
1273
|
-
|
|
1274
|
-
/** @internal */
|
|
1275
|
-
export const EnvelopeFieldCreateManyFieldMetaRadioRequest$outboundSchema:
|
|
1276
|
-
z.ZodType<
|
|
1277
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest$Outbound,
|
|
1278
|
-
z.ZodTypeDef,
|
|
1279
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest
|
|
1280
|
-
> = z.object({
|
|
1281
|
-
label: z.string().optional(),
|
|
1282
|
-
placeholder: z.string().optional(),
|
|
1283
|
-
required: z.boolean().optional(),
|
|
1284
|
-
readOnly: z.boolean().optional(),
|
|
1285
|
-
fontSize: z.number().default(12),
|
|
1286
|
-
type: EnvelopeFieldCreateManyTypeRadioEnum$outboundSchema,
|
|
1287
|
-
values: z.array(
|
|
1288
|
-
z.lazy(() => EnvelopeFieldCreateManyValueRadio$outboundSchema),
|
|
1289
|
-
).optional(),
|
|
1290
|
-
direction: EnvelopeFieldCreateManyDirectionRadio$outboundSchema.default(
|
|
1291
|
-
"vertical",
|
|
1292
|
-
),
|
|
1293
|
-
});
|
|
1294
|
-
|
|
1295
|
-
export function envelopeFieldCreateManyFieldMetaRadioRequestToJSON(
|
|
1296
|
-
envelopeFieldCreateManyFieldMetaRadioRequest:
|
|
1297
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest,
|
|
1298
|
-
): string {
|
|
1299
|
-
return JSON.stringify(
|
|
1300
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest$outboundSchema.parse(
|
|
1301
|
-
envelopeFieldCreateManyFieldMetaRadioRequest,
|
|
1302
|
-
),
|
|
1303
|
-
);
|
|
1304
|
-
}
|
|
1305
|
-
export function envelopeFieldCreateManyFieldMetaRadioRequestFromJSON(
|
|
1306
|
-
jsonString: string,
|
|
1307
|
-
): SafeParseResult<
|
|
1308
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest,
|
|
1309
|
-
SDKValidationError
|
|
1310
|
-
> {
|
|
1311
|
-
return safeParse(
|
|
1312
|
-
jsonString,
|
|
1313
|
-
(x) =>
|
|
1314
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest$inboundSchema.parse(
|
|
1315
|
-
JSON.parse(x),
|
|
1316
|
-
),
|
|
1317
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaRadioRequest' from JSON`,
|
|
1318
|
-
);
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/** @internal */
|
|
1322
|
-
export const EnvelopeFieldCreateManyDataRadio$inboundSchema: z.ZodType<
|
|
1323
|
-
EnvelopeFieldCreateManyDataRadio,
|
|
1324
|
-
z.ZodTypeDef,
|
|
1325
|
-
unknown
|
|
1326
|
-
> = z.object({
|
|
1327
|
-
type: z.literal("RADIO"),
|
|
1328
|
-
fieldMeta: z.lazy(() =>
|
|
1329
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest$inboundSchema
|
|
1330
|
-
).optional(),
|
|
1331
|
-
recipientId: z.number(),
|
|
1332
|
-
envelopeItemId: z.string().optional(),
|
|
1333
|
-
page: z.number(),
|
|
1334
|
-
positionX: z.number(),
|
|
1335
|
-
positionY: z.number(),
|
|
1336
|
-
width: z.number(),
|
|
1337
|
-
height: z.number(),
|
|
1338
|
-
});
|
|
1339
|
-
/** @internal */
|
|
1340
|
-
export type EnvelopeFieldCreateManyDataRadio$Outbound = {
|
|
1341
|
-
type: "RADIO";
|
|
1342
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaRadioRequest$Outbound | undefined;
|
|
1343
|
-
recipientId: number;
|
|
1344
|
-
envelopeItemId?: string | undefined;
|
|
1345
|
-
page: number;
|
|
1346
|
-
positionX: number;
|
|
1347
|
-
positionY: number;
|
|
1348
|
-
width: number;
|
|
1349
|
-
height: number;
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
|
-
/** @internal */
|
|
1353
|
-
export const EnvelopeFieldCreateManyDataRadio$outboundSchema: z.ZodType<
|
|
1354
|
-
EnvelopeFieldCreateManyDataRadio$Outbound,
|
|
1355
|
-
z.ZodTypeDef,
|
|
1356
|
-
EnvelopeFieldCreateManyDataRadio
|
|
1357
|
-
> = z.object({
|
|
1358
|
-
type: z.literal("RADIO"),
|
|
1359
|
-
fieldMeta: z.lazy(() =>
|
|
1360
|
-
EnvelopeFieldCreateManyFieldMetaRadioRequest$outboundSchema
|
|
1361
|
-
).optional(),
|
|
1362
|
-
recipientId: z.number(),
|
|
1363
|
-
envelopeItemId: z.string().optional(),
|
|
1364
|
-
page: z.number(),
|
|
1365
|
-
positionX: z.number(),
|
|
1366
|
-
positionY: z.number(),
|
|
1367
|
-
width: z.number(),
|
|
1368
|
-
height: z.number(),
|
|
1369
|
-
});
|
|
1370
|
-
|
|
1371
|
-
export function envelopeFieldCreateManyDataRadioToJSON(
|
|
1372
|
-
envelopeFieldCreateManyDataRadio: EnvelopeFieldCreateManyDataRadio,
|
|
1373
|
-
): string {
|
|
1374
|
-
return JSON.stringify(
|
|
1375
|
-
EnvelopeFieldCreateManyDataRadio$outboundSchema.parse(
|
|
1376
|
-
envelopeFieldCreateManyDataRadio,
|
|
1377
|
-
),
|
|
1378
|
-
);
|
|
1379
|
-
}
|
|
1380
|
-
export function envelopeFieldCreateManyDataRadioFromJSON(
|
|
1381
|
-
jsonString: string,
|
|
1382
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataRadio, SDKValidationError> {
|
|
1383
|
-
return safeParse(
|
|
1384
|
-
jsonString,
|
|
1385
|
-
(x) => EnvelopeFieldCreateManyDataRadio$inboundSchema.parse(JSON.parse(x)),
|
|
1386
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataRadio' from JSON`,
|
|
1387
|
-
);
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
/** @internal */
|
|
1391
|
-
export const EnvelopeFieldCreateManyTypeNumberEnum$inboundSchema:
|
|
1392
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeNumberEnum> = z.nativeEnum(
|
|
1393
|
-
EnvelopeFieldCreateManyTypeNumberEnum,
|
|
1394
|
-
);
|
|
1395
|
-
/** @internal */
|
|
1396
|
-
export const EnvelopeFieldCreateManyTypeNumberEnum$outboundSchema:
|
|
1397
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeNumberEnum> =
|
|
1398
|
-
EnvelopeFieldCreateManyTypeNumberEnum$inboundSchema;
|
|
1399
|
-
|
|
1400
|
-
/** @internal */
|
|
1401
|
-
export const EnvelopeFieldCreateManyTextAlignNumber$inboundSchema:
|
|
1402
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignNumber> = z.nativeEnum(
|
|
1403
|
-
EnvelopeFieldCreateManyTextAlignNumber,
|
|
1404
|
-
);
|
|
1405
|
-
/** @internal */
|
|
1406
|
-
export const EnvelopeFieldCreateManyTextAlignNumber$outboundSchema:
|
|
1407
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignNumber> =
|
|
1408
|
-
EnvelopeFieldCreateManyTextAlignNumber$inboundSchema;
|
|
1409
|
-
|
|
1410
|
-
/** @internal */
|
|
1411
|
-
export const EnvelopeFieldCreateManyVerticalAlignNumber$inboundSchema:
|
|
1412
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlignNumber> = z
|
|
1413
|
-
.nativeEnum(EnvelopeFieldCreateManyVerticalAlignNumber);
|
|
1414
|
-
/** @internal */
|
|
1415
|
-
export const EnvelopeFieldCreateManyVerticalAlignNumber$outboundSchema:
|
|
1416
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlignNumber> =
|
|
1417
|
-
EnvelopeFieldCreateManyVerticalAlignNumber$inboundSchema;
|
|
1418
|
-
|
|
1419
|
-
/** @internal */
|
|
1420
|
-
export const EnvelopeFieldCreateManyFieldMetaNumberRequest$inboundSchema:
|
|
1421
|
-
z.ZodType<
|
|
1422
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest,
|
|
1423
|
-
z.ZodTypeDef,
|
|
1424
|
-
unknown
|
|
1425
|
-
> = z.object({
|
|
1426
|
-
label: z.string().optional(),
|
|
1427
|
-
placeholder: z.string().optional(),
|
|
1428
|
-
required: z.boolean().optional(),
|
|
1429
|
-
readOnly: z.boolean().optional(),
|
|
1430
|
-
fontSize: z.number().default(12),
|
|
1431
|
-
type: EnvelopeFieldCreateManyTypeNumberEnum$inboundSchema,
|
|
1432
|
-
numberFormat: z.nullable(z.string()).optional(),
|
|
1433
|
-
value: z.string().optional(),
|
|
1434
|
-
minValue: z.nullable(z.number()).optional(),
|
|
1435
|
-
maxValue: z.nullable(z.number()).optional(),
|
|
1436
|
-
textAlign: EnvelopeFieldCreateManyTextAlignNumber$inboundSchema.optional(),
|
|
1437
|
-
lineHeight: z.nullable(z.number()).optional(),
|
|
1438
|
-
letterSpacing: z.nullable(z.number()).optional(),
|
|
1439
|
-
verticalAlign: z.nullable(
|
|
1440
|
-
EnvelopeFieldCreateManyVerticalAlignNumber$inboundSchema,
|
|
1441
|
-
).optional(),
|
|
1442
|
-
});
|
|
1443
|
-
/** @internal */
|
|
1444
|
-
export type EnvelopeFieldCreateManyFieldMetaNumberRequest$Outbound = {
|
|
1445
|
-
label?: string | undefined;
|
|
1446
|
-
placeholder?: string | undefined;
|
|
1447
|
-
required?: boolean | undefined;
|
|
1448
|
-
readOnly?: boolean | undefined;
|
|
1449
|
-
fontSize: number;
|
|
1450
|
-
type: string;
|
|
1451
|
-
numberFormat?: string | null | undefined;
|
|
1452
|
-
value?: string | undefined;
|
|
1453
|
-
minValue?: number | null | undefined;
|
|
1454
|
-
maxValue?: number | null | undefined;
|
|
1455
|
-
textAlign?: string | undefined;
|
|
1456
|
-
lineHeight?: number | null | undefined;
|
|
1457
|
-
letterSpacing?: number | null | undefined;
|
|
1458
|
-
verticalAlign?: string | null | undefined;
|
|
1459
|
-
};
|
|
1460
|
-
|
|
1461
|
-
/** @internal */
|
|
1462
|
-
export const EnvelopeFieldCreateManyFieldMetaNumberRequest$outboundSchema:
|
|
1463
|
-
z.ZodType<
|
|
1464
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest$Outbound,
|
|
1465
|
-
z.ZodTypeDef,
|
|
1466
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest
|
|
1467
|
-
> = z.object({
|
|
1468
|
-
label: z.string().optional(),
|
|
1469
|
-
placeholder: z.string().optional(),
|
|
1470
|
-
required: z.boolean().optional(),
|
|
1471
|
-
readOnly: z.boolean().optional(),
|
|
1472
|
-
fontSize: z.number().default(12),
|
|
1473
|
-
type: EnvelopeFieldCreateManyTypeNumberEnum$outboundSchema,
|
|
1474
|
-
numberFormat: z.nullable(z.string()).optional(),
|
|
1475
|
-
value: z.string().optional(),
|
|
1476
|
-
minValue: z.nullable(z.number()).optional(),
|
|
1477
|
-
maxValue: z.nullable(z.number()).optional(),
|
|
1478
|
-
textAlign: EnvelopeFieldCreateManyTextAlignNumber$outboundSchema.optional(),
|
|
1479
|
-
lineHeight: z.nullable(z.number()).optional(),
|
|
1480
|
-
letterSpacing: z.nullable(z.number()).optional(),
|
|
1481
|
-
verticalAlign: z.nullable(
|
|
1482
|
-
EnvelopeFieldCreateManyVerticalAlignNumber$outboundSchema,
|
|
1483
|
-
).optional(),
|
|
1484
|
-
});
|
|
1485
|
-
|
|
1486
|
-
export function envelopeFieldCreateManyFieldMetaNumberRequestToJSON(
|
|
1487
|
-
envelopeFieldCreateManyFieldMetaNumberRequest:
|
|
1488
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest,
|
|
1489
|
-
): string {
|
|
1490
|
-
return JSON.stringify(
|
|
1491
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest$outboundSchema.parse(
|
|
1492
|
-
envelopeFieldCreateManyFieldMetaNumberRequest,
|
|
1493
|
-
),
|
|
1494
|
-
);
|
|
1495
|
-
}
|
|
1496
|
-
export function envelopeFieldCreateManyFieldMetaNumberRequestFromJSON(
|
|
1497
|
-
jsonString: string,
|
|
1498
|
-
): SafeParseResult<
|
|
1499
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest,
|
|
1500
|
-
SDKValidationError
|
|
1501
|
-
> {
|
|
1502
|
-
return safeParse(
|
|
1503
|
-
jsonString,
|
|
1504
|
-
(x) =>
|
|
1505
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest$inboundSchema.parse(
|
|
1506
|
-
JSON.parse(x),
|
|
1507
|
-
),
|
|
1508
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaNumberRequest' from JSON`,
|
|
1509
|
-
);
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
/** @internal */
|
|
1513
|
-
export const EnvelopeFieldCreateManyDataNumber$inboundSchema: z.ZodType<
|
|
1514
|
-
EnvelopeFieldCreateManyDataNumber,
|
|
1515
|
-
z.ZodTypeDef,
|
|
1516
|
-
unknown
|
|
1517
|
-
> = z.object({
|
|
1518
|
-
type: z.literal("NUMBER"),
|
|
1519
|
-
fieldMeta: z.lazy(() =>
|
|
1520
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest$inboundSchema
|
|
1521
|
-
).optional(),
|
|
1522
|
-
recipientId: z.number(),
|
|
1523
|
-
envelopeItemId: z.string().optional(),
|
|
1524
|
-
page: z.number(),
|
|
1525
|
-
positionX: z.number(),
|
|
1526
|
-
positionY: z.number(),
|
|
1527
|
-
width: z.number(),
|
|
1528
|
-
height: z.number(),
|
|
1529
|
-
});
|
|
1530
|
-
/** @internal */
|
|
1531
|
-
export type EnvelopeFieldCreateManyDataNumber$Outbound = {
|
|
1532
|
-
type: "NUMBER";
|
|
1533
|
-
fieldMeta?:
|
|
1534
|
-
| EnvelopeFieldCreateManyFieldMetaNumberRequest$Outbound
|
|
1535
|
-
| undefined;
|
|
1536
|
-
recipientId: number;
|
|
1537
|
-
envelopeItemId?: string | undefined;
|
|
1538
|
-
page: number;
|
|
1539
|
-
positionX: number;
|
|
1540
|
-
positionY: number;
|
|
1541
|
-
width: number;
|
|
1542
|
-
height: number;
|
|
1543
|
-
};
|
|
1544
|
-
|
|
1545
|
-
/** @internal */
|
|
1546
|
-
export const EnvelopeFieldCreateManyDataNumber$outboundSchema: z.ZodType<
|
|
1547
|
-
EnvelopeFieldCreateManyDataNumber$Outbound,
|
|
1548
|
-
z.ZodTypeDef,
|
|
1549
|
-
EnvelopeFieldCreateManyDataNumber
|
|
1550
|
-
> = z.object({
|
|
1551
|
-
type: z.literal("NUMBER"),
|
|
1552
|
-
fieldMeta: z.lazy(() =>
|
|
1553
|
-
EnvelopeFieldCreateManyFieldMetaNumberRequest$outboundSchema
|
|
1554
|
-
).optional(),
|
|
1555
|
-
recipientId: z.number(),
|
|
1556
|
-
envelopeItemId: z.string().optional(),
|
|
1557
|
-
page: z.number(),
|
|
1558
|
-
positionX: z.number(),
|
|
1559
|
-
positionY: z.number(),
|
|
1560
|
-
width: z.number(),
|
|
1561
|
-
height: z.number(),
|
|
1562
|
-
});
|
|
1563
|
-
|
|
1564
|
-
export function envelopeFieldCreateManyDataNumberToJSON(
|
|
1565
|
-
envelopeFieldCreateManyDataNumber: EnvelopeFieldCreateManyDataNumber,
|
|
1566
|
-
): string {
|
|
1567
|
-
return JSON.stringify(
|
|
1568
|
-
EnvelopeFieldCreateManyDataNumber$outboundSchema.parse(
|
|
1569
|
-
envelopeFieldCreateManyDataNumber,
|
|
1570
|
-
),
|
|
1571
|
-
);
|
|
1572
|
-
}
|
|
1573
|
-
export function envelopeFieldCreateManyDataNumberFromJSON(
|
|
1574
|
-
jsonString: string,
|
|
1575
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataNumber, SDKValidationError> {
|
|
1576
|
-
return safeParse(
|
|
1577
|
-
jsonString,
|
|
1578
|
-
(x) => EnvelopeFieldCreateManyDataNumber$inboundSchema.parse(JSON.parse(x)),
|
|
1579
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataNumber' from JSON`,
|
|
1580
|
-
);
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
/** @internal */
|
|
1584
|
-
export const EnvelopeFieldCreateManyTypeTextEnum$inboundSchema: z.ZodNativeEnum<
|
|
1585
|
-
typeof EnvelopeFieldCreateManyTypeTextEnum
|
|
1586
|
-
> = z.nativeEnum(EnvelopeFieldCreateManyTypeTextEnum);
|
|
1587
|
-
/** @internal */
|
|
1588
|
-
export const EnvelopeFieldCreateManyTypeTextEnum$outboundSchema:
|
|
1589
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeTextEnum> =
|
|
1590
|
-
EnvelopeFieldCreateManyTypeTextEnum$inboundSchema;
|
|
1591
|
-
|
|
1592
|
-
/** @internal */
|
|
1593
|
-
export const EnvelopeFieldCreateManyTextAlignText$inboundSchema:
|
|
1594
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignText> = z.nativeEnum(
|
|
1595
|
-
EnvelopeFieldCreateManyTextAlignText,
|
|
1596
|
-
);
|
|
1597
|
-
/** @internal */
|
|
1598
|
-
export const EnvelopeFieldCreateManyTextAlignText$outboundSchema:
|
|
1599
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignText> =
|
|
1600
|
-
EnvelopeFieldCreateManyTextAlignText$inboundSchema;
|
|
1601
|
-
|
|
1602
|
-
/** @internal */
|
|
1603
|
-
export const EnvelopeFieldCreateManyVerticalAlignText$inboundSchema:
|
|
1604
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlignText> = z
|
|
1605
|
-
.nativeEnum(EnvelopeFieldCreateManyVerticalAlignText);
|
|
1606
|
-
/** @internal */
|
|
1607
|
-
export const EnvelopeFieldCreateManyVerticalAlignText$outboundSchema:
|
|
1608
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlignText> =
|
|
1609
|
-
EnvelopeFieldCreateManyVerticalAlignText$inboundSchema;
|
|
1610
|
-
|
|
1611
|
-
/** @internal */
|
|
1612
|
-
export const EnvelopeFieldCreateManyFieldMetaTextRequest$inboundSchema:
|
|
1613
|
-
z.ZodType<
|
|
1614
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest,
|
|
1615
|
-
z.ZodTypeDef,
|
|
1616
|
-
unknown
|
|
1617
|
-
> = z.object({
|
|
1618
|
-
label: z.string().optional(),
|
|
1619
|
-
placeholder: z.string().optional(),
|
|
1620
|
-
required: z.boolean().optional(),
|
|
1621
|
-
readOnly: z.boolean().optional(),
|
|
1622
|
-
fontSize: z.number().default(12),
|
|
1623
|
-
type: EnvelopeFieldCreateManyTypeTextEnum$inboundSchema,
|
|
1624
|
-
text: z.string().optional(),
|
|
1625
|
-
characterLimit: z.number().optional(),
|
|
1626
|
-
textAlign: EnvelopeFieldCreateManyTextAlignText$inboundSchema.optional(),
|
|
1627
|
-
lineHeight: z.nullable(z.number()).optional(),
|
|
1628
|
-
letterSpacing: z.nullable(z.number()).optional(),
|
|
1629
|
-
verticalAlign: z.nullable(
|
|
1630
|
-
EnvelopeFieldCreateManyVerticalAlignText$inboundSchema,
|
|
1631
|
-
).optional(),
|
|
1632
|
-
});
|
|
1633
|
-
/** @internal */
|
|
1634
|
-
export type EnvelopeFieldCreateManyFieldMetaTextRequest$Outbound = {
|
|
1635
|
-
label?: string | undefined;
|
|
1636
|
-
placeholder?: string | undefined;
|
|
1637
|
-
required?: boolean | undefined;
|
|
1638
|
-
readOnly?: boolean | undefined;
|
|
1639
|
-
fontSize: number;
|
|
1640
|
-
type: string;
|
|
1641
|
-
text?: string | undefined;
|
|
1642
|
-
characterLimit?: number | undefined;
|
|
1643
|
-
textAlign?: string | undefined;
|
|
1644
|
-
lineHeight?: number | null | undefined;
|
|
1645
|
-
letterSpacing?: number | null | undefined;
|
|
1646
|
-
verticalAlign?: string | null | undefined;
|
|
1647
|
-
};
|
|
1648
|
-
|
|
1649
|
-
/** @internal */
|
|
1650
|
-
export const EnvelopeFieldCreateManyFieldMetaTextRequest$outboundSchema:
|
|
1651
|
-
z.ZodType<
|
|
1652
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest$Outbound,
|
|
1653
|
-
z.ZodTypeDef,
|
|
1654
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest
|
|
1655
|
-
> = z.object({
|
|
1656
|
-
label: z.string().optional(),
|
|
1657
|
-
placeholder: z.string().optional(),
|
|
1658
|
-
required: z.boolean().optional(),
|
|
1659
|
-
readOnly: z.boolean().optional(),
|
|
1660
|
-
fontSize: z.number().default(12),
|
|
1661
|
-
type: EnvelopeFieldCreateManyTypeTextEnum$outboundSchema,
|
|
1662
|
-
text: z.string().optional(),
|
|
1663
|
-
characterLimit: z.number().optional(),
|
|
1664
|
-
textAlign: EnvelopeFieldCreateManyTextAlignText$outboundSchema.optional(),
|
|
1665
|
-
lineHeight: z.nullable(z.number()).optional(),
|
|
1666
|
-
letterSpacing: z.nullable(z.number()).optional(),
|
|
1667
|
-
verticalAlign: z.nullable(
|
|
1668
|
-
EnvelopeFieldCreateManyVerticalAlignText$outboundSchema,
|
|
1669
|
-
).optional(),
|
|
1670
|
-
});
|
|
1671
|
-
|
|
1672
|
-
export function envelopeFieldCreateManyFieldMetaTextRequestToJSON(
|
|
1673
|
-
envelopeFieldCreateManyFieldMetaTextRequest:
|
|
1674
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest,
|
|
1675
|
-
): string {
|
|
1676
|
-
return JSON.stringify(
|
|
1677
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest$outboundSchema.parse(
|
|
1678
|
-
envelopeFieldCreateManyFieldMetaTextRequest,
|
|
1679
|
-
),
|
|
1680
|
-
);
|
|
1681
|
-
}
|
|
1682
|
-
export function envelopeFieldCreateManyFieldMetaTextRequestFromJSON(
|
|
1683
|
-
jsonString: string,
|
|
1684
|
-
): SafeParseResult<
|
|
1685
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest,
|
|
1686
|
-
SDKValidationError
|
|
1687
|
-
> {
|
|
1688
|
-
return safeParse(
|
|
1689
|
-
jsonString,
|
|
1690
|
-
(x) =>
|
|
1691
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest$inboundSchema.parse(
|
|
1692
|
-
JSON.parse(x),
|
|
1693
|
-
),
|
|
1694
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaTextRequest' from JSON`,
|
|
1695
|
-
);
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
/** @internal */
|
|
1699
|
-
export const EnvelopeFieldCreateManyDataText$inboundSchema: z.ZodType<
|
|
1700
|
-
EnvelopeFieldCreateManyDataText,
|
|
1701
|
-
z.ZodTypeDef,
|
|
1702
|
-
unknown
|
|
1703
|
-
> = z.object({
|
|
1704
|
-
type: z.literal("TEXT"),
|
|
1705
|
-
fieldMeta: z.lazy(() =>
|
|
1706
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest$inboundSchema
|
|
1707
|
-
).optional(),
|
|
1708
|
-
recipientId: z.number(),
|
|
1709
|
-
envelopeItemId: z.string().optional(),
|
|
1710
|
-
page: z.number(),
|
|
1711
|
-
positionX: z.number(),
|
|
1712
|
-
positionY: z.number(),
|
|
1713
|
-
width: z.number(),
|
|
1714
|
-
height: z.number(),
|
|
1715
|
-
});
|
|
1716
|
-
/** @internal */
|
|
1717
|
-
export type EnvelopeFieldCreateManyDataText$Outbound = {
|
|
1718
|
-
type: "TEXT";
|
|
1719
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaTextRequest$Outbound | undefined;
|
|
1720
|
-
recipientId: number;
|
|
1721
|
-
envelopeItemId?: string | undefined;
|
|
1722
|
-
page: number;
|
|
1723
|
-
positionX: number;
|
|
1724
|
-
positionY: number;
|
|
1725
|
-
width: number;
|
|
1726
|
-
height: number;
|
|
1727
|
-
};
|
|
1728
|
-
|
|
1729
|
-
/** @internal */
|
|
1730
|
-
export const EnvelopeFieldCreateManyDataText$outboundSchema: z.ZodType<
|
|
1731
|
-
EnvelopeFieldCreateManyDataText$Outbound,
|
|
1732
|
-
z.ZodTypeDef,
|
|
1733
|
-
EnvelopeFieldCreateManyDataText
|
|
1734
|
-
> = z.object({
|
|
1735
|
-
type: z.literal("TEXT"),
|
|
1736
|
-
fieldMeta: z.lazy(() =>
|
|
1737
|
-
EnvelopeFieldCreateManyFieldMetaTextRequest$outboundSchema
|
|
1738
|
-
).optional(),
|
|
1739
|
-
recipientId: z.number(),
|
|
1740
|
-
envelopeItemId: z.string().optional(),
|
|
1741
|
-
page: z.number(),
|
|
1742
|
-
positionX: z.number(),
|
|
1743
|
-
positionY: z.number(),
|
|
1744
|
-
width: z.number(),
|
|
1745
|
-
height: z.number(),
|
|
1746
|
-
});
|
|
1747
|
-
|
|
1748
|
-
export function envelopeFieldCreateManyDataTextToJSON(
|
|
1749
|
-
envelopeFieldCreateManyDataText: EnvelopeFieldCreateManyDataText,
|
|
1750
|
-
): string {
|
|
1751
|
-
return JSON.stringify(
|
|
1752
|
-
EnvelopeFieldCreateManyDataText$outboundSchema.parse(
|
|
1753
|
-
envelopeFieldCreateManyDataText,
|
|
1754
|
-
),
|
|
1755
|
-
);
|
|
1756
|
-
}
|
|
1757
|
-
export function envelopeFieldCreateManyDataTextFromJSON(
|
|
1758
|
-
jsonString: string,
|
|
1759
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataText, SDKValidationError> {
|
|
1760
|
-
return safeParse(
|
|
1761
|
-
jsonString,
|
|
1762
|
-
(x) => EnvelopeFieldCreateManyDataText$inboundSchema.parse(JSON.parse(x)),
|
|
1763
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataText' from JSON`,
|
|
1764
|
-
);
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
/** @internal */
|
|
1768
|
-
export const EnvelopeFieldCreateManyTypeDateEnum$inboundSchema: z.ZodNativeEnum<
|
|
1769
|
-
typeof EnvelopeFieldCreateManyTypeDateEnum
|
|
1770
|
-
> = z.nativeEnum(EnvelopeFieldCreateManyTypeDateEnum);
|
|
1771
|
-
/** @internal */
|
|
1772
|
-
export const EnvelopeFieldCreateManyTypeDateEnum$outboundSchema:
|
|
1773
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeDateEnum> =
|
|
1774
|
-
EnvelopeFieldCreateManyTypeDateEnum$inboundSchema;
|
|
1775
|
-
|
|
1776
|
-
/** @internal */
|
|
1777
|
-
export const EnvelopeFieldCreateManyTextAlignDate$inboundSchema:
|
|
1778
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignDate> = z.nativeEnum(
|
|
1779
|
-
EnvelopeFieldCreateManyTextAlignDate,
|
|
1780
|
-
);
|
|
1781
|
-
/** @internal */
|
|
1782
|
-
export const EnvelopeFieldCreateManyTextAlignDate$outboundSchema:
|
|
1783
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignDate> =
|
|
1784
|
-
EnvelopeFieldCreateManyTextAlignDate$inboundSchema;
|
|
1785
|
-
|
|
1786
|
-
/** @internal */
|
|
1787
|
-
export const EnvelopeFieldCreateManyFieldMetaDateRequest$inboundSchema:
|
|
1788
|
-
z.ZodType<
|
|
1789
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest,
|
|
1790
|
-
z.ZodTypeDef,
|
|
1791
|
-
unknown
|
|
1792
|
-
> = z.object({
|
|
1793
|
-
label: z.string().optional(),
|
|
1794
|
-
placeholder: z.string().optional(),
|
|
1795
|
-
required: z.boolean().optional(),
|
|
1796
|
-
readOnly: z.boolean().optional(),
|
|
1797
|
-
fontSize: z.number().default(12),
|
|
1798
|
-
type: EnvelopeFieldCreateManyTypeDateEnum$inboundSchema,
|
|
1799
|
-
textAlign: EnvelopeFieldCreateManyTextAlignDate$inboundSchema.optional(),
|
|
1800
|
-
});
|
|
1801
|
-
/** @internal */
|
|
1802
|
-
export type EnvelopeFieldCreateManyFieldMetaDateRequest$Outbound = {
|
|
1803
|
-
label?: string | undefined;
|
|
1804
|
-
placeholder?: string | undefined;
|
|
1805
|
-
required?: boolean | undefined;
|
|
1806
|
-
readOnly?: boolean | undefined;
|
|
1807
|
-
fontSize: number;
|
|
1808
|
-
type: string;
|
|
1809
|
-
textAlign?: string | undefined;
|
|
1810
|
-
};
|
|
1811
|
-
|
|
1812
|
-
/** @internal */
|
|
1813
|
-
export const EnvelopeFieldCreateManyFieldMetaDateRequest$outboundSchema:
|
|
1814
|
-
z.ZodType<
|
|
1815
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest$Outbound,
|
|
1816
|
-
z.ZodTypeDef,
|
|
1817
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest
|
|
1818
|
-
> = z.object({
|
|
1819
|
-
label: z.string().optional(),
|
|
1820
|
-
placeholder: z.string().optional(),
|
|
1821
|
-
required: z.boolean().optional(),
|
|
1822
|
-
readOnly: z.boolean().optional(),
|
|
1823
|
-
fontSize: z.number().default(12),
|
|
1824
|
-
type: EnvelopeFieldCreateManyTypeDateEnum$outboundSchema,
|
|
1825
|
-
textAlign: EnvelopeFieldCreateManyTextAlignDate$outboundSchema.optional(),
|
|
1826
|
-
});
|
|
1827
|
-
|
|
1828
|
-
export function envelopeFieldCreateManyFieldMetaDateRequestToJSON(
|
|
1829
|
-
envelopeFieldCreateManyFieldMetaDateRequest:
|
|
1830
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest,
|
|
1831
|
-
): string {
|
|
1832
|
-
return JSON.stringify(
|
|
1833
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest$outboundSchema.parse(
|
|
1834
|
-
envelopeFieldCreateManyFieldMetaDateRequest,
|
|
1835
|
-
),
|
|
1836
|
-
);
|
|
1837
|
-
}
|
|
1838
|
-
export function envelopeFieldCreateManyFieldMetaDateRequestFromJSON(
|
|
1839
|
-
jsonString: string,
|
|
1840
|
-
): SafeParseResult<
|
|
1841
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest,
|
|
1842
|
-
SDKValidationError
|
|
1843
|
-
> {
|
|
1844
|
-
return safeParse(
|
|
1845
|
-
jsonString,
|
|
1846
|
-
(x) =>
|
|
1847
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest$inboundSchema.parse(
|
|
1848
|
-
JSON.parse(x),
|
|
1849
|
-
),
|
|
1850
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaDateRequest' from JSON`,
|
|
1851
|
-
);
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
/** @internal */
|
|
1855
|
-
export const EnvelopeFieldCreateManyDataDate$inboundSchema: z.ZodType<
|
|
1856
|
-
EnvelopeFieldCreateManyDataDate,
|
|
1857
|
-
z.ZodTypeDef,
|
|
1858
|
-
unknown
|
|
1859
|
-
> = z.object({
|
|
1860
|
-
type: z.literal("DATE"),
|
|
1861
|
-
fieldMeta: z.lazy(() =>
|
|
1862
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest$inboundSchema
|
|
1863
|
-
).optional(),
|
|
1864
|
-
recipientId: z.number(),
|
|
1865
|
-
envelopeItemId: z.string().optional(),
|
|
1866
|
-
page: z.number(),
|
|
1867
|
-
positionX: z.number(),
|
|
1868
|
-
positionY: z.number(),
|
|
1869
|
-
width: z.number(),
|
|
1870
|
-
height: z.number(),
|
|
1871
|
-
});
|
|
1872
|
-
/** @internal */
|
|
1873
|
-
export type EnvelopeFieldCreateManyDataDate$Outbound = {
|
|
1874
|
-
type: "DATE";
|
|
1875
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaDateRequest$Outbound | undefined;
|
|
1876
|
-
recipientId: number;
|
|
1877
|
-
envelopeItemId?: string | undefined;
|
|
1878
|
-
page: number;
|
|
1879
|
-
positionX: number;
|
|
1880
|
-
positionY: number;
|
|
1881
|
-
width: number;
|
|
1882
|
-
height: number;
|
|
1883
|
-
};
|
|
1884
|
-
|
|
1885
|
-
/** @internal */
|
|
1886
|
-
export const EnvelopeFieldCreateManyDataDate$outboundSchema: z.ZodType<
|
|
1887
|
-
EnvelopeFieldCreateManyDataDate$Outbound,
|
|
1888
|
-
z.ZodTypeDef,
|
|
1889
|
-
EnvelopeFieldCreateManyDataDate
|
|
1890
|
-
> = z.object({
|
|
1891
|
-
type: z.literal("DATE"),
|
|
1892
|
-
fieldMeta: z.lazy(() =>
|
|
1893
|
-
EnvelopeFieldCreateManyFieldMetaDateRequest$outboundSchema
|
|
1894
|
-
).optional(),
|
|
1895
|
-
recipientId: z.number(),
|
|
1896
|
-
envelopeItemId: z.string().optional(),
|
|
1897
|
-
page: z.number(),
|
|
1898
|
-
positionX: z.number(),
|
|
1899
|
-
positionY: z.number(),
|
|
1900
|
-
width: z.number(),
|
|
1901
|
-
height: z.number(),
|
|
1902
|
-
});
|
|
1903
|
-
|
|
1904
|
-
export function envelopeFieldCreateManyDataDateToJSON(
|
|
1905
|
-
envelopeFieldCreateManyDataDate: EnvelopeFieldCreateManyDataDate,
|
|
1906
|
-
): string {
|
|
1907
|
-
return JSON.stringify(
|
|
1908
|
-
EnvelopeFieldCreateManyDataDate$outboundSchema.parse(
|
|
1909
|
-
envelopeFieldCreateManyDataDate,
|
|
1910
|
-
),
|
|
1911
|
-
);
|
|
1912
|
-
}
|
|
1913
|
-
export function envelopeFieldCreateManyDataDateFromJSON(
|
|
1914
|
-
jsonString: string,
|
|
1915
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataDate, SDKValidationError> {
|
|
1916
|
-
return safeParse(
|
|
1917
|
-
jsonString,
|
|
1918
|
-
(x) => EnvelopeFieldCreateManyDataDate$inboundSchema.parse(JSON.parse(x)),
|
|
1919
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataDate' from JSON`,
|
|
1920
|
-
);
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
/** @internal */
|
|
1924
|
-
export const EnvelopeFieldCreateManyTypeEmailEnum$inboundSchema:
|
|
1925
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeEmailEnum> = z.nativeEnum(
|
|
1926
|
-
EnvelopeFieldCreateManyTypeEmailEnum,
|
|
1927
|
-
);
|
|
1928
|
-
/** @internal */
|
|
1929
|
-
export const EnvelopeFieldCreateManyTypeEmailEnum$outboundSchema:
|
|
1930
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeEmailEnum> =
|
|
1931
|
-
EnvelopeFieldCreateManyTypeEmailEnum$inboundSchema;
|
|
1932
|
-
|
|
1933
|
-
/** @internal */
|
|
1934
|
-
export const EnvelopeFieldCreateManyTextAlignEmail$inboundSchema:
|
|
1935
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignEmail> = z.nativeEnum(
|
|
1936
|
-
EnvelopeFieldCreateManyTextAlignEmail,
|
|
1937
|
-
);
|
|
1938
|
-
/** @internal */
|
|
1939
|
-
export const EnvelopeFieldCreateManyTextAlignEmail$outboundSchema:
|
|
1940
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignEmail> =
|
|
1941
|
-
EnvelopeFieldCreateManyTextAlignEmail$inboundSchema;
|
|
1942
|
-
|
|
1943
|
-
/** @internal */
|
|
1944
|
-
export const EnvelopeFieldCreateManyFieldMetaEmailRequest$inboundSchema:
|
|
1945
|
-
z.ZodType<
|
|
1946
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest,
|
|
1947
|
-
z.ZodTypeDef,
|
|
1948
|
-
unknown
|
|
1949
|
-
> = z.object({
|
|
1950
|
-
label: z.string().optional(),
|
|
1951
|
-
placeholder: z.string().optional(),
|
|
1952
|
-
required: z.boolean().optional(),
|
|
1953
|
-
readOnly: z.boolean().optional(),
|
|
1954
|
-
fontSize: z.number().default(12),
|
|
1955
|
-
type: EnvelopeFieldCreateManyTypeEmailEnum$inboundSchema,
|
|
1956
|
-
textAlign: EnvelopeFieldCreateManyTextAlignEmail$inboundSchema.optional(),
|
|
1957
|
-
});
|
|
1958
|
-
/** @internal */
|
|
1959
|
-
export type EnvelopeFieldCreateManyFieldMetaEmailRequest$Outbound = {
|
|
1960
|
-
label?: string | undefined;
|
|
1961
|
-
placeholder?: string | undefined;
|
|
1962
|
-
required?: boolean | undefined;
|
|
1963
|
-
readOnly?: boolean | undefined;
|
|
1964
|
-
fontSize: number;
|
|
1965
|
-
type: string;
|
|
1966
|
-
textAlign?: string | undefined;
|
|
1967
|
-
};
|
|
1968
|
-
|
|
1969
|
-
/** @internal */
|
|
1970
|
-
export const EnvelopeFieldCreateManyFieldMetaEmailRequest$outboundSchema:
|
|
1971
|
-
z.ZodType<
|
|
1972
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest$Outbound,
|
|
1973
|
-
z.ZodTypeDef,
|
|
1974
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest
|
|
1975
|
-
> = z.object({
|
|
1976
|
-
label: z.string().optional(),
|
|
1977
|
-
placeholder: z.string().optional(),
|
|
1978
|
-
required: z.boolean().optional(),
|
|
1979
|
-
readOnly: z.boolean().optional(),
|
|
1980
|
-
fontSize: z.number().default(12),
|
|
1981
|
-
type: EnvelopeFieldCreateManyTypeEmailEnum$outboundSchema,
|
|
1982
|
-
textAlign: EnvelopeFieldCreateManyTextAlignEmail$outboundSchema.optional(),
|
|
1983
|
-
});
|
|
1984
|
-
|
|
1985
|
-
export function envelopeFieldCreateManyFieldMetaEmailRequestToJSON(
|
|
1986
|
-
envelopeFieldCreateManyFieldMetaEmailRequest:
|
|
1987
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest,
|
|
1988
|
-
): string {
|
|
1989
|
-
return JSON.stringify(
|
|
1990
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest$outboundSchema.parse(
|
|
1991
|
-
envelopeFieldCreateManyFieldMetaEmailRequest,
|
|
1992
|
-
),
|
|
1993
|
-
);
|
|
1994
|
-
}
|
|
1995
|
-
export function envelopeFieldCreateManyFieldMetaEmailRequestFromJSON(
|
|
1996
|
-
jsonString: string,
|
|
1997
|
-
): SafeParseResult<
|
|
1998
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest,
|
|
1999
|
-
SDKValidationError
|
|
2000
|
-
> {
|
|
2001
|
-
return safeParse(
|
|
2002
|
-
jsonString,
|
|
2003
|
-
(x) =>
|
|
2004
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest$inboundSchema.parse(
|
|
2005
|
-
JSON.parse(x),
|
|
2006
|
-
),
|
|
2007
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaEmailRequest' from JSON`,
|
|
2008
|
-
);
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
|
-
/** @internal */
|
|
2012
|
-
export const EnvelopeFieldCreateManyDataEmail$inboundSchema: z.ZodType<
|
|
2013
|
-
EnvelopeFieldCreateManyDataEmail,
|
|
2014
|
-
z.ZodTypeDef,
|
|
2015
|
-
unknown
|
|
2016
|
-
> = z.object({
|
|
2017
|
-
type: z.literal("EMAIL"),
|
|
2018
|
-
fieldMeta: z.lazy(() =>
|
|
2019
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest$inboundSchema
|
|
2020
|
-
).optional(),
|
|
2021
|
-
recipientId: z.number(),
|
|
2022
|
-
envelopeItemId: z.string().optional(),
|
|
2023
|
-
page: z.number(),
|
|
2024
|
-
positionX: z.number(),
|
|
2025
|
-
positionY: z.number(),
|
|
2026
|
-
width: z.number(),
|
|
2027
|
-
height: z.number(),
|
|
2028
|
-
});
|
|
2029
|
-
/** @internal */
|
|
2030
|
-
export type EnvelopeFieldCreateManyDataEmail$Outbound = {
|
|
2031
|
-
type: "EMAIL";
|
|
2032
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaEmailRequest$Outbound | undefined;
|
|
2033
|
-
recipientId: number;
|
|
2034
|
-
envelopeItemId?: string | undefined;
|
|
2035
|
-
page: number;
|
|
2036
|
-
positionX: number;
|
|
2037
|
-
positionY: number;
|
|
2038
|
-
width: number;
|
|
2039
|
-
height: number;
|
|
2040
|
-
};
|
|
2041
|
-
|
|
2042
|
-
/** @internal */
|
|
2043
|
-
export const EnvelopeFieldCreateManyDataEmail$outboundSchema: z.ZodType<
|
|
2044
|
-
EnvelopeFieldCreateManyDataEmail$Outbound,
|
|
2045
|
-
z.ZodTypeDef,
|
|
2046
|
-
EnvelopeFieldCreateManyDataEmail
|
|
2047
|
-
> = z.object({
|
|
2048
|
-
type: z.literal("EMAIL"),
|
|
2049
|
-
fieldMeta: z.lazy(() =>
|
|
2050
|
-
EnvelopeFieldCreateManyFieldMetaEmailRequest$outboundSchema
|
|
2051
|
-
).optional(),
|
|
2052
|
-
recipientId: z.number(),
|
|
2053
|
-
envelopeItemId: z.string().optional(),
|
|
2054
|
-
page: z.number(),
|
|
2055
|
-
positionX: z.number(),
|
|
2056
|
-
positionY: z.number(),
|
|
2057
|
-
width: z.number(),
|
|
2058
|
-
height: z.number(),
|
|
2059
|
-
});
|
|
2060
|
-
|
|
2061
|
-
export function envelopeFieldCreateManyDataEmailToJSON(
|
|
2062
|
-
envelopeFieldCreateManyDataEmail: EnvelopeFieldCreateManyDataEmail,
|
|
2063
|
-
): string {
|
|
2064
|
-
return JSON.stringify(
|
|
2065
|
-
EnvelopeFieldCreateManyDataEmail$outboundSchema.parse(
|
|
2066
|
-
envelopeFieldCreateManyDataEmail,
|
|
2067
|
-
),
|
|
2068
|
-
);
|
|
2069
|
-
}
|
|
2070
|
-
export function envelopeFieldCreateManyDataEmailFromJSON(
|
|
2071
|
-
jsonString: string,
|
|
2072
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataEmail, SDKValidationError> {
|
|
2073
|
-
return safeParse(
|
|
2074
|
-
jsonString,
|
|
2075
|
-
(x) => EnvelopeFieldCreateManyDataEmail$inboundSchema.parse(JSON.parse(x)),
|
|
2076
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataEmail' from JSON`,
|
|
2077
|
-
);
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
/** @internal */
|
|
2081
|
-
export const EnvelopeFieldCreateManyTypeNameEnum$inboundSchema: z.ZodNativeEnum<
|
|
2082
|
-
typeof EnvelopeFieldCreateManyTypeNameEnum
|
|
2083
|
-
> = z.nativeEnum(EnvelopeFieldCreateManyTypeNameEnum);
|
|
2084
|
-
/** @internal */
|
|
2085
|
-
export const EnvelopeFieldCreateManyTypeNameEnum$outboundSchema:
|
|
2086
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeNameEnum> =
|
|
2087
|
-
EnvelopeFieldCreateManyTypeNameEnum$inboundSchema;
|
|
2088
|
-
|
|
2089
|
-
/** @internal */
|
|
2090
|
-
export const EnvelopeFieldCreateManyTextAlignName$inboundSchema:
|
|
2091
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignName> = z.nativeEnum(
|
|
2092
|
-
EnvelopeFieldCreateManyTextAlignName,
|
|
2093
|
-
);
|
|
2094
|
-
/** @internal */
|
|
2095
|
-
export const EnvelopeFieldCreateManyTextAlignName$outboundSchema:
|
|
2096
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTextAlignName> =
|
|
2097
|
-
EnvelopeFieldCreateManyTextAlignName$inboundSchema;
|
|
2098
|
-
|
|
2099
|
-
/** @internal */
|
|
2100
|
-
export const EnvelopeFieldCreateManyFieldMetaNameRequest$inboundSchema:
|
|
2101
|
-
z.ZodType<
|
|
2102
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest,
|
|
2103
|
-
z.ZodTypeDef,
|
|
2104
|
-
unknown
|
|
2105
|
-
> = z.object({
|
|
2106
|
-
label: z.string().optional(),
|
|
2107
|
-
placeholder: z.string().optional(),
|
|
2108
|
-
required: z.boolean().optional(),
|
|
2109
|
-
readOnly: z.boolean().optional(),
|
|
2110
|
-
fontSize: z.number().default(12),
|
|
2111
|
-
type: EnvelopeFieldCreateManyTypeNameEnum$inboundSchema,
|
|
2112
|
-
textAlign: EnvelopeFieldCreateManyTextAlignName$inboundSchema.optional(),
|
|
2113
|
-
});
|
|
2114
|
-
/** @internal */
|
|
2115
|
-
export type EnvelopeFieldCreateManyFieldMetaNameRequest$Outbound = {
|
|
2116
|
-
label?: string | undefined;
|
|
2117
|
-
placeholder?: string | undefined;
|
|
2118
|
-
required?: boolean | undefined;
|
|
2119
|
-
readOnly?: boolean | undefined;
|
|
2120
|
-
fontSize: number;
|
|
2121
|
-
type: string;
|
|
2122
|
-
textAlign?: string | undefined;
|
|
2123
|
-
};
|
|
2124
|
-
|
|
2125
|
-
/** @internal */
|
|
2126
|
-
export const EnvelopeFieldCreateManyFieldMetaNameRequest$outboundSchema:
|
|
2127
|
-
z.ZodType<
|
|
2128
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest$Outbound,
|
|
2129
|
-
z.ZodTypeDef,
|
|
2130
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest
|
|
2131
|
-
> = z.object({
|
|
2132
|
-
label: z.string().optional(),
|
|
2133
|
-
placeholder: z.string().optional(),
|
|
2134
|
-
required: z.boolean().optional(),
|
|
2135
|
-
readOnly: z.boolean().optional(),
|
|
2136
|
-
fontSize: z.number().default(12),
|
|
2137
|
-
type: EnvelopeFieldCreateManyTypeNameEnum$outboundSchema,
|
|
2138
|
-
textAlign: EnvelopeFieldCreateManyTextAlignName$outboundSchema.optional(),
|
|
2139
|
-
});
|
|
2140
|
-
|
|
2141
|
-
export function envelopeFieldCreateManyFieldMetaNameRequestToJSON(
|
|
2142
|
-
envelopeFieldCreateManyFieldMetaNameRequest:
|
|
2143
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest,
|
|
2144
|
-
): string {
|
|
2145
|
-
return JSON.stringify(
|
|
2146
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest$outboundSchema.parse(
|
|
2147
|
-
envelopeFieldCreateManyFieldMetaNameRequest,
|
|
2148
|
-
),
|
|
2149
|
-
);
|
|
2150
|
-
}
|
|
2151
|
-
export function envelopeFieldCreateManyFieldMetaNameRequestFromJSON(
|
|
2152
|
-
jsonString: string,
|
|
2153
|
-
): SafeParseResult<
|
|
2154
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest,
|
|
2155
|
-
SDKValidationError
|
|
2156
|
-
> {
|
|
2157
|
-
return safeParse(
|
|
2158
|
-
jsonString,
|
|
2159
|
-
(x) =>
|
|
2160
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest$inboundSchema.parse(
|
|
2161
|
-
JSON.parse(x),
|
|
2162
|
-
),
|
|
2163
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaNameRequest' from JSON`,
|
|
2164
|
-
);
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
|
-
/** @internal */
|
|
2168
|
-
export const EnvelopeFieldCreateManyDataName$inboundSchema: z.ZodType<
|
|
2169
|
-
EnvelopeFieldCreateManyDataName,
|
|
2170
|
-
z.ZodTypeDef,
|
|
2171
|
-
unknown
|
|
2172
|
-
> = z.object({
|
|
2173
|
-
type: z.literal("NAME"),
|
|
2174
|
-
fieldMeta: z.lazy(() =>
|
|
2175
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest$inboundSchema
|
|
2176
|
-
).optional(),
|
|
2177
|
-
recipientId: z.number(),
|
|
2178
|
-
envelopeItemId: z.string().optional(),
|
|
2179
|
-
page: z.number(),
|
|
2180
|
-
positionX: z.number(),
|
|
2181
|
-
positionY: z.number(),
|
|
2182
|
-
width: z.number(),
|
|
2183
|
-
height: z.number(),
|
|
2184
|
-
});
|
|
2185
|
-
/** @internal */
|
|
2186
|
-
export type EnvelopeFieldCreateManyDataName$Outbound = {
|
|
2187
|
-
type: "NAME";
|
|
2188
|
-
fieldMeta?: EnvelopeFieldCreateManyFieldMetaNameRequest$Outbound | undefined;
|
|
2189
|
-
recipientId: number;
|
|
2190
|
-
envelopeItemId?: string | undefined;
|
|
2191
|
-
page: number;
|
|
2192
|
-
positionX: number;
|
|
2193
|
-
positionY: number;
|
|
2194
|
-
width: number;
|
|
2195
|
-
height: number;
|
|
2196
|
-
};
|
|
2197
|
-
|
|
2198
|
-
/** @internal */
|
|
2199
|
-
export const EnvelopeFieldCreateManyDataName$outboundSchema: z.ZodType<
|
|
2200
|
-
EnvelopeFieldCreateManyDataName$Outbound,
|
|
2201
|
-
z.ZodTypeDef,
|
|
2202
|
-
EnvelopeFieldCreateManyDataName
|
|
2203
|
-
> = z.object({
|
|
2204
|
-
type: z.literal("NAME"),
|
|
2205
|
-
fieldMeta: z.lazy(() =>
|
|
2206
|
-
EnvelopeFieldCreateManyFieldMetaNameRequest$outboundSchema
|
|
2207
|
-
).optional(),
|
|
2208
|
-
recipientId: z.number(),
|
|
2209
|
-
envelopeItemId: z.string().optional(),
|
|
2210
|
-
page: z.number(),
|
|
2211
|
-
positionX: z.number(),
|
|
2212
|
-
positionY: z.number(),
|
|
2213
|
-
width: z.number(),
|
|
2214
|
-
height: z.number(),
|
|
2215
|
-
});
|
|
2216
|
-
|
|
2217
|
-
export function envelopeFieldCreateManyDataNameToJSON(
|
|
2218
|
-
envelopeFieldCreateManyDataName: EnvelopeFieldCreateManyDataName,
|
|
2219
|
-
): string {
|
|
2220
|
-
return JSON.stringify(
|
|
2221
|
-
EnvelopeFieldCreateManyDataName$outboundSchema.parse(
|
|
2222
|
-
envelopeFieldCreateManyDataName,
|
|
2223
|
-
),
|
|
2224
|
-
);
|
|
2225
|
-
}
|
|
2226
|
-
export function envelopeFieldCreateManyDataNameFromJSON(
|
|
2227
|
-
jsonString: string,
|
|
2228
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataName, SDKValidationError> {
|
|
2229
|
-
return safeParse(
|
|
2230
|
-
jsonString,
|
|
2231
|
-
(x) => EnvelopeFieldCreateManyDataName$inboundSchema.parse(JSON.parse(x)),
|
|
2232
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataName' from JSON`,
|
|
2233
|
-
);
|
|
2234
|
-
}
|
|
236
|
+
export type EnvelopeFieldCreateManyTextAlign2 = ClosedEnum<
|
|
237
|
+
typeof EnvelopeFieldCreateManyTextAlign2
|
|
238
|
+
>;
|
|
2235
239
|
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
240
|
+
export type EnvelopeFieldCreateManyFieldMetaName = {
|
|
241
|
+
label?: string | undefined;
|
|
242
|
+
placeholder?: string | undefined;
|
|
243
|
+
required?: boolean | undefined;
|
|
244
|
+
readOnly?: boolean | undefined;
|
|
245
|
+
fontSize?: number | undefined;
|
|
246
|
+
type: "name";
|
|
247
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign2 | undefined;
|
|
248
|
+
};
|
|
2244
249
|
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
export
|
|
2251
|
-
|
|
2252
|
-
|
|
250
|
+
export const EnvelopeFieldCreateManyTextAlign1 = {
|
|
251
|
+
Left: "left",
|
|
252
|
+
Center: "center",
|
|
253
|
+
Right: "right",
|
|
254
|
+
} as const;
|
|
255
|
+
export type EnvelopeFieldCreateManyTextAlign1 = ClosedEnum<
|
|
256
|
+
typeof EnvelopeFieldCreateManyTextAlign1
|
|
257
|
+
>;
|
|
2253
258
|
|
|
2254
|
-
|
|
2255
|
-
export const EnvelopeFieldCreateManyFieldMetaInitialsRequest$inboundSchema:
|
|
2256
|
-
z.ZodType<
|
|
2257
|
-
EnvelopeFieldCreateManyFieldMetaInitialsRequest,
|
|
2258
|
-
z.ZodTypeDef,
|
|
2259
|
-
unknown
|
|
2260
|
-
> = z.object({
|
|
2261
|
-
label: z.string().optional(),
|
|
2262
|
-
placeholder: z.string().optional(),
|
|
2263
|
-
required: z.boolean().optional(),
|
|
2264
|
-
readOnly: z.boolean().optional(),
|
|
2265
|
-
fontSize: z.number().default(12),
|
|
2266
|
-
type: EnvelopeFieldCreateManyTypeInitialsEnum$inboundSchema,
|
|
2267
|
-
textAlign: EnvelopeFieldCreateManyTextAlignInitials$inboundSchema
|
|
2268
|
-
.optional(),
|
|
2269
|
-
});
|
|
2270
|
-
/** @internal */
|
|
2271
|
-
export type EnvelopeFieldCreateManyFieldMetaInitialsRequest$Outbound = {
|
|
259
|
+
export type EnvelopeFieldCreateManyFieldMetaInitials = {
|
|
2272
260
|
label?: string | undefined;
|
|
2273
261
|
placeholder?: string | undefined;
|
|
2274
262
|
required?: boolean | undefined;
|
|
2275
263
|
readOnly?: boolean | undefined;
|
|
2276
|
-
fontSize
|
|
2277
|
-
type:
|
|
2278
|
-
textAlign?:
|
|
264
|
+
fontSize?: number | undefined;
|
|
265
|
+
type: "initials";
|
|
266
|
+
textAlign?: EnvelopeFieldCreateManyTextAlign1 | undefined;
|
|
2279
267
|
};
|
|
2280
268
|
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
placeholder: z.string().optional(),
|
|
2290
|
-
required: z.boolean().optional(),
|
|
2291
|
-
readOnly: z.boolean().optional(),
|
|
2292
|
-
fontSize: z.number().default(12),
|
|
2293
|
-
type: EnvelopeFieldCreateManyTypeInitialsEnum$outboundSchema,
|
|
2294
|
-
textAlign: EnvelopeFieldCreateManyTextAlignInitials$outboundSchema
|
|
2295
|
-
.optional(),
|
|
2296
|
-
});
|
|
269
|
+
export type EnvelopeFieldCreateManyFieldMetaSignature = {
|
|
270
|
+
label?: string | undefined;
|
|
271
|
+
placeholder?: string | undefined;
|
|
272
|
+
required?: boolean | undefined;
|
|
273
|
+
readOnly?: boolean | undefined;
|
|
274
|
+
fontSize?: number | undefined;
|
|
275
|
+
type: "signature";
|
|
276
|
+
};
|
|
2297
277
|
|
|
2298
|
-
export
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
jsonString: string,
|
|
2310
|
-
): SafeParseResult<
|
|
2311
|
-
EnvelopeFieldCreateManyFieldMetaInitialsRequest,
|
|
2312
|
-
SDKValidationError
|
|
2313
|
-
> {
|
|
2314
|
-
return safeParse(
|
|
2315
|
-
jsonString,
|
|
2316
|
-
(x) =>
|
|
2317
|
-
EnvelopeFieldCreateManyFieldMetaInitialsRequest$inboundSchema.parse(
|
|
2318
|
-
JSON.parse(x),
|
|
2319
|
-
),
|
|
2320
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaInitialsRequest' from JSON`,
|
|
2321
|
-
);
|
|
2322
|
-
}
|
|
278
|
+
export type EnvelopeFieldCreateManyFieldMetaUnion =
|
|
279
|
+
| EnvelopeFieldCreateManyFieldMetaSignature
|
|
280
|
+
| EnvelopeFieldCreateManyFieldMetaInitials
|
|
281
|
+
| EnvelopeFieldCreateManyFieldMetaName
|
|
282
|
+
| EnvelopeFieldCreateManyFieldMetaEmail
|
|
283
|
+
| EnvelopeFieldCreateManyFieldMetaDate
|
|
284
|
+
| EnvelopeFieldCreateManyFieldMetaText
|
|
285
|
+
| EnvelopeFieldCreateManyFieldMetaNumber
|
|
286
|
+
| EnvelopeFieldCreateManyFieldMetaRadio
|
|
287
|
+
| EnvelopeFieldCreateManyFieldMetaCheckbox
|
|
288
|
+
| EnvelopeFieldCreateManyFieldMetaDropdown;
|
|
2323
289
|
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
type: z.literal("INITIALS"),
|
|
2331
|
-
fieldMeta: z.lazy(() =>
|
|
2332
|
-
EnvelopeFieldCreateManyFieldMetaInitialsRequest$inboundSchema
|
|
2333
|
-
).optional(),
|
|
2334
|
-
recipientId: z.number(),
|
|
2335
|
-
envelopeItemId: z.string().optional(),
|
|
2336
|
-
page: z.number(),
|
|
2337
|
-
positionX: z.number(),
|
|
2338
|
-
positionY: z.number(),
|
|
2339
|
-
width: z.number(),
|
|
2340
|
-
height: z.number(),
|
|
2341
|
-
});
|
|
2342
|
-
/** @internal */
|
|
2343
|
-
export type EnvelopeFieldCreateManyDataInitials$Outbound = {
|
|
2344
|
-
type: "INITIALS";
|
|
2345
|
-
fieldMeta?:
|
|
2346
|
-
| EnvelopeFieldCreateManyFieldMetaInitialsRequest$Outbound
|
|
2347
|
-
| undefined;
|
|
290
|
+
export type EnvelopeFieldCreateManyDataResponse = {
|
|
291
|
+
envelopeId: string;
|
|
292
|
+
envelopeItemId: string;
|
|
293
|
+
type: EnvelopeFieldCreateManyTypeEnum;
|
|
294
|
+
id: number;
|
|
295
|
+
secondaryId: string;
|
|
2348
296
|
recipientId: number;
|
|
2349
|
-
envelopeItemId?: string | undefined;
|
|
2350
297
|
page: number;
|
|
2351
|
-
positionX
|
|
2352
|
-
positionY
|
|
2353
|
-
width
|
|
2354
|
-
height
|
|
298
|
+
positionX?: any | undefined;
|
|
299
|
+
positionY?: any | undefined;
|
|
300
|
+
width?: any | undefined;
|
|
301
|
+
height?: any | undefined;
|
|
302
|
+
customText: string;
|
|
303
|
+
inserted: boolean;
|
|
304
|
+
fieldMeta:
|
|
305
|
+
| EnvelopeFieldCreateManyFieldMetaSignature
|
|
306
|
+
| EnvelopeFieldCreateManyFieldMetaInitials
|
|
307
|
+
| EnvelopeFieldCreateManyFieldMetaName
|
|
308
|
+
| EnvelopeFieldCreateManyFieldMetaEmail
|
|
309
|
+
| EnvelopeFieldCreateManyFieldMetaDate
|
|
310
|
+
| EnvelopeFieldCreateManyFieldMetaText
|
|
311
|
+
| EnvelopeFieldCreateManyFieldMetaNumber
|
|
312
|
+
| EnvelopeFieldCreateManyFieldMetaRadio
|
|
313
|
+
| EnvelopeFieldCreateManyFieldMetaCheckbox
|
|
314
|
+
| EnvelopeFieldCreateManyFieldMetaDropdown
|
|
315
|
+
| null;
|
|
316
|
+
documentId?: number | null | undefined;
|
|
317
|
+
templateId?: number | null | undefined;
|
|
2355
318
|
};
|
|
2356
319
|
|
|
2357
|
-
/**
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
type: z.literal("INITIALS"),
|
|
2364
|
-
fieldMeta: z.lazy(() =>
|
|
2365
|
-
EnvelopeFieldCreateManyFieldMetaInitialsRequest$outboundSchema
|
|
2366
|
-
).optional(),
|
|
2367
|
-
recipientId: z.number(),
|
|
2368
|
-
envelopeItemId: z.string().optional(),
|
|
2369
|
-
page: z.number(),
|
|
2370
|
-
positionX: z.number(),
|
|
2371
|
-
positionY: z.number(),
|
|
2372
|
-
width: z.number(),
|
|
2373
|
-
height: z.number(),
|
|
2374
|
-
});
|
|
2375
|
-
|
|
2376
|
-
export function envelopeFieldCreateManyDataInitialsToJSON(
|
|
2377
|
-
envelopeFieldCreateManyDataInitials: EnvelopeFieldCreateManyDataInitials,
|
|
2378
|
-
): string {
|
|
2379
|
-
return JSON.stringify(
|
|
2380
|
-
EnvelopeFieldCreateManyDataInitials$outboundSchema.parse(
|
|
2381
|
-
envelopeFieldCreateManyDataInitials,
|
|
2382
|
-
),
|
|
2383
|
-
);
|
|
2384
|
-
}
|
|
2385
|
-
export function envelopeFieldCreateManyDataInitialsFromJSON(
|
|
2386
|
-
jsonString: string,
|
|
2387
|
-
): SafeParseResult<EnvelopeFieldCreateManyDataInitials, SDKValidationError> {
|
|
2388
|
-
return safeParse(
|
|
2389
|
-
jsonString,
|
|
2390
|
-
(x) =>
|
|
2391
|
-
EnvelopeFieldCreateManyDataInitials$inboundSchema.parse(JSON.parse(x)),
|
|
2392
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataInitials' from JSON`,
|
|
2393
|
-
);
|
|
2394
|
-
}
|
|
320
|
+
/**
|
|
321
|
+
* Successful response
|
|
322
|
+
*/
|
|
323
|
+
export type EnvelopeFieldCreateManyResponse = {
|
|
324
|
+
data: Array<EnvelopeFieldCreateManyDataResponse>;
|
|
325
|
+
};
|
|
2395
326
|
|
|
2396
327
|
/** @internal */
|
|
2397
|
-
export const
|
|
2398
|
-
|
|
328
|
+
export const EnvelopeFieldCreateManyDataRequest2$inboundSchema: z.ZodType<
|
|
329
|
+
EnvelopeFieldCreateManyDataRequest2,
|
|
2399
330
|
z.ZodTypeDef,
|
|
2400
331
|
unknown
|
|
2401
332
|
> = z.object({
|
|
2402
|
-
|
|
333
|
+
placeholder: z.string(),
|
|
334
|
+
width: z.number().optional(),
|
|
335
|
+
height: z.number().optional(),
|
|
336
|
+
matchAll: z.boolean().optional(),
|
|
2403
337
|
recipientId: z.number(),
|
|
2404
338
|
envelopeItemId: z.string().optional(),
|
|
2405
|
-
page: z.number(),
|
|
2406
|
-
positionX: z.number(),
|
|
2407
|
-
positionY: z.number(),
|
|
2408
|
-
width: z.number(),
|
|
2409
|
-
height: z.number(),
|
|
2410
339
|
});
|
|
2411
340
|
/** @internal */
|
|
2412
|
-
export type
|
|
2413
|
-
|
|
341
|
+
export type EnvelopeFieldCreateManyDataRequest2$Outbound = {
|
|
342
|
+
placeholder: string;
|
|
343
|
+
width?: number | undefined;
|
|
344
|
+
height?: number | undefined;
|
|
345
|
+
matchAll?: boolean | undefined;
|
|
2414
346
|
recipientId: number;
|
|
2415
347
|
envelopeItemId?: string | undefined;
|
|
2416
|
-
page: number;
|
|
2417
|
-
positionX: number;
|
|
2418
|
-
positionY: number;
|
|
2419
|
-
width: number;
|
|
2420
|
-
height: number;
|
|
2421
348
|
};
|
|
2422
349
|
|
|
2423
350
|
/** @internal */
|
|
2424
|
-
export const
|
|
2425
|
-
|
|
351
|
+
export const EnvelopeFieldCreateManyDataRequest2$outboundSchema: z.ZodType<
|
|
352
|
+
EnvelopeFieldCreateManyDataRequest2$Outbound,
|
|
2426
353
|
z.ZodTypeDef,
|
|
2427
|
-
|
|
354
|
+
EnvelopeFieldCreateManyDataRequest2
|
|
2428
355
|
> = z.object({
|
|
2429
|
-
|
|
356
|
+
placeholder: z.string(),
|
|
357
|
+
width: z.number().optional(),
|
|
358
|
+
height: z.number().optional(),
|
|
359
|
+
matchAll: z.boolean().optional(),
|
|
2430
360
|
recipientId: z.number(),
|
|
2431
361
|
envelopeItemId: z.string().optional(),
|
|
2432
|
-
page: z.number(),
|
|
2433
|
-
positionX: z.number(),
|
|
2434
|
-
positionY: z.number(),
|
|
2435
|
-
width: z.number(),
|
|
2436
|
-
height: z.number(),
|
|
2437
362
|
});
|
|
2438
363
|
|
|
2439
|
-
export function
|
|
2440
|
-
|
|
2441
|
-
EnvelopeFieldCreateManyDataFreeSignature,
|
|
2442
|
-
): string {
|
|
2443
|
-
return JSON.stringify(
|
|
2444
|
-
EnvelopeFieldCreateManyDataFreeSignature$outboundSchema.parse(
|
|
2445
|
-
envelopeFieldCreateManyDataFreeSignature,
|
|
2446
|
-
),
|
|
2447
|
-
);
|
|
2448
|
-
}
|
|
2449
|
-
export function envelopeFieldCreateManyDataFreeSignatureFromJSON(
|
|
2450
|
-
jsonString: string,
|
|
2451
|
-
): SafeParseResult<
|
|
2452
|
-
EnvelopeFieldCreateManyDataFreeSignature,
|
|
2453
|
-
SDKValidationError
|
|
2454
|
-
> {
|
|
2455
|
-
return safeParse(
|
|
2456
|
-
jsonString,
|
|
2457
|
-
(x) =>
|
|
2458
|
-
EnvelopeFieldCreateManyDataFreeSignature$inboundSchema.parse(
|
|
2459
|
-
JSON.parse(x),
|
|
2460
|
-
),
|
|
2461
|
-
`Failed to parse 'EnvelopeFieldCreateManyDataFreeSignature' from JSON`,
|
|
2462
|
-
);
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
/** @internal */
|
|
2466
|
-
export const EnvelopeFieldCreateManyTypeSignatureEnum$inboundSchema:
|
|
2467
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeSignatureEnum> = z
|
|
2468
|
-
.nativeEnum(EnvelopeFieldCreateManyTypeSignatureEnum);
|
|
2469
|
-
/** @internal */
|
|
2470
|
-
export const EnvelopeFieldCreateManyTypeSignatureEnum$outboundSchema:
|
|
2471
|
-
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyTypeSignatureEnum> =
|
|
2472
|
-
EnvelopeFieldCreateManyTypeSignatureEnum$inboundSchema;
|
|
2473
|
-
|
|
2474
|
-
/** @internal */
|
|
2475
|
-
export const EnvelopeFieldCreateManyFieldMetaSignatureRequest$inboundSchema:
|
|
2476
|
-
z.ZodType<
|
|
2477
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest,
|
|
2478
|
-
z.ZodTypeDef,
|
|
2479
|
-
unknown
|
|
2480
|
-
> = z.object({
|
|
2481
|
-
label: z.string().optional(),
|
|
2482
|
-
placeholder: z.string().optional(),
|
|
2483
|
-
required: z.boolean().optional(),
|
|
2484
|
-
readOnly: z.boolean().optional(),
|
|
2485
|
-
fontSize: z.number().default(12),
|
|
2486
|
-
type: EnvelopeFieldCreateManyTypeSignatureEnum$inboundSchema,
|
|
2487
|
-
});
|
|
2488
|
-
/** @internal */
|
|
2489
|
-
export type EnvelopeFieldCreateManyFieldMetaSignatureRequest$Outbound = {
|
|
2490
|
-
label?: string | undefined;
|
|
2491
|
-
placeholder?: string | undefined;
|
|
2492
|
-
required?: boolean | undefined;
|
|
2493
|
-
readOnly?: boolean | undefined;
|
|
2494
|
-
fontSize: number;
|
|
2495
|
-
type: string;
|
|
2496
|
-
};
|
|
2497
|
-
|
|
2498
|
-
/** @internal */
|
|
2499
|
-
export const EnvelopeFieldCreateManyFieldMetaSignatureRequest$outboundSchema:
|
|
2500
|
-
z.ZodType<
|
|
2501
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest$Outbound,
|
|
2502
|
-
z.ZodTypeDef,
|
|
2503
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest
|
|
2504
|
-
> = z.object({
|
|
2505
|
-
label: z.string().optional(),
|
|
2506
|
-
placeholder: z.string().optional(),
|
|
2507
|
-
required: z.boolean().optional(),
|
|
2508
|
-
readOnly: z.boolean().optional(),
|
|
2509
|
-
fontSize: z.number().default(12),
|
|
2510
|
-
type: EnvelopeFieldCreateManyTypeSignatureEnum$outboundSchema,
|
|
2511
|
-
});
|
|
2512
|
-
|
|
2513
|
-
export function envelopeFieldCreateManyFieldMetaSignatureRequestToJSON(
|
|
2514
|
-
envelopeFieldCreateManyFieldMetaSignatureRequest:
|
|
2515
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest,
|
|
364
|
+
export function envelopeFieldCreateManyDataRequest2ToJSON(
|
|
365
|
+
envelopeFieldCreateManyDataRequest2: EnvelopeFieldCreateManyDataRequest2,
|
|
2516
366
|
): string {
|
|
2517
367
|
return JSON.stringify(
|
|
2518
|
-
|
|
2519
|
-
|
|
368
|
+
EnvelopeFieldCreateManyDataRequest2$outboundSchema.parse(
|
|
369
|
+
envelopeFieldCreateManyDataRequest2,
|
|
2520
370
|
),
|
|
2521
371
|
);
|
|
2522
372
|
}
|
|
2523
|
-
export function
|
|
373
|
+
export function envelopeFieldCreateManyDataRequest2FromJSON(
|
|
2524
374
|
jsonString: string,
|
|
2525
|
-
): SafeParseResult<
|
|
2526
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest,
|
|
2527
|
-
SDKValidationError
|
|
2528
|
-
> {
|
|
375
|
+
): SafeParseResult<EnvelopeFieldCreateManyDataRequest2, SDKValidationError> {
|
|
2529
376
|
return safeParse(
|
|
2530
377
|
jsonString,
|
|
2531
378
|
(x) =>
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
),
|
|
2535
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaSignatureRequest' from JSON`,
|
|
379
|
+
EnvelopeFieldCreateManyDataRequest2$inboundSchema.parse(JSON.parse(x)),
|
|
380
|
+
`Failed to parse 'EnvelopeFieldCreateManyDataRequest2' from JSON`,
|
|
2536
381
|
);
|
|
2537
382
|
}
|
|
2538
383
|
|
|
2539
384
|
/** @internal */
|
|
2540
|
-
export const
|
|
2541
|
-
|
|
385
|
+
export const EnvelopeFieldCreateManyDataRequest1$inboundSchema: z.ZodType<
|
|
386
|
+
EnvelopeFieldCreateManyDataRequest1,
|
|
2542
387
|
z.ZodTypeDef,
|
|
2543
388
|
unknown
|
|
2544
389
|
> = z.object({
|
|
2545
|
-
type: z.literal("SIGNATURE"),
|
|
2546
|
-
fieldMeta: z.lazy(() =>
|
|
2547
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest$inboundSchema
|
|
2548
|
-
).optional(),
|
|
2549
|
-
recipientId: z.number(),
|
|
2550
|
-
envelopeItemId: z.string().optional(),
|
|
2551
390
|
page: z.number(),
|
|
2552
391
|
positionX: z.number(),
|
|
2553
392
|
positionY: z.number(),
|
|
2554
393
|
width: z.number(),
|
|
2555
394
|
height: z.number(),
|
|
395
|
+
recipientId: z.number(),
|
|
396
|
+
envelopeItemId: z.string().optional(),
|
|
2556
397
|
});
|
|
2557
398
|
/** @internal */
|
|
2558
|
-
export type
|
|
2559
|
-
type: "SIGNATURE";
|
|
2560
|
-
fieldMeta?:
|
|
2561
|
-
| EnvelopeFieldCreateManyFieldMetaSignatureRequest$Outbound
|
|
2562
|
-
| undefined;
|
|
2563
|
-
recipientId: number;
|
|
2564
|
-
envelopeItemId?: string | undefined;
|
|
399
|
+
export type EnvelopeFieldCreateManyDataRequest1$Outbound = {
|
|
2565
400
|
page: number;
|
|
2566
401
|
positionX: number;
|
|
2567
402
|
positionY: number;
|
|
2568
403
|
width: number;
|
|
2569
404
|
height: number;
|
|
405
|
+
recipientId: number;
|
|
406
|
+
envelopeItemId?: string | undefined;
|
|
2570
407
|
};
|
|
2571
408
|
|
|
2572
409
|
/** @internal */
|
|
2573
|
-
export const
|
|
2574
|
-
|
|
410
|
+
export const EnvelopeFieldCreateManyDataRequest1$outboundSchema: z.ZodType<
|
|
411
|
+
EnvelopeFieldCreateManyDataRequest1$Outbound,
|
|
2575
412
|
z.ZodTypeDef,
|
|
2576
|
-
|
|
413
|
+
EnvelopeFieldCreateManyDataRequest1
|
|
2577
414
|
> = z.object({
|
|
2578
|
-
type: z.literal("SIGNATURE"),
|
|
2579
|
-
fieldMeta: z.lazy(() =>
|
|
2580
|
-
EnvelopeFieldCreateManyFieldMetaSignatureRequest$outboundSchema
|
|
2581
|
-
).optional(),
|
|
2582
|
-
recipientId: z.number(),
|
|
2583
|
-
envelopeItemId: z.string().optional(),
|
|
2584
415
|
page: z.number(),
|
|
2585
416
|
positionX: z.number(),
|
|
2586
417
|
positionY: z.number(),
|
|
2587
418
|
width: z.number(),
|
|
2588
419
|
height: z.number(),
|
|
420
|
+
recipientId: z.number(),
|
|
421
|
+
envelopeItemId: z.string().optional(),
|
|
2589
422
|
});
|
|
2590
423
|
|
|
2591
|
-
export function
|
|
2592
|
-
|
|
424
|
+
export function envelopeFieldCreateManyDataRequest1ToJSON(
|
|
425
|
+
envelopeFieldCreateManyDataRequest1: EnvelopeFieldCreateManyDataRequest1,
|
|
2593
426
|
): string {
|
|
2594
427
|
return JSON.stringify(
|
|
2595
|
-
|
|
2596
|
-
|
|
428
|
+
EnvelopeFieldCreateManyDataRequest1$outboundSchema.parse(
|
|
429
|
+
envelopeFieldCreateManyDataRequest1,
|
|
2597
430
|
),
|
|
2598
431
|
);
|
|
2599
432
|
}
|
|
2600
|
-
export function
|
|
433
|
+
export function envelopeFieldCreateManyDataRequest1FromJSON(
|
|
2601
434
|
jsonString: string,
|
|
2602
|
-
): SafeParseResult<
|
|
435
|
+
): SafeParseResult<EnvelopeFieldCreateManyDataRequest1, SDKValidationError> {
|
|
2603
436
|
return safeParse(
|
|
2604
437
|
jsonString,
|
|
2605
438
|
(x) =>
|
|
2606
|
-
|
|
2607
|
-
`Failed to parse '
|
|
439
|
+
EnvelopeFieldCreateManyDataRequest1$inboundSchema.parse(JSON.parse(x)),
|
|
440
|
+
`Failed to parse 'EnvelopeFieldCreateManyDataRequest1' from JSON`,
|
|
2608
441
|
);
|
|
2609
442
|
}
|
|
2610
443
|
|
|
@@ -2614,31 +447,13 @@ export const EnvelopeFieldCreateManyDataUnion$inboundSchema: z.ZodType<
|
|
|
2614
447
|
z.ZodTypeDef,
|
|
2615
448
|
unknown
|
|
2616
449
|
> = z.union([
|
|
2617
|
-
z.lazy(() =>
|
|
2618
|
-
z.lazy(() =>
|
|
2619
|
-
z.lazy(() => EnvelopeFieldCreateManyDataInitials$inboundSchema),
|
|
2620
|
-
z.lazy(() => EnvelopeFieldCreateManyDataName$inboundSchema),
|
|
2621
|
-
z.lazy(() => EnvelopeFieldCreateManyDataEmail$inboundSchema),
|
|
2622
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDate$inboundSchema),
|
|
2623
|
-
z.lazy(() => EnvelopeFieldCreateManyDataText$inboundSchema),
|
|
2624
|
-
z.lazy(() => EnvelopeFieldCreateManyDataNumber$inboundSchema),
|
|
2625
|
-
z.lazy(() => EnvelopeFieldCreateManyDataRadio$inboundSchema),
|
|
2626
|
-
z.lazy(() => EnvelopeFieldCreateManyDataCheckbox$inboundSchema),
|
|
2627
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDropdown$inboundSchema),
|
|
450
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest1$inboundSchema),
|
|
451
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest2$inboundSchema),
|
|
2628
452
|
]);
|
|
2629
453
|
/** @internal */
|
|
2630
454
|
export type EnvelopeFieldCreateManyDataUnion$Outbound =
|
|
2631
|
-
|
|
|
2632
|
-
|
|
|
2633
|
-
| EnvelopeFieldCreateManyDataInitials$Outbound
|
|
2634
|
-
| EnvelopeFieldCreateManyDataName$Outbound
|
|
2635
|
-
| EnvelopeFieldCreateManyDataEmail$Outbound
|
|
2636
|
-
| EnvelopeFieldCreateManyDataDate$Outbound
|
|
2637
|
-
| EnvelopeFieldCreateManyDataText$Outbound
|
|
2638
|
-
| EnvelopeFieldCreateManyDataNumber$Outbound
|
|
2639
|
-
| EnvelopeFieldCreateManyDataRadio$Outbound
|
|
2640
|
-
| EnvelopeFieldCreateManyDataCheckbox$Outbound
|
|
2641
|
-
| EnvelopeFieldCreateManyDataDropdown$Outbound;
|
|
455
|
+
| EnvelopeFieldCreateManyDataRequest1$Outbound
|
|
456
|
+
| EnvelopeFieldCreateManyDataRequest2$Outbound;
|
|
2642
457
|
|
|
2643
458
|
/** @internal */
|
|
2644
459
|
export const EnvelopeFieldCreateManyDataUnion$outboundSchema: z.ZodType<
|
|
@@ -2646,17 +461,8 @@ export const EnvelopeFieldCreateManyDataUnion$outboundSchema: z.ZodType<
|
|
|
2646
461
|
z.ZodTypeDef,
|
|
2647
462
|
EnvelopeFieldCreateManyDataUnion
|
|
2648
463
|
> = z.union([
|
|
2649
|
-
z.lazy(() =>
|
|
2650
|
-
z.lazy(() =>
|
|
2651
|
-
z.lazy(() => EnvelopeFieldCreateManyDataInitials$outboundSchema),
|
|
2652
|
-
z.lazy(() => EnvelopeFieldCreateManyDataName$outboundSchema),
|
|
2653
|
-
z.lazy(() => EnvelopeFieldCreateManyDataEmail$outboundSchema),
|
|
2654
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDate$outboundSchema),
|
|
2655
|
-
z.lazy(() => EnvelopeFieldCreateManyDataText$outboundSchema),
|
|
2656
|
-
z.lazy(() => EnvelopeFieldCreateManyDataNumber$outboundSchema),
|
|
2657
|
-
z.lazy(() => EnvelopeFieldCreateManyDataRadio$outboundSchema),
|
|
2658
|
-
z.lazy(() => EnvelopeFieldCreateManyDataCheckbox$outboundSchema),
|
|
2659
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDropdown$outboundSchema),
|
|
464
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest1$outboundSchema),
|
|
465
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest2$outboundSchema),
|
|
2660
466
|
]);
|
|
2661
467
|
|
|
2662
468
|
export function envelopeFieldCreateManyDataUnionToJSON(
|
|
@@ -2687,17 +493,8 @@ export const EnvelopeFieldCreateManyRequest$inboundSchema: z.ZodType<
|
|
|
2687
493
|
envelopeId: z.string(),
|
|
2688
494
|
data: z.array(
|
|
2689
495
|
z.union([
|
|
2690
|
-
z.lazy(() =>
|
|
2691
|
-
z.lazy(() =>
|
|
2692
|
-
z.lazy(() => EnvelopeFieldCreateManyDataInitials$inboundSchema),
|
|
2693
|
-
z.lazy(() => EnvelopeFieldCreateManyDataName$inboundSchema),
|
|
2694
|
-
z.lazy(() => EnvelopeFieldCreateManyDataEmail$inboundSchema),
|
|
2695
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDate$inboundSchema),
|
|
2696
|
-
z.lazy(() => EnvelopeFieldCreateManyDataText$inboundSchema),
|
|
2697
|
-
z.lazy(() => EnvelopeFieldCreateManyDataNumber$inboundSchema),
|
|
2698
|
-
z.lazy(() => EnvelopeFieldCreateManyDataRadio$inboundSchema),
|
|
2699
|
-
z.lazy(() => EnvelopeFieldCreateManyDataCheckbox$inboundSchema),
|
|
2700
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDropdown$inboundSchema),
|
|
496
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest1$inboundSchema),
|
|
497
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest2$inboundSchema),
|
|
2701
498
|
]),
|
|
2702
499
|
),
|
|
2703
500
|
});
|
|
@@ -2705,17 +502,8 @@ export const EnvelopeFieldCreateManyRequest$inboundSchema: z.ZodType<
|
|
|
2705
502
|
export type EnvelopeFieldCreateManyRequest$Outbound = {
|
|
2706
503
|
envelopeId: string;
|
|
2707
504
|
data: Array<
|
|
2708
|
-
|
|
|
2709
|
-
|
|
|
2710
|
-
| EnvelopeFieldCreateManyDataInitials$Outbound
|
|
2711
|
-
| EnvelopeFieldCreateManyDataName$Outbound
|
|
2712
|
-
| EnvelopeFieldCreateManyDataEmail$Outbound
|
|
2713
|
-
| EnvelopeFieldCreateManyDataDate$Outbound
|
|
2714
|
-
| EnvelopeFieldCreateManyDataText$Outbound
|
|
2715
|
-
| EnvelopeFieldCreateManyDataNumber$Outbound
|
|
2716
|
-
| EnvelopeFieldCreateManyDataRadio$Outbound
|
|
2717
|
-
| EnvelopeFieldCreateManyDataCheckbox$Outbound
|
|
2718
|
-
| EnvelopeFieldCreateManyDataDropdown$Outbound
|
|
505
|
+
| EnvelopeFieldCreateManyDataRequest1$Outbound
|
|
506
|
+
| EnvelopeFieldCreateManyDataRequest2$Outbound
|
|
2719
507
|
>;
|
|
2720
508
|
};
|
|
2721
509
|
|
|
@@ -2728,17 +516,8 @@ export const EnvelopeFieldCreateManyRequest$outboundSchema: z.ZodType<
|
|
|
2728
516
|
envelopeId: z.string(),
|
|
2729
517
|
data: z.array(
|
|
2730
518
|
z.union([
|
|
2731
|
-
z.lazy(() =>
|
|
2732
|
-
z.lazy(() =>
|
|
2733
|
-
z.lazy(() => EnvelopeFieldCreateManyDataInitials$outboundSchema),
|
|
2734
|
-
z.lazy(() => EnvelopeFieldCreateManyDataName$outboundSchema),
|
|
2735
|
-
z.lazy(() => EnvelopeFieldCreateManyDataEmail$outboundSchema),
|
|
2736
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDate$outboundSchema),
|
|
2737
|
-
z.lazy(() => EnvelopeFieldCreateManyDataText$outboundSchema),
|
|
2738
|
-
z.lazy(() => EnvelopeFieldCreateManyDataNumber$outboundSchema),
|
|
2739
|
-
z.lazy(() => EnvelopeFieldCreateManyDataRadio$outboundSchema),
|
|
2740
|
-
z.lazy(() => EnvelopeFieldCreateManyDataCheckbox$outboundSchema),
|
|
2741
|
-
z.lazy(() => EnvelopeFieldCreateManyDataDropdown$outboundSchema),
|
|
519
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest1$outboundSchema),
|
|
520
|
+
z.lazy(() => EnvelopeFieldCreateManyDataRequest2$outboundSchema),
|
|
2742
521
|
]),
|
|
2743
522
|
),
|
|
2744
523
|
});
|
|
@@ -2763,134 +542,129 @@ export function envelopeFieldCreateManyRequestFromJSON(
|
|
|
2763
542
|
}
|
|
2764
543
|
|
|
2765
544
|
/** @internal */
|
|
2766
|
-
export const
|
|
2767
|
-
|
|
2768
|
-
|
|
545
|
+
export const EnvelopeFieldCreateManyTypeEnum$inboundSchema: z.ZodNativeEnum<
|
|
546
|
+
typeof EnvelopeFieldCreateManyTypeEnum
|
|
547
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTypeEnum);
|
|
2769
548
|
/** @internal */
|
|
2770
|
-
export const
|
|
2771
|
-
|
|
2772
|
-
|
|
549
|
+
export const EnvelopeFieldCreateManyTypeEnum$outboundSchema: z.ZodNativeEnum<
|
|
550
|
+
typeof EnvelopeFieldCreateManyTypeEnum
|
|
551
|
+
> = EnvelopeFieldCreateManyTypeEnum$inboundSchema;
|
|
2773
552
|
|
|
2774
553
|
/** @internal */
|
|
2775
|
-
export const
|
|
2776
|
-
|
|
554
|
+
export const EnvelopeFieldCreateManyValue3$inboundSchema: z.ZodType<
|
|
555
|
+
EnvelopeFieldCreateManyValue3,
|
|
2777
556
|
z.ZodTypeDef,
|
|
2778
557
|
unknown
|
|
2779
558
|
> = z.object({
|
|
2780
559
|
value: z.string(),
|
|
2781
560
|
});
|
|
2782
561
|
/** @internal */
|
|
2783
|
-
export type
|
|
562
|
+
export type EnvelopeFieldCreateManyValue3$Outbound = {
|
|
2784
563
|
value: string;
|
|
2785
564
|
};
|
|
2786
565
|
|
|
2787
566
|
/** @internal */
|
|
2788
|
-
export const
|
|
2789
|
-
|
|
567
|
+
export const EnvelopeFieldCreateManyValue3$outboundSchema: z.ZodType<
|
|
568
|
+
EnvelopeFieldCreateManyValue3$Outbound,
|
|
2790
569
|
z.ZodTypeDef,
|
|
2791
|
-
|
|
570
|
+
EnvelopeFieldCreateManyValue3
|
|
2792
571
|
> = z.object({
|
|
2793
572
|
value: z.string(),
|
|
2794
573
|
});
|
|
2795
574
|
|
|
2796
|
-
export function
|
|
2797
|
-
|
|
575
|
+
export function envelopeFieldCreateManyValue3ToJSON(
|
|
576
|
+
envelopeFieldCreateManyValue3: EnvelopeFieldCreateManyValue3,
|
|
2798
577
|
): string {
|
|
2799
578
|
return JSON.stringify(
|
|
2800
|
-
|
|
2801
|
-
|
|
579
|
+
EnvelopeFieldCreateManyValue3$outboundSchema.parse(
|
|
580
|
+
envelopeFieldCreateManyValue3,
|
|
2802
581
|
),
|
|
2803
582
|
);
|
|
2804
583
|
}
|
|
2805
|
-
export function
|
|
584
|
+
export function envelopeFieldCreateManyValue3FromJSON(
|
|
2806
585
|
jsonString: string,
|
|
2807
|
-
): SafeParseResult<
|
|
586
|
+
): SafeParseResult<EnvelopeFieldCreateManyValue3, SDKValidationError> {
|
|
2808
587
|
return safeParse(
|
|
2809
588
|
jsonString,
|
|
2810
|
-
(x) =>
|
|
2811
|
-
|
|
2812
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueResponse3' from JSON`,
|
|
589
|
+
(x) => EnvelopeFieldCreateManyValue3$inboundSchema.parse(JSON.parse(x)),
|
|
590
|
+
`Failed to parse 'EnvelopeFieldCreateManyValue3' from JSON`,
|
|
2813
591
|
);
|
|
2814
592
|
}
|
|
2815
593
|
|
|
2816
594
|
/** @internal */
|
|
2817
|
-
export const
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
defaultValue: z.string().optional(),
|
|
2833
|
-
});
|
|
595
|
+
export const EnvelopeFieldCreateManyFieldMetaDropdown$inboundSchema: z.ZodType<
|
|
596
|
+
EnvelopeFieldCreateManyFieldMetaDropdown,
|
|
597
|
+
z.ZodTypeDef,
|
|
598
|
+
unknown
|
|
599
|
+
> = z.object({
|
|
600
|
+
label: z.string().optional(),
|
|
601
|
+
placeholder: z.string().optional(),
|
|
602
|
+
required: z.boolean().optional(),
|
|
603
|
+
readOnly: z.boolean().optional(),
|
|
604
|
+
fontSize: z.number().default(12),
|
|
605
|
+
type: z.literal("dropdown"),
|
|
606
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue3$inboundSchema))
|
|
607
|
+
.optional(),
|
|
608
|
+
defaultValue: z.string().optional(),
|
|
609
|
+
});
|
|
2834
610
|
/** @internal */
|
|
2835
|
-
export type
|
|
611
|
+
export type EnvelopeFieldCreateManyFieldMetaDropdown$Outbound = {
|
|
2836
612
|
label?: string | undefined;
|
|
2837
613
|
placeholder?: string | undefined;
|
|
2838
614
|
required?: boolean | undefined;
|
|
2839
615
|
readOnly?: boolean | undefined;
|
|
2840
616
|
fontSize: number;
|
|
2841
617
|
type: "dropdown";
|
|
2842
|
-
values?: Array<
|
|
618
|
+
values?: Array<EnvelopeFieldCreateManyValue3$Outbound> | undefined;
|
|
2843
619
|
defaultValue?: string | undefined;
|
|
2844
620
|
};
|
|
2845
621
|
|
|
2846
622
|
/** @internal */
|
|
2847
|
-
export const
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
defaultValue: z.string().optional(),
|
|
2863
|
-
});
|
|
623
|
+
export const EnvelopeFieldCreateManyFieldMetaDropdown$outboundSchema: z.ZodType<
|
|
624
|
+
EnvelopeFieldCreateManyFieldMetaDropdown$Outbound,
|
|
625
|
+
z.ZodTypeDef,
|
|
626
|
+
EnvelopeFieldCreateManyFieldMetaDropdown
|
|
627
|
+
> = z.object({
|
|
628
|
+
label: z.string().optional(),
|
|
629
|
+
placeholder: z.string().optional(),
|
|
630
|
+
required: z.boolean().optional(),
|
|
631
|
+
readOnly: z.boolean().optional(),
|
|
632
|
+
fontSize: z.number().default(12),
|
|
633
|
+
type: z.literal("dropdown"),
|
|
634
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue3$outboundSchema))
|
|
635
|
+
.optional(),
|
|
636
|
+
defaultValue: z.string().optional(),
|
|
637
|
+
});
|
|
2864
638
|
|
|
2865
|
-
export function
|
|
2866
|
-
|
|
2867
|
-
|
|
639
|
+
export function envelopeFieldCreateManyFieldMetaDropdownToJSON(
|
|
640
|
+
envelopeFieldCreateManyFieldMetaDropdown:
|
|
641
|
+
EnvelopeFieldCreateManyFieldMetaDropdown,
|
|
2868
642
|
): string {
|
|
2869
643
|
return JSON.stringify(
|
|
2870
|
-
|
|
2871
|
-
|
|
644
|
+
EnvelopeFieldCreateManyFieldMetaDropdown$outboundSchema.parse(
|
|
645
|
+
envelopeFieldCreateManyFieldMetaDropdown,
|
|
2872
646
|
),
|
|
2873
647
|
);
|
|
2874
648
|
}
|
|
2875
|
-
export function
|
|
649
|
+
export function envelopeFieldCreateManyFieldMetaDropdownFromJSON(
|
|
2876
650
|
jsonString: string,
|
|
2877
651
|
): SafeParseResult<
|
|
2878
|
-
|
|
652
|
+
EnvelopeFieldCreateManyFieldMetaDropdown,
|
|
2879
653
|
SDKValidationError
|
|
2880
654
|
> {
|
|
2881
655
|
return safeParse(
|
|
2882
656
|
jsonString,
|
|
2883
657
|
(x) =>
|
|
2884
|
-
|
|
658
|
+
EnvelopeFieldCreateManyFieldMetaDropdown$inboundSchema.parse(
|
|
2885
659
|
JSON.parse(x),
|
|
2886
660
|
),
|
|
2887
|
-
`Failed to parse '
|
|
661
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaDropdown' from JSON`,
|
|
2888
662
|
);
|
|
2889
663
|
}
|
|
2890
664
|
|
|
2891
665
|
/** @internal */
|
|
2892
|
-
export const
|
|
2893
|
-
|
|
666
|
+
export const EnvelopeFieldCreateManyValue2$inboundSchema: z.ZodType<
|
|
667
|
+
EnvelopeFieldCreateManyValue2,
|
|
2894
668
|
z.ZodTypeDef,
|
|
2895
669
|
unknown
|
|
2896
670
|
> = z.object({
|
|
@@ -2899,140 +673,135 @@ export const EnvelopeFieldCreateManyValueResponse2$inboundSchema: z.ZodType<
|
|
|
2899
673
|
value: z.string(),
|
|
2900
674
|
});
|
|
2901
675
|
/** @internal */
|
|
2902
|
-
export type
|
|
676
|
+
export type EnvelopeFieldCreateManyValue2$Outbound = {
|
|
2903
677
|
id: number;
|
|
2904
678
|
checked: boolean;
|
|
2905
679
|
value: string;
|
|
2906
680
|
};
|
|
2907
681
|
|
|
2908
682
|
/** @internal */
|
|
2909
|
-
export const
|
|
2910
|
-
|
|
683
|
+
export const EnvelopeFieldCreateManyValue2$outboundSchema: z.ZodType<
|
|
684
|
+
EnvelopeFieldCreateManyValue2$Outbound,
|
|
2911
685
|
z.ZodTypeDef,
|
|
2912
|
-
|
|
686
|
+
EnvelopeFieldCreateManyValue2
|
|
2913
687
|
> = z.object({
|
|
2914
688
|
id: z.number(),
|
|
2915
689
|
checked: z.boolean(),
|
|
2916
690
|
value: z.string(),
|
|
2917
691
|
});
|
|
2918
692
|
|
|
2919
|
-
export function
|
|
2920
|
-
|
|
693
|
+
export function envelopeFieldCreateManyValue2ToJSON(
|
|
694
|
+
envelopeFieldCreateManyValue2: EnvelopeFieldCreateManyValue2,
|
|
2921
695
|
): string {
|
|
2922
696
|
return JSON.stringify(
|
|
2923
|
-
|
|
2924
|
-
|
|
697
|
+
EnvelopeFieldCreateManyValue2$outboundSchema.parse(
|
|
698
|
+
envelopeFieldCreateManyValue2,
|
|
2925
699
|
),
|
|
2926
700
|
);
|
|
2927
701
|
}
|
|
2928
|
-
export function
|
|
702
|
+
export function envelopeFieldCreateManyValue2FromJSON(
|
|
2929
703
|
jsonString: string,
|
|
2930
|
-
): SafeParseResult<
|
|
704
|
+
): SafeParseResult<EnvelopeFieldCreateManyValue2, SDKValidationError> {
|
|
2931
705
|
return safeParse(
|
|
2932
706
|
jsonString,
|
|
2933
|
-
(x) =>
|
|
2934
|
-
|
|
2935
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueResponse2' from JSON`,
|
|
707
|
+
(x) => EnvelopeFieldCreateManyValue2$inboundSchema.parse(JSON.parse(x)),
|
|
708
|
+
`Failed to parse 'EnvelopeFieldCreateManyValue2' from JSON`,
|
|
2936
709
|
);
|
|
2937
710
|
}
|
|
2938
711
|
|
|
2939
712
|
/** @internal */
|
|
2940
|
-
export const
|
|
2941
|
-
|
|
2942
|
-
|
|
713
|
+
export const EnvelopeFieldCreateManyDirection2$inboundSchema: z.ZodNativeEnum<
|
|
714
|
+
typeof EnvelopeFieldCreateManyDirection2
|
|
715
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyDirection2);
|
|
2943
716
|
/** @internal */
|
|
2944
|
-
export const
|
|
2945
|
-
|
|
2946
|
-
|
|
717
|
+
export const EnvelopeFieldCreateManyDirection2$outboundSchema: z.ZodNativeEnum<
|
|
718
|
+
typeof EnvelopeFieldCreateManyDirection2
|
|
719
|
+
> = EnvelopeFieldCreateManyDirection2$inboundSchema;
|
|
2947
720
|
|
|
2948
721
|
/** @internal */
|
|
2949
|
-
export const
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
),
|
|
2969
|
-
});
|
|
722
|
+
export const EnvelopeFieldCreateManyFieldMetaCheckbox$inboundSchema: z.ZodType<
|
|
723
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox,
|
|
724
|
+
z.ZodTypeDef,
|
|
725
|
+
unknown
|
|
726
|
+
> = z.object({
|
|
727
|
+
label: z.string().optional(),
|
|
728
|
+
placeholder: z.string().optional(),
|
|
729
|
+
required: z.boolean().optional(),
|
|
730
|
+
readOnly: z.boolean().optional(),
|
|
731
|
+
fontSize: z.number().default(12),
|
|
732
|
+
type: z.literal("checkbox"),
|
|
733
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue2$inboundSchema))
|
|
734
|
+
.optional(),
|
|
735
|
+
validationRule: z.string().optional(),
|
|
736
|
+
validationLength: z.number().optional(),
|
|
737
|
+
direction: EnvelopeFieldCreateManyDirection2$inboundSchema.default(
|
|
738
|
+
"vertical",
|
|
739
|
+
),
|
|
740
|
+
});
|
|
2970
741
|
/** @internal */
|
|
2971
|
-
export type
|
|
742
|
+
export type EnvelopeFieldCreateManyFieldMetaCheckbox$Outbound = {
|
|
2972
743
|
label?: string | undefined;
|
|
2973
744
|
placeholder?: string | undefined;
|
|
2974
745
|
required?: boolean | undefined;
|
|
2975
746
|
readOnly?: boolean | undefined;
|
|
2976
747
|
fontSize: number;
|
|
2977
748
|
type: "checkbox";
|
|
2978
|
-
values?: Array<
|
|
749
|
+
values?: Array<EnvelopeFieldCreateManyValue2$Outbound> | undefined;
|
|
2979
750
|
validationRule?: string | undefined;
|
|
2980
751
|
validationLength?: number | undefined;
|
|
2981
752
|
direction: string;
|
|
2982
753
|
};
|
|
2983
754
|
|
|
2984
755
|
/** @internal */
|
|
2985
|
-
export const
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
),
|
|
3005
|
-
});
|
|
756
|
+
export const EnvelopeFieldCreateManyFieldMetaCheckbox$outboundSchema: z.ZodType<
|
|
757
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox$Outbound,
|
|
758
|
+
z.ZodTypeDef,
|
|
759
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox
|
|
760
|
+
> = z.object({
|
|
761
|
+
label: z.string().optional(),
|
|
762
|
+
placeholder: z.string().optional(),
|
|
763
|
+
required: z.boolean().optional(),
|
|
764
|
+
readOnly: z.boolean().optional(),
|
|
765
|
+
fontSize: z.number().default(12),
|
|
766
|
+
type: z.literal("checkbox"),
|
|
767
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue2$outboundSchema))
|
|
768
|
+
.optional(),
|
|
769
|
+
validationRule: z.string().optional(),
|
|
770
|
+
validationLength: z.number().optional(),
|
|
771
|
+
direction: EnvelopeFieldCreateManyDirection2$outboundSchema.default(
|
|
772
|
+
"vertical",
|
|
773
|
+
),
|
|
774
|
+
});
|
|
3006
775
|
|
|
3007
|
-
export function
|
|
3008
|
-
|
|
3009
|
-
|
|
776
|
+
export function envelopeFieldCreateManyFieldMetaCheckboxToJSON(
|
|
777
|
+
envelopeFieldCreateManyFieldMetaCheckbox:
|
|
778
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox,
|
|
3010
779
|
): string {
|
|
3011
780
|
return JSON.stringify(
|
|
3012
|
-
|
|
3013
|
-
|
|
781
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox$outboundSchema.parse(
|
|
782
|
+
envelopeFieldCreateManyFieldMetaCheckbox,
|
|
3014
783
|
),
|
|
3015
784
|
);
|
|
3016
785
|
}
|
|
3017
|
-
export function
|
|
786
|
+
export function envelopeFieldCreateManyFieldMetaCheckboxFromJSON(
|
|
3018
787
|
jsonString: string,
|
|
3019
788
|
): SafeParseResult<
|
|
3020
|
-
|
|
789
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox,
|
|
3021
790
|
SDKValidationError
|
|
3022
791
|
> {
|
|
3023
792
|
return safeParse(
|
|
3024
793
|
jsonString,
|
|
3025
794
|
(x) =>
|
|
3026
|
-
|
|
795
|
+
EnvelopeFieldCreateManyFieldMetaCheckbox$inboundSchema.parse(
|
|
3027
796
|
JSON.parse(x),
|
|
3028
797
|
),
|
|
3029
|
-
`Failed to parse '
|
|
798
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaCheckbox' from JSON`,
|
|
3030
799
|
);
|
|
3031
800
|
}
|
|
3032
801
|
|
|
3033
802
|
/** @internal */
|
|
3034
|
-
export const
|
|
3035
|
-
|
|
803
|
+
export const EnvelopeFieldCreateManyValue1$inboundSchema: z.ZodType<
|
|
804
|
+
EnvelopeFieldCreateManyValue1,
|
|
3036
805
|
z.ZodTypeDef,
|
|
3037
806
|
unknown
|
|
3038
807
|
> = z.object({
|
|
@@ -3041,176 +810,163 @@ export const EnvelopeFieldCreateManyValueResponse1$inboundSchema: z.ZodType<
|
|
|
3041
810
|
value: z.string(),
|
|
3042
811
|
});
|
|
3043
812
|
/** @internal */
|
|
3044
|
-
export type
|
|
813
|
+
export type EnvelopeFieldCreateManyValue1$Outbound = {
|
|
3045
814
|
id: number;
|
|
3046
815
|
checked: boolean;
|
|
3047
816
|
value: string;
|
|
3048
817
|
};
|
|
3049
818
|
|
|
3050
819
|
/** @internal */
|
|
3051
|
-
export const
|
|
3052
|
-
|
|
820
|
+
export const EnvelopeFieldCreateManyValue1$outboundSchema: z.ZodType<
|
|
821
|
+
EnvelopeFieldCreateManyValue1$Outbound,
|
|
3053
822
|
z.ZodTypeDef,
|
|
3054
|
-
|
|
823
|
+
EnvelopeFieldCreateManyValue1
|
|
3055
824
|
> = z.object({
|
|
3056
825
|
id: z.number(),
|
|
3057
826
|
checked: z.boolean(),
|
|
3058
827
|
value: z.string(),
|
|
3059
828
|
});
|
|
3060
829
|
|
|
3061
|
-
export function
|
|
3062
|
-
|
|
830
|
+
export function envelopeFieldCreateManyValue1ToJSON(
|
|
831
|
+
envelopeFieldCreateManyValue1: EnvelopeFieldCreateManyValue1,
|
|
3063
832
|
): string {
|
|
3064
833
|
return JSON.stringify(
|
|
3065
|
-
|
|
3066
|
-
|
|
834
|
+
EnvelopeFieldCreateManyValue1$outboundSchema.parse(
|
|
835
|
+
envelopeFieldCreateManyValue1,
|
|
3067
836
|
),
|
|
3068
837
|
);
|
|
3069
838
|
}
|
|
3070
|
-
export function
|
|
839
|
+
export function envelopeFieldCreateManyValue1FromJSON(
|
|
3071
840
|
jsonString: string,
|
|
3072
|
-
): SafeParseResult<
|
|
841
|
+
): SafeParseResult<EnvelopeFieldCreateManyValue1, SDKValidationError> {
|
|
3073
842
|
return safeParse(
|
|
3074
843
|
jsonString,
|
|
3075
|
-
(x) =>
|
|
3076
|
-
|
|
3077
|
-
`Failed to parse 'EnvelopeFieldCreateManyValueResponse1' from JSON`,
|
|
844
|
+
(x) => EnvelopeFieldCreateManyValue1$inboundSchema.parse(JSON.parse(x)),
|
|
845
|
+
`Failed to parse 'EnvelopeFieldCreateManyValue1' from JSON`,
|
|
3078
846
|
);
|
|
3079
847
|
}
|
|
3080
848
|
|
|
3081
849
|
/** @internal */
|
|
3082
|
-
export const
|
|
3083
|
-
|
|
3084
|
-
|
|
850
|
+
export const EnvelopeFieldCreateManyDirection1$inboundSchema: z.ZodNativeEnum<
|
|
851
|
+
typeof EnvelopeFieldCreateManyDirection1
|
|
852
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyDirection1);
|
|
3085
853
|
/** @internal */
|
|
3086
|
-
export const
|
|
3087
|
-
|
|
3088
|
-
|
|
854
|
+
export const EnvelopeFieldCreateManyDirection1$outboundSchema: z.ZodNativeEnum<
|
|
855
|
+
typeof EnvelopeFieldCreateManyDirection1
|
|
856
|
+
> = EnvelopeFieldCreateManyDirection1$inboundSchema;
|
|
3089
857
|
|
|
3090
858
|
/** @internal */
|
|
3091
|
-
export const
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
),
|
|
3109
|
-
});
|
|
859
|
+
export const EnvelopeFieldCreateManyFieldMetaRadio$inboundSchema: z.ZodType<
|
|
860
|
+
EnvelopeFieldCreateManyFieldMetaRadio,
|
|
861
|
+
z.ZodTypeDef,
|
|
862
|
+
unknown
|
|
863
|
+
> = z.object({
|
|
864
|
+
label: z.string().optional(),
|
|
865
|
+
placeholder: z.string().optional(),
|
|
866
|
+
required: z.boolean().optional(),
|
|
867
|
+
readOnly: z.boolean().optional(),
|
|
868
|
+
fontSize: z.number().default(12),
|
|
869
|
+
type: z.literal("radio"),
|
|
870
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue1$inboundSchema))
|
|
871
|
+
.optional(),
|
|
872
|
+
direction: EnvelopeFieldCreateManyDirection1$inboundSchema.default(
|
|
873
|
+
"vertical",
|
|
874
|
+
),
|
|
875
|
+
});
|
|
3110
876
|
/** @internal */
|
|
3111
|
-
export type
|
|
877
|
+
export type EnvelopeFieldCreateManyFieldMetaRadio$Outbound = {
|
|
3112
878
|
label?: string | undefined;
|
|
3113
879
|
placeholder?: string | undefined;
|
|
3114
880
|
required?: boolean | undefined;
|
|
3115
881
|
readOnly?: boolean | undefined;
|
|
3116
882
|
fontSize: number;
|
|
3117
883
|
type: "radio";
|
|
3118
|
-
values?: Array<
|
|
884
|
+
values?: Array<EnvelopeFieldCreateManyValue1$Outbound> | undefined;
|
|
3119
885
|
direction: string;
|
|
3120
886
|
};
|
|
3121
887
|
|
|
3122
888
|
/** @internal */
|
|
3123
|
-
export const
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
),
|
|
3141
|
-
});
|
|
889
|
+
export const EnvelopeFieldCreateManyFieldMetaRadio$outboundSchema: z.ZodType<
|
|
890
|
+
EnvelopeFieldCreateManyFieldMetaRadio$Outbound,
|
|
891
|
+
z.ZodTypeDef,
|
|
892
|
+
EnvelopeFieldCreateManyFieldMetaRadio
|
|
893
|
+
> = z.object({
|
|
894
|
+
label: z.string().optional(),
|
|
895
|
+
placeholder: z.string().optional(),
|
|
896
|
+
required: z.boolean().optional(),
|
|
897
|
+
readOnly: z.boolean().optional(),
|
|
898
|
+
fontSize: z.number().default(12),
|
|
899
|
+
type: z.literal("radio"),
|
|
900
|
+
values: z.array(z.lazy(() => EnvelopeFieldCreateManyValue1$outboundSchema))
|
|
901
|
+
.optional(),
|
|
902
|
+
direction: EnvelopeFieldCreateManyDirection1$outboundSchema.default(
|
|
903
|
+
"vertical",
|
|
904
|
+
),
|
|
905
|
+
});
|
|
3142
906
|
|
|
3143
|
-
export function
|
|
3144
|
-
|
|
3145
|
-
EnvelopeFieldCreateManyFieldMetaRadioResponse,
|
|
907
|
+
export function envelopeFieldCreateManyFieldMetaRadioToJSON(
|
|
908
|
+
envelopeFieldCreateManyFieldMetaRadio: EnvelopeFieldCreateManyFieldMetaRadio,
|
|
3146
909
|
): string {
|
|
3147
910
|
return JSON.stringify(
|
|
3148
|
-
|
|
3149
|
-
|
|
911
|
+
EnvelopeFieldCreateManyFieldMetaRadio$outboundSchema.parse(
|
|
912
|
+
envelopeFieldCreateManyFieldMetaRadio,
|
|
3150
913
|
),
|
|
3151
914
|
);
|
|
3152
915
|
}
|
|
3153
|
-
export function
|
|
916
|
+
export function envelopeFieldCreateManyFieldMetaRadioFromJSON(
|
|
3154
917
|
jsonString: string,
|
|
3155
|
-
): SafeParseResult<
|
|
3156
|
-
EnvelopeFieldCreateManyFieldMetaRadioResponse,
|
|
3157
|
-
SDKValidationError
|
|
3158
|
-
> {
|
|
918
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaRadio, SDKValidationError> {
|
|
3159
919
|
return safeParse(
|
|
3160
920
|
jsonString,
|
|
3161
921
|
(x) =>
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
),
|
|
3165
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaRadioResponse' from JSON`,
|
|
922
|
+
EnvelopeFieldCreateManyFieldMetaRadio$inboundSchema.parse(JSON.parse(x)),
|
|
923
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaRadio' from JSON`,
|
|
3166
924
|
);
|
|
3167
925
|
}
|
|
3168
926
|
|
|
3169
927
|
/** @internal */
|
|
3170
|
-
export const
|
|
3171
|
-
|
|
3172
|
-
|
|
928
|
+
export const EnvelopeFieldCreateManyTextAlign6$inboundSchema: z.ZodNativeEnum<
|
|
929
|
+
typeof EnvelopeFieldCreateManyTextAlign6
|
|
930
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign6);
|
|
3173
931
|
/** @internal */
|
|
3174
|
-
export const
|
|
3175
|
-
|
|
3176
|
-
|
|
932
|
+
export const EnvelopeFieldCreateManyTextAlign6$outboundSchema: z.ZodNativeEnum<
|
|
933
|
+
typeof EnvelopeFieldCreateManyTextAlign6
|
|
934
|
+
> = EnvelopeFieldCreateManyTextAlign6$inboundSchema;
|
|
3177
935
|
|
|
3178
936
|
/** @internal */
|
|
3179
|
-
export const
|
|
3180
|
-
z.ZodNativeEnum<typeof
|
|
3181
|
-
|
|
937
|
+
export const EnvelopeFieldCreateManyVerticalAlign2$inboundSchema:
|
|
938
|
+
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlign2> = z.nativeEnum(
|
|
939
|
+
EnvelopeFieldCreateManyVerticalAlign2,
|
|
940
|
+
);
|
|
3182
941
|
/** @internal */
|
|
3183
|
-
export const
|
|
3184
|
-
z.ZodNativeEnum<typeof
|
|
3185
|
-
|
|
942
|
+
export const EnvelopeFieldCreateManyVerticalAlign2$outboundSchema:
|
|
943
|
+
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlign2> =
|
|
944
|
+
EnvelopeFieldCreateManyVerticalAlign2$inboundSchema;
|
|
3186
945
|
|
|
3187
946
|
/** @internal */
|
|
3188
|
-
export const
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
EnvelopeFieldCreateManyVerticalAlignResponse2$inboundSchema,
|
|
3210
|
-
).optional(),
|
|
3211
|
-
});
|
|
947
|
+
export const EnvelopeFieldCreateManyFieldMetaNumber$inboundSchema: z.ZodType<
|
|
948
|
+
EnvelopeFieldCreateManyFieldMetaNumber,
|
|
949
|
+
z.ZodTypeDef,
|
|
950
|
+
unknown
|
|
951
|
+
> = z.object({
|
|
952
|
+
label: z.string().optional(),
|
|
953
|
+
placeholder: z.string().optional(),
|
|
954
|
+
required: z.boolean().optional(),
|
|
955
|
+
readOnly: z.boolean().optional(),
|
|
956
|
+
fontSize: z.number().default(12),
|
|
957
|
+
type: z.literal("number"),
|
|
958
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
959
|
+
value: z.string().optional(),
|
|
960
|
+
minValue: z.nullable(z.number()).optional(),
|
|
961
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
962
|
+
textAlign: EnvelopeFieldCreateManyTextAlign6$inboundSchema.optional(),
|
|
963
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
964
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
965
|
+
verticalAlign: z.nullable(EnvelopeFieldCreateManyVerticalAlign2$inboundSchema)
|
|
966
|
+
.optional(),
|
|
967
|
+
});
|
|
3212
968
|
/** @internal */
|
|
3213
|
-
export type
|
|
969
|
+
export type EnvelopeFieldCreateManyFieldMetaNumber$Outbound = {
|
|
3214
970
|
label?: string | undefined;
|
|
3215
971
|
placeholder?: string | undefined;
|
|
3216
972
|
required?: boolean | undefined;
|
|
@@ -3228,100 +984,91 @@ export type EnvelopeFieldCreateManyFieldMetaNumberResponse$Outbound = {
|
|
|
3228
984
|
};
|
|
3229
985
|
|
|
3230
986
|
/** @internal */
|
|
3231
|
-
export const
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
).optional(),
|
|
3254
|
-
});
|
|
987
|
+
export const EnvelopeFieldCreateManyFieldMetaNumber$outboundSchema: z.ZodType<
|
|
988
|
+
EnvelopeFieldCreateManyFieldMetaNumber$Outbound,
|
|
989
|
+
z.ZodTypeDef,
|
|
990
|
+
EnvelopeFieldCreateManyFieldMetaNumber
|
|
991
|
+
> = z.object({
|
|
992
|
+
label: z.string().optional(),
|
|
993
|
+
placeholder: z.string().optional(),
|
|
994
|
+
required: z.boolean().optional(),
|
|
995
|
+
readOnly: z.boolean().optional(),
|
|
996
|
+
fontSize: z.number().default(12),
|
|
997
|
+
type: z.literal("number"),
|
|
998
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
999
|
+
value: z.string().optional(),
|
|
1000
|
+
minValue: z.nullable(z.number()).optional(),
|
|
1001
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
1002
|
+
textAlign: EnvelopeFieldCreateManyTextAlign6$outboundSchema.optional(),
|
|
1003
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
1004
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
1005
|
+
verticalAlign: z.nullable(
|
|
1006
|
+
EnvelopeFieldCreateManyVerticalAlign2$outboundSchema,
|
|
1007
|
+
).optional(),
|
|
1008
|
+
});
|
|
3255
1009
|
|
|
3256
|
-
export function
|
|
3257
|
-
|
|
3258
|
-
|
|
1010
|
+
export function envelopeFieldCreateManyFieldMetaNumberToJSON(
|
|
1011
|
+
envelopeFieldCreateManyFieldMetaNumber:
|
|
1012
|
+
EnvelopeFieldCreateManyFieldMetaNumber,
|
|
3259
1013
|
): string {
|
|
3260
1014
|
return JSON.stringify(
|
|
3261
|
-
|
|
3262
|
-
|
|
1015
|
+
EnvelopeFieldCreateManyFieldMetaNumber$outboundSchema.parse(
|
|
1016
|
+
envelopeFieldCreateManyFieldMetaNumber,
|
|
3263
1017
|
),
|
|
3264
1018
|
);
|
|
3265
1019
|
}
|
|
3266
|
-
export function
|
|
1020
|
+
export function envelopeFieldCreateManyFieldMetaNumberFromJSON(
|
|
3267
1021
|
jsonString: string,
|
|
3268
|
-
): SafeParseResult<
|
|
3269
|
-
EnvelopeFieldCreateManyFieldMetaNumberResponse,
|
|
3270
|
-
SDKValidationError
|
|
3271
|
-
> {
|
|
1022
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaNumber, SDKValidationError> {
|
|
3272
1023
|
return safeParse(
|
|
3273
1024
|
jsonString,
|
|
3274
1025
|
(x) =>
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
),
|
|
3278
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaNumberResponse' from JSON`,
|
|
1026
|
+
EnvelopeFieldCreateManyFieldMetaNumber$inboundSchema.parse(JSON.parse(x)),
|
|
1027
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaNumber' from JSON`,
|
|
3279
1028
|
);
|
|
3280
1029
|
}
|
|
3281
1030
|
|
|
3282
1031
|
/** @internal */
|
|
3283
|
-
export const
|
|
3284
|
-
|
|
3285
|
-
|
|
1032
|
+
export const EnvelopeFieldCreateManyTextAlign5$inboundSchema: z.ZodNativeEnum<
|
|
1033
|
+
typeof EnvelopeFieldCreateManyTextAlign5
|
|
1034
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign5);
|
|
3286
1035
|
/** @internal */
|
|
3287
|
-
export const
|
|
3288
|
-
|
|
3289
|
-
|
|
1036
|
+
export const EnvelopeFieldCreateManyTextAlign5$outboundSchema: z.ZodNativeEnum<
|
|
1037
|
+
typeof EnvelopeFieldCreateManyTextAlign5
|
|
1038
|
+
> = EnvelopeFieldCreateManyTextAlign5$inboundSchema;
|
|
3290
1039
|
|
|
3291
1040
|
/** @internal */
|
|
3292
|
-
export const
|
|
3293
|
-
z.ZodNativeEnum<typeof
|
|
3294
|
-
|
|
1041
|
+
export const EnvelopeFieldCreateManyVerticalAlign1$inboundSchema:
|
|
1042
|
+
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlign1> = z.nativeEnum(
|
|
1043
|
+
EnvelopeFieldCreateManyVerticalAlign1,
|
|
1044
|
+
);
|
|
3295
1045
|
/** @internal */
|
|
3296
|
-
export const
|
|
3297
|
-
z.ZodNativeEnum<typeof
|
|
3298
|
-
|
|
1046
|
+
export const EnvelopeFieldCreateManyVerticalAlign1$outboundSchema:
|
|
1047
|
+
z.ZodNativeEnum<typeof EnvelopeFieldCreateManyVerticalAlign1> =
|
|
1048
|
+
EnvelopeFieldCreateManyVerticalAlign1$inboundSchema;
|
|
3299
1049
|
|
|
3300
1050
|
/** @internal */
|
|
3301
|
-
export const
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
EnvelopeFieldCreateManyVerticalAlignResponse1$inboundSchema,
|
|
3321
|
-
).optional(),
|
|
3322
|
-
});
|
|
1051
|
+
export const EnvelopeFieldCreateManyFieldMetaText$inboundSchema: z.ZodType<
|
|
1052
|
+
EnvelopeFieldCreateManyFieldMetaText,
|
|
1053
|
+
z.ZodTypeDef,
|
|
1054
|
+
unknown
|
|
1055
|
+
> = z.object({
|
|
1056
|
+
label: z.string().optional(),
|
|
1057
|
+
placeholder: z.string().optional(),
|
|
1058
|
+
required: z.boolean().optional(),
|
|
1059
|
+
readOnly: z.boolean().optional(),
|
|
1060
|
+
fontSize: z.number().default(12),
|
|
1061
|
+
type: z.literal("text"),
|
|
1062
|
+
text: z.string().optional(),
|
|
1063
|
+
characterLimit: z.number().optional(),
|
|
1064
|
+
textAlign: EnvelopeFieldCreateManyTextAlign5$inboundSchema.optional(),
|
|
1065
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
1066
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
1067
|
+
verticalAlign: z.nullable(EnvelopeFieldCreateManyVerticalAlign1$inboundSchema)
|
|
1068
|
+
.optional(),
|
|
1069
|
+
});
|
|
3323
1070
|
/** @internal */
|
|
3324
|
-
export type
|
|
1071
|
+
export type EnvelopeFieldCreateManyFieldMetaText$Outbound = {
|
|
3325
1072
|
label?: string | undefined;
|
|
3326
1073
|
placeholder?: string | undefined;
|
|
3327
1074
|
required?: boolean | undefined;
|
|
@@ -3337,82 +1084,72 @@ export type EnvelopeFieldCreateManyFieldMetaTextResponse$Outbound = {
|
|
|
3337
1084
|
};
|
|
3338
1085
|
|
|
3339
1086
|
/** @internal */
|
|
3340
|
-
export const
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
).optional(),
|
|
3361
|
-
});
|
|
1087
|
+
export const EnvelopeFieldCreateManyFieldMetaText$outboundSchema: z.ZodType<
|
|
1088
|
+
EnvelopeFieldCreateManyFieldMetaText$Outbound,
|
|
1089
|
+
z.ZodTypeDef,
|
|
1090
|
+
EnvelopeFieldCreateManyFieldMetaText
|
|
1091
|
+
> = z.object({
|
|
1092
|
+
label: z.string().optional(),
|
|
1093
|
+
placeholder: z.string().optional(),
|
|
1094
|
+
required: z.boolean().optional(),
|
|
1095
|
+
readOnly: z.boolean().optional(),
|
|
1096
|
+
fontSize: z.number().default(12),
|
|
1097
|
+
type: z.literal("text"),
|
|
1098
|
+
text: z.string().optional(),
|
|
1099
|
+
characterLimit: z.number().optional(),
|
|
1100
|
+
textAlign: EnvelopeFieldCreateManyTextAlign5$outboundSchema.optional(),
|
|
1101
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
1102
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
1103
|
+
verticalAlign: z.nullable(
|
|
1104
|
+
EnvelopeFieldCreateManyVerticalAlign1$outboundSchema,
|
|
1105
|
+
).optional(),
|
|
1106
|
+
});
|
|
3362
1107
|
|
|
3363
|
-
export function
|
|
3364
|
-
|
|
3365
|
-
EnvelopeFieldCreateManyFieldMetaTextResponse,
|
|
1108
|
+
export function envelopeFieldCreateManyFieldMetaTextToJSON(
|
|
1109
|
+
envelopeFieldCreateManyFieldMetaText: EnvelopeFieldCreateManyFieldMetaText,
|
|
3366
1110
|
): string {
|
|
3367
1111
|
return JSON.stringify(
|
|
3368
|
-
|
|
3369
|
-
|
|
1112
|
+
EnvelopeFieldCreateManyFieldMetaText$outboundSchema.parse(
|
|
1113
|
+
envelopeFieldCreateManyFieldMetaText,
|
|
3370
1114
|
),
|
|
3371
1115
|
);
|
|
3372
1116
|
}
|
|
3373
|
-
export function
|
|
1117
|
+
export function envelopeFieldCreateManyFieldMetaTextFromJSON(
|
|
3374
1118
|
jsonString: string,
|
|
3375
|
-
): SafeParseResult<
|
|
3376
|
-
EnvelopeFieldCreateManyFieldMetaTextResponse,
|
|
3377
|
-
SDKValidationError
|
|
3378
|
-
> {
|
|
1119
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaText, SDKValidationError> {
|
|
3379
1120
|
return safeParse(
|
|
3380
1121
|
jsonString,
|
|
3381
1122
|
(x) =>
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
),
|
|
3385
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaTextResponse' from JSON`,
|
|
1123
|
+
EnvelopeFieldCreateManyFieldMetaText$inboundSchema.parse(JSON.parse(x)),
|
|
1124
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaText' from JSON`,
|
|
3386
1125
|
);
|
|
3387
1126
|
}
|
|
3388
1127
|
|
|
3389
1128
|
/** @internal */
|
|
3390
|
-
export const
|
|
3391
|
-
|
|
3392
|
-
|
|
1129
|
+
export const EnvelopeFieldCreateManyTextAlign4$inboundSchema: z.ZodNativeEnum<
|
|
1130
|
+
typeof EnvelopeFieldCreateManyTextAlign4
|
|
1131
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign4);
|
|
3393
1132
|
/** @internal */
|
|
3394
|
-
export const
|
|
3395
|
-
|
|
3396
|
-
|
|
1133
|
+
export const EnvelopeFieldCreateManyTextAlign4$outboundSchema: z.ZodNativeEnum<
|
|
1134
|
+
typeof EnvelopeFieldCreateManyTextAlign4
|
|
1135
|
+
> = EnvelopeFieldCreateManyTextAlign4$inboundSchema;
|
|
3397
1136
|
|
|
3398
1137
|
/** @internal */
|
|
3399
|
-
export const
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
.optional(),
|
|
3413
|
-
});
|
|
1138
|
+
export const EnvelopeFieldCreateManyFieldMetaDate$inboundSchema: z.ZodType<
|
|
1139
|
+
EnvelopeFieldCreateManyFieldMetaDate,
|
|
1140
|
+
z.ZodTypeDef,
|
|
1141
|
+
unknown
|
|
1142
|
+
> = z.object({
|
|
1143
|
+
label: z.string().optional(),
|
|
1144
|
+
placeholder: z.string().optional(),
|
|
1145
|
+
required: z.boolean().optional(),
|
|
1146
|
+
readOnly: z.boolean().optional(),
|
|
1147
|
+
fontSize: z.number().default(12),
|
|
1148
|
+
type: z.literal("date"),
|
|
1149
|
+
textAlign: EnvelopeFieldCreateManyTextAlign4$inboundSchema.optional(),
|
|
1150
|
+
});
|
|
3414
1151
|
/** @internal */
|
|
3415
|
-
export type
|
|
1152
|
+
export type EnvelopeFieldCreateManyFieldMetaDate$Outbound = {
|
|
3416
1153
|
label?: string | undefined;
|
|
3417
1154
|
placeholder?: string | undefined;
|
|
3418
1155
|
required?: boolean | undefined;
|
|
@@ -3423,75 +1160,65 @@ export type EnvelopeFieldCreateManyFieldMetaDateResponse$Outbound = {
|
|
|
3423
1160
|
};
|
|
3424
1161
|
|
|
3425
1162
|
/** @internal */
|
|
3426
|
-
export const
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
.optional(),
|
|
3440
|
-
});
|
|
1163
|
+
export const EnvelopeFieldCreateManyFieldMetaDate$outboundSchema: z.ZodType<
|
|
1164
|
+
EnvelopeFieldCreateManyFieldMetaDate$Outbound,
|
|
1165
|
+
z.ZodTypeDef,
|
|
1166
|
+
EnvelopeFieldCreateManyFieldMetaDate
|
|
1167
|
+
> = z.object({
|
|
1168
|
+
label: z.string().optional(),
|
|
1169
|
+
placeholder: z.string().optional(),
|
|
1170
|
+
required: z.boolean().optional(),
|
|
1171
|
+
readOnly: z.boolean().optional(),
|
|
1172
|
+
fontSize: z.number().default(12),
|
|
1173
|
+
type: z.literal("date"),
|
|
1174
|
+
textAlign: EnvelopeFieldCreateManyTextAlign4$outboundSchema.optional(),
|
|
1175
|
+
});
|
|
3441
1176
|
|
|
3442
|
-
export function
|
|
3443
|
-
|
|
3444
|
-
EnvelopeFieldCreateManyFieldMetaDateResponse,
|
|
1177
|
+
export function envelopeFieldCreateManyFieldMetaDateToJSON(
|
|
1178
|
+
envelopeFieldCreateManyFieldMetaDate: EnvelopeFieldCreateManyFieldMetaDate,
|
|
3445
1179
|
): string {
|
|
3446
1180
|
return JSON.stringify(
|
|
3447
|
-
|
|
3448
|
-
|
|
1181
|
+
EnvelopeFieldCreateManyFieldMetaDate$outboundSchema.parse(
|
|
1182
|
+
envelopeFieldCreateManyFieldMetaDate,
|
|
3449
1183
|
),
|
|
3450
1184
|
);
|
|
3451
1185
|
}
|
|
3452
|
-
export function
|
|
1186
|
+
export function envelopeFieldCreateManyFieldMetaDateFromJSON(
|
|
3453
1187
|
jsonString: string,
|
|
3454
|
-
): SafeParseResult<
|
|
3455
|
-
EnvelopeFieldCreateManyFieldMetaDateResponse,
|
|
3456
|
-
SDKValidationError
|
|
3457
|
-
> {
|
|
1188
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaDate, SDKValidationError> {
|
|
3458
1189
|
return safeParse(
|
|
3459
1190
|
jsonString,
|
|
3460
1191
|
(x) =>
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
),
|
|
3464
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaDateResponse' from JSON`,
|
|
1192
|
+
EnvelopeFieldCreateManyFieldMetaDate$inboundSchema.parse(JSON.parse(x)),
|
|
1193
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaDate' from JSON`,
|
|
3465
1194
|
);
|
|
3466
1195
|
}
|
|
3467
1196
|
|
|
3468
1197
|
/** @internal */
|
|
3469
|
-
export const
|
|
3470
|
-
|
|
3471
|
-
|
|
1198
|
+
export const EnvelopeFieldCreateManyTextAlign3$inboundSchema: z.ZodNativeEnum<
|
|
1199
|
+
typeof EnvelopeFieldCreateManyTextAlign3
|
|
1200
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign3);
|
|
3472
1201
|
/** @internal */
|
|
3473
|
-
export const
|
|
3474
|
-
|
|
3475
|
-
|
|
1202
|
+
export const EnvelopeFieldCreateManyTextAlign3$outboundSchema: z.ZodNativeEnum<
|
|
1203
|
+
typeof EnvelopeFieldCreateManyTextAlign3
|
|
1204
|
+
> = EnvelopeFieldCreateManyTextAlign3$inboundSchema;
|
|
3476
1205
|
|
|
3477
1206
|
/** @internal */
|
|
3478
|
-
export const
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
.optional(),
|
|
3492
|
-
});
|
|
1207
|
+
export const EnvelopeFieldCreateManyFieldMetaEmail$inboundSchema: z.ZodType<
|
|
1208
|
+
EnvelopeFieldCreateManyFieldMetaEmail,
|
|
1209
|
+
z.ZodTypeDef,
|
|
1210
|
+
unknown
|
|
1211
|
+
> = z.object({
|
|
1212
|
+
label: z.string().optional(),
|
|
1213
|
+
placeholder: z.string().optional(),
|
|
1214
|
+
required: z.boolean().optional(),
|
|
1215
|
+
readOnly: z.boolean().optional(),
|
|
1216
|
+
fontSize: z.number().default(12),
|
|
1217
|
+
type: z.literal("email"),
|
|
1218
|
+
textAlign: EnvelopeFieldCreateManyTextAlign3$inboundSchema.optional(),
|
|
1219
|
+
});
|
|
3493
1220
|
/** @internal */
|
|
3494
|
-
export type
|
|
1221
|
+
export type EnvelopeFieldCreateManyFieldMetaEmail$Outbound = {
|
|
3495
1222
|
label?: string | undefined;
|
|
3496
1223
|
placeholder?: string | undefined;
|
|
3497
1224
|
required?: boolean | undefined;
|
|
@@ -3502,75 +1229,65 @@ export type EnvelopeFieldCreateManyFieldMetaEmailResponse$Outbound = {
|
|
|
3502
1229
|
};
|
|
3503
1230
|
|
|
3504
1231
|
/** @internal */
|
|
3505
|
-
export const
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
.optional(),
|
|
3519
|
-
});
|
|
1232
|
+
export const EnvelopeFieldCreateManyFieldMetaEmail$outboundSchema: z.ZodType<
|
|
1233
|
+
EnvelopeFieldCreateManyFieldMetaEmail$Outbound,
|
|
1234
|
+
z.ZodTypeDef,
|
|
1235
|
+
EnvelopeFieldCreateManyFieldMetaEmail
|
|
1236
|
+
> = z.object({
|
|
1237
|
+
label: z.string().optional(),
|
|
1238
|
+
placeholder: z.string().optional(),
|
|
1239
|
+
required: z.boolean().optional(),
|
|
1240
|
+
readOnly: z.boolean().optional(),
|
|
1241
|
+
fontSize: z.number().default(12),
|
|
1242
|
+
type: z.literal("email"),
|
|
1243
|
+
textAlign: EnvelopeFieldCreateManyTextAlign3$outboundSchema.optional(),
|
|
1244
|
+
});
|
|
3520
1245
|
|
|
3521
|
-
export function
|
|
3522
|
-
|
|
3523
|
-
EnvelopeFieldCreateManyFieldMetaEmailResponse,
|
|
1246
|
+
export function envelopeFieldCreateManyFieldMetaEmailToJSON(
|
|
1247
|
+
envelopeFieldCreateManyFieldMetaEmail: EnvelopeFieldCreateManyFieldMetaEmail,
|
|
3524
1248
|
): string {
|
|
3525
1249
|
return JSON.stringify(
|
|
3526
|
-
|
|
3527
|
-
|
|
1250
|
+
EnvelopeFieldCreateManyFieldMetaEmail$outboundSchema.parse(
|
|
1251
|
+
envelopeFieldCreateManyFieldMetaEmail,
|
|
3528
1252
|
),
|
|
3529
1253
|
);
|
|
3530
1254
|
}
|
|
3531
|
-
export function
|
|
1255
|
+
export function envelopeFieldCreateManyFieldMetaEmailFromJSON(
|
|
3532
1256
|
jsonString: string,
|
|
3533
|
-
): SafeParseResult<
|
|
3534
|
-
EnvelopeFieldCreateManyFieldMetaEmailResponse,
|
|
3535
|
-
SDKValidationError
|
|
3536
|
-
> {
|
|
1257
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaEmail, SDKValidationError> {
|
|
3537
1258
|
return safeParse(
|
|
3538
1259
|
jsonString,
|
|
3539
1260
|
(x) =>
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
),
|
|
3543
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaEmailResponse' from JSON`,
|
|
1261
|
+
EnvelopeFieldCreateManyFieldMetaEmail$inboundSchema.parse(JSON.parse(x)),
|
|
1262
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaEmail' from JSON`,
|
|
3544
1263
|
);
|
|
3545
1264
|
}
|
|
3546
1265
|
|
|
3547
1266
|
/** @internal */
|
|
3548
|
-
export const
|
|
3549
|
-
|
|
3550
|
-
|
|
1267
|
+
export const EnvelopeFieldCreateManyTextAlign2$inboundSchema: z.ZodNativeEnum<
|
|
1268
|
+
typeof EnvelopeFieldCreateManyTextAlign2
|
|
1269
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign2);
|
|
3551
1270
|
/** @internal */
|
|
3552
|
-
export const
|
|
3553
|
-
|
|
3554
|
-
|
|
1271
|
+
export const EnvelopeFieldCreateManyTextAlign2$outboundSchema: z.ZodNativeEnum<
|
|
1272
|
+
typeof EnvelopeFieldCreateManyTextAlign2
|
|
1273
|
+
> = EnvelopeFieldCreateManyTextAlign2$inboundSchema;
|
|
3555
1274
|
|
|
3556
1275
|
/** @internal */
|
|
3557
|
-
export const
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
.optional(),
|
|
3571
|
-
});
|
|
1276
|
+
export const EnvelopeFieldCreateManyFieldMetaName$inboundSchema: z.ZodType<
|
|
1277
|
+
EnvelopeFieldCreateManyFieldMetaName,
|
|
1278
|
+
z.ZodTypeDef,
|
|
1279
|
+
unknown
|
|
1280
|
+
> = z.object({
|
|
1281
|
+
label: z.string().optional(),
|
|
1282
|
+
placeholder: z.string().optional(),
|
|
1283
|
+
required: z.boolean().optional(),
|
|
1284
|
+
readOnly: z.boolean().optional(),
|
|
1285
|
+
fontSize: z.number().default(12),
|
|
1286
|
+
type: z.literal("name"),
|
|
1287
|
+
textAlign: EnvelopeFieldCreateManyTextAlign2$inboundSchema.optional(),
|
|
1288
|
+
});
|
|
3572
1289
|
/** @internal */
|
|
3573
|
-
export type
|
|
1290
|
+
export type EnvelopeFieldCreateManyFieldMetaName$Outbound = {
|
|
3574
1291
|
label?: string | undefined;
|
|
3575
1292
|
placeholder?: string | undefined;
|
|
3576
1293
|
required?: boolean | undefined;
|
|
@@ -3581,75 +1298,65 @@ export type EnvelopeFieldCreateManyFieldMetaNameResponse$Outbound = {
|
|
|
3581
1298
|
};
|
|
3582
1299
|
|
|
3583
1300
|
/** @internal */
|
|
3584
|
-
export const
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
.optional(),
|
|
3598
|
-
});
|
|
1301
|
+
export const EnvelopeFieldCreateManyFieldMetaName$outboundSchema: z.ZodType<
|
|
1302
|
+
EnvelopeFieldCreateManyFieldMetaName$Outbound,
|
|
1303
|
+
z.ZodTypeDef,
|
|
1304
|
+
EnvelopeFieldCreateManyFieldMetaName
|
|
1305
|
+
> = z.object({
|
|
1306
|
+
label: z.string().optional(),
|
|
1307
|
+
placeholder: z.string().optional(),
|
|
1308
|
+
required: z.boolean().optional(),
|
|
1309
|
+
readOnly: z.boolean().optional(),
|
|
1310
|
+
fontSize: z.number().default(12),
|
|
1311
|
+
type: z.literal("name"),
|
|
1312
|
+
textAlign: EnvelopeFieldCreateManyTextAlign2$outboundSchema.optional(),
|
|
1313
|
+
});
|
|
3599
1314
|
|
|
3600
|
-
export function
|
|
3601
|
-
|
|
3602
|
-
EnvelopeFieldCreateManyFieldMetaNameResponse,
|
|
1315
|
+
export function envelopeFieldCreateManyFieldMetaNameToJSON(
|
|
1316
|
+
envelopeFieldCreateManyFieldMetaName: EnvelopeFieldCreateManyFieldMetaName,
|
|
3603
1317
|
): string {
|
|
3604
1318
|
return JSON.stringify(
|
|
3605
|
-
|
|
3606
|
-
|
|
1319
|
+
EnvelopeFieldCreateManyFieldMetaName$outboundSchema.parse(
|
|
1320
|
+
envelopeFieldCreateManyFieldMetaName,
|
|
3607
1321
|
),
|
|
3608
1322
|
);
|
|
3609
1323
|
}
|
|
3610
|
-
export function
|
|
1324
|
+
export function envelopeFieldCreateManyFieldMetaNameFromJSON(
|
|
3611
1325
|
jsonString: string,
|
|
3612
|
-
): SafeParseResult<
|
|
3613
|
-
EnvelopeFieldCreateManyFieldMetaNameResponse,
|
|
3614
|
-
SDKValidationError
|
|
3615
|
-
> {
|
|
1326
|
+
): SafeParseResult<EnvelopeFieldCreateManyFieldMetaName, SDKValidationError> {
|
|
3616
1327
|
return safeParse(
|
|
3617
1328
|
jsonString,
|
|
3618
1329
|
(x) =>
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
),
|
|
3622
|
-
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaNameResponse' from JSON`,
|
|
1330
|
+
EnvelopeFieldCreateManyFieldMetaName$inboundSchema.parse(JSON.parse(x)),
|
|
1331
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaName' from JSON`,
|
|
3623
1332
|
);
|
|
3624
1333
|
}
|
|
3625
1334
|
|
|
3626
1335
|
/** @internal */
|
|
3627
|
-
export const
|
|
3628
|
-
|
|
3629
|
-
|
|
1336
|
+
export const EnvelopeFieldCreateManyTextAlign1$inboundSchema: z.ZodNativeEnum<
|
|
1337
|
+
typeof EnvelopeFieldCreateManyTextAlign1
|
|
1338
|
+
> = z.nativeEnum(EnvelopeFieldCreateManyTextAlign1);
|
|
3630
1339
|
/** @internal */
|
|
3631
|
-
export const
|
|
3632
|
-
|
|
3633
|
-
|
|
1340
|
+
export const EnvelopeFieldCreateManyTextAlign1$outboundSchema: z.ZodNativeEnum<
|
|
1341
|
+
typeof EnvelopeFieldCreateManyTextAlign1
|
|
1342
|
+
> = EnvelopeFieldCreateManyTextAlign1$inboundSchema;
|
|
3634
1343
|
|
|
3635
1344
|
/** @internal */
|
|
3636
|
-
export const
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
.optional(),
|
|
3650
|
-
});
|
|
1345
|
+
export const EnvelopeFieldCreateManyFieldMetaInitials$inboundSchema: z.ZodType<
|
|
1346
|
+
EnvelopeFieldCreateManyFieldMetaInitials,
|
|
1347
|
+
z.ZodTypeDef,
|
|
1348
|
+
unknown
|
|
1349
|
+
> = z.object({
|
|
1350
|
+
label: z.string().optional(),
|
|
1351
|
+
placeholder: z.string().optional(),
|
|
1352
|
+
required: z.boolean().optional(),
|
|
1353
|
+
readOnly: z.boolean().optional(),
|
|
1354
|
+
fontSize: z.number().default(12),
|
|
1355
|
+
type: z.literal("initials"),
|
|
1356
|
+
textAlign: EnvelopeFieldCreateManyTextAlign1$inboundSchema.optional(),
|
|
1357
|
+
});
|
|
3651
1358
|
/** @internal */
|
|
3652
|
-
export type
|
|
1359
|
+
export type EnvelopeFieldCreateManyFieldMetaInitials$Outbound = {
|
|
3653
1360
|
label?: string | undefined;
|
|
3654
1361
|
placeholder?: string | undefined;
|
|
3655
1362
|
required?: boolean | undefined;
|
|
@@ -3660,64 +1367,61 @@ export type EnvelopeFieldCreateManyFieldMetaInitialsResponse$Outbound = {
|
|
|
3660
1367
|
};
|
|
3661
1368
|
|
|
3662
1369
|
/** @internal */
|
|
3663
|
-
export const
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
.optional(),
|
|
3677
|
-
});
|
|
1370
|
+
export const EnvelopeFieldCreateManyFieldMetaInitials$outboundSchema: z.ZodType<
|
|
1371
|
+
EnvelopeFieldCreateManyFieldMetaInitials$Outbound,
|
|
1372
|
+
z.ZodTypeDef,
|
|
1373
|
+
EnvelopeFieldCreateManyFieldMetaInitials
|
|
1374
|
+
> = z.object({
|
|
1375
|
+
label: z.string().optional(),
|
|
1376
|
+
placeholder: z.string().optional(),
|
|
1377
|
+
required: z.boolean().optional(),
|
|
1378
|
+
readOnly: z.boolean().optional(),
|
|
1379
|
+
fontSize: z.number().default(12),
|
|
1380
|
+
type: z.literal("initials"),
|
|
1381
|
+
textAlign: EnvelopeFieldCreateManyTextAlign1$outboundSchema.optional(),
|
|
1382
|
+
});
|
|
3678
1383
|
|
|
3679
|
-
export function
|
|
3680
|
-
|
|
3681
|
-
|
|
1384
|
+
export function envelopeFieldCreateManyFieldMetaInitialsToJSON(
|
|
1385
|
+
envelopeFieldCreateManyFieldMetaInitials:
|
|
1386
|
+
EnvelopeFieldCreateManyFieldMetaInitials,
|
|
3682
1387
|
): string {
|
|
3683
1388
|
return JSON.stringify(
|
|
3684
|
-
|
|
3685
|
-
|
|
1389
|
+
EnvelopeFieldCreateManyFieldMetaInitials$outboundSchema.parse(
|
|
1390
|
+
envelopeFieldCreateManyFieldMetaInitials,
|
|
3686
1391
|
),
|
|
3687
1392
|
);
|
|
3688
1393
|
}
|
|
3689
|
-
export function
|
|
1394
|
+
export function envelopeFieldCreateManyFieldMetaInitialsFromJSON(
|
|
3690
1395
|
jsonString: string,
|
|
3691
1396
|
): SafeParseResult<
|
|
3692
|
-
|
|
1397
|
+
EnvelopeFieldCreateManyFieldMetaInitials,
|
|
3693
1398
|
SDKValidationError
|
|
3694
1399
|
> {
|
|
3695
1400
|
return safeParse(
|
|
3696
1401
|
jsonString,
|
|
3697
1402
|
(x) =>
|
|
3698
|
-
|
|
1403
|
+
EnvelopeFieldCreateManyFieldMetaInitials$inboundSchema.parse(
|
|
3699
1404
|
JSON.parse(x),
|
|
3700
1405
|
),
|
|
3701
|
-
`Failed to parse '
|
|
1406
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaInitials' from JSON`,
|
|
3702
1407
|
);
|
|
3703
1408
|
}
|
|
3704
1409
|
|
|
3705
1410
|
/** @internal */
|
|
3706
|
-
export const
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
});
|
|
1411
|
+
export const EnvelopeFieldCreateManyFieldMetaSignature$inboundSchema: z.ZodType<
|
|
1412
|
+
EnvelopeFieldCreateManyFieldMetaSignature,
|
|
1413
|
+
z.ZodTypeDef,
|
|
1414
|
+
unknown
|
|
1415
|
+
> = z.object({
|
|
1416
|
+
label: z.string().optional(),
|
|
1417
|
+
placeholder: z.string().optional(),
|
|
1418
|
+
required: z.boolean().optional(),
|
|
1419
|
+
readOnly: z.boolean().optional(),
|
|
1420
|
+
fontSize: z.number().default(12),
|
|
1421
|
+
type: z.literal("signature"),
|
|
1422
|
+
});
|
|
3719
1423
|
/** @internal */
|
|
3720
|
-
export type
|
|
1424
|
+
export type EnvelopeFieldCreateManyFieldMetaSignature$Outbound = {
|
|
3721
1425
|
label?: string | undefined;
|
|
3722
1426
|
placeholder?: string | undefined;
|
|
3723
1427
|
required?: boolean | undefined;
|
|
@@ -3727,11 +1431,11 @@ export type EnvelopeFieldCreateManyFieldMetaSignatureResponse$Outbound = {
|
|
|
3727
1431
|
};
|
|
3728
1432
|
|
|
3729
1433
|
/** @internal */
|
|
3730
|
-
export const
|
|
1434
|
+
export const EnvelopeFieldCreateManyFieldMetaSignature$outboundSchema:
|
|
3731
1435
|
z.ZodType<
|
|
3732
|
-
|
|
1436
|
+
EnvelopeFieldCreateManyFieldMetaSignature$Outbound,
|
|
3733
1437
|
z.ZodTypeDef,
|
|
3734
|
-
|
|
1438
|
+
EnvelopeFieldCreateManyFieldMetaSignature
|
|
3735
1439
|
> = z.object({
|
|
3736
1440
|
label: z.string().optional(),
|
|
3737
1441
|
placeholder: z.string().optional(),
|
|
@@ -3741,29 +1445,29 @@ export const EnvelopeFieldCreateManyFieldMetaSignatureResponse$outboundSchema:
|
|
|
3741
1445
|
type: z.literal("signature"),
|
|
3742
1446
|
});
|
|
3743
1447
|
|
|
3744
|
-
export function
|
|
3745
|
-
|
|
3746
|
-
|
|
1448
|
+
export function envelopeFieldCreateManyFieldMetaSignatureToJSON(
|
|
1449
|
+
envelopeFieldCreateManyFieldMetaSignature:
|
|
1450
|
+
EnvelopeFieldCreateManyFieldMetaSignature,
|
|
3747
1451
|
): string {
|
|
3748
1452
|
return JSON.stringify(
|
|
3749
|
-
|
|
3750
|
-
|
|
1453
|
+
EnvelopeFieldCreateManyFieldMetaSignature$outboundSchema.parse(
|
|
1454
|
+
envelopeFieldCreateManyFieldMetaSignature,
|
|
3751
1455
|
),
|
|
3752
1456
|
);
|
|
3753
1457
|
}
|
|
3754
|
-
export function
|
|
1458
|
+
export function envelopeFieldCreateManyFieldMetaSignatureFromJSON(
|
|
3755
1459
|
jsonString: string,
|
|
3756
1460
|
): SafeParseResult<
|
|
3757
|
-
|
|
1461
|
+
EnvelopeFieldCreateManyFieldMetaSignature,
|
|
3758
1462
|
SDKValidationError
|
|
3759
1463
|
> {
|
|
3760
1464
|
return safeParse(
|
|
3761
1465
|
jsonString,
|
|
3762
1466
|
(x) =>
|
|
3763
|
-
|
|
1467
|
+
EnvelopeFieldCreateManyFieldMetaSignature$inboundSchema.parse(
|
|
3764
1468
|
JSON.parse(x),
|
|
3765
1469
|
),
|
|
3766
|
-
`Failed to parse '
|
|
1470
|
+
`Failed to parse 'EnvelopeFieldCreateManyFieldMetaSignature' from JSON`,
|
|
3767
1471
|
);
|
|
3768
1472
|
}
|
|
3769
1473
|
|
|
@@ -3773,29 +1477,29 @@ export const EnvelopeFieldCreateManyFieldMetaUnion$inboundSchema: z.ZodType<
|
|
|
3773
1477
|
z.ZodTypeDef,
|
|
3774
1478
|
unknown
|
|
3775
1479
|
> = z.union([
|
|
3776
|
-
z.lazy(() =>
|
|
3777
|
-
z.lazy(() =>
|
|
3778
|
-
z.lazy(() =>
|
|
3779
|
-
z.lazy(() =>
|
|
3780
|
-
z.lazy(() =>
|
|
3781
|
-
z.lazy(() =>
|
|
3782
|
-
z.lazy(() =>
|
|
3783
|
-
z.lazy(() =>
|
|
3784
|
-
z.lazy(() =>
|
|
3785
|
-
z.lazy(() =>
|
|
1480
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaSignature$inboundSchema),
|
|
1481
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaInitials$inboundSchema),
|
|
1482
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaName$inboundSchema),
|
|
1483
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaEmail$inboundSchema),
|
|
1484
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDate$inboundSchema),
|
|
1485
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaText$inboundSchema),
|
|
1486
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaNumber$inboundSchema),
|
|
1487
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaRadio$inboundSchema),
|
|
1488
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaCheckbox$inboundSchema),
|
|
1489
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDropdown$inboundSchema),
|
|
3786
1490
|
]);
|
|
3787
1491
|
/** @internal */
|
|
3788
1492
|
export type EnvelopeFieldCreateManyFieldMetaUnion$Outbound =
|
|
3789
|
-
|
|
|
3790
|
-
|
|
|
3791
|
-
|
|
|
3792
|
-
|
|
|
3793
|
-
|
|
|
3794
|
-
|
|
|
3795
|
-
|
|
|
3796
|
-
|
|
|
3797
|
-
|
|
|
3798
|
-
|
|
|
1493
|
+
| EnvelopeFieldCreateManyFieldMetaSignature$Outbound
|
|
1494
|
+
| EnvelopeFieldCreateManyFieldMetaInitials$Outbound
|
|
1495
|
+
| EnvelopeFieldCreateManyFieldMetaName$Outbound
|
|
1496
|
+
| EnvelopeFieldCreateManyFieldMetaEmail$Outbound
|
|
1497
|
+
| EnvelopeFieldCreateManyFieldMetaDate$Outbound
|
|
1498
|
+
| EnvelopeFieldCreateManyFieldMetaText$Outbound
|
|
1499
|
+
| EnvelopeFieldCreateManyFieldMetaNumber$Outbound
|
|
1500
|
+
| EnvelopeFieldCreateManyFieldMetaRadio$Outbound
|
|
1501
|
+
| EnvelopeFieldCreateManyFieldMetaCheckbox$Outbound
|
|
1502
|
+
| EnvelopeFieldCreateManyFieldMetaDropdown$Outbound;
|
|
3799
1503
|
|
|
3800
1504
|
/** @internal */
|
|
3801
1505
|
export const EnvelopeFieldCreateManyFieldMetaUnion$outboundSchema: z.ZodType<
|
|
@@ -3803,18 +1507,16 @@ export const EnvelopeFieldCreateManyFieldMetaUnion$outboundSchema: z.ZodType<
|
|
|
3803
1507
|
z.ZodTypeDef,
|
|
3804
1508
|
EnvelopeFieldCreateManyFieldMetaUnion
|
|
3805
1509
|
> = z.union([
|
|
3806
|
-
z.lazy(() =>
|
|
3807
|
-
|
|
3808
|
-
),
|
|
3809
|
-
z.lazy(() =>
|
|
3810
|
-
z.lazy(() =>
|
|
3811
|
-
z.lazy(() =>
|
|
3812
|
-
z.lazy(() =>
|
|
3813
|
-
z.lazy(() =>
|
|
3814
|
-
z.lazy(() =>
|
|
3815
|
-
z.lazy(() =>
|
|
3816
|
-
z.lazy(() => EnvelopeFieldCreateManyFieldMetaCheckboxResponse$outboundSchema),
|
|
3817
|
-
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDropdownResponse$outboundSchema),
|
|
1510
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaSignature$outboundSchema),
|
|
1511
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaInitials$outboundSchema),
|
|
1512
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaName$outboundSchema),
|
|
1513
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaEmail$outboundSchema),
|
|
1514
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDate$outboundSchema),
|
|
1515
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaText$outboundSchema),
|
|
1516
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaNumber$outboundSchema),
|
|
1517
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaRadio$outboundSchema),
|
|
1518
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaCheckbox$outboundSchema),
|
|
1519
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDropdown$outboundSchema),
|
|
3818
1520
|
]);
|
|
3819
1521
|
|
|
3820
1522
|
export function envelopeFieldCreateManyFieldMetaUnionToJSON(
|
|
@@ -3845,7 +1547,7 @@ export const EnvelopeFieldCreateManyDataResponse$inboundSchema: z.ZodType<
|
|
|
3845
1547
|
> = z.object({
|
|
3846
1548
|
envelopeId: z.string(),
|
|
3847
1549
|
envelopeItemId: z.string(),
|
|
3848
|
-
type:
|
|
1550
|
+
type: EnvelopeFieldCreateManyTypeEnum$inboundSchema,
|
|
3849
1551
|
id: z.number(),
|
|
3850
1552
|
secondaryId: z.string(),
|
|
3851
1553
|
recipientId: z.number(),
|
|
@@ -3858,26 +1560,16 @@ export const EnvelopeFieldCreateManyDataResponse$inboundSchema: z.ZodType<
|
|
|
3858
1560
|
inserted: z.boolean(),
|
|
3859
1561
|
fieldMeta: z.nullable(
|
|
3860
1562
|
z.union([
|
|
3861
|
-
z.lazy(() =>
|
|
3862
|
-
|
|
3863
|
-
),
|
|
3864
|
-
z.lazy(() =>
|
|
3865
|
-
|
|
3866
|
-
),
|
|
3867
|
-
z.lazy(() =>
|
|
3868
|
-
z.lazy(() =>
|
|
3869
|
-
z.lazy(() =>
|
|
3870
|
-
z.lazy(() =>
|
|
3871
|
-
z.lazy(() =>
|
|
3872
|
-
EnvelopeFieldCreateManyFieldMetaNumberResponse$inboundSchema
|
|
3873
|
-
),
|
|
3874
|
-
z.lazy(() => EnvelopeFieldCreateManyFieldMetaRadioResponse$inboundSchema),
|
|
3875
|
-
z.lazy(() =>
|
|
3876
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxResponse$inboundSchema
|
|
3877
|
-
),
|
|
3878
|
-
z.lazy(() =>
|
|
3879
|
-
EnvelopeFieldCreateManyFieldMetaDropdownResponse$inboundSchema
|
|
3880
|
-
),
|
|
1563
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaSignature$inboundSchema),
|
|
1564
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaInitials$inboundSchema),
|
|
1565
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaName$inboundSchema),
|
|
1566
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaEmail$inboundSchema),
|
|
1567
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDate$inboundSchema),
|
|
1568
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaText$inboundSchema),
|
|
1569
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaNumber$inboundSchema),
|
|
1570
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaRadio$inboundSchema),
|
|
1571
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaCheckbox$inboundSchema),
|
|
1572
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDropdown$inboundSchema),
|
|
3881
1573
|
]),
|
|
3882
1574
|
),
|
|
3883
1575
|
documentId: z.nullable(z.number()).optional(),
|
|
@@ -3899,16 +1591,16 @@ export type EnvelopeFieldCreateManyDataResponse$Outbound = {
|
|
|
3899
1591
|
customText: string;
|
|
3900
1592
|
inserted: boolean;
|
|
3901
1593
|
fieldMeta:
|
|
3902
|
-
|
|
|
3903
|
-
|
|
|
3904
|
-
|
|
|
3905
|
-
|
|
|
3906
|
-
|
|
|
3907
|
-
|
|
|
3908
|
-
|
|
|
3909
|
-
|
|
|
3910
|
-
|
|
|
3911
|
-
|
|
|
1594
|
+
| EnvelopeFieldCreateManyFieldMetaSignature$Outbound
|
|
1595
|
+
| EnvelopeFieldCreateManyFieldMetaInitials$Outbound
|
|
1596
|
+
| EnvelopeFieldCreateManyFieldMetaName$Outbound
|
|
1597
|
+
| EnvelopeFieldCreateManyFieldMetaEmail$Outbound
|
|
1598
|
+
| EnvelopeFieldCreateManyFieldMetaDate$Outbound
|
|
1599
|
+
| EnvelopeFieldCreateManyFieldMetaText$Outbound
|
|
1600
|
+
| EnvelopeFieldCreateManyFieldMetaNumber$Outbound
|
|
1601
|
+
| EnvelopeFieldCreateManyFieldMetaRadio$Outbound
|
|
1602
|
+
| EnvelopeFieldCreateManyFieldMetaCheckbox$Outbound
|
|
1603
|
+
| EnvelopeFieldCreateManyFieldMetaDropdown$Outbound
|
|
3912
1604
|
| null;
|
|
3913
1605
|
documentId?: number | null | undefined;
|
|
3914
1606
|
templateId?: number | null | undefined;
|
|
@@ -3922,7 +1614,7 @@ export const EnvelopeFieldCreateManyDataResponse$outboundSchema: z.ZodType<
|
|
|
3922
1614
|
> = z.object({
|
|
3923
1615
|
envelopeId: z.string(),
|
|
3924
1616
|
envelopeItemId: z.string(),
|
|
3925
|
-
type:
|
|
1617
|
+
type: EnvelopeFieldCreateManyTypeEnum$outboundSchema,
|
|
3926
1618
|
id: z.number(),
|
|
3927
1619
|
secondaryId: z.string(),
|
|
3928
1620
|
recipientId: z.number(),
|
|
@@ -3935,30 +1627,16 @@ export const EnvelopeFieldCreateManyDataResponse$outboundSchema: z.ZodType<
|
|
|
3935
1627
|
inserted: z.boolean(),
|
|
3936
1628
|
fieldMeta: z.nullable(
|
|
3937
1629
|
z.union([
|
|
3938
|
-
z.lazy(() =>
|
|
3939
|
-
|
|
3940
|
-
),
|
|
3941
|
-
z.lazy(() =>
|
|
3942
|
-
|
|
3943
|
-
),
|
|
3944
|
-
z.lazy(() =>
|
|
3945
|
-
z.lazy(() =>
|
|
3946
|
-
|
|
3947
|
-
),
|
|
3948
|
-
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDateResponse$outboundSchema),
|
|
3949
|
-
z.lazy(() => EnvelopeFieldCreateManyFieldMetaTextResponse$outboundSchema),
|
|
3950
|
-
z.lazy(() =>
|
|
3951
|
-
EnvelopeFieldCreateManyFieldMetaNumberResponse$outboundSchema
|
|
3952
|
-
),
|
|
3953
|
-
z.lazy(() =>
|
|
3954
|
-
EnvelopeFieldCreateManyFieldMetaRadioResponse$outboundSchema
|
|
3955
|
-
),
|
|
3956
|
-
z.lazy(() =>
|
|
3957
|
-
EnvelopeFieldCreateManyFieldMetaCheckboxResponse$outboundSchema
|
|
3958
|
-
),
|
|
3959
|
-
z.lazy(() =>
|
|
3960
|
-
EnvelopeFieldCreateManyFieldMetaDropdownResponse$outboundSchema
|
|
3961
|
-
),
|
|
1630
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaSignature$outboundSchema),
|
|
1631
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaInitials$outboundSchema),
|
|
1632
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaName$outboundSchema),
|
|
1633
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaEmail$outboundSchema),
|
|
1634
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDate$outboundSchema),
|
|
1635
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaText$outboundSchema),
|
|
1636
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaNumber$outboundSchema),
|
|
1637
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaRadio$outboundSchema),
|
|
1638
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaCheckbox$outboundSchema),
|
|
1639
|
+
z.lazy(() => EnvelopeFieldCreateManyFieldMetaDropdown$outboundSchema),
|
|
3962
1640
|
]),
|
|
3963
1641
|
),
|
|
3964
1642
|
documentId: z.nullable(z.number()).optional(),
|