@farthershore/client 0.4.0 → 0.6.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 +18 -0
- package/README.md +11 -5
- package/dist/index.js +194 -299
- package/dist/types/api.generated.d.ts +20 -92
- package/dist/types/credentials.d.ts +6 -2
- package/dist/types/generated/schemas.d.ts +119 -281
- package/dist/types/helpers/refs.d.ts +2 -2
- package/dist/types/operations/billing.d.ts +4 -11
- package/dist/types/operations/businesses.d.ts +17 -18
- package/dist/types/operations/consumers.d.ts +37 -0
- package/dist/types/operations/define.d.ts +7 -1
- package/dist/types/operations/index.d.ts +112 -237
- package/dist/types/operations/organizations.d.ts +0 -12
- 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 +27 -32
- 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";
|
|
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";
|
|
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" | "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" | "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" | "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" | "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" | "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" | "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;
|
|
@@ -1790,9 +1835,6 @@ export declare const OPERATION_TABLE: {
|
|
|
1790
1835
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
1791
1836
|
roleKey: "owner";
|
|
1792
1837
|
}, false>;
|
|
1793
|
-
"organizations.delete": import("./define.js").OperationEntry<{
|
|
1794
|
-
organizationId: string;
|
|
1795
|
-
}, void, void, false>;
|
|
1796
1838
|
"organizations.overview.read": import("./define.js").OperationEntry<{
|
|
1797
1839
|
organizationId: string;
|
|
1798
1840
|
}, {
|
|
@@ -2081,19 +2123,6 @@ export declare const OPERATION_TABLE: {
|
|
|
2081
2123
|
} & {
|
|
2082
2124
|
memberUserId: string;
|
|
2083
2125
|
}, void, void, false>;
|
|
2084
|
-
"organizations.ownership.transfer": import("./define.js").OperationEntry<{
|
|
2085
|
-
organizationId: string;
|
|
2086
|
-
} & {
|
|
2087
|
-
newOwnerUserId: string;
|
|
2088
|
-
}, {
|
|
2089
|
-
organizationId: string;
|
|
2090
|
-
previousPrimaryOwnerUserId: string;
|
|
2091
|
-
primaryOwnerUserId: string;
|
|
2092
|
-
}, {
|
|
2093
|
-
organizationId: string;
|
|
2094
|
-
previousPrimaryOwnerUserId: string;
|
|
2095
|
-
primaryOwnerUserId: string;
|
|
2096
|
-
}, false>;
|
|
2097
2126
|
"organizations.invitation.create": import("./define.js").OperationEntry<{
|
|
2098
2127
|
organizationId: string;
|
|
2099
2128
|
} & {
|
|
@@ -2630,6 +2659,46 @@ export declare const OPERATION_TABLE: {
|
|
|
2630
2659
|
}, {
|
|
2631
2660
|
apiKeys: import("../generated/schemas.js").components["schemas"]["ConsumerApiKey"][];
|
|
2632
2661
|
}, false>;
|
|
2662
|
+
"consumers.balance.read": import("./define.js").OperationEntry<{
|
|
2663
|
+
businessId: string;
|
|
2664
|
+
subscriberId: string;
|
|
2665
|
+
}, {
|
|
2666
|
+
subscriberId: string;
|
|
2667
|
+
balances: {
|
|
2668
|
+
unit: {
|
|
2669
|
+
key: string;
|
|
2670
|
+
kind: "money" | "credits";
|
|
2671
|
+
code: string;
|
|
2672
|
+
displayName: string;
|
|
2673
|
+
};
|
|
2674
|
+
available: string;
|
|
2675
|
+
granted: string;
|
|
2676
|
+
revoked: string;
|
|
2677
|
+
consumed: string;
|
|
2678
|
+
exhausted: boolean;
|
|
2679
|
+
source: "live" | "estimate";
|
|
2680
|
+
asOf: string;
|
|
2681
|
+
environment: string | null;
|
|
2682
|
+
}[];
|
|
2683
|
+
}, {
|
|
2684
|
+
subscriberId: string;
|
|
2685
|
+
balances: {
|
|
2686
|
+
unit: {
|
|
2687
|
+
key: string;
|
|
2688
|
+
kind: "money" | "credits";
|
|
2689
|
+
code: string;
|
|
2690
|
+
displayName: string;
|
|
2691
|
+
};
|
|
2692
|
+
available: string;
|
|
2693
|
+
granted: string;
|
|
2694
|
+
revoked: string;
|
|
2695
|
+
consumed: string;
|
|
2696
|
+
exhausted: boolean;
|
|
2697
|
+
source: "live" | "estimate";
|
|
2698
|
+
asOf: string;
|
|
2699
|
+
environment: string | null;
|
|
2700
|
+
}[];
|
|
2701
|
+
}, false>;
|
|
2633
2702
|
"consumers.apiKeys.revoke": import("./define.js").OperationEntry<{
|
|
2634
2703
|
businessId: string;
|
|
2635
2704
|
subscriberId: string;
|
|
@@ -3199,6 +3268,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3199
3268
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3200
3269
|
createdAt: string;
|
|
3201
3270
|
updatedAt: string;
|
|
3271
|
+
usageUnitLabels?: {
|
|
3272
|
+
[key: string]: string;
|
|
3273
|
+
};
|
|
3202
3274
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3203
3275
|
}, {
|
|
3204
3276
|
id: string;
|
|
@@ -3230,6 +3302,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3230
3302
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3231
3303
|
createdAt: string;
|
|
3232
3304
|
updatedAt: string;
|
|
3305
|
+
usageUnitLabels?: {
|
|
3306
|
+
[key: string]: string;
|
|
3307
|
+
};
|
|
3233
3308
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3234
3309
|
}, false>;
|
|
3235
3310
|
"businesses.create": import("./define.js").OperationEntry<{
|
|
@@ -3260,9 +3335,6 @@ export declare const OPERATION_TABLE: {
|
|
|
3260
3335
|
agentsMdUrl: string;
|
|
3261
3336
|
};
|
|
3262
3337
|
}, false>;
|
|
3263
|
-
"businesses.delete": import("./define.js").OperationEntry<{
|
|
3264
|
-
businessId: string;
|
|
3265
|
-
}, void, void, false>;
|
|
3266
3338
|
"businesses.routes.read": import("./define.js").OperationEntry<{
|
|
3267
3339
|
businessId: string;
|
|
3268
3340
|
} & {
|
|
@@ -3456,20 +3528,6 @@ export declare const OPERATION_TABLE: {
|
|
|
3456
3528
|
updatedAt: string;
|
|
3457
3529
|
_release: import("../generated/schemas.js").components["schemas"]["PublishRelease"];
|
|
3458
3530
|
}, true>;
|
|
3459
|
-
"businesses.rollback": import("./define.js").OperationEntry<{
|
|
3460
|
-
businessId: string;
|
|
3461
|
-
} & {
|
|
3462
|
-
workflowExecutionId: string;
|
|
3463
|
-
reason?: string;
|
|
3464
|
-
}, {
|
|
3465
|
-
businessId: string;
|
|
3466
|
-
status: string;
|
|
3467
|
-
rollbackWorkflowExecutionId: string;
|
|
3468
|
-
}, {
|
|
3469
|
-
businessId: string;
|
|
3470
|
-
status: string;
|
|
3471
|
-
rollbackWorkflowExecutionId: string;
|
|
3472
|
-
}, false>;
|
|
3473
3531
|
"businesses.compile": import("./define.js").OperationEntry<{
|
|
3474
3532
|
businessId: string;
|
|
3475
3533
|
} & {
|
|
@@ -3526,7 +3584,7 @@ export declare const OPERATION_TABLE: {
|
|
|
3526
3584
|
} & {
|
|
3527
3585
|
env?: string;
|
|
3528
3586
|
} & {
|
|
3529
|
-
body: import("
|
|
3587
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3530
3588
|
}, {
|
|
3531
3589
|
id: string;
|
|
3532
3590
|
organizationId: string | null;
|
|
@@ -3605,7 +3663,7 @@ export declare const OPERATION_TABLE: {
|
|
|
3605
3663
|
} & {
|
|
3606
3664
|
env?: string;
|
|
3607
3665
|
} & {
|
|
3608
|
-
body: import("
|
|
3666
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3609
3667
|
}, {
|
|
3610
3668
|
id: string;
|
|
3611
3669
|
organizationId: string | null;
|
|
@@ -3802,7 +3860,7 @@ export declare const OPERATION_TABLE: {
|
|
|
3802
3860
|
} & {
|
|
3803
3861
|
env?: string;
|
|
3804
3862
|
} & {
|
|
3805
|
-
body: import("
|
|
3863
|
+
body: import("../types.js").BusinessUpdateInput;
|
|
3806
3864
|
}, {
|
|
3807
3865
|
id: string;
|
|
3808
3866
|
organizationId: string | null;
|
|
@@ -3896,6 +3954,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3896
3954
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3897
3955
|
createdAt: string;
|
|
3898
3956
|
updatedAt: string;
|
|
3957
|
+
usageUnitLabels?: {
|
|
3958
|
+
[key: string]: string;
|
|
3959
|
+
};
|
|
3899
3960
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3900
3961
|
}, {
|
|
3901
3962
|
id: string;
|
|
@@ -3927,6 +3988,9 @@ export declare const OPERATION_TABLE: {
|
|
|
3927
3988
|
previewEnvTrigger: "BRANCH_PREFIX" | "PULL_REQUEST" | "DISABLED";
|
|
3928
3989
|
createdAt: string;
|
|
3929
3990
|
updatedAt: string;
|
|
3991
|
+
usageUnitLabels?: {
|
|
3992
|
+
[key: string]: string;
|
|
3993
|
+
};
|
|
3930
3994
|
environments: import("../generated/schemas.js").components["schemas"]["BusinessEnvironment"][];
|
|
3931
3995
|
}, false>;
|
|
3932
3996
|
"businesses.rbac.enable": import("./define.js").OperationEntry<{
|
|
@@ -3954,26 +4018,17 @@ export declare const OPERATION_TABLE: {
|
|
|
3954
4018
|
businessId: string;
|
|
3955
4019
|
}, {
|
|
3956
4020
|
connected: boolean;
|
|
3957
|
-
|
|
3958
|
-
|
|
4021
|
+
reconnectRequired?: true;
|
|
4022
|
+
source: "organization";
|
|
3959
4023
|
chargesEnabled: boolean;
|
|
3960
4024
|
cardPaymentsEnabled: boolean;
|
|
3961
4025
|
}, {
|
|
3962
4026
|
connected: boolean;
|
|
3963
|
-
|
|
3964
|
-
|
|
4027
|
+
reconnectRequired?: true;
|
|
4028
|
+
source: "organization";
|
|
3965
4029
|
chargesEnabled: boolean;
|
|
3966
4030
|
cardPaymentsEnabled: boolean;
|
|
3967
4031
|
}, false>;
|
|
3968
|
-
"billing.stripe.delete": import("./define.js").OperationEntry<{
|
|
3969
|
-
businessId: string;
|
|
3970
|
-
} & {
|
|
3971
|
-
deleteAccount?: boolean;
|
|
3972
|
-
}, {
|
|
3973
|
-
disconnected: true;
|
|
3974
|
-
}, {
|
|
3975
|
-
disconnected: true;
|
|
3976
|
-
}, false>;
|
|
3977
4032
|
"billing.taxSettings.read": import("./define.js").OperationEntry<{
|
|
3978
4033
|
businessId: string;
|
|
3979
4034
|
}, {
|
|
@@ -4463,186 +4518,6 @@ export declare const OPERATION_TABLE: {
|
|
|
4463
4518
|
} | {
|
|
4464
4519
|
result: import("../generated/schemas.js").components["schemas"]["AnalyticsTopKRow"][];
|
|
4465
4520
|
}, false>;
|
|
4466
|
-
"agreements.read": import("./define.js").OperationEntry<{
|
|
4467
|
-
businessId: string;
|
|
4468
|
-
} & {
|
|
4469
|
-
subjectId?: string;
|
|
4470
|
-
environmentId?: string;
|
|
4471
|
-
limit?: number;
|
|
4472
|
-
offset?: number;
|
|
4473
|
-
}, {
|
|
4474
|
-
data: import("../generated/schemas.js").components["schemas"]["EconomicAgreement"][];
|
|
4475
|
-
pagination: {
|
|
4476
|
-
total: number;
|
|
4477
|
-
limit: number;
|
|
4478
|
-
offset: number;
|
|
4479
|
-
hasMore: boolean;
|
|
4480
|
-
};
|
|
4481
|
-
}, {
|
|
4482
|
-
data: import("../generated/schemas.js").components["schemas"]["EconomicAgreement"][];
|
|
4483
|
-
pagination: {
|
|
4484
|
-
total: number;
|
|
4485
|
-
limit: number;
|
|
4486
|
-
offset: number;
|
|
4487
|
-
hasMore: boolean;
|
|
4488
|
-
};
|
|
4489
|
-
}, false>;
|
|
4490
|
-
"agreements.get": import("./define.js").OperationEntry<{
|
|
4491
|
-
businessId: string;
|
|
4492
|
-
} & {
|
|
4493
|
-
agreementId: string;
|
|
4494
|
-
}, {
|
|
4495
|
-
id: string;
|
|
4496
|
-
environmentId: string | null;
|
|
4497
|
-
subjectId: string;
|
|
4498
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4499
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4500
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4501
|
-
effectiveAt: string;
|
|
4502
|
-
expiresAt: string | null;
|
|
4503
|
-
createdAt: string;
|
|
4504
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4505
|
-
}, {
|
|
4506
|
-
id: string;
|
|
4507
|
-
environmentId: string | null;
|
|
4508
|
-
subjectId: string;
|
|
4509
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4510
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4511
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4512
|
-
effectiveAt: string;
|
|
4513
|
-
expiresAt: string | null;
|
|
4514
|
-
createdAt: string;
|
|
4515
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4516
|
-
}, false>;
|
|
4517
|
-
"agreements.pins": import("./define.js").OperationEntry<{
|
|
4518
|
-
businessId: string;
|
|
4519
|
-
} & {
|
|
4520
|
-
subjectId: string;
|
|
4521
|
-
}, {
|
|
4522
|
-
subjectId: string;
|
|
4523
|
-
environmentId: string | null;
|
|
4524
|
-
recurringPricePin: {
|
|
4525
|
-
planKey: string;
|
|
4526
|
-
version: number;
|
|
4527
|
-
recurringFeeCents: number;
|
|
4528
|
-
billingInterval: string;
|
|
4529
|
-
} | null;
|
|
4530
|
-
usagePricingBinding: {
|
|
4531
|
-
source: "agreement";
|
|
4532
|
-
agreementId: string;
|
|
4533
|
-
binding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4534
|
-
} | {
|
|
4535
|
-
source: "plan_default";
|
|
4536
|
-
mode: "current";
|
|
4537
|
-
};
|
|
4538
|
-
migrateToLatest: {
|
|
4539
|
-
status: "deferred";
|
|
4540
|
-
};
|
|
4541
|
-
}, {
|
|
4542
|
-
subjectId: string;
|
|
4543
|
-
environmentId: string | null;
|
|
4544
|
-
recurringPricePin: {
|
|
4545
|
-
planKey: string;
|
|
4546
|
-
version: number;
|
|
4547
|
-
recurringFeeCents: number;
|
|
4548
|
-
billingInterval: string;
|
|
4549
|
-
} | null;
|
|
4550
|
-
usagePricingBinding: {
|
|
4551
|
-
source: "agreement";
|
|
4552
|
-
agreementId: string;
|
|
4553
|
-
binding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4554
|
-
} | {
|
|
4555
|
-
source: "plan_default";
|
|
4556
|
-
mode: "current";
|
|
4557
|
-
};
|
|
4558
|
-
migrateToLatest: {
|
|
4559
|
-
status: "deferred";
|
|
4560
|
-
};
|
|
4561
|
-
}, false>;
|
|
4562
|
-
"agreements.previewCreate": import("./define.js").OperationEntry<{
|
|
4563
|
-
businessId: string;
|
|
4564
|
-
} & {
|
|
4565
|
-
body: import("./define.js").RequestBody;
|
|
4566
|
-
}, {
|
|
4567
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementCreateEffect"];
|
|
4568
|
-
confirmationToken: string;
|
|
4569
|
-
}, {
|
|
4570
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementCreateEffect"];
|
|
4571
|
-
confirmationToken: string;
|
|
4572
|
-
}, false>;
|
|
4573
|
-
"agreements.create": import("./define.js").OperationEntry<{
|
|
4574
|
-
businessId: string;
|
|
4575
|
-
} & {
|
|
4576
|
-
body: import("./define.js").RequestBody & {
|
|
4577
|
-
confirmationToken: string;
|
|
4578
|
-
};
|
|
4579
|
-
}, {
|
|
4580
|
-
id: string;
|
|
4581
|
-
environmentId: string | null;
|
|
4582
|
-
subjectId: string;
|
|
4583
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4584
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4585
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4586
|
-
effectiveAt: string;
|
|
4587
|
-
expiresAt: string | null;
|
|
4588
|
-
createdAt: string;
|
|
4589
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4590
|
-
}, {
|
|
4591
|
-
id: string;
|
|
4592
|
-
environmentId: string | null;
|
|
4593
|
-
subjectId: string;
|
|
4594
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4595
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4596
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4597
|
-
effectiveAt: string;
|
|
4598
|
-
expiresAt: string | null;
|
|
4599
|
-
createdAt: string;
|
|
4600
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4601
|
-
}, false>;
|
|
4602
|
-
"agreements.previewAmend": import("./define.js").OperationEntry<{
|
|
4603
|
-
businessId: string;
|
|
4604
|
-
} & {
|
|
4605
|
-
agreementId: string;
|
|
4606
|
-
} & {
|
|
4607
|
-
body: import("./define.js").RequestBody;
|
|
4608
|
-
}, {
|
|
4609
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementAmendEffect"];
|
|
4610
|
-
confirmationToken: string;
|
|
4611
|
-
}, {
|
|
4612
|
-
effect: import("../generated/schemas.js").components["schemas"]["AgreementAmendEffect"];
|
|
4613
|
-
confirmationToken: string;
|
|
4614
|
-
}, false>;
|
|
4615
|
-
"agreements.amend": import("./define.js").OperationEntry<{
|
|
4616
|
-
businessId: string;
|
|
4617
|
-
} & {
|
|
4618
|
-
agreementId: string;
|
|
4619
|
-
} & {
|
|
4620
|
-
body: import("./define.js").RequestBody & {
|
|
4621
|
-
confirmationToken: string;
|
|
4622
|
-
};
|
|
4623
|
-
}, {
|
|
4624
|
-
id: string;
|
|
4625
|
-
environmentId: string | null;
|
|
4626
|
-
subjectId: string;
|
|
4627
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4628
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4629
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4630
|
-
effectiveAt: string;
|
|
4631
|
-
expiresAt: string | null;
|
|
4632
|
-
createdAt: string;
|
|
4633
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4634
|
-
}, {
|
|
4635
|
-
id: string;
|
|
4636
|
-
environmentId: string | null;
|
|
4637
|
-
subjectId: string;
|
|
4638
|
-
usagePricingBinding: import("../generated/schemas.js").components["schemas"]["AgreementUsagePricingBinding"];
|
|
4639
|
-
newMeterPolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4640
|
-
newMeasurePolicy: "adopt_at_current_rate" | "exclude_until_renewal" | "require_amendment";
|
|
4641
|
-
effectiveAt: string;
|
|
4642
|
-
expiresAt: string | null;
|
|
4643
|
-
createdAt: string;
|
|
4644
|
-
contractPricingVersions: import("../generated/schemas.js").components["schemas"]["ContractPricingVersion"][];
|
|
4645
|
-
}, false>;
|
|
4646
4521
|
"agents.list": import("./define.js").OperationEntry<{
|
|
4647
4522
|
businessId: string;
|
|
4648
4523
|
}, {
|
|
@@ -28,7 +28,6 @@ export declare const organizationOperations: {
|
|
|
28
28
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
29
29
|
roleKey: "owner";
|
|
30
30
|
}, false>;
|
|
31
|
-
"organizations.delete": import("./define.js").OperationEntry<OrganizationRef, void, void, false>;
|
|
32
31
|
"organizations.overview.read": import("./define.js").OperationEntry<OrganizationRef, {
|
|
33
32
|
organization: {
|
|
34
33
|
mrrCents: number | null;
|
|
@@ -291,17 +290,6 @@ export declare const organizationOperations: {
|
|
|
291
290
|
roleKey: string;
|
|
292
291
|
}, false>;
|
|
293
292
|
"organizations.member.remove": import("./define.js").OperationEntry<MemberRef, void, void, false>;
|
|
294
|
-
"organizations.ownership.transfer": import("./define.js").OperationEntry<OrganizationRef & {
|
|
295
|
-
newOwnerUserId: string;
|
|
296
|
-
}, {
|
|
297
|
-
organizationId: string;
|
|
298
|
-
previousPrimaryOwnerUserId: string;
|
|
299
|
-
primaryOwnerUserId: string;
|
|
300
|
-
}, {
|
|
301
|
-
organizationId: string;
|
|
302
|
-
previousPrimaryOwnerUserId: string;
|
|
303
|
-
primaryOwnerUserId: string;
|
|
304
|
-
}, false>;
|
|
305
293
|
"organizations.invitation.create": import("./define.js").OperationEntry<OrganizationRef & {
|
|
306
294
|
email: string;
|
|
307
295
|
roleKey: string;
|
|
@@ -159,7 +159,7 @@ export declare const platformOperations: {
|
|
|
159
159
|
}, {
|
|
160
160
|
name: string;
|
|
161
161
|
trigger: {
|
|
162
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
162
|
+
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";
|
|
163
163
|
filter?: {
|
|
164
164
|
subjectType?: string;
|
|
165
165
|
subjectId?: string;
|
|
@@ -204,7 +204,7 @@ export declare const platformOperations: {
|
|
|
204
204
|
}, {
|
|
205
205
|
name: string;
|
|
206
206
|
trigger: {
|
|
207
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
207
|
+
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";
|
|
208
208
|
filter?: {
|
|
209
209
|
subjectType?: string;
|
|
210
210
|
subjectId?: string;
|
|
@@ -252,7 +252,7 @@ export declare const platformOperations: {
|
|
|
252
252
|
}, {
|
|
253
253
|
name: string;
|
|
254
254
|
trigger: {
|
|
255
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
255
|
+
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";
|
|
256
256
|
filter?: {
|
|
257
257
|
subjectType?: string;
|
|
258
258
|
subjectId?: string;
|
|
@@ -297,7 +297,7 @@ export declare const platformOperations: {
|
|
|
297
297
|
}, {
|
|
298
298
|
name: string;
|
|
299
299
|
trigger: {
|
|
300
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
300
|
+
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";
|
|
301
301
|
filter?: {
|
|
302
302
|
subjectType?: string;
|
|
303
303
|
subjectId?: string;
|
|
@@ -346,7 +346,7 @@ export declare const platformOperations: {
|
|
|
346
346
|
}, {
|
|
347
347
|
name: string;
|
|
348
348
|
trigger: {
|
|
349
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
349
|
+
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";
|
|
350
350
|
filter?: {
|
|
351
351
|
subjectType?: string;
|
|
352
352
|
subjectId?: string;
|
|
@@ -391,7 +391,7 @@ export declare const platformOperations: {
|
|
|
391
391
|
}, {
|
|
392
392
|
name: string;
|
|
393
393
|
trigger: {
|
|
394
|
-
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "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";
|
|
394
|
+
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";
|
|
395
395
|
filter?: {
|
|
396
396
|
subjectType?: string;
|
|
397
397
|
subjectId?: string;
|