need4deed-sdk 0.0.143 → 0.0.145
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.
|
@@ -100,6 +100,7 @@ interface AgentGetList {
|
|
|
100
100
|
activeVolunteers: number;
|
|
101
101
|
email: string;
|
|
102
102
|
numOpportunities: number;
|
|
103
|
+
unclaimed: boolean;
|
|
103
104
|
}
|
|
104
105
|
export type ApiAgentGetList = VoidableProps<AgentGetList, "district">;
|
|
105
106
|
interface AgentGet extends AgentGetList {
|
|
@@ -156,6 +157,9 @@ export interface ApiAgentRegisterResponse {
|
|
|
156
157
|
agentId: number;
|
|
157
158
|
membershipStatus: AgentMembershipStatus;
|
|
158
159
|
}
|
|
160
|
+
export interface ApiAgentCreateResponse {
|
|
161
|
+
agentId: number;
|
|
162
|
+
}
|
|
159
163
|
export interface ApiAgentTitleConflict {
|
|
160
164
|
conflict: "title";
|
|
161
165
|
agentId: number;
|
|
@@ -165,6 +169,9 @@ export interface ApiAgentAddressConflict {
|
|
|
165
169
|
agentId: number;
|
|
166
170
|
}
|
|
167
171
|
export type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict;
|
|
172
|
+
export interface ApiAgentCreateResponse {
|
|
173
|
+
agentId: number;
|
|
174
|
+
}
|
|
168
175
|
export interface ApiAgentMembership {
|
|
169
176
|
id: number;
|
|
170
177
|
agentId: number;
|