Skip to content

Commit

Permalink
Schema updates for landing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 24, 2024
1 parent dcc301e commit b735469
Showing 1 changed file with 231 additions and 0 deletions.
231 changes: 231 additions & 0 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4880,6 +4880,57 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/workflow_landings": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Create Landing */
post: operations["create_landing_api_workflow_landings_post"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/workflow_landings/{uuid}": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/** Get Landing */
get: operations["get_landing_api_workflow_landings__uuid__get"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/workflow_landings/{uuid}/claim": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/** Claim Landing */
post: operations["claim_landing_api_workflow_landings__uuid__claim_post"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/workflows": {
parameters: {
query?: never;
Expand Down Expand Up @@ -6270,6 +6321,11 @@ export interface components {
*/
type: string;
};
/** ClaimLandingPayload */
ClaimLandingPayload: {
/** Client Secret */
client_secret?: string | null;
};
/** CleanableItemsSummary */
CleanableItemsSummary: {
/**
Expand Down Expand Up @@ -6915,6 +6971,20 @@ export interface components {
*/
url: string;
};
/** CreateWorkflowLandingRequestPayload */
CreateWorkflowLandingRequestPayload: {
/** Client Secret */
client_secret?: string | null;
/** Request State */
request_state?: Record<string, never> | null;
/** Workflow Id */
workflow_id: string;
/**
* Workflow Target Type
* @enum {string}
*/
workflow_target_type: "stored_workflow" | "workflow";
};
/** CreatedEntryResponse */
CreatedEntryResponse: {
/**
Expand Down Expand Up @@ -12797,6 +12867,11 @@ export interface components {
*/
value: string;
};
/**
* LandingRequestState
* @enum {string}
*/
LandingRequestState: "unclaimed" | "claimed";
/** LegacyLibraryPermissionsPayload */
LegacyLibraryPermissionsPayload: {
/**
Expand Down Expand Up @@ -17448,6 +17523,25 @@ export interface components {
[key: string]: number;
};
};
/** WorkflowLandingRequest */
WorkflowLandingRequest: {
/** Request State */
request_state: Record<string, never>;
state: components["schemas"]["LandingRequestState"];
/**
* UUID
* Format: uuid4
* @description Universal unique identifier for this dataset.
*/
uuid: string;
/** Workflow Id */
workflow_id: string;
/**
* Workflow Target Type
* @enum {string}
*/
workflow_target_type: "stored_workflow" | "workflow";
};
/** WriteInvocationStoreToPayload */
WriteInvocationStoreToPayload: {
/**
Expand Down Expand Up @@ -33169,6 +33263,143 @@ export interface operations {
};
};
};
create_landing_api_workflow_landings_post: {
parameters: {
query?: never;
header?: {
/** @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. */
"run-as"?: string | null;
};
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["CreateWorkflowLandingRequestPayload"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["WorkflowLandingRequest"];
};
};
/** @description Request Error */
"4XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
/** @description Server Error */
"5XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
};
};
get_landing_api_workflow_landings__uuid__get: {
parameters: {
query?: never;
header?: {
/** @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. */
"run-as"?: string | null;
};
path: {
/** @description The UUID used to identify a persisted landing request. */
uuid: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["WorkflowLandingRequest"];
};
};
/** @description Request Error */
"4XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
/** @description Server Error */
"5XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
};
};
claim_landing_api_workflow_landings__uuid__claim_post: {
parameters: {
query?: never;
header?: {
/** @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. */
"run-as"?: string | null;
};
path: {
/** @description The UUID used to identify a persisted landing request. */
uuid: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["ClaimLandingPayload"] | null;
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["WorkflowLandingRequest"];
};
};
/** @description Request Error */
"4XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
/** @description Server Error */
"5XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
};
};
index_api_workflows_get: {
parameters: {
query?: {
Expand Down

0 comments on commit b735469

Please sign in to comment.