@wix/auto_sdk_restaurants_recipients 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/build/cjs/index.d.ts +103 -0
  2. package/build/cjs/index.js +672 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +827 -0
  5. package/build/cjs/index.typings.js +545 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +357 -0
  8. package/build/cjs/meta.js +436 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +103 -0
  11. package/build/es/index.mjs +636 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +827 -0
  14. package/build/es/index.typings.mjs +512 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +357 -0
  17. package/build/es/meta.mjs +403 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +103 -0
  21. package/build/internal/cjs/index.js +672 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +827 -0
  24. package/build/internal/cjs/index.typings.js +545 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +357 -0
  27. package/build/internal/cjs/meta.js +436 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +103 -0
  30. package/build/internal/es/index.mjs +636 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +827 -0
  33. package/build/internal/es/index.typings.mjs +512 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +357 -0
  36. package/build/internal/es/meta.mjs +403 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1,545 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // index.typings.ts
21
+ var index_typings_exports = {};
22
+ __export(index_typings_exports, {
23
+ Channel: () => Channel,
24
+ SortOrder: () => SortOrder,
25
+ WebhookIdentityType: () => WebhookIdentityType,
26
+ bulkUpdateRecipientTags: () => bulkUpdateRecipientTags2,
27
+ bulkUpdateRecipientTagsByFilter: () => bulkUpdateRecipientTagsByFilter2,
28
+ createRecipient: () => createRecipient2,
29
+ deleteRecipient: () => deleteRecipient2,
30
+ getRecipient: () => getRecipient2,
31
+ queryRecipients: () => queryRecipients2,
32
+ updateRecipient: () => updateRecipient2
33
+ });
34
+ module.exports = __toCommonJS(index_typings_exports);
35
+
36
+ // src/restaurants-recipient-v1-recipient-recipients.universal.ts
37
+ var import_transform_error = require("@wix/sdk-runtime/transform-error");
38
+ var import_query_builder = require("@wix/sdk-runtime/query-builder");
39
+ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
40
+
41
+ // src/restaurants-recipient-v1-recipient-recipients.http.ts
42
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
43
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
44
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
45
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
46
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
47
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
48
+ function resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl(opts) {
49
+ const domainToMappings = {
50
+ "manage._base_domain_": [
51
+ {
52
+ srcPath: "/_api/rest-notification-recipients",
53
+ destPath: ""
54
+ }
55
+ ],
56
+ "dev._base_domain_": [
57
+ {
58
+ srcPath: "/_api/rest-notification-recipients",
59
+ destPath: ""
60
+ }
61
+ ],
62
+ "www.wixapis.com": [
63
+ {
64
+ srcPath: "/rest-notification-recipients/v1",
65
+ destPath: "/v1"
66
+ },
67
+ {
68
+ srcPath: "/restaurants/recipient/v1/recipients",
69
+ destPath: "/v1/recipients"
70
+ }
71
+ ],
72
+ _: [
73
+ {
74
+ srcPath: "/_api/rest-notification-recipients",
75
+ destPath: ""
76
+ }
77
+ ],
78
+ "*.dev.wix-code.com": [
79
+ {
80
+ srcPath: "/_api/rest-notification-recipients",
81
+ destPath: ""
82
+ }
83
+ ]
84
+ };
85
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
86
+ }
87
+ var PACKAGE_NAME = "@wix/auto_sdk_restaurants_recipients";
88
+ function createRecipient(payload) {
89
+ function __createRecipient({ host }) {
90
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
91
+ {
92
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
93
+ paths: [
94
+ { path: "recipient.createdDate" },
95
+ { path: "recipient.updatedDate" }
96
+ ]
97
+ }
98
+ ]);
99
+ const metadata = {
100
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
101
+ method: "POST",
102
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.CreateRecipient",
103
+ packageName: PACKAGE_NAME,
104
+ migrationOptions: {
105
+ optInTransformResponse: true
106
+ },
107
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
108
+ protoPath: "/v1/recipients",
109
+ data: serializedData,
110
+ host
111
+ }),
112
+ data: serializedData,
113
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
114
+ {
115
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
116
+ paths: [
117
+ { path: "recipient.createdDate" },
118
+ { path: "recipient.updatedDate" }
119
+ ]
120
+ }
121
+ ])
122
+ };
123
+ return metadata;
124
+ }
125
+ return __createRecipient;
126
+ }
127
+ function getRecipient(payload) {
128
+ function __getRecipient({ host }) {
129
+ const metadata = {
130
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
131
+ method: "GET",
132
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.GetRecipient",
133
+ packageName: PACKAGE_NAME,
134
+ migrationOptions: {
135
+ optInTransformResponse: true
136
+ },
137
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
138
+ protoPath: "/v1/recipients/{recipientId}",
139
+ data: payload,
140
+ host
141
+ }),
142
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
143
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
144
+ {
145
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
146
+ paths: [
147
+ { path: "recipient.createdDate" },
148
+ { path: "recipient.updatedDate" }
149
+ ]
150
+ }
151
+ ])
152
+ };
153
+ return metadata;
154
+ }
155
+ return __getRecipient;
156
+ }
157
+ function updateRecipient(payload) {
158
+ function __updateRecipient({ host }) {
159
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
160
+ {
161
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
162
+ paths: [{ path: "fieldMask" }]
163
+ },
164
+ {
165
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
166
+ paths: [
167
+ { path: "recipient.createdDate" },
168
+ { path: "recipient.updatedDate" }
169
+ ]
170
+ }
171
+ ]);
172
+ const metadata = {
173
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
174
+ method: "PATCH",
175
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.UpdateRecipient",
176
+ packageName: PACKAGE_NAME,
177
+ migrationOptions: {
178
+ optInTransformResponse: true
179
+ },
180
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
181
+ protoPath: "/v1/recipients/{recipient.id}",
182
+ data: serializedData,
183
+ host
184
+ }),
185
+ data: serializedData,
186
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
187
+ {
188
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
189
+ paths: [
190
+ { path: "recipient.createdDate" },
191
+ { path: "recipient.updatedDate" }
192
+ ]
193
+ }
194
+ ])
195
+ };
196
+ return metadata;
197
+ }
198
+ return __updateRecipient;
199
+ }
200
+ function deleteRecipient(payload) {
201
+ function __deleteRecipient({ host }) {
202
+ const metadata = {
203
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
204
+ method: "DELETE",
205
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.DeleteRecipient",
206
+ packageName: PACKAGE_NAME,
207
+ migrationOptions: {
208
+ optInTransformResponse: true
209
+ },
210
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
211
+ protoPath: "/v1/recipients/{recipientId}",
212
+ data: payload,
213
+ host
214
+ }),
215
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
216
+ };
217
+ return metadata;
218
+ }
219
+ return __deleteRecipient;
220
+ }
221
+ function queryRecipients(payload) {
222
+ function __queryRecipients({ host }) {
223
+ const metadata = {
224
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
225
+ method: "GET",
226
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.QueryRecipients",
227
+ packageName: PACKAGE_NAME,
228
+ migrationOptions: {
229
+ optInTransformResponse: true
230
+ },
231
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
232
+ protoPath: "/v1/recipients/query",
233
+ data: payload,
234
+ host
235
+ }),
236
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
237
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
238
+ {
239
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
240
+ paths: [
241
+ { path: "recipients.createdDate" },
242
+ { path: "recipients.updatedDate" }
243
+ ]
244
+ }
245
+ ]),
246
+ fallback: [
247
+ {
248
+ method: "POST",
249
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl(
250
+ { protoPath: "/v1/recipients/query", data: payload, host }
251
+ ),
252
+ data: payload
253
+ }
254
+ ]
255
+ };
256
+ return metadata;
257
+ }
258
+ return __queryRecipients;
259
+ }
260
+ function bulkUpdateRecipientTags(payload) {
261
+ function __bulkUpdateRecipientTags({ host }) {
262
+ const metadata = {
263
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
264
+ method: "POST",
265
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.BulkUpdateRecipientTags",
266
+ packageName: PACKAGE_NAME,
267
+ migrationOptions: {
268
+ optInTransformResponse: true
269
+ },
270
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
271
+ protoPath: "/v1/bulk/recipients/update-tags",
272
+ data: payload,
273
+ host
274
+ }),
275
+ data: payload
276
+ };
277
+ return metadata;
278
+ }
279
+ return __bulkUpdateRecipientTags;
280
+ }
281
+ function bulkUpdateRecipientTagsByFilter(payload) {
282
+ function __bulkUpdateRecipientTagsByFilter({ host }) {
283
+ const metadata = {
284
+ entityFqdn: "wix.restaurants.recipient.v1.recipient",
285
+ method: "POST",
286
+ methodFqn: "wix.restaurants.recipient.v1.NotificationRecipientsService.BulkUpdateRecipientTagsByFilter",
287
+ packageName: PACKAGE_NAME,
288
+ migrationOptions: {
289
+ optInTransformResponse: true
290
+ },
291
+ url: resolveWixRestaurantsRecipientV1NotificationRecipientsServiceUrl({
292
+ protoPath: "/v1/bulk/recipients/update-tags-by-filter",
293
+ data: payload,
294
+ host
295
+ }),
296
+ data: payload
297
+ };
298
+ return metadata;
299
+ }
300
+ return __bulkUpdateRecipientTagsByFilter;
301
+ }
302
+
303
+ // src/restaurants-recipient-v1-recipient-recipients.universal.ts
304
+ var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
305
+ var Channel = /* @__PURE__ */ ((Channel2) => {
306
+ Channel2["UNKNOWN_CHANNEL"] = "UNKNOWN_CHANNEL";
307
+ Channel2["SMS"] = "SMS";
308
+ Channel2["PHONE"] = "PHONE";
309
+ return Channel2;
310
+ })(Channel || {});
311
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
312
+ SortOrder2["ASC"] = "ASC";
313
+ SortOrder2["DESC"] = "DESC";
314
+ return SortOrder2;
315
+ })(SortOrder || {});
316
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
317
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
318
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
319
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
320
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
321
+ WebhookIdentityType2["APP"] = "APP";
322
+ return WebhookIdentityType2;
323
+ })(WebhookIdentityType || {});
324
+ async function createRecipient2(recipient) {
325
+ const { httpClient, sideEffects } = arguments[1];
326
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
327
+ recipient
328
+ });
329
+ const reqOpts = createRecipient(payload);
330
+ sideEffects?.onSiteCall?.();
331
+ try {
332
+ const result = await httpClient.request(reqOpts);
333
+ sideEffects?.onSuccess?.(result);
334
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.recipient;
335
+ } catch (err) {
336
+ const transformedError = (0, import_transform_error.transformError)(
337
+ err,
338
+ {
339
+ spreadPathsToArguments: {},
340
+ explicitPathsToArguments: { recipient: "$[0]" },
341
+ singleArgumentUnchanged: false
342
+ },
343
+ ["recipient"]
344
+ );
345
+ sideEffects?.onError?.(err);
346
+ throw transformedError;
347
+ }
348
+ }
349
+ async function getRecipient2(recipientId) {
350
+ const { httpClient, sideEffects } = arguments[1];
351
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
352
+ recipientId
353
+ });
354
+ const reqOpts = getRecipient(payload);
355
+ sideEffects?.onSiteCall?.();
356
+ try {
357
+ const result = await httpClient.request(reqOpts);
358
+ sideEffects?.onSuccess?.(result);
359
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.recipient;
360
+ } catch (err) {
361
+ const transformedError = (0, import_transform_error.transformError)(
362
+ err,
363
+ {
364
+ spreadPathsToArguments: {},
365
+ explicitPathsToArguments: { recipientId: "$[0]" },
366
+ singleArgumentUnchanged: false
367
+ },
368
+ ["recipientId"]
369
+ );
370
+ sideEffects?.onError?.(err);
371
+ throw transformedError;
372
+ }
373
+ }
374
+ async function updateRecipient2(_id, recipient) {
375
+ const { httpClient, sideEffects } = arguments[2];
376
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
377
+ recipient: { ...recipient, id: _id }
378
+ });
379
+ const reqOpts = updateRecipient(payload);
380
+ sideEffects?.onSiteCall?.();
381
+ try {
382
+ const result = await httpClient.request(reqOpts);
383
+ sideEffects?.onSuccess?.(result);
384
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.recipient;
385
+ } catch (err) {
386
+ const transformedError = (0, import_transform_error.transformError)(
387
+ err,
388
+ {
389
+ spreadPathsToArguments: { recipient: "$[1]" },
390
+ explicitPathsToArguments: { "recipient.id": "$[0]" },
391
+ singleArgumentUnchanged: false
392
+ },
393
+ ["_id", "recipient"]
394
+ );
395
+ sideEffects?.onError?.(err);
396
+ throw transformedError;
397
+ }
398
+ }
399
+ async function deleteRecipient2(recipientId) {
400
+ const { httpClient, sideEffects } = arguments[1];
401
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
402
+ recipientId
403
+ });
404
+ const reqOpts = deleteRecipient(payload);
405
+ sideEffects?.onSiteCall?.();
406
+ try {
407
+ const result = await httpClient.request(reqOpts);
408
+ sideEffects?.onSuccess?.(result);
409
+ } catch (err) {
410
+ const transformedError = (0, import_transform_error.transformError)(
411
+ err,
412
+ {
413
+ spreadPathsToArguments: {},
414
+ explicitPathsToArguments: { recipientId: "$[0]" },
415
+ singleArgumentUnchanged: false
416
+ },
417
+ ["recipientId"]
418
+ );
419
+ sideEffects?.onError?.(err);
420
+ throw transformedError;
421
+ }
422
+ }
423
+ function queryRecipients2() {
424
+ const { httpClient, sideEffects } = arguments[0];
425
+ return (0, import_query_builder.queryBuilder)({
426
+ func: async (payload) => {
427
+ const reqOpts = queryRecipients(payload);
428
+ sideEffects?.onSiteCall?.();
429
+ try {
430
+ const result = await httpClient.request(reqOpts);
431
+ sideEffects?.onSuccess?.(result);
432
+ return result;
433
+ } catch (err) {
434
+ sideEffects?.onError?.(err);
435
+ throw err;
436
+ }
437
+ },
438
+ requestTransformer: (query) => {
439
+ const args = [query, {}];
440
+ return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
441
+ ...args?.[1],
442
+ query: args?.[0]
443
+ });
444
+ },
445
+ responseTransformer: ({ data }) => {
446
+ const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
447
+ (0, import_transform_paths2.transformPaths)(data, [])
448
+ );
449
+ return {
450
+ items: transformedData?.recipients,
451
+ pagingMetadata: transformedData?.pagingMetadata
452
+ };
453
+ },
454
+ errorTransformer: (err) => {
455
+ const transformedError = (0, import_transform_error.transformError)(err, {
456
+ spreadPathsToArguments: {},
457
+ explicitPathsToArguments: { query: "$[0]" },
458
+ singleArgumentUnchanged: false
459
+ });
460
+ throw transformedError;
461
+ },
462
+ pagingMethod: "CURSOR",
463
+ transformationPaths: {}
464
+ });
465
+ }
466
+ async function bulkUpdateRecipientTags2(recipientIds, options) {
467
+ const { httpClient, sideEffects } = arguments[2];
468
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
469
+ recipientIds,
470
+ assignTags: options?.assignTags,
471
+ unassignTags: options?.unassignTags
472
+ });
473
+ const reqOpts = bulkUpdateRecipientTags(
474
+ payload
475
+ );
476
+ sideEffects?.onSiteCall?.();
477
+ try {
478
+ const result = await httpClient.request(reqOpts);
479
+ sideEffects?.onSuccess?.(result);
480
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
481
+ } catch (err) {
482
+ const transformedError = (0, import_transform_error.transformError)(
483
+ err,
484
+ {
485
+ spreadPathsToArguments: {},
486
+ explicitPathsToArguments: {
487
+ recipientIds: "$[0]",
488
+ assignTags: "$[1].assignTags",
489
+ unassignTags: "$[1].unassignTags"
490
+ },
491
+ singleArgumentUnchanged: false
492
+ },
493
+ ["recipientIds", "options"]
494
+ );
495
+ sideEffects?.onError?.(err);
496
+ throw transformedError;
497
+ }
498
+ }
499
+ async function bulkUpdateRecipientTagsByFilter2(filter, options) {
500
+ const { httpClient, sideEffects } = arguments[2];
501
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
502
+ filter,
503
+ assignTags: options?.assignTags,
504
+ unassignTags: options?.unassignTags
505
+ });
506
+ const reqOpts = bulkUpdateRecipientTagsByFilter(
507
+ payload
508
+ );
509
+ sideEffects?.onSiteCall?.();
510
+ try {
511
+ const result = await httpClient.request(reqOpts);
512
+ sideEffects?.onSuccess?.(result);
513
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
514
+ } catch (err) {
515
+ const transformedError = (0, import_transform_error.transformError)(
516
+ err,
517
+ {
518
+ spreadPathsToArguments: {},
519
+ explicitPathsToArguments: {
520
+ filter: "$[0]",
521
+ assignTags: "$[1].assignTags",
522
+ unassignTags: "$[1].unassignTags"
523
+ },
524
+ singleArgumentUnchanged: false
525
+ },
526
+ ["filter", "options"]
527
+ );
528
+ sideEffects?.onError?.(err);
529
+ throw transformedError;
530
+ }
531
+ }
532
+ // Annotate the CommonJS export names for ESM import in node:
533
+ 0 && (module.exports = {
534
+ Channel,
535
+ SortOrder,
536
+ WebhookIdentityType,
537
+ bulkUpdateRecipientTags,
538
+ bulkUpdateRecipientTagsByFilter,
539
+ createRecipient,
540
+ deleteRecipient,
541
+ getRecipient,
542
+ queryRecipients,
543
+ updateRecipient
544
+ });
545
+ //# sourceMappingURL=index.typings.js.map