@civitai/client 0.1.9-beta.46 → 0.1.9-beta.47

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.
@@ -533,7 +533,7 @@ export declare const $FALWanVideoGenInput: {
533
533
  readonly type: 'object';
534
534
  readonly properties: {
535
535
  readonly aspectRatio: {
536
- readonly enum: readonly ['4:3', '16:9', '9:16'];
536
+ readonly enum: readonly ['1:1', '16:9', '9:16'];
537
537
  readonly type: 'string';
538
538
  readonly default: '16:9';
539
539
  };
@@ -534,7 +534,7 @@ export const $FALWanVideoGenInput = {
534
534
  type: 'object',
535
535
  properties: {
536
536
  aspectRatio: {
537
- enum: ['4:3', '16:9', '9:16'],
537
+ enum: ['1:1', '16:9', '9:16'],
538
538
  type: 'string',
539
539
  default: '16:9',
540
540
  },
@@ -14,6 +14,7 @@ import type {
14
14
  GetResourceData,
15
15
  InvalidateResourceData,
16
16
  SubmitWorkflowData,
17
+ SubmitWorkflowError,
17
18
  QueryWorkflowsData,
18
19
  GetWorkflowData,
19
20
  UpdateWorkflowData,
@@ -153,7 +154,7 @@ export declare const submitWorkflow: (
153
154
  options?: Options<SubmitWorkflowData>
154
155
  ) => import('@hey-api/client-fetch').RequestResult<
155
156
  import('./types.gen').Workflow,
156
- import('./types.gen').ProblemDetails
157
+ SubmitWorkflowError
157
158
  >;
158
159
  /**
159
160
  * Query workflows
@@ -232,14 +232,14 @@ export type EpochResult = {
232
232
  blobUrl: string;
233
233
  };
234
234
  export type FALWanVideoGenInput = WanVideoGenInput & {
235
- aspectRatio?: '4:3' | '16:9' | '9:16';
235
+ aspectRatio?: '1:1' | '16:9' | '9:16';
236
236
  enablePromptExpansion?: boolean;
237
237
  } & {
238
238
  provider: 'fal';
239
239
  };
240
- export type aspectRatio = '4:3' | '16:9' | '9:16';
240
+ export type aspectRatio = '1:1' | '16:9' | '9:16';
241
241
  export declare const aspectRatio: {
242
- readonly _4_3: '4:3';
242
+ readonly _1_1: '1:1';
243
243
  readonly _16_9: '16:9';
244
244
  readonly _9_16: '9:16';
245
245
  };
@@ -1674,12 +1674,6 @@ export declare const duration2: {
1674
1674
  readonly _4: 4;
1675
1675
  readonly _8: 8;
1676
1676
  };
1677
- export type aspectRatio4 = '16:9' | '9:16' | '1:1';
1678
- export declare const aspectRatio4: {
1679
- readonly _16_9: '16:9';
1680
- readonly _9_16: '9:16';
1681
- readonly _1_1: '1:1';
1682
- };
1683
1677
  export type movementAmplitude = 'auto' | 'small' | 'medium' | 'large';
1684
1678
  export declare const movementAmplitude: {
1685
1679
  readonly AUTO: 'auto';
@@ -2198,7 +2192,7 @@ export type SubmitWorkflowData = {
2198
2192
  };
2199
2193
  };
2200
2194
  export type SubmitWorkflowResponse = Workflow;
2201
- export type SubmitWorkflowError = ProblemDetails;
2195
+ export type SubmitWorkflowError = ProblemDetails & string;
2202
2196
  export type QueryWorkflowsData = {
2203
2197
  headers?: {
2204
2198
  /**
@@ -2614,6 +2608,10 @@ export type $OpenApiTs = {
2614
2608
  * Unauthorized
2615
2609
  */
2616
2610
  '401': ProblemDetails;
2611
+ /**
2612
+ * Forbidden
2613
+ */
2614
+ '403': string;
2617
2615
  /**
2618
2616
  * Too Many Requests
2619
2617
  */
@@ -24,7 +24,7 @@ export const $type3 = {
24
24
  ECHO: 'echo',
25
25
  };
26
26
  export const aspectRatio = {
27
- _4_3: '4:3',
27
+ _1_1: '1:1',
28
28
  _16_9: '16:9',
29
29
  _9_16: '9:16',
30
30
  };
@@ -361,11 +361,6 @@ export const duration2 = {
361
361
  _4: 4,
362
362
  _8: 8,
363
363
  };
364
- export const aspectRatio4 = {
365
- _16_9: '16:9',
366
- _9_16: '9:16',
367
- _1_1: '1:1',
368
- };
369
364
  export const movementAmplitude = {
370
365
  AUTO: 'auto',
371
366
  SMALL: 'small',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/client",
3
- "version": "0.1.9-beta.46",
3
+ "version": "0.1.9-beta.47",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",