@proveanything/smartlinks 3.0.0-alpha.0 → 3.0.0-alpha.2

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.
Files changed (149) hide show
  1. package/README.md +7 -7
  2. package/dist/api/analytics.d.ts +5 -4
  3. package/dist/api/analytics.js +5 -4
  4. package/dist/api/appConfiguration.d.ts +23 -18
  5. package/dist/api/appConfiguration.js +24 -18
  6. package/dist/api/appObjects.d.ts +54 -10
  7. package/dist/api/appObjects.js +75 -40
  8. package/dist/api/asset.d.ts +28 -22
  9. package/dist/api/asset.js +45 -56
  10. package/dist/api/attestation.d.ts +11 -3
  11. package/dist/api/attestation.js +12 -3
  12. package/dist/api/attestations.d.ts +12 -8
  13. package/dist/api/attestations.js +18 -21
  14. package/dist/api/authKit.d.ts +15 -10
  15. package/dist/api/authKit.js +17 -11
  16. package/dist/api/batch.d.ts +36 -25
  17. package/dist/api/batch.js +46 -39
  18. package/dist/api/bookings.d.ts +18 -9
  19. package/dist/api/bookings.js +23 -13
  20. package/dist/api/broadcasts.js +3 -17
  21. package/dist/api/claimSet.d.ts +26 -12
  22. package/dist/api/claimSet.js +32 -24
  23. package/dist/api/collection.d.ts +15 -10
  24. package/dist/api/collection.js +17 -11
  25. package/dist/api/comms.d.ts +12 -6
  26. package/dist/api/comms.js +12 -6
  27. package/dist/api/conditions.d.ts +7 -6
  28. package/dist/api/conditions.js +8 -6
  29. package/dist/api/contact.d.ts +6 -2
  30. package/dist/api/contact.js +25 -60
  31. package/dist/api/containers.d.ts +14 -10
  32. package/dist/api/containers.js +19 -14
  33. package/dist/api/crate.js +7 -9
  34. package/dist/api/dpp.d.ts +20 -13
  35. package/dist/api/dpp.js +23 -15
  36. package/dist/api/facets.d.ts +38 -13
  37. package/dist/api/facets.js +40 -15
  38. package/dist/api/files.d.ts +5 -2
  39. package/dist/api/files.js +7 -4
  40. package/dist/api/form.d.ts +8 -5
  41. package/dist/api/form.js +9 -5
  42. package/dist/api/index.d.ts +0 -1
  43. package/dist/api/index.js +0 -1
  44. package/dist/api/integrations.d.ts +29 -17
  45. package/dist/api/integrations.js +32 -25
  46. package/dist/api/interactions.d.ts +11 -6
  47. package/dist/api/interactions.js +14 -23
  48. package/dist/api/jobs.d.ts +16 -6
  49. package/dist/api/jobs.js +30 -20
  50. package/dist/api/journeys.js +2 -14
  51. package/dist/api/journeysAnalytics.d.ts +8 -5
  52. package/dist/api/journeysAnalytics.js +8 -5
  53. package/dist/api/knowledge.d.ts +20 -14
  54. package/dist/api/knowledge.js +22 -15
  55. package/dist/api/location.d.ts +6 -3
  56. package/dist/api/location.js +8 -22
  57. package/dist/api/lots.d.ts +9 -5
  58. package/dist/api/lots.js +22 -26
  59. package/dist/api/loyalty.d.ts +25 -16
  60. package/dist/api/loyalty.js +33 -32
  61. package/dist/api/nfc.d.ts +3 -1
  62. package/dist/api/nfc.js +3 -1
  63. package/dist/api/order.d.ts +45 -39
  64. package/dist/api/order.js +48 -65
  65. package/dist/api/partner.d.ts +17 -14
  66. package/dist/api/partner.js +21 -22
  67. package/dist/api/products.d.ts +35 -12
  68. package/dist/api/products.js +36 -13
  69. package/dist/api/proof.d.ts +41 -19
  70. package/dist/api/proof.js +44 -23
  71. package/dist/api/segments.js +3 -15
  72. package/dist/api/serviceAccounts.d.ts +8 -5
  73. package/dist/api/serviceAccounts.js +9 -6
  74. package/dist/api/shop.d.ts +7 -5
  75. package/dist/api/shop.js +13 -19
  76. package/dist/api/subscriptions.d.ts +12 -10
  77. package/dist/api/subscriptions.js +17 -25
  78. package/dist/api/tags.d.ts +23 -20
  79. package/dist/api/tags.js +40 -52
  80. package/dist/api/template.d.ts +16 -11
  81. package/dist/api/template.js +19 -13
  82. package/dist/api/translations.js +2 -12
  83. package/dist/api/userGroups.d.ts +26 -16
  84. package/dist/api/userGroups.js +43 -30
  85. package/dist/api/variant.d.ts +10 -7
  86. package/dist/api/variant.js +11 -7
  87. package/dist/api/wallet.d.ts +14 -11
  88. package/dist/api/wallet.js +15 -12
  89. package/dist/docs/API_SUMMARY.md +289 -483
  90. package/dist/docs/ai.md +15 -15
  91. package/dist/docs/analytics.md +1 -1
  92. package/dist/docs/app-objects.md +4 -4
  93. package/dist/docs/attestations.md +8 -8
  94. package/dist/docs/contact-search.md +2 -3
  95. package/dist/docs/i18n.md +46 -292
  96. package/dist/docs/knowledge.md +3 -3
  97. package/dist/docs/lists.md +58 -15
  98. package/dist/docs/upgrading-to-3.md +238 -136
  99. package/dist/i18n.d.ts +14 -2
  100. package/dist/i18n.js +23 -6
  101. package/dist/list.d.ts +12 -0
  102. package/dist/list.js +59 -0
  103. package/dist/openapi.yaml +301 -662
  104. package/dist/types/analytics.d.ts +7 -3
  105. package/dist/types/appObjects.d.ts +27 -12
  106. package/dist/types/appOptions.d.ts +2 -2
  107. package/dist/types/asset.d.ts +5 -6
  108. package/dist/types/attestations.d.ts +7 -9
  109. package/dist/types/batch.d.ts +5 -5
  110. package/dist/types/bookings.d.ts +10 -5
  111. package/dist/types/comms.d.ts +9 -5
  112. package/dist/types/contact.d.ts +7 -4
  113. package/dist/types/containers.d.ts +2 -1
  114. package/dist/types/facets.d.ts +14 -2
  115. package/dist/types/files.d.ts +3 -2
  116. package/dist/types/integrations.d.ts +2 -1
  117. package/dist/types/interaction.d.ts +15 -7
  118. package/dist/types/jobs.d.ts +1 -1
  119. package/dist/types/journeysAnalytics.d.ts +3 -2
  120. package/dist/types/knowledge.d.ts +6 -3
  121. package/dist/types/knowledge.js +0 -1
  122. package/dist/types/list.d.ts +30 -2
  123. package/dist/types/location.d.ts +7 -2
  124. package/dist/types/location.js +0 -1
  125. package/dist/types/lots.d.ts +5 -2
  126. package/dist/types/lots.js +0 -6
  127. package/dist/types/order.d.ts +22 -20
  128. package/dist/types/product.d.ts +28 -11
  129. package/dist/types/proof.d.ts +7 -8
  130. package/dist/types/tags.d.ts +5 -3
  131. package/dist/types/userGroups.d.ts +3 -3
  132. package/dist/types/userGroups.js +0 -4
  133. package/dist/version.d.ts +1 -1
  134. package/dist/version.js +1 -1
  135. package/docs/API_SUMMARY.md +289 -483
  136. package/docs/ai.md +15 -15
  137. package/docs/analytics.md +1 -1
  138. package/docs/app-objects.md +4 -4
  139. package/docs/attestations.md +8 -8
  140. package/docs/contact-search.md +2 -3
  141. package/docs/i18n.md +46 -292
  142. package/docs/knowledge.md +3 -3
  143. package/docs/lists.md +58 -15
  144. package/docs/upgrading-to-3.md +238 -136
  145. package/openapi.yaml +301 -662
  146. package/package.json +91 -91
  147. package/scripts/lib/upgrade.mjs +216 -60
  148. package/scripts/upgrade.mjs +33 -10
  149. package/upgrade/3.json +2731 -2213
