@runtypelabs/sdk 10.5.2 → 10.5.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.
package/dist/index.cjs CHANGED
@@ -13457,7 +13457,7 @@ function transformQueryParams(params) {
13457
13457
  }
13458
13458
  //#endregion
13459
13459
  //#region src/version.ts
13460
- const SDK_VERSION = "10.5.2";
13460
+ const SDK_VERSION = "10.5.3";
13461
13461
  /**
13462
13462
  * Canonical client identity the API uses for attribution
13463
13463
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
@@ -15388,6 +15388,10 @@ const STEP_FIELD_REGISTRY = {
15388
15388
  key: "maxRetries",
15389
15389
  format: "raw"
15390
15390
  },
15391
+ {
15392
+ key: "retryPost",
15393
+ format: "raw"
15394
+ },
15391
15395
  {
15392
15396
  key: "outputVariable",
15393
15397
  format: "json"
package/dist/index.d.cts CHANGED
@@ -11835,6 +11835,15 @@ interface paths {
11835
11835
  "application/json": components["schemas"]["Error"];
11836
11836
  };
11837
11837
  };
11838
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
11839
+ 503: {
11840
+ headers: {
11841
+ [name: string]: unknown;
11842
+ };
11843
+ content: {
11844
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
11845
+ };
11846
+ };
11838
11847
  };
11839
11848
  };
11840
11849
  delete?: never;
@@ -12072,6 +12081,15 @@ interface paths {
12072
12081
  "application/json": components["schemas"]["Error"];
12073
12082
  };
12074
12083
  };
12084
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
12085
+ 503: {
12086
+ headers: {
12087
+ [name: string]: unknown;
12088
+ };
12089
+ content: {
12090
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
12091
+ };
12092
+ };
12075
12093
  };
12076
12094
  };
12077
12095
  post?: never;
@@ -40343,6 +40361,15 @@ interface paths {
40343
40361
  "application/json": components["schemas"]["Error"];
40344
40362
  };
40345
40363
  };
40364
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
40365
+ 503: {
40366
+ headers: {
40367
+ [name: string]: unknown;
40368
+ };
40369
+ content: {
40370
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
40371
+ };
40372
+ };
40346
40373
  };
40347
40374
  };
40348
40375
  delete?: never;
@@ -40573,6 +40600,15 @@ interface paths {
40573
40600
  "application/json": components["schemas"]["Error"];
40574
40601
  };
40575
40602
  };
40603
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
40604
+ 503: {
40605
+ headers: {
40606
+ [name: string]: unknown;
40607
+ };
40608
+ content: {
40609
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
40610
+ };
40611
+ };
40576
40612
  };
40577
40613
  };
40578
40614
  delete?: never;
@@ -41297,6 +41333,15 @@ interface paths {
41297
41333
  "application/json": components["schemas"]["Error"];
41298
41334
  };
41299
41335
  };
41336
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
41337
+ 503: {
41338
+ headers: {
41339
+ [name: string]: unknown;
41340
+ };
41341
+ content: {
41342
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
41343
+ };
41344
+ };
41300
41345
  };
41301
41346
  };
41302
41347
  post?: never;
@@ -51195,6 +51240,16 @@ interface components {
51195
51240
  /** @enum {string} */
51196
51241
  status: "pending" | "applied" | "settled" | "not_applied";
51197
51242
  };
51243
+ CollectionLookupFailedError: {
51244
+ /** @enum {string} */
51245
+ code: "COLLECTION_LOOKUP_FAILED";
51246
+ /** @description The record type whose collection schema could not be loaded. */
51247
+ collection: string;
51248
+ /** @description Human-readable refusal; retry the request. */
51249
+ error: string;
51250
+ recordId?: string;
51251
+ recordName?: string;
51252
+ };
51198
51253
  ContextBlocks: {
51199
51254
  blocks: {
51200
51255
  /** @description The block text, scrubbed of secrets. */
package/dist/index.d.ts CHANGED
@@ -11835,6 +11835,15 @@ interface paths {
11835
11835
  "application/json": components["schemas"]["Error"];
11836
11836
  };
11837
11837
  };
11838
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
11839
+ 503: {
11840
+ headers: {
11841
+ [name: string]: unknown;
11842
+ };
11843
+ content: {
11844
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
11845
+ };
11846
+ };
11838
11847
  };
