@twin.org/identity-cli 0.0.2-next.1 → 0.0.2-next.10

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.
@@ -39,11 +39,13 @@
39
39
  "beUrl": "{fieldName} must be a correctly formatted url",
40
40
  "beJSON": "{fieldName} must be correctly formatted JSON",
41
41
  "beEmail": "{fieldName} must be a correctly formatted e-mail address",
42
- "failed": "Validation failed",
43
- "failedObject": "Validation of \"{objectName}\" failed",
44
- "properties": {
45
- "keyAlreadyExists": "The key already exists"
46
- },
42
+ "minLengthRequired": "The value length should be at least {minLength}, it is {actualLength}",
43
+ "maxLengthRequired": "The value length should be at most {maxLength}, it is {actualLength}",
44
+ "repeatedCharacters": "The value should not contain repeated characters in sequence",
45
+ "atLeastOneLowerCase": "The value should contain at least one lowercase character",
46
+ "atLeastOneUpperCase": "The value should contain at least one uppercase character",
47
+ "atLeastOneNumber": "The value should contain at least one number",
48
+ "atLeastOneSpecialChar": "The value should contain at least one symbol",
47
49
  "schema": {
48
50
  "failedValidation": "The JSON schema failed validation, {message}",
49
51
  "missingType": "Failed to validate as there is no handler for type \"{dataType}\""
@@ -80,9 +82,7 @@
80
82
  "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
81
83
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
82
84
  "length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
83
- "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}",
84
- "length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
85
- "greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
85
+ "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}"
86
86
  },
87
87
  "objectHelper": {
88
88
  "failedBytesToJSON": "Failed converting bytes to JSON",
@@ -98,7 +98,7 @@
98
98
  "noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
99
99
  },
100
100
  "bitString": {
101
- "outOfRange": "The index should be >= 0 and less than the length of the bit string"
101
+ "outOfRange": "The index should be >= 0 and less than the length of the bit string, the index is \"{index}\" and the number of bit is \"{numberBits}\""
102
102
  },
103
103
  "base32": {
104
104
  "invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
@@ -112,10 +112,6 @@
112
112
  "jsonHelper": {
113
113
  "failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
114
114
  },
115
- "bip39": {
116
- "missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
117
- "checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
118
- },
119
115
  "ed25519": {
120
116
  "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
121
117
  "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
@@ -124,13 +120,6 @@
124
120
  "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
125
121
  "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
126
122
  },
127
- "x25519": {
128
- "invalidPublicKey": "Invalid Ed25519 Public Key"
129
- },
130
- "blake2b": {
131
- "outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
132
- "keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
133
- },
134
123
  "sha512": {
135
124
  "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
136
125
  },
@@ -153,46 +142,28 @@
153
142
  "lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
154
143
  "dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
155
144
  },
156
- "pbkdf2": {
157
- "keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
158
- },
159
- "chaCha20Poly1305": {
160
- "noAadWithData": "You can not set the aad when there is already data",
161
- "noAuthTag": "Can not finalise when the auth tag is not set",
162
- "authenticationFailed": "The data could not be authenticated",
163
- "authTagDecrypting": "Can not get the auth tag when decrypting",
164
- "authTagEncrypting": "Can not set the auth tag when encrypting",
165
- "noAuthTagSet": "The auth tag has not been set"
166
- },
167
145
  "bip44": {
168
146
  "unsupportedKeyType": "The key type \"{keyType}\" is not supported"
169
147
  },
170
148
  "slip0010": {
171
149
  "invalidSeed": "The seed is invalid \"{seed}\""
172
150
  },
173
- "rsa": {
174
- "noPrivateKey": "Private key is required for this operation",
175
- "invalidKeySize": "Invalid RSA key size"
176
- },
177
151
  "commands": {
178
152
  "common": {
179
153
  "missingEnv": "The \"{option}\" option is configured as an environment variable, but there is no environment variable with the name \"{value}\" set.",
180
154
  "optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
181
155
  "optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
182
156
  "optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
183
- "optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
184
157
  "optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
185
158
  "optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
186
159
  },
187
- "address": {
188
- "seedMissingEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there is no environment variable with the name \"{env}\" set.",
189
- "seedInvalidEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there the environment variable is neither hex or base64. \"{envValue}\"",
190
- "seedInvalidFormat": "The seed does not appear to be hex, base64 or an environment variable. \"{seed}\""
191
- },
192
160
  "verifiable-credential-create": {
193
161
  "subjectJsonFileNotFound": "The subject JSON file was not found."
194
162
  },
195
163
  "proof-create": {
164
+ "documentJsonFileNotFound": "The document JSON file was not found."
165
+ },
166
+ "proof-verify": {
196
167
  "documentJsonFileNotFound": "The document JSON file was not found.",
197
168
  "proofJsonFileNotFound": "The proof JSON file was not found."
198
169
  }
@@ -213,11 +184,12 @@
213
184
  "invalidEntityKeys": "The entity had additional properties that are not in the schema, \"{keys}\""
214
185
  },
