@drttix/drt-sdk 0.9.7 → 0.9.9

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 (104) hide show
  1. package/demo/test.html +1554 -674
  2. package/dist/bundle/drt-sdk.js +1 -1
  3. package/dist/cjs/index.d.ts +1 -0
  4. package/dist/cjs/src/definitions/portal.d.ts +2 -0
  5. package/dist/cjs/src/definitions/portal.js +2 -0
  6. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  7. package/dist/cjs/src/generated/portal/index.d.ts +3 -0
  8. package/dist/cjs/src/generated/portal/index.js +3 -1
  9. package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
  10. package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
  12. package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.js +2 -0
  13. package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
  14. package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.js +40 -0
  15. package/dist/cjs/src/generated/portal/types.d.ts +2 -0
  16. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
  17. package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
  18. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
  19. package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
  20. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  21. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
  22. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
  23. package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
  24. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
  25. package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
  26. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
  27. package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
  28. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  29. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
  30. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
  31. package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
  32. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
  33. package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
  34. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
  35. package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
  36. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
  37. package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
  38. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
  39. package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
  40. package/dist/cjs/src/scripts/build-all.js +46 -2
  41. package/dist/cjs/src/staging/wrapService.js +1 -1
  42. package/dist/esm/index.d.ts +1 -0
  43. package/dist/esm/src/definitions/portal.d.ts +2 -0
  44. package/dist/esm/src/definitions/portal.js +2 -0
  45. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  46. package/dist/esm/src/generated/portal/index.d.ts +3 -0
  47. package/dist/esm/src/generated/portal/index.js +1 -0
  48. package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
  49. package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.js +1 -0
  50. package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
  51. package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.js +1 -0
  52. package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
  53. package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.js +36 -0
  54. package/dist/esm/src/generated/portal/types.d.ts +2 -0
  55. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
  56. package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
  57. package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
  58. package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
  59. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  60. package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
  61. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
  62. package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
  63. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
  64. package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
  65. package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
  66. package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
  67. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  68. package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
  69. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
  70. package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
  71. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
  72. package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
  73. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
  74. package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
  75. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
  76. package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
  77. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
  78. package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
  79. package/dist/esm/src/scripts/build-all.js +46 -2
  80. package/dist/esm/src/staging/wrapService.js +1 -1
  81. package/drt-api-specs-staging.json +14 -0
  82. package/package.json +38 -38
  83. package/public/sdk/latest/drt-sdk.js +1 -1
  84. package/src/definitions/portal.ts +2 -0
  85. package/src/generated/portal/core/OpenAPI.ts +1 -1
  86. package/src/generated/portal/index.ts +3 -0
  87. package/src/generated/portal/models/SupportTicketResponseDto.ts +31 -0
  88. package/src/generated/portal/models/SupportTicketStatusResponseDto.ts +9 -0
  89. package/src/generated/portal/services/SuperUserSupportTicketsService.ts +46 -0
  90. package/src/generated/portal/types.ts +2 -0
  91. package/src/generated/shopper/services/AccountService.ts +0 -44
  92. package/src/generated/shopper/services/CartService.ts +0 -22
  93. package/src/generated/shopper/services/CheckoutService.ts +0 -55
  94. package/src/generated/shopper/services/CodeService.ts +0 -55
  95. package/src/generated/shopper/services/DonationService.ts +0 -20
  96. package/src/generated/shopper/services/EventService.ts +0 -44
  97. package/src/generated/shopper/services/GiftCardService.ts +0 -55
  98. package/src/generated/shopper/services/OrderService.ts +0 -154
  99. package/src/generated/shopper/services/PaymentService.ts +0 -33
  100. package/src/generated/shopper/services/ProductService.ts +0 -33
  101. package/src/generated/shopper/services/SeatService.ts +0 -66
  102. package/src/generated/shopper/services/SessionService.ts +0 -22
  103. package/src/scripts/build-all.ts +59 -2
  104. package/src/staging/wrapService.ts +1 -1
