need4deed-sdk 0.0.106 → 0.0.108
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
|
|
79
|
-
rac_full_name
|
|
80
|
-
rac_phone
|
|
81
|
-
rac_address
|
|
82
|
-
rac_plz
|
|
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
|
|
85
|
-
accomp_postcode
|
|
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<OpportunityFormData, "rac_email" | "rac_full_name" | "rac_phone" | "rac_address" | "rac_plz">>;
|
|
105
108
|
export interface ApiOpportunityAgent {
|
|
106
109
|
id: number;
|
|
107
110
|
type: AgentType;
|