samva 0.43.3 → 0.45.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.
Files changed (103) hide show
  1. package/AGENTS.md +3 -0
  2. package/README.md +4 -0
  3. package/dist/client/sdk.gen.d.ts +308 -2
  4. package/dist/client/sdk.gen.js +937 -2
  5. package/dist/client/types.gen.d.ts +2294 -54
  6. package/dist/effect/agents.d.ts +86 -86
  7. package/dist/effect/agents.js +2 -2
  8. package/dist/effect/api-keys.d.ts +36 -36
  9. package/dist/effect/api-keys.js +2 -2
  10. package/dist/effect/attachments.d.ts +3 -3
  11. package/dist/effect/attachments.js +1 -1
  12. package/dist/effect/campaigns.d.ts +250 -250
  13. package/dist/effect/campaigns.js +3 -3
  14. package/dist/effect/categories.d.ts +23 -5
  15. package/dist/effect/categories.js +11 -20
  16. package/dist/effect/contact-groups.d.ts +44 -44
  17. package/dist/effect/contact-groups.js +3 -3
  18. package/dist/effect/contacts.d.ts +3 -3
  19. package/dist/effect/contacts.js +1 -1
  20. package/dist/effect/conversations.d.ts +53 -53
  21. package/dist/effect/conversations.js +1 -1
  22. package/dist/effect/email.d.ts +99 -97
  23. package/dist/effect/email.js +21 -21
  24. package/dist/effect/errors.d.ts +1 -1
  25. package/dist/effect/errors.js +2 -2
  26. package/dist/effect/extension-installations.d.ts +6 -6
  27. package/dist/effect/extension-installations.js +1 -1
  28. package/dist/effect/generated/campaigns.js +2 -2
  29. package/dist/effect/generated/email.d.ts +7 -0
  30. package/dist/effect/generated/email.js +8 -9
  31. package/dist/effect/generated/index.d.ts +9 -1
  32. package/dist/effect/generated/journeys.d.ts +1 -3
  33. package/dist/effect/generated/journeys.js +2 -6
  34. package/dist/effect/generated/mailboxes.d.ts +14 -14
  35. package/dist/effect/generated/mailboxes.js +2 -0
  36. package/dist/effect/generated/messages.d.ts +1 -5
  37. package/dist/effect/generated/messages.js +2 -10
  38. package/dist/effect/generated/newsletter-issues.js +29 -29
  39. package/dist/effect/generated/organizations.js +2 -2
  40. package/dist/effect/generated/scheduled-messages.js +3 -3
  41. package/dist/effect/generated/shared.d.ts +112 -2
  42. package/dist/effect/generated/shared.js +66 -25
  43. package/dist/effect/generated/subscriptions.js +4 -4
  44. package/dist/effect/generated/template-registrations.d.ts +651 -0
  45. package/dist/effect/generated/template-registrations.js +138 -0
  46. package/dist/effect/generated/templates.d.ts +789 -6
  47. package/dist/effect/generated/templates.js +156 -54
  48. package/dist/effect/generated/whats-app-flows.d.ts +1838 -0
  49. package/dist/effect/generated/whats-app-flows.js +338 -0
  50. package/dist/effect/generated/whats-app-setup-links.d.ts +705 -0
  51. package/dist/effect/generated/whats-app-setup-links.js +150 -0
  52. package/dist/effect/generated/whats-app.d.ts +2089 -0
  53. package/dist/effect/generated/whats-app.js +633 -0
  54. package/dist/effect/generated-metadata.d.ts +257 -0
  55. package/dist/effect/generated-metadata.js +223 -48
  56. package/dist/effect/index.d.ts +4 -0
  57. package/dist/effect/index.js +6 -2
  58. package/dist/effect/mailboxes.d.ts +301 -301
  59. package/dist/effect/mailboxes.js +3 -3
  60. package/dist/effect/media.d.ts +4 -4
  61. package/dist/effect/media.js +2 -2
  62. package/dist/effect/messages.d.ts +17 -17
  63. package/dist/effect/messages.js +4 -4
  64. package/dist/effect/namespaces.d.ts +5 -5
  65. package/dist/effect/namespaces.js +1 -1
  66. package/dist/effect/newsletter-issues.d.ts +8 -8
  67. package/dist/effect/newsletter-issues.js +2 -2
  68. package/dist/effect/newsletters.d.ts +3 -3
  69. package/dist/effect/newsletters.js +1 -1
  70. package/dist/effect/organizations.d.ts +10 -10
  71. package/dist/effect/organizations.js +1 -1
  72. package/dist/effect/runtime.d.ts +2 -0
  73. package/dist/effect/runtime.js +2 -1
  74. package/dist/effect/scheduled-messages.d.ts +839 -839
  75. package/dist/effect/scheduled-messages.js +1 -1
  76. package/dist/effect/template-registrations.d.ts +12 -0
  77. package/dist/effect/template-registrations.js +16 -0
  78. package/dist/effect/templates.d.ts +66 -56
  79. package/dist/effect/templates.js +16 -12
  80. package/dist/effect/topic-forms.d.ts +4 -4
  81. package/dist/effect/topic-forms.js +1 -1
  82. package/dist/effect/topics.d.ts +11 -11
  83. package/dist/effect/topics.js +2 -2
  84. package/dist/effect/webhooks.d.ts +18 -18
  85. package/dist/effect/webhooks.js +3 -3
  86. package/dist/effect/whatsapp-flows.d.ts +34 -0
  87. package/dist/effect/whatsapp-flows.js +30 -0
  88. package/dist/effect/whatsapp-setup-links.d.ts +66 -0
  89. package/dist/effect/whatsapp-setup-links.js +18 -0
  90. package/dist/effect/whatsapp.d.ts +51 -0
  91. package/dist/effect/whatsapp.js +34 -0
  92. package/dist/index.js +2 -2
  93. package/dist/mailbox/types.d.ts +2 -1
  94. package/dist/package.js +1 -1
  95. package/dist/promises/client.d.ts +9 -1
  96. package/dist/promises/client.js +11 -3
  97. package/dist/promises/errors.gen.d.ts +38 -2
  98. package/dist/promises/errors.gen.js +160 -3
  99. package/dist/promises/index.js +2 -2
  100. package/dist/promises/types.gen.d.ts +1 -1
  101. package/dist/service-map.d.ts +923 -734
  102. package/dist/service-map.js +288 -233
  103. package/package.json +27 -11
