@proveanything/smartlinks 2.1.45 → 2.1.47

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/openapi.yaml CHANGED
@@ -80,6 +80,8 @@ tags:
80
80
  description: Container and item tracking.
81
81
  - name: crate
82
82
  description: Crate packaging and logistics.
83
+ - name: dpp
84
+ description: dpp API
83
85
  - name: facets
84
86
  description: Product facet querying and aggregation.
85
87
  - name: form
@@ -15028,6 +15030,37 @@ paths:
15028
15030
  description: Unauthorized
15029
15031
  404:
15030
15032
  description: Not found
15033
+ /public/dpp/{collectionId}/{passportId}:
15034
+ get:
15035
+ tags:
15036
+ - dpp
15037
+ summary: Read a passport as the public sees it, at its address (the EU JSON document), or an earlier version of it.
15038
+ operationId: dpp_read
15039
+ security: []
15040
+ parameters:
15041
+ - name: collectionId
15042
+ in: path
15043
+ required: true
15044
+ schema:
15045
+ type: string
15046
+ - name: passportId
15047
+ in: path
15048
+ required: true
15049
+ schema:
15050
+ type: string
15051
+ responses:
15052
+ 200:
15053
+ description: Success
15054
+ content:
15055
+ application/json:
15056
+ schema:
15057
+ $ref: "#/components/schemas/DppDocument"
15058
+ 400:
15059
+ description: Bad request
15060
+ 401:
15061
+ description: Unauthorized
15062
+ 404:
15063
+ description: Not found
15031
15064
  /public/location/{locationId}:
15032
15065
  get:
15033
15066
  tags:
@@ -30171,6 +30204,476 @@ components:
30171
30204
  type: boolean
30172
30205
  required:
30173
30206
  - success
