need4deed-sdk 0.0.144 → 0.0.146
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,9 +169,6 @@ export interface ApiAgentAddressConflict {
|
|
|
165
169
|
agentId: number;
|
|
166
170
|
}
|
|
167
171
|
export type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict;
|
|
168
|
-
export interface ApiAgentCreateResponse {
|
|
169
|
-
agentId: number;
|
|
170
|
-
}
|
|
171
172
|
export interface ApiAgentMembership {
|
|
172
173
|
id: number;
|
|
173
174
|
agentId: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Lang, VoidableProps } from "..";
|
|
1
2
|
export declare enum EventN4DType {
|
|
2
3
|
PARTY = "party",
|
|
3
4
|
WORKSHOP = "workshop"
|
|
@@ -13,7 +14,7 @@ export interface EventN4D {
|
|
|
13
14
|
dateEnd?: Date;
|
|
14
15
|
type: EventN4DType;
|
|
15
16
|
pic?: string;
|
|
16
|
-
time
|
|
17
|
+
time?: string;
|
|
17
18
|
address: string;
|
|
18
19
|
locationLink?: string;
|
|
19
20
|
locationComment?: string;
|
|
@@ -26,5 +27,59 @@ export interface EventN4D {
|
|
|
26
27
|
additionalInfo?: string[];
|
|
27
28
|
outro?: string;
|
|
28
29
|
}
|
|
29
|
-
export interface
|
|
30
|
+
export interface ApiEventN4DGetList {
|
|
31
|
+
id: number;
|
|
32
|
+
active: boolean;
|
|
33
|
+
title: string;
|
|
34
|
+
subTitle?: string;
|
|
35
|
+
menuTitle: string;
|
|
36
|
+
date: Date;
|
|
37
|
+
dateEnd?: Date;
|
|
38
|
+
type: EventN4DType;
|
|
39
|
+
pic?: string;
|
|
40
|
+
address: string;
|
|
41
|
+
locationComment?: string;
|
|
42
|
+
description: string;
|
|
43
|
+
shortDescription: string;
|
|
44
|
+
linkRSVP: string;
|
|
45
|
+
additionalTitle?: string;
|
|
46
|
+
additionalInfo?: string[];
|
|
47
|
+
}
|
|
48
|
+
export interface ApiEventN4DGet extends ApiEventN4DGetList {
|
|
49
|
+
hostName?: string;
|
|
50
|
+
time?: string;
|
|
51
|
+
locationLink?: string;
|
|
52
|
+
followUpText?: string;
|
|
53
|
+
followUpLink?: string;
|
|
54
|
+
outro?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ApiEventN4DTranslationInput {
|
|
57
|
+
language: Lang;
|
|
58
|
+
title: string;
|
|
59
|
+
subTitle?: string;
|
|
60
|
+
menuTitle: string;
|
|
61
|
+
time?: string;
|
|
62
|
+
locationComment?: string;
|
|
63
|
+
description: string;
|
|
64
|
+
shortDescription: string;
|
|
65
|
+
additionalTitle?: string;
|
|
66
|
+
additionalInfo?: string[];
|
|
67
|
+
outro?: string;
|
|
68
|
+
followUpText?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ApiEventN4DCreate {
|
|
71
|
+
date: Date;
|
|
72
|
+
dateEnd?: Date;
|
|
73
|
+
type: EventN4DType;
|
|
74
|
+
pic?: string;
|
|
75
|
+
locationLink?: string;
|
|
76
|
+
linkRSVP: string;
|
|
77
|
+
followUpLink?: string;
|
|
78
|
+
address: string;
|
|
79
|
+
hostName?: string;
|
|
80
|
+
active?: boolean;
|
|
81
|
+
translations: ApiEventN4DTranslationInput[];
|
|
30
82
|
}
|
|
83
|
+
export type ApiEventN4DPatch = VoidableProps<Omit<ApiEventN4DCreate, "translations">> & {
|
|
84
|
+
translations?: ApiEventN4DTranslationInput[];
|
|
85
|
+
};
|