need4deed-sdk 0.0.171 → 0.0.173
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.
|
@@ -66,6 +66,8 @@ export interface AgentDetails {
|
|
|
66
66
|
about: string;
|
|
67
67
|
website?: Voidable<string>;
|
|
68
68
|
address: string;
|
|
69
|
+
addressStreet?: Voidable<string>;
|
|
70
|
+
addressPostcode?: Voidable<string>;
|
|
69
71
|
organizationType: AgentType;
|
|
70
72
|
operator: string;
|
|
71
73
|
services: Service[];
|
|
@@ -116,6 +118,7 @@ interface AgentGet extends AgentGetList {
|
|
|
116
118
|
agentDetails: AgentDetails;
|
|
117
119
|
comments: ApiComment[];
|
|
118
120
|
languages: ApiLanguage[];
|
|
121
|
+
sharesVolunteers: boolean;
|
|
119
122
|
}
|
|
120
123
|
export type ApiAgentGet = VoidableProps<AgentGet, "district" | "operator" | "representative" | "services" | "updatedAt">;
|
|
121
124
|
interface AgentPatch {
|
|
@@ -133,6 +136,7 @@ interface AgentPatch {
|
|
|
133
136
|
languages: OptionById[];
|
|
134
137
|
districtId: number;
|
|
135
138
|
organizationId: number;
|
|
139
|
+
sharesVolunteers: boolean;
|
|
136
140
|
}
|
|
137
141
|
export type ApiAgentPatch = VoidableProps<AgentPatch>;
|
|
138
142
|
export interface ApiAgentRegisterNew {
|
|
@@ -112,6 +112,7 @@ export declare const VolunteerCommunicationType: typeof PreferredCommunicationTy
|
|
|
112
112
|
export type VolunteerCommunicationType = PreferredCommunicationType;
|
|
113
113
|
interface VolunteerGetListProps {
|
|
114
114
|
id: number;
|
|
115
|
+
ownerAgentId: number | null;
|
|
115
116
|
statusEngagement: VolunteerStateEngagementType;
|
|
116
117
|
statusType: VolunteerStateTypeType;
|
|
117
118
|
statusMatch: VolunteerStateMatchType;
|
|
@@ -130,6 +131,7 @@ interface VolunteerGetListProps {
|
|
|
130
131
|
export type ApiVolunteerGetList = VoidableProps<VolunteerGetListProps, "statusMatch" | "statusCommunication">;
|
|
131
132
|
export interface ApiVolunteerGet {
|
|
132
133
|
id: number;
|
|
134
|
+
ownerAgentId: number | null;
|
|
133
135
|
person: ApiPersonGet;
|
|
134
136
|
statusEngagement: VolunteerStateEngagementType;
|
|
135
137
|
statusCommunication: VolunteerStateCommunicationType;
|
package/dist/types/core.d.ts
CHANGED
package/dist/types/core.js
CHANGED
|
@@ -87,6 +87,7 @@ var QueryParamsKeys;
|
|
|
87
87
|
QueryParamsKeys["LANGUAGES"] = "languages";
|
|
88
88
|
QueryParamsKeys["LIMIT"] = "limit";
|
|
89
89
|
QueryParamsKeys["ORDER"] = "order";
|
|
90
|
+
QueryParamsKeys["OWNER_AGENT"] = "ownerAgent";
|
|
90
91
|
QueryParamsKeys["PAGE"] = "page";
|
|
91
92
|
QueryParamsKeys["SEARCH"] = "search";
|
|
92
93
|
})(QueryParamsKeys || (exports.QueryParamsKeys = QueryParamsKeys = {}));
|