@epilot/email-settings-client 1.3.0-rc2 → 1.4.0
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/definition.js +1 -1
- package/dist/openapi.d.ts +45 -131
- package/package.json +3 -3
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={330(e,o,t){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(o,"__esModule",{value:!0});var n=s(t(466));o.default=n.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v2/email-settings/email-addresses/epilot:provision":{"put":{"operationId":"provisionEpilotEmailAddress","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses/primary":{"post":{"operationId":"setEmailAddressPrimary","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses/{id}":{"get":{"operationId":"getEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"responses":{}},"delete":{"operationId":"deleteEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"responses":{}},"put":{"operationId":"updateEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses":{"get":{"operationId":"listEmailAddresses","responses":{}},"post":{"operationId":"addEmailAddress","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/shared-inboxes/{id}":{"get":{"operationId":"getSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"}],"responses":{}},"delete":{"operationId":"deleteSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"},{"name":"successorInboxId","in":"query","required":false}],"responses":{}},"put":{"operationId":"updateSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/shared-inboxes":{"get":{"operationId":"listSharedInboxes","responses":{}},"post":{"operationId":"addSharedInbox","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/inbox-buckets":{"get":{"operationId":"listInboxBuckets","responses":{}}},"/v2/outlook/connect":{"get":{"operationId":"connectOutlook","responses":{}}},"/v2/outlook/connection/status":{"get":{"operationId":"getOutlookConnectionStatus","responses":{}}},"/v2/outlook/connection/disconnect":{"post":{"operationId":"disconnectOutlook","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/connect":{"post":{"operationId":"connectOutlookMailbox","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/{email}/disconnect":{"post":{"operationId":"disconnectOutlookMailbox","parameters":[{"name":"email","in":"path","required":true}],"responses":{}}},"/v2/outlook/mailbox/{email}/sync":{"post":{"operationId":"startMailboxSync","parameters":[{"name":"email","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/{email}/sync/status":{"get":{"operationId":"getMailboxSyncStatus","parameters":[{"name":"email","in":"path","required":true}],"responses":{}}},"/v2/outlook/mailbox/{email}/sync/retry":{"post":{"operationId":"retryMailboxSync","parameters":[{"name":"email","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/mappings":{"get":{"operationId":"getConnectedOutlookEmails","responses":{}}},"/v2/outlook/
|
|
1
|
+
(()=>{"use strict";var e={330(e,o,t){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(o,"__esModule",{value:!0});var n=s(t(466));o.default=n.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v2/email-settings/email-addresses/epilot:provision":{"put":{"operationId":"provisionEpilotEmailAddress","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses/primary":{"post":{"operationId":"setEmailAddressPrimary","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses/{id}":{"get":{"operationId":"getEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"responses":{}},"delete":{"operationId":"deleteEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"responses":{}},"put":{"operationId":"updateEmailAddress","parameters":[{"$ref":"#/components/parameters/EmailAddressId"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses":{"get":{"operationId":"listEmailAddresses","responses":{}},"post":{"operationId":"addEmailAddress","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/shared-inboxes/{id}":{"get":{"operationId":"getSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"}],"responses":{}},"delete":{"operationId":"deleteSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"},{"name":"successorInboxId","in":"query","required":false}],"responses":{}},"put":{"operationId":"updateSharedInbox","parameters":[{"$ref":"#/components/parameters/SharedInboxId"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/shared-inboxes":{"get":{"operationId":"listSharedInboxes","responses":{}},"post":{"operationId":"addSharedInbox","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/inbox-buckets":{"get":{"operationId":"listInboxBuckets","responses":{}}},"/v2/outlook/connect":{"get":{"operationId":"connectOutlook","responses":{}}},"/v2/outlook/connection/status":{"get":{"operationId":"getOutlookConnectionStatus","responses":{}}},"/v2/outlook/connection/disconnect":{"post":{"operationId":"disconnectOutlook","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/connect":{"post":{"operationId":"connectOutlookMailbox","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/{email}/disconnect":{"post":{"operationId":"disconnectOutlookMailbox","parameters":[{"name":"email","in":"path","required":true}],"responses":{}}},"/v2/outlook/mailbox/{email}/sync":{"post":{"operationId":"startMailboxSync","parameters":[{"name":"email","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/{email}/sync/status":{"get":{"operationId":"getMailboxSyncStatus","parameters":[{"name":"email","in":"path","required":true}],"responses":{}}},"/v2/outlook/mailbox/{email}/sync/retry":{"post":{"operationId":"retryMailboxSync","parameters":[{"name":"email","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/outlook/mailbox/mappings":{"get":{"operationId":"getConnectedOutlookEmails","responses":{}}},"/v2/outlook/oauth/callback":{"get":{"operationId":"outlookOAuthCallback","parameters":[{"name":"code","in":"query","required":false},{"name":"state","in":"query","required":true},{"name":"session_state","in":"query","required":false},{"name":"error","in":"query","required":false},{"name":"error_description","in":"query","required":false},{"name":"error_subcode","in":"query","required":false},{"name":"client_info","in":"query","required":false},{"name":"error_uri","in":"query","required":false},{"name":"admin_consent","in":"query","required":false},{"name":"tenant","in":"query","required":false}],"responses":{}}},"/v1/email-settings":{"get":{"operationId":"getSettings","parameters":[{"name":"type","in":"query","required":true},{"name":"id","in":"query"}],"responses":{}},"post":{"operationId":"addSetting","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSetting","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/{id}":{"post":{"operationId":"updateSetting","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain":{"post":{"operationId":"addDomain","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteDomain","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain/name-servers:verify":{"post":{"operationId":"verifyNameServers","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain:verify":{"post":{"operationId":"verifyDomain","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{"responses":{"ListInboxBucketsSuccessResponse":{"content":{"application/json":{}}},"ProvisionEpilotEmailAddressSuccessResponse":{"content":{"application/json":{}}},"SetEmailAddressPrimarySuccessResponse":{"content":{"application/json":{}}},"CreateEmailAddressSuccessResponse":{"content":{"application/json":{}}},"UpdateEmailAddressSuccessResponse":{"content":{"application/json":{}}},"GetEmailAddressSuccessResponse":{"content":{"application/json":{}}},"ListEmailAddressesSuccessResponse":{"content":{"application/json":{}}},"NoContent":{},"CreateSharedInboxSuccessResponse":{"content":{"application/json":{}}},"UpdateSharedInboxSuccessResponse":{"content":{"application/json":{}}},"GetSharedInboxSuccessResponse":{"content":{"application/json":{}}},"ListSharedInboxesSuccessResponse":{"content":{"application/json":{}}},"BadRequest":{"content":{"application/json":{}}},"Forbidden":{"content":{"application/json":{}}},"NotFound":{"content":{"application/json":{}}},"Conflict":{"content":{"application/json":{}}},"InternalServerError":{"content":{"application/json":{}}},"OutlookErrorResponse":{"content":{"application/json":{}}}},"parameters":{"EmailAddressId":{"name":"id","in":"path","required":true},"SharedInboxId":{"name":"id","in":"path","required":true}}},"servers":[{"url":"https://email-settings.sls.epilot.io"}]}')}},o={},t=function t(s){var n=o[s];if(void 0!==n)return n.exports;var r=o[s]={exports:{}};return e[s].call(r.exports,r,r.exports,t),r.exports}(330),s=exports;for(var n in t)s[n]=t[n];t.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -298,6 +298,28 @@ declare namespace Components {
|
|
|
298
298
|
*/
|
|
299
299
|
inbox_id: string;
|
|
300
300
|
}
|
|
301
|
+
export type MailboxSyncFolderStatuses = "PENDING" | "RUNNING" | "COMPLETED" | "FAILED" | "SKIPPED";
|
|
302
|
+
export interface MailboxSyncStatus {
|
|
303
|
+
execution_id: string;
|
|
304
|
+
status: MailboxSyncStatuses;
|
|
305
|
+
timeframe: MailboxSyncTimeframePeriods;
|
|
306
|
+
started_at: string; // date-time
|
|
307
|
+
completed_at?: string; // date-time
|
|
308
|
+
inbox?: {
|
|
309
|
+
status?: MailboxSyncFolderStatuses;
|
|
310
|
+
total_messages?: number;
|
|
311
|
+
processed_messages?: number;
|
|
312
|
+
failed_messages?: number;
|
|
313
|
+
};
|
|
314
|
+
sent_items?: {
|
|
315
|
+
status?: MailboxSyncFolderStatuses;
|
|
316
|
+
total_messages?: number;
|
|
317
|
+
processed_messages?: number;
|
|
318
|
+
failed_messages?: number;
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
export type MailboxSyncStatuses = "RUNNING" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "CANCELLED";
|
|
322
|
+
export type MailboxSyncTimeframePeriods = "5m" | "1w" | "2w" | "1m";
|
|
301
323
|
export interface OutlookConnectionError {
|
|
302
324
|
/**
|
|
303
325
|
* Error code or message from the OAuth flow.
|
|
@@ -967,25 +989,7 @@ declare namespace Paths {
|
|
|
967
989
|
email: Parameters.Email /* email */;
|
|
968
990
|
}
|
|
969
991
|
namespace Responses {
|
|
970
|
-
export
|
|
971
|
-
executionId: string;
|
|
972
|
-
status: "RUNNING" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "CANCELLED";
|
|
973
|
-
timeframe: string;
|
|
974
|
-
startedAt: string; // date-time
|
|
975
|
-
completedAt?: string; // date-time
|
|
976
|
-
inbox?: {
|
|
977
|
-
status?: string;
|
|
978
|
-
totalMessages?: number;
|
|
979
|
-
processedMessages?: number;
|
|
980
|
-
failedMessages?: number;
|
|
981
|
-
};
|
|
982
|
-
sentitems?: {
|
|
983
|
-
status?: string;
|
|
984
|
-
totalMessages?: number;
|
|
985
|
-
processedMessages?: number;
|
|
986
|
-
failedMessages?: number;
|
|
987
|
-
};
|
|
988
|
-
}
|
|
992
|
+
export type $200 = Components.Schemas.MailboxSyncStatus;
|
|
989
993
|
export interface $404 {
|
|
990
994
|
}
|
|
991
995
|
export interface $500 {
|
|
@@ -1113,7 +1117,7 @@ declare namespace Paths {
|
|
|
1113
1117
|
/**
|
|
1114
1118
|
* Execution ID of the sync to retry
|
|
1115
1119
|
*/
|
|
1116
|
-
|
|
1120
|
+
sync_id: string;
|
|
1117
1121
|
/**
|
|
1118
1122
|
* Retry scope. Use 'all_failed' to retry all retryable failed messages.
|
|
1119
1123
|
*/
|
|
@@ -1121,18 +1125,18 @@ declare namespace Paths {
|
|
|
1121
1125
|
/**
|
|
1122
1126
|
* Specific Graph message IDs to retry (alternative to scope)
|
|
1123
1127
|
*/
|
|
1124
|
-
|
|
1128
|
+
message_ids?: string[];
|
|
1125
1129
|
}
|
|
1126
1130
|
namespace Responses {
|
|
1127
1131
|
export interface $202 {
|
|
1128
1132
|
/**
|
|
1129
1133
|
* Execution ID for the retry sync
|
|
1130
1134
|
*/
|
|
1131
|
-
|
|
1135
|
+
retry_execution_id: string;
|
|
1132
1136
|
/**
|
|
1133
1137
|
* Number of messages queued for retry
|
|
1134
1138
|
*/
|
|
1135
|
-
|
|
1139
|
+
messages_queued: number;
|
|
1136
1140
|
}
|
|
1137
1141
|
export interface $404 {
|
|
1138
1142
|
}
|
|
@@ -1161,20 +1165,25 @@ declare namespace Paths {
|
|
|
1161
1165
|
}
|
|
1162
1166
|
export interface RequestBody {
|
|
1163
1167
|
/**
|
|
1164
|
-
*
|
|
1165
|
-
* 5m
|
|
1168
|
+
* Sync period:
|
|
1169
|
+
* - 5m: last 5 minutes (quick sync)
|
|
1170
|
+
* - 1w: 1 week
|
|
1171
|
+
* - 2w: 2 weeks
|
|
1172
|
+
* - 1m: 1 month
|
|
1166
1173
|
*
|
|
1167
1174
|
*/
|
|
1168
|
-
timeframe:
|
|
1175
|
+
timeframe: Components.Schemas.MailboxSyncTimeframePeriods;
|
|
1169
1176
|
}
|
|
1170
1177
|
namespace Responses {
|
|
1171
1178
|
export interface $202 {
|
|
1172
1179
|
/**
|
|
1173
|
-
*
|
|
1180
|
+
* The execution ID
|
|
1174
1181
|
*/
|
|
1175
|
-
|
|
1176
|
-
status:
|
|
1177
|
-
timeframe:
|
|
1182
|
+
execution_id: string;
|
|
1183
|
+
status: Components.Schemas.MailboxSyncStatuses;
|
|
1184
|
+
timeframe: Components.Schemas.MailboxSyncTimeframePeriods;
|
|
1185
|
+
}
|
|
1186
|
+
export interface $400 {
|
|
1178
1187
|
}
|
|
1179
1188
|
export interface $404 {
|
|
1180
1189
|
}
|
|
@@ -1184,49 +1193,6 @@ declare namespace Paths {
|
|
|
1184
1193
|
}
|
|
1185
1194
|
}
|
|
1186
1195
|
}
|
|
1187
|
-
namespace TestWebhookGet {
|
|
1188
|
-
namespace Parameters {
|
|
1189
|
-
export type ValidationToken = string;
|
|
1190
|
-
}
|
|
1191
|
-
export interface QueryParameters {
|
|
1192
|
-
validationToken?: Parameters.ValidationToken;
|
|
1193
|
-
}
|
|
1194
|
-
namespace Responses {
|
|
1195
|
-
export type $200 = string;
|
|
1196
|
-
export interface $202 {
|
|
1197
|
-
message?: string;
|
|
1198
|
-
timestamp?: string; // date-time
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
namespace TestWebhookPost {
|
|
1203
|
-
namespace Parameters {
|
|
1204
|
-
export type DebugMessages = boolean;
|
|
1205
|
-
export type ValidationToken = string;
|
|
1206
|
-
}
|
|
1207
|
-
export interface QueryParameters {
|
|
1208
|
-
validationToken?: Parameters.ValidationToken;
|
|
1209
|
-
debugMessages?: Parameters.DebugMessages;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* Graph API notification payload
|
|
1213
|
-
*/
|
|
1214
|
-
export interface RequestBody {
|
|
1215
|
-
value?: {
|
|
1216
|
-
subscriptionId?: string;
|
|
1217
|
-
changeType?: string;
|
|
1218
|
-
resource?: string;
|
|
1219
|
-
clientState?: string;
|
|
1220
|
-
}[];
|
|
1221
|
-
}
|
|
1222
|
-
namespace Responses {
|
|
1223
|
-
export type $200 = string;
|
|
1224
|
-
export interface $202 {
|
|
1225
|
-
message?: string;
|
|
1226
|
-
timestamp?: string; // date-time
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
1196
|
namespace UpdateEmailAddress {
|
|
1231
1197
|
namespace Parameters {
|
|
1232
1198
|
export type Id = string;
|
|
@@ -1586,8 +1552,7 @@ export interface OperationMethods {
|
|
|
1586
1552
|
* startMailboxSync - Start Mailbox Sync
|
|
1587
1553
|
*
|
|
1588
1554
|
* Triggers an Outlook mailbox sync for the specified email address.
|
|
1589
|
-
* Syncs existing emails (inbox + sent items)
|
|
1590
|
-
* using AWS Step Functions with Distributed Map.
|
|
1555
|
+
* Syncs existing emails (inbox + sent items) for the specified timeframe.
|
|
1591
1556
|
*
|
|
1592
1557
|
*/
|
|
1593
1558
|
'startMailboxSync'(
|
|
@@ -1631,32 +1596,6 @@ export interface OperationMethods {
|
|
|
1631
1596
|
data?: any,
|
|
1632
1597
|
config?: AxiosRequestConfig
|
|
1633
1598
|
): OperationResponse<Paths.GetConnectedOutlookEmails.Responses.$200>
|
|
1634
|
-
/**
|
|
1635
|
-
* testWebhookGet - testWebhookGet
|
|
1636
|
-
*
|
|
1637
|
-
* Test endpoint for debugging Graph API webhook notifications via ngrok.
|
|
1638
|
-
* Handles Microsoft Graph subscription validation requests by returning the validationToken.
|
|
1639
|
-
* This is a PUBLIC endpoint with no authentication.
|
|
1640
|
-
*
|
|
1641
|
-
*/
|
|
1642
|
-
'testWebhookGet'(
|
|
1643
|
-
parameters?: Parameters<Paths.TestWebhookGet.QueryParameters> | null,
|
|
1644
|
-
data?: any,
|
|
1645
|
-
config?: AxiosRequestConfig
|
|
1646
|
-
): OperationResponse<Paths.TestWebhookGet.Responses.$200 | Paths.TestWebhookGet.Responses.$202>
|
|
1647
|
-
/**
|
|
1648
|
-
* testWebhookPost - testWebhookPost
|
|
1649
|
-
*
|
|
1650
|
-
* Test endpoint for debugging Graph API webhook notifications via ngrok.
|
|
1651
|
-
* Logs all incoming webhook payloads for debugging purposes.
|
|
1652
|
-
* This is a PUBLIC endpoint with no authentication.
|
|
1653
|
-
*
|
|
1654
|
-
*/
|
|
1655
|
-
'testWebhookPost'(
|
|
1656
|
-
parameters?: Parameters<Paths.TestWebhookPost.QueryParameters> | null,
|
|
1657
|
-
data?: Paths.TestWebhookPost.RequestBody,
|
|
1658
|
-
config?: AxiosRequestConfig
|
|
1659
|
-
): OperationResponse<Paths.TestWebhookPost.Responses.$200 | Paths.TestWebhookPost.Responses.$202>
|
|
1660
1599
|
/**
|
|
1661
1600
|
* outlookOAuthCallback - outlookOAuthCallback
|
|
1662
1601
|
*
|
|
@@ -2095,8 +2034,7 @@ export interface PathsDictionary {
|
|
|
2095
2034
|
* startMailboxSync - Start Mailbox Sync
|
|
2096
2035
|
*
|
|
2097
2036
|
* Triggers an Outlook mailbox sync for the specified email address.
|
|
2098
|
-
* Syncs existing emails (inbox + sent items)
|
|
2099
|
-
* using AWS Step Functions with Distributed Map.
|
|
2037
|
+
* Syncs existing emails (inbox + sent items) for the specified timeframe.
|
|
2100
2038
|
*
|
|
2101
2039
|
*/
|
|
2102
2040
|
'post'(
|
|
@@ -2147,34 +2085,6 @@ export interface PathsDictionary {
|
|
|
2147
2085
|
config?: AxiosRequestConfig
|
|
2148
2086
|
): OperationResponse<Paths.GetConnectedOutlookEmails.Responses.$200>
|
|
2149
2087
|
}
|
|
2150
|
-
['/v2/outlook/test-webhook']: {
|
|
2151
|
-
/**
|
|
2152
|
-
* testWebhookGet - testWebhookGet
|
|
2153
|
-
*
|
|
2154
|
-
* Test endpoint for debugging Graph API webhook notifications via ngrok.
|
|
2155
|
-
* Handles Microsoft Graph subscription validation requests by returning the validationToken.
|
|
2156
|
-
* This is a PUBLIC endpoint with no authentication.
|
|
2157
|
-
*
|
|
2158
|
-
*/
|
|
2159
|
-
'get'(
|
|
2160
|
-
parameters?: Parameters<Paths.TestWebhookGet.QueryParameters> | null,
|
|
2161
|
-
data?: any,
|
|
2162
|
-
config?: AxiosRequestConfig
|
|
2163
|
-
): OperationResponse<Paths.TestWebhookGet.Responses.$200 | Paths.TestWebhookGet.Responses.$202>
|
|
2164
|
-
/**
|
|
2165
|
-
* testWebhookPost - testWebhookPost
|
|
2166
|
-
*
|
|
2167
|
-
* Test endpoint for debugging Graph API webhook notifications via ngrok.
|
|
2168
|
-
* Logs all incoming webhook payloads for debugging purposes.
|
|
2169
|
-
* This is a PUBLIC endpoint with no authentication.
|
|
2170
|
-
*
|
|
2171
|
-
*/
|
|
2172
|
-
'post'(
|
|
2173
|
-
parameters?: Parameters<Paths.TestWebhookPost.QueryParameters> | null,
|
|
2174
|
-
data?: Paths.TestWebhookPost.RequestBody,
|
|
2175
|
-
config?: AxiosRequestConfig
|
|
2176
|
-
): OperationResponse<Paths.TestWebhookPost.Responses.$200 | Paths.TestWebhookPost.Responses.$202>
|
|
2177
|
-
}
|
|
2178
2088
|
['/v2/outlook/oauth/callback']: {
|
|
2179
2089
|
/**
|
|
2180
2090
|
* outlookOAuthCallback - outlookOAuthCallback
|
|
@@ -2348,6 +2258,10 @@ export type EmailAddressSetting = Components.Schemas.EmailAddressSetting;
|
|
|
2348
2258
|
export type EmailDomainSetting = Components.Schemas.EmailDomainSetting;
|
|
2349
2259
|
export type ErrorResponse = Components.Schemas.ErrorResponse;
|
|
2350
2260
|
export type InboxBucketResponse = Components.Schemas.InboxBucketResponse;
|
|
2261
|
+
export type MailboxSyncFolderStatuses = Components.Schemas.MailboxSyncFolderStatuses;
|
|
2262
|
+
export type MailboxSyncStatus = Components.Schemas.MailboxSyncStatus;
|
|
2263
|
+
export type MailboxSyncStatuses = Components.Schemas.MailboxSyncStatuses;
|
|
2264
|
+
export type MailboxSyncTimeframePeriods = Components.Schemas.MailboxSyncTimeframePeriods;
|
|
2351
2265
|
export type OutlookConnectionError = Components.Schemas.OutlookConnectionError;
|
|
2352
2266
|
export type OutlookConnectionStatus = Components.Schemas.OutlookConnectionStatus;
|
|
2353
2267
|
export type ProvisionEpilotEmailAddressPayload = Components.Schemas.ProvisionEpilotEmailAddressPayload;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/email-settings-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "API Client for epilot Email Settings API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"ts-node": "^10.9.1",
|
|
70
70
|
"typescript": "^4.1.3",
|
|
71
71
|
"webpack": "^5.18.0",
|
|
72
|
-
"webpack-cli": "^4.
|
|
72
|
+
"webpack-cli": "^4.10.0"
|
|
73
73
|
},
|
|
74
74
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
|
-
}
|
|
75
|
+
}
|