need4deed-sdk 0.0.21 → 0.0.22

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.
@@ -1,3 +1,4 @@
1
+ import { Id } from "..";
1
2
  import { OptionId } from "./common";
2
3
  import { ApiLanguage } from "./language";
3
4
  import { VolunteerStateTypeType } from "./volunteer";
@@ -53,14 +54,14 @@ export interface Opportunity {
53
54
  last_edited_time_notion?: string;
54
55
  }
55
56
  export interface ApiOpportunityGetList {
57
+ id: Id;
56
58
  title: string;
57
59
  volunteerType: VolunteerStateTypeType;
58
60
  statusOpportunity: OpportunityStatusType;
61
+ }
62
+ export interface ApiOpportunityGet extends ApiOpportunityGetList {
59
63
  languages: ApiLanguage[];
60
64
  activities: string[];
61
65
  skills: string[];
62
66
  location: string[];
63
67
  }
64
- export interface AliOpportunityGet extends ApiOpportunityGetList {
65
- statusMatch: OpportunityMatchStatus;
66
- }
@@ -59,6 +59,12 @@ export declare enum VolunteerStateMatchType {
59
59
  MATCHED = "matched",
60
60
  NEEDS_REMATCH = "needs-rematch"
61
61
  }
62
+ export declare enum VolunteerCommunicationType {
63
+ EMAIL = "email",
64
+ MOBILE_PHONE = "mobilePhone",
65
+ WHATSAPP = "whatsapp",
66
+ TELEGRAM = "telegram"
67
+ }
62
68
  export declare enum SortOrder {
63
69
  NewToOld = "new-old",
64
70
  OldToNew = "old-new"
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryParamsKeys = exports.EntityTableName = exports.QueryParams = exports.SortOrder = exports.VolunteerStateMatchType = exports.VolunteerStateType = exports.TimedTextType = exports.DocumentStatusType = exports.HttpMethod = exports.LangPurpose = exports.LangProficiency = exports.Lang = void 0;
3
+ exports.QueryParamsKeys = exports.EntityTableName = exports.QueryParams = exports.SortOrder = exports.VolunteerCommunicationType = exports.VolunteerStateMatchType = exports.VolunteerStateType = exports.TimedTextType = exports.DocumentStatusType = exports.HttpMethod = exports.LangPurpose = exports.LangProficiency = exports.Lang = void 0;
4
4
  var Lang;
5
5
  (function (Lang) {
6
6
  Lang["EN"] = "en";
@@ -69,6 +69,13 @@ var VolunteerStateMatchType;
69
69
  VolunteerStateMatchType["MATCHED"] = "matched";
70
70
  VolunteerStateMatchType["NEEDS_REMATCH"] = "needs-rematch";
71
71
  })(VolunteerStateMatchType || (exports.VolunteerStateMatchType = VolunteerStateMatchType = {}));
72
+ var VolunteerCommunicationType;
73
+ (function (VolunteerCommunicationType) {
74
+ VolunteerCommunicationType["EMAIL"] = "email";
75
+ VolunteerCommunicationType["MOBILE_PHONE"] = "mobilePhone";
76
+ VolunteerCommunicationType["WHATSAPP"] = "whatsapp";
77
+ VolunteerCommunicationType["TELEGRAM"] = "telegram";
78
+ })(VolunteerCommunicationType || (exports.VolunteerCommunicationType = VolunteerCommunicationType = {}));
72
79
  var SortOrder;
73
80
  (function (SortOrder) {
74
81
  SortOrder["NewToOld"] = "new-old";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",