celitech-sdk 1.3.42 → 1.3.44

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Celitech TypeScript SDK 1.3.42
1
+ # Celitech TypeScript SDK 1.3.44
2
2
 
3
3
  Welcome to the Celitech SDK documentation. This guide will help you get started with integrating and using the Celitech SDK in your project.
4
4
 
@@ -6,8 +6,8 @@ Welcome to the Celitech SDK documentation. This guide will help you get started
6
6
 
7
7
  ## Versions
8
8
 
9
- - API version: `1.3.42`
10
- - SDK version: `1.3.42`
9
+ - API version: `1.3.44`
10
+ - SDK version: `1.3.44`
11
11
 
12
12
  ## About the API
13
13
 
package/dist/index.d.ts CHANGED
@@ -59,13 +59,20 @@ declare class OAuthTokenManager {
59
59
  getToken(scopes: Set<string>, config: SdkConfig): Promise<OAuthToken>;
60
60
  }
61
61
 
62
+ declare class ThrowableError extends Error {
63
+ message: string;
64
+ protected response?: unknown;
65
+ constructor(message: string, response?: unknown);
66
+ throw(): void;
67
+ }
68
+
62
69
  interface ResponseDefinition {
63
70
  schema: ZodType;
64
71
  contentType: ContentType;
65
72
  status: number;
66
73
  }
67
74
  interface ErrorDefinition {
68
- error: new (...args: any[]) => Error;
75
+ error: new (...args: any[]) => ThrowableError;
69
76
  contentType: ContentType;
70
77
  status: number;
71
78
  }
@@ -138,17 +145,25 @@ declare class Request<PageSchema = unknown[]> {
138
145
  }
139
146
 
140
147
  type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
