@lepsto/sdk-app 89.8.0 → 90.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/CHANGELOG.md CHANGED
@@ -115,58 +115,21 @@ before this point lives in that package.
115
115
  The publish pipeline appends its machine-rendered block for the release being
116
116
  built below this line. It is not committed back to the repo, so in a git
117
117
  checkout this section is empty — see the note at the top.
118
- ## 89.8.0 (minor)
118
+ ## 90.1.0 (minor)
119
119
 
120
120
  ### users
121
- - `users_stats_get`: new optional field `users.contacts (output)`
122
- - `users_stats_get`: description updated
123
- - `users_users_ban`: new optional field `kind (output)`
124
- - `users_users_ban`: new optional field `tags (output)`
125
- - `users_users_ban`: new optional field `stage (output)`
126
- - `users_users_ban`: new optional field `mergedIntoUserId (output)`
127
- - `users_users_create`: new optional field `kind`
128
- - `users_users_create`: new optional field `tags`
129
- - `users_users_create`: new optional field `stage`
130
- - `users_users_create`: new optional field `kind (output)`
131
- - `users_users_create`: new optional field `tags (output)`
132
- - `users_users_create`: new optional field `stage (output)`
133
- - `users_users_create`: new optional field `mergedIntoUserId (output)`
121
+ - `users_users_ban`: new accepted value on `identifiers.type (output)`
122
+ - `users_users_create`: new accepted value on `identifiers.type`
123
+ - `users_users_create`: new accepted value on `identifiers.type (output)`
134
124
  - `users_users_create`: description updated
135
- - `users_users_delete`: new optional field `kind (output)`
136
- - `users_users_delete`: new optional field `tags (output)`
137
- - `users_users_delete`: new optional field `stage (output)`
138
- - `users_users_delete`: new optional field `mergedIntoUserId (output)`
139
- - `users_users_export`: new optional field `kind`
140
- - `users_users_export`: new optional field `includeContacts`
141
- - `users_users_export`: new optional field `users.kind (output)`
142
- - `users_users_export`: new optional field `users.tags (output)`
143
- - `users_users_export`: new optional field `users.stage (output)`
144
- - `users_users_export`: new optional field `users.mergedIntoUserId (output)`
125
+ - `users_users_delete`: new accepted value on `identifiers.type (output)`
126
+ - `users_users_export`: new accepted value on `users.identifiers.type (output)`
145
127
  - `users_users_export`: description updated
146
- - `users_users_get`: new optional field `kind (output)`
147
- - `users_users_get`: new optional field `tags (output)`
148
- - `users_users_get`: new optional field `stage (output)`
149
- - `users_users_get`: new optional field `mergedIntoUserId (output)`
150
- - `users_users_import`: new optional field `contacts (output)`
128
+ - `users_users_get`: new accepted value on `identifiers.type (output)`
129
+ - `users_users_get`: description updated
151
130
  - `users_users_import`: description updated
152
- - `users_users_list`: new optional field `tag`
153
- - `users_users_list`: new optional field `kind`
154
- - `users_users_list`: new optional field `stage`
155
- - `users_users_list`: new optional field `includeContacts`
156
- - `users_users_list`: new optional field `users.kind (output)`
157
- - `users_users_list`: new optional field `users.tags (output)`
158
- - `users_users_list`: new optional field `users.stage (output)`
159
- - `users_users_list`: new optional field `users.mergedIntoUserId (output)`
131
+ - `users_users_list`: new accepted value on `users.identifiers.type (output)`
160
132
  - `users_users_list`: description updated
161
- - `users_users_unban`: new optional field `kind (output)`
162
- - `users_users_unban`: new optional field `tags (output)`
163
- - `users_users_unban`: new optional field `stage (output)`
164
- - `users_users_unban`: new optional field `mergedIntoUserId (output)`
165
- - `users_users_update`: new optional field `tags`
166
- - `users_users_update`: new optional field `stage`
167
- - `users_users_update`: new optional field `kind (output)`
168
- - `users_users_update`: new optional field `tags (output)`
169
- - `users_users_update`: new optional field `stage (output)`
170
- - `users_users_update`: new optional field `mergedIntoUserId (output)`
171
- - `users_users_update`: description updated
133
+ - `users_users_unban`: new accepted value on `identifiers.type (output)`
134
+ - `users_users_update`: new accepted value on `identifiers.type (output)`
172
135
 
@@ -122435,9 +122435,9 @@ export interface UsersApikeysCreateInput {
122435
122435
  */
122436
122436
  name: string;
122437
122437
  /**
122438
- * 'server' mints a SECRET key (usk_…) for the Product's backend — returned exactly once and stored hashed. 'publishable' mints a non-secret key (upk_…) that identifies this product in browser flows and stays readable.
122438
+ * 'publishable' mints a non-secret key (upk_…) that identifies this product in browser flows and stays readable. It is the only key type: the secret server key (usk_…) is retired.
122439
122439
  */
122440
- type: ("server" | "publishable");
122440
+ type: "publishable";
122441
122441
  }