@@ -0,0 +1,46 @@
1
+ /* generated using openapi-typescript-codegen -- do not edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { SupportTicketResponseDto } from '../models/SupportTicketResponseDto';
6
+ import type { SupportTicketStatusResponseDto } from '../models/SupportTicketStatusResponseDto';
7
+ import type { CancelablePromise } from '../core/CancelablePromise';
8
+ import { OpenAPI } from '../core/OpenAPI';
9
+ import { request as __request } from '../core/request';
10
+ export class SuperUserSupportTicketsService {
11
+ /**
12
+ * Fetch the list of support tickets for a studio
13
+ * Fetch the list of support tickets for a studio
14
+ * @param xStudioId The ID of the studio
15
+ * @param statusId The ID of the support ticket status
16
+ * @returns SupportTicketResponseDto Support ticket statuses fetched successfully
17
+ * @throws ApiError
18
+ */
19
+ public static getSupportTickets(
20
+ xStudioId: string,
21
+ statusId: string,
22
+ ): CancelablePromise<Array<SupportTicketResponseDto>> {
23
+ return __request(OpenAPI, {
24
+ method: 'GET',
25
+ url: '/superuser/support-tickets',
26
+ headers: {
27
+ 'x-studio-id': xStudioId,
28
+ },
29
+ query: {
30
+ 'statusId': statusId,
31
+ },
32
+ });
33
+ }
34
+ /**
35
+ * Fetch the list of support ticket status for a studio
36
+ * Fetch the list of support ticket status for a studio
37
+ * @returns SupportTicketStatusResponseDto Support ticket status fetched successfully
38
+ * @throws ApiError
39
+ */
40
+ public static getSupportTicketStatus(): CancelablePromise<Array<SupportTicketStatusResponseDto>> {
41
+ return __request(OpenAPI, {
42
+ method: 'GET',
43
+ url: '/superuser/support-tickets/status',
44
+ });
45
+ }
46
+ }
@@ -274,6 +274,8 @@ export type { StudentCreditOrdersResponseDto } from './models/StudentCreditOrder
274
274
  export type { StudentCreditResponseDto } from './models/StudentCreditResponseDto';
275
275
  export type { StudioIntegratorDetailResponseDto } from './models/StudioIntegratorDetailResponseDto';
276
276
  export type { SuccessResponse } from './models/SuccessResponse';
277
+ export type { SupportTicketResponseDto } from './models/SupportTicketResponseDto';
278
+ export type { SupportTicketStatusResponseDto } from './models/SupportTicketStatusResponseDto';
277
279
  export type { TaxAndBankDetailsResponseDto } from './models/TaxAndBankDetailsResponseDto';
278
280
  export type { TaxByMonthRequestDto } from './models/TaxByMonthRequestDto';
279
281
  export type { TaxByMonthResponseDto } from './models/TaxByMonthResponseDto';