package/dist/openapi.yaml CHANGED
@@ -44,8 +44,6 @@ tags:
44
44
  description: Application record objects.
45
45
  - name: asset
46
46
  description: Asset upload and media management.
47
- - name: async
48
- description: Asynchronous/long-running job helpers.
49
47
  - name: attestation
50
48
  description: Single attestation operations.
51
49
  - name: attestations
@@ -190,6 +188,11 @@ paths:
190
188
  security:
191
189
  - bearerAuth: []
192
190
  parameters:
191
+ - name: collectionId
192
+ in: query
193
+ required: false
194
+ schema:
195
+ type: string
193
196
  - name: productId
194
197
  in: query
195
198
  required: false
@@ -220,7 +223,7 @@ paths:
220
223
  required: false
221
224
  schema:
222
225
  type: string
223
- - name: sort
226
+ - name: orderBy
224
227
  in: query
225
228
  required: false
226
229
  schema:
@@ -230,24 +233,6 @@ paths:
230
233
  - name
231
234
  - size
232
235
  - assetType
233
- - name: order
234
- in: query
235
- required: false
236
- schema:
237
- type: string
238
- enum:
239
- - asc
240
- - desc
241
- - name: limit
242
- in: query
243
- required: false
244
- schema:
245
- type: string
246
- - name: cursor
247
- in: query
248
- required: false
249
- schema:
250
- type: string
251
236
  - name: include
252
237
  in: query
253
238
  required: false
@@ -258,11 +243,6 @@ paths:
258
243
  enum:
259
244
  - temporary
260
245
  - derived
261
- - name: collectionId
262
- in: query
263
- required: false
264
- schema:
265
- type: string
266
246
  responses:
267
247
  200:
268
248
  description: Success
@@ -506,7 +486,7 @@ paths:
506
486
  get:
507
487
  tags:
508
488
  - batch
509
- summary: List all batches for a collection and product (admin only).
489
+ summary: "List the batches for a collection and product (admin only), 50 at a time unless you give a `limit` (at most 1000)."
510
490
  operationId: batch_list
511
491
  security:
512
492
  - bearerAuth: []
@@ -566,7 +546,7 @@ paths:
566
546
  get:
567
547
  tags:
568
548
  - variant
569
- summary: List all variants for a collection and product (admin only).
549
+ summary: "List the variants for a collection and product (admin only), 50 at a time unless you give a `limit` (at most 1000)."
570
550
  operationId: variant_list
571
551
  security:
572
552
  - bearerAuth: []
@@ -1474,9 +1454,9 @@ paths:
1474
1454
  /admin/collection/{collectionId}/async/jobs:
1475
1455
  post:
1476
1456
  tags:
1477
- - async
1478
- summary: "Enqueue a background job for a collection POST /admin/collection/:collectionId/async/jobs (202)"
1479
- operationId: async_enqueueAsyncJob
1457
+ - jobs
1458
+ summary: Start a background job for a collection.
1459
+ operationId: jobs_enqueue
1480
1460
  security:
1481
1461
  - bearerAuth: []
1482
1462
  parameters:
@@ -1507,9 +1487,9 @@ paths:
1507
1487
  /admin/collection/{collectionId}/async/jobs/{jobId}:
1508
1488
  get:
1509
1489
  tags:
1510
- - async
1511
- summary: "Get job status by ID (may return 404 if completed/removed) GET /admin/collection/:collectionId/async/jobs/:jobId"
1512
- operationId: async_getAsyncJobStatus
1490
+ - jobs
1491
+ summary: How a job you started is getting on (may answer 404 once it has finished and been cleared away).
1492
+ operationId: jobs_status
1513
1493
  security:
1514
1494
  - bearerAuth: []
1515
1495
  parameters:
@@ -1540,7 +1520,7 @@ paths:
1540
1520
  get:
1541
1521
  tags:
1542
1522
  - attestations
1543
- summary: List attestations for a subject (admin).
1523
+ summary: attestations.list
1544
1524
  operationId: attestations_list
1545
1525
  security:
1546
1526
  - bearerAuth: []
@@ -1570,16 +1550,11 @@ paths:
1570
1550
  required: false
1571
1551
  schema:
1572
1552
  $ref: "#/components/schemas/AttestationModerationStatus"
1573
- - name: recordedAfter
1574
- in: query
1575
- required: false
1576
- schema:
1577
- type: string
1578
- - name: recordedBefore
1553
+ - name: recordedAt
1579
1554
  in: query
1580
1555
  required: false
1581
1556
  schema:
1582
- type: string
1557
+ $ref: "#/components/schemas/DateRange"
1583
1558
  responses:
1584
1559
  200:
1585
1560
  description: Success
@@ -1701,16 +1676,11 @@ paths:
1701
1676
  required: false
1702
1677
  schema:
1703
1678
  $ref: "#/components/schemas/AttestationGroupBy"
1704
- - name: recordedAfter
1705
- in: query
1706
- required: false
1707
- schema:
1708
- type: string
1709
- - name: recordedBefore
1679
+ - name: recordedAt
1710
1680
  in: query
1711
1681
  required: false
1712
1682
  schema:
1713
- type: string
1683
+ $ref: "#/components/schemas/DateRange"
1714
1684
  - name: limit
1715
1685
  in: query
1716
1686
  required: false
@@ -1800,16 +1770,11 @@ paths:
1800
1770
  required: false
1801
1771
  schema:
1802
1772
  $ref: "#/components/schemas/AttestationGroupBy"
1803
- - name: recordedAfter
1773
+ - name: recordedAt
1804
1774
  in: query
1805
1775
  required: false
1806
1776
  schema:
1807
- type: string
1808
- - name: recordedBefore
1809
- in: query
1810
- required: false
1811
- schema:
1812
- type: string
1777
+ $ref: "#/components/schemas/DateRange"
1813
1778
  - name: limit
1814
1779
  in: query
1815
1780
  required: false
@@ -1879,7 +1844,7 @@ paths:
1879
1844
  get:
1880
1845
  tags:
1881
1846
  - authKit
1882
- summary: "List a collection's AuthKit configs (admin)."
1847
+ summary: "List a collection's AuthKit configs (admin), a page at a time."
1883
1848
  operationId: authKit_list
1884
1849
  security:
1885
1850
  - bearerAuth: []
@@ -2338,7 +2303,7 @@ paths:
2338
2303
  required: true
2339
2304
  schema:
2340
2305
  type: string
2341
- - name: search
2306
+ - name: q
2342
2307
  in: query
2343
2308
  required: false
2344
2309
  schema:
@@ -2348,11 +2313,6 @@ paths:
2348
2313
  required: false
2349
2314
  schema:
2350
2315
  type: string
2351
- - name: limit
2352
- in: query
2353
- required: false
2354
- schema:
2355
- type: number
2356
2316
  responses:
2357
2317
  200:
2358
2318
  description: Success
@@ -2418,6 +2378,16 @@ paths:
2418
2378
  required: true
2419
2379
  schema:
2420
2380
  type: string
2381
+ - name: limit
2382
+ in: query
2383
+ required: false
2384
+ schema:
2385
+ type: number
2386
+ - name: cursor
2387
+ in: query
2388
+ required: false
2389
+ schema:
2390
+ type: string
2421
2391
  responses:
2422
2392
  200:
2423
2393
  description: Success
@@ -2958,7 +2928,7 @@ paths:
2958
2928
  post:
2959
2929
  tags:
2960
2930
  - comms
