@ampsec/platform-client 70.0.0 → 70.2.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 (33) hide show
  1. package/build/src/FilterCriteria.d.ts +82 -45
  2. package/build/src/dto/actionExecution.dto.d.ts +3 -2
  3. package/build/src/dto/agents.dto.d.ts +3 -2
  4. package/build/src/dto/assets.dto.d.ts +31 -10
  5. package/build/src/dto/base.dto.d.ts +6 -4
  6. package/build/src/dto/coverage.dto.d.ts +144 -106
  7. package/build/src/dto/customActions.dto.d.ts +32 -28
  8. package/build/src/dto/customScores.dto.d.ts +8 -4
  9. package/build/src/dto/eng/coverage.dto.d.ts +8 -8
  10. package/build/src/dto/findings.dto.d.ts +41 -40
  11. package/build/src/dto/flows.dto.d.ts +222 -179
  12. package/build/src/dto/notification.dto.d.ts +157 -134
  13. package/build/src/dto/page.dto.d.ts +5 -5
  14. package/build/src/dto/platform/platform.actionExecution.dto.d.ts +26 -12
  15. package/build/src/dto/platform/platform.agents.dto.d.ts +3 -2
  16. package/build/src/dto/platform/platform.customActions.dto.d.ts +36 -32
  17. package/build/src/dto/platform/platform.customScores.dto.d.ts +16 -9
  18. package/build/src/dto/platform/platform.findings.dto.d.ts +37 -34
  19. package/build/src/dto/platform/platform.flows.dto.d.ts +176 -136
  20. package/build/src/dto/platform/platform.saasAssets.dto.d.ts +29 -25
  21. package/build/src/dto/platform/platform.saasUsers.dto.d.ts +48 -44
  22. package/build/src/dto/platform/platform.tokens.dto.d.ts +21 -9
  23. package/build/src/dto/platform/tenant.based.dto.d.ts +6 -5
  24. package/build/src/dto/saasAssets.dto.d.ts +84 -58
  25. package/build/src/dto/saasUsers.dto.d.ts +131 -110
  26. package/build/src/dto/tokens.dto.d.ts +3 -2
  27. package/build/src/dto/users.dto.d.ts +8 -8
  28. package/build/src/services/contentful.service.d.ts +12 -12
  29. package/build/src/settings.d.ts +3 -0
  30. package/build/src/settings.js +3 -0
  31. package/build/src/settings.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/settings.ts +3 -0
@@ -3,15 +3,14 @@ import { SaasAssetDto, SaasAssetUpsertDto } from '../saasAssets.dto';
3
3
  import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
4
4
  export type PlatformSaasAssetUpsertDto = SaasAssetUpsertDto & UpsertTenantBased;
5
5
  export type PlatformSaasAssetDto = SaasAssetDto & TenantBased;
6
- export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
6
+ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7
7
  id: z.ZodOptional<z.ZodString>;
8
- cid: z.ZodString;
9
- uid: z.ZodOptional<z.ZodString>;
10
8
  createdAt: z.ZodOptional<z.ZodString>;
11
9
  updatedAt: z.ZodOptional<z.ZodString>;
