@bubblelab/bubble-core 0.1.51 → 0.1.52

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.
Files changed (40) hide show
  1. package/dist/bubble-bundle.d.ts +50 -50
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +8 -8
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  4. package/dist/bubbles/service-bubble/airtable.d.ts +72 -72
  5. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +124 -124
  6. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +16 -16
  7. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  8. package/dist/bubbles/service-bubble/firecrawl.d.ts +48 -48
  9. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  10. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +36 -36
  11. package/dist/bubbles/service-bubble/github.d.ts +56 -56
  12. package/dist/bubbles/service-bubble/gmail.d.ts +124 -124
  13. package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
  14. package/dist/bubbles/service-bubble/hello-world.d.ts +2 -2
  15. package/dist/bubbles/service-bubble/jira/jira.d.ts +24 -24
  16. package/dist/bubbles/service-bubble/notion/notion.d.ts +392 -392
  17. package/dist/bubbles/service-bubble/resend.d.ts +8 -8
  18. package/dist/bubbles/service-bubble/slack/slack.d.ts +28 -28
  19. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +201 -32
  20. package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
  21. package/dist/bubbles/service-bubble/stripe/stripe.js +51 -0
  22. package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
  23. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +210 -40
  24. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
  25. package/dist/bubbles/service-bubble/stripe/stripe.schema.js +45 -0
  26. package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
  27. package/dist/bubbles/service-bubble/telegram.d.ts +140 -140
  28. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  29. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +18 -18
  30. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +10 -10
  31. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
  32. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
  33. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +18 -18
  34. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +10 -10
  35. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +8 -8
  36. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +48 -48
  37. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  38. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +8 -8
  39. package/dist/bubbles.json +252 -2
  40. package/package.json +2 -2
@@ -51,18 +51,18 @@ export declare const StripePriceSchema: z.ZodObject<{
51
51
  created: z.ZodNumber;
52
52
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
53
  }, "strip", z.ZodTypeAny, {
54
- type: "one_time" | "recurring";
55
54
  id: string;
56
55
  created: number;
56
+ type: "one_time" | "recurring";
57
57
  active: boolean;
58
58
  product: string;
59
59
  unit_amount: number | null;
60
60
  currency: string;
61
61
  metadata?: Record<string, string> | undefined;
62
62
  }, {
63
- type: "one_time" | "recurring";
64
63
  id: string;
65
64
  created: number;
65
+ type: "one_time" | "recurring";
66
66
  active: boolean;
67
67
  product: string;
68
68
  unit_amount: number | null;
@@ -96,25 +96,28 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
96
96
  currency: z.ZodString;
97
97
  created: z.ZodOptional<z.ZodNumber>;
98
98
  hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
100
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
100
101
  }, "strip", z.ZodTypeAny, {
101
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
102
102
  id: string;
103
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
103
104
  currency: string;
104
105
  customer: string | null;
105
106
  total: number;
106
107
  created?: number | undefined;
107
108
  metadata?: Record<string, string> | undefined;
108
109
  hosted_invoice_url?: string | null | undefined;
110
+ invoice_pdf?: string | null | undefined;
109
111
  }, {
110
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
111
112
  id: string;
113
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
112
114
  currency: string;
113
115
  customer: string | null;
114
116
  total: number;
115
117
  created?: number | undefined;
116
118
  metadata?: Record<string, string> | undefined;
117
119
  hosted_invoice_url?: string | null | undefined;
120
+ invoice_pdf?: string | null | undefined;
118
121
  }>;
