@drttix/drt-sdk 2.0.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +14 -0
- package/dist/cjs/src/generated/portal/index.js +4 -2
- package/dist/cjs/src/generated/portal/models/AppSkinResponseDto.d.ts +32 -0
- package/dist/cjs/src/generated/portal/models/AppSkinResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/AppSkinSiteThemeDto.d.ts +11 -0
- package/dist/cjs/src/generated/portal/models/AppSkinSiteThemeDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/AppSkinValuesDto.d.ts +18 -0
- package/dist/cjs/src/generated/portal/models/AppSkinValuesDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/AssignmentOrderDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/CouponDetailResponseDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/CouponImportCheckResponseDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/CouponImportCheckResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/CouponImportRowDto.d.ts +16 -0
- package/dist/cjs/src/generated/portal/models/CouponImportRowDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/GenerateCodeRequestDto.d.ts +5 -0
- package/dist/cjs/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +2 -0
- package/dist/cjs/src/generated/portal/models/ImportCheckRequestDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/ImportCheckRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ImportColumnDto.d.ts +30 -0
- package/dist/cjs/src/generated/portal/models/ImportColumnDto.js +22 -0
- package/dist/cjs/src/generated/portal/models/ImportFormatResponseDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/models/ImportFormatResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ImportIssueDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/ImportIssueDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/OrderRecalculateRequestDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/OrderSeatTierDto.d.ts +14 -0
- package/dist/cjs/src/generated/portal/models/OrderSeatTierDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PatronSendMailResponseDto.d.ts +6 -0
- package/dist/cjs/src/generated/portal/models/PatronSendMailResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PriorityImportCheckResponseDto.d.ts +13 -0
- package/dist/cjs/src/generated/portal/models/PriorityImportCheckResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/PriorityImportRowDto.d.ts +16 -0
- package/dist/cjs/src/generated/portal/models/PriorityImportRowDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +12 -0
- package/dist/cjs/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/UpdateAppSkinRequestDto.d.ts +18 -0
- package/dist/cjs/src/generated/portal/models/UpdateAppSkinRequestDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/UpdateDiscountCodeRequestDto.d.ts +8 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsPatronDatabaseService.d.ts +3 -2
- package/dist/cjs/src/generated/portal/services/ClientToolsPatronDatabaseService.js +1 -1
- package/dist/cjs/src/generated/portal/services/ClientToolsThemeBuilderService.d.ts +27 -0
- package/dist/cjs/src/generated/portal/services/ClientToolsThemeBuilderService.js +51 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDiscountsService.d.ts +20 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDiscountsService.js +35 -0
- package/dist/cjs/src/generated/portal/services/FeaturesPriorityService.d.ts +20 -0
- package/dist/cjs/src/generated/portal/services/FeaturesPriorityService.js +35 -0
- package/dist/cjs/src/generated/portal/types.d.ts +13 -0
- package/dist/cjs/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/shopper/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +14 -0
- package/dist/esm/src/generated/portal/index.js +1 -0
- package/dist/esm/src/generated/portal/models/AppSkinResponseDto.d.ts +32 -0
- package/dist/esm/src/generated/portal/models/AppSkinResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/AppSkinSiteThemeDto.d.ts +11 -0
- package/dist/esm/src/generated/portal/models/AppSkinSiteThemeDto.js +1 -0
- package/dist/esm/src/generated/portal/models/AppSkinValuesDto.d.ts +18 -0
- package/dist/esm/src/generated/portal/models/AppSkinValuesDto.js +1 -0
- package/dist/esm/src/generated/portal/models/AssignmentOrderDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/CouponDetailResponseDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/CouponImportCheckResponseDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/CouponImportCheckResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/CouponImportRowDto.d.ts +16 -0
- package/dist/esm/src/generated/portal/models/CouponImportRowDto.js +1 -0
- package/dist/esm/src/generated/portal/models/CreatePriorityCodeRequestDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/ExecuteSeatExchangeRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/GenerateCodeRequestDto.d.ts +5 -0
- package/dist/esm/src/generated/portal/models/ImportBlockedSeatRequestDto.d.ts +2 -0
- package/dist/esm/src/generated/portal/models/ImportCheckRequestDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/ImportCheckRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ImportColumnDto.d.ts +30 -0
- package/dist/esm/src/generated/portal/models/ImportColumnDto.js +19 -0
- package/dist/esm/src/generated/portal/models/ImportFormatResponseDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/models/ImportFormatResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ImportIssueDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/ImportIssueDto.js +1 -0
- package/dist/esm/src/generated/portal/models/OrderRecalculateRequestDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/OrderSeatTierDto.d.ts +14 -0
- package/dist/esm/src/generated/portal/models/OrderSeatTierDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PatronSendMailResponseDto.d.ts +6 -0
- package/dist/esm/src/generated/portal/models/PatronSendMailResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PriorityImportCheckResponseDto.d.ts +13 -0
- package/dist/esm/src/generated/portal/models/PriorityImportCheckResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/PriorityImportRowDto.d.ts +16 -0
- package/dist/esm/src/generated/portal/models/PriorityImportRowDto.js +1 -0
- package/dist/esm/src/generated/portal/models/RecalculateOrderResponseDto.d.ts +12 -0
- package/dist/esm/src/generated/portal/models/SelectedSeatExchangeResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/UpdateAppSkinRequestDto.d.ts +18 -0
- package/dist/esm/src/generated/portal/models/UpdateAppSkinRequestDto.js +1 -0
- package/dist/esm/src/generated/portal/models/UpdateDiscountCodeRequestDto.d.ts +8 -0
- package/dist/esm/src/generated/portal/services/ClientToolsPatronDatabaseService.d.ts +3 -2
- package/dist/esm/src/generated/portal/services/ClientToolsPatronDatabaseService.js +1 -1
- package/dist/esm/src/generated/portal/services/ClientToolsThemeBuilderService.d.ts +27 -0
- package/dist/esm/src/generated/portal/services/ClientToolsThemeBuilderService.js +51 -0
- package/dist/esm/src/generated/portal/services/FeaturesDiscountsService.d.ts +20 -0
- package/dist/esm/src/generated/portal/services/FeaturesDiscountsService.js +35 -0
- package/dist/esm/src/generated/portal/services/FeaturesPriorityService.d.ts +20 -0
- package/dist/esm/src/generated/portal/services/FeaturesPriorityService.js +35 -0
- package/dist/esm/src/generated/portal/types.d.ts +13 -0
- package/dist/esm/src/generated/scanner/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/shopper/core/OpenAPI.js +1 -1
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +14 -0
- package/src/generated/portal/models/AppSkinResponseDto.ts +37 -0
- package/src/generated/portal/models/AppSkinSiteThemeDto.ts +16 -0
- package/src/generated/portal/models/AppSkinValuesDto.ts +23 -0
- package/src/generated/portal/models/AssignmentOrderDto.ts +5 -0
- package/src/generated/portal/models/CouponDetailResponseDto.ts +8 -0
- package/src/generated/portal/models/CouponImportCheckResponseDto.ts +18 -0
- package/src/generated/portal/models/CouponImportRowDto.ts +21 -0
- package/src/generated/portal/models/CreatePriorityCodeRequestDto.ts +5 -0
- package/src/generated/portal/models/ExecuteSeatExchangeRequestDto.ts +4 -0
- package/src/generated/portal/models/GenerateCodeRequestDto.ts +5 -0
- package/src/generated/portal/models/ImportBlockedSeatRequestDto.ts +2 -0
- package/src/generated/portal/models/ImportCheckRequestDto.ts +11 -0
- package/src/generated/portal/models/ImportColumnDto.ts +35 -0
- package/src/generated/portal/models/ImportFormatResponseDto.ts +13 -0
- package/src/generated/portal/models/ImportIssueDto.ts +18 -0
- package/src/generated/portal/models/OrderRecalculateRequestDto.ts +4 -0
- package/src/generated/portal/models/OrderSeatTierDto.ts +19 -0
- package/src/generated/portal/models/PatronSendMailResponseDto.ts +11 -0
- package/src/generated/portal/models/PriorityImportCheckResponseDto.ts +18 -0
- package/src/generated/portal/models/PriorityImportRowDto.ts +21 -0
- package/src/generated/portal/models/RecalculateOrderResponseDto.ts +12 -0
- package/src/generated/portal/models/SelectedSeatExchangeResponseDto.ts +4 -0
- package/src/generated/portal/models/UpdateAppSkinRequestDto.ts +23 -0
- package/src/generated/portal/models/UpdateDiscountCodeRequestDto.ts +8 -0
- package/src/generated/portal/services/ClientToolsPatronDatabaseService.ts +3 -2
- package/src/generated/portal/services/ClientToolsThemeBuilderService.ts +60 -0
- package/src/generated/portal/services/FeaturesDiscountsService.ts +43 -0
- package/src/generated/portal/services/FeaturesPriorityService.ts +43 -0
- package/src/generated/portal/types.ts +13 -0
- package/src/generated/scanner/core/OpenAPI.ts +1 -1
- package/src/generated/shopper/core/OpenAPI.ts +1 -1
|
@@ -115,5 +115,56 @@ class ClientToolsThemeBuilderService {
|
|
|
115
115
|
mediaType: 'application/json',
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Fetch the scanner app skin
|
|
120
|
+
* The colours, background and logo the studio's scanner apps use, with the site defaults they fall back to and the ticketing theme mapped onto the same fields.
|
|
121
|
+
* @param xStudioId The ID of the studio
|
|
122
|
+
* @returns AppSkinResponseDto App skin fetched successfully
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
static getAppSkin(xStudioId) {
|
|
126
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
129
|
+
headers: {
|
|
130
|
+
'x-studio-id': xStudioId,
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Update the scanner app skin
|
|
136
|
+
* Stores the whole skin for the studio. A field left out or blank falls back to the site default in the apps.
|
|
137
|
+
* @param xStudioId The ID of the studio
|
|
138
|
+
* @param requestBody Payload to update the app skin
|
|
139
|
+
* @returns SuccessResponse App skin updated successfully
|
|
140
|
+
* @throws ApiError
|
|
141
|
+
*/
|
|
142
|
+
static updateAppSkin(xStudioId, requestBody) {
|
|
143
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
144
|
+
method: 'PUT',
|
|
145
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
146
|
+
headers: {
|
|
147
|
+
'x-studio-id': xStudioId,
|
|
148
|
+
},
|
|
149
|
+
body: requestBody,
|
|
150
|
+
mediaType: 'application/json',
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Remove the scanner app skin
|
|
155
|
+
* Drops the studio's skin so the apps go back to the site defaults.
|
|
156
|
+
* @param xStudioId The ID of the studio
|
|
157
|
+
* @returns SuccessResponse App skin removed successfully
|
|
158
|
+
* @throws ApiError
|
|
159
|
+
*/
|
|
160
|
+
static deleteAppSkin(xStudioId) {
|
|
161
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
162
|
+
method: 'DELETE',
|
|
163
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
164
|
+
headers: {
|
|
165
|
+
'x-studio-id': xStudioId,
|
|
166
|
+
},
|
|
167
|
+
});
|
|
168
|
+
}
|
|
118
169
|
}
|
|
119
170
|
exports.ClientToolsThemeBuilderService = ClientToolsThemeBuilderService;
|
|
@@ -2,11 +2,14 @@ import type { BulkEditCouponRequestDto } from '../models/BulkEditCouponRequestDt
|
|
|
2
2
|
import type { CouponDataResponseDto } from '../models/CouponDataResponseDto';
|
|
3
3
|
import type { CouponDetailResponseDto } from '../models/CouponDetailResponseDto';
|
|
4
4
|
import type { CouponFilterResponseDto } from '../models/CouponFilterResponseDto';
|
|
5
|
+
import type { CouponImportCheckResponseDto } from '../models/CouponImportCheckResponseDto';
|
|
5
6
|
import type { CreateCodesResponseDto } from '../models/CreateCodesResponseDto';
|
|
6
7
|
import type { CustomLogicResponseDto } from '../models/CustomLogicResponseDto';
|
|
7
8
|
import type { GenerateCodeRequestDto } from '../models/GenerateCodeRequestDto';
|
|
8
9
|
import type { GenerateGroupCodeRequestDto } from '../models/GenerateGroupCodeRequestDto';
|
|
9
10
|
import type { GroupCodeResponseDto } from '../models/GroupCodeResponseDto';
|
|
11
|
+
import type { ImportCheckRequestDto } from '../models/ImportCheckRequestDto';
|
|
12
|
+
import type { ImportFormatResponseDto } from '../models/ImportFormatResponseDto';
|
|
10
13
|
import type { ResendMailRequestDto } from '../models/ResendMailRequestDto';
|
|
11
14
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
12
15
|
import type { UpdateDiscountCodeRequestDto } from '../models/UpdateDiscountCodeRequestDto';
|
|
@@ -49,6 +52,23 @@ export declare class FeaturesDiscountsService {
|
|
|
49
52
|
* @throws ApiError
|
|
50
53
|
*/
|
|
51
54
|
static getCouponData(xStudioId: string): CancelablePromise<CouponDataResponseDto>;
|
|
55
|
+
/**
|
|
56
|
+
* Coupon spreadsheet format
|
|
57
|
+
* Every column the coupon import reads, with the exact text each choice cell may hold for this studio (its shows, groups, types and custom discounts).
|
|
58
|
+
* @param xStudioId The ID of the studio
|
|
59
|
+
* @returns ImportFormatResponseDto The coupon spreadsheet columns and the exact options each accepts
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static getCouponImportFormat(xStudioId: string): CancelablePromise<ImportFormatResponseDto>;
|
|
63
|
+
/**
|
|
64
|
+
* Check a coupon spreadsheet
|
|
65
|
+
* Checks every cell of every row against the import format and the create-code rules, and the batch for code issues. Writes nothing; returns the create-code request for each row.
|
|
66
|
+
* @param xStudioId The ID of the studio
|
|
67
|
+
* @param requestBody The coupon spreadsheet, every row as text
|
|
68
|
+
* @returns CouponImportCheckResponseDto Every row of the file checked; nothing is written
|
|
69
|
+
* @throws ApiError
|
|
70
|
+
*/
|
|
71
|
+
static checkCouponImport(xStudioId: string, requestBody: ImportCheckRequestDto): CancelablePromise<CouponImportCheckResponseDto>;
|
|
52
72
|
/**
|
|
53
73
|
* Fetch the available coupon data
|
|
54
74
|
* Fetch the available coupon data details
|
|
@@ -76,6 +76,41 @@ class FeaturesDiscountsService {
|
|
|
76
76
|
},
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Coupon spreadsheet format
|
|
81
|
+
* Every column the coupon import reads, with the exact text each choice cell may hold for this studio (its shows, groups, types and custom discounts).
|
|
82
|
+
* @param xStudioId The ID of the studio
|
|
83
|
+
* @returns ImportFormatResponseDto The coupon spreadsheet columns and the exact options each accepts
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static getCouponImportFormat(xStudioId) {
|
|
87
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
88
|
+
method: 'GET',
|
|
89
|
+
url: '/features/discounts/import-format',
|
|
90
|
+
headers: {
|
|
91
|
+
'x-studio-id': xStudioId,
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Check a coupon spreadsheet
|
|
97
|
+
* Checks every cell of every row against the import format and the create-code rules, and the batch for code issues. Writes nothing; returns the create-code request for each row.
|
|
98
|
+
* @param xStudioId The ID of the studio
|
|
99
|
+
* @param requestBody The coupon spreadsheet, every row as text
|
|
100
|
+
* @returns CouponImportCheckResponseDto Every row of the file checked; nothing is written
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
static checkCouponImport(xStudioId, requestBody) {
|
|
104
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
105
|
+
method: 'POST',
|
|
106
|
+
url: '/features/discounts/import-check',
|
|
107
|
+
headers: {
|
|
108
|
+
'x-studio-id': xStudioId,
|
|
109
|
+
},
|
|
110
|
+
body: requestBody,
|
|
111
|
+
mediaType: 'application/json',
|
|
112
|
+
});
|
|
113
|
+
}
|
|
79
114
|
/**
|
|
80
115
|
* Fetch the available coupon data
|
|
81
116
|
* Fetch the available coupon data details
|
|
@@ -6,6 +6,9 @@ import type { CreatePriorityCodeRequestDto } from '../models/CreatePriorityCodeR
|
|
|
6
6
|
import type { DeleteCodesRequestDto } from '../models/DeleteCodesRequestDto';
|
|
7
7
|
import type { ExpireHiddenCodesRequestDto } from '../models/ExpireHiddenCodesRequestDto';
|
|
8
8
|
import type { HiddenCodeResponseDto } from '../models/HiddenCodeResponseDto';
|
|
9
|
+
import type { ImportCheckRequestDto } from '../models/ImportCheckRequestDto';
|
|
10
|
+
import type { ImportFormatResponseDto } from '../models/ImportFormatResponseDto';
|
|
11
|
+
import type { PriorityImportCheckResponseDto } from '../models/PriorityImportCheckResponseDto';
|
|
9
12
|
import type { SettingsAndWavesResponseDto } from '../models/SettingsAndWavesResponseDto';
|
|
10
13
|
import type { ShowAndGroupResponseDto } from '../models/ShowAndGroupResponseDto';
|
|
11
14
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
@@ -55,6 +58,23 @@ export declare class FeaturesPriorityService {
|
|
|
55
58
|
* @throws ApiError
|
|
56
59
|
*/
|
|
57
60
|
static getCodeUsageDetails(xStudioId: string, codeId: string): CancelablePromise<CodeUsageResponseDto>;
|
|
61
|
+
/**
|
|
62
|
+
* Priority code spreadsheet format
|
|
63
|
+
* Every column the priority code import reads, with the exact text each choice cell may hold for this studio (its shows, groups and waves).
|
|
64
|
+
* @param xStudioId The ID of the studio
|
|
65
|
+
* @returns ImportFormatResponseDto The priority code spreadsheet columns and the exact options each accepts
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
static getPriorityImportFormat(xStudioId: string): CancelablePromise<ImportFormatResponseDto>;
|
|
69
|
+
/**
|
|
70
|
+
* Check a priority code spreadsheet
|
|
71
|
+
* Checks every cell of every row against the import format and the create-code rules, and the batch for code issues. Writes nothing; returns the create-code request for each row.
|
|
72
|
+
* @param xStudioId The ID of the studio
|
|
73
|
+
* @param requestBody The priority code spreadsheet, every row as text
|
|
74
|
+
* @returns PriorityImportCheckResponseDto Every row of the file checked; nothing is written
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static checkPriorityImport(xStudioId: string, requestBody: ImportCheckRequestDto): CancelablePromise<PriorityImportCheckResponseDto>;
|
|
58
78
|
/**
|
|
59
79
|
* Create new code
|
|
60
80
|
* Create new priority code
|
|
@@ -94,6 +94,41 @@ class FeaturesPriorityService {
|
|
|
94
94
|
},
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Priority code spreadsheet format
|
|
99
|
+
* Every column the priority code import reads, with the exact text each choice cell may hold for this studio (its shows, groups and waves).
|
|
100
|
+
* @param xStudioId The ID of the studio
|
|
101
|
+
* @returns ImportFormatResponseDto The priority code spreadsheet columns and the exact options each accepts
|
|
102
|
+
* @throws ApiError
|
|
103
|
+
*/
|
|
104
|
+
static getPriorityImportFormat(xStudioId) {
|
|
105
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
106
|
+
method: 'GET',
|
|
107
|
+
url: '/features/priority/import-format',
|
|
108
|
+
headers: {
|
|
109
|
+
'x-studio-id': xStudioId,
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Check a priority code spreadsheet
|
|
115
|
+
* Checks every cell of every row against the import format and the create-code rules, and the batch for code issues. Writes nothing; returns the create-code request for each row.
|
|
116
|
+
* @param xStudioId The ID of the studio
|
|
117
|
+
* @param requestBody The priority code spreadsheet, every row as text
|
|
118
|
+
* @returns PriorityImportCheckResponseDto Every row of the file checked; nothing is written
|
|
119
|
+
* @throws ApiError
|
|
120
|
+
*/
|
|
121
|
+
static checkPriorityImport(xStudioId, requestBody) {
|
|
122
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
123
|
+
method: 'POST',
|
|
124
|
+
url: '/features/priority/import-check',
|
|
125
|
+
headers: {
|
|
126
|
+
'x-studio-id': xStudioId,
|
|
127
|
+
},
|
|
128
|
+
body: requestBody,
|
|
129
|
+
mediaType: 'application/json',
|
|
130
|
+
});
|
|
131
|
+
}
|
|
97
132
|
/**
|
|
98
133
|
* Create new code
|
|
99
134
|
* Create new priority code
|
|
@@ -23,6 +23,9 @@ export type { AnswerOrder } from './models/AnswerOrder';
|
|
|
23
23
|
export type { ApproveOrderRequestDto } from './models/ApproveOrderRequestDto';
|
|
24
24
|
export type { ApproveRefundRequestDto } from './models/ApproveRefundRequestDto';
|
|
25
25
|
export type { ApproveShowRequestDto } from './models/ApproveShowRequestDto';
|
|
26
|
+
export type { AppSkinResponseDto } from './models/AppSkinResponseDto';
|
|
27
|
+
export type { AppSkinSiteThemeDto } from './models/AppSkinSiteThemeDto';
|
|
28
|
+
export type { AppSkinValuesDto } from './models/AppSkinValuesDto';
|
|
26
29
|
export type { AssignmentOrderDto } from './models/AssignmentOrderDto';
|
|
27
30
|
export type { AssignSeatsRequestDto } from './models/AssignSeatsRequestDto';
|
|
28
31
|
export type { AssignWaitlistRequestDto } from './models/AssignWaitlistRequestDto';
|
|
@@ -70,6 +73,8 @@ export type { CouponCodeResponseDto } from './models/CouponCodeResponseDto';
|
|
|
70
73
|
export type { CouponDataResponseDto } from './models/CouponDataResponseDto';
|
|
71
74
|
export type { CouponDetailResponseDto } from './models/CouponDetailResponseDto';
|
|
72
75
|
export type { CouponFilterResponseDto } from './models/CouponFilterResponseDto';
|
|
76
|
+
export type { CouponImportCheckResponseDto } from './models/CouponImportCheckResponseDto';
|
|
77
|
+
export type { CouponImportRowDto } from './models/CouponImportRowDto';
|
|
73
78
|
export type { CouponType } from './models/CouponType';
|
|
74
79
|
export type { CreateAccountRequestDto } from './models/CreateAccountRequestDto';
|
|
75
80
|
export type { CreateAccountResponseDto } from './models/CreateAccountResponseDto';
|
|
@@ -180,8 +185,11 @@ export type { IconShowGroupResponseDto } from './models/IconShowGroupResponseDto
|
|
|
180
185
|
export type { ImageCategoryResponseDto } from './models/ImageCategoryResponseDto';
|
|
181
186
|
export type { ImportBlockedSeatRequestDto } from './models/ImportBlockedSeatRequestDto';
|
|
182
187
|
export type { ImportBlockedSeatResponse } from './models/ImportBlockedSeatResponse';
|
|
188
|
+
export type { ImportCheckRequestDto } from './models/ImportCheckRequestDto';
|
|
189
|
+
export type { ImportFormatResponseDto } from './models/ImportFormatResponseDto';
|
|
183
190
|
export type { ImportFromEventRequestDto } from './models/ImportFromEventRequestDto';
|
|
184
191
|
export type { ImportFromEventResponseDto } from './models/ImportFromEventResponseDto';
|
|
192
|
+
export type { ImportIssueDto } from './models/ImportIssueDto';
|
|
185
193
|
export type { InsertUpdateBlacklistBuyerRequestDto } from './models/InsertUpdateBlacklistBuyerRequestDto';
|
|
186
194
|
export type { InsertUpdateTimedTriggerRequestDto } from './models/InsertUpdateTimedTriggerRequestDto';
|
|
187
195
|
export type { IntegratorDetailResponseDto } from './models/IntegratorDetailResponseDto';
|
|
@@ -233,6 +241,7 @@ export type { OrderListResponseDto } from './models/OrderListResponseDto';
|
|
|
233
241
|
export type { OrderRecalculateRequestDto } from './models/OrderRecalculateRequestDto';
|
|
234
242
|
export type { OrderSeatDetailsResponseDto } from './models/OrderSeatDetailsResponseDto';
|
|
235
243
|
export type { OrderSeatDto } from './models/OrderSeatDto';
|
|
244
|
+
export type { OrderSeatTierDto } from './models/OrderSeatTierDto';
|
|
236
245
|
export type { OrderTicketDetailResponseDto } from './models/OrderTicketDetailResponseDto';
|
|
237
246
|
export type { OtherResponseDto } from './models/OtherResponseDto';
|
|
238
247
|
export type { OTPResponseDto } from './models/OTPResponseDto';
|
|
@@ -242,6 +251,7 @@ export type { PatronAccessRequestDto } from './models/PatronAccessRequestDto';
|
|
|
242
251
|
export type { PatronCodeSendMailRequestDto } from './models/PatronCodeSendMailRequestDto';
|
|
243
252
|
export type { PatronCodesResponseDto } from './models/PatronCodesResponseDto';
|
|
244
253
|
export type { PatronManifestDetailResponseDto } from './models/PatronManifestDetailResponseDto';
|
|
254
|
+
export type { PatronSendMailResponseDto } from './models/PatronSendMailResponseDto';
|
|
245
255
|
export type { PatronShowGroupResponseDto } from './models/PatronShowGroupResponseDto';
|
|
246
256
|
export type { PatronStatsResponseDto } from './models/PatronStatsResponseDto';
|
|
247
257
|
export type { PaymentGatewayResponseDto } from './models/PaymentGatewayResponseDto';
|
|
@@ -263,6 +273,8 @@ export type { PricingSetBodyDto } from './models/PricingSetBodyDto';
|
|
|
263
273
|
export type { PricingSetRuleDto } from './models/PricingSetRuleDto';
|
|
264
274
|
export type { PriorityCode } from './models/PriorityCode';
|
|
265
275
|
export type { PriorityCodeResponseDto } from './models/PriorityCodeResponseDto';
|
|
276
|
+
export type { PriorityImportCheckResponseDto } from './models/PriorityImportCheckResponseDto';
|
|
277
|
+
export type { PriorityImportRowDto } from './models/PriorityImportRowDto';
|
|
266
278
|
export type { PriorityWaveDetail } from './models/PriorityWaveDetail';
|
|
267
279
|
export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto';
|
|
268
280
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
@@ -472,6 +484,7 @@ export type { UnavailableSeating } from './models/UnavailableSeating';
|
|
|
472
484
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
473
485
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
474
486
|
export type { UpdateAdvancedStudioSettingsRequestDto } from './models/UpdateAdvancedStudioSettingsRequestDto';
|
|
487
|
+
export type { UpdateAppSkinRequestDto } from './models/UpdateAppSkinRequestDto';
|
|
475
488
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
476
489
|
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
477
490
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://api.drttix.com/scanner-v3',
|
|
6
|
-
VERSION: '
|
|
6
|
+
VERSION: '20261104.2',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OpenAPI = void 0;
|
|
4
4
|
exports.OpenAPI = {
|
|
5
5
|
BASE: 'https://api.drttix.com/shopper',
|
|
6
|
-
VERSION: '
|
|
6
|
+
VERSION: '20261103.2',
|
|
7
7
|
WITH_CREDENTIALS: false,
|
|
8
8
|
CREDENTIALS: 'include',
|
|
9
9
|
TOKEN: undefined,
|
|
@@ -29,6 +29,9 @@ export type { AnswerOrder } from './models/AnswerOrder';
|
|
|
29
29
|
export type { ApproveOrderRequestDto } from './models/ApproveOrderRequestDto';
|
|
30
30
|
export type { ApproveRefundRequestDto } from './models/ApproveRefundRequestDto';
|
|
31
31
|
export type { ApproveShowRequestDto } from './models/ApproveShowRequestDto';
|
|
32
|
+
export type { AppSkinResponseDto } from './models/AppSkinResponseDto';
|
|
33
|
+
export type { AppSkinSiteThemeDto } from './models/AppSkinSiteThemeDto';
|
|
34
|
+
export type { AppSkinValuesDto } from './models/AppSkinValuesDto';
|
|
32
35
|
export type { AssignmentOrderDto } from './models/AssignmentOrderDto';
|
|
33
36
|
export type { AssignSeatsRequestDto } from './models/AssignSeatsRequestDto';
|
|
34
37
|
export type { AssignWaitlistRequestDto } from './models/AssignWaitlistRequestDto';
|
|
@@ -77,6 +80,8 @@ export type { CouponCodeResponseDto } from './models/CouponCodeResponseDto';
|
|
|
77
80
|
export type { CouponDataResponseDto } from './models/CouponDataResponseDto';
|
|
78
81
|
export type { CouponDetailResponseDto } from './models/CouponDetailResponseDto';
|
|
79
82
|
export type { CouponFilterResponseDto } from './models/CouponFilterResponseDto';
|
|
83
|
+
export type { CouponImportCheckResponseDto } from './models/CouponImportCheckResponseDto';
|
|
84
|
+
export type { CouponImportRowDto } from './models/CouponImportRowDto';
|
|
80
85
|
export type { CouponType } from './models/CouponType';
|
|
81
86
|
export type { CreateAccountRequestDto } from './models/CreateAccountRequestDto';
|
|
82
87
|
export type { CreateAccountResponseDto } from './models/CreateAccountResponseDto';
|
|
@@ -191,8 +196,12 @@ export type { IconShowGroupResponseDto } from './models/IconShowGroupResponseDto
|
|
|
191
196
|
export type { ImageCategoryResponseDto } from './models/ImageCategoryResponseDto';
|
|
192
197
|
export type { ImportBlockedSeatRequestDto } from './models/ImportBlockedSeatRequestDto';
|
|
193
198
|
export type { ImportBlockedSeatResponse } from './models/ImportBlockedSeatResponse';
|
|
199
|
+
export type { ImportCheckRequestDto } from './models/ImportCheckRequestDto';
|
|
200
|
+
export { ImportColumnDto } from './models/ImportColumnDto';
|
|
201
|
+
export type { ImportFormatResponseDto } from './models/ImportFormatResponseDto';
|
|
194
202
|
export type { ImportFromEventRequestDto } from './models/ImportFromEventRequestDto';
|
|
195
203
|
export type { ImportFromEventResponseDto } from './models/ImportFromEventResponseDto';
|
|
204
|
+
export type { ImportIssueDto } from './models/ImportIssueDto';
|
|
196
205
|
export type { InsertUpdateBlacklistBuyerRequestDto } from './models/InsertUpdateBlacklistBuyerRequestDto';
|
|
197
206
|
export type { InsertUpdateTimedTriggerRequestDto } from './models/InsertUpdateTimedTriggerRequestDto';
|
|
198
207
|
export type { IntegratorDetailResponseDto } from './models/IntegratorDetailResponseDto';
|
|
@@ -244,6 +253,7 @@ export type { OrderListResponseDto } from './models/OrderListResponseDto';
|
|
|
244
253
|
export type { OrderRecalculateRequestDto } from './models/OrderRecalculateRequestDto';
|
|
245
254
|
export type { OrderSeatDetailsResponseDto } from './models/OrderSeatDetailsResponseDto';
|
|
246
255
|
export type { OrderSeatDto } from './models/OrderSeatDto';
|
|
256
|
+
export type { OrderSeatTierDto } from './models/OrderSeatTierDto';
|
|
247
257
|
export type { OrderTicketDetailResponseDto } from './models/OrderTicketDetailResponseDto';
|
|
248
258
|
export type { OtherResponseDto } from './models/OtherResponseDto';
|
|
249
259
|
export type { OTPResponseDto } from './models/OTPResponseDto';
|
|
@@ -253,6 +263,7 @@ export type { PatronAccessRequestDto } from './models/PatronAccessRequestDto';
|
|
|
253
263
|
export type { PatronCodeSendMailRequestDto } from './models/PatronCodeSendMailRequestDto';
|
|
254
264
|
export type { PatronCodesResponseDto } from './models/PatronCodesResponseDto';
|
|
255
265
|
export type { PatronManifestDetailResponseDto } from './models/PatronManifestDetailResponseDto';
|
|
266
|
+
export type { PatronSendMailResponseDto } from './models/PatronSendMailResponseDto';
|
|
256
267
|
export type { PatronShowGroupResponseDto } from './models/PatronShowGroupResponseDto';
|
|
257
268
|
export type { PatronStatsResponseDto } from './models/PatronStatsResponseDto';
|
|
258
269
|
export type { PaymentGatewayResponseDto } from './models/PaymentGatewayResponseDto';
|
|
@@ -274,6 +285,8 @@ export type { PricingSetBodyDto } from './models/PricingSetBodyDto';
|
|
|
274
285
|
export type { PricingSetRuleDto } from './models/PricingSetRuleDto';
|
|
275
286
|
export type { PriorityCode } from './models/PriorityCode';
|
|
276
287
|
export type { PriorityCodeResponseDto } from './models/PriorityCodeResponseDto';
|
|
288
|
+
export type { PriorityImportCheckResponseDto } from './models/PriorityImportCheckResponseDto';
|
|
289
|
+
export type { PriorityImportRowDto } from './models/PriorityImportRowDto';
|
|
277
290
|
export type { PriorityWaveDetail } from './models/PriorityWaveDetail';
|
|
278
291
|
export type { ProductDetailResponseDto } from './models/ProductDetailResponseDto';
|
|
279
292
|
export type { ProductIconResponseDto } from './models/ProductIconResponseDto';
|
|
@@ -492,6 +505,7 @@ export type { UnavailableSeating } from './models/UnavailableSeating';
|
|
|
492
505
|
export type { UnblockSeatsRequestDto } from './models/UnblockSeatsRequestDto';
|
|
493
506
|
export type { UnsoldTicketsResponseDto } from './models/UnsoldTicketsResponseDto';
|
|
494
507
|
export type { UpdateAdvancedStudioSettingsRequestDto } from './models/UpdateAdvancedStudioSettingsRequestDto';
|
|
508
|
+
export type { UpdateAppSkinRequestDto } from './models/UpdateAppSkinRequestDto';
|
|
495
509
|
export type { UpdateBankingRequestDto } from './models/UpdateBankingRequestDto';
|
|
496
510
|
export type { UpdateCssRequestDto } from './models/UpdateCssRequestDto';
|
|
497
511
|
export type { UpdateDiscountCodeRequestDto } from './models/UpdateDiscountCodeRequestDto';
|
|
@@ -12,6 +12,7 @@ export { CreateShowCodeRequestDto } from './models/CreateShowCodeRequestDto.js';
|
|
|
12
12
|
export { CreateShowRequestDto } from './models/CreateShowRequestDto.js';
|
|
13
13
|
export { EditMailRequestDto } from './models/EditMailRequestDto.js';
|
|
14
14
|
export { ExecuteReleaseSeatResponseDto } from './models/ExecuteReleaseSeatResponseDto.js';
|
|
15
|
+
export { ImportColumnDto } from './models/ImportColumnDto.js';
|
|
15
16
|
export { SalesTaxRegistrationOption } from './models/SalesTaxRegistrationOption.js';
|
|
16
17
|
export { ScannerLogEntryDto } from './models/ScannerLogEntryDto.js';
|
|
17
18
|
export { ShowCodeResponseDto } from './models/ShowCodeResponseDto.js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { AppSkinSiteThemeDto } from './AppSkinSiteThemeDto';
|
|
2
|
+
import type { AppSkinValuesDto } from './AppSkinValuesDto';
|
|
3
|
+
export type AppSkinResponseDto = {
|
|
4
|
+
color1Bg: string | null;
|
|
5
|
+
color1Text: string | null;
|
|
6
|
+
color2Bg: string | null;
|
|
7
|
+
color2Text: string | null;
|
|
8
|
+
colorNeutralBg: string | null;
|
|
9
|
+
colorNeutralText: string | null;
|
|
10
|
+
color1Shade: string | null;
|
|
11
|
+
colorValid: string | null;
|
|
12
|
+
colorPrevious: string | null;
|
|
13
|
+
colorInvalid: string | null;
|
|
14
|
+
colorButtonBg: string | null;
|
|
15
|
+
colorButtonText: string | null;
|
|
16
|
+
colorGoldenTicket: string | null;
|
|
17
|
+
colorGrayText: string | null;
|
|
18
|
+
backgroundHref: string | null;
|
|
19
|
+
logoHref: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* A studio-level skin row exists. False means the values above are the site defaults the app is already showing.
|
|
22
|
+
*/
|
|
23
|
+
isCustom: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The ticketing site defaults the app falls back to.
|
|
26
|
+
*/
|
|
27
|
+
defaults: AppSkinValuesDto;
|
|
28
|
+
/**
|
|
29
|
+
* The studio's ticketing theme mapped onto the app's fields, for copying the theme into the app skin.
|
|
30
|
+
*/
|
|
31
|
+
siteTheme: AppSkinSiteThemeDto | null;
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type AppSkinSiteThemeDto = {
|
|
2
|
+
color1Bg: string | null;
|
|
3
|
+
color1Text: string | null;
|
|
4
|
+
color2Bg: string | null;
|
|
5
|
+
color2Text: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* The ticketing page background when it is an image, including one set through the superuser protected CSS block. Null for a colour or gradient background.
|
|
8
|
+
*/
|
|
9
|
+
backgroundHref: string | null;
|
|
10
|
+
logoHref: string | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type AppSkinValuesDto = {
|
|
2
|
+
color1Bg: string | null;
|
|
3
|
+
color1Text: string | null;
|
|
4
|
+
color2Bg: string | null;
|
|
5
|
+
color2Text: string | null;
|
|
6
|
+
colorNeutralBg: string | null;
|
|
7
|
+
colorNeutralText: string | null;
|
|
8
|
+
color1Shade: string | null;
|
|
9
|
+
colorValid: string | null;
|
|
10
|
+
colorPrevious: string | null;
|
|
11
|
+
colorInvalid: string | null;
|
|
12
|
+
colorButtonBg: string | null;
|
|
13
|
+
colorButtonText: string | null;
|
|
14
|
+
colorGoldenTicket: string | null;
|
|
15
|
+
colorGrayText: string | null;
|
|
16
|
+
backgroundHref: string | null;
|
|
17
|
+
logoHref: string | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { OrderSeatTierDto } from './OrderSeatTierDto';
|
|
1
2
|
export type AssignmentOrderDto = {
|
|
2
3
|
id: number;
|
|
3
4
|
firstName: string | null;
|
|
@@ -27,6 +28,10 @@ export type AssignmentOrderDto = {
|
|
|
27
28
|
* Number of handicap-tier seats in the source show
|
|
28
29
|
*/
|
|
29
30
|
numHc: number;
|
|
31
|
+
/**
|
|
32
|
+
* Seats still in the source show, counted per tier
|
|
33
|
+
*/
|
|
34
|
+
seatTiers: Array<OrderSeatTierDto>;
|
|
30
35
|
/**
|
|
31
36
|
* Length of the administrative note on the order
|
|
32
37
|
*/
|
|
@@ -40,4 +40,12 @@ export type CouponDetailResponseDto = {
|
|
|
40
40
|
customLogicId: number;
|
|
41
41
|
customLogicName: string | null;
|
|
42
42
|
aliasDateExpired: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The group code built from this coupon, if any.
|
|
45
|
+
*/
|
|
46
|
+
groupCodeId: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* The group code's max uses. Null means unlimited.
|
|
49
|
+
*/
|
|
50
|
+
groupCodeMaxUses: number | null;
|
|
43
51
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CodeIssuesResponseDto } from './CodeIssuesResponseDto';
|
|
2
|
+
import type { CouponImportRowDto } from './CouponImportRowDto';
|
|
3
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
4
|
+
export type CouponImportCheckResponseDto = {
|
|
5
|
+
/**
|
|
6
|
+
* True when every row can be created as it stands.
|
|
7
|
+
*/
|
|
8
|
+
valid: boolean;
|
|
9
|
+
fileIssues: Array<ImportIssueDto>;
|
|
10
|
+
blankRows: number;
|
|
11
|
+
codeIssues: CodeIssuesResponseDto;
|
|
12
|
+
rows: Array<CouponImportRowDto>;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { GenerateCodeRequestDto } from './GenerateCodeRequestDto';
|
|
2
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
3
|
+
export type CouponImportRowDto = {
|
|
4
|
+
row: number;
|
|
5
|
+
issues: Array<ImportIssueDto>;
|
|
6
|
+
show: string;
|
|
7
|
+
/**
|
|
8
|
+
* How many codes the row creates.
|
|
9
|
+
*/
|
|
10
|
+
codes: number;
|
|
11
|
+
/**
|
|
12
|
+
* The create-code request for this row; null while it has issues.
|
|
13
|
+
*/
|
|
14
|
+
request: GenerateCodeRequestDto | null;
|
|
15
|
+
customDiscount: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -23,4 +23,9 @@ export type CreatePriorityCodeRequestDto = {
|
|
|
23
23
|
* Check the batch for coupon issues first (coupons already sent whose seats meet or exceed the new codes). When one is found nothing is created and the response lists the addresses; send again without this flag to create anyway.
|
|
24
24
|
*/
|
|
25
25
|
checkCodeIssues?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Deprecated and ignored: sendWhen alone decides whether the codes are emailed, for every studio. Still accepted so older portal builds are not refused.
|
|
28
|
+
* @deprecated
|
|
29
|
+
*/
|
|
30
|
+
sendToPatrons?: boolean;
|
|
26
31
|
};
|
|
@@ -18,4 +18,8 @@ export type ExecuteSeatExchangeRequestDto = {
|
|
|
18
18
|
* The client signed off on an exchange outcome that departs from their Support Policies (refund given where the policy gives none, refund withheld where the policy gives one, or the upcharge waived).
|
|
19
19
|
*/
|
|
20
20
|
policyOverrideAcknowledged?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Primary admins and superusers only: refund this amount instead of the cost difference, on any exchange that does not charge an upcharge. Capped at what the buyer has paid by card, less refunds already made or pending. An amount other than the cost difference needs policyOverrideAcknowledged. Omitted: the executeRefund choice applies.
|
|
23
|
+
*/
|
|
24
|
+
refundAmount?: number;
|
|
21
25
|
};
|
|
@@ -30,4 +30,9 @@ export type GenerateCodeRequestDto = {
|
|
|
30
30
|
* Check the batch for coupon issues first (a recipient already holding a coupon for the same sale, coupon seats meeting their priority code). When one is found nothing is created and the response lists the addresses; send again without this flag to create anyway.
|
|
31
31
|
*/
|
|
32
32
|
checkCodeIssues?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Deprecated and ignored: sendWhen alone decides whether the coupons are emailed, for every studio. Still accepted so older portal builds are not refused.
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
sendToPatrons?: boolean;
|
|
33
38
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type ImportColumnDto = {
|
|
2
|
+
field: string;
|
|
3
|
+
/**
|
|
4
|
+
* The heading the file must use, spelled exactly.
|
|
5
|
+
*/
|
|
6
|
+
heading: string;
|
|
7
|
+
kind: ImportColumnDto.kind;
|
|
8
|
+
requirement: ImportColumnDto.requirement;
|
|
9
|
+
/**
|
|
10
|
+
* For a choice column, every value a cell may hold.
|
|
11
|
+
*/
|
|
12
|
+
options?: Array<string>;
|
|
13
|
+
min?: number;
|
|
14
|
+
};
|
|
15
|
+
export declare namespace ImportColumnDto {
|
|
16
|
+
enum kind {
|
|
17
|
+
CHOICE = "choice",
|
|
18
|
+
WHOLE = "whole",
|
|
19
|
+
AMOUNT = "amount",
|
|
20
|
+
DATE = "date",
|
|
21
|
+
DATETIME = "datetime",
|
|
22
|
+
EMAILS = "emails",
|
|
23
|
+
TEXT = "text"
|
|
24
|
+
}
|
|
25
|
+
enum requirement {
|
|
26
|
+
ALWAYS = "always",
|
|
27
|
+
CONDITIONAL = "conditional",
|
|
28
|
+
OPTIONAL = "optional"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var ImportColumnDto;
|
|
2
|
+
(function (ImportColumnDto) {
|
|
3
|
+
let kind;
|
|
4
|
+
(function (kind) {
|
|
5
|
+
kind["CHOICE"] = "choice";
|
|
6
|
+
kind["WHOLE"] = "whole";
|
|
7
|
+
kind["AMOUNT"] = "amount";
|
|
8
|
+
kind["DATE"] = "date";
|
|
9
|
+
kind["DATETIME"] = "datetime";
|
|
10
|
+
kind["EMAILS"] = "emails";
|
|
11
|
+
kind["TEXT"] = "text";
|
|
12
|
+
})(kind = ImportColumnDto.kind || (ImportColumnDto.kind = {}));
|
|
13
|
+
let requirement;
|
|
14
|
+
(function (requirement) {
|
|
15
|
+
requirement["ALWAYS"] = "always";
|
|
16
|
+
requirement["CONDITIONAL"] = "conditional";
|
|
17
|
+
requirement["OPTIONAL"] = "optional";
|
|
18
|
+
})(requirement = ImportColumnDto.requirement || (ImportColumnDto.requirement = {}));
|
|
19
|
+
})(ImportColumnDto || (ImportColumnDto = {}));
|