@ampsec/platform-client 58.3.1 → 58.3.2

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.
@@ -57,11 +57,8 @@ export declare const _AssetUpsertDto: z.ZodObject<{
57
57
  }>;
58
58
  export type AssetUpsertDto = z.infer<typeof _AssetUpsertDto>;
59
59
  export declare const _AssetDto: z.ZodObject<{
60
- createdAt: z.ZodString;
61
- updatedAt: z.ZodString;
62
- deletedAt: z.ZodNullable<z.ZodString>;
63
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
64
- etag: z.ZodString;
60
+ uid: z.ZodOptional<z.ZodString>;
61
+ displayValue: z.ZodString;
65
62
  extKeys: z.ZodObject<{
66
63
  extId: z.ZodOptional<z.ZodString>;
67
64
  sn: z.ZodOptional<z.ZodString>;
@@ -75,10 +72,14 @@ export declare const _AssetDto: z.ZodObject<{
75
72
  extId?: string | undefined;
76
73
  sn?: string | undefined;
77
74
  }>;
78
- displayValue: z.ZodString;
79
- uid: z.ZodOptional<z.ZodString>;
80
75
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof GlobalAssetType>>;
76
+ id: z.ZodString;
77
+ createdAt: z.ZodString;
78
+ updatedAt: z.ZodString;
79
+ deletedAt: z.ZodNullable<z.ZodString>;
80
+ etag: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
+ id: string;
82
83
  createdAt: string;
83
84
  updatedAt: string;
84
85
  deletedAt: string | null;
@@ -89,10 +90,10 @@ export declare const _AssetDto: z.ZodObject<{
89
90
  extId?: string | undefined;
90
91
  sn?: string | undefined;
91
92
  };
92
- id?: string | undefined;
93
93
  uid?: string | undefined;
94
94
  assetType?: GlobalAssetType | undefined;
95
95
  }, {
96
+ id: string;
96
97
  createdAt: string;
97
98
  updatedAt: string;
98
99
  deletedAt: string | null;
@@ -103,7 +104,6 @@ export declare const _AssetDto: z.ZodObject<{
103
104
  extId?: string | undefined;
104
105
  sn?: string | undefined;
105
106
  };
106
- id?: string | undefined;
107
107
  uid?: string | undefined;
108
108
  assetType?: GlobalAssetType | undefined;
109
109
  }>;
@@ -21,5 +21,5 @@ exports._AssetUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.object(
21
21
  /** Asset type */
22
22
  assetType: zod_1.z.nativeEnum(globalAsset_type_1.GlobalAssetType).optional(),
23
23
  }));
24
- exports._AssetDto = base_dto_1._ChangeAwareDto.merge(exports._AssetUpsertDto);
24
+ exports._AssetDto = exports._AssetUpsertDto.merge(base_dto_1._ChangeAwareDto);
25
25
  //# sourceMappingURL=assets.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assets.dto.js","sourceRoot":"","sources":["../../../src/dto/assets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,+DAAyD;AAE5C,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,sBAAsB;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,uCAAuC;IACvC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAIU,QAAA,eAAe,GAAG,gCAAqB,CAAC,KAAK,CACxD,OAAC,CAAC,MAAM,CAAC;IACP,oBAAoB;IACpB,OAAO,EAAE,sBAAU;IACnB,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,iCAAiC;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,iBAAiB;IACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,kCAAe,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CACH,CAAC;AAIW,QAAA,SAAS,GAAG,0BAAe,CAAC,KAAK,CAAC,uBAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"assets.dto.js","sourceRoot":"","sources":["../../../src/dto/assets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,+DAAyD;AAE5C,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,sBAAsB;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,uCAAuC;IACvC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAIU,QAAA,eAAe,GAAG,gCAAqB,CAAC,KAAK,CACxD,OAAC,CAAC,MAAM,CAAC;IACP,oBAAoB;IACpB,OAAO,EAAE,sBAAU;IACnB,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,iCAAiC;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,iBAAiB;IACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,kCAAe,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CACH,CAAC;AAIW,QAAA,SAAS,GAAG,uBAAe,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
@@ -8,20 +8,20 @@ export declare const _BaseUpsertDto: z.ZodObject<{
8
8
  }>;
