@marcoappio/marco-config 11.0.11 → 11.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/index.d.ts +10 -10
- package/dist/schemas/mutators/mutatorSchemas.d.ts +10 -10
- package/dist/schemas/mutators/mutatorSchemas.js +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.d.ts +9 -3
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.js +3 -1
- package/dist/sdk/endpoints/index.d.ts +80 -15
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -1
- package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +24 -4
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +8 -3
- package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/account/getAccounts.js +2 -2
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +7 -2
- package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/contact/getContacts.js +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +7 -2
- package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/draft/getDrafts.js +1 -1
- package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/task/getTasks.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/task/getTasks.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +15 -10
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.js +7 -7
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts +6 -1
- package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +7 -2
- package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +6 -1
- package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts +6 -1
- package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/index.d.ts +12 -2
- package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +6 -1
- package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/index.d.ts +18 -3
- package/dist/sdk/endpoints/public/auth/browser/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/index.d.ts +42 -7
- package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/revokeSession.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/revokeSession.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +6 -1
- package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/config/index.d.ts +7 -2
- package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts +7 -2
- package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/index.d.ts +56 -11
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +86 -15
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +12 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +5 -0
- package/dist/sdk/validation/index.d.ts +6 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/pv/models/accounts/list", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
-
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4
|
+
readonly ids: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>, undefined>, undefined>;
|
|
5
5
|
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6
|
-
readonly labelIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
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"}
|
|
@@ -8,9 +8,9 @@ export const getAccounts = createEndpoint({
|
|
|
8
8
|
path: '/v1/pv/models/accounts/list',
|
|
9
9
|
query: v.object({
|
|
10
10
|
cursor: v.optional(v.string()),
|
|
11
|
-
ids: v.optional(v.array(
|
|
11
|
+
ids: v.optional(v.array(marcoSchemas.id.accountId.required())),
|
|
12
12
|
include: v.optional(v.array(v.string())),
|
|
13
|
-
labelIds: v.optional(v.array(
|
|
13
|
+
labelIds: v.optional(v.array(marcoSchemas.id.labelId.required())),
|
|
14
14
|
limit: v.optional(marcoSchemas.number.positiveIntegerFromString()),
|
|
15
15
|
search: v.optional(v.string()),
|
|
16
16
|
}),
|
|
@@ -2,11 +2,11 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/pv/models/contacts/list", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4
4
|
readonly emailAddresses: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
|
-
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
|
+
readonly ids: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ContactId">]>, undefined>, undefined>, undefined>;
|
|
6
6
|
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>;
|
|
7
7
|
readonly name: v.OptionalSchema<v.StringSchema<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>;
|
|
@@ -37,5 +37,10 @@ export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/p
|
|
|
37
37
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
38
|
}, undefined>;
|
|
39
39
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
40
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
41
|
+
readonly data: v.ObjectSchema<{
|
|
42
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
40
45
|
}, undefined>], undefined>>;
|
|
41
46
|
//# sourceMappingURL=getContacts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/contact/getContacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/contact/getContacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
|
|
@@ -9,7 +9,7 @@ export const getContacts = createEndpoint({
|
|
|
9
9
|
query: v.object({
|
|
10
10
|
cursor: v.optional(v.string()),
|
|
11
11
|
emailAddresses: v.optional(v.array(v.string())),
|
|
12
|
-
ids: v.optional(v.array(
|
|
12
|
+
ids: v.optional(v.array(marcoSchemas.id.contactId.required())),
|
|
13
13
|
limit: v.optional(marcoSchemas.number.positiveIntegerFromString()),
|
|
14
14
|
name: v.optional(v.string()),
|
|
15
15
|
search: v.optional(v.string()),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const getDrafts: import("../../../../../types").EndpointConfig<"/v1/pv/models/drafts/list", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
|
-
readonly accountId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3
|
+
readonly accountId: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>, undefined>;
|
|
4
4
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
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>;
|
|
6
6
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>, undefined>;
|
|
7
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
7
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
8
8
|
readonly data: v.ObjectSchema<{
|
|
9
9
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
10
10
|
}, undefined>;
|
|
@@ -58,5 +58,10 @@ export declare const getDrafts: import("../../../../../types").EndpointConfig<"/
|
|
|
58
58
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
59
59
|
}, undefined>;
|
|
60
60
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
61
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
62
|
+
readonly data: v.ObjectSchema<{
|
|
63
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
64
|
+
}, undefined>;
|
|
65
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
61
66
|
}, undefined>], undefined>>;
|
|
62
67
|
//# sourceMappingURL=getDrafts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/draft/getDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/draft/getDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBpB,CAAA"}
|
|
@@ -8,7 +8,7 @@ export const getDrafts = createEndpoint({
|
|
|
8
8
|
method: 'GET',
|
|
9
9
|
path: '/v1/pv/models/drafts/list',
|
|
10
10
|
query: v.object({
|
|
11
|
-
accountId: v.optional(
|
|
11
|
+
accountId: v.optional(marcoSchemas.id.accountId.required()),
|
|
12
12
|
cursor: v.optional(v.string()),
|
|
13
13
|
limit: v.optional(marcoSchemas.number.positiveIntegerFromString()),
|
|
14
14
|
status: v.optional(v.picklist(DRAFT_STATUSES)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/notes", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/notes", 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>;
|
|
@@ -24,5 +24,10 @@ export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/
|
|
|
24
24
|
readonly userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
25
25
|
}, undefined>, undefined>;
|
|
26
26
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
27
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
28
|
+
readonly data: v.ObjectSchema<{
|
|
29
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
27
32
|
}, undefined>], undefined>>;
|
|
28
33
|
//# sourceMappingURL=getTaskNotes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTaskNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTaskNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"getTaskNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTaskNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYvB,CAAA"}
|
|
@@ -3,7 +3,7 @@ export declare const getTasks: import("../../../../..").EndpointConfig<"/v1/pv/m
|
|
|
3
3
|
readonly completed: v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>;
|
|
4
4
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5
5
|
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>;
|
|
6
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
6
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
7
7
|
readonly data: v.ObjectSchema<{
|
|
8
8
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
9
9
|
}, undefined>;
|
|
@@ -48,5 +48,10 @@ export declare const getTasks: import("../../../../..").EndpointConfig<"/v1/pv/m
|
|
|
48
48
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
49
49
|
}, undefined>;
|
|
50
50
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
51
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
52
|
+
readonly data: v.ObjectSchema<{
|
|
53
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
54
|
+
}, undefined>;
|
|
55
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
51
56
|
}, undefined>], undefined>>;
|
|
52
57
|
//# sourceMappingURL=getTasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTasks.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"getTasks.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBnB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getThread: import("../../../../..").EndpointConfig<"/v1/pv/models/thread/:threadId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getThread: import("../../../../..").EndpointConfig<"/v1/pv/models/thread/:threadId", 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>;
|
|
@@ -80,5 +80,10 @@ export declare const getThread: import("../../../../..").EndpointConfig<"/v1/pv/
|
|
|
80
80
|
words: v.StringSchema<undefined>;
|
|
81
81
|
}, undefined>;
|
|
82
82
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
83
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
84
|
+
readonly data: v.ObjectSchema<{
|
|
85
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
83
88
|
}, undefined>], undefined>>;
|
|
84
89
|
//# sourceMappingURL=getThread.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYpB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getThreadByMessageId: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/by-message/:messageId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getThreadByMessageId: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/by-message/:messageId", 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>;
|
|
@@ -80,5 +80,10 @@ export declare const getThreadByMessageId: import("../../../../..").EndpointConf
|
|
|
80
80
|
words: v.StringSchema<undefined>;
|
|
81
81
|
}, undefined>;
|
|
82
82
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
83
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
84
|
+
readonly data: v.ObjectSchema<{
|
|
85
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
83
88
|
}, undefined>], undefined>>;
|
|
84
89
|
//# sourceMappingURL=getThreadByMessageId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadByMessageId.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadByMessageId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"getThreadByMessageId.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadByMessageId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAY/B,CAAA"}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1/pv/models/threads/list", v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
3
|
-
readonly ids: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4
|
-
readonly labelIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3
|
+
readonly ids: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, v.MinLengthAction<(string & v.Brand<"ThreadId">)[], 1, undefined>]>;
|
|
4
|
+
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>;
|
|
5
5
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6
6
|
readonly flagged: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<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
|
-
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8
|
+
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>, undefined>;
|
|
9
9
|
readonly participants: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
10
10
|
readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
11
11
|
readonly seen: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
12
12
|
readonly snoozed: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
13
13
|
}, undefined>, v.ObjectSchema<{
|
|
14
|
-
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
15
|
-
readonly labelIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
14
|
+
readonly ids: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, undefined>;
|
|
15
|
+
readonly labelIds: v.SchemaWithPipe<readonly [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>, v.MinLengthAction<(string & v.Brand<"LabelId">)[], 1, undefined>]>;
|
|
16
16
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
17
17
|
readonly flagged: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
18
18
|
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>;
|
|
19
|
-
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
19
|
+
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>, undefined>;
|
|
20
20
|
readonly participants: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
21
21
|
readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
22
22
|
readonly seen: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
23
23
|
readonly snoozed: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
24
24
|
}, undefined>, v.ObjectSchema<{
|
|
25
|
-
readonly ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
26
|
-
readonly labelIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
25
|
+
readonly ids: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>, undefined>, undefined>;
|
|
26
|
+
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>;
|
|
27
27
|
readonly snoozed: v.SchemaWithPipe<readonly [v.LiteralSchema<"true", undefined>, v.TransformAction<"true", true>]>;
|
|
28
28
|
readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
29
29
|
readonly flagged: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
30
30
|
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>;
|
|
31
|
-
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
31
|
+
readonly messageIds: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>, undefined>, undefined>;
|
|
32
32
|
readonly participants: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
33
33
|
readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
34
34
|
readonly seen: v.OptionalSchema<v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>, undefined>;
|
|
35
|
-
}, undefined>], undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
35
|
+
}, undefined>], undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
36
36
|
readonly data: v.ObjectSchema<{
|
|
37
37
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
38
38
|
}, undefined>;
|
|
@@ -121,5 +121,10 @@ export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1
|
|
|
121
121
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
122
122
|
}, undefined>;
|
|
123
123
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
124
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
125
|
+
readonly data: v.ObjectSchema<{
|
|
126
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
127
|
+
}, undefined>;
|
|
128
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
124
129
|
}, undefined>], undefined>>;
|
|
125
130
|
//# sourceMappingURL=getThreadList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4C5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4C5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAaxB,CAAA"}
|
|
@@ -7,7 +7,7 @@ const baseQuerySchema = {
|
|
|
7
7
|
cursor: v.optional(v.string()),
|
|
8
8
|
flagged: v.optional(marcoSchemas.boolean.fromString()),
|
|
9
9
|
limit: v.optional(marcoSchemas.number.positiveIntegerFromString()),
|
|
10
|
-
messageIds: v.optional(v.array(
|
|
10
|
+
messageIds: v.optional(v.array(marcoSchemas.id.messageId.required())),
|
|
11
11
|
participants: v.optional(v.array(v.string())),
|
|
12
12
|
search: v.optional(v.string()),
|
|
13
13
|
seen: v.optional(marcoSchemas.boolean.fromString()),
|
|
@@ -16,18 +16,18 @@ const baseQuerySchema = {
|
|
|
16
16
|
const getThreadListQuerySchema = v.union([
|
|
17
17
|
v.object({
|
|
18
18
|
...baseQuerySchema,
|
|
19
|
-
ids: v.pipe(v.array(
|
|
20
|
-
labelIds: v.optional(v.array(
|
|
19
|
+
ids: v.pipe(v.array(marcoSchemas.id.threadId.required()), v.minLength(1)),
|
|
20
|
+
labelIds: v.optional(v.array(marcoSchemas.id.labelId.required())),
|
|
21
21
|
}),
|
|
22
22
|
v.object({
|
|
23
23
|
...baseQuerySchema,
|
|
24
|
-
ids: v.optional(v.array(
|
|
25
|
-
labelIds: v.pipe(v.array(
|
|
24
|
+
ids: v.optional(v.array(marcoSchemas.id.threadId.required())),
|
|
25
|
+
labelIds: v.pipe(v.array(marcoSchemas.id.labelId.required()), v.minLength(1)),
|
|
26
26
|
}),
|
|
27
27
|
v.object({
|
|
28
28
|
...baseQuerySchema,
|
|
29
|
-
ids: v.optional(v.array(
|
|
30
|
-
labelIds: v.optional(v.array(
|
|
29
|
+
ids: v.optional(v.array(marcoSchemas.id.threadId.required())),
|
|
30
|
+
labelIds: v.optional(v.array(marcoSchemas.id.labelId.required())),
|
|
31
31
|
snoozed: v.pipe(v.literal('true'), v.transform(() => true)),
|
|
32
32
|
}),
|
|
33
33
|
]);
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const getThreadMessageAttachments: import("../../../../..").EndpointConfig<"/v1/pv/models/thread-message/:messageId/attachments", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 512, undefined>]>, undefined>;
|
|
4
4
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [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>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
5
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly data: v.ObjectSchema<{
|
|
7
7
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
}, undefined>;
|
|
@@ -40,5 +40,10 @@ export declare const getThreadMessageAttachments: import("../../../../..").Endpo
|
|
|
40
40
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
41
41
|
}, undefined>;
|
|
42
42
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
43
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
44
|
+
readonly data: v.ObjectSchema<{
|
|
45
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
43
48
|
}, undefined>], undefined>>;
|
|
44
49
|
//# sourceMappingURL=getThreadMessageAttachments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadMessageAttachments.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessageAttachments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"getThreadMessageAttachments.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessageAttachments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActC,CAAA"}
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const getThreadMessageRecipients: import("../../../../..").EndpointConfig<"/v1/pv/models/thread-message/:messageId/recipients", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 512, undefined>]>, undefined>;
|
|
4
4
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [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>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
5
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly data: v.ObjectSchema<{
|
|
7
7
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
}, undefined>;
|
|
@@ -39,5 +39,10 @@ export declare const getThreadMessageRecipients: import("../../../../..").Endpoi
|
|
|
39
39
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
40
40
|
}, undefined>;
|
|
41
41
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
42
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
43
|
+
readonly data: v.ObjectSchema<{
|
|
44
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
42
47
|
}, undefined>], undefined>>;
|
|
43
48
|
//# sourceMappingURL=getThreadMessageRecipients.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadMessageRecipients.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessageRecipients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"getThreadMessageRecipients.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessageRecipients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrC,CAAA"}
|
|
@@ -2,7 +2,7 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const getThreadMessages: import("../../../../..").EndpointConfig<"/v1/pv/models/thread/:threadId/messages", v.GenericSchema | undefined, v.ObjectSchema<{
|
|
3
3
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 512, undefined>]>, undefined>;
|
|
4
4
|
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [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>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
5
|
-
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
}, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly data: v.ObjectSchema<{
|
|
7
7
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
8
8
|
}, undefined>;
|
|
@@ -43,5 +43,10 @@ export declare const getThreadMessages: import("../../../../..").EndpointConfig<
|
|
|
43
43
|
readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
44
|
}, undefined>;
|
|
45
45
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
46
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
47
|
+
readonly data: v.ObjectSchema<{
|
|
48
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
49
|
+
}, undefined>;
|
|
50
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
46
51
|
}, undefined>], undefined>>;
|
|
47
52
|
//# sourceMappingURL=getThreadMessages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadMessages.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"getThreadMessages.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc5B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const getUser: import("../../../../..").EndpointConfig<"/v1/pv/models/user", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
2
|
+
export declare const getUser: import("../../../../..").EndpointConfig<"/v1/pv/models/user", 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>;
|
|
@@ -31,5 +31,10 @@ export declare const getUser: import("../../../../..").EndpointConfig<"/v1/pv/mo
|
|
|
31
31
|
}, undefined>, undefined>;
|
|
32
32
|
}, undefined>;
|
|
33
33
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
34
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
35
|
+
readonly data: v.ObjectSchema<{
|
|
36
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
34
39
|
}, undefined>], undefined>>;
|
|
35
40
|
//# sourceMappingURL=getUser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/user/getUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/user/getUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAWlB,CAAA"}
|
|
@@ -4,7 +4,7 @@ export declare const createAccount: import("../../../../..").EndpointConfig<"/v1
|
|
|
4
4
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
5
|
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>;
|
|
6
6
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
7
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
7
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
8
8
|
readonly data: v.ObjectSchema<{
|
|
9
9
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
10
10
|
}, undefined>;
|
|
@@ -31,5 +31,10 @@ export declare const createAccount: import("../../../../..").EndpointConfig<"/v1
|
|
|
31
31
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
32
32
|
}, undefined>, v.ObjectSchema<{
|
|
33
33
|
readonly status: v.LiteralSchema<201, undefined>;
|
|
34
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
35
|
+
readonly data: v.ObjectSchema<{
|
|
36
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
34
39
|
}, undefined>], undefined>>;
|
|
35
40
|
//# sourceMappingURL=createAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/createAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/createAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAaxB,CAAA"}
|
|
@@ -6,7 +6,7 @@ export declare const createAlias: import("../../../../..").EndpointConfig<"/v1/p
|
|
|
6
6
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AliasId">]>, undefined>;
|
|
7
7
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
8
|
}, undefined>;
|
|
9
|
-
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
9
|
+
}, undefined>, v.GenericSchema | 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>;
|
|
@@ -38,5 +38,10 @@ export declare const createAlias: import("../../../../..").EndpointConfig<"/v1/p
|
|
|
38
38
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
39
39
|
}, undefined>, v.ObjectSchema<{
|
|
40
40
|
readonly status: v.LiteralSchema<201, undefined>;
|
|
41
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
42
|
+
readonly data: v.ObjectSchema<{
|
|
43
|
+
readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly status: v.LiteralSchema<403, undefined>;
|
|
41
46
|
}, undefined>], undefined>>;
|
|
42
47
|
//# sourceMappingURL=createAlias.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAlias.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/createAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"createAlias.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/createAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
|