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.d.ts CHANGED
@@ -247,36 +247,36 @@ declare class BaseService {
247
247
  * The shape of the model inside the application code - what the users use
248
248
  */
249
249
  declare const listDestinationsOkResponse: z.ZodLazy<z.ZodObject<{
250
- destinations: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
251
- name: z.ZodOptional<z.ZodString>;
252
- destination: z.ZodOptional<z.ZodString>;
253
- destinationIso2: z.ZodOptional<z.ZodString>;
254
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
+ destinations: z.ZodArray<z.ZodLazy<z.ZodObject<{
251
+ name: z.ZodString;
252
+ destination: z.ZodString;
253
+ destinationIso2: z.ZodString;
254
+ supportedCountries: z.ZodArray<z.ZodString, "many">;
255
255
  }, "strip", z.ZodTypeAny, {
256
- name?: string | undefined;
257
- destination?: string | undefined;
258
- destinationIso2?: string | undefined;
259
- supportedCountries?: string[] | undefined;
256
+ name: string;
257
+ destination: string;
258
+ destinationIso2: string;
259
+ supportedCountries: string[];
260
260
  }, {
261
- name?: string | undefined;
262
- destination?: string | undefined;
263
- destinationIso2?: string | undefined;
264
- supportedCountries?: string[] | undefined;
265
- }>>, "many">>;
261
+ name: string;
262
+ destination: string;
263
+ destinationIso2: string;
264
+ supportedCountries: string[];
265
+ }>>, "many">;
266
266
  }, "strip", z.ZodTypeAny, {
267
- destinations?: {
268
- name?: string | undefined;
269
- destination?: string | undefined;
270
- destinationIso2?: string | undefined;
271
- supportedCountries?: string[] | undefined;
272
- }[] | undefined;
267
+ destinations: {
268
+ name: string;
269
+ destination: string;
270
+ destinationIso2: string;
271
+ supportedCountries: string[];
272
+ }[];
273
273
  }, {
274
- destinations?: {
275
- name?: string | undefined;
276
- destination?: string | undefined;
277
- destinationIso2?: string | undefined;
278
- supportedCountries?: string[] | undefined;
279
- }[] | undefined;
274
+ destinations: {
275
+ name: string;
276
+ destination: string;
277
+ destinationIso2: string;
278
+ supportedCountries: string[];
279
+ }[];
280
280
  }>>;
281
281
  /**
282
282
  *
@@ -298,20 +298,20 @@ declare class DestinationsService extends BaseService {
298
298
  * The shape of the model inside the application code - what the users use
299
299
  */
300
300
  declare const destinations: z.ZodLazy<z.ZodObject<{
301
- name: z.ZodOptional<z.ZodString>;
302
- destination: z.ZodOptional<z.ZodString>;
303
- destinationIso2: z.ZodOptional<z.ZodString>;
304
- supportedCountries: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
301
+ name: z.ZodString;
302
+ destination: z.ZodString;
303
+ destinationIso2: z.ZodString;
304
+ supportedCountries: z.ZodArray<z.ZodString, "many">;
305
305
  }, "strip", z.ZodTypeAny, {
306
- name?: string | undefined;
307
- destination?: string | undefined;
308
- destinationIso2?: string | undefined;
309
- supportedCountries?: string[] | undefined;
306
+ name: string;
307
+ destination: string;
308
+ destinationIso2: string;
309
+ supportedCountries: string[];
310
310
  }, {
311
- name?: string | undefined;
312
- destination?: string | undefined;
313
- destinationIso2?: string | undefined;
314
- supportedCountries?: string[] | undefined;
311
+ name: string;
312
+ destination: string;
313
+ destinationIso2: string;
314
+ supportedCountries: string[];
315
315
  }>>;
316
316
  /**
317
317
  *
@@ -341,54 +341,54 @@ declare class _1 extends ThrowableError {
341
341
  * The shape of the model inside the application code - what the users use
342
342
  */
343
343
  declare const listPackagesOkResponse: z.ZodLazy<z.ZodObject<{
344
- packages: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
345
- id: z.ZodOptional<z.ZodString>;
346
- destination: z.ZodOptional<z.ZodString>;
347
- destinationIso2: z.ZodOptional<z.ZodString>;
348
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
349
- minDays: z.ZodOptional<z.ZodNumber>;
350
- maxDays: z.ZodOptional<z.ZodNumber>;
351
- priceInCents: z.ZodOptional<z.ZodNumber>;
344
+ packages: z.ZodArray<z.ZodLazy<z.ZodObject<{
345
+ id: z.ZodString;
346
+ destination: z.ZodString;
347
+ destinationIso2: z.ZodString;
348
+ dataLimitInBytes: z.ZodNumber;
349
+ minDays: z.ZodNumber;
350
+ maxDays: z.ZodNumber;
351
+ priceInCents: z.ZodNumber;
352
352
  }, "strip", z.ZodTypeAny, {
353
- id?: string | undefined;
354
- destination?: string | undefined;
355
- destinationIso2?: string | undefined;
356
- dataLimitInBytes?: number | undefined;
357
- minDays?: number | undefined;
358
- maxDays?: number | undefined;
359
- priceInCents?: number | undefined;
353
+ destination: string;
354
+ destinationIso2: string;
355
+ id: string;
356
+ dataLimitInBytes: number;
357
+ minDays: number;
358
+ maxDays: number;
359
+ priceInCents: number;
360
360
  }, {
361
- id?: string | undefined;
362
- destination?: string | undefined;
363
- destinationIso2?: string | undefined;
364
- dataLimitInBytes?: number | undefined;
365
- minDays?: number | undefined;
366
- maxDays?: number | undefined;
367
- priceInCents?: number | undefined;
368
- }>>, "many">>;
369
- afterCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
361
+ destination: string;
362
+ destinationIso2: string;
363
+ id: string;
364
+ dataLimitInBytes: number;
365
+ minDays: number;
366
+ maxDays: number;
367
+ priceInCents: number;
368
+ }>>, "many">;
369
+ afterCursor: z.ZodNullable<z.ZodString>;
370
370
  }, "strip", z.ZodTypeAny, {
371
- packages?: {
372
- id?: string | undefined;
373
- destination?: string | undefined;
374
- destinationIso2?: string | undefined;
375
- dataLimitInBytes?: number | undefined;
376
- minDays?: number | undefined;
377
- maxDays?: number | undefined;
378
- priceInCents?: number | undefined;
379
- }[] | undefined;
380
- afterCursor?: string | null | undefined;
371
+ packages: {
372
+ destination: string;
373
+ destinationIso2: string;
374
+ id: string;
375
+ dataLimitInBytes: number;
376
+ minDays: number;
377
+ maxDays: number;
378
+ priceInCents: number;
379
+ }[];
380
+ afterCursor: string | null;
381
381
  }, {
382
- packages?: {
383
- id?: string | undefined;
384
- destination?: string | undefined;
385
- destinationIso2?: string | undefined;
386
- dataLimitInBytes?: number | undefined;
387
- minDays?: number | undefined;
388
- maxDays?: number | undefined;
389
- priceInCents?: number | undefined;
390
- }[] | undefined;
391
- afterCursor?: string | null | undefined;
382
+ packages: {
383
+ destination: string;
384
+ destinationIso2: string;
385
+ id: string;
386
+ dataLimitInBytes: number;
387
+ minDays: number;
388
+ maxDays: number;
389
+ priceInCents: number;
390
+ }[];
391
+ afterCursor: string | null;
392
392
  }>>;
393
393
  /**
394
394
  *
@@ -430,29 +430,29 @@ declare class PackagesService extends BaseService {
430
430
  * The shape of the model inside the application code - what the users use
431
431
  */
432
432
  declare const packages: z.ZodLazy<z.ZodObject<{
433
- id: z.ZodOptional<z.ZodString>;
434
- destination: z.ZodOptional<z.ZodString>;
435
- destinationIso2: z.ZodOptional<z.ZodString>;
436
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
437
- minDays: z.ZodOptional<z.ZodNumber>;
438
- maxDays: z.ZodOptional<z.ZodNumber>;
439
- priceInCents: z.ZodOptional<z.ZodNumber>;
433
+ id: z.ZodString;
434
+ destination: z.ZodString;
435
+ destinationIso2: z.ZodString;
436
+ dataLimitInBytes: z.ZodNumber;
437
+ minDays: z.ZodNumber;
438
+ maxDays: z.ZodNumber;
439
+ priceInCents: z.ZodNumber;
440
440
  }, "strip", z.ZodTypeAny, {
441
- id?: string | undefined;
442
- destination?: string | undefined;
443
- destinationIso2?: string | undefined;
444
- dataLimitInBytes?: number | undefined;
445
- minDays?: number | undefined;
446
- maxDays?: number | undefined;
447
- priceInCents?: number | undefined;
441
+ destination: string;
442
+ destinationIso2: string;
443
+ id: string;
444
+ dataLimitInBytes: number;
445
+ minDays: number;
446
+ maxDays: number;
447
+ priceInCents: number;
448
448
  }, {
449
- id?: string | undefined;
450
- destination?: string | undefined;
451
- destinationIso2?: string | undefined;
452
- dataLimitInBytes?: number | undefined;
453
- minDays?: number | undefined;
454
- maxDays?: number | undefined;
455
- priceInCents?: number | undefined;
449
+ destination: string;
450
+ destinationIso2: string;
451
+ id: string;
452
+ dataLimitInBytes: number;
453
+ minDays: number;
454
+ maxDays: number;
455
+ priceInCents: number;
456
456
  }>>;