@@ -13,25 +13,14 @@ export class AccountService {
13
13
  /**
14
14
  * Get the site theme
15
15
  * Retrieves the current theme for the site.
16
- * @param shopperguid Unique identifier for the shopper.
17
- * @param accountid Unique identifier for the account.
18
- * @param apikey API key for authentication.
19
16
  * @returns SiteTheme Returns the site theme.
20
17
  * @throws ApiError
21
18
  */
22
19
  public static getTheme(
23
- shopperguid: string,
24
- accountid: string,
25
- apikey: string,
26
20
  ): CancelablePromise<SiteTheme> {
27
21
  return __request(OpenAPI, {
28
22
  method: 'GET',
29
23
  url: '/theme',
30
- headers: {
31
- 'shopperguid': shopperguid,
32
- 'accountid': accountid,
33
- 'apikey': apikey,
34
- },
35
24
  errors: {
36
25
  400: `Bad Request error with error details.`,
37
26
  404: `Not found error with error details.`,
@@ -42,25 +31,14 @@ export class AccountService {
42
31
  /**
43
32
  * Get the site disposition
44
33
  * Retrieves the current disposition for the site.
45
- * @param shopperguid Unique identifier for the shopper.
46
- * @param accountid Unique identifier for the account.
47
- * @param apikey API key for authentication.
48
34
  * @returns SiteDisposition Returns the site disposition.
49
35
  * @throws ApiError
50
36
  */
51
37
  public static getDisposition(
52
- shopperguid: string,
53
- accountid: string,
54
- apikey: string,
55
38
  ): CancelablePromise<SiteDisposition> {
56
39
  return __request(OpenAPI, {
57
40
  method: 'GET',
58
41
  url: '/disposition',
59
- headers: {
60
- 'shopperguid': shopperguid,
61
- 'accountid': accountid,
62
- 'apikey': apikey,
63
- },
64
42
  errors: {
65
43
  400: `Bad Request error with error details.`,
66
44
  404: `Not found error with error details.`,
@@ -71,25 +49,14 @@ export class AccountService {
71
49
  /**
72
50
  * Get the root site configuration
73
51
  * Retrieves the root configuration including theme, disposition, and details.
74
- * @param shopperguid Unique identifier for the shopper.
75
- * @param accountid Unique identifier for the account.
76
- * @param apikey API key for authentication.
77
52
  * @returns RootConfigResponse Returns the root site configuration.
78
53
  * @throws ApiError
79
54
  */
80
55
  public static getRoot(
81
- shopperguid: string,
82
- accountid: string,
83
- apikey: string,
84
56
  ): CancelablePromise<RootConfigResponse> {
85
57
  return __request(OpenAPI, {
86
58
  method: 'GET',
87
59
  url: '/root',
88
- headers: {
89
- 'shopperguid': shopperguid,
90
- 'accountid': accountid,
91
- 'apikey': apikey,
92
- },
93
60
  errors: {
94
61
  400: `Bad Request error with error details.`,
95
62
  404: `Not found error with error details.`,
@@ -100,25 +67,14 @@ export class AccountService {
100
67
  /**
101
68
  * Get the landing page configuration
102
69
  * Retrieves the landing page configuration including theme, disposition, and album details.
103
- * @param shopperguid Unique identifier for the shopper.
104
- * @param accountid Unique identifier for the account.
105
- * @param apikey API key for authentication.
106
70
  * @returns LandingPageResponse Returns the landing page configuration.
107
71
  * @throws ApiError
108
72
  */
109
73
  public static getLandingPage(
110
- shopperguid: string,
111
- accountid: string,
112
- apikey: string,
113
74
  ): CancelablePromise<LandingPageResponse> {
114
75
  return __request(OpenAPI, {
115
76
  method: 'GET',
116
77
  url: '/landing',
117
- headers: {
118
- 'shopperguid': shopperguid,
119
- 'accountid': accountid,
120
- 'apikey': apikey,
121
- },
122
78
  errors: {
123
79
  400: `Bad Request error with error details.`,
124
80
  404: `Not found error with error details.`,
@@ -10,25 +10,14 @@ export class CartService {
10
10
  /**
11
11
  * Get Cart
12
12
  * Retrieves the cart along with its associated time.
13
- * @param shopperguid Unique identifier for the shopper.
14
- * @param accountid Unique identifier for the account.
15
- * @param apikey API key for authentication.
16
13
  * @returns CartWithTime Cart retrieved successfully with time.
17
14
  * @throws ApiError
18
15
  */
19
16
  public static getCart(
20
- shopperguid: string,
21
- accountid: string,
22
- apikey: string,
23
17
  ): CancelablePromise<CartWithTime> {
24
18
  return __request(OpenAPI, {
25
19
  method: 'GET',
26
20
  url: '/cart',
27
- headers: {
28
- 'shopperguid': shopperguid,
29
- 'accountid': accountid,
30
- 'apikey': apikey,
31
- },
32
21
  errors: {
33
22
  400: `Bad Request error with error details.`,
34
23
  404: `Not found error with error details.`,
@@ -39,25 +28,14 @@ export class CartService {
39
28
  /**
40
29
  * Delete Cart
41
30
  * Deletes the cart for the specified shopper and account.
42
- * @param shopperguid Unique identifier for the shopper.
43
- * @param accountid Unique identifier for the account.
44
- * @param apikey API key for authentication.
45
31
  * @returns any Cart deleted successfully.
46
32
  * @throws ApiError
47
33
  */
48
34
  public static deleteCart(
49
- shopperguid: string,
50
- accountid: string,
51
- apikey: string,
52
35
  ): CancelablePromise<any> {
53
36
  return __request(OpenAPI, {
54
37
  method: 'DELETE',
55
38
  url: '/cart',
56
- headers: {
57
- 'shopperguid': shopperguid,
58
- 'accountid': accountid,
59
- 'apikey': apikey,
60
- },
61
39
  errors: {
62
40
  400: `Bad Request error with error details.`,
63
41
  404: `Not found error with error details.`,
@@ -14,25 +14,14 @@ export class CheckoutService {
14
14
  /**
15
15
  * Get checkout page data
16
16
  * Returns all data needed to render the checkout page including session, studio settings, questions, products, donations, gift cards, and shipping info.
17
- * @param shopperguid Unique identifier for the shopper.
18
- * @param accountid Unique identifier for the account.
19
- * @param apikey API key for authentication.
20
17
  * @returns CheckoutPageData Returns checkout page data.
21
18
  * @throws ApiError
22
19
  */
23
20
  public static getCheckout(
24
- shopperguid: string,
25
- accountid: string,
26
- apikey: string,
27
21
  ): CancelablePromise<CheckoutPageData> {
28
22
  return __request(OpenAPI, {
29
23
  method: 'GET',
30
24
  url: '/checkout',
31
- headers: {
32
- 'shopperguid': shopperguid,
33
- 'accountid': accountid,
34
- 'apikey': apikey,
35
- },
36
25
  errors: {
37
26
  400: `Bad Request error with error details.`,
38
27
  404: `Not found error with error details.`,
@@ -43,27 +32,16 @@ export class CheckoutService {
43
32
  /**
44
33
  * Submit checkout
45
34
  * Validates and saves checkout form data. Supports both token (Authorize.net/Moneris) and Stripe payment flows.
46
- * @param shopperguid Unique identifier for the shopper.
47
- * @param accountid Unique identifier for the account.
48
- * @param apikey API key for authentication.
49
35
  * @param requestBody Checkout form data.
50
36
  * @returns CheckoutSuccessResponse Returns success response.
51
37
  * @throws ApiError
52
38
  */
53
39
  public static submitCheckout(
54
- shopperguid: string,
55
- accountid: string,
56
- apikey: string,
57
40
  requestBody: CheckoutSubmitBody,
58
41
  ): CancelablePromise<CheckoutSuccessResponse> {
59
42
  return __request(OpenAPI, {
60
43
  method: 'POST',
61
44
  url: '/checkout',
62
- headers: {
63
- 'shopperguid': shopperguid,
64
- 'accountid': accountid,
65
- 'apikey': apikey,
66
- },
67
45
  body: requestBody,
68
46
  mediaType: 'application/json',
69
47
  errors: {
@@ -76,27 +54,16 @@ export class CheckoutService {
76
54
  /**
77
55
  * Save payment nonce
78
56
  * Saves a payment nonce (token) from Authorize.net or Moneris to the session.
79
- * @param shopperguid Unique identifier for the shopper.
80
- * @param accountid Unique identifier for the account.
81
- * @param apikey API key for authentication.
82
57
  * @param requestBody Nonce data to save.
83
58
  * @returns CheckoutSuccessResponse Returns success response.
84
59
  * @throws ApiError
85
60
  */
86
61
  public static saveNonce(
87
- shopperguid: string,
88
- accountid: string,
89
- apikey: string,
90
62
  requestBody: SaveNonceBody,
91
63
  ): CancelablePromise<CheckoutSuccessResponse> {
92
64
  return __request(OpenAPI, {
93
65
  method: 'POST',
94
66
  url: '/checkout/nonce',
95
- headers: {
96
- 'shopperguid': shopperguid,
97
- 'accountid': accountid,
98
- 'apikey': apikey,
99
- },
100
67
  body: requestBody,
101
68
  mediaType: 'application/json',
102
69
  errors: {
@@ -109,25 +76,14 @@ export class CheckoutService {
109
76
  /**
110
77
  * Clear payment nonce
111
78
  * Clears the payment nonce and related CC fields from the session.
112
- * @param shopperguid Unique identifier for the shopper.
113
- * @param accountid Unique identifier for the account.
114
- * @param apikey API key for authentication.
115
79
  * @returns CheckoutSuccessResponse Returns success response.
116
80
  * @throws ApiError
117
81
  */
118
82
  public static clearNonce(
119
- shopperguid: string,
120
- accountid: string,
121
- apikey: string,
122
83
  ): CancelablePromise<CheckoutSuccessResponse> {
123
84
  return __request(OpenAPI, {
124
85
  method: 'DELETE',
125
86
  url: '/checkout/nonce',
126
- headers: {
127
- 'shopperguid': shopperguid,
128
- 'accountid': accountid,
129
- 'apikey': apikey,
130
- },
131
87
  errors: {
132
88
  400: `Bad Request error with error details.`,
133
89
  404: `Not found error with error details.`,
@@ -138,27 +94,16 @@ export class CheckoutService {
138
94
  /**
139
95
  * Auto-save checkout details
140
96
  * Auto-saves checkout form fields without full validation. Used for partial saves as the user fills out the form.
141
- * @param shopperguid Unique identifier for the shopper.
142
- * @param accountid Unique identifier for the account.
143
- * @param apikey API key for authentication.
144
97
  * @param requestBody Partial checkout data to auto-save.
145
98
  * @returns CheckoutSuccessResponse Returns success response.
146
99
  * @throws ApiError
147
100
  */
148
101
  public static saveDetails(
149
- shopperguid: string,
150
- accountid: string,
151
- apikey: string,
152
102
  requestBody: SaveDetailsBody,
153
103
  ): CancelablePromise<CheckoutSuccessResponse> {
154
104
  return __request(OpenAPI, {
155
105
  method: 'POST',
156
106
  url: '/checkout/details',
157
- headers: {
158
- 'shopperguid': shopperguid,
159
- 'accountid': accountid,
160
- 'apikey': apikey,
161
- },
162
107
  body: requestBody,
163
108
  mediaType: 'application/json',
164
109
  errors: {
@@ -15,26 +15,15 @@ export class CodeService {
15
15
  * Request access to an event
16
16
  * Allows a shopper to request access to an event using their shopper GUID and account ID.
17
17
  * @param eventId ID of the event for which access is requested
18
- * @param shopperguid Unique identifier for the shopper.
19
- * @param accountid Unique identifier for the account.
20
- * @param apikey API key for authentication.
21
18
  * @returns HasAccessResponse Access request submitted successfully.
22
19
  * @throws ApiError
23
20
  */
24
21
  public static requestEventAccess(
25
22
  eventId: number,
26
- shopperguid: string,
27
- accountid: string,
28
- apikey: string,
29
23
  ): CancelablePromise<HasAccessResponse> {
30
24
  return __request(OpenAPI, {
31
25
  method: 'GET',
32
26
  url: '/code/access',
33
- headers: {
34
- 'shopperguid': shopperguid,
35
- 'accountid': accountid,
36
- 'apikey': apikey,
37
- },
38
27
  query: {
39
28
  'eventId': eventId,
40
29
  },
@@ -48,27 +37,16 @@ export class CodeService {
48
37
  /**
49
38
  * Apply a code to the current shopper session
50
39
  * Applies a code to the current shopper session.
51
- * @param shopperguid Unique identifier for the shopper.
52
- * @param accountid Unique identifier for the account.
53
- * @param apikey API key for authentication.
54
40
  * @param requestBody Code to be applied
55
41
  * @returns SuccessWithTime Code applied successfully.
56
42
  * @throws ApiError
57
43
  */
58
44
  public static applyCode(
59
- shopperguid: string,
60
- accountid: string,
61
- apikey: string,
62
45
  requestBody: CodeDto,
63
46
  ): CancelablePromise<SuccessWithTime> {
64
47
  return __request(OpenAPI, {
65
48
  method: 'POST',
66
49
  url: '/code',
67
- headers: {
68
- 'shopperguid': shopperguid,
69
- 'accountid': accountid,
70
- 'apikey': apikey,
71
- },
72
50
  body: requestBody,
73
51
  mediaType: 'application/json',
74
52
  errors: {
@@ -81,27 +59,16 @@ export class CodeService {
81
59
  /**
82
60
  * Apply a coupon to the current shopper session
83
61
  * Applies a coupon to the current shopper session.
84
- * @param shopperguid Unique identifier for the shopper.
85
- * @param accountid Unique identifier for the account.
86
- * @param apikey API key for authentication.
87
62
  * @param requestBody Coupon code to be applied
88
63
  * @returns UniversalCodeResponse Coupon applied successfully.
89
64
  * @throws ApiError
90
65
  */
91
66
  public static applyCoupon(
92
- shopperguid: string,
93
- accountid: string,
94
- apikey: string,
95
67
  requestBody: CodeDto,
96
68
  ): CancelablePromise<UniversalCodeResponse> {
97
69
  return __request(OpenAPI, {
98
70
  method: 'POST',
99
71
  url: '/code/discount',
100
- headers: {
101
- 'shopperguid': shopperguid,
102
- 'accountid': accountid,
103
- 'apikey': apikey,
104
- },
105
72
  body: requestBody,
106
73
  mediaType: 'application/json',
107
74
  errors: {
@@ -114,27 +81,16 @@ export class CodeService {
114
81
  /**
115
82
  * Remove a coupon from the current shopper session
116
83
  * Removes a coupon from the current shopper session.
117
- * @param shopperguid Unique identifier for the shopper.
118
- * @param accountid Unique identifier for the account.
119
- * @param apikey API key for authentication.
120
84
  * @param requestBody Coupon code to be removed
121
85
  * @returns UniversalCodeResponse Coupon removed successfully.
122
86
  * @throws ApiError
123
87
  */
124
88
  public static removeCoupon(
125
- shopperguid: string,
126
- accountid: string,
127
- apikey: string,
128
89
  requestBody: CodeDto,
129
90
  ): CancelablePromise<UniversalCodeResponse> {
130
91
  return __request(OpenAPI, {
131
92
  method: 'DELETE',
132
93
  url: '/code/discount',
133
- headers: {
134
- 'shopperguid': shopperguid,
135
- 'accountid': accountid,
136
- 'apikey': apikey,
137
- },
138
94
  body: requestBody,
139
95
  mediaType: 'application/json',
140
96
  errors: {
@@ -147,27 +103,16 @@ export class CodeService {
147
103
  /**
148
104
  * Apply Priority Code
149
105
  * Applies a priority code to the cart.
150
- * @param shopperguid Unique identifier for the shopper.
151
- * @param accountid Unique identifier for the account.
152
- * @param apikey API key for authentication.
153
106
  * @param requestBody Priority code data to be applied
154
107
  * @returns SuccessWithTime Priority code applied successfully.
155
108
  * @throws ApiError
156
109
  */
157
110
  public static applyPriorityCode(
158
- shopperguid: string,
159
- accountid: string,
160
- apikey: string,
161
111
  requestBody: PriorityCode,
162
112
  ): CancelablePromise<SuccessWithTime> {
163
113
  return __request(OpenAPI, {
164
114
  method: 'POST',
165
115
  url: '/code/priority',
166
- headers: {
167
- 'shopperguid': shopperguid,
168
- 'accountid': accountid,
169
- 'apikey': apikey,
170
- },
171
116
  body: requestBody,
172
117
  mediaType: 'application/json',
173
118
  errors: {
@@ -12,25 +12,14 @@ export class DonationService {
12
12
  /**
13
13
  * Get all donations for a shopper
14
14
  * Retrieves all donations and contributions associated with the specified shopper and account.
15
- * @param shopperguid Unique identifier for the shopper.
16
- * @param accountid Unique identifier for the account.
17
- * @param apikey API key for authentication.
18
15
  * @returns DonationsandContributions Returns a list of donations and contributions for the shopper.
19
16
  * @throws ApiError
20
17
  */
21
18
  public static getDonations(
22
- shopperguid: string,
23
- accountid: string,
24
- apikey: string,
25
19
  ): CancelablePromise<DonationsandContributions> {
26
20
  return __request(OpenAPI, {
27
21
  method: 'GET',
28
22
  url: '/donation',
29
- headers: {
30
- 'shopperguid': shopperguid,
31
- 'accountid': accountid,
32
- 'apikey': apikey,
33
- },
34
23
  errors: {
35
24
  400: `Bad Request error with error details.`,
36
25
  404: `Not found error with error details.`,
@@ -42,18 +31,12 @@ export class DonationService {
42
31
  * Add a donation or contribution
43
32
  * Adds a new donation or contribution for the specified shopper and account.
44
33
  * @param ipAddress API key for authentication.
45
- * @param shopperguid Unique identifier for the shopper.
46
- * @param accountid Unique identifier for the account.
47
- * @param apikey API key for authentication.
48
34
  * @param requestBody Donation or contribution details to add.
49
35
  * @returns DonationResult Returns the result of the donation addition.
50
36
  * @throws ApiError
51
37
  */
52
38
  public static postDonation(
53
39
  ipAddress: string,
54
- shopperguid: string,
55
- accountid: string,
56
- apikey: string,
57
40
  requestBody: DonationContribution,
58
41
  ): CancelablePromise<DonationResult> {
59
42
  return __request(OpenAPI, {
@@ -61,9 +44,6 @@ export class DonationService {
61
44
  url: '/donation',
62
45
  headers: {
63
46
  'ipAddress': ipAddress,
64
- 'shopperguid': shopperguid,
65
- 'accountid': accountid,
66
- 'apikey': apikey,
67
47
  },
68
48
  body: requestBody,
69
49
  mediaType: 'application/json',
@@ -14,25 +14,14 @@ export class EventService {
14
14
  /**
15
15
  * Get all events for a shopper
16
16
  * Retrieves all events associated with the shopper.
17
- * @param shopperguid Unique identifier for the shopper.
18
- * @param accountid Unique identifier for the account.
19
- * @param apikey API key for authentication.
20
17
  * @returns GetEventsResponse Returns a list of events and their groups.
21
18
  * @throws ApiError
22
19
  */
23
20
  public static getEvents(
24
- shopperguid: string,
25
- accountid: string,
26
- apikey: string,
27
21
  ): CancelablePromise<GetEventsResponse> {
28
22
  return __request(OpenAPI, {
29
23
  method: 'GET',
30
24
  url: '/event',
31
- headers: {
32
- 'shopperguid': shopperguid,
33
- 'accountid': accountid,
34
- 'apikey': apikey,
35
- },
36
25
  errors: {
37
26
  400: `Bad Request error with error details.`,
38
27
  404: `Not found error with error details.`,
@@ -44,26 +33,15 @@ export class EventService {
44
33
  * Get events for a specific performer
45
34
  * Retrieves events associated with a specific performer.
46
35
  * @param performer The name of the performer to filter events by.
47
- * @param shopperguid Unique identifier for the shopper.
48
- * @param accountid Unique identifier for the account.
49
- * @param apikey API key for authentication.
50
36
  * @returns PerformerEventList Returns a list of event IDs and their primary status.
51
37
  * @throws ApiError
52
38
  */
53
39
  public static getPerformers(
54
40
  performer: string,
55
- shopperguid: string,
56
- accountid: string,
57
- apikey: string,
58
41
  ): CancelablePromise<Array<PerformerEventList>> {
59
42
  return __request(OpenAPI, {
60
43
  method: 'GET',
61
44
  url: '/event/performer',
62
- headers: {
63
- 'shopperguid': shopperguid,
64
- 'accountid': accountid,
65
- 'apikey': apikey,
66
- },
67
45
  query: {
68
46
  'performer': performer,
69
47
  },
@@ -78,17 +56,11 @@ export class EventService {
78
56
  * Get event details by ID
79
57
  * Retrieves detailed information for a specific event.
80
58
  * @param id
81
- * @param shopperguid Unique identifier for the shopper.
82
- * @param accountid Unique identifier for the account.
83
- * @param apikey API key for authentication.
84
59
  * @returns FullEventDetails Returns the event details.
85
60
  * @throws ApiError
86
61
  */
87
62
  public static getEventById(
88
63
  id: number,
89
- shopperguid: string,
90
- accountid: string,
91
- apikey: string,
92
64
  ): CancelablePromise<FullEventDetails> {
93
65
  return __request(OpenAPI, {
94
66
  method: 'GET',
@@ -96,11 +68,6 @@ export class EventService {
96
68
  path: {
97
69
  'id': id,
98
70
  },
99
- headers: {
100
- 'shopperguid': shopperguid,
101
- 'accountid': accountid,
102
- 'apikey': apikey,
103
- },
104
71
  errors: {
105
72
  400: `Bad Request error with error details.`,
106
73
  404: `Not found error with error details.`,
@@ -111,27 +78,16 @@ export class EventService {
111
78
  /**
112
79
  * Assign names to the waitlist
113
80
  * Updates the waitlist with shopper details.
114
- * @param shopperguid Unique identifier for the shopper.
115
- * @param accountid Unique identifier for the account.
116
- * @param apikey API key for authentication.
117
81
  * @param requestBody Details of the waitlist update
118
82
  * @returns WaitlistResponse Returns the result of the waitlist update.
119
83
  * @throws ApiError
120
84
  */
121
85
  public static postWishlist(
122
- shopperguid: string,
123
- accountid: string,
124
- apikey: string,
125
86
  requestBody: WaitlistUpdate,
126
87
  ): CancelablePromise<WaitlistResponse> {
127
88
  return __request(OpenAPI, {
128
89
  method: 'POST',
129
90
  url: '/event/waitlist',
130
- headers: {
131
- 'shopperguid': shopperguid,
132
- 'accountid': accountid,
133
- 'apikey': apikey,
134
- },
135
91
  body: requestBody,
136
92
  mediaType: 'application/json',
137
93
  errors: {