@scoutflo/topology-contracts 0.7.8 → 0.7.10
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/dist/src/correlation/connectionContractV1.d.ts +5 -8
- package/dist/src/correlation/connectionContractV1.js +21 -15
- package/dist/src/correlation/connectionContractV1.js.map +1 -1
- package/dist/src/correlation/contracts/families/index.d.ts +17 -17
- package/dist/src/correlation/contracts/families/integrations/index.d.ts +16 -16
- package/dist/src/correlation/contracts/families/integrations/index.js +16 -16
- package/dist/src/correlation/contracts/families/integrations/index.js.map +1 -1
- package/dist/src/correlation/contracts/families/kubernetes/index.d.ts +1 -1
- package/dist/src/correlation/contracts/families/kubernetes/index.js +1 -1
- package/dist/src/correlation/contracts/families/kubernetes/index.js.map +1 -1
- package/dist/src/correlation/contracts/registry.d.ts +17 -17
- package/dist/src/correlation/contracts/types.d.ts +2 -0
- package/dist/src/correlation/contracts/types.js +3 -1
- package/dist/src/correlation/contracts/types.js.map +1 -1
- package/dist/src/source-sync/lifecycle.d.ts +485 -0
- package/dist/src/source-sync/lifecycle.js +4 -1
- package/dist/src/source-sync/lifecycle.js.map +1 -1
- package/dist/test/contracts.test.js +18 -0
- package/dist/test/contracts.test.js.map +1 -1
- package/dist/test/source-sync-lifecycle.test.js +21 -0
- package/dist/test/source-sync-lifecycle.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -17893,6 +17893,490 @@ export declare const sourceSyncApplyRequestSchema: z.ZodObject<{
|
|
|
17893
17893
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17894
17894
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17895
17895
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17896
|
+
export declare const sourceSyncBatchApplyRequestSchema: z.ZodObject<{
|
|
17897
|
+
dry_runs: z.ZodArray<z.ZodObject<{
|
|
17898
|
+
dry_run_job_id: z.ZodString;
|
|
17899
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17900
|
+
confirm_diff_hash: z.ZodString;
|
|
17901
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
17902
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17903
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17904
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17905
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17906
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17907
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17908
|
+
plan_unit_id: z.ZodString;
|
|
17909
|
+
confirm_diff_hash: z.ZodString;
|
|
17910
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17911
|
+
plan_unit_id: z.ZodString;
|
|
17912
|
+
confirm_diff_hash: z.ZodString;
|
|
17913
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17914
|
+
plan_unit_id: z.ZodString;
|
|
17915
|
+
confirm_diff_hash: z.ZodString;
|
|
17916
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17917
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17918
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17919
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17920
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17921
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17922
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17923
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17924
|
+
plan_unit_id: z.ZodString;
|
|
17925
|
+
confirm_diff_hash: z.ZodString;
|
|
17926
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17927
|
+
plan_unit_id: z.ZodString;
|
|
17928
|
+
confirm_diff_hash: z.ZodString;
|
|
17929
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17930
|
+
plan_unit_id: z.ZodString;
|
|
17931
|
+
confirm_diff_hash: z.ZodString;
|
|
17932
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17933
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17934
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17935
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17936
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17937
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17938
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17939
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17940
|
+
plan_unit_id: z.ZodString;
|
|
17941
|
+
confirm_diff_hash: z.ZodString;
|
|
17942
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17943
|
+
plan_unit_id: z.ZodString;
|
|
17944
|
+
confirm_diff_hash: z.ZodString;
|
|
17945
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17946
|
+
plan_unit_id: z.ZodString;
|
|
17947
|
+
confirm_diff_hash: z.ZodString;
|
|
17948
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17949
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
17950
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17951
|
+
dry_run_job_id: z.ZodString;
|
|
17952
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17953
|
+
confirm_diff_hash: z.ZodString;
|
|
17954
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
17955
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17956
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17957
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17958
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17959
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17960
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17961
|
+
plan_unit_id: z.ZodString;
|
|
17962
|
+
confirm_diff_hash: z.ZodString;
|
|
17963
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17964
|
+
plan_unit_id: z.ZodString;
|
|
17965
|
+
confirm_diff_hash: z.ZodString;
|
|
17966
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17967
|
+
plan_unit_id: z.ZodString;
|
|
17968
|
+
confirm_diff_hash: z.ZodString;
|
|
17969
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17970
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17971
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17972
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17973
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17974
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17975
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17976
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17977
|
+
plan_unit_id: z.ZodString;
|
|
17978
|
+
confirm_diff_hash: z.ZodString;
|
|
17979
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17980
|
+
plan_unit_id: z.ZodString;
|
|
17981
|
+
confirm_diff_hash: z.ZodString;
|
|
17982
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17983
|
+
plan_unit_id: z.ZodString;
|
|
17984
|
+
confirm_diff_hash: z.ZodString;
|
|
17985
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
17986
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17987
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
17988
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
17989
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17990
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17991
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17992
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17993
|
+
plan_unit_id: z.ZodString;
|
|
17994
|
+
confirm_diff_hash: z.ZodString;
|
|
17995
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17996
|
+
plan_unit_id: z.ZodString;
|
|
17997
|
+
confirm_diff_hash: z.ZodString;
|
|
17998
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17999
|
+
plan_unit_id: z.ZodString;
|
|
18000
|
+
confirm_diff_hash: z.ZodString;
|
|
18001
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18002
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18003
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18004
|
+
dry_run_job_id: z.ZodString;
|
|
18005
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18006
|
+
confirm_diff_hash: z.ZodString;
|
|
18007
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18008
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18009
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18010
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18011
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18012
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18013
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18014
|
+
plan_unit_id: z.ZodString;
|
|
18015
|
+
confirm_diff_hash: z.ZodString;
|
|
18016
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18017
|
+
plan_unit_id: z.ZodString;
|
|
18018
|
+
confirm_diff_hash: z.ZodString;
|
|
18019
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18020
|
+
plan_unit_id: z.ZodString;
|
|
18021
|
+
confirm_diff_hash: z.ZodString;
|
|
18022
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18023
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18024
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18025
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18026
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18027
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18028
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18029
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18030
|
+
plan_unit_id: z.ZodString;
|
|
18031
|
+
confirm_diff_hash: z.ZodString;
|
|
18032
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18033
|
+
plan_unit_id: z.ZodString;
|
|
18034
|
+
confirm_diff_hash: z.ZodString;
|
|
18035
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18036
|
+
plan_unit_id: z.ZodString;
|
|
18037
|
+
confirm_diff_hash: z.ZodString;
|
|
18038
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18039
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18040
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18041
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18042
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18043
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18044
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18045
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18046
|
+
plan_unit_id: z.ZodString;
|
|
18047
|
+
confirm_diff_hash: z.ZodString;
|
|
18048
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18049
|
+
plan_unit_id: z.ZodString;
|
|
18050
|
+
confirm_diff_hash: z.ZodString;
|
|
18051
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18052
|
+
plan_unit_id: z.ZodString;
|
|
18053
|
+
confirm_diff_hash: z.ZodString;
|
|
18054
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18055
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18056
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
18057
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18058
|
+
dry_runs: z.ZodArray<z.ZodObject<{
|
|
18059
|
+
dry_run_job_id: z.ZodString;
|
|
18060
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18061
|
+
confirm_diff_hash: z.ZodString;
|
|
18062
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18063
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18064
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18065
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18066
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18067
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18068
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18069
|
+
plan_unit_id: z.ZodString;
|
|
18070
|
+
confirm_diff_hash: z.ZodString;
|
|
18071
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18072
|
+
plan_unit_id: z.ZodString;
|
|
18073
|
+
confirm_diff_hash: z.ZodString;
|
|
18074
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18075
|
+
plan_unit_id: z.ZodString;
|
|
18076
|
+
confirm_diff_hash: z.ZodString;
|
|
18077
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18078
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18079
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18080
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18081
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18082
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18083
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18084
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18085
|
+
plan_unit_id: z.ZodString;
|
|
18086
|
+
confirm_diff_hash: z.ZodString;
|
|
18087
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18088
|
+
plan_unit_id: z.ZodString;
|
|
18089
|
+
confirm_diff_hash: z.ZodString;
|
|
18090
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18091
|
+
plan_unit_id: z.ZodString;
|
|
18092
|
+
confirm_diff_hash: z.ZodString;
|
|
18093
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18094
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18095
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18096
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18097
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18098
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18099
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18100
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18101
|
+
plan_unit_id: z.ZodString;
|
|
18102
|
+
confirm_diff_hash: z.ZodString;
|
|
18103
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18104
|
+
plan_unit_id: z.ZodString;
|
|
18105
|
+
confirm_diff_hash: z.ZodString;
|
|
18106
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18107
|
+
plan_unit_id: z.ZodString;
|
|
18108
|
+
confirm_diff_hash: z.ZodString;
|
|
18109
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18110
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18111
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18112
|
+
dry_run_job_id: z.ZodString;
|
|
18113
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18114
|
+
confirm_diff_hash: z.ZodString;
|
|
18115
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18116
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18117
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18118
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18119
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18120
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18121
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18122
|
+
plan_unit_id: z.ZodString;
|
|
18123
|
+
confirm_diff_hash: z.ZodString;
|
|
18124
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18125
|
+
plan_unit_id: z.ZodString;
|
|
18126
|
+
confirm_diff_hash: z.ZodString;
|
|
18127
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18128
|
+
plan_unit_id: z.ZodString;
|
|
18129
|
+
confirm_diff_hash: z.ZodString;
|
|
18130
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18131
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18132
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18133
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18134
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18135
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18136
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18137
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18138
|
+
plan_unit_id: z.ZodString;
|
|
18139
|
+
confirm_diff_hash: z.ZodString;
|
|
18140
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18141
|
+
plan_unit_id: z.ZodString;
|
|
18142
|
+
confirm_diff_hash: z.ZodString;
|
|
18143
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18144
|
+
plan_unit_id: z.ZodString;
|
|
18145
|
+
confirm_diff_hash: z.ZodString;
|
|
18146
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18147
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18148
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18149
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18150
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18151
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18152
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18153
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18154
|
+
plan_unit_id: z.ZodString;
|
|
18155
|
+
confirm_diff_hash: z.ZodString;
|
|
18156
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18157
|
+
plan_unit_id: z.ZodString;
|
|
18158
|
+
confirm_diff_hash: z.ZodString;
|
|
18159
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18160
|
+
plan_unit_id: z.ZodString;
|
|
18161
|
+
confirm_diff_hash: z.ZodString;
|
|
18162
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18163
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18164
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18165
|
+
dry_run_job_id: z.ZodString;
|
|
18166
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18167
|
+
confirm_diff_hash: z.ZodString;
|
|
18168
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18169
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18170
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18171
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18172
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18173
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18174
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18175
|
+
plan_unit_id: z.ZodString;
|
|
18176
|
+
confirm_diff_hash: z.ZodString;
|
|
18177
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18178
|
+
plan_unit_id: z.ZodString;
|
|
18179
|
+
confirm_diff_hash: z.ZodString;
|
|
18180
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18181
|
+
plan_unit_id: z.ZodString;
|
|
18182
|
+
confirm_diff_hash: z.ZodString;
|
|
18183
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18184
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18185
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18186
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18187
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18188
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18189
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18190
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18191
|
+
plan_unit_id: z.ZodString;
|
|
18192
|
+
confirm_diff_hash: z.ZodString;
|
|
18193
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18194
|
+
plan_unit_id: z.ZodString;
|
|
18195
|
+
confirm_diff_hash: z.ZodString;
|
|
18196
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18197
|
+
plan_unit_id: z.ZodString;
|
|
18198
|
+
confirm_diff_hash: z.ZodString;
|
|
18199
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18200
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18201
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18202
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18203
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18204
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18205
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18206
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18207
|
+
plan_unit_id: z.ZodString;
|
|
18208
|
+
confirm_diff_hash: z.ZodString;
|
|
18209
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18210
|
+
plan_unit_id: z.ZodString;
|
|
18211
|
+
confirm_diff_hash: z.ZodString;
|
|
18212
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18213
|
+
plan_unit_id: z.ZodString;
|
|
18214
|
+
confirm_diff_hash: z.ZodString;
|
|
18215
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18216
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18217
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
18218
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18219
|
+
dry_runs: z.ZodArray<z.ZodObject<{
|
|
18220
|
+
dry_run_job_id: z.ZodString;
|
|
18221
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18222
|
+
confirm_diff_hash: z.ZodString;
|
|
18223
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18224
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18225
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18226
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18227
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18228
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18229
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18230
|
+
plan_unit_id: z.ZodString;
|
|
18231
|
+
confirm_diff_hash: z.ZodString;
|
|
18232
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18233
|
+
plan_unit_id: z.ZodString;
|
|
18234
|
+
confirm_diff_hash: z.ZodString;
|
|
18235
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18236
|
+
plan_unit_id: z.ZodString;
|
|
18237
|
+
confirm_diff_hash: z.ZodString;
|
|
18238
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18239
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18240
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18241
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18242
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18243
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18244
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18245
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18246
|
+
plan_unit_id: z.ZodString;
|
|
18247
|
+
confirm_diff_hash: z.ZodString;
|
|
18248
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18249
|
+
plan_unit_id: z.ZodString;
|
|
18250
|
+
confirm_diff_hash: z.ZodString;
|
|
18251
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18252
|
+
plan_unit_id: z.ZodString;
|
|
18253
|
+
confirm_diff_hash: z.ZodString;
|
|
18254
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18255
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18256
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18257
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18258
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18259
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18260
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18261
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18262
|
+
plan_unit_id: z.ZodString;
|
|
18263
|
+
confirm_diff_hash: z.ZodString;
|
|
18264
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18265
|
+
plan_unit_id: z.ZodString;
|
|
18266
|
+
confirm_diff_hash: z.ZodString;
|
|
18267
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18268
|
+
plan_unit_id: z.ZodString;
|
|
18269
|
+
confirm_diff_hash: z.ZodString;
|
|
18270
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18271
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18272
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18273
|
+
dry_run_job_id: z.ZodString;
|
|
18274
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18275
|
+
confirm_diff_hash: z.ZodString;
|
|
18276
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18277
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18278
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18279
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18280
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18281
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18282
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18283
|
+
plan_unit_id: z.ZodString;
|
|
18284
|
+
confirm_diff_hash: z.ZodString;
|
|
18285
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18286
|
+
plan_unit_id: z.ZodString;
|
|
18287
|
+
confirm_diff_hash: z.ZodString;
|
|
18288
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18289
|
+
plan_unit_id: z.ZodString;
|
|
18290
|
+
confirm_diff_hash: z.ZodString;
|
|
18291
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18292
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18293
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18294
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18295
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18296
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18297
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18298
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18299
|
+
plan_unit_id: z.ZodString;
|
|
18300
|
+
confirm_diff_hash: z.ZodString;
|
|
18301
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18302
|
+
plan_unit_id: z.ZodString;
|
|
18303
|
+
confirm_diff_hash: z.ZodString;
|
|
18304
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18305
|
+
plan_unit_id: z.ZodString;
|
|
18306
|
+
confirm_diff_hash: z.ZodString;
|
|
18307
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18308
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18309
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18310
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18311
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18312
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18313
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18314
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18315
|
+
plan_unit_id: z.ZodString;
|
|
18316
|
+
confirm_diff_hash: z.ZodString;
|
|
18317
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18318
|
+
plan_unit_id: z.ZodString;
|
|
18319
|
+
confirm_diff_hash: z.ZodString;
|
|
18320
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18321
|
+
plan_unit_id: z.ZodString;
|
|
18322
|
+
confirm_diff_hash: z.ZodString;
|
|
18323
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18324
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18325
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18326
|
+
dry_run_job_id: z.ZodString;
|
|
18327
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18328
|
+
confirm_diff_hash: z.ZodString;
|
|
18329
|
+
selection: z.ZodOptional<z.ZodObject<{
|
|
18330
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18331
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18332
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18333
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18334
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18335
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18336
|
+
plan_unit_id: z.ZodString;
|
|
18337
|
+
confirm_diff_hash: z.ZodString;
|
|
18338
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18339
|
+
plan_unit_id: z.ZodString;
|
|
18340
|
+
confirm_diff_hash: z.ZodString;
|
|
18341
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18342
|
+
plan_unit_id: z.ZodString;
|
|
18343
|
+
confirm_diff_hash: z.ZodString;
|
|
18344
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18345
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18346
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18347
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18348
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18349
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18350
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18351
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18352
|
+
plan_unit_id: z.ZodString;
|
|
18353
|
+
confirm_diff_hash: z.ZodString;
|
|
18354
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18355
|
+
plan_unit_id: z.ZodString;
|
|
18356
|
+
confirm_diff_hash: z.ZodString;
|
|
18357
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18358
|
+
plan_unit_id: z.ZodString;
|
|
18359
|
+
confirm_diff_hash: z.ZodString;
|
|
18360
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18361
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18362
|
+
apply_all_ready: z.ZodOptional<z.ZodBoolean>;
|
|
18363
|
+
sync_batch_id: z.ZodOptional<z.ZodString>;
|
|
18364
|
+
source_run_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18365
|
+
scan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18366
|
+
plan_unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18367
|
+
plan_units: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18368
|
+
plan_unit_id: z.ZodString;
|
|
18369
|
+
confirm_diff_hash: z.ZodString;
|
|
18370
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18371
|
+
plan_unit_id: z.ZodString;
|
|
18372
|
+
confirm_diff_hash: z.ZodString;
|
|
18373
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
18374
|
+
plan_unit_id: z.ZodString;
|
|
18375
|
+
confirm_diff_hash: z.ZodString;
|
|
18376
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
18377
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
18378
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
18379
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
17896
18380
|
export declare const sourceSyncApplyResponseSchema: z.ZodObject<{
|
|
17897
18381
|
status: z.ZodNumber;
|
|
17898
18382
|
job: z.ZodOptional<z.ZodObject<{
|
|
@@ -23973,6 +24457,7 @@ export type SourceSyncDuplicate = z.infer<typeof sourceSyncDuplicateSchema>;
|
|
|
23973
24457
|
export type SourceSyncDryRunResponse = z.infer<typeof sourceSyncDryRunResponseSchema>;
|
|
23974
24458
|
export type SourceSyncApplySelection = z.infer<typeof sourceSyncApplySelectionSchema>;
|
|
23975
24459
|
export type SourceSyncApplyRequest = z.infer<typeof sourceSyncApplyRequestSchema>;
|
|
24460
|
+
export type SourceSyncBatchApplyRequest = z.infer<typeof sourceSyncBatchApplyRequestSchema>;
|
|
23976
24461
|
export type SourceSyncApplyResponse = z.infer<typeof sourceSyncApplyResponseSchema>;
|
|
23977
24462
|
export type SourceSyncBatchResponse = z.infer<typeof sourceSyncBatchResponseSchema>;
|
|
23978
24463
|
export type SourceSyncBatchUnitsResponse = z.infer<typeof sourceSyncBatchUnitsResponseSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sourceSyncBatchUnitsResponseSchema = exports.sourceSyncBatchResponseSchema = exports.sourceSyncApplyResponseSchema = exports.sourceSyncApplyRequestSchema = exports.sourceSyncApplySelectionSchema = exports.sourceSyncDryRunResponseSchema = exports.sourceSyncDuplicateSchema = exports.sourceSyncErrorSchema = exports.sourceSyncDryRunSourceResultSchema = exports.sourceSyncSourceSummarySchema = exports.sourceSyncJobSchema = exports.sourceSyncRecordSchema = exports.sourceSyncCapabilitiesResponseSchema = exports.sourceSyncUnitStatusSchema = void 0;
|
|
3
|
+
exports.sourceSyncBatchUnitsResponseSchema = exports.sourceSyncBatchResponseSchema = exports.sourceSyncApplyResponseSchema = exports.sourceSyncBatchApplyRequestSchema = exports.sourceSyncApplyRequestSchema = exports.sourceSyncApplySelectionSchema = exports.sourceSyncDryRunResponseSchema = exports.sourceSyncDuplicateSchema = exports.sourceSyncErrorSchema = exports.sourceSyncDryRunSourceResultSchema = exports.sourceSyncSourceSummarySchema = exports.sourceSyncJobSchema = exports.sourceSyncRecordSchema = exports.sourceSyncCapabilitiesResponseSchema = exports.sourceSyncUnitStatusSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const capability_1 = require("./capability");
|
|
6
6
|
const completeness_1 = require("./completeness");
|
|
@@ -140,6 +140,9 @@ exports.sourceSyncApplyRequestSchema = zod_1.z.object({
|
|
|
140
140
|
confirm_diff_hash: common_1.nonEmptyStringSchema,
|
|
141
141
|
selection: exports.sourceSyncApplySelectionSchema.optional(),
|
|
142
142
|
}).passthrough();
|
|
143
|
+
exports.sourceSyncBatchApplyRequestSchema = zod_1.z.object({
|
|
144
|
+
dry_runs: zod_1.z.array(exports.sourceSyncApplyRequestSchema).min(1),
|
|
145
|
+
}).passthrough();
|
|
143
146
|
exports.sourceSyncApplyResponseSchema = zod_1.z.object({
|
|
144
147
|
status: zod_1.z.number().int(),
|
|
145
148
|
job: exports.sourceSyncJobSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../../../src/source-sync/lifecycle.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6CAA0D;AAC1D,iDAAgE;AAChE,qCAGkB;AAClB,uCAAsD;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C,KAAK,CAAC,8BAAsB,CAAC;IAC3C,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC;CAC7C,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -158,9 +158,13 @@ const src_1 = require("../src");
|
|
|
158
158
|
strict_1.default.equal(src_1.integrationCategoryValueSchema.parse('alerting'), 'alerting');
|
|
159
159
|
strict_1.default.throws(() => src_1.integrationCategoryValueSchema.parse('incident_management'));
|
|
160
160
|
strict_1.default.equal(src_1.RELATIONSHIP_STRUCTURAL_CONTAINMENT_ATTRIBUTE_SCHEMA_KEY, 'relationship.structural_containment.v1');
|
|
161
|
+
strict_1.default.equal(src_1.RELATIONSHIP_SELECTOR_ROUTING_ATTRIBUTE_SCHEMA_KEY, 'relationship.selector_routing.v1');
|
|
162
|
+
strict_1.default.equal(src_1.RELATIONSHIP_OBSERVABILITY_BINDING_ATTRIBUTE_SCHEMA_KEY, 'relationship.observability_binding.v1');
|
|
161
163
|
strict_1.default.equal(src_1.connectionContractAttributeSchemaKeySchema.parse(src_1.RELATIONSHIP_STRUCTURAL_CONTAINMENT_ATTRIBUTE_SCHEMA_KEY), src_1.RELATIONSHIP_STRUCTURAL_CONTAINMENT_ATTRIBUTE_SCHEMA_KEY);
|
|
162
164
|
strict_1.default.deepEqual([...src_1.CONNECTION_CONTRACT_ATTRIBUTE_SCHEMA_KEYS], [
|
|
163
165
|
'relationship.structural_containment.v1',
|
|
166
|
+
'relationship.selector_routing.v1',
|
|
167
|
+
'relationship.observability_binding.v1',
|
|
164
168
|
'monitoring.prometheus',
|
|
165
169
|
'monitoring.mimir',
|
|
166
170
|
'monitoring.victoriametrics',
|
|
@@ -247,10 +251,24 @@ const src_1 = require("../src");
|
|
|
247
251
|
strict_1.default.equal((0, src_1.getConnectionContract)('k8s_workload_monitored_by_zenduty_alerting', 'v1')?.relation, src_1.TOPOLOGY_RELATION_TYPE.MONITORED_BY);
|
|
248
252
|
strict_1.default.equal((0, src_1.getConnectionContract)('k8s_workload_monitored_by_pagerduty_alerting', 'v1')?.attribute_schema_key, 'monitoring.pagerduty');
|
|
249
253
|
strict_1.default.equal((0, src_1.getConnectionContract)('k8s_workload_monitored_by_zenduty_alerting', 'v1')?.attribute_schema_key, 'monitoring.zenduty');
|
|
254
|
+
strict_1.default.equal((0, src_1.getConnectionContract)('k8s_service_routes_to_workload', 'v1')?.attribute_schema_key, 'relationship.selector_routing.v1');
|
|
250
255
|
strict_1.default.equal((0, src_1.getConnectionContract)('pagerduty_service_alerts_workload', 'v1'), undefined);
|
|
251
256
|
strict_1.default.equal((0, src_1.getConnectionContract)('service_uses_jira', 'v1')?.status, src_1.CONNECTION_CONTRACT_STATUS.CANDIDATE);
|
|
252
257
|
strict_1.default.equal((0, src_1.getConnectionContract)('service_uses_jsm', 'v1')?.status, src_1.CONNECTION_CONTRACT_STATUS.CANDIDATE);
|
|
253
258
|
strict_1.default.deepEqual(observabilityCandidateKeys.map((key) => (0, src_1.getConnectionContract)(key, 'v1')?.status), observabilityCandidateKeys.map(() => src_1.CONNECTION_CONTRACT_STATUS.CANDIDATE));
|
|
259
|
+
const observabilityBindingKeys = [
|
|
260
|
+
'k8s_workload_sends_metrics_to_prometheus_compatible',
|
|
261
|
+
'workload_reports_errors_to_sentry',
|
|
262
|
+
...observabilityCandidateKeys,
|
|
263
|
+
'service_sends_metrics_to_prometheus_compatible',
|
|
264
|
+
'service_reports_errors_to_sentry',
|
|
265
|
+
'service_sends_logs_to_logging_provider',
|
|
266
|
+
'service_sends_traces_to_tracing_provider',
|
|
267
|
+
'k8s_workload_monitored_by_observability_provider',
|
|
268
|
+
'service_monitored_by_observability_provider',
|
|
269
|
+
'k8s_workload_monitored_by_groundcover',
|
|
270
|
+
];
|
|
271
|
+
strict_1.default.deepEqual(observabilityBindingKeys.map((key) => (0, src_1.getConnectionContract)(key, 'v1')?.attribute_schema_key), observabilityBindingKeys.map(() => 'relationship.observability_binding.v1'));
|
|
254
272
|
strict_1.default.equal((0, src_1.getConnectionContract)('service_uses_ticketing_provider', 'v1')?.status, src_1.CONNECTION_CONTRACT_STATUS.RESERVED);
|
|
255
273
|
strict_1.default.equal((0, src_1.listConnectionContractsByFamily)(src_1.CONNECTION_CONTRACT_FAMILY.AWS).length, 8);
|
|
256
274
|
strict_1.default.equal((0, src_1.listConnectionContractsByFamily)(src_1.CONNECTION_CONTRACT_FAMILY.KUBERNETES).length, 5);
|