@drttix/drt-sdk 1.4.10 → 1.5.1

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 (153) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/src/definitions/portal.d.ts +2 -0
  3. package/dist/cjs/src/definitions/portal.js +49 -47
  4. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  5. package/dist/cjs/src/generated/portal/index.d.ts +3 -0
  6. package/dist/cjs/src/generated/portal/index.js +6 -2
  7. package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
  8. package/dist/cjs/src/generated/portal/models/AcceptAgreementRequestDto.js +2 -0
  9. package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
  10. package/dist/cjs/src/generated/portal/models/AgreementStatusResponseDto.js +38 -0
  11. package/dist/cjs/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
  12. package/dist/cjs/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
  13. package/dist/cjs/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
  14. package/dist/cjs/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  15. package/dist/cjs/src/generated/portal/models/TieredPrice.d.ts +4 -0
  16. package/dist/cjs/src/generated/portal/services/AgreementsService.d.ts +32 -0
  17. package/dist/cjs/src/generated/portal/services/AgreementsService.js +67 -0
  18. package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
  19. package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.js +4 -2
  20. package/dist/cjs/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
  21. package/dist/cjs/src/generated/portal/services/FeaturesProductsService.js +24 -2
  22. package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
  23. package/dist/cjs/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
  24. package/dist/cjs/src/generated/portal/types.d.ts +1 -0
  25. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  26. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  27. package/dist/cjs/src/generated/shopper/index.d.ts +6 -0
  28. package/dist/cjs/src/generated/shopper/models/Account.d.ts +4 -0
  29. package/dist/cjs/src/generated/shopper/models/CartCounts.d.ts +10 -0
  30. package/dist/cjs/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
  31. package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
  32. package/dist/cjs/src/generated/shopper/models/CartStateEnvelope.js +2 -0
  33. package/dist/cjs/src/generated/shopper/models/CartTierOption.d.ts +28 -0
  34. package/dist/cjs/src/generated/shopper/models/CartTierOption.js +2 -0
  35. package/dist/cjs/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
  36. package/dist/cjs/src/generated/shopper/models/CartTierSeat.js +2 -0
  37. package/dist/cjs/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
  38. package/dist/cjs/src/generated/shopper/models/CartTiersResponse.js +2 -0
  39. package/dist/cjs/src/generated/shopper/models/DonationFund.d.ts +0 -2
  40. package/dist/cjs/src/generated/shopper/models/EventListItem.d.ts +79 -0
  41. package/dist/cjs/src/generated/shopper/models/EventListItem.js +2 -0
  42. package/dist/cjs/src/generated/shopper/models/GAResponse.d.ts +5 -0
  43. package/dist/cjs/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
  44. package/dist/cjs/src/generated/shopper/models/Product.d.ts +8 -0
  45. package/dist/cjs/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
  46. package/dist/cjs/src/generated/shopper/models/SeatHoldObject.js +2 -0
  47. package/dist/cjs/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
  48. package/dist/cjs/src/generated/shopper/models/ShowExtras.d.ts +8 -0
  49. package/dist/cjs/src/generated/shopper/models/SiteTheme.d.ts +4 -0
  50. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +12 -0
  51. package/dist/cjs/src/generated/shopper/services/CartService.js +19 -0
  52. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +3 -2
  53. package/dist/cjs/src/generated/shopper/services/SeatService.js +1 -1
  54. package/dist/cjs/src/generated/shopper/types.d.ts +6 -0
  55. package/dist/cjs/src/staging/index.d.ts +1 -0
  56. package/dist/cjs/src/staging/portal.d.ts +2 -0
  57. package/dist/cjs/src/staging/portal.js +49 -47
  58. package/dist/esm/index.d.ts +1 -0
  59. package/dist/esm/src/definitions/portal.d.ts +2 -0
  60. package/dist/esm/src/definitions/portal.js +2 -0
  61. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  62. package/dist/esm/src/generated/portal/index.d.ts +3 -0
  63. package/dist/esm/src/generated/portal/index.js +2 -0
  64. package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.d.ts +23 -0
  65. package/dist/esm/src/generated/portal/models/AcceptAgreementRequestDto.js +1 -0
  66. package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.d.ts +61 -0
  67. package/dist/esm/src/generated/portal/models/AgreementStatusResponseDto.js +35 -0
  68. package/dist/esm/src/generated/portal/models/CreateShowTimeDto.d.ts +8 -0
  69. package/dist/esm/src/generated/portal/models/SettingsDetailsResponseDto.d.ts +5 -0
  70. package/dist/esm/src/generated/portal/models/ThemeDesignResponseDto.d.ts +12 -0
  71. package/dist/esm/src/generated/portal/models/TicketingShowResponseDto.d.ts +4 -0
  72. package/dist/esm/src/generated/portal/models/TieredPrice.d.ts +4 -0
  73. package/dist/esm/src/generated/portal/services/AgreementsService.d.ts +32 -0
  74. package/dist/esm/src/generated/portal/services/AgreementsService.js +63 -0
  75. package/dist/esm/src/generated/portal/services/FeaturesDonationsService.d.ts +4 -2
  76. package/dist/esm/src/generated/portal/services/FeaturesDonationsService.js +4 -2
  77. package/dist/esm/src/generated/portal/services/FeaturesProductsService.d.ts +13 -2
  78. package/dist/esm/src/generated/portal/services/FeaturesProductsService.js +24 -2
  79. package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.d.ts +8 -0
  80. package/dist/esm/src/generated/portal/services/SuperUserManageImageFilesService.js +16 -0
  81. package/dist/esm/src/generated/portal/types.d.ts +1 -0
  82. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  83. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  84. package/dist/esm/src/generated/shopper/index.d.ts +6 -0
  85. package/dist/esm/src/generated/shopper/models/Account.d.ts +4 -0
  86. package/dist/esm/src/generated/shopper/models/CartCounts.d.ts +10 -0
  87. package/dist/esm/src/generated/shopper/models/CartCountsLite.d.ts +11 -3
  88. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.d.ts +26 -0
  89. package/dist/esm/src/generated/shopper/models/CartStateEnvelope.js +1 -0
  90. package/dist/esm/src/generated/shopper/models/CartTierOption.d.ts +28 -0
  91. package/dist/esm/src/generated/shopper/models/CartTierOption.js +1 -0
  92. package/dist/esm/src/generated/shopper/models/CartTierSeat.d.ts +21 -0
  93. package/dist/esm/src/generated/shopper/models/CartTierSeat.js +1 -0
  94. package/dist/esm/src/generated/shopper/models/CartTiersResponse.d.ts +7 -0
  95. package/dist/esm/src/generated/shopper/models/CartTiersResponse.js +1 -0
  96. package/dist/esm/src/generated/shopper/models/DonationFund.d.ts +0 -2
  97. package/dist/esm/src/generated/shopper/models/EventListItem.d.ts +79 -0
  98. package/dist/esm/src/generated/shopper/models/EventListItem.js +1 -0
  99. package/dist/esm/src/generated/shopper/models/GAResponse.d.ts +5 -0
  100. package/dist/esm/src/generated/shopper/models/GetEventsResponse.d.ts +2 -2
  101. package/dist/esm/src/generated/shopper/models/Product.d.ts +8 -0
  102. package/dist/esm/src/generated/shopper/models/SeatHoldObject.d.ts +10 -0
  103. package/dist/esm/src/generated/shopper/models/SeatHoldObject.js +1 -0
  104. package/dist/esm/src/generated/shopper/models/SeatHoldReturn.d.ts +5 -0
  105. package/dist/esm/src/generated/shopper/models/ShowExtras.d.ts +8 -0
  106. package/dist/esm/src/generated/shopper/models/SiteTheme.d.ts +4 -0
  107. package/dist/esm/src/generated/shopper/services/CartService.d.ts +12 -0
  108. package/dist/esm/src/generated/shopper/services/CartService.js +19 -0
  109. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +3 -2
  110. package/dist/esm/src/generated/shopper/services/SeatService.js +1 -1
  111. package/dist/esm/src/generated/shopper/types.d.ts +6 -0
  112. package/dist/esm/src/staging/index.d.ts +1 -0
  113. package/dist/esm/src/staging/portal.d.ts +2 -0
  114. package/dist/esm/src/staging/portal.js +2 -0
  115. package/package.json +1 -1
  116. package/src/definitions/portal.ts +2 -0
  117. package/src/generated/portal/core/OpenAPI.ts +1 -1
  118. package/src/generated/portal/index.ts +3 -0
  119. package/src/generated/portal/models/AcceptAgreementRequestDto.ts +28 -0
  120. package/src/generated/portal/models/AgreementStatusResponseDto.ts +66 -0
  121. package/src/generated/portal/models/CreateShowTimeDto.ts +8 -0
  122. package/src/generated/portal/models/SettingsDetailsResponseDto.ts +5 -0
  123. package/src/generated/portal/models/ThemeDesignResponseDto.ts +12 -0
  124. package/src/generated/portal/models/TicketingShowResponseDto.ts +4 -0
  125. package/src/generated/portal/models/TieredPrice.ts +4 -0
  126. package/src/generated/portal/services/AgreementsService.ts +79 -0
  127. package/src/generated/portal/services/FeaturesDonationsService.ts +4 -2
  128. package/src/generated/portal/services/FeaturesProductsService.ts +27 -2
  129. package/src/generated/portal/services/SuperUserManageImageFilesService.ts +18 -0
  130. package/src/generated/portal/types.ts +1 -0
  131. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  132. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  133. package/src/generated/shopper/index.ts +6 -0
  134. package/src/generated/shopper/models/Account.ts +4 -0
  135. package/src/generated/shopper/models/CartCounts.ts +10 -0
  136. package/src/generated/shopper/models/CartCountsLite.ts +11 -3
  137. package/src/generated/shopper/models/CartStateEnvelope.ts +31 -0
  138. package/src/generated/shopper/models/CartTierOption.ts +33 -0
  139. package/src/generated/shopper/models/CartTierSeat.ts +26 -0
  140. package/src/generated/shopper/models/CartTiersResponse.ts +12 -0
  141. package/src/generated/shopper/models/DonationFund.ts +0 -2
  142. package/src/generated/shopper/models/EventListItem.ts +84 -0
  143. package/src/generated/shopper/models/GAResponse.ts +5 -0
  144. package/src/generated/shopper/models/GetEventsResponse.ts +2 -2
  145. package/src/generated/shopper/models/Product.ts +8 -0
  146. package/src/generated/shopper/models/SeatHoldObject.ts +15 -0
  147. package/src/generated/shopper/models/SeatHoldReturn.ts +5 -0
  148. package/src/generated/shopper/models/ShowExtras.ts +8 -0
  149. package/src/generated/shopper/models/SiteTheme.ts +4 -0
  150. package/src/generated/shopper/services/CartService.ts +22 -0
  151. package/src/generated/shopper/services/SeatService.ts +3 -2
  152. package/src/generated/shopper/types.ts +6 -0
  153. package/src/staging/portal.ts +2 -0
