@wix/auto_sdk_loyalty_coupons 1.0.16 → 1.0.18

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.
@@ -0,0 +1,595 @@
1
+ // src/loyalty-v1-coupon-coupons.universal.ts
2
+ import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
3
+ import { queryBuilder } from "@wix/sdk-runtime/query-builder";
4
+ import {
5
+ renameKeysFromSDKRequestToRESTRequest,
6
+ renameKeysFromRESTResponseToSDKResponse
7
+ } from "@wix/sdk-runtime/rename-all-nested-keys";
8
+
9
+ // src/loyalty-v1-coupon-coupons.http.ts
10
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
11
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
12
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
13
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
14
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
15
+ function resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl(opts) {
16
+ const domainToMappings = {
17
+ "manage._base_domain_": [
18
+ {
19
+ srcPath: "/_api/loyalty-coupons",
20
+ destPath: ""
21
+ }
22
+ ],
23
+ _: [
24
+ {
25
+ srcPath: "/_api/loyalty-coupons",
26
+ destPath: ""
27
+ }
28
+ ],
29
+ "editor.wixapps.net": [
30
+ {
31
+ srcPath: "/_api/loyalty-coupons",
32
+ destPath: ""
33
+ }
34
+ ],
35
+ "editor._base_domain_": [
36
+ {
37
+ srcPath: "/_api/loyalty-coupons",
38
+ destPath: ""
39
+ }
40
+ ],
41
+ "blocks._base_domain_": [
42
+ {
43
+ srcPath: "/_api/loyalty-coupons",
44
+ destPath: ""
45
+ }
46
+ ],
47
+ "create.editorx": [
48
+ {
49
+ srcPath: "/_api/loyalty-coupons",
50
+ destPath: ""
51
+ }
52
+ ],
53
+ "www._base_domain_": [
54
+ {
55
+ srcPath: "/_api/loyalty-coupons",
56
+ destPath: ""
57
+ }
58
+ ],
59
+ "*.dev.wix-code.com": [
60
+ {
61
+ srcPath: "/_api/loyalty-coupons",
62
+ destPath: ""
63
+ }
64
+ ],
65
+ "*.pub.wix-code.com": [
66
+ {
67
+ srcPath: "/_api/loyalty-coupons",
68
+ destPath: ""
69
+ }
70
+ ],
71
+ "api._api_base_domain_": [
72
+ {
73
+ srcPath: "/loyalty-coupons",
74
+ destPath: ""
75
+ }
76
+ ],
77
+ "www.wixapis.com": [
78
+ {
79
+ srcPath: "/loyalty-coupons",
80
+ destPath: ""
81
+ }
82
+ ]
83
+ };
84
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
85
+ }
86
+ var PACKAGE_NAME = "@wix/auto_sdk_loyalty_coupons";
87
+ function redeemPointsForCoupon(payload) {
88
+ function __redeemPointsForCoupon({ host }) {
89
+ const metadata = {
90
+ entityFqdn: "wix.loyalty.v1.coupon",
91
+ method: "POST",
92
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemPointsForCoupon",
93
+ packageName: PACKAGE_NAME,
94
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
95
+ protoPath: "/v1/coupons",
96
+ data: payload,
97
+ host
98
+ }),
99
+ data: payload,
100
+ transformResponse: (payload2) => transformPaths(payload2, [
101
+ {
102
+ transformFn: transformRESTTimestampToSDKTimestamp,
103
+ paths: [
104
+ { path: "coupon.createdDate" },
105
+ { path: "coupon.updatedDate" }
106
+ ]
107
+ },
108
+ {
109
+ transformFn: transformRESTFloatToSDKFloat,
110
+ paths: [
111
+ { path: "coupon.couponReference.specification.moneyOffAmount" },
112
+ { path: "coupon.couponReference.specification.percentOffRate" },
113
+ { path: "coupon.couponReference.specification.fixedPriceAmount" },
114
+ { path: "coupon.couponReference.specification.minimumSubtotal" }
115
+ ]
116
+ }
117
+ ])
118
+ };
119
+ return metadata;
120
+ }
121
+ return __redeemPointsForCoupon;
122
+ }
123
+ function redeemCurrentMemberPointsForCoupon(payload) {
124
+ function __redeemCurrentMemberPointsForCoupon({ host }) {
125
+ const metadata = {
126
+ entityFqdn: "wix.loyalty.v1.coupon",
127
+ method: "POST",
128
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.RedeemCurrentMemberPointsForCoupon",
129
+ packageName: PACKAGE_NAME,
130
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
131
+ protoPath: "/v1/coupons/redeem-my-coupon",
132
+ data: payload,
133
+ host
134
+ }),
135
+ data: payload,
136
+ transformResponse: (payload2) => transformPaths(payload2, [
137
+ {
138
+ transformFn: transformRESTTimestampToSDKTimestamp,
139
+ paths: [
140
+ { path: "coupon.createdDate" },
141
+ { path: "coupon.updatedDate" }
142
+ ]
143
+ },
144
+ {
145
+ transformFn: transformRESTFloatToSDKFloat,
146
+ paths: [
147
+ { path: "coupon.couponReference.specification.moneyOffAmount" },
148
+ { path: "coupon.couponReference.specification.percentOffRate" },
149
+ { path: "coupon.couponReference.specification.fixedPriceAmount" },
150
+ { path: "coupon.couponReference.specification.minimumSubtotal" }
151
+ ]
152
+ }
153
+ ])
154
+ };
155
+ return metadata;
156
+ }
157
+ return __redeemCurrentMemberPointsForCoupon;
158
+ }
159
+ function getLoyaltyCoupon(payload) {
160
+ function __getLoyaltyCoupon({ host }) {
161
+ const metadata = {
162
+ entityFqdn: "wix.loyalty.v1.coupon",
163
+ method: "GET",
164
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.GetLoyaltyCoupon",
165
+ packageName: PACKAGE_NAME,
166
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
167
+ protoPath: "/v1/coupons/{loyaltyCouponId}",
168
+ data: payload,
169
+ host
170
+ }),
171
+ params: toURLSearchParams(payload),
172
+ transformResponse: (payload2) => transformPaths(payload2, [
173
+ {
174
+ transformFn: transformRESTTimestampToSDKTimestamp,
175
+ paths: [
176
+ { path: "loyaltyCoupon.createdDate" },
177
+ { path: "loyaltyCoupon.updatedDate" }
178
+ ]
179
+ },
180
+ {
181
+ transformFn: transformRESTFloatToSDKFloat,
182
+ paths: [
183
+ {
184
+ path: "loyaltyCoupon.couponReference.specification.moneyOffAmount"
185
+ },
186
+ {
187
+ path: "loyaltyCoupon.couponReference.specification.percentOffRate"
188
+ },
189
+ {
190
+ path: "loyaltyCoupon.couponReference.specification.fixedPriceAmount"
191
+ },
192
+ {
193
+ path: "loyaltyCoupon.couponReference.specification.minimumSubtotal"
194
+ }
195
+ ]
196
+ }
197
+ ])
198
+ };
199
+ return metadata;
200
+ }
201
+ return __getLoyaltyCoupon;
202
+ }
203
+ function bulkGetLoyaltyCoupon(payload) {
204
+ function __bulkGetLoyaltyCoupon({ host }) {
205
+ const metadata = {
206
+ entityFqdn: "wix.loyalty.v1.coupon",
207
+ method: "GET",
208
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.BulkGetLoyaltyCoupon",
209
+ packageName: PACKAGE_NAME,
210
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
211
+ protoPath: "/v1/bulk/coupons",
212
+ data: payload,
213
+ host
214
+ }),
215
+ params: toURLSearchParams(payload, true),
216
+ transformResponse: (payload2) => transformPaths(payload2, [
217
+ {
218
+ transformFn: transformRESTTimestampToSDKTimestamp,
219
+ paths: [
220
+ { path: "couponsInSite.loyaltyCoupons.createdDate" },
221
+ { path: "couponsInSite.loyaltyCoupons.updatedDate" }
222
+ ]
223
+ },
224
+ {
225
+ transformFn: transformRESTFloatToSDKFloat,
226
+ paths: [
227
+ {
228
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.moneyOffAmount"
229
+ },
230
+ {
231
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.percentOffRate"
232
+ },
233
+ {
234
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.fixedPriceAmount"
235
+ },
236
+ {
237
+ path: "couponsInSite.loyaltyCoupons.couponReference.specification.minimumSubtotal"
238
+ }
239
+ ]
240
+ }
241
+ ])
242
+ };
243
+ return metadata;
244
+ }
245
+ return __bulkGetLoyaltyCoupon;
246
+ }
247
+ function getCurrentMemberCoupons(payload) {
248
+ function __getCurrentMemberCoupons({ host }) {
249
+ const metadata = {
250
+ entityFqdn: "wix.loyalty.v1.coupon",
251
+ method: "GET",
252
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.GetCurrentMemberCoupons",
253
+ packageName: PACKAGE_NAME,
254
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
255
+ protoPath: "/v1/coupons/my-coupons",
256
+ data: payload,
257
+ host
258
+ }),
259
+ params: toURLSearchParams(payload),
260
+ transformResponse: (payload2) => transformPaths(payload2, [
261
+ {
262
+ transformFn: transformRESTTimestampToSDKTimestamp,
263
+ paths: [
264
+ { path: "loyaltyCoupons.createdDate" },
265
+ { path: "loyaltyCoupons.updatedDate" }
266
+ ]
267
+ },
268
+ {
269
+ transformFn: transformRESTFloatToSDKFloat,
270
+ paths: [
271
+ {
272
+ path: "loyaltyCoupons.couponReference.specification.moneyOffAmount"
273
+ },
274
+ {
275
+ path: "loyaltyCoupons.couponReference.specification.percentOffRate"
276
+ },
277
+ {
278
+ path: "loyaltyCoupons.couponReference.specification.fixedPriceAmount"
279
+ },
280
+ {
281
+ path: "loyaltyCoupons.couponReference.specification.minimumSubtotal"
282
+ }
283
+ ]
284
+ }
285
+ ])
286
+ };
287
+ return metadata;
288
+ }
289
+ return __getCurrentMemberCoupons;
290
+ }
291
+ function queryLoyaltyCoupon(payload) {
292
+ function __queryLoyaltyCoupon({ host }) {
293
+ const metadata = {
294
+ entityFqdn: "wix.loyalty.v1.coupon",
295
+ method: "POST",
296
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.QueryLoyaltyCoupon",
297
+ packageName: PACKAGE_NAME,
298
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
299
+ protoPath: "/v1/coupons/query",
300
+ data: payload,
301
+ host
302
+ }),
303
+ data: payload,
304
+ transformResponse: (payload2) => transformPaths(payload2, [
305
+ {
306
+ transformFn: transformRESTTimestampToSDKTimestamp,
307
+ paths: [
308
+ { path: "loyaltyCoupons.createdDate" },
309
+ { path: "loyaltyCoupons.updatedDate" }
310
+ ]
311
+ },
312
+ {
313
+ transformFn: transformRESTFloatToSDKFloat,
314
+ paths: [
315
+ {
316
+ path: "loyaltyCoupons.couponReference.specification.moneyOffAmount"
317
+ },
318
+ {
319
+ path: "loyaltyCoupons.couponReference.specification.percentOffRate"
320
+ },
321
+ {
322
+ path: "loyaltyCoupons.couponReference.specification.fixedPriceAmount"
323
+ },
324
+ {
325
+ path: "loyaltyCoupons.couponReference.specification.minimumSubtotal"
326
+ }
327
+ ]
328
+ }
329
+ ])
330
+ };
331
+ return metadata;
332
+ }
333
+ return __queryLoyaltyCoupon;
334
+ }
335
+ function deleteLoyaltyCoupon(payload) {
336
+ function __deleteLoyaltyCoupon({ host }) {
337
+ const metadata = {
338
+ entityFqdn: "wix.loyalty.v1.coupon",
339
+ method: "DELETE",
340
+ methodFqn: "com.wixpress.loyalty.coupon.LoyaltyCoupons.DeleteLoyaltyCoupon",
341
+ packageName: PACKAGE_NAME,
342
+ url: resolveComWixpressLoyaltyCouponLoyaltyCouponsUrl({
343
+ protoPath: "/v1/coupons/{id}",
344
+ data: payload,
345
+ host
346
+ }),
347
+ params: toURLSearchParams(payload)
348
+ };
349
+ return metadata;
350
+ }
351
+ return __deleteLoyaltyCoupon;
352
+ }
353
+
354
+ // src/loyalty-v1-coupon-coupons.universal.ts
355
+ import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
356
+ var Type = /* @__PURE__ */ ((Type2) => {
357
+ Type2["UNKNOWN"] = "UNKNOWN";
358
+ Type2["MONEY_OFF_AMOUNT"] = "MONEY_OFF_AMOUNT";
359
+ Type2["PERCENT_OFF_RATE"] = "PERCENT_OFF_RATE";
360
+ Type2["FREE_SHIPPING"] = "FREE_SHIPPING";
361
+ Type2["FIXED_PRICE_AMOUNT"] = "FIXED_PRICE_AMOUNT";
362
+ Type2["BUY_X_GET_Y"] = "BUY_X_GET_Y";
363
+ return Type2;
364
+ })(Type || {});
365
+ var Status = /* @__PURE__ */ ((Status2) => {
366
+ Status2["UNKNOWN"] = "UNKNOWN";
367
+ Status2["PENDING"] = "PENDING";
368
+ Status2["ACTIVE"] = "ACTIVE";
369
+ Status2["APPLIED"] = "APPLIED";
370
+ Status2["FAILED"] = "FAILED";
371
+ Status2["ARCHIVED"] = "ARCHIVED";
372
+ return Status2;
373
+ })(Status || {});
374
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
375
+ SortOrder2["ASC"] = "ASC";
376
+ SortOrder2["DESC"] = "DESC";
377
+ return SortOrder2;
378
+ })(SortOrder || {});
379
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
380
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
381
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
382
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
383
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
384
+ WebhookIdentityType2["APP"] = "APP";
385
+ return WebhookIdentityType2;
386
+ })(WebhookIdentityType || {});
387
+ async function redeemPointsForCoupon2(rewardId, options) {
388
+ const { httpClient, sideEffects } = arguments[2];
389
+ const payload = renameKeysFromSDKRequestToRESTRequest({
390
+ rewardId,
391
+ loyaltyAccountId: options?.loyaltyAccountId
392
+ });
393
+ const reqOpts = redeemPointsForCoupon(payload);
394
+ sideEffects?.onSiteCall?.();
395
+ try {
396
+ const result = await httpClient.request(reqOpts);
397
+ sideEffects?.onSuccess?.(result);
398
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
399
+ } catch (err) {
400
+ const transformedError = sdkTransformError(
401
+ err,
402
+ {
403
+ spreadPathsToArguments: {},
404
+ explicitPathsToArguments: {
405
+ rewardId: "$[0]",
406
+ loyaltyAccountId: "$[1].loyaltyAccountId"
407
+ },
408
+ singleArgumentUnchanged: false
409
+ },
410
+ ["rewardId", "options"]
411
+ );
412
+ sideEffects?.onError?.(err);
413
+ throw transformedError;
414
+ }
415
+ }
416
+ async function redeemCurrentMemberPointsForCoupon2(rewardId) {
417
+ const { httpClient, sideEffects } = arguments[1];
418
+ const payload = renameKeysFromSDKRequestToRESTRequest({ rewardId });
419
+ const reqOpts = redeemCurrentMemberPointsForCoupon(payload);
420
+ sideEffects?.onSiteCall?.();
421
+ try {
422
+ const result = await httpClient.request(reqOpts);
423
+ sideEffects?.onSuccess?.(result);
424
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
425
+ } catch (err) {
426
+ const transformedError = sdkTransformError(
427
+ err,
428
+ {
429
+ spreadPathsToArguments: {},
430
+ explicitPathsToArguments: { rewardId: "$[0]" },
431
+ singleArgumentUnchanged: false
432
+ },
433
+ ["rewardId"]
434
+ );
435
+ sideEffects?.onError?.(err);
436
+ throw transformedError;
437
+ }
438
+ }
439
+ async function getLoyaltyCoupon2(loyaltyCouponId) {
440
+ const { httpClient, sideEffects } = arguments[1];
441
+ const payload = renameKeysFromSDKRequestToRESTRequest({
442
+ loyaltyCouponId
443
+ });
444
+ const reqOpts = getLoyaltyCoupon(payload);
445
+ sideEffects?.onSiteCall?.();
446
+ try {
447
+ const result = await httpClient.request(reqOpts);
448
+ sideEffects?.onSuccess?.(result);
449
+ return renameKeysFromRESTResponseToSDKResponse(result.data)?.loyaltyCoupon;
450
+ } catch (err) {
451
+ const transformedError = sdkTransformError(
452
+ err,
453
+ {
454
+ spreadPathsToArguments: {},
455
+ explicitPathsToArguments: { loyaltyCouponId: "$[0]" },
456
+ singleArgumentUnchanged: false
457
+ },
458
+ ["loyaltyCouponId"]
459
+ );
460
+ sideEffects?.onError?.(err);
461
+ throw transformedError;
462
+ }
463
+ }
464
+ async function bulkGetLoyaltyCoupon2(options) {
465
+ const { httpClient, sideEffects } = arguments[1];
466
+ const payload = renameKeysFromSDKRequestToRESTRequest({
467
+ query: options?.query
468
+ });
469
+ const reqOpts = bulkGetLoyaltyCoupon(payload);
470
+ sideEffects?.onSiteCall?.();
471
+ try {
472
+ const result = await httpClient.request(reqOpts);
473
+ sideEffects?.onSuccess?.(result);
474
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
475
+ } catch (err) {
476
+ const transformedError = sdkTransformError(
477
+ err,
478
+ {
479
+ spreadPathsToArguments: {},
480
+ explicitPathsToArguments: { query: "$[0].query" },
481
+ singleArgumentUnchanged: false
482
+ },
483
+ ["options"]
484
+ );
485
+ sideEffects?.onError?.(err);
486
+ throw transformedError;
487
+ }
488
+ }
489
+ async function getCurrentMemberCoupons2() {
490
+ const { httpClient, sideEffects } = arguments[0];
491
+ const payload = renameKeysFromSDKRequestToRESTRequest({});
492
+ const reqOpts = getCurrentMemberCoupons(payload);
493
+ sideEffects?.onSiteCall?.();
494
+ try {
495
+ const result = await httpClient.request(reqOpts);
496
+ sideEffects?.onSuccess?.(result);
497
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
498
+ } catch (err) {
499
+ const transformedError = sdkTransformError(
500
+ err,
501
+ {
502
+ spreadPathsToArguments: {},
503
+ explicitPathsToArguments: {},
504
+ singleArgumentUnchanged: false
505
+ },
506
+ []
507
+ );
508
+ sideEffects?.onError?.(err);
509
+ throw transformedError;
510
+ }
511
+ }
512
+ function queryLoyaltyCoupons() {
513
+ const { httpClient, sideEffects } = arguments[0];
514
+ return queryBuilder({
515
+ func: async (payload) => {
516
+ const reqOpts = queryLoyaltyCoupon(payload);
517
+ sideEffects?.onSiteCall?.();
518
+ try {
519
+ const result = await httpClient.request(reqOpts);
520
+ sideEffects?.onSuccess?.(result);
521
+ return result;
522
+ } catch (err) {
523
+ sideEffects?.onError?.(err);
524
+ throw err;
525
+ }
526
+ },
527
+ requestTransformer: (query) => {
528
+ const args = [query, {}];
529
+ return renameKeysFromSDKRequestToRESTRequest({
530
+ ...args?.[1],
531
+ query: args?.[0]
532
+ });
533
+ },
534
+ responseTransformer: ({
535
+ data
536
+ }) => {
537
+ const transformedData = renameKeysFromRESTResponseToSDKResponse(
538
+ transformPaths2(data, [])
539
+ );
540
+ return {
541
+ items: transformedData?.loyaltyCoupons,
542
+ pagingMetadata: transformedData?.metadata
543
+ };
544
+ },
545
+ errorTransformer: (err) => {
546
+ const transformedError = sdkTransformError(err, {
547
+ spreadPathsToArguments: {},
548
+ explicitPathsToArguments: { query: "$[0]" },
549
+ singleArgumentUnchanged: false
550
+ });
551
+ throw transformedError;
552
+ },
553
+ pagingMethod: "CURSOR",
554
+ transformationPaths: {}
555
+ });
556
+ }
557
+ async function deleteLoyaltyCoupon2(_id, revision) {
558
+ const { httpClient, sideEffects } = arguments[2];
559
+ const payload = renameKeysFromSDKRequestToRESTRequest({
560
+ id: _id,
561
+ revision
562
+ });
563
+ const reqOpts = deleteLoyaltyCoupon(payload);
564
+ sideEffects?.onSiteCall?.();
565
+ try {
566
+ const result = await httpClient.request(reqOpts);
567
+ sideEffects?.onSuccess?.(result);
568
+ } catch (err) {
569
+ const transformedError = sdkTransformError(
570
+ err,
571
+ {
572
+ spreadPathsToArguments: {},
573
+ explicitPathsToArguments: { id: "$[0]", revision: "$[1]" },
574
+ singleArgumentUnchanged: false
575
+ },
576
+ ["_id", "revision"]
577
+ );
578
+ sideEffects?.onError?.(err);
579
+ throw transformedError;
580
+ }
581
+ }
582
+ export {
583
+ SortOrder,
584
+ Status,
585
+ Type,
586
+ WebhookIdentityType,
587
+ bulkGetLoyaltyCoupon2 as bulkGetLoyaltyCoupon,
588
+ deleteLoyaltyCoupon2 as deleteLoyaltyCoupon,
589
+ getCurrentMemberCoupons2 as getCurrentMemberCoupons,
590
+ getLoyaltyCoupon2 as getLoyaltyCoupon,
591
+ queryLoyaltyCoupons,
592
+ redeemCurrentMemberPointsForCoupon2 as redeemCurrentMemberPointsForCoupon,
593
+ redeemPointsForCoupon2 as redeemPointsForCoupon
594
+ };
595
+ //# sourceMappingURL=index.typings.mjs.map