@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
|
@@ -25,7 +25,7 @@ class Index {
|
|
|
25
25
|
return r.data;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Creates a new emergency response location for the company.
|
|
29
29
|
* HTTP Method: post
|
|
30
30
|
* Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations
|
|
31
31
|
* Rate Limit Group: Medium
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { RestRequestConfig } from '../../../../../Rest';
|
|
2
|
-
import {
|
|
2
|
+
import { GetExtensionEmergencyLocationsParameters, EmergencyLocationsResource, CreateUserEmergencyLocationRequest, EmergencyLocationInfo, DeleteExtensionEmergencyLocationParameters } from '../../../../../definitions';
|
|
3
3
|
import Parent from '..';
|
|
4
4
|
import { RingCentral } from '../../../../..';
|
|
5
5
|
declare class Index {
|
|
6
6
|
rc: RingCentral;
|
|
7
7
|
parent: Parent;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
locationId: string | null;
|
|
9
|
+
constructor(parent: Parent, locationId?: string | null);
|
|
10
|
+
path(withParameter?: boolean): string;
|
|
10
11
|
/**
|
|
11
12
|
* Returns a list of emergency response locations available for the current user extension.
|
|
12
13
|
* HTTP Method: get
|
|
@@ -14,6 +15,33 @@ declare class Index {
|
|
|
14
15
|
* Rate Limit Group: Light
|
|
15
16
|
* App Permission: ReadAccounts
|
|
16
17
|
*/
|
|
17
|
-
get(restRequestConfig?: RestRequestConfig): Promise<
|
|
18
|
+
get(queryParams?: GetExtensionEmergencyLocationsParameters, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationsResource>;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a personal emergency response location for the current user.
|
|
21
|
+
* HTTP Method: post
|
|
22
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations
|
|
23
|
+
* Rate Limit Group: Heavy
|
|
24
|
+
* App Permission: ReadAccounts
|
|
25
|
+
* User Permission: EmergencyFramework
|
|
26
|
+
*/
|
|
27
|
+
post(createUserEmergencyLocationRequest: CreateUserEmergencyLocationRequest, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationInfo>;
|
|
28
|
+
/**
|
|
29
|
+
* Updates a personal emergency response location by the current user or admin.
|
|
30
|
+
* HTTP Method: put
|
|
31
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
32
|
+
* Rate Limit Group: Light
|
|
33
|
+
* App Permission: EditExtensions
|
|
34
|
+
* User Permission: EmergencyFramework
|
|
35
|
+
*/
|
|
36
|
+
put(emergencyLocationInfo: EmergencyLocationInfo, restRequestConfig?: RestRequestConfig): Promise<EmergencyLocationInfo>;
|
|
37
|
+
/**
|
|
38
|
+
* 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
|
|
39
|
+
* HTTP Method: delete
|
|
40
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
41
|
+
* Rate Limit Group: Heavy
|
|
42
|
+
* App Permission: EditExtensions
|
|
43
|
+
* User Permission: EmergencyFramework
|
|
44
|
+
*/
|
|
45
|
+
delete(queryParams?: DeleteExtensionEmergencyLocationParameters, restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
18
46
|
}
|
|
19
47
|
export default Index;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Index {
|
|
4
|
-
constructor(parent) {
|
|
4
|
+
constructor(parent, locationId = null) {
|
|
5
5
|
this.parent = parent;
|
|
6
6
|
this.rc = parent.rc;
|
|
7
|
+
this.locationId = locationId;
|
|
7
8
|
}
|
|
8
|
-
path() {
|
|
9
|
+
path(withParameter = true) {
|
|
10
|
+
if (withParameter && this.locationId !== null) {
|
|
11
|
+
return `${this.parent.path()}/emergency-locations/${this.locationId}`;
|
|
12
|
+
}
|
|
9
13
|
return `${this.parent.path()}/emergency-locations`;
|
|
10
14
|
}
|
|
11
15
|
/**
|
|
@@ -15,8 +19,50 @@ class Index {
|
|
|
15
19
|
* Rate Limit Group: Light
|
|
16
20
|
* App Permission: ReadAccounts
|
|
17
21
|
*/
|
|
18
|
-
async get(restRequestConfig) {
|
|
19
|
-
const r = await this.rc.get(this.path(),
|
|
22
|
+
async get(queryParams, restRequestConfig) {
|
|
23
|
+
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
24
|
+
return r.data;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Creates a personal emergency response location for the current user.
|
|
28
|
+
* HTTP Method: post
|
|
29
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations
|
|
30
|
+
* Rate Limit Group: Heavy
|
|
31
|
+
* App Permission: ReadAccounts
|
|
32
|
+
* User Permission: EmergencyFramework
|
|
33
|
+
*/
|
|
34
|
+
async post(createUserEmergencyLocationRequest, restRequestConfig) {
|
|
35
|
+
const r = await this.rc.post(this.path(false), createUserEmergencyLocationRequest, undefined, restRequestConfig);
|
|
36
|
+
return r.data;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Updates a personal emergency response location by the current user or admin.
|
|
40
|
+
* HTTP Method: put
|
|
41
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
42
|
+
* Rate Limit Group: Light
|
|
43
|
+
* App Permission: EditExtensions
|
|
44
|
+
* User Permission: EmergencyFramework
|
|
45
|
+
*/
|
|
46
|
+
async put(emergencyLocationInfo, restRequestConfig) {
|
|
47
|
+
if (this.locationId === null) {
|
|
48
|
+
throw new Error('locationId must be specified.');
|
|
49
|
+
}
|
|
50
|
+
const r = await this.rc.put(this.path(), emergencyLocationInfo, undefined, restRequestConfig);
|
|
51
|
+
return r.data;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
* HTTP Method: delete
|
|
56
|
+
* Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId}
|
|
57
|
+
* Rate Limit Group: Heavy
|
|
58
|
+
* App Permission: EditExtensions
|
|
59
|
+
* User Permission: EmergencyFramework
|
|
60
|
+
*/
|
|
61
|
+
async delete(queryParams, restRequestConfig) {
|
|
62
|
+
if (this.locationId === null) {
|
|
63
|
+
throw new Error('locationId must be specified.');
|
|
64
|
+
}
|
|
65
|
+
const r = await this.rc.delete(this.path(), queryParams, restRequestConfig);
|
|
20
66
|
return r.data;
|
|
21
67
|
}
|
|
22
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../paths/Restapi/Account/Extension/EmergencyLocations/index.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../paths/Restapi/Account/Extension/EmergencyLocations/index.ts"],"names":[],"mappings":";;AAWA,MAAM,KAAK;IAKT,YAAY,MAAc,EAAE,aAA4B,IAAI;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;QACpB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IACD,IAAI,CAAC,aAAa,GAAG,IAAI;QACvB,IAAI,aAAa,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE;YAC7C,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,IAAI,CAAC,UAAU,EAAE,CAAC;SACvE;QACD,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC;IACrD,CAAC;IACD;;;;;;OAMG;IACH,KAAK,CAAC,GAAG,CACP,WAAsD,EACtD,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CACR,kCAAsE,EACtE,iBAAqC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,IAAI,CAC1B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAChB,kCAAkC,EAClC,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,GAAG,CACP,qBAA4C,EAC5C,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SAClD;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,GAAG,CACzB,IAAI,CAAC,IAAI,EAAE,EACX,qBAAqB,EACrB,SAAS,EACT,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,WAAwD,EACxD,iBAAqC;QAErC,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SAClD;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAC5B,IAAI,CAAC,IAAI,EAAE,EACX,WAAW,EACX,iBAAiB,CAClB,CAAC;QACF,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -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';
|
|
@@ -125,8 +125,8 @@ declare class Index {
|
|
|
125
125
|
addressBookSync(): AddressBookSync;
|
|
126
126
|
meetingRecordings(): MeetingRecordings;
|
|
127
127
|
administeredSites(): AdministeredSites;
|
|
128
|
+
emergencyLocations(locationId?: string | null): EmergencyLocations;
|
|
128
129
|
callQueuePresence(): CallQueuePresence;
|
|
129
|
-
emergencyLocations(): EmergencyLocations;
|
|
130
130
|
videoConfiguration(): VideoConfiguration;
|
|
131
131
|
meetingConfiguration(): MeetingConfiguration;
|
|
132
132
|
notificationSettings(): NotificationSettings;
|
|
@@ -7,8 +7,8 @@ const MeetingsConfiguration_1 = __importDefault(require("./MeetingsConfiguration
|
|
|
7
7
|
const NotificationSettings_1 = __importDefault(require("./NotificationSettings"));
|
|
8
8
|
const MeetingConfiguration_1 = __importDefault(require("./MeetingConfiguration"));
|
|
9
9
|
const VideoConfiguration_1 = __importDefault(require("./VideoConfiguration"));
|
|
10
|
-
const EmergencyLocations_1 = __importDefault(require("./EmergencyLocations"));
|
|
11
10
|
const CallQueuePresence_1 = __importDefault(require("./CallQueuePresence"));
|
|
11
|
+
const EmergencyLocations_1 = __importDefault(require("./EmergencyLocations"));
|
|
12
12
|
const AdministeredSites_1 = __importDefault(require("./AdministeredSites"));
|
|
13
13
|
const MeetingRecordings_1 = __importDefault(require("./MeetingRecordings"));
|
|
14
14
|
const AddressBookSync_1 = __importDefault(require("./AddressBookSync"));
|
|
@@ -222,12 +222,12 @@ class Index {
|
|
|
222
222
|
administeredSites() {
|
|
223
223
|
return new AdministeredSites_1.default(this);
|
|
224
224
|
}
|
|
225
|
+
emergencyLocations(locationId = null) {
|
|
226
|
+
return new EmergencyLocations_1.default(this, locationId);
|
|
227
|
+
}
|
|
225
228
|
callQueuePresence() {
|
|
226
229
|
return new CallQueuePresence_1.default(this);
|
|
227
230
|
}
|
|
228
|
-
emergencyLocations() {
|
|
229
|
-
return new EmergencyLocations_1.default(this);
|
|
230
|
-
}
|
|
231
231
|
videoConfiguration() {
|
|
232
232
|
return new VideoConfiguration_1.default(this);
|
|
233
233
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../paths/Restapi/Account/Extension/index.ts"],"names":[],"mappings":";;;;;AAAA,oFAA4D;AAC5D,kFAA0D;AAC1D,kFAA0D;AAC1D,8EAAsD;AACtD,8EAAsD;AACtD,4EAAoD;AACpD,4EAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../paths/Restapi/Account/Extension/index.ts"],"names":[],"mappings":";;;;;AAAA,oFAA4D;AAC5D,kFAA0D;AAC1D,kFAA0D;AAC1D,8EAAsD;AACtD,4EAAoD;AACpD,8EAAsD;AACtD,4EAAoD;AACpD,4EAAoD;AACpD,wEAAgD;AAChD,0EAAkD;AAClD,wEAAgD;AAChD,sEAA8C;AAC9C,oEAA4C;AAC5C,oEAA4C;AAC5C,kEAA0C;AAC1C,kEAA0C;AAC1C,kEAA0C;AAC1C,gEAAwC;AACxC,kEAA0C;AAC1C,kEAA0C;AAC1C,kEAA0C;AAC1C,gEAAwC;AACxC,gEAAwC;AACxC,gEAAwC;AACxC,gEAAwC;AACxC,8DAAsC;AACtC,0DAAkC;AAClC,0DAAkC;AAClC,0DAAkC;AAClC,0DAAkC;AAClC,wDAAgC;AAChC,0DAAkC;AAClC,wDAAgC;AAChC,wDAAgC;AAChC,sDAA8B;AAC9B,oDAA4B;AAC5B,gDAAwB;AACxB,gDAAwB;AACxB,gDAAwB;AAcxB,MAAM,KAAK;IAKT,YAAY,MAAc,EAAE,cAA6B,GAAG;QAC1D,IAAI,CAAC,MAAM,GAAG,MA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AAC;IAED,oBAAoB;QAClB,OAAO,IAAI,8BAAoB,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,+BAAqB,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare class Index {
|
|
|
11
11
|
* HTTP Method: post
|
|
12
12
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/favorite
|
|
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/chats/{chatId}/favorite
|
|
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);
|
|
@@ -12,8 +12,8 @@ declare class Index {
|
|
|
12
12
|
* HTTP Method: get
|
|
13
13
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
14
14
|
* Rate Limit Group: Heavy
|
|
15
|
-
* App Permission:
|
|
16
|
-
* User Permission:
|
|
15
|
+
* App Permission: TeamMessaging
|
|
16
|
+
* User Permission: UnifiedAppDesktop
|
|
17
17
|
*/
|
|
18
18
|
get(queryParams?: ListChatNotesParameters, restRequestConfig?: RestRequestConfig): Promise<GlipNotesInfo>;
|
|
19
19
|
/**
|
|
@@ -21,8 +21,8 @@ declare class Index {
|
|
|
21
21
|
* HTTP Method: post
|
|
22
22
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
23
23
|
* Rate Limit Group: Medium
|
|
24
|
-
* App Permission:
|
|
25
|
-
* User Permission:
|
|
24
|
+
* App Permission: TeamMessaging
|
|
25
|
+
* User Permission: UnifiedAppDesktop
|
|
26
26
|
*/
|
|
27
27
|
post(glipNoteCreate: GlipNoteCreate, restRequestConfig?: RestRequestConfig): Promise<GlipNoteInfo>;
|
|
28
28
|
}
|
|
@@ -13,8 +13,8 @@ class Index {
|
|
|
13
13
|
* HTTP Method: get
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
15
15
|
* Rate Limit Group: Heavy
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
async get(queryParams, restRequestConfig) {
|
|
20
20
|
const r = await this.rc.get(this.path(), queryParams, restRequestConfig);
|
|
@@ -25,8 +25,8 @@ class Index {
|
|
|
25
25
|
* HTTP Method: post
|
|
26
26
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/notes
|
|
27
27
|
* Rate Limit Group: Medium
|
|
28
|
-
* App Permission:
|
|
29
|
-
* User Permission:
|
|
28
|
+
* App Permission: TeamMessaging
|
|
29
|
+
* User Permission: UnifiedAppDesktop
|
|
30
30
|
*/
|
|
31
31
|
async post(glipNoteCreate, restRequestConfig) {
|
|
32
32
|
const r = await this.rc.post(this.path(), glipNoteCreate, undefined, restRequestConfig);
|
|
@@ -13,8 +13,8 @@ declare class Index {
|
|
|
13
13
|
* HTTP Method: get
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
list(queryParams?: ReadGlipPostsParameters, restRequestConfig?: RestRequestConfig): Promise<GlipPostsList>;
|
|
20
20
|
/**
|
|
@@ -22,8 +22,8 @@ declare class Index {
|
|
|
22
22
|
* HTTP Method: post
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
24
24
|
* Rate Limit Group: Medium
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
post(glipPostPostBody: GlipPostPostBody, restRequestConfig?: RestRequestConfig): Promise<GlipPostInfo>;
|
|
29
29
|
/**
|
|
@@ -31,8 +31,8 @@ declare class Index {
|
|
|
31
31
|
* HTTP Method: get
|
|
32
32
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
33
33
|
* Rate Limit Group: Light
|
|
34
|
-
* App Permission:
|
|
35
|
-
* User Permission:
|
|
34
|
+
* App Permission: TeamMessaging
|
|
35
|
+
* User Permission: UnifiedAppDesktop
|
|
36
36
|
*/
|
|
37
37
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipPostInfo>;
|
|
38
38
|
/**
|
|
@@ -40,8 +40,8 @@ declare class Index {
|
|
|
40
40
|
* HTTP Method: delete
|
|
41
41
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
42
42
|
* Rate Limit Group: Medium
|
|
43
|
-
* App Permission:
|
|
44
|
-
* User Permission:
|
|
43
|
+
* App Permission: TeamMessaging
|
|
44
|
+
* User Permission: UnifiedAppDesktop
|
|
45
45
|
*/
|
|
46
46
|
delete(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
47
47
|
/**
|
|
@@ -49,8 +49,8 @@ declare class Index {
|
|
|
49
49
|
* HTTP Method: patch
|
|
50
50
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
51
51
|
* Rate Limit Group: Medium
|
|
52
|
-
* App Permission:
|
|
53
|
-
* User Permission:
|
|
52
|
+
* App Permission: TeamMessaging
|
|
53
|
+
* User Permission: UnifiedAppDesktop
|
|
54
54
|
*/
|
|
55
55
|
patch(glipPatchPostBody: GlipPatchPostBody, restRequestConfig?: RestRequestConfig): Promise<GlipPostInfo>;
|
|
56
56
|
}
|
|
@@ -17,8 +17,8 @@ class Index {
|
|
|
17
17
|
* HTTP Method: get
|
|
18
18
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
19
19
|
* Rate Limit Group: Medium
|
|
20
|
-
* App Permission:
|
|
21
|
-
* User Permission:
|
|
20
|
+
* App Permission: TeamMessaging
|
|
21
|
+
* User Permission: UnifiedAppDesktop
|
|
22
22
|
*/
|
|
23
23
|
async list(queryParams, restRequestConfig) {
|
|
24
24
|
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
@@ -29,8 +29,8 @@ class Index {
|
|
|
29
29
|
* HTTP Method: post
|
|
30
30
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts
|
|
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 post(glipPostPostBody, restRequestConfig) {
|
|
36
36
|
const r = await this.rc.post(this.path(false), glipPostPostBody, undefined, restRequestConfig);
|
|
@@ -41,8 +41,8 @@ class Index {
|
|
|
41
41
|
* HTTP Method: get
|
|
42
42
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
43
43
|
* Rate Limit Group: Light
|
|
44
|
-
* App Permission:
|
|
45
|
-
* User Permission:
|
|
44
|
+
* App Permission: TeamMessaging
|
|
45
|
+
* User Permission: UnifiedAppDesktop
|
|
46
46
|
*/
|
|
47
47
|
async get(restRequestConfig) {
|
|
48
48
|
if (this.postId === null) {
|
|
@@ -56,8 +56,8 @@ class Index {
|
|
|
56
56
|
* HTTP Method: delete
|
|
57
57
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
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 delete(restRequestConfig) {
|
|
63
63
|
if (this.postId === null) {
|
|
@@ -71,8 +71,8 @@ class Index {
|
|
|
71
71
|
* HTTP Method: patch
|
|
72
72
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/posts/{postId}
|
|
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(glipPatchPostBody, restRequestConfig) {
|
|
78
78
|
if (this.postId === null) {
|
|
@@ -11,7 +11,7 @@ declare class Index {
|
|
|
11
11
|
* HTTP Method: post
|
|
12
12
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/read
|
|
13
13
|
* Rate Limit Group: Medium
|
|
14
|
-
* App Permission:
|
|
14
|
+
* App Permission: TeamMessagingInternal
|
|
15
15
|
*/
|
|
16
16
|
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ class Index {
|
|
|
13
13
|
* HTTP Method: post
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/read
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
16
|
+
* App Permission: TeamMessagingInternal
|
|
17
17
|
*/
|
|
18
18
|
async post(restRequestConfig) {
|
|
19
19
|
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/chats/{chatId}/unfavorite
|
|
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/chats/{chatId}/unfavorite
|
|
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,7 +11,7 @@ declare class Index {
|
|
|
11
11
|
* HTTP Method: post
|
|
12
12
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/unread
|
|
13
13
|
* Rate Limit Group: Medium
|
|
14
|
-
* App Permission:
|
|
14
|
+
* App Permission: TeamMessagingInternal
|
|
15
15
|
*/
|
|
16
16
|
post(restRequestConfig?: RestRequestConfig): Promise<string>;
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ class Index {
|
|
|
13
13
|
* HTTP Method: post
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}/unread
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
16
|
+
* App Permission: TeamMessagingInternal
|
|
17
17
|
*/
|
|
18
18
|
async post(restRequestConfig) {
|
|
19
19
|
const r = await this.rc.post(this.path(), undefined, restRequestConfig);
|
|
@@ -20,8 +20,8 @@ declare class Index {
|
|
|
20
20
|
* HTTP Method: get
|
|
21
21
|
* Endpoint: /restapi/{apiVersion}/glip/chats
|
|
22
22
|
* Rate Limit Group: Medium
|
|
23
|
-
* App Permission:
|
|
24
|
-
* User Permission:
|
|
23
|
+
* App Permission: TeamMessaging
|
|
24
|
+
* User Permission: UnifiedAppDesktop
|
|
25
25
|
*/
|
|
26
26
|
list(queryParams?: ListGlipChatsParameters, restRequestConfig?: RestRequestConfig): Promise<GlipChatsList>;
|
|
27
27
|
/**
|
|
@@ -29,8 +29,8 @@ declare class Index {
|
|
|
29
29
|
* HTTP Method: get
|
|
30
30
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}
|
|
31
31
|
* Rate Limit Group: Light
|
|
32
|
-
* App Permission:
|
|
33
|
-
* User Permission:
|
|
32
|
+
* App Permission: TeamMessaging
|
|
33
|
+
* User Permission: UnifiedAppDesktop
|
|
34
34
|
*/
|
|
35
35
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipChatInfo>;
|
|
36
36
|
read(): Read;
|
|
@@ -27,8 +27,8 @@ class Index {
|
|
|
27
27
|
* HTTP Method: get
|
|
28
28
|
* Endpoint: /restapi/{apiVersion}/glip/chats
|
|
29
29
|
* Rate Limit Group: Medium
|
|
30
|
-
* App Permission:
|
|
31
|
-
* User Permission:
|
|
30
|
+
* App Permission: TeamMessaging
|
|
31
|
+
* User Permission: UnifiedAppDesktop
|
|
32
32
|
*/
|
|
33
33
|
async list(queryParams, restRequestConfig) {
|
|
34
34
|
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
@@ -39,8 +39,8 @@ class Index {
|
|
|
39
39
|
* HTTP Method: get
|
|
40
40
|
* Endpoint: /restapi/{apiVersion}/glip/chats/{chatId}
|
|
41
41
|
* Rate Limit Group: Light
|
|
42
|
-
* App Permission:
|
|
43
|
-
* User Permission:
|
|
42
|
+
* App Permission: TeamMessaging
|
|
43
|
+
* User Permission: UnifiedAppDesktop
|
|
44
44
|
*/
|
|
45
45
|
async get(restRequestConfig) {
|
|
46
46
|
if (this.chatId === null) {
|
|
@@ -13,8 +13,8 @@ declare class Index {
|
|
|
13
13
|
* HTTP Method: get
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/companies/{companyId}
|
|
15
15
|
* Rate Limit Group: Light
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipCompany>;
|
|
20
20
|
}
|
|
@@ -17,8 +17,8 @@ class Index {
|
|
|
17
17
|
* HTTP Method: get
|
|
18
18
|
* Endpoint: /restapi/{apiVersion}/glip/companies/{companyId}
|
|
19
19
|
* Rate Limit Group: Light
|
|
20
|
-
* App Permission:
|
|
21
|
-
* User Permission:
|
|
20
|
+
* App Permission: TeamMessaging
|
|
21
|
+
* User Permission: UnifiedAppDesktop
|
|
22
22
|
*/
|
|
23
23
|
async get(restRequestConfig) {
|
|
24
24
|
if (this.companyId === null) {
|
|
@@ -13,8 +13,8 @@ declare class Index {
|
|
|
13
13
|
* HTTP Method: get
|
|
14
14
|
* Endpoint: /restapi/{apiVersion}/glip/conversations
|
|
15
15
|
* Rate Limit Group: Medium
|
|
16
|
-
* App Permission:
|
|
17
|
-
* User Permission:
|
|
16
|
+
* App Permission: TeamMessaging
|
|
17
|
+
* User Permission: UnifiedAppDesktop
|
|
18
18
|
*/
|
|
19
19
|
list(queryParams?: ListGlipConversationsParameters, restRequestConfig?: RestRequestConfig): Promise<GlipConversationsList>;
|
|
20
20
|
/**
|
|
@@ -22,8 +22,8 @@ declare class Index {
|
|
|
22
22
|
* HTTP Method: post
|
|
23
23
|
* Endpoint: /restapi/{apiVersion}/glip/conversations
|
|
24
24
|
* Rate Limit Group: Medium
|
|
25
|
-
* App Permission:
|
|
26
|
-
* User Permission:
|
|
25
|
+
* App Permission: TeamMessaging
|
|
26
|
+
* User Permission: UnifiedAppDesktop
|
|
27
27
|
*/
|
|
28
28
|
post(createGlipConversationRequest: CreateGlipConversationRequest, restRequestConfig?: RestRequestConfig): Promise<GlipConversationInfo>;
|
|
29
29
|
/**
|
|
@@ -31,8 +31,8 @@ declare class Index {
|
|
|
31
31
|
* HTTP Method: get
|
|
32
32
|
* Endpoint: /restapi/{apiVersion}/glip/conversations/{chatId}
|
|
33
33
|
* Rate Limit Group: Light
|
|
34
|
-
* App Permission:
|
|
35
|
-
* User Permission:
|
|
34
|
+
* App Permission: TeamMessaging
|
|
35
|
+
* User Permission: UnifiedAppDesktop
|
|
36
36
|
*/
|
|
37
37
|
get(restRequestConfig?: RestRequestConfig): Promise<GlipConversationInfo>;
|
|
38
38
|
}
|
|
@@ -17,8 +17,8 @@ class Index {
|
|
|
17
17
|
* HTTP Method: get
|
|
18
18
|
* Endpoint: /restapi/{apiVersion}/glip/conversations
|
|
19
19
|
* Rate Limit Group: Medium
|
|
20
|
-
* App Permission:
|
|
21
|
-
* User Permission:
|
|
20
|
+
* App Permission: TeamMessaging
|
|
21
|
+
* User Permission: UnifiedAppDesktop
|
|
22
22
|
*/
|
|
23
23
|
async list(queryParams, restRequestConfig) {
|
|
24
24
|
const r = await this.rc.get(this.path(false), queryParams, restRequestConfig);
|
|
@@ -29,8 +29,8 @@ class Index {
|
|
|
29
29
|
* HTTP Method: post
|
|
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 post(createGlipConversationRequest, restRequestConfig) {
|
|
36
36
|
const r = await this.rc.post(this.path(false), createGlipConversationRequest, undefined, restRequestConfig);
|
|
@@ -41,8 +41,8 @@ class Index {
|
|
|
41
41
|
* HTTP Method: get
|
|
42
42
|
* Endpoint: /restapi/{apiVersion}/glip/conversations/{chatId}
|
|
43
43
|
* Rate Limit Group: Light
|
|
44
|
-
* App Permission:
|
|
45
|
-
* User Permission:
|
|
44
|
+
* App Permission: TeamMessaging
|
|
45
|
+
* User Permission: UnifiedAppDesktop
|
|
46
46
|
*/
|
|
47
47
|
async get(restRequestConfig) {
|
|
48
48
|
if (this.chatId === null) {
|