@proveanything/smartlinks 2.1.18 → 2.1.20

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.
Files changed (53) hide show
  1. package/dist/adminViews.d.ts +19 -0
  2. package/dist/adminViews.js +16 -0
  3. package/dist/api/ai.d.ts +15 -5
  4. package/dist/api/ai.js +15 -9
  5. package/dist/api/aiGuide.d.ts +110 -0
  6. package/dist/api/aiGuide.js +162 -0
  7. package/dist/api/appObjects.d.ts +21 -0
  8. package/dist/api/appObjects.js +33 -1
  9. package/dist/api/authKit.d.ts +37 -1
  10. package/dist/api/authKit.js +51 -0
  11. package/dist/docs/API_SUMMARY.md +510 -40
  12. package/dist/docs/admin-lists-and-pickers.md +140 -0
  13. package/dist/docs/admin-views.md +22 -0
  14. package/dist/docs/app-data-storage.md +277 -276
  15. package/dist/docs/auth-kit.md +872 -741
  16. package/dist/docs/comms.md +686 -644
  17. package/dist/docs/customer-guide.md +70 -0
  18. package/dist/docs/headless-providers.md +112 -112
  19. package/dist/docs/server-functions.md +69 -1
  20. package/dist/docs/ui-utils.md +123 -121
  21. package/dist/docs/user-groups.md +175 -168
  22. package/dist/headless.js +38 -2
  23. package/dist/http.js +4 -0
  24. package/dist/index.d.ts +2 -2
  25. package/dist/live.d.ts +88 -0
  26. package/dist/live.js +357 -0
  27. package/dist/openapi.yaml +888 -34
  28. package/dist/testing/index.d.ts +22 -0
  29. package/dist/testing/index.js +31 -0
  30. package/dist/types/appManifest.d.ts +214 -1
  31. package/dist/types/appOptions.d.ts +32 -0
  32. package/dist/types/appOptions.js +3 -0
  33. package/dist/types/authKit.d.ts +193 -4
  34. package/dist/types/comms.d.ts +41 -2
  35. package/dist/types/headless.d.ts +49 -1
  36. package/dist/types/iframeResponder.d.ts +1 -1
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/index.js +1 -0
  39. package/docs/API_SUMMARY.md +510 -40
  40. package/docs/admin-lists-and-pickers.md +140 -0
  41. package/docs/admin-views.md +22 -0
  42. package/docs/app-data-storage.md +277 -276
  43. package/docs/auth-kit.md +872 -741
  44. package/docs/comms.md +686 -644
  45. package/docs/customer-guide.md +70 -0
  46. package/docs/headless-providers.md +112 -112
  47. package/docs/server-functions.md +69 -1
  48. package/docs/ui-utils.md +123 -121
  49. package/docs/user-groups.md +175 -168
  50. package/openapi.yaml +888 -34
  51. package/package.json +1 -1
  52. package/scripts/doctor.mjs +454 -428
  53. package/scripts/lib/keyed-app-data.mjs +21 -0
package/openapi.yaml CHANGED
@@ -2020,6 +2020,66 @@ paths:
2020
2020
  application/json:
2021
2021
  schema:
2022
2022
  $ref: "#/components/schemas/AuthKitConfigInput"
2023
+ /admin/collection/{collectionId}/authKit/schema:
2024
+ get:
2025
+ tags:
2026
+ - authKit
2027
+ summary: "Every sign-in setting: its path, default, what reads it (`screens` / `server` / `both`), in plain words."
2028
+ operationId: authKit_schema
2029
+ security:
2030
+ - bearerAuth: []
2031
+ parameters:
2032
+ - name: collectionId
2033
+ in: path
2034
+ required: true
2035
+ schema:
2036
+ type: string
2037
+ responses:
2038
+ 200:
2039
+ description: Success
2040
+ content:
2041
+ application/json:
2042
+ schema:
2043
+ $ref: "#/components/schemas/AuthKitSchema"
2044
+ 400:
2045
+ description: Bad request
2046
+ 401:
2047
+ description: Unauthorized
2048
+ 404:
2049
+ description: Not found
2050
+ /admin/collection/{collectionId}/authKit/setup:
2051
+ post:
2052
+ tags:
2053
+ - authKit
2054
+ summary: "Set up the collection's sign-in in one call, safe to repeat: finds its sign-in (or makes one, with email + Google and confirm-then-signed-in, and makes it the collection's default), optionally gives it its own logins (ONE WAY — members of this site only; needed for invite-only) and saves a first settings patch."
2055
+ operationId: authKit_setup
2056
+ security:
2057
+ - bearerAuth: []
2058
+ parameters:
2059
+ - name: collectionId
2060
+ in: path
2061
+ required: true
2062
+ schema:
2063
+ type: string
2064
+ responses:
2065
+ 200:
2066
+ description: Success
2067
+ content:
2068
+ application/json:
2069
+ schema:
2070
+ $ref: "#/components/schemas/AuthKitSetupResponse"
2071
+ 400:
2072
+ description: Bad request
2073
+ 401:
2074
+ description: Unauthorized
2075
+ 404:
2076
+ description: Not found
2077
+ requestBody:
2078
+ required: true
2079
+ content:
2080
+ application/json:
2081
+ schema:
2082
+ $ref: "#/components/schemas/AuthKitSetupRequest"
2023
2083
  /admin/collection/{collectionId}/authKit/{authKitId}:
