@drttix/drt-sdk 0.3.11 → 0.3.13

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 (129) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/src/definitions/shopper.d.ts +2 -0
  3. package/dist/cjs/src/definitions/shopper.js +11 -9
  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/models/CheckoutResponseShowResponseDto.d.ts +5 -0
  7. package/dist/cjs/src/generated/portal/models/CheckoutResponseShowResponseDto.js +2 -0
  8. package/dist/cjs/src/generated/portal/models/SearchCodeResponseDto.d.ts +1 -1
  9. package/dist/cjs/src/generated/portal/models/ShowSeatDetailResponseDto.d.ts +6 -0
  10. package/dist/cjs/src/generated/portal/models/ShowSeatDetailResponseDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/UpdateEmailRequestDto.d.ts +3 -0
  12. package/dist/cjs/src/generated/portal/models/UpdateEmailRequestDto.js +2 -0
  13. package/dist/cjs/src/generated/portal/services/OrderLookupService.d.ts +11 -0
  14. package/dist/cjs/src/generated/portal/services/OrderLookupService.js +23 -0
  15. package/dist/cjs/src/generated/portal/services/ReportsService.d.ts +21 -0
  16. package/dist/cjs/src/generated/portal/services/ReportsService.js +42 -0
  17. package/dist/cjs/src/generated/portal/types.d.ts +3 -0
  18. package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
  19. package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
  20. package/dist/cjs/src/generated/shopper/index.d.ts +14 -0
  21. package/dist/cjs/src/generated/shopper/index.js +3 -1
  22. package/dist/cjs/src/generated/shopper/models/CartCounts.d.ts +6 -0
  23. package/dist/cjs/src/generated/shopper/models/CartCounts.js +2 -0
  24. package/dist/cjs/src/generated/shopper/models/CheckoutDonation.d.ts +4 -0
  25. package/dist/cjs/src/generated/shopper/models/CheckoutDonation.js +2 -0
  26. package/dist/cjs/src/generated/shopper/models/CheckoutFailResponse.d.ts +5 -0
  27. package/dist/cjs/src/generated/shopper/models/CheckoutFailResponse.js +2 -0
  28. package/dist/cjs/src/generated/shopper/models/CheckoutGiftCard.d.ts +4 -0
  29. package/dist/cjs/src/generated/shopper/models/CheckoutGiftCard.js +2 -0
  30. package/dist/cjs/src/generated/shopper/models/CheckoutPageData.d.ts +18 -0
  31. package/dist/cjs/src/generated/shopper/models/CheckoutPageData.js +2 -0
  32. package/dist/cjs/src/generated/shopper/models/CheckoutProduct.d.ts +9 -0
  33. package/dist/cjs/src/generated/shopper/models/CheckoutProduct.js +2 -0
  34. package/dist/cjs/src/generated/shopper/models/CheckoutQuestion.d.ts +15 -0
  35. package/dist/cjs/src/generated/shopper/models/CheckoutQuestion.js +2 -0
  36. package/dist/cjs/src/generated/shopper/models/CheckoutSessionData.d.ts +30 -0
  37. package/dist/cjs/src/generated/shopper/models/CheckoutSessionData.js +2 -0
  38. package/dist/cjs/src/generated/shopper/models/CheckoutSubmitBody.d.ts +30 -0
  39. package/dist/cjs/src/generated/shopper/models/CheckoutSubmitBody.js +2 -0
  40. package/dist/cjs/src/generated/shopper/models/CheckoutSuccessResponse.d.ts +3 -0
  41. package/dist/cjs/src/generated/shopper/models/CheckoutSuccessResponse.js +2 -0
  42. package/dist/cjs/src/generated/shopper/models/SaveDetailsBody.d.ts +21 -0
  43. package/dist/cjs/src/generated/shopper/models/SaveDetailsBody.js +2 -0
  44. package/dist/cjs/src/generated/shopper/models/SaveNonceBody.d.ts +10 -0
  45. package/dist/cjs/src/generated/shopper/models/SaveNonceBody.js +2 -0
  46. package/dist/cjs/src/generated/shopper/models/StudioSettings.d.ts +7 -0
  47. package/dist/cjs/src/generated/shopper/models/StudioSettings.js +2 -0
  48. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +61 -0
  49. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +142 -0
  50. package/dist/cjs/src/generated/shopper/types.d.ts +13 -0
  51. package/dist/esm/index.d.ts +1 -0
  52. package/dist/esm/src/definitions/shopper.d.ts +2 -0
  53. package/dist/esm/src/definitions/shopper.js +2 -0
  54. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  55. package/dist/esm/src/generated/portal/index.d.ts +3 -0
  56. package/dist/esm/src/generated/portal/models/CheckoutResponseShowResponseDto.d.ts +5 -0
  57. package/dist/esm/src/generated/portal/models/CheckoutResponseShowResponseDto.js +1 -0
  58. package/dist/esm/src/generated/portal/models/SearchCodeResponseDto.d.ts +1 -1
  59. package/dist/esm/src/generated/portal/models/ShowSeatDetailResponseDto.d.ts +6 -0
  60. package/dist/esm/src/generated/portal/models/ShowSeatDetailResponseDto.js +1 -0
  61. package/dist/esm/src/generated/portal/models/UpdateEmailRequestDto.d.ts +3 -0
  62. package/dist/esm/src/generated/portal/models/UpdateEmailRequestDto.js +1 -0
  63. package/dist/esm/src/generated/portal/services/OrderLookupService.d.ts +11 -0
  64. package/dist/esm/src/generated/portal/services/OrderLookupService.js +23 -0
  65. package/dist/esm/src/generated/portal/services/ReportsService.d.ts +21 -0
  66. package/dist/esm/src/generated/portal/services/ReportsService.js +42 -0
  67. package/dist/esm/src/generated/portal/types.d.ts +3 -0
  68. package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
  69. package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
  70. package/dist/esm/src/generated/shopper/index.d.ts +14 -0
  71. package/dist/esm/src/generated/shopper/index.js +1 -0
  72. package/dist/esm/src/generated/shopper/models/CartCounts.d.ts +6 -0
  73. package/dist/esm/src/generated/shopper/models/CartCounts.js +1 -0
  74. package/dist/esm/src/generated/shopper/models/CheckoutDonation.d.ts +4 -0
  75. package/dist/esm/src/generated/shopper/models/CheckoutDonation.js +1 -0
  76. package/dist/esm/src/generated/shopper/models/CheckoutFailResponse.d.ts +5 -0
  77. package/dist/esm/src/generated/shopper/models/CheckoutFailResponse.js +1 -0
  78. package/dist/esm/src/generated/shopper/models/CheckoutGiftCard.d.ts +4 -0
  79. package/dist/esm/src/generated/shopper/models/CheckoutGiftCard.js +1 -0
  80. package/dist/esm/src/generated/shopper/models/CheckoutPageData.d.ts +18 -0
  81. package/dist/esm/src/generated/shopper/models/CheckoutPageData.js +1 -0
  82. package/dist/esm/src/generated/shopper/models/CheckoutProduct.d.ts +9 -0
  83. package/dist/esm/src/generated/shopper/models/CheckoutProduct.js +1 -0
  84. package/dist/esm/src/generated/shopper/models/CheckoutQuestion.d.ts +15 -0
  85. package/dist/esm/src/generated/shopper/models/CheckoutQuestion.js +1 -0
  86. package/dist/esm/src/generated/shopper/models/CheckoutSessionData.d.ts +30 -0
  87. package/dist/esm/src/generated/shopper/models/CheckoutSessionData.js +1 -0
  88. package/dist/esm/src/generated/shopper/models/CheckoutSubmitBody.d.ts +30 -0
  89. package/dist/esm/src/generated/shopper/models/CheckoutSubmitBody.js +1 -0
  90. package/dist/esm/src/generated/shopper/models/CheckoutSuccessResponse.d.ts +3 -0
  91. package/dist/esm/src/generated/shopper/models/CheckoutSuccessResponse.js +1 -0
  92. package/dist/esm/src/generated/shopper/models/SaveDetailsBody.d.ts +21 -0
  93. package/dist/esm/src/generated/shopper/models/SaveDetailsBody.js +1 -0
  94. package/dist/esm/src/generated/shopper/models/SaveNonceBody.d.ts +10 -0
  95. package/dist/esm/src/generated/shopper/models/SaveNonceBody.js +1 -0
  96. package/dist/esm/src/generated/shopper/models/StudioSettings.d.ts +7 -0
  97. package/dist/esm/src/generated/shopper/models/StudioSettings.js +1 -0
  98. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +61 -0
  99. package/dist/esm/src/generated/shopper/services/CheckoutService.js +138 -0
  100. package/dist/esm/src/generated/shopper/types.d.ts +13 -0
  101. package/package.json +1 -1
  102. package/src/definitions/shopper.ts +2 -0
  103. package/src/generated/portal/core/OpenAPI.ts +1 -1
  104. package/src/generated/portal/index.ts +3 -0
  105. package/src/generated/portal/models/CheckoutResponseShowResponseDto.ts +10 -0
  106. package/src/generated/portal/models/SearchCodeResponseDto.ts +1 -1
  107. package/src/generated/portal/models/ShowSeatDetailResponseDto.ts +11 -0
  108. package/src/generated/portal/models/UpdateEmailRequestDto.ts +8 -0
  109. package/src/generated/portal/services/OrderLookupService.ts +28 -0
  110. package/src/generated/portal/services/ReportsService.ts +51 -0
  111. package/src/generated/portal/types.ts +3 -0
  112. package/src/generated/scanner/core/OpenAPI.ts +1 -1
  113. package/src/generated/shopper/core/OpenAPI.ts +1 -1
  114. package/src/generated/shopper/index.ts +14 -0
  115. package/src/generated/shopper/models/CartCounts.ts +11 -0
  116. package/src/generated/shopper/models/CheckoutDonation.ts +9 -0
  117. package/src/generated/shopper/models/CheckoutFailResponse.ts +10 -0
  118. package/src/generated/shopper/models/CheckoutGiftCard.ts +9 -0
  119. package/src/generated/shopper/models/CheckoutPageData.ts +23 -0
  120. package/src/generated/shopper/models/CheckoutProduct.ts +14 -0
  121. package/src/generated/shopper/models/CheckoutQuestion.ts +20 -0
  122. package/src/generated/shopper/models/CheckoutSessionData.ts +35 -0
  123. package/src/generated/shopper/models/CheckoutSubmitBody.ts +35 -0
  124. package/src/generated/shopper/models/CheckoutSuccessResponse.ts +8 -0
  125. package/src/generated/shopper/models/SaveDetailsBody.ts +26 -0
  126. package/src/generated/shopper/models/SaveNonceBody.ts +15 -0
  127. package/src/generated/shopper/models/StudioSettings.ts +12 -0
  128. package/src/generated/shopper/services/CheckoutService.ts +171 -0
  129. package/src/generated/shopper/types.ts +13 -0
