@withone/platform-gmail 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -2
- package/banner.svg +11 -0
- package/dist/index.d.mts +10376 -0
- package/dist/index.d.ts +10376 -0
- package/dist/index.js +963 -0
- package/dist/index.mjs +854 -0
- package/fingerprint.json +1 -0
- package/package.json +33 -4
package/dist/index.js
ADDED
|
@@ -0,0 +1,963 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
batchDeleteUsersMessages: () => batchDeleteUsersMessages,
|
|
24
|
+
batchModifyUsersMessagesLabels: () => batchModifyUsersMessagesLabels,
|
|
25
|
+
createDraft: () => createDraft,
|
|
26
|
+
createUserFilter: () => createUserFilter,
|
|
27
|
+
createUsersClientSideEncryptionCseIdentity: () => createUsersClientSideEncryptionCseIdentity,
|
|
28
|
+
createUsersCseSMimeKeyPair: () => createUsersCseSMimeKeyPair,
|
|
29
|
+
createUsersDelegate: () => createUsersDelegate,
|
|
30
|
+
createUsersDraft: () => createUsersDraft,
|
|
31
|
+
createUsersForwardingAddress: () => createUsersForwardingAddress,
|
|
32
|
+
createUsersLabel: () => createUsersLabel,
|
|
33
|
+
createUsersSendMailAsAlias: () => createUsersSendMailAsAlias,
|
|
34
|
+
deleteSMimeConfigurationSendAsAlias: () => deleteSMimeConfigurationSendAsAlias,
|
|
35
|
+
deleteUsersClientSideEncryptionCseIdentity: () => deleteUsersClientSideEncryptionCseIdentity,
|
|
36
|
+
deleteUsersDraft: () => deleteUsersDraft,
|
|
37
|
+
deleteUsersForwardingAddress: () => deleteUsersForwardingAddress,
|
|
38
|
+
deleteUsersLabel: () => deleteUsersLabel,
|
|
39
|
+
deleteUsersSendAsAlias: () => deleteUsersSendAsAlias,
|
|
40
|
+
deleteUsersSettingsFilter: () => deleteUsersSettingsFilter,
|
|
41
|
+
disableUsersClientSideEncryptionCseKeyPair: () => disableUsersClientSideEncryptionCseKeyPair,
|
|
42
|
+
enableUsersClientSideEncryptionCseKeyPair: () => enableUsersClientSideEncryptionCseKeyPair,
|
|
43
|
+
getMessageAttachmentUsersMessage: () => getMessageAttachmentUsersMessage,
|
|
44
|
+
getSMimeConfigurationSendAsAlias: () => getSMimeConfigurationSendAsAlias,
|
|
45
|
+
getUsersAutoForwardingSettings: () => getUsersAutoForwardingSettings,
|
|
46
|
+
getUsersClientSideEncryptionCseIdentityConfiguration: () => getUsersClientSideEncryptionCseIdentityConfiguration,
|
|
47
|
+
getUsersClientSideEncryptionCseKeyPair: () => getUsersClientSideEncryptionCseKeyPair,
|
|
48
|
+
getUsersDelegate: () => getUsersDelegate,
|
|
49
|
+
getUsersDraft: () => getUsersDraft,
|
|
50
|
+
getUsersForwardingAddressSetting: () => getUsersForwardingAddressSetting,
|
|
51
|
+
getUsersImapSettings: () => getUsersImapSettings,
|
|
52
|
+
getUsersLabel: () => getUsersLabel,
|
|
53
|
+
getUsersLanguageSettings: () => getUsersLanguageSettings,
|
|
54
|
+
getUsersMessage: () => getUsersMessage,
|
|
55
|
+
getUsersPopSettings: () => getUsersPopSettings,
|
|
56
|
+
getUsersProfile: () => getUsersProfile,
|
|
57
|
+
getUsersSendAsAliasSettings: () => getUsersSendAsAliasSettings,
|
|
58
|
+
getUsersSettingsFilter: () => getUsersSettingsFilter,
|
|
59
|
+
getUsersThread: () => getUsersThread,
|
|
60
|
+
getUsersVacationResponderSettings: () => getUsersVacationResponderSettings,
|
|
61
|
+
importUsersMessage: () => importUsersMessage,
|
|
62
|
+
insertMessageIntoUsersMailbox: () => insertMessageIntoUsersMailbox,
|
|
63
|
+
insertSMimeInfoUsersSendAsAlias: () => insertSMimeInfoUsersSendAsAlias,
|
|
64
|
+
listSMimeConfigsUsersSendAsAlias: () => listSMimeConfigsUsersSendAsAlias,
|
|
65
|
+
listUsersClientSideEncryptedCseIdentities: () => listUsersClientSideEncryptedCseIdentities,
|
|
66
|
+
listUsersClientSideEncryptionCseKeyPairs: () => listUsersClientSideEncryptionCseKeyPairs,
|
|
67
|
+
listUsersDelegates: () => listUsersDelegates,
|
|
68
|
+
listUsersDrafts: () => listUsersDrafts,
|
|
69
|
+
listUsersForwardingAddressesSettings: () => listUsersForwardingAddressesSettings,
|
|
70
|
+
listUsersHistory: () => listUsersHistory,
|
|
71
|
+
listUsersLabels: () => listUsersLabels,
|
|
72
|
+
listUsersMessageFilters: () => listUsersMessageFilters,
|
|
73
|
+
listUsersMessages: () => listUsersMessages,
|
|
74
|
+
listUsersSendAsAliases: () => listUsersSendAsAliases,
|
|
75
|
+
listUsersThreads: () => listUsersThreads,
|
|
76
|
+
listViewEmailDrafts: () => listViewEmailDrafts,
|
|
77
|
+
listViewEmailThreads: () => listViewEmailThreads,
|
|
78
|
+
listViewReadOrUnreadEmails: () => listViewReadOrUnreadEmails,
|
|
79
|
+
modifyUsersMessageLabels: () => modifyUsersMessageLabels,
|
|
80
|
+
modifyUsersThreadLabels: () => modifyUsersThreadLabels,
|
|
81
|
+
obliterateUsersCseKeyPair: () => obliterateUsersCseKeyPair,
|
|
82
|
+
patchUsersLabel: () => patchUsersLabel,
|
|
83
|
+
patchUsersSendAsAliasSettings: () => patchUsersSendAsAliasSettings,
|
|
84
|
+
permanentlyDeleteUsersMessage: () => permanentlyDeleteUsersMessage,
|
|
85
|
+
permanentlyDeleteUsersThread: () => permanentlyDeleteUsersThread,
|
|
86
|
+
removeUsersDelegate: () => removeUsersDelegate,
|
|
87
|
+
sendEmail: () => sendEmail,
|
|
88
|
+
sendRawMimeEmailAttachments: () => sendRawMimeEmailAttachments,
|
|
89
|
+
sendUsersDraftEmail: () => sendUsersDraftEmail,
|
|
90
|
+
sendVerificationEmailUsersSendAsAlias: () => sendVerificationEmailUsersSendAsAlias,
|
|
91
|
+
setDefaultSMimeConfigurationUsersSendAsAlias: () => setDefaultSMimeConfigurationUsersSendAsAlias,
|
|
92
|
+
setUpUserMailboxPushNotificationWatch: () => setUpUserMailboxPushNotificationWatch,
|
|
93
|
+
stopPushNotificationsUser: () => stopPushNotificationsUser,
|
|
94
|
+
testConnection: () => testConnection,
|
|
95
|
+
trashUsersMessage: () => trashUsersMessage,
|
|
96
|
+
trashUsersThread: () => trashUsersThread,
|
|
97
|
+
untrashUsersMessage: () => untrashUsersMessage,
|
|
98
|
+
untrashUsersThread: () => untrashUsersThread,
|
|
99
|
+
updateUsersAutoForwardingSettings: () => updateUsersAutoForwardingSettings,
|
|
100
|
+
updateUsersClientSideEncryptionCseIdentityKeyPair: () => updateUsersClientSideEncryptionCseIdentityKeyPair,
|
|
101
|
+
updateUsersDraft: () => updateUsersDraft,
|
|
102
|
+
updateUsersImapSettings: () => updateUsersImapSettings,
|
|
103
|
+
updateUsersLabel: () => updateUsersLabel,
|
|
104
|
+
updateUsersLanguageSettings: () => updateUsersLanguageSettings,
|
|
105
|
+
updateUsersPopSettings: () => updateUsersPopSettings,
|
|
106
|
+
updateUsersSendAsAliasSettings: () => updateUsersSendAsAliasSettings,
|
|
107
|
+
updateUsersVacationResponderSettings: () => updateUsersVacationResponderSettings
|
|
108
|
+
});
|
|
109
|
+
module.exports = __toCommonJS(src_exports);
|
|
110
|
+
var import_codegen = require("@withone/sdk/codegen");
|
|
111
|
+
var __listViewReadOrUnreadEmailsRouting = { "routes": [["connectionKey", "body"], ["format", "body"], ["includeAttachments", "body"], ["includeSpamTrash", "body"], ["label", "body"], ["numberOfEmails", "body"], ["pageToken", "body"], ["query", "body"], ["userId", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
|
|
112
|
+
function listViewReadOrUnreadEmails(input) {
|
|
113
|
+
return new import_codegen.Action({
|
|
114
|
+
systemId: "conn_mod_def::GGSNOTZxFUU::ZWXBuJboTpS3Q_U06pF8gA",
|
|
115
|
+
method: "POST",
|
|
116
|
+
path: "/v1/gmail/get-emails",
|
|
117
|
+
...(0, import_codegen.routeInput)(input, __listViewReadOrUnreadEmailsRouting, { "headers": { "Content-Type": "application/json" } })
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
var __listViewEmailThreadsRouting = { "routes": [["connectionKey", "body"], ["format", "body"], ["includeAttachments", "body"], ["includeSpamTrash", "body"], ["label", "body"], ["maxBodyLength", "body"], ["numberOfThreads", "body"], ["pageToken", "body"], ["query", "body"], ["userId", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
|
|
121
|
+
function listViewEmailThreads(input) {
|
|
122
|
+
return new import_codegen.Action({
|
|
123
|
+
systemId: "conn_mod_def::GGSNlnppgZ0::qk3CudDWTVKPY7hpPVCqLQ",
|
|
124
|
+
method: "POST",
|
|
125
|
+
path: "/v1/gmail/get-threads",
|
|
126
|
+
...(0, import_codegen.routeInput)(input, __listViewEmailThreadsRouting, { "headers": { "Content-Type": "application/json" } })
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
var __listViewEmailDraftsRouting = { "routes": [["connectionKey", "body"], ["format", "body"], ["includeAttachments", "body"], ["includeSpamTrash", "body"], ["label", "body"], ["numberOfDrafts", "body"], ["pageToken", "body"], ["query", "body"], ["userId", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
|
|
130
|
+
function listViewEmailDrafts(input) {
|
|
131
|
+
return new import_codegen.Action({
|
|
132
|
+
systemId: "conn_mod_def::GGSN0sUenHI::u5ran5a8QauDCb5sREknFw",
|
|
133
|
+
method: "POST",
|
|
134
|
+
path: "/v1/gmail/get-drafts",
|
|
135
|
+
...(0, import_codegen.routeInput)(input, __listViewEmailDraftsRouting, { "headers": { "Content-Type": "application/json" } })
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
var __sendEmailRouting = { "routes": [["bcc", "body"], ["body", "body"], ["cc", "body"], ["classificationLabelValues", "body"], ["connectionKey", "body"], ["from", "body"], ["inReplyTo", "body"], ["isHtml", "body"], ["labelIds", "body"], ["references", "body"], ["replyTo", "body"], ["subject", "body"], ["threadId", "body"], ["to", "body"], ["userId", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
|
|
139
|
+
function sendEmail(input) {
|
|
140
|
+
return new import_codegen.Action({
|
|
141
|
+
systemId: "conn_mod_def::GGXAjWkZO8U::uMc1LQIHTTKzeMm3rLL5gQ",
|
|
142
|
+
method: "POST",
|
|
143
|
+
path: "/v1/gmail/send-email",
|
|
144
|
+
...(0, import_codegen.routeInput)(input, __sendEmailRouting, { "headers": { "Content-Type": "application/json" } })
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
var __createDraftRouting = { "routes": [["bcc", "body"], ["body", "body"], ["cc", "body"], ["connectionKey", "body"], ["from", "body"], ["inReplyTo", "body"], ["isHtml", "body"], ["labelIds", "body"], ["references", "body"], ["replyTo", "body"], ["subject", "body"], ["threadId", "body"], ["to", "body"], ["userId", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
|
|
148
|
+
function createDraft(input) {
|
|
149
|
+
return new import_codegen.Action({
|
|
150
|
+
systemId: "conn_mod_def::GGZUe0SIuk8::nhwEKp2cQ6uARsH3513VeQ",
|
|
151
|
+
method: "POST",
|
|
152
|
+
path: "/v1/gmail/create-draft",
|
|
153
|
+
...(0, import_codegen.routeInput)(input, __createDraftRouting, { "headers": { "Content-Type": "application/json" } })
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
var __batchDeleteUsersMessagesRouting = { "routes": [["ids", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
157
|
+
function batchDeleteUsersMessages(input) {
|
|
158
|
+
return new import_codegen.Action({
|
|
159
|
+
systemId: "conn_mod_def::GJ3ocPuzcSs::5GZpXAxhQjyxPCQpvtibjA",
|
|
160
|
+
method: "POST",
|
|
161
|
+
path: "/gmail/v1/users/{{userId}}/messages/batchDelete",
|
|
162
|
+
...(0, import_codegen.routeInput)(input, __batchDeleteUsersMessagesRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
var __createUsersDraftRouting = { "routes": [["message", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
166
|
+
function createUsersDraft(input) {
|
|
167
|
+
return new import_codegen.Action({
|
|
168
|
+
systemId: "conn_mod_def::GJ3oaMOtsBE::KznPt5lMTxmqAv5VYAqxwQ",
|
|
169
|
+
method: "POST",
|
|
170
|
+
path: "/gmail/v1/users/{{userId}}/drafts",
|
|
171
|
+
...(0, import_codegen.routeInput)(input, __createUsersDraftRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
var __deleteUsersDraftRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
175
|
+
function deleteUsersDraft(input) {
|
|
176
|
+
return new import_codegen.Action({
|
|
177
|
+
systemId: "conn_mod_def::GJ3oaUdVmW4::w5IE55OoRc2lm6sylOqk5Q",
|
|
178
|
+
method: "DELETE",
|
|
179
|
+
path: "/gmail/v1/users/{{userId}}/drafts/{{id}}",
|
|
180
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersDraftRouting, { "headers": { "Accept": "application/json" } })
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
var __listUsersDraftsRouting = { "routes": [["userId", "path"], ["includeSpamTrash", "query"], ["maxResults", "query"], ["pageToken", "query"], ["q", "query"]], "requiredParts": ["path"] };
|
|
184
|
+
function listUsersDrafts(input) {
|
|
185
|
+
return new import_codegen.Action({
|
|
186
|
+
systemId: "conn_mod_def::GJ3oamEcU-s::uNEB0VuLRKyJNVX530aUHA",
|
|
187
|
+
method: "GET",
|
|
188
|
+
path: "/gmail/v1/users/{{userId}}/drafts",
|
|
189
|
+
...(0, import_codegen.routeInput)(input, __listUsersDraftsRouting, { "headers": { "Accept": "application/json" } })
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
var __sendUsersDraftEmailRouting = { "routes": [["id", "body"], ["message", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
193
|
+
function sendUsersDraftEmail(input) {
|
|
194
|
+
return new import_codegen.Action({
|
|
195
|
+
systemId: "conn_mod_def::GJ3oatTRIQc::fj4wiYxZRuG68hX235-sUg",
|
|
196
|
+
method: "POST",
|
|
197
|
+
path: "/gmail/v1/users/{{userId}}/drafts/send",
|
|
198
|
+
...(0, import_codegen.routeInput)(input, __sendUsersDraftEmailRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
var __updateUsersDraftRouting = { "routes": [["bodyId", "body", "id"], ["message", "body"], ["pathId", "path", "id"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
202
|
+
function updateUsersDraft(input) {
|
|
203
|
+
return new import_codegen.Action({
|
|
204
|
+
systemId: "conn_mod_def::GJ3oa1OxwjE::08EvDsLsTSSJ6QhfdP_gdA",
|
|
205
|
+
method: "PUT",
|
|
206
|
+
path: "/gmail/v1/users/{{userId}}/drafts/{{id}}",
|
|
207
|
+
...(0, import_codegen.routeInput)(input, __updateUsersDraftRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
var __listUsersHistoryRouting = { "routes": [["userId", "path"], ["historyTypes", "query"], ["labelId", "query"], ["maxResults", "query"], ["pageToken", "query"], ["startHistoryId", "query"]], "requiredParts": ["path", "query"] };
|
|
211
|
+
function listUsersHistory(input) {
|
|
212
|
+
return new import_codegen.Action({
|
|
213
|
+
systemId: "conn_mod_def::GJ3obKaXB1U::JWUEs9nESz2__4shMOpyIg",
|
|
214
|
+
method: "GET",
|
|
215
|
+
path: "/gmail/v1/users/{{userId}}/history",
|
|
216
|
+
...(0, import_codegen.routeInput)(input, __listUsersHistoryRouting, { "headers": { "Accept": "application/json" } })
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
var __createUsersLabelRouting = { "routes": [["color", "body"], ["id", "body"], ["labelListVisibility", "body"], ["messageListVisibility", "body"], ["messagesTotal", "body"], ["messagesUnread", "body"], ["name", "body"], ["threadsTotal", "body"], ["threadsUnread", "body"], ["type", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
220
|
+
function createUsersLabel(input) {
|
|
221
|
+
return new import_codegen.Action({
|
|
222
|
+
systemId: "conn_mod_def::GJ3obSDbZXA::SU-y_lLPQwWPvwvrPRPbEg",
|
|
223
|
+
method: "POST",
|
|
224
|
+
path: "/gmail/v1/users/{{userId}}/labels",
|
|
225
|
+
...(0, import_codegen.routeInput)(input, __createUsersLabelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
var __getUsersLabelRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
229
|
+
function getUsersLabel(input) {
|
|
230
|
+
return new import_codegen.Action({
|
|
231
|
+
systemId: "conn_mod_def::GJ3obmSdmRY::4y99rYJESFywDtZpMhSgiQ",
|
|
232
|
+
method: "GET",
|
|
233
|
+
path: "/gmail/v1/users/{{userId}}/labels/{{id}}",
|
|
234
|
+
...(0, import_codegen.routeInput)(input, __getUsersLabelRouting, { "headers": { "Accept": "application/json" } })
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
var __listUsersLabelsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
238
|
+
function listUsersLabels(input) {
|
|
239
|
+
return new import_codegen.Action({
|
|
240
|
+
systemId: "conn_mod_def::GJ3obtut_gA::L4R17Zu8QL-awsrk5_4b8w",
|
|
241
|
+
method: "GET",
|
|
242
|
+
path: "/gmail/v1/users/{{userId}}/labels",
|
|
243
|
+
...(0, import_codegen.routeInput)(input, __listUsersLabelsRouting, { "headers": { "Accept": "application/json" } })
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
var __patchUsersLabelRouting = { "routes": [["color", "body"], ["bodyId", "body", "id"], ["labelListVisibility", "body"], ["messageListVisibility", "body"], ["messagesTotal", "body"], ["messagesUnread", "body"], ["name", "body"], ["threadsTotal", "body"], ["threadsUnread", "body"], ["type", "body"], ["pathId", "path", "id"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
247
|
+
function patchUsersLabel(input) {
|
|
248
|
+
return new import_codegen.Action({
|
|
249
|
+
systemId: "conn_mod_def::GJ3ob3LIbV8::UeHWashoQ-WbJXsqUGdW_w",
|
|
250
|
+
method: "PATCH",
|
|
251
|
+
path: "/gmail/v1/users/{{userId}}/labels/{{id}}",
|
|
252
|
+
...(0, import_codegen.routeInput)(input, __patchUsersLabelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
var __updateUsersLabelRouting = { "routes": [["color", "body"], ["bodyId", "body", "id"], ["labelListVisibility", "body"], ["messageListVisibility", "body"], ["messagesTotal", "body"], ["messagesUnread", "body"], ["name", "body"], ["threadsTotal", "body"], ["threadsUnread", "body"], ["type", "body"], ["pathId", "path", "id"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
256
|
+
function updateUsersLabel(input) {
|
|
257
|
+
return new import_codegen.Action({
|
|
258
|
+
systemId: "conn_mod_def::GJ3ob-vagxk::uFtyeudiSh6S74SE_nVXfg",
|
|
259
|
+
method: "PUT",
|
|
260
|
+
path: "/gmail/v1/users/{{userId}}/labels/{{id}}",
|
|
261
|
+
...(0, import_codegen.routeInput)(input, __updateUsersLabelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
var __getMessageAttachmentUsersMessageRouting = { "routes": [["id", "path"], ["messageId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
265
|
+
function getMessageAttachmentUsersMessage(input) {
|
|
266
|
+
return new import_codegen.Action({
|
|
267
|
+
systemId: "conn_mod_def::GJ3ocG2ED_w::LGrrJyM-QFmKBaHwvMWwzQ",
|
|
268
|
+
method: "GET",
|
|
269
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{messageId}}/attachments/{{id}}",
|
|
270
|
+
...(0, import_codegen.routeInput)(input, __getMessageAttachmentUsersMessageRouting, { "headers": { "Accept": "application/json" } })
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
var __batchModifyUsersMessagesLabelsRouting = { "routes": [["addLabelIds", "body"], ["ids", "body"], ["removeLabelIds", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
274
|
+
function batchModifyUsersMessagesLabels(input) {
|
|
275
|
+
return new import_codegen.Action({
|
|
276
|
+
systemId: "conn_mod_def::GJ3ocX2edTU::mhLdczGoT2O9KVIUEjp8xw",
|
|
277
|
+
method: "POST",
|
|
278
|
+
path: "/gmail/v1/users/{{userId}}/messages/batchModify",
|
|
279
|
+
...(0, import_codegen.routeInput)(input, __batchModifyUsersMessagesLabelsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
var __permanentlyDeleteUsersMessageRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
283
|
+
function permanentlyDeleteUsersMessage(input) {
|
|
284
|
+
return new import_codegen.Action({
|
|
285
|
+
systemId: "conn_mod_def::GJ3ocgKltKQ::s8UCfiDLSaO9w9oPU32TYA",
|
|
286
|
+
method: "DELETE",
|
|
287
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{id}}",
|
|
288
|
+
...(0, import_codegen.routeInput)(input, __permanentlyDeleteUsersMessageRouting, { "headers": { "Accept": "application/json" } })
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
var __getUsersMessageRouting = { "routes": [["id", "path"], ["userId", "path"], ["format", "query"], ["metadataHeaders", "query"]], "requiredParts": ["path"] };
|
|
292
|
+
function getUsersMessage(input) {
|
|
293
|
+
return new import_codegen.Action({
|
|
294
|
+
systemId: "conn_mod_def::GJ3ocvMGOS8::D__3BgQSSzWtDUoOqLuX2A",
|
|
295
|
+
method: "GET",
|
|
296
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{id}}",
|
|
297
|
+
...(0, import_codegen.routeInput)(input, __getUsersMessageRouting, { "headers": { "Accept": "application/json" } })
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
var __importUsersMessageRouting = { "routes": [["classificationLabelValues", "body"], ["historyId", "body"], ["id", "body"], ["internalDate", "body"], ["labelIds", "body"], ["payload", "body"], ["raw", "body"], ["sizeEstimate", "body"], ["snippet", "body"], ["threadId", "body"], ["userId", "path"], ["deleted", "query"], ["internalDateSource", "query"], ["neverMarkSpam", "query"], ["processForCalendar", "query"]], "requiredParts": ["body", "path"] };
|
|
301
|
+
function importUsersMessage(input) {
|
|
302
|
+
return new import_codegen.Action({
|
|
303
|
+
systemId: "conn_mod_def::GJ3oc4oyLDQ::fu4AK9A8SFmN0P05jGmDpw",
|
|
304
|
+
method: "POST",
|
|
305
|
+
path: "/gmail/v1/users/{{userId}}/messages/import",
|
|
306
|
+
...(0, import_codegen.routeInput)(input, __importUsersMessageRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
var __insertMessageIntoUsersMailboxRouting = { "routes": [["classificationLabelValues", "body"], ["historyId", "body"], ["id", "body"], ["internalDate", "body"], ["labelIds", "body"], ["payload", "body"], ["raw", "body"], ["sizeEstimate", "body"], ["snippet", "body"], ["threadId", "body"], ["userId", "path"], ["deleted", "query"], ["internalDateSource", "query"]], "requiredParts": ["body", "path"] };
|
|
310
|
+
function insertMessageIntoUsersMailbox(input) {
|
|
311
|
+
return new import_codegen.Action({
|
|
312
|
+
systemId: "conn_mod_def::GJ3odB0xmWo::q4zXVfyJSuiqzRIFjn0rQg",
|
|
313
|
+
method: "POST",
|
|
314
|
+
path: "/gmail/v1/users/{{userId}}/messages",
|
|
315
|
+
...(0, import_codegen.routeInput)(input, __insertMessageIntoUsersMailboxRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
var __listUsersMessagesRouting = { "routes": [["userId", "path"], ["includeSpamTrash", "query"], ["labelIds", "query"], ["maxResults", "query"], ["pageToken", "query"], ["q", "query"]], "requiredParts": ["path"] };
|
|
319
|
+
function listUsersMessages(input) {
|
|
320
|
+
return new import_codegen.Action({
|
|
321
|
+
systemId: "conn_mod_def::GJ3odOE-fdw::ijLww5s-SCSplLQtLpxkrw",
|
|
322
|
+
method: "GET",
|
|
323
|
+
path: "/gmail/v1/users/{{userId}}/messages",
|
|
324
|
+
...(0, import_codegen.routeInput)(input, __listUsersMessagesRouting, { "headers": { "Accept": "application/json" } })
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
var __modifyUsersMessageLabelsRouting = { "routes": [["addLabelIds", "body"], ["removeLabelIds", "body"], ["id", "path"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
328
|
+
function modifyUsersMessageLabels(input) {
|
|
329
|
+
return new import_codegen.Action({
|
|
330
|
+
systemId: "conn_mod_def::GJ3odV3ej0w::B1LcFIIiSlm2ZyqYT6qP5w",
|
|
331
|
+
method: "POST",
|
|
332
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{id}}/modify",
|
|
333
|
+
...(0, import_codegen.routeInput)(input, __modifyUsersMessageLabelsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
var __trashUsersMessageRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
337
|
+
function trashUsersMessage(input) {
|
|
338
|
+
return new import_codegen.Action({
|
|
339
|
+
systemId: "conn_mod_def::GJ3odorcmQ4::cewPnC6rSn-LSEg_wZ0a7g",
|
|
340
|
+
method: "POST",
|
|
341
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{id}}/trash",
|
|
342
|
+
...(0, import_codegen.routeInput)(input, __trashUsersMessageRouting, { "headers": { "Accept": "application/json" } })
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
var __sendRawMimeEmailAttachmentsRouting = { "routes": [["classificationLabelValues", "body"], ["historyId", "body"], ["id", "body"], ["internalDate", "body"], ["labelIds", "body"], ["payload", "body"], ["raw", "body"], ["sizeEstimate", "body"], ["snippet", "body"], ["threadId", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
346
|
+
function sendRawMimeEmailAttachments(input) {
|
|
347
|
+
return new import_codegen.Action({
|
|
348
|
+
systemId: "conn_mod_def::GJ3odhCpd3I::gujvYoneSk6NFWltse9bGg",
|
|
349
|
+
method: "POST",
|
|
350
|
+
path: "/gmail/v1/users/{{userId}}/messages/send",
|
|
351
|
+
...(0, import_codegen.routeInput)(input, __sendRawMimeEmailAttachmentsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
var __createUsersClientSideEncryptionCseIdentityRouting = { "routes": [["emailAddress", "body"], ["primaryKeyPairId", "body"], ["signAndEncryptKeyPairs", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
355
|
+
function createUsersClientSideEncryptionCseIdentity(input) {
|
|
356
|
+
return new import_codegen.Action({
|
|
357
|
+
systemId: "conn_mod_def::GJ3od9N2jlM::xDGjXksWRjeSmRljh3rkhw",
|
|
358
|
+
method: "POST",
|
|
359
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/identities",
|
|
360
|
+
...(0, import_codegen.routeInput)(input, __createUsersClientSideEncryptionCseIdentityRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
var __deleteUsersClientSideEncryptionCseIdentityRouting = { "routes": [["cseEmailAddress", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
364
|
+
function deleteUsersClientSideEncryptionCseIdentity(input) {
|
|
365
|
+
return new import_codegen.Action({
|
|
366
|
+
systemId: "conn_mod_def::GJ3oeIhKnXg::GecAb3u8T5SoCrBl4Nvu0g",
|
|
367
|
+
method: "DELETE",
|
|
368
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/identities/{{cseEmailAddress}}",
|
|
369
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersClientSideEncryptionCseIdentityRouting, { "headers": { "Accept": "application/json" } })
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
var __getUsersClientSideEncryptionCseIdentityConfigurationRouting = { "routes": [["cseEmailAddress", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
373
|
+
function getUsersClientSideEncryptionCseIdentityConfiguration(input) {
|
|
374
|
+
return new import_codegen.Action({
|
|
375
|
+
systemId: "conn_mod_def::GJ3oeQvJJoI::1_OrPIqNQayDJcfZn6LdaQ",
|
|
376
|
+
method: "GET",
|
|
377
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/identities/{{cseEmailAddress}}",
|
|
378
|
+
...(0, import_codegen.routeInput)(input, __getUsersClientSideEncryptionCseIdentityConfigurationRouting, { "headers": { "Accept": "application/json" } })
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
var __listUsersClientSideEncryptedCseIdentitiesRouting = { "routes": [["userId", "path"], ["pageSize", "query"], ["pageToken", "query"]], "requiredParts": ["path"] };
|
|
382
|
+
function listUsersClientSideEncryptedCseIdentities(input) {
|
|
383
|
+
return new import_codegen.Action({
|
|
384
|
+
systemId: "conn_mod_def::GJ3oeZiDcp0::1AxvgjrHTU6q4quVGIaC-g",
|
|
385
|
+
method: "GET",
|
|
386
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/identities",
|
|
387
|
+
...(0, import_codegen.routeInput)(input, __listUsersClientSideEncryptedCseIdentitiesRouting, { "headers": { "Accept": "application/json" } })
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
var __updateUsersClientSideEncryptionCseIdentityKeyPairRouting = { "routes": [["bodyEmailAddress", "body", "emailAddress"], ["primaryKeyPairId", "body"], ["signAndEncryptKeyPairs", "body"], ["pathEmailAddress", "path", "emailAddress"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
391
|
+
function updateUsersClientSideEncryptionCseIdentityKeyPair(input) {
|
|
392
|
+
return new import_codegen.Action({
|
|
393
|
+
systemId: "conn_mod_def::GJ3oeia0EqE::a7Hkc1VaQIy7RIcLxJ9P9w",
|
|
394
|
+
method: "PATCH",
|
|
395
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/identities/{{emailAddress}}",
|
|
396
|
+
...(0, import_codegen.routeInput)(input, __updateUsersClientSideEncryptionCseIdentityKeyPairRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
var __createUsersCseSMimeKeyPairRouting = { "routes": [["pkcs7", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
400
|
+
function createUsersCseSMimeKeyPair(input) {
|
|
401
|
+
return new import_codegen.Action({
|
|
402
|
+
systemId: "conn_mod_def::GJ3oerviucM::KVdptt-RTJ-jb_7iEn7APg",
|
|
403
|
+
method: "POST",
|
|
404
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs",
|
|
405
|
+
...(0, import_codegen.routeInput)(input, __createUsersCseSMimeKeyPairRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
var __listUsersClientSideEncryptionCseKeyPairsRouting = { "routes": [["userId", "path"], ["pageSize", "query"], ["pageToken", "query"]], "requiredParts": ["path"] };
|
|
409
|
+
function listUsersClientSideEncryptionCseKeyPairs(input) {
|
|
410
|
+
return new import_codegen.Action({
|
|
411
|
+
systemId: "conn_mod_def::GJ3ofQaC9L0::CHmIlWpsQc2YnTr_wTObjA",
|
|
412
|
+
method: "GET",
|
|
413
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs",
|
|
414
|
+
...(0, import_codegen.routeInput)(input, __listUsersClientSideEncryptionCseKeyPairsRouting, { "headers": { "Accept": "application/json" } })
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
var __getUsersDelegateRouting = { "routes": [["delegateEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
418
|
+
function getUsersDelegate(input) {
|
|
419
|
+
return new import_codegen.Action({
|
|
420
|
+
systemId: "conn_mod_def::GJ3ogB2njmc::Ab-dCaIvQzenmWWM8psdEQ",
|
|
421
|
+
method: "GET",
|
|
422
|
+
path: "/gmail/v1/users/{{userId}}/settings/delegates/{{delegateEmail}}",
|
|
423
|
+
...(0, import_codegen.routeInput)(input, __getUsersDelegateRouting, { "headers": { "Accept": "application/json" } })
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
var __listUsersMessageFiltersRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
427
|
+
function listUsersMessageFilters(input) {
|
|
428
|
+
return new import_codegen.Action({
|
|
429
|
+
systemId: "conn_mod_def::GJ3ogsegCio::JfABQ0ohS6WriZn8TvHqYQ",
|
|
430
|
+
method: "GET",
|
|
431
|
+
path: "/gmail/v1/users/{{userId}}/settings/filters",
|
|
432
|
+
...(0, import_codegen.routeInput)(input, __listUsersMessageFiltersRouting, { "headers": { "Accept": "application/json" } })
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
var __createUsersSendMailAsAliasRouting = { "routes": [["userId", "path"], ["body", "body", null]], "requiredParts": ["path"] };
|
|
436
|
+
function createUsersSendMailAsAlias(input) {
|
|
437
|
+
return new import_codegen.Action({
|
|
438
|
+
systemId: "conn_mod_def::GJ3oiCsXjS0::hrfCWAZyT6-FaG-dDBao2Q",
|
|
439
|
+
method: "POST",
|
|
440
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs",
|
|
441
|
+
...(0, import_codegen.routeInput)(input, __createUsersSendMailAsAliasRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
var __listUsersSendAsAliasesRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
445
|
+
function listUsersSendAsAliases(input) {
|
|
446
|
+
return new import_codegen.Action({
|
|
447
|
+
systemId: "conn_mod_def::GJ3oiit3L1A::Ptbj-qDlQJar1tusI8ZHRg",
|
|
448
|
+
method: "GET",
|
|
449
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs",
|
|
450
|
+
...(0, import_codegen.routeInput)(input, __listUsersSendAsAliasesRouting, { "headers": { "Accept": "application/json" } })
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
var __patchUsersSendAsAliasSettingsRouting = { "routes": [["displayName", "body"], ["isDefault", "body"], ["isPrimary", "body"], ["replyToAddress", "body"], ["bodySendAsEmail", "body", "sendAsEmail"], ["signature", "body"], ["smtpMsa", "body"], ["treatAsAlias", "body"], ["verificationStatus", "body"], ["pathSendAsEmail", "path", "sendAsEmail"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
454
|
+
function patchUsersSendAsAliasSettings(input) {
|
|
455
|
+
return new import_codegen.Action({
|
|
456
|
+
systemId: "conn_mod_def::GJ3oitRsXAo::48HZcXxzR2WnI8hJnSq77A",
|
|
457
|
+
method: "PATCH",
|
|
458
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}",
|
|
459
|
+
...(0, import_codegen.routeInput)(input, __patchUsersSendAsAliasSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
var __getSMimeConfigurationSendAsAliasRouting = { "routes": [["id", "path"], ["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
463
|
+
function getSMimeConfigurationSendAsAlias(input) {
|
|
464
|
+
return new import_codegen.Action({
|
|
465
|
+
systemId: "conn_mod_def::GJ3oi9u5i5k::L7YgXn92R0uyPouAQBwIHA",
|
|
466
|
+
method: "GET",
|
|
467
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/smimeInfo/{{id}}",
|
|
468
|
+
...(0, import_codegen.routeInput)(input, __getSMimeConfigurationSendAsAliasRouting, { "headers": { "Accept": "application/json" } })
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
var __insertSMimeInfoUsersSendAsAliasRouting = { "routes": [["encryptedKeyPassword", "body"], ["isDefault", "body"], ["pkcs12", "body"], ["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
472
|
+
function insertSMimeInfoUsersSendAsAlias(input) {
|
|
473
|
+
return new import_codegen.Action({
|
|
474
|
+
systemId: "conn_mod_def::GJ3ojMPMrMY::laatzGbXTcqVN81mSQ8Izg",
|
|
475
|
+
method: "POST",
|
|
476
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/smimeInfo",
|
|
477
|
+
...(0, import_codegen.routeInput)(input, __insertSMimeInfoUsersSendAsAliasRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
var __listSMimeConfigsUsersSendAsAliasRouting = { "routes": [["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
481
|
+
function listSMimeConfigsUsersSendAsAlias(input) {
|
|
482
|
+
return new import_codegen.Action({
|
|
483
|
+
systemId: "conn_mod_def::GJ3ojUyFvJ4::P1P6l2qKRN62sG3mEbq1gg",
|
|
484
|
+
method: "GET",
|
|
485
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/smimeInfo",
|
|
486
|
+
...(0, import_codegen.routeInput)(input, __listSMimeConfigsUsersSendAsAliasRouting, { "headers": { "Accept": "application/json" } })
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
var __updateUsersSendAsAliasSettingsRouting = { "routes": [["displayName", "body"], ["isDefault", "body"], ["isPrimary", "body"], ["replyToAddress", "body"], ["bodySendAsEmail", "body", "sendAsEmail"], ["signature", "body"], ["smtpMsa", "body"], ["treatAsAlias", "body"], ["verificationStatus", "body"], ["pathSendAsEmail", "path", "sendAsEmail"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
490
|
+
function updateUsersSendAsAliasSettings(input) {
|
|
491
|
+
return new import_codegen.Action({
|
|
492
|
+
systemId: "conn_mod_def::GJ3ojlUvn_s::vX5m0PqmRKWvJm_pe9t27Q",
|
|
493
|
+
method: "PUT",
|
|
494
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}",
|
|
495
|
+
...(0, import_codegen.routeInput)(input, __updateUsersSendAsAliasSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
var __updateUsersImapSettingsRouting = { "routes": [["autoExpunge", "body"], ["enabled", "body"], ["expungeBehavior", "body"], ["maxFolderSize", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
499
|
+
function updateUsersImapSettings(input) {
|
|
500
|
+
return new import_codegen.Action({
|
|
501
|
+
systemId: "conn_mod_def::GJ3okArB8ZU::U28IjXIMT9SJoVNgg9fPiQ",
|
|
502
|
+
method: "PUT",
|
|
503
|
+
path: "/gmail/v1/users/{{userId}}/settings/imap",
|
|
504
|
+
...(0, import_codegen.routeInput)(input, __updateUsersImapSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
var __updateUsersLanguageSettingsRouting = { "routes": [["displayLanguage", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
508
|
+
function updateUsersLanguageSettings(input) {
|
|
509
|
+
return new import_codegen.Action({
|
|
510
|
+
systemId: "conn_mod_def::GJ3okJkhtMk::Ja-0OXehRWSJjNmi5e1bng",
|
|
511
|
+
method: "PUT",
|
|
512
|
+
path: "/gmail/v1/users/{{userId}}/settings/language",
|
|
513
|
+
...(0, import_codegen.routeInput)(input, __updateUsersLanguageSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
var __updateUsersPopSettingsRouting = { "routes": [["accessWindow", "body"], ["disposition", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
517
|
+
function updateUsersPopSettings(input) {
|
|
518
|
+
return new import_codegen.Action({
|
|
519
|
+
systemId: "conn_mod_def::GJ3okR9saBk::0YDv-QBTSDalsZW2EPE96A",
|
|
520
|
+
method: "PUT",
|
|
521
|
+
path: "/gmail/v1/users/{{userId}}/settings/pop",
|
|
522
|
+
...(0, import_codegen.routeInput)(input, __updateUsersPopSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
var __getUsersThreadRouting = { "routes": [["id", "path"], ["userId", "path"], ["format", "query"], ["metadataHeaders", "query"]], "requiredParts": ["path"] };
|
|
526
|
+
function getUsersThread(input) {
|
|
527
|
+
return new import_codegen.Action({
|
|
528
|
+
systemId: "conn_mod_def::GJ3ok0Eq0R8::AAzgZVLqTg2iBuITKpJLZg",
|
|
529
|
+
method: "GET",
|
|
530
|
+
path: "/gmail/v1/users/{{userId}}/threads/{{id}}",
|
|
531
|
+
...(0, import_codegen.routeInput)(input, __getUsersThreadRouting, { "headers": { "Accept": "application/json" } })
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
var __listUsersThreadsRouting = { "routes": [["userId", "path"], ["includeSpamTrash", "query"], ["labelIds", "query"], ["maxResults", "query"], ["pageToken", "query"], ["q", "query"]], "requiredParts": ["path"] };
|
|
535
|
+
function listUsersThreads(input) {
|
|
536
|
+
return new import_codegen.Action({
|
|
537
|
+
systemId: "conn_mod_def::GJ3ok-Q0D40::oLWNlcx4QDORaL_18z-MsQ",
|
|
538
|
+
method: "GET",
|
|
539
|
+
path: "/gmail/v1/users/{{userId}}/threads",
|
|
540
|
+
...(0, import_codegen.routeInput)(input, __listUsersThreadsRouting, { "headers": { "Accept": "application/json" } })
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
var __modifyUsersThreadLabelsRouting = { "routes": [["addLabelIds", "body"], ["removeLabelIds", "body"], ["id", "path"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
544
|
+
function modifyUsersThreadLabels(input) {
|
|
545
|
+
return new import_codegen.Action({
|
|
546
|
+
systemId: "conn_mod_def::GJ3olIfJ9E0::xBAV1bF_RXG94_j4bmye2A",
|
|
547
|
+
method: "POST",
|
|
548
|
+
path: "/gmail/v1/users/{{userId}}/threads/{{id}}/modify",
|
|
549
|
+
...(0, import_codegen.routeInput)(input, __modifyUsersThreadLabelsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
var __trashUsersThreadRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
553
|
+
function trashUsersThread(input) {
|
|
554
|
+
return new import_codegen.Action({
|
|
555
|
+
systemId: "conn_mod_def::GJ3olQIYeTM::xi2rqKkgRgifobrxAHsFMg",
|
|
556
|
+
method: "POST",
|
|
557
|
+
path: "/gmail/v1/users/{{userId}}/threads/{{id}}/trash",
|
|
558
|
+
...(0, import_codegen.routeInput)(input, __trashUsersThreadRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
var __untrashUsersThreadRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
562
|
+
function untrashUsersThread(input) {
|
|
563
|
+
return new import_codegen.Action({
|
|
564
|
+
systemId: "conn_mod_def::GJ3olaXO26o::HwvTM21OQaSagPHwUCCsqQ",
|
|
565
|
+
method: "POST",
|
|
566
|
+
path: "/gmail/v1/users/{{userId}}/threads/{{id}}/untrash",
|
|
567
|
+
...(0, import_codegen.routeInput)(input, __untrashUsersThreadRouting, { "headers": { "Accept": "application/json" } })
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
var __setUpUserMailboxPushNotificationWatchRouting = { "routes": [["labelFilterAction", "body"], ["labelFilterBehavior", "body"], ["labelIds", "body"], ["topicName", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
571
|
+
function setUpUserMailboxPushNotificationWatch(input) {
|
|
572
|
+
return new import_codegen.Action({
|
|
573
|
+
systemId: "conn_mod_def::GJ3olj0BlWE::X_zNS67STLWZW4OkJfwKCg",
|
|
574
|
+
method: "POST",
|
|
575
|
+
path: "/gmail/v1/users/{{userId}}/watch",
|
|
576
|
+
...(0, import_codegen.routeInput)(input, __setUpUserMailboxPushNotificationWatchRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
var __enableUsersClientSideEncryptionCseKeyPairRouting = { "routes": [["keyPairId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
580
|
+
function enableUsersClientSideEncryptionCseKeyPair(input) {
|
|
581
|
+
return new import_codegen.Action({
|
|
582
|
+
systemId: "conn_mod_def::GJ3oe-7K8DA::01A7k_2TQt2rI8AFy9r_MA",
|
|
583
|
+
method: "POST",
|
|
584
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs/{{keyPairId}}:enable",
|
|
585
|
+
...(0, import_codegen.routeInput)(input, __enableUsersClientSideEncryptionCseKeyPairRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
586
|
+
});
|
|
587
|
+
}
|
|
588
|
+
var __disableUsersClientSideEncryptionCseKeyPairRouting = { "routes": [["keyPairId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
589
|
+
function disableUsersClientSideEncryptionCseKeyPair(input) {
|
|
590
|
+
return new import_codegen.Action({
|
|
591
|
+
systemId: "conn_mod_def::GJ3oe0_7f20::BdNaN-T1TFi71CJh7v0_ug",
|
|
592
|
+
method: "POST",
|
|
593
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs/{{keyPairId}}:disable",
|
|
594
|
+
...(0, import_codegen.routeInput)(input, __disableUsersClientSideEncryptionCseKeyPairRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
var __getUsersClientSideEncryptionCseKeyPairRouting = { "routes": [["keyPairId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
598
|
+
function getUsersClientSideEncryptionCseKeyPair(input) {
|
|
599
|
+
return new import_codegen.Action({
|
|
600
|
+
systemId: "conn_mod_def::GJ3ofHYasN8::7osTIYHhTeWi7hGYI18iwA",
|
|
601
|
+
method: "GET",
|
|
602
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs/{{keyPairId}}",
|
|
603
|
+
...(0, import_codegen.routeInput)(input, __getUsersClientSideEncryptionCseKeyPairRouting, { "headers": { "Accept": "application/json" } })
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
var __removeUsersDelegateRouting = { "routes": [["delegateEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
607
|
+
function removeUsersDelegate(input) {
|
|
608
|
+
return new import_codegen.Action({
|
|
609
|
+
systemId: "conn_mod_def::GJ3of06Vmkk::3vcKk27fSe-DKff3DmyUgg",
|
|
610
|
+
method: "DELETE",
|
|
611
|
+
path: "/gmail/v1/users/{{userId}}/settings/delegates/{{delegateEmail}}",
|
|
612
|
+
...(0, import_codegen.routeInput)(input, __removeUsersDelegateRouting, { "headers": { "Accept": "application/json" } })
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
var __getUsersVacationResponderSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
616
|
+
function getUsersVacationResponderSettings(input) {
|
|
617
|
+
return new import_codegen.Action({
|
|
618
|
+
systemId: "conn_mod_def::GJ3oh6a8ETE::LXxWPVTATr-8VX96a2WEAA",
|
|
619
|
+
method: "GET",
|
|
620
|
+
path: "/gmail/v1/users/{{userId}}/settings/vacation",
|
|
621
|
+
...(0, import_codegen.routeInput)(input, __getUsersVacationResponderSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
var __getUsersSendAsAliasSettingsRouting = { "routes": [["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
625
|
+
function getUsersSendAsAliasSettings(input) {
|
|
626
|
+
return new import_codegen.Action({
|
|
627
|
+
systemId: "conn_mod_def::GJ3oiaNCd0U::LOS5TNXYS5mNacZH4Fq_yg",
|
|
628
|
+
method: "GET",
|
|
629
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}",
|
|
630
|
+
...(0, import_codegen.routeInput)(input, __getUsersSendAsAliasSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
var __deleteSMimeConfigurationSendAsAliasRouting = { "routes": [["id", "path"], ["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
634
|
+
function deleteSMimeConfigurationSendAsAlias(input) {
|
|
635
|
+
return new import_codegen.Action({
|
|
636
|
+
systemId: "conn_mod_def::GJ3oi1e9hys::sST2FXqIRIS8ADHgh5kwmw",
|
|
637
|
+
method: "DELETE",
|
|
638
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/smimeInfo/{{id}}",
|
|
639
|
+
...(0, import_codegen.routeInput)(input, __deleteSMimeConfigurationSendAsAliasRouting, { "headers": { "Accept": "application/json" } })
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
var __getUsersDraftRouting = { "routes": [["id", "path"], ["userId", "path"], ["format", "query"]], "requiredParts": ["path"] };
|
|
643
|
+
function getUsersDraft(input) {
|
|
644
|
+
return new import_codegen.Action({
|
|
645
|
+
systemId: "conn_mod_def::GJ3oadCawlA::wsmeD4FhT4qWwCaA-xUuog",
|
|
646
|
+
method: "GET",
|
|
647
|
+
path: "/gmail/v1/users/{{userId}}/drafts/{{id}}",
|
|
648
|
+
...(0, import_codegen.routeInput)(input, __getUsersDraftRouting, { "headers": { "Accept": "application/json" } })
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
var __getUsersProfileRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
652
|
+
function getUsersProfile(input) {
|
|
653
|
+
return new import_codegen.Action({
|
|
654
|
+
systemId: "conn_mod_def::GJ3oa8bJZNA::ZS9kXmE_Rzi4utfESor_ng",
|
|
655
|
+
method: "GET",
|
|
656
|
+
path: "/gmail/v1/users/{{userId}}/profile",
|
|
657
|
+
...(0, import_codegen.routeInput)(input, __getUsersProfileRouting, { "headers": { "Accept": "application/json" } })
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
var __deleteUsersLabelRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
661
|
+
function deleteUsersLabel(input) {
|
|
662
|
+
return new import_codegen.Action({
|
|
663
|
+
systemId: "conn_mod_def::GJ3obewI1xs::RsgLyhF9Tr6nNRDbhTHO1Q",
|
|
664
|
+
method: "DELETE",
|
|
665
|
+
path: "/gmail/v1/users/{{userId}}/labels/{{id}}",
|
|
666
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersLabelRouting, { "headers": { "Accept": "application/json" } })
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
var __untrashUsersMessageRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
670
|
+
function untrashUsersMessage(input) {
|
|
671
|
+
return new import_codegen.Action({
|
|
672
|
+
systemId: "conn_mod_def::GJ3od0pi0O0::a_NjcFpISHys6NY0dybTWg",
|
|
673
|
+
method: "POST",
|
|
674
|
+
path: "/gmail/v1/users/{{userId}}/messages/{{id}}/untrash",
|
|
675
|
+
...(0, import_codegen.routeInput)(input, __untrashUsersMessageRouting, { "headers": { "Accept": "application/json" } })
|
|
676
|
+
});
|
|
677
|
+
}
|
|
678
|
+
var __obliterateUsersCseKeyPairRouting = { "routes": [["keyPairId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
679
|
+
function obliterateUsersCseKeyPair(input) {
|
|
680
|
+
return new import_codegen.Action({
|
|
681
|
+
systemId: "conn_mod_def::GJ3ofcXSMlg::1EHj50AiSFawddh_ltsriw",
|
|
682
|
+
method: "POST",
|
|
683
|
+
path: "/gmail/v1/users/{{userId}}/settings/cse/keypairs/{{keyPairId}}:obliterate",
|
|
684
|
+
...(0, import_codegen.routeInput)(input, __obliterateUsersCseKeyPairRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
685
|
+
});
|
|
686
|
+
}
|
|
687
|
+
var __createUsersDelegateRouting = { "routes": [["delegateEmail", "body"], ["verificationStatus", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
688
|
+
function createUsersDelegate(input) {
|
|
689
|
+
return new import_codegen.Action({
|
|
690
|
+
systemId: "conn_mod_def::GJ3oflPdD6c::M8aAcSDwQluS8uSz43kQCQ",
|
|
691
|
+
method: "POST",
|
|
692
|
+
path: "/gmail/v1/users/{{userId}}/settings/delegates",
|
|
693
|
+
...(0, import_codegen.routeInput)(input, __createUsersDelegateRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
var __listUsersDelegatesRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
697
|
+
function listUsersDelegates(input) {
|
|
698
|
+
return new import_codegen.Action({
|
|
699
|
+
systemId: "conn_mod_def::GJ3ogKgPK1A::9vQonY8WSkyqwFLr_tstUg",
|
|
700
|
+
method: "GET",
|
|
701
|
+
path: "/gmail/v1/users/{{userId}}/settings/delegates",
|
|
702
|
+
...(0, import_codegen.routeInput)(input, __listUsersDelegatesRouting, { "headers": { "Accept": "application/json" } })
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
var __createUserFilterRouting = { "routes": [["action", "body"], ["criteria", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
706
|
+
function createUserFilter(input) {
|
|
707
|
+
return new import_codegen.Action({
|
|
708
|
+
systemId: "conn_mod_def::GJ3ogSsF48E::1HDxsOsIStOvuFtv9KZA1Q",
|
|
709
|
+
method: "POST",
|
|
710
|
+
path: "/gmail/v1/users/{{userId}}/settings/filters",
|
|
711
|
+
...(0, import_codegen.routeInput)(input, __createUserFilterRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
var __deleteUsersSettingsFilterRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
715
|
+
function deleteUsersSettingsFilter(input) {
|
|
716
|
+
return new import_codegen.Action({
|
|
717
|
+
systemId: "conn_mod_def::GJ3ogaaX2g0::SkT9l6duSgmphv_HnhSClg",
|
|
718
|
+
method: "DELETE",
|
|
719
|
+
path: "/gmail/v1/users/{{userId}}/settings/filters/{{id}}",
|
|
720
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersSettingsFilterRouting, { "headers": { "Accept": "application/json" } })
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
var __getUsersSettingsFilterRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
724
|
+
function getUsersSettingsFilter(input) {
|
|
725
|
+
return new import_codegen.Action({
|
|
726
|
+
systemId: "conn_mod_def::GJ3ogjnFPn8::sePhmnthTduIKf3KvqpakA",
|
|
727
|
+
method: "GET",
|
|
728
|
+
path: "/gmail/v1/users/{{userId}}/settings/filters/{{id}}",
|
|
729
|
+
...(0, import_codegen.routeInput)(input, __getUsersSettingsFilterRouting, { "headers": { "Accept": "application/json" } })
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
var __createUsersForwardingAddressRouting = { "routes": [["forwardingEmail", "body"], ["verificationStatus", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
733
|
+
function createUsersForwardingAddress(input) {
|
|
734
|
+
return new import_codegen.Action({
|
|
735
|
+
systemId: "conn_mod_def::GJ3og0U4eeQ::MzHaN0eDRJKGoyaTERnXfQ",
|
|
736
|
+
method: "POST",
|
|
737
|
+
path: "/gmail/v1/users/{{userId}}/settings/forwardingAddresses",
|
|
738
|
+
...(0, import_codegen.routeInput)(input, __createUsersForwardingAddressRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
var __deleteUsersForwardingAddressRouting = { "routes": [["forwardingEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
742
|
+
function deleteUsersForwardingAddress(input) {
|
|
743
|
+
return new import_codegen.Action({
|
|
744
|
+
systemId: "conn_mod_def::GJ3og7ys438::85j7r42gSOuXz1cjCcXEyw",
|
|
745
|
+
method: "DELETE",
|
|
746
|
+
path: "/gmail/v1/users/{{userId}}/settings/forwardingAddresses/{{forwardingEmail}}",
|
|
747
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersForwardingAddressRouting, { "headers": { "Accept": "application/json" } })
|
|
748
|
+
});
|
|
749
|
+
}
|
|
750
|
+
var __getUsersForwardingAddressSettingRouting = { "routes": [["forwardingEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
751
|
+
function getUsersForwardingAddressSetting(input) {
|
|
752
|
+
return new import_codegen.Action({
|
|
753
|
+
systemId: "conn_mod_def::GJ3ohEX__UI::ifonmvsaTKW8wvhZyaBg_w",
|
|
754
|
+
method: "GET",
|
|
755
|
+
path: "/gmail/v1/users/{{userId}}/settings/forwardingAddresses/{{forwardingEmail}}",
|
|
756
|
+
...(0, import_codegen.routeInput)(input, __getUsersForwardingAddressSettingRouting, { "headers": { "Accept": "application/json" } })
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
var __listUsersForwardingAddressesSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
760
|
+
function listUsersForwardingAddressesSettings(input) {
|
|
761
|
+
return new import_codegen.Action({
|
|
762
|
+
systemId: "conn_mod_def::GJ3ohL2huEs::a8tvxudtR42CH8qNZcKddA",
|
|
763
|
+
method: "GET",
|
|
764
|
+
path: "/gmail/v1/users/{{userId}}/settings/forwardingAddresses",
|
|
765
|
+
...(0, import_codegen.routeInput)(input, __listUsersForwardingAddressesSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
var __getUsersAutoForwardingSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
769
|
+
function getUsersAutoForwardingSettings(input) {
|
|
770
|
+
return new import_codegen.Action({
|
|
771
|
+
systemId: "conn_mod_def::GJ3ohTcnvyQ::NhBf14T5T8i0R9LZVLDRRA",
|
|
772
|
+
method: "GET",
|
|
773
|
+
path: "/gmail/v1/users/{{userId}}/settings/autoForwarding",
|
|
774
|
+
...(0, import_codegen.routeInput)(input, __getUsersAutoForwardingSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
var __getUsersImapSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
778
|
+
function getUsersImapSettings(input) {
|
|
779
|
+
return new import_codegen.Action({
|
|
780
|
+
systemId: "conn_mod_def::GJ3ohbK277A::bBmhFj-NQEic9g7OWHJYRQ",
|
|
781
|
+
method: "GET",
|
|
782
|
+
path: "/gmail/v1/users/{{userId}}/settings/imap",
|
|
783
|
+
...(0, import_codegen.routeInput)(input, __getUsersImapSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
var __getUsersLanguageSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
787
|
+
function getUsersLanguageSettings(input) {
|
|
788
|
+
return new import_codegen.Action({
|
|
789
|
+
systemId: "conn_mod_def::GJ3ohiovxJo::1-6mh7DORumX3FWS9yIkbw",
|
|
790
|
+
method: "GET",
|
|
791
|
+
path: "/gmail/v1/users/{{userId}}/settings/language",
|
|
792
|
+
...(0, import_codegen.routeInput)(input, __getUsersLanguageSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
var __getUsersPopSettingsRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
796
|
+
function getUsersPopSettings(input) {
|
|
797
|
+
return new import_codegen.Action({
|
|
798
|
+
systemId: "conn_mod_def::GJ3ohyeTk0A::RUlOCBFMRWKYyrrObVzxvQ",
|
|
799
|
+
method: "GET",
|
|
800
|
+
path: "/gmail/v1/users/{{userId}}/settings/pop",
|
|
801
|
+
...(0, import_codegen.routeInput)(input, __getUsersPopSettingsRouting, { "headers": { "Accept": "application/json" } })
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
var __deleteUsersSendAsAliasRouting = { "routes": [["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
805
|
+
function deleteUsersSendAsAlias(input) {
|
|
806
|
+
return new import_codegen.Action({
|
|
807
|
+
systemId: "conn_mod_def::GJ3oiM-Ngm0::GypKLWQEQXGGGfmPaBnAYA",
|
|
808
|
+
method: "DELETE",
|
|
809
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}",
|
|
810
|
+
...(0, import_codegen.routeInput)(input, __deleteUsersSendAsAliasRouting, { "headers": { "Accept": "application/json" } })
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
var __setDefaultSMimeConfigurationUsersSendAsAliasRouting = { "routes": [["id", "path"], ["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
814
|
+
function setDefaultSMimeConfigurationUsersSendAsAlias(input) {
|
|
815
|
+
return new import_codegen.Action({
|
|
816
|
+
systemId: "conn_mod_def::GJ3ojdYceEY::RRo8BIILTnOqO6OYsJNoRA",
|
|
817
|
+
method: "POST",
|
|
818
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/smimeInfo/{{id}}/setDefault",
|
|
819
|
+
...(0, import_codegen.routeInput)(input, __setDefaultSMimeConfigurationUsersSendAsAliasRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
var __sendVerificationEmailUsersSendAsAliasRouting = { "routes": [["sendAsEmail", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
823
|
+
function sendVerificationEmailUsersSendAsAlias(input) {
|
|
824
|
+
return new import_codegen.Action({
|
|
825
|
+
systemId: "conn_mod_def::GJ3ojvJP0VQ::HEVQ9Gm1QI2TntLejFuWfA",
|
|
826
|
+
method: "POST",
|
|
827
|
+
path: "/gmail/v1/users/{{userId}}/settings/sendAs/{{sendAsEmail}}/verify",
|
|
828
|
+
...(0, import_codegen.routeInput)(input, __sendVerificationEmailUsersSendAsAliasRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
829
|
+
});
|
|
830
|
+
}
|
|
831
|
+
var __updateUsersAutoForwardingSettingsRouting = { "routes": [["disposition", "body"], ["emailAddress", "body"], ["enabled", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
832
|
+
function updateUsersAutoForwardingSettings(input) {
|
|
833
|
+
return new import_codegen.Action({
|
|
834
|
+
systemId: "conn_mod_def::GJ3oj3mc-YU::x-nOYO-fSpajvusK4LmQXg",
|
|
835
|
+
method: "PUT",
|
|
836
|
+
path: "/gmail/v1/users/{{userId}}/settings/autoForwarding",
|
|
837
|
+
...(0, import_codegen.routeInput)(input, __updateUsersAutoForwardingSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
var __updateUsersVacationResponderSettingsRouting = { "routes": [["enableAutoReply", "body"], ["endTime", "body"], ["responseBodyHtml", "body"], ["responseBodyPlainText", "body"], ["responseSubject", "body"], ["restrictToContacts", "body"], ["restrictToDomain", "body"], ["startTime", "body"], ["userId", "path"]], "requiredParts": ["body", "path"] };
|
|
841
|
+
function updateUsersVacationResponderSettings(input) {
|
|
842
|
+
return new import_codegen.Action({
|
|
843
|
+
systemId: "conn_mod_def::GJ3okZ0TB50::FyqfRPPmRlK7a27cOg0nIw",
|
|
844
|
+
method: "PUT",
|
|
845
|
+
path: "/gmail/v1/users/{{userId}}/settings/vacation",
|
|
846
|
+
...(0, import_codegen.routeInput)(input, __updateUsersVacationResponderSettingsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
var __stopPushNotificationsUserRouting = { "routes": [["userId", "path"]], "requiredParts": ["path"] };
|
|
850
|
+
function stopPushNotificationsUser(input) {
|
|
851
|
+
return new import_codegen.Action({
|
|
852
|
+
systemId: "conn_mod_def::GJ3okhh9hD4::ENMOzzgLTiCf369rkAORvg",
|
|
853
|
+
method: "POST",
|
|
854
|
+
path: "/gmail/v1/users/{{userId}}/stop",
|
|
855
|
+
...(0, import_codegen.routeInput)(input, __stopPushNotificationsUserRouting, { "headers": { "Accept": "application/json" } })
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
var __permanentlyDeleteUsersThreadRouting = { "routes": [["id", "path"], ["userId", "path"]], "requiredParts": ["path"] };
|
|
859
|
+
function permanentlyDeleteUsersThread(input) {
|
|
860
|
+
return new import_codegen.Action({
|
|
861
|
+
systemId: "conn_mod_def::GJ3okqXKyjA::eoDTQJA4S1OoPi2-CcYTlA",
|
|
862
|
+
method: "DELETE",
|
|
863
|
+
path: "/gmail/v1/users/{{userId}}/threads/{{id}}",
|
|
864
|
+
...(0, import_codegen.routeInput)(input, __permanentlyDeleteUsersThreadRouting, { "headers": { "Accept": "application/json" } })
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
var __testConnectionRouting = { "routes": [], "requiredParts": [] };
|
|
868
|
+
function testConnection(input) {
|
|
869
|
+
return new import_codegen.Action({
|
|
870
|
+
systemId: "conn_mod_def::GOIPNNw-PeQ::woeb8GNmQMKvgiEOypXffA",
|
|
871
|
+
method: "GET",
|
|
872
|
+
path: "/gmail/v1/users/me/profile",
|
|
873
|
+
...(0, import_codegen.routeInput)(input, __testConnectionRouting, { "headers": { "Accept": "application/json" } })
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
877
|
+
0 && (module.exports = {
|
|
878
|
+
batchDeleteUsersMessages,
|
|
879
|
+
batchModifyUsersMessagesLabels,
|
|
880
|
+
createDraft,
|
|
881
|
+
createUserFilter,
|
|
882
|
+
createUsersClientSideEncryptionCseIdentity,
|
|
883
|
+
createUsersCseSMimeKeyPair,
|
|
884
|
+
createUsersDelegate,
|
|
885
|
+
createUsersDraft,
|
|
886
|
+
createUsersForwardingAddress,
|
|
887
|
+
createUsersLabel,
|
|
888
|
+
createUsersSendMailAsAlias,
|
|
889
|
+
deleteSMimeConfigurationSendAsAlias,
|
|
890
|
+
deleteUsersClientSideEncryptionCseIdentity,
|
|
891
|
+
deleteUsersDraft,
|
|
892
|
+
deleteUsersForwardingAddress,
|
|
893
|
+
deleteUsersLabel,
|
|
894
|
+
deleteUsersSendAsAlias,
|
|
895
|
+
deleteUsersSettingsFilter,
|
|
896
|
+
disableUsersClientSideEncryptionCseKeyPair,
|
|
897
|
+
enableUsersClientSideEncryptionCseKeyPair,
|
|
898
|
+
getMessageAttachmentUsersMessage,
|
|
899
|
+
getSMimeConfigurationSendAsAlias,
|
|
900
|
+
getUsersAutoForwardingSettings,
|
|
901
|
+
getUsersClientSideEncryptionCseIdentityConfiguration,
|
|
902
|
+
getUsersClientSideEncryptionCseKeyPair,
|
|
903
|
+
getUsersDelegate,
|
|
904
|
+
getUsersDraft,
|
|
905
|
+
getUsersForwardingAddressSetting,
|
|
906
|
+
getUsersImapSettings,
|
|
907
|
+
getUsersLabel,
|
|
908
|
+
getUsersLanguageSettings,
|
|
909
|
+
getUsersMessage,
|
|
910
|
+
getUsersPopSettings,
|
|
911
|
+
getUsersProfile,
|
|
912
|
+
getUsersSendAsAliasSettings,
|
|
913
|
+
getUsersSettingsFilter,
|
|
914
|
+
getUsersThread,
|
|
915
|
+
getUsersVacationResponderSettings,
|
|
916
|
+
importUsersMessage,
|
|
917
|
+
insertMessageIntoUsersMailbox,
|
|
918
|
+
insertSMimeInfoUsersSendAsAlias,
|
|
919
|
+
listSMimeConfigsUsersSendAsAlias,
|
|
920
|
+
listUsersClientSideEncryptedCseIdentities,
|
|
921
|
+
listUsersClientSideEncryptionCseKeyPairs,
|
|
922
|
+
listUsersDelegates,
|
|
923
|
+
listUsersDrafts,
|
|
924
|
+
listUsersForwardingAddressesSettings,
|
|
925
|
+
listUsersHistory,
|
|
926
|
+
listUsersLabels,
|
|
927
|
+
listUsersMessageFilters,
|
|
928
|
+
listUsersMessages,
|
|
929
|
+
listUsersSendAsAliases,
|
|
930
|
+
listUsersThreads,
|
|
931
|
+
listViewEmailDrafts,
|
|
932
|
+
listViewEmailThreads,
|
|
933
|
+
listViewReadOrUnreadEmails,
|
|
934
|
+
modifyUsersMessageLabels,
|
|
935
|
+
modifyUsersThreadLabels,
|
|
936
|
+
obliterateUsersCseKeyPair,
|
|
937
|
+
patchUsersLabel,
|
|
938
|
+
patchUsersSendAsAliasSettings,
|
|
939
|
+
permanentlyDeleteUsersMessage,
|
|
940
|
+
permanentlyDeleteUsersThread,
|
|
941
|
+
removeUsersDelegate,
|
|
942
|
+
sendEmail,
|
|
943
|
+
sendRawMimeEmailAttachments,
|
|
944
|
+
sendUsersDraftEmail,
|
|
945
|
+
sendVerificationEmailUsersSendAsAlias,
|
|
946
|
+
setDefaultSMimeConfigurationUsersSendAsAlias,
|
|
947
|
+
setUpUserMailboxPushNotificationWatch,
|
|
948
|
+
stopPushNotificationsUser,
|
|
949
|
+
testConnection,
|
|
950
|
+
trashUsersMessage,
|
|
951
|
+
trashUsersThread,
|
|
952
|
+
untrashUsersMessage,
|
|
953
|
+
untrashUsersThread,
|
|
954
|
+
updateUsersAutoForwardingSettings,
|
|
955
|
+
updateUsersClientSideEncryptionCseIdentityKeyPair,
|
|
956
|
+
updateUsersDraft,
|
|
957
|
+
updateUsersImapSettings,
|
|
958
|
+
updateUsersLabel,
|
|
959
|
+
updateUsersLanguageSettings,
|
|
960
|
+
updateUsersPopSettings,
|
|
961
|
+
updateUsersSendAsAliasSettings,
|
|
962
|
+
updateUsersVacationResponderSettings
|
|
963
|
+
});
|