@capibox/bridge-nextjs-client 0.0.43 → 0.0.45

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.ts CHANGED
@@ -13,47 +13,166 @@ type ParamsLandingPageResponse = {
13
13
 
14
14
  interface components {
15
15
  schemas: {
16
- TeamResponseDto: {
17
- /**
18
- * @description The unique identifier of the team
19
- * @example 1
20
- */
16
+ CreateLinkDto: {
17
+ /** @example Documentation Page */
18
+ title: string;
19
+ /** @example https://example.com/page */
20
+ url: string;
21
+ /** @example true */
22
+ active?: boolean;
23
+ /** @example en */
24
+ language: string;
25
+ /** @example Google Drive */
26
+ source: string;
27
+ /** @example Project Alpha */
28
+ project: string;
29
+ };
30
+ LinkResponseDto: {
31
+ /** @description Link ID */
21
32
  id: number;
22
- /**
23
- * @description The title of the team
24
- * @example Development Team
25
- */
33
+ /** @description Link title */
26
34
  title: string;
35
+ /** @description Target URL */
36
+ url: string;
37
+ /** @description Whether the link is active */
38
+ active: boolean;
39
+ /** @description Language of the account */
40
+ language: string;
41
+ /** @description Source of the link (e.g., google, facebook) */
42
+ source: string;
43
+ /** @description Project this link belongs to */
44
+ project: string;
45
+ /** @description Spreadsheet URL if applicable */
46
+ spreadsheet_url?: string;
47
+ };
48
+ UpdateLinkDto: {
49
+ /** @example Documentation Page */
50
+ title?: string;
51
+ /** @example https://example.com/page */
52
+ url?: string;
53
+ /** @example true */
54
+ active?: boolean;
55
+ /** @example en */
56
+ language?: string;
57
+ /** @example Google Drive */
58
+ source?: string;
59
+ /** @example Project Alpha */
60
+ project?: string;
61
+ };
62
+ CreateLanguageRuleDto: {
63
+ /** @example 1 */
64
+ accountId: number;
65
+ /** @example Greeting Rule */
66
+ title: string;
67
+ /** @example en */
68
+ language: string;
27
69
  /**
28
- * @description The access for element
29
- * @example [
30
- * "xx@netzet.com",
31
- * "xx2@netzet.com"
32
- * ]
70
+ * @example contains
71
+ * @enum {string}
33
72
  */
34
- access?: string[];
73
+ condition_type: "contains" | "equals" | "not_contains";
74
+ /** @example hello */
75
+ condition_value: string;
76
+ /** @example 1 */
77
+ sort?: number;
35
78
  };
36
- CreateTeamDto: {
79
+ LanguageRuleAccountDto: {
80
+ /** @description Account ID (Link ID) */
81
+ id: number;
82
+ /** @description Account source */
83
+ source: string;
84
+ /** @description Account language */
85
+ language: string;
86
+ };
87
+ LanguageRuleResponseDto: {
88
+ /** @description Rule ID */
89
+ id: number;
90
+ /** @description Condition type (contains, equals) */
91
+ condition_type: string;
92
+ /** @description Condition value (string to match against campaign name) */
93
+ condition_value: string;
94
+ /** @description Language code to assign if matched */
95
+ language: string;
96
+ /** @description Sort order */
97
+ sort: number;
98
+ /** @description Associated account (Link) */
99
+ account?: components["schemas"]["LanguageRuleAccountDto"];
100
+ };
101
+ UpdateLanguageRuleDto: {
102
+ /** @example 1 */
103
+ accountId?: number;
104
+ /** @example Greeting Rule */
105
+ title?: string;
106
+ /** @example en */
107
+ language?: string;
37
108
  /**
38
- * @description The title of the team
39
- * @example Development Team
109
+ * @example contains
110
+ * @enum {string}
40
111
  */
41
- title: string;
112
+ condition_type?: "contains" | "equals" | "not_contains";
113
+ /** @example hello */
114
+ condition_value?: string;
115
+ /** @example 1 */
116
+ sort?: number;
117
+ };
118
+ AdSpendAccountDto: {
119
+ /** @description Account (Link) ID */
120
+ id: number;
121
+ /** @description Account source */
122
+ source: string;
123
+ /** @description Account language */
124
+ language: string;
125
+ };
126
+ AdSpendResponseDto: {
127
+ /** @description AdSpend record ID */
128
+ id: number;
129
+ /** @description Spend date (YYYY-MM-DD) */
130
+ date: string;
131
+ /** @description Country (mapped from country code) */
132
+ country: string;
133
+ /** @description Language code applied */
134
+ language: string;
135
+ /** @description Spend amount in account currency */
136
+ spend: number;
137
+ /** @description Associated account (Link) */
138
+ account?: components["schemas"]["AdSpendAccountDto"];
139
+ };
140
+ AdSpendPaginatedResponseDto: {
141
+ data: components["schemas"]["AdSpendResponseDto"][];
142
+ /** @example 100 */
143
+ total: number;
144
+ /** @example 1 */
145
+ page: number;
146
+ /** @example 10 */
147
+ limit: number;
148
+ /** @example 10 */
149
+ totalPages: number;
150
+ };
151
+ AdSpendDataForErpDto: {
42
152
  /**
43
- * @description The access for element
44
- * @example [
45
- * "xx@netzet.com",
46
- * "xx2@netzet.com"
47
- * ]
153
+ * @description Nested object with three levels of string keys and number values
154
+ * @example {
155
+ * "account1": {
156
+ * "campaign1": {
157
+ * "metric1": 100,
158
+ * "metric2": 200
159
+ * }
160
+ * }
161
+ * }
48
162
  */
49
- access?: string[];
163
+ data: Record<string, never>;
50
164
  };
51
- UpdateTeamDto: {
165
+ TeamResponseDto: {
166
+ /**
167
+ * @description The unique identifier of the team
168
+ * @example 1
169
+ */
170
+ id: number;
52
171
  /**
53
172
  * @description The title of the team
54
173
  * @example Development Team
55
174
  */
56
- title?: string;
175
+ title: string;
57
176
  /**
58
177
  * @description The access for element
59
178
  * @example [
@@ -90,46 +209,6 @@ interface components {
90
209
  */
91
210
  access?: string[];
92
211
  };
93
- CreateProjectGroupDto: {
94
- /**
95
- * @description The title of the project group
96
- * @example Frontend Projects
97
- */
98
- title: string;
99
- /**
100
- * @description The ID of the team this project group belongs to
101
- * @example 1
102
- */
103
- teamId: number;
104
- /**
105
- * @description The access for element
106
- * @example [
107
- * "xx@netzet.com",
108
- * "xx2@netzet.com"
109
- * ]
110
- */
111
- access?: string[];
112
- };
113
- UpdateProjectGroupDto: {
114
- /**
115
- * @description The title of the project group
116
- * @example Frontend Projects
117
- */
118
- title?: string;
119
- /**
120
- * @description The ID of the team this project group belongs to
121
- * @example 1
122
- */
123
- teamId?: number;
124
- /**
125
- * @description The access for element
126
- * @example [
127
- * "xx@netzet.com",
128
- * "xx2@netzet.com"
129
- * ]
130
- */
131
- access?: string[];
132
- };
133
212
  ProjectResponseDto: {
134
213
  /**
135
214
  * @description The unique identifier of the project
@@ -184,42 +263,34 @@ interface components {
184
263
  */
185
264
  access?: string[];
186
265
  };
187
- IntegrationResponseDto: {
188
- /**
189
- * @description The unique identifier of the integration
190
- * @example 1
191
- */
192
- id: number;
266
+ CreateProjectDto: {
193
267
  /**
194
- * @description The title of the integration
195
- * @example My Facebook Integration
268
+ * @description The title of the project
269
+ * @example My Awesome Project
196
270
  */
197
271
  title: string;
198
272
  /**
199
- * @description The ID of the project this integration belongs to
200
- * @example 1
273
+ * @description The URL of the project
274
+ * @example https://myproject.example.com
201
275
  */
202
- projectId: number;
276
+ url: string;
203
277
  /**
204
- * @description The type of integration
205
- * @example facebook
278
+ * @description The support email address for the project
279
+ * @example support@example.com
206
280
  */
207
- type: string;
281
+ support_email?: string;
208
282
  /**
209
- * @description The URL for the integration
210
- * @example https://example.com/api
283
+ * @description Project language
284
+ * @example en
211
285
  */
212
- url: string;
286
+ language?: string;
213
287
  /**
214
- * @description Additional options for the integration
215
- * @example {
216
- * "apiKey": "abc123",
217
- * "enabled": true
218
- * }
288
+ * @description The slug of the project
289
+ * @example my-awesome-project
219
290
  */
220
- options?: Record<string, never>;
221
- /** @description The project this integration belongs to */
222
- project?: components["schemas"]["ProjectResponseDto"];
291
+ slug: string;
292
+ groupId?: number;
293
+ teamId?: number;
223
294
  /**
224
295
  * @description The access for element
225
296
  * @example [
@@ -229,35 +300,34 @@ interface components {
229
300
  */
230
301
  access?: string[];
231
302
  };
232
- CreateIntegrationDto: {
303
+ UpdateProjectDto: {
233
304
  /**
234
- * @description The type of integration
235
- * @example facebook
305
+ * @description The title of the project
306
+ * @example My Awesome Project
236
307
  */
237
- type: string;
308
+ title?: string;
238
309
  /**
239
- * @description The title of the integration
240
- * @example My Facebook Integration
310
+ * @description The URL of the project
311
+ * @example https://myproject.example.com
241
312
  */
242
- title: string;
313
+ url?: string;
243
314
  /**
244
- * @description The ID of the project this integration belongs to
245
- * @example 1
315
+ * @description The support email address for the project
316
+ * @example support@example.com
246
317
  */
247
- projectId: number;
318
+ support_email?: string;
248
319
  /**
249
- * @description Additional options for the integration
250
- * @example {
251
- * "apiKey": "abc123",
252
- * "enabled": true
253
- * }
320
+ * @description Project language
321
+ * @example en
254
322
  */
255
- options?: Record<string, never>;
323
+ language?: string;
256
324
  /**
257
- * @description The URL for the integration
258
- * @example https://example.com/api
325
+ * @description The slug of the project
326
+ * @example my-awesome-project
259
327
  */
260
- url?: string;
328
+ slug?: string;
329
+ groupId?: number;
330
+ teamId?: number;
261
331
  /**
262
332
  * @description The access for element
263
333
  * @example [
@@ -267,40 +337,27 @@ interface components {
267
337
  */
268
338
  access?: string[];
269
339
  };
270
- UpdateIntegrationDto: {
271
- /**
272
- * @description The title of the integration
273
- * @example Updated Facebook Integration
274
- */
275
- title?: string;
276
- /**
277
- * @description The ID of the project this integration belongs to
278
- * @example 1
279
- */
280
- projectId?: number;
281
- /**
282
- * @description The type of integration
283
- * @example facebook
284
- */
285
- type?: string;
340
+ CreateTeamDto: {
286
341
  /**
287
- * @description The URL for the integration
288
- * @example https://example.com/api
342
+ * @description The title of the team
343
+ * @example Development Team
289
344
  */
290
- url?: string;
345
+ title: string;
291
346
  /**
292
- * @description Description of the integration
293
- * @example This is a Facebook integration for our project
347
+ * @description The access for element
348
+ * @example [
349
+ * "xx@netzet.com",
350
+ * "xx2@netzet.com"
351
+ * ]
294
352
  */
295
- _description?: string;
353
+ access?: string[];
354
+ };
355
+ UpdateTeamDto: {
296
356
  /**
297
- * @description Additional options for the integration
298
- * @example {
299
- * "apiKey": "abc123",
300
- * "enabled": true
301
- * }
357
+ * @description The title of the team
358
+ * @example Development Team
302
359
  */
303
- options?: Record<string, never>;
360
+ title?: string;
304
361
  /**
305
362
  * @description The access for element
306
363
  * @example [
@@ -310,33 +367,36 @@ interface components {
310
367
  */
311
368
  access?: string[];
312
369
  };
313
- CreateProjectDto: {
370
+ CreateProjectGroupDto: {
314
371
  /**
315
- * @description The title of the project
316
- * @example My Awesome Project
372
+ * @description The title of the project group
373
+ * @example Frontend Projects
317
374
  */
318
375
  title: string;
319
376
  /**
320
- * @description The URL of the project
321
- * @example https://myproject.example.com
377
+ * @description The ID of the team this project group belongs to
378
+ * @example 1
322
379
  */
323
- url: string;
380
+ teamId: number;
324
381
  /**
325
- * @description The support email address for the project
326
- * @example support@example.com
382
+ * @description The access for element
383
+ * @example [
384
+ * "xx@netzet.com",
385
+ * "xx2@netzet.com"
386
+ * ]
327
387
  */
328
- support_email?: string;
388
+ access?: string[];
389
+ };
390
+ UpdateProjectGroupDto: {
329
391
  /**
330
- * @description Project language
331
- * @example en
392
+ * @description The title of the project group
393
+ * @example Frontend Projects
332
394
  */
333
- language?: string;
395
+ title?: string;
334
396
  /**
335
- * @description The slug of the project
336
- * @example my-awesome-project
397
+ * @description The ID of the team this project group belongs to
398
+ * @example 1
337
399
  */
338
- slug: string;
339
- groupId?: number;
340
400
  teamId?: number;
341
401
  /**
342
402
  * @description The access for element
@@ -347,34 +407,42 @@ interface components {
347
407
  */
348
408
  access?: string[];
349
409
  };
350
- UpdateProjectDto: {
410
+ IntegrationResponseDto: {
351
411
  /**
352
- * @description The title of the project
353
- * @example My Awesome Project
412
+ * @description The unique identifier of the integration
413
+ * @example 1
354
414
  */
355
- title?: string;
415
+ id: number;
356
416
  /**
357
- * @description The URL of the project
358
- * @example https://myproject.example.com
417
+ * @description The title of the integration
418
+ * @example My Facebook Integration
359
419
  */
360
- url?: string;
420
+ title: string;
361
421
  /**
362
- * @description The support email address for the project
363
- * @example support@example.com
422
+ * @description The ID of the project this integration belongs to
423
+ * @example 1
364
424
  */
365
- support_email?: string;
425
+ projectId: number;
366
426
  /**
367
- * @description Project language
368
- * @example en
427
+ * @description The type of integration
428
+ * @example facebook
369
429
  */
370
- language?: string;
430
+ type: string;
371
431
  /**
372
- * @description The slug of the project
373
- * @example my-awesome-project
432
+ * @description The URL for the integration
433
+ * @example https://example.com/api
374
434
  */
375
- slug?: string;
376
- groupId?: number;
377
- teamId?: number;
435
+ url: string;
436
+ /**
437
+ * @description Additional options for the integration
438
+ * @example {
439
+ * "apiKey": "abc123",
440
+ * "enabled": true
441
+ * }
442
+ */
443
+ options?: Record<string, never>;
444
+ /** @description The project this integration belongs to */
445
+ project?: components["schemas"]["ProjectResponseDto"];
378
446
  /**
379
447
  * @description The access for element
380
448
  * @example [
@@ -384,166 +452,86 @@ interface components {
384
452
  */
385
453
  access?: string[];
386
454
  };
387
- SendMailToRecipientDto: {
455
+ CreateIntegrationDto: {
388
456
  /**
389
- * @description Email recipient address
390
- * @example recipient@example.com
457
+ * @description The type of integration
458
+ * @example facebook
391
459
  */
392
- to: string;
460
+ type: string;
393
461
  /**
394
- * @description Email subject
395
- * @example Important information about your account
462
+ * @description The title of the integration
463
+ * @example My Facebook Integration
396
464
  */
397
- subject: string;
465
+ title: string;
398
466
  /**
399
- * @description HTML content of the email
400
- * @example <p>Hello, this is an <strong>important</strong> message.</p>
467
+ * @description The ID of the project this integration belongs to
468
+ * @example 1
401
469
  */
402
- htmlPart?: string;
470
+ projectId: number;
403
471
  /**
404
- * @description Plain text content of the email
405
- * @example Hello, this is an important message.
472
+ * @description Additional options for the integration
473
+ * @example {
474
+ * "apiKey": "abc123",
475
+ * "enabled": true
476
+ * }
406
477
  */
407
- textPart?: string;
408
- };
409
- SendMailResponseDto: {
478
+ options?: Record<string, never>;
410
479
  /**
411
- * @description Success status
412
- * @example true
480
+ * @description The URL for the integration
481
+ * @example https://example.com/api
413
482
  */
414
- success: boolean;
483
+ url?: string;
484
+ /**
485
+ * @description The access for element
486
+ * @example [
487
+ * "xx@netzet.com",
488
+ * "xx2@netzet.com"
489
+ * ]
490
+ */
491
+ access?: string[];
415
492
  };
416
- SendMailToSupportDto: {
493
+ UpdateIntegrationDto: {
417
494
  /**
418
- * @description Email subject
419
- * @example Important information about your account
495
+ * @description The title of the integration
496
+ * @example Updated Facebook Integration
420
497
  */
421
- subject: string;
498
+ title?: string;
422
499
  /**
423
- * @description HTML content of the email
424
- * @example <p>Hello, this is an <strong>important</strong> message.</p>
500
+ * @description The ID of the project this integration belongs to
501
+ * @example 1
425
502
  */
426
- htmlPart?: string;
503
+ projectId?: number;
427
504
  /**
428
- * @description Plain text content of the email
429
- * @example Hello, this is an important message.
505
+ * @description The type of integration
506
+ * @example facebook
430
507
  */
431
- textPart?: string;
432
- };
433
- CreateSessionBridgeDto: {
434
- extraData?: {
435
- [key: string]: unknown;
436
- };
437
- quiz?: {
438
- [key: string]: unknown;
439
- };
440
- cookies: string;
441
- uuid?: string;
442
- analyticsId?: string;
443
- analyticsIdv3?: string;
444
- origin?: string;
445
- query: {
446
- [key: string]: unknown;
447
- };
448
- referer?: string;
449
- slug: string;
450
- };
451
- SessionResponseDto: {
452
- id: string;
453
- project: string;
454
- /** @example {
455
- * "session_id": "1234567890",
456
- * "session_token": "1234567890"
457
- * } */
458
- cookies: {
459
- [key: string]: unknown;
460
- };
461
- country: string;
462
- createdAt: string;
463
- ip: string;
464
- isEu: boolean;
465
- /** @example https://www.example.com */
466
- origin: string;
467
- /** @example {
468
- * "utm_source": "google",
469
- * "utm_medium": "cpc",
470
- * "utm_campaign": "adwords"
471
- * } */
472
- query: {
473
- [key: string]: unknown;
474
- };
475
- /** @example https://www.example.com */
476
- referer: string;
477
- /** @example main/a */
478
- slug: string;
479
- updatedAt: string;
480
- /** @example Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 */
481
- useragent: string;
482
- /** @example {
483
- * "language": "en",
484
- * "currency": "USD",
485
- * "email": "xxx@example.com"
486
- * } */
487
- extraData: {
488
- [key: string]: unknown;
489
- };
490
- };
491
- SessionResponseFullDto: {
492
- success: number;
493
- data: components["schemas"]["SessionResponseDto"];
494
- };
495
- AppendSessionDto: {
496
- extraData?: {
497
- [key: string]: unknown;
498
- };
499
- };
500
- CreateWebhookDto: {
501
- /** @description The title of the webhook */
502
- title?: string;
503
- /** @description The events that trigger the webhook */
504
- events: string[];
505
- /** @description The URL endpoint to send the webhook to */
506
- endpoint: string;
508
+ type?: string;
507
509
  /**
508
- * @description The HTTP method to use when sending the webhook
509
- * @default GET
510
+ * @description The URL for the integration
511
+ * @example https://example.com/api
510
512
  */
511
- method: string;
512
- /** @description The authorization header to use when sending the webhook */
513
- authorization?: string;
514
- /** @description The project associated with the webhook */
515
- project?: string;
516
- };
517
- WebhookResponseDto: {
518
- /** @description The unique identifier of the webhook */
519
- id: number;
520
- /** @description The title of the webhook */
521
- title?: string;
522
- /** @description The events that trigger the webhook */
523
- events: string[];
524
- /** @description The URL endpoint to send the webhook to */
525
- endpoint: string;
513
+ url?: string;
526
514
  /**
527
- * @description The HTTP method to use when sending the webhook
528
- * @default GET
515
+ * @description Description of the integration
516
+ * @example This is a Facebook integration for our project
529
517
  */
530
- method: string;
531
- /** @description The authorization header to use when sending the webhook */
532
- authorization?: string;
533
- /** @description The project associated with the webhook */
534
- project?: string;
535
- };
536
- UpdateWebhookDto: {
537
- /** @description The title of the webhook */
538
- title?: string;
539
- /** @description The URL endpoint to send the webhook to */
540
- endpoint?: string;
541
- /** @description The HTTP method to use when sending the webhook */
542
- method?: string;
543
- /** @description The authorization header to use when sending the webhook */
544
- authorization?: string;
545
- /** @description The project associated with the webhook */
546
- project?: string;
518
+ _description?: string;
519
+ /**
520
+ * @description Additional options for the integration
521
+ * @example {
522
+ * "apiKey": "abc123",
523
+ * "enabled": true
524
+ * }
525
+ */
526
+ options?: Record<string, never>;
527
+ /**
528
+ * @description The access for element
529
+ * @example [
530
+ * "xx@netzet.com",
531
+ * "xx2@netzet.com"
532
+ * ]
533
+ */
534
+ access?: string[];
547
535
  };
548
536
  FunnelTemplatesEnumDto: {
549
537
  /**
@@ -635,54 +623,215 @@ interface components {
635
623
  upsell_options?: Record<string, never>;
636
624
  options?: Record<string, never>;
637
625
  };
638
- UpdateFunnelDto: {
639
- project?: string;
640
- angle?: string;
641
- version?: string;
642
- note?: string;
643
- home_page?: string;
644
- quiz_page?: string;
645
- results_page?: string;
646
- email_page?: string;
647
- checkout_page?: string;
648
- payment_window?: string;
649
- upsell_page?: string;
650
- upsell_options?: {
626
+ UpdateFunnelDto: {
627
+ project?: string;
628
+ angle?: string;
629
+ version?: string;
630
+ note?: string;
631
+ home_page?: string;
632
+ quiz_page?: string;
633
+ results_page?: string;
634
+ email_page?: string;
635
+ checkout_page?: string;
636
+ payment_window?: string;
637
+ upsell_page?: string;
638
+ upsell_options?: {
639
+ [key: string]: unknown;
640
+ };
641
+ options?: {
642
+ [key: string]: unknown;
643
+ };
644
+ };
645
+ SplitItemDto: {
646
+ url: string;
647
+ split: number;
648
+ };
649
+ CreateSplitDto: {
650
+ project: string;
651
+ url?: string;
652
+ splits?: components["schemas"]["SplitItemDto"][];
653
+ options?: {
654
+ [key: string]: unknown;
655
+ };
656
+ active: boolean;
657
+ };
658
+ SplitResponseDto: {
659
+ id: number;
660
+ project: string;
661
+ url?: string;
662
+ splits?: components["schemas"]["SplitItemDto"][];
663
+ options?: Record<string, never>;
664
+ active: boolean;
665
+ };
666
+ UpdateSplitDto: {
667
+ project?: string;
668
+ url?: string;
669
+ splits?: components["schemas"]["SplitItemDto"][];
670
+ options?: {
671
+ [key: string]: unknown;
672
+ };
673
+ active?: boolean;
674
+ };
675
+ SendMailToRecipientDto: {
676
+ /**
677
+ * @description Email recipient address
678
+ * @example recipient@example.com
679
+ */
680
+ to: string;
681
+ /**
682
+ * @description Email subject
683
+ * @example Important information about your account
684
+ */
685
+ subject: string;
686
+ /**
687
+ * @description HTML content of the email
688
+ * @example <p>Hello, this is an <strong>important</strong> message.</p>
689
+ */
690
+ htmlPart?: string;
691
+ /**
692
+ * @description Plain text content of the email
693
+ * @example Hello, this is an important message.
694
+ */
695
+ textPart?: string;
696
+ };
697
+ SendMailResponseDto: {
698
+ /**
699
+ * @description Success status
700
+ * @example true
701
+ */
702
+ success: boolean;
703
+ };
704
+ SendMailToSupportDto: {
705
+ /**
706
+ * @description Email subject
707
+ * @example Important information about your account
708
+ */
709
+ subject: string;
710
+ /**
711
+ * @description HTML content of the email
712
+ * @example <p>Hello, this is an <strong>important</strong> message.</p>
713
+ */
714
+ htmlPart?: string;
715
+ /**
716
+ * @description Plain text content of the email
717
+ * @example Hello, this is an important message.
718
+ */
719
+ textPart?: string;
720
+ };
721
+ CreateSessionBridgeDto: {
722
+ extraData?: {
723
+ [key: string]: unknown;
724
+ };
725
+ quiz?: {
726
+ [key: string]: unknown;
727
+ };
728
+ cookies: string;
729
+ uuid?: string;
730
+ analyticsId?: string;
731
+ analyticsIdv3?: string;
732
+ origin?: string;
733
+ query: {
734
+ [key: string]: unknown;
735
+ };
736
+ referer?: string;
737
+ slug: string;
738
+ };
739
+ SessionResponseDto: {
740
+ id: string;
741
+ project: string;
742
+ /** @example {
743
+ * "session_id": "1234567890",
744
+ * "session_token": "1234567890"
745
+ * } */
746
+ cookies: {
651
747
  [key: string]: unknown;
652
748
  };
653
- options?: {
749
+ country: string;
750
+ createdAt: string;
751
+ ip: string;
752
+ isEu: boolean;
753
+ /** @example https://www.example.com */
754
+ origin: string;
755
+ /** @example {
756
+ * "utm_source": "google",
757
+ * "utm_medium": "cpc",
758
+ * "utm_campaign": "adwords"
759
+ * } */
760
+ query: {
761
+ [key: string]: unknown;
762
+ };
763
+ /** @example https://www.example.com */
764
+ referer: string;
765
+ /** @example main/a */
766
+ slug: string;
767
+ updatedAt: string;
768
+ /** @example Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 */
769
+ useragent: string;
770
+ /** @example {
771
+ * "language": "en",
772
+ * "currency": "USD",
773
+ * "email": "xxx@example.com"
774
+ * } */
775
+ extraData: {
654
776
  [key: string]: unknown;
655
777
  };
656
778
  };
657
- SplitItemDto: {
658
- url: string;
659
- split: number;
779
+ SessionResponseFullDto: {
780
+ success: number;
781
+ data: components["schemas"]["SessionResponseDto"];
660
782
  };
661
- CreateSplitDto: {
662
- project: string;
663
- url?: string;
664
- splits?: components["schemas"]["SplitItemDto"][];
665
- options?: {
783
+ AppendSessionDto: {
784
+ extraData?: {
666
785
  [key: string]: unknown;
667
786
  };
668
- active: boolean;
669
787
  };
670
- SplitResponseDto: {
788
+ CreateWebhookDto: {
789
+ /** @description The title of the webhook */
790
+ title?: string;
791
+ /** @description The events that trigger the webhook */
792
+ events: string[];
793
+ /** @description The URL endpoint to send the webhook to */
794
+ endpoint: string;
795
+ /**
796
+ * @description The HTTP method to use when sending the webhook
797
+ * @default GET
798
+ */
799
+ method: string;
800
+ /** @description The authorization header to use when sending the webhook */
801
+ authorization?: string;
802
+ /** @description The project associated with the webhook */
803
+ project?: string;
804
+ };
805
+ WebhookResponseDto: {
806
+ /** @description The unique identifier of the webhook */
671
807
  id: number;
672
- project: string;
673
- url?: string;
674
- splits?: components["schemas"]["SplitItemDto"][];
675
- options?: Record<string, never>;
676
- active: boolean;
808
+ /** @description The title of the webhook */
809
+ title?: string;
810
+ /** @description The events that trigger the webhook */
811
+ events: string[];
812
+ /** @description The URL endpoint to send the webhook to */
813
+ endpoint: string;
814
+ /**
815
+ * @description The HTTP method to use when sending the webhook
816
+ * @default GET
817
+ */
818
+ method: string;
819
+ /** @description The authorization header to use when sending the webhook */
820
+ authorization?: string;
821
+ /** @description The project associated with the webhook */
822
+ project?: string;
677
823
  };
678
- UpdateSplitDto: {
824
+ UpdateWebhookDto: {
825
+ /** @description The title of the webhook */
826
+ title?: string;
827
+ /** @description The URL endpoint to send the webhook to */
828
+ endpoint?: string;
829
+ /** @description The HTTP method to use when sending the webhook */
830
+ method?: string;
831
+ /** @description The authorization header to use when sending the webhook */
832
+ authorization?: string;
833
+ /** @description The project associated with the webhook */
679
834
  project?: string;
680
- url?: string;
681
- splits?: components["schemas"]["SplitItemDto"][];
682
- options?: {
683
- [key: string]: unknown;
684
- };
685
- active?: boolean;
686
835
  };
687
836
  QuizResponseDto: {
688
837
  /**
@@ -788,6 +937,8 @@ interface components {
788
937
  VerifyPhoneResponseDto: {
789
938
  /** @description Valid number or not */
790
939
  valid: boolean;
940
+ /** @description Landline number or not. Possible values: 1 - YES, 0 - NO, -1 - api not support this feature */
941
+ landline: number;
791
942
  /** @description Validation error if exists */
792
943
  error: string;
793
944
  };
@@ -841,6 +992,14 @@ interface components {
841
992
  */
842
993
  endDate?: string;
843
994
  };
995
+ YunoCreatePaymentDto: {
996
+ /** @description Main Order ID */
997
+ referenceId: string;
998
+ /** @description Payment method */
999
+ paymentMethod: string;
1000
+ /** @description Payment token */
1001
+ token: string;
1002
+ };
844
1003
  PaymentRefundRequestDto: {
845
1004
  /** @description Order ID */
846
1005
  orderId: string;
@@ -892,6 +1051,74 @@ interface components {
892
1051
  /** @description Token type */
893
1052
  type: string;
894
1053
  };
1054
+ ImportDisputesUrlRequestDto: {
1055
+ /**
1056
+ * @description URL of the CSV file to import
1057
+ * @example https://example.com/disputes.csv
1058
+ */
1059
+ url: string;
1060
+ };
1061
+ TrustpilotInviteResponseDto: {
1062
+ /** @example 1 */
1063
+ id: number;
1064
+ /** @example ext-456 */
1065
+ externalId: string | null;
1066
+ /** @example customer@example.com */
1067
+ email: string;
1068
+ /** @example John Doe */
1069
+ name: string | null;
1070
+ /**
1071
+ * Format: date-time
1072
+ * @example 2025-09-09T10:00:00.000Z
1073
+ */
1074
+ scheduledAt: string;
1075
+ /**
1076
+ * Format: date-time
1077
+ * @example 2025-09-09T09:00:00.000Z
1078
+ */
1079
+ initialScheduledAt: string;
1080
+ /**
1081
+ * @example pending
1082
+ * @enum {string}
1083
+ */
1084
+ status: "pending" | "retry" | "sent" | "failed" | "cancelled";
1085
+ /** @example false */
1086
+ sent: boolean;
1087
+ /** @example 0 */
1088
+ attempts: number;
1089
+ /**
1090
+ * Format: date-time
1091
+ * @example 2025-09-08T12:00:00.000Z
1092
+ */
1093
+ lastAttemptAt: string | null;
1094
+ /** @example SMTP error: 550 rejected */
1095
+ lastError: string | null;
1096
+ /** @example batch-uuid-789 */
1097
+ batchId: string | null;
1098
+ /** @example 507f191e810c19729de860ea */
1099
+ templateId: string | null;
1100
+ /**
1101
+ * Format: date-time
1102
+ * @example 2025-09-08T08:00:00.000Z
1103
+ */
1104
+ createdAt: string;
1105
+ /**
1106
+ * Format: date-time
1107
+ * @example 2025-09-08T09:00:00.000Z
1108
+ */
1109
+ updatedAt: string;
1110
+ };
1111
+ PaginatedResponseDtoWithModel: {
1112
+ data: components["schemas"]["TrustpilotInviteResponseDto"][];
1113
+ /** @example 100 */
1114
+ total: number;
1115
+ /** @example 1 */
1116
+ page: number;
1117
+ /** @example 10 */
1118
+ limit: number;
1119
+ /** @example 10 */
1120
+ totalPages: number;
1121
+ };
895
1122
  TaxValueCountryStateRequestDto: {
896
1123
  /**
897
1124
  * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
@@ -1241,67 +1468,6 @@ interface components {
1241
1468
  language?: string;
1242
1469
  type: string;
1243
1470
  };
1244
- TrustpilotInviteResponseDto: {
1245
- /** @example 1 */
1246
- id: number;
1247
- /** @example ext-456 */
1248
- externalId: string | null;
1249
- /** @example customer@example.com */
1250
- email: string;
1251
- /** @example John Doe */
1252
- name: string | null;
1253
- /**
1254
- * Format: date-time
1255
- * @example 2025-09-09T10:00:00.000Z
1256
- */
1257
- scheduledAt: string;
1258
- /**
1259
- * Format: date-time
1260
- * @example 2025-09-09T09:00:00.000Z
1261
- */
1262
- initialScheduledAt: string;
1263
- /**
1264
- * @example pending
1265
- * @enum {string}
1266
- */
1267
- status: "pending" | "retry" | "sent" | "failed" | "cancelled";
1268
- /** @example false */
1269
- sent: boolean;
1270
- /** @example 0 */
1271
- attempts: number;
1272
- /**
1273
- * Format: date-time
1274
- * @example 2025-09-08T12:00:00.000Z
1275
- */
1276
- lastAttemptAt: string | null;
1277
- /** @example SMTP error: 550 rejected */
1278
- lastError: string | null;
1279
- /** @example batch-uuid-789 */
1280
- batchId: string | null;
1281
- /** @example 507f191e810c19729de860ea */
1282
- templateId: string | null;
1283
- /**
1284
- * Format: date-time
1285
- * @example 2025-09-08T08:00:00.000Z
1286
- */
1287
- createdAt: string;
1288
- /**
1289
- * Format: date-time
1290
- * @example 2025-09-08T09:00:00.000Z
1291
- */
1292
- updatedAt: string;
1293
- };
1294
- PaginatedResponseDtoWithModel: {
1295
- data: components["schemas"]["TrustpilotInviteResponseDto"][];
1296
- /** @example 100 */
1297
- total: number;
1298
- /** @example 1 */
1299
- page: number;
1300
- /** @example 10 */
1301
- limit: number;
1302
- /** @example 10 */
1303
- totalPages: number;
1304
- };
1305
1471
  };
1306
1472
  responses: never;
1307
1473
  parameters: never;
@@ -1399,6 +1565,7 @@ declare const browser: {
1399
1565
  } | undefined>;
1400
1566
  phone: (phone: string) => Promise<{
1401
1567
  valid: boolean;
1568
+ landline: number;
1402
1569
  error: string;
1403
1570
  } | undefined>;
1404
1571
  };
@@ -1420,6 +1587,9 @@ declare const browser: {
1420
1587
  status: string;
1421
1588
  }>;
1422
1589
  };
1590
+ yuno: {
1591
+ createPayment: (dto: components["schemas"]["YunoCreatePaymentDto"]) => Promise<never>;
1592
+ };
1423
1593
  };
1424
1594
  trustpilot: {
1425
1595
  getLink: (data: components["schemas"]["CreateTrustpilotInvitationLinkDto"]) => Promise<components["schemas"]["CreateTrustpilotInvitationLinkResponseDto"]>;