Skip to content

Commit c656e76

Browse files
committed
Rebuild schema for fetch workbook APIs.
1 parent 964d06b commit c656e76

File tree

1 file changed

+228
-0
lines changed

1 file changed

+228
-0
lines changed

client/src/api/schema/schema.ts

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4609,6 +4609,40 @@ export interface paths {
46094609
patch?: never;
46104610
trace?: never;
46114611
};
4612+
"/api/tools/fetch/workbook": {
4613+
parameters: {
4614+
query?: never;
4615+
header?: never;
4616+
path?: never;
4617+
cookie?: never;
4618+
};
4619+
/** Generate a template workbook to use with the activity builder UI */
4620+
get: operations["tools__fetch_workbook_download"];
4621+
put?: never;
4622+
post?: never;
4623+
delete?: never;
4624+
options?: never;
4625+
head?: never;
4626+
patch?: never;
4627+
trace?: never;
4628+
};
4629+
"/api/tools/fetch/workbook/parse": {
4630+
parameters: {
4631+
query?: never;
4632+
header?: never;
4633+
path?: never;
4634+
cookie?: never;
4635+
};
4636+
get?: never;
4637+
put?: never;
4638+
/** Generate a template workbook to use with the activity builder UI */
4639+
post: operations["tools__fetch_workbook_parse"];
4640+
delete?: never;
4641+
options?: never;
4642+
head?: never;
4643+
patch?: never;
4644+
trace?: never;
4645+
};
46124646
"/api/tools/{tool_id}/icon": {
46134647
parameters: {
46144648
query?: never;
@@ -10763,6 +10797,24 @@ export interface components {
1076310797
*/
1076410798
sorting: boolean;
1076510799
};
10800+
/** FillIdentifiers */
10801+
FillIdentifiers: {
10802+
/**
10803+
* Deduplication Index From
10804+
* @default 1
10805+
*/
10806+
deduplication_index_from: number;
10807+
/**
10808+
* Deduplication Pattern
10809+
* @default _{#}
10810+
*/
10811+
deduplication_pattern: string;
10812+
/**
10813+
* Fill Inner List Identifiers
10814+
* @default false
10815+
*/
10816+
fill_inner_list_identifiers: boolean;
10817+
};
1076610818
/** FillStepDefaultsAction */
1076710819
FillStepDefaultsAction: {
1076810820
/**
@@ -16868,6 +16920,89 @@ export interface components {
1686816920
* @default []
1686916921
*/
1687016922
PageSummaryList: components["schemas"]["PageSummary"][];
16923+
/** ParseFetchWorkbook */
16924+
ParseFetchWorkbook: {
16925+
/**
16926+
* Workbook Content (Base 64 encoded)
16927+
* @description The workbook content (the contents of the xlsx file) that have been base64 encoded.
16928+
*/
16929+
content: string;
16930+
fill_identifiers?: components["schemas"]["FillIdentifiers"] | null;
16931+
};
16932+
/** ParseLogEntry */
16933+
ParseLogEntry: {
16934+
/** Message */
16935+
message: string;
16936+
};
16937+
/** ParsedColumn */
16938+
ParsedColumn: {
16939+
/** Title */
16940+
title: string;
16941+
/**
16942+
* Type
16943+
* @enum {string}
16944+
*/
16945+
type:
16946+
| "list_identifiers"
16947+
| "paired_identifier"
16948+
| "paired_or_unpaired_identifier"
16949+
| "collection_name"
16950+
| "name_tag"
16951+
| "tags"
16952+
| "group_tags"
16953+
| "name"
16954+
| "dbkey"
16955+
| "hash_sha1"
16956+
| "hash_md5"
16957+
| "hash_sha256"
16958+
| "hash_sha512"
16959+
| "file_type"
16960+
| "url"
16961+
| "url_deferred"
16962+
| "info"
16963+
| "ftp_path";
16964+
/** Type Index */
16965+
type_index: number;
16966+
};
16967+
/** ParsedFetchWorkbookForCollections */
16968+
ParsedFetchWorkbookForCollections: {
16969+
/**
16970+
* Collection Type
16971+
* @enum {string}
16972+
*/
16973+
collection_type: "list" | "list:paired" | "list:list" | "list:list:paired" | "list:paired_or_unpaired";
16974+
/** Columns */
16975+
columns: components["schemas"]["ParsedColumn"][];
16976+
/** Parse Log */
16977+
parse_log: components["schemas"]["ParseLogEntry"][];
16978+
/** Rows */
16979+
rows: {
16980+
[key: string]: string | null;
16981+
}[];
16982+
/**
16983+
* Workbook Type
16984+
* @default collection
16985+
* @enum {string}
16986+
*/
16987+
workbook_type: "datasets" | "collection" | "collections";
16988+
};
16989+
/** ParsedFetchWorkbookForDatasets */
16990+
ParsedFetchWorkbookForDatasets: {
16991+
/** Columns */
16992+
columns: components["schemas"]["ParsedColumn"][];
16993+
/** Parse Log */
16994+
parse_log: components["schemas"]["ParseLogEntry"][];
16995+
/** Rows */
16996+
rows: {
16997+
[key: string]: string | null;
16998+
}[];
16999+
/**
17000+
* Workbook Type
17001+
* @default datasets
17002+
* @enum {string}
17003+
*/
17004+
workbook_type: "datasets" | "collection" | "collections";
17005+
};
1687117006
/** PastedDataElement */
1687217007
PastedDataElement: {
1687317008
/** Md5 */
@@ -36359,6 +36494,99 @@ export interface operations {
3635936494
};
3636036495
};
3636136496
};
36497+
tools__fetch_workbook_download: {
36498+
parameters: {
36499+
query?: {
36500+
/** @description Generate a workbook for simple datasets or a collection. */
36501+
type?: "datasets" | "collection" | "collections";
36502+
/** @description Generate workbook for specified collection type (not all collection types are supported) */
36503+
collection_type?: "list" | "list:paired" | "list:list" | "list:list:paired" | "list:paired_or_unpaired";
36504+
/** @description Filename of the workbook download to generate */
36505+
filename?: string | null;
36506+
};
36507+
header?: {
36508+
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
36509+
"run-as"?: string | null;
36510+
};
36511+
path?: never;
36512+
cookie?: never;
36513+
};
36514+
requestBody?: never;
36515+
responses: {
36516+
/** @description Successful Response */
36517+
200: {
36518+
headers: {
36519+
[name: string]: unknown;
36520+
};
36521+
content?: never;
36522+
};
36523+
/** @description Request Error */
36524+
"4XX": {
36525+
headers: {
36526+
[name: string]: unknown;
36527+
};
36528+
content: {
36529+
"application/json": components["schemas"]["MessageExceptionModel"];
36530+
};
36531+
};
36532+
/** @description Server Error */
36533+
"5XX": {
36534+
headers: {
36535+
[name: string]: unknown;
36536+
};
36537+
content: {
36538+
"application/json": components["schemas"]["MessageExceptionModel"];
36539+
};
36540+
};
36541+
};
36542+
};
36543+
tools__fetch_workbook_parse: {
36544+
parameters: {
36545+
query?: never;
36546+
header?: {
36547+
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
36548+
"run-as"?: string | null;
36549+
};
36550+
path?: never;
36551+
cookie?: never;
36552+
};
36553+
requestBody: {
36554+
content: {
36555+
"application/json": components["schemas"]["ParseFetchWorkbook"];
36556+
};
36557+
};
36558+
responses: {
36559+
/** @description Successful Response */
36560+
200: {
36561+
headers: {
36562+
[name: string]: unknown;
36563+
};
36564+
content: {
36565+
"application/json":
36566+
| components["schemas"]["ParsedFetchWorkbookForDatasets"]
36567+
| components["schemas"]["ParsedFetchWorkbookForCollections"];
36568+
};
36569+
};
36570+
/** @description Request Error */
36571+
"4XX": {
36572+
headers: {
36573+
[name: string]: unknown;
36574+
};
36575+
content: {
36576+
"application/json": components["schemas"]["MessageExceptionModel"];
36577+
};
36578+
};
36579+
/** @description Server Error */
36580+
"5XX": {
36581+
headers: {
36582+
[name: string]: unknown;
36583+
};
36584+
content: {
36585+
"application/json": components["schemas"]["MessageExceptionModel"];
36586+
};
36587+
};
36588+
};
36589+
};
3636236590
get_icon_api_tools__tool_id__icon_get: {
3636336591
parameters: {
3636436592
query?: never;

0 commit comments

Comments
 (0)