@sphereon/ssi-sdk.vc-status-list-issuer-drivers 0.34.1-feature.SSISDK.17.bitstring.sl.2 → 0.34.1-feature.SSISDK.17.bitstring.sl.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,11 +1,34 @@
1
1
  import { IIdentifierResolution } from '@sphereon/ssi-sdk-ext.identifier-resolution';
2
- import { StatusListStore, IAddStatusListEntryArgs, IStatusListEntryEntity, IGetStatusListEntryByCredentialIdArgs, IGetStatusListEntryByIndexArgs } from '@sphereon/ssi-sdk.data-store';
3
- import { StatusListResult, StatusList2021EntryCredentialStatus, StatusListOAuthEntryCredentialStatus, BitstringStatusListEntryCredentialStatus, IStatusListPlugin } from '@sphereon/ssi-sdk.vc-status-list';
4
- import { StatusListDriverType, StatusListCredential, StatusListCredentialIdMode, StatusListType } from '@sphereon/ssi-types';
5
- import { IDataStoreORM, IDIDManager, IKeyManager, ICredentialIssuer, ICredentialVerifier, ICredentialPlugin, IResolver, IAgentContext } from '@veramo/core';
2
+ import { StatusListStore, IAddStatusListEntryArgs, BitstringStatusListEntryCredentialStatus, IStatusListEntryEntity, IBitstringStatusListEntryEntity, IGetStatusListEntryByCredentialIdArgs, IGetStatusListEntryByIndexArgs } from '@sphereon/ssi-sdk.data-store';
3
+ import { StatusListResult, StatusList2021EntryCredentialStatus, StatusListOAuthEntryCredentialStatus, IStatusListPlugin } from '@sphereon/ssi-sdk.vc-status-list';
4
+ import { StatusListDriverType, StatusListType, StatusListCredential, StatusListCredentialIdMode } from '@sphereon/ssi-types';
5
+ import { IDataStoreORM, IDIDManager, IKeyManager, ICredentialIssuer, ICredentialVerifier, IResolver, IAgentContext } from '@veramo/core';
6
6
  import { DataSources } from '@sphereon/ssi-sdk.agent-config';
7
7
  import { DataSource } from 'typeorm';
8
+ import { IVcdmCredentialPlugin } from '@sphereon/ssi-sdk.credential-vcdm';
8
9
 