@@ -0,0 +1,61 @@
1
+ import type { CheckoutPageData } from '../models/CheckoutPageData';
2
+ import type { CheckoutSubmitBody } from '../models/CheckoutSubmitBody';
3
+ import type { CheckoutSuccessResponse } from '../models/CheckoutSuccessResponse';
4
+ import type { SaveDetailsBody } from '../models/SaveDetailsBody';
5
+ import type { SaveNonceBody } from '../models/SaveNonceBody';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ export declare class CheckoutService {
8
+ /**
9
+ * Get checkout page data
10
+ * Returns all data needed to render the checkout page including session, studio settings, questions, products, donations, gift cards, and shipping info.
11
+ * @param shopperguid Unique identifier for the shopper.
12
+ * @param accountid Unique identifier for the account.
13
+ * @param apikey API key for authentication.
14
+ * @returns CheckoutPageData Returns checkout page data.
15
+ * @throws ApiError
16
+ */
17
+ static getCheckout(shopperguid: string, accountid: string, apikey: string): CancelablePromise<CheckoutPageData>;
18
+ /**
19
+ * Submit checkout
20
+ * Validates and saves checkout form data. Supports both token (Authorize.net/Moneris) and Stripe payment flows.
21
+ * @param shopperguid Unique identifier for the shopper.
22
+ * @param accountid Unique identifier for the account.
23
+ * @param apikey API key for authentication.
24
+ * @param requestBody Checkout form data.
25
+ * @returns CheckoutSuccessResponse Returns success response.
26
+ * @throws ApiError
27
+ */
28
+ static submitCheckout(shopperguid: string, accountid: string, apikey: string, requestBody: CheckoutSubmitBody): CancelablePromise<CheckoutSuccessResponse>;
29
+ /**
30
+ * Save payment nonce
31
+ * Saves a payment nonce (token) from Authorize.net or Moneris to the session.
32
+ * @param shopperguid Unique identifier for the shopper.
33
+ * @param accountid Unique identifier for the account.
34
+ * @param apikey API key for authentication.
35
+ * @param requestBody Nonce data to save.
36
+ * @returns CheckoutSuccessResponse Returns success response.
37
+ * @throws ApiError
38
+ */
39
+ static saveNonce(shopperguid: string, accountid: string, apikey: string, requestBody: SaveNonceBody): CancelablePromise<CheckoutSuccessResponse>;
40
+ /**
41
+ * Clear payment nonce
42
+ * Clears the payment nonce and related CC fields from the session.
43
+ * @param shopperguid Unique identifier for the shopper.
44
+ * @param accountid Unique identifier for the account.
45
+ * @param apikey API key for authentication.
46
+ * @returns CheckoutSuccessResponse Returns success response.
47
+ * @throws ApiError
48
+ */
49
+ static clearNonce(shopperguid: string, accountid: string, apikey: string): CancelablePromise<CheckoutSuccessResponse>;
50
+ /**
51
+ * Auto-save checkout details
52
+ * Auto-saves checkout form fields without full validation. Used for partial saves as the user fills out the form.
53
+ * @param shopperguid Unique identifier for the shopper.
54
+ * @param accountid Unique identifier for the account.
55
+ * @param apikey API key for authentication.
56
+ * @param requestBody Partial checkout data to auto-save.
57
+ * @returns CheckoutSuccessResponse Returns success response.
58
+ * @throws ApiError
59
+ */
60
+ static saveDetails(shopperguid: string, accountid: string, apikey: string, requestBody: SaveDetailsBody): CancelablePromise<CheckoutSuccessResponse>;
61
+ }
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckoutService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class CheckoutService {
7
+ /**
8
+ * Get checkout page data
9
+ * Returns all data needed to render the checkout page including session, studio settings, questions, products, donations, gift cards, and shipping info.
10
+ * @param shopperguid Unique identifier for the shopper.
11
+ * @param accountid Unique identifier for the account.
12
+ * @param apikey API key for authentication.
13
+ * @returns CheckoutPageData Returns checkout page data.
14
+ * @throws ApiError
15
+ */
16
+ static getCheckout(shopperguid, accountid, apikey) {
17
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
18
+ method: 'GET',
19
+ url: '/checkout',
20
+ headers: {
21
+ 'shopperguid': shopperguid,
22
+ 'accountid': accountid,
23
+ 'apikey': apikey,
24
+ },
25
+ errors: {
26
+ 400: `Bad Request error with error details.`,
27
+ 404: `Not found error with error details.`,
28
+ 500: `Internal Server Error, please contact developers.`,
29
+ },
30
+ });
31
+ }
32
+ /**
33
+ * Submit checkout
34
+ * Validates and saves checkout form data. Supports both token (Authorize.net/Moneris) and Stripe payment flows.
35
+ * @param shopperguid Unique identifier for the shopper.
36
+ * @param accountid Unique identifier for the account.
37
+ * @param apikey API key for authentication.
38
+ * @param requestBody Checkout form data.
39
+ * @returns CheckoutSuccessResponse Returns success response.
40
+ * @throws ApiError
41
+ */
42
+ static submitCheckout(shopperguid, accountid, apikey, requestBody) {
43
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
44
+ method: 'POST',
45
+ url: '/checkout',
46
+ headers: {
47
+ 'shopperguid': shopperguid,
48
+ 'accountid': accountid,
49
+ 'apikey': apikey,
50
+ },
51
+ body: requestBody,
52
+ mediaType: 'application/json',
53
+ errors: {
54
+ 400: `Returns validation error.`,
55
+ 404: `Not found error with error details.`,
56
+ 500: `Internal Server Error, please contact developers.`,
57
+ },
58
+ });
59
+ }
60
+ /**
61
+ * Save payment nonce
62
+ * Saves a payment nonce (token) from Authorize.net or Moneris to the session.
63
+ * @param shopperguid Unique identifier for the shopper.
64
+ * @param accountid Unique identifier for the account.
65
+ * @param apikey API key for authentication.
66
+ * @param requestBody Nonce data to save.
67
+ * @returns CheckoutSuccessResponse Returns success response.
68
+ * @throws ApiError
69
+ */
70
+ static saveNonce(shopperguid, accountid, apikey, requestBody) {
71
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
72
+ method: 'POST',
73
+ url: '/checkout/nonce',
74
+ headers: {
75
+ 'shopperguid': shopperguid,
76
+ 'accountid': accountid,
77
+ 'apikey': apikey,
78
+ },
79
+ body: requestBody,
80
+ mediaType: 'application/json',
81
+ errors: {
82
+ 400: `Bad Request error with error details.`,
83
+ 404: `Not found error with error details.`,
84
+ 500: `Internal Server Error, please contact developers.`,
85
+ },
86
+ });
87
+ }
88
+ /**
89
+ * Clear payment nonce
90
+ * Clears the payment nonce and related CC fields from the session.
91
+ * @param shopperguid Unique identifier for the shopper.
92
+ * @param accountid Unique identifier for the account.
93
+ * @param apikey API key for authentication.
94
+ * @returns CheckoutSuccessResponse Returns success response.
95
+ * @throws ApiError
96
+ */
97
+ static clearNonce(shopperguid, accountid, apikey) {
98
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
99
+ method: 'DELETE',
100
+ url: '/checkout/nonce',
101
+ headers: {
102
+ 'shopperguid': shopperguid,
103
+ 'accountid': accountid,
104
+ 'apikey': apikey,
105
+ },
106
+ errors: {
107
+ 400: `Bad Request error with error details.`,
108
+ 404: `Not found error with error details.`,
109
+ 500: `Internal Server Error, please contact developers.`,
110
+ },
111
+ });
112
+ }
113
+ /**
114
+ * Auto-save checkout details
115
+ * Auto-saves checkout form fields without full validation. Used for partial saves as the user fills out the form.
116
+ * @param shopperguid Unique identifier for the shopper.
117
+ * @param accountid Unique identifier for the account.
118
+ * @param apikey API key for authentication.
119
+ * @param requestBody Partial checkout data to auto-save.
120
+ * @returns CheckoutSuccessResponse Returns success response.
121
+ * @throws ApiError
122
+ */
123
+ static saveDetails(shopperguid, accountid, apikey, requestBody) {
124
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
125
+ method: 'POST',
126
+ url: '/checkout/details',
127
+ headers: {
128
+ 'shopperguid': shopperguid,
129
+ 'accountid': accountid,
130
+ 'apikey': apikey,
131
+ },
132
+ body: requestBody,
133
+ mediaType: 'application/json',
134
+ errors: {
135
+ 400: `Bad Request error with error details.`,
136
+ 404: `Not found error with error details.`,
137
+ 500: `Internal Server Error, please contact developers.`,
138
+ },
139
+ });
140
+ }
141
+ }
142
+ exports.CheckoutService = CheckoutService;
@@ -6,8 +6,18 @@ export type { AssignNamesReturn } from './models/AssignNamesReturn';
6
6
  export type { BAHold } from './models/BAHold';
