@rc-ex/core 0.10.1 → 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/.env ADDED
@@ -0,0 +1 @@
1
+ SPEC_FILE_PATH=/Users/tyler.liu/src/ts/consolidate-api-specs/rc-platform.yml
@@ -18,7 +18,12 @@ class DeviceEmergencyInfo {
18
18
  /**
19
19
  * Emergency address status
20
20
  */
21
- addressStatus?: 'Valid' | 'Invalid';
21
+ addressStatus?: 'Valid' | 'Invalid' | 'Provisioning';
22
+
23
+ /**
24
+ * Visibility of an emergency response location. If `Private` is set, then location is visible only for the restricted number of users, specified in `owners` array
25
+ */
26
+ visibility?: 'Private' | 'Public';
22
27
 
23
28
  /**
24
29
  * Resulting status of emergency address synchronization. Returned if `syncEmergencyAddress` parameter is set to 'True'
@@ -21,7 +21,12 @@ class SipRegistrationDeviceEmergencyInfo {
21
21
  /**
22
22
  * Emergency address status
23
23
  */
24
- addressStatus?: 'Valid' | 'Invalid';
24
+ addressStatus?: 'Valid' | 'Invalid' | 'Processing';
25
+
26
+ /**
27
+ * Specifies whether to return only private or only public (company) ERLs (Emergency Response Locations)
28
+ */
29
+ visibility?: 'Private' | 'Public';
25
30
 
26
31
  /**
27
32
  * Resulting status of emergency address synchronization. Returned if `syncEmergencyAddress` parameter is set to 'True'
@@ -13,7 +13,11 @@ declare class DeviceEmergencyInfo {
13
13
  /**
14
14
  * Emergency address status
15
15
  */
16
- addressStatus?: 'Valid' | 'Invalid';
16
+ addressStatus?: 'Valid' | 'Invalid' | 'Provisioning';
17
+ /**
18
+ * Visibility of an emergency response location. If `Private` is set, then location is visible only for the restricted number of users, specified in `owners` array
19
+ */
20
+ visibility?: 'Private' | 'Public';
17
21
  /**
18
22
  * Resulting status of emergency address synchronization. Returned if `syncEmergencyAddress` parameter is set to 'True'
19
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DeviceEmergencyInfo.js","sourceRoot":"","sources":["../../definitions/DeviceEmergencyInfo.ts"],"names":[],"mappings":";;AAEA,4BAA4B;AAC5B,MAAM,mBAAmB;CAkCxB;AACD,kBAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"DeviceEmergencyInfo.js","sourceRoot":"","sources":["../../definitions/DeviceEmergencyInfo.ts"],"names":[],"mappings":";;AAEA,4BAA4B;AAC5B,MAAM,mBAAmB;CAuCxB;AACD,kBAAe,mBAAmB,CAAC"}
@@ -13,7 +13,11 @@ declare class SipRegistrationDeviceEmergencyInfo {
13
13
  /**
14
14
  * Emergency address status
15
15
  */
16
- addressStatus?: 'Valid' | 'Invalid';
16
+ addressStatus?: 'Valid' | 'Invalid' | 'Processing';
17
+ /**
18
+ * Specifies whether to return only private or only public (company) ERLs (Emergency Response Locations)
19
+ */
20
+ visibility?: 'Private' | 'Public';
17
21
  /**
18
22
  * Resulting status of emergency address synchronization. Returned if `syncEmergencyAddress` parameter is set to 'True'
19
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SipRegistrationDeviceEmergencyInfo.js","sourceRoot":"","sources":["../../definitions/SipRegistrationDeviceEmergencyInfo.ts"],"names":[],"mappings":";;AAKA,mDAAmD;AACnD,MAAM,kCAAkC;CA4CvC;AACD,kBAAe,kCAAkC,CAAC"}
1
+ {"version":3,"file":"SipRegistrationDeviceEmergencyInfo.js","sourceRoot":"","sources":["../../definitions/SipRegistrationDeviceEmergencyInfo.ts"],"names":[],"mappings":";;AAKA,mDAAmD;AACnD,MAAM,kCAAkC;CAiDvC;AACD,kBAAe,kCAAkC,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "0.10.1",
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",
@@ -31,5 +31,5 @@
31
31
  "scripts": {
32
32
  "generate": "ts-node -r dotenv-override-true/config code-generator.ts"
33
33
  },
34
- "gitHead": "ef845bb6bce36a5cf71fdb78137840b07f7d6b92"
34
+ "gitHead": "84492d579489d5604facf432ecbdba7b206aca8b"
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "0.10.1",
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",
@@ -31,5 +31,5 @@
31
31
  "scripts": {
32
32
  "generate": "ts-node -r dotenv-override-true/config code-generator.ts"
33
33
  },
34
- "gitHead": "ef845bb6bce36a5cf71fdb78137840b07f7d6b92"
34
+ "gitHead": "84492d579489d5604facf432ecbdba7b206aca8b"
35
35
  }
package/samples.md CHANGED
@@ -7674,7 +7674,7 @@ await rc.revoke();
7674
7674
  [Try it out](https://developer.ringcentral.com/api-reference#Automatic-Location-Updates-createExtensionEmergencyLocation) in API Explorer.
7675
7675
 
7676
7676
  ## updateExtensionEmergencyLocation
7677
- Updates a personal emergency response location by the current user or admin.
7677
+ Update User Emergency Location
7678
7678
 
7679
7679
  Name|Value
7680
7680
  -|-
@@ -7697,7 +7697,7 @@ await rc.revoke();
7697
7697
  - `emergencyLocationInfo` is of type [EmergencyLocationInfo](./definitions/EmergencyLocationInfo.ts)
7698
7698
  - `result` is of type [EmergencyLocationInfo](./definitions/EmergencyLocationInfo.ts)
7699
7699
 
7700
- [Try it out](https://developer.ringcentral.com/api-reference#Update-a-personal-emergency-response-location-for-the-end-user-updateExtensionEmergencyLocation) in API Explorer.
7700
+ [Try it out](https://developer.ringcentral.com/api-reference#Automatic-Location-Updates-updateExtensionEmergencyLocation) in API Explorer.
7701
7701
 
7702
7702
  ## deleteExtensionEmergencyLocation
7703
7703
  Delete User Emergency Location