swoop-common 2.1.87 → 2.1.89

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.
@@ -1,12 +1,10 @@
1
1
  import type { ComponentInstance } from './ComponentInstance';
2
2
  import type { Discount } from './Discount';
3
- import type { EnquiryId } from './EnquiryId';
4
3
  import type { Fee } from './Fee';
5
4
  import type { ItineraryValue } from './ItineraryValue';
6
5
  import type { QuoteOptions } from './QuoteOptions';
7
6
  import type { Title } from './Title';
8
7
  export type DTOItineraryCreate = {
9
- enquiryId: EnquiryId;
10
8
  title: Title;
11
9
  welcomeNote?: string;
12
10
  values?: Array<ItineraryValue>;
@@ -324,7 +324,7 @@ export class CoreService {
324
324
  swooperList(page, limit, order, sort, search, on) {
325
325
  return __request(OpenAPI, {
326
326
  method: 'GET',
327
- url: '/swooper',
327
+ url: '/swoopers',
328
328
  query: {
329
329
  'page': page,
330
330
  'limit': limit,
@@ -352,7 +352,7 @@ export class CoreService {
352
352
  swooperCreate(requestBody) {
353
353
  return __request(OpenAPI, {
354
354
  method: 'POST',
355
- url: '/swooper',
355
+ url: '/swoopers',
356
356
  body: requestBody,
357
357
  mediaType: 'application/json',
358
358
  errors: {
@@ -374,7 +374,7 @@ export class CoreService {
374
374
  swooperGet(swooperId) {
375
375
  return __request(OpenAPI, {
376
376
  method: 'GET',
377
- url: '/swooper/{swooperId}',
377
+ url: '/swoopers/{swooperId}',
378
378
  path: {
379
379
  'swooperId': swooperId,
380
380
  },
@@ -397,7 +397,7 @@ export class CoreService {
397
397
  swooperUpdate(swooperId, requestBody) {
398
398
  return __request(OpenAPI, {
399
399
  method: 'PATCH',
400
- url: '/swooper/{swooperId}',
400
+ url: '/swoopers/{swooperId}',
401
401
  path: {
402
402
  'swooperId': swooperId,
403
403
  },
@@ -16,7 +16,7 @@ export class SwooperService {
16
16
  static swooperList(page, limit, order, sort, search, on) {
17
17
  return __request(OpenAPI, {
18
18
  method: 'GET',
19
- url: '/swooper',
19
+ url: '/swoopers',
20
20
  query: {
21
21
  'page': page,
22
22
  'limit': limit,
@@ -44,7 +44,7 @@ export class SwooperService {
44
44
  static swooperCreate(requestBody) {
45
45
  return __request(OpenAPI, {
46
46
  method: 'POST',
47
- url: '/swooper',
47
+ url: '/swoopers',
48
48
  body: requestBody,
49
49
  mediaType: 'application/json',
50
50
  errors: {
@@ -66,7 +66,7 @@ export class SwooperService {
66
66
  static swooperGet(swooperId) {
67
67
  return __request(OpenAPI, {
68
68
  method: 'GET',
69
- url: '/swooper/{swooperId}',
69
+ url: '/swoopers/{swooperId}',
70
70
  path: {
71
71
  'swooperId': swooperId,
72
72
  },
@@ -89,7 +89,7 @@ export class SwooperService {
89
89
  static swooperUpdate(swooperId, requestBody) {
90
90
  return __request(OpenAPI, {
91
91
  method: 'PATCH',
92
- url: '/swooper/{swooperId}',
92
+ url: '/swoopers/{swooperId}',
93
93
  path: {
94
94
  'swooperId': swooperId,
95
95
  },
@@ -1,12 +1,10 @@
1
1
  import type { ComponentInstance } from './ComponentInstance';
2
2
  import type { Discount } from './Discount';
3
- import type { EnquiryId } from './EnquiryId';
4
3
  import type { Fee } from './Fee';
5
4
  import type { ItineraryValue } from './ItineraryValue';
6
5
  import type { QuoteOptions } from './QuoteOptions';
7
6
  import type { Title } from './Title';
8
7
  export type DTOItineraryCreate = {
9
- enquiryId: EnquiryId;
10
8
  title: Title;
11
9
  welcomeNote?: string;
12
10
  values?: Array<ItineraryValue>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.87",
3
+ "version": "2.1.89",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {