@azure-rest/confidential-ledger 1.1.2-beta.1 → 1.1.2-beta.2

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/commonjs/clientDefinitions.d.ts +60 -2
  3. package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
  4. package/dist/commonjs/clientDefinitions.js.map +1 -1
  5. package/dist/commonjs/models.d.ts +45 -0
  6. package/dist/commonjs/models.d.ts.map +1 -1
  7. package/dist/commonjs/models.js.map +1 -1
  8. package/dist/commonjs/outputModels.d.ts +71 -0
  9. package/dist/commonjs/outputModels.d.ts.map +1 -1
  10. package/dist/commonjs/outputModels.js.map +1 -1
  11. package/dist/commonjs/parameters.d.ts +87 -1
  12. package/dist/commonjs/parameters.d.ts.map +1 -1
  13. package/dist/commonjs/parameters.js.map +1 -1
  14. package/dist/commonjs/responses.d.ts +161 -1
  15. package/dist/commonjs/responses.d.ts.map +1 -1
  16. package/dist/commonjs/responses.js.map +1 -1
  17. package/dist/commonjs/tsdoc-metadata.json +1 -1
  18. package/dist/esm/clientDefinitions.d.ts +60 -2
  19. package/dist/esm/clientDefinitions.d.ts.map +1 -1
  20. package/dist/esm/clientDefinitions.js.map +1 -1
  21. package/dist/esm/models.d.ts +45 -0
  22. package/dist/esm/models.d.ts.map +1 -1
  23. package/dist/esm/models.js.map +1 -1
  24. package/dist/esm/outputModels.d.ts +71 -0
  25. package/dist/esm/outputModels.d.ts.map +1 -1
  26. package/dist/esm/outputModels.js.map +1 -1
  27. package/dist/esm/parameters.d.ts +87 -1
  28. package/dist/esm/parameters.d.ts.map +1 -1
  29. package/dist/esm/parameters.js.map +1 -1
  30. package/dist/esm/responses.d.ts +161 -1
  31. package/dist/esm/responses.d.ts.map +1 -1
  32. package/dist/esm/responses.js.map +1 -1
  33. package/package.json +1 -1
  34. package/review/confidential-ledger.api.md +567 -0
@@ -146,6 +146,35 @@ export interface CreateLedgerEntryQueryParamProperties {
146
146
  collectionId?: string;
147
147
  }
148
148
 
149
+ // @public
150
+ export interface CreateOrUpdateLedgerUser200Response extends HttpResponse {
151
+ // (undocumented)
152
+ body: LedgerUserMultipleRolesOutput;
153
+ // (undocumented)
154
+ status: "200";
155
+ }
156
+
157
+ // @public (undocumented)
158
+ export interface CreateOrUpdateLedgerUserBodyParam {
159
+ body: LedgerUserMultipleRolesResourceMergeAndPatch;
160
+ }
161
+
162
+ // @public
163
+ export interface CreateOrUpdateLedgerUserDefaultResponse extends HttpResponse {
164
+ // (undocumented)
165
+ body: ConfidentialLedgerErrorOutput;
166
+ // (undocumented)
167
+ status: string;
168
+ }
169
+
170
+ // @public (undocumented)
171
+ export interface CreateOrUpdateLedgerUserMediaTypesParam {
172
+ contentType?: "application/merge-patch+json";
173
+ }
174
+
175
+ // @public (undocumented)
176
+ export type CreateOrUpdateLedgerUserParameters = CreateOrUpdateLedgerUserMediaTypesParam & CreateOrUpdateLedgerUserBodyParam & RequestParameters;
177
+
149
178
  // @public
