@confighub/api 0.8.8 → 0.8.9

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
@@ -6152,6 +6152,8 @@ interface components {
6152
6152
  PromoteUnitResult: {
6153
6153
  /** @description Upgrade, Resolve, Mark, Empty, Revive, Clone, Invoke, Unchanged, or Skip. */
6154
6154
  Action?: string;
6155
+ /** @description The configuration the write produced, or on a dry run would produce. Returned when include names ConfigData, for a Unit the promotion writes. */
6156
+ ConfigData?: string;
6155
6157
  /** @description Paths withheld because they were overridden locally or guarded. */
6156
6158
  Conflicts?: components["schemas"]["MutationConflictList"];
6157
6159
  /** @description The same change path by path, with the values on both sides. Returned when include names Diff. */
@@ -8203,8 +8205,12 @@ interface components {
8203
8205
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
8204
8206
  */
8205
8207
  ChangeSetID?: string;
8208
+ /** @description The guarded reasons the Unit writes are cleared for. A path whose guards this does not cover is not written, and the withheld change is reported in the Unit's Conflicts. */
8209
+ Clearance?: components["schemas"]["Clearance"];
8206
8210
  /** @description Placement of each component. Exactly one is supported. */
8207
8211
  Components?: components["schemas"]["UploadComponentRequest"][];
8212
+ /** @description Plan the upload and return the same response without writing anything. */
8213
+ DryRun?: boolean;
8208
8214
  /** @description The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
8209
8215
  Files?: components["schemas"]["UploadRequestFile"][];
8210
8216
  /** @description The bundle is part of what its source owns: Units the source owns that it leaves out are left alone rather than emptied. */
@@ -8216,6 +8222,14 @@ interface components {
8216
8222
  };
8217
8223
  /** @description Slug pattern for created Spaces, over the Space's Component and labels. Default {{.Component.Slug}}-{{.Labels.Variant}}. */
8218
8224
  SpacePattern?: string;
8225
+ /** @description A category recorded on the Mutations of each Unit write. Alphanumeric, at most 64 characters, and not starting with ConfigHub. */
8226
+ Subgroup?: string;
8227
+ /**
8228
+ * Format: uuid
8229
+ * @description A Tag to put on the Revision each Unit the upload writes is left at, created Units included. Units the upload leaves Unchanged are not tagged. Requires Use permission on the Tag; a ChangeSet's or ChangeOrder's own Tag is refused. An upload with a Unit to write that the Tag already marks fails, and nothing is written.
8230
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
8231
+ */
8232
+ TagID?: string;
8219
8233
  };
8220
8234
  UploadRequestFile: {
8221
8235
  /** @description The file's contents. */
@@ -22222,7 +22236,7 @@ interface operations {
22222
22236
  * @description Deprecated: use DryRun in the request body. Plan the promotion, evaluate its gates, and return the same response without writing anything. Either one asks for a dry run.
22223
22237
  */
22224
22238
  dry_run?: boolean;
22225
- /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. On a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
22239
+ /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides, and ConfigData for the configuration each Unit write produced, or on a dry run would produce. On a dry run any of them runs the merges a plan otherwise skips, so they are returned only when named. */
22226
22240
  include?: string;
22227
22241
  };
22228
22242
  header?: never;
@@ -47271,7 +47285,10 @@ interface operations {
47271
47285
  Upload: {
47272
47286
  parameters: {
47273
47287
  query?: {
47274
- /** @description Plan the upload and return the same response without writing anything. */
47288
+ /**
47289
+ * @deprecated
47290
+ * @description Deprecated: use DryRun in the request body. Plan the upload and return the same response without writing anything. Either one asks for a dry run.
47291
+ */
47275
47292
  dry_run?: boolean;
47276
47293
  /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. They cost something to return, and on a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
47277
47294
  include?: string;
package/dist/index.d.ts CHANGED
@@ -6152,6 +6152,8 @@ interface components {
6152
6152
  PromoteUnitResult: {
6153
6153
  /** @description Upgrade, Resolve, Mark, Empty, Revive, Clone, Invoke, Unchanged, or Skip. */
6154
6154
  Action?: string;
6155
+ /** @description The configuration the write produced, or on a dry run would produce. Returned when include names ConfigData, for a Unit the promotion writes. */
6156
+ ConfigData?: string;
6155
6157
  /** @description Paths withheld because they were overridden locally or guarded. */
6156
6158
  Conflicts?: components["schemas"]["MutationConflictList"];
6157
6159
  /** @description The same change path by path, with the values on both sides. Returned when include names Diff. */
@@ -8203,8 +8205,12 @@ interface components {
8203
8205
  * @example 248df4b7-aa70-47b8-a036-33ac447e668d
8204
8206
  */
8205
8207
  ChangeSetID?: string;
8208
+ /** @description The guarded reasons the Unit writes are cleared for. A path whose guards this does not cover is not written, and the withheld change is reported in the Unit's Conflicts. */
8209
+ Clearance?: components["schemas"]["Clearance"];
8206
8210
  /** @description Placement of each component. Exactly one is supported. */
8207
8211
  Components?: components["schemas"]["UploadComponentRequest"][];
8212
+ /** @description Plan the upload and return the same response without writing anything. */
8213
+ DryRun?: boolean;
8208
8214
  /** @description The bundle's files. Paths must be relative and may not contain "..". Exactly one of Files and Source.Pull is given. */
8209
8215
  Files?: components["schemas"]["UploadRequestFile"][];
8210
8216
  /** @description The bundle is part of what its source owns: Units the source owns that it leaves out are left alone rather than emptied. */
@@ -8216,6 +8222,14 @@ interface components {
8216
8222
  };
8217
8223
  /** @description Slug pattern for created Spaces, over the Space's Component and labels. Default {{.Component.Slug}}-{{.Labels.Variant}}. */
8218
8224
  SpacePattern?: string;
8225
+ /** @description A category recorded on the Mutations of each Unit write. Alphanumeric, at most 64 characters, and not starting with ConfigHub. */
8226
+ Subgroup?: string;
8227
+ /**
8228
+ * Format: uuid
8229
+ * @description A Tag to put on the Revision each Unit the upload writes is left at, created Units included. Units the upload leaves Unchanged are not tagged. Requires Use permission on the Tag; a ChangeSet's or ChangeOrder's own Tag is refused. An upload with a Unit to write that the Tag already marks fails, and nothing is written.
8230
+ * @example 248df4b7-aa70-47b8-a036-33ac447e668d
8231
+ */
8232
+ TagID?: string;
8219
8233
  };
8220
8234
  UploadRequestFile: {
8221
8235
  /** @description The file's contents. */
@@ -22222,7 +22236,7 @@ interface operations {
22222
22236
  * @description Deprecated: use DryRun in the request body. Plan the promotion, evaluate its gates, and return the same response without writing anything. Either one asks for a dry run.
22223
22237
  */
22224
22238
  dry_run?: boolean;
22225
- /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. On a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
22239
+ /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides, and ConfigData for the configuration each Unit write produced, or on a dry run would produce. On a dry run any of them runs the merges a plan otherwise skips, so they are returned only when named. */
22226
22240
  include?: string;
22227
22241
  };
22228
22242
  header?: never;
@@ -47271,7 +47285,10 @@ interface operations {
47271
47285
  Upload: {
47272
47286
  parameters: {
47273
47287
  query?: {
47274
- /** @description Plan the upload and return the same response without writing anything. */
47288
+ /**
47289
+ * @deprecated
47290
+ * @description Deprecated: use DryRun in the request body. Plan the upload and return the same response without writing anything. Either one asks for a dry run.
47291
+ */
47275
47292
  dry_run?: boolean;
47276
47293
  /** @description Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change, as entries of its MutationSources, and Diff for the same change path by path with the values on both sides. They cost something to return, and on a dry run either one runs the merges a plan otherwise skips, so they are returned only when named. */
47277
47294
  include?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confighub/api",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "Typed, framework-agnostic client for the ConfigHub API",
5
5
  "license": "MIT",
6
6
  "repository": {