2024
2084
  get:
2025
2085
  tags:
@@ -2121,6 +2181,49 @@ paths:
2121
2181
  description: Unauthorized
2122
2182
  404:
2123
2183
  description: Not found
2184
+ /admin/collection/{collectionId}/authKit/{authKitId}/emails/{kind}/preview:
2185
+ post:
2186
+ tags:
2187
+ - authKit
2188
+ summary: "An account email as it would be sent now — or with draft settings (`emailTemplates`, `emailBranding`, `branding`; checked like a save, nothing stored)."
2189
+ operationId: authKit_previewEmail
2190
+ security:
2191
+ - bearerAuth: []
2192
+ parameters:
2193
+ - name: collectionId
2194
+ in: path
2195
+ required: true
2196
+ schema:
2197
+ type: string
2198
+ - name: authKitId
2199
+ in: path
2200
+ required: true
2201
+ schema:
2202
+ type: string
2203
+ - name: kind
2204
+ in: path
2205
+ required: true
2206
+ schema:
2207
+ type: string
2208
+ responses:
2209
+ 200:
2210
+ description: Success
2211
+ content:
2212
+ application/json:
2213
+ schema:
2214
+ $ref: "#/components/schemas/AuthKitEmailPreview"
2215
+ 400:
2216
+ description: Bad request
2217
+ 401:
2218
+ description: Unauthorized
2219
+ 404:
2220
+ description: Not found
2221
+ requestBody:
2222
+ required: true
2223
+ content:
2224
+ application/json:
2225
+ schema:
2226
+ $ref: "#/components/schemas/AuthKitConfigInput"
2124
2227
  /admin/collection/{collectionId}/authKit/{authKitId}/identity:
2125
2228
  post:
2126
2229
  tags:
@@ -2198,6 +2301,82 @@ paths:
2198
2301
  application/json:
2199
2302
  schema:
2200
2303
  $ref: "#/components/schemas/AuthKitInviteRequest"
