@proveanything/smartlinks 2.0.67 → 2.0.68
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/api/authKit.d.ts +14 -1
- package/dist/api/authKit.js +15 -0
- package/dist/api/collection.d.ts +21 -11
- package/dist/api/collection.js +25 -13
- package/dist/docs/API_SUMMARY.md +40 -15
- package/dist/docs/auth-kit.md +650 -626
- package/dist/index.d.ts +1 -1
- package/dist/openapi.yaml +72 -3
- package/dist/types/authKit.d.ts +21 -1
- package/dist/types/collection.d.ts +6 -4
- package/docs/API_SUMMARY.md +40 -15
- package/docs/auth-kit.md +650 -626
- package/openapi.yaml +72 -3
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -2077,6 +2077,45 @@ paths:
|
|
|
2077
2077
|
description: Unauthorized
|
|
2078
2078
|
404:
|
|
2079
2079
|
description: Not found
|
|
2080
|
+
/admin/collection/{collectionId}/authKit/{authKitId}/identity:
|
|
2081
|
+
post:
|
|
2082
|
+
tags:
|
|
2083
|
+
- authKit
|
|
2084
|
+
summary: "Give this AuthKit its **own logins** (admin): its members become accounts of this site only — the same email can be a separate account, with its own password, on another site — rather than SmartLinks accounts shared across sites."
|
|
2085
|
+
operationId: authKit_setIdentity
|
|
2086
|
+
security:
|
|
2087
|
+
- bearerAuth: []
|
|
2088
|
+
parameters:
|
|
2089
|
+
- name: collectionId
|
|
2090
|
+
in: path
|
|
2091
|
+
required: true
|
|
2092
|
+
schema:
|
|
2093
|
+
type: string
|
|
2094
|
+
- name: authKitId
|
|
2095
|
+
in: path
|
|
2096
|
+
required: true
|
|
2097
|
+
schema:
|
|
2098
|
+
type: string
|
|
2099
|
+
responses:
|
|
2100
|
+
200:
|
|
2101
|
+
description: Success
|
|
2102
|
+
content:
|
|
2103
|
+
application/json:
|
|
2104
|
+
schema:
|
|
2105
|
+
$ref: "#/components/schemas/AuthKitSetIdentityResponse"
|
|
2106
|
+
400:
|
|
2107
|
+
description: Bad request
|
|
2108
|
+
401:
|
|
2109
|
+
description: Unauthorized
|
|
2110
|
+
404:
|
|
2111
|
+
description: Not found
|
|
2112
|
+
requestBody:
|
|
2113
|
+
required: true
|
|
2114
|
+
content:
|
|
2115
|
+
application/json:
|
|
2116
|
+
schema:
|
|
2117
|
+
type: object
|
|
2118
|
+
additionalProperties: true
|
|
2080
2119
|
/admin/collection/{collectionId}/batch:
|
|
2081
2120
|
get:
|
|
2082
2121
|
tags:
|
|
@@ -3715,7 +3754,7 @@ paths:
|
|
|
3715
3754
|
get:
|
|
3716
3755
|
tags:
|
|
3717
3756
|
- collection
|
|
3718
|
-
summary: "Get the
|
|
3757
|
+
summary: "Get the certificate status of the collection's own domain (admin only)."
|
|
3719
3758
|
operationId: collection_getDomainStatus
|
|
3720
3759
|
security:
|
|
3721
3760
|
- bearerAuth: []
|
|
@@ -3740,7 +3779,7 @@ paths:
|
|
|
3740
3779
|
post:
|
|
3741
3780
|
tags:
|
|
3742
3781
|
- collection
|
|
3743
|
-
summary:
|
|
3782
|
+
summary: "Connect one of the collection's own domains and start its certificate (admin only)."
|
|
3744
3783
|
operationId: collection_registerDomain
|
|
3745
3784
|
security:
|
|
3746
3785
|
- bearerAuth: []
|
|
@@ -9207,7 +9246,7 @@ paths:
|
|
|
9207
9246
|
post:
|
|
9208
9247
|
tags:
|
|
9209
9248
|
- authKit
|
|
9210
|
-
summary:
|
|
9249
|
+
summary: Sign in with LinkedIn (OpenID Connect) via a server-side authorization code (public).
|
|
9211
9250
|
operationId: authKit_linkedInLogin
|
|
9212
9251
|
security: []
|
|
9213
9252
|
parameters:
|
|
@@ -23327,8 +23366,38 @@ components:
|
|
|
23327
23366
|
type: string
|
|
23328
23367
|
security:
|
|
23329
23368
|
$ref: "#/components/schemas/AuthKitSecurityConfig"
|
|
23369
|
+
collectionIds:
|
|
23370
|
+
type: array
|
|
23371
|
+
items:
|
|
23372
|
+
type: string
|
|
23373
|
+
identity:
|
|
23374
|
+
$ref: "#/components/schemas/AuthKitIdentity"
|
|
23330
23375
|
required:
|
|
23331
23376
|
- id
|
|
23377
|
+
AuthKitIdentity:
|
|
23378
|
+
type: object
|
|
23379
|
+
properties:
|
|
23380
|
+
mode:
|
|
23381
|
+
type: string
|
|
23382
|
+
enum:
|
|
23383
|
+
- shared
|
|
23384
|
+
- own
|
|
23385
|
+
tenantId:
|
|
23386
|
+
type: string
|
|
23387
|
+
createdAt:
|
|
23388
|
+
type: string
|
|
23389
|
+
required:
|
|
23390
|
+
- mode
|
|
23391
|
+
AuthKitSetIdentityResponse:
|
|
23392
|
+
type: object
|
|
23393
|
+
properties:
|
|
23394
|
+
identity:
|
|
23395
|
+
$ref: "#/components/schemas/AuthKitIdentity"
|
|
23396
|
+
message:
|
|
23397
|
+
type: string
|
|
23398
|
+
required:
|
|
23399
|
+
- identity
|
|
23400
|
+
- message
|
|
23332
23401
|
AuthKitSecurityConfig:
|
|
23333
23402
|
type: object
|
|
23334
23403
|
properties:
|