@epilot/sdk 2.14.1 → 2.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/access-token.json +18 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +648 -11
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +119 -0
- package/definitions/workflow-definition-runtime.json +1 -1
- package/definitions/workflow-definition.json +6 -2
- package/dist/access-token-7Y2MDFZH.cjs +7 -0
- package/dist/access-token-NWN7UBUP.js +7 -0
- package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-BhRUc8I-.d.cts} +38 -1
- package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-BhRUc8I-.d.ts} +38 -1
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +8 -8
- package/dist/apis/workflow-definition.js +2 -2
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-IWQ2TGMV.js +7 -0
- package/dist/blueprint-manifest-YNNRSATN.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-2PQBKBIN.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-JYDKG5WQ.js} +1 -1
- package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-D2I9nhZa.d.cts} +699 -16
- package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-D2I9nhZa.d.ts} +699 -16
- package/dist/{chunk-T57MT6J5.cjs → chunk-ACOAPYGP.cjs} +1 -1
- package/dist/chunk-ADX7IYB3.cjs +14 -0
- package/dist/{chunk-BFMY2X2J.cjs → chunk-DGLXRPNZ.cjs} +1 -1
- package/dist/{chunk-SNERI3PK.cjs → chunk-K5HFQSHG.cjs} +7 -7
- package/dist/chunk-LIWGP5QQ.js +14 -0
- package/dist/{chunk-OJLX6U66.js → chunk-RSW3OGJC.js} +7 -7
- package/dist/chunk-TTU24M3D.js +14 -0
- package/dist/{chunk-6HJ2Y7DZ.js → chunk-Y5YIU6PG.js} +1 -1
- package/dist/{customer-portal-PTVGKDUH.js → customer-portal-6WYH4LMT.js} +1 -1
- package/dist/{customer-portal-6I3G44I4.cjs → customer-portal-JZMXGNRO.cjs} +1 -1
- package/dist/{customer-portal-runtime-4ACQGDNY.cjs → customer-portal-runtime-H7XSAQ6G.cjs} +2 -2
- package/dist/{customer-portal-runtime-E4RI7NYM.js → customer-portal-runtime-JDDF3NWW.js} +1 -1
- package/dist/{customer-portal.d-Bpc-wk9K.d.cts → customer-portal.d-SlKyKhCa.d.cts} +197 -0
- package/dist/{customer-portal.d-Bpc-wk9K.d.ts → customer-portal.d-SlKyKhCa.d.ts} +197 -0
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/workflow-definition-MSO4JDA3.js +7 -0
- package/dist/workflow-definition-XTWO4RMY.cjs +7 -0
- package/dist/{workflow-definition-runtime-2HQS3RPK.cjs → workflow-definition-runtime-DYKGFYQE.cjs} +2 -2
- package/dist/{workflow-definition-runtime-JUPATIKU.js → workflow-definition-runtime-GYDTSAJL.js} +1 -1
- package/docs/access-token.md +21 -1
- package/docs/blueprint-manifest.md +560 -456
- package/docs/customer-portal.md +139 -0
- package/docs/workflow-definition.md +1 -0
- package/package.json +1 -1
- package/dist/access-token-GD6REL4U.js +0 -7
- package/dist/access-token-NQ5BLMOW.cjs +0 -7
- package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
- package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
- package/dist/chunk-OSPTVXY4.js +0 -14
- package/dist/chunk-QNSMYDKG.cjs +0 -14
- package/dist/chunk-UWGWRGGB.js +0 -14
- package/dist/workflow-definition-5P3PDJKU.cjs +0 -7
- package/dist/workflow-definition-XSSOSEGF.js +0 -7
|
@@ -444,7 +444,7 @@ declare namespace Components {
|
|
|
444
444
|
* Terraform addresses this resource references (for dependency-aware ignore)
|
|
445
445
|
*/
|
|
446
446
|
depends_on_addresses?: string[];
|
|
447
|
-
impact_on_install?: ("create" | "update" | "internal-update" | "no-op" | "delete" | "ignored")[];
|
|
447
|
+
impact_on_install?: ("create" | "update" | "internal-update" | "no-op" | "delete" | "ignored" | "error")[];
|
|
448
448
|
/**
|
|
449
449
|
* Fields causing the updates / internal updates on a resource install
|
|
450
450
|
*/
|
|
@@ -500,6 +500,15 @@ declare namespace Components {
|
|
|
500
500
|
*/
|
|
501
501
|
snapshot_id?: string | null;
|
|
502
502
|
resources?: RestoreOutcomeItem[];
|
|
503
|
+
/**
|
|
504
|
+
* `true` iff at least one entry in `resources` has an effective
|
|
505
|
+
* action (`action` is `restore` or `delete`). `false` when every
|
|
506
|
+
* resource would be skipped (all `skip` / `failed`). Consumers
|
|
507
|
+
* can gate the "Revert sync" confirm button on this — if false,
|
|
508
|
+
* executing the revert is a no-op.
|
|
509
|
+
*
|
|
510
|
+
*/
|
|
511
|
+
has_effective_changes?: boolean;
|
|
503
512
|
} | null;
|
|
504
513
|
}
|
|
505
514
|
export interface BlueprintValidateJob {
|
|
@@ -554,6 +563,16 @@ declare namespace Components {
|
|
|
554
563
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
555
564
|
*/
|
|
556
565
|
BlueprintID;
|
|
566
|
+
installation_job_id?: /**
|
|
567
|
+
* ID of a job
|
|
568
|
+
* example:
|
|
569
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
570
|
+
*/
|
|
571
|
+
BlueprintJobID;
|
|
572
|
+
/**
|
|
573
|
+
* Install engine used by the linked installation job, when known.
|
|
574
|
+
*/
|
|
575
|
+
sync_engine?: "terraform" | "v3";
|
|
557
576
|
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
558
577
|
summary?: VerificationSummary;
|
|
559
578
|
resource_results?: ResourceVerificationResult[];
|
|
@@ -562,6 +581,281 @@ declare namespace Components {
|
|
|
562
581
|
*/
|
|
563
582
|
resource_results_s3_key?: string;
|
|
564
583
|
}
|
|
584
|
+
/**
|
|
585
|
+
* Bulk install parent. Never carries target auth tokens.
|
|
586
|
+
*/
|
|
587
|
+
export interface BulkInstall {
|
|
588
|
+
bulk_job_id?: string;
|
|
589
|
+
source_org_id?: string;
|
|
590
|
+
source_blueprint_id?: /**
|
|
591
|
+
* ID of a blueprint
|
|
592
|
+
* example:
|
|
593
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
594
|
+
*/
|
|
595
|
+
BlueprintID;
|
|
596
|
+
status?: /**
|
|
597
|
+
* Aggregate status for a bulk install or one of its targets.
|
|
598
|
+
* - `QUEUED`: not started yet
|
|
599
|
+
* - `IN_PROGRESS`: at least one target queued/in-progress, not all done
|
|
600
|
+
* - `SUCCESS`: all targets succeeded
|
|
601
|
+
* - `PARTIAL_SUCCESS`: all targets terminal with a mix of success/partial/failure
|
|
602
|
+
* - `FAILED`: all targets terminal and none succeeded or partially succeeded
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
BulkInstallStatus;
|
|
606
|
+
target_count?: number;
|
|
607
|
+
max_concurrency?: number;
|
|
608
|
+
counts?: /* Tally of target rows by status. Recomputed from target rows on each transition. */ BulkInstallCounts;
|
|
609
|
+
slug?: string;
|
|
610
|
+
options?: BlueprintInstallationJobOptions;
|
|
611
|
+
created_at?: string; // date-time
|
|
612
|
+
updated_at?: string; // date-time
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Tally of target rows by status. Recomputed from target rows on each transition.
|
|
616
|
+
*/
|
|
617
|
+
export interface BulkInstallCounts {
|
|
618
|
+
queued?: number;
|
|
619
|
+
in_progress?: number;
|
|
620
|
+
success?: number;
|
|
621
|
+
partial_success?: number;
|
|
622
|
+
failed?: number;
|
|
623
|
+
}
|
|
624
|
+
export interface BulkInstallCreateRequest {
|
|
625
|
+
/**
|
|
626
|
+
* The org that owns the source blueprint. Optional; defaults to the caller org and,
|
|
627
|
+
* if provided, must equal it — source reads use the caller's token, and the bulk job
|
|
628
|
+
* is owned/polled by the caller org. A different value is rejected with 400.
|
|
629
|
+
*
|
|
630
|
+
*/
|
|
631
|
+
source_org_id?: string;
|
|
632
|
+
source_blueprint_id: /**
|
|
633
|
+
* ID of a blueprint
|
|
634
|
+
* example:
|
|
635
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
636
|
+
*/
|
|
637
|
+
BlueprintID;
|
|
638
|
+
/**
|
|
639
|
+
* Maximum number of concurrently active child installs.
|
|
640
|
+
*/
|
|
641
|
+
max_concurrency?: number;
|
|
642
|
+
slug?: string;
|
|
643
|
+
options?: BlueprintInstallationJobOptions;
|
|
644
|
+
targets: [
|
|
645
|
+
BulkInstallTargetInput,
|
|
646
|
+
BulkInstallTargetInput?,
|
|
647
|
+
BulkInstallTargetInput?,
|
|
648
|
+
BulkInstallTargetInput?,
|
|
649
|
+
BulkInstallTargetInput?,
|
|
650
|
+
BulkInstallTargetInput?,
|
|
651
|
+
BulkInstallTargetInput?,
|
|
652
|
+
BulkInstallTargetInput?,
|
|
653
|
+
BulkInstallTargetInput?,
|
|
654
|
+
BulkInstallTargetInput?,
|
|
655
|
+
BulkInstallTargetInput?,
|
|
656
|
+
BulkInstallTargetInput?,
|
|
657
|
+
BulkInstallTargetInput?,
|
|
658
|
+
BulkInstallTargetInput?,
|
|
659
|
+
BulkInstallTargetInput?,
|
|
660
|
+
BulkInstallTargetInput?,
|
|
661
|
+
BulkInstallTargetInput?,
|
|
662
|
+
BulkInstallTargetInput?,
|
|
663
|
+
BulkInstallTargetInput?,
|
|
664
|
+
BulkInstallTargetInput?,
|
|
665
|
+
BulkInstallTargetInput?,
|
|
666
|
+
BulkInstallTargetInput?,
|
|
667
|
+
BulkInstallTargetInput?,
|
|
668
|
+
BulkInstallTargetInput?,
|
|
669
|
+
BulkInstallTargetInput?,
|
|
670
|
+
BulkInstallTargetInput?,
|
|
671
|
+
BulkInstallTargetInput?,
|
|
672
|
+
BulkInstallTargetInput?,
|
|
673
|
+
BulkInstallTargetInput?,
|
|
674
|
+
BulkInstallTargetInput?,
|
|
675
|
+
BulkInstallTargetInput?,
|
|
676
|
+
BulkInstallTargetInput?,
|
|
677
|
+
BulkInstallTargetInput?,
|
|
678
|
+
BulkInstallTargetInput?,
|
|
679
|
+
BulkInstallTargetInput?,
|
|
680
|
+
BulkInstallTargetInput?,
|
|
681
|
+
BulkInstallTargetInput?,
|
|
682
|
+
BulkInstallTargetInput?,
|
|
683
|
+
BulkInstallTargetInput?,
|
|
684
|
+
BulkInstallTargetInput?,
|
|
685
|
+
BulkInstallTargetInput?,
|
|
686
|
+
BulkInstallTargetInput?,
|
|
687
|
+
BulkInstallTargetInput?,
|
|
688
|
+
BulkInstallTargetInput?,
|
|
689
|
+
BulkInstallTargetInput?,
|
|
690
|
+
BulkInstallTargetInput?,
|
|
691
|
+
BulkInstallTargetInput?,
|
|
692
|
+
BulkInstallTargetInput?,
|
|
693
|
+
BulkInstallTargetInput?,
|
|
694
|
+
BulkInstallTargetInput?,
|
|
695
|
+
BulkInstallTargetInput?,
|
|
696
|
+
BulkInstallTargetInput?,
|
|
697
|
+
BulkInstallTargetInput?,
|
|
698
|
+
BulkInstallTargetInput?,
|
|
699
|
+
BulkInstallTargetInput?,
|
|
700
|
+
BulkInstallTargetInput?,
|
|
701
|
+
BulkInstallTargetInput?,
|
|
702
|
+
BulkInstallTargetInput?,
|
|
703
|
+
BulkInstallTargetInput?,
|
|
704
|
+
BulkInstallTargetInput?,
|
|
705
|
+
BulkInstallTargetInput?,
|
|
706
|
+
BulkInstallTargetInput?,
|
|
707
|
+
BulkInstallTargetInput?,
|
|
708
|
+
BulkInstallTargetInput?,
|
|
709
|
+
BulkInstallTargetInput?,
|
|
710
|
+
BulkInstallTargetInput?,
|
|
711
|
+
BulkInstallTargetInput?,
|
|
712
|
+
BulkInstallTargetInput?,
|
|
713
|
+
BulkInstallTargetInput?,
|
|
714
|
+
BulkInstallTargetInput?,
|
|
715
|
+
BulkInstallTargetInput?,
|
|
716
|
+
BulkInstallTargetInput?,
|
|
717
|
+
BulkInstallTargetInput?,
|
|
718
|
+
BulkInstallTargetInput?,
|
|
719
|
+
BulkInstallTargetInput?,
|
|
720
|
+
BulkInstallTargetInput?,
|
|
721
|
+
BulkInstallTargetInput?,
|
|
722
|
+
BulkInstallTargetInput?,
|
|
723
|
+
BulkInstallTargetInput?,
|
|
724
|
+
BulkInstallTargetInput?,
|
|
725
|
+
BulkInstallTargetInput?,
|
|
726
|
+
BulkInstallTargetInput?,
|
|
727
|
+
BulkInstallTargetInput?,
|
|
728
|
+
BulkInstallTargetInput?,
|
|
729
|
+
BulkInstallTargetInput?,
|
|
730
|
+
BulkInstallTargetInput?,
|
|
731
|
+
BulkInstallTargetInput?,
|
|
732
|
+
BulkInstallTargetInput?,
|
|
733
|
+
BulkInstallTargetInput?,
|
|
734
|
+
BulkInstallTargetInput?,
|
|
735
|
+
BulkInstallTargetInput?,
|
|
736
|
+
BulkInstallTargetInput?,
|
|
737
|
+
BulkInstallTargetInput?,
|
|
738
|
+
BulkInstallTargetInput?,
|
|
739
|
+
BulkInstallTargetInput?,
|
|
740
|
+
BulkInstallTargetInput?,
|
|
741
|
+
BulkInstallTargetInput?,
|
|
742
|
+
BulkInstallTargetInput?,
|
|
743
|
+
BulkInstallTargetInput?,
|
|
744
|
+
BulkInstallTargetInput?
|
|
745
|
+
];
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* Aggregate status for a bulk install or one of its targets.
|
|
749
|
+
* - `QUEUED`: not started yet
|
|
750
|
+
* - `IN_PROGRESS`: at least one target queued/in-progress, not all done
|
|
751
|
+
* - `SUCCESS`: all targets succeeded
|
|
752
|
+
* - `PARTIAL_SUCCESS`: all targets terminal with a mix of success/partial/failure
|
|
753
|
+
* - `FAILED`: all targets terminal and none succeeded or partially succeeded
|
|
754
|
+
*
|
|
755
|
+
*/
|
|
756
|
+
export type BulkInstallStatus = "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
757
|
+
/**
|
|
758
|
+
* A single destination of a bulk install. `job` is the hydrated latest child
|
|
759
|
+
* install job derived from `job_ids.at(-1)`. Auth tokens are never stored or returned.
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
export interface BulkInstallTarget {
|
|
763
|
+
bulk_job_id?: string;
|
|
764
|
+
destination_org_id?: string;
|
|
765
|
+
destination_blueprint_id?: /**
|
|
766
|
+
* ID of a blueprint
|
|
767
|
+
* example:
|
|
768
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
769
|
+
*/
|
|
770
|
+
BlueprintID;
|
|
771
|
+
status?: /**
|
|
772
|
+
* Aggregate status for a bulk install or one of its targets.
|
|
773
|
+
* - `QUEUED`: not started yet
|
|
774
|
+
* - `IN_PROGRESS`: at least one target queued/in-progress, not all done
|
|
775
|
+
* - `SUCCESS`: all targets succeeded
|
|
776
|
+
* - `PARTIAL_SUCCESS`: all targets terminal with a mix of success/partial/failure
|
|
777
|
+
* - `FAILED`: all targets terminal and none succeeded or partially succeeded
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
BulkInstallStatus;
|
|
781
|
+
job_ids?: /**
|
|
782
|
+
* ID of a job
|
|
783
|
+
* example:
|
|
784
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
785
|
+
*/
|
|
786
|
+
BlueprintJobID[];
|
|
787
|
+
created_at?: string; // date-time
|
|
788
|
+
updated_at?: string; // date-time
|
|
789
|
+
/**
|
|
790
|
+
* The hydrated latest child install job (`job_ids.at(-1)`), when present.
|
|
791
|
+
*/
|
|
792
|
+
job?: {
|
|
793
|
+
id?: /**
|
|
794
|
+
* ID of a job
|
|
795
|
+
* example:
|
|
796
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
797
|
+
*/
|
|
798
|
+
BlueprintJobID;
|
|
799
|
+
events?: BlueprintJobEvent[];
|
|
800
|
+
triggered_at?: string; // date-time
|
|
801
|
+
created_by?: CallerIdentity;
|
|
802
|
+
job_type?: "install";
|
|
803
|
+
source_blueprint_id?: /**
|
|
804
|
+
* ID of a blueprint
|
|
805
|
+
* example:
|
|
806
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
807
|
+
*/
|
|
808
|
+
BlueprintID;
|
|
809
|
+
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app";
|
|
810
|
+
source_org_id?: string;
|
|
811
|
+
source_blueprint_file?: string;
|
|
812
|
+
destination_blueprint_id?: /**
|
|
813
|
+
* ID of a blueprint
|
|
814
|
+
* example:
|
|
815
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
816
|
+
*/
|
|
817
|
+
BlueprintID;
|
|
818
|
+
destination_org_id?: string;
|
|
819
|
+
/**
|
|
820
|
+
* Blueprint slug for marketplace blueprints
|
|
821
|
+
*/
|
|
822
|
+
slug?: string;
|
|
823
|
+
/**
|
|
824
|
+
* Engine used for this install job
|
|
825
|
+
*/
|
|
826
|
+
sync_engine?: "terraform" | "v3";
|
|
827
|
+
/**
|
|
828
|
+
* Per-resource live status. Populated only for V3 installs.
|
|
829
|
+
*/
|
|
830
|
+
resource_progress?: V3ResourceProgressEntry[];
|
|
831
|
+
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
832
|
+
} | null;
|
|
833
|
+
}
|
|
834
|
+
export interface BulkInstallTargetInput {
|
|
835
|
+
destination_org_id: string;
|
|
836
|
+
destination_blueprint_id?: /**
|
|
837
|
+
* ID of a blueprint
|
|
838
|
+
* example:
|
|
839
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
840
|
+
*/
|
|
841
|
+
BlueprintID;
|
|
842
|
+
/**
|
|
843
|
+
* Write-only org-scoped token for the destination org. Never persisted or returned.
|
|
844
|
+
*/
|
|
845
|
+
destination_auth_token: string;
|
|
846
|
+
}
|
|
847
|
+
export interface BulkInstallTargetList {
|
|
848
|
+
results?: /**
|
|
849
|
+
* A single destination of a bulk install. `job` is the hydrated latest child
|
|
850
|
+
* install job derived from `job_ids.at(-1)`. Auth tokens are never stored or returned.
|
|
851
|
+
*
|
|
852
|
+
*/
|
|
853
|
+
BulkInstallTarget[];
|
|
854
|
+
/**
|
|
855
|
+
* Opaque cursor for the next page. Absent on the last page.
|
|
856
|
+
*/
|
|
857
|
+
next_cursor?: string;
|
|
858
|
+
}
|
|
565
859
|
export interface CallerIdentity {
|
|
566
860
|
/**
|
|
567
861
|
* a human readable name of the caller (e.g. user name, token name or email address)
|
|
@@ -1811,6 +2105,13 @@ declare namespace Components {
|
|
|
1811
2105
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1812
2106
|
*/
|
|
1813
2107
|
BlueprintID;
|
|
2108
|
+
installation_job_id?: /**
|
|
2109
|
+
* ID of a job
|
|
2110
|
+
* example:
|
|
2111
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2112
|
+
*/
|
|
2113
|
+
BlueprintJobID;
|
|
2114
|
+
sync_engine?: "terraform" | "v3";
|
|
1814
2115
|
summary?: VerificationSummary;
|
|
1815
2116
|
}
|
|
1816
2117
|
export interface LineageEntry {
|
|
@@ -2553,8 +2854,17 @@ declare namespace Components {
|
|
|
2553
2854
|
resource_type?: /* Type of the resource */ ResourceNodeType;
|
|
2554
2855
|
resource_name?: string;
|
|
2555
2856
|
source_resource_id?: string;
|
|
2857
|
+
source_resource_address?: string;
|
|
2556
2858
|
destination_resource_id?: string;
|
|
2859
|
+
destination_resource_address?: string;
|
|
2557
2860
|
status?: "matched" | "mismatched" | "missing_in_destination" | "fetch_error";
|
|
2861
|
+
/**
|
|
2862
|
+
* Explains whether this result is likely downstream of another failed resource.
|
|
2863
|
+
*/
|
|
2864
|
+
failure_context?: "depends_on_failed_resource" | "may_be_caused_by_failed_dependency";
|
|
2865
|
+
failed_dependency_resource_ids?: string[];
|
|
2866
|
+
failed_dependency_resource_names?: string[];
|
|
2867
|
+
failed_dependency_addresses?: string[];
|
|
2558
2868
|
field_diffs?: FieldDiff[];
|
|
2559
2869
|
error?: string;
|
|
2560
2870
|
}
|
|
@@ -2567,6 +2877,15 @@ declare namespace Components {
|
|
|
2567
2877
|
*/
|
|
2568
2878
|
snapshot_id?: string | null;
|
|
2569
2879
|
resources?: RestoreOutcomeItem[];
|
|
2880
|
+
/**
|
|
2881
|
+
* `true` iff at least one entry in `resources` has an effective
|
|
2882
|
+
* action (`action` is `restore` or `delete`). `false` when every
|
|
2883
|
+
* resource would be skipped (all `skip` / `failed`). Consumers
|
|
2884
|
+
* can gate the "Revert sync" confirm button on this — if false,
|
|
2885
|
+
* executing the revert is a no-op.
|
|
2886
|
+
*
|
|
2887
|
+
*/
|
|
2888
|
+
has_effective_changes?: boolean;
|
|
2570
2889
|
}
|
|
2571
2890
|
export interface RestoreOutcomeItem {
|
|
2572
2891
|
lineage_id: string;
|
|
@@ -2583,7 +2902,7 @@ declare namespace Components {
|
|
|
2583
2902
|
/**
|
|
2584
2903
|
* Only set when `action == skip`.
|
|
2585
2904
|
*/
|
|
2586
|
-
reason?: "modified" | "
|
|
2905
|
+
reason?: "modified" | "delete_unsupported" | "heuristic_match" | "co_owned";
|
|
2587
2906
|
/**
|
|
2588
2907
|
* Only set when `reason == modified`. From the lineage row's last install write.
|
|
2589
2908
|
*/
|
|
@@ -2596,6 +2915,24 @@ declare namespace Components {
|
|
|
2596
2915
|
* Only set when `action == failed`.
|
|
2597
2916
|
*/
|
|
2598
2917
|
error_message?: string | null;
|
|
2918
|
+
/**
|
|
2919
|
+
* Mirrors the install manifest's `is_hidden` for this resource —
|
|
2920
|
+
* helper resources (entity mappings, datasources, flow-template
|
|
2921
|
+
* automations) the UI hides on every other resources view. Absent
|
|
2922
|
+
* on rows from legacy installs without a persisted manifest.
|
|
2923
|
+
*
|
|
2924
|
+
*/
|
|
2925
|
+
is_hidden?: boolean;
|
|
2926
|
+
/**
|
|
2927
|
+
* Only set when `reason == co_owned`. The other live blueprint
|
|
2928
|
+
* instances that still own this resource's lineage row — the
|
|
2929
|
+
* "another sync" the skip refers to.
|
|
2930
|
+
*
|
|
2931
|
+
*/
|
|
2932
|
+
co_owned_by?: {
|
|
2933
|
+
blueprint_id: string;
|
|
2934
|
+
title?: string | null;
|
|
2935
|
+
}[];
|
|
2599
2936
|
}
|
|
2600
2937
|
export interface RootResourceNode {
|
|
2601
2938
|
/**
|
|
@@ -2705,13 +3042,14 @@ declare namespace Components {
|
|
|
2705
3042
|
string,
|
|
2706
3043
|
...string[]
|
|
2707
3044
|
];
|
|
3045
|
+
propagated_to?: string[];
|
|
2708
3046
|
updated_at: string; // date-time
|
|
2709
3047
|
updated_by?: string;
|
|
2710
3048
|
}
|
|
2711
3049
|
/**
|
|
2712
3050
|
* Resource type for which custom uniqueness criteria can be configured.
|
|
2713
3051
|
*/
|
|
2714
|
-
export type UniquenessCriteriaResourceType = "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "
|
|
3052
|
+
export type UniquenessCriteriaResourceType = "emailtemplate" | "product" | "price" | "tax" | "coupon" | "product_recommendation" | "file" | "document_template" | "notification_template" | "journey";
|
|
2715
3053
|
export interface UploadFilePayload {
|
|
2716
3054
|
/**
|
|
2717
3055
|
* example:
|
|
@@ -2953,6 +3291,15 @@ declare namespace Paths {
|
|
|
2953
3291
|
export type $200 = Components.Schemas.Blueprint;
|
|
2954
3292
|
}
|
|
2955
3293
|
}
|
|
3294
|
+
namespace CreateBulkInstallV3 {
|
|
3295
|
+
export type RequestBody = Components.Schemas.BulkInstallCreateRequest;
|
|
3296
|
+
namespace Responses {
|
|
3297
|
+
export type $202 = /* Bulk install parent. Never carries target auth tokens. */ Components.Schemas.BulkInstall;
|
|
3298
|
+
export interface $400 {
|
|
3299
|
+
message?: string;
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
2956
3303
|
namespace CreateExport {
|
|
2957
3304
|
export interface RequestBody {
|
|
2958
3305
|
resources: [
|
|
@@ -3430,6 +3777,19 @@ declare namespace Paths {
|
|
|
3430
3777
|
}
|
|
3431
3778
|
}
|
|
3432
3779
|
}
|
|
3780
|
+
namespace GetBulkInstallV3 {
|
|
3781
|
+
namespace Parameters {
|
|
3782
|
+
export type BulkJobId = string;
|
|
3783
|
+
}
|
|
3784
|
+
export interface PathParameters {
|
|
3785
|
+
bulk_job_id: Parameters.BulkJobId;
|
|
3786
|
+
}
|
|
3787
|
+
namespace Responses {
|
|
3788
|
+
export type $200 = /* Bulk install parent. Never carries target auth tokens. */ Components.Schemas.BulkInstall;
|
|
3789
|
+
export interface $404 {
|
|
3790
|
+
}
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3433
3793
|
namespace GetJob {
|
|
3434
3794
|
namespace Parameters {
|
|
3435
3795
|
export type JobId = /**
|
|
@@ -3713,6 +4073,13 @@ declare namespace Paths {
|
|
|
3713
4073
|
* Slug for marketplace blueprint consistency
|
|
3714
4074
|
*/
|
|
3715
4075
|
slug?: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* When `true`, the install skips the manual plan-approval step and applies
|
|
4078
|
+
* straight after plan + snapshot succeed (no `:continue` call needed).
|
|
4079
|
+
* Defaults to `false`. Used internally by the bulk-install worker.
|
|
4080
|
+
*
|
|
4081
|
+
*/
|
|
4082
|
+
auto_apply?: boolean;
|
|
3716
4083
|
} | {
|
|
3717
4084
|
source_org_id?: string;
|
|
3718
4085
|
source_blueprint_id?: /**
|
|
@@ -3741,6 +4108,13 @@ declare namespace Paths {
|
|
|
3741
4108
|
* Slug for marketplace blueprint consistency
|
|
3742
4109
|
*/
|
|
3743
4110
|
slug?: string;
|
|
4111
|
+
/**
|
|
4112
|
+
* When `true`, the install skips the manual plan-approval step and applies
|
|
4113
|
+
* straight after plan + snapshot succeed (no `:continue` call needed).
|
|
4114
|
+
* Defaults to `false`. Used internally by the bulk-install worker.
|
|
4115
|
+
*
|
|
4116
|
+
*/
|
|
4117
|
+
auto_apply?: boolean;
|
|
3744
4118
|
};
|
|
3745
4119
|
namespace Responses {
|
|
3746
4120
|
export interface $202 {
|
|
@@ -3792,6 +4166,25 @@ declare namespace Paths {
|
|
|
3792
4166
|
}
|
|
3793
4167
|
}
|
|
3794
4168
|
}
|
|
4169
|
+
namespace ListBulkInstallTargetsV3 {
|
|
4170
|
+
namespace Parameters {
|
|
4171
|
+
export type BulkJobId = string;
|
|
4172
|
+
export type Cursor = string;
|
|
4173
|
+
export type Limit = number;
|
|
4174
|
+
}
|
|
4175
|
+
export interface PathParameters {
|
|
4176
|
+
bulk_job_id: Parameters.BulkJobId;
|
|
4177
|
+
}
|
|
4178
|
+
export interface QueryParameters {
|
|
4179
|
+
limit?: Parameters.Limit;
|
|
4180
|
+
cursor?: Parameters.Cursor;
|
|
4181
|
+
}
|
|
4182
|
+
namespace Responses {
|
|
4183
|
+
export type $200 = Components.Schemas.BulkInstallTargetList;
|
|
4184
|
+
export interface $404 {
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
}
|
|
3795
4188
|
namespace ListInstalledManifests {
|
|
3796
4189
|
namespace Responses {
|
|
3797
4190
|
export interface $200 {
|
|
@@ -3894,6 +4287,20 @@ declare namespace Paths {
|
|
|
3894
4287
|
namespace Responses {
|
|
3895
4288
|
export interface $200 {
|
|
3896
4289
|
results?: Components.Schemas.UniquenessCriteria[];
|
|
4290
|
+
/**
|
|
4291
|
+
* Built-in default uniqueness fields per resource type, as used by
|
|
4292
|
+
* the install engines when no custom criteria are configured.
|
|
4293
|
+
*
|
|
4294
|
+
*/
|
|
4295
|
+
defaults?: {
|
|
4296
|
+
[name: string]: string[];
|
|
4297
|
+
};
|
|
4298
|
+
/**
|
|
4299
|
+
* Resource types whose criteria are fixed by epilot and cannot be
|
|
4300
|
+
* customized (writes are rejected). Shown read-only in the UI.
|
|
4301
|
+
*
|
|
4302
|
+
*/
|
|
4303
|
+
readonly_types?: string[];
|
|
3897
4304
|
}
|
|
3898
4305
|
}
|
|
3899
4306
|
}
|
|
@@ -3945,6 +4352,29 @@ declare namespace Paths {
|
|
|
3945
4352
|
}
|
|
3946
4353
|
}
|
|
3947
4354
|
}
|
|
4355
|
+
namespace PublishBlueprintV3 {
|
|
4356
|
+
namespace Parameters {
|
|
4357
|
+
export type BlueprintId = /**
|
|
4358
|
+
* ID of a blueprint
|
|
4359
|
+
* example:
|
|
4360
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
4361
|
+
*/
|
|
4362
|
+
Components.Schemas.BlueprintID;
|
|
4363
|
+
}
|
|
4364
|
+
export interface PathParameters {
|
|
4365
|
+
blueprint_id: Parameters.BlueprintId;
|
|
4366
|
+
}
|
|
4367
|
+
namespace Responses {
|
|
4368
|
+
export interface $202 {
|
|
4369
|
+
job_id: /**
|
|
4370
|
+
* ID of a job
|
|
4371
|
+
* example:
|
|
4372
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
4373
|
+
*/
|
|
4374
|
+
Components.Schemas.BlueprintJobID;
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
}
|
|
3948
4378
|
namespace PublishMarketplaceListingVersion {
|
|
3949
4379
|
namespace Parameters {
|
|
3950
4380
|
export type ListingId = string;
|
|
@@ -3972,6 +4402,13 @@ declare namespace Paths {
|
|
|
3972
4402
|
string,
|
|
3973
4403
|
...string[]
|
|
3974
4404
|
];
|
|
4405
|
+
/**
|
|
4406
|
+
* Org IDs this rule was also applied to (the UI's "Also apply to"
|
|
4407
|
+
* selection). Stored so the selection survives reloads; each target
|
|
4408
|
+
* org still holds its own criteria row.
|
|
4409
|
+
*
|
|
4410
|
+
*/
|
|
4411
|
+
propagated_to?: string[];
|
|
3975
4412
|
}
|
|
3976
4413
|
namespace Responses {
|
|
3977
4414
|
export type $200 = Components.Schemas.UniquenessCriteria;
|
|
@@ -4022,6 +4459,36 @@ declare namespace Paths {
|
|
|
4022
4459
|
}
|
|
4023
4460
|
}
|
|
4024
4461
|
}
|
|
4462
|
+
namespace RetryBulkInstallTargetV3 {
|
|
4463
|
+
namespace Parameters {
|
|
4464
|
+
export type BulkJobId = string;
|
|
4465
|
+
export type DestinationOrgId = string;
|
|
4466
|
+
}
|
|
4467
|
+
export interface PathParameters {
|
|
4468
|
+
bulk_job_id: Parameters.BulkJobId;
|
|
4469
|
+
destination_org_id: Parameters.DestinationOrgId;
|
|
4470
|
+
}
|
|
4471
|
+
export interface RequestBody {
|
|
4472
|
+
/**
|
|
4473
|
+
* Write-only auth token for the destination org used for the new attempt.
|
|
4474
|
+
*/
|
|
4475
|
+
destination_auth_token: string;
|
|
4476
|
+
}
|
|
4477
|
+
namespace Responses {
|
|
4478
|
+
export type $200 = /**
|
|
4479
|
+
* A single destination of a bulk install. `job` is the hydrated latest child
|
|
4480
|
+
* install job derived from `job_ids.at(-1)`. Auth tokens are never stored or returned.
|
|
4481
|
+
*
|
|
4482
|
+
*/
|
|
4483
|
+
Components.Schemas.BulkInstallTarget;
|
|
4484
|
+
export interface $400 {
|
|
4485
|
+
}
|
|
4486
|
+
export interface $404 {
|
|
4487
|
+
}
|
|
4488
|
+
export interface $409 {
|
|
4489
|
+
}
|
|
4490
|
+
}
|
|
4491
|
+
}
|
|
4025
4492
|
namespace RetryPatchOrg {
|
|
4026
4493
|
namespace Parameters {
|
|
4027
4494
|
export type BlueprintId = /**
|
|
@@ -4061,10 +4528,14 @@ declare namespace Paths {
|
|
|
4061
4528
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
4062
4529
|
*/
|
|
4063
4530
|
Components.Schemas.BlueprintID;
|
|
4531
|
+
export type Trigger = "manual" | "pre_sync" | "post_revert";
|
|
4064
4532
|
}
|
|
4065
4533
|
export interface PathParameters {
|
|
4066
4534
|
blueprint_id: Parameters.BlueprintId;
|
|
4067
4535
|
}
|
|
4536
|
+
export interface QueryParameters {
|
|
4537
|
+
trigger?: Parameters.Trigger;
|
|
4538
|
+
}
|
|
4068
4539
|
namespace Responses {
|
|
4069
4540
|
export interface $202 {
|
|
4070
4541
|
job_id?: /**
|
|
@@ -4259,6 +4730,19 @@ declare namespace Paths {
|
|
|
4259
4730
|
* Auth token with access to the destination org. Required for cross-org verification when the caller token only has access to the source org. If not provided, the caller's bearer token is used for both orgs.
|
|
4260
4731
|
*/
|
|
4261
4732
|
destination_auth_token?: string;
|
|
4733
|
+
/**
|
|
4734
|
+
* Optional install job this verification is checking. If omitted, the latest destination blueprint installation job is used when available.
|
|
4735
|
+
*/
|
|
4736
|
+
installation_job_id?: /**
|
|
4737
|
+
* ID of a job
|
|
4738
|
+
* example:
|
|
4739
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
4740
|
+
*/
|
|
4741
|
+
Components.Schemas.BlueprintJobID;
|
|
4742
|
+
/**
|
|
4743
|
+
* Optional install engine hint. Usually inferred from installation_job_id.
|
|
4744
|
+
*/
|
|
4745
|
+
sync_engine?: "terraform" | "v3";
|
|
4262
4746
|
}
|
|
4263
4747
|
namespace Responses {
|
|
4264
4748
|
export interface $202 {
|
|
@@ -4651,7 +5135,7 @@ interface OperationMethods {
|
|
|
4651
5135
|
* Sync dependencies of all root resources in a Blueprint
|
|
4652
5136
|
*/
|
|
4653
5137
|
'syncDependencies'(
|
|
4654
|
-
parameters?: Parameters<Paths.SyncDependencies.PathParameters> | null,
|
|
5138
|
+
parameters?: Parameters<Paths.SyncDependencies.QueryParameters & Paths.SyncDependencies.PathParameters> | null,
|
|
4655
5139
|
data?: any,
|
|
4656
5140
|
config?: AxiosRequestConfig
|
|
4657
5141
|
): OperationResponse<Paths.SyncDependencies.Responses.$202>
|
|
@@ -4718,7 +5202,11 @@ interface OperationMethods {
|
|
|
4718
5202
|
/**
|
|
4719
5203
|
* getBlueprintJob - Get Job
|
|
4720
5204
|
*
|
|
4721
|
-
* Poll current state of a job.
|
|
5205
|
+
* Poll the current state of a job. Serves both Terraform (v2) and V3-engine jobs —
|
|
5206
|
+
* check `sync_engine` (`terraform` | `v3`) to tell them apart. V3 jobs additionally
|
|
5207
|
+
* expose live `resource_progress[]`. V3 single-install and bulk-install child jobs
|
|
5208
|
+
* are polled here.
|
|
5209
|
+
*
|
|
4722
5210
|
*/
|
|
4723
5211
|
'getBlueprintJob'(
|
|
4724
5212
|
parameters?: Parameters<Paths.GetBlueprintJob.PathParameters> | null,
|
|
@@ -4728,7 +5216,11 @@ interface OperationMethods {
|
|
|
4728
5216
|
/**
|
|
4729
5217
|
* continueInstallationJob - Continue Installation Job
|
|
4730
5218
|
*
|
|
4731
|
-
*
|
|
5219
|
+
* Resume an installation job that is paused at `status: "WAITING_USER_ACTION"` after
|
|
5220
|
+
* planning. Works for both Terraform and V3 jobs. Not needed for V3 installs created
|
|
5221
|
+
* with `auto_apply: true` (including all bulk-install child jobs), which apply
|
|
5222
|
+
* without pausing.
|
|
5223
|
+
*
|
|
4732
5224
|
*/
|
|
4733
5225
|
'continueInstallationJob'(
|
|
4734
5226
|
parameters?: Parameters<Paths.ContinueInstallationJob.PathParameters> | null,
|
|
@@ -4845,12 +5337,37 @@ interface OperationMethods {
|
|
|
4845
5337
|
data?: Paths.PublishMarketplaceListingVersion.RequestBody,
|
|
4846
5338
|
config?: AxiosRequestConfig
|
|
4847
5339
|
): OperationResponse<Paths.PublishMarketplaceListingVersion.Responses.$200>
|
|
5340
|
+
/**
|
|
5341
|
+
* publishBlueprintV3 - Publish Blueprint V3
|
|
5342
|
+
*
|
|
5343
|
+
* Starts an asynchronous V3 publication. The result is a signed, portable package; poll the existing blueprint job endpoint for completion.
|
|
5344
|
+
*/
|
|
5345
|
+
'publishBlueprintV3'(
|
|
5346
|
+
parameters?: Parameters<Paths.PublishBlueprintV3.PathParameters> | null,
|
|
5347
|
+
data?: any,
|
|
5348
|
+
config?: AxiosRequestConfig
|
|
5349
|
+
): OperationResponse<Paths.PublishBlueprintV3.Responses.$202>
|
|
4848
5350
|
/**
|
|
4849
5351
|
* installBlueprintV3 - Install Blueprint V3
|
|
4850
5352
|
*
|
|
4851
|
-
* Install a blueprint using the V3 engine (direct API
|
|
4852
|
-
* Creates resources in topological order with global ID
|
|
4853
|
-
*
|
|
5353
|
+
* Install a blueprint into a single destination org using the V3 engine (direct API
|
|
5354
|
+
* calls, no Terraform). Creates resources in topological order with global ID
|
|
5355
|
+
* replacement and supports checkpoint-based resume on failure.
|
|
5356
|
+
*
|
|
5357
|
+
* **Lifecycle (how to drive an install to completion):**
|
|
5358
|
+
* 1. `POST /v3/blueprint-manifest/blueprint:install` returns `{ job_id }` (202).
|
|
5359
|
+
* 2. Poll the job with `GET /v2/blueprint-manifest/jobs/{job_id}` — V3 jobs are
|
|
5360
|
+
* served by the same v2 jobs endpoints as Terraform jobs and are identified by
|
|
5361
|
+
* `sync_engine: "v3"`. Watch `status` and `resource_progress[]`.
|
|
5362
|
+
* 3. If `auto_apply` is `false` (default), the job pauses at
|
|
5363
|
+
* `status: "WAITING_USER_ACTION"` after planning. Resume it with
|
|
5364
|
+
* `POST /v2/blueprint-manifest/jobs/{job_id}:continue`.
|
|
5365
|
+
* 4. If `auto_apply` is `true`, the engine applies automatically after plan +
|
|
5366
|
+
* snapshot — no `:continue` call is needed. This is what the bulk-install worker
|
|
5367
|
+
* uses; to install into many orgs at once prefer `POST .../bulk-installs`.
|
|
5368
|
+
*
|
|
5369
|
+
* For cross-org installs, pass `destination_auth_token` (the destination org's
|
|
5370
|
+
* token); reads use the caller's bearer token, writes use that token.
|
|
4854
5371
|
*
|
|
4855
5372
|
*/
|
|
4856
5373
|
'installBlueprintV3'(
|
|
@@ -4919,6 +5436,64 @@ interface OperationMethods {
|
|
|
4919
5436
|
data?: any,
|
|
4920
5437
|
config?: AxiosRequestConfig
|
|
4921
5438
|
): OperationResponse<Paths.GetBlueprintLineageV3.Responses.$200>
|
|
5439
|
+
/**
|
|
5440
|
+
* createBulkInstallV3 - Create Bulk Install V3
|
|
5441
|
+
*
|
|
5442
|
+
* Install one source blueprint into many destination organizations in a single
|
|
5443
|
+
* request. The server schedules child V3 installs with `auto_apply=true` and caps
|
|
5444
|
+
* active installs at `max_concurrency`. Per-target failures are isolated and
|
|
5445
|
+
* retryable; they do not stop the remaining targets.
|
|
5446
|
+
*
|
|
5447
|
+
* Each target carries its own write-only `destination_auth_token` (org-scoped).
|
|
5448
|
+
* Tokens are passed to the worker via Step Functions input only — they are never
|
|
5449
|
+
* persisted in DynamoDB nor returned by any endpoint.
|
|
5450
|
+
*
|
|
5451
|
+
*/
|
|
5452
|
+
'createBulkInstallV3'(
|
|
5453
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5454
|
+
data?: Paths.CreateBulkInstallV3.RequestBody,
|
|
5455
|
+
config?: AxiosRequestConfig
|
|
5456
|
+
): OperationResponse<Paths.CreateBulkInstallV3.Responses.$202>
|
|
5457
|
+
/**
|
|
5458
|
+
* getBulkInstallV3 - Get Bulk Install V3
|
|
5459
|
+
*
|
|
5460
|
+
* Returns the bulk install parent with aggregate status and counts. Scoped by the
|
|
5461
|
+
* caller org as `source_org_id`. Target rows are not included — use the targets
|
|
5462
|
+
* endpoint to page through them.
|
|
5463
|
+
*
|
|
5464
|
+
*/
|
|
5465
|
+
'getBulkInstallV3'(
|
|
5466
|
+
parameters?: Parameters<Paths.GetBulkInstallV3.PathParameters> | null,
|
|
5467
|
+
data?: any,
|
|
5468
|
+
config?: AxiosRequestConfig
|
|
5469
|
+
): OperationResponse<Paths.GetBulkInstallV3.Responses.$200>
|
|
5470
|
+
/**
|
|
5471
|
+
* listBulkInstallTargetsV3 - List Bulk Install Targets V3
|
|
5472
|
+
*
|
|
5473
|
+
* Pages through the bulk install's target rows. Each row hydrates its latest child
|
|
5474
|
+
* install job (`job_ids.at(-1)`) with the standard V3 job shape (`events[]`,
|
|
5475
|
+
* `resource_progress[]`) so callers can inspect per-resource progress and errors.
|
|
5476
|
+
*
|
|
5477
|
+
*/
|
|
5478
|
+
'listBulkInstallTargetsV3'(
|
|
5479
|
+
parameters?: Parameters<Paths.ListBulkInstallTargetsV3.QueryParameters & Paths.ListBulkInstallTargetsV3.PathParameters> | null,
|
|
5480
|
+
data?: any,
|
|
5481
|
+
config?: AxiosRequestConfig
|
|
5482
|
+
): OperationResponse<Paths.ListBulkInstallTargetsV3.Responses.$200>
|
|
5483
|
+
/**
|
|
5484
|
+
* retryBulkInstallTargetV3 - Retry Bulk Install Target V3
|
|
5485
|
+
*
|
|
5486
|
+
* Retries a single failed target. Allowed only for `FAILED` and `PARTIAL_SUCCESS`
|
|
5487
|
+
* targets. Starts a new child install with `auto_apply=true`, appends its job id to
|
|
5488
|
+
* `job_ids`, and reuses the same target row. Only the destination auth token may be
|
|
5489
|
+
* supplied for the new attempt; source/destination identifiers are immutable.
|
|
5490
|
+
*
|
|
5491
|
+
*/
|
|
5492
|
+
'retryBulkInstallTargetV3'(
|
|
5493
|
+
parameters?: Parameters<Paths.RetryBulkInstallTargetV3.PathParameters> | null,
|
|
5494
|
+
data?: Paths.RetryBulkInstallTargetV3.RequestBody,
|
|
5495
|
+
config?: AxiosRequestConfig
|
|
5496
|
+
): OperationResponse<Paths.RetryBulkInstallTargetV3.Responses.$200>
|
|
4922
5497
|
/**
|
|
4923
5498
|
* listUniquenessCriteria - listUniquenessCriteria
|
|
4924
5499
|
*
|
|
@@ -5398,7 +5973,7 @@ interface PathsDictionary {
|
|
|
5398
5973
|
* Sync dependencies of all root resources in a Blueprint
|
|
5399
5974
|
*/
|
|
5400
5975
|
'post'(
|
|
5401
|
-
parameters?: Parameters<Paths.SyncDependencies.PathParameters> | null,
|
|
5976
|
+
parameters?: Parameters<Paths.SyncDependencies.QueryParameters & Paths.SyncDependencies.PathParameters> | null,
|
|
5402
5977
|
data?: any,
|
|
5403
5978
|
config?: AxiosRequestConfig
|
|
5404
5979
|
): OperationResponse<Paths.SyncDependencies.Responses.$202>
|
|
@@ -5473,7 +6048,11 @@ interface PathsDictionary {
|
|
|
5473
6048
|
/**
|
|
5474
6049
|
* getBlueprintJob - Get Job
|
|
5475
6050
|
*
|
|
5476
|
-
* Poll current state of a job.
|
|
6051
|
+
* Poll the current state of a job. Serves both Terraform (v2) and V3-engine jobs —
|
|
6052
|
+
* check `sync_engine` (`terraform` | `v3`) to tell them apart. V3 jobs additionally
|
|
6053
|
+
* expose live `resource_progress[]`. V3 single-install and bulk-install child jobs
|
|
6054
|
+
* are polled here.
|
|
6055
|
+
*
|
|
5477
6056
|
*/
|
|
5478
6057
|
'get'(
|
|
5479
6058
|
parameters?: Parameters<Paths.GetBlueprintJob.PathParameters> | null,
|
|
@@ -5485,7 +6064,11 @@ interface PathsDictionary {
|
|
|
5485
6064
|
/**
|
|
5486
6065
|
* continueInstallationJob - Continue Installation Job
|
|
5487
6066
|
*
|
|
5488
|
-
*
|
|
6067
|
+
* Resume an installation job that is paused at `status: "WAITING_USER_ACTION"` after
|
|
6068
|
+
* planning. Works for both Terraform and V3 jobs. Not needed for V3 installs created
|
|
6069
|
+
* with `auto_apply: true` (including all bulk-install child jobs), which apply
|
|
6070
|
+
* without pausing.
|
|
6071
|
+
*
|
|
5489
6072
|
*/
|
|
5490
6073
|
'post'(
|
|
5491
6074
|
parameters?: Parameters<Paths.ContinueInstallationJob.PathParameters> | null,
|
|
@@ -5617,13 +6200,40 @@ interface PathsDictionary {
|
|
|
5617
6200
|
config?: AxiosRequestConfig
|
|
5618
6201
|
): OperationResponse<Paths.PublishMarketplaceListingVersion.Responses.$200>
|
|
5619
6202
|
}
|
|
6203
|
+
['/v3/blueprint-manifest/blueprints/{blueprint_id}:publish']: {
|
|
6204
|
+
/**
|
|
6205
|
+
* publishBlueprintV3 - Publish Blueprint V3
|
|
6206
|
+
*
|
|
6207
|
+
* Starts an asynchronous V3 publication. The result is a signed, portable package; poll the existing blueprint job endpoint for completion.
|
|
6208
|
+
*/
|
|
6209
|
+
'post'(
|
|
6210
|
+
parameters?: Parameters<Paths.PublishBlueprintV3.PathParameters> | null,
|
|
6211
|
+
data?: any,
|
|
6212
|
+
config?: AxiosRequestConfig
|
|
6213
|
+
): OperationResponse<Paths.PublishBlueprintV3.Responses.$202>
|
|
6214
|
+
}
|
|
5620
6215
|
['/v3/blueprint-manifest/blueprint:install']: {
|
|
5621
6216
|
/**
|
|
5622
6217
|
* installBlueprintV3 - Install Blueprint V3
|
|
5623
6218
|
*
|
|
5624
|
-
* Install a blueprint using the V3 engine (direct API
|
|
5625
|
-
* Creates resources in topological order with global ID
|
|
5626
|
-
*
|
|
6219
|
+
* Install a blueprint into a single destination org using the V3 engine (direct API
|
|
6220
|
+
* calls, no Terraform). Creates resources in topological order with global ID
|
|
6221
|
+
* replacement and supports checkpoint-based resume on failure.
|
|
6222
|
+
*
|
|
6223
|
+
* **Lifecycle (how to drive an install to completion):**
|
|
6224
|
+
* 1. `POST /v3/blueprint-manifest/blueprint:install` returns `{ job_id }` (202).
|
|
6225
|
+
* 2. Poll the job with `GET /v2/blueprint-manifest/jobs/{job_id}` — V3 jobs are
|
|
6226
|
+
* served by the same v2 jobs endpoints as Terraform jobs and are identified by
|
|
6227
|
+
* `sync_engine: "v3"`. Watch `status` and `resource_progress[]`.
|
|
6228
|
+
* 3. If `auto_apply` is `false` (default), the job pauses at
|
|
6229
|
+
* `status: "WAITING_USER_ACTION"` after planning. Resume it with
|
|
6230
|
+
* `POST /v2/blueprint-manifest/jobs/{job_id}:continue`.
|
|
6231
|
+
* 4. If `auto_apply` is `true`, the engine applies automatically after plan +
|
|
6232
|
+
* snapshot — no `:continue` call is needed. This is what the bulk-install worker
|
|
6233
|
+
* uses; to install into many orgs at once prefer `POST .../bulk-installs`.
|
|
6234
|
+
*
|
|
6235
|
+
* For cross-org installs, pass `destination_auth_token` (the destination org's
|
|
6236
|
+
* token); reads use the caller's bearer token, writes use that token.
|
|
5627
6237
|
*
|
|
5628
6238
|
*/
|
|
5629
6239
|
'post'(
|
|
@@ -5699,6 +6309,72 @@ interface PathsDictionary {
|
|
|
5699
6309
|
config?: AxiosRequestConfig
|
|
5700
6310
|
): OperationResponse<Paths.GetBlueprintLineageV3.Responses.$200>
|
|
5701
6311
|
}
|
|
6312
|
+
['/v3/blueprint-manifest/bulk-installs']: {
|
|
6313
|
+
/**
|
|
6314
|
+
* createBulkInstallV3 - Create Bulk Install V3
|
|
6315
|
+
*
|
|
6316
|
+
* Install one source blueprint into many destination organizations in a single
|
|
6317
|
+
* request. The server schedules child V3 installs with `auto_apply=true` and caps
|
|
6318
|
+
* active installs at `max_concurrency`. Per-target failures are isolated and
|
|
6319
|
+
* retryable; they do not stop the remaining targets.
|
|
6320
|
+
*
|
|
6321
|
+
* Each target carries its own write-only `destination_auth_token` (org-scoped).
|
|
6322
|
+
* Tokens are passed to the worker via Step Functions input only — they are never
|
|
6323
|
+
* persisted in DynamoDB nor returned by any endpoint.
|
|
6324
|
+
*
|
|
6325
|
+
*/
|
|
6326
|
+
'post'(
|
|
6327
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6328
|
+
data?: Paths.CreateBulkInstallV3.RequestBody,
|
|
6329
|
+
config?: AxiosRequestConfig
|
|
6330
|
+
): OperationResponse<Paths.CreateBulkInstallV3.Responses.$202>
|
|
6331
|
+
}
|
|
6332
|
+
['/v3/blueprint-manifest/bulk-installs/{bulk_job_id}']: {
|
|
6333
|
+
/**
|
|
6334
|
+
* getBulkInstallV3 - Get Bulk Install V3
|
|
6335
|
+
*
|
|
6336
|
+
* Returns the bulk install parent with aggregate status and counts. Scoped by the
|
|
6337
|
+
* caller org as `source_org_id`. Target rows are not included — use the targets
|
|
6338
|
+
* endpoint to page through them.
|
|
6339
|
+
*
|
|
6340
|
+
*/
|
|
6341
|
+
'get'(
|
|
6342
|
+
parameters?: Parameters<Paths.GetBulkInstallV3.PathParameters> | null,
|
|
6343
|
+
data?: any,
|
|
6344
|
+
config?: AxiosRequestConfig
|
|
6345
|
+
): OperationResponse<Paths.GetBulkInstallV3.Responses.$200>
|
|
6346
|
+
}
|
|
6347
|
+
['/v3/blueprint-manifest/bulk-installs/{bulk_job_id}/targets']: {
|
|
6348
|
+
/**
|
|
6349
|
+
* listBulkInstallTargetsV3 - List Bulk Install Targets V3
|
|
6350
|
+
*
|
|
6351
|
+
* Pages through the bulk install's target rows. Each row hydrates its latest child
|
|
6352
|
+
* install job (`job_ids.at(-1)`) with the standard V3 job shape (`events[]`,
|
|
6353
|
+
* `resource_progress[]`) so callers can inspect per-resource progress and errors.
|
|
6354
|
+
*
|
|
6355
|
+
*/
|
|
6356
|
+
'get'(
|
|
6357
|
+
parameters?: Parameters<Paths.ListBulkInstallTargetsV3.QueryParameters & Paths.ListBulkInstallTargetsV3.PathParameters> | null,
|
|
6358
|
+
data?: any,
|
|
6359
|
+
config?: AxiosRequestConfig
|
|
6360
|
+
): OperationResponse<Paths.ListBulkInstallTargetsV3.Responses.$200>
|
|
6361
|
+
}
|
|
6362
|
+
['/v3/blueprint-manifest/bulk-installs/{bulk_job_id}/targets/{destination_org_id}:retry']: {
|
|
6363
|
+
/**
|
|
6364
|
+
* retryBulkInstallTargetV3 - Retry Bulk Install Target V3
|
|
6365
|
+
*
|
|
6366
|
+
* Retries a single failed target. Allowed only for `FAILED` and `PARTIAL_SUCCESS`
|
|
6367
|
+
* targets. Starts a new child install with `auto_apply=true`, appends its job id to
|
|
6368
|
+
* `job_ids`, and reuses the same target row. Only the destination auth token may be
|
|
6369
|
+
* supplied for the new attempt; source/destination identifiers are immutable.
|
|
6370
|
+
*
|
|
6371
|
+
*/
|
|
6372
|
+
'post'(
|
|
6373
|
+
parameters?: Parameters<Paths.RetryBulkInstallTargetV3.PathParameters> | null,
|
|
6374
|
+
data?: Paths.RetryBulkInstallTargetV3.RequestBody,
|
|
6375
|
+
config?: AxiosRequestConfig
|
|
6376
|
+
): OperationResponse<Paths.RetryBulkInstallTargetV3.Responses.$200>
|
|
6377
|
+
}
|
|
5702
6378
|
['/v1/blueprint-manifest/uniqueness-criteria']: {
|
|
5703
6379
|
/**
|
|
5704
6380
|
* listUniquenessCriteria - listUniquenessCriteria
|
|
@@ -5774,6 +6450,13 @@ type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
|
|
|
5774
6450
|
type BlueprintRestoreJob = Components.Schemas.BlueprintRestoreJob;
|
|
5775
6451
|
type BlueprintValidateJob = Components.Schemas.BlueprintValidateJob;
|
|
5776
6452
|
type BlueprintVerificationJob = Components.Schemas.BlueprintVerificationJob;
|
|
6453
|
+
type BulkInstall = Components.Schemas.BulkInstall;
|
|
6454
|
+
type BulkInstallCounts = Components.Schemas.BulkInstallCounts;
|
|
6455
|
+
type BulkInstallCreateRequest = Components.Schemas.BulkInstallCreateRequest;
|
|
6456
|
+
type BulkInstallStatus = Components.Schemas.BulkInstallStatus;
|
|
6457
|
+
type BulkInstallTarget = Components.Schemas.BulkInstallTarget;
|
|
6458
|
+
type BulkInstallTargetInput = Components.Schemas.BulkInstallTargetInput;
|
|
6459
|
+
type BulkInstallTargetList = Components.Schemas.BulkInstallTargetList;
|
|
5777
6460
|
type CallerIdentity = Components.Schemas.CallerIdentity;
|
|
5778
6461
|
type CommonBlueprintFields = Components.Schemas.CommonBlueprintFields;
|
|
5779
6462
|
type CommonBlueprintJobFields = Components.Schemas.CommonBlueprintJobFields;
|
|
@@ -5828,4 +6511,4 @@ type V3ResourceProgressEntry = Components.Schemas.V3ResourceProgressEntry;
|
|
|
5828
6511
|
type VerificationSummary = Components.Schemas.VerificationSummary;
|
|
5829
6512
|
type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;
|
|
5830
6513
|
|
|
5831
|
-
export { type
|
|
6514
|
+
export { type ManifestID as $, type AppBlueprint as A, type Blueprint as B, type Client as C, type CallerIdentity as D, type CommonBlueprintFields as E, type CommonBlueprintJobFields as F, type CommonImportFields as G, type CommonManifestFields as H, type CommonMarkdownFields as I, type CommonResourceNode as J, type CustomBlueprint as K, type DeployedBlueprint as L, type DetectChangesResult as M, type FieldDiff as N, type OperationMethods as O, Paths as P, type FileBlueprint as Q, type FormattedError as R, type FormattedErrorCodes as S, type FormattedErrorData as T, type InstalledMarketplaceBlueprintItem as U, type Job as V, type JobID as W, type JobStatus as X, type LatestBlueprintVerification as Y, type LineageEntry as Z, type Manifest as _, Components as a, type ManifestItem as a0, type ManifestSource as a1, type ManifestTimestampFields as a2, type MarketplaceBlueprint as a3, type MarketplaceListing as a4, type MarketplaceListingUpdate as a5, type MarketplaceListingVersion as a6, type OrgPatchExecution as a7, type PatchFieldDiff as a8, type PatchResourceDiff as a9, type PlanChanges as aa, type PreInstallRequirements as ab, type PutManifestPayload as ac, type ResourceNode as ad, type ResourceNodeType as ae, type ResourceReplacement as af, type ResourceVerificationResult as ag, type RestoreOutcome as ah, type RestoreOutcomeItem as ai, type RootResourceNode as aj, type S3Reference as ak, type SelectedResources as al, type SuggestBlueprintResourcesRequest as am, type SuggestBlueprintResourcesResponse as an, type UniquenessCriteria as ao, type UniquenessCriteriaResourceType as ap, type UploadFilePayload as aq, type V3ResourceProgressEntry as ar, type VerificationSummary as as, type VirtualResourceNodeGroup as at, type PathsDictionary as b, type BlueprintDependenciesSyncJob as c, type BlueprintExportJob as d, type BlueprintID as e, type BlueprintInstallStatus as f, type BlueprintInstallationJob as g, type BlueprintInstallationJobOptions as h, type BlueprintJob as i, type BlueprintJobEvent as j, type BlueprintJobID as k, type BlueprintPatch as l, type BlueprintPatchWithResults as m, type BlueprintPreview as n, type BlueprintResource as o, type BlueprintResourceID as p, type BlueprintRestoreJob as q, type BlueprintValidateJob as r, type BlueprintVerificationJob as s, type BulkInstall as t, type BulkInstallCounts as u, type BulkInstallCreateRequest as v, type BulkInstallStatus as w, type BulkInstallTarget as x, type BulkInstallTargetInput as y, type BulkInstallTargetList as z };
|