@tinkerlandai/indiana-sdk 0.7.0 → 0.8.1
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 +13 -1
- package/README.md +73 -25
- package/README.zh-CN.md +77 -25
- package/dist/ai-usage-JoM7ZWk-.d.ts +247 -0
- package/dist/{ai-usage-BsrSG955.d.ts → api-JVC7x2FV.d.ts} +337 -386
- package/dist/chunk-3BQFJANQ.js +1 -0
- package/dist/chunk-56AYS7RS.js +1 -0
- package/dist/{chunk-6MO6Y24B.js → chunk-6HG7U6AU.js} +1 -1
- package/dist/chunk-AE4CUTUE.js +1 -0
- package/dist/chunk-AEUFCOFG.js +1 -0
- package/dist/chunk-F767CM3T.js +7 -0
- package/dist/chunk-KSNOXNTC.js +1 -0
- package/dist/{chunk-4AWSZWZD.js → chunk-USLZX2ZA.js} +1 -1
- package/dist/{chunk-YAFMBXIE.js → chunk-X747SY26.js} +1 -1
- package/dist/chunk-X7JJAEQQ.js +350 -0
- package/dist/chunk-YWFNWK7C.js +1 -0
- package/dist/{configuration-sync-Bvd956GL.d.ts → configuration-sync-BexM2qbg.d.ts} +17 -18
- package/dist/content-YNL2CRJZ.js +1 -0
- package/dist/{customer-page-B4LkIr5q.d.ts → customer-page-WUQVK_tp.d.ts} +276 -3
- package/dist/{funnel-runtime-start-ChVYbLzV.d.ts → funnel-local-client-D1Fe7CZ6.d.ts} +2507 -8137
- package/dist/funnel-runtime-host-CAMI6BJS.js +1 -0
- package/dist/index.d.ts +13578 -13442
- package/dist/index.js +1 -1
- package/dist/native-shell.js +1 -1
- package/dist/openrouter.d.ts +5 -3
- package/dist/openrouter.js +1 -1
- package/dist/page.d.ts +4 -4
- package/dist/page.js +1 -1
- package/dist/paywall-MXRMMF3R.js +1 -0
- package/dist/popup.d.ts +3 -271
- package/dist/popup.js +1 -350
- package/dist/react-native.d.ts +7 -7
- package/dist/react-native.js +1 -1
- package/dist/{screen-iFngkxaL.d.ts → screen-i6eHL11m.d.ts} +120 -117
- package/dist/screen-renderer-P7MLBHY5.js +1 -0
- package/dist/server.d.ts +4645 -8
- package/dist/server.js +1 -1
- package/dist/src-G7UQB3QE.js +1 -0
- package/dist/visual.d.ts +5 -2
- package/dist/visual.js +2 -2
- package/package.json +3 -9
- package/dist/chunk-3SONNXFG.js +0 -1
- package/dist/chunk-467Z5ISI.js +0 -11
- package/dist/chunk-4K25DELJ.js +0 -1
- package/dist/chunk-HD74AAFS.js +0 -1
- package/dist/chunk-J4RHVU3W.js +0 -1
- package/dist/chunk-NOFNOHUI.js +0 -1
- package/dist/chunk-QO4YQLZ4.js +0 -1
- package/dist/chunk-U6S6AZM6.js +0 -1
- package/dist/chunk-WCFVNF5D.js +0 -1
- package/dist/client-F6UPJMHR.js +0 -1
- package/dist/controls-XG46TKUU.js +0 -2
- package/dist/funnel-runtime-host-26QI2W3S.js +0 -1
- package/dist/iam.d.ts +0 -131
- package/dist/iam.js +0 -1
- package/dist/paywall-WKOHBYW7.js +0 -1
- package/dist/src-UHLPVD6E.js +0 -1
- /package/dist/{chunk-6X42DWOM.js → chunk-DSPLGTQI.js} +0 -0
- /package/dist/{chunk-S5TVMQRC.js → chunk-EXCPE2XH.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as StackNode } from './screen-i6eHL11m.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
|
|
@@ -623,7 +623,7 @@ declare const apiOperations: {
|
|
|
623
623
|
id: z$1.ZodString;
|
|
624
624
|
created_at: z$1.ZodNullable<z$1.ZodNumber>;
|
|
625
625
|
}, z$1.core.$strict>>;
|
|
626
|
-
nextCursor: z$1.ZodNullable<z$1.
|
|
626
|
+
nextCursor: z$1.ZodNullable<z$1.ZodUUID>;
|
|
627
627
|
}, z$1.core.$strict>;
|
|
628
628
|
}, z$1.core.$strict>;
|
|
629
629
|
};
|
|
@@ -975,12 +975,12 @@ declare const apiOperations: {
|
|
|
975
975
|
id: z$1.ZodUUID;
|
|
976
976
|
revision: z$1.ZodNumber;
|
|
977
977
|
include: z$1.ZodArray<z$1.ZodString>;
|
|
978
|
-
repo: z$1.ZodString;
|
|
979
978
|
platform: z$1.ZodEnum<{
|
|
980
979
|
github: "github";
|
|
981
980
|
gitlab: "gitlab";
|
|
982
981
|
bitbucket: "bitbucket";
|
|
983
982
|
}>;
|
|
983
|
+
repo: z$1.ZodString;
|
|
984
984
|
branches: z$1.ZodArray<z$1.ZodString>;
|
|
985
985
|
workflow: z$1.ZodString;
|
|
986
986
|
exclude: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -1588,9 +1588,9 @@ declare const apiOperations: {
|
|
|
1588
1588
|
interval: z$1.ZodEnum<{
|
|
1589
1589
|
week: "week";
|
|
1590
1590
|
month: "month";
|
|
1591
|
+
year: "year";
|
|
1591
1592
|
quarter: "quarter";
|
|
1592
1593
|
semi_annual: "semi_annual";
|
|
1593
|
-
year: "year";
|
|
1594
1594
|
minute: "minute";
|
|
1595
1595
|
hour: "hour";
|
|
1596
1596
|
day: "day";
|
|
@@ -1651,9 +1651,9 @@ declare const apiOperations: {
|
|
|
1651
1651
|
interval: z$1.ZodEnum<{
|
|
1652
1652
|
week: "week";
|
|
1653
1653
|
month: "month";
|
|
1654
|
+
year: "year";
|
|
1654
1655
|
quarter: "quarter";
|
|
1655
1656
|
semi_annual: "semi_annual";
|
|
1656
|
-
year: "year";
|
|
1657
1657
|
minute: "minute";
|
|
1658
1658
|
hour: "hour";
|
|
1659
1659
|
day: "day";
|
|
@@ -1705,9 +1705,9 @@ declare const apiOperations: {
|
|
|
1705
1705
|
interval: z$1.ZodEnum<{
|
|
1706
1706
|
week: "week";
|
|
1707
1707
|
month: "month";
|
|
1708
|
+
year: "year";
|
|
1708
1709
|
quarter: "quarter";
|
|
1709
1710
|
semi_annual: "semi_annual";
|
|
1710
|
-
year: "year";
|
|
1711
1711
|
minute: "minute";
|
|
1712
1712
|
hour: "hour";
|
|
1713
1713
|
day: "day";
|
|
@@ -1778,8 +1778,8 @@ declare const apiOperations: {
|
|
|
1778
1778
|
failed: "failed";
|
|
1779
1779
|
paid: "paid";
|
|
1780
1780
|
trialing: "trialing";
|
|
1781
|
-
cancelled: "cancelled";
|
|
1782
1781
|
created: "created";
|
|
1782
|
+
cancelled: "cancelled";
|
|
1783
1783
|
}>;
|
|
1784
1784
|
currency: z$1.ZodEnum<{
|
|
1785
1785
|
USD: "USD";
|
|
@@ -2065,8 +2065,8 @@ declare const apiOperations: {
|
|
|
2065
2065
|
batchId: z$1.ZodUUID;
|
|
2066
2066
|
ready: z$1.ZodBoolean;
|
|
2067
2067
|
status: z$1.ZodEnum<{
|
|
2068
|
-
expired: "expired";
|
|
2069
2068
|
pending: "pending";
|
|
2069
|
+
expired: "expired";
|
|
2070
2070
|
prepared: "prepared";
|
|
2071
2071
|
effective: "effective";
|
|
2072
2072
|
cancelled: "cancelled";
|
|
@@ -2092,9 +2092,9 @@ declare const apiOperations: {
|
|
|
2092
2092
|
renewal: "renewal";
|
|
2093
2093
|
}>;
|
|
2094
2094
|
status: z$1.ZodEnum<{
|
|
2095
|
-
scheduled: "scheduled";
|
|
2096
2095
|
pending: "pending";
|
|
2097
2096
|
failed: "failed";
|
|
2097
|
+
scheduled: "scheduled";
|
|
2098
2098
|
prepared: "prepared";
|
|
2099
2099
|
effective: "effective";
|
|
2100
2100
|
confirmed: "confirmed";
|
|
@@ -2164,15 +2164,15 @@ declare const apiOperations: {
|
|
|
2164
2164
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2165
2165
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2166
2166
|
executor: z$1.ZodEnum<{
|
|
2167
|
-
indiana: "indiana";
|
|
2168
2167
|
merchant: "merchant";
|
|
2168
|
+
indiana: "indiana";
|
|
2169
2169
|
}>;
|
|
2170
2170
|
accountId: z$1.ZodString;
|
|
2171
2171
|
subscriptionId: z$1.ZodString;
|
|
2172
2172
|
action: z$1.ZodEnum<{
|
|
2173
|
+
update: "update";
|
|
2173
2174
|
cancel: "cancel";
|
|
2174
2175
|
release: "release";
|
|
2175
|
-
update: "update";
|
|
2176
2176
|
schedule: "schedule";
|
|
2177
2177
|
}>;
|
|
2178
2178
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2266,8 +2266,8 @@ declare const apiOperations: {
|
|
|
2266
2266
|
batchId: z$1.ZodUUID;
|
|
2267
2267
|
ready: z$1.ZodBoolean;
|
|
2268
2268
|
status: z$1.ZodEnum<{
|
|
2269
|
-
expired: "expired";
|
|
2270
2269
|
pending: "pending";
|
|
2270
|
+
expired: "expired";
|
|
2271
2271
|
prepared: "prepared";
|
|
2272
2272
|
effective: "effective";
|
|
2273
2273
|
cancelled: "cancelled";
|
|
@@ -2293,9 +2293,9 @@ declare const apiOperations: {
|
|
|
2293
2293
|
renewal: "renewal";
|
|
2294
2294
|
}>;
|
|
2295
2295
|
status: z$1.ZodEnum<{
|
|
2296
|
-
scheduled: "scheduled";
|
|
2297
2296
|
pending: "pending";
|
|
2298
2297
|
failed: "failed";
|
|
2298
|
+
scheduled: "scheduled";
|
|
2299
2299
|
prepared: "prepared";
|
|
2300
2300
|
effective: "effective";
|
|
2301
2301
|
confirmed: "confirmed";
|
|
@@ -2365,15 +2365,15 @@ declare const apiOperations: {
|
|
|
2365
2365
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2366
2366
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2367
2367
|
executor: z$1.ZodEnum<{
|
|
2368
|
-
indiana: "indiana";
|
|
2369
2368
|
merchant: "merchant";
|
|
2369
|
+
indiana: "indiana";
|
|
2370
2370
|
}>;
|
|
2371
2371
|
accountId: z$1.ZodString;
|
|
2372
2372
|
subscriptionId: z$1.ZodString;
|
|
2373
2373
|
action: z$1.ZodEnum<{
|
|
2374
|
+
update: "update";
|
|
2374
2375
|
cancel: "cancel";
|
|
2375
2376
|
release: "release";
|
|
2376
|
-
update: "update";
|
|
2377
2377
|
schedule: "schedule";
|
|
2378
2378
|
}>;
|
|
2379
2379
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2467,8 +2467,8 @@ declare const apiOperations: {
|
|
|
2467
2467
|
batchId: z$1.ZodUUID;
|
|
2468
2468
|
ready: z$1.ZodBoolean;
|
|
2469
2469
|
status: z$1.ZodEnum<{
|
|
2470
|
-
expired: "expired";
|
|
2471
2470
|
pending: "pending";
|
|
2471
|
+
expired: "expired";
|
|
2472
2472
|
prepared: "prepared";
|
|
2473
2473
|
effective: "effective";
|
|
2474
2474
|
cancelled: "cancelled";
|
|
@@ -2494,9 +2494,9 @@ declare const apiOperations: {
|
|
|
2494
2494
|
renewal: "renewal";
|
|
2495
2495
|
}>;
|
|
2496
2496
|
status: z$1.ZodEnum<{
|
|
2497
|
-
scheduled: "scheduled";
|
|
2498
2497
|
pending: "pending";
|
|
2499
2498
|
failed: "failed";
|
|
2499
|
+
scheduled: "scheduled";
|
|
2500
2500
|
prepared: "prepared";
|
|
2501
2501
|
effective: "effective";
|
|
2502
2502
|
confirmed: "confirmed";
|
|
@@ -2566,15 +2566,15 @@ declare const apiOperations: {
|
|
|
2566
2566
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2567
2567
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2568
2568
|
executor: z$1.ZodEnum<{
|
|
2569
|
-
indiana: "indiana";
|
|
2570
2569
|
merchant: "merchant";
|
|
2570
|
+
indiana: "indiana";
|
|
2571
2571
|
}>;
|
|
2572
2572
|
accountId: z$1.ZodString;
|
|
2573
2573
|
subscriptionId: z$1.ZodString;
|
|
2574
2574
|
action: z$1.ZodEnum<{
|
|
2575
|
+
update: "update";
|
|
2575
2576
|
cancel: "cancel";
|
|
2576
2577
|
release: "release";
|
|
2577
|
-
update: "update";
|
|
2578
2578
|
schedule: "schedule";
|
|
2579
2579
|
}>;
|
|
2580
2580
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2668,8 +2668,8 @@ declare const apiOperations: {
|
|
|
2668
2668
|
batchId: z$1.ZodUUID;
|
|
2669
2669
|
ready: z$1.ZodBoolean;
|
|
2670
2670
|
status: z$1.ZodEnum<{
|
|
2671
|
-
expired: "expired";
|
|
2672
2671
|
pending: "pending";
|
|
2672
|
+
expired: "expired";
|
|
2673
2673
|
prepared: "prepared";
|
|
2674
2674
|
effective: "effective";
|
|
2675
2675
|
cancelled: "cancelled";
|
|
@@ -2695,9 +2695,9 @@ declare const apiOperations: {
|
|
|
2695
2695
|
renewal: "renewal";
|
|
2696
2696
|
}>;
|
|
2697
2697
|
status: z$1.ZodEnum<{
|
|
2698
|
-
scheduled: "scheduled";
|
|
2699
2698
|
pending: "pending";
|
|
2700
2699
|
failed: "failed";
|
|
2700
|
+
scheduled: "scheduled";
|
|
2701
2701
|
prepared: "prepared";
|
|
2702
2702
|
effective: "effective";
|
|
2703
2703
|
confirmed: "confirmed";
|
|
@@ -2767,15 +2767,15 @@ declare const apiOperations: {
|
|
|
2767
2767
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2768
2768
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2769
2769
|
executor: z$1.ZodEnum<{
|
|
2770
|
-
indiana: "indiana";
|
|
2771
2770
|
merchant: "merchant";
|
|
2771
|
+
indiana: "indiana";
|
|
2772
2772
|
}>;
|
|
2773
2773
|
accountId: z$1.ZodString;
|
|
2774
2774
|
subscriptionId: z$1.ZodString;
|
|
2775
2775
|
action: z$1.ZodEnum<{
|
|
2776
|
+
update: "update";
|
|
2776
2777
|
cancel: "cancel";
|
|
2777
2778
|
release: "release";
|
|
2778
|
-
update: "update";
|
|
2779
2779
|
schedule: "schedule";
|
|
2780
2780
|
}>;
|
|
2781
2781
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2903,8 +2903,8 @@ declare const apiOperations: {
|
|
|
2903
2903
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
2904
2904
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2905
2905
|
executor: z$1.ZodEnum<{
|
|
2906
|
-
indiana: "indiana";
|
|
2907
2906
|
merchant: "merchant";
|
|
2907
|
+
indiana: "indiana";
|
|
2908
2908
|
}>;
|
|
2909
2909
|
accountId: z$1.ZodString;
|
|
2910
2910
|
subscriptionId: z$1.ZodString;
|
|
@@ -2952,8 +2952,8 @@ declare const apiOperations: {
|
|
|
2952
2952
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
2953
2953
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2954
2954
|
executor: z$1.ZodEnum<{
|
|
2955
|
-
indiana: "indiana";
|
|
2956
2955
|
merchant: "merchant";
|
|
2956
|
+
indiana: "indiana";
|
|
2957
2957
|
}>;
|
|
2958
2958
|
accountId: z$1.ZodString;
|
|
2959
2959
|
subscriptionId: z$1.ZodString;
|
|
@@ -2973,15 +2973,15 @@ declare const apiOperations: {
|
|
|
2973
2973
|
entityId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
2974
2974
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
2975
2975
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2976
|
+
free: "free";
|
|
2976
2977
|
apple: "apple";
|
|
2977
2978
|
google: "google";
|
|
2978
|
-
free: "free";
|
|
2979
2979
|
stripe: "stripe";
|
|
2980
2980
|
}>>;
|
|
2981
2981
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2982
2982
|
active: "active";
|
|
2983
|
-
past_due: "past_due";
|
|
2984
2983
|
trial: "trial";
|
|
2984
|
+
past_due: "past_due";
|
|
2985
2985
|
ended: "ended";
|
|
2986
2986
|
refunded: "refunded";
|
|
2987
2987
|
}>>;
|
|
@@ -3004,8 +3004,8 @@ declare const apiOperations: {
|
|
|
3004
3004
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
3005
3005
|
status: z$1.ZodEnum<{
|
|
3006
3006
|
active: "active";
|
|
3007
|
-
past_due: "past_due";
|
|
3008
3007
|
trial: "trial";
|
|
3008
|
+
past_due: "past_due";
|
|
3009
3009
|
ended: "ended";
|
|
3010
3010
|
}>;
|
|
3011
3011
|
cancelAtPeriodEnd: z$1.ZodBoolean;
|
|
@@ -3017,9 +3017,9 @@ declare const apiOperations: {
|
|
|
3017
3017
|
productVersionId: z$1.ZodUUID;
|
|
3018
3018
|
name: z$1.ZodString;
|
|
3019
3019
|
provider: z$1.ZodEnum<{
|
|
3020
|
+
free: "free";
|
|
3020
3021
|
apple: "apple";
|
|
3021
3022
|
google: "google";
|
|
3022
|
-
free: "free";
|
|
3023
3023
|
stripe: "stripe";
|
|
3024
3024
|
}>;
|
|
3025
3025
|
createdAt: z$1.ZodISODateTime;
|
|
@@ -3041,15 +3041,15 @@ declare const apiOperations: {
|
|
|
3041
3041
|
entityId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
3042
3042
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
3043
3043
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3044
|
+
free: "free";
|
|
3044
3045
|
apple: "apple";
|
|
3045
3046
|
google: "google";
|
|
3046
|
-
free: "free";
|
|
3047
3047
|
stripe: "stripe";
|
|
3048
3048
|
}>>;
|
|
3049
3049
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3050
3050
|
active: "active";
|
|
3051
|
-
past_due: "past_due";
|
|
3052
3051
|
trial: "trial";
|
|
3052
|
+
past_due: "past_due";
|
|
3053
3053
|
ended: "ended";
|
|
3054
3054
|
refunded: "refunded";
|
|
3055
3055
|
}>>;
|
|
@@ -3120,9 +3120,9 @@ declare const apiOperations: {
|
|
|
3120
3120
|
productVersionId: z$1.ZodUUID;
|
|
3121
3121
|
name: z$1.ZodString;
|
|
3122
3122
|
provider: z$1.ZodEnum<{
|
|
3123
|
+
free: "free";
|
|
3123
3124
|
apple: "apple";
|
|
3124
3125
|
google: "google";
|
|
3125
|
-
free: "free";
|
|
3126
3126
|
stripe: "stripe";
|
|
3127
3127
|
}>;
|
|
3128
3128
|
createdAt: z$1.ZodISODateTime;
|
|
@@ -3144,9 +3144,9 @@ declare const apiOperations: {
|
|
|
3144
3144
|
entityId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
3145
3145
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
3146
3146
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3147
|
+
free: "free";
|
|
3147
3148
|
apple: "apple";
|
|
3148
3149
|
google: "google";
|
|
3149
|
-
free: "free";
|
|
3150
3150
|
stripe: "stripe";
|
|
3151
3151
|
}>>;
|
|
3152
3152
|
cursor: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3187,9 +3187,9 @@ declare const apiOperations: {
|
|
|
3187
3187
|
productVersionId: z$1.ZodUUID;
|
|
3188
3188
|
name: z$1.ZodString;
|
|
3189
3189
|
provider: z$1.ZodEnum<{
|
|
3190
|
+
free: "free";
|
|
3190
3191
|
apple: "apple";
|
|
3191
3192
|
google: "google";
|
|
3192
|
-
free: "free";
|
|
3193
3193
|
stripe: "stripe";
|
|
3194
3194
|
}>;
|
|
3195
3195
|
createdAt: z$1.ZodISODateTime;
|
|
@@ -3259,17 +3259,17 @@ declare const apiOperations: {
|
|
|
3259
3259
|
subscriptionId: z$1.ZodString;
|
|
3260
3260
|
itemId: z$1.ZodNullable<z$1.ZodString>;
|
|
3261
3261
|
field: z$1.ZodEnum<{
|
|
3262
|
-
|
|
3262
|
+
quantity: "quantity";
|
|
3263
3263
|
currency: "currency";
|
|
3264
|
+
price: "price";
|
|
3264
3265
|
status: "status";
|
|
3265
3266
|
subscription: "subscription";
|
|
3266
3267
|
cancelAtPeriodEnd: "cancelAtPeriodEnd";
|
|
3267
|
-
quantity: "quantity";
|
|
3268
3268
|
product: "product";
|
|
3269
|
-
trialEnd: "trialEnd";
|
|
3270
|
-
item: "item";
|
|
3271
3269
|
periodStart: "periodStart";
|
|
3272
3270
|
periodEnd: "periodEnd";
|
|
3271
|
+
trialEnd: "trialEnd";
|
|
3272
|
+
item: "item";
|
|
3273
3273
|
evidence: "evidence";
|
|
3274
3274
|
}>;
|
|
3275
3275
|
expected: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>;
|
|
@@ -3487,10 +3487,10 @@ declare const apiOperations: {
|
|
|
3487
3487
|
productVersionId: z$1.ZodUUID;
|
|
3488
3488
|
productName: z$1.ZodString;
|
|
3489
3489
|
interval: z$1.ZodEnum<{
|
|
3490
|
+
free: "free";
|
|
3490
3491
|
week: "week";
|
|
3491
3492
|
month: "month";
|
|
3492
3493
|
year: "year";
|
|
3493
|
-
free: "free";
|
|
3494
3494
|
one_time: "one_time";
|
|
3495
3495
|
}>;
|
|
3496
3496
|
intervalCount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -3607,8 +3607,8 @@ declare const apiOperations: {
|
|
|
3607
3607
|
}, z$1.core.$strict>>;
|
|
3608
3608
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3609
3609
|
executor: z$1.ZodEnum<{
|
|
3610
|
-
indiana: "indiana";
|
|
3611
3610
|
merchant: "merchant";
|
|
3611
|
+
indiana: "indiana";
|
|
3612
3612
|
}>;
|
|
3613
3613
|
accountId: z$1.ZodString;
|
|
3614
3614
|
mode: z$1.ZodEnum<{
|
|
@@ -3623,10 +3623,10 @@ declare const apiOperations: {
|
|
|
3623
3623
|
amountMinor: z$1.ZodNumber;
|
|
3624
3624
|
currency: z$1.ZodString;
|
|
3625
3625
|
interval: z$1.ZodEnum<{
|
|
3626
|
-
one_off: "one_off";
|
|
3627
3626
|
week: "week";
|
|
3628
3627
|
month: "month";
|
|
3629
3628
|
year: "year";
|
|
3629
|
+
one_off: "one_off";
|
|
3630
3630
|
}>;
|
|
3631
3631
|
intervalCount: z$1.ZodNumber;
|
|
3632
3632
|
slot: z$1.ZodEnum<{
|
|
@@ -3705,8 +3705,8 @@ declare const apiOperations: {
|
|
|
3705
3705
|
cancelled: "cancelled";
|
|
3706
3706
|
}>;
|
|
3707
3707
|
executor: z$1.ZodEnum<{
|
|
3708
|
-
indiana: "indiana";
|
|
3709
3708
|
merchant: "merchant";
|
|
3709
|
+
indiana: "indiana";
|
|
3710
3710
|
}>;
|
|
3711
3711
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
3712
3712
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3732,8 +3732,8 @@ declare const apiOperations: {
|
|
|
3732
3732
|
}, z$1.core.$strict>>;
|
|
3733
3733
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3734
3734
|
executor: z$1.ZodEnum<{
|
|
3735
|
-
indiana: "indiana";
|
|
3736
3735
|
merchant: "merchant";
|
|
3736
|
+
indiana: "indiana";
|
|
3737
3737
|
}>;
|
|
3738
3738
|
accountId: z$1.ZodString;
|
|
3739
3739
|
mode: z$1.ZodEnum<{
|
|
@@ -3748,10 +3748,10 @@ declare const apiOperations: {
|
|
|
3748
3748
|
amountMinor: z$1.ZodNumber;
|
|
3749
3749
|
currency: z$1.ZodString;
|
|
3750
3750
|
interval: z$1.ZodEnum<{
|
|
3751
|
-
one_off: "one_off";
|
|
3752
3751
|
week: "week";
|
|
3753
3752
|
month: "month";
|
|
3754
3753
|
year: "year";
|
|
3754
|
+
one_off: "one_off";
|
|
3755
3755
|
}>;
|
|
3756
3756
|
intervalCount: z$1.ZodNumber;
|
|
3757
3757
|
slot: z$1.ZodEnum<{
|
|
@@ -3843,8 +3843,8 @@ declare const apiOperations: {
|
|
|
3843
3843
|
}>;
|
|
3844
3844
|
productId: z$1.ZodString;
|
|
3845
3845
|
productKind: z$1.ZodEnum<{
|
|
3846
|
-
lifetime: "lifetime";
|
|
3847
3846
|
membership: "membership";
|
|
3847
|
+
lifetime: "lifetime";
|
|
3848
3848
|
credit_pack: "credit_pack";
|
|
3849
3849
|
}>;
|
|
3850
3850
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3949,8 +3949,8 @@ declare const apiOperations: {
|
|
|
3949
3949
|
cancelled: "cancelled";
|
|
3950
3950
|
}>;
|
|
3951
3951
|
executor: z$1.ZodEnum<{
|
|
3952
|
-
indiana: "indiana";
|
|
3953
3952
|
merchant: "merchant";
|
|
3953
|
+
indiana: "indiana";
|
|
3954
3954
|
}>;
|
|
3955
3955
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
3956
3956
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3976,8 +3976,8 @@ declare const apiOperations: {
|
|
|
3976
3976
|
}, z$1.core.$strict>>;
|
|
3977
3977
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3978
3978
|
executor: z$1.ZodEnum<{
|
|
3979
|
-
indiana: "indiana";
|
|
3980
3979
|
merchant: "merchant";
|
|
3980
|
+
indiana: "indiana";
|
|
3981
3981
|
}>;
|
|
3982
3982
|
accountId: z$1.ZodString;
|
|
3983
3983
|
mode: z$1.ZodEnum<{
|
|
@@ -3992,10 +3992,10 @@ declare const apiOperations: {
|
|
|
3992
3992
|
amountMinor: z$1.ZodNumber;
|
|
3993
3993
|
currency: z$1.ZodString;
|
|
3994
3994
|
interval: z$1.ZodEnum<{
|
|
3995
|
-
one_off: "one_off";
|
|
3996
3995
|
week: "week";
|
|
3997
3996
|
month: "month";
|
|
3998
3997
|
year: "year";
|
|
3998
|
+
one_off: "one_off";
|
|
3999
3999
|
}>;
|
|
4000
4000
|
intervalCount: z$1.ZodNumber;
|
|
4001
4001
|
slot: z$1.ZodEnum<{
|
|
@@ -4087,8 +4087,8 @@ declare const apiOperations: {
|
|
|
4087
4087
|
}>;
|
|
4088
4088
|
productId: z$1.ZodString;
|
|
4089
4089
|
productKind: z$1.ZodEnum<{
|
|
4090
|
-
lifetime: "lifetime";
|
|
4091
4090
|
membership: "membership";
|
|
4091
|
+
lifetime: "lifetime";
|
|
4092
4092
|
credit_pack: "credit_pack";
|
|
4093
4093
|
}>;
|
|
4094
4094
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4284,15 +4284,15 @@ declare const apiOperations: {
|
|
|
4284
4284
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4285
4285
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4286
4286
|
executor: z$1.ZodEnum<{
|
|
4287
|
-
indiana: "indiana";
|
|
4288
4287
|
merchant: "merchant";
|
|
4288
|
+
indiana: "indiana";
|
|
4289
4289
|
}>;
|
|
4290
4290
|
accountId: z$1.ZodString;
|
|
4291
4291
|
subscriptionId: z$1.ZodString;
|
|
4292
4292
|
action: z$1.ZodEnum<{
|
|
4293
|
+
update: "update";
|
|
4293
4294
|
cancel: "cancel";
|
|
4294
4295
|
release: "release";
|
|
4295
|
-
update: "update";
|
|
4296
4296
|
schedule: "schedule";
|
|
4297
4297
|
}>;
|
|
4298
4298
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4444,9 +4444,9 @@ declare const apiOperations: {
|
|
|
4444
4444
|
membershipId: z$1.ZodUUID;
|
|
4445
4445
|
productVersionId: z$1.ZodUUID;
|
|
4446
4446
|
status: z$1.ZodEnum<{
|
|
4447
|
-
scheduled: "scheduled";
|
|
4448
4447
|
pending: "pending";
|
|
4449
4448
|
failed: "failed";
|
|
4449
|
+
scheduled: "scheduled";
|
|
4450
4450
|
prepared: "prepared";
|
|
4451
4451
|
effective: "effective";
|
|
4452
4452
|
confirmed: "confirmed";
|
|
@@ -4460,22 +4460,22 @@ declare const apiOperations: {
|
|
|
4460
4460
|
effectiveAt: z$1.ZodISODateTime;
|
|
4461
4461
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4462
4462
|
executor: z$1.ZodEnum<{
|
|
4463
|
-
indiana: "indiana";
|
|
4464
4463
|
merchant: "merchant";
|
|
4464
|
+
indiana: "indiana";
|
|
4465
4465
|
}>;
|
|
4466
4466
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
4467
4467
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4468
4468
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4469
4469
|
executor: z$1.ZodEnum<{
|
|
4470
|
-
indiana: "indiana";
|
|
4471
4470
|
merchant: "merchant";
|
|
4471
|
+
indiana: "indiana";
|
|
4472
4472
|
}>;
|
|
4473
4473
|
accountId: z$1.ZodString;
|
|
4474
4474
|
subscriptionId: z$1.ZodString;
|
|
4475
4475
|
action: z$1.ZodEnum<{
|
|
4476
|
+
update: "update";
|
|
4476
4477
|
cancel: "cancel";
|
|
4477
4478
|
release: "release";
|
|
4478
|
-
update: "update";
|
|
4479
4479
|
schedule: "schedule";
|
|
4480
4480
|
}>;
|
|
4481
4481
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4561,8 +4561,8 @@ declare const apiOperations: {
|
|
|
4561
4561
|
}>;
|
|
4562
4562
|
productId: z$1.ZodString;
|
|
4563
4563
|
productKind: z$1.ZodEnum<{
|
|
4564
|
-
lifetime: "lifetime";
|
|
4565
4564
|
membership: "membership";
|
|
4565
|
+
lifetime: "lifetime";
|
|
4566
4566
|
credit_pack: "credit_pack";
|
|
4567
4567
|
}>;
|
|
4568
4568
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4661,9 +4661,9 @@ declare const apiOperations: {
|
|
|
4661
4661
|
membershipId: z$1.ZodUUID;
|
|
4662
4662
|
productVersionId: z$1.ZodUUID;
|
|
4663
4663
|
status: z$1.ZodEnum<{
|
|
4664
|
-
scheduled: "scheduled";
|
|
4665
4664
|
pending: "pending";
|
|
4666
4665
|
failed: "failed";
|
|
4666
|
+
scheduled: "scheduled";
|
|
4667
4667
|
prepared: "prepared";
|
|
4668
4668
|
effective: "effective";
|
|
4669
4669
|
confirmed: "confirmed";
|
|
@@ -4677,22 +4677,22 @@ declare const apiOperations: {
|
|
|
4677
4677
|
effectiveAt: z$1.ZodISODateTime;
|
|
4678
4678
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4679
4679
|
executor: z$1.ZodEnum<{
|
|
4680
|
-
indiana: "indiana";
|
|
4681
4680
|
merchant: "merchant";
|
|
4681
|
+
indiana: "indiana";
|
|
4682
4682
|
}>;
|
|
4683
4683
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
4684
4684
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4685
4685
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4686
4686
|
executor: z$1.ZodEnum<{
|
|
4687
|
-
indiana: "indiana";
|
|
4688
4687
|
merchant: "merchant";
|
|
4688
|
+
indiana: "indiana";
|
|
4689
4689
|
}>;
|
|
4690
4690
|
accountId: z$1.ZodString;
|
|
4691
4691
|
subscriptionId: z$1.ZodString;
|
|
4692
4692
|
action: z$1.ZodEnum<{
|
|
4693
|
+
update: "update";
|
|
4693
4694
|
cancel: "cancel";
|
|
4694
4695
|
release: "release";
|
|
4695
|
-
update: "update";
|
|
4696
4696
|
schedule: "schedule";
|
|
4697
4697
|
}>;
|
|
4698
4698
|
update: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4778,8 +4778,8 @@ declare const apiOperations: {
|
|
|
4778
4778
|
}>;
|
|
4779
4779
|
productId: z$1.ZodString;
|
|
4780
4780
|
productKind: z$1.ZodEnum<{
|
|
4781
|
-
lifetime: "lifetime";
|
|
4782
4781
|
membership: "membership";
|
|
4782
|
+
lifetime: "lifetime";
|
|
4783
4783
|
credit_pack: "credit_pack";
|
|
4784
4784
|
}>;
|
|
4785
4785
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4940,8 +4940,8 @@ declare const apiOperations: {
|
|
|
4940
4940
|
execution: z$1.ZodObject<{
|
|
4941
4941
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4942
4942
|
executor: z$1.ZodEnum<{
|
|
4943
|
-
indiana: "indiana";
|
|
4944
4943
|
merchant: "merchant";
|
|
4944
|
+
indiana: "indiana";
|
|
4945
4945
|
}>;
|
|
4946
4946
|
accountId: z$1.ZodString;
|
|
4947
4947
|
invoice: z$1.ZodString;
|
|
@@ -4980,15 +4980,15 @@ declare const apiOperations: {
|
|
|
4980
4980
|
invoiceId: z$1.ZodUUID;
|
|
4981
4981
|
providerInvoiceId: z$1.ZodString;
|
|
4982
4982
|
status: z$1.ZodEnum<{
|
|
4983
|
-
expired: "expired";
|
|
4984
4983
|
pending: "pending";
|
|
4984
|
+
expired: "expired";
|
|
4985
4985
|
failed: "failed";
|
|
4986
4986
|
quoted: "quoted";
|
|
4987
4987
|
succeeded: "succeeded";
|
|
4988
4988
|
}>;
|
|
4989
4989
|
executor: z$1.ZodEnum<{
|
|
4990
|
-
indiana: "indiana";
|
|
4991
4990
|
merchant: "merchant";
|
|
4991
|
+
indiana: "indiana";
|
|
4992
4992
|
}>;
|
|
4993
4993
|
currency: z$1.ZodEnum<{
|
|
4994
4994
|
USD: "USD";
|
|
@@ -5038,8 +5038,8 @@ declare const apiOperations: {
|
|
|
5038
5038
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5039
5039
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5040
5040
|
executor: z$1.ZodEnum<{
|
|
5041
|
-
indiana: "indiana";
|
|
5042
5041
|
merchant: "merchant";
|
|
5042
|
+
indiana: "indiana";
|
|
5043
5043
|
}>;
|
|
5044
5044
|
accountId: z$1.ZodString;
|
|
5045
5045
|
invoice: z$1.ZodString;
|
|
@@ -5080,15 +5080,15 @@ declare const apiOperations: {
|
|
|
5080
5080
|
invoiceId: z$1.ZodUUID;
|
|
5081
5081
|
providerInvoiceId: z$1.ZodString;
|
|
5082
5082
|
status: z$1.ZodEnum<{
|
|
5083
|
-
expired: "expired";
|
|
5084
5083
|
pending: "pending";
|
|
5084
|
+
expired: "expired";
|
|
5085
5085
|
failed: "failed";
|
|
5086
5086
|
quoted: "quoted";
|
|
5087
5087
|
succeeded: "succeeded";
|
|
5088
5088
|
}>;
|
|
5089
5089
|
executor: z$1.ZodEnum<{
|
|
5090
|
-
indiana: "indiana";
|
|
5091
5090
|
merchant: "merchant";
|
|
5091
|
+
indiana: "indiana";
|
|
5092
5092
|
}>;
|
|
5093
5093
|
currency: z$1.ZodEnum<{
|
|
5094
5094
|
USD: "USD";
|
|
@@ -5138,8 +5138,8 @@ declare const apiOperations: {
|
|
|
5138
5138
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5139
5139
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5140
5140
|
executor: z$1.ZodEnum<{
|
|
5141
|
-
indiana: "indiana";
|
|
5142
5141
|
merchant: "merchant";
|
|
5142
|
+
indiana: "indiana";
|
|
5143
5143
|
}>;
|
|
5144
5144
|
accountId: z$1.ZodString;
|
|
5145
5145
|
invoice: z$1.ZodString;
|
|
@@ -7053,9 +7053,9 @@ declare const apiOperations: {
|
|
|
7053
7053
|
entityId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
7054
7054
|
topN: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7055
7055
|
groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
7056
|
+
source: "source";
|
|
7056
7057
|
customer: "customer";
|
|
7057
7058
|
entity: "entity";
|
|
7058
|
-
source: "source";
|
|
7059
7059
|
dimension: "dimension";
|
|
7060
7060
|
plan: "plan";
|
|
7061
7061
|
entitlement: "entitlement";
|
|
@@ -7210,19 +7210,19 @@ declare const apiOperations: {
|
|
|
7210
7210
|
}>>;
|
|
7211
7211
|
accepted: z$1.ZodBoolean;
|
|
7212
7212
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7213
|
-
expired: "expired";
|
|
7214
|
-
unavailable: "unavailable";
|
|
7215
7213
|
insufficient_balance: "insufficient_balance";
|
|
7216
7214
|
limit_exceeded: "limit_exceeded";
|
|
7217
7215
|
awaiting_topup: "awaiting_topup";
|
|
7218
7216
|
authorization_required: "authorization_required";
|
|
7219
7217
|
payment_blocked: "payment_blocked";
|
|
7220
7218
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
7219
|
+
unavailable: "unavailable";
|
|
7220
|
+
expired: "expired";
|
|
7221
7221
|
}>>;
|
|
7222
7222
|
createdAt: z$1.ZodISODateTime;
|
|
7223
7223
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7224
|
-
expired: "expired";
|
|
7225
7224
|
pending: "pending";
|
|
7225
|
+
expired: "expired";
|
|
7226
7226
|
confirmed: "confirmed";
|
|
7227
7227
|
released: "released";
|
|
7228
7228
|
}>>;
|
|
@@ -7342,36 +7342,36 @@ declare const apiOperations: {
|
|
|
7342
7342
|
internal_feature_id: z$1.ZodString;
|
|
7343
7343
|
name: z$1.ZodString;
|
|
7344
7344
|
kind: z$1.ZodEnum<{
|
|
7345
|
-
metered: "metered";
|
|
7346
7345
|
access: "access";
|
|
7346
|
+
metered: "metered";
|
|
7347
7347
|
credit: "credit";
|
|
7348
7348
|
}>;
|
|
7349
7349
|
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
7350
7350
|
allowed: z$1.ZodBoolean;
|
|
7351
7351
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7352
|
-
|
|
7352
|
+
not_entitled: "not_entitled";
|
|
7353
7353
|
insufficient_balance: "insufficient_balance";
|
|
7354
|
+
capacity_exceeded: "capacity_exceeded";
|
|
7354
7355
|
limit_exceeded: "limit_exceeded";
|
|
7355
7356
|
awaiting_topup: "awaiting_topup";
|
|
7356
7357
|
authorization_required: "authorization_required";
|
|
7357
7358
|
payment_blocked: "payment_blocked";
|
|
7358
7359
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
7359
|
-
|
|
7360
|
-
capacity_exceeded: "capacity_exceeded";
|
|
7360
|
+
unavailable: "unavailable";
|
|
7361
7361
|
authentication_required: "authentication_required";
|
|
7362
7362
|
}>>;
|
|
7363
7363
|
preview: z$1.ZodNullable<z$1.ZodObject<{
|
|
7364
7364
|
scenario: z$1.ZodEnum<{
|
|
7365
|
-
usage_limit: "usage_limit";
|
|
7366
7365
|
feature_flag: "feature_flag";
|
|
7366
|
+
usage_limit: "usage_limit";
|
|
7367
7367
|
}>;
|
|
7368
7368
|
candidates: z$1.ZodArray<z$1.ZodObject<{
|
|
7369
7369
|
productId: z$1.ZodString;
|
|
7370
7370
|
productVersionId: z$1.ZodString;
|
|
7371
7371
|
name: z$1.ZodString;
|
|
7372
7372
|
action: z$1.ZodEnum<{
|
|
7373
|
-
upgrade: "upgrade";
|
|
7374
7373
|
purchase: "purchase";
|
|
7374
|
+
upgrade: "upgrade";
|
|
7375
7375
|
addon: "addon";
|
|
7376
7376
|
topup: "topup";
|
|
7377
7377
|
}>;
|
|
@@ -7413,10 +7413,10 @@ declare const apiOperations: {
|
|
|
7413
7413
|
}>;
|
|
7414
7414
|
amountMinor: z$1.ZodString;
|
|
7415
7415
|
interval: z$1.ZodEnum<{
|
|
7416
|
+
free: "free";
|
|
7416
7417
|
week: "week";
|
|
7417
7418
|
month: "month";
|
|
7418
7419
|
year: "year";
|
|
7419
|
-
free: "free";
|
|
7420
7420
|
one_time: "one_time";
|
|
7421
7421
|
}>;
|
|
7422
7422
|
intervalCount: z$1.ZodNumber;
|
|
@@ -7425,6 +7425,198 @@ declare const apiOperations: {
|
|
|
7425
7425
|
}, z$1.core.$strict>;
|
|
7426
7426
|
}, z$1.core.$strict>;
|
|
7427
7427
|
};
|
|
7428
|
+
readonly resolveContent: {
|
|
7429
|
+
readonly method: "POST";
|
|
7430
|
+
readonly path: "content/resolve";
|
|
7431
|
+
readonly permission: "content:read";
|
|
7432
|
+
readonly audience: "mixed";
|
|
7433
|
+
readonly request: z$1.ZodObject<{
|
|
7434
|
+
kind: z$1.ZodEnum<{
|
|
7435
|
+
popup: "popup";
|
|
7436
|
+
page: "page";
|
|
7437
|
+
banner: "banner";
|
|
7438
|
+
}>;
|
|
7439
|
+
selector: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7440
|
+
type: z$1.ZodLiteral<"resource">;
|
|
7441
|
+
id: z$1.ZodUUID;
|
|
7442
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7443
|
+
type: z$1.ZodLiteral<"version">;
|
|
7444
|
+
id: z$1.ZodUUID;
|
|
7445
|
+
}, z$1.core.$strict>], "type">;
|
|
7446
|
+
customerId: z$1.ZodOptional<z$1.ZodString>;
|
|
7447
|
+
}, z$1.core.$strict>;
|
|
7448
|
+
readonly response: z$1.ZodObject<{
|
|
7449
|
+
requestId: z$1.ZodUUID;
|
|
7450
|
+
scope: z$1.ZodObject<{
|
|
7451
|
+
projectId: z$1.ZodString;
|
|
7452
|
+
environment: z$1.ZodEnum<{
|
|
7453
|
+
sandbox: "sandbox";
|
|
7454
|
+
live: "live";
|
|
7455
|
+
}>;
|
|
7456
|
+
}, z$1.core.$strict>;
|
|
7457
|
+
content: z$1.ZodObject<{
|
|
7458
|
+
id: z$1.ZodUUID;
|
|
7459
|
+
kind: z$1.ZodEnum<{
|
|
7460
|
+
popup: "popup";
|
|
7461
|
+
page: "page";
|
|
7462
|
+
banner: "banner";
|
|
7463
|
+
}>;
|
|
7464
|
+
resourceId: z$1.ZodUUID;
|
|
7465
|
+
projectId: z$1.ZodUUID;
|
|
7466
|
+
environmentId: z$1.ZodUUID;
|
|
7467
|
+
version: z$1.ZodNumber;
|
|
7468
|
+
sourceRevision: z$1.ZodNumber;
|
|
7469
|
+
document: z$1.ZodObject<{
|
|
7470
|
+
kind: z$1.ZodEnum<{
|
|
7471
|
+
popup: "popup";
|
|
7472
|
+
page: "page";
|
|
7473
|
+
banner: "banner";
|
|
7474
|
+
}>;
|
|
7475
|
+
schemaVersion: z$1.ZodLiteral<1>;
|
|
7476
|
+
name: z$1.ZodString;
|
|
7477
|
+
screen: z$1.ZodObject<{
|
|
7478
|
+
kind: z$1.ZodLiteral<"screen">;
|
|
7479
|
+
schemaVersion: z$1.ZodLiteral<4>;
|
|
7480
|
+
name: z$1.ZodString;
|
|
7481
|
+
surface: z$1.ZodEnum<{
|
|
7482
|
+
paywall: "paywall";
|
|
7483
|
+
popup: "popup";
|
|
7484
|
+
onboarding: "onboarding";
|
|
7485
|
+
page: "page";
|
|
7486
|
+
banner: "banner";
|
|
7487
|
+
}>;
|
|
7488
|
+
initialPageId: z$1.ZodOptional<z$1.ZodString>;
|
|
7489
|
+
presentation: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7490
|
+
type: z$1.ZodLiteral<"modal">;
|
|
7491
|
+
size: z$1.ZodEnum<{
|
|
7492
|
+
sm: "sm";
|
|
7493
|
+
md: "md";
|
|
7494
|
+
lg: "lg";
|
|
7495
|
+
}>;
|
|
7496
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7497
|
+
type: z$1.ZodLiteral<"sheet">;
|
|
7498
|
+
size: z$1.ZodEnum<{
|
|
7499
|
+
sm: "sm";
|
|
7500
|
+
md: "md";
|
|
7501
|
+
lg: "lg";
|
|
7502
|
+
}>;
|
|
7503
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7504
|
+
type: z$1.ZodLiteral<"fullscreen">;
|
|
7505
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7506
|
+
type: z$1.ZodLiteral<"inline">;
|
|
7507
|
+
}, z$1.core.$strict>], "type">;
|
|
7508
|
+
theme: z$1.ZodObject<{
|
|
7509
|
+
primary: z$1.ZodString;
|
|
7510
|
+
background: z$1.ZodString;
|
|
7511
|
+
text: z$1.ZodString;
|
|
7512
|
+
radius: z$1.ZodEnum<{
|
|
7513
|
+
none: "none";
|
|
7514
|
+
sm: "sm";
|
|
7515
|
+
md: "md";
|
|
7516
|
+
lg: "lg";
|
|
7517
|
+
full: "full";
|
|
7518
|
+
}>;
|
|
7519
|
+
font: z$1.ZodEnum<{
|
|
7520
|
+
system: "system";
|
|
7521
|
+
serif: "serif";
|
|
7522
|
+
rounded: "rounded";
|
|
7523
|
+
mono: "mono";
|
|
7524
|
+
}>;
|
|
7525
|
+
}, z$1.core.$strict>;
|
|
7526
|
+
pages: z$1.ZodArray<z$1.ZodObject<{
|
|
7527
|
+
id: z$1.ZodString;
|
|
7528
|
+
name: z$1.ZodString;
|
|
7529
|
+
root: z$1.ZodType<StackNode, unknown, z$1.core.$ZodTypeInternals<StackNode, unknown>>;
|
|
7530
|
+
theme: z$1.ZodOptional<z$1.ZodObject<{
|
|
7531
|
+
primary: z$1.ZodString;
|
|
7532
|
+
background: z$1.ZodString;
|
|
7533
|
+
text: z$1.ZodString;
|
|
7534
|
+
radius: z$1.ZodEnum<{
|
|
7535
|
+
none: "none";
|
|
7536
|
+
sm: "sm";
|
|
7537
|
+
md: "md";
|
|
7538
|
+
lg: "lg";
|
|
7539
|
+
full: "full";
|
|
7540
|
+
}>;
|
|
7541
|
+
font: z$1.ZodEnum<{
|
|
7542
|
+
system: "system";
|
|
7543
|
+
serif: "serif";
|
|
7544
|
+
rounded: "rounded";
|
|
7545
|
+
mono: "mono";
|
|
7546
|
+
}>;
|
|
7547
|
+
}, z$1.core.$strict>>;
|
|
7548
|
+
editorPosition: z$1.ZodOptional<z$1.ZodObject<{
|
|
7549
|
+
x: z$1.ZodNumber;
|
|
7550
|
+
y: z$1.ZodNumber;
|
|
7551
|
+
}, z$1.core.$strict>>;
|
|
7552
|
+
}, z$1.core.$strict>>;
|
|
7553
|
+
strings: z$1.ZodObject<{
|
|
7554
|
+
defaultLocale: z$1.ZodString;
|
|
7555
|
+
locales: z$1.ZodRecord<z$1.ZodString, z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
7556
|
+
}, z$1.core.$strict>;
|
|
7557
|
+
actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7558
|
+
type: z$1.ZodLiteral<"navigate">;
|
|
7559
|
+
close: z$1.ZodLiteral<false>;
|
|
7560
|
+
pageId: z$1.ZodString;
|
|
7561
|
+
id: z$1.ZodString;
|
|
7562
|
+
event: z$1.ZodString;
|
|
7563
|
+
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
|
|
7564
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7565
|
+
type: z$1.ZodLiteral<"event">;
|
|
7566
|
+
close: z$1.ZodBoolean;
|
|
7567
|
+
id: z$1.ZodString;
|
|
7568
|
+
event: z$1.ZodString;
|
|
7569
|
+
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
|
|
7570
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7571
|
+
type: z$1.ZodLiteral<"close">;
|
|
7572
|
+
close: z$1.ZodLiteral<true>;
|
|
7573
|
+
id: z$1.ZodString;
|
|
7574
|
+
event: z$1.ZodString;
|
|
7575
|
+
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
|
|
7576
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7577
|
+
type: z$1.ZodLiteral<"open_url">;
|
|
7578
|
+
close: z$1.ZodBoolean;
|
|
7579
|
+
url: z$1.ZodString;
|
|
7580
|
+
id: z$1.ZodString;
|
|
7581
|
+
event: z$1.ZodString;
|
|
7582
|
+
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
|
|
7583
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7584
|
+
type: z$1.ZodLiteral<"claim_offer">;
|
|
7585
|
+
close: z$1.ZodBoolean;
|
|
7586
|
+
couponId: z$1.ZodUUID;
|
|
7587
|
+
id: z$1.ZodString;
|
|
7588
|
+
event: z$1.ZodString;
|
|
7589
|
+
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
|
|
7590
|
+
}, z$1.core.$strict>], "type">>;
|
|
7591
|
+
}, z$1.core.$strict>;
|
|
7592
|
+
contract: z$1.ZodObject<{
|
|
7593
|
+
inputs: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
7594
|
+
type: z$1.ZodEnum<{
|
|
7595
|
+
string: "string";
|
|
7596
|
+
number: "number";
|
|
7597
|
+
boolean: "boolean";
|
|
7598
|
+
strings: "strings";
|
|
7599
|
+
json: "json";
|
|
7600
|
+
}>;
|
|
7601
|
+
nullable: z$1.ZodBoolean;
|
|
7602
|
+
required: z$1.ZodBoolean;
|
|
7603
|
+
}, z$1.core.$strict>>;
|
|
7604
|
+
outputs: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
7605
|
+
type: z$1.ZodEnum<{
|
|
7606
|
+
string: "string";
|
|
7607
|
+
number: "number";
|
|
7608
|
+
boolean: "boolean";
|
|
7609
|
+
strings: "strings";
|
|
7610
|
+
json: "json";
|
|
7611
|
+
}>;
|
|
7612
|
+
nullable: z$1.ZodBoolean;
|
|
7613
|
+
}, z$1.core.$strict>>;
|
|
7614
|
+
}, z$1.core.$strict>;
|
|
7615
|
+
}, z$1.core.$strict>;
|
|
7616
|
+
createdAt: z$1.ZodISODateTime;
|
|
7617
|
+
}, z$1.core.$strict>;
|
|
7618
|
+
}, z$1.core.$strict>;
|
|
7619
|
+
};
|
|
7428
7620
|
readonly resolvePaywall: {
|
|
7429
7621
|
readonly method: "POST";
|
|
7430
7622
|
readonly path: "paywalls/resolve";
|
|
@@ -7507,36 +7699,36 @@ declare const apiOperations: {
|
|
|
7507
7699
|
internal_feature_id: z$1.ZodString;
|
|
7508
7700
|
name: z$1.ZodString;
|
|
7509
7701
|
kind: z$1.ZodEnum<{
|
|
7510
|
-
metered: "metered";
|
|
7511
7702
|
access: "access";
|
|
7703
|
+
metered: "metered";
|
|
7512
7704
|
credit: "credit";
|
|
7513
7705
|
}>;
|
|
7514
7706
|
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
7515
7707
|
allowed: z$1.ZodBoolean;
|
|
7516
7708
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7517
|
-
|
|
7709
|
+
not_entitled: "not_entitled";
|
|
7518
7710
|
insufficient_balance: "insufficient_balance";
|
|
7711
|
+
capacity_exceeded: "capacity_exceeded";
|
|
7519
7712
|
limit_exceeded: "limit_exceeded";
|
|
7520
7713
|
awaiting_topup: "awaiting_topup";
|
|
7521
7714
|
authorization_required: "authorization_required";
|
|
7522
7715
|
payment_blocked: "payment_blocked";
|
|
7523
7716
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
7524
|
-
|
|
7525
|
-
capacity_exceeded: "capacity_exceeded";
|
|
7717
|
+
unavailable: "unavailable";
|
|
7526
7718
|
authentication_required: "authentication_required";
|
|
7527
7719
|
}>>;
|
|
7528
7720
|
preview: z$1.ZodNullable<z$1.ZodObject<{
|
|
7529
7721
|
scenario: z$1.ZodEnum<{
|
|
7530
|
-
usage_limit: "usage_limit";
|
|
7531
7722
|
feature_flag: "feature_flag";
|
|
7723
|
+
usage_limit: "usage_limit";
|
|
7532
7724
|
}>;
|
|
7533
7725
|
candidates: z$1.ZodArray<z$1.ZodObject<{
|
|
7534
7726
|
productId: z$1.ZodString;
|
|
7535
7727
|
productVersionId: z$1.ZodString;
|
|
7536
7728
|
name: z$1.ZodString;
|
|
7537
7729
|
action: z$1.ZodEnum<{
|
|
7538
|
-
upgrade: "upgrade";
|
|
7539
7730
|
purchase: "purchase";
|
|
7731
|
+
upgrade: "upgrade";
|
|
7540
7732
|
addon: "addon";
|
|
7541
7733
|
topup: "topup";
|
|
7542
7734
|
}>;
|
|
@@ -7578,10 +7770,10 @@ declare const apiOperations: {
|
|
|
7578
7770
|
}>;
|
|
7579
7771
|
amountMinor: z$1.ZodString;
|
|
7580
7772
|
interval: z$1.ZodEnum<{
|
|
7773
|
+
free: "free";
|
|
7581
7774
|
week: "week";
|
|
7582
7775
|
month: "month";
|
|
7583
7776
|
year: "year";
|
|
7584
|
-
free: "free";
|
|
7585
7777
|
one_time: "one_time";
|
|
7586
7778
|
}>;
|
|
7587
7779
|
intervalCount: z$1.ZodNumber;
|
|
@@ -7596,36 +7788,36 @@ declare const apiOperations: {
|
|
|
7596
7788
|
internal_feature_id: z$1.ZodString;
|
|
7597
7789
|
name: z$1.ZodString;
|
|
7598
7790
|
kind: z$1.ZodEnum<{
|
|
7599
|
-
metered: "metered";
|
|
7600
7791
|
access: "access";
|
|
7792
|
+
metered: "metered";
|
|
7601
7793
|
credit: "credit";
|
|
7602
7794
|
}>;
|
|
7603
7795
|
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
7604
7796
|
allowed: z$1.ZodBoolean;
|
|
7605
7797
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7606
|
-
|
|
7798
|
+
not_entitled: "not_entitled";
|
|
7607
7799
|
insufficient_balance: "insufficient_balance";
|
|
7800
|
+
capacity_exceeded: "capacity_exceeded";
|
|
7608
7801
|
limit_exceeded: "limit_exceeded";
|
|
7609
7802
|
awaiting_topup: "awaiting_topup";
|
|
7610
7803
|
authorization_required: "authorization_required";
|
|
7611
7804
|
payment_blocked: "payment_blocked";
|
|
7612
7805
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
7613
|
-
|
|
7614
|
-
capacity_exceeded: "capacity_exceeded";
|
|
7806
|
+
unavailable: "unavailable";
|
|
7615
7807
|
authentication_required: "authentication_required";
|
|
7616
7808
|
}>>;
|
|
7617
7809
|
preview: z$1.ZodNullable<z$1.ZodObject<{
|
|
7618
7810
|
scenario: z$1.ZodEnum<{
|
|
7619
|
-
usage_limit: "usage_limit";
|
|
7620
7811
|
feature_flag: "feature_flag";
|
|
7812
|
+
usage_limit: "usage_limit";
|
|
7621
7813
|
}>;
|
|
7622
7814
|
candidates: z$1.ZodArray<z$1.ZodObject<{
|
|
7623
7815
|
productId: z$1.ZodString;
|
|
7624
7816
|
productVersionId: z$1.ZodString;
|
|
7625
7817
|
name: z$1.ZodString;
|
|
7626
7818
|
action: z$1.ZodEnum<{
|
|
7627
|
-
upgrade: "upgrade";
|
|
7628
7819
|
purchase: "purchase";
|
|
7820
|
+
upgrade: "upgrade";
|
|
7629
7821
|
addon: "addon";
|
|
7630
7822
|
topup: "topup";
|
|
7631
7823
|
}>;
|
|
@@ -7667,10 +7859,10 @@ declare const apiOperations: {
|
|
|
7667
7859
|
}>;
|
|
7668
7860
|
amountMinor: z$1.ZodString;
|
|
7669
7861
|
interval: z$1.ZodEnum<{
|
|
7862
|
+
free: "free";
|
|
7670
7863
|
week: "week";
|
|
7671
7864
|
month: "month";
|
|
7672
7865
|
year: "year";
|
|
7673
|
-
free: "free";
|
|
7674
7866
|
one_time: "one_time";
|
|
7675
7867
|
}>;
|
|
7676
7868
|
intervalCount: z$1.ZodNumber;
|
|
@@ -7959,8 +8151,8 @@ declare const apiOperations: {
|
|
|
7959
8151
|
productVersionId: z$1.ZodString;
|
|
7960
8152
|
name: z$1.ZodString;
|
|
7961
8153
|
action: z$1.ZodEnum<{
|
|
7962
|
-
upgrade: "upgrade";
|
|
7963
8154
|
purchase: "purchase";
|
|
8155
|
+
upgrade: "upgrade";
|
|
7964
8156
|
addon: "addon";
|
|
7965
8157
|
topup: "topup";
|
|
7966
8158
|
}>;
|
|
@@ -8002,10 +8194,10 @@ declare const apiOperations: {
|
|
|
8002
8194
|
}>;
|
|
8003
8195
|
amountMinor: z$1.ZodString;
|
|
8004
8196
|
interval: z$1.ZodEnum<{
|
|
8197
|
+
free: "free";
|
|
8005
8198
|
week: "week";
|
|
8006
8199
|
month: "month";
|
|
8007
8200
|
year: "year";
|
|
8008
|
-
free: "free";
|
|
8009
8201
|
one_time: "one_time";
|
|
8010
8202
|
}>;
|
|
8011
8203
|
intervalCount: z$1.ZodNumber;
|
|
@@ -8030,36 +8222,36 @@ declare const apiOperations: {
|
|
|
8030
8222
|
internal_feature_id: z$1.ZodString;
|
|
8031
8223
|
name: z$1.ZodString;
|
|
8032
8224
|
kind: z$1.ZodEnum<{
|
|
8033
|
-
metered: "metered";
|
|
8034
8225
|
access: "access";
|
|
8226
|
+
metered: "metered";
|
|
8035
8227
|
credit: "credit";
|
|
8036
8228
|
}>;
|
|
8037
8229
|
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
8038
8230
|
allowed: z$1.ZodBoolean;
|
|
8039
8231
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8040
|
-
|
|
8232
|
+
not_entitled: "not_entitled";
|
|
8041
8233
|
insufficient_balance: "insufficient_balance";
|
|
8234
|
+
capacity_exceeded: "capacity_exceeded";
|
|
8042
8235
|
limit_exceeded: "limit_exceeded";
|
|
8043
8236
|
awaiting_topup: "awaiting_topup";
|
|
8044
8237
|
authorization_required: "authorization_required";
|
|
8045
8238
|
payment_blocked: "payment_blocked";
|
|
8046
8239
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
8047
|
-
|
|
8048
|
-
capacity_exceeded: "capacity_exceeded";
|
|
8240
|
+
unavailable: "unavailable";
|
|
8049
8241
|
authentication_required: "authentication_required";
|
|
8050
8242
|
}>>;
|
|
8051
8243
|
preview: z$1.ZodNullable<z$1.ZodObject<{
|
|
8052
8244
|
scenario: z$1.ZodEnum<{
|
|
8053
|
-
usage_limit: "usage_limit";
|
|
8054
8245
|
feature_flag: "feature_flag";
|
|
8246
|
+
usage_limit: "usage_limit";
|
|
8055
8247
|
}>;
|
|
8056
8248
|
candidates: z$1.ZodArray<z$1.ZodObject<{
|
|
8057
8249
|
productId: z$1.ZodString;
|
|
8058
8250
|
productVersionId: z$1.ZodString;
|
|
8059
8251
|
name: z$1.ZodString;
|
|
8060
8252
|
action: z$1.ZodEnum<{
|
|
8061
|
-
upgrade: "upgrade";
|
|
8062
8253
|
purchase: "purchase";
|
|
8254
|
+
upgrade: "upgrade";
|
|
8063
8255
|
addon: "addon";
|
|
8064
8256
|
topup: "topup";
|
|
8065
8257
|
}>;
|
|
@@ -8101,10 +8293,10 @@ declare const apiOperations: {
|
|
|
8101
8293
|
}>;
|
|
8102
8294
|
amountMinor: z$1.ZodString;
|
|
8103
8295
|
interval: z$1.ZodEnum<{
|
|
8296
|
+
free: "free";
|
|
8104
8297
|
week: "week";
|
|
8105
8298
|
month: "month";
|
|
8106
8299
|
year: "year";
|
|
8107
|
-
free: "free";
|
|
8108
8300
|
one_time: "one_time";
|
|
8109
8301
|
}>;
|
|
8110
8302
|
intervalCount: z$1.ZodNumber;
|
|
@@ -8144,17 +8336,17 @@ declare const apiOperations: {
|
|
|
8144
8336
|
name: z$1.ZodString;
|
|
8145
8337
|
groupId: z$1.ZodNullable<z$1.ZodString>;
|
|
8146
8338
|
membershipType: z$1.ZodEnum<{
|
|
8147
|
-
main: "main";
|
|
8148
8339
|
addon: "addon";
|
|
8340
|
+
main: "main";
|
|
8149
8341
|
}>;
|
|
8150
8342
|
status: z$1.ZodEnum<{
|
|
8151
|
-
active: "active";
|
|
8152
|
-
scheduled: "scheduled";
|
|
8153
|
-
expired: "expired";
|
|
8154
|
-
past_due: "past_due";
|
|
8155
8343
|
unknown: "unknown";
|
|
8156
8344
|
pending: "pending";
|
|
8345
|
+
active: "active";
|
|
8346
|
+
expired: "expired";
|
|
8347
|
+
scheduled: "scheduled";
|
|
8157
8348
|
trial: "trial";
|
|
8349
|
+
past_due: "past_due";
|
|
8158
8350
|
paused: "paused";
|
|
8159
8351
|
ended: "ended";
|
|
8160
8352
|
trialing: "trialing";
|
|
@@ -8188,8 +8380,8 @@ declare const apiOperations: {
|
|
|
8188
8380
|
toQuantity: z$1.ZodNumber;
|
|
8189
8381
|
}, z$1.core.$strict>>;
|
|
8190
8382
|
status: z$1.ZodEnum<{
|
|
8191
|
-
scheduled: "scheduled";
|
|
8192
8383
|
pending: "pending";
|
|
8384
|
+
scheduled: "scheduled";
|
|
8193
8385
|
prepared: "prepared";
|
|
8194
8386
|
confirmed: "confirmed";
|
|
8195
8387
|
quoted: "quoted";
|
|
@@ -8231,8 +8423,8 @@ declare const apiOperations: {
|
|
|
8231
8423
|
key: z$1.ZodString;
|
|
8232
8424
|
name: z$1.ZodString;
|
|
8233
8425
|
kind: z$1.ZodEnum<{
|
|
8234
|
-
metered: "metered";
|
|
8235
8426
|
access: "access";
|
|
8427
|
+
metered: "metered";
|
|
8236
8428
|
credit: "credit";
|
|
8237
8429
|
}>;
|
|
8238
8430
|
}, z$1.core.$strict>>;
|
|
@@ -8249,8 +8441,8 @@ declare const apiOperations: {
|
|
|
8249
8441
|
customerId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
8250
8442
|
query: z$1.ZodObject<{
|
|
8251
8443
|
type: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8252
|
-
usage: "usage";
|
|
8253
8444
|
source: "source";
|
|
8445
|
+
usage: "usage";
|
|
8254
8446
|
invoice: "invoice";
|
|
8255
8447
|
debt: "debt";
|
|
8256
8448
|
transaction: "transaction";
|
|
@@ -8268,8 +8460,8 @@ declare const apiOperations: {
|
|
|
8268
8460
|
at: z$1.ZodISODateTime;
|
|
8269
8461
|
id: z$1.ZodUUID;
|
|
8270
8462
|
type: z$1.ZodEnum<{
|
|
8271
|
-
usage: "usage";
|
|
8272
8463
|
source: "source";
|
|
8464
|
+
usage: "usage";
|
|
8273
8465
|
invoice: "invoice";
|
|
8274
8466
|
debt: "debt";
|
|
8275
8467
|
transaction: "transaction";
|
|
@@ -8336,22 +8528,22 @@ declare const apiOperations: {
|
|
|
8336
8528
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8337
8529
|
type: z$1.ZodLiteral<"source">;
|
|
8338
8530
|
reason: z$1.ZodEnum<{
|
|
8531
|
+
topup: "topup";
|
|
8339
8532
|
trial: "trial";
|
|
8340
8533
|
membership: "membership";
|
|
8341
8534
|
manual: "manual";
|
|
8342
8535
|
rollover: "rollover";
|
|
8343
|
-
topup: "topup";
|
|
8344
8536
|
seat: "seat";
|
|
8345
8537
|
upgrade_carry: "upgrade_carry";
|
|
8346
8538
|
}>;
|
|
8347
8539
|
quantity: z$1.ZodString;
|
|
8348
8540
|
unlimited: z$1.ZodBoolean;
|
|
8349
8541
|
status: z$1.ZodEnum<{
|
|
8542
|
+
unavailable: "unavailable";
|
|
8350
8543
|
active: "active";
|
|
8351
|
-
scheduled: "scheduled";
|
|
8352
8544
|
expired: "expired";
|
|
8545
|
+
scheduled: "scheduled";
|
|
8353
8546
|
revoked: "revoked";
|
|
8354
|
-
unavailable: "unavailable";
|
|
8355
8547
|
}>;
|
|
8356
8548
|
startsAt: z$1.ZodISODateTime;
|
|
8357
8549
|
expiresAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
@@ -8361,8 +8553,8 @@ declare const apiOperations: {
|
|
|
8361
8553
|
key: z$1.ZodString;
|
|
8362
8554
|
name: z$1.ZodString;
|
|
8363
8555
|
kind: z$1.ZodEnum<{
|
|
8364
|
-
metered: "metered";
|
|
8365
8556
|
access: "access";
|
|
8557
|
+
metered: "metered";
|
|
8366
8558
|
credit: "credit";
|
|
8367
8559
|
}>;
|
|
8368
8560
|
id: z$1.ZodUUID;
|
|
@@ -8384,21 +8576,21 @@ declare const apiOperations: {
|
|
|
8384
8576
|
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
8385
8577
|
accepted: z$1.ZodBoolean;
|
|
8386
8578
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8387
|
-
expired: "expired";
|
|
8388
|
-
unavailable: "unavailable";
|
|
8389
8579
|
insufficient_balance: "insufficient_balance";
|
|
8390
8580
|
limit_exceeded: "limit_exceeded";
|
|
8391
8581
|
awaiting_topup: "awaiting_topup";
|
|
8392
8582
|
authorization_required: "authorization_required";
|
|
8393
8583
|
payment_blocked: "payment_blocked";
|
|
8394
8584
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
8585
|
+
unavailable: "unavailable";
|
|
8586
|
+
expired: "expired";
|
|
8395
8587
|
}>>;
|
|
8396
8588
|
properties: z$1.ZodPipe<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>, z$1.ZodTransform<{
|
|
8397
8589
|
[k: string]: string;
|
|
8398
8590
|
}, Record<string, string | number | boolean>>>;
|
|
8399
8591
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8400
|
-
expired: "expired";
|
|
8401
8592
|
pending: "pending";
|
|
8593
|
+
expired: "expired";
|
|
8402
8594
|
confirmed: "confirmed";
|
|
8403
8595
|
released: "released";
|
|
8404
8596
|
}>>;
|
|
@@ -8419,8 +8611,8 @@ declare const apiOperations: {
|
|
|
8419
8611
|
key: z$1.ZodString;
|
|
8420
8612
|
name: z$1.ZodString;
|
|
8421
8613
|
kind: z$1.ZodEnum<{
|
|
8422
|
-
metered: "metered";
|
|
8423
8614
|
access: "access";
|
|
8615
|
+
metered: "metered";
|
|
8424
8616
|
credit: "credit";
|
|
8425
8617
|
}>;
|
|
8426
8618
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8530,8 +8722,8 @@ declare const apiOperations: {
|
|
|
8530
8722
|
key: z$1.ZodString;
|
|
8531
8723
|
name: z$1.ZodString;
|
|
8532
8724
|
kind: z$1.ZodEnum<{
|
|
8533
|
-
metered: "metered";
|
|
8534
8725
|
access: "access";
|
|
8726
|
+
metered: "metered";
|
|
8535
8727
|
credit: "credit";
|
|
8536
8728
|
}>;
|
|
8537
8729
|
id: z$1.ZodUUID;
|
|
@@ -8556,8 +8748,8 @@ declare const apiOperations: {
|
|
|
8556
8748
|
at: z$1.ZodISODateTime;
|
|
8557
8749
|
id: z$1.ZodUUID;
|
|
8558
8750
|
type: z$1.ZodEnum<{
|
|
8559
|
-
usage: "usage";
|
|
8560
8751
|
source: "source";
|
|
8752
|
+
usage: "usage";
|
|
8561
8753
|
invoice: "invoice";
|
|
8562
8754
|
debt: "debt";
|
|
8563
8755
|
transaction: "transaction";
|
|
@@ -9021,13 +9213,13 @@ declare const apiOperations: {
|
|
|
9021
9213
|
overflow: "overflow";
|
|
9022
9214
|
}>>;
|
|
9023
9215
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9024
|
-
unavailable: "unavailable";
|
|
9025
9216
|
insufficient_balance: "insufficient_balance";
|
|
9026
9217
|
limit_exceeded: "limit_exceeded";
|
|
9027
9218
|
awaiting_topup: "awaiting_topup";
|
|
9028
9219
|
authorization_required: "authorization_required";
|
|
9029
9220
|
payment_blocked: "payment_blocked";
|
|
9030
9221
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
9222
|
+
unavailable: "unavailable";
|
|
9031
9223
|
}>>;
|
|
9032
9224
|
allocations: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
9033
9225
|
funding: z$1.ZodLiteral<"balance">;
|
|
@@ -9117,19 +9309,19 @@ declare const apiOperations: {
|
|
|
9117
9309
|
}>>;
|
|
9118
9310
|
accepted: z$1.ZodBoolean;
|
|
9119
9311
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9120
|
-
expired: "expired";
|
|
9121
|
-
unavailable: "unavailable";
|
|
9122
9312
|
insufficient_balance: "insufficient_balance";
|
|
9123
9313
|
limit_exceeded: "limit_exceeded";
|
|
9124
9314
|
awaiting_topup: "awaiting_topup";
|
|
9125
9315
|
authorization_required: "authorization_required";
|
|
9126
9316
|
payment_blocked: "payment_blocked";
|
|
9127
9317
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
9318
|
+
unavailable: "unavailable";
|
|
9319
|
+
expired: "expired";
|
|
9128
9320
|
}>>;
|
|
9129
9321
|
createdAt: z$1.ZodISODateTime;
|
|
9130
9322
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9131
|
-
expired: "expired";
|
|
9132
9323
|
pending: "pending";
|
|
9324
|
+
expired: "expired";
|
|
9133
9325
|
confirmed: "confirmed";
|
|
9134
9326
|
released: "released";
|
|
9135
9327
|
}>>;
|
|
@@ -9418,19 +9610,19 @@ declare const apiOperations: {
|
|
|
9418
9610
|
}>>;
|
|
9419
9611
|
accepted: z$1.ZodBoolean;
|
|
9420
9612
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9421
|
-
expired: "expired";
|
|
9422
|
-
unavailable: "unavailable";
|
|
9423
9613
|
insufficient_balance: "insufficient_balance";
|
|
9424
9614
|
limit_exceeded: "limit_exceeded";
|
|
9425
9615
|
awaiting_topup: "awaiting_topup";
|
|
9426
9616
|
authorization_required: "authorization_required";
|
|
9427
9617
|
payment_blocked: "payment_blocked";
|
|
9428
9618
|
cash_budget_exceeded: "cash_budget_exceeded";
|
|
9619
|
+
unavailable: "unavailable";
|
|
9620
|
+
expired: "expired";
|
|
9429
9621
|
}>>;
|
|
9430
9622
|
createdAt: z$1.ZodISODateTime;
|
|
9431
9623
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9432
|
-
expired: "expired";
|
|
9433
9624
|
pending: "pending";
|
|
9625
|
+
expired: "expired";
|
|
9434
9626
|
confirmed: "confirmed";
|
|
9435
9627
|
released: "released";
|
|
9436
9628
|
}>>;
|
|
@@ -9494,8 +9686,8 @@ declare const apiOperations: {
|
|
|
9494
9686
|
customerId: z$1.ZodUUID;
|
|
9495
9687
|
referrerId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
9496
9688
|
status: z$1.ZodEnum<{
|
|
9497
|
-
pending: "pending";
|
|
9498
9689
|
unavailable: "unavailable";
|
|
9690
|
+
pending: "pending";
|
|
9499
9691
|
applied: "applied";
|
|
9500
9692
|
}>;
|
|
9501
9693
|
result: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
@@ -9636,8 +9828,8 @@ declare const apiOperations: {
|
|
|
9636
9828
|
failed: "failed";
|
|
9637
9829
|
paid: "paid";
|
|
9638
9830
|
trialing: "trialing";
|
|
9639
|
-
cancelled: "cancelled";
|
|
9640
9831
|
created: "created";
|
|
9832
|
+
cancelled: "cancelled";
|
|
9641
9833
|
}>;
|
|
9642
9834
|
url: z$1.ZodNullable<z$1.ZodURL>;
|
|
9643
9835
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -9891,7 +10083,7 @@ declare const apiOperations: {
|
|
|
9891
10083
|
email: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>>;
|
|
9892
10084
|
attributes: z$1.ZodDefault<z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
9893
10085
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
9894
|
-
}, z$1.core.$
|
|
10086
|
+
}, z$1.core.$loose>>>;
|
|
9895
10087
|
fingerprint: z$1.ZodOptional<z$1.ZodString>;
|
|
9896
10088
|
}, z$1.core.$strict>;
|
|
9897
10089
|
readonly response: z$1.ZodObject<{
|
|
@@ -9910,7 +10102,7 @@ declare const apiOperations: {
|
|
|
9910
10102
|
email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
|
|
9911
10103
|
attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
9912
10104
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
9913
|
-
}, z$1.core.$
|
|
10105
|
+
}, z$1.core.$loose>>;
|
|
9914
10106
|
createdAt: z$1.ZodISODateTime;
|
|
9915
10107
|
}, z$1.core.$strict>;
|
|
9916
10108
|
created: z$1.ZodBoolean;
|
|
@@ -9946,7 +10138,7 @@ declare const apiOperations: {
|
|
|
9946
10138
|
email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
|
|
9947
10139
|
attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
9948
10140
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
9949
|
-
}, z$1.core.$
|
|
10141
|
+
}, z$1.core.$loose>>;
|
|
9950
10142
|
createdAt: z$1.ZodISODateTime;
|
|
9951
10143
|
}, z$1.core.$strict>;
|
|
9952
10144
|
}, z$1.core.$strict>;
|
|
@@ -9963,17 +10155,17 @@ declare const apiOperations: {
|
|
|
9963
10155
|
versionId: z$1.ZodDefault<z$1.ZodString>;
|
|
9964
10156
|
holdingStatus: z$1.ZodDefault<z$1.ZodEnum<{
|
|
9965
10157
|
"": "";
|
|
9966
|
-
|
|
10158
|
+
unavailable: "unavailable";
|
|
9967
10159
|
active: "active";
|
|
9968
|
-
scheduled: "scheduled";
|
|
9969
10160
|
expired: "expired";
|
|
9970
|
-
|
|
10161
|
+
scheduled: "scheduled";
|
|
10162
|
+
none: "none";
|
|
9971
10163
|
}>>;
|
|
9972
10164
|
membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
|
|
9973
10165
|
"": "";
|
|
9974
10166
|
active: "active";
|
|
9975
|
-
past_due: "past_due";
|
|
9976
10167
|
trial: "trial";
|
|
10168
|
+
past_due: "past_due";
|
|
9977
10169
|
ended: "ended";
|
|
9978
10170
|
}>>;
|
|
9979
10171
|
createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
|
|
@@ -9997,7 +10189,7 @@ declare const apiOperations: {
|
|
|
9997
10189
|
email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
|
|
9998
10190
|
attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
9999
10191
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
10000
|
-
}, z$1.core.$
|
|
10192
|
+
}, z$1.core.$loose>>;
|
|
10001
10193
|
createdAt: z$1.ZodISODateTime;
|
|
10002
10194
|
}, z$1.core.$strict>>;
|
|
10003
10195
|
hasMore: z$1.ZodBoolean;
|
|
@@ -10024,7 +10216,7 @@ declare const apiOperations: {
|
|
|
10024
10216
|
email: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>>;
|
|
10025
10217
|
attributes: z$1.ZodOptional<z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
10026
10218
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
10027
|
-
}, z$1.core.$
|
|
10219
|
+
}, z$1.core.$loose>>>;
|
|
10028
10220
|
removeAttributes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
10029
10221
|
tagChanges: z$1.ZodOptional<z$1.ZodObject<{
|
|
10030
10222
|
add: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -10048,7 +10240,7 @@ declare const apiOperations: {
|
|
|
10048
10240
|
email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
|
|
10049
10241
|
attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
10050
10242
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
10051
|
-
}, z$1.core.$
|
|
10243
|
+
}, z$1.core.$loose>>;
|
|
10052
10244
|
createdAt: z$1.ZodISODateTime;
|
|
10053
10245
|
}, z$1.core.$strict>;
|
|
10054
10246
|
changed: z$1.ZodBoolean;
|
|
@@ -10193,7 +10385,7 @@ declare const apiOperations: {
|
|
|
10193
10385
|
email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
|
|
10194
10386
|
attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
|
|
10195
10387
|
tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
10196
|
-
}, z$1.core.$
|
|
10388
|
+
}, z$1.core.$loose>>;
|
|
10197
10389
|
createdAt: z$1.ZodISODateTime;
|
|
10198
10390
|
}, z$1.core.$strict>;
|
|
10199
10391
|
switched: z$1.ZodBoolean;
|
|
@@ -10291,8 +10483,8 @@ declare const apiOperations: {
|
|
|
10291
10483
|
}, z$1.core.$strict>;
|
|
10292
10484
|
}, z$1.core.$strict>>;
|
|
10293
10485
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10294
|
-
claim_disabled: "claim_disabled";
|
|
10295
10486
|
unavailable: "unavailable";
|
|
10487
|
+
claim_disabled: "claim_disabled";
|
|
10296
10488
|
inactive: "inactive";
|
|
10297
10489
|
outside_window: "outside_window";
|
|
10298
10490
|
not_targeted: "not_targeted";
|
|
@@ -10489,8 +10681,8 @@ declare const apiOperations: {
|
|
|
10489
10681
|
}, z$1.core.$strict>;
|
|
10490
10682
|
}, z$1.core.$strict>>;
|
|
10491
10683
|
reason: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10492
|
-
claim_disabled: "claim_disabled";
|
|
10493
10684
|
unavailable: "unavailable";
|
|
10685
|
+
claim_disabled: "claim_disabled";
|
|
10494
10686
|
inactive: "inactive";
|
|
10495
10687
|
outside_window: "outside_window";
|
|
10496
10688
|
not_targeted: "not_targeted";
|
|
@@ -10553,6 +10745,7 @@ interface FoundationApi {
|
|
|
10553
10745
|
getFeatures(): Promise<ApiOutput<"getFeatures">>;
|
|
10554
10746
|
evaluateFeatures(input: ApiInput<"evaluateFeatures">): Promise<ApiOutput<"evaluateFeatures">>;
|
|
10555
10747
|
trackEvents(input: ApiInput<"trackEvents">): Promise<ApiOutput<"trackEvents">>;
|
|
10748
|
+
resolveContent(input: ApiInput<"resolveContent">): Promise<ApiOutput<"resolveContent">>;
|
|
10556
10749
|
resolvePaywall(input: ApiInput<"resolvePaywall">): Promise<ApiOutput<"resolvePaywall">>;
|
|
10557
10750
|
resolveOffering(input: ApiInput<"resolveOffering">): Promise<ApiOutput<"resolveOffering">>;
|
|
10558
10751
|
setupPayment(input: ApiInput<"setupPayment"> & {
|
|
@@ -10673,246 +10866,4 @@ interface FoundationApi {
|
|
|
10673
10866
|
recordCouponRedemption(input: ApiInput<"recordCouponRedemption">): Promise<ApiOutput<"recordCouponRedemption">>;
|
|
10674
10867
|
}
|
|
10675
10868
|
|
|
10676
|
-
|
|
10677
|
-
output: z$1.ZodNumber;
|
|
10678
|
-
input: z$1.ZodNumber;
|
|
10679
|
-
cache_read: z$1.ZodNumber;
|
|
10680
|
-
cache_write: z$1.ZodNumber;
|
|
10681
|
-
reasoning: z$1.ZodNumber;
|
|
10682
|
-
input_audio: z$1.ZodNumber;
|
|
10683
|
-
output_audio: z$1.ZodNumber;
|
|
10684
|
-
}, z$1.core.$strict>;
|
|
10685
|
-
declare const aiPriceSnapshotSchema: z$1.ZodObject<{
|
|
10686
|
-
modelId: z$1.ZodString;
|
|
10687
|
-
source: z$1.ZodEnum<{
|
|
10688
|
-
custom: "custom";
|
|
10689
|
-
"models.dev": "models.dev";
|
|
10690
|
-
}>;
|
|
10691
|
-
fetchedAt: z$1.ZodISODateTime;
|
|
10692
|
-
rates: z$1.ZodObject<{
|
|
10693
|
-
input: z$1.ZodString;
|
|
10694
|
-
output: z$1.ZodString;
|
|
10695
|
-
cache_read: z$1.ZodOptional<z$1.ZodString>;
|
|
10696
|
-
cache_write: z$1.ZodOptional<z$1.ZodString>;
|
|
10697
|
-
reasoning: z$1.ZodOptional<z$1.ZodString>;
|
|
10698
|
-
input_audio: z$1.ZodOptional<z$1.ZodString>;
|
|
10699
|
-
output_audio: z$1.ZodOptional<z$1.ZodString>;
|
|
10700
|
-
}, z$1.core.$strict>;
|
|
10701
|
-
contextTier: z$1.ZodNumber;
|
|
10702
|
-
markupPercent: z$1.ZodNumber;
|
|
10703
|
-
}, z$1.core.$strict>;
|
|
10704
|
-
declare const aiTokenQuoteSchema: z$1.ZodObject<{
|
|
10705
|
-
pricing: z$1.ZodObject<{
|
|
10706
|
-
modelId: z$1.ZodString;
|
|
10707
|
-
source: z$1.ZodEnum<{
|
|
10708
|
-
custom: "custom";
|
|
10709
|
-
"models.dev": "models.dev";
|
|
10710
|
-
}>;
|
|
10711
|
-
fetchedAt: z$1.ZodISODateTime;
|
|
10712
|
-
rates: z$1.ZodObject<{
|
|
10713
|
-
input: z$1.ZodString;
|
|
10714
|
-
output: z$1.ZodString;
|
|
10715
|
-
cache_read: z$1.ZodOptional<z$1.ZodString>;
|
|
10716
|
-
cache_write: z$1.ZodOptional<z$1.ZodString>;
|
|
10717
|
-
reasoning: z$1.ZodOptional<z$1.ZodString>;
|
|
10718
|
-
input_audio: z$1.ZodOptional<z$1.ZodString>;
|
|
10719
|
-
output_audio: z$1.ZodOptional<z$1.ZodString>;
|
|
10720
|
-
}, z$1.core.$strict>;
|
|
10721
|
-
contextTier: z$1.ZodNumber;
|
|
10722
|
-
markupPercent: z$1.ZodNumber;
|
|
10723
|
-
}, z$1.core.$strict>;
|
|
10724
|
-
tokens: z$1.ZodObject<{
|
|
10725
|
-
output: z$1.ZodNumber;
|
|
10726
|
-
input: z$1.ZodNumber;
|
|
10727
|
-
cache_read: z$1.ZodNumber;
|
|
10728
|
-
cache_write: z$1.ZodNumber;
|
|
10729
|
-
reasoning: z$1.ZodNumber;
|
|
10730
|
-
input_audio: z$1.ZodNumber;
|
|
10731
|
-
output_audio: z$1.ZodNumber;
|
|
10732
|
-
}, z$1.core.$strict>;
|
|
10733
|
-
quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
10734
|
-
digest: z$1.ZodString;
|
|
10735
|
-
}, z$1.core.$strict>;
|
|
10736
|
-
type AiTokenQuote = z$1.infer<typeof aiTokenQuoteSchema>;
|
|
10737
|
-
type AiTokenUsage = z$1.infer<typeof tokenCounts>;
|
|
10738
|
-
type AiPricingOptions = {
|
|
10739
|
-
defaultMarkup?: number;
|
|
10740
|
-
providerMarkups?: Record<string, number>;
|
|
10741
|
-
modelMarkups?: Record<string, number>;
|
|
10742
|
-
customModels?: Record<string, Partial<z$1.infer<typeof aiPriceSnapshotSchema>["rates"]>>;
|
|
10743
|
-
fetch?: typeof fetch;
|
|
10744
|
-
};
|
|
10745
|
-
/** Fetch automatic model prices on a trusted backend. Quotes can be saved with a job and reused verbatim on retries. */
|
|
10746
|
-
declare function createAiPricing(options?: AiPricingOptions): {
|
|
10747
|
-
/** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
|
|
10748
|
-
refreshPrices(): void;
|
|
10749
|
-
quoteTokens(input: {
|
|
10750
|
-
modelId: string;
|
|
10751
|
-
tokens: AiTokenUsage;
|
|
10752
|
-
}): Promise<AiTokenQuote>;
|
|
10753
|
-
/** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
|
|
10754
|
-
trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
|
|
10755
|
-
customerId: string;
|
|
10756
|
-
internal_feature_id: string;
|
|
10757
|
-
entityId?: string;
|
|
10758
|
-
idempotencyKey: string;
|
|
10759
|
-
quote: AiTokenQuote;
|
|
10760
|
-
properties?: Record<string, string>;
|
|
10761
|
-
providerCostUsd?: string;
|
|
10762
|
-
generationId?: string;
|
|
10763
|
-
}): Promise<{
|
|
10764
|
-
requestId: string;
|
|
10765
|
-
scope: {
|
|
10766
|
-
projectId: string;
|
|
10767
|
-
environment: "sandbox" | "live";
|
|
10768
|
-
};
|
|
10769
|
-
receipt: {
|
|
10770
|
-
id: string;
|
|
10771
|
-
internal_feature_id: string;
|
|
10772
|
-
kind: "consume" | "reserve" | "confirm" | "refund" | "release" | "expire";
|
|
10773
|
-
originalId: string | null;
|
|
10774
|
-
quantity: string;
|
|
10775
|
-
accepted: boolean;
|
|
10776
|
-
reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
|
|
10777
|
-
createdAt: string;
|
|
10778
|
-
reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
|
|
10779
|
-
expiresAt: string | null;
|
|
10780
|
-
allocations: ({
|
|
10781
|
-
funding: "prepaid";
|
|
10782
|
-
sourceId: string;
|
|
10783
|
-
units: string;
|
|
10784
|
-
amount: string;
|
|
10785
|
-
pricing: {
|
|
10786
|
-
internal_credit_feature_id: string | null;
|
|
10787
|
-
internal_metered_feature_id: string;
|
|
10788
|
-
dimension: string;
|
|
10789
|
-
counterKey: string;
|
|
10790
|
-
cycleStart: string;
|
|
10791
|
-
unitCost: string;
|
|
10792
|
-
units: string;
|
|
10793
|
-
amount: string;
|
|
10794
|
-
tier: number | null;
|
|
10795
|
-
}[];
|
|
10796
|
-
} | {
|
|
10797
|
-
funding: "balance";
|
|
10798
|
-
sourceId: string;
|
|
10799
|
-
rolloverId: string | null;
|
|
10800
|
-
units: string;
|
|
10801
|
-
amount: string;
|
|
10802
|
-
} | {
|
|
10803
|
-
funding: "unbilled";
|
|
10804
|
-
units: string;
|
|
10805
|
-
} | {
|
|
10806
|
-
funding: "postpaid";
|
|
10807
|
-
invoiceLineId: string | null;
|
|
10808
|
-
units: string;
|
|
10809
|
-
authorizationId: string;
|
|
10810
|
-
})[];
|
|
10811
|
-
requestedQuantity?: string | undefined;
|
|
10812
|
-
overageBehavior?: "cap" | "overflow" | undefined;
|
|
10813
|
-
};
|
|
10814
|
-
}>;
|
|
10815
|
-
};
|
|
10816
|
-
/** Read one published configuration for new provider calls. Saved quotes keep their original rules. */
|
|
10817
|
-
declare function createConfiguredAiPricing(client: Pick<FoundationApi, "readAiPricing">, input: ApiInput<"readAiPricing">, options?: Pick<AiPricingOptions, "fetch">): Promise<{
|
|
10818
|
-
/** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
|
|
10819
|
-
refreshPrices(): void;
|
|
10820
|
-
quoteTokens(input: {
|
|
10821
|
-
modelId: string;
|
|
10822
|
-
tokens: AiTokenUsage;
|
|
10823
|
-
}): Promise<AiTokenQuote>;
|
|
10824
|
-
/** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
|
|
10825
|
-
trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
|
|
10826
|
-
customerId: string;
|
|
10827
|
-
internal_feature_id: string;
|
|
10828
|
-
entityId?: string;
|
|
10829
|
-
idempotencyKey: string;
|
|
10830
|
-
quote: AiTokenQuote;
|
|
10831
|
-
properties?: Record<string, string>;
|
|
10832
|
-
providerCostUsd?: string;
|
|
10833
|
-
generationId?: string;
|
|
10834
|
-
}): Promise<{
|
|
10835
|
-
requestId: string;
|
|
10836
|
-
scope: {
|
|
10837
|
-
projectId: string;
|
|
10838
|
-
environment: "sandbox" | "live";
|
|
10839
|
-
};
|
|
10840
|
-
receipt: {
|
|
10841
|
-
id: string;
|
|
10842
|
-
internal_feature_id: string;
|
|
10843
|
-
kind: "consume" | "reserve" | "confirm" | "refund" | "release" | "expire";
|
|
10844
|
-
originalId: string | null;
|
|
10845
|
-
quantity: string;
|
|
10846
|
-
accepted: boolean;
|
|
10847
|
-
reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
|
|
10848
|
-
createdAt: string;
|
|
10849
|
-
reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
|
|
10850
|
-
expiresAt: string | null;
|
|
10851
|
-
allocations: ({
|
|
10852
|
-
funding: "prepaid";
|
|
10853
|
-
sourceId: string;
|
|
10854
|
-
units: string;
|
|
10855
|
-
amount: string;
|
|
10856
|
-
pricing: {
|
|
10857
|
-
internal_credit_feature_id: string | null;
|
|
10858
|
-
internal_metered_feature_id: string;
|
|
10859
|
-
dimension: string;
|
|
10860
|
-
counterKey: string;
|
|
10861
|
-
cycleStart: string;
|
|
10862
|
-
unitCost: string;
|
|
10863
|
-
units: string;
|
|
10864
|
-
amount: string;
|
|
10865
|
-
tier: number | null;
|
|
10866
|
-
}[];
|
|
10867
|
-
} | {
|
|
10868
|
-
funding: "balance";
|
|
10869
|
-
sourceId: string;
|
|
10870
|
-
rolloverId: string | null;
|
|
10871
|
-
units: string;
|
|
10872
|
-
amount: string;
|
|
10873
|
-
} | {
|
|
10874
|
-
funding: "unbilled";
|
|
10875
|
-
units: string;
|
|
10876
|
-
} | {
|
|
10877
|
-
funding: "postpaid";
|
|
10878
|
-
invoiceLineId: string | null;
|
|
10879
|
-
units: string;
|
|
10880
|
-
authorizationId: string;
|
|
10881
|
-
})[];
|
|
10882
|
-
requestedQuantity?: string | undefined;
|
|
10883
|
-
overageBehavior?: "cap" | "overflow" | undefined;
|
|
10884
|
-
};
|
|
10885
|
-
}>;
|
|
10886
|
-
}>;
|
|
10887
|
-
|
|
10888
|
-
type AiUsageContext = {
|
|
10889
|
-
customerId: string;
|
|
10890
|
-
internal_feature_id: string;
|
|
10891
|
-
entityId?: string;
|
|
10892
|
-
idempotencyKey: string;
|
|
10893
|
-
properties?: Record<string, string>;
|
|
10894
|
-
};
|
|
10895
|
-
type AiUsageRecord = {
|
|
10896
|
-
context: AiUsageContext;
|
|
10897
|
-
modelId: string;
|
|
10898
|
-
usage: LanguageModelV4Usage | null;
|
|
10899
|
-
tokens: AiTokenUsage | null;
|
|
10900
|
-
quote: AiTokenQuote | null;
|
|
10901
|
-
receipt: Awaited<ReturnType<FoundationApi["mutateBalance"]>> | null;
|
|
10902
|
-
phase: "captured" | "quoted" | "settled" | "incomplete";
|
|
10903
|
-
};
|
|
10904
|
-
type AiUsageMiddlewareOptions = {
|
|
10905
|
-
pricing: ReturnType<typeof createAiPricing>;
|
|
10906
|
-
client: Pick<FoundationApi, "mutateBalance">;
|
|
10907
|
-
modelId: string;
|
|
10908
|
-
/** Allocate a durable, unique ID per provider call, including each tool step. */
|
|
10909
|
-
context: () => AiUsageContext | Promise<AiUsageContext>;
|
|
10910
|
-
/** Save raw usage before pricing, and the frozen quote before a balance request. */
|
|
10911
|
-
persist: (record: AiUsageRecord) => Promise<void>;
|
|
10912
|
-
reasoning: "output" | "separate";
|
|
10913
|
-
mapTokens?: (usage: LanguageModelV4Usage) => AiTokenUsage;
|
|
10914
|
-
};
|
|
10915
|
-
/** Current AI SDK v7 / LanguageModelV4 only. Never suppress a failed financial settlement. */
|
|
10916
|
-
declare function createAiUsageMiddleware(options: AiUsageMiddlewareOptions): LanguageModelV4Middleware;
|
|
10917
|
-
|
|
10918
|
-
export { type ApiInput as A, type FoundationApi as F, type InvoiceModeParams as I, type OfferingItem as O, type AiUsageContext as a, type AiTokenUsage as b, createAiPricing as c, type AiTokenQuote as d, type InvoiceModeParamsInput as e, type AiPricingOptions as f, type AiUsageMiddlewareOptions as g, type AiUsageRecord as h, aiPriceSnapshotSchema as i, aiTokenQuoteSchema as j, createAiUsageMiddleware as k, createConfiguredAiPricing as l };
|
|
10869
|
+
export type { ApiInput as A, FoundationApi as F, InvoiceModeParams as I, OfferingItem as O, InvoiceModeParamsInput as a };
|