need4deed-sdk 0.0.104 → 0.0.106

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.
@@ -140,6 +140,11 @@ export interface ApiAgentTitleConflict {
140
140
  conflict: "title";
141
141
  agentId: number;
142
142
  }
143
+ export interface ApiAgentAddressConflict {
144
+ conflict: "address";
145
+ agentId: number;
146
+ }
147
+ export type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict;
143
148
  export interface ApiAgentMembership {
144
149
  id: number;
145
150
  agentId: number;
@@ -15,5 +15,6 @@ export * from "./person";
15
15
  export * from "./profile";
16
16
  export * from "./testimonial";
17
17
  export * from "./time";
18
+ export * from "./trusted-domain";
18
19
  export * from "./user";
19
20
  export * from "./volunteer";
@@ -31,5 +31,6 @@ __exportStar(require("./person"), exports);
31
31
  __exportStar(require("./profile"), exports);
32
32
  __exportStar(require("./testimonial"), exports);
33
33
  __exportStar(require("./time"), exports);
34
+ __exportStar(require("./trusted-domain"), exports);
34
35
  __exportStar(require("./user"), exports);
35
36
  __exportStar(require("./volunteer"), exports);
@@ -0,0 +1,10 @@
1
+ export interface ApiTrustedDomain {
2
+ id: number;
3
+ domain: string;
4
+ }
5
+ export interface ApiTrustedDomainPost {
6
+ domain: string;
7
+ }
8
+ export interface ApiTrustedDomainPatch {
9
+ domain: string;
10
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // Email-domain allowlist for agent self-registration. A registrant whose email
3
+ // domain is on this list is treated as belonging to a known RAC organisation —
4
+ // so a brand-new representative (whose org has no existing member yet) can still
5
+ // register, and a join auto-approves to ACTIVE. Managed by COORDINATOR/ADMIN.
6
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",