@farthershore/client 0.0.0-stage → 0.1.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +251 -2
  3. package/dist/index.js +6997 -0
  4. package/dist/types/api.generated.d.ts +1356 -0
  5. package/dist/types/credentials.d.ts +78 -0
  6. package/dist/types/envelope.d.ts +48 -0
  7. package/dist/types/errors.d.ts +86 -0
  8. package/dist/types/helpers/abort.d.ts +7 -0
  9. package/dist/types/helpers/paginate.d.ts +32 -0
  10. package/dist/types/helpers/poll.d.ts +26 -0
  11. package/dist/types/helpers/refs.d.ts +84 -0
  12. package/dist/types/helpers/wait-for-frontend-build.d.ts +43 -0
  13. package/dist/types/index.d.ts +24 -0
  14. package/dist/types/operations/agents.d.ts +48 -0
  15. package/dist/types/operations/agreements.d.ts +44 -0
  16. package/dist/types/operations/analytics.d.ts +25 -0
  17. package/dist/types/operations/audit-notifications.d.ts +33 -0
  18. package/dist/types/operations/auth.d.ts +16 -0
  19. package/dist/types/operations/backends.d.ts +53 -0
  20. package/dist/types/operations/billing.d.ts +15 -0
  21. package/dist/types/operations/businesses.d.ts +92 -0
  22. package/dist/types/operations/change-sets.d.ts +43 -0
  23. package/dist/types/operations/consumers.d.ts +49 -0
  24. package/dist/types/operations/define.d.ts +91 -0
  25. package/dist/types/operations/environments.d.ts +19 -0
  26. package/dist/types/operations/frontend.d.ts +13 -0
  27. package/dist/types/operations/index.d.ts +1036 -0
  28. package/dist/types/operations/maker-tokens.d.ts +30 -0
  29. package/dist/types/operations/organizations.d.ts +71 -0
  30. package/dist/types/operations/personas.d.ts +46 -0
  31. package/dist/types/operations/plans-usage.d.ts +18 -0
  32. package/dist/types/operations/platform.d.ts +47 -0
  33. package/dist/types/operations/portal.d.ts +49 -0
  34. package/dist/types/operations/promo-codes.d.ts +19 -0
  35. package/dist/types/operations/variables.d.ts +25 -0
  36. package/dist/types/operations/webhooks.d.ts +67 -0
  37. package/dist/types/surface-types.d.ts +54 -0
  38. package/dist/types/surface.d.ts +35 -0
  39. package/dist/types/transport.d.ts +119 -0
  40. package/dist/types/types.d.ts +469 -0
  41. package/dist/types/version.d.ts +8 -0
  42. package/package.json +53 -3
