@drttix/drt-sdk 0.8.1 → 0.8.3

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.
Files changed (33) hide show
  1. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  2. package/dist/cjs/src/generated/portal/index.d.ts +1 -0
  3. package/dist/cjs/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +1 -0
  4. package/dist/cjs/src/generated/portal/models/DeleteCodesRequestDto.d.ts +1 -0
  5. package/dist/cjs/src/generated/portal/models/ProductSendMailRequestDto.d.ts +1 -0
  6. package/dist/cjs/src/generated/portal/models/ReorderBookmarkRequestDto.d.ts +6 -0
  7. package/dist/cjs/src/generated/portal/models/ReorderBookmarkRequestDto.js +2 -0
  8. package/dist/cjs/src/generated/portal/models/StopShowRequestDto.d.ts +1 -0
  9. package/dist/cjs/src/generated/portal/services/BookmarkService.d.ts +11 -0
  10. package/dist/cjs/src/generated/portal/services/BookmarkService.js +23 -0
  11. package/dist/cjs/src/generated/portal/types.d.ts +1 -0
  12. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  13. package/dist/esm/src/generated/portal/index.d.ts +1 -0
  14. package/dist/esm/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +1 -0
  15. package/dist/esm/src/generated/portal/models/DeleteCodesRequestDto.d.ts +1 -0
  16. package/dist/esm/src/generated/portal/models/ProductSendMailRequestDto.d.ts +1 -0
  17. package/dist/esm/src/generated/portal/models/ReorderBookmarkRequestDto.d.ts +6 -0
  18. package/dist/esm/src/generated/portal/models/ReorderBookmarkRequestDto.js +1 -0
  19. package/dist/esm/src/generated/portal/models/StopShowRequestDto.d.ts +1 -0
  20. package/dist/esm/src/generated/portal/services/BookmarkService.d.ts +11 -0
  21. package/dist/esm/src/generated/portal/services/BookmarkService.js +23 -0
  22. package/dist/esm/src/generated/portal/types.d.ts +1 -0
  23. package/package.json +1 -1
  24. package/src/generated/portal/core/OpenAPI.ts +1 -1
  25. package/src/generated/portal/index.ts +1 -0
  26. package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +1 -0
  27. package/src/generated/portal/models/DeleteCodesRequestDto.ts +1 -0
  28. package/src/generated/portal/models/ProductSendMailRequestDto.ts +1 -0
  29. package/src/generated/portal/models/ReorderBookmarkRequestDto.ts +11 -0
  30. package/src/generated/portal/models/StopShowRequestDto.ts +1 -0
  31. package/src/generated/portal/services/BookmarkService.ts +28 -0
  32. package/src/generated/portal/types.ts +1 -0
  33. package/tsconfig.json +1 -1
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '',
6
- VERSION: '20260406.4',
6
+ VERSION: '20260408.2',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -197,6 +197,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
197
197
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
198
198
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
199
199
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
200
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
200
201
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
201
202
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
202
203
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
@@ -17,4 +17,5 @@ export type CreatePriorityCodeRequestDto = {
17
17
  emailSubject: string;
18
18
  dateSend: string;
19
19
  sendWhen: string;
20
+ language: string;
20
21
  };
@@ -1,3 +1,4 @@
1
1
  export type DeleteCodesRequestDto = {
2
2
  codeIds: Array<string>;
3
+ language: string;
3
4
  };
@@ -9,4 +9,5 @@ export type ProductSendMailRequestDto = {
9
9
  sendWhen: string;
10
10
  cc: string;
11
11
  dateSend: string;
12
+ language: string;
12
13
  };
@@ -0,0 +1,6 @@
1
+ export type ReorderBookmarkRequestDto = {
2
+ /**
3
+ * Array of tool IDs in the new order
4
+ */
5
+ toolIds: Array<any[]>;
6
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,4 +2,5 @@ export type StopShowRequestDto = {
2
2
  mode: string;
3
3
  soldOutText: string;
4
4
  enableWaitlist: number;
5
+ language: string;
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import type { BookmarkResponseDto } from '../models/BookmarkResponseDto';
2
2
  import type { CheckBookmarkResponseDto } from '../models/CheckBookmarkResponseDto';
3
+ import type { ReorderBookmarkRequestDto } from '../models/ReorderBookmarkRequestDto';
3
4
  import type { SuccessResponse } from '../models/SuccessResponse';
4
5
  import type { CancelablePromise } from '../core/CancelablePromise';
5
6
  export declare class BookmarkService {
@@ -38,4 +39,14 @@ export declare class BookmarkService {
38
39
  * @throws ApiError
39
40
  */
40
41
  static clearBookmark(xStudioId: string, path: string): CancelablePromise<SuccessResponse>;
42
+ /**
43
+ * Update bookmarks rank order
44
+ * Update bookmarks rank order
45
+ * @param xStudioId The ID of the studio
46
+ * @param path Value of the bookmark path
47
+ * @param requestBody Array of bookmark IDs in the new order
48
+ * @returns SuccessResponse Bookmarks order updated successfully
49
+ * @throws ApiError
50
+ */
51
+ static reorderBookmark(xStudioId: string, path: any, requestBody: ReorderBookmarkRequestDto): CancelablePromise<SuccessResponse>;
41
52
  }
@@ -80,5 +80,28 @@ class BookmarkService {
80
80
  },
81
81
  });
82
82
  }
