@unified-api/typescript-sdk 2.85.51 → 2.85.53
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.
- package/FUNCTIONS.md +2 -2
- package/README.md +12 -12
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/models/shared/computegputype.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/computemetadata.d.ts +9 -0
- package/dist/commonjs/sdk/models/shared/computemetadata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/computemetadata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/computeregion.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/healthcareallergy.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareallergy.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareallergy.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareappointment.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareappointment.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareappointment.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarecondition.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcarecondition.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarecondition.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareemail.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/healthcareemail.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareemail.js +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareemail.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareencounter.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareencounter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareencounter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareimmunization.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareimmunization.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareimmunization.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarelocation.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcarelocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarelocation.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaremedication.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcaremedication.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaremedication.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaremetadata.d.ts +30 -0
- package/dist/commonjs/sdk/models/shared/healthcaremetadata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaremetadata.js +3 -0
- package/dist/commonjs/sdk/models/shared/healthcaremetadata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareobservation.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareobservation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareobservation.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarepatient.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcarepatient.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarepatient.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarepractitioner.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcarepractitioner.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcarepractitioner.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareslot.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/healthcareslot.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcareslot.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaretelephone.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/healthcaretelephone.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthcaretelephone.js +3 -0
- package/dist/commonjs/sdk/models/shared/healthcaretelephone.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalexpense.d.ts +35 -2
- package/dist/commonjs/sdk/models/shared/legalexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalexpense.js +3 -0
- package/dist/commonjs/sdk/models/shared/legalexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalmatter.d.ts +42 -6
- package/dist/commonjs/sdk/models/shared/legalmatter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalmatter.js +6 -0
- package/dist/commonjs/sdk/models/shared/legalmatter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalmetadata.d.ts +30 -0
- package/dist/commonjs/sdk/models/shared/legalmetadata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalmetadata.js +3 -0
- package/dist/commonjs/sdk/models/shared/legalmetadata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalparty.d.ts +9 -0
- package/dist/commonjs/sdk/models/shared/legalparty.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalparty.js +3 -0
- package/dist/commonjs/sdk/models/shared/legalparty.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalpracticearea.d.ts +26 -2
- package/dist/commonjs/sdk/models/shared/legalpracticearea.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legalpracticearea.js +3 -0
- package/dist/commonjs/sdk/models/shared/legalpracticearea.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/legaltimeentry.d.ts +23 -2
- package/dist/commonjs/sdk/models/shared/legaltimeentry.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/legaltimeentry.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarelocationaddress.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/propertyhealthcarelocationaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarelocationaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepatientaddress.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepatientaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepatientaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepractitioneraddress.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepractitioneraddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyhealthcarepractitioneraddress.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/models/shared/computegputype.d.ts +2 -2
- package/dist/esm/sdk/models/shared/computemetadata.d.ts +9 -0
- package/dist/esm/sdk/models/shared/computemetadata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/computemetadata.js.map +1 -1
- package/dist/esm/sdk/models/shared/computeregion.d.ts +2 -2
- package/dist/esm/sdk/models/shared/healthcareallergy.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareallergy.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareallergy.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareappointment.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareappointment.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareappointment.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarecondition.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcarecondition.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarecondition.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareemail.d.ts +12 -0
- package/dist/esm/sdk/models/shared/healthcareemail.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareemail.js +3 -0
- package/dist/esm/sdk/models/shared/healthcareemail.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareencounter.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareencounter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareencounter.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareimmunization.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareimmunization.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareimmunization.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarelocation.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcarelocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarelocation.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaremedication.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcaremedication.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaremedication.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaremetadata.d.ts +30 -0
- package/dist/esm/sdk/models/shared/healthcaremetadata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaremetadata.js +3 -0
- package/dist/esm/sdk/models/shared/healthcaremetadata.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareobservation.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareobservation.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareobservation.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarepatient.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcarepatient.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarepatient.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarepractitioner.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcarepractitioner.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcarepractitioner.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareslot.d.ts +3 -0
- package/dist/esm/sdk/models/shared/healthcareslot.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcareslot.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaretelephone.d.ts +12 -0
- package/dist/esm/sdk/models/shared/healthcaretelephone.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthcaretelephone.js +3 -0
- package/dist/esm/sdk/models/shared/healthcaretelephone.js.map +1 -1
- package/dist/esm/sdk/models/shared/legalexpense.d.ts +35 -2
- package/dist/esm/sdk/models/shared/legalexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legalexpense.js +3 -0
- package/dist/esm/sdk/models/shared/legalexpense.js.map +1 -1
- package/dist/esm/sdk/models/shared/legalmatter.d.ts +42 -6
- package/dist/esm/sdk/models/shared/legalmatter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legalmatter.js +6 -0
- package/dist/esm/sdk/models/shared/legalmatter.js.map +1 -1
- package/dist/esm/sdk/models/shared/legalmetadata.d.ts +30 -0
- package/dist/esm/sdk/models/shared/legalmetadata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legalmetadata.js +3 -0
- package/dist/esm/sdk/models/shared/legalmetadata.js.map +1 -1
- package/dist/esm/sdk/models/shared/legalparty.d.ts +9 -0
- package/dist/esm/sdk/models/shared/legalparty.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legalparty.js +3 -0
- package/dist/esm/sdk/models/shared/legalparty.js.map +1 -1
- package/dist/esm/sdk/models/shared/legalpracticearea.d.ts +26 -2
- package/dist/esm/sdk/models/shared/legalpracticearea.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legalpracticearea.js +3 -0
- package/dist/esm/sdk/models/shared/legalpracticearea.js.map +1 -1
- package/dist/esm/sdk/models/shared/legaltimeentry.d.ts +23 -2
- package/dist/esm/sdk/models/shared/legaltimeentry.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/legaltimeentry.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarelocationaddress.d.ts +18 -0
- package/dist/esm/sdk/models/shared/propertyhealthcarelocationaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarelocationaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarepatientaddress.d.ts +18 -0
- package/dist/esm/sdk/models/shared/propertyhealthcarepatientaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarepatientaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarepractitioneraddress.d.ts +18 -0
- package/dist/esm/sdk/models/shared/propertyhealthcarepractitioneraddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyhealthcarepractitioneraddress.js.map +1 -1
- package/examples/accountingCreateAccountingAccount.example.ts +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/models/shared/computegputype.ts +2 -2
- package/src/sdk/models/shared/computemetadata.ts +9 -0
- package/src/sdk/models/shared/computeregion.ts +2 -2
- package/src/sdk/models/shared/healthcareallergy.ts +3 -0
- package/src/sdk/models/shared/healthcareappointment.ts +3 -0
- package/src/sdk/models/shared/healthcarecondition.ts +3 -0
- package/src/sdk/models/shared/healthcareemail.ts +12 -0
- package/src/sdk/models/shared/healthcareencounter.ts +3 -0
- package/src/sdk/models/shared/healthcareimmunization.ts +3 -0
- package/src/sdk/models/shared/healthcarelocation.ts +3 -0
- package/src/sdk/models/shared/healthcaremedication.ts +3 -0
- package/src/sdk/models/shared/healthcaremetadata.ts +30 -0
- package/src/sdk/models/shared/healthcareobservation.ts +3 -0
- package/src/sdk/models/shared/healthcarepatient.ts +3 -0
- package/src/sdk/models/shared/healthcarepractitioner.ts +3 -0
- package/src/sdk/models/shared/healthcareslot.ts +3 -0
- package/src/sdk/models/shared/healthcaretelephone.ts +12 -0
- package/src/sdk/models/shared/legalexpense.ts +35 -2
- package/src/sdk/models/shared/legalmatter.ts +42 -6
- package/src/sdk/models/shared/legalmetadata.ts +30 -0
- package/src/sdk/models/shared/legalparty.ts +9 -0
- package/src/sdk/models/shared/legalpracticearea.ts +26 -2
- package/src/sdk/models/shared/legaltimeentry.ts +23 -2
- package/src/sdk/models/shared/propertyhealthcarelocationaddress.ts +18 -0
- package/src/sdk/models/shared/propertyhealthcarepatientaddress.ts +18 -0
- package/src/sdk/models/shared/propertyhealthcarepractitioneraddress.ts +18 -0
|
@@ -22,30 +22,45 @@ import {
|
|
|
22
22
|
LegalParty$outboundSchema,
|
|
23
23
|
} from "./legalparty.js";
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* how the matter is billed
|
|
27
|
+
*/
|
|
25
28
|
export const BillingMethod = {
|
|
26
29
|
Hourly: "HOURLY",
|
|
27
30
|
FlatFee: "FLAT_FEE",
|
|
28
31
|
Contingency: "CONTINGENCY",
|
|
29
32
|
Other: "OTHER",
|
|
30
33
|
} as const;
|
|
34
|
+
/**
|
|
35
|
+
* how the matter is billed
|
|
36
|
+
*/
|
|
31
37
|
export type BillingMethod = OpenEnum<typeof BillingMethod>;
|
|
32
38
|
|
|
39
|
+
/**
|
|
40
|
+
* the matter status
|
|
41
|
+
*/
|
|
33
42
|
export const LegalMatterStatus = {
|
|
34
43
|
Pending: "PENDING",
|
|
35
44
|
Open: "OPEN",
|
|
36
45
|
Closed: "CLOSED",
|
|
37
46
|
Other: "OTHER",
|
|
38
47
|
} as const;
|
|
48
|
+
/**
|
|
49
|
+
* the matter status
|
|
50
|
+
*/
|
|
39
51
|
export type LegalMatterStatus = OpenEnum<typeof LegalMatterStatus>;
|
|
40
52
|
|
|
41
53
|
export type LegalMatter = {
|
|
54
|
+
/**
|
|
55
|
+
* how the matter is billed
|
|
56
|
+
*/
|
|
42
57
|
billingMethod?: BillingMethod | undefined;
|
|
43
58
|
/**
|
|
44
59
|
* the client's own reference number for this matter
|
|
45
60
|
*/
|
|
46
61
|
clientReference?: string | undefined;
|
|
47
62
|
/**
|
|
48
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
63
|
+
* when the matter was closed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
49
64
|
*/
|
|
50
65
|
closedAt?: Date | undefined;
|
|
51
66
|
/**
|
|
@@ -57,24 +72,39 @@ export type LegalMatter = {
|
|
|
57
72
|
*/
|
|
58
73
|
contactIds?: Array<string> | undefined;
|
|
59
74
|
/**
|
|
60
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
75
|
+
* when the matter was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
61
76
|
*/
|
|
62
77
|
createdAt?: Date | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* ISO 4217 currency code
|
|
80
|
+
*/
|
|
63
81
|
currency?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* free-text description of the matter
|
|
84
|
+
*/
|
|
64
85
|
description?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* unique identifier for the matter
|
|
88
|
+
*/
|
|
65
89
|
id?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* whether the matter is billable
|
|
92
|
+
*/
|
|
66
93
|
isBillable?: boolean | undefined;
|
|
67
94
|
/**
|
|
68
95
|
* custom field values
|
|
69
96
|
*/
|
|
70
97
|
metadata?: Array<LegalMetadata> | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* the matter name
|
|
100
|
+
*/
|
|
71
101
|
name?: string | undefined;
|
|
72
102
|
/**
|
|
73
103
|
* the firm's display/matter number
|
|
74
104
|
*/
|
|
75
105
|
number?: string | undefined;
|
|
76
106
|
/**
|
|
77
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
107
|
+
* when the matter was opened (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
78
108
|
*/
|
|
79
109
|
openedAt?: Date | undefined;
|
|
80
110
|
/**
|
|
@@ -86,25 +116,31 @@ export type LegalMatter = {
|
|
|
86
116
|
*/
|
|
87
117
|
parties?: Array<LegalParty> | undefined;
|
|
88
118
|
/**
|
|
89
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
119
|
+
* when the matter became pending (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
90
120
|
*/
|
|
91
121
|
pendingAt?: Date | undefined;
|
|
92
122
|
/**
|
|
93
123
|
* pointer to the Legal Practicearea object
|
|
94
124
|
*/
|
|
95
125
|
practiceareaId?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* raw data from the integration
|
|
128
|
+
*/
|
|
96
129
|
raw?: { [k: string]: any } | undefined;
|
|
97
130
|
/**
|
|
98
131
|
* the matter stage name
|
|
99
132
|
*/
|
|
100
133
|
stage?: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* the matter status
|
|
136
|
+
*/
|
|
101
137
|
status?: LegalMatterStatus | undefined;
|
|
102
138
|
/**
|
|
103
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
139
|
+
* statute of limitations deadline for the matter (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
104
140
|
*/
|
|
105
141
|
statuteOfLimitationsAt?: Date | undefined;
|
|
106
142
|
/**
|
|
107
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
143
|
+
* when the matter was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
108
144
|
*/
|
|
109
145
|
updatedAt?: Date | undefined;
|
|
110
146
|
/**
|
|
@@ -14,6 +14,9 @@ export type LegalMetadata1 = {};
|
|
|
14
14
|
|
|
15
15
|
export type LegalMetadata5 = LegalMetadata1 | string | number | boolean;
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* additional data about the custom field
|
|
19
|
+
*/
|
|
17
20
|
export type LegalMetadataExtraData =
|
|
18
21
|
| { [k: string]: any }
|
|
19
22
|
| string
|
|
@@ -21,6 +24,9 @@ export type LegalMetadataExtraData =
|
|
|
21
24
|
| boolean
|
|
22
25
|
| Array<LegalMetadata1 | string | number | boolean>;
|
|
23
26
|
|
|
27
|
+
/**
|
|
28
|
+
* the data type of the value
|
|
29
|
+
*/
|
|
24
30
|
export const LegalMetadataFormat = {
|
|
25
31
|
Text: "TEXT",
|
|
26
32
|
Number: "NUMBER",
|
|
@@ -36,6 +42,9 @@ export const LegalMetadataFormat = {
|
|
|
36
42
|
Currency: "CURRENCY",
|
|
37
43
|
Url: "URL",
|
|
38
44
|
} as const;
|
|
45
|
+
/**
|
|
46
|
+
* the data type of the value
|
|
47
|
+
*/
|
|
39
48
|
export type LegalMetadataFormat = OpenEnum<typeof LegalMetadataFormat>;
|
|
40
49
|
|
|
41
50
|
export type LegalMetadataSchemas1 = {};
|
|
@@ -46,6 +55,9 @@ export type LegalMetadataSchemas5 =
|
|
|
46
55
|
| number
|
|
47
56
|
| boolean;
|
|
48
57
|
|
|
58
|
+
/**
|
|
59
|
+
* the custom field value
|
|
60
|
+
*/
|
|
49
61
|
export type LegalMetadataValue =
|
|
50
62
|
| { [k: string]: any }
|
|
51
63
|
| string
|
|
@@ -54,6 +66,9 @@ export type LegalMetadataValue =
|
|
|
54
66
|
| Array<LegalMetadataSchemas1 | string | number | boolean>;
|
|
55
67
|
|
|
56
68
|
export type LegalMetadata = {
|
|
69
|
+
/**
|
|
70
|
+
* additional data about the custom field
|
|
71
|
+
*/
|
|
57
72
|
extraData?:
|
|
58
73
|
| { [k: string]: any }
|
|
59
74
|
| string
|
|
@@ -61,10 +76,25 @@ export type LegalMetadata = {
|
|
|
61
76
|
| boolean
|
|
62
77
|
| Array<LegalMetadata1 | string | number | boolean>
|
|
63
78
|
| undefined;
|
|
79
|
+
/**
|
|
80
|
+
* the data type of the value
|
|
81
|
+
*/
|
|
64
82
|
format?: LegalMetadataFormat | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* the custom field identifier
|
|
85
|
+
*/
|
|
65
86
|
id?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* the scope or origin of the custom field
|
|
89
|
+
*/
|
|
66
90
|
namespace?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* the custom field key
|
|
93
|
+
*/
|
|
67
94
|
slug?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* the custom field value
|
|
97
|
+
*/
|
|
68
98
|
value?:
|
|
69
99
|
| { [k: string]: any }
|
|
70
100
|
| string
|
|
@@ -10,6 +10,9 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
10
10
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* the party role on the matter
|
|
15
|
+
*/
|
|
13
16
|
export const LegalPartyRole = {
|
|
14
17
|
Client: "CLIENT",
|
|
15
18
|
OpposingParty: "OPPOSING_PARTY",
|
|
@@ -21,6 +24,9 @@ export const LegalPartyRole = {
|
|
|
21
24
|
Referrer: "REFERRER",
|
|
22
25
|
Other: "OTHER",
|
|
23
26
|
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* the party role on the matter
|
|
29
|
+
*/
|
|
24
30
|
export type LegalPartyRole = OpenEnum<typeof LegalPartyRole>;
|
|
25
31
|
|
|
26
32
|
export type LegalParty = {
|
|
@@ -36,6 +42,9 @@ export type LegalParty = {
|
|
|
36
42
|
* the vendor's free-text relationship description
|
|
37
43
|
*/
|
|
38
44
|
description?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* the party role on the matter
|
|
47
|
+
*/
|
|
39
48
|
role?: LegalPartyRole | undefined;
|
|
40
49
|
};
|
|
41
50
|
|
|
@@ -16,6 +16,9 @@ import {
|
|
|
16
16
|
LegalMetadata$outboundSchema,
|
|
17
17
|
} from "./legalmetadata.js";
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* the normalized practice area type
|
|
21
|
+
*/
|
|
19
22
|
export const LegalPracticeareaType = {
|
|
20
23
|
Administrative: "ADMINISTRATIVE",
|
|
21
24
|
AdmiraltyAndMaritime: "ADMIRALTY_AND_MARITIME",
|
|
@@ -77,25 +80,46 @@ export const LegalPracticeareaType = {
|
|
|
77
80
|
WillsAndEstates: "WILLS_AND_ESTATES",
|
|
78
81
|
WorkersCompensation: "WORKERS_COMPENSATION",
|
|
79
82
|
} as const;
|
|
83
|
+
/**
|
|
84
|
+
* the normalized practice area type
|
|
85
|
+
*/
|
|
80
86
|
export type LegalPracticeareaType = OpenEnum<typeof LegalPracticeareaType>;
|
|
81
87
|
|
|
82
88
|
export type LegalPracticearea = {
|
|
89
|
+
/**
|
|
90
|
+
* the practice area code
|
|
91
|
+
*/
|
|
83
92
|
code?: string | undefined;
|
|
84
93
|
/**
|
|
85
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
94
|
+
* when the practice area was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
86
95
|
*/
|
|
87
96
|
createdAt?: Date | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* unique identifier for the practice area
|
|
99
|
+
*/
|
|
88
100
|
id?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* whether the practice area is active
|
|
103
|
+
*/
|
|
89
104
|
isActive?: boolean | undefined;
|
|
90
105
|
/**
|
|
91
106
|
* custom field values
|
|
92
107
|
*/
|
|
93
108
|
metadata?: Array<LegalMetadata> | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* the practice area name
|
|
111
|
+
*/
|
|
94
112
|
name?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* raw data from the integration
|
|
115
|
+
*/
|
|
95
116
|
raw?: { [k: string]: any } | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* the normalized practice area type
|
|
119
|
+
*/
|
|
96
120
|
type?: LegalPracticeareaType | undefined;
|
|
97
121
|
/**
|
|
98
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
122
|
+
* when the practice area was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
99
123
|
*/
|
|
100
124
|
updatedAt?: Date | undefined;
|
|
101
125
|
};
|
|
@@ -24,17 +24,32 @@ export type LegalTimeentry = {
|
|
|
24
24
|
*/
|
|
25
25
|
billableMinutes?: number | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
27
|
+
* when the time entry was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
28
28
|
*/
|
|
29
29
|
createdAt?: Date | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* ISO 4217 currency code
|
|
32
|
+
*/
|
|
30
33
|
currency?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* description of the work performed
|
|
36
|
+
*/
|
|
31
37
|
description?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* unique identifier for the time entry
|
|
40
|
+
*/
|
|
32
41
|
id?: string | undefined;
|
|
33
42
|
/**
|
|
34
43
|
* pointer to the Accounting Invoice this time was billed on (reference to AccountingInvoice)
|
|
35
44
|
*/
|
|
36
45
|
invoiceId?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* whether the time entry is billable
|
|
48
|
+
*/
|
|
37
49
|
isBillable?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* whether the time entry has been billed
|
|
52
|
+
*/
|
|
38
53
|
isBilled?: boolean | undefined;
|
|
39
54
|
/**
|
|
40
55
|
* pointer to the Legal Matter this time is recorded against
|
|
@@ -52,14 +67,20 @@ export type LegalTimeentry = {
|
|
|
52
67
|
* hourly rate, or the flat amount for flat-rate entries
|
|
53
68
|
*/
|
|
54
69
|
rateAmount?: number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* raw data from the integration
|
|
72
|
+
*/
|
|
55
73
|
raw?: { [k: string]: any } | undefined;
|
|
56
74
|
/**
|
|
57
75
|
* UTBMS/LEDES task code
|
|
58
76
|
*/
|
|
59
77
|
taskCode?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* total amount of the time entry
|
|
80
|
+
*/
|
|
60
81
|
totalAmount?: number | undefined;
|
|
61
82
|
/**
|
|
62
|
-
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
83
|
+
* when the time entry was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
63
84
|
*/
|
|
64
85
|
updatedAt?: Date | undefined;
|
|
65
86
|
/**
|
|
@@ -12,11 +12,29 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
* Postal address of the location
|
|
13
13
|
*/
|
|
14
14
|
export type PropertyHealthcareLocationAddress = {
|
|
15
|
+
/**
|
|
16
|
+
* First line of the street address
|
|
17
|
+
*/
|
|
15
18
|
address1?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Second line of the street address
|
|
21
|
+
*/
|
|
16
22
|
address2?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* City or locality
|
|
25
|
+
*/
|
|
17
26
|
city?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Country
|
|
29
|
+
*/
|
|
18
30
|
country?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Postal or ZIP code
|
|
33
|
+
*/
|
|
19
34
|
postalCode?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Regional area (e.g., state in the U.S., province in Canada)
|
|
37
|
+
*/
|
|
20
38
|
region?: string | undefined;
|
|
21
39
|
};
|
|
22
40
|
|
|
@@ -12,11 +12,29 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
* Home address of the patient
|
|
13
13
|
*/
|
|
14
14
|
export type PropertyHealthcarePatientAddress = {
|
|
15
|
+
/**
|
|
16
|
+
* First line of the street address
|
|
17
|
+
*/
|
|
15
18
|
address1?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Second line of the street address
|
|
21
|
+
*/
|
|
16
22
|
address2?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* City or locality
|
|
25
|
+
*/
|
|
17
26
|
city?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Country
|
|
29
|
+
*/
|
|
18
30
|
country?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Postal or ZIP code
|
|
33
|
+
*/
|
|
19
34
|
postalCode?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Regional area (e.g., state in the U.S., province in Canada)
|
|
37
|
+
*/
|
|
20
38
|
region?: string | undefined;
|
|
21
39
|
};
|
|
22
40
|
|
|
@@ -12,11 +12,29 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
* Work address of the practitioner
|
|
13
13
|
*/
|
|
14
14
|
export type PropertyHealthcarePractitionerAddress = {
|
|
15
|
+
/**
|
|
16
|
+
* First line of the street address
|
|
17
|
+
*/
|
|
15
18
|
address1?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Second line of the street address
|
|
21
|
+
*/
|
|
16
22
|
address2?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* City or locality
|
|
25
|
+
*/
|
|
17
26
|
city?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Country
|
|
29
|
+
*/
|
|
18
30
|
country?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Postal or ZIP code
|
|
33
|
+
*/
|
|
19
34
|
postalCode?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Regional area (e.g., state in the U.S., province in Canada)
|
|
37
|
+
*/
|
|
20
38
|
region?: string | undefined;
|
|
21
39
|
};
|
|
22
40
|
|