@idos-network/issuer 1.0.0-rc.1.0 → 1.0.0-rc.1.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/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import nacl, { SignKeyPair } from "tweetnacl";
2
+ import { Utils } from "@idos-network/kwil-js";
3
+ import { Ed25519VerificationKey2020, Ed25519VerificationKey2020Options } from "@digitalbazaar/ed25519-verification-key-2020";
4
+ import * as z$1 from "zod";
5
+ import * as z from "zod";
2
6
 
3
- //#region ../@core/src/types/index.d.ts
4
-
5
- type idOSUser = {
6
- id: string;
7
- recipient_encryption_public_key: string;
8
- };
7
+ //#region ../@credentials/src/utils/types.d.ts
9
8
  type idOSCredential = {
10
9
  id: string;
11
10
  user_id: string;
@@ -15,41 +14,176 @@ type idOSCredential = {
15
14
  content: string;
16
15
  encryptor_public_key: string;
17
16
  };
18
- type idOSWallet = {
17
+ // https://github.com/colinhacks/zod/issues/3751
18
+ declare const CredentialFieldsSchema: z$1.ZodObject<{
19
+ id: z$1.ZodString;
20
+ level: z$1.ZodString;
21
+ issued: z$1.ZodOptional<z$1.ZodDate>;
22
+ approvedAt: z$1.ZodOptional<z$1.ZodDate>;
23
+ expirationDate: z$1.ZodOptional<z$1.ZodDate>;
24
+ }>;
25
+ type CredentialFields = z$1.infer<typeof CredentialFieldsSchema>;
26
+ // https://github.com/colinhacks/zod/issues/3751
27
+ declare const CredentialResidentialAddressSchema: z$1.ZodObject<{
28
+ street: z$1.ZodString;
29
+ houseNumber: z$1.ZodOptional<z$1.ZodString>;
30
+ additionalAddressInfo: z$1.ZodOptional<z$1.ZodString>;
31
+ region: z$1.ZodOptional<z$1.ZodString>;
32
+ city: z$1.ZodString;
33
+ postalCode: z$1.ZodString;
34
+ country: z$1.ZodString;
35
+ }>;
36
+ declare const IDDocumentTypeSchema: z$1.ZodEnum<{
37
+ PASSPORT: "PASSPORT";
38
+ DRIVERS: "DRIVERS";
39
+ ID_CARD: "ID_CARD";
40
+ }>;
41
+ declare const GenderSchema: z$1.ZodEnum<{
42
+ M: "M";
43
+ F: "F";
44
+ OTHER: "OTHER";
45
+ }>;
46
+ // https://github.com/colinhacks/zod/issues/3751
47
+ declare const CredentialSubjectSchema: z$1.ZodObject<{
48
+ id: z$1.ZodString;
49
+ applicantId: z$1.ZodOptional<z$1.ZodString>;
50
+ inquiryId: z$1.ZodOptional<z$1.ZodString>;
51
+ firstName: z$1.ZodString;
52
+ middleName: z$1.ZodOptional<z$1.ZodString>;
53
+ ssn: z$1.ZodOptional<z$1.ZodString>;
54
+ gender: z$1.ZodOptional<typeof GenderSchema>;
55
+ nationality: z$1.ZodOptional<z$1.ZodString>;
56
+ familyName: z$1.ZodString;
57
+ maidenName: z$1.ZodOptional<z$1.ZodString>;
58
+ governmentId: z$1.ZodOptional<z$1.ZodString>;
59
+ governmentIdType: z$1.ZodOptional<z$1.ZodString>;
60
+ dateOfBirth: z$1.ZodDate;
61
+ placeOfBirth: z$1.ZodOptional<z$1.ZodString>;
62
+ email: z$1.ZodOptional<z$1.ZodEmail>;
63
+ phoneNumber: z$1.ZodOptional<z$1.ZodString>;
64
+ idDocumentCountry: z$1.ZodString;
65
+ idDocumentNumber: z$1.ZodString;
66
+ idDocumentType: typeof IDDocumentTypeSchema;
67
+ idDocumentDateOfIssue: z$1.ZodOptional<z$1.ZodDate>;
68
+ idDocumentDateOfExpiry: z$1.ZodOptional<z$1.ZodDate>;
69
+ idDocumentFrontFile: z$1.ZodType<Buffer<ArrayBufferLike>>;
70
+ idDocumentBackFile: z$1.ZodOptional<z$1.ZodType<Buffer<ArrayBufferLike>>>;
71
+ selfieFile: z$1.ZodType<Buffer<ArrayBufferLike>>;
72
+ residentialAddress: z$1.ZodOptional<typeof CredentialResidentialAddressSchema>;
73
+ residentialAddressProofCategory: z$1.ZodOptional<z$1.ZodString>;
74
+ residentialAddressProofDateOfIssue: z$1.ZodOptional<z$1.ZodDate>;
75
+ residentialAddressProofFile: z$1.ZodOptional<z$1.ZodType<Buffer<ArrayBufferLike>>>;
76
+ }>;
77
+ type CredentialSubject = z$1.infer<typeof CredentialSubjectSchema>;
78
+ interface VerifiableCredentialSubject extends Omit<CredentialSubject, "residentialAddress"> {
79
+ "@context": string;
80
+ residentialAddressStreet?: string;
81
+ residentialAddressHouseNumber?: string;
82
+ residentialAddressAdditionalAddressInfo?: string;
83
+ residentialAddressRegion?: string;
84
+ residentialAddressCity?: string;
85
+ residentialAddressPostalCode?: string;
86
+ residentialAddressCountry?: string;
87
+ }
88
+ // TODO: This is a stub of the types for @digitalbazaar/vc
89
+ // when they introduce TypeScript support we should remove this
90
+ // The copy is here because `types.d.ts` file is not bundled.
91
+ interface VerifiedCredentialsProof {
92
+ type: string;
93
+ created: string;
94
+ verificationMethod: string;
95
+ proofValue: string;
96
+ proofPurpose: string;
97
+ }
98
+ interface VerifiedCredentials<K> {
99
+ "@context": string[];
100
+ type: string[];
101
+ issuer: string;
19
102
  id: string;
20
- user_id: string;
21
- address: string;
22
- wallet_type: string;
23
- message: string;
24
- public_key: string;
25
- signature: string;
26
- };
27
- type idOSUserAttribute = {
103
+ level: string;
104
+ issued: string;
105
+ approvedAt: string;
106
+ expirationDate: string;
107
+ credentialSubject: K;
108
+ issuanceDate: string;
109
+ proof: VerifiedCredentialsProof;
110
+ }
111
+ type VerifiableCredential<K> = VerifiedCredentials<K>;
112
+ //#endregion
113
+ //#region ../@credentials/src/utils/index.d.ts
114
+ interface CustomIssuerType {
115
+ issuer: string;
116
+ /* Multibase encoded public key */
117
+ publicKeyMultibase: string;
118
+ /* Multibase encoded private key */
119
+ privateKeyMultibase?: string;
120
+ }
121
+ type AvailableIssuerType = Omit<Ed25519VerificationKey2020Options, "type"> | Ed25519VerificationKey2020 | CustomIssuerType;
122
+ //#endregion
123
+ //#region ../@credentials/src/builder.d.ts
124
+ type Credentials = VerifiableCredential<VerifiableCredentialSubject>;
125
+ //#endregion
126
+ //#region ../@core/src/types/index.d.ts
127
+ type PassportingPeer = {
28
128
  id: string;
29
- attribute_key: string;
30
- value: string;
31
- user_id?: string;
129
+ name: string;
130
+ issuer_public_key: string;
131
+ passporting_server_url_base: string;
32
132
  };
33
- type idOSGrant = {
34
- id: string;
35
- ag_owner_user_id: string;
36
- ag_grantee_wallet_identifier: string;
37
- data_id: string;
38
- locked_until: string;
39
- content_hash?: string;
40
- }; //#endregion
41
- //#region ../@core/src/kwil-actions/credentials.d.ts
133
+ //#endregion
134
+ //#region ../@core/src/kwil-actions/actions.d.ts
135
+ declare const idOSUserSchema: z.ZodObject<{
136
+ id: z.ZodUUID;
137
+ recipient_encryption_public_key: z.ZodString;
138
+ encryption_password_store: z.ZodString;
139
+ }>;
140
+ type idOSUser = z.infer<typeof idOSUserSchema>;
141
+ /** USER ACTIONS */
42
142
 
43
- interface EditCredentialAsIssuerParams {
44
- public_notes_id: string;
45
- public_notes: string;
46
- } //#endregion
47
- //#region src/services/credential.service.d.ts
143
+ declare const idOSWalletSchema: z.ZodObject<{
144
+ id: z.ZodUUID;
145
+ user_id: z.ZodUUID;
146
+ address: z.ZodString;
147
+ public_key: z.ZodString;
148
+ wallet_type: z.ZodString;
149
+ message: z.ZodString;
150
+ signature: z.ZodString;
151
+ }>;
152
+ type idOSWallet = z.infer<typeof idOSWalletSchema>;
153
+ /** WALLET ACTIONS */
48
154
 
155
+ declare const EditCredentialAsIssuerParamsSchema: z.ZodObject<{
156
+ public_notes_id: z.ZodString;
157
+ public_notes: z.ZodString;
158
+ }>;
159
+ type EditCredentialAsIssuerParams = z.infer<typeof EditCredentialAsIssuerParamsSchema>;
49
160
  /**
50
- * Edits the public notes of an idOSCredential if the signer is a permissioned issuer.
51
- * This is how a credential is edited (modified) by a permissioned issuer.
161
+ * Be aware that @caller here is ed25519 public key, hex encoded.
162
+ * All other @caller in the schema are either secp256k1 or nep413
163
+ * This action can't be called by kwil-cli (as kwil-cli uses secp256k1 only)
52
164
  */
165
+
166
+ declare const idOSUserAttributeSchema: z.ZodObject<{
167
+ id: z.ZodUUID;
168
+ user_id: z.ZodUUID;
169
+ attribute_key: z.ZodString;
170
+ value: z.ZodString;
171
+ original_id: z.ZodUUID;
172
+ }>;
173
+ type idOSUserAttribute = z.infer<typeof idOSUserAttributeSchema>;
174
+ declare const idOSGrantSchema: z.ZodObject<{
175
+ id: z.ZodUUID;
176
+ ag_owner_user_id: z.ZodUUID;
177
+ ag_grantee_wallet_identifier: z.ZodString;
178
+ data_id: z.ZodUUID;
179
+ locked_until: z.ZodNumber;
180
+ content_hash: z.ZodString;
181
+ inserter_type: z.ZodString;
182
+ inserter_id: z.ZodString;
183
+ }>;
184
+ type idOSGrant = z.infer<typeof idOSGrantSchema>;
185
+ //#endregion
186
+ //#region src/services/credential.service.d.ts
53
187
  type BaseCredentialParams = {
54
188
  id?: string;
55
189
  userId: string;
@@ -68,86 +202,7 @@ type DelegatedWriteGrantParams = {
68
202
  notUsableAfter: string;
69
203
  signature: string;
70
204
  };
71
-
72
205
  //#endregion
73
- //#region src/services/credentials-builder.service.d.ts
74
- interface CredentialFields {
75
- id: string;
76
- /* Level of KYC verification performed (e.g., basic, intermediate, advanced). */
77
- level: string;
78
- /* @default Date.now() */
79
- issued?: Date;
80
- /* Date the credential was approved. */
81
- approvedAt?: Date;
82
- /* Date the credential was revoked. */
83
- expirationDate?: Date;
84
- }
85
- interface CredentialResidentialAddress {
86
- /* Street address. */
87
- street: string;
88
- /* House number. */
89
- houseNumber?: string;
90
- /* Additional address information (e.g., apartment number). */
91
- additionalAddressInfo?: string;
92
- /* Locality (e.g., city, town). */
93
- city: string;
94
- /* Postal code. */
95
- postalCode: string;
96
- /* Country. */
97
- country: string;
98
- }
99
- interface CredentialSubject {
100
- /* ID(unique credential) Unique identifier for the credential itself. */
101
- id: string;
102
- /* Given name of the individual. */
103
- firstName: string;
104
- /* Surname of the individual. */
105
- familyName: string;
106
- /* Family name at birth (e.g., maiden name). */
107
- maidenName?: string;
108
- /* Unique identifier issued by a government authority (e.g., SSN, Tax ID). */
109
- governmentId?: string;
110
- /* Type of government identifier (e.g., Social Security Number, Tax ID, etc.). */
111
- governmentIdType?: string;
112
- /* Date of birth of the individual. */
113
- dateOfBirth: Date;
114
- /* City and state/province of birth. */
115
- placeOfBirth: string;
116
- /* Country that issued the identity document. */
117
- idDocumentCountry: string;
118
- /* ID Document Number Unique number on the identity document. */
119
- idDocumentNumber: string;
120
- /* ID Document Type Type of identity document(e.g., Passport, Driver's License, National ID). */
121
- idDocumentType: string;
122
- /* ID Document Date of Issue Date the identity document was issued. */
123
- idDocumentDateOfIssue: Date;
124
- /* ID Document Date of Expiry Expiration date of the identity document - if applicable. */
125
- idDocumentDateOfExpiry?: Date;
126
- /* ID Document Front File File or URL representing the front of the identity document. */
127
- idDocumentFrontFile: Buffer;
128
- /* ID Document Back File File or URL representing the back of the identity document - if applicable. */
129
- idDocumentBackFile?: Buffer;
130
- /* (ID Document) Selfie File File or URL of a selfie with the identity document for verification purposes. */
131
- selfieFile: Buffer;
132
- /* Residential Address Full residential address of the individual - if applicable. */
133
- residentialAddress?: CredentialResidentialAddress;
134
- /* Residential Address Proof Category Type of document provided to verify the address(e.g., utility bill, bank statement). */
135
- residentialAddressProofCategory?: string;
136
- /* Residential Address Proof Date Of Issue Date the address proof document was issued. */
137
- residentialAddressProofDateOfIssue?: Date;
138
- /* Residential Address Proof File File or URL of the document provided as address proof. */
139
- residentialAddressProofFile?: Buffer;
140
- }
141
- interface CredentialsIssuerConfig {
142
- /* Issuers id */
143
- id: string;
144
- /* Issuer of the credential (URL). */
145
- controller: string;
146
- /* Issuer's private key in multibase format. */
147
- privateKeyMultibase: string;
148
- /* Issuer's public key in multibase format. */
149
- publicKeyMultibase: string;
150
- } //#endregion
151
206
  //#region src/services/grant.service.d.ts
152
207
  type CreateAccessGrantFromDAGParams = {
153
208
  dag_data_id: string;
@@ -157,7 +212,6 @@ type CreateAccessGrantFromDAGParams = {
157
212
  dag_locked_until: number;
158
213
  dag_content_hash: string;
159
214
  };
160
-
161
215
  //#endregion
162
216
  //#region src/services/user.service.d.ts
163
217
  type CreateProfileReqParams = Omit<idOSUser, "id"> & {
@@ -169,7 +223,6 @@ type UpsertWalletReqParams = Omit<idOSWallet, "id"> & {
169
223
  type CreateWalletReqParams = Omit<UpsertWalletReqParams, "user_id"> & {
170
224
  id?: string;
171
225
  };
172
-
173
226
  //#endregion
174
227
  //#region src/index.d.ts
175
228
  type CreateIssuerParams = {
@@ -195,11 +248,9 @@ declare class idOSIssuer {
195
248
  getCredentialIdByContentHash(contentHash: string): Promise<string | null>;
196
249
  getSharedCredential(id: string): Promise<idOSCredential | null>;
197
250
  createAccessGrantFromDAG(params: CreateAccessGrantFromDAGParams): Promise<CreateAccessGrantFromDAGParams | null>;
198
- buildCredentials(fields: CredentialFields, subject: CredentialSubject, issuer: CredentialsIssuerConfig): Promise<any>;
199
- // biome-ignore lint/suspicious/noExplicitAny: Using `any` to avoid type errors.
200
- buildDocumentLoader(): any;
251
+ buildCredentials(fields: CredentialFields, subject: CredentialSubject, issuer: AvailableIssuerType, validate?: boolean): Promise<Credentials>;
252
+ getPassportingPeers(): Promise<PassportingPeer[]>;
201
253
  }
202
-
203
254
  //#endregion
204
- export { idOSCredential, idOSGrant, idOSIssuer, idOSUser, idOSUserAttribute, idOSWallet };
255
+ export { type AvailableIssuerType, type CredentialFields, type CredentialSubject, type Credentials, type idOSCredential, type idOSGrant, idOSIssuer, type idOSUser, type idOSUserAttribute, type idOSWallet };
205
256
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["message: Extract<IsleNodeMessage, { type: T }>","kwilClient: KwilActionClient","id: string","content_hash: string","params: GetAccessGrantByCredentialIdParams","params: EditCredentialAsIssuerParams","userId: string","params: CreateCredentialByDelegatedWriteGrantParams","credential: ShareableCredential","params: CreateCredentialCopyParams","kwilClient: KwilActionClient","signingKeyPair: nacl.SignKeyPair","encryptionSecretKey: Uint8Array","credentialParams: DelegatedWriteGrantBaseParams","delegatedWriteGrant: DelegatedWriteGrantParams","consumerEncryptionPublicKey?: Uint8Array","publicNotesId: string","publicNotes: string","contentHash: string","id: string","fields: CredentialFields","subject: CredentialSubject","issuer: CredentialsIssuerConfig","kwilClient: KwilActionClient","encryptionSecretKey: Uint8Array","params: CreateAccessGrantFromDAGParams","getCredentialIdByContentHash: (contentHash: string) => Promise<string | null>","contentHash: string","getSharedCredential: (id: string) => Promise<idOSCredential | null>","id: string","kwilClient: KwilActionClient","userAddress: string","params: CreateProfileReqParams","params: UpsertWalletReqParams","user: CreateProfileReqParams","wallet: CreateWalletReqParams","params: CreateIssuerParams","userAddress: string","params: CreateProfileReqParams","params: UpsertWalletReqParams","user: CreateProfileReqParams","wallet: CreateWalletReqParams","credentialParams: DelegatedWriteGrantBaseParams","delegatedWriteGrant: DelegatedWriteGrantParams","consumerEncryptionPublicKey?: Uint8Array","publicNotesId: string","publicNotes: string","contentHash: string","id: string","params: CreateAccessGrantFromDAGParams","fields: CredentialFields","subject: CredentialSubject","issuer: CredentialsIssuerConfig"],"sources":["../../@core/src/types/index.ts","../../@core/src/kwil-actions/credentials.ts","../src/services/credential.service.ts","../src/services/credentials-builder.service.ts","../src/services/grant.service.ts","../src/services/user.service.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;AAwCY,KAhCA,QAAA,GAgCA;EAOZ,EAAA,EAAY,MAAA;;;KAlCA,cAAA;ECoDZ,EAAA,EAAiB,MAAA;;;;EC9BjB,YAAY,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAAA,oBAIQ,EAAA,MAAA;CAAA;AAMR,KFfA,UAAA,GEeA;;;;ECnCZ,WAAiB,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAAA,UAON,EAAA,MAAA;EAAA,SAGI,EAAA,MAAA;CAAA;AAGI,KHiBP,iBAAA,GGjBO;EAGnB,EAAA,EAAiB,MAAA;EAoBjB,aAAiB,EAAA,MAAA;EAAA,KAAA,EAAA,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4CE,sBJ5CF,CAAA,EI4C2B,OJ5C3B,CI4CmC,QJ5CnC,CAAA;EAGhC,sBAAY,CAAA,MAAA,EI6C2B,qBJ7C3B,CAAA,EI6CmD,OJ7CnD,CI6C2D,UJ7C3D,CAAA;EAAA,UAAA,CAAA,IAAA,EIkDF,sBJlDE,EAAA,MAAA,EImDA,qBJnDA,CAAA,EIoDP,OJpDO,CAAA,CIoDE,QJpDF,EIoDY,UJpDZ,CAAA,CAAA;EAAA,qCAAqC,CAAA,gBAAA,EIyD3B,6BJzD2B,EAAA,mBAAA,EI0DxB,yBJ1DwB,EAAA,2BAAA,CAAA,EI2Df,UJ3De,CAAA,EI4D5C,OJ5D4C,CAAA;IAAA,kBAAL,EI6DpB,IJ7DoB,CI6Df,cJ7De,EAAA,SAAA,CAAA;IAAA,cAAA,EI8DxB,IJ9DwB,CI8DnB,cJ9DmB,EAAA,SAAA,CAAA;EAE5C,CAAA,CAAA;sEIwEK,QAAQ;qDAI8C;mCAIlB,QAAQ;EHnHjD,wBAAiB,CAAA,MAAA,EGwHL,8BHxHK,CAAA,EGyHZ,OHzHY,CGyHJ,8BHzHI,GAAA,IAAA,CAAA;EAAA,gBAAA,CAAA,MAAA,EGkIL,gBHlIK,EAAA,OAAA,EGmIJ,iBHnII,EAAA,MAAA,EGoIL,uBHpIK,CAAA,EGsIZ,OHtIY,CAAA,GAAA,CAAA;EAAA;EAON,mBAGI,CAAA,CAAA,EAAA,GAAA"}
1
+ {"version":3,"file":"index.d.ts","names":["CredentialFieldsSchema: z.ZodObject<{\n id: z.ZodString;\n level: z.ZodString;\n issued: z.ZodOptional<z.ZodDate>;\n approvedAt: z.ZodOptional<z.ZodDate>;\n expirationDate: z.ZodOptional<z.ZodDate>;\n}>","CredentialResidentialAddressSchema: z.ZodObject<{\n street: z.ZodString;\n houseNumber: z.ZodOptional<z.ZodString>;\n additionalAddressInfo: z.ZodOptional<z.ZodString>;\n region: z.ZodOptional<z.ZodString>;\n city: z.ZodString;\n postalCode: z.ZodString;\n country: z.ZodString;\n}>","IDDocumentTypeSchema: z.ZodEnum<{\n PASSPORT: \"PASSPORT\";\n DRIVERS: \"DRIVERS\";\n ID_CARD: \"ID_CARD\";\n}>","GenderSchema: z.ZodEnum<{\n M: \"M\";\n F: \"F\";\n OTHER: \"OTHER\";\n}>","CredentialSubjectSchema: z.ZodObject<{\n id: z.ZodString;\n applicantId: z.ZodOptional<z.ZodString>;\n inquiryId: z.ZodOptional<z.ZodString>;\n firstName: z.ZodString;\n middleName: z.ZodOptional<z.ZodString>;\n ssn: z.ZodOptional<z.ZodString>;\n gender: z.ZodOptional<typeof GenderSchema>;\n nationality: z.ZodOptional<z.ZodString>;\n familyName: z.ZodString;\n maidenName: z.ZodOptional<z.ZodString>;\n governmentId: z.ZodOptional<z.ZodString>;\n governmentIdType: z.ZodOptional<z.ZodString>;\n dateOfBirth: z.ZodDate;\n placeOfBirth: z.ZodOptional<z.ZodString>;\n email: z.ZodOptional<z.ZodEmail>;\n phoneNumber: z.ZodOptional<z.ZodString>;\n idDocumentCountry: z.ZodString;\n idDocumentNumber: z.ZodString;\n idDocumentType: typeof IDDocumentTypeSchema;\n idDocumentDateOfIssue: z.ZodOptional<z.ZodDate>;\n idDocumentDateOfExpiry: z.ZodOptional<z.ZodDate>;\n idDocumentFrontFile: z.ZodType<Buffer<ArrayBufferLike>>;\n idDocumentBackFile: z.ZodOptional<z.ZodType<Buffer<ArrayBufferLike>>>;\n selfieFile: z.ZodType<Buffer<ArrayBufferLike>>;\n residentialAddress: z.ZodOptional<typeof CredentialResidentialAddressSchema>;\n residentialAddressProofCategory: z.ZodOptional<z.ZodString>;\n residentialAddressProofDateOfIssue: z.ZodOptional<z.ZodDate>;\n residentialAddressProofFile: z.ZodOptional<z.ZodType<Buffer<ArrayBufferLike>>>;\n}>","file: Buffer","data: string","str: string","issuer: AvailableIssuerType","fields: K","prefix?: string","fields: CredentialFields","subject: CredentialSubject","issuer: AvailableIssuerType","message: Extract<IsleNodeMessage, { type: T }>","DataType: typeof Utils.DataType","actionSchema: Record<string, ActionSchemaElement[]>","idOSUserSchema: z.ZodObject<{\n id: z.ZodUUID;\n recipient_encryption_public_key: z.ZodString;\n encryption_password_store: z.ZodString;\n}>","kwilClient: KwilActionClient","params: idOSUser","GetUserOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n recipient_encryption_public_key: z.ZodString;\n encryption_password_store: z.ZodString;\n}>","idOSWalletSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n wallet_type: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n}>","params: idOSWallet","AddWalletInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n}>","params: AddWalletInput","GetWalletsOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n address: z.ZodString;\n public_key: z.ZodString;\n wallet_type: z.ZodString;\n message: z.ZodString;\n signature: z.ZodString;\n inserter: z.ZodString;\n}>","RemoveWalletInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RemoveWalletInput","idOSCredentialListItemSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n original_id: z.ZodUUID;\n}>","GetCredentialsSharedByUserInputSchema: z.ZodObject<{\n user_id: z.ZodUUID;\n issuer_auth_public_key: z.ZodNullable<z.ZodString>;\n}>","GetCredentialsSharedByUserOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n original_id: z.ZodUUID;\n}>","params: GetCredentialsSharedByUserInput","EditCredentialAsIssuerParamsSchema: z.ZodObject<{\n public_notes_id: z.ZodString;\n public_notes: z.ZodString;\n}>","params: EditCredentialAsIssuerParams","RemoveCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RemoveCredentialInput","ShareCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n original_credential_id: z.ZodUUID;\n public_notes: z.ZodString;\n public_notes_signature: z.ZodString;\n broader_signature: z.ZodString;\n content: z.ZodString;\n content_hash: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n grantee_wallet_identifier: z.ZodString;\n locked_until: z.ZodNumber;\n}>","params: ShareCredentialInput","CreateCredentialCopyInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n original_credential_id: z.ZodUUID;\n public_notes: z.ZodString;\n public_notes_signature: z.ZodString;\n broader_signature: z.ZodString;\n content: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n}>","params: CreateCredentialCopyInput","CreateCredentialByDelegatedWriteGrantInputSchema: z.ZodObject<{\n issuer_auth_public_key: z.ZodString;\n original_encryptor_public_key: z.ZodString;\n original_credential_id: z.ZodUUID;\n original_content: z.ZodString;\n original_public_notes: z.ZodString;\n original_public_notes_signature: z.ZodString;\n original_broader_signature: z.ZodString;\n copy_encryptor_public_key: z.ZodString;\n copy_credential_id: z.ZodUUID;\n copy_content: z.ZodString;\n copy_public_notes_signature: z.ZodString;\n copy_broader_signature: z.ZodString;\n content_hash: z.ZodString;\n dwg_owner: z.ZodString;\n dwg_grantee: z.ZodString;\n dwg_issuer_public_key: z.ZodString;\n dwg_id: z.ZodUUID;\n dwg_access_grant_timelock: z.ZodString;\n dwg_not_before: z.ZodString;\n dwg_not_after: z.ZodString;\n dwg_signature: z.ZodString;\n}>","params: CreateCredentialByDelegatedWriteGrantInput","GetCredentialOwnedInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","idOSCredentialSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n public_notes: z.ZodString;\n content: z.ZodString;\n encryptor_public_key: z.ZodString;\n issuer_auth_public_key: z.ZodString;\n inserter: z.ZodString;\n}>","params: GetCredentialOwnedInput","GetSharedCredentialInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: GetSharedCredentialInput","GetCredentialIdByContentHashInputSchema: z.ZodObject<{\n content_hash: z.ZodString;\n}>","GetCredentialIdByContentHashOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: GetCredentialIdByContentHashInput","AddAttributeInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n attribute_key: z.ZodString;\n value: z.ZodString;\n}>","params: AddAttributeInput","idOSUserAttributeSchema: z.ZodObject<{\n id: z.ZodUUID;\n user_id: z.ZodUUID;\n attribute_key: z.ZodString;\n value: z.ZodString;\n original_id: z.ZodUUID;\n}>","idOSDelegatedWriteGrantSchema: z.ZodObject<{\n owner_wallet_identifier: z.ZodString;\n grantee_wallet_identifier: z.ZodString;\n issuer_public_key: z.ZodString;\n id: z.ZodUUID;\n access_grant_timelock: z.ZodString;\n not_usable_before: z.ZodString;\n not_usable_after: z.ZodString;\n}>","DwgMessageOutputSchema: z.ZodObject<{\n message: z.ZodString;\n}>","params: idOSDelegatedWriteGrant","RevokeAccessGrantInputSchema: z.ZodObject<{\n id: z.ZodUUID;\n}>","params: RevokeAccessGrantInput","idOSGrantSchema: z.ZodObject<{\n id: z.ZodUUID;\n ag_owner_user_id: z.ZodUUID;\n ag_grantee_wallet_identifier: z.ZodString;\n data_id: z.ZodUUID;\n locked_until: z.ZodNumber;\n content_hash: z.ZodString;\n inserter_type: z.ZodString;\n inserter_id: z.ZodString;\n}>","GetGrantsPaginatedInputSchema: z.ZodObject<{\n user_id: z.ZodNullable<z.ZodUUID>;\n page: z.ZodNumber;\n size: z.ZodNumber;\n}>","params: GetGrantsPaginatedInput","GetGrantsCountInputSchema: z.ZodObject<{\n user_id: z.ZodNullable<z.ZodUUID>;\n}>","GetGrantsCountOutputSchema: z.ZodObject<{\n count: z.ZodNumber;\n}>","params: GetGrantsCountInput","DagMessageInputSchema: z.ZodObject<{\n dag_owner_wallet_identifier: z.ZodString;\n dag_grantee_wallet_identifier: z.ZodString;\n dag_data_id: z.ZodUUID;\n dag_locked_until: z.ZodNumber;\n dag_content_hash: z.ZodString;\n}>","DagMessageOutputSchema: z.ZodObject<{\n message: z.ZodString;\n}>","params: DagMessageInput","CreateAccessGrantByDagInputSchema: z.ZodObject<{\n dag_owner_wallet_identifier: z.ZodString;\n dag_grantee_wallet_identifier: z.ZodString;\n dag_data_id: z.ZodUUID;\n dag_locked_until: z.ZodNumber;\n dag_content_hash: z.ZodString;\n dag_signature: z.ZodString;\n}>","params: CreateAccessGrantByDagInput","GetAccessGrantsForCredentialInputSchema: z.ZodObject<{\n credential_id: z.ZodUUID;\n}>","GetAccessGrantsForCredentialOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n ag_owner_user_id: z.ZodUUID;\n ag_grantee_wallet_identifier: z.ZodString;\n data_id: z.ZodUUID;\n locked_until: z.ZodNumber;\n content_hash: z.ZodString;\n inserter_type: z.ZodString;\n inserter_id: z.ZodString;\n}>","params: GetAccessGrantsForCredentialInput","HasProfileInputSchema: z.ZodObject<{\n address: z.ZodString;\n}>","HasProfileOutputSchema: z.ZodObject<{\n has_profile: z.ZodBoolean;\n}>","params: HasProfileInput","GetPassportingPeersOutputSchema: z.ZodObject<{\n id: z.ZodUUID;\n name: z.ZodString;\n issuer_public_key: z.ZodString;\n passporting_server_url_base: z.ZodString;\n club_id: z.ZodUUID;\n club_name: z.ZodString;\n}>","kwilClient: KwilActionClient","signingKeyPair: nacl.SignKeyPair","encryptionSecretKey: Uint8Array","credentialParams: DelegatedWriteGrantBaseParams","delegatedWriteGrant: DelegatedWriteGrantParams","consumerEncryptionPublicKey?: Uint8Array","publicNotesId: string","publicNotes: string","contentHash: string","id: string","kwilClient: KwilActionClient","encryptionSecretKey: Uint8Array","params: CreateAccessGrantFromDAGParams","getCredentialIdByContentHash: (contentHash: string) => Promise<string | null>","contentHash: string","getSharedCredential: (id: string) => Promise<idOSCredential | null>","id: string","kwilClient: KwilActionClient","userAddress: string","params: CreateProfileReqParams","params: UpsertWalletReqParams","user: CreateProfileReqParams","wallet: CreateWalletReqParams","params: CreateIssuerParams","userAddress: string","params: CreateProfileReqParams","params: UpsertWalletReqParams","user: CreateProfileReqParams","wallet: CreateWalletReqParams","credentialParams: DelegatedWriteGrantBaseParams","delegatedWriteGrant: DelegatedWriteGrantParams","consumerEncryptionPublicKey?: Uint8Array","publicNotesId: string","publicNotes: string","contentHash: string","id: string","params: CreateAccessGrantFromDAGParams","fields: CredentialFields","subject: CredentialSubject","issuer: AvailableIssuerType"],"sources":["../../@credentials/src/utils/types.ts","../../@credentials/src/utils/index.ts","../../@credentials/src/builder.ts","../../@core/src/types/index.ts","../../@core/src/kwil-actions/actions.ts","../src/services/credential.service.ts","../src/services/grant.service.ts","../src/services/user.service.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;KAEY,cAAA;;;;;;EAAZ,OAAY,EAAA,MAAA;EAkBZ,oBAAaA,EAAAA,MAMZ;CAAA;;AADiB,cALLA,sBAKO,EALiB,GAAA,CAAE,SAKnB,CAAA;EAAA,EAAA,EAJd,GAAA,CAAE,SAD+B;EAAA,KAAA,EAE9B,GAAA,CAAE,SAF4B;EAsBvC,MAAY,EAnBF,GAAA,CAAE,WAmBA,CAnBY,GAAA,CAAE,OAmBd,CAAA;EAAA,UAAA,EAlBE,GAAA,CAAE,WAkBJ,CAlBgB,GAAA,CAAE,OAkBlB,CAAA;EAAA,cAAkC,EAjB5B,GAAA,CAAE,WAiB0B,CAjBd,GAAA,CAAE,OAiBY,CAAA;CAAA,CAAA;AAAb,KAArB,gBAAA,GAAmB,GAAA,CAAE,KAAA,CAAA,OAAa,sBAAb,CAAA;AAGjC;AAQC,cARYC,kCAQZ,EARgD,GAAA,CAAE,SAQlD,CAAA;EAAA,MAPS,EAAA,GAAA,CAAE,SAAA;EAAA,WACmB,EAAhB,G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