7
7
  export type { BlockOfTickets } from './models/BlockOfTickets';
8
8
  export type { Cart } from './models/Cart';
9
+ export type { CartCounts } from './models/CartCounts';
9
10
  export type { CartWithTime } from './models/CartWithTime';
10
11
  export type { Chart } from './models/Chart';
12
+ export type { CheckoutDonation } from './models/CheckoutDonation';
13
+ export type { CheckoutFailResponse } from './models/CheckoutFailResponse';
14
+ export type { CheckoutGiftCard } from './models/CheckoutGiftCard';
15
+ export type { CheckoutPageData } from './models/CheckoutPageData';
16
+ export type { CheckoutProduct } from './models/CheckoutProduct';
17
+ export type { CheckoutQuestion } from './models/CheckoutQuestion';
18
+ export type { CheckoutSessionData } from './models/CheckoutSessionData';
19
+ export type { CheckoutSubmitBody } from './models/CheckoutSubmitBody';
20
+ export type { CheckoutSuccessResponse } from './models/CheckoutSuccessResponse';
11
21
  export type { CodeDto } from './models/CodeDto';
12
22
  export type { CompleteBody } from './models/CompleteBody';
13
23
  export type { CreateCustomerResponse } from './models/CreateCustomerResponse';
@@ -75,6 +85,8 @@ export type { RefundRequestInfo } from './models/RefundRequestInfo';
75
85
  export type { RegisterStreamRequest } from './models/RegisterStreamRequest';