83
+ /**
84
+ * Update bookmarks rank order
85
+ * Update bookmarks rank order
86
+ * @param xStudioId The ID of the studio
87
+ * @param path Value of the bookmark path
88
+ * @param requestBody Array of bookmark IDs in the new order
89
+ * @returns SuccessResponse Bookmarks order updated successfully
90
+ * @throws ApiError
91
+ */
92
+ static reorderBookmark(xStudioId, path, requestBody) {
93
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
94
+ method: 'PUT',
95
+ url: '/bookmark/reorder',
96
+ headers: {
97
+ 'x-studio-id': xStudioId,
98
+ },
99
+ query: {
100
+ 'path': path,
101
+ },
102
+ body: requestBody,
103
+ mediaType: 'application/json',
104
+ });
105
+ }
83
106
  }
84
107
  exports.BookmarkService = BookmarkService;
@@ -193,6 +193,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
193
193
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
194
194
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
195
195
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
196
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
196
197
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
197
198
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
198
199
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: '',
3
- VERSION: '20260406.4',
3
+ VERSION: '20260408.2',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -197,6 +197,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
197
197
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
198
198
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
199
199
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
200
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
200
201
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
201
202
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
202
203
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
@@ -17,4 +17,5 @@ export type CreatePriorityCodeRequestDto = {
17
17
  emailSubject: string;
18
18
  dateSend: string;
19
19
  sendWhen: string;
20
+ language: string;
20
21
  };
@@ -1,3 +1,4 @@
1
1
  export type DeleteCodesRequestDto = {
2
2
  codeIds: Array<string>;
3
+ language: string;
3
4
  };
@@ -9,4 +9,5 @@ export type ProductSendMailRequestDto = {
9
9
  sendWhen: string;
10
10
  cc: string;
11
11
  dateSend: string;
12
+ language: string;
12
13
  };
@@ -0,0 +1,6 @@
1
+ export type ReorderBookmarkRequestDto = {
2
+ /**
3
+ * Array of tool IDs in the new order
4
+ */
5
+ toolIds: Array<any[]>;
6
+ };
@@ -2,4 +2,5 @@ export type StopShowRequestDto = {
2
2
  mode: string;
3
3
  soldOutText: string;
4
4
  enableWaitlist: number;
5
+ language: string;
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import type { BookmarkResponseDto } from '../models/BookmarkResponseDto';
2
2
  import type { CheckBookmarkResponseDto } from '../models/CheckBookmarkResponseDto';
3
+ import type { ReorderBookmarkRequestDto } from '../models/ReorderBookmarkRequestDto';
3
4
  import type { SuccessResponse } from '../models/SuccessResponse';
4
5
  import type { CancelablePromise } from '../core/CancelablePromise';
5
6
  export declare class BookmarkService {
@@ -38,4 +39,14 @@ export declare class BookmarkService {
38
39
  * @throws ApiError
39
40
  */
40
41
  static clearBookmark(xStudioId: string, path: string): CancelablePromise<SuccessResponse>;
42
+ /**
43
+ * Update bookmarks rank order
44
+ * Update bookmarks rank order
45
+ * @param xStudioId The ID of the studio
46
+ * @param path Value of the bookmark path
47
+ * @param requestBody Array of bookmark IDs in the new order
48
+ * @returns SuccessResponse Bookmarks order updated successfully
49
+ * @throws ApiError
50
+ */
51
+ static reorderBookmark(xStudioId: string, path: any, requestBody: ReorderBookmarkRequestDto): CancelablePromise<SuccessResponse>;
41
52
  }
@@ -77,4 +77,27 @@ export class BookmarkService {
77
77
  },
78
78
  });
79
79
  }
80
+ /**
81
+ * Update bookmarks rank order
82
+ * Update bookmarks rank order
83
+ * @param xStudioId The ID of the studio
84
+ * @param path Value of the bookmark path
85
+ * @param requestBody Array of bookmark IDs in the new order
86
+ * @returns SuccessResponse Bookmarks order updated successfully
87
+ * @throws ApiError
88
+ */
89
+ static reorderBookmark(xStudioId, path, requestBody) {
90
+ return __request(OpenAPI, {
91
+ method: 'PUT',
92
+ url: '/bookmark/reorder',
93
+ headers: {
94
+ 'x-studio-id': xStudioId,
95
+ },
96
+ query: {
97
+ 'path': path,
98
+ },
99
+ body: requestBody,
100
+ mediaType: 'application/json',
101
+ });
102
+ }
80
103
  }
