celitech-sdk 1.3.56 → 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>;
633
+ iccid: string;
634
+ }>>;
635
+ source: z.ZodString;
636
+ purchaseType: z.ZodString;
637
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
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
681
  referenceId?: string | null | undefined;
682
- }>>, "many">>;
683
- afterCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
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
707
  referenceId?: string | null | undefined;
707
- }[] | undefined;
708
- afterCursor?: 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
732
  referenceId?: string | null | undefined;
732
- }[] | undefined;
733
- afterCursor?: string | null | undefined;
733
+ }[];
734
734
  }>>;
735
735
  /**
736
736
  *
@@ -809,74 +809,74 @@ type CreatePurchaseRequest = z.infer<typeof createPurchaseRequest>;
809
809
  * The shape of the model inside the application code - what the users use
810
810
  */
811
811
  declare const createPurchaseOkResponse: z.ZodLazy<z.ZodObject<{
812
- purchase: z.ZodOptional<z.ZodLazy<z.ZodObject<{
813
- id: z.ZodOptional<z.ZodString>;
814
- packageId: z.ZodOptional<z.ZodString>;
815
- startDate: z.ZodOptional<z.ZodString>;
816
- endDate: z.ZodOptional<z.ZodString>;
817
- 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;
818
818
  startTime: z.ZodOptional<z.ZodNumber>;
819
819
  endTime: z.ZodOptional<z.ZodNumber>;
820
820
  }, "strip", z.ZodTypeAny, {
821
- id?: string | undefined;
822
- packageId?: string | undefined;
823
- startDate?: string | undefined;
824
- endDate?: string | undefined;
825
- createdDate?: string | undefined;
821
+ id: string;
822
+ startDate: string;
823
+ endDate: string;
824
+ packageId: string;
825
+ createdDate: string;
826
826
  startTime?: number | undefined;
827
827
  endTime?: number | undefined;
828
828
  }, {
829
- id?: string | undefined;
830
- packageId?: string | undefined;
831
- startDate?: string | undefined;
832
- endDate?: string | undefined;
833
- createdDate?: string | undefined;
829
+ id: string;
830
+ startDate: string;
831
+ endDate: string;
832
+ packageId: string;
833
+ createdDate: string;
834
834
  startTime?: number | undefined;
835
835
  endTime?: number | undefined;
836
- }>>>;
837
- profile: z.ZodOptional<z.ZodLazy<z.ZodObject<{
838
- iccid: z.ZodOptional<z.ZodString>;
839
- activationCode: z.ZodOptional<z.ZodString>;
840
- manualActivationCode: z.ZodOptional<z.ZodString>;
836
+ }>>;
837
+ profile: z.ZodLazy<z.ZodObject<{
838
+ iccid: z.ZodString;
839
+ activationCode: z.ZodString;
840
+ manualActivationCode: z.ZodString;
841
841
  }, "strip", z.ZodTypeAny, {
842
- iccid?: string | undefined;
843
- activationCode?: string | undefined;
844
- manualActivationCode?: string | undefined;
842
+ iccid: string;
843
+ activationCode: string;
844
+ manualActivationCode: string;
845
845
  }, {
846
- iccid?: string | undefined;
847
- activationCode?: string | undefined;
848
- manualActivationCode?: string | undefined;
849
- }>>>;
846
+ iccid: string;
847
+ activationCode: string;
848
+ manualActivationCode: string;
849
+ }>>;
850
850
  }, "strip", z.ZodTypeAny, {
851
- purchase?: {
852
- id?: string | undefined;
853
- packageId?: string | undefined;
854
- startDate?: string | undefined;
855
- endDate?: string | undefined;
856
- createdDate?: string | undefined;
851
+ purchase: {
852
+ id: string;
853
+ startDate: string;
854
+ endDate: string;
855
+ packageId: string;
856
+ createdDate: string;
857
857
  startTime?: number | undefined;
858
858
  endTime?: number | undefined;
859
- } | undefined;
860
- profile?: {
861
- iccid?: string | undefined;
862
- activationCode?: string | undefined;
863
- manualActivationCode?: string | undefined;
864
- } | undefined;
859
+ };
860
+ profile: {
861
+ iccid: string;
862
+ activationCode: string;
863
+ manualActivationCode: string;
864
+ };
865
865
  }, {
866
- purchase?: {
867
- id?: string | undefined;
868
- packageId?: string | undefined;
869
- startDate?: string | undefined;
870
- endDate?: string | undefined;
871
- createdDate?: string | undefined;
866
+ purchase: {
867
+ id: string;
868
+ startDate: string;
869
+ endDate: string;
870
+ packageId: string;
871
+ createdDate: string;
872
872
  startTime?: number | undefined;
873
873
  endTime?: number | undefined;
874
- } | undefined;
875
- profile?: {
876
- iccid?: string | undefined;
877
- activationCode?: string | undefined;
878
- manualActivationCode?: string | undefined;
879
- } | undefined;
874
+ };
875
+ profile: {
876
+ iccid: string;
877
+ activationCode: string;
878
+ manualActivationCode: string;
879
+ };
880
880
  }>>;
881
881
  /**
882
882
  *
@@ -939,64 +939,64 @@ type TopUpEsimRequest = z.infer<typeof topUpEsimRequest>;
939
939
  * The shape of the model inside the application code - what the users use
940
940
  */
