@farthershore/client 0.7.0 → 0.9.0

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.
@@ -26,7 +26,9 @@ export declare const OPERATION_TABLE: {
26
26
  } & {
27
27
  url: string;
28
28
  events: string[];
29
+ scope?: string;
29
30
  environmentId?: string | null;
31
+ backend?: string;
30
32
  }, {
31
33
  data: import("../generated/schemas.js").components["schemas"]["WebhookEndpointIssuance"];
32
34
  }, {
@@ -40,7 +42,6 @@ export declare const OPERATION_TABLE: {
40
42
  url?: string;
41
43
  events?: string[];
42
44
  enabled?: boolean;
43
- environmentId?: string | null;
44
45
  }, {
45
46
  data: import("../generated/schemas.js").components["schemas"]["WebhookEndpoint"];
46
47
  }, {
@@ -90,6 +91,22 @@ export declare const OPERATION_TABLE: {
90
91
  }, {
91
92
  data: import("../generated/schemas.js").components["schemas"]["WebhookEndpointRotation"];
92
93
  }, false>;
94
+ "webhooks.redeliver": import("./define.js").OperationEntry<{
95
+ businessId: string;
96
+ } & {
97
+ webhookId: string;
98
+ } & {
99
+ since: string;
100
+ until?: string;
101
+ }, {
102
+ data: {
103
+ redelivered: number;
104
+ };
105
+ }, {
106
+ data: {
107
+ redelivered: number;
108
+ };
109
+ }, false>;
93
110
  "webhooks.eventType.read": import("./define.js").OperationEntry<{
94
111
  businessId: string;
95
112
  }, {
@@ -154,6 +171,13 @@ export declare const OPERATION_TABLE: {
154
171
  createdAt: string;
155
172
  businessId: string;
156
173
  environmentId: string | null;
174
+ environment: {
175
+ id: string | null;
176
+ slug: string;
177
+ name: string;
178
+ kind: "production" | "preview";
179
+ branch: string | null;
180
+ };
157
181
  data: {
158
182
  [key: string]: unknown;
159
183
  };
@@ -177,6 +201,13 @@ export declare const OPERATION_TABLE: {
177
201
  createdAt: string;
178
202
  businessId: string;
179
203
  environmentId: string | null;
204
+ environment: {
205
+ id: string | null;
206
+ slug: string;
207
+ name: string;
208
+ kind: "production" | "preview";
209
+ branch: string | null;
210
+ };
180
211
  data: {
181
212
  [key: string]: unknown;
182
213
  };
@@ -184,6 +215,17 @@ export declare const OPERATION_TABLE: {
184
215
  responseBody?: string | null;
185
216
  };
186
217
  }, false>;
218
+ "webhooks.delivery.redeliver": import("./define.js").OperationEntry<{
219
+ businessId: string;
220
+ } & {
221
+ webhookId: string;
222
+ } & {
223
+ deliveryId: string;
224
+ }, {
225
+ data: import("../generated/schemas.js").components["schemas"]["WebhookDelivery"];
226
+ }, {
227
+ data: import("../generated/schemas.js").components["schemas"]["WebhookDelivery"];
228
+ }, false>;
187
229
  "webhooks.delivery.payload.read": import("./define.js").OperationEntry<{
188
230
  businessId: string;
189
231
  } & {
@@ -207,6 +249,13 @@ export declare const OPERATION_TABLE: {
207
249
  createdAt: string;
208
250
  businessId: string;
209
251
  environmentId: string | null;
252
+ environment: {
253
+ id: string | null;
254
+ slug: string;
255
+ name: string;
256
+ kind: "production" | "preview";
257
+ branch: string | null;
258
+ };
210
259
  data: {
211
260
  [key: string]: unknown;
212
261
  };
@@ -230,6 +279,13 @@ export declare const OPERATION_TABLE: {
230
279
  createdAt: string;
231
280
  businessId: string;
232
281
  environmentId: string | null;
282
+ environment: {
283
+ id: string | null;
284
+ slug: string;
285
+ name: string;
286
+ kind: "production" | "preview";
287
+ branch: string | null;
288
+ };
233
289
  data: {
234
290
  [key: string]: unknown;
235
291
  };
@@ -1269,7 +1325,7 @@ export declare const OPERATION_TABLE: {
1269
1325
  }, {
1270
1326
  name: string;
1271
1327
  trigger: {
1272
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1328
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1273
1329
  filter?: {
1274
1330
  subjectType?: string;
1275
1331
  subjectId?: string;
@@ -1314,7 +1370,7 @@ export declare const OPERATION_TABLE: {
1314
1370
  }, {
1315
1371
  name: string;
1316
1372
  trigger: {
1317
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1373
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1318
1374
  filter?: {
1319
1375
  subjectType?: string;
1320
1376
  subjectId?: string;
@@ -1364,7 +1420,7 @@ export declare const OPERATION_TABLE: {
1364
1420
  }, {
1365
1421
  name: string;
1366
1422
  trigger: {
1367
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1423
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1368
1424
  filter?: {
1369
1425
  subjectType?: string;
1370
1426
  subjectId?: string;
@@ -1409,7 +1465,7 @@ export declare const OPERATION_TABLE: {
1409
1465
  }, {
1410
1466
  name: string;
1411
1467
  trigger: {
1412
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1468
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1413
1469
  filter?: {
1414
1470
  subjectType?: string;
1415
1471
  subjectId?: string;
@@ -1460,7 +1516,7 @@ export declare const OPERATION_TABLE: {
1460
1516
  }, {
1461
1517
  name: string;
1462
1518
  trigger: {
1463
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1519
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1464
1520
  filter?: {
1465
1521
  subjectType?: string;
1466
1522
  subjectId?: string;
@@ -1505,7 +1561,7 @@ export declare const OPERATION_TABLE: {
1505
1561
  }, {
1506
1562
  name: string;
1507
1563
  trigger: {
1508
- eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted";
1564
+ eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
1509
1565
  filter?: {
1510
1566
  subjectType?: string;
1511
1567
  subjectId?: string;
@@ -2569,7 +2625,7 @@ export declare const OPERATION_TABLE: {
2569
2625
  subjectBusinessId: string;
2570
2626
  subjectSubscriberId: string;
2571
2627
  subjectPersonId: string | null;
2572
- requestedBy: "self";
2628
+ requestedBy: "builder" | "self";
2573
2629
  status: "pending" | "failed" | "running" | "refused" | "completed";
2574
2630
  stepsCompleted: string[];
2575
2631
  code: string | null;
@@ -2584,7 +2640,7 @@ export declare const OPERATION_TABLE: {
2584
2640
  subjectBusinessId: string;
2585
2641
  subjectSubscriberId: string;
2586
2642
  subjectPersonId: string | null;
2587
- requestedBy: "self";
2643
+ requestedBy: "builder" | "self";
2588
2644
  status: "pending" | "failed" | "running" | "refused" | "completed";
2589
2645
  stepsCompleted: string[];
2590
2646
  code: string | null;
@@ -3300,11 +3356,6 @@ export declare const OPERATION_TABLE: {
3300
3356
  id: string;
3301
3357
  organizationId: string | null;
3302
3358
  name: string;
3303
- sellerLaunchRefusal?: {
3304
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3305
- settingsUrl: string;
3306
- message: string;
3307
- };
3308
3359
  displayName: string | null;
3309
3360
  description: string | null;
3310
3361
  status: "DRAFT" | "ACTIVE";
@@ -3329,17 +3380,13 @@ export declare const OPERATION_TABLE: {
3329
3380
  gitRepoFullName: string | null;
3330
3381
  envBranchPrefix: string | null;
3331
3382
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3383
+ releaseTagPrefix: string;
3332
3384
  createdAt: string;
3333
3385
  updatedAt: string;
3334
3386
  }[], {
3335
3387
  id: string;
3336
3388
  organizationId: string | null;
3337
3389
  name: string;
3338
- sellerLaunchRefusal?: {
3339
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3340
- settingsUrl: string;
3341
- message: string;
3342
- };
3343
3390
  displayName: string | null;
3344
3391
  description: string | null;
3345
3392
  status: "DRAFT" | "ACTIVE";
@@ -3364,6 +3411,7 @@ export declare const OPERATION_TABLE: {
3364
3411
  gitRepoFullName: string | null;
3365
3412
  envBranchPrefix: string | null;
3366
3413
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3414
+ releaseTagPrefix: string;
3367
3415
  createdAt: string;
3368
3416
  updatedAt: string;
3369
3417
  }[], false>;
@@ -3375,11 +3423,6 @@ export declare const OPERATION_TABLE: {
3375
3423
  id: string;
3376
3424
  organizationId: string | null;
3377
3425
  name: string;
3378
- sellerLaunchRefusal?: {
3379
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3380
- settingsUrl: string;
3381
- message: string;
3382
- };
3383
3426
  displayName: string | null;
3384
3427
  description: string | null;
3385
3428
  status: "DRAFT" | "ACTIVE";
@@ -3404,21 +3447,26 @@ export declare const OPERATION_TABLE: {
3404
3447
  gitRepoFullName: string | null;
3405
3448
  envBranchPrefix: string | null;
3406
3449
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3450
+ releaseTagPrefix: string;
3407
3451
  createdAt: string;
3408
3452
  updatedAt: string;
3409
3453
  usageUnitLabels?: {
3410
3454
  [key: string]: string;
3411
3455
  };
3412
3456
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
3457
+ launchRequirements: {
3458
+ obligation: "account.agreements_accepted" | "seller.details_complete";
3459
+ summary: string;
3460
+ missing: string[];
3461
+ fix: {
3462
+ label: string;
3463
+ url: string;
3464
+ };
3465
+ }[];
3413
3466
  }, {
3414
3467
  id: string;
3415
3468
  organizationId: string | null;
3416
3469
  name: string;
3417
- sellerLaunchRefusal?: {
3418
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3419
- settingsUrl: string;
3420
- message: string;
3421
- };
3422
3470
  displayName: string | null;
3423
3471
  description: string | null;
3424
3472
  status: "DRAFT" | "ACTIVE";
@@ -3443,12 +3491,22 @@ export declare const OPERATION_TABLE: {
3443
3491
  gitRepoFullName: string | null;
3444
3492
  envBranchPrefix: string | null;
3445
3493
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3494
+ releaseTagPrefix: string;
3446
3495
  createdAt: string;
3447
3496
  updatedAt: string;
3448
3497
  usageUnitLabels?: {
3449
3498
  [key: string]: string;
3450
3499
  };
3451
3500
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
3501
+ launchRequirements: {
3502
+ obligation: "account.agreements_accepted" | "seller.details_complete";
3503
+ summary: string;
3504
+ missing: string[];
3505
+ fix: {
3506
+ label: string;
3507
+ url: string;
3508
+ };
3509
+ }[];
3452
3510
  }, false>;
3453
3511
  "businesses.create": import("./define.js").OperationEntry<{
3454
3512
  name: string;
@@ -3466,6 +3524,12 @@ export declare const OPERATION_TABLE: {
3466
3524
  instructions: string;
3467
3525
  agentsMdUrl: string;
3468
3526
  };
3527
+ defaultKey?: {
3528
+ id: string;
3529
+ lastFour: string;
3530
+ envVars: ["FS_SECRET_KEY"];
3531
+ token: string;
3532
+ };
3469
3533
  }, {
3470
3534
  business: import("../generated/schemas.js").components["schemas"]["Business"];
3471
3535
  repo: {
@@ -3477,6 +3541,12 @@ export declare const OPERATION_TABLE: {
3477
3541
  instructions: string;
3478
3542
  agentsMdUrl: string;
3479
3543
  };
3544
+ defaultKey?: {
3545
+ id: string;
3546
+ lastFour: string;
3547
+ envVars: ["FS_SECRET_KEY"];
3548
+ token: string;
3549
+ };
3480
3550
  }, false>;
3481
3551
  "businesses.routes.read": import("./define.js").OperationEntry<{
3482
3552
  businessId: string;
@@ -3612,11 +3682,6 @@ export declare const OPERATION_TABLE: {
3612
3682
  id: string;
3613
3683
  organizationId: string | null;
3614
3684
  name: string;
3615
- sellerLaunchRefusal?: {
3616
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3617
- settingsUrl: string;
3618
- message: string;
3619
- };
3620
3685
  displayName: string | null;
3621
3686
  description: string | null;
3622
3687
  status: "DRAFT" | "ACTIVE";
@@ -3641,6 +3706,7 @@ export declare const OPERATION_TABLE: {
3641
3706
  gitRepoFullName: string | null;
3642
3707
  envBranchPrefix: string | null;
3643
3708
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3709
+ releaseTagPrefix: string;
3644
3710
  createdAt: string;
3645
3711
  updatedAt: string;
3646
3712
  _release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
@@ -3648,11 +3714,6 @@ export declare const OPERATION_TABLE: {
3648
3714
  id: string;
3649
3715
  organizationId: string | null;
3650
3716
  name: string;
3651
- sellerLaunchRefusal?: {
3652
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3653
- settingsUrl: string;
3654
- message: string;
3655
- };
3656
3717
  displayName: string | null;
3657
3718
  description: string | null;
3658
3719
  status: "DRAFT" | "ACTIVE";
@@ -3677,6 +3738,74 @@ export declare const OPERATION_TABLE: {
3677
3738
  gitRepoFullName: string | null;
3678
3739
  envBranchPrefix: string | null;
3679
3740
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3741
+ releaseTagPrefix: string;
3742
+ createdAt: string;
3743
+ updatedAt: string;
3744
+ _release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
3745
+ }, true>;
3746
+ "businesses.release": import("./define.js").OperationEntry<{
3747
+ businessId: string;
3748
+ } & import("../types.js").ReleaseBusinessBody, {
3749
+ id: string;
3750
+ organizationId: string | null;
3751
+ name: string;
3752
+ displayName: string | null;
3753
+ description: string | null;
3754
+ status: "DRAFT" | "ACTIVE";
3755
+ visibility: "PUBLIC" | "PRIVATE";
3756
+ runtimeHostname: string | null;
3757
+ portalHostname: string | null;
3758
+ iconUrl: string | null;
3759
+ logoUrl: string | null;
3760
+ keyPrefix: string | null;
3761
+ allowedOrigins: string[];
3762
+ docsEnabled: boolean;
3763
+ listedOnOrganizationPage: boolean;
3764
+ rbacEnabled: boolean;
3765
+ meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
3766
+ plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
3767
+ unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
3768
+ rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
3769
+ publishedRevisionId: string | null;
3770
+ latestRevisionId: string | null;
3771
+ latestRevisionNumber: number | null;
3772
+ latestReleaseVersion: string | null;
3773
+ gitRepoFullName: string | null;
3774
+ envBranchPrefix: string | null;
3775
+ previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3776
+ releaseTagPrefix: string;
3777
+ createdAt: string;
3778
+ updatedAt: string;
3779
+ _release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
3780
+ }, {
3781
+ id: string;
3782
+ organizationId: string | null;
3783
+ name: string;
3784
+ displayName: string | null;
3785
+ description: string | null;
3786
+ status: "DRAFT" | "ACTIVE";
3787
+ visibility: "PUBLIC" | "PRIVATE";
3788
+ runtimeHostname: string | null;
3789
+ portalHostname: string | null;
3790
+ iconUrl: string | null;
3791
+ logoUrl: string | null;
3792
+ keyPrefix: string | null;
3793
+ allowedOrigins: string[];
3794
+ docsEnabled: boolean;
3795
+ listedOnOrganizationPage: boolean;
3796
+ rbacEnabled: boolean;
3797
+ meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
3798
+ plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
3799
+ unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
3800
+ rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
3801
+ publishedRevisionId: string | null;
3802
+ latestRevisionId: string | null;
3803
+ latestRevisionNumber: number | null;
3804
+ latestReleaseVersion: string | null;
3805
+ gitRepoFullName: string | null;
3806
+ envBranchPrefix: string | null;
3807
+ previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3808
+ releaseTagPrefix: string;
3680
3809
  createdAt: string;
3681
3810
  updatedAt: string;
3682
3811
  _release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
@@ -3742,11 +3871,6 @@ export declare const OPERATION_TABLE: {
3742
3871
  id: string;
3743
3872
  organizationId: string | null;
3744
3873
  name: string;
3745
- sellerLaunchRefusal?: {
3746
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3747
- settingsUrl: string;
3748
- message: string;
3749
- };
3750
3874
  displayName: string | null;
3751
3875
  description: string | null;
3752
3876
  status: "DRAFT" | "ACTIVE";
@@ -3771,17 +3895,13 @@ export declare const OPERATION_TABLE: {
3771
3895
  gitRepoFullName: string | null;
3772
3896
  envBranchPrefix: string | null;
3773
3897
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3898
+ releaseTagPrefix: string;
3774
3899
  createdAt: string;
3775
3900
  updatedAt: string;
3776
3901
  }, {
3777
3902
  id: string;
3778
3903
  organizationId: string | null;
3779
3904
  name: string;
3780
- sellerLaunchRefusal?: {
3781
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3782
- settingsUrl: string;
3783
- message: string;
3784
- };
3785
3905
  displayName: string | null;
3786
3906
  description: string | null;
3787
3907
  status: "DRAFT" | "ACTIVE";
@@ -3806,6 +3926,7 @@ export declare const OPERATION_TABLE: {
3806
3926
  gitRepoFullName: string | null;
3807
3927
  envBranchPrefix: string | null;
3808
3928
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3929
+ releaseTagPrefix: string;
3809
3930
  createdAt: string;
3810
3931
  updatedAt: string;
3811
3932
  }, false>;
@@ -3831,11 +3952,6 @@ export declare const OPERATION_TABLE: {
3831
3952
  id: string;
3832
3953
  organizationId: string | null;
3833
3954
  name: string;
3834
- sellerLaunchRefusal?: {
3835
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3836
- settingsUrl: string;
3837
- message: string;
3838
- };
3839
3955
  displayName: string | null;
3840
3956
  description: string | null;
3841
3957
  status: "DRAFT" | "ACTIVE";
@@ -3860,17 +3976,13 @@ export declare const OPERATION_TABLE: {
3860
3976
  gitRepoFullName: string | null;
3861
3977
  envBranchPrefix: string | null;
3862
3978
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
3979
+ releaseTagPrefix: string;
3863
3980
  createdAt: string;
3864
3981
  updatedAt: string;
3865
3982
  }, {
3866
3983
  id: string;
3867
3984
  organizationId: string | null;
3868
3985
  name: string;
3869
- sellerLaunchRefusal?: {
3870
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3871
- settingsUrl: string;
3872
- message: string;
3873
- };
3874
3986
  displayName: string | null;
3875
3987
  description: string | null;
3876
3988
  status: "DRAFT" | "ACTIVE";
@@ -3895,6 +4007,76 @@ export declare const OPERATION_TABLE: {
3895
4007
  gitRepoFullName: string | null;
3896
4008
  envBranchPrefix: string | null;
3897
4009
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4010
+ releaseTagPrefix: string;
4011
+ createdAt: string;
4012
+ updatedAt: string;
4013
+ }, false>;
4014
+ "businesses.releaseTag.set": import("./define.js").OperationEntry<{
4015
+ businessId: string;
4016
+ } & {
4017
+ env?: string;
4018
+ } & {
4019
+ body: import("../types.js").BusinessUpdateInput;
4020
+ }, {
4021
+ id: string;
4022
+ organizationId: string | null;
4023
+ name: string;
4024
+ displayName: string | null;
4025
+ description: string | null;
4026
+ status: "DRAFT" | "ACTIVE";
4027
+ visibility: "PUBLIC" | "PRIVATE";
4028
+ runtimeHostname: string | null;
4029
+ portalHostname: string | null;
4030
+ iconUrl: string | null;
4031
+ logoUrl: string | null;
4032
+ keyPrefix: string | null;
4033
+ allowedOrigins: string[];
4034
+ docsEnabled: boolean;
4035
+ listedOnOrganizationPage: boolean;
4036
+ rbacEnabled: boolean;
4037
+ meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
4038
+ plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
4039
+ unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
4040
+ rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
4041
+ publishedRevisionId: string | null;
4042
+ latestRevisionId: string | null;
4043
+ latestRevisionNumber: number | null;
4044
+ latestReleaseVersion: string | null;
4045
+ gitRepoFullName: string | null;
4046
+ envBranchPrefix: string | null;
4047
+ previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4048
+ releaseTagPrefix: string;
4049
+ createdAt: string;
4050
+ updatedAt: string;
4051
+ }, {
4052
+ id: string;
4053
+ organizationId: string | null;
4054
+ name: string;
4055
+ displayName: string | null;
4056
+ description: string | null;
4057
+ status: "DRAFT" | "ACTIVE";
4058
+ visibility: "PUBLIC" | "PRIVATE";
4059
+ runtimeHostname: string | null;
4060
+ portalHostname: string | null;
4061
+ iconUrl: string | null;
4062
+ logoUrl: string | null;
4063
+ keyPrefix: string | null;
4064
+ allowedOrigins: string[];
4065
+ docsEnabled: boolean;
4066
+ listedOnOrganizationPage: boolean;
4067
+ rbacEnabled: boolean;
4068
+ meters: import("../generated/schemas.js").components["schemas"]["BusinessMeter"][];
4069
+ plans: import("../generated/schemas.js").components["schemas"]["BusinessPlan"][];
4070
+ unreadablePlans?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
4071
+ rateLimitConfig: import("../generated/schemas.js").components["schemas"]["BusinessRateLimit"] | null;
4072
+ publishedRevisionId: string | null;
4073
+ latestRevisionId: string | null;
4074
+ latestRevisionNumber: number | null;
4075
+ latestReleaseVersion: string | null;
4076
+ gitRepoFullName: string | null;
4077
+ envBranchPrefix: string | null;
4078
+ previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4079
+ releaseTagPrefix: string;
3898
4080
  createdAt: string;
3899
4081
  updatedAt: string;
3900
4082
  }, false>;
@@ -3906,11 +4088,6 @@ export declare const OPERATION_TABLE: {
3906
4088
  id: string;
3907
4089
  organizationId: string | null;
3908
4090
  name: string;
3909
- sellerLaunchRefusal?: {
3910
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3911
- settingsUrl: string;
3912
- message: string;
3913
- };
3914
4091
  displayName: string | null;
3915
4092
  description: string | null;
3916
4093
  status: "DRAFT" | "ACTIVE";
@@ -3935,17 +4112,13 @@ export declare const OPERATION_TABLE: {
3935
4112
  gitRepoFullName: string | null;
3936
4113
  envBranchPrefix: string | null;
3937
4114
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4115
+ releaseTagPrefix: string;
3938
4116
  createdAt: string;
3939
4117
  updatedAt: string;
3940
4118
  }, {
3941
4119
  id: string;
3942
4120
  organizationId: string | null;
3943
4121
  name: string;
3944
- sellerLaunchRefusal?: {
3945
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3946
- settingsUrl: string;
3947
- message: string;
3948
- };
3949
4122
  displayName: string | null;
3950
4123
  description: string | null;
3951
4124
  status: "DRAFT" | "ACTIVE";
@@ -3970,6 +4143,7 @@ export declare const OPERATION_TABLE: {
3970
4143
  gitRepoFullName: string | null;
3971
4144
  envBranchPrefix: string | null;
3972
4145
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4146
+ releaseTagPrefix: string;
3973
4147
  createdAt: string;
3974
4148
  updatedAt: string;
3975
4149
  }, false>;
@@ -3981,11 +4155,6 @@ export declare const OPERATION_TABLE: {
3981
4155
  id: string;
3982
4156
  organizationId: string | null;
3983
4157
  name: string;
3984
- sellerLaunchRefusal?: {
3985
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3986
- settingsUrl: string;
3987
- message: string;
3988
- };
3989
4158
  displayName: string | null;
3990
4159
  description: string | null;
3991
4160
  status: "DRAFT" | "ACTIVE";
@@ -4010,17 +4179,13 @@ export declare const OPERATION_TABLE: {
4010
4179
  gitRepoFullName: string | null;
4011
4180
  envBranchPrefix: string | null;
4012
4181
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4182
+ releaseTagPrefix: string;
4013
4183
  createdAt: string;
4014
4184
  updatedAt: string;
4015
4185
  }, {
4016
4186
  id: string;
4017
4187
  organizationId: string | null;
4018
4188
  name: string;
4019
- sellerLaunchRefusal?: {
4020
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4021
- settingsUrl: string;
4022
- message: string;
4023
- };
4024
4189
  displayName: string | null;
4025
4190
  description: string | null;
4026
4191
  status: "DRAFT" | "ACTIVE";
@@ -4045,6 +4210,7 @@ export declare const OPERATION_TABLE: {
4045
4210
  gitRepoFullName: string | null;
4046
4211
  envBranchPrefix: string | null;
4047
4212
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4213
+ releaseTagPrefix: string;
4048
4214
  createdAt: string;
4049
4215
  updatedAt: string;
4050
4216
  }, false>;
@@ -4058,11 +4224,6 @@ export declare const OPERATION_TABLE: {
4058
4224
  id: string;
4059
4225
  organizationId: string | null;
4060
4226
  name: string;
4061
- sellerLaunchRefusal?: {
4062
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4063
- settingsUrl: string;
4064
- message: string;
4065
- };
4066
4227
  displayName: string | null;
4067
4228
  description: string | null;
4068
4229
  status: "DRAFT" | "ACTIVE";
@@ -4087,17 +4248,13 @@ export declare const OPERATION_TABLE: {
4087
4248
  gitRepoFullName: string | null;
4088
4249
  envBranchPrefix: string | null;
4089
4250
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4251
+ releaseTagPrefix: string;
4090
4252
  createdAt: string;
4091
4253
  updatedAt: string;
4092
4254
  }, {
4093
4255
  id: string;
4094
4256
  organizationId: string | null;
4095
4257
  name: string;
4096
- sellerLaunchRefusal?: {
4097
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4098
- settingsUrl: string;
4099
- message: string;
4100
- };
4101
4258
  displayName: string | null;
4102
4259
  description: string | null;
4103
4260
  status: "DRAFT" | "ACTIVE";
@@ -4122,6 +4279,7 @@ export declare const OPERATION_TABLE: {
4122
4279
  gitRepoFullName: string | null;
4123
4280
  envBranchPrefix: string | null;
4124
4281
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4282
+ releaseTagPrefix: string;
4125
4283
  createdAt: string;
4126
4284
  updatedAt: string;
4127
4285
  }, false>;
@@ -4131,11 +4289,6 @@ export declare const OPERATION_TABLE: {
4131
4289
  id: string;
4132
4290
  organizationId: string | null;
4133
4291
  name: string;
4134
- sellerLaunchRefusal?: {
4135
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4136
- settingsUrl: string;
4137
- message: string;
4138
- };
4139
4292
  displayName: string | null;
4140
4293
  description: string | null;
4141
4294
  status: "DRAFT" | "ACTIVE";
@@ -4160,21 +4313,26 @@ export declare const OPERATION_TABLE: {
4160
4313
  gitRepoFullName: string | null;
4161
4314
  envBranchPrefix: string | null;
4162
4315
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4316
+ releaseTagPrefix: string;
4163
4317
  createdAt: string;
4164
4318
  updatedAt: string;
4165
4319
  usageUnitLabels?: {
4166
4320
  [key: string]: string;
4167
4321
  };
4168
4322
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
4323
+ launchRequirements: {
4324
+ obligation: "account.agreements_accepted" | "seller.details_complete";
4325
+ summary: string;
4326
+ missing: string[];
4327
+ fix: {
4328
+ label: string;
4329
+ url: string;
4330
+ };
4331
+ }[];
4169
4332
  }, {
4170
4333
  id: string;
4171
4334
  organizationId: string | null;
4172
4335
  name: string;
4173
- sellerLaunchRefusal?: {
4174
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4175
- settingsUrl: string;
4176
- message: string;
4177
- };
4178
4336
  displayName: string | null;
4179
4337
  description: string | null;
4180
4338
  status: "DRAFT" | "ACTIVE";
@@ -4199,12 +4357,22 @@ export declare const OPERATION_TABLE: {
4199
4357
  gitRepoFullName: string | null;
4200
4358
  envBranchPrefix: string | null;
4201
4359
  previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
4360
+ releaseTagPrefix: string;
4202
4361
  createdAt: string;
4203
4362
  updatedAt: string;
4204
4363
  usageUnitLabels?: {
4205
4364
  [key: string]: string;
4206
4365
  };
4207
4366
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
4367
+ launchRequirements: {
4368
+ obligation: "account.agreements_accepted" | "seller.details_complete";
4369
+ summary: string;
4370
+ missing: string[];
4371
+ fix: {
4372
+ label: string;
4373
+ url: string;
4374
+ };
4375
+ }[];
4208
4376
  }, false>;
4209
4377
  "businesses.rbac.enable": import("./define.js").OperationEntry<{
4210
4378
  businessId: string;
@@ -4322,15 +4490,18 @@ export declare const OPERATION_TABLE: {
4322
4490
  } & {
4323
4491
  name: string;
4324
4492
  slug?: string;
4493
+ scope?: string;
4325
4494
  environmentId?: string | null;
4326
4495
  transportMode?: "direct" | "tunnel";
4327
4496
  runner?: "embedded" | "sidecar" | null;
4328
4497
  runtime?: string | null;
4329
4498
  originUrl?: string | null;
4499
+ originTemplate?: string | null;
4330
4500
  isDefault?: boolean;
4331
4501
  }, {
4332
4502
  id: string;
4333
4503
  businessId: string;
4504
+ scope: string;
4334
4505
  environmentId: string | null;
4335
4506
  name: string;
4336
4507
  slug: string;
@@ -4338,15 +4509,24 @@ export declare const OPERATION_TABLE: {
4338
4509
  runner: ("embedded" | "sidecar") | null;
4339
4510
  runtime: string | null;
4340
4511
  originUrl: string | null;
4512
+ originTemplate: string | null;
4341
4513
  isDefault: boolean;
4342
4514
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4343
4515
  lastSeenAt: string | null;
4344
4516
  createdAt: string;
4345
4517
  updated?: true;
4518
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
4519
+ defaultKey?: {
4520
+ id: string;
4521
+ lastFour: string;
4522
+ envVars: ["FS_SECRET_KEY"];
4523
+ token: string;
4524
+ };
4346
4525
  }, {
4347
4526
  action: "create" | "update";
4348
4527
  backend: {
4349
4528
  businessId: string;
4529
+ scope: string;
4350
4530
  environmentId: string | null;
4351
4531
  name: string;
4352
4532
  slug: string;
@@ -4354,18 +4534,26 @@ export declare const OPERATION_TABLE: {
4354
4534
  runner: ("embedded" | "sidecar") | null;
4355
4535
  runtime: string | null;
4356
4536
  originUrl: string | null;
4537
+ originTemplate: string | null;
4357
4538
  isDefault: boolean;
4358
4539
  };
4359
4540
  }, true>;
4360
4541
  "backends.bind": import("./define.js").OperationEntry<{
4361
4542
  businessId: string;
4362
- } & {
4543
+ } & ({
4363
4544
  backend: string;
4545
+ scope?: string;
4364
4546
  environmentId?: string | null;
4547
+ } & ({
4365
4548
  originUrl: string;
4366
- }, {
4549
+ originTemplate?: never;
4550
+ } | {
4551
+ originTemplate: string;
4552
+ originUrl?: never;
4553
+ })), {
4367
4554
  id: string;
4368
4555
  businessId: string;
4556
+ scope: string;
4369
4557
  environmentId: string | null;
4370
4558
  name: string;
4371
4559
  slug: string;
@@ -4373,13 +4561,22 @@ export declare const OPERATION_TABLE: {
4373
4561
  runner: ("embedded" | "sidecar") | null;
4374
4562
  runtime: string | null;
4375
4563
  originUrl: string | null;
4564
+ originTemplate: string | null;
4376
4565
  isDefault: boolean;
4377
4566
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4378
4567
  lastSeenAt: string | null;
4379
4568
  createdAt: string;
4569
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
4570
+ defaultKey?: {
4571
+ id: string;
4572
+ lastFour: string;
4573
+ envVars: ["FS_SECRET_KEY"];
4574
+ token: string;
4575
+ };
4380
4576
  }, {
4381
4577
  id: string;
4382
4578
  businessId: string;
4579
+ scope: string;
4383
4580
  environmentId: string | null;
4384
4581
  name: string;
4385
4582
  slug: string;
@@ -4387,6 +4584,7 @@ export declare const OPERATION_TABLE: {
4387
4584
  runner: ("embedded" | "sidecar") | null;
4388
4585
  runtime: string | null;
4389
4586
  originUrl: string | null;
4587
+ originTemplate: string | null;
4390
4588
  isDefault: boolean;
4391
4589
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4392
4590
  lastSeenAt: string | null;
@@ -4403,14 +4601,14 @@ export declare const OPERATION_TABLE: {
4403
4601
  id: string;
4404
4602
  deleted: true;
4405
4603
  }, false>;
4406
- "runtimeTokens.read": import("./define.js").OperationEntry<{
4604
+ "secretKeys.read": import("./define.js").OperationEntry<{
4407
4605
  businessId: string;
4408
4606
  } & {
4409
4607
  environmentId?: string;
4410
4608
  limit?: number;
4411
4609
  offset?: number;
4412
4610
  }, {
4413
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
4611
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
4414
4612
  pagination: {
4415
4613
  total: number;
4416
4614
  limit: number;
@@ -4420,7 +4618,7 @@ export declare const OPERATION_TABLE: {
4420
4618
  scope: "all" | "production" | "environment";
4421
4619
  environmentId: string | null;
4422
4620
  }, {
4423
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
4621
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
4424
4622
  pagination: {
4425
4623
  total: number;
4426
4624
  limit: number;
@@ -4430,9 +4628,10 @@ export declare const OPERATION_TABLE: {
4430
4628
  scope: "all" | "production" | "environment";
4431
4629
  environmentId: string | null;
4432
4630
  }, false>;
4433
- "runtimeTokens.mint": import("./define.js").OperationEntry<{
4631
+ "secretKeys.mint": import("./define.js").OperationEntry<{
4434
4632
  businessId: string;
4435
4633
  } & {
4634
+ scope?: string;
4436
4635
  environmentId?: string | null;
4437
4636
  backendId?: string | null;
4438
4637
  kind?: "live" | "test";
@@ -4442,11 +4641,13 @@ export declare const OPERATION_TABLE: {
4442
4641
  }, {
4443
4642
  id: string;
4444
4643
  businessId: string;
4644
+ scope: string;
4445
4645
  environmentId: string | null;
4446
4646
  backendId: string | null;
4647
+ isDefault: boolean;
4447
4648
  kind: "live" | "test";
4448
4649
  lastFour: string;
4449
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4650
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4450
4651
  allowedMeters: string[];
4451
4652
  allowedRoutes: string[];
4452
4653
  status: "active" | "revoked";
@@ -4454,16 +4655,18 @@ export declare const OPERATION_TABLE: {
4454
4655
  createdAt: string;
4455
4656
  revokedAt: string | null;
4456
4657
  lastUsedAt: string | null;
4457
- envVar: "FS_RUNTIME_TOKEN";
4658
+ envVar: "FS_SECRET_KEY";
4458
4659
  token: string;
4459
4660
  }, {
4460
4661
  id: string;
4461
4662
  businessId: string;
4663
+ scope: string;
4462
4664
  environmentId: string | null;
4463
4665
  backendId: string | null;
4666
+ isDefault: boolean;
4464
4667
  kind: "live" | "test";
4465
4668
  lastFour: string;
4466
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4669
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4467
4670
  allowedMeters: string[];
4468
4671
  allowedRoutes: string[];
4469
4672
  status: "active" | "revoked";
@@ -4471,21 +4674,23 @@ export declare const OPERATION_TABLE: {
4471
4674
  createdAt: string;
4472
4675
  revokedAt: string | null;
4473
4676
  lastUsedAt: string | null;
4474
- envVar: "FS_RUNTIME_TOKEN";
4677
+ envVar: "FS_SECRET_KEY";
4475
4678
  token: string;
4476
4679
  }, false>;
4477
- "runtimeTokens.rotate": import("./define.js").OperationEntry<{
4680
+ "secretKeys.rotate": import("./define.js").OperationEntry<{
4478
4681
  businessId: string;
4479
4682
  } & {
4480
4683
  tokenId: string;
4481
4684
  }, {
4482
4685
  id: string;
4483
4686
  businessId: string;
4687
+ scope: string;
4484
4688
  environmentId: string | null;
4485
4689
  backendId: string | null;
4690
+ isDefault: boolean;
4486
4691
  kind: "live" | "test";
4487
4692
  lastFour: string;
4488
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4693
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4489
4694
  allowedMeters: string[];
4490
4695
  allowedRoutes: string[];
4491
4696
  status: "active" | "revoked";
@@ -4493,16 +4698,18 @@ export declare const OPERATION_TABLE: {
4493
4698
  createdAt: string;
4494
4699
  revokedAt: string | null;
4495
4700
  lastUsedAt: string | null;
4496
- envVar: "FS_RUNTIME_TOKEN";
4701
+ envVar: "FS_SECRET_KEY";
4497
4702
  token: string;
4498
4703
  }, {
4499
4704
  id: string;
4500
4705
  businessId: string;
4706
+ scope: string;
4501
4707
  environmentId: string | null;
4502
4708
  backendId: string | null;
4709
+ isDefault: boolean;
4503
4710
  kind: "live" | "test";
4504
4711
  lastFour: string;
4505
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4712
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4506
4713
  allowedMeters: string[];
4507
4714
  allowedRoutes: string[];
4508
4715
  status: "active" | "revoked";
@@ -4510,21 +4717,23 @@ export declare const OPERATION_TABLE: {
4510
4717
  createdAt: string;
4511
4718
  revokedAt: string | null;
4512
4719
  lastUsedAt: string | null;
4513
- envVar: "FS_RUNTIME_TOKEN";
4720
+ envVar: "FS_SECRET_KEY";
4514
4721
  token: string;
4515
4722
  }, false>;
4516
- "runtimeTokens.revoke": import("./define.js").OperationEntry<{
4723
+ "secretKeys.revoke": import("./define.js").OperationEntry<{
4517
4724
  businessId: string;
4518
4725
  } & {
4519
4726
  tokenId: string;
4520
4727
  }, {
4521
4728
  id: string;
4522
4729
  businessId: string;
4730
+ scope: string;
4523
4731
  environmentId: string | null;
4524
4732
  backendId: string | null;
4733
+ isDefault: boolean;
4525
4734
  kind: "live" | "test";
4526
4735
  lastFour: string;
4527
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4736
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4528
4737
  allowedMeters: string[];
4529
4738
  allowedRoutes: string[];
4530
4739
  status: "active" | "revoked";
@@ -4535,11 +4744,13 @@ export declare const OPERATION_TABLE: {
4535
4744
  }, {
4536
4745
  id: string;
4537
4746
  businessId: string;
4747
+ scope: string;
4538
4748
  environmentId: string | null;
4539
4749
  backendId: string | null;
4750
+ isDefault: boolean;
4540
4751
  kind: "live" | "test";
4541
4752
  lastFour: string;
4542
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4753
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4543
4754
  allowedMeters: string[];
4544
4755
  allowedRoutes: string[];
4545
4756
  status: "active" | "revoked";
@@ -4598,7 +4809,7 @@ export declare const OPERATION_TABLE: {
4598
4809
  document: string;
4599
4810
  version: string;
4600
4811
  acceptedAt: string;
4601
- surface: string;
4812
+ source: string;
4602
4813
  }[];
4603
4814
  notificationPreferences: {
4604
4815
  businessId: string | null;
@@ -4664,7 +4875,7 @@ export declare const OPERATION_TABLE: {
4664
4875
  document: string;
4665
4876
  version: string;
4666
4877
  acceptedAt: string;
4667
- surface: string;
4878
+ source: string;
4668
4879
  }[];
4669
4880
  notificationPreferences: {
4670
4881
  businessId: string | null;
@@ -4705,22 +4916,40 @@ export declare const OPERATION_TABLE: {
4705
4916
  };
4706
4917
  }, false>;
4707
4918
  "platform.legal.read": import("./define.js").OperationEntry<void, {
4708
- accepted: ("terms" | "privacy" | "acceptableUse")[];
4709
- outstanding: ("terms" | "privacy" | "acceptableUse")[];
4919
+ accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4920
+ outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4710
4921
  requiredVersions: {
4711
4922
  terms: string;
4712
4923
  privacy: string;
4713
- acceptableUse: string;
4924
+ "acceptable-use": string;
4925
+ "builder-agreement": string;
4714
4926
  };
4927
+ upcoming: {
4928
+ document: "terms" | "privacy" | "acceptable-use" | "builder-agreement";
4929
+ version: string;
4930
+ effectiveOn: string;
4931
+ changeClass: "routine" | "material";
4932
+ summary: string;
4933
+ accepted: boolean;
4934
+ }[];
4715
4935
  dashboardUrl: string;
4716
4936
  }, {
4717
- accepted: ("terms" | "privacy" | "acceptableUse")[];
4718
- outstanding: ("terms" | "privacy" | "acceptableUse")[];
4937
+ accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4938
+ outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4719
4939
  requiredVersions: {
4720
4940
  terms: string;
4721
4941
  privacy: string;
4722
- acceptableUse: string;
4942
+ "acceptable-use": string;
4943
+ "builder-agreement": string;
4723
4944
  };
4945
+ upcoming: {
4946
+ document: "terms" | "privacy" | "acceptable-use" | "builder-agreement";
4947
+ version: string;
4948
+ effectiveOn: string;
4949
+ changeClass: "routine" | "material";
4950
+ summary: string;
4951
+ accepted: boolean;
4952
+ }[];
4724
4953
  dashboardUrl: string;
4725
4954
  }, false>;
4726
4955
  "auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext, import("../types.js").CallerContext, false>;
@@ -5162,5 +5391,5 @@ export declare const OPERATION_TABLE: {
5162
5391
  }, false>;
5163
5392
  };
5164
5393
  export type OperationTable = typeof OPERATION_TABLE;
5165
- /** A dotted method path, e.g. `"runtimeTokens.revoke"`. */
5394
+ /** A dotted method path, e.g. `"secretKeys.revoke"`. */
5166
5395
  export type MethodPath = Extract<keyof OperationTable, string>;