@alphabite/medusa-sdk 0.6.8 → 0.6.10

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
@@ -346,9 +346,9 @@ interface EcontCity {
346
346
  */
347
347
  id: string;
348
348
  /**
349
- * Econt API ID
349
+ * Econt API ID (stored as string)
350
350
  */
351
- econtId: number;
351
+ econtId: string;
352
352
  /**
353
353
  * City name in local language
354
354
  */
@@ -364,7 +364,7 @@ interface EcontCity {
364
364
  /**
365
365
  * Postal code for the city
366
366
  */
367
- postalCode: string;
367
+ postCode: string;
368
368
  }
369
369
  /**
370
370
  * Econt Quarter entity returned from the API
@@ -387,9 +387,9 @@ interface EcontQuarter {
387
387
  */
388
388
  nameEn: string;
389
389
  /**
390
- * Econt city ID
390
+ * Econt city ID (stored as string)
391
391
  */
392
- econtCityId: number;
392
+ econtCityId: string;
393
393
  }
394
394
  /**
395
395
  * Econt Office entity returned from the API
@@ -400,13 +400,9 @@ interface EcontOffice {
400
400
  */
401
401
  id: string;
402
402
  /**
403
- * Econt office ID
404
- */
405
- econtId: number;
406
- /**
407
- * Econt office code
403
+ * Econt office ID (stored as string)
408
404
  */
409
- econtCode: string;
405
+ econtId: string;
410
406
  /**
411
407
  * Office name in local language
412
408
  */
@@ -416,11 +412,11 @@ interface EcontOffice {
416
412
  */
417
413
  nameEn: string;
418
414
  /**
419
- * Econt city ID
415
+ * Econt city ID (stored as string)
420
416
  */
421
- econtCityId: number;
417
+ econtCityId: string;
422
418
  /**
423
- * Econt quarter ID
419
+ * Econt quarter ID (can be null)
424
420
  */
425
421
  econtQuarterId?: string | null;
426
422
  /**
@@ -448,21 +444,21 @@ interface EcontOffice {
448
444
  */
449
445
  info?: string | null;
450
446
  /**
451
- * Normal business hours start time (ISO 8601)
447
+ * Normal business hours start time
452
448
  */
453
- normalBusinessHoursFrom: string | Date;
449
+ normalBusinessHoursFrom: Date;
454
450
  /**
455
- * Normal business hours end time (ISO 8601)
451
+ * Normal business hours end time
456
452
  */
457
- normalBusinessHoursTo: string | Date;
453
+ normalBusinessHoursTo: Date;
458
454
  /**
459
- * Half day business hours start time (ISO 8601)
455
+ * Half day business hours start time
460
456
  */
461
- halfDayBusinessHoursFrom?: string | Date | null;
457
+ halfDayBusinessHoursFrom?: Date | null;
462
458
  /**
463
- * Half day business hours end time (ISO 8601)
459
+ * Half day business hours end time
464
460
  */
465
- halfDayBusinessHoursTo?: string | Date | null;
461
+ halfDayBusinessHoursTo?: Date | null;
466
462
  }
467
463
  /**
468
464
  * Econt Street entity returned from the API
@@ -473,13 +469,13 @@ interface EcontStreet {
473
469
  */
474
470
  id: string;
475
471
  /**
476
- * Econt street ID
472
+ * Econt street ID (stored as string)
477
473
  */
478
- econtId: number;
474
+ econtId: string;
479
475
  /**
480
- * Econt city ID
476
+ * Econt city ID (stored as string)
481
477
  */
482
- econtCityId: number;
478
+ econtCityId: string;
483
479
  /**
484
480
  * Street name in local language
485
481
  */