457
457
  /**
458
458
  *
@@ -534,54 +534,54 @@ type CreatePurchaseV2Request = z.infer<typeof createPurchaseV2Request>;
534
534
  * The shape of the model inside the application code - what the users use
535
535
  */
536
536
  declare const createPurchaseV2OkResponse: z.ZodLazy<z.ZodObject<{
537
- purchase: z.ZodOptional<z.ZodLazy<z.ZodObject<{
538
- id: z.ZodOptional<z.ZodString>;
539
- packageId: z.ZodOptional<z.ZodString>;
540
- createdDate: z.ZodOptional<z.ZodString>;
537
+ purchase: z.ZodLazy<z.ZodObject<{
538
+ id: z.ZodString;
539
+ packageId: z.ZodString;
540
+ createdDate: z.ZodString;
541
541
  }, "strip", z.ZodTypeAny, {
542
- id?: string | undefined;
543
- packageId?: string | undefined;
544
- createdDate?: string | undefined;
542
+ id: string;
543
+ packageId: string;
544
+ createdDate: string;
545
545
  }, {
546
- id?: string | undefined;
547
- packageId?: string | undefined;
548
- createdDate?: string | undefined;
549
- }>>>;
550
- profile: z.ZodOptional<z.ZodLazy<z.ZodObject<{
551
- iccid: z.ZodOptional<z.ZodString>;
552
- activationCode: z.ZodOptional<z.ZodString>;
553
- manualActivationCode: z.ZodOptional<z.ZodString>;
546
+ id: string;
547
+ packageId: string;
548
+ createdDate: string;
549
+ }>>;
550
+ profile: z.ZodLazy<z.ZodObject<{
551
+ iccid: z.ZodString;
552
+ activationCode: z.ZodString;
553
+ manualActivationCode: z.ZodString;
554
554
  }, "strip", z.ZodTypeAny, {
555
- iccid?: string | undefined;
556
- activationCode?: string | undefined;
557
- manualActivationCode?: string | undefined;
555
+ iccid: string;
556
+ activationCode: string;
557
+ manualActivationCode: string;
558
558
  }, {
559
- iccid?: string | undefined;
560
- activationCode?: string | undefined;
561
- manualActivationCode?: string | undefined;
562
- }>>>;
559
+ iccid: string;
560
+ activationCode: string;
561
+ manualActivationCode: string;
562
+ }>>;
563
563
  }, "strip", z.ZodTypeAny, {
564
- purchase?: {
565
- id?: string | undefined;
566
- packageId?: string | undefined;
567
- createdDate?: string | undefined;
568
- } | undefined;
569
- profile?: {
570
- iccid?: string | undefined;
571
- activationCode?: string | undefined;
572
- manualActivationCode?: string | undefined;
573
- } | undefined;
564
+ purchase: {
565
+ id: string;
566
+ packageId: string;
567
+ createdDate: string;
568
+ };
569
+ profile: {
570
+ iccid: string;
571
+ activationCode: string;
572
+ manualActivationCode: string;
573
+ };
574
574
  }, {
575
- purchase?: {
576
- id?: string | undefined;
577
- packageId?: string | undefined;
578
- createdDate?: string | undefined;
579
- } | undefined;
580
- profile?: {
581
- iccid?: string | undefined;
582
- activationCode?: string | undefined;
583
- manualActivationCode?: string | undefined;
584
- } | undefined;
575
+ purchase: {
576
+ id: string;
577
+ packageId: string;
578
+ createdDate: string;
579
+ };
580
+ profile: {
581
+ iccid: string;
582
+ activationCode: string;
583
+ manualActivationCode: string;
584
+ };
585
585
  }>>;
586
586
  /**
587
587
  *
@@ -595,142 +595,142 @@ type CreatePurchaseV2OkResponse = z.infer<typeof createPurchaseV2OkResponse>;
595
595
  * The shape of the model inside the application code - what the users use
596
596
  */
597
597
  declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
598
- purchases: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
599
- id: z.ZodOptional<z.ZodString>;
600
- startDate: z.ZodOptional<z.ZodString>;
601
- endDate: z.ZodOptional<z.ZodString>;
602
- createdDate: z.ZodOptional<z.ZodString>;
598
+ purchases: z.ZodArray<z.ZodLazy<z.ZodObject<{
599
+ id: z.ZodString;
600
+ startDate: z.ZodString;
601
+ endDate: z.ZodString;
602
+ createdDate: z.ZodString;
603
603
  startTime: z.ZodOptional<z.ZodNumber>;
604
604
  endTime: z.ZodOptional<z.ZodNumber>;
605
605
  createdAt: z.ZodOptional<z.ZodNumber>;
606
- package: z.ZodOptional<z.ZodLazy<z.ZodObject<{
607
- id: z.ZodOptional<z.ZodString>;
608
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
609
- destination: z.ZodOptional<z.ZodString>;
610
- destinationIso2: z.ZodOptional<z.ZodString>;
611
- destinationName: z.ZodOptional<z.ZodString>;
612
- priceInCents: z.ZodOptional<z.ZodNumber>;
606
+ package: z.ZodLazy<z.ZodObject<{
607
+ id: z.ZodString;
608
+ dataLimitInBytes: z.ZodNumber;
609
+ destination: z.ZodString;
610
+ destinationIso2: z.ZodString;
611
+ destinationName: z.ZodString;
612
+ priceInCents: z.ZodNumber;
613
613
  }, "strip", z.ZodTypeAny, {
614
- id?: string | undefined;
615
- dataLimitInBytes?: number | undefined;
616
- destination?: string | undefined;
617
- destinationIso2?: string | undefined;
618
- destinationName?: string | undefined;
619
- priceInCents?: number | undefined;
614
+ destination: string;
615
+ destinationIso2: string;
616
+ id: string;
617
+ dataLimitInBytes: number;
618
+ priceInCents: number;
619
+ destinationName: string;
620
620
  }, {
621
- id?: string | undefined;
622
- dataLimitInBytes?: number | undefined;
623
- destination?: string | undefined;
624
- destinationIso2?: string | undefined;
625
- destinationName?: string | undefined;
626
- priceInCents?: number | undefined;
627
- }>>>;
628
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
629
- iccid: z.ZodOptional<z.ZodString>;
621
+ destination: string;
622
+ destinationIso2: string;
623
+ id: string;
624
+ dataLimitInBytes: number;
625
+ priceInCents: number;
626
+ destinationName: string;
627
+ }>>;
628
+ esim: z.ZodLazy<z.ZodObject<{
629
+ iccid: z.ZodString;
630
630
  }, "strip", z.ZodTypeAny, {
631
- iccid?: string | undefined;
631
+ iccid: string;
632
632
  }, {
633
- iccid?: string | undefined;
634
- }>>>;
635
- source: z.ZodOptional<z.ZodString>;
636
- purchaseType: z.ZodOptional<z.ZodString>;
637
- referenceId: z.ZodOptional<z.ZodString>;
633
+ iccid: string;
634
+ }>>;
635
+ source: z.ZodString;
636
+ purchaseType: z.ZodString;
637
+ referenceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
638
638
  }, "strip", z.ZodTypeAny, {
639
- id?: string | undefined;
640
- startDate?: string | undefined;
641
- endDate?: string | undefined;
642
- createdDate?: string | undefined;
639
+ id: string;
640
+ startDate: string;
641
+ endDate: string;
642
+ createdDate: string;
643
+ package: {
644
+ destination: string;
645
+ destinationIso2: string;
646
+ id: string;
647
+ dataLimitInBytes: number;
648
+ priceInCents: number;
649
+ destinationName: string;
650
+ };
651
+ esim: {
652
+ iccid: string;
653
+ };
654
+ source: string;
655
+ purchaseType: string;
643
656
  startTime?: number | undefined;
644
657
  endTime?: number | undefined;
645
658
  createdAt?: number | undefined;
646
- package?: {
647
- id?: string | undefined;
648
- dataLimitInBytes?: number | undefined;
649
- destination?: string | undefined;
650
- destinationIso2?: string | undefined;
651
- destinationName?: string | undefined;
652
- priceInCents?: number | undefined;
653
- } | undefined;
654
- esim?: {
655
- iccid?: string | undefined;
656
- } | undefined;
657
- source?: string | undefined;
658
- purchaseType?: string | undefined;
659
- referenceId?: string | undefined;
659
+ referenceId?: string | null | undefined;
660
660
  }, {
661
- id?: string | undefined;
662
- startDate?: string | undefined;
663
- endDate?: string | undefined;
664
- createdDate?: string | undefined;
661
+ id: string;
662
+ startDate: string;
663
+ endDate: string;
664
+ createdDate: string;
665
+ package: {
666
+ destination: string;
667
+ destinationIso2: string;
668
+ id: string;
669
+ dataLimitInBytes: number;
670
+ priceInCents: number;
671
+ destinationName: string;
672
+ };
673
+ esim: {
674
+ iccid: string;
675
+ };
676
+ source: string;
677
+ purchaseType: string;
665
678
  startTime?: number | undefined;
666
679
  endTime?: number | undefined;
667
680
  createdAt?: number | undefined;
668
- package?: {
669
- id?: string | undefined;
670
- dataLimitInBytes?: number | undefined;
671
- destination?: string | undefined;
672
- destinationIso2?: string | undefined;
673
- destinationName?: string | undefined;
674
- priceInCents?: number | undefined;
675
- } | undefined;
676
- esim?: {
677
- iccid?: string | undefined;
678
- } | undefined;
679
- source?: string | undefined;
680
- purchaseType?: string | undefined;
681
- referenceId?: string | undefined;
682
- }>>, "many">>;
683
- afterCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
681
+ referenceId?: string | null | undefined;
682
+ }>>, "many">;
683
+ afterCursor: z.ZodNullable<z.ZodString>;
684
684
  }, "strip", z.ZodTypeAny, {
685
- purchases?: {
686
- id?: string | undefined;
687
- startDate?: string | undefined;
688
- endDate?: string | undefined;
689
- createdDate?: string | undefined;
685
+ afterCursor: string | null;
686
+ purchases: {
687
+ id: string;
688
+ startDate: string;
689
+ endDate: string;
690
+ createdDate: string;
691
+ package: {
692
+ destination: string;
693
+ destinationIso2: string;
694
+ id: string;
695
+ dataLimitInBytes: number;
696
+ priceInCents: number;
697
+ destinationName: string;
698
+ };
699
+ esim: {
700
+ iccid: string;
701
+ };
702
+ source: string;
703
+ purchaseType: string;
690
704
  startTime?: number | undefined;
691
705
  endTime?: number | undefined;
692
706
  createdAt?: number | undefined;
693
- package?: {
694
- id?: string | undefined;
695
- dataLimitInBytes?: number | undefined;
696
- destination?: string | undefined;
697
- destinationIso2?: string | undefined;
698
- destinationName?: string | undefined;
699
- priceInCents?: number | undefined;
700
- } | undefined;
701
- esim?: {
702
- iccid?: string | undefined;
703
- } | undefined;
704
- source?: string | undefined;
705
- purchaseType?: string | undefined;
706
- referenceId?: string | undefined;
707
- }[] | undefined;
708
- afterCursor?: string | null | undefined;
707
+ referenceId?: string | null | undefined;
708
+ }[];
709
709
  }, {
710
- purchases?: {
711
- id?: string | undefined;
712
- startDate?: string | undefined;
713
- endDate?: string | undefined;
714
- createdDate?: string | undefined;
710
+ afterCursor: string | null;
711
+ purchases: {
712
+ id: string;
713
+ startDate: string;
714
+ endDate: string;
715
+ createdDate: string;
716
+ package: {
717
+ destination: string;
718
+ destinationIso2: string;
719
+ id: string;
720
+ dataLimitInBytes: number;
721
+ priceInCents: number;
722
+ destinationName: string;
723
+ };
724
+ esim: {
725
+ iccid: string;
726
+ };
727
+ source: string;
728
+ purchaseType: string;
715
729
  startTime?: number | undefined;
716
730
  endTime?: number | undefined;
717
731
  createdAt?: number | undefined;
718
- package?: {
719
- id?: string | undefined;
720
- dataLimitInBytes?: number | undefined;
721
- destination?: string | undefined;
722
- destinationIso2?: string | undefined;
723
- destinationName?: string | undefined;
724
- priceInCents?: number | undefined;
725
- } | undefined;
726
- esim?: {
727
- iccid?: string | undefined;
728
- } | undefined;
729
- source?: string | undefined;
730
- purchaseType?: string | undefined;
731
- referenceId?: string | undefined;
732
- }[] | undefined;
733
- afterCursor?: string | null | undefined;
732
+ referenceId?: string | null | undefined;
733
+ }[];
734
734
  }>>;