215
186
  "fetchHelper": {
216
- "decodingJSON": "Decoding JSON failed for route \"{route}\"",
187
+ "decodingJSON": "Decoding JSON failed for route \"{url}\"",
217
188
  "failureStatusText": "The request to the API failed: \"{statusText}\"",
218
189
  "connectivity": "The request failed, the API could be offline, or there are other connectivity issues",
219
190
  "timeout": "The request timed out",
220
- "general": "A general failure occurred during the request"
191
+ "general": "A general failure occurred during the request",
192
+ "retryLimitExceeded": "The retry limit was exceeded for route \"{url}\""
221
193
  },
222
194
  "jwt": {
223
195
  "noKeyOrSigner": "No key or signer was provided for JWT creation",
@@ -235,27 +207,25 @@
235
207
  },
236
208
  "verificationHelper": {
237
209
  "jwtDecodeFailed": "Decoding the JWT failed",
238
- "proofTypeNotSupported": "The proof type \"{proofType}\" is not supported",
239
210
  "proofMissingVerificationMethod": "The proof is missing the verification method"
240
211
  },
241
212
  "documentHelper": {
242
213
  "verificationMethodNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" could not be found",
243
214
  "verificationMethodJwkNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" is missing the JWK"
244
215
  },
216
+ "idHelper": {
217
+ "invalidDocumentId": "The document id \"{id}\" is invalid"
218
+ },
245
219
  "proofHelper": {
246
- "unsupportedProofType": "Proof type \"{proofType}\" not supported.",
247
- "proofMissing": "Proof is missing."
220
+ "unsupportedProofType": "Proof type \"{proofType}\" not supported."
248
221
  },
249
222
  "jsonWebSignature2020SignerVerifier": {
250
- "missingPrivateKey": "Private key is missing.",
251
- "missingPublicKey": "Public key is missing.",
252
- "missingProofValue": "Proof value is missing."
223
+ "missingJws": "JWS is missing from proof."
253
224
  },
254
225
  "dataIntegrityProofSignerVerifier": {
255
- "cryptosuiteNotSupported": "Cryptosuite \"{cryptosuite}\" is not supported.",
226
+ "cryptosuiteNotSupported": "Cryptosuite \"{cryptoSuite}\" is not supported.",
256
227
  "missingPrivateKey": "Private key is missing.",
257
- "missingPublicKey": "Public key is missing.",
258
- "missingProofValue": "Proof value is missing."
228
+ "missingPublicKey": "Public key is missing."
259
229
  },
