@zapier/zapier-sdk 0.18.1 → 0.18.2
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/CHANGELOG.md +6 -0
- package/README.md +5 -5
- package/dist/api/router.d.ts.map +1 -1
- package/dist/api/router.js +1 -7
- package/dist/api/router.test.js +1 -7
- package/dist/api/types.d.ts +2 -1
- package/dist/api/types.d.ts.map +1 -1
- package/dist/api/types.js +0 -10
- package/dist/index.cjs +8 -199
- package/dist/index.d.mts +100 -191
- package/dist/index.mjs +8 -199
- package/dist/plugins/getAuthentication/index.d.ts +3 -3
- package/dist/plugins/getAuthentication/index.d.ts.map +1 -1
- package/dist/plugins/getAuthentication/index.js +3 -5
- package/dist/plugins/getAuthentication/index.test.js +4 -16
- package/dist/plugins/getAuthentication/schemas.d.ts +2 -4
- package/dist/plugins/getAuthentication/schemas.d.ts.map +1 -1
- package/dist/plugins/getAuthentication/schemas.js +1 -1
- package/dist/plugins/listAuthentications/index.d.ts.map +1 -1
- package/dist/schemas/Auth.d.ts +11 -11
- package/dist/schemas/Auth.d.ts.map +1 -1
- package/dist/schemas/Auth.js +2 -12
- package/dist/sdk.d.ts +3 -1
- package/dist/sdk.d.ts.map +1 -1
- package/dist/temporary-internal-core/index.d.ts +0 -2
- package/dist/temporary-internal-core/index.d.ts.map +1 -1
- package/dist/temporary-internal-core/index.js +0 -2
- package/dist/temporary-internal-core/utils/transformations.d.ts +1 -1
- package/dist/temporary-internal-core/utils/transformations.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/temporary-internal-core/handlers/getAuthentication.d.ts +0 -94
- package/dist/temporary-internal-core/handlers/getAuthentication.d.ts.map +0 -1
- package/dist/temporary-internal-core/handlers/getAuthentication.js +0 -68
- package/dist/temporary-internal-core/handlers/getAuthentication.test.d.ts +0 -2
- package/dist/temporary-internal-core/handlers/getAuthentication.test.d.ts.map +0 -1
- package/dist/temporary-internal-core/handlers/getAuthentication.test.js +0 -248
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts +0 -150
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/schemas/authentications/index.js +0 -97
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import { AuthenticationSchema, AuthenticationsResponseSchema, GetAuthenticationParam, GetAuthenticationResponse, GetAuthenticationParamSchema } from '@zapier/zapier-sdk-core/v0/schemas/authentications';
|
|
4
|
+
import * as zod_v4_core from 'zod/v4/core';
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* SDK Event System
|
|
@@ -492,55 +494,6 @@ declare const ActionFieldSchema: z.ZodObject<{
|
|
|
492
494
|
format: z.ZodOptional<z.ZodString>;
|
|
493
495
|
inputFormat: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
496
|
}, z.core.$strip>;
|
|
495
|
-
declare const AuthenticationSchema: z.ZodObject<{
|
|
496
|
-
id: z.ZodNumber;
|
|
497
|
-
date: z.ZodString;
|
|
498
|
-
lastchanged: z.ZodOptional<z.ZodString>;
|
|
499
|
-
account_id: z.ZodNumber;
|
|
500
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
501
|
-
selected_api: z.ZodString;
|
|
502
|
-
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
|
-
is_invite_only: z.ZodBoolean;
|
|
504
|
-
is_private: z.ZodBoolean;
|
|
505
|
-
shared_with_all: z.ZodBoolean;
|
|
506
|
-
is_stale: z.ZodOptional<z.ZodString>;
|
|
507
|
-
is_shared: z.ZodOptional<z.ZodString>;
|
|
508
|
-
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
511
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
-
url: z.ZodOptional<z.ZodString>;
|
|
513
|
-
groups: z.ZodOptional<z.ZodString>;
|
|
514
|
-
members: z.ZodOptional<z.ZodString>;
|
|
515
|
-
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
516
|
-
}, z.core.$strip>;
|
|
517
|
-
declare const AuthenticationsResponseSchema: z.ZodObject<{
|
|
518
|
-
count: z.ZodNumber;
|
|
519
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
|
-
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
521
|
-
results: z.ZodArray<z.ZodObject<{
|
|
522
|
-
id: z.ZodNumber;
|
|
523
|
-
date: z.ZodString;
|
|
524
|
-
lastchanged: z.ZodOptional<z.ZodString>;
|
|
525
|
-
account_id: z.ZodNumber;
|
|
526
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
527
|
-
selected_api: z.ZodString;
|
|
528
|
-
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
529
|
-
is_invite_only: z.ZodBoolean;
|
|
530
|
-
is_private: z.ZodBoolean;
|
|
531
|
-
shared_with_all: z.ZodBoolean;
|
|
532
|
-
is_stale: z.ZodOptional<z.ZodString>;
|
|
533
|
-
is_shared: z.ZodOptional<z.ZodString>;
|
|
534
|
-
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
537
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
538
|
-
url: z.ZodOptional<z.ZodString>;
|
|
539
|
-
groups: z.ZodOptional<z.ZodString>;
|
|
540
|
-
members: z.ZodOptional<z.ZodString>;
|
|
541
|
-
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
542
|
-
}, z.core.$strip>>;
|
|
543
|
-
}, z.core.$strip>;
|
|
544
497
|
declare const UserProfileSchema: z.ZodObject<{
|
|
545
498
|
id: z.ZodNumber;
|
|
546
499
|
code: z.ZodString;
|
|
@@ -1058,137 +1011,6 @@ declare const ListInputFieldsSchema: z.ZodObject<{
|
|
|
1058
1011
|
}, z.core.$strip>;
|
|
1059
1012
|
type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema>;
|
|
1060
1013
|
|
|
1061
|
-
/**
|
|
1062
|
-
* App and Service schemas
|
|
1063
|
-
*
|
|
1064
|
-
* Covers:
|
|
1065
|
-
* - App metadata
|
|
1066
|
-
* - Service definitions
|
|
1067
|
-
* - App listings and searches
|
|
1068
|
-
*/
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* Public API schema for listApps operation
|
|
1072
|
-
*
|
|
1073
|
-
* This is the user-facing schema that accepts app keys (slugs, implementation names, etc.)
|
|
1074
|
-
* The plugin resolves these to implementation IDs before calling the handler.
|
|
1075
|
-
*/
|
|
1076
|
-
declare const ListAppsOptionsSchema: z.ZodObject<{
|
|
1077
|
-
appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1078
|
-
search: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1080
|
-
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1081
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1082
|
-
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
1083
|
-
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
1084
|
-
}, z.core.$strip>>;
|
|
1085
|
-
}, z.core.$strip>;
|
|
1086
|
-
type ListAppsOptions = z.infer<typeof ListAppsOptionsSchema>;
|
|
1087
|
-
/**
|
|
1088
|
-
* Normalized app item returned by listApps
|
|
1089
|
-
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id)
|
|
1090
|
-
*/
|
|
1091
|
-
declare const AppItemSchema$1: z.ZodObject<{
|
|
1092
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1093
|
-
id: z.ZodNumber;
|
|
1094
|
-
name: z.ZodString;
|
|
1095
|
-
slug: z.ZodString;
|
|
1096
|
-
}, z.core.$strip>>>;
|
|
1097
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
1098
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
1099
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
1101
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
1102
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
1104
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
}, z.core.$strip>>;
|
|
1106
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1107
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1108
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
1109
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
1110
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
1111
|
-
image: z.ZodOptional<z.ZodString>;
|
|
1112
|
-
images: z.ZodOptional<z.ZodObject<{
|
|
1113
|
-
url_16x16: z.ZodOptional<z.ZodString>;
|
|
1114
|
-
url_32x32: z.ZodOptional<z.ZodString>;
|
|
1115
|
-
url_64x64: z.ZodOptional<z.ZodString>;
|
|
1116
|
-
url_128x128: z.ZodOptional<z.ZodString>;
|
|
1117
|
-
}, z.core.$strip>>;
|
|
1118
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
1119
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
1120
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
1121
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
1123
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
1124
|
-
popularity: z.ZodOptional<z.ZodNumber>;
|
|
1125
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
slug: z.ZodString;
|
|
1127
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
1129
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
1130
|
-
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
1131
|
-
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
1132
|
-
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
1133
|
-
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
1134
|
-
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
1135
|
-
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
1136
|
-
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
1137
|
-
visibility: z.ZodOptional<z.ZodString>;
|
|
1138
|
-
classification: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
title: z.ZodString;
|
|
1140
|
-
key: z.ZodString;
|
|
1141
|
-
implementation_id: z.ZodString;
|
|
1142
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1143
|
-
}, z.core.$strip>;
|
|
1144
|
-
type AppItem$1 = z.infer<typeof AppItemSchema$1>;
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* Authentication schemas
|
|
1148
|
-
*/
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Public API schema for getAuthentication operation
|
|
1152
|
-
*
|
|
1153
|
-
* This is the user-facing schema that the SDK plugin accepts.
|
|
1154
|
-
*/
|
|
1155
|
-
declare const GetAuthenticationOptionsSchema: z.ZodObject<{
|
|
1156
|
-
authenticationId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1157
|
-
}, z.core.$strip>;
|
|
1158
|
-
type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSchema>;
|
|
1159
|
-
/**
|
|
1160
|
-
* Response schema for getAuthentication (single item)
|
|
1161
|
-
*/
|
|
1162
|
-
declare const GetAuthenticationResponseSchema: z.ZodObject<{
|
|
1163
|
-
data: z.ZodLazy<z.ZodObject<{
|
|
1164
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1165
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
-
date: z.ZodString;
|
|
1167
|
-
lastchanged: z.ZodOptional<z.ZodString>;
|
|
1168
|
-
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1169
|
-
is_invite_only: z.ZodBoolean;
|
|
1170
|
-
is_private: z.ZodBoolean;
|
|
1171
|
-
shared_with_all: z.ZodBoolean;
|
|
1172
|
-
is_stale: z.ZodOptional<z.ZodString>;
|
|
1173
|
-
is_shared: z.ZodOptional<z.ZodString>;
|
|
1174
|
-
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1175
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1176
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1177
|
-
groups: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
members: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1180
|
-
id: z.ZodString;
|
|
1181
|
-
account_id: z.ZodString;
|
|
1182
|
-
implementation_id: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
profile_id: z.ZodOptional<z.ZodString>;
|
|
1184
|
-
is_expired: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1186
|
-
app_key: z.ZodOptional<z.ZodString>;
|
|
1187
|
-
app_version: z.ZodOptional<z.ZodString>;
|
|
1188
|
-
}, z.core.$strip>>;
|
|
1189
|
-
}, z.core.$strip>;
|
|
1190
|
-
type GetAuthenticationResponse = z.infer<typeof GetAuthenticationResponseSchema>;
|
|
1191
|
-
|
|
1192
1014
|
declare const FindFirstAuthenticationSchema: z.ZodObject<{
|
|
1193
1015
|
appKey: z.ZodOptional<z.ZodString & {
|
|
1194
1016
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
@@ -1539,6 +1361,91 @@ declare const GetAppSchema: z.ZodObject<{
|
|
|
1539
1361
|
}, z.core.$strip>;
|
|
1540
1362
|
type GetAppOptions = z.infer<typeof GetAppSchema>;
|
|
1541
1363
|
|
|
1364
|
+
/**
|
|
1365
|
+
* App and Service schemas
|
|
1366
|
+
*
|
|
1367
|
+
* Covers:
|
|
1368
|
+
* - App metadata
|
|
1369
|
+
* - Service definitions
|
|
1370
|
+
* - App listings and searches
|
|
1371
|
+
*/
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Public API schema for listApps operation
|
|
1375
|
+
*
|
|
1376
|
+
* This is the user-facing schema that accepts app keys (slugs, implementation names, etc.)
|
|
1377
|
+
* The plugin resolves these to implementation IDs before calling the handler.
|
|
1378
|
+
*/
|
|
1379
|
+
declare const ListAppsOptionsSchema: z.ZodObject<{
|
|
1380
|
+
appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1381
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1383
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1384
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
1387
|
+
}, z.core.$strip>>;
|
|
1388
|
+
}, z.core.$strip>;
|
|
1389
|
+
type ListAppsOptions = z.infer<typeof ListAppsOptionsSchema>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Normalized app item returned by listApps
|
|
1392
|
+
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id)
|
|
1393
|
+
*/
|
|
1394
|
+
declare const AppItemSchema$1: z.ZodObject<{
|
|
1395
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
|
+
id: z.ZodNumber;
|
|
1397
|
+
name: z.ZodString;
|
|
1398
|
+
slug: z.ZodString;
|
|
1399
|
+
}, z.core.$strip>>>;
|
|
1400
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1401
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
1403
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
1404
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
1406
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
1407
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
1408
|
+
}, z.core.$strip>>;
|
|
1409
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1411
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
1412
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
1413
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
image: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
images: z.ZodOptional<z.ZodObject<{
|
|
1416
|
+
url_16x16: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
url_32x32: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
url_64x64: z.ZodOptional<z.ZodString>;
|
|
1419
|
+
url_128x128: z.ZodOptional<z.ZodString>;
|
|
1420
|
+
}, z.core.$strip>>;
|
|
1421
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
1422
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
1423
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
1424
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
1425
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
1426
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
1427
|
+
popularity: z.ZodOptional<z.ZodNumber>;
|
|
1428
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
1429
|
+
slug: z.ZodString;
|
|
1430
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
1432
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
+
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
1435
|
+
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
1436
|
+
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
1437
|
+
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
1438
|
+
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
1439
|
+
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
1440
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
title: z.ZodString;
|
|
1443
|
+
key: z.ZodString;
|
|
1444
|
+
implementation_id: z.ZodString;
|
|
1445
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1446
|
+
}, z.core.$strip>;
|
|
1447
|
+
type AppItem$1 = z.infer<typeof AppItemSchema$1>;
|
|
1448
|
+
|
|
1542
1449
|
interface ListAppsPluginProvides {
|
|
1543
1450
|
listApps: (options?: ListAppsOptions) => Promise<{
|
|
1544
1451
|
data: AppItem$1[];
|
|
@@ -1651,11 +1558,11 @@ declare const listAuthenticationsPlugin: Plugin<GetSdkType<ManifestPluginProvide
|
|
|
1651
1558
|
} & EventEmissionContext, ListAuthenticationsPluginProvides>;
|
|
1652
1559
|
|
|
1653
1560
|
interface GetAuthenticationPluginProvides {
|
|
1654
|
-
getAuthentication: (options:
|
|
1561
|
+
getAuthentication: (options: GetAuthenticationParam) => Promise<GetAuthenticationResponse>;
|
|
1655
1562
|
context: {
|
|
1656
1563
|
meta: {
|
|
1657
1564
|
getAuthentication: {
|
|
1658
|
-
inputSchema: typeof
|
|
1565
|
+
inputSchema: typeof GetAuthenticationParamSchema;
|
|
1659
1566
|
};
|
|
1660
1567
|
};
|
|
1661
1568
|
};
|
|
@@ -1999,8 +1906,6 @@ declare const AppItemSchema: z.ZodObject<{
|
|
|
1999
1906
|
}, z.core.$strip>;
|
|
2000
1907
|
|
|
2001
1908
|
declare const AuthenticationItemSchema: z.ZodObject<{
|
|
2002
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2004
1909
|
date: z.ZodString;
|
|
2005
1910
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
2006
1911
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2010,23 +1915,23 @@ declare const AuthenticationItemSchema: z.ZodObject<{
|
|
|
2010
1915
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
2011
1916
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
2012
1917
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1918
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2013
1919
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2014
1920
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2015
|
-
|
|
1921
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1922
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2016
1923
|
members: z.ZodOptional<z.ZodString>;
|
|
2017
1924
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2018
1925
|
id: z.ZodString;
|
|
2019
1926
|
account_id: z.ZodString;
|
|
2020
1927
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
profile_id: z.ZodOptional<z.ZodString>;
|
|
2021
1929
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
2022
1930
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2023
1931
|
app_key: z.ZodOptional<z.ZodString>;
|
|
2024
1932
|
app_version: z.ZodOptional<z.ZodString>;
|
|
2025
|
-
profile_id: z.ZodOptional<z.ZodString>;
|
|
2026
1933
|
}, z.core.$strip>;
|
|
2027
1934
|
declare const AuthItemSchema: z.ZodObject<{
|
|
2028
|
-
url: z.ZodOptional<z.ZodString>;
|
|
2029
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2030
1935
|
date: z.ZodString;
|
|
2031
1936
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
2032
1937
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2036,19 +1941,21 @@ declare const AuthItemSchema: z.ZodObject<{
|
|
|
2036
1941
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
2037
1942
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
2038
1943
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1944
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2039
1945
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2040
1946
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2041
|
-
|
|
1947
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2042
1949
|
members: z.ZodOptional<z.ZodString>;
|
|
2043
1950
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2044
1951
|
id: z.ZodString;
|
|
2045
1952
|
account_id: z.ZodString;
|
|
2046
1953
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
1954
|
+
profile_id: z.ZodOptional<z.ZodString>;
|
|
2047
1955
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
2048
1956
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2049
1957
|
app_key: z.ZodOptional<z.ZodString>;
|
|
2050
1958
|
app_version: z.ZodOptional<z.ZodString>;
|
|
2051
|
-
profile_id: z.ZodOptional<z.ZodString>;
|
|
2052
1959
|
}, z.core.$strip>;
|
|
2053
1960
|
type AuthItem = z.infer<typeof AuthItemSchema>;
|
|
2054
1961
|
|
|
@@ -2455,7 +2362,9 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
|
|
|
2455
2362
|
} & {
|
|
2456
2363
|
meta: {
|
|
2457
2364
|
getAuthentication: {
|
|
2458
|
-
inputSchema:
|
|
2365
|
+
inputSchema: zod.ZodObject<{
|
|
2366
|
+
authenticationId: zod.ZodString;
|
|
2367
|
+
}, zod_v4_core.$strip>;
|
|
2459
2368
|
};
|
|
2460
2369
|
};
|
|
2461
2370
|
} & {
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { AuthenticationItemSchema as AuthenticationItemSchema$1, GetAuthenticationParamSchema } from '@zapier/zapier-sdk-core/v0/schemas/authentications';
|
|
2
3
|
import { setTimeout as setTimeout$1 } from 'timers/promises';
|
|
3
4
|
import * as os from 'os';
|
|
4
5
|
|
|
@@ -2241,26 +2242,7 @@ var ListAuthenticationsSchema = z.object({
|
|
|
2241
2242
|
cursor: z.string().optional().describe("Cursor to start from")
|
|
2242
2243
|
}).merge(TelemetryMarkerSchema).describe("List available authentications with optional filtering");
|
|
2243
2244
|
var AuthenticationItemSchema = withFormatter(
|
|
2244
|
-
|
|
2245
|
-
{
|
|
2246
|
-
id: z.string(),
|
|
2247
|
-
// Converted from number
|
|
2248
|
-
account_id: z.string(),
|
|
2249
|
-
// Converted from number
|
|
2250
|
-
implementation_id: z.string().optional(),
|
|
2251
|
-
// Renamed from selected_api
|
|
2252
|
-
is_expired: z.string().optional(),
|
|
2253
|
-
// Mapped from is_stale
|
|
2254
|
-
expired_at: z.string().nullable().optional(),
|
|
2255
|
-
// Mapped from marked_stale_at
|
|
2256
|
-
app_key: z.string().optional(),
|
|
2257
|
-
// App key from implementations endpoint
|
|
2258
|
-
app_version: z.string().optional(),
|
|
2259
|
-
// Version extracted from implementation_id
|
|
2260
|
-
profile_id: z.string().optional()
|
|
2261
|
-
// Mapped from customuser_id, converted from number
|
|
2262
|
-
}
|
|
2263
|
-
),
|
|
2245
|
+
AuthenticationItemSchema$1,
|
|
2264
2246
|
{
|
|
2265
2247
|
format: (item) => {
|
|
2266
2248
|
const details = [];
|
|
@@ -2347,7 +2329,9 @@ var listAuthenticationsPlugin = ({ context }) => {
|
|
|
2347
2329
|
(auth) => normalizeAuthenticationItem(auth)
|
|
2348
2330
|
);
|
|
2349
2331
|
if (options.title) {
|
|
2350
|
-
auths = auths.filter(
|
|
2332
|
+
auths = auths.filter(
|
|
2333
|
+
(auth) => auth.title === options.title
|
|
2334
|
+
);
|
|
2351
2335
|
}
|
|
2352
2336
|
return {
|
|
2353
2337
|
data: auths,
|
|
@@ -2475,64 +2459,6 @@ var getActionPlugin = ({ sdk, context }) => {
|
|
|
2475
2459
|
}
|
|
2476
2460
|
};
|
|
2477
2461
|
};
|
|
2478
|
-
var AuthenticationSchema2 = z.object({
|
|
2479
|
-
id: z.number(),
|
|
2480
|
-
date: z.string(),
|
|
2481
|
-
lastchanged: z.string().optional(),
|
|
2482
|
-
account_id: z.number(),
|
|
2483
|
-
customuser_id: z.number().optional(),
|
|
2484
|
-
selected_api: z.string(),
|
|
2485
|
-
destination_selected_api: z.string().nullable().optional(),
|
|
2486
|
-
is_invite_only: z.boolean(),
|
|
2487
|
-
is_private: z.boolean(),
|
|
2488
|
-
shared_with_all: z.boolean(),
|
|
2489
|
-
is_stale: z.string().optional(),
|
|
2490
|
-
is_shared: z.string().optional(),
|
|
2491
|
-
marked_stale_at: z.string().nullable().optional(),
|
|
2492
|
-
label: z.string().nullable().optional(),
|
|
2493
|
-
identifier: z.string().nullable().optional(),
|
|
2494
|
-
title: z.string().nullable().optional(),
|
|
2495
|
-
url: z.string().optional(),
|
|
2496
|
-
groups: z.string().optional(),
|
|
2497
|
-
members: z.string().optional(),
|
|
2498
|
-
permissions: z.record(z.string(), z.boolean()).optional()
|
|
2499
|
-
});
|
|
2500
|
-
z.object({
|
|
2501
|
-
count: z.number(),
|
|
2502
|
-
next: z.string().nullable().optional(),
|
|
2503
|
-
previous: z.string().nullable().optional(),
|
|
2504
|
-
results: z.array(AuthenticationSchema2)
|
|
2505
|
-
});
|
|
2506
|
-
var AuthenticationItemSchema2 = AuthenticationSchema2.omit({
|
|
2507
|
-
selected_api: true,
|
|
2508
|
-
customuser_id: true
|
|
2509
|
-
}).extend({
|
|
2510
|
-
// Override numeric IDs with string versions (converted by normalizeAuthenticationItem)
|
|
2511
|
-
id: z.string(),
|
|
2512
|
-
account_id: z.string(),
|
|
2513
|
-
// Renamed fields
|
|
2514
|
-
implementation_id: z.string().optional(),
|
|
2515
|
-
profile_id: z.string().optional(),
|
|
2516
|
-
// Mapped fields (originals preserved in ...restOfAuth)
|
|
2517
|
-
is_expired: z.string().optional(),
|
|
2518
|
-
expired_at: z.string().nullable().optional(),
|
|
2519
|
-
// Computed fields
|
|
2520
|
-
app_key: z.string().optional(),
|
|
2521
|
-
app_version: z.string().optional()
|
|
2522
|
-
});
|
|
2523
|
-
var GetAuthenticationOptionsSchema = z.object({
|
|
2524
|
-
authenticationId: z.union([z.string(), z.number().int().positive()]).describe("Authentication ID to retrieve")
|
|
2525
|
-
}).describe("Get a specific authentication by ID");
|
|
2526
|
-
var GetAuthenticationHandlerRequestSchema = z.object({
|
|
2527
|
-
authenticationId: z.union([z.string(), z.number()]).describe("Authentication ID - string from searchParams or number")
|
|
2528
|
-
}).transform((data) => ({
|
|
2529
|
-
authenticationId: typeof data.authenticationId === "string" ? parseInt(data.authenticationId, 10) : data.authenticationId
|
|
2530
|
-
}));
|
|
2531
|
-
z.object({
|
|
2532
|
-
data: z.lazy(() => AuthenticationItemSchema2)
|
|
2533
|
-
});
|
|
2534
|
-
|
|
2535
|
-
// src/plugins/getAuthentication/index.ts
|
|
2536
2462
|
var getAuthenticationPlugin = ({ context }) => {
|
|
2537
2463
|
async function getAuthentication(options) {
|
|
2538
2464
|
const { api } = context;
|
|
@@ -2542,7 +2468,7 @@ var getAuthenticationPlugin = ({ context }) => {
|
|
|
2542
2468
|
}
|
|
2543
2469
|
const getAuthenticationDefinition = createFunction(
|
|
2544
2470
|
getAuthentication,
|
|
2545
|
-
|
|
2471
|
+
GetAuthenticationParamSchema,
|
|
2546
2472
|
createTelemetryCallback(
|
|
2547
2473
|
context.eventEmission.emitMethodCalled,
|
|
2548
2474
|
getAuthentication.name
|
|
@@ -2556,7 +2482,7 @@ var getAuthenticationPlugin = ({ context }) => {
|
|
|
2556
2482
|
categories: ["authentication"],
|
|
2557
2483
|
type: "item",
|
|
2558
2484
|
itemType: "Authentication",
|
|
2559
|
-
inputSchema:
|
|
2485
|
+
inputSchema: GetAuthenticationParamSchema,
|
|
2560
2486
|
outputSchema: AuthenticationItemSchema,
|
|
2561
2487
|
resolvers: {
|
|
2562
2488
|
authenticationId: authenticationIdGenericResolver
|
|
@@ -3854,50 +3780,6 @@ function extractPaginationCursor(response) {
|
|
|
3854
3780
|
return void 0;
|
|
3855
3781
|
}
|
|
3856
3782
|
}
|
|
3857
|
-
function normalizeAuthenticationItem2(auth, options = {}) {
|
|
3858
|
-
let appKey = options.app_key;
|
|
3859
|
-
let appVersion = options.app_version;
|
|
3860
|
-
if (auth.selected_api) {
|
|
3861
|
-
const [extractedAppKey, extractedVersion] = splitVersionedKey2(
|
|
3862
|
-
auth.selected_api
|
|
3863
|
-
);
|
|
3864
|
-
if (!appKey) {
|
|
3865
|
-
appKey = extractedAppKey;
|
|
3866
|
-
}
|
|
3867
|
-
if (!appVersion) {
|
|
3868
|
-
appVersion = extractedVersion;
|
|
3869
|
-
}
|
|
3870
|
-
}
|
|
3871
|
-
const {
|
|
3872
|
-
selected_api: selectedApi,
|
|
3873
|
-
customuser_id: profileId,
|
|
3874
|
-
id,
|
|
3875
|
-
account_id: accountId,
|
|
3876
|
-
...restOfAuth
|
|
3877
|
-
} = auth;
|
|
3878
|
-
return {
|
|
3879
|
-
...restOfAuth,
|
|
3880
|
-
// Pass through all other API response fields except selected_api
|
|
3881
|
-
id: String(id),
|
|
3882
|
-
// Convert to string
|
|
3883
|
-
account_id: String(accountId),
|
|
3884
|
-
// Convert to string
|
|
3885
|
-
implementation_id: selectedApi,
|
|
3886
|
-
// Rename selected_api to implementation_id
|
|
3887
|
-
title: auth.title || auth.label || void 0,
|
|
3888
|
-
// Coerce title from label if missing
|
|
3889
|
-
is_expired: auth.is_stale,
|
|
3890
|
-
// Map is_stale to is_expired
|
|
3891
|
-
expired_at: auth.marked_stale_at,
|
|
3892
|
-
// Map marked_stale_at to expired_at
|
|
3893
|
-
app_key: appKey,
|
|
3894
|
-
// App key from implementations endpoint or parsed from selected_api
|
|
3895
|
-
app_version: appVersion,
|
|
3896
|
-
// Version from selected_api or provided
|
|
3897
|
-
profile_id: profileId != null ? String(profileId) : void 0
|
|
3898
|
-
// Map customuser_id to profile_id, convert to string
|
|
3899
|
-
};
|
|
3900
|
-
}
|
|
3901
3783
|
|
|
3902
3784
|
// src/temporary-internal-core/handlers/listApps.ts
|
|
3903
3785
|
var DEFAULT_PAGE_SIZE = 20;
|
|
@@ -4001,73 +3883,6 @@ var handleListApps = async ({ request, deps }) => {
|
|
|
4001
3883
|
};
|
|
4002
3884
|
};
|
|
4003
3885
|
|
|
4004
|
-
// src/temporary-internal-core/schemas/errors/index.ts
|
|
4005
|
-
var ZapierError2 = class extends Error {
|
|
4006
|
-
constructor(message, options = {}) {
|
|
4007
|
-
super(message);
|
|
4008
|
-
this.statusCode = options.statusCode;
|
|
4009
|
-
this.errors = options.errors;
|
|
4010
|
-
this.cause = options.cause;
|
|
4011
|
-
this.response = options.response;
|
|
4012
|
-
Object.setPrototypeOf(this, new.target.prototype);
|
|
4013
|
-
}
|
|
4014
|
-
};
|
|
4015
|
-
var ZapierAuthenticationError2 = class extends ZapierError2 {
|
|
4016
|
-
constructor(message, options = {}) {
|
|
4017
|
-
super(message, options);
|
|
4018
|
-
this.name = "ZapierAuthenticationError";
|
|
4019
|
-
}
|
|
4020
|
-
};
|
|
4021
|
-
var ZapierResourceNotFoundError2 = class extends ZapierError2 {
|
|
4022
|
-
constructor(message, options = {}) {
|
|
4023
|
-
super(message, options);
|
|
4024
|
-
this.name = "ZapierResourceNotFoundError";
|
|
4025
|
-
this.resourceType = options.resourceType;
|
|
4026
|
-
this.resourceId = options.resourceId;
|
|
4027
|
-
}
|
|
4028
|
-
};
|
|
4029
|
-
|
|
4030
|
-
// src/temporary-internal-core/handlers/getAuthentication.ts
|
|
4031
|
-
var handleGetAuthentication = async ({ request, deps }) => {
|
|
4032
|
-
const validatedRequest = GetAuthenticationHandlerRequestSchema.parse(request);
|
|
4033
|
-
const { httpClient } = deps;
|
|
4034
|
-
const { authenticationId } = validatedRequest;
|
|
4035
|
-
const authentication = await httpClient.get(
|
|
4036
|
-
`/zapier/api/v4/authentications/${authenticationId}/`,
|
|
4037
|
-
{
|
|
4038
|
-
authRequired: true,
|
|
4039
|
-
customErrorHandler: ({ status }) => {
|
|
4040
|
-
if (status === 401) {
|
|
4041
|
-
return new ZapierAuthenticationError2(
|
|
4042
|
-
`Authentication failed. Your token may not have permission to access authentications or may be expired. (HTTP ${status})`,
|
|
4043
|
-
{ statusCode: status }
|
|
4044
|
-
);
|
|
4045
|
-
}
|
|
4046
|
-
if (status === 403) {
|
|
4047
|
-
return new ZapierAuthenticationError2(
|
|
4048
|
-
`Access forbidden. Your token may not have the required scopes to get authentication ${authenticationId}. (HTTP ${status})`,
|
|
4049
|
-
{ statusCode: status }
|
|
4050
|
-
);
|
|
4051
|
-
}
|
|
4052
|
-
if (status === 404) {
|
|
4053
|
-
return new ZapierResourceNotFoundError2(
|
|
4054
|
-
`Authentication ${authenticationId} not found. It may not exist or you may not have access to it. (HTTP ${status})`,
|
|
4055
|
-
{
|
|
4056
|
-
resourceType: "Authentication",
|
|
4057
|
-
resourceId: String(authenticationId)
|
|
4058
|
-
}
|
|
4059
|
-
);
|
|
4060
|
-
}
|
|
4061
|
-
return void 0;
|
|
4062
|
-
}
|
|
4063
|
-
}
|
|
4064
|
-
);
|
|
4065
|
-
const normalizedAuthentication = normalizeAuthenticationItem2(authentication);
|
|
4066
|
-
return {
|
|
4067
|
-
data: normalizedAuthentication
|
|
4068
|
-
};
|
|
4069
|
-
};
|
|
4070
|
-
|
|
4071
3886
|
// src/api/router.ts
|
|
4072
3887
|
var routes = [
|
|
4073
3888
|
{
|
|
@@ -4075,12 +3890,6 @@ var routes = [
|
|
|
4075
3890
|
pattern: /^\/api\/v0\/apps$/,
|
|
4076
3891
|
handler: handleListApps,
|
|
4077
3892
|
paramMap: []
|
|
4078
|
-
},
|
|
4079
|
-
{
|
|
4080
|
-
method: "GET",
|
|
4081
|
-
pattern: /^\/api\/v0\/authentications\/([^\/]+)$/,
|
|
4082
|
-
handler: handleGetAuthentication,
|
|
4083
|
-
paramMap: ["authenticationId"]
|
|
4084
3893
|
}
|
|
4085
3894
|
];
|
|
4086
3895
|
function findMatchingRoute(routeList, method, path) {
|
|
@@ -5050,7 +4859,7 @@ function getCpuTime() {
|
|
|
5050
4859
|
|
|
5051
4860
|
// package.json
|
|
5052
4861
|
var package_default = {
|
|
5053
|
-
version: "0.18.
|
|
4862
|
+
version: "0.18.2"};
|
|
5054
4863
|
|
|
5055
4864
|
// src/plugins/eventEmission/builders.ts
|
|
5056
4865
|
function createBaseEvent(context = {}) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { Plugin } from "../../types/plugin";
|
|
2
2
|
import type { ApiClient } from "../../api";
|
|
3
|
-
import { GetAuthenticationSchema, type GetAuthenticationOptions, type GetAuthenticationResponse } from "./schemas";
|
|
4
3
|
import type { EventEmissionContext } from "../eventEmission";
|
|
4
|
+
import { GetAuthenticationParamSchema, type GetAuthenticationParam, type GetAuthenticationResponse } from "@zapier/zapier-sdk-core/v0/schemas/authentications";
|
|
5
5
|
export interface GetAuthenticationPluginProvides {
|
|
6
|
-
getAuthentication: (options:
|
|
6
|
+
getAuthentication: (options: GetAuthenticationParam) => Promise<GetAuthenticationResponse>;
|
|
7
7
|
context: {
|
|
8
8
|
meta: {
|
|
9
9
|
getAuthentication: {
|
|
10
|
-
inputSchema: typeof
|
|
10
|
+
inputSchema: typeof GetAuthenticationParamSchema;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/getAuthentication/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/getAuthentication/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAI3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EACL,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC/B,MAAM,oDAAoD,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,iBAAiB,EAAE,CACjB,OAAO,EAAE,sBAAsB,KAC5B,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACxC,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,iBAAiB,EAAE;gBACjB,WAAW,EAAE,OAAO,4BAA4B,CAAC;aAClD,CAAC;SACH,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAC1C,EAAE,EAAE,sBAAsB;AAC1B,AADI,sBAAsB;AAC1B;IAAE,GAAG,EAAE,SAAS,CAAA;CAAE,GAAG,oBAAoB,EAAE,0BAA0B;AACrE,+BAA+B,CAoChC,CAAC"}
|