@opengeni/contracts 3.2.2 → 3.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/dist/atlassian.js +1 -1
- package/dist/billing-subscriptions.d.ts +59 -0
- package/dist/{chunk-B2G6NXLZ.js → chunk-J6VQQPIL.js} +6445 -6257
- package/dist/chunk-J6VQQPIL.js.map +1 -0
- package/dist/{chunk-KLG2MBAU.js → chunk-KA6B6I6O.js} +2 -2
- package/dist/connect.js +1 -1
- package/dist/connection-authority.js +2 -2
- package/dist/google-drive.js +1 -1
- package/dist/host-mcp-bindings.js +2 -2
- package/dist/index.d.ts +28 -0
- package/dist/index.js +29 -1
- package/dist/insights-usage.d.ts +57 -0
- package/dist/insights-usage.js +30 -0
- package/dist/insights-usage.js.map +1 -1
- package/dist/interaction.d.ts +270 -0
- package/dist/personal-github.js +1 -1
- package/dist/subscription-plans.d.ts +35 -0
- package/package.json +1 -1
- package/src/billing-subscriptions.ts +47 -0
- package/src/index.ts +19 -0
- package/src/insights-usage.ts +38 -0
- package/src/interaction.ts +142 -0
- package/src/subscription-plans.ts +43 -0
- package/dist/chunk-B2G6NXLZ.js.map +0 -1
- /package/dist/{chunk-KLG2MBAU.js.map → chunk-KA6B6I6O.js.map} +0 -0
package/dist/atlassian.js
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const BillingSubscriptionCatalog: z.ZodObject<{
|
|
3
|
+
accountId: z.ZodString;
|
|
4
|
+
revision: z.ZodNumber;
|
|
5
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
6
|
+
key: z.ZodString;
|
|
7
|
+
label: z.ZodString;
|
|
8
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
monthlyPriceMicros: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
monthlyCreditMicros: z.ZodNumber;
|
|
11
|
+
seatLimit: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
freeCredit: z.ZodBoolean;
|
|
13
|
+
selfService: z.ZodBoolean;
|
|
14
|
+
}, z.core.$strict>>;
|
|
15
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
key: z.ZodString;
|
|
17
|
+
label: z.ZodString;
|
|
18
|
+
status: z.ZodString;
|
|
19
|
+
creditGrantedMicros: z.ZodNumber;
|
|
20
|
+
creditRemainingMicros: z.ZodNumber;
|
|
21
|
+
creditPendingExpiryMicros: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
periodResetAt: z.ZodNullable<z.ZodString>;
|
|
23
|
+
seatLimit: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
seatsUsed: z.ZodNumber;
|
|
25
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export type BillingSubscriptionCatalog = z.infer<typeof BillingSubscriptionCatalog>;
|
|
29
|
+
export declare const CreateSubscriptionCheckoutRequest: z.ZodObject<{
|
|
30
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
planKey: z.ZodString;
|
|
32
|
+
idempotencyKey: z.ZodString;
|
|
33
|
+
successUrl: z.ZodOptional<z.ZodString>;
|
|
34
|
+
cancelUrl: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export type CreateSubscriptionCheckoutRequest = z.infer<typeof CreateSubscriptionCheckoutRequest>;
|
|
37
|
+
export declare const CreateSubscriptionCheckoutResponse: z.ZodObject<{
|
|
38
|
+
checkoutSessionId: z.ZodString;
|
|
39
|
+
url: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type CreateSubscriptionCheckoutResponse = z.infer<typeof CreateSubscriptionCheckoutResponse>;
|
|
42
|
+
export declare const ChangeBillingSubscriptionRequest: z.ZodObject<{
|
|
43
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
planKey: z.ZodString;
|
|
45
|
+
idempotencyKey: z.ZodString;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type ChangeBillingSubscriptionRequest = z.infer<typeof ChangeBillingSubscriptionRequest>;
|
|
48
|
+
export declare const CancelBillingSubscriptionRequest: z.ZodObject<{
|
|
49
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
50
|
+
idempotencyKey: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export type CancelBillingSubscriptionRequest = z.infer<typeof CancelBillingSubscriptionRequest>;
|
|
53
|
+
export declare const BillingSubscriptionChange: z.ZodObject<{
|
|
54
|
+
subscriptionId: z.ZodString;
|
|
55
|
+
planKey: z.ZodString;
|
|
56
|
+
effectiveAt: z.ZodString;
|
|
57
|
+
cancelAtPeriodEnd: z.ZodBoolean;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type BillingSubscriptionChange = z.infer<typeof BillingSubscriptionChange>;
|