need4deed-sdk 0.0.78 → 0.0.80

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.
@@ -27,11 +27,19 @@ export declare enum OpportunityStatusType {
27
27
  INACTIVE = "opp-inactive",
28
28
  PAST = "opp-past"
29
29
  }
30
+ export declare enum OpportunityMatchStatusType {
31
+ PENDING_MATCH = "opp-vol-pending-match",
32
+ NO_MATCHES = "opp-vol-no-matches",
33
+ MATCHED = "opp-vol-matched",
34
+ NEEDS_REMATCH = "opp-vol-needs-rematch",
35
+ UNMATCHED = "opp-vol-unmatched",
36
+ PAST = "opp-vol-past"
37
+ }
30
38
  export declare enum OpportunityMatchStatus {
31
- PENDING_MATCH = "opp-pending-match",
32
- MATCHED = "opp-matched",
33
- NEEDS_REMATCH = "opp-needs-rematch",
34
- UNMATCHED = "opp-unmatched"
39
+ NO_MATCHES = "vol-no-matches",
40
+ PENDING_MATCH = "vol-pending-match",
41
+ MATCHED = "vol-matched",
42
+ PAST = "vol-past"
35
43
  }
36
44
  export declare enum OpportunityVolunteerStatusType {
37
45
  PENDING = "opp-pending",
@@ -112,6 +120,7 @@ export interface ApiOpportunityGetList {
112
120
  category: OptionById;
113
121
  volunteerType: VolunteerStateTypeType;
114
122
  statusOpportunity: OpportunityStatusType;
123
+ statusMatch: OpportunityMatchStatusType;
115
124
  createdAt: Date;
116
125
  activities: OptionById[];
117
126
  languages: ApiLanguage[];
@@ -11,7 +11,7 @@ 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.OpportunityStatusType = exports.TranslatedIntoType = exports.OpportunityType = exports.REGULAR_ACCOMPANYING = void 0;
14
+ exports.OpportunityVolunteerStatusType = exports.OpportunityMatchStatus = exports.OpportunityMatchStatusType = exports.OpportunityStatusType = exports.TranslatedIntoType = 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
17
  var TranslatedIntoType;
@@ -28,12 +28,21 @@ var OpportunityStatusType;
28
28
  OpportunityStatusType["INACTIVE"] = "opp-inactive";
29
29
  OpportunityStatusType["PAST"] = "opp-past";
30
30
  })(OpportunityStatusType || (exports.OpportunityStatusType = OpportunityStatusType = {}));
31
+ var OpportunityMatchStatusType;
32
+ (function (OpportunityMatchStatusType) {
33
+ OpportunityMatchStatusType["PENDING_MATCH"] = "opp-vol-pending-match";
34
+ OpportunityMatchStatusType["NO_MATCHES"] = "opp-vol-no-matches";
35
+ OpportunityMatchStatusType["MATCHED"] = "opp-vol-matched";
36
+ OpportunityMatchStatusType["NEEDS_REMATCH"] = "opp-vol-needs-rematch";
37
+ OpportunityMatchStatusType["UNMATCHED"] = "opp-vol-unmatched";
38
+ OpportunityMatchStatusType["PAST"] = "opp-vol-past";
39
+ })(OpportunityMatchStatusType || (exports.OpportunityMatchStatusType = OpportunityMatchStatusType = {}));
31
40
  var OpportunityMatchStatus;
32
41
  (function (OpportunityMatchStatus) {
33
- OpportunityMatchStatus["PENDING_MATCH"] = "opp-pending-match";
34
- OpportunityMatchStatus["MATCHED"] = "opp-matched";
35
- OpportunityMatchStatus["NEEDS_REMATCH"] = "opp-needs-rematch";
36
- OpportunityMatchStatus["UNMATCHED"] = "opp-unmatched";
42
+ OpportunityMatchStatus["NO_MATCHES"] = "vol-no-matches";
43
+ OpportunityMatchStatus["PENDING_MATCH"] = "vol-pending-match";
44
+ OpportunityMatchStatus["MATCHED"] = "vol-matched";
45
+ OpportunityMatchStatus["PAST"] = "vol-past";
37
46
  })(OpportunityMatchStatus || (exports.OpportunityMatchStatus = OpportunityMatchStatus = {}));
38
47
  var OpportunityVolunteerStatusType;
39
48
  (function (OpportunityVolunteerStatusType) {
@@ -100,7 +100,8 @@ export declare enum VolunteerStateMatchType {
100
100
  NO_MATCHES = "vol-no-matches",
101
101
  PENDING_MATCH = "vol-pending-match",
102
102
  MATCHED = "vol-matched",
103
- NEEDS_REMATCH = "vol-needs-rematch"
103
+ NEEDS_REMATCH = "vol-needs-rematch",
104
+ PAST = "vol-past"
104
105
  }
105
106
  export declare const VolunteerCommunicationType: typeof PreferredCommunicationType;
106
107
  export type VolunteerCommunicationType = PreferredCommunicationType;
@@ -50,5 +50,6 @@ var VolunteerStateMatchType;
50
50
  VolunteerStateMatchType["PENDING_MATCH"] = "vol-pending-match";
51
51
  VolunteerStateMatchType["MATCHED"] = "vol-matched";
52
52
  VolunteerStateMatchType["NEEDS_REMATCH"] = "vol-needs-rematch";
53
+ VolunteerStateMatchType["PAST"] = "vol-past";
53
54
  })(VolunteerStateMatchType || (exports.VolunteerStateMatchType = VolunteerStateMatchType = {}));
54
55
  exports.VolunteerCommunicationType = person_1.PreferredCommunicationType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.78",
3
+ "version": "0.0.80",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -1,5 +0,0 @@
1
- export interface ApiAddressGet {
2
- street: string;
3
- city: string;
4
- postcode: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });