need4deed-sdk 0.0.107 → 0.0.109

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.
@@ -75,14 +75,16 @@ export interface OpportunityFormData {
75
75
  }
76
76
  export interface OpportunityLegacyFormDataProps {
77
77
  title: string;
78
- rac_email: string;
79
- rac_full_name: string;
80
- rac_phone: string;
81
- rac_address: string;
82
- rac_plz: string;
78
+ rac_email?: string;
79
+ rac_full_name?: string;
80
+ rac_phone?: string;
81
+ rac_address?: string;
82
+ rac_plz?: string;
83
+ agent_id?: number;
84
+ submitted_by_id?: number;
83
85
  opportunity_type: "accompanying" | "volunteering";
84
- accomp_address: string;
85
- accomp_postcode: string;
86
+ accomp_address?: string;
87
+ accomp_postcode?: string;
86
88
  accomp_datetime?: string;
87
89
  accomp_name?: string;
88
90
  accomp_phone?: string;
@@ -102,6 +104,7 @@ export interface OpportunityLegacyFormDataProps {
102
104
  language: `${Lang}`;
103
105
  }
104
106
  export type OpportunityLegacyFormData = VoidableUndefined<OpportunityLegacyFormDataProps>;
107
+ export type OpportunityFormDataWithAgentSubmitter = VoidableUndefined<Omit<OpportunityLegacyFormDataProps, "rac_email" | "rac_full_name" | "rac_phone" | "rac_address" | "rac_plz">>;
105
108
  export interface ApiOpportunityAgent {
106
109
  id: number;
107
110
  type: AgentType;
@@ -132,7 +135,6 @@ export interface ApiOpportunityGetList {
132
135
  location: OptionById[];
133
136
  accompanyingDetails: ApiOpportunityAccompanyingDetails;
134
137
  agentTitle: string;
135
- volunteerNames?: string[];
136
138
  }
137
139
  export interface ApiOpportunityGet extends ApiOpportunityGetList {
138
140
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",