@juhuu/sdk-ts 1.3.56 → 1.3.58

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.mts CHANGED
@@ -2205,6 +2205,7 @@ declare class AchievementsService extends Service {
2205
2205
 
2206
2206
  declare class AuthService extends Service {
2207
2207
  constructor(config: JUHUU.SetupConfig);
2208
+ private resolveLanguageCode;
2208
2209
  registerEmailPassword(AuthRegisterEmailPasswordParams: JUHUU.User.RegisterEmailPassword.Params, AuthRegisterEmailPasswordOptions?: JUHUU.User.RegisterEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RegisterEmailPassword.Response>>;
2209
2210
  loginEmailPassword(AuthLoginEmailPasswordParams: JUHUU.User.LoginEmailPassword.Params, AuthLoginEmailPasswordOptions?: JUHUU.User.LoginEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.LoginEmailPassword.Response>>;
2210
2211
  refreshAccessToken(AuthRefreshAccessTokenParams: JUHUU.User.RefreshAccessToken.Params, AuthRefreshAccessTokenOptions?: JUHUU.User.RefreshAccessToken.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RefreshAccessToken.Response>>;
@@ -3098,6 +3099,8 @@ declare namespace JUHUU {
3098
3099
  type Params = {
3099
3100
  sessionId: string;
3100
3101
  metadata?: Record<string, any>;
3102
+ scheduledReadyAt?: string;
3103
+ scheduledTerminationAt?: string;
3101
3104
  };
3102
3105
  type Options = JUHUU.RequestOptions;
3103
3106
  type Response = {
@@ -3316,6 +3319,7 @@ declare namespace JUHUU {
3316
3319
  password: string;
3317
3320
  email: string;
3318
3321
  propertyId?: string;
3322
+ languageCode?: LanguageCode;
3319
3323
  };
3320
3324
  type Options = JUHUU.RequestOptions;
3321
3325
  type Response = {
@@ -3395,6 +3399,7 @@ declare namespace JUHUU {
3395
3399
  nationalNumber: string;
3396
3400
  purpose: "login" | "register" | "verify";
3397
3401
  propertyId?: string;
3402
+ languageCode?: LanguageCode;
3398
3403
  };
3399
3404
  type Options = JUHUU.RequestOptions;
3400
3405
  type Response = {
package/dist/index.d.ts CHANGED
@@ -2205,6 +2205,7 @@ declare class AchievementsService extends Service {
2205
2205
 
2206
2206
  declare class AuthService extends Service {
2207
2207
  constructor(config: JUHUU.SetupConfig);
2208
+ private resolveLanguageCode;
2208
2209
  registerEmailPassword(AuthRegisterEmailPasswordParams: JUHUU.User.RegisterEmailPassword.Params, AuthRegisterEmailPasswordOptions?: JUHUU.User.RegisterEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RegisterEmailPassword.Response>>;
2209
2210
  loginEmailPassword(AuthLoginEmailPasswordParams: JUHUU.User.LoginEmailPassword.Params, AuthLoginEmailPasswordOptions?: JUHUU.User.LoginEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.LoginEmailPassword.Response>>;
2210
2211
  refreshAccessToken(AuthRefreshAccessTokenParams: JUHUU.User.RefreshAccessToken.Params, AuthRefreshAccessTokenOptions?: JUHUU.User.RefreshAccessToken.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RefreshAccessToken.Response>>;
@@ -3098,6 +3099,8 @@ declare namespace JUHUU {
3098
3099
  type Params = {
3099
3100
  sessionId: string;
3100
3101
  metadata?: Record<string, any>;
3102
+ scheduledReadyAt?: string;
3103
+ scheduledTerminationAt?: string;
3101
3104
  };
3102
3105
  type Options = JUHUU.RequestOptions;
3103
3106
  type Response = {
@@ -3316,6 +3319,7 @@ declare namespace JUHUU {
3316
3319
  password: string;
3317
3320
  email: string;
3318
3321
  propertyId?: string;
3322
+ languageCode?: LanguageCode;
3319
3323
  };
3320
3324
  type Options = JUHUU.RequestOptions;
3321
3325
  type Response = {
@@ -3395,6 +3399,7 @@ declare namespace JUHUU {
3395
3399
  nationalNumber: string;
3396
3400
  purpose: "login" | "register" | "verify";
3397
3401
  propertyId?: string;
3402
+ languageCode?: LanguageCode;
3398
3403
  };
3399
3404
  type Options = JUHUU.RequestOptions;
3400
3405
  type Response = {
package/dist/index.js CHANGED
@@ -542,11 +542,169 @@ var AchievementsService = class extends Service {
542
542
  }
543
543
  };
544
544
 
545
+ // src/types/types.ts
546
+ var LanguageCodeArray = [
547
+ "en",
548
+ // english
549
+ "de",
550
+ // german
551
+ "fr",
552
+ // french
553
+ "nl",
554
+ // dutch
555
+ "it",
556
+ // italian
557
+ "cs",
558
+ // czech
559
+ "da",
560
+ // danish
561
+ "es",
562
+ // spanish
563
+ "et",
564
+ // estonian
565
+ "hr",
566
+ // croatian
567
+ "hu",
568
+ // hungarian
569
+ "no",
570
+ // norwegian
571
+ "pl",
572
+ // polish
573
+ "sv"
574
+ // swedish
575
+ ];
576
+ var CountryCodeArray = [
577
+ "DE",
578
+ // germany
579
+ "AT",
580
+ // austria
581
+ "CH",
582
+ // switzerland
583
+ "LI",
584
+ // liechtenstein
585
+ "IT",
586
+ // italy
587
+ "FR",
588
+ // france
589
+ "NL",
590
+ // netherlands
591
+ "BE",
592
+ // belgium
593
+ "LU",
594
+ // luxembourg
595
+ "DK",
596
+ // denmark
597
+ "SE",
598
+ // sweden
599
+ "NO",
600
+ // norway
601
+ "FI",
602
+ // finland
603
+ "IS",
604
+ // iceland
605
+ "GB",
606
+ // great britain
607
+ "IE",
608
+ // ireland
609
+ "ES",
610
+ // spain
611
+ "PT",
612
+ // portugal
613
+ "GR",
614
+ // greece
615
+ "PL",
616
+ // poland
617
+ "CZ",
618
+ // czech republic
619
+ "SK",
620
+ // slovakia
621
+ "HU",
622
+ // hungary
623
+ "SI",
624
+ // slovenia
625
+ "HR",
626
+ // croatia
627
+ "BA",
628
+ // bosnia and herzegovina
629
+ "RS",
630
+ // serbia
631
+ "US",
632
+ // united states
633
+ "CA"
634
+ // canada
635
+ ];
636
+ var CurrencyCodeArray = [
637
+ "eur",
638
+ // euro
639
+ "usd",
640
+ // united states
641
+ "gbp",
642
+ // great britain
643
+ "nok",
644
+ // norway
645
+ "sek",
646
+ // sweden
647
+ "chf",
648
+ // switzerland
649
+ "dkk",
650
+ // denmark
651
+ "pln",
652
+ // poland
653
+ "czk",
654
+ // czech republic
655
+ "huf",
656
+ // hungary
657
+ "bam",
658
+ // bosnia and herzegovina
659
+ "rsd",
660
+ // serbia
661
+ "isk",
662
+ // iceland
663
+ "cad"
664
+ // canada
665
+ ];
666
+ var ReadonlySectorArray = ["tourism", "mobility", "sport"];
667
+ var ReadonlyCategoryArray = [
668
+ "bike",
669
+ "car",
670
+ "scooter",
671
+ "boat",
672
+ "moped"
673
+ ];
674
+ var ReadonlyModalityArray = [
675
+ "charge",
676
+ "store",
677
+ "share",
678
+ "wash",
679
+ "repair"
680
+ ];
681
+ var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
682
+ ConditionType2["Equal"] = "==";
683
+ ConditionType2["NotEqual"] = "!=";
684
+ ConditionType2["LessThan"] = "<";
685
+ ConditionType2["GreaterThan"] = ">";
686
+ ConditionType2["LessThanOrEqual"] = "<=";
687
+ ConditionType2["GreaterThanOrEqual"] = ">=";
688
+ return ConditionType2;
689
+ })(ConditionType || {});
690
+
545
691
  // src/auth/auth.service.ts
546
692
  var AuthService = class extends Service {
547
693
  constructor(config) {
548
694
  super(config);
549
695
  }
696
+ //Resolves the language code for an auth flow
697
+ resolveLanguageCode(explicit) {
698
+ if (explicit !== void 0) {
699
+ return explicit;
700
+ }
701
+ const nav = typeof navigator !== "undefined" ? navigator.language : void 0;
702
+ if (nav === void 0) {
703
+ return void 0;
704
+ }
705
+ const primary = nav.split("-")[0]?.toLowerCase();
706
+ return LanguageCodeArray.includes(primary ?? "") ? primary : void 0;
707
+ }
550
708
  async registerEmailPassword(AuthRegisterEmailPasswordParams, AuthRegisterEmailPasswordOptions) {
551
709
  return await super.sendRequest(
552
710
  {
@@ -555,7 +713,10 @@ var AuthService = class extends Service {
555
713
  body: {
556
714
  email: AuthRegisterEmailPasswordParams.email,
557
715
  password: AuthRegisterEmailPasswordParams.password,
558
- propertyId: AuthRegisterEmailPasswordParams.propertyId
716
+ propertyId: AuthRegisterEmailPasswordParams.propertyId,
717
+ languageCode: this.resolveLanguageCode(
718
+ AuthRegisterEmailPasswordParams.languageCode
719
+ )
559
720
  },
560
721
  authenticationNotOptional: false
561
722
  },
@@ -613,7 +774,10 @@ var AuthService = class extends Service {
613
774
  countryCode: AuthOtpRequestParams.countryCode,
614
775
  nationalNumber: AuthOtpRequestParams.nationalNumber,
615
776
  purpose: AuthOtpRequestParams.purpose,
616
- propertyId: AuthOtpRequestParams.propertyId
777
+ propertyId: AuthOtpRequestParams.propertyId,
778
+ languageCode: this.resolveLanguageCode(
779
+ AuthOtpRequestParams.languageCode
780
+ )
617
781
  },
618
782
  authenticationNotOptional: false
619
783
  },
@@ -923,7 +1087,9 @@ var SessionService = class extends Service {
923
1087
  method: "PATCH",
924
1088
  url: "sessions/" + SessionUpdateParams.sessionId,
925
1089
  body: {
926
- metadata: SessionUpdateParams?.metadata
1090
+ metadata: SessionUpdateParams?.metadata,
1091
+ scheduledReadyAt: SessionUpdateParams?.scheduledReadyAt,
1092
+ scheduledTerminationAt: SessionUpdateParams?.scheduledTerminationAt
927
1093
  },
928
1094
  authenticationNotOptional: true
929
1095
  },
@@ -6300,152 +6466,6 @@ var ApplicationVersionsService = class extends Service {
6300
6466
  }
6301
6467
  };
6302
6468
 
6303
- // src/types/types.ts
6304
- var LanguageCodeArray = [
6305
- "en",
6306
- // english
6307
- "de",
6308
- // german
6309
- "fr",
6310
- // french
6311
- "nl",
6312
- // dutch
6313
- "it",
6314
- // italian
6315
- "cs",
6316
- // czech
6317
- "da",
6318
- // danish
6319
- "es",
6320
- // spanish
6321
- "et",
6322
- // estonian
6323
- "hr",
6324
- // croatian
6325
- "hu",
6326
- // hungarian
6327
- "no",
6328
- // norwegian
6329
- "pl",
6330
- // polish
6331
- "sv"
6332
- // swedish
6333
- ];
6334
- var CountryCodeArray = [
6335
- "DE",
6336
- // germany
6337
- "AT",
6338
- // austria
6339
- "CH",
6340
- // switzerland
6341
- "LI",
6342
- // liechtenstein
6343
- "IT",
6344
- // italy
6345
- "FR",
6346
- // france
6347
- "NL",
6348
- // netherlands
6349
- "BE",
6350
- // belgium
6351
- "LU",
6352
- // luxembourg
6353
- "DK",
6354
- // denmark
6355
- "SE",
6356
- // sweden
6357
- "NO",
6358
- // norway
6359
- "FI",
6360
- // finland
6361
- "IS",
6362
- // iceland
6363
- "GB",
6364
- // great britain
6365
- "IE",
6366
- // ireland
6367
- "ES",
6368
- // spain
6369
- "PT",
6370
- // portugal
6371
- "GR",
6372
- // greece
6373
- "PL",
6374
- // poland
6375
- "CZ",
6376
- // czech republic
6377
- "SK",
6378
- // slovakia
6379
- "HU",
6380
- // hungary
6381
- "SI",
6382
- // slovenia
6383
- "HR",
6384
- // croatia
6385
- "BA",
6386
- // bosnia and herzegovina
6387
- "RS",
6388
- // serbia
6389
- "US",
6390
- // united states
6391
- "CA"
6392
- // canada
6393
- ];
6394
- var CurrencyCodeArray = [
6395
- "eur",
6396
- // euro
6397
- "usd",
6398
- // united states
6399
- "gbp",
6400
- // great britain
6401
- "nok",
6402
- // norway
6403
- "sek",
6404
- // sweden
6405
- "chf",
6406
- // switzerland
6407
- "dkk",
6408
- // denmark
6409
- "pln",
6410
- // poland
6411
- "czk",
6412
- // czech republic
6413
- "huf",
6414
- // hungary
6415
- "bam",
6416
- // bosnia and herzegovina
6417
- "rsd",
6418
- // serbia
6419
- "isk",
6420
- // iceland
6421
- "cad"
6422
- // canada
6423
- ];
6424
- var ReadonlySectorArray = ["tourism", "mobility", "sport"];
6425
- var ReadonlyCategoryArray = [
6426
- "bike",
6427
- "car",
6428
- "scooter",
6429
- "boat",
6430
- "moped"
6431
- ];
6432
- var ReadonlyModalityArray = [
6433
- "charge",
6434
- "store",
6435
- "share",
6436
- "wash",
6437
- "repair"
6438
- ];
6439
- var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
6440
- ConditionType2["Equal"] = "==";
6441
- ConditionType2["NotEqual"] = "!=";
6442
- ConditionType2["LessThan"] = "<";
6443
- ConditionType2["GreaterThan"] = ">";
6444
- ConditionType2["LessThanOrEqual"] = "<=";
6445
- ConditionType2["GreaterThanOrEqual"] = ">=";
6446
- return ConditionType2;
6447
- })(ConditionType || {});
6448
-
6449
6469
  // src/index.ts
6450
6470
  var Juhuu = class {
6451
6471
  constructor(config) {
package/dist/index.mjs CHANGED
@@ -498,11 +498,169 @@ var AchievementsService = class extends Service {
498
498
  }
499
499
  };
500
500
 
501
+ // src/types/types.ts
502
+ var LanguageCodeArray = [
503
+ "en",
504
+ // english
505
+ "de",
506
+ // german
507
+ "fr",
508
+ // french
509
+ "nl",
510
+ // dutch
511
+ "it",
512
+ // italian
513
+ "cs",
514
+ // czech
515
+ "da",
516
+ // danish
517
+ "es",
518
+ // spanish
519
+ "et",
520
+ // estonian
521
+ "hr",
522
+ // croatian
523
+ "hu",
524
+ // hungarian
525
+ "no",
526
+ // norwegian
527
+ "pl",
528
+ // polish
529
+ "sv"
530
+ // swedish
531
+ ];
532
+ var CountryCodeArray = [
533
+ "DE",
534
+ // germany
535
+ "AT",
536
+ // austria
537
+ "CH",
538
+ // switzerland
539
+ "LI",
540
+ // liechtenstein
541
+ "IT",
542
+ // italy
543
+ "FR",
544
+ // france
545
+ "NL",
546
+ // netherlands
547
+ "BE",
548
+ // belgium
549
+ "LU",
550
+ // luxembourg
551
+ "DK",
552
+ // denmark
553
+ "SE",
554
+ // sweden
555
+ "NO",
556
+ // norway
557
+ "FI",
558
+ // finland
559
+ "IS",
560
+ // iceland
561
+ "GB",
562
+ // great britain
563
+ "IE",
564
+ // ireland
565
+ "ES",
566
+ // spain
567
+ "PT",
568
+ // portugal
569
+ "GR",
570
+ // greece
571
+ "PL",
572
+ // poland
573
+ "CZ",
574
+ // czech republic
575
+ "SK",
576
+ // slovakia
577
+ "HU",
578
+ // hungary
579
+ "SI",
580
+ // slovenia
581
+ "HR",
582
+ // croatia
583
+ "BA",
584
+ // bosnia and herzegovina
585
+ "RS",
586
+ // serbia
587
+ "US",
588
+ // united states
589
+ "CA"
590
+ // canada
591
+ ];
592
+ var CurrencyCodeArray = [
593
+ "eur",
594
+ // euro
595
+ "usd",
596
+ // united states
597
+ "gbp",
598
+ // great britain
599
+ "nok",
600
+ // norway
601
+ "sek",
602
+ // sweden
603
+ "chf",
604
+ // switzerland
605
+ "dkk",
606
+ // denmark
607
+ "pln",
608
+ // poland
609
+ "czk",
610
+ // czech republic
611
+ "huf",
612
+ // hungary
613
+ "bam",
614
+ // bosnia and herzegovina
615
+ "rsd",
616
+ // serbia
617
+ "isk",
618
+ // iceland
619
+ "cad"
620
+ // canada
621
+ ];
622
+ var ReadonlySectorArray = ["tourism", "mobility", "sport"];
623
+ var ReadonlyCategoryArray = [
624
+ "bike",
625
+ "car",
626
+ "scooter",
627
+ "boat",
628
+ "moped"
629
+ ];
630
+ var ReadonlyModalityArray = [
631
+ "charge",
632
+ "store",
633
+ "share",
634
+ "wash",
635
+ "repair"
636
+ ];
637
+ var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
638
+ ConditionType2["Equal"] = "==";
639
+ ConditionType2["NotEqual"] = "!=";
640
+ ConditionType2["LessThan"] = "<";
641
+ ConditionType2["GreaterThan"] = ">";
642
+ ConditionType2["LessThanOrEqual"] = "<=";
643
+ ConditionType2["GreaterThanOrEqual"] = ">=";
644
+ return ConditionType2;
645
+ })(ConditionType || {});
646
+
501
647
  // src/auth/auth.service.ts
502
648
  var AuthService = class extends Service {
503
649
  constructor(config) {
504
650
  super(config);
505
651
  }
652
+ //Resolves the language code for an auth flow
653
+ resolveLanguageCode(explicit) {
654
+ if (explicit !== void 0) {
655
+ return explicit;
656
+ }
657
+ const nav = typeof navigator !== "undefined" ? navigator.language : void 0;
658
+ if (nav === void 0) {
659
+ return void 0;
660
+ }
661
+ const primary = nav.split("-")[0]?.toLowerCase();
662
+ return LanguageCodeArray.includes(primary ?? "") ? primary : void 0;
663
+ }
506
664
  async registerEmailPassword(AuthRegisterEmailPasswordParams, AuthRegisterEmailPasswordOptions) {
507
665
  return await super.sendRequest(
508
666
  {
@@ -511,7 +669,10 @@ var AuthService = class extends Service {
511
669
  body: {
512
670
  email: AuthRegisterEmailPasswordParams.email,
513
671
  password: AuthRegisterEmailPasswordParams.password,
514
- propertyId: AuthRegisterEmailPasswordParams.propertyId
672
+ propertyId: AuthRegisterEmailPasswordParams.propertyId,
673
+ languageCode: this.resolveLanguageCode(
674
+ AuthRegisterEmailPasswordParams.languageCode
675
+ )
515
676
  },
516
677
  authenticationNotOptional: false
517
678
  },
@@ -569,7 +730,10 @@ var AuthService = class extends Service {
569
730
  countryCode: AuthOtpRequestParams.countryCode,
570
731
  nationalNumber: AuthOtpRequestParams.nationalNumber,
571
732
  purpose: AuthOtpRequestParams.purpose,
572
- propertyId: AuthOtpRequestParams.propertyId
733
+ propertyId: AuthOtpRequestParams.propertyId,
734
+ languageCode: this.resolveLanguageCode(
735
+ AuthOtpRequestParams.languageCode
736
+ )
573
737
  },
574
738
  authenticationNotOptional: false
575
739
  },
@@ -879,7 +1043,9 @@ var SessionService = class extends Service {
879
1043
  method: "PATCH",
880
1044
  url: "sessions/" + SessionUpdateParams.sessionId,
881
1045
  body: {
882
- metadata: SessionUpdateParams?.metadata
1046
+ metadata: SessionUpdateParams?.metadata,
1047
+ scheduledReadyAt: SessionUpdateParams?.scheduledReadyAt,
1048
+ scheduledTerminationAt: SessionUpdateParams?.scheduledTerminationAt
883
1049
  },
884
1050
  authenticationNotOptional: true
885
1051
  },
@@ -6256,152 +6422,6 @@ var ApplicationVersionsService = class extends Service {
6256
6422
  }
6257
6423
  };
6258
6424
 
6259
- // src/types/types.ts
6260
- var LanguageCodeArray = [
6261
- "en",
6262
- // english
6263
- "de",
6264
- // german
6265
- "fr",
6266
- // french
6267
- "nl",
6268
- // dutch
6269
- "it",
6270
- // italian
6271
- "cs",
6272
- // czech
6273
- "da",
6274
- // danish
6275
- "es",
6276
- // spanish
6277
- "et",
6278
- // estonian
6279
- "hr",
6280
- // croatian
6281
- "hu",
6282
- // hungarian
6283
- "no",
6284
- // norwegian
6285
- "pl",
6286
- // polish
6287
- "sv"
6288
- // swedish
6289
- ];
6290
- var CountryCodeArray = [
6291
- "DE",
6292
- // germany
6293
- "AT",
6294
- // austria
6295
- "CH",
6296
- // switzerland
6297
- "LI",
6298
- // liechtenstein
6299
- "IT",
6300
- // italy
6301
- "FR",
6302
- // france
6303
- "NL",
6304
- // netherlands
6305
- "BE",
6306
- // belgium
6307
- "LU",
6308
- // luxembourg
6309
- "DK",
6310
- // denmark
6311
- "SE",
6312
- // sweden
6313
- "NO",
6314
- // norway
6315
- "FI",
6316
- // finland
6317
- "IS",
6318
- // iceland
6319
- "GB",
6320
- // great britain
6321
- "IE",
6322
- // ireland
6323
- "ES",
6324
- // spain
6325
- "PT",
6326
- // portugal
6327
- "GR",
6328
- // greece
6329
- "PL",
6330
- // poland
6331
- "CZ",
6332
- // czech republic
6333
- "SK",
6334
- // slovakia
6335
- "HU",
6336
- // hungary
6337
- "SI",
6338
- // slovenia
6339
- "HR",
6340
- // croatia
6341
- "BA",
6342
- // bosnia and herzegovina
6343
- "RS",
6344
- // serbia
6345
- "US",
6346
- // united states
6347
- "CA"
6348
- // canada
6349
- ];
6350
- var CurrencyCodeArray = [
6351
- "eur",
6352
- // euro
6353
- "usd",
6354
- // united states
6355
- "gbp",
6356
- // great britain
6357
- "nok",
6358
- // norway
6359
- "sek",
6360
- // sweden
6361
- "chf",
6362
- // switzerland
6363
- "dkk",
6364
- // denmark
6365
- "pln",
6366
- // poland
6367
- "czk",
6368
- // czech republic
6369
- "huf",
6370
- // hungary
6371
- "bam",
6372
- // bosnia and herzegovina
6373
- "rsd",
6374
- // serbia
6375
- "isk",
6376
- // iceland
6377
- "cad"
6378
- // canada
6379
- ];
6380
- var ReadonlySectorArray = ["tourism", "mobility", "sport"];
6381
- var ReadonlyCategoryArray = [
6382
- "bike",
6383
- "car",
6384
- "scooter",
6385
- "boat",
6386
- "moped"
6387
- ];
6388
- var ReadonlyModalityArray = [
6389
- "charge",
6390
- "store",
6391
- "share",
6392
- "wash",
6393
- "repair"
6394
- ];
6395
- var ConditionType = /* @__PURE__ */ ((ConditionType2) => {
6396
- ConditionType2["Equal"] = "==";
6397
- ConditionType2["NotEqual"] = "!=";
6398
- ConditionType2["LessThan"] = "<";
6399
- ConditionType2["GreaterThan"] = ">";
6400
- ConditionType2["LessThanOrEqual"] = "<=";
6401
- ConditionType2["GreaterThanOrEqual"] = ">=";
6402
- return ConditionType2;
6403
- })(ConditionType || {});
6404
-
6405
6425
  // src/index.ts
6406
6426
  var Juhuu = class {
6407
6427
  constructor(config) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "provenance": true
4
4
  },
5
5
  "name": "@juhuu/sdk-ts",
6
- "version": "1.3.56",
6
+ "version": "1.3.58",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",