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 type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict;
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;
@@ -50,6 +50,7 @@ export interface ApiUserVerifyEmail {
50
50
  message: string;
51
51
  verified: boolean;
52
52
  hasVolunteerProfile?: boolean;
53
+ hasAgentMembership?: boolean;
53
54
  }
54
55
  export interface ApiCoordinatorInvitePost {
55
56
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",