@formalingo/sdk 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +5 -5
  2. package/dist/client/api/v1/documents/index.d.ts +1 -1
  3. package/dist/client/api/v1/documents/index.js +1 -1
  4. package/dist/client/api/v1/documents/index.js.map +1 -1
  5. package/dist/client/api/v1/documents/item/index.d.ts +1 -1
  6. package/dist/client/api/v1/documents/item/index.js +1 -1
  7. package/dist/client/api/v1/documents/item/index.js.map +1 -1
  8. package/dist/client/api/v1/documents/item/submissions/index.d.ts +2 -2
  9. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +5 -0
  10. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -1
  11. package/dist/client/api/v1/documents/item/submissions/item/index.js +5 -0
  12. package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -1
  13. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +91 -0
  14. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -0
  15. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +100 -0
  16. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -0
  17. package/dist/client/api/v1/documents/item/submissions/item/signers/index.d.ts.map +1 -1
  18. package/dist/client/api/v1/documents/item/submissions/item/signers/index.js +2 -1
  19. package/dist/client/api/v1/documents/item/submissions/item/signers/index.js.map +1 -1
  20. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +10 -1
  21. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -1
  22. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +10 -0
  23. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -1
  24. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +134 -0
  25. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -0
  26. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +145 -0
  27. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -0
  28. package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -1
  29. package/dist/client/api/v1/forms/item/recipients/index.js +2 -1
  30. package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -1
  31. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +10 -1
  32. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -1
  33. package/dist/client/api/v1/forms/item/recipients/item/index.js +10 -0
  34. package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -1
  35. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +134 -0
  36. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -0
  37. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +145 -0
  38. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -0
  39. package/dist/client/models/index.d.ts +224 -3
  40. package/dist/client/models/index.d.ts.map +1 -1
  41. package/dist/client/models/index.js +257 -1
  42. package/dist/client/models/index.js.map +1 -1
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.map +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,145 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createRecipientResponseFromDiscriminatorValue, serializeRecipientResponse, serializeUpdateRecipientResponsesBody } from '../../../../../../../models/index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {Responses409Error}
10
+ */
11
+ // @ts-ignore
12
+ export function createResponses409ErrorFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoResponses409Error;
14
+ }
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns {ResponsesGetResponse}
19
+ */
20
+ // @ts-ignore
21
+ export function createResponsesGetResponseFromDiscriminatorValue(parseNode) {
22
+ return deserializeIntoResponsesGetResponse;
23
+ }
24
+ /**
25
+ * Creates a new instance of the appropriate class based on discriminator value
26
+ * @param parseNode The parse node to use to read the discriminator value and create the object
27
+ * @returns {ResponsesPatchResponse}
28
+ */
29
+ // @ts-ignore
30
+ export function createResponsesPatchResponseFromDiscriminatorValue(parseNode) {
31
+ return deserializeIntoResponsesPatchResponse;
32
+ }
33
+ /**
34
+ * The deserialization information for the current model
35
+ * @param Responses409Error The instance to deserialize into.
36
+ * @returns {Record<string, (node: ParseNode) => void>}
37
+ */
38
+ // @ts-ignore
39
+ export function deserializeIntoResponses409Error(responses409Error = {}) {
40
+ return {
41
+ "error": n => { responses409Error.errorEscaped = n.getStringValue(); },
42
+ "hint": n => { responses409Error.hint = n.getStringValue(); },
43
+ "success": n => { responses409Error.success = n.getBooleanValue(); },
44
+ };
45
+ }
46
+ /**
47
+ * The deserialization information for the current model
48
+ * @param ResponsesGetResponse The instance to deserialize into.
49
+ * @returns {Record<string, (node: ParseNode) => void>}
50
+ */
51
+ // @ts-ignore
52
+ export function deserializeIntoResponsesGetResponse(responsesGetResponse = {}) {
53
+ return {
54
+ "data": n => { responsesGetResponse.data = n.getCollectionOfObjectValues(createRecipientResponseFromDiscriminatorValue); },
55
+ "success": n => { responsesGetResponse.success = n.getBooleanValue(); },
56
+ };
57
+ }
58
+ /**
59
+ * The deserialization information for the current model
60
+ * @param ResponsesPatchResponse The instance to deserialize into.
61
+ * @returns {Record<string, (node: ParseNode) => void>}
62
+ */
63
+ // @ts-ignore
64
+ export function deserializeIntoResponsesPatchResponse(responsesPatchResponse = {}) {
65
+ return {
66
+ "data": n => { responsesPatchResponse.data = n.getCollectionOfObjectValues(createRecipientResponseFromDiscriminatorValue); },
67
+ "success": n => { responsesPatchResponse.success = n.getBooleanValue(); },
68
+ };
69
+ }
70
+ /**
71
+ * Serializes information the current object
72
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
73
+ * @param Responses409Error The instance to serialize from.
74
+ * @param writer Serialization writer to use to serialize this model
75
+ */
76
+ // @ts-ignore
77
+ export function serializeResponses409Error(writer, responses409Error = {}, isSerializingDerivedType = false) {
78
+ if (!responses409Error || isSerializingDerivedType) {
79
+ return;
80
+ }
81
+ writer.writeStringValue("error", responses409Error.errorEscaped);
82
+ writer.writeStringValue("hint", responses409Error.hint);
83
+ writer.writeBooleanValue("success", responses409Error.success);
84
+ writer.writeAdditionalData(responses409Error.additionalData);
85
+ }
86
+ /**
87
+ * Serializes information the current object
88
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
89
+ * @param ResponsesGetResponse The instance to serialize from.
90
+ * @param writer Serialization writer to use to serialize this model
91
+ */
92
+ // @ts-ignore
93
+ export function serializeResponsesGetResponse(writer, responsesGetResponse = {}, isSerializingDerivedType = false) {
94
+ if (!responsesGetResponse || isSerializingDerivedType) {
95
+ return;
96
+ }
97
+ writer.writeCollectionOfObjectValues("data", responsesGetResponse.data, serializeRecipientResponse);
98
+ writer.writeBooleanValue("success", responsesGetResponse.success);
99
+ writer.writeAdditionalData(responsesGetResponse.additionalData);
100
+ }
101
+ /**
102
+ * Serializes information the current object
103
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
104
+ * @param ResponsesPatchResponse The instance to serialize from.
105
+ * @param writer Serialization writer to use to serialize this model
106
+ */
107
+ // @ts-ignore
108
+ export function serializeResponsesPatchResponse(writer, responsesPatchResponse = {}, isSerializingDerivedType = false) {
109
+ if (!responsesPatchResponse || isSerializingDerivedType) {
110
+ return;
111
+ }
112
+ writer.writeCollectionOfObjectValues("data", responsesPatchResponse.data, serializeRecipientResponse);
113
+ writer.writeBooleanValue("success", responsesPatchResponse.success);
114
+ writer.writeAdditionalData(responsesPatchResponse.additionalData);
115
+ }
116
+ /**
117
+ * Uri template for the request builder.
118
+ */
119
+ export const ResponsesRequestBuilderUriTemplate = "{+baseurl}/api/v1/forms/{id}/recipients/{rid}/responses";
120
+ /**
121
+ * Metadata for all the requests in the request builder.
122
+ */
123
+ export const ResponsesRequestBuilderRequestsMetadata = {
124
+ get: {
125
+ uriTemplate: ResponsesRequestBuilderUriTemplate,
126
+ responseBodyContentType: "application/json",
127
+ adapterMethodName: "send",
128
+ responseBodyFactory: createResponsesGetResponseFromDiscriminatorValue,
129
+ },
130
+ patch: {
131
+ uriTemplate: ResponsesRequestBuilderUriTemplate,
132
+ responseBodyContentType: "application/json",
133
+ errorMappings: {
134
+ 409: createResponses409ErrorFromDiscriminatorValue,
135
+ },
136
+ adapterMethodName: "send",
137
+ responseBodyFactory: createResponsesPatchResponseFromDiscriminatorValue,
138
+ requestBodyContentType: "application/json",
139
+ requestBodySerializer: serializeUpdateRecipientResponsesBody,
140
+ requestInformationContentSetMethod: "setContentFromParsable",
141
+ },
142
+ };
143
+ /* tslint:enable */
144
+ /* eslint-enable */
145
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/forms/item/recipients/item/responses/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0BAA0B,EAAE,qCAAqC,EAA6D,MAAM,sCAAsC,CAAC;AAInO;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6CAA6C,CAAC,SAAgC;IAC1F,OAAO,gCAAgC,CAAC;AAC5C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAA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c,CAAC,CAAC;AACtE,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,yDAAyD,CAAC;AAC5G;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,6CAA0E;SAClF;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,qCAAqC;QAC5D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -244,6 +244,10 @@ export interface CreateRecipientBody extends AdditionalDataHolder, Parsable {
244
244
  * Map of question ID → pre-filled value. The value is saved as a Response.
245
245
  */
246
246
  prefill?: CreateRecipientBody_prefill | null;
247
+ /**
248
+ * If true, suppresses recipient_invite notification for this recipient.
249
+ */
250
+ suppressNotifications?: boolean | null;
247
251
  }