2961
- summary: "Analytics: Query communication events by user or contact."
2931
+ summary: "Analytics: Query communication events by user or contact, a page at a time (`limit` and `cursor` in the body)."
2962
2932
  operationId: comms_queryByUser
2963
2933
  security:
2964
2934
  - bearerAuth: []
@@ -2992,7 +2962,7 @@ paths:
2992
2962
  post:
2993
2963
  tags:
2994
2964
  - comms
2995
- summary: "Analytics: Recipient IDs for a communication source."
2965
+ summary: "Analytics: Recipient IDs for a communication source, a page at a time (`limit` and `cursor` in the body)."
2996
2966
  operationId: comms_queryRecipientIds
2997
2967
  security:
2998
2968
  - bearerAuth: []
@@ -3104,21 +3074,6 @@ paths:
3104
3074
  required: true
3105
3075
  schema:
3106
3076
  type: string
3107
- - name: limit
3108
- in: query
3109
- required: false
3110
- schema:
3111
- type: number
3112
- - name: cursor
3113
- in: query
3114
- required: false
3115
- schema:
3116
- type: string
3117
- - name: includeDeleted
3118
- in: query
3119
- required: false
3120
- schema:
3121
- type: string
3122
3077
  responses:
3123
3078
  200:
3124
3079
  description: Success
@@ -3179,16 +3134,6 @@ paths:
3179
3134
  required: true
3180
3135
  schema:
3181
3136
  type: string
3182
- - name: limit
3183
- in: query
3184
- required: false
3185
- schema:
3186
- type: number
3187
- - name: cursor
3188
- in: query
3189
- required: false
3190
- schema:
3191
- type: string
3192
3137
  responses:
3193
3138
  200:
3194
3139
  description: Success
@@ -3329,7 +3274,7 @@ paths:
3329
3274
  get:
3330
3275
  tags:
3331
3276
  - contact
3332
- summary: "Search the collection's contacts (admin only), a page at a time: free text (`q`, with `typeahead` for search-as-you-type), or filters on email, phone, id, tags, source, dates and custom fields."
3277
+ summary: "Search the collection's contacts (admin only), a page at a time: free text (`q`, with `typeahead` for search-as-you-type), or filters on email, phone, id, tags, source and custom fields."
3333
3278
  operationId: contact_search
3334
3279
  security:
3335
3280
  - bearerAuth: []
@@ -3339,86 +3284,6 @@ paths:
3339
3284
  required: true
3340
3285
  schema:
3341
3286
  type: string
3342
- - name: q
3343
- in: query
3344
- required: false
3345
- schema:
3346
- type: string
3347
- - name: typeahead
3348
- in: query
3349
- required: false
3350
- schema:
3351
- type: string
3352
- - name: email
3353
- in: query
3354
- required: false
3355
- schema:
3356
- type: string
3357
- - name: phone
3358
- in: query
3359
- required: false
3360
- schema:
3361
- type: string
3362
- - name: id
3363
- in: query
3364
- required: false
3365
- schema:
3366
- type: string
3367
- - name: userId
3368
- in: query
3369
- required: false
3370
- schema:
3371
- type: string
3372
- - name: source
3373
- in: query
3374
- required: false
3375
- schema:
3376
- type: string
3377
- - name: locale
3378
- in: query
3379
- required: false
3380
- schema:
3381
- type: string
3382
- - name: createdFrom
3383
- in: query
3384
- required: false
3385
- schema:
3386
- type: string
3387
- - name: createdTo
3388
- in: query
3389
- required: false
3390
- schema:
3391
- type: string
3392
- - name: externalIdKey
3393
- in: query
3394
- required: false
3395
- schema:
3396
- type: string
3397
- - name: externalIdValue
3398
- in: query
3399
- required: false
3400
- schema:
3401
- type: string
3402
- - name: customFieldKey
3403
- in: query
3404
- required: false
3405
- schema:
3406
- type: string
3407
- - name: customFieldValue
3408
- in: query
3409
- required: false
3410
- schema:
3411
- type: string
3412
- - name: limit
3413
- in: query
3414
- required: false
3415
- schema:
3416
- type: string
3417
- - name: cursor
3418
- in: query
3419
- required: false
3420
- schema:
3421
- type: string
3422
3287
  responses:
3423
3288
  200:
3424
3289
  description: Success
@@ -4399,7 +4264,7 @@ paths:
4399
4264
  get:
4400
4265
  tags:
4401
4266
  - facets
4402
- summary: One facet and all its values (admin).
4267
+ summary: One facet and its values (admin), a page at a time.
4403
4268
  operationId: facets_listValues
4404
4269
  security:
4405
4270
  - bearerAuth: []
@@ -4414,11 +4279,6 @@ paths:
4414
4279
  required: true
4415
4280
  schema:
4416
4281
  type: string
4417
- - name: includeDeleted
4418
- in: query
4419
- required: false
4420
- schema:
4421
- type: boolean
4422
4282
  responses:
4423
4283
  200:
4424
4284
  description: Success
@@ -4955,7 +4815,7 @@ paths:
4955
4815
  post:
4956
4816
  tags:
4957
4817
  - interactions
4958
- summary: "POST /admin/collection/:collectionId/interactions/query Flexible query for interaction events with optional includes."
4818
+ summary: "POST /admin/collection/:collectionId/interactions/query Flexible query for interaction events, a page at a time (`limit` and `cursor` in the body)."
4959
4819
  operationId: interactions_query
4960
4820
  security:
4961
4821
  - bearerAuth: []
@@ -5090,8 +4950,8 @@ paths:
5090
4950
  get:
5091
4951
  tags:
5092
4952
  - jobs
5093
- summary: "List visible jobs for a collection GET /admin/collection/:collectionId/jobs let page = await jobs.listJobs('coll_123', {"
5094
- operationId: jobs_listJobs
4953
+ summary: List visible jobs for a collection, newest first.
4954
+ operationId: jobs_list
5095
4955
  security:
5096
4956
  - bearerAuth: []
5097
4957
  parameters:
@@ -5139,7 +4999,7 @@ paths:
5139
4999
  tags:
5140
5000
  - jobs
5141
5001
  summary: "Get a single job GET /admin/collection/:collectionId/jobs/:jobId"
5142
- operationId: jobs_getJob
5002
+ operationId: jobs_get
5143
5003
  security:
5144
5004
  - bearerAuth: []
5145
5005
  parameters:
@@ -5324,7 +5184,7 @@ paths:
5324
5184
  post:
5325
5185
  tags:
5326
5186
  - journeysAnalytics
5327
- summary: "POST /admin/collection/:collectionId/journeys.analytics/:journeyId/steps/:stepId/recipients Returns recipient IDs for a given journey step, as a list of ids."
5187
+ summary: "POST /admin/collection/:collectionId/journeys.analytics/:journeyId/steps/:stepId/recipients Returns recipient IDs for a given journey step, a page at a time (`limit` and `cursor` in the body)."
5328
5188
  operationId: journeysAnalytics_recipients
5329
5189
  security:
5330
5190
  - bearerAuth: []
@@ -5537,7 +5397,7 @@ paths:
5537
5397
  required: false
5538
5398
  schema:
5539
5399
  type: number
5540
- - name: sort
5400
+ - name: orderBy
5541
5401
  in: query
5542
5402
  required: false
5543
5403
  schema:
@@ -6136,36 +5996,6 @@ paths:
6136
5996
  required: true
6137
5997
  schema:
6138
5998
  type: string
6139
- - name: status
6140
- in: query
6141
- required: false
6142
- schema:
6143
- type: string
6144
- - name: orderRef
6145
- in: query
6146
- required: false
6147
- schema:
6148
- type: string
6149
- - name: customerId
6150
- in: query
6151
- required: false
6152
- schema:
6153
- type: string
6154
- - name: direction
6155
- in: query
6156
- required: false
6157
- schema:
6158
- $ref: "#/components/schemas/OrderDirection"
6159
- - name: partyId
6160
- in: query
6161
- required: false
6162
- schema:
6163
- type: string
6164
- - name: includeItems
6165
- in: query
6166
- required: false
6167
- schema:
6168
- type: boolean
6169
5999
  responses:
