@rc-ex/core 1.3.10 → 1.3.12

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.
Files changed (54) hide show
  1. package/lib/Rest.js +3 -1
  2. package/lib/Rest.js.map +1 -1
  3. package/lib/definitions/AccountPhoneNumberInfo.d.ts +3 -0
  4. package/lib/definitions/CompanyPhoneNumberInfo.d.ts +1 -1
  5. package/lib/definitions/ContentModel.d.ts +1 -1
  6. package/lib/definitions/ConversationalInsightsUnitValues.d.ts +1 -1
  7. package/lib/definitions/CreateContentRequest.d.ts +1 -1
  8. package/lib/definitions/IdentityModel.d.ts +1 -1
  9. package/lib/definitions/ListAccountPhoneNumbersParameters.d.ts +5 -0
  10. package/lib/definitions/ListAccountPhoneNumbersV2Parameters.d.ts +4 -0
  11. package/lib/definitions/MessageChanges.d.ts +4 -0
  12. package/lib/definitions/RegSessionModelSettings.d.ts +5 -0
  13. package/lib/definitions/SocMsgListIdentitiesParameters.d.ts +2 -2
  14. package/lib/definitions/SubscriptionInfo.d.ts +1 -1
  15. package/lib/definitions/TMCreateEventRequest.d.ts +7 -7
  16. package/lib/definitions/TMCreateTaskRequestRecurrence.d.ts +2 -2
  17. package/lib/definitions/TMEventInfo.d.ts +7 -6
  18. package/lib/definitions/TMMessageAttachmentInfo.d.ts +7 -6
  19. package/lib/definitions/TMTaskInfo.d.ts +1 -1
  20. package/lib/definitions/TMTaskInfoRecurrence.d.ts +1 -1
  21. package/lib/definitions/TMUpdateTaskRequestRecurrence.d.ts +2 -2
  22. package/lib/definitions/UserPhoneNumberInfo.d.ts +1 -1
  23. package/lib/definitions/VoicemailMessageEventBody.d.ts +5 -7
  24. package/lib/paths/Restapi/Account/CallRecordings/index.d.ts +3 -1
  25. package/lib/paths/Restapi/Account/CallRecordings/index.js +3 -1
  26. package/lib/paths/Restapi/Account/CallRecordings/index.js.map +1 -1
  27. package/lib/paths/Restapi/Account/EmergencyLocations/index.d.ts +1 -1
  28. package/lib/paths/Restapi/Account/EmergencyLocations/index.js +1 -1
  29. package/package.json +2 -2
  30. package/src/Rest.ts +5 -1
  31. package/src/definitions/AccountPhoneNumberInfo.ts +4 -0
  32. package/src/definitions/CompanyPhoneNumberInfo.ts +7 -1
  33. package/src/definitions/ContentModel.ts +1 -1
  34. package/src/definitions/ConversationalInsightsUnitValues.ts +1 -1
  35. package/src/definitions/CreateContentRequest.ts +1 -1
  36. package/src/definitions/IdentityModel.ts +1 -1
  37. package/src/definitions/ListAccountPhoneNumbersParameters.ts +12 -0
  38. package/src/definitions/ListAccountPhoneNumbersV2Parameters.ts +5 -0
  39. package/src/definitions/MessageChanges.ts +5 -0
  40. package/src/definitions/RegSessionModelSettings.ts +6 -0
  41. package/src/definitions/SocMsgListIdentitiesParameters.ts +2 -2
  42. package/src/definitions/SubscriptionInfo.ts +1 -1
  43. package/src/definitions/TMCreateEventRequest.ts +7 -7
  44. package/src/definitions/TMCreateTaskRequestRecurrence.ts +2 -2
  45. package/src/definitions/TMEventInfo.ts +7 -6
  46. package/src/definitions/TMMessageAttachmentInfo.ts +7 -6
  47. package/src/definitions/TMTaskInfo.ts +1 -1
  48. package/src/definitions/TMTaskInfoRecurrence.ts +1 -1
  49. package/src/definitions/TMUpdateTaskRequestRecurrence.ts +2 -2
  50. package/src/definitions/UserPhoneNumberInfo.ts +7 -1
  51. package/src/definitions/VoicemailMessageEventBody.ts +12 -8
  52. package/src/paths/Restapi/Account/CallRecordings/index.ts +3 -1
  53. package/src/paths/Restapi/Account/EmergencyLocations/index.ts +1 -1
  54. package/src/samples.md +2 -2
package/lib/Rest.js CHANGED
@@ -48,7 +48,9 @@ class Rest {
48
48
  ...config,
49
49
  };
50
50
  // /restapi/oauth/wstoken uses bearer token