@@ -19,6 +19,23 @@ export declare const SamvaErrorMetadata: {
19
19
  readonly categories: readonly ["conflict"];
20
20
  readonly retryable: false;
21
21
  };
22
+ readonly CredentialsError: {
23
+ readonly categories: readonly [];
24
+ readonly retryable: false;
25
+ readonly rules: {
26
+ readonly field: "retryable";
27
+ readonly cases: {
28
+ readonly true: {
29
+ readonly categories: readonly ["transient"];
30
+ readonly retryable: true;
31
+ };
32
+ readonly false: {
33
+ readonly categories: readonly [];
34
+ readonly retryable: false;
35
+ };
36
+ };
37
+ };
38
+ };
22
39
  readonly DeliveryUnavailableError: {
23
40
  readonly categories: readonly ["transient"];
24
41
  readonly retryable: true;
@@ -26,6 +43,27 @@ export declare const SamvaErrorMetadata: {
26
43
  readonly EmailChannelError: {
27
44
  readonly categories: readonly [];
28
45
  readonly retryable: false;
46
+ readonly rules: {
47
+ readonly field: "reason";
48
+ readonly cases: {
49
+ readonly transport: {
50
+ readonly categories: readonly ["transient"];
51
+ readonly retryable: true;
52
+ };
53
+ readonly rejected: {
54
+ readonly categories: readonly ["validation"];
55
+ readonly retryable: false;
56
+ };
57
+ readonly rate_limited: {
58
+ readonly categories: readonly ["throttling", "transient"];
59
+ readonly retryable: true;
60
+ };
61
+ readonly auth: {
62
+ readonly categories: readonly ["auth"];
63
+ readonly retryable: false;
64
+ };
65
+ };
66
+ };
29
67
  };
30
68
  readonly ExternalServiceError: {
31
69
  readonly categories: readonly ["transient"];
@@ -103,10 +141,43 @@ export declare const SamvaErrorMetadata: {
103
141
  readonly categories: readonly ["validation"];
104
142
  readonly retryable: false;
105
143
  };
144
+ readonly WhatsAppChannelError: {
145
+ readonly categories: readonly [];
146
+ readonly retryable: false;
147
+ readonly rules: {
148
+ readonly field: "reason";
149
+ readonly cases: {
150
+ readonly transport: {
151
+ readonly categories: readonly ["transient"];
152
+ readonly retryable: true;
153
+ };
154
+ readonly rejected: {
155
+ readonly categories: readonly ["validation"];
156
+ readonly retryable: false;
157
+ };
158
+ readonly rate_limited: {
159
+ readonly categories: readonly ["throttling", "transient"];
160
+ readonly retryable: true;
161
+ };
162
+ readonly auth: {
163
+ readonly categories: readonly ["auth"];
164
+ readonly retryable: false;
165
+ };
166
+ readonly unsupported: {
167
+ readonly categories: readonly [];
168
+ readonly retryable: false;
169
+ };
170
+ };
171
+ };
172
+ };
106
173
  readonly WhatsAppServiceWindowClosedError: {
107
174
  readonly categories: readonly [];
108
175
  readonly retryable: false;
109
176
  };
177
+ readonly WhatsAppSetupLinkUnavailableError: {
178
+ readonly categories: readonly [];
179
+ readonly retryable: false;
180
+ };
110
181
  };
111
182
  export declare const SamvaOperations: {
112
183
  readonly agentsList: {
@@ -2105,6 +2176,24 @@ export declare const SamvaOperations: {
2105
2176
  readonly idempotent: false;
2106
2177
  readonly paginated: false;
2107
2178
  };
2179
+ readonly templateRegistrationsList: {
2180
+ readonly group: "Template registrations";
2181
+ readonly method: "GET";
2182
+ readonly idempotent: false;
2183
+ readonly paginated: false;
2184
+ };
2185
+ readonly templateRegistrationsSubmit: {
2186
+ readonly group: "Template registrations";
2187
+ readonly method: "POST";
2188
+ readonly idempotent: false;
2189
+ readonly paginated: false;
2190
+ };
2191
+ readonly templateRegistrationsGet: {
2192
+ readonly group: "Template registrations";
2193
+ readonly method: "GET";
2194
+ readonly idempotent: false;
2195
+ readonly paginated: false;
2196
+ };
2108
2197
  readonly templatesGetGitRepository: {
2109
2198
  readonly group: "Templates";
2110
2199
  readonly method: "GET";
@@ -2237,6 +2326,12 @@ export declare const SamvaOperations: {
2237
2326
  readonly idempotent: false;
2238
2327
  readonly paginated: false;
2239
2328
  };
2329
+ readonly templatesCreateFromBrief: {
2330
+ readonly group: "Templates";
2331
+ readonly method: "POST";
2332
+ readonly idempotent: true;
2333
+ readonly paginated: false;
2334
+ };
2240
2335
  readonly templatesCreateFromWebsite: {
2241
2336
  readonly group: "Templates";
2242
2337
  readonly method: "POST";
@@ -2255,6 +2350,12 @@ export declare const SamvaOperations: {
2255
2350
  readonly idempotent: false;
2256
2351
  readonly paginated: false;
2257
2352
  };
2353
+ readonly templatesSuggestStarters: {
2354
+ readonly group: "Templates";
2355
+ readonly method: "POST";
2356
+ readonly idempotent: false;
2357
+ readonly paginated: false;
2358
+ };
2258
2359
  readonly topicsList: {
2259
2360
  readonly group: "Topics";
2260
2361
  readonly method: "GET";
@@ -2405,6 +2506,162 @@ export declare const SamvaOperations: {
2405
2506
  readonly idempotent: false;
2406
2507
  readonly paginated: false;
2407
2508
  };
2509
+ readonly whatsappListBusinessAccounts: {
2510
+ readonly group: "WhatsApp";
2511
+ readonly method: "GET";
2512
+ readonly idempotent: false;
2513
+ readonly paginated: false;
2514
+ };
2515
+ readonly whatsappConnectBusinessAccount: {
2516
+ readonly group: "WhatsApp";
2517
+ readonly method: "POST";
2518
+ readonly idempotent: false;
2519
+ readonly paginated: false;
2520
+ };
2521
+ readonly whatsappGetBusinessAccount: {
2522
+ readonly group: "WhatsApp";
2523
+ readonly method: "GET";
2524
+ readonly idempotent: false;
2525
+ readonly paginated: false;
2526
+ };
2527
+ readonly whatsappDisconnectBusinessAccount: {
2528
+ readonly group: "WhatsApp";
2529
+ readonly method: "DELETE";
2530
+ readonly idempotent: false;
2531
+ readonly paginated: false;
2532
+ };
2533
+ readonly whatsappUpdateBusinessAccount: {
2534
+ readonly group: "WhatsApp";
2535
+ readonly method: "PATCH";
2536
+ readonly idempotent: false;
2537
+ readonly paginated: false;
2538
+ };
2539
+ readonly whatsappSetDefaultBusinessAccount: {
2540
+ readonly group: "WhatsApp";
2541
+ readonly method: "POST";
2542
+ readonly idempotent: false;
2543
+ readonly paginated: false;
2544
+ };
2545
+ readonly whatsappSyncAccountStatus: {
2546
+ readonly group: "WhatsApp";
2547
+ readonly method: "POST";
2548
+ readonly idempotent: false;
2549
+ readonly paginated: false;
2550
+ };
2551
+ readonly whatsappFlowsList: {
2552
+ readonly group: "WhatsApp flows";
2553
+ readonly method: "GET";
2554
+ readonly idempotent: false;
2555
+ readonly paginated: false;
2556
+ };
2557
+ readonly whatsappFlowsCreate: {
2558
+ readonly group: "WhatsApp flows";
2559
+ readonly method: "POST";
2560
+ readonly idempotent: false;
2561
+ readonly paginated: false;
2562
+ };
2563
+ readonly whatsappFlowsGet: {
2564
+ readonly group: "WhatsApp flows";
2565
+ readonly method: "GET";
2566
+ readonly idempotent: false;
2567
+ readonly paginated: false;
2568
+ };
2569
+ readonly whatsappFlowsSetEndpoint: {
2570
+ readonly group: "WhatsApp flows";
2571
+ readonly method: "PUT";
2572
+ readonly idempotent: false;
2573
+ readonly paginated: false;
2574
+ };
2575
+ readonly whatsappFlowsRotateEndpointSecret: {
2576
+ readonly group: "WhatsApp flows";
2577
+ readonly method: "POST";
2578
+ readonly idempotent: false;
2579
+ readonly paginated: false;
2580
+ };
2581
+ readonly whatsappFlowsListRegistrations: {
2582
+ readonly group: "WhatsApp flows";
2583
+ readonly method: "GET";
2584
+ readonly idempotent: false;
2585
+ readonly paginated: false;
2586
+ };
2587
+ readonly whatsappFlowsRegister: {
2588
+ readonly group: "WhatsApp flows";
2589
+ readonly method: "POST";
2590
+ readonly idempotent: false;
2591
+ readonly paginated: false;
2592
+ };
2593
+ readonly whatsappFlowsListVersions: {
2594
+ readonly group: "WhatsApp flows";
2595
+ readonly method: "GET";
2596
+ readonly idempotent: false;
2597
+ readonly paginated: false;
2598
+ };
2599
+ readonly whatsappFlowsRecordVersion: {
2600
+ readonly group: "WhatsApp flows";
2601
+ readonly method: "POST";
2602
+ readonly idempotent: false;
2603
+ readonly paginated: false;
2604
+ };
2605
+ readonly whatsappFlowsRotateEncryptionKey: {
2606
+ readonly group: "WhatsApp flows";
2607
+ readonly method: "POST";
2608
+ readonly idempotent: false;
2609
+ readonly paginated: false;
2610
+ };
2611
+ readonly whatsappGetMediaDownloadUrl: {
2612
+ readonly group: "WhatsApp";
2613
+ readonly method: "GET";
2614
+ readonly idempotent: false;
2615
+ readonly paginated: false;
2616
+ };
2617
+ readonly whatsappGetServiceWindowBilling: {
2618
+ readonly group: "WhatsApp";
2619
+ readonly method: "GET";
2620
+ readonly idempotent: false;
2621
+ readonly paginated: false;
2622
+ };
2623
+ readonly whatsappGetServiceWindowStatus: {
2624
+ readonly group: "WhatsApp";
2625
+ readonly method: "GET";
2626
+ readonly idempotent: false;
2627
+ readonly paginated: false;
2628
+ };
2629
+ readonly whatsappSetupLinksList: {
2630
+ readonly group: "WhatsApp setup links";
2631
+ readonly method: "GET";
2632
+ readonly idempotent: false;
2633
+ readonly paginated: true;
2634
+ };
2635
+ readonly whatsappSetupLinksCreate: {
2636
+ readonly group: "WhatsApp setup links";
2637
+ readonly method: "POST";
2638
+ readonly idempotent: false;
2639
+ readonly paginated: false;
2640
+ };
2641
+ readonly whatsappSetupLinksGet: {
2642
+ readonly group: "WhatsApp setup links";
2643
+ readonly method: "GET";
2644
+ readonly idempotent: false;
2645
+ readonly paginated: false;
2646
+ };
2647
+ readonly whatsappSetupLinksRevoke: {
2648
+ readonly group: "WhatsApp setup links";
2649
+ readonly method: "POST";
2650
+ readonly idempotent: false;
2651
+ readonly paginated: false;
2652
+ };
2653
+ readonly whatsappGetStats: {
2654
+ readonly group: "WhatsApp";
2655
+ readonly method: "GET";
2656
+ readonly idempotent: false;
2657
+ readonly paginated: false;
2658
+ };
2659
+ readonly whatsappGetTemplateStats: {
2660
+ readonly group: "WhatsApp";
2661
+ readonly method: "GET";
2662
+ readonly idempotent: false;
2663
+ readonly paginated: false;
2664
+ };
2408
2665
  readonly whoamiGet: {
2409
2666
  readonly group: "Whoami";
2410
2667
  readonly method: "GET";
@@ -20,13 +20,51 @@ const SamvaErrorMetadata = {
20
20
  categories: ["conflict"],
21
21
  retryable: false
22
22
  },
23
+ CredentialsError: {
24
+ categories: [],
25
+ retryable: false,
26
+ rules: {
27
+ field: "retryable",
28
+ cases: {
29
+ true: {
30
+ categories: ["transient"],
31
+ retryable: true
32
+ },
33
+ false: {
34
+ categories: [],
35
+ retryable: false
36
+ }
37
+ }
38
+ }
39
+ },
23
40
  DeliveryUnavailableError: {
24
41
  categories: ["transient"],
25
42
  retryable: true
26
43
  },
27
44
  EmailChannelError: {
28
45
  categories: [],
29
- retryable: false
46
+ retryable: false,
47
+ rules: {
48
+ field: "reason",
49
+ cases: {
50
+ transport: {
51
+ categories: ["transient"],
52
+ retryable: true
53
+ },
54
+ rejected: {
55
+ categories: ["validation"],
56
+ retryable: false
57
+ },
58
+ rate_limited: {
59
+ categories: ["throttling", "transient"],
60
+ retryable: true
61
+ },
62
+ auth: {
63
+ categories: ["auth"],
64
+ retryable: false
65
+ }
66
+ }
67
+ }
30
68
  },
31
69
  ExternalServiceError: {
32
70
  categories: ["transient"],
@@ -104,9 +142,42 @@ const SamvaErrorMetadata = {
104
142
  categories: ["validation"],
105
143
  retryable: false
106
144
  },
145
+ WhatsAppChannelError: {
146
+ categories: [],
147
+ retryable: false,
148
+ rules: {
149
+ field: "reason",
150
+ cases: {
151
+ transport: {
152
+ categories: ["transient"],
153
+ retryable: true
154
+ },
155
+ rejected: {
156
+ categories: ["validation"],
157
+ retryable: false
158
+ },
159
+ rate_limited: {
160
+ categories: ["throttling", "transient"],
161
+ retryable: true
162
+ },
163
+ auth: {
164
+ categories: ["auth"],
165
+ retryable: false
166
+ },
167
+ unsupported: {
168
+ categories: [],
169
+ retryable: false
170
+ }
171
+ }
172
+ }
173
+ },
107
174
  WhatsAppServiceWindowClosedError: {
108
175
  categories: [],
109
176
  retryable: false
177
+ },
178
+ WhatsAppSetupLinkUnavailableError: {
179
+ categories: [],
180
+ retryable: false
110
181
  }
111
182
  };
112
183
  const operationMetadata0 = {
@@ -816,89 +887,167 @@ const operationMetadata116 = {
816
887
  paginated: false
817
888
  };
818
889
  const operationMetadata117 = {
890
+ group: "Template registrations",
891
+ method: "GET",
892
+ idempotent: false,
893
+ paginated: false
894
+ };
895
+ const operationMetadata118 = {
896
+ group: "Template registrations",
897
+ method: "POST",
898
+ idempotent: false,
899
+ paginated: false
900
+ };
901
+ const operationMetadata119 = {
819
902
  group: "Templates",
820
903
  method: "PATCH",
821
904
  idempotent: true,
822
905
  paginated: false
823
906
  };
824
- const operationMetadata118 = {
907
+ const operationMetadata120 = {
825
908
  group: "Templates",
826
909
  method: "PUT",
827
910
  idempotent: true,
828
911
  paginated: false
829
912
  };
830
- const operationMetadata119 = {
913
+ const operationMetadata121 = {
831
914
  group: "Topics",
832
915
  method: "GET",
833
916
  idempotent: false,
834
917
  paginated: false
835
918
  };
836
- const operationMetadata120 = {
919
+ const operationMetadata122 = {
837
920
  group: "Topics",
838
921
  method: "POST",
839
922
  idempotent: false,
840
923
  paginated: false
841
924
  };
842
- const operationMetadata121 = {
925
+ const operationMetadata123 = {
843
926
  group: "Topics",
844
927
  method: "DELETE",
845
928
  idempotent: false,
846
929
  paginated: false
847
930
  };
848
- const operationMetadata122 = {
931
+ const operationMetadata124 = {
849
932
  group: "Topics",
850
933
  method: "PATCH",
851
934
  idempotent: false,
852
935
  paginated: false
853
936
  };
854
- const operationMetadata123 = {
937
+ const operationMetadata125 = {
855
938
  group: "Topic forms",
856
939
  method: "GET",
857
940
  idempotent: false,
858
941
  paginated: false
859
942
  };
860
- const operationMetadata124 = {
943
+ const operationMetadata126 = {
861
944
  group: "Topic forms",
862
945
  method: "POST",
863
946
  idempotent: false,
864
947
  paginated: false
865
948
  };
866
- const operationMetadata125 = {
949
+ const operationMetadata127 = {
867
950
  group: "Topic forms",
868
951
  method: "DELETE",
869
952
  idempotent: false,
870
953
  paginated: false
871
954
  };
872
- const operationMetadata126 = {
955
+ const operationMetadata128 = {
873
956
  group: "Topic forms",
874
957
  method: "PATCH",
875
958
  idempotent: false,
876
959
  paginated: false
877
960
  };
878
- const operationMetadata127 = {
961
+ const operationMetadata129 = {
879
962
  group: "Topics",
880
963
  method: "GET",
881
964
  idempotent: false,
882
965
  paginated: true
883
966
  };
884
- const operationMetadata128 = {
967
+ const operationMetadata130 = {
885
968
  group: "Webhooks",
886
969
  method: "GET",
887
970
  idempotent: false,
888
971
  paginated: true
889
972
  };
890
- const operationMetadata129 = {
973
+ const operationMetadata131 = {
891
974
  group: "Webhooks",
892
975
  method: "POST",
893
976
  idempotent: false,
894
977
  paginated: false
895
978
  };
896
- const operationMetadata130 = {
979
+ const operationMetadata132 = {
980
+ group: "Webhooks",
981
+ method: "GET",
982
+ idempotent: false,
983
+ paginated: false
984
+ };
985
+ const operationMetadata133 = {
986
+ group: "Webhooks",
987
+ method: "DELETE",
988
+ idempotent: false,
989
+ paginated: false
990
+ };
991
+ const operationMetadata134 = {
897
992
  group: "Webhooks",
993
+ method: "PATCH",
994
+ idempotent: false,
995
+ paginated: false
996
+ };
997
+ const operationMetadata135 = {
998
+ group: "WhatsApp",
999
+ method: "GET",
1000
+ idempotent: false,
1001
+ paginated: false
1002
+ };
1003
+ const operationMetadata136 = {
1004
+ group: "WhatsApp",
1005
+ method: "POST",
1006
+ idempotent: false,
1007
+ paginated: false
1008
+ };
1009
+ const operationMetadata137 = {
1010
+ group: "WhatsApp",
1011
+ method: "DELETE",
1012
+ idempotent: false,
1013
+ paginated: false
1014
+ };
1015
+ const operationMetadata138 = {
1016
+ group: "WhatsApp",
1017
+ method: "PATCH",
1018
+ idempotent: false,
1019
+ paginated: false
1020
+ };
1021
+ const operationMetadata139 = {
1022
+ group: "WhatsApp flows",
898
1023
  method: "GET",
899
1024
  idempotent: false,
900
1025
  paginated: false
901
1026
  };
1027
+ const operationMetadata140 = {
1028
+ group: "WhatsApp flows",
1029
+ method: "POST",
1030
+ idempotent: false,
1031
+ paginated: false
1032
+ };
1033
+ const operationMetadata141 = {
1034
+ group: "WhatsApp flows",
1035
+ method: "PUT",
1036
+ idempotent: false,
1037
+ paginated: false
1038
+ };
1039
+ const operationMetadata142 = {
1040
+ group: "WhatsApp setup links",
1041
+ method: "GET",
1042
+ idempotent: false,
1043
+ paginated: true
1044
+ };
1045
+ const operationMetadata143 = {
1046
+ group: "WhatsApp setup links",
1047
+ method: "POST",
1048
+ idempotent: false,
1049
+ paginated: false
1050
+ };
902
1051
  const SamvaOperations = {
903
1052
  agentsList: operationMetadata0,
904
1053
  agentsCreate: operationMetadata1,
@@ -1232,11 +1381,14 @@ const SamvaOperations = {
1232
1381
  templatesPublish: operationMetadata116,
1233
1382
  templatesGetPublication: operationMetadata113,
1234
1383
  templatesRenderPublication: operationMetadata116,
1384
+ templateRegistrationsList: operationMetadata117,
1385
+ templateRegistrationsSubmit: operationMetadata118,
1386
+ templateRegistrationsGet: operationMetadata117,
1235
1387
  templatesGetGitRepository: operationMetadata113,
1236
1388
  templatesIssueGitCredential: operationMetadata116,
1237
1389
  templatesOpenWorkspace: operationMetadata116,
1238
- templatesPatchWorkspace: operationMetadata117,
1239
- templatesPutWorkspaceAsset: operationMetadata118,
1390
+ templatesPatchWorkspace: operationMetadata119,
1391
+ templatesPutWorkspaceAsset: operationMetadata120,
1240
1392
  templatesCheckWorkspace: operationMetadata116,
1241
1393
  templatesResolveWorkspaceConflict: operationMetadata112,
1242
1394
  templatesDiffWorkspace: operationMetadata116,
@@ -1254,44 +1406,67 @@ const SamvaOperations = {
1254
1406
  templatesAttachFamilyMember: operationMetadata116,
1255
1407
  templatesDetachFamilyMember: operationMetadata114,
1256
1408
  templatesCreateFamilyFromTemplate: operationMetadata116,
1409
+ templatesCreateFromBrief: operationMetadata112,
1257
1410
  templatesCreateFromWebsite: operationMetadata112,
1258
1411
  templatesDeleteProject: operationMetadata114,
1259
1412
  templatesAddEntry: operationMetadata116,
1260
- topicsList: operationMetadata119,
1261
- topicsCreate: operationMetadata120,
1262
- topicsGet: operationMetadata119,
1263
- topicsRemove: operationMetadata121,
1264
- topicsUpdate: operationMetadata122,
1265
- topicsSetDefault: operationMetadata120,
1266
- topicFormsList: operationMetadata123,
1267
- topicFormsCreate: operationMetadata124,
1268
- topicFormsGet: operationMetadata123,
1269
- topicFormsRemove: operationMetadata125,
1270
- topicFormsUpdate: operationMetadata126,
1271
- topicsListSubscriptions: operationMetadata127,
1272
- topicsSetSubscriptions: operationMetadata120,
1273
- topicsCheckSubscription: operationMetadata119,
1274
- webhooksList: operationMetadata128,
1275
- webhooksCreate: operationMetadata129,
1276
- webhooksGet: operationMetadata130,
1277
- webhooksRemove: {
1278
- group: "Webhooks",
1279
- method: "DELETE",
1280
- idempotent: false,
1281
- paginated: false
1282
- },
1283
- webhooksUpdate: {
1284
- group: "Webhooks",
1285
- method: "PATCH",
1413
+ templatesSuggestStarters: operationMetadata116,
1414
+ topicsList: operationMetadata121,
1415
+ topicsCreate: operationMetadata122,
1416
+ topicsGet: operationMetadata121,
1417
+ topicsRemove: operationMetadata123,
1418
+ topicsUpdate: operationMetadata124,
1419
+ topicsSetDefault: operationMetadata122,
1420
+ topicFormsList: operationMetadata125,
1421
+ topicFormsCreate: operationMetadata126,
1422
+ topicFormsGet: operationMetadata125,
1423
+ topicFormsRemove: operationMetadata127,
1424
+ topicFormsUpdate: operationMetadata128,
1425
+ topicsListSubscriptions: operationMetadata129,
1426
+ topicsSetSubscriptions: operationMetadata122,
1427
+ topicsCheckSubscription: operationMetadata121,
1428
+ webhooksList: operationMetadata130,
1429
+ webhooksCreate: operationMetadata131,
1430
+ webhooksGet: operationMetadata132,
1431
+ webhooksRemove: operationMetadata133,
1432
+ webhooksUpdate: operationMetadata134,
1433
+ webhooksRetryDelivery: operationMetadata131,
1434
+ webhooksGetLogs: operationMetadata130,
1435
+ webhooksRegenerateSecret: operationMetadata131,
1436
+ webhooksGetSecret: operationMetadata132,
1437
+ webhooksGetStats: operationMetadata132,
1438
+ webhooksTest: operationMetadata131,
1439
+ whatsappListBusinessAccounts: operationMetadata135,
1440
+ whatsappConnectBusinessAccount: operationMetadata136,
1441
+ whatsappGetBusinessAccount: operationMetadata135,
1442
+ whatsappDisconnectBusinessAccount: operationMetadata137,
1443
+ whatsappUpdateBusinessAccount: operationMetadata138,
1444
+ whatsappSetDefaultBusinessAccount: operationMetadata136,
1445
+ whatsappSyncAccountStatus: operationMetadata136,
1446
+ whatsappFlowsList: operationMetadata139,
1447
+ whatsappFlowsCreate: operationMetadata140,
1448
+ whatsappFlowsGet: operationMetadata139,
1449
+ whatsappFlowsSetEndpoint: operationMetadata141,
1450
+ whatsappFlowsRotateEndpointSecret: operationMetadata140,
1451
+ whatsappFlowsListRegistrations: operationMetadata139,
1452
+ whatsappFlowsRegister: operationMetadata140,
1453
+ whatsappFlowsListVersions: operationMetadata139,
1454
+ whatsappFlowsRecordVersion: operationMetadata140,
1455
+ whatsappFlowsRotateEncryptionKey: operationMetadata140,
1456
+ whatsappGetMediaDownloadUrl: operationMetadata135,
1457
+ whatsappGetServiceWindowBilling: operationMetadata135,
1458
+ whatsappGetServiceWindowStatus: operationMetadata135,
1459
+ whatsappSetupLinksList: operationMetadata142,
1460
+ whatsappSetupLinksCreate: operationMetadata143,
1461
+ whatsappSetupLinksGet: {
1462
+ group: "WhatsApp setup links",
1463
+ method: "GET",
1286
1464
  idempotent: false,
1287
1465
  paginated: false
1288
1466
  },
1289
- webhooksRetryDelivery: operationMetadata129,
1290
- webhooksGetLogs: operationMetadata128,
1291
- webhooksRegenerateSecret: operationMetadata129,
1292
- webhooksGetSecret: operationMetadata130,
1293
- webhooksGetStats: operationMetadata130,
1294
- webhooksTest: operationMetadata129,
1467
+ whatsappSetupLinksRevoke: operationMetadata143,
1468
+ whatsappGetStats: operationMetadata135,
1469
+ whatsappGetTemplateStats: operationMetadata135,
1295
1470
  whoamiGet: {
1296
1471
  group: "Whoami",
1297
1472
  method: "GET",
@@ -55,3 +55,7 @@ export { type ErrorCategory, categoriesOf, hasCategory, isAuthError, isValidatio
55
55
  export type { CursorPageEnvelope } from "./pagination";
56
56
  export type { Json as JsonValue } from "effect/Schema";
57
57
  export * as Newsletters from "./newsletters";
58
+ export * as WhatsApp from "./whatsapp";
59
+ export * as WhatsAppFlows from "./whatsapp-flows";
60
+ export * as WhatsAppSetupLinks from "./whatsapp-setup-links";
61
+ export * as TemplateRegistrations from "./template-registrations";