@rc-ex/core 0.9.2 → 0.10.2
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/SdkExtension.ts +5 -5
- package/definitions/AccountDeviceUpdate.ts +5 -0
- package/definitions/AggregateA2PSMSStatusesParameters.ts +5 -0
- package/definitions/CreateUserEmergencyLocationRequest.ts +13 -0
- package/definitions/DeleteExtensionEmergencyLocationParameters.ts +8 -0
- package/definitions/DeviceEmergencyInfo.ts +6 -1
- package/definitions/EmailRecipientInfo.ts +1 -1
- package/definitions/EmergencyLocationInfo.ts +2 -2
- package/definitions/EmergencyLocationInfoRequest.ts +2 -11
- package/definitions/EmergencyLocationsResource.ts +12 -0
- package/definitions/EmergencyServiceAddressResource.ts +5 -0
- package/definitions/ExtensionDeviceResponse.ts +1 -1
- package/definitions/GetDeviceInfoResponse.ts +2 -1
- package/definitions/GetExtensionEmergencyLocationsParameters.ts +38 -0
- package/definitions/GrantInfo.ts +5 -0
- package/definitions/ListExtensionGrantsParameters.ts +2 -1
- package/definitions/MessageStatusCounts.ts +7 -0
- package/definitions/NotificationSettingsUpdateRequest.ts +3 -2
- package/definitions/SearchDirectoryEntriesRequest.ts +2 -1
- package/definitions/SipRegistrationDeviceEmergencyInfo.ts +6 -1
- package/definitions/SipRegistrationDeviceInfo.ts +7 -1
- package/definitions/index.ts +4 -1
- package/lib/SdkExtension.d.ts +3 -3
- package/lib/SdkExtension.js +5 -5
- package/lib/SdkExtension.js.map +1 -1
- package/lib/code-generator.js +1 -1
- package/lib/code-generator.js.map +1 -1
- package/lib/definitions/AccountDeviceUpdate.d.ts +4 -0
- package/lib/definitions/AccountDeviceUpdate.js.map +1 -1
- package/lib/definitions/AggregateA2PSMSStatusesParameters.d.ts +4 -0
- package/lib/definitions/AggregateA2PSMSStatusesParameters.js.map +1 -1
- package/lib/definitions/CreateUserEmergencyLocationRequest.d.ts +11 -0
- package/lib/definitions/CreateUserEmergencyLocationRequest.js +6 -0
- package/lib/definitions/CreateUserEmergencyLocationRequest.js.map +1 -0
- package/lib/definitions/DeleteExtensionEmergencyLocationParameters.d.ts +7 -0
- package/lib/definitions/DeleteExtensionEmergencyLocationParameters.js +7 -0
- package/lib/definitions/DeleteExtensionEmergencyLocationParameters.js.map +1 -0
- package/lib/definitions/DeviceEmergencyInfo.d.ts +5 -1
- package/lib/definitions/DeviceEmergencyInfo.js.map +1 -1
- package/lib/definitions/EmailRecipientInfo.d.ts +1 -1
- package/lib/definitions/EmergencyLocationInfo.d.ts +2 -2
- package/lib/definitions/EmergencyLocationInfoRequest.d.ts +2 -6
- package/lib/definitions/EmergencyLocationInfoRequest.js.map +1 -1
- package/lib/definitions/EmergencyLocationsResource.d.ts +10 -0
- package/lib/definitions/EmergencyLocationsResource.js +6 -0
- package/lib/definitions/EmergencyLocationsResource.js.map +1 -0
- package/lib/definitions/EmergencyServiceAddressResource.d.ts +4 -0
- package/lib/definitions/EmergencyServiceAddressResource.js.map +1 -1
- package/lib/definitions/ExtensionDeviceResponse.d.ts +1 -1
- package/lib/definitions/GetDeviceInfoResponse.d.ts +1 -1
- package/lib/definitions/GetDeviceInfoResponse.js.map +1 -1
- package/lib/definitions/GetExtensionEmergencyLocationsParameters.d.ts +31 -0
- package/lib/definitions/GetExtensionEmergencyLocationsParameters.js +7 -0
- package/lib/definitions/GetExtensionEmergencyLocationsParameters.js.map +1 -0
- package/lib/definitions/GrantInfo.d.ts +4 -0
- package/lib/definitions/GrantInfo.js.map +1 -1
- package/lib/definitions/ListExtensionGrantsParameters.d.ts +1 -1
- package/lib/definitions/ListExtensionGrantsParameters.js.map +1 -1
- package/lib/definitions/MessageStatusCounts.d.ts +6 -0
- package/lib/definitions/MessageStatusCounts.js.map +1 -1
- package/lib/definitions/NotificationSettingsUpdateRequest.d.ts +3 -2
- package/lib/definitions/NotificationSettingsUpdateRequest.js.map +1 -1
- package/lib/definitions/SearchDirectoryEntriesRequest.d.ts +1 -1
- package/lib/definitions/SearchDirectoryEntriesRequest.js.map +1 -1
- package/lib/definitions/SipRegistrationDeviceEmergencyInfo.d.ts +5 -1
- package/lib/definitions/SipRegistrationDeviceEmergencyInfo.js.map +1 -1
- package/lib/definitions/SipRegistrationDeviceInfo.d.ts +1 -1
- package/lib/definitions/SipRegistrationDeviceInfo.js.map +1 -1
- package/lib/definitions/index.d.ts +4 -1
- package/lib/definitions/index.js +22 -16
- package/lib/definitions/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +1 -1
- package/lib/paths/Restapi/Account/EmergencyLocations/index.js +1 -1
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.d.ts +32 -4
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js +50 -4
- package/lib/paths/Restapi/Account/Extension/EmergencyLocations/index.js.map +1 -1
- package/lib/paths/Restapi/Account/Extension/index.d.ts +2 -2
- package/lib/paths/Restapi/Account/Extension/index.js +4 -4
- package/lib/paths/Restapi/Account/Extension/index.js.map +1 -1
- package/lib/paths/Restapi/Glip/Chats/Favorite/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Chats/Favorite/index.js +2 -2
- package/lib/paths/Restapi/Glip/Chats/Notes/index.d.ts +4 -4
- package/lib/paths/Restapi/Glip/Chats/Notes/index.js +4 -4
- package/lib/paths/Restapi/Glip/Chats/Posts/index.d.ts +10 -10
- package/lib/paths/Restapi/Glip/Chats/Posts/index.js +10 -10
- package/lib/paths/Restapi/Glip/Chats/Read/index.d.ts +1 -1
- package/lib/paths/Restapi/Glip/Chats/Read/index.js +1 -1
- package/lib/paths/Restapi/Glip/Chats/Unfavorite/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Chats/Unfavorite/index.js +2 -2
- package/lib/paths/Restapi/Glip/Chats/Unread/index.d.ts +1 -1
- package/lib/paths/Restapi/Glip/Chats/Unread/index.js +1 -1
- package/lib/paths/Restapi/Glip/Chats/index.d.ts +4 -4
- package/lib/paths/Restapi/Glip/Chats/index.js +4 -4
- package/lib/paths/Restapi/Glip/Companies/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Companies/index.js +2 -2
- package/lib/paths/Restapi/Glip/Conversations/index.d.ts +6 -6
- package/lib/paths/Restapi/Glip/Conversations/index.js +6 -6
- package/lib/paths/Restapi/Glip/Events/index.d.ts +10 -10
- package/lib/paths/Restapi/Glip/Events/index.js +10 -10
- package/lib/paths/Restapi/Glip/Everyone/index.d.ts +4 -4
- package/lib/paths/Restapi/Glip/Everyone/index.js +4 -4
- package/lib/paths/Restapi/Glip/Favorites/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Favorites/index.js +2 -2
- package/lib/paths/Restapi/Glip/Groups/Events/index.d.ts +4 -4
- package/lib/paths/Restapi/Glip/Groups/Events/index.js +4 -4
- package/lib/paths/Restapi/Glip/Groups/Webhooks/index.d.ts +4 -4
- package/lib/paths/Restapi/Glip/Groups/Webhooks/index.js +4 -4
- package/lib/paths/Restapi/Glip/Notes/Lock/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Notes/Lock/index.js +2 -2
- package/lib/paths/Restapi/Glip/Notes/Publish/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Notes/Publish/index.js +2 -2
- package/lib/paths/Restapi/Glip/Notes/Unlock/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Notes/Unlock/index.js +2 -2
- package/lib/paths/Restapi/Glip/Notes/index.d.ts +6 -6
- package/lib/paths/Restapi/Glip/Notes/index.js +6 -6
- package/lib/paths/Restapi/Glip/Persons/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Persons/index.js +2 -2
- package/lib/paths/Restapi/Glip/Preferences/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Preferences/index.js +2 -2
- package/lib/paths/Restapi/Glip/Recent/Chats/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Recent/Chats/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Add/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Add/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Archive/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Archive/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Join/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Join/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Leave/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Leave/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Remove/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Remove/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/Unarchive/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Teams/Unarchive/index.js +2 -2
- package/lib/paths/Restapi/Glip/Teams/index.d.ts +10 -10
- package/lib/paths/Restapi/Glip/Teams/index.js +10 -10
- package/lib/paths/Restapi/Glip/Webhooks/Activate/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Webhooks/Activate/index.js +2 -2
- package/lib/paths/Restapi/Glip/Webhooks/Suspend/index.d.ts +2 -2
- package/lib/paths/Restapi/Glip/Webhooks/Suspend/index.js +2 -2
- package/lib/paths/Restapi/Glip/Webhooks/index.d.ts +6 -6
- package/lib/paths/Restapi/Glip/Webhooks/index.js +6 -6
- package/package.json +4 -4
- package/paths/Restapi/Account/EmergencyLocations/index.ts +1 -1
- package/paths/Restapi/Account/Extension/EmergencyLocations/index.ts +85 -5
- package/paths/Restapi/Account/Extension/index.ts +5 -5
- package/paths/Restapi/Glip/Chats/Favorite/index.ts +2 -2
- package/paths/Restapi/Glip/Chats/Notes/index.ts +4 -4
- package/paths/Restapi/Glip/Chats/Posts/index.ts +10 -10
- package/paths/Restapi/Glip/Chats/Read/index.ts +1 -1
- package/paths/Restapi/Glip/Chats/Unfavorite/index.ts +2 -2
- package/paths/Restapi/Glip/Chats/Unread/index.ts +1 -1
- package/paths/Restapi/Glip/Chats/index.ts +4 -4
- package/paths/Restapi/Glip/Companies/index.ts +2 -2
- package/paths/Restapi/Glip/Conversations/index.ts +6 -6
- package/paths/Restapi/Glip/Events/index.ts +10 -10
- package/paths/Restapi/Glip/Everyone/index.ts +4 -4
- package/paths/Restapi/Glip/Favorites/index.ts +2 -2
- package/paths/Restapi/Glip/Groups/Events/index.ts +4 -4
- package/paths/Restapi/Glip/Groups/Webhooks/index.ts +4 -4
- package/paths/Restapi/Glip/Notes/Lock/index.ts +2 -2
- package/paths/Restapi/Glip/Notes/Publish/index.ts +2 -2
- package/paths/Restapi/Glip/Notes/Unlock/index.ts +2 -2
- package/paths/Restapi/Glip/Notes/index.ts +6 -6
- package/paths/Restapi/Glip/Persons/index.ts +2 -2
- package/paths/Restapi/Glip/Preferences/index.ts +2 -2
- package/paths/Restapi/Glip/Recent/Chats/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Add/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Archive/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Join/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Leave/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Remove/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/Unarchive/index.ts +2 -2
- package/paths/Restapi/Glip/Teams/index.ts +10 -10
- package/paths/Restapi/Glip/Webhooks/Activate/index.ts +2 -2
- package/paths/Restapi/Glip/Webhooks/Suspend/index.ts +2 -2
- package/paths/Restapi/Glip/Webhooks/index.ts +6 -6
- package/samples.md +187 -108
- package/definitions/UserEmergencyLocationList.ts +0 -6
- package/lib/definitions/UserEmergencyLocationList.d.ts +0 -6
- package/lib/definitions/UserEmergencyLocationList.js +0 -6
- package/lib/definitions/UserEmergencyLocationList.js.map +0 -1
|
@@ -19,8 +19,8 @@ declare class Index {
|
|
|
19
19
|
* HTTP Method: get
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
list(queryParams?: ListGlipTeamsParameters, restRequestConfig?: RestRequestConfig): Promise<GlipTeamsList>;
|
|
26
26
|
/**
|
|
@@ -28,8 +28,8 @@ declare class Index {
|
|
|
28
28
|
* HTTP Method: post
|
|
29
29
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
30
30
|
* Rate Limit Group: Medium
|
|
31
|
-
* App Permission:
|
|
32
|
-
* User Permission:
|
|
31
|
+
* App Permission: TeamMessaging
|
|
32
|
+
* User Permission: UnifiedAppDesktop
|
|
33
33
|
*/
|
|
34
34
|
post(glipPostTeamBody: GlipPostTeamBody, restRequestConfig?: RestRequestConfig): Promise<GlipTeamInfo>;
|
|
35
35
|
/**
|
|
@@ -37,8 +37,8 @@ declare class Index {
|
|
|
37
37
|
* HTTP Method: get
|
|
38
38
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
39
39
|
* Rate Limit Group: Light
|
|
40
|
-
* App Permission:
|
|
41
|
-
* User Permission:
|
|
40
|
+
* App Permission: TeamMessaging
|
|
41
|
+
* User Permission: UnifiedAppDesktop
|
|
42
42
|
*/
|
|
43
43
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipTeamInfo>;
|
|
44
44
|
/**
|
|
@@ -46,8 +46,8 @@ declare class Index {
|
|
|
46
46
|
* HTTP Method: delete
|
|
47
47
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
48
48
|
* Rate Limit Group: Medium
|
|
49
|
-
* App Permission:
|
|
50
|
-
* User Permission:
|
|
49
|
+
* App Permission: TeamMessaging
|
|
50
|
+
* User Permission: UnifiedAppDesktop
|
|
51
51
|
*/
|
|
52
52
|
delete(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
53
53
|
/**
|
|
@@ -55,8 +55,8 @@ declare class Index {
|
|
|
55
55
|
* HTTP Method: patch
|
|
56
56
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
57
57
|
* Rate Limit Group: Medium
|
|
58
|
-
* App Permission:
|
|
59
|
-
* User Permission:
|
|
58
|
+
* App Permission: TeamMessaging
|
|
59
|
+
* User Permission: UnifiedAppDesktop
|
|
60
60
|
*/
|
|
61
61
|
patch(glipPatchTeamBody: GlipPatchTeamBody, restRequestConfig?: RestRequestConfig): Promise<GlipTeamInfo>;
|
|
62
62
|
add(): Add;
|
|
@@ -26,8 +26,8 @@ class Index {
|
|
|
26
26
|
* HTTP Method: get
|
|
27
27
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
28
28
|
* Rate Limit Group: Medium
|
|
29
|
-
* App Permission:
|
|
30
|
-
* User Permission:
|
|
29
|
+
* App Permission: TeamMessaging
|
|
30
|
+
* User Permission: UnifiedAppDesktop
|
|
31
31
|
*/
|
|
32
32
|
async list(queryParams, restRequestConfig) {
|
|
33
33
|
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
@@ -38,8 +38,8 @@ class Index {
|
|
|
38
38
|
* HTTP Method: post
|
|
39
39
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
40
40
|
* Rate Limit Group: Medium
|
|
41
|
-
* App Permission:
|
|
42
|
-
* User Permission:
|
|
41
|
+
* App Permission: TeamMessaging
|
|
42
|
+
* User Permission: UnifiedAppDesktop
|
|
43
43
|
*/
|
|
44
44
|
async post(glipPostTeamBody, restRequestConfig) {
|
|
45
45
|
const r = await this.rc.post(this.path(false), glipPostTeamBody, undefined, restRequestConfig);
|
|
@@ -50,8 +50,8 @@ class Index {
|
|
|
50
50
|
* HTTP Method: get
|
|
51
51
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
52
52
|
* Rate Limit Group: Light
|
|
53
|
-
* App Permission:
|
|
54
|
-
* User Permission:
|
|
53
|
+
* App Permission: TeamMessaging
|
|
54
|
+
* User Permission: UnifiedAppDesktop
|
|
55
55
|
*/
|
|
56
56
|
async get(restRequestConfig) {
|
|
57
57
|
if (this.chatId === null) {
|
|
@@ -65,8 +65,8 @@ class Index {
|
|
|
65
65
|
* HTTP Method: delete
|
|
66
66
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
67
67
|
* Rate Limit Group: Medium
|
|
68
|
-
* App Permission:
|
|
69
|
-
* User Permission:
|
|
68
|
+
* App Permission: TeamMessaging
|
|
69
|
+
* User Permission: UnifiedAppDesktop
|
|
70
70
|
*/
|
|
71
71
|
async delete(restRequestConfig) {
|
|
72
72
|
if (this.chatId === null) {
|
|
@@ -80,8 +80,8 @@ class Index {
|
|
|
80
80
|
* HTTP Method: patch
|
|
81
81
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
82
82
|
* Rate Limit Group: Medium
|
|
83
|
-
* App Permission:
|
|
84
|
-
* User Permission:
|
|
83
|
+
* App Permission: TeamMessaging
|
|
84
|
+
* User Permission: UnifiedAppDesktop
|
|
85
85
|
*/
|
|
86
86
|
async patch(glipPatchTeamBody, restRequestConfig) {
|
|
87
87
|
if (this.chatId === null) {
|
|
@@ -11,8 +11,8 @@ declare class Index {
|
|
|
11
11
|
* HTTP Method: post
|
|
12
12
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/activate
|
|
13
13
|
* Rate Limit Group: Medium
|
|
14
|
-
* App Permission:
|
|
15
|
-
* User Permission:
|
|
14
|
+
* App Permission: TeamMessaging
|
|
15
|
+
* User Permission: UnifiedAppDesktop
|
|
16
16
|
*/
|
|
17
17
|
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
18
18
|
}
|
|
@@ -13,8 +13,8 @@ class Index {
|
|
|
13
13
|
* HTTP Method: post
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/activate
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
async post(restRequestConfig) {
|
|
20
20
|
const r = await this.rc.post(this.path(), undefined, restRequestConfig);
|
|
@@ -11,8 +11,8 @@ declare class Index {
|
|
|
11
11
|
* HTTP Method: post
|
|
12
12
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/suspend
|
|
13
13
|
* Rate Limit Group: Medium
|
|
14
|
-
* App Permission:
|
|
15
|
-
* User Permission:
|
|
14
|
+
* App Permission: TeamMessaging
|
|
15
|
+
* User Permission: UnifiedAppDesktop
|
|
16
16
|
*/
|
|
17
17
|
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
18
18
|
}
|
|
@@ -13,8 +13,8 @@ class Index {
|
|
|
13
13
|
* HTTP Method: post
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/suspend
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
async post(restRequestConfig) {
|
|
20
20
|
const r = await this.rc.post(this.path(), undefined, restRequestConfig);
|
|
@@ -15,8 +15,8 @@ declare class Index {
|
|
|
15
15
|
* HTTP Method: get
|
|
16
16
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks
|
|
17
17
|
* Rate Limit Group: Medium
|
|
18
|
-
* App Permission:
|
|
19
|
-
* User Permission:
|
|
18
|
+
* App Permission: TeamMessaging
|
|
19
|
+
* User Permission: UnifiedAppDesktop
|
|
20
20
|
*/
|
|
21
21
|
list(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookList>;
|
|
22
22
|
/**
|
|
@@ -24,8 +24,8 @@ declare class Index {
|
|
|
24
24
|
* HTTP Method: get
|
|
25
25
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
26
26
|
* Rate Limit Group: Medium
|
|
27
|
-
* App Permission:
|
|
28
|
-
* User Permission:
|
|
27
|
+
* App Permission: TeamMessaging
|
|
28
|
+
* User Permission: UnifiedAppDesktop
|
|
29
29
|
*/
|
|
30
30
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookList>;
|
|
31
31
|
/**
|
|
@@ -33,8 +33,8 @@ declare class Index {
|
|
|
33
33
|
* HTTP Method: delete
|
|
34
34
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
35
35
|
* Rate Limit Group: Medium
|
|
36
|
-
* App Permission:
|
|
37
|
-
* User Permission:
|
|
36
|
+
* App Permission: TeamMessaging
|
|
37
|
+
* User Permission: UnifiedAppDesktop
|
|
38
38
|
*/
|
|
39
39
|
delete(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
40
40
|
suspend(): Suspend;
|
|
@@ -22,8 +22,8 @@ class Index {
|
|
|
22
22
|
* HTTP Method: get
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks
|
|
24
24
|
* Rate Limit Group: Medium
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
async list(restRequestConfig) {
|
|
29
29
|
const r = await this.rc.get(this.path(false), undefined, restRequestConfig);
|
|
@@ -34,8 +34,8 @@ class Index {
|
|
|
34
34
|
* HTTP Method: get
|
|
35
35
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
36
36
|
* Rate Limit Group: Medium
|
|
37
|
-
* App Permission:
|
|
38
|
-
* User Permission:
|
|
37
|
+
* App Permission: TeamMessaging
|
|
38
|
+
* User Permission: UnifiedAppDesktop
|
|
39
39
|
*/
|
|
40
40
|
async get(restRequestConfig) {
|
|
41
41
|
if (this.webhookId === null) {
|
|
@@ -49,8 +49,8 @@ class Index {
|
|
|
49
49
|
* HTTP Method: delete
|
|
50
50
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
51
51
|
* Rate Limit Group: Medium
|
|
52
|
-
* App Permission:
|
|
53
|
-
* User Permission:
|
|
52
|
+
* App Permission: TeamMessaging
|
|
53
|
+
* User Permission: UnifiedAppDesktop
|
|
54
54
|
*/
|
|
55
55
|
async delete(restRequestConfig) {
|
|
56
56
|
if (this.webhookId === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rc-ex/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Core for ringcentral-extensible project",
|
|
5
5
|
"author": "Tyler Liu <tyler.liu@ringcentral.com>",
|
|
6
6
|
"homepage": "https://github.com/ringcentral/ringcentral-extensible/tree/master/packages/core",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@types/qs": "^6.9.7",
|
|
22
|
-
"axios": "^0.21.
|
|
22
|
+
"axios": "^0.21.4",
|
|
23
23
|
"form-data": "^4.0.0",
|
|
24
24
|
"qs": "^6.10.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"dotenv-override-true": "^6.2.2",
|
|
28
28
|
"ringcentral-code-generator": "^0.1.5",
|
|
29
|
-
"ts-node": "^10.2.
|
|
29
|
+
"ts-node": "^10.2.1"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"generate": "ts-node -r dotenv-override-true/config code-generator.ts"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "84492d579489d5604facf432ecbdba7b206aca8b"
|
|
35
35
|
}
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
import {RestRequestConfig} from '../../../../../Rest';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
GetExtensionEmergencyLocationsParameters,
|
|
4
|
+
EmergencyLocationsResource,
|
|
5
|
+
CreateUserEmergencyLocationRequest,
|
|
6
|
+
EmergencyLocationInfo,
|
|
7
|
+
DeleteExtensionEmergencyLocationParameters,
|
|
8
|
+
} from '../../../../../definitions';
|
|
3
9
|
import Parent from '..';
|
|
4
10
|
import {RingCentral} from '../../../../..';
|
|
5
11
|
|
|
6
12
|
class Index {
|
|
7
13
|
rc: RingCentral;
|
|
8
14
|
parent: Parent;
|
|
15
|
+
locationId: string | null;
|
|
9
16
|
|
|
10
|
-
constructor(parent: Parent) {
|
|
17
|
+
constructor(parent: Parent, locationId: string | null = null) {
|
|
11
18
|
this.parent = parent;
|
|
12
19
|
this.rc = parent.rc;
|
|
20
|
+
this.locationId = locationId;
|
|
13
21
|
}
|
|
14
|
-
path(): string {
|
|
22
|
+
path(withParameter = true): string {
|
|
23
|
+
if (withParameter && this.locationId !== null) {
|
|
24
|
+
return `${this.parent.path()}/emergency-locations/${this.locationId}`;
|
|
25
|
+
}
|
|
15
26
|
return `${this.parent.path()}/emergency-locations`;
|
|
16
27
|
}
|
|
17
28
|
/**
|
|
@@ -22,14 +33,83 @@ class Index {
|
|
|
22
33
|
* App Permission: ReadAccounts
|
|
23
34
|
*/
|
|
24
35
|
async get(
|
|
36
|
+
queryParams?: GetExtensionEmergencyLocationsParameters,
|
|
25
37
|
restRequestConfig?: RestRequestConfig
|
|
26
|
-
): Promise<
|
|
27
|
-
const r = await this.rc.get<
|
|
38
|
+
): Promise<EmergencyLocationsResource> {
|
|
39
|
+
const r = await this.rc.get<EmergencyLocationsResource>(
|
|
40
|
+
this.path(false),
|
|
41
|
+
queryParams,
|
|
42
|
+
restRequestConfig
|
|
43
|
+
);
|
|
44
|
+
return r.data;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Creates a personal emergency response location for the current user.
|
|
49
|
+
* HTTP Method: post
|
|
50
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations
|
|
51
|
+
* Rate Limit Group: Heavy
|
|
52
|
+
* App Permission: ReadAccounts
|
|
53
|
+
* User Permission: EmergencyFramework
|
|
54
|
+
*/
|
|
55
|
+
async post(
|
|
56
|
+
createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest,
|
|
57
|
+
restRequestConfig?: RestRequestConfig
|
|
58
|
+
): Promise<EmergencyLocationInfo> {
|
|
59
|
+
const r = await this.rc.post<EmergencyLocationInfo>(
|
|
60
|
+
this.path(false),
|
|
61
|
+
createUserEmergencyLocationRequest,
|
|
62
|
+
undefined,
|
|
63
|
+
restRequestConfig
|
|
64
|
+
);
|
|
65
|
+
return r.data;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Updates a personal emergency response location by the current user or admin.
|
|
70
|
+
* HTTP Method: put
|
|
71
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
72
|
+
* Rate Limit Group: Light
|
|
73
|
+
* App Permission: EditExtensions
|
|
74
|
+
* User Permission: EmergencyFramework
|
|
75
|
+
*/
|
|
76
|
+
async put(
|
|
77
|
+
emergencyLocationInfo: EmergencyLocationInfo,
|
|
78
|
+
restRequestConfig?: RestRequestConfig
|
|
79
|
+
): Promise<EmergencyLocationInfo> {
|
|
80
|
+
if (this.locationId === null) {
|
|
81
|
+
throw new Error('locationId must be specified.');
|
|
82
|
+
}
|
|
83
|
+
const r = await this.rc.put<EmergencyLocationInfo>(
|
|
28
84
|
this.path(),
|
|
85
|
+
emergencyLocationInfo,
|
|
29
86
|
undefined,
|
|
30
87
|
restRequestConfig
|
|
31
88
|
);
|
|
32
89
|
return r.data;
|
|
33
90
|
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Deletes a personal emergency response location by ID by the current user or admin. Multiple personal emergency response locations can be deleted by one API call
|
|
94
|
+
* HTTP Method: delete
|
|
95
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
96
|
+
* Rate Limit Group: Heavy
|
|
97
|
+
* App Permission: EditExtensions
|
|
98
|
+
* User Permission: EmergencyFramework
|
|
99
|
+
*/
|
|
100
|
+
async delete(
|
|
101
|
+
queryParams?: DeleteExtensionEmergencyLocationParameters,
|
|
102
|
+
restRequestConfig?: RestRequestConfig
|
|
103
|
+
): Promise<string> {
|
|
104
|
+
if (this.locationId === null) {
|
|
105
|
+
throw new Error('locationId must be specified.');
|
|
106
|
+
}
|
|
107
|
+
const r = await this.rc.delete<string>(
|
|
108
|
+
this.path(),
|
|
109
|
+
queryParams,
|
|
110
|
+
restRequestConfig
|
|
111
|
+
);
|
|
112
|
+
return r.data;
|
|
113
|
+
}
|
|
34
114
|
}
|
|
35
115
|
export default Index;
|
|
@@ -2,8 +2,8 @@ import MeetingsConfiguration from './MeetingsConfiguration';
|
|
|
2
2
|
import NotificationSettings from './NotificationSettings';
|
|
3
3
|
import MeetingConfiguration from './MeetingConfiguration';
|
|
4
4
|
import VideoConfiguration from './VideoConfiguration';
|
|
5
|
-
import EmergencyLocations from './EmergencyLocations';
|
|
6
5
|
import CallQueuePresence from './CallQueuePresence';
|
|
6
|
+
import EmergencyLocations from './EmergencyLocations';
|
|
7
7
|
import AdministeredSites from './AdministeredSites';
|
|
8
8
|
import MeetingRecordings from './MeetingRecordings';
|
|
9
9
|
import AddressBookSync from './AddressBookSync';
|
|
@@ -308,12 +308,12 @@ class Index {
|
|
|
308
308
|
return new AdministeredSites(this);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
|
|
312
|
-
return new
|
|
311
|
+
emergencyLocations(locationId: string | null = null): EmergencyLocations {
|
|
312
|
+
return new EmergencyLocations(this, locationId);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
|
|
316
|
-
return new
|
|
315
|
+
callQueuePresence(): CallQueuePresence {
|
|
316
|
+
return new CallQueuePresence(this);
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
videoConfiguration(): VideoConfiguration {
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/favorite
|
|
20
20
|
* Rate Limit Group: Medium
|
|
21
|
-
* App Permission:
|
|
22
|
-
* User Permission:
|
|
21
|
+
* App Permission: TeamMessaging
|
|
22
|
+
* User Permission: UnifiedAppDesktop
|
|
23
23
|
*/
|
|
24
24
|
async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
25
25
|
const r = await this.rc.post<string>(
|
|
@@ -24,8 +24,8 @@ class Index {
|
|
|
24
24
|
* HTTP Method: get
|
|
25
25
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
26
26
|
* Rate Limit Group: Heavy
|
|
27
|
-
* App Permission:
|
|
28
|
-
* User Permission:
|
|
27
|
+
* App Permission: TeamMessaging
|
|
28
|
+
* User Permission: UnifiedAppDesktop
|
|
29
29
|
*/
|
|
30
30
|
async get(
|
|
31
31
|
queryParams?: ListChatNotesParameters,
|
|
@@ -44,8 +44,8 @@ class Index {
|
|
|
44
44
|
* HTTP Method: post
|
|
45
45
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
46
46
|
* Rate Limit Group: Medium
|
|
47
|
-
* App Permission:
|
|
48
|
-
* User Permission:
|
|
47
|
+
* App Permission: TeamMessaging
|
|
48
|
+
* User Permission: UnifiedAppDesktop
|
|
49
49
|
*/
|
|
50
50
|
async post(
|
|
51
51
|
glipNoteCreate: GlipNoteCreate,
|
|
@@ -30,8 +30,8 @@ class Index {
|
|
|
30
30
|
* HTTP Method: get
|
|
31
31
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
32
32
|
* Rate Limit Group: Medium
|
|
33
|
-
* App Permission:
|
|
34
|
-
* User Permission:
|
|
33
|
+
* App Permission: TeamMessaging
|
|
34
|
+
* User Permission: UnifiedAppDesktop
|
|
35
35
|
*/
|
|
36
36
|
async list(
|
|
37
37
|
queryParams?: ReadGlipPostsParameters,
|
|
@@ -50,8 +50,8 @@ class Index {
|
|
|
50
50
|
* HTTP Method: post
|
|
51
51
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
52
52
|
* Rate Limit Group: Medium
|
|
53
|
-
* App Permission:
|
|
54
|
-
* User Permission:
|
|
53
|
+
* App Permission: TeamMessaging
|
|
54
|
+
* User Permission: UnifiedAppDesktop
|
|
55
55
|
*/
|
|
56
56
|
async post(
|
|
57
57
|
glipPostPostBody: GlipPostPostBody,
|
|
@@ -71,8 +71,8 @@ class Index {
|
|
|
71
71
|
* HTTP Method: get
|
|
72
72
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
73
73
|
* Rate Limit Group: Light
|
|
74
|
-
* App Permission:
|
|
75
|
-
* User Permission:
|
|
74
|
+
* App Permission: TeamMessaging
|
|
75
|
+
* User Permission: UnifiedAppDesktop
|
|
76
76
|
*/
|
|
77
77
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipPostInfo> {
|
|
78
78
|
if (this.postId === null) {
|
|
@@ -91,8 +91,8 @@ class Index {
|
|
|
91
91
|
* HTTP Method: delete
|
|
92
92
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
93
93
|
* Rate Limit Group: Medium
|
|
94
|
-
* App Permission:
|
|
95
|
-
* User Permission:
|
|
94
|
+
* App Permission: TeamMessaging
|
|
95
|
+
* User Permission: UnifiedAppDesktop
|
|
96
96
|
*/
|
|
97
97
|
async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
98
98
|
if (this.postId === null) {
|
|
@@ -111,8 +111,8 @@ class Index {
|
|
|
111
111
|
* HTTP Method: patch
|
|
112
112
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
113
113
|
* Rate Limit Group: Medium
|
|
114
|
-
* App Permission:
|
|
115
|
-
* User Permission:
|
|
114
|
+
* App Permission: TeamMessaging
|
|
115
|
+
* User Permission: UnifiedAppDesktop
|
|
116
116
|
*/
|
|
117
117
|
async patch(
|
|
118
118
|
glipPatchPostBody: GlipPatchPostBody,
|
|
@@ -18,7 +18,7 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/read
|
|
20
20
|
* Rate Limit Group: Medium
|
|
21
|
-
* App Permission:
|
|
21
|
+
* App Permission: TeamMessagingInternal
|
|
22
22
|
*/
|
|
23
23
|
async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
24
24
|
const r = await this.rc.post<string>(
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/unfavorite
|
|
20
20
|
* Rate Limit Group: Medium
|
|
21
|
-
* App Permission:
|
|
22
|
-
* User Permission:
|
|
21
|
+
* App Permission: TeamMessaging
|
|
22
|
+
* User Permission: UnifiedAppDesktop
|
|
23
23
|
*/
|
|
24
24
|
async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
25
25
|
const r = await this.rc.post<string>(
|
|
@@ -18,7 +18,7 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/unread
|
|
20
20
|
* Rate Limit Group: Medium
|
|
21
|
-
* App Permission:
|
|
21
|
+
* App Permission: TeamMessagingInternal
|
|
22
22
|
*/
|
|
23
23
|
async post(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
24
24
|
const r = await this.rc.post<string>(
|
|
@@ -35,8 +35,8 @@ class Index {
|
|
|
35
35
|
* HTTP Method: get
|
|
36
36
|
* Endpoint: /restapi/{apiVersion}/glip/chats
|
|
37
37
|
* Rate Limit Group: Medium
|
|
38
|
-
* App Permission:
|
|
39
|
-
* User Permission:
|
|
38
|
+
* App Permission: TeamMessaging
|
|
39
|
+
* User Permission: UnifiedAppDesktop
|
|
40
40
|
*/
|
|
41
41
|
async list(
|
|
42
42
|
queryParams?: ListGlipChatsParameters,
|
|
@@ -55,8 +55,8 @@ class Index {
|
|
|
55
55
|
* HTTP Method: get
|
|
56
56
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}
|
|
57
57
|
* Rate Limit Group: Light
|
|
58
|
-
* App Permission:
|
|
59
|
-
* User Permission:
|
|
58
|
+
* App Permission: TeamMessaging
|
|
59
|
+
* User Permission: UnifiedAppDesktop
|
|
60
60
|
*/
|
|
61
61
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipChatInfo> {
|
|
62
62
|
if (this.chatId === null) {
|
|
@@ -24,8 +24,8 @@ class Index {
|
|
|
24
24
|
* HTTP Method: get
|
|
25
25
|
* Endpoint: /restapi/{apiVersion}/glip/companies/{companyId}
|
|
26
26
|
* Rate Limit Group: Light
|
|
27
|
-
* App Permission:
|
|
28
|
-
* User Permission:
|
|
27
|
+
* App Permission: TeamMessaging
|
|
28
|
+
* User Permission: UnifiedAppDesktop
|
|
29
29
|
*/
|
|
30
30
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipCompany> {
|
|
31
31
|
if (this.companyId === null) {
|
|
@@ -29,8 +29,8 @@ class Index {
|
|
|
29
29
|
* HTTP Method: get
|
|
30
30
|
* Endpoint: /restapi/{apiVersion}/glip/conversations
|
|
31
31
|
* Rate Limit Group: Medium
|
|
32
|
-
* App Permission:
|
|
33
|
-
* User Permission:
|
|
32
|
+
* App Permission: TeamMessaging
|
|
33
|
+
* User Permission: UnifiedAppDesktop
|
|
34
34
|
*/
|
|
35
35
|
async list(
|
|
36
36
|
queryParams?: ListGlipConversationsParameters,
|
|
@@ -49,8 +49,8 @@ class Index {
|
|
|
49
49
|
* HTTP Method: post
|
|
50
50
|
* Endpoint: /restapi/{apiVersion}/glip/conversations
|
|
51
51
|
* Rate Limit Group: Medium
|
|
52
|
-
* App Permission:
|
|
53
|
-
* User Permission:
|
|
52
|
+
* App Permission: TeamMessaging
|
|
53
|
+
* User Permission: UnifiedAppDesktop
|
|
54
54
|
*/
|
|
55
55
|
async post(
|
|
56
56
|
createGlipConversationRequest: CreateGlipConversationRequest,
|
|
@@ -70,8 +70,8 @@ class Index {
|
|
|
70
70
|
* HTTP Method: get
|
|
71
71
|
* Endpoint: /restapi/{apiVersion}/glip/conversations/{chatId}
|
|
72
72
|
* Rate Limit Group: Light
|
|
73
|
-
* App Permission:
|
|
74
|
-
* User Permission:
|
|
73
|
+
* App Permission: TeamMessaging
|
|
74
|
+
* User Permission: UnifiedAppDesktop
|
|
75
75
|
*/
|
|
76
76
|
async get(
|
|
77
77
|
restRequestConfig?: RestRequestConfig
|
|
@@ -29,8 +29,8 @@ class Index {
|
|
|
29
29
|
* HTTP Method: get
|
|
30
30
|
* Endpoint: /restapi/{apiVersion}/glip/events
|
|
31
31
|
* Rate Limit Group: Medium
|
|
32
|
-
* App Permission:
|
|
33
|
-
* User Permission:
|
|
32
|
+
* App Permission: TeamMessaging
|
|
33
|
+
* User Permission: UnifiedAppDesktop
|
|
34
34
|
*/
|
|
35
35
|
async list(
|
|
36
36
|
queryParams?: ReadGlipEventsParameters,
|
|
@@ -49,8 +49,8 @@ class Index {
|
|
|
49
49
|
* HTTP Method: post
|
|
50
50
|
* Endpoint: /restapi/{apiVersion}/glip/events
|
|
51
51
|
* Rate Limit Group: Medium
|
|
52
|
-
* App Permission:
|
|
53
|
-
* User Permission:
|
|
52
|
+
* App Permission: TeamMessaging
|
|
53
|
+
* User Permission: UnifiedAppDesktop
|
|
54
54
|
*/
|
|
55
55
|
async post(
|
|
56
56
|
glipEventCreate: GlipEventCreate,
|
|
@@ -70,8 +70,8 @@ class Index {
|
|
|
70
70
|
* HTTP Method: get
|
|
71
71
|
* Endpoint: /restapi/{apiVersion}/glip/events/{eventId}
|
|
72
72
|
* Rate Limit Group: Medium
|
|
73
|
-
* App Permission:
|
|
74
|
-
* User Permission:
|
|
73
|
+
* App Permission: TeamMessaging
|
|
74
|
+
* User Permission: UnifiedAppDesktop
|
|
75
75
|
*/
|
|
76
76
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipEventInfo> {
|
|
77
77
|
if (this.eventId === null) {
|
|
@@ -90,8 +90,8 @@ class Index {
|
|
|
90
90
|
* HTTP Method: put
|
|
91
91
|
* Endpoint: /restapi/{apiVersion}/glip/events/{eventId}
|
|
92
92
|
* Rate Limit Group: Medium
|
|
93
|
-
* App Permission:
|
|
94
|
-
* User Permission:
|
|
93
|
+
* App Permission: TeamMessaging
|
|
94
|
+
* User Permission: UnifiedAppDesktop
|
|
95
95
|
*/
|
|
96
96
|
async put(
|
|
97
97
|
glipEventCreate: GlipEventCreate,
|
|
@@ -114,8 +114,8 @@ class Index {
|
|
|
114
114
|
* HTTP Method: delete
|
|
115
115
|
* Endpoint: /restapi/{apiVersion}/glip/events/{eventId}
|
|
116
116
|
* Rate Limit Group: Medium
|
|
117
|
-
* App Permission:
|
|
118
|
-
* User Permission:
|
|
117
|
+
* App Permission: TeamMessaging
|
|
118
|
+
* User Permission: UnifiedAppDesktop
|
|
119
119
|
*/
|
|
120
120
|
async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
121
121
|
if (this.eventId === null) {
|