260
230
  "multikeyHelper": {
261
231
  "invalidPublicKeyMultibase": "Public key multibase \"{publicKeyMultibase}\" is invalid.",
@@ -293,24 +263,14 @@
293
263
  "verifyProofFailed": "Verifying the signature for the data failed",
294
264
  "revokeVerifiableCredentialsFailed": "Revoking verifiable credentials failed",
295
265
  "unrevokeVerifiableCredentialsFailed": "Unrevoking verifiable credentials failed",
296
- "proofType": "The proof type must be DataIntegrityProof, it is currently {proofType}",
297
- "integerNegative": "The value must be a positive integer, it is currently {value}",
298
- "invalidDocumentIdFormat": "The document ID format is invalid, it is currently {documentId}",
299
266
  "invalidSubjectId": "The subject id format is invalid it must be a Url or Urn, it is \"{subjectId}\"",
300
267
  "missingControllerToken": "The controller token is missing",
301
- "unexpectedExecutionResult": "Could not extract DID from transaction result",
302
- "objectIdNotFound": "The object ID was not found in the created object",
303
- "gasStationError": "Gas station transaction execution failed",
304
- "gasStationTransactionBuildFailed": "Gas station transaction build failed",
305
- "gasStationTransactionFailed": "Gas station transaction failed",
306
- "gasStationDocumentUpdateFailed": "Gas station document update failed",
307
- "didExtractionFailed": "Failed to extract DID from transaction execution result",
308
- "transactionConfirmationTimeout": "Transaction confirmation timed out",
309
- "transactionBuildFailed": "Transaction build failed - unexpected build result format",
310
- "didResolutionFailed": "DID resolution failed",
311
- "didResolutionFailedAllRetries": "DID resolution failed after all retries",
312
- "invalidMaxRetries": "The maximum number of retries must be a positive integer, it is currently {maxRetries}",
313
- "invalidBaseDelay": "The base delay must be a positive integer, it is currently {baseDelay}"
268
+ "identityNotFound": "The identity could not be found \"{notFoundId}\"",
269
+ "revocationServiceNotFound": "The revocation service could not be found in the document",
270
+ "didExtractionFailed": "Extracting the DID from the document id failed",
271
+ "transactionConfirmationTimeout": "The transaction was not confirmed in the expected time",
272
+ "transactionBuildFailed": "Building the transaction failed",
273
+ "gasStationTransactionBuildFailed": "Building the gas station transaction failed"
314
274
  },
315
275
  "iota": {
316
276
  "insufficientFunds": "There were insufficient funds to complete the operation",
@@ -320,8 +280,24 @@
320
280
  "transactionFailed": "The transaction failed",
321
281
  "addressNotFound": "The address is missing could not be found from the seed \"{address}\"",
322
282
  "gasStationTransactionFailed": "The gas station transaction failed",
323
- "gasReservationFailed": "The gas reservation failed",
324
- "gasStationExecutionFailed": "The gas station execution failed"
283
+ "dryRunFailed": "The dry run execution failed"
284
+ },
285
+ "iotaSmartContractUtils": {
286
+ "migrationFailed": "Smart contract migration failed",
287
+ "migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
288
+ "enableMigrationFailed": "Failed to enable migration for smart contract",
289
+ "disableMigrationFailed": "Failed to disable migration for smart contract",
290
+ "migrationStateNotReadable": "Cannot read migration state for ID \"{migrationStateId}\"",
291
+ "isMigrationActiveFailed": "Failed to check if migration is active",
292
+ "invalidVersionData": "Invalid version data received from smart contract",
293
+ "getCurrentContractVersionNoData": "No version data returned from contract",
294
+ "getCurrentContractVersionFailed": "Failed to get current contract version",
295
+ "objectNotReadable": "Cannot read object with ID \"{objectId}\"",
296
+ "objectInvalidFormat": "Object \"{objectId}\" has invalid format",
297
+ "validateObjectVersionFailed": "Failed to validate object version for \"{objectId}\"",
298
+ "getContractObjectIdsFailed": "Failed to get contract object IDs for namespace \"{namespace}\" on network \"{network}\"",
299
+ "adminCapNotFound": "AdminCap object not found for type \"{adminCapType}\" and address \"{adminAddress}\"",
300
+ "migrationStateNotFound": "MigrationState object not found for type \"{migrationStateType}\" and address \"{adminAddress}\""
325
301
  },
326
302
  "vaultConnectorHelper": {
327
303
  "invalidSignature": "The JSON Web token signature could not be verified"
@@ -351,11 +327,17 @@
351
327
  "alreadyExistsError": "Already Exists",
352
328
  "notImplementedError": "Not Implemented",
353
329
  "validationError": "Validation",
354
- "unprocessableError": "Unprocessable"
330
+ "unprocessableError": "Unprocessable",
331
+ "unauthorizedError": "Unauthorized"
355
332
  },
356
333
  "validation": {
357
334
  "defaultFieldName": "The field"
358
335
  },
336
+ "warn": {
337
+ "common": {
338
+ "devOnlyTool": "This tool is intended to be used for development purposes, it is not recommended for use in production scenarios."
339
+ }
340
+ },
359
341
  "cli": {
360
342
  "progress": {
361
343
  "done": "Done.",
@@ -411,27 +393,11 @@
411
393
  "param": "--seed-format '<'format'>'",
412
394
  "description": "The format to output the seed."
413
395
  },
414
- "no-console": {
415
- "param": "--no-console",
416
- "description": "Hides the mnemonic and seed in the console."
417
- },
418
- "json": {
419
- "param": "--json '<'filename'>'",
420
- "description": "Creates a JSON file containing the mnemonic and seed."
421
- },
422
- "env": {
423
- "param": "--env '<'filename'>'",
424
- "description": "Creates an env file containing the mnemonic and seed."
425
- },
426
396
  "env-prefix": {
427
397
  "param": "--env-prefix '<'prefix'>'",
428
398
  "description": "Prefixes the env variables with the value."
429
399
  }
430
400
  },
