@sp-api-sdk/services-api-v1 3.1.0 → 3.2.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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # `services-api-v1`
2
2
 
3
- With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
4
-
5
3
  [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/services-api-v1)](https://www.npmjs.com/package/@sp-api-sdk/services-api-v1)
6
4
  [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
7
5
 
6
+ With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
7
+
8
8
  [<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
9
9
 
10
10
  ## Documentation
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Services
6
+ * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -36,6 +36,7 @@ __exportStar(require("./create-reservation-record"), exports);
36
36
  __exportStar(require("./create-reservation-request"), exports);
37
37
  __exportStar(require("./create-reservation-response"), exports);
38
38
  __exportStar(require("./create-service-document-upload-destination"), exports);
39
+ __exportStar(require("./date-time-range"), exports);
39
40
  __exportStar(require("./day-of-week"), exports);
40
41
  __exportStar(require("./encryption-details"), exports);
41
42
  __exportStar(require("./fixed-slot"), exports);
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Services
5
+ * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -20,6 +20,7 @@ export * from './create-reservation-record';
20
20
  export * from './create-reservation-request';
21
21
  export * from './create-reservation-response';
22
22
  export * from './create-service-document-upload-destination';
23
+ export * from './date-time-range';
23
24
  export * from './day-of-week';
24
25
  export * from './encryption-details';
25
26
  export * from './fixed-slot';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Selling Partner API for Services
3
+ * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * A range of time.
14
+ * @export
15
+ * @interface DateTimeRange
16
+ */
17
+ export interface DateTimeRange {
18
+ /**
19
+ * The beginning of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
20
+ * @type {string}
21
+ * @memberof DateTimeRange
22
+ */
23
+ 'startTime': string;
24
+ /**
25
+ * The end of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
26
+ * @type {string}
27
+ * @memberof DateTimeRange
28
+ */
29
+ 'endTime': string;
30
+ }
@@ -20,6 +20,7 @@ export * from './create-reservation-record';
20
20
  export * from './create-reservation-request';
21
21
  export * from './create-reservation-response';
22
22
  export * from './create-service-document-upload-destination';
23
+ export * from './date-time-range';
23
24
  export * from './day-of-week';
24
25
  export * from './encryption-details';
25
26
  export * from './fixed-slot';
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AppointmentResource } from './appointment-resource';
13
+ import type { DateTimeRange } from './date-time-range';
13
14
  import type { FulfillmentDocument } from './fulfillment-document';
14
15
  import type { FulfillmentTime } from './fulfillment-time';
15
16
  /**
@@ -18,6 +19,12 @@ import type { FulfillmentTime } from './fulfillment-time';
18
19
  * @interface SetAppointmentFulfillmentDataRequest
19
20
  */
20
21
  export interface SetAppointmentFulfillmentDataRequest {
22
+ /**
23
+ *
24
+ * @type {DateTimeRange}
25
+ * @memberof SetAppointmentFulfillmentDataRequest
26
+ */
27
+ 'estimatedArrivalTime'?: DateTimeRange;
21
28
  /**
22
29
  *
23
30
  * @type {FulfillmentTime}
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": "3.1.0",
5
+ "version": "3.2.0",
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.11",
22
- "axios": "^1.8.1"
21
+ "@sp-api-sdk/common": "2.1.13",
22
+ "axios": "^1.8.4"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "services api"
42
42
  ],
43
- "gitHead": "b5799742765e819f70161d2ac1905d8e570de8c0"
43
+ "gitHead": "287508bdc050a25bac20889ed0afb6d3f6518cd6"
44
44
  }