@@ -0,0 +1,1036 @@
1
+ export declare const OPERATION_TABLE: {
2
+ "webhooks.read": import("./define.js").OperationEntry<{
3
+ businessId: string;
4
+ } & {
5
+ limit?: number | string;
6
+ offset?: number;
7
+ }, import("../types.js").PaginatedResult<import("../types.js").WebhookEndpoint>>;
8
+ "webhooks.create": import("./define.js").OperationEntry<{
9
+ businessId: string;
10
+ } & {
11
+ url: string;
12
+ events: string[];
13
+ environmentId?: string | null;
14
+ }, {
15
+ data: import("../types.js").WebhookEndpoint;
16
+ }>;
17
+ "webhooks.update": import("./define.js").OperationEntry<{
18
+ businessId: string;
19
+ } & {
20
+ webhookId: string;
21
+ } & {
22
+ url?: string;
23
+ events?: string[];
24
+ enabled?: boolean;
25
+ environmentId?: string | null;
26
+ }, {
27
+ data: import("../types.js").WebhookEndpoint;
28
+ }>;
29
+ "webhooks.delete": import("./define.js").OperationEntry<{
30
+ businessId: string;
31
+ } & {
32
+ webhookId: string;
33
+ }, {
34
+ data: {
35
+ deleted: boolean;
36
+ };
37
+ }>;
38
+ "webhooks.test": import("./define.js").OperationEntry<{
39
+ businessId: string;
40
+ } & {
41
+ webhookId: string;
42
+ } & {
43
+ type?: string;
44
+ }, import("../types.js").WebhookTestResult>;
45
+ "webhooks.trigger": import("./define.js").OperationEntry<{
46
+ businessId: string;
47
+ } & {
48
+ webhookId: string;
49
+ } & {
50
+ type: string;
51
+ }, import("../types.js").WebhookTestResult>;
52
+ "webhooks.rotateSecret": import("./define.js").OperationEntry<{
53
+ businessId: string;
54
+ } & {
55
+ webhookId: string;
56
+ }, {
57
+ data: import("../types.js").WebhookEndpoint & {
58
+ secret: string;
59
+ };
60
+ }>;
61
+ "webhooks.eventType.read": import("./define.js").OperationEntry<{
62
+ businessId: string;
63
+ }, {
64
+ data: {
65
+ events: Array<{
66
+ name: string;
67
+ description: string;
68
+ }>;
69
+ };
70
+ }>;
71
+ "webhooks.delivery.read": import("./define.js").OperationEntry<{
72
+ businessId: string;
73
+ } & {
74
+ webhookId: string;
75
+ } & {
76
+ limit?: number | string;
77
+ offset?: number | string;
78
+ }, import("../types.js").PaginatedResult<import("../types.js").WebhookDelivery>>;
79
+ "variables.read": import("./define.js").OperationEntry<{
80
+ businessId: string;
81
+ environmentId?: string;
82
+ }, import("../types.js").BusinessVariableRow[]>;
83
+ "variables.create": import("./define.js").OperationEntry<{
84
+ businessId: string;
85
+ name: string;
86
+ environmentId?: string;
87
+ } & {
88
+ value: string;
89
+ }, import("../types.js").SecretMutationOperation>;
90
+ "variables.rotate": import("./define.js").OperationEntry<{
91
+ businessId: string;
92
+ name: string;
93
+ environmentId?: string;
94
+ } & {
95
+ value: string;
96
+ }, import("../types.js").SecretMutationOperation>;
97
+ "variables.revoke": import("./define.js").OperationEntry<{
98
+ businessId: string;
99
+ name: string;
100
+ environmentId?: string;
101
+ }, import("../types.js").SecretMutationOperation>;
102
+ "variables.delete": import("./define.js").OperationEntry<{
103
+ businessId: string;
104
+ name: string;
105
+ environmentId?: string;
106
+ }, import("../types.js").SecretMutationOperation>;
107
+ "variables.operation.read": import("./define.js").OperationEntry<{
108
+ businessId: string;
109
+ operationId: string;
110
+ }, import("../types.js").SecretMutationOperation>;
111
+ "promoCodes.read": import("./define.js").OperationEntry<{
112
+ businessId: string;
113
+ }, import("../types.js").PromoCode[]>;
114
+ "promoCodes.create": import("./define.js").OperationEntry<{
115
+ businessId: string;
116
+ } & import("../types.js").CreatePromoCodeInput, import("../types.js").PromoCode>;
117
+ "promoCodes.update": import("./define.js").OperationEntry<{
118
+ businessId: string;
119
+ } & {
120
+ promoCodeId: string;
121
+ } & Partial<import("../types.js").CreatePromoCodeInput> & {
122
+ status?: import("../types.js").PromoCodeStatus;
123
+ }, import("../types.js").PromoCode>;
124
+ "promoCodes.archive": import("./define.js").OperationEntry<{
125
+ businessId: string;
126
+ } & {
127
+ promoCodeId: string;
128
+ }, import("../types.js").PromoCode>;
129
+ "promoCodes.reactivate": import("./define.js").OperationEntry<{
130
+ businessId: string;
131
+ } & {
132
+ promoCodeId: string;
133
+ }, import("../types.js").PromoCode>;
134
+ "portal.serviceAccounts.list": import("./define.js").OperationEntry<{
135
+ businessId: string;
136
+ } & {
137
+ limit?: number;
138
+ offset?: number;
139
+ }, unknown>;
140
+ "portal.serviceAccounts.create": import("./define.js").OperationEntry<{
141
+ businessId: string;
142
+ } & {
143
+ body: import("./define.js").RequestBody;
144
+ }, unknown>;
145
+ "portal.serviceAccounts.update": import("./define.js").OperationEntry<{
146
+ businessId: string;
147
+ } & {
148
+ serviceAccountId: string;
149
+ body: import("./define.js").RequestBody;
150
+ }, unknown>;
151
+ "portal.serviceAccounts.approvals": import("./define.js").OperationEntry<{
152
+ businessId: string;
153
+ } & {
154
+ limit?: number;
155
+ offset?: number;
156
+ }, unknown>;
157
+ "portal.serviceAccounts.approve": import("./define.js").OperationEntry<{
158
+ businessId: string;
159
+ } & {
160
+ approvalId: string;
161
+ body: import("./define.js").RequestBody;
162
+ }, unknown>;
163
+ "portal.serviceAccounts.deny": import("./define.js").OperationEntry<{
164
+ businessId: string;
165
+ } & {
166
+ approvalId: string;
167
+ }, unknown>;
168
+ "portal.serviceAccounts.rotate": import("./define.js").OperationEntry<{
169
+ businessId: string;
170
+ } & {
171
+ serviceAccountId: string;
172
+ }, unknown>;
173
+ "portal.serviceAccounts.revoke": import("./define.js").OperationEntry<{
174
+ businessId: string;
175
+ } & {
176
+ serviceAccountId: string;
177
+ }, void>;
178
+ "portal.usageLimits.list": import("./define.js").OperationEntry<{
179
+ businessId: string;
180
+ } & {
181
+ limit?: number;
182
+ offset?: number;
183
+ }, {
184
+ data: unknown[];
185
+ pagination: {
186
+ limit: number;
187
+ offset: number;
188
+ hasMore: boolean;
189
+ };
190
+ }>;
191
+ "portal.usageLimits.set": import("./define.js").OperationEntry<{
192
+ businessId: string;
193
+ } & {
194
+ limitId?: string;
195
+ body: import("./define.js").RequestBody;
196
+ }, unknown>;
197
+ "portal.usageLimits.remove": import("./define.js").OperationEntry<{
198
+ businessId: string;
199
+ } & {
200
+ limitId: string;
201
+ }, unknown>;
202
+ "platform.resourceCounts.report": import("./define.js").OperationEntry<{
203
+ businessId: string;
204
+ } & {
205
+ resource: string;
206
+ body: import("./define.js").RequestBody;
207
+ }, unknown>;
208
+ "platform.denials.read": import("./define.js").OperationEntry<{
209
+ businessId: string;
210
+ } & {
211
+ requestId: string;
212
+ }, unknown>;
213
+ "platform.dependents.read": import("./define.js").OperationEntry<{
214
+ businessId: string;
215
+ } & {
216
+ route: string;
217
+ since?: string;
218
+ environmentId?: string;
219
+ }, unknown>;
220
+ "platform.workflowControl.replay": import("./define.js").OperationEntry<{
221
+ body: import("./define.js").RequestBody;
222
+ }, unknown>;
223
+ "platform.workflowControl.rollback": import("./define.js").OperationEntry<{
224
+ body: import("./define.js").RequestBody;
225
+ }, unknown>;
226
+ "automationRules.read": import("./define.js").OperationEntry<{
227
+ businessId: string;
228
+ } & {
229
+ cursor?: string;
230
+ limit?: number;
231
+ } & {
232
+ env?: string;
233
+ }, unknown>;
234
+ "automationRules.get": import("./define.js").OperationEntry<{
235
+ businessId: string;
236
+ } & {
237
+ ruleId: string;
238
+ }, unknown>;
239
+ "automationRules.create": import("./define.js").OperationEntry<{
240
+ businessId: string;
241
+ } & {
242
+ body: import("./define.js").RequestBody;
243
+ }, unknown>;
244
+ "automationRules.update": import("./define.js").OperationEntry<{
245
+ businessId: string;
246
+ } & {
247
+ ruleId: string;
248
+ body: import("./define.js").RequestBody;
249
+ }, unknown>;
250
+ "automationRules.delete": import("./define.js").OperationEntry<{
251
+ businessId: string;
252
+ } & {
253
+ ruleId: string;
254
+ }, void>;
255
+ "knowledge.guide.read": import("./define.js").OperationEntry<{
256
+ cursor?: string;
257
+ limit?: number;
258
+ } | undefined, unknown>;
259
+ "knowledge.business.read": import("./define.js").OperationEntry<{
260
+ businessId: string;
261
+ } & {
262
+ cursor?: string;
263
+ limit?: number;
264
+ }, unknown>;
265
+ "plans.read": import("./define.js").OperationEntry<{
266
+ businessId: string;
267
+ environmentId?: string | null;
268
+ } & {
269
+ limit?: number;
270
+ offset?: number;
271
+ }, unknown>;
272
+ "usage.read": import("./define.js").OperationEntry<{
273
+ businessId: string;
274
+ environmentId?: string | null;
275
+ }, unknown>;
276
+ "usage.limits": import("./define.js").OperationEntry<{
277
+ businessId: string;
278
+ limit?: number;
279
+ offset?: number;
280
+ }, unknown>;
281
+ "personas.bootstrap": import("./define.js").OperationEntry<{
282
+ businessId: string;
283
+ environmentId: string;
284
+ } & {
285
+ planKey?: string;
286
+ compiledPlanId?: string;
287
+ scopes?: string[];
288
+ displayName?: string;
289
+ subscriberId?: string;
290
+ accountRole?: "owner" | "admin" | "member";
291
+ roleKeys?: string[];
292
+ }, unknown>;
293
+ "personas.read": import("./define.js").OperationEntry<{
294
+ businessId: string;
295
+ environmentId: string;
296
+ }, unknown>;
297
+ "personas.login": import("./define.js").OperationEntry<{
298
+ businessId: string;
299
+ environmentId: string;
300
+ } & {
301
+ personaId: string;
302
+ }, import("../types.js").PersonaHandoff>;
303
+ "personas.rotate": import("./define.js").OperationEntry<{
304
+ businessId: string;
305
+ environmentId: string;
306
+ } & {
307
+ personaId: string;
308
+ }, unknown>;
309
+ "personas.delete": import("./define.js").OperationEntry<{
310
+ businessId: string;
311
+ environmentId: string;
312
+ } & {
313
+ personaId: string;
314
+ }, unknown>;
315
+ "personas.localPreview.issue": import("./define.js").OperationEntry<{
316
+ businessId: string;
317
+ environmentId: string;
318
+ } & {
319
+ personaId: string;
320
+ } & {
321
+ localOrigin: string;
322
+ }, import("../types.js").PersonaLocalPreviewLease>;
323
+ "personas.localPreview.renew": import("./define.js").OperationEntry<{
324
+ businessId: string;
325
+ environmentId: string;
326
+ } & {
327
+ personaId: string;
328
+ } & {
329
+ localProxyLease: string;
330
+ localOrigin: string;
331
+ }, {
332
+ data: {
333
+ localProxyLease: string;
334
+ localProxyLeaseExpiresAt: string;
335
+ };
336
+ }>;
337
+ "personas.localPreview.revoke": import("./define.js").OperationEntry<{
338
+ businessId: string;
339
+ environmentId: string;
340
+ } & {
341
+ personaId: string;
342
+ } & {
343
+ localProxyLease: string;
344
+ localOrigin: string;
345
+ }, {
346
+ data: {
347
+ revoked: boolean;
348
+ };
349
+ }>;
350
+ "organizations.list": import("./define.js").OperationEntry<void, unknown>;
351
+ "organizations.create": import("./define.js").OperationEntry<{
352
+ name: string;
353
+ type: "team" | "company";
354
+ }, unknown>;
355
+ "organizations.delete": import("./define.js").OperationEntry<{
356
+ organizationId: string;
357
+ }, void>;
358
+ "organizations.overview.read": import("./define.js").OperationEntry<{
359
+ organizationId: string;
360
+ }, unknown>;
361
+ "organizations.bulletin.read": import("./define.js").OperationEntry<{
362
+ organizationId: string;
363
+ } & {
364
+ kind?: string;
365
+ status?: string;
366
+ cursor?: string;
367
+ limit?: number;
368
+ }, unknown>;
369
+ "organizations.role.list": import("./define.js").OperationEntry<{
370
+ organizationId: string;
371
+ } & {
372
+ query?: import("./define.js").ListQuery;
373
+ }, unknown>;
374
+ "organizations.role.show": import("./define.js").OperationEntry<{
375
+ organizationId: string;
376
+ } & {
377
+ roleKey: string;
378
+ }, unknown>;
379
+ "organizations.role.create": import("./define.js").OperationEntry<{
380
+ organizationId: string;
381
+ } & {
382
+ key: string;
383
+ name: string;
384
+ description?: string;
385
+ permissions: string[];
386
+ }, unknown>;
387
+ "organizations.role.update": import("./define.js").OperationEntry<{
388
+ organizationId: string;
389
+ } & {
390
+ roleKey: string;
391
+ } & {
392
+ name?: string;
393
+ description?: string | null;
394
+ permissions?: string[];
395
+ }, unknown>;
396
+ "organizations.role.delete": import("./define.js").OperationEntry<{
397
+ organizationId: string;
398
+ } & {
399
+ roleKey: string;
400
+ }, void>;
401
+ "organizations.member.list": import("./define.js").OperationEntry<{
402
+ organizationId: string;
403
+ } & {
404
+ query?: import("./define.js").ListQuery;
405
+ limit?: number;
406
+ offset?: number;
407
+ }, unknown>;
408
+ "organizations.member.update": import("./define.js").OperationEntry<{
409
+ organizationId: string;
410
+ } & {
411
+ memberUserId: string;
412
+ } & {
413
+ roleKey: string;
414
+ }, unknown>;
415
+ "organizations.member.remove": import("./define.js").OperationEntry<{
416
+ organizationId: string;
417
+ } & {
418
+ memberUserId: string;
419
+ }, void>;
420
+ "organizations.ownership.transfer": import("./define.js").OperationEntry<{
421
+ organizationId: string;
422
+ } & {
423
+ newOwnerUserId: string;
424
+ }, unknown>;
425
+ "organizations.invitation.create": import("./define.js").OperationEntry<{
426
+ organizationId: string;
427
+ } & {
428
+ email: string;
429
+ roleKey: string;
430
+ }, unknown>;
431
+ "organizations.invitation.list": import("./define.js").OperationEntry<void, unknown>;
432
+ "organizations.invitation.listSent": import("./define.js").OperationEntry<{
433
+ organizationId: string;
434
+ }, unknown>;
435
+ "organizations.invitation.revoke": import("./define.js").OperationEntry<{
436
+ organizationId: string;
437
+ } & {
438
+ invitationId: string;
439
+ }, void>;
440
+ "organizations.invitation.accept": import("./define.js").OperationEntry<{
441
+ invitationId: string;
442
+ token: string;
443
+ }, unknown>;
444
+ "makerTokens.permissionCatalog.read": import("./define.js").OperationEntry<void, import("../types.js").MakerTokenPermissionCatalog>;
445
+ "makerTokens.list": import("./define.js").OperationEntry<{
446
+ limit?: number;
447
+ offset?: number;
448
+ } | undefined, unknown>;
449
+ "makerTokens.create": import("./define.js").OperationEntry<{
450
+ name: string;
451
+ requestedPermissions: readonly string[];
452
+ businessScope?: unknown;
453
+ }, unknown>;
454
+ "makerTokens.update": import("./define.js").OperationEntry<{
455
+ tokenId: string;
456
+ } & {
457
+ requestedPermissions: readonly string[];
458
+ }, unknown>;
459
+ "makerTokens.approvalList": import("./define.js").OperationEntry<void, unknown>;
460
+ "makerTokens.approve": import("./define.js").OperationEntry<{
461
+ approvalId: string;
462
+ } & {
463
+ grantedPermissions?: readonly string[];
464
+ }, unknown>;
465
+ "makerTokens.deny": import("./define.js").OperationEntry<{
466
+ approvalId: string;
467
+ }, unknown>;
468
+ "makerTokens.rotate": import("./define.js").OperationEntry<{
469
+ tokenId: string;
470
+ }, unknown>;
471
+ "makerTokens.revoke": import("./define.js").OperationEntry<{
472
+ tokenId: string;
473
+ }, void>;
474
+ "frontend.status": import("./define.js").OperationEntry<{
475
+ businessId: string;
476
+ environmentId?: string;
477
+ ref?: string;
478
+ }, unknown>;
479
+ "frontend.rollback": import("./define.js").OperationEntry<{
480
+ businessId: string;
481
+ releaseId: string;
482
+ environmentId?: string;
483
+ }, unknown>;
484
+ "environments.read": import("./define.js").OperationEntry<{
485
+ businessId: string;
486
+ limit?: number;
487
+ offset?: number;
488
+ query?: import("./define.js").ListQuery;
489
+ }, import("../types.js").EnvironmentListResult>;
490
+ "environments.create": import("./define.js").OperationEntry<{
491
+ businessId: string;
492
+ name: string;
493
+ branch: string;
494
+ }, unknown>;
495
+ "environments.delete": import("./define.js").OperationEntry<{
496
+ businessId: string;
497
+ environment: string;
498
+ }, void>;
499
+ "consumers.read": import("./define.js").OperationEntry<{
500
+ businessId: string;
501
+ env?: string;
502
+ }, import("../types.js").BusinessConsumer[]>;
503
+ "consumers.block": import("./define.js").OperationEntry<{
504
+ businessId: string;
505
+ subscriberId: string;
506
+ }, import("../types.js").BlockConsumerResult>;
507
+ "consumers.remove": import("./define.js").OperationEntry<{
508
+ businessId: string;
509
+ subscriberId: string;
510
+ }, import("../types.js").RemoveConsumerResult>;
511
+ "consumers.migrateLatest": import("./define.js").OperationEntry<{
512
+ businessId: string;
513
+ subscriberId: string;
514
+ }, unknown>;
515
+ "consumers.roles.assign": import("./define.js").OperationEntry<{
516
+ businessId: string;
517
+ subscriberId: string;
518
+ } & {
519
+ userExternalId: string;
520
+ roles: string[];
521
+ }, import("../types.js").ConsumerMemberRolesResult>;
522
+ "consumers.rbac.enable": import("./define.js").OperationEntry<{
523
+ businessId: string;
524
+ subscriberId: string;
525
+ } & {
526
+ defaultRoleKey?: string | null;
527
+ }, import("../types.js").ConsumerRbacSettingsResult>;
528
+ "consumers.rbac.disable": import("./define.js").OperationEntry<{
529
+ businessId: string;
530
+ subscriberId: string;
531
+ } & {
532
+ defaultRoleKey?: string | null;
533
+ }, import("../types.js").ConsumerRbacSettingsResult>;
534
+ "consumers.role.list": import("./define.js").OperationEntry<{
535
+ businessId: string;
536
+ subscriberId: string;
537
+ }, {
538
+ roles: import("../types.js").ConsumerRbacRole[];
539
+ }>;
540
+ "consumers.role.create": import("./define.js").OperationEntry<{
541
+ businessId: string;
542
+ subscriberId: string;
543
+ } & {
544
+ roleKey: string;
545
+ name: string;
546
+ permissions: string[];
547
+ }, import("../types.js").ConsumerRbacRole>;
548
+ "consumers.role.update": import("./define.js").OperationEntry<{
549
+ businessId: string;
550
+ subscriberId: string;
551
+ } & {
552
+ roleKey: string;
553
+ } & {
554
+ name?: string;
555
+ permissions?: string[];
556
+ }, import("../types.js").ConsumerRbacRole>;
557
+ "consumers.role.delete": import("./define.js").OperationEntry<{
558
+ businessId: string;
559
+ subscriberId: string;
560
+ } & {
561
+ roleKey: string;
562
+ }, void>;
563
+ "consumers.apiKeys.list": import("./define.js").OperationEntry<{
564
+ businessId: string;
565
+ subscriberId: string;
566
+ }, {
567
+ apiKeys: import("../types.js").ConsumerApiKey[];
568
+ }>;
569
+ "consumers.apiKeys.revoke": import("./define.js").OperationEntry<{
570
+ businessId: string;
571
+ subscriberId: string;
572
+ } & {
573
+ keyId: string;
574
+ }, void>;
575
+ "changeSets.timeline.list": import("./define.js").OperationEntry<{
576
+ businessId: string;
577
+ env?: string;
578
+ }, import("../types.js").ApplyTimelineEntryList>;
579
+ "changeSets.timeline.read": import("./define.js").OperationEntry<{
580
+ businessId: string;
581
+ env?: string;
582
+ } & {
583
+ selector: string;
584
+ }, import("../types.js").ApplyTimelineEntry>;
585
+ "changeSets.propose": import("./define.js").OperationEntry<{
586
+ businessId: string;
587
+ env?: string;
588
+ } & {
589
+ subscriberId: string;
590
+ } & {
591
+ intent: string;
592
+ operations: unknown[];
593
+ }, unknown>;
594
+ "changeSets.preview": import("./define.js").OperationEntry<{
595
+ businessId: string;
596
+ env?: string;
597
+ } & {
598
+ subscriberId: string;
599
+ } & {
600
+ changeSetId: string;
601
+ }, unknown>;
602
+ "changeSets.proposalList": import("./define.js").OperationEntry<{
603
+ businessId: string;
604
+ env?: string;
605
+ } & {
606
+ subscriberId: string;
607
+ } & {
608
+ status?: string;
609
+ cursor?: string;
610
+ limit?: number;
611
+ }, unknown>;
612
+ "changeSets.proposalRead": import("./define.js").OperationEntry<{
613
+ businessId: string;
614
+ env?: string;
615
+ } & {
616
+ subscriberId: string;
617
+ } & {
618
+ changeSetId: string;
619
+ }, unknown>;
620
+ "businesses.list": import("./define.js").OperationEntry<{
621
+ limit?: number;
622
+ offset?: number;
623
+ query?: import("./define.js").ListQuery;
624
+ } | undefined, import("../types.js").BusinessSummary[]>;
625
+ "businesses.read": import("./define.js").OperationEntry<{
626
+ businessId: string;
627
+ } & {
628
+ env?: string;
629
+ }, import("../types.js").BusinessSummary>;
630
+ "businesses.create": import("./define.js").OperationEntry<{
631
+ name: string;
632
+ description?: string;
633
+ displayName?: string;
634
+ docsEnabled?: boolean;
635
+ }, unknown>;
636
+ "businesses.delete": import("./define.js").OperationEntry<{
637
+ businessId: string;
638
+ }, void>;
639
+ "businesses.routes.read": import("./define.js").OperationEntry<{
640
+ businessId: string;
641
+ } & {
642
+ env?: string;
643
+ }, unknown>;
644
+ "businesses.contract.read": import("./define.js").OperationEntry<{
645
+ businessId: string;
646
+ } & {
647
+ env?: string;
648
+ }, unknown>;
649
+ "businesses.config.read": import("./define.js").OperationEntry<{
650
+ businessId: string;
651
+ } & {
652
+ env?: string;
653
+ }, unknown>;
654
+ "businesses.configAttempts.read": import("./define.js").OperationEntry<{
655
+ businessId: string;
656
+ }, {
657
+ attempts: unknown[];
658
+ }>;
659
+ "businesses.subdomainAvailability.read": import("./define.js").OperationEntry<{
660
+ subdomain: string;
661
+ }, import("../types.js").ManagedSubdomainAvailability>;
662
+ "businesses.status": import("./define.js").OperationEntry<{
663
+ businessId: string;
664
+ } & {
665
+ env?: string;
666
+ }, {
667
+ [key: string]: unknown;
668
+ data: import("../types.js").DeploymentRunSummary[];
669
+ live: boolean;
670
+ }>;
671
+ "businesses.publish": import("./define.js").OperationEntry<{
672
+ businessId: string;
673
+ } & import("../types.js").PublishBusinessBody, import("../types.js").BusinessSummary & {
674
+ _release?: import("../types.js").PublishRelease;
675
+ }>;
676
+ "businesses.rollback": import("./define.js").OperationEntry<{
677
+ businessId: string;
678
+ } & {
679
+ workflowExecutionId: string;
680
+ reason?: string;
681
+ }, {
682
+ businessId: string;
683
+ status: string;
684
+ rollbackWorkflowExecutionId: string;
685
+ }>;
686
+ "businesses.compile": import("./define.js").OperationEntry<{
687
+ businessId: string;
688
+ } & {
689
+ ir: unknown;
690
+ env?: string;
691
+ }, import("../types.js").ManifestCompileResult>;
692
+ "businesses.brand.update": import("./define.js").OperationEntry<{
693
+ businessId: string;
694
+ } & {
695
+ env?: string;
696
+ } & {
697
+ body: import("./define.js").RequestBody;
698
+ }, import("../types.js").BusinessSummary>;
699
+ "businesses.brand.uploadAsset": import("./define.js").OperationEntry<{
700
+ businessId: string;
701
+ } & {
702
+ kind: "icon" | "logo";
703
+ body: Uint8Array;
704
+ contentType: string;
705
+ }, {
706
+ iconUrl?: string;
707
+ logoUrl?: string;
708
+ }>;
709
+ "businesses.brand.deleteAsset": import("./define.js").OperationEntry<{
710
+ businessId: string;
711
+ } & {
712
+ kind: "icon" | "logo";
713
+ }, void>;
714
+ "businesses.previewEnv.set": import("./define.js").OperationEntry<{
715
+ businessId: string;
716
+ } & {
717
+ env?: string;
718
+ } & {
719
+ body: import("./define.js").RequestBody;
720
+ }, import("../types.js").BusinessSummary>;
721
+ "businesses.docs.enable": import("./define.js").OperationEntry<{
722
+ businessId: string;
723
+ } & {
724
+ env?: string;
725
+ }, import("../types.js").BusinessSummary>;
726
+ "businesses.docs.disable": import("./define.js").OperationEntry<{
727
+ businessId: string;
728
+ } & {
729
+ env?: string;
730
+ }, import("../types.js").BusinessSummary>;
731
+ "businesses.cors.update": import("./define.js").OperationEntry<{
732
+ businessId: string;
733
+ } & {
734
+ env?: string;
735
+ } & {
736
+ body: import("./define.js").RequestBody;
737
+ }, import("../types.js").BusinessSummary>;
738
+ "businesses.rbac.read": import("./define.js").OperationEntry<{
739
+ businessId: string;
740
+ }, import("../types.js").BusinessSummary>;
741
+ "businesses.rbac.enable": import("./define.js").OperationEntry<{
742
+ businessId: string;
743
+ }, {
744
+ rbacEnabled: boolean;
745
+ }>;
746
+ "businesses.rbac.disable": import("./define.js").OperationEntry<{
747
+ businessId: string;
748
+ }, {
749
+ rbacEnabled: boolean;
750
+ }>;
751
+ "businesses.rbac.subjects.read": import("./define.js").OperationEntry<{
752
+ businessId: string;
753
+ }, {
754
+ subjects: unknown[];
755
+ }>;
756
+ "billing.stripe.read": import("./define.js").OperationEntry<{
757
+ businessId: string;
758
+ }, unknown>;
759
+ "billing.stripe.delete": import("./define.js").OperationEntry<{
760
+ businessId: string;
761
+ } & {
762
+ deleteAccount?: boolean;
763
+ }, unknown>;
764
+ "billing.taxSettings.read": import("./define.js").OperationEntry<{
765
+ businessId: string;
766
+ }, unknown>;
767
+ "billing.taxSettings.update": import("./define.js").OperationEntry<{
768
+ businessId: string;
769
+ } & {
770
+ body: import("./define.js").RequestBody;
771
+ }, unknown>;
772
+ "backends.read": import("./define.js").OperationEntry<{
773
+ businessId: string;
774
+ } & {
775
+ environmentId?: string;
776
+ limit?: number;
777
+ offset?: number;
778
+ }, unknown>;
779
+ "backends.create": import("./define.js").OperationEntry<{
780
+ businessId: string;
781
+ } & {
782
+ name: string;
783
+ slug?: string;
784
+ environmentId?: string | null;
785
+ transportMode?: "direct" | "tunnel";
786
+ runner?: "embedded" | "sidecar" | null;
787
+ runtime?: string | null;
788
+ originUrl?: string | null;
789
+ isDefault?: boolean;
790
+ }, unknown>;
791
+ "backends.bind": import("./define.js").OperationEntry<{
792
+ businessId: string;
793
+ } & {
794
+ backend: string;
795
+ environmentId?: string | null;
796
+ originUrl: string;
797
+ }, unknown>;
798
+ "backends.delete": import("./define.js").OperationEntry<{
799
+ businessId: string;
800
+ } & {
801
+ backendId: string;
802
+ }, unknown>;
803
+ "runtimeTokens.read": import("./define.js").OperationEntry<{
804
+ businessId: string;
805
+ } & {
806
+ environmentId?: string;
807
+ limit?: number;
808
+ offset?: number;
809
+ }, unknown>;
810
+ "runtimeTokens.mint": import("./define.js").OperationEntry<{
811
+ businessId: string;
812
+ } & {
813
+ environmentId?: string | null;
814
+ backendId?: string | null;
815
+ kind?: "live" | "test";
816
+ operations?: string[];
817
+ allowedMeters?: string[];
818
+ allowedRoutes?: string[];
819
+ }, unknown>;
820
+ "runtimeTokens.rotate": import("./define.js").OperationEntry<{
821
+ businessId: string;
822
+ } & {
823
+ tokenId: string;
824
+ }, unknown>;
825
+ "runtimeTokens.revoke": import("./define.js").OperationEntry<{
826
+ businessId: string;
827
+ } & {
828
+ tokenId: string;
829
+ }, import("../types.js").RuntimeTokenSummary>;
830
+ "auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext>;
831
+ "auth.context.issue": import("./define.js").OperationEntry<{
832
+ businessId: string;
833
+ externalOrgId: string;
834
+ actorId: string;
835
+ ttlSeconds?: number;
836
+ }, {
837
+ token: string;
838
+ expiresAt: string;
839
+ }>;
840
+ "auth.listOrganizations": import("./define.js").OperationEntry<void, import("../transport.js").OrganizationsResponse>;
841
+ "auth.selectedOrganization": import("./define.js").OperationEntry<void, string | undefined>;
842
+ "auditLogs.read": import("./define.js").OperationEntry<{
843
+ organizationId: string;
844
+ action?: string;
845
+ actorUserId?: string;
846
+ decision?: string;
847
+ from?: string;
848
+ to?: string;
849
+ limit?: number;
850
+ } & {
851
+ cursor?: string;
852
+ }, unknown>;
853
+ "auditLogs.business.read": import("./define.js").OperationEntry<{
854
+ organizationId: string;
855
+ action?: string;
856
+ actorUserId?: string;
857
+ decision?: string;
858
+ from?: string;
859
+ to?: string;
860
+ limit?: number;
861
+ } & {
862
+ businessId: string;
863
+ } & {
864
+ cursor?: string;
865
+ }, unknown>;
866
+ "auditLogs.export": import("./define.js").OperationEntry<{
867
+ organizationId: string;
868
+ action?: string;
869
+ actorUserId?: string;
870
+ decision?: string;
871
+ from?: string;
872
+ to?: string;
873
+ limit?: number;
874
+ }, string>;
875
+ "auditLogs.business.export": import("./define.js").OperationEntry<{
876
+ organizationId: string;
877
+ action?: string;
878
+ actorUserId?: string;
879
+ decision?: string;
880
+ from?: string;
881
+ to?: string;
882
+ limit?: number;
883
+ } & {
884
+ businessId: string;
885
+ }, string>;
886
+ "notifications.preferences.read": import("./define.js").OperationEntry<{
887
+ businessId: string;
888
+ }, unknown>;
889
+ "notifications.preferences.update": import("./define.js").OperationEntry<{
890
+ businessId: string;
891
+ master?: boolean;
892
+ categories?: Record<string, boolean>;
893
+ }, unknown>;
894
+ "analytics.timeseries": import("./define.js").OperationEntry<{
895
+ businessId: string;
896
+ query: unknown;
897
+ }, {
898
+ result: unknown;
899
+ }>;
900
+ "analytics.latency": import("./define.js").OperationEntry<{
901
+ businessId: string;
902
+ query: unknown;
903
+ }, {
904
+ result: unknown;
905
+ }>;
906
+ "analytics.top": import("./define.js").OperationEntry<{
907
+ businessId: string;
908
+ query: unknown;
909
+ }, {
910
+ result: unknown;
911
+ }>;
912
+ "analytics.log": import("./define.js").OperationEntry<{
913
+ businessId: string;
914
+ query: unknown;
915
+ }, {
916
+ result: unknown;
917
+ }>;
918
+ "analytics.query": import("./define.js").OperationEntry<{
919
+ businessId: string;
920
+ query: unknown;
921
+ } & {
922
+ verb: string;
923
+ }, {
924
+ result: unknown;
925
+ }>;
926
+ "agreements.read": import("./define.js").OperationEntry<{
927
+ businessId: string;
928
+ } & {
929
+ subjectId?: string;
930
+ environmentId?: string;
931
+ limit?: number;
932
+ offset?: number;
933
+ }, {
934
+ data: import("../types.js").EconomicAgreement[];
935
+ pagination?: import("../types.js").OffsetPagination;
936
+ }>;
937
+ "agreements.get": import("./define.js").OperationEntry<{
938
+ businessId: string;
939
+ } & {
940
+ agreementId: string;
941
+ }, import("../types.js").EconomicAgreement>;
942
+ "agreements.pins": import("./define.js").OperationEntry<{
943
+ businessId: string;
944
+ } & {
945
+ subjectId: string;
946
+ }, import("../types.js").SubjectPins>;
947
+ "agreements.previewCreate": import("./define.js").OperationEntry<{
948
+ businessId: string;
949
+ } & {
950
+ body: import("./define.js").RequestBody;
951
+ }, import("../types.js").AgreementPreview>;
952
+ "agreements.create": import("./define.js").OperationEntry<{
953
+ businessId: string;
954
+ } & {
955
+ body: import("./define.js").RequestBody & {
956
+ confirmationToken: string;
957
+ };
958
+ }, import("../types.js").EconomicAgreement>;
959
+ "agreements.previewAmend": import("./define.js").OperationEntry<{
960
+ businessId: string;
961
+ } & {
962
+ agreementId: string;
963
+ } & {
964
+ body: import("./define.js").RequestBody;
965
+ }, import("../types.js").AgreementPreview>;
966
+ "agreements.amend": import("./define.js").OperationEntry<{
967
+ businessId: string;
968
+ } & {
969
+ agreementId: string;
970
+ } & {
971
+ body: import("./define.js").RequestBody & {
972
+ confirmationToken: string;
973
+ };
974
+ }, import("../types.js").EconomicAgreement>;
975
+ "agents.list": import("./define.js").OperationEntry<{
976
+ businessId: string;
977
+ }, {
978
+ agents: import("../types.js").AgentSummary[];
979
+ availableRoles: string[];
980
+ }>;
981
+ "agents.status": import("./define.js").OperationEntry<{
982
+ businessId: string;
983
+ } & {
984
+ role: string;
985
+ }, import("../types.js").AgentStatus>;
986
+ "agents.runs.show": import("./define.js").OperationEntry<{
987
+ businessId: string;
988
+ } & {
989
+ role: string;
990
+ } & {
991
+ runId: string;
992
+ }, Record<string, unknown>>;
993
+ "agents.enable": import("./define.js").OperationEntry<{
994
+ businessId: string;
995
+ } & {
996
+ role: string;
997
+ } & {
998
+ config?: Record<string, unknown>;
999
+ }, import("../types.js").AgentSummary>;
1000
+ "agents.disable": import("./define.js").OperationEntry<{
1001
+ businessId: string;
1002
+ } & {
1003
+ role: string;
1004
+ } & {
1005
+ config?: Record<string, unknown>;
1006
+ }, import("../types.js").AgentSummary>;
1007
+ "bulletin.list": import("./define.js").OperationEntry<{
1008
+ businessId: string;
1009
+ } & {
1010
+ kind?: string;
1011
+ status?: string;
1012
+ cursor?: string;
1013
+ limit?: number | string;
1014
+ }, {
1015
+ items: import("../types.js").BulletinPost[];
1016
+ nextCursor: string | null;
1017
+ }>;
1018
+ "bulletin.read": import("./define.js").OperationEntry<{
1019
+ businessId: string;
1020
+ } & {
1021
+ postId: string;
1022
+ }, import("../types.js").BulletinPost>;
1023
+ "bulletin.ack": import("./define.js").OperationEntry<{
1024
+ businessId: string;
1025
+ } & {
1026
+ postId: string;
1027
+ }, import("../types.js").BulletinPost>;
1028
+ "bulletin.resolve": import("./define.js").OperationEntry<{
1029
+ businessId: string;
1030
+ } & {
1031
+ postId: string;
1032
+ }, import("../types.js").BulletinPost>;
1033
+ };
1034
+ export type OperationTable = typeof OPERATION_TABLE;
1035
+ /** A dotted method path, e.g. `"runtimeTokens.revoke"`. */
1036
+ export type MethodPath = Extract<keyof OperationTable, string>;