samva 0.55.0 → 0.56.1

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 (235) hide show
  1. package/AGENTS.md +2 -2
  2. package/README.md +9 -8
  3. package/dist/client/sdk.gen.d.ts +13 -4
  4. package/dist/client/sdk.gen.js +32 -1
  5. package/dist/client/types.gen.d.ts +66 -6
  6. package/dist/effect/accounts.js +9 -10
  7. package/dist/effect/agents.js +16 -17
  8. package/dist/effect/analytics.js +9 -10
  9. package/dist/effect/api-keys.js +11 -12
  10. package/dist/effect/approval-requests.js +7 -8
  11. package/dist/effect/attachments.js +7 -8
  12. package/dist/effect/brands.js +9 -10
  13. package/dist/effect/campaigns.js +18 -19
  14. package/dist/effect/contact-groups.js +13 -14
  15. package/dist/effect/contacts.js +29 -30
  16. package/dist/effect/conversations.js +16 -17
  17. package/dist/effect/custom-fields.js +7 -8
  18. package/dist/effect/descriptors/accounts.d.ts +50 -52
  19. package/dist/effect/descriptors/accounts.js +50 -52
  20. package/dist/effect/descriptors/agents.d.ts +113 -115
  21. package/dist/effect/descriptors/agents.js +120 -122
  22. package/dist/effect/descriptors/analytics.d.ts +47 -49
  23. package/dist/effect/descriptors/analytics.js +42 -44
  24. package/dist/effect/descriptors/api-keys.d.ts +69 -71
  25. package/dist/effect/descriptors/api-keys.js +73 -75
  26. package/dist/effect/descriptors/approval-requests.d.ts +34 -36
  27. package/dist/effect/descriptors/approval-requests.js +36 -38
  28. package/dist/effect/descriptors/attachments.d.ts +34 -36
  29. package/dist/effect/descriptors/attachments.js +36 -38
  30. package/dist/effect/descriptors/brands.d.ts +51 -53
  31. package/dist/effect/descriptors/brands.js +53 -55
  32. package/dist/effect/descriptors/campaigns.d.ts +130 -132
  33. package/dist/effect/descriptors/campaigns.js +137 -139
  34. package/dist/effect/descriptors/contact-groups.d.ts +86 -88
  35. package/dist/effect/descriptors/contact-groups.js +90 -92
  36. package/dist/effect/descriptors/contacts.d.ts +242 -244
  37. package/dist/effect/descriptors/contacts.js +227 -229
  38. package/dist/effect/descriptors/conversations.d.ts +114 -116
  39. package/dist/effect/descriptors/conversations.js +123 -125
  40. package/dist/effect/descriptors/custom-fields.d.ts +33 -35
  41. package/dist/effect/descriptors/custom-fields.js +33 -35
  42. package/dist/effect/descriptors/email.d.ts +623 -625
  43. package/dist/effect/descriptors/email.js +562 -578
  44. package/dist/effect/descriptors/events.d.ts +15 -17
  45. package/dist/effect/descriptors/events.js +14 -16
  46. package/dist/effect/descriptors/feedback.d.ts +7 -9
  47. package/dist/effect/descriptors/feedback.js +3 -3
  48. package/dist/effect/descriptors/integrations-catalog.d.ts +159 -161
  49. package/dist/effect/descriptors/integrations-catalog.js +142 -144
  50. package/dist/effect/descriptors/integrations.d.ts +60 -62
  51. package/dist/effect/descriptors/integrations.js +63 -65
  52. package/dist/effect/descriptors/journeys.d.ts +123 -125
  53. package/dist/effect/descriptors/journeys.js +133 -135
  54. package/dist/effect/descriptors/logs.d.ts +16 -18
  55. package/dist/effect/descriptors/logs.js +16 -18
  56. package/dist/effect/descriptors/mailboxes.d.ts +780 -782
  57. package/dist/effect/descriptors/mailboxes.js +795 -797
  58. package/dist/effect/descriptors/media.d.ts +43 -45
  59. package/dist/effect/descriptors/media.js +46 -48
  60. package/dist/effect/descriptors/messages.d.ts +86 -88
  61. package/dist/effect/descriptors/messages.js +83 -92
  62. package/dist/effect/descriptors/namespaces.d.ts +96 -98
  63. package/dist/effect/descriptors/namespaces.js +107 -109
  64. package/dist/effect/descriptors/newsletter-domains.d.ts +35 -37
  65. package/dist/effect/descriptors/newsletter-domains.js +39 -41
  66. package/dist/effect/descriptors/newsletter-issues.d.ts +98 -100
  67. package/dist/effect/descriptors/newsletter-issues.js +109 -111
  68. package/dist/effect/descriptors/newsletters.d.ts +43 -45
  69. package/dist/effect/descriptors/newsletters.js +46 -48
  70. package/dist/effect/descriptors/operations.d.ts +25 -27
  71. package/dist/effect/descriptors/operations.js +26 -28
  72. package/dist/effect/descriptors/organizations.d.ts +96 -98
  73. package/dist/effect/descriptors/organizations.js +86 -88
  74. package/dist/effect/descriptors/phone-numbers.d.ts +41 -43
  75. package/dist/effect/descriptors/phone-numbers.js +40 -42
  76. package/dist/effect/descriptors/policies.d.ts +26 -28
  77. package/dist/effect/descriptors/policies.js +29 -31
  78. package/dist/effect/descriptors/scheduled-messages.d.ts +42 -44
  79. package/dist/effect/descriptors/scheduled-messages.js +43 -45
  80. package/dist/effect/descriptors/subscriptions.d.ts +7 -9
  81. package/dist/effect/descriptors/subscriptions.js +3 -3
  82. package/dist/effect/descriptors/template-registrations.d.ts +26 -28
  83. package/dist/effect/descriptors/template-registrations.js +29 -31
  84. package/dist/effect/descriptors/template-share-links.d.ts +44 -46
  85. package/dist/effect/descriptors/template-share-links.js +49 -51
  86. package/dist/effect/descriptors/templates.d.ts +361 -363
  87. package/dist/effect/descriptors/templates.js +348 -350
  88. package/dist/effect/descriptors/topic-forms.d.ts +44 -46
  89. package/dist/effect/descriptors/topic-forms.js +49 -51
  90. package/dist/effect/descriptors/topics.d.ts +77 -79
  91. package/dist/effect/descriptors/topics.js +80 -82
  92. package/dist/effect/descriptors/webhooks.d.ts +96 -98
  93. package/dist/effect/descriptors/webhooks.js +103 -105
  94. package/dist/effect/descriptors/whats-app-flows.d.ts +86 -88
  95. package/dist/effect/descriptors/whats-app-flows.js +90 -92
  96. package/dist/effect/descriptors/whats-app-setup-links.d.ts +33 -35
  97. package/dist/effect/descriptors/whats-app-setup-links.js +33 -35
  98. package/dist/effect/descriptors/whats-app.d.ts +111 -103
  99. package/dist/effect/descriptors/whats-app.js +111 -103
  100. package/dist/effect/descriptors/whoami.d.ts +7 -9
  101. package/dist/effect/descriptors/whoami.js +3 -3
  102. package/dist/effect/email.js +66 -67
  103. package/dist/effect/events.js +5 -6
  104. package/dist/effect/feedback.js +4 -4
  105. package/dist/effect/generated/accounts.d.ts +144 -142
  106. package/dist/effect/generated/accounts.js +14 -9
  107. package/dist/effect/generated/agents.d.ts +1502 -1493
  108. package/dist/effect/generated/agents.js +28 -16
  109. package/dist/effect/generated/analytics.d.ts +55 -53
  110. package/dist/effect/generated/analytics.js +14 -9
  111. package/dist/effect/generated/api-keys.d.ts +216 -212
  112. package/dist/effect/generated/api-keys.js +18 -11
  113. package/dist/effect/generated/approval-requests.d.ts +60 -60
  114. package/dist/effect/generated/approval-requests.js +10 -7
  115. package/dist/effect/generated/attachments.d.ts +32 -32
  116. package/dist/effect/generated/attachments.js +10 -7
  117. package/dist/effect/generated/brands.d.ts +179 -177
  118. package/dist/effect/generated/brands.js +14 -9
  119. package/dist/effect/generated/campaigns.d.ts +1083 -1072
  120. package/dist/effect/generated/campaigns.js +32 -18
  121. package/dist/effect/generated/contact-events.d.ts +3 -6
  122. package/dist/effect/generated/contact-events.js +4 -4
  123. package/dist/effect/generated/contact-groups.d.ts +186 -180
  124. package/dist/effect/generated/contact-groups.js +22 -13
  125. package/dist/effect/generated/contacts.d.ts +1565 -1545
  126. package/dist/effect/generated/contacts.js +50 -27
  127. package/dist/effect/generated/conversations.d.ts +340 -331
  128. package/dist/effect/generated/conversations.js +28 -16
  129. package/dist/effect/generated/custom-fields.d.ts +63 -63
  130. package/dist/effect/generated/custom-fields.js +10 -7
  131. package/dist/effect/generated/email.d.ts +2731 -2671
  132. package/dist/effect/generated/email.js +130 -67
  133. package/dist/effect/generated/events.d.ts +160 -162
  134. package/dist/effect/generated/events.js +6 -5
  135. package/dist/effect/generated/feedback.d.ts +3 -6
  136. package/dist/effect/generated/feedback.js +4 -4
  137. package/dist/effect/generated/index.d.ts +174 -45
  138. package/dist/effect/generated/integrations-catalog.d.ts +459 -446
  139. package/dist/effect/generated/integrations-catalog.js +36 -20
  140. package/dist/effect/generated/integrations.d.ts +155 -152
  141. package/dist/effect/generated/integrations.js +16 -10
  142. package/dist/effect/generated/journeys.d.ts +864 -854
  143. package/dist/effect/generated/journeys.js +30 -17
  144. package/dist/effect/generated/logs.d.ts +147 -149
  145. package/dist/effect/generated/logs.js +6 -5
  146. package/dist/effect/generated/mailboxes.d.ts +7271 -7196
  147. package/dist/effect/generated/mailboxes.js +160 -82
  148. package/dist/effect/generated/media.d.ts +77 -76
  149. package/dist/effect/generated/media.js +12 -8
  150. package/dist/effect/generated/messages.d.ts +1092 -1086
  151. package/dist/effect/generated/messages.js +22 -13
  152. package/dist/effect/generated/namespaces.d.ts +184 -177
  153. package/dist/effect/generated/namespaces.js +24 -14
  154. package/dist/effect/generated/newsletter-domains.d.ts +57 -57
  155. package/dist/effect/generated/newsletter-domains.js +10 -7
  156. package/dist/effect/generated/newsletter-issues.d.ts +225 -218
  157. package/dist/effect/generated/newsletter-issues.js +24 -14
  158. package/dist/effect/generated/newsletters.d.ts +46 -45
  159. package/dist/effect/generated/newsletters.js +12 -8
  160. package/dist/effect/generated/operations.d.ts +79 -80
  161. package/dist/effect/generated/operations.js +8 -6
  162. package/dist/effect/generated/organizations.d.ts +438 -430
  163. package/dist/effect/generated/organizations.js +26 -15
  164. package/dist/effect/generated/phone-numbers.d.ts +87 -86
  165. package/dist/effect/generated/phone-numbers.js +12 -8
  166. package/dist/effect/generated/policies.d.ts +64 -65
  167. package/dist/effect/generated/policies.js +8 -6
  168. package/dist/effect/generated/scheduled-messages.d.ts +66 -65
  169. package/dist/effect/generated/scheduled-messages.js +12 -8
  170. package/dist/effect/generated/shared.d.ts +37 -37
  171. package/dist/effect/generated/shared.js +63 -61
  172. package/dist/effect/generated/subscriptions.d.ts +3 -6
  173. package/dist/effect/generated/subscriptions.js +4 -4
  174. package/dist/effect/generated/template-registrations.d.ts +142 -134
  175. package/dist/effect/generated/template-registrations.js +9 -6
  176. package/dist/effect/generated/template-share-links.d.ts +25 -24
  177. package/dist/effect/generated/template-share-links.js +12 -8
  178. package/dist/effect/generated/templates.d.ts +2678 -2645
  179. package/dist/effect/generated/templates.js +76 -40
  180. package/dist/effect/generated/topic-forms.d.ts +47 -46
  181. package/dist/effect/generated/topic-forms.js +12 -8
  182. package/dist/effect/generated/topics.d.ts +204 -199
  183. package/dist/effect/generated/topics.js +20 -12
  184. package/dist/effect/generated/webhooks.d.ts +284 -277
  185. package/dist/effect/generated/webhooks.js +28 -14
  186. package/dist/effect/generated/whats-app-flows.d.ts +250 -244
  187. package/dist/effect/generated/whats-app-flows.js +22 -13
  188. package/dist/effect/generated/whats-app-setup-links.d.ts +107 -107
  189. package/dist/effect/generated/whats-app-setup-links.js +10 -7
  190. package/dist/effect/generated/whats-app.d.ts +482 -298
  191. package/dist/effect/generated/whats-app.js +58 -16
  192. package/dist/effect/generated/whoami.d.ts +3 -6
  193. package/dist/effect/generated/whoami.js +4 -4
  194. package/dist/effect/generated-metadata.d.ts +6 -0
  195. package/dist/effect/generated-metadata.js +1 -0
  196. package/dist/effect/integrations-catalog.js +20 -21
  197. package/dist/effect/integrations.js +10 -11
  198. package/dist/effect/internal/client.d.ts +2 -1
  199. package/dist/effect/internal/client.js +3 -3
  200. package/dist/effect/internal/email-sender.js +5 -4
  201. package/dist/effect/internal/operation.d.ts +11 -7
  202. package/dist/effect/internal/operation.js +17 -12
  203. package/dist/effect/internal/send.js +11 -8
  204. package/dist/effect/journeys.js +17 -18
  205. package/dist/effect/logs.js +5 -6
  206. package/dist/effect/mailboxes.js +82 -83
  207. package/dist/effect/media.js +8 -9
  208. package/dist/effect/messages.js +12 -13
  209. package/dist/effect/namespaces.js +14 -15
  210. package/dist/effect/newsletter-domains.js +7 -8
  211. package/dist/effect/newsletter-issues.js +14 -15
  212. package/dist/effect/newsletters.js +8 -9
  213. package/dist/effect/operations.js +6 -7
  214. package/dist/effect/organizations.js +15 -16
  215. package/dist/effect/phone-numbers.js +8 -9
  216. package/dist/effect/policies.js +6 -7
  217. package/dist/effect/runtime.js +3 -3
  218. package/dist/effect/scheduled-messages.js +8 -9
  219. package/dist/effect/subscriptions.js +4 -4
  220. package/dist/effect/template-registrations.js +6 -7
  221. package/dist/effect/template-share-links.js +8 -9
  222. package/dist/effect/templates.js +40 -41
  223. package/dist/effect/topic-forms.js +8 -9
  224. package/dist/effect/topics.js +12 -13
  225. package/dist/effect/webhooks.d.ts +4 -4
  226. package/dist/effect/webhooks.js +14 -15
  227. package/dist/effect/whatsapp-flows.js +13 -14
  228. package/dist/effect/whatsapp-setup-links.js +7 -8
  229. package/dist/effect/whatsapp.d.ts +6 -0
  230. package/dist/effect/whatsapp.js +18 -17
  231. package/dist/effect/whoami.js +4 -4
  232. package/dist/package.json.js +1 -1
  233. package/dist/promises/types.gen.d.ts +1 -1
  234. package/dist/service-map.d.ts +5 -0
  235. package/package.json +3 -2
