need4deed-sdk 0.0.116 → 0.0.117

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.
@@ -15,6 +15,10 @@ export declare const REGULAR_ACCOMPANYING: ProfileVolunteeringType, OpportunityT
15
15
  EVENTS: ProfileVolunteeringType.EVENTS;
16
16
  };
17
17
  export type OpportunityType = Exclude<ProfileVolunteeringType, ProfileVolunteeringType.REGULAR_ACCOMPANYING>;
18
+ export declare enum OpportunityLegacyType {
19
+ VOLUNTEERING = "volunteering",
20
+ ACCOMPANYING = "accompanying"
21
+ }
18
22
  export declare enum TranslatedIntoType {
19
23
  DEUTSCHE = "deutsche",
20
24
  ENGLISH_OK = "englishOk",
@@ -82,7 +86,7 @@ export interface OpportunityLegacyFormDataProps {
82
86
  rac_plz?: string;
83
87
  agent_id?: number;
84
88
  submitted_by_id?: number;
85
- opportunity_type: "accompanying" | "volunteering";
89
+ opportunity_type: OpportunityLegacyType;
86
90
  accomp_address?: string;
87
91
  accomp_postcode?: string;
88
92
  accomp_datetime?: string;
@@ -11,9 +11,14 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  return t;
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
14
+ exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityLegacyType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
15
15
  const profile_1 = require("./profile");
16
16
  exports.REGULAR_ACCOMPANYING = profile_1.ProfileVolunteeringType.REGULAR_ACCOMPANYING, exports.OpportunityType = __rest(profile_1.ProfileVolunteeringType, ["REGULAR_ACCOMPANYING"]);
17
+ var OpportunityLegacyType;
18
+ (function (OpportunityLegacyType) {
19
+ OpportunityLegacyType["VOLUNTEERING"] = "volunteering";
20
+ OpportunityLegacyType["ACCOMPANYING"] = "accompanying";
21
+ })(OpportunityLegacyType || (exports.OpportunityLegacyType = OpportunityLegacyType = {}));
17
22
  var TranslatedIntoType;
18
23
  (function (TranslatedIntoType) {
19
24
  TranslatedIntoType["DEUTSCHE"] = "deutsche";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",