248
252
  /**
249
253
  * Map of question ID → pre-filled value. The value is saved as a Response.
@@ -256,6 +260,12 @@ export interface CreateRecipientBody_prefill extends AdditionalDataHolder, Parsa
256
260
  * @returns {Recipient}
257
261
  */
258
262
  export declare function createRecipientFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
263
+ /**
264
+ * Creates a new instance of the appropriate class based on discriminator value
265
+ * @param parseNode The parse node to use to read the discriminator value and create the object
266
+ * @returns {RecipientResponse}
267
+ */
268
+ export declare function createRecipientResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
259
269
  export interface CreateSectionBody extends AdditionalDataHolder, Parsable {
260
270
  /**
261
271
  * The order property
@@ -290,6 +300,12 @@ export declare function createSignerInput_prefillFromDiscriminatorValue(parseNod
290
300
  * @returns {SignerInput}
291
301
  */
292
302
  export declare function createSignerInputFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
303
+ /**
304
+ * Creates a new instance of the appropriate class based on discriminator value
305
+ * @param parseNode The parse node to use to read the discriminator value and create the object
306
+ * @returns {SignerResponse}
307
+ */
308
+ export declare function createSignerResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
293
309
  export interface CreateSignerRoleBody extends AdditionalDataHolder, Parsable {
294
310
  /**
295
311
  * The label property
@@ -307,7 +323,17 @@ export interface CreateSubmissionBody extends AdditionalDataHolder, Parsable {
307
323
  * One entry per signer role. Must provide all required roles.
308
324
  */
309
325
  signers?: SignerInput[] | null;
326
+ /**
327
+ * If true, suppresses signer_invite notifications for all signers in this submission.
328
+ */
329
+ suppressNotifications?: boolean | null;
310
330
  }
331
+ /**
332
+ * Creates a new instance of the appropriate class based on discriminator value
333
+ * @param parseNode The parse node to use to read the discriminator value and create the object
334
+ * @returns {SubmissionPdf}
335
+ */
336
+ export declare function createSubmissionPdfFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
311
337
  /**
312
338
  * Creates a new instance of the appropriate class based on discriminator value
313
339
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -320,12 +346,36 @@ export declare function createUpdateFormBodyFromDiscriminatorValue(parseNode: Pa
320
346
  * @returns {UpdateRecipientBody}
321
347
  */
322
348
  export declare function createUpdateRecipientBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
349
+ /**
350
+ * Creates a new instance of the appropriate class based on discriminator value
351
+ * @param parseNode The parse node to use to read the discriminator value and create the object
352
+ * @returns {UpdateRecipientResponsesBody_responses}
353
+ */
354
+ export declare function createUpdateRecipientResponsesBody_responsesFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
355
+ /**
356
+ * Creates a new instance of the appropriate class based on discriminator value
357
+ * @param parseNode The parse node to use to read the discriminator value and create the object
358
+ * @returns {UpdateRecipientResponsesBody}
359
+ */
360
+ export declare function createUpdateRecipientResponsesBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
323
361
  /**
324
362
  * Creates a new instance of the appropriate class based on discriminator value
325
363
  * @param parseNode The parse node to use to read the discriminator value and create the object
326
364
  * @returns {UpdateSectionBody}
327
365
  */
328
366
  export declare function createUpdateSectionBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
367
+ /**
368
+ * Creates a new instance of the appropriate class based on discriminator value
369
+ * @param parseNode The parse node to use to read the discriminator value and create the object
370
+ * @returns {UpdateSignerResponsesBody_responses}
371
+ */
372
+ export declare function createUpdateSignerResponsesBody_responsesFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
373
+ /**
374
+ * Creates a new instance of the appropriate class based on discriminator value
375
+ * @param parseNode The parse node to use to read the discriminator value and create the object
376
+ * @returns {UpdateSignerResponsesBody}
377
+ */
378
+ export declare function createUpdateSignerResponsesBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
329
379
  /**
330
380
  * The deserialization information for the current model
331
381
  * @param CreateFieldBody The instance to deserialize into.
@@ -440,6 +490,12 @@ export declare function deserializeIntoQuestion(question?: Partial<Question> | u
440
490
  * @returns {Record<string, (node: ParseNode) => void>}
441
491
  */
442
492
  export declare function deserializeIntoRecipient(recipient?: Partial<Recipient> | undefined): Record<string, (node: ParseNode) => void>;
493
+ /**
494
+ * The deserialization information for the current model
495
+ * @param RecipientResponse The instance to deserialize into.
496
+ * @returns {Record<string, (node: ParseNode) => void>}
497
+ */
498
+ export declare function deserializeIntoRecipientResponse(recipientResponse?: Partial<RecipientResponse> | undefined): Record<string, (node: ParseNode) => void>;
443
499
  /**
444
500
  * The deserialization information for the current model
445
501
  * @param Section The instance to deserialize into.
@@ -464,12 +520,24 @@ export declare function deserializeIntoSignerInput(signerInput?: Partial<SignerI
464
520
  * @returns {Record<string, (node: ParseNode) => void>}
465
521
  */
466
522
  export declare function deserializeIntoSignerInput_prefill(signerInput_prefill?: Partial<SignerInput_prefill> | undefined): Record<string, (node: ParseNode) => void>;
523
+ /**
524
+ * The deserialization information for the current model
525
+ * @param SignerResponse The instance to deserialize into.
526
+ * @returns {Record<string, (node: ParseNode) => void>}
527
+ */
528
+ export declare function deserializeIntoSignerResponse(signerResponse?: Partial<SignerResponse> | undefined): Record<string, (node: ParseNode) => void>;
467
529
  /**
468
530
  * The deserialization information for the current model
469
531
  * @param SignerRole The instance to deserialize into.
470
532
  * @returns {Record<string, (node: ParseNode) => void>}
471
533
  */
472
534
  export declare function deserializeIntoSignerRole(signerRole?: Partial<SignerRole> | undefined): Record<string, (node: ParseNode) => void>;
535
+ /**
536
+ * The deserialization information for the current model
537
+ * @param SubmissionPdf The instance to deserialize into.
538
+ * @returns {Record<string, (node: ParseNode) => void>}
539
+ */
540
+ export declare function deserializeIntoSubmissionPdf(submissionPdf?: Partial<SubmissionPdf> | undefined): Record<string, (node: ParseNode) => void>;
473
541
  /**
474
542
  * The deserialization information for the current model
475
543
  * @param UpdateFormBody The instance to deserialize into.
@@ -482,12 +550,36 @@ export declare function deserializeIntoUpdateFormBody(updateFormBody?: Partial<U
482
550
  * @returns {Record<string, (node: ParseNode) => void>}
483
551
  */
484
552
  export declare function deserializeIntoUpdateRecipientBody(updateRecipientBody?: Partial<UpdateRecipientBody> | undefined): Record<string, (node: ParseNode) => void>;
553
+ /**
554
+ * The deserialization information for the current model
555
+ * @param UpdateRecipientResponsesBody The instance to deserialize into.
556
+ * @returns {Record<string, (node: ParseNode) => void>}
557
+ */
558
+ export declare function deserializeIntoUpdateRecipientResponsesBody(updateRecipientResponsesBody?: Partial<UpdateRecipientResponsesBody> | undefined): Record<string, (node: ParseNode) => void>;
559
+ /**
560
+ * The deserialization information for the current model
561
+ * @param UpdateRecipientResponsesBody_responses The instance to deserialize into.
562
+ * @returns {Record<string, (node: ParseNode) => void>}
563
+ */
564
+ export declare function deserializeIntoUpdateRecipientResponsesBody_responses(updateRecipientResponsesBody_responses?: Partial<UpdateRecipientResponsesBody_responses> | undefined): Record<string, (node: ParseNode) => void>;
485
565
  /**
486
566
  * The deserialization information for the current model
487
567
  * @param UpdateSectionBody The instance to deserialize into.
488
568
  * @returns {Record<string, (node: ParseNode) => void>}
489
569
  */
490
570
  export declare function deserializeIntoUpdateSectionBody(updateSectionBody?: Partial<UpdateSectionBody> | undefined): Record<string, (node: ParseNode) => void>;
571
+ /**
572
+ * The deserialization information for the current model
573
+ * @param UpdateSignerResponsesBody The instance to deserialize into.
574
+ * @returns {Record<string, (node: ParseNode) => void>}
575
+ */
576
+ export declare function deserializeIntoUpdateSignerResponsesBody(updateSignerResponsesBody?: Partial<UpdateSignerResponsesBody> | undefined): Record<string, (node: ParseNode) => void>;
577
+ /**
578
+ * The deserialization information for the current model
579
+ * @param UpdateSignerResponsesBody_responses The instance to deserialize into.
580
+ * @returns {Record<string, (node: ParseNode) => void>}
581
+ */
582
+ export declare function deserializeIntoUpdateSignerResponsesBody_responses(updateSignerResponsesBody_responses?: Partial<UpdateSignerResponsesBody_responses> | undefined): Record<string, (node: ParseNode) => void>;
491
583
  export interface Document extends AdditionalDataHolder, Parsable {
492
584
  /**
493
585
  * The completedPdfUrl property
@@ -840,6 +932,24 @@ export interface Recipient extends AdditionalDataHolder, Parsable {
840
932
  visitCount?: number | null;
841
933
  }
842
934
  export type Recipient_status = (typeof Recipient_statusObject)[keyof typeof Recipient_statusObject];
935
+ export interface RecipientResponse extends AdditionalDataHolder, Parsable {
936
+ /**
937
+ * The answeredAt property
938
+ */
939
+ answeredAt?: Date | null;
940
+ /**
941
+ * The questionId property
942
+ */
943
+ questionId?: Guid | null;
944
+ /**
945
+ * The updatedAt property
946
+ */
947
+ updatedAt?: Date | null;
948
+ /**
949
+ * The value property
950
+ */
951
+ value?: UntypedNode | null;
952
+ }
843
953
  export interface Section extends AdditionalDataHolder, Parsable {
844
954
  /**
845
955
  * The createdAt property
@@ -995,6 +1105,13 @@ export declare function serializeQuestion(writer: SerializationWriter, question?
995
1105
  * @param writer Serialization writer to use to serialize this model
996
1106
  */
997
1107
  export declare function serializeRecipient(writer: SerializationWriter, recipient?: Partial<Recipient> | undefined | null, isSerializingDerivedType?: boolean): void;
1108
+ /**
1109
+ * Serializes information the current object
1110
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1111
+ * @param RecipientResponse The instance to serialize from.
1112
+ * @param writer Serialization writer to use to serialize this model
1113
+ */
1114
+ export declare function serializeRecipientResponse(writer: SerializationWriter, recipientResponse?: Partial<RecipientResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
998
1115
  /**
999
1116
  * Serializes information the current object
1000
1117
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -1023,6 +1140,13 @@ export declare function serializeSignerInput(writer: SerializationWriter, signer
1023
1140
  * @param writer Serialization writer to use to serialize this model
1024
1141
  */
1025
1142
  export declare function serializeSignerInput_prefill(writer: SerializationWriter, signerInput_prefill?: Partial<SignerInput_prefill> | undefined | null, isSerializingDerivedType?: boolean): void;
1143
+ /**
1144
+ * Serializes information the current object
1145
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1146
+ * @param SignerResponse The instance to serialize from.
1147
+ * @param writer Serialization writer to use to serialize this model
1148
+ */
1149
+ export declare function serializeSignerResponse(writer: SerializationWriter, signerResponse?: Partial<SignerResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
1026
1150
  /**
1027
1151
  * Serializes information the current object
1028
1152
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -1030,6 +1154,13 @@ export declare function serializeSignerInput_prefill(writer: SerializationWriter
1030
1154
  * @param writer Serialization writer to use to serialize this model
1031
1155
  */
1032
1156
  export declare function serializeSignerRole(writer: SerializationWriter, signerRole?: Partial<SignerRole> | undefined | null, isSerializingDerivedType?: boolean): void;
1157
+ /**
1158
+ * Serializes information the current object
1159
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1160
+ * @param SubmissionPdf The instance to serialize from.
1161
+ * @param writer Serialization writer to use to serialize this model
1162
+ */
1163
+ export declare function serializeSubmissionPdf(writer: SerializationWriter, submissionPdf?: Partial<SubmissionPdf> | undefined | null, isSerializingDerivedType?: boolean): void;
1033
1164
  /**
1034
1165
  * Serializes information the current object
1035
1166
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -1044,6 +1175,20 @@ export declare function serializeUpdateFormBody(writer: SerializationWriter, upd
1044
1175
  * @param writer Serialization writer to use to serialize this model
1045
1176
  */
1046
1177
  export declare function serializeUpdateRecipientBody(writer: SerializationWriter, updateRecipientBody?: Partial<UpdateRecipientBody> | undefined | null, isSerializingDerivedType?: boolean): void;
1178
+ /**
1179
+ * Serializes information the current object
1180
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1181
+ * @param UpdateRecipientResponsesBody The instance to serialize from.
1182
+ * @param writer Serialization writer to use to serialize this model
1183
+ */
1184
+ export declare function serializeUpdateRecipientResponsesBody(writer: SerializationWriter, updateRecipientResponsesBody?: Partial<UpdateRecipientResponsesBody> | undefined | null, isSerializingDerivedType?: boolean): void;
1185
+ /**
1186
+ * Serializes information the current object
1187
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1188
+ * @param UpdateRecipientResponsesBody_responses The instance to serialize from.
1189
+ * @param writer Serialization writer to use to serialize this model
1190
+ */
1191
+ export declare function serializeUpdateRecipientResponsesBody_responses(writer: SerializationWriter, updateRecipientResponsesBody_responses?: Partial<UpdateRecipientResponsesBody_responses> | undefined | null, isSerializingDerivedType?: boolean): void;
1047
1192
  /**
1048
1193
  * Serializes information the current object
1049
1194
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -1051,6 +1196,20 @@ export declare function serializeUpdateRecipientBody(writer: SerializationWriter
1051
1196
  * @param writer Serialization writer to use to serialize this model
1052
1197
  */
1053
1198
  export declare function serializeUpdateSectionBody(writer: SerializationWriter, updateSectionBody?: Partial<UpdateSectionBody> | undefined | null, isSerializingDerivedType?: boolean): void;
1199
+ /**
1200
+ * Serializes information the current object
1201
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1202
+ * @param UpdateSignerResponsesBody The instance to serialize from.
1203
+ * @param writer Serialization writer to use to serialize this model
1204
+ */
1205
+ export declare function serializeUpdateSignerResponsesBody(writer: SerializationWriter, updateSignerResponsesBody?: Partial<UpdateSignerResponsesBody> | undefined | null, isSerializingDerivedType?: boolean): void;
1206
+ /**
1207
+ * Serializes information the current object
1208
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
1209
+ * @param UpdateSignerResponsesBody_responses The instance to serialize from.
1210
+ * @param writer Serialization writer to use to serialize this model
1211
+ */
1212
+ export declare function serializeUpdateSignerResponsesBody_responses(writer: SerializationWriter, updateSignerResponsesBody_responses?: Partial<UpdateSignerResponsesBody_responses> | undefined | null, isSerializingDerivedType?: boolean): void;
1054
1213
  export interface Signer extends AdditionalDataHolder, Parsable {
1055
1214
  /**
1056
1215
  * The color property
@@ -1128,23 +1287,45 @@ export interface SignerInput extends AdditionalDataHolder, Parsable {
1128
1287
  */
1129
1288
  phone?: string | null;
1130
1289
  /**
1131
- * Map of field ID → pre-filled value. Creates DocumentResponse records immediately.
1290
+ * Map of field identifier → pre-filled value. Keys can be field UUIDs or field labels. Label-based keys are resolved against fields assigned to this signer's role. If a label matches multiple fields for the same role, the request is rejected with disambiguation details. Creates DocumentResponse records immediately.
1132
1291
  */
1133
1292
  prefill?: SignerInput_prefill | null;
1134
1293
  /**
1135
1294
  * If true, prefilled fields are marked read-only on the document
1136
1295
  */
1137
1296
  prefillReadonly?: boolean | null;
1297
+ /**
1298
+ * List of field IDs or field labels to mark as read-only for this signer, regardless of the document-level isReadOnly setting. Labels are resolved against fields assigned to this signer's role. Useful for locking specific fields per-signer at submission time.
1299
+ */
1300
+ readonlyFieldIds?: string[] | null;
1138
1301
  /**
1139
1302
  * Must match a signer role defined in the document editor
1140
1303
  */
1141
1304
  role?: string | null;
1142
1305
  }
1143
1306
  /**
1144
- * Map of field ID → pre-filled value. Creates DocumentResponse records immediately.
1307
+ * Map of field identifier → pre-filled value. Keys can be field UUIDs or field labels. Label-based keys are resolved against fields assigned to this signer's role. If a label matches multiple fields for the same role, the request is rejected with disambiguation details. Creates DocumentResponse records immediately.
1145
1308
  */
1146
1309
  export interface SignerInput_prefill extends AdditionalDataHolder, Parsable {
1147
1310
  }
1311
+ export interface SignerResponse extends AdditionalDataHolder, Parsable {
1312
+ /**
1313
+ * The answeredAt property
1314
+ */
1315
+ answeredAt?: Date | null;
1316
+ /**
1317
+ * The fieldId property
1318
+ */
1319
+ fieldId?: Guid | null;
1320
+ /**
1321
+ * The updatedAt property
1322
+ */
1323
+ updatedAt?: Date | null;
1324
+ /**
1325
+ * The value property
1326
+ */
1327
+ value?: UntypedNode | null;
1328
+ }
1148
1329
  export interface SignerRole extends AdditionalDataHolder, Parsable {
1149
1330
  /**
1150
1331
  * The color property
@@ -1175,6 +1356,24 @@ export interface SignerRole extends AdditionalDataHolder, Parsable {
1175
1356
  */
1176
1357
  role?: string | null;
1177
1358
  }
1359
+ export interface SubmissionPdf extends AdditionalDataHolder, Parsable {
1360
+ /**
1361
+ * The completedAt property
1362
+ */
1363
+ completedAt?: Date | null;
1364
+ /**
1365
+ * Presigned download URL. Expires in 5 minutes.
1366
+ */
1367
+ downloadUrl?: string | null;
1368
+ /**
1369
+ * URL expiry in seconds
1370
+ */
1371
+ expiresIn?: number | null;
1372
+ /**
1373
+ * The submissionId property
1374
+ */
1375
+ submissionId?: Guid | null;
1376
+ }
1178
1377
  export interface UpdateFormBody extends AdditionalDataHolder, Parsable {
1179
1378
  /**
1180
1379
  * The description property
@@ -1216,6 +1415,17 @@ export interface UpdateRecipientBody extends AdditionalDataHolder, Parsable {
1216
1415
  */
1217
1416
  phone?: string | null;
1218
1417
  }
1418
+ export interface UpdateRecipientResponsesBody extends AdditionalDataHolder, Parsable {
1419
+ /**
1420
+ * Map of question ID → new value. Performs upsert on Response records.
1421
+ */
1422
+ responses?: UpdateRecipientResponsesBody_responses | null;
1423
+ }
1424
+ /**
1425
+ * Map of question ID → new value. Performs upsert on Response records.
1426
+ */
1427
+ export interface UpdateRecipientResponsesBody_responses extends AdditionalDataHolder, Parsable {
1428
+ }
1219
1429
  export interface UpdateSectionBody extends AdditionalDataHolder, Parsable {
1220
1430
  /**
1221
1431
  * The order property
@@ -1226,6 +1436,17 @@ export interface UpdateSectionBody extends AdditionalDataHolder, Parsable {
1226
1436
  */
1227
1437
  title?: string | null;
1228
1438
  }
1439
+ export interface UpdateSignerResponsesBody extends AdditionalDataHolder, Parsable {
1440
+ /**
1441
+ * Map of field ID → new value. Performs upsert on DocumentResponse records.
1442
+ */
1443
+ responses?: UpdateSignerResponsesBody_responses | null;
1444
+ }
1445
+ /**
1446
+ * Map of field ID → new value. Performs upsert on DocumentResponse records.
1447
+ */
1448
+ export interface UpdateSignerResponsesBody_responses extends AdditionalDataHolder, Parsable {
1449
+ }
1229
1450
  export declare const CreateFieldBody_directionObject: {
1230
1451
  readonly Auto: "auto";
1231
1452
  readonly Rtl: "rtl";
@@ -1286,7 +1507,7 @@ export declare const CreateQuestionBody_typeObject: {
1286
1507
  };
1287
1508
  export declare const Document_statusObject: {
1288
1509
  readonly Draft: "draft";
1289
- readonly Sent: "sent";
1510
+ readonly Published: "published";
1290
1511
  readonly Completed: "completed";
1291
1512
  readonly Expired: "expired";
1292
1513
  };