@unified-api/typescript-sdk 2.82.22 → 2.82.24
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/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/sdk/models/operations/createaccountingexpense.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createaccountingexpense.js +1 -0
- package/dist/commonjs/sdk/models/operations/createaccountingexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingexpense.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getaccountingexpense.js +1 -0
- package/dist/commonjs/sdk/models/operations/getaccountingexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingexpenses.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingexpenses.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listaccountingexpenses.js +1 -0
- package/dist/commonjs/sdk/models/operations/listaccountingexpenses.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingexpense.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchaccountingexpense.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchaccountingexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingexpense.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateaccountingexpense.js +1 -0
- package/dist/commonjs/sdk/models/operations/updateaccountingexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingexpense.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/accountingexpense.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingexpense.js +4 -0
- package/dist/commonjs/sdk/models/shared/accountingexpense.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingjournallineitem.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/accountingjournallineitem.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/accountingjournallineitem.js +8 -0
- package/dist/commonjs/sdk/models/shared/accountingjournallineitem.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/calendarattendee.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/calendarattendee.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/calendarattendee.js +4 -0
- package/dist/commonjs/sdk/models/shared/calendarattendee.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertycalendareventorganizer.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/propertycalendareventorganizer.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertycalendareventorganizer.js +4 -0
- package/dist/commonjs/sdk/models/shared/propertycalendareventorganizer.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js +2 -0
- package/dist/commonjs/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/sdk/models/operations/createaccountingexpense.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createaccountingexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createaccountingexpense.js +1 -0
- package/dist/esm/sdk/models/operations/createaccountingexpense.js.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingexpense.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getaccountingexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getaccountingexpense.js +1 -0
- package/dist/esm/sdk/models/operations/getaccountingexpense.js.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingexpenses.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listaccountingexpenses.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listaccountingexpenses.js +1 -0
- package/dist/esm/sdk/models/operations/listaccountingexpenses.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingexpense.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchaccountingexpense.js +1 -0
- package/dist/esm/sdk/models/operations/patchaccountingexpense.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingexpense.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updateaccountingexpense.js +1 -0
- package/dist/esm/sdk/models/operations/updateaccountingexpense.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingexpense.d.ts +2 -0
- package/dist/esm/sdk/models/shared/accountingexpense.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingexpense.js +4 -0
- package/dist/esm/sdk/models/shared/accountingexpense.js.map +1 -1
- package/dist/esm/sdk/models/shared/accountingjournallineitem.d.ts +4 -0
- package/dist/esm/sdk/models/shared/accountingjournallineitem.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/accountingjournallineitem.js +8 -0
- package/dist/esm/sdk/models/shared/accountingjournallineitem.js.map +1 -1
- package/dist/esm/sdk/models/shared/calendarattendee.d.ts +2 -0
- package/dist/esm/sdk/models/shared/calendarattendee.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/calendarattendee.js +4 -0
- package/dist/esm/sdk/models/shared/calendarattendee.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertycalendareventorganizer.d.ts +2 -0
- package/dist/esm/sdk/models/shared/propertycalendareventorganizer.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertycalendareventorganizer.js +4 -0
- package/dist/esm/sdk/models/shared/propertycalendareventorganizer.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js +2 -0
- package/dist/esm/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/operations/createaccountingexpense.ts +1 -0
- package/src/sdk/models/operations/getaccountingexpense.ts +1 -0
- package/src/sdk/models/operations/listaccountingexpenses.ts +1 -0
- package/src/sdk/models/operations/patchaccountingexpense.ts +1 -0
- package/src/sdk/models/operations/updateaccountingexpense.ts +1 -0
- package/src/sdk/models/shared/accountingexpense.ts +6 -0
- package/src/sdk/models/shared/accountingjournallineitem.ts +12 -0
- package/src/sdk/models/shared/calendarattendee.ts +6 -0
- package/src/sdk/models/shared/propertycalendareventorganizer.ts +6 -0
- package/src/sdk/models/shared/propertycalendarrecordingtranscriptattendee.ts +3 -0
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
export type AccountingExpense = {
|
|
18
18
|
approvedAt?: Date | undefined;
|
|
19
19
|
approverUserId?: string | undefined;
|
|
20
|
+
contactId?: string | undefined;
|
|
20
21
|
createdAt?: Date | undefined;
|
|
21
22
|
currency?: string | undefined;
|
|
22
23
|
id?: string | undefined;
|
|
@@ -40,6 +41,7 @@ export const AccountingExpense$inboundSchema: z.ZodType<
|
|
|
40
41
|
approved_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
41
42
|
.optional(),
|
|
42
43
|
approver_user_id: z.string().optional(),
|
|
44
|
+
contact_id: z.string().optional(),
|
|
43
45
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
44
46
|
.optional(),
|
|
45
47
|
currency: z.string().optional(),
|
|
@@ -60,6 +62,7 @@ export const AccountingExpense$inboundSchema: z.ZodType<
|
|
|
60
62
|
return remap$(v, {
|
|
61
63
|
"approved_at": "approvedAt",
|
|
62
64
|
"approver_user_id": "approverUserId",
|
|
65
|
+
"contact_id": "contactId",
|
|
63
66
|
"created_at": "createdAt",
|
|
64
67
|
"reimbursed_amount": "reimbursedAmount",
|
|
65
68
|
"reimbursed_at": "reimbursedAt",
|
|
@@ -73,6 +76,7 @@ export const AccountingExpense$inboundSchema: z.ZodType<
|
|
|
73
76
|
export type AccountingExpense$Outbound = {
|
|
74
77
|
approved_at?: string | undefined;
|
|
75
78
|
approver_user_id?: string | undefined;
|
|
79
|
+
contact_id?: string | undefined;
|
|
76
80
|
created_at?: string | undefined;
|
|
77
81
|
currency?: string | undefined;
|
|
78
82
|
id?: string | undefined;
|
|
@@ -95,6 +99,7 @@ export const AccountingExpense$outboundSchema: z.ZodType<
|
|
|
95
99
|
> = z.object({
|
|
96
100
|
approvedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
97
101
|
approverUserId: z.string().optional(),
|
|
102
|
+
contactId: z.string().optional(),
|
|
98
103
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
99
104
|
currency: z.string().optional(),
|
|
100
105
|
id: z.string().optional(),
|
|
@@ -111,6 +116,7 @@ export const AccountingExpense$outboundSchema: z.ZodType<
|
|
|
111
116
|
return remap$(v, {
|
|
112
117
|
approvedAt: "approved_at",
|
|
113
118
|
approverUserId: "approver_user_id",
|
|
119
|
+
contactId: "contact_id",
|
|
114
120
|
createdAt: "created_at",
|
|
115
121
|
reimbursedAmount: "reimbursed_amount",
|
|
116
122
|
reimbursedAt: "reimbursed_at",
|
|
@@ -12,6 +12,8 @@ export type AccountingJournalLineitem = {
|
|
|
12
12
|
accountId?: string | undefined;
|
|
13
13
|
categoryIds?: Array<string> | undefined;
|
|
14
14
|
contactId?: string | undefined;
|
|
15
|
+
creditAmount?: number | undefined;
|
|
16
|
+
debitAmount?: number | undefined;
|
|
15
17
|
description?: string | undefined;
|
|
16
18
|
groupId?: string | undefined;
|
|
17
19
|
id?: string | undefined;
|
|
@@ -31,6 +33,8 @@ export const AccountingJournalLineitem$inboundSchema: z.ZodType<
|
|
|
31
33
|
account_id: z.string().optional(),
|
|
32
34
|
category_ids: z.array(z.string()).optional(),
|
|
33
35
|
contact_id: z.string().optional(),
|
|
36
|
+
credit_amount: z.number().optional(),
|
|
37
|
+
debit_amount: z.number().optional(),
|
|
34
38
|
description: z.string().optional(),
|
|
35
39
|
group_id: z.string().optional(),
|
|
36
40
|
id: z.string().optional(),
|
|
@@ -44,6 +48,8 @@ export const AccountingJournalLineitem$inboundSchema: z.ZodType<
|
|
|
44
48
|
"account_id": "accountId",
|
|
45
49
|
"category_ids": "categoryIds",
|
|
46
50
|
"contact_id": "contactId",
|
|
51
|
+
"credit_amount": "creditAmount",
|
|
52
|
+
"debit_amount": "debitAmount",
|
|
47
53
|
"group_id": "groupId",
|
|
48
54
|
"invoice_id": "invoiceId",
|
|
49
55
|
"payment_id": "paymentId",
|
|
@@ -57,6 +63,8 @@ export type AccountingJournalLineitem$Outbound = {
|
|
|
57
63
|
account_id?: string | undefined;
|
|
58
64
|
category_ids?: Array<string> | undefined;
|
|
59
65
|
contact_id?: string | undefined;
|
|
66
|
+
credit_amount?: number | undefined;
|
|
67
|
+
debit_amount?: number | undefined;
|
|
60
68
|
description?: string | undefined;
|
|
61
69
|
group_id?: string | undefined;
|
|
62
70
|
id?: string | undefined;
|
|
@@ -76,6 +84,8 @@ export const AccountingJournalLineitem$outboundSchema: z.ZodType<
|
|
|
76
84
|
accountId: z.string().optional(),
|
|
77
85
|
categoryIds: z.array(z.string()).optional(),
|
|
78
86
|
contactId: z.string().optional(),
|
|
87
|
+
creditAmount: z.number().optional(),
|
|
88
|
+
debitAmount: z.number().optional(),
|
|
79
89
|
description: z.string().optional(),
|
|
80
90
|
groupId: z.string().optional(),
|
|
81
91
|
id: z.string().optional(),
|
|
@@ -89,6 +99,8 @@ export const AccountingJournalLineitem$outboundSchema: z.ZodType<
|
|
|
89
99
|
accountId: "account_id",
|
|
90
100
|
categoryIds: "category_ids",
|
|
91
101
|
contactId: "contact_id",
|
|
102
|
+
creditAmount: "credit_amount",
|
|
103
|
+
debitAmount: "debit_amount",
|
|
92
104
|
groupId: "group_id",
|
|
93
105
|
invoiceId: "invoice_id",
|
|
94
106
|
paymentId: "payment_id",
|
|
@@ -19,6 +19,7 @@ export type CalendarAttendeeStatus = OpenEnum<typeof CalendarAttendeeStatus>;
|
|
|
19
19
|
|
|
20
20
|
export type CalendarAttendee = {
|
|
21
21
|
email?: string | undefined;
|
|
22
|
+
isCohost?: boolean | undefined;
|
|
22
23
|
name?: string | undefined;
|
|
23
24
|
required?: boolean | undefined;
|
|
24
25
|
status?: CalendarAttendeeStatus | undefined;
|
|
@@ -45,18 +46,21 @@ export const CalendarAttendee$inboundSchema: z.ZodType<
|
|
|
45
46
|
unknown
|
|
46
47
|
> = z.object({
|
|
47
48
|
email: z.string().optional(),
|
|
49
|
+
is_cohost: z.boolean().optional(),
|
|
48
50
|
name: z.string().optional(),
|
|
49
51
|
required: z.boolean().optional(),
|
|
50
52
|
status: CalendarAttendeeStatus$inboundSchema.optional(),
|
|
51
53
|
user_id: z.string().optional(),
|
|
52
54
|
}).transform((v) => {
|
|
53
55
|
return remap$(v, {
|
|
56
|
+
"is_cohost": "isCohost",
|
|
54
57
|
"user_id": "userId",
|
|
55
58
|
});
|
|
56
59
|
});
|
|
57
60
|
/** @internal */
|
|
58
61
|
export type CalendarAttendee$Outbound = {
|
|
59
62
|
email?: string | undefined;
|
|
63
|
+
is_cohost?: boolean | undefined;
|
|
60
64
|
name?: string | undefined;
|
|
61
65
|
required?: boolean | undefined;
|
|
62
66
|
status?: string | undefined;
|
|
@@ -70,12 +74,14 @@ export const CalendarAttendee$outboundSchema: z.ZodType<
|
|
|
70
74
|
CalendarAttendee
|
|
71
75
|
> = z.object({
|
|
72
76
|
email: z.string().optional(),
|
|
77
|
+
isCohost: z.boolean().optional(),
|
|
73
78
|
name: z.string().optional(),
|
|
74
79
|
required: z.boolean().optional(),
|
|
75
80
|
status: CalendarAttendeeStatus$outboundSchema.optional(),
|
|
76
81
|
userId: z.string().optional(),
|
|
77
82
|
}).transform((v) => {
|
|
78
83
|
return remap$(v, {
|
|
84
|
+
isCohost: "is_cohost",
|
|
79
85
|
userId: "user_id",
|
|
80
86
|
});
|
|
81
87
|
});
|
|
@@ -21,6 +21,7 @@ export type PropertyCalendarEventOrganizerStatus = OpenEnum<
|
|
|
21
21
|
|
|
22
22
|
export type PropertyCalendarEventOrganizer = {
|
|
23
23
|
email?: string | undefined;
|
|
24
|
+
isCohost?: boolean | undefined;
|
|
24
25
|
name?: string | undefined;
|
|
25
26
|
required?: boolean | undefined;
|
|
26
27
|
status?: PropertyCalendarEventOrganizerStatus | undefined;
|
|
@@ -47,18 +48,21 @@ export const PropertyCalendarEventOrganizer$inboundSchema: z.ZodType<
|
|
|
47
48
|
unknown
|
|
48
49
|
> = z.object({
|
|
49
50
|
email: z.string().optional(),
|
|
51
|
+
is_cohost: z.boolean().optional(),
|
|
50
52
|
name: z.string().optional(),
|
|
51
53
|
required: z.boolean().optional(),
|
|
52
54
|
status: PropertyCalendarEventOrganizerStatus$inboundSchema.optional(),
|
|
53
55
|
user_id: z.string().optional(),
|
|
54
56
|
}).transform((v) => {
|
|
55
57
|
return remap$(v, {
|
|
58
|
+
"is_cohost": "isCohost",
|
|
56
59
|
"user_id": "userId",
|
|
57
60
|
});
|
|
58
61
|
});
|
|
59
62
|
/** @internal */
|
|
60
63
|
export type PropertyCalendarEventOrganizer$Outbound = {
|
|
61
64
|
email?: string | undefined;
|
|
65
|
+
is_cohost?: boolean | undefined;
|
|
62
66
|
name?: string | undefined;
|
|
63
67
|
required?: boolean | undefined;
|
|
64
68
|
status?: string | undefined;
|
|
@@ -72,12 +76,14 @@ export const PropertyCalendarEventOrganizer$outboundSchema: z.ZodType<
|
|
|
72
76
|
PropertyCalendarEventOrganizer
|
|
73
77
|
> = z.object({
|
|
74
78
|
email: z.string().optional(),
|
|
79
|
+
isCohost: z.boolean().optional(),
|
|
75
80
|
name: z.string().optional(),
|
|
76
81
|
required: z.boolean().optional(),
|
|
77
82
|
status: PropertyCalendarEventOrganizerStatus$outboundSchema.optional(),
|
|
78
83
|
userId: z.string().optional(),
|
|
79
84
|
}).transform((v) => {
|
|
80
85
|
return remap$(v, {
|
|
86
|
+
isCohost: "is_cohost",
|
|
81
87
|
userId: "user_id",
|
|
82
88
|
});
|
|
83
89
|
});
|
|
@@ -21,6 +21,7 @@ export type PropertyCalendarRecordingTranscriptAttendeeStatus = OpenEnum<
|
|
|
21
21
|
|
|
22
22
|
export type PropertyCalendarRecordingTranscriptAttendee = {
|
|
23
23
|
email?: string | undefined;
|
|
24
|
+
isCohost?: boolean | undefined;
|
|
24
25
|
name?: string | undefined;
|
|
25
26
|
required?: boolean | undefined;
|
|
26
27
|
status?: PropertyCalendarRecordingTranscriptAttendeeStatus | undefined;
|
|
@@ -45,6 +46,7 @@ export const PropertyCalendarRecordingTranscriptAttendee$inboundSchema:
|
|
|
45
46
|
unknown
|
|
46
47
|
> = z.object({
|
|
47
48
|
email: z.string().optional(),
|
|
49
|
+
is_cohost: z.boolean().optional(),
|
|
48
50
|
name: z.string().optional(),
|
|
49
51
|
required: z.boolean().optional(),
|
|
50
52
|
status: PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema
|
|
@@ -52,6 +54,7 @@ export const PropertyCalendarRecordingTranscriptAttendee$inboundSchema:
|
|
|
52
54
|
user_id: z.string().optional(),
|
|
53
55
|
}).transform((v) => {
|
|
54
56
|
return remap$(v, {
|
|
57
|
+
"is_cohost": "isCohost",
|
|
55
58
|
"user_id": "userId",
|
|
56
59
|
});
|
|
57
60
|
});
|