@@ -8,6 +8,7 @@ export { OpenAPI } from './core/OpenAPI';
8
8
  export type { OpenAPIConfig } from './core/OpenAPI';
9
9
 
10
10
  export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto';
11
+ export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
11
12
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
12
13
  export { AccountingTimezone } from './models/AccountingTimezone';
13
14
  export type { ActionResponseDto } from './models/ActionResponseDto';
@@ -18,6 +19,7 @@ export type { AdminUserResponseDto } from './models/AdminUserResponseDto';
18
19
  export type { AdvancedPricing } from './models/AdvancedPricing';
19
20
  export type { AdvancedStudioSettingsResponseDto } from './models/AdvancedStudioSettingsResponseDto';
20
21
  export type { AdvancedStudioWaveResponseDto } from './models/AdvancedStudioWaveResponseDto';
22
+ export { AgreementStatusResponseDto } from './models/AgreementStatusResponseDto';
21
23
  export type { AlbumImageResponseDto } from './models/AlbumImageResponseDto';
22
24
  export type { AlertActionTemplateResponseDto } from './models/AlertActionTemplateResponseDto';
23
25
  export type { AlertDetailResponseDto } from './models/AlertDetailResponseDto';
@@ -486,6 +488,7 @@ export type { WeeklyResponseDto } from './models/WeeklyResponseDto';
486
488
 