141
- interface SdkConfig {
148
+ interface BaseConfig {
149
+ retry?: RetryOptions;
150
+ validation?: ValidationOptions;
142
151
  baseUrl?: string;
143
152
  environment?: Environment;
144
153
  timeoutMs?: number;
154
+ oAuthBaseUrl?: string;
155
+ }
156
+ interface ClientCredentialAuthConfig extends BaseConfig {
145
157
  clientId: string;
146
158
  clientSecret: string;
147
- oAuthBaseUrl?: string;
148
- accessToken?: string;
149
- retry?: RetryOptions;
150
- validation?: ValidationOptions;
159
+ accessToken?: never;
160
+ }
161
+ interface TokenAuthConfig extends BaseConfig {
162
+ clientId?: never;
163
+ clientSecret?: never;
164
+ accessToken: string;
151
165
  }
166
+ type SdkConfig = ClientCredentialAuthConfig | TokenAuthConfig;
152
167
  interface HttpMetadata {
153
168
  status: number;
154
169
  statusText: string;
@@ -358,12 +373,18 @@ declare const destinations: z.ZodLazy<z.ZodObject<{
358
373
  */
359
374
  type Destinations = z.infer<typeof destinations>;
360
375
 
361
- declare class __ extends Error {
362
- constructor(message?: string, response?: unknown);
376
+ declare class __ extends ThrowableError {
377
+ message: string;
378
+ protected response?: unknown;
379
+ constructor(message: string, response?: unknown);
380
+ throw(): void;
363
381
  }
364
382
 
365
- declare class _1 extends Error {
366
- constructor(message?: string, response?: unknown);
383
+ declare class _1 extends ThrowableError {
384
+ message: string;
385
+ protected response?: unknown;
386
+ constructor(message: string, response?: unknown);
387
+ throw(): void;
367
388
  }
368
389
 
369
390
  /**
@@ -479,7 +500,7 @@ declare const packages: z.ZodLazy<z.ZodObject<{
479
500
  *
480
501
  * @typedef {Packages} packages
481
502
  * @property {string} - ID of the package
482
- * @property {string} - ISO representation of the package's destination
503
+ * @property {string} - ISO representation of the package's destination.
483
504
  * @property {number} - Size of the package in Bytes
484
505
  * @property {number} - Min number of days for the package
485
506
  * @property {number} - Max number of days for the package
@@ -487,12 +508,18 @@ declare const packages: z.ZodLazy<z.ZodObject<{
487
508
  */
488
509
  type Packages = z.infer<typeof packages>;
489
510
 
490
- declare class _2 extends Error {
491
- constructor(message?: string, response?: unknown);
511
+ declare class _2 extends ThrowableError {
512
+ message: string;
513
+ protected response?: unknown;
514
+ constructor(message: string, response?: unknown);
515
+ throw(): void;
492
516
  }
493
517
 
494
- declare class _3 extends Error {
495
- constructor(message?: string, response?: unknown);
518
+ declare class _3 extends ThrowableError {
519
+ message: string;
520
+ protected response?: unknown;
521
+ constructor(message: string, response?: unknown);
522
+ throw(): void;
496
523
  }
497
524
 
498
525
  /**
@@ -507,6 +534,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
507
534
  email: z.ZodOptional<z.ZodString>;
508
535
  referenceId: z.ZodOptional<z.ZodString>;
509
536
  networkBrand: z.ZodOptional<z.ZodString>;
537
+ emailBrand: z.ZodOptional<z.ZodString>;
510
538
  }, "strip", z.ZodTypeAny, {
511
539
  destination: string;
512
540
  startDate: string;
@@ -516,6 +544,7 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
516
544
  email?: string | undefined;
517
545
  referenceId?: string | undefined;
518
546
  networkBrand?: string | undefined;
547
+ emailBrand?: string | undefined;
519
548
  }, {
520
549
  destination: string;
521
550
  startDate: string;
@@ -525,18 +554,20 @@ declare const createPurchaseV2Request: z.ZodLazy<z.ZodObject<{
525
554
  email?: string | undefined;
526
555
  referenceId?: string | undefined;
527
556
  networkBrand?: string | undefined;
557
+ emailBrand?: string | undefined;
528
558
  }>>;
529
559
  /**
530
560
  *
531
561
  * @typedef {CreatePurchaseV2Request} createPurchaseV2Request
532
- * @property {string} - ISO representation of the package's destination
533
- * @property {number} - Size of the package in GB. The available options are 1, 2, 3, 5, 8, 20GB
562
+ * @property {string} - ISO representation of the package's destination.
563
+ * @property {number} - Size of the package in GB. The available options are 0.5, 1, 2, 3, 5, 8, 20GB
534
564
  * @property {string} - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
535
565
  * @property {string} - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
536
566
  * @property {number} - Number of eSIMs to purchase.
537
567
  * @property {string} - Email address where the purchase confirmation email will be sent (including QR Code & activation steps)
538
568
  * @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
539
- * @property {string} - Customize the network brand of the issued eSIM. This parameter is accessible to platforms with Diamond tier and requires an alphanumeric string of up to 15 characters.
569
+ * @property {string} - Customize the network brand of the issued eSIM. The `networkBrand` parameter cannot exceed 15 characters in length and must contain only letters and numbers. This feature is available to platforms with Diamond tier only.
570
+ * @property {string} - Customize the email subject brand. The `emailBrand` parameter cannot exceed 25 characters in length and must contain only letters, numbers, and spaces. This feature is available to platforms with Diamond tier only.
540
571
  */
541
572
  type CreatePurchaseV2Request = z.infer<typeof createPurchaseV2Request>;
542
573
 
@@ -640,6 +671,7 @@ declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
640
671
  iccid?: string | undefined;
641
672
  }>>>;
642
673
  source: z.ZodOptional<z.ZodString>;
674
+ purchaseType: z.ZodOptional<z.ZodString>;
643
675
  referenceId: z.ZodOptional<z.ZodString>;
644
676
  }, "strip", z.ZodTypeAny, {
645
677
  id?: string | undefined;
@@ -660,6 +692,7 @@ declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
660
692
  iccid?: string | undefined;
661
693
  } | undefined;
662
694
  source?: string | undefined;
695
+ purchaseType?: string | undefined;
663
696
  referenceId?: string | undefined;
664
697
  }, {
665
698
  id?: string | undefined;
@@ -680,6 +713,7 @@ declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
680
713
  iccid?: string | undefined;
681
714
  } | undefined;
682
715
  source?: string | undefined;
716
+ purchaseType?: string | undefined;
683
717
  referenceId?: string | undefined;
684
718
  }>>, "many">>;
685
719
  afterCursor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -703,6 +737,7 @@ declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
703
737
  iccid?: string | undefined;
704
738
  } | undefined;
705
739
  source?: string | undefined;
740
+ purchaseType?: string | undefined;
706
741
  referenceId?: string | undefined;
707
742
  }[] | undefined;
708
743
  afterCursor?: string | null | undefined;
@@ -726,6 +761,7 @@ declare const listPurchasesOkResponse: z.ZodLazy<z.ZodObject<{
726
761
  iccid?: string | undefined;
727
762
  } | undefined;
728
763
  source?: string | undefined;
764
+ purchaseType?: string | undefined;
729
765
  referenceId?: string | undefined;
730
766
  }[] | undefined;
