@@ -16,36 +16,36 @@ export interface IAttributes {
16
16
interface ICredentialsAttributes {
17
17
connectionId: string;
18
18
attributes: IAttributes[];
19
- credential?:ICredential;
20
- options?:IOptions
19
+ credential?: ICredential;
20
+ options?: IOptions;
21
21
}
22
22
export interface IIssuance {
23
23
user?: IUserRequest;
24
24
credentialDefinitionId: string;
25
25
comment?: string;
26
26
credentialData: ICredentialsAttributes[];
27
27
orgId: string;
28
- autoAcceptCredential?: AutoAccept,
28
+ autoAcceptCredential?: AutoAccept;
29
29
protocolVersion?: string;
30
- goalCode?: string,
31
- parentThreadId?: string,
32
- willConfirm?: boolean,
33
- label?: string,
34
- credentialType: string,
30
+ goalCode?: string;
31
+ parentThreadId?: string;
32
+ willConfirm?: boolean;
33
+ label?: string;
34
+ credentialType: string;
35
35
}
36
36
37
37
interface IIndy {
38
- attributes: IAttributes[],
39
- credentialDefinitionId: string
38
+ attributes: IAttributes[];
39
+ credentialDefinitionId: string;
40
40
}
41
41
42
42
export interface IIssueData {
43
43
protocolVersion?: string;
44
44
connectionId: string;
45
45
credentialFormats: {
46
- indy: IIndy
47
- },
48
- autoAcceptCredential: string,
46
+ indy: IIndy;
47
+ };
48
+ autoAcceptCredential: string;
49
49
comment?: string;
50
50
}
51
51
@@ -90,8 +90,8 @@ export interface IPattern {
90
90
}
91
91
92
92
export interface ISendOfferNatsPayload {
93
- issueData: IIssueData,
94
- url: string,
93
+ issueData: IIssueData;
94
+ url: string;
95
95
apiKey?: string;
96
96
orgId?: string;
97
97
}
@@ -137,8 +137,8 @@ export interface ICredentialAttributesInterface {
137
137
value: string;
138
138
}
139
139
140
- export interface ICredential{
141
- '@context':[];
140
+ export interface ICredential {
141
+ '@context': [];
142
142
type: string[];
143
143
prettyVc?: IPrettyVc;
144
144
issuer?: {
@@ -152,15 +152,15 @@ interface ICredentialSubject {
152
152
[key: string]: string;
153
153
}
154
154
155
- export interface IOptions{
156
- proofType:string;
157
- proofPurpose:string;
155
+ export interface IOptions {
156
+ proofType: string;
157
+ proofPurpose: string;
158
158
}
159
159
export interface CredentialOffer {
160
160
emailId: string;
161
161
attributes: IAttributes[];
162
- credential?:ICredential;
163
- options?:IOptions
162
+ credential?: ICredential;
163
+ options?: IOptions;
164
164
}
165
165
export interface OutOfBandCredentialOfferPayload {
166
166
credentialDefinitionId?: string;
@@ -171,13 +171,13 @@ export interface OutOfBandCredentialOfferPayload {
171
171
attributes?: IAttributes[];
172
172
protocolVersion?: string;
173
173
isReuseConnection?: boolean;
174
- goalCode?: string,
175
- parentThreadId?: string,
176
- willConfirm?: boolean,
177
- label?: string,
178
- imageUrl?: string,
174
+ goalCode?: string;
175
+ parentThreadId?: string;
176
+ willConfirm?: boolean;
177
+ label?: string;
178
+ imageUrl?: string;
179
179
autoAcceptCredential?: string;
180
- credentialType?:IssueCredentialType;
180
+ credentialType?: IssueCredentialType;
181
181
}
182
182
183
183
export interface OutOfBandCredentialOffer {
@@ -199,30 +199,30 @@ export interface ImportFileDetails {
199
199
isValidateSchema?: boolean;
200
200
}
201
201
export interface ICredentialPayload {
202
- schemaLedgerId: string,
203
- credentialDefinitionId: string,
204
- fileData: object,
205
- fileName: string,
206
- credentialType: string,
207
- schemaName?: string
202
+ schemaLedgerId: string;
203
+ credentialDefinitionId: string;
204
+ fileData: object;
205
+ fileName: string;
206
+ credentialType: string;
207
+ schemaName?: string;
208
208
}
209
209
export interface PreviewRequest {
210
- pageNumber: number,
211
- pageSize: number,
212
- searchByText: string,
213
- sortField?: string,
214
- sortBy?: string
210
+ pageNumber: number;
211
+ pageSize: number;
212
+ searchByText: string;
213
+ sortField?: string;
214
+ sortBy?: string;
215
215
}
216
216
217
217
export interface FileUpload {
218
- name?: string,
219
- upload_type?: string,
220
- status?: string,
221
- orgId?: string,
222
- createDateTime?: Date | null,
223
- lastChangedDateTime?: Date | null,
224
- credentialType?: string,
225
- templateId?: string
218
+ name?: string;
219
+ upload_type?: string;
220
+ status?: string;
221
+ orgId?: string;
222
+ createDateTime?: Date | null;
223
+ lastChangedDateTime?: Date | null;
224
+ credentialType?: string;
225
+ templateId?: string;
226
226
}
227
227
228
228
export interface FileUploadData {
@@ -284,19 +284,19 @@ export interface SendEmailCredentialOffer {
284
284
iterator: CredentialOffer;
285
285
emailId: string;
286
286
index: number;
287
- credentialType: IssueCredentialType;
287
+ credentialType: IssueCredentialType;
288
288
protocolVersion: string;
289
289
isReuseConnection?: boolean;
290
- attributes: IAttributes[];
291
- credentialDefinitionId: string;
290
+ attributes: IAttributes[];
291
+ credentialDefinitionId: string;
292
292
outOfBandCredential: OutOfBandCredentialOfferPayload;
293
293
comment: string;
294
- organisation: organisation;
294
+ organisation: organisation;
295
295
errors;
296
296
url: string;
297
- orgId: string;
297
+ orgId: string;
298
298
organizationDetails: organisation;
299
- platformName?: string,
299
+ platformName?: string;
300
300
organizationLogoUrl?: string;
301
301
prettyVc?: IPrettyVc;
302
302
isValidateSchema?: boolean;
@@ -321,12 +321,12 @@ export interface IJobDetails {
321
321
schemaLedgerId: string;
322
322
credentialDefinitionId?: string;
323
323
status?: boolean;
324
- credential_data: CredentialData
324
+ credential_data: CredentialData;
325
325
orgId: string;
326
326
credentialType: string;
327
327
}
328
328
329
- export interface IQueuePayload{
329
+ export interface IQueuePayload {
330
330
id: string;
331
331
jobId: string;
332
332
cacheId?: string;
@@ -356,17 +356,17 @@ export interface IQueuePayload{
356
356
interface FileDetails {
357
357
schemaLedgerId: string;
358
358
credentialDefinitionId: string;
359
- fileData:object
359
+ fileData: object;
360
360
fileName: string;
361
361
credentialType: string;
362
362
schemaName: string;
363
363
}
364
364
export interface IBulkPayloadObject {
365
- parsedData?: unknown[],
366
- parsedFileDetails?: FileDetails,
367
- userId: string,
368
- fileUploadId: string
369
- };
365
+ parsedData?: unknown[];
366
+ parsedFileDetails?: FileDetails;
367
+ userId: string;
368
+ fileUploadId: string;
369
+ }
370
370
export interface ISchemaAttributes {
371
371
attributeName: string;
372
372
schemaDataType: string;
@@ -399,4 +399,4 @@ export interface BulkPayloadDetails {
399
399
400
400
export interface ISchemaId {
401
401
schemaLedgerId: string;
402
- }
402
+ }
0 commit comments