487
489
  export { AccountService } from './services/AccountService';
488
490
  export { AccountingService } from './services/AccountingService';
491
+ export { AgreementsService } from './services/AgreementsService';
489
492
  export { AppService } from './services/AppService';
490
493
  export { AuthService } from './services/AuthService';
491
494
  export { BookmarkService } from './services/BookmarkService';
@@ -0,0 +1,28 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type AcceptAgreementRequestDto = {
6
+ /**
7
+ * The signer ticked "I agree". Must be true.
8
+ */
9
+ agreed: boolean;
10
+ legalName: string;
11
+ /**
12
+ * Digits only. Required when the agreement collects a tax id.
13
+ */
14
+ taxId?: string;
15
+ /**
16
+ * One entry per initials box the agreement shows; all must match.
17
+ */
18
+ initials?: Array<string>;
19
+ /**
20
+ * Mobile number for texting. Required when the agreement collects one; formatting is stripped server-side.
21
+ */
22
+ mobilePhone?: string;
23
+ /**
24
+ * service_agreement.id the signer read. Rejected when it is no longer the current version.
25
+ */
26
+ versionId?: number;
27
+ };
28
+
@@ -0,0 +1,66 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type AgreementStatusResponseDto = {
6
+ scope: AgreementStatusResponseDto.scope;
7
+ /**
8
+ * URL segment for /agreements/:scope
9
+ */
10
+ slug: string;
11
+ gate: AgreementStatusResponseDto.gate;
12
+ granularity: AgreementStatusResponseDto.granularity;
13
+ versioned: boolean;
14
+ /**
15
+ * Nothing outstanding for this login/account.
16
+ */
17
+ accepted: boolean;
18
+ /**
19
+ * The current login must accept before continuing. False when accepted, or when the login is exempt (superuser on the MSA).
20
+ */
21
+ required: boolean;
22
+ versionId: number | null;
23
+ version: string | null;
24
+ dateStart: string | null;
25
+ /**
26
+ * Plain-text agreement body. Only populated by GET /agreements/:scope for versioned agreements.
27
+ */
28
+ details: string | null;
29
+ taxIdMode: AgreementStatusResponseDto.taxIdMode;
30
+ initialsCount: number;
31
+ legalNameRule: AgreementStatusResponseDto.legalNameRule;
32
+ phone: AgreementStatusResponseDto.phone;
33
+ /**
34
+ * The address the signature will be recorded from. Only populated by GET /agreements/:scope.
35
+ */
36
+ clientIp: string | null;
37
+ };
38
+ export namespace AgreementStatusResponseDto {
39
+ export enum scope {
40
+ MSA = 'MSA',
41
+ DONATIONS = 'donations',
42
+ PRODUCTS = 'products',
43
+ }
44
+ export enum gate {
45
+ PORTAL = 'portal',
46
+ FEATURE = 'feature',
47
+ }
48
+ export enum granularity {
49
+ PER_USER = 'per-user',
50
+ PER_ACCOUNT = 'per-account',
51
+ }
52
+ export enum taxIdMode {
53
+ NONE = 'none',
54
+ EXACT9 = 'exact9',
55
+ EXACT9_CA_MIN9 = 'exact9-ca-min9',
56
+ }
57
+ export enum legalNameRule {
58
+ MIN3 = 'min3',
59
+ FIRST_LAST = 'first-last',
60
+ }
61
+ export enum phone {
62
+ NONE = 'none',
63
+ REQUIRED = 'required',
64
+ }
65
+ }
66
+
@@ -8,5 +8,13 @@ export type CreateShowTimeDto = {
8
8
  dateOpenEnd: string;
9
9
  datePriorityStart: string;
10
10
  datePriorityEnd: string;
11
+ /**
12
+ * This showtime's own event name. Falls back to the request-level title when blank, so a run only names the rows that differ.
13
+ */
14
+ title?: string;
15
+ /**
16
+ * This showtime's own designation. Falls back to the request-level designation when blank.
17
+ */
18
+ designation?: string;
11
19
  };
