@corto-ai/dexter-integrations 0.1.1 → 0.2.1-dev.0

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.
Files changed (3) hide show
  1. package/index.d.ts +73 -45
  2. package/index.js +5233 -3333
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -29,12 +29,31 @@ interface ValueAttributionDto {
29
29
  userId?: string;
30
30
  }
31
31
 
32
+ interface CriticalDateOccurrenceDto {
33
+ attribution?: ValueAttributionDto;
34
+ cancellationAttribution?: ValueAttributionDto;
35
+ cancellationProvenance?: ValueProvenanceDto;
36
+ candidates?: Array<DateTimeValueCandidateDto>;
37
+ date?: string;
38
+ description?: string;
39
+ descriptionAttribution?: ValueAttributionDto;
40
+ descriptionProvenance?: ValueProvenanceDto;
41
+ id?: string;
42
+ isCancelled?: boolean;
43
+ isSuppressed?: boolean;
44
+ provenance?: ValueProvenanceDto;
45
+ suppressionAttribution?: ValueAttributionDto;
46
+ }
47
+
32
48
  interface CriticalDateDto {
33
49
  attribution?: ValueAttributionDto;
34
50
  candidates: Array<DateTimeValueCandidateDto>;
35
51
  date?: string;
36
52
  id: string;
53
+ isMultiValue?: boolean;
37
54
  name: string;
55
+ occurrences?: Array<CriticalDateOccurrenceDto>;
56
+ primaryOccurrenceId?: string;
38
57
  }
39
58
 
40
59
  interface ActorType {
@@ -42,6 +61,35 @@ interface ActorType {
42
61
  name?: string;
43
62
  }
44
63
 
64
+ interface MatterStageDto {
65
+ id: string;
66
+ name: string;
67
+ }
68
+
69
+ interface StaffMemberDto {
70
+ id: string;
71
+ name?: string;
72
+ }
73
+
74
+ interface StaffDto {
75
+ acting?: StaffMemberDto;
76
+ assisting?: StaffMemberDto;
77
+ credit?: StaffMemberDto;
78
+ responsible?: StaffMemberDto;
79
+ }
80
+
81
+ interface ContactAppearanceDto {
82
+ isClient: boolean;
83
+ matterId: string;
84
+ matterName: string;
85
+ matterTypeName: string;
86
+ partyId: string;
87
+ roleId: string;
88
+ roleName: string;
89
+ staff: StaffDto;
90
+ status?: MatterStageDto;
91
+ }
92
+
45
93
  type EmailAddressType = 'Home' | 'Work';
46
94
 
47
95
  interface StringValueCandidateDto {
@@ -109,7 +157,8 @@ interface StreetAddressV2Dto {
109
157
  unitFlatShop?: string;
110
158
  }
111
159
 
112
- interface ContactDetailsDto {
160
+ interface ContactDto {
161
+ appearances: Array<ContactAppearanceDto>;
113
162
  emailAddresses: Array<EmailAddressV2Dto>;
114
163
  fullName: string;
115
164
  id: string;
@@ -119,11 +168,6 @@ interface ContactDetailsDto {
119
168
  streetAddresses: Array<StreetAddressV2Dto>;
120
169
  }
121
170
 
122
- interface EmailAddressDto {
123
- type: EmailAddressType;
124
- value: string;
125
- }
126
-
127
171
  interface FieldV2Dto {
128
172
  attribution?: ValueAttributionDto;
129
173
  candidates: Array<StringValueCandidateDto>;
@@ -137,6 +181,19 @@ interface FieldV2Dto {
137
181
  value: string;
138
182
  }
139
183
 
184
+ interface MatterPartyMembershipDto {
185
+ attribution?: ValueAttributionDto;
186
+ contact: ContactDto;
187
+ isContactResolved: boolean;
188
+ provenance: ValueProvenanceDto;
189
+ }
190
+
191
+ interface MatterPartySharedDetailsDto {
192
+ emailAddresses: Array<EmailAddressV2Dto>;
193
+ phoneNumbers: Array<PhoneNumberV2Dto>;
194
+ streetAddresses: Array<StreetAddressV2Dto>;
195
+ }
196
+
140
197
  interface PartyParentDto {
141
198
  attribution?: ValueAttributionDto;
142
199
  id: string;
@@ -188,61 +245,31 @@ interface PartyRoleInfoV2Dto {
188
245
  value: PartyRoleValueV2Dto;
189
246
  }
190
247
 
191
- interface PhoneNumberDto {
192
- type: PhoneNumberType;
193
- value: string;
194
- }
195
-
196
- interface StreetAddressDto {
197
- buildingName?: string;
198
- city: string;
199
- country: string;
200
- number: string;
201
- postalCode: string;
202
- state: string;
203
- street: string;
204
- type: StreetAddressType;
205
- unitFlatShop?: string;
206
- }
207
-
208
248
  interface MatterPartyDto {
209
249
  actorType?: ActorType;
210
- contact?: ContactDetailsDto;
211
- contactId?: string;
212
- /** @deprecated */ emailAddresses: Array<EmailAddressDto>;
250
+ compositionAttribution?: ValueAttributionDto;
251
+ contact?: ContactDto;
252
+ /** @deprecated */ contactId?: string;
253
+ displaySummary?: string;
213
254
  fields: Array<FieldV2Dto>;
214
255
  /** @deprecated */ fullName: string;
215
256
  id: string;
257
+ label: string;
258
+ memberships: Array<MatterPartyMembershipDto>;
216
259
  parents: Array<PartyParentDto>;
217
- /** @deprecated */ phoneNumbers: Array<PhoneNumberDto>;
260
+ /** @deprecated */ partyId?: string;
218
261
  roleInfo: PartyRoleInfoV2Dto;
262
+ sharedDetails: MatterPartySharedDetailsDto;
219
263
  sortOrder?: number;
220
- /** @deprecated */ streetAddresses: Array<StreetAddressDto>;
221
- }
222
-
223
- interface MatterStageDto {
224
- id: string;
225
- name: string;
226
264
  }
227
265
 
228
266
  type MatterSyncStatus = 'Never' | 'Started' | 'Finished';
229
267
 
230
- interface StaffMemberDto {
231
- id: string;
232
- name?: string;
233
- }
234
-
235
- interface StaffDto {
236
- acting?: StaffMemberDto;
237
- assisting?: StaffMemberDto;
238
- credit?: StaffMemberDto;
239
- responsible?: StaffMemberDto;
240
- }
241
-
242
268
  interface TableDto$1 {
243
269
  appDisplayName?: string;
244
270
  appUrl?: string;
245
271
  description: string;
272
+ displaySummary?: string;
246
273
  fields: Array<FieldV2Dto>;
247
274
  id: string;
248
275
  name: string;
@@ -292,6 +319,7 @@ interface CountryLookupDto {
292
319
  interface CriticalDateLookupDto {
293
320
  description: string;
294
321
  id: string;
322
+ isMultiValue?: boolean;
295
323
  name: string;
296
324
  }
297
325