735
735
  /**
736
736
  *
@@ -744,6 +744,7 @@ interface ListPurchasesParams {
744
744
  iccid?: string;
745
745
  afterDate?: string;
746
746
  beforeDate?: string;
747
+ email?: string;
747
748
  referenceId?: string;
748
749
  afterCursor?: string;
749
750
  limit?: number;
@@ -808,74 +809,74 @@ type CreatePurchaseRequest = z.infer<typeof createPurchaseRequest>;
808
809
  * The shape of the model inside the application code - what the users use
809
810
  */
810
811
  declare const createPurchaseOkResponse: z.ZodLazy<z.ZodObject<{
811
- purchase: z.ZodOptional<z.ZodLazy<z.ZodObject<{
812
- id: z.ZodOptional<z.ZodString>;
813
- packageId: z.ZodOptional<z.ZodString>;
814
- startDate: z.ZodOptional<z.ZodString>;
815
- endDate: z.ZodOptional<z.ZodString>;
816
- createdDate: z.ZodOptional<z.ZodString>;
812
+ purchase: z.ZodLazy<z.ZodObject<{
813
+ id: z.ZodString;
814
+ packageId: z.ZodString;
815
+ startDate: z.ZodString;
816
+ endDate: z.ZodString;
817
+ createdDate: z.ZodString;
817
818
  startTime: z.ZodOptional<z.ZodNumber>;
818
819
  endTime: z.ZodOptional<z.ZodNumber>;
819
820
  }, "strip", z.ZodTypeAny, {
820
- id?: string | undefined;
821
- packageId?: string | undefined;
822
- startDate?: string | undefined;
823
- endDate?: string | undefined;
824
- createdDate?: string | undefined;
821
+ id: string;
822
+ startDate: string;
823
+ endDate: string;
824
+ packageId: string;
825
+ createdDate: string;
825
826
  startTime?: number | undefined;
826
827
  endTime?: number | undefined;
827
828
  }, {
828
- id?: string | undefined;
829
- packageId?: string | undefined;
830
- startDate?: string | undefined;
831
- endDate?: string | undefined;
832
- createdDate?: string | undefined;
829
+ id: string;
830
+ startDate: string;
831
+ endDate: string;
832
+ packageId: string;
833
+ createdDate: string;
833
834
  startTime?: number | undefined;
834
835
  endTime?: number | undefined;
835
- }>>>;
836
- profile: z.ZodOptional<z.ZodLazy<z.ZodObject<{
837
- iccid: z.ZodOptional<z.ZodString>;
838
- activationCode: z.ZodOptional<z.ZodString>;
839
- manualActivationCode: z.ZodOptional<z.ZodString>;
836
+ }>>;
837
+ profile: z.ZodLazy<z.ZodObject<{
838
+ iccid: z.ZodString;
839
+ activationCode: z.ZodString;
840
+ manualActivationCode: z.ZodString;
840
841
  }, "strip", z.ZodTypeAny, {
841
- iccid?: string | undefined;
842
- activationCode?: string | undefined;
843
- manualActivationCode?: string | undefined;
842
+ iccid: string;
843
+ activationCode: string;
844
+ manualActivationCode: string;
844
845
  }, {
845
- iccid?: string | undefined;
846
- activationCode?: string | undefined;
847
- manualActivationCode?: string | undefined;
848
- }>>>;
846
+ iccid: string;
847
+ activationCode: string;
848
+ manualActivationCode: string;
849
+ }>>;
849
850
  }, "strip", z.ZodTypeAny, {
850
- purchase?: {
851
- id?: string | undefined;
852
- packageId?: string | undefined;
853
- startDate?: string | undefined;
854
- endDate?: string | undefined;
855
- createdDate?: string | undefined;
851
+ purchase: {
852
+ id: string;
853
+ startDate: string;
854
+ endDate: string;
855
+ packageId: string;
856
+ createdDate: string;
856
857
  startTime?: number | undefined;
857
858
  endTime?: number | undefined;
858
- } | undefined;
859
- profile?: {
860
- iccid?: string | undefined;
861
- activationCode?: string | undefined;
862
- manualActivationCode?: string | undefined;
863
- } | undefined;
859
+ };
860
+ profile: {
861
+ iccid: string;
862
+ activationCode: string;
863
+ manualActivationCode: string;
864
+ };
864
865
  }, {
865
- purchase?: {
866
- id?: string | undefined;
867
- packageId?: string | undefined;
868
- startDate?: string | undefined;
869
- endDate?: string | undefined;
870
- createdDate?: string | undefined;
866
+ purchase: {
867
+ id: string;
868
+ startDate: string;
869
+ endDate: string;
870
+ packageId: string;
871
+ createdDate: string;
871
872
  startTime?: number | undefined;
872
873
  endTime?: number | undefined;
873
- } | undefined;
874
- profile?: {
875
- iccid?: string | undefined;
876
- activationCode?: string | undefined;
877
- manualActivationCode?: string | undefined;
878
- } | undefined;
874
+ };
875
+ profile: {
876
+ iccid: string;
877
+ activationCode: string;
878
+ manualActivationCode: string;
879
+ };
879
880
  }>>;