941
941
  declare const topUpEsimOkResponse: z.ZodLazy<z.ZodObject<{
942
- purchase: z.ZodOptional<z.ZodLazy<z.ZodObject<{
943
- id: z.ZodOptional<z.ZodString>;
944
- packageId: z.ZodOptional<z.ZodString>;
945
- startDate: z.ZodOptional<z.ZodString>;
946
- endDate: z.ZodOptional<z.ZodString>;
947
- 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;
948
948
  startTime: z.ZodOptional<z.ZodNumber>;
949
949
  endTime: z.ZodOptional<z.ZodNumber>;
950
950
  }, "strip", z.ZodTypeAny, {
951
- id?: string | undefined;
952
- packageId?: string | undefined;
953
- startDate?: string | undefined;
954
- endDate?: string | undefined;
955
- createdDate?: string | undefined;
951
+ id: string;
952
+ startDate: string;
953
+ endDate: string;
954
+ packageId: string;
955
+ createdDate: string;
956
956
  startTime?: number | undefined;
957
957
  endTime?: number | undefined;
958
958
  }, {
959
- id?: string | undefined;
960
- packageId?: string | undefined;
961
- startDate?: string | undefined;
962
- endDate?: string | undefined;
963
- createdDate?: string | undefined;
959
+ id: string;
960
+ startDate: string;
961
+ endDate: string;
962
+ packageId: string;
963
+ createdDate: string;
964
964
  startTime?: number | undefined;
965
965
  endTime?: number | undefined;
966
- }>>>;
967
- profile: z.ZodOptional<z.ZodLazy<z.ZodObject<{
968
- iccid: z.ZodOptional<z.ZodString>;
966
+ }>>;
967
+ profile: z.ZodLazy<z.ZodObject<{
968
+ iccid: z.ZodString;
969
969
  }, "strip", z.ZodTypeAny, {
970
- iccid?: string | undefined;
970
+ iccid: string;
971
971
  }, {
972
- iccid?: string | undefined;
973
- }>>>;
972
+ iccid: string;
973
+ }>>;
974
974
  }, "strip", z.ZodTypeAny, {
975
- purchase?: {
976
- id?: string | undefined;
977
- packageId?: string | undefined;
978
- startDate?: string | undefined;
979
- endDate?: string | undefined;
980
- createdDate?: string | undefined;
975
+ purchase: {
976
+ id: string;
977
+ startDate: string;
978
+ endDate: string;
979
+ packageId: string;
980
+ createdDate: string;
981
981
  startTime?: number | undefined;
982
982
  endTime?: number | undefined;
983
- } | undefined;
984
- profile?: {
985
- iccid?: string | undefined;
986
- } | undefined;
983
+ };
984
+ profile: {
985
+ iccid: string;
986
+ };
987
987
  }, {
988
- purchase?: {
989
- id?: string | undefined;
990
- packageId?: string | undefined;
991
- startDate?: string | undefined;
992
- endDate?: string | undefined;
993
- createdDate?: string | undefined;
988
+ purchase: {
989
+ id: string;
990
+ startDate: string;
991
+ endDate: string;
992
+ packageId: string;
993
+ createdDate: string;
994
994
  startTime?: number | undefined;
995
995
  endTime?: number | undefined;
996
- } | undefined;
997
- profile?: {
998
- iccid?: string | undefined;
999
- } | undefined;
996
+ };
997
+ profile: {
998
+ iccid: string;
999
+ };
1000
1000
  }>>;
1001
1001
  /**
1002
1002
  *
@@ -1043,21 +1043,21 @@ type EditPurchaseRequest = z.infer<typeof editPurchaseRequest>;
1043
1043
  * The shape of the model inside the application code - what the users use
1044
1044
  */
1045
1045
  declare const editPurchaseOkResponse: z.ZodLazy<z.ZodObject<{
1046
- purchaseId: z.ZodOptional<z.ZodString>;
1047
- newStartDate: z.ZodOptional<z.ZodString>;
1048
- newEndDate: z.ZodOptional<z.ZodString>;
1046
+ purchaseId: z.ZodString;
1047
+ newStartDate: z.ZodString;
1048
+ newEndDate: z.ZodString;
1049
1049
  newStartTime: z.ZodOptional<z.ZodNumber>;
1050
1050
  newEndTime: z.ZodOptional<z.ZodNumber>;
1051
1051
  }, "strip", z.ZodTypeAny, {
1052
- purchaseId?: string | undefined;
1053
- newStartDate?: string | undefined;
1054
- newEndDate?: string | undefined;
1052
+ purchaseId: string;
1053
+ newStartDate: string;
1054
+ newEndDate: string;
1055
1055
  newStartTime?: number | undefined;
1056
1056
  newEndTime?: number | undefined;
1057
1057
  }, {
1058
- purchaseId?: string | undefined;
1059
- newStartDate?: string | undefined;
1060
- newEndDate?: string | undefined;
1058
+ purchaseId: string;
1059
+ newStartDate: string;
1060
+ newEndDate: string;
1061
1061
  newStartTime?: number | undefined;
1062
1062
  newEndTime?: number | undefined;
1063
1063
  }>>;
@@ -1076,14 +1076,14 @@ type EditPurchaseOkResponse = z.infer<typeof editPurchaseOkResponse>;
1076
1076
  * The shape of the model inside the application code - what the users use
1077
1077
  */
1078
1078
  declare const getPurchaseConsumptionOkResponse: z.ZodLazy<z.ZodObject<{
1079
- dataUsageRemainingInBytes: z.ZodOptional<z.ZodNumber>;
1080
- status: z.ZodOptional<z.ZodString>;
1079
+ dataUsageRemainingInBytes: z.ZodNumber;
1080
+ status: z.ZodString;
1081
1081
  }, "strip", z.ZodTypeAny, {
1082
- dataUsageRemainingInBytes?: number | undefined;
1083
- status?: string | undefined;
1082
+ status: string;
1083
+ dataUsageRemainingInBytes: number;
1084
1084
  }, {
1085
- dataUsageRemainingInBytes?: number | undefined;
1086
- status?: string | undefined;
1085
+ status: string;
1086
+ dataUsageRemainingInBytes: number;
1087
1087
  }>>;
