Skip to content

Commit b9417fe

Browse files
feat(api): api update
1 parent 2952d9e commit b9417fe

File tree

4 files changed

+571
-1
lines changed

4 files changed

+571
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 18
2-
openapi_spec_hash: 153617b7252b1b12f21043b2a1246f8b
2+
openapi_spec_hash: 8cd3908ccce472dcb5480c14b290b460
33
config_hash: 6dcf08c4324405f152d1da9fc11ab04a

src/resources/inference-pipelines/inference-pipelines.ts

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,27 @@ export interface InferencePipelineRetrieveResponse {
146146
*/
147147
totalGoalCount: number;
148148

149+
dataBackend?:
150+
| InferencePipelineRetrieveResponse.UnionMember0
151+
| InferencePipelineRetrieveResponse.BackendType
152+
| InferencePipelineRetrieveResponse.UnionMember2
153+
| InferencePipelineRetrieveResponse.UnionMember3
154+
| InferencePipelineRetrieveResponse.UnionMember4
155+
| InferencePipelineRetrieveResponse.UnionMember5
156+
| null;
157+
158+
/**
159+
* The last time the data was polled.
160+
*/
161+
dateLastPolled?: string | null;
162+
149163
project?: InferencePipelineRetrieveResponse.Project | null;
150164

165+
/**
166+
* The total number of records in the data backend.
167+
*/
168+
totalRecordsCount?: number | null;
169+
151170
workspace?: InferencePipelineRetrieveResponse.Workspace | null;
152171

153172
/**
@@ -161,6 +180,66 @@ export namespace InferencePipelineRetrieveResponse {
161180
app: string;
162181
}
163182

183+
export interface UnionMember0 {
184+
backendType: 'bigquery';
185+
186+
bigqueryConnectionId: string | null;
187+
188+
datasetId: string;
189+
190+
projectId: string;
191+
192+
tableId: string | null;
193+
194+
partitionType?: 'DAY' | 'MONTH' | 'YEAR' | null;
195+
}
196+
197+
export interface BackendType {
198+
backendType: 'default';
199+
}
200+
201+
export interface UnionMember2 {
202+
backendType: 'snowflake';
203+
204+
database: string;
205+
206+
schema: string;
207+
208+
snowflakeConnectionId: string | null;
209+
210+
table: string | null;
211+
}
212+
213+
export interface UnionMember3 {
214+
backendType: 'databricks_dtl';
215+
216+
databricksDtlConnectionId: string | null;
217+
218+
tableId: string | null;
219+
}
220+
221+
export interface UnionMember4 {
222+
backendType: 'redshift';
223+
224+
redshiftConnectionId: string | null;
225+
226+
schemaName: string;
227+
228+
tableName: string;
229+
}
230+
231+
export interface UnionMember5 {
232+
backendType: 'postgres';
233+
234+
database: string;
235+
236+
postgresConnectionId: string | null;
237+
238+
schema: string;
239+
240+
table: string | null;
241+
}
242+
164243
export interface Project {
165244
/**
166245
* The project id.
@@ -435,8 +514,27 @@ export interface InferencePipelineUpdateResponse {
435514
*/
436515
totalGoalCount: number;
437516

517+
dataBackend?:
518+
| InferencePipelineUpdateResponse.UnionMember0
519+
| InferencePipelineUpdateResponse.BackendType
520+
| InferencePipelineUpdateResponse.UnionMember2
521+
| InferencePipelineUpdateResponse.UnionMember3
522+
| InferencePipelineUpdateResponse.UnionMember4
523+
| InferencePipelineUpdateResponse.UnionMember5
524+
| null;
525+
526+
/**
527+
* The last time the data was polled.
528+
*/
529+
dateLastPolled?: string | null;
530+
438531
project?: InferencePipelineUpdateResponse.Project | null;
439532

533+
/**
534+
* The total number of records in the data backend.
535+
*/
536+
totalRecordsCount?: number | null;
537+
440538
workspace?: InferencePipelineUpdateResponse.Workspace | null;
441539

442540
/**
@@ -450,6 +548,66 @@ export namespace InferencePipelineUpdateResponse {
450548
app: string;
451549
}
452550

551+
export interface UnionMember0 {
552+
backendType: 'bigquery';
553+
554+
bigqueryConnectionId: string | null;
555+
556+
datasetId: string;
557+
558+
projectId: string;
559+
560+
tableId: string | null;
561+
562+
partitionType?: 'DAY' | 'MONTH' | 'YEAR' | null;
563+
}
564+
565+
export interface BackendType {
566+
backendType: 'default';
567+
}
568+
569+
export interface UnionMember2 {
570+
backendType: 'snowflake';
571+
572+
database: string;
573+
574+
schema: string;
575+
576+
snowflakeConnectionId: string | null;
577+
578+
table: string | null;
579+
}
580+
581+
export interface UnionMember3 {
582+
backendType: 'databricks_dtl';
583+
584+
databricksDtlConnectionId: string | null;
585+
586+
tableId: string | null;
587+
}
588+
589+
export interface UnionMember4 {
590+
backendType: 'redshift';
591+
592+
redshiftConnectionId: string | null;
593+
594+
schemaName: string;
595+
596+
tableName: string;
597+
}
598+
599+
export interface UnionMember5 {
600+
backendType: 'postgres';
601+
602+
database: string;
603+
604+
postgresConnectionId: string | null;
605+
606+
schema: string;
607+
608+
table: string | null;
609+
}
610+
453611
export interface Project {
454612
/**
455613
* The project id.

0 commit comments

Comments
 (0)