431
- "progress": {
432
- "writingJsonFile": "Writing JSON file",
433
- "writingEnvFile": "Writing env file"
434
- },
435
401
  "labels": {
436
402
  "mnemonic": "Mnemonic",
437
403
  "seed": "Seed",
@@ -628,6 +594,10 @@
628
594
  "id": {
629
595
  "param": "--id '<'id'>'",
630
596
  "description": "The optional id of verification method to add, if not provided one will be generated."
597
+ },
598
+ "addressIndex": {
599
+ "param": "--address-index '<'index'>'",
600
+ "description": "The address index to use for the identity controller."
631
601
  }
632
602
  },
633
603
  "progress": {
@@ -640,7 +610,8 @@
640
610
  "publicKeyBase64": "Public Key Base64",
641
611
  "privateKeyHex": "Private Key Hex",
642
612
  "publicKeyHex": "Public Key Hex",
643
- "kid": "Key Id"
613
+ "kid": "Key Id",
614
+ "addressIndex": "Address Index"
644
615
  }
645
616
  },
646
617
  "verification-method-remove": {
@@ -651,20 +622,21 @@
651
622
  "param": "--seed '<'seed'>'",
652
623
  "description": "The seed for the private key for the controller address of the document in hex or base64, or start with ! to read environment variable."
653
624
  },
654
- "did": {
655
- "param": "--did '<'did'>'",
656
- "description": "The identifier to remove the verification method from, or start with ! to read environment variable."
657
- },
658
625
  "id": {
659
626
  "param": "--id '<'id'>'",
660
627
  "description": "The id of verification method to remove."
628
+ },
629
+ "addressIndex": {
630
+ "param": "--address-index '<'index'>'",
631
+ "description": "The address index to use for the identity controller."
661
632
  }
662
633
  },
663
634
  "progress": {
664
635
  "removingVerificationMethod": "Removing Verification Method"
665
636
  },
666
637
  "labels": {
667
- "verificationMethodId": "Verification Method Id"
638
+ "verificationMethodId": "Verification Method Id",
639
+ "addressIndex": "Address Index"
668
640
  }
669
641
  },
670
642
  "service-add": {
@@ -690,6 +662,10 @@
690
662
  "endpoint": {
691
663
  "param": "--endpoint '<'endpoint'>'",
692
664
  "description": "The service endpoint to add."
665
+ },
666
+ "addressIndex": {
667
+ "param": "--address-index '<'index'>'",
668
+ "description": "The address index to use for the identity controller."
693
669
  }
694
670
  },
695
671
  "progress": {
@@ -698,7 +674,8 @@
698
674
  "labels": {
699
675
  "serviceId": "Service Id",
700
676
  "serviceType": "Service Type",
701
- "serviceEndpoint": "Service Endpoint"
677
+ "serviceEndpoint": "Service Endpoint",
678
+ "addressIndex": "Address Index"
702
679
  }
703
680
  },
704
681
  "service-remove": {
@@ -712,13 +689,18 @@
712
689
  "id": {
713
690
  "param": "--id '<'id'>'",
714
691
  "description": "The id of service to remove."
692
+ },
693
+ "addressIndex": {
694
+ "param": "--address-index '<'index'>'",
695
+ "description": "The address index to use for the identity controller."
715
696
  }
716
697
  },
717
698
  "progress": {
718
699
  "removingService": "Removing Service"
719
700
  },
720
701
  "labels": {
721
- "serviceId": "Service Id"
702
+ "serviceId": "Service Id",
703
+ "addressIndex": "Address Index"
722
704
  }
723
705
  },
724
706
  "verifiable-credential-create": {
@@ -744,6 +726,10 @@
744
726
  "revocation-index": {
745
727
  "param": "--revocation-index '<'revocation-index'>'",
746
728
  "description": "The revocation index in the issuing document to use if revoking the credential."
729
+ },
730
+ "addressIndex": {
731
+ "param": "--address-index '<'index'>'",
732
+ "description": "The address index to use for the identity controller."
747
733
  }
748
734
  },