880
881
  /**
881
882
  *
@@ -938,64 +939,64 @@ type TopUpEsimRequest = z.infer<typeof topUpEsimRequest>;
938
939
  * The shape of the model inside the application code - what the users use
939
940
  */
940
941
  declare const topUpEsimOkResponse: z.ZodLazy<z.ZodObject<{
941
- purchase: z.ZodOptional<z.ZodLazy<z.ZodObject<{
942
- id: z.ZodOptional<z.ZodString>;
943
- packageId: z.ZodOptional<z.ZodString>;
944
- startDate: z.ZodOptional<z.ZodString>;
945
- endDate: z.ZodOptional<z.ZodString>;
946
- createdDate: z.ZodOptional<z.ZodString>;
942
+ purchase: z.ZodLazy<z.ZodObject<{
943
+ id: z.ZodString;
944
+ packageId: z.ZodString;
945
+ startDate: z.ZodString;
946
+ endDate: z.ZodString;
947
+ createdDate: z.ZodString;
947
948
  startTime: z.ZodOptional<z.ZodNumber>;
948
949
  endTime: z.ZodOptional<z.ZodNumber>;
949
950
  }, "strip", z.ZodTypeAny, {
950
- id?: string | undefined;
951
- packageId?: string | undefined;
952
- startDate?: string | undefined;
953
- endDate?: string | undefined;
954
- createdDate?: string | undefined;
951
+ id: string;
952
+ startDate: string;
953
+ endDate: string;
954
+ packageId: string;
955
+ createdDate: string;
955
956
  startTime?: number | undefined;
956
957
  endTime?: number | undefined;
957
958
  }, {
958
- id?: string | undefined;
959
- packageId?: string | undefined;
960
- startDate?: string | undefined;
961
- endDate?: string | undefined;
962
- createdDate?: string | undefined;
959
+ id: string;
960
+ startDate: string;
961
+ endDate: string;
962
+ packageId: string;
963
+ createdDate: string;
963
964
  startTime?: number | undefined;
964
965
  endTime?: number | undefined;
965
- }>>>;
966
- profile: z.ZodOptional<z.ZodLazy<z.ZodObject<{
967
- iccid: z.ZodOptional<z.ZodString>;
966
+ }>>;
967
+ profile: z.ZodLazy<z.ZodObject<{
968
+ iccid: z.ZodString;
968
969
  }, "strip", z.ZodTypeAny, {
969
- iccid?: string | undefined;
970
+ iccid: string;
970
971
  }, {
971
- iccid?: string | undefined;
972
- }>>>;
972
+ iccid: string;
973
+ }>>;
973
974
  }, "strip", z.ZodTypeAny, {
974
- purchase?: {
975
- id?: string | undefined;
976
- packageId?: string | undefined;
977
- startDate?: string | undefined;
978
- endDate?: string | undefined;
979
- createdDate?: string | undefined;
975
+ purchase: {
976
+ id: string;
977
+ startDate: string;
978
+ endDate: string;
979
+ packageId: string;
980
+ createdDate: string;
980
981
  startTime?: number | undefined;
981
982
  endTime?: number | undefined;
982
- } | undefined;
983
- profile?: {
984
- iccid?: string | undefined;
985
- } | undefined;
983
+ };
984
+ profile: {
985
+ iccid: string;
986
+ };
986
987
  }, {
987
- purchase?: {
988
- id?: string | undefined;
989
- packageId?: string | undefined;
990
- startDate?: string | undefined;
991
- endDate?: string | undefined;
992
- createdDate?: string | undefined;
988
+ purchase: {
989
+ id: string;
990
+ startDate: string;
991
+ endDate: string;
992
+ packageId: string;
993
+ createdDate: string;
993
994
  startTime?: number | undefined;
994
995
  endTime?: number | undefined;
995
- } | undefined;
996
- profile?: {
997
- iccid?: string | undefined;
998
- } | undefined;
996
+ };
997
+ profile: {
998
+ iccid: string;
999
+ };
999
1000
  }>>;
1000
1001
  /**
1001
1002
  *
@@ -1042,21 +1043,21 @@ type EditPurchaseRequest = z.infer<typeof editPurchaseRequest>;
1042
1043
  * The shape of the model inside the application code - what the users use
1043
1044
  */
1044
1045
  declare const editPurchaseOkResponse: z.ZodLazy<z.ZodObject<{
1045
- purchaseId: z.ZodOptional<z.ZodString>;
1046
- newStartDate: z.ZodOptional<z.ZodString>;
1047
- newEndDate: z.ZodOptional<z.ZodString>;
1046
+ purchaseId: z.ZodString;
1047
+ newStartDate: z.ZodString;
1048
+ newEndDate: z.ZodString;
1048
1049
  newStartTime: z.ZodOptional<z.ZodNumber>;
1049
1050
  newEndTime: z.ZodOptional<z.ZodNumber>;
1050
1051
  }, "strip", z.ZodTypeAny, {
1051
- purchaseId?: string | undefined;
1052
- newStartDate?: string | undefined;
1053
- newEndDate?: string | undefined;
1052
+ purchaseId: string;
1053
+ newStartDate: string;
1054
+ newEndDate: string;
1054
1055
  newStartTime?: number | undefined;
1055
1056
  newEndTime?: number | undefined;
1056
1057
  }, {
1057
- purchaseId?: string | undefined;
1058
- newStartDate?: string | undefined;
1059
- newEndDate?: string | undefined;
1058
+ purchaseId: string;
1059
+ newStartDate: string;
1060
+ newEndDate: string;
1060
1061
  newStartTime?: number | undefined;
1061
1062
  newEndTime?: number | undefined;
1062
1063
  }>>;
@@ -1075,14 +1076,14 @@ type EditPurchaseOkResponse = z.infer<typeof editPurchaseOkResponse>;
1075
1076
  * The shape of the model inside the application code - what the users use
1076
1077
  */
1077
1078
  declare const getPurchaseConsumptionOkResponse: z.ZodLazy<z.ZodObject<{
1078
- dataUsageRemainingInBytes: z.ZodOptional<z.ZodNumber>;
1079
- status: z.ZodOptional<z.ZodString>;
1079
+ dataUsageRemainingInBytes: z.ZodNumber;
1080
+ status: z.ZodString;
1080
1081
  }, "strip", z.ZodTypeAny, {
1081
- dataUsageRemainingInBytes?: number | undefined;
1082
- status?: string | undefined;
1082
+ status: string;
1083
+ dataUsageRemainingInBytes: number;
1083
1084
  }, {
1084
- dataUsageRemainingInBytes?: number | undefined;
1085
- status?: string | undefined;
1085
+ status: string;
1086
+ dataUsageRemainingInBytes: number;
1086
1087
  }>>;
1087
1088
  /**
1088
1089
  *
@@ -1104,6 +1105,7 @@ declare class PurchasesService extends BaseService {
1104
1105
  * @param {string} [params.iccid] - ID of the eSIM
1105
1106
  * @param {string} [params.afterDate] - Start date of the interval for filtering purchases in the format 'yyyy-MM-dd'
1106
1107
  * @param {string} [params.beforeDate] - End date of the interval for filtering purchases in the format 'yyyy-MM-dd'
1108
+ * @param {string} [params.email] - Email associated to the purchase.
1107
1109
  * @param {string} [params.referenceId] - The referenceId that was provided by the partner during the purchase or topup flow.
1108
1110
  * @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.
1109
1111
  * @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
@@ -1144,17 +1146,17 @@ declare class PurchasesService extends BaseService {
1144
1146
  * The shape of the model inside the application code - what the users use
1145
1147
  */
1146
1148
  declare const createPurchaseV2OkResponsePurchase: z.ZodLazy<z.ZodObject<{
1147
- id: z.ZodOptional<z.ZodString>;
1148
- packageId: z.ZodOptional<z.ZodString>;
1149
- createdDate: z.ZodOptional<z.ZodString>;
1149
+ id: z.ZodString;
1150
+ packageId: z.ZodString;
1151
+ createdDate: z.ZodString;
1150
1152
  }, "strip", z.ZodTypeAny, {
1151
- id?: string | undefined;
1152
- packageId?: string | undefined;
1153
- createdDate?: string | undefined;
1153
+ id: string;
1154
+ packageId: string;
1155
+ createdDate: string;
1154
1156
  }, {
1155
- id?: string | undefined;
1156
- packageId?: string | undefined;
1157
- createdDate?: string | undefined;
1157
+ id: string;
1158
+ packageId: string;
1159
+ createdDate: string;
1158
1160
  }>>;
