@proveanything/smartlinks 3.0.0-alpha.1 → 3.0.0-alpha.3

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 (272) hide show
  1. package/README.md +741 -741
  2. package/dist/README.md +573 -573
  3. package/dist/adminCardsView.js +55 -55
  4. package/dist/api/analytics.d.ts +5 -4
  5. package/dist/api/analytics.js +5 -4
  6. package/dist/api/appConfiguration.d.ts +23 -18
  7. package/dist/api/appConfiguration.js +24 -18
  8. package/dist/api/appObjects.d.ts +54 -10
  9. package/dist/api/appObjects.js +75 -40
  10. package/dist/api/asset.d.ts +28 -22
  11. package/dist/api/asset.js +45 -56
  12. package/dist/api/attestation.d.ts +11 -3
  13. package/dist/api/attestation.js +12 -3
  14. package/dist/api/attestations.d.ts +12 -8
  15. package/dist/api/attestations.js +18 -21
  16. package/dist/api/authKit.d.ts +15 -10
  17. package/dist/api/authKit.js +17 -11
  18. package/dist/api/batch.d.ts +36 -25
  19. package/dist/api/batch.js +46 -39
  20. package/dist/api/bookings.d.ts +67 -11
  21. package/dist/api/bookings.js +82 -15
  22. package/dist/api/broadcasts.js +3 -17
  23. package/dist/api/claimSet.d.ts +26 -12
  24. package/dist/api/claimSet.js +32 -24
  25. package/dist/api/collection.d.ts +15 -10
  26. package/dist/api/collection.js +17 -11
  27. package/dist/api/comms.d.ts +12 -6
  28. package/dist/api/comms.js +12 -6
  29. package/dist/api/conditions.d.ts +7 -6
  30. package/dist/api/conditions.js +8 -6
  31. package/dist/api/contact.d.ts +6 -2
  32. package/dist/api/contact.js +25 -60
  33. package/dist/api/containers.d.ts +14 -10
  34. package/dist/api/containers.js +19 -14
  35. package/dist/api/crate.js +7 -9
  36. package/dist/api/dpp.d.ts +20 -13
  37. package/dist/api/dpp.js +23 -15
  38. package/dist/api/facets.d.ts +38 -13
  39. package/dist/api/facets.js +40 -15
  40. package/dist/api/files.d.ts +5 -2
  41. package/dist/api/files.js +7 -4
  42. package/dist/api/form.d.ts +8 -5
  43. package/dist/api/form.js +9 -5
  44. package/dist/api/index.d.ts +1 -1
  45. package/dist/api/index.js +1 -1
  46. package/dist/api/integrations.d.ts +29 -17
  47. package/dist/api/integrations.js +32 -25
  48. package/dist/api/interactions.d.ts +11 -6
  49. package/dist/api/interactions.js +14 -23
  50. package/dist/api/jobs.d.ts +16 -6
  51. package/dist/api/jobs.js +30 -20
  52. package/dist/api/journeys.js +2 -14
  53. package/dist/api/journeysAnalytics.d.ts +8 -5
  54. package/dist/api/journeysAnalytics.js +8 -5
  55. package/dist/api/knowledge.d.ts +20 -14
  56. package/dist/api/knowledge.js +22 -15
  57. package/dist/api/location.d.ts +6 -3
  58. package/dist/api/location.js +8 -22
  59. package/dist/api/lots.d.ts +9 -5
  60. package/dist/api/lots.js +22 -26
  61. package/dist/api/loyalty.d.ts +25 -16
  62. package/dist/api/loyalty.js +33 -32
  63. package/dist/api/nfc.d.ts +3 -1
  64. package/dist/api/nfc.js +3 -1
  65. package/dist/api/order.d.ts +45 -39
  66. package/dist/api/order.js +48 -65
  67. package/dist/api/partner.d.ts +17 -14
  68. package/dist/api/partner.js +21 -22
  69. package/dist/api/payments.d.ts +60 -0
  70. package/dist/api/payments.js +94 -0
  71. package/dist/api/products.d.ts +35 -12
  72. package/dist/api/products.js +36 -13
  73. package/dist/api/proof.d.ts +41 -19
  74. package/dist/api/proof.js +44 -23
  75. package/dist/api/realtime.d.ts +3 -0
  76. package/dist/api/realtime.js +10 -2
  77. package/dist/api/segments.js +3 -15
  78. package/dist/api/serviceAccounts.d.ts +8 -5
  79. package/dist/api/serviceAccounts.js +9 -6
  80. package/dist/api/shop.d.ts +7 -5
  81. package/dist/api/shop.js +13 -19
  82. package/dist/api/subscriptions.d.ts +12 -10
  83. package/dist/api/subscriptions.js +17 -25
  84. package/dist/api/tags.d.ts +23 -20
  85. package/dist/api/tags.js +40 -52
  86. package/dist/api/template.d.ts +16 -11
  87. package/dist/api/template.js +19 -13
  88. package/dist/api/translations.js +2 -12
  89. package/dist/api/userGroups.d.ts +26 -16
  90. package/dist/api/userGroups.js +43 -30
  91. package/dist/api/variant.d.ts +10 -7
  92. package/dist/api/variant.js +11 -7
  93. package/dist/api/wallet.d.ts +14 -11
  94. package/dist/api/wallet.js +15 -12
  95. package/dist/baseline.css +194 -194
  96. package/dist/dataChanged.d.ts +74 -0
  97. package/dist/dataChanged.js +162 -0
  98. package/dist/docs/API_SUMMARY.md +1443 -1409
  99. package/dist/docs/admin-cards.md +189 -189
  100. package/dist/docs/agent-tools.md +156 -156
  101. package/dist/docs/ai-tools-and-skills.md +180 -180
  102. package/dist/docs/ai.md +1721 -1721
  103. package/dist/docs/analytics.md +1 -1
  104. package/dist/docs/api-versions.md +85 -85
  105. package/dist/docs/app-data-storage.md +277 -277
  106. package/dist/docs/app-docs.md +73 -73
  107. package/dist/docs/app-manifest.md +852 -852
  108. package/dist/docs/app-objects.md +4 -4
  109. package/dist/docs/app-records-pattern.md +388 -388
  110. package/dist/docs/appConfig.md +550 -550
  111. package/dist/docs/assistant-apps.md +172 -172
  112. package/dist/docs/assistant-context.md +119 -119
  113. package/dist/docs/attestations.md +8 -8
  114. package/dist/docs/bookings.md +105 -8
  115. package/dist/docs/caching.md +32 -3
  116. package/dist/docs/comms.md +689 -689
  117. package/dist/docs/connectors.md +340 -340
  118. package/dist/docs/contact-search.md +2 -3
  119. package/dist/docs/css-baseline.md +133 -133
  120. package/dist/docs/customer-guide.md +70 -70
  121. package/dist/docs/data-changed.md +91 -0
  122. package/dist/docs/deploying-apps.md +340 -340
  123. package/dist/docs/dpp.md +115 -115
  124. package/dist/docs/entitlements.md +90 -90
  125. package/dist/docs/files.md +69 -69
  126. package/dist/docs/host-dependency-contract.md +252 -252
  127. package/dist/docs/iframe-responder.md +11 -0
  128. package/dist/docs/integrations.md +322 -322
  129. package/dist/docs/interactions.md +544 -544
  130. package/dist/docs/item-context.md +181 -181
  131. package/dist/docs/knowledge.md +105 -105
  132. package/dist/docs/lists.md +157 -114
  133. package/dist/docs/lots.md +112 -112
  134. package/dist/docs/loyalty.md +348 -348
  135. package/dist/docs/members.md +183 -183
  136. package/dist/docs/memberships.md +150 -150
  137. package/dist/docs/mobile-admin-container.md +693 -693
  138. package/dist/docs/operations.md +281 -281
  139. package/dist/docs/overview.md +487 -485
  140. package/dist/docs/payments.md +94 -0
  141. package/dist/docs/proof-comms-triggers.md +142 -142
  142. package/dist/docs/proof-ownership-transfer.md +155 -155
  143. package/dist/docs/proof-product-data-scoping.md +462 -462
  144. package/dist/docs/proof-share-grants.md +305 -305
  145. package/dist/docs/realtime.md +149 -139
  146. package/dist/docs/records-admin-pattern.md +304 -304
  147. package/dist/docs/service-accounts.md +64 -64
  148. package/dist/docs/standard-query.md +196 -187
  149. package/dist/docs/tag-codes.md +97 -97
  150. package/dist/docs/tag-ranges.md +106 -106
  151. package/dist/docs/theme-tokens.md +252 -252
  152. package/dist/docs/upgrading-to-3.md +550 -430
  153. package/dist/docs/wallet-passes.md +107 -107
  154. package/dist/docs/websites.md +123 -123
  155. package/dist/http.d.ts +6 -3
  156. package/dist/http.js +48 -19
  157. package/dist/iframeResponder.d.ts +7 -0
  158. package/dist/iframeResponder.js +10 -0
  159. package/dist/index.d.ts +2 -0
  160. package/dist/index.js +2 -0
  161. package/dist/list.d.ts +12 -0
  162. package/dist/list.js +59 -0
  163. package/dist/openapi.yaml +722 -660
  164. package/dist/testing/bookingsMemory.d.ts +29 -1
  165. package/dist/testing/bookingsMemory.js +89 -1
  166. package/dist/testing/index.js +4 -1
  167. package/dist/theme-boot.js +82 -82
  168. package/dist/theme.css +75 -75
  169. package/dist/types/analytics.d.ts +7 -3
  170. package/dist/types/appManifest.d.ts +26 -4
  171. package/dist/types/appObjects.d.ts +27 -12
  172. package/dist/types/appOptions.d.ts +2 -2
  173. package/dist/types/asset.d.ts +5 -6
  174. package/dist/types/attestations.d.ts +7 -9
  175. package/dist/types/batch.d.ts +5 -5
  176. package/dist/types/bookings.d.ts +109 -6
  177. package/dist/types/comms.d.ts +9 -5
  178. package/dist/types/contact.d.ts +7 -4
  179. package/dist/types/containers.d.ts +2 -1
  180. package/dist/types/facets.d.ts +14 -2
  181. package/dist/types/files.d.ts +3 -2
  182. package/dist/types/index.d.ts +1 -0
  183. package/dist/types/index.js +1 -0
  184. package/dist/types/integrations.d.ts +2 -1
  185. package/dist/types/interaction.d.ts +15 -7
  186. package/dist/types/jobs.d.ts +1 -1
  187. package/dist/types/journeysAnalytics.d.ts +3 -2
  188. package/dist/types/knowledge.d.ts +6 -3
  189. package/dist/types/knowledge.js +0 -1
  190. package/dist/types/list.d.ts +30 -2
  191. package/dist/types/location.d.ts +7 -2
  192. package/dist/types/location.js +0 -1
  193. package/dist/types/lots.d.ts +5 -2
  194. package/dist/types/lots.js +0 -6
  195. package/dist/types/order.d.ts +22 -20
  196. package/dist/types/payments.d.ts +101 -0
  197. package/dist/types/payments.js +5 -0
  198. package/dist/types/product.d.ts +28 -11
  199. package/dist/types/proof.d.ts +7 -8
  200. package/dist/types/realtime.d.ts +5 -1
  201. package/dist/types/tags.d.ts +5 -3
  202. package/dist/types/userGroups.d.ts +3 -3
  203. package/dist/types/userGroups.js +0 -4
  204. package/dist/version.d.ts +1 -1
  205. package/dist/version.js +1 -1
  206. package/docs/API_SUMMARY.md +1443 -1409
  207. package/docs/admin-cards.md +189 -189
  208. package/docs/agent-tools.md +156 -156
  209. package/docs/ai-tools-and-skills.md +180 -180
  210. package/docs/ai.md +1721 -1721
  211. package/docs/analytics.md +1 -1
  212. package/docs/api-versions.md +85 -85
  213. package/docs/app-data-storage.md +277 -277
  214. package/docs/app-docs.md +73 -73
  215. package/docs/app-manifest.md +852 -852
  216. package/docs/app-objects.md +4 -4
  217. package/docs/app-records-pattern.md +388 -388
  218. package/docs/appConfig.md +550 -550
  219. package/docs/assistant-apps.md +172 -172
  220. package/docs/assistant-context.md +119 -119
  221. package/docs/attestations.md +8 -8
  222. package/docs/bookings.md +105 -8
  223. package/docs/caching.md +32 -3
  224. package/docs/comms.md +689 -689
  225. package/docs/connectors.md +340 -340
  226. package/docs/contact-search.md +2 -3
  227. package/docs/css-baseline.md +133 -133
  228. package/docs/customer-guide.md +70 -70
  229. package/docs/data-changed.md +91 -0
  230. package/docs/deploying-apps.md +340 -340
  231. package/docs/dpp.md +115 -115
  232. package/docs/entitlements.md +90 -90
  233. package/docs/files.md +69 -69
  234. package/docs/host-dependency-contract.md +252 -252
  235. package/docs/iframe-responder.md +11 -0
  236. package/docs/integrations.md +322 -322
  237. package/docs/interactions.md +544 -544
  238. package/docs/item-context.md +181 -181
  239. package/docs/knowledge.md +105 -105
  240. package/docs/lists.md +157 -114
  241. package/docs/lots.md +112 -112
  242. package/docs/loyalty.md +348 -348
  243. package/docs/members.md +183 -183
  244. package/docs/memberships.md +150 -150
  245. package/docs/mobile-admin-container.md +693 -693
  246. package/docs/operations.md +281 -281
  247. package/docs/overview.md +487 -485
  248. package/docs/payments.md +94 -0
  249. package/docs/proof-comms-triggers.md +142 -142
  250. package/docs/proof-ownership-transfer.md +155 -155
  251. package/docs/proof-product-data-scoping.md +462 -462
  252. package/docs/proof-share-grants.md +305 -305
  253. package/docs/realtime.md +149 -139
  254. package/docs/service-accounts.md +64 -64
  255. package/docs/standard-query.md +196 -187
  256. package/docs/tag-codes.md +97 -97
  257. package/docs/tag-ranges.md +106 -106
  258. package/docs/theme-lookbook.v1.json +120 -120
  259. package/docs/theme-tokens.md +252 -252
  260. package/docs/upgrading-to-3.md +550 -430
  261. package/docs/wallet-passes.md +107 -107
  262. package/docs/websites.md +123 -123
  263. package/openapi.yaml +722 -660
  264. package/package.json +91 -91
  265. package/scripts/headless-check.mjs +87 -87
  266. package/scripts/lib/bare-imports.mjs +57 -57
  267. package/scripts/lib/keyed-app-data.mjs +21 -21
  268. package/scripts/lib/upgrade.mjs +708 -512
  269. package/scripts/publish.mjs +272 -272
  270. package/scripts/register-release.mjs +91 -91
  271. package/scripts/upgrade.mjs +79 -56
  272. package/upgrade/3.json +2731 -2213