30207
+ DppRegistry:
30208
+ type: object
30209
+ properties:
30210
+ environment:
30211
+ $ref: "#/components/schemas/DppEnvironment"
30212
+ label:
30213
+ type: string
30214
+ portal:
30215
+ type: string
30216
+ clientId:
30217
+ type: string
30218
+ kid:
30219
+ type: string
30220
+ alg:
30221
+ type: string
30222
+ orgIdentifier:
30223
+ type: string
30224
+ hasKey:
30225
+ type: boolean
30226
+ publicPem:
30227
+ type: string
30228
+ publicJwk:
30229
+ type: object
30230
+ additionalProperties: true
30231
+ thumbprint:
30232
+ type: string
30233
+ keyCreatedAt:
30234
+ type: string
30235
+ lastCheck:
30236
+ type: object
30237
+ additionalProperties: true
30238
+ ready:
30239
+ type: boolean
30240
+ nextStep:
30241
+ $ref: "#/components/schemas/DppRegistryNextStep"
30242
+ required:
30243
+ - environment
30244
+ - label
30245
+ - portal
30246
+ - clientId
30247
+ - kid
30248
+ - alg
30249
+ - orgIdentifier
30250
+ - hasKey
30251
+ - publicPem
30252
+ - publicJwk
30253
+ - thumbprint
30254
+ - keyCreatedAt
30255
+ - lastCheck
30256
+ - ready
30257
+ - nextStep
30258
+ SetDppRegistryInput:
30259
+ type: object
30260
+ properties:
30261
+ clientId:
30262
+ type: string
30263
+ kid:
30264
+ type: string
30265
+ orgIdentifier:
30266
+ type: string
30267
+ DppRegistryProductGroup:
30268
+ type: object
30269
+ properties:
30270
+ code:
30271
+ type: string
30272
+ label:
30273
+ type: string
30274
+ productSubGroups:
30275
+ type: array
30276
+ items:
30277
+ type: object
30278
+ additionalProperties: true
30279
+ required:
30280
+ - code
30281
+ - label
30282
+ - productSubGroups
30283
+ DppRegistryCheckResult:
30284
+ type: object
30285
+ properties:
30286
+ registry:
30287
+ $ref: "#/components/schemas/DppRegistry"
30288
+ productGroups:
30289
+ type: array
30290
+ items:
30291
+ $ref: "#/components/schemas/DppRegistryProductGroup"
30292
+ required:
30293
+ - registry
30294
+ - productGroups
30295
+ DppViewFields:
30296
+ type: object
30297
+ properties:
30298
+ pub:
30299
+ type: array
30300
+ items:
30301
+ type: string
30302
+ res1:
30303
+ type: array
30304
+ items:
30305
+ type: string
30306
+ res2:
30307
+ type: array
30308
+ items:
30309
+ type: string
30310
+ res3:
30311
+ type: array
30312
+ items:
30313
+ type: string
30314
+ required:
30315
+ - pub
30316
+ - res1
30317
+ - res2
30318
+ - res3
30319
+ DppGroup:
30320
+ type: object
30321
+ properties:
30322
+ productGroup:
30323
+ type: string
30324
+ label:
30325
+ type: string
30326
+ subGroups:
30327
+ type: object
30328
+ additionalProperties: true
30329
+ productSubGroup:
30330
+ type: string
30331
+ fields:
30332
+ $ref: "#/components/schemas/DppViewFields"
30333
+ required:
30334
+ $ref: "#/components/schemas/DppViewFields"
30335
+ required:
30336
+ - productGroup
30337
+ - label
30338
+ - subGroups
30339
+ - productSubGroup
30340
+ - label
30341
+ - fields
30342
+ - required
30343
+ DppPassportCheck:
30344
+ type: object
30345
+ properties:
30346
+ ready:
30347
+ type: boolean
30348
+ missing:
30349
+ $ref: "#/components/schemas/DppViewFields"
30350
+ problem:
30351
+ type: string
30352
+ required:
30353
+ - ready
30354
+ - missing
30355
+ DppRegistration:
30356
+ type: object
30357
+ properties:
30358
+ status:
30359
+ type: object
30360
+ additionalProperties: true
30361
+ taskId:
30362
+ type: string
30363
+ submittedAt:
30364
+ type: string
30365
+ correlationId:
30366
+ type: string
30367
+ registryId:
30368
+ type: string
30369
+ registeredAt:
30370
+ type: string
30371
+ problems:
30372
+ type: object
30373
+ additionalProperties: true
30374
+ checkedAt:
30375
+ type: string
30376
+ required:
30377
+ - status
30378
+ DppPassport:
30379
+ type: object
30380
+ properties:
30381
+ id:
30382
+ type: string
30383
+ url:
30384
+ type: string
30385
+ status:
30386
+ type: object
30387
+ additionalProperties: true
30388
+ productGroup:
30389
+ type: string
30390
+ productSubGroup:
30391
+ type: string
30392
+ granularity:
30393
+ $ref: "#/components/schemas/DppGranularity"
30394
+ modelIdentifier:
30395
+ type: string
30396
+ batchIdentifier:
30397
+ type: string
30398
+ productId:
30399
+ type: string
30400
+ batchId:
30401
+ type: string
30402
+ proofId:
30403
+ type: string
30404
+ public:
30405
+ $ref: "#/components/schemas/DppFields"
30406
+ restricted:
30407
+ $ref: "#/components/schemas/DppFields"
30408
+ version:
30409
+ type: number
30410
+ contentUpdatedAt:
30411
+ type: string
30412
+ registration:
30413
+ $ref: "#/components/schemas/DppEnvironment"
30414
+ check:
30415
+ $ref: "#/components/schemas/DppPassportCheck"
30416
+ createdAt:
30417
+ type: string
30418
+ updatedAt:
30419
+ type: string
30420
+ required:
30421
+ - id
30422
+ - url
30423
+ - status
30424
+ - productGroup
30425
+ - productSubGroup
30426
+ - granularity
30427
+ - modelIdentifier
30428
+ - batchIdentifier
30429
+ - productId
30430
+ - batchId
30431
+ - proofId
30432
+ - public
30433
+ - restricted
30434
+ - version
30435
+ - contentUpdatedAt
30436
+ - registration
30437
+ - check
30438
+ - createdAt
30439
+ - updatedAt
30440
+ DppPassportInput:
30441
+ type: object
30442
+ properties:
30443
+ productGroup:
30444
+ type: string
30445
+ productSubGroup:
30446
+ type: string
30447
+ granularity:
30448
+ $ref: "#/components/schemas/DppGranularity"
30449
+ modelIdentifier:
30450
+ type: string
30451
+ batchIdentifier:
30452
+ type: string
30453
+ productId:
30454
+ type: string
30455
+ batchId:
30456
+ type: string
30457
+ proofId:
30458
+ type: string
30459
+ public:
30460
+ $ref: "#/components/schemas/DppFields"
30461
+ restricted:
30462
+ $ref: "#/components/schemas/DppFields"
30463
+ DppPassportUpsertInput:
30464
+ type: object
30465
+ properties:
30466
+ productGroup:
30467
+ type: string
30468
+ granularity:
30469
+ $ref: "#/components/schemas/DppGranularity"
30470
+ required:
30471
+ - productGroup
30472
+ - granularity
30473
+ DppPassportSaveResult:
30474
+ type: object
30475
+ properties:
30476
+ passport:
30477
+ $ref: "#/components/schemas/DppPassport"
30478
+ changed:
30479
+ type: boolean
30480
+ required:
30481
+ - passport
30482
+ - changed
30483
+ DppPassportUpsertResult:
30484
+ type: object
30485
+ properties:
30486
+ created:
30487
+ type: boolean
30488
+ required:
30489
+ - created
30490
+ DppPassportBulkResult:
30491
+ type: object
30492
+ properties:
30493
+ results:
30494
+ type: object
30495
+ additionalProperties: true
30496
+ created:
30497
+ type: number
30498
+ changed:
30499
+ type: number
30500
+ unchanged:
30501
+ type: number
30502
+ failed:
30503
+ type: number
30504
+ required:
30505
+ - results
30506
+ - created
30507
+ - changed
30508
+ - unchanged
30509
+ - failed
30510
+ DppPassportVersion:
30511
+ type: object
30512
+ properties:
30513
+ version:
30514
+ type: number
30515
+ savedAt:
30516
+ type: string
30517
+ savedBy:
30518
+ type: string
30519
+ required:
30520
+ - version
30521
+ - savedAt
30522
+ - savedBy
30523
+ DppPassportListQuery:
30524
+ type: object
30525
+ properties:
30526
+ productId:
30527
+ type: string
30528
+ batchId:
30529
+ type: string
30530
+ proofId:
30531
+ type: string
30532
+ status:
30533
+ type: object
30534
+ additionalProperties: true
30535
+ limit:
30536
+ type: number
30537
+ offset:
30538
+ type: number
30539
+ DppRegisterResult:
30540
+ type: object
30541
+ properties:
30542
+ tasks:
30543
+ type: object
30544
+ additionalProperties: true
30545
+ taskId:
30546
+ type: string
30547
+ environment:
30548
+ $ref: "#/components/schemas/DppEnvironment"
30549
+ productGroup:
30550
+ type: string
30551
+ productSubGroup:
30552
+ type: string
30553
+ passportIds:
30554
+ type: array
30555
+ items:
30556
+ type: string
30557
+ estimated:
30558
+ type: string
30559
+ status:
30560
+ type: string
30561
+ outcome:
30562
+ $ref: "#/components/schemas/DppTaskOutcome"
30563
+ passports:
30564
+ type: array
30565
+ items:
30566
+ $ref: "#/components/schemas/DppRegistration"
30567
+ skipped:
30568
+ type: array
30569
+ items:
30570
+ type: object
30571
+ additionalProperties: true
30572
+ required:
30573
+ - tasks
30574
+ - taskId
30575
+ - environment
30576
+ - productGroup
30577
+ - productSubGroup
30578
+ - passportIds
30579
+ - estimated
30580
+ - skipped
30581
+ DppTaskOutcome:
30582
+ type: object
30583
+ properties:
30584
+ outcomeResult:
30585
+ type: object
30586
+ additionalProperties: true
30587
+ outcomeMessage:
30588
+ type: object
30589
+ additionalProperties: true
30590
+ required:
30591
+ - outcomeResult
30592
+ DppTask:
30593
+ type: object
30594
+ properties:
30595
+ taskId:
30596
+ type: string
30597
+ environment:
30598
+ $ref: "#/components/schemas/DppEnvironment"
30599
+ status:
30600
+ type: string
30601
+ outcome:
30602
+ $ref: "#/components/schemas/DppTaskOutcome"
30603
+ passportIds:
30604
+ type: array
30605
+ items:
30606
+ type: string
30607
+ createdAt:
30608
+ type: string
30609
+ checkedAt:
30610
+ type: string
30611
+ required:
30612
+ - taskId
30613
+ - environment
30614
+ - status
30615
+ - outcome
30616
+ - passportIds
30617
+ - createdAt
30618
+ - checkedAt
30619
+ DppTaskRefreshResult:
30620
+ type: object
30621
+ properties:
30622
+ taskId:
30623
+ type: string
30624
+ status:
30625
+ type: string
30626
+ outcome:
30627
+ $ref: "#/components/schemas/DppTaskOutcome"
30628
+ processingInfo:
30629
+ type: object
30630
+ additionalProperties: true
30631
+ passports:
30632
+ type: array
30633
+ items:
30634
+ $ref: "#/components/schemas/DppRegistration"
30635
+ required:
30636
+ - taskId
30637
+ - status
30638
+ - outcome
30639
+ - processingInfo
30640
+ - passports
30641
+ DppDocument:
30642
+ type: object
30643
+ properties:
30644
+ digitalProductPassportId:
30645
+ type: string
30646
+ uniqueProductIdentifier:
30647
+ type: string
30648
+ granularity:
30649
+ type: string
30650
+ dppStatus:
30651
+ type: string
30652
+ lastUpdate:
30653
+ type: string
30654
+ contentSpecificationIds:
30655
+ type: array
30656
+ items:
30657
+ type: string
30658
+ required:
30659
+ - digitalProductPassportId
30660
+ - uniqueProductIdentifier
30661
+ - granularity
30662
+ - dppStatus
30663
+ - lastUpdate
30664
+ - contentSpecificationIds
30665
+ DppEnvironment:
30666
+ type: object
30667
+ additionalProperties: true
30668
+ DppGranularity:
30669
+ type: object
30670
+ additionalProperties: true
30671
+ DppRegistryNextStep:
30672
+ type: object
30673
+ additionalProperties: true
30674
+ DppFields:
30675
+ type: object
30676
+ additionalProperties: true
30174
30677
  ErrorResponse:
