@unified-api/typescript-sdk 2.9.26 → 2.9.28

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 (56) hide show
  1. package/funcs/hrisListHrisPayslips.d.ts.map +1 -1
  2. package/funcs/hrisListHrisPayslips.js +1 -0
  3. package/funcs/hrisListHrisPayslips.js.map +1 -1
  4. package/funcs/hrisListHrisTimeoffs.d.ts.map +1 -1
  5. package/funcs/hrisListHrisTimeoffs.js +1 -0
  6. package/funcs/hrisListHrisTimeoffs.js.map +1 -1
  7. package/funcs/payslipListHrisPayslips.d.ts.map +1 -1
  8. package/funcs/payslipListHrisPayslips.js +1 -0
  9. package/funcs/payslipListHrisPayslips.js.map +1 -1
  10. package/funcs/timeoffListHrisTimeoffs.d.ts.map +1 -1
  11. package/funcs/timeoffListHrisTimeoffs.js +1 -0
  12. package/funcs/timeoffListHrisTimeoffs.js.map +1 -1
  13. package/jsr.json +1 -1
  14. package/lib/config.d.ts +3 -3
  15. package/lib/config.js +3 -3
  16. package/package.json +1 -1
  17. package/sdk/models/operations/listhrispayslips.d.ts +2 -0
  18. package/sdk/models/operations/listhrispayslips.d.ts.map +1 -1
  19. package/sdk/models/operations/listhrispayslips.js +4 -0
  20. package/sdk/models/operations/listhrispayslips.js.map +1 -1
  21. package/sdk/models/operations/listhristimeoffs.d.ts +2 -0
  22. package/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
  23. package/sdk/models/operations/listhristimeoffs.js +4 -0
  24. package/sdk/models/operations/listhristimeoffs.js.map +1 -1
  25. package/sdk/models/shared/connection.d.ts +2 -0
  26. package/sdk/models/shared/connection.d.ts.map +1 -1
  27. package/sdk/models/shared/connection.js +4 -0
  28. package/sdk/models/shared/connection.js.map +1 -1
  29. package/sdk/models/shared/integrationsupport.d.ts +30 -0
  30. package/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  31. package/sdk/models/shared/integrationsupport.js +30 -5
  32. package/sdk/models/shared/integrationsupport.js.map +1 -1
  33. package/sdk/models/shared/metadatametadata.d.ts +85 -7
  34. package/sdk/models/shared/metadatametadata.d.ts.map +1 -1
  35. package/sdk/models/shared/metadatametadata.js +60 -5
  36. package/sdk/models/shared/metadatametadata.js.map +1 -1
  37. package/sdk/models/shared/propertyconnectionauth.d.ts +23 -6
  38. package/sdk/models/shared/propertyconnectionauth.d.ts.map +1 -1
  39. package/sdk/models/shared/propertyconnectionauth.js +26 -3
  40. package/sdk/models/shared/propertyconnectionauth.js.map +1 -1
  41. package/sdk/models/shared/webhook.d.ts +23 -6
  42. package/sdk/models/shared/webhook.d.ts.map +1 -1
  43. package/sdk/models/shared/webhook.js +27 -3
  44. package/sdk/models/shared/webhook.js.map +1 -1
  45. package/src/funcs/hrisListHrisPayslips.ts +1 -0
  46. package/src/funcs/hrisListHrisTimeoffs.ts +1 -0
  47. package/src/funcs/payslipListHrisPayslips.ts +1 -0
  48. package/src/funcs/timeoffListHrisTimeoffs.ts +1 -0
  49. package/src/lib/config.ts +3 -3
  50. package/src/sdk/models/operations/listhrispayslips.ts +6 -0
  51. package/src/sdk/models/operations/listhristimeoffs.ts +6 -0
  52. package/src/sdk/models/shared/connection.ts +6 -0
  53. package/src/sdk/models/shared/integrationsupport.ts +32 -0
  54. package/src/sdk/models/shared/metadatametadata.ts +100 -7
  55. package/src/sdk/models/shared/propertyconnectionauth.ts +54 -4
  56. package/src/sdk/models/shared/webhook.ts +44 -4