12
10
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, {
13
12
  etag: z.ZodString;
14
- displayValue: z.ZodString;
13
+ }>, {
15
14
  extKeys: z.ZodObject<{
16
15
  extId: z.ZodOptional<z.ZodString>;
17
16
  sn: z.ZodOptional<z.ZodString>;
@@ -25,6 +24,10 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
25
24
  extId?: string | undefined;
26
25
  sn?: string | undefined;
27
26
  }>;
27
+ cid: z.ZodString;
28
+ aid: z.ZodString;
29
+ uid: z.ZodOptional<z.ZodString>;
30
+ displayValue: z.ZodString;
28
31
  meta: z.ZodObject<{
29
32
  _asset: z.ZodObject<{
30
33
  extId: z.ZodString;
@@ -57,15 +60,15 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
57
60
  operatingSystems: {
58
61
  displayValue: string;
59
62
  }[];
60
- deviceName?: string | undefined;
63
+ make?: string | undefined;
64
+ model?: string | undefined;
61
65
  lastActivityTime?: string | undefined;
66
+ deviceName?: string | undefined;
62
67
  serialNumber?: string | undefined;
63
68
  macAddresses?: string[] | undefined;
64
69
  owner?: {
65
70
  email?: string | undefined;
66
71
  } | undefined;
67
- make?: string | undefined;
68
- model?: string | undefined;
69
72
  }, {
70
73
  extId: string;
71
74
  assetType: import("..").GlobalAssetType;
@@ -73,15 +76,15 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
73
76
  operatingSystems: {
74
77
  displayValue: string;
75
78
  }[];
76
- deviceName?: string | undefined;
79
+ make?: string | undefined;
80
+ model?: string | undefined;
77
81
  lastActivityTime?: string | undefined;
82
+ deviceName?: string | undefined;
78
83
  serialNumber?: string | undefined;
79
84
  macAddresses?: string[] | undefined;
80
85
  owner?: {
81
86
  email?: string | undefined;
82
87
  } | undefined;
83
- make?: string | undefined;
84
- model?: string | undefined;
85
88
  }>;
86
89
  _raw: z.ZodUnknown;
87
90
  }, "strip", z.ZodTypeAny, {
@@ -92,15 +95,15 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
92
95
  operatingSystems: {
93
96
  displayValue: string;
94
97
  }[];
95
- deviceName?: string | undefined;
98
+ make?: string | undefined;
99
+ model?: string | undefined;
96
100
  lastActivityTime?: string | undefined;
101
+ deviceName?: string | undefined;
97
102
  serialNumber?: string | undefined;
98
103
  macAddresses?: string[] | undefined;
99
104
  owner?: {
100
105
  email?: string | undefined;
101
106
  } | undefined;
102
- make?: string | undefined;
103
- model?: string | undefined;
104
107
  };
105
108
  _raw?: unknown;
106
109
  }, {
@@ -111,21 +114,22 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
111
114
  operatingSystems: {
112
115
  displayValue: string;
113
116
  }[];
114
- deviceName?: string | undefined;
117
+ make?: string | undefined;
118
+ model?: string | undefined;
115
119
  lastActivityTime?: string | undefined;
120
+ deviceName?: string | undefined;
116
121
  serialNumber?: string | undefined;
117
122
  macAddresses?: string[] | undefined;
118
123
  owner?: {
119
124
  email?: string | undefined;
120
125
  } | undefined;
121
- make?: string | undefined;
122
- model?: string | undefined;
123
126
  };
124
127
  _raw?: unknown;
125
128
  }>;
129
+ }>, {
126
130
  aid: z.ZodOptional<z.ZodString>;
127
131
  sessionId: z.ZodString;
128
- }, "strip", z.ZodTypeAny, {
132
+ }>, "strip", z.ZodTypeAny, {
129
133
  cid: string;
130
134
  etag: string;
131
135
  displayValue: string;
@@ -142,25 +146,25 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
142
146
  operatingSystems: {
143
147
  displayValue: string;
144
148
  }[];
145
- deviceName?: string | undefined;
149
+ make?: string | undefined;
150
+ model?: string | undefined;
146
151
  lastActivityTime?: string | undefined;
152
+ deviceName?: string | undefined;
147
153
  serialNumber?: string | undefined;
148
154
  macAddresses?: string[] | undefined;
149
155
  owner?: {
150
156
  email?: string | undefined;
151
157
  } | undefined;
152
- make?: string | undefined;
153
- model?: string | undefined;
154
158
  };
155
159
  _raw?: unknown;
156
160
  };
157
161
  sessionId: string;
158
162
  id?: string | undefined;
159
163
  uid?: string | undefined;
164
+ aid?: string | undefined;
160
165
  createdAt?: string | undefined;
161
166
  updatedAt?: string | undefined;
162
167
  deletedAt?: string | null | undefined;
163
- aid?: string | undefined;
164
168
  }, {
165
169
  cid: string;
166
170
  etag: string;
@@ -178,25 +182,25 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
178
182
  operatingSystems: {
179
183
  displayValue: string;
180
184
  }[];
181
- deviceName?: string | undefined;
185
+ make?: string | undefined;
186
+ model?: string | undefined;
182
187
  lastActivityTime?: string | undefined;
188
+ deviceName?: string | undefined;
183
189
  serialNumber?: string | undefined;
184
190
  macAddresses?: string[] | undefined;
185
191
  owner?: {
186
192
  email?: string | undefined;
187
193
  } | undefined;
188
- make?: string | undefined;
189
- model?: string | undefined;
190
194
  };