1088
1088
  /**
1089
1089
  *
@@ -1146,17 +1146,17 @@ declare class PurchasesService extends BaseService {
1146
1146
  * The shape of the model inside the application code - what the users use
1147
1147
  */
1148
1148
  declare const createPurchaseV2OkResponsePurchase: z.ZodLazy<z.ZodObject<{
1149
- id: z.ZodOptional<z.ZodString>;
1150
- packageId: z.ZodOptional<z.ZodString>;
1151
- createdDate: z.ZodOptional<z.ZodString>;
1149
+ id: z.ZodString;
1150
+ packageId: z.ZodString;
1151
+ createdDate: z.ZodString;
1152
1152
  }, "strip", z.ZodTypeAny, {
1153
- id?: string | undefined;
1154
- packageId?: string | undefined;
1155
- createdDate?: string | undefined;
1153
+ id: string;
1154
+ packageId: string;
1155
+ createdDate: string;
1156
1156
  }, {
1157
- id?: string | undefined;
1158
- packageId?: string | undefined;
1159
- createdDate?: string | undefined;
1157
+ id: string;
1158
+ packageId: string;
1159
+ createdDate: string;
1160
1160
  }>>;
1161
1161
  /**
1162
1162
  *
@@ -1171,17 +1171,17 @@ type CreatePurchaseV2OkResponsePurchase = z.infer<typeof createPurchaseV2OkRespo
1171
1171
  * The shape of the model inside the application code - what the users use
1172
1172
  */
1173
1173
  declare const createPurchaseV2OkResponseProfile: z.ZodLazy<z.ZodObject<{
1174
- iccid: z.ZodOptional<z.ZodString>;
1175
- activationCode: z.ZodOptional<z.ZodString>;
1176
- manualActivationCode: z.ZodOptional<z.ZodString>;
1174
+ iccid: z.ZodString;
1175
+ activationCode: z.ZodString;
1176
+ manualActivationCode: z.ZodString;
1177
1177
  }, "strip", z.ZodTypeAny, {
1178
- iccid?: string | undefined;
1179
- activationCode?: string | undefined;
1180
- manualActivationCode?: string | undefined;
1178
+ iccid: string;
1179
+ activationCode: string;
1180
+ manualActivationCode: string;
1181
1181
  }, {
1182
- iccid?: string | undefined;
1183
- activationCode?: string | undefined;
1184
- manualActivationCode?: string | undefined;
1182
+ iccid: string;
1183
+ activationCode: string;
1184
+ manualActivationCode: string;
1185
1185
  }>>;
1186
1186
  /**
1187
1187
  *
@@ -1196,88 +1196,88 @@ type CreatePurchaseV2OkResponseProfile = z.infer<typeof createPurchaseV2OkRespon
1196
1196
  * The shape of the model inside the application code - what the users use
1197
1197
  */
1198
1198
  declare const purchases: z.ZodLazy<z.ZodObject<{
1199
- id: z.ZodOptional<z.ZodString>;
1200
- startDate: z.ZodOptional<z.ZodString>;
1201
- endDate: z.ZodOptional<z.ZodString>;
1202
- createdDate: z.ZodOptional<z.ZodString>;
1199
+ id: z.ZodString;
1200
+ startDate: z.ZodString;
1201
+ endDate: z.ZodString;
1202
+ createdDate: z.ZodString;
1203
1203
  startTime: z.ZodOptional<z.ZodNumber>;
1204
1204
  endTime: z.ZodOptional<z.ZodNumber>;
1205
1205
  createdAt: z.ZodOptional<z.ZodNumber>;
1206
- package: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1207
- id: z.ZodOptional<z.ZodString>;
1208
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
1209
- destination: z.ZodOptional<z.ZodString>;
1210
- destinationIso2: z.ZodOptional<z.ZodString>;
1211
- destinationName: z.ZodOptional<z.ZodString>;
1212
- 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;
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
- id?: string | undefined;
1215
- dataLimitInBytes?: number | undefined;
1216
- destination?: string | undefined;
1217
- destinationIso2?: string | undefined;
1218
- destinationName?: string | undefined;
1219
- priceInCents?: number | undefined;
1214
+ destination: string;
1215
+ destinationIso2: string;
1216
+ id: string;
1217
+ dataLimitInBytes: number;
1218
+ priceInCents: number;
1219
+ destinationName: string;
1220
1220
  }, {
1221
- id?: string | undefined;
1222
- dataLimitInBytes?: number | undefined;
1223
- destination?: string | undefined;
1224
- destinationIso2?: string | undefined;
1225
- destinationName?: string | undefined;
1226
- priceInCents?: number | undefined;
1227
- }>>>;
1228
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1229
- 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;
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
- iccid?: string | undefined;
1231
+ iccid: string;
1232
1232
  }, {
1233
- iccid?: string | undefined;
1234
- }>>>;
1235
- source: z.ZodOptional<z.ZodString>;
1236
- purchaseType: z.ZodOptional<z.ZodString>;
1233
+ iccid: string;
1234
+ }>>;
1235
+ source: z.ZodString;
1236
+ purchaseType: z.ZodString;
1237
1237
  referenceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1238
