@revoengine/sdk 1.6.8 → 3.0.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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { f as RevoStandaloneApi, g as RevoUtils, h as RevoStorage, i as RevoVault, j as RevoServiceAccount, k as RevoTransport, l as RevoAgents, m as RevoExecute, n as RevoBatchController, o as RevoClientOptions } from './errors-DAkcmPyN.cjs';
2
- export { B as BatchFailureMode, C as CONTRACT_REVISION, P as PROTOCOL_VERSION, p as RevoApi, q as RevoAuthenticationError, r as RevoBatchConfigurationError, s as RevoBatchLimitError, t as RevoBatchLimits, u as RevoBatchOptions, v as RevoConfigurationError, w as RevoError, x as RevoExecuteOptions, y as RevoExecutionDefaults, z as RevoPermissionDeniedError, A as RevoProtocolError, D as RevoRemoteError, R as RevoRuntime, E as RevoRuntimeContextUnavailableError, F as RevoTransportError, G as RuntimeBatchRequest, I as RuntimeBatchResponse, J as RuntimeCall, K as RuntimeCallResult, S as SDK_VERSION, L as SerializedRevoError } from './errors-DAkcmPyN.cjs';
1
+ import { f as RevoStandaloneApi, g as RevoUtils, h as RevoStorage, i as RevoVault, j as RevoServiceAccount, k as RevoTransport, l as RevoAgents, m as RevoExecute, n as RevoBatchController, o as RevoClientOptions } from './errors-D_8Jrrt5.cjs';
2
+ export { B as BatchFailureMode, C as CONTRACT_REVISION, P as PROTOCOL_VERSION, p as RevoApi, q as RevoAuthenticationError, r as RevoBatchConfigurationError, s as RevoBatchLimitError, t as RevoBatchLimits, u as RevoBatchOptions, v as RevoConfigurationError, w as RevoError, x as RevoExecuteOptions, y as RevoExecutionDefaults, z as RevoPermissionDeniedError, A as RevoProtocolError, D as RevoRemoteError, R as RevoRuntime, E as RevoRuntimeContextUnavailableError, F as RevoTransportError, G as RuntimeBatchRequest, I as RuntimeBatchResponse, J as RuntimeCall, K as RuntimeCallResult, S as SDK_VERSION, L as SerializedRevoError } from './errors-D_8Jrrt5.cjs';
3
3
  import 'node:worker_threads';
4
4
  import 'node:buffer';
5
5
 
