need4deed-sdk 0.0.75 → 0.0.77

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.
@@ -4,5 +4,5 @@ export interface ApiOpportunityAccompanyingDetails {
4
4
  appointmentTime?: string;
5
5
  refugeeNumber?: string;
6
6
  refugeeName?: string;
7
- languageToTranslate?: string;
7
+ languageToTranslate?: number;
8
8
  }
@@ -115,6 +115,7 @@ export interface ApiOpportunityGetList {
115
115
  activities: OptionById[];
116
116
  languages: ApiLanguage[];
117
117
  availability: ApiAvailability[];
118
+ accompanyingDetails: ApiOpportunityAccompanyingDetails;
118
119
  }
119
120
  export interface ApiOpportunityGet extends ApiOpportunityGetList {
120
121
  createdAt: Date;
@@ -125,7 +126,6 @@ export interface ApiOpportunityGet extends ApiOpportunityGetList {
125
126
  comments: ApiComment[];
126
127
  contact: ApiOpportunityContact;
127
128
  agent: ApiOpportunityAgent;
128
- accompanyingDetails: ApiOpportunityAccompanyingDetails;
129
129
  }
130
130
  export type ApiOpportunityLean = Omit<ApiOpportunityGet, "comments">;
131
131
  export type ApiOpportunityPatch = Partial<{
@@ -149,14 +149,7 @@ export type ApiOpportunityPatch = Partial<{
149
149
  address: string;
150
150
  district: string;
151
151
  };
152
- accompanyingDetails: {
153
- appointmentAddress: string;
154
- appointmentDate: string;
155
- appointmentTime: string;
156
- refugeeNumber: string;
157
- refugeeName: string;
158
- languagesToTranslate: number;
159
- };
152
+ accompanyingDetails: ApiOpportunityAccompanyingDetails;
160
153
  }>;
161
154
  export interface OpportunityVolunteer {
162
155
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.75",
3
+ "version": "0.0.77",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",