@marcoappio/marco-config 11.0.12 → 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/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 +6 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +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 +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
- 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 +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +6 -1
- 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 +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +6 -1
- 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
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;;;;;aAG5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AAiC;;;;;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"}
|
package/dist/types/SDKError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type * as v from 'valibot';
|
|
2
2
|
import type { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentSizeMismatchErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.attachmentUploadFailedErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelAlreadyExistsErrorSchema> | v.InferOutput<typeof errors.labelMoveConflictErrorSchema> | v.InferOutput<typeof errors.labelMoveEvidenceUnavailableErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.taskNoteNotFoundErrorSchema> | v.InferOutput<typeof errors.taskNotFoundErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema>;
|
|
3
|
+
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentSizeMismatchErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.attachmentUploadFailedErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelAlreadyExistsErrorSchema> | v.InferOutput<typeof errors.labelMoveConflictErrorSchema> | v.InferOutput<typeof errors.labelMoveEvidenceUnavailableErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.regionNotSupportedErrorSchema> | v.InferOutput<typeof errors.taskNoteNotFoundErrorSchema> | v.InferOutput<typeof errors.taskNotFoundErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema>;
|
|
4
4
|
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACr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