76
86
  export type { RegisterStreamResponse } from './models/RegisterStreamResponse';
77
87
  export type { RootConfigResponse } from './models/RootConfigResponse';
88
+ export type { SaveDetailsBody } from './models/SaveDetailsBody';
89
+ export type { SaveNonceBody } from './models/SaveNonceBody';
78
90
  export type { SeatData } from './models/SeatData';
79
91
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
80
92
  export type { SeatInCart } from './models/SeatInCart';
@@ -86,6 +98,7 @@ export type { SessionInfoDto } from './models/SessionInfoDto';
86
98
  export type { SiteDisposition } from './models/SiteDisposition';
87
99
  export type { SiteTheme } from './models/SiteTheme';
88
100
  export type { StudioOrderSettings } from './models/StudioOrderSettings';
101
+ export type { StudioSettings } from './models/StudioSettings';
89
102
  export type { SuccessResponse } from './models/SuccessResponse';
90
103
  export type { SuccessWithTime } from './models/SuccessWithTime';
91
104
  export type { SummaryBody } from './models/SummaryBody';
@@ -5,6 +5,7 @@ export declare const DRT: {
5
5
  shopper: {
6
6
  account: typeof import("./src/generated/shopper").AccountService;
7
7
  cart: typeof import("./src/generated/shopper").CartService;
8
+ checkout: typeof import("./src/generated/shopper").CheckoutService;
8
9
  code: typeof import("./src/generated/shopper").CodeService;
9
10
  donation: typeof import("./src/generated/shopper").DonationService;
10
11
  event: typeof import("./src/generated/shopper").EventService;
@@ -1,5 +1,6 @@
1
1
  import { AccountService } from "../generated/shopper";
2
2
  import { CartService } from "../generated/shopper";
3
+ import { CheckoutService } from "../generated/shopper";
3
4
  import { CodeService } from "../generated/shopper";
4
5
  import { DonationService } from "../generated/shopper";
5
6
  import { EventService } from "../generated/shopper";
@@ -12,6 +13,7 @@ import { SessionService } from "../generated/shopper";
12
13
  export declare const shopper: {
13
14
  account: typeof AccountService;
14
15
  cart: typeof CartService;
16
+ checkout: typeof CheckoutService;
15
17
  code: typeof CodeService;
16
18
  donation: typeof DonationService;
17
19
  event: typeof EventService;
@@ -1,6 +1,7 @@
1
1
  // AUTO-GENERATED FILE – DO NOT EDIT
2
2
  import { AccountService } from "../generated/shopper";
3
3
  import { CartService } from "../generated/shopper";
4
+ import { CheckoutService } from "../generated/shopper";
4
5
  import { CodeService } from "../generated/shopper";
5
6
  import { DonationService } from "../generated/shopper";
6
7
  import { EventService } from "../generated/shopper";
@@ -13,6 +14,7 @@ import { SessionService } from "../generated/shopper";
13
14
  export const shopper = {
14
15
  account: AccountService,
15
16
  cart: CartService,
17
+ checkout: CheckoutService,
16
18
  code: CodeService,
17
19
  donation: DonationService,
18
20
  event: EventService,
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: '',
3
- VERSION: '20260225.1',
3
+ VERSION: '20260304.1',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -34,6 +34,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
34
34
  export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
35
35
  export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
36
36
  export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
37
+ export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
37
38
  export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
38
39
  export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
39
40
  export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
@@ -227,6 +228,7 @@ export type { ShowPricing } from './models/ShowPricing';
227
228
  export type { ShowPricingDetail } from './models/ShowPricingDetail';
228
229
  export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
229
230
  export type { Shows } from './models/Shows';
231
+ export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
230
232
  export type { ShowSectionDetail } from './models/ShowSectionDetail';
231
233
  export type { ShowsList } from './models/ShowsList';
232
234
  export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
@@ -288,6 +290,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
288
290
  export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
289
291
  export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
290
292
  export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
293
+ export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
291
294
  export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
292
295
  export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
293
296
  export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
@@ -0,0 +1,5 @@
1
+ export type CheckoutResponseShowResponseDto = {
2
+ id: number;
3
+ designation: string;
4
+ title: string;
5
+ };
@@ -1,4 +1,4 @@
1
1
  export type SearchCodeResponseDto = {
2
2
  codeType: string;
3
- count: number;
3
+ num: number;
4
4
  };
@@ -0,0 +1,6 @@
1
+ export type ShowSeatDetailResponseDto = {
2
+ id: number;
3
+ firstName: string;
4
+ lastName: string;
5
+ numSeats: number;
6
+ };
@@ -0,0 +1,3 @@
1
+ export type UpdateEmailRequestDto = {
2
+ email: string;
3
+ };
@@ -15,6 +15,7 @@ import type { SingleOrderDetailResponseDto } from '../models/SingleOrderDetailRe
15
15
  import type { SuccessResponse } from '../models/SuccessResponse';
16
16
  import type { ToggleTierRequestDto } from '../models/ToggleTierRequestDto';
17
17
  import type { ToggleTierResponseDto } from '../models/ToggleTierResponseDto';
18
+ import type { UpdateEmailRequestDto } from '../models/UpdateEmailRequestDto';
18
19
  import type { CancelablePromise } from '../core/CancelablePromise';
19
20
  export declare class OrderLookupService {
20
21
  /**
@@ -140,4 +141,14 @@ export declare class OrderLookupService {
140
141
  * @throws ApiError
141
142
  */
142
143
  static resetPrimaryVideoStream(orderId: string, xStudioId: string): CancelablePromise<SuccessResponse>;
144
+ /**
145
+ * Update email id for the order
146
+ * To update the new email id for the order and scheduled emails
147
+ * @param xStudioId The ID of the studio
148
+ * @param orderId The ID of the order
149
+ * @param requestBody Email details
150
+ * @returns SuccessResponse Email ID updated successfully
151
+ * @throws ApiError
152
+ */
153
+ static updateEmailId(xStudioId: string, orderId: string, requestBody: UpdateEmailRequestDto): CancelablePromise<SuccessResponse>;
143
154
  }
@@ -264,4 +264,27 @@ export class OrderLookupService {
264
264
  },
265
265
  });
266
266
  }
267
+ /**
268
+ * Update email id for the order
269
+ * To update the new email id for the order and scheduled emails
270
+ * @param xStudioId The ID of the studio
271
+ * @param orderId The ID of the order
272
+ * @param requestBody Email details
273
+ * @returns SuccessResponse Email ID updated successfully
274
+ * @throws ApiError
275
+ */
276
+ static updateEmailId(xStudioId, orderId, requestBody) {
277
+ return __request(OpenAPI, {
278
+ method: 'PUT',
279
+ url: '/order-lookup/{orderId}/update-email',
280
+ path: {
281
+ 'orderId': orderId,
282
+ },
283
+ headers: {
284
+ 'x-studio-id': xStudioId,
285
+ },
286
+ body: requestBody,
287
+ mediaType: 'application/json',
288
+ });
289
+ }
267
290
  }
