@signalhouse-sms/sdk 1.9.0 → 1.11.0
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/package.json +1 -1
- package/src/domains/Agents.js +1 -0
- package/src/domains/Messages.js +61 -33
- package/src/domains/Numbers.js +3 -2
- package/src/domains/Rcs.js +192 -7
- package/src/domains/Registrations.js +3 -2
- package/src/domains/Templates.js +13 -4
- package/types/domains/Agents.d.ts +8 -0
- package/types/domains/Messages.d.ts +60 -33
- package/types/domains/Numbers.d.ts +3 -1
- package/types/domains/Rcs.d.ts +272 -7
- package/types/domains/Registrations.d.ts +3 -2
- package/types/domains/Templates.d.ts +50 -7
package/src/domains/Templates.js
CHANGED
|
@@ -102,6 +102,11 @@
|
|
|
102
102
|
* @property {ValidationIssue[]} warnings - Non-blocking warnings
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* @typedef {TemplateDetail & { validation: { valid: boolean, errors: ValidationIssue[], warnings: ValidationIssue[] }|null }} SavedTemplate
|
|
107
|
+
* What a save returns: the template, and what would stop it publishing. `validation` is null when the checks could not run.
|
|
108
|
+
*/
|
|
109
|
+
|
|
105
110
|
/**
|
|
106
111
|
* @typedef {Object} MediaAsset
|
|
107
112
|
* @property {string} mediaId - "MED" + 10 characters
|
|
@@ -128,7 +133,11 @@
|
|
|
128
133
|
* @property {string[]} trafficTypes - Allowed traffic types
|
|
129
134
|
* @property {string[]} cardWidths - Allowed carousel card widths
|
|
130
135
|
* @property {string[]} mediaHeights - Allowed card media heights
|
|
131
|
-
* @property {Object<string, number>} limits - Length and count limits (maxBlocks, maxTextLength, maxCarouselCards, ...)
|
|
136
|
+
* @property {Object<string, number>} limits - Length and count limits (maxBlocks, maxTextLength, maxCarouselCards, maxRecipients, ...)
|
|
137
|
+
* @property {Object<string, { seconds: number, min: number, max: number }>} ttlPresets - Per traffic type: the default time to live and its range, in seconds
|
|
138
|
+
* @property {Object<string, string[]>} trafficByUseCase - The traffic types each agent use case may send
|
|
139
|
+
* @property {Object<string, string>} defaultTrafficByUseCase - The traffic type a single-purpose agent sends when a request names none
|
|
140
|
+
* @property {{ cardButtonsInline: number, suggestedActionsInline: number, linesPerField: number, charsPerLine: number }} ios - How an iPhone lays out RCS content
|
|
132
141
|
* @property {{ maxUploadBytes: number, mimeTypes: string[] }} media - Upload constraints
|
|
133
142
|
* @property {{ available: boolean }} geocoding - Whether this server resolves VIEW_LOCATION addresses (geocodeAddress answers 503 when false)
|
|
134
143
|
* @property {{ provider: "infobip"|"sinch", adapterVersion: string, limits: Object<string, number>, unsupported: Array<{ feature: string, code: string, message: string }> }|null} provider - Provider-specific limits when a provider was requested
|
|
@@ -222,7 +231,7 @@ export class Templates {
|
|
|
222
231
|
* @param {string} [params.tag] - Tag (1-60 characters)
|
|
223
232
|
* @param {RcsTemplateBody} params.body - The raw template body
|
|
224
233
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
225
|
-
* @returns {Promise<SdkResponse<
|
|
234
|
+
* @returns {Promise<SdkResponse<SavedTemplate>>} A promise that resolves to { head, version, validation } (201). The draft saves even when validation lists errors
|
|
226
235
|
*/
|
|
227
236
|
async create({ groupId, name, tag, body, options = {} }) {
|
|
228
237
|
this.client._require({ groupId, name, body });
|
|
@@ -285,7 +294,7 @@ export class Templates {
|
|
|
285
294
|
* @param {string|null} [params.tag] - New tag; null clears it, omitted leaves it unchanged
|
|
286
295
|
* @param {RcsTemplateBody} [params.body] - Full replacement body
|
|
287
296
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
288
|
-
* @returns {Promise<SdkResponse<
|
|
297
|
+
* @returns {Promise<SdkResponse<SavedTemplate>>} A promise that resolves to { head, version, validation }. The draft saves even when validation lists errors
|
|
289
298
|
*/
|
|
290
299
|
async update({ templateId, groupId, name, tag, body, options = {} }) {
|
|
291
300
|
this.client._require({ templateId, groupId });
|
|
@@ -305,7 +314,7 @@ export class Templates {
|
|
|
305
314
|
* @param {string} params.templateId - The template ID
|
|
306
315
|
* @param {string} params.groupId - The owning group
|
|
307
316
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
308
|
-
* @returns {Promise<SdkResponse<TemplateDetail>>} A promise that resolves to { head, version } for the published version
|
|
317
|
+
* @returns {Promise<SdkResponse<TemplateDetail & { warnings: ValidationIssue[] }>>} A promise that resolves to { head, version, warnings } for the published version
|
|
309
318
|
*/
|
|
310
319
|
async publish({ templateId, groupId, options = {} }) {
|
|
311
320
|
this.client._require({ templateId, groupId });
|
|
@@ -148,6 +148,7 @@
|
|
|
148
148
|
* @property {number|null} [maxCallDurationSeconds] - Hard ceiling on one conversation (60-7200).
|
|
149
149
|
* @property {boolean} [allowGreetingInterruption] - Whether a caller may talk over the greeting.
|
|
150
150
|
* @property {string[]} [keyterms] - Words the transcriber is biased toward — names, jargon, unusual spellings.
|
|
151
|
+
* @property {Array<{kind: string, detail?: string|null}>} [allowedCommitments] - SMS channel only: the "a person will..." promises the agent may send on autopilot. Each `kind` is one of "confirm_booking", "call_back", "text_back", "follow_up", "hold_slot" or "send_reminder", listed at most once; `detail` (up to 200 characters) is shown to staff. Any other promise is held for review. Sending a non-empty list on webchat or voice is a 400.
|
|
151
152
|
* @property {Object|null} [backgroundSound] - Ambient audio bed as `{ preset, volume }`; null = silence.
|
|
152
153
|
* @property {AgentWorkflow|null} [workflow] - Conversation workflow graph. Voice channel only — sending one on webchat or sms is a 400. null = no workflow.
|
|
153
154
|
*/
|
|
@@ -1465,6 +1466,13 @@ export type AgentChannelSettingData = {
|
|
|
1465
1466
|
* - Words the transcriber is biased toward — names, jargon, unusual spellings.
|
|
1466
1467
|
*/
|
|
1467
1468
|
keyterms?: string[];
|
|
1469
|
+
/**
|
|
1470
|
+
* - SMS channel only: the "a person will..." promises the agent may send on autopilot. Each `kind` is one of "confirm_booking", "call_back", "text_back", "follow_up", "hold_slot" or "send_reminder", listed at most once; `detail` (up to 200 characters) is shown to staff. Any other promise is held for review. Sending a non-empty list on webchat or voice is a 400.
|
|
1471
|
+
*/
|
|
1472
|
+
allowedCommitments?: Array<{
|
|
1473
|
+
kind: string;
|
|
1474
|
+
detail?: string | null;
|
|
1475
|
+
}>;
|
|
1468
1476
|
/**
|
|
1469
1477
|
* - Ambient audio bed as `{ preset, volume }`; null = silence.
|
|
1470
1478
|
*/
|
|
@@ -25,12 +25,12 @@ export class Messages {
|
|
|
25
25
|
* @param {string} [params.subgroupId] - Filter messages by the ID of the associated subgroup
|
|
26
26
|
* @param {string} [params.groupId] - Filter messages by the ID of the associated group
|
|
27
27
|
* @param {string|string[]} [params.registrationId] - Filter to messages attributed to these registrations. Cannot be combined with campaignId; each id must belong to the group. Accepts a single value or an array.
|
|
28
|
-
* @param {string} [params.status] - Filter messages by their status (ENQUEUED, DEQUEUED, SENT, FAILED, DELIVERED)
|
|
28
|
+
* @param {string} [params.status] - Filter messages by their status (ENQUEUED, DEQUEUED, SENT, FAILED, DELIVERED; RCS messages also READ, EXPIRED, FALLBACK, BLOCKED)
|
|
29
29
|
* @param {string} [params.direction] - Filter messages by their direction (INBOUND, OUTBOUND)
|
|
30
30
|
* @param {string|string[]} [params.messageType] - Filter messages by their type. Accepts a single value or an array (e.g. ["SMS", "MMS"]). Allowed values: SMS, MMS, RCS, WHATSAPP, VIBER, P2P. When omitted, defaults to all non-P2P types.
|
|
31
|
-
* @param {string|string[]} [params.channel] - Filter messages by channel. Accepts a single value or an array. Allowed values: tenDLC, virtualLongCode, tollFree, shortCode, p2p. Each message records its channel when it is saved, and this filters on that stored value; older messages from before this feature have no channel and count as tenDLC. Ignored when matchAny is true (matchAny takes precedence).
|
|
32
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
33
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
31
|
+
* @param {string|string[]} [params.channel] - Filter messages by channel. Accepts a single value or an array. Allowed values: tenDLC, virtualLongCode, tollFree, shortCode, p2p, rcs. Each message records its channel when it is saved, and this filters on that stored value; older messages from before this feature have no channel and count as tenDLC. Ignored when matchAny is true (matchAny takes precedence).
|
|
32
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
33
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
34
34
|
* @param {boolean} [params.matchAny] - When true, the provided campaignId/brandId/phoneNumber filters are OR'd (a message matches ANY of them) instead of the default most-specific-single behavior. subgroupId stays an AND scope. Opt-in/additive.
|
|
35
35
|
* @param {string} [params.carrier] - Filter messages by the carrier used for sending
|
|
36
36
|
* @param {string|string[]} [params.sentimentLabel] - Filter messages by sentiment bucket. Accepts a single value or an array (e.g. ["positive", "negative"]). Allowed values: positive, neutral, negative. Applied as the sentimentScore range the ±25 label threshold produces, so unscored messages match no bucket and outbound messages (never scored) are excluded.
|
|
@@ -45,12 +45,19 @@ export class Messages {
|
|
|
45
45
|
* @param {number} [params.page] - The page number for pagination
|
|
46
46
|
* @param {number} [params.limit] - The number of messages per page
|
|
47
47
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
48
|
+
* @param {string} [params.templateId] - RCS messages sent from this template
|
|
49
|
+
* @param {number} [params.templateVersion] - RCS messages sent from this template version
|
|
50
|
+
* @param {string} [params.bulkId] - The RCS messages of one send
|
|
51
|
+
* @param {string} [params.fallbackReason] - Why an RCS message ran its fallback (NOT_CAPABLE, CARRIER_NOT_LAUNCHED, TTL_EXPIRED, RCS_ERROR, PROVIDER_ERROR, SMS_ONLY)
|
|
52
|
+
* @param {string} [params.billingClass] - Filter by RCS billing class (RICH, RICH_MEDIA)
|
|
53
|
+
* @param {string} [params.deliveredChannel] - Filter by the channel that delivered an RCS message (rcs, sms, mms)
|
|
54
|
+
* @param {boolean} [params.isTest] - true for RCS test messages only, false to leave them out
|
|
48
55
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
49
56
|
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to the list of messages. Inbound messages also carry
|
|
50
57
|
* sentimentScore (-100..100, null when unscored), sentimentLabel ("positive"|"neutral"|"negative", null when
|
|
51
58
|
* sentimentScore is null) and sentimentScoredAt. Outbound messages are never scored.
|
|
52
59
|
*/
|
|
53
|
-
getMessages({ id, campaignId, brandId, subgroupId, groupId, registrationId, phoneNumber, senderPhoneNumber, recipientPhoneNumber, status, direction, messageType, channel, region, regionScopes, matchAny, carrier, sentimentLabel, errorCode, startDate, endDate, sortField, sortOrder, page, limit, dateBounds, options, }: {
|
|
60
|
+
getMessages({ id, campaignId, brandId, subgroupId, groupId, registrationId, phoneNumber, senderPhoneNumber, recipientPhoneNumber, status, direction, messageType, channel, region, regionScopes, matchAny, carrier, sentimentLabel, errorCode, startDate, endDate, sortField, sortOrder, page, limit, dateBounds, templateId, templateVersion, bulkId, fallbackReason, billingClass, deliveredChannel, isTest, options, }: {
|
|
54
61
|
id?: string;
|
|
55
62
|
campaignId?: string;
|
|
56
63
|
brandId?: string;
|
|
@@ -77,6 +84,27 @@ export class Messages {
|
|
|
77
84
|
page?: number;
|
|
78
85
|
limit?: number;
|
|
79
86
|
dateBounds?: ("day" | "exact");
|
|
87
|
+
templateId?: string;
|
|
88
|
+
templateVersion?: number;
|
|
89
|
+
bulkId?: string;
|
|
90
|
+
fallbackReason?: string;
|
|
91
|
+
billingClass?: string;
|
|
92
|
+
deliveredChannel?: string;
|
|
93
|
+
isTest?: boolean;
|
|
94
|
+
options?: RequestOptions;
|
|
95
|
+
}): Promise<SdkResponse<any>>;
|
|
96
|
+
/**
|
|
97
|
+
* Get one message of any type by its ID
|
|
98
|
+
* @async
|
|
99
|
+
* @roles api, admin, developer, billing, user
|
|
100
|
+
* @param {Object} params - The parameters for getting a message
|
|
101
|
+
* @param {string} params.id - The message ID
|
|
102
|
+
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
103
|
+
* @throws {Error} Throws an error if the id parameter is missing
|
|
104
|
+
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to the message; an unknown ID is a 404
|
|
105
|
+
*/
|
|
106
|
+
getMessage({ id, options }: {
|
|
107
|
+
id: string;
|
|
80
108
|
options?: RequestOptions;
|
|
81
109
|
}): Promise<SdkResponse<any>>;
|
|
82
110
|
/**
|
|
@@ -105,17 +133,17 @@ export class Messages {
|
|
|
105
133
|
* @param {string|string[]} [params.subgroupId] - Filter analytics by the ID of the associated subgroup. Accepts a single value, an array, or a comma-separated string.
|
|
106
134
|
* @param {string|string[]} [params.brandId] - Filter analytics by the ID of the associated brand. Accepts a single value, an array, or a comma-separated string.
|
|
107
135
|
* @param {string|string[]} [params.campaignId] - Filter analytics by the ID of the associated campaign. Accepts a single value, an array, or a comma-separated string.
|
|
108
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
136
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
109
137
|
* @param {string|string[]} [params.phoneNumber] - Filter analytics by the phone number involved in the messages. Accepts a single value, an array, or a comma-separated string.
|
|
110
138
|
* @param {string|string[]} [params.carrier] - Filter analytics by the carrier used for sending. Accepts a single value, an array, or a comma-separated string.
|
|
111
|
-
* @param {string|string[]} [params.carrierFamily] - Filter analytics by the recipient's resolved carrier family (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics). Accepts a single value, an array, or a comma-separated string.
|
|
139
|
+
* @param {string|string[]} [params.carrierFamily] - Filter analytics by the recipient's resolved carrier family (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics). Accepts a single value, an array, or a comma-separated string.
|
|
112
140
|
* @param {string} [params.startDate] - ISO-8601 date or timestamp; bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode
|
|
113
141
|
* @param {string} [params.endDate] - ISO-8601 date or timestamp; bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode. In "exact" mode day buckets align to the UTC offset this bound carries, so a client that sends its own midnights gets its own calendar dates back
|
|
114
142
|
* @param {boolean} [params.matchAny] - When true, the provided campaignId/brandId/phoneNumber filters are OR'd (match ANY) instead of the default most-specific-single behavior. subgroupId stays an AND scope. Opt-in/additive.
|
|
115
143
|
* @param {(string|string[])} [params.messageType] - Message type(s) the SENTIMENT figures are scoped to: SMS, MMS or P2P (single value, array, or comma-separated string). Omit for all scored types. Does NOT narrow the message counts, which are always returned split per type (smsInbound/mmsInbound/p2pInbound) and have no filterable type dimension.
|
|
116
144
|
* @param {string|string[]} [params.channel] - Filter analytics by channel (tenDLC, virtualLongCode, tollFree, shortCode, p2p). Filters on the stored channel column; a tenDLC selection also includes older messages that have no channel, and p2p is a real channel here (matched by carrier). Accepts a single value or an array. Ignored when matchAny is true (matchAny takes precedence).
|
|
117
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
118
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
145
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
146
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
119
147
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
120
148
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
121
149
|
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to the analytics data. Also includes inbound-message
|
|
@@ -155,18 +183,18 @@ export class Messages {
|
|
|
155
183
|
* @param {string|string[]} [params.subgroupId] - Filter analytics by the ID of the associated subgroup. Accepts a single value, an array, or a comma-separated string.
|
|
156
184
|
* @param {string|string[]} [params.brandId] - Filter analytics by the ID of the associated brand. Accepts a single value, an array, or a comma-separated string.
|
|
157
185
|
* @param {string|string[]} [params.campaignId] - Filter analytics by the ID of the associated campaign. Accepts a single value, an array, or a comma-separated string.
|
|
158
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
186
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
159
187
|
* @param {string|string[]} [params.phoneNumber] - Filter analytics by the phone number involved in the messages. Accepts a single value, an array, or a comma-separated string.
|
|
160
188
|
* @param {string|string[]} [params.carrier] - Filter analytics by the carrier used for sending. Accepts a single value, an array, or a comma-separated string.
|
|
161
|
-
* @param {string|string[]} [params.carrierFamily] - Filter analytics by the recipient's resolved carrier family (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics). Accepts a single value, an array, or a comma-separated string.
|
|
189
|
+
* @param {string|string[]} [params.carrierFamily] - Filter analytics by the recipient's resolved carrier family (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics). Accepts a single value, an array, or a comma-separated string.
|
|
162
190
|
* @param {string} [params.startDate] - ISO-8601 date or timestamp. It is bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode, then floored to the start of its hour at either granularity, because the hourly cube is keyed by hour and a mid-hour start would drop that hour's bucket.
|
|
163
191
|
* @param {string} [params.endDate] - ISO-8601 date or timestamp. At day granularity it is bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode. In "exact" mode day buckets align to the UTC offset this bound carries, so a client that sends its own midnights gets its own calendar dates back; at hour granularity it is honoured as given.
|
|
164
192
|
* @param {(string|string[])} [params.messageType] - Message type(s) the SENTIMENT figures are scoped to: SMS, MMS or P2P (single value, array, or comma-separated string). Omit for all scored types. Does NOT narrow the message counts, which are always returned split per type (smsInbound/mmsInbound/p2pInbound) and have no filterable type dimension.
|
|
165
193
|
* @param {string|string[]} [params.channel] - Filter analytics by channel (tenDLC, virtualLongCode, tollFree, shortCode, p2p). Filters on the stored channel column; a tenDLC selection also includes older messages that have no channel, and p2p is a real channel here. Accepts a single value or an array.
|
|
166
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
167
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
168
|
-
* @param {("day"|"hour")} [params.granularity] - Time-bucket grain of the byDate rows. Omit for day (each row's _id is a "YYYY-MM-DD" date). "hour" buckets by hour (each row's _id is a "YYYY-MM-DD HH:MM:SS" UTC hour) and is capped to a 7-day span.
|
|
169
|
-
* @param {("carrier"|"carrierFamily")} [params.breakdown] - Adds a byBreakdown time × dimension series to the response ({ dimension, rows }: each row is one byDate bucket (_id) for one carrier or carrier family (key), over the top 50 keys by volume, excluding P2P) and caps the span at 31 days.
|
|
194
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
195
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
196
|
+
* @param {("day"|"hour")} [params.granularity] - Time-bucket grain of the byDate rows. Omit for day (each row's _id is a "YYYY-MM-DD" date). "hour" buckets by hour (each row's _id is a "YYYY-MM-DD HH:MM:SS" UTC hour) and is capped to a 7-day span.
|
|
197
|
+
* @param {("carrier"|"carrierFamily")} [params.breakdown] - Adds a byBreakdown time × dimension series to the response ({ dimension, rows }: each row is one byDate bucket (_id) for one carrier or carrier family (key), over the top 50 keys by volume, excluding P2P) and caps the span at 31 days.
|
|
170
198
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
171
199
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
172
200
|
* @returns {Promise<SdkResponse<Array>>} - A promise that resolves to an array of analytics snapshot records. cardTotals and
|
|
@@ -201,15 +229,14 @@ export class Messages {
|
|
|
201
229
|
* Get per-minute send throughput (peak segments per minute, sending minutes, minutes at a ceiling) for a
|
|
202
230
|
* campaign, brand, or group, per time bucket and per carrier family. Measured from SENT transitions at
|
|
203
231
|
* campaign × carrier-family grain -- the grain carrier ceilings are enforced at -- so a peak here is the
|
|
204
|
-
* figure a ceiling is compared against.
|
|
205
|
-
* elsewhere the request is rejected with a 400.
|
|
232
|
+
* figure a ceiling is compared against.
|
|
206
233
|
* @async
|
|
207
234
|
* @roles api, admin, developer, billing, user
|
|
208
235
|
* @param {Object} params - The parameters for the throughput read
|
|
209
236
|
* @param {string} params.groupId - The group to scope the read to (required)
|
|
210
237
|
* @param {string|string[]} [params.brandId] - Brand scope. Accepts a single value, an array, or a comma-separated string.
|
|
211
238
|
* @param {string|string[]} [params.campaignId] - Campaign scope; wins over brandId. Accepts a single value, an array, or a comma-separated string.
|
|
212
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
239
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. Accepts a single value or an array.
|
|
213
240
|
* @param {string|string[]} [params.carrierFamily] - Carrier-family filter (ATT, TMobile, Verizon, USCellular, ...). Accepts a single value, an array, or a comma-separated string.
|
|
214
241
|
* @param {string} params.startDate - ISO-8601 date or timestamp. It is bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode, then floored to the start of its hour at hour granularity and of its minute at day granularity (the cube is keyed by minute).
|
|
215
242
|
* @param {string} params.endDate - ISO-8601 date or timestamp. At hour granularity it is honoured as given; at day granularity it is bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode. In "exact" mode day buckets align to the UTC offset this bound carries, so a client that sends its own midnights gets its own calendar dates back. The span is capped at 35 days (the retention of the per-minute data).
|
|
@@ -239,7 +266,7 @@ export class Messages {
|
|
|
239
266
|
* @roles api, admin, developer, billing, user
|
|
240
267
|
* @param {Object} params - The parameters for getting analytics filter options
|
|
241
268
|
* @param {string} params.groupId - The ID of the group whose filter options to load
|
|
242
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
269
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
243
270
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
244
271
|
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to { subgroups, brands, campaigns, phoneNumbers, carriers }. Each phone number carries type (TOLL_FREE, SHORT_CODE, ALPHANUMERIC, VIRTUAL_LONG_NUMBER, ...) and country (ISO-2), null when unknown: TOLL_FREE, SHORT_CODE and ALPHANUMERIC are channels by type; any other US number is 10DLC and a non-US one is a Virtual Long Code. `carriers` is a plain array of carrier name strings.
|
|
245
272
|
*/
|
|
@@ -258,10 +285,10 @@ export class Messages {
|
|
|
258
285
|
* @param {string|string[]} [params.subgroupId]
|
|
259
286
|
* @param {string|string[]} [params.brandId]
|
|
260
287
|
* @param {string|string[]} [params.campaignId]
|
|
261
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
288
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
262
289
|
* @param {string|string[]} [params.phoneNumber]
|
|
263
290
|
* @param {string|string[]} [params.carrier]
|
|
264
|
-
* @param {string|string[]} [params.carrierFamily] - Resolved carrier family of the recipient (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics); single value, array, or comma-separated.
|
|
291
|
+
* @param {string|string[]} [params.carrierFamily] - Resolved carrier family of the recipient (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics); single value, array, or comma-separated.
|
|
265
292
|
* @param {string} [params.startDate]
|
|
266
293
|
* @param {string} [params.endDate]
|
|
267
294
|
* @param {number} [params.page=1]
|
|
@@ -269,8 +296,8 @@ export class Messages {
|
|
|
269
296
|
* @param {("tenDLC"|"virtualLongCode"|"tollFree"|"shortCode"|"p2p"|"both")|Array<"tenDLC"|"virtualLongCode"|"tollFree"|"shortCode"|"p2p">} [params.channel="both"] - Filter and rank rows by the stored channel column. "both" (default) means all activity. tenDLC/virtualLongCode/tollFree/shortCode/p2p (single value or array) limit to the selected channel(s).
|
|
270
297
|
* @param {(string|string[])} [params.messageType] - Message type(s) the SENTIMENT figures are scoped to: SMS, MMS or P2P (single value, array, or comma-separated string). Omit for all scored types. Does NOT narrow the message counts, which are always returned split per type (smsInbound/mmsInbound/p2pInbound) and have no filterable type dimension.
|
|
271
298
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
272
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
273
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
299
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
300
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
274
301
|
* @param {RequestOptions} [params.options]
|
|
275
302
|
* @returns {Promise<SdkResponse<any>>} - { rows, totalCount, page, limit }. Each row carries sms/mms/p2p metric columns plus `smsOptOuts` and `mmsOptOuts` from the DNC analytics MV (P2P has no opt-outs).
|
|
276
303
|
* Each row also carries that subgroup's inbound-message sentiment: `sentimentScore` (volume-weighted average of every scored inbound message in that subgroup, -100..100, null when nothing was scored), `sentimentLabel`, `sentimentScoredCount`, `sentimentPositive`, `sentimentNeutral`, `sentimentNegative`, plus the same six per message type under `smsSentiment*`, `mmsSentiment*` and `p2pSentiment*` prefixes. The score is derived server-side and must never be re-averaged across rows — combine the counts, not the scores.
|
|
@@ -305,18 +332,18 @@ export class Messages {
|
|
|
305
332
|
* @param {string|string[]} [params.subgroupId]
|
|
306
333
|
* @param {string|string[]} [params.brandId]
|
|
307
334
|
* @param {string|string[]} [params.campaignId]
|
|
308
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
335
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
309
336
|
* @param {string|string[]} [params.phoneNumber]
|
|
310
337
|
* @param {string|string[]} [params.carrier]
|
|
311
|
-
* @param {string|string[]} [params.carrierFamily] - Resolved carrier family of the recipient (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics); single value, array, or comma-separated.
|
|
338
|
+
* @param {string|string[]} [params.carrierFamily] - Resolved carrier family of the recipient (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, P2P, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics); single value, array, or comma-separated.
|
|
312
339
|
* @param {string} [params.startDate]
|
|
313
340
|
* @param {string} [params.endDate]
|
|
314
341
|
* @param {number} [params.page=1]
|
|
315
342
|
* @param {number} [params.limit=50] - max 50 per page
|
|
316
343
|
* @param {("tenDLC"|"virtualLongCode"|"tollFree"|"shortCode"|"p2p"|"both")|Array<"tenDLC"|"virtualLongCode"|"tollFree"|"shortCode"|"p2p">} [params.channel="both"] - Filter and rank rows by the stored channel column. "both" (default) means every code. tenDLC/virtualLongCode/tollFree/shortCode/p2p (single value or array) limit to the selected channel(s); when one channel is selected, totalErrors reflects only that channel.
|
|
317
344
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
318
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
319
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
345
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
346
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
320
347
|
* @param {string} [params.errorCode] - Narrow the breakdown to a single failure reason: a numeric Infobip carrier code (as a string, e.g. "607"), the Signal House campaign-opt-out code "OUT", or a no-code failure class (other, moderation, att_limit, p2p_stop, campaign_opt_out, dnc_blocked, bind_hold_expired). Omitted = every reason.
|
|
321
348
|
* @param {RequestOptions} [params.options]
|
|
322
349
|
* @returns {Promise<SdkResponse<any>>} - { rows, totalCount, totalErrors: { sms, mms, p2p, all }, page, limit }
|
|
@@ -350,15 +377,15 @@ export class Messages {
|
|
|
350
377
|
* @param {string} [params.subgroupId] - Filter by the ID of the associated subgroup
|
|
351
378
|
* @param {string} [params.brandId] - Filter by the ID of the associated brand
|
|
352
379
|
* @param {string} [params.campaignId] - Filter by the ID of the associated campaign
|
|
353
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
380
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
354
381
|
* @param {string} [params.phoneNumber] - Filter by the phone number
|
|
355
382
|
* @param {string} [params.carrier] - Filter by the carrier
|
|
356
383
|
* @param {string} [params.startDate] - ISO-8601 date or timestamp; bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode
|
|
357
384
|
* @param {string} [params.endDate] - ISO-8601 date or timestamp; bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode. In "exact" mode day buckets align to the UTC offset this bound carries, so a client that sends its own midnights gets its own calendar dates back
|
|
358
385
|
* @param {string|string[]} [params.channel] - Filter by channel (tenDLC, virtualLongCode, tollFree, shortCode). Opt-outs are A2P-only, so p2p applies no filter. Filters on the stored channel column; a tenDLC selection also includes older opt-outs that have no channel.
|
|
359
386
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
360
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
361
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
387
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
388
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
362
389
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
363
390
|
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to the DNC analytics data (totals, byDate, byPhoneNumber, bySenderNumber, byCampaign, bySubgroup, byType, byCarrier, byKeyword). bySenderNumber ({ senderPhoneNumber, total, sms, mms }) attributes each opt-out to the first business number that received it, so it is unchanged by later campaign moves and START replies. byCampaign ({ campaignId, ... }) counts campaign-scoped opt-outs only, by the campaign at the time of the STOP; subgroup-scoped opt-outs (non-US recipients) are never attributed to a campaign and appear under bySubgroup ({ subgroupId, ... }) instead. byType ({ messageType, total }) splits SMS/MMS. byKeyword breaks opt-outs down by the normalized keyword that revoked consent ({ optOutKeyword, total, sms, mms }); opt-outs recorded before keyword capture shipped appear as a single optOutKeyword: null bucket ("not recorded"). The distinct keyword set is open-ended (campaigns register their own keywords beyond the mandatory floor) — render top-N plus Other, never a fixed list.
|
|
364
391
|
*/
|
|
@@ -387,7 +414,7 @@ export class Messages {
|
|
|
387
414
|
* @param {string} [params.subgroupId] - Filter by the ID of the associated subgroup
|
|
388
415
|
* @param {string} [params.brandId] - Filter by the ID of the associated brand
|
|
389
416
|
* @param {string} [params.campaignId] - Filter by the ID of the associated campaign
|
|
390
|
-
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations
|
|
417
|
+
* @param {string|string[]} [params.registrationId] - Filter to traffic attributed to these registrations. A phoneNumber filter takes precedence. Accepts a single value or an array.
|
|
391
418
|
* @param {string} [params.phoneNumber] - Filter by the phone number
|
|
392
419
|
* @param {string} [params.carrier] - Filter by the carrier
|
|
393
420
|
* @param {string} [params.startDate] - ISO-8601 date or timestamp; bound per dateBounds: a bare date is always that whole UTC day (inclusive); a timestamp is widened to its whole UTC day in "day" mode and bound as the instant it names, in whatever offset it was written, in "exact" mode
|
|
@@ -398,8 +425,8 @@ export class Messages {
|
|
|
398
425
|
* @param {string} [params.sortOrder] - Sort direction (asc, desc)
|
|
399
426
|
* @param {string|string[]} [params.channel] - Filter by channel (tenDLC, virtualLongCode, tollFree, shortCode). Opt-outs are A2P-only, so p2p applies no filter. Filters on the stored channel column; a tenDLC selection also includes older opt-outs that have no channel.
|
|
400
427
|
* @param {("day"|"exact")} [params.dateBounds] - Which contract binds startDate/endDate. "day": each bound is widened to its whole UTC day. "exact": a timestamp is bound as the instant it names and a bare date is its whole UTC day. Omitted: "day".
|
|
401
|
-
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
402
|
-
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
428
|
+
* @param {string|string[]} [params.region] - ISO-2 country filter: US, GB or CA (any case of UK/GB/GBR/United Kingdom is accepted for GB); one value, an array, or a comma-separated string; omitted = every region.
|
|
429
|
+
* @param {Object[]|string} [params.regionScopes] - Array of OR-ed branches `{ region, channels, brandId?, campaignId?, phoneNumber? }` (channels among tenDLC, virtualLongCode, tollFree, shortCode, p2p); `[]` matches nothing. Sent as JSON unless already a string.
|
|
403
430
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
404
431
|
* @returns {Promise<SdkResponse<any>>} - A promise that resolves to the paginated DNC records. Each record carries senderPhoneNumber — the first business number that received the opt-out (set once, never changed by a later STOP or a campaign move; the same value as phoneNumber) — optOutKeyword — the normalized keyword that revoked consent (e.g. "stop", "opt out"; a repeat opt-out records the most recent word), null for opt-outs recorded before keyword capture shipped — and carrierFamily, the resolved carrier family of the recipient number (Default, ATT, TMobile, Verizon, USCellular, GoogleVoice, ClearSky, Interop, RogueMobile, Standard, IceWireless, Bell, Rogers, Telus, Videotron, SaskTel, Eastlink, Fibernetics), copied from the inbound message that triggered the opt-out. campaignId is null on subgroup-scoped records (non-US recipients).
|
|
405
432
|
*/
|
|
@@ -77,6 +77,7 @@ export class Numbers {
|
|
|
77
77
|
* @param {string} [params.subgroupId] - Filter by subgroup ID
|
|
78
78
|
* @param {string} [params.groupId] - Filter by group ID
|
|
79
79
|
* @param {boolean} [params.currentTollFreeCarrier] - With subgroupId or groupId: when true, return only toll-free numbers that a new toll-free campaign in that group can use (those on the group's current toll-free carrier)
|
|
80
|
+
* @param {boolean} [params.released] - With subgroupId or groupId: when true, return only its released numbers (status RELEASED) instead of its active ones
|
|
80
81
|
* @param {number} [params.page] - The page number for pagination (default: 1)
|
|
81
82
|
* @param {number} [params.limit] - The number of items per page for pagination (default: 20)
|
|
82
83
|
* @param {RequestOptions} [params.options] - Additional options for the request
|
|
@@ -99,7 +100,7 @@ export class Numbers {
|
|
|
99
100
|
* or GET /campaign/health.
|
|
100
101
|
* @returns {Promise<SdkResponse<any>>} A promise that resolves to the list of phone numbers
|
|
101
102
|
*/
|
|
102
|
-
getPhoneNumbers({ phoneNumber, campaignId, registrationId, brandId, subgroupId, groupId, currentTollFreeCarrier, page, limit, options }: {
|
|
103
|
+
getPhoneNumbers({ phoneNumber, campaignId, registrationId, brandId, subgroupId, groupId, currentTollFreeCarrier, released, page, limit, options }: {
|
|
103
104
|
phoneNumber?: string;
|
|
104
105
|
campaignId?: string;
|
|
105
106
|
registrationId?: string;
|
|
@@ -107,6 +108,7 @@ export class Numbers {
|
|
|
107
108
|
subgroupId?: string;
|
|
108
109
|
groupId?: string;
|
|
109
110
|
currentTollFreeCarrier?: boolean;
|
|
111
|
+
released?: boolean;
|
|
110
112
|
page?: number;
|
|
111
113
|
limit?: number;
|
|
112
114
|
options?: RequestOptions;
|