@cheqd/studio 3.4.0-develop.1 → 3.4.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +3 -0
- package/dist/app.js.map +1 -1
- package/dist/controllers/api/accreditation.d.ts +133 -0
- package/dist/controllers/api/accreditation.d.ts.map +1 -1
- package/dist/controllers/api/accreditation.js +314 -23
- package/dist/controllers/api/accreditation.js.map +1 -1
- package/dist/helpers/helpers.d.ts +2 -0
- package/dist/helpers/helpers.d.ts.map +1 -1
- package/dist/helpers/helpers.js +14 -0
- package/dist/helpers/helpers.js.map +1 -1
- package/dist/middleware/auth/routes/api/accreditation-auth.d.ts.map +1 -1
- package/dist/middleware/auth/routes/api/accreditation-auth.js +6 -0
- package/dist/middleware/auth/routes/api/accreditation-auth.js.map +1 -1
- package/dist/services/api/accreditation.js +4 -4
- package/dist/services/api/accreditation.js.map +1 -1
- package/dist/static/swagger-api.json +223 -10
- package/dist/types/accreditation.d.ts +23 -5
- package/dist/types/accreditation.d.ts.map +1 -1
- package/dist/types/accreditation.js.map +1 -1
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/constants.js +1 -1
- package/dist/types/constants.js.map +1 -1
- package/dist/types/credential.d.ts +4 -4
- package/dist/types/credential.d.ts.map +1 -1
- package/dist/types/swagger-api-types.d.ts +40 -7
- package/dist/types/swagger-api-types.d.ts.map +1 -1
- package/dist/types/swagger-api-types.js +40 -7
- package/dist/types/swagger-api-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,mBAAmB;AACnB,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,IAAI,EAAE,EAAE,cA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
@@ -34,7 +34,7 @@ export type AdditionalData = {
|
|
|
34
34
|
export type VerificationPoliciesRequest = {
|
|
35
35
|
policies: VerificationPolicies;
|
|
36
36
|
};
|
|
37
|
-
export type
|
|
37
|
+
export type PublishRequest = {
|
|
38
38
|
publish?: boolean;
|
|
39
39
|
};
|
|
40
40
|
export type SymmetricKeyRequest = {
|
|
@@ -50,11 +50,11 @@ export type VerifyCredentialRequestBody = {
|
|
|
50
50
|
} & VerificationPoliciesRequest;
|
|
51
51
|
export type VerifyCredentialRequestQuery = VerificationOptions;
|
|
52
52
|
export type RevokeCredentialRequestBody = CredentialRequestBody;
|
|
53
|
-
export type RevokeCredentialRequestQuery =
|
|
53
|
+
export type RevokeCredentialRequestQuery = PublishRequest;
|
|
54
54
|
export type SuspendCredentialRequestBody = CredentialRequestBody;
|
|
55
|
-
export type SuspendCredentialRequestQuery =
|
|
55
|
+
export type SuspendCredentialRequestQuery = PublishRequest;
|
|
56
56
|
export type UnsuspendCredentialRequestBody = CredentialRequestBody;
|
|
57
|
-
export type UnsuspendCredentialRequestQuery =
|
|
57
|
+
export type UnsuspendCredentialRequestQuery = PublishRequest;
|
|
58
58
|
export type IssueCredentialResponseBody = VerifiableCredential;
|
|
59
59
|
export type VerifyCredentialResponseBody = IVerifyResult;
|
|
60
60
|
export type RevokeCredentialResponseBody = RevocationResult | BulkRevocationResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.d.ts","sourceRoot":"","sources":["../../src/types/credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EACX,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,gBAA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BAAoB,CAAC;AAEnF,MAAM,MAAM,6BAA6B,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEpF,MAAM,MAAM,+BAA+B,GAAG,kBAAkB,GAAG,sBAAsB,CAAC;AAI1F,MAAM,MAAM,sCAAsC,GAAG,wBAAwB,CAAC;AAE9E,MAAM,MAAM,sCAAsC,GAAG,wBAAwB,CAAC;AAE9E,MAAM,MAAM,0CAA0C,GAAG,wBAAwB,CAAC;AAElF,MAAM,MAAM,uCAAuC,GAAG,wBAAwB,GAAG,4BAA4B,CAAC;AAE9G,MAAM,MAAM,uCAAuC,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,GAAG,wBAAwB,CAAC;AAEnH,MAAM,MAAM,wCAAwC,GAAG,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC,GAAG,wBAAwB,CAAC;AAEtH,MAAM,MAAM,0CAA0C,GACnD,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,GACvC,wBAAwB,CAAC"}
|
|
@@ -345,6 +345,9 @@
|
|
|
345
345
|
* type: array
|
|
346
346
|
* items:
|
|
347
347
|
* $ref: '#/components/schemas/SchemaUrl'
|
|
348
|
+
* accreditationName:
|
|
349
|
+
* description: Unique name of the Verifiable Accreditation.
|
|
350
|
+
* type: string
|
|
348
351
|
* attributes:
|
|
349
352
|
* description: JSON object containing the attributes to be included in the Accreditation.
|
|
350
353
|
* type: object
|
|
@@ -355,10 +358,16 @@
|
|
|
355
358
|
* type: string
|
|
356
359
|
* example: [https://schema.org/schema.jsonld, https://veramo.io/contexts/profile/v1]
|
|
357
360
|
* parentAccreditation:
|
|
358
|
-
* description: DID
|
|
361
|
+
* description: DID URL of the parent Verifiable Accreditation, required for accredit/attest operation.
|
|
359
362
|
* type: string
|
|
360
363
|
* rootAuthorization:
|
|
361
|
-
* description: DID
|
|
364
|
+
* description: DID URL of the root Verifiable Accreditation, required for accredit/attest operation.
|
|
365
|
+
* type: string
|
|
366
|
+
* trustFramework:
|
|
367
|
+
* description: Name or Type of the Trust Framework, required for authorize operation.
|
|
368
|
+
* type: string
|
|
369
|
+
* trustFrameworkId:
|
|
370
|
+
* description: Url of the Trust Framework, required for authorize operation.
|
|
362
371
|
* type: string
|
|
363
372
|
* type:
|
|
364
373
|
* description: Optional properties to be included in the `type` property of the Accreditation.
|
|
@@ -454,17 +463,19 @@
|
|
|
454
463
|
* - issuerDid
|
|
455
464
|
* - subjectDid
|
|
456
465
|
* - schemas
|
|
466
|
+
* - accreditationName
|
|
457
467
|
* example:
|
|
458
468
|
* issuerDid: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
|
|
459
|
-
* subjectDid: did:
|
|
469
|
+
* subjectDid: did:cheqd:testnet:2582fe17-9b25-45e4-8104-1cfca430f0c3
|
|
460
470
|
* schemas:
|
|
461
471
|
* - type: MuseumPassCredential
|
|
462
472
|
* url: https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:0a5b94d0-a417-48ed-a6f5-4abc9e95888d?resourceName=MuseumPassCredentialSchema&resourceType=JsonSchemaValidator2018
|
|
463
|
-
* '@context':
|
|
464
|
-
* - https://schema.org
|
|
465
|
-
* type:
|
|
466
|
-
* - Person
|
|
467
473
|
* format: jwt
|
|
474
|
+
* accreditationName: authorizeAccreditation
|
|
475
|
+
* trustFramework: https://learn.cheqd.io/governance/start
|
|
476
|
+
* trustFrameworkId: cheqd Governance Framework
|
|
477
|
+
* parentAccreditation: did:cheqd:testnet:15b74787-6e48-4fd5-8020-eab24e990578?resourceName=accreditAccreditation&resourceType=VerifiableAccreditationToAccredit
|
|
478
|
+
* rootAuthorization: did:cheqd:testnet:5RpEg66jhhbmASWPXJRWrA?resourceName=authorizeAccreditation&resourceType=VerifiableAuthorisationForTrustChain
|
|
468
479
|
* credentialStatus:
|
|
469
480
|
* statusPurpose: revocation
|
|
470
481
|
* statusListName: employee-credentials
|
|
@@ -515,6 +526,28 @@
|
|
|
515
526
|
* default: false
|
|
516
527
|
* required:
|
|
517
528
|
* - subjectDid
|
|
529
|
+
* AccreditationRevokeRequest:
|
|
530
|
+
* type: object
|
|
531
|
+
* properties:
|
|
532
|
+
* didUrl:
|
|
533
|
+
* description: Verifiable Accreditation to be verified as a VC-JWT string or a JSON object.
|
|
534
|
+
* type: string
|
|
535
|
+
* example: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-issuer-logo&resourceType=CredentialArtwork
|
|
536
|
+
* did:
|
|
537
|
+
* type: string
|
|
538
|
+
* example: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
|
|
539
|
+
* resourceId:
|
|
540
|
+
* type: string
|
|
541
|
+
* example: 398cee0a-efac-4643-9f4c-74c48c72a14b
|
|
542
|
+
* resourceName:
|
|
543
|
+
* type: string
|
|
544
|
+
* example: cheqd-issuer-logo
|
|
545
|
+
* resourceType:
|
|
546
|
+
* type: string
|
|
547
|
+
* example: CredentialArtwork
|
|
548
|
+
* symmetricKey:
|
|
549
|
+
* description: The symmetric key used to encrypt the StatusList2021 DID-Linked Resource. Required if the StatusList2021 DID-Linked Resource is encrypted.
|
|
550
|
+
* type: string
|
|
518
551
|
* PresentationCreateRequest:
|
|
519
552
|
* type: object
|
|
520
553
|
* required:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-api-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"swagger-api-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAikDG"}
|
|
@@ -346,6 +346,9 @@
|
|
|
346
346
|
* type: array
|
|
347
347
|
* items:
|
|
348
348
|
* $ref: '#/components/schemas/SchemaUrl'
|
|
349
|
+
* accreditationName:
|
|
350
|
+
* description: Unique name of the Verifiable Accreditation.
|
|
351
|
+
* type: string
|
|
349
352
|
* attributes:
|
|
350
353
|
* description: JSON object containing the attributes to be included in the Accreditation.
|
|
351
354
|
* type: object
|
|
@@ -356,10 +359,16 @@
|
|
|
356
359
|
* type: string
|
|
357
360
|
* example: [https://schema.org/schema.jsonld, https://veramo.io/contexts/profile/v1]
|
|
358
361
|
* parentAccreditation:
|
|
359
|
-
* description: DID
|
|
362
|
+
* description: DID URL of the parent Verifiable Accreditation, required for accredit/attest operation.
|
|
360
363
|
* type: string
|
|
361
364
|
* rootAuthorization:
|
|
362
|
-
* description: DID
|
|
365
|
+
* description: DID URL of the root Verifiable Accreditation, required for accredit/attest operation.
|
|
366
|
+
* type: string
|
|
367
|
+
* trustFramework:
|
|
368
|
+
* description: Name or Type of the Trust Framework, required for authorize operation.
|
|
369
|
+
* type: string
|
|
370
|
+
* trustFrameworkId:
|
|
371
|
+
* description: Url of the Trust Framework, required for authorize operation.
|
|
363
372
|
* type: string
|
|
364
373
|
* type:
|
|
365
374
|
* description: Optional properties to be included in the `type` property of the Accreditation.
|
|
@@ -455,17 +464,19 @@
|
|
|
455
464
|
* - issuerDid
|
|
456
465
|
* - subjectDid
|
|
457
466
|
* - schemas
|
|
467
|
+
* - accreditationName
|
|
458
468
|
* example:
|
|
459
469
|
* issuerDid: did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0
|
|
460
|
-
* subjectDid: did:
|
|
470
|
+
* subjectDid: did:cheqd:testnet:2582fe17-9b25-45e4-8104-1cfca430f0c3
|
|
461
471
|
* schemas:
|
|
462
472
|
* - type: MuseumPassCredential
|
|
463
473
|
* url: https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:0a5b94d0-a417-48ed-a6f5-4abc9e95888d?resourceName=MuseumPassCredentialSchema&resourceType=JsonSchemaValidator2018
|
|
464
|
-
* '@context':
|
|
465
|
-
* - https://schema.org
|
|
466
|
-
* type:
|
|
467
|
-
* - Person
|
|
468
474
|
* format: jwt
|
|
475
|
+
* accreditationName: authorizeAccreditation
|
|
476
|
+
* trustFramework: https://learn.cheqd.io/governance/start
|
|
477
|
+
* trustFrameworkId: cheqd Governance Framework
|
|
478
|
+
* parentAccreditation: did:cheqd:testnet:15b74787-6e48-4fd5-8020-eab24e990578?resourceName=accreditAccreditation&resourceType=VerifiableAccreditationToAccredit
|
|
479
|
+
* rootAuthorization: did:cheqd:testnet:5RpEg66jhhbmASWPXJRWrA?resourceName=authorizeAccreditation&resourceType=VerifiableAuthorisationForTrustChain
|
|
469
480
|
* credentialStatus:
|
|
470
481
|
* statusPurpose: revocation
|
|
471
482
|
* statusListName: employee-credentials
|
|
@@ -516,6 +527,28 @@
|
|
|
516
527
|
* default: false
|
|
517
528
|
* required:
|
|
518
529
|
* - subjectDid
|
|
530
|
+
* AccreditationRevokeRequest:
|
|
531
|
+
* type: object
|
|
532
|
+
* properties:
|
|
533
|
+
* didUrl:
|
|
534
|
+
* description: Verifiable Accreditation to be verified as a VC-JWT string or a JSON object.
|
|
535
|
+
* type: string
|
|
536
|
+
* example: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-issuer-logo&resourceType=CredentialArtwork
|
|
537
|
+
* did:
|
|
538
|
+
* type: string
|
|
539
|
+
* example: did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e
|
|
540
|
+
* resourceId:
|
|
541
|
+
* type: string
|
|
542
|
+
* example: 398cee0a-efac-4643-9f4c-74c48c72a14b
|
|
543
|
+
* resourceName:
|
|
544
|
+
* type: string
|
|
545
|
+
* example: cheqd-issuer-logo
|
|
546
|
+
* resourceType:
|
|
547
|
+
* type: string
|
|
548
|
+
* example: CredentialArtwork
|
|
549
|
+
* symmetricKey:
|
|
550
|
+
* description: The symmetric key used to encrypt the StatusList2021 DID-Linked Resource. Required if the StatusList2021 DID-Linked Resource is encrypted.
|
|
551
|
+
* type: string
|
|
519
552
|
* PresentationCreateRequest:
|
|
520
553
|
* type: object
|
|
521
554
|
* required:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-api-types.js","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"swagger-api-types.js","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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