need4deed-sdk 0.0.145 → 0.0.147
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.
|
@@ -169,9 +169,6 @@ export interface ApiAgentAddressConflict {
|
|
|
169
169
|
agentId: number;
|
|
170
170
|
}
|
|
171
171
|
export type ApiAgentRegisterConflict = ApiAgentTitleConflict | ApiAgentAddressConflict;
|
|
172
|
-
export interface ApiAgentCreateResponse {
|
|
173
|
-
agentId: number;
|
|
174
|
-
}
|
|
175
172
|
export interface ApiAgentMembership {
|
|
176
173
|
id: number;
|
|
177
174
|
agentId: number;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { VolunteerStateAppreciationType } from "./volunteer";
|
|
2
|
+
export declare enum AppreciationStatusType {
|
|
3
|
+
RECEIVED = "appr-received",
|
|
4
|
+
PENDING = "appr-pending",
|
|
5
|
+
POST = "appr-post"
|
|
6
|
+
}
|
|
2
7
|
export interface ApiAppreciationGet {
|
|
3
8
|
id: number;
|
|
4
9
|
userId?: number;
|
|
5
10
|
volunteerId: number;
|
|
6
11
|
opportunityId?: number;
|
|
7
12
|
title: VolunteerStateAppreciationType;
|
|
13
|
+
status: AppreciationStatusType;
|
|
8
14
|
dateDue: Date | null;
|
|
9
15
|
dateDelivery?: Date | null;
|
|
10
16
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppreciationStatusType = void 0;
|
|
4
|
+
var AppreciationStatusType;
|
|
5
|
+
(function (AppreciationStatusType) {
|
|
6
|
+
AppreciationStatusType["RECEIVED"] = "appr-received";
|
|
7
|
+
AppreciationStatusType["PENDING"] = "appr-pending";
|
|
8
|
+
AppreciationStatusType["POST"] = "appr-post";
|
|
9
|
+
})(AppreciationStatusType || (exports.AppreciationStatusType = AppreciationStatusType = {}));
|
|
@@ -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
|
+
};
|