celitech-sdk 1.3.55 → 1.3.57

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/dist/index.mjs CHANGED
@@ -1477,18 +1477,18 @@ import { z as z5 } from "zod";
1477
1477
  import { z as z4 } from "zod";
1478
1478
  var destinations = z4.lazy(() => {
1479
1479
  return z4.object({
1480
- name: z4.string().optional(),
1481
- destination: z4.string().optional(),
1482
- destinationIso2: z4.string().optional(),
1483
- supportedCountries: z4.array(z4.string()).optional()
1480
+ name: z4.string(),
1481
+ destination: z4.string(),
1482
+ destinationIso2: z4.string(),
1483
+ supportedCountries: z4.array(z4.string())
1484
1484
  });
1485
1485
  });
1486
1486
  var destinationsResponse = z4.lazy(() => {
1487
1487
  return z4.object({
1488
- name: z4.string().optional(),
1489
- destination: z4.string().optional(),
1490
- destinationISO2: z4.string().optional(),
1491
- supportedCountries: z4.array(z4.string()).optional()
1488
+ name: z4.string(),
1489
+ destination: z4.string(),
1490
+ destinationISO2: z4.string(),
1491
+ supportedCountries: z4.array(z4.string())
1492
1492
  }).transform((data) => ({
1493
1493
  name: data["name"],
1494
1494
  destination: data["destination"],
@@ -1498,10 +1498,10 @@ var destinationsResponse = z4.lazy(() => {
1498
1498
  });
1499
1499
  var destinationsRequest = z4.lazy(() => {
1500
1500
  return z4.object({
1501
- name: z4.string().optional(),
1502
- destination: z4.string().optional(),
1503
- destinationIso2: z4.string().optional(),
1504
- supportedCountries: z4.array(z4.string()).optional()
1501
+ name: z4.string(),
1502
+ destination: z4.string(),
1503
+ destinationIso2: z4.string(),
1504
+ supportedCountries: z4.array(z4.string())
1505
1505
  }).transform((data) => ({
1506
1506
  name: data["name"],
1507
1507
  destination: data["destination"],
@@ -1513,19 +1513,19 @@ var destinationsRequest = z4.lazy(() => {
1513
1513
  // src/services/destinations/models/list-destinations-ok-response.ts
1514
1514
  var listDestinationsOkResponse = z5.lazy(() => {
1515
1515
  return z5.object({
1516
- destinations: z5.array(destinations).optional()
1516
+ destinations: z5.array(destinations)
1517
1517
  });
1518
1518
  });
1519
1519
  var listDestinationsOkResponseResponse = z5.lazy(() => {
1520
1520
  return z5.object({
1521
- destinations: z5.array(destinationsResponse).optional()
1521
+ destinations: z5.array(destinationsResponse)
1522
1522
  }).transform((data) => ({
1523
1523
  destinations: data["destinations"]
1524
1524
  }));
1525
1525
  });
1526
1526
  var listDestinationsOkResponseRequest = z5.lazy(() => {
1527
1527
  return z5.object({
1528
- destinations: z5.array(destinationsRequest).optional()
1528
+ destinations: z5.array(destinationsRequest)
1529
1529
  }).transform((data) => ({
1530
1530
  destinations: data["destinations"]
1531
1531
  }));
@@ -1624,24 +1624,24 @@ import { z as z10 } from "zod";
1624
1624
  import { z as z9 } from "zod";
1625
1625
  var packages = z9.lazy(() => {
1626
1626
  return z9.object({
1627
- id: z9.string().optional(),
1628
- destination: z9.string().optional(),
1629
- destinationIso2: z9.string().optional(),
1630
- dataLimitInBytes: z9.number().optional(),
1631
- minDays: z9.number().optional(),
1632
- maxDays: z9.number().optional(),
1633
- priceInCents: z9.number().optional()
1627
+ id: z9.string(),
1628
+ destination: z9.string(),
1629
+ destinationIso2: z9.string(),
1630
+ dataLimitInBytes: z9.number(),
1631
+ minDays: z9.number(),
1632
+ maxDays: z9.number(),
1633
+ priceInCents: z9.number()
1634
1634
  });
1635
1635
  });
1636
1636
  var packagesResponse = z9.lazy(() => {
1637
1637
  return z9.object({
1638
- id: z9.string().optional(),
1639
- destination: z9.string().optional(),
1640
- destinationISO2: z9.string().optional(),
1641
- dataLimitInBytes: z9.number().optional(),
1642
- minDays: z9.number().optional(),
1643
- maxDays: z9.number().optional(),
1644
- priceInCents: z9.number().optional()
1638
+ id: z9.string(),
1639
+ destination: z9.string(),
1640
+ destinationISO2: z9.string(),
1641
+ dataLimitInBytes: z9.number(),
1642
+ minDays: z9.number(),
1643
+ maxDays: z9.number(),
1644
+ priceInCents: z9.number()
1645
1645
  }).transform((data) => ({
1646
1646
  id: data["id"],
1647
1647
  destination: data["destination"],
@@ -1654,13 +1654,13 @@ var packagesResponse = z9.lazy(() => {
1654
1654
  });
1655
1655
  var packagesRequest = z9.lazy(() => {
1656
1656
  return z9.object({
1657
- id: z9.string().optional(),
1658
- destination: z9.string().optional(),
1659
- destinationIso2: z9.string().optional(),
1660
- dataLimitInBytes: z9.number().optional(),
1661
- minDays: z9.number().optional(),
1662
- maxDays: z9.number().optional(),
1663
- priceInCents: z9.number().optional()
1657
+ id: z9.string(),
1658
+ destination: z9.string(),
1659
+ destinationIso2: z9.string(),
1660
+ dataLimitInBytes: z9.number(),
1661
+ minDays: z9.number(),
1662
+ maxDays: z9.number(),
1663
+ priceInCents: z9.number()
1664
1664
  }).transform((data) => ({
1665
1665
  id: data["id"],
1666
1666
  destination: data["destination"],
@@ -1675,14 +1675,14 @@ var packagesRequest = z9.lazy(() => {
1675
1675
  // src/services/packages/models/list-packages-ok-response.ts
1676
1676
  var listPackagesOkResponse = z10.lazy(() => {
1677
1677
  return z10.object({
1678
- packages: z10.array(packages).optional(),
1679
- afterCursor: z10.string().optional().nullable()
1678
+ packages: z10.array(packages),
1679
+ afterCursor: z10.string().nullable()
1680
1680
  });
1681
1681
  });
1682
1682
  var listPackagesOkResponseResponse = z10.lazy(() => {
1683
1683
  return z10.object({
1684
- packages: z10.array(packagesResponse).optional(),
1685
- afterCursor: z10.string().optional().nullable()
1684
+ packages: z10.array(packagesResponse),
1685
+ afterCursor: z10.string().nullable()
1686
1686
  }).transform((data) => ({
1687
1687
  packages: data["packages"],
1688
1688
  afterCursor: data["afterCursor"]
@@ -1690,8 +1690,8 @@ var listPackagesOkResponseResponse = z10.lazy(() => {
1690
1690
  });
1691
1691
  var listPackagesOkResponseRequest = z10.lazy(() => {
1692
1692
  return z10.object({
1693
- packages: z10.array(packagesRequest).optional(),
1694
- afterCursor: z10.string().optional().nullable()
1693
+ packages: z10.array(packagesRequest),
1694
+ afterCursor: z10.string().nullable()
1695
1695
  }).transform((data) => ({
1696
1696
  packages: data["packages"],
1697
1697
  afterCursor: data["afterCursor"]
@@ -1871,16 +1871,16 @@ import { z as z17 } from "zod";
1871
1871
  import { z as z15 } from "zod";
1872
1872
  var createPurchaseV2OkResponsePurchase = z15.lazy(() => {
1873
1873
  return z15.object({
1874
- id: z15.string().optional(),
1875
- packageId: z15.string().optional(),
1876
- createdDate: z15.string().optional()
1874
+ id: z15.string(),
1875
+ packageId: z15.string(),
1876
+ createdDate: z15.string()
1877
1877
  });
1878
1878
  });
1879
1879
  var createPurchaseV2OkResponsePurchaseResponse = z15.lazy(() => {
1880
1880
  return z15.object({
1881
- id: z15.string().optional(),
1882
- packageId: z15.string().optional(),
1883
- createdDate: z15.string().optional()
1881
+ id: z15.string(),
1882
+ packageId: z15.string(),
1883
+ createdDate: z15.string()
1884
1884
  }).transform((data) => ({
1885
1885
  id: data["id"],
1886
1886
  packageId: data["packageId"],
@@ -1889,9 +1889,9 @@ var createPurchaseV2OkResponsePurchaseResponse = z15.lazy(() => {
1889
1889
  });
1890
1890
  var createPurchaseV2OkResponsePurchaseRequest = z15.lazy(() => {
1891
1891
  return z15.object({
1892
- id: z15.string().optional(),
1893
- packageId: z15.string().optional(),
1894
- createdDate: z15.string().optional()
1892
+ id: z15.string(),
1893
+ packageId: z15.string(),
1894
+ createdDate: z15.string()
1895
1895
  }).transform((data) => ({
1896
1896
  id: data["id"],
1897
1897
  packageId: data["packageId"],
@@ -1903,16 +1903,16 @@ var createPurchaseV2OkResponsePurchaseRequest = z15.lazy(() => {
1903
1903
  import { z as z16 } from "zod";
1904
1904
  var createPurchaseV2OkResponseProfile = z16.lazy(() => {
1905
1905
  return z16.object({
1906
- iccid: z16.string().min(18).max(22).optional(),
1907
- activationCode: z16.string().min(1e3).max(8e3).optional(),
1908
- manualActivationCode: z16.string().optional()
1906
+ iccid: z16.string().min(18).max(22),
1907
+ activationCode: z16.string().min(1e3).max(8e3),
1908
+ manualActivationCode: z16.string()
1909
1909
  });
1910
1910
  });
1911
1911
  var createPurchaseV2OkResponseProfileResponse = z16.lazy(() => {
1912
1912
  return z16.object({
1913
- iccid: z16.string().min(18).max(22).optional(),
1914
- activationCode: z16.string().min(1e3).max(8e3).optional(),
1915
- manualActivationCode: z16.string().optional()
1913
+ iccid: z16.string().min(18).max(22),
1914
+ activationCode: z16.string().min(1e3).max(8e3),
1915
+ manualActivationCode: z16.string()
1916
1916
  }).transform((data) => ({
1917
1917
  iccid: data["iccid"],
1918
1918
  activationCode: data["activationCode"],
@@ -1921,9 +1921,9 @@ var createPurchaseV2OkResponseProfileResponse = z16.lazy(() => {
1921
1921
  });
1922
1922
  var createPurchaseV2OkResponseProfileRequest = z16.lazy(() => {
1923
1923
  return z16.object({
1924
- iccid: z16.string().min(18).max(22).optional(),
1925
- activationCode: z16.string().min(1e3).max(8e3).optional(),
1926
- manualActivationCode: z16.string().optional()
1924
+ iccid: z16.string().min(18).max(22),
1925
+ activationCode: z16.string().min(1e3).max(8e3),
1926
+ manualActivationCode: z16.string()
1927
1927
  }).transform((data) => ({
1928
1928
  iccid: data["iccid"],
1929
1929
  activationCode: data["activationCode"],
@@ -1934,14 +1934,14 @@ var createPurchaseV2OkResponseProfileRequest = z16.lazy(() => {
1934
1934
  // src/services/purchases/models/create-purchase-v2-ok-response.ts
1935
1935
  var createPurchaseV2OkResponse = z17.lazy(() => {
1936
1936
  return z17.object({
1937
- purchase: createPurchaseV2OkResponsePurchase.optional(),
1938
- profile: createPurchaseV2OkResponseProfile.optional()
1937
+ purchase: createPurchaseV2OkResponsePurchase,
1938
+ profile: createPurchaseV2OkResponseProfile
1939
1939
  });
1940
1940
  });
1941
1941
  var createPurchaseV2OkResponseResponse = z17.lazy(() => {
1942
1942
  return z17.object({
1943
- purchase: createPurchaseV2OkResponsePurchaseResponse.optional(),
1944
- profile: createPurchaseV2OkResponseProfileResponse.optional()
1943
+ purchase: createPurchaseV2OkResponsePurchaseResponse,
1944
+ profile: createPurchaseV2OkResponseProfileResponse
1945
1945
  }).transform((data) => ({
1946
1946
  purchase: data["purchase"],
1947
1947
  profile: data["profile"]
@@ -1949,8 +1949,8 @@ var createPurchaseV2OkResponseResponse = z17.lazy(() => {
1949
1949
  });
1950
1950
  var createPurchaseV2OkResponseRequest = z17.lazy(() => {
1951
1951
  return z17.object({
1952
- purchase: createPurchaseV2OkResponsePurchaseRequest.optional(),
1953
- profile: createPurchaseV2OkResponseProfileRequest.optional()
1952
+ purchase: createPurchaseV2OkResponsePurchaseRequest,
1953
+ profile: createPurchaseV2OkResponseProfileRequest
1954
1954
  }).transform((data) => ({
1955
1955
  purchase: data["purchase"],
1956
1956
  profile: data["profile"]
@@ -2011,22 +2011,22 @@ import { z as z22 } from "zod";
2011
2011
  import { z as z20 } from "zod";
2012
2012
  var package_ = z20.lazy(() => {
2013
2013
  return z20.object({
2014
- id: z20.string().optional(),
2015
- dataLimitInBytes: z20.number().optional(),
2016
- destination: z20.string().optional(),
2017
- destinationIso2: z20.string().optional(),
2018
- destinationName: z20.string().optional(),
2019
- priceInCents: z20.number().optional()
2014
+ id: z20.string(),
2015
+ dataLimitInBytes: z20.number(),
2016
+ destination: z20.string(),
2017
+ destinationIso2: z20.string(),
2018
+ destinationName: z20.string(),
2019
+ priceInCents: z20.number()
2020
2020
  });
2021
2021
  });
2022
2022
  var packageResponse = z20.lazy(() => {
2023
2023
  return z20.object({
2024
- id: z20.string().optional(),
2025
- dataLimitInBytes: z20.number().optional(),
2026
- destination: z20.string().optional(),
2027
- destinationISO2: z20.string().optional(),
2028
- destinationName: z20.string().optional(),
2029
- priceInCents: z20.number().optional()
2024
+ id: z20.string(),
2025
+ dataLimitInBytes: z20.number(),
2026
+ destination: z20.string(),
2027
+ destinationISO2: z20.string(),
2028
+ destinationName: z20.string(),
2029
+ priceInCents: z20.number()
2030
2030
  }).transform((data) => ({
2031
2031
  id: data["id"],
2032
2032
  dataLimitInBytes: data["dataLimitInBytes"],
@@ -2038,12 +2038,12 @@ var packageResponse = z20.lazy(() => {
2038
2038
  });
2039
2039
  var packageRequest = z20.lazy(() => {
2040
2040
  return z20.object({
2041
- id: z20.string().optional(),
2042
- dataLimitInBytes: z20.number().optional(),
2043
- destination: z20.string().optional(),
2044
- destinationIso2: z20.string().optional(),
2045
- destinationName: z20.string().optional(),
2046
- priceInCents: z20.number().optional()
2041
+ id: z20.string(),
2042
+ dataLimitInBytes: z20.number(),
2043
+ destination: z20.string(),
2044
+ destinationIso2: z20.string(),
2045
+ destinationName: z20.string(),
2046
+ priceInCents: z20.number()
2047
2047
  }).transform((data) => ({
2048
2048
  id: data["id"],
2049
2049
  dataLimitInBytes: data["dataLimitInBytes"],
@@ -2058,19 +2058,19 @@ var packageRequest = z20.lazy(() => {
2058
2058
  import { z as z21 } from "zod";
2059
2059
  var purchasesEsim = z21.lazy(() => {
2060
2060
  return z21.object({
2061
- iccid: z21.string().min(18).max(22).optional()
2061
+ iccid: z21.string().min(18).max(22)
2062
2062
  });
2063
2063
  });
2064
2064
  var purchasesEsimResponse = z21.lazy(() => {
2065
2065
  return z21.object({
2066
- iccid: z21.string().min(18).max(22).optional()
2066
+ iccid: z21.string().min(18).max(22)
2067
2067
  }).transform((data) => ({
2068
2068
  iccid: data["iccid"]
2069
2069
  }));
2070
2070
  });
2071
2071
  var purchasesEsimRequest = z21.lazy(() => {
2072
2072
  return z21.object({
2073
- iccid: z21.string().min(18).max(22).optional()
2073
+ iccid: z21.string().min(18).max(22)
2074
2074
  }).transform((data) => ({
2075
2075
  iccid: data["iccid"]
2076
2076
  }));
@@ -2079,34 +2079,34 @@ var purchasesEsimRequest = z21.lazy(() => {
2079
2079
  // src/services/purchases/models/purchases.ts
2080
2080
  var purchases = z22.lazy(() => {
2081
2081
  return z22.object({
2082
- id: z22.string().optional(),
2083
- startDate: z22.string().optional(),
2084
- endDate: z22.string().optional(),
2085
- createdDate: z22.string().optional(),
2082
+ id: z22.string(),
2083
+ startDate: z22.string(),
2084
+ endDate: z22.string(),
2085
+ createdDate: z22.string(),
2086
2086
  startTime: z22.number().optional(),
2087
2087
  endTime: z22.number().optional(),
2088
2088
  createdAt: z22.number().optional(),
2089
- package: package_.optional(),
2090
- esim: purchasesEsim.optional(),
2091
- source: z22.string().optional(),
2092
- purchaseType: z22.string().optional(),
2093
- referenceId: z22.string().optional()
2089
+ package: package_,
2090
+ esim: purchasesEsim,
2091
+ source: z22.string(),
2092
+ purchaseType: z22.string(),
2093
+ referenceId: z22.string().optional().nullable()
2094
2094
  });
2095
2095
  });
2096
2096
  var purchasesResponse = z22.lazy(() => {
2097
2097
  return z22.object({
2098
- id: z22.string().optional(),
2099
- startDate: z22.string().optional(),
2100
- endDate: z22.string().optional(),
2101
- createdDate: z22.string().optional(),
2098
+ id: z22.string(),
2099
+ startDate: z22.string(),
2100
+ endDate: z22.string(),
2101
+ createdDate: z22.string(),
2102
2102
  startTime: z22.number().optional(),
2103
2103
  endTime: z22.number().optional(),
2104
2104
  createdAt: z22.number().optional(),
2105
- package: packageResponse.optional(),
2106
- esim: purchasesEsimResponse.optional(),
2107
- source: z22.string().optional(),
2108
- purchaseType: z22.string().optional(),
2109
- referenceId: z22.string().optional()
2105
+ package: packageResponse,
2106
+ esim: purchasesEsimResponse,
2107
+ source: z22.string(),
2108
+ purchaseType: z22.string(),
2109
+ referenceId: z22.string().optional().nullable()
2110
2110
  }).transform((data) => ({
2111
2111
  id: data["id"],
2112
2112
  startDate: data["startDate"],
@@ -2124,18 +2124,18 @@ var purchasesResponse = z22.lazy(() => {
2124
2124
  });
2125
2125
  var purchasesRequest = z22.lazy(() => {
2126
2126
  return z22.object({
2127
- id: z22.string().optional(),
2128
- startDate: z22.string().optional(),
2129
- endDate: z22.string().optional(),
2130
- createdDate: z22.string().optional(),
2127
+ id: z22.string(),
2128
+ startDate: z22.string(),
2129
+ endDate: z22.string(),
2130
+ createdDate: z22.string(),
2131
2131
  startTime: z22.number().optional(),
2132
2132
  endTime: z22.number().optional(),
2133
2133
  createdAt: z22.number().optional(),
2134
- package: packageRequest.optional(),
2135
- esim: purchasesEsimRequest.optional(),
2136
- source: z22.string().optional(),
2137
- purchaseType: z22.string().optional(),
2138
- referenceId: z22.string().optional()
2134
+ package: packageRequest,
2135
+ esim: purchasesEsimRequest,
2136
+ source: z22.string(),
2137
+ purchaseType: z22.string(),
2138
+ referenceId: z22.string().optional().nullable()
2139
2139
  }).transform((data) => ({
2140
2140
  id: data["id"],
2141
2141
  startDate: data["startDate"],
@@ -2155,14 +2155,14 @@ var purchasesRequest = z22.lazy(() => {
2155
2155
  // src/services/purchases/models/list-purchases-ok-response.ts
2156
2156
  var listPurchasesOkResponse = z23.lazy(() => {
2157
2157
  return z23.object({
2158
- purchases: z23.array(purchases).optional(),
2159
- afterCursor: z23.string().optional().nullable()
2158
+ purchases: z23.array(purchases),
2159
+ afterCursor: z23.string().nullable()
2160
2160
  });
2161
2161
  });
2162
2162
  var listPurchasesOkResponseResponse = z23.lazy(() => {
2163
2163
  return z23.object({
2164
- purchases: z23.array(purchasesResponse).optional(),
2165
- afterCursor: z23.string().optional().nullable()
2164
+ purchases: z23.array(purchasesResponse),
2165
+ afterCursor: z23.string().nullable()
2166
2166
  }).transform((data) => ({
2167
2167
  purchases: data["purchases"],
2168
2168
  afterCursor: data["afterCursor"]
@@ -2170,8 +2170,8 @@ var listPurchasesOkResponseResponse = z23.lazy(() => {
2170
2170
  });
2171
2171
  var listPurchasesOkResponseRequest = z23.lazy(() => {
2172
2172
  return z23.object({
2173
- purchases: z23.array(purchasesRequest).optional(),
2174
- afterCursor: z23.string().optional().nullable()
2173
+ purchases: z23.array(purchasesRequest),
2174
+ afterCursor: z23.string().nullable()
2175
2175
  }).transform((data) => ({
2176
2176
  purchases: data["purchases"],
2177
2177
  afterCursor: data["afterCursor"]
@@ -2296,22 +2296,22 @@ import { z as z29 } from "zod";
2296
2296
  import { z as z27 } from "zod";
2297
2297
  var createPurchaseOkResponsePurchase = z27.lazy(() => {
2298
2298
  return z27.object({
2299
- id: z27.string().optional(),
2300
- packageId: z27.string().optional(),
2301
- startDate: z27.string().optional(),
2302
- endDate: z27.string().optional(),
2303
- createdDate: z27.string().optional(),
2299
+ id: z27.string(),
2300
+ packageId: z27.string(),
2301
+ startDate: z27.string(),
2302
+ endDate: z27.string(),
2303
+ createdDate: z27.string(),
2304
2304
  startTime: z27.number().optional(),
2305
2305
  endTime: z27.number().optional()
2306
2306
  });
2307
2307
  });
2308
2308
  var createPurchaseOkResponsePurchaseResponse = z27.lazy(() => {
2309
2309
  return z27.object({
2310
- id: z27.string().optional(),
2311
- packageId: z27.string().optional(),
2312
- startDate: z27.string().optional(),
2313
- endDate: z27.string().optional(),
2314
- createdDate: z27.string().optional(),
2310
+ id: z27.string(),
2311
+ packageId: z27.string(),
2312
+ startDate: z27.string(),
2313
+ endDate: z27.string(),
2314
+ createdDate: z27.string(),
2315
2315
  startTime: z27.number().optional(),
2316
2316
  endTime: z27.number().optional()
2317
2317
  }).transform((data) => ({
@@ -2326,11 +2326,11 @@ var createPurchaseOkResponsePurchaseResponse = z27.lazy(() => {
2326
2326
  });
2327
2327
  var createPurchaseOkResponsePurchaseRequest = z27.lazy(() => {
2328
2328
  return z27.object({
2329
- id: z27.string().optional(),
2330
- packageId: z27.string().optional(),
2331
- startDate: z27.string().optional(),
2332
- endDate: z27.string().optional(),
2333
- createdDate: z27.string().optional(),
2329
+ id: z27.string(),
2330
+ packageId: z27.string(),
2331
+ startDate: z27.string(),
2332
+ endDate: z27.string(),
2333
+ createdDate: z27.string(),
2334
2334
  startTime: z27.number().optional(),
2335
2335
  endTime: z27.number().optional()
2336
2336
  }).transform((data) => ({
@@ -2348,16 +2348,16 @@ var createPurchaseOkResponsePurchaseRequest = z27.lazy(() => {
2348
2348
  import { z as z28 } from "zod";
2349
2349
  var createPurchaseOkResponseProfile = z28.lazy(() => {
2350
2350
  return z28.object({
2351
- iccid: z28.string().min(18).max(22).optional(),
2352
- activationCode: z28.string().min(1e3).max(8e3).optional(),
2353
- manualActivationCode: z28.string().optional()
2351
+ iccid: z28.string().min(18).max(22),
2352
+ activationCode: z28.string().min(1e3).max(8e3),
2353
+ manualActivationCode: z28.string()
2354
2354
  });
2355
2355
  });
2356
2356
  var createPurchaseOkResponseProfileResponse = z28.lazy(() => {
2357
2357
  return z28.object({
2358
- iccid: z28.string().min(18).max(22).optional(),
2359
- activationCode: z28.string().min(1e3).max(8e3).optional(),
2360
- manualActivationCode: z28.string().optional()
2358
+ iccid: z28.string().min(18).max(22),
2359
+ activationCode: z28.string().min(1e3).max(8e3),
2360
+ manualActivationCode: z28.string()
2361
2361
  }).transform((data) => ({
2362
2362
  iccid: data["iccid"],
2363
2363
  activationCode: data["activationCode"],
@@ -2366,9 +2366,9 @@ var createPurchaseOkResponseProfileResponse = z28.lazy(() => {
2366
2366
  });
2367
2367
  var createPurchaseOkResponseProfileRequest = z28.lazy(() => {
2368
2368
  return z28.object({
2369
- iccid: z28.string().min(18).max(22).optional(),
2370
- activationCode: z28.string().min(1e3).max(8e3).optional(),
2371
- manualActivationCode: z28.string().optional()
2369
+ iccid: z28.string().min(18).max(22),
2370
+ activationCode: z28.string().min(1e3).max(8e3),
2371
+ manualActivationCode: z28.string()
2372
2372
  }).transform((data) => ({
2373
2373
  iccid: data["iccid"],
2374
2374
  activationCode: data["activationCode"],
@@ -2379,14 +2379,14 @@ var createPurchaseOkResponseProfileRequest = z28.lazy(() => {
2379
2379
  // src/services/purchases/models/create-purchase-ok-response.ts
2380
2380
  var createPurchaseOkResponse = z29.lazy(() => {
2381
2381
  return z29.object({
2382
- purchase: createPurchaseOkResponsePurchase.optional(),
2383
- profile: createPurchaseOkResponseProfile.optional()
2382
+ purchase: createPurchaseOkResponsePurchase,
2383
+ profile: createPurchaseOkResponseProfile
2384
2384
  });
2385
2385
  });
2386
2386
  var createPurchaseOkResponseResponse = z29.lazy(() => {
2387
2387
  return z29.object({
2388
- purchase: createPurchaseOkResponsePurchaseResponse.optional(),
2389
- profile: createPurchaseOkResponseProfileResponse.optional()
2388
+ purchase: createPurchaseOkResponsePurchaseResponse,
2389
+ profile: createPurchaseOkResponseProfileResponse
2390
2390
  }).transform((data) => ({
2391
2391
  purchase: data["purchase"],
2392
2392
  profile: data["profile"]
@@ -2394,8 +2394,8 @@ var createPurchaseOkResponseResponse = z29.lazy(() => {
2394
2394
  });
2395
2395
  var createPurchaseOkResponseRequest = z29.lazy(() => {
2396
2396
  return z29.object({
2397
- purchase: createPurchaseOkResponsePurchaseRequest.optional(),
2398
- profile: createPurchaseOkResponseProfileRequest.optional()
2397
+ purchase: createPurchaseOkResponsePurchaseRequest,
2398
+ profile: createPurchaseOkResponseProfileRequest
2399
2399
  }).transform((data) => ({
2400
2400
  purchase: data["purchase"],
2401
2401
  profile: data["profile"]
@@ -2515,22 +2515,22 @@ import { z as z35 } from "zod";
2515
2515
  import { z as z33 } from "zod";
2516
2516
  var topUpEsimOkResponsePurchase = z33.lazy(() => {
2517
2517
  return z33.object({
2518
- id: z33.string().optional(),
2519
- packageId: z33.string().optional(),
2520
- startDate: z33.string().optional(),
2521
- endDate: z33.string().optional(),
2522
- createdDate: z33.string().optional(),
2518
+ id: z33.string(),
2519
+ packageId: z33.string(),
2520
+ startDate: z33.string(),
2521
+ endDate: z33.string(),
2522
+ createdDate: z33.string(),
2523
2523
  startTime: z33.number().optional(),
2524
2524
  endTime: z33.number().optional()
2525
2525
  });
2526
2526
  });
2527
2527
  var topUpEsimOkResponsePurchaseResponse = z33.lazy(() => {
2528
2528
  return z33.object({
2529
- id: z33.string().optional(),
2530
- packageId: z33.string().optional(),
2531
- startDate: z33.string().optional(),
2532
- endDate: z33.string().optional(),
2533
- createdDate: z33.string().optional(),
2529
+ id: z33.string(),
2530
+ packageId: z33.string(),
2531
+ startDate: z33.string(),
2532
+ endDate: z33.string(),
2533
+ createdDate: z33.string(),
2534
2534
  startTime: z33.number().optional(),
2535
2535
  endTime: z33.number().optional()
2536
2536
  }).transform((data) => ({
@@ -2545,11 +2545,11 @@ var topUpEsimOkResponsePurchaseResponse = z33.lazy(() => {
2545
2545
  });
2546
2546
  var topUpEsimOkResponsePurchaseRequest = z33.lazy(() => {
2547
2547
  return z33.object({
2548
- id: z33.string().optional(),
2549
- packageId: z33.string().optional(),
2550
- startDate: z33.string().optional(),
2551
- endDate: z33.string().optional(),
2552
- createdDate: z33.string().optional(),
2548
+ id: z33.string(),
2549
+ packageId: z33.string(),
2550
+ startDate: z33.string(),
2551
+ endDate: z33.string(),
2552
+ createdDate: z33.string(),
2553
2553
  startTime: z33.number().optional(),
2554
2554
  endTime: z33.number().optional()
2555
2555
  }).transform((data) => ({
@@ -2567,19 +2567,19 @@ var topUpEsimOkResponsePurchaseRequest = z33.lazy(() => {
2567
2567
  import { z as z34 } from "zod";
2568
2568
  var topUpEsimOkResponseProfile = z34.lazy(() => {
2569
2569
  return z34.object({
2570
- iccid: z34.string().min(18).max(22).optional()
2570
+ iccid: z34.string().min(18).max(22)
2571
2571
  });
2572
2572
  });
2573
2573
  var topUpEsimOkResponseProfileResponse = z34.lazy(() => {
2574
2574
  return z34.object({
2575
- iccid: z34.string().min(18).max(22).optional()
2575
+ iccid: z34.string().min(18).max(22)
2576
2576
  }).transform((data) => ({
2577
2577
  iccid: data["iccid"]
2578
2578
  }));
2579
2579
  });
2580
2580
  var topUpEsimOkResponseProfileRequest = z34.lazy(() => {
2581
2581
  return z34.object({
2582
- iccid: z34.string().min(18).max(22).optional()
2582
+ iccid: z34.string().min(18).max(22)
2583
2583
  }).transform((data) => ({
2584
2584
  iccid: data["iccid"]
2585
2585
  }));
@@ -2588,14 +2588,14 @@ var topUpEsimOkResponseProfileRequest = z34.lazy(() => {
2588
2588
  // src/services/purchases/models/top-up-esim-ok-response.ts
2589
2589
  var topUpEsimOkResponse = z35.lazy(() => {
2590
2590
  return z35.object({
2591
- purchase: topUpEsimOkResponsePurchase.optional(),
2592
- profile: topUpEsimOkResponseProfile.optional()
2591
+ purchase: topUpEsimOkResponsePurchase,
2592
+ profile: topUpEsimOkResponseProfile
2593
2593
  });
2594
2594
  });
2595
2595
  var topUpEsimOkResponseResponse = z35.lazy(() => {
2596
2596
  return z35.object({
2597
- purchase: topUpEsimOkResponsePurchaseResponse.optional(),
2598
- profile: topUpEsimOkResponseProfileResponse.optional()
2597
+ purchase: topUpEsimOkResponsePurchaseResponse,
2598
+ profile: topUpEsimOkResponseProfileResponse
2599
2599
  }).transform((data) => ({
2600
2600
  purchase: data["purchase"],
2601
2601
  profile: data["profile"]
@@ -2603,8 +2603,8 @@ var topUpEsimOkResponseResponse = z35.lazy(() => {
2603
2603
  });
2604
2604
  var topUpEsimOkResponseRequest = z35.lazy(() => {
2605
2605
  return z35.object({
2606
- purchase: topUpEsimOkResponsePurchaseRequest.optional(),
2607
- profile: topUpEsimOkResponseProfileRequest.optional()
2606
+ purchase: topUpEsimOkResponsePurchaseRequest,
2607
+ profile: topUpEsimOkResponseProfileRequest
2608
2608
  }).transform((data) => ({
2609
2609
  purchase: data["purchase"],
2610
2610
  profile: data["profile"]
@@ -2701,18 +2701,18 @@ var editPurchaseRequestRequest = z38.lazy(() => {
2701
2701
  import { z as z39 } from "zod";
2702
2702
  var editPurchaseOkResponse = z39.lazy(() => {
2703
2703
  return z39.object({
2704
- purchaseId: z39.string().optional(),
2705
- newStartDate: z39.string().optional(),
2706
- newEndDate: z39.string().optional(),
2704
+ purchaseId: z39.string(),
2705
+ newStartDate: z39.string(),
2706
+ newEndDate: z39.string(),
2707
2707
  newStartTime: z39.number().optional(),
2708
2708
  newEndTime: z39.number().optional()
2709
2709
  });
2710
2710
  });
2711
2711
  var editPurchaseOkResponseResponse = z39.lazy(() => {
2712
2712
  return z39.object({
2713
- purchaseId: z39.string().optional(),
2714
- newStartDate: z39.string().optional(),
2715
- newEndDate: z39.string().optional(),
2713
+ purchaseId: z39.string(),
2714
+ newStartDate: z39.string(),
2715
+ newEndDate: z39.string(),
2716
2716
  newStartTime: z39.number().optional(),
2717
2717
  newEndTime: z39.number().optional()
2718
2718
  }).transform((data) => ({
@@ -2725,9 +2725,9 @@ var editPurchaseOkResponseResponse = z39.lazy(() => {
2725
2725
  });
2726
2726
  var editPurchaseOkResponseRequest = z39.lazy(() => {
2727
2727
  return z39.object({
2728
- purchaseId: z39.string().optional(),
2729
- newStartDate: z39.string().optional(),
2730
- newEndDate: z39.string().optional(),
2728
+ purchaseId: z39.string(),
2729
+ newStartDate: z39.string(),
2730
+ newEndDate: z39.string(),
2731
2731
  newStartTime: z39.number().optional(),
2732
2732
  newEndTime: z39.number().optional()
2733
2733
  }).transform((data) => ({
@@ -2787,14 +2787,14 @@ var _13 = class extends ThrowableError {
2787
2787
  import { z as z42 } from "zod";
2788
2788
  var getPurchaseConsumptionOkResponse = z42.lazy(() => {
2789
2789
  return z42.object({
2790
- dataUsageRemainingInBytes: z42.number().optional(),
2791
- status: z42.string().optional()
2790
+ dataUsageRemainingInBytes: z42.number(),
2791
+ status: z42.string()
2792
2792
  });
2793
2793
  });
2794
2794
  var getPurchaseConsumptionOkResponseResponse = z42.lazy(() => {
2795
2795
  return z42.object({
2796
- dataUsageRemainingInBytes: z42.number().optional(),
2797
- status: z42.string().optional()
2796
+ dataUsageRemainingInBytes: z42.number(),
2797
+ status: z42.string()
2798
2798
  }).transform((data) => ({
2799
2799
  dataUsageRemainingInBytes: data["dataUsageRemainingInBytes"],
2800
2800
  status: data["status"]
@@ -2802,8 +2802,8 @@ var getPurchaseConsumptionOkResponseResponse = z42.lazy(() => {
2802
2802
  });
2803
2803
  var getPurchaseConsumptionOkResponseRequest = z42.lazy(() => {
2804
2804
  return z42.object({
2805
- dataUsageRemainingInBytes: z42.number().optional(),
2806
- status: z42.string().optional()
2805
+ dataUsageRemainingInBytes: z42.number(),
2806
+ status: z42.string()
2807
2807
  }).transform((data) => ({
2808
2808
  dataUsageRemainingInBytes: data["dataUsageRemainingInBytes"],
2809
2809
  status: data["status"]
@@ -2882,6 +2882,7 @@ var PurchasesService = class extends BaseService {
2882
2882
  * @param {string} [params.iccid] - ID of the eSIM
2883
2883
  * @param {string} [params.afterDate] - Start date of the interval for filtering purchases in the format 'yyyy-MM-dd'
2884
2884
  * @param {string} [params.beforeDate] - End date of the interval for filtering purchases in the format 'yyyy-MM-dd'
2885
+ * @param {string} [params.email] - Email associated to the purchase.
2885
2886
  * @param {string} [params.referenceId] - The referenceId that was provided by the partner during the purchase or topup flow.
2886
2887
  * @param {string} [params.afterCursor] - To get the next batch of results, use this parameter. It tells the API where to start fetching data after the last item you received. It helps you avoid repeats and efficiently browse through large sets of data.
2887
2888
  * @param {number} [params.limit] - Maximum number of purchases to be returned in the response. The value must be greater than 0 and less than or equal to 100. If not provided, the default value is 20
@@ -2912,6 +2913,9 @@ var PurchasesService = class extends BaseService {
2912
2913
  }).addQueryParam({
2913
2914
  key: "beforeDate",
2914
2915
  value: params == null ? void 0 : params.beforeDate
2916
+ }).addQueryParam({
2917
+ key: "email",
2918
+ value: params == null ? void 0 : params.email
2915
2919
  }).addQueryParam({
2916
2920
  key: "referenceId",
2917
2921
  value: params == null ? void 0 : params.referenceId
@@ -3030,20 +3034,20 @@ import { z as z47 } from "zod";
3030
3034
  import { z as z46 } from "zod";
3031
3035
  var getEsimOkResponseEsim = z46.lazy(() => {
3032
3036
  return z46.object({
3033
- iccid: z46.string().min(18).max(22).optional(),
3034
- smdpAddress: z46.string().optional(),
3035
- manualActivationCode: z46.string().optional(),
3036
- status: z46.string().optional(),
3037
- isTopUpAllowed: z46.boolean().optional()
3037
+ iccid: z46.string().min(18).max(22),
3038
+ smdpAddress: z46.string(),
3039
+ manualActivationCode: z46.string(),
3040
+ status: z46.string(),
3041
+ isTopUpAllowed: z46.boolean()
3038
3042
  });
3039
3043
  });
3040
3044
  var getEsimOkResponseEsimResponse = z46.lazy(() => {
3041
3045
  return z46.object({
3042
- iccid: z46.string().min(18).max(22).optional(),
3043
- smdpAddress: z46.string().optional(),
3044
- manualActivationCode: z46.string().optional(),
3045
- status: z46.string().optional(),
3046
- isTopUpAllowed: z46.boolean().optional()
3046
+ iccid: z46.string().min(18).max(22),
3047
+ smdpAddress: z46.string(),
3048
+ manualActivationCode: z46.string(),
3049
+ status: z46.string(),
3050
+ isTopUpAllowed: z46.boolean()
3047
3051
  }).transform((data) => ({
3048
3052
  iccid: data["iccid"],
3049
3053
  smdpAddress: data["smdpAddress"],
@@ -3054,11 +3058,11 @@ var getEsimOkResponseEsimResponse = z46.lazy(() => {
3054
3058
  });
3055
3059
  var getEsimOkResponseEsimRequest = z46.lazy(() => {
3056
3060
  return z46.object({
3057
- iccid: z46.string().min(18).max(22).optional(),
3058
- smdpAddress: z46.string().optional(),
3059
- manualActivationCode: z46.string().optional(),
3060
- status: z46.string().optional(),
3061
- isTopUpAllowed: z46.boolean().optional()
3061
+ iccid: z46.string().min(18).max(22),
3062
+ smdpAddress: z46.string(),
3063
+ manualActivationCode: z46.string(),
3064
+ status: z46.string(),
3065
+ isTopUpAllowed: z46.boolean()
3062
3066
  }).transform((data) => ({
3063
3067
  iccid: data["iccid"],
3064
3068
  smdpAddress: data["smdpAddress"],
@@ -3071,19 +3075,19 @@ var getEsimOkResponseEsimRequest = z46.lazy(() => {
3071
3075
  // src/services/e-sim/models/get-esim-ok-response.ts
3072
3076
  var getEsimOkResponse = z47.lazy(() => {
3073
3077
  return z47.object({
3074
- esim: getEsimOkResponseEsim.optional()
3078
+ esim: getEsimOkResponseEsim
3075
3079
  });
3076
3080
  });
3077
3081
  var getEsimOkResponseResponse = z47.lazy(() => {
3078
3082
  return z47.object({
3079
- esim: getEsimOkResponseEsimResponse.optional()
3083
+ esim: getEsimOkResponseEsimResponse
3080
3084
  }).transform((data) => ({
3081
3085
  esim: data["esim"]
3082
3086
  }));
3083
3087
  });
3084
3088
  var getEsimOkResponseRequest = z47.lazy(() => {
3085
3089
  return z47.object({
3086
- esim: getEsimOkResponseEsimRequest.optional()
3090
+ esim: getEsimOkResponseEsimRequest
3087
3091
  }).transform((data) => ({
3088
3092
  esim: data["esim"]
3089
3093
  }));
@@ -3140,18 +3144,18 @@ import { z as z51 } from "zod";
3140
3144
  import { z as z50 } from "zod";
3141
3145
  var device = z50.lazy(() => {
3142
3146
  return z50.object({
3143
- oem: z50.string().optional(),
3144
- hardwareName: z50.string().optional(),
3145
- hardwareModel: z50.string().optional(),
3146
- eid: z50.string().optional()
3147
+ oem: z50.string(),
3148
+ hardwareName: z50.string(),
3149
+ hardwareModel: z50.string(),
3150
+ eid: z50.string()
3147
3151
  });
3148
3152
  });
3149
3153
  var deviceResponse = z50.lazy(() => {
3150
3154
  return z50.object({
3151
- oem: z50.string().optional(),
3152
- hardwareName: z50.string().optional(),
3153
- hardwareModel: z50.string().optional(),
3154
- eid: z50.string().optional()
3155
+ oem: z50.string(),
3156
+ hardwareName: z50.string(),
3157
+ hardwareModel: z50.string(),
3158
+ eid: z50.string()
3155
3159
  }).transform((data) => ({
3156
3160
  oem: data["oem"],
3157
3161
  hardwareName: data["hardwareName"],
@@ -3161,10 +3165,10 @@ var deviceResponse = z50.lazy(() => {
3161
3165
  });
3162
3166
  var deviceRequest = z50.lazy(() => {
3163
3167
  return z50.object({
3164
- oem: z50.string().optional(),
3165
- hardwareName: z50.string().optional(),
3166
- hardwareModel: z50.string().optional(),
3167
- eid: z50.string().optional()
3168
+ oem: z50.string(),
3169
+ hardwareName: z50.string(),
3170
+ hardwareModel: z50.string(),
3171
+ eid: z50.string()
3168
3172
  }).transform((data) => ({
3169
3173
  oem: data["oem"],
3170
3174
  hardwareName: data["hardwareName"],
@@ -3176,19 +3180,19 @@ var deviceRequest = z50.lazy(() => {
3176
3180
  // src/services/e-sim/models/get-esim-device-ok-response.ts
3177
3181
  var getEsimDeviceOkResponse = z51.lazy(() => {
3178
3182
  return z51.object({
3179
- device: device.optional()
3183
+ device
3180
3184
  });
3181
3185
  });
3182
3186
  var getEsimDeviceOkResponseResponse = z51.lazy(() => {
3183
3187
  return z51.object({
3184
- device: deviceResponse.optional()
3188
+ device: deviceResponse
3185
3189
  }).transform((data) => ({
3186
3190
  device: data["device"]
3187
3191
  }));
3188
3192
  });
3189
3193
  var getEsimDeviceOkResponseRequest = z51.lazy(() => {
3190
3194
  return z51.object({
3191
- device: deviceRequest.optional()
3195
+ device: deviceRequest
3192
3196
  }).transform((data) => ({
3193
3197
  device: data["device"]
3194
3198
  }));
@@ -3248,15 +3252,15 @@ import { z as z55 } from "zod";
3248
3252
  import { z as z54 } from "zod";
3249
3253
  var history = z54.lazy(() => {
3250
3254
  return z54.object({
3251
- status: z54.string().optional(),
3252
- statusDate: z54.string().optional(),
3255
+ status: z54.string(),
3256
+ statusDate: z54.string(),
3253
3257
  date: z54.number().optional()
3254
3258
  });
3255
3259
  });
3256
3260
  var historyResponse = z54.lazy(() => {
3257
3261
  return z54.object({
3258
- status: z54.string().optional(),
3259
- statusDate: z54.string().optional(),
3262
+ status: z54.string(),
3263
+ statusDate: z54.string(),
3260
3264
  date: z54.number().optional()
3261
3265
  }).transform((data) => ({
3262
3266
  status: data["status"],
@@ -3266,8 +3270,8 @@ var historyResponse = z54.lazy(() => {
3266
3270
  });
3267
3271
  var historyRequest = z54.lazy(() => {
3268
3272
  return z54.object({
3269
- status: z54.string().optional(),
3270
- statusDate: z54.string().optional(),
3273
+ status: z54.string(),
3274
+ statusDate: z54.string(),
3271
3275
  date: z54.number().optional()
3272
3276
  }).transform((data) => ({
3273
3277
  status: data["status"],
@@ -3279,14 +3283,14 @@ var historyRequest = z54.lazy(() => {
3279
3283
  // src/services/e-sim/models/get-esim-history-ok-response-esim.ts
3280
3284
  var getEsimHistoryOkResponseEsim = z55.lazy(() => {
3281
3285
  return z55.object({
3282
- iccid: z55.string().min(18).max(22).optional(),
3283
- history: z55.array(history).optional()
3286
+ iccid: z55.string().min(18).max(22),
3287
+ history: z55.array(history)
3284
3288
  });
3285
3289
  });
3286
3290
  var getEsimHistoryOkResponseEsimResponse = z55.lazy(() => {
3287
3291
  return z55.object({
3288
- iccid: z55.string().min(18).max(22).optional(),
3289
- history: z55.array(historyResponse).optional()
3292
+ iccid: z55.string().min(18).max(22),
3293
+ history: z55.array(historyResponse)
3290
3294
  }).transform((data) => ({
3291
3295
  iccid: data["iccid"],
3292
3296
  history: data["history"]
@@ -3294,8 +3298,8 @@ var getEsimHistoryOkResponseEsimResponse = z55.lazy(() => {
3294
3298
  });
3295
3299
  var getEsimHistoryOkResponseEsimRequest = z55.lazy(() => {
3296
3300
  return z55.object({
3297
- iccid: z55.string().min(18).max(22).optional(),
3298
- history: z55.array(historyRequest).optional()
3301
+ iccid: z55.string().min(18).max(22),
3302
+ history: z55.array(historyRequest)
3299
3303
  }).transform((data) => ({
3300
3304
  iccid: data["iccid"],
3301
3305
  history: data["history"]
@@ -3305,19 +3309,19 @@ var getEsimHistoryOkResponseEsimRequest = z55.lazy(() => {
3305
3309
  // src/services/e-sim/models/get-esim-history-ok-response.ts
3306
3310
  var getEsimHistoryOkResponse = z56.lazy(() => {
3307
3311
  return z56.object({
3308
- esim: getEsimHistoryOkResponseEsim.optional()
3312
+ esim: getEsimHistoryOkResponseEsim
3309
3313
  });
3310
3314
  });
3311
3315
  var getEsimHistoryOkResponseResponse = z56.lazy(() => {
3312
3316
  return z56.object({
3313
- esim: getEsimHistoryOkResponseEsimResponse.optional()
3317
+ esim: getEsimHistoryOkResponseEsimResponse
3314
3318
  }).transform((data) => ({
3315
3319
  esim: data["esim"]
3316
3320
  }));
3317
3321
  });
3318
3322
  var getEsimHistoryOkResponseRequest = z56.lazy(() => {
3319
3323
  return z56.object({
3320
- esim: getEsimHistoryOkResponseEsimRequest.optional()
3324
+ esim: getEsimHistoryOkResponseEsimRequest
3321
3325
  }).transform((data) => ({
3322
3326
  esim: data["esim"]
3323
3327
  }));
@@ -3374,16 +3378,16 @@ import { z as z60 } from "zod";
3374
3378
  import { z as z59 } from "zod";
3375
3379
  var getEsimMacOkResponseEsim = z59.lazy(() => {
3376
3380
  return z59.object({
3377
- iccid: z59.string().min(18).max(22).optional(),
3378
- smdpAddress: z59.string().optional(),
3379
- manualActivationCode: z59.string().optional()
3381
+ iccid: z59.string().min(18).max(22),
3382
+ smdpAddress: z59.string(),
3383
+ manualActivationCode: z59.string()
3380
3384
  });
3381
3385
  });
3382
3386
  var getEsimMacOkResponseEsimResponse = z59.lazy(() => {
3383
3387
  return z59.object({
3384
- iccid: z59.string().min(18).max(22).optional(),
3385
- smdpAddress: z59.string().optional(),
3386
- manualActivationCode: z59.string().optional()
3388
+ iccid: z59.string().min(18).max(22),
3389
+ smdpAddress: z59.string(),
3390
+ manualActivationCode: z59.string()
3387
3391
  }).transform((data) => ({
3388
3392
  iccid: data["iccid"],
3389
3393
  smdpAddress: data["smdpAddress"],
@@ -3392,9 +3396,9 @@ var getEsimMacOkResponseEsimResponse = z59.lazy(() => {
3392
3396
  });
3393
3397
  var getEsimMacOkResponseEsimRequest = z59.lazy(() => {
3394
3398
  return z59.object({
3395
- iccid: z59.string().min(18).max(22).optional(),
3396
- smdpAddress: z59.string().optional(),
3397
- manualActivationCode: z59.string().optional()
3399
+ iccid: z59.string().min(18).max(22),
3400
+ smdpAddress: z59.string(),
3401
+ manualActivationCode: z59.string()
3398
3402
  }).transform((data) => ({
3399
3403
  iccid: data["iccid"],
3400
3404
  smdpAddress: data["smdpAddress"],
@@ -3405,19 +3409,19 @@ var getEsimMacOkResponseEsimRequest = z59.lazy(() => {
3405
3409
  // src/services/e-sim/models/get-esim-mac-ok-response.ts
3406
3410
  var getEsimMacOkResponse = z60.lazy(() => {
3407
3411
  return z60.object({
3408
- esim: getEsimMacOkResponseEsim.optional()
3412
+ esim: getEsimMacOkResponseEsim
3409
3413
  });
3410
3414
  });
3411
3415
  var getEsimMacOkResponseResponse = z60.lazy(() => {
3412
3416
  return z60.object({
3413
- esim: getEsimMacOkResponseEsimResponse.optional()
3417
+ esim: getEsimMacOkResponseEsimResponse
3414
3418
  }).transform((data) => ({
3415
3419
  esim: data["esim"]
3416
3420
  }));
3417
3421
  });
3418
3422
  var getEsimMacOkResponseRequest = z60.lazy(() => {
3419
3423
  return z60.object({
3420
- esim: getEsimMacOkResponseEsimRequest.optional()
3424
+ esim: getEsimMacOkResponseEsimRequest
3421
3425
  }).transform((data) => ({
3422
3426
  esim: data["esim"]
3423
3427
  }));
@@ -3578,19 +3582,19 @@ import { z as z67 } from "zod";
3578
3582
  import { z as z64 } from "zod";
3579
3583
  var tokenOkResponse = z64.lazy(() => {
3580
3584
  return z64.object({
3581
- token: z64.string().optional()
3585
+ token: z64.string()
3582
3586
  });
3583
3587
  });
3584
3588
  var tokenOkResponseResponse = z64.lazy(() => {
3585
3589
  return z64.object({
3586
- token: z64.string().optional()
3590
+ token: z64.string()
3587
3591
  }).transform((data) => ({
3588
3592
  token: data["token"]
3589
3593
  }));
3590
3594
  });
3591
3595
  var tokenOkResponseRequest = z64.lazy(() => {
3592
3596
  return z64.object({
3593
- token: z64.string().optional()
3597
+ token: z64.string()
3594
3598
  }).transform((data) => ({
3595
3599
  token: data["token"]
3596
3600
  }));