need4deed-sdk 0.0.140 → 0.0.142

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.
@@ -129,6 +129,7 @@ interface AgentPatch {
129
129
  serviceIds: number[];
130
130
  languages: OptionById[];
131
131
  districtId: number;
132
+ organizationId: number;
132
133
  }
133
134
  export type ApiAgentPatch = VoidableProps<AgentPatch>;
134
135
  export interface ApiAgentRegisterNew {
@@ -10,6 +10,7 @@ export * from "./event";
10
10
  export * from "./language";
11
11
  export * from "./location";
12
12
  export * from "./opportunity";
13
+ export * from "./opportunity-event-registration";
13
14
  export * from "./option";
14
15
  export * from "./post";
15
16
  export * from "./organization";
@@ -26,6 +26,7 @@ __exportStar(require("./event"), exports);
26
26
  __exportStar(require("./language"), exports);
27
27
  __exportStar(require("./location"), exports);
28
28
  __exportStar(require("./opportunity"), exports);
29
+ __exportStar(require("./opportunity-event-registration"), exports);
29
30
  __exportStar(require("./option"), exports);
30
31
  __exportStar(require("./post"), exports);
31
32
  __exportStar(require("./organization"), exports);
@@ -0,0 +1,19 @@
1
+ export interface ApiOpportunityEventRegistrationPost {
2
+ opportunityId: number;
3
+ fullName: string;
4
+ email: string;
5
+ phone?: string | null;
6
+ numberOfPeople: number;
7
+ languagePreference?: string | null;
8
+ message?: string | null;
9
+ }
10
+ export interface ApiOpportunityEventRegistrationGet {
11
+ id: number;
12
+ fullName: string;
13
+ email: string;
14
+ phone: string | null;
15
+ numberOfPeople: number;
16
+ languagePreference: string | null;
17
+ message: string | null;
18
+ createdAt: Date;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,3 +6,4 @@ export interface ApiOrganizationGet {
6
6
  address: ApiAddress;
7
7
  }
8
8
  export type ApiOrganizationPatch = Partial<ApiOrganizationGet>;
9
+ export type ApiOrganizationGetList = Pick<ApiOrganizationGet, "id" | "title">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.140",
3
+ "version": "0.0.142",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",