@kirimdev/sdk 2.0.0 → 3.0.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/README.md +97 -63
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/errors.d.ts +12 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +12 -1
- package/dist/errors.js.map +1 -1
- package/dist/resources/messages.d.ts +27 -0
- package/dist/resources/messages.d.ts.map +1 -1
- package/dist/resources/messages.js +37 -0
- package/dist/resources/messages.js.map +1 -1
- package/dist/types.d.ts +18 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/webhooks.d.ts +84 -83
- package/dist/webhooks.d.ts.map +1 -1
- package/dist/webhooks.js +102 -41
- package/dist/webhooks.js.map +1 -1
- package/openapi.json +144 -52
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -11,12 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"servers": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://api
|
|
14
|
+
"url": "https://api.kirim.chat/v1",
|
|
15
15
|
"description": "Production"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"url": "http://localhost:3000/v1",
|
|
19
|
-
"description": "Local development"
|
|
20
16
|
}
|
|
21
17
|
],
|
|
22
18
|
"tags": [
|
|
@@ -141,6 +137,9 @@
|
|
|
141
137
|
"conversation_id": {
|
|
142
138
|
"type": "string"
|
|
143
139
|
},
|
|
140
|
+
"message_id": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
144
143
|
"error": {
|
|
145
144
|
"type": "object",
|
|
146
145
|
"properties": {
|
|
@@ -167,10 +166,7 @@
|
|
|
167
166
|
"required": [
|
|
168
167
|
"id",
|
|
169
168
|
"object",
|
|
170
|
-
"
|
|
171
|
-
"type",
|
|
172
|
-
"status",
|
|
173
|
-
"created_at"
|
|
169
|
+
"status"
|
|
174
170
|
]
|
|
175
171
|
},
|
|
176
172
|
"Template": {
|
|
@@ -2004,8 +2000,8 @@
|
|
|
2004
2000
|
"tags": [
|
|
2005
2001
|
"Messages"
|
|
2006
2002
|
],
|
|
2007
|
-
"summary": "Send a WhatsApp message",
|
|
2008
|
-
"description": "
|
|
2003
|
+
"summary": "Send a WhatsApp message or mark inbound as read",
|
|
2004
|
+
"description": "Meta-style messages endpoint. Two operations share the same path, distinguished by the request body:\n\n**Outbound send** — body has a `type` field (`text`, `image`, `document`, `video`, `audio`, `template`, `interactive`). Body shape mirrors the Meta WhatsApp Cloud API; media variants accept either `link` (hosted URL) or `id` (Meta uploaded media). The sender is the WhatsApp account identified by `phone_number_id` in the URL path; there is no `from` field in the body. Pass `Idempotency-Key` to safely retry on network failure.\n\n**Read receipt** — body has `status: \"read\"` + `message_id` (the inbound wamid from your webhook). Sends a read receipt back to the sender so the double-tick turns blue on their phone. Optional `typing_indicator: { type: \"text\" }` shows a typing bubble alongside the receipt; Meta auto-dismisses after ~25 seconds or on first outbound message.",
|
|
2009
2005
|
"security": [
|
|
2010
2006
|
{
|
|
2011
2007
|
"bearerAuth": []
|
|
@@ -2015,7 +2011,9 @@
|
|
|
2015
2011
|
{
|
|
2016
2012
|
"schema": {
|
|
2017
2013
|
"type": "string",
|
|
2018
|
-
"pattern": "^\\d{6,20}$"
|
|
2014
|
+
"pattern": "^\\d{6,20}$",
|
|
2015
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
2016
|
+
"example": "106540352242922"
|
|
2019
2017
|
},
|
|
2020
2018
|
"required": true,
|
|
2021
2019
|
"name": "phone_number_id",
|
|
@@ -2035,7 +2033,7 @@
|
|
|
2035
2033
|
"content": {
|
|
2036
2034
|
"application/json": {
|
|
2037
2035
|
"schema": {
|
|
2038
|
-
"
|
|
2036
|
+
"anyOf": [
|
|
2039
2037
|
{
|
|
2040
2038
|
"type": "object",
|
|
2041
2039
|
"properties": {
|
|
@@ -2082,7 +2080,8 @@
|
|
|
2082
2080
|
"to",
|
|
2083
2081
|
"type",
|
|
2084
2082
|
"text"
|
|
2085
|
-
]
|
|
2083
|
+
],
|
|
2084
|
+
"title": "Text"
|
|
2086
2085
|
},
|
|
2087
2086
|
{
|
|
2088
2087
|
"type": "object",
|
|
@@ -2136,7 +2135,8 @@
|
|
|
2136
2135
|
"to",
|
|
2137
2136
|
"type",
|
|
2138
2137
|
"image"
|
|
2139
|
-
]
|
|
2138
|
+
],
|
|
2139
|
+
"title": "Image"
|
|
2140
2140
|
},
|
|
2141
2141
|
{
|
|
2142
2142
|
"type": "object",
|
|
@@ -2190,7 +2190,8 @@
|
|
|
2190
2190
|
"to",
|
|
2191
2191
|
"type",
|
|
2192
2192
|
"document"
|
|
2193
|
-
]
|
|
2193
|
+
],
|
|
2194
|
+
"title": "Document"
|
|
2194
2195
|
},
|
|
2195
2196
|
{
|
|
2196
2197
|
"type": "object",
|
|
@@ -2244,7 +2245,8 @@
|
|
|
2244
2245
|
"to",
|
|
2245
2246
|
"type",
|
|
2246
2247
|
"video"
|
|
2247
|
-
]
|
|
2248
|
+
],
|
|
2249
|
+
"title": "Video"
|
|
2248
2250
|
},
|
|
2249
2251
|
{
|
|
2250
2252
|
"type": "object",
|
|
@@ -2298,7 +2300,8 @@
|
|
|
2298
2300
|
"to",
|
|
2299
2301
|
"type",
|
|
2300
2302
|
"audio"
|
|
2301
|
-
]
|
|
2303
|
+
],
|
|
2304
|
+
"title": "Audio"
|
|
2302
2305
|
},
|
|
2303
2306
|
{
|
|
2304
2307
|
"type": "object",
|
|
@@ -2336,7 +2339,8 @@
|
|
|
2336
2339
|
{
|
|
2337
2340
|
"type": "string",
|
|
2338
2341
|
"minLength": 2,
|
|
2339
|
-
"maxLength": 15
|
|
2342
|
+
"maxLength": 15,
|
|
2343
|
+
"title": "Language code"
|
|
2340
2344
|
},
|
|
2341
2345
|
{
|
|
2342
2346
|
"type": "object",
|
|
@@ -2352,7 +2356,8 @@
|
|
|
2352
2356
|
},
|
|
2353
2357
|
"required": [
|
|
2354
2358
|
"code"
|
|
2355
|
-
]
|
|
2359
|
+
],
|
|
2360
|
+
"title": "Language object"
|
|
2356
2361
|
}
|
|
2357
2362
|
]
|
|
2358
2363
|
},
|
|
@@ -2407,7 +2412,8 @@
|
|
|
2407
2412
|
"to",
|
|
2408
2413
|
"type",
|
|
2409
2414
|
"template"
|
|
2410
|
-
]
|
|
2415
|
+
],
|
|
2416
|
+
"title": "Template"
|
|
2411
2417
|
},
|
|
2412
2418
|
{
|
|
2413
2419
|
"type": "object",
|
|
@@ -2495,7 +2501,8 @@
|
|
|
2495
2501
|
"type",
|
|
2496
2502
|
"body",
|
|
2497
2503
|
"action"
|
|
2498
|
-
]
|
|
2504
|
+
],
|
|
2505
|
+
"title": "CTA URL"
|
|
2499
2506
|
},
|
|
2500
2507
|
{
|
|
2501
2508
|
"type": "object",
|
|
@@ -2614,7 +2621,8 @@
|
|
|
2614
2621
|
"type",
|
|
2615
2622
|
"body",
|
|
2616
2623
|
"action"
|
|
2617
|
-
]
|
|
2624
|
+
],
|
|
2625
|
+
"title": "List"
|
|
2618
2626
|
},
|
|
2619
2627
|
{
|
|
2620
2628
|
"type": "object",
|
|
@@ -2683,7 +2691,8 @@
|
|
|
2683
2691
|
"required": [
|
|
2684
2692
|
"type",
|
|
2685
2693
|
"image"
|
|
2686
|
-
]
|
|
2694
|
+
],
|
|
2695
|
+
"title": "Image header"
|
|
2687
2696
|
},
|
|
2688
2697
|
{
|
|
2689
2698
|
"type": "object",
|
|
@@ -2710,7 +2719,8 @@
|
|
|
2710
2719
|
"required": [
|
|
2711
2720
|
"type",
|
|
2712
2721
|
"video"
|
|
2713
|
-
]
|
|
2722
|
+
],
|
|
2723
|
+
"title": "Video header"
|
|
2714
2724
|
}
|
|
2715
2725
|
]
|
|
2716
2726
|
},
|
|
@@ -2759,7 +2769,8 @@
|
|
|
2759
2769
|
"required": [
|
|
2760
2770
|
"name",
|
|
2761
2771
|
"parameters"
|
|
2762
|
-
]
|
|
2772
|
+
],
|
|
2773
|
+
"title": "CTA URL action"
|
|
2763
2774
|
},
|
|
2764
2775
|
{
|
|
2765
2776
|
"type": "object",
|
|
@@ -2805,7 +2816,8 @@
|
|
|
2805
2816
|
},
|
|
2806
2817
|
"required": [
|
|
2807
2818
|
"buttons"
|
|
2808
|
-
]
|
|
2819
|
+
],
|
|
2820
|
+
"title": "Quick-reply buttons"
|
|
2809
2821
|
}
|
|
2810
2822
|
]
|
|
2811
2823
|
}
|
|
@@ -2828,7 +2840,8 @@
|
|
|
2828
2840
|
"type",
|
|
2829
2841
|
"body",
|
|
2830
2842
|
"action"
|
|
2831
|
-
]
|
|
2843
|
+
],
|
|
2844
|
+
"title": "Carousel"
|
|
2832
2845
|
}
|
|
2833
2846
|
]
|
|
2834
2847
|
}
|
|
@@ -2838,7 +2851,52 @@
|
|
|
2838
2851
|
"to",
|
|
2839
2852
|
"type",
|
|
2840
2853
|
"interactive"
|
|
2841
|
-
]
|
|
2854
|
+
],
|
|
2855
|
+
"title": "Interactive"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"type": "object",
|
|
2859
|
+
"properties": {
|
|
2860
|
+
"messaging_product": {
|
|
2861
|
+
"type": "string",
|
|
2862
|
+
"enum": [
|
|
2863
|
+
"whatsapp"
|
|
2864
|
+
]
|
|
2865
|
+
},
|
|
2866
|
+
"status": {
|
|
2867
|
+
"type": "string",
|
|
2868
|
+
"enum": [
|
|
2869
|
+
"read"
|
|
2870
|
+
]
|
|
2871
|
+
},
|
|
2872
|
+
"message_id": {
|
|
2873
|
+
"type": "string",
|
|
2874
|
+
"minLength": 1,
|
|
2875
|
+
"description": "Meta WhatsApp message id (wamid) of the inbound message to mark as read. Get it from the inbound webhook payload — NOT a Kirim `msg_*` external id.",
|
|
2876
|
+
"example": "wamid.HBgNNjI4MTIzNDU2Nzg5FQIAEhggMUE5MDM1QzVDMUYxQTAyRkVCNzZDQjVDMjFFRDQzNTUA"
|
|
2877
|
+
},
|
|
2878
|
+
"typing_indicator": {
|
|
2879
|
+
"type": "object",
|
|
2880
|
+
"properties": {
|
|
2881
|
+
"type": {
|
|
2882
|
+
"type": "string",
|
|
2883
|
+
"enum": [
|
|
2884
|
+
"text"
|
|
2885
|
+
]
|
|
2886
|
+
}
|
|
2887
|
+
},
|
|
2888
|
+
"required": [
|
|
2889
|
+
"type"
|
|
2890
|
+
],
|
|
2891
|
+
"description": "Optional. When present, Meta also shows a typing indicator to the recipient that auto-dismisses on response or after ~25 seconds. Only include if you intend to respond — leaving the indicator hanging produces a poor UX."
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
"required": [
|
|
2895
|
+
"messaging_product",
|
|
2896
|
+
"status",
|
|
2897
|
+
"message_id"
|
|
2898
|
+
],
|
|
2899
|
+
"title": "Read receipt"
|
|
2842
2900
|
}
|
|
2843
2901
|
]
|
|
2844
2902
|
}
|
|
@@ -2847,7 +2905,7 @@
|
|
|
2847
2905
|
},
|
|
2848
2906
|
"responses": {
|
|
2849
2907
|
"200": {
|
|
2850
|
-
"description": "Message accepted for delivery",
|
|
2908
|
+
"description": "Message accepted for delivery, or read receipt sent.",
|
|
2851
2909
|
"content": {
|
|
2852
2910
|
"application/json": {
|
|
2853
2911
|
"schema": {
|
|
@@ -2943,7 +3001,9 @@
|
|
|
2943
3001
|
{
|
|
2944
3002
|
"schema": {
|
|
2945
3003
|
"type": "string",
|
|
2946
|
-
"pattern": "^\\d{6,20}$"
|
|
3004
|
+
"pattern": "^\\d{6,20}$",
|
|
3005
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
3006
|
+
"example": "106540352242922"
|
|
2947
3007
|
},
|
|
2948
3008
|
"required": true,
|
|
2949
3009
|
"name": "phone_number_id",
|
|
@@ -3110,7 +3170,9 @@
|
|
|
3110
3170
|
{
|
|
3111
3171
|
"schema": {
|
|
3112
3172
|
"type": "string",
|
|
3113
|
-
"pattern": "^\\d{6,20}$"
|
|
3173
|
+
"pattern": "^\\d{6,20}$",
|
|
3174
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
3175
|
+
"example": "106540352242922"
|
|
3114
3176
|
},
|
|
3115
3177
|
"required": true,
|
|
3116
3178
|
"name": "phone_number_id",
|
|
@@ -3216,7 +3278,9 @@
|
|
|
3216
3278
|
{
|
|
3217
3279
|
"schema": {
|
|
3218
3280
|
"type": "string",
|
|
3219
|
-
"pattern": "^\\d{6,20}$"
|
|
3281
|
+
"pattern": "^\\d{6,20}$",
|
|
3282
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
3283
|
+
"example": "106540352242922"
|
|
3220
3284
|
},
|
|
3221
3285
|
"required": true,
|
|
3222
3286
|
"name": "phone_number_id",
|
|
@@ -3354,7 +3418,9 @@
|
|
|
3354
3418
|
{
|
|
3355
3419
|
"schema": {
|
|
3356
3420
|
"type": "string",
|
|
3357
|
-
"pattern": "^\\d{6,20}$"
|
|
3421
|
+
"pattern": "^\\d{6,20}$",
|
|
3422
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
3423
|
+
"example": "106540352242922"
|
|
3358
3424
|
},
|
|
3359
3425
|
"required": true,
|
|
3360
3426
|
"name": "phone_number_id",
|
|
@@ -4651,7 +4717,9 @@
|
|
|
4651
4717
|
{
|
|
4652
4718
|
"schema": {
|
|
4653
4719
|
"type": "string",
|
|
4654
|
-
"pattern": "^\\d{6,20}$"
|
|
4720
|
+
"pattern": "^\\d{6,20}$",
|
|
4721
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
4722
|
+
"example": "106540352242922"
|
|
4655
4723
|
},
|
|
4656
4724
|
"required": true,
|
|
4657
4725
|
"name": "phone_number_id",
|
|
@@ -4786,7 +4854,9 @@
|
|
|
4786
4854
|
{
|
|
4787
4855
|
"schema": {
|
|
4788
4856
|
"type": "string",
|
|
4789
|
-
"pattern": "^\\d{6,20}$"
|
|
4857
|
+
"pattern": "^\\d{6,20}$",
|
|
4858
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
4859
|
+
"example": "106540352242922"
|
|
4790
4860
|
},
|
|
4791
4861
|
"required": true,
|
|
4792
4862
|
"name": "phone_number_id",
|
|
@@ -4890,7 +4960,9 @@
|
|
|
4890
4960
|
{
|
|
4891
4961
|
"schema": {
|
|
4892
4962
|
"type": "string",
|
|
4893
|
-
"pattern": "^\\d{6,20}$"
|
|
4963
|
+
"pattern": "^\\d{6,20}$",
|
|
4964
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
4965
|
+
"example": "106540352242922"
|
|
4894
4966
|
},
|
|
4895
4967
|
"required": true,
|
|
4896
4968
|
"name": "phone_number_id",
|
|
@@ -5023,7 +5095,9 @@
|
|
|
5023
5095
|
{
|
|
5024
5096
|
"schema": {
|
|
5025
5097
|
"type": "string",
|
|
5026
|
-
"pattern": "^\\d{6,20}$"
|
|
5098
|
+
"pattern": "^\\d{6,20}$",
|
|
5099
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5100
|
+
"example": "106540352242922"
|
|
5027
5101
|
},
|
|
5028
5102
|
"required": true,
|
|
5029
5103
|
"name": "phone_number_id",
|
|
@@ -5031,8 +5105,7 @@
|
|
|
5031
5105
|
},
|
|
5032
5106
|
{
|
|
5033
5107
|
"schema": {
|
|
5034
|
-
"type": "string"
|
|
5035
|
-
"pattern": "^\\+[1-9]\\d{6,14}$"
|
|
5108
|
+
"type": "string"
|
|
5036
5109
|
},
|
|
5037
5110
|
"required": false,
|
|
5038
5111
|
"name": "phone",
|
|
@@ -5154,7 +5227,9 @@
|
|
|
5154
5227
|
{
|
|
5155
5228
|
"schema": {
|
|
5156
5229
|
"type": "string",
|
|
5157
|
-
"pattern": "^\\d{6,20}$"
|
|
5230
|
+
"pattern": "^\\d{6,20}$",
|
|
5231
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5232
|
+
"example": "106540352242922"
|
|
5158
5233
|
},
|
|
5159
5234
|
"required": true,
|
|
5160
5235
|
"name": "phone_number_id",
|
|
@@ -5168,8 +5243,7 @@
|
|
|
5168
5243
|
"type": "object",
|
|
5169
5244
|
"properties": {
|
|
5170
5245
|
"phone_number": {
|
|
5171
|
-
"type": "string"
|
|
5172
|
-
"pattern": "^\\+[1-9]\\d{6,14}$"
|
|
5246
|
+
"type": "string"
|
|
5173
5247
|
},
|
|
5174
5248
|
"name": {
|
|
5175
5249
|
"type": "string",
|
|
@@ -5285,7 +5359,9 @@
|
|
|
5285
5359
|
{
|
|
5286
5360
|
"schema": {
|
|
5287
5361
|
"type": "string",
|
|
5288
|
-
"pattern": "^\\d{6,20}$"
|
|
5362
|
+
"pattern": "^\\d{6,20}$",
|
|
5363
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5364
|
+
"example": "106540352242922"
|
|
5289
5365
|
},
|
|
5290
5366
|
"required": true,
|
|
5291
5367
|
"name": "phone_number_id",
|
|
@@ -5389,7 +5465,9 @@
|
|
|
5389
5465
|
{
|
|
5390
5466
|
"schema": {
|
|
5391
5467
|
"type": "string",
|
|
5392
|
-
"pattern": "^\\d{6,20}$"
|
|
5468
|
+
"pattern": "^\\d{6,20}$",
|
|
5469
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5470
|
+
"example": "106540352242922"
|
|
5393
5471
|
},
|
|
5394
5472
|
"required": true,
|
|
5395
5473
|
"name": "phone_number_id",
|
|
@@ -5537,7 +5615,9 @@
|
|
|
5537
5615
|
{
|
|
5538
5616
|
"schema": {
|
|
5539
5617
|
"type": "string",
|
|
5540
|
-
"pattern": "^\\d{6,20}$"
|
|
5618
|
+
"pattern": "^\\d{6,20}$",
|
|
5619
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5620
|
+
"example": "106540352242922"
|
|
5541
5621
|
},
|
|
5542
5622
|
"required": true,
|
|
5543
5623
|
"name": "phone_number_id",
|
|
@@ -5643,7 +5723,9 @@
|
|
|
5643
5723
|
{
|
|
5644
5724
|
"schema": {
|
|
5645
5725
|
"type": "string",
|
|
5646
|
-
"pattern": "^\\d{6,20}$"
|
|
5726
|
+
"pattern": "^\\d{6,20}$",
|
|
5727
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5728
|
+
"example": "106540352242922"
|
|
5647
5729
|
},
|
|
5648
5730
|
"required": true,
|
|
5649
5731
|
"name": "phone_number_id",
|
|
@@ -5750,7 +5832,9 @@
|
|
|
5750
5832
|
{
|
|
5751
5833
|
"schema": {
|
|
5752
5834
|
"type": "string",
|
|
5753
|
-
"pattern": "^\\d{6,20}$"
|
|
5835
|
+
"pattern": "^\\d{6,20}$",
|
|
5836
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5837
|
+
"example": "106540352242922"
|
|
5754
5838
|
},
|
|
5755
5839
|
"required": true,
|
|
5756
5840
|
"name": "phone_number_id",
|
|
@@ -5873,7 +5957,9 @@
|
|
|
5873
5957
|
{
|
|
5874
5958
|
"schema": {
|
|
5875
5959
|
"type": "string",
|
|
5876
|
-
"pattern": "^\\d{6,20}$"
|
|
5960
|
+
"pattern": "^\\d{6,20}$",
|
|
5961
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
5962
|
+
"example": "106540352242922"
|
|
5877
5963
|
},
|
|
5878
5964
|
"required": true,
|
|
5879
5965
|
"name": "phone_number_id",
|
|
@@ -5988,7 +6074,9 @@
|
|
|
5988
6074
|
{
|
|
5989
6075
|
"schema": {
|
|
5990
6076
|
"type": "string",
|
|
5991
|
-
"pattern": "^\\d{6,20}$"
|
|
6077
|
+
"pattern": "^\\d{6,20}$",
|
|
6078
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
6079
|
+
"example": "106540352242922"
|
|
5992
6080
|
},
|
|
5993
6081
|
"required": true,
|
|
5994
6082
|
"name": "phone_number_id",
|
|
@@ -6120,7 +6208,9 @@
|
|
|
6120
6208
|
{
|
|
6121
6209
|
"schema": {
|
|
6122
6210
|
"type": "string",
|
|
6123
|
-
"pattern": "^\\d{6,20}$"
|
|
6211
|
+
"pattern": "^\\d{6,20}$",
|
|
6212
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
6213
|
+
"example": "106540352242922"
|
|
6124
6214
|
},
|
|
6125
6215
|
"required": true,
|
|
6126
6216
|
"name": "phone_number_id",
|
|
@@ -6243,7 +6333,9 @@
|
|
|
6243
6333
|
{
|
|
6244
6334
|
"schema": {
|
|
6245
6335
|
"type": "string",
|
|
6246
|
-
"pattern": "^\\d{6,20}$"
|
|
6336
|
+
"pattern": "^\\d{6,20}$",
|
|
6337
|
+
"description": "Meta WhatsApp Business `phone_number_id` of the connected account that should send / own this resource. Discoverable via `GET /v1/accounts` (returned as `phone_number_id` on each row).",
|
|
6338
|
+
"example": "106540352242922"
|
|
6247
6339
|
},
|
|
6248
6340
|
"required": true,
|
|
6249
6341
|
"name": "phone_number_id",
|