need4deed-sdk 0.0.63 → 0.0.65

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.
@@ -1,9 +1,8 @@
1
- import { TranslatedIntoType } from "./opportunity";
2
1
  export interface ApiOpportunityAccompanyingDetails {
3
2
  appointmentAddress?: string;
4
- appointmentDate?: Date;
5
- appointmentTime?: Date;
3
+ appointmentDate?: string;
4
+ appointmentTime?: string;
6
5
  refugeeNumber?: string;
7
6
  refugeeName?: string;
8
- languageToTranslate?: TranslatedIntoType;
7
+ languageToTranslate?: number;
9
8
  }
@@ -4,6 +4,7 @@ import { AgentType } from "./agent";
4
4
  import { ApiComment } from "./comment";
5
5
  import { OptionById, OptionId } from "./common";
6
6
  import { ApiLanguage } from "./language";
7
+ import { OptionItem } from "./option";
7
8
  import { PreferredCommunicationType } from "./person";
8
9
  import { ProfileVolunteeringType } from "./profile";
9
10
  import { ApiAvailability } from "./time";
@@ -130,6 +131,11 @@ export type ApiOpportunityPatch = Partial<{
130
131
  statusOpportunity: OpportunityStatusType;
131
132
  numberVolunteers: number;
132
133
  description: string;
134
+ languagesMain: OptionItem[];
135
+ languagesResidents: OptionItem[];
136
+ activities: OptionItem[];
137
+ skills: OptionItem[];
138
+ schedule: ApiAvailability[];
133
139
  contact: {
134
140
  id: number;
135
141
  name: string;
@@ -148,7 +154,7 @@ export type ApiOpportunityPatch = Partial<{
148
154
  appointmentTime: string;
149
155
  refugeeNumber: string;
150
156
  refugeeName: string;
151
- languagesToTranslate: TranslatedIntoType[];
157
+ languagesToTranslate: number;
152
158
  };
153
159
  }>;
154
160
  export interface OpportunityVolunteer {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",