1238
  }, "strip", z.ZodTypeAny, {
1239
- id?: string | undefined;
1240
- startDate?: string | undefined;
1241
- endDate?: string | undefined;
1242
- 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;
1243
1256
  startTime?: number | undefined;
1244
1257
  endTime?: number | undefined;
1245
1258
  createdAt?: number | undefined;
1246
- package?: {
1247
- id?: string | undefined;
1248
- dataLimitInBytes?: number | undefined;
1249
- destination?: string | undefined;
1250
- destinationIso2?: string | undefined;
1251
- destinationName?: string | undefined;
1252
- priceInCents?: number | undefined;
1253
- } | undefined;
1254
- esim?: {
1255
- iccid?: string | undefined;
1256
- } | undefined;
1257
- source?: string | undefined;
1258
- purchaseType?: string | undefined;
1259
1259
  referenceId?: string | null | undefined;
1260
1260
  }, {
1261
- id?: string | undefined;
1262
- startDate?: string | undefined;
1263
- endDate?: string | undefined;
1264
- 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;
1265
1278
  startTime?: number | undefined;
1266
1279
  endTime?: number | undefined;
1267
1280
  createdAt?: number | undefined;
1268
- package?: {
1269
- id?: string | undefined;
1270
- dataLimitInBytes?: number | undefined;
1271
- destination?: string | undefined;
1272
- destinationIso2?: string | undefined;
1273
- destinationName?: string | undefined;
1274
- priceInCents?: number | undefined;
1275
- } | undefined;
1276
- esim?: {
1277
- iccid?: string | undefined;
1278
- } | undefined;
1279
- source?: string | undefined;
1280
- purchaseType?: string | undefined;
1281
1281
  referenceId?: string | null | undefined;
1282
1282
  }>>;
1283
1283
  /**
@@ -1302,26 +1302,26 @@ type Purchases = z.infer<typeof purchases>;
1302
1302
  * The shape of the model inside the application code - what the users use
1303
1303
  */
1304
1304
  declare const package_: z.ZodLazy<z.ZodObject<{
1305
- id: z.ZodOptional<z.ZodString>;
1306
- dataLimitInBytes: z.ZodOptional<z.ZodNumber>;
1307
- destination: z.ZodOptional<z.ZodString>;
1308
- destinationIso2: z.ZodOptional<z.ZodString>;
1309
- destinationName: z.ZodOptional<z.ZodString>;
1310
- 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;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
- id?: string | undefined;
1313
- dataLimitInBytes?: number | undefined;
1314
- destination?: string | undefined;
1315
- destinationIso2?: string | undefined;
1316
- destinationName?: string | undefined;
1317
- priceInCents?: number | undefined;
1312
+ destination: string;
1313
+ destinationIso2: string;
1314
+ id: string;
1315
+ dataLimitInBytes: number;
1316
+ priceInCents: number;
1317
+ destinationName: string;
1318
1318
  }, {
1319
- id?: string | undefined;
1320
- dataLimitInBytes?: number | undefined;
1321
- destination?: string | undefined;
1322
- destinationIso2?: string | undefined;
1323
- destinationName?: string | undefined;
1324
- priceInCents?: number | undefined;
1319
+ destination: string;
1320
+ destinationIso2: string;
1321
+ id: string;
1322
+ dataLimitInBytes: number;
1323
+ priceInCents: number;
1324
+ destinationName: string;
1325
1325
  }>>;
1326
1326
  /**
1327
1327
  *
@@ -1339,11 +1339,11 @@ type Package_ = z.infer<typeof package_>;
1339
1339
  * The shape of the model inside the application code - what the users use
1340
1340
  */
1341
1341
  declare const purchasesEsim: z.ZodLazy<z.ZodObject<{
1342
- iccid: z.ZodOptional<z.ZodString>;
1342
+ iccid: z.ZodString;
1343
1343
  }, "strip", z.ZodTypeAny, {
1344
- iccid?: string | undefined;
1344
+ iccid: string;
1345
1345
  }, {
1346
- iccid?: string | undefined;
1346
+ iccid: string;
1347
1347
  }>>;
1348
1348
  /**
1349
1349
  *
@@ -1356,27 +1356,27 @@ type PurchasesEsim = z.infer<typeof purchasesEsim>;
1356
1356
  * The shape of the model inside the application code - what the users use
1357
1357
  */
1358
1358
  declare const createPurchaseOkResponsePurchase: z.ZodLazy<z.ZodObject<{
1359
- id: z.ZodOptional<z.ZodString>;
1360
- packageId: z.ZodOptional<z.ZodString>;
1361
- startDate: z.ZodOptional<z.ZodString>;
1362
- endDate: z.ZodOptional<z.ZodString>;
1363
- 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;
1364
1364
  startTime: z.ZodOptional<z.ZodNumber>;
1365
1365
  endTime: z.ZodOptional<z.ZodNumber>;
1366
1366
  }, "strip", z.ZodTypeAny, {
1367
- id?: string | undefined;
1368
- packageId?: string | undefined;
1369
- startDate?: string | undefined;
1370
- endDate?: string | undefined;
1371
- createdDate?: string | undefined;
1367
+ id: string;
1368
+ startDate: string;
1369
+ endDate: string;
1370
+ packageId: string;
1371
+ createdDate: string;
1372
1372
  startTime?: number | undefined;
1373
1373
  endTime?: number | undefined;
1374
1374
  }, {
1375
- id?: string | undefined;
1376
- packageId?: string | undefined;
1377
- startDate?: string | undefined;
1378
- endDate?: string | undefined;
1379
- createdDate?: string | undefined;
1375
+ id: string;
1376
+ startDate: string;
1377
+ endDate: string;
1378
+ packageId: string;
1379
+ createdDate: string;
1380
1380
  startTime?: number | undefined;
1381
1381
  endTime?: number | undefined;
1382
1382
  }>>;
