@alphabite/medusa-sdk 0.6.9 → 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 +22 -26
- package/dist/index.d.ts +22 -26
- package/package.json +1 -1
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:
|
|
351
|
+
econtId: string;
|
|
352
352
|
/**
|
|
353
353
|
* City name in local language
|
|
354
354
|
*/
|
|
@@ -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:
|
|
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
|
-
|
|
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:
|
|
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
|
|
447
|
+
* Normal business hours start time
|
|
452
448
|
*/
|
|
453
|
-
normalBusinessHoursFrom:
|
|
449
|
+
normalBusinessHoursFrom: Date;
|
|
454
450
|
/**
|
|
455
|
-
* Normal business hours end time
|
|
451
|
+
* Normal business hours end time
|
|
456
452
|
*/
|
|
457
|
-
normalBusinessHoursTo:
|
|
453
|
+
normalBusinessHoursTo: Date;
|
|
458
454
|
/**
|
|
459
|
-
* Half day business hours start time
|
|
455
|
+
* Half day business hours start time
|
|
460
456
|
*/
|
|
461
|
-
halfDayBusinessHoursFrom?:
|
|
457
|
+
halfDayBusinessHoursFrom?: Date | null;
|
|
462
458
|
/**
|
|
463
|
-
* Half day business hours end time
|
|
459
|
+
* Half day business hours end time
|
|
464
460
|
*/
|
|
465
|
-
halfDayBusinessHoursTo?:
|
|
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:
|
|
474
|
+
econtId: string;
|
|
479
475
|
/**
|
|
480
|
-
* Econt city ID
|
|
476
|
+
* Econt city ID (stored as string)
|
|
481
477
|
*/
|
|
482
|
-
econtCityId:
|
|
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,
|
|
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:
|
|
351
|
+
econtId: string;
|
|
352
352
|
/**
|
|
353
353
|
* City name in local language
|
|
354
354
|
*/
|
|
@@ -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:
|
|
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
|
-
|
|
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:
|
|
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
|
|
447
|
+
* Normal business hours start time
|
|
452
448
|
*/
|
|
453
|
-
normalBusinessHoursFrom:
|
|
449
|
+
normalBusinessHoursFrom: Date;
|
|
454
450
|
/**
|
|
455
|
-
* Normal business hours end time
|
|
451
|
+
* Normal business hours end time
|
|
456
452
|
*/
|
|
457
|
-
normalBusinessHoursTo:
|
|
453
|
+
normalBusinessHoursTo: Date;
|
|
458
454
|
/**
|
|
459
|
-
* Half day business hours start time
|
|
455
|
+
* Half day business hours start time
|
|
460
456
|
*/
|
|
461
|
-
halfDayBusinessHoursFrom?:
|
|
457
|
+
halfDayBusinessHoursFrom?: Date | null;
|
|
462
458
|
/**
|
|
463
|
-
* Half day business hours end time
|
|
459
|
+
* Half day business hours end time
|
|
464
460
|
*/
|
|
465
|
-
halfDayBusinessHoursTo?:
|
|
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:
|
|
474
|
+
econtId: string;
|
|
479
475
|
/**
|
|
480
|
-
* Econt city ID
|
|
476
|
+
* Econt city ID (stored as string)
|
|
481
477
|
*/
|
|
482
|
-
econtCityId:
|
|
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,
|
|
749
|
+
* Includes: id, econtId, name, nameEn, econtCityId, econtQuarterId, fullAddress, etc.
|
|
754
750
|
*/
|
|
755
751
|
offices: EcontOffice[];
|
|
756
752
|
/**
|