749
735
  "progress": {
@@ -755,7 +741,8 @@
755
741
  "credentialId": "Credential Id",
756
742
  "subjectJson": "Subject JSON",
757
743
  "revocationIndex": "Revocation Index",
758
- "verifiableCredential": "Verifiable Credential"
744
+ "verifiableCredential": "Verifiable Credential",
745
+ "addressIndex": "Address Index"
759
746
  }
760
747
  },
761
748
  "verifiable-credential-verify": {
@@ -791,13 +778,18 @@
791
778
  "revocation-index": {
792
779
  "param": "--revocation-index '<'revocation-index'>'",
793
780
  "description": "The revocation index of the credential revoke."
781
+ },
782
+ "addressIndex": {
783
+ "param": "--address-index '<'index'>'",
784
+ "description": "The address index to use for the identity controller."
794
785
  }
795
786
  },
796
787
  "progress": {
797
788
  "revokingCredential": "Revoking Credential Index"
798
789
  },
799
790
  "labels": {
800
- "revocationIndex": "Revocation Index"
791
+ "revocationIndex": "Revocation Index",
792
+ "addressIndex": "Address Index"
801
793
  }
802
794
  },
803
795
  "verifiable-credential-unrevoke": {
@@ -815,13 +807,18 @@
815
807
  "revocation-index": {
816
808
  "param": "--revocation-index '<'revocation-index'>'",
817
809
  "description": "The revocation index of the credential unrevoke."
810
+ },
811
+ "addressIndex": {
812
+ "param": "--address-index '<'index'>'",
813
+ "description": "The address index to use for the identity controller."
818
814
  }
819
815
  },
820
816
  "progress": {
821
817
  "unrevokingCredential": "Unrevoking Credential Index"
822
818
  },
823
819
  "labels": {
824
- "revocationIndex": "Revocation Index"
820
+ "revocationIndex": "Revocation Index",
821
+ "addressIndex": "Address Index"
825
822
  }
826
823
  },
827
824
  "proof-create": {
@@ -839,6 +836,10 @@
839
836
  "document-filename": {
840
837
  "param": "--document-filename '<'document-filename'>'",
841
838
  "description": "The filename of a JSON-LD document to create the proof for."
839
+ },
840
+ "addressIndex": {
841
+ "param": "--address-index '<'index'>'",
842
+ "description": "The address index to use for the identity controller."
842
843
  }
843
844
  },
844
845
  "progress": {
@@ -846,7 +847,8 @@
846
847
  },
847
848
  "labels": {
848
849
  "documentFilename": "Document Filename",
849
- "verificationMethodId": "Verification Method Id"
850
+ "verificationMethodId": "Verification Method Id",
851
+ "addressIndex": "Address Index"
850
852
  }
851
853
  },
