@farthershore/client 0.6.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.
- package/CHANGELOG.md +38 -2
- package/LICENSE +21 -0
- package/README.md +10 -10
- package/dist/index.js +326 -59
- package/dist/types/api.generated.d.ts +105 -25
- package/dist/types/generated/schemas.d.ts +147 -16
- package/dist/types/operations/audit-notifications.d.ts +4 -0
- package/dist/types/operations/auth.d.ts +193 -0
- package/dist/types/operations/backends.d.ts +76 -21
- package/dist/types/operations/businesses.d.ts +48 -0
- package/dist/types/operations/consumers.d.ts +108 -0
- package/dist/types/operations/define.d.ts +1 -1
- package/dist/types/operations/index.d.ts +493 -26
- package/dist/types/operations/organizations.d.ts +7 -0
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/webhooks.d.ts +64 -2
- package/dist/types/surface-types.d.ts +1 -1
- package/dist/types/surface.d.ts +1 -1
- package/dist/types/types.d.ts +20 -6
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -1894,6 +1950,15 @@ export declare const OPERATION_TABLE: {
|
|
|
1894
1950
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
1895
1951
|
nextCursor: string | null;
|
|
1896
1952
|
}, false>;
|
|
1953
|
+
"organizations.sellerDetails.read": import("./define.js").OperationEntry<{
|
|
1954
|
+
organizationId: string;
|
|
1955
|
+
}, {
|
|
1956
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1957
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1958
|
+
}, {
|
|
1959
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1960
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1961
|
+
}, false>;
|
|
1897
1962
|
"organizations.role.list": import("./define.js").OperationEntry<{
|
|
1898
1963
|
organizationId: string;
|
|
1899
1964
|
} & {
|
|
@@ -2469,6 +2534,120 @@ export declare const OPERATION_TABLE: {
|
|
|
2469
2534
|
businessId: string;
|
|
2470
2535
|
environment: string;
|
|
2471
2536
|
}, void, void, false>;
|
|
2537
|
+
"consumers.data.export": import("./define.js").OperationEntry<{
|
|
2538
|
+
businessId: string;
|
|
2539
|
+
subscriberId: string;
|
|
2540
|
+
}, {
|
|
2541
|
+
formatVersion: 1;
|
|
2542
|
+
generatedAt: string;
|
|
2543
|
+
businessId: string;
|
|
2544
|
+
truncated: boolean;
|
|
2545
|
+
profile: {
|
|
2546
|
+
id: string;
|
|
2547
|
+
kind: string;
|
|
2548
|
+
name: string | null;
|
|
2549
|
+
email: string | null;
|
|
2550
|
+
createdAt: string;
|
|
2551
|
+
};
|
|
2552
|
+
subscriptions: {
|
|
2553
|
+
id: string;
|
|
2554
|
+
status: string;
|
|
2555
|
+
compiledPlanId: string | null;
|
|
2556
|
+
}[];
|
|
2557
|
+
apiKeys: {
|
|
2558
|
+
name: string | null;
|
|
2559
|
+
createdAt: string;
|
|
2560
|
+
lastUsedAt: string | null;
|
|
2561
|
+
}[];
|
|
2562
|
+
legalAcceptances: {
|
|
2563
|
+
ref: string;
|
|
2564
|
+
version: string;
|
|
2565
|
+
acceptedAt: string;
|
|
2566
|
+
}[];
|
|
2567
|
+
notificationPreferences: {
|
|
2568
|
+
recipientId: string;
|
|
2569
|
+
emailOptOut: boolean;
|
|
2570
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2571
|
+
}[];
|
|
2572
|
+
marketingEnabled: boolean;
|
|
2573
|
+
membership: {
|
|
2574
|
+
email: string | null;
|
|
2575
|
+
role: string;
|
|
2576
|
+
createdAt: string;
|
|
2577
|
+
} | null;
|
|
2578
|
+
}, {
|
|
2579
|
+
formatVersion: 1;
|
|
2580
|
+
generatedAt: string;
|
|
2581
|
+
businessId: string;
|
|
2582
|
+
truncated: boolean;
|
|
2583
|
+
profile: {
|
|
2584
|
+
id: string;
|
|
2585
|
+
kind: string;
|
|
2586
|
+
name: string | null;
|
|
2587
|
+
email: string | null;
|
|
2588
|
+
createdAt: string;
|
|
2589
|
+
};
|
|
2590
|
+
subscriptions: {
|
|
2591
|
+
id: string;
|
|
2592
|
+
status: string;
|
|
2593
|
+
compiledPlanId: string | null;
|
|
2594
|
+
}[];
|
|
2595
|
+
apiKeys: {
|
|
2596
|
+
name: string | null;
|
|
2597
|
+
createdAt: string;
|
|
2598
|
+
lastUsedAt: string | null;
|
|
2599
|
+
}[];
|
|
2600
|
+
legalAcceptances: {
|
|
2601
|
+
ref: string;
|
|
2602
|
+
version: string;
|
|
2603
|
+
acceptedAt: string;
|
|
2604
|
+
}[];
|
|
2605
|
+
notificationPreferences: {
|
|
2606
|
+
recipientId: string;
|
|
2607
|
+
emailOptOut: boolean;
|
|
2608
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2609
|
+
}[];
|
|
2610
|
+
marketingEnabled: boolean;
|
|
2611
|
+
membership: {
|
|
2612
|
+
email: string | null;
|
|
2613
|
+
role: string;
|
|
2614
|
+
createdAt: string;
|
|
2615
|
+
} | null;
|
|
2616
|
+
}, false>;
|
|
2617
|
+
"consumers.data.erasure.read": import("./define.js").OperationEntry<{
|
|
2618
|
+
businessId: string;
|
|
2619
|
+
subscriberId: string;
|
|
2620
|
+
}, {
|
|
2621
|
+
id: string;
|
|
2622
|
+
subjectKind: "customer_for_business";
|
|
2623
|
+
subjectUserId: null;
|
|
2624
|
+
customerScopeKey: string;
|
|
2625
|
+
subjectBusinessId: string;
|
|
2626
|
+
subjectSubscriberId: string;
|
|
2627
|
+
subjectPersonId: string | null;
|
|
2628
|
+
requestedBy: "builder" | "self";
|
|
2629
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2630
|
+
stepsCompleted: string[];
|
|
2631
|
+
code: string | null;
|
|
2632
|
+
createdAt: string;
|
|
2633
|
+
updatedAt: string;
|
|
2634
|
+
completedAt: string | null;
|
|
2635
|
+
} | null, {
|
|
2636
|
+
id: string;
|
|
2637
|
+
subjectKind: "customer_for_business";
|
|
2638
|
+
subjectUserId: null;
|
|
2639
|
+
customerScopeKey: string;
|
|
2640
|
+
subjectBusinessId: string;
|
|
2641
|
+
subjectSubscriberId: string;
|
|
2642
|
+
subjectPersonId: string | null;
|
|
2643
|
+
requestedBy: "builder" | "self";
|
|
2644
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2645
|
+
stepsCompleted: string[];
|
|
2646
|
+
code: string | null;
|
|
2647
|
+
createdAt: string;
|
|
2648
|
+
updatedAt: string;
|
|
2649
|
+
completedAt: string | null;
|
|
2650
|
+
} | null, false>;
|
|
2472
2651
|
"consumers.read": import("./define.js").OperationEntry<{
|
|
2473
2652
|
businessId: string;
|
|
2474
2653
|
env?: string;
|
|
@@ -3272,6 +3451,15 @@ export declare const OPERATION_TABLE: {
|
|
|
3272
3451
|
[key: string]: string;
|
|
3273
3452
|
};
|
|
3274
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
|
+
}[];
|
|
3275
3463
|
}, {
|
|
3276
3464
|
id: string;
|
|
3277
3465
|
organizationId: string | null;
|
|
@@ -3306,6 +3494,15 @@ export declare const OPERATION_TABLE: {
|
|
|
3306
3494
|
[key: string]: string;
|
|
3307
3495
|
};
|
|
3308
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
|
+
}[];
|
|
3309
3506
|
}, false>;
|
|
3310
3507
|
"businesses.create": import("./define.js").OperationEntry<{
|
|
3311
3508
|
name: string;
|
|
@@ -3323,6 +3520,12 @@ export declare const OPERATION_TABLE: {
|
|
|
3323
3520
|
instructions: string;
|
|
3324
3521
|
agentsMdUrl: string;
|
|
3325
3522
|
};
|
|
3523
|
+
defaultKey?: {
|
|
3524
|
+
id: string;
|
|
3525
|
+
lastFour: string;
|
|
3526
|
+
envVars: ["FS_SECRET_KEY"];
|
|
3527
|
+
token: string;
|
|
3528
|
+
};
|
|
3326
3529
|
}, {
|
|
3327
3530
|
business: import("../generated/schemas.js").components["schemas"]["Business"];
|
|
3328
3531
|
repo: {
|
|
@@ -3334,6 +3537,12 @@ export declare const OPERATION_TABLE: {
|
|
|
3334
3537
|
instructions: string;
|
|
3335
3538
|
agentsMdUrl: string;
|
|
3336
3539
|
};
|
|
3540
|
+
defaultKey?: {
|
|
3541
|
+
id: string;
|
|
3542
|
+
lastFour: string;
|
|
3543
|
+
envVars: ["FS_SECRET_KEY"];
|
|
3544
|
+
token: string;
|
|
3545
|
+
};
|
|
3337
3546
|
}, false>;
|
|
3338
3547
|
"businesses.routes.read": import("./define.js").OperationEntry<{
|
|
3339
3548
|
businessId: string;
|
|
@@ -3958,6 +4167,15 @@ export declare const OPERATION_TABLE: {
|
|
|
3958
4167
|
[key: string]: string;
|
|
3959
4168
|
};
|
|
3960
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
|
+
}[];
|
|
3961
4179
|
}, {
|
|
3962
4180
|
id: string;
|
|
3963
4181
|
organizationId: string | null;
|
|
@@ -3992,6 +4210,15 @@ export declare const OPERATION_TABLE: {
|
|
|
3992
4210
|
[key: string]: string;
|
|
3993
4211
|
};
|
|
3994
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
|
+
}[];
|
|
3995
4222
|
}, false>;
|
|
3996
4223
|
"businesses.rbac.enable": import("./define.js").OperationEntry<{
|
|
3997
4224
|
businessId: string;
|
|
@@ -4109,15 +4336,18 @@ export declare const OPERATION_TABLE: {
|
|
|
4109
4336
|
} & {
|
|
4110
4337
|
name: string;
|
|
4111
4338
|
slug?: string;
|
|
4339
|
+
scope?: string;
|
|
4112
4340
|
environmentId?: string | null;
|
|
4113
4341
|
transportMode?: "direct" | "tunnel";
|
|
4114
4342
|
runner?: "embedded" | "sidecar" | null;
|
|
4115
4343
|
runtime?: string | null;
|
|
4116
4344
|
originUrl?: string | null;
|
|
4345
|
+
originTemplate?: string | null;
|
|
4117
4346
|
isDefault?: boolean;
|
|
4118
4347
|
}, {
|
|
4119
4348
|
id: string;
|
|
4120
4349
|
businessId: string;
|
|
4350
|
+
scope: string;
|
|
4121
4351
|
environmentId: string | null;
|
|
4122
4352
|
name: string;
|
|
4123
4353
|
slug: string;
|
|
@@ -4125,15 +4355,24 @@ export declare const OPERATION_TABLE: {
|
|
|
4125
4355
|
runner: ("embedded" | "sidecar") | null;
|
|
4126
4356
|
runtime: string | null;
|
|
4127
4357
|
originUrl: string | null;
|
|
4358
|
+
originTemplate: string | null;
|
|
4128
4359
|
isDefault: boolean;
|
|
4129
4360
|
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
4130
4361
|
lastSeenAt: string | null;
|
|
4131
4362
|
createdAt: string;
|
|
4132
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
|
+
};
|
|
4133
4371
|
}, {
|
|
4134
4372
|
action: "create" | "update";
|
|
4135
4373
|
backend: {
|
|
4136
4374
|
businessId: string;
|
|
4375
|
+
scope: string;
|
|
4137
4376
|
environmentId: string | null;
|
|
4138
4377
|
name: string;
|
|
4139
4378
|
slug: string;
|
|
@@ -4141,18 +4380,26 @@ export declare const OPERATION_TABLE: {
|
|
|
4141
4380
|
runner: ("embedded" | "sidecar") | null;
|
|
4142
4381
|
runtime: string | null;
|
|
4143
4382
|
originUrl: string | null;
|
|
4383
|
+
originTemplate: string | null;
|
|
4144
4384
|
isDefault: boolean;
|
|
4145
4385
|
};
|
|
4146
4386
|
}, true>;
|
|
4147
4387
|
"backends.bind": import("./define.js").OperationEntry<{
|
|
4148
4388
|
businessId: string;
|
|
4149
|
-
} & {
|
|
4389
|
+
} & ({
|
|
4150
4390
|
backend: string;
|
|
4391
|
+
scope?: string;
|
|
4151
4392
|
environmentId?: string | null;
|
|
4393
|
+
} & ({
|
|
4152
4394
|
originUrl: string;
|
|
4153
|
-
|
|
4395
|
+
originTemplate?: never;
|
|
4396
|
+
} | {
|
|
4397
|
+
originTemplate: string;
|
|
4398
|
+
originUrl?: never;
|
|
4399
|
+
})), {
|
|
4154
4400
|
id: string;
|
|
4155
4401
|
businessId: string;
|
|
4402
|
+
scope: string;
|
|
4156
4403
|
environmentId: string | null;
|
|
4157
4404
|
name: string;
|
|
4158
4405
|
slug: string;
|
|
@@ -4160,13 +4407,22 @@ export declare const OPERATION_TABLE: {
|
|
|
4160
4407
|
runner: ("embedded" | "sidecar") | null;
|
|
4161
4408
|
runtime: string | null;
|
|
4162
4409
|
originUrl: string | null;
|
|
4410
|
+
originTemplate: string | null;
|
|
4163
4411
|
isDefault: boolean;
|
|
4164
4412
|
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
4165
4413
|
lastSeenAt: string | null;
|
|
4166
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
|
+
};
|
|
4167
4422
|
}, {
|
|
4168
4423
|
id: string;
|
|
4169
4424
|
businessId: string;
|
|
4425
|
+
scope: string;
|
|
4170
4426
|
environmentId: string | null;
|
|
4171
4427
|
name: string;
|
|
4172
4428
|
slug: string;
|
|
@@ -4174,6 +4430,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4174
4430
|
runner: ("embedded" | "sidecar") | null;
|
|
4175
4431
|
runtime: string | null;
|
|
4176
4432
|
originUrl: string | null;
|
|
4433
|
+
originTemplate: string | null;
|
|
4177
4434
|
isDefault: boolean;
|
|
4178
4435
|
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
4179
4436
|
lastSeenAt: string | null;
|
|
@@ -4190,14 +4447,14 @@ export declare const OPERATION_TABLE: {
|
|
|
4190
4447
|
id: string;
|
|
4191
4448
|
deleted: true;
|
|
4192
4449
|
}, false>;
|
|
4193
|
-
"
|
|
4450
|
+
"secretKeys.read": import("./define.js").OperationEntry<{
|
|
4194
4451
|
businessId: string;
|
|
4195
4452
|
} & {
|
|
4196
4453
|
environmentId?: string;
|
|
4197
4454
|
limit?: number;
|
|
4198
4455
|
offset?: number;
|
|
4199
4456
|
}, {
|
|
4200
|
-
data: import("../generated/schemas.js").components["schemas"]["
|
|
4457
|
+
data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
|
|
4201
4458
|
pagination: {
|
|
4202
4459
|
total: number;
|
|
4203
4460
|
limit: number;
|
|
@@ -4207,7 +4464,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4207
4464
|
scope: "all" | "production" | "environment";
|
|
4208
4465
|
environmentId: string | null;
|
|
4209
4466
|
}, {
|
|
4210
|
-
data: import("../generated/schemas.js").components["schemas"]["
|
|
4467
|
+
data: import("../generated/schemas.js").components["schemas"]["SecretKey"][];
|
|
4211
4468
|
pagination: {
|
|
4212
4469
|
total: number;
|
|
4213
4470
|
limit: number;
|
|
@@ -4217,9 +4474,10 @@ export declare const OPERATION_TABLE: {
|
|
|
4217
4474
|
scope: "all" | "production" | "environment";
|
|
4218
4475
|
environmentId: string | null;
|
|
4219
4476
|
}, false>;
|
|
4220
|
-
"
|
|
4477
|
+
"secretKeys.mint": import("./define.js").OperationEntry<{
|
|
4221
4478
|
businessId: string;
|
|
4222
4479
|
} & {
|
|
4480
|
+
scope?: string;
|
|
4223
4481
|
environmentId?: string | null;
|
|
4224
4482
|
backendId?: string | null;
|
|
4225
4483
|
kind?: "live" | "test";
|
|
@@ -4229,11 +4487,13 @@ export declare const OPERATION_TABLE: {
|
|
|
4229
4487
|
}, {
|
|
4230
4488
|
id: string;
|
|
4231
4489
|
businessId: string;
|
|
4490
|
+
scope: string;
|
|
4232
4491
|
environmentId: string | null;
|
|
4233
4492
|
backendId: string | null;
|
|
4493
|
+
isDefault: boolean;
|
|
4234
4494
|
kind: "live" | "test";
|
|
4235
4495
|
lastFour: string;
|
|
4236
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4496
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4237
4497
|
allowedMeters: string[];
|
|
4238
4498
|
allowedRoutes: string[];
|
|
4239
4499
|
status: "active" | "revoked";
|
|
@@ -4241,16 +4501,18 @@ export declare const OPERATION_TABLE: {
|
|
|
4241
4501
|
createdAt: string;
|
|
4242
4502
|
revokedAt: string | null;
|
|
4243
4503
|
lastUsedAt: string | null;
|
|
4244
|
-
envVar: "
|
|
4504
|
+
envVar: "FS_SECRET_KEY";
|
|
4245
4505
|
token: string;
|
|
4246
4506
|
}, {
|
|
4247
4507
|
id: string;
|
|
4248
4508
|
businessId: string;
|
|
4509
|
+
scope: string;
|
|
4249
4510
|
environmentId: string | null;
|
|
4250
4511
|
backendId: string | null;
|
|
4512
|
+
isDefault: boolean;
|
|
4251
4513
|
kind: "live" | "test";
|
|
4252
4514
|
lastFour: string;
|
|
4253
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4515
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4254
4516
|
allowedMeters: string[];
|
|
4255
4517
|
allowedRoutes: string[];
|
|
4256
4518
|
status: "active" | "revoked";
|
|
@@ -4258,21 +4520,23 @@ export declare const OPERATION_TABLE: {
|
|
|
4258
4520
|
createdAt: string;
|
|
4259
4521
|
revokedAt: string | null;
|
|
4260
4522
|
lastUsedAt: string | null;
|
|
4261
|
-
envVar: "
|
|
4523
|
+
envVar: "FS_SECRET_KEY";
|
|
4262
4524
|
token: string;
|
|
4263
4525
|
}, false>;
|
|
4264
|
-
"
|
|
4526
|
+
"secretKeys.rotate": import("./define.js").OperationEntry<{
|
|
4265
4527
|
businessId: string;
|
|
4266
4528
|
} & {
|
|
4267
4529
|
tokenId: string;
|
|
4268
4530
|
}, {
|
|
4269
4531
|
id: string;
|
|
4270
4532
|
businessId: string;
|
|
4533
|
+
scope: string;
|
|
4271
4534
|
environmentId: string | null;
|
|
4272
4535
|
backendId: string | null;
|
|
4536
|
+
isDefault: boolean;
|
|
4273
4537
|
kind: "live" | "test";
|
|
4274
4538
|
lastFour: string;
|
|
4275
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4539
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4276
4540
|
allowedMeters: string[];
|
|
4277
4541
|
allowedRoutes: string[];
|
|
4278
4542
|
status: "active" | "revoked";
|
|
@@ -4280,16 +4544,18 @@ export declare const OPERATION_TABLE: {
|
|
|
4280
4544
|
createdAt: string;
|
|
4281
4545
|
revokedAt: string | null;
|
|
4282
4546
|
lastUsedAt: string | null;
|
|
4283
|
-
envVar: "
|
|
4547
|
+
envVar: "FS_SECRET_KEY";
|
|
4284
4548
|
token: string;
|
|
4285
4549
|
}, {
|
|
4286
4550
|
id: string;
|
|
4287
4551
|
businessId: string;
|
|
4552
|
+
scope: string;
|
|
4288
4553
|
environmentId: string | null;
|
|
4289
4554
|
backendId: string | null;
|
|
4555
|
+
isDefault: boolean;
|
|
4290
4556
|
kind: "live" | "test";
|
|
4291
4557
|
lastFour: string;
|
|
4292
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4558
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4293
4559
|
allowedMeters: string[];
|
|
4294
4560
|
allowedRoutes: string[];
|
|
4295
4561
|
status: "active" | "revoked";
|
|
@@ -4297,21 +4563,23 @@ export declare const OPERATION_TABLE: {
|
|
|
4297
4563
|
createdAt: string;
|
|
4298
4564
|
revokedAt: string | null;
|
|
4299
4565
|
lastUsedAt: string | null;
|
|
4300
|
-
envVar: "
|
|
4566
|
+
envVar: "FS_SECRET_KEY";
|
|
4301
4567
|
token: string;
|
|
4302
4568
|
}, false>;
|
|
4303
|
-
"
|
|
4569
|
+
"secretKeys.revoke": import("./define.js").OperationEntry<{
|
|
4304
4570
|
businessId: string;
|
|
4305
4571
|
} & {
|
|
4306
4572
|
tokenId: string;
|
|
4307
4573
|
}, {
|
|
4308
4574
|
id: string;
|
|
4309
4575
|
businessId: string;
|
|
4576
|
+
scope: string;
|
|
4310
4577
|
environmentId: string | null;
|
|
4311
4578
|
backendId: string | null;
|
|
4579
|
+
isDefault: boolean;
|
|
4312
4580
|
kind: "live" | "test";
|
|
4313
4581
|
lastFour: string;
|
|
4314
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4582
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4315
4583
|
allowedMeters: string[];
|
|
4316
4584
|
allowedRoutes: string[];
|
|
4317
4585
|
status: "active" | "revoked";
|
|
@@ -4322,11 +4590,13 @@ export declare const OPERATION_TABLE: {
|
|
|
4322
4590
|
}, {
|
|
4323
4591
|
id: string;
|
|
4324
4592
|
businessId: string;
|
|
4593
|
+
scope: string;
|
|
4325
4594
|
environmentId: string | null;
|
|
4326
4595
|
backendId: string | null;
|
|
4596
|
+
isDefault: boolean;
|
|
4327
4597
|
kind: "live" | "test";
|
|
4328
4598
|
lastFour: string;
|
|
4329
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
4599
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
4330
4600
|
allowedMeters: string[];
|
|
4331
4601
|
allowedRoutes: string[];
|
|
4332
4602
|
status: "active" | "revoked";
|
|
@@ -4335,6 +4605,199 @@ export declare const OPERATION_TABLE: {
|
|
|
4335
4605
|
revokedAt: string | null;
|
|
4336
4606
|
lastUsedAt: string | null;
|
|
4337
4607
|
}, false>;
|
|
4608
|
+
"account.erasure.read": import("./define.js").OperationEntry<void, {
|
|
4609
|
+
id: string;
|
|
4610
|
+
subjectKind: "builder_account";
|
|
4611
|
+
subjectUserId: string;
|
|
4612
|
+
requestedBy: "self" | "provider_event";
|
|
4613
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4614
|
+
stepsCompleted: string[];
|
|
4615
|
+
code: string | null;
|
|
4616
|
+
createdAt: string;
|
|
4617
|
+
updatedAt: string;
|
|
4618
|
+
completedAt: string | null;
|
|
4619
|
+
} | null, {
|
|
4620
|
+
id: string;
|
|
4621
|
+
subjectKind: "builder_account";
|
|
4622
|
+
subjectUserId: string;
|
|
4623
|
+
requestedBy: "self" | "provider_event";
|
|
4624
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4625
|
+
stepsCompleted: string[];
|
|
4626
|
+
code: string | null;
|
|
4627
|
+
createdAt: string;
|
|
4628
|
+
updatedAt: string;
|
|
4629
|
+
completedAt: string | null;
|
|
4630
|
+
} | null, false>;
|
|
4631
|
+
"personalData.export": import("./define.js").OperationEntry<void, {
|
|
4632
|
+
formatVersion: 1;
|
|
4633
|
+
generatedAt: string;
|
|
4634
|
+
profile: {
|
|
4635
|
+
id: string;
|
|
4636
|
+
primaryEmail: string | null;
|
|
4637
|
+
displayName: string;
|
|
4638
|
+
createdAt: string;
|
|
4639
|
+
lastSeenAt: string | null;
|
|
4640
|
+
};
|
|
4641
|
+
organizations: {
|
|
4642
|
+
organization: {
|
|
4643
|
+
id: string;
|
|
4644
|
+
name: string;
|
|
4645
|
+
slug: string;
|
|
4646
|
+
deletedAt: string | null;
|
|
4647
|
+
};
|
|
4648
|
+
role: {
|
|
4649
|
+
key: string;
|
|
4650
|
+
name: string;
|
|
4651
|
+
};
|
|
4652
|
+
createdAt: string;
|
|
4653
|
+
}[];
|
|
4654
|
+
legalAcceptances: {
|
|
4655
|
+
document: string;
|
|
4656
|
+
version: string;
|
|
4657
|
+
acceptedAt: string;
|
|
4658
|
+
source: string;
|
|
4659
|
+
}[];
|
|
4660
|
+
notificationPreferences: {
|
|
4661
|
+
businessId: string | null;
|
|
4662
|
+
recipientOrganizationId: string | null;
|
|
4663
|
+
emailOptOut: boolean;
|
|
4664
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4665
|
+
}[];
|
|
4666
|
+
credentials: {
|
|
4667
|
+
apps: {
|
|
4668
|
+
id: string;
|
|
4669
|
+
name: string;
|
|
4670
|
+
clientKind: string;
|
|
4671
|
+
scopes: string[];
|
|
4672
|
+
organizationId: string | null;
|
|
4673
|
+
createdAt: string;
|
|
4674
|
+
lastUsedAt: string | null;
|
|
4675
|
+
revokedAt: string | null;
|
|
4676
|
+
}[];
|
|
4677
|
+
api: {
|
|
4678
|
+
id: string;
|
|
4679
|
+
name: string;
|
|
4680
|
+
organizationId: string;
|
|
4681
|
+
grantedPermissions: string[];
|
|
4682
|
+
businessScopeMode: string;
|
|
4683
|
+
createdAt: string;
|
|
4684
|
+
lastUsedAt: string | null;
|
|
4685
|
+
revokedAt: string | null;
|
|
4686
|
+
}[];
|
|
4687
|
+
};
|
|
4688
|
+
recentAudit: {
|
|
4689
|
+
limit: number;
|
|
4690
|
+
hasMore: boolean;
|
|
4691
|
+
entries: {
|
|
4692
|
+
id: string;
|
|
4693
|
+
action: string;
|
|
4694
|
+
createdAt: string;
|
|
4695
|
+
}[];
|
|
4696
|
+
};
|
|
4697
|
+
}, {
|
|
4698
|
+
formatVersion: 1;
|
|
4699
|
+
generatedAt: string;
|
|
4700
|
+
profile: {
|
|
4701
|
+
id: string;
|
|
4702
|
+
primaryEmail: string | null;
|
|
4703
|
+
displayName: string;
|
|
4704
|
+
createdAt: string;
|
|
4705
|
+
lastSeenAt: string | null;
|
|
4706
|
+
};
|
|
4707
|
+
organizations: {
|
|
4708
|
+
organization: {
|
|
4709
|
+
id: string;
|
|
4710
|
+
name: string;
|
|
4711
|
+
slug: string;
|
|
4712
|
+
deletedAt: string | null;
|
|
4713
|
+
};
|
|
4714
|
+
role: {
|
|
4715
|
+
key: string;
|
|
4716
|
+
name: string;
|
|
4717
|
+
};
|
|
4718
|
+
createdAt: string;
|
|
4719
|
+
}[];
|
|
4720
|
+
legalAcceptances: {
|
|
4721
|
+
document: string;
|
|
4722
|
+
version: string;
|
|
4723
|
+
acceptedAt: string;
|
|
4724
|
+
source: string;
|
|
4725
|
+
}[];
|
|
4726
|
+
notificationPreferences: {
|
|
4727
|
+
businessId: string | null;
|
|
4728
|
+
recipientOrganizationId: string | null;
|
|
4729
|
+
emailOptOut: boolean;
|
|
4730
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4731
|
+
}[];
|
|
4732
|
+
credentials: {
|
|
4733
|
+
apps: {
|
|
4734
|
+
id: string;
|
|
4735
|
+
name: string;
|
|
4736
|
+
clientKind: string;
|
|
4737
|
+
scopes: string[];
|
|
4738
|
+
organizationId: string | null;
|
|
4739
|
+
createdAt: string;
|
|
4740
|
+
lastUsedAt: string | null;
|
|
4741
|
+
revokedAt: string | null;
|
|
4742
|
+
}[];
|
|
4743
|
+
api: {
|
|
4744
|
+
id: string;
|
|
4745
|
+
name: string;
|
|
4746
|
+
organizationId: string;
|
|
4747
|
+
grantedPermissions: string[];
|
|
4748
|
+
businessScopeMode: string;
|
|
4749
|
+
createdAt: string;
|
|
4750
|
+
lastUsedAt: string | null;
|
|
4751
|
+
revokedAt: string | null;
|
|
4752
|
+
}[];
|
|
4753
|
+
};
|
|
4754
|
+
recentAudit: {
|
|
4755
|
+
limit: number;
|
|
4756
|
+
hasMore: boolean;
|
|
4757
|
+
entries: {
|
|
4758
|
+
id: string;
|
|
4759
|
+
action: string;
|
|
4760
|
+
createdAt: string;
|
|
4761
|
+
}[];
|
|
4762
|
+
};
|
|
4763
|
+
}, false>;
|
|
4764
|
+
"platform.legal.read": import("./define.js").OperationEntry<void, {
|
|
4765
|
+
accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
4766
|
+
outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
4767
|
+
requiredVersions: {
|
|
4768
|
+
terms: string;
|
|
4769
|
+
privacy: string;
|
|
4770
|
+
"acceptable-use": string;
|
|
4771
|
+
"builder-agreement": string;
|
|
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
|
+
}[];
|
|
4781
|
+
dashboardUrl: string;
|
|
4782
|
+
}, {
|
|
4783
|
+
accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
4784
|
+
outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
4785
|
+
requiredVersions: {
|
|
4786
|
+
terms: string;
|
|
4787
|
+
privacy: string;
|
|
4788
|
+
"acceptable-use": string;
|
|
4789
|
+
"builder-agreement": string;
|
|
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
|
+
}[];
|
|
4799
|
+
dashboardUrl: string;
|
|
4800
|
+
}, false>;
|
|
4338
4801
|
"auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext, import("../types.js").CallerContext, false>;
|
|
4339
4802
|
"auth.context.issue": import("./define.js").OperationEntry<{
|
|
4340
4803
|
businessId: string;
|
|
@@ -4421,6 +4884,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4421
4884
|
usage?: boolean;
|
|
4422
4885
|
access?: boolean;
|
|
4423
4886
|
product?: boolean;
|
|
4887
|
+
marketing?: boolean;
|
|
4424
4888
|
deployments?: boolean;
|
|
4425
4889
|
team?: boolean;
|
|
4426
4890
|
security?: boolean;
|
|
@@ -4432,6 +4896,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4432
4896
|
usage?: boolean;
|
|
4433
4897
|
access?: boolean;
|
|
4434
4898
|
product?: boolean;
|
|
4899
|
+
marketing?: boolean;
|
|
4435
4900
|
deployments?: boolean;
|
|
4436
4901
|
team?: boolean;
|
|
4437
4902
|
security?: boolean;
|
|
@@ -4448,6 +4913,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4448
4913
|
usage?: boolean;
|
|
4449
4914
|
access?: boolean;
|
|
4450
4915
|
product?: boolean;
|
|
4916
|
+
marketing?: boolean;
|
|
4451
4917
|
deployments?: boolean;
|
|
4452
4918
|
team?: boolean;
|
|
4453
4919
|
security?: boolean;
|
|
@@ -4459,6 +4925,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4459
4925
|
usage?: boolean;
|
|
4460
4926
|
access?: boolean;
|
|
4461
4927
|
product?: boolean;
|
|
4928
|
+
marketing?: boolean;
|
|
4462
4929
|
deployments?: boolean;
|
|
4463
4930
|
team?: boolean;
|
|
4464
4931
|
security?: boolean;
|
|
@@ -4770,5 +5237,5 @@ export declare const OPERATION_TABLE: {
|
|
|
4770
5237
|
}, false>;
|
|
4771
5238
|
};
|
|
4772
5239
|
export type OperationTable = typeof OPERATION_TABLE;
|
|
4773
|
-
/** A dotted method path, e.g. `"
|
|
5240
|
+
/** A dotted method path, e.g. `"secretKeys.revoke"`. */
|
|
4774
5241
|
export type MethodPath = Extract<keyof OperationTable, string>;
|