@clowdops/tsclient 0.6.4 → 0.6.6

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.d.cts CHANGED
@@ -122,8 +122,9 @@ interface Project {
122
122
  /**
123
123
  * Product partition the project belongs to — 'cloud' (cloud-ops, the
124
124
  * default), 'bi' (Talk-to-Your-BI), 'meeting' (ClowdMeeting), 'marketing'
125
- * (ClowdMarketing) or 'pm' (ClowdPM). Each frontend lists only its own
126
- * product's projects. A UX partition, not a security boundary.
125
+ * (ClowdMarketing), 'pm' (ClowdPM) or 'startup' (ClowdStartup). Each frontend
126
+ * lists only its own product's projects. A UX partition, not a security
127
+ * boundary.
127
128
  */
128
129
  product?: ProductKind;
129
130
  users: ProjectMember[];
@@ -132,12 +133,16 @@ interface Project {
132
133
  * The product verticals a project can belong to.
133
134
  *
134
135
  * Mirrors the backend's closed `products.Product` enum and its migration CHECK
135
- * constraints (0065 for the first four, 0110 for `'pm'`). Adding a member here
136
- * without adding it there means the server rejects a value this client says is
137
- * valid. `'pm'` is ClowdPM (PJM-D1); its project, memory and document surfaces
138
- * use the same product partition without treating it as an authority grant.
139
- */
140
- declare const PRODUCT_KINDS: readonly ["cloud", "bi", "meeting", "marketing", "pm"];
136
+ * constraints (0065 for the first four, 0110 for `'pm'`, 0127 for `'startup'`).
137
+ * Adding a member here without adding it there means the server rejects a value
138
+ * this client says is valid. `'pm'` is ClowdPM (PJM-D1); its project, memory and
139
+ * document surfaces use the same product partition without treating it as an
140
+ * authority grant. `'startup'` is ClowdStartup, the Bueeld server-to-server
141
+ * integration: its projects are provisioned by the backend, never from a
142
+ * browser, so it is a grant an admin can give an org rather than a workspace a
143
+ * console creates.
144
+ */
145
+ declare const PRODUCT_KINDS: readonly ["cloud", "bi", "meeting", "marketing", "pm", "startup"];
141
146
  type ProductKind = (typeof PRODUCT_KINDS)[number];
142
147
  /**
143
148
  * Runtime guard for product values received over JSON.
@@ -5311,6 +5316,11 @@ interface ModelPricingRow {
5311
5316
  counts_toward_budget: boolean;
5312
5317
  /** Platform-key markup in bps; 10000 = 1.00x (no markup). */
5313
5318
  surcharge_coefficient_bps: number;
5319
+ /**
5320
+ * Markup over the input rate for prompt-cache writes, in bps (2500 = 1.25x,
5321
+ * the Anthropic/Bedrock 5-minute cache). Omit on PUT to keep the stored value.
5322
+ */
5323
+ cache_write_premium_bps?: number;
5314
5324
  notes?: string;
5315
5325
  updated_at?: string;
5316
5326
  }
package/dist/index.d.ts CHANGED
@@ -122,8 +122,9 @@ interface Project {
122
122
  /**
123
123
  * Product partition the project belongs to — 'cloud' (cloud-ops, the
124
124
  * default), 'bi' (Talk-to-Your-BI), 'meeting' (ClowdMeeting), 'marketing'
125
- * (ClowdMarketing) or 'pm' (ClowdPM). Each frontend lists only its own
126
- * product's projects. A UX partition, not a security boundary.
125
+ * (ClowdMarketing), 'pm' (ClowdPM) or 'startup' (ClowdStartup). Each frontend
126
+ * lists only its own product's projects. A UX partition, not a security
127
+ * boundary.
127
128
  */
128
129
  product?: ProductKind;
129
130
  users: ProjectMember[];
@@ -132,12 +133,16 @@ interface Project {
132
133
  * The product verticals a project can belong to.
133
134
  *
134
135
  * Mirrors the backend's closed `products.Product` enum and its migration CHECK
135
- * constraints (0065 for the first four, 0110 for `'pm'`). Adding a member here
136
- * without adding it there means the server rejects a value this client says is
137
- * valid. `'pm'` is ClowdPM (PJM-D1); its project, memory and document surfaces
138
- * use the same product partition without treating it as an authority grant.
139
- */
140
- declare const PRODUCT_KINDS: readonly ["cloud", "bi", "meeting", "marketing", "pm"];
136
+ * constraints (0065 for the first four, 0110 for `'pm'`, 0127 for `'startup'`).
137
+ * Adding a member here without adding it there means the server rejects a value
138
+ * this client says is valid. `'pm'` is ClowdPM (PJM-D1); its project, memory and
139
+ * document surfaces use the same product partition without treating it as an
140
+ * authority grant. `'startup'` is ClowdStartup, the Bueeld server-to-server
141
+ * integration: its projects are provisioned by the backend, never from a
142
+ * browser, so it is a grant an admin can give an org rather than a workspace a
143
+ * console creates.
144
+ */
145
+ declare const PRODUCT_KINDS: readonly ["cloud", "bi", "meeting", "marketing", "pm", "startup"];
141
146
  type ProductKind = (typeof PRODUCT_KINDS)[number];
142
147
  /**
143
148
  * Runtime guard for product values received over JSON.
@@ -5311,6 +5316,11 @@ interface ModelPricingRow {
5311
5316
  counts_toward_budget: boolean;
5312
5317
  /** Platform-key markup in bps; 10000 = 1.00x (no markup). */
5313
5318
  surcharge_coefficient_bps: number;
5319
+ /**
5320
+ * Markup over the input rate for prompt-cache writes, in bps (2500 = 1.25x,
5321
+ * the Anthropic/Bedrock 5-minute cache). Omit on PUT to keep the stored value.
5322
+ */
5323
+ cache_write_premium_bps?: number;
5314
5324
  notes?: string;
5315
5325
  updated_at?: string;
5316
5326
  }
package/dist/index.js CHANGED
@@ -451,7 +451,7 @@ var OrganizationClient = class {
451
451
  };
452
452
 
453
453
  // src/modules/projects/types.ts
454
- var PRODUCT_KINDS = ["cloud", "bi", "meeting", "marketing", "pm"];
454
+ var PRODUCT_KINDS = ["cloud", "bi", "meeting", "marketing", "pm", "startup"];
455
455
  function isProductKind(value) {
456
456
  return typeof value === "string" && PRODUCT_KINDS.includes(value);
457
457
  }