@@ -232,6 +232,13 @@ export const ListRepoId = {
232
232
  } as const;
233
233
  export type ListRepoId = ClosedEnum<typeof ListRepoId>;
234
234
 
235
+ export const ListRootId = {
236
+ SupportedRequired: "supported-required",
237
+ Supported: "supported",
238
+ NotSupported: "not-supported",
239
+ } as const;
240
+ export type ListRootId = ClosedEnum<typeof ListRootId>;
241
+
235
242
  export const ListSortByCreatedAt = {
236
243
  SupportedRequired: "supported-required",
237
244
  Supported: "supported",
@@ -469,6 +476,7 @@ export type IntegrationSupport = {
469
476
  listQuery?: ListQuery | undefined;
470
477
  listRawFields?: ListRawFields | undefined;
471
478
  listRepoId?: ListRepoId | undefined;
479
+ listRootId?: ListRootId | undefined;
472
480
  listSortByCreatedAt?: ListSortByCreatedAt | undefined;
473
481
  listSortByName?: ListSortByName | undefined;
474
482
  listSortByUpdatedAt?: ListSortByUpdatedAt | undefined;
@@ -1126,6 +1134,25 @@ export namespace ListRepoId$ {
1126
1134
  export const outboundSchema = ListRepoId$outboundSchema;
1127
1135
  }
1128
1136
 
1137
+ /** @internal */
1138
+ export const ListRootId$inboundSchema: z.ZodNativeEnum<typeof ListRootId> = z
1139
+ .nativeEnum(ListRootId);
1140
+
1141
+ /** @internal */
1142
+ export const ListRootId$outboundSchema: z.ZodNativeEnum<typeof ListRootId> =
1143
+ ListRootId$inboundSchema;
1144
+
1145
+ /**
1146
+ * @internal
1147
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1148
+ */
1149
+ export namespace ListRootId$ {
1150
+ /** @deprecated use `ListRootId$inboundSchema` instead. */
1151
+ export const inboundSchema = ListRootId$inboundSchema;
1152
+ /** @deprecated use `ListRootId$outboundSchema` instead. */
1153
+ export const outboundSchema = ListRootId$outboundSchema;
1154
+ }
1155
+
1129
1156
  /** @internal */
1130
1157
  export const ListSortByCreatedAt$inboundSchema: z.ZodNativeEnum<
1131
1158
  typeof ListSortByCreatedAt
@@ -1736,6 +1763,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
1736
1763
  list_query: ListQuery$inboundSchema.optional(),
1737
1764
  list_raw_fields: ListRawFields$inboundSchema.optional(),
1738
1765
  list_repo_id: ListRepoId$inboundSchema.optional(),
1766
+ list_root_id: ListRootId$inboundSchema.optional(),
1739
1767
  list_sort_by_created_at: ListSortByCreatedAt$inboundSchema.optional(),
1740
1768
  list_sort_by_name: ListSortByName$inboundSchema.optional(),
1741
1769
  list_sort_by_updated_at: ListSortByUpdatedAt$inboundSchema.optional(),
@@ -1805,6 +1833,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
1805
1833
  "list_query": "listQuery",
1806
1834
  "list_raw_fields": "listRawFields",
1807
1835
  "list_repo_id": "listRepoId",
1836
+ "list_root_id": "listRootId",
1808
1837
  "list_sort_by_created_at": "listSortByCreatedAt",
1809
1838
  "list_sort_by_name": "listSortByName",
1810
1839
  "list_sort_by_updated_at": "listSortByUpdatedAt",
@@ -1874,6 +1903,7 @@ export type IntegrationSupport$Outbound = {
1874
1903
  list_query?: string | undefined;
1875
1904
  list_raw_fields?: string | undefined;
1876
1905
  list_repo_id?: string | undefined;
1906
+ list_root_id?: string | undefined;
1877
1907
  list_sort_by_created_at?: string | undefined;
1878
1908
  list_sort_by_name?: string | undefined;
1879
1909
  list_sort_by_updated_at?: string | undefined;
@@ -1947,6 +1977,7 @@ export const IntegrationSupport$outboundSchema: z.ZodType<
1947
1977
  listQuery: ListQuery$outboundSchema.optional(),
1948
1978
  listRawFields: ListRawFields$outboundSchema.optional(),
1949
1979
  listRepoId: ListRepoId$outboundSchema.optional(),
1980
+ listRootId: ListRootId$outboundSchema.optional(),
1950
1981
  listSortByCreatedAt: ListSortByCreatedAt$outboundSchema.optional(),
1951
1982
  listSortByName: ListSortByName$outboundSchema.optional(),
1952
1983
  listSortByUpdatedAt: ListSortByUpdatedAt$outboundSchema.optional(),
@@ -2015,6 +2046,7 @@ export const IntegrationSupport$outboundSchema: z.ZodType<
2015
2046
  listQuery: "list_query",
2016
2047
  listRawFields: "list_raw_fields",
2017
2048
  listRepoId: "list_repo_id",
2049
+ listRootId: "list_root_id",
2018
2050
  listSortByCreatedAt: "list_sort_by_created_at",
2019
2051
  listSortByName: "list_sort_by_name",
2020
2052
  listSortByUpdatedAt: "list_sort_by_updated_at",
@@ -5,20 +5,110 @@
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../../lib/primitives.js";
7
7
  import { safeParse } from "../../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../../types/fp.js";
9
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
11
 
12
+ export type MetadataMetadataRaw = {};
13
+
14
+ export const MetadataMetadataType = {
15
+ Text: "TEXT",
16
+ Number: "NUMBER",
17
+ Date: "DATE",
18
+ Boolean: "BOOLEAN",
19
+ File: "FILE",
20
+ Textarea: "TEXTAREA",
21
+ SingleSelect: "SINGLE_SELECT",
22
+ MultipleSelect: "MULTIPLE_SELECT",
23
+ Measurement: "MEASUREMENT",
24
+ Price: "PRICE",
25
+ YesNo: "YES_NO",
26
+ Currency: "CURRENCY",
27
+ Url: "URL",
28
+ } as const;
29
+ export type MetadataMetadataType = ClosedEnum<typeof MetadataMetadataType>;
30
+
11
31
  export type MetadataMetadata = {
12
32
  createdAt?: Date | undefined;
13
33
  id?: string | undefined;
14
34
  name: string;
15
35
  objectType: string;
16
36
  objects?: { [k: string]: string } | undefined;
17
- raw?: { [k: string]: any } | undefined;
18
- type?: string | undefined;
37
+ options?: Array<string> | undefined;
38
+ raw?: MetadataMetadataRaw | undefined;
39
+ type?: MetadataMetadataType | undefined;
19
40
  updatedAt?: Date | undefined;
20
41
  };
21
42
 
43
+ /** @internal */
44
+ export const MetadataMetadataRaw$inboundSchema: z.ZodType<
45
+ MetadataMetadataRaw,
46
+ z.ZodTypeDef,
47
+ unknown
48
+ > = z.object({});
49
+
50
+ /** @internal */
51
+ export type MetadataMetadataRaw$Outbound = {};
52
+
53
+ /** @internal */
54
+ export const MetadataMetadataRaw$outboundSchema: z.ZodType<
55
+ MetadataMetadataRaw$Outbound,
56
+ z.ZodTypeDef,
57
+ MetadataMetadataRaw
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 MetadataMetadataRaw$ {
65
+ /** @deprecated use `MetadataMetadataRaw$inboundSchema` instead. */
66
+ export const inboundSchema = MetadataMetadataRaw$inboundSchema;
67
+ /** @deprecated use `MetadataMetadataRaw$outboundSchema` instead. */
68
+ export const outboundSchema = MetadataMetadataRaw$outboundSchema;
69
+ /** @deprecated use `MetadataMetadataRaw$Outbound` instead. */
70
+ export type Outbound = MetadataMetadataRaw$Outbound;
71
+ }
72
+
73
+ export function metadataMetadataRawToJSON(
74
+ metadataMetadataRaw: MetadataMetadataRaw,
75
+ ): string {
76
+ return JSON.stringify(
77
+ MetadataMetadataRaw$outboundSchema.parse(metadataMetadataRaw),
78
+ );
79
+ }
80
+
81
+ export function metadataMetadataRawFromJSON(
82
+ jsonString: string,
83
+ ): SafeParseResult<MetadataMetadataRaw, SDKValidationError> {
84
+ return safeParse(
85
+ jsonString,
86
+ (x) => MetadataMetadataRaw$inboundSchema.parse(JSON.parse(x)),
87
+ `Failed to parse 'MetadataMetadataRaw' from JSON`,
88
+ );
89
+ }
90
+
91
+ /** @internal */
92
+ export const MetadataMetadataType$inboundSchema: z.ZodNativeEnum<
93
+ typeof MetadataMetadataType
94
+ > = z.nativeEnum(MetadataMetadataType);
95
+
96
+ /** @internal */
97
+ export const MetadataMetadataType$outboundSchema: z.ZodNativeEnum<
98
+ typeof MetadataMetadataType
99
+ > = MetadataMetadataType$inboundSchema;
100
+
101
+ /**
102
+ * @internal
103
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
104
+ */
105
+ export namespace MetadataMetadataType$ {
106
+ /** @deprecated use `MetadataMetadataType$inboundSchema` instead. */
107
+ export const inboundSchema = MetadataMetadataType$inboundSchema;
108
+ /** @deprecated use `MetadataMetadataType$outboundSchema` instead. */
109
+ export const outboundSchema = MetadataMetadataType$outboundSchema;
110
+ }
111
+
22
112
  /** @internal */
23
113
  export const MetadataMetadata$inboundSchema: z.ZodType<
24
114
  MetadataMetadata,
@@ -31,8 +121,9 @@ export const MetadataMetadata$inboundSchema: z.ZodType<
31
121
  name: z.string(),
32
122
  object_type: z.string(),
33
123
  objects: z.record(z.string()).optional(),
34
- raw: z.record(z.any()).optional(),
35
- type: z.string().optional(),
124
+ options: z.array(z.string()).optional(),
125
+ raw: z.lazy(() => MetadataMetadataRaw$inboundSchema).optional(),
126
+ type: MetadataMetadataType$inboundSchema.optional(),
36
127
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
37
128
  .optional(),
38
129
  }).transform((v) => {
@@ -50,7 +141,8 @@ export type MetadataMetadata$Outbound = {
50
141
  name: string;
51
142
  object_type: string;
52
143
  objects?: { [k: string]: string } | undefined;
53
- raw?: { [k: string]: any } | undefined;
144
+ options?: Array<string> | undefined;
145
+ raw?: MetadataMetadataRaw$Outbound | undefined;
54
146
  type?: string | undefined;
55
147
  updated_at?: string | undefined;
56
148
  };
@@ -66,8 +158,9 @@ export const MetadataMetadata$outboundSchema: z.ZodType<
66
158
  name: z.string(),
67
159
  objectType: z.string(),
68
160
  objects: z.record(z.string()).optional(),
69
- raw: z.record(z.any()).optional(),
70
- type: z.string().optional(),
161
+ options: z.array(z.string()).optional(),
162
+ raw: z.lazy(() => MetadataMetadataRaw$outboundSchema).optional(),
163
+ type: MetadataMetadataType$outboundSchema.optional(),
71
164
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
72
165
  }).transform((v) => {
73
166
  return remap$(v, {
@@ -8,6 +8,8 @@ import { safeParse } from "../../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
+ export type PropertyConnectionAuthMeta = {};
12
+
11
13
  /**
12
14
  * An authentication object that represents a specific authorized user's connection to an integration.
13
15
  */
@@ -25,7 +27,7 @@ export type PropertyConnectionAuth = {
25
27
  expiresIn?: number | undefined;
26
28
  expiryDate?: Date | undefined;
27
29
  key?: string | undefined;
28
- meta?: { [k: string]: any } | undefined;
30
+ meta?: PropertyConnectionAuthMeta | undefined;
29
31
  name?: string | undefined;
30
32
  /**
31
33
  * When integration.auth_type = "other", this field contains the authentication credentials in the same order as token_names
@@ -40,6 +42,54 @@ export type PropertyConnectionAuth = {
40
42
  tokenUrl?: string | undefined;
41
43
  };
42
44
 
45
+ /** @internal */
46
+ export const PropertyConnectionAuthMeta$inboundSchema: z.ZodType<
47
+ PropertyConnectionAuthMeta,
48
+ z.ZodTypeDef,
49
+ unknown
50
+ > = z.object({});
51
+
52
+ /** @internal */
53
+ export type PropertyConnectionAuthMeta$Outbound = {};
54
+
55
+ /** @internal */
56
+ export const PropertyConnectionAuthMeta$outboundSchema: z.ZodType<
57
+ PropertyConnectionAuthMeta$Outbound,
58
+ z.ZodTypeDef,
59
+ PropertyConnectionAuthMeta
60
+ > = z.object({});
61
+
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ export namespace PropertyConnectionAuthMeta$ {
67
+ /** @deprecated use `PropertyConnectionAuthMeta$inboundSchema` instead. */
68
+ export const inboundSchema = PropertyConnectionAuthMeta$inboundSchema;
69
+ /** @deprecated use `PropertyConnectionAuthMeta$outboundSchema` instead. */
70
+ export const outboundSchema = PropertyConnectionAuthMeta$outboundSchema;
71
+ /** @deprecated use `PropertyConnectionAuthMeta$Outbound` instead. */
72
+ export type Outbound = PropertyConnectionAuthMeta$Outbound;
73
+ }
74
+
75
+ export function propertyConnectionAuthMetaToJSON(
76
+ propertyConnectionAuthMeta: PropertyConnectionAuthMeta,
77
+ ): string {
78
+ return JSON.stringify(
79
+ PropertyConnectionAuthMeta$outboundSchema.parse(propertyConnectionAuthMeta),
80
+ );
81
+ }
82
+
83
+ export function propertyConnectionAuthMetaFromJSON(
84
+ jsonString: string,
85
+ ): SafeParseResult<PropertyConnectionAuthMeta, SDKValidationError> {
86
+ return safeParse(
87
+ jsonString,
88
+ (x) => PropertyConnectionAuthMeta$inboundSchema.parse(JSON.parse(x)),
89
+ `Failed to parse 'PropertyConnectionAuthMeta' from JSON`,
90
+ );
91
+ }
92
+
43
93
  /** @internal */
44
94
  export const PropertyConnectionAuth$inboundSchema: z.ZodType<
45
95
  PropertyConnectionAuth,
@@ -60,7 +110,7 @@ export const PropertyConnectionAuth$inboundSchema: z.ZodType<
60
110
  expiry_date: z.string().datetime({ offset: true }).transform(v => new Date(v))
61
111
  .optional(),
62
112
  key: z.string().optional(),
63
- meta: z.record(z.any()).optional(),
113
+ meta: z.lazy(() => PropertyConnectionAuthMeta$inboundSchema).optional(),
64
114
  name: z.string().optional(),
65
115
  other_auth_info: z.array(z.string()).optional(),
66
116
  pem: z.string().optional(),
@@ -108,7 +158,7 @@ export type PropertyConnectionAuth$Outbound = {
108
158
  expires_in?: number | undefined;
109
159
  expiry_date?: string | undefined;
110
160
  key?: string | undefined;
111
- meta?: { [k: string]: any } | undefined;
161
+ meta?: PropertyConnectionAuthMeta$Outbound | undefined;
112
162
  name?: string | undefined;
113
163
  other_auth_info?: Array<string> | undefined;
114
164
  pem?: string | undefined;
@@ -139,7 +189,7 @@ export const PropertyConnectionAuth$outboundSchema: z.ZodType<
139
189
  expiresIn: z.number().optional(),
140
190
  expiryDate: z.date().transform(v => v.toISOString()).optional(),
141
191
  key: z.string().optional(),
142
- meta: z.record(z.any()).optional(),
192
+ meta: z.lazy(() => PropertyConnectionAuthMeta$outboundSchema).optional(),
143
193
  name: z.string().optional(),
144
194
  otherAuthInfo: z.array(z.string()).optional(),
145
195
  pem: z.string().optional(),
@@ -16,6 +16,8 @@ export const Event = {
16
16
  } as const;
17
17
  export type Event = ClosedEnum<typeof Event>;
18
18
 
19
+ export type Meta = {};
20
+
19
21
  export const ObjectType = {
20
22
  AccountingAccount: "accounting_account",
21
23
  AccountingTransaction: "accounting_transaction",
@@ -113,7 +115,7 @@ export type Webhook = {
113
115
  integrationType?: string | undefined;
114
116
  interval?: number | undefined;
115
117
  isHealthy?: boolean | undefined;
116
- meta?: { [k: string]: any } | undefined;
118
+ meta?: Meta | undefined;
117
119
  objectType: ObjectType;
118
120
  pageMaxLimit?: number | undefined;
119
121
  /**
@@ -145,6 +147,44 @@ export namespace Event$ {
145
147
  export const outboundSchema = Event$outboundSchema;
146
148
  }
147
149
 
150
+ /** @internal */
151
+ export const Meta$inboundSchema: z.ZodType<Meta, z.ZodTypeDef, unknown> = z
152
+ .object({});
153
+
154
+ /** @internal */
155
+ export type Meta$Outbound = {};
156
+
157
+ /** @internal */
158
+ export const Meta$outboundSchema: z.ZodType<Meta$Outbound, z.ZodTypeDef, Meta> =
159
+ z.object({});
160
+
161
+ /**
162
+ * @internal
163
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
164
+ */
165
+ export namespace Meta$ {
166
+ /** @deprecated use `Meta$inboundSchema` instead. */
167
+ export const inboundSchema = Meta$inboundSchema;
168
+ /** @deprecated use `Meta$outboundSchema` instead. */
169
+ export const outboundSchema = Meta$outboundSchema;
170
+ /** @deprecated use `Meta$Outbound` instead. */
171
+ export type Outbound = Meta$Outbound;
172
+ }
173
+
174
+ export function metaToJSON(meta: Meta): string {
175
+ return JSON.stringify(Meta$outboundSchema.parse(meta));
176
+ }
177
+
178
+ export function metaFromJSON(
179
+ jsonString: string,
180
+ ): SafeParseResult<Meta, SDKValidationError> {
181
+ return safeParse(
182
+ jsonString,
183
+ (x) => Meta$inboundSchema.parse(JSON.parse(x)),
184
+ `Failed to parse 'Meta' from JSON`,
185
+ );
186
+ }
187
+
148
188
  /** @internal */
149
189
  export const ObjectType$inboundSchema: z.ZodNativeEnum<typeof ObjectType> = z
150
190
  .nativeEnum(ObjectType);
@@ -202,7 +242,7 @@ export const Webhook$inboundSchema: z.ZodType<Webhook, z.ZodTypeDef, unknown> =
202
242
  integration_type: z.string().optional(),
203
243
  interval: z.number().optional(),
204
244
  is_healthy: z.boolean().optional(),
205
- meta: z.record(z.any()).optional(),
245
+ meta: z.lazy(() => Meta$inboundSchema).optional(),
206
246
  object_type: ObjectType$inboundSchema,
207
247
  page_max_limit: z.number().optional(),
208
248
  runs: z.array(z.string()).optional(),
@@ -241,7 +281,7 @@ export type Webhook$Outbound = {
241
281
  integration_type?: string | undefined;
242
282
  interval?: number | undefined;
243
283
  is_healthy?: boolean | undefined;
244
- meta?: { [k: string]: any } | undefined;
284
+ meta?: Meta$Outbound | undefined;
245
285
  object_type: string;
246
286
  page_max_limit?: number | undefined;
247
287
  runs?: Array<string> | undefined;
@@ -268,7 +308,7 @@ export const Webhook$outboundSchema: z.ZodType<
268
308
  integrationType: z.string().optional(),
269
309
  interval: z.number().optional(),
270
310
  isHealthy: z.boolean().optional(),
271
- meta: z.record(z.any()).optional(),
311
+ meta: z.lazy(() => Meta$outboundSchema).optional(),
272
312
  objectType: ObjectType$outboundSchema,
273
313
  pageMaxLimit: z.number().optional(),
274
314
  runs: z.array(z.string()).optional(),