191
195
  _raw?: unknown;
192
196
  };
193
197
  sessionId: string;
194
198
  id?: string | undefined;
195
199
  uid?: string | undefined;
200
+ aid?: string | undefined;
196
201
  createdAt?: string | undefined;
197
202
  updatedAt?: string | undefined;
198
203
  deletedAt?: string | null | undefined;
199
- aid?: string | undefined;
200
204
  }>;
201
205
  export type StagedSaasAssetUpsertDto = z.infer<typeof _StagedSaasAssetUpsertDto>;
202
206
  export type PlatformStagedSaasAssetUpsertDto = StagedSaasAssetUpsertDto & UpsertTenantBased;
@@ -3,14 +3,17 @@ import { SaasUserUpsertDto } from '../saasUsers.dto';
3
3
  import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
4
4
  export type PlatformSaasUserUpsertDto = SaasUserUpsertDto & UpsertTenantBased;
5
5
  export type PlatformSaasUserDto = SaasUserUpsertDto & TenantBased;
6
- export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
7
- email: z.ZodString;
6
+ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8
7
  id: z.ZodOptional<z.ZodString>;
9
- cid: z.ZodString;
10
8
  createdAt: z.ZodOptional<z.ZodString>;
11
9
  updatedAt: z.ZodOptional<z.ZodString>;
12
10
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, {
13
12
  etag: z.ZodString;
13
+ }>, {
14
+ uid: z.ZodString;
15
+ cid: z.ZodString;
16
+ email: z.ZodString;
14
17
  extId: z.ZodString;
15
18
  meta: z.ZodObject<{
16
19
  _user: z.ZodObject<{
@@ -51,13 +54,13 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
51
54
  name: z.ZodOptional<z.ZodString>;
52
55
  email: z.ZodOptional<z.ZodString>;
53
56
  }, "strip", z.ZodTypeAny, {
54
- extId?: string | undefined;
55
57
  name?: string | undefined;
56
58
  email?: string | undefined;
57
- }, {
58
59
  extId?: string | undefined;
60
+ }, {
59
61
  name?: string | undefined;
60
62
  email?: string | undefined;
63
+ extId?: string | undefined;
61
64
  }>>;
62
65
  userType: z.ZodNativeEnum<typeof import("..").GlobalUserType>;
63
66
  }, "strip", z.ZodTypeAny, {
@@ -65,30 +68,30 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
65
68
  firstName: string;
66
69
  lastName: string;
67
70
  userType: import("..").GlobalUserType;
68
- title?: string | undefined;
69
- department?: string | undefined;
70
71
  organization?: string | undefined;
72
+ department?: string | undefined;
71
73
  pictureUrl?: string | undefined;
74
+ title?: string | undefined;
72
75
  startDate?: string | undefined;
73
76
  manager?: {
74
- extId?: string | undefined;
75
77
  name?: string | undefined;
76
78
  email?: string | undefined;
79
+ extId?: string | undefined;
77
80
  } | undefined;
78
81
  }, {
79
82
  email: string;
80
83
  firstName: string;
81
84
  lastName: string;
82
85
  userType: import("..").GlobalUserType;
83
- title?: string | undefined;
84
- department?: string | undefined;
85
86
  organization?: string | undefined;
87
+ department?: string | undefined;
86
88
  pictureUrl?: string | undefined;
89
+ title?: string | undefined;
87
90
  startDate?: string | undefined;
88
91
  manager?: {
89
- extId?: string | undefined;
90
92
  name?: string | undefined;
91
93
  email?: string | undefined;
94
+ extId?: string | undefined;
92
95
  } | undefined;
93
96
  }>;
94
97
  }, "strip", z.ZodTypeAny, {
@@ -97,21 +100,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
97
100
  firstName: string;
98
101
  lastName: string;
99
102
  userType: import("..").GlobalUserType;
100
- title?: string | undefined;
101
- department?: string | undefined;
102
103
  organization?: string | undefined;
104
+ department?: string | undefined;
103
105
  pictureUrl?: string | undefined;
106
+ title?: string | undefined;
104
107
  startDate?: string | undefined;
105
108
  manager?: {
106
- extId?: string | undefined;
107
109
  name?: string | undefined;
108
110
  email?: string | undefined;
111
+ extId?: string | undefined;
109
112
  } | undefined;
110
113
  };