@@ -1397,17 +1397,17 @@ type CreatePurchaseOkResponsePurchase = z.infer<typeof createPurchaseOkResponseP
1397
1397
  * The shape of the model inside the application code - what the users use
1398
1398
  */
1399
1399
  declare const createPurchaseOkResponseProfile: z.ZodLazy<z.ZodObject<{
1400
- iccid: z.ZodOptional<z.ZodString>;
1401
- activationCode: z.ZodOptional<z.ZodString>;
1402
- manualActivationCode: z.ZodOptional<z.ZodString>;
1400
+ iccid: z.ZodString;
1401
+ activationCode: z.ZodString;
1402
+ manualActivationCode: z.ZodString;
1403
1403
  }, "strip", z.ZodTypeAny, {
1404
- iccid?: string | undefined;
1405
- activationCode?: string | undefined;
1406
- manualActivationCode?: string | undefined;
1404
+ iccid: string;
1405
+ activationCode: string;
1406
+ manualActivationCode: string;
1407
1407
  }, {
1408
- iccid?: string | undefined;
1409
- activationCode?: string | undefined;
1410
- manualActivationCode?: string | undefined;
1408
+ iccid: string;
1409
+ activationCode: string;
1410
+ manualActivationCode: string;
1411
1411
  }>>;
1412
1412
  /**
1413
1413
  *
@@ -1422,27 +1422,27 @@ type CreatePurchaseOkResponseProfile = z.infer<typeof createPurchaseOkResponsePr
1422
1422
  * The shape of the model inside the application code - what the users use
1423
1423
  */
1424
1424
  declare const topUpEsimOkResponsePurchase: z.ZodLazy<z.ZodObject<{
1425
- id: z.ZodOptional<z.ZodString>;
1426
- packageId: z.ZodOptional<z.ZodString>;
1427
- startDate: z.ZodOptional<z.ZodString>;
1428
- endDate: z.ZodOptional<z.ZodString>;
1429
- 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;
1430
1430
  startTime: z.ZodOptional<z.ZodNumber>;
1431
1431
  endTime: z.ZodOptional<z.ZodNumber>;
1432
1432
  }, "strip", z.ZodTypeAny, {
1433
- id?: string | undefined;
1434
- packageId?: string | undefined;
1435
- startDate?: string | undefined;
1436
- endDate?: string | undefined;
1437
- createdDate?: string | undefined;
1433
+ id: string;
1434
+ startDate: string;
1435
+ endDate: string;
1436
+ packageId: string;
1437
+ createdDate: string;
1438
1438
  startTime?: number | undefined;
1439
1439
  endTime?: number | undefined;
1440
1440
  }, {
1441
- id?: string | undefined;
1442
- packageId?: string | undefined;
1443
- startDate?: string | undefined;
1444
- endDate?: string | undefined;
1445
- createdDate?: string | undefined;
1441
+ id: string;
1442
+ startDate: string;
1443
+ endDate: string;
1444
+ packageId: string;
1445
+ createdDate: string;
1446
1446
  startTime?: number | undefined;
1447
1447
  endTime?: number | undefined;
1448
1448
  }>>;
@@ -1463,11 +1463,11 @@ type TopUpEsimOkResponsePurchase = z.infer<typeof topUpEsimOkResponsePurchase>;
1463
1463
  * The shape of the model inside the application code - what the users use
1464
1464
  */
1465
1465
  declare const topUpEsimOkResponseProfile: z.ZodLazy<z.ZodObject<{
1466
- iccid: z.ZodOptional<z.ZodString>;
1466
+ iccid: z.ZodString;
1467
1467
  }, "strip", z.ZodTypeAny, {
1468
- iccid?: string | undefined;
1468
+ iccid: string;
1469
1469
  }, {
1470
- iccid?: string | undefined;
1470
+ iccid: string;
1471
1471
  }>>;
1472
1472
  /**
1473
1473
  *
@@ -1564,41 +1564,41 @@ declare class _15 extends ThrowableError {
1564
1564
  * The shape of the model inside the application code - what the users use
1565
1565
  */
1566
1566
  declare const getEsimOkResponse: z.ZodLazy<z.ZodObject<{
1567
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1568
- iccid: z.ZodOptional<z.ZodString>;
1569
- smdpAddress: z.ZodOptional<z.ZodString>;
1570
- manualActivationCode: z.ZodOptional<z.ZodString>;
1571
- status: z.ZodOptional<z.ZodString>;
1572
- 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;
1573
1573
  }, "strip", z.ZodTypeAny, {
1574
- iccid?: string | undefined;
1575
- smdpAddress?: string | undefined;
1576
- manualActivationCode?: string | undefined;
1577
- status?: string | undefined;
1578
- isTopUpAllowed?: boolean | undefined;
1574
+ status: string;
1575
+ iccid: string;
1576
+ manualActivationCode: string;
1577
+ smdpAddress: string;
1578
+ isTopUpAllowed: boolean;
1579
1579
  }, {
1580
- iccid?: string | undefined;
1581
- smdpAddress?: string | undefined;
1582
- manualActivationCode?: string | undefined;
1583
- status?: string | undefined;
1584
- isTopUpAllowed?: boolean | undefined;
1585
- }>>>;
1580
+ status: string;
1581
+ iccid: string;
1582
+ manualActivationCode: string;
1583
+ smdpAddress: string;
1584
+ isTopUpAllowed: boolean;
1585
+ }>>;
1586
1586
  }, "strip", z.ZodTypeAny, {
1587
- esim?: {
1588
- iccid?: string | undefined;
1589
- smdpAddress?: string | undefined;
1590
- manualActivationCode?: string | undefined;
1591
- status?: string | undefined;
1592
- isTopUpAllowed?: boolean | undefined;
1593
- } | undefined;
1587
+ esim: {
1588
+ status: string;
1589
+ iccid: string;
1590
+ manualActivationCode: string;
1591
+ smdpAddress: string;
1592
+ isTopUpAllowed: boolean;
1593
+ };
1594
1594
  }, {
1595
- esim?: {
1596
- iccid?: string | undefined;
1597
- smdpAddress?: string | undefined;
1598
- manualActivationCode?: string | undefined;
1599
- status?: string | undefined;
1600
- isTopUpAllowed?: boolean | undefined;
1601
- } | undefined;
1595
+ esim: {
1596
+ status: string;
1597
+ iccid: string;
1598
+ manualActivationCode: string;
1599
+ smdpAddress: string;
1600
+ isTopUpAllowed: boolean;
1601
+ };
1602
1602
  }>>;
