@runwayml/sdk 4.28.0 → 4.30.0
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/CHANGELOG.md +26 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +1 -1
- package/resources/avatar-conversations.d.mts.map +1 -1
- package/resources/avatar-conversations.d.ts +1 -1
- package/resources/avatar-conversations.d.ts.map +1 -1
- package/resources/avatar-conversations.js +1 -1
- package/resources/avatar-conversations.js.map +1 -1
- package/resources/avatar-conversations.mjs +1 -1
- package/resources/avatar-conversations.mjs.map +1 -1
- package/resources/avatars.d.mts +2 -4
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +2 -4
- package/resources/avatars.d.ts.map +1 -1
- package/resources/avatars.js +2 -4
- package/resources/avatars.js.map +1 -1
- package/resources/avatars.mjs +2 -4
- package/resources/avatars.mjs.map +1 -1
- package/resources/documents.d.mts +4 -10
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +4 -10
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +2 -8
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -8
- package/resources/documents.mjs.map +1 -1
- package/resources/generate/image.d.mts +2 -2
- package/resources/generate/image.d.ts +2 -2
- package/resources/generate/video.d.mts +5 -0
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +5 -0
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +78 -2
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +78 -2
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/index.js.map +1 -1
- package/resources/organization/index.mjs.map +1 -1
- package/resources/organization/organization.d.mts +54 -5
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +54 -5
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +64 -12
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +64 -12
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/audit-logs.js +1 -1
- package/resources/organization/webapp/audit-logs.js.map +1 -1
- package/resources/organization/webapp/audit-logs.mjs +1 -1
- package/resources/organization/webapp/audit-logs.mjs.map +1 -1
- package/resources/organization/webapp/index.d.mts +1 -1
- package/resources/organization/webapp/index.d.mts.map +1 -1
- package/resources/organization/webapp/index.d.ts +1 -1
- package/resources/organization/webapp/index.d.ts.map +1 -1
- package/resources/organization/webapp/index.js.map +1 -1
- package/resources/organization/webapp/index.mjs.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +95 -2
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +95 -2
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js +12 -0
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs +12 -0
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/routers.d.mts +32 -26
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +32 -26
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +2 -2
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +2 -2
- package/resources/routers.mjs.map +1 -1
- package/resources/tasks.d.mts +25 -2
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +25 -2
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +204 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +204 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +77 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +77 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +94 -3
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +94 -3
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +107 -3
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +107 -3
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/voices.js +1 -1
- package/resources/voices.js.map +1 -1
- package/resources/voices.mjs +1 -1
- package/resources/voices.mjs.map +1 -1
- package/src/resources/avatar-conversations.ts +1 -1
- package/src/resources/avatars.ts +2 -4
- package/src/resources/documents.ts +4 -10
- package/src/resources/generate/image.ts +2 -2
- package/src/resources/generate/video.ts +6 -0
- package/src/resources/image-to-video.ts +105 -2
- package/src/resources/organization/index.ts +3 -0
- package/src/resources/organization/organization.ts +82 -3
- package/src/resources/organization/webapp/audit-logs.ts +144 -10
- package/src/resources/organization/webapp/index.ts +3 -0
- package/src/resources/organization/webapp/webapp.ts +122 -1
- package/src/resources/routers.ts +38 -26
- package/src/resources/tasks.ts +33 -2
- package/src/resources/text-to-image.ts +350 -1
- package/src/resources/text-to-speech.ts +143 -1
- package/src/resources/text-to-video.ts +128 -3
- package/src/resources/video-to-video.ts +143 -3
- package/src/resources/voices.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -5,6 +5,13 @@ import { CursorPage, type CursorPageParams, PagePromise } from "../../../core/pa
|
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
6
|
export declare class Webapp extends APIResource {
|
|
7
7
|
auditLogs: AuditLogsAPI.AuditLogs;
|
|
8
|
+
/**
|
|
9
|
+
* List the members of the linked Runway workspaces you administer, one row per
|
|
10
|
+
* member per workspace, including pending invites and members who were removed.
|
|
11
|
+
* Ordered by `membershipId`. Authorized via the account link between this API
|
|
12
|
+
* project and the workspace.
|
|
13
|
+
*/
|
|
14
|
+
listMembers(query?: WebappListMembersParams | null | undefined, options?: RequestOptions): PagePromise<WebappListMembersResponsesCursorPage, WebappListMembersResponse>;
|
|
8
15
|
/**
|
|
9
16
|
* List per-generation credit-usage rows for the linked Runway workspaces you
|
|
10
17
|
* administer, newest first. Unlike `/v1/organization/usage` (this API project's
|
|
@@ -13,7 +20,64 @@ export declare class Webapp extends APIResource {
|
|
|
13
20
|
*/
|
|
14
21
|
listUsage(query: WebappListUsageParams, options?: RequestOptions): PagePromise<WebappListUsageResponsesCursorPage, WebappListUsageResponse>;
|
|
15
22
|
}
|
|
23
|
+
export type WebappListMembersResponsesCursorPage = CursorPage<WebappListMembersResponse>;
|
|
16
24
|
export type WebappListUsageResponsesCursorPage = CursorPage<WebappListUsageResponse>;
|
|
25
|
+
export interface WebappListMembersResponse {
|
|
26
|
+
/**
|
|
27
|
+
* Why the membership is `deactivated`. `removed`: the member was removed from the
|
|
28
|
+
* workspace. `invite_ended`: the invite was declined or revoked, which are
|
|
29
|
+
* recorded the same way. `suspended`: the user is suspended. `null` unless
|
|
30
|
+
* `status` is `deactivated`.
|
|
31
|
+
*/
|
|
32
|
+
deactivationReason: 'removed' | 'invite_ended' | 'suspended' | null;
|
|
33
|
+
/**
|
|
34
|
+
* Approximately when the member was removed, or the invite was declined or
|
|
35
|
+
* revoked: the membership's last change. `null` when the membership was not ended,
|
|
36
|
+
* including for a suspended user.
|
|
37
|
+
*/
|
|
38
|
+
deprovisionedAt: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Email of the member, or the email the invite was sent to.
|
|
41
|
+
*/
|
|
42
|
+
email: string;
|
|
43
|
+
/**
|
|
44
|
+
* Last UTC date the member used Runway, on the web or mobile app and in any
|
|
45
|
+
* workspace. `null` when they never accepted the invite or have no recorded
|
|
46
|
+
* activity.
|
|
47
|
+
*/
|
|
48
|
+
lastActiveDate: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Unique ID of the membership. Stable across requests, so use it to update a
|
|
51
|
+
* member's row between pulls.
|
|
52
|
+
*/
|
|
53
|
+
membershipId: number;
|
|
54
|
+
/**
|
|
55
|
+
* When the member was added, or when the invite was sent.
|
|
56
|
+
*/
|
|
57
|
+
provisionedAt: string;
|
|
58
|
+
/**
|
|
59
|
+
* Role in the workspace. `non-generating-admin` is a Billing Admin.
|
|
60
|
+
*/
|
|
61
|
+
role: 'viewer' | 'editor' | 'admin' | 'non-generating-admin';
|
|
62
|
+
/**
|
|
63
|
+
* `active`: a member of the workspace. `invited`: invited, and the invite is not
|
|
64
|
+
* accepted yet. `deactivated`: no longer a member; `deactivationReason` says why.
|
|
65
|
+
*/
|
|
66
|
+
status: 'active' | 'invited' | 'deactivated';
|
|
67
|
+
/**
|
|
68
|
+
* ID of the member's Runway user. It doesn't change when their email does. `null`
|
|
69
|
+
* for an invite to an email with no Runway account yet.
|
|
70
|
+
*/
|
|
71
|
+
userId: number | null;
|
|
72
|
+
/**
|
|
73
|
+
* ID of the workspace.
|
|
74
|
+
*/
|
|
75
|
+
workspaceId: number;
|
|
76
|
+
/**
|
|
77
|
+
* Name of the workspace.
|
|
78
|
+
*/
|
|
79
|
+
workspaceName: string;
|
|
80
|
+
}
|
|
17
81
|
export interface WebappListUsageResponse {
|
|
18
82
|
/**
|
|
19
83
|
* Credits charged for this generation.
|
|
@@ -37,6 +101,19 @@ export interface WebappListUsageResponse {
|
|
|
37
101
|
* the generation no longer exists, or the type wasn't recorded.
|
|
38
102
|
*/
|
|
39
103
|
outputType: 'image' | 'video' | 'text' | 'file' | 'audio' | 'font' | 'model' | 'project' | 'mesh' | 'cloud' | 'splat' | null;
|
|
104
|
+
/**
|
|
105
|
+
* ID of the Runway web app project the generation was made in (not this API
|
|
106
|
+
* project). `null` when no project is recorded for it, which includes generations
|
|
107
|
+
* made outside a project, generations made before project tracking was rolled out
|
|
108
|
+
* (late May to mid-August 2026), and rows with a null `taskId`.
|
|
109
|
+
*/
|
|
110
|
+
projectId: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* Current name of that project, so it changes when the project is renamed (group
|
|
113
|
+
* by `projectId`). Still returned after the project is archived or deleted. `null`
|
|
114
|
+
* when `projectId` is null.
|
|
115
|
+
*/
|
|
116
|
+
projectName: string | null;
|
|
40
117
|
/**
|
|
41
118
|
* Current status of the generation when you request it, so it can change between
|
|
42
119
|
* pulls (upsert on `transactionId`). A refund row doesn't mean the generation
|
|
@@ -83,6 +160,20 @@ export interface WebappListUsageResponse {
|
|
|
83
160
|
*/
|
|
84
161
|
workspaceName: string;
|
|
85
162
|
}
|
|
163
|
+
export interface WebappListMembersParams extends CursorPageParams {
|
|
164
|
+
/**
|
|
165
|
+
* Organization to report on. Optional when this API project is linked to a single
|
|
166
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
167
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
168
|
+
* `details.organizations`.
|
|
169
|
+
*/
|
|
170
|
+
organizationId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Restrict results to these workspace IDs, as a comma-separated list of up to 50
|
|
173
|
+
* IDs. Defaults to every workspace you administer in the organization.
|
|
174
|
+
*/
|
|
175
|
+
workspaceIds?: string;
|
|
176
|
+
}
|
|
86
177
|
export interface WebappListUsageParams extends CursorPageParams {
|
|
87
178
|
/**
|
|
88
179
|
* Start of the time window (inclusive), ISO-8601 datetime or date. A date means
|
|
@@ -97,7 +188,9 @@ export interface WebappListUsageParams extends CursorPageParams {
|
|
|
97
188
|
to: (string & {}) | (string & {});
|
|
98
189
|
/**
|
|
99
190
|
* Organization to report on. Optional when this API project is linked to a single
|
|
100
|
-
* organization; required when it is linked to more than one.
|
|
191
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
192
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
193
|
+
* `details.organizations`.
|
|
101
194
|
*/
|
|
102
195
|
organizationId?: string;
|
|
103
196
|
/**
|
|
@@ -107,7 +200,7 @@ export interface WebappListUsageParams extends CursorPageParams {
|
|
|
107
200
|
workspaceIds?: string;
|
|
108
201
|
}
|
|
109
202
|
export declare namespace Webapp {
|
|
110
|
-
export { type WebappListUsageResponse as WebappListUsageResponse, type WebappListUsageResponsesCursorPage as WebappListUsageResponsesCursorPage, type WebappListUsageParams as WebappListUsageParams, };
|
|
203
|
+
export { type WebappListMembersResponse as WebappListMembersResponse, type WebappListUsageResponse as WebappListUsageResponse, type WebappListMembersResponsesCursorPage as WebappListMembersResponsesCursorPage, type WebappListUsageResponsesCursorPage as WebappListUsageResponsesCursorPage, type WebappListMembersParams as WebappListMembersParams, type WebappListUsageParams as WebappListUsageParams, };
|
|
111
204
|
export { AuditLogs as AuditLogs, type AuditLogRetrieveResponse as AuditLogRetrieveResponse, type AuditLogListResponse as AuditLogListResponse, type AuditLogListResponsesCursorPage as AuditLogListResponsesCursorPage, type AuditLogRetrieveParams as AuditLogRetrieveParams, type AuditLogListParams as AuditLogListParams, };
|
|
112
205
|
}
|
|
113
206
|
//# sourceMappingURL=webapp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webapp.d.ts","sourceRoot":"","sources":["../../../src/resources/organization/webapp/webapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,YAAY,wBAAqB;AAC7C,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,SAAS,EACV,wBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,oCAAi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B,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -12,6 +12,18 @@ class Webapp extends resource_1.APIResource {
|
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.auditLogs = new AuditLogsAPI.AuditLogs(this._client);
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* List the members of the linked Runway workspaces you administer, one row per
|
|
17
|
+
* member per workspace, including pending invites and members who were removed.
|
|
18
|
+
* Ordered by `membershipId`. Authorized via the account link between this API
|
|
19
|
+
* project and the workspace.
|
|
20
|
+
*/
|
|
21
|
+
listMembers(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/v1/organization/webapp/members', (pagination_1.CursorPage), {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
15
27
|
/**
|
|
16
28
|
* List per-generation credit-usage rows for the linked Runway workspaces you
|
|
17
29
|
* administer, newest first. Unlike `/v1/organization/usage` (this API project's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webapp.js","sourceRoot":"","sources":["../../../src/resources/organization/webapp/webapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,sEAA6C;AAC7C,gDAOsB;AACtB,4DAA0F;AAG1F,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"webapp.js","sourceRoot":"","sources":["../../../src/resources/organization/webapp/webapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,sEAA6C;AAC7C,gDAOsB;AACtB,4DAA0F;AAG1F,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC/E,CAAC;IA/BC;;;;;OAKG;IACH,WAAW,CACT,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iCAAiC,EAAE,CAAA,uBAAqC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,uBAAmC,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlCD,wBAkCC;AAoOD,MAAM,CAAC,SAAS,GAAG,sBAAS,CAAC"}
|
|
@@ -8,6 +8,18 @@ export class Webapp extends APIResource {
|
|
|
8
8
|
super(...arguments);
|
|
9
9
|
this.auditLogs = new AuditLogsAPI.AuditLogs(this._client);
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* List the members of the linked Runway workspaces you administer, one row per
|
|
13
|
+
* member per workspace, including pending invites and members who were removed.
|
|
14
|
+
* Ordered by `membershipId`. Authorized via the account link between this API
|
|
15
|
+
* project and the workspace.
|
|
16
|
+
*/
|
|
17
|
+
listMembers(query = {}, options) {
|
|
18
|
+
return this._client.getAPIList('/v1/organization/webapp/members', (CursorPage), {
|
|
19
|
+
query,
|
|
20
|
+
...options,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
11
23
|
/**
|
|
12
24
|
* List per-generation credit-usage rows for the linked Runway workspaces you
|
|
13
25
|
* administer, newest first. Unlike `/v1/organization/usage` (this API project's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webapp.mjs","sourceRoot":"","sources":["../../../src/resources/organization/webapp/webapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,EAML,SAAS,GACV,yBAAqB;AACtB,OAAO,EAAE,UAAU,EAAsC,qCAAiC;AAG1F,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"webapp.mjs","sourceRoot":"","sources":["../../../src/resources/organization/webapp/webapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,EAML,SAAS,GACV,yBAAqB;AACtB,OAAO,EAAE,UAAU,EAAsC,qCAAiC;AAG1F,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiC/E,CAAC;IA/BC;;;;;OAKG;IACH,WAAW,CACT,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iCAAiC,EAAE,CAAA,UAAqC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP,KAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,UAAmC,CAAA,EAAE;YACnG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAoOD,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
package/resources/routers.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class Routers extends APIResource {
|
|
|
21
21
|
* List Model Router configurations for the authenticated organization with
|
|
22
22
|
* cursor-based pagination.
|
|
23
23
|
*/
|
|
24
|
-
list(query
|
|
24
|
+
list(query?: RouterListParams | null | undefined, options?: RequestOptions): PagePromise<RouterListResponsesCursorPage, RouterListResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Delete a Model Router configuration. Deleted Model Routers cannot be used for
|
|
27
27
|
* generation.
|
|
@@ -31,7 +31,7 @@ export declare class Routers extends APIResource {
|
|
|
31
31
|
* Paginated routing history for live Model Router requests (successful routes and
|
|
32
32
|
* failures). Playground dry runs are not recorded.
|
|
33
33
|
*/
|
|
34
|
-
listRequests(id: string, query
|
|
34
|
+
listRequests(id: string, query?: RouterListRequestsParams | null | undefined, options?: RequestOptions): PagePromise<RouterListRequestsResponsesCursorPage, RouterListRequestsResponse>;
|
|
35
35
|
}
|
|
36
36
|
export type RouterListResponsesCursorPage = CursorPage<RouterListResponse>;
|
|
37
37
|
export type RouterListRequestsResponsesCursorPage = CursorPage<RouterListRequestsResponse>;
|
|
@@ -89,8 +89,8 @@ export declare namespace RouterCreateResponse {
|
|
|
89
89
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
90
90
|
/**
|
|
91
91
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
92
|
-
* the only allowed values. Each id must be a known public video
|
|
93
|
-
* name (unknown ids are rejected on create/update).
|
|
92
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
93
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
94
94
|
*/
|
|
95
95
|
models?: Settings.Models;
|
|
96
96
|
/**
|
|
@@ -119,12 +119,13 @@ export declare namespace RouterCreateResponse {
|
|
|
119
119
|
interface MaxCreditsPerGeneration {
|
|
120
120
|
audio?: number;
|
|
121
121
|
image?: number;
|
|
122
|
+
mesh?: number;
|
|
122
123
|
video?: number;
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
126
|
-
* the only allowed values. Each id must be a known public video
|
|
127
|
-
* name (unknown ids are rejected on create/update).
|
|
127
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
128
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
128
129
|
*/
|
|
129
130
|
interface Models {
|
|
130
131
|
ids: Array<string>;
|
|
@@ -186,8 +187,8 @@ export declare namespace RouterRetrieveResponse {
|
|
|
186
187
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
187
188
|
/**
|
|
188
189
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
189
|
-
* the only allowed values. Each id must be a known public video
|
|
190
|
-
* name (unknown ids are rejected on create/update).
|
|
190
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
191
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
191
192
|
*/
|
|
192
193
|
models?: Settings.Models;
|
|
193
194
|
/**
|
|
@@ -216,12 +217,13 @@ export declare namespace RouterRetrieveResponse {
|
|
|
216
217
|
interface MaxCreditsPerGeneration {
|
|
217
218
|
audio?: number;
|
|
218
219
|
image?: number;
|
|
220
|
+
mesh?: number;
|
|
219
221
|
video?: number;
|
|
220
222
|
}
|
|
221
223
|
/**
|
|
222
224
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
223
|
-
* the only allowed values. Each id must be a known public video
|
|
224
|
-
* name (unknown ids are rejected on create/update).
|
|
225
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
226
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
225
227
|
*/
|
|
226
228
|
interface Models {
|
|
227
229
|
ids: Array<string>;
|
|
@@ -283,8 +285,8 @@ export declare namespace RouterUpdateResponse {
|
|
|
283
285
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
284
286
|
/**
|
|
285
287
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
286
|
-
* the only allowed values. Each id must be a known public video
|
|
287
|
-
* name (unknown ids are rejected on create/update).
|
|
288
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
289
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
288
290
|
*/
|
|
289
291
|
models?: Settings.Models;
|
|
290
292
|
/**
|
|
@@ -313,12 +315,13 @@ export declare namespace RouterUpdateResponse {
|
|
|
313
315
|
interface MaxCreditsPerGeneration {
|
|
314
316
|
audio?: number;
|
|
315
317
|
image?: number;
|
|
318
|
+
mesh?: number;
|
|
316
319
|
video?: number;
|
|
317
320
|
}
|
|
318
321
|
/**
|
|
319
322
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
320
|
-
* the only allowed values. Each id must be a known public video
|
|
321
|
-
* name (unknown ids are rejected on create/update).
|
|
323
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
324
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
322
325
|
*/
|
|
323
326
|
interface Models {
|
|
324
327
|
ids: Array<string>;
|
|
@@ -383,8 +386,8 @@ export declare namespace RouterListResponse {
|
|
|
383
386
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
384
387
|
/**
|
|
385
388
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
386
|
-
* the only allowed values. Each id must be a known public video
|
|
387
|
-
* name (unknown ids are rejected on create/update).
|
|
389
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
390
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
388
391
|
*/
|
|
389
392
|
models?: Settings.Models;
|
|
390
393
|
/**
|
|
@@ -413,12 +416,13 @@ export declare namespace RouterListResponse {
|
|
|
413
416
|
interface MaxCreditsPerGeneration {
|
|
414
417
|
audio?: number;
|
|
415
418
|
image?: number;
|
|
419
|
+
mesh?: number;
|
|
416
420
|
video?: number;
|
|
417
421
|
}
|
|
418
422
|
/**
|
|
419
423
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
420
|
-
* the only allowed values. Each id must be a known public video
|
|
421
|
-
* name (unknown ids are rejected on create/update).
|
|
424
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
425
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
422
426
|
*/
|
|
423
427
|
interface Models {
|
|
424
428
|
ids: Array<string>;
|
|
@@ -545,8 +549,8 @@ export declare namespace RouterCreateParams {
|
|
|
545
549
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
546
550
|
/**
|
|
547
551
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
548
|
-
* the only allowed values. Each id must be a known public video
|
|
549
|
-
* name (unknown ids are rejected on create/update).
|
|
552
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
553
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
550
554
|
*/
|
|
551
555
|
models?: Settings.Models;
|
|
552
556
|
/**
|
|
@@ -580,12 +584,13 @@ export declare namespace RouterCreateParams {
|
|
|
580
584
|
interface MaxCreditsPerGeneration {
|
|
581
585
|
audio?: number;
|
|
582
586
|
image?: number;
|
|
587
|
+
mesh?: number;
|
|
583
588
|
video?: number;
|
|
584
589
|
}
|
|
585
590
|
/**
|
|
586
591
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
587
|
-
* the only allowed values. Each id must be a known public video
|
|
588
|
-
* name (unknown ids are rejected on create/update).
|
|
592
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
593
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
589
594
|
*/
|
|
590
595
|
interface Models {
|
|
591
596
|
ids: Array<string>;
|
|
@@ -629,8 +634,8 @@ export declare namespace RouterUpdateParams {
|
|
|
629
634
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration | null;
|
|
630
635
|
/**
|
|
631
636
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
632
|
-
* the only allowed values. Each id must be a known public video
|
|
633
|
-
* name (unknown ids are rejected on create/update).
|
|
637
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
638
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
634
639
|
*/
|
|
635
640
|
models?: Settings.Models;
|
|
636
641
|
/**
|
|
@@ -664,12 +669,13 @@ export declare namespace RouterUpdateParams {
|
|
|
664
669
|
interface MaxCreditsPerGeneration {
|
|
665
670
|
audio?: number | null;
|
|
666
671
|
image?: number | null;
|
|
672
|
+
mesh?: number | null;
|
|
667
673
|
video?: number | null;
|
|
668
674
|
}
|
|
669
675
|
/**
|
|
670
676
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
671
|
-
* the only allowed values. Each id must be a known public video
|
|
672
|
-
* name (unknown ids are rejected on create/update).
|
|
677
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
678
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
673
679
|
*/
|
|
674
680
|
interface Models {
|
|
675
681
|
ids: Array<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routers.d.mts","sourceRoot":"","sources":["../src/resources/routers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,+BAA2B;AAEpF,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;;OAIG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;OAGG;IACH,IA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EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
package/resources/routers.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class Routers extends APIResource {
|
|
|
21
21
|
* List Model Router configurations for the authenticated organization with
|
|
22
22
|
* cursor-based pagination.
|
|
23
23
|
*/
|
|
24
|
-
list(query
|
|
24
|
+
list(query?: RouterListParams | null | undefined, options?: RequestOptions): PagePromise<RouterListResponsesCursorPage, RouterListResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Delete a Model Router configuration. Deleted Model Routers cannot be used for
|
|
27
27
|
* generation.
|
|
@@ -31,7 +31,7 @@ export declare class Routers extends APIResource {
|
|
|
31
31
|
* Paginated routing history for live Model Router requests (successful routes and
|
|
32
32
|
* failures). Playground dry runs are not recorded.
|
|
33
33
|
*/
|
|
34
|
-
listRequests(id: string, query
|
|
34
|
+
listRequests(id: string, query?: RouterListRequestsParams | null | undefined, options?: RequestOptions): PagePromise<RouterListRequestsResponsesCursorPage, RouterListRequestsResponse>;
|
|
35
35
|
}
|
|
36
36
|
export type RouterListResponsesCursorPage = CursorPage<RouterListResponse>;
|
|
37
37
|
export type RouterListRequestsResponsesCursorPage = CursorPage<RouterListRequestsResponse>;
|
|
@@ -89,8 +89,8 @@ export declare namespace RouterCreateResponse {
|
|
|
89
89
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
90
90
|
/**
|
|
91
91
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
92
|
-
* the only allowed values. Each id must be a known public video
|
|
93
|
-
* name (unknown ids are rejected on create/update).
|
|
92
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
93
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
94
94
|
*/
|
|
95
95
|
models?: Settings.Models;
|
|
96
96
|
/**
|
|
@@ -119,12 +119,13 @@ export declare namespace RouterCreateResponse {
|
|
|
119
119
|
interface MaxCreditsPerGeneration {
|
|
120
120
|
audio?: number;
|
|
121
121
|
image?: number;
|
|
122
|
+
mesh?: number;
|
|
122
123
|
video?: number;
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
126
|
-
* the only allowed values. Each id must be a known public video
|
|
127
|
-
* name (unknown ids are rejected on create/update).
|
|
127
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
128
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
128
129
|
*/
|
|
129
130
|
interface Models {
|
|
130
131
|
ids: Array<string>;
|
|
@@ -186,8 +187,8 @@ export declare namespace RouterRetrieveResponse {
|
|
|
186
187
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
187
188
|
/**
|
|
188
189
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
189
|
-
* the only allowed values. Each id must be a known public video
|
|
190
|
-
* name (unknown ids are rejected on create/update).
|
|
190
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
191
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
191
192
|
*/
|
|
192
193
|
models?: Settings.Models;
|
|
193
194
|
/**
|
|
@@ -216,12 +217,13 @@ export declare namespace RouterRetrieveResponse {
|
|
|
216
217
|
interface MaxCreditsPerGeneration {
|
|
217
218
|
audio?: number;
|
|
218
219
|
image?: number;
|
|
220
|
+
mesh?: number;
|
|
219
221
|
video?: number;
|
|
220
222
|
}
|
|
221
223
|
/**
|
|
222
224
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
223
|
-
* the only allowed values. Each id must be a known public video
|
|
224
|
-
* name (unknown ids are rejected on create/update).
|
|
225
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
226
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
225
227
|
*/
|
|
226
228
|
interface Models {
|
|
227
229
|
ids: Array<string>;
|
|
@@ -283,8 +285,8 @@ export declare namespace RouterUpdateResponse {
|
|
|
283
285
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
284
286
|
/**
|
|
285
287
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
286
|
-
* the only allowed values. Each id must be a known public video
|
|
287
|
-
* name (unknown ids are rejected on create/update).
|
|
288
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
289
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
288
290
|
*/
|
|
289
291
|
models?: Settings.Models;
|
|
290
292
|
/**
|
|
@@ -313,12 +315,13 @@ export declare namespace RouterUpdateResponse {
|
|
|
313
315
|
interface MaxCreditsPerGeneration {
|
|
314
316
|
audio?: number;
|
|
315
317
|
image?: number;
|
|
318
|
+
mesh?: number;
|
|
316
319
|
video?: number;
|
|
317
320
|
}
|
|
318
321
|
/**
|
|
319
322
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
320
|
-
* the only allowed values. Each id must be a known public video
|
|
321
|
-
* name (unknown ids are rejected on create/update).
|
|
323
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
324
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
322
325
|
*/
|
|
323
326
|
interface Models {
|
|
324
327
|
ids: Array<string>;
|
|
@@ -383,8 +386,8 @@ export declare namespace RouterListResponse {
|
|
|
383
386
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
384
387
|
/**
|
|
385
388
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
386
|
-
* the only allowed values. Each id must be a known public video
|
|
387
|
-
* name (unknown ids are rejected on create/update).
|
|
389
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
390
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
388
391
|
*/
|
|
389
392
|
models?: Settings.Models;
|
|
390
393
|
/**
|
|
@@ -413,12 +416,13 @@ export declare namespace RouterListResponse {
|
|
|
413
416
|
interface MaxCreditsPerGeneration {
|
|
414
417
|
audio?: number;
|
|
415
418
|
image?: number;
|
|
419
|
+
mesh?: number;
|
|
416
420
|
video?: number;
|
|
417
421
|
}
|
|
418
422
|
/**
|
|
419
423
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
420
|
-
* the only allowed values. Each id must be a known public video
|
|
421
|
-
* name (unknown ids are rejected on create/update).
|
|
424
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
425
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
422
426
|
*/
|
|
423
427
|
interface Models {
|
|
424
428
|
ids: Array<string>;
|
|
@@ -545,8 +549,8 @@ export declare namespace RouterCreateParams {
|
|
|
545
549
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
546
550
|
/**
|
|
547
551
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
548
|
-
* the only allowed values. Each id must be a known public video
|
|
549
|
-
* name (unknown ids are rejected on create/update).
|
|
552
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
553
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
550
554
|
*/
|
|
551
555
|
models?: Settings.Models;
|
|
552
556
|
/**
|
|
@@ -580,12 +584,13 @@ export declare namespace RouterCreateParams {
|
|
|
580
584
|
interface MaxCreditsPerGeneration {
|
|
581
585
|
audio?: number;
|
|
582
586
|
image?: number;
|
|
587
|
+
mesh?: number;
|
|
583
588
|
video?: number;
|
|
584
589
|
}
|
|
585
590
|
/**
|
|
586
591
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
587
|
-
* the only allowed values. Each id must be a known public video
|
|
588
|
-
* name (unknown ids are rejected on create/update).
|
|
592
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
593
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
589
594
|
*/
|
|
590
595
|
interface Models {
|
|
591
596
|
ids: Array<string>;
|
|
@@ -629,8 +634,8 @@ export declare namespace RouterUpdateParams {
|
|
|
629
634
|
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration | null;
|
|
630
635
|
/**
|
|
631
636
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
632
|
-
* the only allowed values. Each id must be a known public video
|
|
633
|
-
* name (unknown ids are rejected on create/update).
|
|
637
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
638
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
634
639
|
*/
|
|
635
640
|
models?: Settings.Models;
|
|
636
641
|
/**
|
|
@@ -664,12 +669,13 @@ export declare namespace RouterUpdateParams {
|
|
|
664
669
|
interface MaxCreditsPerGeneration {
|
|
665
670
|
audio?: number | null;
|
|
666
671
|
image?: number | null;
|
|
672
|
+
mesh?: number | null;
|
|
667
673
|
video?: number | null;
|
|
668
674
|
}
|
|
669
675
|
/**
|
|
670
676
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
671
|
-
* the only allowed values. Each id must be a known public video
|
|
672
|
-
* name (unknown ids are rejected on create/update).
|
|
677
|
+
* the only allowed values. Each id must be a known public video, image, audio, or
|
|
678
|
+
* mesh model name (unknown ids are rejected on create/update).
|
|
673
679
|
*/
|
|
674
680
|
interface Models {
|
|
675
681
|
ids: Array<string>;
|