samva 0.46.0 → 0.47.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 (276) hide show
  1. package/AGENTS.md +13 -7
  2. package/README.md +107 -9
  3. package/dist/agent/index.d.ts +56 -0
  4. package/dist/agent/index.js +52 -0
  5. package/dist/agent/runtime.d.ts +3 -0
  6. package/dist/agent/runtime.js +74 -0
  7. package/dist/agent/test.d.ts +31 -0
  8. package/dist/agent/test.js +66 -0
  9. package/dist/agent/types.d.ts +123 -0
  10. package/dist/client/client/client.gen.d.ts +1 -1
  11. package/dist/client/client/index.d.ts +10 -10
  12. package/dist/client/client/types.gen.d.ts +4 -4
  13. package/dist/client/client/utils.gen.d.ts +2 -2
  14. package/dist/client/client.gen.d.ts +2 -2
  15. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  16. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  17. package/dist/client/core/types.gen.d.ts +2 -2
  18. package/dist/client/core/utils.gen.d.ts +1 -1
  19. package/dist/client/sdk.gen.d.ts +41 -161
  20. package/dist/client/sdk.gen.js +1302 -1598
  21. package/dist/client/types.gen.d.ts +377 -966
  22. package/dist/effect/accounts.d.ts +6 -6
  23. package/dist/effect/accounts.js +2 -1
  24. package/dist/effect/agents.d.ts +355 -23
  25. package/dist/effect/agents.js +6 -3
  26. package/dist/effect/analytics.d.ts +6 -6
  27. package/dist/effect/analytics.js +2 -1
  28. package/dist/effect/api-keys.d.ts +13 -13
  29. package/dist/effect/api-keys.js +2 -1
  30. package/dist/effect/approval-requests.d.ts +4 -4
  31. package/dist/effect/approval-requests.js +2 -1
  32. package/dist/effect/attachments.d.ts +4 -4
  33. package/dist/effect/attachments.js +2 -1
  34. package/dist/effect/brands.d.ts +7 -7
  35. package/dist/effect/brands.js +2 -1
  36. package/dist/effect/campaigns.d.ts +205 -205
  37. package/dist/effect/campaigns.js +2 -1
  38. package/dist/effect/categories.d.ts +3 -3
  39. package/dist/effect/client.d.ts +1 -1
  40. package/dist/effect/contact-groups.d.ts +18 -18
  41. package/dist/effect/contact-groups.js +2 -1
  42. package/dist/effect/contacts.d.ts +41 -33
  43. package/dist/effect/contacts.js +8 -3
  44. package/dist/effect/conversations.d.ts +17 -17
  45. package/dist/effect/conversations.js +2 -1
  46. package/dist/effect/custom-fields.d.ts +4 -4
  47. package/dist/effect/custom-fields.js +2 -1
  48. package/dist/effect/descriptors/accounts.d.ts +59 -0
  49. package/dist/effect/descriptors/accounts.js +57 -0
  50. package/dist/effect/descriptors/agents.d.ts +129 -0
  51. package/dist/effect/descriptors/agents.js +127 -0
  52. package/dist/effect/descriptors/analytics.d.ts +56 -0
  53. package/dist/effect/descriptors/analytics.js +48 -0
  54. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  55. package/dist/effect/descriptors/api-keys.js +80 -0
  56. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  57. package/dist/effect/descriptors/approval-requests.js +43 -0
  58. package/dist/effect/descriptors/attachments.d.ts +41 -0
  59. package/dist/effect/descriptors/attachments.js +43 -0
  60. package/dist/effect/descriptors/brands.d.ts +60 -0
  61. package/dist/effect/descriptors/brands.js +60 -0
  62. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  63. package/dist/effect/descriptors/campaigns.js +144 -0
  64. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  65. package/dist/effect/descriptors/contact-groups.js +97 -0
  66. package/dist/effect/descriptors/contacts.d.ts +246 -0
  67. package/dist/effect/descriptors/contacts.js +234 -0
  68. package/dist/effect/descriptors/conversations.d.ts +130 -0
  69. package/dist/effect/descriptors/conversations.js +130 -0
  70. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  71. package/dist/effect/descriptors/custom-fields.js +40 -0
  72. package/dist/effect/descriptors/email.d.ts +607 -0
  73. package/dist/effect/descriptors/email.js +561 -0
  74. package/dist/effect/descriptors/events.d.ts +20 -0
  75. package/dist/effect/descriptors/events.js +20 -0
  76. package/dist/effect/descriptors/feedback.d.ts +11 -0
  77. package/dist/effect/descriptors/feedback.js +11 -0
  78. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  79. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  80. package/dist/effect/descriptors/integrations.d.ts +70 -0
  81. package/dist/effect/descriptors/integrations.js +70 -0
  82. package/dist/effect/descriptors/journeys.d.ts +140 -0
  83. package/dist/effect/descriptors/journeys.js +140 -0
  84. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  85. package/dist/effect/descriptors/mailboxes.js +728 -0
  86. package/dist/effect/descriptors/media.d.ts +51 -0
  87. package/dist/effect/descriptors/media.js +53 -0
  88. package/dist/effect/descriptors/messages.d.ts +99 -0
  89. package/dist/effect/descriptors/messages.js +97 -0
  90. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  91. package/dist/effect/descriptors/namespaces.js +114 -0
  92. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  93. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  94. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  95. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  96. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  97. package/dist/effect/descriptors/newsletters.js +53 -0
  98. package/dist/effect/descriptors/operations.d.ts +31 -0
  99. package/dist/effect/descriptors/operations.js +33 -0
  100. package/dist/effect/descriptors/organizations.d.ts +111 -0
  101. package/dist/effect/descriptors/organizations.js +93 -0
  102. package/dist/effect/descriptors/policies.d.ts +32 -0
  103. package/dist/effect/descriptors/policies.js +36 -0
  104. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  105. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  106. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  107. package/dist/effect/descriptors/subscriptions.js +11 -0
  108. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  109. package/dist/effect/descriptors/template-registrations.js +36 -0
  110. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  111. package/dist/effect/descriptors/template-share-links.js +56 -0
  112. package/dist/effect/descriptors/templates.d.ts +365 -0
  113. package/dist/effect/descriptors/templates.js +355 -0
  114. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  115. package/dist/effect/descriptors/topic-forms.js +56 -0
  116. package/dist/effect/descriptors/topics.d.ts +89 -0
  117. package/dist/effect/descriptors/topics.js +87 -0
  118. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  119. package/dist/effect/descriptors/webhooks.js +110 -0
  120. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  121. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  122. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  123. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  124. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  125. package/dist/effect/descriptors/whats-app.js +108 -0
  126. package/dist/effect/descriptors/whoami.d.ts +11 -0
  127. package/dist/effect/descriptors/whoami.js +11 -0
  128. package/dist/effect/email.d.ts +78 -78
  129. package/dist/effect/email.js +2 -1
  130. package/dist/effect/errors.d.ts +2 -2
  131. package/dist/effect/events.d.ts +3 -3
  132. package/dist/effect/events.js +2 -1
  133. package/dist/effect/feedback.d.ts +2 -2
  134. package/dist/effect/feedback.js +2 -1
  135. package/dist/effect/generated/accounts.d.ts +19 -9
  136. package/dist/effect/generated/accounts.js +1 -0
  137. package/dist/effect/generated/agents.d.ts +2967 -690
  138. package/dist/effect/generated/agents.js +54 -13
  139. package/dist/effect/generated/analytics.d.ts +1 -1
  140. package/dist/effect/generated/api-keys.d.ts +1 -1
  141. package/dist/effect/generated/approval-requests.d.ts +13 -13
  142. package/dist/effect/generated/attachments.d.ts +1 -1
  143. package/dist/effect/generated/brands.d.ts +1 -1
  144. package/dist/effect/generated/campaigns.d.ts +230 -230
  145. package/dist/effect/generated/contact-events.d.ts +4 -4
  146. package/dist/effect/generated/contact-groups.d.ts +1 -1
  147. package/dist/effect/generated/contacts.d.ts +907 -49
  148. package/dist/effect/generated/contacts.js +62 -3
  149. package/dist/effect/generated/conversations.d.ts +1 -1
  150. package/dist/effect/generated/custom-fields.d.ts +1 -1
  151. package/dist/effect/generated/email.d.ts +1 -1
  152. package/dist/effect/generated/events.d.ts +12 -12
  153. package/dist/effect/generated/feedback.d.ts +1 -1
  154. package/dist/effect/generated/index.d.ts +84 -88
  155. package/dist/effect/generated/integrations-catalog.d.ts +3 -3
  156. package/dist/effect/generated/integrations.d.ts +15 -15
  157. package/dist/effect/generated/journeys.d.ts +336 -96
  158. package/dist/effect/generated/journeys.js +3 -1
  159. package/dist/effect/generated/mailboxes.d.ts +93 -95
  160. package/dist/effect/generated/mailboxes.js +21 -25
  161. package/dist/effect/generated/media.d.ts +1 -1
  162. package/dist/effect/generated/messages.d.ts +1 -1
  163. package/dist/effect/generated/namespaces.d.ts +1 -1
  164. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  165. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  166. package/dist/effect/generated/newsletters.d.ts +1 -1
  167. package/dist/effect/generated/operations.d.ts +1 -1
  168. package/dist/effect/generated/organizations.d.ts +1 -1
  169. package/dist/effect/generated/policies.d.ts +1 -1
  170. package/dist/effect/generated/scheduled-messages.d.ts +147 -147
  171. package/dist/effect/generated/shared.d.ts +408 -102
  172. package/dist/effect/generated/shared.js +80 -36
  173. package/dist/effect/generated/subscriptions.d.ts +1 -1
  174. package/dist/effect/generated/template-registrations.d.ts +1 -4
  175. package/dist/effect/generated/template-registrations.js +2 -6
  176. package/dist/effect/generated/template-share-links.d.ts +1 -1
  177. package/dist/effect/generated/templates.d.ts +1 -1
  178. package/dist/effect/generated/topic-forms.d.ts +1 -1
  179. package/dist/effect/generated/topics.d.ts +1 -1
  180. package/dist/effect/generated/webhooks.d.ts +1 -1
  181. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  182. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  183. package/dist/effect/generated/whats-app.d.ts +1 -1
  184. package/dist/effect/generated/whoami.d.ts +1 -1
  185. package/dist/effect/generated-metadata.d.ts +18 -84
  186. package/dist/effect/generated-metadata.js +362 -415
  187. package/dist/effect/index.d.ts +45 -47
  188. package/dist/effect/index.js +1 -3
  189. package/dist/effect/integrations-catalog.d.ts +3 -3
  190. package/dist/effect/integrations-catalog.js +2 -1
  191. package/dist/effect/integrations.d.ts +11 -11
  192. package/dist/effect/integrations.js +2 -1
  193. package/dist/effect/internal/client.d.ts +3 -3
  194. package/dist/effect/internal/client.js +1 -1
  195. package/dist/effect/internal/email-sender.d.ts +4 -4
  196. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  197. package/dist/effect/internal/operation.d.ts +24 -5
  198. package/dist/effect/internal/operation.js +25 -22
  199. package/dist/effect/internal/send.d.ts +4 -4
  200. package/dist/effect/journeys.d.ts +46 -22
  201. package/dist/effect/journeys.js +2 -1
  202. package/dist/effect/mailboxes.d.ts +163 -163
  203. package/dist/effect/mailboxes.js +2 -1
  204. package/dist/effect/media.d.ts +5 -5
  205. package/dist/effect/media.js +2 -1
  206. package/dist/effect/messages.d.ts +17 -17
  207. package/dist/effect/messages.js +2 -1
  208. package/dist/effect/namespaces.d.ts +15 -15
  209. package/dist/effect/namespaces.js +2 -1
  210. package/dist/effect/newsletter-domains.d.ts +6 -6
  211. package/dist/effect/newsletter-domains.js +2 -1
  212. package/dist/effect/newsletter-issues.d.ts +11 -11
  213. package/dist/effect/newsletter-issues.js +2 -1
  214. package/dist/effect/newsletters.d.ts +5 -5
  215. package/dist/effect/newsletters.js +2 -1
  216. package/dist/effect/operations.d.ts +5 -5
  217. package/dist/effect/operations.js +2 -1
  218. package/dist/effect/organizations.d.ts +12 -12
  219. package/dist/effect/organizations.js +2 -1
  220. package/dist/effect/policies.d.ts +3 -3
  221. package/dist/effect/policies.js +2 -1
  222. package/dist/effect/scheduled-messages.d.ts +371 -371
  223. package/dist/effect/scheduled-messages.js +2 -1
  224. package/dist/effect/subscriptions.d.ts +1 -1
  225. package/dist/effect/subscriptions.js +2 -1
  226. package/dist/effect/template-registrations.d.ts +3 -3
  227. package/dist/effect/template-registrations.js +2 -1
  228. package/dist/effect/template-share-links.d.ts +5 -5
  229. package/dist/effect/template-share-links.js +2 -1
  230. package/dist/effect/templates.d.ts +46 -46
  231. package/dist/effect/templates.js +2 -1
  232. package/dist/effect/topic-forms.d.ts +5 -5
  233. package/dist/effect/topic-forms.js +2 -1
  234. package/dist/effect/topics.d.ts +13 -13
  235. package/dist/effect/topics.js +2 -1
  236. package/dist/effect/webhooks.d.ts +16 -16
  237. package/dist/effect/webhooks.js +2 -1
  238. package/dist/effect/whatsapp-flows.d.ts +10 -10
  239. package/dist/effect/whatsapp-flows.js +2 -1
  240. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  241. package/dist/effect/whatsapp-setup-links.js +2 -1
  242. package/dist/effect/whatsapp.d.ts +12 -12
  243. package/dist/effect/whatsapp.js +2 -1
  244. package/dist/effect/whoami.d.ts +1 -1
  245. package/dist/effect/whoami.js +2 -1
  246. package/dist/index.d.ts +1 -1
  247. package/dist/package.js +1 -1
  248. package/dist/promises/client.d.ts +10 -14
  249. package/dist/promises/client.js +3 -7
  250. package/dist/promises/errors.gen.d.ts +1 -1
  251. package/dist/promises/index.d.ts +5 -5
  252. package/dist/promises/request.d.ts +2 -2
  253. package/dist/promises/request.js +1 -1
  254. package/dist/promises/types.gen.d.ts +1 -1
  255. package/dist/request-policy.d.ts +10 -2
  256. package/dist/request-policy.js +3 -5
  257. package/dist/service-map.d.ts +18 -75
  258. package/package.json +17 -29
  259. package/dist/effect/extension-installations.d.ts +0 -132
  260. package/dist/effect/extension-installations.js +0 -28
  261. package/dist/effect/extensions.d.ts +0 -102
  262. package/dist/effect/extensions.js +0 -20
  263. package/dist/effect/generated/extension-installations.d.ts +0 -2761
  264. package/dist/effect/generated/extension-installations.js +0 -405
  265. package/dist/effect/generated/extensions.d.ts +0 -1037
  266. package/dist/effect/generated/extensions.js +0 -214
  267. package/dist/mailbox/dispatch.d.ts +0 -10
  268. package/dist/mailbox/dispatch.js +0 -66
  269. package/dist/mailbox/index.d.ts +0 -17
  270. package/dist/mailbox/index.js +0 -30
  271. package/dist/mailbox/test.d.ts +0 -25
  272. package/dist/mailbox/test.js +0 -181
  273. package/dist/mailbox/types.d.ts +0 -221
  274. package/dist/mailbox/webhook.d.ts +0 -10
  275. package/dist/mailbox/webhook.js +0 -41
  276. package/dist/service-map.js +0 -830
