@sp-api-sdk/services-api-v1 4.0.1 → 4.0.2
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/cjs/api-model/api/services-api.js +0 -32
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/cjs/api-model/models/capacity-type.js +0 -2
- package/dist/cjs/api-model/models/day-of-week.js +0 -2
- package/dist/es/api-model/api/services-api.js +0 -32
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/es/api-model/models/capacity-type.js +0 -2
- package/dist/es/api-model/models/day-of-week.js +0 -2
- package/dist/types/api-model/api/services-api.d.ts +0 -187
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/add-appointment-request.d.ts +0 -7
- package/dist/types/api-model/models/address.d.ts +0 -24
- package/dist/types/api-model/models/appointment-resource.d.ts +0 -4
- package/dist/types/api-model/models/appointment-slot-report.d.ts +0 -10
- package/dist/types/api-model/models/appointment-slot.d.ts +0 -8
- package/dist/types/api-model/models/appointment-time-input.d.ts +0 -6
- package/dist/types/api-model/models/appointment-time.d.ts +0 -6
- package/dist/types/api-model/models/appointment.d.ts +0 -20
- package/dist/types/api-model/models/assign-appointment-resources-request.d.ts +0 -4
- package/dist/types/api-model/models/assign-appointment-resources-response-payload.d.ts +0 -4
- package/dist/types/api-model/models/assign-appointment-resources-response.d.ts +0 -9
- package/dist/types/api-model/models/associated-item.d.ts +0 -19
- package/dist/types/api-model/models/availability-record.d.ts +0 -13
- package/dist/types/api-model/models/buyer.d.ts +0 -10
- package/dist/types/api-model/models/cancel-reservation-response.d.ts +0 -4
- package/dist/types/api-model/models/cancel-service-job-by-service-job-id-response.d.ts +0 -4
- package/dist/types/api-model/models/capacity-type.d.ts +0 -2
- package/dist/types/api-model/models/complete-service-job-by-service-job-id-response.d.ts +0 -4
- package/dist/types/api-model/models/create-reservation-record.d.ts +0 -11
- package/dist/types/api-model/models/create-reservation-request.d.ts +0 -9
- package/dist/types/api-model/models/create-reservation-response.d.ts +0 -9
- package/dist/types/api-model/models/create-service-document-upload-destination.d.ts +0 -9
- package/dist/types/api-model/models/date-time-range.d.ts +0 -6
- package/dist/types/api-model/models/day-of-week.d.ts +0 -2
- package/dist/types/api-model/models/encryption-details.d.ts +0 -8
- package/dist/types/api-model/models/fixed-slot-capacity-errors.d.ts +0 -4
- package/dist/types/api-model/models/fixed-slot-capacity-query.d.ts +0 -10
- package/dist/types/api-model/models/fixed-slot-capacity.d.ts +0 -10
- package/dist/types/api-model/models/fixed-slot.d.ts +0 -12
- package/dist/types/api-model/models/fulfillment-document.d.ts +0 -6
- package/dist/types/api-model/models/fulfillment-time.d.ts +0 -6
- package/dist/types/api-model/models/get-appointment-slots-response.d.ts +0 -9
- package/dist/types/api-model/models/get-service-job-by-service-job-id-response.d.ts +0 -9
- package/dist/types/api-model/models/get-service-jobs-response.d.ts +0 -9
- package/dist/types/api-model/models/item-delivery-promise.d.ts +0 -6
- package/dist/types/api-model/models/item-delivery.d.ts +0 -9
- package/dist/types/api-model/models/job-listing.d.ts +0 -10
- package/dist/types/api-model/models/model-error.d.ts +0 -10
- package/dist/types/api-model/models/poa.d.ts +0 -15
- package/dist/types/api-model/models/range-capacity.d.ts +0 -9
- package/dist/types/api-model/models/range-slot-capacity-errors.d.ts +0 -4
- package/dist/types/api-model/models/range-slot-capacity-query.d.ts +0 -8
- package/dist/types/api-model/models/range-slot-capacity.d.ts +0 -8
- package/dist/types/api-model/models/range-slot.d.ts +0 -8
- package/dist/types/api-model/models/recurrence.d.ts +0 -8
- package/dist/types/api-model/models/reschedule-appointment-request.d.ts +0 -9
- package/dist/types/api-model/models/reservation.d.ts +0 -11
- package/dist/types/api-model/models/scope-of-work.d.ts +0 -10
- package/dist/types/api-model/models/seller.d.ts +0 -4
- package/dist/types/api-model/models/service-document-upload-destination.d.ts +0 -13
- package/dist/types/api-model/models/service-job-provider.d.ts +0 -4
- package/dist/types/api-model/models/service-job.d.ts +0 -45
- package/dist/types/api-model/models/service-location.d.ts +0 -9
- package/dist/types/api-model/models/service-upload-document.d.ts +0 -8
- package/dist/types/api-model/models/set-appointment-fulfillment-data-request.d.ts +0 -16
- package/dist/types/api-model/models/set-appointment-response.d.ts +0 -8
- package/dist/types/api-model/models/technician.d.ts +0 -6
- package/dist/types/api-model/models/update-reservation-record.d.ts +0 -11
- package/dist/types/api-model/models/update-reservation-request.d.ts +0 -9
- package/dist/types/api-model/models/update-reservation-response.d.ts +0 -9
- package/dist/types/api-model/models/update-schedule-record.d.ts +0 -11
- package/dist/types/api-model/models/update-schedule-request.d.ts +0 -4
- package/dist/types/api-model/models/update-schedule-response.d.ts +0 -6
- package/dist/types/api-model/models/warning.d.ts +0 -8
- package/package.json +25 -4
|
@@ -39,7 +39,6 @@ import type { UpdateScheduleRequest } from '../models';
|
|
|
39
39
|
import type { UpdateScheduleResponse } from '../models';
|
|
40
40
|
/**
|
|
41
41
|
* ServicesApi - axios parameter creator
|
|
42
|
-
* @export
|
|
43
42
|
*/
|
|
44
43
|
export declare const ServicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
45
44
|
/**
|
|
@@ -206,7 +205,6 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
206
205
|
};
|
|
207
206
|
/**
|
|
208
207
|
* ServicesApi - functional programming interface
|
|
209
|
-
* @export
|
|
210
208
|
*/
|
|
211
209
|
export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
212
210
|
/**
|
|
@@ -373,7 +371,6 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
|
373
371
|
};
|
|
374
372
|
/**
|
|
375
373
|
* ServicesApi - factory interface
|
|
376
|
-
* @export
|
|
377
374
|
*/
|
|
378
375
|
export declare const ServicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
379
376
|
/**
|
|
@@ -498,482 +495,324 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
498
495
|
};
|
|
499
496
|
/**
|
|
500
497
|
* Request parameters for addAppointmentForServiceJobByServiceJobId operation in ServicesApi.
|
|
501
|
-
* @export
|
|
502
|
-
* @interface ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest
|
|
503
498
|
*/
|
|
504
499
|
export interface ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest {
|
|
505
500
|
/**
|
|
506
501
|
* An Amazon defined service job identifier.
|
|
507
|
-
* @type {string}
|
|
508
|
-
* @memberof ServicesApiAddAppointmentForServiceJobByServiceJobId
|
|
509
502
|
*/
|
|
510
503
|
readonly serviceJobId: string;
|
|
511
504
|
/**
|
|
512
505
|
* Add appointment operation input details.
|
|
513
|
-
* @type {AddAppointmentRequest}
|
|
514
|
-
* @memberof ServicesApiAddAppointmentForServiceJobByServiceJobId
|
|
515
506
|
*/
|
|
516
507
|
readonly body: AddAppointmentRequest;
|
|
517
508
|
}
|
|
518
509
|
/**
|
|
519
510
|
* Request parameters for assignAppointmentResources operation in ServicesApi.
|
|
520
|
-
* @export
|
|
521
|
-
* @interface ServicesApiAssignAppointmentResourcesRequest
|
|
522
511
|
*/
|
|
523
512
|
export interface ServicesApiAssignAppointmentResourcesRequest {
|
|
524
513
|
/**
|
|
525
514
|
* An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
526
|
-
* @type {string}
|
|
527
|
-
* @memberof ServicesApiAssignAppointmentResources
|
|
528
515
|
*/
|
|
529
516
|
readonly serviceJobId: string;
|
|
530
517
|
/**
|
|
531
518
|
* An Amazon-defined identifier of active service job appointment.
|
|
532
|
-
* @type {string}
|
|
533
|
-
* @memberof ServicesApiAssignAppointmentResources
|
|
534
519
|
*/
|
|
535
520
|
readonly appointmentId: string;
|
|
536
|
-
/**
|
|
537
|
-
*
|
|
538
|
-
* @type {AssignAppointmentResourcesRequest}
|
|
539
|
-
* @memberof ServicesApiAssignAppointmentResources
|
|
540
|
-
*/
|
|
541
521
|
readonly body: AssignAppointmentResourcesRequest;
|
|
542
522
|
}
|
|
543
523
|
/**
|
|
544
524
|
* Request parameters for cancelReservation operation in ServicesApi.
|
|
545
|
-
* @export
|
|
546
|
-
* @interface ServicesApiCancelReservationRequest
|
|
547
525
|
*/
|
|
548
526
|
export interface ServicesApiCancelReservationRequest {
|
|
549
527
|
/**
|
|
550
528
|
* Reservation Identifier
|
|
551
|
-
* @type {string}
|
|
552
|
-
* @memberof ServicesApiCancelReservation
|
|
553
529
|
*/
|
|
554
530
|
readonly reservationId: string;
|
|
555
531
|
/**
|
|
556
532
|
* An identifier for the marketplace in which the resource operates.
|
|
557
|
-
* @type {Array<string>}
|
|
558
|
-
* @memberof ServicesApiCancelReservation
|
|
559
533
|
*/
|
|
560
534
|
readonly marketplaceIds: Array<string>;
|
|
561
535
|
}
|
|
562
536
|
/**
|
|
563
537
|
* Request parameters for cancelServiceJobByServiceJobId operation in ServicesApi.
|
|
564
|
-
* @export
|
|
565
|
-
* @interface ServicesApiCancelServiceJobByServiceJobIdRequest
|
|
566
538
|
*/
|
|
567
539
|
export interface ServicesApiCancelServiceJobByServiceJobIdRequest {
|
|
568
540
|
/**
|
|
569
541
|
* An Amazon defined service job identifier.
|
|
570
|
-
* @type {string}
|
|
571
|
-
* @memberof ServicesApiCancelServiceJobByServiceJobId
|
|
572
542
|
*/
|
|
573
543
|
readonly serviceJobId: string;
|
|
574
544
|
/**
|
|
575
545
|
* A cancel reason code that specifies the reason for cancelling a service job.
|
|
576
|
-
* @type {string}
|
|
577
|
-
* @memberof ServicesApiCancelServiceJobByServiceJobId
|
|
578
546
|
*/
|
|
579
547
|
readonly cancellationReasonCode: string;
|
|
580
548
|
}
|
|
581
549
|
/**
|
|
582
550
|
* Request parameters for completeServiceJobByServiceJobId operation in ServicesApi.
|
|
583
|
-
* @export
|
|
584
|
-
* @interface ServicesApiCompleteServiceJobByServiceJobIdRequest
|
|
585
551
|
*/
|
|
586
552
|
export interface ServicesApiCompleteServiceJobByServiceJobIdRequest {
|
|
587
553
|
/**
|
|
588
554
|
* An Amazon defined service job identifier.
|
|
589
|
-
* @type {string}
|
|
590
|
-
* @memberof ServicesApiCompleteServiceJobByServiceJobId
|
|
591
555
|
*/
|
|
592
556
|
readonly serviceJobId: string;
|
|
593
557
|
}
|
|
594
558
|
/**
|
|
595
559
|
* Request parameters for createReservation operation in ServicesApi.
|
|
596
|
-
* @export
|
|
597
|
-
* @interface ServicesApiCreateReservationRequest
|
|
598
560
|
*/
|
|
599
561
|
export interface ServicesApiCreateReservationRequest {
|
|
600
562
|
/**
|
|
601
563
|
* An identifier for the marketplace in which the resource operates.
|
|
602
|
-
* @type {Array<string>}
|
|
603
|
-
* @memberof ServicesApiCreateReservation
|
|
604
564
|
*/
|
|
605
565
|
readonly marketplaceIds: Array<string>;
|
|
606
566
|
/**
|
|
607
567
|
* Reservation details
|
|
608
|
-
* @type {CreateReservationRequest}
|
|
609
|
-
* @memberof ServicesApiCreateReservation
|
|
610
568
|
*/
|
|
611
569
|
readonly body: CreateReservationRequest;
|
|
612
570
|
}
|
|
613
571
|
/**
|
|
614
572
|
* Request parameters for createServiceDocumentUploadDestination operation in ServicesApi.
|
|
615
|
-
* @export
|
|
616
|
-
* @interface ServicesApiCreateServiceDocumentUploadDestinationRequest
|
|
617
573
|
*/
|
|
618
574
|
export interface ServicesApiCreateServiceDocumentUploadDestinationRequest {
|
|
619
575
|
/**
|
|
620
576
|
* Upload document operation input details.
|
|
621
|
-
* @type {ServiceUploadDocument}
|
|
622
|
-
* @memberof ServicesApiCreateServiceDocumentUploadDestination
|
|
623
577
|
*/
|
|
624
578
|
readonly body: ServiceUploadDocument;
|
|
625
579
|
}
|
|
626
580
|
/**
|
|
627
581
|
* Request parameters for getAppointmentSlots operation in ServicesApi.
|
|
628
|
-
* @export
|
|
629
|
-
* @interface ServicesApiGetAppointmentSlotsRequest
|
|
630
582
|
*/
|
|
631
583
|
export interface ServicesApiGetAppointmentSlotsRequest {
|
|
632
584
|
/**
|
|
633
585
|
* ASIN associated with the service.
|
|
634
|
-
* @type {string}
|
|
635
|
-
* @memberof ServicesApiGetAppointmentSlots
|
|
636
586
|
*/
|
|
637
587
|
readonly asin: string;
|
|
638
588
|
/**
|
|
639
589
|
* Store identifier defining the region scope to retrive appointment slots.
|
|
640
|
-
* @type {string}
|
|
641
|
-
* @memberof ServicesApiGetAppointmentSlots
|
|
642
590
|
*/
|
|
643
591
|
readonly storeId: string;
|
|
644
592
|
/**
|
|
645
593
|
* An identifier for the marketplace for which appointment slots are queried
|
|
646
|
-
* @type {Array<string>}
|
|
647
|
-
* @memberof ServicesApiGetAppointmentSlots
|
|
648
594
|
*/
|
|
649
595
|
readonly marketplaceIds: Array<string>;
|
|
650
596
|
/**
|
|
651
597
|
* A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration.
|
|
652
|
-
* @type {string}
|
|
653
|
-
* @memberof ServicesApiGetAppointmentSlots
|
|
654
598
|
*/
|
|
655
599
|
readonly startTime?: string;
|
|
656
600
|
/**
|
|
657
601
|
* A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days.
|
|
658
|
-
* @type {string}
|
|
659
|
-
* @memberof ServicesApiGetAppointmentSlots
|
|
660
602
|
*/
|
|
661
603
|
readonly endTime?: string;
|
|
662
604
|
}
|
|
663
605
|
/**
|
|
664
606
|
* Request parameters for getAppointmmentSlotsByJobId operation in ServicesApi.
|
|
665
|
-
* @export
|
|
666
|
-
* @interface ServicesApiGetAppointmmentSlotsByJobIdRequest
|
|
667
607
|
*/
|
|
668
608
|
export interface ServicesApiGetAppointmmentSlotsByJobIdRequest {
|
|
669
609
|
/**
|
|
670
610
|
* A service job identifier to retrive appointment slots for associated service.
|
|
671
|
-
* @type {string}
|
|
672
|
-
* @memberof ServicesApiGetAppointmmentSlotsByJobId
|
|
673
611
|
*/
|
|
674
612
|
readonly serviceJobId: string;
|
|
675
613
|
/**
|
|
676
614
|
* An identifier for the marketplace in which the resource operates.
|
|
677
|
-
* @type {Array<string>}
|
|
678
|
-
* @memberof ServicesApiGetAppointmmentSlotsByJobId
|
|
679
615
|
*/
|
|
680
616
|
readonly marketplaceIds: Array<string>;
|
|
681
617
|
/**
|
|
682
618
|
* A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration.
|
|
683
|
-
* @type {string}
|
|
684
|
-
* @memberof ServicesApiGetAppointmmentSlotsByJobId
|
|
685
619
|
*/
|
|
686
620
|
readonly startTime?: string;
|
|
687
621
|
/**
|
|
688
622
|
* A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days.
|
|
689
|
-
* @type {string}
|
|
690
|
-
* @memberof ServicesApiGetAppointmmentSlotsByJobId
|
|
691
623
|
*/
|
|
692
624
|
readonly endTime?: string;
|
|
693
625
|
}
|
|
694
626
|
/**
|
|
695
627
|
* Request parameters for getFixedSlotCapacity operation in ServicesApi.
|
|
696
|
-
* @export
|
|
697
|
-
* @interface ServicesApiGetFixedSlotCapacityRequest
|
|
698
628
|
*/
|
|
699
629
|
export interface ServicesApiGetFixedSlotCapacityRequest {
|
|
700
630
|
/**
|
|
701
631
|
* Resource Identifier.
|
|
702
|
-
* @type {string}
|
|
703
|
-
* @memberof ServicesApiGetFixedSlotCapacity
|
|
704
632
|
*/
|
|
705
633
|
readonly resourceId: string;
|
|
706
634
|
/**
|
|
707
635
|
* An identifier for the marketplace in which the resource operates.
|
|
708
|
-
* @type {Array<string>}
|
|
709
|
-
* @memberof ServicesApiGetFixedSlotCapacity
|
|
710
636
|
*/
|
|
711
637
|
readonly marketplaceIds: Array<string>;
|
|
712
638
|
/**
|
|
713
639
|
* Request body.
|
|
714
|
-
* @type {FixedSlotCapacityQuery}
|
|
715
|
-
* @memberof ServicesApiGetFixedSlotCapacity
|
|
716
640
|
*/
|
|
717
641
|
readonly body: FixedSlotCapacityQuery;
|
|
718
642
|
/**
|
|
719
643
|
* Next page token returned in the response of your previous request.
|
|
720
|
-
* @type {string}
|
|
721
|
-
* @memberof ServicesApiGetFixedSlotCapacity
|
|
722
644
|
*/
|
|
723
645
|
readonly nextPageToken?: string;
|
|
724
646
|
}
|
|
725
647
|
/**
|
|
726
648
|
* Request parameters for getRangeSlotCapacity operation in ServicesApi.
|
|
727
|
-
* @export
|
|
728
|
-
* @interface ServicesApiGetRangeSlotCapacityRequest
|
|
729
649
|
*/
|
|
730
650
|
export interface ServicesApiGetRangeSlotCapacityRequest {
|
|
731
651
|
/**
|
|
732
652
|
* Resource Identifier.
|
|
733
|
-
* @type {string}
|
|
734
|
-
* @memberof ServicesApiGetRangeSlotCapacity
|
|
735
653
|
*/
|
|
736
654
|
readonly resourceId: string;
|
|
737
655
|
/**
|
|
738
656
|
* An identifier for the marketplace in which the resource operates.
|
|
739
|
-
* @type {Array<string>}
|
|
740
|
-
* @memberof ServicesApiGetRangeSlotCapacity
|
|
741
657
|
*/
|
|
742
658
|
readonly marketplaceIds: Array<string>;
|
|
743
659
|
/**
|
|
744
660
|
* Request body.
|
|
745
|
-
* @type {RangeSlotCapacityQuery}
|
|
746
|
-
* @memberof ServicesApiGetRangeSlotCapacity
|
|
747
661
|
*/
|
|
748
662
|
readonly body: RangeSlotCapacityQuery;
|
|
749
663
|
/**
|
|
750
664
|
* Next page token returned in the response of your previous request.
|
|
751
|
-
* @type {string}
|
|
752
|
-
* @memberof ServicesApiGetRangeSlotCapacity
|
|
753
665
|
*/
|
|
754
666
|
readonly nextPageToken?: string;
|
|
755
667
|
}
|
|
756
668
|
/**
|
|
757
669
|
* Request parameters for getServiceJobByServiceJobId operation in ServicesApi.
|
|
758
|
-
* @export
|
|
759
|
-
* @interface ServicesApiGetServiceJobByServiceJobIdRequest
|
|
760
670
|
*/
|
|
761
671
|
export interface ServicesApiGetServiceJobByServiceJobIdRequest {
|
|
762
672
|
/**
|
|
763
673
|
* A service job identifier.
|
|
764
|
-
* @type {string}
|
|
765
|
-
* @memberof ServicesApiGetServiceJobByServiceJobId
|
|
766
674
|
*/
|
|
767
675
|
readonly serviceJobId: string;
|
|
768
676
|
}
|
|
769
677
|
/**
|
|
770
678
|
* Request parameters for getServiceJobs operation in ServicesApi.
|
|
771
|
-
* @export
|
|
772
|
-
* @interface ServicesApiGetServiceJobsRequest
|
|
773
679
|
*/
|
|
774
680
|
export interface ServicesApiGetServiceJobsRequest {
|
|
775
681
|
/**
|
|
776
682
|
* Used to select jobs that were placed in the specified marketplaces.
|
|
777
|
-
* @type {Array<string>}
|
|
778
|
-
* @memberof ServicesApiGetServiceJobs
|
|
779
683
|
*/
|
|
780
684
|
readonly marketplaceIds: Array<string>;
|
|
781
685
|
/**
|
|
782
686
|
* List of service order ids for the query you want to perform.Max values supported 20.
|
|
783
|
-
* @type {Array<string>}
|
|
784
|
-
* @memberof ServicesApiGetServiceJobs
|
|
785
687
|
*/
|
|
786
688
|
readonly serviceOrderIds?: Array<string>;
|
|
787
689
|
/**
|
|
788
690
|
* A list of one or more job status by which to filter the list of jobs.
|
|
789
|
-
* @type {Array<'NOT_SERVICED' | 'CANCELLED' | 'COMPLETED' | 'PENDING_SCHEDULE' | 'NOT_FULFILLABLE' | 'HOLD' | 'PAYMENT_DECLINED'>}
|
|
790
|
-
* @memberof ServicesApiGetServiceJobs
|
|
791
691
|
*/
|
|
792
692
|
readonly serviceJobStatus?: Array<GetServiceJobsServiceJobStatusEnum>;
|
|
793
693
|
/**
|
|
794
694
|
* String returned in the response of your previous request.
|
|
795
|
-
* @type {string}
|
|
796
|
-
* @memberof ServicesApiGetServiceJobs
|
|
797
695
|
*/
|
|
798
696
|
readonly pageToken?: string;
|
|
799
697
|
/**
|
|
800
698
|
* A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20.
|
|
801
|
-
* @type {number}
|
|
802
|
-
* @memberof ServicesApiGetServiceJobs
|
|
803
699
|
*/
|
|
804
700
|
readonly pageSize?: number;
|
|
805
701
|
/**
|
|
806
702
|
* Sort fields on which you want to sort the output.
|
|
807
|
-
* @type {'JOB_DATE' | 'JOB_STATUS'}
|
|
808
|
-
* @memberof ServicesApiGetServiceJobs
|
|
809
703
|
*/
|
|
810
704
|
readonly sortField?: GetServiceJobsSortFieldEnum;
|
|
811
705
|
/**
|
|
812
706
|
* Sort order for the query you want to perform.
|
|
813
|
-
* @type {'ASC' | 'DESC'}
|
|
814
|
-
* @memberof ServicesApiGetServiceJobs
|
|
815
707
|
*/
|
|
816
708
|
readonly sortOrder?: GetServiceJobsSortOrderEnum;
|
|
817
709
|
/**
|
|
818
710
|
* A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error.
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof ServicesApiGetServiceJobs
|
|
821
711
|
*/
|
|
822
712
|
readonly createdAfter?: string;
|
|
823
713
|
/**
|
|
824
714
|
* A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format.
|
|
825
|
-
* @type {string}
|
|
826
|
-
* @memberof ServicesApiGetServiceJobs
|
|
827
715
|
*/
|
|
828
716
|
readonly createdBefore?: string;
|
|
829
717
|
/**
|
|
830
718
|
* A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error.
|
|
831
|
-
* @type {string}
|
|
832
|
-
* @memberof ServicesApiGetServiceJobs
|
|
833
719
|
*/
|
|
834
720
|
readonly lastUpdatedAfter?: string;
|
|
835
721
|
/**
|
|
836
722
|
* A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format.
|
|
837
|
-
* @type {string}
|
|
838
|
-
* @memberof ServicesApiGetServiceJobs
|
|
839
723
|
*/
|
|
840
724
|
readonly lastUpdatedBefore?: string;
|
|
841
725
|
/**
|
|
842
726
|
* A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date.
|
|
843
|
-
* @type {string}
|
|
844
|
-
* @memberof ServicesApiGetServiceJobs
|
|
845
727
|
*/
|
|
846
728
|
readonly scheduleStartDate?: string;
|
|
847
729
|
/**
|
|
848
730
|
* A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date.
|
|
849
|
-
* @type {string}
|
|
850
|
-
* @memberof ServicesApiGetServiceJobs
|
|
851
731
|
*/
|
|
852
732
|
readonly scheduleEndDate?: string;
|
|
853
733
|
/**
|
|
854
734
|
* List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20.
|
|
855
|
-
* @type {Array<string>}
|
|
856
|
-
* @memberof ServicesApiGetServiceJobs
|
|
857
735
|
*/
|
|
858
736
|
readonly asins?: Array<string>;
|
|
859
737
|
/**
|
|
860
738
|
* A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20.
|
|
861
|
-
* @type {Array<string>}
|
|
862
|
-
* @memberof ServicesApiGetServiceJobs
|
|
863
739
|
*/
|
|
864
740
|
readonly requiredSkills?: Array<string>;
|
|
865
741
|
/**
|
|
866
742
|
* List of Amazon-defined identifiers for the region scope. Max values supported is 50.
|
|
867
|
-
* @type {Array<string>}
|
|
868
|
-
* @memberof ServicesApiGetServiceJobs
|
|
869
743
|
*/
|
|
870
744
|
readonly storeIds?: Array<string>;
|
|
871
745
|
}
|
|
872
746
|
/**
|
|
873
747
|
* Request parameters for rescheduleAppointmentForServiceJobByServiceJobId operation in ServicesApi.
|
|
874
|
-
* @export
|
|
875
|
-
* @interface ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest
|
|
876
748
|
*/
|
|
877
749
|
export interface ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest {
|
|
878
750
|
/**
|
|
879
751
|
* An Amazon defined service job identifier.
|
|
880
|
-
* @type {string}
|
|
881
|
-
* @memberof ServicesApiRescheduleAppointmentForServiceJobByServiceJobId
|
|
882
752
|
*/
|
|
883
753
|
readonly serviceJobId: string;
|
|
884
754
|
/**
|
|
885
755
|
* An existing appointment identifier for the Service Job.
|
|
886
|
-
* @type {string}
|
|
887
|
-
* @memberof ServicesApiRescheduleAppointmentForServiceJobByServiceJobId
|
|
888
756
|
*/
|
|
889
757
|
readonly appointmentId: string;
|
|
890
758
|
/**
|
|
891
759
|
* Reschedule appointment operation input details.
|
|
892
|
-
* @type {RescheduleAppointmentRequest}
|
|
893
|
-
* @memberof ServicesApiRescheduleAppointmentForServiceJobByServiceJobId
|
|
894
760
|
*/
|
|
895
761
|
readonly body: RescheduleAppointmentRequest;
|
|
896
762
|
}
|
|
897
763
|
/**
|
|
898
764
|
* Request parameters for setAppointmentFulfillmentData operation in ServicesApi.
|
|
899
|
-
* @export
|
|
900
|
-
* @interface ServicesApiSetAppointmentFulfillmentDataRequest
|
|
901
765
|
*/
|
|
902
766
|
export interface ServicesApiSetAppointmentFulfillmentDataRequest {
|
|
903
767
|
/**
|
|
904
768
|
* An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
905
|
-
* @type {string}
|
|
906
|
-
* @memberof ServicesApiSetAppointmentFulfillmentData
|
|
907
769
|
*/
|
|
908
770
|
readonly serviceJobId: string;
|
|
909
771
|
/**
|
|
910
772
|
* An Amazon-defined identifier of active service job appointment.
|
|
911
|
-
* @type {string}
|
|
912
|
-
* @memberof ServicesApiSetAppointmentFulfillmentData
|
|
913
773
|
*/
|
|
914
774
|
readonly appointmentId: string;
|
|
915
775
|
/**
|
|
916
776
|
* Appointment fulfillment data collection details.
|
|
917
|
-
* @type {SetAppointmentFulfillmentDataRequest}
|
|
918
|
-
* @memberof ServicesApiSetAppointmentFulfillmentData
|
|
919
777
|
*/
|
|
920
778
|
readonly body: SetAppointmentFulfillmentDataRequest;
|
|
921
779
|
}
|
|
922
780
|
/**
|
|
923
781
|
* Request parameters for updateReservation operation in ServicesApi.
|
|
924
|
-
* @export
|
|
925
|
-
* @interface ServicesApiUpdateReservationRequest
|
|
926
782
|
*/
|
|
927
783
|
export interface ServicesApiUpdateReservationRequest {
|
|
928
784
|
/**
|
|
929
785
|
* Reservation Identifier
|
|
930
|
-
* @type {string}
|
|
931
|
-
* @memberof ServicesApiUpdateReservation
|
|
932
786
|
*/
|
|
933
787
|
readonly reservationId: string;
|
|
934
788
|
/**
|
|
935
789
|
* An identifier for the marketplace in which the resource operates.
|
|
936
|
-
* @type {Array<string>}
|
|
937
|
-
* @memberof ServicesApiUpdateReservation
|
|
938
790
|
*/
|
|
939
791
|
readonly marketplaceIds: Array<string>;
|
|
940
792
|
/**
|
|
941
793
|
* Reservation details
|
|
942
|
-
* @type {UpdateReservationRequest}
|
|
943
|
-
* @memberof ServicesApiUpdateReservation
|
|
944
794
|
*/
|
|
945
795
|
readonly body: UpdateReservationRequest;
|
|
946
796
|
}
|
|
947
797
|
/**
|
|
948
798
|
* Request parameters for updateSchedule operation in ServicesApi.
|
|
949
|
-
* @export
|
|
950
|
-
* @interface ServicesApiUpdateScheduleRequest
|
|
951
799
|
*/
|
|
952
800
|
export interface ServicesApiUpdateScheduleRequest {
|
|
953
801
|
/**
|
|
954
802
|
* Resource (store) Identifier
|
|
955
|
-
* @type {string}
|
|
956
|
-
* @memberof ServicesApiUpdateSchedule
|
|
957
803
|
*/
|
|
958
804
|
readonly resourceId: string;
|
|
959
805
|
/**
|
|
960
806
|
* An identifier for the marketplace in which the resource operates.
|
|
961
|
-
* @type {Array<string>}
|
|
962
|
-
* @memberof ServicesApiUpdateSchedule
|
|
963
807
|
*/
|
|
964
808
|
readonly marketplaceIds: Array<string>;
|
|
965
809
|
/**
|
|
966
810
|
* Schedule details
|
|
967
|
-
* @type {UpdateScheduleRequest}
|
|
968
|
-
* @memberof ServicesApiUpdateSchedule
|
|
969
811
|
*/
|
|
970
812
|
readonly body: UpdateScheduleRequest;
|
|
971
813
|
}
|
|
972
814
|
/**
|
|
973
815
|
* ServicesApi - object-oriented interface
|
|
974
|
-
* @export
|
|
975
|
-
* @class ServicesApi
|
|
976
|
-
* @extends {BaseAPI}
|
|
977
816
|
*/
|
|
978
817
|
export declare class ServicesApi extends BaseAPI {
|
|
979
818
|
/**
|
|
@@ -981,7 +820,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
981
820
|
* @param {ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
982
821
|
* @param {*} [options] Override http request option.
|
|
983
822
|
* @throws {RequiredError}
|
|
984
|
-
* @memberof ServicesApi
|
|
985
823
|
*/
|
|
986
824
|
addAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
|
|
987
825
|
/**
|
|
@@ -989,7 +827,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
989
827
|
* @param {ServicesApiAssignAppointmentResourcesRequest} requestParameters Request parameters.
|
|
990
828
|
* @param {*} [options] Override http request option.
|
|
991
829
|
* @throws {RequiredError}
|
|
992
|
-
* @memberof ServicesApi
|
|
993
830
|
*/
|
|
994
831
|
assignAppointmentResources(requestParameters: ServicesApiAssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AssignAppointmentResourcesResponse, any>>;
|
|
995
832
|
/**
|
|
@@ -997,7 +834,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
997
834
|
* @param {ServicesApiCancelReservationRequest} requestParameters Request parameters.
|
|
998
835
|
* @param {*} [options] Override http request option.
|
|
999
836
|
* @throws {RequiredError}
|
|
1000
|
-
* @memberof ServicesApi
|
|
1001
837
|
*/
|
|
1002
838
|
cancelReservation(requestParameters: ServicesApiCancelReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelReservationResponse, any>>;
|
|
1003
839
|
/**
|
|
@@ -1005,7 +841,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1005
841
|
* @param {ServicesApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
1006
842
|
* @param {*} [options] Override http request option.
|
|
1007
843
|
* @throws {RequiredError}
|
|
1008
|
-
* @memberof ServicesApi
|
|
1009
844
|
*/
|
|
1010
845
|
cancelServiceJobByServiceJobId(requestParameters: ServicesApiCancelServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelServiceJobByServiceJobIdResponse, any>>;
|
|
1011
846
|
/**
|
|
@@ -1013,7 +848,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1013
848
|
* @param {ServicesApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
1014
849
|
* @param {*} [options] Override http request option.
|
|
1015
850
|
* @throws {RequiredError}
|
|
1016
|
-
* @memberof ServicesApi
|
|
1017
851
|
*/
|
|
1018
852
|
completeServiceJobByServiceJobId(requestParameters: ServicesApiCompleteServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompleteServiceJobByServiceJobIdResponse, any>>;
|
|
1019
853
|
/**
|
|
@@ -1021,7 +855,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1021
855
|
* @param {ServicesApiCreateReservationRequest} requestParameters Request parameters.
|
|
1022
856
|
* @param {*} [options] Override http request option.
|
|
1023
857
|
* @throws {RequiredError}
|
|
1024
|
-
* @memberof ServicesApi
|
|
1025
858
|
*/
|
|
1026
859
|
createReservation(requestParameters: ServicesApiCreateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateReservationResponse, any>>;
|
|
1027
860
|
/**
|
|
@@ -1029,7 +862,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1029
862
|
* @param {ServicesApiCreateServiceDocumentUploadDestinationRequest} requestParameters Request parameters.
|
|
1030
863
|
* @param {*} [options] Override http request option.
|
|
1031
864
|
* @throws {RequiredError}
|
|
1032
|
-
* @memberof ServicesApi
|
|
1033
865
|
*/
|
|
1034
866
|
createServiceDocumentUploadDestination(requestParameters: ServicesApiCreateServiceDocumentUploadDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateServiceDocumentUploadDestination, any>>;
|
|
1035
867
|
/**
|
|
@@ -1037,7 +869,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1037
869
|
* @param {ServicesApiGetAppointmentSlotsRequest} requestParameters Request parameters.
|
|
1038
870
|
* @param {*} [options] Override http request option.
|
|
1039
871
|
* @throws {RequiredError}
|
|
1040
|
-
* @memberof ServicesApi
|
|
1041
872
|
*/
|
|
1042
873
|
getAppointmentSlots(requestParameters: ServicesApiGetAppointmentSlotsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
|
|
1043
874
|
/**
|
|
@@ -1045,7 +876,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1045
876
|
* @param {ServicesApiGetAppointmmentSlotsByJobIdRequest} requestParameters Request parameters.
|
|
1046
877
|
* @param {*} [options] Override http request option.
|
|
1047
878
|
* @throws {RequiredError}
|
|
1048
|
-
* @memberof ServicesApi
|
|
1049
879
|
*/
|
|
1050
880
|
getAppointmmentSlotsByJobId(requestParameters: ServicesApiGetAppointmmentSlotsByJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
|
|
1051
881
|
/**
|
|
@@ -1053,7 +883,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1053
883
|
* @param {ServicesApiGetFixedSlotCapacityRequest} requestParameters Request parameters.
|
|
1054
884
|
* @param {*} [options] Override http request option.
|
|
1055
885
|
* @throws {RequiredError}
|
|
1056
|
-
* @memberof ServicesApi
|
|
1057
886
|
*/
|
|
1058
887
|
getFixedSlotCapacity(requestParameters: ServicesApiGetFixedSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FixedSlotCapacity, any>>;
|
|
1059
888
|
/**
|
|
@@ -1061,7 +890,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1061
890
|
* @param {ServicesApiGetRangeSlotCapacityRequest} requestParameters Request parameters.
|
|
1062
891
|
* @param {*} [options] Override http request option.
|
|
1063
892
|
* @throws {RequiredError}
|
|
1064
|
-
* @memberof ServicesApi
|
|
1065
893
|
*/
|
|
1066
894
|
getRangeSlotCapacity(requestParameters: ServicesApiGetRangeSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RangeSlotCapacity, any>>;
|
|
1067
895
|
/**
|
|
@@ -1069,7 +897,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1069
897
|
* @param {ServicesApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
1070
898
|
* @param {*} [options] Override http request option.
|
|
1071
899
|
* @throws {RequiredError}
|
|
1072
|
-
* @memberof ServicesApi
|
|
1073
900
|
*/
|
|
1074
901
|
getServiceJobByServiceJobId(requestParameters: ServicesApiGetServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobByServiceJobIdResponse, any>>;
|
|
1075
902
|
/**
|
|
@@ -1077,7 +904,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1077
904
|
* @param {ServicesApiGetServiceJobsRequest} requestParameters Request parameters.
|
|
1078
905
|
* @param {*} [options] Override http request option.
|
|
1079
906
|
* @throws {RequiredError}
|
|
1080
|
-
* @memberof ServicesApi
|
|
1081
907
|
*/
|
|
1082
908
|
getServiceJobs(requestParameters: ServicesApiGetServiceJobsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobsResponse, any>>;
|
|
1083
909
|
/**
|
|
@@ -1085,7 +911,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1085
911
|
* @param {ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
|
|
1086
912
|
* @param {*} [options] Override http request option.
|
|
1087
913
|
* @throws {RequiredError}
|
|
1088
|
-
* @memberof ServicesApi
|
|
1089
914
|
*/
|
|
1090
915
|
rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
|
|
1091
916
|
/**
|
|
@@ -1093,7 +918,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1093
918
|
* @param {ServicesApiSetAppointmentFulfillmentDataRequest} requestParameters Request parameters.
|
|
1094
919
|
* @param {*} [options] Override http request option.
|
|
1095
920
|
* @throws {RequiredError}
|
|
1096
|
-
* @memberof ServicesApi
|
|
1097
921
|
*/
|
|
1098
922
|
setAppointmentFulfillmentData(requestParameters: ServicesApiSetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any>>;
|
|
1099
923
|
/**
|
|
@@ -1101,7 +925,6 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1101
925
|
* @param {ServicesApiUpdateReservationRequest} requestParameters Request parameters.
|
|
1102
926
|
* @param {*} [options] Override http request option.
|
|
1103
927
|
* @throws {RequiredError}
|
|
1104
|
-
* @memberof ServicesApi
|
|
1105
928
|
*/
|
|
1106
929
|
updateReservation(requestParameters: ServicesApiUpdateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateReservationResponse, any>>;
|
|
1107
930
|
/**
|
|
@@ -1109,13 +932,9 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
1109
932
|
* @param {ServicesApiUpdateScheduleRequest} requestParameters Request parameters.
|
|
1110
933
|
* @param {*} [options] Override http request option.
|
|
1111
934
|
* @throws {RequiredError}
|
|
1112
|
-
* @memberof ServicesApi
|
|
1113
935
|
*/
|
|
1114
936
|
updateSchedule(requestParameters: ServicesApiUpdateScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateScheduleResponse, any>>;
|
|
1115
937
|
}
|
|
1116
|
-
/**
|
|
1117
|
-
* @export
|
|
1118
|
-
*/
|
|
1119
938
|
export declare const GetServiceJobsServiceJobStatusEnum: {
|
|
1120
939
|
readonly NotServiced: "NOT_SERVICED";
|
|
1121
940
|
readonly Cancelled: "CANCELLED";
|
|
@@ -1126,17 +945,11 @@ export declare const GetServiceJobsServiceJobStatusEnum: {
|
|
|
1126
945
|
readonly PaymentDeclined: "PAYMENT_DECLINED";
|
|
1127
946
|
};
|
|
1128
947
|
export type GetServiceJobsServiceJobStatusEnum = typeof GetServiceJobsServiceJobStatusEnum[keyof typeof GetServiceJobsServiceJobStatusEnum];
|
|
1129
|
-
/**
|
|
1130
|
-
* @export
|
|
1131
|
-
*/
|
|
1132
948
|
export declare const GetServiceJobsSortFieldEnum: {
|
|
1133
949
|
readonly JobDate: "JOB_DATE";
|
|
1134
950
|
readonly JobStatus: "JOB_STATUS";
|
|
1135
951
|
};
|
|
1136
952
|
export type GetServiceJobsSortFieldEnum = typeof GetServiceJobsSortFieldEnum[keyof typeof GetServiceJobsSortFieldEnum];
|
|
1137
|
-
/**
|
|
1138
|
-
* @export
|
|
1139
|
-
*/
|
|
1140
953
|
export declare const GetServiceJobsSortOrderEnum: {
|
|
1141
954
|
readonly Asc: "ASC";
|
|
1142
955
|
readonly Desc: "DESC";
|