1603
1603
  /**
1604
1604
  *
@@ -1615,36 +1615,36 @@ interface GetEsimParams {
1615
1615
  * The shape of the model inside the application code - what the users use
1616
1616
  */
1617
1617
  declare const getEsimDeviceOkResponse: z.ZodLazy<z.ZodObject<{
1618
- device: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1619
- oem: z.ZodOptional<z.ZodString>;
1620
- hardwareName: z.ZodOptional<z.ZodString>;
1621
- hardwareModel: z.ZodOptional<z.ZodString>;
1622
- 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;
1623
1623
  }, "strip", z.ZodTypeAny, {
1624
- oem?: string | undefined;
1625
- hardwareName?: string | undefined;
1626
- hardwareModel?: string | undefined;
1627
- eid?: string | undefined;
1624
+ oem: string;
1625
+ hardwareName: string;
1626
+ hardwareModel: string;
1627
+ eid: string;
1628
1628
  }, {
1629
- oem?: string | undefined;
1630
- hardwareName?: string | undefined;
1631
- hardwareModel?: string | undefined;
1632
- eid?: string | undefined;
1633
- }>>>;
1629
+ oem: string;
1630
+ hardwareName: string;
1631
+ hardwareModel: string;
1632
+ eid: string;
1633
+ }>>;
1634
1634
  }, "strip", z.ZodTypeAny, {
1635
- device?: {
1636
- oem?: string | undefined;
1637
- hardwareName?: string | undefined;
1638
- hardwareModel?: string | undefined;
1639
- eid?: string | undefined;
1640
- } | undefined;
1635
+ device: {
1636
+ oem: string;
1637
+ hardwareName: string;
1638
+ hardwareModel: string;
1639
+ eid: string;
1640
+ };
1641
1641
  }, {
1642
- device?: {
1643
- oem?: string | undefined;
1644
- hardwareName?: string | undefined;
1645
- hardwareModel?: string | undefined;
1646
- eid?: string | undefined;
1647
- } | undefined;
1642
+ device: {
1643
+ oem: string;
1644
+ hardwareName: string;
1645
+ hardwareModel: string;
1646
+ eid: string;
1647
+ };
1648
1648
  }>>;
1649
1649
  /**
1650
1650
  *
@@ -1657,54 +1657,54 @@ type GetEsimDeviceOkResponse = z.infer<typeof getEsimDeviceOkResponse>;
1657
1657
  * The shape of the model inside the application code - what the users use
1658
1658
  */
1659
1659
  declare const getEsimHistoryOkResponse: z.ZodLazy<z.ZodObject<{
1660
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1661
- iccid: z.ZodOptional<z.ZodString>;
1662
- history: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
1663
- status: z.ZodOptional<z.ZodString>;
1664
- 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;
1665
1665
  date: z.ZodOptional<z.ZodNumber>;
1666
1666
  }, "strip", z.ZodTypeAny, {
1667
- status?: string | undefined;
1668
- statusDate?: string | undefined;
1667
+ status: string;
1668
+ statusDate: string;
1669
1669
  date?: number | undefined;
1670
1670
  }, {
1671
- status?: string | undefined;
1672
- statusDate?: string | undefined;
1671
+ status: string;
1672
+ statusDate: string;
1673
1673
  date?: number | undefined;
1674
- }>>, "many">>;
1674
+ }>>, "many">;
1675
1675
  }, "strip", z.ZodTypeAny, {
1676
- iccid?: string | undefined;
1677
- history?: {
1678
- status?: string | undefined;
1679
- statusDate?: string | undefined;
1676
+ iccid: string;
1677
+ history: {
1678
+ status: string;
1679
+ statusDate: string;
1680
1680
  date?: number | undefined;
1681
- }[] | undefined;
1681
+ }[];
1682
1682
  }, {
1683
- iccid?: string | undefined;
1684
- history?: {
1685
- status?: string | undefined;
1686
- statusDate?: string | undefined;
1683
+ iccid: string;
1684
+ history: {
1685
+ status: string;
1686
+ statusDate: string;
1687
1687
  date?: number | undefined;
1688
- }[] | undefined;
1689
- }>>>;
1688
+ }[];
1689
+ }>>;
1690
1690
  }, "strip", z.ZodTypeAny, {
1691
- esim?: {
1692
- iccid?: string | undefined;
1693
- history?: {
1694
- status?: string | undefined;
1695
- statusDate?: string | undefined;
1691
+ esim: {
1692
+ iccid: string;
1693
+ history: {
1694
+ status: string;
1695
+ statusDate: string;
1696
1696
  date?: number | undefined;
1697
- }[] | undefined;
1698
- } | undefined;
1697
+ }[];
1698
+ };
1699
1699
  }, {
1700
- esim?: {
1701
- iccid?: string | undefined;
1702
- history?: {
1703
- status?: string | undefined;
1704
- statusDate?: string | undefined;
1700
+ esim: {
1701
+ iccid: string;
1702
+ history: {
1703
+ status: string;
1704
+ statusDate: string;
1705
1705
  date?: number | undefined;
1706
- }[] | undefined;
1707
- } | undefined;
1706
+ }[];
1707
+ };
1708
1708
  }>>;