6170
6000
  200:
6171
6001
  description: Success
@@ -6790,7 +6620,7 @@ paths:
6790
6620
  get:
6791
6621
  tags:
6792
6622
  - proof
6793
- summary: Get proofs for a batch (admin only), in one list (no pages).
6623
+ summary: Get proofs for a batch (admin only), a page at a time.
6794
6624
  operationId: proof_getByBatch
6795
6625
  security:
6796
6626
  - bearerAuth: []
@@ -6828,7 +6658,7 @@ paths:
6828
6658
  get:
6829
6659
  tags:
6830
6660
  - proof
6831
- summary: Get proofs for a product (admin only), in one list (no pages).
6661
+ summary: Get proofs for a product (admin only), a page at a time.
6832
6662
  operationId: proof_getByProduct
6833
6663
  security:
6834
6664
  - bearerAuth: []
@@ -6898,7 +6728,7 @@ paths:
6898
6728
  post:
6899
6729
  tags:
6900
6730
  - proof
6901
- summary: "Find proofs for a product (admin only): the newest `limit` (default 100), or every proof matching `filterBy`."
6731
+ summary: "Find proofs for a product (admin only): the newest ones, `limit` at a time (default 100), or the proofs matching `filterBy`."
6902
6732
  operationId: proof_findByProduct
6903
6733
  security:
6904
6734
  - bearerAuth: []
@@ -7522,7 +7352,7 @@ paths:
7522
7352
  get:
7523
7353
  tags:
7524
7354
  - proof
7525
- summary: Get proofs for a user in a collection (admin only), in one list (no pages).
7355
+ summary: Get proofs for a user in a collection (admin only), a page at a time.
7526
7356
  operationId: proof_getByUser
7527
7357
  security:
7528
7358
  - bearerAuth: []
@@ -8214,7 +8044,7 @@ paths:
8214
8044
  get:
8215
8045
  tags:
8216
8046
  - template
8217
- summary: "Every template in the collection (admin), in one answer: `nextCursor` is always null."
8047
+ summary: "The templates in the collection (admin), 50 at a time unless you give a `limit` (at most 1000)."
8218
8048
  operationId: template_getAll
8219
8049
  security:
8220
8050
  - bearerAuth: []
@@ -8424,41 +8254,6 @@ paths:
8424
8254
  required: true
8425
8255
  schema:
8426
8256
  type: string
8427
- - name: targetLanguage
8428
- in: query
8429
- required: false
8430
- schema:
8431
- type: string
8432
- - name: sourceLanguage
8433
- in: query
8434
- required: false
8435
- schema:
8436
- type: string
8437
- - name: contentType
8438
- in: query
8439
- required: false
8440
- schema:
8441
- type: string
8442
- - name: contextKey
8443
- in: query
8444
- required: false
8445
- schema:
8446
- type: string
8447
- - name: q
8448
- in: query
8449
- required: false
8450
- schema:
8451
- type: string
8452
- - name: isOverride
8453
- in: query
8454
- required: false
8455
- schema:
8456
- type: boolean
8457
- - name: termIssues
8458
- in: query
8459
- required: false
8460
- schema:
8461
- type: boolean
8462
8257
  responses:
8463
8258
  200:
8464
8259
  description: Success
@@ -10274,7 +10069,7 @@ paths:
10274
10069
  get:
10275
10070
  tags:
10276
10071
  - userAppData
10277
- summary: "List all user's data items for an app."
10072
+ summary: "List the user's data items for an app, a page at a time."
10278
10073
  operationId: userAppData_list
10279
10074
  security:
10280
10075
  - bearerAuth: []
@@ -10961,7 +10756,7 @@ paths:
10961
10756
  get:
10962
10757
  tags:
10963
10758
  - attestations
10964
- summary: List attestations for a subject (public).
10759
+ summary: attestations.publicList
10965
10760
  operationId: attestations_publicList
10966
10761
  security: []
10967
10762
  parameters:
@@ -10990,16 +10785,11 @@ paths:
10990
10785
  required: false
10991
10786
  schema:
10992
10787
  $ref: "#/components/schemas/AttestationModerationStatus"
10993
- - name: recordedAfter
10994
- in: query
10995
- required: false
10996
- schema:
10997
- type: string
10998
- - name: recordedBefore
10788
+ - name: recordedAt
10999
10789
  in: query
11000
10790
  required: false
11001
10791
  schema:
11002
- type: string
10792
+ $ref: "#/components/schemas/DateRange"
11003
10793
  responses:
11004
10794
  200:
11005
10795
  description: Success
@@ -11118,16 +10908,11 @@ paths:
11118
10908
  required: false
11119
10909
  schema:
11120
10910
  $ref: "#/components/schemas/AttestationGroupBy"
11121
- - name: recordedAfter
11122
- in: query
11123
- required: false
11124
- schema:
11125
- type: string
11126
- - name: recordedBefore
10911
+ - name: recordedAt
11127
10912
  in: query
11128
10913
  required: false
11129
10914
  schema:
11130
- type: string
10915
+ $ref: "#/components/schemas/DateRange"
11131
10916
  - name: limit
11132
10917
  in: query
11133
10918
  required: false
@@ -11215,16 +11000,11 @@ paths:
11215
11000
  required: false
11216
11001
  schema:
11217
11002
  $ref: "#/components/schemas/AttestationGroupBy"
11218
- - name: recordedAfter
11003
+ - name: recordedAt
11219
11004
  in: query
11220
11005
  required: false
11221
11006
  schema:
11222
- type: string
11223
- - name: recordedBefore
11224
- in: query
11225
- required: false
11226
- schema:
11227
- type: string
11007
+ $ref: "#/components/schemas/DateRange"
11228
11008
  - name: limit
11229
11009
  in: query
11230
11010
  required: false
@@ -11900,16 +11680,11 @@ paths:
11900
11680
  required: false
11901
11681
  schema:
11902
11682
  $ref: "#/components/schemas/AttestationModerationStatus"
11903
- - name: recordedAfter
11683
+ - name: recordedAt
11904
11684
  in: query
11905
11685
  required: false
11906
11686
  schema:
11907
- type: string
11908
- - name: recordedBefore
11909
- in: query
11910
- required: false
11911
- schema:
11912
- type: string
11687
+ $ref: "#/components/schemas/DateRange"
11913
11688
  responses:
11914
11689
  200:
11915
11690
  description: Success
@@ -11997,16 +11772,11 @@ paths:
11997
11772
  required: false
11998
11773
  schema:
11999
11774
  $ref: "#/components/schemas/AttestationGroupBy"
12000
- - name: recordedAfter
12001
- in: query
12002
- required: false
12003
- schema:
12004
- type: string
12005
- - name: recordedBefore
11775
+ - name: recordedAt
12006
11776
  in: query
12007
11777
  required: false
12008
11778
  schema:
12009
- type: string
11779
+ $ref: "#/components/schemas/DateRange"
12010
11780
  - name: limit
12011
11781
  in: query
12012
11782
  required: false
@@ -12104,16 +11874,11 @@ paths:
12104
11874
  required: false
12105
11875
  schema:
12106
11876
  $ref: "#/components/schemas/AttestationGroupBy"
12107
- - name: recordedAfter
11877
+ - name: recordedAt
12108
11878
  in: query
12109
11879
  required: false
12110
11880
  schema:
12111
- type: string
12112
- - name: recordedBefore
12113
- in: query
12114
- required: false
12115
- schema:
12116
- type: string
11881
+ $ref: "#/components/schemas/DateRange"
12117
11882
  - name: limit
12118
11883
  in: query
12119
11884
  required: false
@@ -12141,7 +11906,7 @@ paths:
12141
11906
  get:
12142
11907
  tags:
12143
11908
  - containers
