@proveanything/smartlinks 1.15.17 → 1.15.19

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/openapi.yaml CHANGED
@@ -8401,7 +8401,7 @@ paths:
8401
8401
  post:
8402
8402
  tags:
8403
8403
  - authKit
8404
- summary: Login with email + password (public).
8404
+ summary: authKit.login
8405
8405
  operationId: authKit_login
8406
8406
  security: []
8407
8407
  parameters:
@@ -13941,6 +13941,23 @@ paths:
13941
13941
  required: false
13942
13942
  schema:
13943
13943
  type: string
13944
+ - name: parentIds
13945
+ in: query
13946
+ required: false
13947
+ schema:
13948
+ type: array
13949
+ items:
13950
+ type: string
13951
+ - name: proofId
13952
+ in: query
13953
+ required: false
13954
+ schema:
13955
+ type: string
13956
+ - name: productId
13957
+ in: query
13958
+ required: false
13959
+ schema:
13960
+ type: string
13944
13961
  - name: tag
13945
13962
  in: query
13946
13963
  required: false
@@ -14182,6 +14199,52 @@ paths:
14182
14199
  application/json:
14183
14200
  schema:
14184
14201
  $ref: "#/components/schemas/ReplyInput"
14202
+ /{zone}/collection/{collectionId}/app/{appId}/threads/{threadId}/reply/{replyId}:
14203
+ delete:
14204
+ tags:
14205
+ - threads
14206
+ summary: Delete a single reply from a thread by its reply id (moderation).
14207
+ operationId: threads_deleteReply
14208
+ security: []
14209
+ parameters:
14210
+ - name: zone
14211
+ in: path
14212
+ required: true
14213
+ schema:
14214
+ type: string
14215
+ - name: collectionId
14216
+ in: path
14217
+ required: true
14218
+ schema:
14219
+ type: string
14220
+ - name: appId
14221
+ in: path
14222
+ required: true
14223
+ schema:
14224
+ type: string
14225
+ - name: threadId
14226
+ in: path
14227
+ required: true
14228
+ schema:
14229
+ type: string
14230
+ - name: replyId
14231
+ in: path
14232
+ required: true
14233
+ schema:
14234
+ type: string
14235
+ responses:
14236
+ 200:
14237
+ description: Success
14238
+ content:
14239
+ application/json:
14240
+ schema:
14241
+ $ref: "#/components/schemas/AppThread"
14242
+ 400:
14243
+ description: Bad request
14244
+ 401:
14245
+ description: Unauthorized
14246
+ 404:
14247
+ description: Not found
14185
14248
  components:
14186
14249
  securitySchemes:
14187
14250
  bearerAuth:
@@ -16967,6 +17030,8 @@ components:
16967
17030
  admin:
16968
17031
  type: object
16969
17032
  additionalProperties: true
17033
+ firstReply:
17034
+ $ref: "#/components/schemas/ReplyInput"
16970
17035
  UpdateThreadInput:
16971
17036
  type: object
16972
17037
  properties:
@@ -17012,6 +17077,14 @@ components:
17012
17077
  type: string
17013
17078
  parentId:
17014
17079
  type: string
17080
+ parentIds:
17081
+ type: array
17082
+ items:
17083
+ type: string
17084
+ proofId:
17085
+ type: string
17086
+ productId:
17087
+ type: string
17015
17088
  tag:
17016
17089
  type: string
17017
17090
  contactId:
@@ -19308,8 +19381,69 @@ components:
19308
19381
  type: string
19309
19382
  updatedAt:
19310
19383
  type: string
19384
+ security:
19385
+ $ref: "#/components/schemas/AuthKitSecurityConfig"
19311
19386
  required:
19312
19387
  - id
