@tinkerlandai/indiana-sdk 0.8.4 → 0.9.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 +15 -1
- package/README.md +45 -37
- package/README.zh-CN.md +42 -13
- package/dist/{ai-usage-DUlre7JC.d.ts → ai-usage-DMNKvCiq.d.ts} +3 -3
- package/dist/{api-XDc4pRlN.d.ts → api--Zf0gxfj.d.ts} +128 -124
- package/dist/chunk-3PZ4Y6UD.js +17 -0
- package/dist/chunk-5O667MKA.js +1 -0
- package/dist/chunk-7DXL3LHT.js +1 -0
- package/dist/chunk-7IB7CZ5P.js +1 -0
- package/dist/chunk-CPLLMISZ.js +1 -0
- package/dist/chunk-DAWZULXZ.js +1 -0
- package/dist/chunk-G23YNWWI.js +1 -0
- package/dist/chunk-G56XGVMS.js +1 -0
- package/dist/chunk-IH4KBLNR.js +1 -0
- package/dist/chunk-JEFEBF2H.js +1 -0
- package/dist/chunk-L7LKE3MG.js +173 -0
- package/dist/chunk-NH2PTTNK.js +2 -0
- package/dist/chunk-NTP55JMK.js +1 -0
- package/dist/chunk-SX5MO56H.js +4 -0
- package/dist/chunk-UBRLGIZE.js +1 -0
- package/dist/chunk-YAU4DI52.js +1 -0
- package/dist/{configuration-sync-Ce3dShy7.d.ts → configuration-sync-E98CqVwh.d.ts} +6 -5
- package/dist/content-YAPEUX6I.js +1 -0
- package/dist/{errors-C8lRYZ0n.d.ts → errors-0TSUIbUi.d.ts} +12 -1
- package/dist/{funnel-local-client-CUGavICI.d.ts → funnel-local-client-BjPwXlQb.d.ts} +550 -260
- package/dist/funnel-runtime-host-OZA763NT.js +1 -0
- package/dist/index.d.ts +689 -223
- 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 +6 -6
- package/dist/page.js +1 -1
- package/dist/paywall-EM7RGU56.js +1 -0
- package/dist/popup.d.ts +1 -1
- package/dist/popup.js +1 -1
- package/dist/react-native.d.ts +122 -99
- package/dist/react-native.js +1 -1
- package/dist/screen-renderer-A6VYE2QL.js +1 -0
- package/dist/server.d.ts +58 -58
- package/dist/server.js +1 -1
- package/dist/visual.d.ts +36 -1
- package/dist/visual.js +1 -2
- package/package.json +1 -1
- package/dist/chunk-3F2NQOR2.js +0 -1
- package/dist/chunk-663UOBHL.js +0 -1
- package/dist/chunk-BUDTHBFF.js +0 -173
- package/dist/chunk-EJTBSGLV.js +0 -10
- package/dist/chunk-EXCPE2XH.js +0 -1
- package/dist/chunk-F2GOIBDQ.js +0 -1
- package/dist/chunk-GRLMT5PR.js +0 -1
- package/dist/chunk-KQCTDXVD.js +0 -17
- package/dist/chunk-LMR2TM3X.js +0 -1
- package/dist/chunk-OBYJWIRB.js +0 -1
- package/dist/chunk-RRII2DMC.js +0 -1
- package/dist/chunk-RZBZ6LCT.js +0 -4
- package/dist/chunk-SOQO2RDZ.js +0 -1
- package/dist/chunk-SSHUBTT3.js +0 -1
- package/dist/chunk-VVV3JNS3.js +0 -1
- package/dist/content-2FCUY6XX.js +0 -1
- package/dist/funnel-runtime-host-ENRTSXPJ.js +0 -1
- package/dist/paywall-734GWAS4.js +0 -1
- package/dist/screen-renderer-DLXDQQKK.js +0 -1
- package/dist/src-CLEFCTAU.js +0 -1
- package/dist/{screen-BpAejkn0.d.ts → screen-BITZ11jn.d.ts} +18 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StackNode } from './screen-
|
|
1
|
+
import { S as StackNode } from './screen-BITZ11jn.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
|
|
@@ -655,9 +655,9 @@ declare const apiOperations: {
|
|
|
655
655
|
}>;
|
|
656
656
|
acceptedAt: z$1.ZodISODateTime;
|
|
657
657
|
status: z$1.ZodEnum<{
|
|
658
|
+
accepted: "accepted";
|
|
658
659
|
canceled: "canceled";
|
|
659
660
|
completed: "completed";
|
|
660
|
-
accepted: "accepted";
|
|
661
661
|
sending: "sending";
|
|
662
662
|
}>;
|
|
663
663
|
replayed: z$1.ZodBoolean;
|
|
@@ -690,30 +690,29 @@ declare const apiOperations: {
|
|
|
690
690
|
push: "push";
|
|
691
691
|
}>;
|
|
692
692
|
status: z$1.ZodEnum<{
|
|
693
|
+
accepted: "accepted";
|
|
693
694
|
canceled: "canceled";
|
|
694
695
|
completed: "completed";
|
|
695
|
-
accepted: "accepted";
|
|
696
696
|
sending: "sending";
|
|
697
697
|
}>;
|
|
698
698
|
deliveries: z$1.ZodArray<z$1.ZodObject<{
|
|
699
699
|
id: z$1.ZodUUID;
|
|
700
700
|
status: z$1.ZodEnum<{
|
|
701
701
|
unknown: "unknown";
|
|
702
|
-
canceled: "canceled";
|
|
703
|
-
failed: "failed";
|
|
704
702
|
accepted: "accepted";
|
|
703
|
+
failed: "failed";
|
|
705
704
|
queued: "queued";
|
|
706
705
|
leased: "leased";
|
|
707
706
|
dispatching: "dispatching";
|
|
708
707
|
retry: "retry";
|
|
709
708
|
skipped: "skipped";
|
|
709
|
+
canceled: "canceled";
|
|
710
710
|
}>;
|
|
711
711
|
attempts: z$1.ZodNumber;
|
|
712
712
|
receipts: z$1.ZodArray<z$1.ZodObject<{
|
|
713
713
|
kind: z$1.ZodEnum<{
|
|
714
|
-
failed: "failed";
|
|
715
|
-
completed: "completed";
|
|
716
714
|
accepted: "accepted";
|
|
715
|
+
failed: "failed";
|
|
717
716
|
sent: "sent";
|
|
718
717
|
delivered: "delivered";
|
|
719
718
|
delayed: "delayed";
|
|
@@ -724,6 +723,7 @@ declare const apiOperations: {
|
|
|
724
723
|
clicked: "clicked";
|
|
725
724
|
ringing: "ringing";
|
|
726
725
|
answered: "answered";
|
|
726
|
+
completed: "completed";
|
|
727
727
|
busy: "busy";
|
|
728
728
|
no_answer: "no_answer";
|
|
729
729
|
cost_finalized: "cost_finalized";
|
|
@@ -1625,10 +1625,10 @@ declare const apiOperations: {
|
|
|
1625
1625
|
value: z$1.ZodJSONSchema;
|
|
1626
1626
|
source: z$1.ZodEnum<{
|
|
1627
1627
|
override: "override";
|
|
1628
|
+
unknownFeature: "unknownFeature";
|
|
1629
|
+
defaultValue: "defaultValue";
|
|
1628
1630
|
force: "force";
|
|
1629
1631
|
experiment: "experiment";
|
|
1630
|
-
defaultValue: "defaultValue";
|
|
1631
|
-
unknownFeature: "unknownFeature";
|
|
1632
1632
|
prerequisite: "prerequisite";
|
|
1633
1633
|
cyclicPrerequisite: "cyclicPrerequisite";
|
|
1634
1634
|
}>;
|
|
@@ -2149,11 +2149,11 @@ declare const apiOperations: {
|
|
|
2149
2149
|
purchaseIntentId: z$1.ZodUUID;
|
|
2150
2150
|
status: z$1.ZodEnum<{
|
|
2151
2151
|
pending: "pending";
|
|
2152
|
-
failed: "failed";
|
|
2153
2152
|
paid: "paid";
|
|
2153
|
+
failed: "failed";
|
|
2154
2154
|
trialing: "trialing";
|
|
2155
|
-
created: "created";
|
|
2156
2155
|
cancelled: "cancelled";
|
|
2156
|
+
created: "created";
|
|
2157
2157
|
}>;
|
|
2158
2158
|
currency: z$1.ZodEnum<{
|
|
2159
2159
|
USD: "USD";
|
|
@@ -2439,9 +2439,9 @@ declare const apiOperations: {
|
|
|
2439
2439
|
batchId: z$1.ZodUUID;
|
|
2440
2440
|
ready: z$1.ZodBoolean;
|
|
2441
2441
|
status: z$1.ZodEnum<{
|
|
2442
|
-
pending: "pending";
|
|
2443
2442
|
expired: "expired";
|
|
2444
2443
|
prepared: "prepared";
|
|
2444
|
+
pending: "pending";
|
|
2445
2445
|
effective: "effective";
|
|
2446
2446
|
cancelled: "cancelled";
|
|
2447
2447
|
partial: "partial";
|
|
@@ -2453,9 +2453,9 @@ declare const apiOperations: {
|
|
|
2453
2453
|
operationId: z$1.ZodUUID;
|
|
2454
2454
|
membershipIds: z$1.ZodArray<z$1.ZodUUID>;
|
|
2455
2455
|
provider: z$1.ZodEnum<{
|
|
2456
|
+
stripe: "stripe";
|
|
2456
2457
|
apple: "apple";
|
|
2457
2458
|
google: "google";
|
|
2458
|
-
stripe: "stripe";
|
|
2459
2459
|
}>;
|
|
2460
2460
|
action: z$1.ZodEnum<{
|
|
2461
2461
|
cancel: "cancel";
|
|
@@ -2466,10 +2466,10 @@ declare const apiOperations: {
|
|
|
2466
2466
|
renewal: "renewal";
|
|
2467
2467
|
}>;
|
|
2468
2468
|
status: z$1.ZodEnum<{
|
|
2469
|
-
pending: "pending";
|
|
2470
|
-
failed: "failed";
|
|
2471
2469
|
scheduled: "scheduled";
|
|
2472
2470
|
prepared: "prepared";
|
|
2471
|
+
pending: "pending";
|
|
2472
|
+
failed: "failed";
|
|
2473
2473
|
effective: "effective";
|
|
2474
2474
|
confirmed: "confirmed";
|
|
2475
2475
|
cancelled: "cancelled";
|
|
@@ -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
|
-
merchant: "merchant";
|
|
2542
2541
|
indiana: "indiana";
|
|
2542
|
+
merchant: "merchant";
|
|
2543
2543
|
}>;
|
|
2544
2544
|
accountId: z$1.ZodString;
|
|
2545
2545
|
subscriptionId: z$1.ZodString;
|
|
@@ -2640,9 +2640,9 @@ declare const apiOperations: {
|
|
|
2640
2640
|
batchId: z$1.ZodUUID;
|
|
2641
2641
|
ready: z$1.ZodBoolean;
|
|
2642
2642
|
status: z$1.ZodEnum<{
|
|
2643
|
-
pending: "pending";
|
|
2644
2643
|
expired: "expired";
|
|
2645
2644
|
prepared: "prepared";
|
|
2645
|
+
pending: "pending";
|
|
2646
2646
|
effective: "effective";
|
|
2647
2647
|
cancelled: "cancelled";
|
|
2648
2648
|
partial: "partial";
|
|
@@ -2654,9 +2654,9 @@ declare const apiOperations: {
|
|
|
2654
2654
|
operationId: z$1.ZodUUID;
|
|
2655
2655
|
membershipIds: z$1.ZodArray<z$1.ZodUUID>;
|
|
2656
2656
|
provider: z$1.ZodEnum<{
|
|
2657
|
+
stripe: "stripe";
|
|
2657
2658
|
apple: "apple";
|
|
2658
2659
|
google: "google";
|
|
2659
|
-
stripe: "stripe";
|
|
2660
2660
|
}>;
|
|
2661
2661
|
action: z$1.ZodEnum<{
|
|
2662
2662
|
cancel: "cancel";
|
|
@@ -2667,10 +2667,10 @@ declare const apiOperations: {
|
|
|
2667
2667
|
renewal: "renewal";
|
|
2668
2668
|
}>;
|
|
2669
2669
|
status: z$1.ZodEnum<{
|
|
2670
|
-
pending: "pending";
|
|
2671
|
-
failed: "failed";
|
|
2672
2670
|
scheduled: "scheduled";
|
|
2673
2671
|
prepared: "prepared";
|
|
2672
|
+
pending: "pending";
|
|
2673
|
+
failed: "failed";
|
|
2674
2674
|
effective: "effective";
|
|
2675
2675
|
confirmed: "confirmed";
|
|
2676
2676
|
cancelled: "cancelled";
|
|
@@ -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
|
-
merchant: "merchant";
|
|
2743
2742
|
indiana: "indiana";
|
|
2743
|
+
merchant: "merchant";
|
|
2744
2744
|
}>;
|
|
2745
2745
|
accountId: z$1.ZodString;
|
|
2746
2746
|
subscriptionId: z$1.ZodString;
|
|
@@ -2841,9 +2841,9 @@ declare const apiOperations: {
|
|
|
2841
2841
|
batchId: z$1.ZodUUID;
|
|
2842
2842
|
ready: z$1.ZodBoolean;
|
|
2843
2843
|
status: z$1.ZodEnum<{
|
|
2844
|
-
pending: "pending";
|
|
2845
2844
|
expired: "expired";
|
|
2846
2845
|
prepared: "prepared";
|
|
2846
|
+
pending: "pending";
|
|
2847
2847
|
effective: "effective";
|
|
2848
2848
|
cancelled: "cancelled";
|
|
2849
2849
|
partial: "partial";
|
|
@@ -2855,9 +2855,9 @@ declare const apiOperations: {
|
|
|
2855
2855
|
operationId: z$1.ZodUUID;
|
|
2856
2856
|
membershipIds: z$1.ZodArray<z$1.ZodUUID>;
|
|
2857
2857
|
provider: z$1.ZodEnum<{
|
|
2858
|
+
stripe: "stripe";
|
|
2858
2859
|
apple: "apple";
|
|
2859
2860
|
google: "google";
|
|
2860
|
-
stripe: "stripe";
|
|
2861
2861
|
}>;
|
|
2862
2862
|
action: z$1.ZodEnum<{
|
|
2863
2863
|
cancel: "cancel";
|
|
@@ -2868,10 +2868,10 @@ declare const apiOperations: {
|
|
|
2868
2868
|
renewal: "renewal";
|
|
2869
2869
|
}>;
|
|
2870
2870
|
status: z$1.ZodEnum<{
|
|
2871
|
-
pending: "pending";
|
|
2872
|
-
failed: "failed";
|
|
2873
2871
|
scheduled: "scheduled";
|
|
2874
2872
|
prepared: "prepared";
|
|
2873
|
+
pending: "pending";
|
|
2874
|
+
failed: "failed";
|
|
2875
2875
|
effective: "effective";
|
|
2876
2876
|
confirmed: "confirmed";
|
|
2877
2877
|
cancelled: "cancelled";
|
|
@@ -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
|
-
merchant: "merchant";
|
|
2944
2943
|
indiana: "indiana";
|
|
2944
|
+
merchant: "merchant";
|
|
2945
2945
|
}>;
|
|
2946
2946
|
accountId: z$1.ZodString;
|
|
2947
2947
|
subscriptionId: z$1.ZodString;
|
|
@@ -3042,9 +3042,9 @@ declare const apiOperations: {
|
|
|
3042
3042
|
batchId: z$1.ZodUUID;
|
|
3043
3043
|
ready: z$1.ZodBoolean;
|
|
3044
3044
|
status: z$1.ZodEnum<{
|
|
3045
|
-
pending: "pending";
|
|
3046
3045
|
expired: "expired";
|
|
3047
3046
|
prepared: "prepared";
|
|
3047
|
+
pending: "pending";
|
|
3048
3048
|
effective: "effective";
|
|
3049
3049
|
cancelled: "cancelled";
|
|
3050
3050
|
partial: "partial";
|
|
@@ -3056,9 +3056,9 @@ declare const apiOperations: {
|
|
|
3056
3056
|
operationId: z$1.ZodUUID;
|
|
3057
3057
|
membershipIds: z$1.ZodArray<z$1.ZodUUID>;
|
|
3058
3058
|
provider: z$1.ZodEnum<{
|
|
3059
|
+
stripe: "stripe";
|
|
3059
3060
|
apple: "apple";
|
|
3060
3061
|
google: "google";
|
|
3061
|
-
stripe: "stripe";
|
|
3062
3062
|
}>;
|
|
3063
3063
|
action: z$1.ZodEnum<{
|
|
3064
3064
|
cancel: "cancel";
|
|
@@ -3069,10 +3069,10 @@ declare const apiOperations: {
|
|
|
3069
3069
|
renewal: "renewal";
|
|
3070
3070
|
}>;
|
|
3071
3071
|
status: z$1.ZodEnum<{
|
|
3072
|
-
pending: "pending";
|
|
3073
|
-
failed: "failed";
|
|
3074
3072
|
scheduled: "scheduled";
|
|
3075
3073
|
prepared: "prepared";
|
|
3074
|
+
pending: "pending";
|
|
3075
|
+
failed: "failed";
|
|
3076
3076
|
effective: "effective";
|
|
3077
3077
|
confirmed: "confirmed";
|
|
3078
3078
|
cancelled: "cancelled";
|
|
@@ -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
|
-
merchant: "merchant";
|
|
3145
3144
|
indiana: "indiana";
|
|
3145
|
+
merchant: "merchant";
|
|
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
|
-
merchant: "merchant";
|
|
3281
3280
|
indiana: "indiana";
|
|
3281
|
+
merchant: "merchant";
|
|
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
|
-
merchant: "merchant";
|
|
3330
3329
|
indiana: "indiana";
|
|
3330
|
+
merchant: "merchant";
|
|
3331
3331
|
}>;
|
|
3332
3332
|
accountId: z$1.ZodString;
|
|
3333
3333
|
subscriptionId: z$1.ZodString;
|
|
@@ -3348,15 +3348,15 @@ declare const apiOperations: {
|
|
|
3348
3348
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
3349
3349
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3350
3350
|
free: "free";
|
|
3351
|
+
stripe: "stripe";
|
|
3351
3352
|
apple: "apple";
|
|
3352
3353
|
google: "google";
|
|
3353
|
-
stripe: "stripe";
|
|
3354
3354
|
}>>;
|
|
3355
3355
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3356
3356
|
active: "active";
|
|
3357
|
-
trial: "trial";
|
|
3358
3357
|
past_due: "past_due";
|
|
3359
3358
|
ended: "ended";
|
|
3359
|
+
trial: "trial";
|
|
3360
3360
|
refunded: "refunded";
|
|
3361
3361
|
}>>;
|
|
3362
3362
|
cursor: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3378,9 +3378,9 @@ declare const apiOperations: {
|
|
|
3378
3378
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
3379
3379
|
status: z$1.ZodEnum<{
|
|
3380
3380
|
active: "active";
|
|
3381
|
-
trial: "trial";
|
|
3382
3381
|
past_due: "past_due";
|
|
3383
3382
|
ended: "ended";
|
|
3383
|
+
trial: "trial";
|
|
3384
3384
|
}>;
|
|
3385
3385
|
cancelAtPeriodEnd: z$1.ZodBoolean;
|
|
3386
3386
|
billingSubscriptionId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
@@ -3392,9 +3392,9 @@ declare const apiOperations: {
|
|
|
3392
3392
|
name: z$1.ZodString;
|
|
3393
3393
|
provider: z$1.ZodEnum<{
|
|
3394
3394
|
free: "free";
|
|
3395
|
+
stripe: "stripe";
|
|
3395
3396
|
apple: "apple";
|
|
3396
3397
|
google: "google";
|
|
3397
|
-
stripe: "stripe";
|
|
3398
3398
|
}>;
|
|
3399
3399
|
createdAt: z$1.ZodISODateTime;
|
|
3400
3400
|
}, z$1.core.$strict>>;
|
|
@@ -3416,15 +3416,15 @@ declare const apiOperations: {
|
|
|
3416
3416
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
3417
3417
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3418
3418
|
free: "free";
|
|
3419
|
+
stripe: "stripe";
|
|
3419
3420
|
apple: "apple";
|
|
3420
3421
|
google: "google";
|
|
3421
|
-
stripe: "stripe";
|
|
3422
3422
|
}>>;
|
|
3423
3423
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3424
3424
|
active: "active";
|
|
3425
|
-
trial: "trial";
|
|
3426
3425
|
past_due: "past_due";
|
|
3427
3426
|
ended: "ended";
|
|
3427
|
+
trial: "trial";
|
|
3428
3428
|
refunded: "refunded";
|
|
3429
3429
|
}>>;
|
|
3430
3430
|
cursor: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3495,9 +3495,9 @@ declare const apiOperations: {
|
|
|
3495
3495
|
name: z$1.ZodString;
|
|
3496
3496
|
provider: z$1.ZodEnum<{
|
|
3497
3497
|
free: "free";
|
|
3498
|
+
stripe: "stripe";
|
|
3498
3499
|
apple: "apple";
|
|
3499
3500
|
google: "google";
|
|
3500
|
-
stripe: "stripe";
|
|
3501
3501
|
}>;
|
|
3502
3502
|
createdAt: z$1.ZodISODateTime;
|
|
3503
3503
|
}, z$1.core.$strict>>;
|
|
@@ -3519,9 +3519,9 @@ declare const apiOperations: {
|
|
|
3519
3519
|
productId: z$1.ZodOptional<z$1.ZodString>;
|
|
3520
3520
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3521
3521
|
free: "free";
|
|
3522
|
+
stripe: "stripe";
|
|
3522
3523
|
apple: "apple";
|
|
3523
3524
|
google: "google";
|
|
3524
|
-
stripe: "stripe";
|
|
3525
3525
|
}>>;
|
|
3526
3526
|
cursor: z$1.ZodOptional<z$1.ZodObject<{
|
|
3527
3527
|
createdAt: z$1.ZodISODateTime;
|
|
@@ -3562,9 +3562,9 @@ declare const apiOperations: {
|
|
|
3562
3562
|
name: z$1.ZodString;
|
|
3563
3563
|
provider: z$1.ZodEnum<{
|
|
3564
3564
|
free: "free";
|
|
3565
|
+
stripe: "stripe";
|
|
3565
3566
|
apple: "apple";
|
|
3566
3567
|
google: "google";
|
|
3567
|
-
stripe: "stripe";
|
|
3568
3568
|
}>;
|
|
3569
3569
|
createdAt: z$1.ZodISODateTime;
|
|
3570
3570
|
}, z$1.core.$strict>>;
|
|
@@ -3637,13 +3637,13 @@ declare const apiOperations: {
|
|
|
3637
3637
|
currency: "currency";
|
|
3638
3638
|
price: "price";
|
|
3639
3639
|
status: "status";
|
|
3640
|
-
subscription: "subscription";
|
|
3641
|
-
cancelAtPeriodEnd: "cancelAtPeriodEnd";
|
|
3642
3640
|
product: "product";
|
|
3643
|
-
|
|
3644
|
-
|
|
3641
|
+
cancelAtPeriodEnd: "cancelAtPeriodEnd";
|
|
3642
|
+
subscription: "subscription";
|
|
3645
3643
|
trialEnd: "trialEnd";
|
|
3646
3644
|
item: "item";
|
|
3645
|
+
periodStart: "periodStart";
|
|
3646
|
+
periodEnd: "periodEnd";
|
|
3647
3647
|
evidence: "evidence";
|
|
3648
3648
|
}>;
|
|
3649
3649
|
expected: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>;
|
|
@@ -3681,9 +3681,9 @@ declare const apiOperations: {
|
|
|
3681
3681
|
featureQuantities: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodUUID, z$1.ZodNumber>>;
|
|
3682
3682
|
}, z$1.core.$strict>>;
|
|
3683
3683
|
provider: z$1.ZodEnum<{
|
|
3684
|
+
stripe: "stripe";
|
|
3684
3685
|
apple: "apple";
|
|
3685
3686
|
google: "google";
|
|
3686
|
-
stripe: "stripe";
|
|
3687
3687
|
}>;
|
|
3688
3688
|
currency: z$1.ZodEnum<{
|
|
3689
3689
|
USD: "USD";
|
|
@@ -3807,9 +3807,9 @@ declare const apiOperations: {
|
|
|
3807
3807
|
}, z$1.core.$strict>>;
|
|
3808
3808
|
expiresAt: z$1.ZodISODateTime;
|
|
3809
3809
|
provider: z$1.ZodEnum<{
|
|
3810
|
+
stripe: "stripe";
|
|
3810
3811
|
apple: "apple";
|
|
3811
3812
|
google: "google";
|
|
3812
|
-
stripe: "stripe";
|
|
3813
3813
|
}>;
|
|
3814
3814
|
nativeOffer: z$1.ZodOptional<z$1.ZodObject<{
|
|
3815
3815
|
offerKind: z$1.ZodEnum<{
|
|
@@ -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
|
-
merchant: "merchant";
|
|
3985
3984
|
indiana: "indiana";
|
|
3985
|
+
merchant: "merchant";
|
|
3986
3986
|
}>;
|
|
3987
3987
|
accountId: z$1.ZodString;
|
|
3988
3988
|
mode: z$1.ZodEnum<{
|
|
3989
|
-
subscription: "subscription";
|
|
3990
3989
|
payment: "payment";
|
|
3990
|
+
subscription: "subscription";
|
|
3991
3991
|
}>;
|
|
3992
3992
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
3993
3993
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4079,8 +4079,8 @@ declare const apiOperations: {
|
|
|
4079
4079
|
cancelled: "cancelled";
|
|
4080
4080
|
}>;
|
|
4081
4081
|
executor: z$1.ZodEnum<{
|
|
4082
|
-
merchant: "merchant";
|
|
4083
4082
|
indiana: "indiana";
|
|
4083
|
+
merchant: "merchant";
|
|
4084
4084
|
}>;
|
|
4085
4085
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4086
4086
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4106,13 +4106,13 @@ declare const apiOperations: {
|
|
|
4106
4106
|
}, z$1.core.$strict>>;
|
|
4107
4107
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4108
4108
|
executor: z$1.ZodEnum<{
|
|
4109
|
-
merchant: "merchant";
|
|
4110
4109
|
indiana: "indiana";
|
|
4110
|
+
merchant: "merchant";
|
|
4111
4111
|
}>;
|
|
4112
4112
|
accountId: z$1.ZodString;
|
|
4113
4113
|
mode: z$1.ZodEnum<{
|
|
4114
|
-
subscription: "subscription";
|
|
4115
4114
|
payment: "payment";
|
|
4115
|
+
subscription: "subscription";
|
|
4116
4116
|
}>;
|
|
4117
4117
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
4118
4118
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4217,8 +4217,8 @@ declare const apiOperations: {
|
|
|
4217
4217
|
}>;
|
|
4218
4218
|
productId: z$1.ZodString;
|
|
4219
4219
|
productKind: z$1.ZodEnum<{
|
|
4220
|
-
membership: "membership";
|
|
4221
4220
|
lifetime: "lifetime";
|
|
4221
|
+
membership: "membership";
|
|
4222
4222
|
credit_pack: "credit_pack";
|
|
4223
4223
|
}>;
|
|
4224
4224
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4323,8 +4323,8 @@ declare const apiOperations: {
|
|
|
4323
4323
|
cancelled: "cancelled";
|
|
4324
4324
|
}>;
|
|
4325
4325
|
executor: z$1.ZodEnum<{
|
|
4326
|
-
merchant: "merchant";
|
|
4327
4326
|
indiana: "indiana";
|
|
4327
|
+
merchant: "merchant";
|
|
4328
4328
|
}>;
|
|
4329
4329
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4330
4330
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4350,13 +4350,13 @@ declare const apiOperations: {
|
|
|
4350
4350
|
}, z$1.core.$strict>>;
|
|
4351
4351
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4352
4352
|
executor: z$1.ZodEnum<{
|
|
4353
|
-
merchant: "merchant";
|
|
4354
4353
|
indiana: "indiana";
|
|
4354
|
+
merchant: "merchant";
|
|
4355
4355
|
}>;
|
|
4356
4356
|
accountId: z$1.ZodString;
|
|
4357
4357
|
mode: z$1.ZodEnum<{
|
|
4358
|
-
subscription: "subscription";
|
|
4359
4358
|
payment: "payment";
|
|
4359
|
+
subscription: "subscription";
|
|
4360
4360
|
}>;
|
|
4361
4361
|
lineItems: z$1.ZodArray<z$1.ZodObject<{
|
|
4362
4362
|
price: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4461,8 +4461,8 @@ declare const apiOperations: {
|
|
|
4461
4461
|
}>;
|
|
4462
4462
|
productId: z$1.ZodString;
|
|
4463
4463
|
productKind: z$1.ZodEnum<{
|
|
4464
|
-
membership: "membership";
|
|
4465
4464
|
lifetime: "lifetime";
|
|
4465
|
+
membership: "membership";
|
|
4466
4466
|
credit_pack: "credit_pack";
|
|
4467
4467
|
}>;
|
|
4468
4468
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -4658,8 +4658,8 @@ declare const apiOperations: {
|
|
|
4658
4658
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4659
4659
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4660
4660
|
executor: z$1.ZodEnum<{
|
|
4661
|
-
merchant: "merchant";
|
|
4662
4661
|
indiana: "indiana";
|
|
4662
|
+
merchant: "merchant";
|
|
4663
4663
|
}>;
|
|
4664
4664
|
accountId: z$1.ZodString;
|
|
4665
4665
|
subscriptionId: z$1.ZodString;
|
|
@@ -4818,10 +4818,10 @@ declare const apiOperations: {
|
|
|
4818
4818
|
membershipId: z$1.ZodUUID;
|
|
4819
4819
|
productVersionId: z$1.ZodUUID;
|
|
4820
4820
|
status: z$1.ZodEnum<{
|
|
4821
|
-
pending: "pending";
|
|
4822
|
-
failed: "failed";
|
|
4823
4821
|
scheduled: "scheduled";
|
|
4824
4822
|
prepared: "prepared";
|
|
4823
|
+
pending: "pending";
|
|
4824
|
+
failed: "failed";
|
|
4825
4825
|
effective: "effective";
|
|
4826
4826
|
confirmed: "confirmed";
|
|
4827
4827
|
quoted: "quoted";
|
|
@@ -4834,15 +4834,15 @@ declare const apiOperations: {
|
|
|
4834
4834
|
effectiveAt: z$1.ZodISODateTime;
|
|
4835
4835
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
4836
4836
|
executor: z$1.ZodEnum<{
|
|
4837
|
-
merchant: "merchant";
|
|
4838
4837
|
indiana: "indiana";
|
|
4838
|
+
merchant: "merchant";
|
|
4839
4839
|
}>;
|
|
4840
4840
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
4841
4841
|
provider: z$1.ZodLiteral<"stripe">;
|
|
4842
4842
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
4843
4843
|
executor: z$1.ZodEnum<{
|
|
4844
|
-
merchant: "merchant";
|
|
4845
4844
|
indiana: "indiana";
|
|
4845
|
+
merchant: "merchant";
|
|
4846
4846
|
}>;
|
|
4847
4847
|
accountId: z$1.ZodString;
|
|
4848
4848
|
subscriptionId: z$1.ZodString;
|
|
@@ -4915,9 +4915,9 @@ declare const apiOperations: {
|
|
|
4915
4915
|
membershipId: z$1.ZodUUID;
|
|
4916
4916
|
productVersionId: z$1.ZodUUID;
|
|
4917
4917
|
status: z$1.ZodEnum<{
|
|
4918
|
+
prepared: "prepared";
|
|
4918
4919
|
pending: "pending";
|
|
4919
4920
|
failed: "failed";
|
|
4920
|
-
prepared: "prepared";
|
|
4921
4921
|
effective: "effective";
|
|
4922
4922
|
cancelled: "cancelled";
|
|
4923
4923
|
}>;
|
|
@@ -4935,8 +4935,8 @@ declare const apiOperations: {
|
|
|
4935
4935
|
}>;
|
|
4936
4936
|
productId: z$1.ZodString;
|
|
4937
4937
|
productKind: z$1.ZodEnum<{
|
|
4938
|
-
membership: "membership";
|
|
4939
4938
|
lifetime: "lifetime";
|
|
4939
|
+
membership: "membership";
|
|
4940
4940
|
credit_pack: "credit_pack";
|
|
4941
4941
|
}>;
|
|
4942
4942
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -5035,10 +5035,10 @@ declare const apiOperations: {
|
|
|
5035
5035
|
membershipId: z$1.ZodUUID;
|
|
5036
5036
|
productVersionId: z$1.ZodUUID;
|
|
5037
5037
|
status: z$1.ZodEnum<{
|
|
5038
|
-
pending: "pending";
|
|
5039
|
-
failed: "failed";
|
|
5040
5038
|
scheduled: "scheduled";
|
|
5041
5039
|
prepared: "prepared";
|
|
5040
|
+
pending: "pending";
|
|
5041
|
+
failed: "failed";
|
|
5042
5042
|
effective: "effective";
|
|
5043
5043
|
confirmed: "confirmed";
|
|
5044
5044
|
quoted: "quoted";
|
|
@@ -5051,15 +5051,15 @@ declare const apiOperations: {
|
|
|
5051
5051
|
effectiveAt: z$1.ZodISODateTime;
|
|
5052
5052
|
checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
|
|
5053
5053
|
executor: z$1.ZodEnum<{
|
|
5054
|
-
merchant: "merchant";
|
|
5055
5054
|
indiana: "indiana";
|
|
5055
|
+
merchant: "merchant";
|
|
5056
5056
|
}>;
|
|
5057
5057
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5058
5058
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5059
5059
|
invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
|
|
5060
5060
|
executor: z$1.ZodEnum<{
|
|
5061
|
-
merchant: "merchant";
|
|
5062
5061
|
indiana: "indiana";
|
|
5062
|
+
merchant: "merchant";
|
|
5063
5063
|
}>;
|
|
5064
5064
|
accountId: z$1.ZodString;
|
|
5065
5065
|
subscriptionId: z$1.ZodString;
|
|
@@ -5132,9 +5132,9 @@ declare const apiOperations: {
|
|
|
5132
5132
|
membershipId: z$1.ZodUUID;
|
|
5133
5133
|
productVersionId: z$1.ZodUUID;
|
|
5134
5134
|
status: z$1.ZodEnum<{
|
|
5135
|
+
prepared: "prepared";
|
|
5135
5136
|
pending: "pending";
|
|
5136
5137
|
failed: "failed";
|
|
5137
|
-
prepared: "prepared";
|
|
5138
5138
|
effective: "effective";
|
|
5139
5139
|
cancelled: "cancelled";
|
|
5140
5140
|
}>;
|
|
@@ -5152,8 +5152,8 @@ declare const apiOperations: {
|
|
|
5152
5152
|
}>;
|
|
5153
5153
|
productId: z$1.ZodString;
|
|
5154
5154
|
productKind: z$1.ZodEnum<{
|
|
5155
|
-
membership: "membership";
|
|
5156
5155
|
lifetime: "lifetime";
|
|
5156
|
+
membership: "membership";
|
|
5157
5157
|
credit_pack: "credit_pack";
|
|
5158
5158
|
}>;
|
|
5159
5159
|
replacement: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -5314,8 +5314,8 @@ declare const apiOperations: {
|
|
|
5314
5314
|
execution: z$1.ZodObject<{
|
|
5315
5315
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5316
5316
|
executor: z$1.ZodEnum<{
|
|
5317
|
-
merchant: "merchant";
|
|
5318
5317
|
indiana: "indiana";
|
|
5318
|
+
merchant: "merchant";
|
|
5319
5319
|
}>;
|
|
5320
5320
|
accountId: z$1.ZodString;
|
|
5321
5321
|
invoice: z$1.ZodString;
|
|
@@ -5354,15 +5354,15 @@ declare const apiOperations: {
|
|
|
5354
5354
|
invoiceId: z$1.ZodUUID;
|
|
5355
5355
|
providerInvoiceId: z$1.ZodString;
|
|
5356
5356
|
status: z$1.ZodEnum<{
|
|
5357
|
-
pending: "pending";
|
|
5358
5357
|
expired: "expired";
|
|
5358
|
+
pending: "pending";
|
|
5359
5359
|
failed: "failed";
|
|
5360
5360
|
quoted: "quoted";
|
|
5361
5361
|
succeeded: "succeeded";
|
|
5362
5362
|
}>;
|
|
5363
5363
|
executor: z$1.ZodEnum<{
|
|
5364
|
-
merchant: "merchant";
|
|
5365
5364
|
indiana: "indiana";
|
|
5365
|
+
merchant: "merchant";
|
|
5366
5366
|
}>;
|
|
5367
5367
|
currency: z$1.ZodEnum<{
|
|
5368
5368
|
USD: "USD";
|
|
@@ -5412,8 +5412,8 @@ declare const apiOperations: {
|
|
|
5412
5412
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5413
5413
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5414
5414
|
executor: z$1.ZodEnum<{
|
|
5415
|
-
merchant: "merchant";
|
|
5416
5415
|
indiana: "indiana";
|
|
5416
|
+
merchant: "merchant";
|
|
5417
5417
|
}>;
|
|
5418
5418
|
accountId: z$1.ZodString;
|
|
5419
5419
|
invoice: z$1.ZodString;
|
|
@@ -5454,15 +5454,15 @@ declare const apiOperations: {
|
|
|
5454
5454
|
invoiceId: z$1.ZodUUID;
|
|
5455
5455
|
providerInvoiceId: z$1.ZodString;
|
|
5456
5456
|
status: z$1.ZodEnum<{
|
|
5457
|
-
pending: "pending";
|
|
5458
5457
|
expired: "expired";
|
|
5458
|
+
pending: "pending";
|
|
5459
5459
|
failed: "failed";
|
|
5460
5460
|
quoted: "quoted";
|
|
5461
5461
|
succeeded: "succeeded";
|
|
5462
5462
|
}>;
|
|
5463
5463
|
executor: z$1.ZodEnum<{
|
|
5464
|
-
merchant: "merchant";
|
|
5465
5464
|
indiana: "indiana";
|
|
5465
|
+
merchant: "merchant";
|
|
5466
5466
|
}>;
|
|
5467
5467
|
currency: z$1.ZodEnum<{
|
|
5468
5468
|
USD: "USD";
|
|
@@ -5512,8 +5512,8 @@ declare const apiOperations: {
|
|
|
5512
5512
|
execution: z$1.ZodNullable<z$1.ZodObject<{
|
|
5513
5513
|
provider: z$1.ZodLiteral<"stripe">;
|
|
5514
5514
|
executor: z$1.ZodEnum<{
|
|
5515
|
-
merchant: "merchant";
|
|
5516
5515
|
indiana: "indiana";
|
|
5516
|
+
merchant: "merchant";
|
|
5517
5517
|
}>;
|
|
5518
5518
|
accountId: z$1.ZodString;
|
|
5519
5519
|
invoice: z$1.ZodString;
|
|
@@ -5801,9 +5801,9 @@ declare const apiOperations: {
|
|
|
5801
5801
|
autoTopups: z$1.ZodArray<z$1.ZodObject<{
|
|
5802
5802
|
authorizationId: z$1.ZodUUID;
|
|
5803
5803
|
status: z$1.ZodEnum<{
|
|
5804
|
-
pending: "pending";
|
|
5805
5804
|
blocked: "blocked";
|
|
5806
5805
|
idle: "idle";
|
|
5806
|
+
pending: "pending";
|
|
5807
5807
|
}>;
|
|
5808
5808
|
taskId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
5809
5809
|
invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
@@ -6636,11 +6636,11 @@ declare const apiOperations: {
|
|
|
6636
6636
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
6637
6637
|
status: z$1.ZodEnum<{
|
|
6638
6638
|
void: "void";
|
|
6639
|
-
pending: "pending";
|
|
6640
|
-
failed: "failed";
|
|
6641
6639
|
open: "open";
|
|
6640
|
+
pending: "pending";
|
|
6642
6641
|
accruing: "accruing";
|
|
6643
6642
|
paid: "paid";
|
|
6643
|
+
failed: "failed";
|
|
6644
6644
|
}>;
|
|
6645
6645
|
currency: z$1.ZodEnum<{
|
|
6646
6646
|
USD: "USD";
|
|
@@ -6798,11 +6798,11 @@ declare const apiOperations: {
|
|
|
6798
6798
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
6799
6799
|
status: z$1.ZodEnum<{
|
|
6800
6800
|
void: "void";
|
|
6801
|
-
pending: "pending";
|
|
6802
|
-
failed: "failed";
|
|
6803
6801
|
open: "open";
|
|
6802
|
+
pending: "pending";
|
|
6804
6803
|
accruing: "accruing";
|
|
6805
6804
|
paid: "paid";
|
|
6805
|
+
failed: "failed";
|
|
6806
6806
|
}>;
|
|
6807
6807
|
currency: z$1.ZodEnum<{
|
|
6808
6808
|
USD: "USD";
|
|
@@ -7240,9 +7240,9 @@ declare const apiOperations: {
|
|
|
7240
7240
|
autoTopups: z$1.ZodArray<z$1.ZodObject<{
|
|
7241
7241
|
authorizationId: z$1.ZodUUID;
|
|
7242
7242
|
status: z$1.ZodEnum<{
|
|
7243
|
-
pending: "pending";
|
|
7244
7243
|
blocked: "blocked";
|
|
7245
7244
|
idle: "idle";
|
|
7245
|
+
pending: "pending";
|
|
7246
7246
|
}>;
|
|
7247
7247
|
taskId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
7248
7248
|
invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
@@ -7427,9 +7427,9 @@ declare const apiOperations: {
|
|
|
7427
7427
|
entityId: z$1.ZodNullable<z$1.ZodUUID>;
|
|
7428
7428
|
topN: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7429
7429
|
groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
7430
|
-
source: "source";
|
|
7431
7430
|
customer: "customer";
|
|
7432
7431
|
entity: "entity";
|
|
7432
|
+
source: "source";
|
|
7433
7433
|
dimension: "dimension";
|
|
7434
7434
|
plan: "plan";
|
|
7435
7435
|
entitlement: "entitlement";
|
|
@@ -7559,8 +7559,8 @@ declare const apiOperations: {
|
|
|
7559
7559
|
customerId: z$1.ZodUUID;
|
|
7560
7560
|
idempotencyKey: z$1.ZodString;
|
|
7561
7561
|
status: z$1.ZodEnum<{
|
|
7562
|
-
failed: "failed";
|
|
7563
7562
|
accepted: "accepted";
|
|
7563
|
+
failed: "failed";
|
|
7564
7564
|
queued: "queued";
|
|
7565
7565
|
rejected: "rejected";
|
|
7566
7566
|
}>;
|
|
@@ -7595,8 +7595,8 @@ declare const apiOperations: {
|
|
|
7595
7595
|
}>>;
|
|
7596
7596
|
createdAt: z$1.ZodISODateTime;
|
|
7597
7597
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
7598
|
-
pending: "pending";
|
|
7599
7598
|
expired: "expired";
|
|
7599
|
+
pending: "pending";
|
|
7600
7600
|
confirmed: "confirmed";
|
|
7601
7601
|
released: "released";
|
|
7602
7602
|
}>>;
|
|
@@ -7660,9 +7660,9 @@ declare const apiOperations: {
|
|
|
7660
7660
|
}, z$1.core.$strict>;
|
|
7661
7661
|
commerce: z$1.ZodOptional<z$1.ZodObject<{
|
|
7662
7662
|
provider: z$1.ZodEnum<{
|
|
7663
|
+
stripe: "stripe";
|
|
7663
7664
|
apple: "apple";
|
|
7664
7665
|
google: "google";
|
|
7665
|
-
stripe: "stripe";
|
|
7666
7666
|
}>;
|
|
7667
7667
|
currency: z$1.ZodEnum<{
|
|
7668
7668
|
USD: "USD";
|
|
@@ -8007,9 +8007,9 @@ declare const apiOperations: {
|
|
|
8007
8007
|
customerId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
8008
8008
|
commerce: z$1.ZodObject<{
|
|
8009
8009
|
provider: z$1.ZodEnum<{
|
|
8010
|
+
stripe: "stripe";
|
|
8010
8011
|
apple: "apple";
|
|
8011
8012
|
google: "google";
|
|
8012
|
-
stripe: "stripe";
|
|
8013
8013
|
}>;
|
|
8014
8014
|
currency: z$1.ZodEnum<{
|
|
8015
8015
|
USD: "USD";
|
|
@@ -8449,9 +8449,9 @@ declare const apiOperations: {
|
|
|
8449
8449
|
customerId: z$1.ZodOptional<z$1.ZodString>;
|
|
8450
8450
|
commerce: z$1.ZodObject<{
|
|
8451
8451
|
provider: z$1.ZodEnum<{
|
|
8452
|
+
stripe: "stripe";
|
|
8452
8453
|
apple: "apple";
|
|
8453
8454
|
google: "google";
|
|
8454
|
-
stripe: "stripe";
|
|
8455
8455
|
}>;
|
|
8456
8456
|
currency: z$1.ZodEnum<{
|
|
8457
8457
|
USD: "USD";
|
|
@@ -8716,13 +8716,13 @@ declare const apiOperations: {
|
|
|
8716
8716
|
status: z$1.ZodEnum<{
|
|
8717
8717
|
unknown: "unknown";
|
|
8718
8718
|
active: "active";
|
|
8719
|
-
pending: "pending";
|
|
8720
|
-
expired: "expired";
|
|
8721
8719
|
scheduled: "scheduled";
|
|
8722
|
-
|
|
8720
|
+
expired: "expired";
|
|
8723
8721
|
past_due: "past_due";
|
|
8724
8722
|
paused: "paused";
|
|
8725
8723
|
ended: "ended";
|
|
8724
|
+
pending: "pending";
|
|
8725
|
+
trial: "trial";
|
|
8726
8726
|
trialing: "trialing";
|
|
8727
8727
|
}>;
|
|
8728
8728
|
cancelAtPeriodEnd: z$1.ZodBoolean;
|
|
@@ -8754,17 +8754,17 @@ declare const apiOperations: {
|
|
|
8754
8754
|
toQuantity: z$1.ZodNumber;
|
|
8755
8755
|
}, z$1.core.$strict>>;
|
|
8756
8756
|
status: z$1.ZodEnum<{
|
|
8757
|
-
pending: "pending";
|
|
8758
8757
|
scheduled: "scheduled";
|
|
8759
8758
|
prepared: "prepared";
|
|
8759
|
+
pending: "pending";
|
|
8760
8760
|
confirmed: "confirmed";
|
|
8761
8761
|
quoted: "quoted";
|
|
8762
8762
|
}>;
|
|
8763
8763
|
}, z$1.core.$strict>>;
|
|
8764
8764
|
period: z$1.ZodNullable<z$1.ZodObject<{
|
|
8765
8765
|
phase: z$1.ZodEnum<{
|
|
8766
|
-
trial: "trial";
|
|
8767
8766
|
paid: "paid";
|
|
8767
|
+
trial: "trial";
|
|
8768
8768
|
}>;
|
|
8769
8769
|
startsAt: z$1.ZodISODateTime;
|
|
8770
8770
|
endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
|
|
@@ -8815,8 +8815,8 @@ declare const apiOperations: {
|
|
|
8815
8815
|
customerId: z$1.ZodOptional<z$1.ZodUUID>;
|
|
8816
8816
|
query: z$1.ZodObject<{
|
|
8817
8817
|
type: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8818
|
-
source: "source";
|
|
8819
8818
|
usage: "usage";
|
|
8819
|
+
source: "source";
|
|
8820
8820
|
invoice: "invoice";
|
|
8821
8821
|
debt: "debt";
|
|
8822
8822
|
transaction: "transaction";
|
|
@@ -8834,8 +8834,8 @@ declare const apiOperations: {
|
|
|
8834
8834
|
at: z$1.ZodISODateTime;
|
|
8835
8835
|
id: z$1.ZodUUID;
|
|
8836
8836
|
type: z$1.ZodEnum<{
|
|
8837
|
-
source: "source";
|
|
8838
8837
|
usage: "usage";
|
|
8838
|
+
source: "source";
|
|
8839
8839
|
invoice: "invoice";
|
|
8840
8840
|
debt: "debt";
|
|
8841
8841
|
transaction: "transaction";
|
|
@@ -8903,10 +8903,10 @@ declare const apiOperations: {
|
|
|
8903
8903
|
type: z$1.ZodLiteral<"source">;
|
|
8904
8904
|
reason: z$1.ZodEnum<{
|
|
8905
8905
|
topup: "topup";
|
|
8906
|
-
trial: "trial";
|
|
8907
8906
|
membership: "membership";
|
|
8908
8907
|
manual: "manual";
|
|
8909
8908
|
rollover: "rollover";
|
|
8909
|
+
trial: "trial";
|
|
8910
8910
|
seat: "seat";
|
|
8911
8911
|
upgrade_carry: "upgrade_carry";
|
|
8912
8912
|
}>;
|
|
@@ -8915,8 +8915,8 @@ declare const apiOperations: {
|
|
|
8915
8915
|
status: z$1.ZodEnum<{
|
|
8916
8916
|
unavailable: "unavailable";
|
|
8917
8917
|
active: "active";
|
|
8918
|
-
expired: "expired";
|
|
8919
8918
|
scheduled: "scheduled";
|
|
8919
|
+
expired: "expired";
|
|
8920
8920
|
revoked: "revoked";
|
|
8921
8921
|
}>;
|
|
8922
8922
|
startsAt: z$1.ZodISODateTime;
|
|
@@ -8963,8 +8963,8 @@ declare const apiOperations: {
|
|
|
8963
8963
|
[k: string]: string;
|
|
8964
8964
|
}, Record<string, string | number | boolean>>>;
|
|
8965
8965
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8966
|
-
pending: "pending";
|
|
8967
8966
|
expired: "expired";
|
|
8967
|
+
pending: "pending";
|
|
8968
8968
|
confirmed: "confirmed";
|
|
8969
8969
|
released: "released";
|
|
8970
8970
|
}>>;
|
|
@@ -9122,8 +9122,8 @@ declare const apiOperations: {
|
|
|
9122
9122
|
at: z$1.ZodISODateTime;
|
|
9123
9123
|
id: z$1.ZodUUID;
|
|
9124
9124
|
type: z$1.ZodEnum<{
|
|
9125
|
-
source: "source";
|
|
9126
9125
|
usage: "usage";
|
|
9126
|
+
source: "source";
|
|
9127
9127
|
invoice: "invoice";
|
|
9128
9128
|
debt: "debt";
|
|
9129
9129
|
transaction: "transaction";
|
|
@@ -9164,11 +9164,11 @@ declare const apiOperations: {
|
|
|
9164
9164
|
providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
|
|
9165
9165
|
status: z$1.ZodEnum<{
|
|
9166
9166
|
void: "void";
|
|
9167
|
-
pending: "pending";
|
|
9168
|
-
failed: "failed";
|
|
9169
9167
|
open: "open";
|
|
9168
|
+
pending: "pending";
|
|
9170
9169
|
accruing: "accruing";
|
|
9171
9170
|
paid: "paid";
|
|
9171
|
+
failed: "failed";
|
|
9172
9172
|
}>;
|
|
9173
9173
|
currency: z$1.ZodEnum<{
|
|
9174
9174
|
USD: "USD";
|
|
@@ -9694,8 +9694,8 @@ declare const apiOperations: {
|
|
|
9694
9694
|
}>>;
|
|
9695
9695
|
createdAt: z$1.ZodISODateTime;
|
|
9696
9696
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9697
|
-
pending: "pending";
|
|
9698
9697
|
expired: "expired";
|
|
9698
|
+
pending: "pending";
|
|
9699
9699
|
confirmed: "confirmed";
|
|
9700
9700
|
released: "released";
|
|
9701
9701
|
}>>;
|
|
@@ -9995,8 +9995,8 @@ declare const apiOperations: {
|
|
|
9995
9995
|
}>>;
|
|
9996
9996
|
createdAt: z$1.ZodISODateTime;
|
|
9997
9997
|
reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
|
|
9998
|
-
pending: "pending";
|
|
9999
9998
|
expired: "expired";
|
|
9999
|
+
pending: "pending";
|
|
10000
10000
|
confirmed: "confirmed";
|
|
10001
10001
|
released: "released";
|
|
10002
10002
|
}>>;
|
|
@@ -10199,11 +10199,11 @@ declare const apiOperations: {
|
|
|
10199
10199
|
renewalAmountMinor: z$1.ZodNumber;
|
|
10200
10200
|
status: z$1.ZodEnum<{
|
|
10201
10201
|
pending: "pending";
|
|
10202
|
-
failed: "failed";
|
|
10203
10202
|
paid: "paid";
|
|
10203
|
+
failed: "failed";
|
|
10204
10204
|
trialing: "trialing";
|
|
10205
|
-
created: "created";
|
|
10206
10205
|
cancelled: "cancelled";
|
|
10206
|
+
created: "created";
|
|
10207
10207
|
}>;
|
|
10208
10208
|
url: z$1.ZodNullable<z$1.ZodURL>;
|
|
10209
10209
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -10256,9 +10256,9 @@ declare const apiOperations: {
|
|
|
10256
10256
|
}, z$1.core.$strict>], "type">;
|
|
10257
10257
|
renewalAmountMinor: z$1.ZodNumber;
|
|
10258
10258
|
status: z$1.ZodEnum<{
|
|
10259
|
+
running: "running";
|
|
10259
10260
|
pending: "pending";
|
|
10260
10261
|
failed: "failed";
|
|
10261
|
-
running: "running";
|
|
10262
10262
|
applied: "applied";
|
|
10263
10263
|
}>;
|
|
10264
10264
|
}, z$1.core.$strict>], "type">;
|
|
@@ -10534,16 +10534,16 @@ declare const apiOperations: {
|
|
|
10534
10534
|
"": "";
|
|
10535
10535
|
unavailable: "unavailable";
|
|
10536
10536
|
active: "active";
|
|
10537
|
-
expired: "expired";
|
|
10538
|
-
scheduled: "scheduled";
|
|
10539
10537
|
none: "none";
|
|
10538
|
+
scheduled: "scheduled";
|
|
10539
|
+
expired: "expired";
|
|
10540
10540
|
}>>;
|
|
10541
10541
|
membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
|
|
10542
10542
|
"": "";
|
|
10543
10543
|
active: "active";
|
|
10544
|
-
trial: "trial";
|
|
10545
10544
|
past_due: "past_due";
|
|
10546
10545
|
ended: "ended";
|
|
10546
|
+
trial: "trial";
|
|
10547
10547
|
}>>;
|
|
10548
10548
|
createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
|
|
10549
10549
|
createdUntil: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
|
|
@@ -10644,20 +10644,20 @@ declare const apiOperations: {
|
|
|
10644
10644
|
live: "live";
|
|
10645
10645
|
}>;
|
|
10646
10646
|
}, z$1.core.$strict>;
|
|
10647
|
-
|
|
10648
|
-
expiresAt: z$1.ZodISODateTime;
|
|
10647
|
+
customerId: z$1.ZodUUID;
|
|
10649
10648
|
sessionId: z$1.ZodUUID;
|
|
10649
|
+
accessToken: z$1.ZodString;
|
|
10650
|
+
refreshToken: z$1.ZodString;
|
|
10651
|
+
expiresAt: z$1.ZodISODateTime;
|
|
10652
|
+
refreshExpiresAt: z$1.ZodISODateTime;
|
|
10650
10653
|
}, z$1.core.$strict>;
|
|
10651
10654
|
};
|
|
10652
|
-
readonly
|
|
10655
|
+
readonly refreshSession: {
|
|
10653
10656
|
readonly method: "POST";
|
|
10654
|
-
readonly path: "customer-sessions/
|
|
10657
|
+
readonly path: "customer-sessions/refresh";
|
|
10655
10658
|
readonly permission: "sessions:create";
|
|
10656
|
-
readonly audience: "
|
|
10657
|
-
readonly request: z$1.ZodObject<{
|
|
10658
|
-
customerId: z$1.ZodUUID;
|
|
10659
|
-
customerToken: z$1.ZodString;
|
|
10660
|
-
}, z$1.core.$strict>;
|
|
10659
|
+
readonly audience: "refresh";
|
|
10660
|
+
readonly request: z$1.ZodObject<{}, z$1.core.$strict>;
|
|
10661
10661
|
readonly response: z$1.ZodObject<{
|
|
10662
10662
|
requestId: z$1.ZodUUID;
|
|
10663
10663
|
scope: z$1.ZodObject<{
|
|
@@ -10667,9 +10667,12 @@ declare const apiOperations: {
|
|
|
10667
10667
|
live: "live";
|
|
10668
10668
|
}>;
|
|
10669
10669
|
}, z$1.core.$strict>;
|
|
10670
|
-
|
|
10670
|
+
customerId: z$1.ZodUUID;
|
|
10671
10671
|
sessionId: z$1.ZodUUID;
|
|
10672
|
+
accessToken: z$1.ZodString;
|
|
10673
|
+
refreshToken: z$1.ZodString;
|
|
10672
10674
|
expiresAt: z$1.ZodISODateTime;
|
|
10675
|
+
refreshExpiresAt: z$1.ZodISODateTime;
|
|
10673
10676
|
}, z$1.core.$strict>;
|
|
10674
10677
|
};
|
|
10675
10678
|
readonly revokeSessions: {
|
|
@@ -10734,9 +10737,11 @@ declare const apiOperations: {
|
|
|
10734
10737
|
}>;
|
|
10735
10738
|
}, z$1.core.$strict>;
|
|
10736
10739
|
customerId: z$1.ZodUUID;
|
|
10737
|
-
customerToken: z$1.ZodString;
|
|
10738
10740
|
sessionId: z$1.ZodUUID;
|
|
10741
|
+
accessToken: z$1.ZodString;
|
|
10742
|
+
refreshToken: z$1.ZodString;
|
|
10739
10743
|
expiresAt: z$1.ZodISODateTime;
|
|
10744
|
+
refreshExpiresAt: z$1.ZodISODateTime;
|
|
10740
10745
|
}, z$1.core.$strict>;
|
|
10741
10746
|
};
|
|
10742
10747
|
readonly claimGuestCustomer: {
|
|
@@ -11273,7 +11278,6 @@ interface FoundationApi {
|
|
|
11273
11278
|
resumeGuestSession(input: ApiInput<"resumeGuestSession">): Promise<ApiOutput<"resumeGuestSession">>;
|
|
11274
11279
|
claimGuestCustomer(input: ApiInput<"claimGuestCustomer">): Promise<ApiOutput<"claimGuestCustomer">>;
|
|
11275
11280
|
createCustomerSession(customerId: string): Promise<ApiOutput<"createSession">>;
|
|
11276
|
-
renewCustomerSession(input: ApiInput<"renewSession">): Promise<ApiOutput<"renewSession">>;
|
|
11277
11281
|
revokeCustomerSessions(input: ApiInput<"revokeSessions">): Promise<ApiOutput<"revokeSessions">>;
|
|
11278
11282
|
getOrCreateCustomer(input: ApiInput<"createCustomer">): Promise<ApiOutput<"createCustomer">>;
|
|
11279
11283
|
getCustomer(input: ApiInput<"getCustomer">): Promise<ApiOutput<"getCustomer">>;
|
|
@@ -11293,4 +11297,4 @@ interface FoundationApi {
|
|
|
11293
11297
|
recordCouponRedemption(input: ApiInput<"recordCouponRedemption">): Promise<ApiOutput<"recordCouponRedemption">>;
|
|
11294
11298
|
}
|
|
11295
11299
|
|
|
11296
|
-
export {
|
|
11300
|
+
export type { ApiInput as A, FoundationApi as F, InvoiceModeParams as I, OfferingItem as O, InvoiceModeParamsInput as a };
|