@@ -2,6 +2,7 @@ import type { BuyerResponseDto } from '../models/BuyerResponseDto';
2
2
  import type { CheckoutAnswerOrderRequestDto } from '../models/CheckoutAnswerOrderRequestDto';
3
3
  import type { CheckoutAnswerOrderResponseDto } from '../models/CheckoutAnswerOrderResponseDto';
4
4
  import type { CheckoutAnswerQuestionResponseDto } from '../models/CheckoutAnswerQuestionResponseDto';
5
+ import type { CheckoutResponseShowResponseDto } from '../models/CheckoutResponseShowResponseDto';
5
6
  import type { DonationFundsResponseDto } from '../models/DonationFundsResponseDto';
6
7
  import type { DonationReportResponseDto } from '../models/DonationReportResponseDto';
7
8
  import type { DonationRequestDto } from '../models/DonationRequestDto';
@@ -15,6 +16,7 @@ import type { SalesByTierReponseDto } from '../models/SalesByTierReponseDto';
15
16
  import type { SalesProductResponseDto } from '../models/SalesProductResponseDto';
16
17
  import type { ScannedTicketOrderResponseDto } from '../models/ScannedTicketOrderResponseDto';
17
18
  import type { ShowReportListResponseDto } from '../models/ShowReportListResponseDto';
