@proveanything/smartlinks 2.1.24 → 2.1.28

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
@@ -106,6 +106,8 @@ tags:
106
106
  description: Order records and line items.
107
107
  - name: partner
108
108
  description: partner API
109
+ - name: places
110
+ description: places API
109
111
  - name: product
110
112
  description: Single product operations.
111
113
  - name: products
@@ -7262,6 +7264,40 @@ paths:
7262
7264
  description: Unauthorized
7263
7265
  404:
7264
7266
  description: Not found
7267
+ /admin/collection/{collectionId}/places/move:
7268
+ post:
7269
+ tags:
7270
+ - places
7271
+ summary: "Move items (by membership), chips without an item (by membership) or containers (re-parented) into `to`, or out of every place with `to: null`."
7272
+ operationId: places_move
7273
+ security:
7274
+ - bearerAuth: []
7275
+ parameters:
7276
+ - name: collectionId
7277
+ in: path
7278
+ required: true
7279
+ schema:
7280
+ type: string
7281
+ responses:
7282
+ 200:
7283
+ description: Success
7284
+ content:
7285
+ application/json:
7286
+ schema:
7287
+ $ref: "#/components/schemas/PlaceMoveResult"
7288
+ 400:
7289
+ description: Bad request
7290
+ 401:
7291
+ description: Unauthorized
7292
+ 404:
7293
+ description: Not found
7294
+ requestBody:
7295
+ required: true
7296
+ content:
7297
+ application/json:
7298
+ schema:
7299
+ type: object
7300
+ additionalProperties: true
7265
7301
  /admin/collection/{collectionId}/product:
7266
7302
  post:
7267
7303
  tags:
@@ -15670,6 +15706,16 @@ paths:
15670
15706
  required: true
15671
15707
  schema:
15672
15708
  type: string
15709
+ - name: from
15710
+ in: query
15711
+ required: false
15712
+ schema:
15713
+ type: string
15714
+ - name: to
15715
+ in: query
15716
+ required: false
15717
+ schema:
15718
+ type: string
15673
15719
  responses:
15674
15720
  200:
15675
15721
  description: Success
@@ -27634,6 +27680,8 @@ components:
27634
27680
  properties:
27635
27681
  changed:
27636
27682
  type: number
27683
+ wholeRange:
27684
+ type: boolean
27637
27685
  skipped:
27638
27686
  type: array
27639
27687
  items:
@@ -27722,6 +27770,17 @@ components:
27722
27770
  additionalProperties: true
27723
27771
  codes:
27724
27772
  type: number
27773
+ codeSource:
27774
+ type: string
27775
+ enum:
27776
+ - stored
27777
+ - computed
27778
+ sigBits:
27779
+ type: number
27780
+ bareCodes:
27781
+ type: boolean
27782
+ unassignedUrl:
27783
+ type: string
27725
27784
  deleted:
27726
27785
  type: boolean
27727
27786
  createdAt:
@@ -27767,9 +27826,104 @@ components:
27767
27826
  $ref: "#/components/schemas/ClaimSetTagType"
27768
27827
  tapDomain:
27769
27828
  type: string
27829
+ codeSource:
27830
+ type: string
27831
+ enum:
27832
+ - stored
27833
+ - computed
27834
+ sigBits:
27835
+ type: number
27836
+ bareCodes:
27837
+ type: boolean
27838
+ unassignedUrl:
27839
+ type: string
27770
27840
  required:
27771
27841
  - name
27772
27842
  - tagType
27843
+ TagCodeRef:
27844
+ type: object
27845
+ properties:
27846
+ scan:
27847
+ type: string
27848
+ url:
27849
+ type: string
27850
+ claimSetId:
27851
+ type: string
27852
+ code:
27853
+ type: string
27854
+ tagId:
27855
+ type: string
27856
+ TagCodeAttachRequest:
27857
+ type: object
27858
+ properties:
27859
+ productId:
27860
+ type: string
27861
+ proofId:
27862
+ type: string
27863
+ containerId:
27864
+ type: string
27865
+ container:
27866
+ type: object
27867
+ additionalProperties: true
27868
+ TagCodeState:
27869
+ type: object
27870
+ properties:
27871
+ kind:
27872
+ type: string
27873
+ enum:
27874
+ - claim
27875
+ - chip
27876
+ claimSetId:
27877
+ type: string
27878
+ code:
27879
+ type: string
27880
+ url:
27881
+ type: string
27882
+ computed:
27883
+ type: boolean
27884
+ tagId:
27885
+ type: string
27886
+ tagType:
27887
+ type: string
27888
+ enum:
27889
+ - chip
27890
+ status:
27891
+ type: string
27892
+ enum:
27893
+ - free
27894
+ - attached
27895
+ - elsewhere
27896
+ on:
27897
+ $ref: "#/components/schemas/TagCodeOn"
27898
+ productId:
27899
+ type: string
27900
+ proofId:
27901
+ type: string
27902
+ required:
27903
+ - kind
27904
+ - tagType
27905
+ - status
27906
+ PlaceMoveResult:
27907
+ type: object
27908
+ properties:
27909
+ moved:
27910
+ type: array
27911
+ items:
27912
+ type: object
27913
+ additionalProperties: true
27914
+ unchanged:
27915
+ type: array
27916
+ items:
27917
+ $ref: "#/components/schemas/PlaceMoveItem"
27918
+ refused:
27919
+ type: array
27920
+ items:
27921
+ type: object
27922
+ additionalProperties: true
27923
+ required:
27924
+ - moved
27925
+ - unchanged
27926
+ - refused
27773
27927
  ClaimSetScope:
27774
27928
  type: object
27775
27929
  properties:
