@civitai/client 0.1.9-beta.29 → 0.1.9-beta.30

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.
@@ -195,6 +195,11 @@ export declare const $Blob: {
195
195
  readonly nsfwLevel: {
196
196
  readonly $ref: '#/components/schemas/NSFWLevel';
197
197
  };
198
+ readonly blockedReason: {
199
+ readonly type: 'string';
200
+ readonly description: 'Get an optional reason for why the blob was blocked. This is only set if the blob was blocked.';
201
+ readonly nullable: true;
202
+ };
198
203
  };
199
204
  readonly additionalProperties: false;
200
205
  readonly description: 'Represents a blob that gets produced as part of a specific job';
@@ -2203,12 +2208,13 @@ export declare const $VideoEnhancementInputInterpolationOptions: {
2203
2208
  readonly additionalProperties: false;
2204
2209
  };
2205
2210
  export declare const $VideoEnhancementInputUpscalerOptions: {
2206
- readonly required: readonly ['height', 'model', 'width'];
2211
+ readonly required: readonly ['height', 'width'];
2207
2212
  readonly type: 'object';
2208
2213
  readonly properties: {
2209
2214
  readonly model: {
2210
2215
  readonly pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$';
2211
2216
  readonly type: 'string';
2217
+ readonly nullable: true;
2212
2218
  };
2213
2219
  readonly width: {
2214
2220
  readonly type: 'integer';
@@ -2897,6 +2903,10 @@ export declare const $WorkflowStepJobEvent: {
2897
2903
  readonly type: 'string';
2898
2904
  readonly nullable: true;
2899
2905
  };
2906
+ readonly blockedReason: {
2907
+ readonly type: 'string';
2908
+ readonly nullable: true;
2909
+ };
2900
2910
  };
2901
2911
  readonly additionalProperties: false;
2902
2912
  readonly description: 'Details of a workflow step job event.';
@@ -196,6 +196,11 @@ export const $Blob = {
196
196
  nsfwLevel: {
197
197
  $ref: '#/components/schemas/NSFWLevel',
198
198
  },
199
+ blockedReason: {
200
+ type: 'string',
201
+ description: 'Get an optional reason for why the blob was blocked. This is only set if the blob was blocked.',
202
+ nullable: true,
203
+ },
199
204
  },
200
205
  additionalProperties: false,
201
206
  description: 'Represents a blob that gets produced as part of a specific job',
@@ -2217,12 +2222,13 @@ export const $VideoEnhancementInputInterpolationOptions = {
2217
2222
  additionalProperties: false,
2218
2223
  };
2219
2224
  export const $VideoEnhancementInputUpscalerOptions = {
2220
- required: ['height', 'model', 'width'],
2225
+ required: ['height', 'width'],
2221
2226
  type: 'object',
2222
2227
  properties: {
2223
2228
  model: {
2224
2229
  pattern: '^(?:urn:)?(?:air:)?(?:(?<ecosystem>[a-zA-Z0-9_\\-\\/]+):)?(?:(?<type>[a-zA-Z0-9_\\-\\/]+):)?(?<source>[a-zA-Z0-9_\\-\\/]+):(?<id>[a-zA-Z0-9_\\-\\/\\.]+)(?:@(?<version>[a-zA-Z0-9_\\-\\/.]+))?(?:\\.(?<format>[a-zA-Z0-9_\\-]+))?$',
2225
2230
  type: 'string',
2231
+ nullable: true,
2226
2232
  },
2227
2233
  width: {
2228
2234
  type: 'integer',
@@ -2911,6 +2917,10 @@ export const $WorkflowStepJobEvent = {
2911
2917
  type: 'string',
2912
2918
  nullable: true,
2913
2919
  },
2920
+ blockedReason: {
2921
+ type: 'string',
2922
+ nullable: true,
2923
+ },
2914
2924
  },
2915
2925
  additionalProperties: false,
2916
2926
  description: 'Details of a workflow step job event.',
@@ -83,6 +83,10 @@ export type Blob = {
83
83
  */
84
84
  jobId?: string | null;
85
85
  nsfwLevel?: NSFWLevel;
86
+ /**
87
+ * Get an optional reason for why the blob was blocked. This is only set if the blob was blocked.
88
+ */
89
+ blockedReason?: string | null;
86
90
  };
87
91
  export type BuzzClientAccount = 'user' | 'generation';
88
92
  export declare const BuzzClientAccount: {
@@ -1249,7 +1253,7 @@ export type VideoEnhancementInputInterpolationOptions = {
1249
1253
  multiplier: number;
1250
1254
  };
1251
1255
  export type VideoEnhancementInputUpscalerOptions = {
1252
- model: string;
1256
+ model?: string | null;
1253
1257
  width: number;
1254
1258
  height: number;
1255
1259
  };
@@ -1625,6 +1629,7 @@ export type WorkflowStepJobEvent = {
1625
1629
  $type?: string;
1626
1630
  progress?: number | null;
1627
1631
  reason?: string | null;
1632
+ blockedReason?: string | null;
1628
1633
  };
1629
1634
  /**
1630
1635
  * Details of the workflow step job's queue position.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.1.9-beta.29",
3
+ "version": "0.1.9-beta.30",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",