@btps/sdk 1.2.0-rc.1 → 1.2.0-rc.2
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/CHANGELOG.md +39 -0
- package/dist/core/server/schemas/artifacts/transporterSchema.js +16 -9
- package/dist/core/server/schemas/btpsDocsSchema.d.ts +1840 -15
- package/dist/core/server/schemas/btpsDocsSchema.js +16 -11
- package/dist/core/server/schemas/helpers.d.ts +514 -4
- package/dist/core/trust/types.d.ts +11 -1
- package/dist/server/btpsServer.d.ts +9 -0
- package/dist/server/btpsServer.js +35 -3
- package/dist/server/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -9601,7 +9601,7 @@ export declare const BtpLifecycleEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
9601
9601
|
} | undefined;
|
|
9602
9602
|
}>;
|
|
9603
9603
|
/** A signer's answer: what it signs, over its RFC 8785 form. */
|
|
9604
|
-
export declare const BtpAgreementStatementSchema: z.ZodObject<{
|
|
9604
|
+
export declare const BtpAgreementStatementSchema: z.ZodEffects<z.ZodObject<{
|
|
9605
9605
|
agreement: z.ZodObject<{
|
|
9606
9606
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
9607
9607
|
id: z.ZodString;
|
|
@@ -9620,6 +9620,31 @@ export declare const BtpAgreementStatementSchema: z.ZodObject<{
|
|
|
9620
9620
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
9621
9621
|
signedAt: z.ZodString;
|
|
9622
9622
|
previous: z.ZodOptional<z.ZodString>;
|
|
9623
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
9624
|
+
type: z.ZodLiteral<"typed">;
|
|
9625
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
9626
|
+
}, "strict", z.ZodTypeAny, {
|
|
9627
|
+
type: "typed";
|
|
9628
|
+
text: string;
|
|
9629
|
+
}, {
|
|
9630
|
+
type: "typed";
|
|
9631
|
+
text: string;
|
|
9632
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
9633
|
+
type: z.ZodLiteral<"drawn">;
|
|
9634
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
9635
|
+
}, "strict", z.ZodTypeAny, {
|
|
9636
|
+
type: "drawn";
|
|
9637
|
+
strokes: number[][];
|
|
9638
|
+
}, {
|
|
9639
|
+
type: "drawn";
|
|
9640
|
+
strokes?: unknown;
|
|
9641
|
+
}>, {
|
|
9642
|
+
type: "drawn";
|
|
9643
|
+
strokes: number[][];
|
|
9644
|
+
}, {
|
|
9645
|
+
type: "drawn";
|
|
9646
|
+
strokes?: unknown;
|
|
9647
|
+
}>]>>;
|
|
9623
9648
|
}, "strict", z.ZodTypeAny, {
|
|
9624
9649
|
agreement: {
|
|
9625
9650
|
id: string;
|
|
@@ -9631,6 +9656,13 @@ export declare const BtpAgreementStatementSchema: z.ZodObject<{
|
|
|
9631
9656
|
signer: string;
|
|
9632
9657
|
signedAt: string;
|
|
9633
9658
|
previous?: string | undefined;
|
|
9659
|
+
visualSignature?: {
|
|
9660
|
+
type: "typed";
|
|
9661
|
+
text: string;
|
|
9662
|
+
} | {
|
|
9663
|
+
type: "drawn";
|
|
9664
|
+
strokes: number[][];
|
|
9665
|
+
} | undefined;
|
|
9634
9666
|
}, {
|
|
9635
9667
|
agreement: {
|
|
9636
9668
|
id: string;
|
|
@@ -9642,6 +9674,49 @@ export declare const BtpAgreementStatementSchema: z.ZodObject<{
|
|
|
9642
9674
|
signedAt: string;
|
|
9643
9675
|
terms?: unknown;
|
|
9644
9676
|
previous?: string | undefined;
|
|
9677
|
+
visualSignature?: {
|
|
9678
|
+
type: "typed";
|
|
9679
|
+
text: string;
|
|
9680
|
+
} | {
|
|
9681
|
+
type: "drawn";
|
|
9682
|
+
strokes?: unknown;
|
|
9683
|
+
} | undefined;
|
|
9684
|
+
}>, {
|
|
9685
|
+
agreement: {
|
|
9686
|
+
id: string;
|
|
9687
|
+
originator: string;
|
|
9688
|
+
contentSha256: string;
|
|
9689
|
+
};
|
|
9690
|
+
terms: string[];
|
|
9691
|
+
decision: "accepted" | "declined";
|
|
9692
|
+
signer: string;
|
|
9693
|
+
signedAt: string;
|
|
9694
|
+
previous?: string | undefined;
|
|
9695
|
+
visualSignature?: {
|
|
9696
|
+
type: "typed";
|
|
9697
|
+
text: string;
|
|
9698
|
+
} | {
|
|
9699
|
+
type: "drawn";
|
|
9700
|
+
strokes: number[][];
|
|
9701
|
+
} | undefined;
|
|
9702
|
+
}, {
|
|
9703
|
+
agreement: {
|
|
9704
|
+
id: string;
|
|
9705
|
+
originator: string;
|
|
9706
|
+
contentSha256: string;
|
|
9707
|
+
};
|
|
9708
|
+
decision: "accepted" | "declined";
|
|
9709
|
+
signer: string;
|
|
9710
|
+
signedAt: string;
|
|
9711
|
+
terms?: unknown;
|
|
9712
|
+
previous?: string | undefined;
|
|
9713
|
+
visualSignature?: {
|
|
9714
|
+
type: "typed";
|
|
9715
|
+
text: string;
|
|
9716
|
+
} | {
|
|
9717
|
+
type: "drawn";
|
|
9718
|
+
strokes?: unknown;
|
|
9719
|
+
} | undefined;
|
|
9645
9720
|
}>;
|
|
9646
9721
|
/**
|
|
9647
9722
|
* A signed statement: by the signer's identity key at `selector`, or by a
|
|
@@ -9649,7 +9724,7 @@ export declare const BtpAgreementStatementSchema: z.ZodObject<{
|
|
|
9649
9724
|
* arrived. Its signatures are checked by `statementSignatureFacts`.
|
|
9650
9725
|
*/
|
|
9651
9726
|
export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
9652
|
-
statement: z.ZodObject<{
|
|
9727
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
9653
9728
|
agreement: z.ZodObject<{
|
|
9654
9729
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
9655
9730
|
id: z.ZodString;
|
|
@@ -9668,6 +9743,31 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9668
9743
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
9669
9744
|
signedAt: z.ZodString;
|
|
9670
9745
|
previous: z.ZodOptional<z.ZodString>;
|
|
9746
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
9747
|
+
type: z.ZodLiteral<"typed">;
|
|
9748
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
9749
|
+
}, "strict", z.ZodTypeAny, {
|
|
9750
|
+
type: "typed";
|
|
9751
|
+
text: string;
|
|
9752
|
+
}, {
|
|
9753
|
+
type: "typed";
|
|
9754
|
+
text: string;
|
|
9755
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
9756
|
+
type: z.ZodLiteral<"drawn">;
|
|
9757
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
9758
|
+
}, "strict", z.ZodTypeAny, {
|
|
9759
|
+
type: "drawn";
|
|
9760
|
+
strokes: number[][];
|
|
9761
|
+
}, {
|
|
9762
|
+
type: "drawn";
|
|
9763
|
+
strokes?: unknown;
|
|
9764
|
+
}>, {
|
|
9765
|
+
type: "drawn";
|
|
9766
|
+
strokes: number[][];
|
|
9767
|
+
}, {
|
|
9768
|
+
type: "drawn";
|
|
9769
|
+
strokes?: unknown;
|
|
9770
|
+
}>]>>;
|
|
9671
9771
|
}, "strict", z.ZodTypeAny, {
|
|
9672
9772
|
agreement: {
|
|
9673
9773
|
id: string;
|
|
@@ -9679,6 +9779,49 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9679
9779
|
signer: string;
|
|
9680
9780
|
signedAt: string;
|
|
9681
9781
|
previous?: string | undefined;
|
|
9782
|
+
visualSignature?: {
|
|
9783
|
+
type: "typed";
|
|
9784
|
+
text: string;
|
|
9785
|
+
} | {
|
|
9786
|
+
type: "drawn";
|
|
9787
|
+
strokes: number[][];
|
|
9788
|
+
} | undefined;
|
|
9789
|
+
}, {
|
|
9790
|
+
agreement: {
|
|
9791
|
+
id: string;
|
|
9792
|
+
originator: string;
|
|
9793
|
+
contentSha256: string;
|
|
9794
|
+
};
|
|
9795
|
+
decision: "accepted" | "declined";
|
|
9796
|
+
signer: string;
|
|
9797
|
+
signedAt: string;
|
|
9798
|
+
terms?: unknown;
|
|
9799
|
+
previous?: string | undefined;
|
|
9800
|
+
visualSignature?: {
|
|
9801
|
+
type: "typed";
|
|
9802
|
+
text: string;
|
|
9803
|
+
} | {
|
|
9804
|
+
type: "drawn";
|
|
9805
|
+
strokes?: unknown;
|
|
9806
|
+
} | undefined;
|
|
9807
|
+
}>, {
|
|
9808
|
+
agreement: {
|
|
9809
|
+
id: string;
|
|
9810
|
+
originator: string;
|
|
9811
|
+
contentSha256: string;
|
|
9812
|
+
};
|
|
9813
|
+
terms: string[];
|
|
9814
|
+
decision: "accepted" | "declined";
|
|
9815
|
+
signer: string;
|
|
9816
|
+
signedAt: string;
|
|
9817
|
+
previous?: string | undefined;
|
|
9818
|
+
visualSignature?: {
|
|
9819
|
+
type: "typed";
|
|
9820
|
+
text: string;
|
|
9821
|
+
} | {
|
|
9822
|
+
type: "drawn";
|
|
9823
|
+
strokes: number[][];
|
|
9824
|
+
} | undefined;
|
|
9682
9825
|
}, {
|
|
9683
9826
|
agreement: {
|
|
9684
9827
|
id: string;
|
|
@@ -9690,6 +9833,13 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9690
9833
|
signedAt: string;
|
|
9691
9834
|
terms?: unknown;
|
|
9692
9835
|
previous?: string | undefined;
|
|
9836
|
+
visualSignature?: {
|
|
9837
|
+
type: "typed";
|
|
9838
|
+
text: string;
|
|
9839
|
+
} | {
|
|
9840
|
+
type: "drawn";
|
|
9841
|
+
strokes?: unknown;
|
|
9842
|
+
} | undefined;
|
|
9693
9843
|
}>;
|
|
9694
9844
|
signature: z.ZodObject<{
|
|
9695
9845
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -9915,6 +10065,13 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9915
10065
|
signer: string;
|
|
9916
10066
|
signedAt: string;
|
|
9917
10067
|
previous?: string | undefined;
|
|
10068
|
+
visualSignature?: {
|
|
10069
|
+
type: "typed";
|
|
10070
|
+
text: string;
|
|
10071
|
+
} | {
|
|
10072
|
+
type: "drawn";
|
|
10073
|
+
strokes: number[][];
|
|
10074
|
+
} | undefined;
|
|
9918
10075
|
};
|
|
9919
10076
|
selector?: string | undefined;
|
|
9920
10077
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -9999,6 +10156,13 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9999
10156
|
signedAt: string;
|
|
10000
10157
|
terms?: unknown;
|
|
10001
10158
|
previous?: string | undefined;
|
|
10159
|
+
visualSignature?: {
|
|
10160
|
+
type: "typed";
|
|
10161
|
+
text: string;
|
|
10162
|
+
} | {
|
|
10163
|
+
type: "drawn";
|
|
10164
|
+
strokes?: unknown;
|
|
10165
|
+
} | undefined;
|
|
10002
10166
|
};
|
|
10003
10167
|
selector?: string | undefined;
|
|
10004
10168
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -10083,6 +10247,13 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10083
10247
|
signer: string;
|
|
10084
10248
|
signedAt: string;
|
|
10085
10249
|
previous?: string | undefined;
|
|
10250
|
+
visualSignature?: {
|
|
10251
|
+
type: "typed";
|
|
10252
|
+
text: string;
|
|
10253
|
+
} | {
|
|
10254
|
+
type: "drawn";
|
|
10255
|
+
strokes: number[][];
|
|
10256
|
+
} | undefined;
|
|
10086
10257
|
};
|
|
10087
10258
|
selector?: string | undefined;
|
|
10088
10259
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -10167,6 +10338,13 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10167
10338
|
signedAt: string;
|
|
10168
10339
|
terms?: unknown;
|
|
10169
10340
|
previous?: string | undefined;
|
|
10341
|
+
visualSignature?: {
|
|
10342
|
+
type: "typed";
|
|
10343
|
+
text: string;
|
|
10344
|
+
} | {
|
|
10345
|
+
type: "drawn";
|
|
10346
|
+
strokes?: unknown;
|
|
10347
|
+
} | undefined;
|
|
10170
10348
|
};
|
|
10171
10349
|
selector?: string | undefined;
|
|
10172
10350
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -10239,7 +10417,7 @@ export declare const BtpStatementRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
10239
10417
|
export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"eventType", [z.ZodObject<{
|
|
10240
10418
|
eventType: z.ZodLiteral<"accepted">;
|
|
10241
10419
|
statement: z.ZodEffects<z.ZodObject<{
|
|
10242
|
-
statement: z.ZodObject<{
|
|
10420
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
10243
10421
|
agreement: z.ZodObject<{
|
|
10244
10422
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
10245
10423
|
id: z.ZodString;
|
|
@@ -10258,6 +10436,31 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10258
10436
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
10259
10437
|
signedAt: z.ZodString;
|
|
10260
10438
|
previous: z.ZodOptional<z.ZodString>;
|
|
10439
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
10440
|
+
type: z.ZodLiteral<"typed">;
|
|
10441
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
10442
|
+
}, "strict", z.ZodTypeAny, {
|
|
10443
|
+
type: "typed";
|
|
10444
|
+
text: string;
|
|
10445
|
+
}, {
|
|
10446
|
+
type: "typed";
|
|
10447
|
+
text: string;
|
|
10448
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
10449
|
+
type: z.ZodLiteral<"drawn">;
|
|
10450
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
10451
|
+
}, "strict", z.ZodTypeAny, {
|
|
10452
|
+
type: "drawn";
|
|
10453
|
+
strokes: number[][];
|
|
10454
|
+
}, {
|
|
10455
|
+
type: "drawn";
|
|
10456
|
+
strokes?: unknown;
|
|
10457
|
+
}>, {
|
|
10458
|
+
type: "drawn";
|
|
10459
|
+
strokes: number[][];
|
|
10460
|
+
}, {
|
|
10461
|
+
type: "drawn";
|
|
10462
|
+
strokes?: unknown;
|
|
10463
|
+
}>]>>;
|
|
10261
10464
|
}, "strict", z.ZodTypeAny, {
|
|
10262
10465
|
agreement: {
|
|
10263
10466
|
id: string;
|
|
@@ -10269,6 +10472,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10269
10472
|
signer: string;
|
|
10270
10473
|
signedAt: string;
|
|
10271
10474
|
previous?: string | undefined;
|
|
10475
|
+
visualSignature?: {
|
|
10476
|
+
type: "typed";
|
|
10477
|
+
text: string;
|
|
10478
|
+
} | {
|
|
10479
|
+
type: "drawn";
|
|
10480
|
+
strokes: number[][];
|
|
10481
|
+
} | undefined;
|
|
10272
10482
|
}, {
|
|
10273
10483
|
agreement: {
|
|
10274
10484
|
id: string;
|
|
@@ -10280,6 +10490,49 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10280
10490
|
signedAt: string;
|
|
10281
10491
|
terms?: unknown;
|
|
10282
10492
|
previous?: string | undefined;
|
|
10493
|
+
visualSignature?: {
|
|
10494
|
+
type: "typed";
|
|
10495
|
+
text: string;
|
|
10496
|
+
} | {
|
|
10497
|
+
type: "drawn";
|
|
10498
|
+
strokes?: unknown;
|
|
10499
|
+
} | undefined;
|
|
10500
|
+
}>, {
|
|
10501
|
+
agreement: {
|
|
10502
|
+
id: string;
|
|
10503
|
+
originator: string;
|
|
10504
|
+
contentSha256: string;
|
|
10505
|
+
};
|
|
10506
|
+
terms: string[];
|
|
10507
|
+
decision: "accepted" | "declined";
|
|
10508
|
+
signer: string;
|
|
10509
|
+
signedAt: string;
|
|
10510
|
+
previous?: string | undefined;
|
|
10511
|
+
visualSignature?: {
|
|
10512
|
+
type: "typed";
|
|
10513
|
+
text: string;
|
|
10514
|
+
} | {
|
|
10515
|
+
type: "drawn";
|
|
10516
|
+
strokes: number[][];
|
|
10517
|
+
} | undefined;
|
|
10518
|
+
}, {
|
|
10519
|
+
agreement: {
|
|
10520
|
+
id: string;
|
|
10521
|
+
originator: string;
|
|
10522
|
+
contentSha256: string;
|
|
10523
|
+
};
|
|
10524
|
+
decision: "accepted" | "declined";
|
|
10525
|
+
signer: string;
|
|
10526
|
+
signedAt: string;
|
|
10527
|
+
terms?: unknown;
|
|
10528
|
+
previous?: string | undefined;
|
|
10529
|
+
visualSignature?: {
|
|
10530
|
+
type: "typed";
|
|
10531
|
+
text: string;
|
|
10532
|
+
} | {
|
|
10533
|
+
type: "drawn";
|
|
10534
|
+
strokes?: unknown;
|
|
10535
|
+
} | undefined;
|
|
10283
10536
|
}>;
|
|
10284
10537
|
signature: z.ZodObject<{
|
|
10285
10538
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -10505,6 +10758,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10505
10758
|
signer: string;
|
|
10506
10759
|
signedAt: string;
|
|
10507
10760
|
previous?: string | undefined;
|
|
10761
|
+
visualSignature?: {
|
|
10762
|
+
type: "typed";
|
|
10763
|
+
text: string;
|
|
10764
|
+
} | {
|
|
10765
|
+
type: "drawn";
|
|
10766
|
+
strokes: number[][];
|
|
10767
|
+
} | undefined;
|
|
10508
10768
|
};
|
|
10509
10769
|
selector?: string | undefined;
|
|
10510
10770
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -10589,6 +10849,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10589
10849
|
signedAt: string;
|
|
10590
10850
|
terms?: unknown;
|
|
10591
10851
|
previous?: string | undefined;
|
|
10852
|
+
visualSignature?: {
|
|
10853
|
+
type: "typed";
|
|
10854
|
+
text: string;
|
|
10855
|
+
} | {
|
|
10856
|
+
type: "drawn";
|
|
10857
|
+
strokes?: unknown;
|
|
10858
|
+
} | undefined;
|
|
10592
10859
|
};
|
|
10593
10860
|
selector?: string | undefined;
|
|
10594
10861
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -10673,6 +10940,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10673
10940
|
signer: string;
|
|
10674
10941
|
signedAt: string;
|
|
10675
10942
|
previous?: string | undefined;
|
|
10943
|
+
visualSignature?: {
|
|
10944
|
+
type: "typed";
|
|
10945
|
+
text: string;
|
|
10946
|
+
} | {
|
|
10947
|
+
type: "drawn";
|
|
10948
|
+
strokes: number[][];
|
|
10949
|
+
} | undefined;
|
|
10676
10950
|
};
|
|
10677
10951
|
selector?: string | undefined;
|
|
10678
10952
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -10757,6 +11031,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10757
11031
|
signedAt: string;
|
|
10758
11032
|
terms?: unknown;
|
|
10759
11033
|
previous?: string | undefined;
|
|
11034
|
+
visualSignature?: {
|
|
11035
|
+
type: "typed";
|
|
11036
|
+
text: string;
|
|
11037
|
+
} | {
|
|
11038
|
+
type: "drawn";
|
|
11039
|
+
strokes?: unknown;
|
|
11040
|
+
} | undefined;
|
|
10760
11041
|
};
|
|
10761
11042
|
selector?: string | undefined;
|
|
10762
11043
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -10868,6 +11149,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10868
11149
|
signer: string;
|
|
10869
11150
|
signedAt: string;
|
|
10870
11151
|
previous?: string | undefined;
|
|
11152
|
+
visualSignature?: {
|
|
11153
|
+
type: "typed";
|
|
11154
|
+
text: string;
|
|
11155
|
+
} | {
|
|
11156
|
+
type: "drawn";
|
|
11157
|
+
strokes: number[][];
|
|
11158
|
+
} | undefined;
|
|
10871
11159
|
};
|
|
10872
11160
|
selector?: string | undefined;
|
|
10873
11161
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -10963,6 +11251,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
10963
11251
|
signedAt: string;
|
|
10964
11252
|
terms?: unknown;
|
|
10965
11253
|
previous?: string | undefined;
|
|
11254
|
+
visualSignature?: {
|
|
11255
|
+
type: "typed";
|
|
11256
|
+
text: string;
|
|
11257
|
+
} | {
|
|
11258
|
+
type: "drawn";
|
|
11259
|
+
strokes?: unknown;
|
|
11260
|
+
} | undefined;
|
|
10966
11261
|
};
|
|
10967
11262
|
selector?: string | undefined;
|
|
10968
11263
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -11034,7 +11329,7 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11034
11329
|
}>, z.ZodObject<{
|
|
11035
11330
|
eventType: z.ZodLiteral<"declined">;
|
|
11036
11331
|
statement: z.ZodEffects<z.ZodObject<{
|
|
11037
|
-
statement: z.ZodObject<{
|
|
11332
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
11038
11333
|
agreement: z.ZodObject<{
|
|
11039
11334
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
11040
11335
|
id: z.ZodString;
|
|
@@ -11053,6 +11348,31 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11053
11348
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
11054
11349
|
signedAt: z.ZodString;
|
|
11055
11350
|
previous: z.ZodOptional<z.ZodString>;
|
|
11351
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11352
|
+
type: z.ZodLiteral<"typed">;
|
|
11353
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
11354
|
+
}, "strict", z.ZodTypeAny, {
|
|
11355
|
+
type: "typed";
|
|
11356
|
+
text: string;
|
|
11357
|
+
}, {
|
|
11358
|
+
type: "typed";
|
|
11359
|
+
text: string;
|
|
11360
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
11361
|
+
type: z.ZodLiteral<"drawn">;
|
|
11362
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
11363
|
+
}, "strict", z.ZodTypeAny, {
|
|
11364
|
+
type: "drawn";
|
|
11365
|
+
strokes: number[][];
|
|
11366
|
+
}, {
|
|
11367
|
+
type: "drawn";
|
|
11368
|
+
strokes?: unknown;
|
|
11369
|
+
}>, {
|
|
11370
|
+
type: "drawn";
|
|
11371
|
+
strokes: number[][];
|
|
11372
|
+
}, {
|
|
11373
|
+
type: "drawn";
|
|
11374
|
+
strokes?: unknown;
|
|
11375
|
+
}>]>>;
|
|
11056
11376
|
}, "strict", z.ZodTypeAny, {
|
|
11057
11377
|
agreement: {
|
|
11058
11378
|
id: string;
|
|
@@ -11064,6 +11384,49 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11064
11384
|
signer: string;
|
|
11065
11385
|
signedAt: string;
|
|
11066
11386
|
previous?: string | undefined;
|
|
11387
|
+
visualSignature?: {
|
|
11388
|
+
type: "typed";
|
|
11389
|
+
text: string;
|
|
11390
|
+
} | {
|
|
11391
|
+
type: "drawn";
|
|
11392
|
+
strokes: number[][];
|
|
11393
|
+
} | undefined;
|
|
11394
|
+
}, {
|
|
11395
|
+
agreement: {
|
|
11396
|
+
id: string;
|
|
11397
|
+
originator: string;
|
|
11398
|
+
contentSha256: string;
|
|
11399
|
+
};
|
|
11400
|
+
decision: "accepted" | "declined";
|
|
11401
|
+
signer: string;
|
|
11402
|
+
signedAt: string;
|
|
11403
|
+
terms?: unknown;
|
|
11404
|
+
previous?: string | undefined;
|
|
11405
|
+
visualSignature?: {
|
|
11406
|
+
type: "typed";
|
|
11407
|
+
text: string;
|
|
11408
|
+
} | {
|
|
11409
|
+
type: "drawn";
|
|
11410
|
+
strokes?: unknown;
|
|
11411
|
+
} | undefined;
|
|
11412
|
+
}>, {
|
|
11413
|
+
agreement: {
|
|
11414
|
+
id: string;
|
|
11415
|
+
originator: string;
|
|
11416
|
+
contentSha256: string;
|
|
11417
|
+
};
|
|
11418
|
+
terms: string[];
|
|
11419
|
+
decision: "accepted" | "declined";
|
|
11420
|
+
signer: string;
|
|
11421
|
+
signedAt: string;
|
|
11422
|
+
previous?: string | undefined;
|
|
11423
|
+
visualSignature?: {
|
|
11424
|
+
type: "typed";
|
|
11425
|
+
text: string;
|
|
11426
|
+
} | {
|
|
11427
|
+
type: "drawn";
|
|
11428
|
+
strokes: number[][];
|
|
11429
|
+
} | undefined;
|
|
11067
11430
|
}, {
|
|
11068
11431
|
agreement: {
|
|
11069
11432
|
id: string;
|
|
@@ -11075,6 +11438,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11075
11438
|
signedAt: string;
|
|
11076
11439
|
terms?: unknown;
|
|
11077
11440
|
previous?: string | undefined;
|
|
11441
|
+
visualSignature?: {
|
|
11442
|
+
type: "typed";
|
|
11443
|
+
text: string;
|
|
11444
|
+
} | {
|
|
11445
|
+
type: "drawn";
|
|
11446
|
+
strokes?: unknown;
|
|
11447
|
+
} | undefined;
|
|
11078
11448
|
}>;
|
|
11079
11449
|
signature: z.ZodObject<{
|
|
11080
11450
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -11300,6 +11670,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11300
11670
|
signer: string;
|
|
11301
11671
|
signedAt: string;
|
|
11302
11672
|
previous?: string | undefined;
|
|
11673
|
+
visualSignature?: {
|
|
11674
|
+
type: "typed";
|
|
11675
|
+
text: string;
|
|
11676
|
+
} | {
|
|
11677
|
+
type: "drawn";
|
|
11678
|
+
strokes: number[][];
|
|
11679
|
+
} | undefined;
|
|
11303
11680
|
};
|
|
11304
11681
|
selector?: string | undefined;
|
|
11305
11682
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -11384,6 +11761,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11384
11761
|
signedAt: string;
|
|
11385
11762
|
terms?: unknown;
|
|
11386
11763
|
previous?: string | undefined;
|
|
11764
|
+
visualSignature?: {
|
|
11765
|
+
type: "typed";
|
|
11766
|
+
text: string;
|
|
11767
|
+
} | {
|
|
11768
|
+
type: "drawn";
|
|
11769
|
+
strokes?: unknown;
|
|
11770
|
+
} | undefined;
|
|
11387
11771
|
};
|
|
11388
11772
|
selector?: string | undefined;
|
|
11389
11773
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -11468,6 +11852,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11468
11852
|
signer: string;
|
|
11469
11853
|
signedAt: string;
|
|
11470
11854
|
previous?: string | undefined;
|
|
11855
|
+
visualSignature?: {
|
|
11856
|
+
type: "typed";
|
|
11857
|
+
text: string;
|
|
11858
|
+
} | {
|
|
11859
|
+
type: "drawn";
|
|
11860
|
+
strokes: number[][];
|
|
11861
|
+
} | undefined;
|
|
11471
11862
|
};
|
|
11472
11863
|
selector?: string | undefined;
|
|
11473
11864
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -11552,6 +11943,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11552
11943
|
signedAt: string;
|
|
11553
11944
|
terms?: unknown;
|
|
11554
11945
|
previous?: string | undefined;
|
|
11946
|
+
visualSignature?: {
|
|
11947
|
+
type: "typed";
|
|
11948
|
+
text: string;
|
|
11949
|
+
} | {
|
|
11950
|
+
type: "drawn";
|
|
11951
|
+
strokes?: unknown;
|
|
11952
|
+
} | undefined;
|
|
11555
11953
|
};
|
|
11556
11954
|
selector?: string | undefined;
|
|
11557
11955
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -11673,6 +12071,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11673
12071
|
signer: string;
|
|
11674
12072
|
signedAt: string;
|
|
11675
12073
|
previous?: string | undefined;
|
|
12074
|
+
visualSignature?: {
|
|
12075
|
+
type: "typed";
|
|
12076
|
+
text: string;
|
|
12077
|
+
} | {
|
|
12078
|
+
type: "drawn";
|
|
12079
|
+
strokes: number[][];
|
|
12080
|
+
} | undefined;
|
|
11676
12081
|
};
|
|
11677
12082
|
selector?: string | undefined;
|
|
11678
12083
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -11772,6 +12177,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11772
12177
|
signedAt: string;
|
|
11773
12178
|
terms?: unknown;
|
|
11774
12179
|
previous?: string | undefined;
|
|
12180
|
+
visualSignature?: {
|
|
12181
|
+
type: "typed";
|
|
12182
|
+
text: string;
|
|
12183
|
+
} | {
|
|
12184
|
+
type: "drawn";
|
|
12185
|
+
strokes?: unknown;
|
|
12186
|
+
} | undefined;
|
|
11775
12187
|
};
|
|
11776
12188
|
selector?: string | undefined;
|
|
11777
12189
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -11847,7 +12259,7 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11847
12259
|
}>, z.ZodObject<{
|
|
11848
12260
|
eventType: z.ZodLiteral<"agreement_progress">;
|
|
11849
12261
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
11850
|
-
statement: z.ZodObject<{
|
|
12262
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
11851
12263
|
agreement: z.ZodObject<{
|
|
11852
12264
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
11853
12265
|
id: z.ZodString;
|
|
@@ -11866,6 +12278,31 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11866
12278
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
11867
12279
|
signedAt: z.ZodString;
|
|
11868
12280
|
previous: z.ZodOptional<z.ZodString>;
|
|
12281
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
12282
|
+
type: z.ZodLiteral<"typed">;
|
|
12283
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
12284
|
+
}, "strict", z.ZodTypeAny, {
|
|
12285
|
+
type: "typed";
|
|
12286
|
+
text: string;
|
|
12287
|
+
}, {
|
|
12288
|
+
type: "typed";
|
|
12289
|
+
text: string;
|
|
12290
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
12291
|
+
type: z.ZodLiteral<"drawn">;
|
|
12292
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
12293
|
+
}, "strict", z.ZodTypeAny, {
|
|
12294
|
+
type: "drawn";
|
|
12295
|
+
strokes: number[][];
|
|
12296
|
+
}, {
|
|
12297
|
+
type: "drawn";
|
|
12298
|
+
strokes?: unknown;
|
|
12299
|
+
}>, {
|
|
12300
|
+
type: "drawn";
|
|
12301
|
+
strokes: number[][];
|
|
12302
|
+
}, {
|
|
12303
|
+
type: "drawn";
|
|
12304
|
+
strokes?: unknown;
|
|
12305
|
+
}>]>>;
|
|
11869
12306
|
}, "strict", z.ZodTypeAny, {
|
|
11870
12307
|
agreement: {
|
|
11871
12308
|
id: string;
|
|
@@ -11877,6 +12314,49 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11877
12314
|
signer: string;
|
|
11878
12315
|
signedAt: string;
|
|
11879
12316
|
previous?: string | undefined;
|
|
12317
|
+
visualSignature?: {
|
|
12318
|
+
type: "typed";
|
|
12319
|
+
text: string;
|
|
12320
|
+
} | {
|
|
12321
|
+
type: "drawn";
|
|
12322
|
+
strokes: number[][];
|
|
12323
|
+
} | undefined;
|
|
12324
|
+
}, {
|
|
12325
|
+
agreement: {
|
|
12326
|
+
id: string;
|
|
12327
|
+
originator: string;
|
|
12328
|
+
contentSha256: string;
|
|
12329
|
+
};
|
|
12330
|
+
decision: "accepted" | "declined";
|
|
12331
|
+
signer: string;
|
|
12332
|
+
signedAt: string;
|
|
12333
|
+
terms?: unknown;
|
|
12334
|
+
previous?: string | undefined;
|
|
12335
|
+
visualSignature?: {
|
|
12336
|
+
type: "typed";
|
|
12337
|
+
text: string;
|
|
12338
|
+
} | {
|
|
12339
|
+
type: "drawn";
|
|
12340
|
+
strokes?: unknown;
|
|
12341
|
+
} | undefined;
|
|
12342
|
+
}>, {
|
|
12343
|
+
agreement: {
|
|
12344
|
+
id: string;
|
|
12345
|
+
originator: string;
|
|
12346
|
+
contentSha256: string;
|
|
12347
|
+
};
|
|
12348
|
+
terms: string[];
|
|
12349
|
+
decision: "accepted" | "declined";
|
|
12350
|
+
signer: string;
|
|
12351
|
+
signedAt: string;
|
|
12352
|
+
previous?: string | undefined;
|
|
12353
|
+
visualSignature?: {
|
|
12354
|
+
type: "typed";
|
|
12355
|
+
text: string;
|
|
12356
|
+
} | {
|
|
12357
|
+
type: "drawn";
|
|
12358
|
+
strokes: number[][];
|
|
12359
|
+
} | undefined;
|
|
11880
12360
|
}, {
|
|
11881
12361
|
agreement: {
|
|
11882
12362
|
id: string;
|
|
@@ -11888,6 +12368,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
11888
12368
|
signedAt: string;
|
|
11889
12369
|
terms?: unknown;
|
|
11890
12370
|
previous?: string | undefined;
|
|
12371
|
+
visualSignature?: {
|
|
12372
|
+
type: "typed";
|
|
12373
|
+
text: string;
|
|
12374
|
+
} | {
|
|
12375
|
+
type: "drawn";
|
|
12376
|
+
strokes?: unknown;
|
|
12377
|
+
} | undefined;
|
|
11891
12378
|
}>;
|
|
11892
12379
|
signature: z.ZodObject<{
|
|
11893
12380
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -12113,6 +12600,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12113
12600
|
signer: string;
|
|
12114
12601
|
signedAt: string;
|
|
12115
12602
|
previous?: string | undefined;
|
|
12603
|
+
visualSignature?: {
|
|
12604
|
+
type: "typed";
|
|
12605
|
+
text: string;
|
|
12606
|
+
} | {
|
|
12607
|
+
type: "drawn";
|
|
12608
|
+
strokes: number[][];
|
|
12609
|
+
} | undefined;
|
|
12116
12610
|
};
|
|
12117
12611
|
selector?: string | undefined;
|
|
12118
12612
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -12197,6 +12691,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12197
12691
|
signedAt: string;
|
|
12198
12692
|
terms?: unknown;
|
|
12199
12693
|
previous?: string | undefined;
|
|
12694
|
+
visualSignature?: {
|
|
12695
|
+
type: "typed";
|
|
12696
|
+
text: string;
|
|
12697
|
+
} | {
|
|
12698
|
+
type: "drawn";
|
|
12699
|
+
strokes?: unknown;
|
|
12700
|
+
} | undefined;
|
|
12200
12701
|
};
|
|
12201
12702
|
selector?: string | undefined;
|
|
12202
12703
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -12281,6 +12782,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12281
12782
|
signer: string;
|
|
12282
12783
|
signedAt: string;
|
|
12283
12784
|
previous?: string | undefined;
|
|
12785
|
+
visualSignature?: {
|
|
12786
|
+
type: "typed";
|
|
12787
|
+
text: string;
|
|
12788
|
+
} | {
|
|
12789
|
+
type: "drawn";
|
|
12790
|
+
strokes: number[][];
|
|
12791
|
+
} | undefined;
|
|
12284
12792
|
};
|
|
12285
12793
|
selector?: string | undefined;
|
|
12286
12794
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -12365,6 +12873,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12365
12873
|
signedAt: string;
|
|
12366
12874
|
terms?: unknown;
|
|
12367
12875
|
previous?: string | undefined;
|
|
12876
|
+
visualSignature?: {
|
|
12877
|
+
type: "typed";
|
|
12878
|
+
text: string;
|
|
12879
|
+
} | {
|
|
12880
|
+
type: "drawn";
|
|
12881
|
+
strokes?: unknown;
|
|
12882
|
+
} | undefined;
|
|
12368
12883
|
};
|
|
12369
12884
|
selector?: string | undefined;
|
|
12370
12885
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -12449,6 +12964,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12449
12964
|
signer: string;
|
|
12450
12965
|
signedAt: string;
|
|
12451
12966
|
previous?: string | undefined;
|
|
12967
|
+
visualSignature?: {
|
|
12968
|
+
type: "typed";
|
|
12969
|
+
text: string;
|
|
12970
|
+
} | {
|
|
12971
|
+
type: "drawn";
|
|
12972
|
+
strokes: number[][];
|
|
12973
|
+
} | undefined;
|
|
12452
12974
|
};
|
|
12453
12975
|
selector?: string | undefined;
|
|
12454
12976
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -12560,6 +13082,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12560
13082
|
signer: string;
|
|
12561
13083
|
signedAt: string;
|
|
12562
13084
|
previous?: string | undefined;
|
|
13085
|
+
visualSignature?: {
|
|
13086
|
+
type: "typed";
|
|
13087
|
+
text: string;
|
|
13088
|
+
} | {
|
|
13089
|
+
type: "drawn";
|
|
13090
|
+
strokes: number[][];
|
|
13091
|
+
} | undefined;
|
|
12563
13092
|
};
|
|
12564
13093
|
selector?: string | undefined;
|
|
12565
13094
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -12642,7 +13171,7 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12642
13171
|
}>, z.ZodObject<{
|
|
12643
13172
|
eventType: z.ZodLiteral<"agreement_complete">;
|
|
12644
13173
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
12645
|
-
statement: z.ZodObject<{
|
|
13174
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
12646
13175
|
agreement: z.ZodObject<{
|
|
12647
13176
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
12648
13177
|
id: z.ZodString;
|
|
@@ -12661,6 +13190,31 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12661
13190
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
12662
13191
|
signedAt: z.ZodString;
|
|
12663
13192
|
previous: z.ZodOptional<z.ZodString>;
|
|
13193
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
13194
|
+
type: z.ZodLiteral<"typed">;
|
|
13195
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
13196
|
+
}, "strict", z.ZodTypeAny, {
|
|
13197
|
+
type: "typed";
|
|
13198
|
+
text: string;
|
|
13199
|
+
}, {
|
|
13200
|
+
type: "typed";
|
|
13201
|
+
text: string;
|
|
13202
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
13203
|
+
type: z.ZodLiteral<"drawn">;
|
|
13204
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
13205
|
+
}, "strict", z.ZodTypeAny, {
|
|
13206
|
+
type: "drawn";
|
|
13207
|
+
strokes: number[][];
|
|
13208
|
+
}, {
|
|
13209
|
+
type: "drawn";
|
|
13210
|
+
strokes?: unknown;
|
|
13211
|
+
}>, {
|
|
13212
|
+
type: "drawn";
|
|
13213
|
+
strokes: number[][];
|
|
13214
|
+
}, {
|
|
13215
|
+
type: "drawn";
|
|
13216
|
+
strokes?: unknown;
|
|
13217
|
+
}>]>>;
|
|
12664
13218
|
}, "strict", z.ZodTypeAny, {
|
|
12665
13219
|
agreement: {
|
|
12666
13220
|
id: string;
|
|
@@ -12672,6 +13226,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12672
13226
|
signer: string;
|
|
12673
13227
|
signedAt: string;
|
|
12674
13228
|
previous?: string | undefined;
|
|
13229
|
+
visualSignature?: {
|
|
13230
|
+
type: "typed";
|
|
13231
|
+
text: string;
|
|
13232
|
+
} | {
|
|
13233
|
+
type: "drawn";
|
|
13234
|
+
strokes: number[][];
|
|
13235
|
+
} | undefined;
|
|
12675
13236
|
}, {
|
|
12676
13237
|
agreement: {
|
|
12677
13238
|
id: string;
|
|
@@ -12683,6 +13244,49 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12683
13244
|
signedAt: string;
|
|
12684
13245
|
terms?: unknown;
|
|
12685
13246
|
previous?: string | undefined;
|
|
13247
|
+
visualSignature?: {
|
|
13248
|
+
type: "typed";
|
|
13249
|
+
text: string;
|
|
13250
|
+
} | {
|
|
13251
|
+
type: "drawn";
|
|
13252
|
+
strokes?: unknown;
|
|
13253
|
+
} | undefined;
|
|
13254
|
+
}>, {
|
|
13255
|
+
agreement: {
|
|
13256
|
+
id: string;
|
|
13257
|
+
originator: string;
|
|
13258
|
+
contentSha256: string;
|
|
13259
|
+
};
|
|
13260
|
+
terms: string[];
|
|
13261
|
+
decision: "accepted" | "declined";
|
|
13262
|
+
signer: string;
|
|
13263
|
+
signedAt: string;
|
|
13264
|
+
previous?: string | undefined;
|
|
13265
|
+
visualSignature?: {
|
|
13266
|
+
type: "typed";
|
|
13267
|
+
text: string;
|
|
13268
|
+
} | {
|
|
13269
|
+
type: "drawn";
|
|
13270
|
+
strokes: number[][];
|
|
13271
|
+
} | undefined;
|
|
13272
|
+
}, {
|
|
13273
|
+
agreement: {
|
|
13274
|
+
id: string;
|
|
13275
|
+
originator: string;
|
|
13276
|
+
contentSha256: string;
|
|
13277
|
+
};
|
|
13278
|
+
decision: "accepted" | "declined";
|
|
13279
|
+
signer: string;
|
|
13280
|
+
signedAt: string;
|
|
13281
|
+
terms?: unknown;
|
|
13282
|
+
previous?: string | undefined;
|
|
13283
|
+
visualSignature?: {
|
|
13284
|
+
type: "typed";
|
|
13285
|
+
text: string;
|
|
13286
|
+
} | {
|
|
13287
|
+
type: "drawn";
|
|
13288
|
+
strokes?: unknown;
|
|
13289
|
+
} | undefined;
|
|
12686
13290
|
}>;
|
|
12687
13291
|
signature: z.ZodObject<{
|
|
12688
13292
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -12908,6 +13512,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12908
13512
|
signer: string;
|
|
12909
13513
|
signedAt: string;
|
|
12910
13514
|
previous?: string | undefined;
|
|
13515
|
+
visualSignature?: {
|
|
13516
|
+
type: "typed";
|
|
13517
|
+
text: string;
|
|
13518
|
+
} | {
|
|
13519
|
+
type: "drawn";
|
|
13520
|
+
strokes: number[][];
|
|
13521
|
+
} | undefined;
|
|
12911
13522
|
};
|
|
12912
13523
|
selector?: string | undefined;
|
|
12913
13524
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -12992,6 +13603,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
12992
13603
|
signedAt: string;
|
|
12993
13604
|
terms?: unknown;
|
|
12994
13605
|
previous?: string | undefined;
|
|
13606
|
+
visualSignature?: {
|
|
13607
|
+
type: "typed";
|
|
13608
|
+
text: string;
|
|
13609
|
+
} | {
|
|
13610
|
+
type: "drawn";
|
|
13611
|
+
strokes?: unknown;
|
|
13612
|
+
} | undefined;
|
|
12995
13613
|
};
|
|
12996
13614
|
selector?: string | undefined;
|
|
12997
13615
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -13076,6 +13694,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13076
13694
|
signer: string;
|
|
13077
13695
|
signedAt: string;
|
|
13078
13696
|
previous?: string | undefined;
|
|
13697
|
+
visualSignature?: {
|
|
13698
|
+
type: "typed";
|
|
13699
|
+
text: string;
|
|
13700
|
+
} | {
|
|
13701
|
+
type: "drawn";
|
|
13702
|
+
strokes: number[][];
|
|
13703
|
+
} | undefined;
|
|
13079
13704
|
};
|
|
13080
13705
|
selector?: string | undefined;
|
|
13081
13706
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13160,6 +13785,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13160
13785
|
signedAt: string;
|
|
13161
13786
|
terms?: unknown;
|
|
13162
13787
|
previous?: string | undefined;
|
|
13788
|
+
visualSignature?: {
|
|
13789
|
+
type: "typed";
|
|
13790
|
+
text: string;
|
|
13791
|
+
} | {
|
|
13792
|
+
type: "drawn";
|
|
13793
|
+
strokes?: unknown;
|
|
13794
|
+
} | undefined;
|
|
13163
13795
|
};
|
|
13164
13796
|
selector?: string | undefined;
|
|
13165
13797
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -13244,6 +13876,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13244
13876
|
signer: string;
|
|
13245
13877
|
signedAt: string;
|
|
13246
13878
|
previous?: string | undefined;
|
|
13879
|
+
visualSignature?: {
|
|
13880
|
+
type: "typed";
|
|
13881
|
+
text: string;
|
|
13882
|
+
} | {
|
|
13883
|
+
type: "drawn";
|
|
13884
|
+
strokes: number[][];
|
|
13885
|
+
} | undefined;
|
|
13247
13886
|
};
|
|
13248
13887
|
selector?: string | undefined;
|
|
13249
13888
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13355,6 +13994,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13355
13994
|
signer: string;
|
|
13356
13995
|
signedAt: string;
|
|
13357
13996
|
previous?: string | undefined;
|
|
13997
|
+
visualSignature?: {
|
|
13998
|
+
type: "typed";
|
|
13999
|
+
text: string;
|
|
14000
|
+
} | {
|
|
14001
|
+
type: "drawn";
|
|
14002
|
+
strokes: number[][];
|
|
14003
|
+
} | undefined;
|
|
13358
14004
|
};
|
|
13359
14005
|
selector?: string | undefined;
|
|
13360
14006
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13461,6 +14107,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13461
14107
|
signer: string;
|
|
13462
14108
|
signedAt: string;
|
|
13463
14109
|
previous?: string | undefined;
|
|
14110
|
+
visualSignature?: {
|
|
14111
|
+
type: "typed";
|
|
14112
|
+
text: string;
|
|
14113
|
+
} | {
|
|
14114
|
+
type: "drawn";
|
|
14115
|
+
strokes: number[][];
|
|
14116
|
+
} | undefined;
|
|
13464
14117
|
};
|
|
13465
14118
|
selector?: string | undefined;
|
|
13466
14119
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13556,6 +14209,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13556
14209
|
signer: string;
|
|
13557
14210
|
signedAt: string;
|
|
13558
14211
|
previous?: string | undefined;
|
|
14212
|
+
visualSignature?: {
|
|
14213
|
+
type: "typed";
|
|
14214
|
+
text: string;
|
|
14215
|
+
} | {
|
|
14216
|
+
type: "drawn";
|
|
14217
|
+
strokes: number[][];
|
|
14218
|
+
} | undefined;
|
|
13559
14219
|
};
|
|
13560
14220
|
selector?: string | undefined;
|
|
13561
14221
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13655,6 +14315,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13655
14315
|
signer: string;
|
|
13656
14316
|
signedAt: string;
|
|
13657
14317
|
previous?: string | undefined;
|
|
14318
|
+
visualSignature?: {
|
|
14319
|
+
type: "typed";
|
|
14320
|
+
text: string;
|
|
14321
|
+
} | {
|
|
14322
|
+
type: "drawn";
|
|
14323
|
+
strokes: number[][];
|
|
14324
|
+
} | undefined;
|
|
13658
14325
|
};
|
|
13659
14326
|
selector?: string | undefined;
|
|
13660
14327
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13750,6 +14417,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13750
14417
|
signer: string;
|
|
13751
14418
|
signedAt: string;
|
|
13752
14419
|
previous?: string | undefined;
|
|
14420
|
+
visualSignature?: {
|
|
14421
|
+
type: "typed";
|
|
14422
|
+
text: string;
|
|
14423
|
+
} | {
|
|
14424
|
+
type: "drawn";
|
|
14425
|
+
strokes: number[][];
|
|
14426
|
+
} | undefined;
|
|
13753
14427
|
};
|
|
13754
14428
|
selector?: string | undefined;
|
|
13755
14429
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -13845,6 +14519,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13845
14519
|
signedAt: string;
|
|
13846
14520
|
terms?: unknown;
|
|
13847
14521
|
previous?: string | undefined;
|
|
14522
|
+
visualSignature?: {
|
|
14523
|
+
type: "typed";
|
|
14524
|
+
text: string;
|
|
14525
|
+
} | {
|
|
14526
|
+
type: "drawn";
|
|
14527
|
+
strokes?: unknown;
|
|
14528
|
+
} | undefined;
|
|
13848
14529
|
};
|
|
13849
14530
|
selector?: string | undefined;
|
|
13850
14531
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -13940,6 +14621,13 @@ export declare const BtpAgreementEventSchema: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
13940
14621
|
signedAt: string;
|
|
13941
14622
|
terms?: unknown;
|
|
13942
14623
|
previous?: string | undefined;
|
|
14624
|
+
visualSignature?: {
|
|
14625
|
+
type: "typed";
|
|
14626
|
+
text: string;
|
|
14627
|
+
} | {
|
|
14628
|
+
type: "drawn";
|
|
14629
|
+
strokes?: unknown;
|
|
14630
|
+
} | undefined;
|
|
13943
14631
|
};
|
|
13944
14632
|
selector?: string | undefined;
|
|
13945
14633
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -14744,7 +15432,7 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
14744
15432
|
}>, z.ZodEffects<z.ZodDiscriminatedUnion<"eventType", [z.ZodObject<{
|
|
14745
15433
|
eventType: z.ZodLiteral<"accepted">;
|
|
14746
15434
|
statement: z.ZodEffects<z.ZodObject<{
|
|
14747
|
-
statement: z.ZodObject<{
|
|
15435
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
14748
15436
|
agreement: z.ZodObject<{
|
|
14749
15437
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
14750
15438
|
id: z.ZodString;
|
|
@@ -14763,6 +15451,31 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
14763
15451
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
14764
15452
|
signedAt: z.ZodString;
|
|
14765
15453
|
previous: z.ZodOptional<z.ZodString>;
|
|
15454
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
15455
|
+
type: z.ZodLiteral<"typed">;
|
|
15456
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
15457
|
+
}, "strict", z.ZodTypeAny, {
|
|
15458
|
+
type: "typed";
|
|
15459
|
+
text: string;
|
|
15460
|
+
}, {
|
|
15461
|
+
type: "typed";
|
|
15462
|
+
text: string;
|
|
15463
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
15464
|
+
type: z.ZodLiteral<"drawn">;
|
|
15465
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
15466
|
+
}, "strict", z.ZodTypeAny, {
|
|
15467
|
+
type: "drawn";
|
|
15468
|
+
strokes: number[][];
|
|
15469
|
+
}, {
|
|
15470
|
+
type: "drawn";
|
|
15471
|
+
strokes?: unknown;
|
|
15472
|
+
}>, {
|
|
15473
|
+
type: "drawn";
|
|
15474
|
+
strokes: number[][];
|
|
15475
|
+
}, {
|
|
15476
|
+
type: "drawn";
|
|
15477
|
+
strokes?: unknown;
|
|
15478
|
+
}>]>>;
|
|
14766
15479
|
}, "strict", z.ZodTypeAny, {
|
|
14767
15480
|
agreement: {
|
|
14768
15481
|
id: string;
|
|
@@ -14774,6 +15487,49 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
14774
15487
|
signer: string;
|
|
14775
15488
|
signedAt: string;
|
|
14776
15489
|
previous?: string | undefined;
|
|
15490
|
+
visualSignature?: {
|
|
15491
|
+
type: "typed";
|
|
15492
|
+
text: string;
|
|
15493
|
+
} | {
|
|
15494
|
+
type: "drawn";
|
|
15495
|
+
strokes: number[][];
|
|
15496
|
+
} | undefined;
|
|
15497
|
+
}, {
|
|
15498
|
+
agreement: {
|
|
15499
|
+
id: string;
|
|
15500
|
+
originator: string;
|
|
15501
|
+
contentSha256: string;
|
|
15502
|
+
};
|
|
15503
|
+
decision: "accepted" | "declined";
|
|
15504
|
+
signer: string;
|
|
15505
|
+
signedAt: string;
|
|
15506
|
+
terms?: unknown;
|
|
15507
|
+
previous?: string | undefined;
|
|
15508
|
+
visualSignature?: {
|
|
15509
|
+
type: "typed";
|
|
15510
|
+
text: string;
|
|
15511
|
+
} | {
|
|
15512
|
+
type: "drawn";
|
|
15513
|
+
strokes?: unknown;
|
|
15514
|
+
} | undefined;
|
|
15515
|
+
}>, {
|
|
15516
|
+
agreement: {
|
|
15517
|
+
id: string;
|
|
15518
|
+
originator: string;
|
|
15519
|
+
contentSha256: string;
|
|
15520
|
+
};
|
|
15521
|
+
terms: string[];
|
|
15522
|
+
decision: "accepted" | "declined";
|
|
15523
|
+
signer: string;
|
|
15524
|
+
signedAt: string;
|
|
15525
|
+
previous?: string | undefined;
|
|
15526
|
+
visualSignature?: {
|
|
15527
|
+
type: "typed";
|
|
15528
|
+
text: string;
|
|
15529
|
+
} | {
|
|
15530
|
+
type: "drawn";
|
|
15531
|
+
strokes: number[][];
|
|
15532
|
+
} | undefined;
|
|
14777
15533
|
}, {
|
|
14778
15534
|
agreement: {
|
|
14779
15535
|
id: string;
|
|
@@ -14785,6 +15541,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
14785
15541
|
signedAt: string;
|
|
14786
15542
|
terms?: unknown;
|
|
14787
15543
|
previous?: string | undefined;
|
|
15544
|
+
visualSignature?: {
|
|
15545
|
+
type: "typed";
|
|
15546
|
+
text: string;
|
|
15547
|
+
} | {
|
|
15548
|
+
type: "drawn";
|
|
15549
|
+
strokes?: unknown;
|
|
15550
|
+
} | undefined;
|
|
14788
15551
|
}>;
|
|
14789
15552
|
signature: z.ZodObject<{
|
|
14790
15553
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -15010,6 +15773,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15010
15773
|
signer: string;
|
|
15011
15774
|
signedAt: string;
|
|
15012
15775
|
previous?: string | undefined;
|
|
15776
|
+
visualSignature?: {
|
|
15777
|
+
type: "typed";
|
|
15778
|
+
text: string;
|
|
15779
|
+
} | {
|
|
15780
|
+
type: "drawn";
|
|
15781
|
+
strokes: number[][];
|
|
15782
|
+
} | undefined;
|
|
15013
15783
|
};
|
|
15014
15784
|
selector?: string | undefined;
|
|
15015
15785
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -15094,6 +15864,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15094
15864
|
signedAt: string;
|
|
15095
15865
|
terms?: unknown;
|
|
15096
15866
|
previous?: string | undefined;
|
|
15867
|
+
visualSignature?: {
|
|
15868
|
+
type: "typed";
|
|
15869
|
+
text: string;
|
|
15870
|
+
} | {
|
|
15871
|
+
type: "drawn";
|
|
15872
|
+
strokes?: unknown;
|
|
15873
|
+
} | undefined;
|
|
15097
15874
|
};
|
|
15098
15875
|
selector?: string | undefined;
|
|
15099
15876
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -15178,6 +15955,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15178
15955
|
signer: string;
|
|
15179
15956
|
signedAt: string;
|
|
15180
15957
|
previous?: string | undefined;
|
|
15958
|
+
visualSignature?: {
|
|
15959
|
+
type: "typed";
|
|
15960
|
+
text: string;
|
|
15961
|
+
} | {
|
|
15962
|
+
type: "drawn";
|
|
15963
|
+
strokes: number[][];
|
|
15964
|
+
} | undefined;
|
|
15181
15965
|
};
|
|
15182
15966
|
selector?: string | undefined;
|
|
15183
15967
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -15262,6 +16046,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15262
16046
|
signedAt: string;
|
|
15263
16047
|
terms?: unknown;
|
|
15264
16048
|
previous?: string | undefined;
|
|
16049
|
+
visualSignature?: {
|
|
16050
|
+
type: "typed";
|
|
16051
|
+
text: string;
|
|
16052
|
+
} | {
|
|
16053
|
+
type: "drawn";
|
|
16054
|
+
strokes?: unknown;
|
|
16055
|
+
} | undefined;
|
|
15265
16056
|
};
|
|
15266
16057
|
selector?: string | undefined;
|
|
15267
16058
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -15373,6 +16164,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15373
16164
|
signer: string;
|
|
15374
16165
|
signedAt: string;
|
|
15375
16166
|
previous?: string | undefined;
|
|
16167
|
+
visualSignature?: {
|
|
16168
|
+
type: "typed";
|
|
16169
|
+
text: string;
|
|
16170
|
+
} | {
|
|
16171
|
+
type: "drawn";
|
|
16172
|
+
strokes: number[][];
|
|
16173
|
+
} | undefined;
|
|
15376
16174
|
};
|
|
15377
16175
|
selector?: string | undefined;
|
|
15378
16176
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -15468,6 +16266,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15468
16266
|
signedAt: string;
|
|
15469
16267
|
terms?: unknown;
|
|
15470
16268
|
previous?: string | undefined;
|
|
16269
|
+
visualSignature?: {
|
|
16270
|
+
type: "typed";
|
|
16271
|
+
text: string;
|
|
16272
|
+
} | {
|
|
16273
|
+
type: "drawn";
|
|
16274
|
+
strokes?: unknown;
|
|
16275
|
+
} | undefined;
|
|
15471
16276
|
};
|
|
15472
16277
|
selector?: string | undefined;
|
|
15473
16278
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -15539,7 +16344,7 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15539
16344
|
}>, z.ZodObject<{
|
|
15540
16345
|
eventType: z.ZodLiteral<"declined">;
|
|
15541
16346
|
statement: z.ZodEffects<z.ZodObject<{
|
|
15542
|
-
statement: z.ZodObject<{
|
|
16347
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
15543
16348
|
agreement: z.ZodObject<{
|
|
15544
16349
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
15545
16350
|
id: z.ZodString;
|
|
@@ -15558,6 +16363,31 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15558
16363
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
15559
16364
|
signedAt: z.ZodString;
|
|
15560
16365
|
previous: z.ZodOptional<z.ZodString>;
|
|
16366
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
16367
|
+
type: z.ZodLiteral<"typed">;
|
|
16368
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
16369
|
+
}, "strict", z.ZodTypeAny, {
|
|
16370
|
+
type: "typed";
|
|
16371
|
+
text: string;
|
|
16372
|
+
}, {
|
|
16373
|
+
type: "typed";
|
|
16374
|
+
text: string;
|
|
16375
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
16376
|
+
type: z.ZodLiteral<"drawn">;
|
|
16377
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
16378
|
+
}, "strict", z.ZodTypeAny, {
|
|
16379
|
+
type: "drawn";
|
|
16380
|
+
strokes: number[][];
|
|
16381
|
+
}, {
|
|
16382
|
+
type: "drawn";
|
|
16383
|
+
strokes?: unknown;
|
|
16384
|
+
}>, {
|
|
16385
|
+
type: "drawn";
|
|
16386
|
+
strokes: number[][];
|
|
16387
|
+
}, {
|
|
16388
|
+
type: "drawn";
|
|
16389
|
+
strokes?: unknown;
|
|
16390
|
+
}>]>>;
|
|
15561
16391
|
}, "strict", z.ZodTypeAny, {
|
|
15562
16392
|
agreement: {
|
|
15563
16393
|
id: string;
|
|
@@ -15569,6 +16399,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15569
16399
|
signer: string;
|
|
15570
16400
|
signedAt: string;
|
|
15571
16401
|
previous?: string | undefined;
|
|
16402
|
+
visualSignature?: {
|
|
16403
|
+
type: "typed";
|
|
16404
|
+
text: string;
|
|
16405
|
+
} | {
|
|
16406
|
+
type: "drawn";
|
|
16407
|
+
strokes: number[][];
|
|
16408
|
+
} | undefined;
|
|
15572
16409
|
}, {
|
|
15573
16410
|
agreement: {
|
|
15574
16411
|
id: string;
|
|
@@ -15580,6 +16417,49 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15580
16417
|
signedAt: string;
|
|
15581
16418
|
terms?: unknown;
|
|
15582
16419
|
previous?: string | undefined;
|
|
16420
|
+
visualSignature?: {
|
|
16421
|
+
type: "typed";
|
|
16422
|
+
text: string;
|
|
16423
|
+
} | {
|
|
16424
|
+
type: "drawn";
|
|
16425
|
+
strokes?: unknown;
|
|
16426
|
+
} | undefined;
|
|
16427
|
+
}>, {
|
|
16428
|
+
agreement: {
|
|
16429
|
+
id: string;
|
|
16430
|
+
originator: string;
|
|
16431
|
+
contentSha256: string;
|
|
16432
|
+
};
|
|
16433
|
+
terms: string[];
|
|
16434
|
+
decision: "accepted" | "declined";
|
|
16435
|
+
signer: string;
|
|
16436
|
+
signedAt: string;
|
|
16437
|
+
previous?: string | undefined;
|
|
16438
|
+
visualSignature?: {
|
|
16439
|
+
type: "typed";
|
|
16440
|
+
text: string;
|
|
16441
|
+
} | {
|
|
16442
|
+
type: "drawn";
|
|
16443
|
+
strokes: number[][];
|
|
16444
|
+
} | undefined;
|
|
16445
|
+
}, {
|
|
16446
|
+
agreement: {
|
|
16447
|
+
id: string;
|
|
16448
|
+
originator: string;
|
|
16449
|
+
contentSha256: string;
|
|
16450
|
+
};
|
|
16451
|
+
decision: "accepted" | "declined";
|
|
16452
|
+
signer: string;
|
|
16453
|
+
signedAt: string;
|
|
16454
|
+
terms?: unknown;
|
|
16455
|
+
previous?: string | undefined;
|
|
16456
|
+
visualSignature?: {
|
|
16457
|
+
type: "typed";
|
|
16458
|
+
text: string;
|
|
16459
|
+
} | {
|
|
16460
|
+
type: "drawn";
|
|
16461
|
+
strokes?: unknown;
|
|
16462
|
+
} | undefined;
|
|
15583
16463
|
}>;
|
|
15584
16464
|
signature: z.ZodObject<{
|
|
15585
16465
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -15805,6 +16685,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15805
16685
|
signer: string;
|
|
15806
16686
|
signedAt: string;
|
|
15807
16687
|
previous?: string | undefined;
|
|
16688
|
+
visualSignature?: {
|
|
16689
|
+
type: "typed";
|
|
16690
|
+
text: string;
|
|
16691
|
+
} | {
|
|
16692
|
+
type: "drawn";
|
|
16693
|
+
strokes: number[][];
|
|
16694
|
+
} | undefined;
|
|
15808
16695
|
};
|
|
15809
16696
|
selector?: string | undefined;
|
|
15810
16697
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -15889,6 +16776,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15889
16776
|
signedAt: string;
|
|
15890
16777
|
terms?: unknown;
|
|
15891
16778
|
previous?: string | undefined;
|
|
16779
|
+
visualSignature?: {
|
|
16780
|
+
type: "typed";
|
|
16781
|
+
text: string;
|
|
16782
|
+
} | {
|
|
16783
|
+
type: "drawn";
|
|
16784
|
+
strokes?: unknown;
|
|
16785
|
+
} | undefined;
|
|
15892
16786
|
};
|
|
15893
16787
|
selector?: string | undefined;
|
|
15894
16788
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -15973,6 +16867,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
15973
16867
|
signer: string;
|
|
15974
16868
|
signedAt: string;
|
|
15975
16869
|
previous?: string | undefined;
|
|
16870
|
+
visualSignature?: {
|
|
16871
|
+
type: "typed";
|
|
16872
|
+
text: string;
|
|
16873
|
+
} | {
|
|
16874
|
+
type: "drawn";
|
|
16875
|
+
strokes: number[][];
|
|
16876
|
+
} | undefined;
|
|
15976
16877
|
};
|
|
15977
16878
|
selector?: string | undefined;
|
|
15978
16879
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -16057,6 +16958,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16057
16958
|
signedAt: string;
|
|
16058
16959
|
terms?: unknown;
|
|
16059
16960
|
previous?: string | undefined;
|
|
16961
|
+
visualSignature?: {
|
|
16962
|
+
type: "typed";
|
|
16963
|
+
text: string;
|
|
16964
|
+
} | {
|
|
16965
|
+
type: "drawn";
|
|
16966
|
+
strokes?: unknown;
|
|
16967
|
+
} | undefined;
|
|
16060
16968
|
};
|
|
16061
16969
|
selector?: string | undefined;
|
|
16062
16970
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -16178,6 +17086,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16178
17086
|
signer: string;
|
|
16179
17087
|
signedAt: string;
|
|
16180
17088
|
previous?: string | undefined;
|
|
17089
|
+
visualSignature?: {
|
|
17090
|
+
type: "typed";
|
|
17091
|
+
text: string;
|
|
17092
|
+
} | {
|
|
17093
|
+
type: "drawn";
|
|
17094
|
+
strokes: number[][];
|
|
17095
|
+
} | undefined;
|
|
16181
17096
|
};
|
|
16182
17097
|
selector?: string | undefined;
|
|
16183
17098
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -16277,6 +17192,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16277
17192
|
signedAt: string;
|
|
16278
17193
|
terms?: unknown;
|
|
16279
17194
|
previous?: string | undefined;
|
|
17195
|
+
visualSignature?: {
|
|
17196
|
+
type: "typed";
|
|
17197
|
+
text: string;
|
|
17198
|
+
} | {
|
|
17199
|
+
type: "drawn";
|
|
17200
|
+
strokes?: unknown;
|
|
17201
|
+
} | undefined;
|
|
16280
17202
|
};
|
|
16281
17203
|
selector?: string | undefined;
|
|
16282
17204
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -16352,7 +17274,7 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16352
17274
|
}>, z.ZodObject<{
|
|
16353
17275
|
eventType: z.ZodLiteral<"agreement_progress">;
|
|
16354
17276
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
16355
|
-
statement: z.ZodObject<{
|
|
17277
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
16356
17278
|
agreement: z.ZodObject<{
|
|
16357
17279
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
16358
17280
|
id: z.ZodString;
|
|
@@ -16371,6 +17293,31 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16371
17293
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
16372
17294
|
signedAt: z.ZodString;
|
|
16373
17295
|
previous: z.ZodOptional<z.ZodString>;
|
|
17296
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
17297
|
+
type: z.ZodLiteral<"typed">;
|
|
17298
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
17299
|
+
}, "strict", z.ZodTypeAny, {
|
|
17300
|
+
type: "typed";
|
|
17301
|
+
text: string;
|
|
17302
|
+
}, {
|
|
17303
|
+
type: "typed";
|
|
17304
|
+
text: string;
|
|
17305
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
17306
|
+
type: z.ZodLiteral<"drawn">;
|
|
17307
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
17308
|
+
}, "strict", z.ZodTypeAny, {
|
|
17309
|
+
type: "drawn";
|
|
17310
|
+
strokes: number[][];
|
|
17311
|
+
}, {
|
|
17312
|
+
type: "drawn";
|
|
17313
|
+
strokes?: unknown;
|
|
17314
|
+
}>, {
|
|
17315
|
+
type: "drawn";
|
|
17316
|
+
strokes: number[][];
|
|
17317
|
+
}, {
|
|
17318
|
+
type: "drawn";
|
|
17319
|
+
strokes?: unknown;
|
|
17320
|
+
}>]>>;
|
|
16374
17321
|
}, "strict", z.ZodTypeAny, {
|
|
16375
17322
|
agreement: {
|
|
16376
17323
|
id: string;
|
|
@@ -16382,6 +17329,49 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16382
17329
|
signer: string;
|
|
16383
17330
|
signedAt: string;
|
|
16384
17331
|
previous?: string | undefined;
|
|
17332
|
+
visualSignature?: {
|
|
17333
|
+
type: "typed";
|
|
17334
|
+
text: string;
|
|
17335
|
+
} | {
|
|
17336
|
+
type: "drawn";
|
|
17337
|
+
strokes: number[][];
|
|
17338
|
+
} | undefined;
|
|
17339
|
+
}, {
|
|
17340
|
+
agreement: {
|
|
17341
|
+
id: string;
|
|
17342
|
+
originator: string;
|
|
17343
|
+
contentSha256: string;
|
|
17344
|
+
};
|
|
17345
|
+
decision: "accepted" | "declined";
|
|
17346
|
+
signer: string;
|
|
17347
|
+
signedAt: string;
|
|
17348
|
+
terms?: unknown;
|
|
17349
|
+
previous?: string | undefined;
|
|
17350
|
+
visualSignature?: {
|
|
17351
|
+
type: "typed";
|
|
17352
|
+
text: string;
|
|
17353
|
+
} | {
|
|
17354
|
+
type: "drawn";
|
|
17355
|
+
strokes?: unknown;
|
|
17356
|
+
} | undefined;
|
|
17357
|
+
}>, {
|
|
17358
|
+
agreement: {
|
|
17359
|
+
id: string;
|
|
17360
|
+
originator: string;
|
|
17361
|
+
contentSha256: string;
|
|
17362
|
+
};
|
|
17363
|
+
terms: string[];
|
|
17364
|
+
decision: "accepted" | "declined";
|
|
17365
|
+
signer: string;
|
|
17366
|
+
signedAt: string;
|
|
17367
|
+
previous?: string | undefined;
|
|
17368
|
+
visualSignature?: {
|
|
17369
|
+
type: "typed";
|
|
17370
|
+
text: string;
|
|
17371
|
+
} | {
|
|
17372
|
+
type: "drawn";
|
|
17373
|
+
strokes: number[][];
|
|
17374
|
+
} | undefined;
|
|
16385
17375
|
}, {
|
|
16386
17376
|
agreement: {
|
|
16387
17377
|
id: string;
|
|
@@ -16393,6 +17383,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16393
17383
|
signedAt: string;
|
|
16394
17384
|
terms?: unknown;
|
|
16395
17385
|
previous?: string | undefined;
|
|
17386
|
+
visualSignature?: {
|
|
17387
|
+
type: "typed";
|
|
17388
|
+
text: string;
|
|
17389
|
+
} | {
|
|
17390
|
+
type: "drawn";
|
|
17391
|
+
strokes?: unknown;
|
|
17392
|
+
} | undefined;
|
|
16396
17393
|
}>;
|
|
16397
17394
|
signature: z.ZodObject<{
|
|
16398
17395
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -16618,6 +17615,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16618
17615
|
signer: string;
|
|
16619
17616
|
signedAt: string;
|
|
16620
17617
|
previous?: string | undefined;
|
|
17618
|
+
visualSignature?: {
|
|
17619
|
+
type: "typed";
|
|
17620
|
+
text: string;
|
|
17621
|
+
} | {
|
|
17622
|
+
type: "drawn";
|
|
17623
|
+
strokes: number[][];
|
|
17624
|
+
} | undefined;
|
|
16621
17625
|
};
|
|
16622
17626
|
selector?: string | undefined;
|
|
16623
17627
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -16702,6 +17706,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16702
17706
|
signedAt: string;
|
|
16703
17707
|
terms?: unknown;
|
|
16704
17708
|
previous?: string | undefined;
|
|
17709
|
+
visualSignature?: {
|
|
17710
|
+
type: "typed";
|
|
17711
|
+
text: string;
|
|
17712
|
+
} | {
|
|
17713
|
+
type: "drawn";
|
|
17714
|
+
strokes?: unknown;
|
|
17715
|
+
} | undefined;
|
|
16705
17716
|
};
|
|
16706
17717
|
selector?: string | undefined;
|
|
16707
17718
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -16786,6 +17797,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16786
17797
|
signer: string;
|
|
16787
17798
|
signedAt: string;
|
|
16788
17799
|
previous?: string | undefined;
|
|
17800
|
+
visualSignature?: {
|
|
17801
|
+
type: "typed";
|
|
17802
|
+
text: string;
|
|
17803
|
+
} | {
|
|
17804
|
+
type: "drawn";
|
|
17805
|
+
strokes: number[][];
|
|
17806
|
+
} | undefined;
|
|
16789
17807
|
};
|
|
16790
17808
|
selector?: string | undefined;
|
|
16791
17809
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -16870,6 +17888,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16870
17888
|
signedAt: string;
|
|
16871
17889
|
terms?: unknown;
|
|
16872
17890
|
previous?: string | undefined;
|
|
17891
|
+
visualSignature?: {
|
|
17892
|
+
type: "typed";
|
|
17893
|
+
text: string;
|
|
17894
|
+
} | {
|
|
17895
|
+
type: "drawn";
|
|
17896
|
+
strokes?: unknown;
|
|
17897
|
+
} | undefined;
|
|
16873
17898
|
};
|
|
16874
17899
|
selector?: string | undefined;
|
|
16875
17900
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -16954,6 +17979,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
16954
17979
|
signer: string;
|
|
16955
17980
|
signedAt: string;
|
|
16956
17981
|
previous?: string | undefined;
|
|
17982
|
+
visualSignature?: {
|
|
17983
|
+
type: "typed";
|
|
17984
|
+
text: string;
|
|
17985
|
+
} | {
|
|
17986
|
+
type: "drawn";
|
|
17987
|
+
strokes: number[][];
|
|
17988
|
+
} | undefined;
|
|
16957
17989
|
};
|
|
16958
17990
|
selector?: string | undefined;
|
|
16959
17991
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17065,6 +18097,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17065
18097
|
signer: string;
|
|
17066
18098
|
signedAt: string;
|
|
17067
18099
|
previous?: string | undefined;
|
|
18100
|
+
visualSignature?: {
|
|
18101
|
+
type: "typed";
|
|
18102
|
+
text: string;
|
|
18103
|
+
} | {
|
|
18104
|
+
type: "drawn";
|
|
18105
|
+
strokes: number[][];
|
|
18106
|
+
} | undefined;
|
|
17068
18107
|
};
|
|
17069
18108
|
selector?: string | undefined;
|
|
17070
18109
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17147,7 +18186,7 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17147
18186
|
}>, z.ZodObject<{
|
|
17148
18187
|
eventType: z.ZodLiteral<"agreement_complete">;
|
|
17149
18188
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
17150
|
-
statement: z.ZodObject<{
|
|
18189
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
17151
18190
|
agreement: z.ZodObject<{
|
|
17152
18191
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
17153
18192
|
id: z.ZodString;
|
|
@@ -17166,6 +18205,31 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17166
18205
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
17167
18206
|
signedAt: z.ZodString;
|
|
17168
18207
|
previous: z.ZodOptional<z.ZodString>;
|
|
18208
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
18209
|
+
type: z.ZodLiteral<"typed">;
|
|
18210
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
18211
|
+
}, "strict", z.ZodTypeAny, {
|
|
18212
|
+
type: "typed";
|
|
18213
|
+
text: string;
|
|
18214
|
+
}, {
|
|
18215
|
+
type: "typed";
|
|
18216
|
+
text: string;
|
|
18217
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
18218
|
+
type: z.ZodLiteral<"drawn">;
|
|
18219
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
18220
|
+
}, "strict", z.ZodTypeAny, {
|
|
18221
|
+
type: "drawn";
|
|
18222
|
+
strokes: number[][];
|
|
18223
|
+
}, {
|
|
18224
|
+
type: "drawn";
|
|
18225
|
+
strokes?: unknown;
|
|
18226
|
+
}>, {
|
|
18227
|
+
type: "drawn";
|
|
18228
|
+
strokes: number[][];
|
|
18229
|
+
}, {
|
|
18230
|
+
type: "drawn";
|
|
18231
|
+
strokes?: unknown;
|
|
18232
|
+
}>]>>;
|
|
17169
18233
|
}, "strict", z.ZodTypeAny, {
|
|
17170
18234
|
agreement: {
|
|
17171
18235
|
id: string;
|
|
@@ -17177,6 +18241,49 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17177
18241
|
signer: string;
|
|
17178
18242
|
signedAt: string;
|
|
17179
18243
|
previous?: string | undefined;
|
|
18244
|
+
visualSignature?: {
|
|
18245
|
+
type: "typed";
|
|
18246
|
+
text: string;
|
|
18247
|
+
} | {
|
|
18248
|
+
type: "drawn";
|
|
18249
|
+
strokes: number[][];
|
|
18250
|
+
} | undefined;
|
|
18251
|
+
}, {
|
|
18252
|
+
agreement: {
|
|
18253
|
+
id: string;
|
|
18254
|
+
originator: string;
|
|
18255
|
+
contentSha256: string;
|
|
18256
|
+
};
|
|
18257
|
+
decision: "accepted" | "declined";
|
|
18258
|
+
signer: string;
|
|
18259
|
+
signedAt: string;
|
|
18260
|
+
terms?: unknown;
|
|
18261
|
+
previous?: string | undefined;
|
|
18262
|
+
visualSignature?: {
|
|
18263
|
+
type: "typed";
|
|
18264
|
+
text: string;
|
|
18265
|
+
} | {
|
|
18266
|
+
type: "drawn";
|
|
18267
|
+
strokes?: unknown;
|
|
18268
|
+
} | undefined;
|
|
18269
|
+
}>, {
|
|
18270
|
+
agreement: {
|
|
18271
|
+
id: string;
|
|
18272
|
+
originator: string;
|
|
18273
|
+
contentSha256: string;
|
|
18274
|
+
};
|
|
18275
|
+
terms: string[];
|
|
18276
|
+
decision: "accepted" | "declined";
|
|
18277
|
+
signer: string;
|
|
18278
|
+
signedAt: string;
|
|
18279
|
+
previous?: string | undefined;
|
|
18280
|
+
visualSignature?: {
|
|
18281
|
+
type: "typed";
|
|
18282
|
+
text: string;
|
|
18283
|
+
} | {
|
|
18284
|
+
type: "drawn";
|
|
18285
|
+
strokes: number[][];
|
|
18286
|
+
} | undefined;
|
|
17180
18287
|
}, {
|
|
17181
18288
|
agreement: {
|
|
17182
18289
|
id: string;
|
|
@@ -17188,6 +18295,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17188
18295
|
signedAt: string;
|
|
17189
18296
|
terms?: unknown;
|
|
17190
18297
|
previous?: string | undefined;
|
|
18298
|
+
visualSignature?: {
|
|
18299
|
+
type: "typed";
|
|
18300
|
+
text: string;
|
|
18301
|
+
} | {
|
|
18302
|
+
type: "drawn";
|
|
18303
|
+
strokes?: unknown;
|
|
18304
|
+
} | undefined;
|
|
17191
18305
|
}>;
|
|
17192
18306
|
signature: z.ZodObject<{
|
|
17193
18307
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -17413,6 +18527,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17413
18527
|
signer: string;
|
|
17414
18528
|
signedAt: string;
|
|
17415
18529
|
previous?: string | undefined;
|
|
18530
|
+
visualSignature?: {
|
|
18531
|
+
type: "typed";
|
|
18532
|
+
text: string;
|
|
18533
|
+
} | {
|
|
18534
|
+
type: "drawn";
|
|
18535
|
+
strokes: number[][];
|
|
18536
|
+
} | undefined;
|
|
17416
18537
|
};
|
|
17417
18538
|
selector?: string | undefined;
|
|
17418
18539
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17497,6 +18618,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17497
18618
|
signedAt: string;
|
|
17498
18619
|
terms?: unknown;
|
|
17499
18620
|
previous?: string | undefined;
|
|
18621
|
+
visualSignature?: {
|
|
18622
|
+
type: "typed";
|
|
18623
|
+
text: string;
|
|
18624
|
+
} | {
|
|
18625
|
+
type: "drawn";
|
|
18626
|
+
strokes?: unknown;
|
|
18627
|
+
} | undefined;
|
|
17500
18628
|
};
|
|
17501
18629
|
selector?: string | undefined;
|
|
17502
18630
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -17581,6 +18709,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17581
18709
|
signer: string;
|
|
17582
18710
|
signedAt: string;
|
|
17583
18711
|
previous?: string | undefined;
|
|
18712
|
+
visualSignature?: {
|
|
18713
|
+
type: "typed";
|
|
18714
|
+
text: string;
|
|
18715
|
+
} | {
|
|
18716
|
+
type: "drawn";
|
|
18717
|
+
strokes: number[][];
|
|
18718
|
+
} | undefined;
|
|
17584
18719
|
};
|
|
17585
18720
|
selector?: string | undefined;
|
|
17586
18721
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17665,6 +18800,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17665
18800
|
signedAt: string;
|
|
17666
18801
|
terms?: unknown;
|
|
17667
18802
|
previous?: string | undefined;
|
|
18803
|
+
visualSignature?: {
|
|
18804
|
+
type: "typed";
|
|
18805
|
+
text: string;
|
|
18806
|
+
} | {
|
|
18807
|
+
type: "drawn";
|
|
18808
|
+
strokes?: unknown;
|
|
18809
|
+
} | undefined;
|
|
17668
18810
|
};
|
|
17669
18811
|
selector?: string | undefined;
|
|
17670
18812
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -17749,6 +18891,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17749
18891
|
signer: string;
|
|
17750
18892
|
signedAt: string;
|
|
17751
18893
|
previous?: string | undefined;
|
|
18894
|
+
visualSignature?: {
|
|
18895
|
+
type: "typed";
|
|
18896
|
+
text: string;
|
|
18897
|
+
} | {
|
|
18898
|
+
type: "drawn";
|
|
18899
|
+
strokes: number[][];
|
|
18900
|
+
} | undefined;
|
|
17752
18901
|
};
|
|
17753
18902
|
selector?: string | undefined;
|
|
17754
18903
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17860,6 +19009,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17860
19009
|
signer: string;
|
|
17861
19010
|
signedAt: string;
|
|
17862
19011
|
previous?: string | undefined;
|
|
19012
|
+
visualSignature?: {
|
|
19013
|
+
type: "typed";
|
|
19014
|
+
text: string;
|
|
19015
|
+
} | {
|
|
19016
|
+
type: "drawn";
|
|
19017
|
+
strokes: number[][];
|
|
19018
|
+
} | undefined;
|
|
17863
19019
|
};
|
|
17864
19020
|
selector?: string | undefined;
|
|
17865
19021
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -17966,6 +19122,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
17966
19122
|
signer: string;
|
|
17967
19123
|
signedAt: string;
|
|
17968
19124
|
previous?: string | undefined;
|
|
19125
|
+
visualSignature?: {
|
|
19126
|
+
type: "typed";
|
|
19127
|
+
text: string;
|
|
19128
|
+
} | {
|
|
19129
|
+
type: "drawn";
|
|
19130
|
+
strokes: number[][];
|
|
19131
|
+
} | undefined;
|
|
17969
19132
|
};
|
|
17970
19133
|
selector?: string | undefined;
|
|
17971
19134
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -18061,6 +19224,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
18061
19224
|
signer: string;
|
|
18062
19225
|
signedAt: string;
|
|
18063
19226
|
previous?: string | undefined;
|
|
19227
|
+
visualSignature?: {
|
|
19228
|
+
type: "typed";
|
|
19229
|
+
text: string;
|
|
19230
|
+
} | {
|
|
19231
|
+
type: "drawn";
|
|
19232
|
+
strokes: number[][];
|
|
19233
|
+
} | undefined;
|
|
18064
19234
|
};
|
|
18065
19235
|
selector?: string | undefined;
|
|
18066
19236
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -18160,6 +19330,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
18160
19330
|
signer: string;
|
|
18161
19331
|
signedAt: string;
|
|
18162
19332
|
previous?: string | undefined;
|
|
19333
|
+
visualSignature?: {
|
|
19334
|
+
type: "typed";
|
|
19335
|
+
text: string;
|
|
19336
|
+
} | {
|
|
19337
|
+
type: "drawn";
|
|
19338
|
+
strokes: number[][];
|
|
19339
|
+
} | undefined;
|
|
18163
19340
|
};
|
|
18164
19341
|
selector?: string | undefined;
|
|
18165
19342
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -18255,6 +19432,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
18255
19432
|
signer: string;
|
|
18256
19433
|
signedAt: string;
|
|
18257
19434
|
previous?: string | undefined;
|
|
19435
|
+
visualSignature?: {
|
|
19436
|
+
type: "typed";
|
|
19437
|
+
text: string;
|
|
19438
|
+
} | {
|
|
19439
|
+
type: "drawn";
|
|
19440
|
+
strokes: number[][];
|
|
19441
|
+
} | undefined;
|
|
18258
19442
|
};
|
|
18259
19443
|
selector?: string | undefined;
|
|
18260
19444
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -18350,6 +19534,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
18350
19534
|
signedAt: string;
|
|
18351
19535
|
terms?: unknown;
|
|
18352
19536
|
previous?: string | undefined;
|
|
19537
|
+
visualSignature?: {
|
|
19538
|
+
type: "typed";
|
|
19539
|
+
text: string;
|
|
19540
|
+
} | {
|
|
19541
|
+
type: "drawn";
|
|
19542
|
+
strokes?: unknown;
|
|
19543
|
+
} | undefined;
|
|
18353
19544
|
};
|
|
18354
19545
|
selector?: string | undefined;
|
|
18355
19546
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -18445,6 +19636,13 @@ export declare const BtpEventSchema: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminated
|
|
|
18445
19636
|
signedAt: string;
|
|
18446
19637
|
terms?: unknown;
|
|
18447
19638
|
previous?: string | undefined;
|
|
19639
|
+
visualSignature?: {
|
|
19640
|
+
type: "typed";
|
|
19641
|
+
text: string;
|
|
19642
|
+
} | {
|
|
19643
|
+
type: "drawn";
|
|
19644
|
+
strokes?: unknown;
|
|
19645
|
+
} | undefined;
|
|
18448
19646
|
};
|
|
18449
19647
|
selector?: string | undefined;
|
|
18450
19648
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -19054,7 +20252,7 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19054
20252
|
} | undefined;
|
|
19055
20253
|
}>;
|
|
19056
20254
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
19057
|
-
statement: z.ZodObject<{
|
|
20255
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
19058
20256
|
agreement: z.ZodObject<{
|
|
19059
20257
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
19060
20258
|
id: z.ZodString;
|
|
@@ -19073,6 +20271,31 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19073
20271
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
19074
20272
|
signedAt: z.ZodString;
|
|
19075
20273
|
previous: z.ZodOptional<z.ZodString>;
|
|
20274
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
20275
|
+
type: z.ZodLiteral<"typed">;
|
|
20276
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
20277
|
+
}, "strict", z.ZodTypeAny, {
|
|
20278
|
+
type: "typed";
|
|
20279
|
+
text: string;
|
|
20280
|
+
}, {
|
|
20281
|
+
type: "typed";
|
|
20282
|
+
text: string;
|
|
20283
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
20284
|
+
type: z.ZodLiteral<"drawn">;
|
|
20285
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
20286
|
+
}, "strict", z.ZodTypeAny, {
|
|
20287
|
+
type: "drawn";
|
|
20288
|
+
strokes: number[][];
|
|
20289
|
+
}, {
|
|
20290
|
+
type: "drawn";
|
|
20291
|
+
strokes?: unknown;
|
|
20292
|
+
}>, {
|
|
20293
|
+
type: "drawn";
|
|
20294
|
+
strokes: number[][];
|
|
20295
|
+
}, {
|
|
20296
|
+
type: "drawn";
|
|
20297
|
+
strokes?: unknown;
|
|
20298
|
+
}>]>>;
|
|
19076
20299
|
}, "strict", z.ZodTypeAny, {
|
|
19077
20300
|
agreement: {
|
|
19078
20301
|
id: string;
|
|
@@ -19084,6 +20307,49 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19084
20307
|
signer: string;
|
|
19085
20308
|
signedAt: string;
|
|
19086
20309
|
previous?: string | undefined;
|
|
20310
|
+
visualSignature?: {
|
|
20311
|
+
type: "typed";
|
|
20312
|
+
text: string;
|
|
20313
|
+
} | {
|
|
20314
|
+
type: "drawn";
|
|
20315
|
+
strokes: number[][];
|
|
20316
|
+
} | undefined;
|
|
20317
|
+
}, {
|
|
20318
|
+
agreement: {
|
|
20319
|
+
id: string;
|
|
20320
|
+
originator: string;
|
|
20321
|
+
contentSha256: string;
|
|
20322
|
+
};
|
|
20323
|
+
decision: "accepted" | "declined";
|
|
20324
|
+
signer: string;
|
|
20325
|
+
signedAt: string;
|
|
20326
|
+
terms?: unknown;
|
|
20327
|
+
previous?: string | undefined;
|
|
20328
|
+
visualSignature?: {
|
|
20329
|
+
type: "typed";
|
|
20330
|
+
text: string;
|
|
20331
|
+
} | {
|
|
20332
|
+
type: "drawn";
|
|
20333
|
+
strokes?: unknown;
|
|
20334
|
+
} | undefined;
|
|
20335
|
+
}>, {
|
|
20336
|
+
agreement: {
|
|
20337
|
+
id: string;
|
|
20338
|
+
originator: string;
|
|
20339
|
+
contentSha256: string;
|
|
20340
|
+
};
|
|
20341
|
+
terms: string[];
|
|
20342
|
+
decision: "accepted" | "declined";
|
|
20343
|
+
signer: string;
|
|
20344
|
+
signedAt: string;
|
|
20345
|
+
previous?: string | undefined;
|
|
20346
|
+
visualSignature?: {
|
|
20347
|
+
type: "typed";
|
|
20348
|
+
text: string;
|
|
20349
|
+
} | {
|
|
20350
|
+
type: "drawn";
|
|
20351
|
+
strokes: number[][];
|
|
20352
|
+
} | undefined;
|
|
19087
20353
|
}, {
|
|
19088
20354
|
agreement: {
|
|
19089
20355
|
id: string;
|
|
@@ -19095,6 +20361,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19095
20361
|
signedAt: string;
|
|
19096
20362
|
terms?: unknown;
|
|
19097
20363
|
previous?: string | undefined;
|
|
20364
|
+
visualSignature?: {
|
|
20365
|
+
type: "typed";
|
|
20366
|
+
text: string;
|
|
20367
|
+
} | {
|
|
20368
|
+
type: "drawn";
|
|
20369
|
+
strokes?: unknown;
|
|
20370
|
+
} | undefined;
|
|
19098
20371
|
}>;
|
|
19099
20372
|
signature: z.ZodObject<{
|
|
19100
20373
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -19320,6 +20593,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19320
20593
|
signer: string;
|
|
19321
20594
|
signedAt: string;
|
|
19322
20595
|
previous?: string | undefined;
|
|
20596
|
+
visualSignature?: {
|
|
20597
|
+
type: "typed";
|
|
20598
|
+
text: string;
|
|
20599
|
+
} | {
|
|
20600
|
+
type: "drawn";
|
|
20601
|
+
strokes: number[][];
|
|
20602
|
+
} | undefined;
|
|
19323
20603
|
};
|
|
19324
20604
|
selector?: string | undefined;
|
|
19325
20605
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -19404,6 +20684,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19404
20684
|
signedAt: string;
|
|
19405
20685
|
terms?: unknown;
|
|
19406
20686
|
previous?: string | undefined;
|
|
20687
|
+
visualSignature?: {
|
|
20688
|
+
type: "typed";
|
|
20689
|
+
text: string;
|
|
20690
|
+
} | {
|
|
20691
|
+
type: "drawn";
|
|
20692
|
+
strokes?: unknown;
|
|
20693
|
+
} | undefined;
|
|
19407
20694
|
};
|
|
19408
20695
|
selector?: string | undefined;
|
|
19409
20696
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -19488,6 +20775,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19488
20775
|
signer: string;
|
|
19489
20776
|
signedAt: string;
|
|
19490
20777
|
previous?: string | undefined;
|
|
20778
|
+
visualSignature?: {
|
|
20779
|
+
type: "typed";
|
|
20780
|
+
text: string;
|
|
20781
|
+
} | {
|
|
20782
|
+
type: "drawn";
|
|
20783
|
+
strokes: number[][];
|
|
20784
|
+
} | undefined;
|
|
19491
20785
|
};
|
|
19492
20786
|
selector?: string | undefined;
|
|
19493
20787
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -19572,6 +20866,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19572
20866
|
signedAt: string;
|
|
19573
20867
|
terms?: unknown;
|
|
19574
20868
|
previous?: string | undefined;
|
|
20869
|
+
visualSignature?: {
|
|
20870
|
+
type: "typed";
|
|
20871
|
+
text: string;
|
|
20872
|
+
} | {
|
|
20873
|
+
type: "drawn";
|
|
20874
|
+
strokes?: unknown;
|
|
20875
|
+
} | undefined;
|
|
19575
20876
|
};
|
|
19576
20877
|
selector?: string | undefined;
|
|
19577
20878
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -19656,6 +20957,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
19656
20957
|
signer: string;
|
|
19657
20958
|
signedAt: string;
|
|
19658
20959
|
previous?: string | undefined;
|
|
20960
|
+
visualSignature?: {
|
|
20961
|
+
type: "typed";
|
|
20962
|
+
text: string;
|
|
20963
|
+
} | {
|
|
20964
|
+
type: "drawn";
|
|
20965
|
+
strokes: number[][];
|
|
20966
|
+
} | undefined;
|
|
19659
20967
|
};
|
|
19660
20968
|
selector?: string | undefined;
|
|
19661
20969
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -26363,6 +27671,13 @@ export declare const BtpEvidenceBundleSchema: z.ZodObject<{
|
|
|
26363
27671
|
signer: string;
|
|
26364
27672
|
signedAt: string;
|
|
26365
27673
|
previous?: string | undefined;
|
|
27674
|
+
visualSignature?: {
|
|
27675
|
+
type: "typed";
|
|
27676
|
+
text: string;
|
|
27677
|
+
} | {
|
|
27678
|
+
type: "drawn";
|
|
27679
|
+
strokes: number[][];
|
|
27680
|
+
} | undefined;
|
|
26366
27681
|
};
|
|
26367
27682
|
selector?: string | undefined;
|
|
26368
27683
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -32239,7 +33554,7 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32239
33554
|
}>, z.ZodEffects<z.ZodDiscriminatedUnion<"eventType", [z.ZodObject<{
|
|
32240
33555
|
eventType: z.ZodLiteral<"accepted">;
|
|
32241
33556
|
statement: z.ZodEffects<z.ZodObject<{
|
|
32242
|
-
statement: z.ZodObject<{
|
|
33557
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
32243
33558
|
agreement: z.ZodObject<{
|
|
32244
33559
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
32245
33560
|
id: z.ZodString;
|
|
@@ -32258,6 +33573,31 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32258
33573
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
32259
33574
|
signedAt: z.ZodString;
|
|
32260
33575
|
previous: z.ZodOptional<z.ZodString>;
|
|
33576
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
33577
|
+
type: z.ZodLiteral<"typed">;
|
|
33578
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
33579
|
+
}, "strict", z.ZodTypeAny, {
|
|
33580
|
+
type: "typed";
|
|
33581
|
+
text: string;
|
|
33582
|
+
}, {
|
|
33583
|
+
type: "typed";
|
|
33584
|
+
text: string;
|
|
33585
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
33586
|
+
type: z.ZodLiteral<"drawn">;
|
|
33587
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
33588
|
+
}, "strict", z.ZodTypeAny, {
|
|
33589
|
+
type: "drawn";
|
|
33590
|
+
strokes: number[][];
|
|
33591
|
+
}, {
|
|
33592
|
+
type: "drawn";
|
|
33593
|
+
strokes?: unknown;
|
|
33594
|
+
}>, {
|
|
33595
|
+
type: "drawn";
|
|
33596
|
+
strokes: number[][];
|
|
33597
|
+
}, {
|
|
33598
|
+
type: "drawn";
|
|
33599
|
+
strokes?: unknown;
|
|
33600
|
+
}>]>>;
|
|
32261
33601
|
}, "strict", z.ZodTypeAny, {
|
|
32262
33602
|
agreement: {
|
|
32263
33603
|
id: string;
|
|
@@ -32269,6 +33609,49 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32269
33609
|
signer: string;
|
|
32270
33610
|
signedAt: string;
|
|
32271
33611
|
previous?: string | undefined;
|
|
33612
|
+
visualSignature?: {
|
|
33613
|
+
type: "typed";
|
|
33614
|
+
text: string;
|
|
33615
|
+
} | {
|
|
33616
|
+
type: "drawn";
|
|
33617
|
+
strokes: number[][];
|
|
33618
|
+
} | undefined;
|
|
33619
|
+
}, {
|
|
33620
|
+
agreement: {
|
|
33621
|
+
id: string;
|
|
33622
|
+
originator: string;
|
|
33623
|
+
contentSha256: string;
|
|
33624
|
+
};
|
|
33625
|
+
decision: "accepted" | "declined";
|
|
33626
|
+
signer: string;
|
|
33627
|
+
signedAt: string;
|
|
33628
|
+
terms?: unknown;
|
|
33629
|
+
previous?: string | undefined;
|
|
33630
|
+
visualSignature?: {
|
|
33631
|
+
type: "typed";
|
|
33632
|
+
text: string;
|
|
33633
|
+
} | {
|
|
33634
|
+
type: "drawn";
|
|
33635
|
+
strokes?: unknown;
|
|
33636
|
+
} | undefined;
|
|
33637
|
+
}>, {
|
|
33638
|
+
agreement: {
|
|
33639
|
+
id: string;
|
|
33640
|
+
originator: string;
|
|
33641
|
+
contentSha256: string;
|
|
33642
|
+
};
|
|
33643
|
+
terms: string[];
|
|
33644
|
+
decision: "accepted" | "declined";
|
|
33645
|
+
signer: string;
|
|
33646
|
+
signedAt: string;
|
|
33647
|
+
previous?: string | undefined;
|
|
33648
|
+
visualSignature?: {
|
|
33649
|
+
type: "typed";
|
|
33650
|
+
text: string;
|
|
33651
|
+
} | {
|
|
33652
|
+
type: "drawn";
|
|
33653
|
+
strokes: number[][];
|
|
33654
|
+
} | undefined;
|
|
32272
33655
|
}, {
|
|
32273
33656
|
agreement: {
|
|
32274
33657
|
id: string;
|
|
@@ -32280,6 +33663,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32280
33663
|
signedAt: string;
|
|
32281
33664
|
terms?: unknown;
|
|
32282
33665
|
previous?: string | undefined;
|
|
33666
|
+
visualSignature?: {
|
|
33667
|
+
type: "typed";
|
|
33668
|
+
text: string;
|
|
33669
|
+
} | {
|
|
33670
|
+
type: "drawn";
|
|
33671
|
+
strokes?: unknown;
|
|
33672
|
+
} | undefined;
|
|
32283
33673
|
}>;
|
|
32284
33674
|
signature: z.ZodObject<{
|
|
32285
33675
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -32505,6 +33895,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32505
33895
|
signer: string;
|
|
32506
33896
|
signedAt: string;
|
|
32507
33897
|
previous?: string | undefined;
|
|
33898
|
+
visualSignature?: {
|
|
33899
|
+
type: "typed";
|
|
33900
|
+
text: string;
|
|
33901
|
+
} | {
|
|
33902
|
+
type: "drawn";
|
|
33903
|
+
strokes: number[][];
|
|
33904
|
+
} | undefined;
|
|
32508
33905
|
};
|
|
32509
33906
|
selector?: string | undefined;
|
|
32510
33907
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -32589,6 +33986,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32589
33986
|
signedAt: string;
|
|
32590
33987
|
terms?: unknown;
|
|
32591
33988
|
previous?: string | undefined;
|
|
33989
|
+
visualSignature?: {
|
|
33990
|
+
type: "typed";
|
|
33991
|
+
text: string;
|
|
33992
|
+
} | {
|
|
33993
|
+
type: "drawn";
|
|
33994
|
+
strokes?: unknown;
|
|
33995
|
+
} | undefined;
|
|
32592
33996
|
};
|
|
32593
33997
|
selector?: string | undefined;
|
|
32594
33998
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -32673,6 +34077,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32673
34077
|
signer: string;
|
|
32674
34078
|
signedAt: string;
|
|
32675
34079
|
previous?: string | undefined;
|
|
34080
|
+
visualSignature?: {
|
|
34081
|
+
type: "typed";
|
|
34082
|
+
text: string;
|
|
34083
|
+
} | {
|
|
34084
|
+
type: "drawn";
|
|
34085
|
+
strokes: number[][];
|
|
34086
|
+
} | undefined;
|
|
32676
34087
|
};
|
|
32677
34088
|
selector?: string | undefined;
|
|
32678
34089
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -32757,6 +34168,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32757
34168
|
signedAt: string;
|
|
32758
34169
|
terms?: unknown;
|
|
32759
34170
|
previous?: string | undefined;
|
|
34171
|
+
visualSignature?: {
|
|
34172
|
+
type: "typed";
|
|
34173
|
+
text: string;
|
|
34174
|
+
} | {
|
|
34175
|
+
type: "drawn";
|
|
34176
|
+
strokes?: unknown;
|
|
34177
|
+
} | undefined;
|
|
32760
34178
|
};
|
|
32761
34179
|
selector?: string | undefined;
|
|
32762
34180
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -32868,6 +34286,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32868
34286
|
signer: string;
|
|
32869
34287
|
signedAt: string;
|
|
32870
34288
|
previous?: string | undefined;
|
|
34289
|
+
visualSignature?: {
|
|
34290
|
+
type: "typed";
|
|
34291
|
+
text: string;
|
|
34292
|
+
} | {
|
|
34293
|
+
type: "drawn";
|
|
34294
|
+
strokes: number[][];
|
|
34295
|
+
} | undefined;
|
|
32871
34296
|
};
|
|
32872
34297
|
selector?: string | undefined;
|
|
32873
34298
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -32963,6 +34388,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
32963
34388
|
signedAt: string;
|
|
32964
34389
|
terms?: unknown;
|
|
32965
34390
|
previous?: string | undefined;
|
|
34391
|
+
visualSignature?: {
|
|
34392
|
+
type: "typed";
|
|
34393
|
+
text: string;
|
|
34394
|
+
} | {
|
|
34395
|
+
type: "drawn";
|
|
34396
|
+
strokes?: unknown;
|
|
34397
|
+
} | undefined;
|
|
32966
34398
|
};
|
|
32967
34399
|
selector?: string | undefined;
|
|
32968
34400
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -33034,7 +34466,7 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33034
34466
|
}>, z.ZodObject<{
|
|
33035
34467
|
eventType: z.ZodLiteral<"declined">;
|
|
33036
34468
|
statement: z.ZodEffects<z.ZodObject<{
|
|
33037
|
-
statement: z.ZodObject<{
|
|
34469
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
33038
34470
|
agreement: z.ZodObject<{
|
|
33039
34471
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
33040
34472
|
id: z.ZodString;
|
|
@@ -33053,6 +34485,31 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33053
34485
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
33054
34486
|
signedAt: z.ZodString;
|
|
33055
34487
|
previous: z.ZodOptional<z.ZodString>;
|
|
34488
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
34489
|
+
type: z.ZodLiteral<"typed">;
|
|
34490
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
34491
|
+
}, "strict", z.ZodTypeAny, {
|
|
34492
|
+
type: "typed";
|
|
34493
|
+
text: string;
|
|
34494
|
+
}, {
|
|
34495
|
+
type: "typed";
|
|
34496
|
+
text: string;
|
|
34497
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
34498
|
+
type: z.ZodLiteral<"drawn">;
|
|
34499
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
34500
|
+
}, "strict", z.ZodTypeAny, {
|
|
34501
|
+
type: "drawn";
|
|
34502
|
+
strokes: number[][];
|
|
34503
|
+
}, {
|
|
34504
|
+
type: "drawn";
|
|
34505
|
+
strokes?: unknown;
|
|
34506
|
+
}>, {
|
|
34507
|
+
type: "drawn";
|
|
34508
|
+
strokes: number[][];
|
|
34509
|
+
}, {
|
|
34510
|
+
type: "drawn";
|
|
34511
|
+
strokes?: unknown;
|
|
34512
|
+
}>]>>;
|
|
33056
34513
|
}, "strict", z.ZodTypeAny, {
|
|
33057
34514
|
agreement: {
|
|
33058
34515
|
id: string;
|
|
@@ -33064,6 +34521,49 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33064
34521
|
signer: string;
|
|
33065
34522
|
signedAt: string;
|
|
33066
34523
|
previous?: string | undefined;
|
|
34524
|
+
visualSignature?: {
|
|
34525
|
+
type: "typed";
|
|
34526
|
+
text: string;
|
|
34527
|
+
} | {
|
|
34528
|
+
type: "drawn";
|
|
34529
|
+
strokes: number[][];
|
|
34530
|
+
} | undefined;
|
|
34531
|
+
}, {
|
|
34532
|
+
agreement: {
|
|
34533
|
+
id: string;
|
|
34534
|
+
originator: string;
|
|
34535
|
+
contentSha256: string;
|
|
34536
|
+
};
|
|
34537
|
+
decision: "accepted" | "declined";
|
|
34538
|
+
signer: string;
|
|
34539
|
+
signedAt: string;
|
|
34540
|
+
terms?: unknown;
|
|
34541
|
+
previous?: string | undefined;
|
|
34542
|
+
visualSignature?: {
|
|
34543
|
+
type: "typed";
|
|
34544
|
+
text: string;
|
|
34545
|
+
} | {
|
|
34546
|
+
type: "drawn";
|
|
34547
|
+
strokes?: unknown;
|
|
34548
|
+
} | undefined;
|
|
34549
|
+
}>, {
|
|
34550
|
+
agreement: {
|
|
34551
|
+
id: string;
|
|
34552
|
+
originator: string;
|
|
34553
|
+
contentSha256: string;
|
|
34554
|
+
};
|
|
34555
|
+
terms: string[];
|
|
34556
|
+
decision: "accepted" | "declined";
|
|
34557
|
+
signer: string;
|
|
34558
|
+
signedAt: string;
|
|
34559
|
+
previous?: string | undefined;
|
|
34560
|
+
visualSignature?: {
|
|
34561
|
+
type: "typed";
|
|
34562
|
+
text: string;
|
|
34563
|
+
} | {
|
|
34564
|
+
type: "drawn";
|
|
34565
|
+
strokes: number[][];
|
|
34566
|
+
} | undefined;
|
|
33067
34567
|
}, {
|
|
33068
34568
|
agreement: {
|
|
33069
34569
|
id: string;
|
|
@@ -33075,6 +34575,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33075
34575
|
signedAt: string;
|
|
33076
34576
|
terms?: unknown;
|
|
33077
34577
|
previous?: string | undefined;
|
|
34578
|
+
visualSignature?: {
|
|
34579
|
+
type: "typed";
|
|
34580
|
+
text: string;
|
|
34581
|
+
} | {
|
|
34582
|
+
type: "drawn";
|
|
34583
|
+
strokes?: unknown;
|
|
34584
|
+
} | undefined;
|
|
33078
34585
|
}>;
|
|
33079
34586
|
signature: z.ZodObject<{
|
|
33080
34587
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -33300,6 +34807,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33300
34807
|
signer: string;
|
|
33301
34808
|
signedAt: string;
|
|
33302
34809
|
previous?: string | undefined;
|
|
34810
|
+
visualSignature?: {
|
|
34811
|
+
type: "typed";
|
|
34812
|
+
text: string;
|
|
34813
|
+
} | {
|
|
34814
|
+
type: "drawn";
|
|
34815
|
+
strokes: number[][];
|
|
34816
|
+
} | undefined;
|
|
33303
34817
|
};
|
|
33304
34818
|
selector?: string | undefined;
|
|
33305
34819
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -33384,6 +34898,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33384
34898
|
signedAt: string;
|
|
33385
34899
|
terms?: unknown;
|
|
33386
34900
|
previous?: string | undefined;
|
|
34901
|
+
visualSignature?: {
|
|
34902
|
+
type: "typed";
|
|
34903
|
+
text: string;
|
|
34904
|
+
} | {
|
|
34905
|
+
type: "drawn";
|
|
34906
|
+
strokes?: unknown;
|
|
34907
|
+
} | undefined;
|
|
33387
34908
|
};
|
|
33388
34909
|
selector?: string | undefined;
|
|
33389
34910
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -33468,6 +34989,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33468
34989
|
signer: string;
|
|
33469
34990
|
signedAt: string;
|
|
33470
34991
|
previous?: string | undefined;
|
|
34992
|
+
visualSignature?: {
|
|
34993
|
+
type: "typed";
|
|
34994
|
+
text: string;
|
|
34995
|
+
} | {
|
|
34996
|
+
type: "drawn";
|
|
34997
|
+
strokes: number[][];
|
|
34998
|
+
} | undefined;
|
|
33471
34999
|
};
|
|
33472
35000
|
selector?: string | undefined;
|
|
33473
35001
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -33552,6 +35080,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33552
35080
|
signedAt: string;
|
|
33553
35081
|
terms?: unknown;
|
|
33554
35082
|
previous?: string | undefined;
|
|
35083
|
+
visualSignature?: {
|
|
35084
|
+
type: "typed";
|
|
35085
|
+
text: string;
|
|
35086
|
+
} | {
|
|
35087
|
+
type: "drawn";
|
|
35088
|
+
strokes?: unknown;
|
|
35089
|
+
} | undefined;
|
|
33555
35090
|
};
|
|
33556
35091
|
selector?: string | undefined;
|
|
33557
35092
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -33673,6 +35208,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33673
35208
|
signer: string;
|
|
33674
35209
|
signedAt: string;
|
|
33675
35210
|
previous?: string | undefined;
|
|
35211
|
+
visualSignature?: {
|
|
35212
|
+
type: "typed";
|
|
35213
|
+
text: string;
|
|
35214
|
+
} | {
|
|
35215
|
+
type: "drawn";
|
|
35216
|
+
strokes: number[][];
|
|
35217
|
+
} | undefined;
|
|
33676
35218
|
};
|
|
33677
35219
|
selector?: string | undefined;
|
|
33678
35220
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -33772,6 +35314,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33772
35314
|
signedAt: string;
|
|
33773
35315
|
terms?: unknown;
|
|
33774
35316
|
previous?: string | undefined;
|
|
35317
|
+
visualSignature?: {
|
|
35318
|
+
type: "typed";
|
|
35319
|
+
text: string;
|
|
35320
|
+
} | {
|
|
35321
|
+
type: "drawn";
|
|
35322
|
+
strokes?: unknown;
|
|
35323
|
+
} | undefined;
|
|
33775
35324
|
};
|
|
33776
35325
|
selector?: string | undefined;
|
|
33777
35326
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -33847,7 +35396,7 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33847
35396
|
}>, z.ZodObject<{
|
|
33848
35397
|
eventType: z.ZodLiteral<"agreement_progress">;
|
|
33849
35398
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
33850
|
-
statement: z.ZodObject<{
|
|
35399
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
33851
35400
|
agreement: z.ZodObject<{
|
|
33852
35401
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
33853
35402
|
id: z.ZodString;
|
|
@@ -33866,6 +35415,31 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33866
35415
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
33867
35416
|
signedAt: z.ZodString;
|
|
33868
35417
|
previous: z.ZodOptional<z.ZodString>;
|
|
35418
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
35419
|
+
type: z.ZodLiteral<"typed">;
|
|
35420
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
35421
|
+
}, "strict", z.ZodTypeAny, {
|
|
35422
|
+
type: "typed";
|
|
35423
|
+
text: string;
|
|
35424
|
+
}, {
|
|
35425
|
+
type: "typed";
|
|
35426
|
+
text: string;
|
|
35427
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
35428
|
+
type: z.ZodLiteral<"drawn">;
|
|
35429
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
35430
|
+
}, "strict", z.ZodTypeAny, {
|
|
35431
|
+
type: "drawn";
|
|
35432
|
+
strokes: number[][];
|
|
35433
|
+
}, {
|
|
35434
|
+
type: "drawn";
|
|
35435
|
+
strokes?: unknown;
|
|
35436
|
+
}>, {
|
|
35437
|
+
type: "drawn";
|
|
35438
|
+
strokes: number[][];
|
|
35439
|
+
}, {
|
|
35440
|
+
type: "drawn";
|
|
35441
|
+
strokes?: unknown;
|
|
35442
|
+
}>]>>;
|
|
33869
35443
|
}, "strict", z.ZodTypeAny, {
|
|
33870
35444
|
agreement: {
|
|
33871
35445
|
id: string;
|
|
@@ -33877,6 +35451,49 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33877
35451
|
signer: string;
|
|
33878
35452
|
signedAt: string;
|
|
33879
35453
|
previous?: string | undefined;
|
|
35454
|
+
visualSignature?: {
|
|
35455
|
+
type: "typed";
|
|
35456
|
+
text: string;
|
|
35457
|
+
} | {
|
|
35458
|
+
type: "drawn";
|
|
35459
|
+
strokes: number[][];
|
|
35460
|
+
} | undefined;
|
|
35461
|
+
}, {
|
|
35462
|
+
agreement: {
|
|
35463
|
+
id: string;
|
|
35464
|
+
originator: string;
|
|
35465
|
+
contentSha256: string;
|
|
35466
|
+
};
|
|
35467
|
+
decision: "accepted" | "declined";
|
|
35468
|
+
signer: string;
|
|
35469
|
+
signedAt: string;
|
|
35470
|
+
terms?: unknown;
|
|
35471
|
+
previous?: string | undefined;
|
|
35472
|
+
visualSignature?: {
|
|
35473
|
+
type: "typed";
|
|
35474
|
+
text: string;
|
|
35475
|
+
} | {
|
|
35476
|
+
type: "drawn";
|
|
35477
|
+
strokes?: unknown;
|
|
35478
|
+
} | undefined;
|
|
35479
|
+
}>, {
|
|
35480
|
+
agreement: {
|
|
35481
|
+
id: string;
|
|
35482
|
+
originator: string;
|
|
35483
|
+
contentSha256: string;
|
|
35484
|
+
};
|
|
35485
|
+
terms: string[];
|
|
35486
|
+
decision: "accepted" | "declined";
|
|
35487
|
+
signer: string;
|
|
35488
|
+
signedAt: string;
|
|
35489
|
+
previous?: string | undefined;
|
|
35490
|
+
visualSignature?: {
|
|
35491
|
+
type: "typed";
|
|
35492
|
+
text: string;
|
|
35493
|
+
} | {
|
|
35494
|
+
type: "drawn";
|
|
35495
|
+
strokes: number[][];
|
|
35496
|
+
} | undefined;
|
|
33880
35497
|
}, {
|
|
33881
35498
|
agreement: {
|
|
33882
35499
|
id: string;
|
|
@@ -33888,6 +35505,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
33888
35505
|
signedAt: string;
|
|
33889
35506
|
terms?: unknown;
|
|
33890
35507
|
previous?: string | undefined;
|
|
35508
|
+
visualSignature?: {
|
|
35509
|
+
type: "typed";
|
|
35510
|
+
text: string;
|
|
35511
|
+
} | {
|
|
35512
|
+
type: "drawn";
|
|
35513
|
+
strokes?: unknown;
|
|
35514
|
+
} | undefined;
|
|
33891
35515
|
}>;
|
|
33892
35516
|
signature: z.ZodObject<{
|
|
33893
35517
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -34113,6 +35737,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34113
35737
|
signer: string;
|
|
34114
35738
|
signedAt: string;
|
|
34115
35739
|
previous?: string | undefined;
|
|
35740
|
+
visualSignature?: {
|
|
35741
|
+
type: "typed";
|
|
35742
|
+
text: string;
|
|
35743
|
+
} | {
|
|
35744
|
+
type: "drawn";
|
|
35745
|
+
strokes: number[][];
|
|
35746
|
+
} | undefined;
|
|
34116
35747
|
};
|
|
34117
35748
|
selector?: string | undefined;
|
|
34118
35749
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -34197,6 +35828,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34197
35828
|
signedAt: string;
|
|
34198
35829
|
terms?: unknown;
|
|
34199
35830
|
previous?: string | undefined;
|
|
35831
|
+
visualSignature?: {
|
|
35832
|
+
type: "typed";
|
|
35833
|
+
text: string;
|
|
35834
|
+
} | {
|
|
35835
|
+
type: "drawn";
|
|
35836
|
+
strokes?: unknown;
|
|
35837
|
+
} | undefined;
|
|
34200
35838
|
};
|
|
34201
35839
|
selector?: string | undefined;
|
|
34202
35840
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -34281,6 +35919,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34281
35919
|
signer: string;
|
|
34282
35920
|
signedAt: string;
|
|
34283
35921
|
previous?: string | undefined;
|
|
35922
|
+
visualSignature?: {
|
|
35923
|
+
type: "typed";
|
|
35924
|
+
text: string;
|
|
35925
|
+
} | {
|
|
35926
|
+
type: "drawn";
|
|
35927
|
+
strokes: number[][];
|
|
35928
|
+
} | undefined;
|
|
34284
35929
|
};
|
|
34285
35930
|
selector?: string | undefined;
|
|
34286
35931
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -34365,6 +36010,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34365
36010
|
signedAt: string;
|
|
34366
36011
|
terms?: unknown;
|
|
34367
36012
|
previous?: string | undefined;
|
|
36013
|
+
visualSignature?: {
|
|
36014
|
+
type: "typed";
|
|
36015
|
+
text: string;
|
|
36016
|
+
} | {
|
|
36017
|
+
type: "drawn";
|
|
36018
|
+
strokes?: unknown;
|
|
36019
|
+
} | undefined;
|
|
34368
36020
|
};
|
|
34369
36021
|
selector?: string | undefined;
|
|
34370
36022
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -34449,6 +36101,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34449
36101
|
signer: string;
|
|
34450
36102
|
signedAt: string;
|
|
34451
36103
|
previous?: string | undefined;
|
|
36104
|
+
visualSignature?: {
|
|
36105
|
+
type: "typed";
|
|
36106
|
+
text: string;
|
|
36107
|
+
} | {
|
|
36108
|
+
type: "drawn";
|
|
36109
|
+
strokes: number[][];
|
|
36110
|
+
} | undefined;
|
|
34452
36111
|
};
|
|
34453
36112
|
selector?: string | undefined;
|
|
34454
36113
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -34560,6 +36219,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34560
36219
|
signer: string;
|
|
34561
36220
|
signedAt: string;
|
|
34562
36221
|
previous?: string | undefined;
|
|
36222
|
+
visualSignature?: {
|
|
36223
|
+
type: "typed";
|
|
36224
|
+
text: string;
|
|
36225
|
+
} | {
|
|
36226
|
+
type: "drawn";
|
|
36227
|
+
strokes: number[][];
|
|
36228
|
+
} | undefined;
|
|
34563
36229
|
};
|
|
34564
36230
|
selector?: string | undefined;
|
|
34565
36231
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -34642,7 +36308,7 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34642
36308
|
}>, z.ZodObject<{
|
|
34643
36309
|
eventType: z.ZodLiteral<"agreement_complete">;
|
|
34644
36310
|
statements: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
34645
|
-
statement: z.ZodObject<{
|
|
36311
|
+
statement: z.ZodEffects<z.ZodObject<{
|
|
34646
36312
|
agreement: z.ZodObject<{
|
|
34647
36313
|
originator: z.ZodEffects<z.ZodString, string, string>;
|
|
34648
36314
|
id: z.ZodString;
|
|
@@ -34661,6 +36327,31 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34661
36327
|
decision: z.ZodEnum<["accepted", "declined"]>;
|
|
34662
36328
|
signedAt: z.ZodString;
|
|
34663
36329
|
previous: z.ZodOptional<z.ZodString>;
|
|
36330
|
+
visualSignature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
36331
|
+
type: z.ZodLiteral<"typed">;
|
|
36332
|
+
text: z.ZodEffects<z.ZodString, string, string>;
|
|
36333
|
+
}, "strict", z.ZodTypeAny, {
|
|
36334
|
+
type: "typed";
|
|
36335
|
+
text: string;
|
|
36336
|
+
}, {
|
|
36337
|
+
type: "typed";
|
|
36338
|
+
text: string;
|
|
36339
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
36340
|
+
type: z.ZodLiteral<"drawn">;
|
|
36341
|
+
strokes: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], unknown>, "many">, number[][], unknown>;
|
|
36342
|
+
}, "strict", z.ZodTypeAny, {
|
|
36343
|
+
type: "drawn";
|
|
36344
|
+
strokes: number[][];
|
|
36345
|
+
}, {
|
|
36346
|
+
type: "drawn";
|
|
36347
|
+
strokes?: unknown;
|
|
36348
|
+
}>, {
|
|
36349
|
+
type: "drawn";
|
|
36350
|
+
strokes: number[][];
|
|
36351
|
+
}, {
|
|
36352
|
+
type: "drawn";
|
|
36353
|
+
strokes?: unknown;
|
|
36354
|
+
}>]>>;
|
|
34664
36355
|
}, "strict", z.ZodTypeAny, {
|
|
34665
36356
|
agreement: {
|
|
34666
36357
|
id: string;
|
|
@@ -34672,6 +36363,49 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34672
36363
|
signer: string;
|
|
34673
36364
|
signedAt: string;
|
|
34674
36365
|
previous?: string | undefined;
|
|
36366
|
+
visualSignature?: {
|
|
36367
|
+
type: "typed";
|
|
36368
|
+
text: string;
|
|
36369
|
+
} | {
|
|
36370
|
+
type: "drawn";
|
|
36371
|
+
strokes: number[][];
|
|
36372
|
+
} | undefined;
|
|
36373
|
+
}, {
|
|
36374
|
+
agreement: {
|
|
36375
|
+
id: string;
|
|
36376
|
+
originator: string;
|
|
36377
|
+
contentSha256: string;
|
|
36378
|
+
};
|
|
36379
|
+
decision: "accepted" | "declined";
|
|
36380
|
+
signer: string;
|
|
36381
|
+
signedAt: string;
|
|
36382
|
+
terms?: unknown;
|
|
36383
|
+
previous?: string | undefined;
|
|
36384
|
+
visualSignature?: {
|
|
36385
|
+
type: "typed";
|
|
36386
|
+
text: string;
|
|
36387
|
+
} | {
|
|
36388
|
+
type: "drawn";
|
|
36389
|
+
strokes?: unknown;
|
|
36390
|
+
} | undefined;
|
|
36391
|
+
}>, {
|
|
36392
|
+
agreement: {
|
|
36393
|
+
id: string;
|
|
36394
|
+
originator: string;
|
|
36395
|
+
contentSha256: string;
|
|
36396
|
+
};
|
|
36397
|
+
terms: string[];
|
|
36398
|
+
decision: "accepted" | "declined";
|
|
36399
|
+
signer: string;
|
|
36400
|
+
signedAt: string;
|
|
36401
|
+
previous?: string | undefined;
|
|
36402
|
+
visualSignature?: {
|
|
36403
|
+
type: "typed";
|
|
36404
|
+
text: string;
|
|
36405
|
+
} | {
|
|
36406
|
+
type: "drawn";
|
|
36407
|
+
strokes: number[][];
|
|
36408
|
+
} | undefined;
|
|
34675
36409
|
}, {
|
|
34676
36410
|
agreement: {
|
|
34677
36411
|
id: string;
|
|
@@ -34683,6 +36417,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34683
36417
|
signedAt: string;
|
|
34684
36418
|
terms?: unknown;
|
|
34685
36419
|
previous?: string | undefined;
|
|
36420
|
+
visualSignature?: {
|
|
36421
|
+
type: "typed";
|
|
36422
|
+
text: string;
|
|
36423
|
+
} | {
|
|
36424
|
+
type: "drawn";
|
|
36425
|
+
strokes?: unknown;
|
|
36426
|
+
} | undefined;
|
|
34686
36427
|
}>;
|
|
34687
36428
|
signature: z.ZodObject<{
|
|
34688
36429
|
algorithmHash: z.ZodLiteral<"sha256">;
|
|
@@ -34908,6 +36649,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34908
36649
|
signer: string;
|
|
34909
36650
|
signedAt: string;
|
|
34910
36651
|
previous?: string | undefined;
|
|
36652
|
+
visualSignature?: {
|
|
36653
|
+
type: "typed";
|
|
36654
|
+
text: string;
|
|
36655
|
+
} | {
|
|
36656
|
+
type: "drawn";
|
|
36657
|
+
strokes: number[][];
|
|
36658
|
+
} | undefined;
|
|
34911
36659
|
};
|
|
34912
36660
|
selector?: string | undefined;
|
|
34913
36661
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -34992,6 +36740,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
34992
36740
|
signedAt: string;
|
|
34993
36741
|
terms?: unknown;
|
|
34994
36742
|
previous?: string | undefined;
|
|
36743
|
+
visualSignature?: {
|
|
36744
|
+
type: "typed";
|
|
36745
|
+
text: string;
|
|
36746
|
+
} | {
|
|
36747
|
+
type: "drawn";
|
|
36748
|
+
strokes?: unknown;
|
|
36749
|
+
} | undefined;
|
|
34995
36750
|
};
|
|
34996
36751
|
selector?: string | undefined;
|
|
34997
36752
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -35076,6 +36831,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35076
36831
|
signer: string;
|
|
35077
36832
|
signedAt: string;
|
|
35078
36833
|
previous?: string | undefined;
|
|
36834
|
+
visualSignature?: {
|
|
36835
|
+
type: "typed";
|
|
36836
|
+
text: string;
|
|
36837
|
+
} | {
|
|
36838
|
+
type: "drawn";
|
|
36839
|
+
strokes: number[][];
|
|
36840
|
+
} | undefined;
|
|
35079
36841
|
};
|
|
35080
36842
|
selector?: string | undefined;
|
|
35081
36843
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35160,6 +36922,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35160
36922
|
signedAt: string;
|
|
35161
36923
|
terms?: unknown;
|
|
35162
36924
|
previous?: string | undefined;
|
|
36925
|
+
visualSignature?: {
|
|
36926
|
+
type: "typed";
|
|
36927
|
+
text: string;
|
|
36928
|
+
} | {
|
|
36929
|
+
type: "drawn";
|
|
36930
|
+
strokes?: unknown;
|
|
36931
|
+
} | undefined;
|
|
35163
36932
|
};
|
|
35164
36933
|
selector?: string | undefined;
|
|
35165
36934
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -35244,6 +37013,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35244
37013
|
signer: string;
|
|
35245
37014
|
signedAt: string;
|
|
35246
37015
|
previous?: string | undefined;
|
|
37016
|
+
visualSignature?: {
|
|
37017
|
+
type: "typed";
|
|
37018
|
+
text: string;
|
|
37019
|
+
} | {
|
|
37020
|
+
type: "drawn";
|
|
37021
|
+
strokes: number[][];
|
|
37022
|
+
} | undefined;
|
|
35247
37023
|
};
|
|
35248
37024
|
selector?: string | undefined;
|
|
35249
37025
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35355,6 +37131,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35355
37131
|
signer: string;
|
|
35356
37132
|
signedAt: string;
|
|
35357
37133
|
previous?: string | undefined;
|
|
37134
|
+
visualSignature?: {
|
|
37135
|
+
type: "typed";
|
|
37136
|
+
text: string;
|
|
37137
|
+
} | {
|
|
37138
|
+
type: "drawn";
|
|
37139
|
+
strokes: number[][];
|
|
37140
|
+
} | undefined;
|
|
35358
37141
|
};
|
|
35359
37142
|
selector?: string | undefined;
|
|
35360
37143
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35461,6 +37244,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35461
37244
|
signer: string;
|
|
35462
37245
|
signedAt: string;
|
|
35463
37246
|
previous?: string | undefined;
|
|
37247
|
+
visualSignature?: {
|
|
37248
|
+
type: "typed";
|
|
37249
|
+
text: string;
|
|
37250
|
+
} | {
|
|
37251
|
+
type: "drawn";
|
|
37252
|
+
strokes: number[][];
|
|
37253
|
+
} | undefined;
|
|
35464
37254
|
};
|
|
35465
37255
|
selector?: string | undefined;
|
|
35466
37256
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35556,6 +37346,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35556
37346
|
signer: string;
|
|
35557
37347
|
signedAt: string;
|
|
35558
37348
|
previous?: string | undefined;
|
|
37349
|
+
visualSignature?: {
|
|
37350
|
+
type: "typed";
|
|
37351
|
+
text: string;
|
|
37352
|
+
} | {
|
|
37353
|
+
type: "drawn";
|
|
37354
|
+
strokes: number[][];
|
|
37355
|
+
} | undefined;
|
|
35559
37356
|
};
|
|
35560
37357
|
selector?: string | undefined;
|
|
35561
37358
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35655,6 +37452,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35655
37452
|
signer: string;
|
|
35656
37453
|
signedAt: string;
|
|
35657
37454
|
previous?: string | undefined;
|
|
37455
|
+
visualSignature?: {
|
|
37456
|
+
type: "typed";
|
|
37457
|
+
text: string;
|
|
37458
|
+
} | {
|
|
37459
|
+
type: "drawn";
|
|
37460
|
+
strokes: number[][];
|
|
37461
|
+
} | undefined;
|
|
35658
37462
|
};
|
|
35659
37463
|
selector?: string | undefined;
|
|
35660
37464
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35750,6 +37554,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35750
37554
|
signer: string;
|
|
35751
37555
|
signedAt: string;
|
|
35752
37556
|
previous?: string | undefined;
|
|
37557
|
+
visualSignature?: {
|
|
37558
|
+
type: "typed";
|
|
37559
|
+
text: string;
|
|
37560
|
+
} | {
|
|
37561
|
+
type: "drawn";
|
|
37562
|
+
strokes: number[][];
|
|
37563
|
+
} | undefined;
|
|
35753
37564
|
};
|
|
35754
37565
|
selector?: string | undefined;
|
|
35755
37566
|
delegatedArtifact?: z.objectOutputType<{
|
|
@@ -35845,6 +37656,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35845
37656
|
signedAt: string;
|
|
35846
37657
|
terms?: unknown;
|
|
35847
37658
|
previous?: string | undefined;
|
|
37659
|
+
visualSignature?: {
|
|
37660
|
+
type: "typed";
|
|
37661
|
+
text: string;
|
|
37662
|
+
} | {
|
|
37663
|
+
type: "drawn";
|
|
37664
|
+
strokes?: unknown;
|
|
37665
|
+
} | undefined;
|
|
35848
37666
|
};
|
|
35849
37667
|
selector?: string | undefined;
|
|
35850
37668
|
delegatedArtifact?: z.objectInputType<{
|
|
@@ -35940,6 +37758,13 @@ export declare const BtpDocSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
35940
37758
|
signedAt: string;
|
|
35941
37759
|
terms?: unknown;
|
|
35942
37760
|
previous?: string | undefined;
|
|
37761
|
+
visualSignature?: {
|
|
37762
|
+
type: "typed";
|
|
37763
|
+
text: string;
|
|
37764
|
+
} | {
|
|
37765
|
+
type: "drawn";
|
|
37766
|
+
strokes?: unknown;
|
|
37767
|
+
} | undefined;
|
|
35943
37768
|
};
|
|
35944
37769
|
selector?: string | undefined;
|
|
35945
37770
|
delegatedArtifact?: z.objectInputType<{
|