@@ -0,0 +1,728 @@
1
+ // src/effect/descriptors/mailboxes.ts
2
+ const mailboxesOperations = {
3
+ mailboxesCreateImportUpload: {
4
+ group: "Mailboxes",
5
+ method: "POST",
6
+ idempotent: false,
7
+ paginated: false,
8
+ call: {
9
+ kind: "pathPayload",
10
+ paths: ["id"]
11
+ }
12
+ },
13
+ mailboxesStartImport: {
14
+ group: "Mailboxes",
15
+ method: "POST",
16
+ idempotent: false,
17
+ paginated: false,
18
+ call: {
19
+ kind: "path",
20
+ paths: ["id", "importId"]
21
+ }
22
+ },
23
+ mailboxesGetImport: {
24
+ group: "Mailboxes",
25
+ method: "GET",
26
+ idempotent: false,
27
+ paginated: false,
28
+ call: {
29
+ kind: "path",
30
+ paths: ["id", "importId"]
31
+ }
32
+ },
33
+ mailboxesListImports: {
34
+ group: "Mailboxes",
35
+ method: "GET",
36
+ idempotent: false,
37
+ paginated: false,
38
+ call: {
39
+ kind: "path",
40
+ paths: ["id"]
41
+ }
42
+ },
43
+ mailboxesList: {
44
+ group: "Mailboxes",
45
+ method: "GET",
46
+ idempotent: false,
47
+ paginated: true,
48
+ call: { kind: "params" }
49
+ },
50
+ mailboxesCreate: {
51
+ group: "Mailboxes",
52
+ method: "POST",
53
+ idempotent: true,
54
+ paginated: false,
55
+ call: { kind: "payload" }
56
+ },
57
+ mailboxesGet: {
58
+ group: "Mailboxes",
59
+ method: "GET",
60
+ idempotent: false,
61
+ paginated: false,
62
+ call: {
63
+ kind: "path",
64
+ paths: ["id"]
65
+ }
66
+ },
67
+ mailboxesUpdate: {
68
+ group: "Mailboxes",
69
+ method: "PATCH",
70
+ idempotent: false,
71
+ paginated: false,
72
+ call: {
73
+ kind: "pathPayload",
74
+ paths: ["id"]
75
+ }
76
+ },
77
+ mailboxesRemove: {
78
+ group: "Mailboxes",
79
+ method: "DELETE",
80
+ idempotent: false,
81
+ paginated: false,
82
+ call: {
83
+ kind: "path",
84
+ paths: ["id"]
85
+ }
86
+ },
87
+ mailboxesCreateEndpoint: {
88
+ group: "Mailboxes",
89
+ method: "POST",
90
+ idempotent: false,
91
+ paginated: false,
92
+ call: {
93
+ kind: "pathPayload",
94
+ paths: ["id"]
95
+ }
96
+ },
97
+ mailboxesUpdateEndpoint: {
98
+ group: "Mailboxes",
99
+ method: "PATCH",
100
+ idempotent: false,
101
+ paginated: false,
102
+ call: {
103
+ kind: "pathPayload",
104
+ paths: ["id", "endpointId"]
105
+ }
106
+ },
107
+ mailboxesRemoveEndpoint: {
108
+ group: "Mailboxes",
109
+ method: "DELETE",
110
+ idempotent: false,
111
+ paginated: false,
112
+ call: {
113
+ kind: "path",
114
+ paths: ["id", "endpointId"]
115
+ }
116
+ },
117
+ mailboxesPause: {
118
+ group: "Mailboxes",
119
+ method: "POST",
120
+ idempotent: false,
121
+ paginated: false,
122
+ call: {
123
+ kind: "path",
124
+ paths: ["id"]
125
+ }
126
+ },
127
+ mailboxesResume: {
128
+ group: "Mailboxes",
129
+ method: "POST",
130
+ idempotent: false,
131
+ paginated: false,
132
+ call: {
133
+ kind: "path",
134
+ paths: ["id"]
135
+ }
136
+ },
137
+ mailboxesGetAgentActivity: {
138
+ group: "Mailboxes",
139
+ method: "GET",
140
+ idempotent: false,
141
+ paginated: false,
142
+ call: {
143
+ kind: "pathParams",
144
+ paths: ["id"]
145
+ }
146
+ },
147
+ mailboxesListGrants: {
148
+ group: "Mailboxes",
149
+ method: "GET",
150
+ idempotent: false,
151
+ paginated: true,
152
+ call: {
153
+ kind: "pathParams",
154
+ paths: ["id"]
155
+ }
156
+ },
157
+ mailboxesCreateGrant: {
158
+ group: "Mailboxes",
159
+ method: "POST",
160
+ idempotent: false,
161
+ paginated: false,
162
+ call: {
163
+ kind: "pathPayload",
164
+ paths: ["id"]
165
+ }
166
+ },
167
+ mailboxesUpdateGrant: {
168
+ group: "Mailboxes",
169
+ method: "PATCH",
170
+ idempotent: false,
171
+ paginated: false,
172
+ call: {
173
+ kind: "pathPayload",
174
+ paths: ["id", "grantId"]
175
+ }
176
+ },
177
+ mailboxesRevokeGrant: {
178
+ group: "Mailboxes",
179
+ method: "DELETE",
180
+ idempotent: false,
181
+ paginated: false,
182
+ call: {
183
+ kind: "path",
184
+ paths: ["id", "grantId"]
185
+ }
186
+ },
187
+ mailboxesListFolders: {
188
+ group: "Mailboxes",
189
+ method: "GET",
190
+ idempotent: false,
191
+ paginated: false,
192
+ call: {
193
+ kind: "path",
194
+ paths: ["id"]
195
+ }
196
+ },
197
+ mailboxesListLabels: {
198
+ group: "Mailboxes",
199
+ method: "GET",
200
+ idempotent: false,
201
+ paginated: false,
202
+ call: {
203
+ kind: "path",
204
+ paths: ["id"]
205
+ }
206
+ },
207
+ mailboxesCreateLabel: {
208
+ group: "Mailboxes",
209
+ method: "POST",
210
+ idempotent: false,
211
+ paginated: false,
212
+ call: {
213
+ kind: "pathPayload",
214
+ paths: ["id"]
215
+ }
216
+ },
217
+ mailboxesUpdateLabel: {
218
+ group: "Mailboxes",
219
+ method: "PATCH",
220
+ idempotent: false,
221
+ paginated: false,
222
+ call: {
223
+ kind: "pathPayload",
224
+ paths: ["id", "labelId"]
225
+ }
226
+ },
227
+ mailboxesDeleteLabel: {
228
+ group: "Mailboxes",
229
+ method: "DELETE",
230
+ idempotent: false,
231
+ paginated: false,
232
+ call: {
233
+ kind: "path",
234
+ paths: ["id", "labelId"]
235
+ }
236
+ },
237
+ mailboxesGetNeedsYou: {
238
+ group: "Mailboxes",
239
+ method: "GET",
240
+ idempotent: false,
241
+ paginated: true,
242
+ call: { kind: "params" }
243
+ },
244
+ mailboxesListOrganizationDrafts: {
245
+ group: "Mailboxes",
246
+ method: "GET",
247
+ idempotent: false,
248
+ paginated: true,
249
+ call: { kind: "params" }
250
+ },
251
+ mailboxesListOrganizationThreads: {
252
+ group: "Mailboxes",
253
+ method: "GET",
254
+ idempotent: false,
255
+ paginated: true,
256
+ call: { kind: "params" }
257
+ },
258
+ mailboxesListThreads: {
259
+ group: "Mailboxes",
260
+ method: "GET",
261
+ idempotent: false,
262
+ paginated: true,
263
+ call: {
264
+ kind: "pathParams",
265
+ paths: ["id"]
266
+ }
267
+ },
268
+ mailboxesGetThread: {
269
+ group: "Mailboxes",
270
+ method: "GET",
271
+ idempotent: false,
272
+ paginated: false,
273
+ call: {
274
+ kind: "path",
275
+ paths: ["id", "threadId"]
276
+ }
277
+ },
278
+ mailboxesUpdateThread: {
279
+ group: "Mailboxes",
280
+ method: "PATCH",
281
+ idempotent: false,
282
+ paginated: false,
283
+ call: {
284
+ kind: "pathPayload",
285
+ paths: ["id", "threadId"]
286
+ }
287
+ },
288
+ mailboxesAddThreadLabels: {
289
+ group: "Mailboxes",
290
+ method: "POST",
291
+ idempotent: false,
292
+ paginated: false,
293
+ call: {
294
+ kind: "pathPayload",
295
+ paths: ["id", "threadId"]
296
+ }
297
+ },
298
+ mailboxesRemoveThreadLabels: {
299
+ group: "Mailboxes",
300
+ method: "DELETE",
301
+ idempotent: false,
302
+ paginated: false,
303
+ call: {
304
+ kind: "pathPayload",
305
+ paths: ["id", "threadId"]
306
+ }
307
+ },
308
+ mailboxesListThreadMessages: {
309
+ group: "Mailboxes",
310
+ method: "GET",
311
+ idempotent: false,
312
+ paginated: true,
313
+ call: {
314
+ kind: "pathParams",
315
+ paths: ["id", "threadId"]
316
+ }
317
+ },
318
+ mailboxesGetThreadContent: {
319
+ group: "Mailboxes",
320
+ method: "GET",
321
+ idempotent: false,
322
+ paginated: true,
323
+ call: {
324
+ kind: "pathParams",
325
+ paths: ["id", "threadId"]
326
+ }
327
+ },
328
+ mailboxesListThreadNotes: {
329
+ group: "Mailboxes",
330
+ method: "GET",
331
+ idempotent: false,
332
+ paginated: true,
333
+ call: {
334
+ kind: "pathParams",
335
+ paths: ["id", "threadId"]
336
+ }
337
+ },
338
+ mailboxesCreateNote: {
339
+ group: "Mailboxes",
340
+ method: "POST",
341
+ idempotent: false,
342
+ paginated: false,
343
+ call: {
344
+ kind: "pathPayload",
345
+ paths: ["id", "threadId"]
346
+ }
347
+ },
348
+ mailboxesUpdateNote: {
349
+ group: "Mailboxes",
350
+ method: "PATCH",
351
+ idempotent: false,
352
+ paginated: false,
353
+ call: {
354
+ kind: "pathPayload",
355
+ paths: [
356
+ "id",
357
+ "threadId",
358
+ "noteId"
359
+ ]
360
+ }
361
+ },
362
+ mailboxesDeleteNote: {
363
+ group: "Mailboxes",
364
+ method: "DELETE",
365
+ idempotent: false,
366
+ paginated: false,
367
+ call: {
368
+ kind: "path",
369
+ paths: [
370
+ "id",
371
+ "threadId",
372
+ "noteId"
373
+ ]
374
+ }
375
+ },
376
+ mailboxesSendMessage: {
377
+ group: "Mailboxes",
378
+ method: "POST",
379
+ idempotent: true,
380
+ paginated: false,
381
+ call: {
382
+ kind: "pathPayload",
383
+ paths: ["id"]
384
+ }
385
+ },
386
+ mailboxesGetMessage: {
387
+ group: "Mailboxes",
388
+ method: "GET",
389
+ idempotent: false,
390
+ paginated: false,
391
+ call: {
392
+ kind: "path",
393
+ paths: ["id", "messageId"]
394
+ }
395
+ },
396
+ mailboxesGetMessageRaw: {
397
+ group: "Mailboxes",
398
+ method: "GET",
399
+ idempotent: false,
400
+ paginated: false,
401
+ call: {
402
+ kind: "path",
403
+ paths: ["id", "messageId"]
404
+ }
405
+ },
406
+ mailboxesGetMessageAttachment: {
407
+ group: "Mailboxes",
408
+ method: "GET",
409
+ idempotent: false,
410
+ paginated: false,
411
+ call: {
412
+ kind: "path",
413
+ paths: [
414
+ "id",
415
+ "messageId",
416
+ "attachmentId"
417
+ ]
418
+ }
419
+ },
420
+ mailboxesCopyMessageAttachment: {
421
+ group: "Mailboxes",
422
+ method: "POST",
423
+ idempotent: false,
424
+ paginated: false,
425
+ call: {
426
+ kind: "path",
427
+ paths: [
428
+ "id",
429
+ "messageId",
430
+ "attachmentId"
431
+ ]
432
+ }
433
+ },
434
+ mailboxesReply: {
435
+ group: "Mailboxes",
436
+ method: "POST",
437
+ idempotent: true,
438
+ paginated: false,
439
+ call: {
440
+ kind: "pathPayload",
441
+ paths: ["id", "messageId"]
442
+ }
443
+ },
444
+ mailboxesReplyAll: {
445
+ group: "Mailboxes",
446
+ method: "POST",
447
+ idempotent: true,
448
+ paginated: false,
449
+ call: {
450
+ kind: "pathPayload",
451
+ paths: ["id", "messageId"]
452
+ }
453
+ },
454
+ mailboxesForward: {
455
+ group: "Mailboxes",
456
+ method: "POST",
457
+ idempotent: true,
458
+ paginated: false,
459
+ call: {
460
+ kind: "pathPayload",
461
+ paths: ["id", "messageId"]
462
+ }
463
+ },
464
+ mailboxesListQuarantine: {
465
+ group: "Mailboxes",
466
+ method: "GET",
467
+ idempotent: false,
468
+ paginated: true,
469
+ call: {
470
+ kind: "pathParams",
471
+ paths: ["id"]
472
+ }
473
+ },
474
+ mailboxesReleaseMessage: {
475
+ group: "Mailboxes",
476
+ method: "POST",
477
+ idempotent: false,
478
+ paginated: false,
479
+ call: {
480
+ kind: "path",
481
+ paths: ["id", "messageId"]
482
+ }
483
+ },
484
+ mailboxesDiscardMessage: {
485
+ group: "Mailboxes",
486
+ method: "POST",
487
+ idempotent: false,
488
+ paginated: false,
489
+ call: {
490
+ kind: "path",
491
+ paths: ["id", "messageId"]
492
+ }
493
+ },
494
+ mailboxesScheduleDraft: {
495
+ group: "Mailboxes",
496
+ method: "POST",
497
+ idempotent: false,
498
+ paginated: false,
499
+ call: {
500
+ kind: "pathPayload",
501
+ paths: ["id", "draftId"]
502
+ }
503
+ },
504
+ mailboxesRescheduleSend: {
505
+ group: "Mailboxes",
506
+ method: "PATCH",
507
+ idempotent: false,
508
+ paginated: false,
509
+ call: {
510
+ kind: "pathPayload",
511
+ paths: ["id", "outboxId"]
512
+ }
513
+ },
514
+ mailboxesUnscheduleSend: {
515
+ group: "Mailboxes",
516
+ method: "DELETE",
517
+ idempotent: false,
518
+ paginated: false,
519
+ call: {
520
+ kind: "pathPayload",
521
+ paths: ["id", "outboxId"]
522
+ }
523
+ },
524
+ mailboxesSendScheduledNow: {
525
+ group: "Mailboxes",
526
+ method: "POST",
527
+ idempotent: false,
528
+ paginated: false,
529
+ call: {
530
+ kind: "pathPayload",
531
+ paths: ["id", "outboxId"]
532
+ }
533
+ },
534
+ mailboxesListScheduledSends: {
535
+ group: "Mailboxes",
536
+ method: "GET",
537
+ idempotent: false,
538
+ paginated: true,
539
+ call: {
540
+ kind: "pathParams",
541
+ paths: ["id"]
542
+ }
543
+ },
544
+ mailboxesListDrafts: {
545
+ group: "Mailboxes",
546
+ method: "GET",
547
+ idempotent: false,
548
+ paginated: true,
549
+ call: {
550
+ kind: "pathParams",
551
+ paths: ["id"]
552
+ }
553
+ },
554
+ mailboxesCreateDraft: {
555
+ group: "Mailboxes",
556
+ method: "POST",
557
+ idempotent: false,
558
+ paginated: false,
559
+ call: {
560
+ kind: "pathPayload",
561
+ paths: ["id"]
562
+ }
563
+ },
564
+ mailboxesGetDraft: {
565
+ group: "Mailboxes",
566
+ method: "GET",
567
+ idempotent: false,
568
+ paginated: false,
569
+ call: {
570
+ kind: "path",
571
+ paths: ["id", "draftId"]
572
+ }
573
+ },
574
+ mailboxesUpdateDraft: {
575
+ group: "Mailboxes",
576
+ method: "PATCH",
577
+ idempotent: false,
578
+ paginated: false,
579
+ call: {
580
+ kind: "pathPayload",
581
+ paths: ["id", "draftId"]
582
+ }
583
+ },
584
+ mailboxesDeleteDraft: {
585
+ group: "Mailboxes",
586
+ method: "DELETE",
587
+ idempotent: false,
588
+ paginated: false,
589
+ call: {
590
+ kind: "path",
591
+ paths: ["id", "draftId"]
592
+ }
593
+ },
594
+ mailboxesSendDraft: {
595
+ group: "Mailboxes",
596
+ method: "POST",
597
+ idempotent: true,
598
+ paginated: false,
599
+ call: {
600
+ kind: "path",
601
+ paths: ["id", "draftId"]
602
+ }
603
+ },
604
+ mailboxesListActions: {
605
+ group: "Mailboxes",
606
+ method: "GET",
607
+ idempotent: false,
608
+ paginated: true,
609
+ call: {
610
+ kind: "pathParams",
611
+ paths: ["id"]
612
+ }
613
+ },
614
+ mailboxesGetAction: {
615
+ group: "Mailboxes",
616
+ method: "GET",
617
+ idempotent: false,
618
+ paginated: false,
619
+ call: {
620
+ kind: "path",
621
+ paths: ["id", "actionId"]
622
+ }
623
+ },
624
+ mailboxesCancelAction: {
625
+ group: "Mailboxes",
626
+ method: "POST",
627
+ idempotent: false,
628
+ paginated: false,
629
+ call: {
630
+ kind: "path",
631
+ paths: ["id", "actionId"]
632
+ }
633
+ },
634
+ mailboxesRetryAction: {
635
+ group: "Mailboxes",
636
+ method: "POST",
637
+ idempotent: false,
638
+ paginated: false,
639
+ call: {
640
+ kind: "path",
641
+ paths: ["id", "actionId"]
642
+ }
643
+ },
644
+ mailboxesApproveAction: {
645
+ group: "Mailboxes",
646
+ method: "POST",
647
+ idempotent: false,
648
+ paginated: false,
649
+ call: {
650
+ kind: "pathPayload",
651
+ paths: ["id", "actionId"]
652
+ }
653
+ },
654
+ mailboxesDenyAction: {
655
+ group: "Mailboxes",
656
+ method: "POST",
657
+ idempotent: false,
658
+ paginated: false,
659
+ call: {
660
+ kind: "pathPayload",
661
+ paths: ["id", "actionId"]
662
+ }
663
+ },
664
+ mailboxesListEvents: {
665
+ group: "Mailboxes",
666
+ method: "GET",
667
+ idempotent: false,
668
+ paginated: true,
669
+ call: {
670
+ kind: "pathParams",
671
+ paths: ["id"]
672
+ }
673
+ },
674
+ mailboxesCountSplits: {
675
+ group: "Mailboxes",
676
+ method: "GET",
677
+ idempotent: false,
678
+ paginated: false,
679
+ call: { kind: "none" }
680
+ },
681
+ mailboxesListSplits: {
682
+ group: "Mailboxes",
683
+ method: "GET",
684
+ idempotent: false,
685
+ paginated: false,
686
+ call: { kind: "none" }
687
+ },
688
+ mailboxesCreateSplit: {
689
+ group: "Mailboxes",
690
+ method: "POST",
691
+ idempotent: false,
692
+ paginated: false,
693
+ call: { kind: "payload" }
694
+ },
695
+ mailboxesUpdateSplit: {
696
+ group: "Mailboxes",
697
+ method: "PUT",
698
+ idempotent: false,
699
+ paginated: false,
700
+ call: {
701
+ kind: "pathPayload",
702
+ paths: ["splitId"]
703
+ }
704
+ },
705
+ mailboxesDeleteSplit: {
706
+ group: "Mailboxes",
707
+ method: "DELETE",
708
+ idempotent: false,
709
+ paginated: false,
710
+ call: {
711
+ kind: "path",
712
+ paths: ["splitId"]
713
+ }
714
+ },
715
+ mailboxesListAddresses: {
716
+ group: "Mailboxes",
717
+ method: "GET",
718
+ idempotent: false,
719
+ paginated: false,
720
+ call: {
721
+ kind: "pathParams",
722
+ paths: ["id"]
723
+ }
724
+ }
725
+ };
726
+ export { mailboxesOperations };
727
+
728
+ //# sourceMappingURL=mailboxes.js.map