19388
+ AuthKitSecurityConfig:
19389
+ type: object
19390
+ properties:
19391
+ passwordPolicy:
19392
+ $ref: "#/components/schemas/AuthKitPasswordPolicy"
19393
+ session:
19394
+ $ref: "#/components/schemas/AuthKitSessionPolicy"
19395
+ lockout:
19396
+ $ref: "#/components/schemas/AuthKitLockoutPolicy"
19397
+ AuthKitPasswordPolicy:
19398
+ type: object
19399
+ properties:
19400
+ minLength:
19401
+ type: number
19402
+ requireUppercase:
19403
+ type: boolean
19404
+ requireLowercase:
19405
+ type: boolean
19406
+ requireNumber:
19407
+ type: boolean
19408
+ requireSymbol:
19409
+ type: boolean
19410
+ blockCommonPasswords:
19411
+ type: boolean
19412
+ expiryDays:
19413
+ type: number
19414
+ historyCount:
19415
+ type: number
19416
+ AuthKitSessionPolicy:
19417
+ type: object
19418
+ properties:
19419
+ inactivityTimeoutMinutes:
19420
+ type: number
19421
+ inactivityWarningSeconds:
19422
+ type: number
19423
+ absoluteTimeoutHours:
19424
+ type: number
19425
+ rememberMe:
19426
+ type: boolean
19427
+ AuthKitLockoutPolicy:
19428
+ type: object
19429
+ properties:
19430
+ enabled:
19431
+ type: boolean
19432
+ maxFailedAttempts:
19433
+ type: number
19434
+ attemptWindowMinutes:
19435
+ type: number
19436
+ lockoutMinutes:
19437
+ type: number
19438
+ notifyUserOnLockout:
19439
+ type: boolean
19440
+ PasswordPolicyErrorCode:
19441
+ type: string
19442
+ enum:
19443
+ - PASSWORD_TOO_SHORT
19444
+ - PASSWORD_REQUIREMENTS_NOT_MET
19445
+ - PASSWORD_TOO_COMMON
19446
+ - PASSWORD_RECENTLY_USED
19313
19447
  FirebaseTimestamp:
19314
19448
  type: object
19315
19449
  properties:
@@ -24921,9 +25055,11 @@ components:
24921
25055
  - tokenId
24922
25056
  - userId
24923
25057
  - values
24924
- ProofCreateRequest:
25058
+ ProofWrite:
24925
25059
  type: object
24926
25060
  properties:
25061
+ id:
25062
+ type: string
24927
25063
  values:
24928
25064
  $ref: "#/components/schemas/ProofValues"
24929
25065
  data:
@@ -24934,12 +25070,33 @@ components:
24934
25070
  type: object
24935
25071
  additionalProperties:
24936
25072
  $ref: "#/components/schemas/JsonValue"
25073
+ owner:
25074
+ type: object
25075
+ additionalProperties:
25076
+ $ref: "#/components/schemas/JsonValue"
25077
+ claimable:
25078
+ type: boolean
25079
+ ProofCreateRequest:
25080
+ type: object
25081
+ properties:
25082
+ proof:
25083
+ $ref: "#/components/schemas/ProofWrite"
25084
+ values:
25085
+ $ref: "#/components/schemas/ProofValues"
24937
25086
  claimable:
24938
25087
  type: boolean
24939
25088
  virtual:
24940
25089
  type: boolean
24941
- required:
24942
- - values
25090
+ core:
25091
+ $ref: "#/components/schemas/ProofWrite"
25092
+ data:
25093
+ type: object
25094
+ additionalProperties:
25095
+ $ref: "#/components/schemas/JsonValue"
25096
+ admin:
25097
+ type: object
25098
+ additionalProperties:
25099
+ $ref: "#/components/schemas/JsonValue"
24943
25100
  ProofFieldsConfig:
24944
25101
  type: object
24945
25102
  properties:
@@ -25023,9 +25180,6 @@ components:
25023
25180
  properties:
25024
25181
  guestName:
25025
25182
  type: string
25026
- ProofResponse:
25027
- type: object
25028
- additionalProperties: true
25029
25183
  QrShortCodeLookupResponse:
25030
25184
  type: object
25031
25185
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.15.17",
3
+ "version": "1.15.19",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",