@epilot/message-client 1.24.0 → 1.25.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-runtime.json +19 -113
- package/dist/openapi.d.ts +36 -451
- package/dist/openapi.json +62 -580
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -583,41 +583,6 @@ declare namespace Components {
|
|
|
583
583
|
sort?: string;
|
|
584
584
|
highlight?: any;
|
|
585
585
|
}
|
|
586
|
-
/**
|
|
587
|
-
* Mapping between a shared inbox and its Outlook shared mailbox.
|
|
588
|
-
* This tracks which provider/tenant provisions each shared mailbox.
|
|
589
|
-
*
|
|
590
|
-
*/
|
|
591
|
-
export interface SharedMailboxMapping {
|
|
592
|
-
/**
|
|
593
|
-
* The email-settings shared inbox entity ID
|
|
594
|
-
*/
|
|
595
|
-
shared_inbox_id: string;
|
|
596
|
-
/**
|
|
597
|
-
* The Outlook shared mailbox email address
|
|
598
|
-
*/
|
|
599
|
-
outlook_email: string; // email
|
|
600
|
-
/**
|
|
601
|
-
* Azure AD Tenant ID that provisions this mailbox
|
|
602
|
-
*/
|
|
603
|
-
tenant_id: string;
|
|
604
|
-
/**
|
|
605
|
-
* Provider type (for future extensibility)
|
|
606
|
-
*/
|
|
607
|
-
provider: "outlook";
|
|
608
|
-
/**
|
|
609
|
-
* Display name from Outlook
|
|
610
|
-
*/
|
|
611
|
-
display_name?: string;
|
|
612
|
-
/**
|
|
613
|
-
* When the mailbox was connected
|
|
614
|
-
*/
|
|
615
|
-
connected_at: string; // date-time
|
|
616
|
-
/**
|
|
617
|
-
* User who connected this mailbox
|
|
618
|
-
*/
|
|
619
|
-
connected_by_user_id?: string;
|
|
620
|
-
}
|
|
621
586
|
/**
|
|
622
587
|
* Thread properties depend on API caller as it's not pre-defined. We do recommend having at least `topic` property for categorizing.
|
|
623
588
|
*/
|
|
@@ -699,7 +664,7 @@ declare namespace Components {
|
|
|
699
664
|
/**
|
|
700
665
|
* Timestamp of the event
|
|
701
666
|
* example:
|
|
702
|
-
* 2024-01-01T00:00:
|
|
667
|
+
* 2024-01-01T00:00:00.000Z
|
|
703
668
|
*/
|
|
704
669
|
timestamp: string;
|
|
705
670
|
}
|
|
@@ -773,73 +738,28 @@ declare namespace Paths {
|
|
|
773
738
|
}
|
|
774
739
|
}
|
|
775
740
|
}
|
|
776
|
-
namespace
|
|
777
|
-
namespace
|
|
778
|
-
export
|
|
779
|
-
|
|
780
|
-
|
|
741
|
+
namespace AssignUsersV2 {
|
|
742
|
+
namespace Parameters {
|
|
743
|
+
export type Id = string;
|
|
744
|
+
}
|
|
745
|
+
export interface PathParameters {
|
|
746
|
+
id: Parameters.Id;
|
|
781
747
|
}
|
|
782
|
-
}
|
|
783
|
-
namespace ConnectSharedMailbox {
|
|
784
748
|
export interface RequestBody {
|
|
785
749
|
/**
|
|
786
|
-
*
|
|
787
|
-
*/
|
|
788
|
-
email: string; // email
|
|
789
|
-
/**
|
|
790
|
-
* Display name for the shared inbox (defaults to mailbox display name)
|
|
750
|
+
* User IDs of users to add to thread
|
|
791
751
|
*/
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Color for the shared inbox (hex code, defaults to green)
|
|
795
|
-
*/
|
|
796
|
-
color?: string;
|
|
752
|
+
add: string[];
|
|
797
753
|
/**
|
|
798
|
-
* User IDs
|
|
754
|
+
* User IDs of users to remove from thread
|
|
799
755
|
*/
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
* Description for the shared inbox
|
|
803
|
-
*/
|
|
804
|
-
description?: string;
|
|
756
|
+
remove: string[];
|
|
805
757
|
}
|
|
806
758
|
namespace Responses {
|
|
807
|
-
export interface $
|
|
808
|
-
/**
|
|
809
|
-
* The created shared inbox from email-settings
|
|
810
|
-
*/
|
|
811
|
-
shared_inbox?: {
|
|
812
|
-
id?: string;
|
|
813
|
-
name?: string;
|
|
814
|
-
color?: string;
|
|
815
|
-
assignees?: string[];
|
|
816
|
-
description?: string;
|
|
817
|
-
};
|
|
818
|
-
/**
|
|
819
|
-
* The Outlook shared mailbox email address
|
|
820
|
-
*/
|
|
821
|
-
outlook_email?: string; // email
|
|
822
|
-
/**
|
|
823
|
-
* Azure AD Tenant ID that provisions this mailbox
|
|
824
|
-
*/
|
|
825
|
-
tenant_id?: string;
|
|
826
|
-
/**
|
|
827
|
-
* The provider type
|
|
828
|
-
*/
|
|
829
|
-
provider?: "outlook";
|
|
830
|
-
/**
|
|
831
|
-
* Display name of the shared mailbox
|
|
832
|
-
*/
|
|
833
|
-
display_name?: string;
|
|
834
|
-
}
|
|
835
|
-
export interface $400 {
|
|
836
|
-
}
|
|
837
|
-
export interface $401 {
|
|
759
|
+
export interface $204 {
|
|
838
760
|
}
|
|
839
761
|
export interface $403 {
|
|
840
762
|
}
|
|
841
|
-
export interface $500 {
|
|
842
|
-
}
|
|
843
763
|
}
|
|
844
764
|
}
|
|
845
765
|
namespace CreateDraft {
|
|
@@ -1014,33 +934,6 @@ declare namespace Paths {
|
|
|
1014
934
|
}
|
|
1015
935
|
}
|
|
1016
936
|
}
|
|
1017
|
-
namespace DisconnectOutlook {
|
|
1018
|
-
export interface RequestBody {
|
|
1019
|
-
/**
|
|
1020
|
-
* Azure AD Tenant ID of the connection to disconnect
|
|
1021
|
-
*/
|
|
1022
|
-
tenant_id: string;
|
|
1023
|
-
}
|
|
1024
|
-
namespace Responses {
|
|
1025
|
-
export interface $200 {
|
|
1026
|
-
success?: boolean;
|
|
1027
|
-
/**
|
|
1028
|
-
* The tenant ID that was disconnected
|
|
1029
|
-
*/
|
|
1030
|
-
tenant_id?: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* List of shared inbox IDs that were affected by the disconnection
|
|
1033
|
-
*/
|
|
1034
|
-
affected_shared_inboxes?: string[];
|
|
1035
|
-
}
|
|
1036
|
-
export interface $400 {
|
|
1037
|
-
}
|
|
1038
|
-
export interface $404 {
|
|
1039
|
-
}
|
|
1040
|
-
export interface $500 {
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
937
|
namespace GetMessage {
|
|
1045
938
|
namespace Parameters {
|
|
1046
939
|
/**
|
|
@@ -1367,120 +1260,6 @@ declare namespace Paths {
|
|
|
1367
1260
|
}
|
|
1368
1261
|
}
|
|
1369
1262
|
}
|
|
1370
|
-
namespace GetOutlookConnectionStatus {
|
|
1371
|
-
namespace Responses {
|
|
1372
|
-
export interface $200 {
|
|
1373
|
-
/**
|
|
1374
|
-
* List of Outlook connections (one per tenant)
|
|
1375
|
-
*/
|
|
1376
|
-
connections: {
|
|
1377
|
-
/**
|
|
1378
|
-
* Current connection status:
|
|
1379
|
-
* - pending_auth: Admin consent granted, waiting for user OAuth
|
|
1380
|
-
* - connected: Fully connected with valid tokens
|
|
1381
|
-
* - expired: Tokens expired, need to re-authenticate
|
|
1382
|
-
*
|
|
1383
|
-
*/
|
|
1384
|
-
status: "connected" | "expired" | "pending_auth";
|
|
1385
|
-
/**
|
|
1386
|
-
* Action for UI to take (all call GET /outlook/connect):
|
|
1387
|
-
* - connect: No connection, initiate OAuth
|
|
1388
|
-
* - authorize: Admin consent done, complete OAuth
|
|
1389
|
-
* - reconnect: Re-authenticate expired session
|
|
1390
|
-
* - none: Fully connected, no action needed
|
|
1391
|
-
*
|
|
1392
|
-
*/
|
|
1393
|
-
action: "connect" | "authorize" | "reconnect" | "none";
|
|
1394
|
-
/**
|
|
1395
|
-
* Display name of user who connected
|
|
1396
|
-
*/
|
|
1397
|
-
connected_by_display_name?: string;
|
|
1398
|
-
/**
|
|
1399
|
-
* Email of the user who connected
|
|
1400
|
-
*/
|
|
1401
|
-
connected_by_email?: string; // email
|
|
1402
|
-
/**
|
|
1403
|
-
* Azure AD Object ID of user who connected
|
|
1404
|
-
*/
|
|
1405
|
-
connected_by_user_id?: string;
|
|
1406
|
-
/**
|
|
1407
|
-
* When the connection was established
|
|
1408
|
-
*/
|
|
1409
|
-
connected_at?: string; // date-time
|
|
1410
|
-
/**
|
|
1411
|
-
* When the connection was last updated
|
|
1412
|
-
*/
|
|
1413
|
-
updated_at?: string; // date-time
|
|
1414
|
-
/**
|
|
1415
|
-
* Microsoft Azure AD tenant ID
|
|
1416
|
-
*/
|
|
1417
|
-
tenant_id: string;
|
|
1418
|
-
/**
|
|
1419
|
-
* Granted permission scopes
|
|
1420
|
-
*/
|
|
1421
|
-
scopes?: string[];
|
|
1422
|
-
/**
|
|
1423
|
-
* When the current access token expires
|
|
1424
|
-
*/
|
|
1425
|
-
expires_at?: string; // date-time
|
|
1426
|
-
/**
|
|
1427
|
-
* Whether the current token is still valid
|
|
1428
|
-
*/
|
|
1429
|
-
is_token_valid?: boolean;
|
|
1430
|
-
}[];
|
|
1431
|
-
/**
|
|
1432
|
-
* Whether any connections exist
|
|
1433
|
-
*/
|
|
1434
|
-
has_connections: boolean;
|
|
1435
|
-
}
|
|
1436
|
-
export interface $400 {
|
|
1437
|
-
}
|
|
1438
|
-
export interface $500 {
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
namespace GetSharedMailboxMappingById {
|
|
1443
|
-
namespace Parameters {
|
|
1444
|
-
export type SharedInboxId = string;
|
|
1445
|
-
}
|
|
1446
|
-
export interface PathParameters {
|
|
1447
|
-
shared_inbox_id: Parameters.SharedInboxId;
|
|
1448
|
-
}
|
|
1449
|
-
namespace Responses {
|
|
1450
|
-
export type $200 = /**
|
|
1451
|
-
* Mapping between a shared inbox and its Outlook shared mailbox.
|
|
1452
|
-
* This tracks which provider/tenant provisions each shared mailbox.
|
|
1453
|
-
*
|
|
1454
|
-
*/
|
|
1455
|
-
Components.Schemas.SharedMailboxMapping;
|
|
1456
|
-
export interface $400 {
|
|
1457
|
-
}
|
|
1458
|
-
export interface $404 {
|
|
1459
|
-
}
|
|
1460
|
-
export interface $500 {
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
namespace GetSharedMailboxMappings {
|
|
1465
|
-
namespace Responses {
|
|
1466
|
-
export interface $200 {
|
|
1467
|
-
mappings: /**
|
|
1468
|
-
* Mapping between a shared inbox and its Outlook shared mailbox.
|
|
1469
|
-
* This tracks which provider/tenant provisions each shared mailbox.
|
|
1470
|
-
*
|
|
1471
|
-
*/
|
|
1472
|
-
Components.Schemas.SharedMailboxMapping[];
|
|
1473
|
-
/**
|
|
1474
|
-
* Number of mappings
|
|
1475
|
-
*/
|
|
1476
|
-
count: number;
|
|
1477
|
-
}
|
|
1478
|
-
export interface $400 {
|
|
1479
|
-
}
|
|
1480
|
-
export interface $500 {
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
1263
|
namespace GetThreadTimeline {
|
|
1485
1264
|
namespace Parameters {
|
|
1486
1265
|
export type Id = string;
|
|
@@ -1698,39 +1477,6 @@ declare namespace Paths {
|
|
|
1698
1477
|
export type $500 = Components.Responses.InternalServerError;
|
|
1699
1478
|
}
|
|
1700
1479
|
}
|
|
1701
|
-
namespace OutlookOAuthCallback {
|
|
1702
|
-
namespace Parameters {
|
|
1703
|
-
export type AdminConsent = string;
|
|
1704
|
-
export type ClientInfo = string;
|
|
1705
|
-
export type Code = string;
|
|
1706
|
-
export type Error = string;
|
|
1707
|
-
export type ErrorDescription = string;
|
|
1708
|
-
export type ErrorSubcode = string;
|
|
1709
|
-
export type ErrorUri = string;
|
|
1710
|
-
export type SessionState = string;
|
|
1711
|
-
export type State = string;
|
|
1712
|
-
export type Tenant = string;
|
|
1713
|
-
}
|
|
1714
|
-
export interface QueryParameters {
|
|
1715
|
-
code?: Parameters.Code;
|
|
1716
|
-
state: Parameters.State;
|
|
1717
|
-
session_state?: Parameters.SessionState;
|
|
1718
|
-
error?: Parameters.Error;
|
|
1719
|
-
error_description?: Parameters.ErrorDescription;
|
|
1720
|
-
error_subcode?: Parameters.ErrorSubcode;
|
|
1721
|
-
client_info?: Parameters.ClientInfo;
|
|
1722
|
-
error_uri?: Parameters.ErrorUri;
|
|
1723
|
-
admin_consent?: Parameters.AdminConsent;
|
|
1724
|
-
tenant?: Parameters.Tenant;
|
|
1725
|
-
}
|
|
1726
|
-
namespace Responses {
|
|
1727
|
-
export interface $200 {
|
|
1728
|
-
connected?: boolean;
|
|
1729
|
-
expires_at?: string; // date-time
|
|
1730
|
-
scope?: string;
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
1480
|
namespace PinThread {
|
|
1735
1481
|
namespace Parameters {
|
|
1736
1482
|
export type Id = string;
|
|
@@ -2731,91 +2477,6 @@ export interface OperationMethods {
|
|
|
2731
2477
|
data?: Paths.SendMessage.RequestBody,
|
|
2732
2478
|
config?: AxiosRequestConfig
|
|
2733
2479
|
): OperationResponse<Paths.SendMessage.Responses.$201>
|
|
2734
|
-
/**
|
|
2735
|
-
* connectOutlook - Connect Outlook
|
|
2736
|
-
*
|
|
2737
|
-
* Returns Microsoft authorization URL for Outlook OAuth.
|
|
2738
|
-
*/
|
|
2739
|
-
'connectOutlook'(
|
|
2740
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2741
|
-
data?: any,
|
|
2742
|
-
config?: AxiosRequestConfig
|
|
2743
|
-
): OperationResponse<Paths.ConnectOutlook.Responses.$200>
|
|
2744
|
-
/**
|
|
2745
|
-
* getOutlookConnectionStatus - Get Outlook Connection Status
|
|
2746
|
-
*
|
|
2747
|
-
* Returns all Microsoft 365 / Outlook connections for the organization.
|
|
2748
|
-
* Supports multiple connections (one per Azure AD tenant).
|
|
2749
|
-
*
|
|
2750
|
-
* Each connection includes an `action` field that tells the UI what button to show
|
|
2751
|
-
* and what endpoint to call. All actions use GET /outlook/connect.
|
|
2752
|
-
*
|
|
2753
|
-
*/
|
|
2754
|
-
'getOutlookConnectionStatus'(
|
|
2755
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2756
|
-
data?: any,
|
|
2757
|
-
config?: AxiosRequestConfig
|
|
2758
|
-
): OperationResponse<Paths.GetOutlookConnectionStatus.Responses.$200>
|
|
2759
|
-
/**
|
|
2760
|
-
* disconnectOutlook - Disconnect Outlook
|
|
2761
|
-
*
|
|
2762
|
-
* Removes the Microsoft 365 / Outlook connection for a specific tenant.
|
|
2763
|
-
* This deletes the stored tokens and disconnects the integration.
|
|
2764
|
-
*
|
|
2765
|
-
*/
|
|
2766
|
-
'disconnectOutlook'(
|
|
2767
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2768
|
-
data?: Paths.DisconnectOutlook.RequestBody,
|
|
2769
|
-
config?: AxiosRequestConfig
|
|
2770
|
-
): OperationResponse<Paths.DisconnectOutlook.Responses.$200>
|
|
2771
|
-
/**
|
|
2772
|
-
* connectSharedMailbox - Connect Outlook Shared Mailbox
|
|
2773
|
-
*
|
|
2774
|
-
* Connects an Outlook shared mailbox as a shared inbox.
|
|
2775
|
-
* 1. Validates the user has access to the shared mailbox via Microsoft Graph API
|
|
2776
|
-
* 2. Creates a shared inbox entry in email-settings with the Outlook provider info
|
|
2777
|
-
*
|
|
2778
|
-
*/
|
|
2779
|
-
'connectSharedMailbox'(
|
|
2780
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2781
|
-
data?: Paths.ConnectSharedMailbox.RequestBody,
|
|
2782
|
-
config?: AxiosRequestConfig
|
|
2783
|
-
): OperationResponse<Paths.ConnectSharedMailbox.Responses.$201>
|
|
2784
|
-
/**
|
|
2785
|
-
* getSharedMailboxMappings - Get Shared Mailbox Mappings
|
|
2786
|
-
*
|
|
2787
|
-
* Returns all shared mailbox mappings for the organization.
|
|
2788
|
-
* Useful to determine which shared inboxes are connected to Outlook
|
|
2789
|
-
* and which tenant provisions each one.
|
|
2790
|
-
*
|
|
2791
|
-
*/
|
|
2792
|
-
'getSharedMailboxMappings'(
|
|
2793
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2794
|
-
data?: any,
|
|
2795
|
-
config?: AxiosRequestConfig
|
|
2796
|
-
): OperationResponse<Paths.GetSharedMailboxMappings.Responses.$200>
|
|
2797
|
-
/**
|
|
2798
|
-
* getSharedMailboxMappingById - Get Shared Mailbox Mapping by ID
|
|
2799
|
-
*
|
|
2800
|
-
* Returns the mapping for a specific shared inbox.
|
|
2801
|
-
* Useful to check if a specific inbox is connected to Outlook.
|
|
2802
|
-
*
|
|
2803
|
-
*/
|
|
2804
|
-
'getSharedMailboxMappingById'(
|
|
2805
|
-
parameters?: Parameters<Paths.GetSharedMailboxMappingById.PathParameters> | null,
|
|
2806
|
-
data?: any,
|
|
2807
|
-
config?: AxiosRequestConfig
|
|
2808
|
-
): OperationResponse<Paths.GetSharedMailboxMappingById.Responses.$200>
|
|
2809
|
-
/**
|
|
2810
|
-
* outlookOAuthCallback - Outlook OAuth callback
|
|
2811
|
-
*
|
|
2812
|
-
* Exchanges authorization code for tokens and stores them.
|
|
2813
|
-
*/
|
|
2814
|
-
'outlookOAuthCallback'(
|
|
2815
|
-
parameters?: Parameters<Paths.OutlookOAuthCallback.QueryParameters> | null,
|
|
2816
|
-
data?: any,
|
|
2817
|
-
config?: AxiosRequestConfig
|
|
2818
|
-
): OperationResponse<Paths.OutlookOAuthCallback.Responses.$200>
|
|
2819
2480
|
/**
|
|
2820
2481
|
* getMessage - getMessage
|
|
2821
2482
|
*
|
|
@@ -3201,6 +2862,17 @@ export interface OperationMethods {
|
|
|
3201
2862
|
data?: Paths.AssignUsers.RequestBody,
|
|
3202
2863
|
config?: AxiosRequestConfig
|
|
3203
2864
|
): OperationResponse<Paths.AssignUsers.Responses.$204>
|
|
2865
|
+
/**
|
|
2866
|
+
* assignUsersV2 - assignUsersV2
|
|
2867
|
+
*
|
|
2868
|
+
* Assign users to thread.
|
|
2869
|
+
*
|
|
2870
|
+
*/
|
|
2871
|
+
'assignUsersV2'(
|
|
2872
|
+
parameters?: Parameters<Paths.AssignUsersV2.PathParameters> | null,
|
|
2873
|
+
data?: Paths.AssignUsersV2.RequestBody,
|
|
2874
|
+
config?: AxiosRequestConfig
|
|
2875
|
+
): OperationResponse<Paths.AssignUsersV2.Responses.$204>
|
|
3204
2876
|
/**
|
|
3205
2877
|
* pinThread - Pin a single thread
|
|
3206
2878
|
*
|
|
@@ -3286,105 +2958,6 @@ export interface PathsDictionary {
|
|
|
3286
2958
|
config?: AxiosRequestConfig
|
|
3287
2959
|
): OperationResponse<Paths.UpdateMessage.Responses.$201>
|
|
3288
2960
|
}
|
|
3289
|
-
['/outlook/connect']: {
|
|
3290
|
-
/**
|
|
3291
|
-
* connectOutlook - Connect Outlook
|
|
3292
|
-
*
|
|
3293
|
-
* Returns Microsoft authorization URL for Outlook OAuth.
|
|
3294
|
-
*/
|
|
3295
|
-
'get'(
|
|
3296
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3297
|
-
data?: any,
|
|
3298
|
-
config?: AxiosRequestConfig
|
|
3299
|
-
): OperationResponse<Paths.ConnectOutlook.Responses.$200>
|
|
3300
|
-
}
|
|
3301
|
-
['/outlook/connection/status']: {
|
|
3302
|
-
/**
|
|
3303
|
-
* getOutlookConnectionStatus - Get Outlook Connection Status
|
|
3304
|
-
*
|
|
3305
|
-
* Returns all Microsoft 365 / Outlook connections for the organization.
|
|
3306
|
-
* Supports multiple connections (one per Azure AD tenant).
|
|
3307
|
-
*
|
|
3308
|
-
* Each connection includes an `action` field that tells the UI what button to show
|
|
3309
|
-
* and what endpoint to call. All actions use GET /outlook/connect.
|
|
3310
|
-
*
|
|
3311
|
-
*/
|
|
3312
|
-
'get'(
|
|
3313
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3314
|
-
data?: any,
|
|
3315
|
-
config?: AxiosRequestConfig
|
|
3316
|
-
): OperationResponse<Paths.GetOutlookConnectionStatus.Responses.$200>
|
|
3317
|
-
}
|
|
3318
|
-
['/outlook/connection/disconnect']: {
|
|
3319
|
-
/**
|
|
3320
|
-
* disconnectOutlook - Disconnect Outlook
|
|
3321
|
-
*
|
|
3322
|
-
* Removes the Microsoft 365 / Outlook connection for a specific tenant.
|
|
3323
|
-
* This deletes the stored tokens and disconnects the integration.
|
|
3324
|
-
*
|
|
3325
|
-
*/
|
|
3326
|
-
'post'(
|
|
3327
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3328
|
-
data?: Paths.DisconnectOutlook.RequestBody,
|
|
3329
|
-
config?: AxiosRequestConfig
|
|
3330
|
-
): OperationResponse<Paths.DisconnectOutlook.Responses.$200>
|
|
3331
|
-
}
|
|
3332
|
-
['/outlook/shared-mailboxes/connect']: {
|
|
3333
|
-
/**
|
|
3334
|
-
* connectSharedMailbox - Connect Outlook Shared Mailbox
|
|
3335
|
-
*
|
|
3336
|
-
* Connects an Outlook shared mailbox as a shared inbox.
|
|
3337
|
-
* 1. Validates the user has access to the shared mailbox via Microsoft Graph API
|
|
3338
|
-
* 2. Creates a shared inbox entry in email-settings with the Outlook provider info
|
|
3339
|
-
*
|
|
3340
|
-
*/
|
|
3341
|
-
'post'(
|
|
3342
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3343
|
-
data?: Paths.ConnectSharedMailbox.RequestBody,
|
|
3344
|
-
config?: AxiosRequestConfig
|
|
3345
|
-
): OperationResponse<Paths.ConnectSharedMailbox.Responses.$201>
|
|
3346
|
-
}
|
|
3347
|
-
['/outlook/shared-mailboxes/mappings']: {
|
|
3348
|
-
/**
|
|
3349
|
-
* getSharedMailboxMappings - Get Shared Mailbox Mappings
|
|
3350
|
-
*
|
|
3351
|
-
* Returns all shared mailbox mappings for the organization.
|
|
3352
|
-
* Useful to determine which shared inboxes are connected to Outlook
|
|
3353
|
-
* and which tenant provisions each one.
|
|
3354
|
-
*
|
|
3355
|
-
*/
|
|
3356
|
-
'get'(
|
|
3357
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3358
|
-
data?: any,
|
|
3359
|
-
config?: AxiosRequestConfig
|
|
3360
|
-
): OperationResponse<Paths.GetSharedMailboxMappings.Responses.$200>
|
|
3361
|
-
}
|
|
3362
|
-
['/outlook/shared-mailboxes/mappings/{shared_inbox_id}']: {
|
|
3363
|
-
/**
|
|
3364
|
-
* getSharedMailboxMappingById - Get Shared Mailbox Mapping by ID
|
|
3365
|
-
*
|
|
3366
|
-
* Returns the mapping for a specific shared inbox.
|
|
3367
|
-
* Useful to check if a specific inbox is connected to Outlook.
|
|
3368
|
-
*
|
|
3369
|
-
*/
|
|
3370
|
-
'get'(
|
|
3371
|
-
parameters?: Parameters<Paths.GetSharedMailboxMappingById.PathParameters> | null,
|
|
3372
|
-
data?: any,
|
|
3373
|
-
config?: AxiosRequestConfig
|
|
3374
|
-
): OperationResponse<Paths.GetSharedMailboxMappingById.Responses.$200>
|
|
3375
|
-
}
|
|
3376
|
-
['/outlook/oauth/callback']: {
|
|
3377
|
-
/**
|
|
3378
|
-
* outlookOAuthCallback - Outlook OAuth callback
|
|
3379
|
-
*
|
|
3380
|
-
* Exchanges authorization code for tokens and stores them.
|
|
3381
|
-
*/
|
|
3382
|
-
'get'(
|
|
3383
|
-
parameters?: Parameters<Paths.OutlookOAuthCallback.QueryParameters> | null,
|
|
3384
|
-
data?: any,
|
|
3385
|
-
config?: AxiosRequestConfig
|
|
3386
|
-
): OperationResponse<Paths.OutlookOAuthCallback.Responses.$200>
|
|
3387
|
-
}
|
|
3388
2961
|
['/v1/message/messages/{id}']: {
|
|
3389
2962
|
/**
|
|
3390
2963
|
* getMessage - getMessage
|
|
@@ -3842,6 +3415,19 @@ export interface PathsDictionary {
|
|
|
3842
3415
|
config?: AxiosRequestConfig
|
|
3843
3416
|
): OperationResponse<Paths.AssignUsers.Responses.$204>
|
|
3844
3417
|
}
|
|
3418
|
+
['/v2/message/threads/{id}/assign:users']: {
|
|
3419
|
+
/**
|
|
3420
|
+
* assignUsersV2 - assignUsersV2
|
|
3421
|
+
*
|
|
3422
|
+
* Assign users to thread.
|
|
3423
|
+
*
|
|
3424
|
+
*/
|
|
3425
|
+
'post'(
|
|
3426
|
+
parameters?: Parameters<Paths.AssignUsersV2.PathParameters> | null,
|
|
3427
|
+
data?: Paths.AssignUsersV2.RequestBody,
|
|
3428
|
+
config?: AxiosRequestConfig
|
|
3429
|
+
): OperationResponse<Paths.AssignUsersV2.Responses.$204>
|
|
3430
|
+
}
|
|
3845
3431
|
['/v1/message/threads/{id}:pin']: {
|
|
3846
3432
|
/**
|
|
3847
3433
|
* pinThread - Pin a single thread
|
|
@@ -3932,7 +3518,6 @@ export type ReadingScope = Components.Schemas.ReadingScope;
|
|
|
3932
3518
|
export type SearchIDParams = Components.Schemas.SearchIDParams;
|
|
3933
3519
|
export type SearchParams = Components.Schemas.SearchParams;
|
|
3934
3520
|
export type SearchParamsV2 = Components.Schemas.SearchParamsV2;
|
|
3935
|
-
export type SharedMailboxMapping = Components.Schemas.SharedMailboxMapping;
|
|
3936
3521
|
export type Thread = Components.Schemas.Thread;
|
|
3937
3522
|
export type ThreadDoneEvent = Components.Schemas.ThreadDoneEvent;
|
|
3938
3523
|
export type ThreadOpenEvent = Components.Schemas.ThreadOpenEvent;
|