9
9
  export type BaseUpsertDto = z.infer<typeof _BaseUpsertDto>;
10
10
  export declare const _BaseDto: z.ZodObject<{
11
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
11
+ id: z.ZodString;
12
12
  createdAt: z.ZodString;
13
13
  updatedAt: z.ZodString;
14
14
  deletedAt: z.ZodNullable<z.ZodString>;
15
15
  }, "strip", z.ZodTypeAny, {
16
+ id: string;
16
17
  createdAt: string;
17
18
  updatedAt: string;
18
19
  deletedAt: string | null;
19
- id?: string | undefined;
20
20
  }, {
21
+ id: string;
21
22
  createdAt: string;
22
23
  updatedAt: string;
23
24
  deletedAt: string | null;
24
- id?: string | undefined;
25
25
  }>;
26
26
  export type BaseDto = z.infer<typeof _BaseDto>;
27
27
  export declare const _ChangeAwareUpsertDto: z.ZodObject<{
@@ -36,22 +36,22 @@ export declare const _ChangeAwareUpsertDto: z.ZodObject<{
36
36
  }>;
37
37
  export type ChangeAwareUpsertDto = z.infer<typeof _ChangeAwareUpsertDto>;
38
38
  export declare const _ChangeAwareDto: z.ZodObject<{
39
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
39
+ id: z.ZodString;
40
40
  createdAt: z.ZodString;
41
41
  updatedAt: z.ZodString;
42
42
  deletedAt: z.ZodNullable<z.ZodString>;
43
43
  etag: z.ZodString;
44
44
  }, "strip", z.ZodTypeAny, {
45
+ id: string;
45
46
  createdAt: string;
46
47
  updatedAt: string;
47
48
  deletedAt: string | null;
48
49
  etag: string;
49
- id?: string | undefined;
50
50
  }, {
51
+ id: string;
51
52
  createdAt: string;
52
53
  updatedAt: string;
53
54
  deletedAt: string | null;
54
55
  etag: string;
55
- id?: string | undefined;
56
56
  }>;
57
57
  export type ChangeAwareDto = z.infer<typeof _ChangeAwareDto>;
@@ -6,7 +6,7 @@ exports._BaseUpsertDto = zod_1.z.object({
6
6
  id: zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()]).optional(),
7
7
  });
