need4deed-sdk 0.0.84 → 0.0.86
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.
- package/README.md +3 -1
- package/dist/types/api/accompanying.d.ts +1 -1
- package/dist/types/api/communication.d.ts +2 -1
- package/dist/types/api/communication.js +1 -0
- package/dist/types/api/opportunity.d.ts +8 -3
- package/dist/types/api/person.d.ts +2 -1
- package/dist/types/api/person.js +1 -0
- package/dist/types/api/volunteer.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,6 @@ export interface ApiOpportunityAccompanyingDetails {
|
|
|
8
8
|
refugeeName?: string;
|
|
9
9
|
appointmentLanguage?: TranslatedIntoType;
|
|
10
10
|
refugeeLanguage?: OptionById[];
|
|
11
|
-
appointmentPostcode?:
|
|
11
|
+
appointmentPostcode?: string;
|
|
12
12
|
appointmentDistrict?: OptionById;
|
|
13
13
|
}
|
|
@@ -17,6 +17,7 @@ var ContactMethodType;
|
|
|
17
17
|
ContactMethodType["SIGNAL"] = "signal";
|
|
18
18
|
ContactMethodType["SMS"] = "sms";
|
|
19
19
|
ContactMethodType["VOICENOTE"] = "voicenote";
|
|
20
|
+
ContactMethodType["VIDEO_CALL"] = "video-call";
|
|
20
21
|
})(ContactMethodType || (exports.ContactMethodType = ContactMethodType = {}));
|
|
21
22
|
var CommunicationType;
|
|
22
23
|
(function (CommunicationType) {
|
|
@@ -102,6 +102,7 @@ export interface OpportunityLegacyFormData {
|
|
|
102
102
|
language: `${Lang}`;
|
|
103
103
|
}
|
|
104
104
|
export interface ApiOpportunityAgent {
|
|
105
|
+
id: number;
|
|
105
106
|
type: AgentType;
|
|
106
107
|
name: string;
|
|
107
108
|
address: string;
|
|
@@ -156,9 +157,13 @@ export type ApiOpportunityPatch = Partial<{
|
|
|
156
157
|
waysToContact: PreferredCommunicationType[];
|
|
157
158
|
};
|
|
158
159
|
agent: {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
id?: number;
|
|
161
|
+
/** @deprecated free-text in-place edit; use `id` to re-link. BE only applies `name`. */
|
|
162
|
+
name?: string;
|
|
163
|
+
/** @deprecated not persisted by the backend */
|
|
164
|
+
address?: string;
|
|
165
|
+
/** @deprecated not persisted by the backend */
|
|
166
|
+
district?: string;
|
|
162
167
|
};
|
|
163
168
|
accompanyingDetails: ApiOpportunityAccompanyingDetails;
|
|
164
169
|
}>;
|
package/dist/types/api/person.js
CHANGED
|
@@ -7,4 +7,5 @@ var PreferredCommunicationType;
|
|
|
7
7
|
PreferredCommunicationType["MOBILE_PHONE"] = "mobilePhone";
|
|
8
8
|
PreferredCommunicationType["WHATSAPP"] = "whatsapp";
|
|
9
9
|
PreferredCommunicationType["TELEGRAM"] = "telegram";
|
|
10
|
+
PreferredCommunicationType["SMS"] = "sms";
|
|
10
11
|
})(PreferredCommunicationType || (exports.PreferredCommunicationType = PreferredCommunicationType = {}));
|
|
@@ -109,6 +109,8 @@ export interface ApiVolunteerGetList {
|
|
|
109
109
|
id: number;
|
|
110
110
|
statusEngagement: VolunteerStateEngagementType;
|
|
111
111
|
statusType: VolunteerStateTypeType;
|
|
112
|
+
statusMatch?: VolunteerStateMatchType;
|
|
113
|
+
statusCommunication?: VolunteerStateCommunicationType;
|
|
112
114
|
name: string;
|
|
113
115
|
avatarUrl: string;
|
|
114
116
|
languages: ApiLanguage[];
|