@ampsec/platform-client 59.5.0 → 59.6.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.
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +61 -0
- package/build/src/dto/platform/platform.saasAssets.dto.js +6 -0
- package/build/src/dto/platform/platform.saasAssets.dto.js.map +1 -1
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +38 -0
- package/build/src/dto/platform/platform.saasUsers.dto.js +6 -0
- package/build/src/dto/platform/platform.saasUsers.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/platform/platform.saasAssets.dto.ts +12 -2
- package/src/dto/platform/platform.saasUsers.dto.ts +11 -2
|
@@ -1,4 +1,65 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { SaasAssetDto, SaasAssetUpsertDto } from '../saasAssets.dto';
|
|
2
3
|
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
4
|
export type PlatformSaasAssetUpsertDto = SaasAssetUpsertDto & UpsertTenantBased;
|
|
4
5
|
export type PlatformSaasAssetDto = SaasAssetDto & TenantBased;
|
|
6
|
+
export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
cid: z.ZodString;
|
|
9
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
10
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
etag: z.ZodString;
|
|
14
|
+
displayValue: z.ZodString;
|
|
15
|
+
extKeys: z.ZodObject<{
|
|
16
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
18
|
+
macs: z.ZodArray<z.ZodString, "many">;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
macs: string[];
|
|
21
|
+
extId?: string | undefined;
|
|
22
|
+
sn?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
macs: string[];
|
|
25
|
+
extId?: string | undefined;
|
|
26
|
+
sn?: string | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
meta: z.ZodUnknown;
|
|
29
|
+
aid: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
cid: string;
|
|
32
|
+
etag: string;
|
|
33
|
+
displayValue: string;
|
|
34
|
+
extKeys: {
|
|
35
|
+
macs: string[];
|
|
36
|
+
extId?: string | undefined;
|
|
37
|
+
sn?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
id?: string | undefined;
|
|
40
|
+
uid?: string | undefined;
|
|
41
|
+
createdAt?: string | undefined;
|
|
42
|
+
updatedAt?: string | undefined;
|
|
43
|
+
deletedAt?: string | null | undefined;
|
|
44
|
+
meta?: unknown;
|
|
45
|
+
aid?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
cid: string;
|
|
48
|
+
etag: string;
|
|
49
|
+
displayValue: string;
|
|
50
|
+
extKeys: {
|
|
51
|
+
macs: string[];
|
|
52
|
+
extId?: string | undefined;
|
|
53
|
+
sn?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
id?: string | undefined;
|
|
56
|
+
uid?: string | undefined;
|
|
57
|
+
createdAt?: string | undefined;
|
|
58
|
+
updatedAt?: string | undefined;
|
|
59
|
+
deletedAt?: string | null | undefined;
|
|
60
|
+
meta?: unknown;
|
|
61
|
+
aid?: string | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export type StagedSaasAssetUpsertDto = z.infer<typeof _StagedSaasAssetUpsertDto>;
|
|
64
|
+
export type PlatformStagedSaasAssetUpsertDto = StagedSaasAssetUpsertDto & UpsertTenantBased;
|
|
65
|
+
export type PlatformStagedSaasAssetDto = StagedSaasAssetUpsertDto & TenantBased;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._StagedSaasAssetUpsertDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const saasAssets_dto_1 = require("../saasAssets.dto");
|
|
6
|
+
exports._StagedSaasAssetUpsertDto = saasAssets_dto_1._SaasAssetUpsertDto.extend({
|
|
7
|
+
aid: zod_1.z.string().optional(),
|
|
8
|
+
});
|
|
3
9
|
//# sourceMappingURL=platform.saasAssets.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.saasAssets.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.saasAssets.dto.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"platform.saasAssets.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,sDAAwF;AAM3E,QAAA,yBAAyB,GAAG,oCAAmB,CAAC,MAAM,CAAC;IAClE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC"}
|
|
@@ -1,4 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { SaasUserUpsertDto } from '../saasUsers.dto';
|
|
2
3
|
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
4
|
export type PlatformSaasUserUpsertDto = SaasUserUpsertDto & UpsertTenantBased;
|
|
4
5
|
export type PlatformSaasUserDto = SaasUserUpsertDto & TenantBased;
|
|
6
|
+
export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
|
|
7
|
+
email: z.ZodString;
|
|
8
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
cid: z.ZodString;
|
|
10
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
etag: z.ZodString;
|
|
14
|
+
extId: z.ZodString;
|
|
15
|
+
meta: z.ZodUnknown;
|
|
16
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
email: string;
|
|
19
|
+
cid: string;
|
|
20
|
+
etag: string;
|
|
21
|
+
extId: string;
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
createdAt?: string | undefined;
|
|
24
|
+
updatedAt?: string | undefined;
|
|
25
|
+
deletedAt?: string | null | undefined;
|
|
26
|
+
meta?: unknown;
|
|
27
|
+
uid?: string | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
email: string;
|
|
30
|
+
cid: string;
|
|
31
|
+
etag: string;
|
|
32
|
+
extId: string;
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
createdAt?: string | undefined;
|
|
35
|
+
updatedAt?: string | undefined;
|
|
36
|
+
deletedAt?: string | null | undefined;
|
|
37
|
+
meta?: unknown;
|
|
38
|
+
uid?: string | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
export type StagedSaasUserUpsertDto = z.infer<typeof _StagedSaasUserUpsertDto>;
|
|
41
|
+
export type PlatformStagedSaasUserUpsertDto = StagedSaasUserUpsertDto & UpsertTenantBased;
|
|
42
|
+
export type PlatformStagedSaasUserDto = StagedSaasUserUpsertDto & TenantBased;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._StagedSaasUserUpsertDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const saasUsers_dto_1 = require("../saasUsers.dto");
|
|
6
|
+
exports._StagedSaasUserUpsertDto = saasUsers_dto_1._SaasUserUpsertDto.extend({
|
|
7
|
+
uid: zod_1.z.string().optional(),
|
|
8
|
+
});
|
|
3
9
|
//# sourceMappingURL=platform.saasUsers.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.saasUsers.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.saasUsers.dto.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"platform.saasUsers.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.saasUsers.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,oDAAuE;AAM1D,QAAA,wBAAwB,GAAG,kCAAkB,CAAC,MAAM,CAAC;IAChE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import {z} from 'zod';
|
|
2
|
+
import {SaasAssetDto, SaasAssetUpsertDto, _SaasAssetUpsertDto} from '../saasAssets.dto';
|
|
3
|
+
import {TenantBased, UpsertTenantBased, _UpsertTenantBased} from './tenant.based.dto';
|
|
3
4
|
|
|
4
5
|
export type PlatformSaasAssetUpsertDto = SaasAssetUpsertDto & UpsertTenantBased;
|
|
5
6
|
export type PlatformSaasAssetDto = SaasAssetDto & TenantBased;
|
|
7
|
+
|
|
8
|
+
export const _StagedSaasAssetUpsertDto = _SaasAssetUpsertDto.extend({
|
|
9
|
+
aid: z.string().optional(),
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export type StagedSaasAssetUpsertDto = z.infer<typeof _StagedSaasAssetUpsertDto>;
|
|
13
|
+
|
|
14
|
+
export type PlatformStagedSaasAssetUpsertDto = StagedSaasAssetUpsertDto & UpsertTenantBased;
|
|
15
|
+
export type PlatformStagedSaasAssetDto = StagedSaasAssetUpsertDto & TenantBased;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {z} from 'zod';
|
|
2
|
+
import {SaasUserUpsertDto, _SaasUserUpsertDto} from '../saasUsers.dto';
|
|
2
3
|
import {TenantBased, UpsertTenantBased} from './tenant.based.dto';
|
|
3
4
|
|
|
4
5
|
export type PlatformSaasUserUpsertDto = SaasUserUpsertDto & UpsertTenantBased;
|
|
5
|
-
|
|
6
6
|
export type PlatformSaasUserDto = SaasUserUpsertDto & TenantBased;
|
|
7
|
+
|
|
8
|
+
export const _StagedSaasUserUpsertDto = _SaasUserUpsertDto.extend({
|
|
9
|
+
uid: z.string().optional(),
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export type StagedSaasUserUpsertDto = z.infer<typeof _StagedSaasUserUpsertDto>;
|
|
13
|
+
|
|
14
|
+
export type PlatformStagedSaasUserUpsertDto = StagedSaasUserUpsertDto & UpsertTenantBased;
|
|
15
|
+
export type PlatformStagedSaasUserDto = StagedSaasUserUpsertDto & TenantBased;
|