12
20
 
@@ -3,6 +3,7 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  import type { AccountingTimezone } from './AccountingTimezone';
6
+ import type { AgreementStatusResponseDto } from './AgreementStatusResponseDto';
6
7
  import type { TimeZoneResponse } from './TimeZoneResponse';
7
8
  export type SettingsDetailsResponseDto = {
8
9
  holdTime: number;
@@ -74,5 +75,9 @@ export type SettingsDetailsResponseDto = {
74
75
  */
75
76
  accountingTimezone: AccountingTimezone;
76
77
  timezoneList: Array<TimeZoneResponse>;
78
+ /**
79
+ * Service-agreement status for the current login. A portal-gated entry with required = true means the login must accept it before using the portal.
80
+ */
81
+ agreements: Array<AgreementStatusResponseDto>;
77
82
  };
78
83
 
@@ -33,5 +33,17 @@ export type ThemeDesignResponseDto = {
33
33
  logoMaxHeight: string | null;
34
34
  logoMaxWidth: string | null;
35
35
  logoTop: string | null;
36
+ /**
37
+ * The studio's logo, taken from the image they stored in Manage Image Files as logo.png. Null when they have none, in which case the client falls back to the buyer site default at /client-content/images/{studioId}/logo.png. Read-only: not accepted on update.
38
+ */
39
+ logoSrc: string | null;
40
+ /**
41
+ * Whether the studio currently has active products - gates the Merchandise checkout step, mirroring the shopper site.
42
+ */
43
+ hasProducts: boolean;
44
+ /**
45
+ * Whether the studio currently has enabled donation funds - gates the Donation checkout step, mirroring the shopper site.
46
+ */
47
+ hasDonations: boolean;
36
48
  };
37
49
 
@@ -9,5 +9,9 @@ export type TicketingShowResponseDto = {
9
9
  domainURL: string;
10
10
  shows: Array<ShowsResponseDto>;
11
11
  showGroups: Array<ShowGroupResponseDto>;
12
+ /**
13
+ * The studio's social-media graphic, taken from the image they uploaded to Manage Image Files as facebook.jpg. Null when they have none, so the client shows the DRT default instead.
14
+ */
15
+ socialGraphicSrc: Record<string, any> | null;
12
16
  };
13
17
 
@@ -13,5 +13,9 @@ export type TieredPrice = {
13
13
  maxCapacity: number | null;
14
14
  isDefault: number | null;
15
15
  doorPrice: number | null;
16
+ /**
17
+ * When door pricing starts, in the studio's own timezone — the column is stored in Eastern and converted on read, same as dateStart and dateEnd.
18
+ */
19
+ dateDoorPricingStart: string | null;
16
20
  };
17
21
 
@@ -0,0 +1,79 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { AcceptAgreementRequestDto } from '../models/AcceptAgreementRequestDto';
6
+ import type { AgreementStatusResponseDto } from '../models/AgreementStatusResponseDto';
7
+ import type { CancelablePromise } from '../core/CancelablePromise';
8
+ import { OpenAPI } from '../core/OpenAPI';
9
+ import { request as __request } from '../core/request';
10
+ export class AgreementsService {
11
+ /**
12
+ * List agreement statuses
13
+ * Whether the current login/account has accepted each service agreement, and whether it must before continuing.
14
+ * @param xStudioId The ID of the studio
15
+ * @returns AgreementStatusResponseDto Status of every agreement for the current login
16
+ * @throws ApiError
17
+ */
18
+ public static getAgreements(
19
+ xStudioId: string,
20
+ ): CancelablePromise<Array<AgreementStatusResponseDto>> {
21
+ return __request(OpenAPI, {
22
+ method: 'GET',
23
+ url: '/admin-portal/agreements',
24
+ headers: {
25
+ 'x-studio-id': xStudioId,
26
+ },
27
+ });
28
+ }
29
+ /**
30
+ * Fetch one agreement
31
+ * Status plus the current agreement body (versioned agreements) and the address the signature will be recorded from.
32
+ * @param xStudioId The ID of the studio
33
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
34
+ * @returns AgreementStatusResponseDto Agreement status, with the text to sign when versioned
35
+ * @throws ApiError
36
+ */
37
+ public static getAgreement(
38
+ xStudioId: string,
39
+ scope: string,
40
+ ): CancelablePromise<AgreementStatusResponseDto> {
41
+ return __request(OpenAPI, {
42
+ method: 'GET',
43
+ url: '/admin-portal/agreements/{scope}',
44
+ path: {
45
+ 'scope': scope,
46
+ },
47
+ headers: {
48
+ 'x-studio-id': xStudioId,
49
+ },
50
+ });
51
+ }
52
+ /**
53
+ * Accept an agreement
54
+ * Records the signature for the current login/account and runs the agreement's follow-up actions.
55
+ * @param xStudioId The ID of the studio
56
+ * @param scope Agreement slug (msa, donations, products) or scope value (MSA, donations, products).
57
+ * @param requestBody Signature details
58
+ * @returns AgreementStatusResponseDto Agreement status after the signature was recorded
59
+ * @throws ApiError
60
+ */
61
+ public static acceptAgreement(
62
+ xStudioId: string,
63
+ scope: string,
64
+ requestBody: AcceptAgreementRequestDto,
65
+ ): CancelablePromise<AgreementStatusResponseDto> {
66
+ return __request(OpenAPI, {
67
+ method: 'POST',
68
+ url: '/admin-portal/agreements/{scope}/accept',
69
+ path: {
70
+ 'scope': scope,
71
+ },
72
+ headers: {
73
+ 'x-studio-id': xStudioId,
74
+ },
75
+ body: requestBody,
76
+ mediaType: 'application/json',
77
+ });
78
+ }
79
+ }
@@ -55,8 +55,9 @@ export class FeaturesDonationsService {
55
55
  });