1159
1161
  /**
1160
1162
  *
@@ -1169,17 +1171,17 @@ type CreatePurchaseV2OkResponsePurchase = z.infer<typeof createPurchaseV2OkRespo
1169
1171
  * The shape of the model inside the application code - what the users use
1170
1172
  */
1171
1173
  declare const createPurchaseV2OkResponseProfile: z.ZodLazy<z.ZodObject<{
1172
- iccid: z.ZodOptional<z.ZodString>;
1173
- activationCode: z.ZodOptional<z.ZodString>;
1174
- manualActivationCode: z.ZodOptional<z.ZodString>;
1174
+ iccid: z.ZodString;
1175
+ activationCode: z.ZodString;
1176
+ manualActivationCode: z.ZodString;
1175
1177
  }, "strip", z.ZodTypeAny, {
1176
- iccid?: string | undefined;
1177
- activationCode?: string | undefined;
1178
- manualActivationCode?: string | undefined;
1178
+ iccid: string;
1179
+ activationCode: string;
1180
+ manualActivationCode: string;
1179
1181
  }, {
1180
- iccid?: string | undefined;
1181
- activationCode?: string | undefined;
1182
- manualActivationCode?: string | undefined;
1182
+ iccid: string;
1183
+ activationCode: string;
1184
+ manualActivationCode: string;
1183
1185
  }>>;
1184
1186
  /**
1185
1187
  *
@@ -1194,89 +1196,89 @@ type CreatePurchaseV2OkResponseProfile = z.infer<typeof createPurchaseV2OkRespon
1194
1196
  * The shape of the model inside the application code - what the users use
1195
1197
  */
1196
1198
  declare const purchases: z.ZodLazy<z.ZodObject<{
1197
- id: z.ZodOptional<z.ZodString>;
1198
- startDate: z.ZodOptional<z.ZodString>;
1199
- endDate: z.ZodOptional<z.ZodString>;
1200
- createdDate: z.ZodOptional<z.ZodString>;
1199
+ id: z.ZodString;
1200
+ startDate: z.ZodString;
1201
+ endDate: z.ZodString;
1202
+ createdDate: z.ZodString;
1201
1203
  startTime: z.ZodOptional<z.ZodNumber>;
1202
1204
  endTime: z.ZodOptional<z.ZodNumber>;
1203
1205
  createdAt: z.ZodOptional<z.ZodNumber>;
1204
- package: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1205
- id: z.ZodOptional<z.ZodString>;
1206
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
1207
- destination: z.ZodOptional<z.ZodString>;
1208
- destinationIso2: z.ZodOptional<z.ZodString>;
1209
- destinationName: z.ZodOptional<z.ZodString>;
1210
- priceInCents: z.ZodOptional<z.ZodNumber>;
1206
+ package: z.ZodLazy<z.ZodObject<{
1207
+ id: z.ZodString;
1208
+ dataLimitInBytes: z.ZodNumber;
1209
+ destination: z.ZodString;
1210
+ destinationIso2: z.ZodString;
1211
+ destinationName: z.ZodString;
1212
+ priceInCents: z.ZodNumber;
1211
1213
  }, "strip", z.ZodTypeAny, {
1212
- id?: string | undefined;
1213
- dataLimitInBytes?: number | undefined;
1214
- destination?: string | undefined;
1215
- destinationIso2?: string | undefined;
1216
- destinationName?: string | undefined;
1217
- priceInCents?: number | undefined;
1214
+ destination: string;
1215
+ destinationIso2: string;
1216
+ id: string;
1217
+ dataLimitInBytes: number;
1218
+ priceInCents: number;
1219
+ destinationName: string;
1218
1220
  }, {
1219
- id?: string | undefined;
1220
- dataLimitInBytes?: number | undefined;
1221
- destination?: string | undefined;
1222
- destinationIso2?: string | undefined;
1223
- destinationName?: string | undefined;
1224
- priceInCents?: number | undefined;
1225
- }>>>;
1226
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1227
- iccid: z.ZodOptional<z.ZodString>;
1221
+ destination: string;
1222
+ destinationIso2: string;
1223
+ id: string;
1224
+ dataLimitInBytes: number;
1225
+ priceInCents: number;
1226
+ destinationName: string;
1227
+ }>>;
1228
+ esim: z.ZodLazy<z.ZodObject<{
1229
+ iccid: z.ZodString;
1228
1230
  }, "strip", z.ZodTypeAny, {
1229
- iccid?: string | undefined;
1231
+ iccid: string;
1230
1232
  }, {
1231
- iccid?: string | undefined;
1232
- }>>>;
1233
- source: z.ZodOptional<z.ZodString>;
1234
- purchaseType: z.ZodOptional<z.ZodString>;
1235
- referenceId: z.ZodOptional<z.ZodString>;
1233
+ iccid: string;
1234
+ }>>;
1235
+ source: z.ZodString;
1236
+ purchaseType: z.ZodString;
1237
+ referenceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1236
1238
  }, "strip", z.ZodTypeAny, {
1237
- id?: string | undefined;
1238
- startDate?: string | undefined;
1239
- endDate?: string | undefined;
1240
- createdDate?: string | undefined;
1239
+ id: string;
1240
+ startDate: string;
1241
+ endDate: string;
1242
+ createdDate: string;
1243
+ package: {
1244
+ destination: string;
1245
+ destinationIso2: string;
1246
+ id: string;
1247
+ dataLimitInBytes: number;
1248
+ priceInCents: number;
1249
+ destinationName: string;
1250
+ };
1251
+ esim: {
1252
+ iccid: string;
1253
+ };
1254
+ source: string;
1255
+ purchaseType: string;
1241
1256
  startTime?: number | undefined;
1242
1257
  endTime?: number | undefined;
1243
1258
  createdAt?: number | undefined;
1244
- package?: {
1245
- id?: string | undefined;
1246
- dataLimitInBytes?: number | undefined;
1247
- destination?: string | undefined;
1248
- destinationIso2?: string | undefined;
1249
- destinationName?: string | undefined;
1250
- priceInCents?: number | undefined;
1251
- } | undefined;
1252
- esim?: {
1253
- iccid?: string | undefined;
1254
- } | undefined;
1255
- source?: string | undefined;
1256
- purchaseType?: string | undefined;
1257
- referenceId?: string | undefined;
1259
+ referenceId?: string | null | undefined;
1258
1260
  }, {
1259
- id?: string | undefined;
1260
- startDate?: string | undefined;
1261
- endDate?: string | undefined;
1262
- createdDate?: string | undefined;
1261
+ id: string;
1262
+ startDate: string;
1263
+ endDate: string;
1264
+ createdDate: string;
1265
+ package: {
1266
+ destination: string;
1267
+ destinationIso2: string;
1268
+ id: string;
1269
+ dataLimitInBytes: number;
1270
+ priceInCents: number;
1271
+ destinationName: string;
1272
+ };
1273
+ esim: {
1274
+ iccid: string;
1275
+ };
1276
+ source: string;
1277
+ purchaseType: string;
1263
1278
  startTime?: number | undefined;
1264
1279
  endTime?: number | undefined;
1265
1280
  createdAt?: number | undefined;
1266
- package?: {
1267
- id?: string | undefined;
1268
- dataLimitInBytes?: number | undefined;
1269
- destination?: string | undefined;
1270
- destinationIso2?: string | undefined;
1271
- destinationName?: string | undefined;
1272
- priceInCents?: number | undefined;
1273
- } | undefined;
1274
- esim?: {
1275
- iccid?: string | undefined;
1276
- } | undefined;
1277
- source?: string | undefined;
1278
- purchaseType?: string | undefined;
1279
- referenceId?: string | undefined;
1281
+ referenceId?: string | null | undefined;
1280
1282
  }>>;
1281
1283
  /**
1282
1284
  *
@@ -1300,26 +1302,26 @@ type Purchases = z.infer<typeof purchases>;
1300
1302
  * The shape of the model inside the application code - what the users use
1301
1303
  */
1302
1304
  declare const package_: z.ZodLazy<z.ZodObject<{
1303
- id: z.ZodOptional<z.ZodString>;
1304
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
1305
- destination: z.ZodOptional<z.ZodString>;
1306
- destinationIso2: z.ZodOptional<z.ZodString>;
1307
- destinationName: z.ZodOptional<z.ZodString>;
1308
- priceInCents: z.ZodOptional<z.ZodNumber>;
1305
+ id: z.ZodString;
1306
+ dataLimitInBytes: z.ZodNumber;
1307
+ destination: z.ZodString;
1308
+ destinationIso2: z.ZodString;
1309
+ destinationName: z.ZodString;
1310
+ priceInCents: z.ZodNumber;
1309
1311
  }, "strip", z.ZodTypeAny, {
1310
- id?: string | undefined;
1311
- dataLimitInBytes?: number | undefined;
1312
- destination?: string | undefined;
1313
- destinationIso2?: string | undefined;
1314
- destinationName?: string | undefined;
1315
- priceInCents?: number | undefined;
1312
+ destination: string;
1313
+ destinationIso2: string;
1314
+ id: string;
1315
+ dataLimitInBytes: number;
1316
+ priceInCents: number;
1317
+ destinationName: string;
1316
1318
  }, {
1317
- id?: string | undefined;
1318
- dataLimitInBytes?: number | undefined;
1319
- destination?: string | undefined;
1320
- destinationIso2?: string | undefined;
1321
- destinationName?: string | undefined;
1322
- priceInCents?: number | undefined;
1319
+ destination: string;
1320
+ destinationIso2: string;
1321
+ id: string;
1322
+ dataLimitInBytes: number;
1323
+ priceInCents: number;
1324
+ destinationName: string;
1323
1325
  }>>;