19
+ import type { ShowSeatDetailResponseDto } from '../models/ShowSeatDetailResponseDto';
18
20
  import type { SoldTicketsResponseDto } from '../models/SoldTicketsResponseDto';
19
21
  import type { StudentCreditOrdersResponseDto } from '../models/StudentCreditOrdersResponseDto';
20
22
  import type { StudentCreditResponseDto } from '../models/StudentCreditResponseDto';
@@ -75,6 +77,17 @@ export declare class ReportsService {
75
77
  * @throws ApiError
76
78
  */
77
79
  static getSalesByTierReport(xStudioId: string): CancelablePromise<Array<SalesByTierReponseDto>>;
80
+ /**
81
+ * Fetch the show seat sales details
82
+ * Fetch the show seat sales details
83
+ * @param xStudioId The ID of the studio
84
+ * @param showId The ID of the show
85
+ * @param price
86
+ * @param name
87
+ * @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
88
+ * @throws ApiError
89
+ */
90
+ static getShowSeatSales(xStudioId: string, showId: string, price: number, name: string): CancelablePromise<Array<ShowSeatDetailResponseDto>>;
78
91
  /**
79
92
  * Fetch the show revenue details
80
93
  * Fetch the Show revenue details
@@ -130,6 +143,14 @@ export declare class ReportsService {
130
143
  * @throws ApiError
131
144
  */
132
145
  static getDonationsReport(xStudioId: string, requestBody: DonationRequestDto): CancelablePromise<Array<DonationReportResponseDto>>;
146
+ /**
147
+ * Fetch the checkout response shows
148
+ * Fetch the checkout response shows
149
+ * @param xStudioId The ID of the studio
150
+ * @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
151
+ * @throws ApiError
152
+ */
153
+ static getCheckoutResponsesShow(xStudioId: string): CancelablePromise<Array<CheckoutResponseShowResponseDto>>;
133
154
  /**
134
155
  * Fetch the checkout response report details
135
156
  * Fetch the checkout response report details
@@ -109,6 +109,32 @@ export class ReportsService {
109
109
  },
110
110
  });
111
111
  }
112
+ /**
113
+ * Fetch the show seat sales details
114
+ * Fetch the show seat sales details
115
+ * @param xStudioId The ID of the studio
116
+ * @param showId The ID of the show
117
+ * @param price
118
+ * @param name
119
+ * @returns ShowSeatDetailResponseDto Show seat sales details fetched successfully
120
+ * @throws ApiError
121
+ */
122
+ static getShowSeatSales(xStudioId, showId, price, name) {
123
+ return __request(OpenAPI, {
124
+ method: 'GET',
125
+ url: '/reports/sales-by-tier/{showId}/seat-sales',
126
+ path: {
127
+ 'showId': showId,
128
+ },
129
+ headers: {
130
+ 'x-studio-id': xStudioId,
131
+ },
132
+ query: {
133
+ 'price': price,
134
+ 'name': name,
135
+ },
136
+ });
137
+ }
112
138
  /**
113
139
  * Fetch the show revenue details
114
140
  * Fetch the Show revenue details
@@ -227,6 +253,22 @@ export class ReportsService {
227
253
  mediaType: 'application/json',
228
254
  });
229
255
  }
256
+ /**
257
+ * Fetch the checkout response shows
258
+ * Fetch the checkout response shows
259
+ * @param xStudioId The ID of the studio
260
+ * @returns CheckoutResponseShowResponseDto Checkout response shows fetched successfully
261
+ * @throws ApiError
262
+ */
263
+ static getCheckoutResponsesShow(xStudioId) {
264
+ return __request(OpenAPI, {
265
+ method: 'GET',
266
+ url: '/reports/checkout-responses-show',
267
+ headers: {
268
+ 'x-studio-id': xStudioId,
269
+ },
270
+ });
271
+ }
230
272
  /**
231
273
  * Fetch the checkout response report details
232
274
  * Fetch the checkout response report details
@@ -30,6 +30,7 @@ export type { CheckoutAnswerOrderRequestDto } from './models/CheckoutAnswerOrder
30
30
  export type { CheckoutAnswerOrderResponseDto } from './models/CheckoutAnswerOrderResponseDto';
31
31
  export type { CheckoutAnswerQuestionResponseDto } from './models/CheckoutAnswerQuestionResponseDto';
32
32
  export type { CheckoutQuestionResponseDto } from './models/CheckoutQuestionResponseDto';
33
+ export type { CheckoutResponseShowResponseDto } from './models/CheckoutResponseShowResponseDto';
33
34
  export type { CheckSelectedSeatResponseDto } from './models/CheckSelectedSeatResponseDto';
34
35
  export type { CodeDetailResponseDto } from './models/CodeDetailResponseDto';
35
36
  export type { CodeDetailsResponseDto } from './models/CodeDetailsResponseDto';
@@ -223,6 +224,7 @@ export type { ShowPricing } from './models/ShowPricing';
223
224
  export type { ShowPricingDetail } from './models/ShowPricingDetail';
224
225
  export type { ShowReportListResponseDto } from './models/ShowReportListResponseDto';
225
226
  export type { Shows } from './models/Shows';
227
+ export type { ShowSeatDetailResponseDto } from './models/ShowSeatDetailResponseDto';
226
228
  export type { ShowSectionDetail } from './models/ShowSectionDetail';
227
229
  export type { ShowsList } from './models/ShowsList';
228
230
  export type { ShowSnapshotResponseDto } from './models/ShowSnapshotResponseDto';
@@ -284,6 +286,7 @@ export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
284
286
  export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
285
287
  export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
286
288
  export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
289
+ export type { UpdateEmailRequestDto } from './models/UpdateEmailRequestDto';
287
290
  export type { UpdateImageUploadRequestDto } from './models/UpdateImageUploadRequestDto';
288
291
  export type { UpdateLandingPageConfigSettingRequestDto } from './models/UpdateLandingPageConfigSettingRequestDto';
289
292
  export type { UpdateLandingPageRequestDto } from './models/UpdateLandingPageRequestDto';
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: 'https://api.drttix.com/scanner-v3',
3
- VERSION: '20251217.3',
3
+ VERSION: '20260303.1',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -1,6 +1,6 @@
1
1
  export const OpenAPI = {
2
2
  BASE: 'https://api.drttix.com/shopper',
3
- VERSION: '20260130.1',
3
+ VERSION: '20260303.1',
4
4
  WITH_CREDENTIALS: false,
5
5
  CREDENTIALS: 'include',
6
6
  TOKEN: undefined,
@@ -10,8 +10,18 @@ export type { AssignNamesReturn } from './models/AssignNamesReturn';
10
10
  export type { BAHold } from './models/BAHold';
11
11
  export type { BlockOfTickets } from './models/BlockOfTickets';
12
12
  export type { Cart } from './models/Cart';
13
+ export type { CartCounts } from './models/CartCounts';
13
14
  export type { CartWithTime } from './models/CartWithTime';
14
15
  export type { Chart } from './models/Chart';
16
+ export type { CheckoutDonation } from './models/CheckoutDonation';
17
+ export type { CheckoutFailResponse } from './models/CheckoutFailResponse';
18
+ export type { CheckoutGiftCard } from './models/CheckoutGiftCard';
19
+ export type { CheckoutPageData } from './models/CheckoutPageData';
20
+ export type { CheckoutProduct } from './models/CheckoutProduct';
21
+ export type { CheckoutQuestion } from './models/CheckoutQuestion';
22
+ export type { CheckoutSessionData } from './models/CheckoutSessionData';
23
+ export type { CheckoutSubmitBody } from './models/CheckoutSubmitBody';
24
+ export type { CheckoutSuccessResponse } from './models/CheckoutSuccessResponse';
15
25
  export type { CodeDto } from './models/CodeDto';
16
26
  export type { CompleteBody } from './models/CompleteBody';
17
27
  export type { CreateCustomerResponse } from './models/CreateCustomerResponse';
@@ -79,6 +89,8 @@ export type { RefundRequestInfo } from './models/RefundRequestInfo';
79
89
  export type { RegisterStreamRequest } from './models/RegisterStreamRequest';
80
90
  export type { RegisterStreamResponse } from './models/RegisterStreamResponse';
81
91
  export type { RootConfigResponse } from './models/RootConfigResponse';
92
+ export type { SaveDetailsBody } from './models/SaveDetailsBody';
93
+ export type { SaveNonceBody } from './models/SaveNonceBody';
82
94
  export type { SeatData } from './models/SeatData';
83
95
  export type { SeatHoldReturn } from './models/SeatHoldReturn';
84
96
  export type { SeatInCart } from './models/SeatInCart';
@@ -90,6 +102,7 @@ export type { SessionInfoDto } from './models/SessionInfoDto';
90
102
  export type { SiteDisposition } from './models/SiteDisposition';
91
103
  export type { SiteTheme } from './models/SiteTheme';
92
104
  export type { StudioOrderSettings } from './models/StudioOrderSettings';
105
+ export type { StudioSettings } from './models/StudioSettings';
93
106
  export type { SuccessResponse } from './models/SuccessResponse';
94
107
  export type { SuccessWithTime } from './models/SuccessWithTime';
95
108
  export type { SummaryBody } from './models/SummaryBody';
@@ -104,6 +117,7 @@ export type { WaitlistResponse } from './models/WaitlistResponse';
104
117
  export type { WaitlistUpdate } from './models/WaitlistUpdate';
105
118
  export { AccountService } from './services/AccountService';
106
119
  export { CartService } from './services/CartService';
120
+ export { CheckoutService } from './services/CheckoutService';
107
121
  export { CodeService } from './services/CodeService';
108
122
  export { DonationService } from './services/DonationService';
109
123
  export { EventService } from './services/EventService';
@@ -7,6 +7,7 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
7
7
  export { OpenAPI } from './core/OpenAPI';
8
8
  export { AccountService } from './services/AccountService';
9
9
  export { CartService } from './services/CartService';
10
+ export { CheckoutService } from './services/CheckoutService';
10
11
  export { CodeService } from './services/CodeService';
11
12
  export { DonationService } from './services/DonationService';
12
13
  export { EventService } from './services/EventService';
@@ -0,0 +1,6 @@
1
+ export type CartCounts = {
2
+ numSeats: number;
3
+ numDonations: number;
4
+ numProducts: number;
5
+ numTotal: number;
6
+ };
@@ -0,0 +1,4 @@
1
+ export type CheckoutDonation = {
2
+ totalAmount: number;
3
+ name: string;
4
+ };
@@ -0,0 +1,5 @@
1
+ export type CheckoutFailResponse = {
2
+ success: boolean;
3
+ message: string;
4
+ field?: string;
5
+ };
@@ -0,0 +1,4 @@
1
+ export type CheckoutGiftCard = {
2
+ code: string;
3
+ amount: number;
4
+ };