@lepsto/sdk-app 90.0.0 → 90.2.0
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 +15 -6
- package/dist/_types/gen/client.gen.d.ts +7 -1
- package/dist/_types/gen/types.gen.d.ts +290 -13
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +17 -1
- package/dist/{chunk-T3O56NBF.js → chunk-VHBBS4OY.js} +116 -2
- package/dist/{chunk-T3O56NBF.js.map → chunk-VHBBS4OY.js.map} +1 -1
- package/dist/index.cjs +122 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/users/index.cjs +20 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +17 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +114 -0
- package/src/gen/client.gen.ts +14 -0
- package/src/gen/manifest.gen.ts +8 -0
- package/src/gen/types.gen.ts +298 -13
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +25 -0
package/dist/index.cjs
CHANGED
|
@@ -10523,6 +10523,112 @@ var bindings = {
|
|
|
10523
10523
|
"readOnly": true
|
|
10524
10524
|
}
|
|
10525
10525
|
},
|
|
10526
|
+
"touches": {
|
|
10527
|
+
"create": {
|
|
10528
|
+
"level": "write",
|
|
10529
|
+
"method": "POST",
|
|
10530
|
+
"operationKey": "users_touches_create",
|
|
10531
|
+
"params": [
|
|
10532
|
+
{
|
|
10533
|
+
"in": "path",
|
|
10534
|
+
"name": "userId"
|
|
10535
|
+
},
|
|
10536
|
+
{
|
|
10537
|
+
"in": "body",
|
|
10538
|
+
"name": "channel"
|
|
10539
|
+
},
|
|
10540
|
+
{
|
|
10541
|
+
"in": "body",
|
|
10542
|
+
"name": "direction"
|
|
10543
|
+
},
|
|
10544
|
+
{
|
|
10545
|
+
"in": "body",
|
|
10546
|
+
"name": "occurredAt"
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
"in": "body",
|
|
10550
|
+
"name": "body"
|
|
10551
|
+
}
|
|
10552
|
+
],
|
|
10553
|
+
"path": "/users/users/:userId/touches",
|
|
10554
|
+
"readOnly": false
|
|
10555
|
+
},
|
|
10556
|
+
"delete": {
|
|
10557
|
+
"level": "write",
|
|
10558
|
+
"method": "DELETE",
|
|
10559
|
+
"operationKey": "users_touches_delete",
|
|
10560
|
+
"params": [
|
|
10561
|
+
{
|
|
10562
|
+
"in": "path",
|
|
10563
|
+
"name": "userId"
|
|
10564
|
+
},
|
|
10565
|
+
{
|
|
10566
|
+
"in": "path",
|
|
10567
|
+
"name": "touchId"
|
|
10568
|
+
},
|
|
10569
|
+
{
|
|
10570
|
+
"in": "query",
|
|
10571
|
+
"name": "force"
|
|
10572
|
+
}
|
|
10573
|
+
],
|
|
10574
|
+
"path": "/users/users/:userId/touches/:touchId",
|
|
10575
|
+
"readOnly": false
|
|
10576
|
+
},
|
|
10577
|
+
"list": {
|
|
10578
|
+
"level": "read",
|
|
10579
|
+
"method": "GET",
|
|
10580
|
+
"operationKey": "users_touches_list",
|
|
10581
|
+
"params": [
|
|
10582
|
+
{
|
|
10583
|
+
"in": "path",
|
|
10584
|
+
"name": "userId"
|
|
10585
|
+
},
|
|
10586
|
+
{
|
|
10587
|
+
"in": "query",
|
|
10588
|
+
"name": "channel"
|
|
10589
|
+
},
|
|
10590
|
+
{
|
|
10591
|
+
"in": "query",
|
|
10592
|
+
"name": "limit"
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"in": "query",
|
|
10596
|
+
"name": "cursor"
|
|
10597
|
+
}
|
|
10598
|
+
],
|
|
10599
|
+
"path": "/users/users/:userId/touches",
|
|
10600
|
+
"readOnly": true
|
|
10601
|
+
},
|
|
10602
|
+
"update": {
|
|
10603
|
+
"level": "write",
|
|
10604
|
+
"method": "PATCH",
|
|
10605
|
+
"operationKey": "users_touches_update",
|
|
10606
|
+
"params": [
|
|
10607
|
+
{
|
|
10608
|
+
"in": "path",
|
|
10609
|
+
"name": "userId"
|
|
10610
|
+
},
|
|
10611
|
+
{
|
|
10612
|
+
"in": "path",
|
|
10613
|
+
"name": "touchId"
|
|
10614
|
+
},
|
|
10615
|
+
{
|
|
10616
|
+
"in": "body",
|
|
10617
|
+
"name": "body"
|
|
10618
|
+
},
|
|
10619
|
+
{
|
|
10620
|
+
"in": "body",
|
|
10621
|
+
"name": "occurredAt"
|
|
10622
|
+
},
|
|
10623
|
+
{
|
|
10624
|
+
"in": "body",
|
|
10625
|
+
"name": "force"
|
|
10626
|
+
}
|
|
10627
|
+
],
|
|
10628
|
+
"path": "/users/users/:userId/touches/:touchId",
|
|
10629
|
+
"readOnly": false
|
|
10630
|
+
}
|
|
10631
|
+
},
|
|
10526
10632
|
"users": {
|
|
10527
10633
|
"ban": {
|
|
10528
10634
|
"level": "admin",
|
|
@@ -10740,6 +10846,14 @@ var bindings = {
|
|
|
10740
10846
|
"in": "query",
|
|
10741
10847
|
"name": "includeContacts"
|
|
10742
10848
|
},
|
|
10849
|
+
{
|
|
10850
|
+
"in": "query",
|
|
10851
|
+
"name": "lastTouchAfter"
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"in": "query",
|
|
10855
|
+
"name": "lastTouchBefore"
|
|
10856
|
+
},
|
|
10743
10857
|
{
|
|
10744
10858
|
"in": "query",
|
|
10745
10859
|
"name": "limit"
|
|
@@ -12335,6 +12449,10 @@ var operations = {
|
|
|
12335
12449
|
"users_sessions_list": "read",
|
|
12336
12450
|
"users_sessions_revoke": "admin",
|
|
12337
12451
|
"users_stats_get": "read",
|
|
12452
|
+
"users_touches_create": "write",
|
|
12453
|
+
"users_touches_delete": "write",
|
|
12454
|
+
"users_touches_list": "read",
|
|
12455
|
+
"users_touches_update": "write",
|
|
12338
12456
|
"users_users_ban": "admin",
|
|
12339
12457
|
"users_users_create": "write",
|
|
12340
12458
|
"users_users_delete": "admin",
|
|
@@ -12556,6 +12674,10 @@ var compositions = {
|
|
|
12556
12674
|
"users_sessions_list": { "pii": ["output.sessions[].ip", "output.sessions[].userAgent"], "label": "List sessions", "options": { "userId": "users_users_list" } },
|
|
12557
12675
|
"users_sessions_revoke": { "label": "Revoke session", "options": { "userId": "users_users_list", "sessionId": "users_sessions_list" } },
|
|
12558
12676
|
"users_stats_get": { "label": "Get auth stats" },
|
|
12677
|
+
"users_touches_create": { "pii": ["input.body", "output.body"], "label": "Log touch", "options": { "userId": "users_users_list" } },
|
|
12678
|
+
"users_touches_delete": { "label": "Delete touch", "options": { "userId": "users_users_list", "touchId": "users_touches_list" } },
|
|
12679
|
+
"users_touches_list": { "pii": ["output.items[].body"], "label": "List touches", "options": { "userId": "users_users_list" } },
|
|
12680
|
+
"users_touches_update": { "pii": ["input.body", "output.body"], "label": "Edit touch", "options": { "userId": "users_users_list", "touchId": "users_touches_list" } },
|
|
12559
12681
|
"users_users_ban": { "pii": ["output.name", "output.imageUrl", "output.publicMetadata", "output.privateMetadata", "output.unsafeMetadata", "output.identifiers[].value", "output.identifiers[].valueCanonical", "output.primaryEmail"], "label": "Ban user", "options": { "userId": "users_users_list" } },
|
|
12560
12682
|
"users_users_create": { "pii": ["input.name", "input.imageUrl", "input.identifiers[].value", "input.publicMetadata", "input.privateMetadata", "input.unsafeMetadata", "output.name", "output.imageUrl", "output.publicMetadata", "output.privateMetadata", "output.unsafeMetadata", "output.identifiers[].value", "output.identifiers[].valueCanonical", "output.primaryEmail"], "label": "Create user", "secrets": ["input.password.phcHash", "input.password.foreignHash"] },
|
|
12561
12683
|
"users_users_delete": { "pii": ["output.name", "output.imageUrl", "output.publicMetadata", "output.privateMetadata", "output.unsafeMetadata", "output.identifiers[].value", "output.identifiers[].valueCanonical", "output.primaryEmail"], "label": "Delete user", "options": { "userId": "users_users_list" } },
|