need4deed-sdk 0.0.88 → 0.0.90

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,4 +1,4 @@
1
- import { VoidableProps } from "../utils";
1
+ import { Voidable, VoidableProps } from "../utils";
2
2
  import { ApiComment } from "./comment";
3
3
  import { OptionById } from "./common";
4
4
  import { OptionItem } from "./option";
@@ -81,10 +81,10 @@ export interface ApiAgentGetList {
81
81
  }
82
82
  export interface ApiAgentGet extends ApiAgentGetList {
83
83
  createdAt: Date;
84
- updatedAt?: Date;
85
- operator?: string;
86
- representative?: ApiRepresentativeGet;
87
- serviceType?: AgentServiceType[];
84
+ updatedAt?: Voidable<Date>;
85
+ operator?: Voidable<string>;
86
+ representative?: Voidable<ApiRepresentativeGet>;
87
+ serviceType?: Voidable<AgentServiceType[]>;
88
88
  statusEngagement: AgentEngagementStatusType;
89
89
  agentDetails: AgentDetails;
90
90
  comments: ApiComment[];
@@ -102,6 +102,7 @@ interface AgentPatch {
102
102
  addressPostcode: string;
103
103
  statusSearch: AgentVolunteerSearchType;
104
104
  services: AgentServiceType[];
105
+ languages: OptionById[];
105
106
  }
106
107
  export type ApiAgentPatch = VoidableProps<AgentPatch>;
107
108
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",