@confighub/api 0.4.13 → 0.4.14

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/index.d.cts CHANGED
@@ -2314,7 +2314,7 @@ interface paths {
2314
2314
  put?: never;
2315
2315
  /**
2316
2316
  * Upload a bundle of configuration
2317
- * @description Takes a bundle of rendered configuration files, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
2317
+ * @description Takes a bundle of rendered configuration files, or pulls one from an OCI registry, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
2318
2318
  */
2319
2319
  post: operations["Upload"];
2320
2320
  delete?: never;
@@ -5991,6 +5991,14 @@ interface components {
5991
5991
  /** @description References that resolved to no resource in the bundle. */
5992
5992
  UnmatchedReferences?: components["schemas"]["UploadUnmatchedReference"][];
5993
5993
  };
5994
+ UploadDuplicate: {
5995
+ /** @description The other Units that define the resource. */
5996
+ Others?: components["schemas"]["UploadUnitRef"][];
5997
+ /** @description The resource identity, as in UploadUnitResult.Resource. */
5998
+ Resource?: string;
5999
+ /** @description The slug of this upload's Unit for the resource. */
6000
+ Slug?: string;
6001
+ };
5994
6002
  UploadLinkResult: {
5995
6003
  /** @description Create or Unchanged. */
5996
6004
  Action?: string;
@@ -6010,6 +6018,12 @@ interface components {
6010
6018
  /** @description The release Namespace the bundle already carries. */
6011
6019
  Namespace?: string;
6012
6020
  };
6021
+ UploadRegistryCredentials: {
6022
+ /** @description The password, or an access token for registries that issue them. */
6023
+ Password?: string;
6024
+ /** @description The registry username. */
6025
+ Username?: string;
6026
+ };
6013
6027
  UploadRequest: {
6014
6028
  /** @description Recorded on each Unit write. */
6015
6029
  ChangeDescription?: string;
@@ -6022,7 +6036,7 @@ interface components {
6022
6036
  ChangeSetID?: string;
6023
6037
  /** @description Placement of each component. Exactly one is supported. */
6024
6038
  Components?: components["schemas"]["UploadComponentRequest"][];
6025
- /** @description The bundle's files. Paths must be relative and may not contain "..". */
6039
+ /** @description The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
6026
6040
  Files?: components["schemas"]["UploadRequestFile"][];
6027
6041
  Source?: components["schemas"]["UploadSourceInfo"];
6028
6042
  /** @description Labels applied to every Space, merge-patch: keys given are set, keys omitted are left alone. */
@@ -6044,13 +6058,18 @@ interface components {
6044
6058
  DryRun?: boolean;
6045
6059
  /** @description Digest of the planned actions. */
6046
6060
  Plan?: string;
6061
+ /** @description The digest of the manifest the server pulled, when Source.Pull was set. Send it as Source.Digest to upload exactly the bundle a dry run read. */
6062
+ SourceDigest?: string;
6047
6063
  };
6048
6064
  UploadSourceInfo: {
6049
6065
  /** @description The client that uploaded: cub, installer, ui. */
6050
6066
  Client?: string;
6051
6067
  ClientVersion?: string;
6068
+ Credentials?: components["schemas"]["UploadRegistryCredentials"];
6052
6069
  /** @description The resolved digest, when the transport has one. */
6053
6070
  Digest?: string;
6071
+ /** @description Fetch the bundle from Ref, an oci:// reference, instead of taking Files. With Digest set, that manifest is fetched rather than whatever Ref's tag names now. */
6072
+ Pull?: boolean;
6054
6073
  /** @description Where the bundle came from, e.g. oci://ghcr.io/confighub/configs/cubbychat:1.4.0 or a local path. */
6055
6074
  Ref?: string;
6056
6075
  };
@@ -6063,6 +6082,8 @@ interface components {
6063
6082
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6064
6083
  */
6065
6084
  ChangeSetID?: string;
6085
+ /** @description Resources this upload writes that other Units deployed to the same Target also define: the Space's other Units, and when the Space has a Target, Units elsewhere on that Target. */
6086
+ Duplicates?: components["schemas"]["UploadDuplicate"][];
6066
6087
  Links?: components["schemas"]["UploadLinkResult"][];
6067
6088
  Namespace?: string;
6068
6089
  /**
@@ -6074,6 +6095,20 @@ interface components {
6074
6095
  SpaceSlug?: string;
6075
6096
  Units?: components["schemas"]["UploadUnitResult"][];
6076
6097
  };
6098
+ UploadUnitRef: {
6099
+ /**
6100
+ * Format: uuid
6101
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6102
+ */
6103
+ SpaceID?: string;
6104
+ SpaceSlug?: string;
6105
+ /**
6106
+ * Format: uuid
6107
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6108
+ */
6109
+ UnitID?: string;
6110
+ UnitSlug?: string;
6111
+ };
6077
6112
  UploadUnitResult: {
6078
6113
  /** @description Create, Update, Unchanged, Empty, Revive, or Adopt. */
6079
6114
  Action?: string;
@@ -6654,7 +6689,7 @@ interface operations {
6654
6689
  "application/json": components["schemas"]["StandardErrorResponse"];
6655
6690
  };
6656
6691
  };
6657
- /** @description Space data conflict. Data has changed since last read. */
6692
+ /** @description Space is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
6658
6693
  409: {
6659
6694
  headers: {
6660
6695
  [name: string]: unknown;
@@ -7480,7 +7515,7 @@ interface operations {
7480
7515
  "application/json": components["schemas"]["StandardErrorResponse"];
7481
7516
  };
7482
7517
  };
7483
- /** @description Attribute data conflict. Data has changed since last read. */
7518
+ /** @description Attribute is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
7484
7519
  409: {
7485
7520
  headers: {
7486
7521
  [name: string]: unknown;
@@ -7983,7 +8018,7 @@ interface operations {
7983
8018
  "application/json": components["schemas"]["StandardErrorResponse"];
7984
8019
  };
7985
8020
  };
7986
- /** @description BridgeWorker data conflict. Data has changed since last read. */
8021
+ /** @description BridgeWorker is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
7987
8022
  409: {
7988
8023
  headers: {
7989
8024
  [name: string]: unknown;
@@ -9134,7 +9169,7 @@ interface operations {
9134
9169
  "application/json": components["schemas"]["StandardErrorResponse"];
9135
9170
  };
9136
9171
  };
9137
- /** @description ChangeOrder data conflict. Data has changed since last read. */
9172
+ /** @description ChangeOrder is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
9138
9173
  409: {
9139
9174
  headers: {
9140
9175
  [name: string]: unknown;
@@ -9961,7 +9996,7 @@ interface operations {
9961
9996
  "application/json": components["schemas"]["StandardErrorResponse"];
9962
9997
  };
9963
9998
  };
9964
- /** @description ChangeSet data conflict. Data has changed since last read. */
9999
+ /** @description ChangeSet is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
9965
10000
  409: {
9966
10001
  headers: {
9967
10002
  [name: string]: unknown;
@@ -10780,7 +10815,7 @@ interface operations {
10780
10815
  "application/json": components["schemas"]["StandardErrorResponse"];
10781
10816
  };
10782
10817
  };
10783
- /** @description ChangeWorkflow data conflict. Data has changed since last read. */
10818
+ /** @description ChangeWorkflow is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
10784
10819
  409: {
10785
10820
  headers: {
10786
10821
  [name: string]: unknown;
@@ -11608,7 +11643,7 @@ interface operations {
11608
11643
  "application/json": components["schemas"]["StandardErrorResponse"];
11609
11644
  };
11610
11645
  };
11611
- /** @description Filter data conflict. Data has changed since last read. */
11646
+ /** @description Filter is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
11612
11647
  409: {
11613
11648
  headers: {
11614
11649
  [name: string]: unknown;
@@ -12801,7 +12836,7 @@ interface operations {
12801
12836
  "application/json": components["schemas"]["StandardErrorResponse"];
12802
12837
  };
12803
12838
  };
12804
- /** @description Invocation data conflict. Data has changed since last read. */
12839
+ /** @description Invocation is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
12805
12840
  409: {
12806
12841
  headers: {
12807
12842
  [name: string]: unknown;
@@ -13647,7 +13682,7 @@ interface operations {
13647
13682
  "application/json": components["schemas"]["StandardErrorResponse"];
13648
13683
  };
13649
13684
  };
13650
- /** @description Link data conflict. Data has changed since last read. */
13685
+ /** @description Link is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
13651
13686
  409: {
13652
13687
  headers: {
13653
13688
  [name: string]: unknown;
@@ -14366,7 +14401,7 @@ interface operations {
14366
14401
  "application/json": components["schemas"]["StandardErrorResponse"];
14367
14402
  };
14368
14403
  };
14369
- /** @description OAuthClient data conflict. Data has changed since last read. */
14404
+ /** @description OAuthClient is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
14370
14405
  409: {
14371
14406
  headers: {
14372
14407
  [name: string]: unknown;
@@ -14908,7 +14943,7 @@ interface operations {
14908
14943
  "application/json": components["schemas"]["StandardErrorResponse"];
14909
14944
  };
14910
14945
  };
14911
- /** @description Organization data conflict. Data has changed since last read. */
14946
+ /** @description Organization is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
14912
14947
  409: {
14913
14948
  headers: {
14914
14949
  [name: string]: unknown;
@@ -15324,7 +15359,7 @@ interface operations {
15324
15359
  "application/json": components["schemas"]["StandardErrorResponse"];
15325
15360
  };
15326
15361
  };
15327
- /** @description OrganizationMember data conflict. Data has changed since last read. */
15362
+ /** @description OrganizationMember is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
15328
15363
  409: {
15329
15364
  headers: {
15330
15365
  [name: string]: unknown;
@@ -16832,7 +16867,7 @@ interface operations {
16832
16867
  "application/json": components["schemas"]["StandardErrorResponse"];
16833
16868
  };
16834
16869
  };
16835
- /** @description Space data conflict. Data has changed since last read. */
16870
+ /** @description Space is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
16836
16871
  409: {
16837
16872
  headers: {
16838
16873
  [name: string]: unknown;
@@ -17519,7 +17554,7 @@ interface operations {
17519
17554
  "application/json": components["schemas"]["StandardErrorResponse"];
17520
17555
  };
17521
17556
  };
17522
- /** @description Attribute data conflict. Data has changed since last read. */
17557
+ /** @description Attribute is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
17523
17558
  409: {
17524
17559
  headers: {
17525
17560
  [name: string]: unknown;
@@ -18212,7 +18247,7 @@ interface operations {
18212
18247
  "application/json": components["schemas"]["StandardErrorResponse"];
18213
18248
  };
18214
18249
  };
18215
- /** @description BridgeWorker data conflict. Data has changed since last read. */
18250
+ /** @description BridgeWorker is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
18216
18251
  409: {
18217
18252
  headers: {
18218
18253
  [name: string]: unknown;
@@ -19081,7 +19116,7 @@ interface operations {
19081
19116
  "application/json": components["schemas"]["StandardErrorResponse"];
19082
19117
  };
19083
19118
  };
19084
- /** @description ChangeOrder data conflict. Data has changed since last read. */
19119
+ /** @description ChangeOrder is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
19085
19120
  409: {
19086
19121
  headers: {
19087
19122
  [name: string]: unknown;
@@ -19760,7 +19795,7 @@ interface operations {
19760
19795
  "application/json": components["schemas"]["StandardErrorResponse"];
19761
19796
  };
19762
19797
  };
19763
- /** @description ChangeSet data conflict. Data has changed since last read. */
19798
+ /** @description ChangeSet is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
19764
19799
  409: {
19765
19800
  headers: {
19766
19801
  [name: string]: unknown;
@@ -20426,7 +20461,7 @@ interface operations {
20426
20461
  "application/json": components["schemas"]["StandardErrorResponse"];
20427
20462
  };
20428
20463
  };
20429
- /** @description ChangeWorkflow data conflict. Data has changed since last read. */
20464
+ /** @description ChangeWorkflow is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
20430
20465
  409: {
20431
20466
  headers: {
20432
20467
  [name: string]: unknown;
@@ -21101,7 +21136,7 @@ interface operations {
21101
21136
  "application/json": components["schemas"]["StandardErrorResponse"];
21102
21137
  };
21103
21138
  };
21104
- /** @description Filter data conflict. Data has changed since last read. */
21139
+ /** @description Filter is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
21105
21140
  409: {
21106
21141
  headers: {
21107
21142
  [name: string]: unknown;
@@ -22128,7 +22163,7 @@ interface operations {
22128
22163
  "application/json": components["schemas"]["StandardErrorResponse"];
22129
22164
  };
22130
22165
  };
22131
- /** @description Invocation data conflict. Data has changed since last read. */
22166
+ /** @description Invocation is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
22132
22167
  409: {
22133
22168
  headers: {
22134
22169
  [name: string]: unknown;
@@ -22808,7 +22843,7 @@ interface operations {
22808
22843
  "application/json": components["schemas"]["StandardErrorResponse"];
22809
22844
  };
22810
22845
  };
22811
- /** @description Link data conflict. Data has changed since last read. */
22846
+ /** @description Link is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
22812
22847
  409: {
22813
22848
  headers: {
22814
22849
  [name: string]: unknown;
@@ -23514,7 +23549,7 @@ interface operations {
23514
23549
  "application/json": components["schemas"]["StandardErrorResponse"];
23515
23550
  };
23516
23551
  };
23517
- /** @description Release data conflict. Data has changed since last read. */
23552
+ /** @description Release is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
23518
23553
  409: {
23519
23554
  headers: {
23520
23555
  [name: string]: unknown;
@@ -24351,7 +24386,7 @@ interface operations {
24351
24386
  "application/json": components["schemas"]["StandardErrorResponse"];
24352
24387
  };
24353
24388
  };
24354
- /** @description Tag data conflict. Data has changed since last read. */
24389
+ /** @description Tag is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
24355
24390
  409: {
24356
24391
  headers: {
24357
24392
  [name: string]: unknown;
@@ -25019,7 +25054,7 @@ interface operations {
25019
25054
  "application/json": components["schemas"]["StandardErrorResponse"];
25020
25055
  };
25021
25056
  };
25022
- /** @description Target data conflict. Data has changed since last read. */
25057
+ /** @description Target is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
25023
25058
  409: {
25024
25059
  headers: {
25025
25060
  [name: string]: unknown;
@@ -25729,7 +25764,7 @@ interface operations {
25729
25764
  "application/json": components["schemas"]["StandardErrorResponse"];
25730
25765
  };
25731
25766
  };
25732
- /** @description Trigger data conflict. Data has changed since last read. */
25767
+ /** @description Trigger is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
25733
25768
  409: {
25734
25769
  headers: {
25735
25770
  [name: string]: unknown;
@@ -26573,7 +26608,7 @@ interface operations {
26573
26608
  "application/json": components["schemas"]["StandardErrorResponse"];
26574
26609
  };
26575
26610
  };
26576
- /** @description Unit data conflict. Data has changed since last read. */
26611
+ /** @description Unit is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
26577
26612
  409: {
26578
26613
  headers: {
26579
26614
  [name: string]: unknown;
@@ -29603,7 +29638,7 @@ interface operations {
29603
29638
  "application/json": components["schemas"]["StandardErrorResponse"];
29604
29639
  };
29605
29640
  };
29606
- /** @description View data conflict. Data has changed since last read. */
29641
+ /** @description View is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
29607
29642
  409: {
29608
29643
  headers: {
29609
29644
  [name: string]: unknown;
@@ -30335,7 +30370,7 @@ interface operations {
30335
30370
  "application/json": components["schemas"]["StandardErrorResponse"];
30336
30371
  };
30337
30372
  };
30338
- /** @description Tag data conflict. Data has changed since last read. */
30373
+ /** @description Tag is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
30339
30374
  409: {
30340
30375
  headers: {
30341
30376
  [name: string]: unknown;
@@ -30885,7 +30920,7 @@ interface operations {
30885
30920
  "application/json": components["schemas"]["StandardErrorResponse"];
30886
30921
  };
30887
30922
  };
30888
- /** @description Target data conflict. Data has changed since last read. */
30923
+ /** @description Target is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
30889
30924
  409: {
30890
30925
  headers: {
30891
30926
  [name: string]: unknown;
@@ -31749,7 +31784,7 @@ interface operations {
31749
31784
  "application/json": components["schemas"]["StandardErrorResponse"];
31750
31785
  };
31751
31786
  };
31752
- /** @description Trigger data conflict. Data has changed since last read. */
31787
+ /** @description Trigger is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
31753
31788
  409: {
31754
31789
  headers: {
31755
31790
  [name: string]: unknown;
@@ -32689,7 +32724,7 @@ interface operations {
32689
32724
  "application/json": components["schemas"]["StandardErrorResponse"];
32690
32725
  };
32691
32726
  };
32692
- /** @description Unit data conflict. Data has changed since last read. */
32727
+ /** @description Unit is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
32693
32728
  409: {
32694
32729
  headers: {
32695
32730
  [name: string]: unknown;
@@ -34375,6 +34410,15 @@ interface operations {
34375
34410
  "application/json": components["schemas"]["StandardErrorResponse"];
34376
34411
  };
34377
34412
  };
34413
+ /** @description The bundle could not be pulled from Source.Ref */
34414
+ 422: {
34415
+ headers: {
34416
+ [name: string]: unknown;
34417
+ };
34418
+ content: {
34419
+ "application/json": components["schemas"]["StandardErrorResponse"];
34420
+ };
34421
+ };
34378
34422
  /** @description Something went wrong while processing Upload. */
34379
34423
  500: {
34380
34424
  headers: {
@@ -34384,6 +34428,15 @@ interface operations {
34384
34428
  "application/json": components["schemas"]["StandardErrorResponse"];
34385
34429
  };
34386
34430
  };
34431
+ /** @description Pulling the bundle from Source.Ref took too long */
34432
+ 504: {
34433
+ headers: {
34434
+ [name: string]: unknown;
34435
+ };
34436
+ content: {
34437
+ "application/json": components["schemas"]["StandardErrorResponse"];
34438
+ };
34439
+ };
34387
34440
  /** @description Unexpected error. */
34388
34441
  default: {
34389
34442
  headers: {
@@ -34845,7 +34898,7 @@ interface operations {
34845
34898
  "application/json": components["schemas"]["StandardErrorResponse"];
34846
34899
  };
34847
34900
  };
34848
- /** @description User data conflict. Data has changed since last read. */
34901
+ /** @description User is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
34849
34902
  409: {
34850
34903
  headers: {
34851
34904
  [name: string]: unknown;
@@ -35466,7 +35519,7 @@ interface operations {
35466
35519
  "application/json": components["schemas"]["StandardErrorResponse"];
35467
35520
  };
35468
35521
  };
35469
- /** @description View data conflict. Data has changed since last read. */
35522
+ /** @description View is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
35470
35523
  409: {
35471
35524
  headers: {
35472
35525
  [name: string]: unknown;
package/dist/index.d.ts CHANGED
@@ -2314,7 +2314,7 @@ interface paths {
2314
2314
  put?: never;
2315
2315
  /**
2316
2316
  * Upload a bundle of configuration
2317
- * @description Takes a bundle of rendered configuration files, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
2317
+ * @description Takes a bundle of rendered configuration files, or pulls one from an OCI registry, splits it into resources, and makes a Space's Units, Links, and Invocations match it. Creates what is missing, 3-way merges what changed, and empties the Units of resources the bundle no longer contains, so uploading the same bundle again changes nothing. Every resource becomes its own Unit.
2318
2318
  */
2319
2319
  post: operations["Upload"];
2320
2320
  delete?: never;
@@ -5991,6 +5991,14 @@ interface components {
5991
5991
  /** @description References that resolved to no resource in the bundle. */
5992
5992
  UnmatchedReferences?: components["schemas"]["UploadUnmatchedReference"][];
5993
5993
  };
5994
+ UploadDuplicate: {
5995
+ /** @description The other Units that define the resource. */
5996
+ Others?: components["schemas"]["UploadUnitRef"][];
5997
+ /** @description The resource identity, as in UploadUnitResult.Resource. */
5998
+ Resource?: string;
5999
+ /** @description The slug of this upload's Unit for the resource. */
6000
+ Slug?: string;
6001
+ };
5994
6002
  UploadLinkResult: {
5995
6003
  /** @description Create or Unchanged. */
5996
6004
  Action?: string;
@@ -6010,6 +6018,12 @@ interface components {
6010
6018
  /** @description The release Namespace the bundle already carries. */
6011
6019
  Namespace?: string;
6012
6020
  };
6021
+ UploadRegistryCredentials: {
6022
+ /** @description The password, or an access token for registries that issue them. */
6023
+ Password?: string;
6024
+ /** @description The registry username. */
6025
+ Username?: string;
6026
+ };
6013
6027
  UploadRequest: {
6014
6028
  /** @description Recorded on each Unit write. */
6015
6029
  ChangeDescription?: string;
@@ -6022,7 +6036,7 @@ interface components {
6022
6036
  ChangeSetID?: string;
6023
6037
  /** @description Placement of each component. Exactly one is supported. */
6024
6038
  Components?: components["schemas"]["UploadComponentRequest"][];
6025
- /** @description The bundle's files. Paths must be relative and may not contain "..". */
6039
+ /** @description The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
6026
6040
  Files?: components["schemas"]["UploadRequestFile"][];
6027
6041
  Source?: components["schemas"]["UploadSourceInfo"];
6028
6042
  /** @description Labels applied to every Space, merge-patch: keys given are set, keys omitted are left alone. */
@@ -6044,13 +6058,18 @@ interface components {
6044
6058
  DryRun?: boolean;
6045
6059
  /** @description Digest of the planned actions. */
6046
6060
  Plan?: string;
6061
+ /** @description The digest of the manifest the server pulled, when Source.Pull was set. Send it as Source.Digest to upload exactly the bundle a dry run read. */
6062
+ SourceDigest?: string;
6047
6063
  };
6048
6064
  UploadSourceInfo: {
6049
6065
  /** @description The client that uploaded: cub, installer, ui. */
6050
6066
  Client?: string;
6051
6067
  ClientVersion?: string;
6068
+ Credentials?: components["schemas"]["UploadRegistryCredentials"];
6052
6069
  /** @description The resolved digest, when the transport has one. */
6053
6070
  Digest?: string;
6071
+ /** @description Fetch the bundle from Ref, an oci:// reference, instead of taking Files. With Digest set, that manifest is fetched rather than whatever Ref's tag names now. */
6072
+ Pull?: boolean;
6054
6073
  /** @description Where the bundle came from, e.g. oci://ghcr.io/confighub/configs/cubbychat:1.4.0 or a local path. */
6055
6074
  Ref?: string;
6056
6075
  };
@@ -6063,6 +6082,8 @@ interface components {
6063
6082
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6064
6083
  */
6065
6084
  ChangeSetID?: string;
6085
+ /** @description Resources this upload writes that other Units deployed to the same Target also define: the Space's other Units, and when the Space has a Target, Units elsewhere on that Target. */
6086
+ Duplicates?: components["schemas"]["UploadDuplicate"][];
6066
6087
  Links?: components["schemas"]["UploadLinkResult"][];
6067
6088
  Namespace?: string;
6068
6089
  /**
@@ -6074,6 +6095,20 @@ interface components {
6074
6095
  SpaceSlug?: string;
6075
6096
  Units?: components["schemas"]["UploadUnitResult"][];
6076
6097
  };
6098
+ UploadUnitRef: {
6099
+ /**
6100
+ * Format: uuid
6101
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6102
+ */
6103
+ SpaceID?: string;
6104
+ SpaceSlug?: string;
6105
+ /**
6106
+ * Format: uuid
6107
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
6108
+ */
6109
+ UnitID?: string;
6110
+ UnitSlug?: string;
6111
+ };
6077
6112
  UploadUnitResult: {
6078
6113
  /** @description Create, Update, Unchanged, Empty, Revive, or Adopt. */
6079
6114
  Action?: string;
@@ -6654,7 +6689,7 @@ interface operations {
6654
6689
  "application/json": components["schemas"]["StandardErrorResponse"];
6655
6690
  };
6656
6691
  };
6657
- /** @description Space data conflict. Data has changed since last read. */
6692
+ /** @description Space is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
6658
6693
  409: {
6659
6694
  headers: {
6660
6695
  [name: string]: unknown;
@@ -7480,7 +7515,7 @@ interface operations {
7480
7515
  "application/json": components["schemas"]["StandardErrorResponse"];
7481
7516
  };
7482
7517
  };
7483
- /** @description Attribute data conflict. Data has changed since last read. */
7518
+ /** @description Attribute is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
7484
7519
  409: {
7485
7520
  headers: {
7486
7521
  [name: string]: unknown;
@@ -7983,7 +8018,7 @@ interface operations {
7983
8018
  "application/json": components["schemas"]["StandardErrorResponse"];
7984
8019
  };
7985
8020
  };
7986
- /** @description BridgeWorker data conflict. Data has changed since last read. */
8021
+ /** @description BridgeWorker is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
7987
8022
  409: {
7988
8023
  headers: {
7989
8024
  [name: string]: unknown;
@@ -9134,7 +9169,7 @@ interface operations {
9134
9169
  "application/json": components["schemas"]["StandardErrorResponse"];
9135
9170
  };
9136
9171
  };
9137
- /** @description ChangeOrder data conflict. Data has changed since last read. */
9172
+ /** @description ChangeOrder is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
9138
9173
  409: {
9139
9174
  headers: {
9140
9175
  [name: string]: unknown;
@@ -9961,7 +9996,7 @@ interface operations {
9961
9996
  "application/json": components["schemas"]["StandardErrorResponse"];
9962
9997
  };
9963
9998
  };
9964
- /** @description ChangeSet data conflict. Data has changed since last read. */
9999
+ /** @description ChangeSet is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
9965
10000
  409: {
9966
10001
  headers: {
9967
10002
  [name: string]: unknown;
@@ -10780,7 +10815,7 @@ interface operations {
10780
10815
  "application/json": components["schemas"]["StandardErrorResponse"];
10781
10816
  };
10782
10817
  };
10783
- /** @description ChangeWorkflow data conflict. Data has changed since last read. */
10818
+ /** @description ChangeWorkflow is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
10784
10819
  409: {
10785
10820
  headers: {
10786
10821
  [name: string]: unknown;
@@ -11608,7 +11643,7 @@ interface operations {
11608
11643
  "application/json": components["schemas"]["StandardErrorResponse"];
11609
11644
  };
11610
11645
  };
11611
- /** @description Filter data conflict. Data has changed since last read. */
11646
+ /** @description Filter is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
11612
11647
  409: {
11613
11648
  headers: {
11614
11649
  [name: string]: unknown;
@@ -12801,7 +12836,7 @@ interface operations {
12801
12836
  "application/json": components["schemas"]["StandardErrorResponse"];
12802
12837
  };
12803
12838
  };
12804
- /** @description Invocation data conflict. Data has changed since last read. */
12839
+ /** @description Invocation is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
12805
12840
  409: {
12806
12841
  headers: {
12807
12842
  [name: string]: unknown;
@@ -13647,7 +13682,7 @@ interface operations {
13647
13682
  "application/json": components["schemas"]["StandardErrorResponse"];
13648
13683
  };
13649
13684
  };
13650
- /** @description Link data conflict. Data has changed since last read. */
13685
+ /** @description Link is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
13651
13686
  409: {
13652
13687
  headers: {
13653
13688
  [name: string]: unknown;
@@ -14366,7 +14401,7 @@ interface operations {
14366
14401
  "application/json": components["schemas"]["StandardErrorResponse"];
14367
14402
  };
14368
14403
  };
14369
- /** @description OAuthClient data conflict. Data has changed since last read. */
14404
+ /** @description OAuthClient is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
14370
14405
  409: {
14371
14406
  headers: {
14372
14407
  [name: string]: unknown;
@@ -14908,7 +14943,7 @@ interface operations {
14908
14943
  "application/json": components["schemas"]["StandardErrorResponse"];
14909
14944
  };
14910
14945
  };
14911
- /** @description Organization data conflict. Data has changed since last read. */
14946
+ /** @description Organization is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
14912
14947
  409: {
14913
14948
  headers: {
14914
14949
  [name: string]: unknown;
@@ -15324,7 +15359,7 @@ interface operations {
15324
15359
  "application/json": components["schemas"]["StandardErrorResponse"];
15325
15360
  };
15326
15361
  };
15327
- /** @description OrganizationMember data conflict. Data has changed since last read. */
15362
+ /** @description OrganizationMember is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
15328
15363
  409: {
15329
15364
  headers: {
15330
15365
  [name: string]: unknown;
@@ -16832,7 +16867,7 @@ interface operations {
16832
16867
  "application/json": components["schemas"]["StandardErrorResponse"];
16833
16868
  };
16834
16869
  };
16835
- /** @description Space data conflict. Data has changed since last read. */
16870
+ /** @description Space is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
16836
16871
  409: {
16837
16872
  headers: {
16838
16873
  [name: string]: unknown;
@@ -17519,7 +17554,7 @@ interface operations {
17519
17554
  "application/json": components["schemas"]["StandardErrorResponse"];
17520
17555
  };
17521
17556
  };
17522
- /** @description Attribute data conflict. Data has changed since last read. */
17557
+ /** @description Attribute is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
17523
17558
  409: {
17524
17559
  headers: {
17525
17560
  [name: string]: unknown;
@@ -18212,7 +18247,7 @@ interface operations {
18212
18247
  "application/json": components["schemas"]["StandardErrorResponse"];
18213
18248
  };
18214
18249
  };
18215
- /** @description BridgeWorker data conflict. Data has changed since last read. */
18250
+ /** @description BridgeWorker is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
18216
18251
  409: {
18217
18252
  headers: {
18218
18253
  [name: string]: unknown;
@@ -19081,7 +19116,7 @@ interface operations {
19081
19116
  "application/json": components["schemas"]["StandardErrorResponse"];
19082
19117
  };
19083
19118
  };
19084
- /** @description ChangeOrder data conflict. Data has changed since last read. */
19119
+ /** @description ChangeOrder is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
19085
19120
  409: {
19086
19121
  headers: {
19087
19122
  [name: string]: unknown;
@@ -19760,7 +19795,7 @@ interface operations {
19760
19795
  "application/json": components["schemas"]["StandardErrorResponse"];
19761
19796
  };
19762
19797
  };
19763
- /** @description ChangeSet data conflict. Data has changed since last read. */
19798
+ /** @description ChangeSet is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
19764
19799
  409: {
19765
19800
  headers: {
19766
19801
  [name: string]: unknown;
@@ -20426,7 +20461,7 @@ interface operations {
20426
20461
  "application/json": components["schemas"]["StandardErrorResponse"];
20427
20462
  };
20428
20463
  };
20429
- /** @description ChangeWorkflow data conflict. Data has changed since last read. */
20464
+ /** @description ChangeWorkflow is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
20430
20465
  409: {
20431
20466
  headers: {
20432
20467
  [name: string]: unknown;
@@ -21101,7 +21136,7 @@ interface operations {
21101
21136
  "application/json": components["schemas"]["StandardErrorResponse"];
21102
21137
  };
21103
21138
  };
21104
- /** @description Filter data conflict. Data has changed since last read. */
21139
+ /** @description Filter is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
21105
21140
  409: {
21106
21141
  headers: {
21107
21142
  [name: string]: unknown;
@@ -22128,7 +22163,7 @@ interface operations {
22128
22163
  "application/json": components["schemas"]["StandardErrorResponse"];
22129
22164
  };
22130
22165
  };
22131
- /** @description Invocation data conflict. Data has changed since last read. */
22166
+ /** @description Invocation is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
22132
22167
  409: {
22133
22168
  headers: {
22134
22169
  [name: string]: unknown;
@@ -22808,7 +22843,7 @@ interface operations {
22808
22843
  "application/json": components["schemas"]["StandardErrorResponse"];
22809
22844
  };
22810
22845
  };
22811
- /** @description Link data conflict. Data has changed since last read. */
22846
+ /** @description Link is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
22812
22847
  409: {
22813
22848
  headers: {
22814
22849
  [name: string]: unknown;
@@ -23514,7 +23549,7 @@ interface operations {
23514
23549
  "application/json": components["schemas"]["StandardErrorResponse"];
23515
23550
  };
23516
23551
  };
23517
- /** @description Release data conflict. Data has changed since last read. */
23552
+ /** @description Release is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
23518
23553
  409: {
23519
23554
  headers: {
23520
23555
  [name: string]: unknown;
@@ -24351,7 +24386,7 @@ interface operations {
24351
24386
  "application/json": components["schemas"]["StandardErrorResponse"];
24352
24387
  };
24353
24388
  };
24354
- /** @description Tag data conflict. Data has changed since last read. */
24389
+ /** @description Tag is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
24355
24390
  409: {
24356
24391
  headers: {
24357
24392
  [name: string]: unknown;
@@ -25019,7 +25054,7 @@ interface operations {
25019
25054
  "application/json": components["schemas"]["StandardErrorResponse"];
25020
25055
  };
25021
25056
  };
25022
- /** @description Target data conflict. Data has changed since last read. */
25057
+ /** @description Target is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
25023
25058
  409: {
25024
25059
  headers: {
25025
25060
  [name: string]: unknown;
@@ -25729,7 +25764,7 @@ interface operations {
25729
25764
  "application/json": components["schemas"]["StandardErrorResponse"];
25730
25765
  };
25731
25766
  };
25732
- /** @description Trigger data conflict. Data has changed since last read. */
25767
+ /** @description Trigger is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
25733
25768
  409: {
25734
25769
  headers: {
25735
25770
  [name: string]: unknown;
@@ -26573,7 +26608,7 @@ interface operations {
26573
26608
  "application/json": components["schemas"]["StandardErrorResponse"];
26574
26609
  };
26575
26610
  };
26576
- /** @description Unit data conflict. Data has changed since last read. */
26611
+ /** @description Unit is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
26577
26612
  409: {
26578
26613
  headers: {
26579
26614
  [name: string]: unknown;
@@ -29603,7 +29638,7 @@ interface operations {
29603
29638
  "application/json": components["schemas"]["StandardErrorResponse"];
29604
29639
  };
29605
29640
  };
29606
- /** @description View data conflict. Data has changed since last read. */
29641
+ /** @description View is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
29607
29642
  409: {
29608
29643
  headers: {
29609
29644
  [name: string]: unknown;
@@ -30335,7 +30370,7 @@ interface operations {
30335
30370
  "application/json": components["schemas"]["StandardErrorResponse"];
30336
30371
  };
30337
30372
  };
30338
- /** @description Tag data conflict. Data has changed since last read. */
30373
+ /** @description Tag is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
30339
30374
  409: {
30340
30375
  headers: {
30341
30376
  [name: string]: unknown;
@@ -30885,7 +30920,7 @@ interface operations {
30885
30920
  "application/json": components["schemas"]["StandardErrorResponse"];
30886
30921
  };
30887
30922
  };
30888
- /** @description Target data conflict. Data has changed since last read. */
30923
+ /** @description Target is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
30889
30924
  409: {
30890
30925
  headers: {
30891
30926
  [name: string]: unknown;
@@ -31749,7 +31784,7 @@ interface operations {
31749
31784
  "application/json": components["schemas"]["StandardErrorResponse"];
31750
31785
  };
31751
31786
  };
31752
- /** @description Trigger data conflict. Data has changed since last read. */
31787
+ /** @description Trigger is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
31753
31788
  409: {
31754
31789
  headers: {
31755
31790
  [name: string]: unknown;
@@ -32689,7 +32724,7 @@ interface operations {
32689
32724
  "application/json": components["schemas"]["StandardErrorResponse"];
32690
32725
  };
32691
32726
  };
32692
- /** @description Unit data conflict. Data has changed since last read. */
32727
+ /** @description Unit is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
32693
32728
  409: {
32694
32729
  headers: {
32695
32730
  [name: string]: unknown;
@@ -34375,6 +34410,15 @@ interface operations {
34375
34410
  "application/json": components["schemas"]["StandardErrorResponse"];
34376
34411
  };
34377
34412
  };
34413
+ /** @description The bundle could not be pulled from Source.Ref */
34414
+ 422: {
34415
+ headers: {
34416
+ [name: string]: unknown;
34417
+ };
34418
+ content: {
34419
+ "application/json": components["schemas"]["StandardErrorResponse"];
34420
+ };
34421
+ };
34378
34422
  /** @description Something went wrong while processing Upload. */
34379
34423
  500: {
34380
34424
  headers: {
@@ -34384,6 +34428,15 @@ interface operations {
34384
34428
  "application/json": components["schemas"]["StandardErrorResponse"];
34385
34429
  };
34386
34430
  };
34431
+ /** @description Pulling the bundle from Source.Ref took too long */
34432
+ 504: {
34433
+ headers: {
34434
+ [name: string]: unknown;
34435
+ };
34436
+ content: {
34437
+ "application/json": components["schemas"]["StandardErrorResponse"];
34438
+ };
34439
+ };
34387
34440
  /** @description Unexpected error. */
34388
34441
  default: {
34389
34442
  headers: {
@@ -34845,7 +34898,7 @@ interface operations {
34845
34898
  "application/json": components["schemas"]["StandardErrorResponse"];
34846
34899
  };
34847
34900
  };
34848
- /** @description User data conflict. Data has changed since last read. */
34901
+ /** @description User is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
34849
34902
  409: {
34850
34903
  headers: {
34851
34904
  [name: string]: unknown;
@@ -35466,7 +35519,7 @@ interface operations {
35466
35519
  "application/json": components["schemas"]["StandardErrorResponse"];
35467
35520
  };
35468
35521
  };
35469
- /** @description View data conflict. Data has changed since last read. */
35522
+ /** @description View is still in use: it has DeleteGates, or other entities still reference it. Or data has changed since last read. */
35470
35523
  409: {
35471
35524
  headers: {
35472
35525
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confighub/api",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Typed, framework-agnostic client for the ConfigHub API",
5
5
  "license": "MIT",
6
6
  "repository": {