@mutagent/sdk 0.8.70 → 0.8.72
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/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/operations/get-factory-stage-run.d.ts +15 -0
- package/dist/commonjs/models/operations/get-factory-stage-run.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-factory-stage-run.js +10 -1
- package/dist/commonjs/models/operations/get-factory-stage-run.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/operations/get-factory-stage-run.d.ts +15 -0
- package/dist/esm/models/operations/get-factory-stage-run.d.ts.map +1 -1
- package/dist/esm/models/operations/get-factory-stage-run.js +9 -0
- package/dist/esm/models/operations/get-factory-stage-run.js.map +1 -1
- package/package.json +1 -1
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.8.
|
|
38
|
+
readonly sdkVersion: "0.8.72";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.8.72 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "2.0.0",
|
|
38
|
-
sdkVersion: "0.8.
|
|
38
|
+
sdkVersion: "0.8.72",
|
|
39
39
|
genVersion: "2.938.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.8.72 2.938.0 2.0.0 @mutagent/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
2
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
4
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
5
|
import * as models from "../index.js";
|
|
@@ -8,10 +9,22 @@ export type GetFactoryStageRunRequest = {
|
|
|
8
9
|
*/
|
|
9
10
|
id: string;
|
|
10
11
|
};
|
|
12
|
+
export declare enum VerdictSource {
|
|
13
|
+
Report = "report",
|
|
14
|
+
Run = "run"
|
|
15
|
+
}
|
|
16
|
+
export type VerdictSourceOpen = OpenEnum<typeof VerdictSource>;
|
|
11
17
|
export type Report = {
|
|
12
18
|
id: string;
|
|
13
19
|
title: string;
|
|
20
|
+
/**
|
|
21
|
+
* The report's own verdict when it has one (pass, fail or mixed); otherwise its run's (e.g. PASS, BLOCKED); null when neither is set yet
|
|
22
|
+
*/
|
|
14
23
|
verdict: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Where verdict comes from: report (set on the report) or run (the stage run's, shown because the report has none); null when verdict is null
|
|
26
|
+
*/
|
|
27
|
+
verdictSource: VerdictSourceOpen | null;
|
|
15
28
|
};
|
|
16
29
|
/**
|
|
17
30
|
* Findings extracted from those reports
|
|
@@ -36,6 +49,8 @@ export type GetFactoryStageRunRequest$Outbound = {
|
|
|
36
49
|
export declare const GetFactoryStageRunRequest$outboundSchema: z.ZodMiniType<GetFactoryStageRunRequest$Outbound, GetFactoryStageRunRequest>;
|
|
37
50
|
export declare function getFactoryStageRunRequestToJSON(getFactoryStageRunRequest: GetFactoryStageRunRequest): string;
|
|
38
51
|
/** @internal */
|
|
52
|
+
export declare const VerdictSource$inboundSchema: z.ZodMiniType<VerdictSourceOpen, unknown>;
|
|
53
|
+
/** @internal */
|
|
39
54
|
export declare const Report$inboundSchema: z.ZodMiniType<Report, unknown>;
|
|
40
55
|
export declare function reportFromJSON(jsonString: string): SafeParseResult<Report, SDKValidationError>;
|
|
41
56
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-factory-stage-run.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"get-factory-stage-run.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,0BAA0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
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.GetFactoryStageRunResponse$inboundSchema = exports.Findings$inboundSchema = exports.Report$inboundSchema = exports.GetFactoryStageRunRequest$outboundSchema = void 0;
|
|
39
|
+
exports.GetFactoryStageRunResponse$inboundSchema = exports.Findings$inboundSchema = exports.Report$inboundSchema = exports.VerdictSource$inboundSchema = exports.GetFactoryStageRunRequest$outboundSchema = exports.VerdictSource = void 0;
|
|
40
40
|
exports.getFactoryStageRunRequestToJSON = getFactoryStageRunRequestToJSON;
|
|
41
41
|
exports.reportFromJSON = reportFromJSON;
|
|
42
42
|
exports.findingsFromJSON = findingsFromJSON;
|
|
43
43
|
exports.getFactoryStageRunResponseFromJSON = getFactoryStageRunResponseFromJSON;
|
|
44
44
|
const z = __importStar(require("zod/v4-mini"));
|
|
45
45
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
46
47
|
const types = __importStar(require("../../types/primitives.js"));
|
|
47
48
|
const smart_union_js_1 = require("../../types/smart-union.js");
|
|
48
49
|
const models = __importStar(require("../index.js"));
|
|
50
|
+
var VerdictSource;
|
|
51
|
+
(function (VerdictSource) {
|
|
52
|
+
VerdictSource["Report"] = "report";
|
|
53
|
+
VerdictSource["Run"] = "run";
|
|
54
|
+
})(VerdictSource || (exports.VerdictSource = VerdictSource = {}));
|
|
49
55
|
/** @internal */
|
|
50
56
|
exports.GetFactoryStageRunRequest$outboundSchema = z.object({
|
|
51
57
|
id: z.string(),
|
|
@@ -54,10 +60,13 @@ function getFactoryStageRunRequestToJSON(getFactoryStageRunRequest) {
|
|
|
54
60
|
return JSON.stringify(exports.GetFactoryStageRunRequest$outboundSchema.parse(getFactoryStageRunRequest));
|
|
55
61
|
}
|
|
56
62
|
/** @internal */
|
|
63
|
+
exports.VerdictSource$inboundSchema = openEnums.inboundSchema(VerdictSource);
|
|
64
|
+
/** @internal */
|
|
57
65
|
exports.Report$inboundSchema = z.object({
|
|
58
66
|
id: types.string(),
|
|
59
67
|
title: types.string(),
|
|
60
68
|
verdict: types.nullable(types.string()),
|
|
69
|
+
verdictSource: types.nullable(exports.VerdictSource$inboundSchema),
|
|
61
70
|
});
|
|
62
71
|
function reportFromJSON(jsonString) {
|
|
63
72
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Report$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Report' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-factory-stage-run.js","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-factory-stage-run.js","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,0EAMC;AAgBD,wCAQC;AAMD,4CAQC;AAYD,gFAQC;AAlID,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AACnD,+DAAwD;AAExD,oDAAsC;AAStC,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,4BAAW,CAAA;AACb,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAsCD,gBAAgB;AACH,QAAA,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAE3C,gB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,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.8.
|
|
38
|
+
readonly sdkVersion: "0.8.72";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.8.72 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "2.0.0",
|
|
34
|
-
sdkVersion: "0.8.
|
|
34
|
+
sdkVersion: "0.8.72",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.8.72 2.938.0 2.0.0 @mutagent/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
2
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
4
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
5
|
import * as models from "../index.js";
|
|
@@ -8,10 +9,22 @@ export type GetFactoryStageRunRequest = {
|
|
|
8
9
|
*/
|
|
9
10
|
id: string;
|
|
10
11
|
};
|
|
12
|
+
export declare enum VerdictSource {
|
|
13
|
+
Report = "report",
|
|
14
|
+
Run = "run"
|
|
15
|
+
}
|
|
16
|
+
export type VerdictSourceOpen = OpenEnum<typeof VerdictSource>;
|
|
11
17
|
export type Report = {
|
|
12
18
|
id: string;
|
|
13
19
|
title: string;
|
|
20
|
+
/**
|
|
21
|
+
* The report's own verdict when it has one (pass, fail or mixed); otherwise its run's (e.g. PASS, BLOCKED); null when neither is set yet
|
|
22
|
+
*/
|
|
14
23
|
verdict: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Where verdict comes from: report (set on the report) or run (the stage run's, shown because the report has none); null when verdict is null
|
|
26
|
+
*/
|
|
27
|
+
verdictSource: VerdictSourceOpen | null;
|
|
15
28
|
};
|
|
16
29
|
/**
|
|
17
30
|
* Findings extracted from those reports
|
|
@@ -36,6 +49,8 @@ export type GetFactoryStageRunRequest$Outbound = {
|
|
|
36
49
|
export declare const GetFactoryStageRunRequest$outboundSchema: z.ZodMiniType<GetFactoryStageRunRequest$Outbound, GetFactoryStageRunRequest>;
|
|
37
50
|
export declare function getFactoryStageRunRequestToJSON(getFactoryStageRunRequest: GetFactoryStageRunRequest): string;
|
|
38
51
|
/** @internal */
|
|
52
|
+
export declare const VerdictSource$inboundSchema: z.ZodMiniType<VerdictSourceOpen, unknown>;
|
|
53
|
+
/** @internal */
|
|
39
54
|
export declare const Report$inboundSchema: z.ZodMiniType<Report, unknown>;
|
|
40
55
|
export declare function reportFromJSON(jsonString: string): SafeParseResult<Report, SDKValidationError>;
|
|
41
56
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-factory-stage-run.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"get-factory-stage-run.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,MAAM,MAAM,MAAM,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAGzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,iBAAiB,EACjB,OAAO,CACiC,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAK9D,CAAC;AAEH,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,CACtB,CAAC;AAE/C,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAKP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -3,9 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
6
7
|
import * as types from "../../types/primitives.js";
|
|
7
8
|
import { smartUnion } from "../../types/smart-union.js";
|
|
8
9
|
import * as models from "../index.js";
|
|
10
|
+
export var VerdictSource;
|
|
11
|
+
(function (VerdictSource) {
|
|
12
|
+
VerdictSource["Report"] = "report";
|
|
13
|
+
VerdictSource["Run"] = "run";
|
|
14
|
+
})(VerdictSource || (VerdictSource = {}));
|
|
9
15
|
/** @internal */
|
|
10
16
|
export const GetFactoryStageRunRequest$outboundSchema = z.object({
|
|
11
17
|
id: z.string(),
|
|
@@ -14,10 +20,13 @@ export function getFactoryStageRunRequestToJSON(getFactoryStageRunRequest) {
|
|
|
14
20
|
return JSON.stringify(GetFactoryStageRunRequest$outboundSchema.parse(getFactoryStageRunRequest));
|
|
15
21
|
}
|
|
16
22
|
/** @internal */
|
|
23
|
+
export const VerdictSource$inboundSchema = openEnums.inboundSchema(VerdictSource);
|
|
24
|
+
/** @internal */
|
|
17
25
|
export const Report$inboundSchema = z.object({
|
|
18
26
|
id: types.string(),
|
|
19
27
|
title: types.string(),
|
|
20
28
|
verdict: types.nullable(types.string()),
|
|
29
|
+
verdictSource: types.nullable(VerdictSource$inboundSchema),
|
|
21
30
|
});
|
|
22
31
|
export function reportFromJSON(jsonString) {
|
|
23
32
|
return safeParse(jsonString, (x) => Report$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Report' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-factory-stage-run.js","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-factory-stage-run.js","sourceRoot":"","sources":["../../../../src/models/operations/get-factory-stage-run.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAStC,MAAM,CAAN,IAAY,aAGX;AAH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