@@ -750,7 +746,7 @@ interface ListOfficesInput {
750
746
  interface ListOfficesOutput {
751
747
  /**
752
748
  * Array of offices with standard fields
753
- * Includes: id, econtId, econtCode, name, nameEn, econtCityId, econtQuarterId, fullAddress, etc.
749
+ * Includes: id, econtId, name, nameEn, econtCityId, econtQuarterId, fullAddress, etc.
754
750
  */
755
751
  offices: EcontOffice[];
756
752
  /**
package/dist/index.d.ts CHANGED
@@ -346,9 +346,9 @@ interface EcontCity {
346
346
  */
347
347
  id: string;
348
348
  /**
349
- * Econt API ID
349
+ * Econt API ID (stored as string)
350
350
  */
351
- econtId: number;
351
+ econtId: string;
352
352
  /**
353
353
  * City name in local language
354
354
  */
@@ -364,7 +364,7 @@ interface EcontCity {
364
364
  /**
365
365
  * Postal code for the city
366
366
  */
367
- postalCode: string;
367
+ postCode: string;
368
368
  }
369
369
  /**
370
370
  * Econt Quarter entity returned from the API
@@ -387,9 +387,9 @@ interface EcontQuarter {
387
387
  */
388
388
  nameEn: string;
389
389
  /**
390
- * Econt city ID
390
+ * Econt city ID (stored as string)
391
391
  */
392
- econtCityId: number;
392
+ econtCityId: string;
393
393
  }
394
394
  /**
395
395
  * Econt Office entity returned from the API
@@ -400,13 +400,9 @@ interface EcontOffice {
400
400
  */
401
401
  id: string;
402
402
  /**
403
- * Econt office ID
404
- */
405
- econtId: number;
406
- /**
407
- * Econt office code
403
+ * Econt office ID (stored as string)
408
404
  */
409
- econtCode: string;
405
+ econtId: string;
410
406
  /**
411
407
  * Office name in local language
412
408
  */
@@ -416,11 +412,11 @@ interface EcontOffice {
416
412
  */
417
413
  nameEn: string;
418
414
  /**
419
- * Econt city ID
415
+ * Econt city ID (stored as string)
420
416
  */
421
- econtCityId: number;
417
+ econtCityId: string;
422
418
  /**
423
- * Econt quarter ID
419
+ * Econt quarter ID (can be null)
424
420
  */
425
421
  econtQuarterId?: string | null;
426
422
  /**
@@ -448,21 +444,21 @@ interface EcontOffice {
448
444
  */
449
445
  info?: string | null;
450
446
  /**
451
- * Normal business hours start time (ISO 8601)
447
+ * Normal business hours start time
452
448
  */
453
- normalBusinessHoursFrom: string | Date;
449
+ normalBusinessHoursFrom: Date;
454
450
  /**
455
- * Normal business hours end time (ISO 8601)
451
+ * Normal business hours end time
456
452
  */
457
- normalBusinessHoursTo: string | Date;
453
+ normalBusinessHoursTo: Date;
458
454
  /**
459
- * Half day business hours start time (ISO 8601)
455
+ * Half day business hours start time
460
456
  */
461
- halfDayBusinessHoursFrom?: string | Date | null;
457
+ halfDayBusinessHoursFrom?: Date | null;
462
458
  /**
463
- * Half day business hours end time (ISO 8601)
459
+ * Half day business hours end time
464
460
  */
465
- halfDayBusinessHoursTo?: string | Date | null;
461
+ halfDayBusinessHoursTo?: Date | null;
466
462
  }
467
463
  /**
468
464
  * Econt Street entity returned from the API
@@ -473,13 +469,13 @@ interface EcontStreet {
473
469
  */
474
470
  id: string;
475
471
  /**
476
- * Econt street ID
472
+ * Econt street ID (stored as string)
477
473
  */
478
- econtId: number;
474
+ econtId: string;
479
475
  /**
480
- * Econt city ID
476
+ * Econt city ID (stored as string)
481
477
  */
482
- econtCityId: number;
478
+ econtCityId: string;
483
479
  /**
484
480
  * Street name in local language
485
481
  */
@@ -750,7 +746,7 @@ interface ListOfficesInput {
750
746
  interface ListOfficesOutput {
751
747
  /**
752
748
  * Array of offices with standard fields
753
- * Includes: id, econtId, econtCode, name, nameEn, econtCityId, econtQuarterId, fullAddress, etc.
749
+ * Includes: id, econtId, name, nameEn, econtCityId, econtQuarterId, fullAddress, etc.
754
750
  */
755
751
  offices: EcontOffice[];
756
752
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alphabite/medusa-sdk",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "Extended Medusa utility sdk client, that adds Alphabite's plugins endpoints",
5
5
  "author": "Alphabite",
6
6
  "license": "MIT",