@marcoappio/marco-config 11.0.12 → 11.0.14
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/constants/index.d.ts +7 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +2 -0
- package/dist/constants/rules.d.ts +8 -0
- package/dist/constants/rules.d.ts.map +1 -0
- package/dist/constants/rules.js +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas/id.d.ts +5 -0
- package/dist/schemas/id.d.ts.map +1 -1
- package/dist/schemas/id.js +1 -0
- package/dist/schemas/index.d.ts +442 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +4 -1
- package/dist/schemas/models/index.d.ts +1 -0
- package/dist/schemas/models/index.d.ts.map +1 -1
- package/dist/schemas/models/index.js +1 -0
- package/dist/schemas/models/rule.d.ts +300 -0
- package/dist/schemas/models/rule.d.ts.map +1 -0
- package/dist/schemas/models/rule.js +79 -0
- package/dist/schemas/mutators/mutatorSchemas.d.ts +265 -0
- package/dist/schemas/mutators/mutatorSchemas.d.ts.map +1 -1
- package/dist/schemas/mutators/mutatorSchemas.js +24 -0
- 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/account/getRules.d.ts +155 -0
- package/dist/sdk/endpoints/private/models/account/getRules.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/models/account/getRules.js +17 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts +1 -0
- package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/account/index.js +1 -0
- 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/createRule.d.ts +170 -0
- package/dist/sdk/endpoints/private/mutations/account/createRule.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/createRule.js +20 -0
- 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/deleteRule.d.ts +48 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteRule.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/deleteRule.js +20 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts +5 -0
- package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/index.js +5 -0
- 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/reorderRules.d.ts +48 -0
- package/dist/sdk/endpoints/private/mutations/account/reorderRules.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/reorderRules.js +20 -0
- 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/setRuleEnabled.d.ts +54 -0
- package/dist/sdk/endpoints/private/mutations/account/setRuleEnabled.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/setRuleEnabled.js +21 -0
- 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/account/updateRule.d.ts +175 -0
- package/dist/sdk/endpoints/private/mutations/account/updateRule.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/account/updateRule.js +21 -0
- 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 +92 -15
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +24 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +10 -0
- package/dist/sdk/validation/index.d.ts +12 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/RuleActionType.d.ts +3 -0
- package/dist/types/RuleActionType.d.ts.map +1 -0
- package/dist/types/RuleActionType.js +10 -0
- package/dist/types/RuleConditionField.d.ts +3 -0
- package/dist/types/RuleConditionField.d.ts.map +1 -0
- package/dist/types/RuleConditionField.js +1 -0
- package/dist/types/RuleConditionOperator.d.ts +5 -0
- package/dist/types/RuleConditionOperator.d.ts.map +1 -0
- package/dist/types/RuleConditionOperator.js +2 -0
- package/dist/types/RuleDisabledReason.d.ts +3 -0
- package/dist/types/RuleDisabledReason.d.ts.map +1 -0
- package/dist/types/RuleDisabledReason.js +1 -0
- package/dist/types/RuleMatchMode.d.ts +3 -0
- package/dist/types/RuleMatchMode.d.ts.map +1 -0
- package/dist/types/RuleMatchMode.js +1 -0
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +5 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import type { EndpointConfig } from '../../types';
|
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
private: {
|
|
5
5
|
draftAttachment: {
|
|
6
|
-
upload: EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
|
+
upload: EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
7
|
readonly data: import("valibot").ObjectSchema<{
|
|
8
8
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
9
9
|
}, undefined>;
|
|
@@ -40,10 +40,15 @@ export declare const endpoints: {
|
|
|
40
40
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
41
41
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
42
42
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
43
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
44
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
45
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
43
48
|
}, undefined>], undefined>>;
|
|
44
49
|
};
|
|
45
50
|
emailMessage: {
|
|
46
|
-
getAttachment: EndpointConfig<"/v1/pv/attachment/:attachmentId", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
51
|
+
getAttachment: EndpointConfig<"/v1/pv/attachment/:attachmentId", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
47
52
|
readonly data: import("valibot").ObjectSchema<{
|
|
48
53
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
49
54
|
}, undefined>;
|
|
@@ -61,6 +66,11 @@ export declare const endpoints: {
|
|
|
61
66
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
62
67
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
63
68
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
69
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
70
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
71
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
72
|
+
}, undefined>;
|
|
73
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
64
74
|
}, undefined>], undefined>>;
|
|
65
75
|
};
|
|
66
76
|
models: {
|
|
@@ -79,15 +89,20 @@ export declare const endpoints: {
|
|
|
79
89
|
user: typeof import("./private/mutations/user");
|
|
80
90
|
};
|
|
81
91
|
user: {
|
|
82
|
-
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
92
|
+
deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
83
93
|
readonly data: import("valibot").ObjectSchema<{
|
|
84
94
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
85
95
|
}, undefined>;
|
|
86
96
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
87
97
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
88
98
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
99
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
100
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
101
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
102
|
+
}, undefined>;
|
|
103
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
89
104
|
}, undefined>], undefined>>;
|
|
90
|
-
uploadProfilePicture: EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
105
|
+
uploadProfilePicture: EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
91
106
|
readonly data: import("valibot").ObjectSchema<{
|
|
92
107
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
93
108
|
}, undefined>;
|
|
@@ -112,6 +127,11 @@ export declare const endpoints: {
|
|
|
112
127
|
readonly profilePicture: import("valibot").StringSchema<undefined>;
|
|
113
128
|
}, undefined>;
|
|
114
129
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
130
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
131
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
132
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
133
|
+
}, undefined>;
|
|
134
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
115
135
|
}, undefined>], undefined>>;
|
|
116
136
|
};
|
|
117
137
|
};
|
|
@@ -120,7 +140,7 @@ export declare const endpoints: {
|
|
|
120
140
|
browser: {
|
|
121
141
|
deleteSession: EndpointConfig<"/v1/pb/auth/browser/session", GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
122
142
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
123
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
143
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
124
144
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
125
145
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
126
146
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -137,10 +157,15 @@ export declare const endpoints: {
|
|
|
137
157
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
138
158
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
139
159
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
160
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
161
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
162
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
163
|
+
}, undefined>;
|
|
164
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
140
165
|
}, undefined>], undefined>>;
|
|
141
166
|
refreshAuth: EndpointConfig<"/v1/pb/auth/browser/refresh", GenericSchema | undefined, import("valibot").StrictObjectSchema<{
|
|
142
167
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
143
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
168
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
144
169
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
145
170
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
146
171
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -175,6 +200,11 @@ export declare const endpoints: {
|
|
|
175
200
|
}, undefined>;
|
|
176
201
|
}, undefined>;
|
|
177
202
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
203
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
204
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
205
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
206
|
+
}, undefined>;
|
|
207
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
178
208
|
}, undefined>], undefined>>;
|
|
179
209
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/browser/verify-code", import("valibot").ObjectSchema<{
|
|
180
210
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
@@ -182,7 +212,7 @@ export declare const endpoints: {
|
|
|
182
212
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
183
213
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
184
214
|
readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
185
|
-
}, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
215
|
+
}, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
186
216
|
readonly data: import("valibot").StrictObjectSchema<{
|
|
187
217
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
188
218
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -242,11 +272,16 @@ export declare const endpoints: {
|
|
|
242
272
|
}, undefined>;
|
|
243
273
|
}, undefined>;
|
|
244
274
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
275
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
276
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
277
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
278
|
+
}, undefined>;
|
|
279
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
245
280
|
}, undefined>], undefined>>;
|
|
246
281
|
};
|
|
247
282
|
refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
|
|
248
283
|
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>;
|
|
249
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
284
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
250
285
|
readonly data: import("valibot").ObjectSchema<{
|
|
251
286
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
252
287
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -282,10 +317,15 @@ export declare const endpoints: {
|
|
|
282
317
|
}, undefined>;
|
|
283
318
|
}, undefined>;
|
|
284
319
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
320
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
321
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
322
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
323
|
+
}, undefined>;
|
|
324
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
285
325
|
}, undefined>], undefined>>;
|
|
286
326
|
revokeSession: EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
|
|
287
327
|
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>;
|
|
288
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
328
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
289
329
|
readonly data: import("valibot").ObjectSchema<{
|
|
290
330
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
291
331
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -307,10 +347,15 @@ export declare const endpoints: {
|
|
|
307
347
|
readonly status: import("valibot").LiteralSchema<502, undefined>;
|
|
308
348
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
309
349
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
350
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
351
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
352
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
353
|
+
}, undefined>;
|
|
354
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
310
355
|
}, undefined>], undefined>>;
|
|
311
356
|
sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
|
|
312
357
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
313
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
358
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
314
359
|
readonly data: import("valibot").ObjectSchema<{
|
|
315
360
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
316
361
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -332,12 +377,17 @@ export declare const endpoints: {
|
|
|
332
377
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
333
378
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
334
379
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
380
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
381
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
382
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
383
|
+
}, undefined>;
|
|
384
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
335
385
|
}, undefined>], undefined>>;
|
|
336
386
|
verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
|
|
337
387
|
readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
|
|
338
388
|
readonly code: import("valibot").StringSchema<undefined>;
|
|
339
389
|
readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
|
|
340
|
-
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
390
|
+
}, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
341
391
|
readonly data: import("valibot").ObjectSchema<{
|
|
342
392
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
343
393
|
readonly issues: import("valibot").ObjectSchema<{
|
|
@@ -398,22 +448,37 @@ export declare const endpoints: {
|
|
|
398
448
|
}, undefined>;
|
|
399
449
|
}, undefined>;
|
|
400
450
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
451
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
452
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
453
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
454
|
+
}, undefined>;
|
|
455
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
401
456
|
}, undefined>], undefined>>;
|
|
402
457
|
};
|
|
403
|
-
config: EndpointConfig<"/v1/pb/config", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
|
|
458
|
+
config: EndpointConfig<"/v1/pb/config", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
404
459
|
readonly data: import("valibot").ObjectSchema<{
|
|
405
460
|
readonly app: import("valibot").ObjectSchema<{
|
|
406
461
|
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>;
|
|
407
462
|
}, undefined>;
|
|
408
463
|
}, undefined>;
|
|
409
464
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
410
|
-
}, undefined
|
|
411
|
-
|
|
465
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
466
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
467
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
470
|
+
}, undefined>], undefined>>;
|
|
471
|
+
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
412
472
|
readonly data: import("valibot").ObjectSchema<{
|
|
413
473
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
414
474
|
}, undefined>;
|
|
415
475
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
416
|
-
}, undefined
|
|
476
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
477
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
478
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
479
|
+
}, undefined>;
|
|
480
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
481
|
+
}, undefined>], undefined>>;
|
|
417
482
|
};
|
|
418
483
|
};
|
|
419
484
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const draftAttachment: {
|
|
2
|
-
upload: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
2
|
+
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<{
|
|
3
3
|
readonly data: import("valibot").ObjectSchema<{
|
|
4
4
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -36,6 +36,11 @@ export declare const draftAttachment: {
|
|
|
36
36
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
37
37
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
38
38
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
39
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
40
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
41
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
42
|
+
}, undefined>;
|
|
43
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
39
44
|
}, undefined>], undefined>>;
|
|
40
45
|
};
|
|
41
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAE3B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const uploadDraftAttachment: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", v.BlobSchema<undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const uploadDraftAttachment: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", v.BlobSchema<undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -36,5 +36,10 @@ export declare const uploadDraftAttachment: import("../../../..").EndpointConfig
|
|
|
36
36
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
37
37
|
}, undefined>, v.ObjectSchema<{
|
|
38
38
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
39
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
40
|
+
readonly data: v.ObjectSchema<{
|
|
41
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
42
|
+
}, undefined>;
|
|
43
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
39
44
|
}, undefined>], undefined>>;
|
|
40
45
|
//# sourceMappingURL=uploadDraftAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgBhC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getEmailMessageAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getEmailMessageAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3
3
|
readonly data: v.ObjectSchema<{
|
|
4
4
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -17,5 +17,10 @@ export declare const getEmailMessageAttachment: import("../../../..").EndpointCo
|
|
|
17
17
|
}, undefined>, v.ObjectSchema<{
|
|
18
18
|
readonly file: v.NonOptionalSchema<v.FileSchema<undefined>, undefined>;
|
|
19
19
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
20
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
21
|
+
readonly data: v.ObjectSchema<{
|
|
22
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
20
25
|
}, undefined>], undefined>>;
|
|
21
26
|
//# sourceMappingURL=getEmailMessageAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAS5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAS5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;2BAYpC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const emailMessage: {
|
|
2
|
-
getAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
2
|
+
getAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
3
|
readonly data: import("valibot").ObjectSchema<{
|
|
4
4
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
5
|
}, undefined>;
|
|
@@ -17,6 +17,11 @@ export declare const emailMessage: {
|
|
|
17
17
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
18
18
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
|
|
19
19
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
20
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
21
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
22
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
20
25
|
}, undefined>], undefined>>;
|
|
21
26
|
};
|
|
22
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const privateGroup: {
|
|
2
2
|
draftAttachment: {
|
|
3
|
-
upload: import("../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
3
|
+
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<{
|
|
4
4
|
readonly data: import("valibot").ObjectSchema<{
|
|
5
5
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
6
6
|
}, undefined>;
|
|
@@ -37,10 +37,15 @@ export declare const privateGroup: {
|
|
|
37
37
|
readonly status: import("valibot").LiteralSchema<400, undefined>;
|
|
38
38
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
39
39
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
40
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
41
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
42
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
40
45
|
}, undefined>], undefined>>;
|
|
41
46
|
};
|
|
42
47
|
emailMessage: {
|
|
43
|
-
getAttachment: import("../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
48
|
+
getAttachment: import("../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
44
49
|
readonly data: import("valibot").ObjectSchema<{
|
|
45
50
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
46
51
|
}, undefined>;
|
|
@@ -58,6 +63,11 @@ export declare const privateGroup: {
|
|
|
58
63
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
64
|
readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, 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
|
};
|
|
63
73
|
models: {
|
|
@@ -76,15 +86,20 @@ export declare const privateGroup: {
|
|
|
76
86
|
user: typeof import("./mutations/user");
|
|
77
87
|
};
|
|
78
88
|
user: {
|
|
79
|
-
deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
89
|
+
deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
80
90
|
readonly data: import("valibot").ObjectSchema<{
|
|
81
91
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
82
92
|
}, undefined>;
|
|
83
93
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
84
94
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
85
95
|
readonly status: import("valibot").LiteralSchema<204, undefined>;
|
|
96
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
97
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
98
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
86
101
|
}, undefined>], undefined>>;
|
|
87
|
-
uploadProfilePicture: import("../../..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
102
|
+
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<{
|
|
88
103
|
readonly data: import("valibot").ObjectSchema<{
|
|
89
104
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
90
105
|
}, undefined>;
|
|
@@ -109,6 +124,11 @@ export declare const privateGroup: {
|
|
|
109
124
|
readonly profilePicture: import("valibot").StringSchema<undefined>;
|
|
110
125
|
}, undefined>;
|
|
111
126
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
127
|
+
}, undefined>], undefined>, import("valibot").ObjectSchema<{
|
|
128
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
129
|
+
readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
130
|
+
}, undefined>;
|
|
131
|
+
readonly status: import("valibot").LiteralSchema<403, undefined>;
|
|
112
132
|
}, undefined>], undefined>>;
|
|
113
133
|
};
|
|
114
134
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxB,CAAA"}
|
|
@@ -6,7 +6,7 @@ export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/p
|
|
|
6
6
|
readonly labelIds: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>, undefined>, undefined>;
|
|
7
7
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
8
8
|
readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
9
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
10
10
|
readonly data: v.ObjectSchema<{
|
|
11
11
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
12
12
|
}, undefined>;
|
|
@@ -68,5 +68,10 @@ export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/p
|
|
|
68
68
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
69
69
|
}, undefined>;
|
|
70
70
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
71
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
72
|
+
readonly data: v.ObjectSchema<{
|
|
73
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
74
|
+
}, undefined>;
|
|
75
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
71
76
|
}, undefined>], undefined>>;
|
|
72
77
|
//# sourceMappingURL=getAccounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/account/getAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/account/getAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const getRules: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/rules/list", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3
|
+
readonly data: v.ObjectSchema<{
|
|
4
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
5
|
+
}, undefined>;
|
|
6
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
7
|
+
}, undefined>, v.ObjectSchema<{
|
|
8
|
+
readonly data: v.ObjectSchema<{
|
|
9
|
+
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
12
|
+
}, undefined>, v.ObjectSchema<{
|
|
13
|
+
readonly data: v.ObjectSchema<{
|
|
14
|
+
readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
17
|
+
}, undefined>, v.ObjectSchema<{
|
|
18
|
+
readonly data: v.ArraySchema<v.ObjectSchema<{
|
|
19
|
+
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
20
|
+
readonly disabledReason: v.NullableSchema<v.PicklistSchema<readonly ["LABEL_NOT_FOUND"], undefined>, undefined>;
|
|
21
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
22
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "RuleId">]>, undefined>;
|
|
23
|
+
readonly lastMatchedAt: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
24
|
+
readonly matchCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
25
|
+
readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
26
|
+
readonly type: v.LiteralSchema<"ARCHIVE", undefined>;
|
|
27
|
+
}, undefined>, v.ObjectSchema<{
|
|
28
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
29
|
+
readonly type: v.LiteralSchema<"MOVE_TO_FOLDER", undefined>;
|
|
30
|
+
}, undefined>, v.ObjectSchema<{
|
|
31
|
+
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
|
|
32
|
+
readonly type: v.LiteralSchema<"ADD_LABEL", undefined>;
|
|
33
|
+
}, undefined>, v.ObjectSchema<{
|
|
34
|
+
readonly type: v.LiteralSchema<"MARK_READ", undefined>;
|
|
35
|
+
}, undefined>, v.ObjectSchema<{
|
|
36
|
+
readonly type: v.LiteralSchema<"STAR", undefined>;
|
|
37
|
+
}, undefined>, v.ObjectSchema<{
|
|
38
|
+
readonly type: v.LiteralSchema<"TRASH", undefined>;
|
|
39
|
+
}, undefined>, v.ObjectSchema<{
|
|
40
|
+
readonly type: v.LiteralSchema<"MARK_SPAM", undefined>;
|
|
41
|
+
}, undefined>, v.ObjectSchema<{
|
|
42
|
+
readonly type: v.LiteralSchema<"MUTE_NOTIFICATION", undefined>;
|
|
43
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
44
|
+
type: "ARCHIVE";
|
|
45
|
+
} | {
|
|
46
|
+
labelId: string & v.Brand<"LabelId">;
|
|
47
|
+
type: "MOVE_TO_FOLDER";
|
|
48
|
+
} | {
|
|
49
|
+
labelId: string & v.Brand<"LabelId">;
|
|
50
|
+
type: "ADD_LABEL";
|
|
51
|
+
} | {
|
|
52
|
+
type: "MARK_READ";
|
|
53
|
+
} | {
|
|
54
|
+
type: "STAR";
|
|
55
|
+
} | {
|
|
56
|
+
type: "TRASH";
|
|
57
|
+
} | {
|
|
58
|
+
type: "MARK_SPAM";
|
|
59
|
+
} | {
|
|
60
|
+
type: "MUTE_NOTIFICATION";
|
|
61
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
62
|
+
type: "ARCHIVE";
|
|
63
|
+
} | {
|
|
64
|
+
labelId: string & v.Brand<"LabelId">;
|
|
65
|
+
type: "MOVE_TO_FOLDER";
|
|
66
|
+
} | {
|
|
67
|
+
labelId: string & v.Brand<"LabelId">;
|
|
68
|
+
type: "ADD_LABEL";
|
|
69
|
+
} | {
|
|
70
|
+
type: "MARK_READ";
|
|
71
|
+
} | {
|
|
72
|
+
type: "STAR";
|
|
73
|
+
} | {
|
|
74
|
+
type: "TRASH";
|
|
75
|
+
} | {
|
|
76
|
+
type: "MARK_SPAM";
|
|
77
|
+
} | {
|
|
78
|
+
type: "MUTE_NOTIFICATION";
|
|
79
|
+
})[], number, undefined>]>;
|
|
80
|
+
readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"field", [v.ObjectSchema<{
|
|
81
|
+
readonly field: v.LiteralSchema<"FROM", undefined>;
|
|
82
|
+
readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS", "DOMAIN_IS"], undefined>;
|
|
83
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
84
|
+
}, undefined>, v.ObjectSchema<{
|
|
85
|
+
readonly field: v.LiteralSchema<"TO_OR_CC", undefined>;
|
|
86
|
+
readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS", "DOMAIN_IS"], undefined>;
|
|
87
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
88
|
+
}, undefined>, v.ObjectSchema<{
|
|
89
|
+
readonly field: v.LiteralSchema<"SUBJECT", undefined>;
|
|
90
|
+
readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS"], undefined>;
|
|
91
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
92
|
+
}, undefined>, v.ObjectSchema<{
|
|
93
|
+
readonly field: v.LiteralSchema<"BODY", undefined>;
|
|
94
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
95
|
+
}, undefined>, v.ObjectSchema<{
|
|
96
|
+
readonly field: v.LiteralSchema<"HAS_ATTACHMENT", undefined>;
|
|
97
|
+
readonly value: v.BooleanSchema<undefined>;
|
|
98
|
+
}, undefined>, v.ObjectSchema<{
|
|
99
|
+
readonly field: v.LiteralSchema<"MAILING_LIST", undefined>;
|
|
100
|
+
readonly listId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
101
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<({
|
|
102
|
+
field: "FROM";
|
|
103
|
+
operator: "CONTAINS" | "IS" | "DOMAIN_IS";
|
|
104
|
+
value: string;
|
|
105
|
+
} | {
|
|
106
|
+
field: "TO_OR_CC";
|
|
107
|
+
operator: "CONTAINS" | "IS" | "DOMAIN_IS";
|
|
108
|
+
value: string;
|
|
109
|
+
} | {
|
|
110
|
+
field: "SUBJECT";
|
|
111
|
+
operator: "CONTAINS" | "IS";
|
|
112
|
+
value: string;
|
|
113
|
+
} | {
|
|
114
|
+
field: "BODY";
|
|
115
|
+
value: string;
|
|
116
|
+
} | {
|
|
117
|
+
field: "HAS_ATTACHMENT";
|
|
118
|
+
value: boolean;
|
|
119
|
+
} | {
|
|
120
|
+
field: "MAILING_LIST";
|
|
121
|
+
listId: string | null;
|
|
122
|
+
})[], 1, undefined>, v.MaxLengthAction<({
|
|
123
|
+
field: "FROM";
|
|
124
|
+
operator: "CONTAINS" | "IS" | "DOMAIN_IS";
|
|
125
|
+
value: string;
|
|
126
|
+
} | {
|
|
127
|
+
field: "TO_OR_CC";
|
|
128
|
+
operator: "CONTAINS" | "IS" | "DOMAIN_IS";
|
|
129
|
+
value: string;
|
|
130
|
+
} | {
|
|
131
|
+
field: "SUBJECT";
|
|
132
|
+
operator: "CONTAINS" | "IS";
|
|
133
|
+
value: string;
|
|
134
|
+
} | {
|
|
135
|
+
field: "BODY";
|
|
136
|
+
value: string;
|
|
137
|
+
} | {
|
|
138
|
+
field: "HAS_ATTACHMENT";
|
|
139
|
+
value: boolean;
|
|
140
|
+
} | {
|
|
141
|
+
field: "MAILING_LIST";
|
|
142
|
+
listId: string | null;
|
|
143
|
+
})[], number, undefined>]>;
|
|
144
|
+
readonly match: v.PicklistSchema<readonly ["ALL", "ANY"], undefined>;
|
|
145
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
146
|
+
readonly stopProcessing: v.BooleanSchema<undefined>;
|
|
147
|
+
}, undefined>, undefined>;
|
|
148
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
149
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
150
|
+
readonly data: v.ObjectSchema<{
|
|
151
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
152
|
+
}, undefined>;
|
|
153
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
154
|
+
}, undefined>], undefined>>;
|
|
155
|
+
//# sourceMappingURL=getRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRules.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/account/getRules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYnB,CAAA"}
|