56
56
  }
57
57
  /**
58
+ * @deprecated
58
59
  * Validate the service agreement exist or not
59
- * Check if the service agreement exists for the given studio ID
60
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/donations.
60
61
  * @param xStudioId The ID of the studio
61
62
  * @returns SuccessResponse Service agreement fetched successfully
62
63
  * @throws ApiError
@@ -73,8 +74,9 @@ export class FeaturesDonationsService {
73
74
  });
74
75
  }
75
76
  /**
77
+ * @deprecated
76
78
  * Create the service agreement
77
- * Create a new service agreement for the given studio ID
79
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/donations/accept.
78
80
  * @param xStudioId The ID of the studio
79
81
  * @param requestBody Payload to create service agreement
80
82
  * @returns SuccessResponse Service agreement created successfully
@@ -109,8 +109,9 @@ export class FeaturesProductsService {
109
109
  });
110
110
  }
111
111
  /**
112
+ * @deprecated
112
113
  * Validate the service agreement exist or not
113
- * Check if the service agreement exists for the given studio ID
114
+ * Check if the service agreement exists for the given studio ID. Deprecated: use GET /agreements/products.
114
115
  * @param xStudioId The ID of the studio
115
116
  * @returns SuccessResponse Service agreement fetched successfully
116
117
  * @throws ApiError
@@ -127,8 +128,9 @@ export class FeaturesProductsService {
127
128
  });
128
129
  }
129
130
  /**
131
+ * @deprecated
130
132
  * Create the service agreement
131
- * Create a new service agreement for the given studio ID
133
+ * Create a new service agreement for the given studio ID. Deprecated: use POST /agreements/products/accept.
132
134
  * @param xStudioId The ID of the studio
133
135
  * @param requestBody Payload to create service agreement
134
136
  * @returns SuccessResponse Service agreement created successfully
@@ -312,6 +314,29 @@ export class FeaturesProductsService {
312
314
  mediaType: 'application/json',
313
315
  });
314
316
  }
317
+ /**
318
+ * Upload a product image through the AWS-Gateway pipeline
319
+ * Multipart upload: the bytes are validated and resized by the AWS-Gateway /image/process route (preset product, matching the legacy CF admin) and the image/product rows are updated. Replaces start-image-upload + the browser PUT for this flow.
320
+ * @param xStudioId The ID of the studio
321
+ * @param productId The ID of the product
322
+ * @returns SuccessResponse Product image processed, stored and attached
323
+ * @throws ApiError
324
+ */
325
+ public static uploadProductImage(
326
+ xStudioId: string,
327
+ productId: string,
328
+ ): CancelablePromise<SuccessResponse> {
329
+ return __request(OpenAPI, {
330
+ method: 'POST',
331
+ url: '/admin-portal/features/products/{productId}/upload-image',
332
+ path: {
333
+ 'productId': productId,
334
+ },
335
+ headers: {
336
+ 'x-studio-id': xStudioId,
337
+ },
338
+ });
339
+ }
315
340
  /**
316
341
  * Create the duplicate product
317
342
  * Create a new duplicate product for the given product ID
@@ -111,6 +111,24 @@ export class SuperUserManageImageFilesService {
111
111
  mediaType: 'application/json',
112
112
  });
113
113
  }
114
+ /**
115
+ * Upload an image through the AWS-Gateway pipeline
116
+ * Multipart upload: the bytes are validated and stored by the AWS-Gateway /image/process route (preset none) and the image row is created with the gateway-measured dimensions. Replaces start-image-upload + the browser PUT for this flow.
117
+ * @param xStudioId The ID of the studio
118
+ * @returns CreateImageFileResponseDto Image processed, stored and recorded successfully
119
+ * @throws ApiError
120
+ */
121
+ public static uploadImageFile(
122
+ xStudioId: string,
123
+ ): CancelablePromise<CreateImageFileResponseDto> {
124
+ return __request(OpenAPI, {
125
+ method: 'POST',
126
+ url: '/admin-portal/superuser/manage-image-files/upload-image',
127
+ headers: {
128
+ 'x-studio-id': xStudioId,
129
+ },
130
+ });
131
+ }
114
132
  /**
115
133
  * Rename an image file
116
134
  * Rename an image file by id
@@ -2,6 +2,7 @@
2
2
  // Re-export all types as a namespace
3
3
 
4
4
  export type { AbandonedCartResponseDto } from './models/AbandonedCartResponseDto';
5
+ export type { AcceptAgreementRequestDto } from './models/AcceptAgreementRequestDto';
5
6
  export type { AccountDetailResponseDto } from './models/AccountDetailResponseDto';
6
7
  export type { ActionResponseDto } from './models/ActionResponseDto';
7
8
  export type { AddSessionSeatRequestDto } from './models/AddSessionSeatRequestDto';
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://api.drttix.com/scanner-v3',
24
- VERSION: '20260713.1',
24
+ VERSION: '20260826.1',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -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: '20260822.1',
24
+ VERSION: '20260831.4',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -22,7 +22,11 @@ export type { CartCounts } from './models/CartCounts';
22
22
  export type { CartCountsLite } from './models/CartCountsLite';
23
23
  export type { CartHashResponse } from './models/CartHashResponse';
24
24
  export type { CartItemCounts } from './models/CartItemCounts';
25
+ export type { CartStateEnvelope } from './models/CartStateEnvelope';
25
26
  export type { CartSummary } from './models/CartSummary';
27
+ export type { CartTierOption } from './models/CartTierOption';
28
+ export type { CartTierSeat } from './models/CartTierSeat';
29
+ export type { CartTiersResponse } from './models/CartTiersResponse';
26
30
  export type { CartTotals } from './models/CartTotals';
27
31
  export type { CartWithTime } from './models/CartWithTime';
28
32
  export type { CashPaymentDetail } from './models/CashPaymentDetail';
@@ -59,6 +63,7 @@ export type { EventDetails } from './models/EventDetails';
59
63
  export type { EventGroup } from './models/EventGroup';
60
64
  export type { EventLegend } from './models/EventLegend';
61
65
  export type { EventLegendItem } from './models/EventLegendItem';
66
+ export type { EventListItem } from './models/EventListItem';
62
67
  export type { ExchangeAnswersBody } from './models/ExchangeAnswersBody';
63
68
  export type { ExchangeCancelResponse } from './models/ExchangeCancelResponse';
64
69
  export type { ExchangeCancelSeatResponse } from './models/ExchangeCancelSeatResponse';
@@ -142,6 +147,7 @@ export type { RootConfigResponse } from './models/RootConfigResponse';
142
147
  export type { SaveDetailsBody } from './models/SaveDetailsBody';
143
148
  export type { SaveNonceBody } from './models/SaveNonceBody';
144
149
  export type { SeatData } from './models/SeatData';
150
+ export type { SeatHoldObject } from './models/SeatHoldObject';
145
151
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
146
152
  export type { SeatIdInput } from './models/SeatIdInput';
147
153
  export type { SeatInCart } from './models/SeatInCart';
@@ -61,6 +61,10 @@ export type Account = {
61
61
  enableOrderDonation: number;
62
62
  obfuscateData: number;
63
63
  paymentGatewayId: number | null;
64
+ /**
65
+ * The studio's Stripe connected account id (studio_pmt_gateway_assoc.pmt_gateway_acct_id), resolved live at request time — the cached Account row predates the field. The site passes it as stripeAccount when initializing Stripe.js; without it the Payment Element mounts on the platform account and confirmation tokens cannot confirm connected-account intents. Null when the studio has no Stripe connected account.
66
+ */
67
+ pmtGatewayAcctId: string | null;
64
68
  enableAdjustmentPayment: number;
