@lessly/sdk-app 99.7.0 → 99.8.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
@@ -125,10 +125,11 @@ before this point lives in that package.
125
125
  The publish pipeline appends its machine-rendered block for the release being
126
126
  built below this line. It is not committed back to the repo, so in a git
127
127
  checkout this section is empty — see the note at the top.
128
- ## 99.7.0 (minor)
128
+ ## 99.8.0 (minor)
129
129
 
130
130
  ### users
131
- - `users_config_get`: new optional field `email.requireVerified (output)`
132
- - `users_config_upsert`: new optional field `email.requireVerified`
133
- - `users_config_upsert`: new optional field `email.requireVerified (output)`
131
+ - `users_config_get`: new optional field `email.templates (output)`
132
+ - `users_config_upsert`: new optional field `email.templates`
133
+ - `users_config_upsert`: new optional field `email.templates (output)`
134
+ - `users_config_upsert`: description updated
134
135
 
@@ -137863,6 +137863,79 @@ export interface UsersConfigGetOutput {
137863
137863
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
137864
137864
  */
137865
137865
  from: (string | null);
137866
+ /**
137867
+ * Auth emails sent from a mail-toolkit template, by purpose (e.g. `sign_in`). An absent purpose uses the built-in email.
137868
+ */
137869
+ templates: {
137870
+ /**
137871
+ * Id of a published template in this product’s mail toolkit.
137872
+ */
137873
+ invite?: string;
137874
+ /**
137875
+ * Id of a published template in this product’s mail toolkit.
137876
+ */
137877
+ verify?: string;
137878
+ /**
137879
+ * Id of a published template in this product’s mail toolkit.
137880
+ */
137881
+ sign_in?: string;
137882
+ /**
137883
+ * Id of a published template in this product’s mail toolkit.
137884
+ */
137885
+ mfa_reset?: string;
137886
+ /**
137887
+ * Id of a published template in this product’s mail toolkit.
137888
+ */
137889
+ new_device?: string;
137890
+ /**
137891
+ * Id of a published template in this product’s mail toolkit.
137892
+ */
137893
+ impersonation?: string;
137894
+ /**
137895
+ * Id of a published template in this product’s mail toolkit.
137896
+ */
137897
+ password_reset?: string;
137898
+ /**
137899
+ * Id of a published template in this product’s mail toolkit.
137900
+ */
137901
+ waitlist_joined?: string;
137902
+ /**
137903
+ * Id of a published template in this product’s mail toolkit.
137904
+ */
137905
+ password_changed?: string;
137906
+ /**
137907
+ * Id of a published template in this product’s mail toolkit.
137908
+ */
137909
+ waitlist_confirm?: string;
137910
+ /**
137911
+ * Id of a published template in this product’s mail toolkit.
137912
+ */
137913
+ email_change_revert?: string;
137914
+ /**
137915
+ * Id of a published template in this product’s mail toolkit.
137916
+ */
137917
+ mfa_reset_scheduled?: string;
137918
+ /**
137919
+ * Id of a published template in this product’s mail toolkit.
137920
+ */
137921
+ email_change_approve?: string;
137922
+ /**
137923
+ * Id of a published template in this product’s mail toolkit.
137924
+ */
137925
+ email_change_confirm?: string;
137926
+ /**
137927
+ * Id of a published template in this product’s mail toolkit.
137928
+ */
137929
+ email_change_reverted?: string;
137930
+ /**
137931
+ * Id of a published template in this product’s mail toolkit.
137932
+ */
137933
+ email_change_completed?: string;
137934
+ /**
137935
+ * Id of a published template in this product’s mail toolkit.
137936
+ */
137937
+ email_change_override_cancel?: string;
137938
+ };
137866
137939
  /**
137867
137940
  * Offer the 6-digit code strategy (email_code). Default true.
137868
137941
  */
@@ -138161,6 +138234,97 @@ export interface UsersConfigUpsertInput {
138161
138234
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
138162
138235
  */
138163
138236
  from?: (string | null);
138237
+ /**
138238
+ * Bind auth emails to mail-toolkit templates, by purpose. Merged purpose by purpose; `null` returns that purpose to the built-in email. The template must be PUBLISHED in this product's mail toolkit and use the purpose's required variables as {{ name }}; this server checks only the purpose and the id format, not the template. If mail cannot render it at send time, the built-in email is sent instead and `auth_email.template_fallback` is audited.
138239
+ * Variables Users passes, per purpose (`*` = required: the template must use it; `?` = sent only sometimes, so the template must not require it; the rest are always sent):
138240
+ * sign_in: code*, expires_in_minutes, link_url?
138241
+ * verify: code*, expires_in_minutes, link_url?
138242
+ * password_reset: link_url*, expires_in_minutes
138243
+ * invite: link_url*, expires_in_minutes
138244
+ * email_change_confirm: link_url*, expires_in_minutes
138245
+ * email_change_approve: link_url*, expires_in_minutes, new_address
138246
+ * email_change_revert: link_url*, expires_in_minutes, new_address
138247
+ * email_change_override_cancel: link_url*, expires_in_minutes, new_address, takes_effect_in
138248
+ * password_changed: none
138249
+ * new_device: browser?
138250
+ * email_change_completed: none
138251
+ * email_change_reverted: none
138252
+ * mfa_reset_scheduled: link_url*, expires_in_minutes, takes_effect_in
138253
+ * mfa_reset: none
138254
+ * impersonation: reason
138255
+ * waitlist_confirm: link_url*, expires_in_minutes
138256
+ * waitlist_joined: link_url*, expires_in_minutes
138257
+ */
138258
+ templates?: {
138259
+ /**
138260
+ * Id of a published template in this product’s mail toolkit.
138261
+ */
138262
+ invite?: (string | null);
138263
+ /**
138264
+ * Id of a published template in this product’s mail toolkit.
138265
+ */
138266
+ verify?: (string | null);
138267
+ /**
138268
+ * Id of a published template in this product’s mail toolkit.
138269
+ */
138270
+ sign_in?: (string | null);
138271
+ /**
138272
+ * Id of a published template in this product’s mail toolkit.
138273
+ */
138274
+ mfa_reset?: (string | null);
138275
+ /**
138276
+ * Id of a published template in this product’s mail toolkit.
138277
+ */
138278
+ new_device?: (string | null);
138279
+ /**
138280
+ * Id of a published template in this product’s mail toolkit.
138281
+ */
138282
+ impersonation?: (string | null);
138283
+ /**
138284
+ * Id of a published template in this product’s mail toolkit.
138285
+ */
138286
+ password_reset?: (string | null);
138287
+ /**
138288
+ * Id of a published template in this product’s mail toolkit.
138289
+ */
138290
+ waitlist_joined?: (string | null);
138291
+ /**
138292
+ * Id of a published template in this product’s mail toolkit.
138293
+ */
138294
+ password_changed?: (string | null);
138295
+ /**
138296
+ * Id of a published template in this product’s mail toolkit.
138297
+ */
138298
+ waitlist_confirm?: (string | null);
138299
+ /**
138300
+ * Id of a published template in this product’s mail toolkit.
138301
+ */
138302
+ email_change_revert?: (string | null);
138303
+ /**
138304
+ * Id of a published template in this product’s mail toolkit.
138305
+ */
138306
+ mfa_reset_scheduled?: (string | null);
138307
+ /**
138308
+ * Id of a published template in this product’s mail toolkit.
138309
+ */
138310
+ email_change_approve?: (string | null);
138311
+ /**
138312
+ * Id of a published template in this product’s mail toolkit.
138313
+ */
138314
+ email_change_confirm?: (string | null);
138315
+ /**
138316
+ * Id of a published template in this product’s mail toolkit.
138317
+ */
138318
+ email_change_reverted?: (string | null);
138319
+ /**
138320
+ * Id of a published template in this product’s mail toolkit.
138321
+ */
138322
+ email_change_completed?: (string | null);
138323
+ /**
138324
+ * Id of a published template in this product’s mail toolkit.
138325
+ */
138326
+ email_change_override_cancel?: (string | null);
138327
+ };
138164
138328
  /**
138165
138329
  * Offer the 6-digit code strategy (email_code). Default true.
138166
138330
  */
@@ -138547,6 +138711,79 @@ export interface UsersConfigUpsertOutput {
138547
138711
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
138548
138712
  */
138549
138713
  from: (string | null);
138714
+ /**
138715
+ * Auth emails sent from a mail-toolkit template, by purpose (e.g. `sign_in`). An absent purpose uses the built-in email.
138716
+ */
138717
+ templates: {
138718
+ /**
138719
+ * Id of a published template in this product’s mail toolkit.
138720
+ */
138721
+ invite?: string;
138722
+ /**
138723
+ * Id of a published template in this product’s mail toolkit.
138724
+ */
138725
+ verify?: string;
138726
+ /**
138727
+ * Id of a published template in this product’s mail toolkit.
138728
+ */
138729
+ sign_in?: string;
138730
+ /**
138731
+ * Id of a published template in this product’s mail toolkit.
138732
+ */
138733
+ mfa_reset?: string;
138734
+ /**
138735
+ * Id of a published template in this product’s mail toolkit.
138736
+ */
138737
+ new_device?: string;
138738
+ /**
138739
+ * Id of a published template in this product’s mail toolkit.
138740
+ */
138741
+ impersonation?: string;
138742
+ /**
138743
+ * Id of a published template in this product’s mail toolkit.
138744
+ */
138745
+ password_reset?: string;
138746
+ /**
138747
+ * Id of a published template in this product’s mail toolkit.
138748
+ */
138749
+ waitlist_joined?: string;
138750
+ /**
138751
+ * Id of a published template in this product’s mail toolkit.
138752
+ */
138753
+ password_changed?: string;
138754
+ /**
138755
+ * Id of a published template in this product’s mail toolkit.
138756
+ */
138757
+ waitlist_confirm?: string;
138758
+ /**
138759
+ * Id of a published template in this product’s mail toolkit.
138760
+ */
138761
+ email_change_revert?: string;
138762
+ /**
138763
+ * Id of a published template in this product’s mail toolkit.
138764
+ */
138765
+ mfa_reset_scheduled?: string;
138766
+ /**
138767
+ * Id of a published template in this product’s mail toolkit.
138768
+ */
138769
+ email_change_approve?: string;
138770
+ /**
138771
+ * Id of a published template in this product’s mail toolkit.
138772
+ */
138773
+ email_change_confirm?: string;
138774
+ /**
138775
+ * Id of a published template in this product’s mail toolkit.
138776
+ */
138777
+ email_change_reverted?: string;
138778
+ /**
138779
+ * Id of a published template in this product’s mail toolkit.
138780
+ */
138781
+ email_change_completed?: string;
138782
+ /**
138783
+ * Id of a published template in this product’s mail toolkit.
138784
+ */
138785
+ email_change_override_cancel?: string;
138786
+ };
138550
138787
  /**
138551
138788
  * Offer the 6-digit code strategy (email_code). Default true.
138552
138789
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "99.7.0",
4
+ "version": "99.8.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:9914b0a7ca378e8dfd4c33e53b7880dd191728d80024b7f18ca64f5bda159c2a"
223
+ "sdkContentHash": "sha256:f649d8e7f38e7c082eb9deac31fc1d9a9bc0ac6e491b210d0cafaa630248aa24"
224
224
  }
@@ -130811,6 +130811,79 @@ email: {
130811
130811
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
130812
130812
  */
130813
130813
  from: (string | null)
130814
+ /**
130815
+ * Auth emails sent from a mail-toolkit template, by purpose (e.g. `sign_in`). An absent purpose uses the built-in email.
130816
+ */
130817
+ templates: {
130818
+ /**
130819
+ * Id of a published template in this product’s mail toolkit.
130820
+ */
130821
+ invite?: string
130822
+ /**
130823
+ * Id of a published template in this product’s mail toolkit.
130824
+ */
130825
+ verify?: string
130826
+ /**
130827
+ * Id of a published template in this product’s mail toolkit.
130828
+ */
130829
+ sign_in?: string
130830
+ /**
130831
+ * Id of a published template in this product’s mail toolkit.
130832
+ */
130833
+ mfa_reset?: string
130834
+ /**
130835
+ * Id of a published template in this product’s mail toolkit.
130836
+ */
130837
+ new_device?: string
130838
+ /**
130839
+ * Id of a published template in this product’s mail toolkit.
130840
+ */
130841
+ impersonation?: string
130842
+ /**
130843
+ * Id of a published template in this product’s mail toolkit.
130844
+ */
130845
+ password_reset?: string
130846
+ /**
130847
+ * Id of a published template in this product’s mail toolkit.
130848
+ */
130849
+ waitlist_joined?: string
130850
+ /**
130851
+ * Id of a published template in this product’s mail toolkit.
130852
+ */
130853
+ password_changed?: string
130854
+ /**
130855
+ * Id of a published template in this product’s mail toolkit.
130856
+ */
130857
+ waitlist_confirm?: string
130858
+ /**
130859
+ * Id of a published template in this product’s mail toolkit.
130860
+ */
130861
+ email_change_revert?: string
130862
+ /**
130863
+ * Id of a published template in this product’s mail toolkit.
130864
+ */
130865
+ mfa_reset_scheduled?: string
130866
+ /**
130867
+ * Id of a published template in this product’s mail toolkit.
130868
+ */
130869
+ email_change_approve?: string
130870
+ /**
130871
+ * Id of a published template in this product’s mail toolkit.
130872
+ */
130873
+ email_change_confirm?: string
130874
+ /**
130875
+ * Id of a published template in this product’s mail toolkit.
130876
+ */
130877
+ email_change_reverted?: string
130878
+ /**
130879
+ * Id of a published template in this product’s mail toolkit.
130880
+ */
130881
+ email_change_completed?: string
130882
+ /**
130883
+ * Id of a published template in this product’s mail toolkit.
130884
+ */
130885
+ email_change_override_cancel?: string
130886
+ }
130814
130887
  /**
130815
130888
  * Offer the 6-digit code strategy (email_code). Default true.
130816
130889
  */
@@ -131110,6 +131183,97 @@ email?: {
131110
131183
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
131111
131184
  */
131112
131185
  from?: (string | null)
131186
+ /**
131187
+ * Bind auth emails to mail-toolkit templates, by purpose. Merged purpose by purpose; `null` returns that purpose to the built-in email. The template must be PUBLISHED in this product's mail toolkit and use the purpose's required variables as {{ name }}; this server checks only the purpose and the id format, not the template. If mail cannot render it at send time, the built-in email is sent instead and `auth_email.template_fallback` is audited.
131188
+ * Variables Users passes, per purpose (`*` = required: the template must use it; `?` = sent only sometimes, so the template must not require it; the rest are always sent):
131189
+ * sign_in: code*, expires_in_minutes, link_url?
131190
+ * verify: code*, expires_in_minutes, link_url?
131191
+ * password_reset: link_url*, expires_in_minutes
131192
+ * invite: link_url*, expires_in_minutes
131193
+ * email_change_confirm: link_url*, expires_in_minutes
131194
+ * email_change_approve: link_url*, expires_in_minutes, new_address
131195
+ * email_change_revert: link_url*, expires_in_minutes, new_address
131196
+ * email_change_override_cancel: link_url*, expires_in_minutes, new_address, takes_effect_in
131197
+ * password_changed: none
131198
+ * new_device: browser?
131199
+ * email_change_completed: none
131200
+ * email_change_reverted: none
131201
+ * mfa_reset_scheduled: link_url*, expires_in_minutes, takes_effect_in
131202
+ * mfa_reset: none
131203
+ * impersonation: reason
131204
+ * waitlist_confirm: link_url*, expires_in_minutes
131205
+ * waitlist_joined: link_url*, expires_in_minutes
131206
+ */
131207
+ templates?: {
131208
+ /**
131209
+ * Id of a published template in this product’s mail toolkit.
131210
+ */
131211
+ invite?: (string | null)
131212
+ /**
131213
+ * Id of a published template in this product’s mail toolkit.
131214
+ */
131215
+ verify?: (string | null)
131216
+ /**
131217
+ * Id of a published template in this product’s mail toolkit.
131218
+ */
131219
+ sign_in?: (string | null)
131220
+ /**
131221
+ * Id of a published template in this product’s mail toolkit.
131222
+ */
131223
+ mfa_reset?: (string | null)
131224
+ /**
131225
+ * Id of a published template in this product’s mail toolkit.
131226
+ */
131227
+ new_device?: (string | null)
131228
+ /**
131229
+ * Id of a published template in this product’s mail toolkit.
131230
+ */
131231
+ impersonation?: (string | null)
131232
+ /**
131233
+ * Id of a published template in this product’s mail toolkit.
131234
+ */
131235
+ password_reset?: (string | null)
131236
+ /**
131237
+ * Id of a published template in this product’s mail toolkit.
131238
+ */
131239
+ waitlist_joined?: (string | null)
131240
+ /**
131241
+ * Id of a published template in this product’s mail toolkit.
131242
+ */
131243
+ password_changed?: (string | null)
131244
+ /**
131245
+ * Id of a published template in this product’s mail toolkit.
131246
+ */
131247
+ waitlist_confirm?: (string | null)
131248
+ /**
131249
+ * Id of a published template in this product’s mail toolkit.
131250
+ */
131251
+ email_change_revert?: (string | null)
131252
+ /**
131253
+ * Id of a published template in this product’s mail toolkit.
131254
+ */
131255
+ mfa_reset_scheduled?: (string | null)
131256
+ /**
131257
+ * Id of a published template in this product’s mail toolkit.
131258
+ */
131259
+ email_change_approve?: (string | null)
131260
+ /**
131261
+ * Id of a published template in this product’s mail toolkit.
131262
+ */
131263
+ email_change_confirm?: (string | null)
131264
+ /**
131265
+ * Id of a published template in this product’s mail toolkit.
131266
+ */
131267
+ email_change_reverted?: (string | null)
131268
+ /**
131269
+ * Id of a published template in this product’s mail toolkit.
131270
+ */
131271
+ email_change_completed?: (string | null)
131272
+ /**
131273
+ * Id of a published template in this product’s mail toolkit.
131274
+ */
131275
+ email_change_override_cancel?: (string | null)
131276
+ }
131113
131277
  /**
131114
131278
  * Offer the 6-digit code strategy (email_code). Default true.
131115
131279
  */
@@ -131497,6 +131661,79 @@ email: {
131497
131661
  * Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
131498
131662
  */
131499
131663
  from: (string | null)
131664
+ /**
131665
+ * Auth emails sent from a mail-toolkit template, by purpose (e.g. `sign_in`). An absent purpose uses the built-in email.
131666
+ */
131667
+ templates: {
131668
+ /**
131669
+ * Id of a published template in this product’s mail toolkit.
131670
+ */
131671
+ invite?: string
131672
+ /**
131673
+ * Id of a published template in this product’s mail toolkit.
131674
+ */
131675
+ verify?: string
131676
+ /**
131677
+ * Id of a published template in this product’s mail toolkit.
131678
+ */
131679
+ sign_in?: string
131680
+ /**
131681
+ * Id of a published template in this product’s mail toolkit.
131682
+ */
131683
+ mfa_reset?: string
131684
+ /**
131685
+ * Id of a published template in this product’s mail toolkit.
131686
+ */
131687
+ new_device?: string
131688
+ /**
131689
+ * Id of a published template in this product’s mail toolkit.
131690
+ */
131691
+ impersonation?: string
131692
+ /**
131693
+ * Id of a published template in this product’s mail toolkit.
131694
+ */
131695
+ password_reset?: string
131696
+ /**
131697
+ * Id of a published template in this product’s mail toolkit.
131698
+ */
131699
+ waitlist_joined?: string
131700
+ /**
131701
+ * Id of a published template in this product’s mail toolkit.
131702
+ */
131703
+ password_changed?: string
131704
+ /**
131705
+ * Id of a published template in this product’s mail toolkit.
131706
+ */
131707
+ waitlist_confirm?: string
131708
+ /**
131709
+ * Id of a published template in this product’s mail toolkit.
131710
+ */
131711
+ email_change_revert?: string
131712
+ /**
131713
+ * Id of a published template in this product’s mail toolkit.
131714
+ */
131715
+ mfa_reset_scheduled?: string
131716
+ /**
131717
+ * Id of a published template in this product’s mail toolkit.
131718
+ */
131719
+ email_change_approve?: string
131720
+ /**
131721
+ * Id of a published template in this product’s mail toolkit.
131722
+ */
131723
+ email_change_confirm?: string
131724
+ /**
131725
+ * Id of a published template in this product’s mail toolkit.
131726
+ */
131727
+ email_change_reverted?: string
131728
+ /**
131729
+ * Id of a published template in this product’s mail toolkit.
131730
+ */
131731
+ email_change_completed?: string
131732
+ /**
131733
+ * Id of a published template in this product’s mail toolkit.
131734
+ */
131735
+ email_change_override_cancel?: string
131736
+ }
131500
131737
  /**
131501
131738
  * Offer the 6-digit code strategy (email_code). Default true.
131502
131739
  */