@lepsto/sdk-app 91.0.1 → 92.1.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/dist/index.js CHANGED
@@ -10314,6 +10314,112 @@ var bindings = {
10314
10314
  "readOnly": true
10315
10315
  }
10316
10316
  },
10317
+ "touches": {
10318
+ "create": {
10319
+ "level": "write",
10320
+ "method": "POST",
10321
+ "operationKey": "users_touches_create",
10322
+ "params": [
10323
+ {
10324
+ "in": "path",
10325
+ "name": "userId"
10326
+ },
10327
+ {
10328
+ "in": "body",
10329
+ "name": "channel"
10330
+ },
10331
+ {
10332
+ "in": "body",
10333
+ "name": "direction"
10334
+ },
10335
+ {
10336
+ "in": "body",
10337
+ "name": "occurredAt"
10338
+ },
10339
+ {
10340
+ "in": "body",
10341
+ "name": "body"
10342
+ }
10343
+ ],
10344
+ "path": "/users/users/:userId/touches",
10345
+ "readOnly": false
10346
+ },
10347
+ "discard": {
10348
+ "level": "write",
10349
+ "method": "DELETE",
10350
+ "operationKey": "users_touches_discard",
10351
+ "params": [
10352
+ {
10353
+ "in": "path",
10354
+ "name": "userId"
10355
+ },
10356
+ {
10357
+ "in": "path",
10358
+ "name": "touchId"
10359
+ },
10360
+ {
10361
+ "in": "query",
10362
+ "name": "force"
10363
+ }
10364
+ ],
10365
+ "path": "/users/users/:userId/touches/:touchId",
10366
+ "readOnly": false
10367
+ },
10368
+ "list": {
10369
+ "level": "read",
10370
+ "method": "GET",
10371
+ "operationKey": "users_touches_list",
10372
+ "params": [
10373
+ {
10374
+ "in": "path",
10375
+ "name": "userId"
10376
+ },
10377
+ {
10378
+ "in": "query",
10379
+ "name": "channel"
10380
+ },
10381
+ {
10382
+ "in": "query",
10383
+ "name": "limit"
10384
+ },
10385
+ {
10386
+ "in": "query",
10387
+ "name": "cursor"
10388
+ }
10389
+ ],
10390
+ "path": "/users/users/:userId/touches",
10391
+ "readOnly": true
10392
+ },
10393
+ "update": {
10394
+ "level": "write",
10395
+ "method": "PATCH",
10396
+ "operationKey": "users_touches_update",
10397
+ "params": [
10398
+ {
10399
+ "in": "path",
10400
+ "name": "userId"
10401
+ },
10402
+ {
10403
+ "in": "path",
10404
+ "name": "touchId"
10405
+ },
10406
+ {
10407
+ "in": "body",
10408
+ "name": "body"
10409
+ },
10410
+ {
10411
+ "in": "body",
10412
+ "name": "occurredAt"
10413
+ },
10414
+ {
10415
+ "in": "body",
10416
+ "name": "force"
10417
+ }
10418
+ ],
10419
+ "path": "/users/users/:userId/touches/:touchId",
10420
+ "readOnly": false
10421
+ }
10422
+ },
10317
10423
  "users": {
10318
10424
  "ban": {
10319
10425
  "level": "admin",
@@ -10357,6 +10463,18 @@ var bindings = {
10357
10463
  "in": "body",
10358
10464
  "name": "testUser"
10359
10465
  },
10466
+ {
10467
+ "in": "body",
10468
+ "name": "kind"
10469
+ },
10470
+ {
10471
+ "in": "body",
10472
+ "name": "stage"
10473
+ },
10474
+ {
10475
+ "in": "body",
10476
+ "name": "tags"
10477
+ },
10360
10478
  {
10361
10479
  "in": "body",
10362
10480
  "name": "requiresReset"
@@ -10407,6 +10525,14 @@ var bindings = {
10407
10525
  "in": "query",
10408
10526
  "name": "includeDeleted"
10409
10527
  },
10528
+ {
10529
+ "in": "query",
10530
+ "name": "kind"
10531
+ },
10532
+ {
10533
+ "in": "query",
10534
+ "name": "includeContacts"
10535
+ },
10410
10536
  {
10411
10537
  "in": "query",
10412
10538
  "name": "limit"
@@ -10495,6 +10621,30 @@ var bindings = {
10495
10621
  "in": "query",
10496
10622
  "name": "includeTestUsers"
10497
10623
  },
10624
+ {
10625
+ "in": "query",
10626
+ "name": "kind"
10627
+ },
10628
+ {
10629
+ "in": "query",
10630
+ "name": "stage"
10631
+ },
10632
+ {
10633
+ "in": "query",
10634
+ "name": "tag"
10635
+ },
10636
+ {
10637
+ "in": "query",
10638
+ "name": "includeContacts"
10639
+ },
10640
+ {
10641
+ "in": "query",
10642
+ "name": "lastTouchAfter"
10643
+ },
10644
+ {
10645
+ "in": "query",
10646
+ "name": "lastTouchBefore"
10647
+ },
10498
10648
  {
10499
10649
  "in": "query",
10500
10650
  "name": "limit"
@@ -10560,6 +10710,14 @@ var bindings = {
10560
10710
  {
10561
10711
  "in": "body",
10562
10712
  "name": "unsafeMetadata"
10713
+ },
10714
+ {
10715
+ "in": "body",
10716
+ "name": "stage"
10717
+ },
10718
+ {
10719
+ "in": "body",
10720
+ "name": "tags"
10563
10721
  }
10564
10722
  ],
10565
10723
  "path": "/users/users/:userId",
@@ -12065,6 +12223,10 @@ var operations = {
12065
12223
  "users_sessions_list": "read",
12066
12224
  "users_sessions_revoke": "admin",
12067
12225
  "users_stats_get": "read",
12226
+ "users_touches_create": "write",
12227
+ "users_touches_discard": "write",
12228
+ "users_touches_list": "read",
12229
+ "users_touches_update": "write",
12068
12230
  "users_users_ban": "admin",
12069
12231
  "users_users_create": "write",
12070
12232
  "users_users_delete": "admin",
@@ -12283,6 +12445,10 @@ var compositions = {
12283
12445
  "users_sessions_list": { "pii": ["output.sessions[].ip", "output.sessions[].userAgent"], "label": "List sessions", "options": { "userId": "users_users_list" } },
12284
12446
  "users_sessions_revoke": { "label": "Revoke session", "options": { "userId": "users_users_list", "sessionId": "users_sessions_list" } },
12285
12447
  "users_stats_get": { "label": "Get auth stats" },
12448
+ "users_touches_create": { "pii": ["input.body", "output.body"], "label": "Log touch", "options": { "userId": "users_users_list" } },
12449
+ "users_touches_discard": { "label": "Discard touch", "options": { "userId": "users_users_list", "touchId": "users_touches_list" } },
12450
+ "users_touches_list": { "pii": ["output.items[].body"], "label": "List touches", "options": { "userId": "users_users_list" } },
12451
+ "users_touches_update": { "pii": ["input.body", "output.body"], "label": "Edit touch", "options": { "userId": "users_users_list", "touchId": "users_touches_list" } },
12286
12452
  "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" } },
12287
12453
  "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"] },
12288
12454
  "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" } },