119
122
  export declare const StripeBalanceSchema: z.ZodObject<{
120
123
  available: z.ZodArray<z.ZodObject<{
@@ -165,17 +168,17 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
165
168
  created: z.ZodNumber;
166
169
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
167
170
  }, "strip", z.ZodTypeAny, {
168
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
169
171
  id: string;
170
172
  created: number;
173
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
171
174
  currency: string;
172
175
  amount: number;
173
176
  metadata?: Record<string, string> | undefined;
174
177
  customer?: string | null | undefined;
175
178
  }, {
176
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
177
179
  id: string;
178
180
  created: number;
181
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
179
182
  currency: string;
180
183
  amount: number;
181
184
  metadata?: Record<string, string> | undefined;
@@ -191,18 +194,18 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
191
194
  created: z.ZodNumber;
192
195
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
193
196
  }, "strip", z.ZodTypeAny, {
194
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
195
197
  id: string;
196
198
  created: number;
199
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
197
200
  customer: string;
198
201
  cancel_at_period_end: boolean;
199
202
  metadata?: Record<string, string> | undefined;
200
203
  current_period_start?: number | undefined;
201
204
  current_period_end?: number | undefined;
202
205
  }, {
203
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
204
206
  id: string;
205
207
  created: number;
208
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
206
209
  customer: string;
207
210
  cancel_at_period_end: boolean;
208
211
  metadata?: Record<string, string> | undefined;
@@ -395,6 +398,33 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
395
398
  customer?: string | undefined;
396
399
  credentials?: Partial<Record<CredentialType, string>> | undefined;
397
400
  limit?: number | undefined;
401
+ }>, z.ZodObject<{
402
+ operation: z.ZodLiteral<"retrieve_invoice">;
403
+ invoice_id: z.ZodString;
404
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ operation: "retrieve_invoice";
407
+ invoice_id: string;
408
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
409
+ }, {
410
+ operation: "retrieve_invoice";
411
+ invoice_id: string;
412
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
413
+ }>, z.ZodObject<{
414
+ operation: z.ZodLiteral<"finalize_invoice">;
415
+ invoice_id: z.ZodString;
416
+ auto_advance: z.ZodOptional<z.ZodBoolean>;
417
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ operation: "finalize_invoice";
420
+ invoice_id: string;
421
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
422
+ auto_advance?: boolean | undefined;
423
+ }, {
424
+ operation: "finalize_invoice";
425
+ invoice_id: string;
426
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
427
+ auto_advance?: boolean | undefined;
398
428
  }>, z.ZodObject<{
399
429
  operation: z.ZodLiteral<"get_balance">;
400
430
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
@@ -695,18 +725,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
695
725
  created: z.ZodNumber;
696
726
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
697
727
  }, "strip", z.ZodTypeAny, {
698
- type: "one_time" | "recurring";
699
728
  id: string;
700
729
  created: number;
730
+ type: "one_time" | "recurring";
701
731
  active: boolean;
702
732
  product: string;
703
733
  unit_amount: number | null;
704
734
  currency: string;
705
735
  metadata?: Record<string, string> | undefined;
706
736
  }, {
707
- type: "one_time" | "recurring";
708
737
  id: string;
709
738
  created: number;
739
+ type: "one_time" | "recurring";
710
740
  active: boolean;
711
741
  product: string;
712
742
  unit_amount: number | null;
@@ -719,9 +749,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
719
749
  success: boolean;
720
750
  error: string;
721
751
  price?: {
722
- type: "one_time" | "recurring";
723
752
  id: string;
724
753
  created: number;
754
+ type: "one_time" | "recurring";
725
755
  active: boolean;
726
756
  product: string;
727
757
  unit_amount: number | null;
@@ -733,9 +763,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
733
763
  success: boolean;
734
764
  error: string;
735
765
  price?: {
736
- type: "one_time" | "recurring";
737
766
  id: string;
738
767
  created: number;
768
+ type: "one_time" | "recurring";
739
769
  active: boolean;
740
770
  product: string;
741
771
  unit_amount: number | null;
@@ -755,18 +785,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
755
785
  created: z.ZodNumber;
756
786
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
757
787
  }, "strip", z.ZodTypeAny, {
758
- type: "one_time" | "recurring";
759
788
  id: string;
760
789
  created: number;
790
+ type: "one_time" | "recurring";
761
791
  active: boolean;
762
792
  product: string;
763
793
  unit_amount: number | null;
764
794
  currency: string;
765
795
  metadata?: Record<string, string> | undefined;
766
796
  }, {
767
- type: "one_time" | "recurring";
768
797
  id: string;
769
798
  created: number;
799
+ type: "one_time" | "recurring";
770
800
  active: boolean;
771
801
  product: string;
772
802
  unit_amount: number | null;
@@ -779,9 +809,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
779
809
  success: boolean;
780
810
  error: string;
781
811
  prices?: {
782
- type: "one_time" | "recurring";
783
812
  id: string;
784
813
  created: number;
814
+ type: "one_time" | "recurring";
785
815
  active: boolean;
786
816
  product: string;
787
817
  unit_amount: number | null;
@@ -793,9 +823,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
793
823
  success: boolean;
794
824
  error: string;
795
825
  prices?: {
796
- type: "one_time" | "recurring";
797
826
  id: string;
798
827
  created: number;
828
+ type: "one_time" | "recurring";
799
829
  active: boolean;
800
830
  product: string;
801
831
  unit_amount: number | null;
@@ -858,25 +888,28 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
858
888
  currency: z.ZodString;
859
889
  created: z.ZodOptional<z.ZodNumber>;
860
890
  hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
891
+ invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
892
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
862
893
  }, "strip", z.ZodTypeAny, {
863
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
864
894
  id: string;
895
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
865
896
  currency: string;
866
897
  customer: string | null;
867
898
  total: number;
868
899
  created?: number | undefined;
869
900
  metadata?: Record<string, string> | undefined;
870
901
  hosted_invoice_url?: string | null | undefined;
902
+ invoice_pdf?: string | null | undefined;
871
903
  }, {
872
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
873
904
  id: string;
905
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
874
906
  currency: string;
875
907
  customer: string | null;
876
908
  total: number;
877
909
  created?: number | undefined;
878
910
  metadata?: Record<string, string> | undefined;
879
911
  hosted_invoice_url?: string | null | undefined;
912
+ invoice_pdf?: string | null | undefined;
880
913
  }>>;
881
914
  error: z.ZodString;
882
915
  }, "strip", z.ZodTypeAny, {
@@ -884,28 +917,30 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
884
917
  success: boolean;
885
918
  error: string;
886
919
  invoice?: {
887
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
888
920
  id: string;
921
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
889
922
  currency: string;
890
923
  customer: string | null;
891
924
  total: number;
892
925
  created?: number | undefined;
893
926
  metadata?: Record<string, string> | undefined;
894
927
  hosted_invoice_url?: string | null | undefined;
928
+ invoice_pdf?: string | null | undefined;
895
929
  } | undefined;
896
930
  }, {
897
931
  operation: "create_invoice";
898
932
  success: boolean;
899
933
  error: string;
900
934
  invoice?: {
901
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
902
935
  id: string;
936
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
903
937
  currency: string;
904
938
  customer: string | null;
905
939
  total: number;
906
940
  created?: number | undefined;
907
941
  metadata?: Record<string, string> | undefined;
908
942
  hosted_invoice_url?: string | null | undefined;
943
+ invoice_pdf?: string | null | undefined;
909
944
  } | undefined;
910
945
  }>, z.ZodObject<{
911
946
  operation: z.ZodLiteral<"list_invoices">;
@@ -918,25 +953,28 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
918
953
  currency: z.ZodString;
919
954
  created: z.ZodOptional<z.ZodNumber>;
920
955
  hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
921
957
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
922
958
  }, "strip", z.ZodTypeAny, {
923
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
924
959
  id: string;
960
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
925
961
  currency: string;
926
962
  customer: string | null;
927
963
  total: number;
928
964
  created?: number | undefined;
929
965
  metadata?: Record<string, string> | undefined;
930
966
  hosted_invoice_url?: string | null | undefined;
967
+ invoice_pdf?: string | null | undefined;
931
968
  }, {
932
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
933
969
  id: string;
970
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
934
971
  currency: string;
935
972
  customer: string | null;
936
973
  total: number;
937
974
  created?: number | undefined;
938
975
  metadata?: Record<string, string> | undefined;
939
976
  hosted_invoice_url?: string | null | undefined;
977
+ invoice_pdf?: string | null | undefined;
940
978
  }>, "many">>;
941
979
  error: z.ZodString;
942
980
  }, "strip", z.ZodTypeAny, {
@@ -944,29 +982,161 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
944
982
  success: boolean;
945
983
  error: string;
946
984
  invoices?: {
947
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
948
985
  id: string;
986
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
949
987
  currency: string;
950
988
  customer: string | null;
951
989
  total: number;
952
990
  created?: number | undefined;
953
991
  metadata?: Record<string, string> | undefined;
954
992
  hosted_invoice_url?: string | null | undefined;
993
+ invoice_pdf?: string | null | undefined;
955
994
  }[] | undefined;
956
995
  }, {
957
996
  operation: "list_invoices";
958
997
  success: boolean;
959
998
  error: string;
960
999
  invoices?: {
961
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
962
1000
  id: string;
1001
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
963
1002
  currency: string;
964
1003
  customer: string | null;
965
1004
  total: number;
966
1005
  created?: number | undefined;
967
1006
  metadata?: Record<string, string> | undefined;
968
1007
  hosted_invoice_url?: string | null | undefined;
1008
+ invoice_pdf?: string | null | undefined;
969
1009
  }[] | undefined;
1010
+ }>, z.ZodObject<{
1011
+ operation: z.ZodLiteral<"retrieve_invoice">;
1012
+ success: z.ZodBoolean;
1013
+ invoice: z.ZodOptional<z.ZodObject<{
1014
+ id: z.ZodString;
1015
+ customer: z.ZodNullable<z.ZodString>;
1016
+ status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
1017
+ total: z.ZodNumber;
1018
+ currency: z.ZodString;
1019
+ created: z.ZodOptional<z.ZodNumber>;
1020
+ hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
+ invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1022
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ id: string;
1025
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1026
+ currency: string;
1027
+ customer: string | null;
1028
+ total: number;
1029
+ created?: number | undefined;
1030
+ metadata?: Record<string, string> | undefined;
1031
+ hosted_invoice_url?: string | null | undefined;
1032
+ invoice_pdf?: string | null | undefined;
1033
+ }, {
1034
+ id: string;
1035
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1036
+ currency: string;
1037
+ customer: string | null;
1038
+ total: number;
1039
+ created?: number | undefined;
1040
+ metadata?: Record<string, string> | undefined;
1041
+ hosted_invoice_url?: string | null | undefined;
1042
+ invoice_pdf?: string | null | undefined;
1043
+ }>>;
1044
+ error: z.ZodString;
1045
+ }, "strip", z.ZodTypeAny, {
1046
+ operation: "retrieve_invoice";
1047
+ success: boolean;
1048
+ error: string;
1049
+ invoice?: {
1050
+ id: string;
1051
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1052
+ currency: string;
1053
+ customer: string | null;
1054
+ total: number;
1055
+ created?: number | undefined;
1056
+ metadata?: Record<string, string> | undefined;
1057
+ hosted_invoice_url?: string | null | undefined;
1058
+ invoice_pdf?: string | null | undefined;
1059
+ } | undefined;
1060
+ }, {
1061
+ operation: "retrieve_invoice";
1062
+ success: boolean;
1063
+ error: string;
1064
+ invoice?: {
1065
+ id: string;
1066
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1067
+ currency: string;
1068
+ customer: string | null;
1069
+ total: number;
1070
+ created?: number | undefined;
1071
+ metadata?: Record<string, string> | undefined;
1072
+ hosted_invoice_url?: string | null | undefined;
1073
+ invoice_pdf?: string | null | undefined;
1074
+ } | undefined;
1075
+ }>, z.ZodObject<{
1076
+ operation: z.ZodLiteral<"finalize_invoice">;
1077
+ success: z.ZodBoolean;
1078
+ invoice: z.ZodOptional<z.ZodObject<{
1079
+ id: z.ZodString;
1080
+ customer: z.ZodNullable<z.ZodString>;
1081
+ status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
1082
+ total: z.ZodNumber;
1083
+ currency: z.ZodString;
1084
+ created: z.ZodOptional<z.ZodNumber>;
1085
+ hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ id: string;
1090
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1091
+ currency: string;
1092
+ customer: string | null;
1093
+ total: number;
1094
+ created?: number | undefined;
1095
+ metadata?: Record<string, string> | undefined;
1096
+ hosted_invoice_url?: string | null | undefined;
1097
+ invoice_pdf?: string | null | undefined;
1098
+ }, {
1099
+ id: string;
1100
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1101
+ currency: string;
1102
+ customer: string | null;
1103
+ total: number;
1104
+ created?: number | undefined;
1105
+ metadata?: Record<string, string> | undefined;
1106
+ hosted_invoice_url?: string | null | undefined;
1107
+ invoice_pdf?: string | null | undefined;
1108
+ }>>;
1109
+ error: z.ZodString;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ operation: "finalize_invoice";
1112
+ success: boolean;
1113
+ error: string;
1114
+ invoice?: {
1115
+ id: string;
1116
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1117
+ currency: string;
1118
+ customer: string | null;
1119
+ total: number;
1120
+ created?: number | undefined;
1121
+ metadata?: Record<string, string> | undefined;
1122
+ hosted_invoice_url?: string | null | undefined;
1123
+ invoice_pdf?: string | null | undefined;
1124
+ } | undefined;
1125
+ }, {
1126
+ operation: "finalize_invoice";
1127
+ success: boolean;
1128
+ error: string;
1129
+ invoice?: {
1130
+ id: string;
1131
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1132
+ currency: string;
1133
+ customer: string | null;
1134
+ total: number;
1135
+ created?: number | undefined;
1136
+ metadata?: Record<string, string> | undefined;
1137
+ hosted_invoice_url?: string | null | undefined;
1138
+ invoice_pdf?: string | null | undefined;
1139
+ } | undefined;
970
1140
  }>, z.ZodObject<{
971
1141
  operation: z.ZodLiteral<"get_balance">;
972
1142
  success: z.ZodBoolean;
@@ -1051,17 +1221,17 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1051
1221
  created: z.ZodNumber;
1052
1222
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1053
1223
  }, "strip", z.ZodTypeAny, {
1054
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1055
1224
  id: string;
1056
1225
  created: number;
1226
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1057
1227
  currency: string;
1058
1228
  amount: number;
1059
1229
  metadata?: Record<string, string> | undefined;
1060
1230
  customer?: string | null | undefined;
1061
1231
  }, {
1062
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1063
1232
  id: string;
1064
1233
  created: number;
1234
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1065
1235
  currency: string;
1066
1236
  amount: number;
1067
1237
  metadata?: Record<string, string> | undefined;
@@ -1073,9 +1243,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1073
1243
  success: boolean;
1074
1244
  error: string;
1075
1245
  payment_intents?: {
1076
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1077
1246
  id: string;
1078
1247
  created: number;
1248
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1079
1249
  currency: string;
1080
1250
  amount: number;
1081
1251
  metadata?: Record<string, string> | undefined;
@@ -1086,9 +1256,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1086
1256
  success: boolean;
1087
1257
  error: string;
1088
1258
  payment_intents?: {
1089
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1090
1259
  id: string;
1091
1260
  created: number;
1261
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1092
1262
  currency: string;
1093
1263
  amount: number;
1094
1264
  metadata?: Record<string, string> | undefined;
@@ -1107,18 +1277,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1107
1277
  created: z.ZodNumber;
1108
1278
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1109
1279
  }, "strip", z.ZodTypeAny, {
1110
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1111
1280
  id: string;
1112
1281
  created: number;
1282
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1113
1283
  customer: string;
1114
1284
  cancel_at_period_end: boolean;
1115
1285
  metadata?: Record<string, string> | undefined;
1116
1286
  current_period_start?: number | undefined;
1117
1287
  current_period_end?: number | undefined;
1118
1288
  }, {
1119
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1120
1289
  id: string;
1121
1290
  created: number;
1291
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1122
1292
  customer: string;
1123
1293
  cancel_at_period_end: boolean;
1124
1294
  metadata?: Record<string, string> | undefined;
@@ -1131,9 +1301,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1131
1301
  success: boolean;
1132
1302
  error: string;
1133
1303
  subscriptions?: {
1134
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1135
1304
  id: string;
1136
1305
  created: number;
1306
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1137
1307
  customer: string;
1138
1308
  cancel_at_period_end: boolean;
1139
1309
  metadata?: Record<string, string> | undefined;
@@ -1145,9 +1315,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1145
1315
  success: boolean;
1146
1316
  error: string;
1147
1317
  subscriptions?: {
1148
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1149
1318
  id: string;
1150
1319
  created: number;
1320
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1151
1321
  customer: string;
1152
1322
  cancel_at_period_end: boolean;
1153
1323
  metadata?: Record<string, string> | undefined;
@@ -1167,18 +1337,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1167
1337
  created: z.ZodNumber;
1168
1338
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1169
1339
  }, "strip", z.ZodTypeAny, {
1170
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1171
1340
  id: string;
1172
1341
  created: number;
1342
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1173
1343
  customer: string;
1174
1344
  cancel_at_period_end: boolean;
1175
1345
  metadata?: Record<string, string> | undefined;
1176
1346
  current_period_start?: number | undefined;
1177
1347
  current_period_end?: number | undefined;
1178
1348
  }, {
1179
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1180
1349
  id: string;
1181
1350
  created: number;
1351
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1182
1352
  customer: string;
1183
1353
  cancel_at_period_end: boolean;
1184
1354
  metadata?: Record<string, string> | undefined;
@@ -1191,9 +1361,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1191
1361
  success: boolean;
1192
1362
  error: string;
1193
1363
  subscription?: {
1194
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1195
1364
  id: string;
1196
1365
  created: number;
1366
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1197
1367
  customer: string;
1198
1368
  cancel_at_period_end: boolean;
1199
1369
  metadata?: Record<string, string> | undefined;
@@ -1205,9 +1375,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1205
1375
  success: boolean;
1206
1376
  error: string;
1207
1377
  subscription?: {
1208
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1209
1378
  id: string;
1210
1379
  created: number;
1380
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1211
1381
  customer: string;
1212
1382
  cancel_at_period_end: boolean;
1213
1383
  metadata?: Record<string, string> | undefined;
@@ -1272,18 +1442,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1272
1442
  created: z.ZodNumber;
1273
1443
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1274
1444
  }, "strip", z.ZodTypeAny, {
1275
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1276
1445
  id: string;
1277
1446
  created: number;
1447
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1278
1448
  customer: string;
1279
1449
  cancel_at_period_end: boolean;
1280
1450
  metadata?: Record<string, string> | undefined;
1281
1451
  current_period_start?: number | undefined;
1282
1452
  current_period_end?: number | undefined;
1283
1453
  }, {
1284
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1285
1454
  id: string;
1286
1455
  created: number;
1456
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1287
1457
  customer: string;
1288
1458
  cancel_at_period_end: boolean;
1289
1459
  metadata?: Record<string, string> | undefined;
@@ -1296,9 +1466,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1296
1466
  success: boolean;
1297
1467
  error: string;
1298
1468
  subscription?: {
1299
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1300
1469
  id: string;
1301
1470
  created: number;
1471
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1302
1472
  customer: string;
1303
1473
  cancel_at_period_end: boolean;
1304
1474
  metadata?: Record<string, string> | undefined;
@@ -1310,9 +1480,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1310
1480
  success: boolean;
1311
1481
  error: string;
1312
1482
  subscription?: {
1313
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1314
1483
  id: string;
1315
1484
  created: number;
1485
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1316
1486
  customer: string;
1317
1487
  cancel_at_period_end: boolean;
1318
1488
  metadata?: Record<string, string> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/stripe/stripe.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAM3D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAWI,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAgBI,CAAC;AAErC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBI,CAAC;AAEnC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAaK,CAAC;AAE1C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBI,CAAC;AAErC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBK,CAAC;AAEtC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;E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