@getlatedev/node 0.2.919 → 0.2.921
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/dist/index.d.mts +188 -108
- package/dist/index.d.ts +188 -108
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +190 -107
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.921",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.921",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -6578,6 +6578,181 @@ export type MoneyAmount = {
|
|
|
6578
6578
|
currencyCode: string;
|
|
6579
6579
|
};
|
|
6580
6580
|
|
|
6581
|
+
/**
|
|
6582
|
+
* A number you bought or ported. Null fields are omitted, except `socialAccountId` and `ownerAccountId`. Credentials stored for the number (such as the SIP digest password) are never returned; `sipAuthUsername` is the only SIP credential field exposed.
|
|
6583
|
+
*/
|
|
6584
|
+
export type OwnedPhoneNumber = {
|
|
6585
|
+
_id?: string;
|
|
6586
|
+
phoneNumber?: string;
|
|
6587
|
+
country?: string;
|
|
6588
|
+
/**
|
|
6589
|
+
* For example local, mobile, national or toll_free.
|
|
6590
|
+
*/
|
|
6591
|
+
numberType?: string;
|
|
6592
|
+
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
6593
|
+
/**
|
|
6594
|
+
* The profile the number belongs to: `{ _id, name }` when the profile exists, otherwise its id.
|
|
6595
|
+
*/
|
|
6596
|
+
profileId?: ({
|
|
6597
|
+
_id?: string;
|
|
6598
|
+
name?: (string) | null;
|
|
6599
|
+
} | string);
|
|
6600
|
+
createdAt?: string;
|
|
6601
|
+
updatedAt?: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* Present once the number order has been placed (i.e. the requirement group was approved). Absent while still in identity review.
|
|
6604
|
+
*/
|
|
6605
|
+
telnyxOrderId?: (string) | null;
|
|
6606
|
+
/**
|
|
6607
|
+
* Present on a pre-order: the carrier request placed for a number with no stock yet.
|
|
6608
|
+
*/
|
|
6609
|
+
telnyxAdvancedOrderId?: string;
|
|
6610
|
+
/**
|
|
6611
|
+
* For regulated numbers, who it's registered for (company or person), set from the submitted KYC.
|
|
6612
|
+
*/
|
|
6613
|
+
registrantName?: (string) | null;
|
|
6614
|
+
endUserFirstName?: (string) | null;
|
|
6615
|
+
endUserLastName?: (string) | null;
|
|
6616
|
+
/**
|
|
6617
|
+
* Reviewer rejection reason when status is regulatory_declined.
|
|
6618
|
+
*/
|
|
6619
|
+
regulatoryDeclineReason?: (string) | null;
|
|
6620
|
+
/**
|
|
6621
|
+
* The latest reviewer comment on a regulated number still in review.
|
|
6622
|
+
*/
|
|
6623
|
+
regulatoryReviewComment?: string;
|
|
6624
|
+
/**
|
|
6625
|
+
* `action_required` when the reviewer is waiting on you.
|
|
6626
|
+
*/
|
|
6627
|
+
regulatoryInfoStatus?: string;
|
|
6628
|
+
/**
|
|
6629
|
+
* For regulated (Tier 3/4) numbers with an Onfido ID-verification step: the link to forward to the end user. Set once the order is placed; null otherwise. Poll this field after submitting KYC.
|
|
6630
|
+
*/
|
|
6631
|
+
onfidoVerificationUrl?: (string) | null;
|
|
6632
|
+
/**
|
|
6633
|
+
* Stable redirect to the live Onfido session. Prefer it over `onfidoVerificationUrl`, since it always resolves to a fresh session.
|
|
6634
|
+
*/
|
|
6635
|
+
verifyUrl?: (string) | null;
|
|
6636
|
+
/**
|
|
6637
|
+
* True once the verify link has been opened at least once.
|
|
6638
|
+
*/
|
|
6639
|
+
onfidoOpened?: boolean;
|
|
6640
|
+
metaPreverifiedId?: string;
|
|
6641
|
+
metaVerificationStatus?: 'pending' | 'code_requested' | 'verified' | 'expired';
|
|
6642
|
+
metaVerifiedAt?: string;
|
|
6643
|
+
metaVerificationExpiresAt?: string;
|
|
6644
|
+
/**
|
|
6645
|
+
* The WhatsApp account the number is linked to; null when WhatsApp is not connected.
|
|
6646
|
+
*/
|
|
6647
|
+
socialAccountId?: (string) | null;
|
|
6648
|
+
/**
|
|
6649
|
+
* The telephony account that owns Calls and SMS on the number.
|
|
6650
|
+
*/
|
|
6651
|
+
ownerAccountId?: (string) | null;
|
|
6652
|
+
/**
|
|
6653
|
+
* SIP trunk the number is attached to; null when not trunked. While attached, enabling Calls or WhatsApp calling, requesting WhatsApp verification, and releasing the number all return 409.
|
|
6654
|
+
*/
|
|
6655
|
+
sipTrunkId?: (string) | null;
|
|
6656
|
+
/**
|
|
6657
|
+
* False for a standalone phone bought for Calls or SMS only.
|
|
6658
|
+
*/
|
|
6659
|
+
whatsAppRequested?: boolean;
|
|
6660
|
+
smsRequested?: boolean;
|
|
6661
|
+
provisionedAt?: string;
|
|
6662
|
+
activatedAt?: string;
|
|
6663
|
+
connectedAt?: string;
|
|
6664
|
+
suspendedAt?: string;
|
|
6665
|
+
releasedAt?: string;
|
|
6666
|
+
/**
|
|
6667
|
+
* Meta's Embedded Signup error from the last failed connect attempt (raw text, often localized).
|
|
6668
|
+
*/
|
|
6669
|
+
signupError?: string;
|
|
6670
|
+
signupErrorAt?: string;
|
|
6671
|
+
signupErrorStep?: string;
|
|
6672
|
+
/**
|
|
6673
|
+
* What this number bills each month, in cents. Stamped when the number was bought, so an existing number keeps its price when the rate card changes.
|
|
6674
|
+
*/
|
|
6675
|
+
monthlyCents?: number;
|
|
6676
|
+
/**
|
|
6677
|
+
* False for numbers you brought yourself (connected via Meta embedded signup). They live on your own carrier, so SMS/Calls can't be enabled on them.
|
|
6678
|
+
*/
|
|
6679
|
+
hostedByZernio?: boolean;
|
|
6680
|
+
/**
|
|
6681
|
+
* Whether the number can send SMS. Absent while unknown.
|
|
6682
|
+
*/
|
|
6683
|
+
smsCapable?: boolean;
|
|
6684
|
+
/**
|
|
6685
|
+
* Whether the number can send MMS. Absent while unknown.
|
|
6686
|
+
*/
|
|
6687
|
+
mmsCapable?: boolean;
|
|
6688
|
+
/**
|
|
6689
|
+
* True when the number can only text numbers in its own country. Absent while unknown.
|
|
6690
|
+
*/
|
|
6691
|
+
domesticOnly?: boolean;
|
|
6692
|
+
/**
|
|
6693
|
+
* True while a 10DLC registration covering this number is in review.
|
|
6694
|
+
*/
|
|
6695
|
+
smsRegistrationPending?: boolean;
|
|
6696
|
+
/**
|
|
6697
|
+
* True when outbound SMS is unlocked: an approved 10DLC covers the number, or the number is outside the US.
|
|
6698
|
+
*/
|
|
6699
|
+
smsSendApproved?: boolean;
|
|
6700
|
+
/**
|
|
6701
|
+
* Brand of the 10DLC registration covering the number.
|
|
6702
|
+
*/
|
|
6703
|
+
smsBrandName?: (string) | null;
|
|
6704
|
+
features?: {
|
|
6705
|
+
calls?: boolean;
|
|
6706
|
+
whatsapp?: boolean;
|
|
6707
|
+
smsPending?: boolean;
|
|
6708
|
+
};
|
|
6709
|
+
/**
|
|
6710
|
+
* Whether WhatsApp Business Calling is enabled on this number (manage via /v1/whatsapp/phone-numbers/{id}/calling).
|
|
6711
|
+
*/
|
|
6712
|
+
callingEnabled?: boolean;
|
|
6713
|
+
/**
|
|
6714
|
+
* WhatsApp calling forward destination.
|
|
6715
|
+
*/
|
|
6716
|
+
forwardTo?: string;
|
|
6717
|
+
/**
|
|
6718
|
+
* SIP digest username for a sip: forward destination. The password is never returned.
|
|
6719
|
+
*/
|
|
6720
|
+
sipAuthUsername?: string;
|
|
6721
|
+
callerIdVerifiedAt?: string;
|
|
6722
|
+
maxCallDurationSeconds?: number;
|
|
6723
|
+
recordingEnabled?: boolean;
|
|
6724
|
+
transcriptionEnabled?: boolean;
|
|
6725
|
+
transcriptionLanguage?: 'auto' | 'en' | 'es';
|
|
6726
|
+
callIconCountries?: Array<(string)>;
|
|
6727
|
+
forwardCallerId?: 'business' | 'caller';
|
|
6728
|
+
/**
|
|
6729
|
+
* Whether Calls (PSTN voice) is on.
|
|
6730
|
+
*/
|
|
6731
|
+
pstnVoiceEnabled?: boolean;
|
|
6732
|
+
pstnForwardTo?: string;
|
|
6733
|
+
voicemailEnabled?: boolean;
|
|
6734
|
+
voicemailGreeting?: string;
|
|
6735
|
+
businessHoursEnabled?: boolean;
|
|
6736
|
+
businessHoursTimezone?: string;
|
|
6737
|
+
businessHours?: Array<{
|
|
6738
|
+
day?: number;
|
|
6739
|
+
open?: string;
|
|
6740
|
+
close?: string;
|
|
6741
|
+
}>;
|
|
6742
|
+
blockedCallers?: Array<(string)>;
|
|
6743
|
+
ivrEnabled?: boolean;
|
|
6744
|
+
ivrPrompt?: string;
|
|
6745
|
+
ivrOptions?: Array<{
|
|
6746
|
+
digit?: string;
|
|
6747
|
+
forwardTo?: string;
|
|
6748
|
+
label?: string;
|
|
6749
|
+
}>;
|
|
6750
|
+
};
|
|
6751
|
+
|
|
6752
|
+
export type status13 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
6753
|
+
|
|
6754
|
+
export type metaVerificationStatus = 'pending' | 'code_requested' | 'verified' | 'expired';
|
|
6755
|
+
|
|
6581
6756
|
export type Pagination = {
|
|
6582
6757
|
page?: number;
|
|
6583
6758
|
limit?: number;
|
|
@@ -6699,7 +6874,7 @@ export type PlatformAnalytics = {
|
|
|
6699
6874
|
errorMessage?: (string) | null;
|
|
6700
6875
|
};
|
|
6701
6876
|
|
|
6702
|
-
export type
|
|
6877
|
+
export type status14 = 'published' | 'failed';
|
|
6703
6878
|
|
|
6704
6879
|
/**
|
|
6705
6880
|
* Sync state of analytics for this platform
|
|
@@ -7101,7 +7276,7 @@ export type Product = {
|
|
|
7101
7276
|
|
|
7102
7277
|
export type platform8 = 'shopify';
|
|
7103
7278
|
|
|
7104
|
-
export type
|
|
7279
|
+
export type status15 = 'active' | 'draft' | 'archived';
|
|
7105
7280
|
|
|
7106
7281
|
export type ProductImage = {
|
|
7107
7282
|
url?: string;
|
|
@@ -8377,7 +8552,7 @@ export type UploadTokenResponse = {
|
|
|
8377
8552
|
status?: 'pending' | 'completed' | 'expired';
|
|
8378
8553
|
};
|
|
8379
8554
|
|
|
8380
|
-
export type
|
|
8555
|
+
export type status16 = 'pending' | 'completed' | 'expired';
|
|
8381
8556
|
|
|
8382
8557
|
export type UploadTokenStatusResponse = {
|
|
8383
8558
|
token?: string;
|
|
@@ -8853,7 +9028,7 @@ export type Verification = {
|
|
|
8853
9028
|
resend?: boolean;
|
|
8854
9029
|
};
|
|
8855
9030
|
|
|
8856
|
-
export type
|
|
9031
|
+
export type status17 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
|
|
8857
9032
|
|
|
8858
9033
|
export type channel3 = 'sms';
|
|
8859
9034
|
|
|
@@ -8980,7 +9155,7 @@ export type WebhookLog = {
|
|
|
8980
9155
|
/**
|
|
8981
9156
|
* Delivery outcome
|
|
8982
9157
|
*/
|
|
8983
|
-
export type
|
|
9158
|
+
export type status18 = 'success' | 'failed';
|
|
8984
9159
|
|
|
8985
9160
|
/**
|
|
8986
9161
|
* Webhook payload for `account.ads.initial_sync_completed` events.
|
|
@@ -9092,7 +9267,7 @@ export type event = 'account.ads.initial_sync_completed';
|
|
|
9092
9267
|
/**
|
|
9093
9268
|
* Overall outcome of the initial sync.
|
|
9094
9269
|
*/
|
|
9095
|
-
export type
|
|
9270
|
+
export type status19 = 'success' | 'failure';
|
|
9096
9271
|
|
|
9097
9272
|
/**
|
|
9098
9273
|
* Stable category for UX branching. New values may be added; existing ones are
|
|
@@ -10999,7 +11174,7 @@ export type event22 = 'post.platform.published' | 'post.platform.failed' | 'post
|
|
|
10999
11174
|
/**
|
|
11000
11175
|
* Terminal status this event fires on. Matches the event suffix.
|
|
11001
11176
|
*/
|
|
11002
|
-
export type
|
|
11177
|
+
export type status20 = 'published' | 'failed' | 'deleted';
|
|
11003
11178
|
|
|
11004
11179
|
/**
|
|
11005
11180
|
* Webhook payload for reaction received events (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger)
|
|
@@ -11264,7 +11439,7 @@ export type platform15 = 'whatsapp';
|
|
|
11264
11439
|
/**
|
|
11265
11440
|
* Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
|
|
11266
11441
|
*/
|
|
11267
|
-
export type
|
|
11442
|
+
export type status21 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
|
|
11268
11443
|
|
|
11269
11444
|
/**
|
|
11270
11445
|
* Webhook payload for the `whatsapp.template.category_updated` event.
|
|
@@ -11413,7 +11588,7 @@ export type event30 = 'whatsapp.template.status_updated';
|
|
|
11413
11588
|
* request before the template is actually removed.
|
|
11414
11589
|
*
|
|
11415
11590
|
*/
|
|
11416
|
-
export type
|
|
11591
|
+
export type status22 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
|
|
11417
11592
|
|
|
11418
11593
|
export type WhatsAppBodyComponent = {
|
|
11419
11594
|
type: 'body';
|
|
@@ -11567,7 +11742,7 @@ export type WhatsAppSandboxSession = {
|
|
|
11567
11742
|
* list responses.
|
|
11568
11743
|
*
|
|
11569
11744
|
*/
|
|
11570
|
-
export type
|
|
11745
|
+
export type status23 = 'pending' | 'active';
|
|
11571
11746
|
|
|
11572
11747
|
export type WhatsAppTemplateButton = {
|
|
11573
11748
|
type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
|
|
@@ -11725,7 +11900,7 @@ export type WorkflowExecutionEvent = {
|
|
|
11725
11900
|
|
|
11726
11901
|
export type action2 = 'execution_started' | 'execution_completed' | 'execution_exited' | 'execution_paused' | 'execution_resumed' | 'node_started' | 'node_completed' | 'node_failed' | 'node_skipped';
|
|
11727
11902
|
|
|
11728
|
-
export type
|
|
11903
|
+
export type status24 = 'success' | 'failed' | 'pending';
|
|
11729
11904
|
|
|
11730
11905
|
/**
|
|
11731
11906
|
* A node in a workflow graph. `config` shape depends on `type`.
|
|
@@ -28762,53 +28937,7 @@ export type ListPhoneNumbersData = {
|
|
|
28762
28937
|
};
|
|
28763
28938
|
|
|
28764
28939
|
export type ListPhoneNumbersResponse = ({
|
|
28765
|
-
numbers?: Array<
|
|
28766
|
-
_id?: string;
|
|
28767
|
-
phoneNumber?: string;
|
|
28768
|
-
country?: string;
|
|
28769
|
-
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
28770
|
-
/**
|
|
28771
|
-
* For regulated numbers, who it's registered for (company or person), set from the submitted KYC.
|
|
28772
|
-
*/
|
|
28773
|
-
registrantName?: (string) | null;
|
|
28774
|
-
/**
|
|
28775
|
-
* Present once the number order has been placed (i.e. the requirement group was approved). Absent while still in identity review.
|
|
28776
|
-
*/
|
|
28777
|
-
telnyxOrderId?: (string) | null;
|
|
28778
|
-
/**
|
|
28779
|
-
* What this number bills each month, in cents. Stamped when the number was bought, so an existing number keeps its price when the rate card changes.
|
|
28780
|
-
*/
|
|
28781
|
-
monthlyCents?: number;
|
|
28782
|
-
/**
|
|
28783
|
-
* False for numbers you brought yourself (connected via Meta embedded signup). They live on your own carrier, so SMS/Calls can't be enabled on them.
|
|
28784
|
-
*/
|
|
28785
|
-
hostedByZernio?: boolean;
|
|
28786
|
-
/**
|
|
28787
|
-
* SIP trunk the number is attached to; null when not trunked. While attached, enabling Calls or WhatsApp calling, requesting WhatsApp verification, and releasing the number all return 409.
|
|
28788
|
-
*/
|
|
28789
|
-
sipTrunkId?: (string) | null;
|
|
28790
|
-
profileId?: {
|
|
28791
|
-
[key: string]: unknown;
|
|
28792
|
-
};
|
|
28793
|
-
provisionedAt?: string;
|
|
28794
|
-
metaPreverifiedId?: string;
|
|
28795
|
-
metaVerificationStatus?: string;
|
|
28796
|
-
/**
|
|
28797
|
-
* For regulated (Tier 3/4) numbers with an Onfido ID-verification step: the link to forward to the end user. Set once the order is placed; null otherwise. Poll this field after submitting KYC.
|
|
28798
|
-
*/
|
|
28799
|
-
onfidoVerificationUrl?: (string) | null;
|
|
28800
|
-
endUserFirstName?: (string) | null;
|
|
28801
|
-
endUserLastName?: (string) | null;
|
|
28802
|
-
/**
|
|
28803
|
-
* Reviewer rejection reason when status is regulatory_declined.
|
|
28804
|
-
*/
|
|
28805
|
-
regulatoryDeclineReason?: (string) | null;
|
|
28806
|
-
/**
|
|
28807
|
-
* Whether WhatsApp Business Calling is enabled on this number (manage via /v1/whatsapp/phone-numbers/{id}/calling).
|
|
28808
|
-
*/
|
|
28809
|
-
callingEnabled?: boolean;
|
|
28810
|
-
createdAt?: string;
|
|
28811
|
-
}>;
|
|
28940
|
+
numbers?: Array<OwnedPhoneNumber>;
|
|
28812
28941
|
/**
|
|
28813
28942
|
* Connected (bring-your-own) WhatsApp numbers: your own WABA
|
|
28814
28943
|
* numbers linked via Embedded Signup. Not provisioned or billed
|
|
@@ -29089,7 +29218,7 @@ export type ListPhoneNumberCountriesResponse = ({
|
|
|
29089
29218
|
*/
|
|
29090
29219
|
callsAvailable?: boolean;
|
|
29091
29220
|
/**
|
|
29092
|
-
* WhatsApp can be enabled on
|
|
29221
|
+
* WhatsApp can be enabled on at least one number type from this country; types[].whatsappAvailable says which.
|
|
29093
29222
|
*/
|
|
29094
29223
|
whatsappAvailable?: boolean;
|
|
29095
29224
|
/**
|
|
@@ -29124,7 +29253,7 @@ export type ListPhoneNumberCountriesResponse = ({
|
|
|
29124
29253
|
*/
|
|
29125
29254
|
monthlyCents?: number;
|
|
29126
29255
|
/**
|
|
29127
|
-
*
|
|
29256
|
+
* False for toll_free (WhatsApp does not reliably register toll-free numbers) and for pairs Meta refuses, such as Chilean local (+56 2).
|
|
29128
29257
|
*/
|
|
29129
29258
|
whatsappAvailable?: boolean;
|
|
29130
29259
|
smsAvailable?: boolean;
|
|
@@ -29349,53 +29478,7 @@ export type GetWhatsAppPhoneNumbersData = {
|
|
|
29349
29478
|
};
|
|
29350
29479
|
|
|
29351
29480
|
export type GetWhatsAppPhoneNumbersResponse = ({
|
|
29352
|
-
numbers?: Array<
|
|
29353
|
-
_id?: string;
|
|
29354
|
-
phoneNumber?: string;
|
|
29355
|
-
country?: string;
|
|
29356
|
-
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
29357
|
-
/**
|
|
29358
|
-
* For regulated numbers, who it's registered for (company or person), set from the submitted KYC.
|
|
29359
|
-
*/
|
|
29360
|
-
registrantName?: (string) | null;
|
|
29361
|
-
/**
|
|
29362
|
-
* Present once the number order has been placed (i.e. the requirement group was approved). Absent while still in identity review.
|
|
29363
|
-
*/
|
|
29364
|
-
telnyxOrderId?: (string) | null;
|
|
29365
|
-
/**
|
|
29366
|
-
* What this number bills each month, in cents. Stamped when the number was bought, so an existing number keeps its price when the rate card changes.
|
|
29367
|
-
*/
|
|
29368
|
-
monthlyCents?: number;
|
|
29369
|
-
/**
|
|
29370
|
-
* False for numbers you brought yourself (connected via Meta embedded signup). They live on your own carrier, so SMS/Calls can't be enabled on them.
|
|
29371
|
-
*/
|
|
29372
|
-
hostedByZernio?: boolean;
|
|
29373
|
-
/**
|
|
29374
|
-
* SIP trunk the number is attached to; null when not trunked. While attached, enabling Calls or WhatsApp calling, requesting WhatsApp verification, and releasing the number all return 409.
|
|
29375
|
-
*/
|
|
29376
|
-
sipTrunkId?: (string) | null;
|
|
29377
|
-
profileId?: {
|
|
29378
|
-
[key: string]: unknown;
|
|
29379
|
-
};
|
|
29380
|
-
provisionedAt?: string;
|
|
29381
|
-
metaPreverifiedId?: string;
|
|
29382
|
-
metaVerificationStatus?: string;
|
|
29383
|
-
/**
|
|
29384
|
-
* For regulated (Tier 3/4) numbers with an Onfido ID-verification step: the link to forward to the end user. Set once the order is placed; null otherwise. Poll this field after submitting KYC.
|
|
29385
|
-
*/
|
|
29386
|
-
onfidoVerificationUrl?: (string) | null;
|
|
29387
|
-
endUserFirstName?: (string) | null;
|
|
29388
|
-
endUserLastName?: (string) | null;
|
|
29389
|
-
/**
|
|
29390
|
-
* Reviewer rejection reason when status is regulatory_declined.
|
|
29391
|
-
*/
|
|
29392
|
-
regulatoryDeclineReason?: (string) | null;
|
|
29393
|
-
/**
|
|
29394
|
-
* Whether WhatsApp Business Calling is enabled on this number (manage via /v1/whatsapp/phone-numbers/{id}/calling).
|
|
29395
|
-
*/
|
|
29396
|
-
callingEnabled?: boolean;
|
|
29397
|
-
createdAt?: string;
|
|
29398
|
-
}>;
|
|
29481
|
+
numbers?: Array<OwnedPhoneNumber>;
|
|
29399
29482
|
/**
|
|
29400
29483
|
* Connected (bring-your-own) WhatsApp numbers: your own WABA
|
|
29401
29484
|
* numbers linked via Embedded Signup. Not provisioned or billed
|