@drttix/drt-sdk 2.0.6 → 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.
Files changed (118) hide show
  1. package/dist/cjs/index.d.ts +2 -0
  2. package/dist/cjs/src/definitions/portal.d.ts +4 -0
  3. package/dist/cjs/src/definitions/portal.js +45 -41
  4. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  5. package/dist/cjs/src/generated/portal/index.d.ts +14 -0
  6. package/dist/cjs/src/generated/portal/index.js +6 -2
  7. package/dist/cjs/src/generated/portal/models/ScanningEndResponseDto.d.ts +6 -0
  8. package/dist/cjs/src/generated/portal/models/ScanningEndResponseDto.js +2 -0
  9. package/dist/cjs/src/generated/portal/models/SendSupportChatMessageRequestDto.d.ts +15 -0
  10. package/dist/cjs/src/generated/portal/models/SendSupportChatMessageRequestDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/SendSupportChatMessageResponseDto.d.ts +5 -0
  12. package/dist/cjs/src/generated/portal/models/SendSupportChatMessageResponseDto.js +2 -0
  13. package/dist/cjs/src/generated/portal/models/SetScanningEndRequestDto.d.ts +6 -0
  14. package/dist/cjs/src/generated/portal/models/SetScanningEndRequestDto.js +2 -0
  15. package/dist/cjs/src/generated/portal/models/StudioFeesLedgerRequestDto.d.ts +8 -2
  16. package/dist/cjs/src/generated/portal/models/SupportChatAttachmentDto.d.ts +4 -0
  17. package/dist/cjs/src/generated/portal/models/SupportChatAttachmentDto.js +2 -0
  18. package/dist/cjs/src/generated/portal/models/SupportChatConversationDto.d.ts +25 -0
  19. package/dist/cjs/src/generated/portal/models/SupportChatConversationDto.js +2 -0
  20. package/dist/cjs/src/generated/portal/models/SupportChatConversationSummaryDto.d.ts +16 -0
  21. package/dist/cjs/src/generated/portal/models/SupportChatConversationSummaryDto.js +2 -0
  22. package/dist/cjs/src/generated/portal/models/SupportChatMessageDto.d.ts +24 -0
  23. package/dist/cjs/src/generated/portal/models/SupportChatMessageDto.js +2 -0
  24. package/dist/cjs/src/generated/portal/models/SupportChatReadRequestDto.d.ts +6 -0
  25. package/dist/cjs/src/generated/portal/models/SupportChatReadRequestDto.js +2 -0
  26. package/dist/cjs/src/generated/portal/models/SupportChatResponseDto.d.ts +13 -0
  27. package/dist/cjs/src/generated/portal/models/SupportChatResponseDto.js +2 -0
  28. package/dist/cjs/src/generated/portal/models/SupportChatSocketDto.d.ts +13 -0
  29. package/dist/cjs/src/generated/portal/models/SupportChatSocketDto.js +2 -0
  30. package/dist/cjs/src/generated/portal/models/SupportChatSocketResponseDto.d.ts +4 -0
  31. package/dist/cjs/src/generated/portal/models/SupportChatSocketResponseDto.js +2 -0
  32. package/dist/cjs/src/generated/portal/models/TicketScanningShowResponseDto.d.ts +4 -0
  33. package/dist/cjs/src/generated/portal/services/AccountingService.d.ts +4 -5
  34. package/dist/cjs/src/generated/portal/services/AccountingService.js +4 -7
  35. package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.d.ts +12 -0
  36. package/dist/cjs/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.js +24 -0
  37. package/dist/cjs/src/generated/portal/services/ClientToolsTicketScanningService.d.ts +12 -0
  38. package/dist/cjs/src/generated/portal/services/ClientToolsTicketScanningService.js +23 -0
  39. package/dist/cjs/src/generated/portal/services/SupportChatService.d.ts +57 -0
  40. package/dist/cjs/src/generated/portal/services/SupportChatService.js +107 -0
  41. package/dist/cjs/src/generated/portal/types.d.ts +12 -0
  42. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  43. package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
  44. package/dist/cjs/src/staging/index.d.ts +2 -0
  45. package/dist/cjs/src/staging/portal.d.ts +4 -0
  46. package/dist/cjs/src/staging/portal.js +45 -41
  47. package/dist/esm/index.d.ts +2 -0
  48. package/dist/esm/src/definitions/portal.d.ts +4 -0
  49. package/dist/esm/src/definitions/portal.js +4 -0
  50. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  51. package/dist/esm/src/generated/portal/index.d.ts +14 -0
  52. package/dist/esm/src/generated/portal/index.js +2 -0
  53. package/dist/esm/src/generated/portal/models/ScanningEndResponseDto.d.ts +6 -0
  54. package/dist/esm/src/generated/portal/models/ScanningEndResponseDto.js +1 -0
  55. package/dist/esm/src/generated/portal/models/SendSupportChatMessageRequestDto.d.ts +15 -0
  56. package/dist/esm/src/generated/portal/models/SendSupportChatMessageRequestDto.js +1 -0
  57. package/dist/esm/src/generated/portal/models/SendSupportChatMessageResponseDto.d.ts +5 -0
  58. package/dist/esm/src/generated/portal/models/SendSupportChatMessageResponseDto.js +1 -0
  59. package/dist/esm/src/generated/portal/models/SetScanningEndRequestDto.d.ts +6 -0
  60. package/dist/esm/src/generated/portal/models/SetScanningEndRequestDto.js +1 -0
  61. package/dist/esm/src/generated/portal/models/StudioFeesLedgerRequestDto.d.ts +8 -2
  62. package/dist/esm/src/generated/portal/models/SupportChatAttachmentDto.d.ts +4 -0
  63. package/dist/esm/src/generated/portal/models/SupportChatAttachmentDto.js +1 -0
  64. package/dist/esm/src/generated/portal/models/SupportChatConversationDto.d.ts +25 -0
  65. package/dist/esm/src/generated/portal/models/SupportChatConversationDto.js +1 -0
  66. package/dist/esm/src/generated/portal/models/SupportChatConversationSummaryDto.d.ts +16 -0
  67. package/dist/esm/src/generated/portal/models/SupportChatConversationSummaryDto.js +1 -0
  68. package/dist/esm/src/generated/portal/models/SupportChatMessageDto.d.ts +24 -0
  69. package/dist/esm/src/generated/portal/models/SupportChatMessageDto.js +1 -0
  70. package/dist/esm/src/generated/portal/models/SupportChatReadRequestDto.d.ts +6 -0
  71. package/dist/esm/src/generated/portal/models/SupportChatReadRequestDto.js +1 -0
  72. package/dist/esm/src/generated/portal/models/SupportChatResponseDto.d.ts +13 -0
  73. package/dist/esm/src/generated/portal/models/SupportChatResponseDto.js +1 -0
  74. package/dist/esm/src/generated/portal/models/SupportChatSocketDto.d.ts +13 -0
  75. package/dist/esm/src/generated/portal/models/SupportChatSocketDto.js +1 -0
  76. package/dist/esm/src/generated/portal/models/SupportChatSocketResponseDto.d.ts +4 -0
  77. package/dist/esm/src/generated/portal/models/SupportChatSocketResponseDto.js +1 -0
  78. package/dist/esm/src/generated/portal/models/TicketScanningShowResponseDto.d.ts +4 -0
  79. package/dist/esm/src/generated/portal/services/AccountingService.d.ts +4 -5
  80. package/dist/esm/src/generated/portal/services/AccountingService.js +4 -7
  81. package/dist/esm/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.d.ts +12 -0
  82. package/dist/esm/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.js +20 -0
  83. package/dist/esm/src/generated/portal/services/ClientToolsTicketScanningService.d.ts +12 -0
  84. package/dist/esm/src/generated/portal/services/ClientToolsTicketScanningService.js +23 -0
  85. package/dist/esm/src/generated/portal/services/SupportChatService.d.ts +57 -0
  86. package/dist/esm/src/generated/portal/services/SupportChatService.js +103 -0
  87. package/dist/esm/src/generated/portal/types.d.ts +12 -0
  88. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  89. package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
  90. package/dist/esm/src/staging/index.d.ts +2 -0
  91. package/dist/esm/src/staging/portal.d.ts +4 -0
  92. package/dist/esm/src/staging/portal.js +4 -0
  93. package/package.json +1 -1
  94. package/src/definitions/portal.ts +4 -0
  95. package/src/generated/portal/core/OpenAPI.ts +1 -1
  96. package/src/generated/portal/index.ts +14 -0
  97. package/src/generated/portal/models/ScanningEndResponseDto.ts +11 -0
  98. package/src/generated/portal/models/SendSupportChatMessageRequestDto.ts +20 -0
  99. package/src/generated/portal/models/SendSupportChatMessageResponseDto.ts +10 -0
  100. package/src/generated/portal/models/SetScanningEndRequestDto.ts +11 -0
  101. package/src/generated/portal/models/StudioFeesLedgerRequestDto.ts +8 -2
  102. package/src/generated/portal/models/SupportChatAttachmentDto.ts +9 -0
  103. package/src/generated/portal/models/SupportChatConversationDto.ts +30 -0
  104. package/src/generated/portal/models/SupportChatConversationSummaryDto.ts +21 -0
  105. package/src/generated/portal/models/SupportChatMessageDto.ts +29 -0
  106. package/src/generated/portal/models/SupportChatReadRequestDto.ts +11 -0
  107. package/src/generated/portal/models/SupportChatResponseDto.ts +18 -0
  108. package/src/generated/portal/models/SupportChatSocketDto.ts +18 -0
  109. package/src/generated/portal/models/SupportChatSocketResponseDto.ts +9 -0
  110. package/src/generated/portal/models/TicketScanningShowResponseDto.ts +4 -0
  111. package/src/generated/portal/services/AccountingService.ts +3 -7
  112. package/src/generated/portal/services/ClientToolsStudioManagementIntegrationService.ts +28 -0
  113. package/src/generated/portal/services/ClientToolsTicketScanningService.ts +29 -0
  114. package/src/generated/portal/services/SupportChatService.ts +132 -0
  115. package/src/generated/portal/types.ts +12 -0
  116. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  117. package/src/generated/shopper/models/Account.ts +4 -0
  118. package/src/staging/portal.ts +4 -0
