need4deed-sdk 0.0.170 → 0.0.172
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.
|
@@ -116,6 +116,7 @@ interface AgentGet extends AgentGetList {
|
|
|
116
116
|
agentDetails: AgentDetails;
|
|
117
117
|
comments: ApiComment[];
|
|
118
118
|
languages: ApiLanguage[];
|
|
119
|
+
sharesVolunteers: boolean;
|
|
119
120
|
}
|
|
120
121
|
export type ApiAgentGet = VoidableProps<AgentGet, "district" | "operator" | "representative" | "services" | "updatedAt">;
|
|
121
122
|
interface AgentPatch {
|
|
@@ -133,6 +134,7 @@ interface AgentPatch {
|
|
|
133
134
|
languages: OptionById[];
|
|
134
135
|
districtId: number;
|
|
135
136
|
organizationId: number;
|
|
137
|
+
sharesVolunteers: boolean;
|
|
136
138
|
}
|
|
137
139
|
export type ApiAgentPatch = VoidableProps<AgentPatch>;
|
|
138
140
|
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 = {}));
|