need4deed-sdk 0.0.25 → 0.0.27

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,3 +66,8 @@ export declare enum TimeSlot {
66
66
  afternoon = "14-17",
67
67
  evening = "17-20"
68
68
  }
69
+ export interface ApiAvailability {
70
+ id?: number;
71
+ day?: ByDay | Occasionally;
72
+ daytime?: TimeSlot | OccasionalType;
73
+ }
@@ -4,7 +4,7 @@ import { ApiLanguage } from "./language";
4
4
  import { ApiOpportunityGetList } from "./opportunity";
5
5
  import { OptionItem } from "./option";
6
6
  import { ApiPersonGet } from "./person";
7
- import { Availability, TimedText } from "./time";
7
+ import { ApiAvailability, TimedText } from "./time";
8
8
  export interface Volunteer {
9
9
  origin_opportunity: number | undefined;
10
10
  full_name: string;
@@ -98,7 +98,7 @@ export interface ApiVolunteerGetList {
98
98
  name: string;
99
99
  avatarUrl: string;
100
100
  languages: ApiLanguage[];
101
- availability: Availability[];
101
+ availability: ApiAvailability[];
102
102
  activities: OptionItem[];
103
103
  skills: OptionItem[];
104
104
  locations: OptionItem[];
@@ -126,7 +126,7 @@ export interface ApiVolunteerGet {
126
126
  opportunitiesApplied: OptionItem[];
127
127
  opportunitiesMatched: OptionItem[];
128
128
  languages: ApiLanguage[];
129
- availability: Availability[];
129
+ availability: ApiAvailability[];
130
130
  activities: OptionItem[];
131
131
  skills: OptionItem[];
132
132
  locations: OptionItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",