10
+ /**
11
+ * StatusList Driver Implementation for TypeORM/Agent Data Sources
12
+ *
13
+ * This module provides the database-backed implementation of the IStatusListDriver interface,
14
+ * handling persistence and retrieval of status list credentials and entries using TypeORM.
15
+ * It delegates status list format-specific operations to the functions layer while managing
16
+ * database interactions, driver configuration, and entity lifecycle.
17
+ *
18
+ * Key responsibilities:
19
+ * - Database connection and store management
20
+ * - Status list CRUD operations
21
+ * - Status list entry management
22
+ * - Random index generation for new entries
23
+ * - Integration with multiple data sources
24
+ *
25
+ * @author Sphereon International B.V.
26
+ * @since 2024
27
+ */
28
+
29
+ /**
30
+ * Configuration options for status list management
31
+ */
9
32
  interface StatusListManagementOptions {
10
33
  id?: string;
11
34
  correlationId?: string;
@@ -13,17 +36,33 @@ interface StatusListManagementOptions {
13
36
  driverOptions?: DriverOptions;
14
37
  }
15
38
  type DriverOptions = TypeORMOptions;
39
+ /**
40
+ * TypeORM-specific configuration options
41
+ */
16
42
  interface TypeORMOptions {
17
43
  dbName?: string;
18
44
  }
45
+ /**
46
+ * Filesystem-specific configuration options
47
+ */
19
48
  interface FilesystemOptions {
20
49
  path: string;
21
50
  }
51
+ /**
52
+ * Creates status list management options for TypeORM driver
53
+ * @param args - Configuration parameters including id, correlationId, and database name
54
+ * @returns StatusListManagementOptions configured for TypeORM
55
+ */
22
56
  declare function getOptions(args: {
23
57
  id?: string;
24
58
  correlationId?: string;
25
59
  dbName: string;
26
60
  }): StatusListManagementOptions;
61
+ /**
62
+ * Creates and initializes a status list driver instance
63
+ * @param args - Configuration parameters including database connection details
64
+ * @returns Promise resolving to initialized IStatusListDriver instance
65
+ */
27
66
  declare function getDriver(args: {
28
67
  id?: string;
29
68
  correlationId?: string;
@@ -31,55 +70,145 @@ declare function getDriver(args: {
31
70
  dataSource?: DataSource;
32
71
  dataSources?: DataSources;
33
72
  }): Promise<IStatusListDriver>;
73
+ /**
74
+ * TypeORM-based implementation of the IStatusListDriver interface
75
+ *
76
+ * Manages status list credentials and entries using a TypeORM data source.
77
+ * Handles database operations while delegating format-specific logic to the functions layer.
78
+ */
34
79
  declare class AgentDataSourceStatusListDriver implements IStatusListDriver {
35
80
  private _dataSource;
36
81
  private _statusListStore;
37
82
  private options;
38
83
  private _statusListLength;
84
+ /**
85
+ * Creates a new AgentDataSourceStatusListDriver instance
86
+ * @param _dataSource - TypeORM DataSource for database operations
87
+ * @param _statusListStore - StatusListStore for data persistence
88
+ * @param options - Driver configuration options
89
+ */
39
90
  constructor(_dataSource: DataSource, _statusListStore: StatusListStore, options: StatusListManagementOptions);
91
+ /**
92
+ * Initializes and creates a new AgentDataSourceStatusListDriver instance
93
+ * @param options - Status list management configuration
94
+ * @param dbArgs - Database connection arguments
95
+ * @returns Promise resolving to initialized driver instance
96
+ */
40
97
  static init(options: StatusListManagementOptions, dbArgs?: {
41
98
  dataSources?: DataSources;
42
99
  dataSource?: DataSource;
43
100
  }): Promise<AgentDataSourceStatusListDriver>;
101
+ /**
102
+ * Gets the TypeORM DataSource instance
103
+ * @returns DataSource instance for database operations
104
+ */
44
105
  get dataSource(): DataSource;
106
+ /**
107
+ * Gets the StatusListStore instance
108
+ * @returns StatusListStore for data persistence operations
109
+ */
45
110
  get statusListStore(): StatusListStore;
111
+ /**
112
+ * Gets the driver configuration options
113
+ * @returns DriverOptions configuration
114
+ */
46
115
  getOptions(): DriverOptions;
116
+ /**
117
+ * Gets the driver type
118
+ * @returns StatusListDriverType enum value
119
+ */
47
120
  getType(): StatusListDriverType;
121
+ /**
122
+ * Creates a new status list credential and stores it in the database
123
+ * @param args - Status list creation parameters
124
+ * @returns Promise resolving to StatusListResult
125
+ */
48
126
  createStatusList(args: {
127
+ statusListType: StatusListType;
49
128
  statusListCredential: StatusListCredential;
50
129
  correlationId?: string;
51
130
  credentialIdMode?: StatusListCredentialIdMode;
131
+ bitsPerStatus?: number;
52
132
  }): Promise<StatusListResult>;
133
+ /**
134
+ * Updates an existing status list credential in the database
135
+ * @param args - Status list update parameters
136
+ * @returns Promise resolving to StatusListResult
137
+ */
53
138
  updateStatusList(args: {
54
139
  statusListCredential: StatusListCredential;
55
140
  correlationId: string;
56
- type: StatusListType;
57
141
  }): Promise<StatusListResult>;
142
+ /**
143
+ * Deletes the status list from the database
144
+ * @returns Promise resolving to boolean indicating success
145
+ */
58
146
  deleteStatusList(): Promise<boolean>;
59
- private isStatusList2021Entity;
60
- private isOAuthStatusListEntity;
61
- private isBitstringStatusListEntity;
147
+ /**
148
+ * Updates a status list entry and returns the credential status
149
+ * @param args - Status list entry update parameters
150
+ * @returns Promise resolving to credential status and entry
151
+ */
62
152
  updateStatusListEntry(args: IAddStatusListEntryArgs): Promise<{
63
153
  credentialStatus: StatusList2021EntryCredentialStatus | StatusListOAuthEntryCredentialStatus | BitstringStatusListEntryCredentialStatus;
64
- statusListEntry: IStatusListEntryEntity;
154
+ statusListEntry: IStatusListEntryEntity | IBitstringStatusListEntryEntity;
65
155
  }>;
66
- getStatusListEntryByCredentialId(args: IGetStatusListEntryByCredentialIdArgs): Promise<IStatusListEntryEntity | undefined>;
67
- getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | undefined>;
156
+ /**
157
+ * Retrieves a status list entry by credential ID
158
+ * @param args - Query parameters including credential ID
159
+ * @returns Promise resolving to status list entry or undefined
160
+ */
161
+ getStatusListEntryByCredentialId(args: IGetStatusListEntryByCredentialIdArgs): Promise<IStatusListEntryEntity | IBitstringStatusListEntryEntity | undefined>;
162
+ /**
163
+ * Retrieves a status list entry by index
164
+ * @param args - Query parameters including status list index
165
+ * @returns Promise resolving to status list entry or undefined
166
+ */
167
+ getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | IBitstringStatusListEntryEntity | undefined>;
168
+ /**
169
+ * Generates a random available index for new status list entries
170
+ * @param args - Optional correlation ID parameter
171
+ * @returns Promise resolving to available index number
172
+ */
68
173
  getRandomNewStatusListIndex(args?: {
69
174
  correlationId?: string;
70
175
  }): Promise<number>;
176
+ /**
177
+ * Implementation for generating random status list indices with retry logic
178
+ * @param tries - Number of attempts made
179
+ * @param args - Optional correlation ID parameter
180
+ * @returns Promise resolving to available index or -1 if none found
181
+ */
71
182
  private getRandomNewStatusListIndexImpl;
183
+ /**
184
+ * Gets the length of the status list
185
+ * @param args - Optional correlation ID parameter
186
+ * @returns Promise resolving to status list length
187
+ */
72
188
  getStatusListLength(args?: {
73
189
  correlationId?: string;
74
190
  }): Promise<number>;
191
+ /**
192
+ * Retrieves the status list details
193
+ * @param args - Optional correlation ID parameter
194
+ * @returns Promise resolving to StatusListResult
195
+ */
75
196
  getStatusList(args?: {
76
197
  correlationId?: string;
77
198
  }): Promise<StatusListResult>;
199
+ /**
200
+ * Retrieves all status lists
201
+ * @returns Promise resolving to array of StatusListResult
202
+ */
78
203
  getStatusLists(): Promise<Array<StatusListResult>>;
204
+ /**
205
+ * Checks if a status list index is currently in use
206
+ * @returns Promise resolving to boolean indicating usage status
207
+ */
79
208
  isStatusListIndexInUse(): Promise<boolean>;
80
209
  }
81
210
 
82
- type IRequiredPlugins = IDataStoreORM & IDIDManager & IKeyManager & IIdentifierResolution & ICredentialIssuer & ICredentialVerifier & ICredentialPlugin & IStatusListPlugin & IResolver;
211
+ type IRequiredPlugins = IDataStoreORM & IDIDManager & IKeyManager & IIdentifierResolution & ICredentialIssuer & ICredentialVerifier & IVcdmCredentialPlugin & IStatusListPlugin & IResolver;
83
212
  type IRequiredContext = IAgentContext<IRequiredPlugins>;
84
213
  interface IStatusListDriver {
85
214
  statusListStore: StatusListStore;
@@ -89,8 +218,10 @@ interface IStatusListDriver {
89
218
  correlationId?: string;
90
219
  }): Promise<number>;
91
220
  createStatusList(args: {
221
+ statusListType: StatusListType;
92
222
  statusListCredential: StatusListCredential;
93
223
  correlationId?: string;
224
+ bitsPerStatus?: number;
94
225
  }): Promise<StatusListResult>;
95
226
  getStatusList(args?: {
96
227
  correlationId?: string;
@@ -104,6 +235,7 @@ interface IStatusListDriver {
104
235
  getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | undefined>;
105
236
  updateStatusList(args: {
106
237
  statusListCredential: StatusListCredential;
238
+ correlationId: string;
107
239
  }): Promise<StatusListResult>;
108
240
  deleteStatusList(): Promise<boolean>;
109
241
  getRandomNewStatusListIndex(args?: {
package/dist/index.d.ts CHANGED
@@ -1,11 +1,34 @@
1
1
  import { IIdentifierResolution } from '@sphereon/ssi-sdk-ext.identifier-resolution';
2
- import { StatusListStore, IAddStatusListEntryArgs, IStatusListEntryEntity, IGetStatusListEntryByCredentialIdArgs, IGetStatusListEntryByIndexArgs } from '@sphereon/ssi-sdk.data-store';
3
- import { StatusListResult, StatusList2021EntryCredentialStatus, StatusListOAuthEntryCredentialStatus, BitstringStatusListEntryCredentialStatus, IStatusListPlugin } from '@sphereon/ssi-sdk.vc-status-list';
4
- import { StatusListDriverType, StatusListCredential, StatusListCredentialIdMode, StatusListType } from '@sphereon/ssi-types';
5
- import { IDataStoreORM, IDIDManager, IKeyManager, ICredentialIssuer, ICredentialVerifier, ICredentialPlugin, IResolver, IAgentContext } from '@veramo/core';
2
+ import { StatusListStore, IAddStatusListEntryArgs, BitstringStatusListEntryCredentialStatus, IStatusListEntryEntity, IBitstringStatusListEntryEntity, IGetStatusListEntryByCredentialIdArgs, IGetStatusListEntryByIndexArgs } from '@sphereon/ssi-sdk.data-store';
3
+ import { StatusListResult, StatusList2021EntryCredentialStatus, StatusListOAuthEntryCredentialStatus, IStatusListPlugin } from '@sphereon/ssi-sdk.vc-status-list';
4
+ import { StatusListDriverType, StatusListType, StatusListCredential, StatusListCredentialIdMode } from '@sphereon/ssi-types';
5
+ import { IDataStoreORM, IDIDManager, IKeyManager, ICredentialIssuer, ICredentialVerifier, IResolver, IAgentContext } from '@veramo/core';
6
6
  import { DataSources } from '@sphereon/ssi-sdk.agent-config';
7
7
  import { DataSource } from 'typeorm';
8
+ import { IVcdmCredentialPlugin } from '@sphereon/ssi-sdk.credential-vcdm';
8
9
 
10
+ /**
11
+ * StatusList Driver Implementation for TypeORM/Agent Data Sources
12
+ *
13
+ * This module provides the database-backed implementation of the IStatusListDriver interface,
14
+ * handling persistence and retrieval of status list credentials and entries using TypeORM.
15
+ * It delegates status list format-specific operations to the functions layer while managing
16
+ * database interactions, driver configuration, and entity lifecycle.
17
+ *
18
+ * Key responsibilities:
19
+ * - Database connection and store management
20
+ * - Status list CRUD operations
21
+ * - Status list entry management
22
+ * - Random index generation for new entries
23
+ * - Integration with multiple data sources
24
+ *
25
+ * @author Sphereon International B.V.
26
+ * @since 2024
27
+ */
28
+
29
+ /**
30
+ * Configuration options for status list management
31
+ */
9
32
  interface StatusListManagementOptions {
10
33
  id?: string;
11
34
  correlationId?: string;
@@ -13,17 +36,33 @@ interface StatusListManagementOptions {
13
36
  driverOptions?: DriverOptions;
14
37
  }
15
38
  type DriverOptions = TypeORMOptions;
39
+ /**
40
+ * TypeORM-specific configuration options
41
+ */
16
42
  interface TypeORMOptions {
17
43
  dbName?: string;
18
44
  }
45
+ /**
46
+ * Filesystem-specific configuration options
47
+ */
19
48
  interface FilesystemOptions {
20
49
  path: string;
21
50
  }
51
+ /**
52
+ * Creates status list management options for TypeORM driver
53
+ * @param args - Configuration parameters including id, correlationId, and database name
54
+ * @returns StatusListManagementOptions configured for TypeORM
55
+ */
22
56
  declare function getOptions(args: {
23
57
  id?: string;
24
58
  correlationId?: string;
25
59
  dbName: string;
26
60
  }): StatusListManagementOptions;
61
+ /**
62
+ * Creates and initializes a status list driver instance
63
+ * @param args - Configuration parameters including database connection details
64
+ * @returns Promise resolving to initialized IStatusListDriver instance
65
+ */
27
66
  declare function getDriver(args: {
28
67
  id?: string;
29
68
  correlationId?: string;
@@ -31,55 +70,145 @@ declare function getDriver(args: {
31
70
  dataSource?: DataSource;
32
71
  dataSources?: DataSources;
33
72
  }): Promise<IStatusListDriver>;
73
+ /**
74
+ * TypeORM-based implementation of the IStatusListDriver interface
75
+ *
76
+ * Manages status list credentials and entries using a TypeORM data source.
77
+ * Handles database operations while delegating format-specific logic to the functions layer.
78
+ */
34
79
  declare class AgentDataSourceStatusListDriver implements IStatusListDriver {
35
80
  private _dataSource;
36
81
  private _statusListStore;
37
82
  private options;
38
83
  private _statusListLength;
84
+ /**
85
+ * Creates a new AgentDataSourceStatusListDriver instance
86
+ * @param _dataSource - TypeORM DataSource for database operations
87
+ * @param _statusListStore - StatusListStore for data persistence
88
+ * @param options - Driver configuration options
89
+ */
39
90
  constructor(_dataSource: DataSource, _statusListStore: StatusListStore, options: StatusListManagementOptions);
91
+ /**
92
+ * Initializes and creates a new AgentDataSourceStatusListDriver instance
93
+ * @param options - Status list management configuration
94
+ * @param dbArgs - Database connection arguments
95
+ * @returns Promise resolving to initialized driver instance
96
+ */
40
97
  static init(options: StatusListManagementOptions, dbArgs?: {
41
98
  dataSources?: DataSources;
42
99
  dataSource?: DataSource;
43
100
  }): Promise<AgentDataSourceStatusListDriver>;
101
+ /**
102
+ * Gets the TypeORM DataSource instance
103
+ * @returns DataSource instance for database operations
104
+ */
44
105
  get dataSource(): DataSource;
106
+ /**
107
+ * Gets the StatusListStore instance
108
+ * @returns StatusListStore for data persistence operations
109
+ */
45
110
  get statusListStore(): StatusListStore;
111
+ /**
112
+ * Gets the driver configuration options
113
+ * @returns DriverOptions configuration
114
+ */
46
115
  getOptions(): DriverOptions;
116
+ /**
117
+ * Gets the driver type
118
+ * @returns StatusListDriverType enum value
119
+ */
47
120
  getType(): StatusListDriverType;
121
+ /**
122
+ * Creates a new status list credential and stores it in the database
123
+ * @param args - Status list creation parameters
124
+ * @returns Promise resolving to StatusListResult
125
+ */
48
126
  createStatusList(args: {
127
+ statusListType: StatusListType;
49
128
  statusListCredential: StatusListCredential;
50
129
  correlationId?: string;
51
130
  credentialIdMode?: StatusListCredentialIdMode;
131
+ bitsPerStatus?: number;
52
132
  }): Promise<StatusListResult>;
133
+ /**
134
+ * Updates an existing status list credential in the database
135
+ * @param args - Status list update parameters
136
+ * @returns Promise resolving to StatusListResult
137
+ */
53
138
  updateStatusList(args: {
54
139
  statusListCredential: StatusListCredential;
55
140
  correlationId: string;
56
- type: StatusListType;
57
141
  }): Promise<StatusListResult>;
142
+ /**
143
+ * Deletes the status list from the database
144
+ * @returns Promise resolving to boolean indicating success
145
+ */
58
146
  deleteStatusList(): Promise<boolean>;
59
- private isStatusList2021Entity;
60
- private isOAuthStatusListEntity;
61
- private isBitstringStatusListEntity;
147
+ /**
148
+ * Updates a status list entry and returns the credential status
149
+ * @param args - Status list entry update parameters
150
+ * @returns Promise resolving to credential status and entry
151
+ */
62
152
  updateStatusListEntry(args: IAddStatusListEntryArgs): Promise<{
63
153
  credentialStatus: StatusList2021EntryCredentialStatus | StatusListOAuthEntryCredentialStatus | BitstringStatusListEntryCredentialStatus;
64
- statusListEntry: IStatusListEntryEntity;
154
+ statusListEntry: IStatusListEntryEntity | IBitstringStatusListEntryEntity;
65
155
  }>;
66
- getStatusListEntryByCredentialId(args: IGetStatusListEntryByCredentialIdArgs): Promise<IStatusListEntryEntity | undefined>;
67
- getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | undefined>;
156
+ /**
157
+ * Retrieves a status list entry by credential ID
158
+ * @param args - Query parameters including credential ID
159
+ * @returns Promise resolving to status list entry or undefined
160
+ */
161
+ getStatusListEntryByCredentialId(args: IGetStatusListEntryByCredentialIdArgs): Promise<IStatusListEntryEntity | IBitstringStatusListEntryEntity | undefined>;
162
+ /**
163
+ * Retrieves a status list entry by index
164
+ * @param args - Query parameters including status list index
165
+ * @returns Promise resolving to status list entry or undefined
166
+ */
167
+ getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | IBitstringStatusListEntryEntity | undefined>;
168
+ /**
169
+ * Generates a random available index for new status list entries
170
+ * @param args - Optional correlation ID parameter
171
+ * @returns Promise resolving to available index number
172
+ */
68
173
  getRandomNewStatusListIndex(args?: {
69
174
  correlationId?: string;
70
175
  }): Promise<number>;
176
+ /**
177
+ * Implementation for generating random status list indices with retry logic
178
+ * @param tries - Number of attempts made
179
+ * @param args - Optional correlation ID parameter
180
+ * @returns Promise resolving to available index or -1 if none found
181
+ */
71
182
  private getRandomNewStatusListIndexImpl;
183
+ /**
184
+ * Gets the length of the status list
185
+ * @param args - Optional correlation ID parameter
186
+ * @returns Promise resolving to status list length
187
+ */
72
188
  getStatusListLength(args?: {
73
189
  correlationId?: string;
74
190
  }): Promise<number>;
191
+ /**
192
+ * Retrieves the status list details
193
+ * @param args - Optional correlation ID parameter
194
+ * @returns Promise resolving to StatusListResult
195
+ */
75
196
  getStatusList(args?: {
76
197
  correlationId?: string;
77
198
  }): Promise<StatusListResult>;
199
+ /**
200
+ * Retrieves all status lists
201
+ * @returns Promise resolving to array of StatusListResult
202
+ */
78
203
  getStatusLists(): Promise<Array<StatusListResult>>;
204
+ /**
205
+ * Checks if a status list index is currently in use
206
+ * @returns Promise resolving to boolean indicating usage status
207
+ */
79
208
  isStatusListIndexInUse(): Promise<boolean>;
80
209
  }
81
210
 
82
- type IRequiredPlugins = IDataStoreORM & IDIDManager & IKeyManager & IIdentifierResolution & ICredentialIssuer & ICredentialVerifier & ICredentialPlugin & IStatusListPlugin & IResolver;
211
+ type IRequiredPlugins = IDataStoreORM & IDIDManager & IKeyManager & IIdentifierResolution & ICredentialIssuer & ICredentialVerifier & IVcdmCredentialPlugin & IStatusListPlugin & IResolver;
83
212
  type IRequiredContext = IAgentContext<IRequiredPlugins>;
84
213
  interface IStatusListDriver {
85
214
  statusListStore: StatusListStore;
@@ -89,8 +218,10 @@ interface IStatusListDriver {
89
218
  correlationId?: string;
90
219
  }): Promise<number>;
91
220
  createStatusList(args: {
221
+ statusListType: StatusListType;
92
222
  statusListCredential: StatusListCredential;
93
223
  correlationId?: string;
224
+ bitsPerStatus?: number;
94
225
  }): Promise<StatusListResult>;
95
226
  getStatusList(args?: {
96
227
  correlationId?: string;
@@ -104,6 +235,7 @@ interface IStatusListDriver {
104
235
  getStatusListEntryByIndex(args: IGetStatusListEntryByIndexArgs): Promise<IStatusListEntryEntity | undefined>;
105
236
  updateStatusList(args: {
106
237
  statusListCredential: StatusListCredential;
238
+ correlationId: string;
107
239
  }): Promise<StatusListResult>;
108
240
  deleteStatusList(): Promise<boolean>;
109
241
  getRandomNewStatusListIndex(args?: {