@tinkerlandai/indiana-sdk 0.9.1 → 0.9.5
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 +16 -0
- package/README.md +60 -4
- package/README.zh-CN.md +26 -3
- package/dist/{ai-usage-DMNKvCiq.d.ts → ai-usage-CUTIHAU0.d.ts} +5 -5
- package/dist/{api--Zf0gxfj.d.ts → api-BXu6TAoB.d.ts} +274 -127
- package/dist/{chunk-JEFEBF2H.js → chunk-4C3HUZ3B.js} +1 -1
- package/dist/chunk-5ZWSFE2C.js +1 -0
- package/dist/chunk-6ZZUNGNE.js +1 -0
- package/dist/chunk-AOGPGUWE.js +1 -0
- package/dist/chunk-BOCKPUCM.js +2 -0
- package/dist/chunk-CLXORAOK.js +1 -0
- package/dist/chunk-HEGNIATD.js +1 -0
- package/dist/{chunk-7IB7CZ5P.js → chunk-LMO3FXRT.js} +1 -1
- package/dist/chunk-M7JWCLYX.js +173 -0
- package/dist/chunk-MKV726FV.js +1 -0
- package/dist/chunk-QYECMZJJ.js +1 -0
- package/dist/chunk-UBMPFTGE.js +1 -0
- package/dist/chunk-UWFYBRM2.js +6 -0
- package/dist/chunk-XRXI3DMZ.js +1 -0
- package/dist/chunk-XSOEA4A5.js +4 -0
- package/dist/{configuration-sync-E98CqVwh.d.ts → configuration-sync-DuJl4SbM.d.ts} +64 -11
- package/dist/content-PQJYLAGQ.js +1 -0
- package/dist/coupon-fA1QujHt.d.ts +184 -0
- package/dist/{customer-page-9B97Qdt_.d.ts → customer-page-km5f1PJZ.d.ts} +86 -182
- package/dist/{funnel-local-client-BjPwXlQb.d.ts → funnel-local-client-BhHdi5_V.d.ts} +2843 -1187
- package/dist/funnel-node-evaluation-DuPmqIo1.d.ts +998 -0
- package/dist/funnel-resource-client-BoIhL_my.d.ts +9674 -0
- package/dist/funnel-runtime-host-3YUGXD3Y.js +1 -0
- package/dist/index.d.ts +1292 -9349
- package/dist/index.js +1 -1
- package/dist/native-shell.js +1 -1
- package/dist/openrouter.d.ts +3 -3
- package/dist/openrouter.js +1 -1
- package/dist/page.d.ts +3 -3
- package/dist/page.js +1 -1
- package/dist/paywall-CSAGKPCP.js +1 -0
- package/dist/popup.d.ts +7 -5
- package/dist/popup.js +1 -1
- package/dist/react-native.d.ts +23680 -173
- package/dist/react-native.js +1 -1
- package/dist/{screen-BITZ11jn.d.ts → screen-CvfI_L41.d.ts} +157 -4
- package/dist/{screen-renderer-A6VYE2QL.js → screen-renderer-VAMWY7ID.js} +1 -1
- package/dist/server.d.ts +355 -95
- package/dist/server.js +1 -1
- package/dist/visual-dom-OFB7BFFB.js +1 -0
- package/dist/visual.d.ts +1 -1
- package/dist/visual.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5O667MKA.js +0 -1
- package/dist/chunk-CPLLMISZ.js +0 -1
- package/dist/chunk-DAWZULXZ.js +0 -1
- package/dist/chunk-G23YNWWI.js +0 -1
- package/dist/chunk-IH4KBLNR.js +0 -1
- package/dist/chunk-L7LKE3MG.js +0 -173
- package/dist/chunk-NH2PTTNK.js +0 -2
- package/dist/chunk-NTP55JMK.js +0 -1
- package/dist/chunk-SX5MO56H.js +0 -4
- package/dist/chunk-UBRLGIZE.js +0 -1
- package/dist/chunk-YAU4DI52.js +0 -1
- package/dist/content-YAPEUX6I.js +0 -1
- package/dist/errors-0TSUIbUi.d.ts +0 -115
- package/dist/funnel-runtime-host-OZA763NT.js +0 -1
- package/dist/paywall-EM7RGU56.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StackNode } from './screen-
|
|
1
|
+
import { S as StackNode } from './screen-CvfI_L41.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
|
|
@@ -699,8 +699,8 @@ declare const apiOperations: {
|
|
|
699
699
|
id: z$1.ZodUUID;
|
|
700
700
|
status: z$1.ZodEnum<{
|
|
701
701
|
unknown: "unknown";
|
|
702
|
-
accepted: "accepted";
|
|
703
702
|
failed: "failed";
|
|
703
|
+
accepted: "accepted";
|
|
704
704
|
queued: "queued";
|
|
705
705
|
leased: "leased";
|
|
706
706
|
dispatching: "dispatching";
|
|
@@ -711,8 +711,8 @@ declare const apiOperations: {
|
|
|
711
711
|
attempts: z$1.ZodNumber;
|
|
712
712
|
receipts: z$1.ZodArray<z$1.ZodObject<{
|
|
713
713
|
kind: z$1.ZodEnum<{
|
|
714
|
-
accepted: "accepted";
|
|
715
714
|
failed: "failed";
|
|
715
|
+
accepted: "accepted";
|
|
716
716
|
sent: "sent";
|
|
717
717
|
delivered: "delivered";
|
|
718
718
|
delayed: "delayed";
|
|
@@ -1963,11 +1963,11 @@ declare const apiOperations: {
|
|
|
1963
1963
|
week: "week";
|
|
1964
1964
|
month: "month";
|
|
1965
1965
|
year: "year";
|
|
1966
|
+
hour: "hour";
|
|
1967
|
+
day: "day";
|
|
1966
1968
|
quarter: "quarter";
|
|
1967
1969
|
semi_annual: "semi_annual";
|
|
1968
1970
|
minute: "minute";
|
|
1969
|
-
hour: "hour";
|
|
1970
|
-
day: "day";
|
|
1971
1971
|
}>;
|
|
1972
1972
|
count: z$1.ZodNumber;
|
|
1973
1973
|
}, z$1.core.$strict>>;
|
|
@@ -2026,11 +2026,11 @@ declare const apiOperations: {
|
|
|
2026
2026
|
week: "week";
|
|
2027
2027
|
month: "month";
|
|
2028
2028
|
year: "year";
|
|
2029
|
+
hour: "hour";
|
|
2030
|
+
day: "day";
|
|
2029
2031
|
quarter: "quarter";
|
|
2030
2032
|
semi_annual: "semi_annual";
|
|
2031
2033
|
minute: "minute";
|
|
2032
|
-
hour: "hour";
|
|
2033
|
-
day: "day";
|
|
2034
2034
|
}>;
|
|
2035
2035
|
count: z$1.ZodNumber;
|
|
2036
2036
|
}, z$1.core.$strict>>;
|
|
@@ -2080,11 +2080,11 @@ declare const apiOperations: {
|
|
|
2080
2080
|
week: "week";
|
|
2081
2081
|
month: "month";
|
|
2082
2082
|
year: "year";
|
|
2083
|
+
hour: "hour";
|
|
2084
|
+
day: "day";
|
|
2083
2085
|
quarter: "quarter";
|
|
2084
2086
|
semi_annual: "semi_annual";
|
|
2085
2087
|
minute: "minute";
|
|
2086
|
-
hour: "hour";
|
|
2087
|
-
day: "day";
|
|
2088
2088
|
}>;
|
|
2089
2089
|
count: z$1.ZodNumber;
|
|
2090
2090
|
}, z$1.core.$strict>>;
|
|
@@ -2148,11 +2148,11 @@ declare const apiOperations: {
|
|
|
2148
2148
|
orderId: z$1.ZodUUID;
|
|
2149
2149
|
purchaseIntentId: z$1.ZodUUID;
|
|
2150
2150
|
status: z$1.ZodEnum<{
|
|
2151
|
-
pending: "pending";
|
|
2152
|
-
paid: "paid";
|
|
2153
2151
|
failed: "failed";
|
|
2154
|
-
|
|
2152
|
+
pending: "pending";
|
|
2155
2153
|
cancelled: "cancelled";
|
|
2154
|
+
trialing: "trialing";
|
|
2155
|
+
paid: "paid";
|
|
2156
2156
|
created: "created";
|
|
2157
2157
|
}>;
|
|
2158
2158
|
currency: z$1.ZodEnum<{
|
|
@@ -2257,8 +2257,8 @@ declare const apiOperations: {
|
|
|
2257
2257
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2258
2258
|
status: z$1.ZodEnum<{
|
|
2259
2259
|
expired: "expired";
|
|
2260
|
-
prepared: "prepared";
|
|
2261
2260
|
complete: "complete";
|
|
2261
|
+
prepared: "prepared";
|
|
2262
2262
|
}>;
|
|
2263
2263
|
currency: z$1.ZodEnum<{
|
|
2264
2264
|
USD: "USD";
|
|
@@ -2343,8 +2343,8 @@ declare const apiOperations: {
|
|
|
2343
2343
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2344
2344
|
status: z$1.ZodEnum<{
|
|
2345
2345
|
expired: "expired";
|
|
2346
|
-
prepared: "prepared";
|
|
2347
2346
|
complete: "complete";
|
|
2347
|
+
prepared: "prepared";
|
|
2348
2348
|
}>;
|
|
2349
2349
|
currency: z$1.ZodEnum<{
|
|
2350
2350
|
USD: "USD";
|
|
@@ -2439,11 +2439,11 @@ declare const apiOperations: {
|
|
|
2439
2439
|
batchId: z$1.ZodUUID;
|
|
2440
2440
|
ready: z$1.ZodBoolean;
|
|
2441
2441
|
status: z$1.ZodEnum<{
|
|
2442
|
+
pending: "pending";
|
|
2442
2443
|
expired: "expired";
|
|
2444
|
+
cancelled: "cancelled";
|
|
2443
2445
|
prepared: "prepared";
|
|
2444
|
-
pending: "pending";
|
|
2445
2446
|
effective: "effective";
|
|
2446
|
-
cancelled: "cancelled";
|
|
2447
2447
|
partial: "partial";
|
|
2448
2448
|
action_required: "action_required";
|
|
2449
2449
|
}>;
|
|
@@ -2466,13 +2466,13 @@ declare const apiOperations: {
|
|
|
2466
2466
|
renewal: "renewal";
|
|
2467
2467
|
}>;
|
|
2468
2468
|
status: z$1.ZodEnum<{
|
|
2469
|
+
failed: "failed";
|
|
2470
|
+
pending: "pending";
|
|
2471
|
+
cancelled: "cancelled";
|
|
2469
2472
|
scheduled: "scheduled";
|
|
2470
2473
|
prepared: "prepared";
|
|
2471
|
-
pending: "pending";
|
|
2472
|
-
failed: "failed";
|
|
2473
2474
|
effective: "effective";
|
|
2474
2475
|
confirmed: "confirmed";
|
|
2475
|
-
cancelled: "cancelled";
|
|
2476
2476
|
store_action_required: "store_action_required";
|
|
2477
2477
|
}>;
|
|
2478
2478
|
quote: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2538,8 +2538,8 @@ declare const apiOperations: {
|
|
|
2538
2538
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2539
2539
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2540
2540
|
executor: z$1.ZodEnum<{
|
|
2541
|
-
indiana: "indiana";
|
|
2542
2541
|
merchant: "merchant";
|
|
2542
|
+
indiana: "indiana";
|
|
2543
2543
|
}>;
|
|
2544
2544
|
accountId: z$1.ZodString;
|
|
2545
2545
|
subscriptionId: z$1.ZodString;
|
|
@@ -2640,11 +2640,11 @@ declare const apiOperations: {
|
|
|
2640
2640
|
batchId: z$1.ZodUUID;
|
|
2641
2641
|
ready: z$1.ZodBoolean;
|
|
2642
2642
|
status: z$1.ZodEnum<{
|
|
2643
|
+
pending: "pending";
|
|
2643
2644
|
expired: "expired";
|
|
2645
|
+
cancelled: "cancelled";
|
|
2644
2646
|
prepared: "prepared";
|
|
2645
|
-
pending: "pending";
|
|
2646
2647
|
effective: "effective";
|
|
2647
|
-
cancelled: "cancelled";
|
|
2648
2648
|
partial: "partial";
|
|
2649
2649
|
action_required: "action_required";
|
|
2650
2650
|
}>;
|
|
@@ -2667,13 +2667,13 @@ declare const apiOperations: {
|
|
|
2667
2667
|
renewal: "renewal";
|
|
2668
2668
|
}>;
|
|
2669
2669
|
status: z$1.ZodEnum<{
|
|
2670
|
+
failed: "failed";
|
|
2671
|
+
pending: "pending";
|
|
2672
|
+
cancelled: "cancelled";
|
|
2670
2673
|
scheduled: "scheduled";
|
|
2671
2674
|
prepared: "prepared";
|
|
2672
|
-
pending: "pending";
|
|
2673
|
-
failed: "failed";
|
|
2674
2675
|
effective: "effective";
|
|
2675
2676
|
confirmed: "confirmed";
|
|
2676
|
-
cancelled: "cancelled";
|
|
2677
2677
|
store_action_required: "store_action_required";
|
|
2678
2678
|
}>;
|
|
2679
2679
|
quote: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2739,8 +2739,8 @@ declare const apiOperations: {
|
|
|
2739
2739
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2740
2740
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2741
2741
|
executor: z$1.ZodEnum<{
|
|
2742
|
-
indiana: "indiana";
|
|
2743
2742
|
merchant: "merchant";
|
|
2743
|
+
indiana: "indiana";
|
|
2744
2744
|
}>;
|
|
2745
2745
|
accountId: z$1.ZodString;
|
|
2746
2746
|
subscriptionId: z$1.ZodString;
|
|
@@ -2841,11 +2841,11 @@ declare const apiOperations: {
|
|
|
2841
2841
|
batchId: z$1.ZodUUID;
|
|
2842
2842
|
ready: z$1.ZodBoolean;
|
|
2843
2843
|
status: z$1.ZodEnum<{
|
|
2844
|
+
pending: "pending";
|
|
2844
2845
|
expired: "expired";
|
|
2846
|
+
cancelled: "cancelled";
|
|
2845
2847
|
prepared: "prepared";
|
|
2846
|
-
pending: "pending";
|
|
2847
2848
|
effective: "effective";
|
|
2848
|
-
cancelled: "cancelled";
|
|
2849
2849
|
partial: "partial";
|
|
2850
2850
|
action_required: "action_required";
|
|
2851
2851
|
}>;
|
|
@@ -2868,13 +2868,13 @@ declare const apiOperations: {
|
|
|
2868
2868
|
renewal: "renewal";
|
|
2869
2869
|
}>;
|
|
2870
2870
|
status: z$1.ZodEnum<{
|
|
2871
|
+
failed: "failed";
|
|
2872
|
+
pending: "pending";
|
|
2873
|
+
cancelled: "cancelled";
|
|
2871
2874
|
scheduled: "scheduled";
|
|
2872
2875
|
prepared: "prepared";
|
|
2873
|
-
pending: "pending";
|
|
2874
|
-
failed: "failed";
|
|
2875
2876
|
effective: "effective";
|
|
2876
2877
|
confirmed: "confirmed";
|
|
2877
|
-
cancelled: "cancelled";
|
|
2878
2878
|
store_action_required: "store_action_required";
|
|
2879
2879
|
}>;
|
|
2880
2880
|
quote: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2940,8 +2940,8 @@ declare const apiOperations: {
|
|
|
2940
2940
|
provider: z$1.ZodLiteral<"stripe">;
|
|
2941
2941
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
2942
2942
|
executor: z$1.ZodEnum<{
|
|
2943
|
-
indiana: "indiana";
|
|
2944
2943
|
merchant: "merchant";
|
|
2944
|
+
indiana: "indiana";
|
|
2945
2945
|
}>;
|
|
2946
2946
|
accountId: z$1.ZodString;
|
|
2947
2947
|
subscriptionId: z$1.ZodString;
|
|
@@ -3042,11 +3042,11 @@ declare const apiOperations: {
|
|
|
3042
3042
|
batchId: z$1.ZodUUID;
|
|
3043
3043
|
ready: z$1.ZodBoolean;
|
|
3044
3044
|
status: z$1.ZodEnum<{
|
|
3045
|
+
pending: "pending";
|
|
3045
3046
|
expired: "expired";
|
|
3047
|
+
cancelled: "cancelled";
|
|
3046
3048
|
prepared: "prepared";
|
|
3047
|
-
pending: "pending";
|
|
3048
3049
|
effective: "effective";
|
|
3049
|
-
cancelled: "cancelled";
|
|
3050
3050
|
partial: "partial";
|
|
3051
3051
|
action_required: "action_required";
|
|
3052
3052
|
}>;
|
|
@@ -3069,13 +3069,13 @@ declare const apiOperations: {
|
|
|
3069
3069
|
renewal: "renewal";
|
|
3070
3070
|
}>;
|
|
3071
3071
|
status: z$1.ZodEnum<{
|
|
3072
|
+
failed: "failed";
|
|
3073
|
+
pending: "pending";
|
|
3074
|
+
cancelled: "cancelled";
|
|
3072
3075
|
scheduled: "scheduled";
|
|
3073
3076
|
prepared: "prepared";
|
|
3074
|
-
pending: "pending";
|
|
3075
|
-
failed: "failed";
|
|
3076
3077
|
effective: "effective";
|
|
3077
3078
|
confirmed: "confirmed";
|
|
3078
|
-
cancelled: "cancelled";
|
|
3079
3079
|
store_action_required: "store_action_required";
|
|
3080
3080
|
}>;
|
|
3081
3081
|
quote: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3141,8 +3141,8 @@ declare const apiOperations: {
|
|
|
3141
3141
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3142
3142
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
3143
3143
|
executor: z$1.ZodEnum<{
|
|
3144
|
-
indiana: "indiana";
|
|
3145
3144
|
merchant: "merchant";
|
|
3145
|
+
indiana: "indiana";
|
|
3146
3146
|
}>;
|
|
3147
3147
|
accountId: z$1.ZodString;
|
|
3148
3148
|
subscriptionId: z$1.ZodString;
|
|
@@ -3277,8 +3277,8 @@ declare const apiOperations: {
|
|
|
3277
3277
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
3278
3278
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3279
3279
|
executor: z$1.ZodEnum<{
|
|
3280
|
-
indiana: "indiana";
|
|
3281
3280
|
merchant: "merchant";
|
|
3281
|
+
indiana: "indiana";
|
|
3282
3282
|
}>;
|
|
3283
3283
|
accountId: z$1.ZodString;
|
|
3284
3284
|
subscriptionId: z$1.ZodString;
|
|
@@ -3326,8 +3326,8 @@ declare const apiOperations: {
|
|
|
3326
3326
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
3327
3327
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3328
3328
|
executor: z$1.ZodEnum<{
|
|
3329
|
-
indiana: "indiana";
|
|
3330
3329
|
merchant: "merchant";
|
|
3330
|
+
indiana: "indiana";
|
|
3331
3331
|
}>;
|
|
3332
3332
|
accountId: z$1.ZodString;
|
|
3333
3333
|
subscriptionId: z$1.ZodString;
|
|
@@ -3636,10 +3636,10 @@ declare const apiOperations: {
|
|
|
3636
3636
|
quantity: "quantity";
|
|
3637
3637
|
currency: "currency";
|
|
3638
3638
|
price: "price";
|
|
3639
|
+
subscription: "subscription";
|
|
3639
3640
|
status: "status";
|
|
3640
|
-
product: "product";
|
|
3641
3641
|
cancelAtPeriodEnd: "cancelAtPeriodEnd";
|
|
3642
|
-
|
|
3642
|
+
product: "product";
|
|
3643
3643
|
trialEnd: "trialEnd";
|
|
3644
3644
|
item: "item";
|
|
3645
3645
|
periodStart: "periodStart";
|
|
@@ -3981,13 +3981,13 @@ declare const apiOperations: {
|
|
|
3981
3981
|
}, z$1.core.$strict>>;
|
|
3982
3982
|
provider: z$1.ZodLiteral<"stripe">;
|
|
3983
3983
|
executor: z$1.ZodEnum<{
|
|
3984
|
-
indiana: "indiana";
|
|
3985
3984
|
merchant: "merchant";
|
|
3985
|
+
indiana: "indiana";
|
|
3986
3986
|
}>;
|
|
3987
3987
|
accountId: z$1.ZodString;
|
|
3988
3988
|
mode: z$1.ZodEnum<{
|
|
3989
|
-
payment: "payment";
|
|
3990
3989
|
subscription: "subscription";
|
|
3990
|
+
payment: "payment";
|
|
3991
3991
|
}>;
|
|
3992
3992
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
3993
3993
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4045,6 +4045,66 @@ declare const apiOperations: {
|
|
|
4045
4045
|
}, z$1.core.$strict>;
|
|
4046
4046
|
}, z$1.core.$strict>;
|
|
4047
4047
|
};
|
|
4048
|
+
readonly recordBillingEvent: {
|
|
4049
|
+
readonly method: "POST";
|
|
4050
|
+
readonly path: "billing/events/record";
|
|
4051
|
+
readonly permission: "billing:write";
|
|
4052
|
+
readonly audience: "server";
|
|
4053
|
+
readonly request: z$1.ZodObject<{
|
|
4054
|
+
provider: z$1.ZodLiteral<"stripe">;
|
|
4055
|
+
accountId: z$1.ZodString;
|
|
4056
|
+
eventId: z$1.ZodString;
|
|
4057
|
+
type: z$1.ZodEnum<{
|
|
4058
|
+
"checkout.session.completed": "checkout.session.completed";
|
|
4059
|
+
"checkout.session.expired": "checkout.session.expired";
|
|
4060
|
+
"checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
|
|
4061
|
+
"checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
|
|
4062
|
+
"customer.subscription.created": "customer.subscription.created";
|
|
4063
|
+
"customer.subscription.updated": "customer.subscription.updated";
|
|
4064
|
+
"customer.subscription.deleted": "customer.subscription.deleted";
|
|
4065
|
+
"customer.subscription.paused": "customer.subscription.paused";
|
|
4066
|
+
"customer.subscription.resumed": "customer.subscription.resumed";
|
|
4067
|
+
"invoice.created": "invoice.created";
|
|
4068
|
+
"invoice.paid": "invoice.paid";
|
|
4069
|
+
"customer.discount.created": "customer.discount.created";
|
|
4070
|
+
"customer.discount.updated": "customer.discount.updated";
|
|
4071
|
+
"refund.created": "refund.created";
|
|
4072
|
+
"refund.updated": "refund.updated";
|
|
4073
|
+
"refund.failed": "refund.failed";
|
|
4074
|
+
"charge.refunded": "charge.refunded";
|
|
4075
|
+
}>;
|
|
4076
|
+
occurredAt: z$1.ZodNumber;
|
|
4077
|
+
data: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>, z$1.ZodObject<{
|
|
4078
|
+
id: z$1.ZodString;
|
|
4079
|
+
object: z$1.ZodEnum<{
|
|
4080
|
+
"checkout.session": "checkout.session";
|
|
4081
|
+
subscription: "subscription";
|
|
4082
|
+
invoice: "invoice";
|
|
4083
|
+
discount: "discount";
|
|
4084
|
+
refund: "refund";
|
|
4085
|
+
charge: "charge";
|
|
4086
|
+
}>;
|
|
4087
|
+
livemode: z$1.ZodBoolean;
|
|
4088
|
+
}, z$1.core.$strip>>;
|
|
4089
|
+
}, z$1.core.$strict>;
|
|
4090
|
+
readonly response: z$1.ZodObject<{
|
|
4091
|
+
requestId: z$1.ZodUUID;
|
|
4092
|
+
scope: z$1.ZodObject<{
|
|
4093
|
+
projectId: z$1.ZodString;
|
|
4094
|
+
environment: z$1.ZodEnum<{
|
|
4095
|
+
sandbox: "sandbox";
|
|
4096
|
+
live: "live";
|
|
4097
|
+
}>;
|
|
4098
|
+
}, z$1.core.$strict>;
|
|
4099
|
+
record: z$1.ZodObject<{
|
|
4100
|
+
id: z$1.ZodUUID;
|
|
4101
|
+
eventId: z$1.ZodString;
|
|
4102
|
+
source: z$1.ZodLiteral<"merchant">;
|
|
4103
|
+
providerVerified: z$1.ZodLiteral<false>;
|
|
4104
|
+
outcome: z$1.ZodString;
|
|
4105
|
+
}, z$1.core.$strict>;
|
|
4106
|
+
}, z$1.core.$strict>;
|
|
4107
|
+
};
|
|
4048
4108
|
readonly attach: {
|
|
4049
4109
|
readonly method: "POST";
|
|
4050
4110
|
readonly path: "subscriptions/attach";
|
|
@@ -4073,14 +4133,14 @@ declare const apiOperations: {
|
|
|
4073
4133
|
append: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4074
4134
|
invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4075
4135
|
status: z$1.ZodEnum<{
|
|
4076
|
-
pending: "pending";
|
|
4077
4136
|
failed: "failed";
|
|
4137
|
+
pending: "pending";
|
|
4078
4138
|
complete: "complete";
|
|
4079
4139
|
cancelled: "cancelled";
|
|
4080
4140
|
}>;
|
|
4081
4141
|
executor: z$1.ZodEnum<{
|
|
4082
|
-
indiana: "indiana";
|
|
4083
4142
|
merchant: "merchant";
|
|
4143
|
+
indiana: "indiana";
|
|
4084
4144
|
}>;
|
|
4085
4145
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4086
4146
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4106,13 +4166,13 @@ declare const apiOperations: {
|
|
|
4106
4166
|
}, z$1.core.$strict>>;
|
|
4107
4167
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4108
4168
|
executor: z$1.ZodEnum<{
|
|
4109
|
-
indiana: "indiana";
|
|
4110
4169
|
merchant: "merchant";
|
|
4170
|
+
indiana: "indiana";
|
|
4111
4171
|
}>;
|
|
4112
4172
|
accountId: z$1.ZodString;
|
|
4113
4173
|
mode: z$1.ZodEnum<{
|
|
4114
|
-
payment: "payment";
|
|
4115
4174
|
subscription: "subscription";
|
|
4175
|
+
payment: "payment";
|
|
4116
4176
|
}>;
|
|
4117
4177
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
4118
4178
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4218,8 +4278,8 @@ declare const apiOperations: {
|
|
|
4218
4278
|
productId: z$1.ZodString;
|
|
4219
4279
|
productKind: z$1.ZodEnum<{
|
|
4220
4280
|
lifetime: "lifetime";
|
|
4221
|
-
membership: "membership";
|
|
4222
4281
|
credit_pack: "credit_pack";
|
|
4282
|
+
membership: "membership";
|
|
4223
4283
|
}>;
|
|
4224
4284
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
4225
4285
|
sourceOrderId: z$1.ZodUUID;
|
|
@@ -4317,14 +4377,14 @@ declare const apiOperations: {
|
|
|
4317
4377
|
append: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4318
4378
|
invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4319
4379
|
status: z$1.ZodEnum<{
|
|
4320
|
-
pending: "pending";
|
|
4321
4380
|
failed: "failed";
|
|
4381
|
+
pending: "pending";
|
|
4322
4382
|
complete: "complete";
|
|
4323
4383
|
cancelled: "cancelled";
|
|
4324
4384
|
}>;
|
|
4325
4385
|
executor: z$1.ZodEnum<{
|
|
4326
|
-
indiana: "indiana";
|
|
4327
4386
|
merchant: "merchant";
|
|
4387
|
+
indiana: "indiana";
|
|
4328
4388
|
}>;
|
|
4329
4389
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4330
4390
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4350,13 +4410,13 @@ declare const apiOperations: {
|
|
|
4350
4410
|
}, z$1.core.$strict>>;
|
|
4351
4411
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4352
4412
|
executor: z$1.ZodEnum<{
|
|
4353
|
-
indiana: "indiana";
|
|
4354
4413
|
merchant: "merchant";
|
|
4414
|
+
indiana: "indiana";
|
|
4355
4415
|
}>;
|
|
4356
4416
|
accountId: z$1.ZodString;
|
|
4357
4417
|
mode: z$1.ZodEnum<{
|
|
4358
|
-
payment: "payment";
|
|
4359
4418
|
subscription: "subscription";
|
|
4419
|
+
payment: "payment";
|
|
4360
4420
|
}>;
|
|
4361
4421
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
4362
4422
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4462,8 +4522,8 @@ declare const apiOperations: {
|
|
|
4462
4522
|
productId: z$1.ZodString;
|
|
4463
4523
|
productKind: z$1.ZodEnum<{
|
|
4464
4524
|
lifetime: "lifetime";
|
|
4465
|
-
membership: "membership";
|
|
4466
4525
|
credit_pack: "credit_pack";
|
|
4526
|
+
membership: "membership";
|
|
4467
4527
|
}>;
|
|
4468
4528
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
4469
4529
|
sourceOrderId: z$1.ZodUUID;
|
|
@@ -4556,8 +4616,8 @@ declare const apiOperations: {
|
|
|
4556
4616
|
}, z$1.core.$strict>>;
|
|
4557
4617
|
membershipIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUUID>>;
|
|
4558
4618
|
prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4559
|
-
prorate_immediately: "prorate_immediately";
|
|
4560
4619
|
none: "none";
|
|
4620
|
+
prorate_immediately: "prorate_immediately";
|
|
4561
4621
|
bill_difference: "bill_difference";
|
|
4562
4622
|
}>>;
|
|
4563
4623
|
timing: z$1.ZodEnum<{
|
|
@@ -4658,8 +4718,8 @@ declare const apiOperations: {
|
|
|
4658
4718
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4659
4719
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4660
4720
|
executor: z$1.ZodEnum<{
|
|
4661
|
-
indiana: "indiana";
|
|
4662
4721
|
merchant: "merchant";
|
|
4722
|
+
indiana: "indiana";
|
|
4663
4723
|
}>;
|
|
4664
4724
|
accountId: z$1.ZodString;
|
|
4665
4725
|
subscriptionId: z$1.ZodString;
|
|
@@ -4818,14 +4878,14 @@ declare const apiOperations: {
|
|
|
4818
4878
|
membershipId: z$1.ZodUUID;
|
|
4819
4879
|
productVersionId: z$1.ZodUUID;
|
|
4820
4880
|
status: z$1.ZodEnum<{
|
|
4881
|
+
failed: "failed";
|
|
4882
|
+
pending: "pending";
|
|
4883
|
+
cancelled: "cancelled";
|
|
4821
4884
|
scheduled: "scheduled";
|
|
4822
4885
|
prepared: "prepared";
|
|
4823
|
-
pending: "pending";
|
|
4824
|
-
failed: "failed";
|
|
4825
4886
|
effective: "effective";
|
|
4826
4887
|
confirmed: "confirmed";
|
|
4827
4888
|
quoted: "quoted";
|
|
4828
|
-
cancelled: "cancelled";
|
|
4829
4889
|
}>;
|
|
4830
4890
|
timing: z$1.ZodEnum<{
|
|
4831
4891
|
immediate: "immediate";
|
|
@@ -4834,15 +4894,15 @@ declare const apiOperations: {
|
|
|
4834
4894
|
effectiveAt: z$1.ZodISODateTime;
|
|
4835
4895
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4836
4896
|
executor: z$1.ZodEnum<{
|
|
4837
|
-
indiana: "indiana";
|
|
4838
4897
|
merchant: "merchant";
|
|
4898
|
+
indiana: "indiana";
|
|
4839
4899
|
}>;
|
|
4840
4900
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
4841
4901
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4842
4902
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4843
4903
|
executor: z$1.ZodEnum<{
|
|
4844
|
-
indiana: "indiana";
|
|
4845
4904
|
merchant: "merchant";
|
|
4905
|
+
indiana: "indiana";
|
|
4846
4906
|
}>;
|
|
4847
4907
|
accountId: z$1.ZodString;
|
|
4848
4908
|
subscriptionId: z$1.ZodString;
|
|
@@ -4915,11 +4975,11 @@ declare const apiOperations: {
|
|
|
4915
4975
|
membershipId: z$1.ZodUUID;
|
|
4916
4976
|
productVersionId: z$1.ZodUUID;
|
|
4917
4977
|
status: z$1.ZodEnum<{
|
|
4918
|
-
prepared: "prepared";
|
|
4919
|
-
pending: "pending";
|
|
4920
4978
|
failed: "failed";
|
|
4921
|
-
|
|
4979
|
+
pending: "pending";
|
|
4922
4980
|
cancelled: "cancelled";
|
|
4981
|
+
prepared: "prepared";
|
|
4982
|
+
effective: "effective";
|
|
4923
4983
|
}>;
|
|
4924
4984
|
timing: z$1.ZodLiteral<"store">;
|
|
4925
4985
|
effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
@@ -4936,8 +4996,8 @@ declare const apiOperations: {
|
|
|
4936
4996
|
productId: z$1.ZodString;
|
|
4937
4997
|
productKind: z$1.ZodEnum<{
|
|
4938
4998
|
lifetime: "lifetime";
|
|
4939
|
-
membership: "membership";
|
|
4940
4999
|
credit_pack: "credit_pack";
|
|
5000
|
+
membership: "membership";
|
|
4941
5001
|
}>;
|
|
4942
5002
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
4943
5003
|
sourceOrderId: z$1.ZodUUID;
|
|
@@ -5035,14 +5095,14 @@ declare const apiOperations: {
|
|
|
5035
5095
|
membershipId: z$1.ZodUUID;
|
|
5036
5096
|
productVersionId: z$1.ZodUUID;
|
|
5037
5097
|
status: z$1.ZodEnum<{
|
|
5098
|
+
failed: "failed";
|
|
5099
|
+
pending: "pending";
|
|
5100
|
+
cancelled: "cancelled";
|
|
5038
5101
|
scheduled: "scheduled";
|
|
5039
5102
|
prepared: "prepared";
|
|
5040
|
-
pending: "pending";
|
|
5041
|
-
failed: "failed";
|
|
5042
5103
|
effective: "effective";
|
|
5043
5104
|
confirmed: "confirmed";
|
|
5044
5105
|
quoted: "quoted";
|
|
5045
|
-
cancelled: "cancelled";
|
|
5046
5106
|
}>;
|
|
5047
5107
|
timing: z$1.ZodEnum<{
|
|
5048
5108
|
immediate: "immediate";
|
|
@@ -5051,15 +5111,15 @@ declare const apiOperations: {
|
|
|
5051
5111
|
effectiveAt: z$1.ZodISODateTime;
|
|
5052
5112
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
5053
5113
|
executor: z$1.ZodEnum<{
|
|
5054
|
-
indiana: "indiana";
|
|
5055
5114
|
merchant: "merchant";
|
|
5115
|
+
indiana: "indiana";
|
|
5056
5116
|
}>;
|
|
5057
5117
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5058
5118
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5059
5119
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
5060
5120
|
executor: z$1.ZodEnum<{
|
|
5061
|
-
indiana: "indiana";
|
|
5062
5121
|
merchant: "merchant";
|
|
5122
|
+
indiana: "indiana";
|
|
5063
5123
|
}>;
|
|
5064
5124
|
accountId: z$1.ZodString;
|
|
5065
5125
|
subscriptionId: z$1.ZodString;
|
|
@@ -5132,11 +5192,11 @@ declare const apiOperations: {
|
|
|
5132
5192
|
membershipId: z$1.ZodUUID;
|
|
5133
5193
|
productVersionId: z$1.ZodUUID;
|
|
5134
5194
|
status: z$1.ZodEnum<{
|
|
5135
|
-
prepared: "prepared";
|
|
5136
|
-
pending: "pending";
|
|
5137
5195
|
failed: "failed";
|
|
5138
|
-
|
|
5196
|
+
pending: "pending";
|
|
5139
5197
|
cancelled: "cancelled";
|
|
5198
|
+
prepared: "prepared";
|
|
5199
|
+
effective: "effective";
|
|
5140
5200
|
}>;
|
|
5141
5201
|
timing: z$1.ZodLiteral<"store">;
|
|
5142
5202
|
effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
@@ -5153,8 +5213,8 @@ declare const apiOperations: {
|
|
|
5153
5213
|
productId: z$1.ZodString;
|
|
5154
5214
|
productKind: z$1.ZodEnum<{
|
|
5155
5215
|
lifetime: "lifetime";
|
|
5156
|
-
membership: "membership";
|
|
5157
5216
|
credit_pack: "credit_pack";
|
|
5217
|
+
membership: "membership";
|
|
5158
5218
|
}>;
|
|
5159
5219
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
5160
5220
|
sourceOrderId: z$1.ZodUUID;
|
|
@@ -5314,8 +5374,8 @@ declare const apiOperations: {
|
|
|
5314
5374
|
execution: z$1.ZodObject<{
|
|
5315
5375
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5316
5376
|
executor: z$1.ZodEnum<{
|
|
5317
|
-
indiana: "indiana";
|
|
5318
5377
|
merchant: "merchant";
|
|
5378
|
+
indiana: "indiana";
|
|
5319
5379
|
}>;
|
|
5320
5380
|
accountId: z$1.ZodString;
|
|
5321
5381
|
invoice: z$1.ZodString;
|
|
@@ -5354,15 +5414,15 @@ declare const apiOperations: {
|
|
|
5354
5414
|
invoiceId: z$1.ZodUUID;
|
|
5355
5415
|
providerInvoiceId: z$1.ZodString;
|
|
5356
5416
|
status: z$1.ZodEnum<{
|
|
5357
|
-
expired: "expired";
|
|
5358
|
-
pending: "pending";
|
|
5359
5417
|
failed: "failed";
|
|
5360
|
-
|
|
5418
|
+
pending: "pending";
|
|
5361
5419
|
succeeded: "succeeded";
|
|
5420
|
+
expired: "expired";
|
|
5421
|
+
quoted: "quoted";
|
|
5362
5422
|
}>;
|
|
5363
5423
|
executor: z$1.ZodEnum<{
|
|
5364
|
-
indiana: "indiana";
|
|
5365
5424
|
merchant: "merchant";
|
|
5425
|
+
indiana: "indiana";
|
|
5366
5426
|
}>;
|
|
5367
5427
|
currency: z$1.ZodEnum<{
|
|
5368
5428
|
USD: "USD";
|
|
@@ -5412,8 +5472,8 @@ declare const apiOperations: {
|
|
|
5412
5472
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5413
5473
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5414
5474
|
executor: z$1.ZodEnum<{
|
|
5415
|
-
indiana: "indiana";
|
|
5416
5475
|
merchant: "merchant";
|
|
5476
|
+
indiana: "indiana";
|
|
5417
5477
|
}>;
|
|
5418
5478
|
accountId: z$1.ZodString;
|
|
5419
5479
|
invoice: z$1.ZodString;
|
|
@@ -5454,15 +5514,15 @@ declare const apiOperations: {
|
|
|
5454
5514
|
invoiceId: z$1.ZodUUID;
|
|
5455
5515
|
providerInvoiceId: z$1.ZodString;
|
|
5456
5516
|
status: z$1.ZodEnum<{
|
|
5457
|
-
expired: "expired";
|
|
5458
|
-
pending: "pending";
|
|
5459
5517
|
failed: "failed";
|
|
5460
|
-
|
|
5518
|
+
pending: "pending";
|
|
5461
5519
|
succeeded: "succeeded";
|
|
5520
|
+
expired: "expired";
|
|
5521
|
+
quoted: "quoted";
|
|
5462
5522
|
}>;
|
|
5463
5523
|
executor: z$1.ZodEnum<{
|
|
5464
|
-
indiana: "indiana";
|
|
5465
5524
|
merchant: "merchant";
|
|
5525
|
+
indiana: "indiana";
|
|
5466
5526
|
}>;
|
|
5467
5527
|
currency: z$1.ZodEnum<{
|
|
5468
5528
|
USD: "USD";
|
|
@@ -5512,8 +5572,8 @@ declare const apiOperations: {
|
|
|
5512
5572
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5513
5573
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5514
5574
|
executor: z$1.ZodEnum<{
|
|
5515
|
-
indiana: "indiana";
|
|
5516
5575
|
merchant: "merchant";
|
|
5576
|
+
indiana: "indiana";
|
|
5517
5577
|
}>;
|
|
5518
5578
|
accountId: z$1.ZodString;
|
|
5519
5579
|
invoice: z$1.ZodString;
|
|
@@ -5801,9 +5861,9 @@ declare const apiOperations: {
|
|
|
5801
5861
|
autoTopups: z$1.ZodArray<z$1.ZodObject<{
|
|
5802
5862
|
authorizationId: z$1.ZodUUID;
|
|
5803
5863
|
status: z$1.ZodEnum<{
|
|
5864
|
+
pending: "pending";
|
|
5804
5865
|
blocked: "blocked";
|
|
5805
5866
|
idle: "idle";
|
|
5806
|
-
pending: "pending";
|
|
5807
5867
|
}>;
|
|
5808
5868
|
taskId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
5809
5869
|
invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
@@ -6636,11 +6696,11 @@ declare const apiOperations: {
|
|
|
6636
6696
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
6637
6697
|
status: z$1.ZodEnum<{
|
|
6638
6698
|
void: "void";
|
|
6639
|
-
|
|
6699
|
+
failed: "failed";
|
|
6640
6700
|
pending: "pending";
|
|
6701
|
+
open: "open";
|
|
6641
6702
|
accruing: "accruing";
|
|
6642
6703
|
paid: "paid";
|
|
6643
|
-
failed: "failed";
|
|
6644
6704
|
}>;
|
|
6645
6705
|
currency: z$1.ZodEnum<{
|
|
6646
6706
|
USD: "USD";
|
|
@@ -6798,11 +6858,11 @@ declare const apiOperations: {
|
|
|
6798
6858
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
6799
6859
|
status: z$1.ZodEnum<{
|
|
6800
6860
|
void: "void";
|
|
6801
|
-
|
|
6861
|
+
failed: "failed";
|
|
6802
6862
|
pending: "pending";
|
|
6863
|
+
open: "open";
|
|
6803
6864
|
accruing: "accruing";
|
|
6804
6865
|
paid: "paid";
|
|
6805
|
-
failed: "failed";
|
|
6806
6866
|
}>;
|
|
6807
6867
|
currency: z$1.ZodEnum<{
|
|
6808
6868
|
USD: "USD";
|
|
@@ -7240,9 +7300,9 @@ declare const apiOperations: {
|
|
|
7240
7300
|
autoTopups: z$1.ZodArray<z$1.ZodObject<{
|
|
7241
7301
|
authorizationId: z$1.ZodUUID;
|
|
7242
7302
|
status: z$1.ZodEnum<{
|
|
7303
|
+
pending: "pending";
|
|
7243
7304
|
blocked: "blocked";
|
|
7244
7305
|
idle: "idle";
|
|
7245
|
-
pending: "pending";
|
|
7246
7306
|
}>;
|
|
7247
7307
|
taskId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
7248
7308
|
invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
@@ -7427,9 +7487,9 @@ declare const apiOperations: {
|
|
|
7427
7487
|
entityId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
7428
7488
|
topN: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7429
7489
|
groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
7490
|
+
source: "source";
|
|
7430
7491
|
customer: "customer";
|
|
7431
7492
|
entity: "entity";
|
|
7432
|
-
source: "source";
|
|
7433
7493
|
dimension: "dimension";
|
|
7434
7494
|
plan: "plan";
|
|
7435
7495
|
entitlement: "entitlement";
|
|
@@ -7549,8 +7609,8 @@ declare const apiOperations: {
|
|
|
7549
7609
|
batch: z$1.ZodObject<{
|
|
7550
7610
|
batchId: z$1.ZodUUID;
|
|
7551
7611
|
status: z$1.ZodEnum<{
|
|
7552
|
-
queued: "queued";
|
|
7553
7612
|
complete: "complete";
|
|
7613
|
+
queued: "queued";
|
|
7554
7614
|
}>;
|
|
7555
7615
|
total: z$1.ZodNumber;
|
|
7556
7616
|
processed: z$1.ZodNumber;
|
|
@@ -7559,8 +7619,8 @@ declare const apiOperations: {
|
|
|
7559
7619
|
customerId: z$1.ZodUUID;
|
|
7560
7620
|
idempotencyKey: z$1.ZodString;
|
|
7561
7621
|
status: z$1.ZodEnum<{
|
|
7562
|
-
accepted: "accepted";
|
|
7563
7622
|
failed: "failed";
|
|
7623
|
+
accepted: "accepted";
|
|
7564
7624
|
queued: "queued";
|
|
7565
7625
|
rejected: "rejected";
|
|
7566
7626
|
}>;
|
|
@@ -7568,10 +7628,10 @@ declare const apiOperations: {
|
|
|
7568
7628
|
id: z$1.ZodUUID;
|
|
7569
7629
|
internal_feature_id: z$1.ZodUUID;
|
|
7570
7630
|
kind: z$1.ZodEnum<{
|
|
7631
|
+
refund: "refund";
|
|
7571
7632
|
consume: "consume";
|
|
7572
7633
|
reserve: "reserve";
|
|
7573
7634
|
confirm: "confirm";
|
|
7574
|
-
refund: "refund";
|
|
7575
7635
|
release: "release";
|
|
7576
7636
|
expire: "expire";
|
|
7577
7637
|
}>;
|
|
@@ -7595,8 +7655,8 @@ declare const apiOperations: {
|
|
|
7595
7655
|
}>>;
|
|
7596
7656
|
createdAt: z$1.ZodISODateTime;
|
|
7597
7657
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7598
|
-
expired: "expired";
|
|
7599
7658
|
pending: "pending";
|
|
7659
|
+
expired: "expired";
|
|
7600
7660
|
confirmed: "confirmed";
|
|
7601
7661
|
released: "released";
|
|
7602
7662
|
}>>;
|
|
@@ -8155,8 +8215,6 @@ declare const apiOperations: {
|
|
|
8155
8215
|
}, z$1.core.$strict>>;
|
|
8156
8216
|
}, z$1.core.$strict>>;
|
|
8157
8217
|
id: z$1.ZodUUID;
|
|
8158
|
-
version: z$1.ZodNumber;
|
|
8159
|
-
paywallId: z$1.ZodUUID;
|
|
8160
8218
|
capabilities: z$1.ZodObject<{
|
|
8161
8219
|
paywall: z$1.ZodOptional<z$1.ZodObject<{
|
|
8162
8220
|
internal_feature_id: z$1.ZodString;
|
|
@@ -8398,16 +8456,103 @@ declare const apiOperations: {
|
|
|
8398
8456
|
TRY: "TRY";
|
|
8399
8457
|
RON: "RON";
|
|
8400
8458
|
}>>;
|
|
8459
|
+
amountMinor: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8460
|
+
interval: z$1.ZodOptional<z$1.ZodEnum<{
|
|
8461
|
+
free: "free";
|
|
8462
|
+
week: "week";
|
|
8463
|
+
month: "month";
|
|
8464
|
+
year: "year";
|
|
8465
|
+
one_time: "one_time";
|
|
8466
|
+
}>>;
|
|
8467
|
+
intervalCount: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8468
|
+
prepaid: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
8469
|
+
internalFeatureId: z$1.ZodUUID;
|
|
8470
|
+
name: z$1.ZodString;
|
|
8471
|
+
includedAmount: z$1.ZodString;
|
|
8472
|
+
reset: z$1.ZodEnum<{
|
|
8473
|
+
week: "week";
|
|
8474
|
+
month: "month";
|
|
8475
|
+
year: "year";
|
|
8476
|
+
hour: "hour";
|
|
8477
|
+
day: "day";
|
|
8478
|
+
lifetime: "lifetime";
|
|
8479
|
+
}>;
|
|
8480
|
+
resetCount: z$1.ZodNumber;
|
|
8481
|
+
terms: z$1.ZodObject<{
|
|
8482
|
+
units: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
8483
|
+
prices: z$1.ZodArray<z$1.ZodObject<{
|
|
8484
|
+
currency: z$1.ZodEnum<{
|
|
8485
|
+
USD: "USD";
|
|
8486
|
+
EUR: "EUR";
|
|
8487
|
+
CNY: "CNY";
|
|
8488
|
+
GBP: "GBP";
|
|
8489
|
+
JPY: "JPY";
|
|
8490
|
+
CAD: "CAD";
|
|
8491
|
+
AUD: "AUD";
|
|
8492
|
+
NZD: "NZD";
|
|
8493
|
+
CHF: "CHF";
|
|
8494
|
+
HKD: "HKD";
|
|
8495
|
+
SGD: "SGD";
|
|
8496
|
+
KRW: "KRW";
|
|
8497
|
+
INR: "INR";
|
|
8498
|
+
BRL: "BRL";
|
|
8499
|
+
MXN: "MXN";
|
|
8500
|
+
TWD: "TWD";
|
|
8501
|
+
THB: "THB";
|
|
8502
|
+
IDR: "IDR";
|
|
8503
|
+
MYR: "MYR";
|
|
8504
|
+
PHP: "PHP";
|
|
8505
|
+
VND: "VND";
|
|
8506
|
+
ZAR: "ZAR";
|
|
8507
|
+
AED: "AED";
|
|
8508
|
+
SAR: "SAR";
|
|
8509
|
+
SEK: "SEK";
|
|
8510
|
+
NOK: "NOK";
|
|
8511
|
+
DKK: "DKK";
|
|
8512
|
+
PLN: "PLN";
|
|
8513
|
+
CZK: "CZK";
|
|
8514
|
+
HUF: "HUF";
|
|
8515
|
+
ILS: "ILS";
|
|
8516
|
+
TRY: "TRY";
|
|
8517
|
+
RON: "RON";
|
|
8518
|
+
}>;
|
|
8519
|
+
amountMinor: z$1.ZodNumber;
|
|
8520
|
+
pricing: z$1.ZodOptional<z$1.ZodObject<{
|
|
8521
|
+
kind: z$1.ZodEnum<{
|
|
8522
|
+
graduated: "graduated";
|
|
8523
|
+
volume: "volume";
|
|
8524
|
+
}>;
|
|
8525
|
+
tiers: z$1.ZodArray<z$1.ZodObject<{
|
|
8526
|
+
upTo: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8527
|
+
unitAmountMinor: z$1.ZodNumber;
|
|
8528
|
+
flatAmountMinor: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8529
|
+
}, z$1.core.$strict>>;
|
|
8530
|
+
}, z$1.core.$strict>>;
|
|
8531
|
+
}, z$1.core.$strict>>;
|
|
8532
|
+
minimumQuantity: z$1.ZodNumber;
|
|
8533
|
+
maximumQuantity: z$1.ZodNumber;
|
|
8534
|
+
}, z$1.core.$strict>;
|
|
8535
|
+
}, z$1.core.$strict>>>;
|
|
8401
8536
|
}, z$1.core.$strict>>;
|
|
8402
8537
|
pickers: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
8403
8538
|
options: z$1.ZodArray<z$1.ZodString>;
|
|
8404
8539
|
selected: z$1.ZodNullable<z$1.ZodString>;
|
|
8405
8540
|
}, z$1.core.$strict>>;
|
|
8541
|
+
quantities: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
8542
|
+
minimum: z$1.ZodNumber;
|
|
8543
|
+
maximum: z$1.ZodNumber;
|
|
8544
|
+
step: z$1.ZodNumber;
|
|
8545
|
+
value: z$1.ZodNumber;
|
|
8546
|
+
label: z$1.ZodString;
|
|
8547
|
+
available: z$1.ZodBoolean;
|
|
8548
|
+
}, z$1.core.$strict>>>;
|
|
8406
8549
|
diagnostics: z$1.ZodArray<z$1.ZodObject<{
|
|
8407
8550
|
nodeId: z$1.ZodString;
|
|
8408
8551
|
message: z$1.ZodString;
|
|
8409
8552
|
}, z$1.core.$strict>>;
|
|
8410
8553
|
}, z$1.core.$strict>;
|
|
8554
|
+
version: z$1.ZodNumber;
|
|
8555
|
+
paywallId: z$1.ZodUUID;
|
|
8411
8556
|
content: z$1.ZodObject<{
|
|
8412
8557
|
environmentId: z$1.ZodUUID;
|
|
8413
8558
|
offeringVersionId: z$1.ZodUUID;
|
|
@@ -8716,14 +8861,14 @@ declare const apiOperations: {
|
|
|
8716
8861
|
status: z$1.ZodEnum<{
|
|
8717
8862
|
unknown: "unknown";
|
|
8718
8863
|
active: "active";
|
|
8719
|
-
|
|
8864
|
+
pending: "pending";
|
|
8720
8865
|
expired: "expired";
|
|
8866
|
+
trialing: "trialing";
|
|
8721
8867
|
past_due: "past_due";
|
|
8868
|
+
scheduled: "scheduled";
|
|
8722
8869
|
paused: "paused";
|
|
8723
8870
|
ended: "ended";
|
|
8724
|
-
pending: "pending";
|
|
8725
8871
|
trial: "trial";
|
|
8726
|
-
trialing: "trialing";
|
|
8727
8872
|
}>;
|
|
8728
8873
|
cancelAtPeriodEnd: z$1.ZodBoolean;
|
|
8729
8874
|
accessEnabled: z$1.ZodBoolean;
|
|
@@ -8754,9 +8899,9 @@ declare const apiOperations: {
|
|
|
8754
8899
|
toQuantity: z$1.ZodNumber;
|
|
8755
8900
|
}, z$1.core.$strict>>;
|
|
8756
8901
|
status: z$1.ZodEnum<{
|
|
8902
|
+
pending: "pending";
|
|
8757
8903
|
scheduled: "scheduled";
|
|
8758
8904
|
prepared: "prepared";
|
|
8759
|
-
pending: "pending";
|
|
8760
8905
|
confirmed: "confirmed";
|
|
8761
8906
|
quoted: "quoted";
|
|
8762
8907
|
}>;
|
|
@@ -8815,9 +8960,9 @@ declare const apiOperations: {
|
|
|
8815
8960
|
customerId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
8816
8961
|
query: z$1.ZodObject<{
|
|
8817
8962
|
type: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8818
|
-
usage: "usage";
|
|
8819
|
-
source: "source";
|
|
8820
8963
|
invoice: "invoice";
|
|
8964
|
+
source: "source";
|
|
8965
|
+
usage: "usage";
|
|
8821
8966
|
debt: "debt";
|
|
8822
8967
|
transaction: "transaction";
|
|
8823
8968
|
settlement: "settlement";
|
|
@@ -8834,9 +8979,9 @@ declare const apiOperations: {
|
|
|
8834
8979
|
at: z$1.ZodISODateTime;
|
|
8835
8980
|
id: z$1.ZodUUID;
|
|
8836
8981
|
type: z$1.ZodEnum<{
|
|
8837
|
-
usage: "usage";
|
|
8838
|
-
source: "source";
|
|
8839
8982
|
invoice: "invoice";
|
|
8983
|
+
source: "source";
|
|
8984
|
+
usage: "usage";
|
|
8840
8985
|
debt: "debt";
|
|
8841
8986
|
transaction: "transaction";
|
|
8842
8987
|
settlement: "settlement";
|
|
@@ -8915,8 +9060,8 @@ declare const apiOperations: {
|
|
|
8915
9060
|
status: z$1.ZodEnum<{
|
|
8916
9061
|
unavailable: "unavailable";
|
|
8917
9062
|
active: "active";
|
|
8918
|
-
scheduled: "scheduled";
|
|
8919
9063
|
expired: "expired";
|
|
9064
|
+
scheduled: "scheduled";
|
|
8920
9065
|
revoked: "revoked";
|
|
8921
9066
|
}>;
|
|
8922
9067
|
startsAt: z$1.ZodISODateTime;
|
|
@@ -8938,10 +9083,10 @@ declare const apiOperations: {
|
|
|
8938
9083
|
internal_feature_id: z$1.ZodUUID;
|
|
8939
9084
|
name: z$1.ZodString;
|
|
8940
9085
|
kind: z$1.ZodEnum<{
|
|
9086
|
+
refund: "refund";
|
|
8941
9087
|
consume: "consume";
|
|
8942
9088
|
reserve: "reserve";
|
|
8943
9089
|
confirm: "confirm";
|
|
8944
|
-
refund: "refund";
|
|
8945
9090
|
release: "release";
|
|
8946
9091
|
expire: "expire";
|
|
8947
9092
|
set_usage: "set_usage";
|
|
@@ -8963,8 +9108,8 @@ declare const apiOperations: {
|
|
|
8963
9108
|
[k: string]: string;
|
|
8964
9109
|
}, Record<string, string | number | boolean>>>;
|
|
8965
9110
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8966
|
-
expired: "expired";
|
|
8967
9111
|
pending: "pending";
|
|
9112
|
+
expired: "expired";
|
|
8968
9113
|
confirmed: "confirmed";
|
|
8969
9114
|
released: "released";
|
|
8970
9115
|
}>>;
|
|
@@ -9036,8 +9181,8 @@ declare const apiOperations: {
|
|
|
9036
9181
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
9037
9182
|
type: z$1.ZodLiteral<"transaction">;
|
|
9038
9183
|
purpose: z$1.ZodEnum<{
|
|
9039
|
-
product: "product";
|
|
9040
9184
|
invoice: "invoice";
|
|
9185
|
+
product: "product";
|
|
9041
9186
|
}>;
|
|
9042
9187
|
productVersionId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
9043
9188
|
productName: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -9122,9 +9267,9 @@ declare const apiOperations: {
|
|
|
9122
9267
|
at: z$1.ZodISODateTime;
|
|
9123
9268
|
id: z$1.ZodUUID;
|
|
9124
9269
|
type: z$1.ZodEnum<{
|
|
9125
|
-
usage: "usage";
|
|
9126
|
-
source: "source";
|
|
9127
9270
|
invoice: "invoice";
|
|
9271
|
+
source: "source";
|
|
9272
|
+
usage: "usage";
|
|
9128
9273
|
debt: "debt";
|
|
9129
9274
|
transaction: "transaction";
|
|
9130
9275
|
settlement: "settlement";
|
|
@@ -9164,11 +9309,11 @@ declare const apiOperations: {
|
|
|
9164
9309
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
9165
9310
|
status: z$1.ZodEnum<{
|
|
9166
9311
|
void: "void";
|
|
9167
|
-
|
|
9312
|
+
failed: "failed";
|
|
9168
9313
|
pending: "pending";
|
|
9314
|
+
open: "open";
|
|
9169
9315
|
accruing: "accruing";
|
|
9170
9316
|
paid: "paid";
|
|
9171
|
-
failed: "failed";
|
|
9172
9317
|
}>;
|
|
9173
9318
|
currency: z$1.ZodEnum<{
|
|
9174
9319
|
USD: "USD";
|
|
@@ -9511,9 +9656,9 @@ declare const apiOperations: {
|
|
|
9511
9656
|
operationId: z$1.ZodUUID;
|
|
9512
9657
|
position: z$1.ZodNumber;
|
|
9513
9658
|
kind: z$1.ZodEnum<{
|
|
9659
|
+
refund: "refund";
|
|
9514
9660
|
consume: "consume";
|
|
9515
9661
|
confirm: "confirm";
|
|
9516
|
-
refund: "refund";
|
|
9517
9662
|
}>;
|
|
9518
9663
|
originalId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
9519
9664
|
occurredAt: z$1.ZodISODateTime;
|
|
@@ -9667,10 +9812,10 @@ declare const apiOperations: {
|
|
|
9667
9812
|
id: z$1.ZodUUID;
|
|
9668
9813
|
internal_feature_id: z$1.ZodUUID;
|
|
9669
9814
|
kind: z$1.ZodEnum<{
|
|
9815
|
+
refund: "refund";
|
|
9670
9816
|
consume: "consume";
|
|
9671
9817
|
reserve: "reserve";
|
|
9672
9818
|
confirm: "confirm";
|
|
9673
|
-
refund: "refund";
|
|
9674
9819
|
release: "release";
|
|
9675
9820
|
expire: "expire";
|
|
9676
9821
|
}>;
|
|
@@ -9694,8 +9839,8 @@ declare const apiOperations: {
|
|
|
9694
9839
|
}>>;
|
|
9695
9840
|
createdAt: z$1.ZodISODateTime;
|
|
9696
9841
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9697
|
-
expired: "expired";
|
|
9698
9842
|
pending: "pending";
|
|
9843
|
+
expired: "expired";
|
|
9699
9844
|
confirmed: "confirmed";
|
|
9700
9845
|
released: "released";
|
|
9701
9846
|
}>>;
|
|
@@ -9968,10 +10113,10 @@ declare const apiOperations: {
|
|
|
9968
10113
|
id: z$1.ZodUUID;
|
|
9969
10114
|
internal_feature_id: z$1.ZodUUID;
|
|
9970
10115
|
kind: z$1.ZodEnum<{
|
|
10116
|
+
refund: "refund";
|
|
9971
10117
|
consume: "consume";
|
|
9972
10118
|
reserve: "reserve";
|
|
9973
10119
|
confirm: "confirm";
|
|
9974
|
-
refund: "refund";
|
|
9975
10120
|
release: "release";
|
|
9976
10121
|
expire: "expire";
|
|
9977
10122
|
}>;
|
|
@@ -9995,8 +10140,8 @@ declare const apiOperations: {
|
|
|
9995
10140
|
}>>;
|
|
9996
10141
|
createdAt: z$1.ZodISODateTime;
|
|
9997
10142
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9998
|
-
expired: "expired";
|
|
9999
10143
|
pending: "pending";
|
|
10144
|
+
expired: "expired";
|
|
10000
10145
|
confirmed: "confirmed";
|
|
10001
10146
|
released: "released";
|
|
10002
10147
|
}>>;
|
|
@@ -10198,11 +10343,11 @@ declare const apiOperations: {
|
|
|
10198
10343
|
}, z$1.core.$strict>], "type">;
|
|
10199
10344
|
renewalAmountMinor: z$1.ZodNumber;
|
|
10200
10345
|
status: z$1.ZodEnum<{
|
|
10201
|
-
pending: "pending";
|
|
10202
|
-
paid: "paid";
|
|
10203
10346
|
failed: "failed";
|
|
10204
|
-
|
|
10347
|
+
pending: "pending";
|
|
10205
10348
|
cancelled: "cancelled";
|
|
10349
|
+
trialing: "trialing";
|
|
10350
|
+
paid: "paid";
|
|
10206
10351
|
created: "created";
|
|
10207
10352
|
}>;
|
|
10208
10353
|
url: z$1.ZodNullable<z$1.ZodURL>;
|
|
@@ -10256,10 +10401,10 @@ declare const apiOperations: {
|
|
|
10256
10401
|
}, z$1.core.$strict>], "type">;
|
|
10257
10402
|
renewalAmountMinor: z$1.ZodNumber;
|
|
10258
10403
|
status: z$1.ZodEnum<{
|
|
10259
|
-
running: "running";
|
|
10260
|
-
pending: "pending";
|
|
10261
10404
|
failed: "failed";
|
|
10405
|
+
pending: "pending";
|
|
10262
10406
|
applied: "applied";
|
|
10407
|
+
running: "running";
|
|
10263
10408
|
}>;
|
|
10264
10409
|
}, z$1.core.$strict>], "type">;
|
|
10265
10410
|
}, z$1.core.$strict>;
|
|
@@ -10535,8 +10680,8 @@ declare const apiOperations: {
|
|
|
10535
10680
|
unavailable: "unavailable";
|
|
10536
10681
|
active: "active";
|
|
10537
10682
|
none: "none";
|
|
10538
|
-
scheduled: "scheduled";
|
|
10539
10683
|
expired: "expired";
|
|
10684
|
+
scheduled: "scheduled";
|
|
10540
10685
|
}>>;
|
|
10541
10686
|
membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
|
|
10542
10687
|
"": "";
|
|
@@ -11223,18 +11368,20 @@ interface FoundationApi {
|
|
|
11223
11368
|
* `subscription_data.trial_period_days` (when not null) and `expires_at` no later than `expiresAt`. It copies
|
|
11224
11369
|
* `execution.metadata` unchanged onto the session `metadata`, onto `subscription_data.metadata` in `subscription`
|
|
11225
11370
|
* mode, and in `payment` mode enables `invoice_creation` and copies it onto
|
|
11226
|
-
* `invoice_creation.invoice_data.metadata`.
|
|
11371
|
+
* `invoice_creation.invoice_data.metadata`. In record-only mode the backend submits confirmed results with `recordBillingEvent`; Indiana does not accept Stripe callbacks.
|
|
11227
11372
|
* A quote whose trial needs no card has no `execution` and takes no coupon: `attach` starts that trial at once
|
|
11228
11373
|
* without Stripe. A trial the customer (or its device fingerprint) already used is left out of the quote.
|
|
11229
11374
|
*/
|
|
11230
11375
|
previewAttach(input: ApiInput<"previewAttach"> & {
|
|
11231
11376
|
customerId: string;
|
|
11232
11377
|
}): Promise<ApiOutput<"previewAttach">>;
|
|
11378
|
+
/** Record merchant-confirmed billing facts. Server Key only, in record_only environments. */
|
|
11379
|
+
recordBillingEvent(input: ApiInput<"recordBillingEvent">): Promise<ApiOutput<"recordBillingEvent">>;
|
|
11233
11380
|
/**
|
|
11234
11381
|
* Confirm a quoted purchase (`intent: "confirm"`, the default) or abandon it and release its held coupon
|
|
11235
11382
|
* (`intent: "cancel"`). A pending operation carries the hosted `checkoutUrl` when Indiana executes Stripe, or
|
|
11236
11383
|
* repeats the quote's `execution` in record-only mode; it becomes `complete` once Indiana has recorded the
|
|
11237
|
-
* verified Stripe
|
|
11384
|
+
* selected source: verified Stripe webhooks in Indiana mode, merchant Server SDK records in record-only mode.
|
|
11238
11385
|
*/
|
|
11239
11386
|
attach(input: ApiInput<"attach"> & {
|
|
11240
11387
|
customerId: string;
|