@farthershore/client 0.2.0 → 0.4.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 +7 -1
- package/dist/index.js +113 -16
- package/dist/types/api.generated.d.ts +23 -5
- package/dist/types/envelope.d.ts +2 -0
- package/dist/types/errors.d.ts +13 -0
- package/dist/types/generated/schemas.d.ts +68 -17
- 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 +4 -4
- package/dist/types/operations/businesses.d.ts +38 -24
- 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 +6 -2
- 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 +308 -182
- package/dist/types/operations/maker-tokens.d.ts +9 -9
- package/dist/types/operations/organizations.d.ts +21 -21
- 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 +12 -12
- 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 +105 -12
- package/dist/types/surface-types.d.ts +16 -10
- package/dist/types/types.d.ts +3 -0
- 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,8 @@ 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>;
|
|
31
|
+
"organizations.delete": import("./define.js").OperationEntry<OrganizationRef, void, void, false>;
|
|
32
32
|
"organizations.overview.read": import("./define.js").OperationEntry<OrganizationRef, {
|
|
33
33
|
organization: {
|
|
34
34
|
mrrCents: number | null;
|
|
@@ -46,7 +46,7 @@ export declare const organizationOperations: {
|
|
|
46
46
|
unit: string;
|
|
47
47
|
periodLabel: string;
|
|
48
48
|
} | null;
|
|
49
|
-
|
|
49
|
+
billingConnected: boolean;
|
|
50
50
|
};
|
|
51
51
|
businesses: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewBusiness"][];
|
|
52
52
|
recentActivity: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewActivity"][];
|
|
@@ -67,11 +67,11 @@ export declare const organizationOperations: {
|
|
|
67
67
|
unit: string;
|
|
68
68
|
periodLabel: string;
|
|
69
69
|
} | null;
|
|
70
|
-
|
|
70
|
+
billingConnected: boolean;
|
|
71
71
|
};
|
|
72
72
|
businesses: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewBusiness"][];
|
|
73
73
|
recentActivity: import("../generated/schemas.js").components["schemas"]["OrganizationOverviewActivity"][];
|
|
74
|
-
}>;
|
|
74
|
+
}, false>;
|
|
75
75
|
"organizations.bulletin.read": import("./define.js").OperationEntry<OrganizationRef & {
|
|
76
76
|
kind?: string;
|
|
77
77
|
status?: string;
|
|
@@ -83,7 +83,7 @@ export declare const organizationOperations: {
|
|
|
83
83
|
}, {
|
|
84
84
|
items: import("../generated/schemas.js").components["schemas"]["OrganizationBulletinPost"][];
|
|
85
85
|
nextCursor: string | null;
|
|
86
|
-
}>;
|
|
86
|
+
}, false>;
|
|
87
87
|
"organizations.role.list": import("./define.js").OperationEntry<OrganizationRef & {
|
|
88
88
|
query?: ListQuery;
|
|
89
89
|
}, {
|
|
@@ -118,7 +118,7 @@ export declare const organizationOperations: {
|
|
|
118
118
|
canEdit: boolean;
|
|
119
119
|
canDelete: boolean;
|
|
120
120
|
};
|
|
121
|
-
}>;
|
|
121
|
+
}, false>;
|
|
122
122
|
"organizations.role.show": import("./define.js").OperationEntry<RoleRef, {
|
|
123
123
|
id: string;
|
|
124
124
|
organizationId: string;
|
|
@@ -145,7 +145,7 @@ export declare const organizationOperations: {
|
|
|
145
145
|
canDelete: boolean;
|
|
146
146
|
createdAt: string;
|
|
147
147
|
updatedAt: string;
|
|
148
|
-
}>;
|
|
148
|
+
}, false>;
|
|
149
149
|
"organizations.role.create": import("./define.js").OperationEntry<OrganizationRef & {
|
|
150
150
|
key: string;
|
|
151
151
|
name: string;
|
|
@@ -177,7 +177,7 @@ export declare const organizationOperations: {
|
|
|
177
177
|
canDelete: boolean;
|
|
178
178
|
createdAt: string;
|
|
179
179
|
updatedAt: string;
|
|
180
|
-
}>;
|
|
180
|
+
}, false>;
|
|
181
181
|
"organizations.role.update": import("./define.js").OperationEntry<OrganizationRef & {
|
|
182
182
|
roleKey: string;
|
|
183
183
|
} & {
|
|
@@ -210,8 +210,8 @@ export declare const organizationOperations: {
|
|
|
210
210
|
canDelete: boolean;
|
|
211
211
|
createdAt: string;
|
|
212
212
|
updatedAt: string;
|
|
213
|
-
}>;
|
|
214
|
-
"organizations.role.delete": import("./define.js").OperationEntry<RoleRef, void, void>;
|
|
213
|
+
}, false>;
|
|
214
|
+
"organizations.role.delete": import("./define.js").OperationEntry<RoleRef, void, void, false>;
|
|
215
215
|
"organizations.member.list": import("./define.js").OperationEntry<OrganizationRef & {
|
|
216
216
|
query?: ListQuery;
|
|
217
217
|
limit?: number;
|
|
@@ -278,7 +278,7 @@ export declare const organizationOperations: {
|
|
|
278
278
|
organizationType: "team" | "company";
|
|
279
279
|
ownershipMode: "transferable_multi";
|
|
280
280
|
permissions: import("../generated/schemas.js").components["schemas"]["OrganizationViewerPermissions"];
|
|
281
|
-
}>;
|
|
281
|
+
}, false>;
|
|
282
282
|
"organizations.member.update": import("./define.js").OperationEntry<OrganizationRef & {
|
|
283
283
|
memberUserId: string;
|
|
284
284
|
} & {
|
|
@@ -289,8 +289,8 @@ export declare const organizationOperations: {
|
|
|
289
289
|
}, {
|
|
290
290
|
userId: string;
|
|
291
291
|
roleKey: string;
|
|
292
|
-
}>;
|
|
293
|
-
"organizations.member.remove": import("./define.js").OperationEntry<MemberRef, void, void>;
|
|
292
|
+
}, false>;
|
|
293
|
+
"organizations.member.remove": import("./define.js").OperationEntry<MemberRef, void, void, false>;
|
|
294
294
|
"organizations.ownership.transfer": import("./define.js").OperationEntry<OrganizationRef & {
|
|
295
295
|
newOwnerUserId: string;
|
|
296
296
|
}, {
|
|
@@ -301,7 +301,7 @@ export declare const organizationOperations: {
|
|
|
301
301
|
organizationId: string;
|
|
302
302
|
previousPrimaryOwnerUserId: string;
|
|
303
303
|
primaryOwnerUserId: string;
|
|
304
|
-
}>;
|
|
304
|
+
}, false>;
|
|
305
305
|
"organizations.invitation.create": import("./define.js").OperationEntry<OrganizationRef & {
|
|
306
306
|
email: string;
|
|
307
307
|
roleKey: string;
|
|
@@ -321,7 +321,7 @@ export declare const organizationOperations: {
|
|
|
321
321
|
status: "pending";
|
|
322
322
|
expiresAt: string;
|
|
323
323
|
organizationId: string;
|
|
324
|
-
}>;
|
|
324
|
+
}, false>;
|
|
325
325
|
"organizations.invitation.list": import("./define.js").OperationEntry<void, {
|
|
326
326
|
id: string;
|
|
327
327
|
email: string;
|
|
@@ -338,7 +338,7 @@ export declare const organizationOperations: {
|
|
|
338
338
|
status: "pending";
|
|
339
339
|
expiresAt: string;
|
|
340
340
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
341
|
-
}[]>;
|
|
341
|
+
}[], false>;
|
|
342
342
|
"organizations.invitation.listSent": import("./define.js").OperationEntry<OrganizationRef, {
|
|
343
343
|
id: string;
|
|
344
344
|
email: string;
|
|
@@ -355,10 +355,10 @@ export declare const organizationOperations: {
|
|
|
355
355
|
status: "pending";
|
|
356
356
|
expiresAt: string;
|
|
357
357
|
createdAt: string;
|
|
358
|
-
}[]>;
|
|
358
|
+
}[], false>;
|
|
359
359
|
"organizations.invitation.revoke": import("./define.js").OperationEntry<OrganizationRef & {
|
|
360
360
|
invitationId: string;
|
|
361
|
-
}, void, void>;
|
|
361
|
+
}, void, void, false>;
|
|
362
362
|
"organizations.invitation.accept": import("./define.js").OperationEntry<{
|
|
363
363
|
invitationId: string;
|
|
364
364
|
token: string;
|
|
@@ -368,6 +368,6 @@ export declare const organizationOperations: {
|
|
|
368
368
|
}, {
|
|
369
369
|
organization: import("../generated/schemas.js").components["schemas"]["OrganizationSummary"];
|
|
370
370
|
roleKey: string;
|
|
371
|
-
}>;
|
|
371
|
+
}, false>;
|
|
372
372
|
};
|
|
373
373
|
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,7 +153,7 @@ 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
|
}, {
|
|
@@ -246,7 +246,7 @@ 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
|
}, {
|
|
@@ -339,7 +339,7 @@ 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;
|
|
@@ -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 {};
|
|
@@ -8,6 +8,7 @@ type PromoCodeRef = BusinessRef & {
|
|
|
8
8
|
export declare const promoCodeOperations: {
|
|
9
9
|
"promoCodes.read": import("./define.js").OperationEntry<BusinessRef, {
|
|
10
10
|
id: string;
|
|
11
|
+
unreadable: boolean;
|
|
11
12
|
code: string;
|
|
12
13
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
13
14
|
amount: number | null;
|
|
@@ -20,6 +21,7 @@ export declare const promoCodeOperations: {
|
|
|
20
21
|
createdAt: string;
|
|
21
22
|
}[], {
|
|
22
23
|
id: string;
|
|
24
|
+
unreadable: boolean;
|
|
23
25
|
code: string;
|
|
24
26
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
25
27
|
amount: number | null;
|
|
@@ -30,9 +32,10 @@ export declare const promoCodeOperations: {
|
|
|
30
32
|
activeUntil: string | null;
|
|
31
33
|
status: "ACTIVE" | "ARCHIVED";
|
|
32
34
|
createdAt: string;
|
|
33
|
-
}[]>;
|
|
35
|
+
}[], false>;
|
|
34
36
|
"promoCodes.create": import("./define.js").OperationEntry<BusinessRef & CreatePromoCodeInput, {
|
|
35
37
|
id: string;
|
|
38
|
+
unreadable: boolean;
|
|
36
39
|
code: string;
|
|
37
40
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
38
41
|
amount: number | null;
|
|
@@ -45,6 +48,7 @@ export declare const promoCodeOperations: {
|
|
|
45
48
|
createdAt: string;
|
|
46
49
|
}, {
|
|
47
50
|
id: string;
|
|
51
|
+
unreadable: boolean;
|
|
48
52
|
code: string;
|
|
49
53
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
50
54
|
amount: number | null;
|
|
@@ -55,13 +59,14 @@ export declare const promoCodeOperations: {
|
|
|
55
59
|
activeUntil: string | null;
|
|
56
60
|
status: "ACTIVE" | "ARCHIVED";
|
|
57
61
|
createdAt: string;
|
|
58
|
-
}>;
|
|
62
|
+
}, false>;
|
|
59
63
|
"promoCodes.update": import("./define.js").OperationEntry<BusinessRef & {
|
|
60
64
|
promoCodeId: string;
|
|
61
65
|
} & Partial<CreatePromoCodeInput> & {
|
|
62
66
|
status?: PromoCodeStatus;
|
|
63
67
|
}, {
|
|
64
68
|
id: string;
|
|
69
|
+
unreadable: boolean;
|
|
65
70
|
code: string;
|
|
66
71
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
67
72
|
amount: number | null;
|
|
@@ -74,6 +79,7 @@ export declare const promoCodeOperations: {
|
|
|
74
79
|
createdAt: string;
|
|
75
80
|
}, {
|
|
76
81
|
id: string;
|
|
82
|
+
unreadable: boolean;
|
|
77
83
|
code: string;
|
|
78
84
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
79
85
|
amount: number | null;
|
|
@@ -84,9 +90,10 @@ export declare const promoCodeOperations: {
|
|
|
84
90
|
activeUntil: string | null;
|
|
85
91
|
status: "ACTIVE" | "ARCHIVED";
|
|
86
92
|
createdAt: string;
|
|
87
|
-
}>;
|
|
93
|
+
}, false>;
|
|
88
94
|
"promoCodes.archive": import("./define.js").OperationEntry<PromoCodeRef, {
|
|
89
95
|
id: string;
|
|
96
|
+
unreadable: boolean;
|
|
90
97
|
code: string;
|
|
91
98
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
92
99
|
amount: number | null;
|
|
@@ -99,6 +106,7 @@ export declare const promoCodeOperations: {
|
|
|
99
106
|
createdAt: string;
|
|
100
107
|
}, {
|
|
101
108
|
id: string;
|
|
109
|
+
unreadable: boolean;
|
|
102
110
|
code: string;
|
|
103
111
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
104
112
|
amount: number | null;
|
|
@@ -109,9 +117,10 @@ export declare const promoCodeOperations: {
|
|
|
109
117
|
activeUntil: string | null;
|
|
110
118
|
status: "ACTIVE" | "ARCHIVED";
|
|
111
119
|
createdAt: string;
|
|
112
|
-
}>;
|
|
120
|
+
}, false>;
|
|
113
121
|
"promoCodes.reactivate": import("./define.js").OperationEntry<PromoCodeRef, {
|
|
114
122
|
id: string;
|
|
123
|
+
unreadable: boolean;
|
|
115
124
|
code: string;
|
|
116
125
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
117
126
|
amount: number | null;
|
|
@@ -124,6 +133,7 @@ export declare const promoCodeOperations: {
|
|
|
124
133
|
createdAt: string;
|
|
125
134
|
}, {
|
|
126
135
|
id: string;
|
|
136
|
+
unreadable: boolean;
|
|
127
137
|
code: string;
|
|
128
138
|
kind: ("percent_off" | "amount_off" | "free_months") | null;
|
|
129
139
|
amount: number | null;
|
|
@@ -134,6 +144,6 @@ export declare const promoCodeOperations: {
|
|
|
134
144
|
activeUntil: string | null;
|
|
135
145
|
status: "ACTIVE" | "ARCHIVED";
|
|
136
146
|
createdAt: string;
|
|
137
|
-
}>;
|
|
147
|
+
}, false>;
|
|
138
148
|
};
|
|
139
149
|
export {};
|