|
1 | | -// import { |
2 | | -// CredentialDesign |
3 | | -// } from './credentialDesign' |
| 1 | +import { NonPersistedCredentialDesign } from './credentialDesign' |
4 | 2 |
|
5 | 3 | export type GetCredentialDesignArgs = { |
6 | 4 | credentialDesignId: string |
7 | 5 | } |
8 | 6 |
|
9 | 7 | export type GetCredentialDesignsArgs = { |
10 | | - |
| 8 | + filter?: { |
| 9 | + tenantId?: string |
| 10 | + } |
11 | 11 | } |
12 | 12 |
|
13 | 13 | export type AddCredentialDesignArgs = { |
14 | | - |
| 14 | + name: string |
| 15 | + tenantId?: string |
| 16 | + design?: NonPersistedCredentialDesign |
15 | 17 | } |
16 | 18 |
|
17 | 19 | export type RemoveCredentialDesignArgs = { |
18 | | - |
| 20 | + credentialDesignId: string |
19 | 21 | } |
20 | 22 |
|
21 | 23 | export type UpdateCredentialDesignArgs = { |
22 | | - |
| 24 | + credentialDesignId: string |
| 25 | + name?: string |
| 26 | + tenantId?: string |
| 27 | + design?: Partial<NonPersistedCredentialDesign> |
23 | 28 | } |
24 | | - |
25 | | -// export type FindPartyArgs = Array<PartialParty> |
26 | | -// export type FindIdentityArgs = Array<PartialIdentity> |
27 | | -// export type FindPartyTypeArgs = Array<PartialPartyType> |
28 | | -// export type FindRelationshipArgs = Array<PartialPartyRelationship> |
29 | | -// export type FindElectronicAddressArgs = Array<PartialElectronicAddress> |
30 | | -// export type FindPhysicalAddressArgs = Array<PartialPhysicalAddress> |
31 | | - |
32 | | -// export type GetPartyArgs = { |
33 | | -// partyId: string |
34 | | -// } |
35 | | -// |
36 | | -// export type GetPartiesArgs = { |
37 | | -// filter?: FindPartyArgs |
38 | | -// } |
39 | | -// |
40 | | -// export type AddPartyArgs = { |
41 | | -// uri?: string |
42 | | -// partyType: NonPersistedPartyType |
43 | | -// contact: NonPersistedContact |
44 | | -// identities?: Array<NonPersistedIdentity> |
45 | | -// electronicAddresses?: Array<NonPersistedElectronicAddress> |
46 | | -// physicalAddresses?: Array<NonPersistedPhysicalAddress> |
47 | | -// } |
48 | | -// |
49 | | -// export type UpdatePartyArgs = { |
50 | | -// party: Omit<Party, 'identities' | 'electronicAddresses' | 'partyType' | 'createdAt' | 'lastUpdatedAt'> |
51 | | -// } |
52 | | -// |
53 | | -// export type RemovePartyArgs = { |
54 | | -// partyId: string |
55 | | -// } |
56 | | -// |
57 | | -// export type GetIdentityArgs = { |
58 | | -// identityId: string |
59 | | -// } |
60 | | -// |
61 | | -// export type GetIdentitiesArgs = { |
62 | | -// filter?: FindIdentityArgs |
63 | | -// } |
64 | | -// |
65 | | -// export type AddIdentityArgs = { |
66 | | -// partyId: string |
67 | | -// identity: NonPersistedIdentity |
68 | | -// } |
69 | | -// |
70 | | -// export type UpdateIdentityArgs = { |
71 | | -// identity: Identity |
72 | | -// } |
73 | | -// |
74 | | -// export type RemoveIdentityArgs = { |
75 | | -// identityId: string |
76 | | -// } |
77 | | -// |
78 | | -// export type RemoveRelationshipArgs = { |
79 | | -// relationshipId: string |
80 | | -// } |
81 | | -// |
82 | | -// export type AddRelationshipArgs = { |
83 | | -// leftId: string |
84 | | -// rightId: string |
85 | | -// } |
86 | | -// |
87 | | -// export type GetRelationshipArgs = { |
88 | | -// relationshipId: string |
89 | | -// } |
90 | | -// |
91 | | -// export type GetRelationshipsArgs = { |
92 | | -// filter: FindRelationshipArgs |
93 | | -// } |
94 | | -// |
95 | | -// export type UpdateRelationshipArgs = { |
96 | | -// relationship: Omit<PartyRelationship, 'createdAt' | 'lastUpdatedAt'> |
97 | | -// } |
98 | | -// |
99 | | -// export type AddPartyTypeArgs = { |
100 | | -// type: PartyTypeType |
101 | | -// origin: PartyOrigin |
102 | | -// name: string |
103 | | -// tenantId: string |
104 | | -// description?: string |
105 | | -// } |
106 | | -// |
107 | | -// export type GetPartyTypeArgs = { |
108 | | -// partyTypeId: string |
109 | | -// } |
110 | | -// |
111 | | -// export type GetPartyTypesArgs = { |
112 | | -// filter?: FindPartyTypeArgs |
113 | | -// } |
114 | | -// |
115 | | -// export type UpdatePartyTypeArgs = { |
116 | | -// partyType: Omit<PartyType, 'createdAt' | 'lastUpdatedAt'> |
117 | | -// } |
118 | | -// |
119 | | -// export type RemovePartyTypeArgs = { |
120 | | -// partyTypeId: string |
121 | | -// } |
122 | | -// |
123 | | -// export type GetElectronicAddressArgs = { |
124 | | -// electronicAddressId: string |
125 | | -// } |
126 | | -// |
127 | | -// export type GetElectronicAddressesArgs = { |
128 | | -// filter?: FindElectronicAddressArgs |
129 | | -// } |
130 | | -// |
131 | | -// export type AddElectronicAddressArgs = { |
132 | | -// partyId: string |
133 | | -// electronicAddress: NonPersistedElectronicAddress |
134 | | -// } |
135 | | -// |
136 | | -// export type UpdateElectronicAddressArgs = { |
137 | | -// electronicAddress: ElectronicAddress |
138 | | -// } |
139 | | -// |
140 | | -// export type RemoveElectronicAddressArgs = { |
141 | | -// electronicAddressId: string |
142 | | -// } |
143 | | -// |
144 | | -// export type GetPhysicalAddressArgs = { |
145 | | -// physicalAddressId: string |
146 | | -// } |
147 | | -// |
148 | | -// export type GetPhysicalAddressesArgs = { |
149 | | -// filter?: FindPhysicalAddressArgs |
150 | | -// } |
151 | | -// |
152 | | -// export type AddPhysicalAddressArgs = { |
153 | | -// partyId: string |
154 | | -// physicalAddress: NonPersistedPhysicalAddress |
155 | | -// } |
156 | | -// |
157 | | -// export type UpdatePhysicalAddressArgs = { |
158 | | -// physicalAddress: PhysicalAddress |
159 | | -// } |
160 | | -// |
161 | | -// export type RemovePhysicalAddressArgs = { |
162 | | -// physicalAddressId: string |
163 | | -// } |
0 commit comments