@unified-api/typescript-sdk 2.42.0 → 2.48.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 (216) hide show
  1. package/README.md +2 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.d.ts.map +1 -1
  5. package/lib/config.js +6 -2
  6. package/lib/config.js.map +1 -1
  7. package/package.json +1 -1
  8. package/sdk/models/shared/accountingaccount.d.ts +6 -23
  9. package/sdk/models/shared/accountingaccount.d.ts.map +1 -1
  10. package/sdk/models/shared/accountingaccount.js +3 -28
  11. package/sdk/models/shared/accountingaccount.js.map +1 -1
  12. package/sdk/models/shared/accountingcontact.d.ts +6 -23
  13. package/sdk/models/shared/accountingcontact.d.ts.map +1 -1
  14. package/sdk/models/shared/accountingcontact.js +3 -26
  15. package/sdk/models/shared/accountingcontact.js.map +1 -1
  16. package/sdk/models/shared/accountinginvoice.d.ts +6 -23
  17. package/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
  18. package/sdk/models/shared/accountinginvoice.js +3 -26
  19. package/sdk/models/shared/accountinginvoice.js.map +1 -1
  20. package/sdk/models/shared/accountingjournal.d.ts +6 -23
  21. package/sdk/models/shared/accountingjournal.d.ts.map +1 -1
  22. package/sdk/models/shared/accountingjournal.js +3 -26
  23. package/sdk/models/shared/accountingjournal.js.map +1 -1
  24. package/sdk/models/shared/accountingorder.d.ts +6 -23
  25. package/sdk/models/shared/accountingorder.d.ts.map +1 -1
  26. package/sdk/models/shared/accountingorder.js +3 -26
  27. package/sdk/models/shared/accountingorder.js.map +1 -1
  28. package/sdk/models/shared/accountingorganization.d.ts +6 -23
  29. package/sdk/models/shared/accountingorganization.d.ts.map +1 -1
  30. package/sdk/models/shared/accountingorganization.js +3 -26
  31. package/sdk/models/shared/accountingorganization.js.map +1 -1
  32. package/sdk/models/shared/accountingreport.d.ts +6 -23
  33. package/sdk/models/shared/accountingreport.d.ts.map +1 -1
  34. package/sdk/models/shared/accountingreport.js +3 -26
  35. package/sdk/models/shared/accountingreport.js.map +1 -1
  36. package/sdk/models/shared/accountingtaxrate.d.ts +6 -23
  37. package/sdk/models/shared/accountingtaxrate.d.ts.map +1 -1
  38. package/sdk/models/shared/accountingtaxrate.js +3 -26
  39. package/sdk/models/shared/accountingtaxrate.js.map +1 -1
  40. package/sdk/models/shared/accountingtransaction.d.ts +6 -23
  41. package/sdk/models/shared/accountingtransaction.d.ts.map +1 -1
  42. package/sdk/models/shared/accountingtransaction.js +3 -26
  43. package/sdk/models/shared/accountingtransaction.js.map +1 -1
  44. package/sdk/models/shared/atsactivity.d.ts +6 -23
  45. package/sdk/models/shared/atsactivity.d.ts.map +1 -1
  46. package/sdk/models/shared/atsactivity.js +3 -26
  47. package/sdk/models/shared/atsactivity.js.map +1 -1
  48. package/sdk/models/shared/atsapplication.d.ts +6 -23
  49. package/sdk/models/shared/atsapplication.d.ts.map +1 -1
  50. package/sdk/models/shared/atsapplication.js +3 -26
  51. package/sdk/models/shared/atsapplication.js.map +1 -1
  52. package/sdk/models/shared/atscandidate.d.ts +6 -23
  53. package/sdk/models/shared/atscandidate.d.ts.map +1 -1
  54. package/sdk/models/shared/atscandidate.js +3 -26
  55. package/sdk/models/shared/atscandidate.js.map +1 -1
  56. package/sdk/models/shared/atscompany.d.ts +6 -23
  57. package/sdk/models/shared/atscompany.d.ts.map +1 -1
  58. package/sdk/models/shared/atscompany.js +3 -26
  59. package/sdk/models/shared/atscompany.js.map +1 -1
  60. package/sdk/models/shared/atsdocument.d.ts +6 -23
  61. package/sdk/models/shared/atsdocument.d.ts.map +1 -1
  62. package/sdk/models/shared/atsdocument.js +3 -26
  63. package/sdk/models/shared/atsdocument.js.map +1 -1
  64. package/sdk/models/shared/atsinterview.d.ts +6 -23
  65. package/sdk/models/shared/atsinterview.d.ts.map +1 -1
  66. package/sdk/models/shared/atsinterview.js +3 -26
  67. package/sdk/models/shared/atsinterview.js.map +1 -1
  68. package/sdk/models/shared/atsjob.d.ts +6 -23
  69. package/sdk/models/shared/atsjob.d.ts.map +1 -1
  70. package/sdk/models/shared/atsjob.js +3 -26
  71. package/sdk/models/shared/atsjob.js.map +1 -1
  72. package/sdk/models/shared/atsoffer.d.ts +6 -23
  73. package/sdk/models/shared/atsoffer.d.ts.map +1 -1
  74. package/sdk/models/shared/atsoffer.js +3 -26
  75. package/sdk/models/shared/atsoffer.js.map +1 -1
  76. package/sdk/models/shared/atsscorecard.d.ts +6 -23
  77. package/sdk/models/shared/atsscorecard.d.ts.map +1 -1
  78. package/sdk/models/shared/atsscorecard.js +3 -26
  79. package/sdk/models/shared/atsscorecard.js.map +1 -1
  80. package/sdk/models/shared/atsstatus.d.ts +6 -23
  81. package/sdk/models/shared/atsstatus.d.ts.map +1 -1
  82. package/sdk/models/shared/atsstatus.js +3 -26
  83. package/sdk/models/shared/atsstatus.js.map +1 -1
  84. package/sdk/models/shared/calendarbusy.d.ts +6 -23
  85. package/sdk/models/shared/calendarbusy.d.ts.map +1 -1
  86. package/sdk/models/shared/calendarbusy.js +3 -26
  87. package/sdk/models/shared/calendarbusy.js.map +1 -1
  88. package/sdk/models/shared/calendarcalendar.d.ts +6 -23
  89. package/sdk/models/shared/calendarcalendar.d.ts.map +1 -1
  90. package/sdk/models/shared/calendarcalendar.js +3 -26
  91. package/sdk/models/shared/calendarcalendar.js.map +1 -1
  92. package/sdk/models/shared/calendarevent.d.ts +6 -23
  93. package/sdk/models/shared/calendarevent.d.ts.map +1 -1
  94. package/sdk/models/shared/calendarevent.js +3 -26
  95. package/sdk/models/shared/calendarevent.js.map +1 -1
  96. package/sdk/models/shared/calendarlink.d.ts +6 -23
  97. package/sdk/models/shared/calendarlink.d.ts.map +1 -1
  98. package/sdk/models/shared/calendarlink.js +3 -26
  99. package/sdk/models/shared/calendarlink.js.map +1 -1
  100. package/sdk/models/shared/calendarrecording.d.ts +6 -23
  101. package/sdk/models/shared/calendarrecording.d.ts.map +1 -1
  102. package/sdk/models/shared/calendarrecording.js +3 -26
  103. package/sdk/models/shared/calendarrecording.js.map +1 -1
  104. package/sdk/models/shared/commercecollection.d.ts +6 -23
  105. package/sdk/models/shared/commercecollection.d.ts.map +1 -1
  106. package/sdk/models/shared/commercecollection.js +3 -26
  107. package/sdk/models/shared/commercecollection.js.map +1 -1
  108. package/sdk/models/shared/commerceinventory.d.ts +6 -23
  109. package/sdk/models/shared/commerceinventory.d.ts.map +1 -1
  110. package/sdk/models/shared/commerceinventory.js +3 -26
  111. package/sdk/models/shared/commerceinventory.js.map +1 -1
  112. package/sdk/models/shared/commerceitem.d.ts +6 -23
  113. package/sdk/models/shared/commerceitem.d.ts.map +1 -1
  114. package/sdk/models/shared/commerceitem.js +3 -26
  115. package/sdk/models/shared/commerceitem.js.map +1 -1
  116. package/sdk/models/shared/commercelocation.d.ts +6 -23
  117. package/sdk/models/shared/commercelocation.d.ts.map +1 -1
  118. package/sdk/models/shared/commercelocation.js +3 -26
  119. package/sdk/models/shared/commercelocation.js.map +1 -1
  120. package/sdk/models/shared/crmcompany.d.ts +6 -23
  121. package/sdk/models/shared/crmcompany.d.ts.map +1 -1
  122. package/sdk/models/shared/crmcompany.js +3 -26
  123. package/sdk/models/shared/crmcompany.js.map +1 -1
  124. package/sdk/models/shared/crmcontact.d.ts +6 -23
  125. package/sdk/models/shared/crmcontact.d.ts.map +1 -1
  126. package/sdk/models/shared/crmcontact.js +3 -26
  127. package/sdk/models/shared/crmcontact.js.map +1 -1
  128. package/sdk/models/shared/crmdeal.d.ts +6 -23
  129. package/sdk/models/shared/crmdeal.d.ts.map +1 -1
  130. package/sdk/models/shared/crmdeal.js +3 -26
  131. package/sdk/models/shared/crmdeal.js.map +1 -1
  132. package/sdk/models/shared/crmevent.d.ts +6 -23
  133. package/sdk/models/shared/crmevent.d.ts.map +1 -1
  134. package/sdk/models/shared/crmevent.js +3 -26
  135. package/sdk/models/shared/crmevent.js.map +1 -1
  136. package/sdk/models/shared/crmlead.d.ts +6 -23
  137. package/sdk/models/shared/crmlead.d.ts.map +1 -1
  138. package/sdk/models/shared/crmlead.js +3 -26
  139. package/sdk/models/shared/crmlead.js.map +1 -1
  140. package/sdk/models/shared/crmpipeline.d.ts +6 -23
  141. package/sdk/models/shared/crmpipeline.d.ts.map +1 -1
  142. package/sdk/models/shared/crmpipeline.js +3 -26
  143. package/sdk/models/shared/crmpipeline.js.map +1 -1
  144. package/sdk/models/shared/hriscompany.d.ts +6 -23
  145. package/sdk/models/shared/hriscompany.d.ts.map +1 -1
  146. package/sdk/models/shared/hriscompany.js +3 -26
  147. package/sdk/models/shared/hriscompany.js.map +1 -1
  148. package/sdk/models/shared/hrisemployee.d.ts +6 -23
  149. package/sdk/models/shared/hrisemployee.d.ts.map +1 -1
  150. package/sdk/models/shared/hrisemployee.js +3 -26
  151. package/sdk/models/shared/hrisemployee.js.map +1 -1
  152. package/sdk/models/shared/hrisgroup.d.ts +6 -23
  153. package/sdk/models/shared/hrisgroup.d.ts.map +1 -1
  154. package/sdk/models/shared/hrisgroup.js +3 -26
  155. package/sdk/models/shared/hrisgroup.js.map +1 -1
  156. package/sdk/models/shared/hrislocation.d.ts +6 -23
  157. package/sdk/models/shared/hrislocation.d.ts.map +1 -1
  158. package/sdk/models/shared/hrislocation.js +3 -26
  159. package/sdk/models/shared/hrislocation.js.map +1 -1
  160. package/sdk/models/shared/hrispayslip.d.ts +6 -23
  161. package/sdk/models/shared/hrispayslip.d.ts.map +1 -1
  162. package/sdk/models/shared/hrispayslip.js +3 -26
  163. package/sdk/models/shared/hrispayslip.js.map +1 -1
  164. package/sdk/models/shared/hristimeoff.d.ts +6 -23
  165. package/sdk/models/shared/hristimeoff.d.ts.map +1 -1
  166. package/sdk/models/shared/hristimeoff.js +3 -26
  167. package/sdk/models/shared/hristimeoff.js.map +1 -1
  168. package/sdk/models/shared/kmscomment.d.ts +3 -3
  169. package/sdk/models/shared/kmscomment.js +1 -1
  170. package/sdk/models/shared/metadatametadata.d.ts +6 -23
  171. package/sdk/models/shared/metadatametadata.d.ts.map +1 -1
  172. package/sdk/models/shared/metadatametadata.js +3 -26
  173. package/sdk/models/shared/metadatametadata.js.map +1 -1
  174. package/src/lib/config.ts +6 -2
  175. package/src/sdk/models/shared/accountingaccount.ts +4 -44
  176. package/src/sdk/models/shared/accountingcontact.ts +4 -54
  177. package/src/sdk/models/shared/accountinginvoice.ts +4 -54
  178. package/src/sdk/models/shared/accountingjournal.ts +4 -54
  179. package/src/sdk/models/shared/accountingorder.ts +4 -54
  180. package/src/sdk/models/shared/accountingorganization.ts +4 -54
  181. package/src/sdk/models/shared/accountingreport.ts +4 -54
  182. package/src/sdk/models/shared/accountingtaxrate.ts +4 -54
  183. package/src/sdk/models/shared/accountingtransaction.ts +4 -54
  184. package/src/sdk/models/shared/atsactivity.ts +4 -50
  185. package/src/sdk/models/shared/atsapplication.ts +4 -54
  186. package/src/sdk/models/shared/atscandidate.ts +4 -52
  187. package/src/sdk/models/shared/atscompany.ts +4 -50
  188. package/src/sdk/models/shared/atsdocument.ts +4 -50
  189. package/src/sdk/models/shared/atsinterview.ts +4 -52
  190. package/src/sdk/models/shared/atsjob.ts +4 -50
  191. package/src/sdk/models/shared/atsoffer.ts +4 -50
  192. package/src/sdk/models/shared/atsscorecard.ts +4 -52
  193. package/src/sdk/models/shared/atsstatus.ts +4 -50
  194. package/src/sdk/models/shared/calendarbusy.ts +4 -52
  195. package/src/sdk/models/shared/calendarcalendar.ts +4 -54
  196. package/src/sdk/models/shared/calendarevent.ts +4 -54
  197. package/src/sdk/models/shared/calendarlink.ts +4 -52
  198. package/src/sdk/models/shared/calendarrecording.ts +4 -54
  199. package/src/sdk/models/shared/commercecollection.ts +4 -54
  200. package/src/sdk/models/shared/commerceinventory.ts +4 -54
  201. package/src/sdk/models/shared/commerceitem.ts +4 -52
  202. package/src/sdk/models/shared/commercelocation.ts +4 -54
  203. package/src/sdk/models/shared/crmcompany.ts +4 -50
  204. package/src/sdk/models/shared/crmcontact.ts +4 -50
  205. package/src/sdk/models/shared/crmdeal.ts +4 -50
  206. package/src/sdk/models/shared/crmevent.ts +4 -50
  207. package/src/sdk/models/shared/crmlead.ts +4 -50
  208. package/src/sdk/models/shared/crmpipeline.ts +4 -50
  209. package/src/sdk/models/shared/hriscompany.ts +4 -50
  210. package/src/sdk/models/shared/hrisemployee.ts +4 -52
  211. package/src/sdk/models/shared/hrisgroup.ts +4 -50
  212. package/src/sdk/models/shared/hrislocation.ts +4 -52
  213. package/src/sdk/models/shared/hrispayslip.ts +4 -50
  214. package/src/sdk/models/shared/hristimeoff.ts +4 -50
  215. package/src/sdk/models/shared/kmscomment.ts +1 -1
  216. package/src/sdk/models/shared/metadatametadata.ts +4 -54
