@documenso/sdk-typescript 0.3.0 → 0.3.1
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/FUNCTIONS.md +5 -3
- package/README.md +110 -108
- package/bin/mcp-server.js +600 -1261
- package/bin/mcp-server.js.map +35 -43
- package/docs/sdks/documents/README.md +63 -140
- package/docs/sdks/templates/README.md +1 -78
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/files.d.ts +5 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +41 -0
- package/lib/files.js.map +1 -1
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +2 -6
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -2
- package/models/errors/index.js.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.d.ts +8 -8
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +16 -16
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
- package/models/operations/documentfinddocuments.d.ts +2 -2
- package/models/operations/documentfinddocuments.d.ts.map +1 -1
- package/models/operations/documentfinddocuments.js +2 -2
- package/models/operations/documentfinddocuments.js.map +1 -1
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts +8 -8
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts.map +1 -1
- package/models/operations/documentgetdocumentwithdetailsbyid.js +16 -16
- package/models/operations/documentgetdocumentwithdetailsbyid.js.map +1 -1
- package/models/operations/documentsenddocument.d.ts +2 -2
- package/models/operations/documentsenddocument.d.ts.map +1 -1
- package/models/operations/documentsenddocument.js +2 -2
- package/models/operations/documentsenddocument.js.map +1 -1
- package/models/operations/documentupdatedocument.d.ts +2 -2
- package/models/operations/documentupdatedocument.d.ts.map +1 -1
- package/models/operations/documentupdatedocument.js +2 -2
- package/models/operations/documentupdatedocument.js.map +1 -1
- package/models/operations/fieldcreatedocumentfield.d.ts +4 -4
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfield.js +12 -12
- package/models/operations/fieldcreatedocumentfield.js.map +1 -1
- package/models/operations/fieldcreatedocumentfields.d.ts +4 -4
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfields.js +12 -12
- package/models/operations/fieldcreatedocumentfields.js.map +1 -1
- package/models/operations/fieldcreatetemplatefield.d.ts +4 -4
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefield.js +12 -12
- package/models/operations/fieldcreatetemplatefield.js.map +1 -1
- package/models/operations/fieldcreatetemplatefields.d.ts +4 -4
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefields.js +12 -12
- package/models/operations/fieldcreatetemplatefields.js.map +1 -1
- package/models/operations/fieldgetdocumentfield.d.ts +4 -4
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/operations/fieldgetdocumentfield.js +12 -12
- package/models/operations/fieldgetdocumentfield.js.map +1 -1
- package/models/operations/fieldgettemplatefield.d.ts +4 -4
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
- package/models/operations/fieldgettemplatefield.js +12 -12
- package/models/operations/fieldgettemplatefield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfield.d.ts +4 -4
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfield.js +12 -12
- package/models/operations/fieldupdatedocumentfield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfields.d.ts +4 -4
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfields.js +12 -12
- package/models/operations/fieldupdatedocumentfields.js.map +1 -1
- package/models/operations/fieldupdatetemplatefield.d.ts +4 -4
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefield.js +12 -12
- package/models/operations/fieldupdatetemplatefield.js.map +1 -1
- package/models/operations/fieldupdatetemplatefields.d.ts +4 -4
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefields.js +12 -12
- package/models/operations/fieldupdatetemplatefields.js.map +1 -1
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +4 -4
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +12 -12
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +4 -4
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +12 -12
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +4 -4
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +12 -12
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +4 -4
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +12 -12
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +4 -4
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +12 -12
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +4 -4
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +12 -12
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +12 -12
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +28 -28
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/operations/templateduplicatetemplate.d.ts +2 -2
- package/models/operations/templateduplicatetemplate.d.ts.map +1 -1
- package/models/operations/templateduplicatetemplate.js +2 -2
- package/models/operations/templateduplicatetemplate.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +6 -6
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +14 -14
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategettemplatebyid.d.ts +8 -8
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +16 -16
- package/models/operations/templategettemplatebyid.js.map +1 -1
- package/models/operations/templateupdatetemplate.d.ts +2 -2
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +2 -2
- package/models/operations/templateupdatetemplate.js.map +1 -1
- package/package.json +1 -1
- package/sdk/documents.d.ts +4 -11
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +6 -16
- package/sdk/documents.js.map +1 -1
- package/sdk/templates.d.ts +0 -7
- package/sdk/templates.d.ts.map +1 -1
- package/sdk/templates.js +0 -10
- package/sdk/templates.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/files.ts +42 -0
- package/src/lib/security.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -6
- package/src/models/errors/index.ts +0 -2
- package/src/models/operations/documentcreatedocumenttemporary.ts +34 -34
- package/src/models/operations/documentfinddocuments.ts +4 -4
- package/src/models/operations/documentgetdocumentwithdetailsbyid.ts +49 -49
- package/src/models/operations/documentsenddocument.ts +4 -4
- package/src/models/operations/documentupdatedocument.ts +4 -4
- package/src/models/operations/fieldcreatedocumentfield.ts +35 -35
- package/src/models/operations/fieldcreatedocumentfields.ts +38 -38
- package/src/models/operations/fieldcreatetemplatefield.ts +35 -35
- package/src/models/operations/fieldcreatetemplatefields.ts +38 -38
- package/src/models/operations/fieldgetdocumentfield.ts +26 -26
- package/src/models/operations/fieldgettemplatefield.ts +26 -26
- package/src/models/operations/fieldupdatedocumentfield.ts +35 -35
- package/src/models/operations/fieldupdatedocumentfields.ts +38 -38
- package/src/models/operations/fieldupdatetemplatefield.ts +35 -35
- package/src/models/operations/fieldupdatetemplatefields.ts +38 -38
- package/src/models/operations/index.ts +0 -2
- package/src/models/operations/recipientgetdocumentrecipient.ts +31 -33
- package/src/models/operations/recipientgettemplaterecipient.ts +31 -33
- package/src/models/operations/recipientupdatedocumentrecipient.ts +36 -36
- package/src/models/operations/recipientupdatedocumentrecipients.ts +38 -38
- package/src/models/operations/recipientupdatetemplaterecipient.ts +36 -36
- package/src/models/operations/recipientupdatetemplaterecipients.ts +38 -38
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +73 -73
- package/src/models/operations/templateduplicatetemplate.ts +4 -4
- package/src/models/operations/templatefindtemplates.ts +30 -30
- package/src/models/operations/templategettemplatebyid.ts +34 -34
- package/src/models/operations/templateupdatetemplate.ts +4 -4
- package/src/sdk/documents.ts +14 -32
- package/src/sdk/templates.ts +0 -18
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
- package/funcs/documentsMoveToTeam.d.ts +0 -18
- package/funcs/documentsMoveToTeam.d.ts.map +0 -1
- package/funcs/documentsMoveToTeam.js +0 -118
- package/funcs/documentsMoveToTeam.js.map +0 -1
- package/funcs/templatesMoveToTeam.d.ts +0 -18
- package/funcs/templatesMoveToTeam.d.ts.map +0 -1
- package/funcs/templatesMoveToTeam.js +0 -118
- package/funcs/templatesMoveToTeam.js.map +0 -1
- package/mcp-server/tools/documentsMoveToTeam.d.ts +0 -8
- package/mcp-server/tools/documentsMoveToTeam.d.ts.map +0 -1
- package/mcp-server/tools/documentsMoveToTeam.js +0 -64
- package/mcp-server/tools/documentsMoveToTeam.js.map +0 -1
- package/mcp-server/tools/templatesMoveToTeam.d.ts +0 -8
- package/mcp-server/tools/templatesMoveToTeam.d.ts.map +0 -1
- package/mcp-server/tools/templatesMoveToTeam.js +0 -64
- package/mcp-server/tools/templatesMoveToTeam.js.map +0 -1
- package/models/errors/documentmovedocumenttoteam.d.ts +0 -143
- package/models/errors/documentmovedocumenttoteam.d.ts.map +0 -1
- package/models/errors/documentmovedocumenttoteam.js +0 -201
- package/models/errors/documentmovedocumenttoteam.js.map +0 -1
- package/models/errors/templatemovetemplatetoteam.d.ts +0 -143
- package/models/errors/templatemovetemplatetoteam.d.ts.map +0 -1
- package/models/errors/templatemovetemplatetoteam.js +0 -201
- package/models/errors/templatemovetemplatetoteam.js.map +0 -1
- package/models/operations/documentmovedocumenttoteam.d.ts +0 -310
- package/models/operations/documentmovedocumenttoteam.d.ts.map +0 -1
- package/models/operations/documentmovedocumenttoteam.js +0 -292
- package/models/operations/documentmovedocumenttoteam.js.map +0 -1
- package/models/operations/templatemovetemplatetoteam.d.ts +0 -239
- package/models/operations/templatemovetemplatetoteam.d.ts.map +0 -1
- package/models/operations/templatemovetemplatetoteam.js +0 -241
- package/models/operations/templatemovetemplatetoteam.js.map +0 -1
- package/src/funcs/documentsMoveToTeam.ts +0 -180
- package/src/funcs/templatesMoveToTeam.ts +0 -180
- package/src/mcp-server/tools/documentsMoveToTeam.ts +0 -37
- package/src/mcp-server/tools/templatesMoveToTeam.ts +0 -37
- package/src/models/errors/documentmovedocumenttoteam.ts +0 -358
- package/src/models/errors/templatemovetemplatetoteam.ts +0 -358
- package/src/models/operations/documentmovedocumenttoteam.ts +0 -529
- package/src/models/operations/templatemovetemplatetoteam.ts +0 -417
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { DocumensoError } from "./documensoerror.js";
|
|
4
|
-
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
-
export type TemplateMoveTemplateToTeamInternalServerErrorIssue = {
|
|
6
|
-
message: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Internal server error
|
|
10
|
-
*/
|
|
11
|
-
export type TemplateMoveTemplateToTeamInternalServerErrorData = {
|
|
12
|
-
message: string;
|
|
13
|
-
code: string;
|
|
14
|
-
issues?: Array<TemplateMoveTemplateToTeamInternalServerErrorIssue> | undefined;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Internal server error
|
|
18
|
-
*/
|
|
19
|
-
export declare class TemplateMoveTemplateToTeamInternalServerError extends DocumensoError {
|
|
20
|
-
code: string;
|
|
21
|
-
issues?: Array<TemplateMoveTemplateToTeamInternalServerErrorIssue> | undefined;
|
|
22
|
-
/** The original data that was passed to this error instance. */
|
|
23
|
-
data$: TemplateMoveTemplateToTeamInternalServerErrorData;
|
|
24
|
-
constructor(err: TemplateMoveTemplateToTeamInternalServerErrorData, httpMeta: {
|
|
25
|
-
response: Response;
|
|
26
|
-
request: Request;
|
|
27
|
-
body: string;
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
export type TemplateMoveTemplateToTeamBadRequestIssue = {
|
|
31
|
-
message: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Invalid input data
|
|
35
|
-
*/
|
|
36
|
-
export type TemplateMoveTemplateToTeamBadRequestErrorData = {
|
|
37
|
-
message: string;
|
|
38
|
-
code: string;
|
|
39
|
-
issues?: Array<TemplateMoveTemplateToTeamBadRequestIssue> | undefined;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Invalid input data
|
|
43
|
-
*/
|
|
44
|
-
export declare class TemplateMoveTemplateToTeamBadRequestError extends DocumensoError {
|
|
45
|
-
code: string;
|
|
46
|
-
issues?: Array<TemplateMoveTemplateToTeamBadRequestIssue> | undefined;
|
|
47
|
-
/** The original data that was passed to this error instance. */
|
|
48
|
-
data$: TemplateMoveTemplateToTeamBadRequestErrorData;
|
|
49
|
-
constructor(err: TemplateMoveTemplateToTeamBadRequestErrorData, httpMeta: {
|
|
50
|
-
response: Response;
|
|
51
|
-
request: Request;
|
|
52
|
-
body: string;
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
/** @internal */
|
|
56
|
-
export declare const TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
57
|
-
/** @internal */
|
|
58
|
-
export type TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound = {
|
|
59
|
-
message: string;
|
|
60
|
-
};
|
|
61
|
-
/** @internal */
|
|
62
|
-
export declare const TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamInternalServerErrorIssue>;
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
export declare namespace TemplateMoveTemplateToTeamInternalServerErrorIssue$ {
|
|
68
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema` instead. */
|
|
69
|
-
const inboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
70
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema` instead. */
|
|
71
|
-
const outboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamInternalServerErrorIssue>;
|
|
72
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound` instead. */
|
|
73
|
-
type Outbound = TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound;
|
|
74
|
-
}
|
|
75
|
-
export declare function templateMoveTemplateToTeamInternalServerErrorIssueToJSON(templateMoveTemplateToTeamInternalServerErrorIssue: TemplateMoveTemplateToTeamInternalServerErrorIssue): string;
|
|
76
|
-
export declare function templateMoveTemplateToTeamInternalServerErrorIssueFromJSON(jsonString: string): SafeParseResult<TemplateMoveTemplateToTeamInternalServerErrorIssue, SDKValidationError>;
|
|
77
|
-
/** @internal */
|
|
78
|
-
export declare const TemplateMoveTemplateToTeamInternalServerError$inboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerError, z.ZodTypeDef, unknown>;
|
|
79
|
-
/** @internal */
|
|
80
|
-
export type TemplateMoveTemplateToTeamInternalServerError$Outbound = {
|
|
81
|
-
message: string;
|
|
82
|
-
code: string;
|
|
83
|
-
issues?: Array<TemplateMoveTemplateToTeamInternalServerErrorIssue$Outbound> | undefined;
|
|
84
|
-
};
|
|
85
|
-
/** @internal */
|
|
86
|
-
export declare const TemplateMoveTemplateToTeamInternalServerError$outboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerError$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamInternalServerError>;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
-
*/
|
|
91
|
-
export declare namespace TemplateMoveTemplateToTeamInternalServerError$ {
|
|
92
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerError$inboundSchema` instead. */
|
|
93
|
-
const inboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerError, z.ZodTypeDef, unknown>;
|
|
94
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerError$outboundSchema` instead. */
|
|
95
|
-
const outboundSchema: z.ZodType<TemplateMoveTemplateToTeamInternalServerError$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamInternalServerError>;
|
|
96
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerError$Outbound` instead. */
|
|
97
|
-
type Outbound = TemplateMoveTemplateToTeamInternalServerError$Outbound;
|
|
98
|
-
}
|
|
99
|
-
/** @internal */
|
|
100
|
-
export declare const TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
101
|
-
/** @internal */
|
|
102
|
-
export type TemplateMoveTemplateToTeamBadRequestIssue$Outbound = {
|
|
103
|
-
message: string;
|
|
104
|
-
};
|
|
105
|
-
/** @internal */
|
|
106
|
-
export declare const TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestIssue$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamBadRequestIssue>;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
-
*/
|
|
111
|
-
export declare namespace TemplateMoveTemplateToTeamBadRequestIssue$ {
|
|
112
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema` instead. */
|
|
113
|
-
const inboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
114
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema` instead. */
|
|
115
|
-
const outboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestIssue$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamBadRequestIssue>;
|
|
116
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestIssue$Outbound` instead. */
|
|
117
|
-
type Outbound = TemplateMoveTemplateToTeamBadRequestIssue$Outbound;
|
|
118
|
-
}
|
|
119
|
-
export declare function templateMoveTemplateToTeamBadRequestIssueToJSON(templateMoveTemplateToTeamBadRequestIssue: TemplateMoveTemplateToTeamBadRequestIssue): string;
|
|
120
|
-
export declare function templateMoveTemplateToTeamBadRequestIssueFromJSON(jsonString: string): SafeParseResult<TemplateMoveTemplateToTeamBadRequestIssue, SDKValidationError>;
|
|
121
|
-
/** @internal */
|
|
122
|
-
export declare const TemplateMoveTemplateToTeamBadRequestError$inboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestError, z.ZodTypeDef, unknown>;
|
|
123
|
-
/** @internal */
|
|
124
|
-
export type TemplateMoveTemplateToTeamBadRequestError$Outbound = {
|
|
125
|
-
message: string;
|
|
126
|
-
code: string;
|
|
127
|
-
issues?: Array<TemplateMoveTemplateToTeamBadRequestIssue$Outbound> | undefined;
|
|
128
|
-
};
|
|
129
|
-
/** @internal */
|
|
130
|
-
export declare const TemplateMoveTemplateToTeamBadRequestError$outboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestError$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamBadRequestError>;
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
-
*/
|
|
135
|
-
export declare namespace TemplateMoveTemplateToTeamBadRequestError$ {
|
|
136
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestError$inboundSchema` instead. */
|
|
137
|
-
const inboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestError, z.ZodTypeDef, unknown>;
|
|
138
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestError$outboundSchema` instead. */
|
|
139
|
-
const outboundSchema: z.ZodType<TemplateMoveTemplateToTeamBadRequestError$Outbound, z.ZodTypeDef, TemplateMoveTemplateToTeamBadRequestError>;
|
|
140
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestError$Outbound` instead. */
|
|
141
|
-
type Outbound = TemplateMoveTemplateToTeamBadRequestError$Outbound;
|
|
142
|
-
}
|
|
143
|
-
//# sourceMappingURL=templatemovetemplatetoteam.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templatemovetemplatetoteam.d.ts","sourceRoot":"","sources":["../../src/models/errors/templatemovetemplatetoteam.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,kDAAkD,CAAC,GACzD,SAAS,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,qBAAa,6CACX,SAAQ,cAAc;IAEtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,kDAAkD,CAAC,GACzD,SAAS,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,iDAAiD,CAAC;gBAGvD,GAAG,EAAE,iDAAiD,EACtD,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAYnE;AAED,MAAM,MAAM,yCAAyC,GAAG;IACtD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAA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,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,kDAAkD,CAAC,GACzD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,yCAAyC,CAStC,CAAC;AAER;;;GAGG;AACH,yBAAiB,0CAA0C,CAAC;IAC1D,yFAAyF;IAClF,MAAM,aAAa,6EAC+B,CAAC;IAC1D,0FAA0F;IACnF,MAAM,cAAc,wHAC+B,CAAC;IAC3D,oFAAoF;IACpF,KAAY,QAAQ,GAAG,kDAAkD,CAAC;CAC3E"}
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.TemplateMoveTemplateToTeamBadRequestError$ = exports.TemplateMoveTemplateToTeamBadRequestError$outboundSchema = exports.TemplateMoveTemplateToTeamBadRequestError$inboundSchema = exports.TemplateMoveTemplateToTeamBadRequestIssue$ = exports.TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema = exports.TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema = exports.TemplateMoveTemplateToTeamInternalServerError$ = exports.TemplateMoveTemplateToTeamInternalServerError$outboundSchema = exports.TemplateMoveTemplateToTeamInternalServerError$inboundSchema = exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$ = exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema = exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema = exports.TemplateMoveTemplateToTeamBadRequestError = exports.TemplateMoveTemplateToTeamInternalServerError = void 0;
|
|
40
|
-
exports.templateMoveTemplateToTeamInternalServerErrorIssueToJSON = templateMoveTemplateToTeamInternalServerErrorIssueToJSON;
|
|
41
|
-
exports.templateMoveTemplateToTeamInternalServerErrorIssueFromJSON = templateMoveTemplateToTeamInternalServerErrorIssueFromJSON;
|
|
42
|
-
exports.templateMoveTemplateToTeamBadRequestIssueToJSON = templateMoveTemplateToTeamBadRequestIssueToJSON;
|
|
43
|
-
exports.templateMoveTemplateToTeamBadRequestIssueFromJSON = templateMoveTemplateToTeamBadRequestIssueFromJSON;
|
|
44
|
-
const z = __importStar(require("zod"));
|
|
45
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
-
const documensoerror_js_1 = require("./documensoerror.js");
|
|
47
|
-
/**
|
|
48
|
-
* Internal server error
|
|
49
|
-
*/
|
|
50
|
-
class TemplateMoveTemplateToTeamInternalServerError extends documensoerror_js_1.DocumensoError {
|
|
51
|
-
constructor(err, httpMeta) {
|
|
52
|
-
const message = "message" in err && typeof err.message === "string"
|
|
53
|
-
? err.message
|
|
54
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
55
|
-
super(message, httpMeta);
|
|
56
|
-
this.data$ = err;
|
|
57
|
-
this.code = err.code;
|
|
58
|
-
if (err.issues != null)
|
|
59
|
-
this.issues = err.issues;
|
|
60
|
-
this.name = "TemplateMoveTemplateToTeamInternalServerError";
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.TemplateMoveTemplateToTeamInternalServerError = TemplateMoveTemplateToTeamInternalServerError;
|
|
64
|
-
/**
|
|
65
|
-
* Invalid input data
|
|
66
|
-
*/
|
|
67
|
-
class TemplateMoveTemplateToTeamBadRequestError extends documensoerror_js_1.DocumensoError {
|
|
68
|
-
constructor(err, httpMeta) {
|
|
69
|
-
const message = "message" in err && typeof err.message === "string"
|
|
70
|
-
? err.message
|
|
71
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
72
|
-
super(message, httpMeta);
|
|
73
|
-
this.data$ = err;
|
|
74
|
-
this.code = err.code;
|
|
75
|
-
if (err.issues != null)
|
|
76
|
-
this.issues = err.issues;
|
|
77
|
-
this.name = "TemplateMoveTemplateToTeamBadRequestError";
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.TemplateMoveTemplateToTeamBadRequestError = TemplateMoveTemplateToTeamBadRequestError;
|
|
81
|
-
/** @internal */
|
|
82
|
-
exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema = z.object({
|
|
83
|
-
message: z.string(),
|
|
84
|
-
});
|
|
85
|
-
/** @internal */
|
|
86
|
-
exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema = z.object({
|
|
87
|
-
message: z.string(),
|
|
88
|
-
});
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
-
*/
|
|
93
|
-
var TemplateMoveTemplateToTeamInternalServerErrorIssue$;
|
|
94
|
-
(function (TemplateMoveTemplateToTeamInternalServerErrorIssue$) {
|
|
95
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema` instead. */
|
|
96
|
-
TemplateMoveTemplateToTeamInternalServerErrorIssue$.inboundSchema = exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema;
|
|
97
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema` instead. */
|
|
98
|
-
TemplateMoveTemplateToTeamInternalServerErrorIssue$.outboundSchema = exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema;
|
|
99
|
-
})(TemplateMoveTemplateToTeamInternalServerErrorIssue$ || (exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$ = TemplateMoveTemplateToTeamInternalServerErrorIssue$ = {}));
|
|
100
|
-
function templateMoveTemplateToTeamInternalServerErrorIssueToJSON(templateMoveTemplateToTeamInternalServerErrorIssue) {
|
|
101
|
-
return JSON.stringify(exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema.parse(templateMoveTemplateToTeamInternalServerErrorIssue));
|
|
102
|
-
}
|
|
103
|
-
function templateMoveTemplateToTeamInternalServerErrorIssueFromJSON(jsonString) {
|
|
104
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateMoveTemplateToTeamInternalServerErrorIssue' from JSON`);
|
|
105
|
-
}
|
|
106
|
-
/** @internal */
|
|
107
|
-
exports.TemplateMoveTemplateToTeamInternalServerError$inboundSchema = z.object({
|
|
108
|
-
message: z.string(),
|
|
109
|
-
code: z.string(),
|
|
110
|
-
issues: z.array(z.lazy(() => exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$inboundSchema)).optional(),
|
|
111
|
-
request$: z.instanceof(Request),
|
|
112
|
-
response$: z.instanceof(Response),
|
|
113
|
-
body$: z.string(),
|
|
114
|
-
})
|
|
115
|
-
.transform((v) => {
|
|
116
|
-
return new TemplateMoveTemplateToTeamInternalServerError(v, {
|
|
117
|
-
request: v.request$,
|
|
118
|
-
response: v.response$,
|
|
119
|
-
body: v.body$,
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
/** @internal */
|
|
123
|
-
exports.TemplateMoveTemplateToTeamInternalServerError$outboundSchema = z.instanceof(TemplateMoveTemplateToTeamInternalServerError)
|
|
124
|
-
.transform(v => v.data$)
|
|
125
|
-
.pipe(z.object({
|
|
126
|
-
message: z.string(),
|
|
127
|
-
code: z.string(),
|
|
128
|
-
issues: z.array(z.lazy(() => exports.TemplateMoveTemplateToTeamInternalServerErrorIssue$outboundSchema)).optional(),
|
|
129
|
-
}));
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
133
|
-
*/
|
|
134
|
-
var TemplateMoveTemplateToTeamInternalServerError$;
|
|
135
|
-
(function (TemplateMoveTemplateToTeamInternalServerError$) {
|
|
136
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerError$inboundSchema` instead. */
|
|
137
|
-
TemplateMoveTemplateToTeamInternalServerError$.inboundSchema = exports.TemplateMoveTemplateToTeamInternalServerError$inboundSchema;
|
|
138
|
-
/** @deprecated use `TemplateMoveTemplateToTeamInternalServerError$outboundSchema` instead. */
|
|
139
|
-
TemplateMoveTemplateToTeamInternalServerError$.outboundSchema = exports.TemplateMoveTemplateToTeamInternalServerError$outboundSchema;
|
|
140
|
-
})(TemplateMoveTemplateToTeamInternalServerError$ || (exports.TemplateMoveTemplateToTeamInternalServerError$ = TemplateMoveTemplateToTeamInternalServerError$ = {}));
|
|
141
|
-
/** @internal */
|
|
142
|
-
exports.TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema = z.object({
|
|
143
|
-
message: z.string(),
|
|
144
|
-
});
|
|
145
|
-
/** @internal */
|
|
146
|
-
exports.TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema = z.object({
|
|
147
|
-
message: z.string(),
|
|
148
|
-
});
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
152
|
-
*/
|
|
153
|
-
var TemplateMoveTemplateToTeamBadRequestIssue$;
|
|
154
|
-
(function (TemplateMoveTemplateToTeamBadRequestIssue$) {
|
|
155
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema` instead. */
|
|
156
|
-
TemplateMoveTemplateToTeamBadRequestIssue$.inboundSchema = exports.TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema;
|
|
157
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema` instead. */
|
|
158
|
-
TemplateMoveTemplateToTeamBadRequestIssue$.outboundSchema = exports.TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema;
|
|
159
|
-
})(TemplateMoveTemplateToTeamBadRequestIssue$ || (exports.TemplateMoveTemplateToTeamBadRequestIssue$ = TemplateMoveTemplateToTeamBadRequestIssue$ = {}));
|
|
160
|
-
function templateMoveTemplateToTeamBadRequestIssueToJSON(templateMoveTemplateToTeamBadRequestIssue) {
|
|
161
|
-
return JSON.stringify(exports.TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema.parse(templateMoveTemplateToTeamBadRequestIssue));
|
|
162
|
-
}
|
|
163
|
-
function templateMoveTemplateToTeamBadRequestIssueFromJSON(jsonString) {
|
|
164
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateMoveTemplateToTeamBadRequestIssue' from JSON`);
|
|
165
|
-
}
|
|
166
|
-
/** @internal */
|
|
167
|
-
exports.TemplateMoveTemplateToTeamBadRequestError$inboundSchema = z.object({
|
|
168
|
-
message: z.string(),
|
|
169
|
-
code: z.string(),
|
|
170
|
-
issues: z.array(z.lazy(() => exports.TemplateMoveTemplateToTeamBadRequestIssue$inboundSchema)).optional(),
|
|
171
|
-
request$: z.instanceof(Request),
|
|
172
|
-
response$: z.instanceof(Response),
|
|
173
|
-
body$: z.string(),
|
|
174
|
-
})
|
|
175
|
-
.transform((v) => {
|
|
176
|
-
return new TemplateMoveTemplateToTeamBadRequestError(v, {
|
|
177
|
-
request: v.request$,
|
|
178
|
-
response: v.response$,
|
|
179
|
-
body: v.body$,
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
/** @internal */
|
|
183
|
-
exports.TemplateMoveTemplateToTeamBadRequestError$outboundSchema = z.instanceof(TemplateMoveTemplateToTeamBadRequestError)
|
|
184
|
-
.transform(v => v.data$)
|
|
185
|
-
.pipe(z.object({
|
|
186
|
-
message: z.string(),
|
|
187
|
-
code: z.string(),
|
|
188
|
-
issues: z.array(z.lazy(() => exports.TemplateMoveTemplateToTeamBadRequestIssue$outboundSchema)).optional(),
|
|
189
|
-
}));
|
|
190
|
-
/**
|
|
191
|
-
* @internal
|
|
192
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
193
|
-
*/
|
|
194
|
-
var TemplateMoveTemplateToTeamBadRequestError$;
|
|
195
|
-
(function (TemplateMoveTemplateToTeamBadRequestError$) {
|
|
196
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestError$inboundSchema` instead. */
|
|
197
|
-
TemplateMoveTemplateToTeamBadRequestError$.inboundSchema = exports.TemplateMoveTemplateToTeamBadRequestError$inboundSchema;
|
|
198
|
-
/** @deprecated use `TemplateMoveTemplateToTeamBadRequestError$outboundSchema` instead. */
|
|
199
|
-
TemplateMoveTemplateToTeamBadRequestError$.outboundSchema = exports.TemplateMoveTemplateToTeamBadRequestError$outboundSchema;
|
|
200
|
-
})(TemplateMoveTemplateToTeamBadRequestError$ || (exports.TemplateMoveTemplateToTeamBadRequestError$ = TemplateMoveTemplateToTeamBadRequestError$ = {}));
|
|
201
|
-
//# sourceMappingURL=templatemovetemplatetoteam.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templatemovetemplatetoteam.js","sourceRoot":"","sources":["../../src/models/errors/templatemovetemplatetoteam.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqIH,4HASC;AAED,gIAcC;AA6GD,0GASC;AAED,8GAcC;AAlSD,uCAAyB;AACzB,qDAAiD;AAEjD,2DAAqD;AAkBrD;;GAEG;AACH,MAAa,6CACX,SAAQ,kCAAc;IAUtB,YACE,GAAsD,EACtD,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CA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