8
8
  exports._BaseDto = zod_1.z.object({
9
- id: zod_1.z.union([zod_1.z.string(), zod_1.z.undefined()]).optional(),
9
+ id: zod_1.z.string(),
10
10
  createdAt: zod_1.z.string(),
11
11
  updatedAt: zod_1.z.string(),
12
12
  deletedAt: zod_1.z.string().nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/base.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAET,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAIU,QAAA,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAIH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAEjC,QAAA,qBAAqB,GAAG,sBAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAIvD,QAAA,eAAe,GAAG,gBAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/base.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAET,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAIU,QAAA,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAIH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAEjC,QAAA,qBAAqB,GAAG,sBAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAIvD,QAAA,eAAe,GAAG,gBAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC"}
@@ -40,17 +40,18 @@ export declare const _UserCoverageReport: z.ZodObject<{
40
40
  firstName: z.ZodOptional<z.ZodString>;
41
41
  lastName: z.ZodOptional<z.ZodString>;
42
42
  userAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
43
- createdAt: z.ZodString;
44
- updatedAt: z.ZodString;
45
- deletedAt: z.ZodNullable<z.ZodString>;
46
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
47
- etag: z.ZodString;
48
- uid: z.ZodString;
49
43
  cid: z.ZodString;
44
+ uid: z.ZodString;
50
45
  email: z.ZodString;
51
46
  extId: z.ZodString;
52
47
  meta: z.ZodUnknown;
48
+ id: z.ZodString;
49
+ createdAt: z.ZodString;
50
+ updatedAt: z.ZodString;
51
+ deletedAt: z.ZodNullable<z.ZodString>;
52
+ etag: z.ZodString;
53
53
  }, "strip", z.ZodTypeAny, {
54
+ id: string;
54
55
  cid: string;
55
56
  uid: string;
56
57
  createdAt: string;
@@ -59,9 +60,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
59
60
  email: string;
60
61
  etag: string;
61
62
  extId: string;
62
- id?: string | undefined;
63
63
  meta?: unknown;
64
64
  }, {
65
+ id: string;
65
66
  cid: string;
66
67
  uid: string;
67
68
  createdAt: string;
@@ -70,15 +71,13 @@ export declare const _UserCoverageReport: z.ZodObject<{
70
71
  email: string;
71
72
  etag: string;
72
73
  extId: string;
73
- id?: string | undefined;
74
74
  meta?: unknown;
75
75
  }>, "many">>;
76
76
  assetAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
77
- createdAt: z.ZodString;
78
- updatedAt: z.ZodString;
79
- deletedAt: z.ZodNullable<z.ZodString>;
80
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
81
- etag: z.ZodString;
77
+ cid: z.ZodString;
78
+ uid: z.ZodOptional<z.ZodString>;
79
+ aid: z.ZodString;
80
+ displayValue: z.ZodString;
82
81
  extKeys: z.ZodObject<{
83
82
  extId: z.ZodOptional<z.ZodString>;
84
83
  sn: z.ZodOptional<z.ZodString>;
@@ -92,12 +91,14 @@ export declare const _UserCoverageReport: z.ZodObject<{
92
91
  extId?: string | undefined;
93
92
  sn?: string | undefined;
94
93
  }>;
95
- cid: z.ZodString;
96
- aid: z.ZodString;
97
- uid: z.ZodOptional<z.ZodString>;
98
- displayValue: z.ZodString;
99
94
  meta: z.ZodUnknown;
95
+ id: z.ZodString;
96
+ createdAt: z.ZodString;
97
+ updatedAt: z.ZodString;
98
+ deletedAt: z.ZodNullable<z.ZodString>;
99
+ etag: z.ZodString;
100
100
  }, "strip", z.ZodTypeAny, {
101
+ id: string;
101
102
  cid: string;
102
103
  aid: string;
103
104
  createdAt: string;
@@ -110,10 +111,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
110
111
  extId?: string | undefined;
111
112
  sn?: string | undefined;
112
113
  };
113
- id?: string | undefined;
114
114
  uid?: string | undefined;
115
115
  meta?: unknown;
116
116
  }, {
117
+ id: string;
117
118
  cid: string;
118
119
  aid: string;
119
120
  createdAt: string;
@@ -126,16 +127,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
126
127
  extId?: string | undefined;
127
128
  sn?: string | undefined;
128
129
  };
129
- id?: string | undefined;
130
130
  uid?: string | undefined;
131
131
  meta?: unknown;
132
132
  }>, "many">>;
133
133
  assets: z.ZodArray<z.ZodObject<{
134
- createdAt: z.ZodString;
135
- updatedAt: z.ZodString;
136
- deletedAt: z.ZodNullable<z.ZodString>;
137
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
138
- etag: z.ZodString;
134
+ uid: z.ZodOptional<z.ZodString>;
135
+ displayValue: z.ZodString;
139
136
  extKeys: z.ZodObject<{
140
137
  extId: z.ZodOptional<z.ZodString>;
141
138
  sn: z.ZodOptional<z.ZodString>;
@@ -149,10 +146,14 @@ export declare const _UserCoverageReport: z.ZodObject<{
149
146
  extId?: string | undefined;
150
147
  sn?: string | undefined;
151
148
  }>;
152
- displayValue: z.ZodString;
153
- uid: z.ZodOptional<z.ZodString>;
154
149
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof import("./enums").GlobalAssetType>>;
150
+ id: z.ZodString;
151
+ createdAt: z.ZodString;
152
+ updatedAt: z.ZodString;
153
+ deletedAt: z.ZodNullable<z.ZodString>;
154
+ etag: z.ZodString;
155
155
  }, "strip", z.ZodTypeAny, {
156
+ id: string;
156
157
  createdAt: string;
157
158
  updatedAt: string;
158
159
  deletedAt: string | null;
@@ -163,10 +164,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
163
164
  extId?: string | undefined;
164
165
  sn?: string | undefined;
165
166
  };
166
- id?: string | undefined;
167
167
  uid?: string | undefined;
168
168
  assetType?: import("./enums").GlobalAssetType | undefined;
169
169
  }, {
170
+ id: string;
170
171
  createdAt: string;
171
172
  updatedAt: string;
172
173
  deletedAt: string | null;
@@ -177,12 +178,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
177
178
  extId?: string | undefined;
178
179
  sn?: string | undefined;
179
180
  };
180
- id?: string | undefined;
181
181
  uid?: string | undefined;
182
182
  assetType?: import("./enums").GlobalAssetType | undefined;
183
183
  }>, "many">;
