@capibox/bridge-nextjs-client 0.0.44 → 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.mts 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 */
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 */
26
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,17 +209,51 @@ interface components {
90
209
  */
91
210
  access?: string[];
92
211
  };
93
- CreateProjectGroupDto: {
212
+ ProjectResponseDto: {
94
213
  /**
95
- * @description The title of the project group
96
- * @example Frontend Projects
214
+ * @description The unique identifier of the project
215
+ * @example 1
216
+ */
217
+ id: number;
218
+ /**
219
+ * @description The title of the project
220
+ * @example My Awesome Project
97
221
  */
98
222
  title: string;
99
223
  /**
100
- * @description The ID of the team this project group belongs to
101
- * @example 1
224
+ * @description The unique UUID of the project used for authentication
225
+ * @example 123e4567-e89b-12d3-a456-426614174000
102
226
  */
103
- teamId: number;
227
+ uuid: string;
228
+ /**
229
+ * @description The unique UUID for development purposes
230
+ * @example 123e4567-e89b-12d3-a456-426614174001
231
+ */
232
+ uuidDev?: string;
233
+ /**
234
+ * @description The URL of the project
235
+ * @example https://myproject.example.com
236
+ */
237
+ url: string;
238
+ /**
239
+ * @description The support email address for the project
240
+ * @example support@example.com
241
+ */
242
+ support_email: string;
243
+ /**
244
+ * @description Project language
245
+ * @example en
246
+ */
247
+ language?: string;
248
+ /**
249
+ * @description The slug of the project
250
+ * @example my-awesome-project
251
+ */
252
+ slug: string;
253
+ groupId?: number;
254
+ teamId?: number;
255
+ team?: components["schemas"]["TeamResponseDto"];
256
+ group?: components["schemas"]["ProjectGroupResponseDto"];
104
257
  /**
105
258
  * @description The access for element
106
259
  * @example [
@@ -110,16 +263,33 @@ interface components {
110
263
  */
111
264
  access?: string[];
112
265
  };
113
- UpdateProjectGroupDto: {
266
+ CreateProjectDto: {
114
267
  /**
115
- * @description The title of the project group
116
- * @example Frontend Projects
268
+ * @description The title of the project
269
+ * @example My Awesome Project
117
270
  */
118
- title?: string;
271
+ title: string;
119
272
  /**
120
- * @description The ID of the team this project group belongs to
121
- * @example 1
273
+ * @description The URL of the project
274
+ * @example https://myproject.example.com
275
+ */
276
+ url: string;
277
+ /**
278
+ * @description The support email address for the project
279
+ * @example support@example.com
280
+ */
281
+ support_email?: string;
282
+ /**
283
+ * @description Project language
284
+ * @example en
122
285
  */
286
+ language?: string;
287
+ /**
288
+ * @description The slug of the project
289
+ * @example my-awesome-project
290
+ */
291
+ slug: string;
292
+ groupId?: number;
123
293
  teamId?: number;
124
294
  /**
125
295
  * @description The access for element
@@ -130,37 +300,22 @@ interface components {
130
300
  */
131
301
  access?: string[];
132
302
  };
133
- ProjectResponseDto: {
134
- /**
135
- * @description The unique identifier of the project
136
- * @example 1
137
- */
138
- id: number;
303
+ UpdateProjectDto: {
139
304
  /**
140
305
  * @description The title of the project
141
306
  * @example My Awesome Project
142
307
  */
143
- title: string;
144
- /**
145
- * @description The unique UUID of the project used for authentication
146
- * @example 123e4567-e89b-12d3-a456-426614174000
147
- */
148
- uuid: string;
149
- /**
150
- * @description The unique UUID for development purposes
151
- * @example 123e4567-e89b-12d3-a456-426614174001
152
- */
153
- uuidDev?: string;
308
+ title?: string;
154
309
  /**
155
310
  * @description The URL of the project
156
311
  * @example https://myproject.example.com
157
312
  */
158
- url: string;
313
+ url?: string;
159
314
  /**
160
315
  * @description The support email address for the project
161
316
  * @example support@example.com
162
317
  */
163
- support_email: string;
318
+ support_email?: string;
164
319
  /**
165
320
  * @description Project language
166
321
  * @example en
@@ -170,11 +325,79 @@ interface components {
170
325
  * @description The slug of the project
171
326
  * @example my-awesome-project
172
327
  */
173
- slug: string;
328
+ slug?: string;
174
329
  groupId?: number;
175
330
  teamId?: number;
176
- team?: components["schemas"]["TeamResponseDto"];
177
- group?: components["schemas"]["ProjectGroupResponseDto"];
331
+ /**
332
+ * @description The access for element
333
+ * @example [
334
+ * "xx@netzet.com",
335
+ * "xx2@netzet.com"
336
+ * ]
337
+ */
338
+ access?: string[];
339
+ };
340
+ CreateTeamDto: {
341
+ /**
342
+ * @description The title of the team
343
+ * @example Development Team
344
+ */
345
+ title: string;
346
+ /**
347
+ * @description The access for element
348
+ * @example [
349
+ * "xx@netzet.com",
350
+ * "xx2@netzet.com"
351
+ * ]
352
+ */
353
+ access?: string[];
354
+ };
355
+ UpdateTeamDto: {
356
+ /**
357
+ * @description The title of the team
358
+ * @example Development Team
359
+ */
360
+ title?: string;
361
+ /**
362
+ * @description The access for element
363
+ * @example [
364
+ * "xx@netzet.com",
365
+ * "xx2@netzet.com"
366
+ * ]
367
+ */
368
+ access?: string[];
369
+ };
370
+ CreateProjectGroupDto: {
371
+ /**
372
+ * @description The title of the project group
373
+ * @example Frontend Projects
374
+ */
375
+ title: string;
376
+ /**
377
+ * @description The ID of the team this project group belongs to
378
+ * @example 1
379
+ */
380
+ teamId: number;
381
+ /**
382
+ * @description The access for element
383
+ * @example [
384
+ * "xx@netzet.com",
385
+ * "xx2@netzet.com"
386
+ * ]
387
+ */
388
+ access?: string[];
389
+ };
390
+ UpdateProjectGroupDto: {
391
+ /**
392
+ * @description The title of the project group
393
+ * @example Frontend Projects
394
+ */
395
+ title?: string;
396
+ /**
397
+ * @description The ID of the team this project group belongs to
398
+ * @example 1
399
+ */
400
+ teamId?: number;
178
401
  /**
179
402
  * @description The access for element
180
403
  * @example [
@@ -310,80 +533,6 @@ interface components {
310
533
  */
311
534
  access?: string[];
312
535
  };
313
- CreateProjectDto: {
314
- /**
315
- * @description The title of the project
316
- * @example My Awesome Project
317
- */
318
- title: string;
319
- /**
320
- * @description The URL of the project
321
- * @example https://myproject.example.com
322
- */
323
- url: string;
324
- /**
325
- * @description The support email address for the project
326
- * @example support@example.com
327
- */
328
- support_email?: string;
329
- /**
330
- * @description Project language
331
- * @example en
332
- */
333
- language?: string;
334
- /**
335
- * @description The slug of the project
336
- * @example my-awesome-project
337
- */
338
- slug: string;
339
- groupId?: number;
340
- teamId?: number;
341
- /**
342
- * @description The access for element
343
- * @example [
344
- * "xx@netzet.com",
345
- * "xx2@netzet.com"
346
- * ]
347
- */
348
- access?: string[];
349
- };
350
- UpdateProjectDto: {
351
- /**
352
- * @description The title of the project
353
- * @example My Awesome Project
354
- */
355
- title?: string;
356
- /**
357
- * @description The URL of the project
358
- * @example https://myproject.example.com
359
- */
360
- url?: string;
361
- /**
362
- * @description The support email address for the project
363
- * @example support@example.com
364
- */
365
- support_email?: string;
366
- /**
367
- * @description Project language
368
- * @example en
369
- */
370
- language?: string;
371
- /**
372
- * @description The slug of the project
373
- * @example my-awesome-project
374
- */
375
- slug?: string;
376
- groupId?: number;
377
- teamId?: number;
378
- /**
379
- * @description The access for element
380
- * @example [
381
- * "xx@netzet.com",
382
- * "xx2@netzet.com"
383
- * ]
384
- */
385
- access?: string[];
386
- };
387
536
  FunnelTemplatesEnumDto: {
388
537
  /**
389
538
  * @description Available templates for the home page
@@ -843,6 +992,14 @@ interface components {
843
992
  */
844
993
  endDate?: string;
845
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
+ };
846
1003
  PaymentRefundRequestDto: {
847
1004
  /** @description Order ID */
848
1005
  orderId: string;
@@ -1311,108 +1468,6 @@ interface components {
1311
1468
  language?: string;
1312
1469
  type: string;
1313
1470
  };
1314
- CreateLinkDto: {
1315
- /** @example Documentation Page */
1316
- title: string;
1317
- /** @example https://example.com/page */
1318
- url: string;
1319
- /** @example true */
1320
- active?: boolean;
1321
- /** @example en */
1322
- language: string;
1323
- /** @example Google Drive */
1324
- source: string;
1325
- /** @example Project Alpha */
1326
- project: string;
1327
- };
1328
- LinkResponseDto: {
1329
- /** @description Link ID */
1330
- id: number;
1331
- /** @description Link title */
1332
- title: string;
1333
- /** @description Target URL */
1334
- url: string;
1335
- /** @description Whether the link is active */
1336
- active: boolean;
1337
- /** @description Language of the account */
1338
- language: string;
1339
- /** @description Source of the link (e.g., google, facebook) */
1340
- source: string;
1341
- /** @description Project this link belongs to */
1342
- project: string;
1343
- /** @description Spreadsheet URL if applicable */
1344
- spreadsheet_url?: string;
1345
- };
1346
- UpdateLinkDto: {
1347
- /** @example Documentation Page */
1348
- title?: string;
1349
- /** @example https://example.com/page */
1350
- url?: string;
1351
- /** @example true */
1352
- active?: boolean;
1353
- /** @example en */
1354
- language?: string;
1355
- /** @example Google Drive */
1356
- source?: string;
1357
- /** @example Project Alpha */
1358
- project?: string;
1359
- };
1360
- CreateLanguageRuleDto: {
1361
- /** @example 1 */
1362
- accountId: number;
1363
- /** @example Greeting Rule */
1364
- title: string;
1365
- /** @example en */
1366
- language: string;
1367
- /**
1368
- * @example contains
1369
- * @enum {string}
1370
- */
1371
- condition_type: "contains" | "equals" | "not_contains";
1372
- /** @example hello */
1373
- condition_value: string;
1374
- /** @example 1 */
1375
- sort?: number;
1376
- };
1377
- LanguageRuleAccountDto: {
1378
- /** @description Account ID (Link ID) */
1379
- id: number;
1380
- /** @description Account source */
1381
- source: string;
1382
- /** @description Account language */
1383
- language: string;
1384
- };
1385
- LanguageRuleResponseDto: {
1386
- /** @description Rule ID */
1387
- id: number;
1388
- /** @description Condition type (contains, equals) */
1389
- condition_type: string;
1390
- /** @description Condition value (string to match against campaign name) */
1391
- condition_value: string;
1392
- /** @description Language code to assign if matched */
1393
- language: string;
1394
- /** @description Sort order */
1395
- sort: number;
1396
- /** @description Associated account (Link) */
1397
- account?: components["schemas"]["LanguageRuleAccountDto"];
1398
- };
1399
- UpdateLanguageRuleDto: {
1400
- /** @example 1 */
1401
- accountId?: number;
1402
- /** @example Greeting Rule */
1403
- title?: string;
1404
- /** @example en */
1405
- language?: string;
1406
- /**
1407
- * @example contains
1408
- * @enum {string}
1409
- */
1410
- condition_type?: "contains" | "equals" | "not_contains";
1411
- /** @example hello */
1412
- condition_value?: string;
1413
- /** @example 1 */
1414
- sort?: number;
1415
- };
1416
1471
  };
1417
1472
  responses: never;
1418
1473
  parameters: never;
@@ -1532,6 +1587,9 @@ declare const browser: {
1532
1587
  status: string;
1533
1588
  }>;
1534
1589
  };
1590
+ yuno: {
1591
+ createPayment: (dto: components["schemas"]["YunoCreatePaymentDto"]) => Promise<never>;
1592
+ };
1535
1593
  };
1536
1594
  trustpilot: {
1537
1595
  getLink: (data: components["schemas"]["CreateTrustpilotInvitationLinkDto"]) => Promise<components["schemas"]["CreateTrustpilotInvitationLinkResponseDto"]>;