@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
|
@@ -22,8 +22,8 @@ class Index {
|
|
|
22
22
|
* HTTP Method: get
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/everyone
|
|
24
24
|
* Rate Limit Group: Light
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipEveryoneInfo> {
|
|
29
29
|
const r = await this.rc.get<GlipEveryoneInfo>(
|
|
@@ -39,8 +39,8 @@ class Index {
|
|
|
39
39
|
* HTTP Method: patch
|
|
40
40
|
* Endpoint: /restapi/{apiVersion}/glip/everyone
|
|
41
41
|
* Rate Limit Group: Medium
|
|
42
|
-
* App Permission:
|
|
43
|
-
* User Permission:
|
|
42
|
+
* App Permission: TeamMessaging
|
|
43
|
+
* User Permission: UnifiedAppDesktop
|
|
44
44
|
*/
|
|
45
45
|
async patch(
|
|
46
46
|
updateGlipEveryoneRequest: UpdateGlipEveryoneRequest,
|
|
@@ -22,8 +22,8 @@ class Index {
|
|
|
22
22
|
* HTTP Method: get
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/favorites
|
|
24
24
|
* Rate Limit Group: Light
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
async get(
|
|
29
29
|
queryParams?: ListFavoriteChatsParameters,
|
|
@@ -19,8 +19,8 @@ class Index {
|
|
|
19
19
|
* HTTP Method: get
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/groups/{groupId}/events
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipEventInfo> {
|
|
26
26
|
const r = await this.rc.get<GlipEventInfo>(
|
|
@@ -36,8 +36,8 @@ class Index {
|
|
|
36
36
|
* HTTP Method: post
|
|
37
37
|
* Endpoint: /restapi/{apiVersion}/glip/groups/{groupId}/events
|
|
38
38
|
* Rate Limit Group: Medium
|
|
39
|
-
* App Permission:
|
|
40
|
-
* User Permission:
|
|
39
|
+
* App Permission: TeamMessaging
|
|
40
|
+
* User Permission: UnifiedAppDesktop
|
|
41
41
|
*/
|
|
42
42
|
async post(
|
|
43
43
|
glipEventCreate: GlipEventCreate,
|
|
@@ -19,8 +19,8 @@ class Index {
|
|
|
19
19
|
* HTTP Method: get
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/groups/{groupId}/webhooks
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookList> {
|
|
26
26
|
const r = await this.rc.get<GlipWebhookList>(
|
|
@@ -36,8 +36,8 @@ class Index {
|
|
|
36
36
|
* HTTP Method: post
|
|
37
37
|
* Endpoint: /restapi/{apiVersion}/glip/groups/{groupId}/webhooks
|
|
38
38
|
* Rate Limit Group: Medium
|
|
39
|
-
* App Permission:
|
|
40
|
-
* User Permission:
|
|
39
|
+
* App Permission: TeamMessaging
|
|
40
|
+
* User Permission: UnifiedAppDesktop
|
|
41
41
|
*/
|
|
42
42
|
async post(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookInfo> {
|
|
43
43
|
const r = await this.rc.post<GlipWebhookInfo>(
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}/lock
|
|
20
20
|
* Rate Limit Group: Light
|
|
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,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}/publish
|
|
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,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}/unlock
|
|
20
20
|
* Rate Limit Group: Light
|
|
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>(
|
|
@@ -31,8 +31,8 @@ class Index {
|
|
|
31
31
|
* HTTP Method: get
|
|
32
32
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}
|
|
33
33
|
* Rate Limit Group: Medium
|
|
34
|
-
* App Permission:
|
|
35
|
-
* User Permission:
|
|
34
|
+
* App Permission: TeamMessaging
|
|
35
|
+
* User Permission: UnifiedAppDesktop
|
|
36
36
|
*/
|
|
37
37
|
async get(restRequestConfig?: RestRequestConfig): Promise<GetGlipNoteInfo> {
|
|
38
38
|
if (this.noteId === null) {
|
|
@@ -51,8 +51,8 @@ class Index {
|
|
|
51
51
|
* HTTP Method: delete
|
|
52
52
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}
|
|
53
53
|
* Rate Limit Group: Medium
|
|
54
|
-
* App Permission:
|
|
55
|
-
* User Permission:
|
|
54
|
+
* App Permission: TeamMessaging
|
|
55
|
+
* User Permission: UnifiedAppDesktop
|
|
56
56
|
*/
|
|
57
57
|
async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
58
58
|
if (this.noteId === null) {
|
|
@@ -71,8 +71,8 @@ class Index {
|
|
|
71
71
|
* HTTP Method: patch
|
|
72
72
|
* Endpoint: /restapi/{apiVersion}/glip/notes/{noteId}
|
|
73
73
|
* Rate Limit Group: Medium
|
|
74
|
-
* App Permission:
|
|
75
|
-
* User Permission:
|
|
74
|
+
* App Permission: TeamMessaging
|
|
75
|
+
* User Permission: UnifiedAppDesktop
|
|
76
76
|
*/
|
|
77
77
|
async patch(
|
|
78
78
|
glipNoteCreate: GlipNoteCreate,
|
|
@@ -24,8 +24,8 @@ class Index {
|
|
|
24
24
|
* HTTP Method: get
|
|
25
25
|
* Endpoint: /restapi/{apiVersion}/glip/persons/{personId}
|
|
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<GlipPersonInfo> {
|
|
31
31
|
if (this.personId === null) {
|
|
@@ -19,8 +19,8 @@ class Index {
|
|
|
19
19
|
* HTTP Method: get
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/preferences
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
async get(
|
|
26
26
|
restRequestConfig?: RestRequestConfig
|
|
@@ -22,8 +22,8 @@ class Index {
|
|
|
22
22
|
* HTTP Method: get
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/recent/chats
|
|
24
24
|
* Rate Limit Group: Light
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
async get(
|
|
29
29
|
queryParams?: ListRecentChatsParameters,
|
|
@@ -19,8 +19,8 @@ class Index {
|
|
|
19
19
|
* HTTP Method: post
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/add
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
async post(
|
|
26
26
|
glipPostMembersListBody: GlipPostMembersListBody,
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/archive
|
|
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,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/join
|
|
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,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/leave
|
|
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>(
|
|
@@ -19,8 +19,8 @@ class Index {
|
|
|
19
19
|
* HTTP Method: post
|
|
20
20
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/remove
|
|
21
21
|
* Rate Limit Group: Medium
|
|
22
|
-
* App Permission:
|
|
23
|
-
* User Permission:
|
|
22
|
+
* App Permission: TeamMessaging
|
|
23
|
+
* User Permission: UnifiedAppDesktop
|
|
24
24
|
*/
|
|
25
25
|
async post(
|
|
26
26
|
glipPostMembersIdsListBody: GlipPostMembersIdsListBody,
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}/unarchive
|
|
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>(
|
|
@@ -36,8 +36,8 @@ class Index {
|
|
|
36
36
|
* HTTP Method: get
|
|
37
37
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
38
38
|
* Rate Limit Group: Medium
|
|
39
|
-
* App Permission:
|
|
40
|
-
* User Permission:
|
|
39
|
+
* App Permission: TeamMessaging
|
|
40
|
+
* User Permission: UnifiedAppDesktop
|
|
41
41
|
*/
|
|
42
42
|
async list(
|
|
43
43
|
queryParams?: ListGlipTeamsParameters,
|
|
@@ -56,8 +56,8 @@ class Index {
|
|
|
56
56
|
* HTTP Method: post
|
|
57
57
|
* Endpoint: /restapi/{apiVersion}/glip/teams
|
|
58
58
|
* Rate Limit Group: Medium
|
|
59
|
-
* App Permission:
|
|
60
|
-
* User Permission:
|
|
59
|
+
* App Permission: TeamMessaging
|
|
60
|
+
* User Permission: UnifiedAppDesktop
|
|
61
61
|
*/
|
|
62
62
|
async post(
|
|
63
63
|
glipPostTeamBody: GlipPostTeamBody,
|
|
@@ -77,8 +77,8 @@ class Index {
|
|
|
77
77
|
* HTTP Method: get
|
|
78
78
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
79
79
|
* Rate Limit Group: Light
|
|
80
|
-
* App Permission:
|
|
81
|
-
* User Permission:
|
|
80
|
+
* App Permission: TeamMessaging
|
|
81
|
+
* User Permission: UnifiedAppDesktop
|
|
82
82
|
*/
|
|
83
83
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipTeamInfo> {
|
|
84
84
|
if (this.chatId === null) {
|
|
@@ -97,8 +97,8 @@ class Index {
|
|
|
97
97
|
* HTTP Method: delete
|
|
98
98
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
99
99
|
* Rate Limit Group: Medium
|
|
100
|
-
* App Permission:
|
|
101
|
-
* User Permission:
|
|
100
|
+
* App Permission: TeamMessaging
|
|
101
|
+
* User Permission: UnifiedAppDesktop
|
|
102
102
|
*/
|
|
103
103
|
async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
104
104
|
if (this.chatId === null) {
|
|
@@ -117,8 +117,8 @@ class Index {
|
|
|
117
117
|
* HTTP Method: patch
|
|
118
118
|
* Endpoint: /restapi/{apiVersion}/glip/teams/{chatId}
|
|
119
119
|
* Rate Limit Group: Medium
|
|
120
|
-
* App Permission:
|
|
121
|
-
* User Permission:
|
|
120
|
+
* App Permission: TeamMessaging
|
|
121
|
+
* User Permission: UnifiedAppDesktop
|
|
122
122
|
*/
|
|
123
123
|
async patch(
|
|
124
124
|
glipPatchTeamBody: GlipPatchTeamBody,
|
|
@@ -18,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/activate
|
|
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,8 +18,8 @@ class Index {
|
|
|
18
18
|
* HTTP Method: post
|
|
19
19
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}/suspend
|
|
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>(
|
|
@@ -26,8 +26,8 @@ class Index {
|
|
|
26
26
|
* HTTP Method: get
|
|
27
27
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks
|
|
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(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookList> {
|
|
33
33
|
const r = await this.rc.get<GlipWebhookList>(
|
|
@@ -43,8 +43,8 @@ class Index {
|
|
|
43
43
|
* HTTP Method: get
|
|
44
44
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
45
45
|
* Rate Limit Group: Medium
|
|
46
|
-
* App Permission:
|
|
47
|
-
* User Permission:
|
|
46
|
+
* App Permission: TeamMessaging
|
|
47
|
+
* User Permission: UnifiedAppDesktop
|
|
48
48
|
*/
|
|
49
49
|
async get(restRequestConfig?: RestRequestConfig): Promise<GlipWebhookList> {
|
|
50
50
|
if (this.webhookId === null) {
|
|
@@ -63,8 +63,8 @@ class Index {
|
|
|
63
63
|
* HTTP Method: delete
|
|
64
64
|
* Endpoint: /restapi/{apiVersion}/glip/webhooks/{webhookId}
|
|
65
65
|
* Rate Limit Group: Medium
|
|
66
|
-
* App Permission:
|
|
67
|
-
* User Permission:
|
|
66
|
+
* App Permission: TeamMessaging
|
|
67
|
+
* User Permission: UnifiedAppDesktop
|
|
68
68
|
*/
|
|
69
69
|
async delete(restRequestConfig?: RestRequestConfig): Promise<string> {
|
|
70
70
|
if (this.webhookId === null) {
|