184
184
  }, "strip", z.ZodTypeAny, {
185
185
  userAccounts: Record<string, {
186
+ id: string;
186
187
  cid: string;
187
188
  uid: string;
188
189
  createdAt: string;
@@ -191,10 +192,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
191
192
  email: string;
192
193
  etag: string;
193
194
  extId: string;
194
- id?: string | undefined;
195
195
  meta?: unknown;
196
196
  }[]>;
197
197
  assetAccounts: Record<string, {
198
+ id: string;
198
199
  cid: string;
199
200
  aid: string;
200
201
  createdAt: string;
@@ -207,11 +208,11 @@ export declare const _UserCoverageReport: z.ZodObject<{
207
208
  extId?: string | undefined;
208
209
  sn?: string | undefined;
209
210
  };
210
- id?: string | undefined;
211
211
  uid?: string | undefined;
212
212
  meta?: unknown;
213
213
  }[]>;
214
214
  assets: {
215
+ id: string;
215
216
  createdAt: string;
216
217
  updatedAt: string;
217
218
  deletedAt: string | null;
@@ -222,7 +223,6 @@ export declare const _UserCoverageReport: z.ZodObject<{
222
223
  extId?: string | undefined;
223
224
  sn?: string | undefined;
224
225
  };
225
- id?: string | undefined;
226
226
  uid?: string | undefined;
227
227
  assetType?: import("./enums").GlobalAssetType | undefined;
228
228
  }[];
@@ -235,6 +235,7 @@ export declare const _UserCoverageReport: z.ZodObject<{
235
235
  lastName?: string | undefined;
236
236
  }, {
237
237
  userAccounts: Record<string, {
238
+ id: string;
238
239
  cid: string;
239
240
  uid: string;
240
241
  createdAt: string;
@@ -243,10 +244,10 @@ export declare const _UserCoverageReport: z.ZodObject<{
243
244
  email: string;
244
245
  etag: string;
245
246
  extId: string;
246
- id?: string | undefined;
247
247
  meta?: unknown;
248
248
  }[]>;
249
249
  assetAccounts: Record<string, {
250
+ id: string;
250
251
  cid: string;
251
252
  aid: string;
252
253
  createdAt: string;
@@ -259,11 +260,11 @@ export declare const _UserCoverageReport: z.ZodObject<{
259
260
  extId?: string | undefined;
260
261
  sn?: string | undefined;
261
262
  };
262
- id?: string | undefined;
263
263
  uid?: string | undefined;
264
264
  meta?: unknown;
265
265
  }[]>;
266
266
  assets: {
267
+ id: string;
267
268
  createdAt: string;
268
269
  updatedAt: string;
269
270
  deletedAt: string | null;
@@ -274,7 +275,6 @@ export declare const _UserCoverageReport: z.ZodObject<{
274
275
  extId?: string | undefined;
275
276
  sn?: string | undefined;
276
277
  };
277
- id?: string | undefined;
278
278
  uid?: string | undefined;
279
279
  assetType?: import("./enums").GlobalAssetType | undefined;
280
280
  }[];
@@ -49,11 +49,10 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
49
49
  }>;
50
50
  export type SaasAssetUpsertDto = z.infer<typeof _SaasAssetUpsertDto>;
51
51
  export declare const _SaasAssetDto: z.ZodObject<{
52
- createdAt: z.ZodString;
53
- updatedAt: z.ZodString;
54
- deletedAt: z.ZodNullable<z.ZodString>;
55
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
56
- etag: z.ZodString;
52
+ cid: z.ZodString;
53
+ uid: z.ZodOptional<z.ZodString>;
54
+ aid: z.ZodString;
55
+ displayValue: z.ZodString;
57
56
  extKeys: z.ZodObject<{
58
57
  extId: z.ZodOptional<z.ZodString>;
59
58
  sn: z.ZodOptional<z.ZodString>;
@@ -67,12 +66,14 @@ export declare const _SaasAssetDto: z.ZodObject<{
67
66
  extId?: string | undefined;
68
67
  sn?: string | undefined;
69
68
  }>;
70
- cid: z.ZodString;
71
- aid: z.ZodString;
72
- uid: z.ZodOptional<z.ZodString>;
73
- displayValue: z.ZodString;
74
69
  meta: z.ZodUnknown;
70
+ id: z.ZodString;
71
+ createdAt: z.ZodString;
72
+ updatedAt: z.ZodString;
73
+ deletedAt: z.ZodNullable<z.ZodString>;
74
+ etag: z.ZodString;
75
75
  }, "strip", z.ZodTypeAny, {
76
+ id: string;
76
77
  cid: string;
77
78
  aid: string;
78
79
  createdAt: string;
@@ -85,10 +86,10 @@ export declare const _SaasAssetDto: z.ZodObject<{
85
86
  extId?: string | undefined;
86
87
  sn?: string | undefined;
87
88
  };
88
- id?: string | undefined;
89
89
  uid?: string | undefined;
90
90
  meta?: unknown;
91
91
  }, {
92
+ id: string;
92
93
  cid: string;
93
94
  aid: string;
94
95
  createdAt: string;
@@ -101,7 +102,6 @@ export declare const _SaasAssetDto: z.ZodObject<{
101
102
  extId?: string | undefined;
102
103
  sn?: string | undefined;
103
104
  };
104
- id?: string | undefined;
105
105
  uid?: string | undefined;
106
106
  meta?: unknown;
107
107
  }>;
@@ -18,5 +18,5 @@ exports._SaasAssetUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.obj
18
18
  /** Information specific to this asset */
19
19
  meta: zod_1.z.unknown(),
20
20
  }));