@@ -193,6 +193,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
193
193
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
194
194
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
195
195
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
196
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
196
197
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
197
198
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
198
199
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@drttix/drt-sdk",
3
3
  "description": "DRT SDK",
4
- "version": "0.8.01",
4
+ "version": "0.8.3",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: '',
24
- VERSION: '20260406.4',
24
+ VERSION: '20260408.2',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -202,6 +202,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
202
202
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
203
203
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
204
204
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
205
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
205
206
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
206
207
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
207
208
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
@@ -21,5 +21,6 @@ export type CreatePriorityCodeRequestDto = {
21
21
  emailSubject: string;
22
22
  dateSend: string;
23
23
  sendWhen: string;
24
+ language: string;
24
25
  };
25
26
 
@@ -4,5 +4,6 @@
4
4
  /* eslint-disable */
5
5
  export type DeleteCodesRequestDto = {
6
6
  codeIds: Array<string>;
7
+ language: string;
7
8
  };
8
9
 
@@ -13,5 +13,6 @@ export type ProductSendMailRequestDto = {
13
13
  sendWhen: string;
14
14
  cc: string;
15
15
  dateSend: string;
16
+ language: string;
16
17
  };
17
18
 
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ReorderBookmarkRequestDto = {
6
+ /**
7
+ * Array of tool IDs in the new order
8
+ */
9
+ toolIds: Array<any[]>;
10
+ };
11
+
@@ -6,5 +6,6 @@ export type StopShowRequestDto = {
6
6
  mode: string;
7
7
  soldOutText: string;
8
8
  enableWaitlist: number;
9
+ language: string;
9
10
  };
10
11
 
@@ -4,6 +4,7 @@
4
4
  /* eslint-disable */
5
5
  import type { BookmarkResponseDto } from '../models/BookmarkResponseDto';
6
6
  import type { CheckBookmarkResponseDto } from '../models/CheckBookmarkResponseDto';
7
+ import type { ReorderBookmarkRequestDto } from '../models/ReorderBookmarkRequestDto';
7
8
  import type { SuccessResponse } from '../models/SuccessResponse';
8
9
  import type { CancelablePromise } from '../core/CancelablePromise';
9
10
  import { OpenAPI } from '../core/OpenAPI';
@@ -96,4 +97,31 @@ export class BookmarkService {
96
97
  },
97
98
  });
98
99
  }
100
+ /**
101
+ * Update bookmarks rank order
102
+ * Update bookmarks rank order
103
+ * @param xStudioId The ID of the studio
104
+ * @param path Value of the bookmark path
105
+ * @param requestBody Array of bookmark IDs in the new order
106
+ * @returns SuccessResponse Bookmarks order updated successfully
107
+ * @throws ApiError
108
+ */
109
+ public static reorderBookmark(
110
+ xStudioId: string,
111
+ path: any,
112
+ requestBody: ReorderBookmarkRequestDto,
113
+ ): CancelablePromise<SuccessResponse> {
114
+ return __request(OpenAPI, {
115
+ method: 'PUT',
116
+ url: '/bookmark/reorder',
117
+ headers: {
118
+ 'x-studio-id': xStudioId,
119
+ },
120
+ query: {
121
+ 'path': path,
122
+ },
123
+ body: requestBody,
124
+ mediaType: 'application/json',
125
+ });
126
+ }
99
127
  }
@@ -196,6 +196,7 @@ export type { RefundSettingsResponseDto } from './models/RefundSettingsResponseD
196
196
  export type { ReleaseSeatDetailResponseDto } from './models/ReleaseSeatDetailResponseDto';
197
197
  export type { RemoveReservationCodeRequestDto } from './models/RemoveReservationCodeRequestDto';
198
198
  export type { RemoveSeatsRequestDto } from './models/RemoveSeatsRequestDto';
199
+ export type { ReorderBookmarkRequestDto } from './models/ReorderBookmarkRequestDto';
199
200
  export type { ReorderImageRequestDto } from './models/ReorderImageRequestDto';
200
201
  export type { ReportProductSalesResponseDto } from './models/ReportProductSalesResponseDto';
201
202
  export type { ResendMailRequestDto } from './models/ResendMailRequestDto';
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
4
4
  "module": "commonjs" /* Specify what module code is generated. */,
5
5
  "rootDir": "." /* Specify the root folder within your source files. */,
6
- "moduleResolution": "node10" /* Specify how TypeScript looks up a file from a given module specifier. */,
6
+ "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
7
7
  "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
8
8
  "outDir": "dist" /* Specify an output folder for all emitted files. */,
9
9
  "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,