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.
@@ -23,3 +23,4 @@ export * from "./time";
23
23
  export * from "./trusted-domain";
24
24
  export * from "./user";
25
25
  export * from "./volunteer";
26
+ export * from "./volunteer-audit-log";
@@ -39,3 +39,4 @@ __exportStar(require("./time"), exports);
39
39
  __exportStar(require("./trusted-domain"), exports);
40
40
  __exportStar(require("./user"), exports);
41
41
  __exportStar(require("./volunteer"), exports);
42
+ __exportStar(require("./volunteer-audit-log"), exports);
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",