@revoengine/sdk 1.5.6 → 1.5.8
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 +2 -2
- package/dist/{errors-XTYAxN-H.d.cts → errors-Bo-6u7Hg.d.cts} +108 -46
- package/dist/{errors-XTYAxN-H.d.ts → errors-Bo-6u7Hg.d.ts} +108 -46
- package/dist/hosted.cjs +859 -412
- package/dist/hosted.cjs.map +1 -1
- package/dist/hosted.d.cts +2 -2
- package/dist/hosted.d.ts +2 -2
- package/dist/hosted.js +859 -412
- package/dist/hosted.js.map +1 -1
- package/dist/index.cjs +859 -412
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +759 -361
- package/dist/index.d.ts +759 -361
- package/dist/index.js +859 -412
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as node_worker_threads from 'node:worker_threads';
|
|
2
2
|
|
|
3
|
-
declare const SDK_VERSION: "1.5.
|
|
3
|
+
declare const SDK_VERSION: "1.5.8";
|
|
4
4
|
declare const PROTOCOL_VERSION: 1;
|
|
5
|
-
declare const CONTRACT_REVISION: "
|
|
5
|
+
declare const CONTRACT_REVISION: "a73e7d84863d5a511a6f5569a72ab8d156bd11f84471fabdee9b8b633c11e58d";
|
|
6
6
|
type RuntimeSurfaceName = 'api' | 'storage' | 'transport' | 'agents' | 'lowCode';
|
|
7
7
|
|
|
8
8
|
// AUTO-GENERATED FILE. DO NOT EDIT DIRECTLY.
|
|
@@ -157,11 +157,11 @@ interface SwaggerAgentPluginConfigDto {
|
|
|
157
157
|
/** Plugin contract version for the governed runtime surface. */
|
|
158
158
|
"contractVersion"?: number;
|
|
159
159
|
/** Stable plugin id used by the agent runtime. */
|
|
160
|
-
"id"
|
|
160
|
+
"id": string;
|
|
161
161
|
/** Plugin execution provider kind. */
|
|
162
162
|
"kind"?: "tools" | "mcp_server" | "skill" | "package";
|
|
163
163
|
/** Operator-facing plugin name. */
|
|
164
|
-
"name"
|
|
164
|
+
"name": string;
|
|
165
165
|
/** Optional plugin description. */
|
|
166
166
|
"description"?: string;
|
|
167
167
|
/** Canonical English routing metadata used for planner and fallback matching. Operator-facing name and description may remain localized. */
|
|
@@ -209,9 +209,9 @@ interface SwaggerAgentPluginConfigDto {
|
|
|
209
209
|
}
|
|
210
210
|
interface SwaggerAgentPluginMcpConfigDto {
|
|
211
211
|
/** Remote MCP transport supported by the SaaS runtime. */
|
|
212
|
-
"transport"
|
|
212
|
+
"transport": "streamable_http" | "sse";
|
|
213
213
|
/** Absolute HTTPS endpoint for the remote MCP server. */
|
|
214
|
-
"url"
|
|
214
|
+
"url": string;
|
|
215
215
|
/** Manifest cache time-to-live in milliseconds. */
|
|
216
216
|
"manifestTtlMs"?: number;
|
|
217
217
|
/** Connection and handshake timeout in milliseconds. */
|
|
@@ -235,7 +235,7 @@ interface SwaggerAgentPluginMcpConfigDto {
|
|
|
235
235
|
}
|
|
236
236
|
interface SwaggerAgentPluginMcpHeaderBindingDto {
|
|
237
237
|
/** Header name sent to the remote MCP server. */
|
|
238
|
-
"name"
|
|
238
|
+
"name": string;
|
|
239
239
|
/** Secret id containing the header value. */
|
|
240
240
|
"secretId"?: string;
|
|
241
241
|
/** Optional secret data revision id when the binding should pin a specific secret revision. */
|
|
@@ -277,7 +277,7 @@ interface SwaggerAgentPluginPackageConfigDto {
|
|
|
277
277
|
/** Package content format. Markdown is the only supported v1 format. */
|
|
278
278
|
"format"?: "markdown";
|
|
279
279
|
/** Markdown instruction content loaded into the assistant runtime when the package is attached. */
|
|
280
|
-
"content"
|
|
280
|
+
"content": string;
|
|
281
281
|
/** Registry plugin ids declared as package dependencies. */
|
|
282
282
|
"pluginIds"?: Array<string>;
|
|
283
283
|
/** Disabled marketplace-facing package metadata reserved for catalog publishing. */
|
|
@@ -319,7 +319,7 @@ interface SwaggerAgentPluginSkillConfigDto {
|
|
|
319
319
|
/** Skill content format. Markdown is the only supported v1 format. */
|
|
320
320
|
"format"?: "markdown";
|
|
321
321
|
/** Markdown instruction content loaded into the assistant runtime when the plugin is attached. */
|
|
322
|
-
"content"
|
|
322
|
+
"content": string;
|
|
323
323
|
/** Registry plugin ids declared as one-level skill dependencies. */
|
|
324
324
|
"pluginIds"?: Array<string>;
|
|
325
325
|
/** Maximum number of skill content characters allowed into one prompt. */
|
|
@@ -381,7 +381,7 @@ interface SwaggerDatabaseDefinition {
|
|
|
381
381
|
/** Description. */
|
|
382
382
|
"desc"?: string | null;
|
|
383
383
|
/** Optional column metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
384
|
-
"metadata"?: Record<string, unknown
|
|
384
|
+
"metadata"?: Record<string, unknown> | null;
|
|
385
385
|
/** You need to specify type [SMALLINT,INTEGER,BIGINT,REAL,DOUBLE PRECISION,NUMERIC,JSON,JSONB,TEXT,UUID,DATE,TIME,TIMETZ,TIMESTAMP,TIMESTAMPTZ,BOOLEAN]. */
|
|
386
386
|
"type": "SMALLINT" | "INTEGER" | "BIGINT" | "REAL" | "DOUBLE PRECISION" | "NUMERIC" | "JSON" | "JSONB" | "TEXT" | "UUID" | "DATE" | "TIME" | "TIMETZ" | "TIMESTAMP" | "TIMESTAMPTZ" | "BOOLEAN";
|
|
387
387
|
/** Provide if this column is primary key. */
|
|
@@ -415,6 +415,47 @@ interface SwaggerDatabaseDefinitionForeignReferences {
|
|
|
415
415
|
/** You need to specify what happen on update of referenced table data, "none" will raise an error if there are records existing in this table that reference it. */
|
|
416
416
|
"onDelete": "none" | "cascade" | "restrict" | "default" | "null";
|
|
417
417
|
}
|
|
418
|
+
interface SwaggerDatabaseIndexColumnDto {
|
|
419
|
+
"name"?: string;
|
|
420
|
+
/** function(col) / cast / expression are not raw SQL; only safe structured input is allowed */
|
|
421
|
+
"expression"?: SwaggerDatabaseIndexExpressionDto;
|
|
422
|
+
"order"?: "ASC" | "DESC";
|
|
423
|
+
"nulls"?: "FIRST" | "LAST";
|
|
424
|
+
"collation"?: string;
|
|
425
|
+
"opclass"?: string;
|
|
426
|
+
}
|
|
427
|
+
interface SwaggerDatabaseIndexDefinitionDto {
|
|
428
|
+
"name"?: string;
|
|
429
|
+
"using"?: "btree" | "hash" | "gist" | "spgist" | "gin" | "brin";
|
|
430
|
+
"columns": Array<SwaggerDatabaseIndexColumnDto>;
|
|
431
|
+
"where"?: SwaggerDatabaseIndexPredicateDto;
|
|
432
|
+
"include"?: Array<string>;
|
|
433
|
+
"unique"?: boolean;
|
|
434
|
+
}
|
|
435
|
+
interface SwaggerDatabaseIndexExpressionDto {
|
|
436
|
+
/** Column reference. */
|
|
437
|
+
"column"?: string;
|
|
438
|
+
/** Safe function name. */
|
|
439
|
+
"fn"?: string;
|
|
440
|
+
"args"?: Array<SwaggerDatabaseIndexExpressionDto>;
|
|
441
|
+
"cast"?: string;
|
|
442
|
+
"literal"?: Record<string, unknown>;
|
|
443
|
+
}
|
|
444
|
+
interface SwaggerDatabaseIndexPredicateDto {
|
|
445
|
+
/** Logical AND. */
|
|
446
|
+
"and"?: Array<string>;
|
|
447
|
+
/** Logical OR. */
|
|
448
|
+
"or"?: Array<string>;
|
|
449
|
+
/** Logical NOT. */
|
|
450
|
+
"not"?: SwaggerDatabaseIndexPredicateDto;
|
|
451
|
+
"column"?: string;
|
|
452
|
+
"op"?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "like" | "ilike" | "in" | "between" | "isnull" | "notnull";
|
|
453
|
+
"value"?: Record<string, unknown>;
|
|
454
|
+
"values"?: Array<string>;
|
|
455
|
+
}
|
|
456
|
+
interface SwaggerDatabaseOptionsDto {
|
|
457
|
+
"indexes"?: Array<SwaggerDatabaseIndexDefinitionDto>;
|
|
458
|
+
}
|
|
418
459
|
interface SwaggerPartitionDefinition {
|
|
419
460
|
/** Partition type. */
|
|
420
461
|
"type"?: "LIST" | "RANGE" | "HASH";
|
|
@@ -425,9 +466,9 @@ interface SwaggerPartitionDefinition {
|
|
|
425
466
|
/** For LIST partitioning: array of values. For RANGE partitioning: not used. */
|
|
426
467
|
"values"?: Array<string>;
|
|
427
468
|
/** For RANGE partitioning: starting value (use "MINVALUE" for unbounded start). */
|
|
428
|
-
"from"?: Record<string, unknown
|
|
469
|
+
"from"?: string | number | boolean | Record<string, unknown> | Array<unknown> | null;
|
|
429
470
|
/** For RANGE partitioning: ending value (use "MAXVALUE" for unbounded end). */
|
|
430
|
-
"to"?: Record<string, unknown
|
|
471
|
+
"to"?: string | number | boolean | Record<string, unknown> | Array<unknown> | null;
|
|
431
472
|
/**
|
|
432
473
|
The modulus value for a HASH partition.
|
|
433
474
|
Required only when the partition type is HASH.
|
|
@@ -534,31 +575,31 @@ interface AgentRunCancelInput {
|
|
|
534
575
|
}
|
|
535
576
|
interface DatabaseCloneInput {
|
|
536
577
|
/** Replacement user metadata for the root clone only. Omit to inherit source metadata; pass {} to clear user metadata. Maximum 16 KiB and 64 top-level keys. Keys starting with "__" are reserved for backend use. */
|
|
537
|
-
"metadata"?: Record<string, unknown
|
|
578
|
+
"metadata"?: Record<string, unknown> | null;
|
|
538
579
|
/** Optional audit override. Defaults to the source logical table setting. */
|
|
539
|
-
"audit"?: boolean;
|
|
580
|
+
"audit"?: boolean | null;
|
|
540
581
|
/** Optional target root database name. Defaults to the source database name with "_Clone" suffix. */
|
|
541
|
-
"name"?: string;
|
|
582
|
+
"name"?: string | null;
|
|
542
583
|
/** Suffix used for automatically generated clone names. Defaults to "Clone". */
|
|
543
|
-
"suffix"?: string;
|
|
584
|
+
"suffix"?: string | null;
|
|
544
585
|
/** Whether to copy existing rows/items into the clone. Defaults to false. */
|
|
545
|
-
"includeItems"?: boolean;
|
|
586
|
+
"includeItems"?: boolean | null;
|
|
546
587
|
/** Alias for includeItems. Defaults to false. */
|
|
547
|
-
"includeData"?: boolean;
|
|
588
|
+
"includeData"?: boolean | null;
|
|
548
589
|
/** Whether to clone connected table partitions. Defaults to true. */
|
|
549
|
-
"includePartitions"?: boolean;
|
|
590
|
+
"includePartitions"?: boolean | null;
|
|
550
591
|
/** Optional cloned database category override. */
|
|
551
|
-
"category"?: string;
|
|
592
|
+
"category"?: string | null;
|
|
552
593
|
/** Optional cloned database description override. */
|
|
553
|
-
"desc"?: string;
|
|
594
|
+
"desc"?: string | null;
|
|
554
595
|
/** Optional cloned database tags override. */
|
|
555
|
-
"tags"?: Array<string
|
|
596
|
+
"tags"?: Array<string> | null;
|
|
556
597
|
/** Optional cloned database restricted flag override. */
|
|
557
|
-
"restricted"?: boolean;
|
|
598
|
+
"restricted"?: boolean | null;
|
|
558
599
|
/** Optional cloned database group access override. */
|
|
559
|
-
"groups"?: Array<string
|
|
600
|
+
"groups"?: Array<string> | null;
|
|
560
601
|
/** Optional cloned database user access override. */
|
|
561
|
-
"users"?: Array<string
|
|
602
|
+
"users"?: Array<string> | null;
|
|
562
603
|
}
|
|
563
604
|
interface AgentCreateInput {
|
|
564
605
|
/** Stable display name of the agent. */
|
|
@@ -572,7 +613,7 @@ interface AgentCreateInput {
|
|
|
572
613
|
/** Owner type, typically USER or GROUP. */
|
|
573
614
|
"ownerType"?: string;
|
|
574
615
|
/** Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
575
|
-
"metadata"?: Record<string, unknown
|
|
616
|
+
"metadata"?: Record<string, unknown> | null;
|
|
576
617
|
/** Persisted agent identity and runtime defaults such as model, persona, custom system instructions, memory policy, planning mode, and loop limits. Per-turn prompt tier, fast-path eligibility, and route telemetry are derived by runtime and are not accepted here. */
|
|
577
618
|
"config"?: SwaggerAgentConfigDto;
|
|
578
619
|
/** Persisted policy constraints such as tool allowlists, agent plugins, and delegation ceilings. Runtime-only route metadata is not configured here. */
|
|
@@ -602,9 +643,9 @@ interface DatabaseCreateInput {
|
|
|
602
643
|
/** Description. */
|
|
603
644
|
"desc"?: string;
|
|
604
645
|
/** Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
605
|
-
"metadata"?: Record<string, unknown
|
|
646
|
+
"metadata"?: Record<string, unknown> | null;
|
|
606
647
|
/** Provide if access should be restricted. */
|
|
607
|
-
"restricted"
|
|
648
|
+
"restricted"?: boolean;
|
|
608
649
|
/** Provide which groups should have access to it, once restricted is true. */
|
|
609
650
|
"groups"?: Array<string>;
|
|
610
651
|
/** Provide which users should have access to it, once restricted is true. */
|
|
@@ -617,6 +658,8 @@ interface DatabaseCreateInput {
|
|
|
617
658
|
"parentDatabaseId"?: string;
|
|
618
659
|
/** Partition configuration. */
|
|
619
660
|
"partition"?: SwaggerPartitionDefinition;
|
|
661
|
+
/** Advanced structured table options, including composite, expression, covering, and partial indexes. */
|
|
662
|
+
"options"?: SwaggerDatabaseOptionsDto;
|
|
620
663
|
}
|
|
621
664
|
interface AssistantMessageInput {
|
|
622
665
|
/** Finalized Storage files to link to this message. File access is checked on send and every read. */
|
|
@@ -664,7 +707,7 @@ interface StorageFolderInput {
|
|
|
664
707
|
/** Optional provider config id for root-level folders. Omit for the internal/default provider. Ignored when parentStorageEntryId is provided. */
|
|
665
708
|
"storageProviderConfigId"?: string;
|
|
666
709
|
/** Folder metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
667
|
-
"metadata"?: Record<string, unknown
|
|
710
|
+
"metadata"?: Record<string, unknown> | null;
|
|
668
711
|
/** Optional external reference id. */
|
|
669
712
|
"refId"?: string;
|
|
670
713
|
/** Optional external reference type. */
|
|
@@ -712,7 +755,7 @@ interface StorageUploadSessionInput {
|
|
|
712
755
|
/** Workbook worksheet layout. XLSX is inferred from contentTypeHint. In writeMode "direct", declare every worksheet here and configure table.columns for each one. */
|
|
713
756
|
"sheets"?: Array<SwaggerStorageSheetOptionsDto>;
|
|
714
757
|
/** File metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
715
|
-
"metadata"?: Record<string, unknown
|
|
758
|
+
"metadata"?: Record<string, unknown> | null;
|
|
716
759
|
/** Optional external reference id. */
|
|
717
760
|
"refId"?: string;
|
|
718
761
|
/** Optional external reference type. */
|
|
@@ -732,7 +775,7 @@ interface StorageUploadSessionFinalizeInput {
|
|
|
732
775
|
/** Expected explicit multipart numbers. Use for sparse distributed uploads; cannot be combined with expectedPartCount. */
|
|
733
776
|
"expectedPartNumbers"?: Array<number>;
|
|
734
777
|
/** Optional metadata replacement at finalize time. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
735
|
-
"metadata"?: Record<string, unknown
|
|
778
|
+
"metadata"?: Record<string, unknown> | null;
|
|
736
779
|
/** Optional post-finalize compute mode. */
|
|
737
780
|
"computeStats"?: "none" | "sync" | "async";
|
|
738
781
|
}
|
|
@@ -748,7 +791,7 @@ interface StorageEntryMoveInput {
|
|
|
748
791
|
/** Optional destination provider config id for root-level moves. Omit for the internal/default provider. Ignored when parentStorageEntryId is provided. */
|
|
749
792
|
"storageProviderConfigId"?: string;
|
|
750
793
|
/** Current entity version. */
|
|
751
|
-
"version"
|
|
794
|
+
"version": number;
|
|
752
795
|
}
|
|
753
796
|
interface StoragePutObjectInput {
|
|
754
797
|
/** File retention. Omit for the caller default, or set null for no expiration. */
|
|
@@ -782,7 +825,7 @@ interface StoragePutObjectInput {
|
|
|
782
825
|
/** Optional external reference version. */
|
|
783
826
|
"refVer"?: number;
|
|
784
827
|
/** Entry metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
785
|
-
"metadata"?: Record<string, unknown
|
|
828
|
+
"metadata"?: Record<string, unknown> | null;
|
|
786
829
|
/** Logical storage lifecycle tier. Select only when creating a new file or upload session; existing files keep their tier.
|
|
787
830
|
HOT: Active files used in live workflows, previews, and frequent downloads.
|
|
788
831
|
WARM: Completed or less-active business files that are still occasionally accessed.
|
|
@@ -862,7 +905,7 @@ interface AgentUpdateInput {
|
|
|
862
905
|
/** Updated owner type. */
|
|
863
906
|
"ownerType"?: string;
|
|
864
907
|
/** Replacement resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
865
|
-
"metadata"?: Record<string, unknown
|
|
908
|
+
"metadata"?: Record<string, unknown> | null;
|
|
866
909
|
/** Replacement persisted agent identity and runtime defaults. Fast-path routing, prompt tier, and per-turn telemetry stay runtime-derived. */
|
|
867
910
|
"config"?: SwaggerAgentConfigDto;
|
|
868
911
|
/** Replacement persisted policy constraints. Execution-time route metadata stays derived from the current turn. */
|
|
@@ -894,7 +937,9 @@ interface DatabaseUpdateInput {
|
|
|
894
937
|
/** Description. */
|
|
895
938
|
"desc"?: string;
|
|
896
939
|
/** Replacement resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
897
|
-
"metadata"?: Record<string, unknown
|
|
940
|
+
"metadata"?: Record<string, unknown> | null;
|
|
941
|
+
/** Replacement advanced structured table options. */
|
|
942
|
+
"options"?: SwaggerDatabaseOptionsDto;
|
|
898
943
|
/** Provide if access should be restricted. */
|
|
899
944
|
"restricted"?: boolean;
|
|
900
945
|
/** Provide which groups should have access to it, once restricted is true. */
|
|
@@ -912,7 +957,7 @@ interface StorageEntryUpdateInput {
|
|
|
912
957
|
/** New display name. */
|
|
913
958
|
"name"?: string;
|
|
914
959
|
/** Metadata replacement. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
915
|
-
"metadata"?: Record<string, unknown
|
|
960
|
+
"metadata"?: Record<string, unknown> | null;
|
|
916
961
|
/** Whether this entry is restricted to the provided users/groups. */
|
|
917
962
|
"restricted"?: boolean;
|
|
918
963
|
/** Explicit allowed group ids. */
|
|
@@ -920,7 +965,7 @@ interface StorageEntryUpdateInput {
|
|
|
920
965
|
/** Explicit allowed user ids. */
|
|
921
966
|
"users"?: Array<string>;
|
|
922
967
|
/** Current entity version. */
|
|
923
|
-
"version"
|
|
968
|
+
"version": number;
|
|
924
969
|
}
|
|
925
970
|
interface AssistantThreadTitleInput {
|
|
926
971
|
/** New user-defined title for the thread. */
|
|
@@ -954,7 +999,7 @@ interface WebhookInput {
|
|
|
954
999
|
/** Override creator. */
|
|
955
1000
|
"createdBy"?: string;
|
|
956
1001
|
/** Optional key/value metadata for grouping and querying webhooks. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use. */
|
|
957
|
-
"metadata"?: Record<string, unknown
|
|
1002
|
+
"metadata"?: Record<string, unknown> | null;
|
|
958
1003
|
}
|
|
959
1004
|
/**
|
|
960
1005
|
* Canonical public low-code API declarations shared by Monaco and local editors.
|
|
@@ -1522,14 +1567,20 @@ interface HttpRequestOptionsInterface {
|
|
|
1522
1567
|
/**
|
|
1523
1568
|
* JSON handling is the default. `requestType: 'json'` and `responseType: 'json'` may be stated together
|
|
1524
1569
|
* when an integration should expose an explicit, self-documenting JSON contract.
|
|
1570
|
+
* Use `buffer` explicitly for binary data: requests accept Buffer/Uint8Array and responses return Buffer.
|
|
1571
|
+
* `base64buffer` retains its string contract. Keep JSON as JSON; converting it to bytes is unnecessary.
|
|
1525
1572
|
*/
|
|
1526
1573
|
//@default: 'json'
|
|
1527
|
-
responseType?: 'json' | 'base64buffer' | 'document' | 'text' | 'storage';
|
|
1574
|
+
responseType?: 'json' | 'buffer' | 'base64buffer' | 'document' | 'text' | 'storage';
|
|
1528
1575
|
//@default: 'json'
|
|
1529
|
-
requestType?: 'json' | 'base64buffer' | 'form-data' | 'text' | 'storage';
|
|
1576
|
+
requestType?: 'json' | 'buffer' | 'base64buffer' | 'form-data' | 'text' | 'storage';
|
|
1530
1577
|
//@default: false
|
|
1531
1578
|
currentCredentials?: boolean;
|
|
1532
1579
|
}
|
|
1580
|
+
interface HttpRevoResponseScope {
|
|
1581
|
+
sameInstance: boolean;
|
|
1582
|
+
operationId?: string;
|
|
1583
|
+
}
|
|
1533
1584
|
interface HttpRequestInterface {
|
|
1534
1585
|
url: string;
|
|
1535
1586
|
method: 'POST' | 'PUT' | 'DELETE' | 'GET' | 'PATCH' | 'OPTIONS' | 'HEAD' | 'PURGE' | 'LINK' | 'UNLINK';
|
|
@@ -1642,6 +1693,8 @@ interface StorageUploadSessionPart {
|
|
|
1642
1693
|
interface StorageUploadPartResult {
|
|
1643
1694
|
storageUploadSessionId: string;
|
|
1644
1695
|
partNumber: number;
|
|
1696
|
+
/** UPLOADED after provider acceptance; RETRY_WAIT/UPLOADING remains durably queued by the platform. */
|
|
1697
|
+
status: 'UPLOADED' | 'UPLOADING' | 'RETRY_WAIT' | null;
|
|
1645
1698
|
size: number;
|
|
1646
1699
|
checksumMd5: string | null;
|
|
1647
1700
|
}
|
|
@@ -2684,9 +2737,7 @@ interface RevoApi {
|
|
|
2684
2737
|
setCache(key: string, value: any): void;
|
|
2685
2738
|
getContext(): Context;
|
|
2686
2739
|
getErrors(): ProcessLog[];
|
|
2687
|
-
getWarnings(): ProcessLog[];
|
|
2688
2740
|
getExecutionId(): string;
|
|
2689
|
-
getLogs(): LooseObject<any>[];
|
|
2690
2741
|
getOperationId(): string;
|
|
2691
2742
|
executeComponent<T = LooseObject<any>>(request: ComponentExecuteRequest): Promise<ComponentExecuteResult<T>>;
|
|
2692
2743
|
input(name?: string): Input;
|
|
@@ -2735,6 +2786,7 @@ interface RevoApi {
|
|
|
2735
2786
|
statusText: string;
|
|
2736
2787
|
time: number;
|
|
2737
2788
|
headers: LooseObject<string>;
|
|
2789
|
+
revo?: HttpRevoResponseScope;
|
|
2738
2790
|
request: {
|
|
2739
2791
|
config: HttpRequestInterface;
|
|
2740
2792
|
options: HttpRequestOptionsInterface;
|
|
@@ -2757,6 +2809,7 @@ interface RevoApi {
|
|
|
2757
2809
|
statusText: string;
|
|
2758
2810
|
time: number;
|
|
2759
2811
|
headers: LooseObject<string>;
|
|
2812
|
+
revo?: HttpRevoResponseScope;
|
|
2760
2813
|
data: any;
|
|
2761
2814
|
storage?: {
|
|
2762
2815
|
session: StorageUploadSession;
|
|
@@ -2790,8 +2843,8 @@ interface RevoStorage {
|
|
|
2790
2843
|
getEntry(namespace: string, storageEntryId: string, includeDeleted?: boolean): Promise<StorageEntryView>;
|
|
2791
2844
|
createFolder(data: StorageFolderInput): Promise<StorageEntryView>;
|
|
2792
2845
|
createFolder(namespace: string, data: StorageFolderInput): Promise<StorageEntryView>;
|
|
2793
|
-
putObject(data:
|
|
2794
|
-
putObject(namespace: string, data:
|
|
2846
|
+
putObject(data: StorageBinaryPutObjectInput): Promise<StorageEntryView>;
|
|
2847
|
+
putObject(namespace: string, data: StorageBinaryPutObjectInput): Promise<StorageEntryView>;
|
|
2795
2848
|
createUploadSession(data: StorageUploadSessionInput): Promise<{
|
|
2796
2849
|
session: StorageUploadSession;
|
|
2797
2850
|
upload: StorageUploadTarget;
|
|
@@ -2804,8 +2857,8 @@ interface RevoStorage {
|
|
|
2804
2857
|
extendUploadSession(namespace: string, storageUploadSessionId: string): Promise<StorageUploadSession>;
|
|
2805
2858
|
getUploadSession(storageUploadSessionId: string): Promise<StorageUploadSessionView>;
|
|
2806
2859
|
getUploadSession(namespace: string, storageUploadSessionId: string): Promise<StorageUploadSessionView>;
|
|
2807
|
-
uploadPart(storageUploadSessionId: string, partNumber: number |
|
|
2808
|
-
uploadPart(namespace: string, storageUploadSessionId: string, partNumber: number |
|
|
2860
|
+
uploadPart(storageUploadSessionId: string, partNumber: number | StorageBinaryUploadPartInput, data?: StorageBinaryUploadPartInput): Promise<StorageUploadPartResult>;
|
|
2861
|
+
uploadPart(namespace: string, storageUploadSessionId: string, partNumber: number | StorageBinaryUploadPartInput, data?: StorageBinaryUploadPartInput): Promise<StorageUploadPartResult>;
|
|
2809
2862
|
finalizeUploadSession(storageUploadSessionId: string, data?: StorageUploadSessionFinalizeInput): Promise<{
|
|
2810
2863
|
session: StorageUploadSession;
|
|
2811
2864
|
entry: StorageEntryView;
|
|
@@ -2974,6 +3027,15 @@ interface RevoUtils {
|
|
|
2974
3027
|
rsaSign(privateKey: string, payload: string, passphrase?: string): Promise<string>;
|
|
2975
3028
|
rsaVerify(publicKey: string, payload: string, signature: string): Promise<boolean>;
|
|
2976
3029
|
}
|
|
3030
|
+
/** Low-code byte payloads; REST JSON callers retain the base64 option. */
|
|
3031
|
+
/** Text arrays retain their existing joining rules; bytes are snapshotted before asynchronous upload. */
|
|
3032
|
+
type StorageBinaryPutObjectInput = Omit<StoragePutObjectInput, 'data'> & {
|
|
3033
|
+
data: string | string[] | Uint8Array | Buffer;
|
|
3034
|
+
};
|
|
3035
|
+
/** Bytes need no base64 encoding. One call remains one logical part, including retry/checksum/finalize. */
|
|
3036
|
+
type StorageBinaryUploadPartInput = Omit<StorageUploadPartInput, 'data'> & {
|
|
3037
|
+
data?: string | string[] | Uint8Array | Buffer;
|
|
3038
|
+
};
|
|
2977
3039
|
/**
|
|
2978
3040
|
* Source language for an ad-hoc low-code execution.
|
|
2979
3041
|
*/
|