@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,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PushSendResponseDto = {
|
|
6
|
+
success: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Subscribed devices for the studio.
|
|
9
|
+
*/
|
|
10
|
+
devices: number;
|
|
11
|
+
/**
|
|
12
|
+
* Devices the push service accepted it for.
|
|
13
|
+
*/
|
|
14
|
+
sent: number;
|
|
15
|
+
/**
|
|
16
|
+
* Devices that refused it. Expired subscriptions (404/410) are dropped and counted here once.
|
|
17
|
+
*/
|
|
18
|
+
failed: number;
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SalesTaxLookupRequestDto = {
|
|
6
|
+
address: string;
|
|
7
|
+
city: string;
|
|
8
|
+
/**
|
|
9
|
+
* Two-letter state or province
|
|
10
|
+
*/
|
|
11
|
+
state: string;
|
|
12
|
+
postal: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -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 SalesTaxLookupResponseDto = {
|
|
6
|
+
/**
|
|
7
|
+
* The venue's rate, not a percent, like show.sales_tax. 0 where DRT does not collect tax on tickets. Null when it could not be looked up.
|
|
8
|
+
*/
|
|
9
|
+
rate: number | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PushSubscriptionKeysDto } from './PushSubscriptionKeysDto';
|
|
6
|
+
export type SavePushSubscriptionRequestDto = {
|
|
7
|
+
endpoint: string;
|
|
8
|
+
keys: PushSubscriptionKeysDto;
|
|
9
|
+
origin: string;
|
|
10
|
+
userAgent?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -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 ScanningEndResponseDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Eastern wall clock with a sentinel "Z"; null when the show has no cutoff.
|
|
8
|
+
*/
|
|
9
|
+
dateScanningEnd: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SendSupportChatMessageRequestDto = {
|
|
6
|
+
message?: string;
|
|
7
|
+
/**
|
|
8
|
+
* S3 keys from start-image-upload, after the upload finished.
|
|
9
|
+
*/
|
|
10
|
+
attachmentFileNames?: Array<string>;
|
|
11
|
+
/**
|
|
12
|
+
* The sender's own id for this message (a UUID), so a retried send is saved once.
|
|
13
|
+
*/
|
|
14
|
+
clientMessageId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Superusers only, and then required: the studio's open conversation they answer as DRT support. A studio login always writes in its own conversation.
|
|
17
|
+
*/
|
|
18
|
+
conversationId?: number;
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SupportChatMessageDto } from './SupportChatMessageDto';
|
|
6
|
+
export type SendSupportChatMessageResponseDto = {
|
|
7
|
+
conversationId: number;
|
|
8
|
+
message: SupportChatMessageDto;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -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 SetScanningEndRequestDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Eastern wall clock with a sentinel "Z" (not UTC). Null clears the cutoff.
|
|
8
|
+
*/
|
|
9
|
+
dateScanningEnd: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { StudioFeesLedgerType } from './StudioFeesLedgerType';
|
|
6
6
|
export type StudioFeesLedgerRequestDto = {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated
|
|
9
|
+
*/
|
|
10
|
+
startDate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated
|
|
13
|
+
*/
|
|
14
|
+
endDate?: string;
|
|
9
15
|
/**
|
|
10
16
|
* debits lists accumulated fees (fee > 0), credits lists retrieved fees (fee < 0)
|
|
11
17
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SupportChatMessageDto } from './SupportChatMessageDto';
|
|
6
|
+
export type SupportChatConversationDto = {
|
|
7
|
+
id: number;
|
|
8
|
+
/**
|
|
9
|
+
* Eastern wall clock.
|
|
10
|
+
*/
|
|
11
|
+
dateStarted: string;
|
|
12
|
+
/**
|
|
13
|
+
* Set when the chat has ended (Eastern wall clock). A studio login is shown its most recently ended chat, read-only, until it writes again.
|
|
14
|
+
*/
|
|
15
|
+
dateClosed: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The email of the studio login it is with.
|
|
18
|
+
*/
|
|
19
|
+
startedByName: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* A DRT reply the studio login has not seen yet.
|
|
22
|
+
*/
|
|
23
|
+
hasUnreadReplies: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* A studio message DRT has not read yet.
|
|
26
|
+
*/
|
|
27
|
+
hasUnreadMessages: boolean;
|
|
28
|
+
messages: Array<SupportChatMessageDto>;
|
|
29
|
+
};
|
|
30
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SupportChatConversationSummaryDto = {
|
|
6
|
+
id: number;
|
|
7
|
+
/**
|
|
8
|
+
* The studio login's email.
|
|
9
|
+
*/
|
|
10
|
+
startedByName: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Eastern wall clock.
|
|
13
|
+
*/
|
|
14
|
+
lastMessageDate: string;
|
|
15
|
+
hasUnreadMessages: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The last message, shortened; empty for a photo.
|
|
18
|
+
*/
|
|
19
|
+
preview: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SupportChatAttachmentDto } from './SupportChatAttachmentDto';
|
|
6
|
+
export type SupportChatMessageDto = {
|
|
7
|
+
id: number;
|
|
8
|
+
conversationId: number;
|
|
9
|
+
/**
|
|
10
|
+
* True for a reply from DRT support, false for the studio.
|
|
11
|
+
*/
|
|
12
|
+
fromSupport: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Plain text; may be empty when the message is only photos.
|
|
15
|
+
*/
|
|
16
|
+
message: string;
|
|
17
|
+
senderName: string | null;
|
|
18
|
+
clientMessageId: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Eastern wall-clock time, no zone (the database clock).
|
|
21
|
+
*/
|
|
22
|
+
dateCreated: string;
|
|
23
|
+
/**
|
|
24
|
+
* When the other side read it; Eastern wall clock.
|
|
25
|
+
*/
|
|
26
|
+
dateRead: string | null;
|
|
27
|
+
attachments: Array<SupportChatAttachmentDto>;
|
|
28
|
+
};
|
|
29
|
+
|
|
@@ -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 SupportChatReadRequestDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Superusers only: the conversation whose studio messages they read.
|
|
8
|
+
*/
|
|
9
|
+
conversationId?: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SupportChatConversationDto } from './SupportChatConversationDto';
|
|
6
|
+
import type { SupportChatConversationSummaryDto } from './SupportChatConversationSummaryDto';
|
|
7
|
+
export type SupportChatResponseDto = {
|
|
8
|
+
/**
|
|
9
|
+
* The session is DRT support (a superuser): it answers, it never writes as the studio.
|
|
10
|
+
*/
|
|
11
|
+
asSupport: boolean;
|
|
12
|
+
conversation: SupportChatConversationDto | null;
|
|
13
|
+
/**
|
|
14
|
+
* Superusers only; empty otherwise.
|
|
15
|
+
*/
|
|
16
|
+
openConversations: Array<SupportChatConversationSummaryDto>;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SupportChatSocketDto = {
|
|
6
|
+
url: string;
|
|
7
|
+
/**
|
|
8
|
+
* Listen-only token; the browser sends it as the `bearer.{token}` subprotocol.
|
|
9
|
+
*/
|
|
10
|
+
token: string;
|
|
11
|
+
roomId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The frame event that carries updates.
|
|
14
|
+
*/
|
|
15
|
+
event: string;
|
|
16
|
+
conversationId: number;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SupportChatSocketDto } from './SupportChatSocketDto';
|
|
6
|
+
export type SupportChatSocketResponseDto = {
|
|
7
|
+
socket: SupportChatSocketDto | null;
|
|
8
|
+
};
|
|
9
|
+
|
|
@@ -16,5 +16,9 @@ export type TicketScanningShowResponseDto = {
|
|
|
16
16
|
seatsScanned: number;
|
|
17
17
|
statusId: number | null;
|
|
18
18
|
statusName: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* When the Scanner API stops serving the show: Eastern wall clock with a sentinel "Z"; null for no cutoff.
|
|
21
|
+
*/
|
|
22
|
+
dateScanningEnd: string | null;
|
|
19
23
|
};
|
|
20
24
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
export type UpdateShowCodeRequestDto = {
|
|
6
|
-
friendlyName?:
|
|
6
|
+
friendlyName?: string | null;
|
|
7
7
|
accessLevel?: UpdateShowCodeRequestDto.accessLevel;
|
|
8
8
|
};
|
|
9
9
|
export namespace UpdateShowCodeRequestDto {
|
|
@@ -309,15 +309,13 @@ export class AccountingService {
|
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
311
|
* Fetch the studio fees details
|
|
312
|
-
* Returns uncollected and retrieved fee totals
|
|
312
|
+
* Returns all-time uncollected and retrieved fee totals. Any request body is ignored.
|
|
313
313
|
* @param xStudioId The ID of the studio
|
|
314
|
-
* @param requestBody Date range for the studio fees details
|
|
315
314
|
* @returns StudioFeesDetailsResponseDto Studio fees details fetched successfully
|
|
316
315
|
* @throws ApiError
|
|
317
316
|
*/
|
|
318
317
|
public static getStudioFeesDetails(
|
|
319
318
|
xStudioId: string,
|
|
320
|
-
requestBody: TicketRequestDto,
|
|
321
319
|
): CancelablePromise<StudioFeesDetailsResponseDto> {
|
|
322
320
|
return __request(OpenAPI, {
|
|
323
321
|
method: 'POST',
|
|
@@ -325,15 +323,13 @@ export class AccountingService {
|
|
|
325
323
|
headers: {
|
|
326
324
|
'x-studio-id': xStudioId,
|
|
327
325
|
},
|
|
328
|
-
body: requestBody,
|
|
329
|
-
mediaType: 'application/json',
|
|
330
326
|
});
|
|
331
327
|
}
|
|
332
328
|
/**
|
|
333
329
|
* Fetch the studio fees ledger
|
|
334
|
-
* Returns
|
|
330
|
+
* Returns all-time per-order fee debits or credits
|
|
335
331
|
* @param xStudioId The ID of the studio
|
|
336
|
-
* @param requestBody
|
|
332
|
+
* @param requestBody Ledger type (debits or credits)
|
|
337
333
|
* @returns StudioFeesLedgerResponseDto Studio fees ledger fetched successfully
|
|
338
334
|
* @throws ApiError
|
|
339
335
|
*/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { IntegratorDetailResponseDto } from '../models/IntegratorDetailResponseDto';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
export class ClientToolsStudioManagementIntegrationService {
|
|
10
|
+
/**
|
|
11
|
+
* Fetch the platforms a studio can connect, and its connection
|
|
12
|
+
* The studio management platforms a studio can connect itself to, and the one it is connected to (id 0 and empty name when none).
|
|
13
|
+
* @param xStudioId The ID of the studio
|
|
14
|
+
* @returns IntegratorDetailResponseDto Integrators fetched successfully
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
public static getClientStudioIntegrators(
|
|
18
|
+
xStudioId: string,
|
|
19
|
+
): CancelablePromise<IntegratorDetailResponseDto> {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'GET',
|
|
22
|
+
url: '/admin-portal/client-tools/studio-management-integration',
|
|
23
|
+
headers: {
|
|
24
|
+
'x-studio-id': xStudioId,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -6,6 +6,8 @@ import type { CreateShowCodeRequestDto } from '../models/CreateShowCodeRequestDt
|
|
|
6
6
|
import type { ScannedTicketResponseDto } from '../models/ScannedTicketResponseDto';
|
|
7
7
|
import type { ScannerLogFiltersResponseDto } from '../models/ScannerLogFiltersResponseDto';
|
|
8
8
|
import type { ScannerLogResponseDto } from '../models/ScannerLogResponseDto';
|
|
9
|
+
import type { ScanningEndResponseDto } from '../models/ScanningEndResponseDto';
|
|
10
|
+
import type { SetScanningEndRequestDto } from '../models/SetScanningEndRequestDto';
|
|
9
11
|
import type { ShowCodeResponseDto } from '../models/ShowCodeResponseDto';
|
|
10
12
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
11
13
|
import type { TicketScanningShowResponseDto } from '../models/TicketScanningShowResponseDto';
|
|
@@ -166,6 +168,33 @@ export class ClientToolsTicketScanningService {
|
|
|
166
168
|
},
|
|
167
169
|
});
|
|
168
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Set or clear when scanning stops for a show
|
|
173
|
+
* 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.
|
|
174
|
+
* @param xStudioId The ID of the studio
|
|
175
|
+
* @param showId The ID of the show
|
|
176
|
+
* @param requestBody
|
|
177
|
+
* @returns ScanningEndResponseDto Scanning cutoff saved
|
|
178
|
+
* @throws ApiError
|
|
179
|
+
*/
|
|
180
|
+
public static setShowScanningEnd(
|
|
181
|
+
xStudioId: string,
|
|
182
|
+
showId: string,
|
|
183
|
+
requestBody: SetScanningEndRequestDto,
|
|
184
|
+
): CancelablePromise<ScanningEndResponseDto> {
|
|
185
|
+
return __request(OpenAPI, {
|
|
186
|
+
method: 'PUT',
|
|
187
|
+
url: '/admin-portal/client-tools/ticket-scanning/{showId}/scanning-end',
|
|
188
|
+
path: {
|
|
189
|
+
'showId': showId,
|
|
190
|
+
},
|
|
191
|
+
headers: {
|
|
192
|
+
'x-studio-id': xStudioId,
|
|
193
|
+
},
|
|
194
|
+
body: requestBody,
|
|
195
|
+
mediaType: 'application/json',
|
|
196
|
+
});
|
|
197
|
+
}
|
|
169
198
|
/**
|
|
170
199
|
* List the device show codes for a show
|
|
171
200
|
* 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,75 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DeletePushSubscriptionRequestDto } from '../models/DeletePushSubscriptionRequestDto';
|
|
6
|
+
import type { PushPublicKeyResponseDto } from '../models/PushPublicKeyResponseDto';
|
|
7
|
+
import type { SavePushSubscriptionRequestDto } from '../models/SavePushSubscriptionRequestDto';
|
|
8
|
+
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
11
|
+
import { request as __request } from '../core/request';
|
|
12
|
+
export class PushNotificationsService {
|
|
13
|
+
/**
|
|
14
|
+
* Fetch the VAPID public key a device subscribes with
|
|
15
|
+
* Empty when push is not configured on this environment, which the app reads as "not available".
|
|
16
|
+
* @param xStudioId The ID of the studio
|
|
17
|
+
* @returns PushPublicKeyResponseDto VAPID public key fetched successfully
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
public static getPushPublicKey(
|
|
21
|
+
xStudioId: string,
|
|
22
|
+
): CancelablePromise<PushPublicKeyResponseDto> {
|
|
23
|
+
return __request(OpenAPI, {
|
|
24
|
+
method: 'GET',
|
|
25
|
+
url: '/admin-portal/push/vapid-public-key',
|
|
26
|
+
headers: {
|
|
27
|
+
'x-studio-id': xStudioId,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Register (or refresh) this device's push subscription
|
|
33
|
+
* 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.
|
|
34
|
+
* @param xStudioId The ID of the studio
|
|
35
|
+
* @param requestBody
|
|
36
|
+
* @returns SuccessResponse Push subscription saved successfully
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
public static savePushSubscription(
|
|
40
|
+
xStudioId: string,
|
|
41
|
+
requestBody: SavePushSubscriptionRequestDto,
|
|
42
|
+
): CancelablePromise<SuccessResponse> {
|
|
43
|
+
return __request(OpenAPI, {
|
|
44
|
+
method: 'POST',
|
|
45
|
+
url: '/admin-portal/push/subscription',
|
|
46
|
+
headers: {
|
|
47
|
+
'x-studio-id': xStudioId,
|
|
48
|
+
},
|
|
49
|
+
body: requestBody,
|
|
50
|
+
mediaType: 'application/json',
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Remove this device's push subscription
|
|
55
|
+
* Called when notifications are turned off or on sign-out.
|
|
56
|
+
* @param xStudioId The ID of the studio
|
|
57
|
+
* @param requestBody
|
|
58
|
+
* @returns SuccessResponse Push subscription removed successfully
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
public static deletePushSubscription(
|
|
62
|
+
xStudioId: string,
|
|
63
|
+
requestBody: DeletePushSubscriptionRequestDto,
|
|
64
|
+
): CancelablePromise<SuccessResponse> {
|
|
65
|
+
return __request(OpenAPI, {
|
|
66
|
+
method: 'DELETE',
|
|
67
|
+
url: '/admin-portal/push/subscription',
|
|
68
|
+
headers: {
|
|
69
|
+
'x-studio-id': xStudioId,
|
|
70
|
+
},
|
|
71
|
+
body: requestBody,
|
|
72
|
+
mediaType: 'application/json',
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -21,6 +21,8 @@ import type { MigrateTicketRequestDto } from '../models/MigrateTicketRequestDto'
|
|
|
21
21
|
import type { MigrateTicketResultDto } from '../models/MigrateTicketResultDto';
|
|
22
22
|
import type { PerformersListRequestDto } from '../models/PerformersListRequestDto';
|
|
23
23
|
import type { PerformersListResponseDto } from '../models/PerformersListResponseDto';
|
|
24
|
+
import type { SalesTaxLookupRequestDto } from '../models/SalesTaxLookupRequestDto';
|
|
25
|
+
import type { SalesTaxLookupResponseDto } from '../models/SalesTaxLookupResponseDto';
|
|
24
26
|
import type { SavePricingSetRequestDto } from '../models/SavePricingSetRequestDto';
|
|
25
27
|
import type { SavePricingSetResponseDto } from '../models/SavePricingSetResponseDto';
|
|
26
28
|
import type { SeatDetailsResponseDto } from '../models/SeatDetailsResponseDto';
|
|
@@ -522,6 +524,28 @@ export class ShowsService {
|
|
|
522
524
|
},
|
|
523
525
|
});
|
|
524
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Look up a venue's sales tax
|
|
529
|
+
* For Create Event to offer in place of the studio sales tax
|
|
530
|
+
* @param xStudioId The ID of the studio
|
|
531
|
+
* @param requestBody The venue's address
|
|
532
|
+
* @returns SalesTaxLookupResponseDto The venue's sales tax rate
|
|
533
|
+
* @throws ApiError
|
|
534
|
+
*/
|
|
535
|
+
public static lookupShowSalesTax(
|
|
536
|
+
xStudioId: string,
|
|
537
|
+
requestBody: SalesTaxLookupRequestDto,
|
|
538
|
+
): CancelablePromise<SalesTaxLookupResponseDto> {
|
|
539
|
+
return __request(OpenAPI, {
|
|
540
|
+
method: 'POST',
|
|
541
|
+
url: '/admin-portal/shows/sales-tax-lookup',
|
|
542
|
+
headers: {
|
|
543
|
+
'x-studio-id': xStudioId,
|
|
544
|
+
},
|
|
545
|
+
body: requestBody,
|
|
546
|
+
mediaType: 'application/json',
|
|
547
|
+
});
|
|
548
|
+
}
|
|
525
549
|
/**
|
|
526
550
|
* Create a new show
|
|
527
551
|
* An Admin user should be able to create a General Admission Event
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PushSendResponseDto } from '../models/PushSendResponseDto';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
export class SuperUserPushNotificationsService {
|
|
10
|
+
/**
|
|
11
|
+
* Push an alert to every device the studio has registered
|
|
12
|
+
* 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.
|
|
13
|
+
* @param xStudioId The ID of the studio
|
|
14
|
+
* @param alertId The ID of the alert
|
|
15
|
+
* @returns PushSendResponseDto Alert pushed to the studio devices
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
public static pushAlertToStudio(
|
|
19
|
+
xStudioId: string,
|
|
20
|
+
alertId: string,
|
|
21
|
+
): CancelablePromise<PushSendResponseDto> {
|
|
22
|
+
return __request(OpenAPI, {
|
|
23
|
+
method: 'POST',
|
|
24
|
+
url: '/admin-portal/superuser/push/alert/{alertId}',
|
|
25
|
+
path: {
|
|
26
|
+
'alertId': alertId,
|
|
27
|
+
},
|
|
28
|
+
headers: {
|
|
29
|
+
'x-studio-id': xStudioId,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|