111
- extId?: string | undefined;
112
114
  groups?: Record<string, string> | undefined;
113
- created?: string | undefined;
115
+ extId?: string | undefined;
114
116
  lastActivityTime?: string | undefined;
117
+ created?: string | undefined;
115
118
  factors?: z.objectOutputType<{
116
119
  cid: z.ZodOptional<z.ZodString>;
117
120
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -125,21 +128,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
125
128
  firstName: string;
126
129
  lastName: string;
127
130
  userType: import("..").GlobalUserType;
128
- title?: string | undefined;
129
- department?: string | undefined;
130
131
  organization?: string | undefined;
132
+ department?: string | undefined;
131
133
  pictureUrl?: string | undefined;
134
+ title?: string | undefined;
132
135
  startDate?: string | undefined;
133
136
  manager?: {
134
- extId?: string | undefined;
135
137
  name?: string | undefined;
136
138
  email?: string | undefined;
139
+ extId?: string | undefined;
137
140
  } | undefined;
138
141
  };
139
- extId?: string | undefined;
140
142
  groups?: Record<string, string> | undefined;
141
- created?: string | undefined;
143
+ extId?: string | undefined;
142
144
  lastActivityTime?: string | undefined;
145
+ created?: string | undefined;
143
146
  factors?: z.objectInputType<{
144
147
  cid: z.ZodOptional<z.ZodString>;
145
148
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -156,21 +159,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
156
159
  firstName: string;
157
160
  lastName: string;
158
161
  userType: import("..").GlobalUserType;
159
- title?: string | undefined;
160
- department?: string | undefined;
161
162
  organization?: string | undefined;
163
+ department?: string | undefined;
162
164
  pictureUrl?: string | undefined;
165
+ title?: string | undefined;
163
166
  startDate?: string | undefined;
164
167
  manager?: {
165
- extId?: string | undefined;
166
168
  name?: string | undefined;
167
169
  email?: string | undefined;
170
+ extId?: string | undefined;
168
171
  } | undefined;
169
172
  };
170
- extId?: string | undefined;
171
173
  groups?: Record<string, string> | undefined;
172
- created?: string | undefined;
174
+ extId?: string | undefined;
173
175
  lastActivityTime?: string | undefined;
176
+ created?: string | undefined;
174
177
  factors?: z.objectOutputType<{
175
178
  cid: z.ZodOptional<z.ZodString>;
176
179
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -187,21 +190,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
187
190
  firstName: string;
188
191
  lastName: string;
189
192
  userType: import("..").GlobalUserType;
190
- title?: string | undefined;
191
- department?: string | undefined;
192
193
  organization?: string | undefined;
194
+ department?: string | undefined;
193
195
  pictureUrl?: string | undefined;
196
+ title?: string | undefined;
194
197
  startDate?: string | undefined;
195
198
  manager?: {
196
- extId?: string | undefined;
197
199
  name?: string | undefined;
198
200
  email?: string | undefined;
201
+ extId?: string | undefined;
199
202
  } | undefined;
200
203
  };
201
- extId?: string | undefined;
202
204
  groups?: Record<string, string> | undefined;
203
- created?: string | undefined;
205
+ extId?: string | undefined;
204
206
  lastActivityTime?: string | undefined;
207
+ created?: string | undefined;
205
208
  factors?: z.objectInputType<{
206
209
  cid: z.ZodOptional<z.ZodString>;
207
210
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -212,9 +215,10 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
212
215
  };
213
216
  _raw?: unknown;
214
217
  }>;
