@grabjs/superapp-sdk 2.0.0-beta.54 → 2.0.0-beta.55
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/api-reference/api.json +8398 -45877
- package/dist/index.d.ts +180 -1656
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/SKILL.md +45 -45
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { GenericSchema } from 'valibot';
|
|
2
|
-
import type { InferOutput } from 'valibot';
|
|
3
|
-
import * as v from 'valibot';
|
|
4
2
|
|
|
5
3
|
/**
|
|
6
4
|
* Request parameters for initiating an OAuth2 authorization flow with PKCE.
|
|
@@ -34,23 +32,13 @@ import * as v from 'valibot';
|
|
|
34
32
|
*
|
|
35
33
|
* @public
|
|
36
34
|
*/
|
|
37
|
-
export declare type AuthorizeRequest =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export declare const AuthorizeRequestSchema: v.ObjectSchema<{
|
|
48
|
-
readonly clientId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
49
|
-
readonly redirectUri: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
50
|
-
readonly scope: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
51
|
-
readonly environment: v.PicklistSchema<["staging", "production"], undefined>;
|
|
52
|
-
readonly responseMode: v.OptionalSchema<v.PicklistSchema<["redirect", "in_place"], undefined>, undefined>;
|
|
53
|
-
}, undefined>;
|
|
35
|
+
export declare type AuthorizeRequest = {
|
|
36
|
+
clientId: string;
|
|
37
|
+
redirectUri: string;
|
|
38
|
+
scope: string;
|
|
39
|
+
environment: 'staging' | 'production';
|
|
40
|
+
responseMode?: 'redirect' | 'in_place';
|
|
41
|
+
};
|
|
54
42
|
|
|
55
43
|
/**
|
|
56
44
|
* Response when initiating an authorization flow.
|
|
@@ -70,42 +58,7 @@ export declare const AuthorizeRequestSchema: v.ObjectSchema<{
|
|
|
70
58
|
*
|
|
71
59
|
* @public
|
|
72
60
|
*/
|
|
73
|
-
export declare type AuthorizeResponse =
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Valibot schema for {@link AuthorizeResponse}.
|
|
77
|
-
*
|
|
78
|
-
* @group Modules
|
|
79
|
-
* @category Identity
|
|
80
|
-
*
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
export declare const AuthorizeResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
84
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
85
|
-
readonly result: v.ObjectSchema<{
|
|
86
|
-
readonly code: v.StringSchema<undefined>;
|
|
87
|
-
readonly state: v.StringSchema<undefined>;
|
|
88
|
-
readonly codeVerifier: v.StringSchema<undefined>;
|
|
89
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
90
|
-
readonly redirectUri: v.StringSchema<undefined>;
|
|
91
|
-
}, undefined>;
|
|
92
|
-
}, undefined>, v.ObjectSchema<{
|
|
93
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
94
|
-
}, undefined>, v.ObjectSchema<{
|
|
95
|
-
readonly status_code: v.LiteralSchema<302, undefined>;
|
|
96
|
-
}, undefined>, v.ObjectSchema<{
|
|
97
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
98
|
-
readonly error: v.StringSchema<undefined>;
|
|
99
|
-
}, undefined>, v.ObjectSchema<{
|
|
100
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
101
|
-
readonly error: v.StringSchema<undefined>;
|
|
102
|
-
}, undefined>, v.ObjectSchema<{
|
|
103
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
104
|
-
readonly error: v.StringSchema<undefined>;
|
|
105
|
-
}, undefined>, v.ObjectSchema<{
|
|
106
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
107
|
-
readonly error: v.StringSchema<undefined>;
|
|
108
|
-
}, undefined>], undefined>;
|
|
61
|
+
export declare type AuthorizeResponse = SDKOkResponse<AuthorizeResult> | SDKNoContentResponse | SDKRedirectResponse | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
109
62
|
|
|
110
63
|
/**
|
|
111
64
|
* Result object for the authorization flow.
|
|
@@ -127,23 +80,13 @@ export declare const AuthorizeResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
127
80
|
*
|
|
128
81
|
* @public
|
|
129
82
|
*/
|
|
130
|
-
export declare type AuthorizeResult =
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
export declare const AuthorizeResultSchema: v.ObjectSchema<{
|
|
141
|
-
readonly code: v.StringSchema<undefined>;
|
|
142
|
-
readonly state: v.StringSchema<undefined>;
|
|
143
|
-
readonly codeVerifier: v.StringSchema<undefined>;
|
|
144
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
145
|
-
readonly redirectUri: v.StringSchema<undefined>;
|
|
146
|
-
}, undefined>;
|
|
83
|
+
export declare type AuthorizeResult = {
|
|
84
|
+
code: string;
|
|
85
|
+
state: string;
|
|
86
|
+
codeVerifier: string;
|
|
87
|
+
nonce: string;
|
|
88
|
+
redirectUri: string;
|
|
89
|
+
};
|
|
147
90
|
|
|
148
91
|
/**
|
|
149
92
|
* Response when triggering platform back navigation.
|
|
@@ -159,25 +102,7 @@ export declare const AuthorizeResultSchema: v.ObjectSchema<{
|
|
|
159
102
|
*
|
|
160
103
|
* @public
|
|
161
104
|
*/
|
|
162
|
-
export declare type BackResponse =
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Valibot schema for {@link BackResponse}.
|
|
166
|
-
*
|
|
167
|
-
* @group Modules
|
|
168
|
-
* @category Platform
|
|
169
|
-
*
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
172
|
-
export declare const BackResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
173
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
174
|
-
}, undefined>, v.ObjectSchema<{
|
|
175
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
176
|
-
readonly error: v.StringSchema<undefined>;
|
|
177
|
-
}, undefined>, v.ObjectSchema<{
|
|
178
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
179
|
-
readonly error: v.StringSchema<undefined>;
|
|
180
|
-
}, undefined>], undefined>;
|
|
105
|
+
export declare type BackResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
181
106
|
|
|
182
107
|
/**
|
|
183
108
|
* Result when triggering platform back navigation.
|
|
@@ -473,19 +398,7 @@ export declare class CheckoutModule extends BaseModule {
|
|
|
473
398
|
*
|
|
474
399
|
* @public
|
|
475
400
|
*/
|
|
476
|
-
export declare type ClearAuthorizationArtifactsResponse =
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* Valibot schema for {@link ClearAuthorizationArtifactsResponse}.
|
|
480
|
-
*
|
|
481
|
-
* @group Modules
|
|
482
|
-
* @category Identity
|
|
483
|
-
*
|
|
484
|
-
* @public
|
|
485
|
-
*/
|
|
486
|
-
export declare const ClearAuthorizationArtifactsResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
487
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
488
|
-
}, undefined>], undefined>;
|
|
401
|
+
export declare type ClearAuthorizationArtifactsResponse = SDKNoContentResponse;
|
|
489
402
|
|
|
490
403
|
/**
|
|
491
404
|
* Result object for clearing authorization artifacts.
|
|
@@ -512,25 +425,7 @@ export declare type ClearAuthorizationArtifactsResult = void;
|
|
|
512
425
|
*
|
|
513
426
|
* @public
|
|
514
427
|
*/
|
|
515
|
-
export declare type CloseResponse =
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Valibot schema for {@link CloseResponse}.
|
|
519
|
-
*
|
|
520
|
-
* @group Modules
|
|
521
|
-
* @category Container
|
|
522
|
-
*
|
|
523
|
-
* @public
|
|
524
|
-
*/
|
|
525
|
-
export declare const CloseResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
526
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
527
|
-
}, undefined>, v.ObjectSchema<{
|
|
528
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
529
|
-
readonly error: v.StringSchema<undefined>;
|
|
530
|
-
}, undefined>, v.ObjectSchema<{
|
|
531
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
532
|
-
readonly error: v.StringSchema<undefined>;
|
|
533
|
-
}, undefined>], undefined>;
|
|
428
|
+
export declare type CloseResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
534
429
|
|
|
535
430
|
/**
|
|
536
431
|
* Result when closing the container.
|
|
@@ -1220,31 +1115,7 @@ export declare class DeviceModule extends BaseModule {
|
|
|
1220
1115
|
*
|
|
1221
1116
|
* @public
|
|
1222
1117
|
*/
|
|
1223
|
-
export declare type DismissSplashScreenResponse =
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* Valibot schema for {@link DismissSplashScreenResponse}.
|
|
1227
|
-
*
|
|
1228
|
-
* @group Modules
|
|
1229
|
-
* @category Splash Screen
|
|
1230
|
-
*
|
|
1231
|
-
* @public
|
|
1232
|
-
*/
|
|
1233
|
-
export declare const DismissSplashScreenResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1234
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1235
|
-
}, undefined>, v.ObjectSchema<{
|
|
1236
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1237
|
-
readonly error: v.StringSchema<undefined>;
|
|
1238
|
-
}, undefined>, v.ObjectSchema<{
|
|
1239
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
1240
|
-
readonly error: v.StringSchema<undefined>;
|
|
1241
|
-
}, undefined>, v.ObjectSchema<{
|
|
1242
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1243
|
-
readonly error: v.StringSchema<undefined>;
|
|
1244
|
-
}, undefined>, v.ObjectSchema<{
|
|
1245
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1246
|
-
readonly error: v.StringSchema<undefined>;
|
|
1247
|
-
}, undefined>], undefined>;
|
|
1118
|
+
export declare type DismissSplashScreenResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1248
1119
|
|
|
1249
1120
|
/**
|
|
1250
1121
|
* Request parameters for downloading a file through `JSBridge`.
|
|
@@ -1262,20 +1133,10 @@ export declare const DismissSplashScreenResponseSchema: v.UnionSchema<[v.ObjectS
|
|
|
1262
1133
|
*
|
|
1263
1134
|
* @public
|
|
1264
1135
|
*/
|
|
1265
|
-
export declare type DownloadFileRequest =
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
*
|
|
1270
|
-
* @group Modules
|
|
1271
|
-
* @category File
|
|
1272
|
-
*
|
|
1273
|
-
* @public
|
|
1274
|
-
*/
|
|
1275
|
-
export declare const DownloadFileRequestSchema: v.ObjectSchema<{
|
|
1276
|
-
readonly fileUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
1277
|
-
readonly fileName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1278
|
-
}, undefined>;
|
|
1136
|
+
export declare type DownloadFileRequest = {
|
|
1137
|
+
fileName: string;
|
|
1138
|
+
fileUrl: string;
|
|
1139
|
+
};
|
|
1279
1140
|
|
|
1280
1141
|
/**
|
|
1281
1142
|
* Response when requesting a native file download.
|
|
@@ -1292,28 +1153,7 @@ export declare const DownloadFileRequestSchema: v.ObjectSchema<{
|
|
|
1292
1153
|
*
|
|
1293
1154
|
* @public
|
|
1294
1155
|
*/
|
|
1295
|
-
export declare type DownloadFileResponse =
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Valibot schema for {@link DownloadFileResponse}.
|
|
1299
|
-
*
|
|
1300
|
-
* @group Modules
|
|
1301
|
-
* @category File
|
|
1302
|
-
*
|
|
1303
|
-
* @public
|
|
1304
|
-
*/
|
|
1305
|
-
export declare const DownloadFileResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1306
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1307
|
-
}, undefined>, v.ObjectSchema<{
|
|
1308
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1309
|
-
readonly error: v.StringSchema<undefined>;
|
|
1310
|
-
}, undefined>, v.ObjectSchema<{
|
|
1311
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1312
|
-
readonly error: v.StringSchema<undefined>;
|
|
1313
|
-
}, undefined>, v.ObjectSchema<{
|
|
1314
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1315
|
-
readonly error: v.StringSchema<undefined>;
|
|
1316
|
-
}, undefined>], undefined>;
|
|
1156
|
+
export declare type DownloadFileResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1317
1157
|
|
|
1318
1158
|
/**
|
|
1319
1159
|
* Result data structure for file download operations.
|
|
@@ -1405,22 +1245,12 @@ export declare type DRMContentConfig = Record<string, unknown>;
|
|
|
1405
1245
|
*
|
|
1406
1246
|
* @public
|
|
1407
1247
|
*/
|
|
1408
|
-
export declare type DRMPlaybackEvent =
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
* @category Media
|
|
1415
|
-
*
|
|
1416
|
-
* @public
|
|
1417
|
-
*/
|
|
1418
|
-
export declare const DRMPlaybackEventSchema: v.ObjectSchema<{
|
|
1419
|
-
readonly type: v.PicklistSchema<["START_PLAYBACK", "PROGRESS_PLAYBACK", "START_SEEK", "STOP_SEEK", "STOP_PLAYBACK", "CLOSE_PLAYBACK", "PAUSE_PLAYBACK", "RESUME_PLAYBACK", "FAST_FORWARD_PLAYBACK", "REWIND_PLAYBACK", "ERROR_PLAYBACK", "CHANGE_VOLUME"], undefined>;
|
|
1420
|
-
readonly titleId: v.StringSchema<undefined>;
|
|
1421
|
-
readonly position: v.NumberSchema<undefined>;
|
|
1422
|
-
readonly length: v.NumberSchema<undefined>;
|
|
1423
|
-
}, undefined>;
|
|
1248
|
+
export declare type DRMPlaybackEvent = {
|
|
1249
|
+
length: number;
|
|
1250
|
+
position: number;
|
|
1251
|
+
titleId: string;
|
|
1252
|
+
type: 'START_PLAYBACK' | 'PROGRESS_PLAYBACK' | 'START_SEEK' | 'STOP_SEEK' | 'STOP_PLAYBACK' | 'CLOSE_PLAYBACK' | 'PAUSE_PLAYBACK' | 'RESUME_PLAYBACK' | 'FAST_FORWARD_PLAYBACK' | 'REWIND_PLAYBACK' | 'ERROR_PLAYBACK' | 'CHANGE_VOLUME';
|
|
1253
|
+
};
|
|
1424
1254
|
|
|
1425
1255
|
/**
|
|
1426
1256
|
* Response when fetching the user's email.
|
|
@@ -1440,39 +1270,7 @@ export declare const DRMPlaybackEventSchema: v.ObjectSchema<{
|
|
|
1440
1270
|
*
|
|
1441
1271
|
* @public
|
|
1442
1272
|
*/
|
|
1443
|
-
export declare type FetchEmailResponse =
|
|
1444
|
-
|
|
1445
|
-
/**
|
|
1446
|
-
* Valibot schema for {@link FetchEmailResponse}.
|
|
1447
|
-
*
|
|
1448
|
-
* @group Modules
|
|
1449
|
-
* @category Profile
|
|
1450
|
-
*
|
|
1451
|
-
* @public
|
|
1452
|
-
*/
|
|
1453
|
-
export declare const FetchEmailResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1454
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1455
|
-
readonly result: v.ObjectSchema<{
|
|
1456
|
-
readonly email: v.StringSchema<undefined>;
|
|
1457
|
-
}, undefined>;
|
|
1458
|
-
}, undefined>, v.ObjectSchema<{
|
|
1459
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1460
|
-
}, undefined>, v.ObjectSchema<{
|
|
1461
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1462
|
-
readonly error: v.StringSchema<undefined>;
|
|
1463
|
-
}, undefined>, v.ObjectSchema<{
|
|
1464
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
1465
|
-
readonly error: v.StringSchema<undefined>;
|
|
1466
|
-
}, undefined>, v.ObjectSchema<{
|
|
1467
|
-
readonly status_code: v.LiteralSchema<426, undefined>;
|
|
1468
|
-
readonly error: v.StringSchema<undefined>;
|
|
1469
|
-
}, undefined>, v.ObjectSchema<{
|
|
1470
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1471
|
-
readonly error: v.StringSchema<undefined>;
|
|
1472
|
-
}, undefined>, v.ObjectSchema<{
|
|
1473
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1474
|
-
readonly error: v.StringSchema<undefined>;
|
|
1475
|
-
}, undefined>], undefined>;
|
|
1273
|
+
export declare type FetchEmailResponse = SDKOkResponse<FetchEmailResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<426> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1476
1274
|
|
|
1477
1275
|
/**
|
|
1478
1276
|
* Result object containing the user's email address.
|
|
@@ -1487,19 +1285,9 @@ export declare const FetchEmailResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1487
1285
|
*
|
|
1488
1286
|
* @public
|
|
1489
1287
|
*/
|
|
1490
|
-
export declare type FetchEmailResult =
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
* Valibot schema for {@link FetchEmailResult}.
|
|
1494
|
-
*
|
|
1495
|
-
* @group Modules
|
|
1496
|
-
* @category Profile
|
|
1497
|
-
*
|
|
1498
|
-
* @public
|
|
1499
|
-
*/
|
|
1500
|
-
export declare const FetchEmailResultSchema: v.ObjectSchema<{
|
|
1501
|
-
readonly email: v.StringSchema<undefined>;
|
|
1502
|
-
}, undefined>;
|
|
1288
|
+
export declare type FetchEmailResult = {
|
|
1289
|
+
email: string;
|
|
1290
|
+
};
|
|
1503
1291
|
|
|
1504
1292
|
/**
|
|
1505
1293
|
* SDK module for downloading files to the user's device via `JSBridge`.
|
|
@@ -1582,30 +1370,7 @@ export declare class FileModule extends BaseModule {
|
|
|
1582
1370
|
*
|
|
1583
1371
|
* @public
|
|
1584
1372
|
*/
|
|
1585
|
-
export declare type GetAuthorizationArtifactsResponse =
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* Valibot schema for {@link GetAuthorizationArtifactsResponse}.
|
|
1589
|
-
*
|
|
1590
|
-
* @group Modules
|
|
1591
|
-
* @category Identity
|
|
1592
|
-
*
|
|
1593
|
-
* @public
|
|
1594
|
-
*/
|
|
1595
|
-
export declare const GetAuthorizationArtifactsResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1596
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1597
|
-
readonly result: v.ObjectSchema<{
|
|
1598
|
-
readonly state: v.StringSchema<undefined>;
|
|
1599
|
-
readonly codeVerifier: v.StringSchema<undefined>;
|
|
1600
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1601
|
-
readonly redirectUri: v.StringSchema<undefined>;
|
|
1602
|
-
}, undefined>;
|
|
1603
|
-
}, undefined>, v.ObjectSchema<{
|
|
1604
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1605
|
-
}, undefined>, v.ObjectSchema<{
|
|
1606
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1607
|
-
readonly error: v.StringSchema<undefined>;
|
|
1608
|
-
}, undefined>], undefined>;
|
|
1373
|
+
export declare type GetAuthorizationArtifactsResponse = SDKOkResponse<GetAuthorizationArtifactsResult> | SDKNoContentResponse | SDKErrorResponse<400>;
|
|
1609
1374
|
|
|
1610
1375
|
/**
|
|
1611
1376
|
* Result object containing the stored PKCE authorization artifacts.
|
|
@@ -1627,22 +1392,12 @@ export declare const GetAuthorizationArtifactsResponseSchema: v.UnionSchema<[v.O
|
|
|
1627
1392
|
*
|
|
1628
1393
|
* @public
|
|
1629
1394
|
*/
|
|
1630
|
-
export declare type GetAuthorizationArtifactsResult =
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
* @category Identity
|
|
1637
|
-
*
|
|
1638
|
-
* @public
|
|
1639
|
-
*/
|
|
1640
|
-
export declare const GetAuthorizationArtifactsResultSchema: v.ObjectSchema<{
|
|
1641
|
-
readonly state: v.StringSchema<undefined>;
|
|
1642
|
-
readonly codeVerifier: v.StringSchema<undefined>;
|
|
1643
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1644
|
-
readonly redirectUri: v.StringSchema<undefined>;
|
|
1645
|
-
}, undefined>;
|
|
1395
|
+
export declare type GetAuthorizationArtifactsResult = {
|
|
1396
|
+
state: string;
|
|
1397
|
+
codeVerifier: string;
|
|
1398
|
+
nonce: string;
|
|
1399
|
+
redirectUri: string;
|
|
1400
|
+
};
|
|
1646
1401
|
|
|
1647
1402
|
/**
|
|
1648
1403
|
* Request parameters for getting a boolean value from storage.
|
|
@@ -1657,19 +1412,9 @@ export declare const GetAuthorizationArtifactsResultSchema: v.ObjectSchema<{
|
|
|
1657
1412
|
*
|
|
1658
1413
|
* @public
|
|
1659
1414
|
*/
|
|
1660
|
-
export declare type GetBooleanRequest =
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
* Valibot schema for {@link GetBooleanRequest}.
|
|
1664
|
-
*
|
|
1665
|
-
* @group Modules
|
|
1666
|
-
* @category Storage
|
|
1667
|
-
*
|
|
1668
|
-
* @public
|
|
1669
|
-
*/
|
|
1670
|
-
export declare const GetBooleanRequestSchema: v.ObjectSchema<{
|
|
1671
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1672
|
-
}, undefined>;
|
|
1415
|
+
export declare type GetBooleanRequest = {
|
|
1416
|
+
key: string;
|
|
1417
|
+
};
|
|
1673
1418
|
|
|
1674
1419
|
/**
|
|
1675
1420
|
* Response when getting a boolean value.
|
|
@@ -1688,34 +1433,7 @@ export declare const GetBooleanRequestSchema: v.ObjectSchema<{
|
|
|
1688
1433
|
*
|
|
1689
1434
|
* @public
|
|
1690
1435
|
*/
|
|
1691
|
-
export declare type GetBooleanResponse =
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* Valibot schema for {@link GetBooleanResponse}.
|
|
1695
|
-
*
|
|
1696
|
-
* @group Modules
|
|
1697
|
-
* @category Storage
|
|
1698
|
-
*
|
|
1699
|
-
* @public
|
|
1700
|
-
*/
|
|
1701
|
-
export declare const GetBooleanResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1702
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1703
|
-
readonly result: v.BooleanSchema<undefined>;
|
|
1704
|
-
}, undefined>, v.ObjectSchema<{
|
|
1705
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1706
|
-
}, undefined>, v.ObjectSchema<{
|
|
1707
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1708
|
-
readonly error: v.StringSchema<undefined>;
|
|
1709
|
-
}, undefined>, v.ObjectSchema<{
|
|
1710
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
1711
|
-
readonly error: v.StringSchema<undefined>;
|
|
1712
|
-
}, undefined>, v.ObjectSchema<{
|
|
1713
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1714
|
-
readonly error: v.StringSchema<undefined>;
|
|
1715
|
-
}, undefined>, v.ObjectSchema<{
|
|
1716
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1717
|
-
readonly error: v.StringSchema<undefined>;
|
|
1718
|
-
}, undefined>], undefined>;
|
|
1436
|
+
export declare type GetBooleanResponse = SDKOkResponse<GetBooleanResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1719
1437
|
|
|
1720
1438
|
/**
|
|
1721
1439
|
* The boolean value returned when a key exists in storage.
|
|
@@ -1733,17 +1451,7 @@ export declare const GetBooleanResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1733
1451
|
*
|
|
1734
1452
|
* @public
|
|
1735
1453
|
*/
|
|
1736
|
-
export declare type GetBooleanResult =
|
|
1737
|
-
|
|
1738
|
-
/**
|
|
1739
|
-
* Valibot schema for {@link GetBooleanResult}.
|
|
1740
|
-
*
|
|
1741
|
-
* @group Modules
|
|
1742
|
-
* @category Storage
|
|
1743
|
-
*
|
|
1744
|
-
* @public
|
|
1745
|
-
*/
|
|
1746
|
-
export declare const GetBooleanResultSchema: v.BooleanSchema<undefined>;
|
|
1454
|
+
export declare type GetBooleanResult = boolean;
|
|
1747
1455
|
|
|
1748
1456
|
/**
|
|
1749
1457
|
* Response when getting the device coordinates.
|
|
@@ -1761,35 +1469,7 @@ export declare const GetBooleanResultSchema: v.BooleanSchema<undefined>;
|
|
|
1761
1469
|
*
|
|
1762
1470
|
* @public
|
|
1763
1471
|
*/
|
|
1764
|
-
export declare type GetCoordinateResponse =
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* Valibot schema for {@link GetCoordinateResponse}.
|
|
1768
|
-
*
|
|
1769
|
-
* @group Modules
|
|
1770
|
-
* @category Location
|
|
1771
|
-
*
|
|
1772
|
-
* @public
|
|
1773
|
-
*/
|
|
1774
|
-
export declare const GetCoordinateResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1775
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1776
|
-
readonly result: v.ObjectSchema<{
|
|
1777
|
-
readonly latitude: v.NumberSchema<undefined>;
|
|
1778
|
-
readonly longitude: v.NumberSchema<undefined>;
|
|
1779
|
-
}, undefined>;
|
|
1780
|
-
}, undefined>, v.ObjectSchema<{
|
|
1781
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
1782
|
-
readonly error: v.StringSchema<undefined>;
|
|
1783
|
-
}, undefined>, v.ObjectSchema<{
|
|
1784
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
1785
|
-
readonly error: v.StringSchema<undefined>;
|
|
1786
|
-
}, undefined>, v.ObjectSchema<{
|
|
1787
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1788
|
-
readonly error: v.StringSchema<undefined>;
|
|
1789
|
-
}, undefined>, v.ObjectSchema<{
|
|
1790
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1791
|
-
readonly error: v.StringSchema<undefined>;
|
|
1792
|
-
}, undefined>], undefined>;
|
|
1472
|
+
export declare type GetCoordinateResponse = SDKOkResponse<GetCoordinateResult> | SDKErrorResponse<403> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1793
1473
|
|
|
1794
1474
|
/**
|
|
1795
1475
|
* Result object containing the geographic coordinates.
|
|
@@ -1804,20 +1484,10 @@ export declare const GetCoordinateResponseSchema: v.UnionSchema<[v.ObjectSchema<
|
|
|
1804
1484
|
*
|
|
1805
1485
|
* @public
|
|
1806
1486
|
*/
|
|
1807
|
-
export declare type GetCoordinateResult =
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
*
|
|
1812
|
-
* @group Modules
|
|
1813
|
-
* @category Location
|
|
1814
|
-
*
|
|
1815
|
-
* @public
|
|
1816
|
-
*/
|
|
1817
|
-
export declare const GetCoordinateResultSchema: v.ObjectSchema<{
|
|
1818
|
-
readonly latitude: v.NumberSchema<undefined>;
|
|
1819
|
-
readonly longitude: v.NumberSchema<undefined>;
|
|
1820
|
-
}, undefined>;
|
|
1487
|
+
export declare type GetCoordinateResult = {
|
|
1488
|
+
latitude: number;
|
|
1489
|
+
longitude: number;
|
|
1490
|
+
};
|
|
1821
1491
|
|
|
1822
1492
|
/**
|
|
1823
1493
|
* Response when getting the country code.
|
|
@@ -1836,34 +1506,7 @@ export declare const GetCoordinateResultSchema: v.ObjectSchema<{
|
|
|
1836
1506
|
*
|
|
1837
1507
|
* @public
|
|
1838
1508
|
*/
|
|
1839
|
-
export declare type GetCountryCodeResponse =
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* Valibot schema for {@link GetCountryCodeResponse}.
|
|
1843
|
-
*
|
|
1844
|
-
* @group Modules
|
|
1845
|
-
* @category Location
|
|
1846
|
-
*
|
|
1847
|
-
* @public
|
|
1848
|
-
*/
|
|
1849
|
-
export declare const GetCountryCodeResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1850
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1851
|
-
readonly result: v.StringSchema<undefined>;
|
|
1852
|
-
}, undefined>, v.ObjectSchema<{
|
|
1853
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1854
|
-
}, undefined>, v.ObjectSchema<{
|
|
1855
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
1856
|
-
readonly error: v.StringSchema<undefined>;
|
|
1857
|
-
}, undefined>, v.ObjectSchema<{
|
|
1858
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
1859
|
-
readonly error: v.StringSchema<undefined>;
|
|
1860
|
-
}, undefined>, v.ObjectSchema<{
|
|
1861
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1862
|
-
readonly error: v.StringSchema<undefined>;
|
|
1863
|
-
}, undefined>, v.ObjectSchema<{
|
|
1864
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1865
|
-
readonly error: v.StringSchema<undefined>;
|
|
1866
|
-
}, undefined>], undefined>;
|
|
1509
|
+
export declare type GetCountryCodeResponse = SDKOkResponse<GetCountryCodeResult> | SDKNoContentResponse | SDKErrorResponse<403> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1867
1510
|
|
|
1868
1511
|
/**
|
|
1869
1512
|
* The ISO country code string returned from `JSBridge`.
|
|
@@ -1883,17 +1526,7 @@ export declare const GetCountryCodeResponseSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
1883
1526
|
*
|
|
1884
1527
|
* @public
|
|
1885
1528
|
*/
|
|
1886
|
-
export declare type GetCountryCodeResult =
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Valibot schema for {@link GetCountryCodeResult}.
|
|
1890
|
-
*
|
|
1891
|
-
* @group Modules
|
|
1892
|
-
* @category Location
|
|
1893
|
-
*
|
|
1894
|
-
* @public
|
|
1895
|
-
*/
|
|
1896
|
-
export declare const GetCountryCodeResultSchema: v.StringSchema<undefined>;
|
|
1529
|
+
export declare type GetCountryCodeResult = string;
|
|
1897
1530
|
|
|
1898
1531
|
/**
|
|
1899
1532
|
* Request parameters for getting a double value from storage.
|
|
@@ -1908,19 +1541,9 @@ export declare const GetCountryCodeResultSchema: v.StringSchema<undefined>;
|
|
|
1908
1541
|
*
|
|
1909
1542
|
* @public
|
|
1910
1543
|
*/
|
|
1911
|
-
export declare type GetDoubleRequest =
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
* Valibot schema for {@link GetDoubleRequest}.
|
|
1915
|
-
*
|
|
1916
|
-
* @group Modules
|
|
1917
|
-
* @category Storage
|
|
1918
|
-
*
|
|
1919
|
-
* @public
|
|
1920
|
-
*/
|
|
1921
|
-
export declare const GetDoubleRequestSchema: v.ObjectSchema<{
|
|
1922
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1923
|
-
}, undefined>;
|
|
1544
|
+
export declare type GetDoubleRequest = {
|
|
1545
|
+
key: string;
|
|
1546
|
+
};
|
|
1924
1547
|
|
|
1925
1548
|
/**
|
|
1926
1549
|
* Response when getting a double value.
|
|
@@ -1939,34 +1562,7 @@ export declare const GetDoubleRequestSchema: v.ObjectSchema<{
|
|
|
1939
1562
|
*
|
|
1940
1563
|
* @public
|
|
1941
1564
|
*/
|
|
1942
|
-
export declare type GetDoubleResponse =
|
|
1943
|
-
|
|
1944
|
-
/**
|
|
1945
|
-
* Valibot schema for {@link GetDoubleResponse}.
|
|
1946
|
-
*
|
|
1947
|
-
* @group Modules
|
|
1948
|
-
* @category Storage
|
|
1949
|
-
*
|
|
1950
|
-
* @public
|
|
1951
|
-
*/
|
|
1952
|
-
export declare const GetDoubleResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1953
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
1954
|
-
readonly result: v.NumberSchema<undefined>;
|
|
1955
|
-
}, undefined>, v.ObjectSchema<{
|
|
1956
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
1957
|
-
}, undefined>, v.ObjectSchema<{
|
|
1958
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
1959
|
-
readonly error: v.StringSchema<undefined>;
|
|
1960
|
-
}, undefined>, v.ObjectSchema<{
|
|
1961
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
1962
|
-
readonly error: v.StringSchema<undefined>;
|
|
1963
|
-
}, undefined>, v.ObjectSchema<{
|
|
1964
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
1965
|
-
readonly error: v.StringSchema<undefined>;
|
|
1966
|
-
}, undefined>, v.ObjectSchema<{
|
|
1967
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
1968
|
-
readonly error: v.StringSchema<undefined>;
|
|
1969
|
-
}, undefined>], undefined>;
|
|
1565
|
+
export declare type GetDoubleResponse = SDKOkResponse<GetDoubleResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
1970
1566
|
|
|
1971
1567
|
/**
|
|
1972
1568
|
* The floating-point value returned when a key exists in storage.
|
|
@@ -1984,17 +1580,7 @@ export declare const GetDoubleResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
1984
1580
|
*
|
|
1985
1581
|
* @public
|
|
1986
1582
|
*/
|
|
1987
|
-
export declare type GetDoubleResult =
|
|
1988
|
-
|
|
1989
|
-
/**
|
|
1990
|
-
* Valibot schema for {@link GetDoubleResult}.
|
|
1991
|
-
*
|
|
1992
|
-
* @group Modules
|
|
1993
|
-
* @category Storage
|
|
1994
|
-
*
|
|
1995
|
-
* @public
|
|
1996
|
-
*/
|
|
1997
|
-
export declare const GetDoubleResultSchema: v.NumberSchema<undefined>;
|
|
1583
|
+
export declare type GetDoubleResult = number;
|
|
1998
1584
|
|
|
1999
1585
|
/**
|
|
2000
1586
|
* Request parameters for getting an integer value from storage.
|
|
@@ -2009,19 +1595,9 @@ export declare const GetDoubleResultSchema: v.NumberSchema<undefined>;
|
|
|
2009
1595
|
*
|
|
2010
1596
|
* @public
|
|
2011
1597
|
*/
|
|
2012
|
-
export declare type GetIntRequest =
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
* Valibot schema for {@link GetIntRequest}.
|
|
2016
|
-
*
|
|
2017
|
-
* @group Modules
|
|
2018
|
-
* @category Storage
|
|
2019
|
-
*
|
|
2020
|
-
* @public
|
|
2021
|
-
*/
|
|
2022
|
-
export declare const GetIntRequestSchema: v.ObjectSchema<{
|
|
2023
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2024
|
-
}, undefined>;
|
|
1598
|
+
export declare type GetIntRequest = {
|
|
1599
|
+
key: string;
|
|
1600
|
+
};
|
|
2025
1601
|
|
|
2026
1602
|
/**
|
|
2027
1603
|
* Response when getting an integer value.
|
|
@@ -2040,34 +1616,7 @@ export declare const GetIntRequestSchema: v.ObjectSchema<{
|
|
|
2040
1616
|
*
|
|
2041
1617
|
* @public
|
|
2042
1618
|
*/
|
|
2043
|
-
export declare type GetIntResponse =
|
|
2044
|
-
|
|
2045
|
-
/**
|
|
2046
|
-
* Valibot schema for {@link GetIntResponse}.
|
|
2047
|
-
*
|
|
2048
|
-
* @group Modules
|
|
2049
|
-
* @category Storage
|
|
2050
|
-
*
|
|
2051
|
-
* @public
|
|
2052
|
-
*/
|
|
2053
|
-
export declare const GetIntResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2054
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2055
|
-
readonly result: v.NumberSchema<undefined>;
|
|
2056
|
-
}, undefined>, v.ObjectSchema<{
|
|
2057
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2058
|
-
}, undefined>, v.ObjectSchema<{
|
|
2059
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
2060
|
-
readonly error: v.StringSchema<undefined>;
|
|
2061
|
-
}, undefined>, v.ObjectSchema<{
|
|
2062
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
2063
|
-
readonly error: v.StringSchema<undefined>;
|
|
2064
|
-
}, undefined>, v.ObjectSchema<{
|
|
2065
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2066
|
-
readonly error: v.StringSchema<undefined>;
|
|
2067
|
-
}, undefined>, v.ObjectSchema<{
|
|
2068
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2069
|
-
readonly error: v.StringSchema<undefined>;
|
|
2070
|
-
}, undefined>], undefined>;
|
|
1619
|
+
export declare type GetIntResponse = SDKOkResponse<GetIntResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2071
1620
|
|
|
2072
1621
|
/**
|
|
2073
1622
|
* The integer value returned when a key exists in storage.
|
|
@@ -2085,17 +1634,7 @@ export declare const GetIntResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2085
1634
|
*
|
|
2086
1635
|
* @public
|
|
2087
1636
|
*/
|
|
2088
|
-
export declare type GetIntResult =
|
|
2089
|
-
|
|
2090
|
-
/**
|
|
2091
|
-
* Valibot schema for {@link GetIntResult}.
|
|
2092
|
-
*
|
|
2093
|
-
* @group Modules
|
|
2094
|
-
* @category Storage
|
|
2095
|
-
*
|
|
2096
|
-
* @public
|
|
2097
|
-
*/
|
|
2098
|
-
export declare const GetIntResultSchema: v.NumberSchema<undefined>;
|
|
1637
|
+
export declare type GetIntResult = number;
|
|
2099
1638
|
|
|
2100
1639
|
/**
|
|
2101
1640
|
* Response when getting the language locale identifier from the device.
|
|
@@ -2113,31 +1652,7 @@ export declare const GetIntResultSchema: v.NumberSchema<undefined>;
|
|
|
2113
1652
|
*
|
|
2114
1653
|
* @public
|
|
2115
1654
|
*/
|
|
2116
|
-
export declare type GetLanguageLocaleIdentifierResponse =
|
|
2117
|
-
|
|
2118
|
-
/**
|
|
2119
|
-
* Valibot schema for {@link GetLanguageLocaleIdentifierResponse}.
|
|
2120
|
-
*
|
|
2121
|
-
* @group Modules
|
|
2122
|
-
* @category Locale
|
|
2123
|
-
*
|
|
2124
|
-
* @public
|
|
2125
|
-
*/
|
|
2126
|
-
export declare const GetLanguageLocaleIdentifierResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2127
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2128
|
-
readonly result: v.StringSchema<undefined>;
|
|
2129
|
-
}, undefined>, v.ObjectSchema<{
|
|
2130
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2131
|
-
}, undefined>, v.ObjectSchema<{
|
|
2132
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
2133
|
-
readonly error: v.StringSchema<undefined>;
|
|
2134
|
-
}, undefined>, v.ObjectSchema<{
|
|
2135
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2136
|
-
readonly error: v.StringSchema<undefined>;
|
|
2137
|
-
}, undefined>, v.ObjectSchema<{
|
|
2138
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2139
|
-
readonly error: v.StringSchema<undefined>;
|
|
2140
|
-
}, undefined>], undefined>;
|
|
1655
|
+
export declare type GetLanguageLocaleIdentifierResponse = SDKOkResponse<GetLanguageLocaleIdentifierResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2141
1656
|
|
|
2142
1657
|
/**
|
|
2143
1658
|
* Result object containing the language locale identifier.
|
|
@@ -2171,17 +1686,7 @@ export declare const GetLanguageLocaleIdentifierResponseSchema: v.UnionSchema<[v
|
|
|
2171
1686
|
*
|
|
2172
1687
|
* @public
|
|
2173
1688
|
*/
|
|
2174
|
-
export declare type GetLanguageLocaleIdentifierResult =
|
|
2175
|
-
|
|
2176
|
-
/**
|
|
2177
|
-
* Valibot schema for {@link GetLanguageLocaleIdentifierResult}.
|
|
2178
|
-
*
|
|
2179
|
-
* @group Modules
|
|
2180
|
-
* @category Locale
|
|
2181
|
-
*
|
|
2182
|
-
* @public
|
|
2183
|
-
*/
|
|
2184
|
-
export declare const GetLanguageLocaleIdentifierResultSchema: v.StringSchema<undefined>;
|
|
1689
|
+
export declare type GetLanguageLocaleIdentifierResult = string;
|
|
2185
1690
|
|
|
2186
1691
|
/**
|
|
2187
1692
|
* Response when reading the selected travel destination lowercase ISO 3166-1 alpha-2 country code.
|
|
@@ -2198,28 +1703,7 @@ export declare const GetLanguageLocaleIdentifierResultSchema: v.StringSchema<und
|
|
|
2198
1703
|
*
|
|
2199
1704
|
* @public
|
|
2200
1705
|
*/
|
|
2201
|
-
export declare type GetSelectedTravelDestinationResponse =
|
|
2202
|
-
|
|
2203
|
-
/**
|
|
2204
|
-
* Valibot schema for {@link GetSelectedTravelDestinationResponse}.
|
|
2205
|
-
*
|
|
2206
|
-
* @group Modules
|
|
2207
|
-
* @category User Attributes
|
|
2208
|
-
*
|
|
2209
|
-
* @public
|
|
2210
|
-
*/
|
|
2211
|
-
export declare const GetSelectedTravelDestinationResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2212
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2213
|
-
readonly result: v.StringSchema<undefined>;
|
|
2214
|
-
}, undefined>, v.ObjectSchema<{
|
|
2215
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2216
|
-
}, undefined>, v.ObjectSchema<{
|
|
2217
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2218
|
-
readonly error: v.StringSchema<undefined>;
|
|
2219
|
-
}, undefined>, v.ObjectSchema<{
|
|
2220
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2221
|
-
readonly error: v.StringSchema<undefined>;
|
|
2222
|
-
}, undefined>], undefined>;
|
|
1706
|
+
export declare type GetSelectedTravelDestinationResponse = SDKOkResponse<GetSelectedTravelDestinationResult> | SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2223
1707
|
|
|
2224
1708
|
/**
|
|
2225
1709
|
* Result containing the selected travel destination lowercase ISO 3166-1 alpha-2 country code.
|
|
@@ -2239,23 +1723,13 @@ export declare const GetSelectedTravelDestinationResponseSchema: v.UnionSchema<[
|
|
|
2239
1723
|
*
|
|
2240
1724
|
* @public
|
|
2241
1725
|
*/
|
|
2242
|
-
export declare type GetSelectedTravelDestinationResult =
|
|
1726
|
+
export declare type GetSelectedTravelDestinationResult = string;
|
|
2243
1727
|
|
|
2244
1728
|
/**
|
|
2245
|
-
*
|
|
1729
|
+
* Response when getting session parameters.
|
|
2246
1730
|
*
|
|
2247
1731
|
* @group Modules
|
|
2248
|
-
* @category
|
|
2249
|
-
*
|
|
2250
|
-
* @public
|
|
2251
|
-
*/
|
|
2252
|
-
export declare const GetSelectedTravelDestinationResultSchema: v.StringSchema<undefined>;
|
|
2253
|
-
|
|
2254
|
-
/**
|
|
2255
|
-
* Response when getting session parameters.
|
|
2256
|
-
*
|
|
2257
|
-
* @group Modules
|
|
2258
|
-
* @category Container
|
|
1732
|
+
* @category Container
|
|
2259
1733
|
*
|
|
2260
1734
|
* @remarks
|
|
2261
1735
|
* This response can have the following status codes:
|
|
@@ -2265,28 +1739,7 @@ export declare const GetSelectedTravelDestinationResultSchema: v.StringSchema<un
|
|
|
2265
1739
|
*
|
|
2266
1740
|
* @public
|
|
2267
1741
|
*/
|
|
2268
|
-
export declare type GetSessionParamsResponse =
|
|
2269
|
-
|
|
2270
|
-
/**
|
|
2271
|
-
* Valibot schema for {@link GetSessionParamsResponse}.
|
|
2272
|
-
*
|
|
2273
|
-
* @group Modules
|
|
2274
|
-
* @category Container
|
|
2275
|
-
*
|
|
2276
|
-
* @public
|
|
2277
|
-
*/
|
|
2278
|
-
export declare const GetSessionParamsResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2279
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2280
|
-
readonly result: v.StringSchema<undefined>;
|
|
2281
|
-
}, undefined>, v.ObjectSchema<{
|
|
2282
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2283
|
-
}, undefined>, v.ObjectSchema<{
|
|
2284
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2285
|
-
readonly error: v.StringSchema<undefined>;
|
|
2286
|
-
}, undefined>, v.ObjectSchema<{
|
|
2287
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2288
|
-
readonly error: v.StringSchema<undefined>;
|
|
2289
|
-
}, undefined>], undefined>;
|
|
1742
|
+
export declare type GetSessionParamsResponse = SDKOkResponse<GetSessionParamsResult> | SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2290
1743
|
|
|
2291
1744
|
/**
|
|
2292
1745
|
* Result object containing session parameters as a JSON string.
|
|
@@ -2306,17 +1759,7 @@ export declare const GetSessionParamsResponseSchema: v.UnionSchema<[v.ObjectSche
|
|
|
2306
1759
|
*
|
|
2307
1760
|
* @public
|
|
2308
1761
|
*/
|
|
2309
|
-
export declare type GetSessionParamsResult =
|
|
2310
|
-
|
|
2311
|
-
/**
|
|
2312
|
-
* Valibot schema for {@link GetSessionParamsResult}.
|
|
2313
|
-
*
|
|
2314
|
-
* @group Modules
|
|
2315
|
-
* @category Container
|
|
2316
|
-
*
|
|
2317
|
-
* @public
|
|
2318
|
-
*/
|
|
2319
|
-
export declare const GetSessionParamsResultSchema: v.StringSchema<undefined>;
|
|
1762
|
+
export declare type GetSessionParamsResult = string;
|
|
2320
1763
|
|
|
2321
1764
|
/**
|
|
2322
1765
|
* Request parameters for getting a string value from storage.
|
|
@@ -2331,19 +1774,9 @@ export declare const GetSessionParamsResultSchema: v.StringSchema<undefined>;
|
|
|
2331
1774
|
*
|
|
2332
1775
|
* @public
|
|
2333
1776
|
*/
|
|
2334
|
-
export declare type GetStringRequest =
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
* Valibot schema for {@link GetStringRequest}.
|
|
2338
|
-
*
|
|
2339
|
-
* @group Modules
|
|
2340
|
-
* @category Storage
|
|
2341
|
-
*
|
|
2342
|
-
* @public
|
|
2343
|
-
*/
|
|
2344
|
-
export declare const GetStringRequestSchema: v.ObjectSchema<{
|
|
2345
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2346
|
-
}, undefined>;
|
|
1777
|
+
export declare type GetStringRequest = {
|
|
1778
|
+
key: string;
|
|
1779
|
+
};
|
|
2347
1780
|
|
|
2348
1781
|
/**
|
|
2349
1782
|
* Response when getting a string value.
|
|
@@ -2362,34 +1795,7 @@ export declare const GetStringRequestSchema: v.ObjectSchema<{
|
|
|
2362
1795
|
*
|
|
2363
1796
|
* @public
|
|
2364
1797
|
*/
|
|
2365
|
-
export declare type GetStringResponse =
|
|
2366
|
-
|
|
2367
|
-
/**
|
|
2368
|
-
* Valibot schema for {@link GetStringResponse}.
|
|
2369
|
-
*
|
|
2370
|
-
* @group Modules
|
|
2371
|
-
* @category Storage
|
|
2372
|
-
*
|
|
2373
|
-
* @public
|
|
2374
|
-
*/
|
|
2375
|
-
export declare const GetStringResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2376
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2377
|
-
readonly result: v.StringSchema<undefined>;
|
|
2378
|
-
}, undefined>, v.ObjectSchema<{
|
|
2379
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2380
|
-
}, undefined>, v.ObjectSchema<{
|
|
2381
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
2382
|
-
readonly error: v.StringSchema<undefined>;
|
|
2383
|
-
}, undefined>, v.ObjectSchema<{
|
|
2384
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
2385
|
-
readonly error: v.StringSchema<undefined>;
|
|
2386
|
-
}, undefined>, v.ObjectSchema<{
|
|
2387
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2388
|
-
readonly error: v.StringSchema<undefined>;
|
|
2389
|
-
}, undefined>, v.ObjectSchema<{
|
|
2390
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2391
|
-
readonly error: v.StringSchema<undefined>;
|
|
2392
|
-
}, undefined>], undefined>;
|
|
1798
|
+
export declare type GetStringResponse = SDKOkResponse<GetStringResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2393
1799
|
|
|
2394
1800
|
/**
|
|
2395
1801
|
* The string value returned when a key exists in storage.
|
|
@@ -2407,17 +1813,7 @@ export declare const GetStringResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2407
1813
|
*
|
|
2408
1814
|
* @public
|
|
2409
1815
|
*/
|
|
2410
|
-
export declare type GetStringResult =
|
|
2411
|
-
|
|
2412
|
-
/**
|
|
2413
|
-
* Valibot schema for {@link GetStringResult}.
|
|
2414
|
-
*
|
|
2415
|
-
* @group Modules
|
|
2416
|
-
* @category Storage
|
|
2417
|
-
*
|
|
2418
|
-
* @public
|
|
2419
|
-
*/
|
|
2420
|
-
export declare const GetStringResultSchema: v.StringSchema<undefined>;
|
|
1816
|
+
export declare type GetStringResult = string;
|
|
2421
1817
|
|
|
2422
1818
|
/**
|
|
2423
1819
|
* Represents parsed information from a Grab app user agent string.
|
|
@@ -2448,20 +1844,10 @@ export declare interface GrabAppInfo {
|
|
|
2448
1844
|
*
|
|
2449
1845
|
* @public
|
|
2450
1846
|
*/
|
|
2451
|
-
export declare type HasAccessToRequest =
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
*
|
|
2456
|
-
* @group Modules
|
|
2457
|
-
* @category Scope
|
|
2458
|
-
*
|
|
2459
|
-
* @public
|
|
2460
|
-
*/
|
|
2461
|
-
export declare const HasAccessToRequestSchema: v.ObjectSchema<{
|
|
2462
|
-
readonly module: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2463
|
-
readonly method: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2464
|
-
}, undefined>;
|
|
1847
|
+
export declare type HasAccessToRequest = {
|
|
1848
|
+
method: string;
|
|
1849
|
+
module: string;
|
|
1850
|
+
};
|
|
2465
1851
|
|
|
2466
1852
|
/**
|
|
2467
1853
|
* Response when checking API access permissions.
|
|
@@ -2479,32 +1865,7 @@ export declare const HasAccessToRequestSchema: v.ObjectSchema<{
|
|
|
2479
1865
|
*
|
|
2480
1866
|
* @public
|
|
2481
1867
|
*/
|
|
2482
|
-
export declare type HasAccessToResponse =
|
|
2483
|
-
|
|
2484
|
-
/**
|
|
2485
|
-
* Valibot schema for {@link HasAccessToResponse}.
|
|
2486
|
-
*
|
|
2487
|
-
* @group Modules
|
|
2488
|
-
* @category Scope
|
|
2489
|
-
*
|
|
2490
|
-
* @public
|
|
2491
|
-
*/
|
|
2492
|
-
export declare const HasAccessToResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2493
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
2494
|
-
readonly result: v.BooleanSchema<undefined>;
|
|
2495
|
-
}, undefined>, v.ObjectSchema<{
|
|
2496
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
2497
|
-
readonly error: v.StringSchema<undefined>;
|
|
2498
|
-
}, undefined>, v.ObjectSchema<{
|
|
2499
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
2500
|
-
readonly error: v.StringSchema<undefined>;
|
|
2501
|
-
}, undefined>, v.ObjectSchema<{
|
|
2502
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2503
|
-
readonly error: v.StringSchema<undefined>;
|
|
2504
|
-
}, undefined>, v.ObjectSchema<{
|
|
2505
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2506
|
-
readonly error: v.StringSchema<undefined>;
|
|
2507
|
-
}, undefined>], undefined>;
|
|
1868
|
+
export declare type HasAccessToResponse = SDKOkResponse<HasAccessToResult> | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2508
1869
|
|
|
2509
1870
|
/**
|
|
2510
1871
|
* Boolean result indicating whether the MiniApp has access to the specified API.
|
|
@@ -2526,17 +1887,7 @@ export declare const HasAccessToResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
2526
1887
|
*
|
|
2527
1888
|
* @public
|
|
2528
1889
|
*/
|
|
2529
|
-
export declare type HasAccessToResult =
|
|
2530
|
-
|
|
2531
|
-
/**
|
|
2532
|
-
* Valibot schema for {@link HasAccessToResult}.
|
|
2533
|
-
*
|
|
2534
|
-
* @group Modules
|
|
2535
|
-
* @category Scope
|
|
2536
|
-
*
|
|
2537
|
-
* @public
|
|
2538
|
-
*/
|
|
2539
|
-
export declare const HasAccessToResultSchema: v.BooleanSchema<undefined>;
|
|
1890
|
+
export declare type HasAccessToResult = boolean;
|
|
2540
1891
|
|
|
2541
1892
|
/**
|
|
2542
1893
|
* Type guard to check if an SDK response has a `result` that is neither `null` nor `undefined`.
|
|
@@ -2575,25 +1926,7 @@ export declare function hasResult<T extends SDKResponse>(response: T): response
|
|
|
2575
1926
|
*
|
|
2576
1927
|
* @public
|
|
2577
1928
|
*/
|
|
2578
|
-
export declare type HideBackButtonResponse =
|
|
2579
|
-
|
|
2580
|
-
/**
|
|
2581
|
-
* Valibot schema for {@link HideBackButtonResponse}.
|
|
2582
|
-
*
|
|
2583
|
-
* @group Modules
|
|
2584
|
-
* @category Container
|
|
2585
|
-
*
|
|
2586
|
-
* @public
|
|
2587
|
-
*/
|
|
2588
|
-
export declare const HideBackButtonResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2589
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2590
|
-
}, undefined>, v.ObjectSchema<{
|
|
2591
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2592
|
-
readonly error: v.StringSchema<undefined>;
|
|
2593
|
-
}, undefined>, v.ObjectSchema<{
|
|
2594
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2595
|
-
readonly error: v.StringSchema<undefined>;
|
|
2596
|
-
}, undefined>], undefined>;
|
|
1929
|
+
export declare type HideBackButtonResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2597
1930
|
|
|
2598
1931
|
/**
|
|
2599
1932
|
* Result when hiding the back button.
|
|
@@ -2620,25 +1953,7 @@ export declare type HideBackButtonResult = void;
|
|
|
2620
1953
|
*
|
|
2621
1954
|
* @public
|
|
2622
1955
|
*/
|
|
2623
|
-
export declare type HideLoaderResponse =
|
|
2624
|
-
|
|
2625
|
-
/**
|
|
2626
|
-
* Valibot schema for {@link HideLoaderResponse}.
|
|
2627
|
-
*
|
|
2628
|
-
* @group Modules
|
|
2629
|
-
* @category Container
|
|
2630
|
-
*
|
|
2631
|
-
* @public
|
|
2632
|
-
*/
|
|
2633
|
-
export declare const HideLoaderResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2634
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2635
|
-
}, undefined>, v.ObjectSchema<{
|
|
2636
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2637
|
-
readonly error: v.StringSchema<undefined>;
|
|
2638
|
-
}, undefined>, v.ObjectSchema<{
|
|
2639
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2640
|
-
readonly error: v.StringSchema<undefined>;
|
|
2641
|
-
}, undefined>], undefined>;
|
|
1956
|
+
export declare type HideLoaderResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2642
1957
|
|
|
2643
1958
|
/**
|
|
2644
1959
|
* Result when hiding the loader.
|
|
@@ -2665,25 +1980,7 @@ export declare type HideLoaderResult = void;
|
|
|
2665
1980
|
*
|
|
2666
1981
|
* @public
|
|
2667
1982
|
*/
|
|
2668
|
-
export declare type HideRefreshButtonResponse =
|
|
2669
|
-
|
|
2670
|
-
/**
|
|
2671
|
-
* Valibot schema for {@link HideRefreshButtonResponse}.
|
|
2672
|
-
*
|
|
2673
|
-
* @group Modules
|
|
2674
|
-
* @category Container
|
|
2675
|
-
*
|
|
2676
|
-
* @public
|
|
2677
|
-
*/
|
|
2678
|
-
export declare const HideRefreshButtonResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
2679
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
2680
|
-
}, undefined>, v.ObjectSchema<{
|
|
2681
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
2682
|
-
readonly error: v.StringSchema<undefined>;
|
|
2683
|
-
}, undefined>, v.ObjectSchema<{
|
|
2684
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
2685
|
-
readonly error: v.StringSchema<undefined>;
|
|
2686
|
-
}, undefined>], undefined>;
|
|
1983
|
+
export declare type HideRefreshButtonResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
2687
1984
|
|
|
2688
1985
|
/**
|
|
2689
1986
|
* Result when hiding the refresh button.
|
|
@@ -3019,25 +2316,7 @@ export declare function isClientError<T extends SDKResponse>(response: T): respo
|
|
|
3019
2316
|
*
|
|
3020
2317
|
* @public
|
|
3021
2318
|
*/
|
|
3022
|
-
export declare type IsConnectedResponse =
|
|
3023
|
-
|
|
3024
|
-
/**
|
|
3025
|
-
* Valibot schema for {@link IsConnectedResponse}.
|
|
3026
|
-
*
|
|
3027
|
-
* @group Modules
|
|
3028
|
-
* @category Container
|
|
3029
|
-
*
|
|
3030
|
-
* @public
|
|
3031
|
-
*/
|
|
3032
|
-
export declare const IsConnectedResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3033
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
3034
|
-
readonly result: v.ObjectSchema<{
|
|
3035
|
-
readonly connected: v.BooleanSchema<undefined>;
|
|
3036
|
-
}, undefined>;
|
|
3037
|
-
}, undefined>, v.ObjectSchema<{
|
|
3038
|
-
readonly status_code: v.LiteralSchema<404, undefined>;
|
|
3039
|
-
readonly error: v.StringSchema<undefined>;
|
|
3040
|
-
}, undefined>], undefined>;
|
|
2319
|
+
export declare type IsConnectedResponse = SDKOkResponse<IsConnectedResult> | SDKErrorResponse<404>;
|
|
3041
2320
|
|
|
3042
2321
|
/**
|
|
3043
2322
|
* Result object containing the connection status.
|
|
@@ -3059,19 +2338,9 @@ export declare const IsConnectedResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
3059
2338
|
*
|
|
3060
2339
|
* @public
|
|
3061
2340
|
*/
|
|
3062
|
-
export declare type IsConnectedResult =
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
* Valibot schema for {@link IsConnectedResult}.
|
|
3066
|
-
*
|
|
3067
|
-
* @group Modules
|
|
3068
|
-
* @category Container
|
|
3069
|
-
*
|
|
3070
|
-
* @public
|
|
3071
|
-
*/
|
|
3072
|
-
export declare const IsConnectedResultSchema: v.ObjectSchema<{
|
|
3073
|
-
readonly connected: v.BooleanSchema<undefined>;
|
|
3074
|
-
}, undefined>;
|
|
2341
|
+
export declare type IsConnectedResult = {
|
|
2342
|
+
connected: boolean;
|
|
2343
|
+
};
|
|
3075
2344
|
|
|
3076
2345
|
/**
|
|
3077
2346
|
* Type guard to check if an SDK response has an error status code (`400`, `401`, `403`, `404`, `424`, `426`, `500`, `501`).
|
|
@@ -3113,35 +2382,7 @@ export declare function isError<T extends SDKResponse>(response: T): response is
|
|
|
3113
2382
|
*
|
|
3114
2383
|
* @public
|
|
3115
2384
|
*/
|
|
3116
|
-
export declare type IsEsimSupportedResponse =
|
|
3117
|
-
|
|
3118
|
-
/**
|
|
3119
|
-
* Valibot schema for {@link IsEsimSupportedResponse}.
|
|
3120
|
-
*
|
|
3121
|
-
* @group Modules
|
|
3122
|
-
* @category Device
|
|
3123
|
-
*
|
|
3124
|
-
* @public
|
|
3125
|
-
*/
|
|
3126
|
-
export declare const IsEsimSupportedResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3127
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
3128
|
-
readonly result: v.BooleanSchema<undefined>;
|
|
3129
|
-
}, undefined>, v.ObjectSchema<{
|
|
3130
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
3131
|
-
readonly error: v.StringSchema<undefined>;
|
|
3132
|
-
}, undefined>, v.ObjectSchema<{
|
|
3133
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
3134
|
-
readonly error: v.StringSchema<undefined>;
|
|
3135
|
-
}, undefined>, v.ObjectSchema<{
|
|
3136
|
-
readonly status_code: v.LiteralSchema<426, undefined>;
|
|
3137
|
-
readonly error: v.StringSchema<undefined>;
|
|
3138
|
-
}, undefined>, v.ObjectSchema<{
|
|
3139
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
3140
|
-
readonly error: v.StringSchema<undefined>;
|
|
3141
|
-
}, undefined>, v.ObjectSchema<{
|
|
3142
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
3143
|
-
readonly error: v.StringSchema<undefined>;
|
|
3144
|
-
}, undefined>], undefined>;
|
|
2385
|
+
export declare type IsEsimSupportedResponse = SDKOkResponse<IsEsimSupportedResult> | SDKErrorResponse<403> | SDKErrorResponse<424> | SDKErrorResponse<426> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
3145
2386
|
|
|
3146
2387
|
/**
|
|
3147
2388
|
* Result indicating whether the current device supports eSIM.
|
|
@@ -3161,17 +2402,7 @@ export declare const IsEsimSupportedResponseSchema: v.UnionSchema<[v.ObjectSchem
|
|
|
3161
2402
|
*
|
|
3162
2403
|
* @public
|
|
3163
2404
|
*/
|
|
3164
|
-
export declare type IsEsimSupportedResult =
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* Valibot schema for {@link IsEsimSupportedResult}.
|
|
3168
|
-
*
|
|
3169
|
-
* @group Modules
|
|
3170
|
-
* @category Device
|
|
3171
|
-
*
|
|
3172
|
-
* @public
|
|
3173
|
-
*/
|
|
3174
|
-
export declare const IsEsimSupportedResultSchema: v.BooleanSchema<undefined>;
|
|
2405
|
+
export declare type IsEsimSupportedResult = boolean;
|
|
3175
2406
|
|
|
3176
2407
|
/**
|
|
3177
2408
|
* Type guard to check if an SDK response has a `302` status code.
|
|
@@ -3770,29 +3001,7 @@ export declare class NetworkModule extends BaseModule {
|
|
|
3770
3001
|
*
|
|
3771
3002
|
* @public
|
|
3772
3003
|
*/
|
|
3773
|
-
export declare type ObserveDRMPlaybackResponse = SDKStream<
|
|
3774
|
-
|
|
3775
|
-
/**
|
|
3776
|
-
* @group Modules
|
|
3777
|
-
* @category Media
|
|
3778
|
-
*
|
|
3779
|
-
* @public
|
|
3780
|
-
*/
|
|
3781
|
-
export declare const ObserveDRMPlaybackResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3782
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
3783
|
-
readonly result: v.ObjectSchema<{
|
|
3784
|
-
readonly type: v.PicklistSchema<["START_PLAYBACK", "PROGRESS_PLAYBACK", "START_SEEK", "STOP_SEEK", "STOP_PLAYBACK", "CLOSE_PLAYBACK", "PAUSE_PLAYBACK", "RESUME_PLAYBACK", "FAST_FORWARD_PLAYBACK", "REWIND_PLAYBACK", "ERROR_PLAYBACK", "CHANGE_VOLUME"], undefined>;
|
|
3785
|
-
readonly titleId: v.StringSchema<undefined>;
|
|
3786
|
-
readonly position: v.NumberSchema<undefined>;
|
|
3787
|
-
readonly length: v.NumberSchema<undefined>;
|
|
3788
|
-
}, undefined>;
|
|
3789
|
-
}, undefined>, v.ObjectSchema<{
|
|
3790
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
3791
|
-
readonly error: v.StringSchema<undefined>;
|
|
3792
|
-
}, undefined>, v.ObjectSchema<{
|
|
3793
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
3794
|
-
readonly error: v.StringSchema<undefined>;
|
|
3795
|
-
}, undefined>], undefined>;
|
|
3004
|
+
export declare type ObserveDRMPlaybackResponse = SDKStream<SDKOkResponse<DRMPlaybackEvent> | SDKErrorResponse<500> | SDKErrorResponse<501>>;
|
|
3796
3005
|
|
|
3797
3006
|
/**
|
|
3798
3007
|
* Response when observing the device coordinates.
|
|
@@ -3805,11 +3014,11 @@ export declare const ObserveDRMPlaybackResponseSchema: v.UnionSchema<[v.ObjectSc
|
|
|
3805
3014
|
* - Subscribed to via `.subscribe()` for continuous updates
|
|
3806
3015
|
* - Awaited via `await` to get the first value only
|
|
3807
3016
|
*
|
|
3808
|
-
* The stream can emit
|
|
3017
|
+
* The stream can emit `200`, `400`, `403`, `424`, `500`, and `501` status codes.
|
|
3809
3018
|
*
|
|
3810
3019
|
* @public
|
|
3811
3020
|
*/
|
|
3812
|
-
export declare type ObserveLocationChangeResponse = SDKStream<
|
|
3021
|
+
export declare type ObserveLocationChangeResponse = SDKStream<SDKOkResponse<GetCoordinateResult> | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>>;
|
|
3813
3022
|
|
|
3814
3023
|
/**
|
|
3815
3024
|
* Response when notifying content loaded.
|
|
@@ -3826,28 +3035,7 @@ export declare type ObserveLocationChangeResponse = SDKStream<GetCoordinateRespo
|
|
|
3826
3035
|
*
|
|
3827
3036
|
* @public
|
|
3828
3037
|
*/
|
|
3829
|
-
export declare type OnContentLoadedResponse =
|
|
3830
|
-
|
|
3831
|
-
/**
|
|
3832
|
-
* Valibot schema for {@link OnContentLoadedResponse}.
|
|
3833
|
-
*
|
|
3834
|
-
* @group Modules
|
|
3835
|
-
* @category Container
|
|
3836
|
-
*
|
|
3837
|
-
* @public
|
|
3838
|
-
*/
|
|
3839
|
-
export declare const OnContentLoadedResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3840
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
3841
|
-
readonly result: v.BooleanSchema<undefined>;
|
|
3842
|
-
}, undefined>, v.ObjectSchema<{
|
|
3843
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
3844
|
-
}, undefined>, v.ObjectSchema<{
|
|
3845
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
3846
|
-
readonly error: v.StringSchema<undefined>;
|
|
3847
|
-
}, undefined>, v.ObjectSchema<{
|
|
3848
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
3849
|
-
readonly error: v.StringSchema<undefined>;
|
|
3850
|
-
}, undefined>], undefined>;
|
|
3038
|
+
export declare type OnContentLoadedResponse = SDKOkResponse<boolean> | SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
3851
3039
|
|
|
3852
3040
|
/**
|
|
3853
3041
|
* Result when notifying content loaded.
|
|
@@ -3889,26 +3077,7 @@ export declare type OnCtaTapRequest = string;
|
|
|
3889
3077
|
*
|
|
3890
3078
|
* @public
|
|
3891
3079
|
*/
|
|
3892
|
-
export declare type OnCtaTapResponse =
|
|
3893
|
-
|
|
3894
|
-
/**
|
|
3895
|
-
* Valibot schema for {@link OnCtaTapResponse}.
|
|
3896
|
-
*
|
|
3897
|
-
* @group Modules
|
|
3898
|
-
* @category Container
|
|
3899
|
-
*
|
|
3900
|
-
* @public
|
|
3901
|
-
*/
|
|
3902
|
-
export declare const OnCtaTapResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3903
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
3904
|
-
readonly result: v.BooleanSchema<undefined>;
|
|
3905
|
-
}, undefined>, v.ObjectSchema<{
|
|
3906
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
3907
|
-
readonly error: v.StringSchema<undefined>;
|
|
3908
|
-
}, undefined>, v.ObjectSchema<{
|
|
3909
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
3910
|
-
readonly error: v.StringSchema<undefined>;
|
|
3911
|
-
}, undefined>], undefined>;
|
|
3080
|
+
export declare type OnCtaTapResponse = SDKOkResponse<boolean> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
3912
3081
|
|
|
3913
3082
|
/**
|
|
3914
3083
|
* Result when notifying CTA tap.
|
|
@@ -3951,28 +3120,7 @@ export declare type OpenExternalLinkRequest = string;
|
|
|
3951
3120
|
*
|
|
3952
3121
|
* @public
|
|
3953
3122
|
*/
|
|
3954
|
-
export declare type OpenExternalLinkResponse =
|
|
3955
|
-
|
|
3956
|
-
/**
|
|
3957
|
-
* Valibot schema for {@link OpenExternalLinkResponse}.
|
|
3958
|
-
*
|
|
3959
|
-
* @group Modules
|
|
3960
|
-
* @category Container
|
|
3961
|
-
*
|
|
3962
|
-
* @public
|
|
3963
|
-
*/
|
|
3964
|
-
export declare const OpenExternalLinkResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
3965
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
3966
|
-
}, undefined>, v.ObjectSchema<{
|
|
3967
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
3968
|
-
readonly error: v.StringSchema<undefined>;
|
|
3969
|
-
}, undefined>, v.ObjectSchema<{
|
|
3970
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
3971
|
-
readonly error: v.StringSchema<undefined>;
|
|
3972
|
-
}, undefined>, v.ObjectSchema<{
|
|
3973
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
3974
|
-
readonly error: v.StringSchema<undefined>;
|
|
3975
|
-
}, undefined>], undefined>;
|
|
3123
|
+
export declare type OpenExternalLinkResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
3976
3124
|
|
|
3977
3125
|
/**
|
|
3978
3126
|
* Result when opening an external link.
|
|
@@ -4072,39 +3220,7 @@ export declare class PlatformModule extends BaseModule {
|
|
|
4072
3220
|
*
|
|
4073
3221
|
* @public
|
|
4074
3222
|
*/
|
|
4075
|
-
export declare type PlayDRMContentResponse =
|
|
4076
|
-
|
|
4077
|
-
/**
|
|
4078
|
-
* Valibot schema for {@link PlayDRMContentResponse}.
|
|
4079
|
-
*
|
|
4080
|
-
* @group Modules
|
|
4081
|
-
* @category Media
|
|
4082
|
-
*
|
|
4083
|
-
* @public
|
|
4084
|
-
*/
|
|
4085
|
-
export declare const PlayDRMContentResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4086
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
4087
|
-
readonly result: v.ObjectSchema<{
|
|
4088
|
-
readonly type: v.PicklistSchema<["START_PLAYBACK", "PROGRESS_PLAYBACK", "START_SEEK", "STOP_SEEK", "STOP_PLAYBACK", "CLOSE_PLAYBACK", "PAUSE_PLAYBACK", "RESUME_PLAYBACK", "FAST_FORWARD_PLAYBACK", "REWIND_PLAYBACK", "ERROR_PLAYBACK", "CHANGE_VOLUME"], undefined>;
|
|
4089
|
-
readonly titleId: v.StringSchema<undefined>;
|
|
4090
|
-
readonly position: v.NumberSchema<undefined>;
|
|
4091
|
-
readonly length: v.NumberSchema<undefined>;
|
|
4092
|
-
}, undefined>;
|
|
4093
|
-
}, undefined>, v.ObjectSchema<{
|
|
4094
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4095
|
-
}, undefined>, v.ObjectSchema<{
|
|
4096
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
4097
|
-
readonly error: v.StringSchema<undefined>;
|
|
4098
|
-
}, undefined>, v.ObjectSchema<{
|
|
4099
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
4100
|
-
readonly error: v.StringSchema<undefined>;
|
|
4101
|
-
}, undefined>, v.ObjectSchema<{
|
|
4102
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4103
|
-
readonly error: v.StringSchema<undefined>;
|
|
4104
|
-
}, undefined>, v.ObjectSchema<{
|
|
4105
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4106
|
-
readonly error: v.StringSchema<undefined>;
|
|
4107
|
-
}, undefined>], undefined>;
|
|
3223
|
+
export declare type PlayDRMContentResponse = SDKOkResponse<PlayDRMContentResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4108
3224
|
|
|
4109
3225
|
/**
|
|
4110
3226
|
* Result object for DRM content playback initiation.
|
|
@@ -4115,7 +3231,7 @@ export declare const PlayDRMContentResponseSchema: v.UnionSchema<[v.ObjectSchema
|
|
|
4115
3231
|
*
|
|
4116
3232
|
* @public
|
|
4117
3233
|
*/
|
|
4118
|
-
export declare type PlayDRMContentResult =
|
|
3234
|
+
export declare type PlayDRMContentResult = DRMPlaybackEvent;
|
|
4119
3235
|
|
|
4120
3236
|
/**
|
|
4121
3237
|
* SDK module for accessing user profile information via `JSBridge`.
|
|
@@ -4278,19 +3394,9 @@ export declare class ProfileModule extends BaseModule {
|
|
|
4278
3394
|
*
|
|
4279
3395
|
* @public
|
|
4280
3396
|
*/
|
|
4281
|
-
export declare type RedirectToSystemWebViewRequest =
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
* Valibot schema for {@link RedirectToSystemWebViewRequest}.
|
|
4285
|
-
*
|
|
4286
|
-
* @group Modules
|
|
4287
|
-
* @category System WebView Kit
|
|
4288
|
-
*
|
|
4289
|
-
* @public
|
|
4290
|
-
*/
|
|
4291
|
-
export declare const RedirectToSystemWebViewRequestSchema: v.ObjectSchema<{
|
|
4292
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4293
|
-
}, undefined>;
|
|
3397
|
+
export declare type RedirectToSystemWebViewRequest = {
|
|
3398
|
+
url: string;
|
|
3399
|
+
};
|
|
4294
3400
|
|
|
4295
3401
|
/**
|
|
4296
3402
|
* Response when redirecting to the system web view.
|
|
@@ -4308,43 +3414,17 @@ export declare const RedirectToSystemWebViewRequestSchema: v.ObjectSchema<{
|
|
|
4308
3414
|
*
|
|
4309
3415
|
* @public
|
|
4310
3416
|
*/
|
|
4311
|
-
export declare type RedirectToSystemWebViewResponse =
|
|
4312
|
-
|
|
4313
|
-
/**
|
|
4314
|
-
* Valibot schema for {@link RedirectToSystemWebViewResponse}.
|
|
4315
|
-
*
|
|
4316
|
-
* @group Modules
|
|
4317
|
-
* @category System WebView Kit
|
|
4318
|
-
*
|
|
4319
|
-
* @public
|
|
4320
|
-
*/
|
|
4321
|
-
export declare const RedirectToSystemWebViewResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4322
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
4323
|
-
readonly result: v.StringSchema<undefined>;
|
|
4324
|
-
}, undefined>, v.ObjectSchema<{
|
|
4325
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
4326
|
-
readonly error: v.StringSchema<undefined>;
|
|
4327
|
-
}, undefined>, v.ObjectSchema<{
|
|
4328
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
4329
|
-
readonly error: v.StringSchema<undefined>;
|
|
4330
|
-
}, undefined>, v.ObjectSchema<{
|
|
4331
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4332
|
-
readonly error: v.StringSchema<undefined>;
|
|
4333
|
-
}, undefined>, v.ObjectSchema<{
|
|
4334
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4335
|
-
readonly error: v.StringSchema<undefined>;
|
|
4336
|
-
}, undefined>], undefined>;
|
|
3417
|
+
export declare type RedirectToSystemWebViewResponse = SDKOkResponse<RedirectToSystemWebViewResult> | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4337
3418
|
|
|
4338
3419
|
/**
|
|
4339
|
-
* Result
|
|
4340
|
-
* This operation returns no data on success.
|
|
3420
|
+
* Result payload returned when redirecting to the system web view.
|
|
4341
3421
|
*
|
|
4342
3422
|
* @group Modules
|
|
4343
3423
|
* @category System WebView Kit
|
|
4344
3424
|
*
|
|
4345
3425
|
* @public
|
|
4346
3426
|
*/
|
|
4347
|
-
export declare type RedirectToSystemWebViewResult =
|
|
3427
|
+
export declare type RedirectToSystemWebViewResult = string;
|
|
4348
3428
|
|
|
4349
3429
|
/**
|
|
4350
3430
|
* Response when reloading consented scopes.
|
|
@@ -4361,28 +3441,7 @@ export declare type RedirectToSystemWebViewResult = void;
|
|
|
4361
3441
|
*
|
|
4362
3442
|
* @public
|
|
4363
3443
|
*/
|
|
4364
|
-
export declare type ReloadScopesResponse =
|
|
4365
|
-
|
|
4366
|
-
/**
|
|
4367
|
-
* Valibot schema for {@link ReloadScopesResponse}.
|
|
4368
|
-
*
|
|
4369
|
-
* @group Modules
|
|
4370
|
-
* @category Scope
|
|
4371
|
-
*
|
|
4372
|
-
* @public
|
|
4373
|
-
*/
|
|
4374
|
-
export declare const ReloadScopesResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4375
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4376
|
-
}, undefined>, v.ObjectSchema<{
|
|
4377
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
4378
|
-
readonly error: v.StringSchema<undefined>;
|
|
4379
|
-
}, undefined>, v.ObjectSchema<{
|
|
4380
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4381
|
-
readonly error: v.StringSchema<undefined>;
|
|
4382
|
-
}, undefined>, v.ObjectSchema<{
|
|
4383
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4384
|
-
readonly error: v.StringSchema<undefined>;
|
|
4385
|
-
}, undefined>], undefined>;
|
|
3444
|
+
export declare type ReloadScopesResponse = SDKNoContentResponse | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4386
3445
|
|
|
4387
3446
|
/**
|
|
4388
3447
|
* Result object for reloading scopes.
|
|
@@ -4410,28 +3469,7 @@ export declare type ReloadScopesResult = void;
|
|
|
4410
3469
|
*
|
|
4411
3470
|
* @public
|
|
4412
3471
|
*/
|
|
4413
|
-
export declare type RemoveAllResponse =
|
|
4414
|
-
|
|
4415
|
-
/**
|
|
4416
|
-
* Valibot schema for {@link RemoveAllResponse}.
|
|
4417
|
-
*
|
|
4418
|
-
* @group Modules
|
|
4419
|
-
* @category Storage
|
|
4420
|
-
*
|
|
4421
|
-
* @public
|
|
4422
|
-
*/
|
|
4423
|
-
export declare const RemoveAllResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4424
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4425
|
-
}, undefined>, v.ObjectSchema<{
|
|
4426
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
4427
|
-
readonly error: v.StringSchema<undefined>;
|
|
4428
|
-
}, undefined>, v.ObjectSchema<{
|
|
4429
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4430
|
-
readonly error: v.StringSchema<undefined>;
|
|
4431
|
-
}, undefined>, v.ObjectSchema<{
|
|
4432
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4433
|
-
readonly error: v.StringSchema<undefined>;
|
|
4434
|
-
}, undefined>], undefined>;
|
|
3472
|
+
export declare type RemoveAllResponse = SDKNoContentResponse | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4435
3473
|
|
|
4436
3474
|
/**
|
|
4437
3475
|
* Result object for removing all values.
|
|
@@ -4460,31 +3498,7 @@ export declare type RemoveAllResult = void;
|
|
|
4460
3498
|
*
|
|
4461
3499
|
* @public
|
|
4462
3500
|
*/
|
|
4463
|
-
export declare type RemoveResponse =
|
|
4464
|
-
|
|
4465
|
-
/**
|
|
4466
|
-
* Valibot schema for {@link RemoveResponse}.
|
|
4467
|
-
*
|
|
4468
|
-
* @group Modules
|
|
4469
|
-
* @category Storage
|
|
4470
|
-
*
|
|
4471
|
-
* @public
|
|
4472
|
-
*/
|
|
4473
|
-
export declare const RemoveResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4474
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4475
|
-
}, undefined>, v.ObjectSchema<{
|
|
4476
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
4477
|
-
readonly error: v.StringSchema<undefined>;
|
|
4478
|
-
}, undefined>, v.ObjectSchema<{
|
|
4479
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
4480
|
-
readonly error: v.StringSchema<undefined>;
|
|
4481
|
-
}, undefined>, v.ObjectSchema<{
|
|
4482
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4483
|
-
readonly error: v.StringSchema<undefined>;
|
|
4484
|
-
}, undefined>, v.ObjectSchema<{
|
|
4485
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4486
|
-
readonly error: v.StringSchema<undefined>;
|
|
4487
|
-
}, undefined>], undefined>;
|
|
3501
|
+
export declare type RemoveResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4488
3502
|
|
|
4489
3503
|
/**
|
|
4490
3504
|
* Result object for removing a value.
|
|
@@ -4517,19 +3531,9 @@ export declare type RemoveResult = void;
|
|
|
4517
3531
|
*
|
|
4518
3532
|
* @public
|
|
4519
3533
|
*/
|
|
4520
|
-
export declare type ScanQRCodeRequest =
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
* Valibot schema for {@link ScanQRCodeRequest}.
|
|
4524
|
-
*
|
|
4525
|
-
* @group Modules
|
|
4526
|
-
* @category Camera
|
|
4527
|
-
*
|
|
4528
|
-
* @public
|
|
4529
|
-
*/
|
|
4530
|
-
export declare const ScanQRCodeRequestSchema: v.ObjectSchema<{
|
|
4531
|
-
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4532
|
-
}, undefined>;
|
|
3534
|
+
export declare type ScanQRCodeRequest = {
|
|
3535
|
+
title?: string;
|
|
3536
|
+
};
|
|
4533
3537
|
|
|
4534
3538
|
/**
|
|
4535
3539
|
* Response when scanning a QR code.
|
|
@@ -4548,36 +3552,7 @@ export declare const ScanQRCodeRequestSchema: v.ObjectSchema<{
|
|
|
4548
3552
|
*
|
|
4549
3553
|
* @public
|
|
4550
3554
|
*/
|
|
4551
|
-
export declare type ScanQRCodeResponse =
|
|
4552
|
-
|
|
4553
|
-
/**
|
|
4554
|
-
* Valibot schema for {@link ScanQRCodeResponse}.
|
|
4555
|
-
*
|
|
4556
|
-
* @group Modules
|
|
4557
|
-
* @category Camera
|
|
4558
|
-
*
|
|
4559
|
-
* @public
|
|
4560
|
-
*/
|
|
4561
|
-
export declare const ScanQRCodeResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4562
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
4563
|
-
readonly result: v.ObjectSchema<{
|
|
4564
|
-
readonly qrCode: v.StringSchema<undefined>;
|
|
4565
|
-
}, undefined>;
|
|
4566
|
-
}, undefined>, v.ObjectSchema<{
|
|
4567
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4568
|
-
}, undefined>, v.ObjectSchema<{
|
|
4569
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
4570
|
-
readonly error: v.StringSchema<undefined>;
|
|
4571
|
-
}, undefined>, v.ObjectSchema<{
|
|
4572
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
4573
|
-
readonly error: v.StringSchema<undefined>;
|
|
4574
|
-
}, undefined>, v.ObjectSchema<{
|
|
4575
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4576
|
-
readonly error: v.StringSchema<undefined>;
|
|
4577
|
-
}, undefined>, v.ObjectSchema<{
|
|
4578
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4579
|
-
readonly error: v.StringSchema<undefined>;
|
|
4580
|
-
}, undefined>], undefined>;
|
|
3555
|
+
export declare type ScanQRCodeResponse = SDKOkResponse<ScanQRCodeResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4581
3556
|
|
|
4582
3557
|
/**
|
|
4583
3558
|
* Result object containing the scanned QR code data.
|
|
@@ -4592,19 +3567,9 @@ export declare const ScanQRCodeResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
4592
3567
|
*
|
|
4593
3568
|
* @public
|
|
4594
3569
|
*/
|
|
4595
|
-
export declare type ScanQRCodeResult =
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
* Valibot schema for {@link ScanQRCodeResult}.
|
|
4599
|
-
*
|
|
4600
|
-
* @group Modules
|
|
4601
|
-
* @category Camera
|
|
4602
|
-
*
|
|
4603
|
-
* @public
|
|
4604
|
-
*/
|
|
4605
|
-
export declare const ScanQRCodeResultSchema: v.ObjectSchema<{
|
|
4606
|
-
readonly qrCode: v.StringSchema<undefined>;
|
|
4607
|
-
}, undefined>;
|
|
3570
|
+
export declare type ScanQRCodeResult = {
|
|
3571
|
+
qrCode: string;
|
|
3572
|
+
};
|
|
4608
3573
|
|
|
4609
3574
|
/**
|
|
4610
3575
|
* SDK module for checking and refreshing API access permissions via `JSBridge`.
|
|
@@ -4870,21 +3835,11 @@ export declare type SDKStreamHandlers<T extends SDKResponse = SDKResponse> = Rea
|
|
|
4870
3835
|
*
|
|
4871
3836
|
* @public
|
|
4872
3837
|
*/
|
|
4873
|
-
export declare type SendAnalyticsEventRequest =
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
* @group Modules
|
|
4879
|
-
* @category Container
|
|
4880
|
-
*
|
|
4881
|
-
* @public
|
|
4882
|
-
*/
|
|
4883
|
-
export declare const SendAnalyticsEventRequestSchema: v.ObjectSchema<{
|
|
4884
|
-
readonly state: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
4885
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
4886
|
-
readonly data: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
4887
|
-
}, undefined>;
|
|
3838
|
+
export declare type SendAnalyticsEventRequest = {
|
|
3839
|
+
state: string;
|
|
3840
|
+
name: string;
|
|
3841
|
+
data?: Record<string, unknown>;
|
|
3842
|
+
};
|
|
4888
3843
|
|
|
4889
3844
|
/**
|
|
4890
3845
|
* Response when sending analytics events.
|
|
@@ -4901,28 +3856,7 @@ export declare const SendAnalyticsEventRequestSchema: v.ObjectSchema<{
|
|
|
4901
3856
|
*
|
|
4902
3857
|
* @public
|
|
4903
3858
|
*/
|
|
4904
|
-
export declare type SendAnalyticsEventResponse =
|
|
4905
|
-
|
|
4906
|
-
/**
|
|
4907
|
-
* Valibot schema for {@link SendAnalyticsEventResponse}.
|
|
4908
|
-
*
|
|
4909
|
-
* @group Modules
|
|
4910
|
-
* @category Container
|
|
4911
|
-
*
|
|
4912
|
-
* @public
|
|
4913
|
-
*/
|
|
4914
|
-
export declare const SendAnalyticsEventResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
4915
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
4916
|
-
}, undefined>, v.ObjectSchema<{
|
|
4917
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
4918
|
-
readonly error: v.StringSchema<undefined>;
|
|
4919
|
-
}, undefined>, v.ObjectSchema<{
|
|
4920
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
4921
|
-
readonly error: v.StringSchema<undefined>;
|
|
4922
|
-
}, undefined>, v.ObjectSchema<{
|
|
4923
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
4924
|
-
readonly error: v.StringSchema<undefined>;
|
|
4925
|
-
}, undefined>], undefined>;
|
|
3859
|
+
export declare type SendAnalyticsEventResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
4926
3860
|
|
|
4927
3861
|
/**
|
|
4928
3862
|
* Result when sending analytics events.
|
|
@@ -4975,33 +3909,14 @@ export declare type SendAnalyticsEventResult = void;
|
|
|
4975
3909
|
*
|
|
4976
3910
|
* @public
|
|
4977
3911
|
*/
|
|
4978
|
-
export declare type SendRequest =
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
* @remarks
|
|
4987
|
-
* This schema defines the structure of a network request with the following properties:
|
|
4988
|
-
* - `endpoint`: API endpoint URL to send the request to
|
|
4989
|
-
* - `method`: HTTP method (e.g., 'GET', 'POST', 'PUT', 'DELETE')
|
|
4990
|
-
* - `headers`: Optional HTTP headers to include in the request
|
|
4991
|
-
* - `query`: Optional query parameters to append to the URL
|
|
4992
|
-
* - `body`: Optional request body data
|
|
4993
|
-
* - `timeout`: Optional timeout in seconds (default is 60 seconds)
|
|
4994
|
-
*
|
|
4995
|
-
* @public
|
|
4996
|
-
*/
|
|
4997
|
-
export declare const SendRequestSchema: v.ObjectSchema<{
|
|
4998
|
-
readonly endpoint: v.StringSchema<undefined>;
|
|
4999
|
-
readonly method: v.PicklistSchema<["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"], undefined>;
|
|
5000
|
-
readonly headers: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
5001
|
-
readonly query: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
5002
|
-
readonly body: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
5003
|
-
readonly timeout: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
5004
|
-
}, undefined>;
|
|
3912
|
+
export declare type SendRequest = {
|
|
3913
|
+
body?: unknown;
|
|
3914
|
+
endpoint: string;
|
|
3915
|
+
headers?: Record<string, string>;
|
|
3916
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
3917
|
+
query?: Record<string, string>;
|
|
3918
|
+
timeout?: number;
|
|
3919
|
+
};
|
|
5005
3920
|
|
|
5006
3921
|
/**
|
|
5007
3922
|
* Response when sending a network request.
|
|
@@ -5018,46 +3933,7 @@ export declare const SendRequestSchema: v.ObjectSchema<{
|
|
|
5018
3933
|
*
|
|
5019
3934
|
* @public
|
|
5020
3935
|
*/
|
|
5021
|
-
export declare type SendResponse =
|
|
5022
|
-
|
|
5023
|
-
/**
|
|
5024
|
-
* Valibot schema for {@link SendResponse}.
|
|
5025
|
-
*
|
|
5026
|
-
* @group Modules
|
|
5027
|
-
* @category Network
|
|
5028
|
-
*
|
|
5029
|
-
* @public
|
|
5030
|
-
*/
|
|
5031
|
-
export declare const SendResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5032
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
5033
|
-
readonly result: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
5034
|
-
}, undefined>, v.ObjectSchema<{
|
|
5035
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5036
|
-
}, undefined>, v.ObjectSchema<{
|
|
5037
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5038
|
-
readonly error: v.StringSchema<undefined>;
|
|
5039
|
-
}, undefined>, v.ObjectSchema<{
|
|
5040
|
-
readonly status_code: v.LiteralSchema<401, undefined>;
|
|
5041
|
-
readonly error: v.StringSchema<undefined>;
|
|
5042
|
-
}, undefined>, v.ObjectSchema<{
|
|
5043
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
5044
|
-
readonly error: v.StringSchema<undefined>;
|
|
5045
|
-
}, undefined>, v.ObjectSchema<{
|
|
5046
|
-
readonly status_code: v.LiteralSchema<404, undefined>;
|
|
5047
|
-
readonly error: v.StringSchema<undefined>;
|
|
5048
|
-
}, undefined>, v.ObjectSchema<{
|
|
5049
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
5050
|
-
readonly error: v.StringSchema<undefined>;
|
|
5051
|
-
}, undefined>, v.ObjectSchema<{
|
|
5052
|
-
readonly status_code: v.LiteralSchema<426, undefined>;
|
|
5053
|
-
readonly error: v.StringSchema<undefined>;
|
|
5054
|
-
}, undefined>, v.ObjectSchema<{
|
|
5055
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5056
|
-
readonly error: v.StringSchema<undefined>;
|
|
5057
|
-
}, undefined>, v.ObjectSchema<{
|
|
5058
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5059
|
-
readonly error: v.StringSchema<undefined>;
|
|
5060
|
-
}, undefined>], undefined>;
|
|
3936
|
+
export declare type SendResponse = SDKOkResponse<SendResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<401> | SDKErrorResponse<403> | SDKErrorResponse<404> | SDKErrorResponse<424> | SDKErrorResponse<426> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5061
3937
|
|
|
5062
3938
|
/**
|
|
5063
3939
|
* Result object containing the network response data.
|
|
@@ -5072,17 +3948,7 @@ export declare const SendResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
5072
3948
|
*
|
|
5073
3949
|
* @public
|
|
5074
3950
|
*/
|
|
5075
|
-
export declare type SendResult =
|
|
5076
|
-
|
|
5077
|
-
/**
|
|
5078
|
-
* Valibot schema for {@link SendResult}.
|
|
5079
|
-
*
|
|
5080
|
-
* @group Modules
|
|
5081
|
-
* @category Network
|
|
5082
|
-
*
|
|
5083
|
-
* @public
|
|
5084
|
-
*/
|
|
5085
|
-
export declare const SendResultSchema: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
3951
|
+
export declare type SendResult = Record<string, unknown>;
|
|
5086
3952
|
|
|
5087
3953
|
/**
|
|
5088
3954
|
* Request parameters for setting the background color.
|
|
@@ -5114,28 +3980,7 @@ export declare type SetBackgroundColorRequest = string;
|
|
|
5114
3980
|
*
|
|
5115
3981
|
* @public
|
|
5116
3982
|
*/
|
|
5117
|
-
export declare type SetBackgroundColorResponse =
|
|
5118
|
-
|
|
5119
|
-
/**
|
|
5120
|
-
* Valibot schema for {@link SetBackgroundColorResponse}.
|
|
5121
|
-
*
|
|
5122
|
-
* @group Modules
|
|
5123
|
-
* @category Container
|
|
5124
|
-
*
|
|
5125
|
-
* @public
|
|
5126
|
-
*/
|
|
5127
|
-
export declare const SetBackgroundColorResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5128
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5129
|
-
}, undefined>, v.ObjectSchema<{
|
|
5130
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5131
|
-
readonly error: v.StringSchema<undefined>;
|
|
5132
|
-
}, undefined>, v.ObjectSchema<{
|
|
5133
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5134
|
-
readonly error: v.StringSchema<undefined>;
|
|
5135
|
-
}, undefined>, v.ObjectSchema<{
|
|
5136
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5137
|
-
readonly error: v.StringSchema<undefined>;
|
|
5138
|
-
}, undefined>], undefined>;
|
|
3983
|
+
export declare type SetBackgroundColorResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5139
3984
|
|
|
5140
3985
|
/**
|
|
5141
3986
|
* Result when setting the background color.
|
|
@@ -5161,20 +4006,10 @@ export declare type SetBackgroundColorResult = void;
|
|
|
5161
4006
|
*
|
|
5162
4007
|
* @public
|
|
5163
4008
|
*/
|
|
5164
|
-
export declare type SetBooleanRequest =
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
*
|
|
5169
|
-
* @group Modules
|
|
5170
|
-
* @category Storage
|
|
5171
|
-
*
|
|
5172
|
-
* @public
|
|
5173
|
-
*/
|
|
5174
|
-
export declare const SetBooleanRequestSchema: v.ObjectSchema<{
|
|
5175
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5176
|
-
readonly value: v.BooleanSchema<undefined>;
|
|
5177
|
-
}, undefined>;
|
|
4009
|
+
export declare type SetBooleanRequest = {
|
|
4010
|
+
key: string;
|
|
4011
|
+
value: boolean;
|
|
4012
|
+
};
|
|
5178
4013
|
|
|
5179
4014
|
/**
|
|
5180
4015
|
* Response when setting a boolean value.
|
|
@@ -5192,31 +4027,7 @@ export declare const SetBooleanRequestSchema: v.ObjectSchema<{
|
|
|
5192
4027
|
*
|
|
5193
4028
|
* @public
|
|
5194
4029
|
*/
|
|
5195
|
-
export declare type SetBooleanResponse =
|
|
5196
|
-
|
|
5197
|
-
/**
|
|
5198
|
-
* Valibot schema for {@link SetBooleanResponse}.
|
|
5199
|
-
*
|
|
5200
|
-
* @group Modules
|
|
5201
|
-
* @category Storage
|
|
5202
|
-
*
|
|
5203
|
-
* @public
|
|
5204
|
-
*/
|
|
5205
|
-
export declare const SetBooleanResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5206
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5207
|
-
}, undefined>, v.ObjectSchema<{
|
|
5208
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5209
|
-
readonly error: v.StringSchema<undefined>;
|
|
5210
|
-
}, undefined>, v.ObjectSchema<{
|
|
5211
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
5212
|
-
readonly error: v.StringSchema<undefined>;
|
|
5213
|
-
}, undefined>, v.ObjectSchema<{
|
|
5214
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5215
|
-
readonly error: v.StringSchema<undefined>;
|
|
5216
|
-
}, undefined>, v.ObjectSchema<{
|
|
5217
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5218
|
-
readonly error: v.StringSchema<undefined>;
|
|
5219
|
-
}, undefined>], undefined>;
|
|
4030
|
+
export declare type SetBooleanResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5220
4031
|
|
|
5221
4032
|
/**
|
|
5222
4033
|
* Result object for setting a boolean value.
|
|
@@ -5242,20 +4053,10 @@ export declare type SetBooleanResult = void;
|
|
|
5242
4053
|
*
|
|
5243
4054
|
* @public
|
|
5244
4055
|
*/
|
|
5245
|
-
export declare type SetDoubleRequest =
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
*
|
|
5250
|
-
* @group Modules
|
|
5251
|
-
* @category Storage
|
|
5252
|
-
*
|
|
5253
|
-
* @public
|
|
5254
|
-
*/
|
|
5255
|
-
export declare const SetDoubleRequestSchema: v.ObjectSchema<{
|
|
5256
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5257
|
-
readonly value: v.NumberSchema<undefined>;
|
|
5258
|
-
}, undefined>;
|
|
4056
|
+
export declare type SetDoubleRequest = {
|
|
4057
|
+
key: string;
|
|
4058
|
+
value: number;
|
|
4059
|
+
};
|
|
5259
4060
|
|
|
5260
4061
|
/**
|
|
5261
4062
|
* Response when setting a double value.
|
|
@@ -5273,31 +4074,7 @@ export declare const SetDoubleRequestSchema: v.ObjectSchema<{
|
|
|
5273
4074
|
*
|
|
5274
4075
|
* @public
|
|
5275
4076
|
*/
|
|
5276
|
-
export declare type SetDoubleResponse =
|
|
5277
|
-
|
|
5278
|
-
/**
|
|
5279
|
-
* Valibot schema for {@link SetDoubleResponse}.
|
|
5280
|
-
*
|
|
5281
|
-
* @group Modules
|
|
5282
|
-
* @category Storage
|
|
5283
|
-
*
|
|
5284
|
-
* @public
|
|
5285
|
-
*/
|
|
5286
|
-
export declare const SetDoubleResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5287
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5288
|
-
}, undefined>, v.ObjectSchema<{
|
|
5289
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5290
|
-
readonly error: v.StringSchema<undefined>;
|
|
5291
|
-
}, undefined>, v.ObjectSchema<{
|
|
5292
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
5293
|
-
readonly error: v.StringSchema<undefined>;
|
|
5294
|
-
}, undefined>, v.ObjectSchema<{
|
|
5295
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5296
|
-
readonly error: v.StringSchema<undefined>;
|
|
5297
|
-
}, undefined>, v.ObjectSchema<{
|
|
5298
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5299
|
-
readonly error: v.StringSchema<undefined>;
|
|
5300
|
-
}, undefined>], undefined>;
|
|
4077
|
+
export declare type SetDoubleResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5301
4078
|
|
|
5302
4079
|
/**
|
|
5303
4080
|
* Result object for setting a double value.
|
|
@@ -5323,20 +4100,10 @@ export declare type SetDoubleResult = void;
|
|
|
5323
4100
|
*
|
|
5324
4101
|
* @public
|
|
5325
4102
|
*/
|
|
5326
|
-
export declare type SetIntRequest =
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
*
|
|
5331
|
-
* @group Modules
|
|
5332
|
-
* @category Storage
|
|
5333
|
-
*
|
|
5334
|
-
* @public
|
|
5335
|
-
*/
|
|
5336
|
-
export declare const SetIntRequestSchema: v.ObjectSchema<{
|
|
5337
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5338
|
-
readonly value: v.NumberSchema<undefined>;
|
|
5339
|
-
}, undefined>;
|
|
4103
|
+
export declare type SetIntRequest = {
|
|
4104
|
+
key: string;
|
|
4105
|
+
value: number;
|
|
4106
|
+
};
|
|
5340
4107
|
|
|
5341
4108
|
/**
|
|
5342
4109
|
* Response when setting an integer value.
|
|
@@ -5354,31 +4121,7 @@ export declare const SetIntRequestSchema: v.ObjectSchema<{
|
|
|
5354
4121
|
*
|
|
5355
4122
|
* @public
|
|
5356
4123
|
*/
|
|
5357
|
-
export declare type SetIntResponse =
|
|
5358
|
-
|
|
5359
|
-
/**
|
|
5360
|
-
* Valibot schema for {@link SetIntResponse}.
|
|
5361
|
-
*
|
|
5362
|
-
* @group Modules
|
|
5363
|
-
* @category Storage
|
|
5364
|
-
*
|
|
5365
|
-
* @public
|
|
5366
|
-
*/
|
|
5367
|
-
export declare const SetIntResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5368
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5369
|
-
}, undefined>, v.ObjectSchema<{
|
|
5370
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5371
|
-
readonly error: v.StringSchema<undefined>;
|
|
5372
|
-
}, undefined>, v.ObjectSchema<{
|
|
5373
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
5374
|
-
readonly error: v.StringSchema<undefined>;
|
|
5375
|
-
}, undefined>, v.ObjectSchema<{
|
|
5376
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5377
|
-
readonly error: v.StringSchema<undefined>;
|
|
5378
|
-
}, undefined>, v.ObjectSchema<{
|
|
5379
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5380
|
-
readonly error: v.StringSchema<undefined>;
|
|
5381
|
-
}, undefined>], undefined>;
|
|
4124
|
+
export declare type SetIntResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5382
4125
|
|
|
5383
4126
|
/**
|
|
5384
4127
|
* Result object for setting an integer value.
|
|
@@ -5404,20 +4147,10 @@ export declare type SetIntResult = void;
|
|
|
5404
4147
|
*
|
|
5405
4148
|
* @public
|
|
5406
4149
|
*/
|
|
5407
|
-
export declare type SetStringRequest =
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
*
|
|
5412
|
-
* @group Modules
|
|
5413
|
-
* @category Storage
|
|
5414
|
-
*
|
|
5415
|
-
* @public
|
|
5416
|
-
*/
|
|
5417
|
-
export declare const SetStringRequestSchema: v.ObjectSchema<{
|
|
5418
|
-
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5419
|
-
readonly value: v.StringSchema<undefined>;
|
|
5420
|
-
}, undefined>;
|
|
4150
|
+
export declare type SetStringRequest = {
|
|
4151
|
+
key: string;
|
|
4152
|
+
value: string;
|
|
4153
|
+
};
|
|
5421
4154
|
|
|
5422
4155
|
/**
|
|
5423
4156
|
* Response when setting a string value.
|
|
@@ -5435,31 +4168,7 @@ export declare const SetStringRequestSchema: v.ObjectSchema<{
|
|
|
5435
4168
|
*
|
|
5436
4169
|
* @public
|
|
5437
4170
|
*/
|
|
5438
|
-
export declare type SetStringResponse =
|
|
5439
|
-
|
|
5440
|
-
/**
|
|
5441
|
-
* Valibot schema for {@link SetStringResponse}.
|
|
5442
|
-
*
|
|
5443
|
-
* @group Modules
|
|
5444
|
-
* @category Storage
|
|
5445
|
-
*
|
|
5446
|
-
* @public
|
|
5447
|
-
*/
|
|
5448
|
-
export declare const SetStringResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5449
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5450
|
-
}, undefined>, v.ObjectSchema<{
|
|
5451
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5452
|
-
readonly error: v.StringSchema<undefined>;
|
|
5453
|
-
}, undefined>, v.ObjectSchema<{
|
|
5454
|
-
readonly status_code: v.LiteralSchema<424, undefined>;
|
|
5455
|
-
readonly error: v.StringSchema<undefined>;
|
|
5456
|
-
}, undefined>, v.ObjectSchema<{
|
|
5457
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5458
|
-
readonly error: v.StringSchema<undefined>;
|
|
5459
|
-
}, undefined>, v.ObjectSchema<{
|
|
5460
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5461
|
-
readonly error: v.StringSchema<undefined>;
|
|
5462
|
-
}, undefined>], undefined>;
|
|
4171
|
+
export declare type SetStringResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<424> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5463
4172
|
|
|
5464
4173
|
/**
|
|
5465
4174
|
* Result object for setting a string value.
|
|
@@ -5502,28 +4211,7 @@ export declare type SetTitleRequest = string;
|
|
|
5502
4211
|
*
|
|
5503
4212
|
* @public
|
|
5504
4213
|
*/
|
|
5505
|
-
export declare type SetTitleResponse =
|
|
5506
|
-
|
|
5507
|
-
/**
|
|
5508
|
-
* Valibot schema for {@link SetTitleResponse}.
|
|
5509
|
-
*
|
|
5510
|
-
* @group Modules
|
|
5511
|
-
* @category Container
|
|
5512
|
-
*
|
|
5513
|
-
* @public
|
|
5514
|
-
*/
|
|
5515
|
-
export declare const SetTitleResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5516
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5517
|
-
}, undefined>, v.ObjectSchema<{
|
|
5518
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
5519
|
-
readonly error: v.StringSchema<undefined>;
|
|
5520
|
-
}, undefined>, v.ObjectSchema<{
|
|
5521
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5522
|
-
readonly error: v.StringSchema<undefined>;
|
|
5523
|
-
}, undefined>, v.ObjectSchema<{
|
|
5524
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5525
|
-
readonly error: v.StringSchema<undefined>;
|
|
5526
|
-
}, undefined>], undefined>;
|
|
4214
|
+
export declare type SetTitleResponse = SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5527
4215
|
|
|
5528
4216
|
/**
|
|
5529
4217
|
* Result when setting the title.
|
|
@@ -5550,25 +4238,7 @@ export declare type SetTitleResult = void;
|
|
|
5550
4238
|
*
|
|
5551
4239
|
* @public
|
|
5552
4240
|
*/
|
|
5553
|
-
export declare type ShowBackButtonResponse =
|
|
5554
|
-
|
|
5555
|
-
/**
|
|
5556
|
-
* Valibot schema for {@link ShowBackButtonResponse}.
|
|
5557
|
-
*
|
|
5558
|
-
* @group Modules
|
|
5559
|
-
* @category Container
|
|
5560
|
-
*
|
|
5561
|
-
* @public
|
|
5562
|
-
*/
|
|
5563
|
-
export declare const ShowBackButtonResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5564
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5565
|
-
}, undefined>, v.ObjectSchema<{
|
|
5566
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5567
|
-
readonly error: v.StringSchema<undefined>;
|
|
5568
|
-
}, undefined>, v.ObjectSchema<{
|
|
5569
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5570
|
-
readonly error: v.StringSchema<undefined>;
|
|
5571
|
-
}, undefined>], undefined>;
|
|
4241
|
+
export declare type ShowBackButtonResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5572
4242
|
|
|
5573
4243
|
/**
|
|
5574
4244
|
* Result when showing the back button.
|
|
@@ -5595,25 +4265,7 @@ export declare type ShowBackButtonResult = void;
|
|
|
5595
4265
|
*
|
|
5596
4266
|
* @public
|
|
5597
4267
|
*/
|
|
5598
|
-
export declare type ShowLoaderResponse =
|
|
5599
|
-
|
|
5600
|
-
/**
|
|
5601
|
-
* Valibot schema for {@link ShowLoaderResponse}.
|
|
5602
|
-
*
|
|
5603
|
-
* @group Modules
|
|
5604
|
-
* @category Container
|
|
5605
|
-
*
|
|
5606
|
-
* @public
|
|
5607
|
-
*/
|
|
5608
|
-
export declare const ShowLoaderResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5609
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5610
|
-
}, undefined>, v.ObjectSchema<{
|
|
5611
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5612
|
-
readonly error: v.StringSchema<undefined>;
|
|
5613
|
-
}, undefined>, v.ObjectSchema<{
|
|
5614
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5615
|
-
readonly error: v.StringSchema<undefined>;
|
|
5616
|
-
}, undefined>], undefined>;
|
|
4268
|
+
export declare type ShowLoaderResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5617
4269
|
|
|
5618
4270
|
/**
|
|
5619
4271
|
* Result when showing the loader.
|
|
@@ -5640,25 +4292,7 @@ export declare type ShowLoaderResult = void;
|
|
|
5640
4292
|
*
|
|
5641
4293
|
* @public
|
|
5642
4294
|
*/
|
|
5643
|
-
export declare type ShowRefreshButtonResponse =
|
|
5644
|
-
|
|
5645
|
-
/**
|
|
5646
|
-
* Valibot schema for {@link ShowRefreshButtonResponse}.
|
|
5647
|
-
*
|
|
5648
|
-
* @group Modules
|
|
5649
|
-
* @category Container
|
|
5650
|
-
*
|
|
5651
|
-
* @public
|
|
5652
|
-
*/
|
|
5653
|
-
export declare const ShowRefreshButtonResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
5654
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
5655
|
-
}, undefined>, v.ObjectSchema<{
|
|
5656
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
5657
|
-
readonly error: v.StringSchema<undefined>;
|
|
5658
|
-
}, undefined>, v.ObjectSchema<{
|
|
5659
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
5660
|
-
readonly error: v.StringSchema<undefined>;
|
|
5661
|
-
}, undefined>], undefined>;
|
|
4295
|
+
export declare type ShowRefreshButtonResponse = SDKNoContentResponse | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
5662
4296
|
|
|
5663
4297
|
/**
|
|
5664
4298
|
* Result when showing the refresh button.
|
|
@@ -6218,20 +4852,7 @@ export declare class SystemWebViewKitModule extends BaseModule {
|
|
|
6218
4852
|
*
|
|
6219
4853
|
* @public
|
|
6220
4854
|
*/
|
|
6221
|
-
export declare type TriggerCheckoutRequest =
|
|
6222
|
-
|
|
6223
|
-
/**
|
|
6224
|
-
* Valibot schema for {@link TriggerCheckoutRequest}.
|
|
6225
|
-
*
|
|
6226
|
-
* @group Modules
|
|
6227
|
-
* @category Checkout
|
|
6228
|
-
*
|
|
6229
|
-
* @remarks
|
|
6230
|
-
* The checkout parameters vary depending on the specific payment flow and partner requirements.
|
|
6231
|
-
*
|
|
6232
|
-
* @public
|
|
6233
|
-
*/
|
|
6234
|
-
export declare const TriggerCheckoutRequestSchema: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
4855
|
+
export declare type TriggerCheckoutRequest = Record<string, unknown>;
|
|
6235
4856
|
|
|
6236
4857
|
/**
|
|
6237
4858
|
* Response when triggering the checkout flow.
|
|
@@ -6248,42 +4869,7 @@ export declare const TriggerCheckoutRequestSchema: v.RecordSchema<v.StringSchema
|
|
|
6248
4869
|
*
|
|
6249
4870
|
* @public
|
|
6250
4871
|
*/
|
|
6251
|
-
export declare type TriggerCheckoutResponse =
|
|
6252
|
-
|
|
6253
|
-
/**
|
|
6254
|
-
* Valibot schema for {@link TriggerCheckoutResponse}.
|
|
6255
|
-
*
|
|
6256
|
-
* @group Modules
|
|
6257
|
-
* @category Checkout
|
|
6258
|
-
*
|
|
6259
|
-
* @public
|
|
6260
|
-
*/
|
|
6261
|
-
export declare const TriggerCheckoutResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
6262
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
6263
|
-
readonly result: v.VariantSchema<"status", [v.ObjectSchema<{
|
|
6264
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
6265
|
-
readonly transactionID: v.StringSchema<undefined>;
|
|
6266
|
-
}, undefined>, v.ObjectSchema<{
|
|
6267
|
-
readonly status: v.LiteralSchema<"failure", undefined>;
|
|
6268
|
-
readonly transactionID: v.StringSchema<undefined>;
|
|
6269
|
-
readonly errorMessage: v.StringSchema<undefined>;
|
|
6270
|
-
readonly errorCode: v.StringSchema<undefined>;
|
|
6271
|
-
}, undefined>, v.ObjectSchema<{
|
|
6272
|
-
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
6273
|
-
readonly transactionID: v.StringSchema<undefined>;
|
|
6274
|
-
}, undefined>, v.ObjectSchema<{
|
|
6275
|
-
readonly status: v.LiteralSchema<"userInitiatedCancel", undefined>;
|
|
6276
|
-
}, undefined>], undefined>;
|
|
6277
|
-
}, undefined>, v.ObjectSchema<{
|
|
6278
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
6279
|
-
readonly error: v.StringSchema<undefined>;
|
|
6280
|
-
}, undefined>, v.ObjectSchema<{
|
|
6281
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
6282
|
-
readonly error: v.StringSchema<undefined>;
|
|
6283
|
-
}, undefined>, v.ObjectSchema<{
|
|
6284
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
6285
|
-
readonly error: v.StringSchema<undefined>;
|
|
6286
|
-
}, undefined>], undefined>;
|
|
4872
|
+
export declare type TriggerCheckoutResponse = SDKOkResponse<TriggerCheckoutResult> | SDKErrorResponse<400> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
6287
4873
|
|
|
6288
4874
|
/**
|
|
6289
4875
|
* Result object containing the checkout transaction details.
|
|
@@ -6336,30 +4922,20 @@ export declare const TriggerCheckoutResponseSchema: v.UnionSchema<[v.ObjectSchem
|
|
|
6336
4922
|
*
|
|
6337
4923
|
* @public
|
|
6338
4924
|
*/
|
|
6339
|
-
export declare type TriggerCheckoutResult =
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
}
|
|
6353
|
-
readonly status: v.LiteralSchema<"failure", undefined>;
|
|
6354
|
-
readonly transactionID: v.StringSchema<undefined>;
|
|
6355
|
-
readonly errorMessage: v.StringSchema<undefined>;
|
|
6356
|
-
readonly errorCode: v.StringSchema<undefined>;
|
|
6357
|
-
}, undefined>, v.ObjectSchema<{
|
|
6358
|
-
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
6359
|
-
readonly transactionID: v.StringSchema<undefined>;
|
|
6360
|
-
}, undefined>, v.ObjectSchema<{
|
|
6361
|
-
readonly status: v.LiteralSchema<"userInitiatedCancel", undefined>;
|
|
6362
|
-
}, undefined>], undefined>;
|
|
4925
|
+
export declare type TriggerCheckoutResult = {
|
|
4926
|
+
status: 'success';
|
|
4927
|
+
transactionID: string;
|
|
4928
|
+
} | {
|
|
4929
|
+
status: 'failure';
|
|
4930
|
+
transactionID: string;
|
|
4931
|
+
errorMessage: string;
|
|
4932
|
+
errorCode: string;
|
|
4933
|
+
} | {
|
|
4934
|
+
status: 'pending';
|
|
4935
|
+
transactionID: string;
|
|
4936
|
+
} | {
|
|
4937
|
+
status: 'userInitiatedCancel';
|
|
4938
|
+
};
|
|
6363
4939
|
|
|
6364
4940
|
/**
|
|
6365
4941
|
* SDK module for reading user-related attributes from native code via `JSBridge`.
|
|
@@ -6450,20 +5026,10 @@ export declare class UserAttributesModule extends BaseModule {
|
|
|
6450
5026
|
*
|
|
6451
5027
|
* @public
|
|
6452
5028
|
*/
|
|
6453
|
-
export declare type VerifyEmailRequest =
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
*
|
|
6458
|
-
* @group Modules
|
|
6459
|
-
* @category Profile
|
|
6460
|
-
*
|
|
6461
|
-
* @public
|
|
6462
|
-
*/
|
|
6463
|
-
export declare const VerifyEmailRequestSchema: v.ObjectSchema<{
|
|
6464
|
-
readonly email: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
6465
|
-
readonly skipUserInput: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6466
|
-
}, undefined>;
|
|
5029
|
+
export declare type VerifyEmailRequest = {
|
|
5030
|
+
email?: string;
|
|
5031
|
+
skipUserInput?: boolean;
|
|
5032
|
+
};
|
|
6467
5033
|
|
|
6468
5034
|
/**
|
|
6469
5035
|
* Response when verifying the user's email.
|
|
@@ -6498,39 +5064,7 @@ export declare const VerifyEmailRequestSchema: v.ObjectSchema<{
|
|
|
6498
5064
|
*
|
|
6499
5065
|
* @public
|
|
6500
5066
|
*/
|
|
6501
|
-
export declare type VerifyEmailResponse =
|
|
6502
|
-
|
|
6503
|
-
/**
|
|
6504
|
-
* Valibot schema for {@link VerifyEmailResponse}.
|
|
6505
|
-
*
|
|
6506
|
-
* @group Modules
|
|
6507
|
-
* @category Profile
|
|
6508
|
-
*
|
|
6509
|
-
* @public
|
|
6510
|
-
*/
|
|
6511
|
-
export declare const VerifyEmailResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
6512
|
-
readonly status_code: v.LiteralSchema<200, undefined>;
|
|
6513
|
-
readonly result: v.ObjectSchema<{
|
|
6514
|
-
readonly email: v.StringSchema<undefined>;
|
|
6515
|
-
}, undefined>;
|
|
6516
|
-
}, undefined>, v.ObjectSchema<{
|
|
6517
|
-
readonly status_code: v.LiteralSchema<204, undefined>;
|
|
6518
|
-
}, undefined>, v.ObjectSchema<{
|
|
6519
|
-
readonly status_code: v.LiteralSchema<400, undefined>;
|
|
6520
|
-
readonly error: v.StringSchema<undefined>;
|
|
6521
|
-
}, undefined>, v.ObjectSchema<{
|
|
6522
|
-
readonly status_code: v.LiteralSchema<403, undefined>;
|
|
6523
|
-
readonly error: v.StringSchema<undefined>;
|
|
6524
|
-
}, undefined>, v.ObjectSchema<{
|
|
6525
|
-
readonly status_code: v.LiteralSchema<426, undefined>;
|
|
6526
|
-
readonly error: v.StringSchema<undefined>;
|
|
6527
|
-
}, undefined>, v.ObjectSchema<{
|
|
6528
|
-
readonly status_code: v.LiteralSchema<500, undefined>;
|
|
6529
|
-
readonly error: v.StringSchema<undefined>;
|
|
6530
|
-
}, undefined>, v.ObjectSchema<{
|
|
6531
|
-
readonly status_code: v.LiteralSchema<501, undefined>;
|
|
6532
|
-
readonly error: v.StringSchema<undefined>;
|
|
6533
|
-
}, undefined>], undefined>;
|
|
5067
|
+
export declare type VerifyEmailResponse = SDKOkResponse<VerifyEmailResult> | SDKNoContentResponse | SDKErrorResponse<400> | SDKErrorResponse<403> | SDKErrorResponse<426> | SDKErrorResponse<500> | SDKErrorResponse<501>;
|
|
6534
5068
|
|
|
6535
5069
|
/**
|
|
6536
5070
|
* Result object for verifying the user's email.
|
|
@@ -6545,19 +5079,9 @@ export declare const VerifyEmailResponseSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
|
6545
5079
|
*
|
|
6546
5080
|
* @public
|
|
6547
5081
|
*/
|
|
6548
|
-
export declare type VerifyEmailResult =
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
* Valibot schema for {@link VerifyEmailResult}.
|
|
6552
|
-
*
|
|
6553
|
-
* @group Modules
|
|
6554
|
-
* @category Profile
|
|
6555
|
-
*
|
|
6556
|
-
* @public
|
|
6557
|
-
*/
|
|
6558
|
-
export declare const VerifyEmailResultSchema: v.ObjectSchema<{
|
|
6559
|
-
readonly email: v.StringSchema<undefined>;
|
|
6560
|
-
}, undefined>;
|
|
5082
|
+
export declare type VerifyEmailResult = {
|
|
5083
|
+
email: string;
|
|
5084
|
+
};
|
|
6561
5085
|
|
|
6562
5086
|
/**
|
|
6563
5087
|
* Represents a semantic version with major, minor, and patch components.
|