swoop-common 2.1.43 → 2.1.45
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/api/generated/core/exports.d.ts +1 -0
- package/dist/api/generated/core/index.d.ts +1 -0
- package/dist/api/generated/core/models/snapshotId.d.ts +1 -0
- package/dist/api/generated/core/models/snapshotId.js +1 -0
- package/dist/api/generated/itinerary/index.d.ts +1 -0
- package/dist/api/generated/itinerary/models/snapshotId.d.ts +1 -0
- package/dist/api/generated/itinerary/models/snapshotId.js +1 -0
- package/dist/api/generated/itinerary/services/ItineraryService.d.ts +4 -2
- package/dist/api/generated/itinerary/services/ItineraryService.js +11 -3
- package/package.json +1 -1
|
@@ -58,6 +58,7 @@ export type { QuoteOptions } from './index';
|
|
|
58
58
|
export { regionParam } from './index';
|
|
59
59
|
export { regionRequired } from './index';
|
|
60
60
|
export type { search } from './index';
|
|
61
|
+
export type { snapshotId } from './index';
|
|
61
62
|
export type { sortParam } from './index';
|
|
62
63
|
export type { templateId } from './index';
|
|
63
64
|
export type { UserComponentInstanceField } from './index';
|
|
@@ -60,6 +60,7 @@ export type { QuoteOptions } from './models/QuoteOptions';
|
|
|
60
60
|
export { regionParam } from './models/regionParam';
|
|
61
61
|
export { regionRequired } from './models/regionRequired';
|
|
62
62
|
export type { search } from './models/search';
|
|
63
|
+
export type { snapshotId } from './models/snapshotId';
|
|
63
64
|
export type { sortParam } from './models/sortParam';
|
|
64
65
|
export type { templateId } from './models/templateId';
|
|
65
66
|
export type { UserComponentInstanceField } from './models/UserComponentInstanceField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type snapshotId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -60,6 +60,7 @@ export type { QuoteOptions } from './models/QuoteOptions';
|
|
|
60
60
|
export { regionParam } from './models/regionParam';
|
|
61
61
|
export { regionRequired } from './models/regionRequired';
|
|
62
62
|
export type { search } from './models/search';
|
|
63
|
+
export type { snapshotId } from './models/snapshotId';
|
|
63
64
|
export type { sortParam } from './models/sortParam';
|
|
64
65
|
export type { templateId } from './models/templateId';
|
|
65
66
|
export type { UserComponentInstanceField } from './models/UserComponentInstanceField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type snapshotId = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -32,19 +32,21 @@ export declare class ItineraryService {
|
|
|
32
32
|
/**
|
|
33
33
|
* Get Snapshot va ID
|
|
34
34
|
* Returns the specific snapshot
|
|
35
|
+
* @param snapshotId
|
|
35
36
|
* @returns any OK
|
|
36
37
|
* @throws ApiError
|
|
37
38
|
*/
|
|
38
|
-
snapshotGet(): CancelablePromise<{
|
|
39
|
+
snapshotGet(snapshotId: string): CancelablePromise<{
|
|
39
40
|
data: Array<DTOSnapshotRead>;
|
|
40
41
|
}>;
|
|
41
42
|
/**
|
|
42
43
|
* Delete Snapshot via ID
|
|
43
44
|
* Deletes a specific snapshot
|
|
45
|
+
* @param snapshotId
|
|
44
46
|
* @returns any OK
|
|
45
47
|
* @throws ApiError
|
|
46
48
|
*/
|
|
47
|
-
snapshotDelete(): CancelablePromise<any>;
|
|
49
|
+
snapshotDelete(snapshotId: string): CancelablePromise<any>;
|
|
48
50
|
/**
|
|
49
51
|
* Restore Snapshot
|
|
50
52
|
* Creates a new itinerary revision given the content the snapshot refers to
|
|
@@ -39,25 +39,33 @@ export class ItineraryService {
|
|
|
39
39
|
/**
|
|
40
40
|
* Get Snapshot va ID
|
|
41
41
|
* Returns the specific snapshot
|
|
42
|
+
* @param snapshotId
|
|
42
43
|
* @returns any OK
|
|
43
44
|
* @throws ApiError
|
|
44
45
|
*/
|
|
45
|
-
snapshotGet() {
|
|
46
|
+
snapshotGet(snapshotId) {
|
|
46
47
|
return __request(OpenAPI, {
|
|
47
48
|
method: 'GET',
|
|
48
49
|
url: '/snapshots/{snapshotId}',
|
|
50
|
+
path: {
|
|
51
|
+
'snapshotId': snapshotId,
|
|
52
|
+
},
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
52
56
|
* Delete Snapshot via ID
|
|
53
57
|
* Deletes a specific snapshot
|
|
58
|
+
* @param snapshotId
|
|
54
59
|
* @returns any OK
|
|
55
60
|
* @throws ApiError
|
|
56
61
|
*/
|
|
57
|
-
snapshotDelete() {
|
|
62
|
+
snapshotDelete(snapshotId) {
|
|
58
63
|
return __request(OpenAPI, {
|
|
59
64
|
method: 'DELETE',
|
|
60
65
|
url: '/snapshots/{snapshotId}',
|
|
66
|
+
path: {
|
|
67
|
+
'snapshotId': snapshotId,
|
|
68
|
+
},
|
|
61
69
|
});
|
|
62
70
|
}
|
|
63
71
|
/**
|
|
@@ -69,7 +77,7 @@ export class ItineraryService {
|
|
|
69
77
|
snapshotRestore() {
|
|
70
78
|
return __request(OpenAPI, {
|
|
71
79
|
method: 'PUT',
|
|
72
|
-
url: '/snapshots/restore
|
|
80
|
+
url: '/snapshots/restore',
|
|
73
81
|
});
|
|
74
82
|
}
|
|
75
83
|
/**
|