@sp-api-sdk/services-api-v1 4.0.3 → 4.0.5

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.
@@ -821,119 +821,119 @@ export declare class ServicesApi extends BaseAPI {
821
821
  * @param {*} [options] Override http request option.
822
822
  * @throws {RequiredError}
823
823
  */
824
- addAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
824
+ addAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiAddAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any, {}>>;
825
825
  /**
826
826
  * Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
827
827
  * @param {ServicesApiAssignAppointmentResourcesRequest} requestParameters Request parameters.
828
828
  * @param {*} [options] Override http request option.
829
829
  * @throws {RequiredError}
830
830
  */
831
- assignAppointmentResources(requestParameters: ServicesApiAssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AssignAppointmentResourcesResponse, any>>;
831
+ assignAppointmentResources(requestParameters: ServicesApiAssignAppointmentResourcesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AssignAppointmentResourcesResponse, any, {}>>;
832
832
  /**
833
833
  * Cancel a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
834
834
  * @param {ServicesApiCancelReservationRequest} requestParameters Request parameters.
835
835
  * @param {*} [options] Override http request option.
836
836
  * @throws {RequiredError}
837
837
  */
838
- cancelReservation(requestParameters: ServicesApiCancelReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelReservationResponse, any>>;
838
+ cancelReservation(requestParameters: ServicesApiCancelReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelReservationResponse, any, {}>>;
839
839
  /**
840
840
  * Cancels the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
841
841
  * @param {ServicesApiCancelServiceJobByServiceJobIdRequest} requestParameters Request parameters.
842
842
  * @param {*} [options] Override http request option.
843
843
  * @throws {RequiredError}
844
844
  */
845
- cancelServiceJobByServiceJobId(requestParameters: ServicesApiCancelServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelServiceJobByServiceJobIdResponse, any>>;
845
+ cancelServiceJobByServiceJobId(requestParameters: ServicesApiCancelServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelServiceJobByServiceJobIdResponse, any, {}>>;
846
846
  /**
847
847
  * Completes the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
848
848
  * @param {ServicesApiCompleteServiceJobByServiceJobIdRequest} requestParameters Request parameters.
849
849
  * @param {*} [options] Override http request option.
850
850
  * @throws {RequiredError}
851
851
  */
852
- completeServiceJobByServiceJobId(requestParameters: ServicesApiCompleteServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompleteServiceJobByServiceJobIdResponse, any>>;
852
+ completeServiceJobByServiceJobId(requestParameters: ServicesApiCompleteServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompleteServiceJobByServiceJobIdResponse, any, {}>>;
853
853
  /**
854
854
  * Create a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
855
855
  * @param {ServicesApiCreateReservationRequest} requestParameters Request parameters.
856
856
  * @param {*} [options] Override http request option.
857
857
  * @throws {RequiredError}
858
858
  */
859
- createReservation(requestParameters: ServicesApiCreateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateReservationResponse, any>>;
859
+ createReservation(requestParameters: ServicesApiCreateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateReservationResponse, any, {}>>;
860
860
  /**
861
861
  * Creates an upload destination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
862
862
  * @param {ServicesApiCreateServiceDocumentUploadDestinationRequest} requestParameters Request parameters.
863
863
  * @param {*} [options] Override http request option.
864
864
  * @throws {RequiredError}
865
865
  */
866
- createServiceDocumentUploadDestination(requestParameters: ServicesApiCreateServiceDocumentUploadDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateServiceDocumentUploadDestination, any>>;
866
+ createServiceDocumentUploadDestination(requestParameters: ServicesApiCreateServiceDocumentUploadDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateServiceDocumentUploadDestination, any, {}>>;
867
867
  /**
868
868
  * Gets appointment slots as per the service context specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
869
869
  * @param {ServicesApiGetAppointmentSlotsRequest} requestParameters Request parameters.
870
870
  * @param {*} [options] Override http request option.
871
871
  * @throws {RequiredError}
872
872
  */
873
- getAppointmentSlots(requestParameters: ServicesApiGetAppointmentSlotsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
873
+ getAppointmentSlots(requestParameters: ServicesApiGetAppointmentSlotsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any, {}>>;
874
874
  /**
875
875
  * Gets appointment slots for the service associated with the service job id specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
876
876
  * @param {ServicesApiGetAppointmmentSlotsByJobIdRequest} requestParameters Request parameters.
877
877
  * @param {*} [options] Override http request option.
878
878
  * @throws {RequiredError}
879
879
  */
880
- getAppointmmentSlotsByJobId(requestParameters: ServicesApiGetAppointmmentSlotsByJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any>>;
880
+ getAppointmmentSlotsByJobId(requestParameters: ServicesApiGetAppointmmentSlotsByJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAppointmentSlotsResponse, any, {}>>;
881
881
  /**
882
882
  * Provides capacity in fixed-size slots. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
883
883
  * @param {ServicesApiGetFixedSlotCapacityRequest} requestParameters Request parameters.
884
884
  * @param {*} [options] Override http request option.
885
885
  * @throws {RequiredError}
886
886
  */
887
- getFixedSlotCapacity(requestParameters: ServicesApiGetFixedSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FixedSlotCapacity, any>>;
887
+ getFixedSlotCapacity(requestParameters: ServicesApiGetFixedSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<FixedSlotCapacity, any, {}>>;
888
888
  /**
889
889
  * Provides capacity slots in a format similar to availability records. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
890
890
  * @param {ServicesApiGetRangeSlotCapacityRequest} requestParameters Request parameters.
891
891
  * @param {*} [options] Override http request option.
892
892
  * @throws {RequiredError}
893
893
  */
894
- getRangeSlotCapacity(requestParameters: ServicesApiGetRangeSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RangeSlotCapacity, any>>;
894
+ getRangeSlotCapacity(requestParameters: ServicesApiGetRangeSlotCapacityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RangeSlotCapacity, any, {}>>;
895
895
  /**
896
896
  * Gets details of service job indicated by the provided `serviceJobID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 20 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
897
897
  * @param {ServicesApiGetServiceJobByServiceJobIdRequest} requestParameters Request parameters.
898
898
  * @param {*} [options] Override http request option.
899
899
  * @throws {RequiredError}
900
900
  */
901
- getServiceJobByServiceJobId(requestParameters: ServicesApiGetServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobByServiceJobIdResponse, any>>;
901
+ getServiceJobByServiceJobId(requestParameters: ServicesApiGetServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobByServiceJobIdResponse, any, {}>>;
902
902
  /**
903
903
  * Gets service job details for the specified filter query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 40 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
904
904
  * @param {ServicesApiGetServiceJobsRequest} requestParameters Request parameters.
905
905
  * @param {*} [options] Override http request option.
906
906
  * @throws {RequiredError}
907
907
  */
908
- getServiceJobs(requestParameters: ServicesApiGetServiceJobsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobsResponse, any>>;
908
+ getServiceJobs(requestParameters: ServicesApiGetServiceJobsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetServiceJobsResponse, any, {}>>;
909
909
  /**
910
910
  * Reschedules an appointment for the service job indicated by the service job identifier specified. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
911
911
  * @param {ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest} requestParameters Request parameters.
912
912
  * @param {*} [options] Override http request option.
913
913
  * @throws {RequiredError}
914
914
  */
915
- rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any>>;
915
+ rescheduleAppointmentForServiceJobByServiceJobId(requestParameters: ServicesApiRescheduleAppointmentForServiceJobByServiceJobIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SetAppointmentResponse, any, {}>>;
916
916
  /**
917
917
  * Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
918
918
  * @param {ServicesApiSetAppointmentFulfillmentDataRequest} requestParameters Request parameters.
919
919
  * @param {*} [options] Override http request option.
920
920
  * @throws {RequiredError}
921
921
  */
922
- setAppointmentFulfillmentData(requestParameters: ServicesApiSetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any>>;
922
+ setAppointmentFulfillmentData(requestParameters: ServicesApiSetAppointmentFulfillmentDataRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<string, any, {}>>;
923
923
  /**
924
924
  * Update a reservation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
925
925
  * @param {ServicesApiUpdateReservationRequest} requestParameters Request parameters.
926
926
  * @param {*} [options] Override http request option.
927
927
  * @throws {RequiredError}
928
928
  */
929
- updateReservation(requestParameters: ServicesApiUpdateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateReservationResponse, any>>;
929
+ updateReservation(requestParameters: ServicesApiUpdateReservationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateReservationResponse, any, {}>>;
930
930
  /**
931
931
  * Update the schedule of the given resource. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
932
932
  * @param {ServicesApiUpdateScheduleRequest} requestParameters Request parameters.
933
933
  * @param {*} [options] Override http request option.
934
934
  * @throws {RequiredError}
935
935
  */
936
- updateSchedule(requestParameters: ServicesApiUpdateScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateScheduleResponse, any>>;
936
+ updateSchedule(requestParameters: ServicesApiUpdateScheduleRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateScheduleResponse, any, {}>>;
937
937
  }
938
938
  export declare const GetServiceJobsServiceJobStatusEnum: {
939
939
  readonly NotServiced: "NOT_SERVICED";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/services-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.",
5
- "version": "4.0.3",
5
+ "version": "4.0.5",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.17",
22
- "axios": "^1.11.0"
21
+ "@sp-api-sdk/common": "2.1.19",
22
+ "axios": "^1.12.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,26 +40,5 @@
40
40
  "sp sdk",
41
41
  "services api"
42
42
  ],
43
- "xo": {
44
- "extends": [
45
- "xo-bizon"
46
- ],
47
- "settings": {
48
- "import/internal-regex": "^@sp-api-sdk/"
49
- },
50
- "semicolon": false,
51
- "space": 2,
52
- "prettier": true,
53
- "ignores": [
54
- "src/api-model/**"
55
- ],
56
- "rules": {
57
- "unicorn/prevent-abbreviations": "off"
58
- }
59
- },
60
- "prettier": {
61
- "printWidth": 100,
62
- "jsxSingleQuote": true
63
- },
64
- "gitHead": "961457650a65779f38e5d35547ca8cb2fb749943"
43
+ "gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
65
44
  }