@farthershore/client 0.7.0 → 0.8.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";
@@ -3335,11 +3386,6 @@ export declare const OPERATION_TABLE: {
3335
3386
  id: string;
3336
3387
  organizationId: string | null;
3337
3388
  name: string;
3338
- sellerLaunchRefusal?: {
3339
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3340
- settingsUrl: string;
3341
- message: string;
3342
- };
3343
3389
  displayName: string | null;
3344
3390
  description: string | null;
3345
3391
  status: "DRAFT" | "ACTIVE";
@@ -3375,11 +3421,6 @@ export declare const OPERATION_TABLE: {
3375
3421
  id: string;
3376
3422
  organizationId: string | null;
3377
3423
  name: string;
3378
- sellerLaunchRefusal?: {
3379
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3380
- settingsUrl: string;
3381
- message: string;
3382
- };
3383
3424
  displayName: string | null;
3384
3425
  description: string | null;
3385
3426
  status: "DRAFT" | "ACTIVE";
@@ -3410,15 +3451,19 @@ export declare const OPERATION_TABLE: {
3410
3451
  [key: string]: string;
3411
3452
  };
3412
3453
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
3454
+ launchRequirements: {
3455
+ obligation: "account.agreements_accepted" | "seller.details_complete";
3456
+ summary: string;
3457
+ missing: string[];
3458
+ fix: {
3459
+ label: string;
3460
+ url: string;
3461
+ };
3462
+ }[];
3413
3463
  }, {
3414
3464
  id: string;
3415
3465
  organizationId: string | null;
3416
3466
  name: string;
3417
- sellerLaunchRefusal?: {
3418
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3419
- settingsUrl: string;
3420
- message: string;
3421
- };
3422
3467
  displayName: string | null;
3423
3468
  description: string | null;
3424
3469
  status: "DRAFT" | "ACTIVE";
@@ -3449,6 +3494,15 @@ export declare const OPERATION_TABLE: {
3449
3494
  [key: string]: string;
3450
3495
  };
3451
3496
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
3497
+ launchRequirements: {
3498
+ obligation: "account.agreements_accepted" | "seller.details_complete";
3499
+ summary: string;
3500
+ missing: string[];
3501
+ fix: {
3502
+ label: string;
3503
+ url: string;
3504
+ };
3505
+ }[];
3452
3506
  }, false>;
3453
3507
  "businesses.create": import("./define.js").OperationEntry<{
3454
3508
  name: string;
@@ -3466,6 +3520,12 @@ export declare const OPERATION_TABLE: {
3466
3520
  instructions: string;
3467
3521
  agentsMdUrl: string;
3468
3522
  };
3523
+ defaultKey?: {
3524
+ id: string;
3525
+ lastFour: string;
3526
+ envVars: ["FS_SECRET_KEY"];
3527
+ token: string;
3528
+ };
3469
3529
  }, {
3470
3530
  business: import("../generated/schemas.js").components["schemas"]["Business"];
3471
3531
  repo: {
@@ -3477,6 +3537,12 @@ export declare const OPERATION_TABLE: {
3477
3537
  instructions: string;
3478
3538
  agentsMdUrl: string;
3479
3539
  };
3540
+ defaultKey?: {
3541
+ id: string;
3542
+ lastFour: string;
3543
+ envVars: ["FS_SECRET_KEY"];
3544
+ token: string;
3545
+ };
3480
3546
  }, false>;
3481
3547
  "businesses.routes.read": import("./define.js").OperationEntry<{
3482
3548
  businessId: string;
@@ -3612,11 +3678,6 @@ export declare const OPERATION_TABLE: {
3612
3678
  id: string;
3613
3679
  organizationId: string | null;
3614
3680
  name: string;
3615
- sellerLaunchRefusal?: {
3616
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3617
- settingsUrl: string;
3618
- message: string;
3619
- };
3620
3681
  displayName: string | null;
3621
3682
  description: string | null;
3622
3683
  status: "DRAFT" | "ACTIVE";
@@ -3648,11 +3709,6 @@ export declare const OPERATION_TABLE: {
3648
3709
  id: string;
3649
3710
  organizationId: string | null;
3650
3711
  name: string;
3651
- sellerLaunchRefusal?: {
3652
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3653
- settingsUrl: string;
3654
- message: string;
3655
- };
3656
3712
  displayName: string | null;
3657
3713
  description: string | null;
3658
3714
  status: "DRAFT" | "ACTIVE";
@@ -3742,11 +3798,6 @@ export declare const OPERATION_TABLE: {
3742
3798
  id: string;
3743
3799
  organizationId: string | null;
3744
3800
  name: string;
3745
- sellerLaunchRefusal?: {
3746
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3747
- settingsUrl: string;
3748
- message: string;
3749
- };
3750
3801
  displayName: string | null;
3751
3802
  description: string | null;
3752
3803
  status: "DRAFT" | "ACTIVE";
@@ -3777,11 +3828,6 @@ export declare const OPERATION_TABLE: {
3777
3828
  id: string;
3778
3829
  organizationId: string | null;
3779
3830
  name: string;
3780
- sellerLaunchRefusal?: {
3781
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3782
- settingsUrl: string;
3783
- message: string;
3784
- };
3785
3831
  displayName: string | null;
3786
3832
  description: string | null;
3787
3833
  status: "DRAFT" | "ACTIVE";
@@ -3831,11 +3877,6 @@ export declare const OPERATION_TABLE: {
3831
3877
  id: string;
3832
3878
  organizationId: string | null;
3833
3879
  name: string;
3834
- sellerLaunchRefusal?: {
3835
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3836
- settingsUrl: string;
3837
- message: string;
3838
- };
3839
3880
  displayName: string | null;
3840
3881
  description: string | null;
3841
3882
  status: "DRAFT" | "ACTIVE";
@@ -3866,11 +3907,6 @@ export declare const OPERATION_TABLE: {
3866
3907
  id: string;
3867
3908
  organizationId: string | null;
3868
3909
  name: string;
3869
- sellerLaunchRefusal?: {
3870
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3871
- settingsUrl: string;
3872
- message: string;
3873
- };
3874
3910
  displayName: string | null;
3875
3911
  description: string | null;
3876
3912
  status: "DRAFT" | "ACTIVE";
@@ -3906,11 +3942,6 @@ export declare const OPERATION_TABLE: {
3906
3942
  id: string;
3907
3943
  organizationId: string | null;
3908
3944
  name: string;
3909
- sellerLaunchRefusal?: {
3910
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3911
- settingsUrl: string;
3912
- message: string;
3913
- };
3914
3945
  displayName: string | null;
3915
3946
  description: string | null;
3916
3947
  status: "DRAFT" | "ACTIVE";
@@ -3941,11 +3972,6 @@ export declare const OPERATION_TABLE: {
3941
3972
  id: string;
3942
3973
  organizationId: string | null;
3943
3974
  name: string;
3944
- sellerLaunchRefusal?: {
3945
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3946
- settingsUrl: string;
3947
- message: string;
3948
- };
3949
3975
  displayName: string | null;
3950
3976
  description: string | null;
3951
3977
  status: "DRAFT" | "ACTIVE";
@@ -3981,11 +4007,6 @@ export declare const OPERATION_TABLE: {
3981
4007
  id: string;
3982
4008
  organizationId: string | null;
3983
4009
  name: string;
3984
- sellerLaunchRefusal?: {
3985
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
3986
- settingsUrl: string;
3987
- message: string;
3988
- };
3989
4010
  displayName: string | null;
3990
4011
  description: string | null;
3991
4012
  status: "DRAFT" | "ACTIVE";
@@ -4016,11 +4037,6 @@ export declare const OPERATION_TABLE: {
4016
4037
  id: string;
4017
4038
  organizationId: string | null;
4018
4039
  name: string;
4019
- sellerLaunchRefusal?: {
4020
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4021
- settingsUrl: string;
4022
- message: string;
4023
- };
4024
4040
  displayName: string | null;
4025
4041
  description: string | null;
4026
4042
  status: "DRAFT" | "ACTIVE";
@@ -4058,11 +4074,6 @@ export declare const OPERATION_TABLE: {
4058
4074
  id: string;
4059
4075
  organizationId: string | null;
4060
4076
  name: string;
4061
- sellerLaunchRefusal?: {
4062
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4063
- settingsUrl: string;
4064
- message: string;
4065
- };
4066
4077
  displayName: string | null;
4067
4078
  description: string | null;
4068
4079
  status: "DRAFT" | "ACTIVE";
@@ -4093,11 +4104,6 @@ export declare const OPERATION_TABLE: {
4093
4104
  id: string;
4094
4105
  organizationId: string | null;
4095
4106
  name: string;
4096
- sellerLaunchRefusal?: {
4097
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4098
- settingsUrl: string;
4099
- message: string;
4100
- };
4101
4107
  displayName: string | null;
4102
4108
  description: string | null;
4103
4109
  status: "DRAFT" | "ACTIVE";
@@ -4131,11 +4137,6 @@ export declare const OPERATION_TABLE: {
4131
4137
  id: string;
4132
4138
  organizationId: string | null;
4133
4139
  name: string;
4134
- sellerLaunchRefusal?: {
4135
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4136
- settingsUrl: string;
4137
- message: string;
4138
- };
4139
4140
  displayName: string | null;
4140
4141
  description: string | null;
4141
4142
  status: "DRAFT" | "ACTIVE";
@@ -4166,15 +4167,19 @@ export declare const OPERATION_TABLE: {
4166
4167
  [key: string]: string;
4167
4168
  };
4168
4169
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
4170
+ launchRequirements: {
4171
+ obligation: "account.agreements_accepted" | "seller.details_complete";
4172
+ summary: string;
4173
+ missing: string[];
4174
+ fix: {
4175
+ label: string;
4176
+ url: string;
4177
+ };
4178
+ }[];
4169
4179
  }, {
4170
4180
  id: string;
4171
4181
  organizationId: string | null;
4172
4182
  name: string;
4173
- sellerLaunchRefusal?: {
4174
- code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
4175
- settingsUrl: string;
4176
- message: string;
4177
- };
4178
4183
  displayName: string | null;
4179
4184
  description: string | null;
4180
4185
  status: "DRAFT" | "ACTIVE";
@@ -4205,6 +4210,15 @@ export declare const OPERATION_TABLE: {
4205
4210
  [key: string]: string;
4206
4211
  };
4207
4212
  environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
4213
+ launchRequirements: {
4214
+ obligation: "account.agreements_accepted" | "seller.details_complete";
4215
+ summary: string;
4216
+ missing: string[];
4217
+ fix: {
4218
+ label: string;
4219
+ url: string;
4220
+ };
4221
+ }[];
4208
4222
  }, false>;
4209
4223
  "businesses.rbac.enable": import("./define.js").OperationEntry<{
4210
4224
  businessId: string;
@@ -4322,15 +4336,18 @@ export declare const OPERATION_TABLE: {
4322
4336
  } & {
4323
4337
  name: string;
4324
4338
  slug?: string;
4339
+ scope?: string;
4325
4340
  environmentId?: string | null;
4326
4341
  transportMode?: "direct" | "tunnel";
4327
4342
  runner?: "embedded" | "sidecar" | null;
4328
4343
  runtime?: string | null;
4329
4344
  originUrl?: string | null;
4345
+ originTemplate?: string | null;
4330
4346
  isDefault?: boolean;
4331
4347
  }, {
4332
4348
  id: string;
4333
4349
  businessId: string;
4350
+ scope: string;
4334
4351
  environmentId: string | null;
4335
4352
  name: string;
4336
4353
  slug: string;
@@ -4338,15 +4355,24 @@ export declare const OPERATION_TABLE: {
4338
4355
  runner: ("embedded" | "sidecar") | null;
4339
4356
  runtime: string | null;
4340
4357
  originUrl: string | null;
4358
+ originTemplate: string | null;
4341
4359
  isDefault: boolean;
4342
4360
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4343
4361
  lastSeenAt: string | null;
4344
4362
  createdAt: string;
4345
4363
  updated?: true;
4364
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
4365
+ defaultKey?: {
4366
+ id: string;
4367
+ lastFour: string;
4368
+ envVars: ["FS_SECRET_KEY"];
4369
+ token: string;
4370
+ };
4346
4371
  }, {
4347
4372
  action: "create" | "update";
4348
4373
  backend: {
4349
4374
  businessId: string;
4375
+ scope: string;
4350
4376
  environmentId: string | null;
4351
4377
  name: string;
4352
4378
  slug: string;
@@ -4354,18 +4380,26 @@ export declare const OPERATION_TABLE: {
4354
4380
  runner: ("embedded" | "sidecar") | null;
4355
4381
  runtime: string | null;
4356
4382
  originUrl: string | null;
4383
+ originTemplate: string | null;
4357
4384
  isDefault: boolean;
4358
4385
  };
4359
4386
  }, true>;
4360
4387
  "backends.bind": import("./define.js").OperationEntry<{
4361
4388
  businessId: string;
4362
- } & {
4389
+ } & ({
4363
4390
  backend: string;
4391
+ scope?: string;
4364
4392
  environmentId?: string | null;
4393
+ } & ({
4365
4394
  originUrl: string;
4366
- }, {
4395
+ originTemplate?: never;
4396
+ } | {
4397
+ originTemplate: string;
4398
+ originUrl?: never;
4399
+ })), {
4367
4400
  id: string;
4368
4401
  businessId: string;
4402
+ scope: string;
4369
4403
  environmentId: string | null;
4370
4404
  name: string;
4371
4405
  slug: string;
@@ -4373,13 +4407,22 @@ export declare const OPERATION_TABLE: {
4373
4407
  runner: ("embedded" | "sidecar") | null;
4374
4408
  runtime: string | null;
4375
4409
  originUrl: string | null;
4410
+ originTemplate: string | null;
4376
4411
  isDefault: boolean;
4377
4412
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4378
4413
  lastSeenAt: string | null;
4379
4414
  createdAt: string;
4415
+ webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
4416
+ defaultKey?: {
4417
+ id: string;
4418
+ lastFour: string;
4419
+ envVars: ["FS_SECRET_KEY"];
4420
+ token: string;
4421
+ };
4380
4422
  }, {
4381
4423
  id: string;
4382
4424
  businessId: string;
4425
+ scope: string;
4383
4426
  environmentId: string | null;
4384
4427
  name: string;
4385
4428
  slug: string;
@@ -4387,6 +4430,7 @@ export declare const OPERATION_TABLE: {
4387
4430
  runner: ("embedded" | "sidecar") | null;
4388
4431
  runtime: string | null;
4389
4432
  originUrl: string | null;
4433
+ originTemplate: string | null;
4390
4434
  isDefault: boolean;
4391
4435
  status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
4392
4436
  lastSeenAt: string | null;
@@ -4403,14 +4447,14 @@ export declare const OPERATION_TABLE: {
4403
4447
  id: string;
4404
4448
  deleted: true;
4405
4449
  }, false>;
4406
- "runtimeTokens.read": import("./define.js").OperationEntry<{
4450
+ "secretKeys.read": import("./define.js").OperationEntry<{
4407
4451
  businessId: string;
4408
4452
  } & {
4409
4453
  environmentId?: string;
4410
4454
  limit?: number;
4411
4455
  offset?: number;
4412
4456
  }, {
4413
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
4457
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
4414
4458
  pagination: {
4415
4459
  total: number;
4416
4460
  limit: number;
@@ -4420,7 +4464,7 @@ export declare const OPERATION_TABLE: {
4420
4464
  scope: "all" | "production" | "environment";
4421
4465
  environmentId: string | null;
4422
4466
  }, {
4423
- data: import("../generated/schemas.js").components["schemas"]["RuntimeToken"][];
4467
+ data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
4424
4468
  pagination: {
4425
4469
  total: number;
4426
4470
  limit: number;
@@ -4430,9 +4474,10 @@ export declare const OPERATION_TABLE: {
4430
4474
  scope: "all" | "production" | "environment";
4431
4475
  environmentId: string | null;
4432
4476
  }, false>;
4433
- "runtimeTokens.mint": import("./define.js").OperationEntry<{
4477
+ "secretKeys.mint": import("./define.js").OperationEntry<{
4434
4478
  businessId: string;
4435
4479
  } & {
4480
+ scope?: string;
4436
4481
  environmentId?: string | null;
4437
4482
  backendId?: string | null;
4438
4483
  kind?: "live" | "test";
@@ -4442,11 +4487,13 @@ export declare const OPERATION_TABLE: {
4442
4487
  }, {
4443
4488
  id: string;
4444
4489
  businessId: string;
4490
+ scope: string;
4445
4491
  environmentId: string | null;
4446
4492
  backendId: string | null;
4493
+ isDefault: boolean;
4447
4494
  kind: "live" | "test";
4448
4495
  lastFour: string;
4449
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4496
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4450
4497
  allowedMeters: string[];
4451
4498
  allowedRoutes: string[];
4452
4499
  status: "active" | "revoked";
@@ -4454,16 +4501,18 @@ export declare const OPERATION_TABLE: {
4454
4501
  createdAt: string;
4455
4502
  revokedAt: string | null;
4456
4503
  lastUsedAt: string | null;
4457
- envVar: "FS_RUNTIME_TOKEN";
4504
+ envVar: "FS_SECRET_KEY";
4458
4505
  token: string;
4459
4506
  }, {
4460
4507
  id: string;
4461
4508
  businessId: string;
4509
+ scope: string;
4462
4510
  environmentId: string | null;
4463
4511
  backendId: string | null;
4512
+ isDefault: boolean;
4464
4513
  kind: "live" | "test";
4465
4514
  lastFour: string;
4466
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4515
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4467
4516
  allowedMeters: string[];
4468
4517
  allowedRoutes: string[];
4469
4518
  status: "active" | "revoked";
@@ -4471,21 +4520,23 @@ export declare const OPERATION_TABLE: {
4471
4520
  createdAt: string;
4472
4521
  revokedAt: string | null;
4473
4522
  lastUsedAt: string | null;
4474
- envVar: "FS_RUNTIME_TOKEN";
4523
+ envVar: "FS_SECRET_KEY";
4475
4524
  token: string;
4476
4525
  }, false>;
4477
- "runtimeTokens.rotate": import("./define.js").OperationEntry<{
4526
+ "secretKeys.rotate": import("./define.js").OperationEntry<{
4478
4527
  businessId: string;
4479
4528
  } & {
4480
4529
  tokenId: string;
4481
4530
  }, {
4482
4531
  id: string;
4483
4532
  businessId: string;
4533
+ scope: string;
4484
4534
  environmentId: string | null;
4485
4535
  backendId: string | null;
4536
+ isDefault: boolean;
4486
4537
  kind: "live" | "test";
4487
4538
  lastFour: string;
4488
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4539
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4489
4540
  allowedMeters: string[];
4490
4541
  allowedRoutes: string[];
4491
4542
  status: "active" | "revoked";
@@ -4493,16 +4544,18 @@ export declare const OPERATION_TABLE: {
4493
4544
  createdAt: string;
4494
4545
  revokedAt: string | null;
4495
4546
  lastUsedAt: string | null;
4496
- envVar: "FS_RUNTIME_TOKEN";
4547
+ envVar: "FS_SECRET_KEY";
4497
4548
  token: string;
4498
4549
  }, {
4499
4550
  id: string;
4500
4551
  businessId: string;
4552
+ scope: string;
4501
4553
  environmentId: string | null;
4502
4554
  backendId: string | null;
4555
+ isDefault: boolean;
4503
4556
  kind: "live" | "test";
4504
4557
  lastFour: string;
4505
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4558
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4506
4559
  allowedMeters: string[];
4507
4560
  allowedRoutes: string[];
4508
4561
  status: "active" | "revoked";
@@ -4510,21 +4563,23 @@ export declare const OPERATION_TABLE: {
4510
4563
  createdAt: string;
4511
4564
  revokedAt: string | null;
4512
4565
  lastUsedAt: string | null;
4513
- envVar: "FS_RUNTIME_TOKEN";
4566
+ envVar: "FS_SECRET_KEY";
4514
4567
  token: string;
4515
4568
  }, false>;
4516
- "runtimeTokens.revoke": import("./define.js").OperationEntry<{
4569
+ "secretKeys.revoke": import("./define.js").OperationEntry<{
4517
4570
  businessId: string;
4518
4571
  } & {
4519
4572
  tokenId: string;
4520
4573
  }, {
4521
4574
  id: string;
4522
4575
  businessId: string;
4576
+ scope: string;
4523
4577
  environmentId: string | null;
4524
4578
  backendId: string | null;
4579
+ isDefault: boolean;
4525
4580
  kind: "live" | "test";
4526
4581
  lastFour: string;
4527
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4582
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4528
4583
  allowedMeters: string[];
4529
4584
  allowedRoutes: string[];
4530
4585
  status: "active" | "revoked";
@@ -4535,11 +4590,13 @@ export declare const OPERATION_TABLE: {
4535
4590
  }, {
4536
4591
  id: string;
4537
4592
  businessId: string;
4593
+ scope: string;
4538
4594
  environmentId: string | null;
4539
4595
  backendId: string | null;
4596
+ isDefault: boolean;
4540
4597
  kind: "live" | "test";
4541
4598
  lastFour: string;
4542
- operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
4599
+ operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
4543
4600
  allowedMeters: string[];
4544
4601
  allowedRoutes: string[];
4545
4602
  status: "active" | "revoked";
@@ -4598,7 +4655,7 @@ export declare const OPERATION_TABLE: {
4598
4655
  document: string;
4599
4656
  version: string;
4600
4657
  acceptedAt: string;
4601
- surface: string;
4658
+ source: string;
4602
4659
  }[];
4603
4660
  notificationPreferences: {
4604
4661
  businessId: string | null;
@@ -4664,7 +4721,7 @@ export declare const OPERATION_TABLE: {
4664
4721
  document: string;
4665
4722
  version: string;
4666
4723
  acceptedAt: string;
4667
- surface: string;
4724
+ source: string;
4668
4725
  }[];
4669
4726
  notificationPreferences: {
4670
4727
  businessId: string | null;
@@ -4705,22 +4762,40 @@ export declare const OPERATION_TABLE: {
4705
4762
  };
4706
4763
  }, false>;
4707
4764
  "platform.legal.read": import("./define.js").OperationEntry<void, {
4708
- accepted: ("terms" | "privacy" | "acceptableUse")[];
4709
- outstanding: ("terms" | "privacy" | "acceptableUse")[];
4765
+ accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4766
+ outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4710
4767
  requiredVersions: {
4711
4768
  terms: string;
4712
4769
  privacy: string;
4713
- acceptableUse: string;
4770
+ "acceptable-use": string;
4771
+ "builder-agreement": string;
4714
4772
  };
4773
+ upcoming: {
4774
+ document: "terms" | "privacy" | "acceptable-use" | "builder-agreement";
4775
+ version: string;
4776
+ effectiveOn: string;
4777
+ changeClass: "routine" | "material";
4778
+ summary: string;
4779
+ accepted: boolean;
4780
+ }[];
4715
4781
  dashboardUrl: string;
4716
4782
  }, {
4717
- accepted: ("terms" | "privacy" | "acceptableUse")[];
4718
- outstanding: ("terms" | "privacy" | "acceptableUse")[];
4783
+ accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4784
+ outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
4719
4785
  requiredVersions: {
4720
4786
  terms: string;
4721
4787
  privacy: string;
4722
- acceptableUse: string;
4788
+ "acceptable-use": string;
4789
+ "builder-agreement": string;
4723
4790
  };
4791
+ upcoming: {
4792
+ document: "terms" | "privacy" | "acceptable-use" | "builder-agreement";
4793
+ version: string;
4794
+ effectiveOn: string;
4795
+ changeClass: "routine" | "material";
4796
+ summary: string;
4797
+ accepted: boolean;
4798
+ }[];
4724
4799
  dashboardUrl: string;
4725
4800
  }, false>;
4726
4801
  "auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext, import("../types.js").CallerContext, false>;
@@ -5162,5 +5237,5 @@ export declare const OPERATION_TABLE: {
5162
5237
  }, false>;
5163
5238
  };
5164
5239
  export type OperationTable = typeof OPERATION_TABLE;
5165
- /** A dotted method path, e.g. `"runtimeTokens.revoke"`. */
5240
+ /** A dotted method path, e.g. `"secretKeys.revoke"`. */
5166
5241
  export type MethodPath = Extract<keyof OperationTable, string>;