65
69
  groupShows: number;
66
70
  };
@@ -3,9 +3,19 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
  export type CartCounts = {
6
+ /**
7
+ * Total tickets (seats) in the cart.
8
+ */
6
9
  numSeats: number;
7
10
  numDonations: number;
11
+ /**
12
+ * Total product ITEMS (sum of line quantities) — was the line count before PROJ-900.
13
+ */
8
14
  numProducts: number;
15
+ /**
16
+ * Number of distinct product lines in the cart.
17
+ */
18
+ numUniqueProducts: number;
9
19
  numTotal: number;
10
20
  };
11
21
 
@@ -4,15 +4,23 @@
4
4
  /* eslint-disable */
5
5
  export type CartCountsLite = {
6
6
  /**
7
- * Number of seats currently held in the cart.
7
+ * Total number of tickets (seats) currently in the cart.
8
8
  */
9
9
  numSeats: number;
10
10
  /**
11
- * Number of products currently in the cart.
11
+ * Number of distinct shows those tickets span (PROJ-900).
12
+ */
13
+ numShows: number;
14
+ /**
15
+ * Total number of product ITEMS in the cart (sum of line quantities — three of the same shirt counts as 3). Previously this was the line count (PROJ-900).
12
16
  */
13
17
  numProducts: number;
14
18
  /**
15
- * Seconds remaining on the cart timer (from the Session-Service heartbeat); 0 when no timer is running.
19
+ * Number of distinct product lines in the cart (three of the same shirt counts as 1).
20
+ */
21
+ numUniqueProducts: number;
22
+ /**
23
+ * Time remaining on the cart timer, in MILLISECONDS (from the Session-Service heartbeat); 0 when no timer is running. The field name is historical and kept for compatibility — the value has always been ms, confirmed empirically by the site team (audit BUG-7; their session layer measures and documents the same). Do not divide by 1000 server-side without coordinating a field rename with every consumer.
16
24
  */
17
25
  secondsRemaining: number;
18
26
  };