@@ -14,6 +14,7 @@ import { ClientToolsPerformancePixService } from "../generated/portal";
14
14
  import { ClientToolsRequestChangesService } from "../generated/portal";
15
15
  import { ClientToolsSeatAssignmentToolService } from "../generated/portal";
16
16
  import { ClientToolsStripeOnboardingService } from "../generated/portal";
17
+ import { ClientToolsStudioManagementIntegrationService } from "../generated/portal";
17
18
  import { ClientToolsThemeBuilderService } from "../generated/portal";
18
19
  import { ClientToolsThemesLibraryService } from "../generated/portal";
19
20
  import { ClientToolsTicketingLinkService } from "../generated/portal";
@@ -55,6 +56,7 @@ import { SuperUserStudioManagementIntegrationService } from "../generated/portal
55
56
  import { SuperUserSupportTicketsService } from "../generated/portal";
56
57
  import { SuperUserTimedTriggersService } from "../generated/portal";
57
58
  import { SuperUserVideoAssetsService } from "../generated/portal";
59
+ import { SupportChatService } from "../generated/portal";
58
60
 
59
61
  export const portal = {
60
62
  account: AccountService,
@@ -71,6 +73,7 @@ export const portal = {
71
73
  clienttoolsrequestchanges: ClientToolsRequestChangesService,
72
74
  clienttoolsseatassignmenttool: ClientToolsSeatAssignmentToolService,
73
75
  clienttoolsstripeonboarding: ClientToolsStripeOnboardingService,
76
+ clienttoolsstudiomanagementintegration: ClientToolsStudioManagementIntegrationService,
74
77
  clienttoolsthemebuilder: ClientToolsThemeBuilderService,
75
78
  clienttoolsthemeslibrary: ClientToolsThemesLibraryService,
76
79
  clienttoolsticketinglink: ClientToolsTicketingLinkService,
@@ -112,6 +115,7 @@ export const portal = {
112
115
  superusersupporttickets: SuperUserSupportTicketsService,
113
116
  superusertimedtriggers: SuperUserTimedTriggersService,
114
117
  superuservideoassets: SuperUserVideoAssetsService,
118
+ supportchat: SupportChatService,
115
119
  };
116
120
 
117
121
  // Re-export all types as a namespace
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: '',
24
- VERSION: '20261029.6',
24
+ VERSION: '20261102.3',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -347,6 +347,7 @@ export type { ScannerLogDeviceDto } from './models/ScannerLogDeviceDto';
347
347
  export { ScannerLogEntryDto } from './models/ScannerLogEntryDto';
348
348
  export type { ScannerLogFiltersResponseDto } from './models/ScannerLogFiltersResponseDto';
349
349
  export type { ScannerLogResponseDto } from './models/ScannerLogResponseDto';
350
+ export type { ScanningEndResponseDto } from './models/ScanningEndResponseDto';
350
351
  export type { SdReadyRequestDto } from './models/SdReadyRequestDto';
351
352
  export type { SdReadyResponseDto } from './models/SdReadyResponseDto';
352
353
  export type { SearchAiResponseDto } from './models/SearchAiResponseDto';
@@ -365,9 +366,12 @@ export type { SendBlockedSeatsMailRequestDto } from './models/SendBlockedSeatsMa
365
366
  export type { SendEmailRequestDto } from './models/SendEmailRequestDto';
366
367
  export type { SendMailRequestDto } from './models/SendMailRequestDto';
367
368
  export type { SendReservationCodeMailRequestDto } from './models/SendReservationCodeMailRequestDto';
369
+ export type { SendSupportChatMessageRequestDto } from './models/SendSupportChatMessageRequestDto';
370
+ export type { SendSupportChatMessageResponseDto } from './models/SendSupportChatMessageResponseDto';
368
371
  export type { SendTextRequestDto } from './models/SendTextRequestDto';
369
372
  export type { SentMailResponseDto } from './models/SentMailResponseDto';
370
373
  export type { SessionSeatRefDto } from './models/SessionSeatRefDto';
374
+ export type { SetScanningEndRequestDto } from './models/SetScanningEndRequestDto';
371
375
  export type { SetTiersRequestDto } from './models/SetTiersRequestDto';
372
376
  export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesResponseDto';
373
377
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
@@ -435,6 +439,14 @@ export { StudioFeesLedgerType } from './models/StudioFeesLedgerType';
435
439
  export type { StudioFeesResponseDto } from './models/StudioFeesResponseDto';
436
440
  export type { StudioIntegratorDetailResponseDto } from './models/StudioIntegratorDetailResponseDto';
437
441
  export type { SuccessResponse } from './models/SuccessResponse';
442
+ export type { SupportChatAttachmentDto } from './models/SupportChatAttachmentDto';
443
+ export type { SupportChatConversationDto } from './models/SupportChatConversationDto';
444
+ export type { SupportChatConversationSummaryDto } from './models/SupportChatConversationSummaryDto';
445
+ export type { SupportChatMessageDto } from './models/SupportChatMessageDto';
446
+ export type { SupportChatReadRequestDto } from './models/SupportChatReadRequestDto';
447
+ export type { SupportChatResponseDto } from './models/SupportChatResponseDto';
448
+ export type { SupportChatSocketDto } from './models/SupportChatSocketDto';
449
+ export type { SupportChatSocketResponseDto } from './models/SupportChatSocketResponseDto';
438
450
  export type { SupportTicketResponseDto } from './models/SupportTicketResponseDto';
439
451
  export type { SupportTicketStatusResponseDto } from './models/SupportTicketStatusResponseDto';
440
452
  export type { TakeoverSessionResponseDto } from './models/TakeoverSessionResponseDto';
@@ -544,6 +556,7 @@ export { ClientToolsPerformancePixService } from './services/ClientToolsPerforma
544
556
  export { ClientToolsRequestChangesService } from './services/ClientToolsRequestChangesService';
545
557
  export { ClientToolsSeatAssignmentToolService } from './services/ClientToolsSeatAssignmentToolService';
546
558
  export { ClientToolsStripeOnboardingService } from './services/ClientToolsStripeOnboardingService';
559
+ export { ClientToolsStudioManagementIntegrationService } from './services/ClientToolsStudioManagementIntegrationService';
547
560
  export { ClientToolsThemeBuilderService } from './services/ClientToolsThemeBuilderService';
548
561
  export { ClientToolsThemesLibraryService } from './services/ClientToolsThemesLibraryService';
549
562
  export { ClientToolsTicketingLinkService } from './services/ClientToolsTicketingLinkService';
@@ -585,3 +598,4 @@ export { SuperUserStudioManagementIntegrationService } from './services/SuperUse
585
598
  export { SuperUserSupportTicketsService } from './services/SuperUserSupportTicketsService';
586
599
  export { SuperUserTimedTriggersService } from './services/SuperUserTimedTriggersService';
587
600
  export { SuperUserVideoAssetsService } from './services/SuperUserVideoAssetsService';
601
+ export { SupportChatService } from './services/SupportChatService';
@@ -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
- startDate: string;
8
- endDate: string;
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,9 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SupportChatAttachmentDto = {
6
+ url: string;
7
+ contentType: string | null;
8
+ };
9
+
@@ -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
 
@@ -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 for the date range
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 the per-order fee debits or credits for the date range
330
+ * Returns all-time per-order fee debits or credits
335
331
  * @param xStudioId The ID of the studio
336
- * @param requestBody Date range and ledger type (debits or credits)
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,132 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SendSupportChatMessageRequestDto } from '../models/SendSupportChatMessageRequestDto';
6
+ import type { SendSupportChatMessageResponseDto } from '../models/SendSupportChatMessageResponseDto';
7
+ import type { StartImageUploadRequestDto } from '../models/StartImageUploadRequestDto';
8
+ import type { StartImageUploadResponseDto } from '../models/StartImageUploadResponseDto';
9
+ import type { SuccessResponse } from '../models/SuccessResponse';
10
+ import type { SupportChatReadRequestDto } from '../models/SupportChatReadRequestDto';
11
+ import type { SupportChatResponseDto } from '../models/SupportChatResponseDto';
12
+ import type { SupportChatSocketResponseDto } from '../models/SupportChatSocketResponseDto';
13
+ import type { CancelablePromise } from '../core/CancelablePromise';
14
+ import { OpenAPI } from '../core/OpenAPI';
15
+ import { request as __request } from '../core/request';
16
+ export class SupportChatService {
17
+ /**
18
+ * The support chat as the session sees it
19
+ * 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).
20
+ * @param xStudioId The ID of the studio
21
+ * @param conversationId
22
+ * @returns SupportChatResponseDto
23
+ * @throws ApiError
24
+ */
25
+ public static getSupportChat(
26
+ xStudioId: string,
27
+ conversationId?: string,
28
+ ): CancelablePromise<SupportChatResponseDto> {
29
+ return __request(OpenAPI, {
30
+ method: 'GET',
31
+ url: '/admin-portal/support-chat/conversation',
32
+ headers: {
33
+ 'x-studio-id': xStudioId,
34
+ },
35
+ query: {
36
+ 'conversationId': conversationId,
37
+ },
38
+ });
39
+ }
40
+ /**
41
+ * Send a message to DRT support
42
+ * Opens a conversation when the login has none. A repeated clientMessageId returns the first send.
43
+ * @param xStudioId The ID of the studio
44
+ * @param requestBody
45
+ * @returns SendSupportChatMessageResponseDto
46
+ * @throws ApiError
47
+ */
48
+ public static sendSupportChatMessage(
49
+ xStudioId: string,
50
+ requestBody: SendSupportChatMessageRequestDto,
51
+ ): CancelablePromise<SendSupportChatMessageResponseDto> {
52
+ return __request(OpenAPI, {
53
+ method: 'POST',
54
+ url: '/admin-portal/support-chat/messages',
55
+ headers: {
56
+ 'x-studio-id': xStudioId,
57
+ },
58
+ body: requestBody,
59
+ mediaType: 'application/json',
60
+ });
61
+ }
62
+ /**
63
+ * Mark the other side's messages as read
64
+ * A studio login: DRT's replies are seen. A superuser: the named conversation's studio messages are read by DRT.
65
+ * @param xStudioId The ID of the studio
66
+ * @param requestBody
67
+ * @returns SuccessResponse
68
+ * @throws ApiError
69
+ */
70
+ public static markSupportChatRead(
71
+ xStudioId: string,
72
+ requestBody: SupportChatReadRequestDto,
73
+ ): CancelablePromise<SuccessResponse> {
74
+ return __request(OpenAPI, {
75
+ method: 'POST',
76
+ url: '/admin-portal/support-chat/read',
77
+ headers: {
78
+ 'x-studio-id': xStudioId,
79
+ },
80
+ body: requestBody,
81
+ mediaType: 'application/json',
82
+ });
83
+ }
84
+ /**
85
+ * A listen token for the conversation's websocket room
86
+ * 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.
87
+ * @param xStudioId The ID of the studio
88
+ * @param conversationId
89
+ * @param refresh
90
+ * @returns SupportChatSocketResponseDto
91
+ * @throws ApiError
92
+ */
93
+ public static getSupportChatSocket(
94
+ xStudioId: string,
95
+ conversationId?: string,
96
+ refresh?: string,
97
+ ): CancelablePromise<SupportChatSocketResponseDto> {
98
+ return __request(OpenAPI, {
99
+ method: 'GET',
100
+ url: '/admin-portal/support-chat/socket',
101
+ headers: {
102
+ 'x-studio-id': xStudioId,
103
+ },
104
+ query: {
105
+ 'conversationId': conversationId,
106
+ 'refresh': refresh,
107
+ },
108
+ });
109
+ }
110
+ /**
111
+ * A presigned upload for a photo to send in the support chat
112
+ * Images only. Upload the bytes, then send the returned fileName in attachmentFileNames.
113
+ * @param xStudioId The ID of the studio
114
+ * @param requestBody
115
+ * @returns StartImageUploadResponseDto
116
+ * @throws ApiError
117
+ */
118
+ public static startSupportChatImageUpload(
119
+ xStudioId: string,
120
+ requestBody: StartImageUploadRequestDto,
121
+ ): CancelablePromise<StartImageUploadResponseDto> {
122
+ return __request(OpenAPI, {
123
+ method: 'POST',
124
+ url: '/admin-portal/support-chat/start-image-upload',
125
+ headers: {
126
+ 'x-studio-id': xStudioId,
127
+ },
128
+ body: requestBody,
129
+ mediaType: 'application/json',
130
+ });
131
+ }
132
+ }
@@ -332,6 +332,7 @@ export type { ScannedTicketResponseDto } from './models/ScannedTicketResponseDto
332
332
  export type { ScannerLogDeviceDto } from './models/ScannerLogDeviceDto';
333
333
  export type { ScannerLogFiltersResponseDto } from './models/ScannerLogFiltersResponseDto';
334
334
  export type { ScannerLogResponseDto } from './models/ScannerLogResponseDto';
335
+ export type { ScanningEndResponseDto } from './models/ScanningEndResponseDto';
335
336
  export type { SdReadyRequestDto } from './models/SdReadyRequestDto';
336
337
  export type { SdReadyResponseDto } from './models/SdReadyResponseDto';
337
338
  export type { SearchAiResponseDto } from './models/SearchAiResponseDto';
@@ -350,9 +351,12 @@ export type { SendBlockedSeatsMailRequestDto } from './models/SendBlockedSeatsMa
350
351
  export type { SendEmailRequestDto } from './models/SendEmailRequestDto';
351
352
  export type { SendMailRequestDto } from './models/SendMailRequestDto';
352
353
  export type { SendReservationCodeMailRequestDto } from './models/SendReservationCodeMailRequestDto';
354
+ export type { SendSupportChatMessageRequestDto } from './models/SendSupportChatMessageRequestDto';
355
+ export type { SendSupportChatMessageResponseDto } from './models/SendSupportChatMessageResponseDto';
353
356
  export type { SendTextRequestDto } from './models/SendTextRequestDto';
354
357
  export type { SentMailResponseDto } from './models/SentMailResponseDto';
355
358
  export type { SessionSeatRefDto } from './models/SessionSeatRefDto';
359
+ export type { SetScanningEndRequestDto } from './models/SetScanningEndRequestDto';
356
360
  export type { SetTiersRequestDto } from './models/SetTiersRequestDto';
357
361
  export type { SettingsAndWavesResponseDto } from './models/SettingsAndWavesResponseDto';
358
362
  export type { SettingsDetailsResponseDto } from './models/SettingsDetailsResponseDto';
@@ -415,6 +419,14 @@ export type { StudioFeesLedgerResponseDto } from './models/StudioFeesLedgerRespo
415
419
  export type { StudioFeesResponseDto } from './models/StudioFeesResponseDto';
416
420
  export type { StudioIntegratorDetailResponseDto } from './models/StudioIntegratorDetailResponseDto';
417
421
  export type { SuccessResponse } from './models/SuccessResponse';
422
+ export type { SupportChatAttachmentDto } from './models/SupportChatAttachmentDto';
423
+ export type { SupportChatConversationDto } from './models/SupportChatConversationDto';
424
+ export type { SupportChatConversationSummaryDto } from './models/SupportChatConversationSummaryDto';
425
+ export type { SupportChatMessageDto } from './models/SupportChatMessageDto';
426
+ export type { SupportChatReadRequestDto } from './models/SupportChatReadRequestDto';
427
+ export type { SupportChatResponseDto } from './models/SupportChatResponseDto';
428
+ export type { SupportChatSocketDto } from './models/SupportChatSocketDto';
429
+ export type { SupportChatSocketResponseDto } from './models/SupportChatSocketResponseDto';
418
430
  export type { SupportTicketResponseDto } from './models/SupportTicketResponseDto';
419
431
  export type { SupportTicketStatusResponseDto } from './models/SupportTicketStatusResponseDto';
420
432
  export type { TakeoverSessionResponseDto } from './models/TakeoverSessionResponseDto';
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://api.drttix.com/shopper',
24
- VERSION: '20261029.1',
24
+ VERSION: '20261030.1',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -71,5 +71,9 @@ export type Account = {
71
71
  pmtGatewayAcctId: string | null;
72
72
  enableAdjustmentPayment: number;
73
73
  groupShows: number;
74
+ /**
75
+ * studio_settings.allow_ticketless_order. When 1, a buyer may check out with no seats (donation- or merch-only). Read live when the cached Account row predates the field.
76
+ */
77
+ allowTicketlessOrder: number;
74
78
  };
75
79