need4deed-sdk 0.0.169 → 0.0.170
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.
|
@@ -159,6 +159,12 @@ export interface ApiAgentRegisterResponse {
|
|
|
159
159
|
agentId: number;
|
|
160
160
|
membershipStatus: AgentMembershipStatus;
|
|
161
161
|
}
|
|
162
|
+
export interface ApiAgentRegisterStatus {
|
|
163
|
+
registered: boolean;
|
|
164
|
+
agentId?: number;
|
|
165
|
+
agentTitle?: string;
|
|
166
|
+
membershipStatus?: AgentMembershipStatus;
|
|
167
|
+
}
|
|
162
168
|
export interface ApiAgentCreateResponse {
|
|
163
169
|
agentId: number;
|
|
164
170
|
}
|
|
@@ -170,7 +176,12 @@ export interface ApiAgentAddressConflict {
|
|
|
170
176
|
conflict: "address";
|
|
171
177
|
agentId: number;
|
|
172
178
|
}
|
|
173
|
-
export
|
|
179
|
+
export interface ApiAgentAlreadyRegisteredConflict {
|
|
180
|
+
conflict: "registered";
|
|
181
|
+
agentId: number;
|
|
182
|
+
membershipStatus: AgentMembershipStatus;
|
|
183
|
+
}
|
|
184
|
+
export type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict | ApiAgentAlreadyRegisteredConflict;
|
|
174
185
|
export interface ApiAgentMembership {
|
|
175
186
|
id: number;
|
|
176
187
|
agentId: number;
|
package/dist/types/api/user.d.ts
CHANGED