11839
11848
  };
11840
11849
  delete?: never;
@@ -12072,6 +12081,15 @@ interface paths {
12072
12081
  "application/json": components["schemas"]["Error"];
12073
12082
  };
12074
12083
  };
12084
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
12085
+ 503: {
12086
+ headers: {
12087
+ [name: string]: unknown;
12088
+ };
12089
+ content: {
12090
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
12091
+ };
12092
+ };
12075
12093
  };
12076
12094
  };
12077
12095
  post?: never;
@@ -40343,6 +40361,15 @@ interface paths {
40343
40361
  "application/json": components["schemas"]["Error"];
40344
40362
  };
40345
40363
  };
40364
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
40365
+ 503: {
40366
+ headers: {
40367
+ [name: string]: unknown;
40368
+ };
40369
+ content: {
40370
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
40371
+ };
40372
+ };
40346
40373
  };
40347
40374
  };
40348
40375
  delete?: never;
@@ -40573,6 +40600,15 @@ interface paths {
40573
40600
  "application/json": components["schemas"]["Error"];
40574
40601
  };
40575
40602
  };
40603
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
40604
+ 503: {
40605
+ headers: {
40606
+ [name: string]: unknown;
40607
+ };
40608
+ content: {
40609
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
40610
+ };
40611
+ };
40576
40612
  };
40577
40613
  };
40578
40614
  delete?: never;
@@ -41297,6 +41333,15 @@ interface paths {
41297
41333
  "application/json": components["schemas"]["Error"];
41298
41334
  };
41299
41335
  };
41336
+ /** @description The type's collection schema could not be loaded, so the write was refused rather than left unvalidated; retry */
41337
+ 503: {
41338
+ headers: {
41339
+ [name: string]: unknown;
41340
+ };
41341
+ content: {
41342
+ "application/json": components["schemas"]["CollectionLookupFailedError"];
41343
+ };
41344
+ };
41300
41345
  };
41301
41346
  };
41302
41347
  post?: never;
@@ -51195,6 +51240,16 @@ interface components {
51195
51240
  /** @enum {string} */
51196
51241
  status: "pending" | "applied" | "settled" | "not_applied";
51197
51242
  };
51243
+ CollectionLookupFailedError: {
51244
+ /** @enum {string} */
51245
+ code: "COLLECTION_LOOKUP_FAILED";
51246
+ /** @description The record type whose collection schema could not be loaded. */
51247
+ collection: string;
51248
+ /** @description Human-readable refusal; retry the request. */
51249
+ error: string;
51250
+ recordId?: string;
51251
+ recordName?: string;
51252
+ };
51198
51253
  ContextBlocks: {
51199
51254
  blocks: {
51200
51255
  /** @description The block text, scrubbed of secrets. */
package/dist/index.mjs CHANGED
@@ -13456,7 +13456,7 @@ function transformQueryParams(params) {
13456
13456
  }
13457
13457
  //#endregion
13458
13458
  //#region src/version.ts
13459
- const SDK_VERSION = "10.5.2";
13459
+ const SDK_VERSION = "10.5.3";
13460
13460
  /**
13461
13461
  * Canonical client identity the API uses for attribution
13462
13462
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
@@ -15387,6 +15387,10 @@ const STEP_FIELD_REGISTRY = {
15387
15387
  key: "maxRetries",
15388
15388
  format: "raw"
15389
15389
  },
15390
+ {
15391
+ key: "retryPost",
15392
+ format: "raw"
15393
+ },
15390
15394
  {
15391
15395
  key: "outputVariable",
15392
15396
  format: "json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "10.5.2",
3
+ "version": "10.5.3",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@runtypelabs/shared": "3.65.0",
27
+ "@runtypelabs/shared": "3.66.0",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.0",
30
30
  "typescript": "^6.0.3",