@@ -57,8 +57,6 @@ import {
57
57
  PropertyCrmEventTask$outboundSchema,
58
58
  } from "./propertycrmeventtask.js";
59
59
 
60
- export type CrmEventRaw = {};
61
-
62
60
  export const CrmEventType = {
63
61
  Note: "NOTE",
64
62
  Email: "EMAIL",
@@ -109,7 +107,7 @@ export type CrmEvent = {
109
107
  */
110
108
  note?: PropertyCrmEventNote | undefined;
111
109
  pageView?: PropertyCrmEventPageView | undefined;
112
- raw?: CrmEventRaw | undefined;
110
+ raw?: { [k: string]: any } | undefined;
113
111
  /**
114
112
  * The task object, when type = task
115
113
  */
@@ -119,50 +117,6 @@ export type CrmEvent = {
119
117
  userId?: string | undefined;
120
118
  };
121
119
 
122
- /** @internal */
123
- export const CrmEventRaw$inboundSchema: z.ZodType<
124
- CrmEventRaw,
125
- z.ZodTypeDef,
126
- unknown
127
- > = z.object({});
128
-
129
- /** @internal */
130
- export type CrmEventRaw$Outbound = {};
131
-
132
- /** @internal */
133
- export const CrmEventRaw$outboundSchema: z.ZodType<
134
- CrmEventRaw$Outbound,
135
- z.ZodTypeDef,
136
- CrmEventRaw
137
- > = z.object({});
138
-
139
- /**
140
- * @internal
141
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
142
- */
143
- export namespace CrmEventRaw$ {
144
- /** @deprecated use `CrmEventRaw$inboundSchema` instead. */
145
- export const inboundSchema = CrmEventRaw$inboundSchema;
146
- /** @deprecated use `CrmEventRaw$outboundSchema` instead. */
147
- export const outboundSchema = CrmEventRaw$outboundSchema;
148
- /** @deprecated use `CrmEventRaw$Outbound` instead. */
149
- export type Outbound = CrmEventRaw$Outbound;
150
- }
151
-
152
- export function crmEventRawToJSON(crmEventRaw: CrmEventRaw): string {
153
- return JSON.stringify(CrmEventRaw$outboundSchema.parse(crmEventRaw));
154
- }
155
-
156
- export function crmEventRawFromJSON(
157
- jsonString: string,
158
- ): SafeParseResult<CrmEventRaw, SDKValidationError> {
159
- return safeParse(
160
- jsonString,
161
- (x) => CrmEventRaw$inboundSchema.parse(JSON.parse(x)),
162
- `Failed to parse 'CrmEventRaw' from JSON`,
163
- );
164
- }
165
-
166
120
  /** @internal */
167
121
  export const CrmEventType$inboundSchema: z.ZodNativeEnum<typeof CrmEventType> =
168
122
  z.nativeEnum(CrmEventType);
@@ -202,7 +156,7 @@ export const CrmEvent$inboundSchema: z.ZodType<
202
156
  meeting: PropertyCrmEventMeeting$inboundSchema.optional(),
203
157
  note: PropertyCrmEventNote$inboundSchema.optional(),
204
158
  page_view: PropertyCrmEventPageView$inboundSchema.optional(),
205
- raw: z.lazy(() => CrmEventRaw$inboundSchema).optional(),
159
+ raw: z.record(z.any()).optional(),
206
160
  task: PropertyCrmEventTask$inboundSchema.optional(),
207
161
  type: CrmEventType$inboundSchema.optional(),
208
162
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
@@ -237,7 +191,7 @@ export type CrmEvent$Outbound = {
237
191
  meeting?: PropertyCrmEventMeeting$Outbound | undefined;
238
192
  note?: PropertyCrmEventNote$Outbound | undefined;
239
193
  page_view?: PropertyCrmEventPageView$Outbound | undefined;
240
- raw?: CrmEventRaw$Outbound | undefined;
194
+ raw?: { [k: string]: any } | undefined;
241
195
  task?: PropertyCrmEventTask$Outbound | undefined;
242
196
  type?: string | undefined;
243
197
  updated_at?: string | undefined;
@@ -263,7 +217,7 @@ export const CrmEvent$outboundSchema: z.ZodType<
263
217
  meeting: PropertyCrmEventMeeting$outboundSchema.optional(),
264
218
  note: PropertyCrmEventNote$outboundSchema.optional(),
265
219
  pageView: PropertyCrmEventPageView$outboundSchema.optional(),
266
- raw: z.lazy(() => CrmEventRaw$outboundSchema).optional(),
220
+ raw: z.record(z.any()).optional(),
267
221
  task: PropertyCrmEventTask$outboundSchema.optional(),
268
222
  type: CrmEventType$outboundSchema.optional(),
269
223
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
@@ -32,8 +32,6 @@ import {
32
32
  PropertyCrmLeadAddress$outboundSchema,
33
33
  } from "./propertycrmleadaddress.js";
34
34
 
35
- export type CrmLeadRaw = {};
36
-
37
35
  export type CrmLead = {
38
36
  address?: PropertyCrmLeadAddress | undefined;
39
37
  companyId?: string | undefined;
@@ -47,7 +45,7 @@ export type CrmLead = {
47
45
  linkUrls?: Array<string> | undefined;
48
46
  metadata?: Array<CrmMetadata> | undefined;
49
47
  name?: string | undefined;
50
- raw?: CrmLeadRaw | undefined;
48
+ raw?: { [k: string]: any } | undefined;
51
49
  source?: string | undefined;
52
50
  status?: string | undefined;
53
51
  telephones?: Array<CrmTelephone> | undefined;
@@ -55,50 +53,6 @@ export type CrmLead = {
55
53
  userId?: string | undefined;
56
54
  };
57
55
 
58
- /** @internal */
59
- export const CrmLeadRaw$inboundSchema: z.ZodType<
60
- CrmLeadRaw,
61
- z.ZodTypeDef,
62
- unknown
63
- > = z.object({});
64
-
65
- /** @internal */
66
- export type CrmLeadRaw$Outbound = {};
67
-
68
- /** @internal */
69
- export const CrmLeadRaw$outboundSchema: z.ZodType<
70
- CrmLeadRaw$Outbound,
71
- z.ZodTypeDef,
72
- CrmLeadRaw
73
- > = z.object({});
74
-
75
- /**
76
- * @internal
77
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
78
- */
79
- export namespace CrmLeadRaw$ {
80
- /** @deprecated use `CrmLeadRaw$inboundSchema` instead. */
81
- export const inboundSchema = CrmLeadRaw$inboundSchema;
82
- /** @deprecated use `CrmLeadRaw$outboundSchema` instead. */
83
- export const outboundSchema = CrmLeadRaw$outboundSchema;
84
- /** @deprecated use `CrmLeadRaw$Outbound` instead. */
85
- export type Outbound = CrmLeadRaw$Outbound;
86
- }
87
-
88
- export function crmLeadRawToJSON(crmLeadRaw: CrmLeadRaw): string {
89
- return JSON.stringify(CrmLeadRaw$outboundSchema.parse(crmLeadRaw));
90
- }
91
-
92
- export function crmLeadRawFromJSON(
93
- jsonString: string,
94
- ): SafeParseResult<CrmLeadRaw, SDKValidationError> {
95
- return safeParse(
96
- jsonString,
97
- (x) => CrmLeadRaw$inboundSchema.parse(JSON.parse(x)),
98
- `Failed to parse 'CrmLeadRaw' from JSON`,
99
- );
100
- }
101
-
102
56
  /** @internal */
103
57
  export const CrmLead$inboundSchema: z.ZodType<CrmLead, z.ZodTypeDef, unknown> =
104
58
  z.object({
@@ -116,7 +70,7 @@ export const CrmLead$inboundSchema: z.ZodType<CrmLead, z.ZodTypeDef, unknown> =
116
70
  link_urls: z.array(z.string()).optional(),
117
71
  metadata: z.array(CrmMetadata$inboundSchema).optional(),
118
72
  name: z.string().optional(),
119
- raw: z.lazy(() => CrmLeadRaw$inboundSchema).optional(),
73
+ raw: z.record(z.any()).optional(),
120
74
  source: z.string().optional(),
121
75
  status: z.string().optional(),
122
76
  telephones: z.array(CrmTelephone$inboundSchema).optional(),
@@ -152,7 +106,7 @@ export type CrmLead$Outbound = {
152
106
  link_urls?: Array<string> | undefined;
153
107
  metadata?: Array<CrmMetadata$Outbound> | undefined;
154
108
  name?: string | undefined;
155
- raw?: CrmLeadRaw$Outbound | undefined;
109
+ raw?: { [k: string]: any } | undefined;
156
110
  source?: string | undefined;
157
111
  status?: string | undefined;
158
112
  telephones?: Array<CrmTelephone$Outbound> | undefined;
@@ -178,7 +132,7 @@ export const CrmLead$outboundSchema: z.ZodType<
178
132
  linkUrls: z.array(z.string()).optional(),
179
133
  metadata: z.array(CrmMetadata$outboundSchema).optional(),
180
134
  name: z.string().optional(),
181
- raw: z.lazy(() => CrmLeadRaw$outboundSchema).optional(),
135
+ raw: z.record(z.any()).optional(),
182
136
  source: z.string().optional(),
183
137
  status: z.string().optional(),
184
138
  telephones: z.array(CrmTelephone$outboundSchema).optional(),
@@ -14,8 +14,6 @@ import {
14
14
  CrmStage$outboundSchema,
15
15
  } from "./crmstage.js";
16
16
 
17
- export type CrmPipelineRaw = {};
18
-
19
17
  export type CrmPipeline = {
20
18
  createdAt?: Date | undefined;
21
19
  dealProbability?: number | undefined;
@@ -23,55 +21,11 @@ export type CrmPipeline = {
23
21
  id?: string | undefined;
24
22
  isActive?: boolean | undefined;
25
23
  name?: string | undefined;
26
- raw?: CrmPipelineRaw | undefined;
24
+ raw?: { [k: string]: any } | undefined;
27
25
  stages?: Array<CrmStage> | undefined;
28
26
  updatedAt?: Date | undefined;
29
27
  };
30
28
 
31
- /** @internal */
32
- export const CrmPipelineRaw$inboundSchema: z.ZodType<
33
- CrmPipelineRaw,
34
- z.ZodTypeDef,
35
- unknown
36
- > = z.object({});
37
-
38
- /** @internal */
39
- export type CrmPipelineRaw$Outbound = {};
40
-
41
- /** @internal */
42
- export const CrmPipelineRaw$outboundSchema: z.ZodType<
43
- CrmPipelineRaw$Outbound,
44
- z.ZodTypeDef,
45
- CrmPipelineRaw
46
- > = z.object({});
47
-
48
- /**
49
- * @internal
50
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
- */
52
- export namespace CrmPipelineRaw$ {
53
- /** @deprecated use `CrmPipelineRaw$inboundSchema` instead. */
54
- export const inboundSchema = CrmPipelineRaw$inboundSchema;
55
- /** @deprecated use `CrmPipelineRaw$outboundSchema` instead. */
56
- export const outboundSchema = CrmPipelineRaw$outboundSchema;
57
- /** @deprecated use `CrmPipelineRaw$Outbound` instead. */
58
- export type Outbound = CrmPipelineRaw$Outbound;
59
- }
60
-
61
- export function crmPipelineRawToJSON(crmPipelineRaw: CrmPipelineRaw): string {
62
- return JSON.stringify(CrmPipelineRaw$outboundSchema.parse(crmPipelineRaw));
63
- }
64
-
65
- export function crmPipelineRawFromJSON(
66
- jsonString: string,
67
- ): SafeParseResult<CrmPipelineRaw, SDKValidationError> {
68
- return safeParse(
69
- jsonString,
70
- (x) => CrmPipelineRaw$inboundSchema.parse(JSON.parse(x)),
71
- `Failed to parse 'CrmPipelineRaw' from JSON`,
72
- );
73
- }
74
-
75
29
  /** @internal */
76
30
  export const CrmPipeline$inboundSchema: z.ZodType<
77
31
  CrmPipeline,
@@ -85,7 +39,7 @@ export const CrmPipeline$inboundSchema: z.ZodType<
85
39
  id: z.string().optional(),
86
40
  is_active: z.boolean().optional(),
87
41
  name: z.string().optional(),
88
- raw: z.lazy(() => CrmPipelineRaw$inboundSchema).optional(),
42
+ raw: z.record(z.any()).optional(),
89
43
  stages: z.array(CrmStage$inboundSchema).optional(),
90
44
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
91
45
  .optional(),
@@ -107,7 +61,7 @@ export type CrmPipeline$Outbound = {
107
61
  id?: string | undefined;
108
62
  is_active?: boolean | undefined;
109
63
  name?: string | undefined;
110
- raw?: CrmPipelineRaw$Outbound | undefined;
64
+ raw?: { [k: string]: any } | undefined;
111
65
  stages?: Array<CrmStage$Outbound> | undefined;
112
66
  updated_at?: string | undefined;
113
67
  };
@@ -124,7 +78,7 @@ export const CrmPipeline$outboundSchema: z.ZodType<
124
78
  id: z.string().optional(),
125
79
  isActive: z.boolean().optional(),
126
80
  name: z.string().optional(),
127
- raw: z.lazy(() => CrmPipelineRaw$outboundSchema).optional(),
81
+ raw: z.record(z.any()).optional(),
128
82
  stages: z.array(CrmStage$outboundSchema).optional(),
129
83
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
130
84
  }).transform((v) => {
@@ -14,62 +14,16 @@ import {
14
14
  PropertyHrisCompanyAddress$outboundSchema,
15
15
  } from "./propertyhriscompanyaddress.js";
16
16
 
17
- export type HrisCompanyRaw = {};
18
-
19
17
  export type HrisCompany = {
20
18
  address?: PropertyHrisCompanyAddress | undefined;
21
19
  createdAt?: Date | undefined;
22
20
  id?: string | undefined;
23
21
  legalName?: string | undefined;
24
22
  name?: string | undefined;
25
- raw?: HrisCompanyRaw | undefined;
23
+ raw?: { [k: string]: any } | undefined;
26
24
  updatedAt?: Date | undefined;
27
25
  };
28
26
 
29
- /** @internal */
30
- export const HrisCompanyRaw$inboundSchema: z.ZodType<
31
- HrisCompanyRaw,
32
- z.ZodTypeDef,
33
- unknown
34
- > = z.object({});
35
-
36
- /** @internal */
37
- export type HrisCompanyRaw$Outbound = {};
38
-
39
- /** @internal */
40
- export const HrisCompanyRaw$outboundSchema: z.ZodType<
41
- HrisCompanyRaw$Outbound,
42
- z.ZodTypeDef,
43
- HrisCompanyRaw
44
- > = z.object({});
45
-
46
- /**
47
- * @internal
48
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
- */
50
- export namespace HrisCompanyRaw$ {
51
- /** @deprecated use `HrisCompanyRaw$inboundSchema` instead. */
52
- export const inboundSchema = HrisCompanyRaw$inboundSchema;
53
- /** @deprecated use `HrisCompanyRaw$outboundSchema` instead. */
54
- export const outboundSchema = HrisCompanyRaw$outboundSchema;
55
- /** @deprecated use `HrisCompanyRaw$Outbound` instead. */
56
- export type Outbound = HrisCompanyRaw$Outbound;
57
- }
58
-
59
- export function hrisCompanyRawToJSON(hrisCompanyRaw: HrisCompanyRaw): string {
60
- return JSON.stringify(HrisCompanyRaw$outboundSchema.parse(hrisCompanyRaw));
61
- }
62
-
63
- export function hrisCompanyRawFromJSON(
64
- jsonString: string,
65
- ): SafeParseResult<HrisCompanyRaw, SDKValidationError> {
66
- return safeParse(
67
- jsonString,
68
- (x) => HrisCompanyRaw$inboundSchema.parse(JSON.parse(x)),
69
- `Failed to parse 'HrisCompanyRaw' from JSON`,
70
- );
71
- }
72
-
73
27
  /** @internal */
74
28
  export const HrisCompany$inboundSchema: z.ZodType<
75
29
  HrisCompany,
@@ -82,7 +36,7 @@ export const HrisCompany$inboundSchema: z.ZodType<
82
36
  id: z.string().optional(),
83
37
  legal_name: z.string().optional(),
84
38
  name: z.string().optional(),
85
- raw: z.lazy(() => HrisCompanyRaw$inboundSchema).optional(),
39
+ raw: z.record(z.any()).optional(),
86
40
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
87
41
  .optional(),
88
42
  }).transform((v) => {
@@ -100,7 +54,7 @@ export type HrisCompany$Outbound = {
100
54
  id?: string | undefined;
101
55
  legal_name?: string | undefined;
102
56
  name?: string | undefined;
103
- raw?: HrisCompanyRaw$Outbound | undefined;
57
+ raw?: { [k: string]: any } | undefined;
104
58
  updated_at?: string | undefined;
105
59
  };
106
60
 
@@ -115,7 +69,7 @@ export const HrisCompany$outboundSchema: z.ZodType<
115
69
  id: z.string().optional(),
116
70
  legalName: z.string().optional(),
117
71
  name: z.string().optional(),
118
- raw: z.lazy(() => HrisCompanyRaw$outboundSchema).optional(),
72
+ raw: z.record(z.any()).optional(),
119
73
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
120
74
  }).transform((v) => {
121
75
  return remap$(v, {
@@ -93,8 +93,6 @@ export const MaritalStatus = {
93
93
  } as const;
94
94
  export type MaritalStatus = ClosedEnum<typeof MaritalStatus>;
95
95
 
96
- export type HrisEmployeeRaw = {};
97
-
98
96
  export type HrisEmployee = {
99
97
  address?: PropertyHrisEmployeeAddress | undefined;
100
98
  bio?: string | undefined;
@@ -126,7 +124,7 @@ export type HrisEmployee = {
126
124
  metadata?: Array<HrisMetadata> | undefined;
127
125
  name?: string | undefined;
128
126
  pronouns?: string | undefined;
129
- raw?: HrisEmployeeRaw | undefined;
127
+ raw?: { [k: string]: any } | undefined;
130
128
  salutation?: string | undefined;
131
129
  ssnSin?: string | undefined;
132
130
  storageQuotaAllocated?: number | undefined;
@@ -223,52 +221,6 @@ export namespace MaritalStatus$ {
223
221
  export const outboundSchema = MaritalStatus$outboundSchema;
224
222
  }
225
223
 
226
- /** @internal */
227
- export const HrisEmployeeRaw$inboundSchema: z.ZodType<
228
- HrisEmployeeRaw,
229
- z.ZodTypeDef,
230
- unknown
231
- > = z.object({});
232
-
233
- /** @internal */
234
- export type HrisEmployeeRaw$Outbound = {};
235
-
236
- /** @internal */
237
- export const HrisEmployeeRaw$outboundSchema: z.ZodType<
238
- HrisEmployeeRaw$Outbound,
239
- z.ZodTypeDef,
240
- HrisEmployeeRaw
241
- > = z.object({});
242
-
243
- /**
244
- * @internal
245
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
246
- */
247
- export namespace HrisEmployeeRaw$ {
248
- /** @deprecated use `HrisEmployeeRaw$inboundSchema` instead. */
249
- export const inboundSchema = HrisEmployeeRaw$inboundSchema;
250
- /** @deprecated use `HrisEmployeeRaw$outboundSchema` instead. */
251
- export const outboundSchema = HrisEmployeeRaw$outboundSchema;
252
- /** @deprecated use `HrisEmployeeRaw$Outbound` instead. */
253
- export type Outbound = HrisEmployeeRaw$Outbound;
254
- }
255
-
256
- export function hrisEmployeeRawToJSON(
257
- hrisEmployeeRaw: HrisEmployeeRaw,
258
- ): string {
259
- return JSON.stringify(HrisEmployeeRaw$outboundSchema.parse(hrisEmployeeRaw));
260
- }
261
-
262
- export function hrisEmployeeRawFromJSON(
263
- jsonString: string,
264
- ): SafeParseResult<HrisEmployeeRaw, SDKValidationError> {
265
- return safeParse(
266
- jsonString,
267
- (x) => HrisEmployeeRaw$inboundSchema.parse(JSON.parse(x)),
268
- `Failed to parse 'HrisEmployeeRaw' from JSON`,
269
- );
270
- }
271
-
272
224
  /** @internal */
273
225
  export const HrisEmployee$inboundSchema: z.ZodType<
274
226
  HrisEmployee,
@@ -307,7 +259,7 @@ export const HrisEmployee$inboundSchema: z.ZodType<
307
259
  metadata: z.array(HrisMetadata$inboundSchema).optional(),
308
260
  name: z.string().optional(),
309
261
  pronouns: z.string().optional(),
310
- raw: z.lazy(() => HrisEmployeeRaw$inboundSchema).optional(),
262
+ raw: z.record(z.any()).optional(),
311
263
  salutation: z.string().optional(),
312
264
  ssn_sin: z.string().optional(),
313
265
  storage_quota_allocated: z.number().optional(),
@@ -373,7 +325,7 @@ export type HrisEmployee$Outbound = {
373
325
  metadata?: Array<HrisMetadata$Outbound> | undefined;
374
326
  name?: string | undefined;
375
327
  pronouns?: string | undefined;
376
- raw?: HrisEmployeeRaw$Outbound | undefined;
328
+ raw?: { [k: string]: any } | undefined;
377
329
  salutation?: string | undefined;
378
330
  ssn_sin?: string | undefined;
379
331
  storage_quota_allocated?: number | undefined;
@@ -420,7 +372,7 @@ export const HrisEmployee$outboundSchema: z.ZodType<
420
372
  metadata: z.array(HrisMetadata$outboundSchema).optional(),
421
373
  name: z.string().optional(),
422
374
  pronouns: z.string().optional(),
423
- raw: z.lazy(() => HrisEmployeeRaw$outboundSchema).optional(),
375
+ raw: z.record(z.any()).optional(),
424
376
  salutation: z.string().optional(),
425
377
  ssnSin: z.string().optional(),
426
378
  storageQuotaAllocated: z.number().optional(),
@@ -9,8 +9,6 @@ import { ClosedEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export type HrisGroupRaw = {};
13
-
14
12
  export const HrisGroupType = {
15
13
  Team: "TEAM",
16
14
  Group: "GROUP",
@@ -31,56 +29,12 @@ export type HrisGroup = {
31
29
  managerIds?: Array<string> | undefined;
32
30
  name?: string | undefined;
33
31
  parentId?: string | undefined;
34
- raw?: HrisGroupRaw | undefined;
32
+ raw?: { [k: string]: any } | undefined;
35
33
  type?: HrisGroupType | undefined;
36
34
  updatedAt?: Date | undefined;
37
35
  userIds?: Array<string> | undefined;
38
36
  };
39
37
 
40
- /** @internal */
41
- export const HrisGroupRaw$inboundSchema: z.ZodType<
42
- HrisGroupRaw,
43
- z.ZodTypeDef,
44
- unknown
45
- > = z.object({});
46
-
47
- /** @internal */
48
- export type HrisGroupRaw$Outbound = {};
49
-
50
- /** @internal */
51
- export const HrisGroupRaw$outboundSchema: z.ZodType<
52
- HrisGroupRaw$Outbound,
53
- z.ZodTypeDef,
54
- HrisGroupRaw
55
- > = z.object({});
56
-
57
- /**
58
- * @internal
59
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
- */
61
- export namespace HrisGroupRaw$ {
62
- /** @deprecated use `HrisGroupRaw$inboundSchema` instead. */
63
- export const inboundSchema = HrisGroupRaw$inboundSchema;
64
- /** @deprecated use `HrisGroupRaw$outboundSchema` instead. */
65
- export const outboundSchema = HrisGroupRaw$outboundSchema;
66
- /** @deprecated use `HrisGroupRaw$Outbound` instead. */
67
- export type Outbound = HrisGroupRaw$Outbound;
68
- }
69
-
70
- export function hrisGroupRawToJSON(hrisGroupRaw: HrisGroupRaw): string {
71
- return JSON.stringify(HrisGroupRaw$outboundSchema.parse(hrisGroupRaw));
72
- }
73
-
74
- export function hrisGroupRawFromJSON(
75
- jsonString: string,
76
- ): SafeParseResult<HrisGroupRaw, SDKValidationError> {
77
- return safeParse(
78
- jsonString,
79
- (x) => HrisGroupRaw$inboundSchema.parse(JSON.parse(x)),
80
- `Failed to parse 'HrisGroupRaw' from JSON`,
81
- );
82
- }
83
-
84
38
  /** @internal */
85
39
  export const HrisGroupType$inboundSchema: z.ZodNativeEnum<
86
40
  typeof HrisGroupType
@@ -117,7 +71,7 @@ export const HrisGroup$inboundSchema: z.ZodType<
117
71
  manager_ids: z.array(z.string()).optional(),
118
72
  name: z.string().optional(),
119
73
  parent_id: z.string().optional(),
120
- raw: z.lazy(() => HrisGroupRaw$inboundSchema).optional(),
74
+ raw: z.record(z.any()).optional(),
121
75
  type: HrisGroupType$inboundSchema.optional(),
122
76
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
123
77
  .optional(),
@@ -144,7 +98,7 @@ export type HrisGroup$Outbound = {
144
98
  manager_ids?: Array<string> | undefined;
145
99
  name?: string | undefined;
146
100
  parent_id?: string | undefined;
147
- raw?: HrisGroupRaw$Outbound | undefined;
101
+ raw?: { [k: string]: any } | undefined;
148
102
  type?: string | undefined;
149
103
  updated_at?: string | undefined;
150
104
  user_ids?: Array<string> | undefined;
@@ -164,7 +118,7 @@ export const HrisGroup$outboundSchema: z.ZodType<
164
118
  managerIds: z.array(z.string()).optional(),
165
119
  name: z.string().optional(),
166
120
  parentId: z.string().optional(),
167
- raw: z.lazy(() => HrisGroupRaw$outboundSchema).optional(),
121
+ raw: z.record(z.any()).optional(),
168
122
  type: HrisGroupType$outboundSchema.optional(),
169
123
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
170
124
  userIds: z.array(z.string()).optional(),
@@ -20,8 +20,6 @@ import {
20
20
  PropertyHrisLocationAddress$outboundSchema,
21
21
  } from "./propertyhrislocationaddress.js";
22
22
 
23
- export type HrisLocationRaw = {};
24
-
25
23
  export type HrisLocation = {
26
24
  address?: PropertyHrisLocationAddress | undefined;
27
25
  createdAt?: Date | undefined;
@@ -34,58 +32,12 @@ export type HrisLocation = {
34
32
  languageLocale?: string | undefined;
35
33
  name?: string | undefined;
36
34
  parentId?: string | undefined;
37
- raw?: HrisLocationRaw | undefined;
35
+ raw?: { [k: string]: any } | undefined;
38
36
  telephones?: Array<HrisTelephone> | undefined;
39
37
  timezone?: string | undefined;
40
38
  updatedAt?: Date | undefined;
41
39
  };
42
40
 
43
- /** @internal */
44
- export const HrisLocationRaw$inboundSchema: z.ZodType<
45
- HrisLocationRaw,
46
- z.ZodTypeDef,
47
- unknown
48
- > = z.object({});
49
-
50
- /** @internal */
51
- export type HrisLocationRaw$Outbound = {};
52
-
53
- /** @internal */
54
- export const HrisLocationRaw$outboundSchema: z.ZodType<
55
- HrisLocationRaw$Outbound,
56
- z.ZodTypeDef,
57
- HrisLocationRaw
58
- > = z.object({});
59
-
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace HrisLocationRaw$ {
65
- /** @deprecated use `HrisLocationRaw$inboundSchema` instead. */
66
- export const inboundSchema = HrisLocationRaw$inboundSchema;
67
- /** @deprecated use `HrisLocationRaw$outboundSchema` instead. */
68
- export const outboundSchema = HrisLocationRaw$outboundSchema;
69
- /** @deprecated use `HrisLocationRaw$Outbound` instead. */
70
- export type Outbound = HrisLocationRaw$Outbound;
71
- }
72
-
73
- export function hrisLocationRawToJSON(
74
- hrisLocationRaw: HrisLocationRaw,
75
- ): string {
76
- return JSON.stringify(HrisLocationRaw$outboundSchema.parse(hrisLocationRaw));
77
- }
78
-
79
- export function hrisLocationRawFromJSON(
80
- jsonString: string,
81
- ): SafeParseResult<HrisLocationRaw, SDKValidationError> {
82
- return safeParse(
83
- jsonString,
84
- (x) => HrisLocationRaw$inboundSchema.parse(JSON.parse(x)),
85
- `Failed to parse 'HrisLocationRaw' from JSON`,
86
- );
87
- }
88
-
89
41
  /** @internal */
90
42
  export const HrisLocation$inboundSchema: z.ZodType<
91
43
  HrisLocation,
@@ -104,7 +56,7 @@ export const HrisLocation$inboundSchema: z.ZodType<
104
56
  language_locale: z.string().optional(),
105
57
  name: z.string().optional(),
106
58
  parent_id: z.string().optional(),
107
- raw: z.lazy(() => HrisLocationRaw$inboundSchema).optional(),
59
+ raw: z.record(z.any()).optional(),
108
60
  telephones: z.array(HrisTelephone$inboundSchema).optional(),
109
61
  timezone: z.string().optional(),
110
62
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
@@ -134,7 +86,7 @@ export type HrisLocation$Outbound = {
134
86
  language_locale?: string | undefined;
135
87
  name?: string | undefined;
136
88
  parent_id?: string | undefined;
137
- raw?: HrisLocationRaw$Outbound | undefined;
89
+ raw?: { [k: string]: any } | undefined;
138
90
  telephones?: Array<HrisTelephone$Outbound> | undefined;
139
91
  timezone?: string | undefined;
140
92
  updated_at?: string | undefined;
@@ -157,7 +109,7 @@ export const HrisLocation$outboundSchema: z.ZodType<
157
109
  languageLocale: z.string().optional(),
158
110
  name: z.string().optional(),
159
111
  parentId: z.string().optional(),
160
- raw: z.lazy(() => HrisLocationRaw$outboundSchema).optional(),
112
+ raw: z.record(z.any()).optional(),
161
113
  telephones: z.array(HrisTelephone$outboundSchema).optional(),
162
114
  timezone: z.string().optional(),
163
115
  updatedAt: z.date().transform(v => v.toISOString()).optional(),