2304
+ /admin/collection/{collectionId}/authKit/{authKitId}/secrets/{name}/link:
2305
+ post:
2306
+ tags:
2307
+ - authKit
2308
+ summary: A one-time SmartLinks page where the PERSON types a secret (e.g.
2309
+ operationId: authKit_secretEntryLink
2310
+ security:
2311
+ - bearerAuth: []
2312
+ parameters:
2313
+ - name: collectionId
2314
+ in: path
2315
+ required: true
2316
+ schema:
2317
+ type: string
2318
+ - name: authKitId
2319
+ in: path
2320
+ required: true
2321
+ schema:
2322
+ type: string
2323
+ - name: name
2324
+ in: path
2325
+ required: true
2326
+ schema:
2327
+ type: string
2328
+ responses:
2329
+ 200:
2330
+ description: Success
2331
+ content:
2332
+ application/json:
2333
+ schema:
2334
+ $ref: "#/components/schemas/AuthKitSecretLink"
2335
+ 400:
2336
+ description: Bad request
2337
+ 401:
2338
+ description: Unauthorized
2339
+ 404:
2340
+ description: Not found
2341
+ requestBody:
2342
+ required: true
2343
+ content:
2344
+ application/json:
2345
+ schema:
2346
+ type: object
2347
+ additionalProperties: true
2348
+ /admin/collection/{collectionId}/authKit/{authKitId}/settings:
2349
+ get:
2350
+ tags:
2351
+ - authKit
2352
+ summary: "What sign-in does now: the stored config, every default filled in, which secrets are set (masked), and checks."
2353
+ operationId: authKit_settings
2354
+ security:
2355
+ - bearerAuth: []
2356
+ parameters:
2357
+ - name: collectionId
2358
+ in: path
2359
+ required: true
2360
+ schema:
2361
+ type: string
2362
+ - name: authKitId
2363
+ in: path
2364
+ required: true
2365
+ schema:
2366
+ type: string
2367
+ responses:
2368
+ 200:
2369
+ description: Success
2370
+ content:
2371
+ application/json:
2372
+ schema:
2373
+ $ref: "#/components/schemas/AuthKitSettingsResponse"
2374
+ 400:
2375
+ description: Bad request
2376
+ 401:
2377
+ description: Unauthorized
2378
+ 404:
2379
+ description: Not found
2201
2380
  /admin/collection/{collectionId}/batch:
2202
2381
  get:
2203
2382
  tags:
@@ -9586,7 +9765,7 @@ paths:
9586
9765
  post:
9587
9766
  tags:
9588
9767
  - authKit
9589
- summary: Sign in with LinkedIn (OpenID Connect) via a server-side authorization code (public).
9768
+ summary: authKit.linkedInLogin
9590
9769
  operationId: authKit_linkedInLogin
9591
9770
  security: []
9592
9771
  parameters:
@@ -11342,38 +11521,6 @@ paths:
11342
11521
  schema:
11343
11522
  type: object
11344
11523
  additionalProperties: true
11345
- /public/collection/{collectionId}/ai/token:
11346
- post:
11347
- tags:
11348
- - sessions
11349
- summary: Generate ephemeral token for Gemini Live
11350
- operationId: sessions_getToken
11351
- security: []
11352
- parameters:
11353
- - name: collectionId
11354
- in: path
11355
- required: true
11356
- schema:
11357
- type: string
11358
- responses:
11359
- 200:
11360
- description: Success
11361
- content:
11362
- application/json:
11363
- schema:
11364
- $ref: "#/components/schemas/EphemeralTokenResponse"
11365
- 400:
11366
- description: Bad request
11367
- 401:
11368
- description: Unauthorized
11369
- 404:
11370
- description: Not found
11371
- requestBody:
11372
- required: true
11373
- content:
11374
- application/json:
11375
- schema:
11376
- $ref: "#/components/schemas/EphemeralTokenRequest"
11377
11524
  /public/collection/{collectionId}/app/config:
11378
11525
  get:
11379
11526
  tags:
@@ -20986,6 +21133,42 @@ components:
20986
21133
  type: string
20987
21134
  limit:
20988
21135
  type: number
21136
+ ServerFunctionMessage:
21137
+ type: object
21138
+ properties:
21139
+ contactId:
21140
+ type: string
21141
+ to:
21142
+ type: string
21143
+ enum:
21144
+ - caller
21145
+ templateId:
21146
+ type: string
21147
+ message:
21148
+ $ref: "#/components/schemas/TypedMessage"
21149
+ channel:
21150
+ type: string
21151
+ enum:
21152
+ - preferred
21153
+ - email
21154
+ - sms
21155
+ - whatsapp
21156
+ - push
21157
+ - wallet
21158
+ props:
21159
+ type: object
21160
+ additionalProperties: true
21161
+ include:
21162
+ type: object
21163
+ additionalProperties: true
21164
+ about:
21165
+ $ref: "#/components/schemas/MessageAbout"
21166
+ ref:
21167
+ type: string
21168
+ attach:
21169
+ type: array
21170
+ items:
21171
+ $ref: "#/components/schemas/EmailAttachmentSpec"
20989
21172
  ServerFunctionSl:
20990
21173
  type: object
20991
21174
  properties:
@@ -21004,6 +21187,12 @@ components:
21004
21187
  appRecords:
21005
21188
  type: object
21006
21189
  additionalProperties: true
21190
+ appOptions:
21191
+ type: object
21192
+ additionalProperties: true
21193
+ userGroups:
21194
+ type: object
21195
+ additionalProperties: true
21007
21196
  history:
21008
21197
  type: object
21009
21198
  additionalProperties: true
@@ -21018,9 +21207,16 @@ components:
21018
21207
  interactions:
21019
21208
  type: object
21020
21209
  additionalProperties: true
21210
+ messages:
21211
+ type: object
21212
+ additionalProperties: true
21021
21213
  tools:
21022
21214
  type: object
21023
21215
  additionalProperties: true
21216
+ assets:
21217
+ $ref: "#/components/schemas/ServerFunctionAssets"
21218
+ ai:
21219
+ $ref: "#/components/schemas/ServerFunctionAi"
21024
21220
  products: {}
21025
21221
  attestations: {}
21026
21222
  appData:
@@ -21033,15 +21229,113 @@ components:
21033
21229
  - operations
21034
21230
  - bookings
21035
21231
  - appRecords
21232
+ - appOptions
21233
+ - userGroups
21036
21234
  - history
21037
21235
  - counters
21038
21236
  - tags
21039
21237
  - contacts
21040
21238
  - interactions
21239
+ - messages
21041
21240
  - tools
21241
+ - assets
21242
+ - ai
21042
21243
  - products
21043
21244
  - attestations
21044
21245
  - appData
21246
+ ServerFunctionAsset:
21247
+ type: object
21248
+ properties:
21249
+ id:
21250
+ type: string
21251
+ appId:
21252
+ type: string
21253
+ productId:
21254
+ type: string
21255
+ proofId:
21256
+ type: string
21257
+ name:
21258
+ type: string
21259
+ assetType:
21260
+ type: string
21261
+ mimeType:
21262
+ type: string
21263
+ size:
21264
+ type: number
21265
+ width:
21266
+ type: number
21267
+ height:
21268
+ type: number
21269
+ hash:
21270
+ type: string
21271
+ url:
21272
+ type: string
21273
+ assetUrl:
21274
+ type: string
21275
+ thumbnail:
21276
+ type: string
21277
+ labels:
21278
+ type: array
21279
+ items:
21280
+ type: string
21281
+ metadata:
21282
+ type: object
21283
+ additionalProperties: true
21284
+ versions:
21285
+ type: number
21286
+ status:
21287
+ type: string
21288
+ createdAt:
21289
+ type: string
21290
+ updatedAt:
21291
+ type: string
21292
+ required:
21293
+ - id
21294
+ - appId
21295
+ - productId
21296
+ - proofId
21297
+ - name
21298
+ - assetType
21299
+ - mimeType
21300
+ - size
21301
+ - width
21302
+ - height
21303
+ - hash
21304
+ - url
21305
+ - assetUrl
21306
+ - thumbnail
21307
+ - labels
21308
+ - metadata
21309
+ - versions
21310
+ - status
21311
+ - createdAt
21312
+ - updatedAt
21313
+ ServerFunctionAssets:
21314
+ type: object
21315
+ properties: {}
21316
+ ServerFunctionAiRequest:
21317
+ type: object
21318
+ properties:
21319
+ prompt:
21320
+ type: string
21321
+ system:
21322
+ type: string
21323
+ files:
21324
+ type: array
21325
+ items:
21326
+ type: object
21327
+ additionalProperties: true
21328
+ schema:
21329
+ type: object
21330
+ additionalProperties: true
21331
+ quality:
21332
+ type: string
21333
+ enum:
21334
+ - fast
21335
+ - best
21336
+ ServerFunctionAi:
21337
+ type: object
21338
+ properties: {}
21045
21339
  ServerFunctionCaller:
21046
21340
  type: object
21047
21341
  properties:
@@ -21832,6 +22126,14 @@ components:
21832
22126
  properties:
21833
22127
  force:
21834
22128
  type: boolean
22129
+ ServerFunctionFileInput:
22130
+ type: object
22131
+ properties:
22132
+ base64:
22133
+ type: object
22134
+ additionalProperties: true
22135
+ required:
22136
+ - base64
21835
22137
  AppFunctionTriggerType:
21836
22138
  type: string
21837
22139
  enum:
@@ -21851,6 +22153,9 @@ components:
21851
22153
  RecordTransactionOp:
21852
22154
  type: object
21853
22155
  additionalProperties: true
22156
+ ServerFunctionMessageResult:
22157
+ type: object
22158
+ additionalProperties: true
21854
22159
  PaginatedResponse:
21855
22160
  type: object
21856
22161
  properties:
@@ -23021,6 +23326,38 @@ components:
23021
23326
  - facet
23022
23327
  - collection
23023
23328
  - universal
23329
+ AppOption:
23330
+ type: object
23331
+ properties:
23332
+ id:
23333
+ type: string
23334
+ label:
23335
+ type: string
23336
+ sublabel:
23337
+ type: string
23338
+ active:
23339
+ type: boolean
23340
+ order:
23341
+ type: number
23342
+ required:
23343
+ - id
23344
+ - label
23345
+ - active
23346
+ - order
23347
+ AppOptionValueInput:
23348
+ type: object
23349
+ properties:
23350
+ code:
23351
+ type: string
23352
+ label:
23353
+ type: string
23354
+ active:
23355
+ type: boolean
23356
+ required:
23357
+ - code
23358
+ AppOptionsResponse:
23359
+ type: object
23360
+ additionalProperties: true
23024
23361
  AssetRef:
23025
23362
  type: object
23026
23363
  properties:
@@ -24794,6 +25131,10 @@ components:
24794
25131
  type: string
24795
25132
  subtitle:
24796
25133
  type: string
25134
+ registerTitle:
25135
+ type: string
25136
+ registerSubtitle:
25137
+ type: string
24797
25138
  primaryColor:
24798
25139
  type: string
24799
25140
  secondaryColor:
@@ -24802,19 +25143,153 @@ components:
24802
25143
  type: string
24803
25144
  buttonStyle:
24804
25145
  type: string
25146
+ enum:
25147
+ - rounded
25148
+ - square
25149
+ - pill
24805
25150
  fontFamily:
24806
25151
  type: string
25152
+ theme:
25153
+ type: string
25154
+ enum:
25155
+ - light
25156
+ - dark
25157
+ - auto
25158
+ inheritHostStyles:
25159
+ type: boolean
25160
+ minimal:
25161
+ type: boolean
25162
+ customCss:
25163
+ type: string
25164
+ termsUrl:
25165
+ type: string
25166
+ privacyUrl:
25167
+ type: string
25168
+ AuthKitEmailTemplate:
25169
+ type: object
25170
+ properties:
25171
+ subject:
25172
+ type: string
25173
+ header:
25174
+ type: string
25175
+ introText:
25176
+ type: string
25177
+ buttonText:
25178
+ type: string
25179
+ footerText:
25180
+ type: string
25181
+ AuthKitMfaConfig:
25182
+ type: object
25183
+ properties:
25184
+ mode:
25185
+ type: string
25186
+ enum:
25187
+ - off
25188
+ - optional
25189
+ - risk-based
25190
+ - always
25191
+ factorsEnabled:
25192
+ type: object
25193
+ additionalProperties: true
25194
+ minimumFactors:
25195
+ type: number
25196
+ trustedDeviceDurationDays:
25197
+ type: number
25198
+ enforceForAdmins:
25199
+ type: boolean
24807
25200
  AuthKitConfig:
24808
25201
  type: object
24809
25202
  properties:
24810
25203
  id:
24811
25204
  type: string
25205
+ name:
25206
+ type: string
24812
25207
  branding:
24813
25208
  $ref: "#/components/schemas/AuthKitBrandingConfig"
24814
25209
  enabledProviders:
25210
+ type: array
25211
+ items:
25212
+ $ref: "#/components/schemas/AuthKitProvider"
25213
+ providerOrder:
25214
+ type: array
25215
+ items:
25216
+ $ref: "#/components/schemas/AuthKitProvider"
25217
+ emailDisplayMode:
25218
+ type: string
25219
+ enum:
25220
+ - form
25221
+ - button
25222
+ signupProminence:
25223
+ type: string
25224
+ enum:
25225
+ - none
25226
+ - minimal
25227
+ - balanced
25228
+ - emphasized
25229
+ signupRedirectUrl:
25230
+ type: string
25231
+ googleClientId:
25232
+ type: string
25233
+ googleOAuthFlow:
25234
+ type: string
25235
+ enum:
25236
+ - oneTap
25237
+ - popup
25238
+ - redirect
25239
+ whitelistedGoogleDomains:
24815
25240
  type: array
24816
25241
  items:
24817
25242
  type: string
25243
+ appleClientIds:
25244
+ type: array
25245
+ items:
25246
+ type: string
25247
+ linkedInClientId:
25248
+ type: string
25249
+ whatsappPrefillMessage:
25250
+ type: string
25251
+ whatsappReply:
25252
+ type: object
25253
+ additionalProperties: true
25254
+ registrationFields:
25255
+ type: array
25256
+ items:
25257
+ type: object
25258
+ additionalProperties: true
25259
+ collectNameOnPasswordlessSignup:
25260
+ type: boolean
25261
+ emailVerificationMode:
25262
+ type: string
25263
+ enum:
25264
+ - immediate
25265
+ - verify-auto-login
25266
+ - verify-manual-login
25267
+ emailVerificationGracePeriod:
25268
+ type: number
25269
+ lockUnverifiedAfterGrace:
25270
+ type: boolean
25271
+ allowPasswordReset:
25272
+ type: boolean
25273
+ mfa:
25274
+ $ref: "#/components/schemas/AuthKitMfaConfig"
25275
+ afterSignInUrl:
25276
+ type: string
25277
+ allowedRedirectDomains:
25278
+ type: array
25279
+ items:
25280
+ type: string
25281
+ texts:
25282
+ $ref: "#/components/schemas/AuthKitTextKey"
25283
+ emailTemplates:
25284
+ $ref: "#/components/schemas/AuthKitEmailKind"
25285
+ emailBranding:
25286
+ type: object
25287
+ additionalProperties: true
25288
+ secrets:
25289
+ type: object
25290
+ additionalProperties:
25291
+ type: object
25292
+ additionalProperties: true
24818
25293
  customCss:
24819
25294
  type: string
24820
25295
  termsUrl:
@@ -24908,6 +25383,149 @@ components:
24908
25383
  required:
24909
25384
  - identity
24910
25385
  - message
25386
+ AuthKitSchema:
25387
+ type: object
25388
+ properties:
25389
+ providers:
25390
+ type: array
25391
+ items:
25392
+ $ref: "#/components/schemas/AuthKitProvider"
25393
+ emailKinds:
25394
+ type: array
25395
+ items:
25396
+ $ref: "#/components/schemas/AuthKitEmailKind"
25397
+ emailFields:
25398
+ type: array
25399
+ items:
25400
+ type: object
25401
+ additionalProperties: true
25402
+ textKeys:
25403
+ type: array
25404
+ items:
25405
+ $ref: "#/components/schemas/AuthKitTextKey"
25406
+ secrets:
25407
+ type: array
25408
+ items:
25409
+ type: string
25410
+ serverOwned:
25411
+ type: array
25412
+ items:
25413
+ type: string
25414
+ fields:
25415
+ type: array
25416
+ items:
25417
+ type: object
25418
+ additionalProperties: true
25419
+ required:
25420
+ - providers
25421
+ - emailKinds
25422
+ - emailFields
25423
+ - textKeys
25424
+ - secrets
25425
+ - serverOwned
25426
+ - fields
25427
+ AuthKitCheck:
25428
+ type: object
25429
+ properties:
25430
+ level:
25431
+ type: string
25432
+ enum:
25433
+ - problem
25434
+ - warning
25435
+ - info
25436
+ code:
25437
+ type: string
25438
+ message:
25439
+ type: string
25440
+ setting:
25441
+ type: string
25442
+ required:
25443
+ - level
25444
+ - code
25445
+ - message
25446
+ AuthKitSettingsResponse:
25447
+ type: object
25448
+ properties:
25449
+ authKitId:
25450
+ type: string
25451
+ ownLogins:
25452
+ type: string
25453
+ enum:
25454
+ - own
25455
+ - shared
25456
+ config:
25457
+ $ref: "#/components/schemas/AuthKitConfig"
25458
+ effective:
25459
+ $ref: "#/components/schemas/AuthKitConfig"
25460
+ secrets:
25461
+ type: object
25462
+ additionalProperties:
25463
+ type: object
25464
+ additionalProperties: true
25465
+ checks:
25466
+ type: array
25467
+ items:
25468
+ $ref: "#/components/schemas/AuthKitCheck"
25469
+ required:
25470
+ - authKitId
25471
+ - ownLogins
25472
+ - config
25473
+ - effective
25474
+ - secrets
25475
+ - checks
25476
+ AuthKitSetupRequest:
25477
+ type: object
25478
+ properties:
25479
+ name:
25480
+ type: string
25481
+ ownLogins:
25482
+ type: boolean
25483
+ settings:
25484
+ $ref: "#/components/schemas/AuthKitConfigInput"
25485
+ AuthKitSetupResponse:
25486
+ type: object
25487
+ properties:
25488
+ authKit:
25489
+ $ref: "#/components/schemas/AuthKitConfig"
25490
+ created:
25491
+ type: boolean
25492
+ ownLogins:
25493
+ type: string
25494
+ enum:
25495
+ - own
25496
+ - shared
25497
+ changed:
25498
+ type: array
25499
+ items:
25500
+ type: string
25501
+ required:
25502
+ - authKit
25503
+ - created
25504
+ - ownLogins
25505
+ - changed
25506
+ AuthKitEmailPreview:
25507
+ type: object
25508
+ properties:
25509
+ kind:
25510
+ $ref: "#/components/schemas/AuthKitEmailKind"
25511
+ subject:
25512
+ type: string
25513
+ html:
25514
+ type: string
25515
+ required:
25516
+ - kind
25517
+ - subject
25518
+ - html
25519
+ AuthKitSecretLink:
25520
+ type: object
25521
+ properties:
25522
+ url:
25523
+ type: string
25524
+ expiresAt:
25525
+ type: string
25526
+ required:
25527
+ - url
25528
+ - expiresAt
24911
25529
  AuthKitSecurityConfig:
24912
25530
  type: object
24913
25531
  properties:
@@ -25001,6 +25619,53 @@ components:
25001
25619
  - failed
25002
25620
  - expired
25003
25621
  - unknown
25622
+ AuthKitProvider:
25623
+ type: string
25624
+ enum:
25625
+ - email
25626
+ - magic-link
25627
+ - phone
25628
+ - whatsapp
25629
+ - google
25630
+ - apple
25631
+ - microsoft
25632
+ - linkedin
25633
+ AuthKitEmailKind:
25634
+ type: string
25635
+ enum:
25636
+ - passwordReset
25637
+ - emailVerification
25638
+ - magicLink
25639
+ - memberInvite
25640
+ - invite
25641
+ - addedToCollection
25642
+ - mfaCode
25643
+ - providerLinked
25644
+ AuthKitTextKey:
25645
+ type: string
25646
+ enum:
25647
+ - signInTitle
25648
+ - signInSubtitle
25649
+ - registerTitle
25650
+ - registerSubtitle
25651
+ - emailLabel
25652
+ - passwordLabel
25653
+ - signInButton
25654
+ - registerButton
25655
+ - forgotPassword
25656
+ - noAccount
25657
+ - haveAccount
25658
+ - continueWithEmail
25659
+ - continueWithGoogle
25660
+ - continueWithApple
25661
+ - continueWithMicrosoft
25662
+ - continueWithLinkedIn
25663
+ - continueWithPhone
25664
+ - continueWithWhatsApp
25665
+ - continueWithMagicLink
25666
+ - sendMagicLink
25667
+ - magicLinkSent
25668
+ - inviteOnlyNotice
25004
25669
  AuthKitConfigInput:
25005
25670
  $ref: "#/components/schemas/AuthKitConfig"
25006
25671
  PasswordPolicyErrorCode:
@@ -27520,6 +28185,8 @@ components:
27520
28185
  type: string
27521
28186
  templateId:
27522
28187
  type: string
28188
+ message:
28189
+ $ref: "#/components/schemas/TypedMessage"
27523
28190
  channel:
27524
28191
  type: string
27525
28192
  enum:
@@ -27553,13 +28220,18 @@ components:
27553
28220
  type: string
27554
28221
  appId:
27555
28222
  type: string
28223
+ about:
28224
+ $ref: "#/components/schemas/MessageAbout"
28225
+ category:
28226
+ type: string
28227
+ enum:
28228
+ - service
27556
28229
  attach:
27557
28230
  type: array
27558
28231
  items:
27559
28232
  $ref: "#/components/schemas/EmailAttachmentSpec"
27560
28233
  required:
27561
28234
  - contactId
27562
- - templateId
27563
28235
  TransactionalSendResponse:
27564
28236
  type: object
27565
28237
  properties:
@@ -27583,6 +28255,37 @@ components:
27583
28255
  required:
27584
28256
  - ok
27585
28257
  - channel
28258
+ TypedMessage:
28259
+ type: object
28260
+ properties:
28261
+ subject:
28262
+ type: string
28263
+ body:
28264
+ type: string
28265
+ sms:
28266
+ type: string
28267
+ required:
28268
+ - body
28269
+ MessageAbout:
28270
+ type: object
28271
+ properties:
28272
+ appId:
28273
+ type: string
28274
+ type:
28275
+ type: string
28276
+ id:
28277
+ type: string
28278
+ view:
28279
+ type: string
28280
+ params:
28281
+ type: object
28282
+ additionalProperties:
28283
+ type: string
28284
+ label:
28285
+ type: string
28286
+ required:
28287
+ - type
28288
+ - id
27586
28289
  TransactionalSendError:
27587
28290
  type: object
27588
28291
  properties:
@@ -28956,8 +29659,39 @@ components:
28956
29659
  type: array
28957
29660
  items:
28958
29661
  type: string
29662
+ list:
29663
+ type: string
28959
29664
  required:
28960
29665
  - type
29666
+ AppValueListValue:
29667
+ type: object
29668
+ properties:
29669
+ code:
29670
+ type: string
29671
+ label:
29672
+ type: string
29673
+ active:
29674
+ type: boolean
29675
+ required:
29676
+ - code
29677
+ AppValueList:
29678
+ type: object
29679
+ properties:
29680
+ label:
29681
+ type: string
29682
+ description:
29683
+ type: string
29684
+ values:
29685
+ type: array
29686
+ items:
29687
+ $ref: "#/components/schemas/AppValueListValue"
29688
+ editable:
29689
+ type: boolean
29690
+ public:
29691
+ type: boolean
29692
+ required:
29693
+ - label
29694
+ - values
28961
29695
  AppDataType:
28962
29696
  type: object
28963
29697
  properties:
@@ -28998,6 +29732,22 @@ components:
28998
29732
  additionalProperties: true
28999
29733
  since:
29000
29734
  type: string
29735
+ title:
29736
+ type: string
29737
+ label:
29738
+ type: string
29739
+ sublabel:
29740
+ type: string
29741
+ activeField:
29742
+ type: string
29743
+ orderField:
29744
+ type: string
29745
+ small:
29746
+ type: boolean
29747
+ setup:
29748
+ type: boolean
29749
+ checked:
29750
+ type: boolean
29001
29751
  required:
29002
29752
  - description
29003
29753
  - storage
@@ -29011,6 +29761,10 @@ components:
29011
29761
  type: object
29012
29762
  additionalProperties:
29013
29763
  $ref: "#/components/schemas/AppDataType"
29764
+ lists:
29765
+ type: object
29766
+ additionalProperties:
29767
+ $ref: "#/components/schemas/AppValueList"
29014
29768
  required:
29015
29769
  - schemaVersion
29016
29770
  - types
@@ -35841,6 +36595,106 @@ components:
35841
36595
  loading: {}
35842
36596
  required:
35843
36597
  - appId
36598
+ GuideInfo:
36599
+ type: object
36600
+ properties:
36601
+ enabled:
36602
+ type: boolean
36603
+ name:
36604
+ type: string
36605
+ modes:
36606
+ type: object
36607
+ additionalProperties: true
36608
+ suggestions:
36609
+ type: array
36610
+ items:
36611
+ type: string
36612
+ handoff:
36613
+ type: object
36614
+ additionalProperties: true
36615
+ required:
36616
+ - enabled
36617
+ ScreenContent:
36618
+ type: object
36619
+ properties:
36620
+ appId:
36621
+ type: string
36622
+ title:
36623
+ type: string
36624
+ content:
36625
+ type: string
36626
+ GuideWhere:
36627
+ type: object
36628
+ properties:
36629
+ appId:
36630
+ type: string
36631
+ path:
36632
+ type: string
36633
+ params:
36634
+ type: object
36635
+ additionalProperties:
36636
+ type: string
36637
+ GuideNavigate:
36638
+ type: object
36639
+ properties:
36640
+ appId:
36641
+ type: string
36642
+ path:
36643
+ type: string
36644
+ params:
36645
+ type: object
36646
+ additionalProperties:
36647
+ type: string
36648
+ required:
36649
+ - appId
36650
+ - path
36651
+ GuideCard:
36652
+ type: object
36653
+ properties:
36654
+ title:
36655
+ type: string
36656
+ rows:
36657
+ type: array
36658
+ items:
36659
+ type: object
36660
+ additionalProperties: true
36661
+ more:
36662
+ type: number
36663
+ required:
36664
+ - title
36665
+ - rows
36666
+ GuideStartOptions:
36667
+ type: object
36668
+ properties:
36669
+ surface:
36670
+ $ref: "#/components/schemas/GuideSurface"
36671
+ mode:
36672
+ type: string
36673
+ enum:
36674
+ - voice
36675
+ - text
36676
+ productId:
36677
+ type: string
36678
+ proofId:
36679
+ type: string
36680
+ apps:
36681
+ type: array
36682
+ items:
36683
+ type: object
36684
+ additionalProperties: true
36685
+ where:
36686
+ $ref: "#/components/schemas/GuideWhere"
36687
+ language:
36688
+ type: string
36689
+ screen:
36690
+ $ref: "#/components/schemas/ScreenContent"
36691
+ required:
36692
+ - surface
36693
+ GuideSurface:
36694
+ type: string
36695
+ enum:
36696
+ - portal
36697
+ - hub
35844
36698
  AppConfigOptions:
35845
36699
  type: object
35846
36700
  properties: