@epilot/email-settings-client 0.7.0 → 0.8.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 +280 -0
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={390:function(e,t
|
|
1
|
+
(()=>{"use strict";var e={390:function(e,s,t){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,"__esModule",{value:!0});var n=o(t(466));s.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":{"content":{"application/json":{}}},"responses":{}}},"/v2/email-settings/email-addresses/primary":{"post":{"operationId":"setEmailAddressPrimary","requestBody":{"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":{"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"}],"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":{"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings":{"get":{"operationId":"getSettings","parameters":[{"name":"type","in":"query","required":true},{"name":"id","in":"query"}],"responses":{}},"post":{"operationId":"addSetting","requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteSetting","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/{id}":{"post":{"operationId":"updateSetting","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain":{"post":{"operationId":"addDomain","requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteDomain","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain/name-servers:verify":{"post":{"operationId":"verifyNameServers","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/email-settings/domain:verify":{"post":{"operationId":"verifyDomain","requestBody":{"content":{"application/json":{}}},"responses":{}}}},"components":{"responses":{"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":{}}}},"parameters":{"EmailAddressId":{"name":"id","in":"path","required":true},"SharedInboxId":{"name":"id","in":"path","required":true}}},"servers":[{"url":"https://email-settings.sls.epilot.io"}]}')}},s={},t=function t(o){var n=s[o];if(void 0!==n)return n.exports;var a=s[o]={exports:{}};return e[o].call(a.exports,a,a.exports,t),a.exports}(390),o=exports;for(var n in t)o[n]=t[n];t.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -10,25 +10,41 @@ import type {
|
|
|
10
10
|
|
|
11
11
|
declare namespace Components {
|
|
12
12
|
namespace Parameters {
|
|
13
|
+
export type EmailAddressId = string;
|
|
13
14
|
export type SharedInboxId = string;
|
|
14
15
|
}
|
|
15
16
|
export interface PathParameters {
|
|
17
|
+
EmailAddressId?: Parameters.EmailAddressId;
|
|
16
18
|
SharedInboxId?: Parameters.SharedInboxId;
|
|
17
19
|
}
|
|
18
20
|
namespace Responses {
|
|
19
21
|
export type BadRequest = Schemas.ErrorResponse;
|
|
20
22
|
export type Conflict = Schemas.ErrorResponse;
|
|
23
|
+
export type CreateEmailAddressSuccessResponse = Schemas.EmailAddressResponse;
|
|
21
24
|
export type CreateSharedInboxSuccessResponse = Schemas.SharedInboxResponse;
|
|
22
25
|
export type Forbidden = Schemas.ErrorResponse;
|
|
26
|
+
export type GetEmailAddressSuccessResponse = Schemas.EmailAddressResponse;
|
|
23
27
|
export type GetSharedInboxSuccessResponse = Schemas.SharedInboxResponse;
|
|
24
28
|
export type InternalServerError = Schemas.ErrorResponse;
|
|
29
|
+
export type ListEmailAddressesSuccessResponse = Schemas.EmailAddressResponse[];
|
|
25
30
|
export type ListSharedInboxesSuccessResponse = Schemas.SharedInboxResponse[];
|
|
26
31
|
export interface NoContent {
|
|
27
32
|
}
|
|
28
33
|
export type NotFound = Schemas.ErrorResponse;
|
|
34
|
+
export type ProvisionEpilotEmailAddressSuccessResponse = Schemas.EmailAddressResponse;
|
|
35
|
+
export type SetEmailAddressPrimarySuccessResponse = Schemas.EmailAddressResponse;
|
|
36
|
+
export type UpdateEmailAddressSuccessResponse = Schemas.EmailAddressResponse;
|
|
29
37
|
export type UpdateSharedInboxSuccessResponse = Schemas.SharedInboxResponse;
|
|
30
38
|
}
|
|
31
39
|
namespace Schemas {
|
|
40
|
+
export interface CreateEmailAddressPayload {
|
|
41
|
+
address: string;
|
|
42
|
+
name?: string;
|
|
43
|
+
user_ids?: string[];
|
|
44
|
+
group_ids?: string[];
|
|
45
|
+
default_signature_id?: string;
|
|
46
|
+
shared_inbox_id?: string;
|
|
47
|
+
}
|
|
32
48
|
export interface CreateSharedInboxPayload {
|
|
33
49
|
id?: string;
|
|
34
50
|
color: string;
|
|
@@ -43,6 +59,22 @@ declare namespace Components {
|
|
|
43
59
|
*/
|
|
44
60
|
domain?: string;
|
|
45
61
|
}
|
|
62
|
+
export interface EmailAddressResponse {
|
|
63
|
+
id: string;
|
|
64
|
+
created_at: string; // date-time
|
|
65
|
+
updated_at?: string; // date-time
|
|
66
|
+
created_by?: string;
|
|
67
|
+
updated_by?: string;
|
|
68
|
+
address: string;
|
|
69
|
+
name?: string;
|
|
70
|
+
user_ids?: string[];
|
|
71
|
+
group_ids?: string[];
|
|
72
|
+
default_signature_id?: string;
|
|
73
|
+
shared_inbox_id?: string;
|
|
74
|
+
is_active?: boolean;
|
|
75
|
+
is_primary?: boolean;
|
|
76
|
+
is_epilot_email_address?: boolean;
|
|
77
|
+
}
|
|
46
78
|
/**
|
|
47
79
|
* Setting that allows to add an email address on the custom domain. For e.g; john@doe.com
|
|
48
80
|
*/
|
|
@@ -55,6 +87,9 @@ declare namespace Components {
|
|
|
55
87
|
error: string;
|
|
56
88
|
status: number;
|
|
57
89
|
}
|
|
90
|
+
export interface ProvisionEpilotEmailAddressPayload {
|
|
91
|
+
address: string;
|
|
92
|
+
}
|
|
58
93
|
/**
|
|
59
94
|
* - Restrict duplicates within:
|
|
60
95
|
* * 10s
|
|
@@ -69,6 +104,9 @@ declare namespace Components {
|
|
|
69
104
|
*
|
|
70
105
|
*/
|
|
71
106
|
export type RestrictDuplicatesWithinSetting = "restrict_duplicates_within";
|
|
107
|
+
export interface SetEmailAddressPrimaryPayload {
|
|
108
|
+
address: string;
|
|
109
|
+
}
|
|
72
110
|
export interface Setting {
|
|
73
111
|
[name: string]: any;
|
|
74
112
|
id?: string;
|
|
@@ -124,6 +162,14 @@ declare namespace Components {
|
|
|
124
162
|
* Setting that allows to add a signature.
|
|
125
163
|
*/
|
|
126
164
|
export type SignatureSetting = "signature";
|
|
165
|
+
export interface UpdateEmailAddressPayload {
|
|
166
|
+
name?: string;
|
|
167
|
+
user_ids?: string[];
|
|
168
|
+
group_ids?: string[];
|
|
169
|
+
default_signature_id?: string;
|
|
170
|
+
shared_inbox_id?: string;
|
|
171
|
+
is_active?: boolean;
|
|
172
|
+
}
|
|
127
173
|
export interface UpdateSharedInboxPayload {
|
|
128
174
|
color?: string;
|
|
129
175
|
name?: string;
|
|
@@ -149,6 +195,16 @@ declare namespace Paths {
|
|
|
149
195
|
}
|
|
150
196
|
}
|
|
151
197
|
}
|
|
198
|
+
namespace AddEmailAddress {
|
|
199
|
+
export type RequestBody = Components.Schemas.CreateEmailAddressPayload;
|
|
200
|
+
namespace Responses {
|
|
201
|
+
export type $201 = Components.Responses.CreateEmailAddressSuccessResponse;
|
|
202
|
+
export type $400 = Components.Responses.BadRequest;
|
|
203
|
+
export type $403 = Components.Responses.Forbidden;
|
|
204
|
+
export type $409 = Components.Responses.Conflict;
|
|
205
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
152
208
|
namespace AddSetting {
|
|
153
209
|
export type RequestBody = Components.Schemas.Setting;
|
|
154
210
|
namespace Responses {
|
|
@@ -180,6 +236,20 @@ declare namespace Paths {
|
|
|
180
236
|
}
|
|
181
237
|
}
|
|
182
238
|
}
|
|
239
|
+
namespace DeleteEmailAddress {
|
|
240
|
+
namespace Parameters {
|
|
241
|
+
export type Id = string;
|
|
242
|
+
}
|
|
243
|
+
export interface PathParameters {
|
|
244
|
+
id: Parameters.Id;
|
|
245
|
+
}
|
|
246
|
+
namespace Responses {
|
|
247
|
+
export type $204 = Components.Responses.NoContent;
|
|
248
|
+
export type $403 = Components.Responses.Forbidden;
|
|
249
|
+
export type $404 = Components.Responses.NotFound;
|
|
250
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
183
253
|
namespace DeleteSetting {
|
|
184
254
|
export interface RequestBody {
|
|
185
255
|
type: Components.Schemas.SettingType;
|
|
@@ -211,6 +281,20 @@ declare namespace Paths {
|
|
|
211
281
|
export type $500 = Components.Responses.InternalServerError;
|
|
212
282
|
}
|
|
213
283
|
}
|
|
284
|
+
namespace GetEmailAddress {
|
|
285
|
+
namespace Parameters {
|
|
286
|
+
export type Id = string;
|
|
287
|
+
}
|
|
288
|
+
export interface PathParameters {
|
|
289
|
+
id: Parameters.Id;
|
|
290
|
+
}
|
|
291
|
+
namespace Responses {
|
|
292
|
+
export type $200 = Components.Responses.GetEmailAddressSuccessResponse;
|
|
293
|
+
export type $403 = Components.Responses.Forbidden;
|
|
294
|
+
export type $404 = Components.Responses.NotFound;
|
|
295
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
214
298
|
namespace GetSettings {
|
|
215
299
|
namespace Parameters {
|
|
216
300
|
export type Id = string;
|
|
@@ -242,6 +326,13 @@ declare namespace Paths {
|
|
|
242
326
|
export type $500 = Components.Responses.InternalServerError;
|
|
243
327
|
}
|
|
244
328
|
}
|
|
329
|
+
namespace ListEmailAddresses {
|
|
330
|
+
namespace Responses {
|
|
331
|
+
export type $200 = Components.Responses.ListEmailAddressesSuccessResponse;
|
|
332
|
+
export type $403 = Components.Responses.Forbidden;
|
|
333
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
245
336
|
namespace ListSharedInboxes {
|
|
246
337
|
namespace Responses {
|
|
247
338
|
export type $200 = Components.Responses.ListSharedInboxesSuccessResponse;
|
|
@@ -249,6 +340,42 @@ declare namespace Paths {
|
|
|
249
340
|
export type $500 = Components.Responses.InternalServerError;
|
|
250
341
|
}
|
|
251
342
|
}
|
|
343
|
+
namespace ProvisionEpilotEmailAddress {
|
|
344
|
+
export type RequestBody = Components.Schemas.ProvisionEpilotEmailAddressPayload;
|
|
345
|
+
namespace Responses {
|
|
346
|
+
export type $200 = Components.Responses.ProvisionEpilotEmailAddressSuccessResponse;
|
|
347
|
+
export type $400 = Components.Responses.BadRequest;
|
|
348
|
+
export type $409 = Components.Responses.Conflict;
|
|
349
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
namespace SetEmailAddressPrimary {
|
|
353
|
+
export type RequestBody = Components.Schemas.SetEmailAddressPrimaryPayload;
|
|
354
|
+
namespace Responses {
|
|
355
|
+
export type $200 = Components.Responses.SetEmailAddressPrimarySuccessResponse;
|
|
356
|
+
export type $400 = Components.Responses.BadRequest;
|
|
357
|
+
export type $403 = Components.Responses.Forbidden;
|
|
358
|
+
export type $409 = Components.Responses.Conflict;
|
|
359
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
namespace UpdateEmailAddress {
|
|
363
|
+
namespace Parameters {
|
|
364
|
+
export type Id = string;
|
|
365
|
+
}
|
|
366
|
+
export interface PathParameters {
|
|
367
|
+
id: Parameters.Id;
|
|
368
|
+
}
|
|
369
|
+
export type RequestBody = Components.Schemas.UpdateEmailAddressPayload;
|
|
370
|
+
namespace Responses {
|
|
371
|
+
export type $200 = Components.Responses.UpdateEmailAddressSuccessResponse;
|
|
372
|
+
export type $400 = Components.Responses.BadRequest;
|
|
373
|
+
export type $403 = Components.Responses.Forbidden;
|
|
374
|
+
export type $404 = Components.Responses.NotFound;
|
|
375
|
+
export type $409 = Components.Responses.Conflict;
|
|
376
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
252
379
|
namespace UpdateSetting {
|
|
253
380
|
namespace Parameters {
|
|
254
381
|
export type Id = string;
|
|
@@ -306,6 +433,76 @@ declare namespace Paths {
|
|
|
306
433
|
|
|
307
434
|
|
|
308
435
|
export interface OperationMethods {
|
|
436
|
+
/**
|
|
437
|
+
* provisionEpilotEmailAddress - provisionEpilotEmailAddress
|
|
438
|
+
*
|
|
439
|
+
* Provision or reactivate epilot email address, deactivating other active epilot email addresses.
|
|
440
|
+
*/
|
|
441
|
+
'provisionEpilotEmailAddress'(
|
|
442
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
443
|
+
data?: Paths.ProvisionEpilotEmailAddress.RequestBody,
|
|
444
|
+
config?: AxiosRequestConfig
|
|
445
|
+
): OperationResponse<Paths.ProvisionEpilotEmailAddress.Responses.$200>
|
|
446
|
+
/**
|
|
447
|
+
* setEmailAddressPrimary - setEmailAddressPrimary
|
|
448
|
+
*
|
|
449
|
+
* Set email address as primary
|
|
450
|
+
*/
|
|
451
|
+
'setEmailAddressPrimary'(
|
|
452
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
453
|
+
data?: Paths.SetEmailAddressPrimary.RequestBody,
|
|
454
|
+
config?: AxiosRequestConfig
|
|
455
|
+
): OperationResponse<Paths.SetEmailAddressPrimary.Responses.$200>
|
|
456
|
+
/**
|
|
457
|
+
* getEmailAddress - getEmailAddress
|
|
458
|
+
*
|
|
459
|
+
* Get email address
|
|
460
|
+
*/
|
|
461
|
+
'getEmailAddress'(
|
|
462
|
+
parameters?: Parameters<Paths.GetEmailAddress.PathParameters> | null,
|
|
463
|
+
data?: any,
|
|
464
|
+
config?: AxiosRequestConfig
|
|
465
|
+
): OperationResponse<Paths.GetEmailAddress.Responses.$200>
|
|
466
|
+
/**
|
|
467
|
+
* updateEmailAddress - updateEmailAddress
|
|
468
|
+
*
|
|
469
|
+
* Update email address
|
|
470
|
+
*/
|
|
471
|
+
'updateEmailAddress'(
|
|
472
|
+
parameters?: Parameters<Paths.UpdateEmailAddress.PathParameters> | null,
|
|
473
|
+
data?: Paths.UpdateEmailAddress.RequestBody,
|
|
474
|
+
config?: AxiosRequestConfig
|
|
475
|
+
): OperationResponse<Paths.UpdateEmailAddress.Responses.$200>
|
|
476
|
+
/**
|
|
477
|
+
* deleteEmailAddress - deleteEmailAddress
|
|
478
|
+
*
|
|
479
|
+
* Delete email address
|
|
480
|
+
*/
|
|
481
|
+
'deleteEmailAddress'(
|
|
482
|
+
parameters?: Parameters<Paths.DeleteEmailAddress.PathParameters> | null,
|
|
483
|
+
data?: any,
|
|
484
|
+
config?: AxiosRequestConfig
|
|
485
|
+
): OperationResponse<Paths.DeleteEmailAddress.Responses.$204>
|
|
486
|
+
/**
|
|
487
|
+
* listEmailAddresses - listEmailAddresses
|
|
488
|
+
*
|
|
489
|
+
* List email addresses
|
|
490
|
+
*/
|
|
491
|
+
'listEmailAddresses'(
|
|
492
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
493
|
+
data?: any,
|
|
494
|
+
config?: AxiosRequestConfig
|
|
495
|
+
): OperationResponse<Paths.ListEmailAddresses.Responses.$200>
|
|
496
|
+
/**
|
|
497
|
+
* addEmailAddress - addEmailAddress
|
|
498
|
+
*
|
|
499
|
+
* Add email address
|
|
500
|
+
*/
|
|
501
|
+
'addEmailAddress'(
|
|
502
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
503
|
+
data?: Paths.AddEmailAddress.RequestBody,
|
|
504
|
+
config?: AxiosRequestConfig
|
|
505
|
+
): OperationResponse<Paths.AddEmailAddress.Responses.$201>
|
|
309
506
|
/**
|
|
310
507
|
* getSharedInbox - getSharedInbox
|
|
311
508
|
*
|
|
@@ -439,6 +636,84 @@ export interface OperationMethods {
|
|
|
439
636
|
}
|
|
440
637
|
|
|
441
638
|
export interface PathsDictionary {
|
|
639
|
+
['/v2/email-settings/email-addresses/epilot:provision']: {
|
|
640
|
+
/**
|
|
641
|
+
* provisionEpilotEmailAddress - provisionEpilotEmailAddress
|
|
642
|
+
*
|
|
643
|
+
* Provision or reactivate epilot email address, deactivating other active epilot email addresses.
|
|
644
|
+
*/
|
|
645
|
+
'put'(
|
|
646
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
647
|
+
data?: Paths.ProvisionEpilotEmailAddress.RequestBody,
|
|
648
|
+
config?: AxiosRequestConfig
|
|
649
|
+
): OperationResponse<Paths.ProvisionEpilotEmailAddress.Responses.$200>
|
|
650
|
+
}
|
|
651
|
+
['/v2/email-settings/email-addresses/primary']: {
|
|
652
|
+
/**
|
|
653
|
+
* setEmailAddressPrimary - setEmailAddressPrimary
|
|
654
|
+
*
|
|
655
|
+
* Set email address as primary
|
|
656
|
+
*/
|
|
657
|
+
'post'(
|
|
658
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
659
|
+
data?: Paths.SetEmailAddressPrimary.RequestBody,
|
|
660
|
+
config?: AxiosRequestConfig
|
|
661
|
+
): OperationResponse<Paths.SetEmailAddressPrimary.Responses.$200>
|
|
662
|
+
}
|
|
663
|
+
['/v2/email-settings/email-addresses/{id}']: {
|
|
664
|
+
/**
|
|
665
|
+
* getEmailAddress - getEmailAddress
|
|
666
|
+
*
|
|
667
|
+
* Get email address
|
|
668
|
+
*/
|
|
669
|
+
'get'(
|
|
670
|
+
parameters?: Parameters<Paths.GetEmailAddress.PathParameters> | null,
|
|
671
|
+
data?: any,
|
|
672
|
+
config?: AxiosRequestConfig
|
|
673
|
+
): OperationResponse<Paths.GetEmailAddress.Responses.$200>
|
|
674
|
+
/**
|
|
675
|
+
* deleteEmailAddress - deleteEmailAddress
|
|
676
|
+
*
|
|
677
|
+
* Delete email address
|
|
678
|
+
*/
|
|
679
|
+
'delete'(
|
|
680
|
+
parameters?: Parameters<Paths.DeleteEmailAddress.PathParameters> | null,
|
|
681
|
+
data?: any,
|
|
682
|
+
config?: AxiosRequestConfig
|
|
683
|
+
): OperationResponse<Paths.DeleteEmailAddress.Responses.$204>
|
|
684
|
+
/**
|
|
685
|
+
* updateEmailAddress - updateEmailAddress
|
|
686
|
+
*
|
|
687
|
+
* Update email address
|
|
688
|
+
*/
|
|
689
|
+
'put'(
|
|
690
|
+
parameters?: Parameters<Paths.UpdateEmailAddress.PathParameters> | null,
|
|
691
|
+
data?: Paths.UpdateEmailAddress.RequestBody,
|
|
692
|
+
config?: AxiosRequestConfig
|
|
693
|
+
): OperationResponse<Paths.UpdateEmailAddress.Responses.$200>
|
|
694
|
+
}
|
|
695
|
+
['/v2/email-settings/email-addresses']: {
|
|
696
|
+
/**
|
|
697
|
+
* listEmailAddresses - listEmailAddresses
|
|
698
|
+
*
|
|
699
|
+
* List email addresses
|
|
700
|
+
*/
|
|
701
|
+
'get'(
|
|
702
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
703
|
+
data?: any,
|
|
704
|
+
config?: AxiosRequestConfig
|
|
705
|
+
): OperationResponse<Paths.ListEmailAddresses.Responses.$200>
|
|
706
|
+
/**
|
|
707
|
+
* addEmailAddress - addEmailAddress
|
|
708
|
+
*
|
|
709
|
+
* Add email address
|
|
710
|
+
*/
|
|
711
|
+
'post'(
|
|
712
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
713
|
+
data?: Paths.AddEmailAddress.RequestBody,
|
|
714
|
+
config?: AxiosRequestConfig
|
|
715
|
+
): OperationResponse<Paths.AddEmailAddress.Responses.$201>
|
|
716
|
+
}
|
|
442
717
|
['/v2/email-settings/shared-inboxes/{id}']: {
|
|
443
718
|
/**
|
|
444
719
|
* getSharedInbox - getSharedInbox
|
|
@@ -588,17 +863,22 @@ export interface PathsDictionary {
|
|
|
588
863
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
589
864
|
|
|
590
865
|
|
|
866
|
+
export type CreateEmailAddressPayload = Components.Schemas.CreateEmailAddressPayload;
|
|
591
867
|
export type CreateSharedInboxPayload = Components.Schemas.CreateSharedInboxPayload;
|
|
592
868
|
export type Domain = Components.Schemas.Domain;
|
|
869
|
+
export type EmailAddressResponse = Components.Schemas.EmailAddressResponse;
|
|
593
870
|
export type EmailAddressSetting = Components.Schemas.EmailAddressSetting;
|
|
594
871
|
export type EmailDomainSetting = Components.Schemas.EmailDomainSetting;
|
|
595
872
|
export type ErrorResponse = Components.Schemas.ErrorResponse;
|
|
873
|
+
export type ProvisionEpilotEmailAddressPayload = Components.Schemas.ProvisionEpilotEmailAddressPayload;
|
|
596
874
|
export type RestrictDuplicatesWithinSetting = Components.Schemas.RestrictDuplicatesWithinSetting;
|
|
875
|
+
export type SetEmailAddressPrimaryPayload = Components.Schemas.SetEmailAddressPrimaryPayload;
|
|
597
876
|
export type Setting = Components.Schemas.Setting;
|
|
598
877
|
export type SettingMeta = Components.Schemas.SettingMeta;
|
|
599
878
|
export type SettingType = Components.Schemas.SettingType;
|
|
600
879
|
export type SettingsResponse = Components.Schemas.SettingsResponse;
|
|
601
880
|
export type SharedInboxResponse = Components.Schemas.SharedInboxResponse;
|
|
602
881
|
export type SignatureSetting = Components.Schemas.SignatureSetting;
|
|
882
|
+
export type UpdateEmailAddressPayload = Components.Schemas.UpdateEmailAddressPayload;
|
|
603
883
|
export type UpdateSharedInboxPayload = Components.Schemas.UpdateSharedInboxPayload;
|
|
604
884
|
export type WhitelistEmailAddressSetting = Components.Schemas.WhitelistEmailAddressSetting;
|