@capibox/bridge-nextjs-client 0.0.44 → 0.0.46
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 +312 -238
- package/dist/index.d.ts +312 -238
- package/dist/index.js +63 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +63 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import * as next_server from 'next/server';
|
|
2
|
+
import * as next_navigation from 'next/navigation';
|
|
3
|
+
|
|
4
|
+
type SdkRemoteTemplate = {
|
|
5
|
+
homePageTemplate: string;
|
|
6
|
+
quizPageTemplate: string;
|
|
7
|
+
resultPageTemplate: string;
|
|
8
|
+
emailPageTemplate: string;
|
|
9
|
+
checkoutPageTemplate: string;
|
|
10
|
+
paymentWindowTemplate: string;
|
|
11
|
+
upsellPageTemplate: string;
|
|
12
|
+
};
|
|
2
13
|
|
|
3
14
|
type ParamsLandingPageResponse = {
|
|
4
15
|
landing: string;
|
|
@@ -13,47 +24,166 @@ type ParamsLandingPageResponse = {
|
|
|
13
24
|
|
|
14
25
|
interface components {
|
|
15
26
|
schemas: {
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
27
|
+
CreateLinkDto: {
|
|
28
|
+
/** @example Documentation Page */
|
|
29
|
+
title: string;
|
|
30
|
+
/** @example https://example.com/page */
|
|
31
|
+
url: string;
|
|
32
|
+
/** @example true */
|
|
33
|
+
active?: boolean;
|
|
34
|
+
/** @example en */
|
|
35
|
+
language: string;
|
|
36
|
+
/** @example Google Drive */
|
|
37
|
+
source: string;
|
|
38
|
+
/** @example Project Alpha */
|
|
39
|
+
project: string;
|
|
40
|
+
};
|
|
41
|
+
LinkResponseDto: {
|
|
42
|
+
/** @description Link ID */
|
|
21
43
|
id: number;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
44
|
+
/** @description Link title */
|
|
45
|
+
title: string;
|
|
46
|
+
/** @description Target URL */
|
|
47
|
+
url: string;
|
|
48
|
+
/** @description Whether the link is active */
|
|
49
|
+
active: boolean;
|
|
50
|
+
/** @description Language of the account */
|
|
51
|
+
language: string;
|
|
52
|
+
/** @description Source of the link (e.g., google, facebook) */
|
|
53
|
+
source: string;
|
|
54
|
+
/** @description Project this link belongs to */
|
|
55
|
+
project: string;
|
|
56
|
+
/** @description Spreadsheet URL if applicable */
|
|
57
|
+
spreadsheet_url?: string;
|
|
58
|
+
};
|
|
59
|
+
UpdateLinkDto: {
|
|
60
|
+
/** @example Documentation Page */
|
|
61
|
+
title?: string;
|
|
62
|
+
/** @example https://example.com/page */
|
|
63
|
+
url?: string;
|
|
64
|
+
/** @example true */
|
|
65
|
+
active?: boolean;
|
|
66
|
+
/** @example en */
|
|
67
|
+
language?: string;
|
|
68
|
+
/** @example Google Drive */
|
|
69
|
+
source?: string;
|
|
70
|
+
/** @example Project Alpha */
|
|
71
|
+
project?: string;
|
|
72
|
+
};
|
|
73
|
+
CreateLanguageRuleDto: {
|
|
74
|
+
/** @example 1 */
|
|
75
|
+
accountId: number;
|
|
76
|
+
/** @example Greeting Rule */
|
|
26
77
|
title: string;
|
|
78
|
+
/** @example en */
|
|
79
|
+
language: string;
|
|
27
80
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* @
|
|
30
|
-
* "xx@netzet.com",
|
|
31
|
-
* "xx2@netzet.com"
|
|
32
|
-
* ]
|
|
81
|
+
* @example contains
|
|
82
|
+
* @enum {string}
|
|
33
83
|
*/
|
|
34
|
-
|
|
84
|
+
condition_type: "contains" | "equals" | "not_contains";
|
|
85
|
+
/** @example hello */
|
|
86
|
+
condition_value: string;
|
|
87
|
+
/** @example 1 */
|
|
88
|
+
sort?: number;
|
|
35
89
|
};
|
|
36
|
-
|
|
90
|
+
LanguageRuleAccountDto: {
|
|
91
|
+
/** @description Account ID (Link ID) */
|
|
92
|
+
id: number;
|
|
93
|
+
/** @description Account source */
|
|
94
|
+
source: string;
|
|
95
|
+
/** @description Account language */
|
|
96
|
+
language: string;
|
|
97
|
+
};
|
|
98
|
+
LanguageRuleResponseDto: {
|
|
99
|
+
/** @description Rule ID */
|
|
100
|
+
id: number;
|
|
101
|
+
/** @description Condition type (contains, equals) */
|
|
102
|
+
condition_type: string;
|
|
103
|
+
/** @description Condition value (string to match against campaign name) */
|
|
104
|
+
condition_value: string;
|
|
105
|
+
/** @description Language code to assign if matched */
|
|
106
|
+
language: string;
|
|
107
|
+
/** @description Sort order */
|
|
108
|
+
sort: number;
|
|
109
|
+
/** @description Associated account (Link) */
|
|
110
|
+
account?: components["schemas"]["LanguageRuleAccountDto"];
|
|
111
|
+
};
|
|
112
|
+
UpdateLanguageRuleDto: {
|
|
113
|
+
/** @example 1 */
|
|
114
|
+
accountId?: number;
|
|
115
|
+
/** @example Greeting Rule */
|
|
116
|
+
title?: string;
|
|
117
|
+
/** @example en */
|
|
118
|
+
language?: string;
|
|
37
119
|
/**
|
|
38
|
-
* @
|
|
39
|
-
* @
|
|
120
|
+
* @example contains
|
|
121
|
+
* @enum {string}
|
|
40
122
|
*/
|
|
41
|
-
|
|
123
|
+
condition_type?: "contains" | "equals" | "not_contains";
|
|
124
|
+
/** @example hello */
|
|
125
|
+
condition_value?: string;
|
|
126
|
+
/** @example 1 */
|
|
127
|
+
sort?: number;
|
|
128
|
+
};
|
|
129
|
+
AdSpendAccountDto: {
|
|
130
|
+
/** @description Account (Link) ID */
|
|
131
|
+
id: number;
|
|
132
|
+
/** @description Account source */
|
|
133
|
+
source: string;
|
|
134
|
+
/** @description Account language */
|
|
135
|
+
language: string;
|
|
136
|
+
};
|
|
137
|
+
AdSpendResponseDto: {
|
|
138
|
+
/** @description AdSpend record ID */
|
|
139
|
+
id: number;
|
|
140
|
+
/** @description Spend date (YYYY-MM-DD) */
|
|
141
|
+
date: string;
|
|
142
|
+
/** @description Country (mapped from country code) */
|
|
143
|
+
country: string;
|
|
144
|
+
/** @description Language code applied */
|
|
145
|
+
language: string;
|
|
146
|
+
/** @description Spend amount in account currency */
|
|
147
|
+
spend: number;
|
|
148
|
+
/** @description Associated account (Link) */
|
|
149
|
+
account?: components["schemas"]["AdSpendAccountDto"];
|
|
150
|
+
};
|
|
151
|
+
AdSpendPaginatedResponseDto: {
|
|
152
|
+
data: components["schemas"]["AdSpendResponseDto"][];
|
|
153
|
+
/** @example 100 */
|
|
154
|
+
total: number;
|
|
155
|
+
/** @example 1 */
|
|
156
|
+
page: number;
|
|
157
|
+
/** @example 10 */
|
|
158
|
+
limit: number;
|
|
159
|
+
/** @example 10 */
|
|
160
|
+
totalPages: number;
|
|
161
|
+
};
|
|
162
|
+
AdSpendDataForErpDto: {
|
|
42
163
|
/**
|
|
43
|
-
* @description
|
|
44
|
-
* @example
|
|
45
|
-
* "
|
|
46
|
-
*
|
|
47
|
-
*
|
|
164
|
+
* @description Nested object with three levels of string keys and number values
|
|
165
|
+
* @example {
|
|
166
|
+
* "account1": {
|
|
167
|
+
* "campaign1": {
|
|
168
|
+
* "metric1": 100,
|
|
169
|
+
* "metric2": 200
|
|
170
|
+
* }
|
|
171
|
+
* }
|
|
172
|
+
* }
|
|
48
173
|
*/
|
|
49
|
-
|
|
174
|
+
data: Record<string, never>;
|
|
50
175
|
};
|
|
51
|
-
|
|
176
|
+
TeamResponseDto: {
|
|
177
|
+
/**
|
|
178
|
+
* @description The unique identifier of the team
|
|
179
|
+
* @example 1
|
|
180
|
+
*/
|
|
181
|
+
id: number;
|
|
52
182
|
/**
|
|
53
183
|
* @description The title of the team
|
|
54
184
|
* @example Development Team
|
|
55
185
|
*/
|
|
56
|
-
title
|
|
186
|
+
title: string;
|
|
57
187
|
/**
|
|
58
188
|
* @description The access for element
|
|
59
189
|
* @example [
|
|
@@ -90,17 +220,51 @@ interface components {
|
|
|
90
220
|
*/
|
|
91
221
|
access?: string[];
|
|
92
222
|
};
|
|
93
|
-
|
|
223
|
+
ProjectResponseDto: {
|
|
94
224
|
/**
|
|
95
|
-
* @description The
|
|
96
|
-
* @example
|
|
225
|
+
* @description The unique identifier of the project
|
|
226
|
+
* @example 1
|
|
227
|
+
*/
|
|
228
|
+
id: number;
|
|
229
|
+
/**
|
|
230
|
+
* @description The title of the project
|
|
231
|
+
* @example My Awesome Project
|
|
97
232
|
*/
|
|
98
233
|
title: string;
|
|
99
234
|
/**
|
|
100
|
-
* @description The
|
|
101
|
-
* @example
|
|
235
|
+
* @description The unique UUID of the project used for authentication
|
|
236
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
102
237
|
*/
|
|
103
|
-
|
|
238
|
+
uuid: string;
|
|
239
|
+
/**
|
|
240
|
+
* @description The unique UUID for development purposes
|
|
241
|
+
* @example 123e4567-e89b-12d3-a456-426614174001
|
|
242
|
+
*/
|
|
243
|
+
uuidDev?: string;
|
|
244
|
+
/**
|
|
245
|
+
* @description The URL of the project
|
|
246
|
+
* @example https://myproject.example.com
|
|
247
|
+
*/
|
|
248
|
+
url: string;
|
|
249
|
+
/**
|
|
250
|
+
* @description The support email address for the project
|
|
251
|
+
* @example support@example.com
|
|
252
|
+
*/
|
|
253
|
+
support_email: string;
|
|
254
|
+
/**
|
|
255
|
+
* @description Project language
|
|
256
|
+
* @example en
|
|
257
|
+
*/
|
|
258
|
+
language?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @description The slug of the project
|
|
261
|
+
* @example my-awesome-project
|
|
262
|
+
*/
|
|
263
|
+
slug: string;
|
|
264
|
+
groupId?: number;
|
|
265
|
+
teamId?: number;
|
|
266
|
+
team?: components["schemas"]["TeamResponseDto"];
|
|
267
|
+
group?: components["schemas"]["ProjectGroupResponseDto"];
|
|
104
268
|
/**
|
|
105
269
|
* @description The access for element
|
|
106
270
|
* @example [
|
|
@@ -110,16 +274,33 @@ interface components {
|
|
|
110
274
|
*/
|
|
111
275
|
access?: string[];
|
|
112
276
|
};
|
|
113
|
-
|
|
277
|
+
CreateProjectDto: {
|
|
114
278
|
/**
|
|
115
|
-
* @description The title of the project
|
|
116
|
-
* @example
|
|
279
|
+
* @description The title of the project
|
|
280
|
+
* @example My Awesome Project
|
|
117
281
|
*/
|
|
118
|
-
title
|
|
282
|
+
title: string;
|
|
119
283
|
/**
|
|
120
|
-
* @description The
|
|
121
|
-
* @example
|
|
284
|
+
* @description The URL of the project
|
|
285
|
+
* @example https://myproject.example.com
|
|
286
|
+
*/
|
|
287
|
+
url: string;
|
|
288
|
+
/**
|
|
289
|
+
* @description The support email address for the project
|
|
290
|
+
* @example support@example.com
|
|
291
|
+
*/
|
|
292
|
+
support_email?: string;
|
|
293
|
+
/**
|
|
294
|
+
* @description Project language
|
|
295
|
+
* @example en
|
|
122
296
|
*/
|
|
297
|
+
language?: string;
|
|
298
|
+
/**
|
|
299
|
+
* @description The slug of the project
|
|
300
|
+
* @example my-awesome-project
|
|
301
|
+
*/
|
|
302
|
+
slug: string;
|
|
303
|
+
groupId?: number;
|
|
123
304
|
teamId?: number;
|
|
124
305
|
/**
|
|
125
306
|
* @description The access for element
|
|
@@ -130,37 +311,22 @@ interface components {
|
|
|
130
311
|
*/
|
|
131
312
|
access?: string[];
|
|
132
313
|
};
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @description The unique identifier of the project
|
|
136
|
-
* @example 1
|
|
137
|
-
*/
|
|
138
|
-
id: number;
|
|
314
|
+
UpdateProjectDto: {
|
|
139
315
|
/**
|
|
140
316
|
* @description The title of the project
|
|
141
317
|
* @example My Awesome Project
|
|
142
318
|
*/
|
|
143
|
-
title
|
|
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;
|
|
319
|
+
title?: string;
|
|
154
320
|
/**
|
|
155
321
|
* @description The URL of the project
|
|
156
322
|
* @example https://myproject.example.com
|
|
157
323
|
*/
|
|
158
|
-
url
|
|
324
|
+
url?: string;
|
|
159
325
|
/**
|
|
160
326
|
* @description The support email address for the project
|
|
161
327
|
* @example support@example.com
|
|
162
328
|
*/
|
|
163
|
-
support_email
|
|
329
|
+
support_email?: string;
|
|
164
330
|
/**
|
|
165
331
|
* @description Project language
|
|
166
332
|
* @example en
|
|
@@ -170,11 +336,79 @@ interface components {
|
|
|
170
336
|
* @description The slug of the project
|
|
171
337
|
* @example my-awesome-project
|
|
172
338
|
*/
|
|
173
|
-
slug
|
|
339
|
+
slug?: string;
|
|
174
340
|
groupId?: number;
|
|
175
341
|
teamId?: number;
|
|
176
|
-
|
|
177
|
-
|
|
342
|
+
/**
|
|
343
|
+
* @description The access for element
|
|
344
|
+
* @example [
|
|
345
|
+
* "xx@netzet.com",
|
|
346
|
+
* "xx2@netzet.com"
|
|
347
|
+
* ]
|
|
348
|
+
*/
|
|
349
|
+
access?: string[];
|
|
350
|
+
};
|
|
351
|
+
CreateTeamDto: {
|
|
352
|
+
/**
|
|
353
|
+
* @description The title of the team
|
|
354
|
+
* @example Development Team
|
|
355
|
+
*/
|
|
356
|
+
title: string;
|
|
357
|
+
/**
|
|
358
|
+
* @description The access for element
|
|
359
|
+
* @example [
|
|
360
|
+
* "xx@netzet.com",
|
|
361
|
+
* "xx2@netzet.com"
|
|
362
|
+
* ]
|
|
363
|
+
*/
|
|
364
|
+
access?: string[];
|
|
365
|
+
};
|
|
366
|
+
UpdateTeamDto: {
|
|
367
|
+
/**
|
|
368
|
+
* @description The title of the team
|
|
369
|
+
* @example Development Team
|
|
370
|
+
*/
|
|
371
|
+
title?: string;
|
|
372
|
+
/**
|
|
373
|
+
* @description The access for element
|
|
374
|
+
* @example [
|
|
375
|
+
* "xx@netzet.com",
|
|
376
|
+
* "xx2@netzet.com"
|
|
377
|
+
* ]
|
|
378
|
+
*/
|
|
379
|
+
access?: string[];
|
|
380
|
+
};
|
|
381
|
+
CreateProjectGroupDto: {
|
|
382
|
+
/**
|
|
383
|
+
* @description The title of the project group
|
|
384
|
+
* @example Frontend Projects
|
|
385
|
+
*/
|
|
386
|
+
title: string;
|
|
387
|
+
/**
|
|
388
|
+
* @description The ID of the team this project group belongs to
|
|
389
|
+
* @example 1
|
|
390
|
+
*/
|
|
391
|
+
teamId: number;
|
|
392
|
+
/**
|
|
393
|
+
* @description The access for element
|
|
394
|
+
* @example [
|
|
395
|
+
* "xx@netzet.com",
|
|
396
|
+
* "xx2@netzet.com"
|
|
397
|
+
* ]
|
|
398
|
+
*/
|
|
399
|
+
access?: string[];
|
|
400
|
+
};
|
|
401
|
+
UpdateProjectGroupDto: {
|
|
402
|
+
/**
|
|
403
|
+
* @description The title of the project group
|
|
404
|
+
* @example Frontend Projects
|
|
405
|
+
*/
|
|
406
|
+
title?: string;
|
|
407
|
+
/**
|
|
408
|
+
* @description The ID of the team this project group belongs to
|
|
409
|
+
* @example 1
|
|
410
|
+
*/
|
|
411
|
+
teamId?: number;
|
|
178
412
|
/**
|
|
179
413
|
* @description The access for element
|
|
180
414
|
* @example [
|
|
@@ -310,80 +544,6 @@ interface components {
|
|
|
310
544
|
*/
|
|
311
545
|
access?: string[];
|
|
312
546
|
};
|
|
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
547
|
FunnelTemplatesEnumDto: {
|
|
388
548
|
/**
|
|
389
549
|
* @description Available templates for the home page
|
|
@@ -843,6 +1003,14 @@ interface components {
|
|
|
843
1003
|
*/
|
|
844
1004
|
endDate?: string;
|
|
845
1005
|
};
|
|
1006
|
+
YunoCreatePaymentDto: {
|
|
1007
|
+
/** @description Main Order ID */
|
|
1008
|
+
referenceId: string;
|
|
1009
|
+
/** @description Payment method */
|
|
1010
|
+
paymentMethod: string;
|
|
1011
|
+
/** @description Payment token */
|
|
1012
|
+
token: string;
|
|
1013
|
+
};
|
|
846
1014
|
PaymentRefundRequestDto: {
|
|
847
1015
|
/** @description Order ID */
|
|
848
1016
|
orderId: string;
|
|
@@ -1311,108 +1479,6 @@ interface components {
|
|
|
1311
1479
|
language?: string;
|
|
1312
1480
|
type: string;
|
|
1313
1481
|
};
|
|
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
1482
|
};
|
|
1417
1483
|
responses: never;
|
|
1418
1484
|
parameters: never;
|
|
@@ -1502,6 +1568,11 @@ declare const browser: {
|
|
|
1502
1568
|
options?: any;
|
|
1503
1569
|
upsellOptions?: any;
|
|
1504
1570
|
}[]>;
|
|
1571
|
+
getTemplates: ({ angle, version, searchParams }: {
|
|
1572
|
+
angle: string;
|
|
1573
|
+
version: string;
|
|
1574
|
+
searchParams?: next_navigation.ReadonlyURLSearchParams;
|
|
1575
|
+
}) => Promise<SdkRemoteTemplate>;
|
|
1505
1576
|
};
|
|
1506
1577
|
verify: {
|
|
1507
1578
|
email: (email: string) => Promise<{
|
|
@@ -1532,6 +1603,9 @@ declare const browser: {
|
|
|
1532
1603
|
status: string;
|
|
1533
1604
|
}>;
|
|
1534
1605
|
};
|
|
1606
|
+
yuno: {
|
|
1607
|
+
createPayment: (dto: components["schemas"]["YunoCreatePaymentDto"]) => Promise<never>;
|
|
1608
|
+
};
|
|
1535
1609
|
};
|
|
1536
1610
|
trustpilot: {
|
|
1537
1611
|
getLink: (data: components["schemas"]["CreateTrustpilotInvitationLinkDto"]) => Promise<components["schemas"]["CreateTrustpilotInvitationLinkResponseDto"]>;
|
|
@@ -1546,4 +1620,4 @@ declare const server: {
|
|
|
1546
1620
|
}) => Promise<next_server.NextResponse<any> | undefined>;
|
|
1547
1621
|
};
|
|
1548
1622
|
|
|
1549
|
-
export { browser, server };
|
|
1623
|
+
export { type SdkRemoteTemplate, browser, server };
|