need4deed-sdk 0.0.64 → 0.0.66

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?: number;
7
+ languageToTranslate?: string;
8
8
  }
@@ -1,8 +1,6 @@
1
1
  import { ApiComment } from "./comment";
2
2
  import { OptionById } from "./common";
3
- import { ApiLanguage } from "./language";
4
- import { ApiAddress } from "./location";
5
- import { ApiOrganizationGet } from "./organization";
3
+ import { OptionItem } from "./option";
6
4
  import { ApiPersonGet } from "./person";
7
5
  export declare enum AgentType {
8
6
  AE = "AE",
@@ -65,7 +63,7 @@ export interface AgentDetails {
65
63
  organizationType: AgentType;
66
64
  operator: string;
67
65
  services: string;
68
- clientLanguages: ApiLanguage[];
66
+ clientLanguages: OptionItem[];
69
67
  }
70
68
  export interface ApiRepresentativeGet extends ApiPersonGet {
71
69
  role: AgentRoleType;
@@ -75,21 +73,18 @@ export interface ApiAgentGetList {
75
73
  id: number;
76
74
  title: string;
77
75
  type: AgentType;
78
- operatorType?: AgentOperatorType;
79
- operatorId?: number;
80
- address?: ApiAddress;
76
+ volunteerSearch: AgentVolunteerSearchType;
81
77
  district?: OptionById;
82
78
  activeVolunteers: number;
83
79
  }
84
80
  export interface ApiAgentGet extends ApiAgentGetList {
85
81
  createdAt: Date;
86
82
  updatedAt?: Date;
87
- operator?: ApiOrganizationGet;
83
+ operator?: string;
88
84
  representatives?: ApiRepresentativeGet[];
89
85
  serviceType?: AgentServiceType[];
90
86
  trustLevel: AgentTrustType;
91
87
  statusEngagement: AgentEngagementStatusType;
92
- volunteerSearch: AgentVolunteerSearchType;
93
88
  comments: ApiComment[];
94
89
  agentDetails: AgentDetails;
95
90
  }
@@ -154,7 +154,7 @@ export type ApiOpportunityPatch = Partial<{
154
154
  appointmentTime: string;
155
155
  refugeeNumber: string;
156
156
  refugeeName: string;
157
- languagesToTranslate: TranslatedIntoType[];
157
+ languagesToTranslate: number;
158
158
  };
159
159
  }>;
160
160
  export interface OpportunityVolunteer {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",