12144
- summary: List current contents of a container (public).
11909
+ summary: List current contents of a container (public), a page at a time.
12145
11910
  operationId: containers_publicListItems
12146
11911
  security: []
12147
11912
  parameters:
@@ -12298,7 +12063,7 @@ paths:
12298
12063
  get:
12299
12064
  tags:
12300
12065
  - facets
12301
- summary: One facet and all its values (public).
12066
+ summary: One facet and its values (public), a page at a time.
12302
12067
  operationId: facets_publicListValues
12303
12068
  security: []
12304
12069
  parameters:
@@ -12397,7 +12162,7 @@ paths:
12397
12162
  post:
12398
12163
  tags:
12399
12164
  - interactions
12400
- summary: "The signed-in person's own interaction events (where the type allows it)."
12165
+ summary: "The signed-in person's own interaction events (where the type allows it), a page at a time (`limit` and `cursor` in the body)."
12401
12166
  operationId: interactions_publicMyInteractions
12402
12167
  security: []
12403
12168
  parameters:
@@ -12785,6 +12550,43 @@ paths:
12785
12550
  application/json:
12786
12551
  schema:
12787
12552
  $ref: "#/components/schemas/ProofClaimRequest"
12553
+ /public/collection/{collectionId}/product/{productId}/proof/{proofId}/asset:
12554
+ get:
12555
+ tags:
12556
+ - asset
12557
+ summary: "A proof's assets (public), optionally only one app's."
12558
+ operationId: asset_listForProof
12559
+ security: []
12560
+ parameters:
12561
+ - name: collectionId
12562
+ in: path
12563
+ required: true
12564
+ schema:
12565
+ type: string
12566
+ - name: productId
12567
+ in: path
12568
+ required: true
12569
+ schema:
12570
+ type: string
12571
+ - name: proofId
12572
+ in: path
12573
+ required: true
12574
+ schema:
12575
+ type: string
12576
+ responses:
12577
+ 200:
12578
+ description: Success
12579
+ content:
12580
+ application/json:
12581
+ schema:
12582
+ type: object
12583
+ additionalProperties: true
12584
+ 400:
12585
+ description: Bad request
12586
+ 401:
12587
+ description: Unauthorized
12588
+ 404:
12589
+ description: Not found
12788
12590
  /public/collection/{collectionId}/product/{productId}/proof/{proofId}/asset/{assetId}:
12789
12591
  get:
12790
12592
  tags:
@@ -12830,7 +12632,7 @@ paths:
12830
12632
  get:
12831
12633
  tags:
12832
12634
  - attestation
12833
- summary: "List all attestations for a proof, in one list (no pages): `{ items, nextCursor: null }`."
12635
+ summary: "List the attestations for a proof: `{ items, nextCursor, count }`, 50 at a time unless you give a `limit` (at most 1000)."
12834
12636
  operationId: attestation_list
12835
12637
  security: []
12836
12638
  parameters:
@@ -13275,7 +13077,7 @@ paths:
13275
13077
  get:
13276
13078
  tags:
13277
13079
  - proof
13278
- summary: List all Proofs for a Collection, in one list (no pages).
13080
+ summary: List all Proofs for a Collection, a page at a time.
13279
13081
  operationId: proof_list
13280
13082
  security: []
13281
13083
  parameters:
@@ -13472,7 +13274,7 @@ paths:
13472
13274
  get:
13473
13275
  tags:
13474
13276
  - template
13475
- summary: "The collection's templates that may be used publicly, in one answer: `nextCursor` is always null."
13277
+ summary: "The collection's templates that may be used publicly, 50 at a time unless you give a `limit` (at most 1000)."
13476
13278
  operationId: template_getAllowed
13477
13279
  security: []
13478
13280
  parameters:
@@ -13781,7 +13583,7 @@ paths:
13781
13583
  get:
13782
13584
  tags:
13783
13585
  - template
13784
- summary: "The global templates this collection may use, in one answer: `nextCursor` is always null."
13586
+ summary: "The global templates this collection may use, 50 at a time unless you give a `limit` (at most 1000)."
13785
13587
  operationId: template_getAllowedGlobal
13786
13588
  security: []
13787
13589
  parameters:
@@ -14479,7 +14281,7 @@ paths:
14479
14281
  get:
14480
14282
  tags:
14481
14283
  - cases
14482
- summary: "List cases with optional query parameters GET /cases Returns `{ items, nextCursor, count }`: the cases are in `items`, `count` is how many match in all, and `nextCursor` is `null` on the last page."
14284
+ summary: cases.list
14483
14285
  operationId: cases_list
14484
14286
  security: []
14485
14287
  parameters:
@@ -14498,41 +14300,6 @@ paths:
14498
14300
  required: true
14499
14301
  schema:
14500
14302
  type: string
14501
- - name: category
14502
- in: query
14503
- required: false
14504
- schema:
14505
- type: string
14506
- - name: priority
14507
- in: query
14508
- required: false
14509
- schema:
14510
- type: string
14511
- - name: ref
14512
- in: query
14513
- required: false
14514
- schema:
14515
- type: string
14516
- - name: proofId
14517
- in: query
14518
- required: false
14519
- schema:
14520
- type: string
14521
- - name: contactId
14522
- in: query
14523
- required: false
14524
- schema:
14525
- type: string
14526
- - name: assignedTo
14527
- in: query
14528
- required: false
14529
- schema:
14530
- type: string
14531
- - name: closedAt
14532
- in: query
14533
- required: false
14534
- schema:
14535
- type: string
14536
14303
  responses:
14537
14304
  200:
14538
14305
  description: Success
@@ -14851,7 +14618,7 @@ paths:
14851
14618
  get:
14852
14619
  tags:
14853
14620
  - records
14854
- summary: "List records with optional query parameters GET /records Returns `{ items, nextCursor, count }`: the records are in `items`, `count` is how many match in all, and `nextCursor` is `null` on the last page."
14621
+ summary: records.list
14855
14622
  operationId: records_list
14856
14623
  security: []
14857
14624
  parameters:
@@ -14870,121 +14637,6 @@ paths:
14870
14637
  required: true
14871
14638
  schema:
14872
14639
  type: string
14873
- - name: status
14874
- in: query
14875
- required: false
14876
- schema:
14877
- type: string
14878
- - name: recordType
14879
- in: query
14880
- required: false
14881
- schema:
14882
- type: string
14883
- - name: ref
14884
- in: query
14885
- required: false
14886
- schema:
14887
- type: string
14888
- - name: refPrefix
14889
- in: query
14890
- required: false
14891
- schema:
14892
- type: string
14893
- - name: customId
14894
- in: query
14895
- required: false
14896
- schema:
14897
- type: string
14898
- - name: sourceSystem
14899
- in: query
14900
- required: false
14901
- schema:
14902
- type: string
14903
- - name: proofId
14904
- in: query
14905
- required: false
14906
- schema:
14907
- type: string
14908
- - name: variantId
14909
- in: query
14910
- required: false
14911
- schema:
14912
- type: string
14913
- - name: batchId
14914
- in: query
14915
- required: false
14916
- schema:
14917
- type: string
14918
- - name: q
14919
- in: query
14920
- required: false
14921
- schema:
14922
- type: string
14923
- - name: qFields
14924
- in: query
14925
- required: false
14926
- schema:
14927
- type: string
14928
- - name: dataFilter
14929
- in: query
14930
- required: false
14931
- schema:
14932
- type: object
14933
- additionalProperties:
14934
- type: array
14935
- items:
14936
- type: object
14937
- additionalProperties: true
14938
- - name: authorId
14939
- in: query
14940
- required: false
14941
- schema:
14942
- type: string
14943
- - name: parentType
14944
- in: query
14945
- required: false
14946
- schema:
14947
- type: string
14948
- - name: parentId
14949
- in: query
14950
- required: false
14951
- schema:
14952
- type: string
14953
- - name: startsAt
14954
- in: query
14955
- required: false
14956
- schema:
14957
- type: string
14958
- - name: expiresAt
14959
- in: query
14960
- required: false
14961
- schema:
14962
- type: string
14963
- - name: includeScheduled
14964
- in: query
14965
- required: false
14966
- schema:
14967
- type: boolean
14968
- - name: includeExpired
14969
- in: query
14970
- required: false
14971
- schema:
14972
- type: boolean
14973
- - name: at
14974
- in: query
14975
- required: false
14976
- schema:
14977
- type: string
14978
- - name: contactId
14979
- in: query
14980
- required: false
14981
- schema:
14982
- type: string
14983
- - name: includeDeleted
14984
- in: query
14985
- required: false
14986
- schema:
14987
- type: boolean
14988
14640
  responses:
14989
14641
  200:
14990
14642
  description: Success
@@ -15172,7 +14824,7 @@ paths:
15172
14824
  post:
15173
14825
  tags:
15174
14826
  - records
15175
- summary: Match records against a runtime target scope.
14827
+ summary: records.match
15176
14828
  operationId: records_match
15177
14829
  security: []
15178
14830
  parameters:
@@ -15333,7 +14985,7 @@ paths:
15333
14985
  post:
15334
14986
  tags:
15335
14987
  - records
15336
- summary: Resolve every applicable record for a product context in one call.
14988
+ summary: records.resolveAll
15337
14989
  operationId: records_resolveAll
15338
14990
  security: []
15339
14991
  parameters:
@@ -15494,59 +15146,18 @@ paths:
15494
15146
  description: Unauthorized
15495
15147
  404:
15496
15148
  description: Not found
15497
- requestBody:
15498
- required: true
15499
- content:
15500
- application/json:
15501
- schema:
15502
- $ref: "#/components/schemas/UpdateRecordInput"
15503
- /{zone}/collection/{collectionId}/app/{appId}/records/{recordId}/restore:
15504
- post:
15505
- tags:
15506
- - records
15507
- summary: Restore a soft-deleted record.
15508
- operationId: records_restore
15509
- security: []
15510
- parameters:
15511
- - name: zone
15512
- in: path
15513
- required: true
15514
- schema:
15515
- type: string
15516
- - name: collectionId
15517
- in: path
15518
- required: true
15519
- schema:
15520
- type: string
15521
- - name: appId
15522
- in: path
15523
- required: true
15524
- schema:
15525
- type: string
15526
- - name: recordId
15527
- in: path
15528
- required: true
15529
- schema:
15530
- type: string
15531
- responses:
15532
- 200:
15533
- description: Success
15534
- content:
15535
- application/json:
15536
- schema:
15537
- $ref: "#/components/schemas/AppRecord"
15538
- 400:
15539
- description: Bad request
15540
- 401:
15541
- description: Unauthorized
15542
- 404:
15543
- description: Not found
15544
- /{zone}/collection/{collectionId}/app/{appId}/threads:
15545
- get:
15149
+ requestBody:
15150
+ required: true
15151
+ content:
15152
+ application/json:
15153
+ schema:
15154
+ $ref: "#/components/schemas/UpdateRecordInput"
15155
+ /{zone}/collection/{collectionId}/app/{appId}/records/{recordId}/restore:
15156
+ post:
15546
15157
  tags:
15547
- - threads
15548
- summary: "List threads with optional query parameters GET /threads Returns `{ items, nextCursor, count }`: the threads are in `items`, `count` is how many match in all, and `nextCursor` is `null` on the last page."
15549
- operationId: threads_list
15158
+ - records
15159
+ summary: Restore a soft-deleted record.
15160
+ operationId: records_restore
15550
15161
  security: []
15551
15162
  parameters:
15552
15163
  - name: zone
@@ -15564,51 +15175,45 @@ paths:
15564
15175
  required: true
15565
15176
  schema:
15566
15177
  type: string
15567
- - name: slug
15568
- in: query
15569
- required: false
15570
- schema:
15571
- type: string
15572
- - name: authorId
15573
- in: query
15574
- required: false
15575
- schema:
15576
- type: string
15577
- - name: parentType
15578
- in: query
15579
- required: false
15580
- schema:
15581
- type: string
15582
- - name: parentId
15583
- in: query
15584
- required: false
15585
- schema:
15586
- type: string
15587
- - name: parentIds
15588
- in: query
15589
- required: false
15590
- schema:
15591
- type: array
15592
- items:
15593
- type: string
15594
- - name: proofId
15595
- in: query
15596
- required: false
15178
+ - name: recordId
15179
+ in: path
15180
+ required: true
15597
15181
  schema:
15598
15182
  type: string
15599
- - name: productId
15600
- in: query
15601
- required: false
15183
+ responses:
15184
+ 200:
15185
+ description: Success
15186
+ content:
15187
+ application/json:
15188
+ schema:
15189
+ $ref: "#/components/schemas/AppRecord"
15190
+ 400:
15191
+ description: Bad request
15192
+ 401:
15193
+ description: Unauthorized
15194
+ 404:
15195
+ description: Not found
15196
+ /{zone}/collection/{collectionId}/app/{appId}/threads:
15197
+ get:
15198
+ tags:
15199
+ - threads
15200
+ summary: threads.list
15201
+ operationId: threads_list
15202
+ security: []
15203
+ parameters:
15204
+ - name: zone
15205
+ in: path
15206
+ required: true
15602
15207
  schema:
15603
15208
  type: string
15604
- - name: tag
15605
- in: query
15606
- required: false
15209
+ - name: collectionId
15210
+ in: path
15211
+ required: true
15607
15212
  schema:
15608
15213
  type: string
15609
- - name: contactId
15610
- in: query
15611
- required: false
15214
+ - name: appId
15215
+ in: path
15216
+ required: true
15612
15217
  schema:
15613
15218
  type: string
15614
15219
  responses:
@@ -19068,8 +18673,8 @@ components:
19068
18673
  properties:
19069
18674
  source:
19070
18675
  $ref: "#/components/schemas/AnalyticsSource"
19071
- sort:
19072
- $ref: "#/components/schemas/AnalyticsSortOrder"
18676
+ orderBy:
18677
+ $ref: "#/components/schemas/OrderBy"
19073
18678
  required:
19074
18679
  - source
19075
18680
  AnalyticsEventsResponse:
@@ -21260,8 +20865,6 @@ components:
21260
20865
  ListQueryParams:
21261
20866
  type: object
21262
20867
  properties:
21263
- sort:
21264
- type: string
21265
20868
  includeDeleted:
21266
20869
  type: boolean
21267
20870
  status:
@@ -21269,9 +20872,9 @@ components:
21269
20872
  productId:
21270
20873
  type: string
21271
20874
  createdAt:
21272
- type: string
20875
+ $ref: "#/components/schemas/DateRange"
21273
20876
  updatedAt:
21274
- type: string
20877
+ $ref: "#/components/schemas/DateRange"
21275
20878
  AppCase:
21276
20879
  type: object
21277
20880
  properties:
@@ -21453,7 +21056,19 @@ components:
21453
21056
  assignedTo:
21454
21057
  type: string
21455
21058
  closedAt:
21059
+ $ref: "#/components/schemas/DateRange"
21060
+ orderBy:
21456
21061
  type: string
21062
+ enum:
21063
+ - createdAt
21064
+ - updatedAt
21065
+ - closedAt
21066
+ - priority
21067
+ - status
21068
+ - category
21069
+ - ref
21070
+ - customId
21071
+ - sourceSystem
21457
21072
  ReplyEntry:
21458
21073
  type: object
21459
21074
  properties:
@@ -21655,6 +21270,14 @@ components:
21655
21270
  type: string
21656
21271
  contactId:
21657
21272
  type: string
21273
+ orderBy:
21274
+ type: string
21275
+ enum:
21276
+ - createdAt
21277
+ - updatedAt
21278
+ - lastReplyAt
21279
+ - replyCount
21280
+ - status
21658
21281
  FacetRuleClause:
21659
21282
  type: object
21660
21283
  properties:
@@ -21826,6 +21449,8 @@ components:
21826
21449
  type: string
21827
21450
  limit:
21828
21451
  type: number
21452
+ cursor:
21453
+ type: string
21829
21454
  includeScheduled:
21830
21455
  type: boolean
21831
21456
  includeExpired:
@@ -22085,9 +21710,12 @@ components:
22085
21710
  parentId:
22086
21711
  type: string
22087
21712
  startsAt:
22088
- type: string
21713
+ $ref: "#/components/schemas/DateRange"
22089
21714
  expiresAt:
22090
- type: string
21715
+ $ref: "#/components/schemas/DateRange"
21716
+ orderBy:
21717
+ type: object
21718
+ additionalProperties: true
22091
21719
  includeScheduled:
22092
21720
  type: boolean
22093
21721
  includeExpired:
@@ -22135,6 +21763,8 @@ components:
22135
21763
  - collection
22136
21764
  limit:
22137
21765
  type: number
21766
+ cursor:
21767
+ type: string
22138
21768
  at:
22139
21769
  type: string
22140
21770
  includeScheduled:
@@ -22551,8 +22181,6 @@ components:
22551
22181
  properties:
22552
22182
  appId:
22553
22183
  type: string
22554
- limit:
22555
- type: number
22556
22184
  GetAssetOptions:
22557
22185
  type: object
22558
22186
  properties:
@@ -22587,18 +22215,13 @@ components:
22587
22215
  - Document
22588
22216
  labels:
22589
22217
  type: string
22590
- sort:
22218
+ orderBy:
22591
22219
  type: string
22592
22220
  enum:
22593
22221
  - createdAt
22594
22222
  - name
22595
22223
  - size
22596
22224
  - assetType
22597
- order:
22598
- type: string
22599
- enum:
22600
- - asc
22601
- - desc
22602
22225
  include:
22603
22226
  type: array
22604
22227
  items:
@@ -23168,10 +22791,8 @@ components:
23168
22791
  type: string
23169
22792
  moderationStatus:
23170
22793
  $ref: "#/components/schemas/AttestationModerationStatus"
23171
- recordedAfter:
23172
- type: string
23173
- recordedBefore:
23174
- type: string
22794
+ recordedAt:
22795
+ $ref: "#/components/schemas/DateRange"
23175
22796
  required:
23176
22797
  - subjectType
23177
22798
  - subjectId
@@ -23188,10 +22809,8 @@ components:
23188
22809
  type: string
23189
22810
  groupBy:
23190
22811
  $ref: "#/components/schemas/AttestationGroupBy"
23191
- recordedAfter:
23192
- type: string
23193
- recordedBefore:
23194
- type: string
22812
+ recordedAt:
22813
+ $ref: "#/components/schemas/DateRange"
23195
22814
  limit:
23196
22815
  type: number
23197
22816
  required:
@@ -23232,10 +22851,8 @@ components:
23232
22851
  type: string
23233
22852
  groupBy:
23234
22853
  $ref: "#/components/schemas/AttestationGroupBy"
23235
- recordedAfter:
23236
- type: string
23237
- recordedBefore:
23238
- type: string
22854
+ recordedAt:
22855
+ $ref: "#/components/schemas/DateRange"
23239
22856
  limit:
23240
22857
  type: number
23241
22858
  includeItems:
@@ -24720,12 +24337,10 @@ components:
24720
24337
  SearchBatchesRequest:
24721
24338
  type: object
24722
24339
  properties:
24723
- search:
24340
+ q:
24724
24341
  type: string
24725
24342
  productId:
24726
24343
  type: string
24727
- limit:
24728
- type: number
24729
24344
  BatchTag:
24730
24345
  type: object
24731
24346
  properties:
@@ -25110,7 +24725,18 @@ components:
25110
24725
  type: number
25111
24726
  BookingListOptions:
25112
24727
  type: object
25113
- properties: {}
24728
+ properties:
24729
+ orderBy:
24730
+ type: string
24731
+ enum:
24732
+ - startsAt
24733
+ - endsAt
24734
+ - createdAt
24735
+ - updatedAt
24736
+ - status
24737
+ - ref
24738
+ - customId
24739
+ - sourceSystem
25114
24740
  CreateSlotInput:
25115
24741
  type: object
25116
24742
  properties:
@@ -25196,7 +24822,18 @@ components:
25196
24822
  type: number
25197
24823
  SlotListOptions:
25198
24824
  type: object
25199
- properties: {}
24825
+ properties:
24826
+ orderBy:
24827
+ type: string
24828
+ enum:
24829
+ - startsAt
24830
+ - endsAt
24831
+ - createdAt
24832
+ - updatedAt
24833
+ - status
24834
+ - capacity
24835
+ - ref
24836
+ - customId
25200
24837
  CreateBlockInput:
25201
24838
  type: object
25202
24839
  properties:
@@ -26806,8 +26443,6 @@ components:
26806
26443
  type: string
26807
26444
  to:
26808
26445
  type: string
26809
- limit:
26810
- type: number
26811
26446
  RecipientWithOutcome:
26812
26447
  type: object
26813
26448
  properties:
@@ -26829,8 +26464,6 @@ components:
26829
26464
  type: string
26830
26465
  to:
26831
26466
  type: string
26832
- limit:
26833
- type: number
26834
26467
  CommsRecipientsWithoutInteractionQuery:
26835
26468
  type: object
26836
26469
  properties:
@@ -26850,6 +26483,8 @@ components:
26850
26483
  type: string
26851
26484
  limit:
26852
26485
  type: number
26486
+ cursor:
26487
+ type: string
26853
26488
  CommsRecipientsWithInteractionQuery:
26854
26489
  type: object
26855
26490
  properties:
@@ -26873,6 +26508,8 @@ components:
26873
26508
  type: string
26874
26509
  limit:
26875
26510
  type: number
26511
+ cursor:
26512
+ type: string
26876
26513
  LogCommunicationEventBody:
26877
26514
  type: object
26878
26515
  properties:
@@ -27715,10 +27352,8 @@ components:
27715
27352
  type: string
27716
27353
  locale:
27717
27354
  type: string
27718
- createdFrom:
27719
- type: string
27720
- createdTo:
27721
- type: string
27355
+ createdAt:
27356
+ $ref: "#/components/schemas/DateRange"
27722
27357
  externalIdKey:
27723
27358
  type: string
27724
27359
  externalIdValue:
@@ -29050,6 +28685,12 @@ components:
29050
28685
  type: boolean
29051
28686
  namespace:
29052
28687
  type: string
28688
+ q:
28689
+ type: string
28690
+ createdAt:
28691
+ $ref: "#/components/schemas/DateRange"
28692
+ updatedAt:
28693
+ $ref: "#/components/schemas/DateRange"
29053
28694
  query:
29054
28695
  $ref: "#/components/schemas/ProductQueryRequest"
29055
28696
  facetEquals:
@@ -29180,8 +28821,6 @@ components:
29180
28821
  type: string
29181
28822
  derivedFromId:
29182
28823
  type: string
29183
- limit:
29184
- type: number
29185
28824
  ExtractFileRequest:
29186
28825
  type: object
29187
28826
  properties:
@@ -30826,18 +30465,13 @@ components:
30826
30465
  type: string
30827
30466
  to:
30828
30467
  type: string
30829
- limit:
30830
- type: number
30831
30468
  includeDeleted:
30832
30469
  type: boolean
30833
30470
  latestPerEventId:
30834
30471
  type: boolean
30835
- order:
30836
- type: string
30837
- enum:
30838
- - ASC
30839
- - DESC
30840
- include:
30472
+ orderBy:
30473
+ $ref: "#/components/schemas/OrderBy"
30474
+ expand:
30841
30475
  type: array
30842
30476
  items:
30843
30477
  type: string
@@ -30988,8 +30622,6 @@ components:
30988
30622
  type: string