852
854
  "proof-verify": {
@@ -875,10 +877,9 @@
875
877
  "errorMessages": {
876
878
  "fetch": "Fetch"
877
879
  },
878
- "verifiableCredentialStates": {
879
- "pendingVerification": "Pending Verification",
880
- "rejected": "Rejected",
881
- "issued": "Issued",
882
- "revoked": "Revoked"
880
+ "info": {
881
+ "iota": {
882
+ "transactionCosts": "Transaction costs for operation \"{operation}\", \"{cost}\""
883
+ }
883
884
  }
884
885
  }
@@ -11,6 +11,8 @@ export declare function buildCommandProofCreate(): Command;
11
11
  * @param opts The options for the command.
12
12
  * @param opts.id The id of the verification method to use for the credential.
13
13
  * @param opts.privateKey The private key for the verification method.
14
+ * @param opts.documentFilename The filename of the document to create the proof for.
15
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
14
16
  * @param opts.data The data to create the proof for.
15
17
  * @param opts.connector The connector to perform the operations with.
16
18
  * @param opts.node The node URL.
@@ -20,6 +22,7 @@ export declare function actionCommandProofCreate(opts: {
20
22
  id: string;
21
23
  privateKey: string;
22
24
  documentFilename: string;
25
+ addressIndex?: string;
23
26
  connector?: IdentityConnectorTypes;
24
27
  node: string;
25
28
  network?: string;
@@ -14,6 +14,7 @@ export declare function buildCommandServiceAdd(): Command;
14
14
  * @param opts.id The id of the service to add.
15
15
  * @param opts.type The type of the service to add.
16
16
  * @param opts.endpoint The service endpoint.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  * @param opts.connector The connector to perform the operations with.
18
19
  * @param opts.node The node URL.
19
20
  * @param opts.explorer The explorer URL.
@@ -24,6 +25,7 @@ export declare function actionCommandServiceAdd(opts: {
24
25
  id: string;
25
26
  type: string;
26
27
  endpoint: string;
28
+ addressIndex?: string;
27
29
  connector?: IdentityConnectorTypes;
28
30
  node: string;
29
31
  network?: string;
@@ -14,10 +14,12 @@ export declare function buildCommandServiceRemove(): Command;
14
14
  * @param opts.node The node URL.
15
15
  * @param opts.network The network to use for connector.
16
16
  * @param opts.explorer The explorer URL.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  */
18
19
  export declare function actionCommandServiceRemove(opts: {
19
20
  seed: string;
20
21
  id: string;
22
+ addressIndex?: string;
21
23
  connector?: IdentityConnectorTypes;
22
24
  node: string;
23
25
  network?: string;
@@ -14,6 +14,7 @@ export declare function buildCommandVerifiableCredentialCreate(): Command;
14
14
  * @param opts.credentialId The id of the credential.
15
15
  * @param opts.subjectJson The JSON data for the subject.
16
16
  * @param opts.revocationIndex The revocation index for the credential.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  * @param opts.connector The connector to perform the operations with.
18
19
  * @param opts.node The node URL.
19
20
  */
@@ -23,6 +24,7 @@ export declare function actionCommandVerifiableCredentialCreate(opts: {
23
24
  credentialId?: string;
24
25
  subjectJson: string;
25
26
  revocationIndex?: string;
27
+ addressIndex?: string;
26
28
  connector?: IdentityConnectorTypes;
27
29
  node: string;
28
30
  network?: string;
@@ -14,11 +14,13 @@ export declare function buildCommandVerifiableCredentialRevoke(): Command;
14
14
  * @param opts.connector The connector to perform the operations with.
15
15
  * @param opts.node The node URL.
16
16
  * @param opts.network The network to use for connector.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  */
18
19
  export declare function actionCommandVerifiableCredentialRevoke(opts: {
19
20
  seed: string;
20
21
  did: string;
21
22
  revocationIndex: string;
23
+ addressIndex?: string;
22
24
  connector?: IdentityConnectorTypes;
23
25
  node: string;
24
26
  network?: string;
@@ -14,11 +14,13 @@ export declare function buildCommandVerifiableCredentialUnrevoke(): Command;
14
14
  * @param opts.connector The connector to perform the operations with.
15
15
  * @param opts.node The node URL.
16
16
  * @param opts.network The network to use for connector.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  */
18
19
  export declare function actionCommandVerifiableCredentialUnrevoke(opts: {
19
20
  seed: string;
20
21
  did: string;
21
22
  revocationIndex: string;
23
+ addressIndex?: string;
22
24
  connector?: IdentityConnectorTypes;
23
25
  node: string;
24
26
  network?: string;
@@ -17,12 +17,15 @@ export declare function buildCommandVerificationMethodAdd(): Command;
17
17
  * @param opts.connector The connector to perform the operations with.
18
18
  * @param opts.node The node URL.
19
19
  * @param opts.explorer The explorer URL.
20
+ * @param opts.network The network to use for connector.
21
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
20
22
  */
21
23
  export declare function actionCommandVerificationMethodAdd(opts: {
22
24
  seed: string;
23
25
  did: string;
24
26
  type: DidVerificationMethodType;
25
27
  id?: string;
28
+ addressIndex?: string;
26
29
  connector?: IdentityConnectorTypes;
27
30
  node: string;
28
31
  network?: string;
@@ -14,10 +14,12 @@ export declare function buildCommandVerificationMethodRemove(): Command;
14
14
  * @param opts.node The node URL.
15
15
  * @param opts.explorer The explorer URL.
16
16
  * @param opts.network The network to use for connector.
17
+ * @param opts.addressIndex The address index to use for key derivation (if applicable).
17
18
  */
18
19
  export declare function actionCommandVerificationMethodRemove(opts: {
19
20
  seed: string;
20
21
  id: string;
22
+ addressIndex?: string;
21
23
  connector?: IdentityConnectorTypes;
22
24
  node: string;
23
25
  network?: string;