need4deed-sdk 0.0.137 → 0.0.139
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.
|
@@ -39,6 +39,10 @@ export declare enum OpportunityMatchStatusType {
|
|
|
39
39
|
UNMATCHED = "opp-vol-unmatched",
|
|
40
40
|
PAST = "opp-vol-past"
|
|
41
41
|
}
|
|
42
|
+
export declare enum OpportunitySortField {
|
|
43
|
+
CREATED_AT = "created-at",
|
|
44
|
+
START_DATE = "start-date"
|
|
45
|
+
}
|
|
42
46
|
export declare enum OpportunityMatchStatus {
|
|
43
47
|
NO_MATCHES = "vol-no-matches",
|
|
44
48
|
PENDING_MATCH = "vol-pending-match",
|
|
@@ -204,11 +208,14 @@ export type ApiOpportunityPatch = VoidableProps<{
|
|
|
204
208
|
time: string;
|
|
205
209
|
};
|
|
206
210
|
contact: {
|
|
211
|
+
/**
|
|
212
|
+
* Relinks the opportunity to a different Person already registered as a
|
|
213
|
+
* contact of the opportunity's agent. `name`/`phone`/`email`/
|
|
214
|
+
* `waysToContact` are derived from that Person and returned on
|
|
215
|
+
* `ApiOpportunityContact` — editing them directly goes through the
|
|
216
|
+
* agent-contact endpoints (`ApiAgentContactPatch`), not this field.
|
|
217
|
+
*/
|
|
207
218
|
id: number;
|
|
208
|
-
name: string;
|
|
209
|
-
phone: string;
|
|
210
|
-
email: string;
|
|
211
|
-
waysToContact: PreferredCommunicationType[];
|
|
212
219
|
};
|
|
213
220
|
agent: {
|
|
214
221
|
id?: number;
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
return t;
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityLegacyType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
|
|
14
|
+
exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunitySortField = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityLegacyType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
|
|
15
15
|
const profile_1 = require("./profile");
|
|
16
16
|
exports.REGULAR_ACCOMPANYING = profile_1.ProfileVolunteeringType.REGULAR_ACCOMPANYING, exports.OpportunityType = __rest(profile_1.ProfileVolunteeringType, ["REGULAR_ACCOMPANYING"]);
|
|
17
17
|
var OpportunityLegacyType;
|
|
@@ -42,6 +42,11 @@ var OpportunityMatchStatusType;
|
|
|
42
42
|
OpportunityMatchStatusType["UNMATCHED"] = "opp-vol-unmatched";
|
|
43
43
|
OpportunityMatchStatusType["PAST"] = "opp-vol-past";
|
|
44
44
|
})(OpportunityMatchStatusType || (exports.OpportunityMatchStatusType = OpportunityMatchStatusType = {}));
|
|
45
|
+
var OpportunitySortField;
|
|
46
|
+
(function (OpportunitySortField) {
|
|
47
|
+
OpportunitySortField["CREATED_AT"] = "created-at";
|
|
48
|
+
OpportunitySortField["START_DATE"] = "start-date";
|
|
49
|
+
})(OpportunitySortField || (exports.OpportunitySortField = OpportunitySortField = {}));
|
|
45
50
|
var OpportunityMatchStatus;
|
|
46
51
|
(function (OpportunityMatchStatus) {
|
|
47
52
|
OpportunityMatchStatus["NO_MATCHES"] = "vol-no-matches";
|