1709
1709
  /**
1710
1710
  *
@@ -1717,31 +1717,31 @@ type GetEsimHistoryOkResponse = z.infer<typeof getEsimHistoryOkResponse>;
1717
1717
  * The shape of the model inside the application code - what the users use
1718
1718
  */
1719
1719
  declare const getEsimMacOkResponse: z.ZodLazy<z.ZodObject<{
1720
- esim: z.ZodOptional<z.ZodLazy<z.ZodObject<{
1721
- iccid: z.ZodOptional<z.ZodString>;
1722
- smdpAddress: z.ZodOptional<z.ZodString>;
1723
- manualActivationCode: z.ZodOptional<z.ZodString>;
1720
+ esim: z.ZodLazy<z.ZodObject<{
1721
+ iccid: z.ZodString;
1722
+ smdpAddress: z.ZodString;
1723
+ manualActivationCode: z.ZodString;
1724
1724
  }, "strip", z.ZodTypeAny, {
1725
- iccid?: string | undefined;
1726
- smdpAddress?: string | undefined;
1727
- manualActivationCode?: string | undefined;
1725
+ iccid: string;
1726
+ manualActivationCode: string;
1727
+ smdpAddress: string;
1728
1728
  }, {
1729
- iccid?: string | undefined;
1730
- smdpAddress?: string | undefined;
1731
- manualActivationCode?: string | undefined;
1732
- }>>>;
1729
+ iccid: string;
1730
+ manualActivationCode: string;
1731
+ smdpAddress: string;
1732
+ }>>;
1733
1733
  }, "strip", z.ZodTypeAny, {
1734
- esim?: {
1735
- iccid?: string | undefined;
1736
- smdpAddress?: string | undefined;
1737
- manualActivationCode?: string | undefined;
1738
- } | undefined;
1734
+ esim: {
1735
+ iccid: string;
1736
+ manualActivationCode: string;
1737
+ smdpAddress: string;
1738
+ };
1739
1739
  }, {
1740
- esim?: {
1741
- iccid?: string | undefined;
1742
- smdpAddress?: string | undefined;
1743
- manualActivationCode?: string | undefined;
1744
- } | undefined;
1740
+ esim: {
1741
+ iccid: string;
1742
+ manualActivationCode: string;
1743
+ smdpAddress: string;
1744
+ };
1745
1745
  }>>;
1746
1746
  /**
1747
1747
  *
@@ -1785,23 +1785,23 @@ declare class ESimService extends BaseService {
1785
1785
  * The shape of the model inside the application code - what the users use
1786
1786
  */
1787
1787
  declare const getEsimOkResponseEsim: z.ZodLazy<z.ZodObject<{
1788
- iccid: z.ZodOptional<z.ZodString>;
1789
- smdpAddress: z.ZodOptional<z.ZodString>;
1790
- manualActivationCode: z.ZodOptional<z.ZodString>;
1791
- status: z.ZodOptional<z.ZodString>;
1792
- 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;
1793
1793
  }, "strip", z.ZodTypeAny, {
1794
- iccid?: string | undefined;
1795
- smdpAddress?: string | undefined;
1796
- manualActivationCode?: string | undefined;
1797
- status?: string | undefined;
1798
- isTopUpAllowed?: boolean | undefined;
1794
+ status: string;
1795
+ iccid: string;
1796
+ manualActivationCode: string;
1797
+ smdpAddress: string;
1798
+ isTopUpAllowed: boolean;
1799
1799
  }, {
1800
- iccid?: string | undefined;
1801
- smdpAddress?: string | undefined;
1802
- manualActivationCode?: string | undefined;
1803
- status?: string | undefined;
1804
- isTopUpAllowed?: boolean | undefined;
1800
+ status: string;
1801
+ iccid: string;
1802
+ manualActivationCode: string;
1803
+ smdpAddress: string;
1804
+ isTopUpAllowed: boolean;
1805
1805
  }>>;
1806
1806
  /**
1807
1807
  *
@@ -1818,20 +1818,20 @@ type GetEsimOkResponseEsim = z.infer<typeof getEsimOkResponseEsim>;
1818
1818
  * The shape of the model inside the application code - what the users use
1819
1819
  */
1820
1820
  declare const device: z.ZodLazy<z.ZodObject<{
1821
- oem: z.ZodOptional<z.ZodString>;
1822
- hardwareName: z.ZodOptional<z.ZodString>;
1823
- hardwareModel: z.ZodOptional<z.ZodString>;
1824
- eid: z.ZodOptional<z.ZodString>;
1821
+ oem: z.ZodString;
1822
+ hardwareName: z.ZodString;
1823
+ hardwareModel: z.ZodString;
1824
+ eid: z.ZodString;
1825
1825
  }, "strip", z.ZodTypeAny, {
1826
- oem?: string | undefined;
1827
- hardwareName?: string | undefined;
1828
- hardwareModel?: string | undefined;
1829
- eid?: string | undefined;
1826
+ oem: string;
1827
+ hardwareName: string;
1828
+ hardwareModel: string;
1829
+ eid: string;
1830
1830
  }, {
1831
- oem?: string | undefined;
1832
- hardwareName?: string | undefined;
1833
- hardwareModel?: string | undefined;
1834
- eid?: string | undefined;
1831
+ oem: string;
1832
+ hardwareName: string;
1833
+ hardwareModel: string;
1834
+ eid: string;
1835
1835
  }>>;
