@azure-rest/confidential-ledger 1.1.2-beta.2 → 1.1.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/clientDefinitions.d.ts +10 -10
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/clientDefinitions.js.map +1 -1
- package/dist/commonjs/confidentialLedger.d.ts +2 -2
- package/dist/commonjs/confidentialLedger.d.ts.map +1 -1
- package/dist/commonjs/confidentialLedger.js +5 -5
- package/dist/commonjs/confidentialLedger.js.map +1 -1
- package/dist/commonjs/isUnexpected.d.ts +19 -1
- package/dist/commonjs/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/isUnexpected.js +18 -0
- package/dist/commonjs/isUnexpected.js.map +1 -1
- package/dist/commonjs/models.d.ts +31 -31
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +25 -25
- package/dist/commonjs/outputModels.d.ts.map +1 -1
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/paginateHelper.d.ts +4 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -1
- package/dist/commonjs/paginateHelper.js +8 -1
- package/dist/commonjs/paginateHelper.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +44 -40
- package/dist/commonjs/parameters.d.ts.map +1 -1
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/commonjs/responses.d.ts +36 -36
- package/dist/commonjs/responses.d.ts.map +1 -1
- package/dist/commonjs/responses.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/clientDefinitions.d.ts +10 -10
- package/dist/esm/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/clientDefinitions.js.map +1 -1
- package/dist/esm/confidentialLedger.d.ts +2 -2
- package/dist/esm/confidentialLedger.d.ts.map +1 -1
- package/dist/esm/confidentialLedger.js +5 -5
- package/dist/esm/confidentialLedger.js.map +1 -1
- package/dist/esm/isUnexpected.d.ts +19 -1
- package/dist/esm/isUnexpected.d.ts.map +1 -1
- package/dist/esm/isUnexpected.js +18 -0
- package/dist/esm/isUnexpected.js.map +1 -1
- package/dist/esm/models.d.ts +31 -31
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/outputModels.d.ts +25 -25
- package/dist/esm/outputModels.d.ts.map +1 -1
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/paginateHelper.d.ts +4 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -1
- package/dist/esm/paginateHelper.js +8 -1
- package/dist/esm/paginateHelper.js.map +1 -1
- package/dist/esm/parameters.d.ts +44 -40
- package/dist/esm/parameters.d.ts.map +1 -1
- package/dist/esm/parameters.js.map +1 -1
- package/dist/esm/responses.d.ts +36 -36
- package/dist/esm/responses.d.ts.map +1 -1
- package/dist/esm/responses.js.map +1 -1
- package/package.json +9 -17
- package/CHANGELOG.md +0 -28
- package/dist/commonjs/generated/clientDefinitions.d.ts +0 -153
- package/dist/commonjs/generated/clientDefinitions.d.ts.map +0 -1
- package/dist/commonjs/generated/clientDefinitions.js +0 -5
- package/dist/commonjs/generated/clientDefinitions.js.map +0 -1
- package/dist/commonjs/generated/confidentialLedger.d.ts +0 -16
- package/dist/commonjs/generated/confidentialLedger.d.ts.map +0 -1
- package/dist/commonjs/generated/confidentialLedger.js +0 -48
- package/dist/commonjs/generated/confidentialLedger.js.map +0 -1
- package/dist/commonjs/generated/index.d.ts +0 -11
- package/dist/commonjs/generated/index.d.ts.map +0 -1
- package/dist/commonjs/generated/index.js +0 -16
- package/dist/commonjs/generated/index.js.map +0 -1
- package/dist/commonjs/generated/isUnexpected.d.ts +0 -34
- package/dist/commonjs/generated/isUnexpected.d.ts.map +0 -1
- package/dist/commonjs/generated/isUnexpected.js +0 -105
- package/dist/commonjs/generated/isUnexpected.js.map +0 -1
- package/dist/commonjs/generated/logger.d.ts +0 -2
- package/dist/commonjs/generated/logger.d.ts.map +0 -1
- package/dist/commonjs/generated/logger.js +0 -8
- package/dist/commonjs/generated/logger.js.map +0 -1
- package/dist/commonjs/generated/models.d.ts +0 -87
- package/dist/commonjs/generated/models.d.ts.map +0 -1
- package/dist/commonjs/generated/models.js +0 -5
- package/dist/commonjs/generated/models.js.map +0 -1
- package/dist/commonjs/generated/outputModels.d.ts +0 -280
- package/dist/commonjs/generated/outputModels.d.ts.map +0 -1
- package/dist/commonjs/generated/outputModels.js +0 -5
- package/dist/commonjs/generated/outputModels.js.map +0 -1
- package/dist/commonjs/generated/paginateHelper.d.ts +0 -88
- package/dist/commonjs/generated/paginateHelper.d.ts.map +0 -1
- package/dist/commonjs/generated/paginateHelper.js +0 -223
- package/dist/commonjs/generated/paginateHelper.js.map +0 -1
- package/dist/commonjs/generated/parameters.d.ts +0 -168
- package/dist/commonjs/generated/parameters.d.ts.map +0 -1
- package/dist/commonjs/generated/parameters.js +0 -5
- package/dist/commonjs/generated/parameters.js.map +0 -1
- package/dist/commonjs/generated/responses.d.ts +0 -337
- package/dist/commonjs/generated/responses.d.ts.map +0 -1
- package/dist/commonjs/generated/responses.js +0 -5
- package/dist/commonjs/generated/responses.js.map +0 -1
- package/dist/esm/generated/clientDefinitions.d.ts +0 -153
- package/dist/esm/generated/clientDefinitions.d.ts.map +0 -1
- package/dist/esm/generated/clientDefinitions.js +0 -4
- package/dist/esm/generated/clientDefinitions.js.map +0 -1
- package/dist/esm/generated/confidentialLedger.d.ts +0 -16
- package/dist/esm/generated/confidentialLedger.d.ts.map +0 -1
- package/dist/esm/generated/confidentialLedger.js +0 -45
- package/dist/esm/generated/confidentialLedger.js.map +0 -1
- package/dist/esm/generated/index.d.ts +0 -11
- package/dist/esm/generated/index.d.ts.map +0 -1
- package/dist/esm/generated/index.js +0 -13
- package/dist/esm/generated/index.js.map +0 -1
- package/dist/esm/generated/isUnexpected.d.ts +0 -34
- package/dist/esm/generated/isUnexpected.d.ts.map +0 -1
- package/dist/esm/generated/isUnexpected.js +0 -102
- package/dist/esm/generated/isUnexpected.js.map +0 -1
- package/dist/esm/generated/logger.d.ts +0 -2
- package/dist/esm/generated/logger.d.ts.map +0 -1
- package/dist/esm/generated/logger.js +0 -5
- package/dist/esm/generated/logger.js.map +0 -1
- package/dist/esm/generated/models.d.ts +0 -87
- package/dist/esm/generated/models.d.ts.map +0 -1
- package/dist/esm/generated/models.js +0 -4
- package/dist/esm/generated/models.js.map +0 -1
- package/dist/esm/generated/outputModels.d.ts +0 -280
- package/dist/esm/generated/outputModels.d.ts.map +0 -1
- package/dist/esm/generated/outputModels.js +0 -4
- package/dist/esm/generated/outputModels.js.map +0 -1
- package/dist/esm/generated/paginateHelper.d.ts +0 -88
- package/dist/esm/generated/paginateHelper.d.ts.map +0 -1
- package/dist/esm/generated/paginateHelper.js +0 -220
- package/dist/esm/generated/paginateHelper.js.map +0 -1
- package/dist/esm/generated/parameters.d.ts +0 -168
- package/dist/esm/generated/parameters.d.ts.map +0 -1
- package/dist/esm/generated/parameters.js +0 -4
- package/dist/esm/generated/parameters.js.map +0 -1
- package/dist/esm/generated/responses.d.ts +0 -337
- package/dist/esm/generated/responses.d.ts.map +0 -1
- package/dist/esm/generated/responses.js +0 -4
- package/dist/esm/generated/responses.js.map +0 -1
- package/review/confidential-ledger.api.md +0 -1494
|
@@ -1,1494 +0,0 @@
|
|
|
1
|
-
## API Report File for "@azure-rest/confidential-ledger"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { Client } from '@azure-rest/core-client';
|
|
8
|
-
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import type { HttpResponse } from '@azure-rest/core-client';
|
|
10
|
-
import type { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
11
|
-
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
12
|
-
import type { RequestParameters } from '@azure-rest/core-client';
|
|
13
|
-
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
14
|
-
import type { TokenCredential } from '@azure/core-auth';
|
|
15
|
-
|
|
16
|
-
// @public
|
|
17
|
-
export interface ApplicationClaimOutput {
|
|
18
|
-
digest?: ClaimDigestOutput;
|
|
19
|
-
kind: "LedgerEntry" | "ClaimDigest";
|
|
20
|
-
ledgerEntry?: LedgerEntryClaimOutput;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// @public
|
|
24
|
-
export interface Bundle {
|
|
25
|
-
// (undocumented)
|
|
26
|
-
metadata: Metadata;
|
|
27
|
-
modules: Record<string, unknown>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// @public
|
|
31
|
-
export interface BundleOutput {
|
|
32
|
-
// (undocumented)
|
|
33
|
-
metadata: MetadataOutput;
|
|
34
|
-
modules: Record<string, unknown>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// @public
|
|
38
|
-
export interface ClaimDigestOutput {
|
|
39
|
-
protocol: "LedgerEntryV1";
|
|
40
|
-
value?: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// @public
|
|
44
|
-
export interface CollectionOutput {
|
|
45
|
-
// (undocumented)
|
|
46
|
-
collectionId: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// @public (undocumented)
|
|
50
|
-
function ConfidentialLedger(ledgerEndpoint: string, ledgerIdentityCertificate: string, options?: ClientOptions): ConfidentialLedgerClient;
|
|
51
|
-
|
|
52
|
-
// @public (undocumented)
|
|
53
|
-
function ConfidentialLedger(ledgerEndpoint: string, ledgerIdentityCertificate: string, credentials: TokenCredential, options?: ClientOptions): ConfidentialLedgerClient;
|
|
54
|
-
export default ConfidentialLedger;
|
|
55
|
-
|
|
56
|
-
// @public (undocumented)
|
|
57
|
-
export type ConfidentialLedgerClient = Client & {
|
|
58
|
-
path: Routes;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
// @public
|
|
62
|
-
export interface ConfidentialLedgerClientOptions extends ClientOptions {
|
|
63
|
-
apiVersion?: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// @public
|
|
67
|
-
export interface ConfidentialLedgerEnclavesOutput {
|
|
68
|
-
currentNodeId: string;
|
|
69
|
-
enclaveQuotes: Record<string, EnclaveQuoteOutput>;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public
|
|
73
|
-
export interface ConfidentialLedgerErrorBodyOutput {
|
|
74
|
-
readonly code?: string;
|
|
75
|
-
readonly message?: string;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// @public
|
|
79
|
-
export interface ConfidentialLedgerErrorOutput {
|
|
80
|
-
readonly error?: ConfidentialLedgerErrorBodyOutput;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// @public
|
|
84
|
-
export interface ConsortiumMemberOutput {
|
|
85
|
-
certificate: string;
|
|
86
|
-
id: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// @public
|
|
90
|
-
export interface ConsortiumOutput {
|
|
91
|
-
// (undocumented)
|
|
92
|
-
members: Array<ConsortiumMemberOutput>;
|
|
93
|
-
nextLink?: string;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// @public
|
|
97
|
-
export interface ConstitutionOutput {
|
|
98
|
-
digest: string;
|
|
99
|
-
script: string;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// @public (undocumented)
|
|
103
|
-
export interface CreateLedgerEntry200Headers {
|
|
104
|
-
"x-ms-ccf-transaction-id"?: string;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// @public
|
|
108
|
-
export interface CreateLedgerEntry200Response extends HttpResponse {
|
|
109
|
-
// (undocumented)
|
|
110
|
-
body: LedgerWriteResultOutput;
|
|
111
|
-
// (undocumented)
|
|
112
|
-
headers: RawHttpHeaders & CreateLedgerEntry200Headers;
|
|
113
|
-
// (undocumented)
|
|
114
|
-
status: "200";
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// @public (undocumented)
|
|
118
|
-
export interface CreateLedgerEntryBodyParam {
|
|
119
|
-
body: LedgerEntry;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// @public
|
|
123
|
-
export interface CreateLedgerEntryDefaultResponse extends HttpResponse {
|
|
124
|
-
// (undocumented)
|
|
125
|
-
body: ConfidentialLedgerErrorOutput;
|
|
126
|
-
// (undocumented)
|
|
127
|
-
status: string;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// @public (undocumented)
|
|
131
|
-
export interface CreateLedgerEntryMediaTypesParam {
|
|
132
|
-
contentType?: "application/json";
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// @public (undocumented)
|
|
136
|
-
export type CreateLedgerEntryParameters = CreateLedgerEntryQueryParam & CreateLedgerEntryMediaTypesParam & CreateLedgerEntryBodyParam & RequestParameters;
|
|
137
|
-
|
|
138
|
-
// @public (undocumented)
|
|
139
|
-
export interface CreateLedgerEntryQueryParam {
|
|
140
|
-
// (undocumented)
|
|
141
|
-
queryParameters?: CreateLedgerEntryQueryParamProperties;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// @public (undocumented)
|
|
145
|
-
export interface CreateLedgerEntryQueryParamProperties {
|
|
146
|
-
collectionId?: string;
|
|
147
|
-
}
|
|
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
|
-
|
|
178
|
-
// @public
|
|
179
|
-
export interface CreateOrUpdateUser200Response extends HttpResponse {
|
|
180
|
-
// (undocumented)
|
|
181
|
-
body: LedgerUserOutput;
|
|
182
|
-
// (undocumented)
|
|
183
|
-
status: "200";
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// @public (undocumented)
|
|
187
|
-
export interface CreateOrUpdateUserBodyParam {
|
|
188
|
-
body: LedgerUserResourceMergeAndPatch;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export interface CreateOrUpdateUserDefaultResponse extends HttpResponse {
|
|
193
|
-
// (undocumented)
|
|
194
|
-
body: ConfidentialLedgerErrorOutput;
|
|
195
|
-
// (undocumented)
|
|
196
|
-
status: string;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
// @public (undocumented)
|
|
200
|
-
export interface CreateOrUpdateUserMediaTypesParam {
|
|
201
|
-
contentType?: "application/merge-patch+json";
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// @public (undocumented)
|
|
205
|
-
export type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam & CreateOrUpdateUserBodyParam & RequestParameters;
|
|
206
|
-
|
|
207
|
-
// @public
|
|
208
|
-
export interface CreateUserDefinedEndpoint201Response extends HttpResponse {
|
|
209
|
-
// (undocumented)
|
|
210
|
-
status: "201";
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// @public (undocumented)
|
|
214
|
-
export interface CreateUserDefinedEndpointBodyParam {
|
|
215
|
-
body: Bundle;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
// @public
|
|
219
|
-
export interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {
|
|
220
|
-
// (undocumented)
|
|
221
|
-
body: ConfidentialLedgerErrorOutput;
|
|
222
|
-
// (undocumented)
|
|
223
|
-
status: string;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// @public (undocumented)
|
|
227
|
-
export interface CreateUserDefinedEndpointMediaTypesParam {
|
|
228
|
-
contentType?: "application/json";
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
// @public (undocumented)
|
|
232
|
-
export type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam & CreateUserDefinedEndpointBodyParam & RequestParameters;
|
|
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
|
-
|
|
336
|
-
// @public (undocumented)
|
|
337
|
-
export interface DeleteUser {
|
|
338
|
-
delete(options?: DeleteUserParameters): StreamableMethod<DeleteUser204Response | DeleteUserDefaultResponse>;
|
|
339
|
-
get(options?: GetUserParameters): StreamableMethod<GetUser200Response | GetUserDefaultResponse>;
|
|
340
|
-
patch(options: CreateOrUpdateUserParameters): StreamableMethod<CreateOrUpdateUser200Response | CreateOrUpdateUserDefaultResponse>;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
// @public
|
|
344
|
-
export interface DeleteUser204Response extends HttpResponse {
|
|
345
|
-
// (undocumented)
|
|
346
|
-
status: "204";
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
// @public
|
|
350
|
-
export interface DeleteUserDefaultResponse extends HttpResponse {
|
|
351
|
-
// (undocumented)
|
|
352
|
-
body: ConfidentialLedgerErrorOutput;
|
|
353
|
-
// (undocumented)
|
|
354
|
-
status: string;
|
|
355
|
-
}
|
|
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
|
-
|
|
409
|
-
// @public (undocumented)
|
|
410
|
-
export type DeleteUserParameters = RequestParameters;
|
|
411
|
-
|
|
412
|
-
// @public
|
|
413
|
-
export interface EnclaveQuoteOutput {
|
|
414
|
-
mrenclave?: string;
|
|
415
|
-
nodeId: string;
|
|
416
|
-
quoteVersion: string;
|
|
417
|
-
raw: string;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
// @public (undocumented)
|
|
421
|
-
export interface EndpointProperties {
|
|
422
|
-
// (undocumented)
|
|
423
|
-
authn_policies: Array<any>;
|
|
424
|
-
// (undocumented)
|
|
425
|
-
forwarding_required: "sometimes" | "always" | "never";
|
|
426
|
-
// (undocumented)
|
|
427
|
-
interpreter_reuse?: InterpreterReusePolicy;
|
|
428
|
-
// (undocumented)
|
|
429
|
-
js_function?: string;
|
|
430
|
-
// (undocumented)
|
|
431
|
-
js_module?: string;
|
|
432
|
-
// (undocumented)
|
|
433
|
-
mode?: "readwrite" | "readonly" | "historical";
|
|
434
|
-
openapi?: any;
|
|
435
|
-
// (undocumented)
|
|
436
|
-
openapi_hidden?: boolean;
|
|
437
|
-
// (undocumented)
|
|
438
|
-
redirection_strategy?: "none" | "to_primary" | "to_backup";
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
// @public (undocumented)
|
|
442
|
-
export interface EndpointPropertiesOutput {
|
|
443
|
-
// (undocumented)
|
|
444
|
-
authn_policies: Array<any>;
|
|
445
|
-
// (undocumented)
|
|
446
|
-
forwarding_required: "sometimes" | "always" | "never";
|
|
447
|
-
// (undocumented)
|
|
448
|
-
interpreter_reuse?: InterpreterReusePolicyOutput;
|
|
449
|
-
// (undocumented)
|
|
450
|
-
js_function?: string;
|
|
451
|
-
// (undocumented)
|
|
452
|
-
js_module?: string;
|
|
453
|
-
// (undocumented)
|
|
454
|
-
mode?: "readwrite" | "readonly" | "historical";
|
|
455
|
-
openapi?: any;
|
|
456
|
-
// (undocumented)
|
|
457
|
-
openapi_hidden?: boolean;
|
|
458
|
-
// (undocumented)
|
|
459
|
-
redirection_strategy?: "none" | "to_primary" | "to_backup";
|
|
460
|
-
}
|
|
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
|
-
|
|
496
|
-
// @public
|
|
497
|
-
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
498
|
-
|
|
499
|
-
// @public (undocumented)
|
|
500
|
-
export interface GetConstitution {
|
|
501
|
-
get(options?: GetConstitutionParameters): StreamableMethod<GetConstitution200Response | GetConstitutionDefaultResponse>;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
// @public
|
|
505
|
-
export interface GetConstitution200Response extends HttpResponse {
|
|
506
|
-
// (undocumented)
|
|
507
|
-
body: ConstitutionOutput;
|
|
508
|
-
// (undocumented)
|
|
509
|
-
status: "200";
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
// @public
|
|
513
|
-
export interface GetConstitutionDefaultResponse extends HttpResponse {
|
|
514
|
-
// (undocumented)
|
|
515
|
-
body: ConfidentialLedgerErrorOutput;
|
|
516
|
-
// (undocumented)
|
|
517
|
-
status: string;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
// @public (undocumented)
|
|
521
|
-
export type GetConstitutionParameters = RequestParameters;
|
|
522
|
-
|
|
523
|
-
// @public (undocumented)
|
|
524
|
-
export interface GetCurrentLedgerEntry {
|
|
525
|
-
get(options?: GetCurrentLedgerEntryParameters): StreamableMethod<GetCurrentLedgerEntry200Response | GetCurrentLedgerEntryDefaultResponse>;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
// @public
|
|
529
|
-
export interface GetCurrentLedgerEntry200Response extends HttpResponse {
|
|
530
|
-
// (undocumented)
|
|
531
|
-
body: LedgerEntryOutput;
|
|
532
|
-
// (undocumented)
|
|
533
|
-
status: "200";
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
// @public
|
|
537
|
-
export interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {
|
|
538
|
-
// (undocumented)
|
|
539
|
-
body: ConfidentialLedgerErrorOutput;
|
|
540
|
-
// (undocumented)
|
|
541
|
-
status: string;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
// @public (undocumented)
|
|
545
|
-
export type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;
|
|
546
|
-
|
|
547
|
-
// @public (undocumented)
|
|
548
|
-
export interface GetCurrentLedgerEntryQueryParam {
|
|
549
|
-
// (undocumented)
|
|
550
|
-
queryParameters?: GetCurrentLedgerEntryQueryParamProperties;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
// @public (undocumented)
|
|
554
|
-
export interface GetCurrentLedgerEntryQueryParamProperties {
|
|
555
|
-
collectionId?: string;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
// @public (undocumented)
|
|
559
|
-
export interface GetEnclaveQuotes {
|
|
560
|
-
get(options?: GetEnclaveQuotesParameters): StreamableMethod<GetEnclaveQuotes200Response | GetEnclaveQuotesDefaultResponse>;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
// @public
|
|
564
|
-
export interface GetEnclaveQuotes200Response extends HttpResponse {
|
|
565
|
-
// (undocumented)
|
|
566
|
-
body: ConfidentialLedgerEnclavesOutput;
|
|
567
|
-
// (undocumented)
|
|
568
|
-
status: "200";
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
// @public
|
|
572
|
-
export interface GetEnclaveQuotesDefaultResponse extends HttpResponse {
|
|
573
|
-
// (undocumented)
|
|
574
|
-
body: ConfidentialLedgerErrorOutput;
|
|
575
|
-
// (undocumented)
|
|
576
|
-
status: string;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
// @public (undocumented)
|
|
580
|
-
export type GetEnclaveQuotesParameters = RequestParameters;
|
|
581
|
-
|
|
582
|
-
// @public (undocumented)
|
|
583
|
-
export interface GetLedgerEntry {
|
|
584
|
-
get(options?: GetLedgerEntryParameters): StreamableMethod<GetLedgerEntry200Response | GetLedgerEntryDefaultResponse>;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
// @public
|
|
588
|
-
export interface GetLedgerEntry200Response extends HttpResponse {
|
|
589
|
-
// (undocumented)
|
|
590
|
-
body: LedgerQueryResultOutput;
|
|
591
|
-
// (undocumented)
|
|
592
|
-
status: "200";
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
// @public
|
|
596
|
-
export interface GetLedgerEntryDefaultResponse extends HttpResponse {
|
|
597
|
-
// (undocumented)
|
|
598
|
-
body: ConfidentialLedgerErrorOutput;
|
|
599
|
-
// (undocumented)
|
|
600
|
-
status: string;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
// @public (undocumented)
|
|
604
|
-
export type GetLedgerEntryParameters = GetLedgerEntryQueryParam & RequestParameters;
|
|
605
|
-
|
|
606
|
-
// @public (undocumented)
|
|
607
|
-
export interface GetLedgerEntryQueryParam {
|
|
608
|
-
// (undocumented)
|
|
609
|
-
queryParameters?: GetLedgerEntryQueryParamProperties;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
// @public (undocumented)
|
|
613
|
-
export interface GetLedgerEntryQueryParamProperties {
|
|
614
|
-
collectionId?: string;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
// @public (undocumented)
|
|
618
|
-
export function getLedgerIdentity(ledgerId: string, identityServiceBaseUrl?: string): Promise<LedgerIdentity>;
|
|
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
|
-
|
|
639
|
-
// @public
|
|
640
|
-
export type GetPage<TPage> = (pageLink: string) => Promise<{
|
|
641
|
-
page: TPage;
|
|
642
|
-
nextPageLink?: string;
|
|
643
|
-
}>;
|
|
644
|
-
|
|
645
|
-
// @public (undocumented)
|
|
646
|
-
export interface GetReceipt {
|
|
647
|
-
get(options?: GetReceiptParameters): StreamableMethod<GetReceipt200Response | GetReceiptDefaultResponse>;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
// @public
|
|
651
|
-
export interface GetReceipt200Response extends HttpResponse {
|
|
652
|
-
// (undocumented)
|
|
653
|
-
body: TransactionReceiptOutput;
|
|
654
|
-
// (undocumented)
|
|
655
|
-
status: "200";
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
// @public
|
|
659
|
-
export interface GetReceiptDefaultResponse extends HttpResponse {
|
|
660
|
-
// (undocumented)
|
|
661
|
-
body: ConfidentialLedgerErrorOutput;
|
|
662
|
-
// (undocumented)
|
|
663
|
-
status: string;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
// @public (undocumented)
|
|
667
|
-
export type GetReceiptParameters = RequestParameters;
|
|
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
|
-
|
|
694
|
-
// @public (undocumented)
|
|
695
|
-
export interface GetTransactionStatus {
|
|
696
|
-
get(options?: GetTransactionStatusParameters): StreamableMethod<GetTransactionStatus200Response | GetTransactionStatusDefaultResponse>;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
// @public
|
|
700
|
-
export interface GetTransactionStatus200Response extends HttpResponse {
|
|
701
|
-
// (undocumented)
|
|
702
|
-
body: TransactionStatusOutput;
|
|
703
|
-
// (undocumented)
|
|
704
|
-
status: "200";
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
// @public
|
|
708
|
-
export interface GetTransactionStatusDefaultResponse extends HttpResponse {
|
|
709
|
-
// (undocumented)
|
|
710
|
-
body: ConfidentialLedgerErrorOutput;
|
|
711
|
-
// (undocumented)
|
|
712
|
-
status: string;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
// @public (undocumented)
|
|
716
|
-
export type GetTransactionStatusParameters = RequestParameters;
|
|
717
|
-
|
|
718
|
-
// @public
|
|
719
|
-
export interface GetUser200Response extends HttpResponse {
|
|
720
|
-
// (undocumented)
|
|
721
|
-
body: LedgerUserOutput;
|
|
722
|
-
// (undocumented)
|
|
723
|
-
status: "200";
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
// @public
|
|
727
|
-
export interface GetUserDefaultResponse extends HttpResponse {
|
|
728
|
-
// (undocumented)
|
|
729
|
-
body: ConfidentialLedgerErrorOutput;
|
|
730
|
-
// (undocumented)
|
|
731
|
-
status: string;
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
// @public (undocumented)
|
|
735
|
-
export interface GetUserDefinedEndpoint {
|
|
736
|
-
get(options?: GetUserDefinedEndpointParameters): StreamableMethod<GetUserDefinedEndpoint200Response | GetUserDefinedEndpointDefaultResponse>;
|
|
737
|
-
put(options: CreateUserDefinedEndpointParameters): StreamableMethod<CreateUserDefinedEndpoint201Response | CreateUserDefinedEndpointDefaultResponse>;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
// @public
|
|
741
|
-
export interface GetUserDefinedEndpoint200Response extends HttpResponse {
|
|
742
|
-
// (undocumented)
|
|
743
|
-
body: BundleOutput;
|
|
744
|
-
// (undocumented)
|
|
745
|
-
status: "200";
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
// @public
|
|
749
|
-
export interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {
|
|
750
|
-
// (undocumented)
|
|
751
|
-
body: ConfidentialLedgerErrorOutput;
|
|
752
|
-
// (undocumented)
|
|
753
|
-
status: string;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
// @public (undocumented)
|
|
757
|
-
export type GetUserDefinedEndpointParameters = RequestParameters;
|
|
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
|
-
|
|
851
|
-
// @public (undocumented)
|
|
852
|
-
export type GetUserParameters = RequestParameters;
|
|
853
|
-
|
|
854
|
-
// @public (undocumented)
|
|
855
|
-
export interface InterpreterReusePolicy {
|
|
856
|
-
// (undocumented)
|
|
857
|
-
key: string;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
// @public (undocumented)
|
|
861
|
-
export interface InterpreterReusePolicyOutput {
|
|
862
|
-
// (undocumented)
|
|
863
|
-
key: string;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
// @public (undocumented)
|
|
867
|
-
export function isUnexpected(response: GetConstitution200Response | GetConstitutionDefaultResponse): response is GetConstitutionDefaultResponse;
|
|
868
|
-
|
|
869
|
-
// @public (undocumented)
|
|
870
|
-
export function isUnexpected(response: ListConsortiumMembers200Response | ListConsortiumMembersDefaultResponse): response is ListConsortiumMembersDefaultResponse;
|
|
871
|
-
|
|
872
|
-
// @public (undocumented)
|
|
873
|
-
export function isUnexpected(response: GetEnclaveQuotes200Response | GetEnclaveQuotesDefaultResponse): response is GetEnclaveQuotesDefaultResponse;
|
|
874
|
-
|
|
875
|
-
// @public (undocumented)
|
|
876
|
-
export function isUnexpected(response: ListCollections200Response | ListCollectionsDefaultResponse): response is ListCollectionsDefaultResponse;
|
|
877
|
-
|
|
878
|
-
// @public (undocumented)
|
|
879
|
-
export function isUnexpected(response: ListLedgerEntries200Response | ListLedgerEntriesDefaultResponse): response is ListLedgerEntriesDefaultResponse;
|
|
880
|
-
|
|
881
|
-
// @public (undocumented)
|
|
882
|
-
export function isUnexpected(response: CreateLedgerEntry200Response | CreateLedgerEntryDefaultResponse): response is CreateLedgerEntryDefaultResponse;
|
|
883
|
-
|
|
884
|
-
// @public (undocumented)
|
|
885
|
-
export function isUnexpected(response: GetLedgerEntry200Response | GetLedgerEntryDefaultResponse): response is GetLedgerEntryDefaultResponse;
|
|
886
|
-
|
|
887
|
-
// @public (undocumented)
|
|
888
|
-
export function isUnexpected(response: GetReceipt200Response | GetReceiptDefaultResponse): response is GetReceiptDefaultResponse;
|
|
889
|
-
|
|
890
|
-
// @public (undocumented)
|
|
891
|
-
export function isUnexpected(response: GetTransactionStatus200Response | GetTransactionStatusDefaultResponse): response is GetTransactionStatusDefaultResponse;
|
|
892
|
-
|
|
893
|
-
// @public (undocumented)
|
|
894
|
-
export function isUnexpected(response: GetCurrentLedgerEntry200Response | GetCurrentLedgerEntryDefaultResponse): response is GetCurrentLedgerEntryDefaultResponse;
|
|
895
|
-
|
|
896
|
-
// @public (undocumented)
|
|
897
|
-
export function isUnexpected(response: ListUsers200Response | ListUsersDefaultResponse): response is ListUsersDefaultResponse;
|
|
898
|
-
|
|
899
|
-
// @public (undocumented)
|
|
900
|
-
export function isUnexpected(response: DeleteUser204Response | DeleteUserDefaultResponse): response is DeleteUserDefaultResponse;
|
|
901
|
-
|
|
902
|
-
// @public (undocumented)
|
|
903
|
-
export function isUnexpected(response: GetUser200Response | GetUserDefaultResponse): response is GetUserDefaultResponse;
|
|
904
|
-
|
|
905
|
-
// @public (undocumented)
|
|
906
|
-
export function isUnexpected(response: CreateOrUpdateUser200Response | CreateOrUpdateUserDefaultResponse): response is CreateOrUpdateUserDefaultResponse;
|
|
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
|
-
|
|
940
|
-
// @public
|
|
941
|
-
export interface LedgerEntry {
|
|
942
|
-
contents: string;
|
|
943
|
-
postHooks?: Array<UserDefinedFunctionHook>;
|
|
944
|
-
preHooks?: Array<UserDefinedFunctionHook>;
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
// @public
|
|
948
|
-
export interface LedgerEntryClaimOutput {
|
|
949
|
-
collectionId?: string;
|
|
950
|
-
contents?: string;
|
|
951
|
-
protocol: "LedgerEntryV1";
|
|
952
|
-
secretKey?: string;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
// @public
|
|
956
|
-
export interface LedgerEntryOutput {
|
|
957
|
-
// (undocumented)
|
|
958
|
-
readonly collectionId?: string;
|
|
959
|
-
contents: string;
|
|
960
|
-
postHooks?: Array<UserDefinedFunctionHookOutput>;
|
|
961
|
-
preHooks?: Array<UserDefinedFunctionHookOutput>;
|
|
962
|
-
readonly transactionId?: string;
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
// @public (undocumented)
|
|
966
|
-
export interface LedgerIdentity {
|
|
967
|
-
// (undocumented)
|
|
968
|
-
ledgerId: string;
|
|
969
|
-
// (undocumented)
|
|
970
|
-
ledgerIdentityCertificate: string;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
// @public
|
|
974
|
-
export interface LedgerQueryResultOutput {
|
|
975
|
-
entry?: LedgerEntryOutput;
|
|
976
|
-
state: "Loading" | "Ready";
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
// @public
|
|
980
|
-
export interface LedgerUser {
|
|
981
|
-
assignedRole: "Administrator" | "Contributor" | "Reader";
|
|
982
|
-
}
|
|
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
|
-
|
|
998
|
-
// @public
|
|
999
|
-
export interface LedgerUserOutput {
|
|
1000
|
-
assignedRole: "Administrator" | "Contributor" | "Reader";
|
|
1001
|
-
readonly userId?: string;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
// @public
|
|
1005
|
-
export type LedgerUserResourceMergeAndPatch = Partial<LedgerUser>;
|
|
1006
|
-
|
|
1007
|
-
// @public
|
|
1008
|
-
export interface LedgerWriteResultOutput {
|
|
1009
|
-
// (undocumented)
|
|
1010
|
-
collectionId: string;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
// @public (undocumented)
|
|
1014
|
-
export interface ListCollections {
|
|
1015
|
-
get(options?: ListCollectionsParameters): StreamableMethod<ListCollections200Response | ListCollectionsDefaultResponse>;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
// @public
|
|
1019
|
-
export interface ListCollections200Response extends HttpResponse {
|
|
1020
|
-
// (undocumented)
|
|
1021
|
-
body: PagedCollectionsOutput;
|
|
1022
|
-
// (undocumented)
|
|
1023
|
-
status: "200";
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
// @public
|
|
1027
|
-
export interface ListCollectionsDefaultResponse extends HttpResponse {
|
|
1028
|
-
// (undocumented)
|
|
1029
|
-
body: ConfidentialLedgerErrorOutput;
|
|
1030
|
-
// (undocumented)
|
|
1031
|
-
status: string;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
// @public (undocumented)
|
|
1035
|
-
export type ListCollectionsParameters = RequestParameters;
|
|
1036
|
-
|
|
1037
|
-
// @public (undocumented)
|
|
1038
|
-
export interface ListConsortiumMembers {
|
|
1039
|
-
get(options?: ListConsortiumMembersParameters): StreamableMethod<ListConsortiumMembers200Response | ListConsortiumMembersDefaultResponse>;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
// @public
|
|
1043
|
-
export interface ListConsortiumMembers200Response extends HttpResponse {
|
|
1044
|
-
// (undocumented)
|
|
1045
|
-
body: ConsortiumOutput;
|
|
1046
|
-
// (undocumented)
|
|
1047
|
-
status: "200";
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
// @public
|
|
1051
|
-
export interface ListConsortiumMembersDefaultResponse extends HttpResponse {
|
|
1052
|
-
// (undocumented)
|
|
1053
|
-
body: ConfidentialLedgerErrorOutput;
|
|
1054
|
-
// (undocumented)
|
|
1055
|
-
status: string;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
// @public (undocumented)
|
|
1059
|
-
export type ListConsortiumMembersParameters = RequestParameters;
|
|
1060
|
-
|
|
1061
|
-
// @public (undocumented)
|
|
1062
|
-
export interface ListLedgerEntries {
|
|
1063
|
-
get(options?: ListLedgerEntriesParameters): StreamableMethod<ListLedgerEntries200Response | ListLedgerEntriesDefaultResponse>;
|
|
1064
|
-
post(options: CreateLedgerEntryParameters): StreamableMethod<CreateLedgerEntry200Response | CreateLedgerEntryDefaultResponse>;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
// @public
|
|
1068
|
-
export interface ListLedgerEntries200Response extends HttpResponse {
|
|
1069
|
-
// (undocumented)
|
|
1070
|
-
body: PagedLedgerEntriesOutput;
|
|
1071
|
-
// (undocumented)
|
|
1072
|
-
status: "200";
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
// @public
|
|
1076
|
-
export interface ListLedgerEntriesDefaultResponse extends HttpResponse {
|
|
1077
|
-
// (undocumented)
|
|
1078
|
-
body: ConfidentialLedgerErrorOutput;
|
|
1079
|
-
// (undocumented)
|
|
1080
|
-
status: string;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
// @public (undocumented)
|
|
1084
|
-
export type ListLedgerEntriesParameters = ListLedgerEntriesQueryParam & RequestParameters;
|
|
1085
|
-
|
|
1086
|
-
// @public (undocumented)
|
|
1087
|
-
export interface ListLedgerEntriesQueryParam {
|
|
1088
|
-
// (undocumented)
|
|
1089
|
-
queryParameters?: ListLedgerEntriesQueryParamProperties;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
// @public (undocumented)
|
|
1093
|
-
export interface ListLedgerEntriesQueryParamProperties {
|
|
1094
|
-
collectionId?: string;
|
|
1095
|
-
fromTransactionId?: string;
|
|
1096
|
-
toTransactionId?: string;
|
|
1097
|
-
}
|
|
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
|
-
|
|
1123
|
-
// @public (undocumented)
|
|
1124
|
-
export interface ListUserDefinedFunctions {
|
|
1125
|
-
get(options?: ListUserDefinedFunctionsParameters): StreamableMethod<ListUserDefinedFunctions200Response | ListUserDefinedFunctionsDefaultResponse>;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
// @public
|
|
1129
|
-
export interface ListUserDefinedFunctions200Response extends HttpResponse {
|
|
1130
|
-
// (undocumented)
|
|
1131
|
-
body: PagedUserDefinedFunctionsOutput;
|
|
1132
|
-
// (undocumented)
|
|
1133
|
-
status: "200";
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
// @public
|
|
1137
|
-
export interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {
|
|
1138
|
-
// (undocumented)
|
|
1139
|
-
body: ConfidentialLedgerErrorOutput;
|
|
1140
|
-
// (undocumented)
|
|
1141
|
-
status: string;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
// @public (undocumented)
|
|
1145
|
-
export type ListUserDefinedFunctionsParameters = RequestParameters;
|
|
1146
|
-
|
|
1147
|
-
// @public (undocumented)
|
|
1148
|
-
export interface ListUsers {
|
|
1149
|
-
get(options?: ListUsersParameters): StreamableMethod<ListUsers200Response | ListUsersDefaultResponse>;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
// @public
|
|
1153
|
-
export interface ListUsers200Response extends HttpResponse {
|
|
1154
|
-
// (undocumented)
|
|
1155
|
-
body: PagedUsersOutput;
|
|
1156
|
-
// (undocumented)
|
|
1157
|
-
status: "200";
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
// @public
|
|
1161
|
-
export interface ListUsersDefaultResponse extends HttpResponse {
|
|
1162
|
-
// (undocumented)
|
|
1163
|
-
body: ConfidentialLedgerErrorOutput;
|
|
1164
|
-
// (undocumented)
|
|
1165
|
-
status: string;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
// @public (undocumented)
|
|
1169
|
-
export type ListUsersParameters = RequestParameters;
|
|
1170
|
-
|
|
1171
|
-
// @public (undocumented)
|
|
1172
|
-
export interface Metadata {
|
|
1173
|
-
endpoints: Record<string, MethodToEndpointProperties>;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
// @public (undocumented)
|
|
1177
|
-
export interface MetadataOutput {
|
|
1178
|
-
endpoints: Record<string, MethodToEndpointPropertiesOutput>;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
// @public (undocumented)
|
|
1182
|
-
export interface MethodToEndpointProperties {
|
|
1183
|
-
// (undocumented)
|
|
1184
|
-
delete?: EndpointProperties;
|
|
1185
|
-
// (undocumented)
|
|
1186
|
-
get?: EndpointProperties;
|
|
1187
|
-
// (undocumented)
|
|
1188
|
-
patch?: EndpointProperties;
|
|
1189
|
-
// (undocumented)
|
|
1190
|
-
put?: EndpointProperties;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
// @public (undocumented)
|
|
1194
|
-
export interface MethodToEndpointPropertiesOutput {
|
|
1195
|
-
// (undocumented)
|
|
1196
|
-
delete?: EndpointPropertiesOutput;
|
|
1197
|
-
// (undocumented)
|
|
1198
|
-
get?: EndpointPropertiesOutput;
|
|
1199
|
-
// (undocumented)
|
|
1200
|
-
patch?: EndpointPropertiesOutput;
|
|
1201
|
-
// (undocumented)
|
|
1202
|
-
put?: EndpointPropertiesOutput;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
// @public (undocumented)
|
|
1206
|
-
export interface ModuleDefOutput {
|
|
1207
|
-
// (undocumented)
|
|
1208
|
-
module: string;
|
|
1209
|
-
// (undocumented)
|
|
1210
|
-
name: string;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
// @public
|
|
1214
|
-
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
|
|
1215
|
-
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
1216
|
-
byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
|
|
1217
|
-
next(): Promise<IteratorResult<TElement>>;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
// @public
|
|
1221
|
-
export interface PagedCollectionsOutput {
|
|
1222
|
-
// (undocumented)
|
|
1223
|
-
collections: Array<CollectionOutput>;
|
|
1224
|
-
nextLink?: string;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
// @public
|
|
1228
|
-
export interface PagedLedgerEntriesOutput {
|
|
1229
|
-
entries: Array<LedgerEntryOutput>;
|
|
1230
|
-
nextLink?: string;
|
|
1231
|
-
state: "Loading" | "Ready";
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
// @public
|
|
1235
|
-
export interface PagedLedgerUsersOutput {
|
|
1236
|
-
// (undocumented)
|
|
1237
|
-
ledgerUsers?: Array<LedgerUserMultipleRolesOutput>;
|
|
1238
|
-
nextLink?: string;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
// @public
|
|
1242
|
-
export interface PagedUserDefinedFunctionsOutput {
|
|
1243
|
-
// (undocumented)
|
|
1244
|
-
functions: Array<UserDefinedFunctionOutput>;
|
|
1245
|
-
nextLink?: string;
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
// @public
|
|
1249
|
-
export interface PagedUsersOutput {
|
|
1250
|
-
// (undocumented)
|
|
1251
|
-
ledgerUsers?: Array<LedgerUserOutput>;
|
|
1252
|
-
nextLink?: string;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
// @public
|
|
1256
|
-
export interface PageSettings {
|
|
1257
|
-
continuationToken?: string;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
// @public
|
|
1261
|
-
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
1262
|
-
|
|
1263
|
-
// @public
|
|
1264
|
-
export type PaginateReturn<TResult> = TResult extends {
|
|
1265
|
-
body: {
|
|
1266
|
-
value?: infer TPage;
|
|
1267
|
-
};
|
|
1268
|
-
} | {
|
|
1269
|
-
body: {
|
|
1270
|
-
members?: infer TPage;
|
|
1271
|
-
};
|
|
1272
|
-
} | {
|
|
1273
|
-
body: {
|
|
1274
|
-
collections?: infer TPage;
|
|
1275
|
-
};
|
|
1276
|
-
} | {
|
|
1277
|
-
body: {
|
|
1278
|
-
entries?: infer TPage;
|
|
1279
|
-
};
|
|
1280
|
-
} | {
|
|
1281
|
-
body: {
|
|
1282
|
-
ledgerUsers?: infer TPage;
|
|
1283
|
-
};
|
|
1284
|
-
} ? GetArrayType<TPage> : Array<unknown>;
|
|
1285
|
-
|
|
1286
|
-
// @public
|
|
1287
|
-
export interface PagingOptions<TResponse> {
|
|
1288
|
-
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
// @public (undocumented)
|
|
1292
|
-
export interface ReceiptContentsOutput {
|
|
1293
|
-
// (undocumented)
|
|
1294
|
-
cert?: string;
|
|
1295
|
-
// (undocumented)
|
|
1296
|
-
leaf?: string;
|
|
1297
|
-
// (undocumented)
|
|
1298
|
-
leafComponents?: ReceiptLeafComponentsOutput;
|
|
1299
|
-
// (undocumented)
|
|
1300
|
-
nodeId: string;
|
|
1301
|
-
// (undocumented)
|
|
1302
|
-
proof: Array<ReceiptElementOutput>;
|
|
1303
|
-
// (undocumented)
|
|
1304
|
-
root?: string;
|
|
1305
|
-
// (undocumented)
|
|
1306
|
-
serviceEndorsements?: Array<string>;
|
|
1307
|
-
// (undocumented)
|
|
1308
|
-
signature: string;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
// @public (undocumented)
|
|
1312
|
-
export interface ReceiptElementOutput {
|
|
1313
|
-
// (undocumented)
|
|
1314
|
-
left?: string;
|
|
1315
|
-
// (undocumented)
|
|
1316
|
-
right?: string;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
// @public (undocumented)
|
|
1320
|
-
export interface ReceiptLeafComponentsOutput {
|
|
1321
|
-
// (undocumented)
|
|
1322
|
-
claimsDigest?: string;
|
|
1323
|
-
// (undocumented)
|
|
1324
|
-
commitEvidence?: string;
|
|
1325
|
-
// (undocumented)
|
|
1326
|
-
writeSetDigest?: string;
|
|
1327
|
-
}
|
|
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
|
-
|
|
1343
|
-
// @public (undocumented)
|
|
1344
|
-
export interface Routes {
|
|
1345
|
-
(path: "/app/governance/constitution"): GetConstitution;
|
|
1346
|
-
(path: "/app/governance/members"): ListConsortiumMembers;
|
|
1347
|
-
(path: "/app/enclaveQuotes"): GetEnclaveQuotes;
|
|
1348
|
-
(path: "/app/collections"): ListCollections;
|
|
1349
|
-
(path: "/app/transactions"): ListLedgerEntries;
|
|
1350
|
-
(path: "/app/transactions/{transactionId}", transactionId: string): GetLedgerEntry;
|
|
1351
|
-
(path: "/app/transactions/{transactionId}/receipt", transactionId: string): GetReceipt;
|
|
1352
|
-
(path: "/app/transactions/{transactionId}/status", transactionId: string): GetTransactionStatus;
|
|
1353
|
-
(path: "/app/transactions/current"): GetCurrentLedgerEntry;
|
|
1354
|
-
(path: "/app/users"): ListUsers;
|
|
1355
|
-
(path: "/app/ledgerUsers"): ListLedgerUsers;
|
|
1356
|
-
(path: "/app/users/{userId}", userId: string): DeleteUser;
|
|
1357
|
-
(path: "/app/ledgerUsers/{userId}", userId: string): DeleteLedgerUser;
|
|
1358
|
-
(path: "/app/userDefinedEndpoints"): GetUserDefinedEndpoint;
|
|
1359
|
-
(path: "/app/userDefinedEndpoints/runtimeOptions"): GetRuntimeOptions;
|
|
1360
|
-
(path: "/app/userDefinedEndpoints/modules"): GetUserDefinedEndpointsModule;
|
|
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;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
// @public
|
|
1368
|
-
export interface TransactionReceiptOutput {
|
|
1369
|
-
applicationClaims?: Array<ApplicationClaimOutput>;
|
|
1370
|
-
// (undocumented)
|
|
1371
|
-
receipt?: ReceiptContentsOutput;
|
|
1372
|
-
state: "Loading" | "Ready";
|
|
1373
|
-
transactionId: string;
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
// @public
|
|
1377
|
-
export interface TransactionStatusOutput {
|
|
1378
|
-
state: "Committed" | "Pending";
|
|
1379
|
-
transactionId: string;
|
|
1380
|
-
}
|
|
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
|
-
|
|
1486
|
-
// @public
|
|
1487
|
-
export interface UserDefinedFunctionOutput {
|
|
1488
|
-
code: string;
|
|
1489
|
-
readonly id?: string;
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
// (No @packageDocumentation comment for this package)
|
|
1493
|
-
|
|
1494
|
-
```
|