21
- exports._SaasAssetDto = base_dto_1._ChangeAwareDto.merge(exports._SaasAssetUpsertDto);
21
+ exports._SaasAssetDto = exports._SaasAssetUpsertDto.merge(base_dto_1._ChangeAwareDto);
22
22
  //# sourceMappingURL=saasAssets.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAErD,QAAA,mBAAmB,GAAG,gCAAqB,CAAC,KAAK,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,mBAAmB;IACnB,OAAO,EAAE,sBAAU;IACnB,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,eAAe;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,yCAAyC;IACzC,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CACH,CAAC;AAIW,QAAA,aAAa,GAAG,0BAAe,CAAC,KAAK,CAAC,2BAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAErD,QAAA,mBAAmB,GAAG,gCAAqB,CAAC,KAAK,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,mBAAmB;IACnB,OAAO,EAAE,sBAAU;IACnB,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,eAAe;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,yCAAyC;IACzC,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CACH,CAAC;AAIW,QAAA,aAAa,GAAG,2BAAmB,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
@@ -26,17 +26,18 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
26
26
  }>;
27
27
  export type SaasUserUpsertDto = z.infer<typeof _SaasUserUpsertDto>;
28
28
  export declare const _SaasUserDto: z.ZodObject<{
29
- createdAt: z.ZodString;
30
- updatedAt: z.ZodString;
31
- deletedAt: z.ZodNullable<z.ZodString>;
32
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUndefined]>>;
33
- etag: z.ZodString;
34
- uid: z.ZodString;
35
29
  cid: z.ZodString;
30
+ uid: z.ZodString;
36
31
  email: z.ZodString;
37
32
  extId: z.ZodString;
38
33
  meta: z.ZodUnknown;
34
+ id: z.ZodString;
35
+ createdAt: z.ZodString;
36
+ updatedAt: z.ZodString;
37
+ deletedAt: z.ZodNullable<z.ZodString>;
38
+ etag: z.ZodString;
39
39
  }, "strip", z.ZodTypeAny, {
40
+ id: string;
40
41
  cid: string;
41
42
  uid: string;
42
43
  createdAt: string;
@@ -45,9 +46,9 @@ export declare const _SaasUserDto: z.ZodObject<{
45
46
  email: string;
46
47
  etag: string;
47
48
  extId: string;
48
- id?: string | undefined;
49
49
  meta?: unknown;
50
50
  }, {
51
+ id: string;
51
52
  cid: string;
52
53
  uid: string;
53
54
  createdAt: string;
@@ -56,7 +57,6 @@ export declare const _SaasUserDto: z.ZodObject<{
56
57
  email: string;
57
58
  etag: string;
58
59
  extId: string;
59
- id?: string | undefined;
60
60
  meta?: unknown;
61
61
  }>;
62
62
  export type SaasUserDto = z.infer<typeof _SaasUserDto>;
@@ -15,5 +15,5 @@ exports._SaasUserUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.obje
15
15
  /** Additional information specific to this Saas User */
16
16
  meta: zod_1.z.unknown(),
17
17
  }));
