@globus/sdk 6.3.1-canary.9.5437474 → 6.4.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/README.md +5 -4
- package/dist/cjs/core/authorization/index.js +1 -1
- package/dist/cjs/core/authorization/index.js.map +1 -1
- package/dist/cjs/core/info/index.js +1 -1
- package/dist/cjs/core/info/index.js.map +1 -1
- package/dist/cjs/index.js +143 -59
- package/dist/cjs/index.js.map +4 -4
- package/dist/cjs/services/globus-connect-server/client.js +1 -1
- package/dist/cjs/services/globus-connect-server/client.js.map +1 -1
- package/dist/esm/core/info/version.d.ts +1 -1
- package/dist/esm/core/info/version.js +1 -1
- package/dist/esm/open-api/types/compute.d.ts +372 -394
- package/dist/esm/open-api/types/compute.d.ts.map +1 -1
- package/dist/esm/open-api/types/flows.d.ts +461 -50
- package/dist/esm/open-api/types/flows.d.ts.map +1 -1
- package/dist/esm/open-api/types/search.d.ts +157 -10
- package/dist/esm/open-api/types/search.d.ts.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/services/compute/service/endpoints.d.ts +19 -15
- package/dist/esm/services/compute/service/endpoints.d.ts.map +1 -1
- package/dist/esm/services/flows/config.d.ts +2 -0
- package/dist/esm/services/flows/config.d.ts.map +1 -1
- package/dist/esm/services/flows/config.js +2 -0
- package/dist/esm/services/flows/config.js.map +1 -1
- package/dist/esm/services/flows/index.d.ts +1 -0
- package/dist/esm/services/flows/index.d.ts.map +1 -1
- package/dist/esm/services/flows/index.js +1 -0
- package/dist/esm/services/flows/index.js.map +1 -1
- package/dist/esm/services/flows/service/flows.d.ts +1 -0
- package/dist/esm/services/flows/service/flows.d.ts.map +1 -1
- package/dist/esm/services/flows/service/runs.d.ts +4 -0
- package/dist/esm/services/flows/service/runs.d.ts.map +1 -1
- package/dist/esm/services/flows/service/web-inputs.d.ts +63 -0
- package/dist/esm/services/flows/service/web-inputs.d.ts.map +1 -0
- package/dist/esm/services/flows/service/web-inputs.js +54 -0
- package/dist/esm/services/flows/service/web-inputs.js.map +1 -0
- package/dist/esm/services/search/service/task.d.ts.map +1 -1
- package/dist/esm/services/transfer/index.d.ts +1 -0
- package/dist/esm/services/transfer/index.d.ts.map +1 -1
- package/dist/esm/services/transfer/index.js.map +1 -1
- package/dist/esm/services/transfer/service/tunnel.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/tunnel.js +26 -6
- package/dist/esm/services/transfer/service/tunnel.js.map +1 -1
- package/dist/umd/globus.production.js +2 -2
- package/dist/umd/globus.production.js.map +4 -4
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ export interface paths {
|
|
|
7
7
|
cookie?: never;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* List Flows
|
|
11
11
|
* @description Query the Flows service for a listing of Flows available to a user
|
|
12
12
|
* according to the permissions (role) they have on the Flow.
|
|
13
13
|
*/
|
|
@@ -179,8 +179,8 @@ export interface paths {
|
|
|
179
179
|
};
|
|
180
180
|
put?: never;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @description
|
|
182
|
+
* Create a Flow
|
|
183
|
+
* @description Create a Flow and its schema.
|
|
184
184
|
*/
|
|
185
185
|
post: {
|
|
186
186
|
parameters: {
|
|
@@ -256,10 +256,7 @@ export interface paths {
|
|
|
256
256
|
};
|
|
257
257
|
};
|
|
258
258
|
responses: {
|
|
259
|
-
/**
|
|
260
|
-
* @description The Flow definition was successfully deployed onto the Flows
|
|
261
|
-
* service.
|
|
262
|
-
*/
|
|
259
|
+
/** @description The Flow was successfully created. */
|
|
263
260
|
201: {
|
|
264
261
|
headers: {
|
|
265
262
|
[name: string]: unknown;
|
|
@@ -268,14 +265,14 @@ export interface paths {
|
|
|
268
265
|
"application/json": components["schemas"]["FlowResponse"];
|
|
269
266
|
};
|
|
270
267
|
};
|
|
271
|
-
/** @description The requestor attempted to
|
|
268
|
+
/** @description The requestor attempted to create a malformed Flow. */
|
|
272
269
|
400: {
|
|
273
270
|
headers: {
|
|
274
271
|
[name: string]: unknown;
|
|
275
272
|
};
|
|
276
273
|
content?: never;
|
|
277
274
|
};
|
|
278
|
-
/** @description The requestor is not authorized to
|
|
275
|
+
/** @description The requestor is not authorized to create a Flow. */
|
|
279
276
|
403: {
|
|
280
277
|
headers: {
|
|
281
278
|
[name: string]: unknown;
|
|
@@ -300,7 +297,7 @@ export interface paths {
|
|
|
300
297
|
get?: never;
|
|
301
298
|
put?: never;
|
|
302
299
|
/**
|
|
303
|
-
* Validate a
|
|
300
|
+
* Validate a Flow
|
|
304
301
|
* @description Validate a flow definition and its schema.
|
|
305
302
|
*/
|
|
306
303
|
post: {
|
|
@@ -378,8 +375,8 @@ export interface paths {
|
|
|
378
375
|
cookie?: never;
|
|
379
376
|
};
|
|
380
377
|
/**
|
|
381
|
-
*
|
|
382
|
-
* @description Get
|
|
378
|
+
* Get a Flow by ID
|
|
379
|
+
* @description Get an existing Flow.
|
|
383
380
|
*/
|
|
384
381
|
get: {
|
|
385
382
|
parameters: {
|
|
@@ -429,7 +426,7 @@ export interface paths {
|
|
|
429
426
|
};
|
|
430
427
|
/**
|
|
431
428
|
* Update a Flow
|
|
432
|
-
* @description Update
|
|
429
|
+
* @description Update an existing Flow.
|
|
433
430
|
*/
|
|
434
431
|
put: {
|
|
435
432
|
parameters: {
|
|
@@ -505,10 +502,7 @@ export interface paths {
|
|
|
505
502
|
};
|
|
506
503
|
};
|
|
507
504
|
responses: {
|
|
508
|
-
/**
|
|
509
|
-
* @description The requestor has successfully authenticated and updated the target
|
|
510
|
-
* Flow definition.
|
|
511
|
-
*/
|
|
505
|
+
/** @description The Flow was successfully updated. */
|
|
512
506
|
200: {
|
|
513
507
|
headers: {
|
|
514
508
|
[name: string]: unknown;
|
|
@@ -517,31 +511,22 @@ export interface paths {
|
|
|
517
511
|
"application/json": components["schemas"]["FlowResponse"];
|
|
518
512
|
};
|
|
519
513
|
};
|
|
520
|
-
/**
|
|
521
|
-
|
|
522
|
-
* malformed update.
|
|
523
|
-
*/
|
|
524
|
-
400: {
|
|
514
|
+
/** @description The requestor does not have access to update the Flow. */
|
|
515
|
+
403: {
|
|
525
516
|
headers: {
|
|
526
517
|
[name: string]: unknown;
|
|
527
518
|
};
|
|
528
519
|
content?: never;
|
|
529
520
|
};
|
|
530
|
-
/**
|
|
531
|
-
|
|
532
|
-
* access.
|
|
533
|
-
*/
|
|
534
|
-
403: {
|
|
521
|
+
/** @description The specified Flow does not exist. */
|
|
522
|
+
404: {
|
|
535
523
|
headers: {
|
|
536
524
|
[name: string]: unknown;
|
|
537
525
|
};
|
|
538
526
|
content?: never;
|
|
539
527
|
};
|
|
540
|
-
/**
|
|
541
|
-
|
|
542
|
-
* requestor did not have permissions to update a Flow.
|
|
543
|
-
*/
|
|
544
|
-
404: {
|
|
528
|
+
/** @description The Flow update failed due to a malformed request. */
|
|
529
|
+
422: {
|
|
545
530
|
headers: {
|
|
546
531
|
[name: string]: unknown;
|
|
547
532
|
};
|
|
@@ -551,8 +536,8 @@ export interface paths {
|
|
|
551
536
|
};
|
|
552
537
|
post?: never;
|
|
553
538
|
/**
|
|
554
|
-
*
|
|
555
|
-
* @description
|
|
539
|
+
* Delete a Flow
|
|
540
|
+
* @description Delete an existing Flow.
|
|
556
541
|
*/
|
|
557
542
|
delete: {
|
|
558
543
|
parameters: {
|
|
@@ -566,10 +551,7 @@ export interface paths {
|
|
|
566
551
|
};
|
|
567
552
|
requestBody?: never;
|
|
568
553
|
responses: {
|
|
569
|
-
/**
|
|
570
|
-
* @description The requestor has successfully removed the Flow from the Flows
|
|
571
|
-
* service.
|
|
572
|
-
*/
|
|
554
|
+
/** @description The Flow was successfully deleted. */
|
|
573
555
|
200: {
|
|
574
556
|
headers: {
|
|
575
557
|
[name: string]: unknown;
|
|
@@ -578,10 +560,7 @@ export interface paths {
|
|
|
578
560
|
"application/json": components["schemas"]["FlowResponse"];
|
|
579
561
|
};
|
|
580
562
|
};
|
|
581
|
-
/**
|
|
582
|
-
* @description The requestor attempted to modify a Flow for which they did not have
|
|
583
|
-
* access.
|
|
584
|
-
*/
|
|
563
|
+
/** @description The requestor does not have access to delete the Flow. */
|
|
585
564
|
403: {
|
|
586
565
|
headers: {
|
|
587
566
|
[name: string]: unknown;
|
|
@@ -589,8 +568,8 @@ export interface paths {
|
|
|
589
568
|
content?: never;
|
|
590
569
|
};
|
|
591
570
|
/**
|
|
592
|
-
* @description The
|
|
593
|
-
* requestor
|
|
571
|
+
* @description The specified Flow does not exist,
|
|
572
|
+
* or the requestor does not have permissions to delete the Flow.
|
|
594
573
|
*/
|
|
595
574
|
404: {
|
|
596
575
|
headers: {
|
|
@@ -644,7 +623,7 @@ export interface paths {
|
|
|
644
623
|
};
|
|
645
624
|
};
|
|
646
625
|
responses: {
|
|
647
|
-
/** @description The
|
|
626
|
+
/** @description The Flow was successfully started. */
|
|
648
627
|
201: {
|
|
649
628
|
headers: {
|
|
650
629
|
[name: string]: unknown;
|
|
@@ -726,7 +705,7 @@ export interface paths {
|
|
|
726
705
|
get?: never;
|
|
727
706
|
put?: never;
|
|
728
707
|
/**
|
|
729
|
-
* Validate a
|
|
708
|
+
* Validate a Run
|
|
730
709
|
* @description Validate that a run input body will pass the target flow's input schema validation (if any),
|
|
731
710
|
* that run metadata will meet the Flows service's metadata constraints,
|
|
732
711
|
* and that known scope requirements are met by the user's or client's Globus Auth token.
|
|
@@ -1335,7 +1314,7 @@ export interface paths {
|
|
|
1335
1314
|
cookie?: never;
|
|
1336
1315
|
};
|
|
1337
1316
|
/**
|
|
1338
|
-
*
|
|
1317
|
+
* List a Flow's Runs
|
|
1339
1318
|
* @description Retrieve a listing of Runs launched from a particular Flow. If hitting
|
|
1340
1319
|
* the *\/actions endpoint, the response will list the Runs under a
|
|
1341
1320
|
* "actions" key. If hitting the *\/runs endpoint, the response will list
|
|
@@ -1534,7 +1513,7 @@ export interface paths {
|
|
|
1534
1513
|
cookie?: never;
|
|
1535
1514
|
};
|
|
1536
1515
|
/**
|
|
1537
|
-
* List
|
|
1516
|
+
* List Runs
|
|
1538
1517
|
* @description Retrieve a listing of Actions/Runs launched across all Flows. If hitting
|
|
1539
1518
|
* the *\/actions endpoint, the response will list the Runs under a
|
|
1540
1519
|
* "actions" key. If hitting the *\/runs endpoint, the response will list
|
|
@@ -1798,7 +1777,7 @@ export interface paths {
|
|
|
1798
1777
|
};
|
|
1799
1778
|
};
|
|
1800
1779
|
/**
|
|
1801
|
-
* Update a Run
|
|
1780
|
+
* Update a Run
|
|
1802
1781
|
* @description Modify a Run's metadata.
|
|
1803
1782
|
*
|
|
1804
1783
|
* By default only the Run initiator is able to modify a Run's metadata.
|
|
@@ -1954,7 +1933,7 @@ export interface paths {
|
|
|
1954
1933
|
};
|
|
1955
1934
|
get?: never;
|
|
1956
1935
|
put?: never;
|
|
1957
|
-
/** Update metadata for multiple Runs
|
|
1936
|
+
/** Update metadata for multiple Runs */
|
|
1958
1937
|
post: {
|
|
1959
1938
|
parameters: {
|
|
1960
1939
|
query?: never;
|
|
@@ -2437,6 +2416,258 @@ export interface paths {
|
|
|
2437
2416
|
};
|
|
2438
2417
|
trace?: never;
|
|
2439
2418
|
};
|
|
2419
|
+
"/web_inputs": {
|
|
2420
|
+
parameters: {
|
|
2421
|
+
query?: never;
|
|
2422
|
+
header?: never;
|
|
2423
|
+
path?: never;
|
|
2424
|
+
cookie?: never;
|
|
2425
|
+
};
|
|
2426
|
+
/**
|
|
2427
|
+
* List Web Inputs
|
|
2428
|
+
* @description Retrieve a listing of Web Inputs available to a user based on their viewer or respondent role on each Web Input.
|
|
2429
|
+
*/
|
|
2430
|
+
get: {
|
|
2431
|
+
parameters: {
|
|
2432
|
+
query?: {
|
|
2433
|
+
/** @description An opaque token used to iterate through pages of returned Web Inputs. If provided, all other query arguments will be ignored. The marker encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial marker has been received. */
|
|
2434
|
+
marker?: string;
|
|
2435
|
+
/** @description The number of results to return in a single paged response. */
|
|
2436
|
+
per_page?: number;
|
|
2437
|
+
/** @description Return Web Inputs for which the user has one of the supplied roles. If multiple roles are specified (comma-separated), the user will have at least one of the specified roles on each Web Input returned. If not provided, Web Inputs for which the caller has either "viewer" or "respondent" role will be returned. */
|
|
2438
|
+
filter_roles?: ("viewer" | "respondent")[];
|
|
2439
|
+
/** @description Return Web Inputs that are in one of the supplied states. If multiple states are specified (comma-separated), Web Inputs in any of those states will be returned. If not provided, only "open" Web Inputs will be returned. */
|
|
2440
|
+
filter_states?: ("open" | "closed")[];
|
|
2441
|
+
/** @description Return only Web Inputs associated with the specified Flow IDs. Multiple IDs can be specified (comma-separated), up to a maximum of 10. */
|
|
2442
|
+
filter_flow_ids?: string[];
|
|
2443
|
+
/** @description Return only Web Inputs associated with the specified Run IDs. Multiple IDs can be specified (comma-separated), up to a maximum of 10. */
|
|
2444
|
+
filter_run_ids?: string[];
|
|
2445
|
+
/**
|
|
2446
|
+
* @description Ordering criteria to apply to the list of Web Inputs.
|
|
2447
|
+
*
|
|
2448
|
+
* This field is a comma-separated list of sort criteria,
|
|
2449
|
+
* and follows this syntax:
|
|
2450
|
+
*
|
|
2451
|
+
* ```
|
|
2452
|
+
* CRITERION1[,CRITERION2[,...]]
|
|
2453
|
+
* ```
|
|
2454
|
+
*
|
|
2455
|
+
* and each individual `CRITERION` follows this syntax:
|
|
2456
|
+
*
|
|
2457
|
+
* ```
|
|
2458
|
+
* FIELD ORDERING
|
|
2459
|
+
* ```
|
|
2460
|
+
*
|
|
2461
|
+
* The first value, `FIELD`, indicates the field to sort by;
|
|
2462
|
+
* the second value, `ORDERING`, indicates the sorting order.
|
|
2463
|
+
*
|
|
2464
|
+
* When additional comma-separated criteria are added,
|
|
2465
|
+
* the first criterion will be used to sort the data;
|
|
2466
|
+
* subsequent criteria will be applied for ties.
|
|
2467
|
+
*
|
|
2468
|
+
* Supported fields are:
|
|
2469
|
+
*
|
|
2470
|
+
* - `created_timestamp`
|
|
2471
|
+
* - `edited_timestamp`
|
|
2472
|
+
* - `closed_timestamp`
|
|
2473
|
+
*
|
|
2474
|
+
* Supported orderings are:
|
|
2475
|
+
*
|
|
2476
|
+
* - `ASC`
|
|
2477
|
+
* - `DESC`
|
|
2478
|
+
*/
|
|
2479
|
+
orderby?: components["parameters"]["list_web_inputs_orderby"];
|
|
2480
|
+
};
|
|
2481
|
+
header?: never;
|
|
2482
|
+
path?: never;
|
|
2483
|
+
cookie?: never;
|
|
2484
|
+
};
|
|
2485
|
+
requestBody?: never;
|
|
2486
|
+
responses: {
|
|
2487
|
+
/** @description The requestor has successfully authenticated and queried the Flows service for the Web Inputs available for them. */
|
|
2488
|
+
200: {
|
|
2489
|
+
headers: {
|
|
2490
|
+
[name: string]: unknown;
|
|
2491
|
+
};
|
|
2492
|
+
content: {
|
|
2493
|
+
"application/json": {
|
|
2494
|
+
web_input_summaries: components["schemas"]["WebInputSummary"][];
|
|
2495
|
+
/** @description An opaque pagination token for iterating through returned Web Inputs. Null if there are no more pages. */
|
|
2496
|
+
marker?: string | null;
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
/** @description There was an issue parsing the query parameters. */
|
|
2501
|
+
400: {
|
|
2502
|
+
headers: {
|
|
2503
|
+
[name: string]: unknown;
|
|
2504
|
+
};
|
|
2505
|
+
content?: never;
|
|
2506
|
+
};
|
|
2507
|
+
/** @description The requestor presented a token with insufficient scopes. */
|
|
2508
|
+
403: {
|
|
2509
|
+
headers: {
|
|
2510
|
+
[name: string]: unknown;
|
|
2511
|
+
};
|
|
2512
|
+
content?: never;
|
|
2513
|
+
};
|
|
2514
|
+
/** @description The request's query parameters did not pass validation. */
|
|
2515
|
+
422: {
|
|
2516
|
+
headers: {
|
|
2517
|
+
[name: string]: unknown;
|
|
2518
|
+
};
|
|
2519
|
+
content?: never;
|
|
2520
|
+
};
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
put?: never;
|
|
2524
|
+
post?: never;
|
|
2525
|
+
delete?: never;
|
|
2526
|
+
options?: never;
|
|
2527
|
+
head?: never;
|
|
2528
|
+
patch?: never;
|
|
2529
|
+
trace?: never;
|
|
2530
|
+
};
|
|
2531
|
+
"/web_inputs/{web_input_id}": {
|
|
2532
|
+
parameters: {
|
|
2533
|
+
query?: never;
|
|
2534
|
+
header?: never;
|
|
2535
|
+
path?: never;
|
|
2536
|
+
cookie?: never;
|
|
2537
|
+
};
|
|
2538
|
+
/** @description Get a Web Input by ID */
|
|
2539
|
+
get: {
|
|
2540
|
+
parameters: {
|
|
2541
|
+
query?: never;
|
|
2542
|
+
header?: never;
|
|
2543
|
+
path: {
|
|
2544
|
+
web_input_id: string;
|
|
2545
|
+
};
|
|
2546
|
+
cookie?: never;
|
|
2547
|
+
};
|
|
2548
|
+
requestBody?: never;
|
|
2549
|
+
responses: {
|
|
2550
|
+
/** @description Information about the Web Input */
|
|
2551
|
+
200: {
|
|
2552
|
+
headers: {
|
|
2553
|
+
[name: string]: unknown;
|
|
2554
|
+
};
|
|
2555
|
+
content: {
|
|
2556
|
+
"application/json": components["schemas"]["WebInputResponse"];
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2559
|
+
};
|
|
2560
|
+
};
|
|
2561
|
+
put?: never;
|
|
2562
|
+
post?: never;
|
|
2563
|
+
delete?: never;
|
|
2564
|
+
options?: never;
|
|
2565
|
+
head?: never;
|
|
2566
|
+
patch?: never;
|
|
2567
|
+
trace?: never;
|
|
2568
|
+
};
|
|
2569
|
+
"/web_inputs/{web_input_id}/respond": {
|
|
2570
|
+
parameters: {
|
|
2571
|
+
query?: never;
|
|
2572
|
+
header?: never;
|
|
2573
|
+
path?: never;
|
|
2574
|
+
cookie?: never;
|
|
2575
|
+
};
|
|
2576
|
+
get?: never;
|
|
2577
|
+
put?: never;
|
|
2578
|
+
/**
|
|
2579
|
+
* Respond to a Web Input
|
|
2580
|
+
* @description Submit a response to a Web Input. The caller must have the respondent role on the Web Input and satisfy any authentication policy on the associated flow.
|
|
2581
|
+
*/
|
|
2582
|
+
post: {
|
|
2583
|
+
parameters: {
|
|
2584
|
+
query?: never;
|
|
2585
|
+
header?: never;
|
|
2586
|
+
path: {
|
|
2587
|
+
/** @description The unique identifier of the Web Input to respond to. */
|
|
2588
|
+
web_input_id: string;
|
|
2589
|
+
};
|
|
2590
|
+
cookie?: never;
|
|
2591
|
+
};
|
|
2592
|
+
requestBody: {
|
|
2593
|
+
content: {
|
|
2594
|
+
"application/json": {
|
|
2595
|
+
response: {
|
|
2596
|
+
/** @description The response value submitted by the user. */
|
|
2597
|
+
value: unknown;
|
|
2598
|
+
};
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
};
|
|
2602
|
+
responses: {
|
|
2603
|
+
/** @description The response was successfully submitted. */
|
|
2604
|
+
200: {
|
|
2605
|
+
headers: {
|
|
2606
|
+
[name: string]: unknown;
|
|
2607
|
+
};
|
|
2608
|
+
content: {
|
|
2609
|
+
"application/json": {
|
|
2610
|
+
/** @enum {string} */
|
|
2611
|
+
status?: "ok";
|
|
2612
|
+
};
|
|
2613
|
+
};
|
|
2614
|
+
};
|
|
2615
|
+
/**
|
|
2616
|
+
* @description The requestor does not have the respondent role on the Web Input,
|
|
2617
|
+
* or the requestor does not satisfy the flow's authentication policy.
|
|
2618
|
+
* When the user has the respondent role but fails the authentication
|
|
2619
|
+
* policy, the response includes a web_input_summary alongside a GARE.
|
|
2620
|
+
*/
|
|
2621
|
+
403: {
|
|
2622
|
+
headers: {
|
|
2623
|
+
[name: string]: unknown;
|
|
2624
|
+
};
|
|
2625
|
+
content: {
|
|
2626
|
+
"application/json": {
|
|
2627
|
+
error: {
|
|
2628
|
+
code: string;
|
|
2629
|
+
detail: string;
|
|
2630
|
+
};
|
|
2631
|
+
} | {
|
|
2632
|
+
web_input_summary?: components["schemas"]["WebInputSummary"];
|
|
2633
|
+
code?: string;
|
|
2634
|
+
authorization_parameters?: Record<string, unknown>;
|
|
2635
|
+
error?: {
|
|
2636
|
+
code?: string;
|
|
2637
|
+
detail?: string;
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
/** @description The Web Input does not exist. */
|
|
2643
|
+
404: {
|
|
2644
|
+
headers: {
|
|
2645
|
+
[name: string]: unknown;
|
|
2646
|
+
};
|
|
2647
|
+
content?: never;
|
|
2648
|
+
};
|
|
2649
|
+
/** @description The Web Input is already closed. */
|
|
2650
|
+
409: {
|
|
2651
|
+
headers: {
|
|
2652
|
+
[name: string]: unknown;
|
|
2653
|
+
};
|
|
2654
|
+
content?: never;
|
|
2655
|
+
};
|
|
2656
|
+
/** @description The request body did not pass validation. */
|
|
2657
|
+
422: {
|
|
2658
|
+
headers: {
|
|
2659
|
+
[name: string]: unknown;
|
|
2660
|
+
};
|
|
2661
|
+
content?: never;
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2665
|
+
delete?: never;
|
|
2666
|
+
options?: never;
|
|
2667
|
+
head?: never;
|
|
2668
|
+
patch?: never;
|
|
2669
|
+
trace?: never;
|
|
2670
|
+
};
|
|
2440
2671
|
}
|
|
2441
2672
|
export type webhooks = Record<string, never>;
|
|
2442
2673
|
export interface components {
|
|
@@ -2505,6 +2736,8 @@ export interface components {
|
|
|
2505
2736
|
/** @description The list of all roles the requesting user has on the Run. */
|
|
2506
2737
|
user_roles?: ("run_monitor" | "run_manager" | "run_owner" | "flow_run_monitor" | "flow_run_manager")[];
|
|
2507
2738
|
tags: components["schemas"]["Tags"];
|
|
2739
|
+
/** @description The ID of the Web Input from which the Run is currently awaiting input. This field is present, but null, if the Run is not awaiting input. */
|
|
2740
|
+
blocking_web_input_id: string | null;
|
|
2508
2741
|
};
|
|
2509
2742
|
ValidateRun: {
|
|
2510
2743
|
/**
|
|
@@ -2939,6 +3172,149 @@ export interface components {
|
|
|
2939
3172
|
*/
|
|
2940
3173
|
updated_timestamp: string;
|
|
2941
3174
|
};
|
|
3175
|
+
/**
|
|
3176
|
+
* Format: date-time
|
|
3177
|
+
* @description A timezone-aware ISO8601 format string that represents the time at which the Web Input was closed. Null if the Web Input is still open.
|
|
3178
|
+
*/
|
|
3179
|
+
_WebInputClosedTimestamp: string | null;
|
|
3180
|
+
_WebInputContext: components["schemas"]["_WebInputTableContext"] | components["schemas"]["_WebInputTextContext"];
|
|
3181
|
+
/**
|
|
3182
|
+
* @description Information that helps respondents understand what they're responding to.
|
|
3183
|
+
* For example, "What file transfer am I approving or denying?"
|
|
3184
|
+
*/
|
|
3185
|
+
_WebInputTableContext: {
|
|
3186
|
+
/**
|
|
3187
|
+
* @description A title for the Web Input.
|
|
3188
|
+
* This may be displayed as an human-readable label for the Web Input itself, or it may be used as a bold header on a webpage displaying the Web Input as a form.
|
|
3189
|
+
*/
|
|
3190
|
+
title: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* @description The value "table" indicating that clients should present data as a table. (enum property replaced by openapi-typescript)
|
|
3193
|
+
* @enum {string}
|
|
3194
|
+
*/
|
|
3195
|
+
presentation_style: "table";
|
|
3196
|
+
rows: {
|
|
3197
|
+
field: string;
|
|
3198
|
+
value: string;
|
|
3199
|
+
}[];
|
|
3200
|
+
};
|
|
3201
|
+
/**
|
|
3202
|
+
* @description Information that helps respondents understand what they're responding to.
|
|
3203
|
+
* For example, "What file transfer am I approving or denying?"
|
|
3204
|
+
*/
|
|
3205
|
+
_WebInputTextContext: {
|
|
3206
|
+
/**
|
|
3207
|
+
* @description A title for the Web Input.
|
|
3208
|
+
* This may be displayed as an human-readable label for the Web Input itself, or it may be used as a bold header on a webpage displaying the Web Input as a form.
|
|
3209
|
+
*/
|
|
3210
|
+
title: string;
|
|
3211
|
+
/**
|
|
3212
|
+
* @description The value "text" indicating that clients should present data as a block of text. (enum property replaced by openapi-typescript)
|
|
3213
|
+
* @enum {string}
|
|
3214
|
+
*/
|
|
3215
|
+
presentation_style: "text";
|
|
3216
|
+
text: string;
|
|
3217
|
+
};
|
|
3218
|
+
/** @description The Globus Auth identity that created the Web Input. Creators are not implicitly granted "view" access to the Web Input. */
|
|
3219
|
+
_WebInputCreatorUrn: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* Format: date-time
|
|
3222
|
+
* @description A timezone-aware ISO8601 format string that represents the time at which the Web Input was created.
|
|
3223
|
+
*/
|
|
3224
|
+
_WebInputCreatedTimestamp: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* Format: date-time
|
|
3227
|
+
* @description A timezone-aware ISO8601 format string that represents the time at which the Web Input was last edited.
|
|
3228
|
+
*/
|
|
3229
|
+
_WebInputEditedTimestamp: string;
|
|
3230
|
+
/** @description Info about the Flow associated with the Web Input. */
|
|
3231
|
+
_WebInputFlowInfo: {
|
|
3232
|
+
/**
|
|
3233
|
+
* Format: uuid
|
|
3234
|
+
* @description The unique identifier for the associated Flow.
|
|
3235
|
+
*/
|
|
3236
|
+
id: string;
|
|
3237
|
+
/** @description The title of the associated Flow. */
|
|
3238
|
+
title: string;
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* Format: uuid
|
|
3242
|
+
* @description The unique identifier for the Web Input.
|
|
3243
|
+
*/
|
|
3244
|
+
_WebInputId: string;
|
|
3245
|
+
/** @description The input schema used to validate all responses to the Web Input. */
|
|
3246
|
+
_WebInputInputSchema: Record<string, unknown>;
|
|
3247
|
+
/**
|
|
3248
|
+
* @description The type of Web Input.
|
|
3249
|
+
* @enum {string}
|
|
3250
|
+
*/
|
|
3251
|
+
_WebInputInputType: "selection";
|
|
3252
|
+
/** @description The individual options associated with Web Input. This field is only present when the input type is "selection". */
|
|
3253
|
+
_WebInputOptions: {
|
|
3254
|
+
/**
|
|
3255
|
+
* Format: uuid
|
|
3256
|
+
* @description A UUID that identifies the option. If a respondent selects this option (like "Approve" or "Deny"), this is the value that should be submitted back to the Flows service.
|
|
3257
|
+
*/
|
|
3258
|
+
option_id: string;
|
|
3259
|
+
/** @description Text that is associated with the option. For example, this may be the word "Approve" or "Deny", and is probably displayed prominently on a button or other UI element that respondents can click on. */
|
|
3260
|
+
label: string;
|
|
3261
|
+
/** @description Additional context to clarify the option for respondents. For example, this may be text "Allow file egress from the protected collection." */
|
|
3262
|
+
description: string;
|
|
3263
|
+
}[];
|
|
3264
|
+
/** @description The Globus Auth identities and groups that have been assigned roles/permissions to the Web Input. */
|
|
3265
|
+
_WebInputRoles: {
|
|
3266
|
+
/** @description Identities and groups that are allowed to view all of the Web Input's information. */
|
|
3267
|
+
viewer_urns: string[];
|
|
3268
|
+
/** @description Identities and groups that are allowed to submit responses to the Web Input. Respondents are also allowed to view information about the Web Input. */
|
|
3269
|
+
respondent_urns: string[];
|
|
3270
|
+
};
|
|
3271
|
+
/** @description Info about the Run associated with the Web Input. */
|
|
3272
|
+
_WebInputRunInfo: {
|
|
3273
|
+
/**
|
|
3274
|
+
* Format: uuid
|
|
3275
|
+
* @description The unique identifier for the associated Run.
|
|
3276
|
+
*/
|
|
3277
|
+
id: string;
|
|
3278
|
+
/** @description An optional label for the associated Run. */
|
|
3279
|
+
label: string | null;
|
|
3280
|
+
};
|
|
3281
|
+
/**
|
|
3282
|
+
* @description The current status of the Web Input. "open" indicates the Web Input is awaiting a response; "closed" indicates it has been completed.
|
|
3283
|
+
* @enum {string}
|
|
3284
|
+
*/
|
|
3285
|
+
_WebInputStatus: "open" | "closed";
|
|
3286
|
+
/** @description A human-readable title for the Web Input. */
|
|
3287
|
+
_WebInputTitle: string;
|
|
3288
|
+
/** @description The roles the current user has on this Web Input. */
|
|
3289
|
+
_WebInputUserRoles: ("viewer" | "respondent")[];
|
|
3290
|
+
WebInputResponse: {
|
|
3291
|
+
id: components["schemas"]["_WebInputId"];
|
|
3292
|
+
status: components["schemas"]["_WebInputStatus"];
|
|
3293
|
+
user_roles: components["schemas"]["_WebInputUserRoles"];
|
|
3294
|
+
input_type: components["schemas"]["_WebInputInputType"];
|
|
3295
|
+
input_schema: components["schemas"]["_WebInputInputSchema"];
|
|
3296
|
+
context: components["schemas"]["_WebInputContext"];
|
|
3297
|
+
flow: components["schemas"]["_WebInputFlowInfo"];
|
|
3298
|
+
run: components["schemas"]["_WebInputRunInfo"];
|
|
3299
|
+
roles: components["schemas"]["_WebInputRoles"];
|
|
3300
|
+
creator_urn: components["schemas"]["_WebInputCreatorUrn"];
|
|
3301
|
+
created_timestamp: components["schemas"]["_WebInputCreatedTimestamp"];
|
|
3302
|
+
edited_timestamp: components["schemas"]["_WebInputEditedTimestamp"];
|
|
3303
|
+
closed_timestamp: components["schemas"]["_WebInputClosedTimestamp"];
|
|
3304
|
+
options?: components["schemas"]["_WebInputOptions"];
|
|
3305
|
+
};
|
|
3306
|
+
WebInputSummary: {
|
|
3307
|
+
id: components["schemas"]["_WebInputId"];
|
|
3308
|
+
status: components["schemas"]["_WebInputStatus"];
|
|
3309
|
+
user_roles: components["schemas"]["_WebInputUserRoles"];
|
|
3310
|
+
input_type: components["schemas"]["_WebInputInputType"];
|
|
3311
|
+
title: components["schemas"]["_WebInputTitle"];
|
|
3312
|
+
flow: components["schemas"]["_WebInputFlowInfo"];
|
|
3313
|
+
run: components["schemas"]["_WebInputRunInfo"];
|
|
3314
|
+
created_timestamp: components["schemas"]["_WebInputCreatedTimestamp"];
|
|
3315
|
+
edited_timestamp: components["schemas"]["_WebInputEditedTimestamp"];
|
|
3316
|
+
closed_timestamp: components["schemas"]["_WebInputClosedTimestamp"];
|
|
3317
|
+
};
|
|
2942
3318
|
RegisteredApi: components["schemas"]["RegisteredApiSummary"] & {
|
|
2943
3319
|
/**
|
|
2944
3320
|
* @description Access control roles for the Registered API, mapping role names to
|
|
@@ -3242,6 +3618,41 @@ export interface components {
|
|
|
3242
3618
|
* - `DESC`
|
|
3243
3619
|
*/
|
|
3244
3620
|
list_registered_apis_orderby: string[];
|
|
3621
|
+
/**
|
|
3622
|
+
* @description Ordering criteria to apply to the list of Web Inputs.
|
|
3623
|
+
*
|
|
3624
|
+
* This field is a comma-separated list of sort criteria,
|
|
3625
|
+
* and follows this syntax:
|
|
3626
|
+
*
|
|
3627
|
+
* ```
|
|
3628
|
+
* CRITERION1[,CRITERION2[,...]]
|
|
3629
|
+
* ```
|
|
3630
|
+
*
|
|
3631
|
+
* and each individual `CRITERION` follows this syntax:
|
|
3632
|
+
*
|
|
3633
|
+
* ```
|
|
3634
|
+
* FIELD ORDERING
|
|
3635
|
+
* ```
|
|
3636
|
+
*
|
|
3637
|
+
* The first value, `FIELD`, indicates the field to sort by;
|
|
3638
|
+
* the second value, `ORDERING`, indicates the sorting order.
|
|
3639
|
+
*
|
|
3640
|
+
* When additional comma-separated criteria are added,
|
|
3641
|
+
* the first criterion will be used to sort the data;
|
|
3642
|
+
* subsequent criteria will be applied for ties.
|
|
3643
|
+
*
|
|
3644
|
+
* Supported fields are:
|
|
3645
|
+
*
|
|
3646
|
+
* - `created_timestamp`
|
|
3647
|
+
* - `edited_timestamp`
|
|
3648
|
+
* - `closed_timestamp`
|
|
3649
|
+
*
|
|
3650
|
+
* Supported orderings are:
|
|
3651
|
+
*
|
|
3652
|
+
* - `ASC`
|
|
3653
|
+
* - `DESC`
|
|
3654
|
+
*/
|
|
3655
|
+
list_web_inputs_orderby: string[];
|
|
3245
3656
|
};
|
|
3246
3657
|
requestBodies: never;
|
|
3247
3658
|
headers: never;
|