1324
1326
  /**
1325
1327
  *
@@ -1337,11 +1339,11 @@ type Package_ = z.infer<typeof package_>;
1337
1339
  * The shape of the model inside the application code - what the users use
1338
1340
  */
1339
1341
  declare const purchasesEsim: z.ZodLazy<z.ZodObject<{
1340
- iccid: z.ZodOptional<z.ZodString>;
1342
+ iccid: z.ZodString;
1341
1343
  }, "strip", z.ZodTypeAny, {
1342
- iccid?: string | undefined;
1344
+ iccid: string;
1343
1345
  }, {
1344
- iccid?: string | undefined;
1346
+ iccid: string;
1345
1347
  }>>;
1346
1348
  /**
1347
1349
  *
@@ -1354,27 +1356,27 @@ type PurchasesEsim = z.infer<typeof purchasesEsim>;
1354
1356
  * The shape of the model inside the application code - what the users use
1355
1357
  */
1356
1358
  declare const createPurchaseOkResponsePurchase: z.ZodLazy<z.ZodObject<{
1357
- id: z.ZodOptional<z.ZodString>;
1358
- packageId: z.ZodOptional<z.ZodString>;
1359
- startDate: z.ZodOptional<z.ZodString>;
1360
- endDate: z.ZodOptional<z.ZodString>;
1361
- createdDate: z.ZodOptional<z.ZodString>;
1359
+ id: z.ZodString;
1360
+ packageId: z.ZodString;
1361
+ startDate: z.ZodString;
1362
+ endDate: z.ZodString;
1363
+ createdDate: z.ZodString;
1362
1364
  startTime: z.ZodOptional<z.ZodNumber>;
1363
1365
  endTime: z.ZodOptional<z.ZodNumber>;
1364
1366
  }, "strip", z.ZodTypeAny, {
1365
- id?: string | undefined;
1366
- packageId?: string | undefined;
1367
- startDate?: string | undefined;
1368
- endDate?: string | undefined;
1369
- createdDate?: string | undefined;
1367
+ id: string;
1368
+ startDate: string;
1369
+ endDate: string;
1370
+ packageId: string;
1371
+ createdDate: string;
1370
1372
  startTime?: number | undefined;
1371
1373
  endTime?: number | undefined;
1372
1374
  }, {
1373
- id?: string | undefined;
1374
- packageId?: string | undefined;
1375
- startDate?: string | undefined;
1376
- endDate?: string | undefined;
1377
- createdDate?: string | undefined;
1375
+ id: string;
1376
+ startDate: string;
1377
+ endDate: string;
1378
+ packageId: string;
1379
+ createdDate: string;
1378
1380
  startTime?: number | undefined;
1379
1381
  endTime?: number | undefined;
1380
1382
  }>>;
@@ -1395,17 +1397,17 @@ type CreatePurchaseOkResponsePurchase = z.infer<typeof createPurchaseOkResponseP
1395
1397
  * The shape of the model inside the application code - what the users use
1396
1398
  */
1397
1399
  declare const createPurchaseOkResponseProfile: z.ZodLazy<z.ZodObject<{
1398
- iccid: z.ZodOptional<z.ZodString>;
1399
- activationCode: z.ZodOptional<z.ZodString>;
1400
- manualActivationCode: z.ZodOptional<z.ZodString>;
1400
+ iccid: z.ZodString;
1401
+ activationCode: z.ZodString;
1402
+ manualActivationCode: z.ZodString;
1401
1403
  }, "strip", z.ZodTypeAny, {
1402
- iccid?: string | undefined;
1403
- activationCode?: string | undefined;
1404
- manualActivationCode?: string | undefined;
1404
+ iccid: string;
1405
+ activationCode: string;
1406
+ manualActivationCode: string;
1405
1407
  }, {
1406
- iccid?: string | undefined;
1407
- activationCode?: string | undefined;
1408
- manualActivationCode?: string | undefined;
1408
+ iccid: string;
1409
+ activationCode: string;
1410
+ manualActivationCode: string;
1409
1411
  }>>;
1410
1412
  /**
1411
1413
  *
@@ -1420,27 +1422,27 @@ type CreatePurchaseOkResponseProfile = z.infer<typeof createPurchaseOkResponsePr
1420
1422
  * The shape of the model inside the application code - what the users use
1421
1423
  */
1422
1424
  declare const topUpEsimOkResponsePurchase: z.ZodLazy<z.ZodObject<{
1423
- id: z.ZodOptional<z.ZodString>;
1424
- packageId: z.ZodOptional<z.ZodString>;
1425
- startDate: z.ZodOptional<z.ZodString>;
1426
- endDate: z.ZodOptional<z.ZodString>;
1427
- createdDate: z.ZodOptional<z.ZodString>;
1425
+ id: z.ZodString;
1426
+ packageId: z.ZodString;
1427
+ startDate: z.ZodString;
1428
+ endDate: z.ZodString;
1429
+ createdDate: z.ZodString;
1428
1430
  startTime: z.ZodOptional<z.ZodNumber>;
1429
1431
  endTime: z.ZodOptional<z.ZodNumber>;
1430
1432
  }, "strip", z.ZodTypeAny, {
1431
- id?: string | undefined;
1432
- packageId?: string | undefined;
1433
- startDate?: string | undefined;
1434
- endDate?: string | undefined;
1435
- createdDate?: string | undefined;
1433
+ id: string;
1434
+ startDate: string;
1435
+ endDate: string;
1436
+ packageId: string;
1437
+ createdDate: string;
1436
1438
  startTime?: number | undefined;
1437
1439
  endTime?: number | undefined;
1438
1440
  }, {
1439
- id?: string | undefined;
1440
- packageId?: string | undefined;
1441
- startDate?: string | undefined;
1442
- endDate?: string | undefined;
1443
- createdDate?: string | undefined;
1441
+ id: string;
1442
+ startDate: string;
1443
+ endDate: string;
1444
+ packageId: string;
1445
+ createdDate: string;
1444
1446
  startTime?: number | undefined;
1445
1447
  endTime?: number | undefined;
1446
1448
  }>>;
@@ -1461,11 +1463,11 @@ type TopUpEsimOkResponsePurchase = z.infer<typeof topUpEsimOkResponsePurchase>;
1461
1463
  * The shape of the model inside the application code - what the users use
1462
1464
  */
1463
1465
  declare const topUpEsimOkResponseProfile: z.ZodLazy<z.ZodObject<{
1464
- iccid: z.ZodOptional<z.ZodString>;
1466
+ iccid: z.ZodString;
1465
1467
  }, "strip", z.ZodTypeAny, {
1466
- iccid?: string | undefined;
1468
+ iccid: string;
1467
1469
  }, {
1468
- iccid?: string | undefined;
1470
+ iccid: string;
1469
1471
  }>>;
1470
1472
  /**
1471
1473
  *
@@ -1562,41 +1564,41 @@ declare class _15 extends ThrowableError {
1562
1564
  * The shape of the model inside the application code - what the users use
1563
1565
  */
