swoop-common 2.1.45 → 2.1.47

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.
@@ -50,10 +50,11 @@ export declare class ItineraryService {
50
50
  /**
51
51
  * Restore Snapshot
52
52
  * Creates a new itinerary revision given the content the snapshot refers to
53
+ * @param snapshotId
53
54
  * @returns any OK
54
55
  * @throws ApiError
55
56
  */
56
- snapshotRestore(): CancelablePromise<{
57
+ snapshotRestore(snapshotId: string): CancelablePromise<{
57
58
  data: Array<DTOSnapshotRead>;
58
59
  }>;
59
60
  /**
@@ -71,13 +71,17 @@ export class ItineraryService {
71
71
  /**
72
72
  * Restore Snapshot
73
73
  * Creates a new itinerary revision given the content the snapshot refers to
74
+ * @param snapshotId
74
75
  * @returns any OK
75
76
  * @throws ApiError
76
77
  */
77
- snapshotRestore() {
78
+ snapshotRestore(snapshotId) {
78
79
  return __request(OpenAPI, {
79
80
  method: 'PUT',
80
- url: '/snapshots/restore',
81
+ url: '/snapshots/restore/{snapshotId}',
82
+ path: {
83
+ 'snapshotId': snapshotId,
84
+ },
81
85
  });
82
86
  }
83
87
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.45",
3
+ "version": "2.1.47",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {