@marcoappio/marco-config 11.0.11 → 11.0.13
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/schemas/index.d.ts +10 -10
- package/dist/schemas/mutators/mutatorSchemas.d.ts +10 -10
- package/dist/schemas/mutators/mutatorSchemas.js +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.d.ts +9 -3
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.js +3 -1
- package/dist/sdk/endpoints/index.d.ts +80 -15
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +24 -4
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +8 -3
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +2 -2
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +7 -2
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +7 -2
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +1 -1
- package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/task/getTasks.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/task/getTasks.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +15 -10
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +7 -7
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +6 -1
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +12 -2
- package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +6 -1
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/index.d.ts +18 -3
- package/dist/sdk/endpoints/public/auth/browser/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +42 -7
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/revokeSession.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/revokeSession.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/config/index.d.ts +7 -2
- package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +7 -2
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +56 -11
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +86 -15
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +12 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +5 -0
- package/dist/sdk/validation/index.d.ts +6 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/auth/send-code", v.ObjectSchema<{
|
|
3
3
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
4
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
4
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
5
5
|
readonly data: v.ObjectSchema<{
|
|
6
6
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
7
7
|
readonly issues: v.ObjectSchema<{
|
|
@@ -23,5 +23,10 @@ export declare const sendAuthCode: import("../../../..").EndpointConfig<"/v1/pb/
|
|
|
23
23
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
24
24
|
}, undefined>, v.ObjectSchema<{
|
|
25
25
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
26
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
27
|
+
readonly data: v.ObjectSchema<{
|
|
28
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
26
31
|
}, undefined>], undefined>>;
|
|
27
32
|
//# sourceMappingURL=sendAuthCode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"sendAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/sendAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
|
|
@@ -3,7 +3,7 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
|
|
|
3
3
|
readonly authType: v.LiteralSchema<"CODE", undefined>;
|
|
4
4
|
readonly code: v.StringSchema<undefined>;
|
|
5
5
|
readonly email: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
6
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
7
7
|
readonly data: v.ObjectSchema<{
|
|
8
8
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
9
9
|
readonly issues: v.ObjectSchema<{
|
|
@@ -64,5 +64,10 @@ export declare const verifyAuthCode: import("../../../..").EndpointConfig<"/v1/p
|
|
|
64
64
|
}, undefined>;
|
|
65
65
|
}, undefined>;
|
|
66
66
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
67
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
68
|
+
readonly data: v.ObjectSchema<{
|
|
69
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
70
|
+
}, undefined>;
|
|
71
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
67
72
|
}, undefined>], undefined>>;
|
|
68
73
|
//# sourceMappingURL=verifyAuthCode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"verifyAuthCode.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/auth/verifyAuthCode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBzB,CAAA"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const config: import("../../../..").EndpointConfig<"/v1/pb/config", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const config: import("../../../..").EndpointConfig<"/v1/pb/config", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly app: v.ObjectSchema<{
|
|
5
5
|
readonly minimumVersion: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
6
|
}, undefined>;
|
|
7
7
|
}, undefined>;
|
|
8
8
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
9
|
-
}, undefined
|
|
9
|
+
}, undefined>, v.ObjectSchema<{
|
|
10
|
+
readonly data: v.ObjectSchema<{
|
|
11
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
14
|
+
}, undefined>], undefined>>;
|
|
10
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAK5B,eAAO,MAAM,MAAM;;;;;;;;;;;;2BAWjB,CAAA"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema | undefined, v.GenericSchema | undefined, v.ObjectSchema<{
|
|
2
|
+
export declare const healthcheck: import("../../../..").EndpointConfig<"/v1/pb/healthcheck", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly status: v.LiteralSchema<"ok", undefined>;
|
|
5
5
|
}, undefined>;
|
|
6
6
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
7
|
-
}, undefined
|
|
7
|
+
}, undefined>, v.ObjectSchema<{
|
|
8
|
+
readonly data: v.ObjectSchema<{
|
|
9
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
12
|
+
}, undefined>], undefined>>;
|
|
8
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/healthcheck/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/healthcheck/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,WAAW;;;;;;;;;;2BAOtB,CAAA"}
|
|
@@ -3,7 +3,7 @@ export declare const publicGroup: {
|
|
|
3
3
|
browser: {
|
|
4
4
|
deleteSession: import("../../..").EndpointConfig<"/v1/pb/auth/browser/session", import("valibot").GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
5
5
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
6
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
6
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
7
7
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
8
8
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
9
9
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -20,10 +20,15 @@ export declare const publicGroup: {
|
|
|
20
20
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
21
21
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
22
22
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
23
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
24
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
25
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
23
28
|
}, undefined>], undefined>>;
|
|
24
29
|
refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/browser/refresh", import("valibot").GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
25
30
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
26
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
31
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
27
32
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
28
33
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
29
34
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -58,6 +63,11 @@ export declare const publicGroup: {
|
|
|
58
63
|
}, undefined>;
|
|
59
64
|
}, undefined>;
|
|
60
65
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
66
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
67
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
68
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
69
|
+
}, undefined>;
|
|
70
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
61
71
|
}, undefined>], undefined>>;
|
|
62
72
|
verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/browser/verify-code", import("valibot").ObjectSchema<{
|
|
63
73
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
@@ -65,7 +75,7 @@ export declare const publicGroup: {
|
|
|
65
75
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
66
76
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
67
77
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
68
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
78
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
69
79
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
70
80
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
71
81
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -125,11 +135,16 @@ export declare const publicGroup: {
|
|
|
125
135
|
}, undefined>;
|
|
126
136
|
}, undefined>;
|
|
127
137
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
138
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
139
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
140
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
141
|
+
}, undefined>;
|
|
142
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
128
143
|
}, undefined>], undefined>>;
|
|
129
144
|
};
|
|
130
145
|
refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
131
146
|
readonly refreshToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
132
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
147
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
133
148
|
readonly data: import("valibot").ObjectSchema<{
|
|
134
149
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
135
150
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -165,10 +180,15 @@ export declare const publicGroup: {
|
|
|
165
180
|
}, undefined>;
|
|
166
181
|
}, undefined>;
|
|
167
182
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
183
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
184
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
185
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
186
|
+
}, undefined>;
|
|
187
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
168
188
|
}, undefined>], undefined>>;
|
|
169
189
|
revokeSession: import("../../..").EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
|
|
170
190
|
readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
171
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
191
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
172
192
|
readonly data: import("valibot").ObjectSchema<{
|
|
173
193
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
174
194
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -190,10 +210,15 @@ export declare const publicGroup: {
|
|
|
190
210
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
191
211
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
192
212
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
213
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
214
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
215
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
216
|
+
}, undefined>;
|
|
217
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
193
218
|
}, undefined>], undefined>>;
|
|
194
219
|
sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
195
220
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
196
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
221
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
197
222
|
readonly data: import("valibot").ObjectSchema<{
|
|
198
223
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
199
224
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -215,12 +240,17 @@ export declare const publicGroup: {
|
|
|
215
240
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
216
241
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
217
242
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
243
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
244
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
245
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
218
248
|
}, undefined>], undefined>>;
|
|
219
249
|
verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
220
250
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
221
251
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
222
252
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
223
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
253
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
224
254
|
readonly data: import("valibot").ObjectSchema<{
|
|
225
255
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
226
256
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -281,21 +311,36 @@ export declare const publicGroup: {
|
|
|
281
311
|
}, undefined>;
|
|
282
312
|
}, undefined>;
|
|
283
313
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
314
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
315
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
316
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
317
|
+
}, undefined>;
|
|
318
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
284
319
|
}, undefined>], undefined>>;
|
|
285
320
|
};
|
|
286
|
-
config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
321
|
+
config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
287
322
|
readonly data: import("valibot").ObjectSchema<{
|
|
288
323
|
readonly app: import("valibot").ObjectSchema<{
|
|
289
324
|
readonly minimumVersion: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
290
325
|
}, undefined>;
|
|
291
326
|
}, undefined>;
|
|
292
327
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
293
|
-
}, undefined
|
|
294
|
-
|
|
328
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
329
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
330
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
331
|
+
}, undefined>;
|
|
332
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
333
|
+
}, undefined>], undefined>>;
|
|
334
|
+
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
295
335
|
readonly data: import("valibot").ObjectSchema<{
|
|
296
336
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
297
337
|
}, undefined>;
|
|
298
338
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
299
|
-
}, undefined
|
|
339
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
340
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
341
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
342
|
+
}, undefined>;
|
|
343
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
344
|
+
}, undefined>], undefined>>;
|
|
300
345
|
};
|
|
301
346
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const marcoSDK: {
|
|
|
2
2
|
endpoints: {
|
|
3
3
|
private: {
|
|
4
4
|
draftAttachment: {
|
|
5
|
-
upload: import("..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
5
|
+
upload: import("..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly data: import("valibot").ObjectSchema<{
|
|
7
7
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
}, undefined>;
|
|
@@ -39,10 +39,15 @@ export declare const marcoSDK: {
|
|
|
39
39
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
40
40
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
41
41
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
42
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
43
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
44
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
42
47
|
}, undefined>], undefined>>;
|
|
43
48
|
};
|
|
44
49
|
emailMessage: {
|
|
45
|
-
getAttachment: import("..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
50
|
+
getAttachment: import("..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
46
51
|
readonly data: import("valibot").ObjectSchema<{
|
|
47
52
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
48
53
|
}, undefined>;
|
|
@@ -60,6 +65,11 @@ export declare const marcoSDK: {
|
|
|
60
65
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
61
66
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
62
67
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
68
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
69
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
70
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
63
73
|
}, undefined>], undefined>>;
|
|
64
74
|
};
|
|
65
75
|
models: {
|
|
@@ -78,15 +88,20 @@ export declare const marcoSDK: {
|
|
|
78
88
|
user: typeof import("./endpoints/private/mutations/user");
|
|
79
89
|
};
|
|
80
90
|
user: {
|
|
81
|
-
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
91
|
+
deleteUser: import("..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
82
92
|
readonly data: import("valibot").ObjectSchema<{
|
|
83
93
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
84
94
|
}, undefined>;
|
|
85
95
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
86
96
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
87
97
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
98
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
99
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
100
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
88
103
|
}, undefined>], undefined>>;
|
|
89
|
-
uploadProfilePicture: import("..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
104
|
+
uploadProfilePicture: import("..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
90
105
|
readonly data: import("valibot").ObjectSchema<{
|
|
91
106
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
92
107
|
}, undefined>;
|
|
@@ -111,6 +126,11 @@ export declare const marcoSDK: {
|
|
|
111
126
|
readonly profilePicture: import("valibot").StringSchema<undefined>;
|
|
112
127
|
}, undefined>;
|
|
113
128
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
129
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
130
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
131
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
132
|
+
}, undefined>;
|
|
133
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
114
134
|
}, undefined>], undefined>>;
|
|
115
135
|
};
|
|
116
136
|
};
|
|
@@ -119,7 +139,7 @@ export declare const marcoSDK: {
|
|
|
119
139
|
browser: {
|
|
120
140
|
deleteSession: import("..").EndpointConfig<"/v1/pb/auth/browser/session", import("valibot").GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
121
141
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
122
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
142
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
123
143
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
124
144
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
125
145
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -136,10 +156,15 @@ export declare const marcoSDK: {
|
|
|
136
156
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
137
157
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
138
158
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
159
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
160
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
161
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
162
|
+
}, undefined>;
|
|
163
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
139
164
|
}, undefined>], undefined>>;
|
|
140
165
|
refreshAuth: import("..").EndpointConfig<"/v1/pb/auth/browser/refresh", import("valibot").GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
141
166
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
142
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
167
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
143
168
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
144
169
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
145
170
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -174,6 +199,11 @@ export declare const marcoSDK: {
|
|
|
174
199
|
}, undefined>;
|
|
175
200
|
}, undefined>;
|
|
176
201
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
202
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
203
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
204
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
205
|
+
}, undefined>;
|
|
206
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
177
207
|
}, undefined>], undefined>>;
|
|
178
208
|
verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/browser/verify-code", import("valibot").ObjectSchema<{
|
|
179
209
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
@@ -181,7 +211,7 @@ export declare const marcoSDK: {
|
|
|
181
211
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
182
212
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
183
213
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
184
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
214
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
185
215
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
186
216
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
187
217
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -241,11 +271,16 @@ export declare const marcoSDK: {
|
|
|
241
271
|
}, undefined>;
|
|
242
272
|
}, undefined>;
|
|
243
273
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
274
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
275
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
276
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
244
279
|
}, undefined>], undefined>>;
|
|
245
280
|
};
|
|
246
281
|
refreshAuth: import("..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
247
282
|
readonly refreshToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
248
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
283
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
249
284
|
readonly data: import("valibot").ObjectSchema<{
|
|
250
285
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
251
286
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -281,10 +316,15 @@ export declare const marcoSDK: {
|
|
|
281
316
|
}, undefined>;
|
|
282
317
|
}, undefined>;
|
|
283
318
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
319
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
320
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
321
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
322
|
+
}, undefined>;
|
|
323
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
284
324
|
}, undefined>], undefined>>;
|
|
285
325
|
revokeSession: import("..").EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
|
|
286
326
|
readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
287
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
327
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
288
328
|
readonly data: import("valibot").ObjectSchema<{
|
|
289
329
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
290
330
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -306,10 +346,15 @@ export declare const marcoSDK: {
|
|
|
306
346
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
307
347
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
308
348
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
349
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
350
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
351
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
352
|
+
}, undefined>;
|
|
353
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
309
354
|
}, undefined>], undefined>>;
|
|
310
355
|
sendAuthCode: import("..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
311
356
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
312
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
357
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
313
358
|
readonly data: import("valibot").ObjectSchema<{
|
|
314
359
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
315
360
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -331,12 +376,17 @@ export declare const marcoSDK: {
|
|
|
331
376
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
332
377
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
333
378
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
379
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
380
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
381
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
382
|
+
}, undefined>;
|
|
383
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
334
384
|
}, undefined>], undefined>>;
|
|
335
385
|
verifyAuthCode: import("..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
336
386
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
337
387
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
338
388
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
339
|
-
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
389
|
+
}, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
340
390
|
readonly data: import("valibot").ObjectSchema<{
|
|
341
391
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
342
392
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -397,22 +447,37 @@ export declare const marcoSDK: {
|
|
|
397
447
|
}, undefined>;
|
|
398
448
|
}, undefined>;
|
|
399
449
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
450
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
451
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
452
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
453
|
+
}, undefined>;
|
|
454
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
400
455
|
}, undefined>], undefined>>;
|
|
401
456
|
};
|
|
402
|
-
config: import("..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
457
|
+
config: import("..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
403
458
|
readonly data: import("valibot").ObjectSchema<{
|
|
404
459
|
readonly app: import("valibot").ObjectSchema<{
|
|
405
460
|
readonly minimumVersion: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
406
461
|
}, undefined>;
|
|
407
462
|
}, undefined>;
|
|
408
463
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
409
|
-
}, undefined
|
|
410
|
-
|
|
464
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
465
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
466
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
467
|
+
}, undefined>;
|
|
468
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
469
|
+
}, undefined>], undefined>>;
|
|
470
|
+
healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
411
471
|
readonly data: import("valibot").ObjectSchema<{
|
|
412
472
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
413
473
|
}, undefined>;
|
|
414
474
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
415
|
-
}, undefined
|
|
475
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
476
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
477
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
478
|
+
}, undefined>;
|
|
479
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
480
|
+
}, undefined>], undefined>>;
|
|
416
481
|
};
|
|
417
482
|
};
|
|
418
483
|
validation: {
|
|
@@ -567,6 +632,12 @@ export declare const marcoSDK: {
|
|
|
567
632
|
}, undefined>;
|
|
568
633
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
569
634
|
}, undefined>;
|
|
635
|
+
readonly regionNotSupportedErrorSchema: import("valibot").ObjectSchema<{
|
|
636
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
637
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
638
|
+
}, undefined>;
|
|
639
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
640
|
+
}, undefined>;
|
|
570
641
|
readonly taskNoteNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
571
642
|
readonly data: import("valibot").ObjectSchema<{
|
|
572
643
|
readonly code: import("valibot").LiteralSchema<"TASK_NOTE_NOT_FOUND", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -113,6 +113,12 @@ export declare const labelMoveEvidenceUnavailableErrorSchema: v.ObjectSchema<{
|
|
|
113
113
|
}, undefined>;
|
|
114
114
|
readonly status: v.LiteralSchema<503, undefined>;
|
|
115
115
|
}, undefined>;
|
|
116
|
+
export declare const regionNotSupportedErrorSchema: v.ObjectSchema<{
|
|
117
|
+
readonly data: v.ObjectSchema<{
|
|
118
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
121
|
+
}, undefined>;
|
|
116
122
|
export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
117
123
|
readonly data: v.ObjectSchema<{
|
|
118
124
|
readonly code: v.LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
@@ -347,6 +353,12 @@ export declare const errors: {
|
|
|
347
353
|
}, undefined>;
|
|
348
354
|
readonly status: v.LiteralSchema<409, undefined>;
|
|
349
355
|
}, undefined>;
|
|
356
|
+
readonly regionNotSupportedErrorSchema: v.ObjectSchema<{
|
|
357
|
+
readonly data: v.ObjectSchema<{
|
|
358
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
359
|
+
}, undefined>;
|
|
360
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
361
|
+
}, undefined>;
|
|
350
362
|
readonly taskNoteNotFoundErrorSchema: v.ObjectSchema<{
|
|
351
363
|
readonly data: v.ObjectSchema<{
|
|
352
364
|
readonly code: v.LiteralSchema<"TASK_NOTE_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;aAGvC,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;aAGvC,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCT,CAAA"}
|
|
@@ -75,6 +75,10 @@ export const labelMoveEvidenceUnavailableErrorSchema = v.object({
|
|
|
75
75
|
data: v.object({ code: v.literal('MOVE_EVIDENCE_UNAVAILABLE') }),
|
|
76
76
|
status: v.literal(503),
|
|
77
77
|
});
|
|
78
|
+
export const regionNotSupportedErrorSchema = v.object({
|
|
79
|
+
data: v.object({ code: v.literal('REGION_NOT_SUPPORTED') }),
|
|
80
|
+
status: v.literal(403),
|
|
81
|
+
});
|
|
78
82
|
export const threadNotFoundErrorSchema = v.object({
|
|
79
83
|
data: v.object({ code: v.literal('THREAD_NOT_FOUND') }),
|
|
80
84
|
status: v.literal(404),
|
|
@@ -160,6 +164,7 @@ export const errors = {
|
|
|
160
164
|
labelNotFoundErrorSchema,
|
|
161
165
|
messageNotFoundErrorSchema,
|
|
162
166
|
mutationRejectedErrorSchema,
|
|
167
|
+
regionNotSupportedErrorSchema,
|
|
163
168
|
taskNoteNotFoundErrorSchema,
|
|
164
169
|
taskNotFoundErrorSchema,
|
|
165
170
|
threadNotFoundErrorSchema,
|
|
@@ -150,6 +150,12 @@ export declare const validation: {
|
|
|
150
150
|
}, undefined>;
|
|
151
151
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
152
152
|
}, undefined>;
|
|
153
|
+
readonly regionNotSupportedErrorSchema: import("valibot").ObjectSchema<{
|
|
154
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
155
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
158
|
+
}, undefined>;
|
|
153
159
|
readonly taskNoteNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
154
160
|
readonly data: import("valibot").ObjectSchema<{
|
|
155
161
|
readonly code: import("valibot").LiteralSchema<"TASK_NOTE_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
|