1564
1566
  declare const getEsimOkResponse: z.ZodLazy<z.ZodObject<{
1565
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1566
- iccid: z.ZodOptional<z.ZodString>;
1567
- smdpAddress: z.ZodOptional<z.ZodString>;
1568
- manualActivationCode: z.ZodOptional<z.ZodString>;
1569
- status: z.ZodOptional<z.ZodString>;
1570
- isTopUpAllowed: z.ZodOptional<z.ZodBoolean>;
1567
+ esim: z.ZodLazy<z.ZodObject<{
1568
+ iccid: z.ZodString;
1569
+ smdpAddress: z.ZodString;
1570
+ manualActivationCode: z.ZodString;
1571
+ status: z.ZodString;
1572
+ isTopUpAllowed: z.ZodBoolean;
1571
1573
  }, "strip", z.ZodTypeAny, {
1572
- iccid?: string | undefined;
1573
- smdpAddress?: string | undefined;
1574
- manualActivationCode?: string | undefined;
1575
- status?: string | undefined;
1576
- isTopUpAllowed?: boolean | undefined;
1574
+ status: string;
1575
+ iccid: string;
1576
+ manualActivationCode: string;
1577
+ smdpAddress: string;
1578
+ isTopUpAllowed: boolean;
1577
1579
  }, {
1578
- iccid?: string | undefined;
1579
- smdpAddress?: string | undefined;
1580
- manualActivationCode?: string | undefined;
1581
- status?: string | undefined;
1582
- isTopUpAllowed?: boolean | undefined;
1583
- }>>>;
1580
+ status: string;
1581
+ iccid: string;
1582
+ manualActivationCode: string;
1583
+ smdpAddress: string;
1584
+ isTopUpAllowed: boolean;
1585
+ }>>;
1584
1586
  }, "strip", z.ZodTypeAny, {
1585
- esim?: {
1586
- iccid?: string | undefined;
1587
- smdpAddress?: string | undefined;
1588
- manualActivationCode?: string | undefined;
1589
- status?: string | undefined;
1590
- isTopUpAllowed?: boolean | undefined;
1591
- } | undefined;
1587
+ esim: {
1588
+ status: string;
1589
+ iccid: string;
1590
+ manualActivationCode: string;
1591
+ smdpAddress: string;
1592
+ isTopUpAllowed: boolean;
1593
+ };
1592
1594
  }, {
1593
- esim?: {
1594
- iccid?: string | undefined;
1595
- smdpAddress?: string | undefined;
1596
- manualActivationCode?: string | undefined;
1597
- status?: string | undefined;
1598
- isTopUpAllowed?: boolean | undefined;
1599
- } | undefined;
1595
+ esim: {
1596
+ status: string;
1597
+ iccid: string;
1598
+ manualActivationCode: string;
1599
+ smdpAddress: string;
1600
+ isTopUpAllowed: boolean;
1601
+ };
1600
1602
  }>>;
1601
1603
  /**
1602
1604
  *
@@ -1613,36 +1615,36 @@ interface GetEsimParams {
1613
1615
  * The shape of the model inside the application code - what the users use
1614
1616
  */
1615
1617
  declare const getEsimDeviceOkResponse: z.ZodLazy<z.ZodObject<{
1616
- device: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1617
- oem: z.ZodOptional<z.ZodString>;
1618
- hardwareName: z.ZodOptional<z.ZodString>;
1619
- hardwareModel: z.ZodOptional<z.ZodString>;
1620
- eid: z.ZodOptional<z.ZodString>;
1618
+ device: z.ZodLazy<z.ZodObject<{
1619
+ oem: z.ZodString;
1620
+ hardwareName: z.ZodString;
1621
+ hardwareModel: z.ZodString;
1622
+ eid: z.ZodString;
1621
1623
  }, "strip", z.ZodTypeAny, {
1622
- oem?: string | undefined;
1623
- hardwareName?: string | undefined;
1624
- hardwareModel?: string | undefined;
1625
- eid?: string | undefined;
1624
+ oem: string;
1625
+ hardwareName: string;
1626
+ hardwareModel: string;
1627
+ eid: string;
1626
1628
  }, {
1627
- oem?: string | undefined;
1628
- hardwareName?: string | undefined;
1629
- hardwareModel?: string | undefined;
1630
- eid?: string | undefined;
1631
- }>>>;
1629
+ oem: string;
1630
+ hardwareName: string;
1631
+ hardwareModel: string;
1632
+ eid: string;
1633
+ }>>;
1632
1634
  }, "strip", z.ZodTypeAny, {
1633
- device?: {
1634
- oem?: string | undefined;
1635
- hardwareName?: string | undefined;
1636
- hardwareModel?: string | undefined;
1637
- eid?: string | undefined;
1638
- } | undefined;
1635
+ device: {
1636
+ oem: string;
1637
+ hardwareName: string;
1638
+ hardwareModel: string;
1639
+ eid: string;
1640
+ };
1639
1641
  }, {
1640
- device?: {
1641
- oem?: string | undefined;
1642
- hardwareName?: string | undefined;
1643
- hardwareModel?: string | undefined;
1644
- eid?: string | undefined;
1645
- } | undefined;
1642
+ device: {
1643
+ oem: string;
1644
+ hardwareName: string;
1645
+ hardwareModel: string;
1646
+ eid: string;
1647
+ };
1646
1648
  }>>;
1647
1649
  /**
1648
1650
  *
@@ -1655,54 +1657,54 @@ type GetEsimDeviceOkResponse = z.infer<typeof getEsimDeviceOkResponse>;
1655
1657
  * The shape of the model inside the application code - what the users use
1656
1658
  */
1657
1659
  declare const getEsimHistoryOkResponse: z.ZodLazy<z.ZodObject<{
1658
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1659
- iccid: z.ZodOptional<z.ZodString>;
1660
- history: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
1661
- status: z.ZodOptional<z.ZodString>;
1662
- statusDate: z.ZodOptional<z.ZodString>;
1660
+ esim: z.ZodLazy<z.ZodObject<{
1661
+ iccid: z.ZodString;
1662
+ history: z.ZodArray<z.ZodLazy<z.ZodObject<{
1663
+ status: z.ZodString;
1664
+ statusDate: z.ZodString;
1663
1665
  date: z.ZodOptional<z.ZodNumber>;
1664
1666
  }, "strip", z.ZodTypeAny, {
1665
- status?: string | undefined;
1666
- statusDate?: string | undefined;
1667
+ status: string;
1668
+ statusDate: string;
1667
1669
  date?: number | undefined;
1668
1670
  }, {
1669
- status?: string | undefined;
1670
- statusDate?: string | undefined;
1671
+ status: string;
1672
+ statusDate: string;
1671
1673
  date?: number | undefined;
1672
- }>>, "many">>;
1674
+ }>>, "many">;
1673
1675
  }, "strip", z.ZodTypeAny, {
1674
- iccid?: string | undefined;
1675
- history?: {
1676
- status?: string | undefined;
1677
- statusDate?: string | undefined;
1676
+ iccid: string;
1677
+ history: {
1678
+ status: string;
1679
+ statusDate: string;
1678
1680
  date?: number | undefined;
1679
- }[] | undefined;
1681
+ }[];
1680
1682
  }, {
1681
- iccid?: string | undefined;
1682
- history?: {
1683
- status?: string | undefined;
1684
- statusDate?: string | undefined;
1683
+ iccid: string;
1684
+ history: {
1685
+ status: string;
1686
+ statusDate: string;
1685
1687
  date?: number | undefined;
1686
- }[] | undefined;
1687
- }>>>;
1688
+ }[];
1689
+ }>>;
1688
1690
  }, "strip", z.ZodTypeAny, {
1689
- esim?: {
1690
- iccid?: string | undefined;
1691
- history?: {
1692
- status?: string | undefined;
1693
- statusDate?: string | undefined;
1691
+ esim: {
1692
+ iccid: string;
1693
+ history: {
1694
+ status: string;
1695
+ statusDate: string;
1694
1696
  date?: number | undefined;
1695
- }[] | undefined;
1696
- } | undefined;
1697
+ }[];
1698
+ };
1697
1699
  }, {
1698
- esim?: {
1699
- iccid?: string | undefined;
1700
- history?: {
1701
- status?: string | undefined;
1702
- statusDate?: string | undefined;
1700
+ esim: {
1701
+ iccid: string;
1702
+ history: {
1703
+ status: string;
1704
+ statusDate: string;
1703
1705
  date?: number | undefined;
1704
- }[] | undefined;
1705
- } | undefined;
1706
+ }[];
1707
+ };
1706
1708
  }>>;
1707
1709
  /**
1708
1710
  *
@@ -1715,31 +1717,31 @@ type GetEsimHistoryOkResponse = z.infer<typeof getEsimHistoryOkResponse>;
1715
1717
  * The shape of the model inside the application code - what the users use
1716
1718
  */
1717
1719
  declare const getEsimMacOkResponse: z.ZodLazy<z.ZodObject<{
1718
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1719
- iccid: z.ZodOptional<z.ZodString>;
1720
- smdpAddress: z.ZodOptional<z.ZodString>;
1721
- manualActivationCode: z.ZodOptional<z.ZodString>;
1720
+ esim: z.ZodLazy<z.ZodObject<{
1721
+ iccid: z.ZodString;
1722
+ smdpAddress: z.ZodString;
1723
+ manualActivationCode: z.ZodString;
1722
1724
  }, "strip", z.ZodTypeAny, {
1723
- iccid?: string | undefined;
1724
- smdpAddress?: string | undefined;
1725
- manualActivationCode?: string | undefined;
1725
+ iccid: string;
1726
+ manualActivationCode: string;
1727
+ smdpAddress: string;
1726
1728
  }, {
1727
- iccid?: string | undefined;
1728
- smdpAddress?: string | undefined;
1729
- manualActivationCode?: string | undefined;
1730
- }>>>;
1729
+ iccid: string;
1730
+ manualActivationCode: string;
1731
+ smdpAddress: string;
1732
+ }>>;
1731
1733
  }, "strip", z.ZodTypeAny, {
1732
- esim?: {
1733
- iccid?: string | undefined;
1734
- smdpAddress?: string | undefined;
1735
- manualActivationCode?: string | undefined;
1736
- } | undefined;
1734
+ esim: {
1735
+ iccid: string;
1736
+ manualActivationCode: string;
1737
+ smdpAddress: string;
1738
+ };
1737
1739
  }, {
1738
- esim?: {
1739
- iccid?: string | undefined;
1740
- smdpAddress?: string | undefined;
1741
- manualActivationCode?: string | undefined;
1742
- } | undefined;
1740
+ esim: {
1741
+ iccid: string;
1742
+ manualActivationCode: string;
1743
+ smdpAddress: string;
1744
+ };
1743
1745
  }>>;
