@farthershore/client 0.5.0 → 0.7.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 +15 -0
- package/LICENSE +21 -0
- package/README.md +8 -4
- package/dist/index.js +275 -222
- package/dist/types/api.generated.d.ts +82 -62
- package/dist/types/generated/schemas.d.ts +168 -284
- package/dist/types/operations/audit-notifications.d.ts +4 -0
- package/dist/types/operations/auth.d.ts +175 -0
- package/dist/types/operations/billing.d.ts +4 -4
- package/dist/types/operations/businesses.d.ts +107 -17
- package/dist/types/operations/consumers.d.ts +145 -0
- package/dist/types/operations/index.d.ts +504 -209
- package/dist/types/operations/organizations.d.ts +7 -0
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/portal.d.ts +43 -0
- package/dist/types/operations/webhooks.d.ts +2 -2
- package/dist/types/transport.d.ts +2 -0
- package/dist/types/types.d.ts +34 -34
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
- package/dist/types/operations/agreements.d.ts +0 -174
|
@@ -95,14 +95,14 @@ export declare const OPERATION_TABLE: {
|
|
|
95
95
|
}, {
|
|
96
96
|
data: {
|
|
97
97
|
events: {
|
|
98
|
-
name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed";
|
|
98
|
+
name: "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";
|
|
99
99
|
description: string;
|
|
100
100
|
}[];
|
|
101
101
|
};
|
|
102
102
|
}, {
|
|
103
103
|
data: {
|
|
104
104
|
events: {
|
|
105
|
-
name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed";
|
|
105
|
+
name: "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";
|
|
106
106
|
description: string;
|
|
107
107
|
}[];
|
|
108
108
|
};
|
|
@@ -754,6 +754,51 @@ export declare const OPERATION_TABLE: {
|
|
|
754
754
|
} & {
|
|
755
755
|
serviceAccountId: string;
|
|
756
756
|
}, void, void, false>;
|
|
757
|
+
"portal.balance.read": import("./define.js").OperationEntry<{
|
|
758
|
+
businessId: string;
|
|
759
|
+
}, {
|
|
760
|
+
disclosure: "transparent";
|
|
761
|
+
balances: import("../generated/schemas.js").components["schemas"]["UnitBalance"][];
|
|
762
|
+
} | {
|
|
763
|
+
disclosure: "opaque";
|
|
764
|
+
balances: {
|
|
765
|
+
unit: {
|
|
766
|
+
key: string;
|
|
767
|
+
kind: "money" | "credits";
|
|
768
|
+
code: string;
|
|
769
|
+
displayName: string;
|
|
770
|
+
};
|
|
771
|
+
display: {
|
|
772
|
+
kind: "fraction";
|
|
773
|
+
consumedBasisPoints: number;
|
|
774
|
+
remainingBasisPoints: number;
|
|
775
|
+
};
|
|
776
|
+
exhausted: boolean;
|
|
777
|
+
source: "live" | "estimate";
|
|
778
|
+
asOf: string;
|
|
779
|
+
}[];
|
|
780
|
+
}, {
|
|
781
|
+
disclosure: "transparent";
|
|
782
|
+
balances: import("../generated/schemas.js").components["schemas"]["UnitBalance"][];
|
|
783
|
+
} | {
|
|
784
|
+
disclosure: "opaque";
|
|
785
|
+
balances: {
|
|
786
|
+
unit: {
|
|
787
|
+
key: string;
|
|
788
|
+
kind: "money" | "credits";
|
|
789
|
+
code: string;
|
|
790
|
+
displayName: string;
|
|
791
|
+
};
|
|
792
|
+
display: {
|
|
793
|
+
kind: "fraction";
|
|
794
|
+
consumedBasisPoints: number;
|
|
795
|
+
remainingBasisPoints: number;
|
|
796
|
+
};
|
|
797
|
+
exhausted: boolean;
|
|
798
|
+
source: "live" | "estimate";
|
|
799
|
+
asOf: string;
|
|
800
|
+
}[];
|
|
801
|
+
}, false>;
|
|
757
802
|
"portal.usageLimits.list": import("./define.js").OperationEntry<{
|
|
758
803
|
businessId: string;
|
|
759
804
|
} & {
|
|
@@ -1224,7 +1269,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1224
1269
|
}, {
|
|
1225
1270
|
name: string;
|
|
1226
1271
|
trigger: {
|
|
1227
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1228
1273
|
filter?: {
|
|
1229
1274
|
subjectType?: string;
|
|
1230
1275
|
subjectId?: string;
|
|
@@ -1269,7 +1314,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1269
1314
|
}, {
|
|
1270
1315
|
name: string;
|
|
1271
1316
|
trigger: {
|
|
1272
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1273
1318
|
filter?: {
|
|
1274
1319
|
subjectType?: string;
|
|
1275
1320
|
subjectId?: string;
|
|
@@ -1319,7 +1364,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1319
1364
|
}, {
|
|
1320
1365
|
name: string;
|
|
1321
1366
|
trigger: {
|
|
1322
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1323
1368
|
filter?: {
|
|
1324
1369
|
subjectType?: string;
|
|
1325
1370
|
subjectId?: string;
|
|
@@ -1364,7 +1409,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1364
1409
|
}, {
|
|
1365
1410
|
name: string;
|
|
1366
1411
|
trigger: {
|
|
1367
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1368
1413
|
filter?: {
|
|
1369
1414
|
subjectType?: string;
|
|
1370
1415
|
subjectId?: string;
|
|
@@ -1415,7 +1460,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1415
1460
|
}, {
|
|
1416
1461
|
name: string;
|
|
1417
1462
|
trigger: {
|
|
1418
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1419
1464
|
filter?: {
|
|
1420
1465
|
subjectType?: string;
|
|
1421
1466
|
subjectId?: string;
|
|
@@ -1460,7 +1505,7 @@ export declare const OPERATION_TABLE: {
|
|
|
1460
1505
|
}, {
|
|
1461
1506
|
name: string;
|
|
1462
1507
|
trigger: {
|
|
1463
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
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";
|
|
1464
1509
|
filter?: {
|
|
1465
1510
|
subjectType?: string;
|
|
1466
1511
|
subjectId?: string;
|
|
@@ -1849,6 +1894,15 @@ export declare const OPERATION_TABLE: {
|
|
|
1849
1894
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
1850
1895
|
nextCursor: string | null;
|
|
1851
1896
|
}, false>;
|
|
1897
|
+
"organizations.sellerDetails.read": import("./define.js").OperationEntry<{
|
|
1898
|
+
organizationId: string;
|
|
1899
|
+
}, {
|
|
1900
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1901
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1902
|
+
}, {
|
|
1903
|
+
sellerIdentity: import("../generated/schemas.js").components["schemas"]["SellerIdentity"] | null;
|
|
1904
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
1905
|
+
}, false>;
|
|
1852
1906
|
"organizations.role.list": import("./define.js").OperationEntry<{
|
|
1853
1907
|
organizationId: string;
|
|
1854
1908
|
} & {
|
|
@@ -2424,6 +2478,120 @@ export declare const OPERATION_TABLE: {
|
|
|
2424
2478
|
businessId: string;
|
|
2425
2479
|
environment: string;
|
|
2426
2480
|
}, void, void, false>;
|
|
2481
|
+
"consumers.data.export": import("./define.js").OperationEntry<{
|
|
2482
|
+
businessId: string;
|
|
2483
|
+
subscriberId: string;
|
|
2484
|
+
}, {
|
|
2485
|
+
formatVersion: 1;
|
|
2486
|
+
generatedAt: string;
|
|
2487
|
+
businessId: string;
|
|
2488
|
+
truncated: boolean;
|
|
2489
|
+
profile: {
|
|
2490
|
+
id: string;
|
|
2491
|
+
kind: string;
|
|
2492
|
+
name: string | null;
|
|
2493
|
+
email: string | null;
|
|
2494
|
+
createdAt: string;
|
|
2495
|
+
};
|
|
2496
|
+
subscriptions: {
|
|
2497
|
+
id: string;
|
|
2498
|
+
status: string;
|
|
2499
|
+
compiledPlanId: string | null;
|
|
2500
|
+
}[];
|
|
2501
|
+
apiKeys: {
|
|
2502
|
+
name: string | null;
|
|
2503
|
+
createdAt: string;
|
|
2504
|
+
lastUsedAt: string | null;
|
|
2505
|
+
}[];
|
|
2506
|
+
legalAcceptances: {
|
|
2507
|
+
ref: string;
|
|
2508
|
+
version: string;
|
|
2509
|
+
acceptedAt: string;
|
|
2510
|
+
}[];
|
|
2511
|
+
notificationPreferences: {
|
|
2512
|
+
recipientId: string;
|
|
2513
|
+
emailOptOut: boolean;
|
|
2514
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2515
|
+
}[];
|
|
2516
|
+
marketingEnabled: boolean;
|
|
2517
|
+
membership: {
|
|
2518
|
+
email: string | null;
|
|
2519
|
+
role: string;
|
|
2520
|
+
createdAt: string;
|
|
2521
|
+
} | null;
|
|
2522
|
+
}, {
|
|
2523
|
+
formatVersion: 1;
|
|
2524
|
+
generatedAt: string;
|
|
2525
|
+
businessId: string;
|
|
2526
|
+
truncated: boolean;
|
|
2527
|
+
profile: {
|
|
2528
|
+
id: string;
|
|
2529
|
+
kind: string;
|
|
2530
|
+
name: string | null;
|
|
2531
|
+
email: string | null;
|
|
2532
|
+
createdAt: string;
|
|
2533
|
+
};
|
|
2534
|
+
subscriptions: {
|
|
2535
|
+
id: string;
|
|
2536
|
+
status: string;
|
|
2537
|
+
compiledPlanId: string | null;
|
|
2538
|
+
}[];
|
|
2539
|
+
apiKeys: {
|
|
2540
|
+
name: string | null;
|
|
2541
|
+
createdAt: string;
|
|
2542
|
+
lastUsedAt: string | null;
|
|
2543
|
+
}[];
|
|
2544
|
+
legalAcceptances: {
|
|
2545
|
+
ref: string;
|
|
2546
|
+
version: string;
|
|
2547
|
+
acceptedAt: string;
|
|
2548
|
+
}[];
|
|
2549
|
+
notificationPreferences: {
|
|
2550
|
+
recipientId: string;
|
|
2551
|
+
emailOptOut: boolean;
|
|
2552
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
2553
|
+
}[];
|
|
2554
|
+
marketingEnabled: boolean;
|
|
2555
|
+
membership: {
|
|
2556
|
+
email: string | null;
|
|
2557
|
+
role: string;
|
|
2558
|
+
createdAt: string;
|
|
2559
|
+
} | null;
|
|
2560
|
+
}, false>;
|
|
2561
|
+
"consumers.data.erasure.read": import("./define.js").OperationEntry<{
|
|
2562
|
+
businessId: string;
|
|
2563
|
+
subscriberId: string;
|
|
2564
|
+
}, {
|
|
2565
|
+
id: string;
|
|
2566
|
+
subjectKind: "customer_for_business";
|
|
2567
|
+
subjectUserId: null;
|
|
2568
|
+
customerScopeKey: string;
|
|
2569
|
+
subjectBusinessId: string;
|
|
2570
|
+
subjectSubscriberId: string;
|
|
2571
|
+
subjectPersonId: string | null;
|
|
2572
|
+
requestedBy: "self";
|
|
2573
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2574
|
+
stepsCompleted: string[];
|
|
2575
|
+
code: string | null;
|
|
2576
|
+
createdAt: string;
|
|
2577
|
+
updatedAt: string;
|
|
2578
|
+
completedAt: string | null;
|
|
2579
|
+
} | null, {
|
|
2580
|
+
id: string;
|
|
2581
|
+
subjectKind: "customer_for_business";
|
|
2582
|
+
subjectUserId: null;
|
|
2583
|
+
customerScopeKey: string;
|
|
2584
|
+
subjectBusinessId: string;
|
|
2585
|
+
subjectSubscriberId: string;
|
|
2586
|
+
subjectPersonId: string | null;
|
|
2587
|
+
requestedBy: "self";
|
|
2588
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
2589
|
+
stepsCompleted: string[];
|
|
2590
|
+
code: string | null;
|
|
2591
|
+
createdAt: string;
|
|
2592
|
+
updatedAt: string;
|
|
2593
|
+
completedAt: string | null;
|
|
2594
|
+
} | null, false>;
|
|
2427
2595
|
"consumers.read": import("./define.js").OperationEntry<{
|
|
2428
2596
|
businessId: string;
|
|
2429
2597
|
env?: string;
|
|
@@ -2614,6 +2782,46 @@ export declare const OPERATION_TABLE: {
|
|
|
2614
2782
|
}, {
|
|
2615
2783
|
apiKeys: import("../generated/schemas.js").components["schemas"]["ConsumerApiKey"][];
|
|
2616
2784
|
}, false>;
|
|
2785
|
+
"consumers.balance.read": import("./define.js").OperationEntry<{
|
|
2786
|
+
businessId: string;
|
|
2787
|
+
subscriberId: string;
|
|
2788
|
+
}, {
|
|
2789
|
+
subscriberId: string;
|
|
2790
|
+
balances: {
|
|
2791
|
+
unit: {
|
|
2792
|
+
key: string;
|
|
2793
|
+
kind: "money" | "credits";
|
|
2794
|
+
code: string;
|
|
2795
|
+
displayName: string;
|
|
2796
|
+
};
|
|
2797
|
+
available: string;
|
|
2798
|
+
granted: string;
|
|
2799
|
+
revoked: string;
|
|
2800
|
+
consumed: string;
|
|
2801
|
+
exhausted: boolean;
|
|
2802
|
+
source: "live" | "estimate";
|
|
2803
|
+
asOf: string;
|
|
2804
|
+
environment: string | null;
|
|
2805
|
+
}[];
|
|
2806
|
+
}, {
|
|
2807
|
+
subscriberId: string;
|
|
2808
|
+
balances: {
|
|
2809
|
+
unit: {
|
|
2810
|
+
key: string;
|
|
2811
|
+
kind: "money" | "credits";
|
|
2812
|
+
code: string;
|
|
2813
|
+
displayName: string;
|
|
2814
|
+
};
|
|
2815
|
+
available: string;
|
|
2816
|
+
granted: string;
|
|
2817
|
+
revoked: string;
|
|
2818
|
+
consumed: string;
|
|
2819
|
+
exhausted: boolean;
|
|
2820
|
+
source: "live" | "estimate";
|
|
2821
|
+
asOf: string;
|
|
2822
|
+
environment: string | null;
|
|
2823
|
+
}[];
|
|
2824
|
+
}, false>;
|
|
2617
2825
|
"consumers.apiKeys.revoke": import("./define.js").OperationEntry<{
|
|
2618
2826
|
businessId: string;
|
|
2619
2827
|
subscriberId: string;
|
|
@@ -3092,6 +3300,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3092
3300
|
id: string;
|
|
3093
3301
|
organizationId: string | null;
|
|
3094
3302
|
name: string;
|
|
3303
|
+
sellerLaunchRefusal?: {
|
|
3304
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3305
|
+
settingsUrl: string;
|
|
3306
|
+
message: string;
|
|
3307
|
+
};
|
|
3095
3308
|
displayName: string | null;
|
|
3096
3309
|
description: string | null;
|
|
3097
3310
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3122,6 +3335,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3122
3335
|
id: string;
|
|
3123
3336
|
organizationId: string | null;
|
|
3124
3337
|
name: string;
|
|
3338
|
+
sellerLaunchRefusal?: {
|
|
3339
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3340
|
+
settingsUrl: string;
|
|
3341
|
+
message: string;
|
|
3342
|
+
};
|
|
3125
3343
|
displayName: string | null;
|
|
3126
3344
|
description: string | null;
|
|
3127
3345
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3157,6 +3375,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3157
3375
|
id: string;
|
|
3158
3376
|
organizationId: string | null;
|
|
3159
3377
|
name: string;
|
|
3378
|
+
sellerLaunchRefusal?: {
|
|
3379
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3380
|
+
settingsUrl: string;
|
|
3381
|
+
message: string;
|
|
3382
|
+
};
|
|
3160
3383
|
displayName: string | null;
|
|
3161
3384
|
description: string | null;
|
|
3162
3385
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3183,11 +3406,19 @@ export declare const OPERATION_TABLE: {
|
|
|
3183
3406
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3184
3407
|
createdAt: string;
|
|
3185
3408
|
updatedAt: string;
|
|
3409
|
+
usageUnitLabels?: {
|
|
3410
|
+
[key: string]: string;
|
|
3411
|
+
};
|
|
3186
3412
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3187
3413
|
}, {
|
|
3188
3414
|
id: string;
|
|
3189
3415
|
organizationId: string | null;
|
|
3190
3416
|
name: string;
|
|
3417
|
+
sellerLaunchRefusal?: {
|
|
3418
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3419
|
+
settingsUrl: string;
|
|
3420
|
+
message: string;
|
|
3421
|
+
};
|
|
3191
3422
|
displayName: string | null;
|
|
3192
3423
|
description: string | null;
|
|
3193
3424
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3214,6 +3445,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3214
3445
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3215
3446
|
createdAt: string;
|
|
3216
3447
|
updatedAt: string;
|
|
3448
|
+
usageUnitLabels?: {
|
|
3449
|
+
[key: string]: string;
|
|
3450
|
+
};
|
|
3217
3451
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3218
3452
|
}, false>;
|
|
3219
3453
|
"businesses.create": import("./define.js").OperationEntry<{
|
|
@@ -3378,6 +3612,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3378
3612
|
id: string;
|
|
3379
3613
|
organizationId: string | null;
|
|
3380
3614
|
name: string;
|
|
3615
|
+
sellerLaunchRefusal?: {
|
|
3616
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3617
|
+
settingsUrl: string;
|
|
3618
|
+
message: string;
|
|
3619
|
+
};
|
|
3381
3620
|
displayName: string | null;
|
|
3382
3621
|
description: string | null;
|
|
3383
3622
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3409,6 +3648,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3409
3648
|
id: string;
|
|
3410
3649
|
organizationId: string | null;
|
|
3411
3650
|
name: string;
|
|
3651
|
+
sellerLaunchRefusal?: {
|
|
3652
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3653
|
+
settingsUrl: string;
|
|
3654
|
+
message: string;
|
|
3655
|
+
};
|
|
3412
3656
|
displayName: string | null;
|
|
3413
3657
|
description: string | null;
|
|
3414
3658
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3437,20 +3681,6 @@ export declare const OPERATION_TABLE: {
|
|
|
3437
3681
|
updatedAt: string;
|
|
3438
3682
|
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
3439
3683
|
}, true>;
|
|
3440
|
-
"businesses.rollback": import("./define.js").OperationEntry<{
|
|
3441
|
-
businessId: string;
|
|
3442
|
-
} & {
|
|
3443
|
-
publishId: string;
|
|
3444
|
-
reason?: string;
|
|
3445
|
-
}, {
|
|
3446
|
-
businessId: string;
|
|
3447
|
-
status: "enqueued";
|
|
3448
|
-
rollbackPublishId: string;
|
|
3449
|
-
}, {
|
|
3450
|
-
businessId: string;
|
|
3451
|
-
status: "enqueued";
|
|
3452
|
-
rollbackPublishId: string;
|
|
3453
|
-
}, false>;
|
|
3454
3684
|
"businesses.compile": import("./define.js").OperationEntry<{
|
|
3455
3685
|
businessId: string;
|
|
3456
3686
|
} & {
|
|
@@ -3507,11 +3737,16 @@ export declare const OPERATION_TABLE: {
|
|
|
3507
3737
|
} & {
|
|
3508
3738
|
env?: string;
|
|
3509
3739
|
} & {
|
|
3510
|
-
body: import("
|
|
3740
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3511
3741
|
}, {
|
|
3512
3742
|
id: string;
|
|
3513
3743
|
organizationId: string | null;
|
|
3514
3744
|
name: string;
|
|
3745
|
+
sellerLaunchRefusal?: {
|
|
3746
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3747
|
+
settingsUrl: string;
|
|
3748
|
+
message: string;
|
|
3749
|
+
};
|
|
3515
3750
|
displayName: string | null;
|
|
3516
3751
|
description: string | null;
|
|
3517
3752
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3542,6 +3777,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3542
3777
|
id: string;
|
|
3543
3778
|
organizationId: string | null;
|
|
3544
3779
|
name: string;
|
|
3780
|
+
sellerLaunchRefusal?: {
|
|
3781
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3782
|
+
settingsUrl: string;
|
|
3783
|
+
message: string;
|
|
3784
|
+
};
|
|
3545
3785
|
displayName: string | null;
|
|
3546
3786
|
description: string | null;
|
|
3547
3787
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3586,11 +3826,16 @@ export declare const OPERATION_TABLE: {
|
|
|
3586
3826
|
} & {
|
|
3587
3827
|
env?: string;
|
|
3588
3828
|
} & {
|
|
3589
|
-
body: import("
|
|
3829
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3590
3830
|
}, {
|
|
3591
3831
|
id: string;
|
|
3592
3832
|
organizationId: string | null;
|
|
3593
3833
|
name: string;
|
|
3834
|
+
sellerLaunchRefusal?: {
|
|
3835
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3836
|
+
settingsUrl: string;
|
|
3837
|
+
message: string;
|
|
3838
|
+
};
|
|
3594
3839
|
displayName: string | null;
|
|
3595
3840
|
description: string | null;
|
|
3596
3841
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3621,6 +3866,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3621
3866
|
id: string;
|
|
3622
3867
|
organizationId: string | null;
|
|
3623
3868
|
name: string;
|
|
3869
|
+
sellerLaunchRefusal?: {
|
|
3870
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3871
|
+
settingsUrl: string;
|
|
3872
|
+
message: string;
|
|
3873
|
+
};
|
|
3624
3874
|
displayName: string | null;
|
|
3625
3875
|
description: string | null;
|
|
3626
3876
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3656,6 +3906,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3656
3906
|
id: string;
|
|
3657
3907
|
organizationId: string | null;
|
|
3658
3908
|
name: string;
|
|
3909
|
+
sellerLaunchRefusal?: {
|
|
3910
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3911
|
+
settingsUrl: string;
|
|
3912
|
+
message: string;
|
|
3913
|
+
};
|
|
3659
3914
|
displayName: string | null;
|
|
3660
3915
|
description: string | null;
|
|
3661
3916
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3686,6 +3941,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3686
3941
|
id: string;
|
|
3687
3942
|
organizationId: string | null;
|
|
3688
3943
|
name: string;
|
|
3944
|
+
sellerLaunchRefusal?: {
|
|
3945
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3946
|
+
settingsUrl: string;
|
|
3947
|
+
message: string;
|
|
3948
|
+
};
|
|
3689
3949
|
displayName: string | null;
|
|
3690
3950
|
description: string | null;
|
|
3691
3951
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3721,6 +3981,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3721
3981
|
id: string;
|
|
3722
3982
|
organizationId: string | null;
|
|
3723
3983
|
name: string;
|
|
3984
|
+
sellerLaunchRefusal?: {
|
|
3985
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
3986
|
+
settingsUrl: string;
|
|
3987
|
+
message: string;
|
|
3988
|
+
};
|
|
3724
3989
|
displayName: string | null;
|
|
3725
3990
|
description: string | null;
|
|
3726
3991
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3751,6 +4016,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3751
4016
|
id: string;
|
|
3752
4017
|
organizationId: string | null;
|
|
3753
4018
|
name: string;
|
|
4019
|
+
sellerLaunchRefusal?: {
|
|
4020
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4021
|
+
settingsUrl: string;
|
|
4022
|
+
message: string;
|
|
4023
|
+
};
|
|
3754
4024
|
displayName: string | null;
|
|
3755
4025
|
description: string | null;
|
|
3756
4026
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3783,11 +4053,16 @@ export declare const OPERATION_TABLE: {
|
|
|
3783
4053
|
} & {
|
|
3784
4054
|
env?: string;
|
|
3785
4055
|
} & {
|
|
3786
|
-
body: import("
|
|
4056
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3787
4057
|
}, {
|
|
3788
4058
|
id: string;
|
|
3789
4059
|
organizationId: string | null;
|
|
3790
4060
|
name: string;
|
|
4061
|
+
sellerLaunchRefusal?: {
|
|
4062
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4063
|
+
settingsUrl: string;
|
|
4064
|
+
message: string;
|
|
4065
|
+
};
|
|
3791
4066
|
displayName: string | null;
|
|
3792
4067
|
description: string | null;
|
|
3793
4068
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3818,6 +4093,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3818
4093
|
id: string;
|
|
3819
4094
|
organizationId: string | null;
|
|
3820
4095
|
name: string;
|
|
4096
|
+
sellerLaunchRefusal?: {
|
|
4097
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4098
|
+
settingsUrl: string;
|
|
4099
|
+
message: string;
|
|
4100
|
+
};
|
|
3821
4101
|
displayName: string | null;
|
|
3822
4102
|
description: string | null;
|
|
3823
4103
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3851,6 +4131,11 @@ export declare const OPERATION_TABLE: {
|
|
|
3851
4131
|
id: string;
|
|
3852
4132
|
organizationId: string | null;
|
|
3853
4133
|
name: string;
|
|
4134
|
+
sellerLaunchRefusal?: {
|
|
4135
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4136
|
+
settingsUrl: string;
|
|
4137
|
+
message: string;
|
|
4138
|
+
};
|
|
3854
4139
|
displayName: string | null;
|
|
3855
4140
|
description: string | null;
|
|
3856
4141
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3877,11 +4162,19 @@ export declare const OPERATION_TABLE: {
|
|
|
3877
4162
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3878
4163
|
createdAt: string;
|
|
3879
4164
|
updatedAt: string;
|
|
4165
|
+
usageUnitLabels?: {
|
|
4166
|
+
[key: string]: string;
|
|
4167
|
+
};
|
|
3880
4168
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3881
4169
|
}, {
|
|
3882
4170
|
id: string;
|
|
3883
4171
|
organizationId: string | null;
|
|
3884
4172
|
name: string;
|
|
4173
|
+
sellerLaunchRefusal?: {
|
|
4174
|
+
code: "SELLER_LAUNCH_REQUIREMENTS_MISSING";
|
|
4175
|
+
settingsUrl: string;
|
|
4176
|
+
message: string;
|
|
4177
|
+
};
|
|
3885
4178
|
displayName: string | null;
|
|
3886
4179
|
description: string | null;
|
|
3887
4180
|
status: "DRAFT" | "ACTIVE";
|
|
@@ -3908,6 +4201,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3908
4201
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3909
4202
|
createdAt: string;
|
|
3910
4203
|
updatedAt: string;
|
|
4204
|
+
usageUnitLabels?: {
|
|
4205
|
+
[key: string]: string;
|
|
4206
|
+
};
|
|
3911
4207
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3912
4208
|
}, false>;
|
|
3913
4209
|
"businesses.rbac.enable": import("./define.js").OperationEntry<{
|
|
@@ -3935,14 +4231,14 @@ export declare const OPERATION_TABLE: {
|
|
|
3935
4231
|
businessId: string;
|
|
3936
4232
|
}, {
|
|
3937
4233
|
connected: boolean;
|
|
3938
|
-
|
|
3939
|
-
|
|
4234
|
+
reconnectRequired?: true;
|
|
4235
|
+
source: "organization";
|
|
3940
4236
|
chargesEnabled: boolean;
|
|
3941
4237
|
cardPaymentsEnabled: boolean;
|
|
3942
4238
|
}, {
|
|
3943
4239
|
connected: boolean;
|
|
3944
|
-
|
|
3945
|
-
|
|
4240
|
+
reconnectRequired?: true;
|
|
4241
|
+
source: "organization";
|
|
3946
4242
|
chargesEnabled: boolean;
|
|
3947
4243
|
cardPaymentsEnabled: boolean;
|
|
3948
4244
|
}, false>;
|
|
@@ -4252,6 +4548,181 @@ export declare const OPERATION_TABLE: {
|
|
|
4252
4548
|
revokedAt: string | null;
|
|
4253
4549
|
lastUsedAt: string | null;
|
|
4254
4550
|
}, false>;
|
|
4551
|
+
"account.erasure.read": import("./define.js").OperationEntry<void, {
|
|
4552
|
+
id: string;
|
|
4553
|
+
subjectKind: "builder_account";
|
|
4554
|
+
subjectUserId: string;
|
|
4555
|
+
requestedBy: "self" | "provider_event";
|
|
4556
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4557
|
+
stepsCompleted: string[];
|
|
4558
|
+
code: string | null;
|
|
4559
|
+
createdAt: string;
|
|
4560
|
+
updatedAt: string;
|
|
4561
|
+
completedAt: string | null;
|
|
4562
|
+
} | null, {
|
|
4563
|
+
id: string;
|
|
4564
|
+
subjectKind: "builder_account";
|
|
4565
|
+
subjectUserId: string;
|
|
4566
|
+
requestedBy: "self" | "provider_event";
|
|
4567
|
+
status: "pending" | "failed" | "running" | "refused" | "completed";
|
|
4568
|
+
stepsCompleted: string[];
|
|
4569
|
+
code: string | null;
|
|
4570
|
+
createdAt: string;
|
|
4571
|
+
updatedAt: string;
|
|
4572
|
+
completedAt: string | null;
|
|
4573
|
+
} | null, false>;
|
|
4574
|
+
"personalData.export": import("./define.js").OperationEntry<void, {
|
|
4575
|
+
formatVersion: 1;
|
|
4576
|
+
generatedAt: string;
|
|
4577
|
+
profile: {
|
|
4578
|
+
id: string;
|
|
4579
|
+
primaryEmail: string | null;
|
|
4580
|
+
displayName: string;
|
|
4581
|
+
createdAt: string;
|
|
4582
|
+
lastSeenAt: string | null;
|
|
4583
|
+
};
|
|
4584
|
+
organizations: {
|
|
4585
|
+
organization: {
|
|
4586
|
+
id: string;
|
|
4587
|
+
name: string;
|
|
4588
|
+
slug: string;
|
|
4589
|
+
deletedAt: string | null;
|
|
4590
|
+
};
|
|
4591
|
+
role: {
|
|
4592
|
+
key: string;
|
|
4593
|
+
name: string;
|
|
4594
|
+
};
|
|
4595
|
+
createdAt: string;
|
|
4596
|
+
}[];
|
|
4597
|
+
legalAcceptances: {
|
|
4598
|
+
document: string;
|
|
4599
|
+
version: string;
|
|
4600
|
+
acceptedAt: string;
|
|
4601
|
+
surface: string;
|
|
4602
|
+
}[];
|
|
4603
|
+
notificationPreferences: {
|
|
4604
|
+
businessId: string | null;
|
|
4605
|
+
recipientOrganizationId: string | null;
|
|
4606
|
+
emailOptOut: boolean;
|
|
4607
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4608
|
+
}[];
|
|
4609
|
+
credentials: {
|
|
4610
|
+
apps: {
|
|
4611
|
+
id: string;
|
|
4612
|
+
name: string;
|
|
4613
|
+
clientKind: string;
|
|
4614
|
+
scopes: string[];
|
|
4615
|
+
organizationId: string | null;
|
|
4616
|
+
createdAt: string;
|
|
4617
|
+
lastUsedAt: string | null;
|
|
4618
|
+
revokedAt: string | null;
|
|
4619
|
+
}[];
|
|
4620
|
+
api: {
|
|
4621
|
+
id: string;
|
|
4622
|
+
name: string;
|
|
4623
|
+
organizationId: string;
|
|
4624
|
+
grantedPermissions: string[];
|
|
4625
|
+
businessScopeMode: string;
|
|
4626
|
+
createdAt: string;
|
|
4627
|
+
lastUsedAt: string | null;
|
|
4628
|
+
revokedAt: string | null;
|
|
4629
|
+
}[];
|
|
4630
|
+
};
|
|
4631
|
+
recentAudit: {
|
|
4632
|
+
limit: number;
|
|
4633
|
+
hasMore: boolean;
|
|
4634
|
+
entries: {
|
|
4635
|
+
id: string;
|
|
4636
|
+
action: string;
|
|
4637
|
+
createdAt: string;
|
|
4638
|
+
}[];
|
|
4639
|
+
};
|
|
4640
|
+
}, {
|
|
4641
|
+
formatVersion: 1;
|
|
4642
|
+
generatedAt: string;
|
|
4643
|
+
profile: {
|
|
4644
|
+
id: string;
|
|
4645
|
+
primaryEmail: string | null;
|
|
4646
|
+
displayName: string;
|
|
4647
|
+
createdAt: string;
|
|
4648
|
+
lastSeenAt: string | null;
|
|
4649
|
+
};
|
|
4650
|
+
organizations: {
|
|
4651
|
+
organization: {
|
|
4652
|
+
id: string;
|
|
4653
|
+
name: string;
|
|
4654
|
+
slug: string;
|
|
4655
|
+
deletedAt: string | null;
|
|
4656
|
+
};
|
|
4657
|
+
role: {
|
|
4658
|
+
key: string;
|
|
4659
|
+
name: string;
|
|
4660
|
+
};
|
|
4661
|
+
createdAt: string;
|
|
4662
|
+
}[];
|
|
4663
|
+
legalAcceptances: {
|
|
4664
|
+
document: string;
|
|
4665
|
+
version: string;
|
|
4666
|
+
acceptedAt: string;
|
|
4667
|
+
surface: string;
|
|
4668
|
+
}[];
|
|
4669
|
+
notificationPreferences: {
|
|
4670
|
+
businessId: string | null;
|
|
4671
|
+
recipientOrganizationId: string | null;
|
|
4672
|
+
emailOptOut: boolean;
|
|
4673
|
+
categoryOptOuts: Record<string, boolean> | null;
|
|
4674
|
+
}[];
|
|
4675
|
+
credentials: {
|
|
4676
|
+
apps: {
|
|
4677
|
+
id: string;
|
|
4678
|
+
name: string;
|
|
4679
|
+
clientKind: string;
|
|
4680
|
+
scopes: string[];
|
|
4681
|
+
organizationId: string | null;
|
|
4682
|
+
createdAt: string;
|
|
4683
|
+
lastUsedAt: string | null;
|
|
4684
|
+
revokedAt: string | null;
|
|
4685
|
+
}[];
|
|
4686
|
+
api: {
|
|
4687
|
+
id: string;
|
|
4688
|
+
name: string;
|
|
4689
|
+
organizationId: string;
|
|
4690
|
+
grantedPermissions: string[];
|
|
4691
|
+
businessScopeMode: string;
|
|
4692
|
+
createdAt: string;
|
|
4693
|
+
lastUsedAt: string | null;
|
|
4694
|
+
revokedAt: string | null;
|
|
4695
|
+
}[];
|
|
4696
|
+
};
|
|
4697
|
+
recentAudit: {
|
|
4698
|
+
limit: number;
|
|
4699
|
+
hasMore: boolean;
|
|
4700
|
+
entries: {
|
|
4701
|
+
id: string;
|
|
4702
|
+
action: string;
|
|
4703
|
+
createdAt: string;
|
|
4704
|
+
}[];
|
|
4705
|
+
};
|
|
4706
|
+
}, false>;
|
|
4707
|
+
"platform.legal.read": import("./define.js").OperationEntry<void, {
|
|
4708
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
4709
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
4710
|
+
requiredVersions: {
|
|
4711
|
+
terms: string;
|
|
4712
|
+
privacy: string;
|
|
4713
|
+
acceptableUse: string;
|
|
4714
|
+
};
|
|
4715
|
+
dashboardUrl: string;
|
|
4716
|
+
}, {
|
|
4717
|
+
accepted: ("terms" | "privacy" | "acceptableUse")[];
|
|
4718
|
+
outstanding: ("terms" | "privacy" | "acceptableUse")[];
|
|
4719
|
+
requiredVersions: {
|
|
4720
|
+
terms: string;
|
|
4721
|
+
privacy: string;
|
|
4722
|
+
acceptableUse: string;
|
|
4723
|
+
};
|
|
4724
|
+
dashboardUrl: string;
|
|
4725
|
+
}, false>;
|
|
4255
4726
|
"auth.context.read": import("./define.js").OperationEntry<void, import("../types.js").CallerContext, import("../types.js").CallerContext, false>;
|
|
4256
4727
|
"auth.context.issue": import("./define.js").OperationEntry<{
|
|
4257
4728
|
businessId: string;
|
|
@@ -4338,6 +4809,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4338
4809
|
usage?: boolean;
|
|
4339
4810
|
access?: boolean;
|
|
4340
4811
|
product?: boolean;
|
|
4812
|
+
marketing?: boolean;
|
|
4341
4813
|
deployments?: boolean;
|
|
4342
4814
|
team?: boolean;
|
|
4343
4815
|
security?: boolean;
|
|
@@ -4349,6 +4821,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4349
4821
|
usage?: boolean;
|
|
4350
4822
|
access?: boolean;
|
|
4351
4823
|
product?: boolean;
|
|
4824
|
+
marketing?: boolean;
|
|
4352
4825
|
deployments?: boolean;
|
|
4353
4826
|
team?: boolean;
|
|
4354
4827
|
security?: boolean;
|
|
@@ -4365,6 +4838,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4365
4838
|
usage?: boolean;
|
|
4366
4839
|
access?: boolean;
|
|
4367
4840
|
product?: boolean;
|
|
4841
|
+
marketing?: boolean;
|
|
4368
4842
|
deployments?: boolean;
|
|
4369
4843
|
team?: boolean;
|
|
4370
4844
|
security?: boolean;
|
|
@@ -4376,6 +4850,7 @@ export declare const OPERATION_TABLE: {
|
|
|
4376
4850
|
usage?: boolean;
|
|
4377
4851
|
access?: boolean;
|
|
4378
4852
|
product?: boolean;
|
|
4853
|
+
marketing?: boolean;
|
|
4379
4854
|
deployments?: boolean;
|
|
4380
4855
|
team?: boolean;
|
|
4381
4856
|
security?: boolean;
|
|
@@ -4435,186 +4910,6 @@ export declare const OPERATION_TABLE: {
|
|
|
4435
4910
|
} | {
|
|
4436
4911
|
result: import("../generated/schemas.js").components["schemas"]["AnalyticsTopKRow"][];
|
|
4437
4912
|
}, false>;
|
|
4438
|
-
"agreements.read": import("./define.js").OperationEntry<{
|
|
4439
|
-
businessId: string;
|
|
4440
|
-
} & {
|
|
4441
|
-
subjectId?: string;
|
|
4442
|
-
environmentId?: string;
|
|
4443
|
-
limit?: number;
|
|
4444
|
-
offset?: number;
|
|
4445
|
-
}, {
|
|
4446
|
-
data: import("../generated/schemas.js").components["schemas"]["EconomicAgreement"][];
|
|
4447
|
-
pagination: {
|
|
4448
|
-
total: number;
|
|
4449
|
-
limit: number;
|
|
4450
|
-
offset: number;
|
|
4451
|
-
hasMore: boolean;
|
|
4452
|
-
};
|
|
4453
|
-
}, {
|
|
4454
|
-
data: import("../generated/schemas.js").components["schemas"]["EconomicAgreement"][];
|
|
4455
|
-
pagination: {
|
|
4456
|
-
total: number;
|
|
4457
|
-
limit: number;
|
|
4458
|
-
offset: number;
|
|
4459
|
-
hasMore: boolean;
|
|
4460
|
-
};
|
|
4461
|
-
}, false>;
|
|
4462
|
-
"agreements.get": import("./define.js").OperationEntry<{
|
|
4463
|
-
businessId: string;
|
|
4464
|
-
} & {
|
|
4465
|
-
agreementId: string;
|
|
4466
|
-
}, {
|
|
4467
|
-
id: string;
|
|
4468
|
-
environmentId: string | null;
|
|
4469
|
-
subjectId: string;
|
|
4470
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4471
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4472
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4473
|
-
effectiveAt: string;
|
|
4474
|
-
expiresAt: string | null;
|
|
4475
|
-
createdAt: string;
|
|
4476
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4477
|
-
}, {
|
|
4478
|
-
id: string;
|
|
4479
|
-
environmentId: string | null;
|
|
4480
|
-
subjectId: string;
|
|
4481
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4482
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4483
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4484
|
-
effectiveAt: string;
|
|
4485
|
-
expiresAt: string | null;
|
|
4486
|
-
createdAt: string;
|
|
4487
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4488
|
-
}, false>;
|
|
4489
|
-
"agreements.pins": import("./define.js").OperationEntry<{
|
|
4490
|
-
businessId: string;
|
|
4491
|
-
} & {
|
|
4492
|
-
subjectId: string;
|
|
4493
|
-
}, {
|
|
4494
|
-
subjectId: string;
|
|
4495
|
-
environmentId: string | null;
|
|
4496
|
-
recurringPricePin: {
|
|
4497
|
-
planKey: string;
|
|
4498
|
-
version: number;
|
|
4499
|
-
recurringFeeCents: number;
|
|
4500
|
-
billingInterval: string;
|
|
4501
|
-
} | null;
|
|
4502
|
-
usagePricingBinding: {
|
|
4503
|
-
source: "agreement";
|
|
4504
|
-
agreementId: string;
|
|
4505
|
-
binding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4506
|
-
} | {
|
|
4507
|
-
source: "plan_default";
|
|
4508
|
-
mode: "current";
|
|
4509
|
-
};
|
|
4510
|
-
migrateToLatest: {
|
|
4511
|
-
status: "deferred";
|
|
4512
|
-
};
|
|
4513
|
-
}, {
|
|
4514
|
-
subjectId: string;
|
|
4515
|
-
environmentId: string | null;
|
|
4516
|
-
recurringPricePin: {
|
|
4517
|
-
planKey: string;
|
|
4518
|
-
version: number;
|
|
4519
|
-
recurringFeeCents: number;
|
|
4520
|
-
billingInterval: string;
|
|
4521
|
-
} | null;
|
|
4522
|
-
usagePricingBinding: {
|
|
4523
|
-
source: "agreement";
|
|
4524
|
-
agreementId: string;
|
|
4525
|
-
binding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4526
|
-
} | {
|
|
4527
|
-
source: "plan_default";
|
|
4528
|
-
mode: "current";
|
|
4529
|
-
};
|
|
4530
|
-
migrateToLatest: {
|
|
4531
|
-
status: "deferred";
|
|
4532
|
-
};
|
|
4533
|
-
}, false>;
|
|
4534
|
-
"agreements.previewCreate": import("./define.js").OperationEntry<{
|
|
4535
|
-
businessId: string;
|
|
4536
|
-
} & {
|
|
4537
|
-
body: import("./define.js").RequestBody;
|
|
4538
|
-
}, {
|
|
4539
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementCreateEffect"];
|
|
4540
|
-
confirmationToken: string;
|
|
4541
|
-
}, {
|
|
4542
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementCreateEffect"];
|
|
4543
|
-
confirmationToken: string;
|
|
4544
|
-
}, false>;
|
|
4545
|
-
"agreements.create": import("./define.js").OperationEntry<{
|
|
4546
|
-
businessId: string;
|
|
4547
|
-
} & {
|
|
4548
|
-
body: import("./define.js").RequestBody & {
|
|
4549
|
-
confirmationToken: string;
|
|
4550
|
-
};
|
|
4551
|
-
}, {
|
|
4552
|
-
id: string;
|
|
4553
|
-
environmentId: string | null;
|
|
4554
|
-
subjectId: string;
|
|
4555
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4556
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4557
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4558
|
-
effectiveAt: string;
|
|
4559
|
-
expiresAt: string | null;
|
|
4560
|
-
createdAt: string;
|
|
4561
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4562
|
-
}, {
|
|
4563
|
-
id: string;
|
|
4564
|
-
environmentId: string | null;
|
|
4565
|
-
subjectId: string;
|
|
4566
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4567
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4568
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4569
|
-
effectiveAt: string;
|
|
4570
|
-
expiresAt: string | null;
|
|
4571
|
-
createdAt: string;
|
|
4572
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4573
|
-
}, false>;
|
|
4574
|
-
"agreements.previewAmend": import("./define.js").OperationEntry<{
|
|
4575
|
-
businessId: string;
|
|
4576
|
-
} & {
|
|
4577
|
-
agreementId: string;
|
|
4578
|
-
} & {
|
|
4579
|
-
body: import("./define.js").RequestBody;
|
|
4580
|
-
}, {
|
|
4581
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementAmendEffect"];
|
|
4582
|
-
confirmationToken: string;
|
|
4583
|
-
}, {
|
|
4584
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementAmendEffect"];
|
|
4585
|
-
confirmationToken: string;
|
|
4586
|
-
}, false>;
|
|
4587
|
-
"agreements.amend": import("./define.js").OperationEntry<{
|
|
4588
|
-
businessId: string;
|
|
4589
|
-
} & {
|
|
4590
|
-
agreementId: string;
|
|
4591
|
-
} & {
|
|
4592
|
-
body: import("./define.js").RequestBody & {
|
|
4593
|
-
confirmationToken: string;
|
|
4594
|
-
};
|
|
4595
|
-
}, {
|
|
4596
|
-
id: string;
|
|
4597
|
-
environmentId: string | null;
|
|
4598
|
-
subjectId: string;
|
|
4599
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4600
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4601
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4602
|
-
effectiveAt: string;
|
|
4603
|
-
expiresAt: string | null;
|
|
4604
|
-
createdAt: string;
|
|
4605
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4606
|
-
}, {
|
|
4607
|
-
id: string;
|
|
4608
|
-
environmentId: string | null;
|
|
4609
|
-
subjectId: string;
|
|
4610
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4611
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4612
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4613
|
-
effectiveAt: string;
|
|
4614
|
-
expiresAt: string | null;
|
|
4615
|
-
createdAt: string;
|
|
4616
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4617
|
-
}, false>;
|
|
4618
4913
|
"agents.list": import("./define.js").OperationEntry<{
|
|
4619
4914
|
businessId: string;
|
|
4620
4915
|
}, {
|