@epilot/email-settings-client 1.5.0 → 1.5.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/dist/definition.js +1 -1
- package/dist/openapi.d.ts +29 -2
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,s,o){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,"__esModule",{value:!0});var n=t(o(240));s.default=n.default},240: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/channels/msteams/connect":{"post":{"operationId":"connectMsTeams","responses":{}}},"/v2/channels/msteams/disconnect":{"post":{"operationId":"disconnectMsTeams","responses":{}}},"/v2/channels/msteams/status":{"get":{"operationId":"getMsTeamsStatus","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":{}},"get":{"operationId":"getDomains","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"}]}')}},s={},o=function o(t){var n=s[t];if(void 0!==n)return n.exports;var r=s[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}(914),t=exports;for(var n in o)t[n]=o[n];o.__esModule&&Object.defineProperty(t,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -984,6 +984,13 @@ declare namespace Paths {
|
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
|
+
namespace GetDomains {
|
|
988
|
+
namespace Responses {
|
|
989
|
+
export type $200 = string[];
|
|
990
|
+
export type $403 = Components.Responses.Forbidden;
|
|
991
|
+
export type $404 = Components.Responses.NotFound;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
987
994
|
namespace GetEmailAddress {
|
|
988
995
|
namespace Parameters {
|
|
989
996
|
export type Id = string;
|
|
@@ -1326,7 +1333,6 @@ declare namespace Paths {
|
|
|
1326
1333
|
}
|
|
1327
1334
|
}
|
|
1328
1335
|
|
|
1329
|
-
|
|
1330
1336
|
export interface OperationMethods {
|
|
1331
1337
|
/**
|
|
1332
1338
|
* provisionEpilotEmailAddress - provisionEpilotEmailAddress
|
|
@@ -1749,6 +1755,17 @@ export interface OperationMethods {
|
|
|
1749
1755
|
data?: Paths.UpdateSetting.RequestBody,
|
|
1750
1756
|
config?: AxiosRequestConfig
|
|
1751
1757
|
): OperationResponse<Paths.UpdateSetting.Responses.$200>
|
|
1758
|
+
/**
|
|
1759
|
+
* getDomains - getDomains
|
|
1760
|
+
*
|
|
1761
|
+
* Retrieves all custom email domains for the organization.
|
|
1762
|
+
*
|
|
1763
|
+
*/
|
|
1764
|
+
'getDomains'(
|
|
1765
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1766
|
+
data?: any,
|
|
1767
|
+
config?: AxiosRequestConfig
|
|
1768
|
+
): OperationResponse<Paths.GetDomains.Responses.$200>
|
|
1752
1769
|
/**
|
|
1753
1770
|
* addDomain - addDomain
|
|
1754
1771
|
*
|
|
@@ -2317,6 +2334,17 @@ export interface PathsDictionary {
|
|
|
2317
2334
|
data?: Paths.DeleteDomain.RequestBody,
|
|
2318
2335
|
config?: AxiosRequestConfig
|
|
2319
2336
|
): OperationResponse<Paths.DeleteDomain.Responses.$204>
|
|
2337
|
+
/**
|
|
2338
|
+
* getDomains - getDomains
|
|
2339
|
+
*
|
|
2340
|
+
* Retrieves all custom email domains for the organization.
|
|
2341
|
+
*
|
|
2342
|
+
*/
|
|
2343
|
+
'get'(
|
|
2344
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2345
|
+
data?: any,
|
|
2346
|
+
config?: AxiosRequestConfig
|
|
2347
|
+
): OperationResponse<Paths.GetDomains.Responses.$200>
|
|
2320
2348
|
}
|
|
2321
2349
|
['/v1/email-settings/domain/name-servers:verify']: {
|
|
2322
2350
|
/**
|
|
@@ -2361,7 +2389,6 @@ export interface PathsDictionary {
|
|
|
2361
2389
|
|
|
2362
2390
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2363
2391
|
|
|
2364
|
-
|
|
2365
2392
|
export type ConnectedOutlookEmail = Components.Schemas.ConnectedOutlookEmail;
|
|
2366
2393
|
export type CreateEmailAddressPayload = Components.Schemas.CreateEmailAddressPayload;
|
|
2367
2394
|
export type CreateSharedInboxPayload = Components.Schemas.CreateSharedInboxPayload;
|