@polar-sh/sdk 0.35.1 → 0.35.2
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/bin/mcp-server.js +467 -449
- package/bin/mcp-server.js.map +8 -8
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/address.d.ts +670 -670
- package/dist/commonjs/models/components/address.js +222 -222
- package/dist/commonjs/models/components/addressinput.d.ts +653 -653
- package/dist/commonjs/models/components/addressinput.js +217 -217
- package/dist/commonjs/models/components/customerstatesubscription.d.ts +38 -2
- package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.js +30 -3
- package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/address.d.ts +670 -670
- package/dist/esm/models/components/address.js +222 -222
- package/dist/esm/models/components/addressinput.d.ts +653 -653
- package/dist/esm/models/components/addressinput.js +217 -217
- package/dist/esm/models/components/customerstatesubscription.d.ts +38 -2
- package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.js +29 -2
- package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/address.ts +222 -222
- package/src/models/components/addressinput.ts +217 -217
- package/src/models/components/customerstatesubscription.ts +56 -4
package/bin/mcp-server.js
CHANGED
|
@@ -4037,9 +4037,9 @@ var init_config = __esm(() => {
|
|
|
4037
4037
|
SDK_METADATA = {
|
|
4038
4038
|
language: "typescript",
|
|
4039
4039
|
openapiDocVersion: "0.1.0",
|
|
4040
|
-
sdkVersion: "0.35.
|
|
4040
|
+
sdkVersion: "0.35.2",
|
|
4041
4041
|
genVersion: "2.709.0",
|
|
4042
|
-
userAgent: "speakeasy-sdk/typescript 0.35.
|
|
4042
|
+
userAgent: "speakeasy-sdk/typescript 0.35.2 2.709.0 0.1.0 @polar-sh/sdk"
|
|
4043
4043
|
};
|
|
4044
4044
|
});
|
|
4045
4045
|
|
|
@@ -35612,255 +35612,255 @@ var init_address = __esm(() => {
|
|
|
35612
35612
|
init_zod();
|
|
35613
35613
|
init_primitives();
|
|
35614
35614
|
CountryAlpha2 = {
|
|
35615
|
-
|
|
35616
|
-
|
|
35617
|
-
|
|
35618
|
-
|
|
35619
|
-
|
|
35620
|
-
|
|
35621
|
-
|
|
35622
|
-
|
|
35623
|
-
|
|
35624
|
-
|
|
35625
|
-
|
|
35626
|
-
|
|
35627
|
-
|
|
35628
|
-
|
|
35629
|
-
|
|
35615
|
+
Cw: "CW",
|
|
35616
|
+
Ms: "MS",
|
|
35617
|
+
Ph: "PH",
|
|
35618
|
+
Gw: "GW",
|
|
35619
|
+
Tf: "TF",
|
|
35620
|
+
Jm: "JM",
|
|
35621
|
+
Ly: "LY",
|
|
35622
|
+
Tw: "TW",
|
|
35623
|
+
Gy: "GY",
|
|
35624
|
+
Um: "UM",
|
|
35625
|
+
Er: "ER",
|
|
35626
|
+
Mv: "MV",
|
|
35627
|
+
At: "AT",
|
|
35628
|
+
In: "IN",
|
|
35629
|
+
Sd: "SD",
|
|
35630
35630
|
Vc: "VC",
|
|
35631
|
-
|
|
35632
|
-
|
|
35633
|
-
|
|
35634
|
-
|
|
35635
|
-
|
|
35631
|
+
Cu: "CU",
|
|
35632
|
+
Us: "US",
|
|
35633
|
+
Aq: "AQ",
|
|
35634
|
+
Ae: "AE",
|
|
35635
|
+
Nf: "NF",
|
|
35636
|
+
Lk: "LK",
|
|
35637
|
+
Co: "CO",
|
|
35638
|
+
Qa: "QA",
|
|
35639
|
+
Nz: "NZ",
|
|
35640
|
+
Pr: "PR",
|
|
35641
|
+
Tl: "TL",
|
|
35642
|
+
Mz: "MZ",
|
|
35643
|
+
Tn: "TN",
|
|
35644
|
+
Bm: "BM",
|
|
35645
|
+
Ht: "HT",
|
|
35646
|
+
Je: "JE",
|
|
35636
35647
|
Lc: "LC",
|
|
35648
|
+
Cy: "CY",
|
|
35649
|
+
Lv: "LV",
|
|
35650
|
+
Ml: "ML",
|
|
35651
|
+
Dz: "DZ",
|
|
35652
|
+
Ps: "PS",
|
|
35653
|
+
Ve: "VE",
|
|
35654
|
+
Bh: "BH",
|
|
35655
|
+
Et: "ET",
|
|
35637
35656
|
By: "BY",
|
|
35638
|
-
|
|
35639
|
-
|
|
35640
|
-
|
|
35641
|
-
|
|
35642
|
-
|
|
35643
|
-
|
|
35644
|
-
|
|
35645
|
-
|
|
35646
|
-
|
|
35647
|
-
|
|
35648
|
-
|
|
35649
|
-
|
|
35657
|
+
Mp: "MP",
|
|
35658
|
+
Bo: "BO",
|
|
35659
|
+
Sh: "SH",
|
|
35660
|
+
Ru: "RU",
|
|
35661
|
+
Kw: "KW",
|
|
35662
|
+
Sg: "SG",
|
|
35663
|
+
Mx: "MX",
|
|
35664
|
+
Pa: "PA",
|
|
35665
|
+
Zm: "ZM",
|
|
35666
|
+
To: "TO",
|
|
35667
|
+
Kn: "KN",
|
|
35668
|
+
Pt: "PT",
|
|
35669
|
+
Ws: "WS",
|
|
35670
|
+
Bs: "BS",
|
|
35671
|
+
Sy: "SY",
|
|
35672
|
+
Za: "ZA",
|
|
35673
|
+
Mo: "MO",
|
|
35674
|
+
Ie: "IE",
|
|
35650
35675
|
Br: "BR",
|
|
35651
|
-
|
|
35652
|
-
|
|
35653
|
-
|
|
35654
|
-
|
|
35676
|
+
As: "AS",
|
|
35677
|
+
Es: "ES",
|
|
35678
|
+
Pf: "PF",
|
|
35679
|
+
Ke: "KE",
|
|
35655
35680
|
Bb: "BB",
|
|
35656
|
-
|
|
35657
|
-
|
|
35658
|
-
|
|
35659
|
-
Tn: "TN",
|
|
35660
|
-
Zw: "ZW",
|
|
35661
|
-
Ca: "CA",
|
|
35681
|
+
Re: "RE",
|
|
35682
|
+
Tv: "TV",
|
|
35683
|
+
Gh: "GH",
|
|
35662
35684
|
Tz: "TZ",
|
|
35663
|
-
|
|
35664
|
-
|
|
35665
|
-
|
|
35685
|
+
Kz: "KZ",
|
|
35686
|
+
Sx: "SX",
|
|
35687
|
+
Cx: "CX",
|
|
35688
|
+
Mm: "MM",
|
|
35689
|
+
Pk: "PK",
|
|
35690
|
+
Na: "NA",
|
|
35691
|
+
Be: "BE",
|
|
35692
|
+
Fj: "FJ",
|
|
35693
|
+
Lr: "LR",
|
|
35694
|
+
Ua: "UA",
|
|
35695
|
+
Me: "ME",
|
|
35696
|
+
Mw: "MW",
|
|
35697
|
+
Vn: "VN",
|
|
35666
35698
|
Lu: "LU",
|
|
35667
|
-
|
|
35668
|
-
|
|
35669
|
-
|
|
35670
|
-
|
|
35671
|
-
|
|
35672
|
-
|
|
35673
|
-
Aq: "AQ",
|
|
35674
|
-
Bz: "BZ",
|
|
35675
|
-
Fr: "FR",
|
|
35699
|
+
Mu: "MU",
|
|
35700
|
+
Is: "IS",
|
|
35701
|
+
Nu: "NU",
|
|
35702
|
+
Pm: "PM",
|
|
35703
|
+
Bw: "BW",
|
|
35704
|
+
Td: "TD",
|
|
35676
35705
|
Yt: "YT",
|
|
35677
|
-
|
|
35678
|
-
|
|
35679
|
-
|
|
35680
|
-
|
|
35681
|
-
|
|
35682
|
-
|
|
35683
|
-
|
|
35684
|
-
|
|
35685
|
-
|
|
35686
|
-
|
|
35687
|
-
|
|
35688
|
-
|
|
35689
|
-
|
|
35690
|
-
|
|
35691
|
-
Za: "ZA",
|
|
35692
|
-
Tf: "TF",
|
|
35693
|
-
Bd: "BD",
|
|
35694
|
-
Mx: "MX",
|
|
35695
|
-
Cy: "CY",
|
|
35706
|
+
Fo: "FO",
|
|
35707
|
+
Tr: "TR",
|
|
35708
|
+
Rw: "RW",
|
|
35709
|
+
Ir: "IR",
|
|
35710
|
+
Id: "ID",
|
|
35711
|
+
No: "NO",
|
|
35712
|
+
Ck: "CK",
|
|
35713
|
+
Ss: "SS",
|
|
35714
|
+
De: "DE",
|
|
35715
|
+
Mk: "MK",
|
|
35716
|
+
La: "LA",
|
|
35717
|
+
Ee: "EE",
|
|
35718
|
+
Mn: "MN",
|
|
35719
|
+
Gi: "GI",
|
|
35696
35720
|
Vu: "VU",
|
|
35697
|
-
|
|
35698
|
-
|
|
35699
|
-
|
|
35700
|
-
Lk: "LK",
|
|
35701
|
-
Bo: "BO",
|
|
35702
|
-
Sa: "SA",
|
|
35703
|
-
Bn: "BN",
|
|
35704
|
-
Sl: "SL",
|
|
35705
|
-
Lr: "LR",
|
|
35706
|
-
Cz: "CZ",
|
|
35707
|
-
Et: "ET",
|
|
35708
|
-
Re: "RE",
|
|
35721
|
+
Ro: "RO",
|
|
35722
|
+
Ao: "AO",
|
|
35723
|
+
Ar: "AR",
|
|
35709
35724
|
Tk: "TK",
|
|
35710
|
-
|
|
35725
|
+
Uy: "UY",
|
|
35726
|
+
Kh: "KH",
|
|
35727
|
+
Bg: "BG",
|
|
35728
|
+
Tj: "TJ",
|
|
35729
|
+
Ug: "UG",
|
|
35730
|
+
Cc: "CC",
|
|
35731
|
+
Cd: "CD",
|
|
35732
|
+
Gd: "GD",
|
|
35733
|
+
Cl: "CL",
|
|
35734
|
+
Gu: "GU",
|
|
35735
|
+
Il: "IL",
|
|
35736
|
+
Kr: "KR",
|
|
35737
|
+
Pe: "PE",
|
|
35738
|
+
Sn: "SN",
|
|
35711
35739
|
Sm: "SM",
|
|
35712
|
-
|
|
35713
|
-
|
|
35714
|
-
|
|
35715
|
-
|
|
35716
|
-
|
|
35717
|
-
|
|
35718
|
-
|
|
35719
|
-
Gr: "GR",
|
|
35720
|
-
Bh: "BH",
|
|
35721
|
-
Kp: "KP",
|
|
35722
|
-
Th: "TH",
|
|
35723
|
-
Jm: "JM",
|
|
35724
|
-
Vn: "VN",
|
|
35725
|
-
Ch: "CH",
|
|
35726
|
-
Pl: "PL",
|
|
35727
|
-
Me: "ME",
|
|
35728
|
-
Fo: "FO",
|
|
35729
|
-
Fj: "FJ",
|
|
35730
|
-
Ve: "VE",
|
|
35731
|
-
Gw: "GW",
|
|
35732
|
-
Ck: "CK",
|
|
35740
|
+
Nl: "NL",
|
|
35741
|
+
Sk: "SK",
|
|
35742
|
+
Hm: "HM",
|
|
35743
|
+
Mq: "MQ",
|
|
35744
|
+
Mr: "MR",
|
|
35745
|
+
It: "IT",
|
|
35746
|
+
Cm: "CM",
|
|
35733
35747
|
Dm: "DM",
|
|
35734
|
-
|
|
35748
|
+
Sv: "SV",
|
|
35735
35749
|
Dk: "DK",
|
|
35736
|
-
|
|
35737
|
-
|
|
35738
|
-
|
|
35739
|
-
|
|
35750
|
+
Zw: "ZW",
|
|
35751
|
+
Jo: "JO",
|
|
35752
|
+
Om: "OM",
|
|
35753
|
+
Sl: "SL",
|
|
35754
|
+
So: "SO",
|
|
35755
|
+
Tg: "TG",
|
|
35756
|
+
Pw: "PW",
|
|
35740
35757
|
Ye: "YE",
|
|
35741
|
-
|
|
35742
|
-
|
|
35743
|
-
|
|
35744
|
-
|
|
35745
|
-
|
|
35746
|
-
|
|
35758
|
+
Iq: "IQ",
|
|
35759
|
+
Ma: "MA",
|
|
35760
|
+
Cg: "CG",
|
|
35761
|
+
Mf: "MF",
|
|
35762
|
+
St: "ST",
|
|
35763
|
+
Bi: "BI",
|
|
35747
35764
|
Eg: "EG",
|
|
35748
|
-
Je: "JE",
|
|
35749
|
-
Hm: "HM",
|
|
35750
|
-
Be: "BE",
|
|
35751
35765
|
Ax: "AX",
|
|
35752
|
-
|
|
35753
|
-
|
|
35754
|
-
|
|
35755
|
-
|
|
35756
|
-
|
|
35757
|
-
|
|
35758
|
-
|
|
35759
|
-
|
|
35760
|
-
|
|
35761
|
-
|
|
35762
|
-
|
|
35763
|
-
|
|
35764
|
-
|
|
35765
|
-
|
|
35766
|
-
Fm: "FM",
|
|
35767
|
-
Bm: "BM",
|
|
35768
|
-
Gb: "GB",
|
|
35769
|
-
Rs: "RS",
|
|
35770
|
-
Tr: "TR",
|
|
35771
|
-
Mc: "MC",
|
|
35772
|
-
Ci: "CI",
|
|
35773
|
-
Tv: "TV",
|
|
35774
|
-
Kh: "KH",
|
|
35775
|
-
Vg: "VG",
|
|
35776
|
-
Mw: "MW",
|
|
35777
|
-
Id: "ID",
|
|
35766
|
+
Gm: "GM",
|
|
35767
|
+
Gr: "GR",
|
|
35768
|
+
Az: "AZ",
|
|
35769
|
+
Eh: "EH",
|
|
35770
|
+
Ge: "GE",
|
|
35771
|
+
Gt: "GT",
|
|
35772
|
+
Cf: "CF",
|
|
35773
|
+
Ng: "NG",
|
|
35774
|
+
Kg: "KG",
|
|
35775
|
+
Ag: "AG",
|
|
35776
|
+
Kp: "KP",
|
|
35777
|
+
Ai: "AI",
|
|
35778
|
+
Dj: "DJ",
|
|
35779
|
+
Sr: "SR",
|
|
35778
35780
|
Np: "NP",
|
|
35779
|
-
|
|
35780
|
-
|
|
35781
|
-
|
|
35782
|
-
|
|
35781
|
+
Hu: "HU",
|
|
35782
|
+
Io: "IO",
|
|
35783
|
+
Mc: "MC",
|
|
35784
|
+
Gf: "GF",
|
|
35785
|
+
Sj: "SJ",
|
|
35786
|
+
Hr: "HR",
|
|
35787
|
+
Bj: "BJ",
|
|
35788
|
+
Fm: "FM",
|
|
35789
|
+
Bl: "BL",
|
|
35783
35790
|
Ls: "LS",
|
|
35791
|
+
Mg: "MG",
|
|
35792
|
+
Sc: "SC",
|
|
35793
|
+
Vg: "VG",
|
|
35794
|
+
Ci: "CI",
|
|
35795
|
+
Gg: "GG",
|
|
35784
35796
|
Ad: "AD",
|
|
35785
|
-
|
|
35786
|
-
|
|
35787
|
-
Hn: "HN",
|
|
35788
|
-
Li: "LI",
|
|
35789
|
-
Sv: "SV",
|
|
35790
|
-
Bw: "BW",
|
|
35791
|
-
Aw: "AW",
|
|
35792
|
-
Bq: "BQ",
|
|
35793
|
-
Uy: "UY",
|
|
35794
|
-
Az: "AZ",
|
|
35795
|
-
Ba: "BA",
|
|
35796
|
-
Ly: "LY",
|
|
35797
|
-
Ml: "ML",
|
|
35798
|
-
Nf: "NF",
|
|
35799
|
-
Sn: "SN",
|
|
35800
|
-
Mh: "MH",
|
|
35801
|
-
Us: "US",
|
|
35802
|
-
Pe: "PE",
|
|
35803
|
-
Uz: "UZ",
|
|
35804
|
-
Kw: "KW",
|
|
35805
|
-
Td: "TD",
|
|
35806
|
-
Kz: "KZ",
|
|
35807
|
-
Py: "PY",
|
|
35808
|
-
Sy: "SY",
|
|
35809
|
-
Dz: "DZ",
|
|
35810
|
-
Hr: "HR",
|
|
35811
|
-
Kr: "KR",
|
|
35797
|
+
Cr: "CR",
|
|
35798
|
+
Gp: "GP",
|
|
35812
35799
|
Au: "AU",
|
|
35813
|
-
|
|
35814
|
-
|
|
35800
|
+
Hk: "HK",
|
|
35801
|
+
Fr: "FR",
|
|
35802
|
+
Gs: "GS",
|
|
35803
|
+
Si: "SI",
|
|
35804
|
+
Mh: "MH",
|
|
35805
|
+
Fi: "FI",
|
|
35806
|
+
Do: "DO",
|
|
35807
|
+
Tm: "TM",
|
|
35808
|
+
Gl: "GL",
|
|
35809
|
+
Ca: "CA",
|
|
35815
35810
|
Mt: "MT",
|
|
35816
|
-
|
|
35811
|
+
Rs: "RS",
|
|
35812
|
+
Km: "KM",
|
|
35813
|
+
Sz: "SZ",
|
|
35814
|
+
Im: "IM",
|
|
35817
35815
|
Jp: "JP",
|
|
35818
|
-
|
|
35819
|
-
|
|
35820
|
-
|
|
35821
|
-
|
|
35822
|
-
|
|
35816
|
+
Th: "TH",
|
|
35817
|
+
Tt: "TT",
|
|
35818
|
+
Sb: "SB",
|
|
35819
|
+
Ga: "GA",
|
|
35820
|
+
Nc: "NC",
|
|
35821
|
+
Bv: "BV",
|
|
35822
|
+
Fk: "FK",
|
|
35823
|
+
Af: "AF",
|
|
35824
|
+
Ki: "KI",
|
|
35823
35825
|
Md: "MD",
|
|
35824
|
-
|
|
35825
|
-
|
|
35826
|
-
|
|
35827
|
-
|
|
35828
|
-
|
|
35829
|
-
Pg: "PG",
|
|
35826
|
+
Tc: "TC",
|
|
35827
|
+
Bn: "BN",
|
|
35828
|
+
Hn: "HN",
|
|
35829
|
+
Vi: "VI",
|
|
35830
|
+
Gn: "GN",
|
|
35830
35831
|
Wf: "WF",
|
|
35832
|
+
Se: "SE",
|
|
35833
|
+
Ec: "EC",
|
|
35834
|
+
Ne: "NE",
|
|
35835
|
+
Pl: "PL",
|
|
35831
35836
|
Gq: "GQ",
|
|
35832
|
-
|
|
35833
|
-
|
|
35834
|
-
|
|
35835
|
-
|
|
35836
|
-
|
|
35837
|
-
|
|
35838
|
-
|
|
35837
|
+
Bt: "BT",
|
|
35838
|
+
Bz: "BZ",
|
|
35839
|
+
Uz: "UZ",
|
|
35840
|
+
Lt: "LT",
|
|
35841
|
+
Cz: "CZ",
|
|
35842
|
+
Lb: "LB",
|
|
35843
|
+
Gb: "GB",
|
|
35844
|
+
Pg: "PG",
|
|
35845
|
+
Py: "PY",
|
|
35846
|
+
Bq: "BQ",
|
|
35839
35847
|
Ky: "KY",
|
|
35840
|
-
|
|
35841
|
-
|
|
35842
|
-
|
|
35843
|
-
|
|
35844
|
-
|
|
35845
|
-
|
|
35846
|
-
|
|
35847
|
-
|
|
35848
|
-
|
|
35849
|
-
|
|
35850
|
-
|
|
35851
|
-
|
|
35852
|
-
|
|
35853
|
-
|
|
35854
|
-
|
|
35855
|
-
|
|
35856
|
-
Kg: "KG",
|
|
35857
|
-
Qa: "QA",
|
|
35858
|
-
Ht: "HT",
|
|
35859
|
-
No: "NO",
|
|
35860
|
-
Sg: "SG",
|
|
35861
|
-
Sb: "SB",
|
|
35862
|
-
Af: "AF",
|
|
35863
|
-
My: "MY"
|
|
35848
|
+
Pn: "PN",
|
|
35849
|
+
Sa: "SA",
|
|
35850
|
+
Ch: "CH",
|
|
35851
|
+
Va: "VA",
|
|
35852
|
+
Bf: "BF",
|
|
35853
|
+
My: "MY",
|
|
35854
|
+
Nr: "NR",
|
|
35855
|
+
Cv: "CV",
|
|
35856
|
+
Al: "AL",
|
|
35857
|
+
Cn: "CN",
|
|
35858
|
+
Am: "AM",
|
|
35859
|
+
Ni: "NI",
|
|
35860
|
+
Aw: "AW",
|
|
35861
|
+
Li: "LI",
|
|
35862
|
+
Ba: "BA",
|
|
35863
|
+
Bd: "BD"
|
|
35864
35864
|
};
|
|
35865
35865
|
CountryAlpha2$inboundSchema = nativeEnumType(CountryAlpha2);
|
|
35866
35866
|
CountryAlpha2$outboundSchema = CountryAlpha2$inboundSchema;
|
|
@@ -37002,250 +37002,250 @@ var init_addressinput = __esm(() => {
|
|
|
37002
37002
|
init_zod();
|
|
37003
37003
|
init_primitives();
|
|
37004
37004
|
CountryAlpha2Input = {
|
|
37005
|
-
|
|
37006
|
-
|
|
37007
|
-
|
|
37008
|
-
|
|
37009
|
-
|
|
37010
|
-
|
|
37011
|
-
|
|
37012
|
-
|
|
37013
|
-
|
|
37014
|
-
|
|
37015
|
-
|
|
37016
|
-
|
|
37017
|
-
|
|
37018
|
-
|
|
37019
|
-
|
|
37005
|
+
Cw: "CW",
|
|
37006
|
+
Ms: "MS",
|
|
37007
|
+
Ph: "PH",
|
|
37008
|
+
Gw: "GW",
|
|
37009
|
+
Tf: "TF",
|
|
37010
|
+
Jm: "JM",
|
|
37011
|
+
Ly: "LY",
|
|
37012
|
+
Tw: "TW",
|
|
37013
|
+
Gy: "GY",
|
|
37014
|
+
Um: "UM",
|
|
37015
|
+
Er: "ER",
|
|
37016
|
+
Mv: "MV",
|
|
37017
|
+
At: "AT",
|
|
37018
|
+
In: "IN",
|
|
37019
|
+
Sd: "SD",
|
|
37020
37020
|
Vc: "VC",
|
|
37021
|
-
|
|
37022
|
-
|
|
37023
|
-
|
|
37024
|
-
|
|
37025
|
-
|
|
37021
|
+
Us: "US",
|
|
37022
|
+
Aq: "AQ",
|
|
37023
|
+
Ae: "AE",
|
|
37024
|
+
Nf: "NF",
|
|
37025
|
+
Lk: "LK",
|
|
37026
|
+
Co: "CO",
|
|
37027
|
+
Qa: "QA",
|
|
37028
|
+
Nz: "NZ",
|
|
37029
|
+
Pr: "PR",
|
|
37030
|
+
Tl: "TL",
|
|
37031
|
+
Mz: "MZ",
|
|
37032
|
+
Tn: "TN",
|
|
37033
|
+
Bm: "BM",
|
|
37034
|
+
Ht: "HT",
|
|
37035
|
+
Je: "JE",
|
|
37026
37036
|
Lc: "LC",
|
|
37037
|
+
Cy: "CY",
|
|
37038
|
+
Lv: "LV",
|
|
37039
|
+
Ml: "ML",
|
|
37040
|
+
Dz: "DZ",
|
|
37041
|
+
Ps: "PS",
|
|
37042
|
+
Ve: "VE",
|
|
37043
|
+
Bh: "BH",
|
|
37044
|
+
Et: "ET",
|
|
37027
37045
|
By: "BY",
|
|
37028
|
-
|
|
37029
|
-
|
|
37030
|
-
|
|
37031
|
-
|
|
37032
|
-
|
|
37033
|
-
|
|
37034
|
-
|
|
37035
|
-
|
|
37036
|
-
|
|
37037
|
-
|
|
37038
|
-
|
|
37039
|
-
|
|
37046
|
+
Mp: "MP",
|
|
37047
|
+
Bo: "BO",
|
|
37048
|
+
Sh: "SH",
|
|
37049
|
+
Kw: "KW",
|
|
37050
|
+
Sg: "SG",
|
|
37051
|
+
Mx: "MX",
|
|
37052
|
+
Pa: "PA",
|
|
37053
|
+
Zm: "ZM",
|
|
37054
|
+
To: "TO",
|
|
37055
|
+
Kn: "KN",
|
|
37056
|
+
Pt: "PT",
|
|
37057
|
+
Ws: "WS",
|
|
37058
|
+
Bs: "BS",
|
|
37059
|
+
Za: "ZA",
|
|
37060
|
+
Mo: "MO",
|
|
37061
|
+
Ie: "IE",
|
|
37040
37062
|
Br: "BR",
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37063
|
+
As: "AS",
|
|
37064
|
+
Es: "ES",
|
|
37065
|
+
Pf: "PF",
|
|
37066
|
+
Ke: "KE",
|
|
37045
37067
|
Bb: "BB",
|
|
37046
|
-
|
|
37047
|
-
|
|
37048
|
-
|
|
37049
|
-
Tn: "TN",
|
|
37050
|
-
Zw: "ZW",
|
|
37051
|
-
Ca: "CA",
|
|
37068
|
+
Re: "RE",
|
|
37069
|
+
Tv: "TV",
|
|
37070
|
+
Gh: "GH",
|
|
37052
37071
|
Tz: "TZ",
|
|
37053
|
-
|
|
37054
|
-
|
|
37055
|
-
|
|
37072
|
+
Kz: "KZ",
|
|
37073
|
+
Sx: "SX",
|
|
37074
|
+
Cx: "CX",
|
|
37075
|
+
Mm: "MM",
|
|
37076
|
+
Pk: "PK",
|
|
37077
|
+
Na: "NA",
|
|
37078
|
+
Be: "BE",
|
|
37079
|
+
Fj: "FJ",
|
|
37080
|
+
Lr: "LR",
|
|
37081
|
+
Ua: "UA",
|
|
37082
|
+
Me: "ME",
|
|
37083
|
+
Mw: "MW",
|
|
37084
|
+
Vn: "VN",
|
|
37056
37085
|
Lu: "LU",
|
|
37057
|
-
|
|
37058
|
-
|
|
37059
|
-
|
|
37060
|
-
|
|
37061
|
-
|
|
37062
|
-
|
|
37063
|
-
Aq: "AQ",
|
|
37064
|
-
Bz: "BZ",
|
|
37065
|
-
Fr: "FR",
|
|
37086
|
+
Mu: "MU",
|
|
37087
|
+
Is: "IS",
|
|
37088
|
+
Nu: "NU",
|
|
37089
|
+
Pm: "PM",
|
|
37090
|
+
Bw: "BW",
|
|
37091
|
+
Td: "TD",
|
|
37066
37092
|
Yt: "YT",
|
|
37067
|
-
|
|
37068
|
-
|
|
37069
|
-
|
|
37070
|
-
|
|
37071
|
-
|
|
37072
|
-
|
|
37073
|
-
|
|
37074
|
-
|
|
37075
|
-
|
|
37076
|
-
|
|
37077
|
-
|
|
37078
|
-
|
|
37079
|
-
|
|
37080
|
-
Im: "IM",
|
|
37081
|
-
Za: "ZA",
|
|
37082
|
-
Tf: "TF",
|
|
37083
|
-
Bd: "BD",
|
|
37084
|
-
Mx: "MX",
|
|
37085
|
-
Cy: "CY",
|
|
37093
|
+
Fo: "FO",
|
|
37094
|
+
Tr: "TR",
|
|
37095
|
+
Rw: "RW",
|
|
37096
|
+
Id: "ID",
|
|
37097
|
+
No: "NO",
|
|
37098
|
+
Ck: "CK",
|
|
37099
|
+
Ss: "SS",
|
|
37100
|
+
De: "DE",
|
|
37101
|
+
Mk: "MK",
|
|
37102
|
+
La: "LA",
|
|
37103
|
+
Ee: "EE",
|
|
37104
|
+
Mn: "MN",
|
|
37105
|
+
Gi: "GI",
|
|
37086
37106
|
Vu: "VU",
|
|
37087
|
-
|
|
37088
|
-
|
|
37089
|
-
|
|
37090
|
-
Lk: "LK",
|
|
37091
|
-
Bo: "BO",
|
|
37092
|
-
Sa: "SA",
|
|
37093
|
-
Bn: "BN",
|
|
37094
|
-
Sl: "SL",
|
|
37095
|
-
Lr: "LR",
|
|
37096
|
-
Cz: "CZ",
|
|
37097
|
-
Et: "ET",
|
|
37098
|
-
Re: "RE",
|
|
37107
|
+
Ro: "RO",
|
|
37108
|
+
Ao: "AO",
|
|
37109
|
+
Ar: "AR",
|
|
37099
37110
|
Tk: "TK",
|
|
37100
|
-
|
|
37111
|
+
Uy: "UY",
|
|
37112
|
+
Kh: "KH",
|
|
37113
|
+
Bg: "BG",
|
|
37114
|
+
Tj: "TJ",
|
|
37115
|
+
Ug: "UG",
|
|
37116
|
+
Cc: "CC",
|
|
37117
|
+
Cd: "CD",
|
|
37118
|
+
Gd: "GD",
|
|
37119
|
+
Cl: "CL",
|
|
37120
|
+
Gu: "GU",
|
|
37121
|
+
Il: "IL",
|
|
37122
|
+
Kr: "KR",
|
|
37123
|
+
Pe: "PE",
|
|
37124
|
+
Sn: "SN",
|
|
37101
37125
|
Sm: "SM",
|
|
37102
|
-
|
|
37103
|
-
|
|
37104
|
-
|
|
37105
|
-
|
|
37106
|
-
|
|
37107
|
-
|
|
37108
|
-
|
|
37109
|
-
Gr: "GR",
|
|
37110
|
-
Bh: "BH",
|
|
37111
|
-
Th: "TH",
|
|
37112
|
-
Jm: "JM",
|
|
37113
|
-
Vn: "VN",
|
|
37114
|
-
Ch: "CH",
|
|
37115
|
-
Pl: "PL",
|
|
37116
|
-
Me: "ME",
|
|
37117
|
-
Fo: "FO",
|
|
37118
|
-
Fj: "FJ",
|
|
37119
|
-
Ve: "VE",
|
|
37120
|
-
Gw: "GW",
|
|
37121
|
-
Ck: "CK",
|
|
37126
|
+
Nl: "NL",
|
|
37127
|
+
Sk: "SK",
|
|
37128
|
+
Hm: "HM",
|
|
37129
|
+
Mq: "MQ",
|
|
37130
|
+
Mr: "MR",
|
|
37131
|
+
It: "IT",
|
|
37132
|
+
Cm: "CM",
|
|
37122
37133
|
Dm: "DM",
|
|
37123
|
-
|
|
37134
|
+
Sv: "SV",
|
|
37124
37135
|
Dk: "DK",
|
|
37125
|
-
|
|
37126
|
-
|
|
37127
|
-
|
|
37128
|
-
|
|
37136
|
+
Zw: "ZW",
|
|
37137
|
+
Jo: "JO",
|
|
37138
|
+
Om: "OM",
|
|
37139
|
+
Sl: "SL",
|
|
37140
|
+
So: "SO",
|
|
37141
|
+
Tg: "TG",
|
|
37142
|
+
Pw: "PW",
|
|
37129
37143
|
Ye: "YE",
|
|
37130
|
-
|
|
37131
|
-
|
|
37132
|
-
|
|
37133
|
-
|
|
37134
|
-
|
|
37135
|
-
|
|
37144
|
+
Iq: "IQ",
|
|
37145
|
+
Ma: "MA",
|
|
37146
|
+
Cg: "CG",
|
|
37147
|
+
Mf: "MF",
|
|
37148
|
+
St: "ST",
|
|
37149
|
+
Bi: "BI",
|
|
37136
37150
|
Eg: "EG",
|
|
37137
|
-
Je: "JE",
|
|
37138
|
-
Hm: "HM",
|
|
37139
|
-
Be: "BE",
|
|
37140
37151
|
Ax: "AX",
|
|
37141
|
-
|
|
37142
|
-
|
|
37143
|
-
|
|
37144
|
-
|
|
37145
|
-
|
|
37146
|
-
|
|
37147
|
-
|
|
37148
|
-
|
|
37149
|
-
|
|
37150
|
-
|
|
37151
|
-
|
|
37152
|
-
|
|
37153
|
-
|
|
37154
|
-
Fm: "FM",
|
|
37155
|
-
Bm: "BM",
|
|
37156
|
-
Gb: "GB",
|
|
37157
|
-
Rs: "RS",
|
|
37158
|
-
Tr: "TR",
|
|
37159
|
-
Mc: "MC",
|
|
37160
|
-
Ci: "CI",
|
|
37161
|
-
Tv: "TV",
|
|
37162
|
-
Kh: "KH",
|
|
37163
|
-
Vg: "VG",
|
|
37164
|
-
Mw: "MW",
|
|
37165
|
-
Id: "ID",
|
|
37152
|
+
Gm: "GM",
|
|
37153
|
+
Gr: "GR",
|
|
37154
|
+
Az: "AZ",
|
|
37155
|
+
Eh: "EH",
|
|
37156
|
+
Ge: "GE",
|
|
37157
|
+
Gt: "GT",
|
|
37158
|
+
Cf: "CF",
|
|
37159
|
+
Ng: "NG",
|
|
37160
|
+
Kg: "KG",
|
|
37161
|
+
Ag: "AG",
|
|
37162
|
+
Ai: "AI",
|
|
37163
|
+
Dj: "DJ",
|
|
37164
|
+
Sr: "SR",
|
|
37166
37165
|
Np: "NP",
|
|
37167
|
-
|
|
37168
|
-
|
|
37169
|
-
|
|
37166
|
+
Hu: "HU",
|
|
37167
|
+
Io: "IO",
|
|
37168
|
+
Mc: "MC",
|
|
37169
|
+
Gf: "GF",
|
|
37170
|
+
Sj: "SJ",
|
|
37171
|
+
Hr: "HR",
|
|
37172
|
+
Bj: "BJ",
|
|
37173
|
+
Fm: "FM",
|
|
37174
|
+
Bl: "BL",
|
|
37170
37175
|
Ls: "LS",
|
|
37176
|
+
Mg: "MG",
|
|
37177
|
+
Sc: "SC",
|
|
37178
|
+
Vg: "VG",
|
|
37179
|
+
Ci: "CI",
|
|
37180
|
+
Gg: "GG",
|
|
37171
37181
|
Ad: "AD",
|
|
37172
|
-
|
|
37173
|
-
|
|
37174
|
-
Hn: "HN",
|
|
37175
|
-
Li: "LI",
|
|
37176
|
-
Sv: "SV",
|
|
37177
|
-
Bw: "BW",
|
|
37178
|
-
Aw: "AW",
|
|
37179
|
-
Bq: "BQ",
|
|
37180
|
-
Uy: "UY",
|
|
37181
|
-
Az: "AZ",
|
|
37182
|
-
Ba: "BA",
|
|
37183
|
-
Ly: "LY",
|
|
37184
|
-
Ml: "ML",
|
|
37185
|
-
Nf: "NF",
|
|
37186
|
-
Sn: "SN",
|
|
37187
|
-
Mh: "MH",
|
|
37188
|
-
Us: "US",
|
|
37189
|
-
Pe: "PE",
|
|
37190
|
-
Uz: "UZ",
|
|
37191
|
-
Kw: "KW",
|
|
37192
|
-
Td: "TD",
|
|
37193
|
-
Kz: "KZ",
|
|
37194
|
-
Py: "PY",
|
|
37195
|
-
Dz: "DZ",
|
|
37196
|
-
Hr: "HR",
|
|
37197
|
-
Kr: "KR",
|
|
37182
|
+
Cr: "CR",
|
|
37183
|
+
Gp: "GP",
|
|
37198
37184
|
Au: "AU",
|
|
37199
|
-
|
|
37200
|
-
|
|
37185
|
+
Hk: "HK",
|
|
37186
|
+
Fr: "FR",
|
|
37187
|
+
Gs: "GS",
|
|
37188
|
+
Si: "SI",
|
|
37189
|
+
Mh: "MH",
|
|
37190
|
+
Fi: "FI",
|
|
37191
|
+
Do: "DO",
|
|
37192
|
+
Tm: "TM",
|
|
37193
|
+
Gl: "GL",
|
|
37194
|
+
Ca: "CA",
|
|
37201
37195
|
Mt: "MT",
|
|
37202
|
-
|
|
37196
|
+
Rs: "RS",
|
|
37197
|
+
Km: "KM",
|
|
37198
|
+
Sz: "SZ",
|
|
37199
|
+
Im: "IM",
|
|
37203
37200
|
Jp: "JP",
|
|
37204
|
-
|
|
37205
|
-
|
|
37206
|
-
|
|
37207
|
-
|
|
37208
|
-
|
|
37201
|
+
Th: "TH",
|
|
37202
|
+
Tt: "TT",
|
|
37203
|
+
Sb: "SB",
|
|
37204
|
+
Ga: "GA",
|
|
37205
|
+
Nc: "NC",
|
|
37206
|
+
Bv: "BV",
|
|
37207
|
+
Fk: "FK",
|
|
37208
|
+
Af: "AF",
|
|
37209
|
+
Ki: "KI",
|
|
37209
37210
|
Md: "MD",
|
|
37210
|
-
|
|
37211
|
-
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37211
|
+
Tc: "TC",
|
|
37212
|
+
Bn: "BN",
|
|
37213
|
+
Hn: "HN",
|
|
37214
|
+
Vi: "VI",
|
|
37215
|
+
Gn: "GN",
|
|
37215
37216
|
Wf: "WF",
|
|
37217
|
+
Se: "SE",
|
|
37218
|
+
Ec: "EC",
|
|
37219
|
+
Ne: "NE",
|
|
37220
|
+
Pl: "PL",
|
|
37216
37221
|
Gq: "GQ",
|
|
37217
|
-
|
|
37218
|
-
|
|
37219
|
-
|
|
37220
|
-
|
|
37221
|
-
|
|
37222
|
-
|
|
37223
|
-
|
|
37222
|
+
Bt: "BT",
|
|
37223
|
+
Bz: "BZ",
|
|
37224
|
+
Uz: "UZ",
|
|
37225
|
+
Lt: "LT",
|
|
37226
|
+
Cz: "CZ",
|
|
37227
|
+
Lb: "LB",
|
|
37228
|
+
Gb: "GB",
|
|
37229
|
+
Pg: "PG",
|
|
37230
|
+
Py: "PY",
|
|
37231
|
+
Bq: "BQ",
|
|
37224
37232
|
Ky: "KY",
|
|
37225
|
-
|
|
37226
|
-
|
|
37227
|
-
|
|
37228
|
-
|
|
37229
|
-
|
|
37230
|
-
|
|
37231
|
-
|
|
37232
|
-
|
|
37233
|
-
|
|
37234
|
-
|
|
37235
|
-
|
|
37236
|
-
|
|
37237
|
-
|
|
37238
|
-
|
|
37239
|
-
|
|
37240
|
-
|
|
37241
|
-
Kg: "KG",
|
|
37242
|
-
Qa: "QA",
|
|
37243
|
-
Ht: "HT",
|
|
37244
|
-
No: "NO",
|
|
37245
|
-
Sg: "SG",
|
|
37246
|
-
Sb: "SB",
|
|
37247
|
-
Af: "AF",
|
|
37248
|
-
My: "MY"
|
|
37233
|
+
Pn: "PN",
|
|
37234
|
+
Sa: "SA",
|
|
37235
|
+
Ch: "CH",
|
|
37236
|
+
Va: "VA",
|
|
37237
|
+
Bf: "BF",
|
|
37238
|
+
My: "MY",
|
|
37239
|
+
Nr: "NR",
|
|
37240
|
+
Cv: "CV",
|
|
37241
|
+
Al: "AL",
|
|
37242
|
+
Cn: "CN",
|
|
37243
|
+
Am: "AM",
|
|
37244
|
+
Ni: "NI",
|
|
37245
|
+
Aw: "AW",
|
|
37246
|
+
Li: "LI",
|
|
37247
|
+
Ba: "BA",
|
|
37248
|
+
Bd: "BD"
|
|
37249
37249
|
};
|
|
37250
37250
|
CountryAlpha2Input$inboundSchema = nativeEnumType(CountryAlpha2Input);
|
|
37251
37251
|
CountryAlpha2Input$outboundSchema = CountryAlpha2Input$inboundSchema;
|
|
@@ -38500,12 +38500,16 @@ var init_subscriptionrecurringinterval = __esm(() => {
|
|
|
38500
38500
|
});
|
|
38501
38501
|
|
|
38502
38502
|
// src/models/components/customerstatesubscription.ts
|
|
38503
|
-
var CustomerStateSubscriptionCustomFieldData$inboundSchema, CustomerStateSubscriptionCustomFieldData$outboundSchema, CustomerStateSubscriptionCustomFieldData$, CustomerStateSubscriptionMetadata$inboundSchema, CustomerStateSubscriptionMetadata$outboundSchema, CustomerStateSubscriptionMetadata$, CustomerStateSubscription$inboundSchema, CustomerStateSubscription$outboundSchema, CustomerStateSubscription$;
|
|
38503
|
+
var CustomerStateSubscriptionStatus, CustomerStateSubscriptionCustomFieldData$inboundSchema, CustomerStateSubscriptionCustomFieldData$outboundSchema, CustomerStateSubscriptionCustomFieldData$, CustomerStateSubscriptionMetadata$inboundSchema, CustomerStateSubscriptionMetadata$outboundSchema, CustomerStateSubscriptionMetadata$, CustomerStateSubscriptionStatus$inboundSchema, CustomerStateSubscriptionStatus$outboundSchema, CustomerStateSubscriptionStatus$, CustomerStateSubscription$inboundSchema, CustomerStateSubscription$outboundSchema, CustomerStateSubscription$;
|
|
38504
38504
|
var init_customerstatesubscription = __esm(() => {
|
|
38505
38505
|
init_zod();
|
|
38506
38506
|
init_primitives();
|
|
38507
38507
|
init_customerstatesubscriptionmeter();
|
|
38508
38508
|
init_subscriptionrecurringinterval();
|
|
38509
|
+
CustomerStateSubscriptionStatus = {
|
|
38510
|
+
Active: "active",
|
|
38511
|
+
Trialing: "trialing"
|
|
38512
|
+
};
|
|
38509
38513
|
CustomerStateSubscriptionCustomFieldData$inboundSchema = unionType([
|
|
38510
38514
|
stringType(),
|
|
38511
38515
|
numberType().int(),
|
|
@@ -38528,6 +38532,12 @@ var init_customerstatesubscription = __esm(() => {
|
|
|
38528
38532
|
CustomerStateSubscriptionMetadata$.inboundSchema = CustomerStateSubscriptionMetadata$inboundSchema;
|
|
38529
38533
|
CustomerStateSubscriptionMetadata$.outboundSchema = CustomerStateSubscriptionMetadata$outboundSchema;
|
|
38530
38534
|
})(CustomerStateSubscriptionMetadata$ ||= {});
|
|
38535
|
+
CustomerStateSubscriptionStatus$inboundSchema = nativeEnumType(CustomerStateSubscriptionStatus);
|
|
38536
|
+
CustomerStateSubscriptionStatus$outboundSchema = CustomerStateSubscriptionStatus$inboundSchema;
|
|
38537
|
+
((CustomerStateSubscriptionStatus$) => {
|
|
38538
|
+
CustomerStateSubscriptionStatus$.inboundSchema = CustomerStateSubscriptionStatus$inboundSchema;
|
|
38539
|
+
CustomerStateSubscriptionStatus$.outboundSchema = CustomerStateSubscriptionStatus$outboundSchema;
|
|
38540
|
+
})(CustomerStateSubscriptionStatus$ ||= {});
|
|
38531
38541
|
CustomerStateSubscription$inboundSchema = objectType({
|
|
38532
38542
|
id: stringType(),
|
|
38533
38543
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
@@ -38539,12 +38549,14 @@ var init_customerstatesubscription = __esm(() => {
|
|
|
38539
38549
|
stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
38540
38550
|
]))).optional(),
|
|
38541
38551
|
metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])),
|
|
38542
|
-
status:
|
|
38552
|
+
status: CustomerStateSubscriptionStatus$inboundSchema,
|
|
38543
38553
|
amount: numberType().int(),
|
|
38544
38554
|
currency: stringType(),
|
|
38545
38555
|
recurring_interval: SubscriptionRecurringInterval$inboundSchema,
|
|
38546
38556
|
current_period_start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
38547
38557
|
current_period_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
38558
|
+
trial_start: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
38559
|
+
trial_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
38548
38560
|
cancel_at_period_end: booleanType(),
|
|
38549
38561
|
canceled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
38550
38562
|
started_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
@@ -38560,6 +38572,8 @@ var init_customerstatesubscription = __esm(() => {
|
|
|
38560
38572
|
recurring_interval: "recurringInterval",
|
|
38561
38573
|
current_period_start: "currentPeriodStart",
|
|
38562
38574
|
current_period_end: "currentPeriodEnd",
|
|
38575
|
+
trial_start: "trialStart",
|
|
38576
|
+
trial_end: "trialEnd",
|
|
38563
38577
|
cancel_at_period_end: "cancelAtPeriodEnd",
|
|
38564
38578
|
canceled_at: "canceledAt",
|
|
38565
38579
|
started_at: "startedAt",
|
|
@@ -38579,12 +38593,14 @@ var init_customerstatesubscription = __esm(() => {
|
|
|
38579
38593
|
dateType().transform((v2) => v2.toISOString())
|
|
38580
38594
|
]))).optional(),
|
|
38581
38595
|
metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])),
|
|
38582
|
-
status:
|
|
38596
|
+
status: CustomerStateSubscriptionStatus$outboundSchema,
|
|
38583
38597
|
amount: numberType().int(),
|
|
38584
38598
|
currency: stringType(),
|
|
38585
38599
|
recurringInterval: SubscriptionRecurringInterval$outboundSchema,
|
|
38586
38600
|
currentPeriodStart: dateType().transform((v2) => v2.toISOString()),
|
|
38587
38601
|
currentPeriodEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
38602
|
+
trialStart: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
38603
|
+
trialEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
38588
38604
|
cancelAtPeriodEnd: booleanType(),
|
|
38589
38605
|
canceledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
38590
38606
|
startedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
@@ -38600,6 +38616,8 @@ var init_customerstatesubscription = __esm(() => {
|
|
|
38600
38616
|
recurringInterval: "recurring_interval",
|
|
38601
38617
|
currentPeriodStart: "current_period_start",
|
|
38602
38618
|
currentPeriodEnd: "current_period_end",
|
|
38619
|
+
trialStart: "trial_start",
|
|
38620
|
+
trialEnd: "trial_end",
|
|
38603
38621
|
cancelAtPeriodEnd: "cancel_at_period_end",
|
|
38604
38622
|
canceledAt: "canceled_at",
|
|
38605
38623
|
startedAt: "started_at",
|
|
@@ -48234,7 +48252,7 @@ Update a subscription.
|
|
|
48234
48252
|
function createMCPServer(deps) {
|
|
48235
48253
|
const server = new McpServer({
|
|
48236
48254
|
name: "Polar",
|
|
48237
|
-
version: "0.35.
|
|
48255
|
+
version: "0.35.2"
|
|
48238
48256
|
});
|
|
48239
48257
|
const client = new PolarCore({
|
|
48240
48258
|
accessToken: deps.accessToken,
|
|
@@ -49521,7 +49539,7 @@ var routes = rn({
|
|
|
49521
49539
|
var app = Ve(routes, {
|
|
49522
49540
|
name: "mcp",
|
|
49523
49541
|
versionInfo: {
|
|
49524
|
-
currentVersion: "0.35.
|
|
49542
|
+
currentVersion: "0.35.2"
|
|
49525
49543
|
}
|
|
49526
49544
|
});
|
|
49527
49545
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -49529,5 +49547,5 @@ export {
|
|
|
49529
49547
|
app
|
|
49530
49548
|
};
|
|
49531
49549
|
|
|
49532
|
-
//# debugId=
|
|
49550
|
+
//# debugId=F95E7CA42B03CACC64756E2164756E21
|
|
49533
49551
|
//# sourceMappingURL=mcp-server.js.map
|