@drttix/drt-sdk 2.0.5 → 2.0.7
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/cjs/index.d.ts +4 -0
- package/dist/cjs/src/definitions/portal.d.ts +8 -0
- package/dist/cjs/src/definitions/portal.js +47 -39
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +23 -0
- package/dist/cjs/src/generated/portal/index.js +10 -2
- package/dist/cjs/src/generated/portal/models/CreateShowCodeRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/models/DeletePushSubscriptionRequestDto.d.ts +3 -0
- package/dist/cjs/src/generated/portal/models/DeletePushSubscriptionRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushPublicKeyResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/PushPublicKeyResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushSendResponseDto.d.ts +15 -0
- package/dist/cjs/src/generated/portal/models/PushSendResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PushSubscriptionKeysDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/PushSubscriptionKeysDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupRequestDto.d.ts +9 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SalesTaxLookupResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SavePushSubscriptionRequestDto.d.ts +7 -0
- package/dist/cjs/src/generated/portal/models/SavePushSubscriptionRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ScanningEndResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/ScanningEndResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SendSupportChatMessageRequestDto.d.ts +15 -0
- package/dist/cjs/src/generated/portal/models/SendSupportChatMessageRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SendSupportChatMessageResponseDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/SendSupportChatMessageResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SetScanningEndRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SetScanningEndRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/StudioFeesLedgerRequestDto.d.ts +8 -2
- package/dist/cjs/src/generated/portal/models/SupportChatAttachmentDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/SupportChatAttachmentDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatConversationDto.d.ts +25 -0
- package/dist/cjs/src/generated/portal/models/SupportChatConversationDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatConversationSummaryDto.d.ts +16 -0
- package/dist/cjs/src/generated/portal/models/SupportChatConversationSummaryDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatMessageDto.d.ts +24 -0
- package/dist/cjs/src/generated/portal/models/SupportChatMessageDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatReadRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/SupportChatReadRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatResponseDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/SupportChatResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatSocketDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/SupportChatSocketDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportChatSocketResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/SupportChatSocketResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/TicketScanningShowResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/UpdateShowCodeRequestDto.d.ts +1 -1
- package/dist/cjs/src/generated/portal/services/AccountingService.d.ts +4 -5
- package/dist/cjs/src/generated/portal/services/AccountingService.js +4 -7
- package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.d.ts +12 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.js +24 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsTicketScanningService.d.ts +12 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsTicketScanningService.js +23 -0
- package/dist/cjs/src/generated/portal/services/PushNotificationsService.d.ts +33 -0
- package/dist/cjs/src/generated/portal/services/PushNotificationsService.js +62 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/cjs/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/cjs/src/generated/portal/services/SuperUserPushNotificationsService.d.ts +13 -0
- package/dist/cjs/src/generated/portal/services/SuperUserPushNotificationsService.js +28 -0
- package/dist/cjs/src/generated/portal/services/SupportChatService.d.ts +57 -0
- package/dist/cjs/src/generated/portal/services/SupportChatService.js +107 -0
- package/dist/cjs/src/generated/portal/types.d.ts +19 -0
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/cjs/src/staging/index.d.ts +4 -0
- package/dist/cjs/src/staging/portal.d.ts +8 -0
- package/dist/cjs/src/staging/portal.js +47 -39
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/src/definitions/portal.d.ts +8 -0
- package/dist/esm/src/definitions/portal.js +8 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +23 -0
- package/dist/esm/src/generated/portal/index.js +4 -0
- package/dist/esm/src/generated/portal/models/CreateShowCodeRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/models/DeletePushSubscriptionRequestDto.d.ts +3 -0
- package/dist/esm/src/generated/portal/models/DeletePushSubscriptionRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushPublicKeyResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/PushPublicKeyResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushSendResponseDto.d.ts +15 -0
- package/dist/esm/src/generated/portal/models/PushSendResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PushSubscriptionKeysDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/PushSubscriptionKeysDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupRequestDto.d.ts +9 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SalesTaxLookupResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SavePushSubscriptionRequestDto.d.ts +7 -0
- package/dist/esm/src/generated/portal/models/SavePushSubscriptionRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ScanningEndResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/ScanningEndResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SendSupportChatMessageRequestDto.d.ts +15 -0
- package/dist/esm/src/generated/portal/models/SendSupportChatMessageRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SendSupportChatMessageResponseDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/SendSupportChatMessageResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SetScanningEndRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SetScanningEndRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/StudioFeesLedgerRequestDto.d.ts +8 -2
- package/dist/esm/src/generated/portal/models/SupportChatAttachmentDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/SupportChatAttachmentDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatConversationDto.d.ts +25 -0
- package/dist/esm/src/generated/portal/models/SupportChatConversationDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatConversationSummaryDto.d.ts +16 -0
- package/dist/esm/src/generated/portal/models/SupportChatConversationSummaryDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatMessageDto.d.ts +24 -0
- package/dist/esm/src/generated/portal/models/SupportChatMessageDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatReadRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/SupportChatReadRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatResponseDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/SupportChatResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatSocketDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/SupportChatSocketDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportChatSocketResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/SupportChatSocketResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/TicketScanningShowResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/UpdateShowCodeRequestDto.d.ts +1 -1
- package/dist/esm/src/generated/portal/services/AccountingService.d.ts +4 -5
- package/dist/esm/src/generated/portal/services/AccountingService.js +4 -7
- package/dist/esm/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.d.ts +12 -0
- package/dist/esm/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.js +20 -0
- package/dist/esm/src/generated/portal/services/ClientToolsTicketScanningService.d.ts +12 -0
- package/dist/esm/src/generated/portal/services/ClientToolsTicketScanningService.js +23 -0
- package/dist/esm/src/generated/portal/services/PushNotificationsService.d.ts +33 -0
- package/dist/esm/src/generated/portal/services/PushNotificationsService.js +58 -0
- package/dist/esm/src/generated/portal/services/ShowsService.d.ts +11 -0
- package/dist/esm/src/generated/portal/services/ShowsService.js +19 -0
- package/dist/esm/src/generated/portal/services/SuperUserPushNotificationsService.d.ts +13 -0
- package/dist/esm/src/generated/portal/services/SuperUserPushNotificationsService.js +24 -0
- package/dist/esm/src/generated/portal/services/SupportChatService.d.ts +57 -0
- package/dist/esm/src/generated/portal/services/SupportChatService.js +103 -0
- package/dist/esm/src/generated/portal/types.d.ts +19 -0
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
- package/dist/esm/src/staging/index.d.ts +4 -0
- package/dist/esm/src/staging/portal.d.ts +8 -0
- package/dist/esm/src/staging/portal.js +8 -0
- package/package.json +1 -1
- package/src/definitions/portal.ts +8 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +23 -0
- package/src/generated/portal/models/CreateShowCodeRequestDto.ts +1 -1
- package/src/generated/portal/models/DeletePushSubscriptionRequestDto.ts +8 -0
- package/src/generated/portal/models/PushPublicKeyResponseDto.ts +11 -0
- package/src/generated/portal/models/PushSendResponseDto.ts +20 -0
- package/src/generated/portal/models/PushSubscriptionKeysDto.ts +9 -0
- package/src/generated/portal/models/SalesTaxLookupRequestDto.ts +14 -0
- package/src/generated/portal/models/SalesTaxLookupResponseDto.ts +11 -0
- package/src/generated/portal/models/SavePushSubscriptionRequestDto.ts +12 -0
- package/src/generated/portal/models/ScanningEndResponseDto.ts +11 -0
- package/src/generated/portal/models/SendSupportChatMessageRequestDto.ts +20 -0
- package/src/generated/portal/models/SendSupportChatMessageResponseDto.ts +10 -0
- package/src/generated/portal/models/SetScanningEndRequestDto.ts +11 -0
- package/src/generated/portal/models/StudioFeesLedgerRequestDto.ts +8 -2
- package/src/generated/portal/models/SupportChatAttachmentDto.ts +9 -0
- package/src/generated/portal/models/SupportChatConversationDto.ts +30 -0
- package/src/generated/portal/models/SupportChatConversationSummaryDto.ts +21 -0
- package/src/generated/portal/models/SupportChatMessageDto.ts +29 -0
- package/src/generated/portal/models/SupportChatReadRequestDto.ts +11 -0
- package/src/generated/portal/models/SupportChatResponseDto.ts +18 -0
- package/src/generated/portal/models/SupportChatSocketDto.ts +18 -0
- package/src/generated/portal/models/SupportChatSocketResponseDto.ts +9 -0
- package/src/generated/portal/models/TicketScanningShowResponseDto.ts +4 -0
- package/src/generated/portal/models/UpdateShowCodeRequestDto.ts +1 -1
- package/src/generated/portal/services/AccountingService.ts +3 -7
- package/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.ts +28 -0
- package/src/generated/portal/services/ClientToolsTicketScanningService.ts +29 -0
- package/src/generated/portal/services/PushNotificationsService.ts +75 -0
- package/src/generated/portal/services/ShowsService.ts +24 -0
- package/src/generated/portal/services/SuperUserPushNotificationsService.ts +33 -0
- package/src/generated/portal/services/SupportChatService.ts +132 -0
- package/src/generated/portal/types.ts +19 -0
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/models/Account.ts +4 -0
- package/src/staging/portal.ts +8 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SupportChatConversationDto } from './SupportChatConversationDto';
|
|
2
|
+
import type { SupportChatConversationSummaryDto } from './SupportChatConversationSummaryDto';
|
|
3
|
+
export type SupportChatResponseDto = {
|
|
4
|
+
/**
|
|
5
|
+
* The session is DRT support (a superuser): it answers, it never writes as the studio.
|
|
6
|
+
*/
|
|
7
|
+
asSupport: boolean;
|
|
8
|
+
conversation: SupportChatConversationDto | null;
|
|
9
|
+
/**
|
|
10
|
+
* Superusers only; empty otherwise.
|
|
11
|
+
*/
|
|
12
|
+
openConversations: Array<SupportChatConversationSummaryDto>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type SupportChatSocketDto = {
|
|
2
|
+
url: string;
|
|
3
|
+
/**
|
|
4
|
+
* Listen-only token; the browser sends it as the `bearer.{token}` subprotocol.
|
|
5
|
+
*/
|
|
6
|
+
token: string;
|
|
7
|
+
roomId: string;
|
|
8
|
+
/**
|
|
9
|
+
* The frame event that carries updates.
|
|
10
|
+
*/
|
|
11
|
+
event: string;
|
|
12
|
+
conversationId: number;
|
|
13
|
+
};
|
|
@@ -12,4 +12,8 @@ export type TicketScanningShowResponseDto = {
|
|
|
12
12
|
seatsScanned: number;
|
|
13
13
|
statusId: number | null;
|
|
14
14
|
statusName: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* When the Scanner API stops serving the show: Eastern wall clock with a sentinel "Z"; null for no cutoff.
|
|
17
|
+
*/
|
|
18
|
+
dateScanningEnd: string | null;
|
|
15
19
|
};
|
|
@@ -148,18 +148,17 @@ export declare class AccountingService {
|
|
|
148
148
|
static getStudioFees(xStudioId: string): CancelablePromise<StudioFeesResponseDto>;
|
|
149
149
|
/**
|
|
150
150
|
* Fetch the studio fees details
|
|
151
|
-
* Returns uncollected and retrieved fee totals
|
|
151
|
+
* Returns all-time uncollected and retrieved fee totals. Any request body is ignored.
|
|
152
152
|
* @param xStudioId The ID of the studio
|
|
153
|
-
* @param requestBody Date range for the studio fees details
|
|
154
153
|
* @returns StudioFeesDetailsResponseDto Studio fees details fetched successfully
|
|
155
154
|
* @throws ApiError
|
|
156
155
|
*/
|
|
157
|
-
static getStudioFeesDetails(xStudioId: string
|
|
156
|
+
static getStudioFeesDetails(xStudioId: string): CancelablePromise<StudioFeesDetailsResponseDto>;
|
|
158
157
|
/**
|
|
159
158
|
* Fetch the studio fees ledger
|
|
160
|
-
* Returns
|
|
159
|
+
* Returns all-time per-order fee debits or credits
|
|
161
160
|
* @param xStudioId The ID of the studio
|
|
162
|
-
* @param requestBody
|
|
161
|
+
* @param requestBody Ledger type (debits or credits)
|
|
163
162
|
* @returns StudioFeesLedgerResponseDto Studio fees ledger fetched successfully
|
|
164
163
|
* @throws ApiError
|
|
165
164
|
*/
|
|
@@ -245,28 +245,25 @@ class AccountingService {
|
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
247
|
* Fetch the studio fees details
|
|
248
|
-
* Returns uncollected and retrieved fee totals
|
|
248
|
+
* Returns all-time uncollected and retrieved fee totals. Any request body is ignored.
|
|
249
249
|
* @param xStudioId The ID of the studio
|
|
250
|
-
* @param requestBody Date range for the studio fees details
|
|
251
250
|
* @returns StudioFeesDetailsResponseDto Studio fees details fetched successfully
|
|
252
251
|
* @throws ApiError
|
|
253
252
|
*/
|
|
254
|
-
static getStudioFeesDetails(xStudioId
|
|
253
|
+
static getStudioFeesDetails(xStudioId) {
|
|
255
254
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
256
255
|
method: 'POST',
|
|
257
256
|
url: '/admin-portal/accounting/studio-fees/details',
|
|
258
257
|
headers: {
|
|
259
258
|
'x-studio-id': xStudioId,
|
|
260
259
|
},
|
|
261
|
-
body: requestBody,
|
|
262
|
-
mediaType: 'application/json',
|
|
263
260
|
});
|
|
264
261
|
}
|
|
265
262
|
/**
|
|
266
263
|
* Fetch the studio fees ledger
|
|
267
|
-
* Returns
|
|
264
|
+
* Returns all-time per-order fee debits or credits
|
|
268
265
|
* @param xStudioId The ID of the studio
|
|
269
|
-
* @param requestBody
|
|
266
|
+
* @param requestBody Ledger type (debits or credits)
|
|
270
267
|
* @returns StudioFeesLedgerResponseDto Studio fees ledger fetched successfully
|
|
271
268
|
* @throws ApiError
|
|
272
269
|
*/
|
package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IntegratorDetailResponseDto } from '../models/IntegratorDetailResponseDto';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class ClientToolsStudioManagementIntegrationService {
|
|
4
|
+
/**
|
|
5
|
+
* Fetch the platforms a studio can connect, and its connection
|
|
6
|
+
* The studio management platforms a studio can connect itself to, and the one it is connected to (id 0 and empty name when none).
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @returns IntegratorDetailResponseDto Integrators fetched successfully
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getClientStudioIntegrators(xStudioId: string): CancelablePromise<IntegratorDetailResponseDto>;
|
|
12
|
+
}
|
package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientToolsStudioManagementIntegrationService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class ClientToolsStudioManagementIntegrationService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the platforms a studio can connect, and its connection
|
|
9
|
+
* The studio management platforms a studio can connect itself to, and the one it is connected to (id 0 and empty name when none).
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns IntegratorDetailResponseDto Integrators fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getClientStudioIntegrators(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/admin-portal/client-tools/studio-management-integration',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.ClientToolsStudioManagementIntegrationService = ClientToolsStudioManagementIntegrationService;
|
|
@@ -2,6 +2,8 @@ import type { CreateShowCodeRequestDto } from '../models/CreateShowCodeRequestDt
|
|
|
2
2
|
import type { ScannedTicketResponseDto } from '../models/ScannedTicketResponseDto';
|
|
3
3
|
import type { ScannerLogFiltersResponseDto } from '../models/ScannerLogFiltersResponseDto';
|
|
4
4
|
import type { ScannerLogResponseDto } from '../models/ScannerLogResponseDto';
|
|
5
|
+
import type { ScanningEndResponseDto } from '../models/ScanningEndResponseDto';
|
|
6
|
+
import type { SetScanningEndRequestDto } from '../models/SetScanningEndRequestDto';
|
|
5
7
|
import type { ShowCodeResponseDto } from '../models/ShowCodeResponseDto';
|
|
6
8
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
7
9
|
import type { TicketScanningShowResponseDto } from '../models/TicketScanningShowResponseDto';
|
|
@@ -66,6 +68,16 @@ export declare class ClientToolsTicketScanningService {
|
|
|
66
68
|
* @throws ApiError
|
|
67
69
|
*/
|
|
68
70
|
static resetScannedTicketDetails(xStudioId: string, showId: string): CancelablePromise<SuccessResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Set or clear when scanning stops for a show
|
|
73
|
+
* Writes show.date_scanning_end, past which the Scanner API stops serving the show. The date is an Eastern wall clock with a sentinel "Z"; null clears it.
|
|
74
|
+
* @param xStudioId The ID of the studio
|
|
75
|
+
* @param showId The ID of the show
|
|
76
|
+
* @param requestBody
|
|
77
|
+
* @returns ScanningEndResponseDto Scanning cutoff saved
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
static setShowScanningEnd(xStudioId: string, showId: string, requestBody: SetScanningEndRequestDto): CancelablePromise<ScanningEndResponseDto>;
|
|
69
81
|
/**
|
|
70
82
|
* List the device show codes for a show
|
|
71
83
|
* Every device show code made for the show, active ones first. The generic show code is not a row here; it comes with the show list.
|
|
@@ -128,6 +128,29 @@ class ClientToolsTicketScanningService {
|
|
|
128
128
|
},
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Set or clear when scanning stops for a show
|
|
133
|
+
* Writes show.date_scanning_end, past which the Scanner API stops serving the show. The date is an Eastern wall clock with a sentinel "Z"; null clears it.
|
|
134
|
+
* @param xStudioId The ID of the studio
|
|
135
|
+
* @param showId The ID of the show
|
|
136
|
+
* @param requestBody
|
|
137
|
+
* @returns ScanningEndResponseDto Scanning cutoff saved
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static setShowScanningEnd(xStudioId, showId, requestBody) {
|
|
141
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
142
|
+
method: 'PUT',
|
|
143
|
+
url: '/admin-portal/client-tools/ticket-scanning/{showId}/scanning-end',
|
|
144
|
+
path: {
|
|
145
|
+
'showId': showId,
|
|
146
|
+
},
|
|
147
|
+
headers: {
|
|
148
|
+
'x-studio-id': xStudioId,
|
|
149
|
+
},
|
|
150
|
+
body: requestBody,
|
|
151
|
+
mediaType: 'application/json',
|
|
152
|
+
});
|
|
153
|
+
}
|
|
131
154
|
/**
|
|
132
155
|
* List the device show codes for a show
|
|
133
156
|
* Every device show code made for the show, active ones first. The generic show code is not a row here; it comes with the show list.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { DeletePushSubscriptionRequestDto } from '../models/DeletePushSubscriptionRequestDto';
|
|
2
|
+
import type { PushPublicKeyResponseDto } from '../models/PushPublicKeyResponseDto';
|
|
3
|
+
import type { SavePushSubscriptionRequestDto } from '../models/SavePushSubscriptionRequestDto';
|
|
4
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class PushNotificationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the VAPID public key a device subscribes with
|
|
9
|
+
* Empty when push is not configured on this environment, which the app reads as "not available".
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns PushPublicKeyResponseDto VAPID public key fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getPushPublicKey(xStudioId: string): CancelablePromise<PushPublicKeyResponseDto>;
|
|
15
|
+
/**
|
|
16
|
+
* Register (or refresh) this device's push subscription
|
|
17
|
+
* Called by the installed app on every open while notifications are on, so a rotated subscription replaces the old one. The endpoint is the device's identity.
|
|
18
|
+
* @param xStudioId The ID of the studio
|
|
19
|
+
* @param requestBody
|
|
20
|
+
* @returns SuccessResponse Push subscription saved successfully
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static savePushSubscription(xStudioId: string, requestBody: SavePushSubscriptionRequestDto): CancelablePromise<SuccessResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Remove this device's push subscription
|
|
26
|
+
* Called when notifications are turned off or on sign-out.
|
|
27
|
+
* @param xStudioId The ID of the studio
|
|
28
|
+
* @param requestBody
|
|
29
|
+
* @returns SuccessResponse Push subscription removed successfully
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static deletePushSubscription(xStudioId: string, requestBody: DeletePushSubscriptionRequestDto): CancelablePromise<SuccessResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PushNotificationsService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class PushNotificationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch the VAPID public key a device subscribes with
|
|
9
|
+
* Empty when push is not configured on this environment, which the app reads as "not available".
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @returns PushPublicKeyResponseDto VAPID public key fetched successfully
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getPushPublicKey(xStudioId) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/admin-portal/push/vapid-public-key',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-studio-id': xStudioId,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Register (or refresh) this device's push subscription
|
|
25
|
+
* Called by the installed app on every open while notifications are on, so a rotated subscription replaces the old one. The endpoint is the device's identity.
|
|
26
|
+
* @param xStudioId The ID of the studio
|
|
27
|
+
* @param requestBody
|
|
28
|
+
* @returns SuccessResponse Push subscription saved successfully
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static savePushSubscription(xStudioId, requestBody) {
|
|
32
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
33
|
+
method: 'POST',
|
|
34
|
+
url: '/admin-portal/push/subscription',
|
|
35
|
+
headers: {
|
|
36
|
+
'x-studio-id': xStudioId,
|
|
37
|
+
},
|
|
38
|
+
body: requestBody,
|
|
39
|
+
mediaType: 'application/json',
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Remove this device's push subscription
|
|
44
|
+
* Called when notifications are turned off or on sign-out.
|
|
45
|
+
* @param xStudioId The ID of the studio
|
|
46
|
+
* @param requestBody
|
|
47
|
+
* @returns SuccessResponse Push subscription removed successfully
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static deletePushSubscription(xStudioId, requestBody) {
|
|
51
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
52
|
+
method: 'DELETE',
|
|
53
|
+
url: '/admin-portal/push/subscription',
|
|
54
|
+
headers: {
|
|
55
|
+
'x-studio-id': xStudioId,
|
|
56
|
+
},
|
|
57
|
+
body: requestBody,
|
|
58
|
+
mediaType: 'application/json',
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.PushNotificationsService = PushNotificationsService;
|
|
@@ -17,6 +17,8 @@ import type { MigrateTicketRequestDto } from '../models/MigrateTicketRequestDto'
|
|
|
17
17
|
import type { MigrateTicketResultDto } from '../models/MigrateTicketResultDto';
|
|
18
18
|
import type { PerformersListRequestDto } from '../models/PerformersListRequestDto';
|
|
19
19
|
import type { PerformersListResponseDto } from '../models/PerformersListResponseDto';
|
|
20
|
+
import type { SalesTaxLookupRequestDto } from '../models/SalesTaxLookupRequestDto';
|
|
21
|
+
import type { SalesTaxLookupResponseDto } from '../models/SalesTaxLookupResponseDto';
|
|
20
22
|
import type { SavePricingSetRequestDto } from '../models/SavePricingSetRequestDto';
|
|
21
23
|
import type { SavePricingSetResponseDto } from '../models/SavePricingSetResponseDto';
|
|
22
24
|
import type { SeatDetailsResponseDto } from '../models/SeatDetailsResponseDto';
|
|
@@ -226,6 +228,15 @@ export declare class ShowsService {
|
|
|
226
228
|
* @throws ApiError
|
|
227
229
|
*/
|
|
228
230
|
static getShowSectionDetail(showId: string, sectionId: string): CancelablePromise<ShowSectionDetail>;
|
|
231
|
+
/**
|
|
232
|
+
* Look up a venue's sales tax
|
|
233
|
+
* For Create Event to offer in place of the studio sales tax
|
|
234
|
+
* @param xStudioId The ID of the studio
|
|
235
|
+
* @param requestBody The venue's address
|
|
236
|
+
* @returns SalesTaxLookupResponseDto The venue's sales tax rate
|
|
237
|
+
* @throws ApiError
|
|
238
|
+
*/
|
|
239
|
+
static lookupShowSalesTax(xStudioId: string, requestBody: SalesTaxLookupRequestDto): CancelablePromise<SalesTaxLookupResponseDto>;
|
|
229
240
|
/**
|
|
230
241
|
* Create a new show
|
|
231
242
|
* An Admin user should be able to create a General Admission Event
|
|
@@ -420,6 +420,25 @@ class ShowsService {
|
|
|
420
420
|
},
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* Look up a venue's sales tax
|
|
425
|
+
* For Create Event to offer in place of the studio sales tax
|
|
426
|
+
* @param xStudioId The ID of the studio
|
|
427
|
+
* @param requestBody The venue's address
|
|
428
|
+
* @returns SalesTaxLookupResponseDto The venue's sales tax rate
|
|
429
|
+
* @throws ApiError
|
|
430
|
+
*/
|
|
431
|
+
static lookupShowSalesTax(xStudioId, requestBody) {
|
|
432
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
433
|
+
method: 'POST',
|
|
434
|
+
url: '/admin-portal/shows/sales-tax-lookup',
|
|
435
|
+
headers: {
|
|
436
|
+
'x-studio-id': xStudioId,
|
|
437
|
+
},
|
|
438
|
+
body: requestBody,
|
|
439
|
+
mediaType: 'application/json',
|
|
440
|
+
});
|
|
441
|
+
}
|
|
423
442
|
/**
|
|
424
443
|
* Create a new show
|
|
425
444
|
* An Admin user should be able to create a General Admission Event
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PushSendResponseDto } from '../models/PushSendResponseDto';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class SuperUserPushNotificationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Push an alert to every device the studio has registered
|
|
6
|
+
* Sends the alert subject and message as a push notification to each phone the studio has the app installed on. Reports how many devices were tried and how many accepted it.
|
|
7
|
+
* @param xStudioId The ID of the studio
|
|
8
|
+
* @param alertId The ID of the alert
|
|
9
|
+
* @returns PushSendResponseDto Alert pushed to the studio devices
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static pushAlertToStudio(xStudioId: string, alertId: string): CancelablePromise<PushSendResponseDto>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SuperUserPushNotificationsService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class SuperUserPushNotificationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Push an alert to every device the studio has registered
|
|
9
|
+
* Sends the alert subject and message as a push notification to each phone the studio has the app installed on. Reports how many devices were tried and how many accepted it.
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @param alertId The ID of the alert
|
|
12
|
+
* @returns PushSendResponseDto Alert pushed to the studio devices
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static pushAlertToStudio(xStudioId, alertId) {
|
|
16
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
17
|
+
method: 'POST',
|
|
18
|
+
url: '/admin-portal/superuser/push/alert/{alertId}',
|
|
19
|
+
path: {
|
|
20
|
+
'alertId': alertId,
|
|
21
|
+
},
|
|
22
|
+
headers: {
|
|
23
|
+
'x-studio-id': xStudioId,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.SuperUserPushNotificationsService = SuperUserPushNotificationsService;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { SendSupportChatMessageRequestDto } from '../models/SendSupportChatMessageRequestDto';
|
|
2
|
+
import type { SendSupportChatMessageResponseDto } from '../models/SendSupportChatMessageResponseDto';
|
|
3
|
+
import type { StartImageUploadRequestDto } from '../models/StartImageUploadRequestDto';
|
|
4
|
+
import type { StartImageUploadResponseDto } from '../models/StartImageUploadResponseDto';
|
|
5
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
6
|
+
import type { SupportChatReadRequestDto } from '../models/SupportChatReadRequestDto';
|
|
7
|
+
import type { SupportChatResponseDto } from '../models/SupportChatResponseDto';
|
|
8
|
+
import type { SupportChatSocketResponseDto } from '../models/SupportChatSocketResponseDto';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
export declare class SupportChatService {
|
|
11
|
+
/**
|
|
12
|
+
* The support chat as the session sees it
|
|
13
|
+
* A studio login: its open conversation, or null. A superuser (asSupport): the studio's open conversations, and the one named by conversationId (or the only one).
|
|
14
|
+
* @param xStudioId The ID of the studio
|
|
15
|
+
* @param conversationId
|
|
16
|
+
* @returns SupportChatResponseDto
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static getSupportChat(xStudioId: string, conversationId?: string): CancelablePromise<SupportChatResponseDto>;
|
|
20
|
+
/**
|
|
21
|
+
* Send a message to DRT support
|
|
22
|
+
* Opens a conversation when the login has none. A repeated clientMessageId returns the first send.
|
|
23
|
+
* @param xStudioId The ID of the studio
|
|
24
|
+
* @param requestBody
|
|
25
|
+
* @returns SendSupportChatMessageResponseDto
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static sendSupportChatMessage(xStudioId: string, requestBody: SendSupportChatMessageRequestDto): CancelablePromise<SendSupportChatMessageResponseDto>;
|
|
29
|
+
/**
|
|
30
|
+
* Mark the other side's messages as read
|
|
31
|
+
* A studio login: DRT's replies are seen. A superuser: the named conversation's studio messages are read by DRT.
|
|
32
|
+
* @param xStudioId The ID of the studio
|
|
33
|
+
* @param requestBody
|
|
34
|
+
* @returns SuccessResponse
|
|
35
|
+
* @throws ApiError
|
|
36
|
+
*/
|
|
37
|
+
static markSupportChatRead(xStudioId: string, requestBody: SupportChatReadRequestDto): CancelablePromise<SuccessResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* A listen token for the conversation's websocket room
|
|
40
|
+
* The studio login's open conversation, or for a superuser the one named by conversationId. Null when there is none. refresh=true mints a new token (sent on every reconnect). 503 when the websocket server is unavailable.
|
|
41
|
+
* @param xStudioId The ID of the studio
|
|
42
|
+
* @param conversationId
|
|
43
|
+
* @param refresh
|
|
44
|
+
* @returns SupportChatSocketResponseDto
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static getSupportChatSocket(xStudioId: string, conversationId?: string, refresh?: string): CancelablePromise<SupportChatSocketResponseDto>;
|
|
48
|
+
/**
|
|
49
|
+
* A presigned upload for a photo to send in the support chat
|
|
50
|
+
* Images only. Upload the bytes, then send the returned fileName in attachmentFileNames.
|
|
51
|
+
* @param xStudioId The ID of the studio
|
|
52
|
+
* @param requestBody
|
|
53
|
+
* @returns StartImageUploadResponseDto
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static startSupportChatImageUpload(xStudioId: string, requestBody: StartImageUploadRequestDto): CancelablePromise<StartImageUploadResponseDto>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SupportChatService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class SupportChatService {
|
|
7
|
+
/**
|
|
8
|
+
* The support chat as the session sees it
|
|
9
|
+
* A studio login: its open conversation, or null. A superuser (asSupport): the studio's open conversations, and the one named by conversationId (or the only one).
|
|
10
|
+
* @param xStudioId The ID of the studio
|
|
11
|
+
* @param conversationId
|
|
12
|
+
* @returns SupportChatResponseDto
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static getSupportChat(xStudioId, conversationId) {
|
|
16
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
17
|
+
method: 'GET',
|
|
18
|
+
url: '/admin-portal/support-chat/conversation',
|
|
19
|
+
headers: {
|
|
20
|
+
'x-studio-id': xStudioId,
|
|
21
|
+
},
|
|
22
|
+
query: {
|
|
23
|
+
'conversationId': conversationId,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Send a message to DRT support
|
|
29
|
+
* Opens a conversation when the login has none. A repeated clientMessageId returns the first send.
|
|
30
|
+
* @param xStudioId The ID of the studio
|
|
31
|
+
* @param requestBody
|
|
32
|
+
* @returns SendSupportChatMessageResponseDto
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static sendSupportChatMessage(xStudioId, requestBody) {
|
|
36
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
37
|
+
method: 'POST',
|
|
38
|
+
url: '/admin-portal/support-chat/messages',
|
|
39
|
+
headers: {
|
|
40
|
+
'x-studio-id': xStudioId,
|
|
41
|
+
},
|
|
42
|
+
body: requestBody,
|
|
43
|
+
mediaType: 'application/json',
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Mark the other side's messages as read
|
|
48
|
+
* A studio login: DRT's replies are seen. A superuser: the named conversation's studio messages are read by DRT.
|
|
49
|
+
* @param xStudioId The ID of the studio
|
|
50
|
+
* @param requestBody
|
|
51
|
+
* @returns SuccessResponse
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static markSupportChatRead(xStudioId, requestBody) {
|
|
55
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
56
|
+
method: 'POST',
|
|
57
|
+
url: '/admin-portal/support-chat/read',
|
|
58
|
+
headers: {
|
|
59
|
+
'x-studio-id': xStudioId,
|
|
60
|
+
},
|
|
61
|
+
body: requestBody,
|
|
62
|
+
mediaType: 'application/json',
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A listen token for the conversation's websocket room
|
|
67
|
+
* The studio login's open conversation, or for a superuser the one named by conversationId. Null when there is none. refresh=true mints a new token (sent on every reconnect). 503 when the websocket server is unavailable.
|
|
68
|
+
* @param xStudioId The ID of the studio
|
|
69
|
+
* @param conversationId
|
|
70
|
+
* @param refresh
|
|
71
|
+
* @returns SupportChatSocketResponseDto
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static getSupportChatSocket(xStudioId, conversationId, refresh) {
|
|
75
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
76
|
+
method: 'GET',
|
|
77
|
+
url: '/admin-portal/support-chat/socket',
|
|
78
|
+
headers: {
|
|
79
|
+
'x-studio-id': xStudioId,
|
|
80
|
+
},
|
|
81
|
+
query: {
|
|
82
|
+
'conversationId': conversationId,
|
|
83
|
+
'refresh': refresh,
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A presigned upload for a photo to send in the support chat
|
|
89
|
+
* Images only. Upload the bytes, then send the returned fileName in attachmentFileNames.
|
|
90
|
+
* @param xStudioId The ID of the studio
|
|
91
|
+
* @param requestBody
|
|
92
|
+
* @returns StartImageUploadResponseDto
|
|
93
|
+
* @throws ApiError
|
|
94
|
+
*/
|
|
95
|
+
static startSupportChatImageUpload(xStudioId, requestBody) {
|
|
96
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
97
|
+
method: 'POST',
|
|
98
|
+
url: '/admin-portal/support-chat/start-image-upload',
|
|
99
|
+
headers: {
|
|
100
|
+
'x-studio-id': xStudioId,
|
|
101
|
+
},
|
|
102
|
+
body: requestBody,
|
|
103
|
+
mediaType: 'application/json',
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.SupportChatService = SupportChatService;
|