@capibox/bridge-nextjs-client 0.0.79 → 0.0.81
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.
- package/dist/index.d.mts +486 -76
- package/dist/index.d.ts +486 -76
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,13 @@ declare const browser: {
|
|
|
188
188
|
pathname?: string;
|
|
189
189
|
}[];
|
|
190
190
|
}>;
|
|
191
|
+
cart: (uuid: string, body: {
|
|
192
|
+
strategy: "split-to-2-eq" | "split-to-3-eq" | "split-to-2-desc" | "split-to-3-desc" | "split-to-2-asc" | "split-to-3-asc" | "split-by-price";
|
|
193
|
+
maxPrice?: number;
|
|
194
|
+
}) => Promise<{
|
|
195
|
+
originalCart: Record<string, never>;
|
|
196
|
+
splitCarts: Record<string, never>[];
|
|
197
|
+
}>;
|
|
191
198
|
};
|
|
192
199
|
mail: {
|
|
193
200
|
sendToRecipient: (data: {
|
|
@@ -212,15 +219,26 @@ declare const browser: {
|
|
|
212
219
|
[key: string]: unknown;
|
|
213
220
|
};
|
|
214
221
|
}) => Promise<{
|
|
215
|
-
id:
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
status: string;
|
|
222
|
+
id: string;
|
|
223
|
+
project: string;
|
|
224
|
+
cookies: {
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
};
|
|
227
|
+
country: string;
|
|
222
228
|
createdAt: string;
|
|
229
|
+
ip: string;
|
|
230
|
+
isEu: boolean;
|
|
231
|
+
origin: string;
|
|
232
|
+
query: {
|
|
233
|
+
[key: string]: unknown;
|
|
234
|
+
};
|
|
235
|
+
referer: string;
|
|
236
|
+
slug: string;
|
|
223
237
|
updatedAt: string;
|
|
238
|
+
useragent: string;
|
|
239
|
+
extraData: {
|
|
240
|
+
[key: string]: unknown;
|
|
241
|
+
};
|
|
224
242
|
}>;
|
|
225
243
|
create: ({ language, email, currency, quiz, ...data }: {
|
|
226
244
|
language: string;
|
|
@@ -244,15 +262,26 @@ declare const browser: {
|
|
|
244
262
|
referer?: string;
|
|
245
263
|
slug: string;
|
|
246
264
|
}, "origin" | "referer" | "cookies" | "slug" | "query" | "ip" | "user-agent" | "analyticsId" | "analyticsIdv3">) => Promise<{
|
|
247
|
-
id:
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
status: string;
|
|
265
|
+
id: string;
|
|
266
|
+
project: string;
|
|
267
|
+
cookies: {
|
|
268
|
+
[key: string]: unknown;
|
|
269
|
+
};
|
|
270
|
+
country: string;
|
|
254
271
|
createdAt: string;
|
|
272
|
+
ip: string;
|
|
273
|
+
isEu: boolean;
|
|
274
|
+
origin: string;
|
|
275
|
+
query: {
|
|
276
|
+
[key: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
referer: string;
|
|
279
|
+
slug: string;
|
|
255
280
|
updatedAt: string;
|
|
281
|
+
useragent: string;
|
|
282
|
+
extraData: {
|
|
283
|
+
[key: string]: unknown;
|
|
284
|
+
};
|
|
256
285
|
}>;
|
|
257
286
|
get: (uuid: string) => Promise<_capibox_bridge_browser.SDKCapiboxSessionResponse>;
|
|
258
287
|
markPaid: (uuid: string) => Promise<{
|
|
@@ -263,15 +292,26 @@ declare const browser: {
|
|
|
263
292
|
get: (uuid: string) => Promise<{
|
|
264
293
|
success: number;
|
|
265
294
|
data: {
|
|
266
|
-
id:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
status: string;
|
|
295
|
+
id: string;
|
|
296
|
+
project: string;
|
|
297
|
+
cookies: {
|
|
298
|
+
[key: string]: unknown;
|
|
299
|
+
};
|
|
300
|
+
country: string;
|
|
273
301
|
createdAt: string;
|
|
302
|
+
ip: string;
|
|
303
|
+
isEu: boolean;
|
|
304
|
+
origin: string;
|
|
305
|
+
query: {
|
|
306
|
+
[key: string]: unknown;
|
|
307
|
+
};
|
|
308
|
+
referer: string;
|
|
309
|
+
slug: string;
|
|
274
310
|
updatedAt: string;
|
|
311
|
+
useragent: string;
|
|
312
|
+
extraData: {
|
|
313
|
+
[key: string]: unknown;
|
|
314
|
+
};
|
|
275
315
|
};
|
|
276
316
|
currency: {
|
|
277
317
|
currency: string;
|
|
@@ -304,15 +344,26 @@ declare const browser: {
|
|
|
304
344
|
}, "origin" | "referer" | "cookies" | "slug" | "query" | "ip" | "user-agent" | "analyticsId" | "analyticsIdv3">) => Promise<{
|
|
305
345
|
success: number;
|
|
306
346
|
data: {
|
|
307
|
-
id:
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
status: string;
|
|
347
|
+
id: string;
|
|
348
|
+
project: string;
|
|
349
|
+
cookies: {
|
|
350
|
+
[key: string]: unknown;
|
|
351
|
+
};
|
|
352
|
+
country: string;
|
|
314
353
|
createdAt: string;
|
|
354
|
+
ip: string;
|
|
355
|
+
isEu: boolean;
|
|
356
|
+
origin: string;
|
|
357
|
+
query: {
|
|
358
|
+
[key: string]: unknown;
|
|
359
|
+
};
|
|
360
|
+
referer: string;
|
|
361
|
+
slug: string;
|
|
315
362
|
updatedAt: string;
|
|
363
|
+
useragent: string;
|
|
364
|
+
extraData: {
|
|
365
|
+
[key: string]: unknown;
|
|
366
|
+
};
|
|
316
367
|
};
|
|
317
368
|
currency: {
|
|
318
369
|
currency: string;
|
|
@@ -455,6 +506,388 @@ declare const browser: {
|
|
|
455
506
|
}) => Promise<{
|
|
456
507
|
success: boolean;
|
|
457
508
|
}>;
|
|
509
|
+
upsell: {
|
|
510
|
+
charge: ({ uuid, amount, type, description, metadata, orderId: passedOrderId }: {
|
|
511
|
+
uuid: string;
|
|
512
|
+
amount: number;
|
|
513
|
+
type: "capture" | "authorize";
|
|
514
|
+
metadata?: {
|
|
515
|
+
[key: string]: any;
|
|
516
|
+
};
|
|
517
|
+
description?: string;
|
|
518
|
+
orderId?: string;
|
|
519
|
+
}) => Promise<{
|
|
520
|
+
id: string;
|
|
521
|
+
date: string;
|
|
522
|
+
dateUpdated: string;
|
|
523
|
+
amount: number;
|
|
524
|
+
currencyCode: string;
|
|
525
|
+
customerId: string;
|
|
526
|
+
metadata: Record<string, never>;
|
|
527
|
+
orderId: string;
|
|
528
|
+
status: "PENDING" | "FAILED" | "AUTHORIZED" | "SETTLING" | "PARTIALLY_SETTLED" | "SETTLED" | "DECLINED" | "CANCELLED";
|
|
529
|
+
order: {
|
|
530
|
+
countryCode: string;
|
|
531
|
+
};
|
|
532
|
+
customer: {
|
|
533
|
+
emailAddress: string;
|
|
534
|
+
billingAddress: {
|
|
535
|
+
countryCode: string;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
paymentMethod: {
|
|
539
|
+
paymentType: string;
|
|
540
|
+
authorizationType: string;
|
|
541
|
+
paymentMethodToken: string;
|
|
542
|
+
isVaulted: boolean;
|
|
543
|
+
analyticsId: string;
|
|
544
|
+
paymentMethodType: string;
|
|
545
|
+
paymentMethodData: {
|
|
546
|
+
last4Digits: string;
|
|
547
|
+
first6Digits: string;
|
|
548
|
+
expirationMonth: string;
|
|
549
|
+
expirationYear: string;
|
|
550
|
+
network: string;
|
|
551
|
+
isNetworkTokenized: boolean;
|
|
552
|
+
binData: {
|
|
553
|
+
[key: string]: unknown;
|
|
554
|
+
} & {
|
|
555
|
+
network: string;
|
|
556
|
+
issuerCountryCode: string;
|
|
557
|
+
issuerName: string;
|
|
558
|
+
issuerCurrencyCode: string;
|
|
559
|
+
regionalRestriction: string;
|
|
560
|
+
accountNumberType: string;
|
|
561
|
+
accountFundingType: string;
|
|
562
|
+
prepaidReloadableIndicator: string;
|
|
563
|
+
productUsageType: string;
|
|
564
|
+
productCode: string;
|
|
565
|
+
productName: string;
|
|
566
|
+
};
|
|
567
|
+
networkTransactionId: string;
|
|
568
|
+
accountFundingType: string;
|
|
569
|
+
};
|
|
570
|
+
threeDSecureAuthentication: {
|
|
571
|
+
responseCode: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
processor: {
|
|
575
|
+
name: string;
|
|
576
|
+
processorMerchantId: string;
|
|
577
|
+
amountCaptured: number;
|
|
578
|
+
amountRefunded: number;
|
|
579
|
+
};
|
|
580
|
+
transactions: {
|
|
581
|
+
amount: {
|
|
582
|
+
total: string;
|
|
583
|
+
currency: string;
|
|
584
|
+
details: {
|
|
585
|
+
subtotal: string;
|
|
586
|
+
shipping: string;
|
|
587
|
+
insurance: string;
|
|
588
|
+
handling_fee: string;
|
|
589
|
+
shipping_discount: string;
|
|
590
|
+
discount: string;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
payee: {
|
|
594
|
+
merchant_id: string;
|
|
595
|
+
email: string;
|
|
596
|
+
};
|
|
597
|
+
description: string;
|
|
598
|
+
invoice_number: string;
|
|
599
|
+
item_list: {
|
|
600
|
+
items: {
|
|
601
|
+
name: string;
|
|
602
|
+
sku: string;
|
|
603
|
+
description: string;
|
|
604
|
+
price: string;
|
|
605
|
+
currency: string;
|
|
606
|
+
tax: string;
|
|
607
|
+
quantity: number;
|
|
608
|
+
image_url: string;
|
|
609
|
+
}[];
|
|
610
|
+
};
|
|
611
|
+
related_resources: {
|
|
612
|
+
sale?: {
|
|
613
|
+
id: string;
|
|
614
|
+
amount: {
|
|
615
|
+
currency_code: string;
|
|
616
|
+
value: string;
|
|
617
|
+
};
|
|
618
|
+
final_capture: boolean;
|
|
619
|
+
seller_protection: {
|
|
620
|
+
status: string;
|
|
621
|
+
dispute_categories: string[];
|
|
622
|
+
};
|
|
623
|
+
seller_receivable_breakdown: {
|
|
624
|
+
gross_amount: {
|
|
625
|
+
currency_code: string;
|
|
626
|
+
value: string;
|
|
627
|
+
};
|
|
628
|
+
paypal_fee: {
|
|
629
|
+
currency_code: string;
|
|
630
|
+
value: string;
|
|
631
|
+
};
|
|
632
|
+
net_amount: {
|
|
633
|
+
currency_code: string;
|
|
634
|
+
value: string;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
invoice_id?: string;
|
|
638
|
+
custom_id?: string;
|
|
639
|
+
status: string;
|
|
640
|
+
supplementary_data: {
|
|
641
|
+
related_ids: Record<string, never>;
|
|
642
|
+
};
|
|
643
|
+
payee: {
|
|
644
|
+
email_address: string;
|
|
645
|
+
merchant_id: string;
|
|
646
|
+
};
|
|
647
|
+
create_time: string;
|
|
648
|
+
update_time: string;
|
|
649
|
+
links: {
|
|
650
|
+
href: string;
|
|
651
|
+
rel: string;
|
|
652
|
+
method: string;
|
|
653
|
+
}[];
|
|
654
|
+
};
|
|
655
|
+
authorization?: {
|
|
656
|
+
id: string;
|
|
657
|
+
status: string;
|
|
658
|
+
amount: {
|
|
659
|
+
currency_code: string;
|
|
660
|
+
value: string;
|
|
661
|
+
};
|
|
662
|
+
invoice_id?: string;
|
|
663
|
+
seller_protection: {
|
|
664
|
+
status: string;
|
|
665
|
+
dispute_categories: string[];
|
|
666
|
+
};
|
|
667
|
+
supplementary_data: {
|
|
668
|
+
related_ids: Record<string, never>;
|
|
669
|
+
};
|
|
670
|
+
payee: {
|
|
671
|
+
email_address: string;
|
|
672
|
+
merchant_id: string;
|
|
673
|
+
};
|
|
674
|
+
expiration_time: string;
|
|
675
|
+
create_time: string;
|
|
676
|
+
update_time: string;
|
|
677
|
+
links: {
|
|
678
|
+
href: string;
|
|
679
|
+
rel: string;
|
|
680
|
+
method: string;
|
|
681
|
+
}[];
|
|
682
|
+
};
|
|
683
|
+
}[];
|
|
684
|
+
}[];
|
|
685
|
+
riskData: {
|
|
686
|
+
cvvCheck: {
|
|
687
|
+
source: string;
|
|
688
|
+
result: string;
|
|
689
|
+
};
|
|
690
|
+
avsCheck: {
|
|
691
|
+
source: string;
|
|
692
|
+
result: {
|
|
693
|
+
streetAddress: string;
|
|
694
|
+
postalCode: string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
} | {
|
|
699
|
+
success: boolean;
|
|
700
|
+
}>;
|
|
701
|
+
chargeFromCart: ({ cartUUID, type, description, metadata, }: {
|
|
702
|
+
cartUUID: string;
|
|
703
|
+
type: "capture" | "authorize";
|
|
704
|
+
metadata?: {
|
|
705
|
+
[key: string]: any;
|
|
706
|
+
};
|
|
707
|
+
description?: string;
|
|
708
|
+
}) => Promise<{
|
|
709
|
+
id: string;
|
|
710
|
+
date: string;
|
|
711
|
+
dateUpdated: string;
|
|
712
|
+
amount: number;
|
|
713
|
+
currencyCode: string;
|
|
714
|
+
customerId: string;
|
|
715
|
+
metadata: Record<string, never>;
|
|
716
|
+
orderId: string;
|
|
717
|
+
status: "PENDING" | "FAILED" | "AUTHORIZED" | "SETTLING" | "PARTIALLY_SETTLED" | "SETTLED" | "DECLINED" | "CANCELLED";
|
|
718
|
+
order: {
|
|
719
|
+
countryCode: string;
|
|
720
|
+
};
|
|
721
|
+
customer: {
|
|
722
|
+
emailAddress: string;
|
|
723
|
+
billingAddress: {
|
|
724
|
+
countryCode: string;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
paymentMethod: {
|
|
728
|
+
paymentType: string;
|
|
729
|
+
authorizationType: string;
|
|
730
|
+
paymentMethodToken: string;
|
|
731
|
+
isVaulted: boolean;
|
|
732
|
+
analyticsId: string;
|
|
733
|
+
paymentMethodType: string;
|
|
734
|
+
paymentMethodData: {
|
|
735
|
+
last4Digits: string;
|
|
736
|
+
first6Digits: string;
|
|
737
|
+
expirationMonth: string;
|
|
738
|
+
expirationYear: string;
|
|
739
|
+
network: string;
|
|
740
|
+
isNetworkTokenized: boolean;
|
|
741
|
+
binData: {
|
|
742
|
+
[key: string]: unknown;
|
|
743
|
+
} & {
|
|
744
|
+
network: string;
|
|
745
|
+
issuerCountryCode: string;
|
|
746
|
+
issuerName: string;
|
|
747
|
+
issuerCurrencyCode: string;
|
|
748
|
+
regionalRestriction: string;
|
|
749
|
+
accountNumberType: string;
|
|
750
|
+
accountFundingType: string;
|
|
751
|
+
prepaidReloadableIndicator: string;
|
|
752
|
+
productUsageType: string;
|
|
753
|
+
productCode: string;
|
|
754
|
+
productName: string;
|
|
755
|
+
};
|
|
756
|
+
networkTransactionId: string;
|
|
757
|
+
accountFundingType: string;
|
|
758
|
+
};
|
|
759
|
+
threeDSecureAuthentication: {
|
|
760
|
+
responseCode: string;
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
processor: {
|
|
764
|
+
name: string;
|
|
765
|
+
processorMerchantId: string;
|
|
766
|
+
amountCaptured: number;
|
|
767
|
+
amountRefunded: number;
|
|
768
|
+
};
|
|
769
|
+
transactions: {
|
|
770
|
+
amount: {
|
|
771
|
+
total: string;
|
|
772
|
+
currency: string;
|
|
773
|
+
details: {
|
|
774
|
+
subtotal: string;
|
|
775
|
+
shipping: string;
|
|
776
|
+
insurance: string;
|
|
777
|
+
handling_fee: string;
|
|
778
|
+
shipping_discount: string;
|
|
779
|
+
discount: string;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
payee: {
|
|
783
|
+
merchant_id: string;
|
|
784
|
+
email: string;
|
|
785
|
+
};
|
|
786
|
+
description: string;
|
|
787
|
+
invoice_number: string;
|
|
788
|
+
item_list: {
|
|
789
|
+
items: {
|
|
790
|
+
name: string;
|
|
791
|
+
sku: string;
|
|
792
|
+
description: string;
|
|
793
|
+
price: string;
|
|
794
|
+
currency: string;
|
|
795
|
+
tax: string;
|
|
796
|
+
quantity: number;
|
|
797
|
+
image_url: string;
|
|
798
|
+
}[];
|
|
799
|
+
};
|
|
800
|
+
related_resources: {
|
|
801
|
+
sale?: {
|
|
802
|
+
id: string;
|
|
803
|
+
amount: {
|
|
804
|
+
currency_code: string;
|
|
805
|
+
value: string;
|
|
806
|
+
};
|
|
807
|
+
final_capture: boolean;
|
|
808
|
+
seller_protection: {
|
|
809
|
+
status: string;
|
|
810
|
+
dispute_categories: string[];
|
|
811
|
+
};
|
|
812
|
+
seller_receivable_breakdown: {
|
|
813
|
+
gross_amount: {
|
|
814
|
+
currency_code: string;
|
|
815
|
+
value: string;
|
|
816
|
+
};
|
|
817
|
+
paypal_fee: {
|
|
818
|
+
currency_code: string;
|
|
819
|
+
value: string;
|
|
820
|
+
};
|
|
821
|
+
net_amount: {
|
|
822
|
+
currency_code: string;
|
|
823
|
+
value: string;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
invoice_id?: string;
|
|
827
|
+
custom_id?: string;
|
|
828
|
+
status: string;
|
|
829
|
+
supplementary_data: {
|
|
830
|
+
related_ids: Record<string, never>;
|
|
831
|
+
};
|
|
832
|
+
payee: {
|
|
833
|
+
email_address: string;
|
|
834
|
+
merchant_id: string;
|
|
835
|
+
};
|
|
836
|
+
create_time: string;
|
|
837
|
+
update_time: string;
|
|
838
|
+
links: {
|
|
839
|
+
href: string;
|
|
840
|
+
rel: string;
|
|
841
|
+
method: string;
|
|
842
|
+
}[];
|
|
843
|
+
};
|
|
844
|
+
authorization?: {
|
|
845
|
+
id: string;
|
|
846
|
+
status: string;
|
|
847
|
+
amount: {
|
|
848
|
+
currency_code: string;
|
|
849
|
+
value: string;
|
|
850
|
+
};
|
|
851
|
+
invoice_id?: string;
|
|
852
|
+
seller_protection: {
|
|
853
|
+
status: string;
|
|
854
|
+
dispute_categories: string[];
|
|
855
|
+
};
|
|
856
|
+
supplementary_data: {
|
|
857
|
+
related_ids: Record<string, never>;
|
|
858
|
+
};
|
|
859
|
+
payee: {
|
|
860
|
+
email_address: string;
|
|
861
|
+
merchant_id: string;
|
|
862
|
+
};
|
|
863
|
+
expiration_time: string;
|
|
864
|
+
create_time: string;
|
|
865
|
+
update_time: string;
|
|
866
|
+
links: {
|
|
867
|
+
href: string;
|
|
868
|
+
rel: string;
|
|
869
|
+
method: string;
|
|
870
|
+
}[];
|
|
871
|
+
};
|
|
872
|
+
}[];
|
|
873
|
+
}[];
|
|
874
|
+
riskData: {
|
|
875
|
+
cvvCheck: {
|
|
876
|
+
source: string;
|
|
877
|
+
result: string;
|
|
878
|
+
};
|
|
879
|
+
avsCheck: {
|
|
880
|
+
source: string;
|
|
881
|
+
result: {
|
|
882
|
+
streetAddress: string;
|
|
883
|
+
postalCode: string;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
} | {
|
|
888
|
+
success: boolean;
|
|
889
|
+
}>;
|
|
890
|
+
};
|
|
458
891
|
confirmPayment: (uuid: string, { cart }: {
|
|
459
892
|
cart: {
|
|
460
893
|
pm: string;
|
|
@@ -484,6 +917,7 @@ declare const browser: {
|
|
|
484
917
|
intent?: string;
|
|
485
918
|
cancelUrl: string;
|
|
486
919
|
successUrl: string;
|
|
920
|
+
description?: string;
|
|
487
921
|
}) => Promise<{
|
|
488
922
|
id: string;
|
|
489
923
|
intent: string;
|
|
@@ -1181,55 +1615,31 @@ declare const browser: {
|
|
|
1181
1615
|
}>;
|
|
1182
1616
|
};
|
|
1183
1617
|
jumpTask: {
|
|
1184
|
-
create: (dto: {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
origin: string;
|
|
1197
|
-
cookies: Record<string, never>;
|
|
1198
|
-
query: Record<string, never>;
|
|
1199
|
-
createdAt?: string;
|
|
1200
|
-
updatedAt?: string;
|
|
1201
|
-
uuid: string;
|
|
1202
|
-
extraData: Record<string, never>;
|
|
1203
|
-
email: string;
|
|
1204
|
-
analyticsId: string;
|
|
1205
|
-
state: string;
|
|
1206
|
-
isPurchased: boolean;
|
|
1207
|
-
device?: Record<string, never>;
|
|
1618
|
+
create: (dto: any) => Promise<{
|
|
1619
|
+
data: {
|
|
1620
|
+
id: number;
|
|
1621
|
+
uuid: string;
|
|
1622
|
+
transactionId: string;
|
|
1623
|
+
userId: string;
|
|
1624
|
+
trustpilotLink?: string;
|
|
1625
|
+
postbackUrl?: string;
|
|
1626
|
+
status: string;
|
|
1627
|
+
createdAt: string;
|
|
1628
|
+
updatedAt: string;
|
|
1629
|
+
};
|
|
1208
1630
|
}>;
|
|
1209
|
-
update: (uuid: string, dto: {
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
origin: string;
|
|
1222
|
-
cookies: Record<string, never>;
|
|
1223
|
-
query: Record<string, never>;
|
|
1224
|
-
createdAt?: string;
|
|
1225
|
-
updatedAt?: string;
|
|
1226
|
-
uuid: string;
|
|
1227
|
-
extraData: Record<string, never>;
|
|
1228
|
-
email: string;
|
|
1229
|
-
analyticsId: string;
|
|
1230
|
-
state: string;
|
|
1231
|
-
isPurchased: boolean;
|
|
1232
|
-
device?: Record<string, never>;
|
|
1631
|
+
update: (uuid: string, dto: any) => Promise<{
|
|
1632
|
+
data: {
|
|
1633
|
+
id: number;
|
|
1634
|
+
uuid: string;
|
|
1635
|
+
transactionId: string;
|
|
1636
|
+
userId: string;
|
|
1637
|
+
trustpilotLink?: string;
|
|
1638
|
+
postbackUrl?: string;
|
|
1639
|
+
status: string;
|
|
1640
|
+
createdAt: string;
|
|
1641
|
+
updatedAt: string;
|
|
1642
|
+
};
|
|
1233
1643
|
}>;
|
|
1234
1644
|
};
|
|
1235
1645
|
klaviyo: {
|