package/upgrade/3.json CHANGED
@@ -1,2213 +1,2731 @@
1
- {
2
- "sdk": {
3
- "from": "2",
4
- "to": "3"
5
- },
6
- "apiVersion": {
7
- "from": "2026-11",
8
- "to": "2027-01"
9
- },
10
- "sharedDependencies": {
11
- "from": "v7",
12
- "to": "v8"
13
- },
14
- "guide": "docs/upgrading-to-3.md",
15
- "about": "Every change between SDK 2 and SDK 3, as data. kind: \"renamed\" = the same call under a new name (mechanical: true means a script may rename it: same arguments, same result unless a \"list\" entry for the new name says otherwise); \"removed\" = no like-for-like call, the note says what to do (\"to\" names the nearest replacement); \"option\" = an option or argument that went; \"option\" entries with \"argument\" name the position (0 = first) of an argument a script may drop when it is the last one passed; \"list\" = a function that now returns ListResult<T> = { items, nextCursor, count? } (\"paged\" says whether it takes limit + cursor); \"behaviour\" = something that changes at run time and the compiler cannot see.",
16
- "hold": [
17
- {
18
- "when": "The app calls a writing function of the old `attestation` namespace (singular): attestation.create, attestation.update, attestation.remove.",
19
- "why": "Its data has not been moved to the new `attestations` yet. SDK 3 keeps the namespace so the app still builds; leave those calls as they are.",
20
- "names": [
21
- "attestation.create",
22
- "attestation.update",
23
- "attestation.remove"
24
- ]
25
- }
26
- ],
27
- "unchanged": [
28
- "The old `attestation` namespace (deprecated, kept until its data is moved).",
29
- "`ctx.sl.*` inside an app's server functions: it runs on the server and keeps its shapes.",
30
- "The standard query functions (proof.query, contact.query, products.standardQuery, app.records.query).",
31
- "Every function that is not a list and was not deprecated."
32
- ],
33
- "changes": [
34
- {
35
- "kind": "renamed",
36
- "name": "ContactSchema",
37
- "to": "ContactSchemaResponse",
38
- "mechanical": true,
39
- "what": "type",
40
- "note": ""
41
- },
42
- {
43
- "kind": "renamed",
44
- "name": "MobileAdminBundleManifest",
45
- "to": "AdminMobileBundleManifest",
46
- "mechanical": true,
47
- "what": "type",
48
- "note": ""
49
- },
50
- {
51
- "kind": "renamed",
52
- "name": "MobileAdminComponentManifest",
53
- "to": "AdminMobileComponentManifest",
54
- "mechanical": true,
55
- "what": "type",
56
- "note": ""
57
- },
58
- {
59
- "kind": "renamed",
60
- "name": "product.clone",
61
- "to": "products.clone",
62
- "mechanical": true,
63
- "note": ""
64
- },
65
- {
66
- "kind": "renamed",
67
- "name": "product.create",
68
- "to": "products.create",
69
- "mechanical": true,
70
- "note": ""
71
- },
72
- {
73
- "kind": "renamed",
74
- "name": "product.createClaimWindow",
75
- "to": "products.createClaimWindow",
76
- "mechanical": true,
77
- "note": ""
78
- },
79
- {
80
- "kind": "renamed",
81
- "name": "product.get",
82
- "to": "products.get",
83
- "mechanical": true,
84
- "note": "The whole `product` namespace (singular) is gone: use `products`."
85
- },
86
- {
87
- "kind": "renamed",
88
- "name": "product.getSN",
89
- "to": "products.getSN",
90
- "mechanical": true,
91
- "note": ""
92
- },
93
- {
94
- "kind": "renamed",
95
- "name": "product.list",
96
- "to": "products.list",
97
- "mechanical": true,
98
- "note": "Then treat it as a list: `products.list` returns ListResult<ProductResponse>."
99
- },
100
- {
101
- "kind": "renamed",
102
- "name": "product.listAssets",
103
- "to": "products.listAssets",
104
- "mechanical": true,
105
- "note": "Then treat it as a list: `products.listAssets` returns ListResult<AssetResponse>."
106
- },
107
- {
108
- "kind": "renamed",
109
- "name": "product.lookupSN",
110
- "to": "products.lookupSN",
111
- "mechanical": true,
112
- "note": ""
113
- },
114
- {
115
- "kind": "renamed",
116
- "name": "product.publicCreateClaim",
117
- "to": "products.publicCreateClaim",
118
- "mechanical": true,
119
- "note": ""
120
- },
121
- {
122
- "kind": "renamed",
123
- "name": "product.publicLookupClaim",
124
- "to": "products.publicLookupClaim",
125
- "mechanical": true,
126
- "note": ""
127
- },
128
- {
129
- "kind": "renamed",
130
- "name": "product.refresh",
131
- "to": "products.refresh",
132
- "mechanical": true,
133
- "note": ""
134
- },
135
- {
136
- "kind": "renamed",
137
- "name": "product.remove",
138
- "to": "products.remove",
139
- "mechanical": true,
140
- "note": ""
141
- },
142
- {
143
- "kind": "renamed",
144
- "name": "product.update",
145
- "to": "products.update",
146
- "mechanical": true,
147
- "note": ""
148
- },
149
- {
150
- "kind": "renamed",
151
- "name": "product.updateClaimWindow",
152
- "to": "products.updateClaimWindow",
153
- "mechanical": true,
154
- "note": ""
155
- },
156
- {
157
- "kind": "renamed",
158
- "name": "ScannerEventSubscriber",
159
- "to": "AdminMobileEventCallback",
160
- "mechanical": true,
161
- "what": "type",
162
- "note": ""
163
- },
164
- {
165
- "kind": "removed",
166
- "name": "ai.generateContent",
167
- "to": "ai.chat.completions.create",
168
- "mechanical": false,
169
- "note": "A different call: it takes chat messages, not `contents`, and answers in the chat-completions shape (`choices[0].message.content`). `ai.chat.completions.create(collectionId, { messages: [{ role: \"user\", content }] })`."
170
- },
171
- {
172
- "kind": "removed",
173
- "name": "Asset.thumbnails",
174
- "to": "Asset.thumbnail",
175
- "mechanical": false,
176
- "what": "field",
177
- "note": "One thumbnail address (`string | null`), not a map of sizes."
178
- },
179
- {
180
- "kind": "removed",
181
- "name": "asset.uploadAsset",
182
- "to": "asset.upload",
183
- "mechanical": false,
184
- "note": "Takes one options object: `asset.upload({ file, scope, … })` (type UploadAssetOptions)."
185
- },
186
- {
187
- "kind": "removed",
188
- "name": "BatchCreateRequest.id",
189
- "to": null,
190
- "mechanical": false,
191
- "what": "field",
192
- "note": "The server generates the batch id. Don't send one."
193
- },
194
- {
195
- "kind": "removed",
196
- "name": "comms.queryRecipientsWithAction",
197
- "to": "comms.queryRecipientsWithInteraction",
198
- "mechanical": false,
199
- "note": "It posted to an address the API never had, so it never worked. The real call takes `interactionId` (not `actionId`) and returns a list of ids, or of `{ id, outcome }` with `includeOutcome: true`."
200
- },
201
- {
202
- "kind": "removed",
203
- "name": "comms.queryRecipientsWithoutAction",
204
- "to": "comms.queryRecipientsWithoutInteraction",
205
- "mechanical": false,
206
- "note": "It posted to an address the API never had, so it never worked. The real call takes `interactionId` (not `actionId`) and returns a list of ids."
207
- },
208
- {
209
- "kind": "removed",
210
- "name": "CommsRecipientsWithActionQuery",
211
- "to": "CommsRecipientsWithInteractionQuery",
212
- "mechanical": false,
213
- "what": "type",
214
- "note": "`actionId` is `interactionId`."
215
- },
216
- {
217
- "kind": "removed",
218
- "name": "CommsRecipientsWithoutActionQuery",
219
- "to": "CommsRecipientsWithoutInteractionQuery",
220
- "mechanical": false,
221
- "what": "type",
222
- "note": "`actionId` is `interactionId`."
223
- },
224
- {
225
- "kind": "removed",
226
- "name": "evaluateCondition",
227
- "to": "evaluateConditions",
228
- "mechanical": false,
229
- "what": "function",
230
- "note": "Takes the field's whole condition list: `evaluateConditions(property.conditions, property.showWhen, values)`."
231
- },
232
- {
233
- "kind": "removed",
234
- "name": "FirebaseTimestamp",
235
- "to": null,
236
- "mechanical": false,
237
- "what": "type",
238
- "note": "Dates are ISO 8601 strings or a Date: `BatchCreateRequest.expiryDate` and `BatchUpdateRequest.expiryDate` are `string | Date`."
239
- },
240
- {
241
- "kind": "removed",
242
- "name": "order.findByProduct",
243
- "to": "order.query",
244
- "mechanical": false,
245
- "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId } })`."
246
- },
247
- {
248
- "kind": "removed",
249
- "name": "order.findItemsByProduct",
250
- "to": "order.query",
251
- "mechanical": false,
252
- "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId }, includeItems: true })` and read each order's items."
253
- },
254
- {
255
- "kind": "removed",
256
- "name": "order.findOrdersByProduct",
257
- "to": "order.query",
258
- "mechanical": false,
259
- "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId } })`."
260
- },
261
- {
262
- "kind": "removed",
263
- "name": "order.getOrderIdsByAttribute",
264
- "to": "order.query",
265
- "mechanical": false,
266
- "note": "The API never had this address, so the call could only fail. Use `order.query` with `productId`, `batchId` or `variantId` in `query`, and read the ids from `items`."
267
- },
268
- {
269
- "kind": "removed",
270
- "name": "order.lookup",
271
- "to": "order.query",
272
- "mechanical": false,
273
- "note": "The API never had this address, so the call could only fail. Find the orders that hold items with `order.query(collectionId, { query: { items: [{ itemType, itemId }] } })`."
274
- },
275
- {
276
- "kind": "removed",
277
- "name": "product.find",
278
- "to": "products.query",
279
- "mechanical": false,
280
- "note": "A different body (type ProductQueryRequest). Returns a list and pages with `limit` + `cursor`."
281
- },
282
- {
283
- "kind": "removed",
284
- "name": "product.publicFind",
285
- "to": null,
286
- "mechanical": false,
287
- "note": "Use `products.get` when you know the id, `products.query` to search. The server retired this route some time ago."
288
- },
289
- {
290
- "kind": "removed",
291
- "name": "realtime.getAdminToken",
292
- "to": "realtime.onMine",
293
- "mechanical": false,
294
- "note": "The SDK gets its own tokens. Subscribe with `realtime.onMine(scope, onMessage)`."
295
- },
296
- {
297
- "kind": "removed",
298
- "name": "realtime.getPublicToken",
299
- "to": null,
300
- "mechanical": false,
301
- "note": "The SDK gets its own tokens. Subscribe with `realtime.channel(scope, name)` or `realtime.onChange(scope, filter, onChange)`."
302
- },
303
- {
304
- "kind": "removed",
305
- "name": "site.ready",
306
- "to": null,
307
- "mechanical": false,
308
- "note": "Sites are server-rendered and nothing waits for the signal. Delete the call."
309
- },
310
- {
311
- "kind": "removed",
312
- "name": "VariantCreateRequest.id",
313
- "to": null,
314
- "mechanical": false,
315
- "what": "field",
316
- "note": "The server generates the variant id. Don't send one."
317
- },
318
- {
319
- "kind": "option",
320
- "name": "asset.list",
321
- "option": "mimeTypePrefix",
322
- "mechanical": false,
323
- "note": "No asset list ever read it, so it never filtered anything. Filter the items you get back (`a.mimeType?.startsWith('image/')`), or as an admin use `asset.listAdmin` with `assetType`."
324
- },
325
- {
326
- "kind": "option",
327
- "name": "authKit.list",
328
- "option": "admin (the argument)",
329
- "mechanical": true,
330
- "note": "There is no public list of AuthKit configs, so the call without `true` always failed. Call `authKit.list(collectionId)`.",
331
- "argument": 1
332
- },
333
- {
334
- "kind": "option",
335
- "name": "bookings.mine",
336
- "option": "contactId",
337
- "mechanical": false,
338
- "note": "`mine` is always the caller's own bookings. To list a contact's bookings as an admin use `bookings.list`."
339
- },
340
- {
341
- "kind": "option",
342
- "name": "collection.list",
343
- "option": "admin (the argument)",
344
- "mechanical": true,
345
- "note": "There is no public list of collections, so `collection.list(false)` always failed. Call `collection.list()`: it lists the collections the signed-in user can work on.",
346
- "argument": 0
347
- },
348
- {
349
- "kind": "option",
350
- "name": "comms.queryRecipientIds",
351
- "option": "journeyStepId",
352
- "mechanical": false,
353
- "note": "The server never read it. For one journey step's recipients use `journeysAnalytics.recipients`."
354
- },
355
- {
356
- "kind": "option",
357
- "name": "containers.publicList",
358
- "option": "status",
359
- "mechanical": false,
360
- "note": "The public list is always the active containers."
361
- },
362
- {
363
- "kind": "option",
364
- "name": "containers.publicList",
365
- "option": "ref",
366
- "mechanical": false,
367
- "note": "The public list never filtered by ref."
368
- },
369
- {
370
- "kind": "option",
371
- "name": "facets.list",
372
- "option": "includeValues",
373
- "mechanical": false,
374
- "note": "The list never read it: a facet list has no values. Read one facet with `facets.get(…, { includeValues: true })`, or its values with `facets.listValues`."
375
- },
376
- {
377
- "kind": "option",
378
- "name": "facets.publicList",
379
- "option": "includeValues",
380
- "mechanical": false,
381
- "note": "The list never read it. Read a facet's values with `facets.publicListValues`."
382
- },
383
- {
384
- "kind": "option",
385
- "name": "interactions.publicMyInteractions",
386
- "option": "scope",
387
- "mechanical": false,
388
- "note": "The server never read it."
389
- },
390
- {
391
- "kind": "option",
392
- "name": "lots.publicList",
393
- "option": "includeDeleted",
394
- "mechanical": false,
395
- "note": "Admin only: use `lots.list`."
396
- },
397
- {
398
- "kind": "list",
399
- "name": "adminCards.list",
400
- "before": "{ cards, hidden, layout }",
401
- "after": "ListResult<AdminCard> & { hidden, layout }",
402
- "paged": false,
403
- "optionsRemoved": [],
404
- "optionsAdded": [],
405
- "note": "`cards` is `items`; `hidden` and `layout` stay beside it."
406
- },
407
- {
408
- "kind": "list",
409
- "name": "ai.agent.listTools",
410
- "before": "AgentToolsResponse { tools }",
411
- "after": "ListResult<AgentToolDefinition>",
412
- "paged": false,
413
- "optionsRemoved": [],
414
- "optionsAdded": [],
415
- "note": "`tools` is `items`."
416
- },
417
- {
418
- "kind": "list",
419
- "name": "ai.skills.list",
420
- "before": "SkillsListResponse { skills }",
421
- "after": "ListResult<SkillDescriptor>",
422
- "paged": false,
423
- "optionsRemoved": [],
424
- "optionsAdded": [],
425
- "note": "`skills` is `items`."
426
- },
427
- {
428
- "kind": "list",
429
- "name": "analytics.admin.events",
430
- "before": "{ source, limit, offset, sort, count, rows }",
431
- "after": "ListResult<Record<string, any>> & { source, sort }",
432
- "paged": true,
433
- "optionsRemoved": [
434
- "offset"
435
- ],
436
- "optionsAdded": [
437
- "cursor"
438
- ],
439
- "note": "`limit` and `cursor` go at the top level of the body. The old `count` was the rows on this page; it is gone."
440
- },
441
- {
442
- "kind": "list",
443
- "name": "app.cases.list",
444
- "before": "{ data, pagination: { total, limit, offset, hasMore } }",
445
- "after": "ListResult<AppCase>",
446
- "paged": true,
447
- "optionsRemoved": [
448
- "offset"
449
- ],
450
- "optionsAdded": [
451
- "cursor"
452
- ],
453
- "note": ""
454
- },
455
- {
456
- "kind": "list",
457
- "name": "app.options.get",
458
- "before": "{ items, version, mode, total? } | { unchanged: true, version }",
459
- "after": "(ListResult<AppOption> & { version, mode }) | { unchanged: true, version }",
460
- "paged": false,
461
- "optionsRemoved": [],
462
- "optionsAdded": [],
463
- "note": "`total` is `count`. The `{ unchanged: true, version }` answer is as before."
464
- },
465
- {
466
- "kind": "list",
467
- "name": "app.records.list",
468
- "before": "{ data, pagination: { total, limit, offset, hasMore } }",
469
- "after": "ListResult<AppRecord>",
470
- "paged": true,
471
- "optionsRemoved": [
472
- "offset"
473
- ],
474
- "optionsAdded": [
475
- "cursor"
476
- ],
477
- "note": ""
478
- },
479
- {
480
- "kind": "list",
481
- "name": "app.records.match",
482
- "before": "{ data, total, strategy }",
483
- "after": "ListResult<MatchEntry> & { strategy }",
484
- "paged": false,
485
- "optionsRemoved": [],
486
- "optionsAdded": [],
487
- "note": "`total` is `count`."
488
- },
489
- {
490
- "kind": "list",
491
- "name": "app.records.resolveAll",
492
- "before": "{ records, total, context, truncated }",
493
- "after": "ListResult<ResolveAllEntry> & { context, truncated }",
494
- "paged": false,
495
- "optionsRemoved": [],
496
- "optionsAdded": [],
497
- "note": "`total` is `count`."
498
- },
499
- {
500
- "kind": "list",
501
- "name": "app.threads.list",
502
- "before": "{ data, pagination: { total, limit, offset, hasMore } }",
503
- "after": "ListResult<AppThread>",
504
- "paged": true,
505
- "optionsRemoved": [
506
- "offset"
507
- ],
508
- "optionsAdded": [
509
- "cursor"
510
- ],
511
- "note": ""
512
- },
513
- {
514
- "kind": "list",
515
- "name": "appConfiguration.getData",
516
- "before": "any[]",
517
- "after": "ListResult<any>",
518
- "paged": false,
519
- "optionsRemoved": [],
520
- "optionsAdded": [],
521
- "note": ""
522
- },
523
- {
524
- "kind": "list",
525
- "name": "appConfiguration.getWidgets",
526
- "before": "{ apps }",
527
- "after": "ListResult<CollectionAppWidget>",
528
- "paged": false,
529
- "optionsRemoved": [],
530
- "optionsAdded": [],
531
- "note": ""
532
- },
533
- {
534
- "kind": "list",
535
- "name": "asset.list",
536
- "before": "Asset[]",
537
- "after": "ListResult<Asset>",
538
- "paged": false,
539
- "optionsRemoved": [
540
- "offset"
541
- ],
542
- "optionsAdded": [],
543
- "note": ""
544
- },
545
- {
546
- "kind": "list",
547
- "name": "asset.listAdmin",
548
- "before": "AdminListAssetsResponse { data, total, limit, offset }",
549
- "after": "ListResult<Asset>",
550
- "paged": true,
551
- "optionsRemoved": [
552
- "offset"
553
- ],
554
- "optionsAdded": [
555
- "cursor"
556
- ],
557
- "note": "`data` is `items` and `total` is `count`. 50 at a time unless you ask (at most 200)."
558
- },
559
- {
560
- "kind": "list",
561
- "name": "asset.listForCollection",
562
- "before": "Asset[]",
563
- "after": "ListResult<Asset>",
564
- "paged": false,
565
- "optionsRemoved": [],
566
- "optionsAdded": [],
567
- "note": ""
568
- },
569
- {
570
- "kind": "list",
571
- "name": "asset.listForProduct",
572
- "before": "Asset[]",
573
- "after": "ListResult<Asset>",
574
- "paged": false,
575
- "optionsRemoved": [],
576
- "optionsAdded": [],
577
- "note": ""
578
- },
579
- {
580
- "kind": "list",
581
- "name": "asset.listForProof",
582
- "before": "Asset[]",
583
- "after": "ListResult<Asset>",
584
- "paged": false,
585
- "optionsRemoved": [],
586
- "optionsAdded": [],
587
- "note": ""
588
- },
589
- {
590
- "kind": "list",
591
- "name": "attestation.list",
592
- "before": "AttestationResponse[]",
593
- "after": "ListResult<AttestationResponse>",
594
- "paged": false,
595
- "optionsRemoved": [],
596
- "optionsAdded": [],
597
- "note": "The old namespace stays, but its list is a list like any other."
598
- },
599
- {
600
- "kind": "list",
601
- "name": "attestations.list",
602
- "before": "{ attestations }",
603
- "after": "ListResult<Attestation>",
604
- "paged": true,
605
- "optionsRemoved": [
606
- "offset"
607
- ],
608
- "optionsAdded": [
609
- "cursor"
610
- ],
611
- "note": ""
612
- },
613
- {
614
- "kind": "list",
615
- "name": "attestations.publicContainerList",
616
- "before": "{ attestations, audience }",
617
- "after": "ListResult<Attestation> & { audience }",
618
- "paged": true,
619
- "optionsRemoved": [
620
- "offset"
621
- ],
622
- "optionsAdded": [
623
- "cursor"
624
- ],
625
- "note": ""
626
- },
627
- {
628
- "kind": "list",
629
- "name": "attestations.publicList",
630
- "before": "{ attestations, audience }",
631
- "after": "ListResult<Attestation> & { audience }",
632
- "paged": true,
633
- "optionsRemoved": [
634
- "offset"
635
- ],
636
- "optionsAdded": [
637
- "cursor"
638
- ],
639
- "note": ""
640
- },
641
- {
642
- "kind": "list",
643
- "name": "authKit.list",
644
- "before": "AuthKitConfig[]",
645
- "after": "ListResult<AuthKitConfig>",
646
- "paged": false,
647
- "optionsRemoved": [],
648
- "optionsAdded": [],
649
- "note": ""
650
- },
651
- {
652
- "kind": "list",
653
- "name": "authKit.listTrustedDevices",
654
- "before": "{ devices: TrustedDevice[] }",
655
- "after": "ListResult<TrustedDevice>",
656
- "paged": false,
657
- "optionsRemoved": [],
658
- "optionsAdded": [],
659
- "note": "`devices` is `items`."
660
- },
661
- {
662
- "kind": "list",
663
- "name": "batch.getBatchTags",
664
- "before": "BatchTag[]",
665
- "after": "ListResult<BatchTag>",
666
- "paged": false,
667
- "optionsRemoved": [],
668
- "optionsAdded": [],
669
- "note": ""
670
- },
671
- {
672
- "kind": "list",
673
- "name": "batch.list",
674
- "before": "BatchResponse[]",
675
- "after": "ListResult<BatchResponse>",
676
- "paged": false,
677
- "optionsRemoved": [],
678
- "optionsAdded": [],
679
- "note": ""
680
- },
681
- {
682
- "kind": "list",
683
- "name": "batch.searchInCollection",
684
- "before": "BatchResponse[]",
685
- "after": "ListResult<BatchResponse>",
686
- "paged": false,
687
- "optionsRemoved": [],
688
- "optionsAdded": [],
689
- "note": ""
690
- },
691
- {
692
- "kind": "list",
693
- "name": "bookings.blocks.list",
694
- "before": "PaginatedResponse<BookingAllocation>",
695
- "after": "ListResult<BookingAllocation> (with count)",
696
- "paged": true,
697
- "optionsRemoved": [
698
- "offset"
699
- ],
700
- "optionsAdded": [
701
- "cursor"
702
- ],
703
- "note": ""
704
- },
705
- {
706
- "kind": "list",
707
- "name": "bookings.list",
708
- "before": "PaginatedResponse<Booking> = { data, pagination: { total, limit, offset, hasMore } }",
709
- "after": "ListResult<Booking> (with count)",
710
- "paged": true,
711
- "optionsRemoved": [
712
- "offset"
713
- ],
714
- "optionsAdded": [
715
- "cursor"
716
- ],
717
- "note": ""
718
- },
719
- {
720
- "kind": "list",
721
- "name": "bookings.mine",
722
- "before": "PaginatedResponse<Booking>",
723
- "after": "ListResult<Booking> (with count)",
724
- "paged": true,
725
- "optionsRemoved": [
726
- "offset"
727
- ],
728
- "optionsAdded": [
729
- "cursor"
730
- ],
731
- "note": ""
732
- },
733
- {
734
- "kind": "list",
735
- "name": "bookings.slots.list",
736
- "before": "PaginatedResponse<BookingSlot>",
737
- "after": "ListResult<BookingSlot> (with count)",
738
- "paged": true,
739
- "optionsRemoved": [
740
- "offset"
741
- ],
742
- "optionsAdded": [
743
- "cursor"
744
- ],
745
- "note": ""
746
- },
747
- {
748
- "kind": "list",
749
- "name": "broadcasts.list",
750
- "before": "BroadcastList = { items, limit, offset }",
751
- "after": "ListResult<BroadcastRecord>",
752
- "paged": true,
753
- "optionsRemoved": [
754
- "offset"
755
- ],
756
- "optionsAdded": [
757
- "cursor"
758
- ],
759
- "typesRemoved": [
760
- "BroadcastList"
761
- ],
762
- "note": ""
763
- },
764
- {
765
- "kind": "list",
766
- "name": "broadcasts.recipients",
767
- "before": "{ items, total, limit, offset, note? }",
768
- "after": "ListResult<Recipient> & { note?: string } (with count)",
769
- "paged": true,
770
- "optionsRemoved": [
771
- "offset"
772
- ],
773
- "optionsAdded": [
774
- "cursor"
775
- ],
776
- "note": ""
777
- },
778
- {
779
- "kind": "list",
780
- "name": "claimSet.getAll",
781
- "before": "any[]",
782
- "after": "ListResult<any>",
783
- "paged": false,
784
- "optionsRemoved": [],
785
- "optionsAdded": [],
786
- "note": ""
787
- },
788
- {
789
- "kind": "list",
790
- "name": "claimSet.getAssignedTags",
791
- "before": "any (the claim set with its tags in `tags`)",
792
- "after": "ListResult<any> & Record<string, any>",
793
- "paged": false,
794
- "optionsRemoved": [],
795
- "optionsAdded": [],
796
- "note": "The tags are in `items`; the claim set's own fields (id, name, …) stay beside them."
797
- },
798
- {
799
- "kind": "list",
800
- "name": "claimSet.ranges.list",
801
- "before": "ClaimSetRange[]",
802
- "after": "ListResult<ClaimSetRange>",
803
- "paged": false,
804
- "optionsRemoved": [],
805
- "optionsAdded": [],
806
- "note": ""
807
- },
808
- {
809
- "kind": "list",
810
- "name": "claimSet.ranges.tags",
811
- "before": "ClaimSetRangeTagsPage { tags, next }",
812
- "after": "ListResult<ClaimSetRangeTag>",
813
- "paged": true,
814
- "optionsRemoved": [
815
- "from"
816
- ],
817
- "optionsAdded": [
818
- "cursor"
819
- ],
820
- "note": "`from` (an index used as a place to carry on) is `cursor`; `limit` and `keys` stay."
821
- },
822
- {
823
- "kind": "list",
824
- "name": "collection.getUsers",
825
- "before": "CollectionUser[]",
826
- "after": "ListResult<CollectionUser>",
827
- "paged": false,
828
- "optionsRemoved": [],
829
- "optionsAdded": [],
830
- "note": ""
831
- },
832
- {
833
- "kind": "list",
834
- "name": "collection.list",
835
- "before": "CollectionResponse[]",
836
- "after": "ListResult<CollectionResponse>",
837
- "paged": false,
838
- "optionsRemoved": [],
839
- "optionsAdded": [],
840
- "note": ""
841
- },
842
- {
843
- "kind": "list",
844
- "name": "comms.listMethods",
845
- "before": "{ ok: true, methods: CommMethod[] }",
846
- "after": "ListResult<CommMethod>",
847
- "paged": false,
848
- "optionsRemoved": [],
849
- "optionsAdded": [],
850
- "note": ""
851
- },
852
- {
853
- "kind": "list",
854
- "name": "comms.queryByUser",
855
- "before": "CommunicationEvent[]",
856
- "after": "ListResult<CommunicationEvent>",
857
- "paged": false,
858
- "optionsRemoved": [],
859
- "optionsAdded": [],
860
- "note": ""
861
- },
862
- {
863
- "kind": "list",
864
- "name": "comms.queryRecipientIds",
865
- "before": "RecipientId[]",
866
- "after": "ListResult<RecipientId>",
867
- "paged": false,
868
- "optionsRemoved": [],
869
- "optionsAdded": [],
870
- "note": ""
871
- },
872
- {
873
- "kind": "list",
874
- "name": "conditions.list",
875
- "before": "SavedCondition[]",
876
- "after": "ListResult<SavedCondition>",
877
- "paged": false,
878
- "optionsRemoved": [],
879
- "optionsAdded": [],
880
- "note": ""
881
- },
882
- {
883
- "kind": "list",
884
- "name": "config.getFields",
885
- "before": "FieldDefinition[]",
886
- "after": "ListResult<FieldDefinition>",
887
- "paged": false,
888
- "optionsRemoved": [],
889
- "optionsAdded": [],
890
- "note": ""
891
- },
892
- {
893
- "kind": "list",
894
- "name": "config.getProofTypes",
895
- "before": "ProofTypeDefinition[]",
896
- "after": "ListResult<ProofTypeDefinition>",
897
- "paged": false,
898
- "optionsRemoved": [],
899
- "optionsAdded": [],
900
- "note": ""
901
- },
902
- {
903
- "kind": "list",
904
- "name": "contact.findDuplicates",
905
- "before": "{ pairs, scanned, more }",
906
- "after": "ListResult<ContactDuplicatePair> & { scanned: number }",
907
- "paged": true,
908
- "optionsRemoved": [
909
- "offset"
910
- ],
911
- "optionsAdded": [
912
- "cursor"
913
- ],
914
- "note": "`more` is gone: check `nextCursor`. `scanned` stays beside the list."
915
- },
916
- {
917
- "kind": "list",
918
- "name": "contact.list",
919
- "before": "ContactListResponse = { items, limit, offset }",
920
- "after": "ListResult<Contact>",
921
- "paged": true,
922
- "optionsRemoved": [
923
- "offset"
924
- ],
925
- "optionsAdded": [
926
- "cursor"
927
- ],
928
- "typesRemoved": [
929
- "ContactListResponse"
930
- ],
931
- "note": ""
932
- },
933
- {
934
- "kind": "list",
935
- "name": "contact.search",
936
- "before": "ContactSearchResponse = { items, limit, offset }",
937
- "after": "ListResult<Contact>",
938
- "paged": true,
939
- "optionsRemoved": [
940
- "offset"
941
- ],
942
- "optionsAdded": [
943
- "cursor"
944
- ],
945
- "typesRemoved": [
946
- "ContactSearchResponse"
947
- ],
948
- "note": ""
949
- },
950
- {
951
- "kind": "list",
952
- "name": "containers.findForItem",
953
- "before": "{ items: ContainerItem[], containers: Container[] }",
954
- "after": "ListResult<ContainerItem> & { containers: Container[] }",
955
- "paged": false,
956
- "optionsRemoved": [],
957
- "optionsAdded": [],
958
- "note": ""
959
- },
960
- {
961
- "kind": "list",
962
- "name": "containers.list",
963
- "before": "ListContainersResponse = { containers, limit, offset }",
964
- "after": "ListResult<Container>",
965
- "paged": true,
966
- "optionsRemoved": [
967
- "offset"
968
- ],
969
- "optionsAdded": [
970
- "cursor"
971
- ],
972
- "typesRemoved": [
973
- "ListContainersResponse"
974
- ],
975
- "note": ""
976
- },
977
- {
978
- "kind": "list",
979
- "name": "containers.listItems",
980
- "before": "ContainerItemsResponse = { items, limit, offset }",
981
- "after": "ListResult<ContainerItem>",
982
- "paged": true,
983
- "optionsRemoved": [
984
- "offset"
985
- ],
986
- "optionsAdded": [
987
- "cursor"
988
- ],
989
- "typesRemoved": [
990
- "ContainerItemsResponse"
991
- ],
992
- "note": "Pages only with `history: true`; the current contents come back whole."
993
- },
994
- {
995
- "kind": "list",
996
- "name": "containers.publicList",
997
- "before": "PublicListContainersResponse = { containers }",
998
- "after": "ListResult<Container>",
999
- "paged": true,
1000
- "optionsRemoved": [
1001
- "offset"
1002
- ],
1003
- "optionsAdded": [
1004
- "cursor"
1005
- ],
1006
- "typesRemoved": [
1007
- "PublicListContainersResponse"
1008
- ],
1009
- "note": ""
1010
- },
1011
- {
1012
- "kind": "list",
1013
- "name": "containers.publicListItems",
1014
- "before": "ContainerItemsResponse = { items, limit, offset }",
1015
- "after": "ListResult<ContainerItem>",
1016
- "paged": false,
1017
- "optionsRemoved": [
1018
- "limit",
1019
- "offset"
1020
- ],
1021
- "optionsAdded": [],
1022
- "note": ""
1023
- },
1024
- {
1025
- "kind": "list",
1026
- "name": "crate.list",
1027
- "before": "ListCratesResponse = { items, hasMore, lastId }",
1028
- "after": "ListResult<Crate>",
1029
- "paged": true,
1030
- "optionsRemoved": [
1031
- "startAfter"
1032
- ],
1033
- "optionsAdded": [
1034
- "cursor"
1035
- ],
1036
- "typesRemoved": [
1037
- "ListCratesResponse"
1038
- ],
1039
- "note": ""
1040
- },
1041
- {
1042
- "kind": "list",
1043
- "name": "dpp.groups",
1044
- "before": "DppGroup[] (the function unwrapped { groups })",
1045
- "after": "ListResult<DppGroup>",
1046
- "paged": false,
1047
- "optionsRemoved": [],
1048
- "optionsAdded": [],
1049
- "note": ""
1050
- },
1051
- {
1052
- "kind": "list",
1053
- "name": "dpp.passports.list",
1054
- "before": "DppPassport[] (unwrapped { passports })",
1055
- "after": "ListResult<DppPassport>",
1056
- "paged": true,
1057
- "optionsRemoved": [
1058
- "offset"
1059
- ],
1060
- "optionsAdded": [
1061
- "cursor"
1062
- ],
1063
- "note": ""
1064
- },
1065
- {
1066
- "kind": "list",
1067
- "name": "dpp.passports.versions",
1068
- "before": "DppPassportVersion[] (unwrapped { versions })",
1069
- "after": "ListResult<DppPassportVersion>",
1070
- "paged": false,
1071
- "optionsRemoved": [],
1072
- "optionsAdded": [],
1073
- "note": ""
1074
- },
1075
- {
1076
- "kind": "list",
1077
- "name": "dpp.registry.list",
1078
- "before": "DppRegistry[] (unwrapped { registries })",
1079
- "after": "ListResult<DppRegistry>",
1080
- "paged": false,
1081
- "optionsRemoved": [],
1082
- "optionsAdded": [],
1083
- "note": ""
1084
- },
1085
- {
1086
- "kind": "list",
1087
- "name": "dpp.tasks.list",
1088
- "before": "DppTask[] (unwrapped { tasks })",
1089
- "after": "ListResult<DppTask>",
1090
- "paged": false,
1091
- "optionsRemoved": [],
1092
- "optionsAdded": [],
1093
- "note": ""
1094
- },
1095
- {
1096
- "kind": "list",
1097
- "name": "facets.list",
1098
- "before": "FacetListResponse = { items }",
1099
- "after": "ListResult<FacetDefinition>",
1100
- "paged": false,
1101
- "optionsRemoved": [],
1102
- "optionsAdded": [],
1103
- "note": ""
1104
- },
1105
- {
1106
- "kind": "list",
1107
- "name": "facets.listValues",
1108
- "before": "FacetValueListResponse = { facet, items }",
1109
- "after": "ListResult<FacetValue> & { facet: FacetDefinition }",
1110
- "paged": false,
1111
- "optionsRemoved": [],
1112
- "optionsAdded": [],
1113
- "note": ""
1114
- },
1115
- {
1116
- "kind": "list",
1117
- "name": "facets.namespaces",
1118
- "before": "FacetNamespaceListResponse = { namespaces: string[] }",
1119
- "after": "ListResult<string>",
1120
- "paged": false,
1121
- "optionsRemoved": [],
1122
- "optionsAdded": [],
1123
- "note": ""
1124
- },
1125
- {
1126
- "kind": "list",
1127
- "name": "facets.publicList",
1128
- "before": "FacetListResponse = { items }",
1129
- "after": "ListResult<FacetDefinition>",
1130
- "paged": false,
1131
- "optionsRemoved": [],
1132
- "optionsAdded": [],
1133
- "note": ""
1134
- },
1135
- {
1136
- "kind": "list",
1137
- "name": "facets.publicListValues",
1138
- "before": "FacetValueListResponse = { facet, items }",
1139
- "after": "ListResult<FacetValue> & { facet: FacetDefinition }",
1140
- "paged": false,
1141
- "optionsRemoved": [],
1142
- "optionsAdded": [],
1143
- "note": ""
1144
- },
1145
- {
1146
- "kind": "list",
1147
- "name": "facets.publicNamespaces",
1148
- "before": "FacetNamespaceListResponse = { namespaces: string[] }",
1149
- "after": "ListResult<string>",
1150
- "paged": false,
1151
- "optionsRemoved": [],
1152
- "optionsAdded": [],
1153
- "note": ""
1154
- },
1155
- {
1156
- "kind": "list",
1157
- "name": "facets.publicQuery",
1158
- "before": "FacetQueryResponse = { items, buckets, meta? }",
1159
- "after": "ListResult<{ facet, values }> & { buckets: FacetBucket[], meta? }",
1160
- "paged": false,
1161
- "optionsRemoved": [],
1162
- "optionsAdded": [],
1163
- "note": ""
1164
- },
1165
- {
1166
- "kind": "list",
1167
- "name": "facets.query",
1168
- "before": "FacetQueryResponse = { items, buckets, meta? }",
1169
- "after": "ListResult<{ facet, values }> & { buckets: FacetBucket[], meta? }",
1170
- "paged": false,
1171
- "optionsRemoved": [],
1172
- "optionsAdded": [],
1173
- "note": ""
1174
- },
1175
- {
1176
- "kind": "list",
1177
- "name": "files.list",
1178
- "before": "{ ok: true, files: FileRecord[] }",
1179
- "after": "ListResult<FileRecord>",
1180
- "paged": false,
1181
- "optionsRemoved": [],
1182
- "optionsAdded": [],
1183
- "note": ""
1184
- },
1185
- {
1186
- "kind": "list",
1187
- "name": "form.list",
1188
- "before": "any[]",
1189
- "after": "ListResult<any>",
1190
- "paged": false,
1191
- "optionsRemoved": [],
1192
- "optionsAdded": [],
1193
- "note": ""
1194
- },
1195
- {
1196
- "kind": "list",
1197
- "name": "integrations.listConnectorActions",
1198
- "before": "{ actions }",
1199
- "after": "ListResult<{ name, title, description?, visibility, input?, output? }>",
1200
- "paged": false,
1201
- "optionsRemoved": [],
1202
- "optionsAdded": [],
1203
- "note": ""
1204
- },
1205
- {
1206
- "kind": "list",
1207
- "name": "integrations.listConnectors",
1208
- "before": "{ connectors }",
1209
- "after": "ListResult<InstalledConnector>",
1210
- "paged": false,
1211
- "optionsRemoved": [],
1212
- "optionsAdded": [],
1213
- "note": ""
1214
- },
1215
- {
1216
- "kind": "list",
1217
- "name": "integrations.listEntityRuns",
1218
- "before": "{ runs, nextCursor? }",
1219
- "after": "ListResult<FlowRun>",
1220
- "paged": false,
1221
- "optionsRemoved": [],
1222
- "optionsAdded": [],
1223
- "note": ""
1224
- },
1225
- {
1226
- "kind": "list",
1227
- "name": "integrations.listFailed",
1228
- "before": "{ direction, items, nextCursor }",
1229
- "after": "ListResult<FailedRecord> & { direction: FlowDirection }",
1230
- "paged": true,
1231
- "optionsRemoved": [],
1232
- "optionsAdded": [],
1233
- "typesRemoved": [
1234
- "FailedRecordList"
1235
- ],
1236
- "note": ""
1237
- },
1238
- {
1239
- "kind": "list",
1240
- "name": "integrations.listFlows",
1241
- "before": "{ flows }",
1242
- "after": "ListResult<IntegrationFlow>",
1243
- "paged": false,
1244
- "optionsRemoved": [],
1245
- "optionsAdded": [],
1246
- "typesRemoved": [
1247
- "FlowList"
1248
- ],
1249
- "note": ""
1250
- },
1251
- {
1252
- "kind": "list",
1253
- "name": "integrations.listRecordTypes",
1254
- "before": "{ recordTypes }",
1255
- "after": "ListResult<RecordTypeInfo>",
1256
- "paged": false,
1257
- "optionsRemoved": [],
1258
- "optionsAdded": [],
1259
- "typesRemoved": [
1260
- "RecordTypesResponse"
1261
- ],
1262
- "note": ""
1263
- },
1264
- {
1265
- "kind": "list",
1266
- "name": "integrations.listRunItems",
1267
- "before": "{ items, nextCursor? }",
1268
- "after": "ListResult<FlowRunItem>",
1269
- "paged": true,
1270
- "optionsRemoved": [],
1271
- "optionsAdded": [],
1272
- "typesRemoved": [
1273
- "RunItemList"
1274
- ],
1275
- "note": ""
1276
- },
1277
- {
1278
- "kind": "list",
1279
- "name": "integrations.listRuns",
1280
- "before": "{ runs, nextCursor? }",
1281
- "after": "ListResult<FlowRun>",
1282
- "paged": true,
1283
- "optionsRemoved": [],
1284
- "optionsAdded": [],
1285
- "typesRemoved": [
1286
- "RunList"
1287
- ],
1288
- "note": ""
1289
- },
1290
- {
1291
- "kind": "list",
1292
- "name": "interactions.list",
1293
- "before": "{ items, limit, offset }",
1294
- "after": "ListResult<InteractionTypeRecord>",
1295
- "paged": true,
1296
- "optionsRemoved": [
1297
- "offset"
1298
- ],
1299
- "optionsAdded": [
1300
- "cursor"
1301
- ],
1302
- "typesRemoved": [
1303
- "InteractionTypeList"
1304
- ],
1305
- "note": ""
1306
- },
1307
- {
1308
- "kind": "list",
1309
- "name": "interactions.publicList",
1310
- "before": "{ items, limit, offset }",
1311
- "after": "ListResult<InteractionTypeRecord>",
1312
- "paged": true,
1313
- "optionsRemoved": [
1314
- "offset"
1315
- ],
1316
- "optionsAdded": [
1317
- "cursor"
1318
- ],
1319
- "note": ""
1320
- },
1321
- {
1322
- "kind": "list",
1323
- "name": "interactions.publicMyInteractions",
1324
- "before": "InteractionEventRow[]",
1325
- "after": "ListResult<InteractionEventRow>",
1326
- "paged": false,
1327
- "optionsRemoved": [],
1328
- "optionsAdded": [],
1329
- "note": ""
1330
- },
1331
- {
1332
- "kind": "list",
1333
- "name": "interactions.query",
1334
- "before": "InteractionEventRow[]",
1335
- "after": "ListResult<InteractionEventRow>",
1336
- "paged": false,
1337
- "optionsRemoved": [],
1338
- "optionsAdded": [],
1339
- "note": ""
1340
- },
1341
- {
1342
- "kind": "list",
1343
- "name": "jobs.listJobs",
1344
- "before": "{ items, limit, offset }",
1345
- "after": "ListResult<Job>",
1346
- "paged": true,
1347
- "optionsRemoved": [
1348
- "offset"
1349
- ],
1350
- "optionsAdded": [
1351
- "cursor"
1352
- ],
1353
- "typesRemoved": [
1354
- "JobsPage"
1355
- ],
1356
- "note": ""
1357
- },
1358
- {
1359
- "kind": "list",
1360
- "name": "journeys.list",
1361
- "before": "{ items, limit, offset }",
1362
- "after": "ListResult<JourneyRecord>",
1363
- "paged": true,
1364
- "optionsRemoved": [
1365
- "offset"
1366
- ],
1367
- "optionsAdded": [
1368
- "cursor"
1369
- ],
1370
- "typesRemoved": [
1371
- "JourneyList"
1372
- ],
1373
- "note": ""
1374
- },
1375
- {
1376
- "kind": "list",
1377
- "name": "journeysAnalytics.recipients",
1378
- "before": "string[]",
1379
- "after": "ListResult<string>",
1380
- "paged": false,
1381
- "optionsRemoved": [],
1382
- "optionsAdded": [],
1383
- "typesRemoved": [
1384
- "JourneyStepRecipientsResponse"
1385
- ],
1386
- "note": ""
1387
- },
1388
- {
1389
- "kind": "list",
1390
- "name": "knowledge.listSets",
1391
- "before": "KnowledgeSet[]",
1392
- "after": "ListResult<KnowledgeSet>",
1393
- "paged": false,
1394
- "optionsRemoved": [],
1395
- "optionsAdded": [],
1396
- "note": ""
1397
- },
1398
- {
1399
- "kind": "list",
1400
- "name": "knowledge.listSources",
1401
- "before": "KnowledgeSource[]",
1402
- "after": "ListResult<KnowledgeSource>",
1403
- "paged": false,
1404
- "optionsRemoved": [],
1405
- "optionsAdded": [],
1406
- "note": ""
1407
- },
1408
- {
1409
- "kind": "list",
1410
- "name": "knowledge.publicSearch",
1411
- "before": "KnowledgeSearchResponse { query, results, mode }",
1412
- "after": "ListResult<KnowledgeSearchResult> & Pick<KnowledgeSearchResponse, 'query' | 'mode'>",
1413
- "paged": false,
1414
- "optionsRemoved": [],
1415
- "optionsAdded": [],
1416
- "note": "`results` is `items`; `query` and `mode` stay beside it."
1417
- },
1418
- {
1419
- "kind": "list",
1420
- "name": "knowledge.search",
1421
- "before": "{ query, results, mode }",
1422
- "after": "ListResult<KnowledgeSearchResult> & { query, mode }",
1423
- "paged": false,
1424
- "optionsRemoved": [],
1425
- "optionsAdded": [],
1426
- "note": "`results` is `items`; `query` and `mode` stay beside it."
1427
- },
1428
- {
1429
- "kind": "list",
1430
- "name": "location.search",
1431
- "before": "{ items, count }",
1432
- "after": "ListResult<Location>",
1433
- "paged": false,
1434
- "optionsRemoved": [],
1435
- "optionsAdded": [],
1436
- "typesRemoved": [
1437
- "LocationSearchResponse"
1438
- ],
1439
- "note": "The old `count` was the number of rows returned; it is gone."
1440
- },
1441
- {
1442
- "kind": "list",
1443
- "name": "lots.list",
1444
- "before": "Lot[] (the SDK unwrapped { lots })",
1445
- "after": "ListResult<Lot>",
1446
- "paged": false,
1447
- "optionsRemoved": [],
1448
- "optionsAdded": [],
1449
- "typesRemoved": [
1450
- "ListLotsResponse"
1451
- ],
1452
- "note": ""
1453
- },
1454
- {
1455
- "kind": "list",
1456
- "name": "lots.listProducts",
1457
- "before": "{ products, total, page, limit }",
1458
- "after": "ListResult<LotProductSummary>",
1459
- "paged": true,
1460
- "optionsRemoved": [
1461
- "page"
1462
- ],
1463
- "optionsAdded": [
1464
- "cursor"
1465
- ],
1466
- "typesRemoved": [
1467
- "ListLotProductsResponse"
1468
- ],
1469
- "note": "`total` is `count`."
1470
- },
1471
- {
1472
- "kind": "list",
1473
- "name": "lots.publicList",
1474
- "before": "Lot[] (the SDK unwrapped { lots })",
1475
- "after": "ListResult<Lot>",
1476
- "paged": false,
1477
- "optionsRemoved": [],
1478
- "optionsAdded": [],
1479
- "note": ""
1480
- },
1481
- {
1482
- "kind": "list",
1483
- "name": "lots.publicListProducts",
1484
- "before": "{ products, total, page, limit }",
1485
- "after": "ListResult<LotProductSummary>",
1486
- "paged": true,
1487
- "optionsRemoved": [
1488
- "page"
1489
- ],
1490
- "optionsAdded": [
1491
- "cursor"
1492
- ],
1493
- "note": ""
1494
- },
1495
- {
1496
- "kind": "list",
1497
- "name": "loyalty.getMemberHistory",
1498
- "before": "{ items, limit, offset }",
1499
- "after": "ListResult<LoyaltyTransaction>",
1500
- "paged": true,
1501
- "optionsRemoved": [
1502
- "offset"
1503
- ],
1504
- "optionsAdded": [
1505
- "cursor"
1506
- ],
1507
- "note": ""
1508
- },
1509
- {
1510
- "kind": "list",
1511
- "name": "loyalty.list",
1512
- "before": "LoyaltyScheme[]",
1513
- "after": "ListResult<LoyaltyScheme>",
1514
- "paged": false,
1515
- "optionsRemoved": [],
1516
- "optionsAdded": [],
1517
- "note": ""
1518
- },
1519
- {
1520
- "kind": "list",
1521
- "name": "loyalty.listEarningRules",
1522
- "before": "LoyaltyEarningRule[]",
1523
- "after": "ListResult<LoyaltyEarningRule>",
1524
- "paged": false,
1525
- "optionsRemoved": [],
1526
- "optionsAdded": [],
1527
- "note": ""
1528
- },
1529
- {
1530
- "kind": "list",
1531
- "name": "loyalty.listMembers",
1532
- "before": "{ items, limit, offset }",
1533
- "after": "ListResult<LoyaltyMember>",
1534
- "paged": true,
1535
- "optionsRemoved": [
1536
- "offset"
1537
- ],
1538
- "optionsAdded": [
1539
- "cursor"
1540
- ],
1541
- "typesRemoved": [
1542
- "LoyaltyPaginationParams",
1543
- "LoyaltyPaginatedResult"
1544
- ],
1545
- "note": ""
1546
- },
1547
- {
1548
- "kind": "list",
1549
- "name": "loyalty.publicGetMe",
1550
- "before": "LoyaltySchemeWithMembership[]",
1551
- "after": "ListResult<LoyaltySchemeWithMembership>",
1552
- "paged": false,
1553
- "optionsRemoved": [],
1554
- "optionsAdded": [],
1555
- "note": ""
1556
- },
1557
- {
1558
- "kind": "list",
1559
- "name": "loyalty.publicGetMineHistory",
1560
- "before": "{ items, limit, offset }",
1561
- "after": "ListResult<LoyaltyTransaction>",
1562
- "paged": true,
1563
- "optionsRemoved": [
1564
- "offset"
1565
- ],
1566
- "optionsAdded": [
1567
- "cursor"
1568
- ],
1569
- "note": ""
1570
- },
1571
- {
1572
- "kind": "list",
1573
- "name": "loyalty.publicList",
1574
- "before": "LoyaltyScheme[]",
1575
- "after": "ListResult<LoyaltyScheme>",
1576
- "paged": false,
1577
- "optionsRemoved": [],
1578
- "optionsAdded": [],
1579
- "note": ""
1580
- },
1581
- {
1582
- "kind": "list",
1583
- "name": "loyalty.publicListEarningRules",
1584
- "before": "LoyaltyEarningRule[]",
1585
- "after": "ListResult<LoyaltyEarningRule>",
1586
- "paged": false,
1587
- "optionsRemoved": [],
1588
- "optionsAdded": [],
1589
- "note": ""
1590
- },
1591
- {
1592
- "kind": "list",
1593
- "name": "nfc.lookupTag",
1594
- "before": "NfcTagInfo[]",
1595
- "after": "ListResult<NfcTagInfo>",
1596
- "paged": false,
1597
- "optionsRemoved": [],
1598
- "optionsAdded": [],
1599
- "note": ""
1600
- },
1601
- {
1602
- "kind": "list",
1603
- "name": "order.getItems",
1604
- "before": "{ items, limit, offset }",
1605
- "after": "ListResult<OrderItem>",
1606
- "paged": true,
1607
- "optionsRemoved": [
1608
- "offset"
1609
- ],
1610
- "optionsAdded": [
1611
- "cursor"
1612
- ],
1613
- "typesRemoved": [
1614
- "GetOrderItemsResponse"
1615
- ],
1616
- "note": ""
1617
- },
1618
- {
1619
- "kind": "list",
1620
- "name": "order.getLocationHistory",
1621
- "before": "{ orderRef, orderId, locations, count }",
1622
- "after": "ListResult<LocationScan> & { orderRef: string; orderId: string }",
1623
- "paged": false,
1624
- "optionsRemoved": [],
1625
- "optionsAdded": [],
1626
- "typesRemoved": [
1627
- "LocationResponse"
1628
- ],
1629
- "note": "The old `count` was the number of rows returned; it is gone."
1630
- },
1631
- {
1632
- "kind": "list",
1633
- "name": "order.getTimeline",
1634
- "before": "{ orderRef, orderId, timeline, count }",
1635
- "after": "ListResult<TagScanEvent> & { orderRef: string; orderId: string }",
1636
- "paged": false,
1637
- "optionsRemoved": [],
1638
- "optionsAdded": [],
1639
- "typesRemoved": [
1640
- "TimelineResponse"
1641
- ],
1642
- "note": "The old `count` was the number of rows returned; it is gone."
1643
- },
1644
- {
1645
- "kind": "list",
1646
- "name": "order.list",
1647
- "before": "{ orders, limit, offset }",
1648
- "after": "ListResult<Order>",
1649
- "paged": true,
1650
- "optionsRemoved": [
1651
- "offset"
1652
- ],
1653
- "optionsAdded": [
1654
- "cursor"
1655
- ],
1656
- "typesRemoved": [
1657
- "ListOrdersResponse"
1658
- ],
1659
- "note": "Now sends `direction` and `partyId`, which SDK 2 accepted and silently dropped."
1660
- },
1661
- {
1662
- "kind": "list",
1663
- "name": "order.query",
1664
- "before": "{ orders, limit, offset }",
1665
- "after": "ListResult<Order>",
1666
- "paged": true,
1667
- "optionsRemoved": [
1668
- "offset"
1669
- ],
1670
- "optionsAdded": [
1671
- "cursor"
1672
- ],
1673
- "typesRemoved": [
1674
- "QueryOrdersResponse"
1675
- ],
1676
- "note": "`limit` and `cursor` go at the top level of the body."
1677
- },
1678
- {
1679
- "kind": "list",
1680
- "name": "partner.claimSets",
1681
- "before": "PartnerClaimSet[]",
1682
- "after": "ListResult<PartnerClaimSet>",
1683
- "paged": false,
1684
- "optionsRemoved": [],
1685
- "optionsAdded": [],
1686
- "note": ""
1687
- },
1688
- {
1689
- "kind": "list",
1690
- "name": "partner.list",
1691
- "before": "Partner[]",
1692
- "after": "ListResult<Partner>",
1693
- "paged": false,
1694
- "optionsRemoved": [],
1695
- "optionsAdded": [],
1696
- "note": ""
1697
- },
1698
- {
1699
- "kind": "list",
1700
- "name": "partner.lookupTags",
1701
- "before": "PartnerTagHit[]",
1702
- "after": "ListResult<PartnerTagHit>",
1703
- "paged": false,
1704
- "optionsRemoved": [],
1705
- "optionsAdded": [],
1706
- "note": ""
1707
- },
1708
- {
1709
- "kind": "list",
1710
- "name": "partner.tagAttempts",
1711
- "before": "ClientErrorEvent[]",
1712
- "after": "ListResult<ClientErrorEvent>",
1713
- "paged": false,
1714
- "optionsRemoved": [],
1715
- "optionsAdded": [],
1716
- "note": ""
1717
- },
1718
- {
1719
- "kind": "list",
1720
- "name": "products.list",
1721
- "before": "ProductResponse[]",
1722
- "after": "ListResult<ProductResponse>",
1723
- "paged": false,
1724
- "optionsRemoved": [],
1725
- "optionsAdded": [],
1726
- "note": ""
1727
- },
1728
- {
1729
- "kind": "list",
1730
- "name": "products.listAssets",
1731
- "before": "unknown",
1732
- "after": "ListResult<AssetResponse>",
1733
- "paged": false,
1734
- "optionsRemoved": [],
1735
- "optionsAdded": [],
1736
- "note": ""
1737
- },
1738
- {
1739
- "kind": "list",
1740
- "name": "products.query",
1741
- "before": "{ items, page: { limit, offset, returned, total, hasMore, nextCursor }, meta }",
1742
- "after": "ListResult<ProductResponse> & { meta?: ProductQueryMeta }",
1743
- "paged": true,
1744
- "optionsRemoved": [
1745
- "page.limit",
1746
- "page.offset",
1747
- "page.cursor"
1748
- ],
1749
- "optionsAdded": [
1750
- "limit",
1751
- "cursor"
1752
- ],
1753
- "typesRemoved": [
1754
- "ProductQueryResponse"
1755
- ],
1756
- "note": "The nested `page` option is gone: `limit` and `cursor` go at the top level of the body. `page.total` is `count`."
1757
- },
1758
- {
1759
- "kind": "list",
1760
- "name": "proof.findByProduct",
1761
- "before": "ProofResponse[]",
1762
- "after": "ListResult<ProofResponse>",
1763
- "paged": false,
1764
- "optionsRemoved": [
1765
- "lastCursor",
1766
- "page",
1767
- "perPage"
1768
- ],
1769
- "optionsAdded": [
1770
- "limit"
1771
- ],
1772
- "note": "Not paged: it returns the newest `limit` (default 100), or every proof matching `filterBy`. Page through proofs with `proof.query`."
1773
- },
1774
- {
1775
- "kind": "list",
1776
- "name": "proof.getByBatch",
1777
- "before": "ProofResponse[]",
1778
- "after": "ListResult<ProofResponse>",
1779
- "paged": false,
1780
- "optionsRemoved": [],
1781
- "optionsAdded": [],
1782
- "note": ""
1783
- },
1784
- {
1785
- "kind": "list",
1786
- "name": "proof.getByProduct",
1787
- "before": "ProofResponse[]",
1788
- "after": "ListResult<ProofResponse>",
1789
- "paged": false,
1790
- "optionsRemoved": [],
1791
- "optionsAdded": [],
1792
- "note": ""
1793
- },
1794
- {
1795
- "kind": "list",
1796
- "name": "proof.getByUser",
1797
- "before": "ProofResponse[]",
1798
- "after": "ListResult<ProofResponse>",
1799
- "paged": false,
1800
- "optionsRemoved": [],
1801
- "optionsAdded": [],
1802
- "note": ""
1803
- },
1804
- {
1805
- "kind": "list",
1806
- "name": "proof.list",
1807
- "before": "ProofResponse[]",
1808
- "after": "ListResult<ProofResponse>",
1809
- "paged": false,
1810
- "optionsRemoved": [],
1811
- "optionsAdded": [],
1812
- "note": ""
1813
- },
1814
- {
1815
- "kind": "list",
1816
- "name": "proof.listGrants",
1817
- "before": "ProofGrant[]",
1818
- "after": "ListResult<ProofGrant>",
1819
- "paged": false,
1820
- "optionsRemoved": [],
1821
- "optionsAdded": [],
1822
- "note": ""
1823
- },
1824
- {
1825
- "kind": "list",
1826
- "name": "secrets.list",
1827
- "before": "SecretList { secrets }",
1828
- "after": "ListResult<SecretMeta>",
1829
- "paged": false,
1830
- "optionsRemoved": [],
1831
- "optionsAdded": [],
1832
- "note": "`secrets` is `items`."
1833
- },
1834
- {
1835
- "kind": "list",
1836
- "name": "secrets.listOwn",
1837
- "before": "SecretList { secrets }",
1838
- "after": "ListResult<SecretMeta>",
1839
- "paged": false,
1840
- "optionsRemoved": [],
1841
- "optionsAdded": [],
1842
- "note": "`secrets` is `items`."
1843
- },
1844
- {
1845
- "kind": "list",
1846
- "name": "segments.list",
1847
- "before": "{ items, limit, offset }",
1848
- "after": "ListResult<SegmentRecord>",
1849
- "paged": true,
1850
- "optionsRemoved": [
1851
- "offset"
1852
- ],
1853
- "optionsAdded": [
1854
- "cursor"
1855
- ],
1856
- "typesRemoved": [
1857
- "SegmentList"
1858
- ],
1859
- "note": ""
1860
- },
1861
- {
1862
- "kind": "list",
1863
- "name": "segments.recipients",
1864
- "before": "{ items, limit, offset, total, note? }",
1865
- "after": "ListResult<Recipient> & { note?: string }",
1866
- "paged": true,
1867
- "optionsRemoved": [
1868
- "offset"
1869
- ],
1870
- "optionsAdded": [
1871
- "cursor"
1872
- ],
1873
- "note": "`total` is `count`."
1874
- },
1875
- {
1876
- "kind": "list",
1877
- "name": "serviceAccounts.list",
1878
- "before": "{ serviceAccounts, access }",
1879
- "after": "ListResult<ServiceAccount> & { access: ServiceAccountAccess[] }",
1880
- "paged": false,
1881
- "optionsRemoved": [],
1882
- "optionsAdded": [],
1883
- "note": "`serviceAccounts` is `items`; `access` stays beside it."
1884
- },
1885
- {
1886
- "kind": "list",
1887
- "name": "shop.admin.listOrders",
1888
- "before": "{ items, total, limit, offset }",
1889
- "after": "ListResult<ShopAdminOrder>",
1890
- "paged": true,
1891
- "optionsRemoved": [
1892
- "offset"
1893
- ],
1894
- "optionsAdded": [
1895
- "cursor"
1896
- ],
1897
- "note": "`total` is `count`."
1898
- },
1899
- {
1900
- "kind": "list",
1901
- "name": "shop.admin.listPrices",
1902
- "before": "{ items, total, limit, offset }",
1903
- "after": "ListResult<ShopPrice>",
1904
- "paged": true,
1905
- "optionsRemoved": [
1906
- "offset"
1907
- ],
1908
- "optionsAdded": [
1909
- "cursor"
1910
- ],
1911
- "note": "`total` is `count`."
1912
- },
1913
- {
1914
- "kind": "list",
1915
- "name": "shop.myOrders",
1916
- "before": "{ items, total, limit, offset }",
1917
- "after": "ListResult<ShopBuyerOrder>",
1918
- "paged": true,
1919
- "optionsRemoved": [
1920
- "offset"
1921
- ],
1922
- "optionsAdded": [
1923
- "cursor"
1924
- ],
1925
- "note": "`total` is `count`."
1926
- },
1927
- {
1928
- "kind": "list",
1929
- "name": "shop.products",
1930
- "before": "{ currency, items }",
1931
- "after": "ListResult<ShopProduct> & { currency: string }",
1932
- "paged": false,
1933
- "optionsRemoved": [],
1934
- "optionsAdded": [],
1935
- "note": "Only `nextCursor` (always null) is new."
1936
- },
1937
- {
1938
- "kind": "list",
1939
- "name": "subscriptions.admin.list",
1940
- "before": "{ items, total, limit, offset }",
1941
- "after": "ListResult<Membership>",
1942
- "paged": true,
1943
- "optionsRemoved": [
1944
- "offset"
1945
- ],
1946
- "optionsAdded": [
1947
- "cursor"
1948
- ],
1949
- "note": "`total` is `count`."
1950
- },
1951
- {
1952
- "kind": "list",
1953
- "name": "subscriptions.admin.listPlans",
1954
- "before": "{ items, total, limit, offset }",
1955
- "after": "ListResult<PlanWithPrices>",
1956
- "paged": true,
1957
- "optionsRemoved": [
1958
- "offset"
1959
- ],
1960
- "optionsAdded": [
1961
- "cursor"
1962
- ],
1963
- "note": ""
1964
- },
1965
- {
1966
- "kind": "list",
1967
- "name": "subscriptions.mine",
1968
- "before": "MySubscription[]",
1969
- "after": "ListResult<MySubscription>",
1970
- "paged": false,
1971
- "optionsRemoved": [],
1972
- "optionsAdded": [],
1973
- "note": ""
1974
- },
1975
- {
1976
- "kind": "list",
1977
- "name": "subscriptions.plans",
1978
- "before": "PublicPlan[]",
1979
- "after": "ListResult<PublicPlan>",
1980
- "paged": false,
1981
- "optionsRemoved": [],
1982
- "optionsAdded": [],
1983
- "note": ""
1984
- },
1985
- {
1986
- "kind": "list",
1987
- "name": "tags.byRef",
1988
- "before": "{ tags }",
1989
- "after": "ListResult<Tag>",
1990
- "paged": false,
1991
- "optionsRemoved": [],
1992
- "optionsAdded": [],
1993
- "typesRemoved": [
1994
- "ReverseTagLookupResponse"
1995
- ],
1996
- "note": ""
1997
- },
1998
- {
1999
- "kind": "list",
2000
- "name": "tags.list",
2001
- "before": "{ tags, limit, offset }",
2002
- "after": "ListResult<Tag>",
2003
- "paged": true,
2004
- "optionsRemoved": [
2005
- "offset"
2006
- ],
2007
- "optionsAdded": [
2008
- "cursor"
2009
- ],
2010
- "typesRemoved": [
2011
- "ListTagsResponse"
2012
- ],
2013
- "note": ""
2014
- },
2015
- {
2016
- "kind": "list",
2017
- "name": "tags.lookupTags",
2018
- "before": "{ count, tags, embedded }",
2019
- "after": "ListResult<Tag> & { count: number; embedded: TagEmbedded }",
2020
- "paged": false,
2021
- "optionsRemoved": [],
2022
- "optionsAdded": [],
2023
- "note": ""
2024
- },
2025
- {
2026
- "kind": "list",
2027
- "name": "tags.lookupTagsQuery",
2028
- "before": "{ count, tags, embedded }",
2029
- "after": "ListResult<Tag> & { count: number; embedded: TagEmbedded }",
2030
- "paged": false,
2031
- "optionsRemoved": [],
2032
- "optionsAdded": [],
2033
- "note": ""
2034
- },
2035
- {
2036
- "kind": "list",
2037
- "name": "tags.publicByRef",
2038
- "before": "{ tags, embedded }",
2039
- "after": "ListResult<Tag> & { embedded: TagEmbedded }",
2040
- "paged": false,
2041
- "optionsRemoved": [],
2042
- "optionsAdded": [],
2043
- "note": ""
2044
- },
2045
- {
2046
- "kind": "list",
2047
- "name": "tags.publicByRefPost",
2048
- "before": "{ tags, embedded }",
2049
- "after": "ListResult<Tag> & { embedded: TagEmbedded }",
2050
- "paged": false,
2051
- "optionsRemoved": [],
2052
- "optionsAdded": [],
2053
- "note": ""
2054
- },
2055
- {
2056
- "kind": "list",
2057
- "name": "template.getAll",
2058
- "before": "Template[]",
2059
- "after": "ListResult<Template>",
2060
- "paged": false,
2061
- "optionsRemoved": [],
2062
- "optionsAdded": [],
2063
- "note": ""
2064
- },
2065
- {
2066
- "kind": "list",
2067
- "name": "template.getAllowed",
2068
- "before": "TemplatePublic[]",
2069
- "after": "ListResult<TemplatePublic>",
2070
- "paged": false,
2071
- "optionsRemoved": [],
2072
- "optionsAdded": [],
2073
- "note": ""
2074
- },
2075
- {
2076
- "kind": "list",
2077
- "name": "template.getAllowedGlobal",
2078
- "before": "TemplatePublic[]",
2079
- "after": "ListResult<TemplatePublic>",
2080
- "paged": false,
2081
- "optionsRemoved": [],
2082
- "optionsAdded": [],
2083
- "note": ""
2084
- },
2085
- {
2086
- "kind": "list",
2087
- "name": "translations.list",
2088
- "before": "{ items, total?, limit?, offset? }",
2089
- "after": "ListResult<TranslationRecord>",
2090
- "paged": true,
2091
- "optionsRemoved": [
2092
- "offset"
2093
- ],
2094
- "optionsAdded": [
2095
- "cursor"
2096
- ],
2097
- "typesRemoved": [
2098
- "TranslationListResponse"
2099
- ],
2100
- "note": "`total` is `count`."
2101
- },
2102
- {
2103
- "kind": "list",
2104
- "name": "userAppData.list",
2105
- "before": "any[]",
2106
- "after": "ListResult<any>",
2107
- "paged": false,
2108
- "optionsRemoved": [],
2109
- "optionsAdded": [],
2110
- "note": ""
2111
- },
2112
- {
2113
- "kind": "list",
2114
- "name": "userGroups.history",
2115
- "before": "UserGroupChange[]",
2116
- "after": "ListResult<UserGroupChange>",
2117
- "paged": false,
2118
- "optionsRemoved": [],
2119
- "optionsAdded": [],
2120
- "note": ""
2121
- },
2122
- {
2123
- "kind": "list",
2124
- "name": "userGroups.list",
2125
- "before": "UserGroup[]",
2126
- "after": "ListResult<UserGroup>",
2127
- "paged": false,
2128
- "optionsRemoved": [],
2129
- "optionsAdded": [],
2130
- "note": ""
2131
- },
2132
- {
2133
- "kind": "list",
2134
- "name": "userGroups.members",
2135
- "before": "UserGroupMember[]",
2136
- "after": "ListResult<UserGroupMember>",
2137
- "paged": false,
2138
- "optionsRemoved": [],
2139
- "optionsAdded": [],
2140
- "note": ""
2141
- },
2142
- {
2143
- "kind": "list",
2144
- "name": "userGroups.ofUser",
2145
- "before": "UserGroupRef[]",
2146
- "after": "ListResult<UserGroupRef>",
2147
- "paged": false,
2148
- "optionsRemoved": [],
2149
- "optionsAdded": [],
2150
- "note": ""
2151
- },
2152
- {
2153
- "kind": "list",
2154
- "name": "variant.list",
2155
- "before": "VariantResponse[]",
2156
- "after": "ListResult<VariantResponse>",
2157
- "paged": false,
2158
- "optionsRemoved": [],
2159
- "optionsAdded": [],
2160
- "note": ""
2161
- },
2162
- {
2163
- "kind": "list",
2164
- "name": "wallet.list",
2165
- "before": "{ ok: true, passes }",
2166
- "after": "ListResult<WalletPass>",
2167
- "paged": false,
2168
- "optionsRemoved": [],
2169
- "optionsAdded": [],
2170
- "note": "`passes` is `items`; `ok` is gone."
2171
- },
2172
- {
2173
- "kind": "list",
2174
- "name": "wallet.mine",
2175
- "before": "{ ok: true, passes }",
2176
- "after": "ListResult<WalletPassSummary>",
2177
- "paged": false,
2178
- "optionsRemoved": [],
2179
- "optionsAdded": [],
2180
- "note": "`passes` is `items`; `ok` is gone."
2181
- },
2182
- {
2183
- "kind": "behaviour",
2184
- "name": "error codes",
2185
- "note": "Every error code is UPPER_SNAKE (`segments.list.failed` is now `SEGMENTS_LIST_FAILED`). Find string comparisons against `errorCode`, `details.errorCode` and `details.error`. Check `error.errorCode`; never match on message text."
2186
- },
2187
- {
2188
- "kind": "behaviour",
2189
- "name": "error statuses",
2190
- "note": "\"Not signed in\" sent as 400 by some routes is now 401. \"Signed in but not allowed\" sent as 401 by some routes is now 403. `isAuthError()` covers both."
2191
- },
2192
- {
2193
- "kind": "behaviour",
2194
- "name": "initializeApi({ apiVersion })",
2195
- "note": "A version older than 2027-01 is ignored: SDK 3 always asks for at least its own version."
2196
- },
2197
- {
2198
- "kind": "behaviour",
2199
- "name": "paging by offset",
2200
- "note": "There is no offset or page number. Page forward with `cursor`; cache keys built on offset or page must use the cursor. For a numbered pager use the standard query."
2201
- },
2202
- {
2203
- "kind": "behaviour",
2204
- "name": "shared dependencies",
2205
- "note": "Built on SDK 3, a component declares shared-dependency contract v8 and gets SDK 3 from the host: as the import, as the `SL` prop and as the window global `SL3` (`SL` stays SDK 2). Keep building both formats: the host loads the UMD build of an app on SDK 3."
2206
- },
2207
- {
2208
- "kind": "behaviour",
2209
- "name": "unknown list options",
2210
- "note": "A list refuses a query option it does not read (400 UNKNOWN_PARAMETER) instead of ignoring it. Watch for one options object shared by an admin call and a public call (includeDeleted, contactId, assignedTo; status, includeScheduled and includeExpired on public app records)."
2211
- }
2212
- ]
2213
- }
1
+ {
2
+ "sdk": {
3
+ "from": "2",
4
+ "to": "3"
5
+ },
6
+ "apiVersion": {
7
+ "from": "2026-11",
8
+ "to": "2027-01"
9
+ },
10
+ "sharedDependencies": {
11
+ "from": "v7",
12
+ "to": "v8"
13
+ },
14
+ "guide": "docs/upgrading-to-3.md",
15
+ "about": "Every change between SDK 2 and SDK 3, as data. kind: \"renamed\" = the same call under a new name (mechanical: true means a script may rename it: same arguments, same result unless a \"list\" entry for the new name says otherwise); \"removed\" = no like-for-like call, the note says what to do (\"to\" names the nearest replacement); \"option\" = an option or argument that went; \"option\" entries with \"argument\" name the position (0 = first) of an argument a script may drop when it is the last one passed; \"list\" = a function that now returns ListResult<T> = { items, nextCursor, count? } (\"paged\" says whether it takes limit + cursor); \"behaviour\" = something that changes at run time and the compiler cannot see.",
16
+ "hold": [
17
+ {
18
+ "when": "The app calls a writing function of the old `attestation` namespace (singular): attestation.create, attestation.update, attestation.remove.",
19
+ "why": "Its data has not been moved to the new `attestations` yet. SDK 3 keeps the namespace so the app still builds; leave those calls as they are.",
20
+ "names": [
21
+ "attestation.create",
22
+ "attestation.update",
23
+ "attestation.remove"
24
+ ]
25
+ }
26
+ ],
27
+ "unchanged": [
28
+ "The old `attestation` namespace (deprecated, kept until its data is moved).",
29
+ "`ctx.sl.*` inside an app's server functions: it runs on the server and keeps its shapes.",
30
+ "The standard query functions (proof.query, contact.query, products.standardQuery, app.records.query).",
31
+ "Every function that is not a list and was not deprecated."
32
+ ],
33
+ "changes": [
34
+ {
35
+ "kind": "renamed",
36
+ "name": "ContactSchema",
37
+ "to": "ContactSchemaResponse",
38
+ "mechanical": true,
39
+ "what": "type",
40
+ "note": ""
41
+ },
42
+ {
43
+ "kind": "renamed",
44
+ "name": "MobileAdminBundleManifest",
45
+ "to": "AdminMobileBundleManifest",
46
+ "mechanical": true,
47
+ "what": "type",
48
+ "note": ""
49
+ },
50
+ {
51
+ "kind": "renamed",
52
+ "name": "MobileAdminComponentManifest",
53
+ "to": "AdminMobileComponentManifest",
54
+ "mechanical": true,
55
+ "what": "type",
56
+ "note": ""
57
+ },
58
+ {
59
+ "kind": "renamed",
60
+ "name": "product.clone",
61
+ "to": "products.clone",
62
+ "mechanical": true,
63
+ "note": ""
64
+ },
65
+ {
66
+ "kind": "renamed",
67
+ "name": "product.create",
68
+ "to": "products.create",
69
+ "mechanical": true,
70
+ "note": ""
71
+ },
72
+ {
73
+ "kind": "renamed",
74
+ "name": "product.createClaimWindow",
75
+ "to": "products.createClaimWindow",
76
+ "mechanical": true,
77
+ "note": ""
78
+ },
79
+ {
80
+ "kind": "renamed",
81
+ "name": "product.get",
82
+ "to": "products.get",
83
+ "mechanical": true,
84
+ "note": "The whole `product` namespace (singular) is gone: use `products`."
85
+ },
86
+ {
87
+ "kind": "renamed",
88
+ "name": "product.getSN",
89
+ "to": "products.getSN",
90
+ "mechanical": true,
91
+ "note": ""
92
+ },
93
+ {
94
+ "kind": "renamed",
95
+ "name": "product.list",
96
+ "to": "products.list",
97
+ "mechanical": true,
98
+ "note": "Then treat it as a list: `products.list` returns ListResult<ProductResponse>."
99
+ },
100
+ {
101
+ "kind": "renamed",
102
+ "name": "product.listAssets",
103
+ "to": "products.listAssets",
104
+ "mechanical": true,
105
+ "note": "Then treat it as a list: `products.listAssets` returns ListResult<AssetResponse>."
106
+ },
107
+ {
108
+ "kind": "renamed",
109
+ "name": "product.lookupSN",
110
+ "to": "products.lookupSN",
111
+ "mechanical": true,
112
+ "note": ""
113
+ },
114
+ {
115
+ "kind": "renamed",
116
+ "name": "product.publicCreateClaim",
117
+ "to": "products.publicCreateClaim",
118
+ "mechanical": true,
119
+ "note": ""
120
+ },
121
+ {
122
+ "kind": "renamed",
123
+ "name": "product.publicLookupClaim",
124
+ "to": "products.publicLookupClaim",
125
+ "mechanical": true,
126
+ "note": ""
127
+ },
128
+ {
129
+ "kind": "renamed",
130
+ "name": "product.refresh",
131
+ "to": "products.refresh",
132
+ "mechanical": true,
133
+ "note": ""
134
+ },
135
+ {
136
+ "kind": "renamed",
137
+ "name": "product.remove",
138
+ "to": "products.remove",
139
+ "mechanical": true,
140
+ "note": ""
141
+ },
142
+ {
143
+ "kind": "renamed",
144
+ "name": "product.update",
145
+ "to": "products.update",
146
+ "mechanical": true,
147
+ "note": ""
148
+ },
149
+ {
150
+ "kind": "renamed",
151
+ "name": "product.updateClaimWindow",
152
+ "to": "products.updateClaimWindow",
153
+ "mechanical": true,
154
+ "note": ""
155
+ },
156
+ {
157
+ "kind": "renamed",
158
+ "name": "ScannerEventSubscriber",
159
+ "to": "AdminMobileEventCallback",
160
+ "mechanical": true,
161
+ "what": "type",
162
+ "note": ""
163
+ },
164
+ {
165
+ "kind": "renamed",
166
+ "name": "async.enqueueAsyncJob",
167
+ "to": "jobs.enqueue",
168
+ "mechanical": true,
169
+ "note": "The `async` namespace is gone: starting and following a job live in `jobs` with listing them."
170
+ },
171
+ {
172
+ "kind": "renamed",
173
+ "name": "async.getAsyncJobStatus",
174
+ "to": "jobs.status",
175
+ "mechanical": true,
176
+ "note": ""
177
+ },
178
+ {
179
+ "kind": "renamed",
180
+ "name": "jobs.listJobs",
181
+ "to": "jobs.list",
182
+ "mechanical": true,
183
+ "note": "Then treat it as a list: `jobs.list` returns ListResult<Job>."
184
+ },
185
+ {
186
+ "kind": "renamed",
187
+ "name": "jobs.getJob",
188
+ "to": "jobs.get",
189
+ "mechanical": true,
190
+ "note": ""
191
+ },
192
+ {
193
+ "kind": "removed",
194
+ "name": "ai.generateContent",
195
+ "to": "ai.chat.completions.create",
196
+ "mechanical": false,
197
+ "note": "A different call: it takes chat messages, not `contents`, and answers in the chat-completions shape (`choices[0].message.content`). `ai.chat.completions.create(collectionId, { messages: [{ role: \"user\", content }] })`."
198
+ },
199
+ {
200
+ "kind": "removed",
201
+ "name": "Asset.thumbnails",
202
+ "to": "Asset.thumbnail",
203
+ "mechanical": false,
204
+ "what": "field",
205
+ "note": "One thumbnail address (`string | null`), not a map of sizes."
206
+ },
207
+ {
208
+ "kind": "removed",
209
+ "name": "asset.uploadAsset",
210
+ "to": "asset.upload",
211
+ "mechanical": false,
212
+ "note": "Takes one options object: `asset.upload({ file, scope, … })` (type UploadAssetOptions)."
213
+ },
214
+ {
215
+ "kind": "removed",
216
+ "name": "BatchCreateRequest.id",
217
+ "to": null,
218
+ "mechanical": false,
219
+ "what": "field",
220
+ "note": "The server generates the batch id. Don't send one."
221
+ },
222
+ {
223
+ "kind": "removed",
224
+ "name": "comms.queryRecipientsWithAction",
225
+ "to": "comms.queryRecipientsWithInteraction",
226
+ "mechanical": false,
227
+ "note": "It posted to an address the API never had, so it never worked. The real call takes `interactionId` (not `actionId`) and returns a list of ids, or of `{ id, outcome }` with `includeOutcome: true`."
228
+ },
229
+ {
230
+ "kind": "removed",
231
+ "name": "comms.queryRecipientsWithoutAction",
232
+ "to": "comms.queryRecipientsWithoutInteraction",
233
+ "mechanical": false,
234
+ "note": "It posted to an address the API never had, so it never worked. The real call takes `interactionId` (not `actionId`) and returns a list of ids."
235
+ },
236
+ {
237
+ "kind": "removed",
238
+ "name": "CommsRecipientsWithActionQuery",
239
+ "to": "CommsRecipientsWithInteractionQuery",
240
+ "mechanical": false,
241
+ "what": "type",
242
+ "note": "`actionId` is `interactionId`."
243
+ },
244
+ {
245
+ "kind": "removed",
246
+ "name": "CommsRecipientsWithoutActionQuery",
247
+ "to": "CommsRecipientsWithoutInteractionQuery",
248
+ "mechanical": false,
249
+ "what": "type",
250
+ "note": "`actionId` is `interactionId`."
251
+ },
252
+ {
253
+ "kind": "removed",
254
+ "name": "evaluateCondition",
255
+ "to": "evaluateConditions",
256
+ "mechanical": false,
257
+ "what": "function",
258
+ "note": "Takes the field's whole condition list: `evaluateConditions(property.conditions, property.showWhen, values)`."
259
+ },
260
+ {
261
+ "kind": "removed",
262
+ "name": "FirebaseTimestamp",
263
+ "to": null,
264
+ "mechanical": false,
265
+ "what": "type",
266
+ "note": "Dates are ISO 8601 strings or a Date: `BatchCreateRequest.expiryDate` and `BatchUpdateRequest.expiryDate` are `string | Date`."
267
+ },
268
+ {
269
+ "kind": "removed",
270
+ "name": "order.findByProduct",
271
+ "to": "order.query",
272
+ "mechanical": false,
273
+ "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId } })`."
274
+ },
275
+ {
276
+ "kind": "removed",
277
+ "name": "order.findItemsByProduct",
278
+ "to": "order.query",
279
+ "mechanical": false,
280
+ "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId }, includeItems: true })` and read each order's items."
281
+ },
282
+ {
283
+ "kind": "removed",
284
+ "name": "order.findOrdersByProduct",
285
+ "to": "order.query",
286
+ "mechanical": false,
287
+ "note": "The API never had this address, so the call could only fail. Use `order.query(collectionId, { query: { productId } })`."
288
+ },
289
+ {
290
+ "kind": "removed",
291
+ "name": "order.getOrderIdsByAttribute",
292
+ "to": "order.query",
293
+ "mechanical": false,
294
+ "note": "The API never had this address, so the call could only fail. Use `order.query` with `productId`, `batchId` or `variantId` in `query`, and read the ids from `items`."
295
+ },
296
+ {
297
+ "kind": "removed",
298
+ "name": "order.lookup",
299
+ "to": "order.query",
300
+ "mechanical": false,
301
+ "note": "The API never had this address, so the call could only fail. Find the orders that hold items with `order.query(collectionId, { query: { items: [{ itemType, itemId }] } })`."
302
+ },
303
+ {
304
+ "kind": "removed",
305
+ "name": "product.find",
306
+ "to": "products.query",
307
+ "mechanical": false,
308
+ "note": "A different body (type ProductQueryRequest). Returns a list and pages with `limit` + `cursor`."
309
+ },
310
+ {
311
+ "kind": "removed",
312
+ "name": "product.publicFind",
313
+ "to": null,
314
+ "mechanical": false,
315
+ "note": "Use `products.get` when you know the id, `products.query` to search. The server retired this route some time ago."
316
+ },
317
+ {
318
+ "kind": "removed",
319
+ "name": "realtime.getAdminToken",
320
+ "to": "realtime.onMine",
321
+ "mechanical": false,
322
+ "note": "The SDK gets its own tokens. Subscribe with `realtime.onMine(scope, onMessage)`."
323
+ },
324
+ {
325
+ "kind": "removed",
326
+ "name": "realtime.getPublicToken",
327
+ "to": null,
328
+ "mechanical": false,
329
+ "note": "The SDK gets its own tokens. Subscribe with `realtime.channel(scope, name)` or `realtime.onChange(scope, filter, onChange)`."
330
+ },
331
+ {
332
+ "kind": "removed",
333
+ "name": "site.ready",
334
+ "to": null,
335
+ "mechanical": false,
336
+ "note": "Sites are server-rendered and nothing waits for the signal. Delete the call."
337
+ },
338
+ {
339
+ "kind": "removed",
340
+ "name": "VariantCreateRequest.id",
341
+ "to": null,
342
+ "mechanical": false,
343
+ "what": "field",
344
+ "note": "The server generates the variant id. Don't send one."
345
+ },
346
+ {
347
+ "kind": "option",
348
+ "name": "asset.list",
349
+ "option": "mimeTypePrefix",
350
+ "mechanical": false,
351
+ "note": "No asset list ever read it, so it never filtered anything. Filter the items you get back (`a.mimeType?.startsWith('image/')`), or as an admin use `asset.listAdmin` with `assetType`."
352
+ },
353
+ {
354
+ "kind": "option",
355
+ "name": "authKit.list",
356
+ "option": "admin (the argument)",
357
+ "mechanical": true,
358
+ "note": "There is no public list of AuthKit configs, so the call without `true` always failed. Call `authKit.list(collectionId)`.",
359
+ "argument": 1
360
+ },
361
+ {
362
+ "kind": "option",
363
+ "name": "bookings.mine",
364
+ "option": "contactId",
365
+ "mechanical": false,
366
+ "note": "`mine` is always the caller's own bookings. To list a contact's bookings as an admin use `bookings.list`."
367
+ },
368
+ {
369
+ "kind": "option",
370
+ "name": "collection.list",
371
+ "option": "admin (the argument)",
372
+ "mechanical": true,
373
+ "note": "There is no public list of collections, so `collection.list(false)` always failed. Call `collection.list()`: it lists the collections the signed-in user can work on.",
374
+ "argument": 0
375
+ },
376
+ {
377
+ "kind": "option",
378
+ "name": "comms.queryRecipientIds",
379
+ "option": "journeyStepId",
380
+ "mechanical": false,
381
+ "note": "The server never read it. For one journey step's recipients use `journeysAnalytics.recipients`."
382
+ },
383
+ {
384
+ "kind": "option",
385
+ "name": "containers.publicList",
386
+ "option": "status",
387
+ "mechanical": false,
388
+ "note": "The public list is always the active containers."
389
+ },
390
+ {
391
+ "kind": "option",
392
+ "name": "containers.publicList",
393
+ "option": "ref",
394
+ "mechanical": false,
395
+ "note": "The public list never filtered by ref."
396
+ },
397
+ {
398
+ "kind": "option",
399
+ "name": "facets.list",
400
+ "option": "includeValues",
401
+ "mechanical": false,
402
+ "note": "The list never read it, and never needed it: every facet in the list already comes with its `values`. Remove the option."
403
+ },
404
+ {
405
+ "kind": "option",
406
+ "name": "facets.publicList",
407
+ "option": "includeValues",
408
+ "mechanical": false,
409
+ "note": "The list never read it, and never needed it: every facet in the list already comes with its `values`. Remove the option."
410
+ },
411
+ {
412
+ "kind": "option",
413
+ "name": "interactions.publicMyInteractions",
414
+ "option": "scope",
415
+ "mechanical": false,
416
+ "note": "The server never read it."
417
+ },
418
+ {
419
+ "kind": "option",
420
+ "name": "lots.publicList",
421
+ "option": "includeDeleted",
422
+ "mechanical": false,
423
+ "note": "Admin only: use `lots.list`."
424
+ },
425
+ {
426
+ "kind": "option",
427
+ "name": "attestations.summary",
428
+ "option": "recordedAfter",
429
+ "mechanical": false,
430
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
431
+ },
432
+ {
433
+ "kind": "option",
434
+ "name": "attestations.summary",
435
+ "option": "recordedBefore",
436
+ "mechanical": false,
437
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
438
+ },
439
+ {
440
+ "kind": "option",
441
+ "name": "attestations.publicSummary",
442
+ "option": "recordedAfter",
443
+ "mechanical": false,
444
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
445
+ },
446
+ {
447
+ "kind": "option",
448
+ "name": "attestations.publicSummary",
449
+ "option": "recordedBefore",
450
+ "mechanical": false,
451
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
452
+ },
453
+ {
454
+ "kind": "option",
455
+ "name": "attestations.treeSummary",
456
+ "option": "recordedAfter",
457
+ "mechanical": false,
458
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
459
+ },
460
+ {
461
+ "kind": "option",
462
+ "name": "attestations.treeSummary",
463
+ "option": "recordedBefore",
464
+ "mechanical": false,
465
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
466
+ },
467
+ {
468
+ "kind": "option",
469
+ "name": "attestations.publicTreeSummary",
470
+ "option": "recordedAfter",
471
+ "mechanical": false,
472
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
473
+ },
474
+ {
475
+ "kind": "option",
476
+ "name": "attestations.publicTreeSummary",
477
+ "option": "recordedBefore",
478
+ "mechanical": false,
479
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
480
+ },
481
+ {
482
+ "kind": "option",
483
+ "name": "attestations.publicContainerSummary",
484
+ "option": "recordedAfter",
485
+ "mechanical": false,
486
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
487
+ },
488
+ {
489
+ "kind": "option",
490
+ "name": "attestations.publicContainerSummary",
491
+ "option": "recordedBefore",
492
+ "mechanical": false,
493
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
494
+ },
495
+ {
496
+ "kind": "option",
497
+ "name": "attestations.publicContainerTreeSummary",
498
+ "option": "recordedAfter",
499
+ "mechanical": false,
500
+ "note": "Now `recordedAt: { gte: … }`, the same range the attestation lists take."
501
+ },
502
+ {
503
+ "kind": "option",
504
+ "name": "attestations.publicContainerTreeSummary",
505
+ "option": "recordedBefore",
506
+ "mechanical": false,
507
+ "note": "Now `recordedAt: { lte: … }`, the same range the attestation lists take."
508
+ },
509
+ {
510
+ "kind": "list",
511
+ "name": "adminCards.list",
512
+ "before": "{ cards, hidden, layout }",
513
+ "after": "ListResult<AdminCard> & { hidden, layout }",
514
+ "paged": false,
515
+ "optionsRemoved": [],
516
+ "optionsAdded": [],
517
+ "note": "`cards` is `items`; `hidden` and `layout` stay beside it. A fixed set: always returned whole, with no `limit` or `cursor`."
518
+ },
519
+ {
520
+ "kind": "list",
521
+ "name": "ai.agent.listTools",
522
+ "before": "AgentToolsResponse { tools }",
523
+ "after": "ListResult<AgentToolDefinition>",
524
+ "paged": false,
525
+ "optionsRemoved": [],
526
+ "optionsAdded": [],
527
+ "note": "`tools` is `items`. A fixed set: always returned whole, with no `limit` or `cursor`."
528
+ },
529
+ {
530
+ "kind": "list",
531
+ "name": "ai.skills.list",
532
+ "before": "SkillsListResponse { skills }",
533
+ "after": "ListResult<SkillDescriptor>",
534
+ "paged": false,
535
+ "optionsRemoved": [],
536
+ "optionsAdded": [],
537
+ "note": "`skills` is `items`. A fixed set: always returned whole, with no `limit` or `cursor`."
538
+ },
539
+ {
540
+ "kind": "list",
541
+ "name": "analytics.admin.events",
542
+ "before": "{ source, limit, offset, sort, count, rows }",
543
+ "after": "ListResult<Record<string, any>> & { source, sort }",
544
+ "paged": true,
545
+ "optionsRemoved": [
546
+ "offset",
547
+ "sort"
548
+ ],
549
+ "optionsAdded": [
550
+ "cursor",
551
+ "orderBy"
552
+ ],
553
+ "note": "`limit` and `cursor` go at the top level of the body. The old `count` was the rows on this page; it is gone. Sorting is now orderBy: [{ timestamp: 'asc' }] (or 'desc', the default); `sort: 'asc' | 'desc'` is gone. limit, cursor, from and to are unchanged. The answer still carries `sort: 'ASC' | 'DESC'`."
554
+ },
555
+ {
556
+ "kind": "list",
557
+ "name": "app.cases.list",
558
+ "before": "{ data, pagination: { total, limit, offset, hasMore } }",
559
+ "after": "ListResult<AppCase>",
560
+ "paged": true,
561
+ "optionsRemoved": [
562
+ "offset",
563
+ "sort"
564
+ ],
565
+ "optionsAdded": [
566
+ "cursor",
567
+ "orderBy"
568
+ ],
569
+ "note": "`sort: 'priority:desc'` becomes `orderBy: [{ priority: 'desc' }]` (fields: createdAt, updatedAt, closedAt, priority, status, category, ref, customId, sourceSystem). `createdAt`, `updatedAt` and `closedAt` keep their names but are now a range object `{ gte, lte }`; the old string form ('gte:2024-01-01' or a bare date) is gone. An option set to an empty string is now left out of the request instead of being sent empty."
570
+ },
571
+ {
572
+ "kind": "list",
573
+ "name": "app.options.get",
574
+ "before": "{ items, version, mode, total? } | { unchanged: true, version }",
575
+ "after": "(ListResult<AppOption> & { version, mode }) | { unchanged: true, version }",
576
+ "paged": true,
577
+ "optionsRemoved": [],
578
+ "optionsAdded": [
579
+ "limit",
580
+ "cursor"
581
+ ],
582
+ "note": "`total` is `count`. The `{ unchanged: true, version }` answer is as before. A picker is now paged: it answers 50 entries unless you give `limit` (at most 1000), and `nextCursor` is no longer always null. An app that needs every entry must follow `nextCursor` or ask for a larger `limit`. `q`, `version` and `admin` are unchanged.",
583
+ "firstPageOnly": true
584
+ },
585
+ {
586
+ "kind": "list",
587
+ "name": "app.records.list",
588
+ "before": "{ data, pagination: { total, limit, offset, hasMore } }",
589
+ "after": "ListResult<AppRecord>",
590
+ "paged": true,
591
+ "optionsRemoved": [
592
+ "offset",
593
+ "sort"
594
+ ],
595
+ "optionsAdded": [
596
+ "cursor",
597
+ "orderBy"
598
+ ],
599
+ "note": "`sort: 'updatedAt:desc'` becomes `orderBy: [{ updatedAt: 'desc' }]` (fields: createdAt, updatedAt, startsAt, expiresAt, status, recordType, ref, customId, sourceSystem, scopeType, scopeId, specificity, label). `createdAt`, `updatedAt`, `startsAt` and `expiresAt` keep their names but are now a range object `{ gte, lte }`; the old string form is gone. `q`, `qFields` and `dataFilter` are unchanged (dataFilter is sent exactly as before). An option set to an empty string is now left out of the request."
600
+ },
601
+ {
602
+ "kind": "list",
603
+ "name": "app.records.match",
604
+ "before": "{ data, total, strategy }",
605
+ "after": "ListResult<MatchEntry> & { strategy }",
606
+ "paged": true,
607
+ "optionsRemoved": [],
608
+ "optionsAdded": [
609
+ "cursor",
610
+ "limit"
611
+ ],
612
+ "note": "`total` is `count`. `limit` was already in the input. With no `limit` it answers its usual 100 as before. With a `limit`, `nextCursor` is set when there are more: pass it back as `cursor` in the input."
613
+ },
614
+ {
615
+ "kind": "list",
616
+ "name": "app.records.resolveAll",
617
+ "before": "{ records, total, context, truncated }",
618
+ "after": "ListResult<ResolveAllEntry> & { context, truncated }",
619
+ "paged": true,
620
+ "optionsRemoved": [],
621
+ "optionsAdded": [
622
+ "cursor",
623
+ "limit"
624
+ ],
625
+ "note": "`total` is `count`. `limit` was already in the input. With no `limit` it answers its usual 500 as before. With a `limit`, `nextCursor` is set when there are more: pass it back as `cursor`. The API cuts one answer at 1000, so a `limit` above 1000 (the old maximum was 5000) now needs the cursor to get the rest."
626
+ },
627
+ {
628
+ "kind": "list",
629
+ "name": "app.threads.list",
630
+ "before": "{ data, pagination: { total, limit, offset, hasMore } }",
631
+ "after": "ListResult<AppThread>",
632
+ "paged": true,
633
+ "optionsRemoved": [
634
+ "offset",
635
+ "sort"
636
+ ],
637
+ "optionsAdded": [
638
+ "cursor",
639
+ "orderBy"
640
+ ],
641
+ "note": "`sort: 'lastReplyAt:desc'` becomes `orderBy: [{ lastReplyAt: 'desc' }]` (fields: createdAt, updatedAt, lastReplyAt, replyCount, status). `createdAt` and `updatedAt` keep their names but are now a range object `{ gte, lte }`; the old string form is gone. `parentIds` is sent exactly as before (comma-joined). An option set to an empty string is now left out of the request."
642
+ },
643
+ {
644
+ "kind": "list",
645
+ "name": "appConfiguration.getData",
646
+ "before": "any[]",
647
+ "after": "ListResult<any>",
648
+ "paged": true,
649
+ "optionsRemoved": [],
650
+ "optionsAdded": [
651
+ "limit",
652
+ "cursor"
653
+ ],
654
+ "note": "The options object is now `AppConfigOptions & ListOptions` for this function only. The list is now paged: 50 items unless you give `limit` (at most 1000). An app that needs every item must follow `nextCursor` or ask for a larger `limit`.",
655
+ "firstPageOnly": true
656
+ },
657
+ {
658
+ "kind": "list",
659
+ "name": "appConfiguration.getWidgets",
660
+ "before": "{ apps }",
661
+ "after": "ListResult<CollectionAppWidget>",
662
+ "paged": false,
663
+ "optionsRemoved": [],
664
+ "optionsAdded": [],
665
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
666
+ },
667
+ {
668
+ "kind": "list",
669
+ "name": "asset.list",
670
+ "before": "Asset[]",
671
+ "after": "ListResult<Asset>",
672
+ "paged": true,
673
+ "optionsRemoved": [
674
+ "offset"
675
+ ],
676
+ "optionsAdded": [
677
+ "cursor",
678
+ "limit"
679
+ ],
680
+ "note": "`limit` was already an option. The list is now paged: 50 assets unless you give `limit` (at most 1000), and `nextCursor` is no longer always null. An app that needs every asset must follow `nextCursor`.",
681
+ "firstPageOnly": true
682
+ },
683
+ {
684
+ "kind": "list",
685
+ "name": "asset.listAdmin",
686
+ "before": "AdminListAssetsResponse { data, total, limit, offset }",
687
+ "after": "ListResult<Asset>",
688
+ "paged": true,
689
+ "optionsRemoved": [
690
+ "offset",
691
+ "sort",
692
+ "order"
693
+ ],
694
+ "optionsAdded": [
695
+ "cursor",
696
+ "orderBy"
697
+ ],
698
+ "note": "`data` is `items` and `total` is `count`. 50 at a time unless you ask (at most 200). `sort: 'name', order: 'asc'` becomes `orderBy: [{ name: 'asc' }]` (fields: createdAt, name, size, assetType). `limit`, `cursor` and `include` are unchanged."
699
+ },
700
+ {
701
+ "kind": "list",
702
+ "name": "asset.listForCollection",
703
+ "before": "Asset[]",
704
+ "after": "ListResult<Asset>",
705
+ "paged": true,
706
+ "optionsRemoved": [],
707
+ "optionsAdded": [
708
+ "limit",
709
+ "cursor"
710
+ ],
711
+ "note": "Now paged: 50 assets unless you give `limit` (at most 1000). An app that needs every asset must follow `nextCursor`.",
712
+ "firstPageOnly": true
713
+ },
714
+ {
715
+ "kind": "list",
716
+ "name": "asset.listForProduct",
717
+ "before": "Asset[]",
718
+ "after": "ListResult<Asset>",
719
+ "paged": true,
720
+ "optionsRemoved": [],
721
+ "optionsAdded": [
722
+ "limit",
723
+ "cursor"
724
+ ],
725
+ "note": "Now paged: 50 assets unless you give `limit` (at most 1000). An app that needs every asset must follow `nextCursor`.",
726
+ "firstPageOnly": true
727
+ },
728
+ {
729
+ "kind": "list",
730
+ "name": "asset.listForProof",
731
+ "before": "Asset[]",
732
+ "after": "ListResult<Asset>",
733
+ "paged": true,
734
+ "optionsRemoved": [],
735
+ "optionsAdded": [
736
+ "limit",
737
+ "cursor"
738
+ ],
739
+ "note": "The options come after the optional `appId`: `listForProof(collectionId, productId, proofId, appId?, { limit, cursor })`. Now paged: 50 assets unless you give `limit` (at most 1000).",
740
+ "firstPageOnly": true
741
+ },
742
+ {
743
+ "kind": "list",
744
+ "name": "attestation.list",
745
+ "before": "AttestationResponse[]",
746
+ "after": "ListResult<AttestationResponse>",
747
+ "paged": true,
748
+ "optionsRemoved": [],
749
+ "optionsAdded": [
750
+ "limit",
751
+ "cursor"
752
+ ],
753
+ "note": "The old namespace stays, but its list is a list like any other. Now paged: 50 attestations unless you give `limit` (at most 1000). An app that needs every one must follow `nextCursor`. (Still the deprecated namespace.)",
754
+ "firstPageOnly": true
755
+ },
756
+ {
757
+ "kind": "list",
758
+ "name": "attestations.list",
759
+ "before": "{ attestations }",
760
+ "after": "ListResult<Attestation>",
761
+ "paged": true,
762
+ "optionsRemoved": [
763
+ "offset",
764
+ "recordedAfter",
765
+ "recordedBefore"
766
+ ],
767
+ "optionsAdded": [
768
+ "cursor",
769
+ "recordedAt"
770
+ ],
771
+ "note": "`recordedAfter: a, recordedBefore: b` becomes `recordedAt: { gte: a, lte: b }`. The summaries, latest and the tree calls take `recordedAt: { gte, lte }` too."
772
+ },
773
+ {
774
+ "kind": "list",
775
+ "name": "attestations.publicContainerList",
776
+ "before": "{ attestations, audience }",
777
+ "after": "ListResult<Attestation> & { audience }",
778
+ "paged": true,
779
+ "optionsRemoved": [
780
+ "offset",
781
+ "recordedAfter",
782
+ "recordedBefore"
783
+ ],
784
+ "optionsAdded": [
785
+ "cursor",
786
+ "recordedAt"
787
+ ],
788
+ "note": "`recordedAfter: a, recordedBefore: b` becomes `recordedAt: { gte: a, lte: b }`."
789
+ },
790
+ {
791
+ "kind": "list",
792
+ "name": "attestations.publicList",
793
+ "before": "{ attestations, audience }",
794
+ "after": "ListResult<Attestation> & { audience }",
795
+ "paged": true,
796
+ "optionsRemoved": [
797
+ "offset",
798
+ "recordedAfter",
799
+ "recordedBefore"
800
+ ],
801
+ "optionsAdded": [
802
+ "cursor",
803
+ "recordedAt"
804
+ ],
805
+ "note": "`recordedAfter: a, recordedBefore: b` becomes `recordedAt: { gte: a, lte: b }`."
806
+ },
807
+ {
808
+ "kind": "list",
809
+ "name": "authKit.list",
810
+ "before": "AuthKitConfig[]",
811
+ "after": "ListResult<AuthKitConfig>",
812
+ "paged": true,
813
+ "optionsRemoved": [],
814
+ "optionsAdded": [
815
+ "limit",
816
+ "cursor"
817
+ ],
818
+ "note": "Now paged (50 at a time): follow nextCursor to get every config.",
819
+ "firstPageOnly": true
820
+ },
821
+ {
822
+ "kind": "list",
823
+ "name": "authKit.listTrustedDevices",
824
+ "before": "{ devices: TrustedDevice[] }",
825
+ "after": "ListResult<TrustedDevice>",
826
+ "paged": true,
827
+ "optionsRemoved": [],
828
+ "optionsAdded": [
829
+ "limit",
830
+ "cursor"
831
+ ],
832
+ "note": "`devices` is `items`. Now paged (50 at a time): follow nextCursor to get every device.",
833
+ "firstPageOnly": true
834
+ },
835
+ {
836
+ "kind": "list",
837
+ "name": "batch.getBatchTags",
838
+ "before": "BatchTag[]",
839
+ "after": "ListResult<BatchTag>",
840
+ "paged": true,
841
+ "optionsRemoved": [],
842
+ "optionsAdded": [
843
+ "limit",
844
+ "cursor"
845
+ ],
846
+ "note": "The options come after the optional `claimSetId`: `getBatchTags(collectionId, batchId, claimSetId?, { limit, cursor })`. Now paged: 50 tags unless you give `limit` (at most 1000). A batch with more than 50 tags needs `nextCursor` followed to get them all.",
847
+ "firstPageOnly": true
848
+ },
849
+ {
850
+ "kind": "list",
851
+ "name": "batch.list",
852
+ "before": "BatchResponse[]",
853
+ "after": "ListResult<BatchResponse>",
854
+ "paged": true,
855
+ "optionsRemoved": [],
856
+ "optionsAdded": [
857
+ "limit",
858
+ "cursor"
859
+ ],
860
+ "note": "Now paged: 50 batches unless you give `limit` (at most 1000). A product with more than 50 batches needs `nextCursor` followed to get them all.",
861
+ "firstPageOnly": true
862
+ },
863
+ {
864
+ "kind": "list",
865
+ "name": "batch.searchInCollection",
866
+ "before": "BatchResponse[]",
867
+ "after": "ListResult<BatchResponse>",
868
+ "paged": true,
869
+ "optionsRemoved": [
870
+ "search"
871
+ ],
872
+ "optionsAdded": [
873
+ "q",
874
+ "cursor",
875
+ "limit"
876
+ ],
877
+ "note": "`search: 'B-2024'` becomes `q: 'B-2024'`. `limit` and `productId` are unchanged. With a `limit`, `nextCursor` is set when there are more matches."
878
+ },
879
+ {
880
+ "kind": "list",
881
+ "name": "bookings.blocks.list",
882
+ "before": "PaginatedResponse<BookingAllocation>",
883
+ "after": "ListResult<BookingAllocation> (with count)",
884
+ "paged": true,
885
+ "optionsRemoved": [
886
+ "offset"
887
+ ],
888
+ "optionsAdded": [
889
+ "cursor"
890
+ ],
891
+ "note": ""
892
+ },
893
+ {
894
+ "kind": "list",
895
+ "name": "bookings.list",
896
+ "before": "PaginatedResponse<Booking> = { data, pagination: { total, limit, offset, hasMore } }",
897
+ "after": "ListResult<Booking> (with count)",
898
+ "paged": true,
899
+ "optionsRemoved": [
900
+ "offset",
901
+ "sort"
902
+ ],
903
+ "optionsAdded": [
904
+ "cursor",
905
+ "orderBy"
906
+ ],
907
+ "note": "`sort: 'starts_at:desc'` becomes `orderBy: [{ startsAt: 'desc' }]` (fields: startsAt, endsAt, createdAt, updatedAt, status, ref, customId, sourceSystem). `from` / `to` are unchanged. Server functions (`ctx.sl.bookings.query`) still take `sort` and `offset`: that type (BookingListQueryParams) was not changed."
908
+ },
909
+ {
910
+ "kind": "list",
911
+ "name": "bookings.mine",
912
+ "before": "PaginatedResponse<Booking>",
913
+ "after": "ListResult<Booking> (with count)",
914
+ "paged": true,
915
+ "optionsRemoved": [
916
+ "offset",
917
+ "sort"
918
+ ],
919
+ "optionsAdded": [
920
+ "cursor",
921
+ "orderBy"
922
+ ],
923
+ "note": "`sort: 'starts_at:desc'` becomes `orderBy: [{ startsAt: 'desc' }]` (same fields as bookings.list). `from` / `to` are unchanged."
924
+ },
925
+ {
926
+ "kind": "list",
927
+ "name": "bookings.slots.list",
928
+ "before": "PaginatedResponse<BookingSlot>",
929
+ "after": "ListResult<BookingSlot> (with count)",
930
+ "paged": true,
931
+ "optionsRemoved": [
932
+ "offset",
933
+ "sort"
934
+ ],
935
+ "optionsAdded": [
936
+ "cursor",
937
+ "orderBy"
938
+ ],
939
+ "note": "`sort: 'starts_at:asc'` becomes `orderBy: [{ startsAt: 'asc' }]` (fields: startsAt, endsAt, createdAt, updatedAt, status, capacity, ref, customId). `from` / `to` and `available` are unchanged. Server functions (`ctx.sl.bookings.slots.query`) still take `sort` and `offset`."
940
+ },
941
+ {
942
+ "kind": "list",
943
+ "name": "broadcasts.list",
944
+ "before": "BroadcastList = { items, limit, offset }",
945
+ "after": "ListResult<BroadcastRecord>",
946
+ "paged": true,
947
+ "optionsRemoved": [
948
+ "offset"
949
+ ],
950
+ "optionsAdded": [
951
+ "cursor"
952
+ ],
953
+ "typesRemoved": [
954
+ "BroadcastList"
955
+ ],
956
+ "note": ""
957
+ },
958
+ {
959
+ "kind": "list",
960
+ "name": "broadcasts.recipients",
961
+ "before": "{ items, total, limit, offset, note? }",
962
+ "after": "ListResult<Recipient> & { note?: string } (with count)",
963
+ "paged": true,
964
+ "optionsRemoved": [
965
+ "offset"
966
+ ],
967
+ "optionsAdded": [
968
+ "cursor"
969
+ ],
970
+ "note": ""
971
+ },
972
+ {
973
+ "kind": "list",
974
+ "name": "claimSet.getAll",
975
+ "before": "any[]",
976
+ "after": "ListResult<any>",
977
+ "paged": true,
978
+ "optionsRemoved": [],
979
+ "optionsAdded": [
980
+ "limit",
981
+ "cursor"
982
+ ],
983
+ "note": "getAll(collectionId?, options?). The list is now paged (50 at a time): follow nextCursor. For your own claim sets (no collection) pass undefined first: getAll(undefined, { limit }).",
984
+ "firstPageOnly": true
985
+ },
986
+ {
987
+ "kind": "list",
988
+ "name": "claimSet.getAssignedTags",
989
+ "before": "any (the claim set with its tags in `tags`)",
990
+ "after": "ListResult<any> & Record<string, any>",
991
+ "paged": true,
992
+ "optionsRemoved": [],
993
+ "optionsAdded": [
994
+ "limit",
995
+ "cursor"
996
+ ],
997
+ "note": "The tags are in `items`; the claim set's own fields (id, name, …) stay beside them. getAssignedTags(claimSetId, collectionId?, options?). Now paged (50 at a time): follow nextCursor.",
998
+ "firstPageOnly": true
999
+ },
1000
+ {
1001
+ "kind": "list",
1002
+ "name": "claimSet.ranges.list",
1003
+ "before": "ClaimSetRange[]",
1004
+ "after": "ListResult<ClaimSetRange>",
1005
+ "paged": true,
1006
+ "optionsRemoved": [],
1007
+ "optionsAdded": [
1008
+ "limit",
1009
+ "cursor"
1010
+ ],
1011
+ "note": "ranges.list(scope, claimSetId, options?). Now paged (50 at a time): follow nextCursor.",
1012
+ "firstPageOnly": true
1013
+ },
1014
+ {
1015
+ "kind": "list",
1016
+ "name": "claimSet.ranges.tags",
1017
+ "before": "ClaimSetRangeTagsPage { tags, next }",
1018
+ "after": "ListResult<ClaimSetRangeTag>",
1019
+ "paged": true,
1020
+ "optionsRemoved": [
1021
+ "from"
1022
+ ],
1023
+ "optionsAdded": [
1024
+ "cursor"
1025
+ ],
1026
+ "note": "`from` (an index used as a place to carry on) is `cursor`; `limit` and `keys` stay."
1027
+ },
1028
+ {
1029
+ "kind": "list",
1030
+ "name": "collection.getUsers",
1031
+ "before": "CollectionUser[]",
1032
+ "after": "ListResult<CollectionUser>",
1033
+ "paged": true,
1034
+ "optionsRemoved": [],
1035
+ "optionsAdded": [
1036
+ "limit",
1037
+ "cursor"
1038
+ ],
1039
+ "note": "Now paged (50 at a time): follow nextCursor to get every user.",
1040
+ "firstPageOnly": true
1041
+ },
1042
+ {
1043
+ "kind": "list",
1044
+ "name": "collection.list",
1045
+ "before": "CollectionResponse[]",
1046
+ "after": "ListResult<CollectionResponse>",
1047
+ "paged": true,
1048
+ "optionsRemoved": [],
1049
+ "optionsAdded": [
1050
+ "limit",
1051
+ "cursor"
1052
+ ],
1053
+ "note": "Now paged (50 at a time): an account with more than 50 collections must follow nextCursor. The options object is the function's only parameter: collection.list({ limit, cursor }).",
1054
+ "firstPageOnly": true
1055
+ },
1056
+ {
1057
+ "kind": "list",
1058
+ "name": "comms.listMethods",
1059
+ "before": "{ ok: true, methods: CommMethod[] }",
1060
+ "after": "ListResult<CommMethod>",
1061
+ "paged": false,
1062
+ "optionsRemoved": [],
1063
+ "optionsAdded": [],
1064
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1065
+ },
1066
+ {
1067
+ "kind": "list",
1068
+ "name": "comms.queryByUser",
1069
+ "before": "CommunicationEvent[]",
1070
+ "after": "ListResult<CommunicationEvent>",
1071
+ "paged": true,
1072
+ "optionsRemoved": [],
1073
+ "optionsAdded": [
1074
+ "cursor",
1075
+ "limit"
1076
+ ],
1077
+ "note": "Now paged: `limit` is the page size, not a cap on the whole answer. Follow nextCursor for the rest."
1078
+ },
1079
+ {
1080
+ "kind": "list",
1081
+ "name": "comms.queryRecipientIds",
1082
+ "before": "RecipientId[]",
1083
+ "after": "ListResult<RecipientId>",
1084
+ "paged": true,
1085
+ "optionsRemoved": [],
1086
+ "optionsAdded": [
1087
+ "cursor",
1088
+ "limit"
1089
+ ],
1090
+ "note": "Now paged: `limit` is the page size, not a cap on the whole answer. Follow nextCursor for the rest."
1091
+ },
1092
+ {
1093
+ "kind": "list",
1094
+ "name": "conditions.list",
1095
+ "before": "SavedCondition[]",
1096
+ "after": "ListResult<SavedCondition>",
1097
+ "paged": true,
1098
+ "optionsRemoved": [],
1099
+ "optionsAdded": [
1100
+ "limit",
1101
+ "cursor"
1102
+ ],
1103
+ "note": "Now paged (50 at a time), on both the public and the admin route. The options come after `admin`: conditions.list(collectionId, false, { limit, cursor }).",
1104
+ "firstPageOnly": true
1105
+ },
1106
+ {
1107
+ "kind": "list",
1108
+ "name": "config.getFields",
1109
+ "before": "FieldDefinition[]",
1110
+ "after": "ListResult<FieldDefinition>",
1111
+ "paged": false,
1112
+ "optionsRemoved": [],
1113
+ "optionsAdded": [],
1114
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1115
+ },
1116
+ {
1117
+ "kind": "list",
1118
+ "name": "config.getProofTypes",
1119
+ "before": "ProofTypeDefinition[]",
1120
+ "after": "ListResult<ProofTypeDefinition>",
1121
+ "paged": false,
1122
+ "optionsRemoved": [],
1123
+ "optionsAdded": [],
1124
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1125
+ },
1126
+ {
1127
+ "kind": "list",
1128
+ "name": "contact.findDuplicates",
1129
+ "before": "{ pairs, scanned, more }",
1130
+ "after": "ListResult<ContactDuplicatePair> & { scanned: number }",
1131
+ "paged": true,
1132
+ "optionsRemoved": [
1133
+ "offset"
1134
+ ],
1135
+ "optionsAdded": [
1136
+ "cursor"
1137
+ ],
1138
+ "note": "`more` is gone: check `nextCursor`. `scanned` stays beside the list."
1139
+ },
1140
+ {
1141
+ "kind": "list",
1142
+ "name": "contact.list",
1143
+ "before": "ContactListResponse = { items, limit, offset }",
1144
+ "after": "ListResult<Contact>",
1145
+ "paged": true,
1146
+ "optionsRemoved": [
1147
+ "offset"
1148
+ ],
1149
+ "optionsAdded": [
1150
+ "cursor"
1151
+ ],
1152
+ "typesRemoved": [
1153
+ "ContactListResponse"
1154
+ ],
1155
+ "note": ""
1156
+ },
1157
+ {
1158
+ "kind": "list",
1159
+ "name": "contact.search",
1160
+ "before": "ContactSearchResponse = { items, limit, offset }",
1161
+ "after": "ListResult<Contact>",
1162
+ "paged": true,
1163
+ "optionsRemoved": [
1164
+ "offset",
1165
+ "createdFrom",
1166
+ "createdTo"
1167
+ ],
1168
+ "optionsAdded": [
1169
+ "cursor",
1170
+ "createdAt"
1171
+ ],
1172
+ "typesRemoved": [
1173
+ "ContactSearchResponse"
1174
+ ],
1175
+ "note": "The creation date is one range: createdAt: { gte, lte } replaces createdFrom / createdTo (a Date or an ISO string). q, limit and cursor are unchanged. Empty-string filters are no longer sent."
1176
+ },
1177
+ {
1178
+ "kind": "list",
1179
+ "name": "containers.findForItem",
1180
+ "before": "{ items: ContainerItem[], containers: Container[] }",
1181
+ "after": "ListResult<ContainerItem> & { containers: Container[] }",
1182
+ "paged": true,
1183
+ "optionsRemoved": [],
1184
+ "optionsAdded": [
1185
+ "limit",
1186
+ "cursor"
1187
+ ],
1188
+ "note": "FindContainersForItemParams now extends ListOptions. Now paged (50 at a time): follow nextCursor.",
1189
+ "firstPageOnly": true
1190
+ },
1191
+ {
1192
+ "kind": "list",
1193
+ "name": "containers.list",
1194
+ "before": "ListContainersResponse = { containers, limit, offset }",
1195
+ "after": "ListResult<Container>",
1196
+ "paged": true,
1197
+ "optionsRemoved": [
1198
+ "offset"
1199
+ ],
1200
+ "optionsAdded": [
1201
+ "cursor"
1202
+ ],
1203
+ "typesRemoved": [
1204
+ "ListContainersResponse"
1205
+ ],
1206
+ "note": ""
1207
+ },
1208
+ {
1209
+ "kind": "list",
1210
+ "name": "containers.listItems",
1211
+ "before": "ContainerItemsResponse = { items, limit, offset }",
1212
+ "after": "ListResult<ContainerItem>",
1213
+ "paged": true,
1214
+ "optionsRemoved": [
1215
+ "offset"
1216
+ ],
1217
+ "optionsAdded": [
1218
+ "cursor"
1219
+ ],
1220
+ "typesRemoved": [
1221
+ "ContainerItemsResponse"
1222
+ ],
1223
+ "note": "Pages only with `history: true`; the current contents come back whole."
1224
+ },
1225
+ {
1226
+ "kind": "list",
1227
+ "name": "containers.publicList",
1228
+ "before": "PublicListContainersResponse = { containers }",
1229
+ "after": "ListResult<Container>",
1230
+ "paged": true,
1231
+ "optionsRemoved": [
1232
+ "offset"
1233
+ ],
1234
+ "optionsAdded": [
1235
+ "cursor"
1236
+ ],
1237
+ "typesRemoved": [
1238
+ "PublicListContainersResponse"
1239
+ ],
1240
+ "note": ""
1241
+ },
1242
+ {
1243
+ "kind": "list",
1244
+ "name": "containers.publicListItems",
1245
+ "before": "ContainerItemsResponse = { items, limit, offset }",
1246
+ "after": "ListResult<ContainerItem>",
1247
+ "paged": true,
1248
+ "optionsRemoved": [
1249
+ "limit",
1250
+ "offset"
1251
+ ],
1252
+ "optionsAdded": [
1253
+ "limit",
1254
+ "cursor"
1255
+ ],
1256
+ "note": "publicListItems(collectionId, containerId, options?). Now paged (50 at a time): follow nextCursor.",
1257
+ "firstPageOnly": true
1258
+ },
1259
+ {
1260
+ "kind": "list",
1261
+ "name": "crate.list",
1262
+ "before": "ListCratesResponse = { items, hasMore, lastId }",
1263
+ "after": "ListResult<Crate>",
1264
+ "paged": true,
1265
+ "optionsRemoved": [
1266
+ "startAfter"
1267
+ ],
1268
+ "optionsAdded": [
1269
+ "cursor"
1270
+ ],
1271
+ "typesRemoved": [
1272
+ "ListCratesResponse"
1273
+ ],
1274
+ "note": ""
1275
+ },
1276
+ {
1277
+ "kind": "list",
1278
+ "name": "dpp.groups",
1279
+ "before": "DppGroup[] (the function unwrapped { groups })",
1280
+ "after": "ListResult<DppGroup>",
1281
+ "paged": false,
1282
+ "optionsRemoved": [],
1283
+ "optionsAdded": [],
1284
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1285
+ },
1286
+ {
1287
+ "kind": "list",
1288
+ "name": "dpp.passports.list",
1289
+ "before": "DppPassport[] (unwrapped { passports })",
1290
+ "after": "ListResult<DppPassport>",
1291
+ "paged": true,
1292
+ "optionsRemoved": [
1293
+ "offset"
1294
+ ],
1295
+ "optionsAdded": [
1296
+ "cursor"
1297
+ ],
1298
+ "note": ""
1299
+ },
1300
+ {
1301
+ "kind": "list",
1302
+ "name": "dpp.passports.versions",
1303
+ "before": "DppPassportVersion[] (unwrapped { versions })",
1304
+ "after": "ListResult<DppPassportVersion>",
1305
+ "paged": true,
1306
+ "optionsRemoved": [],
1307
+ "optionsAdded": [
1308
+ "limit",
1309
+ "cursor"
1310
+ ],
1311
+ "note": "Now paged (50 at a time): follow nextCursor to get every version.",
1312
+ "firstPageOnly": true
1313
+ },
1314
+ {
1315
+ "kind": "list",
1316
+ "name": "dpp.registry.list",
1317
+ "before": "DppRegistry[] (unwrapped { registries })",
1318
+ "after": "ListResult<DppRegistry>",
1319
+ "paged": false,
1320
+ "optionsRemoved": [],
1321
+ "optionsAdded": [],
1322
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1323
+ },
1324
+ {
1325
+ "kind": "list",
1326
+ "name": "dpp.tasks.list",
1327
+ "before": "DppTask[] (unwrapped { tasks })",
1328
+ "after": "ListResult<DppTask>",
1329
+ "paged": true,
1330
+ "optionsRemoved": [],
1331
+ "optionsAdded": [
1332
+ "limit",
1333
+ "cursor"
1334
+ ],
1335
+ "note": "Now paged (50 at a time): follow nextCursor to get every request.",
1336
+ "firstPageOnly": true
1337
+ },
1338
+ {
1339
+ "kind": "list",
1340
+ "name": "facets.list",
1341
+ "before": "FacetListResponse = { items }",
1342
+ "after": "ListResult<FacetDefinition>",
1343
+ "paged": false,
1344
+ "optionsRemoved": [],
1345
+ "optionsAdded": [],
1346
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1347
+ },
1348
+ {
1349
+ "kind": "list",
1350
+ "name": "facets.listValues",
1351
+ "before": "FacetValueListResponse = { facet, items }",
1352
+ "after": "ListResult<FacetValue> & { facet: FacetDefinition }",
1353
+ "paged": true,
1354
+ "optionsRemoved": [],
1355
+ "optionsAdded": [
1356
+ "limit",
1357
+ "cursor"
1358
+ ],
1359
+ "note": "FacetValueListParams now extends ListOptions. A facet's values are now paged (50 at a time): follow nextCursor to get them all.",
1360
+ "firstPageOnly": true
1361
+ },
1362
+ {
1363
+ "kind": "list",
1364
+ "name": "facets.namespaces",
1365
+ "before": "FacetNamespaceListResponse = { namespaces: string[] }",
1366
+ "after": "ListResult<string>",
1367
+ "paged": false,
1368
+ "optionsRemoved": [],
1369
+ "optionsAdded": [],
1370
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1371
+ },
1372
+ {
1373
+ "kind": "list",
1374
+ "name": "facets.publicList",
1375
+ "before": "FacetListResponse = { items }",
1376
+ "after": "ListResult<FacetDefinition>",
1377
+ "paged": false,
1378
+ "optionsRemoved": [],
1379
+ "optionsAdded": [],
1380
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1381
+ },
1382
+ {
1383
+ "kind": "list",
1384
+ "name": "facets.publicListValues",
1385
+ "before": "FacetValueListResponse = { facet, items }",
1386
+ "after": "ListResult<FacetValue> & { facet: FacetDefinition }",
1387
+ "paged": true,
1388
+ "optionsRemoved": [],
1389
+ "optionsAdded": [
1390
+ "limit",
1391
+ "cursor"
1392
+ ],
1393
+ "note": "publicListValues(collectionId, facetKey, options?). A facet's values are now paged (50 at a time): follow nextCursor to get them all.",
1394
+ "firstPageOnly": true
1395
+ },
1396
+ {
1397
+ "kind": "list",
1398
+ "name": "facets.publicNamespaces",
1399
+ "before": "FacetNamespaceListResponse = { namespaces: string[] }",
1400
+ "after": "ListResult<string>",
1401
+ "paged": false,
1402
+ "optionsRemoved": [],
1403
+ "optionsAdded": [],
1404
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1405
+ },
1406
+ {
1407
+ "kind": "list",
1408
+ "name": "facets.publicQuery",
1409
+ "before": "FacetQueryResponse = { items, buckets, meta? }",
1410
+ "after": "ListResult<{ facet, values }> & { buckets: FacetBucket[], meta? }",
1411
+ "paged": false,
1412
+ "optionsRemoved": [
1413
+ "query.search",
1414
+ "query.createdAfter",
1415
+ "query.createdBefore",
1416
+ "query.updatedAfter",
1417
+ "query.updatedBefore"
1418
+ ],
1419
+ "optionsAdded": [
1420
+ "q",
1421
+ "createdAt",
1422
+ "updatedAt"
1423
+ ],
1424
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1425
+ },
1426
+ {
1427
+ "kind": "list",
1428
+ "name": "facets.query",
1429
+ "before": "FacetQueryResponse = { items, buckets, meta? }",
1430
+ "after": "ListResult<{ facet, values }> & { buckets: FacetBucket[], meta? }",
1431
+ "paged": false,
1432
+ "optionsRemoved": [
1433
+ "query.search",
1434
+ "query.createdAfter",
1435
+ "query.createdBefore",
1436
+ "query.updatedAfter",
1437
+ "query.updatedBefore"
1438
+ ],
1439
+ "optionsAdded": [
1440
+ "q",
1441
+ "createdAt",
1442
+ "updatedAt"
1443
+ ],
1444
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1445
+ },
1446
+ {
1447
+ "kind": "list",
1448
+ "name": "files.list",
1449
+ "before": "{ ok: true, files: FileRecord[] }",
1450
+ "after": "ListResult<FileRecord>",
1451
+ "paged": true,
1452
+ "optionsRemoved": [],
1453
+ "optionsAdded": [
1454
+ "cursor",
1455
+ "limit"
1456
+ ],
1457
+ "note": "limit was already there; cursor is new, so follow nextCursor for the rest."
1458
+ },
1459
+ {
1460
+ "kind": "list",
1461
+ "name": "form.list",
1462
+ "before": "any[]",
1463
+ "after": "ListResult<any>",
1464
+ "paged": true,
1465
+ "optionsRemoved": [],
1466
+ "optionsAdded": [
1467
+ "limit",
1468
+ "cursor"
1469
+ ],
1470
+ "note": "The options come after `admin`: `form.list(collectionId, admin?, { limit, cursor })`. Now paged: 50 forms unless you give `limit` (at most 1000).",
1471
+ "firstPageOnly": true
1472
+ },
1473
+ {
1474
+ "kind": "list",
1475
+ "name": "integrations.listConnectorActions",
1476
+ "before": "{ actions }",
1477
+ "after": "ListResult<{ name, title, description?, visibility, input?, output? }>",
1478
+ "paged": false,
1479
+ "optionsRemoved": [],
1480
+ "optionsAdded": [],
1481
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1482
+ },
1483
+ {
1484
+ "kind": "list",
1485
+ "name": "integrations.listConnectors",
1486
+ "before": "{ connectors }",
1487
+ "after": "ListResult<InstalledConnector>",
1488
+ "paged": false,
1489
+ "optionsRemoved": [],
1490
+ "optionsAdded": [],
1491
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1492
+ },
1493
+ {
1494
+ "kind": "list",
1495
+ "name": "integrations.listEntityRuns",
1496
+ "before": "{ runs, nextCursor? }",
1497
+ "after": "ListResult<FlowRun>",
1498
+ "paged": true,
1499
+ "optionsRemoved": [],
1500
+ "optionsAdded": [
1501
+ "cursor",
1502
+ "limit"
1503
+ ],
1504
+ "note": "limit was already there; cursor is new."
1505
+ },
1506
+ {
1507
+ "kind": "list",
1508
+ "name": "integrations.listFailed",
1509
+ "before": "{ direction, items, nextCursor }",
1510
+ "after": "ListResult<FailedRecord> & { direction: FlowDirection }",
1511
+ "paged": true,
1512
+ "optionsRemoved": [],
1513
+ "optionsAdded": [],
1514
+ "typesRemoved": [
1515
+ "FailedRecordList"
1516
+ ],
1517
+ "note": ""
1518
+ },
1519
+ {
1520
+ "kind": "list",
1521
+ "name": "integrations.listFlows",
1522
+ "before": "{ flows }",
1523
+ "after": "ListResult<IntegrationFlow>",
1524
+ "paged": true,
1525
+ "optionsRemoved": [],
1526
+ "optionsAdded": [
1527
+ "limit",
1528
+ "cursor"
1529
+ ],
1530
+ "typesRemoved": [
1531
+ "FlowList"
1532
+ ],
1533
+ "note": "Now paged (50 at a time): a collection with more than 50 flows must follow nextCursor.",
1534
+ "firstPageOnly": true
1535
+ },
1536
+ {
1537
+ "kind": "list",
1538
+ "name": "integrations.listRecordTypes",
1539
+ "before": "{ recordTypes }",
1540
+ "after": "ListResult<RecordTypeInfo>",
1541
+ "paged": false,
1542
+ "optionsRemoved": [],
1543
+ "optionsAdded": [],
1544
+ "typesRemoved": [
1545
+ "RecordTypesResponse"
1546
+ ],
1547
+ "note": "A fixed set: always returned whole, with no `limit` or `cursor`."
1548
+ },
1549
+ {
1550
+ "kind": "list",
1551
+ "name": "integrations.listRunItems",
1552
+ "before": "{ items, nextCursor? }",
1553
+ "after": "ListResult<FlowRunItem>",
1554
+ "paged": true,
1555
+ "optionsRemoved": [],
1556
+ "optionsAdded": [],
1557
+ "typesRemoved": [
1558
+ "RunItemList"
1559
+ ],
1560
+ "note": ""
1561
+ },
1562
+ {
1563
+ "kind": "list",
1564
+ "name": "integrations.listRuns",
1565
+ "before": "{ runs, nextCursor? }",
1566
+ "after": "ListResult<FlowRun>",
1567
+ "paged": true,
1568
+ "optionsRemoved": [],
1569
+ "optionsAdded": [],
1570
+ "typesRemoved": [
1571
+ "RunList"
1572
+ ],
1573
+ "note": ""
1574
+ },
1575
+ {
1576
+ "kind": "list",
1577
+ "name": "interactions.list",
1578
+ "before": "{ items, limit, offset }",
1579
+ "after": "ListResult<InteractionTypeRecord>",
1580
+ "paged": true,
1581
+ "optionsRemoved": [
1582
+ "offset"
1583
+ ],
1584
+ "optionsAdded": [
1585
+ "cursor"
1586
+ ],
1587
+ "typesRemoved": [
1588
+ "InteractionTypeList"
1589
+ ],
1590
+ "note": ""
1591
+ },
1592
+ {
1593
+ "kind": "list",
1594
+ "name": "interactions.publicList",
1595
+ "before": "{ items, limit, offset }",
1596
+ "after": "ListResult<InteractionTypeRecord>",
1597
+ "paged": true,
1598
+ "optionsRemoved": [
1599
+ "offset"
1600
+ ],
1601
+ "optionsAdded": [
1602
+ "cursor"
1603
+ ],
1604
+ "note": ""
1605
+ },
1606
+ {
1607
+ "kind": "list",
1608
+ "name": "interactions.publicMyInteractions",
1609
+ "before": "InteractionEventRow[]",
1610
+ "after": "ListResult<InteractionEventRow>",
1611
+ "paged": true,
1612
+ "optionsRemoved": [],
1613
+ "optionsAdded": [
1614
+ "cursor",
1615
+ "limit"
1616
+ ],
1617
+ "note": "Now paged: `limit` is the page size. Follow nextCursor for the rest. The trailing authToken parameter is unchanged."
1618
+ },
1619
+ {
1620
+ "kind": "list",
1621
+ "name": "interactions.query",
1622
+ "before": "InteractionEventRow[]",
1623
+ "after": "ListResult<InteractionEventRow>",
1624
+ "paged": true,
1625
+ "optionsRemoved": [
1626
+ "order",
1627
+ "include"
1628
+ ],
1629
+ "optionsAdded": [
1630
+ "cursor",
1631
+ "orderBy",
1632
+ "expand",
1633
+ "limit"
1634
+ ],
1635
+ "note": "order: 'ASC' | 'DESC' becomes orderBy: [{ timestamp: 'asc' | 'desc' }]; include: ['interaction'] becomes expand: ['interaction']. Now paged: `limit` is the page size, follow nextCursor for the rest."
1636
+ },
1637
+ {
1638
+ "kind": "list",
1639
+ "name": "jobs.list",
1640
+ "before": "{ items, limit, offset }",
1641
+ "after": "ListResult<Job>",
1642
+ "paged": true,
1643
+ "optionsRemoved": [
1644
+ "offset"
1645
+ ],
1646
+ "optionsAdded": [
1647
+ "cursor"
1648
+ ],
1649
+ "typesRemoved": [
1650
+ "JobsPage"
1651
+ ],
1652
+ "note": ""
1653
+ },
1654
+ {
1655
+ "kind": "list",
1656
+ "name": "journeys.list",
1657
+ "before": "{ items, limit, offset }",
1658
+ "after": "ListResult<JourneyRecord>",
1659
+ "paged": true,
1660
+ "optionsRemoved": [
1661
+ "offset"
1662
+ ],
1663
+ "optionsAdded": [
1664
+ "cursor"
1665
+ ],
1666
+ "typesRemoved": [
1667
+ "JourneyList"
1668
+ ],
1669
+ "note": ""
1670
+ },
1671
+ {
1672
+ "kind": "list",
1673
+ "name": "journeysAnalytics.recipients",
1674
+ "before": "string[]",
1675
+ "after": "ListResult<string>",
1676
+ "paged": true,
1677
+ "optionsRemoved": [],
1678
+ "optionsAdded": [
1679
+ "cursor",
1680
+ "limit"
1681
+ ],
1682
+ "typesRemoved": [
1683
+ "JourneyStepRecipientsResponse"
1684
+ ],
1685
+ "note": "Now paged: `limit` is the page size. Follow nextCursor for the rest."
1686
+ },
1687
+ {
1688
+ "kind": "list",
1689
+ "name": "knowledge.listSets",
1690
+ "before": "KnowledgeSet[]",
1691
+ "after": "ListResult<KnowledgeSet>",
1692
+ "paged": true,
1693
+ "optionsRemoved": [],
1694
+ "optionsAdded": [
1695
+ "limit",
1696
+ "cursor"
1697
+ ],
1698
+ "note": "Now paged (50 at a time): follow nextCursor to get every set.",
1699
+ "firstPageOnly": true
1700
+ },
1701
+ {
1702
+ "kind": "list",
1703
+ "name": "knowledge.listSources",
1704
+ "before": "KnowledgeSource[]",
1705
+ "after": "ListResult<KnowledgeSource>",
1706
+ "paged": true,
1707
+ "optionsRemoved": [],
1708
+ "optionsAdded": [
1709
+ "limit",
1710
+ "cursor"
1711
+ ],
1712
+ "note": "Now paged (50 at a time): follow nextCursor to get every source.",
1713
+ "firstPageOnly": true
1714
+ },
1715
+ {
1716
+ "kind": "list",
1717
+ "name": "knowledge.publicSearch",
1718
+ "before": "KnowledgeSearchResponse { query, results, mode }",
1719
+ "after": "ListResult<KnowledgeSearchResult> & Pick<KnowledgeSearchResponse, 'query' | 'mode'>",
1720
+ "paged": true,
1721
+ "optionsRemoved": [
1722
+ "query",
1723
+ "k"
1724
+ ],
1725
+ "optionsAdded": [
1726
+ "q",
1727
+ "limit",
1728
+ "cursor"
1729
+ ],
1730
+ "note": "`results` is `items`; `query` and `mode` stay beside it. The search text is `q` (was `query`) and the number of matches is `limit` (was `k`). `q` is required, as `query` was. The answer still carries `query` and `mode` beside `items`."
1731
+ },
1732
+ {
1733
+ "kind": "list",
1734
+ "name": "knowledge.search",
1735
+ "before": "{ query, results, mode }",
1736
+ "after": "ListResult<KnowledgeSearchResult> & { query, mode }",
1737
+ "paged": true,
1738
+ "optionsRemoved": [
1739
+ "query",
1740
+ "k"
1741
+ ],
1742
+ "optionsAdded": [
1743
+ "q",
1744
+ "limit",
1745
+ "cursor"
1746
+ ],
1747
+ "note": "`results` is `items`; `query` and `mode` stay beside it. The search text is `q` (was `query`) and the number of matches is `limit` (was `k`). `q` is required, as `query` was. The answer still carries `query` and `mode` beside `items`."
1748
+ },
1749
+ {
1750
+ "kind": "list",
1751
+ "name": "location.search",
1752
+ "before": "{ items, count }",
1753
+ "after": "ListResult<Location>",
1754
+ "paged": true,
1755
+ "optionsRemoved": [
1756
+ "sort"
1757
+ ],
1758
+ "optionsAdded": [
1759
+ "cursor",
1760
+ "orderBy",
1761
+ "limit"
1762
+ ],
1763
+ "typesRemoved": [
1764
+ "LocationSearchResponse"
1765
+ ],
1766
+ "note": "The old `count` was the number of rows returned; it is gone. `sort: 'countryName'` is now `orderBy: [{ countryName: 'asc' }]` (one field at a time: name, countryCode or countryName; a direction can now be given). The SDK no longer fills in limit=20 and sort=name itself; the API's own defaults are the same (20, by name, at most 100)."
1767
+ },
1768
+ {
1769
+ "kind": "list",
1770
+ "name": "lots.list",
1771
+ "before": "Lot[] (the SDK unwrapped { lots })",
1772
+ "after": "ListResult<Lot>",
1773
+ "paged": true,
1774
+ "optionsRemoved": [
1775
+ "search"
1776
+ ],
1777
+ "optionsAdded": [
1778
+ "limit",
1779
+ "cursor",
1780
+ "q"
1781
+ ],
1782
+ "typesRemoved": [
1783
+ "ListLotsResponse"
1784
+ ],
1785
+ "note": "ListLotsParams now extends ListOptions; `search` is now `q`. Now paged (50 at a time): follow nextCursor.",
1786
+ "firstPageOnly": true
1787
+ },
1788
+ {
1789
+ "kind": "list",
1790
+ "name": "lots.listProducts",
1791
+ "before": "{ products, total, page, limit }",
1792
+ "after": "ListResult<LotProductSummary>",
1793
+ "paged": true,
1794
+ "optionsRemoved": [
1795
+ "page"
1796
+ ],
1797
+ "optionsAdded": [
1798
+ "cursor"
1799
+ ],
1800
+ "typesRemoved": [
1801
+ "ListLotProductsResponse"
1802
+ ],
1803
+ "note": "`total` is `count`."
1804
+ },
1805
+ {
1806
+ "kind": "list",
1807
+ "name": "lots.publicList",
1808
+ "before": "Lot[] (the SDK unwrapped { lots })",
1809
+ "after": "ListResult<Lot>",
1810
+ "paged": true,
1811
+ "optionsRemoved": [
1812
+ "search"
1813
+ ],
1814
+ "optionsAdded": [
1815
+ "limit",
1816
+ "cursor",
1817
+ "q"
1818
+ ],
1819
+ "note": "`search` is now `q`. Now paged (50 at a time): follow nextCursor.",
1820
+ "firstPageOnly": true
1821
+ },
1822
+ {
1823
+ "kind": "list",
1824
+ "name": "lots.publicListProducts",
1825
+ "before": "{ products, total, page, limit }",
1826
+ "after": "ListResult<LotProductSummary>",
1827
+ "paged": true,
1828
+ "optionsRemoved": [
1829
+ "page"
1830
+ ],
1831
+ "optionsAdded": [
1832
+ "cursor"
1833
+ ],
1834
+ "note": ""
1835
+ },
1836
+ {
1837
+ "kind": "list",
1838
+ "name": "loyalty.getMemberHistory",
1839
+ "before": "{ items, limit, offset }",
1840
+ "after": "ListResult<LoyaltyTransaction>",
1841
+ "paged": true,
1842
+ "optionsRemoved": [
1843
+ "offset"
1844
+ ],
1845
+ "optionsAdded": [
1846
+ "cursor"
1847
+ ],
1848
+ "note": ""
1849
+ },
1850
+ {
1851
+ "kind": "list",
1852
+ "name": "loyalty.list",
1853
+ "before": "LoyaltyScheme[]",
1854
+ "after": "ListResult<LoyaltyScheme>",
1855
+ "paged": true,
1856
+ "optionsRemoved": [],
1857
+ "optionsAdded": [
1858
+ "limit",
1859
+ "cursor"
1860
+ ],
1861
+ "note": "Now paged (50 at a time). includeDeleted is unchanged.",
1862
+ "firstPageOnly": true
1863
+ },
1864
+ {
1865
+ "kind": "list",
1866
+ "name": "loyalty.listEarningRules",
1867
+ "before": "LoyaltyEarningRule[]",
1868
+ "after": "ListResult<LoyaltyEarningRule>",
1869
+ "paged": true,
1870
+ "optionsRemoved": [],
1871
+ "optionsAdded": [
1872
+ "limit",
1873
+ "cursor"
1874
+ ],
1875
+ "note": "Now paged (50 at a time): follow nextCursor to get every rule.",
1876
+ "firstPageOnly": true
1877
+ },
1878
+ {
1879
+ "kind": "list",
1880
+ "name": "loyalty.listMembers",
1881
+ "before": "{ items, limit, offset }",
1882
+ "after": "ListResult<LoyaltyMember>",
1883
+ "paged": true,
1884
+ "optionsRemoved": [
1885
+ "offset"
1886
+ ],
1887
+ "optionsAdded": [
1888
+ "cursor"
1889
+ ],
1890
+ "typesRemoved": [
1891
+ "LoyaltyPaginationParams",
1892
+ "LoyaltyPaginatedResult"
1893
+ ],
1894
+ "note": ""
1895
+ },
1896
+ {
1897
+ "kind": "list",
1898
+ "name": "loyalty.publicGetMe",
1899
+ "before": "LoyaltySchemeWithMembership[]",
1900
+ "after": "ListResult<LoyaltySchemeWithMembership>",
1901
+ "paged": true,
1902
+ "optionsRemoved": [],
1903
+ "optionsAdded": [
1904
+ "limit",
1905
+ "cursor"
1906
+ ],
1907
+ "note": "Now paged (50 at a time): a collection with more than 50 schemes must follow nextCursor.",
1908
+ "firstPageOnly": true
1909
+ },
1910
+ {
1911
+ "kind": "list",
1912
+ "name": "loyalty.publicGetMineHistory",
1913
+ "before": "{ items, limit, offset }",
1914
+ "after": "ListResult<LoyaltyTransaction>",
1915
+ "paged": true,
1916
+ "optionsRemoved": [
1917
+ "offset"
1918
+ ],
1919
+ "optionsAdded": [
1920
+ "cursor"
1921
+ ],
1922
+ "note": ""
1923
+ },
1924
+ {
1925
+ "kind": "list",
1926
+ "name": "loyalty.publicList",
1927
+ "before": "LoyaltyScheme[]",
1928
+ "after": "ListResult<LoyaltyScheme>",
1929
+ "paged": true,
1930
+ "optionsRemoved": [],
1931
+ "optionsAdded": [
1932
+ "limit",
1933
+ "cursor"
1934
+ ],
1935
+ "note": "Now paged (50 at a time).",
1936
+ "firstPageOnly": true
1937
+ },
1938
+ {
1939
+ "kind": "list",
1940
+ "name": "loyalty.publicListEarningRules",
1941
+ "before": "LoyaltyEarningRule[]",
1942
+ "after": "ListResult<LoyaltyEarningRule>",
1943
+ "paged": true,
1944
+ "optionsRemoved": [],
1945
+ "optionsAdded": [
1946
+ "limit",
1947
+ "cursor"
1948
+ ],
1949
+ "note": "Now paged (50 at a time).",
1950
+ "firstPageOnly": true
1951
+ },
1952
+ {
1953
+ "kind": "list",
1954
+ "name": "nfc.lookupTag",
1955
+ "before": "NfcTagInfo[]",
1956
+ "after": "ListResult<NfcTagInfo>",
1957
+ "paged": false,
1958
+ "optionsRemoved": [],
1959
+ "optionsAdded": [],
1960
+ "note": "A look-up by ids is never paged: everything found comes back in the one answer, so the function takes no `limit` or `cursor`."
1961
+ },
1962
+ {
1963
+ "kind": "list",
1964
+ "name": "order.getItems",
1965
+ "before": "{ items, limit, offset }",
1966
+ "after": "ListResult<OrderItem>",
1967
+ "paged": true,
1968
+ "optionsRemoved": [
1969
+ "offset"
1970
+ ],
1971
+ "optionsAdded": [
1972
+ "cursor"
1973
+ ],
1974
+ "typesRemoved": [
1975
+ "GetOrderItemsResponse"
1976
+ ],
1977
+ "note": ""
1978
+ },
1979
+ {
1980
+ "kind": "list",
1981
+ "name": "order.getLocationHistory",
1982
+ "before": "{ orderRef, orderId, locations, count }",
1983
+ "after": "ListResult<LocationScan> & { orderRef: string; orderId: string }",
1984
+ "paged": true,
1985
+ "optionsRemoved": [],
1986
+ "optionsAdded": [
1987
+ "cursor",
1988
+ "limit"
1989
+ ],
1990
+ "typesRemoved": [
1991
+ "LocationResponse"
1992
+ ],
1993
+ "note": "The old `count` was the number of rows returned; it is gone. Now paged: `limit` (default 1000) is the page size. Follow nextCursor for the rest."
1994
+ },
1995
+ {
1996
+ "kind": "list",
1997
+ "name": "order.getTimeline",
1998
+ "before": "{ orderRef, orderId, timeline, count }",
1999
+ "after": "ListResult<TagScanEvent> & { orderRef: string; orderId: string }",
2000
+ "paged": true,
2001
+ "optionsRemoved": [],
2002
+ "optionsAdded": [
2003
+ "cursor",
2004
+ "limit"
2005
+ ],
2006
+ "typesRemoved": [
2007
+ "TimelineResponse"
2008
+ ],
2009
+ "note": "The old `count` was the number of rows returned; it is gone. Now paged: `limit` (default 1000) is the page size. Follow nextCursor for the rest. from, to and isAdmin are unchanged."
2010
+ },
2011
+ {
2012
+ "kind": "list",
2013
+ "name": "order.list",
2014
+ "before": "{ orders, limit, offset }",
2015
+ "after": "ListResult<Order>",
2016
+ "paged": true,
2017
+ "optionsRemoved": [
2018
+ "offset",
2019
+ "includeItems"
2020
+ ],
2021
+ "optionsAdded": [
2022
+ "cursor",
2023
+ "expand"
2024
+ ],
2025
+ "typesRemoved": [
2026
+ "ListOrdersResponse"
2027
+ ],
2028
+ "note": "Now sends `direction` and `partyId`, which SDK 2 accepted and silently dropped. includeItems: true becomes expand: ['items']. (order.get still takes includeItems: it is not a list.) `direction` here is still the sales / purchase filter, not a sort."
2029
+ },
2030
+ {
2031
+ "kind": "list",
2032
+ "name": "order.query",
2033
+ "before": "{ orders, limit, offset }",
2034
+ "after": "ListResult<Order>",
2035
+ "paged": true,
2036
+ "optionsRemoved": [
2037
+ "offset",
2038
+ "query.sortBy",
2039
+ "query.sortOrder",
2040
+ "query.createdAfter",
2041
+ "query.createdBefore",
2042
+ "query.updatedAfter",
2043
+ "query.updatedBefore",
2044
+ "includeItems"
2045
+ ],
2046
+ "optionsAdded": [
2047
+ "cursor",
2048
+ "orderBy",
2049
+ "createdAt",
2050
+ "updatedAt",
2051
+ "expand"
2052
+ ],
2053
+ "typesRemoved": [
2054
+ "QueryOrdersResponse"
2055
+ ],
2056
+ "note": "`limit` and `cursor` go at the top level of the body. Sorting, dates and items moved out of `query` to the top of the body: orderBy: [{ createdAt: 'desc' }] (fields: createdAt, updatedAt, status, orderRef, customerId, itemCount) replaces query.sortBy / query.sortOrder; createdAt: { gte, lte } and updatedAt: { gte, lte } replace query.createdAfter/Before and query.updatedAfter/Before; expand: ['items'] replaces includeItems: true. The other filters stay inside `query`."
2057
+ },
2058
+ {
2059
+ "kind": "list",
2060
+ "name": "partner.claimSets",
2061
+ "before": "PartnerClaimSet[]",
2062
+ "after": "ListResult<PartnerClaimSet>",
2063
+ "paged": true,
2064
+ "optionsRemoved": [],
2065
+ "optionsAdded": [
2066
+ "limit",
2067
+ "cursor"
2068
+ ],
2069
+ "note": "Now paged (50 at a time): follow nextCursor to get every claim set.",
2070
+ "firstPageOnly": true
2071
+ },
2072
+ {
2073
+ "kind": "list",
2074
+ "name": "partner.list",
2075
+ "before": "Partner[]",
2076
+ "after": "ListResult<Partner>",
2077
+ "paged": true,
2078
+ "optionsRemoved": [],
2079
+ "optionsAdded": [
2080
+ "limit",
2081
+ "cursor"
2082
+ ],
2083
+ "note": "",
2084
+ "firstPageOnly": true
2085
+ },
2086
+ {
2087
+ "kind": "list",
2088
+ "name": "partner.lookupTags",
2089
+ "before": "PartnerTagHit[]",
2090
+ "after": "ListResult<PartnerTagHit>",
2091
+ "paged": false,
2092
+ "optionsRemoved": [],
2093
+ "optionsAdded": [],
2094
+ "note": "A look-up by ids is never paged: everything found comes back in the one answer, so the function takes no `limit` or `cursor`."
2095
+ },
2096
+ {
2097
+ "kind": "list",
2098
+ "name": "partner.tagAttempts",
2099
+ "before": "ClientErrorEvent[]",
2100
+ "after": "ListResult<ClientErrorEvent>",
2101
+ "paged": true,
2102
+ "optionsRemoved": [],
2103
+ "optionsAdded": [
2104
+ "limit",
2105
+ "cursor"
2106
+ ],
2107
+ "note": "Still the ten latest reports unless `limit` says otherwise."
2108
+ },
2109
+ {
2110
+ "kind": "list",
2111
+ "name": "products.list",
2112
+ "before": "ProductResponse[]",
2113
+ "after": "ListResult<ProductResponse>",
2114
+ "paged": true,
2115
+ "optionsRemoved": [],
2116
+ "optionsAdded": [
2117
+ "limit",
2118
+ "cursor",
2119
+ "expand"
2120
+ ],
2121
+ "note": "list(collectionId, admin?, options?). No longer every product in one answer: 50 at a time, follow nextCursor (or use all() / each()). To pass options on the public route give `false` (or undefined) for admin: list(c, false, { limit }). New: expand: ['facets'] returns each product's facets as full values (the route's expandFacets, which the SDK never sent before).",
2122
+ "firstPageOnly": true
2123
+ },
2124
+ {
2125
+ "kind": "list",
2126
+ "name": "products.listAssets",
2127
+ "before": "unknown",
2128
+ "after": "ListResult<AssetResponse>",
2129
+ "paged": true,
2130
+ "optionsRemoved": [],
2131
+ "optionsAdded": [
2132
+ "limit",
2133
+ "cursor"
2134
+ ],
2135
+ "note": "listAssets(collectionId, productId, admin?, options?). Now paged (50 at a time): follow nextCursor.",
2136
+ "firstPageOnly": true
2137
+ },
2138
+ {
2139
+ "kind": "list",
2140
+ "name": "products.query",
2141
+ "before": "{ items, page: { limit, offset, returned, total, hasMore, nextCursor }, meta }",
2142
+ "after": "ListResult<ProductResponse> & { meta?: ProductQueryMeta }",
2143
+ "paged": true,
2144
+ "optionsRemoved": [
2145
+ "page.limit",
2146
+ "page.offset",
2147
+ "page.cursor",
2148
+ "query.search",
2149
+ "sort",
2150
+ "query.createdAfter",
2151
+ "query.createdBefore",
2152
+ "query.updatedAfter",
2153
+ "query.updatedBefore"
2154
+ ],
2155
+ "optionsAdded": [
2156
+ "limit",
2157
+ "cursor",
2158
+ "q",
2159
+ "orderBy",
2160
+ "createdAt",
2161
+ "updatedAt",
2162
+ "expand"
2163
+ ],
2164
+ "typesRemoved": [
2165
+ "ProductQueryResponse"
2166
+ ],
2167
+ "note": "The nested `page` option is gone: `limit` and `cursor` go at the top level of the body. `page.total` is `count`. The standard words sit at the top of the body, beside limit and cursor: q (was query.search); orderBy: [{ updatedAt: 'desc' }] (was sort: [{ field, direction }]); createdAt / updatedAt: { gte, lte } (were query.createdAfter/Before, query.updatedAfter/Before); expand: ['facets'] (the route's expandFacets, never in the SDK type). The old names are refused by the API. orderBy fields: id, name, status, category, type, schemaType, sku, gtin, createdAt, updatedAt, sortOrder, groupKey. query.status / productIds / sku / gtin / facetEquals and includeDeleted are unchanged."
2168
+ },
2169
+ {
2170
+ "kind": "list",
2171
+ "name": "proof.findByProduct",
2172
+ "before": "ProofResponse[]",
2173
+ "after": "ListResult<ProofResponse>",
2174
+ "paged": true,
2175
+ "optionsRemoved": [
2176
+ "lastCursor",
2177
+ "page",
2178
+ "perPage",
2179
+ "includes"
2180
+ ],
2181
+ "optionsAdded": [
2182
+ "limit",
2183
+ "cursor",
2184
+ "expand"
2185
+ ],
2186
+ "note": "Not paged: it returns the newest `limit` (default 100), or every proof matching `filterBy`. Page through proofs with `proof.query`. ProofFindQuery now extends ListOptions: `includes: ['assets']` is now `expand: ['assets']`, and `cursor` is new (limit was already there, default 100). The type keeps its open index signature, so a leftover `includes` still compiles but the API refuses it."
2187
+ },
2188
+ {
2189
+ "kind": "list",
2190
+ "name": "proof.getByBatch",
2191
+ "before": "ProofResponse[]",
2192
+ "after": "ListResult<ProofResponse>",
2193
+ "paged": true,
2194
+ "optionsRemoved": [],
2195
+ "optionsAdded": [
2196
+ "limit",
2197
+ "cursor"
2198
+ ],
2199
+ "note": "getByBatch(collectionId, productId, batchId, options?). Now paged (50 at a time): follow nextCursor.",
2200
+ "firstPageOnly": true
2201
+ },
2202
+ {
2203
+ "kind": "list",
2204
+ "name": "proof.getByProduct",
2205
+ "before": "ProofResponse[]",
2206
+ "after": "ListResult<ProofResponse>",
2207
+ "paged": true,
2208
+ "optionsRemoved": [],
2209
+ "optionsAdded": [
2210
+ "limit",
2211
+ "cursor"
2212
+ ],
2213
+ "note": "getByProduct(collectionId, productId, options?). Now paged (50 at a time): follow nextCursor.",
2214
+ "firstPageOnly": true
2215
+ },
2216
+ {
2217
+ "kind": "list",
2218
+ "name": "proof.getByUser",
2219
+ "before": "ProofResponse[]",
2220
+ "after": "ListResult<ProofResponse>",
2221
+ "paged": true,
2222
+ "optionsRemoved": [],
2223
+ "optionsAdded": [
2224
+ "limit",
2225
+ "cursor"
2226
+ ],
2227
+ "note": "getByUser(collectionId, userId, options?). Now paged (50 at a time): follow nextCursor.",
2228
+ "firstPageOnly": true
2229
+ },
2230
+ {
2231
+ "kind": "list",
2232
+ "name": "proof.list",
2233
+ "before": "ProofResponse[]",
2234
+ "after": "ListResult<ProofResponse>",
2235
+ "paged": true,
2236
+ "optionsRemoved": [
2237
+ "include"
2238
+ ],
2239
+ "optionsAdded": [
2240
+ "limit",
2241
+ "cursor",
2242
+ "expand"
2243
+ ],
2244
+ "note": "The second argument changed from a positional `include?: string[]` to an options object: proof.list(c, ['product']) becomes proof.list(c, { expand: ['product'] }). An array passed the old way is a type error; in plain JavaScript it would be ignored silently. `expand` takes only 'product' (the one name the table gives). Now paged (50 at a time): follow nextCursor.",
2245
+ "firstPageOnly": true
2246
+ },
2247
+ {
2248
+ "kind": "list",
2249
+ "name": "proof.listGrants",
2250
+ "before": "ProofGrant[]",
2251
+ "after": "ListResult<ProofGrant>",
2252
+ "paged": true,
2253
+ "optionsRemoved": [],
2254
+ "optionsAdded": [
2255
+ "limit",
2256
+ "cursor"
2257
+ ],
2258
+ "note": "listGrants(collectionId, productId, proofId, options?). Now paged (50 at a time): follow nextCursor.",
2259
+ "firstPageOnly": true
2260
+ },
2261
+ {
2262
+ "kind": "list",
2263
+ "name": "secrets.list",
2264
+ "before": "SecretList { secrets }",
2265
+ "after": "ListResult<SecretMeta>",
2266
+ "paged": false,
2267
+ "optionsRemoved": [],
2268
+ "optionsAdded": [],
2269
+ "note": "`secrets` is `items`. A fixed set: always returned whole, with no `limit` or `cursor`."
2270
+ },
2271
+ {
2272
+ "kind": "list",
2273
+ "name": "secrets.listOwn",
2274
+ "before": "SecretList { secrets }",
2275
+ "after": "ListResult<SecretMeta>",
2276
+ "paged": false,
2277
+ "optionsRemoved": [],
2278
+ "optionsAdded": [],
2279
+ "note": "`secrets` is `items`. A fixed set: always returned whole, with no `limit` or `cursor`."
2280
+ },
2281
+ {
2282
+ "kind": "list",
2283
+ "name": "segments.list",
2284
+ "before": "{ items, limit, offset }",
2285
+ "after": "ListResult<SegmentRecord>",
2286
+ "paged": true,
2287
+ "optionsRemoved": [
2288
+ "offset"
2289
+ ],
2290
+ "optionsAdded": [
2291
+ "cursor"
2292
+ ],
2293
+ "typesRemoved": [
2294
+ "SegmentList"
2295
+ ],
2296
+ "note": ""
2297
+ },
2298
+ {
2299
+ "kind": "list",
2300
+ "name": "segments.recipients",
2301
+ "before": "{ items, limit, offset, total, note? }",
2302
+ "after": "ListResult<Recipient> & { note?: string }",
2303
+ "paged": true,
2304
+ "optionsRemoved": [
2305
+ "offset"
2306
+ ],
2307
+ "optionsAdded": [
2308
+ "cursor"
2309
+ ],
2310
+ "note": "`total` is `count`."
2311
+ },
2312
+ {
2313
+ "kind": "list",
2314
+ "name": "serviceAccounts.list",
2315
+ "before": "{ serviceAccounts, access }",
2316
+ "after": "ListResult<ServiceAccount> & { access: ServiceAccountAccess[] }",
2317
+ "paged": true,
2318
+ "optionsRemoved": [],
2319
+ "optionsAdded": [
2320
+ "limit",
2321
+ "cursor"
2322
+ ],
2323
+ "note": "`serviceAccounts` is `items`; `access` stays beside it. Now paged (50 at a time): follow nextCursor to get every service account. `access` still comes beside `items` on each page.",
2324
+ "firstPageOnly": true
2325
+ },
2326
+ {
2327
+ "kind": "list",
2328
+ "name": "shop.admin.listOrders",
2329
+ "before": "{ items, total, limit, offset }",
2330
+ "after": "ListResult<ShopAdminOrder>",
2331
+ "paged": true,
2332
+ "optionsRemoved": [
2333
+ "offset"
2334
+ ],
2335
+ "optionsAdded": [
2336
+ "cursor"
2337
+ ],
2338
+ "note": "`total` is `count`."
2339
+ },
2340
+ {
2341
+ "kind": "list",
2342
+ "name": "shop.admin.listPrices",
2343
+ "before": "{ items, total, limit, offset }",
2344
+ "after": "ListResult<ShopPrice>",
2345
+ "paged": true,
2346
+ "optionsRemoved": [
2347
+ "offset"
2348
+ ],
2349
+ "optionsAdded": [
2350
+ "cursor"
2351
+ ],
2352
+ "note": "`total` is `count`."
2353
+ },
2354
+ {
2355
+ "kind": "list",
2356
+ "name": "shop.myOrders",
2357
+ "before": "{ items, total, limit, offset }",
2358
+ "after": "ListResult<ShopBuyerOrder>",
2359
+ "paged": true,
2360
+ "optionsRemoved": [
2361
+ "offset"
2362
+ ],
2363
+ "optionsAdded": [
2364
+ "cursor"
2365
+ ],
2366
+ "note": "`total` is `count`."
2367
+ },
2368
+ {
2369
+ "kind": "list",
2370
+ "name": "shop.products",
2371
+ "before": "{ currency, items }",
2372
+ "after": "ListResult<ShopProduct> & { currency: string }",
2373
+ "paged": true,
2374
+ "optionsRemoved": [],
2375
+ "optionsAdded": [
2376
+ "limit",
2377
+ "cursor"
2378
+ ],
2379
+ "note": "Only `nextCursor` (always null) is new. Now paged (50 at a time): a shop front with more than 50 things for sale must follow nextCursor. productIds is unchanged (still sent as one comma list).",
2380
+ "firstPageOnly": true
2381
+ },
2382
+ {
2383
+ "kind": "list",
2384
+ "name": "subscriptions.admin.list",
2385
+ "before": "{ items, total, limit, offset }",
2386
+ "after": "ListResult<Membership>",
2387
+ "paged": true,
2388
+ "optionsRemoved": [
2389
+ "offset"
2390
+ ],
2391
+ "optionsAdded": [
2392
+ "cursor"
2393
+ ],
2394
+ "note": "`total` is `count`."
2395
+ },
2396
+ {
2397
+ "kind": "list",
2398
+ "name": "subscriptions.admin.listPlans",
2399
+ "before": "{ items, total, limit, offset }",
2400
+ "after": "ListResult<PlanWithPrices>",
2401
+ "paged": true,
2402
+ "optionsRemoved": [
2403
+ "offset"
2404
+ ],
2405
+ "optionsAdded": [
2406
+ "cursor"
2407
+ ],
2408
+ "note": ""
2409
+ },
2410
+ {
2411
+ "kind": "list",
2412
+ "name": "subscriptions.mine",
2413
+ "before": "MySubscription[]",
2414
+ "after": "ListResult<MySubscription>",
2415
+ "paged": true,
2416
+ "optionsRemoved": [],
2417
+ "optionsAdded": [
2418
+ "limit",
2419
+ "cursor"
2420
+ ],
2421
+ "note": "Now paged (50 at a time).",
2422
+ "firstPageOnly": true
2423
+ },
2424
+ {
2425
+ "kind": "list",
2426
+ "name": "subscriptions.plans",
2427
+ "before": "PublicPlan[]",
2428
+ "after": "ListResult<PublicPlan>",
2429
+ "paged": true,
2430
+ "optionsRemoved": [],
2431
+ "optionsAdded": [
2432
+ "limit",
2433
+ "cursor"
2434
+ ],
2435
+ "note": "Now paged (50 at a time).",
2436
+ "firstPageOnly": true
2437
+ },
2438
+ {
2439
+ "kind": "list",
2440
+ "name": "tags.byRef",
2441
+ "before": "{ tags }",
2442
+ "after": "ListResult<Tag>",
2443
+ "paged": true,
2444
+ "optionsRemoved": [],
2445
+ "optionsAdded": [
2446
+ "limit",
2447
+ "cursor"
2448
+ ],
2449
+ "typesRemoved": [
2450
+ "ReverseTagLookupResponse"
2451
+ ],
2452
+ "note": "ReverseTagLookupParams now extends ListOptions. Now paged (50 at a time): follow nextCursor.",
2453
+ "firstPageOnly": true
2454
+ },
2455
+ {
2456
+ "kind": "list",
2457
+ "name": "tags.list",
2458
+ "before": "{ tags, limit, offset }",
2459
+ "after": "ListResult<Tag>",
2460
+ "paged": true,
2461
+ "optionsRemoved": [
2462
+ "offset"
2463
+ ],
2464
+ "optionsAdded": [
2465
+ "cursor"
2466
+ ],
2467
+ "typesRemoved": [
2468
+ "ListTagsResponse"
2469
+ ],
2470
+ "note": ""
2471
+ },
2472
+ {
2473
+ "kind": "list",
2474
+ "name": "tags.lookupTags",
2475
+ "before": "{ count, tags, embedded }",
2476
+ "after": "ListResult<Tag> & { count: number; embedded: TagEmbedded }",
2477
+ "paged": false,
2478
+ "optionsRemoved": [],
2479
+ "optionsAdded": [],
2480
+ "note": "A look-up by ids is never paged: everything found comes back in the one answer, so the function takes no `limit` or `cursor`."
2481
+ },
2482
+ {
2483
+ "kind": "list",
2484
+ "name": "tags.lookupTagsQuery",
2485
+ "before": "{ count, tags, embedded }",
2486
+ "after": "ListResult<Tag> & { count: number; embedded: TagEmbedded }",
2487
+ "paged": false,
2488
+ "optionsRemoved": [],
2489
+ "optionsAdded": [],
2490
+ "note": "A look-up by ids is never paged: everything found comes back in the one answer, so the function takes no `limit` or `cursor`."
2491
+ },
2492
+ {
2493
+ "kind": "list",
2494
+ "name": "tags.publicByRef",
2495
+ "before": "{ tags, embedded }",
2496
+ "after": "ListResult<Tag> & { embedded: TagEmbedded }",
2497
+ "paged": true,
2498
+ "optionsRemoved": [],
2499
+ "optionsAdded": [
2500
+ "limit",
2501
+ "cursor"
2502
+ ],
2503
+ "note": "ReverseTagLookupParams now extends ListOptions. Now paged (50 at a time): follow nextCursor.",
2504
+ "firstPageOnly": true
2505
+ },
2506
+ {
2507
+ "kind": "list",
2508
+ "name": "tags.publicByRefPost",
2509
+ "before": "{ tags, embedded }",
2510
+ "after": "ListResult<Tag> & { embedded: TagEmbedded }",
2511
+ "paged": true,
2512
+ "optionsRemoved": [],
2513
+ "optionsAdded": [
2514
+ "limit",
2515
+ "cursor"
2516
+ ],
2517
+ "note": "ByRefRequest now extends ListOptions (limit and cursor go at the top of the body). Now paged (50 at a time): follow nextCursor.",
2518
+ "firstPageOnly": true
2519
+ },
2520
+ {
2521
+ "kind": "list",
2522
+ "name": "template.getAll",
2523
+ "before": "Template[]",
2524
+ "after": "ListResult<Template>",
2525
+ "paged": true,
2526
+ "optionsRemoved": [],
2527
+ "optionsAdded": [
2528
+ "limit",
2529
+ "cursor"
2530
+ ],
2531
+ "note": "Now paged: 50 templates unless you give `limit` (at most 1000). A collection with more than 50 templates needs `nextCursor` followed to get them all.",
2532
+ "firstPageOnly": true
2533
+ },
2534
+ {
2535
+ "kind": "list",
2536
+ "name": "template.getAllowed",
2537
+ "before": "TemplatePublic[]",
2538
+ "after": "ListResult<TemplatePublic>",
2539
+ "paged": true,
2540
+ "optionsRemoved": [],
2541
+ "optionsAdded": [
2542
+ "limit",
2543
+ "cursor"
2544
+ ],
2545
+ "note": "Now paged: 50 templates unless you give `limit` (at most 1000).",
2546
+ "firstPageOnly": true
2547
+ },
2548
+ {
2549
+ "kind": "list",
2550
+ "name": "template.getAllowedGlobal",
2551
+ "before": "TemplatePublic[]",
2552
+ "after": "ListResult<TemplatePublic>",
2553
+ "paged": true,
2554
+ "optionsRemoved": [],
2555
+ "optionsAdded": [
2556
+ "limit",
2557
+ "cursor"
2558
+ ],
2559
+ "note": "Now paged: 50 templates unless you give `limit` (at most 1000).",
2560
+ "firstPageOnly": true
2561
+ },
2562
+ {
2563
+ "kind": "list",
2564
+ "name": "translations.list",
2565
+ "before": "{ items, total?, limit?, offset? }",
2566
+ "after": "ListResult<TranslationRecord>",
2567
+ "paged": true,
2568
+ "optionsRemoved": [
2569
+ "offset"
2570
+ ],
2571
+ "optionsAdded": [
2572
+ "cursor"
2573
+ ],
2574
+ "typesRemoved": [
2575
+ "TranslationListResponse"
2576
+ ],
2577
+ "note": "`total` is `count`."
2578
+ },
2579
+ {
2580
+ "kind": "list",
2581
+ "name": "userAppData.list",
2582
+ "before": "any[]",
2583
+ "after": "ListResult<any>",
2584
+ "paged": true,
2585
+ "optionsRemoved": [],
2586
+ "optionsAdded": [
2587
+ "limit",
2588
+ "cursor"
2589
+ ],
2590
+ "note": "Now paged (50 at a time): an app that keeps more than 50 items per user must follow nextCursor.",
2591
+ "firstPageOnly": true
2592
+ },
2593
+ {
2594
+ "kind": "list",
2595
+ "name": "userGroups.history",
2596
+ "before": "UserGroupChange[]",
2597
+ "after": "ListResult<UserGroupChange>",
2598
+ "paged": true,
2599
+ "optionsRemoved": [],
2600
+ "optionsAdded": [
2601
+ "cursor",
2602
+ "limit"
2603
+ ],
2604
+ "note": "Now paged: `limit` (default 100, at most 1000) is the page size. Follow nextCursor for the rest. Applies with and without userGroupId."
2605
+ },
2606
+ {
2607
+ "kind": "list",
2608
+ "name": "userGroups.list",
2609
+ "before": "UserGroup[]",
2610
+ "after": "ListResult<UserGroup>",
2611
+ "paged": true,
2612
+ "optionsRemoved": [],
2613
+ "optionsAdded": [
2614
+ "limit",
2615
+ "cursor"
2616
+ ],
2617
+ "note": "Now paged (50 at a time).",
2618
+ "firstPageOnly": true
2619
+ },
2620
+ {
2621
+ "kind": "list",
2622
+ "name": "userGroups.members",
2623
+ "before": "UserGroupMember[]",
2624
+ "after": "ListResult<UserGroupMember>",
2625
+ "paged": true,
2626
+ "optionsRemoved": [],
2627
+ "optionsAdded": [
2628
+ "limit",
2629
+ "cursor"
2630
+ ],
2631
+ "note": "Now paged (50 at a time): a group with more than 50 people must follow nextCursor.",
2632
+ "firstPageOnly": true
2633
+ },
2634
+ {
2635
+ "kind": "list",
2636
+ "name": "userGroups.ofUser",
2637
+ "before": "UserGroupRef[]",
2638
+ "after": "ListResult<UserGroupRef>",
2639
+ "paged": true,
2640
+ "optionsRemoved": [],
2641
+ "optionsAdded": [
2642
+ "limit",
2643
+ "cursor"
2644
+ ],
2645
+ "note": "Now paged (50 at a time).",
2646
+ "firstPageOnly": true
2647
+ },
2648
+ {
2649
+ "kind": "list",
2650
+ "name": "variant.list",
2651
+ "before": "VariantResponse[]",
2652
+ "after": "ListResult<VariantResponse>",
2653
+ "paged": true,
2654
+ "optionsRemoved": [],
2655
+ "optionsAdded": [
2656
+ "limit",
2657
+ "cursor"
2658
+ ],
2659
+ "note": "Now paged: 50 variants unless you give `limit` (at most 1000). A product with more than 50 variants needs `nextCursor` followed to get them all.",
2660
+ "firstPageOnly": true
2661
+ },
2662
+ {
2663
+ "kind": "list",
2664
+ "name": "wallet.list",
2665
+ "before": "{ ok: true, passes }",
2666
+ "after": "ListResult<WalletPass>",
2667
+ "paged": true,
2668
+ "optionsRemoved": [],
2669
+ "optionsAdded": [
2670
+ "limit",
2671
+ "cursor"
2672
+ ],
2673
+ "note": "`passes` is `items`; `ok` is gone. Now paged (50 at a time): an event with more than 50 passes must follow nextCursor. refType, refId, contactId and includeVoided are unchanged.",
2674
+ "firstPageOnly": true
2675
+ },
2676
+ {
2677
+ "kind": "list",
2678
+ "name": "wallet.mine",
2679
+ "before": "{ ok: true, passes }",
2680
+ "after": "ListResult<WalletPassSummary>",
2681
+ "paged": true,
2682
+ "optionsRemoved": [],
2683
+ "optionsAdded": [
2684
+ "limit",
2685
+ "cursor"
2686
+ ],
2687
+ "note": "`passes` is `items`; `ok` is gone. Now paged (50 at a time).",
2688
+ "firstPageOnly": true
2689
+ },
2690
+ {
2691
+ "kind": "behaviour",
2692
+ "name": "error codes",
2693
+ "note": "Every error code is UPPER_SNAKE (`segments.list.failed` is now `SEGMENTS_LIST_FAILED`). Find string comparisons against `errorCode`, `details.errorCode` and `details.error`. Check `error.errorCode`; never match on message text."
2694
+ },
2695
+ {
2696
+ "kind": "behaviour",
2697
+ "name": "error statuses",
2698
+ "note": "\"Not signed in\" sent as 400 by some routes is now 401. \"Signed in but not allowed\" sent as 401 by some routes is now 403. `isAuthError()` covers both."
2699
+ },
2700
+ {
2701
+ "kind": "behaviour",
2702
+ "name": "initializeApi({ apiVersion })",
2703
+ "note": "A version older than 2027-01 is ignored: SDK 3 always asks for at least its own version."
2704
+ },
2705
+ {
2706
+ "kind": "behaviour",
2707
+ "name": "paging by offset",
2708
+ "note": "There is no offset or page number. Page forward with `cursor`; cache keys built on offset or page must use the cursor. For a numbered pager use the standard query."
2709
+ },
2710
+ {
2711
+ "kind": "behaviour",
2712
+ "name": "shared dependencies",
2713
+ "note": "Built on SDK 3, a component declares shared-dependency contract v8 and gets SDK 3 from the host: as the import, as the `SL` prop and as the window global `SL3` (`SL` stays SDK 2). Keep building both formats: the host loads the UMD build of an app on SDK 3."
2714
+ },
2715
+ {
2716
+ "kind": "behaviour",
2717
+ "name": "unknown list options",
2718
+ "note": "A list refuses a query option it does not read (400 UNKNOWN_PARAMETER) instead of ignoring it. Watch for one options object shared by an admin call and a public call (includeDeleted, contactId, assignedTo; status, includeScheduled and includeExpired on public app records)."
2719
+ },
2720
+ {
2721
+ "kind": "behaviour",
2722
+ "name": "every list is one page",
2723
+ "note": "A list returns 50 items unless you ask for another `limit`, and `nextCursor` says whether there are more. In SDK 2 many lists (products, variants, batches, proofs of a product, forms, templates, lots, claim sets, group members, an app's config items…) returned everything in one answer. Where the app needs them all, use `all((cursor) => x.list(…, { limit: 200, cursor }))` or follow `nextCursor`; where it shows a page, pass `limit` and `cursor`. The report marks each such call \"used to return everything\". The exception is a small fixed set (a page's widgets, facet definitions, config fields, a look-up by ids): always whole, no `limit` or `cursor`."
2724
+ },
2725
+ {
2726
+ "kind": "behaviour",
2727
+ "name": "one word for search, sort, dates and related data",
2728
+ "note": "Search text is `q` (was `search`, `query`, `query.search`). Sorting is `orderBy: [{ field: 'asc' | 'desc' }]` (was `sort`, `order`, `sortBy` + `sortOrder`). A date field takes a range, `createdAt: { gte, lte }` (was `createdFrom`/`createdTo`, `recordedAfter`/`recordedBefore`, `query.createdAfter`/`Before`, or a `'gte:…'` string). Related things are `expand: ['items']` (was `includeItems`, `expandFacets`, `includes`, `include`). The time window of a log or schedule stays `from` / `to`. The API refuses the old spellings with the word to use, and refuses a sort field or related thing the list does not have. A bare sort field used to mean descending on app records, cases, threads and bookings: say the direction."
2729
+ }
2730
+ ]
2731
+ }