@@ -0,0 +1,31 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CartAmounts } from './CartAmounts';
6
+ import type { CartCountsLite } from './CartCountsLite';
7
+ import type { CartTotals } from './CartTotals';
8
+ import type { CartWithTime } from './CartWithTime';
9
+ export type CartStateEnvelope = {
10
+ /**
11
+ * Server-side build order (ms epoch). Rapid mutations answer with envelopes whose RESPONSES can arrive out of order; the client applies only an envelope newer than the last applied, so a late older snapshot never overwrites fresher truth.
12
+ */
13
+ builtAt: number;
14
+ /**
15
+ * Post-recompute money — the GET /cart/totals payload.
16
+ */
17
+ totals: CartTotals;
18
+ /**
19
+ * The GET /cart payload (rows are post-recompute).
20
+ */
21
+ cart: CartWithTime;
22
+ /**
23
+ * The GET /cart/counts payload (carries the cart clock).
24
+ */
25
+ counts: CartCountsLite;
26
+ /**
27
+ * The GET /cart/amounts ledger (tax, subtotals, payments) — post-recompute. Lets the client serve ledger-level refreshes from the envelope instead of chasing four extra reads after every mutation.
28
+ */
29
+ amounts: CartAmounts;
30
+ };
31
+
@@ -0,0 +1,33 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type CartTierOption = {
6
+ /**
7
+ * seat_pricing_tier id.
8
+ */
9
+ id: number;
10
+ name: string;
11
+ description: string | null;
12
+ /**
13
+ * The online price for this tier — fee-inclusive, door-pricing aware (dbo.seat_availableSectionTiers semantics).
14
+ */
15
+ price: number;
16
+ /**
17
+ * The price without the service charge — render as "{basePrice} + Fee" when showPricingSplit is set.
18
+ */
19
+ basePrice: number | null;
20
+ /**
21
+ * Whether prices should be presented split (base + fee) for this show right now.
22
+ */
23
+ showPricingSplit: number;
24
+ /**
25
+ * Show service charge (the fee component).
26
+ */
27
+ serviceCharge: number;
28
+ /**
29
+ * Display rank (1 = first).
30
+ */
31
+ rank: number;
32
+ };
33
+
@@ -0,0 +1,26 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CartTierOption } from './CartTierOption';
6
+ export type CartTierSeat = {
7
+ showId: number;
8
+ showShortName: string | null;
9
+ seatId: number;
10
+ /**
11
+ * Physical section label; null for GA rows.
12
+ */
13
+ section: string | null;
14
+ row: string | null;
15
+ seat: number | null;
16
+ /**
17
+ * Nonzero when the row should display as GENERAL instead of Sec-Row-Seat.
18
+ */
19
+ isGeneralSeating: number;
20
+ /**
21
+ * The tier currently assigned to this held seat.
22
+ */
23
+ currentTierId: number | null;
24
+ tiers: Array<CartTierOption>;
25
+ };
26
+
@@ -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 { CartTierSeat } from './CartTierSeat';
6
+ export type CartTiersResponse = {
7
+ /**
8
+ * Held seats that need a pricing-tier selection (more than one applicable tier). Empty when the tiers step should be skipped — this list agrees with GET /checkout/next-step by construction (both read dbo.SessionGetSeatsWithTiers).
9
+ */
10
+ seats: Array<CartTierSeat>;
11
+ };
12
+
@@ -8,8 +8,6 @@ export type DonationFund = {
8
8
  date_end: string | null;
9
9
  date_start: string | null;
10
10
  dedication: string | null;
11
- deposit_account: string | null;
12
- deposit_routing: string | null;
13
11
  description: string | null;
14
12
  embed_rate: number;
15
13
  embed_sc: number;