@slipway-systems/sdk 0.0.0 → 0.2.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/LICENSE +202 -0
- package/README.md +28 -1
- package/dist/client.d.ts +23 -0
- package/dist/client.js +23 -0
- package/dist/gen/slipway/v1/billing_pb.d.ts +960 -0
- package/dist/gen/slipway/v1/billing_pb.js +158 -0
- package/dist/gen/slipway/v1/common_pb.d.ts +256 -0
- package/dist/gen/slipway/v1/common_pb.js +78 -0
- package/dist/gen/slipway/v1/deploy_pb.d.ts +5901 -0
- package/dist/gen/slipway/v1/deploy_pb.js +1035 -0
- package/dist/gen/slipway/v1/identity_pb.d.ts +4321 -0
- package/dist/gen/slipway/v1/identity_pb.js +1038 -0
- package/dist/gen/slipway/v1/integrations_pb.d.ts +2368 -0
- package/dist/gen/slipway/v1/integrations_pb.js +444 -0
- package/dist/gen/slipway/v1/notifications_pb.d.ts +324 -0
- package/dist/gen/slipway/v1/notifications_pb.js +79 -0
- package/dist/gen/slipway/v1/pipeline_pb.d.ts +933 -0
- package/dist/gen/slipway/v1/pipeline_pb.js +193 -0
- package/dist/gen/slipway/v1/runs_pb.d.ts +4756 -0
- package/dist/gen/slipway/v1/runs_pb.js +1086 -0
- package/dist/gen/slipway/v1/scm_pb.d.ts +1599 -0
- package/dist/gen/slipway/v1/scm_pb.js +453 -0
- package/dist/gen/slipway/v1/secrets_pb.d.ts +1298 -0
- package/dist/gen/slipway/v1/secrets_pb.js +311 -0
- package/dist/gen.d.ts +10 -0
- package/dist/gen.js +11 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -0
- package/dist/services.d.ts +38 -0
- package/dist/services.js +39 -0
- package/package.json +43 -5
|
@@ -0,0 +1,960 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file slipway/v1/billing.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_slipway_v1_billing: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Entitlements are the typed limits and feature flags of a plan (with any per-org override applied).
|
|
10
|
+
*
|
|
11
|
+
* @generated from message slipway.v1.Entitlements
|
|
12
|
+
*/
|
|
13
|
+
export type Entitlements = Message<"slipway.v1.Entitlements"> & {
|
|
14
|
+
/**
|
|
15
|
+
* per month, Linux 2 vCPU equivalent
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: int64 hosted_minutes_included = 1;
|
|
18
|
+
*/
|
|
19
|
+
hostedMinutesIncluded: bigint;
|
|
20
|
+
/**
|
|
21
|
+
* hard_stop | metered | negotiated
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string hosted_overage_mode = 2;
|
|
24
|
+
*/
|
|
25
|
+
hostedOverageMode: string;
|
|
26
|
+
/**
|
|
27
|
+
* USD micros (1e-6) per minute beyond included; 0 when hard_stop
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: int64 hosted_overage_micros_per_minute = 3;
|
|
30
|
+
*/
|
|
31
|
+
hostedOverageMicrosPerMinute: bigint;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: int64 concurrent_jobs_self_hosted = 4;
|
|
34
|
+
*/
|
|
35
|
+
concurrentJobsSelfHosted: bigint;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: int64 concurrent_jobs_hosted = 5;
|
|
38
|
+
*/
|
|
39
|
+
concurrentJobsHosted: bigint;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: int64 environments_per_project = 6;
|
|
42
|
+
*/
|
|
43
|
+
environmentsPerProject: bigint;
|
|
44
|
+
/**
|
|
45
|
+
* recreate, rolling, bluegreen, canary, progressive, release_trains, custom
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: repeated string deployment_strategies = 7;
|
|
48
|
+
*/
|
|
49
|
+
deploymentStrategies: string[];
|
|
50
|
+
/**
|
|
51
|
+
* CEL policies
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: int64 policy_gates = 8;
|
|
54
|
+
*/
|
|
55
|
+
policyGates: bigint;
|
|
56
|
+
/**
|
|
57
|
+
* ServiceNow / Jira change requests
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: bool change_management = 9;
|
|
60
|
+
*/
|
|
61
|
+
changeManagement: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: bool sso = 10;
|
|
64
|
+
*/
|
|
65
|
+
sso: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: bool saml_scim = 11;
|
|
68
|
+
*/
|
|
69
|
+
samlScim: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: bool custom_rbac = 12;
|
|
72
|
+
*/
|
|
73
|
+
customRbac: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: int64 audit_retention_days = 13;
|
|
76
|
+
*/
|
|
77
|
+
auditRetentionDays: bigint;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: bool audit_export = 14;
|
|
80
|
+
*/
|
|
81
|
+
auditExport: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: bool audit_streaming = 15;
|
|
84
|
+
*/
|
|
85
|
+
auditStreaming: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: int64 log_retention_days = 16;
|
|
88
|
+
*/
|
|
89
|
+
logRetentionDays: bigint;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: int64 artifact_retention_days = 17;
|
|
92
|
+
*/
|
|
93
|
+
artifactRetentionDays: bigint;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: bool secrets_byok = 18;
|
|
96
|
+
*/
|
|
97
|
+
secretsByok: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: bool secrets_hsm = 19;
|
|
100
|
+
*/
|
|
101
|
+
secretsHsm: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: bool signed_provenance = 20;
|
|
104
|
+
*/
|
|
105
|
+
signedProvenance: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* community | email | priority | enterprise
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: string support_tier = 21;
|
|
110
|
+
*/
|
|
111
|
+
supportTier: string;
|
|
112
|
+
/**
|
|
113
|
+
* human readable response target
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: string support_response = 22;
|
|
116
|
+
*/
|
|
117
|
+
supportResponse: string;
|
|
118
|
+
/**
|
|
119
|
+
* "" | "99.9%" | "99.95%"
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: string uptime_sla = 23;
|
|
122
|
+
*/
|
|
123
|
+
uptimeSla: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: bool dedicated_cell = 24;
|
|
126
|
+
*/
|
|
127
|
+
dedicatedCell: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* limits are contract-specific (enterprise)
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: bool negotiated = 25;
|
|
132
|
+
*/
|
|
133
|
+
negotiated: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Longest a job may run on a Slipway-hosted runner; self-hosted runners only have the plan's general job limit.
|
|
136
|
+
* 0 or negative: no hosted-specific limit.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: int64 hosted_job_timeout_minutes = 26;
|
|
139
|
+
*/
|
|
140
|
+
hostedJobTimeoutMinutes: bigint;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message slipway.v1.Entitlements.
|
|
144
|
+
* Use `create(EntitlementsSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const EntitlementsSchema: GenMessage<Entitlements>;
|
|
147
|
+
/**
|
|
148
|
+
* Plan is one entry of the public catalogue.
|
|
149
|
+
*
|
|
150
|
+
* @generated from message slipway.v1.Plan
|
|
151
|
+
*/
|
|
152
|
+
export type Plan = Message<"slipway.v1.Plan"> & {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string id = 1;
|
|
155
|
+
*/
|
|
156
|
+
id: string;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string name = 2;
|
|
159
|
+
*/
|
|
160
|
+
name: string;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string tagline = 3;
|
|
163
|
+
*/
|
|
164
|
+
tagline: string;
|
|
165
|
+
/**
|
|
166
|
+
* 0 for free; floor price for enterprise
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: int64 price_cents_monthly = 4;
|
|
169
|
+
*/
|
|
170
|
+
priceCentsMonthly: bigint;
|
|
171
|
+
/**
|
|
172
|
+
* "from $2,000"
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: bool price_is_from = 5;
|
|
175
|
+
*/
|
|
176
|
+
priceIsFrom: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* cannot be bought via checkout
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: bool contact_sales = 6;
|
|
181
|
+
*/
|
|
182
|
+
contactSales: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* 0 = none
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: int32 trial_days = 7;
|
|
187
|
+
*/
|
|
188
|
+
trialDays: number;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: slipway.v1.Entitlements entitlements = 8;
|
|
191
|
+
*/
|
|
192
|
+
entitlements?: Entitlements | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* ordering, free = 0
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: int32 rank = 9;
|
|
197
|
+
*/
|
|
198
|
+
rank: number;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message slipway.v1.Plan.
|
|
202
|
+
* Use `create(PlanSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export declare const PlanSchema: GenMessage<Plan>;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message slipway.v1.BillingSubscription
|
|
207
|
+
*/
|
|
208
|
+
export type BillingSubscription = Message<"slipway.v1.BillingSubscription"> & {
|
|
209
|
+
/**
|
|
210
|
+
* Stripe subscription id, empty when none
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string plan = 2;
|
|
217
|
+
*/
|
|
218
|
+
plan: string;
|
|
219
|
+
/**
|
|
220
|
+
* none | trialing | active | past_due | canceled | unpaid | incomplete | admin
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string status = 3;
|
|
223
|
+
*/
|
|
224
|
+
status: string;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: google.protobuf.Timestamp current_period_start = 4;
|
|
227
|
+
*/
|
|
228
|
+
currentPeriodStart?: Timestamp | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: google.protobuf.Timestamp current_period_end = 5;
|
|
231
|
+
*/
|
|
232
|
+
currentPeriodEnd?: Timestamp | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: google.protobuf.Timestamp trial_end = 6;
|
|
235
|
+
*/
|
|
236
|
+
trialEnd?: Timestamp | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: bool cancel_at_period_end = 7;
|
|
239
|
+
*/
|
|
240
|
+
cancelAtPeriodEnd: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* org has never used its Business trial
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: bool trial_available = 8;
|
|
245
|
+
*/
|
|
246
|
+
trialAvailable: boolean;
|
|
247
|
+
/**
|
|
248
|
+
* default | stripe | admin
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string plan_source = 9;
|
|
251
|
+
*/
|
|
252
|
+
planSource: string;
|
|
253
|
+
/**
|
|
254
|
+
* a Stripe customer exists (portal available)
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: bool has_billing_account = 10;
|
|
257
|
+
*/
|
|
258
|
+
hasBillingAccount: boolean;
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message slipway.v1.BillingSubscription.
|
|
262
|
+
* Use `create(BillingSubscriptionSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export declare const BillingSubscriptionSchema: GenMessage<BillingSubscription>;
|
|
265
|
+
/**
|
|
266
|
+
* @generated from message slipway.v1.ProjectUsage
|
|
267
|
+
*/
|
|
268
|
+
export type ProjectUsage = Message<"slipway.v1.ProjectUsage"> & {
|
|
269
|
+
/**
|
|
270
|
+
* empty = unattributed / org-level
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: string project_id = 1;
|
|
273
|
+
*/
|
|
274
|
+
projectId: string;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: int64 quantity = 2;
|
|
277
|
+
*/
|
|
278
|
+
quantity: bigint;
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: int64 peak = 3;
|
|
281
|
+
*/
|
|
282
|
+
peak: bigint;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Describes the message slipway.v1.ProjectUsage.
|
|
286
|
+
* Use `create(ProjectUsageSchema)` to create a new message.
|
|
287
|
+
*/
|
|
288
|
+
export declare const ProjectUsageSchema: GenMessage<ProjectUsage>;
|
|
289
|
+
/**
|
|
290
|
+
* MeterUsage is one meter for one period.
|
|
291
|
+
*
|
|
292
|
+
* @generated from message slipway.v1.MeterUsage
|
|
293
|
+
*/
|
|
294
|
+
export type MeterUsage = Message<"slipway.v1.MeterUsage"> & {
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: string meter = 1;
|
|
297
|
+
*/
|
|
298
|
+
meter: string;
|
|
299
|
+
/**
|
|
300
|
+
* minutes | bytes | jobs | environments
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: string unit = 2;
|
|
303
|
+
*/
|
|
304
|
+
unit: string;
|
|
305
|
+
/**
|
|
306
|
+
* counter | gauge
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: string kind = 3;
|
|
309
|
+
*/
|
|
310
|
+
kind: string;
|
|
311
|
+
/**
|
|
312
|
+
* counter: sum, gauge: latest (max across projects for environments)
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: int64 quantity = 4;
|
|
315
|
+
*/
|
|
316
|
+
quantity: bigint;
|
|
317
|
+
/**
|
|
318
|
+
* @generated from field: int64 peak = 5;
|
|
319
|
+
*/
|
|
320
|
+
peak: bigint;
|
|
321
|
+
/**
|
|
322
|
+
* -1 unlimited
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: int64 limit = 6;
|
|
325
|
+
*/
|
|
326
|
+
limit: bigint;
|
|
327
|
+
/**
|
|
328
|
+
* 0 when unlimited
|
|
329
|
+
*
|
|
330
|
+
* @generated from field: double percent = 7;
|
|
331
|
+
*/
|
|
332
|
+
percent: number;
|
|
333
|
+
/**
|
|
334
|
+
* counters beyond the included amount (paid plans)
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: int64 overage_quantity = 8;
|
|
337
|
+
*/
|
|
338
|
+
overageQuantity: bigint;
|
|
339
|
+
/**
|
|
340
|
+
* overage_quantity * rate
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: int64 estimated_overage_micros = 9;
|
|
343
|
+
*/
|
|
344
|
+
estimatedOverageMicros: bigint;
|
|
345
|
+
/**
|
|
346
|
+
* true when hitting the limit blocks work
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: bool hard_limit = 10;
|
|
349
|
+
*/
|
|
350
|
+
hardLimit: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: repeated slipway.v1.ProjectUsage by_project = 11;
|
|
353
|
+
*/
|
|
354
|
+
byProject: ProjectUsage[];
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Describes the message slipway.v1.MeterUsage.
|
|
358
|
+
* Use `create(MeterUsageSchema)` to create a new message.
|
|
359
|
+
*/
|
|
360
|
+
export declare const MeterUsageSchema: GenMessage<MeterUsage>;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from message slipway.v1.UsagePeriod
|
|
363
|
+
*/
|
|
364
|
+
export type UsagePeriod = Message<"slipway.v1.UsagePeriod"> & {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: google.protobuf.Timestamp period_start = 1;
|
|
367
|
+
*/
|
|
368
|
+
periodStart?: Timestamp | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: google.protobuf.Timestamp period_end = 2;
|
|
371
|
+
*/
|
|
372
|
+
periodEnd?: Timestamp | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: repeated slipway.v1.MeterUsage meters = 3;
|
|
375
|
+
*/
|
|
376
|
+
meters: MeterUsage[];
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* Describes the message slipway.v1.UsagePeriod.
|
|
380
|
+
* Use `create(UsagePeriodSchema)` to create a new message.
|
|
381
|
+
*/
|
|
382
|
+
export declare const UsagePeriodSchema: GenMessage<UsagePeriod>;
|
|
383
|
+
/**
|
|
384
|
+
* AlertSettings is the organisation's usage alert configuration (BillingService.GetAlertSettings / UpdateAlertSettings).
|
|
385
|
+
*
|
|
386
|
+
* @generated from message slipway.v1.AlertSettings
|
|
387
|
+
*/
|
|
388
|
+
export type AlertSettings = Message<"slipway.v1.AlertSettings"> & {
|
|
389
|
+
/**
|
|
390
|
+
* percent of a meter's limit, ascending; default 80 and 100
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: repeated int32 thresholds = 1;
|
|
393
|
+
*/
|
|
394
|
+
thresholds: number[];
|
|
395
|
+
/**
|
|
396
|
+
* extra email addresses, besides the members who manage billing
|
|
397
|
+
*
|
|
398
|
+
* @generated from field: repeated string recipients = 2;
|
|
399
|
+
*/
|
|
400
|
+
recipients: string[];
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* Describes the message slipway.v1.AlertSettings.
|
|
404
|
+
* Use `create(AlertSettingsSchema)` to create a new message.
|
|
405
|
+
*/
|
|
406
|
+
export declare const AlertSettingsSchema: GenMessage<AlertSettings>;
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message slipway.v1.GetAlertSettingsRequest
|
|
409
|
+
*/
|
|
410
|
+
export type GetAlertSettingsRequest = Message<"slipway.v1.GetAlertSettingsRequest"> & {};
|
|
411
|
+
/**
|
|
412
|
+
* Describes the message slipway.v1.GetAlertSettingsRequest.
|
|
413
|
+
* Use `create(GetAlertSettingsRequestSchema)` to create a new message.
|
|
414
|
+
*/
|
|
415
|
+
export declare const GetAlertSettingsRequestSchema: GenMessage<GetAlertSettingsRequest>;
|
|
416
|
+
/**
|
|
417
|
+
* @generated from message slipway.v1.GetAlertSettingsResponse
|
|
418
|
+
*/
|
|
419
|
+
export type GetAlertSettingsResponse = Message<"slipway.v1.GetAlertSettingsResponse"> & {
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: slipway.v1.AlertSettings settings = 1;
|
|
422
|
+
*/
|
|
423
|
+
settings?: AlertSettings | undefined;
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* Describes the message slipway.v1.GetAlertSettingsResponse.
|
|
427
|
+
* Use `create(GetAlertSettingsResponseSchema)` to create a new message.
|
|
428
|
+
*/
|
|
429
|
+
export declare const GetAlertSettingsResponseSchema: GenMessage<GetAlertSettingsResponse>;
|
|
430
|
+
/**
|
|
431
|
+
* @generated from message slipway.v1.UpdateAlertSettingsRequest
|
|
432
|
+
*/
|
|
433
|
+
export type UpdateAlertSettingsRequest = Message<"slipway.v1.UpdateAlertSettingsRequest"> & {
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: slipway.v1.AlertSettings settings = 1;
|
|
436
|
+
*/
|
|
437
|
+
settings?: AlertSettings | undefined;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* Describes the message slipway.v1.UpdateAlertSettingsRequest.
|
|
441
|
+
* Use `create(UpdateAlertSettingsRequestSchema)` to create a new message.
|
|
442
|
+
*/
|
|
443
|
+
export declare const UpdateAlertSettingsRequestSchema: GenMessage<UpdateAlertSettingsRequest>;
|
|
444
|
+
/**
|
|
445
|
+
* @generated from message slipway.v1.UpdateAlertSettingsResponse
|
|
446
|
+
*/
|
|
447
|
+
export type UpdateAlertSettingsResponse = Message<"slipway.v1.UpdateAlertSettingsResponse"> & {
|
|
448
|
+
/**
|
|
449
|
+
* @generated from field: slipway.v1.AlertSettings settings = 1;
|
|
450
|
+
*/
|
|
451
|
+
settings?: AlertSettings | undefined;
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* Describes the message slipway.v1.UpdateAlertSettingsResponse.
|
|
455
|
+
* Use `create(UpdateAlertSettingsResponseSchema)` to create a new message.
|
|
456
|
+
*/
|
|
457
|
+
export declare const UpdateAlertSettingsResponseSchema: GenMessage<UpdateAlertSettingsResponse>;
|
|
458
|
+
/**
|
|
459
|
+
* @generated from message slipway.v1.UsageAlert
|
|
460
|
+
*/
|
|
461
|
+
export type UsageAlert = Message<"slipway.v1.UsageAlert"> & {
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: string meter = 1;
|
|
464
|
+
*/
|
|
465
|
+
meter: string;
|
|
466
|
+
/**
|
|
467
|
+
* a configured threshold, 80 or 100 by default
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: int32 threshold = 2;
|
|
470
|
+
*/
|
|
471
|
+
threshold: number;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: int64 usage = 3;
|
|
474
|
+
*/
|
|
475
|
+
usage: bigint;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: int64 limit = 4;
|
|
478
|
+
*/
|
|
479
|
+
limit: bigint;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: google.protobuf.Timestamp fired_at = 5;
|
|
482
|
+
*/
|
|
483
|
+
firedAt?: Timestamp | undefined;
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message slipway.v1.UsageAlert.
|
|
487
|
+
* Use `create(UsageAlertSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const UsageAlertSchema: GenMessage<UsageAlert>;
|
|
490
|
+
/**
|
|
491
|
+
* @generated from message slipway.v1.BillingInvoice
|
|
492
|
+
*/
|
|
493
|
+
export type BillingInvoice = Message<"slipway.v1.BillingInvoice"> & {
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: string id = 1;
|
|
496
|
+
*/
|
|
497
|
+
id: string;
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: string number = 2;
|
|
500
|
+
*/
|
|
501
|
+
number: string;
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: string status = 3;
|
|
504
|
+
*/
|
|
505
|
+
status: string;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string currency = 4;
|
|
508
|
+
*/
|
|
509
|
+
currency: string;
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: int64 amount_due = 5;
|
|
512
|
+
*/
|
|
513
|
+
amountDue: bigint;
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: int64 amount_paid = 6;
|
|
516
|
+
*/
|
|
517
|
+
amountPaid: bigint;
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: int64 total = 7;
|
|
520
|
+
*/
|
|
521
|
+
total: bigint;
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: string hosted_invoice_url = 8;
|
|
524
|
+
*/
|
|
525
|
+
hostedInvoiceUrl: string;
|
|
526
|
+
/**
|
|
527
|
+
* @generated from field: string invoice_pdf = 9;
|
|
528
|
+
*/
|
|
529
|
+
invoicePdf: string;
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: google.protobuf.Timestamp period_start = 10;
|
|
532
|
+
*/
|
|
533
|
+
periodStart?: Timestamp | undefined;
|
|
534
|
+
/**
|
|
535
|
+
* @generated from field: google.protobuf.Timestamp period_end = 11;
|
|
536
|
+
*/
|
|
537
|
+
periodEnd?: Timestamp | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* @generated from field: google.protobuf.Timestamp issued_at = 12;
|
|
540
|
+
*/
|
|
541
|
+
issuedAt?: Timestamp | undefined;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Describes the message slipway.v1.BillingInvoice.
|
|
545
|
+
* Use `create(BillingInvoiceSchema)` to create a new message.
|
|
546
|
+
*/
|
|
547
|
+
export declare const BillingInvoiceSchema: GenMessage<BillingInvoice>;
|
|
548
|
+
/**
|
|
549
|
+
* @generated from message slipway.v1.GetPlanRequest
|
|
550
|
+
*/
|
|
551
|
+
export type GetPlanRequest = Message<"slipway.v1.GetPlanRequest"> & {
|
|
552
|
+
/**
|
|
553
|
+
* empty = the caller's current plan with overrides applied
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: string plan_id = 1;
|
|
556
|
+
*/
|
|
557
|
+
planId: string;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Describes the message slipway.v1.GetPlanRequest.
|
|
561
|
+
* Use `create(GetPlanRequestSchema)` to create a new message.
|
|
562
|
+
*/
|
|
563
|
+
export declare const GetPlanRequestSchema: GenMessage<GetPlanRequest>;
|
|
564
|
+
/**
|
|
565
|
+
* @generated from message slipway.v1.GetPlanResponse
|
|
566
|
+
*/
|
|
567
|
+
export type GetPlanResponse = Message<"slipway.v1.GetPlanResponse"> & {
|
|
568
|
+
/**
|
|
569
|
+
* @generated from field: slipway.v1.Plan plan = 1;
|
|
570
|
+
*/
|
|
571
|
+
plan?: Plan | undefined;
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* Describes the message slipway.v1.GetPlanResponse.
|
|
575
|
+
* Use `create(GetPlanResponseSchema)` to create a new message.
|
|
576
|
+
*/
|
|
577
|
+
export declare const GetPlanResponseSchema: GenMessage<GetPlanResponse>;
|
|
578
|
+
/**
|
|
579
|
+
* @generated from message slipway.v1.ListPlansRequest
|
|
580
|
+
*/
|
|
581
|
+
export type ListPlansRequest = Message<"slipway.v1.ListPlansRequest"> & {};
|
|
582
|
+
/**
|
|
583
|
+
* Describes the message slipway.v1.ListPlansRequest.
|
|
584
|
+
* Use `create(ListPlansRequestSchema)` to create a new message.
|
|
585
|
+
*/
|
|
586
|
+
export declare const ListPlansRequestSchema: GenMessage<ListPlansRequest>;
|
|
587
|
+
/**
|
|
588
|
+
* @generated from message slipway.v1.ListPlansResponse
|
|
589
|
+
*/
|
|
590
|
+
export type ListPlansResponse = Message<"slipway.v1.ListPlansResponse"> & {
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: repeated slipway.v1.Plan plans = 1;
|
|
593
|
+
*/
|
|
594
|
+
plans: Plan[];
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: string current_plan_id = 2;
|
|
597
|
+
*/
|
|
598
|
+
currentPlanId: string;
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* Describes the message slipway.v1.ListPlansResponse.
|
|
602
|
+
* Use `create(ListPlansResponseSchema)` to create a new message.
|
|
603
|
+
*/
|
|
604
|
+
export declare const ListPlansResponseSchema: GenMessage<ListPlansResponse>;
|
|
605
|
+
/**
|
|
606
|
+
* @generated from message slipway.v1.GetUsageRequest
|
|
607
|
+
*/
|
|
608
|
+
export type GetUsageRequest = Message<"slipway.v1.GetUsageRequest"> & {
|
|
609
|
+
/**
|
|
610
|
+
* 0 = current period only; max 24
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: int32 history_months = 1;
|
|
613
|
+
*/
|
|
614
|
+
historyMonths: number;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* Describes the message slipway.v1.GetUsageRequest.
|
|
618
|
+
* Use `create(GetUsageRequestSchema)` to create a new message.
|
|
619
|
+
*/
|
|
620
|
+
export declare const GetUsageRequestSchema: GenMessage<GetUsageRequest>;
|
|
621
|
+
/**
|
|
622
|
+
* @generated from message slipway.v1.GetUsageResponse
|
|
623
|
+
*/
|
|
624
|
+
export type GetUsageResponse = Message<"slipway.v1.GetUsageResponse"> & {
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: string plan_id = 1;
|
|
627
|
+
*/
|
|
628
|
+
planId: string;
|
|
629
|
+
/**
|
|
630
|
+
* @generated from field: slipway.v1.UsagePeriod current = 2;
|
|
631
|
+
*/
|
|
632
|
+
current?: UsagePeriod | undefined;
|
|
633
|
+
/**
|
|
634
|
+
* most recent first, excludes current
|
|
635
|
+
*
|
|
636
|
+
* @generated from field: repeated slipway.v1.UsagePeriod history = 3;
|
|
637
|
+
*/
|
|
638
|
+
history: UsagePeriod[];
|
|
639
|
+
/**
|
|
640
|
+
* alerts fired in the current period
|
|
641
|
+
*
|
|
642
|
+
* @generated from field: repeated slipway.v1.UsageAlert alerts = 4;
|
|
643
|
+
*/
|
|
644
|
+
alerts: UsageAlert[];
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message slipway.v1.GetUsageResponse.
|
|
648
|
+
* Use `create(GetUsageResponseSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export declare const GetUsageResponseSchema: GenMessage<GetUsageResponse>;
|
|
651
|
+
/**
|
|
652
|
+
* @generated from message slipway.v1.CreateCheckoutSessionRequest
|
|
653
|
+
*/
|
|
654
|
+
export type CreateCheckoutSessionRequest = Message<"slipway.v1.CreateCheckoutSessionRequest"> & {
|
|
655
|
+
/**
|
|
656
|
+
* team | business
|
|
657
|
+
*
|
|
658
|
+
* @generated from field: string plan_id = 1;
|
|
659
|
+
*/
|
|
660
|
+
planId: string;
|
|
661
|
+
/**
|
|
662
|
+
* honoured only for plans with a trial and when the org has not used it
|
|
663
|
+
*
|
|
664
|
+
* @generated from field: bool start_trial = 2;
|
|
665
|
+
*/
|
|
666
|
+
startTrial: boolean;
|
|
667
|
+
/**
|
|
668
|
+
* optional app-relative path (must start with "/"); defaults to /settings/billing
|
|
669
|
+
*
|
|
670
|
+
* @generated from field: string return_path = 3;
|
|
671
|
+
*/
|
|
672
|
+
returnPath: string;
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* Describes the message slipway.v1.CreateCheckoutSessionRequest.
|
|
676
|
+
* Use `create(CreateCheckoutSessionRequestSchema)` to create a new message.
|
|
677
|
+
*/
|
|
678
|
+
export declare const CreateCheckoutSessionRequestSchema: GenMessage<CreateCheckoutSessionRequest>;
|
|
679
|
+
/**
|
|
680
|
+
* @generated from message slipway.v1.CreateCheckoutSessionResponse
|
|
681
|
+
*/
|
|
682
|
+
export type CreateCheckoutSessionResponse = Message<"slipway.v1.CreateCheckoutSessionResponse"> & {
|
|
683
|
+
/**
|
|
684
|
+
* @generated from field: string url = 1;
|
|
685
|
+
*/
|
|
686
|
+
url: string;
|
|
687
|
+
/**
|
|
688
|
+
* @generated from field: string session_id = 2;
|
|
689
|
+
*/
|
|
690
|
+
sessionId: string;
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* Describes the message slipway.v1.CreateCheckoutSessionResponse.
|
|
694
|
+
* Use `create(CreateCheckoutSessionResponseSchema)` to create a new message.
|
|
695
|
+
*/
|
|
696
|
+
export declare const CreateCheckoutSessionResponseSchema: GenMessage<CreateCheckoutSessionResponse>;
|
|
697
|
+
/**
|
|
698
|
+
* @generated from message slipway.v1.CreatePortalSessionRequest
|
|
699
|
+
*/
|
|
700
|
+
export type CreatePortalSessionRequest = Message<"slipway.v1.CreatePortalSessionRequest"> & {
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: string return_path = 1;
|
|
703
|
+
*/
|
|
704
|
+
returnPath: string;
|
|
705
|
+
};
|
|
706
|
+
/**
|
|
707
|
+
* Describes the message slipway.v1.CreatePortalSessionRequest.
|
|
708
|
+
* Use `create(CreatePortalSessionRequestSchema)` to create a new message.
|
|
709
|
+
*/
|
|
710
|
+
export declare const CreatePortalSessionRequestSchema: GenMessage<CreatePortalSessionRequest>;
|
|
711
|
+
/**
|
|
712
|
+
* @generated from message slipway.v1.CreatePortalSessionResponse
|
|
713
|
+
*/
|
|
714
|
+
export type CreatePortalSessionResponse = Message<"slipway.v1.CreatePortalSessionResponse"> & {
|
|
715
|
+
/**
|
|
716
|
+
* @generated from field: string url = 1;
|
|
717
|
+
*/
|
|
718
|
+
url: string;
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* Describes the message slipway.v1.CreatePortalSessionResponse.
|
|
722
|
+
* Use `create(CreatePortalSessionResponseSchema)` to create a new message.
|
|
723
|
+
*/
|
|
724
|
+
export declare const CreatePortalSessionResponseSchema: GenMessage<CreatePortalSessionResponse>;
|
|
725
|
+
/**
|
|
726
|
+
* @generated from message slipway.v1.GetSubscriptionRequest
|
|
727
|
+
*/
|
|
728
|
+
export type GetSubscriptionRequest = Message<"slipway.v1.GetSubscriptionRequest"> & {};
|
|
729
|
+
/**
|
|
730
|
+
* Describes the message slipway.v1.GetSubscriptionRequest.
|
|
731
|
+
* Use `create(GetSubscriptionRequestSchema)` to create a new message.
|
|
732
|
+
*/
|
|
733
|
+
export declare const GetSubscriptionRequestSchema: GenMessage<GetSubscriptionRequest>;
|
|
734
|
+
/**
|
|
735
|
+
* @generated from message slipway.v1.GetSubscriptionResponse
|
|
736
|
+
*/
|
|
737
|
+
export type GetSubscriptionResponse = Message<"slipway.v1.GetSubscriptionResponse"> & {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: slipway.v1.BillingSubscription subscription = 1;
|
|
740
|
+
*/
|
|
741
|
+
subscription?: BillingSubscription | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* effective plan
|
|
744
|
+
*
|
|
745
|
+
* @generated from field: slipway.v1.Plan plan = 2;
|
|
746
|
+
*/
|
|
747
|
+
plan?: Plan | undefined;
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* Describes the message slipway.v1.GetSubscriptionResponse.
|
|
751
|
+
* Use `create(GetSubscriptionResponseSchema)` to create a new message.
|
|
752
|
+
*/
|
|
753
|
+
export declare const GetSubscriptionResponseSchema: GenMessage<GetSubscriptionResponse>;
|
|
754
|
+
/**
|
|
755
|
+
* @generated from message slipway.v1.ListInvoicesRequest
|
|
756
|
+
*/
|
|
757
|
+
export type ListInvoicesRequest = Message<"slipway.v1.ListInvoicesRequest"> & {
|
|
758
|
+
/**
|
|
759
|
+
* @generated from field: int32 page_size = 1;
|
|
760
|
+
*/
|
|
761
|
+
pageSize: number;
|
|
762
|
+
/**
|
|
763
|
+
* @generated from field: string page_token = 2;
|
|
764
|
+
*/
|
|
765
|
+
pageToken: string;
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
* Describes the message slipway.v1.ListInvoicesRequest.
|
|
769
|
+
* Use `create(ListInvoicesRequestSchema)` to create a new message.
|
|
770
|
+
*/
|
|
771
|
+
export declare const ListInvoicesRequestSchema: GenMessage<ListInvoicesRequest>;
|
|
772
|
+
/**
|
|
773
|
+
* @generated from message slipway.v1.ListInvoicesResponse
|
|
774
|
+
*/
|
|
775
|
+
export type ListInvoicesResponse = Message<"slipway.v1.ListInvoicesResponse"> & {
|
|
776
|
+
/**
|
|
777
|
+
* @generated from field: repeated slipway.v1.BillingInvoice items = 1;
|
|
778
|
+
*/
|
|
779
|
+
items: BillingInvoice[];
|
|
780
|
+
/**
|
|
781
|
+
* @generated from field: string next_page_token = 2;
|
|
782
|
+
*/
|
|
783
|
+
nextPageToken: string;
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* Describes the message slipway.v1.ListInvoicesResponse.
|
|
787
|
+
* Use `create(ListInvoicesResponseSchema)` to create a new message.
|
|
788
|
+
*/
|
|
789
|
+
export declare const ListInvoicesResponseSchema: GenMessage<ListInvoicesResponse>;
|
|
790
|
+
/**
|
|
791
|
+
* SetPlanRequest is an instance-admin operation (enterprise contracts, comps, support overrides).
|
|
792
|
+
*
|
|
793
|
+
* @generated from message slipway.v1.SetPlanRequest
|
|
794
|
+
*/
|
|
795
|
+
export type SetPlanRequest = Message<"slipway.v1.SetPlanRequest"> & {
|
|
796
|
+
/**
|
|
797
|
+
* @generated from field: string org_id = 1;
|
|
798
|
+
*/
|
|
799
|
+
orgId: string;
|
|
800
|
+
/**
|
|
801
|
+
* @generated from field: string plan_id = 2;
|
|
802
|
+
*/
|
|
803
|
+
planId: string;
|
|
804
|
+
/**
|
|
805
|
+
* @generated from field: string reason = 3;
|
|
806
|
+
*/
|
|
807
|
+
reason: string;
|
|
808
|
+
/**
|
|
809
|
+
* Optional negotiated overrides; unset fields keep the catalogue value. Only meaningful for enterprise.
|
|
810
|
+
*
|
|
811
|
+
* @generated from field: optional int64 hosted_minutes_included = 4;
|
|
812
|
+
*/
|
|
813
|
+
hostedMinutesIncluded?: bigint | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: optional int64 hosted_overage_micros_per_minute = 5;
|
|
816
|
+
*/
|
|
817
|
+
hostedOverageMicrosPerMinute?: bigint | undefined;
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: optional int64 concurrent_jobs_hosted = 6;
|
|
820
|
+
*/
|
|
821
|
+
concurrentJobsHosted?: bigint | undefined;
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: optional int64 concurrent_jobs_self_hosted = 7;
|
|
824
|
+
*/
|
|
825
|
+
concurrentJobsSelfHosted?: bigint | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: optional int64 log_retention_days = 8;
|
|
828
|
+
*/
|
|
829
|
+
logRetentionDays?: bigint | undefined;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: optional int64 artifact_retention_days = 9;
|
|
832
|
+
*/
|
|
833
|
+
artifactRetentionDays?: bigint | undefined;
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: optional int64 audit_retention_days = 10;
|
|
836
|
+
*/
|
|
837
|
+
auditRetentionDays?: bigint | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* spend guard; unset = no cap
|
|
840
|
+
*
|
|
841
|
+
* @generated from field: optional int64 hosted_overage_cap_minutes = 11;
|
|
842
|
+
*/
|
|
843
|
+
hostedOverageCapMinutes?: bigint | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* @generated from field: bool clear_overrides = 12;
|
|
846
|
+
*/
|
|
847
|
+
clearOverrides: boolean;
|
|
848
|
+
/**
|
|
849
|
+
* @generated from field: optional int64 hosted_job_timeout_minutes = 13;
|
|
850
|
+
*/
|
|
851
|
+
hostedJobTimeoutMinutes?: bigint | undefined;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* Describes the message slipway.v1.SetPlanRequest.
|
|
855
|
+
* Use `create(SetPlanRequestSchema)` to create a new message.
|
|
856
|
+
*/
|
|
857
|
+
export declare const SetPlanRequestSchema: GenMessage<SetPlanRequest>;
|
|
858
|
+
/**
|
|
859
|
+
* @generated from message slipway.v1.SetPlanResponse
|
|
860
|
+
*/
|
|
861
|
+
export type SetPlanResponse = Message<"slipway.v1.SetPlanResponse"> & {
|
|
862
|
+
/**
|
|
863
|
+
* @generated from field: slipway.v1.BillingSubscription subscription = 1;
|
|
864
|
+
*/
|
|
865
|
+
subscription?: BillingSubscription | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* @generated from field: slipway.v1.Plan plan = 2;
|
|
868
|
+
*/
|
|
869
|
+
plan?: Plan | undefined;
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* Describes the message slipway.v1.SetPlanResponse.
|
|
873
|
+
* Use `create(SetPlanResponseSchema)` to create a new message.
|
|
874
|
+
*/
|
|
875
|
+
export declare const SetPlanResponseSchema: GenMessage<SetPlanResponse>;
|
|
876
|
+
/**
|
|
877
|
+
* @generated from service slipway.v1.BillingService
|
|
878
|
+
*/
|
|
879
|
+
export declare const BillingService: GenService<{
|
|
880
|
+
/**
|
|
881
|
+
* @generated from rpc slipway.v1.BillingService.GetPlan
|
|
882
|
+
*/
|
|
883
|
+
getPlan: {
|
|
884
|
+
methodKind: "unary";
|
|
885
|
+
input: typeof GetPlanRequestSchema;
|
|
886
|
+
output: typeof GetPlanResponseSchema;
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* @generated from rpc slipway.v1.BillingService.ListPlans
|
|
890
|
+
*/
|
|
891
|
+
listPlans: {
|
|
892
|
+
methodKind: "unary";
|
|
893
|
+
input: typeof ListPlansRequestSchema;
|
|
894
|
+
output: typeof ListPlansResponseSchema;
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* @generated from rpc slipway.v1.BillingService.GetUsage
|
|
898
|
+
*/
|
|
899
|
+
getUsage: {
|
|
900
|
+
methodKind: "unary";
|
|
901
|
+
input: typeof GetUsageRequestSchema;
|
|
902
|
+
output: typeof GetUsageResponseSchema;
|
|
903
|
+
};
|
|
904
|
+
/**
|
|
905
|
+
* @generated from rpc slipway.v1.BillingService.CreateCheckoutSession
|
|
906
|
+
*/
|
|
907
|
+
createCheckoutSession: {
|
|
908
|
+
methodKind: "unary";
|
|
909
|
+
input: typeof CreateCheckoutSessionRequestSchema;
|
|
910
|
+
output: typeof CreateCheckoutSessionResponseSchema;
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* @generated from rpc slipway.v1.BillingService.CreatePortalSession
|
|
914
|
+
*/
|
|
915
|
+
createPortalSession: {
|
|
916
|
+
methodKind: "unary";
|
|
917
|
+
input: typeof CreatePortalSessionRequestSchema;
|
|
918
|
+
output: typeof CreatePortalSessionResponseSchema;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* @generated from rpc slipway.v1.BillingService.GetSubscription
|
|
922
|
+
*/
|
|
923
|
+
getSubscription: {
|
|
924
|
+
methodKind: "unary";
|
|
925
|
+
input: typeof GetSubscriptionRequestSchema;
|
|
926
|
+
output: typeof GetSubscriptionResponseSchema;
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* @generated from rpc slipway.v1.BillingService.ListInvoices
|
|
930
|
+
*/
|
|
931
|
+
listInvoices: {
|
|
932
|
+
methodKind: "unary";
|
|
933
|
+
input: typeof ListInvoicesRequestSchema;
|
|
934
|
+
output: typeof ListInvoicesResponseSchema;
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* @generated from rpc slipway.v1.BillingService.SetPlan
|
|
938
|
+
*/
|
|
939
|
+
setPlan: {
|
|
940
|
+
methodKind: "unary";
|
|
941
|
+
input: typeof SetPlanRequestSchema;
|
|
942
|
+
output: typeof SetPlanResponseSchema;
|
|
943
|
+
};
|
|
944
|
+
/**
|
|
945
|
+
* @generated from rpc slipway.v1.BillingService.GetAlertSettings
|
|
946
|
+
*/
|
|
947
|
+
getAlertSettings: {
|
|
948
|
+
methodKind: "unary";
|
|
949
|
+
input: typeof GetAlertSettingsRequestSchema;
|
|
950
|
+
output: typeof GetAlertSettingsResponseSchema;
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* @generated from rpc slipway.v1.BillingService.UpdateAlertSettings
|
|
954
|
+
*/
|
|
955
|
+
updateAlertSettings: {
|
|
956
|
+
methodKind: "unary";
|
|
957
|
+
input: typeof UpdateAlertSettingsRequestSchema;
|
|
958
|
+
output: typeof UpdateAlertSettingsResponseSchema;
|
|
959
|
+
};
|
|
960
|
+
}>;
|