51
- if (endpoint === '/restapi/oauth/token' || endpoint === '/restapi/oauth/revoke') {
51
+ if (endpoint === '/restapi/oauth/token' ||
52
+ endpoint === '/restapi/oauth/revoke' ||
53
+ endpoint === '/restapi/oauth/initiate-otp') {
52
54
  if (this.clientSecret) {
53
55
  // basic token
54
56
  newConfig.auth = {
package/lib/Rest.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Rest.js","sourceRoot":"","sources":["../src/Rest.ts"],"names":[],"mappings":";;;;;AACA,kDAA0B;AAC1B,4CAAoB;AACpB,yCAAsC;AAEtC,oEAA4C;AAI5C,MAAM,OAAO,GAAG,OAAO,CAAC;AAExB,MAAqB,IAAI;IAmBvB,YAAmB,OAAoB;;QACrC,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,CAAC,MAAM,mCAAI,IAAI,CAAC,gBAAgB,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,CAAC,QAAQ,mCAAI,EAAE,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,SAAS,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,SAAS,CAAC;QAC5C,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,OAAO,CAAC;QAEhD,IAAI,CAAC,UAAU,GAAG,eAAK,CAAC,MAAM,CAAC;YAC7B,OAAO,EAAE;gBACP,cAAc,EAAE,GAAG,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,UAAU,gCAAgC,OAAO,EAAE;aAC5F;YACD,cAAc,EAAE,GAAG,EAAE,CAAC,IAAI;YAC1B,gBAAgB,EAAE;gBAChB,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,YAAE,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;aACvE;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;YAClD,IAAI,MAAM,CAAC,QAAQ,C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C,CAAC;QACX,CAAC;QACD,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAI,SAAS,CAAC,CAAC;QAEtD,IAAI,CAAC,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YACtC,OAAO,CAAC,CAAC;QACX,CAAC;QACD,MAAM,IAAI,uBAAa,CAAC,CAAC,CAAC,CAAC;IAC7B,CAAC;;AA3Fa,kBAAa,GAAG,0CAA0C,CAAC;AAE3D,qBAAgB,GAAG,kCAAkC,CAAC;kBAHjD,IAAI"}
@@ -27,6 +27,9 @@ interface AccountPhoneNumberInfo {
27
27
  * Required
28
28
  */
29
29
  usageType?: 'MainCompanyNumber' | 'DirectNumber' | 'Inventory' | 'InventoryPartnerBusinessMobileNumber' | 'PartnerBusinessMobileNumber' | 'AdditionalCompanyNumber' | 'CompanyNumber' | 'PhoneLine' | 'CompanyFaxNumber' | 'ForwardedNumber' | 'ForwardedCompanyNumber' | 'ContactCenterNumber' | 'ConferencingNumber' | 'MeetingsNumber' | 'BusinessMobileNumber' | 'ELIN';
30
+ /**
31
+ */
32
+ byocNumber?: boolean;
30
33
  /**
31
34
  * Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise, it is an external number not yet ported to RingCentral
32
35
  * Required
@@ -31,7 +31,7 @@ interface CompanyPhoneNumberInfo {
31
31
  * Payment type. 'External' is returned for forwarded numbers
32
32
  * which are not terminated in the RingCentral phone system
33
33
  */
34
- paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
34
+ paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider' | 'ExternalNumberProviderTollFree';
35
35
  /**
36
36
  * Phone number
37
37
  */
@@ -32,7 +32,7 @@ interface ContentModel {
32
32
  * Channel and max length
33
33
  * * Apple Messages For Business (max length 10000)
34
34
  * * Email (max length 262144)
35
- * * Engage Messaging (max length 1024)
35
+ * * RingCX Digital Messaging (max length 1024)
36
36
  * * Facebook (max length 8000)
37
37
  * * GoogleBusinessMessages (max length 3000)
38
38
  * * Google My Business (max length 4000)
@@ -6,7 +6,7 @@ interface ConversationalInsightsUnitValues {
6
6
  confidence?: number;
7
7
  /**
8
8
  * Required
9
- * Example: RingCentral MVP
9
+ * Example: RingCentral
10
10
  */
11
11
  value?: string;
12
12
  /**
@@ -16,7 +16,7 @@ interface CreateContentRequest {
16
16
  * Channel and max length
17
17
  * * Apple Messages For Business (max length 10000)
18
18
  * * Email (max length 262144)
19
- * * Engage Messaging (max length 1024)
19
+ * * RingCX Digital Messaging (max length 1024)
20
20
  * * Facebook (max length 8000)
21
21
  * * GoogleBusinessMessages (max length 3000)
22
22
  * * Google My Business (max length 4000)
@@ -100,7 +100,7 @@ interface IdentityModel {
100
100
  /**
101
101
  * Device info of the identity.
102
102
  *
103
- * Applicable to Engage Messaging channels only.
103
+ * Applicable to RingCX Digital Messaging channels only.
104
104
  * Example: iPhone (iPhone); iOS 15.0.2
105
105
  */
106
106
  mobileDeviceInfo?: string;
@@ -19,6 +19,11 @@ interface ListAccountPhoneNumbersParameters {
19
19
  * Usage type of phone number
20
20
  */
21
21
  usageType?: ('MainCompanyNumber' | 'AdditionalCompanyNumber' | 'CompanyNumber' | 'DirectNumber' | 'CompanyFaxNumber' | 'ForwardedNumber' | 'ForwardedCompanyNumber' | 'ContactCenterNumber' | 'ConferencingNumber' | 'MeetingsNumber' | 'BusinessMobileNumber' | 'PartnerBusinessMobileNumber' | 'IntegrationNumber')[];
22
+ /**
23
+ * Payment type. 'External' is returned for forwarded numbers
24
+ * which are not terminated in the RingCentral phone system
25
+ */
26
+ paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider' | 'ExternalNumberProviderTollFree';
22
27
  /**
23
28
  * Status of a phone number
24
29
  */
@@ -42,6 +42,10 @@ interface ListAccountPhoneNumbersV2Parameters {
42
42
  * Extension status
43
43
  */
44
44
  extensionStatus?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
45
+ /**
46
+ * The parameter reflects whether this number is BYOC or not
47
+ */
48
+ byocNumber?: boolean;
45
49
  /**
46
50
  * Phone number in e.164 format to be searched for.
47
51
  * Parameter value can include wildcards (e.g. "+165012345**")
@@ -13,5 +13,9 @@ interface MessageChanges {
13
13
  * Format: int32
14
14
  */
15
15
  updatedCount?: number;
16
+ /**
17
+ * Identifiers of the new messages, applicable for all message types
18
+ */
19
+ newMessageIds?: number[];
16
20
  }
17
21
  export default MessageChanges;
@@ -21,5 +21,10 @@ interface RegSessionModelSettings {
21
21
  * Indicates that work email address is required for registration.
22
22
  */
23
23
  workEmailRequired?: boolean;
24
+ /**
25
+ * Indicates that recording will be shown after the webinar and in emails.
26
+ * Default: true
27
+ */
28
+ viewRecording?: boolean;
24
29
  }
25
30
  export default RegSessionModelSettings;
@@ -7,9 +7,9 @@ interface SocMsgListIdentitiesParameters {
7
7
  */
8
8
  sourceId?: string;
9
9
  /**
10
- * Filter based on the specified identityGroupId.
10
+ * Filter based on the specified identityGroupIds (separated by commas).
11
11
  */
12
- identityGroupId?: string;
12
+ identityGroupIds?: string[];
13
13
  /**
14
14
  * Filter based on the specified userId.
15
15
  */
@@ -41,7 +41,7 @@ interface SubscriptionInfo {
41
41
  * Subscription status
42
42
  * Required
43
43
  */
44
- status?: 'Active' | 'Suspended' | 'Blacklisted';
44
+ status?: 'Active' | 'Blacklisted';
45
45
  /**
46
46
  * Subscription creation time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
47
47
  * format including timezone, for example *2016-03-10T18:07:52.534*
@@ -35,20 +35,20 @@ interface TMCreateEventRequest {
35
35
  */
36
36
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
37
37
  /**
38
- * Condition of ending
38
+ * Condition of ending an event
39
39
  */
40
- endingCondition?: string;
40
+ endingCondition?: 'None' | 'Count' | 'Date';
41
41
  /**
42
- * Count of iterations. For periodic events only. Value range
43
- * is 1 - 10. Must be specified if `endingCondition` is `Count`
42
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
43
+ * Must be specified if `endingCondition` is `Count`
44
44
  * Format: int32
45
45
  */
46
46
  endingAfter?: number;
47
47
  /**
48
- * Iterations end datetime for periodic events.
49
- * Default: None
48
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
49
+ * Format: date-time
50
50
  */
51
- endingOn?: 'None' | 'Count' | 'Date';
51
+ endingOn?: string;
52
52
  /**
53
53
  * Color of Event title (including its presentation in Calendar)
54
54
  * Default: Black
@@ -10,14 +10,14 @@ interface TMCreateTaskRequestRecurrence {
10
10
  */
11
11
  endingCondition?: 'None' | 'Count' | 'Date';
12
12
  /**
13
- * Count of iterations of periodic tasks.
13
+ * Count of iterations of periodic tasks
14
14
  * Maximum: 10
15
15
  * Minimum: 1
16
16
  * Format: int32
17
17
  */
18
18
  endingAfter?: number;
19
19
  /**
20
- * The end date of periodic task in UTC time zone.
20
+ * End date of a periodic task in UTC time zone
21
21
  * Format: date-time
22
22
  */
23
23
  endingOn?: string;
@@ -30,19 +30,20 @@ interface TMEventInfo {
30
30
  */
31
31
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
32
32
  /**
33
- * Condition of ending
33
+ * Condition of ending an event
34
34
  */
35
- endingCondition?: string;
35
+ endingCondition?: 'None' | 'Count' | 'Date';
36
36
  /**
37
- * Count of iterations. For periodic events only
37
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
38
+ * Must be specified if `endingCondition` is `Count`
38
39
  * Format: int32
39
40
  */
40
41
  endingAfter?: number;
41
42
  /**
42
- * Iterations end datetime for periodic events
43
- * Default: None
43
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
44
+ * Format: date-time
44
45
  */
45
- endingOn?: 'None' | 'Count' | 'Date';
46
+ endingOn?: string;
46
47
  /**
47
48
  * Color of Event title (including its presentation in Calendar)
48
49
  * Default: Black
@@ -70,19 +70,20 @@ interface TMMessageAttachmentInfo {
70
70
  */
71
71
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
72
72
  /**
73
- * Condition of ending
73
+ * Condition of ending an event
74
74
  */
75
- endingCondition?: string;
75
+ endingCondition?: 'None' | 'Count' | 'Date';
76
76
  /**
77
- * Count of iterations. For periodic events only
77
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
78
+ * Must be specified if `endingCondition` is `Count`
78
79
  * Format: int32
79
80
  */
80
81
  endingAfter?: number;
81
82
  /**
82
- * Iterations end datetime for periodic events
83
- * Default: None
83
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
84
+ * Format: date-time
84
85
  */
85
- endingOn?: 'None' | 'Count' | 'Date';
86
+ endingOn?: string;
86
87
  /**
87
88
  * Color of Event title, including its presentation in Calendar; or the color of the side border of an interactive message of a Card
88
89
  * Default: Black
@@ -73,7 +73,7 @@ interface TMTaskInfo {
73
73
  */
74
74
  description?: string;
75
75
  /**
76
- * Task details.
76
+ * Task details
77
77
  */
78
78
  recurrence?: TMTaskInfoRecurrence;
79
79
  /**
@@ -15,7 +15,7 @@ interface TMTaskInfoRecurrence {
15
15
  */
16
16
  endingAfter?: number;
17
17
  /**
18
- * End date of periodic task
18
+ * End date of a periodic task in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
19
19
  * Format: date-time
20
20
  */
21
21
  endingOn?: string;
@@ -5,7 +5,7 @@ interface TMUpdateTaskRequestRecurrence {
5
5
  */
6
6
  schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
7
  /**
8
- * Task ending condition.
8
+ * Task ending condition
9
9
  */
10
10
  endingCondition?: 'None' | 'Count' | 'Date';
11
11
  /**
@@ -16,7 +16,7 @@ interface TMUpdateTaskRequestRecurrence {
16
16
  */
17
17
  endingAfter?: number;
18
18
  /**
19
- * The end date of periodic task in UTC time zone
19
+ * End date of a periodic task in UTC time zone
20
20
  * Format: date-time
21
21
  */
22
22
  endingOn?: string;
@@ -33,7 +33,7 @@ interface UserPhoneNumberInfo {
33
33
  * Payment type. 'External' is returned for forwarded numbers
34
34
  * which are not terminated in the RingCentral phone system
35
35
  */
36
- paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
36
+ paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider' | 'ExternalNumberProviderTollFree';
37
37
  /**
38
38
  * Phone number
39
39
  */
@@ -7,8 +7,9 @@ import type MessageAttachmentInfo from './MessageAttachmentInfo';
7
7
  interface VoicemailMessageEventBody {
8
8
  /**
9
9
  * Internal identifier of a message
10
+ * Format: int64
10
11
  */
11
- id?: string;
12
+ id?: number;
12
13
  /**
13
14
  * Message receiver(s) information
14
15
  */
@@ -71,12 +72,9 @@ interface VoicemailMessageEventBody {
71
72
  */
72
73
  messageStatus?: 'Queued' | 'Sent' | 'Delivered' | 'DeliveryFailed' | 'SendingFailed' | 'Received';
73
74
  /**
74
- * Internal identifier of a conversation this message belongs to
75
+ * Status of a voicemail to text transcription. Specifies if a voicemail message transcription is already completed or not
76
+ * If 'VoicemailToText' feature is not activated for account, the 'NotAvailable' value is returned
75
77
  */
76
- conversationId?: string;
77
- /**
78
- * Specifies if a voicemail message transcription is already completed or not
79
- */
80
- vmTranscriptionStatus?: string;
78
+ vmTranscriptionStatus?: 'NotAvailable' | 'InProgress' | 'TimedOut' | 'Completed' | 'CompletedPartially' | 'Failed' | 'Unknown';
81
79
  }
82
80
  export default VoicemailMessageEventBody;
@@ -6,7 +6,9 @@ declare class Index {
6
6
  constructor(_parent: ParentInterface);
7
7
  path(): string;
8
8
  /**
9
- * Deletes company call recordings by their IDs.
9
+ * Deletes company call recordings by their IDs. *Please note:* This method deletes the recording file itself,
10
+ * not the record of it in the call log.
11
+ *
10
12
  * HTTP Method: delete
11
13
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/call-recordings
12
14
  * Rate Limit Group: Heavy
@@ -9,7 +9,9 @@ class Index {
9
9
  return `${this._parent.path()}/call-recordings`;
10
10
  }
11
11
  /**
12
- * Deletes company call recordings by their IDs.
12
+ * Deletes company call recordings by their IDs. *Please note:* This method deletes the recording file itself,
13
+ * not the record of it in the call log.
14
+ *
13
15
  * HTTP Method: delete
14
16
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/call-recordings
15
17
  * Rate Limit Group: Heavy
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/CallRecordings/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClD,CAAC;IACD;;;;;;;OAOG;IACI,KAAK,CAAC,MAAM,CAAC,gBAAkC,EAAE,iBAAqC;QAC3F,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/paths/Restapi/Account/CallRecordings/index.ts"],"names":[],"mappings":";;AAGA,MAAM,KAAK;IAIT,YAAmB,OAAwB;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACvB,CAAC;IACM,IAAI;QACT,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClD,CAAC;IACD;;;;;;;;;OASG;IACI,KAAK,CAAC,MAAM,CAAC,gBAAkC,EAAE,iBAAqC;QAC3F,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,EAAE,CAAC,MAAM,CAAS,IAAI,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;QACpG,OAAO,CAAC,CAAC,IAAI,CAAC;IAChB,CAAC;CACF;AACD,kBAAe,KAAK,CAAC"}
@@ -30,7 +30,7 @@ declare class Index {
30
30
  */
31
31
  post(emergencyLocationInfoRequest: EmergencyLocationInfoRequest, restRequestConfig?: RestRequestConfig): Promise<CommonEmergencyLocationResource>;
32
32
  /**
33
- * Returns emergency response location by ID.
33
+ * Returns emergency response location by ID. Available for Admin users only.
34
34
  * HTTP Method: get
35
35
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId}
36
36
  * Rate Limit Group: Light
@@ -37,7 +37,7 @@ class Index {
37
37
  return r.data;
38
38
  }
39
39
  /**
40
- * Returns emergency response location by ID.
40
+ * Returns emergency response location by ID. Available for Admin users only.
41
41
  * HTTP Method: get
42
42
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId}
43
43
  * Rate Limit Group: Light
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rc-ex/core",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
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",
@@ -30,5 +30,5 @@
30
30
  "scripts": {
31
31
  "generate": "ts-node -r dotenv-override-true/config code-generator.ts"
32
32
  },
33
- "gitHead": "907daa7cbb4bb0aa988b6938ca3618c1c060d9d5"
33
+ "gitHead": "ee58ff317cb8e6b16048911a95233d225e26d76c"
34
34
  }
package/src/Rest.ts CHANGED
@@ -74,7 +74,11 @@ export default class Rest {
74
74
  ...config,
75
75
  };
76
76
  // /restapi/oauth/wstoken uses bearer token
77
- if (endpoint === '/restapi/oauth/token' || endpoint === '/restapi/oauth/revoke') {
77
+ if (
78
+ endpoint === '/restapi/oauth/token' ||
79
+ endpoint === '/restapi/oauth/revoke' ||
80
+ endpoint === '/restapi/oauth/initiate-otp'
81
+ ) {
78
82
  if (this.clientSecret) {
79
83
  // basic token
80
84
  newConfig.auth = {
@@ -49,6 +49,10 @@ interface AccountPhoneNumberInfo {
49
49
  | 'BusinessMobileNumber'
50
50
  | 'ELIN';
51
51
 
52
+ /**
53
+ */
54
+ byocNumber?: boolean;
55
+
52
56
  /**
53
57
  * Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise, it is an external number not yet ported to RingCentral
54
58
  * Required
@@ -38,7 +38,13 @@ interface CompanyPhoneNumberInfo {
38
38
  * Payment type. 'External' is returned for forwarded numbers
39
39
  * which are not terminated in the RingCentral phone system
40
40
  */
41
- paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
41
+ paymentType?:
42
+ | 'External'
43
+ | 'TollFree'
44
+ | 'Local'
45
+ | 'BusinessMobileNumberProvider'
46
+ | 'ExternalNumberProvider'
47
+ | 'ExternalNumberProviderTollFree';
42
48
 
43
49
  /**
44
50
  * Phone number
@@ -36,7 +36,7 @@ interface ContentModel {
36
36
  * Channel and max length
37
37
  * * Apple Messages For Business (max length 10000)
38
38
  * * Email (max length 262144)
39
- * * Engage Messaging (max length 1024)
39
+ * * RingCX Digital Messaging (max length 1024)
40
40
  * * Facebook (max length 8000)
41
41
  * * GoogleBusinessMessages (max length 3000)
42
42
  * * Google My Business (max length 4000)
@@ -7,7 +7,7 @@ interface ConversationalInsightsUnitValues {
7
7
 
8
8
  /**
9
9
  * Required
10
- * Example: RingCentral MVP
10
+ * Example: RingCentral
11
11
  */
12
12
  value?: string;
13
13
 
@@ -18,7 +18,7 @@ interface CreateContentRequest {
18
18
  * Channel and max length
19
19
  * * Apple Messages For Business (max length 10000)
20
20
  * * Email (max length 262144)
21
- * * Engage Messaging (max length 1024)
21
+ * * RingCX Digital Messaging (max length 1024)
22
22
  * * Facebook (max length 8000)
23
23
  * * GoogleBusinessMessages (max length 3000)
24
24
  * * Google My Business (max length 4000)
@@ -131,7 +131,7 @@ interface IdentityModel {
131
131
  /**
132
132
  * Device info of the identity.
133
133
  *
134
- * Applicable to Engage Messaging channels only.
134
+ * Applicable to RingCX Digital Messaging channels only.
135
135
  * Example: iPhone (iPhone); iOS 15.0.2
136
136
  */
137
137
  mobileDeviceInfo?: string;
@@ -36,6 +36,18 @@ interface ListAccountPhoneNumbersParameters {
36
36
  | 'IntegrationNumber'
37
37
  )[];
38
38
 
39
+ /**
40
+ * Payment type. 'External' is returned for forwarded numbers
41
+ * which are not terminated in the RingCentral phone system
42
+ */
43
+ paymentType?:
44
+ | 'External'
45
+ | 'TollFree'
46
+ | 'Local'
47
+ | 'BusinessMobileNumberProvider'
48
+ | 'ExternalNumberProvider'
49
+ | 'ExternalNumberProviderTollFree';
50
+
39
51
  /**
40
52
  * Status of a phone number
41
53
  */
@@ -66,6 +66,11 @@ interface ListAccountPhoneNumbersV2Parameters {
66
66
  */
67
67
  extensionStatus?: 'Enabled' | 'Disabled' | 'Frozen' | 'NotActivated' | 'Unassigned';
68
68
 
69
+ /**
70
+ * The parameter reflects whether this number is BYOC or not
71
+ */
72
+ byocNumber?: boolean;
73
+
69
74
  /**
70
75
  * Phone number in e.164 format to be searched for.
71
76
  * Parameter value can include wildcards (e.g. "+165012345**")
@@ -15,6 +15,11 @@ interface MessageChanges {
15
15
  * Format: int32
16
16
  */
17
17
  updatedCount?: number;
18
+
19
+ /**
20
+ * Identifiers of the new messages, applicable for all message types
21
+ */
22
+ newMessageIds?: number[];
18
23
  }
19
24
 
20
25
  export default MessageChanges;
@@ -25,6 +25,12 @@ interface RegSessionModelSettings {
25
25
  * Indicates that work email address is required for registration.
26
26
  */
27
27
  workEmailRequired?: boolean;
28
+
29
+ /**
30
+ * Indicates that recording will be shown after the webinar and in emails.
31
+ * Default: true
32
+ */
33
+ viewRecording?: boolean;
28
34
  }
29
35
 
30
36
  export default RegSessionModelSettings;
@@ -8,9 +8,9 @@ interface SocMsgListIdentitiesParameters {
8
8
  sourceId?: string;
9
9
 
10
10
  /**
11
- * Filter based on the specified identityGroupId.
11
+ * Filter based on the specified identityGroupIds (separated by commas).
12
12
  */
13
- identityGroupId?: string;
13
+ identityGroupIds?: string[];
14
14
 
15
15
  /**
16
16
  * Filter based on the specified userId.
@@ -48,7 +48,7 @@ interface SubscriptionInfo {
48
48
  * Subscription status
49
49
  * Required
50
50
  */
51
- status?: 'Active' | 'Suspended' | 'Blacklisted';
51
+ status?: 'Active' | 'Blacklisted';
52
52
 
53
53
  /**
54
54
  * Subscription creation time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
@@ -42,22 +42,22 @@ interface TMCreateEventRequest {
42
42
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
43
43
 
44
44
  /**
45
- * Condition of ending
45
+ * Condition of ending an event
46
46
  */
47
- endingCondition?: string;
47
+ endingCondition?: 'None' | 'Count' | 'Date';
48
48
 
49
49
  /**
50
- * Count of iterations. For periodic events only. Value range
51
- * is 1 - 10. Must be specified if `endingCondition` is `Count`
50
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
51
+ * Must be specified if `endingCondition` is `Count`
52
52
  * Format: int32
53
53
  */
54
54
  endingAfter?: number;
55
55
 
56
56
  /**
57
- * Iterations end datetime for periodic events.
58
- * Default: None
57
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
58
+ * Format: date-time
59
59
  */
60
- endingOn?: 'None' | 'Count' | 'Date';
60
+ endingOn?: string;
61
61
 
62
62
  /**
63
63
  * Color of Event title (including its presentation in Calendar)
@@ -12,7 +12,7 @@ interface TMCreateTaskRequestRecurrence {
12
12
  endingCondition?: 'None' | 'Count' | 'Date';
13
13
 
14
14
  /**
15
- * Count of iterations of periodic tasks.
15
+ * Count of iterations of periodic tasks
16
16
  * Maximum: 10
17
17
  * Minimum: 1
18
18
  * Format: int32
@@ -20,7 +20,7 @@ interface TMCreateTaskRequestRecurrence {
20
20
  endingAfter?: number;
21
21
 
22
22
  /**
23
- * The end date of periodic task in UTC time zone.
23
+ * End date of a periodic task in UTC time zone
24
24
  * Format: date-time
25
25
  */
26
26
  endingOn?: string;
@@ -37,21 +37,22 @@ interface TMEventInfo {
37
37
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
38
38
 
39
39
  /**
40
- * Condition of ending
40
+ * Condition of ending an event
41
41
  */
42
- endingCondition?: string;
42
+ endingCondition?: 'None' | 'Count' | 'Date';
43
43
 
44
44
  /**
45
- * Count of iterations. For periodic events only
45
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
46
+ * Must be specified if `endingCondition` is `Count`
46
47
  * Format: int32
47
48
  */
48
49
  endingAfter?: number;
49
50
 
50
51
  /**
51
- * Iterations end datetime for periodic events
52
- * Default: None
52
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
53
+ * Format: date-time
53
54
  */
54
- endingOn?: 'None' | 'Count' | 'Date';
55
+ endingOn?: string;
55
56
 
56
57
  /**
57
58
  * Color of Event title (including its presentation in Calendar)
@@ -87,21 +87,22 @@ interface TMMessageAttachmentInfo {
87
87
  recurrence?: 'None' | 'Day' | 'Weekday' | 'Week' | 'Month' | 'Year';
88
88
 
89
89
  /**
90
- * Condition of ending
90
+ * Condition of ending an event
91
91
  */
92
- endingCondition?: string;
92
+ endingCondition?: 'None' | 'Count' | 'Date';
93
93
 
94
94
  /**
95
- * Count of iterations. For periodic events only
95
+ * Count of event iterations. For periodic events only. Value range is 1 - 10.
96
+ * Must be specified if `endingCondition` is `Count`
96
97
  * Format: int32
97
98
  */
98
99
  endingAfter?: number;
99
100
 
100
101
  /**
101
- * Iterations end datetime for periodic events
102
- * Default: None
102
+ * Iterations ending datetime for periodic events in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
103
+ * Format: date-time
103
104
  */
104
- endingOn?: 'None' | 'Count' | 'Date';
105
+ endingOn?: string;
105
106
 
106
107
  /**
107
108
  * Color of Event title, including its presentation in Calendar; or the color of the side border of an interactive message of a Card
@@ -90,7 +90,7 @@ interface TMTaskInfo {
90
90
  description?: string;
91
91
 
92
92
  /**
93
- * Task details.
93
+ * Task details
94
94
  */
95
95
  recurrence?: TMTaskInfoRecurrence;
96
96
 
@@ -18,7 +18,7 @@ interface TMTaskInfoRecurrence {
18
18
  endingAfter?: number;
19
19
 
20
20
  /**
21
- * End date of periodic task
21
+ * End date of a periodic task in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
22
22
  * Format: date-time
23
23
  */
24
24
  endingOn?: string;
@@ -6,7 +6,7 @@ interface TMUpdateTaskRequestRecurrence {
6
6
  schedule?: 'None' | 'Daily' | 'Weekdays' | 'Weekly' | 'Monthly' | 'Yearly';
7
7
 
8
8
  /**
9
- * Task ending condition.
9
+ * Task ending condition
10
10
  */
11
11
  endingCondition?: 'None' | 'Count' | 'Date';
12
12
 
@@ -19,7 +19,7 @@ interface TMUpdateTaskRequestRecurrence {
19
19
  endingAfter?: number;
20
20
 
21
21
  /**
22
- * The end date of periodic task in UTC time zone
22
+ * End date of a periodic task in UTC time zone
23
23
  * Format: date-time
24
24
  */
25
25
  endingOn?: string;
@@ -41,7 +41,13 @@ interface UserPhoneNumberInfo {
41
41
  * Payment type. 'External' is returned for forwarded numbers
42
42
  * which are not terminated in the RingCentral phone system
43
43
  */
44
- paymentType?: 'External' | 'TollFree' | 'Local' | 'BusinessMobileNumberProvider' | 'ExternalNumberProvider';
44
+ paymentType?:
45
+ | 'External'
46
+ | 'TollFree'
47
+ | 'Local'
48
+ | 'BusinessMobileNumberProvider'
49
+ | 'ExternalNumberProvider'
50
+ | 'ExternalNumberProviderTollFree';
45
51
 
46
52
  /**
47
53
  * Phone number
@@ -8,8 +8,9 @@ import type MessageAttachmentInfo from './MessageAttachmentInfo';
8
8
  interface VoicemailMessageEventBody {
9
9
  /**
10
10
  * Internal identifier of a message
11
+ * Format: int64
11
12
  */
12
- id?: string;
13
+ id?: number;
13
14
 
14
15
  /**
15
16
  * Message receiver(s) information
@@ -85,14 +86,17 @@ interface VoicemailMessageEventBody {
85
86
  messageStatus?: 'Queued' | 'Sent' | 'Delivered' | 'DeliveryFailed' | 'SendingFailed' | 'Received';
86
87
 
87
88
  /**
88
- * Internal identifier of a conversation this message belongs to
89
+ * Status of a voicemail to text transcription. Specifies if a voicemail message transcription is already completed or not
90
+ * If 'VoicemailToText' feature is not activated for account, the 'NotAvailable' value is returned
89
91
  */
90
- conversationId?: string;
91
-
92
- /**
93
- * Specifies if a voicemail message transcription is already completed or not
94
- */
95
- vmTranscriptionStatus?: string;
92
+ vmTranscriptionStatus?:
93
+ | 'NotAvailable'
94
+ | 'InProgress'
95
+ | 'TimedOut'
96
+ | 'Completed'
97
+ | 'CompletedPartially'
98
+ | 'Failed'
99
+ | 'Unknown';
96
100
  }
97
101
 
98
102
  export default VoicemailMessageEventBody;
@@ -13,7 +13,9 @@ class Index {
13
13
  return `${this._parent.path()}/call-recordings`;
14
14
  }
15
15
  /**
16
- * Deletes company call recordings by their IDs.
16
+ * Deletes company call recordings by their IDs. *Please note:* This method deletes the recording file itself,
17
+ * not the record of it in the call log.
18
+ *
17
19
  * HTTP Method: delete
18
20
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/call-recordings
19
21
  * Rate Limit Group: Heavy
@@ -60,7 +60,7 @@ class Index {
60
60
  }
61
61
 
62
62
  /**
63
- * Returns emergency response location by ID.
63
+ * Returns emergency response location by ID. Available for Admin users only.
64
64
  * HTTP Method: get
65
65
  * Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId}
66
66
  * Rate Limit Group: Light
package/src/samples.md CHANGED
@@ -8505,7 +8505,7 @@ await rc.revoke();
8505
8505
  - `analyticsCallsAggregationFetchParameters` is of type [AnalyticsCallsAggregationFetchParameters](./definitions/AnalyticsCallsAggregationFetchParameters.ts)
8506
8506
  - `result` is of type [AggregationResponse](./definitions/AggregationResponse.ts)
8507
8507
 
8508
- [Try it out](https://developer.ringcentral.com/api-reference#Line-Of-Business-Analytics-analyticsCallsAggregationFetch) in API Explorer.
8508
+ [Try it out](https://developer.ringcentral.com/api-reference#Business-Analytics-analyticsCallsAggregationFetch) in API Explorer.
8509
8509
 
8510
8510
  ## analyticsCallsTimelineFetch
8511
8511
 
@@ -8537,7 +8537,7 @@ await rc.revoke();
8537
8537
  - `analyticsCallsTimelineFetchParameters` is of type [AnalyticsCallsTimelineFetchParameters](./definitions/AnalyticsCallsTimelineFetchParameters.ts)
8538
8538
  - `result` is of type [TimelineResponse](./definitions/TimelineResponse.ts)
8539
8539
 
8540
- [Try it out](https://developer.ringcentral.com/api-reference#Line-Of-Business-Analytics-analyticsCallsTimelineFetch) in API Explorer.
8540
+ [Try it out](https://developer.ringcentral.com/api-reference#Business-Analytics-analyticsCallsTimelineFetch) in API Explorer.
8541
8541
 
8542
8542
  ## socMsgAnonymizeIdentity
8543
8543