need4deed-sdk 0.0.153 → 0.0.155
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/dist/types/api/index.js
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum VolunteerAuditLogType {
|
|
2
|
+
CONTACT_DETAILS_CHANGED = "contact_details_changed",
|
|
3
|
+
AVAILABILITY_CHANGED = "availability_changed",
|
|
4
|
+
OPPORTUNITY_STATUS_CHANGED = "opportunity_status_changed"
|
|
5
|
+
}
|
|
6
|
+
export interface ApiVolunteerAuditLogGet {
|
|
7
|
+
id: number;
|
|
8
|
+
volunteerId: number;
|
|
9
|
+
type: VolunteerAuditLogType;
|
|
10
|
+
detail: string;
|
|
11
|
+
actorUserId: number | null;
|
|
12
|
+
occurredAt: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VolunteerAuditLogType = void 0;
|
|
4
|
+
// Read-only audit trail of things that change on a volunteer's record
|
|
5
|
+
// (be#919). Distinct from ApiActivityLogGet/ApiActivityLogEntry
|
|
6
|
+
// (./activity-log.ts), an unrelated hours-worked ledger per
|
|
7
|
+
// opportunity-volunteer pairing that happens to share a similar name.
|
|
8
|
+
var VolunteerAuditLogType;
|
|
9
|
+
(function (VolunteerAuditLogType) {
|
|
10
|
+
VolunteerAuditLogType["CONTACT_DETAILS_CHANGED"] = "contact_details_changed";
|
|
11
|
+
VolunteerAuditLogType["AVAILABILITY_CHANGED"] = "availability_changed";
|
|
12
|
+
VolunteerAuditLogType["OPPORTUNITY_STATUS_CHANGED"] = "opportunity_status_changed";
|
|
13
|
+
})(VolunteerAuditLogType || (exports.VolunteerAuditLogType = VolunteerAuditLogType = {}));
|
|
@@ -124,6 +124,8 @@ interface VolunteerGetListProps {
|
|
|
124
124
|
activities: OptionItem[];
|
|
125
125
|
skills: OptionItem[];
|
|
126
126
|
locations: OptionItem[];
|
|
127
|
+
lat: number | null;
|
|
128
|
+
lon: number | null;
|
|
127
129
|
}
|
|
128
130
|
export type ApiVolunteerGetList = VoidableProps<VolunteerGetListProps, "statusMatch" | "statusCommunication">;
|
|
129
131
|
export interface ApiVolunteerGet {
|