@@ -7,7 +7,7 @@ declare const publicSdkContract: {
7
7
  readonly protocolVersion: 1;
8
8
  readonly generatorRevision: 7;
9
9
  readonly wireFormatRevision: 2;
10
- readonly typeDefinitionsHash: "cc67df21e5cc8ec8907911443913cee31caf97831ad0c5b5df7da09d1780bab4";
10
+ readonly typeDefinitionsHash: "659b9def402eefb73bfa5c7768fdfddd59aa40bf5d88cfe0349458036e15a703";
11
11
  readonly wireSchemas: {
12
12
  readonly definitions: {
13
13
  readonly AgentCreateInput_adfabfb0f10c: {
@@ -2720,64 +2720,6 @@ declare const publicSdkContract: {
2720
2720
  readonly kind: "undefined";
2721
2721
  }];
2722
2722
  };
2723
- readonly Schema_0b465d256413: {
2724
- readonly kind: "union";
2725
- readonly anyOf: readonly [{
2726
- readonly kind: "literal";
2727
- readonly value: "Components";
2728
- }, {
2729
- readonly kind: "literal";
2730
- readonly value: "DatabaseData";
2731
- }, {
2732
- readonly kind: "literal";
2733
- readonly value: "Databases";
2734
- }, {
2735
- readonly kind: "literal";
2736
- readonly value: "Endpoints";
2737
- }, {
2738
- readonly kind: "literal";
2739
- readonly value: "Events";
2740
- }, {
2741
- readonly kind: "literal";
2742
- readonly value: "EventsHistory";
2743
- }, {
2744
- readonly kind: "literal";
2745
- readonly value: "Files";
2746
- }, {
2747
- readonly kind: "literal";
2748
- readonly value: "Groups";
2749
- }, {
2750
- readonly kind: "literal";
2751
- readonly value: "Jobs";
2752
- }, {
2753
- readonly kind: "literal";
2754
- readonly value: "Keys";
2755
- }, {
2756
- readonly kind: "literal";
2757
- readonly value: "Logs";
2758
- }, {
2759
- readonly kind: "literal";
2760
- readonly value: "RoleGroups";
2761
- }, {
2762
- readonly kind: "literal";
2763
- readonly value: "Schedule";
2764
- }, {
2765
- readonly kind: "literal";
2766
- readonly value: "Secrets";
2767
- }, {
2768
- readonly kind: "literal";
2769
- readonly value: "SecretsData";
2770
- }, {
2771
- readonly kind: "literal";
2772
- readonly value: "Templates";
2773
- }, {
2774
- readonly kind: "literal";
2775
- readonly value: "Users";
2776
- }, {
2777
- readonly kind: "literal";
2778
- readonly value: "Webhooks";
2779
- }];
2780
- };
2781
2723
  readonly Schema_0b892d08947f: {
2782
2724
  readonly kind: "object";
2783
2725
  readonly properties: {
@@ -4893,6 +4835,129 @@ declare const publicSdkContract: {
4893
4835
  readonly kind: "undefined";
4894
4836
  }];
4895
4837
  };
4838
+ readonly Schema_65f8dddff4ca: {
4839
+ readonly kind: "union";
4840
+ readonly anyOf: readonly [{
4841
+ readonly kind: "literal";
4842
+ readonly value: "AGENT_INBOX";
4843
+ }, {
4844
+ readonly kind: "literal";
4845
+ readonly value: "AGENT_PLUGINS";
4846
+ }, {
4847
+ readonly kind: "literal";
4848
+ readonly value: "AGENT_RUNS";
4849
+ }, {
4850
+ readonly kind: "literal";
4851
+ readonly value: "AGENT_TERMINALS";
4852
+ }, {
4853
+ readonly kind: "literal";
4854
+ readonly value: "AGENTS";
4855
+ }, {
4856
+ readonly kind: "literal";
4857
+ readonly value: "COMPONENT_ELEMENTS";
4858
+ }, {
4859
+ readonly kind: "literal";
4860
+ readonly value: "COMPONENTS";
4861
+ }, {
4862
+ readonly kind: "literal";
4863
+ readonly value: "DATA_ITEMS";
4864
+ }, {
4865
+ readonly kind: "literal";
4866
+ readonly value: "DATA";
4867
+ }, {
4868
+ readonly kind: "literal";
4869
+ readonly value: "DATABASE_OPERATIONS";
4870
+ }, {
4871
+ readonly kind: "literal";
4872
+ readonly value: "DATABASE_VIEWS";
4873
+ }, {
4874
+ readonly kind: "literal";
4875
+ readonly value: "DATABASES";
4876
+ }, {
4877
+ readonly kind: "literal";
4878
+ readonly value: "ENDPOINTS";
4879
+ }, {
4880
+ readonly kind: "literal";
4881
+ readonly value: "EVENTS_HISTORY";
4882
+ }, {
4883
+ readonly kind: "literal";
4884
+ readonly value: "EVENTS";
4885
+ }, {
4886
+ readonly kind: "literal";
4887
+ readonly value: "GROUPS";
4888
+ }, {
4889
+ readonly kind: "literal";
4890
+ readonly value: "JOBS";
4891
+ }, {
4892
+ readonly kind: "literal";
4893
+ readonly value: "LOGS";
4894
+ }, {
4895
+ readonly kind: "literal";
4896
+ readonly value: "ME_KEYS";
4897
+ }, {
4898
+ readonly kind: "literal";
4899
+ readonly value: "ME_SETTINGS";
4900
+ }, {
4901
+ readonly kind: "literal";
4902
+ readonly value: "MONITORING";
4903
+ }, {
4904
+ readonly kind: "literal";
4905
+ readonly value: "PLAYGROUND";
4906
+ }, {
4907
+ readonly kind: "literal";
4908
+ readonly value: "PREFERENCES";
4909
+ }, {
4910
+ readonly kind: "literal";
4911
+ readonly value: "REALTIME";
4912
+ }, {
4913
+ readonly kind: "literal";
4914
+ readonly value: "REVISIONS";
4915
+ }, {
4916
+ readonly kind: "literal";
4917
+ readonly value: "ROLE_GROUPS";
4918
+ }, {
4919
+ readonly kind: "literal";
4920
+ readonly value: "SCHEDULE_HISTORY";
4921
+ }, {
4922
+ readonly kind: "literal";
4923
+ readonly value: "SCHEDULE";
4924
+ }, {
4925
+ readonly kind: "literal";
4926
+ readonly value: "SECRETS";
4927
+ }, {
4928
+ readonly kind: "literal";
4929
+ readonly value: "SECURITY_SETTINGS";
4930
+ }, {
4931
+ readonly kind: "literal";
4932
+ readonly value: "SERVICE_ACCOUNTS";
4933
+ }, {
4934
+ readonly kind: "literal";
4935
+ readonly value: "STORAGE";
4936
+ }, {
4937
+ readonly kind: "literal";
4938
+ readonly value: "TEMPLATES";
4939
+ }, {
4940
+ readonly kind: "literal";
4941
+ readonly value: "THREAD";
4942
+ }, {
4943
+ readonly kind: "literal";
4944
+ readonly value: "USER_DETAILS";
4945
+ }, {
4946
+ readonly kind: "literal";
4947
+ readonly value: "USER_KEYS";
4948
+ }, {
4949
+ readonly kind: "literal";
4950
+ readonly value: "USERS";
4951
+ }, {
4952
+ readonly kind: "literal";
4953
+ readonly value: "WEB_IDE";
4954
+ }, {
4955
+ readonly kind: "literal";
4956
+ readonly value: "WEBHOOKS";
4957
+ }, {
4958
+ readonly kind: "undefined";
4959
+ }];
4960
+ };
4896
4961
  readonly Schema_6628fc9814b1: {
4897
4962
  readonly kind: "union";
4898
4963
  readonly anyOf: readonly [{
@@ -5210,132 +5275,6 @@ declare const publicSdkContract: {
5210
5275
  };
5211
5276
  readonly additionalProperties: false;
5212
5277
  };
5213
- readonly Schema_70e008186491: {
5214
- readonly kind: "union";
5215
- readonly anyOf: readonly [{
5216
- readonly kind: "literal";
5217
- readonly value: "AGENT_INBOX";
5218
- }, {
5219
- readonly kind: "literal";
5220
- readonly value: "AGENT_PLUGINS";
5221
- }, {
5222
- readonly kind: "literal";
5223
- readonly value: "AGENT_RUNS";
5224
- }, {
5225
- readonly kind: "literal";
5226
- readonly value: "AGENT_TERMINALS";
5227
- }, {
5228
- readonly kind: "literal";
5229
- readonly value: "AGENTS";
5230
- }, {
5231
- readonly kind: "literal";
5232
- readonly value: "COMPONENT_ELEMENTS";
5233
- }, {
5234
- readonly kind: "literal";
5235
- readonly value: "COMPONENTS";
5236
- }, {
5237
- readonly kind: "literal";
5238
- readonly value: "DATA_ITEMS";
5239
- }, {
5240
- readonly kind: "literal";
5241
- readonly value: "DATA";
5242
- }, {
5243
- readonly kind: "literal";
5244
- readonly value: "DATABASE_OPERATIONS";
5245
- }, {
5246
- readonly kind: "literal";
5247
- readonly value: "DATABASE_VIEWS";
5248
- }, {
5249
- readonly kind: "literal";
5250
- readonly value: "DATABASES";
5251
- }, {
5252
- readonly kind: "literal";
5253
- readonly value: "ENDPOINTS";
5254
- }, {
5255
- readonly kind: "literal";
5256
- readonly value: "EVENTS_HISTORY";
5257
- }, {
5258
- readonly kind: "literal";
5259
- readonly value: "EVENTS";
5260
- }, {
5261
- readonly kind: "literal";
5262
- readonly value: "FILES";
5263
- }, {
5264
- readonly kind: "literal";
5265
- readonly value: "GROUPS";
5266
- }, {
5267
- readonly kind: "literal";
5268
- readonly value: "JOBS";
5269
- }, {
5270
- readonly kind: "literal";
5271
- readonly value: "LOGS";
5272
- }, {
5273
- readonly kind: "literal";
5274
- readonly value: "ME_KEYS";
5275
- }, {
5276
- readonly kind: "literal";
5277
- readonly value: "ME_SETTINGS";
5278
- }, {
5279
- readonly kind: "literal";
5280
- readonly value: "MONITORING";
5281
- }, {
5282
- readonly kind: "literal";
5283
- readonly value: "PLAYGROUND";
5284
- }, {
5285
- readonly kind: "literal";
5286
- readonly value: "PREFERENCES";
5287
- }, {
5288
- readonly kind: "literal";
5289
- readonly value: "REALTIME";
5290
- }, {
5291
- readonly kind: "literal";
5292
- readonly value: "REVISIONS";
5293
- }, {
5294
- readonly kind: "literal";
5295
- readonly value: "ROLE_GROUPS";
5296
- }, {
5297
- readonly kind: "literal";
5298
- readonly value: "SCHEDULE_HISTORY";
5299
- }, {
5300
- readonly kind: "literal";
5301
- readonly value: "SCHEDULE";
5302
- }, {
5303
- readonly kind: "literal";
5304
- readonly value: "SECRETS";
5305
- }, {
5306
- readonly kind: "literal";
5307
- readonly value: "SECURITY_SETTINGS";
5308
- }, {
5309
- readonly kind: "literal";
5310
- readonly value: "SERVICE_ACCOUNTS";
5311
- }, {
5312
- readonly kind: "literal";
5313
- readonly value: "STORAGE";
5314
- }, {
5315
- readonly kind: "literal";
5316
- readonly value: "TEMPLATES";
5317
- }, {
5318
- readonly kind: "literal";
5319
- readonly value: "THREAD";
5320
- }, {
5321
- readonly kind: "literal";
5322
- readonly value: "USER_DETAILS";
5323
- }, {
5324
- readonly kind: "literal";
5325
- readonly value: "USER_KEYS";
5326
- }, {
5327
- readonly kind: "literal";
5328
- readonly value: "USERS";
5329
- }, {
5330
- readonly kind: "literal";
5331
- readonly value: "WEB_IDE";
5332
- }, {
5333
- readonly kind: "literal";
5334
- readonly value: "WEBHOOKS";
5335
- }, {
5336
- readonly kind: "undefined";
5337
- }];
5338
- };
5339
5278
  readonly Schema_71881a69341e: {
5340
5279
  readonly kind: "union";
5341
5280
  readonly anyOf: readonly [{
@@ -6071,6 +6010,61 @@ declare const publicSdkContract: {
6071
6010
  readonly kind: "undefined";
6072
6011
  }];
6073
6012
  };
6013
+ readonly Schema_912965ea07bb: {
6014
+ readonly kind: "union";
6015
+ readonly anyOf: readonly [{
6016
+ readonly kind: "literal";
6017
+ readonly value: "Components";
6018
+ }, {
6019
+ readonly kind: "literal";
6020
+ readonly value: "DatabaseData";
6021
+ }, {
6022
+ readonly kind: "literal";
6023
+ readonly value: "Databases";
6024
+ }, {
6025
+ readonly kind: "literal";
6026
+ readonly value: "Endpoints";
6027
+ }, {
6028
+ readonly kind: "literal";
6029
+ readonly value: "Events";
6030
+ }, {
6031
+ readonly kind: "literal";
6032
+ readonly value: "EventsHistory";
6033
+ }, {
6034
+ readonly kind: "literal";
6035
+ readonly value: "Groups";
6036
+ }, {
6037
+ readonly kind: "literal";
6038
+ readonly value: "Jobs";
6039
+ }, {
6040
+ readonly kind: "literal";
6041
+ readonly value: "Keys";
6042
+ }, {
6043
+ readonly kind: "literal";
6044
+ readonly value: "Logs";
6045
+ }, {
6046
+ readonly kind: "literal";
6047
+ readonly value: "RoleGroups";
6048
+ }, {
6049
+ readonly kind: "literal";
6050
+ readonly value: "Schedule";
6051
+ }, {
6052
+ readonly kind: "literal";
6053
+ readonly value: "Secrets";
6054
+ }, {
6055
+ readonly kind: "literal";
6056
+ readonly value: "SecretsData";
6057
+ }, {
6058
+ readonly kind: "literal";
6059
+ readonly value: "Templates";
6060
+ }, {
6061
+ readonly kind: "literal";
6062
+ readonly value: "Users";
6063
+ }, {
6064
+ readonly kind: "literal";
6065
+ readonly value: "Webhooks";
6066
+ }];
6067
+ };
6074
6068
  readonly Schema_91e1571f84ba: {
6075
6069
  readonly kind: "union";
6076
6070
  readonly anyOf: readonly [{
@@ -8846,13 +8840,6 @@ declare const publicSdkContract: {
8846
8840
  readonly ref: "Schema_7c7e5579d39d";
8847
8841
  };
8848
8842
  };
8849
- readonly advancedData: {
8850
- readonly optional: true;
8851
- readonly schema: {
8852
- readonly kind: "ref";
8853
- readonly ref: "Schema_c7da9a847681";
8854
- };
8855
- };
8856
8843
  readonly memberships: {
8857
8844
  readonly optional: true;
8858
8845
  readonly schema: {
@@ -8867,13 +8854,6 @@ declare const publicSdkContract: {
8867
8854
  readonly ref: "Schema_c7da9a847681";
8868
8855
  };
8869
8856
  };
8870
- readonly metaData: {
8871
- readonly optional: true;
8872
- readonly schema: {
8873
- readonly kind: "ref";
8874
- readonly ref: "Schema_c7da9a847681";
8875
- };
8876
- };
8877
8857
  readonly metadataAdvanced: {
8878
8858
  readonly optional: true;
8879
8859
  readonly schema: {
@@ -9121,13 +9101,6 @@ declare const publicSdkContract: {
9121
9101
  readonly ref: "Schema_d5a15e3ebd18";
9122
9102
  };
9123
9103
  };
9124
- readonly advancedData: {
9125
- readonly optional: true;
9126
- readonly schema: {
9127
- readonly kind: "ref";
9128
- readonly ref: "Schema_c7da9a847681";
9129
- };
9130
- };
9131
9104
  readonly memberships: {
9132
9105
  readonly optional: true;
9133
9106
  readonly schema: {
@@ -9142,13 +9115,6 @@ declare const publicSdkContract: {
9142
9115
  readonly ref: "Schema_c7da9a847681";
9143
9116
  };
9144
9117
  };
9145
- readonly metaData: {
9146
- readonly optional: true;
9147
- readonly schema: {
9148
- readonly kind: "ref";
9149
- readonly ref: "Schema_c7da9a847681";
9150
- };
9151
- };
9152
9118
  readonly metadataAdvanced: {
9153
9119
  readonly optional: true;
9154
9120
  readonly schema: {
@@ -11557,7 +11523,7 @@ declare const publicSdkContract: {
11557
11523
  readonly optional: true;
11558
11524
  readonly schema: {
11559
11525
  readonly kind: "ref";
11560
- readonly ref: "Schema_70e008186491";
11526
+ readonly ref: "Schema_65f8dddff4ca";
11561
11527
  };
11562
11528
  };
11563
11529
  readonly filePath: {
@@ -13674,10 +13640,10 @@ declare const publicSdkContract: {
13674
13640
  readonly name: "dataSource";
13675
13641
  readonly optional: false;
13676
13642
  readonly rest: false;
13677
- readonly type: "| 'Users' | 'Groups' | 'RoleGroups' | 'Keys' | 'Secrets' | 'SecretsData' | 'Templates' | 'Events' | 'Schedule' | 'Jobs' | 'Webhooks' | 'Components' | 'Logs' | 'Files' | 'EventsHistory' | 'Endpoints' | 'Databases' | 'DatabaseData'";
13643
+ readonly type: "| 'Users' | 'Groups' | 'RoleGroups' | 'Keys' | 'Secrets' | 'SecretsData' | 'Templates' | 'Events' | 'Schedule' | 'Jobs' | 'Webhooks' | 'Components' | 'Logs' | 'EventsHistory' | 'Endpoints' | 'Databases' | 'DatabaseData'";
13678
13644
  readonly wireSchema: {
13679
13645
  readonly kind: "ref";
13680
- readonly ref: "Schema_0b465d256413";
13646
+ readonly ref: "Schema_912965ea07bb";
13681
13647
  };
13682
13648
  }, {
13683
13649
  readonly name: "request";
@@ -13690,7 +13656,7 @@ declare const publicSdkContract: {
13690
13656
  };
13691
13657
  }];
13692
13658
  }];
13693
- readonly signatureHash: "9afb90924f098e6da2de0cfe5a0f1471e3dbd587c9fe9a1415bd6270dc00d521";
13659
+ readonly signatureHash: "ecb5d70118cfa96e17f4f0c783d252007811b7cc8a5a06368bee4bd62f37eae3";
13694
13660
  }, {
13695
13661
  readonly name: "getInstanceDetails";
13696
13662
  readonly mode: "context";
@@ -13743,41 +13709,6 @@ declare const publicSdkContract: {
13743
13709
  }];
13744
13710
  }];
13745
13711
  readonly signatureHash: "2560f759626d005e23ddc004123370518cb9befb0b232b3150bd51fd9bf3dc7f";
13746
- }, {
13747
- readonly name: "getSecret";
13748
- readonly mode: "remote";
13749
- readonly overloads: readonly [{
13750
- readonly minArgs: 1;
13751
- readonly maxArgs: 1;
13752
- readonly parameters: readonly [{
13753
- readonly name: "name";
13754
- readonly optional: false;
13755
- readonly rest: false;
13756
- readonly type: "string";
13757
- readonly wireSchema: {
13758
- readonly kind: "string";
13759
- };
13760
- }];
13761
- }];
13762
- readonly signatureHash: "167a98a8e0d708817f1334e5162441f0abb285378877fdf27da9dc6ee125b207";
13763
- }, {
13764
- readonly name: "getSecrets";
13765
- readonly mode: "remote";
13766
- readonly overloads: readonly [{
13767
- readonly minArgs: 1;
13768
- readonly maxArgs: 1;
13769
- readonly parameters: readonly [{
13770
- readonly name: "name";
13771
- readonly optional: false;
13772
- readonly rest: false;
13773
- readonly type: "string[]";
13774
- readonly wireSchema: {
13775
- readonly kind: "ref";
13776
- readonly ref: "Array_5444db161839";
13777
- };
13778
- }];
13779
- }];
13780
- readonly signatureHash: "e51cf155de12403013f1375f48c0ec86115a43a8e1a6766bd4ffbd0e0a0cf92d";
13781
13712
  }, {
13782
13713
  readonly name: "httpCall";
13783
13714
  readonly mode: "remote";
@@ -18329,7 +18260,7 @@ declare const publicSdkContract: {
18329
18260
  readonly signatureHash: "5ccc1664071c855d49e7a12bfb3ead64decc64151e44a9351246b28d9eb41862";
18330
18261
  }];
18331
18262
  };
18332
- readonly contractRevision: "cda216e308d857954aa46b31185a8b653015dd1e3d84996bdf3a93745e72bd43";
18263
+ readonly contractRevision: "a8b45833ea1fa202798a2c8c009e07955b31c0cce159767844f96b9ca85b500a";
18333
18264
  };
18334
18265
 
18335
18266
  declare class RevoClient {