@proveanything/smartlinks 1.9.11 → 1.9.13

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.
@@ -92,7 +92,7 @@ export declare namespace claimSet {
92
92
  function updateClaimData(collectionId: string, data: UpdateClaimDataRequest): Promise<any>;
93
93
  /**
94
94
  * Create a single tag/code inside an existing claim set (collection admin).
95
- * POST /admin/collections/:collectionId/claimSet/:claimSetId/createTag
95
+ * POST /admin/collection/:collectionId/claimSet/:claimSetId/createTag
96
96
  * @param collectionId – The collection identifier
97
97
  * @param claimSetId – The claim set identifier
98
98
  * @param data – Tag creation parameters
@@ -141,14 +141,14 @@ export var claimSet;
141
141
  claimSet.updateClaimData = updateClaimData;
142
142
  /**
143
143
  * Create a single tag/code inside an existing claim set (collection admin).
144
- * POST /admin/collections/:collectionId/claimSet/:claimSetId/createTag
144
+ * POST /admin/collection/:collectionId/claimSet/:claimSetId/createTag
145
145
  * @param collectionId – The collection identifier
146
146
  * @param claimSetId – The claim set identifier
147
147
  * @param data – Tag creation parameters
148
148
  * @returns Promise resolving to the created tag
149
149
  */
150
150
  async function createTag(collectionId, claimSetId, data) {
151
- const path = `/admin/collections/${encodeURIComponent(collectionId)}/claimSet/${encodeURIComponent(claimSetId)}/createTag`;
151
+ const path = `/admin/collection/${encodeURIComponent(collectionId)}/claimSet/${encodeURIComponent(claimSetId)}/createTag`;
152
152
  return post(path, data);
153
153
  }
154
154
  claimSet.createTag = createTag;
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.9.11 | Generated: 2026-03-31T16:47:03.603Z
3
+ Version: 1.9.13 | Generated: 2026-03-31T17:02:49.636Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -7464,7 +7464,7 @@ Update claim data for a collection.
7464
7464
  **createTag**(collectionId: string,
7465
7465
  claimSetId: string,
7466
7466
  data: CreateClaimSetTagRequest) → `Promise<CreateClaimSetTagResponse>`
7467
- Create a single tag/code inside an existing claim set (collection admin). POST /admin/collections/:collectionId/claimSet/:claimSetId/createTag
7467
+ Create a single tag/code inside an existing claim set (collection admin). POST /admin/collection/:collectionId/claimSet/:claimSetId/createTag
7468
7468
 
7469
7469
  **createTagPlatform**(claimSetId: string,
7470
7470
  data: CreateClaimSetTagRequest) → `Promise<CreateClaimSetTagResponse>`
package/dist/openapi.yaml CHANGED
@@ -2258,6 +2258,44 @@ paths:
2258
2258
  description: Unauthorized
2259
2259
  404:
2260
2260
  description: Not found
2261
+ /admin/collection/{collectionId}/claimSet/{claimSetId}/createTag:
2262
+ post:
2263
+ tags:
2264
+ - claimSet
2265
+ summary: Update claim data for a collection.
2266
+ operationId: claimSet_createTag
2267
+ security:
2268
+ - bearerAuth: []
2269
+ parameters:
2270
+ - name: collectionId
2271
+ in: path
2272
+ required: true
2273
+ schema:
2274
+ type: string
2275
+ - name: claimSetId
2276
+ in: path
2277
+ required: true
2278
+ schema:
2279
+ type: string
2280
+ responses:
2281
+ 200:
2282
+ description: Success
2283
+ content:
2284
+ application/json:
2285
+ schema:
2286
+ $ref: "#/components/schemas/CreateClaimSetTagResponse"
2287
+ 400:
2288
+ description: Bad request
2289
+ 401:
2290
+ description: Unauthorized
2291
+ 404:
2292
+ description: Not found
2293
+ requestBody:
2294
+ required: true
2295
+ content:
2296
+ application/json:
2297
+ schema:
2298
+ $ref: "#/components/schemas/CreateClaimSetTagRequest"
2261
2299
  /admin/collection/{collectionId}/claimSet/{claimSetId}/report:
2262
2300
  get:
2263
2301
  tags:
@@ -7980,44 +8018,6 @@ paths:
7980
8018
  application/json:
7981
8019
  schema:
7982
8020
  $ref: "#/components/schemas/TranslationUpdateRequest"
7983
- /admin/collections/{collectionId}/claimSet/{claimSetId}/createTag:
7984
- post:
7985
- tags:
7986
- - claimSet
7987
- summary: Update claim data for a collection.
7988
- operationId: claimSet_createTag
7989
- security:
7990
- - bearerAuth: []
7991
- parameters:
7992
- - name: collectionId
7993
- in: path
7994
- required: true
7995
- schema:
7996
- type: string
7997
- - name: claimSetId
7998
- in: path
7999
- required: true
8000
- schema:
8001
- type: string
8002
- responses:
8003
- 200:
8004
- description: Success
8005
- content:
8006
- application/json:
8007
- schema:
8008
- $ref: "#/components/schemas/CreateClaimSetTagResponse"
8009
- 400:
8010
- description: Bad request
8011
- 401:
8012
- description: Unauthorized
8013
- 404:
8014
- description: Not found
8015
- requestBody:
8016
- required: true
8017
- content:
8018
- application/json:
8019
- schema:
8020
- $ref: "#/components/schemas/CreateClaimSetTagRequest"
8021
8021
  /api/admin/auth/push:
8022
8022
  get:
8023
8023
  tags:
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.9.11 | Generated: 2026-03-31T16:47:03.603Z
3
+ Version: 1.9.13 | Generated: 2026-03-31T17:02:49.636Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -7464,7 +7464,7 @@ Update claim data for a collection.
7464
7464
  **createTag**(collectionId: string,
7465
7465
  claimSetId: string,
7466
7466
  data: CreateClaimSetTagRequest) → `Promise<CreateClaimSetTagResponse>`
7467
- Create a single tag/code inside an existing claim set (collection admin). POST /admin/collections/:collectionId/claimSet/:claimSetId/createTag
7467
+ Create a single tag/code inside an existing claim set (collection admin). POST /admin/collection/:collectionId/claimSet/:claimSetId/createTag
7468
7468
 
7469
7469
  **createTagPlatform**(claimSetId: string,
7470
7470
  data: CreateClaimSetTagRequest) → `Promise<CreateClaimSetTagResponse>`
package/openapi.yaml CHANGED
@@ -2258,6 +2258,44 @@ paths:
2258
2258
  description: Unauthorized
2259
2259
  404:
2260
2260
  description: Not found
2261
+ /admin/collection/{collectionId}/claimSet/{claimSetId}/createTag:
2262
+ post:
2263
+ tags:
2264
+ - claimSet
2265
+ summary: Update claim data for a collection.
2266
+ operationId: claimSet_createTag
2267
+ security:
2268
+ - bearerAuth: []
2269
+ parameters:
2270
+ - name: collectionId
2271
+ in: path
2272
+ required: true
2273
+ schema:
2274
+ type: string
2275
+ - name: claimSetId
2276
+ in: path
2277
+ required: true
2278
+ schema:
2279
+ type: string
2280
+ responses:
2281
+ 200:
2282
+ description: Success
2283
+ content:
2284
+ application/json:
2285
+ schema:
2286
+ $ref: "#/components/schemas/CreateClaimSetTagResponse"
2287
+ 400:
2288
+ description: Bad request
2289
+ 401:
2290
+ description: Unauthorized
2291
+ 404:
2292
+ description: Not found
2293
+ requestBody:
2294
+ required: true
2295
+ content:
2296
+ application/json:
2297
+ schema:
2298
+ $ref: "#/components/schemas/CreateClaimSetTagRequest"
2261
2299
  /admin/collection/{collectionId}/claimSet/{claimSetId}/report:
2262
2300
  get:
2263
2301
  tags:
@@ -7980,44 +8018,6 @@ paths:
7980
8018
  application/json:
7981
8019
  schema:
7982
8020
  $ref: "#/components/schemas/TranslationUpdateRequest"
7983
- /admin/collections/{collectionId}/claimSet/{claimSetId}/createTag:
7984
- post:
7985
- tags:
7986
- - claimSet
7987
- summary: Update claim data for a collection.
7988
- operationId: claimSet_createTag
7989
- security:
7990
- - bearerAuth: []
7991
- parameters:
7992
- - name: collectionId
7993
- in: path
7994
- required: true
7995
- schema:
7996
- type: string
7997
- - name: claimSetId
7998
- in: path
7999
- required: true
8000
- schema:
8001
- type: string
8002
- responses:
8003
- 200:
8004
- description: Success
8005
- content:
8006
- application/json:
8007
- schema:
8008
- $ref: "#/components/schemas/CreateClaimSetTagResponse"
8009
- 400:
8010
- description: Bad request
8011
- 401:
8012
- description: Unauthorized
8013
- 404:
8014
- description: Not found
8015
- requestBody:
8016
- required: true
8017
- content:
8018
- application/json:
8019
- schema:
8020
- $ref: "#/components/schemas/CreateClaimSetTagRequest"
8021
8021
  /api/admin/auth/push:
8022
8022
  get:
8023
8023
  tags:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.9.11",
3
+ "version": "1.9.13",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",