@zernio/node 0.2.817 → 0.2.819
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 +28 -2
- package/dist/index.d.mts +763 -23
- package/dist/index.d.ts +763 -23
- package/dist/index.js +162 -7
- package/dist/index.mjs +162 -7
- package/package.json +1 -1
- package/src/client.ts +52 -6
- package/src/generated/sdk.gen.ts +235 -3
- package/src/generated/types.gen.ts +814 -16
package/README.md
CHANGED
|
@@ -510,8 +510,6 @@ try {
|
|
|
510
510
|
### Ad Creatives
|
|
511
511
|
| Method | Description |
|
|
512
512
|
|--------|-------------|
|
|
513
|
-
| `adCreatives.listAdCatalogProductSets()` | List a catalog's product sets |
|
|
514
|
-
| `adCreatives.listAdCatalogs()` | List Meta product catalogs |
|
|
515
513
|
| `adCreatives.listAdCreatives()` | Creative library |
|
|
516
514
|
| `adCreatives.listAdImages()` | Ad image library |
|
|
517
515
|
| `adCreatives.listAdVideos()` | Ad video library |
|
|
@@ -897,6 +895,29 @@ try {
|
|
|
897
895
|
| `phoneNumbers.validatePhoneNumberKycAddress()` | Pre-validate KYC address |
|
|
898
896
|
| `phoneNumbers.viewPhoneNumberKycDocument()` | View a KYC document on file |
|
|
899
897
|
|
|
898
|
+
### Product Catalogs
|
|
899
|
+
| Method | Description |
|
|
900
|
+
|--------|-------------|
|
|
901
|
+
| `productCatalogs.listAdCatalogFeeds()` | List a catalog's product feeds |
|
|
902
|
+
| `productCatalogs.listAdCatalogFeedUploads()` | List a feed's uploads |
|
|
903
|
+
| `productCatalogs.listAdCatalogProducts()` | List a catalog's products |
|
|
904
|
+
| `productCatalogs.listAdCatalogProductSets()` | List a catalog's product sets |
|
|
905
|
+
| `productCatalogs.listAdCatalogs()` | List Meta product catalogs |
|
|
906
|
+
| `productCatalogs.createAdCatalog()` | Create a Meta product catalog |
|
|
907
|
+
| `productCatalogs.createAdCatalogFeed()` | Create a product feed |
|
|
908
|
+
| `productCatalogs.createAdCatalogFeedUpload()` | Fetch a feed file now |
|
|
909
|
+
| `productCatalogs.createAdCatalogProduct()` | Add a product to a catalog |
|
|
910
|
+
| `productCatalogs.createAdCatalogProductSet()` | Create a product set |
|
|
911
|
+
| `productCatalogs.getAdCatalog()` | Get a product catalog |
|
|
912
|
+
| `productCatalogs.getAdCatalogBatch()` | Get a bulk request's status |
|
|
913
|
+
| `productCatalogs.getAdCatalogProduct()` | Get a product |
|
|
914
|
+
| `productCatalogs.updateAdCatalogProduct()` | Update a product |
|
|
915
|
+
| `productCatalogs.updateAdCatalogProductSet()` | Update a product set |
|
|
916
|
+
| `productCatalogs.deleteAdCatalog()` | Delete a product catalog |
|
|
917
|
+
| `productCatalogs.deleteAdCatalogProduct()` | Delete a product |
|
|
918
|
+
| `productCatalogs.deleteAdCatalogProductSet()` | Delete a product set |
|
|
919
|
+
| `productCatalogs.batchAdCatalogProducts()` | Create, update or delete products in bulk |
|
|
920
|
+
|
|
900
921
|
### Products
|
|
901
922
|
| Method | Description |
|
|
902
923
|
|--------|-------------|
|
|
@@ -1031,6 +1052,7 @@ try {
|
|
|
1031
1052
|
| Method | Description |
|
|
1032
1053
|
|--------|-------------|
|
|
1033
1054
|
| `whatsapp.listWhatsAppAccountEvents()` | List account notifications |
|
|
1055
|
+
| `whatsapp.listWhatsAppCatalogs()` | List the catalogs linked to a WhatsApp number |
|
|
1034
1056
|
| `whatsapp.listWhatsAppConversions()` | List conversion events |
|
|
1035
1057
|
| `whatsapp.listWhatsAppGroupChats()` | List active groups |
|
|
1036
1058
|
| `whatsapp.listWhatsAppGroupJoinRequests()` | List join requests |
|
|
@@ -1043,6 +1065,7 @@ try {
|
|
|
1043
1065
|
| `whatsapp.getWhatsAppBusinessProfile()` | Get business profile |
|
|
1044
1066
|
| `whatsapp.getWhatsappBusinessUsername()` | Get business username |
|
|
1045
1067
|
| `whatsapp.getWhatsappBusinessUsernameSuggestions()` | Get username suggestions |
|
|
1068
|
+
| `whatsapp.getWhatsAppCommerceSettings()` | Get a number's commerce settings |
|
|
1046
1069
|
| `whatsapp.getWhatsAppDataset()` | Get CTWA conversions dataset |
|
|
1047
1070
|
| `whatsapp.getWhatsAppDisplayName()` | Get display name status |
|
|
1048
1071
|
| `whatsapp.getWhatsAppGroupChat()` | Get group info |
|
|
@@ -1051,6 +1074,7 @@ try {
|
|
|
1051
1074
|
| `whatsapp.getWhatsAppTemplateById()` | Get template by id |
|
|
1052
1075
|
| `whatsapp.getWhatsAppTemplates()` | List templates |
|
|
1053
1076
|
| `whatsapp.updateWhatsAppBusinessProfile()` | Update business profile |
|
|
1077
|
+
| `whatsapp.updateWhatsAppCommerceSettings()` | Update a number's commerce settings |
|
|
1054
1078
|
| `whatsapp.updateWhatsAppDisplayName()` | Request display name change |
|
|
1055
1079
|
| `whatsapp.updateWhatsAppGroupChat()` | Update group settings |
|
|
1056
1080
|
| `whatsapp.updateWhatsAppTemplate()` | Update template |
|
|
@@ -1062,6 +1086,7 @@ try {
|
|
|
1062
1086
|
| `whatsapp.addWhatsAppGroupParticipants()` | Add participants |
|
|
1063
1087
|
| `whatsapp.approveWhatsAppGroupJoinRequests()` | Approve join requests |
|
|
1064
1088
|
| `whatsapp.blockWhatsAppUsers()` | Block users |
|
|
1089
|
+
| `whatsapp.linkWhatsAppCatalog()` | Link a catalog to a WhatsApp number |
|
|
1065
1090
|
| `whatsapp.registerWhatsAppNumber()` | Register a connected WhatsApp number on the Cloud API |
|
|
1066
1091
|
| `whatsapp.rejectWhatsAppGroupJoinRequests()` | Reject join requests |
|
|
1067
1092
|
| `whatsapp.removeWhatsAppGroupParticipants()` | Remove participants |
|
|
@@ -1069,6 +1094,7 @@ try {
|
|
|
1069
1094
|
| `whatsapp.sendWhatsAppConversion()` | Send WhatsApp conversion event |
|
|
1070
1095
|
| `whatsapp.setWhatsappBusinessUsername()` | Set business username |
|
|
1071
1096
|
| `whatsapp.unblockWhatsAppUsers()` | Unblock users |
|
|
1097
|
+
| `whatsapp.unlinkWhatsAppCatalog()` | Unlink a catalog from a WhatsApp number |
|
|
1072
1098
|
| `whatsapp.uploadWhatsAppProfilePhoto()` | Upload profile picture |
|
|
1073
1099
|
| `whatsapp.verifyWhatsAppNumber()` | Verify the Meta re-verification code for a BYO WhatsApp number |
|
|
1074
1100
|
|