@pagelines/sdk 1.0.797 → 1.0.798

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/contract.js CHANGED
@@ -4178,7 +4178,7 @@ function getWorkspaceMarkUrl(e) {
4178
4178
  }
4179
4179
  //#endregion
4180
4180
  //#region ../core/dist/pricing.js
4181
- var Br = 3900, R = `$${Br / 100}/month`, Vr = _enum(["account", "error"]), Hr = [
4181
+ var Br = 3900, Vr = `$${Br / 100}/month`, Hr = _enum(["account", "error"]), R = [
4182
4182
  "billing_no_plan",
4183
4183
  "billing_seat_limit",
4184
4184
  "billing_past_due",
@@ -4196,8 +4196,8 @@ var Br = 3900, R = `$${Br / 100}/month`, Vr = _enum(["account", "error"]), Hr =
4196
4196
  "tool_protocol",
4197
4197
  "rate_limit"
4198
4198
  ], z = object({
4199
- bucket: Vr,
4200
- code: _enum(Hr),
4199
+ bucket: Hr,
4200
+ code: _enum(R),
4201
4201
  title: string(),
4202
4202
  help: string().optional(),
4203
4203
  actionLabel: string(),
@@ -4206,9 +4206,9 @@ var Br = 3900, R = `$${Br / 100}/month`, Vr = _enum(["account", "error"]), Hr =
4206
4206
  billing_no_plan: {
4207
4207
  bucket: "account",
4208
4208
  title: "Billing needed",
4209
- help: `Add a payment method to turn live replies back on. Plans start at ${R} per active assistant, cancel anytime.`,
4209
+ help: `Add a payment method to turn live replies back on. Plans start at ${Vr} per active assistant, cancel anytime.`,
4210
4210
  actionLabel: "Open billing",
4211
- oneLine: `The workspace needs a payment method before this assistant can reply; plans start at ${R} per active assistant.`
4211
+ oneLine: `The workspace needs a payment method before this assistant can reply; plans start at ${Vr} per active assistant.`
4212
4212
  },
4213
4213
  billing_seat_limit: {
4214
4214
  bucket: "account",
@@ -4317,7 +4317,7 @@ var Br = 3900, R = `$${Br / 100}/month`, Vr = _enum(["account", "error"]), Hr =
4317
4317
  }
4318
4318
  };
4319
4319
  function chatIssueCatalogLines() {
4320
- return Hr.map((e) => `- ${e}: ${B[e].oneLine}`).join("\n");
4320
+ return R.map((e) => `- ${e}: ${B[e].oneLine}`).join("\n");
4321
4321
  }
4322
4322
  function buildChatIssue(e) {
4323
4323
  let t = B[e.code];
@@ -5177,7 +5177,11 @@ var Ji = Gi.extend({
5177
5177
  }).optional(),
5178
5178
  automation: object({ run: object({
5179
5179
  automationRunId: string(),
5180
- sourceKind: _enum(["webhook", "schedule"]),
5180
+ sourceKind: _enum([
5181
+ "webhook",
5182
+ "schedule",
5183
+ "heartbeat"
5184
+ ]),
5181
5185
  sourceLabel: string().optional(),
5182
5186
  deliveryId: string().optional(),
5183
5187
  status: _enum([
@@ -5354,6 +5358,9 @@ var ta = object({
5354
5358
  tierRates: record(string(), number()).optional(),
5355
5359
  maxAgents: number(),
5356
5360
  activeAgents: number(),
5361
+ workspaceTier: K.optional(),
5362
+ upcomingAmountDue: number().optional(),
5363
+ upcomingDueDate: string().optional(),
5357
5364
  nextBillDate: string().optional(),
5358
5365
  cancelAtPeriodEnd: boolean().optional(),
5359
5366
  cancelAt: string().optional(),
@@ -6521,14 +6528,14 @@ var No = object({
6521
6528
  ButtonDesignSchema: () => Pr,
6522
6529
  ButtonThemeSchema: () => Nr,
6523
6530
  CHART_THEME: () => Rr,
6524
- CHAT_ISSUE_CODES: () => Hr,
6531
+ CHAT_ISSUE_CODES: () => R,
6525
6532
  CHAT_ISSUE_COPY: () => B,
6526
6533
  CUSTOMER_AGENT_STATE_LABEL: () => Yr,
6527
6534
  CookieUtil: () => CookieUtil,
6528
6535
  DEFAULT_HEARTBEAT_TIMES: () => ar,
6529
6536
  DocumentMediaSchema: () => jr,
6530
6537
  ENTRY_TIER_MONTHLY_PRICE_CENTS: () => Br,
6531
- ENTRY_TIER_MONTHLY_PRICE_LABEL: () => R,
6538
+ ENTRY_TIER_MONTHLY_PRICE_LABEL: () => Vr,
6532
6539
  ERROR_CODES: () => Pi,
6533
6540
  EnrichedAgentSchema: () => oi,
6534
6541
  ImageFormatSchema: () => Cr,