122442
122442
  export interface UsersApikeysCreateOutput {
122443
122443
  /**
@@ -122453,15 +122453,15 @@ export interface UsersApikeysCreateOutput {
122453
122453
  */
122454
122454
  name: string;
122455
122455
  /**
122456
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
122456
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
122457
122457
  */
122458
- type: ("server" | "publishable");
122458
+ type: "publishable";
122459
122459
  /**
122460
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
122460
+ * The full value of the key, which is not a secret and stays readable.
122461
122461
  */
122462
122462
  value: (string | null);
122463
122463
  /**
122464
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
122464
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
122465
122465
  */
122466
122466
  prefix: string;
122467
122467
  /**
@@ -122489,15 +122489,15 @@ export interface UsersApikeysGetOutput {
122489
122489
  */
122490
122490
  name: string;
122491
122491
  /**
122492
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
122492
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
122493
122493
  */
122494
- type: ("server" | "publishable");
122494
+ type: "publishable";
122495
122495
  /**
122496
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
122496
+ * The full value of the key, which is not a secret and stays readable.
122497
122497
  */
122498
122498
  value: (string | null);
122499
122499
  /**
122500
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
122500
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
122501
122501
  */
122502
122502
  prefix: string;
122503
122503
  /**
@@ -122522,15 +122522,15 @@ export interface UsersApikeysListOutput {
122522
122522
  */
122523
122523
  name: string;
122524
122524
  /**
122525
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
122525
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
122526
122526
  */
122527
- type: ("server" | "publishable");
122527
+ type: "publishable";
122528
122528
  /**
122529
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
122529
+ * The full value of the key, which is not a secret and stays readable.
122530
122530
  */
122531
122531
  value: (string | null);
122532
122532
  /**
122533
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
122533
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
122534
122534
  */
122535
122535
  prefix: string;
122536
122536
  /**
@@ -124419,7 +124419,7 @@ export interface UsersUsersBanOutput {
124419
124419
  /**
124420
124420
  * What kind of identifier this is. Today always `email`.
124421
124421
  */
124422
- type: "email";
124422
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124423
124423
  /**
124424
124424
  * The address as the user typed it, for display.
124425
124425
  */
@@ -124535,7 +124535,7 @@ export interface UsersUsersCreateInput {
124535
124535
  */
124536
124536
  waitlisted?: boolean;
124537
124537
  /**
124538
- * The email addresses that reach this user. At least one is required.
124538
+ * How this user is reached: their email addresses, plus any contact channels (`phone`, `telegram`, `linkedin`, `x`). At least one is required.
124539
124539
  *
124540
124540
  * @minItems 1
124541
124541
  */
@@ -124544,13 +124544,13 @@ export interface UsersUsersCreateInput {
124544
124544
  /**
124545
124545
  * Identifier kind. Only 'email' exists in this phase.
124546
124546
  */
124547
- type: "email";
124547
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124548
124548
  /**
124549
124549
  * The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
124550
124550
  */
124551
124551
  value: string;
124552
124552
  /**
124553
- * Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
124553
+ * Record the identifier as already verified (use for trusted imports). IGNORED for contact channels, which are always stored unverified — nothing here can prove a phone or a handle. Only ONE verified copy of an email may exist per product; unverified duplicates are allowed. Default false.
124554
124554
  */
124555
124555
  verified?: boolean;
124556
124556
  /**
@@ -124562,13 +124562,13 @@ export interface UsersUsersCreateInput {
124562
124562
  /**
124563
124563
  * Identifier kind. Only 'email' exists in this phase.
124564
124564
  */
124565
- type: "email";
124565
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124566
124566
  /**
124567
124567
  * The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
124568
124568
  */
124569
124569
  value: string;
124570
124570
  /**
124571
- * Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
124571
+ * Record the identifier as already verified (use for trusted imports). IGNORED for contact channels, which are always stored unverified — nothing here can prove a phone or a handle. Only ONE verified copy of an email may exist per product; unverified duplicates are allowed. Default false.
124572
124572
  */
124573
124573
  verified?: boolean;
124574
124574
  /**
@@ -124670,7 +124670,7 @@ export interface UsersUsersCreateOutput {
124670
124670
  /**
124671
124671
  * What kind of identifier this is. Today always `email`.
124672
124672
  */
124673
- type: "email";
124673
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124674
124674
  /**
124675
124675
  * The address as the user typed it, for display.
124676
124676
  */
@@ -124813,7 +124813,7 @@ export interface UsersUsersDeleteOutput {
124813
124813
  /**
124814
124814
  * What kind of identifier this is. Today always `email`.
124815
124815
  */
124816
- type: "email";
124816
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124817
124817
  /**
124818
124818
  * The address as the user typed it, for display.
124819
124819
  */
@@ -124982,7 +124982,7 @@ export interface UsersUsersExportOutput {
124982
124982
  /**
124983
124983
  * What kind of identifier this is. Today always `email`.
124984
124984
  */
124985
- type: "email";
124985
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
124986
124986
  /**
124987
124987
  * The address as the user typed it, for display.
124988
124988
  */
@@ -125128,7 +125128,7 @@ export interface UsersUsersGetOutput {
125128
125128
  /**
125129
125129
  * What kind of identifier this is. Today always `email`.
125130
125130
  */
125131
- type: "email";
125131
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
125132
125132
  /**
125133
125133
  * The address as the user typed it, for display.
125134
125134
  */
@@ -125407,7 +125407,7 @@ export interface UsersUsersListOutput {
125407
125407
  /**
125408
125408
  * What kind of identifier this is. Today always `email`.
125409
125409
  */
125410
- type: "email";
125410
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
125411
125411
  /**
125412
125412
  * The address as the user typed it, for display.
125413
125413
  */
@@ -125579,7 +125579,7 @@ export interface UsersUsersUnbanOutput {
125579
125579
  /**
125580
125580
  * What kind of identifier this is. Today always `email`.
125581
125581
  */
125582
- type: "email";
125582
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
125583
125583
  /**
125584
125584
  * The address as the user typed it, for display.
125585
125585
  */
@@ -125770,7 +125770,7 @@ export interface UsersUsersUpdateOutput {
125770
125770
  /**
125771
125771
  * What kind of identifier this is. Today always `email`.
125772
125772
  */
125773
- type: "email";
125773
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x");
125774
125774
  /**
125775
125775
  * The address as the user typed it, for display.
125776
125776
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lepsto/sdk-app",
3
3
  "description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
4
- "version": "89.8.0",
4
+ "version": "90.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -220,5 +220,5 @@
220
220
  }
221
221
  }
222
222
  },
223
- "sdkContentHash": "sha256:5725b0f7deebb94e84774fb4a827f73d4f6170a6a5cf12dbd12634dd8ba29706"
223
+ "sdkContentHash": "sha256:6ca294f45b9bcb60e539a8d3d5bc511b46a9d207e7f56096a1eda8ca910bb389"
224
224
  }
@@ -115799,9 +115799,9 @@ export interface UsersApikeysCreateInput {
115799
115799
  */
115800
115800
  name: string
115801
115801
  /**
115802
- * 'server' mints a SECRET key (usk_…) for the Product's backend — returned exactly once and stored hashed. 'publishable' mints a non-secret key (upk_…) that identifies this product in browser flows and stays readable.
115802
+ * 'publishable' mints a non-secret key (upk_…) that identifies this product in browser flows and stays readable. It is the only key type: the secret server key (usk_…) is retired.
115803
115803
  */
115804
- type: ("server" | "publishable")
115804
+ type: "publishable"
115805
115805
  }
115806
115806
 
115807
115807
  export interface UsersApikeysCreateOutput {
@@ -115818,15 +115818,15 @@ key: string
115818
115818
  */
115819
115819
  name: string
115820
115820
  /**
115821
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
115821
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
115822
115822
  */
115823
- type: ("server" | "publishable")
115823
+ type: "publishable"
115824
115824
  /**
115825
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
115825
+ * The full value of the key, which is not a secret and stays readable.
115826
115826
  */
115827
115827
  value: (string | null)
115828
115828
  /**
115829
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
115829
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
115830
115830
  */
115831
115831
  prefix: string
115832
115832
  /**
@@ -115856,15 +115856,15 @@ id: string
115856
115856
  */
115857
115857
  name: string
115858
115858
  /**
115859
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
115859
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
115860
115860
  */
115861
- type: ("server" | "publishable")
115861
+ type: "publishable"
115862
115862
  /**
115863
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
115863
+ * The full value of the key, which is not a secret and stays readable.
115864
115864
  */
115865
115865
  value: (string | null)
115866
115866
  /**
115867
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
115867
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
115868
115868
  */
115869
115869
  prefix: string
115870
115870
  /**
@@ -115892,15 +115892,15 @@ id: string
115892
115892
  */
115893
115893
  name: string
115894
115894
  /**
115895
- * `server` for a secret backend key (usk_…), `publishable` for a browser-safe one (upk_…).
115895
+ * `publishable` — a browser-safe key (upk_…). It is the only type.
115896
115896
  */
115897
- type: ("server" | "publishable")
115897
+ type: "publishable"
115898
115898
  /**
115899
- * The full value of a publishable key, which is not a secret. Null for a server key — that value exists in exactly one response, ever.
115899
+ * The full value of the key, which is not a secret and stays readable.
115900
115900
  */
115901
115901
  value: (string | null)
115902
115902
  /**
115903
- * `usk_`/`upk_` plus six characters — enough to recognise a key, never to use one.
115903
+ * `upk_` plus six characters — enough to recognise a key, never to use one.
115904
115904
  */
115905
115905
  prefix: string
115906
115906
  /**
@@ -117834,7 +117834,7 @@ id: string
117834
117834
  /**
117835
117835
  * What kind of identifier this is. Today always `email`.
117836
117836
  */
117837
- type: "email"
117837
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
117838
117838
  /**
117839
117839
  * The address as the user typed it, for display.
117840
117840
  */
@@ -117951,7 +117951,7 @@ testUser?: boolean
117951
117951
  */
117952
117952
  waitlisted?: boolean
117953
117953
  /**
117954
- * The email addresses that reach this user. At least one is required.
117954
+ * How this user is reached: their email addresses, plus any contact channels (`phone`, `telegram`, `linkedin`, `x`). At least one is required.
117955
117955
  *
117956
117956
  * @minItems 1
117957
117957
  */
@@ -117959,13 +117959,13 @@ identifiers: [{
117959
117959
  /**
117960
117960
  * Identifier kind. Only 'email' exists in this phase.
117961
117961
  */
117962
- type: "email"
117962
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
117963
117963
  /**
117964
117964
  * The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
117965
117965
  */
117966
117966
  value: string
117967
117967
  /**
117968
- * Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
117968
+ * Record the identifier as already verified (use for trusted imports). IGNORED for contact channels, which are always stored unverified — nothing here can prove a phone or a handle. Only ONE verified copy of an email may exist per product; unverified duplicates are allowed. Default false.
117969
117969
  */
117970
117970
  verified?: boolean
117971
117971
  /**
@@ -117976,13 +117976,13 @@ isPrimary?: boolean
117976
117976
  /**
117977
117977
  * Identifier kind. Only 'email' exists in this phase.
117978
117978
  */
117979
- type: "email"
117979
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
117980
117980
  /**
117981
117981
  * The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
117982
117982
  */
117983
117983
  value: string
117984
117984
  /**
117985
- * Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
117985
+ * Record the identifier as already verified (use for trusted imports). IGNORED for contact channels, which are always stored unverified — nothing here can prove a phone or a handle. Only ONE verified copy of an email may exist per product; unverified duplicates are allowed. Default false.
117986
117986
  */
117987
117987
  verified?: boolean
117988
117988
  /**
@@ -118084,7 +118084,7 @@ id: string
118084
118084
  /**
118085
118085
  * What kind of identifier this is. Today always `email`.
118086
118086
  */
118087
- type: "email"
118087
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
118088
118088
  /**
118089
118089
  * The address as the user typed it, for display.
118090
118090
  */
@@ -118229,7 +118229,7 @@ id: string
118229
118229
  /**
118230
118230
  * What kind of identifier this is. Today always `email`.
118231
118231
  */
118232
- type: "email"
118232
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
118233
118233
  /**
118234
118234
  * The address as the user typed it, for display.
118235
118235
  */
@@ -118400,7 +118400,7 @@ id: string
118400
118400
  /**
118401
118401
  * What kind of identifier this is. Today always `email`.
118402
118402
  */
118403
- type: "email"
118403
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
118404
118404
  /**
118405
118405
  * The address as the user typed it, for display.
118406
118406
  */
@@ -118548,7 +118548,7 @@ id: string
118548
118548
  /**
118549
118549
  * What kind of identifier this is. Today always `email`.
118550
118550
  */
118551
- type: "email"
118551
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
118552
118552
  /**
118553
118553
  * The address as the user typed it, for display.
118554
118554
  */
@@ -118833,7 +118833,7 @@ id: string
118833
118833
  /**
118834
118834
  * What kind of identifier this is. Today always `email`.
118835
118835
  */
118836
- type: "email"
118836
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
118837
118837
  /**
118838
118838
  * The address as the user typed it, for display.
118839
118839
  */
@@ -119009,7 +119009,7 @@ id: string
119009
119009
  /**
119010
119010
  * What kind of identifier this is. Today always `email`.
119011
119011
  */
119012
- type: "email"
119012
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
119013
119013
  /**
119014
119014
  * The address as the user typed it, for display.
119015
119015
  */
@@ -119202,7 +119202,7 @@ id: string
119202
119202
  /**
119203
119203
  * What kind of identifier this is. Today always `email`.
119204
119204
  */
119205
- type: "email"
119205
+ type: ("email" | "phone" | "telegram" | "linkedin" | "x")
119206
119206
  /**
119207
119207
  * The address as the user typed it, for display.
119208
119208
  */