@bpinternal/const 0.6.0 → 0.7.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/billing-addons.d.ts +4 -2
- package/dist/billing-addons.js +4 -2
- package/dist/schema.d.ts +13 -0
- package/dist/schema.js +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/billing-addons.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare const billingAddonsDefs: {
|
|
|
88
88
|
readonly name: "Web Search and Crawl";
|
|
89
89
|
readonly description: "Web search and crawl functionality";
|
|
90
90
|
readonly prices: [{
|
|
91
|
-
readonly price:
|
|
91
|
+
readonly price: 10;
|
|
92
92
|
readonly currency: "usd";
|
|
93
93
|
readonly interval: "month";
|
|
94
94
|
}];
|
|
@@ -100,7 +100,7 @@ export declare const billingAddonsDefs: {
|
|
|
100
100
|
readonly name: "AI Tokens";
|
|
101
101
|
readonly description: "Add $25 worth of AI credits";
|
|
102
102
|
readonly prices: [{
|
|
103
|
-
readonly price:
|
|
103
|
+
readonly price: 25;
|
|
104
104
|
readonly currency: "usd";
|
|
105
105
|
readonly interval: "month";
|
|
106
106
|
}];
|
|
@@ -118,6 +118,7 @@ export declare const billingAddonsDefs: {
|
|
|
118
118
|
}];
|
|
119
119
|
readonly feature: "integration_spend";
|
|
120
120
|
readonly increment: 100000000000;
|
|
121
|
+
readonly hidden: true;
|
|
121
122
|
};
|
|
122
123
|
readonly enterprise_additional_workspace: {
|
|
123
124
|
readonly id: "enterprise_additional_workspace";
|
|
@@ -130,5 +131,6 @@ export declare const billingAddonsDefs: {
|
|
|
130
131
|
}];
|
|
131
132
|
readonly feature: "collaborator_count";
|
|
132
133
|
readonly increment: 10;
|
|
134
|
+
readonly hidden: true;
|
|
133
135
|
};
|
|
134
136
|
};
|
package/dist/billing-addons.js
CHANGED
|
@@ -108,7 +108,7 @@ exports.billingAddonsDefs = {
|
|
|
108
108
|
description: 'Web search and crawl functionality',
|
|
109
109
|
prices: [
|
|
110
110
|
{
|
|
111
|
-
price:
|
|
111
|
+
price: 10,
|
|
112
112
|
currency: 'usd',
|
|
113
113
|
interval: 'month',
|
|
114
114
|
},
|
|
@@ -122,7 +122,7 @@ exports.billingAddonsDefs = {
|
|
|
122
122
|
description: 'Add $25 worth of AI credits',
|
|
123
123
|
prices: [
|
|
124
124
|
{
|
|
125
|
-
price:
|
|
125
|
+
price: 25,
|
|
126
126
|
currency: 'usd',
|
|
127
127
|
interval: 'month',
|
|
128
128
|
},
|
|
@@ -143,6 +143,7 @@ exports.billingAddonsDefs = {
|
|
|
143
143
|
],
|
|
144
144
|
feature: 'integration_spend',
|
|
145
145
|
increment: 100_000_000_000, // $100 in nano-dollars
|
|
146
|
+
hidden: true,
|
|
146
147
|
},
|
|
147
148
|
enterprise_additional_workspace: {
|
|
148
149
|
id: 'enterprise_additional_workspace',
|
|
@@ -157,5 +158,6 @@ exports.billingAddonsDefs = {
|
|
|
157
158
|
],
|
|
158
159
|
feature: 'collaborator_count',
|
|
159
160
|
increment: 10,
|
|
161
|
+
hidden: true,
|
|
160
162
|
},
|
|
161
163
|
};
|
package/dist/schema.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ export declare const addOnSchema: z.ZodObject<{
|
|
|
132
132
|
prorationDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
133
133
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
134
134
|
autoRechargeable: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
135
136
|
}, "strip", z.ZodTypeAny, {
|
|
136
137
|
id: string;
|
|
137
138
|
name: string;
|
|
@@ -149,6 +150,7 @@ export declare const addOnSchema: z.ZodObject<{
|
|
|
149
150
|
metadata?: Record<string, string> | undefined;
|
|
150
151
|
prorationDisabled?: boolean | undefined;
|
|
151
152
|
autoRechargeable?: boolean | undefined;
|
|
153
|
+
hidden?: boolean | undefined;
|
|
152
154
|
}, {
|
|
153
155
|
id: string;
|
|
154
156
|
name: string;
|
|
@@ -166,6 +168,7 @@ export declare const addOnSchema: z.ZodObject<{
|
|
|
166
168
|
metadata?: Record<string, string> | undefined;
|
|
167
169
|
prorationDisabled?: boolean | undefined;
|
|
168
170
|
autoRechargeable?: boolean | undefined;
|
|
171
|
+
hidden?: boolean | undefined;
|
|
169
172
|
}>;
|
|
170
173
|
export declare const meterSchema: z.ZodObject<{
|
|
171
174
|
id: z.ZodString;
|
|
@@ -318,6 +321,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
318
321
|
prorationDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
319
322
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
320
323
|
autoRechargeable: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
321
325
|
}, "strip", z.ZodTypeAny, {
|
|
322
326
|
id: string;
|
|
323
327
|
name: string;
|
|
@@ -335,6 +339,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
335
339
|
metadata?: Record<string, string> | undefined;
|
|
336
340
|
prorationDisabled?: boolean | undefined;
|
|
337
341
|
autoRechargeable?: boolean | undefined;
|
|
342
|
+
hidden?: boolean | undefined;
|
|
338
343
|
}, {
|
|
339
344
|
id: string;
|
|
340
345
|
name: string;
|
|
@@ -352,6 +357,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
352
357
|
metadata?: Record<string, string> | undefined;
|
|
353
358
|
prorationDisabled?: boolean | undefined;
|
|
354
359
|
autoRechargeable?: boolean | undefined;
|
|
360
|
+
hidden?: boolean | undefined;
|
|
355
361
|
}>>;
|
|
356
362
|
meters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
357
363
|
id: z.ZodString;
|
|
@@ -452,6 +458,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
452
458
|
metadata?: Record<string, string> | undefined;
|
|
453
459
|
prorationDisabled?: boolean | undefined;
|
|
454
460
|
autoRechargeable?: boolean | undefined;
|
|
461
|
+
hidden?: boolean | undefined;
|
|
455
462
|
}>;
|
|
456
463
|
meters: Record<string, {
|
|
457
464
|
id: string;
|
|
@@ -508,6 +515,7 @@ export declare const billingVersionConfigSchema: z.ZodObject<{
|
|
|
508
515
|
metadata?: Record<string, string> | undefined;
|
|
509
516
|
prorationDisabled?: boolean | undefined;
|
|
510
517
|
autoRechargeable?: boolean | undefined;
|
|
518
|
+
hidden?: boolean | undefined;
|
|
511
519
|
}>;
|
|
512
520
|
meters: Record<string, {
|
|
513
521
|
id: string;
|
|
@@ -619,6 +627,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
|
|
|
619
627
|
prorationDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
620
628
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
621
629
|
autoRechargeable: z.ZodOptional<z.ZodBoolean>;
|
|
630
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
622
631
|
}, "strip", z.ZodTypeAny, {
|
|
623
632
|
id: string;
|
|
624
633
|
name: string;
|
|
@@ -636,6 +645,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
|
|
|
636
645
|
metadata?: Record<string, string> | undefined;
|
|
637
646
|
prorationDisabled?: boolean | undefined;
|
|
638
647
|
autoRechargeable?: boolean | undefined;
|
|
648
|
+
hidden?: boolean | undefined;
|
|
639
649
|
}, {
|
|
640
650
|
id: string;
|
|
641
651
|
name: string;
|
|
@@ -653,6 +663,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
|
|
|
653
663
|
metadata?: Record<string, string> | undefined;
|
|
654
664
|
prorationDisabled?: boolean | undefined;
|
|
655
665
|
autoRechargeable?: boolean | undefined;
|
|
666
|
+
hidden?: boolean | undefined;
|
|
656
667
|
}>>;
|
|
657
668
|
meters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
658
669
|
id: z.ZodString;
|
|
@@ -753,6 +764,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
|
|
|
753
764
|
metadata?: Record<string, string> | undefined;
|
|
754
765
|
prorationDisabled?: boolean | undefined;
|
|
755
766
|
autoRechargeable?: boolean | undefined;
|
|
767
|
+
hidden?: boolean | undefined;
|
|
756
768
|
}>;
|
|
757
769
|
meters: Record<string, {
|
|
758
770
|
id: string;
|
|
@@ -809,6 +821,7 @@ export declare const billingConfigSchema: z.ZodRecord<z.ZodEnum<["v4"]>, z.ZodOb
|
|
|
809
821
|
metadata?: Record<string, string> | undefined;
|
|
810
822
|
prorationDisabled?: boolean | undefined;
|
|
811
823
|
autoRechargeable?: boolean | undefined;
|
|
824
|
+
hidden?: boolean | undefined;
|
|
812
825
|
}>;
|
|
813
826
|
meters: Record<string, {
|
|
814
827
|
id: string;
|
package/dist/schema.js
CHANGED
|
@@ -45,6 +45,7 @@ exports.addOnSchema = zod_1.z.object({
|
|
|
45
45
|
prorationDisabled: zod_1.z.boolean().optional(),
|
|
46
46
|
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
|
|
47
47
|
autoRechargeable: zod_1.z.boolean().optional(),
|
|
48
|
+
hidden: zod_1.z.boolean().optional(),
|
|
48
49
|
});
|
|
49
50
|
exports.meterSchema = zod_1.z.object({
|
|
50
51
|
id: zod_1.z.string(),
|
package/dist/types.d.ts
CHANGED