@runtypelabs/sdk 9.2.0 → 9.2.1

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
@@ -6519,7 +6519,7 @@ var Runtype = class {
6519
6519
 
6520
6520
  // src/version.ts
6521
6521
  var FALLBACK_VERSION = "0.0.0";
6522
- var SDK_VERSION = "9.2.0".length > 0 ? "9.2.0" : FALLBACK_VERSION;
6522
+ var SDK_VERSION = "9.2.1".length > 0 ? "9.2.1" : FALLBACK_VERSION;
6523
6523
  var RUNTYPE_CLIENT_KIND = "sdk";
6524
6524
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6525
6525
 
package/dist/index.d.cts CHANGED
@@ -25170,6 +25170,10 @@ interface paths {
25170
25170
  createdByUserId?: string | null;
25171
25171
  creator?: string;
25172
25172
  creatorDisplayName?: string | null;
25173
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25174
+ creditPromoLabel?: string | null;
25175
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25176
+ creditPromoMultiplier?: number;
25173
25177
  displayName?: string;
25174
25178
  id: string;
25175
25179
  inputCostPer1kTokens?: number;
@@ -25312,6 +25316,10 @@ interface paths {
25312
25316
  createdByUserId?: string | null;
25313
25317
  creator?: string;
25314
25318
  creatorDisplayName?: string | null;
25319
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25320
+ creditPromoLabel?: string | null;
25321
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25322
+ creditPromoMultiplier?: number;
25315
25323
  displayName?: string;
25316
25324
  id: string;
25317
25325
  inputCostPer1kTokens?: number;
@@ -25461,6 +25469,10 @@ interface paths {
25461
25469
  data: {
25462
25470
  contextLength?: number;
25463
25471
  costPer1kTokens: number;
25472
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted. */
25473
+ creditPromoLabel?: string | null;
25474
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25475
+ creditPromoMultiplier?: number;
25464
25476
  displayName: string;
25465
25477
  id: null;
25466
25478
  isConfigured: boolean;
@@ -25559,12 +25571,20 @@ interface paths {
25559
25571
  contextLength: number;
25560
25572
  creator: string;
25561
25573
  creatorDisplayName: string;
25574
+ /** @description Plain-language discount callout for the family, e.g. "90% off". null when undiscounted. */
25575
+ creditPromoLabel?: string | null;
25576
+ /** @description Factor platform-key spend on this model family is billed at while a credit promo is active (0.1 = 90% off). Follows the routed primary provider (a same-model failover onto another provider bills at that provider nominal price, undiscounted); 1 when undiscounted. */
25577
+ creditPromoMultiplier?: number;
25562
25578
  displayName: string;
25563
25579
  isConfigured: boolean;
25564
25580
  lowestCost: number;
25565
25581
  maxOutputTokens: number;
25566
25582
  providers: {
25567
25583
  costPer1kTokens: number;
25584
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted. */
25585
+ creditPromoLabel?: string | null;
25586
+ /** @description Factor platform-key spend on this listing is billed at (0.1 = 90% off); 1 when undiscounted. */
25587
+ creditPromoMultiplier?: number;
25568
25588
  hasPlatformKey: boolean;
25569
25589
  inputCostPer1kTokens: number;
25570
25590
  /** @enum {string} */
@@ -25656,6 +25676,10 @@ interface paths {
25656
25676
  content: {
25657
25677
  "application/json": {
25658
25678
  data: {
25679
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted (always null for the Exa entry). */
25680
+ creditPromoLabel?: string | null;
25681
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25682
+ creditPromoMultiplier?: number;
25659
25683
  displayLabel: string;
25660
25684
  id: string;
25661
25685
  /** @enum {string} */
@@ -25724,6 +25748,10 @@ interface paths {
25724
25748
  content: {
25725
25749
  "application/json": {
25726
25750
  data: {
25751
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted (always null for the Exa entry). */
25752
+ creditPromoLabel?: string | null;
25753
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25754
+ creditPromoMultiplier?: number;
25727
25755
  displayLabel: string;
25728
25756
  id: string;
25729
25757
  /** @enum {string} */
@@ -25918,6 +25946,10 @@ interface paths {
25918
25946
  createdByUserId?: string | null;
25919
25947
  creator?: string;
25920
25948
  creatorDisplayName?: string | null;
25949
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25950
+ creditPromoLabel?: string | null;
25951
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25952
+ creditPromoMultiplier?: number;
25921
25953
  displayName?: string;
25922
25954
  id: string;
25923
25955
  inputCostPer1kTokens?: number;
@@ -26174,6 +26206,10 @@ interface paths {
26174
26206
  createdByUserId?: string | null;
26175
26207
  creator?: string;
26176
26208
  creatorDisplayName?: string | null;
26209
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
26210
+ creditPromoLabel?: string | null;
26211
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
26212
+ creditPromoMultiplier?: number;
26177
26213
  displayName?: string;
26178
26214
  id: string;
26179
26215
  inputCostPer1kTokens?: number;
@@ -44060,6 +44096,7 @@ interface paths {
44060
44096
  enableSelfServeOauthClients: boolean;
44061
44097
  enableVoice: boolean;
44062
44098
  enableWorkspaceModel: boolean;
44099
+ modelCreditPromoMultiplier?: number;
44063
44100
  workspaceModelEligible: boolean;
44064
44101
  workspaceModelReady: boolean;
44065
44102
  };
@@ -48160,6 +48197,13 @@ interface ModelConfig {
48160
48197
  /** @deprecated Use keyStatus instead */
48161
48198
  supportsCustomKey: boolean;
48162
48199
  keyStatus?: 'platform' | 'custom' | 'needs_setup';
48200
+ /**
48201
+ * Factor platform-key spend on this model is billed at while a credit promo
48202
+ * is active (`0.1` = 90% off); `1` or absent when undiscounted.
48203
+ */
48204
+ creditPromoMultiplier?: number;
48205
+ /** Plain-language discount callout, e.g. `"90% off"`; `null`/absent when undiscounted. */
48206
+ creditPromoLabel?: string | null;
48163
48207
  costPer1kTokens?: number;
48164
48208
  contextLength?: number;
48165
48209
  maxOutputTokens?: number;
package/dist/index.d.ts CHANGED
@@ -25170,6 +25170,10 @@ interface paths {
25170
25170
  createdByUserId?: string | null;
25171
25171
  creator?: string;
25172
25172
  creatorDisplayName?: string | null;
25173
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25174
+ creditPromoLabel?: string | null;
25175
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25176
+ creditPromoMultiplier?: number;
25173
25177
  displayName?: string;
25174
25178
  id: string;
25175
25179
  inputCostPer1kTokens?: number;
@@ -25312,6 +25316,10 @@ interface paths {
25312
25316
  createdByUserId?: string | null;
25313
25317
  creator?: string;
25314
25318
  creatorDisplayName?: string | null;
25319
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25320
+ creditPromoLabel?: string | null;
25321
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25322
+ creditPromoMultiplier?: number;
25315
25323
  displayName?: string;
25316
25324
  id: string;
25317
25325
  inputCostPer1kTokens?: number;
@@ -25461,6 +25469,10 @@ interface paths {
25461
25469
  data: {
25462
25470
  contextLength?: number;
25463
25471
  costPer1kTokens: number;
25472
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted. */
25473
+ creditPromoLabel?: string | null;
25474
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25475
+ creditPromoMultiplier?: number;
25464
25476
  displayName: string;
25465
25477
  id: null;
25466
25478
  isConfigured: boolean;
@@ -25559,12 +25571,20 @@ interface paths {
25559
25571
  contextLength: number;
25560
25572
  creator: string;
25561
25573
  creatorDisplayName: string;
25574
+ /** @description Plain-language discount callout for the family, e.g. "90% off". null when undiscounted. */
25575
+ creditPromoLabel?: string | null;
25576
+ /** @description Factor platform-key spend on this model family is billed at while a credit promo is active (0.1 = 90% off). Follows the routed primary provider (a same-model failover onto another provider bills at that provider nominal price, undiscounted); 1 when undiscounted. */
25577
+ creditPromoMultiplier?: number;
25562
25578
  displayName: string;
25563
25579
  isConfigured: boolean;
25564
25580
  lowestCost: number;
25565
25581
  maxOutputTokens: number;
25566
25582
  providers: {
25567
25583
  costPer1kTokens: number;
25584
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted. */
25585
+ creditPromoLabel?: string | null;
25586
+ /** @description Factor platform-key spend on this listing is billed at (0.1 = 90% off); 1 when undiscounted. */
25587
+ creditPromoMultiplier?: number;
25568
25588
  hasPlatformKey: boolean;
25569
25589
  inputCostPer1kTokens: number;
25570
25590
  /** @enum {string} */
@@ -25656,6 +25676,10 @@ interface paths {
25656
25676
  content: {
25657
25677
  "application/json": {
25658
25678
  data: {
25679
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted (always null for the Exa entry). */
25680
+ creditPromoLabel?: string | null;
25681
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25682
+ creditPromoMultiplier?: number;
25659
25683
  displayLabel: string;
25660
25684
  id: string;
25661
25685
  /** @enum {string} */
@@ -25724,6 +25748,10 @@ interface paths {
25724
25748
  content: {
25725
25749
  "application/json": {
25726
25750
  data: {
25751
+ /** @description Plain-language discount callout, e.g. "90% off". null when undiscounted (always null for the Exa entry). */
25752
+ creditPromoLabel?: string | null;
25753
+ /** @description Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted. */
25754
+ creditPromoMultiplier?: number;
25727
25755
  displayLabel: string;
25728
25756
  id: string;
25729
25757
  /** @enum {string} */
@@ -25918,6 +25946,10 @@ interface paths {
25918
25946
  createdByUserId?: string | null;
25919
25947
  creator?: string;
25920
25948
  creatorDisplayName?: string | null;
25949
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
25950
+ creditPromoLabel?: string | null;
25951
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
25952
+ creditPromoMultiplier?: number;
25921
25953
  displayName?: string;
25922
25954
  id: string;
25923
25955
  inputCostPer1kTokens?: number;
@@ -26174,6 +26206,10 @@ interface paths {
26174
26206
  createdByUserId?: string | null;
26175
26207
  creator?: string;
26176
26208
  creatorDisplayName?: string | null;
26209
+ /** @description Plain-language discount callout for this model, e.g. "90% off". null when undiscounted. */
26210
+ creditPromoLabel?: string | null;
26211
+ /** @description Factor platform-key spend on this model is billed at while a credit promo is active (0.1 = 90% off). 1 when no discount applies. */
26212
+ creditPromoMultiplier?: number;
26177
26213
  displayName?: string;
26178
26214
  id: string;
26179
26215
  inputCostPer1kTokens?: number;
@@ -44060,6 +44096,7 @@ interface paths {
44060
44096
  enableSelfServeOauthClients: boolean;
44061
44097
  enableVoice: boolean;
44062
44098
  enableWorkspaceModel: boolean;
44099
+ modelCreditPromoMultiplier?: number;
44063
44100
  workspaceModelEligible: boolean;
44064
44101
  workspaceModelReady: boolean;
44065
44102
  };
@@ -48160,6 +48197,13 @@ interface ModelConfig {
48160
48197
  /** @deprecated Use keyStatus instead */
48161
48198
  supportsCustomKey: boolean;
48162
48199
  keyStatus?: 'platform' | 'custom' | 'needs_setup';
48200
+ /**
48201
+ * Factor platform-key spend on this model is billed at while a credit promo
48202
+ * is active (`0.1` = 90% off); `1` or absent when undiscounted.
48203
+ */
48204
+ creditPromoMultiplier?: number;
48205
+ /** Plain-language discount callout, e.g. `"90% off"`; `null`/absent when undiscounted. */
48206
+ creditPromoLabel?: string | null;
48163
48207
  costPer1kTokens?: number;
48164
48208
  contextLength?: number;
48165
48209
  maxOutputTokens?: number;
package/dist/index.mjs CHANGED
@@ -6327,7 +6327,7 @@ var Runtype = class {
6327
6327
 
6328
6328
  // src/version.ts
6329
6329
  var FALLBACK_VERSION = "0.0.0";
6330
- var SDK_VERSION = "9.2.0".length > 0 ? "9.2.0" : FALLBACK_VERSION;
6330
+ var SDK_VERSION = "9.2.1".length > 0 ? "9.2.1" : FALLBACK_VERSION;
6331
6331
  var RUNTYPE_CLIENT_KIND = "sdk";
6332
6332
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6333
6333
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
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",