731
767
  afterCursor?: string | null | undefined;
@@ -760,6 +796,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
760
796
  email: z.ZodOptional<z.ZodString>;
761
797
  referenceId: z.ZodOptional<z.ZodString>;
762
798
  networkBrand: z.ZodOptional<z.ZodString>;
799
+ emailBrand: z.ZodOptional<z.ZodString>;
763
800
  startTime: z.ZodOptional<z.ZodNumber>;
764
801
  endTime: z.ZodOptional<z.ZodNumber>;
765
802
  }, "strip", z.ZodTypeAny, {
@@ -770,6 +807,7 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
770
807
  email?: string | undefined;
771
808
  referenceId?: string | undefined;
772
809
  networkBrand?: string | undefined;
810
+ emailBrand?: string | undefined;
773
811
  startTime?: number | undefined;
774
812
  endTime?: number | undefined;
775
813
  }, {
@@ -780,19 +818,21 @@ declare const createPurchaseRequest: z.ZodLazy<z.ZodObject<{
780
818
  email?: string | undefined;
781
819
  referenceId?: string | undefined;
782
820
  networkBrand?: string | undefined;
821
+ emailBrand?: string | undefined;
783
822
  startTime?: number | undefined;
784
823
  endTime?: number | undefined;
785
824
  }>>;
786
825
  /**
787
826
  *
788
827
  * @typedef {CreatePurchaseRequest} createPurchaseRequest
789
- * @property {string} - ISO representation of the package's destination
790
- * @property {number} - Size of the package in GB. The available options are 1, 2, 3, 5, 8, 20GB
828
+ * @property {string} - ISO representation of the package's destination.
829
+ * @property {number} - Size of the package in GB. The available options are 0.5, 1, 2, 3, 5, 8, 20GB
791
830
  * @property {string} - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
792
831
  * @property {string} - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
793
832
  * @property {string} - Email address where the purchase confirmation email will be sent (including QR Code & activation steps)
794
833
  * @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
795
- * @property {string} - Customize the network brand of the issued eSIM. This parameter is accessible to platforms with Diamond tier and requires an alphanumeric string of up to 15 characters
834
+ * @property {string} - Customize the network brand of the issued eSIM. The `networkBrand` parameter cannot exceed 15 characters in length and must contain only letters and numbers. This feature is available to platforms with Diamond tier only.
835
+ * @property {string} - Customize the email subject brand. The `emailBrand` parameter cannot exceed 25 characters in length and must contain only letters, numbers, and spaces. This feature is available to platforms with Diamond tier only.
796
836
  * @property {number} - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months.
797
837
  * @property {number} - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
798
838
  */
@@ -889,6 +929,7 @@ declare const topUpEsimRequest: z.ZodLazy<z.ZodObject<{
889
929
  endDate: z.ZodString;
890
930
  email: z.ZodOptional<z.ZodString>;
891
931
  referenceId: z.ZodOptional<z.ZodString>;
932
+ emailBrand: z.ZodOptional<z.ZodString>;
892
933
  startTime: z.ZodOptional<z.ZodNumber>;
893
934
  endTime: z.ZodOptional<z.ZodNumber>;
894
935
  }, "strip", z.ZodTypeAny, {
@@ -898,6 +939,7 @@ declare const topUpEsimRequest: z.ZodLazy<z.ZodObject<{
898
939
  iccid: string;
899
940
  email?: string | undefined;
900
941
  referenceId?: string | undefined;
942
+ emailBrand?: string | undefined;
901
943
  startTime?: number | undefined;
902
944
  endTime?: number | undefined;
903
945
  }, {
@@ -907,6 +949,7 @@ declare const topUpEsimRequest: z.ZodLazy<z.ZodObject<{
907
949
  iccid: string;
908
950
  email?: string | undefined;
909
951
  referenceId?: string | undefined;
952
+ emailBrand?: string | undefined;
910
953
  startTime?: number | undefined;
911
954
  endTime?: number | undefined;
912
955
  }>>;
@@ -914,11 +957,12 @@ declare const topUpEsimRequest: z.ZodLazy<z.ZodObject<{
914
957
  *
915
958
  * @typedef {TopUpEsimRequest} topUpEsimRequest
916
959
  * @property {string} - ID of the eSIM
917
- * @property {number} - Size of the package in GB. The available options are 1, 2, 3, 5, 8, 20GB
960
+ * @property {number} - Size of the package in GB. The available options are 0.5, 1, 2, 3, 5, 8, 20GB
918
961
  * @property {string} - Start date of the package's validity in the format 'yyyy-MM-dd'. This date can be set to the current day or any day within the next 12 months.
919
962
  * @property {string} - End date of the package's validity in the format 'yyyy-MM-dd'. End date can be maximum 90 days after Start date.
920
- * @property {string} - Email address where the purchase confirmation email will be sent (excluding QR Code & activation steps)
963
+ * @property {string} - Email address where the purchase confirmation email will be sent (excluding QR Code & activation steps).
921
964
  * @property {string} - An identifier provided by the partner to link this purchase to their booking or transaction for analytics and debugging purposes.
965
+ * @property {string} - Customize the email subject brand. The `emailBrand` parameter cannot exceed 25 characters in length and must contain only letters, numbers, and spaces. This feature is available to platforms with Diamond tier only.
922
966
  * @property {number} - Epoch value representing the start time of the package's validity. This timestamp can be set to the current time or any time within the next 12 months.
923
967
  * @property {number} - Epoch value representing the end time of the package's validity. End time can be maximum 90 days after Start time.
924
968
  */
@@ -1218,6 +1262,7 @@ declare const purchases: z.ZodLazy<z.ZodObject<{
1218
1262
  iccid?: string | undefined;
1219
1263
  }>>>;
1220
1264
  source: z.ZodOptional<z.ZodString>;
1265
+ purchaseType: z.ZodOptional<z.ZodString>;
1221
1266
  referenceId: z.ZodOptional<z.ZodString>;
1222
1267
  }, "strip", z.ZodTypeAny, {
1223
1268
  id?: string | undefined;
@@ -1238,6 +1283,7 @@ declare const purchases: z.ZodLazy<z.ZodObject<{
1238
1283
  iccid?: string | undefined;
1239
1284
  } | undefined;
1240
1285
  source?: string | undefined;
1286
+ purchaseType?: string | undefined;
1241
1287
  referenceId?: string | undefined;
1242
1288
  }, {
1243
1289
  id?: string | undefined;
@@ -1258,6 +1304,7 @@ declare const purchases: z.ZodLazy<z.ZodObject<{
1258
1304
  iccid?: string | undefined;
1259
1305
  } | undefined;
1260
1306
  source?: string | undefined;
1307
+ purchaseType?: string | undefined;
1261
1308
  referenceId?: string | undefined;
1262
1309
  }>>;
1263
1310
  /**
@@ -1272,8 +1319,9 @@ declare const purchases: z.ZodLazy<z.ZodObject<{
1272
1319
  * @property {number} - Epoch value representing the date of creation of the purchase
1273
1320
  * @property {Package_}
1274
1321
  * @property {PurchasesEsim}
1275
- * @property {string} - The source indicates where the eSIM was purchased, which can be from the API, dashboard, landing-page, promo-page or iframe. For purchases made before September 8, 2023, the value will be displayed as 'Not available'.
1276
- * @property {string} - The referenceId that was provided by the partner during the purchase or topup flow. This identifier can be used for analytics and debugging purposes.
1322
+ * @property {string} - The `source` indicates whether the purchase was made from the API, dashboard, landing-page, promo-page or iframe. For purchases made before September 8, 2023, the value will be displayed as 'Not available'.
1323
+ * @property {string} - The `purchaseType` indicates whether this is the initial purchase that creates the eSIM (First Purchase) or a subsequent top-up on an existing eSIM (Top-up Purchase).
1324
+ * @property {string} - The `referenceId` that was provided by the partner during the purchase or top-up flow. This identifier can be used for analytics and debugging purposes.
1277
1325
  */
1278
1326
  type Purchases = z.infer<typeof purchases>;
1279
1327
 
@@ -1304,7 +1352,7 @@ declare const package_: z.ZodLazy<z.ZodObject<{
1304
1352
  * @typedef {Package_} package_
1305
1353
  * @property {string} - ID of the package
1306
1354
  * @property {number} - Size of the package in Bytes
1307
- * @property {string} - ISO representation of the package's destination
1355
+ * @property {string} - ISO representation of the package's destination.
1308
1356
  * @property {string} - Name of the package's destination
1309
1357
  * @property {number} - Price of the package in cents
1310
1358
  */
@@ -1451,52 +1499,88 @@ declare const topUpEsimOkResponseProfile: z.ZodLazy<z.ZodObject<{
1451
1499
  */
1452
1500
  type TopUpEsimOkResponseProfile = z.infer<typeof topUpEsimOkResponseProfile>;
1453
1501
 
1454
- declare class _4 extends Error {
1455
- constructor(message?: string, response?: unknown);
1502
+ declare class _4 extends ThrowableError {
1503
+ message: string;
1504
+ protected response?: unknown;
1505
+ constructor(message: string, response?: unknown);
1506
+ throw(): void;
1456
1507
  }
1457
1508
 
1458
- declare class _5 extends Error {
1459
- constructor(message?: string, response?: unknown);
1509
+ declare class _5 extends ThrowableError {
1510
+ message: string;
1511
+ protected response?: unknown;
1512
+ constructor(message: string, response?: unknown);
1513
+ throw(): void;
1460
1514
  }
1461
1515
 
1462
- declare class _6 extends Error {
1463
- constructor(message?: string, response?: unknown);
1516
+ declare class _6 extends ThrowableError {
1517
+ message: string;
1518
+ protected response?: unknown;
1519
+ constructor(message: string, response?: unknown);
1520
+ throw(): void;
1464
1521
  }
1465
1522
 
1466
- declare class _7 extends Error {
1467
- constructor(message?: string, response?: unknown);
1523
+ declare class _7 extends ThrowableError {
1524
+ message: string;
1525
+ protected response?: unknown;
1526
+ constructor(message: string, response?: unknown);
1527
+ throw(): void;
1468
1528
  }
1469
1529
 
1470
- declare class _8 extends Error {
1471
- constructor(message?: string, response?: unknown);
1530
+ declare class _8 extends ThrowableError {
1531
+ message: string;
1532
+ protected response?: unknown;
1533
+ constructor(message: string, response?: unknown);
1534
+ throw(): void;
1472
1535
  }
1473
1536
 
1474
- declare class _9 extends Error {
1475
- constructor(message?: string, response?: unknown);
1537
+ declare class _9 extends ThrowableError {
1538
+ message: string;
1539
+ protected response?: unknown;
1540
+ constructor(message: string, response?: unknown);
1541
+ throw(): void;
1476
1542
  }
1477
1543
 
1478
- declare class _10 extends Error {
1479
- constructor(message?: string, response?: unknown);
1544
+ declare class _10 extends ThrowableError {
1545
+ message: string;
1546
+ protected response?: unknown;
1547
+ constructor(message: string, response?: unknown);
1548
+ throw(): void;
1480
1549
  }
1481
1550
 
1482
- declare class _11 extends Error {
1483
- constructor(message?: string, response?: unknown);
1551
+ declare class _11 extends ThrowableError {
1552
+ message: string;
1553
+ protected response?: unknown;
1554
+ constructor(message: string, response?: unknown);
1555
+ throw(): void;
1484
1556
  }
1485
1557
 
1486
- declare class _12 extends Error {
1487
- constructor(message?: string, response?: unknown);
1558
+ declare class _12 extends ThrowableError {
1559
+ message: string;
1560
+ protected response?: unknown;
1561
+ constructor(message: string, response?: unknown);
1562
+ throw(): void;
1488
1563
  }
1489
1564
 
1490
- declare class _13 extends Error {
1491
- constructor(message?: string, response?: unknown);
1565
+ declare class _13 extends ThrowableError {
1566
+ message: string;
1567
+ protected response?: unknown;
1568
+ constructor(message: string, response?: unknown);
1569
+ throw(): void;
1492
1570
  }
1493
1571
 
1494
- declare class _14 extends Error {
1495
- constructor(message?: string, response?: unknown);
1572
+ declare class _14 extends ThrowableError {
1573
+ message: string;
1574
+ protected response?: unknown;
1575
+ constructor(message: string, response?: unknown);
1576
+ throw(): void;
1496
1577
  }
1497
1578
 
1498
- declare class _15 extends Error {
1499
- constructor(message?: string, response?: unknown);
1579
+ declare class _15 extends ThrowableError {
1580
+ message: string;
1581
+ protected response?: unknown;
1582
+ constructor(message: string, response?: unknown);
1583
+ throw(): void;
1500
1584
  }
1501
1585
 
1502
1586
  /**
@@ -1864,36 +1948,60 @@ declare const getEsimMacOkResponseEsim: z.ZodLazy<z.ZodObject<{
1864
1948
  */
1865
1949
  type GetEsimMacOkResponseEsim = z.infer<typeof getEsimMacOkResponseEsim>;
1866
1950
 
1867
- declare class _16 extends Error {
1868
- constructor(message?: string, response?: unknown);
1951
+ declare class _16 extends ThrowableError {
1952
+ message: string;
1953
+ protected response?: unknown;
1954
+ constructor(message: string, response?: unknown);
1955
+ throw(): void;
1869
1956
  }
1870
1957
 
1871
- declare class _17 extends Error {
1872
- constructor(message?: string, response?: unknown);
1958
+ declare class _17 extends ThrowableError {
1959
+ message: string;
1960
+ protected response?: unknown;
1961
+ constructor(message: string, response?: unknown);
1962
+ throw(): void;
1873
1963
  }
1874
1964
 
1875
- declare class _18 extends Error {
1876
- constructor(message?: string, response?: unknown);
1965
+ declare class _18 extends ThrowableError {
1966
+ message: string;
1967
+ protected response?: unknown;
1968
+ constructor(message: string, response?: unknown);
1969
+ throw(): void;
1877
1970
  }
1878
1971
 
1879
- declare class _19 extends Error {
1880
- constructor(message?: string, response?: unknown);
1972
+ declare class _19 extends ThrowableError {
1973
+ message: string;
1974
+ protected response?: unknown;
1975
+ constructor(message: string, response?: unknown);
1976
+ throw(): void;
1881
1977
  }
1882
1978
 
1883
- declare class _20 extends Error {
1884
- constructor(message?: string, response?: unknown);
1979
+ declare class _20 extends ThrowableError {
1980
+ message: string;
1981
+ protected response?: unknown;
1982
+ constructor(message: string, response?: unknown);
1983
+ throw(): void;
1885
1984
  }
1886
1985
 
1887
- declare class _21 extends Error {
1888
- constructor(message?: string, response?: unknown);
1986
+ declare class _21 extends ThrowableError {
1987
+ message: string;
1988
+ protected response?: unknown;
1989
+ constructor(message: string, response?: unknown);
1990
+ throw(): void;
1889
1991
  }
1890
1992
 
1891
- declare class _22 extends Error {
1892
- constructor(message?: string, response?: unknown);
1993
+ declare class _22 extends ThrowableError {
1994
+ message: string;
1995
+ protected response?: unknown;
1996
+ constructor(message: string, response?: unknown);
1997
+ throw(): void;
1893
1998
  }
1894
1999
 
1895
- declare class _23 extends Error {
1896
- constructor(message?: string, response?: unknown);
2000
+ declare class _23 extends ThrowableError {
2001
+ message: string;
2002
+ protected response?: unknown;
2003
+ constructor(message: string, response?: unknown);
2004
+ throw(): void;
1897
2005
  }
1898
2006
 
1899
2007
  /**
@@ -1922,12 +2030,18 @@ declare class IFrameService extends BaseService {
1922
2030
  token(requestConfig?: RequestConfig): Promise<HttpResponse<TokenOkResponse>>;
1923
2031
  }
1924
2032
 
1925
- declare class _24 extends Error {
1926
- constructor(message?: string, response?: unknown);
2033
+ declare class _24 extends ThrowableError {
2034
+ message: string;
2035
+ protected response?: unknown;
2036
+ constructor(message: string, response?: unknown);
2037
+ throw(): void;
1927
2038
  }
1928
2039
 
1929
- declare class _25 extends Error {
1930
- constructor(message?: string, response?: unknown);
2040
+ declare class _25 extends ThrowableError {
2041
+ message: string;
2042
+ protected response?: unknown;
2043
+ constructor(message: string, response?: unknown);
2044
+ throw(): void;
1931
2045
  }
1932
2046
 
1933
2047
  declare class Celitech {