@402flow/sdk 0.1.0-alpha.14 → 0.1.0-alpha.16

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.
@@ -130,21 +130,21 @@ export declare const paidRequestChallengeSchema: z.ZodObject<{
130
130
  body?: unknown;
131
131
  }>;
132
132
  export type PaidRequestChallenge = z.infer<typeof paidRequestChallengeSchema>;
133
- export declare const sdkPreparationSourceSchema: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
133
+ export declare const sdkPreparationSourceSchema: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
134
134
  export type SdkPreparationSource = z.infer<typeof sdkPreparationSourceSchema>;
135
- export declare const sdkPreparationAuthoritySchema: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
135
+ export declare const sdkPreparationAuthoritySchema: z.ZodEnum<["authoritative", "advisory"]>;
136
136
  export type SdkPreparationAuthority = z.infer<typeof sdkPreparationAuthoritySchema>;
137
137
  export declare const sdkPreparationAttributionSchema: z.ZodObject<{
138
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
139
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
138
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
139
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
140
140
  note: z.ZodOptional<z.ZodString>;
141
141
  }, "strip", z.ZodTypeAny, {
142
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
143
- authority: "authoritative" | "confirmatory" | "advisory";
142
+ source: "merchant_challenge" | "external_metadata";
143
+ authority: "authoritative" | "advisory";
144
144
  note?: string | undefined;
145
145
  }, {
146
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
147
- authority: "authoritative" | "confirmatory" | "advisory";
146
+ source: "merchant_challenge" | "external_metadata";
147
+ authority: "authoritative" | "advisory";
148
148
  note?: string | undefined;
149
149
  }>;
150
150
  export type SdkPreparationAttribution = z.infer<typeof sdkPreparationAttributionSchema>;
@@ -172,7 +172,7 @@ export declare const sdkPreparationFieldSchema: z.ZodObject<{
172
172
  }>;
173
173
  export type SdkPreparationField = z.infer<typeof sdkPreparationFieldSchema>;
174
174
  /** Optional caller-supplied metadata used to enrich preparation hints. */
175
- export declare const sdkPreparationMetadataSchema: z.ZodObject<{
175
+ export declare const sdkExternalMetadataSchema: z.ZodObject<{
176
176
  description: z.ZodOptional<z.ZodString>;
177
177
  requestBodyType: z.ZodOptional<z.ZodString>;
178
178
  requestBodyExample: z.ZodOptional<z.ZodString>;
@@ -302,420 +302,34 @@ export declare const sdkPreparationMetadataSchema: z.ZodObject<{
302
302
  }[] | undefined;
303
303
  notes?: string[] | undefined;
304
304
  }>;
305
- export type SdkPreparationMetadata = z.infer<typeof sdkPreparationMetadataSchema>;
306
- /** Optional external metadata channels the SDK knows how to merge. */
307
- export declare const sdkPreparationDiscoveryMetadataSchema: z.ZodObject<{
308
- provider: z.ZodOptional<z.ZodObject<{
309
- description: z.ZodOptional<z.ZodString>;
310
- requestBodyType: z.ZodOptional<z.ZodString>;
311
- requestBodyExample: z.ZodOptional<z.ZodString>;
312
- requestBodyFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
313
- name: z.ZodString;
314
- type: z.ZodOptional<z.ZodString>;
315
- description: z.ZodOptional<z.ZodString>;
316
- required: z.ZodOptional<z.ZodBoolean>;
317
- defaultValue: z.ZodOptional<z.ZodUnknown>;
318
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
319
- }, "strip", z.ZodTypeAny, {
320
- name: string;
321
- type?: string | undefined;
322
- required?: boolean | undefined;
323
- description?: string | undefined;
324
- defaultValue?: unknown;
325
- enumValues?: string[] | undefined;
326
- }, {
327
- name: string;
328
- type?: string | undefined;
329
- required?: boolean | undefined;
330
- description?: string | undefined;
331
- defaultValue?: unknown;
332
- enumValues?: string[] | undefined;
333
- }>, "many">>;
334
- requestQueryParams: z.ZodOptional<z.ZodArray<z.ZodObject<{
335
- name: z.ZodString;
336
- type: z.ZodOptional<z.ZodString>;
337
- description: z.ZodOptional<z.ZodString>;
338
- required: z.ZodOptional<z.ZodBoolean>;
339
- defaultValue: z.ZodOptional<z.ZodUnknown>;
340
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
341
- }, "strip", z.ZodTypeAny, {
342
- name: string;
343
- type?: string | undefined;
344
- required?: boolean | undefined;
345
- description?: string | undefined;
346
- defaultValue?: unknown;
347
- enumValues?: string[] | undefined;
348
- }, {
349
- name: string;
350
- type?: string | undefined;
351
- required?: boolean | undefined;
352
- description?: string | undefined;
353
- defaultValue?: unknown;
354
- enumValues?: string[] | undefined;
355
- }>, "many">>;
356
- requestPathParams: z.ZodOptional<z.ZodArray<z.ZodObject<{
357
- name: z.ZodString;
358
- type: z.ZodOptional<z.ZodString>;
359
- description: z.ZodOptional<z.ZodString>;
360
- required: z.ZodOptional<z.ZodBoolean>;
361
- defaultValue: z.ZodOptional<z.ZodUnknown>;
362
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
363
- }, "strip", z.ZodTypeAny, {
364
- name: string;
365
- type?: string | undefined;
366
- required?: boolean | undefined;
367
- description?: string | undefined;
368
- defaultValue?: unknown;
369
- enumValues?: string[] | undefined;
370
- }, {
371
- name: string;
372
- type?: string | undefined;
373
- required?: boolean | undefined;
374
- description?: string | undefined;
375
- defaultValue?: unknown;
376
- enumValues?: string[] | undefined;
377
- }>, "many">>;
378
- notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
379
- }, "strip", z.ZodTypeAny, {
380
- description?: string | undefined;
381
- requestBodyType?: string | undefined;
382
- requestBodyExample?: string | undefined;
383
- requestBodyFields?: {
384
- name: string;
385
- type?: string | undefined;
386
- required?: boolean | undefined;
387
- description?: string | undefined;
388
- defaultValue?: unknown;
389
- enumValues?: string[] | undefined;
390
- }[] | undefined;
391
- requestQueryParams?: {
392
- name: string;
393
- type?: string | undefined;
394
- required?: boolean | undefined;
395
- description?: string | undefined;
396
- defaultValue?: unknown;
397
- enumValues?: string[] | undefined;
398
- }[] | undefined;
399
- requestPathParams?: {
400
- name: string;
401
- type?: string | undefined;
402
- required?: boolean | undefined;
403
- description?: string | undefined;
404
- defaultValue?: unknown;
405
- enumValues?: string[] | undefined;
406
- }[] | undefined;
407
- notes?: string[] | undefined;
408
- }, {
409
- description?: string | undefined;
410
- requestBodyType?: string | undefined;
411
- requestBodyExample?: string | undefined;
412
- requestBodyFields?: {
413
- name: string;
414
- type?: string | undefined;
415
- required?: boolean | undefined;
416
- description?: string | undefined;
417
- defaultValue?: unknown;
418
- enumValues?: string[] | undefined;
419
- }[] | undefined;
420
- requestQueryParams?: {
421
- name: string;
422
- type?: string | undefined;
423
- required?: boolean | undefined;
424
- description?: string | undefined;
425
- defaultValue?: unknown;
426
- enumValues?: string[] | undefined;
427
- }[] | undefined;
428
- requestPathParams?: {
429
- name: string;
430
- type?: string | undefined;
431
- required?: boolean | undefined;
432
- description?: string | undefined;
433
- defaultValue?: unknown;
434
- enumValues?: string[] | undefined;
435
- }[] | undefined;
436
- notes?: string[] | undefined;
437
- }>>;
438
- marketplace: z.ZodOptional<z.ZodObject<{
439
- description: z.ZodOptional<z.ZodString>;
440
- requestBodyType: z.ZodOptional<z.ZodString>;
441
- requestBodyExample: z.ZodOptional<z.ZodString>;
442
- requestBodyFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
- name: z.ZodString;
444
- type: z.ZodOptional<z.ZodString>;
445
- description: z.ZodOptional<z.ZodString>;
446
- required: z.ZodOptional<z.ZodBoolean>;
447
- defaultValue: z.ZodOptional<z.ZodUnknown>;
448
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
449
- }, "strip", z.ZodTypeAny, {
450
- name: string;
451
- type?: string | undefined;
452
- required?: boolean | undefined;
453
- description?: string | undefined;
454
- defaultValue?: unknown;
455
- enumValues?: string[] | undefined;
456
- }, {
457
- name: string;
458
- type?: string | undefined;
459
- required?: boolean | undefined;
460
- description?: string | undefined;
461
- defaultValue?: unknown;
462
- enumValues?: string[] | undefined;
463
- }>, "many">>;
464
- requestQueryParams: z.ZodOptional<z.ZodArray<z.ZodObject<{
465
- name: z.ZodString;
466
- type: z.ZodOptional<z.ZodString>;
467
- description: z.ZodOptional<z.ZodString>;
468
- required: z.ZodOptional<z.ZodBoolean>;
469
- defaultValue: z.ZodOptional<z.ZodUnknown>;
470
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
471
- }, "strip", z.ZodTypeAny, {
472
- name: string;
473
- type?: string | undefined;
474
- required?: boolean | undefined;
475
- description?: string | undefined;
476
- defaultValue?: unknown;
477
- enumValues?: string[] | undefined;
478
- }, {
479
- name: string;
480
- type?: string | undefined;
481
- required?: boolean | undefined;
482
- description?: string | undefined;
483
- defaultValue?: unknown;
484
- enumValues?: string[] | undefined;
485
- }>, "many">>;
486
- requestPathParams: z.ZodOptional<z.ZodArray<z.ZodObject<{
487
- name: z.ZodString;
488
- type: z.ZodOptional<z.ZodString>;
489
- description: z.ZodOptional<z.ZodString>;
490
- required: z.ZodOptional<z.ZodBoolean>;
491
- defaultValue: z.ZodOptional<z.ZodUnknown>;
492
- enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
493
- }, "strip", z.ZodTypeAny, {
494
- name: string;
495
- type?: string | undefined;
496
- required?: boolean | undefined;
497
- description?: string | undefined;
498
- defaultValue?: unknown;
499
- enumValues?: string[] | undefined;
500
- }, {
501
- name: string;
502
- type?: string | undefined;
503
- required?: boolean | undefined;
504
- description?: string | undefined;
505
- defaultValue?: unknown;
506
- enumValues?: string[] | undefined;
507
- }>, "many">>;
508
- notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
509
- }, "strip", z.ZodTypeAny, {
510
- description?: string | undefined;
511
- requestBodyType?: string | undefined;
512
- requestBodyExample?: string | undefined;
513
- requestBodyFields?: {
514
- name: string;
515
- type?: string | undefined;
516
- required?: boolean | undefined;
517
- description?: string | undefined;
518
- defaultValue?: unknown;
519
- enumValues?: string[] | undefined;
520
- }[] | undefined;
521
- requestQueryParams?: {
522
- name: string;
523
- type?: string | undefined;
524
- required?: boolean | undefined;
525
- description?: string | undefined;
526
- defaultValue?: unknown;
527
- enumValues?: string[] | undefined;
528
- }[] | undefined;
529
- requestPathParams?: {
530
- name: string;
531
- type?: string | undefined;
532
- required?: boolean | undefined;
533
- description?: string | undefined;
534
- defaultValue?: unknown;
535
- enumValues?: string[] | undefined;
536
- }[] | undefined;
537
- notes?: string[] | undefined;
538
- }, {
539
- description?: string | undefined;
540
- requestBodyType?: string | undefined;
541
- requestBodyExample?: string | undefined;
542
- requestBodyFields?: {
543
- name: string;
544
- type?: string | undefined;
545
- required?: boolean | undefined;
546
- description?: string | undefined;
547
- defaultValue?: unknown;
548
- enumValues?: string[] | undefined;
549
- }[] | undefined;
550
- requestQueryParams?: {
551
- name: string;
552
- type?: string | undefined;
553
- required?: boolean | undefined;
554
- description?: string | undefined;
555
- defaultValue?: unknown;
556
- enumValues?: string[] | undefined;
557
- }[] | undefined;
558
- requestPathParams?: {
559
- name: string;
560
- type?: string | undefined;
561
- required?: boolean | undefined;
562
- description?: string | undefined;
563
- defaultValue?: unknown;
564
- enumValues?: string[] | undefined;
565
- }[] | undefined;
566
- notes?: string[] | undefined;
567
- }>>;
568
- }, "strip", z.ZodTypeAny, {
569
- marketplace?: {
570
- description?: string | undefined;
571
- requestBodyType?: string | undefined;
572
- requestBodyExample?: string | undefined;
573
- requestBodyFields?: {
574
- name: string;
575
- type?: string | undefined;
576
- required?: boolean | undefined;
577
- description?: string | undefined;
578
- defaultValue?: unknown;
579
- enumValues?: string[] | undefined;
580
- }[] | undefined;
581
- requestQueryParams?: {
582
- name: string;
583
- type?: string | undefined;
584
- required?: boolean | undefined;
585
- description?: string | undefined;
586
- defaultValue?: unknown;
587
- enumValues?: string[] | undefined;
588
- }[] | undefined;
589
- requestPathParams?: {
590
- name: string;
591
- type?: string | undefined;
592
- required?: boolean | undefined;
593
- description?: string | undefined;
594
- defaultValue?: unknown;
595
- enumValues?: string[] | undefined;
596
- }[] | undefined;
597
- notes?: string[] | undefined;
598
- } | undefined;
599
- provider?: {
600
- description?: string | undefined;
601
- requestBodyType?: string | undefined;
602
- requestBodyExample?: string | undefined;
603
- requestBodyFields?: {
604
- name: string;
605
- type?: string | undefined;
606
- required?: boolean | undefined;
607
- description?: string | undefined;
608
- defaultValue?: unknown;
609
- enumValues?: string[] | undefined;
610
- }[] | undefined;
611
- requestQueryParams?: {
612
- name: string;
613
- type?: string | undefined;
614
- required?: boolean | undefined;
615
- description?: string | undefined;
616
- defaultValue?: unknown;
617
- enumValues?: string[] | undefined;
618
- }[] | undefined;
619
- requestPathParams?: {
620
- name: string;
621
- type?: string | undefined;
622
- required?: boolean | undefined;
623
- description?: string | undefined;
624
- defaultValue?: unknown;
625
- enumValues?: string[] | undefined;
626
- }[] | undefined;
627
- notes?: string[] | undefined;
628
- } | undefined;
629
- }, {
630
- marketplace?: {
631
- description?: string | undefined;
632
- requestBodyType?: string | undefined;
633
- requestBodyExample?: string | undefined;
634
- requestBodyFields?: {
635
- name: string;
636
- type?: string | undefined;
637
- required?: boolean | undefined;
638
- description?: string | undefined;
639
- defaultValue?: unknown;
640
- enumValues?: string[] | undefined;
641
- }[] | undefined;
642
- requestQueryParams?: {
643
- name: string;
644
- type?: string | undefined;
645
- required?: boolean | undefined;
646
- description?: string | undefined;
647
- defaultValue?: unknown;
648
- enumValues?: string[] | undefined;
649
- }[] | undefined;
650
- requestPathParams?: {
651
- name: string;
652
- type?: string | undefined;
653
- required?: boolean | undefined;
654
- description?: string | undefined;
655
- defaultValue?: unknown;
656
- enumValues?: string[] | undefined;
657
- }[] | undefined;
658
- notes?: string[] | undefined;
659
- } | undefined;
660
- provider?: {
661
- description?: string | undefined;
662
- requestBodyType?: string | undefined;
663
- requestBodyExample?: string | undefined;
664
- requestBodyFields?: {
665
- name: string;
666
- type?: string | undefined;
667
- required?: boolean | undefined;
668
- description?: string | undefined;
669
- defaultValue?: unknown;
670
- enumValues?: string[] | undefined;
671
- }[] | undefined;
672
- requestQueryParams?: {
673
- name: string;
674
- type?: string | undefined;
675
- required?: boolean | undefined;
676
- description?: string | undefined;
677
- defaultValue?: unknown;
678
- enumValues?: string[] | undefined;
679
- }[] | undefined;
680
- requestPathParams?: {
681
- name: string;
682
- type?: string | undefined;
683
- required?: boolean | undefined;
684
- description?: string | undefined;
685
- defaultValue?: unknown;
686
- enumValues?: string[] | undefined;
687
- }[] | undefined;
688
- notes?: string[] | undefined;
689
- } | undefined;
690
- }>;
691
- export type SdkPreparationDiscoveryMetadata = z.infer<typeof sdkPreparationDiscoveryMetadataSchema>;
305
+ export type SdkExternalMetadata = z.infer<typeof sdkExternalMetadataSchema>;
692
306
  export declare const sdkPreparedHintValueSchema: z.ZodObject<{
693
307
  value: z.ZodString;
694
308
  attribution: z.ZodObject<{
695
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
696
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
309
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
310
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
697
311
  note: z.ZodOptional<z.ZodString>;
698
312
  }, "strip", z.ZodTypeAny, {
699
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
700
- authority: "authoritative" | "confirmatory" | "advisory";
313
+ source: "merchant_challenge" | "external_metadata";
314
+ authority: "authoritative" | "advisory";
701
315
  note?: string | undefined;
702
316
  }, {
703
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
704
- authority: "authoritative" | "confirmatory" | "advisory";
317
+ source: "merchant_challenge" | "external_metadata";
318
+ authority: "authoritative" | "advisory";
705
319
  note?: string | undefined;
706
320
  }>;
707
321
  }, "strip", z.ZodTypeAny, {
708
322
  value: string;
709
323
  attribution: {
710
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
711
- authority: "authoritative" | "confirmatory" | "advisory";
324
+ source: "merchant_challenge" | "external_metadata";
325
+ authority: "authoritative" | "advisory";
712
326
  note?: string | undefined;
713
327
  };
714
328
  }, {
715
329
  value: string;
716
330
  attribution: {
717
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
718
- authority: "authoritative" | "confirmatory" | "advisory";
331
+ source: "merchant_challenge" | "external_metadata";
332
+ authority: "authoritative" | "advisory";
719
333
  note?: string | undefined;
720
334
  };
721
335
  }>;