150
179
  export interface CreateOrUpdateUser200Response extends HttpResponse {
151
180
  // (undocumented)
@@ -202,6 +231,108 @@ export interface CreateUserDefinedEndpointMediaTypesParam {
202
231
  // @public (undocumented)
203
232
  export type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam & CreateUserDefinedEndpointBodyParam & RequestParameters;
204
233
 
234
+ // @public (undocumented)
235
+ export interface CreateUserDefinedFunction200Headers {
236
+ "x-ms-ccf-transaction-id"?: string;
237
+ }
238
+
239
+ // @public
240
+ export interface CreateUserDefinedFunction200Response extends HttpResponse {
241
+ // (undocumented)
242
+ body: UserDefinedFunctionOutput;
243
+ // (undocumented)
244
+ headers: RawHttpHeaders & CreateUserDefinedFunction200Headers;
245
+ // (undocumented)
246
+ status: "200";
247
+ }
248
+
249
+ // @public (undocumented)
250
+ export interface CreateUserDefinedFunction201Headers {
251
+ "x-ms-ccf-transaction-id"?: string;
252
+ }
253
+
254
+ // @public
255
+ export interface CreateUserDefinedFunction201Response extends HttpResponse {
256
+ // (undocumented)
257
+ body: UserDefinedFunctionOutput;
258
+ // (undocumented)
259
+ headers: RawHttpHeaders & CreateUserDefinedFunction201Headers;
260
+ // (undocumented)
261
+ status: "201";
262
+ }
263
+
264
+ // @public (undocumented)
265
+ export interface CreateUserDefinedFunctionBodyParam {
266
+ body: UserDefinedFunction;
267
+ }
268
+
269
+ // @public
270
+ export interface CreateUserDefinedFunctionDefaultResponse extends HttpResponse {
271
+ // (undocumented)
272
+ body: ConfidentialLedgerErrorOutput;
273
+ // (undocumented)
274
+ status: string;
275
+ }
276
+
277
+ // @public (undocumented)
278
+ export interface CreateUserDefinedFunctionMediaTypesParam {
279
+ contentType?: "application/json";
280
+ }
281
+
282
+ // @public (undocumented)
283
+ export type CreateUserDefinedFunctionParameters = CreateUserDefinedFunctionMediaTypesParam & CreateUserDefinedFunctionBodyParam & RequestParameters;
284
+
285
+ // @public
286
+ export interface CreateUserDefinedRole200Response extends HttpResponse {
287
+ // (undocumented)
288
+ status: "200";
289
+ }
290
+
291
+ // @public (undocumented)
292
+ export interface CreateUserDefinedRoleBodyParam {
293
+ body: Array<Role>;
294
+ }
295
+
296
+ // @public
297
+ export interface CreateUserDefinedRoleDefaultResponse extends HttpResponse {
298
+ // (undocumented)
299
+ body: ConfidentialLedgerErrorOutput;
300
+ // (undocumented)
301
+ status: string;
302
+ }
303
+
304
+ // @public (undocumented)
305
+ export interface CreateUserDefinedRoleMediaTypesParam {
306
+ contentType?: "application/json";
307
+ }
308
+
309
+ // @public (undocumented)
310
+ export type CreateUserDefinedRoleParameters = CreateUserDefinedRoleMediaTypesParam & CreateUserDefinedRoleBodyParam & RequestParameters;
311
+
312
+ // @public (undocumented)
313
+ export interface DeleteLedgerUser {
314
+ delete(options?: DeleteLedgerUserParameters): StreamableMethod<DeleteLedgerUser204Response | DeleteLedgerUserDefaultResponse>;
315
+ get(options?: GetLedgerUserParameters): StreamableMethod<GetLedgerUser200Response | GetLedgerUserDefaultResponse>;
316
+ patch(options: CreateOrUpdateLedgerUserParameters): StreamableMethod<CreateOrUpdateLedgerUser200Response | CreateOrUpdateLedgerUserDefaultResponse>;
317
+ }
318
+
319
+ // @public
320
+ export interface DeleteLedgerUser204Response extends HttpResponse {
321
+ // (undocumented)
322
+ status: "204";
323
+ }
324
+
325
+ // @public
326
+ export interface DeleteLedgerUserDefaultResponse extends HttpResponse {
327
+ // (undocumented)
328
+ body: ConfidentialLedgerErrorOutput;
329
+ // (undocumented)
330
+ status: string;
331
+ }
332
+
333
+ // @public (undocumented)
334
+ export type DeleteLedgerUserParameters = RequestParameters;
335
+
205
336
  // @public (undocumented)
206
337
  export interface DeleteUser {
207
338
  delete(options?: DeleteUserParameters): StreamableMethod<DeleteUser204Response | DeleteUserDefaultResponse>;
@@ -223,6 +354,58 @@ export interface DeleteUserDefaultResponse extends HttpResponse {
223
354
  status: string;
224
355
  }
225
356
 
357
+ // @public (undocumented)
358
+ export interface DeleteUserDefinedFunction {
359
+ delete(options?: DeleteUserDefinedFunctionParameters): StreamableMethod<DeleteUserDefinedFunction204Response | DeleteUserDefinedFunctionDefaultResponse>;
360
+ get(options?: GetUserDefinedFunctionParameters): StreamableMethod<GetUserDefinedFunction200Response | GetUserDefinedFunctionDefaultResponse>;
361
+ put(options: CreateUserDefinedFunctionParameters): StreamableMethod<CreateUserDefinedFunction200Response | CreateUserDefinedFunction201Response | CreateUserDefinedFunctionDefaultResponse>;
362
+ }
363
+
364
+ // @public
365
+ export interface DeleteUserDefinedFunction204Response extends HttpResponse {
366
+ // (undocumented)
367
+ status: "204";
368
+ }
369
+
370
+ // @public
371
+ export interface DeleteUserDefinedFunctionDefaultResponse extends HttpResponse {
372
+ // (undocumented)
373
+ body: ConfidentialLedgerErrorOutput;
374
+ // (undocumented)
375
+ status: string;
376
+ }
377
+
378
+ // @public (undocumented)
379
+ export type DeleteUserDefinedFunctionParameters = RequestParameters;
380
+
381
+ // @public
382
+ export interface DeleteUserDefinedRole200Response extends HttpResponse {
383
+ // (undocumented)
384
+ status: "200";
385
+ }
386
+
387
+ // @public
388
+ export interface DeleteUserDefinedRoleDefaultResponse extends HttpResponse {
389
+ // (undocumented)
390
+ body: ConfidentialLedgerErrorOutput;
391
+ // (undocumented)
392
+ status: string;
393
+ }
394
+
395
+ // @public (undocumented)
396
+ export type DeleteUserDefinedRoleParameters = DeleteUserDefinedRoleQueryParam & RequestParameters;
397
+
398
+ // @public (undocumented)
399
+ export interface DeleteUserDefinedRoleQueryParam {
400
+ // (undocumented)
401
+ queryParameters: DeleteUserDefinedRoleQueryParamProperties;
402
+ }
403
+
404
+ // @public (undocumented)
405
+ export interface DeleteUserDefinedRoleQueryParamProperties {
406
+ roleName: string;
407
+ }
408
+
226
409
  // @public (undocumented)
227
410
  export type DeleteUserParameters = RequestParameters;
228
411
 
@@ -276,6 +459,40 @@ export interface EndpointPropertiesOutput {
276
459
  redirection_strategy?: "none" | "to_primary" | "to_backup";
277
460
  }
278
461
 
462
+ // @public (undocumented)
463
+ export interface ExecuteUserDefinedFunction {
464
+ post(options?: ExecuteUserDefinedFunctionParameters): StreamableMethod<ExecuteUserDefinedFunction200Response | ExecuteUserDefinedFunctionDefaultResponse>;
465
+ }
466
+
467
+ // @public
468
+ export interface ExecuteUserDefinedFunction200Response extends HttpResponse {
469
+ // (undocumented)
470
+ body: UserDefinedFunctionExecutionResponseOutput;
471
+ // (undocumented)
472
+ status: "200";
473
+ }
474
+
475
+ // @public (undocumented)
476
+ export interface ExecuteUserDefinedFunctionBodyParam {
477
+ body?: UserDefinedFunctionExecutionProperties;
478
+ }
479
+
480
+ // @public
481
+ export interface ExecuteUserDefinedFunctionDefaultResponse extends HttpResponse {
482
+ // (undocumented)
483
+ body: ConfidentialLedgerErrorOutput;
484
+ // (undocumented)
485
+ status: string;
486
+ }
487
+
488
+ // @public (undocumented)
489
+ export interface ExecuteUserDefinedFunctionMediaTypesParam {
490
+ contentType?: "application/json";
491
+ }
492
+
493
+ // @public (undocumented)
494
+ export type ExecuteUserDefinedFunctionParameters = ExecuteUserDefinedFunctionMediaTypesParam & ExecuteUserDefinedFunctionBodyParam & RequestParameters;
495
+
279
496
  // @public
280
497
  export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
281
498
 
@@ -400,6 +617,25 @@ export interface GetLedgerEntryQueryParamProperties {
400
617
  // @public (undocumented)
401
618
  export function getLedgerIdentity(ledgerId: string, identityServiceBaseUrl?: string): Promise<LedgerIdentity>;
402
619
 
620
+ // @public
621
+ export interface GetLedgerUser200Response extends HttpResponse {
622
+ // (undocumented)
623
+ body: LedgerUserMultipleRolesOutput;
624
+ // (undocumented)
625
+ status: "200";
626
+ }
627
+
628
+ // @public
629
+ export interface GetLedgerUserDefaultResponse extends HttpResponse {
630
+ // (undocumented)
631
+ body: ConfidentialLedgerErrorOutput;
632
+ // (undocumented)
633
+ status: string;
634
+ }
635
+
636
+ // @public (undocumented)
637
+ export type GetLedgerUserParameters = RequestParameters;
638
+
403
639
  // @public
404
640
  export type GetPage<TPage> = (pageLink: string) => Promise<{
405
641
  page: TPage;
@@ -430,6 +666,31 @@ export interface GetReceiptDefaultResponse extends HttpResponse {
430
666
  // @public (undocumented)
431
667
  export type GetReceiptParameters = RequestParameters;
432
668
 
669
+ // @public (undocumented)
670
+ export interface GetRuntimeOptions {
671
+ get(options?: GetRuntimeOptionsParameters): StreamableMethod<GetRuntimeOptions200Response | GetRuntimeOptionsDefaultResponse>;
672
+ patch(options: UpdateRuntimeOptionsParameters): StreamableMethod<UpdateRuntimeOptions200Response | UpdateRuntimeOptionsDefaultResponse>;
673
+ }
674
+
675
+ // @public
676
+ export interface GetRuntimeOptions200Response extends HttpResponse {
677
+ // (undocumented)
678
+ body: JSRuntimeOptionsOutput;
679
+ // (undocumented)
680
+ status: "200";
681
+ }
682
+
683
+ // @public
684
+ export interface GetRuntimeOptionsDefaultResponse extends HttpResponse {
685
+ // (undocumented)
686
+ body: ConfidentialLedgerErrorOutput;
687
+ // (undocumented)
688
+ status: string;
689
+ }
690
+
691
+ // @public (undocumented)
692
+ export type GetRuntimeOptionsParameters = RequestParameters;
693
+
433
694
  // @public (undocumented)
434
695
  export interface GetTransactionStatus {
435
696
  get(options?: GetTransactionStatusParameters): StreamableMethod<GetTransactionStatus200Response | GetTransactionStatusDefaultResponse>;
@@ -495,6 +756,98 @@ export interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {
495
756
  // @public (undocumented)
496
757
  export type GetUserDefinedEndpointParameters = RequestParameters;
497
758
 
759
+ // @public (undocumented)
760
+ export interface GetUserDefinedEndpointsModule {
761
+ get(options: GetUserDefinedEndpointsModuleParameters): StreamableMethod<GetUserDefinedEndpointsModule200Response | GetUserDefinedEndpointsModuleDefaultResponse>;
762
+ }
763
+
764
+ // @public
765
+ export interface GetUserDefinedEndpointsModule200Response extends HttpResponse {
766
+ // (undocumented)
767
+ body: ModuleDefOutput;
768
+ // (undocumented)
769
+ status: "200";
770
+ }
771
+
772
+ // @public
773
+ export interface GetUserDefinedEndpointsModuleDefaultResponse extends HttpResponse {
774
+ // (undocumented)
775
+ body: ConfidentialLedgerErrorOutput;
776
+ // (undocumented)
777
+ status: string;
778
+ }
779
+
780
+ // @public (undocumented)
781
+ export type GetUserDefinedEndpointsModuleParameters = GetUserDefinedEndpointsModuleQueryParam & RequestParameters;
782
+
783
+ // @public (undocumented)
784
+ export interface GetUserDefinedEndpointsModuleQueryParam {
785
+ // (undocumented)
786
+ queryParameters: GetUserDefinedEndpointsModuleQueryParamProperties;
787
+ }
788
+
789
+ // @public (undocumented)
790
+ export interface GetUserDefinedEndpointsModuleQueryParamProperties {
791
+ module_name: string;
792
+ }
793
+
794
+ // @public
795
+ export interface GetUserDefinedFunction200Response extends HttpResponse {
796
+ // (undocumented)
797
+ body: UserDefinedFunctionOutput;
798
+ // (undocumented)
799
+ status: "200";
800
+ }
801
+
802
+ // @public
803
+ export interface GetUserDefinedFunctionDefaultResponse extends HttpResponse {
804
+ // (undocumented)
805
+ body: ConfidentialLedgerErrorOutput;
806
+ // (undocumented)
807
+ status: string;
808
+ }
809
+
810
+ // @public (undocumented)
811
+ export type GetUserDefinedFunctionParameters = RequestParameters;
812
+
813
+ // @public (undocumented)
814
+ export interface GetUserDefinedRole {
815
+ delete(options: DeleteUserDefinedRoleParameters): StreamableMethod<DeleteUserDefinedRole200Response | DeleteUserDefinedRoleDefaultResponse>;
816
+ get(options: GetUserDefinedRoleParameters): StreamableMethod<GetUserDefinedRole200Response | GetUserDefinedRoleDefaultResponse>;
817
+ patch(options: UpdateUserDefinedRoleParameters): StreamableMethod<UpdateUserDefinedRole200Response | UpdateUserDefinedRoleDefaultResponse>;
818
+ put(options: CreateUserDefinedRoleParameters): StreamableMethod<CreateUserDefinedRole200Response | CreateUserDefinedRoleDefaultResponse>;
819
+ }
820
+
821
+ // @public
822
+ export interface GetUserDefinedRole200Response extends HttpResponse {
823
+ // (undocumented)
824
+ body: Array<RoleOutput>;
825
+ // (undocumented)
826
+ status: "200";
827
+ }
828
+
829
+ // @public
830
+ export interface GetUserDefinedRoleDefaultResponse extends HttpResponse {
831
+ // (undocumented)
832
+ body: ConfidentialLedgerErrorOutput;
833
+ // (undocumented)
834
+ status: string;
835
+ }
836
+
837
+ // @public (undocumented)
838
+ export type GetUserDefinedRoleParameters = GetUserDefinedRoleQueryParam & RequestParameters;
839
+
840
+ // @public (undocumented)
841
+ export interface GetUserDefinedRoleQueryParam {
842
+ // (undocumented)
843
+ queryParameters: GetUserDefinedRoleQueryParamProperties;
844
+ }
845
+
846
+ // @public (undocumented)
847
+ export interface GetUserDefinedRoleQueryParamProperties {
848
+ roleName: string;
849
+ }
850
+
498
851
  // @public (undocumented)
499
852
  export type GetUserParameters = RequestParameters;
500
853
 
@@ -552,9 +905,43 @@ export function isUnexpected(response: GetUser200Response | GetUserDefaultRespon
552
905
  // @public (undocumented)
553
906
  export function isUnexpected(response: CreateOrUpdateUser200Response | CreateOrUpdateUserDefaultResponse): response is CreateOrUpdateUserDefaultResponse;
554
907
 
908
+ // @public
909
+ export interface JSRuntimeOptions {
910
+ // (undocumented)
911
+ log_exception_details?: boolean;
912
+ // (undocumented)
913
+ max_cached_interpreters?: number;
914
+ // (undocumented)
915
+ max_execution_time_ms?: number;
916
+ // (undocumented)
917
+ max_heap_bytes?: number;
918
+ // (undocumented)
919
+ max_stack_bytes?: number;
920
+ // (undocumented)
921
+ return_exception_details?: boolean;
922
+ }
923
+
924
+ // @public
925
+ export interface JSRuntimeOptionsOutput {
926
+ // (undocumented)
927
+ log_exception_details?: boolean;
928
+ // (undocumented)
929
+ max_cached_interpreters?: number;
930
+ // (undocumented)
931
+ max_execution_time_ms?: number;
932
+ // (undocumented)
933
+ max_heap_bytes?: number;
934
+ // (undocumented)
935
+ max_stack_bytes?: number;
936
+ // (undocumented)
937
+ return_exception_details?: boolean;
938
+ }
939
+
555
940
  // @public
556
941
  export interface LedgerEntry {
557
942
  contents: string;
943
+ postHooks?: Array<UserDefinedFunctionHook>;
944
+ preHooks?: Array<UserDefinedFunctionHook>;
558
945
  }
559
946
 
560
947
  // @public
@@ -570,6 +957,8 @@ export interface LedgerEntryOutput {
570
957
  // (undocumented)
571
958
  readonly collectionId?: string;
572
959
  contents: string;
960
+ postHooks?: Array<UserDefinedFunctionHookOutput>;
961
+ preHooks?: Array<UserDefinedFunctionHookOutput>;
573
962
  readonly transactionId?: string;
574
963
  }
575
964
 
@@ -592,6 +981,20 @@ export interface LedgerUser {
592
981
  assignedRole: "Administrator" | "Contributor" | "Reader";
593
982
  }
594
983
 
984
+ // @public
985
+ export interface LedgerUserMultipleRoles {
986
+ assignedRoles: Array<"Administrator" | "Contributor" | "Reader">;
987
+ }
988
+
989
+ // @public
990
+ export interface LedgerUserMultipleRolesOutput {
991
+ assignedRoles: Array<"Administrator" | "Contributor" | "Reader">;
992
+ readonly userId?: string;
993
+ }
994
+
995
+ // @public
996
+ export type LedgerUserMultipleRolesResourceMergeAndPatch = Partial<LedgerUserMultipleRoles>;
997
+
595
998
  // @public
596
999
  export interface LedgerUserOutput {
597
1000
  assignedRole: "Administrator" | "Contributor" | "Reader";
@@ -693,6 +1096,30 @@ export interface ListLedgerEntriesQueryParamProperties {
693
1096
  toTransactionId?: string;
694
1097
  }
695
1098
 
1099
+ // @public (undocumented)
1100
+ export interface ListLedgerUsers {
1101
+ get(options?: ListLedgerUsersParameters): StreamableMethod<ListLedgerUsers200Response | ListLedgerUsersDefaultResponse>;
1102
+ }
1103
+
1104
+ // @public
1105
+ export interface ListLedgerUsers200Response extends HttpResponse {
1106
+ // (undocumented)
1107
+ body: PagedLedgerUsersOutput;
1108
+ // (undocumented)
1109
+ status: "200";
1110
+ }
1111
+
1112
+ // @public
1113
+ export interface ListLedgerUsersDefaultResponse extends HttpResponse {
1114
+ // (undocumented)
1115
+ body: ConfidentialLedgerErrorOutput;
1116
+ // (undocumented)
1117
+ status: string;
1118
+ }
1119
+
1120
+ // @public (undocumented)
1121
+ export type ListLedgerUsersParameters = RequestParameters;
1122
+
696
1123
  // @public (undocumented)
697
1124
  export interface ListUserDefinedFunctions {
698
1125
  get(options?: ListUserDefinedFunctionsParameters): StreamableMethod<ListUserDefinedFunctions200Response | ListUserDefinedFunctionsDefaultResponse>;
@@ -775,6 +1202,14 @@ export interface MethodToEndpointPropertiesOutput {
775
1202
  put?: EndpointPropertiesOutput;
776
1203
  }
777
1204
 
1205
+ // @public (undocumented)
1206
+ export interface ModuleDefOutput {
1207
+ // (undocumented)
1208
+ module: string;
1209
+ // (undocumented)
1210
+ name: string;
1211
+ }
1212
+
778
1213
  // @public
779
1214
  export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
780
1215
  [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
@@ -796,6 +1231,13 @@ export interface PagedLedgerEntriesOutput {
796
1231
  state: "Loading" | "Ready";
797
1232
  }
798
1233
 
1234
+ // @public
1235
+ export interface PagedLedgerUsersOutput {
1236
+ // (undocumented)
1237
+ ledgerUsers?: Array<LedgerUserMultipleRolesOutput>;
1238
+ nextLink?: string;
1239
+ }
1240
+
799
1241
  // @public
800
1242
  export interface PagedUserDefinedFunctionsOutput {
801
1243
  // (undocumented)
@@ -884,6 +1326,20 @@ export interface ReceiptLeafComponentsOutput {
884
1326
  writeSetDigest?: string;
885
1327
  }
886
1328
 
1329
+ // @public
1330
+ export interface Role {
1331
+ // (undocumented)
1332
+ roleActions?: Array<string>;
1333
+ roleName?: string;
1334
+ }
1335
+
1336
+ // @public
1337
+ export interface RoleOutput {
1338
+ // (undocumented)
1339
+ roleActions?: Array<string>;
1340
+ roleName?: string;
1341
+ }
1342
+
887
1343
  // @public (undocumented)
888
1344
  export interface Routes {
889
1345
  (path: "/app/governance/constitution"): GetConstitution;
@@ -896,9 +1352,16 @@ export interface Routes {
896
1352
  (path: "/app/transactions/{transactionId}/status", transactionId: string): GetTransactionStatus;
897
1353
  (path: "/app/transactions/current"): GetCurrentLedgerEntry;
898
1354
  (path: "/app/users"): ListUsers;
1355
+ (path: "/app/ledgerUsers"): ListLedgerUsers;
899
1356
  (path: "/app/users/{userId}", userId: string): DeleteUser;
1357
+ (path: "/app/ledgerUsers/{userId}", userId: string): DeleteLedgerUser;
900
1358
  (path: "/app/userDefinedEndpoints"): GetUserDefinedEndpoint;
1359
+ (path: "/app/userDefinedEndpoints/runtimeOptions"): GetRuntimeOptions;
1360
+ (path: "/app/userDefinedEndpoints/modules"): GetUserDefinedEndpointsModule;
901
1361
  (path: "/app/userDefinedFunctions"): ListUserDefinedFunctions;
1362
+ (path: "/app/userDefinedFunctions/{functionId}", functionId: string): DeleteUserDefinedFunction;
1363
+ (path: "/app/userDefinedFunctions/{functionId}:execute", functionId: string): ExecuteUserDefinedFunction;
1364
+ (path: "/app/roles"): GetUserDefinedRole;
902
1365
  }
903
1366
 
904
1367
  // @public
@@ -916,6 +1379,110 @@ export interface TransactionStatusOutput {
916
1379
  transactionId: string;
917
1380
  }
918
1381
 
1382
+ // @public
1383
+ export interface UpdateRuntimeOptions200Response extends HttpResponse {
1384
+ // (undocumented)
1385
+ body: JSRuntimeOptionsOutput;
1386
+ // (undocumented)
1387
+ status: "200";
1388
+ }
1389
+
1390
+ // @public (undocumented)
1391
+ export interface UpdateRuntimeOptionsBodyParam {
1392
+ body: JSRuntimeOptions;
1393
+ }
1394
+
1395
+ // @public
1396
+ export interface UpdateRuntimeOptionsDefaultResponse extends HttpResponse {
1397
+ // (undocumented)
1398
+ body: ConfidentialLedgerErrorOutput;
1399
+ // (undocumented)
1400
+ status: string;
1401
+ }
1402
+
1403
+ // @public (undocumented)
1404
+ export interface UpdateRuntimeOptionsMediaTypesParam {
1405
+ contentType?: "application/json";
1406
+ }
1407
+
1408
+ // @public (undocumented)
1409
+ export type UpdateRuntimeOptionsParameters = UpdateRuntimeOptionsMediaTypesParam & UpdateRuntimeOptionsBodyParam & RequestParameters;
1410
+
1411
+ // @public
1412
+ export interface UpdateUserDefinedRole200Response extends HttpResponse {
1413
+ // (undocumented)
1414
+ status: "200";
1415
+ }
1416
+
1417
+ // @public (undocumented)
1418
+ export interface UpdateUserDefinedRoleBodyParam {
1419
+ body: Array<Role>;
1420
+ }
1421
+
1422
+ // @public
1423
+ export interface UpdateUserDefinedRoleDefaultResponse extends HttpResponse {
1424
+ // (undocumented)
1425
+ body: ConfidentialLedgerErrorOutput;
1426
+ // (undocumented)
1427
+ status: string;
1428
+ }
1429
+
1430
+ // @public (undocumented)
1431
+ export interface UpdateUserDefinedRoleMediaTypesParam {
1432
+ contentType?: "application/json";
1433
+ }
1434
+
1435
+ // @public (undocumented)
1436
+ export type UpdateUserDefinedRoleParameters = UpdateUserDefinedRoleMediaTypesParam & UpdateUserDefinedRoleBodyParam & RequestParameters;
1437
+
1438
+ // @public
1439
+ export interface UserDefinedFunction {
1440
+ code: string;
1441
+ }
1442
+
1443
+ // @public
1444
+ export interface UserDefinedFunctionExecutionErrorOutput {
1445
+ message?: string;
1446
+ }
1447
+
1448
+ // @public
1449
+ export interface UserDefinedFunctionExecutionProperties {
1450
+ arguments?: Array<string>;
1451
+ exportedFunctionName?: string;
1452
+ runtimeOptions?: JSRuntimeOptions;
1453
+ }
1454
+
1455
+ // @public
1456
+ export interface UserDefinedFunctionExecutionPropertiesOutput {
1457
+ arguments?: Array<string>;
1458
+ exportedFunctionName?: string;
1459
+ runtimeOptions?: JSRuntimeOptionsOutput;
1460
+ }
1461
+
1462
+ // @public
1463
+ export interface UserDefinedFunctionExecutionResponseOutput {
1464
+ error?: UserDefinedFunctionExecutionErrorOutput;
1465
+ result?: UserDefinedFunctionExecutionResultOutput;
1466
+ status: "Succeeded" | "Failed";
1467
+ }
1468
+
1469
+ // @public
1470
+ export interface UserDefinedFunctionExecutionResultOutput {
1471
+ returnValue?: string;
1472
+ }
1473
+
1474
+ // @public
1475
+ export interface UserDefinedFunctionHook {
1476
+ functionId: string;
1477
+ properties?: UserDefinedFunctionExecutionProperties;
1478
+ }
1479
+
1480
+ // @public
1481
+ export interface UserDefinedFunctionHookOutput {
1482
+ functionId: string;
1483
+ properties?: UserDefinedFunctionExecutionPropertiesOutput;
1484
+ }
1485
+
919
1486
  // @public
920
1487
  export interface UserDefinedFunctionOutput {
921
1488
  code: string;