18
- exports._SaasUserDto = base_dto_1._ChangeAwareDto.merge(exports._SaasUserUpsertDto);
18
+ exports._SaasUserDto = exports._SaasUserUpsertDto.merge(base_dto_1._ChangeAwareDto);
19
19
  //# sourceMappingURL=saasUsers.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"saasUsers.dto.js","sourceRoot":"","sources":["../../../src/dto/saasUsers.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAkE;AAErD,QAAA,kBAAkB,GAAG,gCAAqB,CAAC,KAAK,CAC3D,OAAC,CAAC,MAAM,CAAC;IACP,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,qBAAqB;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,kBAAkB;IAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,wDAAwD;IACxD,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CACH,CAAC;AAIW,QAAA,YAAY,GAAG,0BAAe,CAAC,KAAK,CAAC,0BAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"saasUsers.dto.js","sourceRoot":"","sources":["../../../src/dto/saasUsers.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAkE;AAErD,QAAA,kBAAkB,GAAG,gCAAqB,CAAC,KAAK,CAC3D,OAAC,CAAC,MAAM,CAAC;IACP,cAAc;IACd,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,mBAAmB;IACnB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,qBAAqB;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,kBAAkB;IAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,wDAAwD;IACxD,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;CAClB,CAAC,CACH,CAAC;AAIW,QAAA,YAAY,GAAG,0BAAkB,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "58.3.1",
3
+ "version": "58.3.2",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -27,6 +27,6 @@ export const _AssetUpsertDto = _ChangeAwareUpsertDto.merge(
27
27
 
28
28
  export type AssetUpsertDto = z.infer<typeof _AssetUpsertDto>;
29
29
 
30
- export const _AssetDto = _ChangeAwareDto.merge(_AssetUpsertDto);
30
+ export const _AssetDto = _AssetUpsertDto.merge(_ChangeAwareDto);
31
31
 
32
32
  export type AssetDto = z.infer<typeof _AssetDto>;
@@ -7,7 +7,7 @@ export const _BaseUpsertDto = z.object({
7
7
  export type BaseUpsertDto = z.infer<typeof _BaseUpsertDto>;
8
8
 
9
9
  export const _BaseDto = z.object({
10
- id: z.union([z.string(), z.undefined()]).optional(),
10
+ id: z.string(),
11
11
  createdAt: z.string(),
12
12
  updatedAt: z.string(),
13
13
  deletedAt: z.string().nullable(),
@@ -21,6 +21,6 @@ export const _SaasAssetUpsertDto = _ChangeAwareUpsertDto.merge(
21
21
 
22
22
  export type SaasAssetUpsertDto = z.infer<typeof _SaasAssetUpsertDto>;
23
23
 
24
- export const _SaasAssetDto = _ChangeAwareDto.merge(_SaasAssetUpsertDto);
24
+ export const _SaasAssetDto = _SaasAssetUpsertDto.merge(_ChangeAwareDto);
25
25
 
26
26
  export type SaasAssetDto = z.infer<typeof _SaasAssetDto>;
@@ -18,6 +18,6 @@ export const _SaasUserUpsertDto = _ChangeAwareUpsertDto.merge(
18
18
 
19
19
  export type SaasUserUpsertDto = z.infer<typeof _SaasUserUpsertDto>;
20
20
 
21
- export const _SaasUserDto = _ChangeAwareDto.merge(_SaasUserUpsertDto);
21
+ export const _SaasUserDto = _SaasUserUpsertDto.merge(_ChangeAwareDto);
22
22
 
23
23
  export type SaasUserDto = z.infer<typeof _SaasUserDto>;