@palmetto/dispatch-sdk 0.2.1 → 0.4.0
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/__generated__/schema.d.ts +248 -182
- package/dist/client.d.ts +28 -24
- package/dist/client.js +21 -7
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
|
@@ -175,6 +175,23 @@ export interface paths {
|
|
|
175
175
|
patch?: never;
|
|
176
176
|
trace?: never;
|
|
177
177
|
};
|
|
178
|
+
"/api/dispatches/{id}": {
|
|
179
|
+
parameters: {
|
|
180
|
+
query?: never;
|
|
181
|
+
header?: never;
|
|
182
|
+
path?: never;
|
|
183
|
+
cookie?: never;
|
|
184
|
+
};
|
|
185
|
+
/** Find Dispatch By ID */
|
|
186
|
+
get: operations["DispatchesController_findOne"];
|
|
187
|
+
put?: never;
|
|
188
|
+
post?: never;
|
|
189
|
+
delete?: never;
|
|
190
|
+
options?: never;
|
|
191
|
+
head?: never;
|
|
192
|
+
patch?: never;
|
|
193
|
+
trace?: never;
|
|
194
|
+
};
|
|
178
195
|
"/api/dispatches/{id}/status": {
|
|
179
196
|
parameters: {
|
|
180
197
|
query?: never;
|
|
@@ -249,6 +266,7 @@ export interface components {
|
|
|
249
266
|
totalPages: number;
|
|
250
267
|
};
|
|
251
268
|
ProjectDto: {
|
|
269
|
+
id: string;
|
|
252
270
|
account: {
|
|
253
271
|
/** @example acc_12345 */
|
|
254
272
|
id: string;
|
|
@@ -292,24 +310,26 @@ export interface components {
|
|
|
292
310
|
systemSize: number;
|
|
293
311
|
/** @example 12000 */
|
|
294
312
|
firstYearProduction: number;
|
|
295
|
-
/** @example 5 */
|
|
296
|
-
batterySize?: number;
|
|
297
313
|
};
|
|
298
314
|
pricing: {
|
|
299
315
|
/** @example 3.2 */
|
|
300
316
|
ppw: number;
|
|
301
317
|
};
|
|
318
|
+
storage?: {
|
|
319
|
+
/** @example 5 */
|
|
320
|
+
capacity: number;
|
|
321
|
+
};
|
|
302
322
|
utility: {
|
|
303
323
|
/** @example 12345 */
|
|
304
324
|
id: string;
|
|
305
325
|
};
|
|
306
326
|
/**
|
|
307
327
|
* @example [
|
|
308
|
-
* "
|
|
309
|
-
* "
|
|
328
|
+
* "SOLAR",
|
|
329
|
+
* "STORAGE"
|
|
310
330
|
* ]
|
|
311
331
|
*/
|
|
312
|
-
productTypes: ("
|
|
332
|
+
productTypes: ("SOLAR" | "STORAGE")[];
|
|
313
333
|
/** @constant */
|
|
314
334
|
isServiceable?: false;
|
|
315
335
|
meta: {
|
|
@@ -335,7 +355,6 @@ export interface components {
|
|
|
335
355
|
deletedAt?: string;
|
|
336
356
|
deletedBy?: string;
|
|
337
357
|
};
|
|
338
|
-
id: string;
|
|
339
358
|
};
|
|
340
359
|
BadRequestErrorDto: {
|
|
341
360
|
/**
|
|
@@ -426,24 +445,26 @@ export interface components {
|
|
|
426
445
|
systemSize: number;
|
|
427
446
|
/** @example 12000 */
|
|
428
447
|
firstYearProduction: number;
|
|
429
|
-
/** @example 5 */
|
|
430
|
-
batterySize?: number;
|
|
431
448
|
};
|
|
432
449
|
pricing: {
|
|
433
450
|
/** @example 3.2 */
|
|
434
451
|
ppw: number;
|
|
435
452
|
};
|
|
453
|
+
storage?: {
|
|
454
|
+
/** @example 5 */
|
|
455
|
+
capacity: number;
|
|
456
|
+
};
|
|
436
457
|
utility: {
|
|
437
458
|
/** @example 12345 */
|
|
438
459
|
id: string;
|
|
439
460
|
};
|
|
440
461
|
/**
|
|
441
462
|
* @example [
|
|
442
|
-
* "
|
|
443
|
-
* "
|
|
463
|
+
* "SOLAR",
|
|
464
|
+
* "STORAGE"
|
|
444
465
|
* ]
|
|
445
466
|
*/
|
|
446
|
-
productTypes: ("
|
|
467
|
+
productTypes: ("SOLAR" | "STORAGE")[];
|
|
447
468
|
};
|
|
448
469
|
ConflictErrorDto: {
|
|
449
470
|
/**
|
|
@@ -496,24 +517,26 @@ export interface components {
|
|
|
496
517
|
systemSize: number;
|
|
497
518
|
/** @example 12000 */
|
|
498
519
|
firstYearProduction: number;
|
|
499
|
-
/** @example 5 */
|
|
500
|
-
batterySize?: number;
|
|
501
520
|
};
|
|
502
521
|
pricing?: {
|
|
503
522
|
/** @example 3.2 */
|
|
504
523
|
ppw: number;
|
|
505
524
|
};
|
|
525
|
+
storage?: {
|
|
526
|
+
/** @example 5 */
|
|
527
|
+
capacity: number;
|
|
528
|
+
};
|
|
506
529
|
utility?: {
|
|
507
530
|
/** @example 12345 */
|
|
508
531
|
id: string;
|
|
509
532
|
};
|
|
510
533
|
/**
|
|
511
534
|
* @example [
|
|
512
|
-
* "
|
|
513
|
-
* "
|
|
535
|
+
* "SOLAR",
|
|
536
|
+
* "STORAGE"
|
|
514
537
|
* ]
|
|
515
538
|
*/
|
|
516
|
-
productTypes?: ("
|
|
539
|
+
productTypes?: ("SOLAR" | "STORAGE")[];
|
|
517
540
|
/** @constant */
|
|
518
541
|
isServiceable?: false;
|
|
519
542
|
};
|
|
@@ -534,8 +557,8 @@ export interface components {
|
|
|
534
557
|
reason: string;
|
|
535
558
|
};
|
|
536
559
|
CreateSupplierDto: {
|
|
537
|
-
|
|
538
|
-
/** @example
|
|
560
|
+
organization: {
|
|
561
|
+
/** @example org_12345 */
|
|
539
562
|
id: string;
|
|
540
563
|
/**
|
|
541
564
|
* @example LIGHT_REACH
|
|
@@ -563,55 +586,28 @@ export interface components {
|
|
|
563
586
|
};
|
|
564
587
|
};
|
|
565
588
|
aspects: {
|
|
566
|
-
/** @
|
|
567
|
-
minPpw
|
|
589
|
+
/** @example 2.5 */
|
|
590
|
+
minPpw: number;
|
|
568
591
|
/**
|
|
569
592
|
* @example [
|
|
570
|
-
* "
|
|
571
|
-
* "
|
|
593
|
+
* "SOLAR",
|
|
594
|
+
* "STORAGE"
|
|
572
595
|
* ]
|
|
573
596
|
*/
|
|
574
|
-
supportedProducts: ("
|
|
597
|
+
supportedProducts: ("SOLAR" | "STORAGE")[];
|
|
575
598
|
/**
|
|
576
|
-
* @example
|
|
599
|
+
* @example ELITE
|
|
577
600
|
* @enum {string}
|
|
578
601
|
*/
|
|
579
|
-
tier: "
|
|
602
|
+
tier: "PLATINUM" | "ELITE" | "PRO" | "CERTIFIED";
|
|
580
603
|
};
|
|
581
604
|
status: {
|
|
582
|
-
/**
|
|
583
|
-
|
|
584
|
-
* @constant
|
|
585
|
-
*/
|
|
586
|
-
code: "active";
|
|
605
|
+
/** @constant */
|
|
606
|
+
code: "ACTIVE";
|
|
587
607
|
} | {
|
|
588
|
-
/**
|
|
589
|
-
|
|
590
|
-
* @constant
|
|
591
|
-
*/
|
|
592
|
-
code: "inactive";
|
|
608
|
+
/** @constant */
|
|
609
|
+
code: "INACTIVE";
|
|
593
610
|
};
|
|
594
|
-
serviceAreas: {
|
|
595
|
-
point: {
|
|
596
|
-
/**
|
|
597
|
-
* @example Point
|
|
598
|
-
* @constant
|
|
599
|
-
*/
|
|
600
|
-
type: "Point";
|
|
601
|
-
/**
|
|
602
|
-
* @example [
|
|
603
|
-
* -71.0950429,
|
|
604
|
-
* 41.8714689
|
|
605
|
-
* ]
|
|
606
|
-
*/
|
|
607
|
-
coordinates: [
|
|
608
|
-
number,
|
|
609
|
-
number
|
|
610
|
-
];
|
|
611
|
-
};
|
|
612
|
-
/** @example 80467 */
|
|
613
|
-
radiusInMeters: number;
|
|
614
|
-
}[];
|
|
615
611
|
regions: {
|
|
616
612
|
/** @example MA */
|
|
617
613
|
region: string;
|
|
@@ -624,8 +620,9 @@ export interface components {
|
|
|
624
620
|
}[];
|
|
625
621
|
};
|
|
626
622
|
SupplierDto: {
|
|
627
|
-
|
|
628
|
-
|
|
623
|
+
id: string;
|
|
624
|
+
organization: {
|
|
625
|
+
/** @example org_12345 */
|
|
629
626
|
id: string;
|
|
630
627
|
/**
|
|
631
628
|
* @example LIGHT_REACH
|
|
@@ -658,54 +655,60 @@ export interface components {
|
|
|
658
655
|
minPpw: number;
|
|
659
656
|
/**
|
|
660
657
|
* @example [
|
|
661
|
-
* "
|
|
662
|
-
* "
|
|
658
|
+
* "SOLAR",
|
|
659
|
+
* "STORAGE"
|
|
663
660
|
* ]
|
|
664
661
|
*/
|
|
665
|
-
supportedProducts: ("
|
|
662
|
+
supportedProducts: ("SOLAR" | "STORAGE")[];
|
|
666
663
|
/**
|
|
667
|
-
* @example
|
|
664
|
+
* @example ELITE
|
|
668
665
|
* @enum {string}
|
|
669
666
|
*/
|
|
670
|
-
tier: "
|
|
667
|
+
tier: "PLATINUM" | "ELITE" | "PRO" | "CERTIFIED";
|
|
671
668
|
};
|
|
672
669
|
status: {
|
|
673
|
-
/**
|
|
674
|
-
|
|
675
|
-
* @constant
|
|
676
|
-
*/
|
|
677
|
-
code: "active";
|
|
670
|
+
/** @constant */
|
|
671
|
+
code: "ACTIVE";
|
|
678
672
|
/** Format: date-time */
|
|
679
673
|
statusUpdatedAt: string;
|
|
680
674
|
} | {
|
|
681
|
-
/**
|
|
682
|
-
|
|
683
|
-
* @constant
|
|
684
|
-
*/
|
|
685
|
-
code: "inactive";
|
|
675
|
+
/** @constant */
|
|
676
|
+
code: "INACTIVE";
|
|
686
677
|
/** Format: date-time */
|
|
687
678
|
statusUpdatedAt: string;
|
|
688
679
|
};
|
|
689
680
|
serviceAreas: {
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
681
|
+
address: {
|
|
682
|
+
/** @example 4 Bonnie Dr */
|
|
683
|
+
streetAddress: string;
|
|
684
|
+
/** @example Berkley */
|
|
685
|
+
locality: string;
|
|
686
|
+
/** @example MA */
|
|
687
|
+
region: string;
|
|
688
|
+
/** @example 02779 */
|
|
689
|
+
postalCode: string;
|
|
690
|
+
/** @example US */
|
|
691
|
+
country: string;
|
|
692
|
+
coordinates: {
|
|
693
|
+
/** @example 41.8714689 */
|
|
694
|
+
lat: number;
|
|
695
|
+
/** @example -71.0950429 */
|
|
696
|
+
lon: number;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
radius: {
|
|
696
700
|
/**
|
|
697
|
-
* @example
|
|
698
|
-
*
|
|
699
|
-
* 41.8714689
|
|
700
|
-
* ]
|
|
701
|
+
* @example MILES
|
|
702
|
+
* @enum {string}
|
|
701
703
|
*/
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
];
|
|
704
|
+
unit: "MILES" | "METERS";
|
|
705
|
+
/** @example 50 */
|
|
706
|
+
value: number;
|
|
706
707
|
};
|
|
707
|
-
/** @example
|
|
708
|
-
|
|
708
|
+
/** @example a1b2c3d4-e5f6-7890-abcd-ef1234567890 */
|
|
709
|
+
glideEntityId?: string;
|
|
710
|
+
/** @example a1b2c3d4-e5f6-7890-abcd-ef1234567890 */
|
|
711
|
+
glideDistanceConstraintId?: string;
|
|
709
712
|
}[];
|
|
710
713
|
regions: {
|
|
711
714
|
/** @example MA */
|
|
@@ -740,7 +743,6 @@ export interface components {
|
|
|
740
743
|
deletedAt?: string;
|
|
741
744
|
deletedBy?: string;
|
|
742
745
|
};
|
|
743
|
-
id: string;
|
|
744
746
|
};
|
|
745
747
|
UpdateSupplierDto: {
|
|
746
748
|
name?: string;
|
|
@@ -765,66 +767,88 @@ export interface components {
|
|
|
765
767
|
};
|
|
766
768
|
UpdateSupplierStatusDto: {
|
|
767
769
|
status: {
|
|
768
|
-
/**
|
|
769
|
-
|
|
770
|
-
* @constant
|
|
771
|
-
*/
|
|
772
|
-
code: "active";
|
|
770
|
+
/** @constant */
|
|
771
|
+
code: "ACTIVE";
|
|
773
772
|
} | {
|
|
774
|
-
/**
|
|
775
|
-
|
|
776
|
-
* @constant
|
|
777
|
-
*/
|
|
778
|
-
code: "inactive";
|
|
773
|
+
/** @constant */
|
|
774
|
+
code: "INACTIVE";
|
|
779
775
|
};
|
|
780
776
|
};
|
|
781
777
|
CreateServiceAreaDto: {
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
778
|
+
address: {
|
|
779
|
+
/** @example 4 Bonnie Dr */
|
|
780
|
+
streetAddress: string;
|
|
781
|
+
/** @example Berkley */
|
|
782
|
+
locality: string;
|
|
783
|
+
/** @example MA */
|
|
784
|
+
region: string;
|
|
785
|
+
/** @example 02779 */
|
|
786
|
+
postalCode: string;
|
|
787
|
+
/** @example US */
|
|
788
|
+
country: string;
|
|
789
|
+
coordinates: {
|
|
790
|
+
/** @example 41.8714689 */
|
|
791
|
+
lat: number;
|
|
792
|
+
/** @example -71.0950429 */
|
|
793
|
+
lon: number;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
radius: {
|
|
788
797
|
/**
|
|
789
|
-
* @example
|
|
790
|
-
*
|
|
791
|
-
* 41.8714689
|
|
792
|
-
* ]
|
|
798
|
+
* @example MILES
|
|
799
|
+
* @enum {string}
|
|
793
800
|
*/
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
];
|
|
801
|
+
unit: "MILES" | "METERS";
|
|
802
|
+
/** @example 50 */
|
|
803
|
+
value: number;
|
|
798
804
|
};
|
|
799
|
-
/** @example 80467 */
|
|
800
|
-
radiusInMeters: number;
|
|
801
805
|
};
|
|
802
806
|
UpdateServiceAreaDto: {
|
|
803
|
-
|
|
807
|
+
radius: {
|
|
808
|
+
/**
|
|
809
|
+
* @example MILES
|
|
810
|
+
* @enum {string}
|
|
811
|
+
*/
|
|
812
|
+
unit: "MILES" | "METERS";
|
|
813
|
+
/** @example 50 */
|
|
814
|
+
value: number;
|
|
815
|
+
};
|
|
804
816
|
};
|
|
805
817
|
ListDto: {
|
|
806
818
|
data: unknown[];
|
|
807
819
|
};
|
|
808
820
|
ServiceAreaDto: {
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
821
|
+
address: {
|
|
822
|
+
/** @example 4 Bonnie Dr */
|
|
823
|
+
streetAddress: string;
|
|
824
|
+
/** @example Berkley */
|
|
825
|
+
locality: string;
|
|
826
|
+
/** @example MA */
|
|
827
|
+
region: string;
|
|
828
|
+
/** @example 02779 */
|
|
829
|
+
postalCode: string;
|
|
830
|
+
/** @example US */
|
|
831
|
+
country: string;
|
|
832
|
+
coordinates: {
|
|
833
|
+
/** @example 41.8714689 */
|
|
834
|
+
lat: number;
|
|
835
|
+
/** @example -71.0950429 */
|
|
836
|
+
lon: number;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
radius: {
|
|
815
840
|
/**
|
|
816
|
-
* @example
|
|
817
|
-
*
|
|
818
|
-
* 41.8714689
|
|
819
|
-
* ]
|
|
841
|
+
* @example MILES
|
|
842
|
+
* @enum {string}
|
|
820
843
|
*/
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
];
|
|
844
|
+
unit: "MILES" | "METERS";
|
|
845
|
+
/** @example 50 */
|
|
846
|
+
value: number;
|
|
825
847
|
};
|
|
826
|
-
/** @example
|
|
827
|
-
|
|
848
|
+
/** @example a1b2c3d4-e5f6-7890-abcd-ef1234567890 */
|
|
849
|
+
glideEntityId?: string;
|
|
850
|
+
/** @example a1b2c3d4-e5f6-7890-abcd-ef1234567890 */
|
|
851
|
+
glideDistanceConstraintId?: string;
|
|
828
852
|
};
|
|
829
853
|
UpsertSupplierRegionDto: {
|
|
830
854
|
capacity: {
|
|
@@ -838,45 +862,34 @@ export interface components {
|
|
|
838
862
|
projectId: string;
|
|
839
863
|
};
|
|
840
864
|
DispatchDto: {
|
|
865
|
+
id: string;
|
|
841
866
|
/** @example 507f1f77bcf86cd799439011 */
|
|
842
867
|
projectId: string;
|
|
843
868
|
/** @example 507f1f77bcf86cd799439012 */
|
|
844
869
|
supplierId: string;
|
|
845
870
|
status: {
|
|
846
|
-
/**
|
|
847
|
-
|
|
848
|
-
* @constant
|
|
849
|
-
*/
|
|
850
|
-
code: "pending";
|
|
871
|
+
/** @constant */
|
|
872
|
+
code: "PENDING";
|
|
851
873
|
/** Format: date-time */
|
|
852
874
|
statusUpdatedAt: string;
|
|
853
875
|
} | {
|
|
854
|
-
/**
|
|
855
|
-
|
|
856
|
-
* @constant
|
|
857
|
-
*/
|
|
858
|
-
code: "accepted";
|
|
876
|
+
/** @constant */
|
|
877
|
+
code: "ACCEPTED";
|
|
859
878
|
/** Format: date-time */
|
|
860
879
|
statusUpdatedAt: string;
|
|
861
880
|
} | {
|
|
881
|
+
/** @constant */
|
|
882
|
+
code: "REJECTED";
|
|
862
883
|
/**
|
|
863
|
-
* @example
|
|
864
|
-
* @constant
|
|
865
|
-
*/
|
|
866
|
-
code: "rejected";
|
|
867
|
-
/**
|
|
868
|
-
* @example capacity
|
|
884
|
+
* @example CAPACITY
|
|
869
885
|
* @enum {string}
|
|
870
886
|
*/
|
|
871
|
-
reason: "
|
|
887
|
+
reason: "CAPACITY" | "EQUIPEMENT" | "DISTANCE" | "PRICING" | "NOT_INTERESTED" | "OTHER";
|
|
872
888
|
/** Format: date-time */
|
|
873
889
|
statusUpdatedAt: string;
|
|
874
890
|
} | {
|
|
875
|
-
/**
|
|
876
|
-
|
|
877
|
-
* @constant
|
|
878
|
-
*/
|
|
879
|
-
code: "withdrawn";
|
|
891
|
+
/** @constant */
|
|
892
|
+
code: "WITHDRAWN";
|
|
880
893
|
/** Format: date-time */
|
|
881
894
|
statusUpdatedAt: string;
|
|
882
895
|
};
|
|
@@ -915,38 +928,25 @@ export interface components {
|
|
|
915
928
|
deletedAt?: string;
|
|
916
929
|
deletedBy?: string;
|
|
917
930
|
};
|
|
918
|
-
id: string;
|
|
919
931
|
};
|
|
920
932
|
UpdateDispatchStatusDto: {
|
|
921
933
|
status: {
|
|
922
|
-
/**
|
|
923
|
-
|
|
924
|
-
* @constant
|
|
925
|
-
*/
|
|
926
|
-
code: "pending";
|
|
934
|
+
/** @constant */
|
|
935
|
+
code: "PENDING";
|
|
927
936
|
} | {
|
|
928
|
-
/**
|
|
929
|
-
|
|
930
|
-
* @constant
|
|
931
|
-
*/
|
|
932
|
-
code: "accepted";
|
|
937
|
+
/** @constant */
|
|
938
|
+
code: "ACCEPTED";
|
|
933
939
|
} | {
|
|
940
|
+
/** @constant */
|
|
941
|
+
code: "REJECTED";
|
|
934
942
|
/**
|
|
935
|
-
* @example
|
|
936
|
-
* @constant
|
|
937
|
-
*/
|
|
938
|
-
code: "rejected";
|
|
939
|
-
/**
|
|
940
|
-
* @example capacity
|
|
943
|
+
* @example CAPACITY
|
|
941
944
|
* @enum {string}
|
|
942
945
|
*/
|
|
943
|
-
reason: "
|
|
946
|
+
reason: "CAPACITY" | "EQUIPEMENT" | "DISTANCE" | "PRICING" | "NOT_INTERESTED" | "OTHER";
|
|
944
947
|
} | {
|
|
945
|
-
/**
|
|
946
|
-
|
|
947
|
-
* @constant
|
|
948
|
-
*/
|
|
949
|
-
code: "withdrawn";
|
|
948
|
+
/** @constant */
|
|
949
|
+
code: "WITHDRAWN";
|
|
950
950
|
};
|
|
951
951
|
};
|
|
952
952
|
};
|
|
@@ -1193,12 +1193,12 @@ export interface operations {
|
|
|
1193
1193
|
query?: {
|
|
1194
1194
|
page?: number;
|
|
1195
1195
|
limit?: number;
|
|
1196
|
-
"
|
|
1196
|
+
"organization.id"?: string;
|
|
1197
1197
|
name?: string;
|
|
1198
|
-
"status.code"?: "
|
|
1198
|
+
"status.code"?: "ACTIVE" | "INACTIVE";
|
|
1199
1199
|
"aspects.minPpw"?: number;
|
|
1200
|
-
"aspects.supportedProducts"?: "
|
|
1201
|
-
"aspects.tier"?: "
|
|
1200
|
+
"aspects.supportedProducts"?: "SOLAR" | "STORAGE";
|
|
1201
|
+
"aspects.tier"?: "PLATINUM" | "ELITE" | "PRO" | "CERTIFIED";
|
|
1202
1202
|
"regions.region"?: string;
|
|
1203
1203
|
"regions.capacity"?: number;
|
|
1204
1204
|
};
|
|
@@ -2075,6 +2075,72 @@ export interface operations {
|
|
|
2075
2075
|
};
|
|
2076
2076
|
};
|
|
2077
2077
|
};
|
|
2078
|
+
DispatchesController_findOne: {
|
|
2079
|
+
parameters: {
|
|
2080
|
+
query?: never;
|
|
2081
|
+
header?: never;
|
|
2082
|
+
path: {
|
|
2083
|
+
id: string;
|
|
2084
|
+
};
|
|
2085
|
+
cookie?: never;
|
|
2086
|
+
};
|
|
2087
|
+
requestBody?: never;
|
|
2088
|
+
responses: {
|
|
2089
|
+
200: {
|
|
2090
|
+
headers: {
|
|
2091
|
+
[name: string]: unknown;
|
|
2092
|
+
};
|
|
2093
|
+
content: {
|
|
2094
|
+
"application/json": components["schemas"]["DispatchDto"];
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
/** @description When the ID is invalid */
|
|
2098
|
+
400: {
|
|
2099
|
+
headers: {
|
|
2100
|
+
[name: string]: unknown;
|
|
2101
|
+
};
|
|
2102
|
+
content: {
|
|
2103
|
+
"application/json": components["schemas"]["BadRequestErrorDto"];
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
/** @description When authentication fails */
|
|
2107
|
+
401: {
|
|
2108
|
+
headers: {
|
|
2109
|
+
[name: string]: unknown;
|
|
2110
|
+
};
|
|
2111
|
+
content: {
|
|
2112
|
+
"application/json": components["schemas"]["UnauthorizedErrorDto"];
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
/** @description When the requesting user is not allowed to perform this action */
|
|
2116
|
+
403: {
|
|
2117
|
+
headers: {
|
|
2118
|
+
[name: string]: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
content: {
|
|
2121
|
+
"application/json": components["schemas"]["ForbiddenErrorDto"];
|
|
2122
|
+
};
|
|
2123
|
+
};
|
|
2124
|
+
/** @description When the dispatch is not found */
|
|
2125
|
+
404: {
|
|
2126
|
+
headers: {
|
|
2127
|
+
[name: string]: unknown;
|
|
2128
|
+
};
|
|
2129
|
+
content: {
|
|
2130
|
+
"application/json": components["schemas"]["NotFoundErrorDto"];
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
/** @description When the request is valid, but something goes wrong on the server */
|
|
2134
|
+
500: {
|
|
2135
|
+
headers: {
|
|
2136
|
+
[name: string]: unknown;
|
|
2137
|
+
};
|
|
2138
|
+
content: {
|
|
2139
|
+
"application/json": components["schemas"]["InternalServerErrorDto"];
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2078
2144
|
DispatchesController_updateStatus: {
|
|
2079
2145
|
parameters: {
|
|
2080
2146
|
query?: never;
|
package/dist/client.d.ts
CHANGED
|
@@ -5,48 +5,49 @@ export type CreateDispatchClientInput = Omit<CreateSdkClientInput, "sdkVersion">
|
|
|
5
5
|
export declare class DispatchClient extends BaseSdkClient<paths> {
|
|
6
6
|
constructor(input: CreateDispatchClientInput);
|
|
7
7
|
healthCheck(_input?: HealthCheckInput, options?: RequestOptions): Promise<HealthCheckResult>;
|
|
8
|
-
|
|
8
|
+
getSuppliers(input?: GetSuppliersInput, options?: RequestOptions): Promise<GetSuppliersResult>;
|
|
9
9
|
createSupplier(input: CreateSupplierInput, options?: RequestOptions): Promise<CreateSupplierResult>;
|
|
10
|
-
|
|
10
|
+
getSupplier({ id }: GetSupplierInput, options?: RequestOptions): Promise<GetSupplierResult>;
|
|
11
11
|
updateSupplier({ id, ...input }: UpdateSupplierInput, options?: RequestOptions): Promise<UpdateSupplierResult>;
|
|
12
12
|
updateSupplierStatus({ id, ...input }: UpdateSupplierStatusInput, options?: RequestOptions): Promise<UpdateSupplierStatusResult>;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
getSupplierServiceAreas({ id }: GetSupplierServiceAreasInput, options?: RequestOptions): Promise<GetSupplierServiceAreasResult>;
|
|
14
|
+
createSupplierServiceArea({ id, ...input }: CreateSupplierServiceAreaInput, options?: RequestOptions): Promise<CreateSupplierServiceAreaResult>;
|
|
15
15
|
removeSupplierServiceArea(input: RemoveSupplierServiceAreaInput, options?: RequestOptions): Promise<RemoveSupplierServiceAreaResult>;
|
|
16
16
|
updateSupplierServiceArea({ id, serviceAreaId, ...input }: UpdateSupplierServiceAreaInput, options?: RequestOptions): Promise<UpdateSupplierServiceAreaResult>;
|
|
17
17
|
upsertSupplierRegion({ id, region, ...input }: UpsertSupplierRegionInput, options?: RequestOptions): Promise<UpsertSupplierRegionResult>;
|
|
18
18
|
removeSupplierRegion(input: RemoveSupplierRegionInput, options?: RequestOptions): Promise<RemoveSupplierRegionResult>;
|
|
19
|
-
|
|
19
|
+
getProjects(input?: GetProjectsInput, options?: RequestOptions): Promise<GetProjectsResult>;
|
|
20
20
|
createProject(input: CreateProjectInput, options?: RequestOptions): Promise<CreateProjectResult>;
|
|
21
21
|
updateProject({ id, ...input }: UpdateProjectInput, options?: RequestOptions): Promise<UpdateProjectResult>;
|
|
22
22
|
createDispatch(input: CreateDispatchInput, options?: RequestOptions): Promise<CreateDispatchResult>;
|
|
23
|
-
|
|
23
|
+
getDispatches(input?: GetDispatchesInput, options?: RequestOptions): Promise<GetDispatchesResult>;
|
|
24
|
+
getDispatch({ id }: GetDispatchInput, options?: RequestOptions): Promise<GetDispatchResult>;
|
|
24
25
|
updateDispatchStatus({ id, ...input }: UpdateDispatchStatusInput, options?: RequestOptions): Promise<UpdateDispatchStatusResult>;
|
|
25
26
|
}
|
|
26
27
|
export type HealthCheckInput = ApiInput<paths["/api/health"]["get"]>;
|
|
27
28
|
export type HealthCheckResult = SdkResult<paths["/api/health"]["get"]>;
|
|
28
29
|
export type HealthCheckResponse = ExtractResultData<HealthCheckResult>;
|
|
29
|
-
export type
|
|
30
|
-
export type
|
|
31
|
-
export type
|
|
30
|
+
export type GetSuppliersInput = ApiInput<paths["/api/suppliers"]["get"]>;
|
|
31
|
+
export type GetSuppliersResult = SdkResult<paths["/api/suppliers"]["get"]>;
|
|
32
|
+
export type GetSuppliersResponse = ExtractResultData<GetSuppliersResult>;
|
|
32
33
|
export type CreateSupplierInput = ApiInput<paths["/api/suppliers"]["post"]>;
|
|
33
34
|
export type CreateSupplierResult = SdkResult<paths["/api/suppliers"]["post"]>;
|
|
34
35
|
export type CreateSupplierResponse = ExtractResultData<CreateSupplierResult>;
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
36
|
+
export type GetSupplierInput = ApiInput<paths["/api/suppliers/{id}"]["get"]>;
|
|
37
|
+
export type GetSupplierResult = SdkResult<paths["/api/suppliers/{id}"]["get"]>;
|
|
38
|
+
export type GetSupplierResponse = ExtractResultData<GetSupplierResult>;
|
|
38
39
|
export type UpdateSupplierInput = ApiInput<paths["/api/suppliers/{id}"]["patch"]>;
|
|
39
40
|
export type UpdateSupplierResult = SdkResult<paths["/api/suppliers/{id}"]["patch"]>;
|
|
40
41
|
export type UpdateSupplierResponse = ExtractResultData<UpdateSupplierResult>;
|
|
41
42
|
export type UpdateSupplierStatusInput = ApiInput<paths["/api/suppliers/{id}/status"]["patch"]>;
|
|
42
43
|
export type UpdateSupplierStatusResult = SdkResult<paths["/api/suppliers/{id}/status"]["patch"]>;
|
|
43
44
|
export type UpdateSupplierStatusResponse = ExtractResultData<UpdateSupplierStatusResult>;
|
|
44
|
-
export type
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
45
|
+
export type GetSupplierServiceAreasInput = ApiInput<paths["/api/suppliers/{id}/service-areas"]["get"]>;
|
|
46
|
+
export type GetSupplierServiceAreasResult = SdkResult<paths["/api/suppliers/{id}/service-areas"]["get"]>;
|
|
47
|
+
export type GetSupplierServiceAreasResponse = ExtractResultData<GetSupplierServiceAreasResult>;
|
|
48
|
+
export type CreateSupplierServiceAreaInput = ApiInput<paths["/api/suppliers/{id}/service-areas"]["post"]>;
|
|
49
|
+
export type CreateSupplierServiceAreaResult = SdkResult<paths["/api/suppliers/{id}/service-areas"]["post"]>;
|
|
50
|
+
export type CreateSupplierServiceAreaResponse = ExtractResultData<CreateSupplierServiceAreaResult>;
|
|
50
51
|
export type RemoveSupplierServiceAreaInput = ApiInput<paths["/api/suppliers/{id}/service-areas/{serviceAreaId}"]["delete"]>;
|
|
51
52
|
export type RemoveSupplierServiceAreaResult = SdkResult<paths["/api/suppliers/{id}/service-areas/{serviceAreaId}"]["delete"]>;
|
|
52
53
|
export type RemoveSupplierServiceAreaResponse = ExtractResultData<RemoveSupplierServiceAreaResult>;
|
|
@@ -59,9 +60,9 @@ export type UpsertSupplierRegionResponse = ExtractResultData<UpsertSupplierRegio
|
|
|
59
60
|
export type RemoveSupplierRegionInput = ApiInput<paths["/api/suppliers/{id}/regions/{region}"]["delete"]>;
|
|
60
61
|
export type RemoveSupplierRegionResult = SdkResult<paths["/api/suppliers/{id}/regions/{region}"]["delete"]>;
|
|
61
62
|
export type RemoveSupplierRegionResponse = ExtractResultData<RemoveSupplierRegionResult>;
|
|
62
|
-
export type
|
|
63
|
-
export type
|
|
64
|
-
export type
|
|
63
|
+
export type GetProjectsInput = ApiInput<paths["/api/projects"]["get"]>;
|
|
64
|
+
export type GetProjectsResult = SdkResult<paths["/api/projects"]["get"]>;
|
|
65
|
+
export type GetProjectsResponse = ExtractResultData<GetProjectsResult>;
|
|
65
66
|
export type CreateProjectInput = ApiInput<paths["/api/projects"]["post"]>;
|
|
66
67
|
export type CreateProjectResult = SdkResult<paths["/api/projects"]["post"]>;
|
|
67
68
|
export type CreateProjectResponse = ExtractResultData<CreateProjectResult>;
|
|
@@ -71,9 +72,12 @@ export type UpdateProjectResponse = ExtractResultData<UpdateProjectResult>;
|
|
|
71
72
|
export type CreateDispatchInput = ApiInput<paths["/api/dispatches"]["post"]>;
|
|
72
73
|
export type CreateDispatchResult = SdkResult<paths["/api/dispatches"]["post"]>;
|
|
73
74
|
export type CreateDispatchResponse = ExtractResultData<CreateDispatchResult>;
|
|
74
|
-
export type
|
|
75
|
-
export type
|
|
76
|
-
export type
|
|
75
|
+
export type GetDispatchesInput = ApiInput<paths["/api/dispatches"]["get"]>;
|
|
76
|
+
export type GetDispatchesResult = SdkResult<paths["/api/dispatches"]["get"]>;
|
|
77
|
+
export type GetDispatchesResponse = ExtractResultData<GetDispatchesResult>;
|
|
78
|
+
export type GetDispatchInput = paths["/api/dispatches/{id}"]["get"]["parameters"]["path"];
|
|
79
|
+
export type GetDispatchResult = SdkResult<paths["/api/dispatches/{id}"]["get"]>;
|
|
80
|
+
export type GetDispatchResponse = ExtractResultData<GetDispatchResult>;
|
|
77
81
|
export type UpdateDispatchStatusInput = ApiInput<paths["/api/dispatches/{id}/status"]["patch"]>;
|
|
78
82
|
export type UpdateDispatchStatusResult = SdkResult<paths["/api/dispatches/{id}/status"]["patch"]>;
|
|
79
83
|
export type UpdateDispatchStatusResponse = ExtractResultData<UpdateDispatchStatusResult>;
|
package/dist/client.js
CHANGED
|
@@ -23,7 +23,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
23
23
|
exports.DispatchClient = void 0;
|
|
24
24
|
const base_sdk_client_1 = require("@palmetto/base-sdk-client");
|
|
25
25
|
const result_1 = require("@palmetto/result");
|
|
26
|
-
const SDK_VERSION_SLUG = "palmetto-dispatch-sdk/0.
|
|
26
|
+
const SDK_VERSION_SLUG = "palmetto-dispatch-sdk/0.3.0";
|
|
27
27
|
class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
28
28
|
constructor(input) {
|
|
29
29
|
super(Object.assign(Object.assign({}, input), { sdkVersion: SDK_VERSION_SLUG }));
|
|
@@ -39,7 +39,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
39
39
|
return this.handleErrorResponse(error, response);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
getSuppliers(input, options) {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44
44
|
const { data, error, response } = yield this.client.GET("/api/suppliers", {
|
|
45
45
|
params: {
|
|
@@ -65,7 +65,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
65
65
|
return this.handleErrorResponse(error, response);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
getSupplier(_a, options_1) {
|
|
69
69
|
return __awaiter(this, arguments, void 0, function* ({ id }, options) {
|
|
70
70
|
const { data, error, response } = yield this.client.GET("/api/suppliers/{id}", {
|
|
71
71
|
params: {
|
|
@@ -111,7 +111,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
111
111
|
return this.handleErrorResponse(error, response);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
getSupplierServiceAreas(_a, options_1) {
|
|
115
115
|
return __awaiter(this, arguments, void 0, function* ({ id }, options) {
|
|
116
116
|
const { data, error, response } = yield this.client.GET("/api/suppliers/{id}/service-areas", {
|
|
117
117
|
params: {
|
|
@@ -125,7 +125,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
125
125
|
return this.handleErrorResponse(error, response);
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
createSupplierServiceArea(_a, options) {
|
|
129
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
130
|
var { id } = _a, input = __rest(_a, ["id"]);
|
|
131
131
|
const { data, error, response } = yield this.client.POST("/api/suppliers/{id}/service-areas", {
|
|
@@ -201,7 +201,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
201
201
|
return this.handleErrorResponse(error, response);
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
getProjects(input, options) {
|
|
205
205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
206
206
|
const { data, error, response } = yield this.client.GET("/api/projects", {
|
|
207
207
|
params: {
|
|
@@ -255,7 +255,7 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
255
255
|
return this.handleErrorResponse(error, response);
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
getDispatches(input, options) {
|
|
259
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
260
260
|
const { data, error, response } = yield this.client.GET("/api/dispatches", {
|
|
261
261
|
params: {
|
|
@@ -269,6 +269,20 @@ class DispatchClient extends base_sdk_client_1.BaseSdkClient {
|
|
|
269
269
|
return this.handleErrorResponse(error, response);
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
+
getDispatch(_a, options_1) {
|
|
273
|
+
return __awaiter(this, arguments, void 0, function* ({ id }, options) {
|
|
274
|
+
const { data, error, response } = yield this.client.GET("/api/dispatches/{id}", {
|
|
275
|
+
params: {
|
|
276
|
+
path: { id },
|
|
277
|
+
},
|
|
278
|
+
headers: this.generateHeaders(options),
|
|
279
|
+
});
|
|
280
|
+
if (data) {
|
|
281
|
+
return (0, result_1.Ok)(data);
|
|
282
|
+
}
|
|
283
|
+
return this.handleErrorResponse(error, response);
|
|
284
|
+
});
|
|
285
|
+
}
|
|
272
286
|
updateDispatchStatus(_a, options) {
|
|
273
287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
274
288
|
var { id } = _a, input = __rest(_a, ["id"]);
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAMmC;AACnC,6CAAyD;AAIzD,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AAOvD,MAAa,cAAe,SAAQ,+BAAoB;IACtD,YAAY,KAAgC;QAC1C,KAAK,iCAAM,KAAK,KAAE,UAAU,EAAE,gBAAgB,IAAG,CAAC;IACpD,CAAC;IAEK,WAAW,CACf,MAAyB,EACzB,OAAwB;;YAExB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE;gBACrE,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC;aACvC,CAAC,CAAC;YAEH,IAAI,IAAI,EAAE,CAAC;gBACT,OAAO,IAAA,WAAE,EA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