218
+ }>, {
215
219
  uid: z.ZodOptional<z.ZodString>;
216
220
  sessionId: z.ZodString;
217
- }, "strip", z.ZodTypeAny, {
221
+ }>, "strip", z.ZodTypeAny, {
218
222
  email: string;
219
223
  cid: string;
220
224
  etag: string;
@@ -226,21 +230,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
226
230
  firstName: string;
227
231
  lastName: string;
228
232
  userType: import("..").GlobalUserType;
229
- title?: string | undefined;
230
- department?: string | undefined;
231
233
  organization?: string | undefined;
234
+ department?: string | undefined;
232
235
  pictureUrl?: string | undefined;
236
+ title?: string | undefined;
233
237
  startDate?: string | undefined;
234
238
  manager?: {
235
- extId?: string | undefined;
236
239
  name?: string | undefined;
237
240
  email?: string | undefined;
241
+ extId?: string | undefined;
238
242
  } | undefined;
239
243
  };
240
- extId?: string | undefined;
241
244
  groups?: Record<string, string> | undefined;
242
- created?: string | undefined;
245
+ extId?: string | undefined;
243
246
  lastActivityTime?: string | undefined;
247
+ created?: string | undefined;
244
248
  factors?: z.objectOutputType<{
245
249
  cid: z.ZodOptional<z.ZodString>;
246
250
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -253,10 +257,10 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
253
257
  };
254
258
  sessionId: string;
255
259
  id?: string | undefined;
260
+ uid?: string | undefined;
256
261
  createdAt?: string | undefined;
257
262
  updatedAt?: string | undefined;
258
263
  deletedAt?: string | null | undefined;
259
- uid?: string | undefined;
260
264
  }, {
261
265
  email: string;
262
266
  cid: string;
@@ -269,21 +273,21 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
269
273
  firstName: string;
270
274
  lastName: string;
271
275
  userType: import("..").GlobalUserType;
272
- title?: string | undefined;
273
- department?: string | undefined;
274
276
  organization?: string | undefined;
277
+ department?: string | undefined;
275
278
  pictureUrl?: string | undefined;
279
+ title?: string | undefined;
276
280
  startDate?: string | undefined;
277
281
  manager?: {
278
- extId?: string | undefined;
279
282
  name?: string | undefined;
280
283
  email?: string | undefined;
284
+ extId?: string | undefined;
281
285
  } | undefined;
282
286
  };
283
- extId?: string | undefined;
284
287
  groups?: Record<string, string> | undefined;
285
- created?: string | undefined;
288
+ extId?: string | undefined;
286
289
  lastActivityTime?: string | undefined;
290
+ created?: string | undefined;
287
291
  factors?: z.objectInputType<{
288
292
  cid: z.ZodOptional<z.ZodString>;
289
293
  status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
@@ -296,10 +300,10 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
296
300
  };
297
301
  sessionId: string;
298
302
  id?: string | undefined;
303
+ uid?: string | undefined;
299
304
  createdAt?: string | undefined;
300
305
  updatedAt?: string | undefined;
301
306
  deletedAt?: string | null | undefined;
302
- uid?: string | undefined;
303
307
  }>;
304
308
  export type StagedSaasUserUpsertDto = z.infer<typeof _StagedSaasUserUpsertDto>;
305
309
  export type PlatformStagedSaasUserUpsertDto = StagedSaasUserUpsertDto & UpsertTenantBased;
@@ -1,5 +1,10 @@
1
1
  import { z } from 'zod';