@@ -729,23 +343,23 @@ export declare const sdkPreparedHintFieldSchema: z.ZodObject<{
729
343
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
730
344
  } & {
731
345
  attribution: z.ZodObject<{
732
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
733
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
346
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
347
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
734
348
  note: z.ZodOptional<z.ZodString>;
735
349
  }, "strip", z.ZodTypeAny, {
736
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
737
- authority: "authoritative" | "confirmatory" | "advisory";
350
+ source: "merchant_challenge" | "external_metadata";
351
+ authority: "authoritative" | "advisory";
738
352
  note?: string | undefined;
739
353
  }, {
740
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
741
- authority: "authoritative" | "confirmatory" | "advisory";
354
+ source: "merchant_challenge" | "external_metadata";
355
+ authority: "authoritative" | "advisory";
742
356
  note?: string | undefined;
743
357
  }>;
744
358
  }, "strip", z.ZodTypeAny, {
745
359
  name: string;
746
360
  attribution: {
747
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
748
- authority: "authoritative" | "confirmatory" | "advisory";
361
+ source: "merchant_challenge" | "external_metadata";
362
+ authority: "authoritative" | "advisory";
749
363
  note?: string | undefined;
750
364
  };
751
365
  type?: string | undefined;
@@ -756,8 +370,8 @@ export declare const sdkPreparedHintFieldSchema: z.ZodObject<{
756
370
  }, {
757
371
  name: string;
758
372
  attribution: {
759
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
760
- authority: "authoritative" | "confirmatory" | "advisory";
373
+ source: "merchant_challenge" | "external_metadata";
374
+ authority: "authoritative" | "advisory";
761
375
  note?: string | undefined;
762
376
  };
763
377
  type?: string | undefined;
@@ -776,90 +390,90 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
776
390
  description: z.ZodOptional<z.ZodObject<{
777
391
  value: z.ZodString;
778
392
  attribution: z.ZodObject<{
779
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
780
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
393
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
394
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
781
395
  note: z.ZodOptional<z.ZodString>;
782
396
  }, "strip", z.ZodTypeAny, {
783
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
784
- authority: "authoritative" | "confirmatory" | "advisory";
397
+ source: "merchant_challenge" | "external_metadata";
398
+ authority: "authoritative" | "advisory";
785
399
  note?: string | undefined;
786
400
  }, {
787
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
788
- authority: "authoritative" | "confirmatory" | "advisory";
401
+ source: "merchant_challenge" | "external_metadata";
402
+ authority: "authoritative" | "advisory";
789
403
  note?: string | undefined;
790
404
  }>;
791
405
  }, "strip", z.ZodTypeAny, {
792
406
  value: string;
793
407
  attribution: {
794
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
795
- authority: "authoritative" | "confirmatory" | "advisory";
408
+ source: "merchant_challenge" | "external_metadata";
409
+ authority: "authoritative" | "advisory";
796
410
  note?: string | undefined;
797
411
  };
798
412
  }, {
799
413
  value: string;
800
414
  attribution: {
801
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
802
- authority: "authoritative" | "confirmatory" | "advisory";
415
+ source: "merchant_challenge" | "external_metadata";
416
+ authority: "authoritative" | "advisory";
803
417
  note?: string | undefined;
804
418
  };
805
419
  }>>;
806
420
  requestBodyType: z.ZodOptional<z.ZodObject<{
807
421
  value: z.ZodString;
808
422
  attribution: z.ZodObject<{
809
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
810
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
423
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
424
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
811
425
  note: z.ZodOptional<z.ZodString>;
812
426
  }, "strip", z.ZodTypeAny, {
813
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
814
- authority: "authoritative" | "confirmatory" | "advisory";
427
+ source: "merchant_challenge" | "external_metadata";
428
+ authority: "authoritative" | "advisory";
815
429
  note?: string | undefined;
816
430
  }, {
817
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
818
- authority: "authoritative" | "confirmatory" | "advisory";
431
+ source: "merchant_challenge" | "external_metadata";
432
+ authority: "authoritative" | "advisory";
819
433
  note?: string | undefined;
820
434
  }>;
821
435
  }, "strip", z.ZodTypeAny, {
822
436
  value: string;
823
437
  attribution: {
824
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
825
- authority: "authoritative" | "confirmatory" | "advisory";
438
+ source: "merchant_challenge" | "external_metadata";
439
+ authority: "authoritative" | "advisory";
826
440
  note?: string | undefined;
827
441
  };
828
442
  }, {
829
443
  value: string;
830
444
  attribution: {
831
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
832
- authority: "authoritative" | "confirmatory" | "advisory";
445
+ source: "merchant_challenge" | "external_metadata";
446
+ authority: "authoritative" | "advisory";
833
447
  note?: string | undefined;
834
448
  };
835
449
  }>>;
836
450
  requestBodyExample: z.ZodOptional<z.ZodObject<{
837
451
  value: z.ZodString;
838
452
  attribution: z.ZodObject<{
839
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
840
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
453
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
454
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
841
455
  note: z.ZodOptional<z.ZodString>;
842
456
  }, "strip", z.ZodTypeAny, {
843
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
844
- authority: "authoritative" | "confirmatory" | "advisory";
457
+ source: "merchant_challenge" | "external_metadata";
458
+ authority: "authoritative" | "advisory";
845
459
  note?: string | undefined;
846
460
  }, {
847
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
848
- authority: "authoritative" | "confirmatory" | "advisory";
461
+ source: "merchant_challenge" | "external_metadata";
462
+ authority: "authoritative" | "advisory";
849
463
  note?: string | undefined;
850
464
  }>;
851
465
  }, "strip", z.ZodTypeAny, {
852
466
  value: string;
853
467
  attribution: {
854
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
855
- authority: "authoritative" | "confirmatory" | "advisory";
468
+ source: "merchant_challenge" | "external_metadata";
469
+ authority: "authoritative" | "advisory";
856
470
  note?: string | undefined;
857
471
  };
858
472
  }, {
859
473
  value: string;
860
474
  attribution: {
861
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
862
- authority: "authoritative" | "confirmatory" | "advisory";
475
+ source: "merchant_challenge" | "external_metadata";
476
+ authority: "authoritative" | "advisory";
863
477
  note?: string | undefined;
864
478
  };
865
479
  }>>;
@@ -872,23 +486,23 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
872
486
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
873
487
  } & {
874
488
  attribution: z.ZodObject<{
875
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
876
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
489
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
490
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
877
491
  note: z.ZodOptional<z.ZodString>;
878
492
  }, "strip", z.ZodTypeAny, {
879
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
880
- authority: "authoritative" | "confirmatory" | "advisory";
493
+ source: "merchant_challenge" | "external_metadata";
494
+ authority: "authoritative" | "advisory";
881
495
  note?: string | undefined;
882
496
  }, {
883
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
884
- authority: "authoritative" | "confirmatory" | "advisory";
497
+ source: "merchant_challenge" | "external_metadata";
498
+ authority: "authoritative" | "advisory";
885
499
  note?: string | undefined;
886
500
  }>;
887
501
  }, "strip", z.ZodTypeAny, {
888
502
  name: string;
889
503
  attribution: {
890
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
891
- authority: "authoritative" | "confirmatory" | "advisory";
504
+ source: "merchant_challenge" | "external_metadata";
505
+ authority: "authoritative" | "advisory";
892
506
  note?: string | undefined;
893
507
  };
894
508
  type?: string | undefined;
@@ -899,8 +513,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
899
513
  }, {
900
514
  name: string;
901
515
  attribution: {
902
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
903
- authority: "authoritative" | "confirmatory" | "advisory";
516
+ source: "merchant_challenge" | "external_metadata";
517
+ authority: "authoritative" | "advisory";
904
518
  note?: string | undefined;
905
519
  };
906
520
  type?: string | undefined;
@@ -918,23 +532,23 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
918
532
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
919
533
  } & {
920
534
  attribution: z.ZodObject<{
921
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
922
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
535
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
536
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
923
537
  note: z.ZodOptional<z.ZodString>;
924
538
  }, "strip", z.ZodTypeAny, {
925
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
926
- authority: "authoritative" | "confirmatory" | "advisory";
539
+ source: "merchant_challenge" | "external_metadata";
540
+ authority: "authoritative" | "advisory";
927
541
  note?: string | undefined;
928
542
  }, {
929
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
930
- authority: "authoritative" | "confirmatory" | "advisory";
543
+ source: "merchant_challenge" | "external_metadata";
544
+ authority: "authoritative" | "advisory";
931
545
  note?: string | undefined;
932
546
  }>;
933
547
  }, "strip", z.ZodTypeAny, {
934
548
  name: string;
935
549
  attribution: {
936
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
937
- authority: "authoritative" | "confirmatory" | "advisory";
550
+ source: "merchant_challenge" | "external_metadata";
551
+ authority: "authoritative" | "advisory";
938
552
  note?: string | undefined;
939
553
  };
940
554
  type?: string | undefined;
@@ -945,8 +559,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
945
559
  }, {
946
560
  name: string;
947
561
  attribution: {
948
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
949
- authority: "authoritative" | "confirmatory" | "advisory";
562
+ source: "merchant_challenge" | "external_metadata";
563
+ authority: "authoritative" | "advisory";
950
564
  note?: string | undefined;
951
565
  };
952
566
  type?: string | undefined;
@@ -964,23 +578,23 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
964
578
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
965
579
  } & {
966
580
  attribution: z.ZodObject<{
967
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
968
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
581
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
582
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
969
583
  note: z.ZodOptional<z.ZodString>;
970
584
  }, "strip", z.ZodTypeAny, {
971
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
972
- authority: "authoritative" | "confirmatory" | "advisory";
585
+ source: "merchant_challenge" | "external_metadata";
586
+ authority: "authoritative" | "advisory";
973
587
  note?: string | undefined;
974
588
  }, {
975
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
976
- authority: "authoritative" | "confirmatory" | "advisory";
589
+ source: "merchant_challenge" | "external_metadata";
590
+ authority: "authoritative" | "advisory";
977
591
  note?: string | undefined;
978
592
  }>;
979
593
  }, "strip", z.ZodTypeAny, {
980
594
  name: string;
981
595
  attribution: {
982
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
983
- authority: "authoritative" | "confirmatory" | "advisory";
596
+ source: "merchant_challenge" | "external_metadata";
597
+ authority: "authoritative" | "advisory";
984
598
  note?: string | undefined;
985
599
  };
986
600
  type?: string | undefined;
@@ -991,8 +605,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
991
605
  }, {
992
606
  name: string;
993
607
  attribution: {
994
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
995
- authority: "authoritative" | "confirmatory" | "advisory";
608
+ source: "merchant_challenge" | "external_metadata";
609
+ authority: "authoritative" | "advisory";
996
610
  note?: string | undefined;
997
611
  };
998
612
  type?: string | undefined;
@@ -1004,30 +618,30 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1004
618
  notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1005
619
  value: z.ZodString;
1006
620
  attribution: z.ZodObject<{
1007
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1008
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
621
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
622
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1009
623
  note: z.ZodOptional<z.ZodString>;
1010
624
  }, "strip", z.ZodTypeAny, {
1011
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1012
- authority: "authoritative" | "confirmatory" | "advisory";
625
+ source: "merchant_challenge" | "external_metadata";
626
+ authority: "authoritative" | "advisory";
1013
627
  note?: string | undefined;
1014
628
  }, {
1015
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1016
- authority: "authoritative" | "confirmatory" | "advisory";
629
+ source: "merchant_challenge" | "external_metadata";
630
+ authority: "authoritative" | "advisory";
1017
631
  note?: string | undefined;
1018
632
  }>;
1019
633
  }, "strip", z.ZodTypeAny, {
1020
634
  value: string;
1021
635
  attribution: {
1022
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1023
- authority: "authoritative" | "confirmatory" | "advisory";
636
+ source: "merchant_challenge" | "external_metadata";
637
+ authority: "authoritative" | "advisory";
1024
638
  note?: string | undefined;
1025
639
  };
1026
640
  }, {
1027
641
  value: string;
1028
642
  attribution: {
1029
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1030
- authority: "authoritative" | "confirmatory" | "advisory";
643
+ source: "merchant_challenge" | "external_metadata";
644
+ authority: "authoritative" | "advisory";
1031
645
  note?: string | undefined;
1032
646
  };
1033
647
  }>, "many">>;
@@ -1035,8 +649,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1035
649
  requestBodyFields: {
1036
650
  name: string;
1037
651
  attribution: {
1038
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1039
- authority: "authoritative" | "confirmatory" | "advisory";
652
+ source: "merchant_challenge" | "external_metadata";
653
+ authority: "authoritative" | "advisory";
1040
654
  note?: string | undefined;
1041
655
  };
1042
656
  type?: string | undefined;
@@ -1048,8 +662,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1048
662
  requestQueryParams: {
1049
663
  name: string;
1050
664
  attribution: {
1051
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1052
- authority: "authoritative" | "confirmatory" | "advisory";
665
+ source: "merchant_challenge" | "external_metadata";
666
+ authority: "authoritative" | "advisory";
1053
667
  note?: string | undefined;
1054
668
  };
1055
669
  type?: string | undefined;
@@ -1061,8 +675,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1061
675
  requestPathParams: {
1062
676
  name: string;
1063
677
  attribution: {
1064
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1065
- authority: "authoritative" | "confirmatory" | "advisory";
678
+ source: "merchant_challenge" | "external_metadata";
679
+ authority: "authoritative" | "advisory";
1066
680
  note?: string | undefined;
1067
681
  };
1068
682
  type?: string | undefined;
@@ -1074,32 +688,32 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1074
688
  notes: {
1075
689
  value: string;
1076
690
  attribution: {
1077
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1078
- authority: "authoritative" | "confirmatory" | "advisory";
691
+ source: "merchant_challenge" | "external_metadata";
692
+ authority: "authoritative" | "advisory";
1079
693
  note?: string | undefined;
1080
694
  };
1081
695
  }[];
1082
696
  description?: {
1083
697
  value: string;
1084
698
  attribution: {
1085
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1086
- authority: "authoritative" | "confirmatory" | "advisory";
699
+ source: "merchant_challenge" | "external_metadata";
700
+ authority: "authoritative" | "advisory";
1087
701
  note?: string | undefined;
1088
702
  };
1089
703
  } | undefined;
1090
704
  requestBodyType?: {
1091
705
  value: string;
1092
706
  attribution: {
1093
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1094
- authority: "authoritative" | "confirmatory" | "advisory";
707
+ source: "merchant_challenge" | "external_metadata";
708
+ authority: "authoritative" | "advisory";
1095
709
  note?: string | undefined;
1096
710
  };
1097
711
  } | undefined;
1098
712
  requestBodyExample?: {
1099
713
  value: string;
1100
714
  attribution: {
1101
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1102
- authority: "authoritative" | "confirmatory" | "advisory";
715
+ source: "merchant_challenge" | "external_metadata";
716
+ authority: "authoritative" | "advisory";
1103
717
  note?: string | undefined;
1104
718
  };
1105
719
  } | undefined;
@@ -1107,32 +721,32 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1107
721
  description?: {
1108
722
  value: string;
1109
723
  attribution: {
1110
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1111
- authority: "authoritative" | "confirmatory" | "advisory";
724
+ source: "merchant_challenge" | "external_metadata";
725
+ authority: "authoritative" | "advisory";
1112
726
  note?: string | undefined;
1113
727
  };
1114
728
  } | undefined;
1115
729
  requestBodyType?: {
1116
730
  value: string;
1117
731
  attribution: {
1118
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1119
- authority: "authoritative" | "confirmatory" | "advisory";
732
+ source: "merchant_challenge" | "external_metadata";
733
+ authority: "authoritative" | "advisory";
1120
734
  note?: string | undefined;
1121
735
  };
1122
736
  } | undefined;
1123
737
  requestBodyExample?: {
1124
738
  value: string;
1125
739
  attribution: {
1126
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1127
- authority: "authoritative" | "confirmatory" | "advisory";
740
+ source: "merchant_challenge" | "external_metadata";
741
+ authority: "authoritative" | "advisory";
1128
742
  note?: string | undefined;
1129
743
  };
1130
744
  } | undefined;
1131
745
  requestBodyFields?: {
1132
746
  name: string;
1133
747
  attribution: {
1134
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1135
- authority: "authoritative" | "confirmatory" | "advisory";
748
+ source: "merchant_challenge" | "external_metadata";
749
+ authority: "authoritative" | "advisory";
1136
750
  note?: string | undefined;
1137
751
  };
1138
752
  type?: string | undefined;
@@ -1144,8 +758,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1144
758
  requestQueryParams?: {
1145
759
  name: string;
1146
760
  attribution: {
1147
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1148
- authority: "authoritative" | "confirmatory" | "advisory";
761
+ source: "merchant_challenge" | "external_metadata";
762
+ authority: "authoritative" | "advisory";
1149
763
  note?: string | undefined;
1150
764
  };
1151
765
  type?: string | undefined;
@@ -1157,8 +771,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1157
771
  requestPathParams?: {
1158
772
  name: string;
1159
773
  attribution: {
1160
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1161
- authority: "authoritative" | "confirmatory" | "advisory";
774
+ source: "merchant_challenge" | "external_metadata";
775
+ authority: "authoritative" | "advisory";
1162
776
  note?: string | undefined;
1163
777
  };
1164
778
  type?: string | undefined;
@@ -1170,8 +784,8 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1170
784
  notes?: {
1171
785
  value: string;
1172
786
  attribution: {
1173
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1174
- authority: "authoritative" | "confirmatory" | "advisory";
787
+ source: "merchant_challenge" | "external_metadata";
788
+ authority: "authoritative" | "advisory";
1175
789
  note?: string | undefined;
1176
790
  };
1177
791
  }[] | undefined;
@@ -1179,6 +793,169 @@ export declare const sdkPreparedRequestHintsSchema: z.ZodObject<{
1179
793
  export type SdkPreparedRequestHints = z.infer<typeof sdkPreparedRequestHintsSchema>;
1180
794
  export declare const sdkPreparedPaymentRequirementAmountTypeSchema: z.ZodEnum<["exact", "max"]>;
1181
795
  export type SdkPreparedPaymentRequirementAmountType = z.infer<typeof sdkPreparedPaymentRequirementAmountTypeSchema>;
796
+ /** Parsed x402 challenge resource details surfaced for host and agent inspection. */
797
+ export declare const sdkPreparedChallengeResourceSchema: z.ZodObject<{
798
+ url: z.ZodString;
799
+ description: z.ZodOptional<z.ZodString>;
800
+ mimeType: z.ZodOptional<z.ZodString>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ url: string;
803
+ description?: string | undefined;
804
+ mimeType?: string | undefined;
805
+ }, {
806
+ url: string;
807
+ description?: string | undefined;
808
+ mimeType?: string | undefined;
809
+ }>;
810
+ export type SdkPreparedChallengeResource = z.infer<typeof sdkPreparedChallengeResourceSchema>;
811
+ /** One advertised payment candidate copied from the decoded merchant challenge. */
812
+ export declare const sdkPreparedChallengeAcceptSchema: z.ZodObject<{
813
+ scheme: z.ZodOptional<z.ZodString>;
814
+ network: z.ZodOptional<z.ZodString>;
815
+ amount: z.ZodOptional<z.ZodString>;
816
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
817
+ asset: z.ZodOptional<z.ZodString>;
818
+ payTo: z.ZodOptional<z.ZodString>;
819
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
820
+ resource: z.ZodOptional<z.ZodString>;
821
+ description: z.ZodOptional<z.ZodString>;
822
+ mimeType: z.ZodOptional<z.ZodString>;
823
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
824
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
825
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
826
+ scheme: z.ZodOptional<z.ZodString>;
827
+ network: z.ZodOptional<z.ZodString>;
828
+ amount: z.ZodOptional<z.ZodString>;
829
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
830
+ asset: z.ZodOptional<z.ZodString>;
831
+ payTo: z.ZodOptional<z.ZodString>;
832
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
833
+ resource: z.ZodOptional<z.ZodString>;
834
+ description: z.ZodOptional<z.ZodString>;
835
+ mimeType: z.ZodOptional<z.ZodString>;
836
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
837
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
838
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
839
+ scheme: z.ZodOptional<z.ZodString>;
840
+ network: z.ZodOptional<z.ZodString>;
841
+ amount: z.ZodOptional<z.ZodString>;
842
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
843
+ asset: z.ZodOptional<z.ZodString>;
844
+ payTo: z.ZodOptional<z.ZodString>;
845
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
846
+ resource: z.ZodOptional<z.ZodString>;
847
+ description: z.ZodOptional<z.ZodString>;
848
+ mimeType: z.ZodOptional<z.ZodString>;
849
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
850
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
851
+ }, z.ZodUnknown, "strip">>;
852
+ export type SdkPreparedChallengeAccept = z.infer<typeof sdkPreparedChallengeAcceptSchema>;
853
+ /** Parsed merchant challenge payload for agents that need full spec-level detail. */
854
+ export declare const sdkPreparedChallengeDetailsSchema: z.ZodObject<{
855
+ x402Version: z.ZodOptional<z.ZodNumber>;
856
+ error: z.ZodOptional<z.ZodString>;
857
+ resource: z.ZodOptional<z.ZodObject<{
858
+ url: z.ZodString;
859
+ description: z.ZodOptional<z.ZodString>;
860
+ mimeType: z.ZodOptional<z.ZodString>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ url: string;
863
+ description?: string | undefined;
864
+ mimeType?: string | undefined;
865
+ }, {
866
+ url: string;
867
+ description?: string | undefined;
868
+ mimeType?: string | undefined;
869
+ }>>;
870
+ accepts: z.ZodDefault<z.ZodArray<z.ZodObject<{
871
+ scheme: z.ZodOptional<z.ZodString>;
872
+ network: z.ZodOptional<z.ZodString>;
873
+ amount: z.ZodOptional<z.ZodString>;
874
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
875
+ asset: z.ZodOptional<z.ZodString>;
876
+ payTo: z.ZodOptional<z.ZodString>;
877
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
878
+ resource: z.ZodOptional<z.ZodString>;
879
+ description: z.ZodOptional<z.ZodString>;
880
+ mimeType: z.ZodOptional<z.ZodString>;
881
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
882
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
883
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
884
+ scheme: z.ZodOptional<z.ZodString>;
885
+ network: z.ZodOptional<z.ZodString>;
886
+ amount: z.ZodOptional<z.ZodString>;
887
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
888
+ asset: z.ZodOptional<z.ZodString>;
889
+ payTo: z.ZodOptional<z.ZodString>;
890
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
891
+ resource: z.ZodOptional<z.ZodString>;
892
+ description: z.ZodOptional<z.ZodString>;
893
+ mimeType: z.ZodOptional<z.ZodString>;
894
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
895
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
896
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
897
+ scheme: z.ZodOptional<z.ZodString>;
898
+ network: z.ZodOptional<z.ZodString>;
899
+ amount: z.ZodOptional<z.ZodString>;
900
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
901
+ asset: z.ZodOptional<z.ZodString>;
902
+ payTo: z.ZodOptional<z.ZodString>;
903
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
904
+ resource: z.ZodOptional<z.ZodString>;
905
+ description: z.ZodOptional<z.ZodString>;
906
+ mimeType: z.ZodOptional<z.ZodString>;
907
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
908
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
909
+ }, z.ZodUnknown, "strip">>, "many">>;
910
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
911
+ }, "strip", z.ZodTypeAny, {
912
+ accepts: z.objectOutputType<{
913
+ scheme: z.ZodOptional<z.ZodString>;
914
+ network: z.ZodOptional<z.ZodString>;
915
+ amount: z.ZodOptional<z.ZodString>;
916
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
917
+ asset: z.ZodOptional<z.ZodString>;
918
+ payTo: z.ZodOptional<z.ZodString>;
919
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
920
+ resource: z.ZodOptional<z.ZodString>;
921
+ description: z.ZodOptional<z.ZodString>;
922
+ mimeType: z.ZodOptional<z.ZodString>;
923
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
924
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
925
+ }, z.ZodUnknown, "strip">[];
926
+ resource?: {
927
+ url: string;
928
+ description?: string | undefined;
929
+ mimeType?: string | undefined;
930
+ } | undefined;
931
+ x402Version?: number | undefined;
932
+ error?: string | undefined;
933
+ extensions?: Record<string, unknown> | undefined;
934
+ }, {
935
+ resource?: {
936
+ url: string;
937
+ description?: string | undefined;
938
+ mimeType?: string | undefined;
939
+ } | undefined;
940
+ x402Version?: number | undefined;
941
+ error?: string | undefined;
942
+ accepts?: z.objectInputType<{
943
+ scheme: z.ZodOptional<z.ZodString>;
944
+ network: z.ZodOptional<z.ZodString>;
945
+ amount: z.ZodOptional<z.ZodString>;
946
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
947
+ asset: z.ZodOptional<z.ZodString>;
948
+ payTo: z.ZodOptional<z.ZodString>;
949
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
950
+ resource: z.ZodOptional<z.ZodString>;
951
+ description: z.ZodOptional<z.ZodString>;
952
+ mimeType: z.ZodOptional<z.ZodString>;
953
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
954
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
955
+ }, z.ZodUnknown, "strip">[] | undefined;
956
+ extensions?: Record<string, unknown> | undefined;
957
+ }>;
958
+ export type SdkPreparedChallengeDetails = z.infer<typeof sdkPreparedChallengeDetailsSchema>;
1182
959
  /** Normalized payment terms extracted from a merchant challenge when available. */
1183
960
  export declare const sdkPreparedPaymentRequirementSchema: z.ZodObject<{
1184
961
  protocol: z.ZodEnum<["x402", "l402"]>;
@@ -1191,36 +968,23 @@ export declare const sdkPreparedPaymentRequirementSchema: z.ZodObject<{
1191
968
  amountMinor: z.ZodOptional<z.ZodString>;
1192
969
  precision: z.ZodOptional<z.ZodNumber>;
1193
970
  provenance: z.ZodObject<{
1194
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1195
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
971
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
972
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1196
973
  note: z.ZodOptional<z.ZodString>;
1197
974
  }, "strip", z.ZodTypeAny, {
1198
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1199
- authority: "authoritative" | "confirmatory" | "advisory";
975
+ source: "merchant_challenge" | "external_metadata";
976
+ authority: "authoritative" | "advisory";
1200
977
  note?: string | undefined;
1201
978
  }, {
1202
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1203
- authority: "authoritative" | "confirmatory" | "advisory";
979
+ source: "merchant_challenge" | "external_metadata";
980
+ authority: "authoritative" | "advisory";
1204
981
  note?: string | undefined;
1205
982
  }>;
1206
- confirmation: z.ZodOptional<z.ZodObject<{
1207
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1208
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1209
- note: z.ZodOptional<z.ZodString>;
1210
- }, "strip", z.ZodTypeAny, {
1211
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1212
- authority: "authoritative" | "confirmatory" | "advisory";
1213
- note?: string | undefined;
1214
- }, {
1215
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1216
- authority: "authoritative" | "confirmatory" | "advisory";
1217
- note?: string | undefined;
1218
- }>>;
1219
983
  }, "strip", z.ZodTypeAny, {
1220
984
  protocol: "x402" | "l402";
1221
985
  provenance: {
1222
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1223
- authority: "authoritative" | "confirmatory" | "advisory";
986
+ source: "merchant_challenge" | "external_metadata";
987
+ authority: "authoritative" | "advisory";
1224
988
  note?: string | undefined;
1225
989
  };
1226
990
  asset?: string | undefined;
@@ -1231,16 +995,11 @@ export declare const sdkPreparedPaymentRequirementSchema: z.ZodObject<{
1231
995
  network?: string | undefined;
1232
996
  payee?: string | undefined;
1233
997
  amountType?: "exact" | "max" | undefined;
1234
- confirmation?: {
1235
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1236
- authority: "authoritative" | "confirmatory" | "advisory";
1237
- note?: string | undefined;
1238
- } | undefined;
1239
998
  }, {
1240
999
  protocol: "x402" | "l402";
1241
1000
  provenance: {
1242
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1243
- authority: "authoritative" | "confirmatory" | "advisory";
1001
+ source: "merchant_challenge" | "external_metadata";
1002
+ authority: "authoritative" | "advisory";
1244
1003
  note?: string | undefined;
1245
1004
  };
1246
1005
  asset?: string | undefined;
@@ -1251,11 +1010,6 @@ export declare const sdkPreparedPaymentRequirementSchema: z.ZodObject<{
1251
1010
  network?: string | undefined;
1252
1011
  payee?: string | undefined;
1253
1012
  amountType?: "exact" | "max" | undefined;
1254
- confirmation?: {
1255
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1256
- authority: "authoritative" | "confirmatory" | "advisory";
1257
- note?: string | undefined;
1258
- } | undefined;
1259
1013
  }>;
1260
1014
  export type SdkPreparedPaymentRequirement = z.infer<typeof sdkPreparedPaymentRequirementSchema>;
1261
1015
  /** Evidence that the SDK performed an unpaid live probe before preparation. */
@@ -1280,14 +1034,14 @@ export declare const sdkPreparedValidationIssueSchema: z.ZodObject<{
1280
1034
  field: z.ZodString;
1281
1035
  code: z.ZodString;
1282
1036
  message: z.ZodString;
1283
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1037
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1284
1038
  blocking: z.ZodBoolean;
1285
1039
  severity: z.ZodEnum<["error", "warning"]>;
1286
1040
  suggestedFix: z.ZodOptional<z.ZodString>;
1287
1041
  }, "strip", z.ZodTypeAny, {
1288
1042
  code: string;
1289
1043
  message: string;
1290
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1044
+ source: "merchant_challenge" | "external_metadata";
1291
1045
  location: "path" | "headers" | "body" | "query";
1292
1046
  field: string;
1293
1047
  blocking: boolean;
@@ -1296,7 +1050,7 @@ export declare const sdkPreparedValidationIssueSchema: z.ZodObject<{
1296
1050
  }, {
1297
1051
  code: string;
1298
1052
  message: string;
1299
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1053
+ source: "merchant_challenge" | "external_metadata";
1300
1054
  location: "path" | "headers" | "body" | "query";
1301
1055
  field: string;
1302
1056
  blocking: boolean;
@@ -1334,90 +1088,90 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1334
1088
  description: z.ZodOptional<z.ZodObject<{
1335
1089
  value: z.ZodString;
1336
1090
  attribution: z.ZodObject<{
1337
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1338
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1091
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1092
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1339
1093
  note: z.ZodOptional<z.ZodString>;
1340
1094
  }, "strip", z.ZodTypeAny, {
1341
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1342
- authority: "authoritative" | "confirmatory" | "advisory";
1095
+ source: "merchant_challenge" | "external_metadata";
1096
+ authority: "authoritative" | "advisory";
1343
1097
  note?: string | undefined;
1344
1098
  }, {
1345
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1346
- authority: "authoritative" | "confirmatory" | "advisory";
1099
+ source: "merchant_challenge" | "external_metadata";
1100
+ authority: "authoritative" | "advisory";
1347
1101
  note?: string | undefined;
1348
1102
  }>;
1349
1103
  }, "strip", z.ZodTypeAny, {
1350
1104
  value: string;
1351
1105
  attribution: {
1352
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1353
- authority: "authoritative" | "confirmatory" | "advisory";
1106
+ source: "merchant_challenge" | "external_metadata";
1107
+ authority: "authoritative" | "advisory";
1354
1108
  note?: string | undefined;
1355
1109
  };
1356
1110
  }, {
1357
1111
  value: string;
1358
1112
  attribution: {
1359
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1360
- authority: "authoritative" | "confirmatory" | "advisory";
1113
+ source: "merchant_challenge" | "external_metadata";
1114
+ authority: "authoritative" | "advisory";
1361
1115
  note?: string | undefined;
1362
1116
  };
1363
1117
  }>>;
1364
1118
  requestBodyType: z.ZodOptional<z.ZodObject<{
1365
1119
  value: z.ZodString;
1366
1120
  attribution: z.ZodObject<{
1367
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1368
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1121
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1122
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1369
1123
  note: z.ZodOptional<z.ZodString>;
1370
1124
  }, "strip", z.ZodTypeAny, {
1371
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1372
- authority: "authoritative" | "confirmatory" | "advisory";
1125
+ source: "merchant_challenge" | "external_metadata";
1126
+ authority: "authoritative" | "advisory";
1373
1127
  note?: string | undefined;
1374
1128
  }, {
1375
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1376
- authority: "authoritative" | "confirmatory" | "advisory";
1129
+ source: "merchant_challenge" | "external_metadata";
1130
+ authority: "authoritative" | "advisory";
1377
1131
  note?: string | undefined;
1378
1132
  }>;
1379
1133
  }, "strip", z.ZodTypeAny, {
1380
1134
  value: string;
1381
1135
  attribution: {
1382
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1383
- authority: "authoritative" | "confirmatory" | "advisory";
1136
+ source: "merchant_challenge" | "external_metadata";
1137
+ authority: "authoritative" | "advisory";
1384
1138
  note?: string | undefined;
1385
1139
  };
1386
1140
  }, {
1387
1141
  value: string;
1388
1142
  attribution: {
1389
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1390
- authority: "authoritative" | "confirmatory" | "advisory";
1143
+ source: "merchant_challenge" | "external_metadata";
1144
+ authority: "authoritative" | "advisory";
1391
1145
  note?: string | undefined;
1392
1146
  };
1393
1147
  }>>;
1394
1148
  requestBodyExample: z.ZodOptional<z.ZodObject<{
1395
1149
  value: z.ZodString;
1396
1150
  attribution: z.ZodObject<{
1397
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1398
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1151
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1152
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1399
1153
  note: z.ZodOptional<z.ZodString>;
1400
1154
  }, "strip", z.ZodTypeAny, {
1401
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1402
- authority: "authoritative" | "confirmatory" | "advisory";
1155
+ source: "merchant_challenge" | "external_metadata";
1156
+ authority: "authoritative" | "advisory";
1403
1157
  note?: string | undefined;
1404
1158
  }, {
1405
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1406
- authority: "authoritative" | "confirmatory" | "advisory";
1159
+ source: "merchant_challenge" | "external_metadata";
1160
+ authority: "authoritative" | "advisory";
1407
1161
  note?: string | undefined;
1408
1162
  }>;
1409
1163
  }, "strip", z.ZodTypeAny, {
1410
1164
  value: string;
1411
1165
  attribution: {
1412
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1413
- authority: "authoritative" | "confirmatory" | "advisory";
1166
+ source: "merchant_challenge" | "external_metadata";
1167
+ authority: "authoritative" | "advisory";
1414
1168
  note?: string | undefined;
1415
1169
  };
1416
1170
  }, {
1417
1171
  value: string;
1418
1172
  attribution: {
1419
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1420
- authority: "authoritative" | "confirmatory" | "advisory";
1173
+ source: "merchant_challenge" | "external_metadata";
1174
+ authority: "authoritative" | "advisory";
1421
1175
  note?: string | undefined;
1422
1176
  };
1423
1177
  }>>;
@@ -1430,23 +1184,23 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1430
1184
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1431
1185
  } & {
1432
1186
  attribution: z.ZodObject<{
1433
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1434
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1187
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1188
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1435
1189
  note: z.ZodOptional<z.ZodString>;
1436
1190
  }, "strip", z.ZodTypeAny, {
1437
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1438
- authority: "authoritative" | "confirmatory" | "advisory";
1191
+ source: "merchant_challenge" | "external_metadata";
1192
+ authority: "authoritative" | "advisory";
1439
1193
  note?: string | undefined;
1440
1194
  }, {
1441
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1442
- authority: "authoritative" | "confirmatory" | "advisory";
1195
+ source: "merchant_challenge" | "external_metadata";
1196
+ authority: "authoritative" | "advisory";
1443
1197
  note?: string | undefined;
1444
1198
  }>;
1445
1199
  }, "strip", z.ZodTypeAny, {
1446
1200
  name: string;
1447
1201
  attribution: {
1448
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1449
- authority: "authoritative" | "confirmatory" | "advisory";
1202
+ source: "merchant_challenge" | "external_metadata";
1203
+ authority: "authoritative" | "advisory";
1450
1204
  note?: string | undefined;
1451
1205
  };
1452
1206
  type?: string | undefined;
@@ -1457,8 +1211,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1457
1211
  }, {
1458
1212
  name: string;
1459
1213
  attribution: {
1460
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1461
- authority: "authoritative" | "confirmatory" | "advisory";
1214
+ source: "merchant_challenge" | "external_metadata";
1215
+ authority: "authoritative" | "advisory";
1462
1216
  note?: string | undefined;
1463
1217
  };
1464
1218
  type?: string | undefined;
@@ -1476,23 +1230,23 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1476
1230
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1477
1231
  } & {
1478
1232
  attribution: z.ZodObject<{
1479
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1480
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1233
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1234
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1481
1235
  note: z.ZodOptional<z.ZodString>;
1482
1236
  }, "strip", z.ZodTypeAny, {
1483
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1484
- authority: "authoritative" | "confirmatory" | "advisory";
1237
+ source: "merchant_challenge" | "external_metadata";
1238
+ authority: "authoritative" | "advisory";
1485
1239
  note?: string | undefined;
1486
1240
  }, {
1487
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1488
- authority: "authoritative" | "confirmatory" | "advisory";
1241
+ source: "merchant_challenge" | "external_metadata";
1242
+ authority: "authoritative" | "advisory";
1489
1243
  note?: string | undefined;
1490
1244
  }>;
1491
1245
  }, "strip", z.ZodTypeAny, {
1492
1246
  name: string;
1493
1247
  attribution: {
1494
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1495
- authority: "authoritative" | "confirmatory" | "advisory";
1248
+ source: "merchant_challenge" | "external_metadata";
1249
+ authority: "authoritative" | "advisory";
1496
1250
  note?: string | undefined;
1497
1251
  };
1498
1252
  type?: string | undefined;
@@ -1503,8 +1257,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1503
1257
  }, {
1504
1258
  name: string;
1505
1259
  attribution: {
1506
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1507
- authority: "authoritative" | "confirmatory" | "advisory";
1260
+ source: "merchant_challenge" | "external_metadata";
1261
+ authority: "authoritative" | "advisory";
1508
1262
  note?: string | undefined;
1509
1263
  };
1510
1264
  type?: string | undefined;
@@ -1522,23 +1276,23 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1522
1276
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1523
1277
  } & {
1524
1278
  attribution: z.ZodObject<{
1525
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1526
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1279
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1280
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1527
1281
  note: z.ZodOptional<z.ZodString>;
1528
1282
  }, "strip", z.ZodTypeAny, {
1529
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1530
- authority: "authoritative" | "confirmatory" | "advisory";
1283
+ source: "merchant_challenge" | "external_metadata";
1284
+ authority: "authoritative" | "advisory";
1531
1285
  note?: string | undefined;
1532
1286
  }, {
1533
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1534
- authority: "authoritative" | "confirmatory" | "advisory";
1287
+ source: "merchant_challenge" | "external_metadata";
1288
+ authority: "authoritative" | "advisory";
1535
1289
  note?: string | undefined;
1536
1290
  }>;
1537
1291
  }, "strip", z.ZodTypeAny, {
1538
1292
  name: string;
1539
1293
  attribution: {
1540
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1541
- authority: "authoritative" | "confirmatory" | "advisory";
1294
+ source: "merchant_challenge" | "external_metadata";
1295
+ authority: "authoritative" | "advisory";
1542
1296
  note?: string | undefined;
1543
1297
  };
1544
1298
  type?: string | undefined;
@@ -1549,8 +1303,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1549
1303
  }, {
1550
1304
  name: string;
1551
1305
  attribution: {
1552
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1553
- authority: "authoritative" | "confirmatory" | "advisory";
1306
+ source: "merchant_challenge" | "external_metadata";
1307
+ authority: "authoritative" | "advisory";
1554
1308
  note?: string | undefined;
1555
1309
  };
1556
1310
  type?: string | undefined;
@@ -1562,30 +1316,30 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1562
1316
  notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1563
1317
  value: z.ZodString;
1564
1318
  attribution: z.ZodObject<{
1565
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1566
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1319
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1320
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
1567
1321
  note: z.ZodOptional<z.ZodString>;
1568
1322
  }, "strip", z.ZodTypeAny, {
1569
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1570
- authority: "authoritative" | "confirmatory" | "advisory";
1323
+ source: "merchant_challenge" | "external_metadata";
1324
+ authority: "authoritative" | "advisory";
1571
1325
  note?: string | undefined;
1572
1326
  }, {
1573
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1574
- authority: "authoritative" | "confirmatory" | "advisory";
1327
+ source: "merchant_challenge" | "external_metadata";
1328
+ authority: "authoritative" | "advisory";
1575
1329
  note?: string | undefined;
1576
1330
  }>;
1577
1331
  }, "strip", z.ZodTypeAny, {
1578
1332
  value: string;
1579
1333
  attribution: {
1580
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1581
- authority: "authoritative" | "confirmatory" | "advisory";
1334
+ source: "merchant_challenge" | "external_metadata";
1335
+ authority: "authoritative" | "advisory";
1582
1336
  note?: string | undefined;
1583
1337
  };
1584
1338
  }, {
1585
1339
  value: string;
1586
1340
  attribution: {
1587
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1588
- authority: "authoritative" | "confirmatory" | "advisory";
1341
+ source: "merchant_challenge" | "external_metadata";
1342
+ authority: "authoritative" | "advisory";
1589
1343
  note?: string | undefined;
1590
1344
  };
1591
1345
  }>, "many">>;
@@ -1593,8 +1347,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1593
1347
  requestBodyFields: {
1594
1348
  name: string;
1595
1349
  attribution: {
1596
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1597
- authority: "authoritative" | "confirmatory" | "advisory";
1350
+ source: "merchant_challenge" | "external_metadata";
1351
+ authority: "authoritative" | "advisory";
1598
1352
  note?: string | undefined;
1599
1353
  };
1600
1354
  type?: string | undefined;
@@ -1606,8 +1360,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1606
1360
  requestQueryParams: {
1607
1361
  name: string;
1608
1362
  attribution: {
1609
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1610
- authority: "authoritative" | "confirmatory" | "advisory";
1363
+ source: "merchant_challenge" | "external_metadata";
1364
+ authority: "authoritative" | "advisory";
1611
1365
  note?: string | undefined;
1612
1366
  };
1613
1367
  type?: string | undefined;
@@ -1619,8 +1373,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1619
1373
  requestPathParams: {
1620
1374
  name: string;
1621
1375
  attribution: {
1622
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1623
- authority: "authoritative" | "confirmatory" | "advisory";
1376
+ source: "merchant_challenge" | "external_metadata";
1377
+ authority: "authoritative" | "advisory";
1624
1378
  note?: string | undefined;
1625
1379
  };
1626
1380
  type?: string | undefined;
@@ -1632,32 +1386,32 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1632
1386
  notes: {
1633
1387
  value: string;
1634
1388
  attribution: {
1635
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1636
- authority: "authoritative" | "confirmatory" | "advisory";
1389
+ source: "merchant_challenge" | "external_metadata";
1390
+ authority: "authoritative" | "advisory";
1637
1391
  note?: string | undefined;
1638
1392
  };
1639
1393
  }[];
1640
1394
  description?: {
1641
1395
  value: string;
1642
1396
  attribution: {
1643
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1644
- authority: "authoritative" | "confirmatory" | "advisory";
1397
+ source: "merchant_challenge" | "external_metadata";
1398
+ authority: "authoritative" | "advisory";
1645
1399
  note?: string | undefined;
1646
1400
  };
1647
1401
  } | undefined;
1648
1402
  requestBodyType?: {
1649
1403
  value: string;
1650
1404
  attribution: {
1651
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1652
- authority: "authoritative" | "confirmatory" | "advisory";
1405
+ source: "merchant_challenge" | "external_metadata";
1406
+ authority: "authoritative" | "advisory";
1653
1407
  note?: string | undefined;
1654
1408
  };
1655
1409
  } | undefined;
1656
1410
  requestBodyExample?: {
1657
1411
  value: string;
1658
1412
  attribution: {
1659
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1660
- authority: "authoritative" | "confirmatory" | "advisory";
1413
+ source: "merchant_challenge" | "external_metadata";
1414
+ authority: "authoritative" | "advisory";
1661
1415
  note?: string | undefined;
1662
1416
  };
1663
1417
  } | undefined;
@@ -1665,32 +1419,32 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1665
1419
  description?: {
1666
1420
  value: string;
1667
1421
  attribution: {
1668
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1669
- authority: "authoritative" | "confirmatory" | "advisory";
1422
+ source: "merchant_challenge" | "external_metadata";
1423
+ authority: "authoritative" | "advisory";
1670
1424
  note?: string | undefined;
1671
1425
  };
1672
1426
  } | undefined;
1673
1427
  requestBodyType?: {
1674
1428
  value: string;
1675
1429
  attribution: {
1676
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1677
- authority: "authoritative" | "confirmatory" | "advisory";
1430
+ source: "merchant_challenge" | "external_metadata";
1431
+ authority: "authoritative" | "advisory";
1678
1432
  note?: string | undefined;
1679
1433
  };
1680
1434
  } | undefined;
1681
1435
  requestBodyExample?: {
1682
1436
  value: string;
1683
1437
  attribution: {
1684
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1685
- authority: "authoritative" | "confirmatory" | "advisory";
1438
+ source: "merchant_challenge" | "external_metadata";
1439
+ authority: "authoritative" | "advisory";
1686
1440
  note?: string | undefined;
1687
1441
  };
1688
1442
  } | undefined;
1689
1443
  requestBodyFields?: {
1690
1444
  name: string;
1691
1445
  attribution: {
1692
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1693
- authority: "authoritative" | "confirmatory" | "advisory";
1446
+ source: "merchant_challenge" | "external_metadata";
1447
+ authority: "authoritative" | "advisory";
1694
1448
  note?: string | undefined;
1695
1449
  };
1696
1450
  type?: string | undefined;
@@ -1702,8 +1456,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1702
1456
  requestQueryParams?: {
1703
1457
  name: string;
1704
1458
  attribution: {
1705
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1706
- authority: "authoritative" | "confirmatory" | "advisory";
1459
+ source: "merchant_challenge" | "external_metadata";
1460
+ authority: "authoritative" | "advisory";
1707
1461
  note?: string | undefined;
1708
1462
  };
1709
1463
  type?: string | undefined;
@@ -1715,8 +1469,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1715
1469
  requestPathParams?: {
1716
1470
  name: string;
1717
1471
  attribution: {
1718
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1719
- authority: "authoritative" | "confirmatory" | "advisory";
1472
+ source: "merchant_challenge" | "external_metadata";
1473
+ authority: "authoritative" | "advisory";
1720
1474
  note?: string | undefined;
1721
1475
  };
1722
1476
  type?: string | undefined;
@@ -1728,8 +1482,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1728
1482
  notes?: {
1729
1483
  value: string;
1730
1484
  attribution: {
1731
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1732
- authority: "authoritative" | "confirmatory" | "advisory";
1485
+ source: "merchant_challenge" | "external_metadata";
1486
+ authority: "authoritative" | "advisory";
1733
1487
  note?: string | undefined;
1734
1488
  };
1735
1489
  }[] | undefined;
@@ -1749,14 +1503,14 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1749
1503
  field: z.ZodString;
1750
1504
  code: z.ZodString;
1751
1505
  message: z.ZodString;
1752
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
1506
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1753
1507
  blocking: z.ZodBoolean;
1754
1508
  severity: z.ZodEnum<["error", "warning"]>;
1755
1509
  suggestedFix: z.ZodOptional<z.ZodString>;
1756
1510
  }, "strip", z.ZodTypeAny, {
1757
1511
  code: string;
1758
1512
  message: string;
1759
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1513
+ source: "merchant_challenge" | "external_metadata";
1760
1514
  location: "path" | "headers" | "body" | "query";
1761
1515
  field: string;
1762
1516
  blocking: boolean;
@@ -1765,7 +1519,7 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1765
1519
  }, {
1766
1520
  code: string;
1767
1521
  message: string;
1768
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1522
+ source: "merchant_challenge" | "external_metadata";
1769
1523
  location: "path" | "headers" | "body" | "query";
1770
1524
  field: string;
1771
1525
  blocking: boolean;
@@ -1787,8 +1541,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1787
1541
  requestBodyFields: {
1788
1542
  name: string;
1789
1543
  attribution: {
1790
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1791
- authority: "authoritative" | "confirmatory" | "advisory";
1544
+ source: "merchant_challenge" | "external_metadata";
1545
+ authority: "authoritative" | "advisory";
1792
1546
  note?: string | undefined;
1793
1547
  };
1794
1548
  type?: string | undefined;
@@ -1800,8 +1554,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1800
1554
  requestQueryParams: {
1801
1555
  name: string;
1802
1556
  attribution: {
1803
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1804
- authority: "authoritative" | "confirmatory" | "advisory";
1557
+ source: "merchant_challenge" | "external_metadata";
1558
+ authority: "authoritative" | "advisory";
1805
1559
  note?: string | undefined;
1806
1560
  };
1807
1561
  type?: string | undefined;
@@ -1813,8 +1567,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1813
1567
  requestPathParams: {
1814
1568
  name: string;
1815
1569
  attribution: {
1816
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1817
- authority: "authoritative" | "confirmatory" | "advisory";
1570
+ source: "merchant_challenge" | "external_metadata";
1571
+ authority: "authoritative" | "advisory";
1818
1572
  note?: string | undefined;
1819
1573
  };
1820
1574
  type?: string | undefined;
@@ -1826,32 +1580,32 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1826
1580
  notes: {
1827
1581
  value: string;
1828
1582
  attribution: {
1829
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1830
- authority: "authoritative" | "confirmatory" | "advisory";
1583
+ source: "merchant_challenge" | "external_metadata";
1584
+ authority: "authoritative" | "advisory";
1831
1585
  note?: string | undefined;
1832
1586
  };
1833
1587
  }[];
1834
1588
  description?: {
1835
1589
  value: string;
1836
1590
  attribution: {
1837
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1838
- authority: "authoritative" | "confirmatory" | "advisory";
1591
+ source: "merchant_challenge" | "external_metadata";
1592
+ authority: "authoritative" | "advisory";
1839
1593
  note?: string | undefined;
1840
1594
  };
1841
1595
  } | undefined;
1842
1596
  requestBodyType?: {
1843
1597
  value: string;
1844
1598
  attribution: {
1845
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1846
- authority: "authoritative" | "confirmatory" | "advisory";
1599
+ source: "merchant_challenge" | "external_metadata";
1600
+ authority: "authoritative" | "advisory";
1847
1601
  note?: string | undefined;
1848
1602
  };
1849
1603
  } | undefined;
1850
1604
  requestBodyExample?: {
1851
1605
  value: string;
1852
1606
  attribution: {
1853
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1854
- authority: "authoritative" | "confirmatory" | "advisory";
1607
+ source: "merchant_challenge" | "external_metadata";
1608
+ authority: "authoritative" | "advisory";
1855
1609
  note?: string | undefined;
1856
1610
  };
1857
1611
  } | undefined;
@@ -1859,7 +1613,7 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1859
1613
  validationIssues: {
1860
1614
  code: string;
1861
1615
  message: string;
1862
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1616
+ source: "merchant_challenge" | "external_metadata";
1863
1617
  location: "path" | "headers" | "body" | "query";
1864
1618
  field: string;
1865
1619
  blocking: boolean;
@@ -1885,32 +1639,32 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1885
1639
  description?: {
1886
1640
  value: string;
1887
1641
  attribution: {
1888
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1889
- authority: "authoritative" | "confirmatory" | "advisory";
1642
+ source: "merchant_challenge" | "external_metadata";
1643
+ authority: "authoritative" | "advisory";
1890
1644
  note?: string | undefined;
1891
1645
  };
1892
1646
  } | undefined;
1893
1647
  requestBodyType?: {
1894
1648
  value: string;
1895
1649
  attribution: {
1896
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1897
- authority: "authoritative" | "confirmatory" | "advisory";
1650
+ source: "merchant_challenge" | "external_metadata";
1651
+ authority: "authoritative" | "advisory";
1898
1652
  note?: string | undefined;
1899
1653
  };
1900
1654
  } | undefined;
1901
1655
  requestBodyExample?: {
1902
1656
  value: string;
1903
1657
  attribution: {
1904
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1905
- authority: "authoritative" | "confirmatory" | "advisory";
1658
+ source: "merchant_challenge" | "external_metadata";
1659
+ authority: "authoritative" | "advisory";
1906
1660
  note?: string | undefined;
1907
1661
  };
1908
1662
  } | undefined;
1909
1663
  requestBodyFields?: {
1910
1664
  name: string;
1911
1665
  attribution: {
1912
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1913
- authority: "authoritative" | "confirmatory" | "advisory";
1666
+ source: "merchant_challenge" | "external_metadata";
1667
+ authority: "authoritative" | "advisory";
1914
1668
  note?: string | undefined;
1915
1669
  };
1916
1670
  type?: string | undefined;
@@ -1922,8 +1676,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1922
1676
  requestQueryParams?: {
1923
1677
  name: string;
1924
1678
  attribution: {
1925
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1926
- authority: "authoritative" | "confirmatory" | "advisory";
1679
+ source: "merchant_challenge" | "external_metadata";
1680
+ authority: "authoritative" | "advisory";
1927
1681
  note?: string | undefined;
1928
1682
  };
1929
1683
  type?: string | undefined;
@@ -1935,8 +1689,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1935
1689
  requestPathParams?: {
1936
1690
  name: string;
1937
1691
  attribution: {
1938
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1939
- authority: "authoritative" | "confirmatory" | "advisory";
1692
+ source: "merchant_challenge" | "external_metadata";
1693
+ authority: "authoritative" | "advisory";
1940
1694
  note?: string | undefined;
1941
1695
  };
1942
1696
  type?: string | undefined;
@@ -1948,8 +1702,8 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1948
1702
  notes?: {
1949
1703
  value: string;
1950
1704
  attribution: {
1951
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1952
- authority: "authoritative" | "confirmatory" | "advisory";
1705
+ source: "merchant_challenge" | "external_metadata";
1706
+ authority: "authoritative" | "advisory";
1953
1707
  note?: string | undefined;
1954
1708
  };
1955
1709
  }[] | undefined;
@@ -1962,7 +1716,7 @@ export declare const sdkPreparedPaidRequestPassthroughSchema: z.ZodObject<{
1962
1716
  validationIssues?: {
1963
1717
  code: string;
1964
1718
  message: string;
1965
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
1719
+ source: "merchant_challenge" | "external_metadata";
1966
1720
  location: "path" | "headers" | "body" | "query";
1967
1721
  field: string;
1968
1722
  blocking: boolean;
@@ -2007,6 +1761,110 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2007
1761
  headers?: Record<string, string> | undefined;
2008
1762
  body?: unknown;
2009
1763
  }>;
1764
+ challengeDetails: z.ZodOptional<z.ZodObject<{
1765
+ x402Version: z.ZodOptional<z.ZodNumber>;
1766
+ error: z.ZodOptional<z.ZodString>;
1767
+ resource: z.ZodOptional<z.ZodObject<{
1768
+ url: z.ZodString;
1769
+ description: z.ZodOptional<z.ZodString>;
1770
+ mimeType: z.ZodOptional<z.ZodString>;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ url: string;
1773
+ description?: string | undefined;
1774
+ mimeType?: string | undefined;
1775
+ }, {
1776
+ url: string;
1777
+ description?: string | undefined;
1778
+ mimeType?: string | undefined;
1779
+ }>>;
1780
+ accepts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1781
+ scheme: z.ZodOptional<z.ZodString>;
1782
+ network: z.ZodOptional<z.ZodString>;
1783
+ amount: z.ZodOptional<z.ZodString>;
1784
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
1785
+ asset: z.ZodOptional<z.ZodString>;
1786
+ payTo: z.ZodOptional<z.ZodString>;
1787
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1788
+ resource: z.ZodOptional<z.ZodString>;
1789
+ description: z.ZodOptional<z.ZodString>;
1790
+ mimeType: z.ZodOptional<z.ZodString>;
1791
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
1792
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1793
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
1794
+ scheme: z.ZodOptional<z.ZodString>;
1795
+ network: z.ZodOptional<z.ZodString>;
1796
+ amount: z.ZodOptional<z.ZodString>;
1797
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
1798
+ asset: z.ZodOptional<z.ZodString>;
1799
+ payTo: z.ZodOptional<z.ZodString>;
1800
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1801
+ resource: z.ZodOptional<z.ZodString>;
1802
+ description: z.ZodOptional<z.ZodString>;
1803
+ mimeType: z.ZodOptional<z.ZodString>;
1804
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
1805
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1806
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
1807
+ scheme: z.ZodOptional<z.ZodString>;
1808
+ network: z.ZodOptional<z.ZodString>;
1809
+ amount: z.ZodOptional<z.ZodString>;
1810
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
1811
+ asset: z.ZodOptional<z.ZodString>;
1812
+ payTo: z.ZodOptional<z.ZodString>;
1813
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1814
+ resource: z.ZodOptional<z.ZodString>;
1815
+ description: z.ZodOptional<z.ZodString>;
1816
+ mimeType: z.ZodOptional<z.ZodString>;
1817
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
1818
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1819
+ }, z.ZodUnknown, "strip">>, "many">>;
1820
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1821
+ }, "strip", z.ZodTypeAny, {
1822
+ accepts: z.objectOutputType<{
1823
+ scheme: z.ZodOptional<z.ZodString>;
1824
+ network: z.ZodOptional<z.ZodString>;
1825
+ amount: z.ZodOptional<z.ZodString>;
1826
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
1827
+ asset: z.ZodOptional<z.ZodString>;
1828
+ payTo: z.ZodOptional<z.ZodString>;
1829
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1830
+ resource: z.ZodOptional<z.ZodString>;
1831
+ description: z.ZodOptional<z.ZodString>;
1832
+ mimeType: z.ZodOptional<z.ZodString>;
1833
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
1834
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1835
+ }, z.ZodUnknown, "strip">[];
1836
+ resource?: {
1837
+ url: string;
1838
+ description?: string | undefined;
1839
+ mimeType?: string | undefined;
1840
+ } | undefined;
1841
+ x402Version?: number | undefined;
1842
+ error?: string | undefined;
1843
+ extensions?: Record<string, unknown> | undefined;
1844
+ }, {
1845
+ resource?: {
1846
+ url: string;
1847
+ description?: string | undefined;
1848
+ mimeType?: string | undefined;
1849
+ } | undefined;
1850
+ x402Version?: number | undefined;
1851
+ error?: string | undefined;
1852
+ accepts?: z.objectInputType<{
1853
+ scheme: z.ZodOptional<z.ZodString>;
1854
+ network: z.ZodOptional<z.ZodString>;
1855
+ amount: z.ZodOptional<z.ZodString>;
1856
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
1857
+ asset: z.ZodOptional<z.ZodString>;
1858
+ payTo: z.ZodOptional<z.ZodString>;
1859
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
1860
+ resource: z.ZodOptional<z.ZodString>;
1861
+ description: z.ZodOptional<z.ZodString>;
1862
+ mimeType: z.ZodOptional<z.ZodString>;
1863
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
1864
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1865
+ }, z.ZodUnknown, "strip">[] | undefined;
1866
+ extensions?: Record<string, unknown> | undefined;
1867
+ }>>;
2010
1868
  paymentRequirement: z.ZodOptional<z.ZodObject<{
2011
1869
  protocol: z.ZodEnum<["x402", "l402"]>;
2012
1870
  description: z.ZodOptional<z.ZodString>;
@@ -2018,36 +1876,23 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2018
1876
  amountMinor: z.ZodOptional<z.ZodString>;
2019
1877
  precision: z.ZodOptional<z.ZodNumber>;
2020
1878
  provenance: z.ZodObject<{
2021
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2022
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1879
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1880
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2023
1881
  note: z.ZodOptional<z.ZodString>;
2024
1882
  }, "strip", z.ZodTypeAny, {
2025
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2026
- authority: "authoritative" | "confirmatory" | "advisory";
1883
+ source: "merchant_challenge" | "external_metadata";
1884
+ authority: "authoritative" | "advisory";
2027
1885
  note?: string | undefined;
2028
1886
  }, {
2029
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2030
- authority: "authoritative" | "confirmatory" | "advisory";
1887
+ source: "merchant_challenge" | "external_metadata";
1888
+ authority: "authoritative" | "advisory";
2031
1889
  note?: string | undefined;
2032
1890
  }>;
2033
- confirmation: z.ZodOptional<z.ZodObject<{
2034
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2035
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2036
- note: z.ZodOptional<z.ZodString>;
2037
- }, "strip", z.ZodTypeAny, {
2038
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2039
- authority: "authoritative" | "confirmatory" | "advisory";
2040
- note?: string | undefined;
2041
- }, {
2042
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2043
- authority: "authoritative" | "confirmatory" | "advisory";
2044
- note?: string | undefined;
2045
- }>>;
2046
1891
  }, "strip", z.ZodTypeAny, {
2047
1892
  protocol: "x402" | "l402";
2048
1893
  provenance: {
2049
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2050
- authority: "authoritative" | "confirmatory" | "advisory";
1894
+ source: "merchant_challenge" | "external_metadata";
1895
+ authority: "authoritative" | "advisory";
2051
1896
  note?: string | undefined;
2052
1897
  };
2053
1898
  asset?: string | undefined;
@@ -2058,16 +1903,11 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2058
1903
  network?: string | undefined;
2059
1904
  payee?: string | undefined;
2060
1905
  amountType?: "exact" | "max" | undefined;
2061
- confirmation?: {
2062
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2063
- authority: "authoritative" | "confirmatory" | "advisory";
2064
- note?: string | undefined;
2065
- } | undefined;
2066
1906
  }, {
2067
1907
  protocol: "x402" | "l402";
2068
1908
  provenance: {
2069
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2070
- authority: "authoritative" | "confirmatory" | "advisory";
1909
+ source: "merchant_challenge" | "external_metadata";
1910
+ authority: "authoritative" | "advisory";
2071
1911
  note?: string | undefined;
2072
1912
  };
2073
1913
  asset?: string | undefined;
@@ -2078,100 +1918,95 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2078
1918
  network?: string | undefined;
2079
1919
  payee?: string | undefined;
2080
1920
  amountType?: "exact" | "max" | undefined;
2081
- confirmation?: {
2082
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2083
- authority: "authoritative" | "confirmatory" | "advisory";
2084
- note?: string | undefined;
2085
- } | undefined;
2086
1921
  }>>;
2087
1922
  hints: z.ZodObject<{
2088
1923
  description: z.ZodOptional<z.ZodObject<{
2089
1924
  value: z.ZodString;
2090
1925
  attribution: z.ZodObject<{
2091
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2092
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1926
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1927
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2093
1928
  note: z.ZodOptional<z.ZodString>;
2094
1929
  }, "strip", z.ZodTypeAny, {
2095
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2096
- authority: "authoritative" | "confirmatory" | "advisory";
1930
+ source: "merchant_challenge" | "external_metadata";
1931
+ authority: "authoritative" | "advisory";
2097
1932
  note?: string | undefined;
2098
1933
  }, {
2099
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2100
- authority: "authoritative" | "confirmatory" | "advisory";
1934
+ source: "merchant_challenge" | "external_metadata";
1935
+ authority: "authoritative" | "advisory";
2101
1936
  note?: string | undefined;
2102
1937
  }>;
2103
1938
  }, "strip", z.ZodTypeAny, {
2104
1939
  value: string;
2105
1940
  attribution: {
2106
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2107
- authority: "authoritative" | "confirmatory" | "advisory";
1941
+ source: "merchant_challenge" | "external_metadata";
1942
+ authority: "authoritative" | "advisory";
2108
1943
  note?: string | undefined;
2109
1944
  };
2110
1945
  }, {
2111
1946
  value: string;
2112
1947
  attribution: {
2113
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2114
- authority: "authoritative" | "confirmatory" | "advisory";
1948
+ source: "merchant_challenge" | "external_metadata";
1949
+ authority: "authoritative" | "advisory";
2115
1950
  note?: string | undefined;
2116
1951
  };
2117
1952
  }>>;
2118
1953
  requestBodyType: z.ZodOptional<z.ZodObject<{
2119
1954
  value: z.ZodString;
2120
1955
  attribution: z.ZodObject<{
2121
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2122
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1956
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1957
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2123
1958
  note: z.ZodOptional<z.ZodString>;
2124
1959
  }, "strip", z.ZodTypeAny, {
2125
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2126
- authority: "authoritative" | "confirmatory" | "advisory";
1960
+ source: "merchant_challenge" | "external_metadata";
1961
+ authority: "authoritative" | "advisory";
2127
1962
  note?: string | undefined;
2128
1963
  }, {
2129
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2130
- authority: "authoritative" | "confirmatory" | "advisory";
1964
+ source: "merchant_challenge" | "external_metadata";
1965
+ authority: "authoritative" | "advisory";
2131
1966
  note?: string | undefined;
2132
1967
  }>;
2133
1968
  }, "strip", z.ZodTypeAny, {
2134
1969
  value: string;
2135
1970
  attribution: {
2136
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2137
- authority: "authoritative" | "confirmatory" | "advisory";
1971
+ source: "merchant_challenge" | "external_metadata";
1972
+ authority: "authoritative" | "advisory";
2138
1973
  note?: string | undefined;
2139
1974
  };
2140
1975
  }, {
2141
1976
  value: string;
2142
1977
  attribution: {
2143
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2144
- authority: "authoritative" | "confirmatory" | "advisory";
1978
+ source: "merchant_challenge" | "external_metadata";
1979
+ authority: "authoritative" | "advisory";
2145
1980
  note?: string | undefined;
2146
1981
  };
2147
1982
  }>>;
2148
1983
  requestBodyExample: z.ZodOptional<z.ZodObject<{
2149
1984
  value: z.ZodString;
2150
1985
  attribution: z.ZodObject<{
2151
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2152
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
1986
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
1987
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2153
1988
  note: z.ZodOptional<z.ZodString>;
2154
1989
  }, "strip", z.ZodTypeAny, {
2155
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2156
- authority: "authoritative" | "confirmatory" | "advisory";
1990
+ source: "merchant_challenge" | "external_metadata";
1991
+ authority: "authoritative" | "advisory";
2157
1992
  note?: string | undefined;
2158
1993
  }, {
2159
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2160
- authority: "authoritative" | "confirmatory" | "advisory";
1994
+ source: "merchant_challenge" | "external_metadata";
1995
+ authority: "authoritative" | "advisory";
2161
1996
  note?: string | undefined;
2162
1997
  }>;
2163
1998
  }, "strip", z.ZodTypeAny, {
2164
1999
  value: string;
2165
2000
  attribution: {
2166
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2167
- authority: "authoritative" | "confirmatory" | "advisory";
2001
+ source: "merchant_challenge" | "external_metadata";
2002
+ authority: "authoritative" | "advisory";
2168
2003
  note?: string | undefined;
2169
2004
  };
2170
2005
  }, {
2171
2006
  value: string;
2172
2007
  attribution: {
2173
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2174
- authority: "authoritative" | "confirmatory" | "advisory";
2008
+ source: "merchant_challenge" | "external_metadata";
2009
+ authority: "authoritative" | "advisory";
2175
2010
  note?: string | undefined;
2176
2011
  };
2177
2012
  }>>;
@@ -2184,23 +2019,23 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2184
2019
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2185
2020
  } & {
2186
2021
  attribution: z.ZodObject<{
2187
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2188
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2022
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2023
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2189
2024
  note: z.ZodOptional<z.ZodString>;
2190
2025
  }, "strip", z.ZodTypeAny, {
2191
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2192
- authority: "authoritative" | "confirmatory" | "advisory";
2026
+ source: "merchant_challenge" | "external_metadata";
2027
+ authority: "authoritative" | "advisory";
2193
2028
  note?: string | undefined;
2194
2029
  }, {
2195
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2196
- authority: "authoritative" | "confirmatory" | "advisory";
2030
+ source: "merchant_challenge" | "external_metadata";
2031
+ authority: "authoritative" | "advisory";
2197
2032
  note?: string | undefined;
2198
2033
  }>;
2199
2034
  }, "strip", z.ZodTypeAny, {
2200
2035
  name: string;
2201
2036
  attribution: {
2202
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2203
- authority: "authoritative" | "confirmatory" | "advisory";
2037
+ source: "merchant_challenge" | "external_metadata";
2038
+ authority: "authoritative" | "advisory";
2204
2039
  note?: string | undefined;
2205
2040
  };
2206
2041
  type?: string | undefined;
@@ -2211,8 +2046,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2211
2046
  }, {
2212
2047
  name: string;
2213
2048
  attribution: {
2214
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2215
- authority: "authoritative" | "confirmatory" | "advisory";
2049
+ source: "merchant_challenge" | "external_metadata";
2050
+ authority: "authoritative" | "advisory";
2216
2051
  note?: string | undefined;
2217
2052
  };
2218
2053
  type?: string | undefined;
@@ -2230,23 +2065,23 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2230
2065
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2231
2066
  } & {
2232
2067
  attribution: z.ZodObject<{
2233
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2234
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2068
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2069
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2235
2070
  note: z.ZodOptional<z.ZodString>;
2236
2071
  }, "strip", z.ZodTypeAny, {
2237
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2238
- authority: "authoritative" | "confirmatory" | "advisory";
2072
+ source: "merchant_challenge" | "external_metadata";
2073
+ authority: "authoritative" | "advisory";
2239
2074
  note?: string | undefined;
2240
2075
  }, {
2241
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2242
- authority: "authoritative" | "confirmatory" | "advisory";
2076
+ source: "merchant_challenge" | "external_metadata";
2077
+ authority: "authoritative" | "advisory";
2243
2078
  note?: string | undefined;
2244
2079
  }>;
2245
2080
  }, "strip", z.ZodTypeAny, {
2246
2081
  name: string;
2247
2082
  attribution: {
2248
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2249
- authority: "authoritative" | "confirmatory" | "advisory";
2083
+ source: "merchant_challenge" | "external_metadata";
2084
+ authority: "authoritative" | "advisory";
2250
2085
  note?: string | undefined;
2251
2086
  };
2252
2087
  type?: string | undefined;
@@ -2257,8 +2092,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2257
2092
  }, {
2258
2093
  name: string;
2259
2094
  attribution: {
2260
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2261
- authority: "authoritative" | "confirmatory" | "advisory";
2095
+ source: "merchant_challenge" | "external_metadata";
2096
+ authority: "authoritative" | "advisory";
2262
2097
  note?: string | undefined;
2263
2098
  };
2264
2099
  type?: string | undefined;
@@ -2276,23 +2111,23 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2276
2111
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2277
2112
  } & {
2278
2113
  attribution: z.ZodObject<{
2279
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2280
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2114
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2115
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2281
2116
  note: z.ZodOptional<z.ZodString>;
2282
2117
  }, "strip", z.ZodTypeAny, {
2283
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2284
- authority: "authoritative" | "confirmatory" | "advisory";
2118
+ source: "merchant_challenge" | "external_metadata";
2119
+ authority: "authoritative" | "advisory";
2285
2120
  note?: string | undefined;
2286
2121
  }, {
2287
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2288
- authority: "authoritative" | "confirmatory" | "advisory";
2122
+ source: "merchant_challenge" | "external_metadata";
2123
+ authority: "authoritative" | "advisory";
2289
2124
  note?: string | undefined;
2290
2125
  }>;
2291
2126
  }, "strip", z.ZodTypeAny, {
2292
2127
  name: string;
2293
2128
  attribution: {
2294
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2295
- authority: "authoritative" | "confirmatory" | "advisory";
2129
+ source: "merchant_challenge" | "external_metadata";
2130
+ authority: "authoritative" | "advisory";
2296
2131
  note?: string | undefined;
2297
2132
  };
2298
2133
  type?: string | undefined;
@@ -2303,8 +2138,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2303
2138
  }, {
2304
2139
  name: string;
2305
2140
  attribution: {
2306
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2307
- authority: "authoritative" | "confirmatory" | "advisory";
2141
+ source: "merchant_challenge" | "external_metadata";
2142
+ authority: "authoritative" | "advisory";
2308
2143
  note?: string | undefined;
2309
2144
  };
2310
2145
  type?: string | undefined;
@@ -2316,30 +2151,30 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2316
2151
  notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2317
2152
  value: z.ZodString;
2318
2153
  attribution: z.ZodObject<{
2319
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2320
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2154
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2155
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2321
2156
  note: z.ZodOptional<z.ZodString>;
2322
2157
  }, "strip", z.ZodTypeAny, {
2323
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2324
- authority: "authoritative" | "confirmatory" | "advisory";
2158
+ source: "merchant_challenge" | "external_metadata";
2159
+ authority: "authoritative" | "advisory";
2325
2160
  note?: string | undefined;
2326
2161
  }, {
2327
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2328
- authority: "authoritative" | "confirmatory" | "advisory";
2162
+ source: "merchant_challenge" | "external_metadata";
2163
+ authority: "authoritative" | "advisory";
2329
2164
  note?: string | undefined;
2330
2165
  }>;
2331
2166
  }, "strip", z.ZodTypeAny, {
2332
2167
  value: string;
2333
2168
  attribution: {
2334
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2335
- authority: "authoritative" | "confirmatory" | "advisory";
2169
+ source: "merchant_challenge" | "external_metadata";
2170
+ authority: "authoritative" | "advisory";
2336
2171
  note?: string | undefined;
2337
2172
  };
2338
2173
  }, {
2339
2174
  value: string;
2340
2175
  attribution: {
2341
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2342
- authority: "authoritative" | "confirmatory" | "advisory";
2176
+ source: "merchant_challenge" | "external_metadata";
2177
+ authority: "authoritative" | "advisory";
2343
2178
  note?: string | undefined;
2344
2179
  };
2345
2180
  }>, "many">>;
@@ -2347,8 +2182,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2347
2182
  requestBodyFields: {
2348
2183
  name: string;
2349
2184
  attribution: {
2350
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2351
- authority: "authoritative" | "confirmatory" | "advisory";
2185
+ source: "merchant_challenge" | "external_metadata";
2186
+ authority: "authoritative" | "advisory";
2352
2187
  note?: string | undefined;
2353
2188
  };
2354
2189
  type?: string | undefined;
@@ -2360,8 +2195,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2360
2195
  requestQueryParams: {
2361
2196
  name: string;
2362
2197
  attribution: {
2363
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2364
- authority: "authoritative" | "confirmatory" | "advisory";
2198
+ source: "merchant_challenge" | "external_metadata";
2199
+ authority: "authoritative" | "advisory";
2365
2200
  note?: string | undefined;
2366
2201
  };
2367
2202
  type?: string | undefined;
@@ -2373,8 +2208,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2373
2208
  requestPathParams: {
2374
2209
  name: string;
2375
2210
  attribution: {
2376
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2377
- authority: "authoritative" | "confirmatory" | "advisory";
2211
+ source: "merchant_challenge" | "external_metadata";
2212
+ authority: "authoritative" | "advisory";
2378
2213
  note?: string | undefined;
2379
2214
  };
2380
2215
  type?: string | undefined;
@@ -2386,32 +2221,32 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2386
2221
  notes: {
2387
2222
  value: string;
2388
2223
  attribution: {
2389
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2390
- authority: "authoritative" | "confirmatory" | "advisory";
2224
+ source: "merchant_challenge" | "external_metadata";
2225
+ authority: "authoritative" | "advisory";
2391
2226
  note?: string | undefined;
2392
2227
  };
2393
2228
  }[];
2394
2229
  description?: {
2395
2230
  value: string;
2396
2231
  attribution: {
2397
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2398
- authority: "authoritative" | "confirmatory" | "advisory";
2232
+ source: "merchant_challenge" | "external_metadata";
2233
+ authority: "authoritative" | "advisory";
2399
2234
  note?: string | undefined;
2400
2235
  };
2401
2236
  } | undefined;
2402
2237
  requestBodyType?: {
2403
2238
  value: string;
2404
2239
  attribution: {
2405
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2406
- authority: "authoritative" | "confirmatory" | "advisory";
2240
+ source: "merchant_challenge" | "external_metadata";
2241
+ authority: "authoritative" | "advisory";
2407
2242
  note?: string | undefined;
2408
2243
  };
2409
2244
  } | undefined;
2410
2245
  requestBodyExample?: {
2411
2246
  value: string;
2412
2247
  attribution: {
2413
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2414
- authority: "authoritative" | "confirmatory" | "advisory";
2248
+ source: "merchant_challenge" | "external_metadata";
2249
+ authority: "authoritative" | "advisory";
2415
2250
  note?: string | undefined;
2416
2251
  };
2417
2252
  } | undefined;
@@ -2419,32 +2254,32 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2419
2254
  description?: {
2420
2255
  value: string;
2421
2256
  attribution: {
2422
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2423
- authority: "authoritative" | "confirmatory" | "advisory";
2257
+ source: "merchant_challenge" | "external_metadata";
2258
+ authority: "authoritative" | "advisory";
2424
2259
  note?: string | undefined;
2425
2260
  };
2426
2261
  } | undefined;
2427
2262
  requestBodyType?: {
2428
2263
  value: string;
2429
2264
  attribution: {
2430
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2431
- authority: "authoritative" | "confirmatory" | "advisory";
2265
+ source: "merchant_challenge" | "external_metadata";
2266
+ authority: "authoritative" | "advisory";
2432
2267
  note?: string | undefined;
2433
2268
  };
2434
2269
  } | undefined;
2435
2270
  requestBodyExample?: {
2436
2271
  value: string;
2437
2272
  attribution: {
2438
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2439
- authority: "authoritative" | "confirmatory" | "advisory";
2273
+ source: "merchant_challenge" | "external_metadata";
2274
+ authority: "authoritative" | "advisory";
2440
2275
  note?: string | undefined;
2441
2276
  };
2442
2277
  } | undefined;
2443
2278
  requestBodyFields?: {
2444
2279
  name: string;
2445
2280
  attribution: {
2446
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2447
- authority: "authoritative" | "confirmatory" | "advisory";
2281
+ source: "merchant_challenge" | "external_metadata";
2282
+ authority: "authoritative" | "advisory";
2448
2283
  note?: string | undefined;
2449
2284
  };
2450
2285
  type?: string | undefined;
@@ -2456,8 +2291,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2456
2291
  requestQueryParams?: {
2457
2292
  name: string;
2458
2293
  attribution: {
2459
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2460
- authority: "authoritative" | "confirmatory" | "advisory";
2294
+ source: "merchant_challenge" | "external_metadata";
2295
+ authority: "authoritative" | "advisory";
2461
2296
  note?: string | undefined;
2462
2297
  };
2463
2298
  type?: string | undefined;
@@ -2469,8 +2304,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2469
2304
  requestPathParams?: {
2470
2305
  name: string;
2471
2306
  attribution: {
2472
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2473
- authority: "authoritative" | "confirmatory" | "advisory";
2307
+ source: "merchant_challenge" | "external_metadata";
2308
+ authority: "authoritative" | "advisory";
2474
2309
  note?: string | undefined;
2475
2310
  };
2476
2311
  type?: string | undefined;
@@ -2482,8 +2317,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2482
2317
  notes?: {
2483
2318
  value: string;
2484
2319
  attribution: {
2485
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2486
- authority: "authoritative" | "confirmatory" | "advisory";
2320
+ source: "merchant_challenge" | "external_metadata";
2321
+ authority: "authoritative" | "advisory";
2487
2322
  note?: string | undefined;
2488
2323
  };
2489
2324
  }[] | undefined;
@@ -2503,14 +2338,14 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2503
2338
  field: z.ZodString;
2504
2339
  code: z.ZodString;
2505
2340
  message: z.ZodString;
2506
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2341
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2507
2342
  blocking: z.ZodBoolean;
2508
2343
  severity: z.ZodEnum<["error", "warning"]>;
2509
2344
  suggestedFix: z.ZodOptional<z.ZodString>;
2510
2345
  }, "strip", z.ZodTypeAny, {
2511
2346
  code: string;
2512
2347
  message: string;
2513
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2348
+ source: "merchant_challenge" | "external_metadata";
2514
2349
  location: "path" | "headers" | "body" | "query";
2515
2350
  field: string;
2516
2351
  blocking: boolean;
@@ -2519,7 +2354,7 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2519
2354
  }, {
2520
2355
  code: string;
2521
2356
  message: string;
2522
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2357
+ source: "merchant_challenge" | "external_metadata";
2523
2358
  location: "path" | "headers" | "body" | "query";
2524
2359
  field: string;
2525
2360
  blocking: boolean;
@@ -2541,8 +2376,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2541
2376
  requestBodyFields: {
2542
2377
  name: string;
2543
2378
  attribution: {
2544
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2545
- authority: "authoritative" | "confirmatory" | "advisory";
2379
+ source: "merchant_challenge" | "external_metadata";
2380
+ authority: "authoritative" | "advisory";
2546
2381
  note?: string | undefined;
2547
2382
  };
2548
2383
  type?: string | undefined;
@@ -2554,8 +2389,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2554
2389
  requestQueryParams: {
2555
2390
  name: string;
2556
2391
  attribution: {
2557
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2558
- authority: "authoritative" | "confirmatory" | "advisory";
2392
+ source: "merchant_challenge" | "external_metadata";
2393
+ authority: "authoritative" | "advisory";
2559
2394
  note?: string | undefined;
2560
2395
  };
2561
2396
  type?: string | undefined;
@@ -2567,8 +2402,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2567
2402
  requestPathParams: {
2568
2403
  name: string;
2569
2404
  attribution: {
2570
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2571
- authority: "authoritative" | "confirmatory" | "advisory";
2405
+ source: "merchant_challenge" | "external_metadata";
2406
+ authority: "authoritative" | "advisory";
2572
2407
  note?: string | undefined;
2573
2408
  };
2574
2409
  type?: string | undefined;
@@ -2580,32 +2415,32 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2580
2415
  notes: {
2581
2416
  value: string;
2582
2417
  attribution: {
2583
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2584
- authority: "authoritative" | "confirmatory" | "advisory";
2418
+ source: "merchant_challenge" | "external_metadata";
2419
+ authority: "authoritative" | "advisory";
2585
2420
  note?: string | undefined;
2586
2421
  };
2587
2422
  }[];
2588
2423
  description?: {
2589
2424
  value: string;
2590
2425
  attribution: {
2591
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2592
- authority: "authoritative" | "confirmatory" | "advisory";
2426
+ source: "merchant_challenge" | "external_metadata";
2427
+ authority: "authoritative" | "advisory";
2593
2428
  note?: string | undefined;
2594
2429
  };
2595
2430
  } | undefined;
2596
2431
  requestBodyType?: {
2597
2432
  value: string;
2598
2433
  attribution: {
2599
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2600
- authority: "authoritative" | "confirmatory" | "advisory";
2434
+ source: "merchant_challenge" | "external_metadata";
2435
+ authority: "authoritative" | "advisory";
2601
2436
  note?: string | undefined;
2602
2437
  };
2603
2438
  } | undefined;
2604
2439
  requestBodyExample?: {
2605
2440
  value: string;
2606
2441
  attribution: {
2607
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2608
- authority: "authoritative" | "confirmatory" | "advisory";
2442
+ source: "merchant_challenge" | "external_metadata";
2443
+ authority: "authoritative" | "advisory";
2609
2444
  note?: string | undefined;
2610
2445
  };
2611
2446
  } | undefined;
@@ -2613,7 +2448,7 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2613
2448
  validationIssues: {
2614
2449
  code: string;
2615
2450
  message: string;
2616
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2451
+ source: "merchant_challenge" | "external_metadata";
2617
2452
  location: "path" | "headers" | "body" | "query";
2618
2453
  field: string;
2619
2454
  blocking: boolean;
@@ -2630,11 +2465,35 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2630
2465
  responseStatus: number;
2631
2466
  confirmedAt: string;
2632
2467
  } | undefined;
2468
+ challengeDetails?: {
2469
+ accepts: z.objectOutputType<{
2470
+ scheme: z.ZodOptional<z.ZodString>;
2471
+ network: z.ZodOptional<z.ZodString>;
2472
+ amount: z.ZodOptional<z.ZodString>;
2473
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
2474
+ asset: z.ZodOptional<z.ZodString>;
2475
+ payTo: z.ZodOptional<z.ZodString>;
2476
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2477
+ resource: z.ZodOptional<z.ZodString>;
2478
+ description: z.ZodOptional<z.ZodString>;
2479
+ mimeType: z.ZodOptional<z.ZodString>;
2480
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
2481
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2482
+ }, z.ZodUnknown, "strip">[];
2483
+ resource?: {
2484
+ url: string;
2485
+ description?: string | undefined;
2486
+ mimeType?: string | undefined;
2487
+ } | undefined;
2488
+ x402Version?: number | undefined;
2489
+ error?: string | undefined;
2490
+ extensions?: Record<string, unknown> | undefined;
2491
+ } | undefined;
2633
2492
  paymentRequirement?: {
2634
2493
  protocol: "x402" | "l402";
2635
2494
  provenance: {
2636
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2637
- authority: "authoritative" | "confirmatory" | "advisory";
2495
+ source: "merchant_challenge" | "external_metadata";
2496
+ authority: "authoritative" | "advisory";
2638
2497
  note?: string | undefined;
2639
2498
  };
2640
2499
  asset?: string | undefined;
@@ -2645,11 +2504,6 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2645
2504
  network?: string | undefined;
2646
2505
  payee?: string | undefined;
2647
2506
  amountType?: "exact" | "max" | undefined;
2648
- confirmation?: {
2649
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2650
- authority: "authoritative" | "confirmatory" | "advisory";
2651
- note?: string | undefined;
2652
- } | undefined;
2653
2507
  } | undefined;
2654
2508
  }, {
2655
2509
  protocol: "x402" | "l402";
@@ -2665,32 +2519,32 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2665
2519
  description?: {
2666
2520
  value: string;
2667
2521
  attribution: {
2668
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2669
- authority: "authoritative" | "confirmatory" | "advisory";
2522
+ source: "merchant_challenge" | "external_metadata";
2523
+ authority: "authoritative" | "advisory";
2670
2524
  note?: string | undefined;
2671
2525
  };
2672
2526
  } | undefined;
2673
2527
  requestBodyType?: {
2674
2528
  value: string;
2675
2529
  attribution: {
2676
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2677
- authority: "authoritative" | "confirmatory" | "advisory";
2530
+ source: "merchant_challenge" | "external_metadata";
2531
+ authority: "authoritative" | "advisory";
2678
2532
  note?: string | undefined;
2679
2533
  };
2680
2534
  } | undefined;
2681
2535
  requestBodyExample?: {
2682
2536
  value: string;
2683
2537
  attribution: {
2684
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2685
- authority: "authoritative" | "confirmatory" | "advisory";
2538
+ source: "merchant_challenge" | "external_metadata";
2539
+ authority: "authoritative" | "advisory";
2686
2540
  note?: string | undefined;
2687
2541
  };
2688
2542
  } | undefined;
2689
2543
  requestBodyFields?: {
2690
2544
  name: string;
2691
2545
  attribution: {
2692
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2693
- authority: "authoritative" | "confirmatory" | "advisory";
2546
+ source: "merchant_challenge" | "external_metadata";
2547
+ authority: "authoritative" | "advisory";
2694
2548
  note?: string | undefined;
2695
2549
  };
2696
2550
  type?: string | undefined;
@@ -2702,8 +2556,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2702
2556
  requestQueryParams?: {
2703
2557
  name: string;
2704
2558
  attribution: {
2705
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2706
- authority: "authoritative" | "confirmatory" | "advisory";
2559
+ source: "merchant_challenge" | "external_metadata";
2560
+ authority: "authoritative" | "advisory";
2707
2561
  note?: string | undefined;
2708
2562
  };
2709
2563
  type?: string | undefined;
@@ -2715,8 +2569,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2715
2569
  requestPathParams?: {
2716
2570
  name: string;
2717
2571
  attribution: {
2718
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2719
- authority: "authoritative" | "confirmatory" | "advisory";
2572
+ source: "merchant_challenge" | "external_metadata";
2573
+ authority: "authoritative" | "advisory";
2720
2574
  note?: string | undefined;
2721
2575
  };
2722
2576
  type?: string | undefined;
@@ -2728,8 +2582,8 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2728
2582
  notes?: {
2729
2583
  value: string;
2730
2584
  attribution: {
2731
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2732
- authority: "authoritative" | "confirmatory" | "advisory";
2585
+ source: "merchant_challenge" | "external_metadata";
2586
+ authority: "authoritative" | "advisory";
2733
2587
  note?: string | undefined;
2734
2588
  };
2735
2589
  }[] | undefined;
@@ -2747,18 +2601,42 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2747
2601
  validationIssues?: {
2748
2602
  code: string;
2749
2603
  message: string;
2750
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2604
+ source: "merchant_challenge" | "external_metadata";
2751
2605
  location: "path" | "headers" | "body" | "query";
2752
2606
  field: string;
2753
2607
  blocking: boolean;
2754
2608
  severity: "error" | "warning";
2755
2609
  suggestedFix?: string | undefined;
2756
2610
  }[] | undefined;
2611
+ challengeDetails?: {
2612
+ resource?: {
2613
+ url: string;
2614
+ description?: string | undefined;
2615
+ mimeType?: string | undefined;
2616
+ } | undefined;
2617
+ x402Version?: number | undefined;
2618
+ error?: string | undefined;
2619
+ accepts?: z.objectInputType<{
2620
+ scheme: z.ZodOptional<z.ZodString>;
2621
+ network: z.ZodOptional<z.ZodString>;
2622
+ amount: z.ZodOptional<z.ZodString>;
2623
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
2624
+ asset: z.ZodOptional<z.ZodString>;
2625
+ payTo: z.ZodOptional<z.ZodString>;
2626
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
2627
+ resource: z.ZodOptional<z.ZodString>;
2628
+ description: z.ZodOptional<z.ZodString>;
2629
+ mimeType: z.ZodOptional<z.ZodString>;
2630
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
2631
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2632
+ }, z.ZodUnknown, "strip">[] | undefined;
2633
+ extensions?: Record<string, unknown> | undefined;
2634
+ } | undefined;
2757
2635
  paymentRequirement?: {
2758
2636
  protocol: "x402" | "l402";
2759
2637
  provenance: {
2760
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2761
- authority: "authoritative" | "confirmatory" | "advisory";
2638
+ source: "merchant_challenge" | "external_metadata";
2639
+ authority: "authoritative" | "advisory";
2762
2640
  note?: string | undefined;
2763
2641
  };
2764
2642
  asset?: string | undefined;
@@ -2769,11 +2647,6 @@ export declare const sdkPreparedPaidRequestReadySchema: z.ZodObject<{
2769
2647
  network?: string | undefined;
2770
2648
  payee?: string | undefined;
2771
2649
  amountType?: "exact" | "max" | undefined;
2772
- confirmation?: {
2773
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2774
- authority: "authoritative" | "confirmatory" | "advisory";
2775
- note?: string | undefined;
2776
- } | undefined;
2777
2650
  } | undefined;
2778
2651
  }>;
2779
2652
  export type SdkPreparedPaidRequestReady = z.infer<typeof sdkPreparedPaidRequestReadySchema>;
@@ -2804,90 +2677,90 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2804
2677
  description: z.ZodOptional<z.ZodObject<{
2805
2678
  value: z.ZodString;
2806
2679
  attribution: z.ZodObject<{
2807
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2808
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2680
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2681
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2809
2682
  note: z.ZodOptional<z.ZodString>;
2810
2683
  }, "strip", z.ZodTypeAny, {
2811
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2812
- authority: "authoritative" | "confirmatory" | "advisory";
2684
+ source: "merchant_challenge" | "external_metadata";
2685
+ authority: "authoritative" | "advisory";
2813
2686
  note?: string | undefined;
2814
2687
  }, {
2815
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2816
- authority: "authoritative" | "confirmatory" | "advisory";
2688
+ source: "merchant_challenge" | "external_metadata";
2689
+ authority: "authoritative" | "advisory";
2817
2690
  note?: string | undefined;
2818
2691
  }>;
2819
2692
  }, "strip", z.ZodTypeAny, {
2820
2693
  value: string;
2821
2694
  attribution: {
2822
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2823
- authority: "authoritative" | "confirmatory" | "advisory";
2695
+ source: "merchant_challenge" | "external_metadata";
2696
+ authority: "authoritative" | "advisory";
2824
2697
  note?: string | undefined;
2825
2698
  };
2826
2699
  }, {
2827
2700
  value: string;
2828
2701
  attribution: {
2829
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2830
- authority: "authoritative" | "confirmatory" | "advisory";
2702
+ source: "merchant_challenge" | "external_metadata";
2703
+ authority: "authoritative" | "advisory";
2831
2704
  note?: string | undefined;
2832
2705
  };
2833
2706
  }>>;
2834
2707
  requestBodyType: z.ZodOptional<z.ZodObject<{
2835
2708
  value: z.ZodString;
2836
2709
  attribution: z.ZodObject<{
2837
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2838
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2710
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2711
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2839
2712
  note: z.ZodOptional<z.ZodString>;
2840
2713
  }, "strip", z.ZodTypeAny, {
2841
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2842
- authority: "authoritative" | "confirmatory" | "advisory";
2714
+ source: "merchant_challenge" | "external_metadata";
2715
+ authority: "authoritative" | "advisory";
2843
2716
  note?: string | undefined;
2844
2717
  }, {
2845
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2846
- authority: "authoritative" | "confirmatory" | "advisory";
2718
+ source: "merchant_challenge" | "external_metadata";
2719
+ authority: "authoritative" | "advisory";
2847
2720
  note?: string | undefined;
2848
2721
  }>;
2849
2722
  }, "strip", z.ZodTypeAny, {
2850
2723
  value: string;
2851
2724
  attribution: {
2852
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2853
- authority: "authoritative" | "confirmatory" | "advisory";
2725
+ source: "merchant_challenge" | "external_metadata";
2726
+ authority: "authoritative" | "advisory";
2854
2727
  note?: string | undefined;
2855
2728
  };
2856
2729
  }, {
2857
2730
  value: string;
2858
2731
  attribution: {
2859
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2860
- authority: "authoritative" | "confirmatory" | "advisory";
2732
+ source: "merchant_challenge" | "external_metadata";
2733
+ authority: "authoritative" | "advisory";
2861
2734
  note?: string | undefined;
2862
2735
  };
2863
2736
  }>>;
2864
2737
  requestBodyExample: z.ZodOptional<z.ZodObject<{
2865
2738
  value: z.ZodString;
2866
2739
  attribution: z.ZodObject<{
2867
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2868
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2740
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2741
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2869
2742
  note: z.ZodOptional<z.ZodString>;
2870
2743
  }, "strip", z.ZodTypeAny, {
2871
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2872
- authority: "authoritative" | "confirmatory" | "advisory";
2744
+ source: "merchant_challenge" | "external_metadata";
2745
+ authority: "authoritative" | "advisory";
2873
2746
  note?: string | undefined;
2874
2747
  }, {
2875
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2876
- authority: "authoritative" | "confirmatory" | "advisory";
2748
+ source: "merchant_challenge" | "external_metadata";
2749
+ authority: "authoritative" | "advisory";
2877
2750
  note?: string | undefined;
2878
2751
  }>;
2879
2752
  }, "strip", z.ZodTypeAny, {
2880
2753
  value: string;
2881
2754
  attribution: {
2882
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2883
- authority: "authoritative" | "confirmatory" | "advisory";
2755
+ source: "merchant_challenge" | "external_metadata";
2756
+ authority: "authoritative" | "advisory";
2884
2757
  note?: string | undefined;
2885
2758
  };
2886
2759
  }, {
2887
2760
  value: string;
2888
2761
  attribution: {
2889
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2890
- authority: "authoritative" | "confirmatory" | "advisory";
2762
+ source: "merchant_challenge" | "external_metadata";
2763
+ authority: "authoritative" | "advisory";
2891
2764
  note?: string | undefined;
2892
2765
  };
2893
2766
  }>>;
@@ -2900,23 +2773,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2900
2773
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2901
2774
  } & {
2902
2775
  attribution: z.ZodObject<{
2903
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2904
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2776
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2777
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2905
2778
  note: z.ZodOptional<z.ZodString>;
2906
2779
  }, "strip", z.ZodTypeAny, {
2907
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2908
- authority: "authoritative" | "confirmatory" | "advisory";
2780
+ source: "merchant_challenge" | "external_metadata";
2781
+ authority: "authoritative" | "advisory";
2909
2782
  note?: string | undefined;
2910
2783
  }, {
2911
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2912
- authority: "authoritative" | "confirmatory" | "advisory";
2784
+ source: "merchant_challenge" | "external_metadata";
2785
+ authority: "authoritative" | "advisory";
2913
2786
  note?: string | undefined;
2914
2787
  }>;
2915
2788
  }, "strip", z.ZodTypeAny, {
2916
2789
  name: string;
2917
2790
  attribution: {
2918
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2919
- authority: "authoritative" | "confirmatory" | "advisory";
2791
+ source: "merchant_challenge" | "external_metadata";
2792
+ authority: "authoritative" | "advisory";
2920
2793
  note?: string | undefined;
2921
2794
  };
2922
2795
  type?: string | undefined;
@@ -2927,8 +2800,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2927
2800
  }, {
2928
2801
  name: string;
2929
2802
  attribution: {
2930
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2931
- authority: "authoritative" | "confirmatory" | "advisory";
2803
+ source: "merchant_challenge" | "external_metadata";
2804
+ authority: "authoritative" | "advisory";
2932
2805
  note?: string | undefined;
2933
2806
  };
2934
2807
  type?: string | undefined;
@@ -2946,23 +2819,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2946
2819
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2947
2820
  } & {
2948
2821
  attribution: z.ZodObject<{
2949
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2950
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2822
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2823
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2951
2824
  note: z.ZodOptional<z.ZodString>;
2952
2825
  }, "strip", z.ZodTypeAny, {
2953
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2954
- authority: "authoritative" | "confirmatory" | "advisory";
2826
+ source: "merchant_challenge" | "external_metadata";
2827
+ authority: "authoritative" | "advisory";
2955
2828
  note?: string | undefined;
2956
2829
  }, {
2957
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2958
- authority: "authoritative" | "confirmatory" | "advisory";
2830
+ source: "merchant_challenge" | "external_metadata";
2831
+ authority: "authoritative" | "advisory";
2959
2832
  note?: string | undefined;
2960
2833
  }>;
2961
2834
  }, "strip", z.ZodTypeAny, {
2962
2835
  name: string;
2963
2836
  attribution: {
2964
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2965
- authority: "authoritative" | "confirmatory" | "advisory";
2837
+ source: "merchant_challenge" | "external_metadata";
2838
+ authority: "authoritative" | "advisory";
2966
2839
  note?: string | undefined;
2967
2840
  };
2968
2841
  type?: string | undefined;
@@ -2973,8 +2846,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2973
2846
  }, {
2974
2847
  name: string;
2975
2848
  attribution: {
2976
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
2977
- authority: "authoritative" | "confirmatory" | "advisory";
2849
+ source: "merchant_challenge" | "external_metadata";
2850
+ authority: "authoritative" | "advisory";
2978
2851
  note?: string | undefined;
2979
2852
  };
2980
2853
  type?: string | undefined;
@@ -2992,23 +2865,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
2992
2865
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2993
2866
  } & {
2994
2867
  attribution: z.ZodObject<{
2995
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
2996
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2868
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2869
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
2997
2870
  note: z.ZodOptional<z.ZodString>;
2998
2871
  }, "strip", z.ZodTypeAny, {
2999
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3000
- authority: "authoritative" | "confirmatory" | "advisory";
2872
+ source: "merchant_challenge" | "external_metadata";
2873
+ authority: "authoritative" | "advisory";
3001
2874
  note?: string | undefined;
3002
2875
  }, {
3003
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3004
- authority: "authoritative" | "confirmatory" | "advisory";
2876
+ source: "merchant_challenge" | "external_metadata";
2877
+ authority: "authoritative" | "advisory";
3005
2878
  note?: string | undefined;
3006
2879
  }>;
3007
2880
  }, "strip", z.ZodTypeAny, {
3008
2881
  name: string;
3009
2882
  attribution: {
3010
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3011
- authority: "authoritative" | "confirmatory" | "advisory";
2883
+ source: "merchant_challenge" | "external_metadata";
2884
+ authority: "authoritative" | "advisory";
3012
2885
  note?: string | undefined;
3013
2886
  };
3014
2887
  type?: string | undefined;
@@ -3019,8 +2892,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3019
2892
  }, {
3020
2893
  name: string;
3021
2894
  attribution: {
3022
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3023
- authority: "authoritative" | "confirmatory" | "advisory";
2895
+ source: "merchant_challenge" | "external_metadata";
2896
+ authority: "authoritative" | "advisory";
3024
2897
  note?: string | undefined;
3025
2898
  };
3026
2899
  type?: string | undefined;
@@ -3032,30 +2905,30 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3032
2905
  notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
3033
2906
  value: z.ZodString;
3034
2907
  attribution: z.ZodObject<{
3035
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3036
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
2908
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
2909
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3037
2910
  note: z.ZodOptional<z.ZodString>;
3038
2911
  }, "strip", z.ZodTypeAny, {
3039
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3040
- authority: "authoritative" | "confirmatory" | "advisory";
2912
+ source: "merchant_challenge" | "external_metadata";
2913
+ authority: "authoritative" | "advisory";
3041
2914
  note?: string | undefined;
3042
2915
  }, {
3043
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3044
- authority: "authoritative" | "confirmatory" | "advisory";
2916
+ source: "merchant_challenge" | "external_metadata";
2917
+ authority: "authoritative" | "advisory";
3045
2918
  note?: string | undefined;
3046
2919
  }>;
3047
2920
  }, "strip", z.ZodTypeAny, {
3048
2921
  value: string;
3049
2922
  attribution: {
3050
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3051
- authority: "authoritative" | "confirmatory" | "advisory";
2923
+ source: "merchant_challenge" | "external_metadata";
2924
+ authority: "authoritative" | "advisory";
3052
2925
  note?: string | undefined;
3053
2926
  };
3054
2927
  }, {
3055
2928
  value: string;
3056
2929
  attribution: {
3057
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3058
- authority: "authoritative" | "confirmatory" | "advisory";
2930
+ source: "merchant_challenge" | "external_metadata";
2931
+ authority: "authoritative" | "advisory";
3059
2932
  note?: string | undefined;
3060
2933
  };
3061
2934
  }>, "many">>;
@@ -3063,8 +2936,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3063
2936
  requestBodyFields: {
3064
2937
  name: string;
3065
2938
  attribution: {
3066
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3067
- authority: "authoritative" | "confirmatory" | "advisory";
2939
+ source: "merchant_challenge" | "external_metadata";
2940
+ authority: "authoritative" | "advisory";
3068
2941
  note?: string | undefined;
3069
2942
  };
3070
2943
  type?: string | undefined;
@@ -3076,8 +2949,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3076
2949
  requestQueryParams: {
3077
2950
  name: string;
3078
2951
  attribution: {
3079
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3080
- authority: "authoritative" | "confirmatory" | "advisory";
2952
+ source: "merchant_challenge" | "external_metadata";
2953
+ authority: "authoritative" | "advisory";
3081
2954
  note?: string | undefined;
3082
2955
  };
3083
2956
  type?: string | undefined;
@@ -3089,8 +2962,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3089
2962
  requestPathParams: {
3090
2963
  name: string;
3091
2964
  attribution: {
3092
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3093
- authority: "authoritative" | "confirmatory" | "advisory";
2965
+ source: "merchant_challenge" | "external_metadata";
2966
+ authority: "authoritative" | "advisory";
3094
2967
  note?: string | undefined;
3095
2968
  };
3096
2969
  type?: string | undefined;
@@ -3102,32 +2975,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3102
2975
  notes: {
3103
2976
  value: string;
3104
2977
  attribution: {
3105
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3106
- authority: "authoritative" | "confirmatory" | "advisory";
2978
+ source: "merchant_challenge" | "external_metadata";
2979
+ authority: "authoritative" | "advisory";
3107
2980
  note?: string | undefined;
3108
2981
  };
3109
2982
  }[];
3110
2983
  description?: {
3111
2984
  value: string;
3112
2985
  attribution: {
3113
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3114
- authority: "authoritative" | "confirmatory" | "advisory";
2986
+ source: "merchant_challenge" | "external_metadata";
2987
+ authority: "authoritative" | "advisory";
3115
2988
  note?: string | undefined;
3116
2989
  };
3117
2990
  } | undefined;
3118
2991
  requestBodyType?: {
3119
2992
  value: string;
3120
2993
  attribution: {
3121
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3122
- authority: "authoritative" | "confirmatory" | "advisory";
2994
+ source: "merchant_challenge" | "external_metadata";
2995
+ authority: "authoritative" | "advisory";
3123
2996
  note?: string | undefined;
3124
2997
  };
3125
2998
  } | undefined;
3126
2999
  requestBodyExample?: {
3127
3000
  value: string;
3128
3001
  attribution: {
3129
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3130
- authority: "authoritative" | "confirmatory" | "advisory";
3002
+ source: "merchant_challenge" | "external_metadata";
3003
+ authority: "authoritative" | "advisory";
3131
3004
  note?: string | undefined;
3132
3005
  };
3133
3006
  } | undefined;
@@ -3135,32 +3008,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3135
3008
  description?: {
3136
3009
  value: string;
3137
3010
  attribution: {
3138
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3139
- authority: "authoritative" | "confirmatory" | "advisory";
3011
+ source: "merchant_challenge" | "external_metadata";
3012
+ authority: "authoritative" | "advisory";
3140
3013
  note?: string | undefined;
3141
3014
  };
3142
3015
  } | undefined;
3143
3016
  requestBodyType?: {
3144
3017
  value: string;
3145
3018
  attribution: {
3146
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3147
- authority: "authoritative" | "confirmatory" | "advisory";
3019
+ source: "merchant_challenge" | "external_metadata";
3020
+ authority: "authoritative" | "advisory";
3148
3021
  note?: string | undefined;
3149
3022
  };
3150
3023
  } | undefined;
3151
3024
  requestBodyExample?: {
3152
3025
  value: string;
3153
3026
  attribution: {
3154
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3155
- authority: "authoritative" | "confirmatory" | "advisory";
3027
+ source: "merchant_challenge" | "external_metadata";
3028
+ authority: "authoritative" | "advisory";
3156
3029
  note?: string | undefined;
3157
3030
  };
3158
3031
  } | undefined;
3159
3032
  requestBodyFields?: {
3160
3033
  name: string;
3161
3034
  attribution: {
3162
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3163
- authority: "authoritative" | "confirmatory" | "advisory";
3035
+ source: "merchant_challenge" | "external_metadata";
3036
+ authority: "authoritative" | "advisory";
3164
3037
  note?: string | undefined;
3165
3038
  };
3166
3039
  type?: string | undefined;
@@ -3172,8 +3045,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3172
3045
  requestQueryParams?: {
3173
3046
  name: string;
3174
3047
  attribution: {
3175
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3176
- authority: "authoritative" | "confirmatory" | "advisory";
3048
+ source: "merchant_challenge" | "external_metadata";
3049
+ authority: "authoritative" | "advisory";
3177
3050
  note?: string | undefined;
3178
3051
  };
3179
3052
  type?: string | undefined;
@@ -3185,8 +3058,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3185
3058
  requestPathParams?: {
3186
3059
  name: string;
3187
3060
  attribution: {
3188
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3189
- authority: "authoritative" | "confirmatory" | "advisory";
3061
+ source: "merchant_challenge" | "external_metadata";
3062
+ authority: "authoritative" | "advisory";
3190
3063
  note?: string | undefined;
3191
3064
  };
3192
3065
  type?: string | undefined;
@@ -3198,8 +3071,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3198
3071
  notes?: {
3199
3072
  value: string;
3200
3073
  attribution: {
3201
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3202
- authority: "authoritative" | "confirmatory" | "advisory";
3074
+ source: "merchant_challenge" | "external_metadata";
3075
+ authority: "authoritative" | "advisory";
3203
3076
  note?: string | undefined;
3204
3077
  };
3205
3078
  }[] | undefined;
@@ -3219,14 +3092,14 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3219
3092
  field: z.ZodString;
3220
3093
  code: z.ZodString;
3221
3094
  message: z.ZodString;
3222
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3095
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3223
3096
  blocking: z.ZodBoolean;
3224
3097
  severity: z.ZodEnum<["error", "warning"]>;
3225
3098
  suggestedFix: z.ZodOptional<z.ZodString>;
3226
3099
  }, "strip", z.ZodTypeAny, {
3227
3100
  code: string;
3228
3101
  message: string;
3229
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3102
+ source: "merchant_challenge" | "external_metadata";
3230
3103
  location: "path" | "headers" | "body" | "query";
3231
3104
  field: string;
3232
3105
  blocking: boolean;
@@ -3235,7 +3108,7 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3235
3108
  }, {
3236
3109
  code: string;
3237
3110
  message: string;
3238
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3111
+ source: "merchant_challenge" | "external_metadata";
3239
3112
  location: "path" | "headers" | "body" | "query";
3240
3113
  field: string;
3241
3114
  blocking: boolean;
@@ -3257,8 +3130,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3257
3130
  requestBodyFields: {
3258
3131
  name: string;
3259
3132
  attribution: {
3260
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3261
- authority: "authoritative" | "confirmatory" | "advisory";
3133
+ source: "merchant_challenge" | "external_metadata";
3134
+ authority: "authoritative" | "advisory";
3262
3135
  note?: string | undefined;
3263
3136
  };
3264
3137
  type?: string | undefined;
@@ -3270,8 +3143,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3270
3143
  requestQueryParams: {
3271
3144
  name: string;
3272
3145
  attribution: {
3273
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3274
- authority: "authoritative" | "confirmatory" | "advisory";
3146
+ source: "merchant_challenge" | "external_metadata";
3147
+ authority: "authoritative" | "advisory";
3275
3148
  note?: string | undefined;
3276
3149
  };
3277
3150
  type?: string | undefined;
@@ -3283,8 +3156,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3283
3156
  requestPathParams: {
3284
3157
  name: string;
3285
3158
  attribution: {
3286
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3287
- authority: "authoritative" | "confirmatory" | "advisory";
3159
+ source: "merchant_challenge" | "external_metadata";
3160
+ authority: "authoritative" | "advisory";
3288
3161
  note?: string | undefined;
3289
3162
  };
3290
3163
  type?: string | undefined;
@@ -3296,32 +3169,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3296
3169
  notes: {
3297
3170
  value: string;
3298
3171
  attribution: {
3299
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3300
- authority: "authoritative" | "confirmatory" | "advisory";
3172
+ source: "merchant_challenge" | "external_metadata";
3173
+ authority: "authoritative" | "advisory";
3301
3174
  note?: string | undefined;
3302
3175
  };
3303
3176
  }[];
3304
3177
  description?: {
3305
3178
  value: string;
3306
3179
  attribution: {
3307
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3308
- authority: "authoritative" | "confirmatory" | "advisory";
3180
+ source: "merchant_challenge" | "external_metadata";
3181
+ authority: "authoritative" | "advisory";
3309
3182
  note?: string | undefined;
3310
3183
  };
3311
3184
  } | undefined;
3312
3185
  requestBodyType?: {
3313
3186
  value: string;
3314
3187
  attribution: {
3315
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3316
- authority: "authoritative" | "confirmatory" | "advisory";
3188
+ source: "merchant_challenge" | "external_metadata";
3189
+ authority: "authoritative" | "advisory";
3317
3190
  note?: string | undefined;
3318
3191
  };
3319
3192
  } | undefined;
3320
3193
  requestBodyExample?: {
3321
3194
  value: string;
3322
3195
  attribution: {
3323
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3324
- authority: "authoritative" | "confirmatory" | "advisory";
3196
+ source: "merchant_challenge" | "external_metadata";
3197
+ authority: "authoritative" | "advisory";
3325
3198
  note?: string | undefined;
3326
3199
  };
3327
3200
  } | undefined;
@@ -3329,7 +3202,7 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3329
3202
  validationIssues: {
3330
3203
  code: string;
3331
3204
  message: string;
3332
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3205
+ source: "merchant_challenge" | "external_metadata";
3333
3206
  location: "path" | "headers" | "body" | "query";
3334
3207
  field: string;
3335
3208
  blocking: boolean;
@@ -3355,32 +3228,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3355
3228
  description?: {
3356
3229
  value: string;
3357
3230
  attribution: {
3358
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3359
- authority: "authoritative" | "confirmatory" | "advisory";
3231
+ source: "merchant_challenge" | "external_metadata";
3232
+ authority: "authoritative" | "advisory";
3360
3233
  note?: string | undefined;
3361
3234
  };
3362
3235
  } | undefined;
3363
3236
  requestBodyType?: {
3364
3237
  value: string;
3365
3238
  attribution: {
3366
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3367
- authority: "authoritative" | "confirmatory" | "advisory";
3239
+ source: "merchant_challenge" | "external_metadata";
3240
+ authority: "authoritative" | "advisory";
3368
3241
  note?: string | undefined;
3369
3242
  };
3370
3243
  } | undefined;
3371
3244
  requestBodyExample?: {
3372
3245
  value: string;
3373
3246
  attribution: {
3374
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3375
- authority: "authoritative" | "confirmatory" | "advisory";
3247
+ source: "merchant_challenge" | "external_metadata";
3248
+ authority: "authoritative" | "advisory";
3376
3249
  note?: string | undefined;
3377
3250
  };
3378
3251
  } | undefined;
3379
3252
  requestBodyFields?: {
3380
3253
  name: string;
3381
3254
  attribution: {
3382
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3383
- authority: "authoritative" | "confirmatory" | "advisory";
3255
+ source: "merchant_challenge" | "external_metadata";
3256
+ authority: "authoritative" | "advisory";
3384
3257
  note?: string | undefined;
3385
3258
  };
3386
3259
  type?: string | undefined;
@@ -3392,8 +3265,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3392
3265
  requestQueryParams?: {
3393
3266
  name: string;
3394
3267
  attribution: {
3395
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3396
- authority: "authoritative" | "confirmatory" | "advisory";
3268
+ source: "merchant_challenge" | "external_metadata";
3269
+ authority: "authoritative" | "advisory";
3397
3270
  note?: string | undefined;
3398
3271
  };
3399
3272
  type?: string | undefined;
@@ -3405,8 +3278,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3405
3278
  requestPathParams?: {
3406
3279
  name: string;
3407
3280
  attribution: {
3408
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3409
- authority: "authoritative" | "confirmatory" | "advisory";
3281
+ source: "merchant_challenge" | "external_metadata";
3282
+ authority: "authoritative" | "advisory";
3410
3283
  note?: string | undefined;
3411
3284
  };
3412
3285
  type?: string | undefined;
@@ -3418,8 +3291,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3418
3291
  notes?: {
3419
3292
  value: string;
3420
3293
  attribution: {
3421
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3422
- authority: "authoritative" | "confirmatory" | "advisory";
3294
+ source: "merchant_challenge" | "external_metadata";
3295
+ authority: "authoritative" | "advisory";
3423
3296
  note?: string | undefined;
3424
3297
  };
3425
3298
  }[] | undefined;
@@ -3432,7 +3305,7 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3432
3305
  validationIssues?: {
3433
3306
  code: string;
3434
3307
  message: string;
3435
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3308
+ source: "merchant_challenge" | "external_metadata";
3436
3309
  location: "path" | "headers" | "body" | "query";
3437
3310
  field: string;
3438
3311
  blocking: boolean;
@@ -3474,6 +3347,110 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3474
3347
  headers?: Record<string, string> | undefined;
3475
3348
  body?: unknown;
3476
3349
  }>;
3350
+ challengeDetails: z.ZodOptional<z.ZodObject<{
3351
+ x402Version: z.ZodOptional<z.ZodNumber>;
3352
+ error: z.ZodOptional<z.ZodString>;
3353
+ resource: z.ZodOptional<z.ZodObject<{
3354
+ url: z.ZodString;
3355
+ description: z.ZodOptional<z.ZodString>;
3356
+ mimeType: z.ZodOptional<z.ZodString>;
3357
+ }, "strip", z.ZodTypeAny, {
3358
+ url: string;
3359
+ description?: string | undefined;
3360
+ mimeType?: string | undefined;
3361
+ }, {
3362
+ url: string;
3363
+ description?: string | undefined;
3364
+ mimeType?: string | undefined;
3365
+ }>>;
3366
+ accepts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3367
+ scheme: z.ZodOptional<z.ZodString>;
3368
+ network: z.ZodOptional<z.ZodString>;
3369
+ amount: z.ZodOptional<z.ZodString>;
3370
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
3371
+ asset: z.ZodOptional<z.ZodString>;
3372
+ payTo: z.ZodOptional<z.ZodString>;
3373
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3374
+ resource: z.ZodOptional<z.ZodString>;
3375
+ description: z.ZodOptional<z.ZodString>;
3376
+ mimeType: z.ZodOptional<z.ZodString>;
3377
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
3378
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3379
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
3380
+ scheme: z.ZodOptional<z.ZodString>;
3381
+ network: z.ZodOptional<z.ZodString>;
3382
+ amount: z.ZodOptional<z.ZodString>;
3383
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
3384
+ asset: z.ZodOptional<z.ZodString>;
3385
+ payTo: z.ZodOptional<z.ZodString>;
3386
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3387
+ resource: z.ZodOptional<z.ZodString>;
3388
+ description: z.ZodOptional<z.ZodString>;
3389
+ mimeType: z.ZodOptional<z.ZodString>;
3390
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
3391
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3392
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
3393
+ scheme: z.ZodOptional<z.ZodString>;
3394
+ network: z.ZodOptional<z.ZodString>;
3395
+ amount: z.ZodOptional<z.ZodString>;
3396
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
3397
+ asset: z.ZodOptional<z.ZodString>;
3398
+ payTo: z.ZodOptional<z.ZodString>;
3399
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3400
+ resource: z.ZodOptional<z.ZodString>;
3401
+ description: z.ZodOptional<z.ZodString>;
3402
+ mimeType: z.ZodOptional<z.ZodString>;
3403
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
3404
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3405
+ }, z.ZodUnknown, "strip">>, "many">>;
3406
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3407
+ }, "strip", z.ZodTypeAny, {
3408
+ accepts: z.objectOutputType<{
3409
+ scheme: z.ZodOptional<z.ZodString>;
3410
+ network: z.ZodOptional<z.ZodString>;
3411
+ amount: z.ZodOptional<z.ZodString>;
3412
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
3413
+ asset: z.ZodOptional<z.ZodString>;
3414
+ payTo: z.ZodOptional<z.ZodString>;
3415
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3416
+ resource: z.ZodOptional<z.ZodString>;
3417
+ description: z.ZodOptional<z.ZodString>;
3418
+ mimeType: z.ZodOptional<z.ZodString>;
3419
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
3420
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3421
+ }, z.ZodUnknown, "strip">[];
3422
+ resource?: {
3423
+ url: string;
3424
+ description?: string | undefined;
3425
+ mimeType?: string | undefined;
3426
+ } | undefined;
3427
+ x402Version?: number | undefined;
3428
+ error?: string | undefined;
3429
+ extensions?: Record<string, unknown> | undefined;
3430
+ }, {
3431
+ resource?: {
3432
+ url: string;
3433
+ description?: string | undefined;
3434
+ mimeType?: string | undefined;
3435
+ } | undefined;
3436
+ x402Version?: number | undefined;
3437
+ error?: string | undefined;
3438
+ accepts?: z.objectInputType<{
3439
+ scheme: z.ZodOptional<z.ZodString>;
3440
+ network: z.ZodOptional<z.ZodString>;
3441
+ amount: z.ZodOptional<z.ZodString>;
3442
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
3443
+ asset: z.ZodOptional<z.ZodString>;
3444
+ payTo: z.ZodOptional<z.ZodString>;
3445
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
3446
+ resource: z.ZodOptional<z.ZodString>;
3447
+ description: z.ZodOptional<z.ZodString>;
3448
+ mimeType: z.ZodOptional<z.ZodString>;
3449
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
3450
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3451
+ }, z.ZodUnknown, "strip">[] | undefined;
3452
+ extensions?: Record<string, unknown> | undefined;
3453
+ }>>;
3477
3454
  paymentRequirement: z.ZodOptional<z.ZodObject<{
3478
3455
  protocol: z.ZodEnum<["x402", "l402"]>;
3479
3456
  description: z.ZodOptional<z.ZodString>;
@@ -3485,36 +3462,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3485
3462
  amountMinor: z.ZodOptional<z.ZodString>;
3486
3463
  precision: z.ZodOptional<z.ZodNumber>;
3487
3464
  provenance: z.ZodObject<{
3488
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3489
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3465
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3466
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3490
3467
  note: z.ZodOptional<z.ZodString>;
3491
3468
  }, "strip", z.ZodTypeAny, {
3492
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3493
- authority: "authoritative" | "confirmatory" | "advisory";
3469
+ source: "merchant_challenge" | "external_metadata";
3470
+ authority: "authoritative" | "advisory";
3494
3471
  note?: string | undefined;
3495
3472
  }, {
3496
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3497
- authority: "authoritative" | "confirmatory" | "advisory";
3473
+ source: "merchant_challenge" | "external_metadata";
3474
+ authority: "authoritative" | "advisory";
3498
3475
  note?: string | undefined;
3499
3476
  }>;
3500
- confirmation: z.ZodOptional<z.ZodObject<{
3501
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3502
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3503
- note: z.ZodOptional<z.ZodString>;
3504
- }, "strip", z.ZodTypeAny, {
3505
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3506
- authority: "authoritative" | "confirmatory" | "advisory";
3507
- note?: string | undefined;
3508
- }, {
3509
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3510
- authority: "authoritative" | "confirmatory" | "advisory";
3511
- note?: string | undefined;
3512
- }>>;
3513
3477
  }, "strip", z.ZodTypeAny, {
3514
3478
  protocol: "x402" | "l402";
3515
3479
  provenance: {
3516
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3517
- authority: "authoritative" | "confirmatory" | "advisory";
3480
+ source: "merchant_challenge" | "external_metadata";
3481
+ authority: "authoritative" | "advisory";
3518
3482
  note?: string | undefined;
3519
3483
  };
3520
3484
  asset?: string | undefined;
@@ -3525,16 +3489,11 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3525
3489
  network?: string | undefined;
3526
3490
  payee?: string | undefined;
3527
3491
  amountType?: "exact" | "max" | undefined;
3528
- confirmation?: {
3529
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3530
- authority: "authoritative" | "confirmatory" | "advisory";
3531
- note?: string | undefined;
3532
- } | undefined;
3533
3492
  }, {
3534
3493
  protocol: "x402" | "l402";
3535
3494
  provenance: {
3536
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3537
- authority: "authoritative" | "confirmatory" | "advisory";
3495
+ source: "merchant_challenge" | "external_metadata";
3496
+ authority: "authoritative" | "advisory";
3538
3497
  note?: string | undefined;
3539
3498
  };
3540
3499
  asset?: string | undefined;
@@ -3545,100 +3504,95 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3545
3504
  network?: string | undefined;
3546
3505
  payee?: string | undefined;
3547
3506
  amountType?: "exact" | "max" | undefined;
3548
- confirmation?: {
3549
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3550
- authority: "authoritative" | "confirmatory" | "advisory";
3551
- note?: string | undefined;
3552
- } | undefined;
3553
3507
  }>>;
3554
3508
  hints: z.ZodObject<{
3555
3509
  description: z.ZodOptional<z.ZodObject<{
3556
3510
  value: z.ZodString;
3557
3511
  attribution: z.ZodObject<{
3558
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3559
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3512
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3513
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3560
3514
  note: z.ZodOptional<z.ZodString>;
3561
3515
  }, "strip", z.ZodTypeAny, {
3562
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3563
- authority: "authoritative" | "confirmatory" | "advisory";
3516
+ source: "merchant_challenge" | "external_metadata";
3517
+ authority: "authoritative" | "advisory";
3564
3518
  note?: string | undefined;
3565
3519
  }, {
3566
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3567
- authority: "authoritative" | "confirmatory" | "advisory";
3520
+ source: "merchant_challenge" | "external_metadata";
3521
+ authority: "authoritative" | "advisory";
3568
3522
  note?: string | undefined;
3569
3523
  }>;
3570
3524
  }, "strip", z.ZodTypeAny, {
3571
3525
  value: string;
3572
3526
  attribution: {
3573
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3574
- authority: "authoritative" | "confirmatory" | "advisory";
3527
+ source: "merchant_challenge" | "external_metadata";
3528
+ authority: "authoritative" | "advisory";
3575
3529
  note?: string | undefined;
3576
3530
  };
3577
3531
  }, {
3578
3532
  value: string;
3579
3533
  attribution: {
3580
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3581
- authority: "authoritative" | "confirmatory" | "advisory";
3534
+ source: "merchant_challenge" | "external_metadata";
3535
+ authority: "authoritative" | "advisory";
3582
3536
  note?: string | undefined;
3583
3537
  };
3584
3538
  }>>;
3585
3539
  requestBodyType: z.ZodOptional<z.ZodObject<{
3586
3540
  value: z.ZodString;
3587
3541
  attribution: z.ZodObject<{
3588
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3589
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3542
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3543
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3590
3544
  note: z.ZodOptional<z.ZodString>;
3591
3545
  }, "strip", z.ZodTypeAny, {
3592
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3593
- authority: "authoritative" | "confirmatory" | "advisory";
3546
+ source: "merchant_challenge" | "external_metadata";
3547
+ authority: "authoritative" | "advisory";
3594
3548
  note?: string | undefined;
3595
3549
  }, {
3596
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3597
- authority: "authoritative" | "confirmatory" | "advisory";
3550
+ source: "merchant_challenge" | "external_metadata";
3551
+ authority: "authoritative" | "advisory";
3598
3552
  note?: string | undefined;
3599
3553
  }>;
3600
3554
  }, "strip", z.ZodTypeAny, {
3601
3555
  value: string;
3602
3556
  attribution: {
3603
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3604
- authority: "authoritative" | "confirmatory" | "advisory";
3557
+ source: "merchant_challenge" | "external_metadata";
3558
+ authority: "authoritative" | "advisory";
3605
3559
  note?: string | undefined;
3606
3560
  };
3607
3561
  }, {
3608
3562
  value: string;
3609
3563
  attribution: {
3610
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3611
- authority: "authoritative" | "confirmatory" | "advisory";
3564
+ source: "merchant_challenge" | "external_metadata";
3565
+ authority: "authoritative" | "advisory";
3612
3566
  note?: string | undefined;
3613
3567
  };
3614
3568
  }>>;
3615
3569
  requestBodyExample: z.ZodOptional<z.ZodObject<{
3616
3570
  value: z.ZodString;
3617
3571
  attribution: z.ZodObject<{
3618
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3619
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3572
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3573
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3620
3574
  note: z.ZodOptional<z.ZodString>;
3621
3575
  }, "strip", z.ZodTypeAny, {
3622
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3623
- authority: "authoritative" | "confirmatory" | "advisory";
3576
+ source: "merchant_challenge" | "external_metadata";
3577
+ authority: "authoritative" | "advisory";
3624
3578
  note?: string | undefined;
3625
3579
  }, {
3626
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3627
- authority: "authoritative" | "confirmatory" | "advisory";
3580
+ source: "merchant_challenge" | "external_metadata";
3581
+ authority: "authoritative" | "advisory";
3628
3582
  note?: string | undefined;
3629
3583
  }>;
3630
3584
  }, "strip", z.ZodTypeAny, {
3631
3585
  value: string;
3632
3586
  attribution: {
3633
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3634
- authority: "authoritative" | "confirmatory" | "advisory";
3587
+ source: "merchant_challenge" | "external_metadata";
3588
+ authority: "authoritative" | "advisory";
3635
3589
  note?: string | undefined;
3636
3590
  };
3637
3591
  }, {
3638
3592
  value: string;
3639
3593
  attribution: {
3640
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3641
- authority: "authoritative" | "confirmatory" | "advisory";
3594
+ source: "merchant_challenge" | "external_metadata";
3595
+ authority: "authoritative" | "advisory";
3642
3596
  note?: string | undefined;
3643
3597
  };
3644
3598
  }>>;
@@ -3651,23 +3605,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3651
3605
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3652
3606
  } & {
3653
3607
  attribution: z.ZodObject<{
3654
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3655
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3608
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3609
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3656
3610
  note: z.ZodOptional<z.ZodString>;
3657
3611
  }, "strip", z.ZodTypeAny, {
3658
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3659
- authority: "authoritative" | "confirmatory" | "advisory";
3612
+ source: "merchant_challenge" | "external_metadata";
3613
+ authority: "authoritative" | "advisory";
3660
3614
  note?: string | undefined;
3661
3615
  }, {
3662
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3663
- authority: "authoritative" | "confirmatory" | "advisory";
3616
+ source: "merchant_challenge" | "external_metadata";
3617
+ authority: "authoritative" | "advisory";
3664
3618
  note?: string | undefined;
3665
3619
  }>;
3666
3620
  }, "strip", z.ZodTypeAny, {
3667
3621
  name: string;
3668
3622
  attribution: {
3669
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3670
- authority: "authoritative" | "confirmatory" | "advisory";
3623
+ source: "merchant_challenge" | "external_metadata";
3624
+ authority: "authoritative" | "advisory";
3671
3625
  note?: string | undefined;
3672
3626
  };
3673
3627
  type?: string | undefined;
@@ -3678,8 +3632,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3678
3632
  }, {
3679
3633
  name: string;
3680
3634
  attribution: {
3681
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3682
- authority: "authoritative" | "confirmatory" | "advisory";
3635
+ source: "merchant_challenge" | "external_metadata";
3636
+ authority: "authoritative" | "advisory";
3683
3637
  note?: string | undefined;
3684
3638
  };
3685
3639
  type?: string | undefined;
@@ -3697,23 +3651,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3697
3651
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3698
3652
  } & {
3699
3653
  attribution: z.ZodObject<{
3700
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3701
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3654
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3655
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3702
3656
  note: z.ZodOptional<z.ZodString>;
3703
3657
  }, "strip", z.ZodTypeAny, {
3704
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3705
- authority: "authoritative" | "confirmatory" | "advisory";
3658
+ source: "merchant_challenge" | "external_metadata";
3659
+ authority: "authoritative" | "advisory";
3706
3660
  note?: string | undefined;
3707
3661
  }, {
3708
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3709
- authority: "authoritative" | "confirmatory" | "advisory";
3662
+ source: "merchant_challenge" | "external_metadata";
3663
+ authority: "authoritative" | "advisory";
3710
3664
  note?: string | undefined;
3711
3665
  }>;
3712
3666
  }, "strip", z.ZodTypeAny, {
3713
3667
  name: string;
3714
3668
  attribution: {
3715
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3716
- authority: "authoritative" | "confirmatory" | "advisory";
3669
+ source: "merchant_challenge" | "external_metadata";
3670
+ authority: "authoritative" | "advisory";
3717
3671
  note?: string | undefined;
3718
3672
  };
3719
3673
  type?: string | undefined;
@@ -3724,8 +3678,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3724
3678
  }, {
3725
3679
  name: string;
3726
3680
  attribution: {
3727
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3728
- authority: "authoritative" | "confirmatory" | "advisory";
3681
+ source: "merchant_challenge" | "external_metadata";
3682
+ authority: "authoritative" | "advisory";
3729
3683
  note?: string | undefined;
3730
3684
  };
3731
3685
  type?: string | undefined;
@@ -3743,23 +3697,23 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3743
3697
  enumValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3744
3698
  } & {
3745
3699
  attribution: z.ZodObject<{
3746
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3747
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3700
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3701
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3748
3702
  note: z.ZodOptional<z.ZodString>;
3749
3703
  }, "strip", z.ZodTypeAny, {
3750
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3751
- authority: "authoritative" | "confirmatory" | "advisory";
3704
+ source: "merchant_challenge" | "external_metadata";
3705
+ authority: "authoritative" | "advisory";
3752
3706
  note?: string | undefined;
3753
3707
  }, {
3754
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3755
- authority: "authoritative" | "confirmatory" | "advisory";
3708
+ source: "merchant_challenge" | "external_metadata";
3709
+ authority: "authoritative" | "advisory";
3756
3710
  note?: string | undefined;
3757
3711
  }>;
3758
3712
  }, "strip", z.ZodTypeAny, {
3759
3713
  name: string;
3760
3714
  attribution: {
3761
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3762
- authority: "authoritative" | "confirmatory" | "advisory";
3715
+ source: "merchant_challenge" | "external_metadata";
3716
+ authority: "authoritative" | "advisory";
3763
3717
  note?: string | undefined;
3764
3718
  };
3765
3719
  type?: string | undefined;
@@ -3770,8 +3724,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3770
3724
  }, {
3771
3725
  name: string;
3772
3726
  attribution: {
3773
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3774
- authority: "authoritative" | "confirmatory" | "advisory";
3727
+ source: "merchant_challenge" | "external_metadata";
3728
+ authority: "authoritative" | "advisory";
3775
3729
  note?: string | undefined;
3776
3730
  };
3777
3731
  type?: string | undefined;
@@ -3783,30 +3737,30 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3783
3737
  notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
3784
3738
  value: z.ZodString;
3785
3739
  attribution: z.ZodObject<{
3786
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3787
- authority: z.ZodEnum<["authoritative", "confirmatory", "advisory"]>;
3740
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3741
+ authority: z.ZodEnum<["authoritative", "advisory"]>;
3788
3742
  note: z.ZodOptional<z.ZodString>;
3789
3743
  }, "strip", z.ZodTypeAny, {
3790
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3791
- authority: "authoritative" | "confirmatory" | "advisory";
3744
+ source: "merchant_challenge" | "external_metadata";
3745
+ authority: "authoritative" | "advisory";
3792
3746
  note?: string | undefined;
3793
3747
  }, {
3794
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3795
- authority: "authoritative" | "confirmatory" | "advisory";
3748
+ source: "merchant_challenge" | "external_metadata";
3749
+ authority: "authoritative" | "advisory";
3796
3750
  note?: string | undefined;
3797
3751
  }>;
3798
3752
  }, "strip", z.ZodTypeAny, {
3799
3753
  value: string;
3800
3754
  attribution: {
3801
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3802
- authority: "authoritative" | "confirmatory" | "advisory";
3755
+ source: "merchant_challenge" | "external_metadata";
3756
+ authority: "authoritative" | "advisory";
3803
3757
  note?: string | undefined;
3804
3758
  };
3805
3759
  }, {
3806
3760
  value: string;
3807
3761
  attribution: {
3808
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3809
- authority: "authoritative" | "confirmatory" | "advisory";
3762
+ source: "merchant_challenge" | "external_metadata";
3763
+ authority: "authoritative" | "advisory";
3810
3764
  note?: string | undefined;
3811
3765
  };
3812
3766
  }>, "many">>;
@@ -3814,8 +3768,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3814
3768
  requestBodyFields: {
3815
3769
  name: string;
3816
3770
  attribution: {
3817
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3818
- authority: "authoritative" | "confirmatory" | "advisory";
3771
+ source: "merchant_challenge" | "external_metadata";
3772
+ authority: "authoritative" | "advisory";
3819
3773
  note?: string | undefined;
3820
3774
  };
3821
3775
  type?: string | undefined;
@@ -3827,8 +3781,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3827
3781
  requestQueryParams: {
3828
3782
  name: string;
3829
3783
  attribution: {
3830
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3831
- authority: "authoritative" | "confirmatory" | "advisory";
3784
+ source: "merchant_challenge" | "external_metadata";
3785
+ authority: "authoritative" | "advisory";
3832
3786
  note?: string | undefined;
3833
3787
  };
3834
3788
  type?: string | undefined;
@@ -3840,8 +3794,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3840
3794
  requestPathParams: {
3841
3795
  name: string;
3842
3796
  attribution: {
3843
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3844
- authority: "authoritative" | "confirmatory" | "advisory";
3797
+ source: "merchant_challenge" | "external_metadata";
3798
+ authority: "authoritative" | "advisory";
3845
3799
  note?: string | undefined;
3846
3800
  };
3847
3801
  type?: string | undefined;
@@ -3853,32 +3807,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3853
3807
  notes: {
3854
3808
  value: string;
3855
3809
  attribution: {
3856
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3857
- authority: "authoritative" | "confirmatory" | "advisory";
3810
+ source: "merchant_challenge" | "external_metadata";
3811
+ authority: "authoritative" | "advisory";
3858
3812
  note?: string | undefined;
3859
3813
  };
3860
3814
  }[];
3861
3815
  description?: {
3862
3816
  value: string;
3863
3817
  attribution: {
3864
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3865
- authority: "authoritative" | "confirmatory" | "advisory";
3818
+ source: "merchant_challenge" | "external_metadata";
3819
+ authority: "authoritative" | "advisory";
3866
3820
  note?: string | undefined;
3867
3821
  };
3868
3822
  } | undefined;
3869
3823
  requestBodyType?: {
3870
3824
  value: string;
3871
3825
  attribution: {
3872
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3873
- authority: "authoritative" | "confirmatory" | "advisory";
3826
+ source: "merchant_challenge" | "external_metadata";
3827
+ authority: "authoritative" | "advisory";
3874
3828
  note?: string | undefined;
3875
3829
  };
3876
3830
  } | undefined;
3877
3831
  requestBodyExample?: {
3878
3832
  value: string;
3879
3833
  attribution: {
3880
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3881
- authority: "authoritative" | "confirmatory" | "advisory";
3834
+ source: "merchant_challenge" | "external_metadata";
3835
+ authority: "authoritative" | "advisory";
3882
3836
  note?: string | undefined;
3883
3837
  };
3884
3838
  } | undefined;
@@ -3886,32 +3840,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3886
3840
  description?: {
3887
3841
  value: string;
3888
3842
  attribution: {
3889
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3890
- authority: "authoritative" | "confirmatory" | "advisory";
3843
+ source: "merchant_challenge" | "external_metadata";
3844
+ authority: "authoritative" | "advisory";
3891
3845
  note?: string | undefined;
3892
3846
  };
3893
3847
  } | undefined;
3894
3848
  requestBodyType?: {
3895
3849
  value: string;
3896
3850
  attribution: {
3897
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3898
- authority: "authoritative" | "confirmatory" | "advisory";
3851
+ source: "merchant_challenge" | "external_metadata";
3852
+ authority: "authoritative" | "advisory";
3899
3853
  note?: string | undefined;
3900
3854
  };
3901
3855
  } | undefined;
3902
3856
  requestBodyExample?: {
3903
3857
  value: string;
3904
3858
  attribution: {
3905
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3906
- authority: "authoritative" | "confirmatory" | "advisory";
3859
+ source: "merchant_challenge" | "external_metadata";
3860
+ authority: "authoritative" | "advisory";
3907
3861
  note?: string | undefined;
3908
3862
  };
3909
3863
  } | undefined;
3910
3864
  requestBodyFields?: {
3911
3865
  name: string;
3912
3866
  attribution: {
3913
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3914
- authority: "authoritative" | "confirmatory" | "advisory";
3867
+ source: "merchant_challenge" | "external_metadata";
3868
+ authority: "authoritative" | "advisory";
3915
3869
  note?: string | undefined;
3916
3870
  };
3917
3871
  type?: string | undefined;
@@ -3923,8 +3877,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3923
3877
  requestQueryParams?: {
3924
3878
  name: string;
3925
3879
  attribution: {
3926
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3927
- authority: "authoritative" | "confirmatory" | "advisory";
3880
+ source: "merchant_challenge" | "external_metadata";
3881
+ authority: "authoritative" | "advisory";
3928
3882
  note?: string | undefined;
3929
3883
  };
3930
3884
  type?: string | undefined;
@@ -3936,8 +3890,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3936
3890
  requestPathParams?: {
3937
3891
  name: string;
3938
3892
  attribution: {
3939
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3940
- authority: "authoritative" | "confirmatory" | "advisory";
3893
+ source: "merchant_challenge" | "external_metadata";
3894
+ authority: "authoritative" | "advisory";
3941
3895
  note?: string | undefined;
3942
3896
  };
3943
3897
  type?: string | undefined;
@@ -3949,8 +3903,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3949
3903
  notes?: {
3950
3904
  value: string;
3951
3905
  attribution: {
3952
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3953
- authority: "authoritative" | "confirmatory" | "advisory";
3906
+ source: "merchant_challenge" | "external_metadata";
3907
+ authority: "authoritative" | "advisory";
3954
3908
  note?: string | undefined;
3955
3909
  };
3956
3910
  }[] | undefined;
@@ -3970,14 +3924,14 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3970
3924
  field: z.ZodString;
3971
3925
  code: z.ZodString;
3972
3926
  message: z.ZodString;
3973
- source: z.ZodEnum<["marketplace", "provider", "merchant_challenge", "runtime_probe"]>;
3927
+ source: z.ZodEnum<["merchant_challenge", "external_metadata"]>;
3974
3928
  blocking: z.ZodBoolean;
3975
3929
  severity: z.ZodEnum<["error", "warning"]>;
3976
3930
  suggestedFix: z.ZodOptional<z.ZodString>;
3977
3931
  }, "strip", z.ZodTypeAny, {
3978
3932
  code: string;
3979
3933
  message: string;
3980
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3934
+ source: "merchant_challenge" | "external_metadata";
3981
3935
  location: "path" | "headers" | "body" | "query";
3982
3936
  field: string;
3983
3937
  blocking: boolean;
@@ -3986,7 +3940,7 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
3986
3940
  }, {
3987
3941
  code: string;
3988
3942
  message: string;
3989
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
3943
+ source: "merchant_challenge" | "external_metadata";
3990
3944
  location: "path" | "headers" | "body" | "query";
3991
3945
  field: string;
3992
3946
  blocking: boolean;
@@ -4008,8 +3962,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4008
3962
  requestBodyFields: {
4009
3963
  name: string;
4010
3964
  attribution: {
4011
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4012
- authority: "authoritative" | "confirmatory" | "advisory";
3965
+ source: "merchant_challenge" | "external_metadata";
3966
+ authority: "authoritative" | "advisory";
4013
3967
  note?: string | undefined;
4014
3968
  };
4015
3969
  type?: string | undefined;
@@ -4021,8 +3975,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4021
3975
  requestQueryParams: {
4022
3976
  name: string;
4023
3977
  attribution: {
4024
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4025
- authority: "authoritative" | "confirmatory" | "advisory";
3978
+ source: "merchant_challenge" | "external_metadata";
3979
+ authority: "authoritative" | "advisory";
4026
3980
  note?: string | undefined;
4027
3981
  };
4028
3982
  type?: string | undefined;
@@ -4034,8 +3988,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4034
3988
  requestPathParams: {
4035
3989
  name: string;
4036
3990
  attribution: {
4037
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4038
- authority: "authoritative" | "confirmatory" | "advisory";
3991
+ source: "merchant_challenge" | "external_metadata";
3992
+ authority: "authoritative" | "advisory";
4039
3993
  note?: string | undefined;
4040
3994
  };
4041
3995
  type?: string | undefined;
@@ -4047,32 +4001,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4047
4001
  notes: {
4048
4002
  value: string;
4049
4003
  attribution: {
4050
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4051
- authority: "authoritative" | "confirmatory" | "advisory";
4004
+ source: "merchant_challenge" | "external_metadata";
4005
+ authority: "authoritative" | "advisory";
4052
4006
  note?: string | undefined;
4053
4007
  };
4054
4008
  }[];
4055
4009
  description?: {
4056
4010
  value: string;
4057
4011
  attribution: {
4058
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4059
- authority: "authoritative" | "confirmatory" | "advisory";
4012
+ source: "merchant_challenge" | "external_metadata";
4013
+ authority: "authoritative" | "advisory";
4060
4014
  note?: string | undefined;
4061
4015
  };
4062
4016
  } | undefined;
4063
4017
  requestBodyType?: {
4064
4018
  value: string;
4065
4019
  attribution: {
4066
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4067
- authority: "authoritative" | "confirmatory" | "advisory";
4020
+ source: "merchant_challenge" | "external_metadata";
4021
+ authority: "authoritative" | "advisory";
4068
4022
  note?: string | undefined;
4069
4023
  };
4070
4024
  } | undefined;
4071
4025
  requestBodyExample?: {
4072
4026
  value: string;
4073
4027
  attribution: {
4074
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4075
- authority: "authoritative" | "confirmatory" | "advisory";
4028
+ source: "merchant_challenge" | "external_metadata";
4029
+ authority: "authoritative" | "advisory";
4076
4030
  note?: string | undefined;
4077
4031
  };
4078
4032
  } | undefined;
@@ -4080,7 +4034,7 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4080
4034
  validationIssues: {
4081
4035
  code: string;
4082
4036
  message: string;
4083
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4037
+ source: "merchant_challenge" | "external_metadata";
4084
4038
  location: "path" | "headers" | "body" | "query";
4085
4039
  field: string;
4086
4040
  blocking: boolean;
@@ -4097,11 +4051,35 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4097
4051
  responseStatus: number;
4098
4052
  confirmedAt: string;
4099
4053
  } | undefined;
4054
+ challengeDetails?: {
4055
+ accepts: z.objectOutputType<{
4056
+ scheme: z.ZodOptional<z.ZodString>;
4057
+ network: z.ZodOptional<z.ZodString>;
4058
+ amount: z.ZodOptional<z.ZodString>;
4059
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
4060
+ asset: z.ZodOptional<z.ZodString>;
4061
+ payTo: z.ZodOptional<z.ZodString>;
4062
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
4063
+ resource: z.ZodOptional<z.ZodString>;
4064
+ description: z.ZodOptional<z.ZodString>;
4065
+ mimeType: z.ZodOptional<z.ZodString>;
4066
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
4067
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4068
+ }, z.ZodUnknown, "strip">[];
4069
+ resource?: {
4070
+ url: string;
4071
+ description?: string | undefined;
4072
+ mimeType?: string | undefined;
4073
+ } | undefined;
4074
+ x402Version?: number | undefined;
4075
+ error?: string | undefined;
4076
+ extensions?: Record<string, unknown> | undefined;
4077
+ } | undefined;
4100
4078
  paymentRequirement?: {
4101
4079
  protocol: "x402" | "l402";
4102
4080
  provenance: {
4103
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4104
- authority: "authoritative" | "confirmatory" | "advisory";
4081
+ source: "merchant_challenge" | "external_metadata";
4082
+ authority: "authoritative" | "advisory";
4105
4083
  note?: string | undefined;
4106
4084
  };
4107
4085
  asset?: string | undefined;
@@ -4112,11 +4090,6 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4112
4090
  network?: string | undefined;
4113
4091
  payee?: string | undefined;
4114
4092
  amountType?: "exact" | "max" | undefined;
4115
- confirmation?: {
4116
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4117
- authority: "authoritative" | "confirmatory" | "advisory";
4118
- note?: string | undefined;
4119
- } | undefined;
4120
4093
  } | undefined;
4121
4094
  }, {
4122
4095
  protocol: "x402" | "l402";
@@ -4132,32 +4105,32 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4132
4105
  description?: {
4133
4106
  value: string;
4134
4107
  attribution: {
4135
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4136
- authority: "authoritative" | "confirmatory" | "advisory";
4108
+ source: "merchant_challenge" | "external_metadata";
4109
+ authority: "authoritative" | "advisory";
4137
4110
  note?: string | undefined;
4138
4111
  };
4139
4112
  } | undefined;
4140
4113
  requestBodyType?: {
4141
4114
  value: string;
4142
4115
  attribution: {
4143
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4144
- authority: "authoritative" | "confirmatory" | "advisory";
4116
+ source: "merchant_challenge" | "external_metadata";
4117
+ authority: "authoritative" | "advisory";
4145
4118
  note?: string | undefined;
4146
4119
  };
4147
4120
  } | undefined;
4148
4121
  requestBodyExample?: {
4149
4122
  value: string;
4150
4123
  attribution: {
4151
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4152
- authority: "authoritative" | "confirmatory" | "advisory";
4124
+ source: "merchant_challenge" | "external_metadata";
4125
+ authority: "authoritative" | "advisory";
4153
4126
  note?: string | undefined;
4154
4127
  };
4155
4128
  } | undefined;
4156
4129
  requestBodyFields?: {
4157
4130
  name: string;
4158
4131
  attribution: {
4159
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4160
- authority: "authoritative" | "confirmatory" | "advisory";
4132
+ source: "merchant_challenge" | "external_metadata";
4133
+ authority: "authoritative" | "advisory";
4161
4134
  note?: string | undefined;
4162
4135
  };
4163
4136
  type?: string | undefined;
@@ -4169,8 +4142,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4169
4142
  requestQueryParams?: {
4170
4143
  name: string;
4171
4144
  attribution: {
4172
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4173
- authority: "authoritative" | "confirmatory" | "advisory";
4145
+ source: "merchant_challenge" | "external_metadata";
4146
+ authority: "authoritative" | "advisory";
4174
4147
  note?: string | undefined;
4175
4148
  };
4176
4149
  type?: string | undefined;
@@ -4182,8 +4155,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4182
4155
  requestPathParams?: {
4183
4156
  name: string;
4184
4157
  attribution: {
4185
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4186
- authority: "authoritative" | "confirmatory" | "advisory";
4158
+ source: "merchant_challenge" | "external_metadata";
4159
+ authority: "authoritative" | "advisory";
4187
4160
  note?: string | undefined;
4188
4161
  };
4189
4162
  type?: string | undefined;
@@ -4195,8 +4168,8 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4195
4168
  notes?: {
4196
4169
  value: string;
4197
4170
  attribution: {
4198
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4199
- authority: "authoritative" | "confirmatory" | "advisory";
4171
+ source: "merchant_challenge" | "external_metadata";
4172
+ authority: "authoritative" | "advisory";
4200
4173
  note?: string | undefined;
4201
4174
  };
4202
4175
  }[] | undefined;
@@ -4214,18 +4187,42 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4214
4187
  validationIssues?: {
4215
4188
  code: string;
4216
4189
  message: string;
4217
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4190
+ source: "merchant_challenge" | "external_metadata";
4218
4191
  location: "path" | "headers" | "body" | "query";
4219
4192
  field: string;
4220
4193
  blocking: boolean;
4221
4194
  severity: "error" | "warning";
4222
4195
  suggestedFix?: string | undefined;
4223
4196
  }[] | undefined;
4197
+ challengeDetails?: {
4198
+ resource?: {
4199
+ url: string;
4200
+ description?: string | undefined;
4201
+ mimeType?: string | undefined;
4202
+ } | undefined;
4203
+ x402Version?: number | undefined;
4204
+ error?: string | undefined;
4205
+ accepts?: z.objectInputType<{
4206
+ scheme: z.ZodOptional<z.ZodString>;
4207
+ network: z.ZodOptional<z.ZodString>;
4208
+ amount: z.ZodOptional<z.ZodString>;
4209
+ maxAmountRequired: z.ZodOptional<z.ZodString>;
4210
+ asset: z.ZodOptional<z.ZodString>;
4211
+ payTo: z.ZodOptional<z.ZodString>;
4212
+ maxTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
4213
+ resource: z.ZodOptional<z.ZodString>;
4214
+ description: z.ZodOptional<z.ZodString>;
4215
+ mimeType: z.ZodOptional<z.ZodString>;
4216
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
4217
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4218
+ }, z.ZodUnknown, "strip">[] | undefined;
4219
+ extensions?: Record<string, unknown> | undefined;
4220
+ } | undefined;
4224
4221
  paymentRequirement?: {
4225
4222
  protocol: "x402" | "l402";
4226
4223
  provenance: {
4227
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4228
- authority: "authoritative" | "confirmatory" | "advisory";
4224
+ source: "merchant_challenge" | "external_metadata";
4225
+ authority: "authoritative" | "advisory";
4229
4226
  note?: string | undefined;
4230
4227
  };
4231
4228
  asset?: string | undefined;
@@ -4236,11 +4233,6 @@ export declare const sdkPreparedPaidRequestSchema: z.ZodDiscriminatedUnion<"kind
4236
4233
  network?: string | undefined;
4237
4234
  payee?: string | undefined;
4238
4235
  amountType?: "exact" | "max" | undefined;
4239
- confirmation?: {
4240
- source: "marketplace" | "provider" | "merchant_challenge" | "runtime_probe";
4241
- authority: "authoritative" | "confirmatory" | "advisory";
4242
- note?: string | undefined;
4243
- } | undefined;
4244
4236
  } | undefined;
4245
4237
  }>]>;
4246
4238
  export type SdkPreparedPaidRequest = z.infer<typeof sdkPreparedPaidRequestSchema>;