1744
1746
  /**
1745
1747
  *
@@ -1783,23 +1785,23 @@ declare class ESimService extends BaseService {
1783
1785
  * The shape of the model inside the application code - what the users use
1784
1786
  */
1785
1787
  declare const getEsimOkResponseEsim: z.ZodLazy<z.ZodObject<{
1786
- iccid: z.ZodOptional<z.ZodString>;
1787
- smdpAddress: z.ZodOptional<z.ZodString>;
1788
- manualActivationCode: z.ZodOptional<z.ZodString>;
1789
- status: z.ZodOptional<z.ZodString>;
1790
- isTopUpAllowed: z.ZodOptional<z.ZodBoolean>;
1788
+ iccid: z.ZodString;
1789
+ smdpAddress: z.ZodString;
1790
+ manualActivationCode: z.ZodString;
1791
+ status: z.ZodString;
1792
+ isTopUpAllowed: z.ZodBoolean;
1791
1793
  }, "strip", z.ZodTypeAny, {
1792
- iccid?: string | undefined;
1793
- smdpAddress?: string | undefined;
1794
- manualActivationCode?: string | undefined;
1795
- status?: string | undefined;
1796
- isTopUpAllowed?: boolean | undefined;
1794
+ status: string;
1795
+ iccid: string;
1796
+ manualActivationCode: string;
1797
+ smdpAddress: string;
1798
+ isTopUpAllowed: boolean;
1797
1799
  }, {
1798
- iccid?: string | undefined;
1799
- smdpAddress?: string | undefined;
1800
- manualActivationCode?: string | undefined;
1801
- status?: string | undefined;
1802
- isTopUpAllowed?: boolean | undefined;
1800
+ status: string;
1801
+ iccid: string;
1802
+ manualActivationCode: string;
1803
+ smdpAddress: string;
1804
+ isTopUpAllowed: boolean;
1803
1805
  }>>;
1804
1806
  /**
1805
1807
  *
@@ -1816,20 +1818,20 @@ type GetEsimOkResponseEsim = z.infer<typeof getEsimOkResponseEsim>;
1816
1818
  * The shape of the model inside the application code - what the users use
1817
1819
  */
1818
1820
  declare const device: z.ZodLazy<z.ZodObject<{
1819
- oem: z.ZodOptional<z.ZodString>;
1820
- hardwareName: z.ZodOptional<z.ZodString>;
1821
- hardwareModel: z.ZodOptional<z.ZodString>;
1822
- eid: z.ZodOptional<z.ZodString>;
1821
+ oem: z.ZodString;
1822
+ hardwareName: z.ZodString;
1823
+ hardwareModel: z.ZodString;
1824
+ eid: z.ZodString;
1823
1825
  }, "strip", z.ZodTypeAny, {
1824
- oem?: string | undefined;
1825
- hardwareName?: string | undefined;
1826
- hardwareModel?: string | undefined;
1827
- eid?: string | undefined;
1826
+ oem: string;
1827
+ hardwareName: string;
1828
+ hardwareModel: string;
1829
+ eid: string;
1828
1830
  }, {
1829
- oem?: string | undefined;
1830
- hardwareName?: string | undefined;
1831
- hardwareModel?: string | undefined;
1832
- eid?: string | undefined;
1831
+ oem: string;
1832
+ hardwareName: string;
1833
+ hardwareModel: string;
1834
+ eid: string;
1833
1835
  }>>;
1834
1836
  /**
1835
1837
  *
@@ -1845,34 +1847,34 @@ type Device = z.infer<typeof device>;
1845
1847
  * The shape of the model inside the application code - what the users use
1846
1848
  */
1847
1849
  declare const getEsimHistoryOkResponseEsim: z.ZodLazy<z.ZodObject<{
1848
- iccid: z.ZodOptional<z.ZodString>;
1849
- history: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
1850
- status: z.ZodOptional<z.ZodString>;
1851
- statusDate: z.ZodOptional<z.ZodString>;
1850
+ iccid: z.ZodString;
1851
+ history: z.ZodArray<z.ZodLazy<z.ZodObject<{
1852
+ status: z.ZodString;
1853
+ statusDate: z.ZodString;
1852
1854
  date: z.ZodOptional<z.ZodNumber>;
1853
1855
  }, "strip", z.ZodTypeAny, {
1854
- status?: string | undefined;
1855
- statusDate?: string | undefined;
1856
+ status: string;
1857
+ statusDate: string;
1856
1858
  date?: number | undefined;
1857
1859
  }, {
1858
- status?: string | undefined;
1859
- statusDate?: string | undefined;
1860
+ status: string;
1861
+ statusDate: string;
1860
1862
  date?: number | undefined;
1861
- }>>, "many">>;
1863
+ }>>, "many">;
1862
1864
  }, "strip", z.ZodTypeAny, {
1863
- iccid?: string | undefined;
1864
- history?: {
1865
- status?: string | undefined;
1866
- statusDate?: string | undefined;
1865
+ iccid: string;
1866
+ history: {
1867
+ status: string;
1868
+ statusDate: string;
1867
1869
  date?: number | undefined;
1868
- }[] | undefined;
1870
+ }[];
1869
1871
  }, {
1870
- iccid?: string | undefined;
1871
- history?: {
1872
- status?: string | undefined;
1873
- statusDate?: string | undefined;
1872
+ iccid: string;
1873
+ history: {
1874
+ status: string;
1875
+ statusDate: string;
1874
1876
  date?: number | undefined;
1875
- }[] | undefined;
1877
+ }[];
1876
1878
  }>>;
1877
1879
  /**
1878
1880
  *
@@ -1886,16 +1888,16 @@ type GetEsimHistoryOkResponseEsim = z.infer<typeof getEsimHistoryOkResponseEsim>
1886
1888
  * The shape of the model inside the application code - what the users use
1887
1889
  */
1888
1890
  declare const history: z.ZodLazy<z.ZodObject<{
1889
- status: z.ZodOptional<z.ZodString>;
1890
- statusDate: z.ZodOptional<z.ZodString>;
1891
+ status: z.ZodString;
1892
+ statusDate: z.ZodString;
1891
1893
  date: z.ZodOptional<z.ZodNumber>;
1892
1894
  }, "strip", z.ZodTypeAny, {
1893
- status?: string | undefined;
1894
- statusDate?: string | undefined;
1895
+ status: string;
1896
+ statusDate: string;
1895
1897
  date?: number | undefined;
1896
1898
  }, {
1897
- status?: string | undefined;
1898
- statusDate?: string | undefined;
1899
+ status: string;
1900
+ statusDate: string;
1899
1901
  date?: number | undefined;
1900
1902
  }>>;
1901
1903
  /**
@@ -1911,17 +1913,17 @@ type History = z.infer<typeof history>;
1911
1913
  * The shape of the model inside the application code - what the users use
1912
1914
  */
1913
1915
  declare const getEsimMacOkResponseEsim: z.ZodLazy<z.ZodObject<{
1914
- iccid: z.ZodOptional<z.ZodString>;
1915
- smdpAddress: z.ZodOptional<z.ZodString>;
1916
- manualActivationCode: z.ZodOptional<z.ZodString>;
1916
+ iccid: z.ZodString;
1917
+ smdpAddress: z.ZodString;
1918
+ manualActivationCode: z.ZodString;
1917
1919
  }, "strip", z.ZodTypeAny, {
1918
- iccid?: string | undefined;
1919
- smdpAddress?: string | undefined;
1920
- manualActivationCode?: string | undefined;
1920
+ iccid: string;
1921
+ manualActivationCode: string;
1922
+ smdpAddress: string;
1921
1923
  }, {
1922
- iccid?: string | undefined;
1923
- smdpAddress?: string | undefined;
1924
- manualActivationCode?: string | undefined;
1924
+ iccid: string;
1925
+ manualActivationCode: string;
1926
+ smdpAddress: string;
1925
1927
  }>>;
1926
1928
  /**
1927
1929
  *
@@ -1992,11 +1994,11 @@ declare class _23 extends ThrowableError {
1992
1994
  * The shape of the model inside the application code - what the users use
1993
1995
  */
1994
1996
  declare const tokenOkResponse: z.ZodLazy<z.ZodObject<{
1995
- token: z.ZodOptional<z.ZodString>;
1997
+ token: z.ZodString;
1996
1998
  }, "strip", z.ZodTypeAny, {
1997
- token?: string | undefined;
1999
+ token: string;
1998
2000
  }, {
1999
- token?: string | undefined;
2001
+ token: string;
2000
2002
  }>>;
2001
2003
  /**
2002
2004
  *