1836
1836
  /**
1837
1837
  *
@@ -1847,34 +1847,34 @@ type Device = z.infer<typeof device>;
1847
1847
  * The shape of the model inside the application code - what the users use
1848
1848
  */
1849
1849
  declare const getEsimHistoryOkResponseEsim: z.ZodLazy<z.ZodObject<{
1850
- iccid: z.ZodOptional<z.ZodString>;
1851
- history: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
1852
- status: z.ZodOptional<z.ZodString>;
1853
- 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;
1854
1854
  date: z.ZodOptional<z.ZodNumber>;
1855
1855
  }, "strip", z.ZodTypeAny, {
1856
- status?: string | undefined;
1857
- statusDate?: string | undefined;
1856
+ status: string;
1857
+ statusDate: string;
1858
1858
  date?: number | undefined;
1859
1859
  }, {
1860
- status?: string | undefined;
1861
- statusDate?: string | undefined;
1860
+ status: string;
1861
+ statusDate: string;
1862
1862
  date?: number | undefined;
1863
- }>>, "many">>;
1863
+ }>>, "many">;
1864
1864
  }, "strip", z.ZodTypeAny, {
1865
- iccid?: string | undefined;
1866
- history?: {
1867
- status?: string | undefined;
1868
- statusDate?: string | undefined;
1865
+ iccid: string;
1866
+ history: {
1867
+ status: string;
1868
+ statusDate: string;
1869
1869
  date?: number | undefined;
1870
- }[] | undefined;
1870
+ }[];
1871
1871
  }, {
1872
- iccid?: string | undefined;
1873
- history?: {
1874
- status?: string | undefined;
1875
- statusDate?: string | undefined;
1872
+ iccid: string;
1873
+ history: {
1874
+ status: string;
1875
+ statusDate: string;
1876
1876
  date?: number | undefined;
1877
- }[] | undefined;
1877
+ }[];
1878
1878
  }>>;
1879
1879
  /**
1880
1880
  *
@@ -1888,16 +1888,16 @@ type GetEsimHistoryOkResponseEsim = z.infer<typeof getEsimHistoryOkResponseEsim>
1888
1888
  * The shape of the model inside the application code - what the users use
1889
1889
  */
1890
1890
  declare const history: z.ZodLazy<z.ZodObject<{
1891
- status: z.ZodOptional<z.ZodString>;
1892
- statusDate: z.ZodOptional<z.ZodString>;
1891
+ status: z.ZodString;
1892
+ statusDate: z.ZodString;
1893
1893
  date: z.ZodOptional<z.ZodNumber>;
1894
1894
  }, "strip", z.ZodTypeAny, {
1895
- status?: string | undefined;
1896
- statusDate?: string | undefined;
1895
+ status: string;
1896
+ statusDate: string;
1897
1897
  date?: number | undefined;
1898
1898
  }, {
1899
- status?: string | undefined;
1900
- statusDate?: string | undefined;
1899
+ status: string;
1900
+ statusDate: string;
1901
1901
  date?: number | undefined;
1902
1902
  }>>;
1903
1903
  /**
@@ -1913,17 +1913,17 @@ type History = z.infer<typeof history>;
1913
1913
  * The shape of the model inside the application code - what the users use
1914
1914
  */
1915
1915
  declare const getEsimMacOkResponseEsim: z.ZodLazy<z.ZodObject<{
1916
- iccid: z.ZodOptional<z.ZodString>;
1917
- smdpAddress: z.ZodOptional<z.ZodString>;
1918
- manualActivationCode: z.ZodOptional<z.ZodString>;
1916
+ iccid: z.ZodString;
1917
+ smdpAddress: z.ZodString;
1918
+ manualActivationCode: z.ZodString;
1919
1919
  }, "strip", z.ZodTypeAny, {
1920
- iccid?: string | undefined;
1921
- smdpAddress?: string | undefined;
1922
- manualActivationCode?: string | undefined;
1920
+ iccid: string;
1921
+ manualActivationCode: string;
1922
+ smdpAddress: string;
1923
1923
  }, {
1924
- iccid?: string | undefined;
1925
- smdpAddress?: string | undefined;
1926
- manualActivationCode?: string | undefined;
1924
+ iccid: string;
1925
+ manualActivationCode: string;
1926
+ smdpAddress: string;
1927
1927
  }>>;
1928
1928
  /**
1929
1929
  *
@@ -1994,11 +1994,11 @@ declare class _23 extends ThrowableError {
1994
1994
  * The shape of the model inside the application code - what the users use
1995
1995
  */
1996
1996
  declare const tokenOkResponse: z.ZodLazy<z.ZodObject<{
1997
- token: z.ZodOptional<z.ZodString>;
1997
+ token: z.ZodString;
1998
1998
  }, "strip", z.ZodTypeAny, {
1999
- token?: string | undefined;
1999
+ token: string;
2000
2000
  }, {
2001
- token?: string | undefined;
2001
+ token: string;
2002
2002
  }>>;
2003
2003
  /**
2004
2004
  *