@farthershore/client 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -2
- package/LICENSE +21 -0
- package/README.md +10 -10
- package/dist/index.js +326 -59
- package/dist/types/api.generated.d.ts +105 -25
- package/dist/types/generated/schemas.d.ts +147 -16
- package/dist/types/operations/audit-notifications.d.ts +4 -0
- package/dist/types/operations/auth.d.ts +193 -0
- package/dist/types/operations/backends.d.ts +76 -21
- package/dist/types/operations/businesses.d.ts +48 -0
- package/dist/types/operations/consumers.d.ts +108 -0
- package/dist/types/operations/define.d.ts +1 -1
- package/dist/types/operations/index.d.ts +493 -26
- package/dist/types/operations/organizations.d.ts +7 -0
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/webhooks.d.ts +64 -2
- package/dist/types/surface-types.d.ts +1 -1
- package/dist/types/surface.d.ts +1 -1
- package/dist/types/types.d.ts +20 -6
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -641,7 +641,7 @@ export interface components {
|
|
|
641
641
|
AnalyticsEventFeedRow: {
|
|
642
642
|
id: string;
|
|
643
643
|
/** @enum {string} */
|
|
644
|
-
type: "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";
|
|
644
|
+
type: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
|
|
645
645
|
/** Format: date-time */
|
|
646
646
|
occurredAt: string;
|
|
647
647
|
environmentId: string | null;
|
|
@@ -841,7 +841,7 @@ export interface components {
|
|
|
841
841
|
name: string;
|
|
842
842
|
trigger: {
|
|
843
843
|
/** @enum {string} */
|
|
844
|
-
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";
|
|
844
|
+
eventType: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "balance.low" | "balance.exhausted" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed" | "rate_limit.exceeded" | "usage.recorded" | "usage.archive_checkpoint" | "gateway.request_denied" | "change_set.created" | "change_set.approved" | "change_set.applied" | "change_set.rolled_back" | "change_set.cancelled" | "billing.event_recorded" | "authz.decision" | "repo.changed" | "automation.rule_fired" | "automation.action_succeeded" | "automation.action_failed" | "automation.action_denied" | "automation.notification" | "access_request.created" | "access_request.resolved" | "build.failed" | "product.published" | "workflow.failed" | "pr.review_posted" | "webhook_endpoint.paused";
|
|
845
845
|
filter?: {
|
|
846
846
|
subjectType?: string;
|
|
847
847
|
subjectId?: string;
|
|
@@ -908,6 +908,7 @@ export interface components {
|
|
|
908
908
|
Backend: {
|
|
909
909
|
id: string;
|
|
910
910
|
businessId: string;
|
|
911
|
+
scope: string;
|
|
911
912
|
environmentId: string | null;
|
|
912
913
|
name: string;
|
|
913
914
|
slug: string;
|
|
@@ -916,6 +917,7 @@ export interface components {
|
|
|
916
917
|
runner: ("embedded" | "sidecar") | null;
|
|
917
918
|
runtime: string | null;
|
|
918
919
|
originUrl: string | null;
|
|
920
|
+
originTemplate: string | null;
|
|
919
921
|
isDefault: boolean;
|
|
920
922
|
/** @enum {string} */
|
|
921
923
|
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
@@ -923,11 +925,40 @@ export interface components {
|
|
|
923
925
|
/** Format: date-time */
|
|
924
926
|
createdAt: string;
|
|
925
927
|
};
|
|
928
|
+
BackendBindResponse: {
|
|
929
|
+
id: string;
|
|
930
|
+
businessId: string;
|
|
931
|
+
scope: string;
|
|
932
|
+
environmentId: string | null;
|
|
933
|
+
name: string;
|
|
934
|
+
slug: string;
|
|
935
|
+
/** @enum {string} */
|
|
936
|
+
transportMode: "direct" | "tunnel";
|
|
937
|
+
runner: ("embedded" | "sidecar") | null;
|
|
938
|
+
runtime: string | null;
|
|
939
|
+
originUrl: string | null;
|
|
940
|
+
originTemplate: string | null;
|
|
941
|
+
isDefault: boolean;
|
|
942
|
+
/** @enum {string} */
|
|
943
|
+
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
944
|
+
lastSeenAt: string | null;
|
|
945
|
+
/** Format: date-time */
|
|
946
|
+
createdAt: string;
|
|
947
|
+
/** @enum {string} */
|
|
948
|
+
webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
|
|
949
|
+
defaultKey?: {
|
|
950
|
+
id: string;
|
|
951
|
+
lastFour: string;
|
|
952
|
+
envVars: ["FS_SECRET_KEY"];
|
|
953
|
+
token: string;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
926
956
|
BackendCreatePreview: {
|
|
927
957
|
/** @enum {string} */
|
|
928
958
|
action: "create" | "update";
|
|
929
959
|
backend: {
|
|
930
960
|
businessId: string;
|
|
961
|
+
scope: string;
|
|
931
962
|
environmentId: string | null;
|
|
932
963
|
name: string;
|
|
933
964
|
slug: string;
|
|
@@ -936,12 +967,14 @@ export interface components {
|
|
|
936
967
|
runner: ("embedded" | "sidecar") | null;
|
|
937
968
|
runtime: string | null;
|
|
938
969
|
originUrl: string | null;
|
|
970
|
+
originTemplate: string | null;
|
|
939
971
|
isDefault: boolean;
|
|
940
972
|
};
|
|
941
973
|
};
|
|
942
974
|
BackendCreateResponse: {
|
|
943
975
|
id: string;
|
|
944
976
|
businessId: string;
|
|
977
|
+
scope: string;
|
|
945
978
|
environmentId: string | null;
|
|
946
979
|
name: string;
|
|
947
980
|
slug: string;
|
|
@@ -950,6 +983,7 @@ export interface components {
|
|
|
950
983
|
runner: ("embedded" | "sidecar") | null;
|
|
951
984
|
runtime: string | null;
|
|
952
985
|
originUrl: string | null;
|
|
986
|
+
originTemplate: string | null;
|
|
953
987
|
isDefault: boolean;
|
|
954
988
|
/** @enum {string} */
|
|
955
989
|
status: "registered" | "building" | "deployed" | "tunnel_connected" | "healthy" | "unhealthy" | "verification_failed" | "provision_failed" | "disabled";
|
|
@@ -958,6 +992,14 @@ export interface components {
|
|
|
958
992
|
createdAt: string;
|
|
959
993
|
/** @constant */
|
|
960
994
|
updated?: true;
|
|
995
|
+
/** @enum {string} */
|
|
996
|
+
webhookReceiver?: "created" | "kept" | "skipped_at_limit" | "none";
|
|
997
|
+
defaultKey?: {
|
|
998
|
+
id: string;
|
|
999
|
+
lastFour: string;
|
|
1000
|
+
envVars: ["FS_SECRET_KEY"];
|
|
1001
|
+
token: string;
|
|
1002
|
+
};
|
|
961
1003
|
};
|
|
962
1004
|
BackendDeleteResponse: {
|
|
963
1005
|
id: string;
|
|
@@ -980,6 +1022,28 @@ export interface components {
|
|
|
980
1022
|
user: {
|
|
981
1023
|
id: string;
|
|
982
1024
|
};
|
|
1025
|
+
legalAcceptance: {
|
|
1026
|
+
accepted: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
1027
|
+
outstanding: ("terms" | "privacy" | "acceptable-use" | "builder-agreement")[];
|
|
1028
|
+
requiredVersions: {
|
|
1029
|
+
terms: string;
|
|
1030
|
+
privacy: string;
|
|
1031
|
+
"acceptable-use": string;
|
|
1032
|
+
"builder-agreement": string;
|
|
1033
|
+
};
|
|
1034
|
+
upcoming: {
|
|
1035
|
+
/** @enum {string} */
|
|
1036
|
+
document: "terms" | "privacy" | "acceptable-use" | "builder-agreement";
|
|
1037
|
+
version: string;
|
|
1038
|
+
effectiveOn: string;
|
|
1039
|
+
/** @enum {string} */
|
|
1040
|
+
changeClass: "routine" | "material";
|
|
1041
|
+
summary: string;
|
|
1042
|
+
accepted: boolean;
|
|
1043
|
+
}[];
|
|
1044
|
+
/** Format: uri */
|
|
1045
|
+
dashboardUrl: string;
|
|
1046
|
+
};
|
|
983
1047
|
personalOrganization: components["schemas"]["BuilderContextOrganization"];
|
|
984
1048
|
activeOrganization: {
|
|
985
1049
|
id: string;
|
|
@@ -992,7 +1056,7 @@ export interface components {
|
|
|
992
1056
|
organization: components["schemas"]["BuilderContextOrganization"];
|
|
993
1057
|
role: string;
|
|
994
1058
|
}[];
|
|
995
|
-
effectivePermissions: ("agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "plan:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "
|
|
1059
|
+
effectivePermissions: ("account_erasure:read" | "account_erasure:request" | "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "personal_data:export" | "plan:read" | "platform_legal:accept" | "platform_legal:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "secret_key:mint" | "secret_key:read" | "secret_key:revoke" | "secret_key:rotate" | "stripe_connection:close" | "stripe_connection:create" | "stripe_connection:read" | "tax_settings:read" | "tax_settings:update" | "usage:read" | "webhook:create" | "webhook:delete" | "webhook:delivery_payload_read" | "webhook:delivery_read" | "webhook:read" | "webhook:test" | "webhook:update" | "workflow:replay" | "workflow:rollback")[];
|
|
996
1060
|
shouldPersistActiveOrganization: boolean;
|
|
997
1061
|
platformTier: string | null;
|
|
998
1062
|
platformSubscription: {
|
|
@@ -1254,6 +1318,12 @@ export interface components {
|
|
|
1254
1318
|
instructions: string;
|
|
1255
1319
|
agentsMdUrl: string;
|
|
1256
1320
|
};
|
|
1321
|
+
defaultKey?: {
|
|
1322
|
+
id: string;
|
|
1323
|
+
lastFour: string;
|
|
1324
|
+
envVars: ["FS_SECRET_KEY"];
|
|
1325
|
+
token: string;
|
|
1326
|
+
};
|
|
1257
1327
|
};
|
|
1258
1328
|
BusinessDependent: {
|
|
1259
1329
|
subscriberId: string;
|
|
@@ -1312,6 +1382,16 @@ export interface components {
|
|
|
1312
1382
|
[key: string]: string;
|
|
1313
1383
|
};
|
|
1314
1384
|
environments: components["schemas"]["BusinessEnvironment"][];
|
|
1385
|
+
launchRequirements: {
|
|
1386
|
+
/** @enum {string} */
|
|
1387
|
+
obligation: "account.agreements_accepted" | "seller.details_complete";
|
|
1388
|
+
summary: string;
|
|
1389
|
+
missing: string[];
|
|
1390
|
+
fix: {
|
|
1391
|
+
label: string;
|
|
1392
|
+
url: string;
|
|
1393
|
+
};
|
|
1394
|
+
}[];
|
|
1315
1395
|
};
|
|
1316
1396
|
BusinessDiagnostic: {
|
|
1317
1397
|
code: string;
|
|
@@ -2180,7 +2260,7 @@ export interface components {
|
|
|
2180
2260
|
updatedAt: string;
|
|
2181
2261
|
};
|
|
2182
2262
|
/** @enum {string} */
|
|
2183
|
-
MakerDelegablePermission: "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "knowledge:read" | "organization:read" | "organization_bulletin:read" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "plan:read" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "
|
|
2263
|
+
MakerDelegablePermission: "account_erasure:read" | "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "knowledge:read" | "organization:read" | "organization_bulletin:read" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "personal_data:export" | "plan:read" | "platform_legal:read" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "secret_key:mint" | "secret_key:read" | "secret_key:revoke" | "secret_key:rotate" | "tax_settings:read" | "tax_settings:update" | "usage:read" | "webhook:create" | "webhook:delete" | "webhook:delivery_read" | "webhook:read" | "webhook:test" | "webhook:update" | "workflow:replay" | "workflow:rollback";
|
|
2184
2264
|
MakerTokenBusinessScopeSummary: {
|
|
2185
2265
|
/** @constant */
|
|
2186
2266
|
mode: "ALL";
|
|
@@ -2308,7 +2388,7 @@ export interface components {
|
|
|
2308
2388
|
credentialType: "maker_token";
|
|
2309
2389
|
tokenId: string;
|
|
2310
2390
|
organizationId: string;
|
|
2311
|
-
grantedPermissions: ("agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "plan:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "
|
|
2391
|
+
grantedPermissions: ("account_erasure:read" | "account_erasure:request" | "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "personal_data:export" | "plan:read" | "platform_legal:accept" | "platform_legal:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "secret_key:mint" | "secret_key:read" | "secret_key:revoke" | "secret_key:rotate" | "stripe_connection:close" | "stripe_connection:create" | "stripe_connection:read" | "tax_settings:read" | "tax_settings:update" | "usage:read" | "webhook:create" | "webhook:delete" | "webhook:delivery_payload_read" | "webhook:delivery_read" | "webhook:read" | "webhook:test" | "webhook:update" | "workflow:replay" | "workflow:rollback")[];
|
|
2312
2392
|
/** @enum {string} */
|
|
2313
2393
|
businessScopeMode: "ALL" | "SELECTED";
|
|
2314
2394
|
selectedBusinessIds: string[];
|
|
@@ -2322,6 +2402,7 @@ export interface components {
|
|
|
2322
2402
|
usage?: boolean;
|
|
2323
2403
|
access?: boolean;
|
|
2324
2404
|
product?: boolean;
|
|
2405
|
+
marketing?: boolean;
|
|
2325
2406
|
deployments?: boolean;
|
|
2326
2407
|
team?: boolean;
|
|
2327
2408
|
security?: boolean;
|
|
@@ -2601,6 +2682,11 @@ export interface components {
|
|
|
2601
2682
|
canDelete: boolean;
|
|
2602
2683
|
};
|
|
2603
2684
|
};
|
|
2685
|
+
OrganizationSellerDetails: {
|
|
2686
|
+
sellerIdentity: components["schemas"]["SellerIdentity"] | null;
|
|
2687
|
+
/** @enum {string} */
|
|
2688
|
+
status: "not_connected" | "incomplete" | "complete";
|
|
2689
|
+
};
|
|
2604
2690
|
OrganizationSentInvitation: {
|
|
2605
2691
|
id: string;
|
|
2606
2692
|
email: string;
|
|
@@ -2662,7 +2748,7 @@ export interface components {
|
|
|
2662
2748
|
unreadable?: components["schemas"]["BusinessUnreadablePlan"][];
|
|
2663
2749
|
};
|
|
2664
2750
|
/** @enum {string} */
|
|
2665
|
-
PlatformPermission: "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "plan:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "
|
|
2751
|
+
PlatformPermission: "account_erasure:read" | "account_erasure:request" | "agent:configure" | "agent:read" | "analytics:read" | "apply_timeline:read" | "audit_log:export" | "audit_log:read" | "auth_context:issue" | "auth_context:read" | "auth_provider_connection:create" | "auth_provider_connection:delete" | "auth_provider_connection:read" | "auth_provider_connection:update" | "automation_rule:create" | "automation_rule:delete" | "automation_rule:read" | "automation_rule:update" | "backend:bind" | "backend:create" | "backend:delete" | "backend:read" | "backend_spec:write" | "brand:update" | "bulletin:ack" | "bulletin:read" | "bulletin:resolve" | "business:compile" | "business:cors_update" | "business:create" | "business:delete" | "business:docs_update" | "business:preview_env_update" | "business:publish" | "business:rbac_update" | "business:read" | "business_dependents:read" | "business_variable:create" | "business_variable:delete" | "business_variable:operation_read" | "business_variable:read" | "business_variable:revoke" | "business_variable:rotate" | "change_set:propose" | "change_set:read" | "consumer:block" | "consumer:migrate_latest" | "consumer:read" | "consumer:remove" | "consumer:roles_assign" | "denial:read" | "environment:create" | "environment:delete" | "environment:read" | "frontend:read" | "frontend:rollback" | "git_connection:create" | "git_connection:delete" | "git_connection:read" | "git_connection:update" | "knowledge:read" | "maker_token:create" | "maker_token:create_org" | "maker_token:read" | "maker_token:revoke" | "maker_token:rotate" | "notification:preferences_read" | "notification:preferences_update" | "organization:create" | "organization:delete" | "organization:manage_billing" | "organization:ownership_transfer" | "organization:read" | "organization_bulletin:read" | "organization_invitation:accept" | "organization_invitation:create" | "organization_invitation:list" | "organization_invitation:revoke" | "organization_member:list" | "organization_member:remove" | "organization_member:update" | "organization_role:create" | "organization_role:delete" | "organization_role:read" | "organization_role:update" | "persona:issue" | "persona:read" | "persona:revoke" | "persona:rotate" | "personal_data:export" | "plan:read" | "platform_legal:accept" | "platform_legal:read" | "product_subscription:create" | "promo_code:archive" | "promo_code:create" | "promo_code:reactivate" | "promo_code:read" | "promo_code:update" | "rbac:read" | "resource_count:report" | "secret_key:mint" | "secret_key:read" | "secret_key:revoke" | "secret_key:rotate" | "stripe_connection:close" | "stripe_connection:create" | "stripe_connection:read" | "tax_settings:read" | "tax_settings:update" | "usage:read" | "webhook:create" | "webhook:delete" | "webhook:delivery_payload_read" | "webhook:delivery_read" | "webhook:read" | "webhook:test" | "webhook:update" | "workflow:replay" | "workflow:rollback";
|
|
2666
2752
|
PortalBalance: {
|
|
2667
2753
|
/** @constant */
|
|
2668
2754
|
disclosure: "transparent";
|
|
@@ -3149,15 +3235,17 @@ export interface components {
|
|
|
3149
3235
|
ResourceCountReport: {
|
|
3150
3236
|
resourceCount: components["schemas"]["ResourceCount"];
|
|
3151
3237
|
};
|
|
3152
|
-
|
|
3238
|
+
SecretKey: {
|
|
3153
3239
|
id: string;
|
|
3154
3240
|
businessId: string;
|
|
3241
|
+
scope: string;
|
|
3155
3242
|
environmentId: string | null;
|
|
3156
3243
|
backendId: string | null;
|
|
3244
|
+
isDefault: boolean;
|
|
3157
3245
|
/** @enum {string} */
|
|
3158
3246
|
kind: "live" | "test";
|
|
3159
3247
|
lastFour: string;
|
|
3160
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
3248
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
3161
3249
|
allowedMeters: string[];
|
|
3162
3250
|
allowedRoutes: string[];
|
|
3163
3251
|
/** @enum {string} */
|
|
@@ -3168,15 +3256,17 @@ export interface components {
|
|
|
3168
3256
|
revokedAt: string | null;
|
|
3169
3257
|
lastUsedAt: string | null;
|
|
3170
3258
|
};
|
|
3171
|
-
|
|
3259
|
+
SecretKeyIssuance: {
|
|
3172
3260
|
id: string;
|
|
3173
3261
|
businessId: string;
|
|
3262
|
+
scope: string;
|
|
3174
3263
|
environmentId: string | null;
|
|
3175
3264
|
backendId: string | null;
|
|
3265
|
+
isDefault: boolean;
|
|
3176
3266
|
/** @enum {string} */
|
|
3177
3267
|
kind: "live" | "test";
|
|
3178
3268
|
lastFour: string;
|
|
3179
|
-
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report")[];
|
|
3269
|
+
operations: ("gateway_verification" | "metering" | "health" | "tunnel" | "drift_report" | "webhook_secrets")[];
|
|
3180
3270
|
allowedMeters: string[];
|
|
3181
3271
|
allowedRoutes: string[];
|
|
3182
3272
|
/** @enum {string} */
|
|
@@ -3187,11 +3277,11 @@ export interface components {
|
|
|
3187
3277
|
revokedAt: string | null;
|
|
3188
3278
|
lastUsedAt: string | null;
|
|
3189
3279
|
/** @constant */
|
|
3190
|
-
envVar: "
|
|
3280
|
+
envVar: "FS_SECRET_KEY";
|
|
3191
3281
|
token: string;
|
|
3192
3282
|
};
|
|
3193
|
-
|
|
3194
|
-
data: components["schemas"]["
|
|
3283
|
+
SecretKeyList: {
|
|
3284
|
+
data: components["schemas"]["SecretKey"][];
|
|
3195
3285
|
pagination: {
|
|
3196
3286
|
total: number;
|
|
3197
3287
|
limit: number;
|
|
@@ -3238,6 +3328,22 @@ export interface components {
|
|
|
3238
3328
|
subscriberCount: number;
|
|
3239
3329
|
};
|
|
3240
3330
|
};
|
|
3331
|
+
SellerIdentity: {
|
|
3332
|
+
legalName: string;
|
|
3333
|
+
/** Format: email */
|
|
3334
|
+
supportEmail: string;
|
|
3335
|
+
address: {
|
|
3336
|
+
line1: string;
|
|
3337
|
+
line2?: string;
|
|
3338
|
+
city: string;
|
|
3339
|
+
region?: string;
|
|
3340
|
+
postalCode: string;
|
|
3341
|
+
country: string;
|
|
3342
|
+
};
|
|
3343
|
+
/** Format: uri */
|
|
3344
|
+
supportUrl?: string;
|
|
3345
|
+
registrationNumber?: string;
|
|
3346
|
+
};
|
|
3241
3347
|
ServingState: {
|
|
3242
3348
|
/** @enum {string} */
|
|
3243
3349
|
status: "unconfigured" | "publishing" | "missing" | "invalid" | "coherent";
|
|
@@ -3425,6 +3531,9 @@ export interface components {
|
|
|
3425
3531
|
hasMore: boolean;
|
|
3426
3532
|
};
|
|
3427
3533
|
};
|
|
3534
|
+
WebhookDeliveryRedeliverResponse: {
|
|
3535
|
+
data: components["schemas"]["WebhookDelivery"];
|
|
3536
|
+
};
|
|
3428
3537
|
WebhookDeliveryResponse: {
|
|
3429
3538
|
data: {
|
|
3430
3539
|
id: string;
|
|
@@ -3450,6 +3559,14 @@ export interface components {
|
|
|
3450
3559
|
createdAt: string;
|
|
3451
3560
|
businessId: string;
|
|
3452
3561
|
environmentId: string | null;
|
|
3562
|
+
environment: {
|
|
3563
|
+
id: string | null;
|
|
3564
|
+
slug: string;
|
|
3565
|
+
name: string;
|
|
3566
|
+
/** @enum {string} */
|
|
3567
|
+
kind: "production" | "preview";
|
|
3568
|
+
branch: string | null;
|
|
3569
|
+
};
|
|
3453
3570
|
data: {
|
|
3454
3571
|
[key: string]: unknown;
|
|
3455
3572
|
};
|
|
@@ -3460,13 +3577,16 @@ export interface components {
|
|
|
3460
3577
|
};
|
|
3461
3578
|
WebhookEndpoint: {
|
|
3462
3579
|
id: string;
|
|
3580
|
+
/** @description Public delivery URL. For a managed tunnel receiver, /_fs/webhooks; backend names the receiving backend by its slug. */
|
|
3463
3581
|
url: string;
|
|
3582
|
+
scope: string;
|
|
3464
3583
|
environmentId: string | null;
|
|
3584
|
+
backend: string | null;
|
|
3465
3585
|
events: string[];
|
|
3466
3586
|
enabled: boolean;
|
|
3467
3587
|
signingSecretActionRequired: boolean;
|
|
3468
3588
|
failCount: number;
|
|
3469
|
-
|
|
3589
|
+
pausedAt: string | null;
|
|
3470
3590
|
/** Format: date-time */
|
|
3471
3591
|
createdAt: string;
|
|
3472
3592
|
/** Format: date-time */
|
|
@@ -3483,13 +3603,16 @@ export interface components {
|
|
|
3483
3603
|
};
|
|
3484
3604
|
WebhookEndpointIssuance: {
|
|
3485
3605
|
id: string;
|
|
3606
|
+
/** @description Public delivery URL. For a managed tunnel receiver, /_fs/webhooks; backend names the receiving backend by its slug. */
|
|
3486
3607
|
url: string;
|
|
3608
|
+
scope: string;
|
|
3487
3609
|
environmentId: string | null;
|
|
3610
|
+
backend: string | null;
|
|
3488
3611
|
events: string[];
|
|
3489
3612
|
enabled: boolean;
|
|
3490
3613
|
signingSecretActionRequired: boolean;
|
|
3491
3614
|
failCount: number;
|
|
3492
|
-
|
|
3615
|
+
pausedAt: string | null;
|
|
3493
3616
|
/** Format: date-time */
|
|
3494
3617
|
createdAt: string;
|
|
3495
3618
|
/** Format: date-time */
|
|
@@ -3510,13 +3633,16 @@ export interface components {
|
|
|
3510
3633
|
};
|
|
3511
3634
|
WebhookEndpointRotation: {
|
|
3512
3635
|
id: string;
|
|
3636
|
+
/** @description Public delivery URL. For a managed tunnel receiver, /_fs/webhooks; backend names the receiving backend by its slug. */
|
|
3513
3637
|
url: string;
|
|
3638
|
+
scope: string;
|
|
3514
3639
|
environmentId: string | null;
|
|
3640
|
+
backend: string | null;
|
|
3515
3641
|
events: string[];
|
|
3516
3642
|
enabled: boolean;
|
|
3517
3643
|
signingSecretActionRequired: boolean;
|
|
3518
3644
|
failCount: number;
|
|
3519
|
-
|
|
3645
|
+
pausedAt: string | null;
|
|
3520
3646
|
/** Format: date-time */
|
|
3521
3647
|
createdAt: string;
|
|
3522
3648
|
/** Format: date-time */
|
|
@@ -3536,6 +3662,11 @@ export interface components {
|
|
|
3536
3662
|
}[];
|
|
3537
3663
|
};
|
|
3538
3664
|
};
|
|
3665
|
+
WebhookRedeliverResponse: {
|
|
3666
|
+
data: {
|
|
3667
|
+
redelivered: number;
|
|
3668
|
+
};
|
|
3669
|
+
};
|
|
3539
3670
|
WebhookTestResponse: {
|
|
3540
3671
|
data: components["schemas"]["WebhookTestResult"];
|
|
3541
3672
|
};
|
|
@@ -43,6 +43,7 @@ export declare const auditNotificationOperations: {
|
|
|
43
43
|
usage?: boolean;
|
|
44
44
|
access?: boolean;
|
|
45
45
|
product?: boolean;
|
|
46
|
+
marketing?: boolean;
|
|
46
47
|
deployments?: boolean;
|
|
47
48
|
team?: boolean;
|
|
48
49
|
security?: boolean;
|
|
@@ -54,6 +55,7 @@ export declare const auditNotificationOperations: {
|
|
|
54
55
|
usage?: boolean;
|
|
55
56
|
access?: boolean;
|
|
56
57
|
product?: boolean;
|
|
58
|
+
marketing?: boolean;
|
|
57
59
|
deployments?: boolean;
|
|
58
60
|
team?: boolean;
|
|
59
61
|
security?: boolean;
|
|
@@ -70,6 +72,7 @@ export declare const auditNotificationOperations: {
|
|
|
70
72
|
usage?: boolean;
|
|
71
73
|
access?: boolean;
|
|
72
74
|
product?: boolean;
|
|
75
|
+
marketing?: boolean;
|
|
73
76
|
deployments?: boolean;
|
|
74
77
|
team?: boolean;
|
|
75
78
|
security?: boolean;
|
|
@@ -81,6 +84,7 @@ export declare const auditNotificationOperations: {
|
|
|
81
84
|
usage?: boolean;
|
|
82
85
|
access?: boolean;
|
|
83
86
|
product?: boolean;
|
|
87
|
+
marketing?: boolean;
|
|
84
88
|
deployments?: boolean;
|
|
85
89
|
team?: boolean;
|
|
86
90
|
security?: boolean;
|