30175
30678
  type: object
30176
30679
  properties:
@@ -36992,6 +37495,15 @@ components:
36992
37495
  $ref: "#/components/schemas/ServiceAccountAccess"
36993
37496
  active:
36994
37497
  type: boolean
37498
+ home:
37499
+ type: boolean
37500
+ alsoOn:
37501
+ type: array
37502
+ items:
37503
+ $ref: "#/components/schemas/ServiceAccountCollection"
37504
+ homeCollection:
37505
+ type: object
37506
+ additionalProperties: true
36995
37507
  createdAt:
36996
37508
  type: string
36997
37509
  createdBy:
@@ -37007,11 +37519,35 @@ components:
37007
37519
  - name
37008
37520
  - access
37009
37521
  - active
37522
+ - home
37010
37523
  - createdAt
37011
37524
  - createdBy
37012
37525
  - lastUsedAt
37013
37526
  - keyCreatedAt
37014
37527
  - keyHint
37528
+ ServiceAccountCollection:
37529
+ type: object
37530
+ properties:
37531
+ collectionId:
37532
+ type: string
37533
+ title:
37534
+ type: string
37535
+ access:
37536
+ $ref: "#/components/schemas/ServiceAccountAccess"
37537
+ required:
37538
+ - collectionId
37539
+ - title
37540
+ - access
37541
+ AddServiceAccountToCollectionInput:
37542
+ type: object
37543
+ properties:
37544
+ collectionId:
37545
+ type: string
37546
+ access:
37547
+ $ref: "#/components/schemas/ServiceAccountAccess"
37548
+ required:
37549
+ - collectionId
37550
+ - access
37015
37551
  ServiceAccountList:
37016
37552
  type: object
37017
37553
  properties: