need4deed-sdk 0.0.133 → 0.0.135

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.
@@ -4,7 +4,7 @@ import { OptionById } from "./common";
4
4
  import { ApiLanguage } from "./language";
5
5
  import { OptionItem } from "./option";
6
6
  import { ApiPersonGet, ApiPersonPatch } from "./person";
7
- export declare enum AgentType {
7
+ export declare enum AgentTypeKey {
8
8
  AE = "AE",
9
9
  GU1 = "GU1",
10
10
  GU2 = "GU2",
@@ -62,7 +62,7 @@ export interface AgentDetails {
62
62
  about: string;
63
63
  website?: Voidable<string>;
64
64
  address: string;
65
- organizationType: AgentType;
65
+ organizationType: AgentTypeKey;
66
66
  operator: string;
67
67
  services: string;
68
68
  clientLanguages: OptionItem[];
@@ -89,7 +89,7 @@ export type ApiAgentContactPatch = Partial<ApiAgentContactPost>;
89
89
  interface AgentGetList {
90
90
  id: number;
91
91
  title: string;
92
- type: AgentType;
92
+ type: AgentTypeKey;
93
93
  volunteerSearch: AgentVolunteerSearchType;
94
94
  trustLevel: AgentTrustType;
95
95
  district: OptionById;
@@ -113,7 +113,7 @@ interface AgentGet extends AgentGetList {
113
113
  export type ApiAgentGet = VoidableProps<AgentGet, "district" | "operator" | "representative" | "serviceType" | "updatedAt">;
114
114
  interface AgentPatch {
115
115
  title: string;
116
- type: AgentType;
116
+ type: AgentTypeKey;
117
117
  volunteerSearch: AgentVolunteerSearchType;
118
118
  trustLevel: AgentTrustType;
119
119
  serviceType: AgentServiceType[];
@@ -130,7 +130,7 @@ interface AgentPatch {
130
130
  export type ApiAgentPatch = VoidableProps<AgentPatch>;
131
131
  export interface ApiAgentRegisterNew {
132
132
  title: string;
133
- type?: AgentType;
133
+ type?: AgentTypeKey;
134
134
  info?: string;
135
135
  website?: string;
136
136
  services?: AgentServiceType[];
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentMembershipStatus = exports.AgentTrustType = exports.AgentServiceType = exports.AgentVolunteerSearchType = exports.AgentEngagementStatusType = exports.AgentRoleType = exports.AgentOperatorType = exports.AgentType = void 0;
4
- var AgentType;
5
- (function (AgentType) {
6
- AgentType["AE"] = "AE";
7
- AgentType["GU1"] = "GU1";
8
- AgentType["GU2"] = "GU2";
9
- AgentType["GU2_PLUS"] = "GU2+";
10
- AgentType["GU3"] = "GU3";
11
- AgentType["NU"] = "NU";
12
- AgentType["ASOG"] = "ASOG";
13
- AgentType["COUNSELING_CENTER"] = "counseling-center";
14
- AgentType["TANDEM"] = "tandem";
15
- AgentType["MULTIPLE_SOCIAL_SUPPORT"] = "multiple-social-support";
16
- })(AgentType || (exports.AgentType = AgentType = {}));
3
+ exports.AgentMembershipStatus = exports.AgentTrustType = exports.AgentServiceType = exports.AgentVolunteerSearchType = exports.AgentEngagementStatusType = exports.AgentRoleType = exports.AgentOperatorType = exports.AgentTypeKey = void 0;
4
+ var AgentTypeKey;
5
+ (function (AgentTypeKey) {
6
+ AgentTypeKey["AE"] = "AE";
7
+ AgentTypeKey["GU1"] = "GU1";
8
+ AgentTypeKey["GU2"] = "GU2";
9
+ AgentTypeKey["GU2_PLUS"] = "GU2+";
10
+ AgentTypeKey["GU3"] = "GU3";
11
+ AgentTypeKey["NU"] = "NU";
12
+ AgentTypeKey["ASOG"] = "ASOG";
13
+ AgentTypeKey["COUNSELING_CENTER"] = "counseling-center";
14
+ AgentTypeKey["TANDEM"] = "tandem";
15
+ AgentTypeKey["MULTIPLE_SOCIAL_SUPPORT"] = "multiple-social-support";
16
+ })(AgentTypeKey || (exports.AgentTypeKey = AgentTypeKey = {}));
17
17
  var AgentOperatorType;
18
18
  (function (AgentOperatorType) {
19
19
  AgentOperatorType["ORGANIZATION"] = "organization";
@@ -1,6 +1,6 @@
1
1
  import { Id, Lang, VoidableProps, VoidableUndefined } from "..";
2
2
  import { ApiOpportunityAccompanyingDetails } from "./accompanying";
3
- import { AgentType } from "./agent";
3
+ import { AgentTypeKey } from "./agent";
4
4
  import { ApiComment } from "./comment";
5
5
  import { OptionById, OptionId } from "./common";
6
6
  import { ApiLanguage } from "./language";
@@ -145,7 +145,7 @@ export interface OpportunityCreateFormDataProps {
145
145
  export type OpportunityFormDataWithAgentSubmitter = VoidableUndefined<OpportunityCreateFormDataProps>;
146
146
  export interface ApiOpportunityAgent {
147
147
  id: number;
148
- type: AgentType;
148
+ type: AgentTypeKey;
149
149
  name: string;
150
150
  address: string;
151
151
  district: OptionById;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.133",
3
+ "version": "0.0.135",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",