@@ -1,130 +1,128 @@
1
- export declare const conversationsOperations: {
2
- readonly conversationsList: {
3
- readonly group: "Conversations";
4
- readonly method: "GET";
5
- readonly idempotent: false;
6
- readonly paginated: true;
7
- readonly call: {
8
- readonly kind: "params";
9
- };
1
+ export declare const conversationsList: {
2
+ readonly group: "Conversations";
3
+ readonly method: "GET";
4
+ readonly idempotent: false;
5
+ readonly paginated: true;
6
+ readonly call: {
7
+ readonly kind: "params";
10
8
  };
11
- readonly conversationsCreate: {
12
- readonly group: "Conversations";
13
- readonly method: "POST";
14
- readonly idempotent: false;
15
- readonly paginated: false;
16
- readonly call: {
17
- readonly kind: "payload";
18
- };
9
+ };
10
+ export declare const conversationsCreate: {
11
+ readonly group: "Conversations";
12
+ readonly method: "POST";
13
+ readonly idempotent: false;
14
+ readonly paginated: false;
15
+ readonly call: {
16
+ readonly kind: "payload";
19
17
  };
20
- readonly conversationsGetById: {
21
- readonly group: "Conversations";
22
- readonly method: "GET";
23
- readonly idempotent: false;
24
- readonly paginated: false;
25
- readonly call: {
26
- readonly kind: "path";
27
- readonly paths: readonly ["id"];
28
- };
18
+ };
19
+ export declare const conversationsGetById: {
20
+ readonly group: "Conversations";
21
+ readonly method: "GET";
22
+ readonly idempotent: false;
23
+ readonly paginated: false;
24
+ readonly call: {
25
+ readonly kind: "path";
26
+ readonly paths: readonly ["id"];
29
27
  };
30
- readonly conversationsUpdate: {
31
- readonly group: "Conversations";
32
- readonly method: "PATCH";
33
- readonly idempotent: false;
34
- readonly paginated: false;
35
- readonly call: {
36
- readonly kind: "pathPayload";
37
- readonly paths: readonly ["id"];
38
- };
28
+ };
29
+ export declare const conversationsUpdate: {
30
+ readonly group: "Conversations";
31
+ readonly method: "PATCH";
32
+ readonly idempotent: false;
33
+ readonly paginated: false;
34
+ readonly call: {
35
+ readonly kind: "pathPayload";
36
+ readonly paths: readonly ["id"];
39
37
  };
40
- readonly conversationsListMessages: {
41
- readonly group: "Conversations";
42
- readonly method: "GET";
43
- readonly idempotent: false;
44
- readonly paginated: true;
45
- readonly call: {
46
- readonly kind: "pathParams";
47
- readonly paths: readonly ["id"];
48
- };
38
+ };
39
+ export declare const conversationsListMessages: {
40
+ readonly group: "Conversations";
41
+ readonly method: "GET";
42
+ readonly idempotent: false;
43
+ readonly paginated: true;
44
+ readonly call: {
45
+ readonly kind: "pathParams";
46
+ readonly paths: readonly ["id"];
49
47
  };
50
- readonly conversationsAddTags: {
51
- readonly group: "Conversations";
52
- readonly method: "POST";
53
- readonly idempotent: false;
54
- readonly paginated: false;
55
- readonly call: {
56
- readonly kind: "pathPayload";
57
- readonly paths: readonly ["id"];
58
- };
48
+ };
49
+ export declare const conversationsAddTags: {
50
+ readonly group: "Conversations";
51
+ readonly method: "POST";
52
+ readonly idempotent: false;
53
+ readonly paginated: false;
54
+ readonly call: {
55
+ readonly kind: "pathPayload";
56
+ readonly paths: readonly ["id"];
59
57
  };
60
- readonly conversationsRemoveTags: {
61
- readonly group: "Conversations";
62
- readonly method: "DELETE";
63
- readonly idempotent: false;
64
- readonly paginated: false;
65
- readonly call: {
66
- readonly kind: "pathPayload";
67
- readonly paths: readonly ["id"];
68
- };
58
+ };
59
+ export declare const conversationsRemoveTags: {
60
+ readonly group: "Conversations";
61
+ readonly method: "DELETE";
62
+ readonly idempotent: false;
63
+ readonly paginated: false;
64
+ readonly call: {
65
+ readonly kind: "pathPayload";
66
+ readonly paths: readonly ["id"];
69
67
  };
70
- readonly conversationsAddCategories: {
71
- readonly group: "Conversations";
72
- readonly method: "POST";
73
- readonly idempotent: false;
74
- readonly paginated: false;
75
- readonly call: {
76
- readonly kind: "pathPayload";
77
- readonly paths: readonly ["id"];
78
- };
68
+ };
69
+ export declare const conversationsAddCategories: {
70
+ readonly group: "Conversations";
71
+ readonly method: "POST";
72
+ readonly idempotent: false;
73
+ readonly paginated: false;
74
+ readonly call: {
75
+ readonly kind: "pathPayload";
76
+ readonly paths: readonly ["id"];
79
77
  };
80
- readonly conversationsRemoveCategories: {
81
- readonly group: "Conversations";
82
- readonly method: "DELETE";
83
- readonly idempotent: false;
84
- readonly paginated: false;
85
- readonly call: {
86
- readonly kind: "pathPayload";
87
- readonly paths: readonly ["id"];
88
- };
78
+ };
79
+ export declare const conversationsRemoveCategories: {
80
+ readonly group: "Conversations";
81
+ readonly method: "DELETE";
82
+ readonly idempotent: false;
83
+ readonly paginated: false;
84
+ readonly call: {
85
+ readonly kind: "pathPayload";
86
+ readonly paths: readonly ["id"];
89
87
  };
90
- readonly conversationsAddChannels: {
91
- readonly group: "Conversations";
92
- readonly method: "POST";
93
- readonly idempotent: false;
94
- readonly paginated: false;
95
- readonly call: {
96
- readonly kind: "pathPayload";
97
- readonly paths: readonly ["id"];
98
- };
88
+ };
89
+ export declare const conversationsAddChannels: {
90
+ readonly group: "Conversations";
91
+ readonly method: "POST";
92
+ readonly idempotent: false;
93
+ readonly paginated: false;
94
+ readonly call: {
95
+ readonly kind: "pathPayload";
96
+ readonly paths: readonly ["id"];
99
97
  };
100
- readonly conversationsRemoveChannels: {
101
- readonly group: "Conversations";
102
- readonly method: "DELETE";
103
- readonly idempotent: false;
104
- readonly paginated: false;
105
- readonly call: {
106
- readonly kind: "pathPayload";
107
- readonly paths: readonly ["id"];
108
- };
98
+ };
99
+ export declare const conversationsRemoveChannels: {
100
+ readonly group: "Conversations";
101
+ readonly method: "DELETE";
102
+ readonly idempotent: false;
103
+ readonly paginated: false;
104
+ readonly call: {
105
+ readonly kind: "pathPayload";
106
+ readonly paths: readonly ["id"];
109
107
  };
110
- readonly conversationsAddContacts: {
111
- readonly group: "Conversations";
112
- readonly method: "POST";
113
- readonly idempotent: false;
114
- readonly paginated: false;
115
- readonly call: {
116
- readonly kind: "pathPayload";
117
- readonly paths: readonly ["id"];
118
- };
108
+ };
109
+ export declare const conversationsAddContacts: {
110
+ readonly group: "Conversations";
111
+ readonly method: "POST";
112
+ readonly idempotent: false;
113
+ readonly paginated: false;
114
+ readonly call: {
115
+ readonly kind: "pathPayload";
116
+ readonly paths: readonly ["id"];
119
117
  };
120
- readonly conversationsRemoveContacts: {
121
- readonly group: "Conversations";
122
- readonly method: "DELETE";
123
- readonly idempotent: false;
124
- readonly paginated: false;
125
- readonly call: {
126
- readonly kind: "pathPayload";
127
- readonly paths: readonly ["id"];
128
- };
118
+ };
119
+ export declare const conversationsRemoveContacts: {
120
+ readonly group: "Conversations";
121
+ readonly method: "DELETE";
122
+ readonly idempotent: false;
123
+ readonly paginated: false;
124
+ readonly call: {
125
+ readonly kind: "pathPayload";
126
+ readonly paths: readonly ["id"];
129
127
  };
130
128
  };
@@ -1,130 +1,128 @@
1
1
  // src/effect/descriptors/conversations.ts
2
- const conversationsOperations = {
3
- conversationsList: {
4
- group: "Conversations",
5
- method: "GET",
6
- idempotent: false,
7
- paginated: true,
8
- call: { kind: "params" }
9
- },
10
- conversationsCreate: {
11
- group: "Conversations",
12
- method: "POST",
13
- idempotent: false,
14
- paginated: false,
15
- call: { kind: "payload" }
16
- },
17
- conversationsGetById: {
18
- group: "Conversations",
19
- method: "GET",
20
- idempotent: false,
21
- paginated: false,
22
- call: {
23
- kind: "path",
24
- paths: ["id"]
25
- }
26
- },
27
- conversationsUpdate: {
28
- group: "Conversations",
29
- method: "PATCH",
30
- idempotent: false,
31
- paginated: false,
32
- call: {
33
- kind: "pathPayload",
34
- paths: ["id"]
35
- }
36
- },
37
- conversationsListMessages: {
38
- group: "Conversations",
39
- method: "GET",
40
- idempotent: false,
41
- paginated: true,
42
- call: {
43
- kind: "pathParams",
44
- paths: ["id"]
45
- }
46
- },
47
- conversationsAddTags: {
48
- group: "Conversations",
49
- method: "POST",
50
- idempotent: false,
51
- paginated: false,
52
- call: {
53
- kind: "pathPayload",
54
- paths: ["id"]
55
- }
56
- },
57
- conversationsRemoveTags: {
58
- group: "Conversations",
59
- method: "DELETE",
60
- idempotent: false,
61
- paginated: false,
62
- call: {
63
- kind: "pathPayload",
64
- paths: ["id"]
65
- }
66
- },
67
- conversationsAddCategories: {
68
- group: "Conversations",
69
- method: "POST",
70
- idempotent: false,
71
- paginated: false,
72
- call: {
73
- kind: "pathPayload",
74
- paths: ["id"]
75
- }
76
- },
77
- conversationsRemoveCategories: {
78
- group: "Conversations",
79
- method: "DELETE",
80
- idempotent: false,
81
- paginated: false,
82
- call: {
83
- kind: "pathPayload",
84
- paths: ["id"]
85
- }
86
- },
87
- conversationsAddChannels: {
88
- group: "Conversations",
89
- method: "POST",
90
- idempotent: false,
91
- paginated: false,
92
- call: {
93
- kind: "pathPayload",
94
- paths: ["id"]
95
- }
96
- },
97
- conversationsRemoveChannels: {
98
- group: "Conversations",
99
- method: "DELETE",
100
- idempotent: false,
101
- paginated: false,
102
- call: {
103
- kind: "pathPayload",
104
- paths: ["id"]
105
- }
106
- },
107
- conversationsAddContacts: {
108
- group: "Conversations",
109
- method: "POST",
110
- idempotent: false,
111
- paginated: false,
112
- call: {
113
- kind: "pathPayload",
114
- paths: ["id"]
115
- }
116
- },
117
- conversationsRemoveContacts: {
118
- group: "Conversations",
119
- method: "DELETE",
120
- idempotent: false,
121
- paginated: false,
122
- call: {
123
- kind: "pathPayload",
124
- paths: ["id"]
125
- }
2
+ const conversationsList = {
3
+ group: "Conversations",
4
+ method: "GET",
5
+ idempotent: false,
6
+ paginated: true,
7
+ call: { kind: "params" }
8
+ };
9
+ const conversationsCreate = {
10
+ group: "Conversations",
11
+ method: "POST",
12
+ idempotent: false,
13
+ paginated: false,
14
+ call: { kind: "payload" }
15
+ };
16
+ const conversationsGetById = {
17
+ group: "Conversations",
18
+ method: "GET",
19
+ idempotent: false,
20
+ paginated: false,
21
+ call: {
22
+ kind: "path",
23
+ paths: ["id"]
24
+ }
25
+ };
26
+ const conversationsUpdate = {
27
+ group: "Conversations",
28
+ method: "PATCH",
29
+ idempotent: false,
30
+ paginated: false,
31
+ call: {
32
+ kind: "pathPayload",
33
+ paths: ["id"]
34
+ }
35
+ };
36
+ const conversationsListMessages = {
37
+ group: "Conversations",
38
+ method: "GET",
39
+ idempotent: false,
40
+ paginated: true,
41
+ call: {
42
+ kind: "pathParams",
43
+ paths: ["id"]
44
+ }
45
+ };
46
+ const conversationsAddTags = {
47
+ group: "Conversations",
48
+ method: "POST",
49
+ idempotent: false,
50
+ paginated: false,
51
+ call: {
52
+ kind: "pathPayload",
53
+ paths: ["id"]
54
+ }
55
+ };
56
+ const conversationsRemoveTags = {
57
+ group: "Conversations",
58
+ method: "DELETE",
59
+ idempotent: false,
60
+ paginated: false,
61
+ call: {
62
+ kind: "pathPayload",
63
+ paths: ["id"]
64
+ }
65
+ };
66
+ const conversationsAddCategories = {
67
+ group: "Conversations",
68
+ method: "POST",
69
+ idempotent: false,
70
+ paginated: false,
71
+ call: {
72
+ kind: "pathPayload",
73
+ paths: ["id"]
74
+ }
75
+ };
76
+ const conversationsRemoveCategories = {
77
+ group: "Conversations",
78
+ method: "DELETE",
79
+ idempotent: false,
80
+ paginated: false,
81
+ call: {
82
+ kind: "pathPayload",
83
+ paths: ["id"]
84
+ }
85
+ };
86
+ const conversationsAddChannels = {
87
+ group: "Conversations",
88
+ method: "POST",
89
+ idempotent: false,
90
+ paginated: false,
91
+ call: {
92
+ kind: "pathPayload",
93
+ paths: ["id"]
94
+ }
95
+ };
96
+ const conversationsRemoveChannels = {
97
+ group: "Conversations",
98
+ method: "DELETE",
99
+ idempotent: false,
100
+ paginated: false,
101
+ call: {
102
+ kind: "pathPayload",
103
+ paths: ["id"]
104
+ }
105
+ };
106
+ const conversationsAddContacts = {
107
+ group: "Conversations",
108
+ method: "POST",
109
+ idempotent: false,
110
+ paginated: false,
111
+ call: {
112
+ kind: "pathPayload",
113
+ paths: ["id"]
114
+ }
115
+ };
116
+ const conversationsRemoveContacts = {
117
+ group: "Conversations",
118
+ method: "DELETE",
119
+ idempotent: false,
120
+ paginated: false,
121
+ call: {
122
+ kind: "pathPayload",
123
+ paths: ["id"]
126
124
  }
127
125
  };
128
- export { conversationsOperations };
126
+ export { conversationsAddCategories, conversationsAddChannels, conversationsAddContacts, conversationsAddTags, conversationsCreate, conversationsGetById, conversationsList, conversationsListMessages, conversationsRemoveCategories, conversationsRemoveChannels, conversationsRemoveContacts, conversationsRemoveTags, conversationsUpdate };
129
127
 
130
128
  //# sourceMappingURL=conversations.js.map
@@ -1,40 +1,38 @@
1
- export declare const customFieldsOperations: {
2
- readonly customFieldsList: {
3
- readonly group: "Custom Fields";
4
- readonly method: "GET";
5
- readonly idempotent: false;
6
- readonly paginated: false;
7
- readonly call: {
8
- readonly kind: "none";
9
- };
1
+ export declare const customFieldsList: {
2
+ readonly group: "Custom Fields";
3
+ readonly method: "GET";
4
+ readonly idempotent: false;
5
+ readonly paginated: false;
6
+ readonly call: {
7
+ readonly kind: "none";
10
8
  };
11
- readonly customFieldsCreate: {
12
- readonly group: "Custom Fields";
13
- readonly method: "POST";
14
- readonly idempotent: false;
15
- readonly paginated: false;
16
- readonly call: {
17
- readonly kind: "payload";
18
- };
9
+ };
10
+ export declare const customFieldsCreate: {
11
+ readonly group: "Custom Fields";
12
+ readonly method: "POST";
13
+ readonly idempotent: false;
14
+ readonly paginated: false;
15
+ readonly call: {
16
+ readonly kind: "payload";
19
17
  };
20
- readonly customFieldsUpdate: {
21
- readonly group: "Custom Fields";
22
- readonly method: "PATCH";
23
- readonly idempotent: false;
24
- readonly paginated: false;
25
- readonly call: {
26
- readonly kind: "pathPayload";
27
- readonly paths: readonly ["id"];
28
- };
18
+ };
19
+ export declare const customFieldsUpdate: {
20
+ readonly group: "Custom Fields";
21
+ readonly method: "PATCH";
22
+ readonly idempotent: false;
23
+ readonly paginated: false;
24
+ readonly call: {
25
+ readonly kind: "pathPayload";
26
+ readonly paths: readonly ["id"];
29
27
  };
30
- readonly customFieldsRemove: {
31
- readonly group: "Custom Fields";
32
- readonly method: "DELETE";
33
- readonly idempotent: false;
34
- readonly paginated: false;
35
- readonly call: {
36
- readonly kind: "path";
37
- readonly paths: readonly ["id"];
38
- };
28
+ };
29
+ export declare const customFieldsRemove: {
30
+ readonly group: "Custom Fields";
31
+ readonly method: "DELETE";
32
+ readonly idempotent: false;
33
+ readonly paginated: false;
34
+ readonly call: {
35
+ readonly kind: "path";
36
+ readonly paths: readonly ["id"];
39
37
  };
40
38
  };
@@ -1,40 +1,38 @@
1
1
  // src/effect/descriptors/custom-fields.ts
2
- const customFieldsOperations = {
3
- customFieldsList: {
4
- group: "Custom Fields",
5
- method: "GET",
6
- idempotent: false,
7
- paginated: false,
8
- call: { kind: "none" }
9
- },
10
- customFieldsCreate: {
11
- group: "Custom Fields",
12
- method: "POST",
13
- idempotent: false,
14
- paginated: false,
15
- call: { kind: "payload" }
16
- },
17
- customFieldsUpdate: {
18
- group: "Custom Fields",
19
- method: "PATCH",
20
- idempotent: false,
21
- paginated: false,
22
- call: {
23
- kind: "pathPayload",
24
- paths: ["id"]
25
- }
26
- },
27
- customFieldsRemove: {
28
- group: "Custom Fields",
29
- method: "DELETE",
30
- idempotent: false,
31
- paginated: false,
32
- call: {
33
- kind: "path",
34
- paths: ["id"]
35
- }
2
+ const customFieldsList = {
3
+ group: "Custom Fields",
4
+ method: "GET",
5
+ idempotent: false,
6
+ paginated: false,
7
+ call: { kind: "none" }
8
+ };
9
+ const customFieldsCreate = {
10
+ group: "Custom Fields",
11
+ method: "POST",
12
+ idempotent: false,
13
+ paginated: false,
14
+ call: { kind: "payload" }
15
+ };
16
+ const customFieldsUpdate = {
17
+ group: "Custom Fields",
18
+ method: "PATCH",
19
+ idempotent: false,
20
+ paginated: false,
21
+ call: {
22
+ kind: "pathPayload",
23
+ paths: ["id"]
24
+ }
25
+ };
26
+ const customFieldsRemove = {
27
+ group: "Custom Fields",
28
+ method: "DELETE",
29
+ idempotent: false,
30
+ paginated: false,
31
+ call: {
32
+ kind: "path",
33
+ paths: ["id"]
36
34
  }
37
35
  };
38
- export { customFieldsOperations };
36
+ export { customFieldsCreate, customFieldsList, customFieldsRemove, customFieldsUpdate };
39
37
 
40
38
  //# sourceMappingURL=custom-fields.js.map