@@ -27777,6 +27931,14 @@ components:
27777
27931
  type: string
27778
27932
  required:
27779
27933
  - collectionId
27934
+ PlaceMoveItem:
27935
+ type: object
27936
+ properties:
27937
+ productId:
27938
+ type: object
27939
+ additionalProperties: true
27940
+ required:
27941
+ - productId
27780
27942
  ClaimSetTagType:
27781
27943
  type: string
27782
27944
  enum:
@@ -27815,6 +27977,9 @@ components:
27815
27977
  - duplicate_uid
27816
27978
  - uid_in_use
27817
27979
  - uid_conflict
27980
+ TagCodeOn:
27981
+ type: object
27982
+ additionalProperties: true
27818
27983
  ClientErrorReport:
27819
27984
  type: object
27820
27985
  properties:
@@ -29671,11 +29836,16 @@ components:
29671
29836
  FindContainersForItemResponse:
29672
29837
  type: object
29673
29838
  properties:
29839
+ items:
29840
+ type: array
29841
+ items:
29842
+ $ref: "#/components/schemas/ContainerItem"
29674
29843
  containers:
29675
29844
  type: array
29676
29845
  items:
29677
29846
  $ref: "#/components/schemas/Container"
29678
29847
  required:
29848
+ - items
29679
29849
  - containers
29680
29850
  ContainerItemsResponse:
29681
29851
  type: object
@@ -37198,6 +37368,160 @@ components:
37198
37368
  properties:
37199
37369
  name:
37200
37370
  type: string
37371
+ WalletPassRef:
37372
+ type: object
37373
+ properties:
37374
+ type:
37375
+ type: string
37376
+ enum:
37377
+ - booking
37378
+ - contact
37379
+ id:
37380
+ type: string
37381
+ required:
37382
+ - type
37383
+ - id
37384
+ WalletPassContent:
37385
+ type: object
37386
+ properties:
37387
+ kind:
37388
+ $ref: "#/components/schemas/WalletPassKind"
37389
+ title:
37390
+ type: string
37391
+ subtitle:
37392
+ type: string
37393
+ start:
37394
+ type: string
37395
+ end:
37396
+ type: string
37397
+ timezone:
37398
+ type: string
37399
+ venue:
37400
+ type: object
37401
+ additionalProperties: true
37402
+ holder:
37403
+ type: string
37404
+ number:
37405
+ type: string
37406
+ level:
37407
+ type: string
37408
+ points:
37409
+ type: number
37410
+ validUntil:
37411
+ type: string
37412
+ fields:
37413
+ type: array
37414
+ items:
37415
+ type: object
37416
+ additionalProperties: true
37417
+ back:
37418
+ type: array
37419
+ items:
37420
+ type: object
37421
+ additionalProperties: true
37422
+ image:
37423
+ type: string
37424
+ url:
37425
+ type: string
37426
+ barcode:
37427
+ type: string
37428
+ required:
37429
+ - kind
37430
+ - title
37431
+ WalletPassLinks:
37432
+ type: object
37433
+ properties:
37434
+ google:
37435
+ type: string
37436
+ apple:
37437
+ type: string
37438
+ WalletPassSummary:
37439
+ type: object
37440
+ properties:
37441
+ id:
37442
+ type: string
37443
+ kind:
37444
+ $ref: "#/components/schemas/WalletPassKind"
37445
+ ref:
37446
+ $ref: "#/components/schemas/WalletPassRef"
37447
+ title:
37448
+ type: string
37449
+ start:
37450
+ type: string
37451
+ links:
37452
+ $ref: "#/components/schemas/WalletPassLinks"
37453
+ required:
37454
+ - id
37455
+ - kind
37456
+ - ref
37457
+ - links
37458
+ WalletPass:
37459
+ type: object
37460
+ properties:
37461
+ id:
37462
+ type: string
37463
+ collectionId:
37464
+ type: string
37465
+ kind:
37466
+ $ref: "#/components/schemas/WalletPassKind"
37467
+ ref:
37468
+ $ref: "#/components/schemas/WalletPassRef"
37469
+ contactId:
37470
+ type: string
37471
+ status:
37472
+ type: string
37473
+ enum:
37474
+ - active
37475
+ - voided
37476
+ issuedBy:
37477
+ type: string
37478
+ model:
37479
+ $ref: "#/components/schemas/WalletPassContent"
37480
+ code:
37481
+ type: string
37482
+ version:
37483
+ type: number
37484
+ notice:
37485
+ type: object
37486
+ additionalProperties: true
37487
+ voidReason:
37488
+ type: string
37489
+ links:
37490
+ $ref: "#/components/schemas/WalletPassLinks"
37491
+ createdAt:
37492
+ type: string
37493
+ updatedAt:
37494
+ type: string
37495
+ required:
37496
+ - id
37497
+ - collectionId
37498
+ - kind
37499
+ - ref
37500
+ - status
37501
+ - model
37502
+ - code
37503
+ - version
37504
+ IssueWalletPassRequest:
37505
+ type: object
37506
+ properties:
37507
+ ref:
37508
+ $ref: "#/components/schemas/WalletPassRef"
37509
+ contactId:
37510
+ type: string
37511
+ appId:
37512
+ type: string
37513
+ pass:
37514
+ $ref: "#/components/schemas/WalletPassContent"
37515
+ required:
37516
+ - ref
37517
+ - pass
37518
+ WalletPassKind:
37519
+ type: string
37520
+ enum:
37521
+ - event
37522
+ - booking
37523
+ - membership
37524
+ - loyalty
37201
37525
  NavigationRequest:
37202
37526
  type: object
37203
37527
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "2.1.24",
3
+ "version": "2.1.28",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",