@farthershore/client 0.3.0 → 0.5.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 +16 -0
- package/README.md +10 -2
- package/dist/index.js +221 -111
- package/dist/types/api.generated.d.ts +18 -38
- package/dist/types/credentials.d.ts +6 -2
- package/dist/types/envelope.d.ts +2 -0
- package/dist/types/errors.d.ts +13 -0
- package/dist/types/generated/schemas.d.ts +71 -28
- package/dist/types/helpers/refs.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/operations/agents.d.ts +9 -9
- package/dist/types/operations/agreements.d.ts +7 -7
- package/dist/types/operations/analytics.d.ts +5 -5
- package/dist/types/operations/audit-notifications.d.ts +6 -6
- package/dist/types/operations/auth.d.ts +4 -4
- package/dist/types/operations/backends.d.ts +8 -11
- package/dist/types/operations/billing.d.ts +3 -10
- package/dist/types/operations/businesses.d.ts +29 -30
- package/dist/types/operations/change-sets.d.ts +6 -6
- package/dist/types/operations/consumers.d.ts +13 -13
- package/dist/types/operations/define.d.ts +13 -3
- package/dist/types/operations/environments.d.ts +5 -4
- package/dist/types/operations/frontend.d.ts +2 -2
- package/dist/types/operations/index.d.ts +307 -220
- package/dist/types/operations/maker-tokens.d.ts +9 -9
- package/dist/types/operations/organizations.d.ts +19 -31
- package/dist/types/operations/personas.d.ts +8 -8
- package/dist/types/operations/plans-usage.d.ts +3 -3
- package/dist/types/operations/platform.d.ts +18 -18
- package/dist/types/operations/portal.d.ts +11 -11
- package/dist/types/operations/promo-codes.d.ts +15 -5
- package/dist/types/operations/variables.d.ts +22 -8
- package/dist/types/operations/webhooks.d.ts +107 -14
- package/dist/types/surface-types.d.ts +16 -10
- package/dist/types/types.d.ts +4 -1
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export declare const makerTokenOperations: {
|
|
|
24
24
|
title: string;
|
|
25
25
|
permissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
26
26
|
}[];
|
|
27
|
-
}>;
|
|
27
|
+
}, false>;
|
|
28
28
|
"makerTokens.list": import("./define.js").OperationEntry<{
|
|
29
29
|
limit?: number;
|
|
30
30
|
offset?: number;
|
|
@@ -44,7 +44,7 @@ export declare const makerTokenOperations: {
|
|
|
44
44
|
offset: number;
|
|
45
45
|
hasMore: boolean;
|
|
46
46
|
};
|
|
47
|
-
}>;
|
|
47
|
+
}, false>;
|
|
48
48
|
"makerTokens.create": import("./define.js").OperationEntry<{
|
|
49
49
|
name: string;
|
|
50
50
|
requestedPermissions: readonly string[];
|
|
@@ -97,7 +97,7 @@ export declare const makerTokenOperations: {
|
|
|
97
97
|
grantedPermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
98
98
|
excessPermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
99
99
|
eligibleApproverIds: string[];
|
|
100
|
-
}>;
|
|
100
|
+
}, false>;
|
|
101
101
|
"makerTokens.update": import("./define.js").OperationEntry<TokenRef & {
|
|
102
102
|
requestedPermissions: readonly string[];
|
|
103
103
|
}, {
|
|
@@ -126,7 +126,7 @@ export declare const makerTokenOperations: {
|
|
|
126
126
|
activePermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
127
127
|
excessPermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
128
128
|
eligibleApproverIds: string[];
|
|
129
|
-
}>;
|
|
129
|
+
}, false>;
|
|
130
130
|
"makerTokens.approvalList": import("./define.js").OperationEntry<void, {
|
|
131
131
|
id: string;
|
|
132
132
|
operation: "CREATE" | "UPDATE";
|
|
@@ -151,7 +151,7 @@ export declare const makerTokenOperations: {
|
|
|
151
151
|
name: string;
|
|
152
152
|
grantedPermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
153
153
|
};
|
|
154
|
-
}[]>;
|
|
154
|
+
}[], false>;
|
|
155
155
|
"makerTokens.approve": import("./define.js").OperationEntry<ApprovalRef & {
|
|
156
156
|
grantedPermissions?: readonly string[];
|
|
157
157
|
}, {
|
|
@@ -170,7 +170,7 @@ export declare const makerTokenOperations: {
|
|
|
170
170
|
grantedPermissions: import("../generated/schemas.js").components["schemas"]["MakerDelegablePermission"][];
|
|
171
171
|
token?: string;
|
|
172
172
|
lastFour?: string;
|
|
173
|
-
}>;
|
|
173
|
+
}, false>;
|
|
174
174
|
"makerTokens.deny": import("./define.js").OperationEntry<ApprovalRef, {
|
|
175
175
|
status: "DENIED";
|
|
176
176
|
approvalId: string;
|
|
@@ -179,7 +179,7 @@ export declare const makerTokenOperations: {
|
|
|
179
179
|
status: "DENIED";
|
|
180
180
|
approvalId: string;
|
|
181
181
|
makerTokenId: string;
|
|
182
|
-
}>;
|
|
182
|
+
}, false>;
|
|
183
183
|
"makerTokens.rotate": import("./define.js").OperationEntry<TokenRef, {
|
|
184
184
|
id: string;
|
|
185
185
|
lastFour: string;
|
|
@@ -188,7 +188,7 @@ export declare const makerTokenOperations: {
|
|
|
188
188
|
id: string;
|
|
189
189
|
lastFour: string;
|
|
190
190
|
token: string;
|
|
191
|
-
}>;
|
|
192
|
-
"makerTokens.revoke": import("./define.js").OperationEntry<TokenRef, void, void>;
|
|
191
|
+
}, false>;
|
|
192
|
+
"makerTokens.revoke": import("./define.js").OperationEntry<TokenRef, void, void, false>;
|
|
193
193
|
};
|
|
194
194
|
export {};
|
|
@@ -17,7 +17,7 @@ export declare const organizationOperations: {
|
|
|
17
17
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
18
18
|
roleKey: string | null;
|
|
19
19
|
principalKind: "browser_user" | "cli_user" | "maker_token";
|
|
20
|
-
}[]>;
|
|
20
|
+
}[], false>;
|
|
21
21
|
"organizations.create": import("./define.js").OperationEntry<{
|
|
22
22
|
name: string;
|
|
23
23
|
type: "team" | "company";
|
|
@@ -27,8 +27,7 @@ export declare const organizationOperations: {
|
|
|
27
27
|
}, {
|
|
28
28
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
29
29
|
roleKey: "owner";
|
|
30
|
-
}>;
|
|
31
|
-
"organizations.delete": import("./define.js").OperationEntry<OrganizationRef, void, void>;
|
|
30
|
+
}, false>;
|
|
32
31
|
"organizations.overview.read": import("./define.js").OperationEntry<OrganizationRef, {
|
|
33
32
|
organization: {
|
|
34
33
|
mrrCents: number | null;
|
|
@@ -46,7 +45,7 @@ export declare const organizationOperations: {
|
|
|
46
45
|
unit: string;
|
|
47
46
|
periodLabel: string;
|
|
48
47
|
} | null;
|
|
49
|
-
|
|
48
|
+
billingConnected: boolean;
|
|
50
49
|
};
|
|
51
50
|
businesses: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewBusiness"][];
|
|
52
51
|
recentActivity: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewActivity"][];
|
|
@@ -67,11 +66,11 @@ export declare const organizationOperations: {
|
|
|
67
66
|
unit: string;
|
|
68
67
|
periodLabel: string;
|
|
69
68
|
} | null;
|
|
70
|
-
|
|
69
|
+
billingConnected: boolean;
|
|
71
70
|
};
|
|
72
71
|
businesses: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewBusiness"][];
|
|
73
72
|
recentActivity: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewActivity"][];
|
|
74
|
-
}>;
|
|
73
|
+
}, false>;
|
|
75
74
|
"organizations.bulletin.read": import("./define.js").OperationEntry<OrganizationRef & {
|
|
76
75
|
kind?: string;
|
|
77
76
|
status?: string;
|
|
@@ -83,7 +82,7 @@ export declare const organizationOperations: {
|
|
|
83
82
|
}, {
|
|
84
83
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
85
84
|
nextCursor: string | null;
|
|
86
|
-
}>;
|
|
85
|
+
}, false>;
|
|
87
86
|
"organizations.role.list": import("./define.js").OperationEntry<OrganizationRef & {
|
|
88
87
|
query?: ListQuery;
|
|
89
88
|
}, {
|
|
@@ -118,7 +117,7 @@ export declare const organizationOperations: {
|
|
|
118
117
|
canEdit: boolean;
|
|
119
118
|
canDelete: boolean;
|
|
120
119
|
};
|
|
121
|
-
}>;
|
|
120
|
+
}, false>;
|
|
122
121
|
"organizations.role.show": import("./define.js").OperationEntry<RoleRef, {
|
|
123
122
|
id: string;
|
|
124
123
|
organizationId: string;
|
|
@@ -145,7 +144,7 @@ export declare const organizationOperations: {
|
|
|
145
144
|
canDelete: boolean;
|
|
146
145
|
createdAt: string;
|
|
147
146
|
updatedAt: string;
|
|
148
|
-
}>;
|
|
147
|
+
}, false>;
|
|
149
148
|
"organizations.role.create": import("./define.js").OperationEntry<OrganizationRef & {
|
|
150
149
|
key: string;
|
|
151
150
|
name: string;
|
|
@@ -177,7 +176,7 @@ export declare const organizationOperations: {
|
|
|
177
176
|
canDelete: boolean;
|
|
178
177
|
createdAt: string;
|
|
179
178
|
updatedAt: string;
|
|
180
|
-
}>;
|
|
179
|
+
}, false>;
|
|
181
180
|
"organizations.role.update": import("./define.js").OperationEntry<OrganizationRef & {
|
|
182
181
|
roleKey: string;
|
|
183
182
|
} & {
|
|
@@ -210,8 +209,8 @@ export declare const organizationOperations: {
|
|
|
210
209
|
canDelete: boolean;
|
|
211
210
|
createdAt: string;
|
|
212
211
|
updatedAt: string;
|
|
213
|
-
}>;
|
|
214
|
-
"organizations.role.delete": import("./define.js").OperationEntry<RoleRef, void, void>;
|
|
212
|
+
}, false>;
|
|
213
|
+
"organizations.role.delete": import("./define.js").OperationEntry<RoleRef, void, void, false>;
|
|
215
214
|
"organizations.member.list": import("./define.js").OperationEntry<OrganizationRef & {
|
|
216
215
|
query?: ListQuery;
|
|
217
216
|
limit?: number;
|
|
@@ -278,7 +277,7 @@ export declare const organizationOperations: {
|
|
|
278
277
|
organizationType: "team" | "company";
|
|
279
278
|
ownershipMode: "transferable_multi";
|
|
280
279
|
permissions: import("../generated/schemas.js").components["schemas"]["OrganizationViewerPermissions"];
|
|
281
|
-
}>;
|
|
280
|
+
}, false>;
|
|
282
281
|
"organizations.member.update": import("./define.js").OperationEntry<OrganizationRef & {
|
|
283
282
|
memberUserId: string;
|
|
284
283
|
} & {
|
|
@@ -289,19 +288,8 @@ export declare const organizationOperations: {
|
|
|
289
288
|
}, {
|
|
290
289
|
userId: string;
|
|
291
290
|
roleKey: string;
|
|
292
|
-
}>;
|
|
293
|
-
"organizations.member.remove": import("./define.js").OperationEntry<MemberRef, void, void>;
|
|
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
|
-
}>;
|
|
291
|
+
}, false>;
|
|
292
|
+
"organizations.member.remove": import("./define.js").OperationEntry<MemberRef, void, void, false>;
|
|
305
293
|
"organizations.invitation.create": import("./define.js").OperationEntry<OrganizationRef & {
|
|
306
294
|
email: string;
|
|
307
295
|
roleKey: string;
|
|
@@ -321,7 +309,7 @@ export declare const organizationOperations: {
|
|
|
321
309
|
status: "pending";
|
|
322
310
|
expiresAt: string;
|
|
323
311
|
organizationId: string;
|
|
324
|
-
}>;
|
|
312
|
+
}, false>;
|
|
325
313
|
"organizations.invitation.list": import("./define.js").OperationEntry<void, {
|
|
326
314
|
id: string;
|
|
327
315
|
email: string;
|
|
@@ -338,7 +326,7 @@ export declare const organizationOperations: {
|
|
|
338
326
|
status: "pending";
|
|
339
327
|
expiresAt: string;
|
|
340
328
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
341
|
-
}[]>;
|
|
329
|
+
}[], false>;
|
|
342
330
|
"organizations.invitation.listSent": import("./define.js").OperationEntry<OrganizationRef, {
|
|
343
331
|
id: string;
|
|
344
332
|
email: string;
|
|
@@ -355,10 +343,10 @@ export declare const organizationOperations: {
|
|
|
355
343
|
status: "pending";
|
|
356
344
|
expiresAt: string;
|
|
357
345
|
createdAt: string;
|
|
358
|
-
}[]>;
|
|
346
|
+
}[], false>;
|
|
359
347
|
"organizations.invitation.revoke": import("./define.js").OperationEntry<OrganizationRef & {
|
|
360
348
|
invitationId: string;
|
|
361
|
-
}, void, void>;
|
|
349
|
+
}, void, void, false>;
|
|
362
350
|
"organizations.invitation.accept": import("./define.js").OperationEntry<{
|
|
363
351
|
invitationId: string;
|
|
364
352
|
token: string;
|
|
@@ -368,6 +356,6 @@ export declare const organizationOperations: {
|
|
|
368
356
|
}, {
|
|
369
357
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
370
358
|
roleKey: string;
|
|
371
|
-
}>;
|
|
359
|
+
}, false>;
|
|
372
360
|
};
|
|
373
361
|
export {};
|
|
@@ -56,12 +56,12 @@ export declare const personaOperations: {
|
|
|
56
56
|
planKey: string | null;
|
|
57
57
|
scopes: string[];
|
|
58
58
|
};
|
|
59
|
-
}>;
|
|
59
|
+
}, false>;
|
|
60
60
|
"personas.read": import("./define.js").OperationEntry<EnvironmentRef, {
|
|
61
61
|
data: import("../generated/schemas.js").components["schemas"]["TestPersona"][];
|
|
62
62
|
}, {
|
|
63
63
|
data: import("../generated/schemas.js").components["schemas"]["TestPersona"][];
|
|
64
|
-
}>;
|
|
64
|
+
}, false>;
|
|
65
65
|
"personas.login": import("./define.js").OperationEntry<PersonaRef, {
|
|
66
66
|
data: {
|
|
67
67
|
personaId: string;
|
|
@@ -78,7 +78,7 @@ export declare const personaOperations: {
|
|
|
78
78
|
handoffToken: string;
|
|
79
79
|
expiresAt: string;
|
|
80
80
|
};
|
|
81
|
-
}>;
|
|
81
|
+
}, false>;
|
|
82
82
|
"personas.rotate": import("./define.js").OperationEntry<PersonaRef, {
|
|
83
83
|
data: {
|
|
84
84
|
id: string;
|
|
@@ -93,7 +93,7 @@ export declare const personaOperations: {
|
|
|
93
93
|
keyLastFour: string;
|
|
94
94
|
rotatedAt: string;
|
|
95
95
|
};
|
|
96
|
-
}>;
|
|
96
|
+
}, false>;
|
|
97
97
|
"personas.delete": import("./define.js").OperationEntry<PersonaRef, {
|
|
98
98
|
data: {
|
|
99
99
|
id: string;
|
|
@@ -106,12 +106,12 @@ export declare const personaOperations: {
|
|
|
106
106
|
deleted: true;
|
|
107
107
|
alreadyDeleted: boolean;
|
|
108
108
|
};
|
|
109
|
-
}>;
|
|
109
|
+
}, false>;
|
|
110
110
|
"personas.localPreview.issue": import("./define.js").OperationEntry<EnvironmentRef & {
|
|
111
111
|
personaId: string;
|
|
112
112
|
} & {
|
|
113
113
|
localOrigin: string;
|
|
114
|
-
}, PersonaLocalPreviewLease, PersonaLocalPreviewLease>;
|
|
114
|
+
}, PersonaLocalPreviewLease, PersonaLocalPreviewLease, false>;
|
|
115
115
|
"personas.localPreview.renew": import("./define.js").OperationEntry<LeaseInput, {
|
|
116
116
|
data: {
|
|
117
117
|
localProxyLease: string;
|
|
@@ -122,7 +122,7 @@ export declare const personaOperations: {
|
|
|
122
122
|
localProxyLease: string;
|
|
123
123
|
localProxyLeaseExpiresAt: string;
|
|
124
124
|
};
|
|
125
|
-
}>;
|
|
125
|
+
}, false>;
|
|
126
126
|
"personas.localPreview.revoke": import("./define.js").OperationEntry<LeaseInput, {
|
|
127
127
|
data: {
|
|
128
128
|
revoked: boolean;
|
|
@@ -131,6 +131,6 @@ export declare const personaOperations: {
|
|
|
131
131
|
data: {
|
|
132
132
|
revoked: boolean;
|
|
133
133
|
};
|
|
134
|
-
}>;
|
|
134
|
+
}, false>;
|
|
135
135
|
};
|
|
136
136
|
export {};
|
|
@@ -29,7 +29,7 @@ export declare const plansUsageOperations: {
|
|
|
29
29
|
environmentId: string | null;
|
|
30
30
|
scope: "production" | "environment";
|
|
31
31
|
unreadable?: import("../generated/schemas.js").components["schemas"]["BusinessUnreadablePlan"][];
|
|
32
|
-
}>;
|
|
32
|
+
}, false>;
|
|
33
33
|
"usage.read": import("./define.js").OperationEntry<ManagementScoped, {
|
|
34
34
|
environmentId: string | null;
|
|
35
35
|
scope: "all" | "environment";
|
|
@@ -58,7 +58,7 @@ export declare const plansUsageOperations: {
|
|
|
58
58
|
[key: string]: import("../generated/schemas.js").components["schemas"]["UsageMeterLabel"];
|
|
59
59
|
};
|
|
60
60
|
unratable: import("../generated/schemas.js").components["schemas"]["UsageUnratable"];
|
|
61
|
-
}>;
|
|
61
|
+
}, false>;
|
|
62
62
|
"usage.limits": import("./define.js").OperationEntry<{
|
|
63
63
|
businessId: string;
|
|
64
64
|
limit?: number;
|
|
@@ -79,6 +79,6 @@ export declare const plansUsageOperations: {
|
|
|
79
79
|
offset: number;
|
|
80
80
|
hasMore: boolean;
|
|
81
81
|
};
|
|
82
|
-
}>;
|
|
82
|
+
}, false>;
|
|
83
83
|
};
|
|
84
84
|
export {};
|
|
@@ -14,14 +14,14 @@ export declare const platformOperations: {
|
|
|
14
14
|
resourceCount: import("../generated/schemas.js").components["schemas"]["ResourceCount"];
|
|
15
15
|
}, {
|
|
16
16
|
resourceCount: import("../generated/schemas.js").components["schemas"]["ResourceCount"];
|
|
17
|
-
}>;
|
|
17
|
+
}, false>;
|
|
18
18
|
"platform.denials.read": import("./define.js").OperationEntry<BusinessRef & {
|
|
19
19
|
requestId: string;
|
|
20
20
|
}, {
|
|
21
21
|
denialEvent: import("../generated/schemas.js").components["schemas"]["DenialEvent"];
|
|
22
22
|
}, {
|
|
23
23
|
denialEvent: import("../generated/schemas.js").components["schemas"]["DenialEvent"];
|
|
24
|
-
}>;
|
|
24
|
+
}, false>;
|
|
25
25
|
"platform.dependents.read": import("./define.js").OperationEntry<BusinessRef & {
|
|
26
26
|
route: string;
|
|
27
27
|
since?: string;
|
|
@@ -42,7 +42,7 @@ export declare const platformOperations: {
|
|
|
42
42
|
count: number;
|
|
43
43
|
truncated: boolean;
|
|
44
44
|
consumers: import("../generated/schemas.js").components["schemas"]["BusinessDependent"][];
|
|
45
|
-
}>;
|
|
45
|
+
}, false>;
|
|
46
46
|
"platform.workflowControl.replay": import("./define.js").OperationEntry<{
|
|
47
47
|
body: RequestBody;
|
|
48
48
|
}, {
|
|
@@ -105,7 +105,7 @@ export declare const platformOperations: {
|
|
|
105
105
|
usageEvents: number;
|
|
106
106
|
};
|
|
107
107
|
message: string;
|
|
108
|
-
}>;
|
|
108
|
+
}, false>;
|
|
109
109
|
"platform.workflowControl.rollback": import("./define.js").OperationEntry<{
|
|
110
110
|
body: RequestBody;
|
|
111
111
|
}, {
|
|
@@ -144,7 +144,7 @@ export declare const platformOperations: {
|
|
|
144
144
|
}[];
|
|
145
145
|
revertCommitSha: string | null;
|
|
146
146
|
};
|
|
147
|
-
}>;
|
|
147
|
+
}, false>;
|
|
148
148
|
"automationRules.read": import("./define.js").OperationEntry<BusinessRef & Cursor & {
|
|
149
149
|
env?: string;
|
|
150
150
|
}, {
|
|
@@ -153,13 +153,13 @@ export declare const platformOperations: {
|
|
|
153
153
|
}, {
|
|
154
154
|
items: import("../generated/schemas.js").components["schemas"]["AutomationRule"][];
|
|
155
155
|
nextCursor: string | null;
|
|
156
|
-
}>;
|
|
156
|
+
}, false>;
|
|
157
157
|
"automationRules.get": import("./define.js").OperationEntry<BusinessRef & {
|
|
158
158
|
ruleId: string;
|
|
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" | "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" | "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;
|
|
@@ -246,13 +246,13 @@ export declare const platformOperations: {
|
|
|
246
246
|
environmentId: string | null;
|
|
247
247
|
createdAt: string;
|
|
248
248
|
updatedAt: string;
|
|
249
|
-
}>;
|
|
249
|
+
}, false>;
|
|
250
250
|
"automationRules.create": import("./define.js").OperationEntry<BusinessRef & {
|
|
251
251
|
body: RequestBody;
|
|
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" | "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" | "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;
|
|
@@ -339,14 +339,14 @@ export declare const platformOperations: {
|
|
|
339
339
|
environmentId: string | null;
|
|
340
340
|
createdAt: string;
|
|
341
341
|
updatedAt: string;
|
|
342
|
-
}>;
|
|
342
|
+
}, false>;
|
|
343
343
|
"automationRules.update": import("./define.js").OperationEntry<BusinessRef & {
|
|
344
344
|
ruleId: string;
|
|
345
345
|
body: RequestBody;
|
|
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" | "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" | "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;
|
|
@@ -433,23 +433,23 @@ export declare const platformOperations: {
|
|
|
433
433
|
environmentId: string | null;
|
|
434
434
|
createdAt: string;
|
|
435
435
|
updatedAt: string;
|
|
436
|
-
}>;
|
|
436
|
+
}, false>;
|
|
437
437
|
"automationRules.delete": import("./define.js").OperationEntry<BusinessRef & {
|
|
438
438
|
ruleId: string;
|
|
439
|
-
}, void, void>;
|
|
439
|
+
}, void, void, false>;
|
|
440
440
|
"knowledge.guide.read": import("./define.js").OperationEntry<Cursor | undefined, {
|
|
441
441
|
items: import("../generated/schemas.js").components["schemas"]["KnowledgeResource"][];
|
|
442
442
|
nextCursor: string | null;
|
|
443
443
|
}, {
|
|
444
444
|
items: import("../generated/schemas.js").components["schemas"]["KnowledgeResource"][];
|
|
445
445
|
nextCursor: string | null;
|
|
446
|
-
}>;
|
|
446
|
+
}, false>;
|
|
447
447
|
"knowledge.business.read": import("./define.js").OperationEntry<BusinessRef & Cursor, {
|
|
448
448
|
items: import("../generated/schemas.js").components["schemas"]["KnowledgeResource"][];
|
|
449
449
|
nextCursor: string | null;
|
|
450
450
|
}, {
|
|
451
451
|
items: import("../generated/schemas.js").components["schemas"]["KnowledgeResource"][];
|
|
452
452
|
nextCursor: string | null;
|
|
453
|
-
}>;
|
|
453
|
+
}, false>;
|
|
454
454
|
};
|
|
455
455
|
export {};
|
|
@@ -13,7 +13,7 @@ export declare const portalOperations: {
|
|
|
13
13
|
}, {
|
|
14
14
|
data: import("../generated/schemas.js").components["schemas"]["PortalServiceAccountListItem"][];
|
|
15
15
|
pagination: import("../generated/schemas.js").components["schemas"]["PortalOffsetPagination"];
|
|
16
|
-
}>;
|
|
16
|
+
}, false>;
|
|
17
17
|
"portal.serviceAccounts.create": import("./define.js").OperationEntry<BusinessRef & {
|
|
18
18
|
body: RequestBody;
|
|
19
19
|
}, {
|
|
@@ -48,7 +48,7 @@ export declare const portalOperations: {
|
|
|
48
48
|
grantedPermissions: [];
|
|
49
49
|
excessPermissions: string[];
|
|
50
50
|
eligibleApproverIds: string[];
|
|
51
|
-
}>;
|
|
51
|
+
}, false>;
|
|
52
52
|
"portal.serviceAccounts.update": import("./define.js").OperationEntry<BusinessRef & {
|
|
53
53
|
serviceAccountId: string;
|
|
54
54
|
body: RequestBody;
|
|
@@ -78,14 +78,14 @@ export declare const portalOperations: {
|
|
|
78
78
|
requestedPermissions: string[];
|
|
79
79
|
excessPermissions: string[];
|
|
80
80
|
eligibleApproverIds: string[];
|
|
81
|
-
}>;
|
|
81
|
+
}, false>;
|
|
82
82
|
"portal.serviceAccounts.approvals": import("./define.js").OperationEntry<BusinessRef & Page, {
|
|
83
83
|
data: import("../generated/schemas.js").components["schemas"]["PortalServiceAccountPendingApproval"][];
|
|
84
84
|
pagination: import("../generated/schemas.js").components["schemas"]["PortalOffsetPagination"];
|
|
85
85
|
}, {
|
|
86
86
|
data: import("../generated/schemas.js").components["schemas"]["PortalServiceAccountPendingApproval"][];
|
|
87
87
|
pagination: import("../generated/schemas.js").components["schemas"]["PortalOffsetPagination"];
|
|
88
|
-
}>;
|
|
88
|
+
}, false>;
|
|
89
89
|
"portal.serviceAccounts.approve": import("./define.js").OperationEntry<BusinessRef & {
|
|
90
90
|
approvalId: string;
|
|
91
91
|
body: RequestBody;
|
|
@@ -113,14 +113,14 @@ export declare const portalOperations: {
|
|
|
113
113
|
operation: "UPDATE";
|
|
114
114
|
serviceAccountId: string;
|
|
115
115
|
grantedPermissions: string[];
|
|
116
|
-
}>;
|
|
116
|
+
}, false>;
|
|
117
117
|
"portal.serviceAccounts.deny": import("./define.js").OperationEntry<BusinessRef & {
|
|
118
118
|
approvalId: string;
|
|
119
119
|
}, {
|
|
120
120
|
status: "DENIED";
|
|
121
121
|
}, {
|
|
122
122
|
status: "DENIED";
|
|
123
|
-
}>;
|
|
123
|
+
}, false>;
|
|
124
124
|
"portal.serviceAccounts.rotate": import("./define.js").OperationEntry<BusinessRef & {
|
|
125
125
|
serviceAccountId: string;
|
|
126
126
|
}, {
|
|
@@ -137,17 +137,17 @@ export declare const portalOperations: {
|
|
|
137
137
|
apiKeyId: string;
|
|
138
138
|
plaintext: string;
|
|
139
139
|
grantedPermissions: string[];
|
|
140
|
-
}>;
|
|
140
|
+
}, false>;
|
|
141
141
|
"portal.serviceAccounts.revoke": import("./define.js").OperationEntry<BusinessRef & {
|
|
142
142
|
serviceAccountId: string;
|
|
143
|
-
}, void, void>;
|
|
143
|
+
}, void, void, false>;
|
|
144
144
|
"portal.usageLimits.list": import("./define.js").OperationEntry<BusinessRef & Page, {
|
|
145
145
|
data: import("../generated/schemas.js").components["schemas"]["PortalUsageLimitDto"][];
|
|
146
146
|
pagination: import("../generated/schemas.js").components["schemas"]["PortalOffsetPagination"];
|
|
147
147
|
}, {
|
|
148
148
|
data: import("../generated/schemas.js").components["schemas"]["PortalUsageLimitDto"][];
|
|
149
149
|
pagination: import("../generated/schemas.js").components["schemas"]["PortalOffsetPagination"];
|
|
150
|
-
}>;
|
|
150
|
+
}, false>;
|
|
151
151
|
"portal.usageLimits.set": import("./define.js").OperationEntry<BusinessRef & {
|
|
152
152
|
/** Update this limit; omit to create one. */
|
|
153
153
|
limitId?: string;
|
|
@@ -428,7 +428,7 @@ export declare const portalOperations: {
|
|
|
428
428
|
subjectId: string;
|
|
429
429
|
limitUnits?: never;
|
|
430
430
|
limitCents: number;
|
|
431
|
-
}>;
|
|
431
|
+
}, false>;
|
|
432
432
|
"portal.usageLimits.remove": import("./define.js").OperationEntry<BusinessRef & {
|
|
433
433
|
limitId: string;
|
|
434
434
|
}, {
|
|
@@ -437,6 +437,6 @@ export declare const portalOperations: {
|
|
|
437
437
|
}, {
|
|
438
438
|
id: string;
|
|
439
439
|
deleted: true;
|
|
440
|
-
}>;
|
|
440
|
+
}, false>;
|
|
441
441
|
};
|
|
442
442
|
export {};
|