30989
30623
  to:
30990
30624
  type: string
30991
- limit:
30992
- type: number
30993
30625
  InteractionEventRow:
30994
30626
  type: object
30995
30627
  properties:
@@ -31713,8 +31345,6 @@ components:
31713
31345
  type: string
31714
31346
  to:
31715
31347
  type: string
31716
- limit:
31717
- type: number
31718
31348
  JourneyFunnelReportRequest:
31719
31349
  type: object
31720
31350
  properties:
@@ -31912,7 +31542,7 @@ components:
31912
31542
  KnowledgeSearchRequest:
31913
31543
  type: object
31914
31544
  properties:
31915
- query:
31545
+ q:
31916
31546
  type: string
31917
31547
  sets:
31918
31548
  type: array
@@ -31921,10 +31551,10 @@ components:
31921
31551
  filters:
31922
31552
  type: object
31923
31553
  additionalProperties: true
31924
- k:
31554
+ limit:
31925
31555
  type: number
31926
31556
  required:
31927
- - query
31557
+ - q
31928
31558
  KnowledgeSearchResult:
31929
31559
  type: object
31930
31560
  properties:
@@ -32012,6 +31642,24 @@ components:
32012
31642
  type: number
32013
31643
  cursor:
32014
31644
  type: string
31645
+ DateRange:
31646
+ type: object
31647
+ properties:
31648
+ gte:
31649
+ type: object
31650
+ additionalProperties: true
31651
+ lte:
31652
+ type: object
31653
+ additionalProperties: true
31654
+ SortDirection:
31655
+ type: string
31656
+ enum:
31657
+ - asc
31658
+ - desc
31659
+ OrderBy:
31660
+ type: array
31661
+ items:
31662
+ $ref: "#/components/schemas/SortDirection"
32015
31663
  Location:
32016
31664
  type: object
32017
31665
  properties:
@@ -32072,7 +31720,7 @@ components:
32072
31720
  type: string
32073
31721
  limit:
32074
31722
  type: number
32075
- sort:
31723
+ orderBy:
32076
31724
  type: string
32077
31725
  enum:
32078
31726
  - name
@@ -32171,7 +31819,7 @@ components:
32171
31819
  properties:
32172
31820
  status:
32173
31821
  $ref: "#/components/schemas/LotStatus"
32174
- search:
31822
+ q:
32175
31823
  type: string
32176
31824
  productId:
32177
31825
  type: string
@@ -33500,8 +33148,12 @@ components:
33500
33148
  $ref: "#/components/schemas/OrderDirection"
33501
33149
  partyId:
33502
33150
  type: string
33503
- includeItems:
33504
- type: boolean
33151
+ expand:
33152
+ type: array
33153
+ items:
33154
+ type: string
33155
+ enum:
33156
+ - items
33505
33157
  AddItemsRequest:
33506
33158
  type: object
33507
33159
  properties:
@@ -33544,6 +33196,25 @@ components:
33544
33196
  QueryOrdersRequest:
33545
33197
  type: object
33546
33198
  properties:
33199
+ orderBy:
33200
+ type: string
33201
+ enum:
33202
+ - createdAt
33203
+ - updatedAt
33204
+ - status
33205
+ - orderRef
33206
+ - customerId
33207
+ - itemCount
33208
+ createdAt:
33209
+ $ref: "#/components/schemas/DateRange"
33210
+ updatedAt:
33211
+ $ref: "#/components/schemas/DateRange"
33212
+ expand:
33213
+ type: array
33214
+ items:
33215
+ type: string
33216
+ enum:
33217
+ - items
33547
33218
  query:
33548
33219
  type: object
33549
33220
  additionalProperties: true
@@ -33553,14 +33224,6 @@ components:
33553
33224
  type: string
33554
33225
  customerId:
33555
33226
  type: string
33556
- createdAfter:
33557
- type: string
33558
- createdBefore:
33559
- type: string
33560
- updatedAfter:
33561
- type: string
33562
- updatedBefore:
33563
- type: string
33564
33227
  minItemCount:
33565
33228
  type: number
33566
33229
  maxItemCount:
@@ -33590,16 +33253,6 @@ components:
33590
33253
  metadata:
33591
33254
  type: object
33592
33255
  additionalProperties: true
33593
- sortBy:
33594
- type: object
33595
- additionalProperties: true
33596
- sortOrder:
33597
- type: string
33598
- enum:
33599
- - asc
33600
- - desc
33601
- includeItems:
33602
- type: boolean
33603
33256
  required:
33604
33257
  - itemType
33605
33258
  - itemId
@@ -33828,8 +33481,6 @@ components:
33828
33481
  TimelineRequest:
33829
33482
  type: object
33830
33483
  properties:
33831
- limit:
33832
- type: number
33833
33484
  from:
33834
33485
  type: string
33835
33486
  to:
@@ -33841,9 +33492,7 @@ components:
33841
33492
  properties: {}
33842
33493
  LocationRequest:
33843
33494
  type: object
33844
- properties:
33845
- limit:
33846
- type: number
33495
+ properties: {}
33847
33496
  BulkAnalyticsRequest:
33848
33497
  type: object
33849
33498
  properties:
@@ -34023,11 +33672,24 @@ components:
34023
33672
  ProductQueryRequest:
34024
33673
  type: object
34025
33674
  properties:
33675
+ q:
33676
+ type: string
33677
+ orderBy:
33678
+ type: object
33679
+ additionalProperties: true
33680
+ createdAt:
33681
+ $ref: "#/components/schemas/DateRange"
33682
+ updatedAt:
33683
+ $ref: "#/components/schemas/DateRange"
33684
+ expand:
33685
+ type: array
33686
+ items:
33687
+ type: string
33688
+ enum:
33689
+ - facets
34026
33690
  query:
34027
33691
  type: object
34028
33692
  additionalProperties: true
34029
- search:
34030
- type: string
34031
33693
  status:
34032
33694
  type: array
34033
33695
  items:
@@ -34040,33 +33702,12 @@ components:
34040
33702
  type: string
34041
33703
  gtin:
34042
33704
  type: string
34043
- updatedAfter:
34044
- $ref: "#/components/schemas/ISODateString"
34045
- updatedBefore:
34046
- $ref: "#/components/schemas/ISODateString"
34047
- createdAfter:
34048
- $ref: "#/components/schemas/ISODateString"
34049
- createdBefore:
34050
- $ref: "#/components/schemas/ISODateString"
34051
33705
  facetEquals:
34052
33706
  type: object
34053
33707
  additionalProperties:
34054
33708
  $ref: "#/components/schemas/JsonValue"
34055
- sort:
34056
- type: object
34057
- additionalProperties: true
34058
- field:
34059
- type: string
34060
- direction:
34061
- type: string
34062
- enum:
34063
- - asc
34064
- - desc
34065
33709
  includeDeleted:
34066
33710
  type: boolean
34067
- required:
34068
- - field
34069
- - direction
34070
33711
  Product:
34071
33712
  type: object
34072
33713
  properties:
@@ -34455,17 +34096,17 @@ components:
34455
34096
  ProofFindQuery:
34456
34097
  type: object
34457
34098
  properties:
34458
- limit:
34459
- type: number
34460
34099
  filterBy:
34461
34100
  type: array
34462
34101
  items:
34463
34102
  type: object
34464
34103
  additionalProperties: true
34465
- includes:
34104
+ expand:
34466
34105
  type: array
34467
34106
  items:
34468
34107
  type: string
34108
+ enum:
34109
+ - assets
34469
34110
  ProofValuesUpdateRequest:
34470
34111
  type: object
34471
34112
  properties:
@@ -37102,8 +36743,6 @@ components:
37102
36743
  type: string
37103
36744
  to:
37104
36745
  type: string
37105
- limit:
37106
- type: number
37107
36746
  AddUserGroupMemberRequest:
37108
36747
  type: object
37109
36748
  additionalProperties: true