@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
@@ -74,6 +74,10 @@ export interface LedgerEntryOutput {
74
74
  readonly collectionId?: string;
75
75
  /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */
76
76
  readonly transactionId?: string;
77
+ /** List of user defined function hooks to be executed before the ledger entry is written. */
78
+ preHooks?: Array<UserDefinedFunctionHookOutput>;
79
+ /** List of user defined function hooks to be executed after the ledger entry is written. */
80
+ postHooks?: Array<UserDefinedFunctionHookOutput>;
77
81
  }
78
82
  /** Returned as a result of a write to the Confidential Ledger, the transaction id in the response indicates when the write will become durable. */
79
83
  export interface LedgerWriteResultOutput {
@@ -162,6 +166,19 @@ export interface LedgerUserOutput {
162
166
  /** Identifier for the user. This must either be an AAD object id or a certificate fingerprint. */
163
167
  readonly userId?: string;
164
168
  }
169
+ /** Paginated users returned in response to a query. */
170
+ export interface PagedLedgerUsersOutput {
171
+ ledgerUsers?: Array<LedgerUserMultipleRolesOutput>;
172
+ /** Path from which to retrieve the next page of results. */
173
+ nextLink?: string;
174
+ }
175
+ /** Details about a Confidential Ledger user. */
176
+ export interface LedgerUserMultipleRolesOutput {
177
+ /** Represents an assignable role. */
178
+ assignedRoles: Array<"Administrator" | "Contributor" | "Reader">;
179
+ /** Identifier for the user. This must either be an AAD object id or a certificate fingerprint. */
180
+ readonly userId?: string;
181
+ }
165
182
  /** bundle for the user defined endpoints */
166
183
  export interface BundleOutput {
167
184
  metadata: MetadataOutput;
@@ -193,6 +210,35 @@ export interface EndpointPropertiesOutput {
193
210
  export interface InterpreterReusePolicyOutput {
194
211
  key: string;
195
212
  }
213
+ export interface ModuleDefOutput {
214
+ module: string;
215
+ name: string;
216
+ }
217
+ /** Hook for a user defined function execution. */
218
+ export interface UserDefinedFunctionHookOutput {
219
+ /** ID of the user defined function to execute. */
220
+ functionId: string;
221
+ /** The properties for executing a user defined function. */
222
+ properties?: UserDefinedFunctionExecutionPropertiesOutput;
223
+ }
224
+ /** The properties for executing a user defined function. */
225
+ export interface UserDefinedFunctionExecutionPropertiesOutput {
226
+ /** Runtime arguments of the user defined function. Defaults to an empty list. */
227
+ arguments?: Array<string>;
228
+ /** Name of the exported function to execute in the code of the user defined function. Defaults to main. */
229
+ exportedFunctionName?: string;
230
+ /** JS runtime options for user defined endpoints and functions */
231
+ runtimeOptions?: JSRuntimeOptionsOutput;
232
+ }
233
+ /** JS runtime options for user defined endpoints and functions */
234
+ export interface JSRuntimeOptionsOutput {
235
+ log_exception_details?: boolean;
236
+ max_cached_interpreters?: number;
237
+ max_execution_time_ms?: number;
238
+ max_heap_bytes?: number;
239
+ max_stack_bytes?: number;
240
+ return_exception_details?: boolean;
241
+ }
196
242
  /** Paginated user defined functions returned in response to a query. */
197
243
  export interface PagedUserDefinedFunctionsOutput {
198
244
  functions: Array<UserDefinedFunctionOutput>;
@@ -206,4 +252,29 @@ export interface UserDefinedFunctionOutput {
206
252
  /** ID of the user defined function. */
207
253
  readonly id?: string;
208
254
  }
255
+ /** The result of a user defined function execution. */
256
+ export interface UserDefinedFunctionExecutionResponseOutput {
257
+ /** The error object of a user defined function execution. This is returned only when the user defined function execution throws an exception. */
258
+ error?: UserDefinedFunctionExecutionErrorOutput;
259
+ /** The result object of a user defined function execution. This is returned only when the user defined function executes successfully. */
260
+ result?: UserDefinedFunctionExecutionResultOutput;
261
+ /** Represents the status of a user defined function execution. */
262
+ status: "Succeeded" | "Failed";
263
+ }
264
+ /** The error object of a user defined function execution. This is returned only when the user defined function execution throws an exception. */
265
+ export interface UserDefinedFunctionExecutionErrorOutput {
266
+ /** Message indicating the error thrown when executing the function. */
267
+ message?: string;
268
+ }
269
+ /** The result object of a user defined function execution. This is returned only when the user defined function executes successfully. */
270
+ export interface UserDefinedFunctionExecutionResultOutput {
271
+ /** String-encoded value returned by the user defined function execution. If the function does not return any value, this is set to an empty string. */
272
+ returnValue?: string;
273
+ }
274
+ /** Definition for roles */
275
+ export interface RoleOutput {
276
+ /** name of the user defined role */
277
+ roleName?: string;
278
+ roleActions?: Array<string>;
279
+ }
209
280
  //# sourceMappingURL=outputModels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAGA,iDAAiD;AACjD,MAAM,WAAW,kBAAkB;IACjC,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,kDAAkD;IAClD,QAAQ,CAAC,KAAK,CAAC,EAAE,iCAAiC,CAAC;CACpD;AAED,kDAAkD;AAClD,MAAM,WAAW,iCAAiC;IAChD,sBAAsB;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,yBAAyB;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yCAAyC;AACzC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,4CAA4C;AAC5C,MAAM,WAAW,sBAAsB;IACrC,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,sEAAsE;AACtE,MAAM,WAAW,gCAAgC;IAC/C,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CACnD;AAED,kCAAkC;AAClC,MAAM,WAAW,kBAAkB;IACjC,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,GAAG,EAAE,MAAM,CAAC;CACb;AAED,6DAA6D;AA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AoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** The governance script for the application. */\nexport interface ConstitutionOutput {\n /** SHA256 digest of the constitution script. */\n digest: string;\n /** Contents of the constitution. */\n script: string;\n}\n\n/** An error response from Confidential Ledger. */\nexport interface ConfidentialLedgerErrorOutput {\n /** An error response from Confidential Ledger. */\n readonly error?: ConfidentialLedgerErrorBodyOutput;\n}\n\n/** An error response from Confidential Ledger. */\nexport interface ConfidentialLedgerErrorBodyOutput {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n}\n\n/** List of members in the consortium. */\nexport interface ConsortiumOutput {\n members: Array<ConsortiumMemberOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Describes a member of the consortium. */\nexport interface ConsortiumMemberOutput {\n /** PEM-encoded certificate associated with the member. */\n certificate: string;\n /** Identifier assigned to the member. */\n id: string;\n}\n\n/** Information about the enclaves running the Confidential Ledger. */\nexport interface ConfidentialLedgerEnclavesOutput {\n /** Id of the Confidential Ledger node responding to the request. */\n currentNodeId: string;\n /** Dictionary of enclave quotes, indexed by node id. */\n enclaveQuotes: Record<string, EnclaveQuoteOutput>;\n}\n\n/** Contains the enclave quote. */\nexport interface EnclaveQuoteOutput {\n /** ID assigned to this node. */\n nodeId: string;\n /** MRENCLAVE value of the code running in the enclave. */\n mrenclave?: string;\n /** Version of the quote presented. */\n quoteVersion: string;\n /** Raw SGX quote, parsable by tools like Open Enclave's oeverify. */\n raw: string;\n}\n\n/** Paginated collections returned in response to a query. */\nexport interface PagedCollectionsOutput {\n collections: Array<CollectionOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Identifier for collections. */\nexport interface CollectionOutput {\n collectionId: string;\n}\n\n/** Paginated ledger entries returned in response to a query. */\nexport interface PagedLedgerEntriesOutput {\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n /** Array of ledger entries. */\n entries: Array<LedgerEntryOutput>;\n}\n\n/** An entry in the ledger. */\nexport interface LedgerEntryOutput {\n /** Contents of the ledger entry. */\n contents: string;\n readonly collectionId?: string;\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n readonly transactionId?: string;\n}\n\n/** Returned as a result of a write to the Confidential Ledger, the transaction id in the response indicates when the write will become durable. */\nexport interface LedgerWriteResultOutput {\n collectionId: string;\n}\n\n/** The result of querying for a ledger entry from an older transaction id. The ledger entry is available in the response only if the returned state is Ready. */\nexport interface LedgerQueryResultOutput {\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** The ledger entry found as a result of the query. This is only available if the query is in Ready state. */\n entry?: LedgerEntryOutput;\n}\n\n/** A receipt certifying the transaction at the specified id. */\nexport interface TransactionReceiptOutput {\n /** List of application claims. */\n applicationClaims?: Array<ApplicationClaimOutput>;\n receipt?: ReceiptContentsOutput;\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n transactionId: string;\n}\n\n/** A claim of a ledger application. */\nexport interface ApplicationClaimOutput {\n /** An application claim in digested form. */\n digest?: ClaimDigestOutput;\n /** Represents the kind of an application claim. */\n kind: \"LedgerEntry\" | \"ClaimDigest\";\n /** An application claim derived from ledger entry data. */\n ledgerEntry?: LedgerEntryClaimOutput;\n}\n\n/** An application claim in digested form. */\nexport interface ClaimDigestOutput {\n /** The digest of the application claim, in hexadecimal form. */\n value?: string;\n /** Represents the protocol to be used to compute the digest of a claim from the given claim data. */\n protocol: \"LedgerEntryV1\";\n}\n\n/** An application claim derived from ledger entry data. */\nexport interface LedgerEntryClaimOutput {\n /** Identifier of a collection. */\n collectionId?: string;\n /** Contents of a ledger entry. */\n contents?: string;\n /** Base64-encoded secret key. */\n secretKey?: string;\n /** Represents the protocol to be used to compute the digest of a claim from the given claim data. */\n protocol: \"LedgerEntryV1\";\n}\n\nexport interface ReceiptContentsOutput {\n cert?: string;\n leaf?: string;\n leafComponents?: ReceiptLeafComponentsOutput;\n nodeId: string;\n proof: Array<ReceiptElementOutput>;\n root?: string;\n serviceEndorsements?: Array<string>;\n signature: string;\n}\n\nexport interface ReceiptLeafComponentsOutput {\n claimsDigest?: string;\n commitEvidence?: string;\n writeSetDigest?: string;\n}\n\nexport interface ReceiptElementOutput {\n left?: string;\n right?: string;\n}\n\n/** Response returned to a query for the transaction status */\nexport interface TransactionStatusOutput {\n /** Represents the state of the transaction. */\n state: \"Committed\" | \"Pending\";\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n transactionId: string;\n}\n\n/** Paginated users returned in response to a query. */\nexport interface PagedUsersOutput {\n ledgerUsers?: Array<LedgerUserOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Details about a Confidential Ledger user. */\nexport interface LedgerUserOutput {\n /** Represents an assignable role. */\n assignedRole: \"Administrator\" | \"Contributor\" | \"Reader\";\n /** Identifier for the user. This must either be an AAD object id or a certificate fingerprint. */\n readonly userId?: string;\n}\n\n/** bundle for the user defined endpoints */\nexport interface BundleOutput {\n metadata: MetadataOutput;\n /** Any object */\n modules: Record<string, unknown>;\n}\n\nexport interface MetadataOutput {\n /** A map of path to method endpoints for the path */\n endpoints: Record<string, MethodToEndpointPropertiesOutput>;\n}\n\nexport interface MethodToEndpointPropertiesOutput {\n get?: EndpointPropertiesOutput;\n put?: EndpointPropertiesOutput;\n patch?: EndpointPropertiesOutput;\n delete?: EndpointPropertiesOutput;\n}\n\nexport interface EndpointPropertiesOutput {\n authn_policies: Array<any>;\n forwarding_required: \"sometimes\" | \"always\" | \"never\";\n interpreter_reuse?: InterpreterReusePolicyOutput;\n js_function?: string;\n js_module?: string;\n mode?: \"readwrite\" | \"readonly\" | \"historical\";\n /** Anything */\n openapi?: any;\n openapi_hidden?: boolean;\n redirection_strategy?: \"none\" | \"to_primary\" | \"to_backup\";\n}\n\nexport interface InterpreterReusePolicyOutput {\n key: string;\n}\n\n/** Paginated user defined functions returned in response to a query. */\nexport interface PagedUserDefinedFunctionsOutput {\n functions: Array<UserDefinedFunctionOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** A user defined function in the ledger. */\nexport interface UserDefinedFunctionOutput {\n /** Code of the user defined function in JavaScript. */\n code: string;\n /** ID of the user defined function. */\n readonly id?: string;\n}\n"]}
1
+ {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** The governance script for the application. */\nexport interface ConstitutionOutput {\n /** SHA256 digest of the constitution script. */\n digest: string;\n /** Contents of the constitution. */\n script: string;\n}\n\n/** An error response from Confidential Ledger. */\nexport interface ConfidentialLedgerErrorOutput {\n /** An error response from Confidential Ledger. */\n readonly error?: ConfidentialLedgerErrorBodyOutput;\n}\n\n/** An error response from Confidential Ledger. */\nexport interface ConfidentialLedgerErrorBodyOutput {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n}\n\n/** List of members in the consortium. */\nexport interface ConsortiumOutput {\n members: Array<ConsortiumMemberOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Describes a member of the consortium. */\nexport interface ConsortiumMemberOutput {\n /** PEM-encoded certificate associated with the member. */\n certificate: string;\n /** Identifier assigned to the member. */\n id: string;\n}\n\n/** Information about the enclaves running the Confidential Ledger. */\nexport interface ConfidentialLedgerEnclavesOutput {\n /** Id of the Confidential Ledger node responding to the request. */\n currentNodeId: string;\n /** Dictionary of enclave quotes, indexed by node id. */\n enclaveQuotes: Record<string, EnclaveQuoteOutput>;\n}\n\n/** Contains the enclave quote. */\nexport interface EnclaveQuoteOutput {\n /** ID assigned to this node. */\n nodeId: string;\n /** MRENCLAVE value of the code running in the enclave. */\n mrenclave?: string;\n /** Version of the quote presented. */\n quoteVersion: string;\n /** Raw SGX quote, parsable by tools like Open Enclave's oeverify. */\n raw: string;\n}\n\n/** Paginated collections returned in response to a query. */\nexport interface PagedCollectionsOutput {\n collections: Array<CollectionOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Identifier for collections. */\nexport interface CollectionOutput {\n collectionId: string;\n}\n\n/** Paginated ledger entries returned in response to a query. */\nexport interface PagedLedgerEntriesOutput {\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n /** Array of ledger entries. */\n entries: Array<LedgerEntryOutput>;\n}\n\n/** An entry in the ledger. */\nexport interface LedgerEntryOutput {\n /** Contents of the ledger entry. */\n contents: string;\n readonly collectionId?: string;\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n readonly transactionId?: string;\n /** List of user defined function hooks to be executed before the ledger entry is written. */\n preHooks?: Array<UserDefinedFunctionHookOutput>;\n /** List of user defined function hooks to be executed after the ledger entry is written. */\n postHooks?: Array<UserDefinedFunctionHookOutput>;\n}\n\n/** Returned as a result of a write to the Confidential Ledger, the transaction id in the response indicates when the write will become durable. */\nexport interface LedgerWriteResultOutput {\n collectionId: string;\n}\n\n/** The result of querying for a ledger entry from an older transaction id. The ledger entry is available in the response only if the returned state is Ready. */\nexport interface LedgerQueryResultOutput {\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** The ledger entry found as a result of the query. This is only available if the query is in Ready state. */\n entry?: LedgerEntryOutput;\n}\n\n/** A receipt certifying the transaction at the specified id. */\nexport interface TransactionReceiptOutput {\n /** List of application claims. */\n applicationClaims?: Array<ApplicationClaimOutput>;\n receipt?: ReceiptContentsOutput;\n /** State of a ledger query. */\n state: \"Loading\" | \"Ready\";\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n transactionId: string;\n}\n\n/** A claim of a ledger application. */\nexport interface ApplicationClaimOutput {\n /** An application claim in digested form. */\n digest?: ClaimDigestOutput;\n /** Represents the kind of an application claim. */\n kind: \"LedgerEntry\" | \"ClaimDigest\";\n /** An application claim derived from ledger entry data. */\n ledgerEntry?: LedgerEntryClaimOutput;\n}\n\n/** An application claim in digested form. */\nexport interface ClaimDigestOutput {\n /** The digest of the application claim, in hexadecimal form. */\n value?: string;\n /** Represents the protocol to be used to compute the digest of a claim from the given claim data. */\n protocol: \"LedgerEntryV1\";\n}\n\n/** An application claim derived from ledger entry data. */\nexport interface LedgerEntryClaimOutput {\n /** Identifier of a collection. */\n collectionId?: string;\n /** Contents of a ledger entry. */\n contents?: string;\n /** Base64-encoded secret key. */\n secretKey?: string;\n /** Represents the protocol to be used to compute the digest of a claim from the given claim data. */\n protocol: \"LedgerEntryV1\";\n}\n\nexport interface ReceiptContentsOutput {\n cert?: string;\n leaf?: string;\n leafComponents?: ReceiptLeafComponentsOutput;\n nodeId: string;\n proof: Array<ReceiptElementOutput>;\n root?: string;\n serviceEndorsements?: Array<string>;\n signature: string;\n}\n\nexport interface ReceiptLeafComponentsOutput {\n claimsDigest?: string;\n commitEvidence?: string;\n writeSetDigest?: string;\n}\n\nexport interface ReceiptElementOutput {\n left?: string;\n right?: string;\n}\n\n/** Response returned to a query for the transaction status */\nexport interface TransactionStatusOutput {\n /** Represents the state of the transaction. */\n state: \"Committed\" | \"Pending\";\n /** A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. */\n transactionId: string;\n}\n\n/** Paginated users returned in response to a query. */\nexport interface PagedUsersOutput {\n ledgerUsers?: Array<LedgerUserOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Details about a Confidential Ledger user. */\nexport interface LedgerUserOutput {\n /** Represents an assignable role. */\n assignedRole: \"Administrator\" | \"Contributor\" | \"Reader\";\n /** Identifier for the user. This must either be an AAD object id or a certificate fingerprint. */\n readonly userId?: string;\n}\n\n/** Paginated users returned in response to a query. */\nexport interface PagedLedgerUsersOutput {\n ledgerUsers?: Array<LedgerUserMultipleRolesOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** Details about a Confidential Ledger user. */\nexport interface LedgerUserMultipleRolesOutput {\n /** Represents an assignable role. */\n assignedRoles: Array<\"Administrator\" | \"Contributor\" | \"Reader\">;\n /** Identifier for the user. This must either be an AAD object id or a certificate fingerprint. */\n readonly userId?: string;\n}\n\n/** bundle for the user defined endpoints */\nexport interface BundleOutput {\n metadata: MetadataOutput;\n /** Any object */\n modules: Record<string, unknown>;\n}\n\nexport interface MetadataOutput {\n /** A map of path to method endpoints for the path */\n endpoints: Record<string, MethodToEndpointPropertiesOutput>;\n}\n\nexport interface MethodToEndpointPropertiesOutput {\n get?: EndpointPropertiesOutput;\n put?: EndpointPropertiesOutput;\n patch?: EndpointPropertiesOutput;\n delete?: EndpointPropertiesOutput;\n}\n\nexport interface EndpointPropertiesOutput {\n authn_policies: Array<any>;\n forwarding_required: \"sometimes\" | \"always\" | \"never\";\n interpreter_reuse?: InterpreterReusePolicyOutput;\n js_function?: string;\n js_module?: string;\n mode?: \"readwrite\" | \"readonly\" | \"historical\";\n /** Anything */\n openapi?: any;\n openapi_hidden?: boolean;\n redirection_strategy?: \"none\" | \"to_primary\" | \"to_backup\";\n}\n\nexport interface InterpreterReusePolicyOutput {\n key: string;\n}\n\nexport interface ModuleDefOutput {\n module: string;\n name: string;\n}\n\n/** Hook for a user defined function execution. */\nexport interface UserDefinedFunctionHookOutput {\n /** ID of the user defined function to execute. */\n functionId: string;\n /** The properties for executing a user defined function. */\n properties?: UserDefinedFunctionExecutionPropertiesOutput;\n}\n\n/** The properties for executing a user defined function. */\nexport interface UserDefinedFunctionExecutionPropertiesOutput {\n /** Runtime arguments of the user defined function. Defaults to an empty list. */\n arguments?: Array<string>;\n /** Name of the exported function to execute in the code of the user defined function. Defaults to main. */\n exportedFunctionName?: string;\n /** JS runtime options for user defined endpoints and functions */\n runtimeOptions?: JSRuntimeOptionsOutput;\n}\n\n/** JS runtime options for user defined endpoints and functions */\nexport interface JSRuntimeOptionsOutput {\n log_exception_details?: boolean;\n max_cached_interpreters?: number;\n max_execution_time_ms?: number;\n max_heap_bytes?: number;\n max_stack_bytes?: number;\n return_exception_details?: boolean;\n}\n\n/** Paginated user defined functions returned in response to a query. */\nexport interface PagedUserDefinedFunctionsOutput {\n functions: Array<UserDefinedFunctionOutput>;\n /** Path from which to retrieve the next page of results. */\n nextLink?: string;\n}\n\n/** A user defined function in the ledger. */\nexport interface UserDefinedFunctionOutput {\n /** Code of the user defined function in JavaScript. */\n code: string;\n /** ID of the user defined function. */\n readonly id?: string;\n}\n\n/** The result of a user defined function execution. */\nexport interface UserDefinedFunctionExecutionResponseOutput {\n /** The error object of a user defined function execution. This is returned only when the user defined function execution throws an exception. */\n error?: UserDefinedFunctionExecutionErrorOutput;\n /** The result object of a user defined function execution. This is returned only when the user defined function executes successfully. */\n result?: UserDefinedFunctionExecutionResultOutput;\n /** Represents the status of a user defined function execution. */\n status: \"Succeeded\" | \"Failed\";\n}\n\n/** The error object of a user defined function execution. This is returned only when the user defined function execution throws an exception. */\nexport interface UserDefinedFunctionExecutionErrorOutput {\n /** Message indicating the error thrown when executing the function. */\n message?: string;\n}\n\n/** The result object of a user defined function execution. This is returned only when the user defined function executes successfully. */\nexport interface UserDefinedFunctionExecutionResultOutput {\n /** String-encoded value returned by the user defined function execution. If the function does not return any value, this is set to an empty string. */\n returnValue?: string;\n}\n\n/** Definition for roles */\nexport interface RoleOutput {\n /** name of the user defined role */\n roleName?: string;\n roleActions?: Array<string>;\n}\n"]}
@@ -1,10 +1,38 @@
1
1
  import type { RequestParameters } from "@azure-rest/core-client";
2
- import type { Bundle, LedgerEntry, LedgerUser } from "./models.js";
2
+ import type { Bundle, LedgerEntry, LedgerUser, LedgerUserMultipleRoles, UserDefinedFunction, UserDefinedFunctionExecutionProperties, JSRuntimeOptions, Role } from "./models.js";
3
3
  export type GetConstitutionParameters = RequestParameters;
4
4
  export type ListConsortiumMembersParameters = RequestParameters;
5
5
  export type GetEnclaveQuotesParameters = RequestParameters;
6
6
  export type ListCollectionsParameters = RequestParameters;
7
7
  export type ListUserDefinedFunctionsParameters = RequestParameters;
8
+ export type DeleteUserDefinedFunctionParameters = RequestParameters;
9
+ export type GetUserDefinedFunctionParameters = RequestParameters;
10
+ export type GetRuntimeOptionsParameters = RequestParameters;
11
+ export type GetUserDefinedEndpointsModuleParameters = GetUserDefinedEndpointsModuleQueryParam & RequestParameters;
12
+ export interface GetUserDefinedEndpointsModuleQueryParam {
13
+ queryParameters: GetUserDefinedEndpointsModuleQueryParamProperties;
14
+ }
15
+ export interface GetUserDefinedEndpointsModuleQueryParamProperties {
16
+ /** module name of the user defined endpoint */
17
+ module_name: string;
18
+ }
19
+ export interface GetUserDefinedRoleQueryParamProperties {
20
+ /** user defined role name */
21
+ roleName: string;
22
+ }
23
+ export interface GetUserDefinedRoleQueryParam {
24
+ queryParameters: GetUserDefinedRoleQueryParamProperties;
25
+ }
26
+ export type GetUserDefinedRoleParameters = GetUserDefinedRoleQueryParam & RequestParameters;
27
+ export interface CreateUserDefinedRoleBodyParam {
28
+ /** user defined role */
29
+ body: Array<Role>;
30
+ }
31
+ export interface CreateUserDefinedRoleMediaTypesParam {
32
+ /** Request content type */
33
+ contentType?: "application/json";
34
+ }
35
+ export type CreateUserDefinedRoleParameters = CreateUserDefinedRoleMediaTypesParam & CreateUserDefinedRoleBodyParam & RequestParameters;
8
36
  export interface ListLedgerEntriesQueryParamProperties {
9
37
  /** The collection id. */
10
38
  collectionId?: string;
@@ -52,6 +80,9 @@ export interface GetCurrentLedgerEntryQueryParam {
52
80
  }
53
81
  export type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;
54
82
  export type ListUsersParameters = RequestParameters;
83
+ export type ListLedgerUsersParameters = RequestParameters;
84
+ export type DeleteLedgerUserParameters = RequestParameters;
85
+ export type GetLedgerUserParameters = RequestParameters;
55
86
  export type DeleteUserParameters = RequestParameters;
56
87
  export type GetUserParameters = RequestParameters;
57
88
  /** Details about a Confidential Ledger user. */
@@ -64,6 +95,17 @@ export interface CreateOrUpdateUserMediaTypesParam {
64
95
  /** Request content type */
65
96
  contentType?: "application/merge-patch+json";
66
97
  }
98
+ /** Details about a Confidential Ledger user with multiple roles. */
99
+ export type LedgerUserMultipleRolesResourceMergeAndPatch = Partial<LedgerUserMultipleRoles>;
100
+ export interface CreateOrUpdateLedgerUserBodyParam {
101
+ /** Details about a Confidential Ledger user with multiple roles. */
102
+ body: LedgerUserMultipleRolesResourceMergeAndPatch;
103
+ }
104
+ export interface CreateOrUpdateLedgerUserMediaTypesParam {
105
+ /** Request content type */
106
+ contentType?: "application/merge-patch+json";
107
+ }
108
+ export type CreateOrUpdateLedgerUserParameters = CreateOrUpdateLedgerUserMediaTypesParam & CreateOrUpdateLedgerUserBodyParam & RequestParameters;
67
109
  export type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam & CreateOrUpdateUserBodyParam & RequestParameters;
68
110
  export type GetUserDefinedEndpointParameters = RequestParameters;
69
111
  export interface CreateUserDefinedEndpointBodyParam {
@@ -75,4 +117,48 @@ export interface CreateUserDefinedEndpointMediaTypesParam {
75
117
  contentType?: "application/json";
76
118
  }
77
119
  export type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam & CreateUserDefinedEndpointBodyParam & RequestParameters;
120
+ export interface UpdateRuntimeOptionsBodyParam {
121
+ /** JS runtime options */
122
+ body: JSRuntimeOptions;
123
+ }
124
+ export interface UpdateRuntimeOptionsMediaTypesParam {
125
+ /** Request content type */
126
+ contentType?: "application/json";
127
+ }
128
+ export type UpdateRuntimeOptionsParameters = UpdateRuntimeOptionsMediaTypesParam & UpdateRuntimeOptionsBodyParam & RequestParameters;
129
+ export interface UpdateUserDefinedRoleBodyParam {
130
+ /** user defined role */
131
+ body: Array<Role>;
132
+ }
133
+ export interface UpdateUserDefinedRoleMediaTypesParam {
134
+ /** Request content type */
135
+ contentType?: "application/json";
136
+ }
137
+ export type UpdateUserDefinedRoleParameters = UpdateUserDefinedRoleMediaTypesParam & UpdateUserDefinedRoleBodyParam & RequestParameters;
138
+ export interface CreateUserDefinedFunctionBodyParam {
139
+ /** Specify a user defined function of a Confidential Ledger. */
140
+ body: UserDefinedFunction;
141
+ }
142
+ export interface CreateUserDefinedFunctionMediaTypesParam {
143
+ /** Request content type */
144
+ contentType?: "application/json";
145
+ }
146
+ export type CreateUserDefinedFunctionParameters = CreateUserDefinedFunctionMediaTypesParam & CreateUserDefinedFunctionBodyParam & RequestParameters;
147
+ export interface ExecuteUserDefinedFunctionBodyParam {
148
+ /** Specify user defined function execution properties. */
149
+ body?: UserDefinedFunctionExecutionProperties;
150
+ }
151
+ export interface ExecuteUserDefinedFunctionMediaTypesParam {
152
+ /** Request content type */
153
+ contentType?: "application/json";
154
+ }
155
+ export type ExecuteUserDefinedFunctionParameters = ExecuteUserDefinedFunctionMediaTypesParam & ExecuteUserDefinedFunctionBodyParam & RequestParameters;
156
+ export interface DeleteUserDefinedRoleQueryParamProperties {
157
+ /** user defined role name */
158
+ roleName: string;
159
+ }
160
+ export interface DeleteUserDefinedRoleQueryParam {
161
+ queryParameters: DeleteUserDefinedRoleQueryParamProperties;
162
+ }
163
+ export type DeleteUserDefinedRoleParameters = DeleteUserDefinedRoleQueryParam & RequestParameters;
78
164
  //# sourceMappingURL=parameters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/parameters.ts"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+1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type { Bundle, LedgerEntry, LedgerUser } from \"./models.js\";\n\nexport type GetConstitutionParameters = RequestParameters;\nexport type ListConsortiumMembersParameters = RequestParameters;\nexport type GetEnclaveQuotesParameters = RequestParameters;\nexport type ListCollectionsParameters = RequestParameters;\nexport type ListUserDefinedFunctionsParameters = RequestParameters;\n\nexport interface ListLedgerEntriesQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n /** Specify the first transaction ID in a range. */\n fromTransactionId?: string;\n /** Specify the last transaction ID in a range. */\n toTransactionId?: string;\n}\n\nexport interface ListLedgerEntriesQueryParam {\n queryParameters?: ListLedgerEntriesQueryParamProperties;\n}\n\nexport type ListLedgerEntriesParameters = ListLedgerEntriesQueryParam & RequestParameters;\n\nexport interface CreateLedgerEntryBodyParam {\n /** Ledger entry. */\n body: LedgerEntry;\n}\n\nexport interface CreateLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface CreateLedgerEntryQueryParam {\n queryParameters?: CreateLedgerEntryQueryParamProperties;\n}\n\nexport interface CreateLedgerEntryMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateLedgerEntryParameters = CreateLedgerEntryQueryParam &\n CreateLedgerEntryMediaTypesParam &\n CreateLedgerEntryBodyParam &\n RequestParameters;\n\nexport interface GetLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetLedgerEntryQueryParam {\n queryParameters?: GetLedgerEntryQueryParamProperties;\n}\n\nexport type GetLedgerEntryParameters = GetLedgerEntryQueryParam & RequestParameters;\nexport type GetReceiptParameters = RequestParameters;\nexport type GetTransactionStatusParameters = RequestParameters;\n\nexport interface GetCurrentLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetCurrentLedgerEntryQueryParam {\n queryParameters?: GetCurrentLedgerEntryQueryParamProperties;\n}\n\nexport type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;\nexport type ListUsersParameters = RequestParameters;\nexport type DeleteUserParameters = RequestParameters;\nexport type GetUserParameters = RequestParameters;\n/** Details about a Confidential Ledger user. */\nexport type LedgerUserResourceMergeAndPatch = Partial<LedgerUser>;\n\nexport interface CreateOrUpdateUserBodyParam {\n /** Details about a Confidential Ledger user. */\n body: LedgerUserResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam &\n CreateOrUpdateUserBodyParam &\n RequestParameters;\n\nexport type GetUserDefinedEndpointParameters = RequestParameters;\n\nexport interface CreateUserDefinedEndpointBodyParam {\n /** bundle parameter description */\n body: Bundle;\n}\n\nexport interface CreateUserDefinedEndpointMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam &\n CreateUserDefinedEndpointBodyParam &\n RequestParameters;\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n Bundle,\n LedgerEntry,\n LedgerUser,\n LedgerUserMultipleRoles,\n UserDefinedFunction,\n UserDefinedFunctionExecutionProperties,\n JSRuntimeOptions,\n Role,\n} from \"./models.js\";\n\nexport type GetConstitutionParameters = RequestParameters;\nexport type ListConsortiumMembersParameters = RequestParameters;\nexport type GetEnclaveQuotesParameters = RequestParameters;\nexport type ListCollectionsParameters = RequestParameters;\nexport type ListUserDefinedFunctionsParameters = RequestParameters;\nexport type DeleteUserDefinedFunctionParameters = RequestParameters;\nexport type GetUserDefinedFunctionParameters = RequestParameters;\nexport type GetRuntimeOptionsParameters = RequestParameters;\nexport type GetUserDefinedEndpointsModuleParameters = GetUserDefinedEndpointsModuleQueryParam &\n RequestParameters;\n\nexport interface GetUserDefinedEndpointsModuleQueryParam {\n queryParameters: GetUserDefinedEndpointsModuleQueryParamProperties;\n}\n\nexport interface GetUserDefinedEndpointsModuleQueryParamProperties {\n /** module name of the user defined endpoint */\n module_name: string;\n}\n\nexport interface GetUserDefinedRoleQueryParamProperties {\n /** user defined role name */\n roleName: string;\n}\n\nexport interface GetUserDefinedRoleQueryParam {\n queryParameters: GetUserDefinedRoleQueryParamProperties;\n}\n\nexport type GetUserDefinedRoleParameters = GetUserDefinedRoleQueryParam & RequestParameters;\n\nexport interface CreateUserDefinedRoleBodyParam {\n /** user defined role */\n body: Array<Role>;\n}\n\nexport interface CreateUserDefinedRoleMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedRoleParameters = CreateUserDefinedRoleMediaTypesParam &\n CreateUserDefinedRoleBodyParam &\n RequestParameters;\n\nexport interface ListLedgerEntriesQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n /** Specify the first transaction ID in a range. */\n fromTransactionId?: string;\n /** Specify the last transaction ID in a range. */\n toTransactionId?: string;\n}\n\nexport interface ListLedgerEntriesQueryParam {\n queryParameters?: ListLedgerEntriesQueryParamProperties;\n}\n\nexport type ListLedgerEntriesParameters = ListLedgerEntriesQueryParam & RequestParameters;\n\nexport interface CreateLedgerEntryBodyParam {\n /** Ledger entry. */\n body: LedgerEntry;\n}\n\nexport interface CreateLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface CreateLedgerEntryQueryParam {\n queryParameters?: CreateLedgerEntryQueryParamProperties;\n}\n\nexport interface CreateLedgerEntryMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateLedgerEntryParameters = CreateLedgerEntryQueryParam &\n CreateLedgerEntryMediaTypesParam &\n CreateLedgerEntryBodyParam &\n RequestParameters;\n\nexport interface GetLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetLedgerEntryQueryParam {\n queryParameters?: GetLedgerEntryQueryParamProperties;\n}\n\nexport type GetLedgerEntryParameters = GetLedgerEntryQueryParam & RequestParameters;\nexport type GetReceiptParameters = RequestParameters;\nexport type GetTransactionStatusParameters = RequestParameters;\n\nexport interface GetCurrentLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetCurrentLedgerEntryQueryParam {\n queryParameters?: GetCurrentLedgerEntryQueryParamProperties;\n}\n\nexport type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;\nexport type ListUsersParameters = RequestParameters;\nexport type ListLedgerUsersParameters = RequestParameters;\nexport type DeleteLedgerUserParameters = RequestParameters;\nexport type GetLedgerUserParameters = RequestParameters;\nexport type DeleteUserParameters = RequestParameters;\nexport type GetUserParameters = RequestParameters;\n/** Details about a Confidential Ledger user. */\nexport type LedgerUserResourceMergeAndPatch = Partial<LedgerUser>;\n\nexport interface CreateOrUpdateUserBodyParam {\n /** Details about a Confidential Ledger user. */\n body: LedgerUserResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\n/** Details about a Confidential Ledger user with multiple roles. */\nexport type LedgerUserMultipleRolesResourceMergeAndPatch = Partial<LedgerUserMultipleRoles>;\n\nexport interface CreateOrUpdateLedgerUserBodyParam {\n /** Details about a Confidential Ledger user with multiple roles. */\n body: LedgerUserMultipleRolesResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateLedgerUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type CreateOrUpdateLedgerUserParameters = CreateOrUpdateLedgerUserMediaTypesParam &\n CreateOrUpdateLedgerUserBodyParam &\n RequestParameters;\n\nexport type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam &\n CreateOrUpdateUserBodyParam &\n RequestParameters;\n\nexport type GetUserDefinedEndpointParameters = RequestParameters;\n\nexport interface CreateUserDefinedEndpointBodyParam {\n /** bundle parameter description */\n body: Bundle;\n}\n\nexport interface CreateUserDefinedEndpointMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam &\n CreateUserDefinedEndpointBodyParam &\n RequestParameters;\n\nexport interface UpdateRuntimeOptionsBodyParam {\n /** JS runtime options */\n body: JSRuntimeOptions;\n}\n\nexport interface UpdateRuntimeOptionsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdateRuntimeOptionsParameters = UpdateRuntimeOptionsMediaTypesParam &\n UpdateRuntimeOptionsBodyParam &\n RequestParameters;\n\nexport interface UpdateUserDefinedRoleBodyParam {\n /** user defined role */\n body: Array<Role>;\n}\n\nexport interface UpdateUserDefinedRoleMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdateUserDefinedRoleParameters = UpdateUserDefinedRoleMediaTypesParam &\n UpdateUserDefinedRoleBodyParam &\n RequestParameters;\n\nexport interface CreateUserDefinedFunctionBodyParam {\n /** Specify a user defined function of a Confidential Ledger. */\n body: UserDefinedFunction;\n}\n\nexport interface CreateUserDefinedFunctionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedFunctionParameters = CreateUserDefinedFunctionMediaTypesParam &\n CreateUserDefinedFunctionBodyParam &\n RequestParameters;\n\nexport interface ExecuteUserDefinedFunctionBodyParam {\n /** Specify user defined function execution properties. */\n body?: UserDefinedFunctionExecutionProperties;\n}\n\nexport interface ExecuteUserDefinedFunctionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ExecuteUserDefinedFunctionParameters = ExecuteUserDefinedFunctionMediaTypesParam &\n ExecuteUserDefinedFunctionBodyParam &\n RequestParameters;\n\nexport interface DeleteUserDefinedRoleQueryParamProperties {\n /** user defined role name */\n roleName: string;\n}\n\nexport interface DeleteUserDefinedRoleQueryParam {\n queryParameters: DeleteUserDefinedRoleQueryParamProperties;\n}\n\nexport type DeleteUserDefinedRoleParameters = DeleteUserDefinedRoleQueryParam & RequestParameters;\n"]}
@@ -1,6 +1,6 @@
1
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
2
  import type { HttpResponse } from "@azure-rest/core-client";
3
- import type { ConstitutionOutput, BundleOutput, ConfidentialLedgerErrorOutput, ConsortiumOutput, ConfidentialLedgerEnclavesOutput, PagedCollectionsOutput, PagedLedgerEntriesOutput, LedgerWriteResultOutput, LedgerQueryResultOutput, TransactionReceiptOutput, TransactionStatusOutput, LedgerEntryOutput, PagedUsersOutput, LedgerUserOutput, PagedUserDefinedFunctionsOutput } from "./outputModels.js";
3
+ import type { ConstitutionOutput, BundleOutput, ConfidentialLedgerErrorOutput, ConsortiumOutput, ConfidentialLedgerEnclavesOutput, PagedCollectionsOutput, PagedLedgerEntriesOutput, LedgerWriteResultOutput, LedgerQueryResultOutput, TransactionReceiptOutput, TransactionStatusOutput, LedgerEntryOutput, PagedUsersOutput, PagedLedgerUsersOutput, LedgerUserOutput, LedgerUserMultipleRolesOutput, PagedUserDefinedFunctionsOutput, UserDefinedFunctionOutput, UserDefinedFunctionExecutionResponseOutput, JSRuntimeOptionsOutput, ModuleDefOutput, RoleOutput } from "./outputModels.js";
4
4
  /** The constitution is a script that assesses and applies proposals from consortium members. */
5
5
  export interface GetConstitution200Response extends HttpResponse {
6
6
  status: "200";
@@ -125,6 +125,45 @@ export interface ListUsersDefaultResponse extends HttpResponse {
125
125
  status: string;
126
126
  body: ConfidentialLedgerErrorOutput;
127
127
  }
128
+ /** All users' object IDs and multiple roles will be returned. */
129
+ export interface ListLedgerUsers200Response extends HttpResponse {
130
+ status: "200";
131
+ body: PagedLedgerUsersOutput;
132
+ }
133
+ /** All users' object IDs and multiple roles will be returned. */
134
+ export interface ListLedgerUsersDefaultResponse extends HttpResponse {
135
+ status: string;
136
+ body: ConfidentialLedgerErrorOutput;
137
+ }
138
+ /** Deletes a user with multiple roles from the Confidential Ledger. */
139
+ export interface DeleteLedgerUser204Response extends HttpResponse {
140
+ status: "204";
141
+ }
142
+ /** Deletes a user with multiple roles from the Confidential Ledger. */
143
+ export interface DeleteLedgerUserDefaultResponse extends HttpResponse {
144
+ status: string;
145
+ body: ConfidentialLedgerErrorOutput;
146
+ }
147
+ /** Gets a user with multiple roles. */
148
+ export interface GetLedgerUser200Response extends HttpResponse {
149
+ status: "200";
150
+ body: LedgerUserMultipleRolesOutput;
151
+ }
152
+ /** Gets a user with multiple roles. */
153
+ export interface GetLedgerUserDefaultResponse extends HttpResponse {
154
+ status: string;
155
+ body: ConfidentialLedgerErrorOutput;
156
+ }
157
+ /** A JSON merge patch is applied for existing users */
158
+ export interface CreateOrUpdateLedgerUser200Response extends HttpResponse {
159
+ status: "200";
160
+ body: LedgerUserMultipleRolesOutput;
161
+ }
162
+ /** A JSON merge patch is applied for existing users */
163
+ export interface CreateOrUpdateLedgerUserDefaultResponse extends HttpResponse {
164
+ status: string;
165
+ body: ConfidentialLedgerErrorOutput;
166
+ }
128
167
  /** Deletes a user from the Confidential Ledger. */
129
168
  export interface DeleteUser204Response extends HttpResponse {
130
169
  status: "204";
@@ -164,6 +203,36 @@ export interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {
164
203
  status: string;
165
204
  body: ConfidentialLedgerErrorOutput;
166
205
  }
206
+ /** It returns the runtime options */
207
+ export interface GetRuntimeOptions200Response extends HttpResponse {
208
+ status: "200";
209
+ body: JSRuntimeOptionsOutput;
210
+ }
211
+ /** It returns the runtime options */
212
+ export interface GetRuntimeOptionsDefaultResponse extends HttpResponse {
213
+ status: string;
214
+ body: ConfidentialLedgerErrorOutput;
215
+ }
216
+ /** Updates the runtime options. */
217
+ export interface UpdateRuntimeOptions200Response extends HttpResponse {
218
+ status: "200";
219
+ body: JSRuntimeOptionsOutput;
220
+ }
221
+ /** Updates the runtime options. */
222
+ export interface UpdateRuntimeOptionsDefaultResponse extends HttpResponse {
223
+ status: string;
224
+ body: ConfidentialLedgerErrorOutput;
225
+ }
226
+ /** It gets the module for the user defined endpoint. */
227
+ export interface GetUserDefinedEndpointsModule200Response extends HttpResponse {
228
+ status: "200";
229
+ body: ModuleDefOutput;
230
+ }
231
+ /** It gets the module for the user defined endpoint. */
232
+ export interface GetUserDefinedEndpointsModuleDefaultResponse extends HttpResponse {
233
+ status: string;
234
+ body: ConfidentialLedgerErrorOutput;
235
+ }
167
236
  /** User defined functions stored in the Confidential Ledger */
168
237
  export interface ListUserDefinedFunctions200Response extends HttpResponse {
169
238
  status: "200";
@@ -174,4 +243,95 @@ export interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {
174
243
  status: string;
175
244
  body: ConfidentialLedgerErrorOutput;
176
245
  }
246
+ /** Deletes a user defined function from the Confidential Ledger. */
247
+ export interface DeleteUserDefinedFunction204Response extends HttpResponse {
248
+ status: "204";
249
+ }
250
+ /** Deletes a user defined function from the Confidential Ledger. */
251
+ export interface DeleteUserDefinedFunctionDefaultResponse extends HttpResponse {
252
+ status: string;
253
+ body: ConfidentialLedgerErrorOutput;
254
+ }
255
+ /** Returns the user defined function in the Confidential Ledger */
256
+ export interface GetUserDefinedFunction200Response extends HttpResponse {
257
+ status: "200";
258
+ body: UserDefinedFunctionOutput;
259
+ }
260
+ /** Returns the user defined function in the Confidential Ledger */
261
+ export interface GetUserDefinedFunctionDefaultResponse extends HttpResponse {
262
+ status: string;
263
+ body: ConfidentialLedgerErrorOutput;
264
+ }
265
+ export interface CreateUserDefinedFunction200Headers {
266
+ /** The transaction id at which this write will become durable. */
267
+ "x-ms-ccf-transaction-id"?: string;
268
+ }
269
+ /** Creates the user defined function in the Confidential Ledger */
270
+ export interface CreateUserDefinedFunction200Response extends HttpResponse {
271
+ status: "200";
272
+ body: UserDefinedFunctionOutput;
273
+ headers: RawHttpHeaders & CreateUserDefinedFunction200Headers;
274
+ }
275
+ export interface CreateUserDefinedFunction201Headers {
276
+ /** The transaction id at which this write will become durable. */
277
+ "x-ms-ccf-transaction-id"?: string;
278
+ }
279
+ /** Creates the user defined function in the Confidential Ledger */
280
+ export interface CreateUserDefinedFunction201Response extends HttpResponse {
281
+ status: "201";
282
+ body: UserDefinedFunctionOutput;
283
+ headers: RawHttpHeaders & CreateUserDefinedFunction201Headers;
284
+ }
285
+ /** Creates the user defined function in the Confidential Ledger */
286
+ export interface CreateUserDefinedFunctionDefaultResponse extends HttpResponse {
287
+ status: string;
288
+ body: ConfidentialLedgerErrorOutput;
289
+ }
290
+ /** Executes the user defined function in the Confidential Ledger */
291
+ export interface ExecuteUserDefinedFunction200Response extends HttpResponse {
292
+ status: "200";
293
+ body: UserDefinedFunctionExecutionResponseOutput;
294
+ }
295
+ /** Executes the user defined function in the Confidential Ledger */
296
+ export interface ExecuteUserDefinedFunctionDefaultResponse extends HttpResponse {
297
+ status: string;
298
+ body: ConfidentialLedgerErrorOutput;
299
+ }
300
+ /** user defined roles allow users to define and manage app specific AuthZ policy. */
301
+ export interface GetUserDefinedRole200Response extends HttpResponse {
302
+ status: "200";
303
+ body: Array<RoleOutput>;
304
+ }
305
+ /** user defined roles allow users to define and manage app specific AuthZ policy. */
306
+ export interface GetUserDefinedRoleDefaultResponse extends HttpResponse {
307
+ status: string;
308
+ body: ConfidentialLedgerErrorOutput;
309
+ }
310
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
311
+ export interface CreateUserDefinedRole200Response extends HttpResponse {
312
+ status: "200";
313
+ }
314
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
315
+ export interface CreateUserDefinedRoleDefaultResponse extends HttpResponse {
316
+ status: string;
317
+ body: ConfidentialLedgerErrorOutput;
318
+ }
319
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
320
+ export interface UpdateUserDefinedRole200Response extends HttpResponse {
321
+ status: "200";
322
+ }
323
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
324
+ export interface UpdateUserDefinedRoleDefaultResponse extends HttpResponse {
325
+ status: string;
326
+ body: ConfidentialLedgerErrorOutput;
327
+ }
328
+ /** A user defined role allows the users to create and manage their own role actions using the API. */
329
+ export interface DeleteUserDefinedRole200Response extends HttpResponse {
330
+ status: "200";
331
+ }
332
+ /** A user defined role allows the users to create and manage their own role actions using the API. */
333
+ export interface DeleteUserDefinedRoleDefaultResponse extends HttpResponse {
334
+ status: string;
335
+ body: ConfidentialLedgerErrorOutput;
336
+ }
177
337
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,kBAAkB,EAClB,YAAY,EACZ,6BAA6B,EAC7B,gBAAgB,EAChB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAChC,MAAM,mBAAmB,CAAC;AAE3B,gGAAgG;AAChG,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC9D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,gGAAgG;AAChG,MAAM,WAAW,8BAA+B,SAAQ,YAAY;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,6BAA6B,C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E,6BAA6B,CAAC;CACrC;AAED,sGAAsG;AACtG,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;CACf;AAED,sGAAsG;AACtG,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,6BAA6B,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n ConstitutionOutput,\n BundleOutput,\n ConfidentialLedgerErrorOutput,\n ConsortiumOutput,\n ConfidentialLedgerEnclavesOutput,\n PagedCollectionsOutput,\n PagedLedgerEntriesOutput,\n LedgerWriteResultOutput,\n LedgerQueryResultOutput,\n TransactionReceiptOutput,\n TransactionStatusOutput,\n LedgerEntryOutput,\n PagedUsersOutput,\n LedgerUserOutput,\n PagedUserDefinedFunctionsOutput,\n} from \"./outputModels.js\";\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitution200Response extends HttpResponse {\n status: \"200\";\n body: ConstitutionOutput;\n}\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitutionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpoint201Response extends HttpResponse {\n status: \"201\";\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembers200Response extends HttpResponse {\n status: \"200\";\n body: ConsortiumOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotes200Response extends HttpResponse {\n status: \"200\";\n body: ConfidentialLedgerEnclavesOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollections200Response extends HttpResponse {\n status: \"200\";\n body: PagedCollectionsOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntries200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerEntriesOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateLedgerEntry200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerWriteResultOutput;\n headers: RawHttpHeaders & CreateLedgerEntry200Headers;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerQueryResultOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceipt200Response extends HttpResponse {\n status: \"200\";\n body: TransactionReceiptOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceiptDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatus200Response extends HttpResponse {\n status: \"200\";\n body: TransactionStatusOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerEntryOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedUsersOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user. */\nexport interface GetUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** Gets a user. */\nexport interface GetUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpoint200Response extends HttpResponse {\n status: \"200\";\n body: BundleOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctions200Response extends HttpResponse {\n status: \"200\";\n body: PagedUserDefinedFunctionsOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n ConstitutionOutput,\n BundleOutput,\n ConfidentialLedgerErrorOutput,\n ConsortiumOutput,\n ConfidentialLedgerEnclavesOutput,\n PagedCollectionsOutput,\n PagedLedgerEntriesOutput,\n LedgerWriteResultOutput,\n LedgerQueryResultOutput,\n TransactionReceiptOutput,\n TransactionStatusOutput,\n LedgerEntryOutput,\n PagedUsersOutput,\n PagedLedgerUsersOutput,\n LedgerUserOutput,\n LedgerUserMultipleRolesOutput,\n PagedUserDefinedFunctionsOutput,\n UserDefinedFunctionOutput,\n UserDefinedFunctionExecutionResponseOutput,\n JSRuntimeOptionsOutput,\n ModuleDefOutput,\n RoleOutput,\n} from \"./outputModels.js\";\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitution200Response extends HttpResponse {\n status: \"200\";\n body: ConstitutionOutput;\n}\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitutionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpoint201Response extends HttpResponse {\n status: \"201\";\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembers200Response extends HttpResponse {\n status: \"200\";\n body: ConsortiumOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotes200Response extends HttpResponse {\n status: \"200\";\n body: ConfidentialLedgerEnclavesOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollections200Response extends HttpResponse {\n status: \"200\";\n body: PagedCollectionsOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntries200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerEntriesOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateLedgerEntry200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerWriteResultOutput;\n headers: RawHttpHeaders & CreateLedgerEntry200Headers;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerQueryResultOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceipt200Response extends HttpResponse {\n status: \"200\";\n body: TransactionReceiptOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceiptDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatus200Response extends HttpResponse {\n status: \"200\";\n body: TransactionStatusOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerEntryOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedUsersOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and multiple roles will be returned. */\nexport interface ListLedgerUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerUsersOutput;\n}\n\n/** All users' object IDs and multiple roles will be returned. */\nexport interface ListLedgerUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user with multiple roles from the Confidential Ledger. */\nexport interface DeleteLedgerUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user with multiple roles from the Confidential Ledger. */\nexport interface DeleteLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user with multiple roles. */\nexport interface GetLedgerUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserMultipleRolesOutput;\n}\n\n/** Gets a user with multiple roles. */\nexport interface GetLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateLedgerUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserMultipleRolesOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user. */\nexport interface GetUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** Gets a user. */\nexport interface GetUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpoint200Response extends HttpResponse {\n status: \"200\";\n body: BundleOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** It returns the runtime options */\nexport interface GetRuntimeOptions200Response extends HttpResponse {\n status: \"200\";\n body: JSRuntimeOptionsOutput;\n}\n\n/** It returns the runtime options */\nexport interface GetRuntimeOptionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Updates the runtime options. */\nexport interface UpdateRuntimeOptions200Response extends HttpResponse {\n status: \"200\";\n body: JSRuntimeOptionsOutput;\n}\n\n/** Updates the runtime options. */\nexport interface UpdateRuntimeOptionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** It gets the module for the user defined endpoint. */\nexport interface GetUserDefinedEndpointsModule200Response extends HttpResponse {\n status: \"200\";\n body: ModuleDefOutput;\n}\n\n/** It gets the module for the user defined endpoint. */\nexport interface GetUserDefinedEndpointsModuleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctions200Response extends HttpResponse {\n status: \"200\";\n body: PagedUserDefinedFunctionsOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user defined function from the Confidential Ledger. */\nexport interface DeleteUserDefinedFunction204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user defined function from the Confidential Ledger. */\nexport interface DeleteUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined function in the Confidential Ledger */\nexport interface GetUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionOutput;\n}\n\n/** Returns the user defined function in the Confidential Ledger */\nexport interface GetUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateUserDefinedFunction200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionOutput;\n headers: RawHttpHeaders & CreateUserDefinedFunction200Headers;\n}\n\nexport interface CreateUserDefinedFunction201Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunction201Response extends HttpResponse {\n status: \"201\";\n body: UserDefinedFunctionOutput;\n headers: RawHttpHeaders & CreateUserDefinedFunction201Headers;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Executes the user defined function in the Confidential Ledger */\nexport interface ExecuteUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionExecutionResponseOutput;\n}\n\n/** Executes the user defined function in the Confidential Ledger */\nexport interface ExecuteUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** user defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface GetUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n body: Array<RoleOutput>;\n}\n\n/** user defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface GetUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface CreateUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface CreateUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface UpdateUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface UpdateUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A user defined role allows the users to create and manage their own role actions using the API. */\nexport interface DeleteUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** A user defined role allows the users to create and manage their own role actions using the API. */\nexport interface DeleteUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "An isomorphic rest level client library for the Azure Confidential Ledger service.",
6
- "version": "1.1.2-beta.1",
6
+ "version": "1.1.2-beta.2",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",