2
- export declare const _PlatformTokenDto: z.ZodObject<{
2
+ export declare const _PlatformTokenDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ createdAt: z.ZodString;
5
+ updatedAt: z.ZodString;
6
+ deletedAt: z.ZodNullable<z.ZodString>;
7
+ }, {
3
8
  displayValue: z.ZodOptional<z.ZodString>;
4
9
  key: z.ZodString;
5
10
  links: z.ZodObject<{
@@ -12,12 +17,14 @@ export declare const _PlatformTokenDto: z.ZodObject<{
12
17
  _self: string;
13
18
  webhook: string;
14
19
  }>;
20
+ }>, z.objectUtil.extendShape<{
15
21
  id: z.ZodString;
16
22
  createdAt: z.ZodString;
17
23
  updatedAt: z.ZodString;
18
24
  deletedAt: z.ZodNullable<z.ZodString>;
25
+ }, {
19
26
  tid: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
27
+ }>>, "strip", z.ZodTypeAny, {
21
28
  id: string;
22
29
  tid: string;
23
30
  createdAt: string;
@@ -43,7 +50,11 @@ export declare const _PlatformTokenDto: z.ZodObject<{
43
50
  displayValue?: string | undefined;
44
51
  }>;
45
52
  export type PlatformTokenDto = z.infer<typeof _PlatformTokenDto>;
46
- export declare const _PlatformTokenUpsertDto: z.ZodObject<{
53
+ export declare const _PlatformTokenUpsertDto: z.ZodObject<z.objectUtil.extendShape<{
54
+ id: z.ZodOptional<z.ZodString>;
55
+ createdAt: z.ZodOptional<z.ZodString>;
56
+ updatedAt: z.ZodOptional<z.ZodString>;
57
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
58
  displayValue: z.ZodOptional<z.ZodString>;
48
59
  key: z.ZodString;
49
60
  links: z.ZodObject<{
@@ -56,34 +67,35 @@ export declare const _PlatformTokenUpsertDto: z.ZodObject<{
56
67
  _self: string;
57
68
  webhook: string;
58
69
  }>;
70
+ }, {
59
71
  id: z.ZodOptional<z.ZodString>;
72
+ tid: z.ZodOptional<z.ZodString>;
60
73
  createdAt: z.ZodOptional<z.ZodString>;
61
74
  updatedAt: z.ZodOptional<z.ZodString>;
62
75
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- tid: z.ZodOptional<z.ZodString>;
64
- }, "strip", z.ZodTypeAny, {
76
+ }>, "strip", z.ZodTypeAny, {
65
77
  key: string;
66
78
  links: {
67
79
  _self: string;
68
80
  webhook: string;
69
81
  };
70
- displayValue?: string | undefined;
71
82
  id?: string | undefined;
83
+ tid?: string | undefined;
72
84
  createdAt?: string | undefined;
73
85
  updatedAt?: string | undefined;
74
86
  deletedAt?: string | null | undefined;
75
- tid?: string | undefined;
87
+ displayValue?: string | undefined;
76
88
  }, {
77
89
  key: string;
78
90
  links: {
79
91
  _self: string;
80
92
  webhook: string;
81
93
  };
82
- displayValue?: string | undefined;
83
94
  id?: string | undefined;
95
+ tid?: string | undefined;
84
96
  createdAt?: string | undefined;
85
97
  updatedAt?: string | undefined;
86
98
  deletedAt?: string | null | undefined;
87
- tid?: string | undefined;
99
+ displayValue?: string | undefined;
88
100
  }>;
89
101
  export type PlatformTokenUpsertDto = z.infer<typeof _PlatformTokenUpsertDto>;
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
- export declare const _TenantBased: z.ZodObject<{
2
+ export declare const _TenantBased: z.ZodObject<z.objectUtil.extendShape<{
3
3
  id: z.ZodString;
4
4
  createdAt: z.ZodString;
5
5
  updatedAt: z.ZodString;
6
6
  deletedAt: z.ZodNullable<z.ZodString>;
7
+ }, {
7
8
  tid: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
+ }>, "strip", z.ZodTypeAny, {
9
10
  id: string;
10
11
  tid: string;
11
12
  createdAt: string;
@@ -21,21 +22,21 @@ export declare const _TenantBased: z.ZodObject<{
21
22
  export type TenantBased = z.infer<typeof _TenantBased>;
22
23
  export declare const _UpsertTenantBased: z.ZodObject<{
23
24
  id: z.ZodOptional<z.ZodString>;
25
+ tid: z.ZodOptional<z.ZodString>;
24
26
  createdAt: z.ZodOptional<z.ZodString>;
25
27
  updatedAt: z.ZodOptional<z.ZodString>;
26
28
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- tid: z.ZodOptional<z.ZodString>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  id?: string | undefined;
31
+ tid?: string | undefined;
30
32
  createdAt?: string | undefined;
31
33
  updatedAt?: string | undefined;
32
34
  deletedAt?: string | null | undefined;
33
- tid?: string | undefined;
34
35
  }, {
35
36
  id?: string | undefined;
37
+ tid?: string | undefined;
36
38
  createdAt?: string | undefined;
37
39
  updatedAt?: string | undefined;
38
40
  deletedAt?: string | null | undefined;
39
- tid?: string | undefined;
40
41
  }>;
41
42
  export type UpsertTenantBased = z.infer<typeof _UpsertTenantBased>;