@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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AppSkinSiteThemeDto } from './AppSkinSiteThemeDto';
|
|
6
|
+
import type { AppSkinValuesDto } from './AppSkinValuesDto';
|
|
7
|
+
export type AppSkinResponseDto = {
|
|
8
|
+
color1Bg: string | null;
|
|
9
|
+
color1Text: string | null;
|
|
10
|
+
color2Bg: string | null;
|
|
11
|
+
color2Text: string | null;
|
|
12
|
+
colorNeutralBg: string | null;
|
|
13
|
+
colorNeutralText: string | null;
|
|
14
|
+
color1Shade: string | null;
|
|
15
|
+
colorValid: string | null;
|
|
16
|
+
colorPrevious: string | null;
|
|
17
|
+
colorInvalid: string | null;
|
|
18
|
+
colorButtonBg: string | null;
|
|
19
|
+
colorButtonText: string | null;
|
|
20
|
+
colorGoldenTicket: string | null;
|
|
21
|
+
colorGrayText: string | null;
|
|
22
|
+
backgroundHref: string | null;
|
|
23
|
+
logoHref: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* A studio-level skin row exists. False means the values above are the site defaults the app is already showing.
|
|
26
|
+
*/
|
|
27
|
+
isCustom: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The ticketing site defaults the app falls back to.
|
|
30
|
+
*/
|
|
31
|
+
defaults: AppSkinValuesDto;
|
|
32
|
+
/**
|
|
33
|
+
* The studio's ticketing theme mapped onto the app's fields, for copying the theme into the app skin.
|
|
34
|
+
*/
|
|
35
|
+
siteTheme: AppSkinSiteThemeDto | null;
|
|
36
|
+
};
|
|
37
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AppSkinSiteThemeDto = {
|
|
6
|
+
color1Bg: string | null;
|
|
7
|
+
color1Text: string | null;
|
|
8
|
+
color2Bg: string | null;
|
|
9
|
+
color2Text: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
backgroundHref: string | null;
|
|
14
|
+
logoHref: string | null;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AppSkinValuesDto = {
|
|
6
|
+
color1Bg: string | null;
|
|
7
|
+
color1Text: string | null;
|
|
8
|
+
color2Bg: string | null;
|
|
9
|
+
color2Text: string | null;
|
|
10
|
+
colorNeutralBg: string | null;
|
|
11
|
+
colorNeutralText: string | null;
|
|
12
|
+
color1Shade: string | null;
|
|
13
|
+
colorValid: string | null;
|
|
14
|
+
colorPrevious: string | null;
|
|
15
|
+
colorInvalid: string | null;
|
|
16
|
+
colorButtonBg: string | null;
|
|
17
|
+
colorButtonText: string | null;
|
|
18
|
+
colorGoldenTicket: string | null;
|
|
19
|
+
colorGrayText: string | null;
|
|
20
|
+
backgroundHref: string | null;
|
|
21
|
+
logoHref: string | null;
|
|
22
|
+
};
|
|
23
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { OrderSeatTierDto } from './OrderSeatTierDto';
|
|
5
6
|
export type AssignmentOrderDto = {
|
|
6
7
|
id: number;
|
|
7
8
|
firstName: string | null;
|
|
@@ -31,6 +32,10 @@ export type AssignmentOrderDto = {
|
|
|
31
32
|
* Number of handicap-tier seats in the source show
|
|
32
33
|
*/
|
|
33
34
|
numHc: number;
|
|
35
|
+
/**
|
|
36
|
+
* Seats still in the source show, counted per tier
|
|
37
|
+
*/
|
|
38
|
+
seatTiers: Array<OrderSeatTierDto>;
|
|
34
39
|
/**
|
|
35
40
|
* Length of the administrative note on the order
|
|
36
41
|
*/
|
|
@@ -44,5 +44,13 @@ export type CouponDetailResponseDto = {
|
|
|
44
44
|
customLogicId: number;
|
|
45
45
|
customLogicName: string | null;
|
|
46
46
|
aliasDateExpired: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The group code built from this coupon, if any.
|
|
49
|
+
*/
|
|
50
|
+
groupCodeId: number | null;
|
|
51
|
+
/**
|
|
52
|
+
* The group code's max uses. Null means unlimited.
|
|
53
|
+
*/
|
|
54
|
+
groupCodeMaxUses: number | null;
|
|
47
55
|
};
|
|
48
56
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CodeIssuesResponseDto } from './CodeIssuesResponseDto';
|
|
6
|
+
import type { CouponImportRowDto } from './CouponImportRowDto';
|
|
7
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
8
|
+
export type CouponImportCheckResponseDto = {
|
|
9
|
+
/**
|
|
10
|
+
* True when every row can be created as it stands.
|
|
11
|
+
*/
|
|
12
|
+
valid: boolean;
|
|
13
|
+
fileIssues: Array<ImportIssueDto>;
|
|
14
|
+
blankRows: number;
|
|
15
|
+
codeIssues: CodeIssuesResponseDto;
|
|
16
|
+
rows: Array<CouponImportRowDto>;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { GenerateCodeRequestDto } from './GenerateCodeRequestDto';
|
|
6
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
7
|
+
export type CouponImportRowDto = {
|
|
8
|
+
row: number;
|
|
9
|
+
issues: Array<ImportIssueDto>;
|
|
10
|
+
show: string;
|
|
11
|
+
/**
|
|
12
|
+
* How many codes the row creates.
|
|
13
|
+
*/
|
|
14
|
+
codes: number;
|
|
15
|
+
/**
|
|
16
|
+
* The create-code request for this row; null while it has issues.
|
|
17
|
+
*/
|
|
18
|
+
request: GenerateCodeRequestDto | null;
|
|
19
|
+
customDiscount: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
@@ -27,5 +27,10 @@ export type CreatePriorityCodeRequestDto = {
|
|
|
27
27
|
* 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.
|
|
28
28
|
*/
|
|
29
29
|
checkCodeIssues?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Deprecated and ignored: sendWhen alone decides whether the codes are emailed, for every studio. Still accepted so older portal builds are not refused.
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
34
|
+
sendToPatrons?: boolean;
|
|
30
35
|
};
|
|
31
36
|
|
|
@@ -22,5 +22,9 @@ export type ExecuteSeatExchangeRequestDto = {
|
|
|
22
22
|
* 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).
|
|
23
23
|
*/
|
|
24
24
|
policyOverrideAcknowledged?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 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.
|
|
27
|
+
*/
|
|
28
|
+
refundAmount?: number;
|
|
25
29
|
};
|
|
26
30
|
|
|
@@ -34,5 +34,10 @@ export type GenerateCodeRequestDto = {
|
|
|
34
34
|
* 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.
|
|
35
35
|
*/
|
|
36
36
|
checkCodeIssues?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Deprecated and ignored: sendWhen alone decides whether the coupons are emailed, for every studio. Still accepted so older portal builds are not refused.
|
|
39
|
+
* @deprecated
|
|
40
|
+
*/
|
|
41
|
+
sendToPatrons?: boolean;
|
|
37
42
|
};
|
|
38
43
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ImportCheckRequestDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Every row of the first worksheet as text, header row first, exactly as the file holds it.
|
|
8
|
+
*/
|
|
9
|
+
rows: Array<Array<string>>;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ImportColumnDto = {
|
|
6
|
+
field: string;
|
|
7
|
+
/**
|
|
8
|
+
* The heading the file must use, spelled exactly.
|
|
9
|
+
*/
|
|
10
|
+
heading: string;
|
|
11
|
+
kind: ImportColumnDto.kind;
|
|
12
|
+
requirement: ImportColumnDto.requirement;
|
|
13
|
+
/**
|
|
14
|
+
* For a choice column, every value a cell may hold.
|
|
15
|
+
*/
|
|
16
|
+
options?: Array<string>;
|
|
17
|
+
min?: number;
|
|
18
|
+
};
|
|
19
|
+
export namespace ImportColumnDto {
|
|
20
|
+
export enum kind {
|
|
21
|
+
CHOICE = 'choice',
|
|
22
|
+
WHOLE = 'whole',
|
|
23
|
+
AMOUNT = 'amount',
|
|
24
|
+
DATE = 'date',
|
|
25
|
+
DATETIME = 'datetime',
|
|
26
|
+
EMAILS = 'emails',
|
|
27
|
+
TEXT = 'text',
|
|
28
|
+
}
|
|
29
|
+
export enum requirement {
|
|
30
|
+
ALWAYS = 'always',
|
|
31
|
+
CONDITIONAL = 'conditional',
|
|
32
|
+
OPTIONAL = 'optional',
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ImportColumnDto } from './ImportColumnDto';
|
|
6
|
+
export type ImportFormatResponseDto = {
|
|
7
|
+
columns: Array<ImportColumnDto>;
|
|
8
|
+
/**
|
|
9
|
+
* Most rows one file may hold.
|
|
10
|
+
*/
|
|
11
|
+
maxRows: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ImportIssueDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Spreadsheet row number; null for the file as a whole.
|
|
8
|
+
*/
|
|
9
|
+
row: number | null;
|
|
10
|
+
column: string | null;
|
|
11
|
+
code: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The server message, for code REJECTED.
|
|
15
|
+
*/
|
|
16
|
+
detail?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -17,6 +17,10 @@ export type OrderRecalculateRequestDto = {
|
|
|
17
17
|
* Set to 1 to include the shopper's held blocked seats in the recalculation. `addCart` does not cover them: a blocked seat is held through session_blocked_seat_assoc and leaves seat_status.shopper NULL, so the cart-side recalc never sees it and prices it at zero.
|
|
18
18
|
*/
|
|
19
19
|
addBlocked?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Set to 1 from the exchange modal: also re-run the studio's order validation rules on the new order and look for products the exchange would strand. The recalc still returns totals when a rule fails; validationFailed / strandedProducts report it, with maxRefundable for the refund amount field.
|
|
22
|
+
*/
|
|
23
|
+
exchangeChecks?: number;
|
|
20
24
|
ticket: Array<ShowSeatPair>;
|
|
21
25
|
tiers: Array<ShowSeatTierPair>;
|
|
22
26
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type OrderSeatTierDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Tier name in the source show; empty when untiered
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Wheelchair seating: tier is_hc, section is ADA, or named Wheelchair/WC
|
|
12
|
+
*/
|
|
13
|
+
isAda: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Seats of this tier still in the source show
|
|
16
|
+
*/
|
|
17
|
+
count: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PatronSendMailResponseDto = {
|
|
6
|
+
success: boolean;
|
|
7
|
+
codes?: Array<string>;
|
|
8
|
+
sent: number;
|
|
9
|
+
failed: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CodeIssuesResponseDto } from './CodeIssuesResponseDto';
|
|
6
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
7
|
+
import type { PriorityImportRowDto } from './PriorityImportRowDto';
|
|
8
|
+
export type PriorityImportCheckResponseDto = {
|
|
9
|
+
/**
|
|
10
|
+
* True when every row can be created as it stands.
|
|
11
|
+
*/
|
|
12
|
+
valid: boolean;
|
|
13
|
+
fileIssues: Array<ImportIssueDto>;
|
|
14
|
+
blankRows: number;
|
|
15
|
+
codeIssues: CodeIssuesResponseDto;
|
|
16
|
+
rows: Array<PriorityImportRowDto>;
|
|
17
|
+
};
|
|
18
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CreatePriorityCodeRequestDto } from './CreatePriorityCodeRequestDto';
|
|
6
|
+
import type { ImportIssueDto } from './ImportIssueDto';
|
|
7
|
+
export type PriorityImportRowDto = {
|
|
8
|
+
row: number;
|
|
9
|
+
issues: Array<ImportIssueDto>;
|
|
10
|
+
show: string;
|
|
11
|
+
/**
|
|
12
|
+
* How many codes the row creates.
|
|
13
|
+
*/
|
|
14
|
+
codes: number;
|
|
15
|
+
/**
|
|
16
|
+
* The create-code request for this row; null while it has issues.
|
|
17
|
+
*/
|
|
18
|
+
request: CreatePriorityCodeRequestDto | null;
|
|
19
|
+
wave: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
@@ -39,5 +39,17 @@ export type RecalculateOrderResponseDto = {
|
|
|
39
39
|
* The change in service fees from the recalc (new minus original). A positive value is taken as the Stripe application fee when an exchange upcharge is collected, as the buyer exchange tool does.
|
|
40
40
|
*/
|
|
41
41
|
feeAdjust?: number;
|
|
42
|
+
/**
|
|
43
|
+
* exchangeChecks only: 1 when the new order fails one of the studio's order validation rules.
|
|
44
|
+
*/
|
|
45
|
+
validationFailed?: number;
|
|
46
|
+
/**
|
|
47
|
+
* exchangeChecks only: products on the order that would be left without a seat for their show or show group.
|
|
48
|
+
*/
|
|
49
|
+
strandedProducts?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* exchangeChecks only: the most that can be refunded on the order - card payments less refunds made or pending.
|
|
52
|
+
*/
|
|
53
|
+
maxRefundable?: number;
|
|
42
54
|
};
|
|
43
55
|
|
|
@@ -19,5 +19,9 @@ export type SelectedSeatExchangeResponseDto = {
|
|
|
19
19
|
gatewayId: number | null;
|
|
20
20
|
currency: string | null;
|
|
21
21
|
publishableKey: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* 1 for a primary admin or a superuser: may sign off an exchange outside the Support Policies and choose the refund amount.
|
|
24
|
+
*/
|
|
25
|
+
canOverridePolicy: number;
|
|
22
26
|
};
|
|
23
27
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpdateAppSkinRequestDto = {
|
|
6
|
+
color1Bg?: string;
|
|
7
|
+
color1Text?: string;
|
|
8
|
+
color2Bg?: string;
|
|
9
|
+
color2Text?: string;
|
|
10
|
+
colorNeutralBg?: string;
|
|
11
|
+
colorNeutralText?: string;
|
|
12
|
+
color1Shade?: string;
|
|
13
|
+
colorValid?: string;
|
|
14
|
+
colorPrevious?: string;
|
|
15
|
+
colorInvalid?: string;
|
|
16
|
+
colorButtonBg?: string;
|
|
17
|
+
colorButtonText?: string;
|
|
18
|
+
colorGoldenTicket?: string;
|
|
19
|
+
colorGrayText?: string;
|
|
20
|
+
backgroundHref?: string;
|
|
21
|
+
logoHref?: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
@@ -26,5 +26,13 @@ export type UpdateDiscountCodeRequestDto = {
|
|
|
26
26
|
type: string;
|
|
27
27
|
amount: number;
|
|
28
28
|
applyOrder: string;
|
|
29
|
+
/**
|
|
30
|
+
* The coupon's group code. Omit to leave the group code unchanged.
|
|
31
|
+
*/
|
|
32
|
+
groupCodeId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The group code's max uses, written when groupCodeId is given. Null means unlimited.
|
|
35
|
+
*/
|
|
36
|
+
groupCodeMaxUses?: number | null;
|
|
29
37
|
};
|
|
30
38
|
|
|
@@ -12,6 +12,7 @@ import type { DiscountAccessRequestDto } from '../models/DiscountAccessRequestDt
|
|
|
12
12
|
import type { PatronAccessRequestDto } from '../models/PatronAccessRequestDto';
|
|
13
13
|
import type { PatronCodeSendMailRequestDto } from '../models/PatronCodeSendMailRequestDto';
|
|
14
14
|
import type { PatronCodesResponseDto } from '../models/PatronCodesResponseDto';
|
|
15
|
+
import type { PatronSendMailResponseDto } from '../models/PatronSendMailResponseDto';
|
|
15
16
|
import type { PatronShowGroupResponseDto } from '../models/PatronShowGroupResponseDto';
|
|
16
17
|
import type { PatronStatsResponseDto } from '../models/PatronStatsResponseDto';
|
|
17
18
|
import type { SinglePatronCodeResponseDto } from '../models/SinglePatronCodeResponseDto';
|
|
@@ -242,13 +243,13 @@ export class ClientToolsPatronDatabaseService {
|
|
|
242
243
|
* Send mail for patron codes
|
|
243
244
|
* @param xStudioId The ID of the studio
|
|
244
245
|
* @param requestBody Payload to send mail for patron codes
|
|
245
|
-
* @returns
|
|
246
|
+
* @returns PatronSendMailResponseDto Mail sent successfully
|
|
246
247
|
* @throws ApiError
|
|
247
248
|
*/
|
|
248
249
|
public static sendMail(
|
|
249
250
|
xStudioId: string,
|
|
250
251
|
requestBody: PatronCodeSendMailRequestDto,
|
|
251
|
-
): CancelablePromise<
|
|
252
|
+
): CancelablePromise<PatronSendMailResponseDto> {
|
|
252
253
|
return __request(OpenAPI, {
|
|
253
254
|
method: 'POST',
|
|
254
255
|
url: '/client-tools/patron-database/send-mail',
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { AppSkinResponseDto } from '../models/AppSkinResponseDto';
|
|
5
6
|
import type { StartImageUploadRequestDto } from '../models/StartImageUploadRequestDto';
|
|
6
7
|
import type { StartImageUploadResponseDto } from '../models/StartImageUploadResponseDto';
|
|
7
8
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
8
9
|
import type { ThemeBannerImageResponseDto } from '../models/ThemeBannerImageResponseDto';
|
|
9
10
|
import type { ThemeDesignResponseDto } from '../models/ThemeDesignResponseDto';
|
|
10
11
|
import type { ThemeImageFormat } from '../models/ThemeImageFormat';
|
|
12
|
+
import type { UpdateAppSkinRequestDto } from '../models/UpdateAppSkinRequestDto';
|
|
11
13
|
import type { UpdateImageUploadRequestDto } from '../models/UpdateImageUploadRequestDto';
|
|
12
14
|
import type { UpdateThemeDesignRequestDto } from '../models/UpdateThemeDesignRequestDto';
|
|
13
15
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -147,4 +149,62 @@ export class ClientToolsThemeBuilderService {
|
|
|
147
149
|
mediaType: 'application/json',
|
|
148
150
|
});
|
|
149
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* Fetch the scanner app skin
|
|
154
|
+
* 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.
|
|
155
|
+
* @param xStudioId The ID of the studio
|
|
156
|
+
* @returns AppSkinResponseDto App skin fetched successfully
|
|
157
|
+
* @throws ApiError
|
|
158
|
+
*/
|
|
159
|
+
public static getAppSkin(
|
|
160
|
+
xStudioId: string,
|
|
161
|
+
): CancelablePromise<AppSkinResponseDto> {
|
|
162
|
+
return __request(OpenAPI, {
|
|
163
|
+
method: 'GET',
|
|
164
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
165
|
+
headers: {
|
|
166
|
+
'x-studio-id': xStudioId,
|
|
167
|
+
},
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Update the scanner app skin
|
|
172
|
+
* Stores the whole skin for the studio. A field left out or blank falls back to the site default in the apps.
|
|
173
|
+
* @param xStudioId The ID of the studio
|
|
174
|
+
* @param requestBody Payload to update the app skin
|
|
175
|
+
* @returns SuccessResponse App skin updated successfully
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
public static updateAppSkin(
|
|
179
|
+
xStudioId: string,
|
|
180
|
+
requestBody: UpdateAppSkinRequestDto,
|
|
181
|
+
): CancelablePromise<SuccessResponse> {
|
|
182
|
+
return __request(OpenAPI, {
|
|
183
|
+
method: 'PUT',
|
|
184
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
185
|
+
headers: {
|
|
186
|
+
'x-studio-id': xStudioId,
|
|
187
|
+
},
|
|
188
|
+
body: requestBody,
|
|
189
|
+
mediaType: 'application/json',
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Remove the scanner app skin
|
|
194
|
+
* Drops the studio's skin so the apps go back to the site defaults.
|
|
195
|
+
* @param xStudioId The ID of the studio
|
|
196
|
+
* @returns SuccessResponse App skin removed successfully
|
|
197
|
+
* @throws ApiError
|
|
198
|
+
*/
|
|
199
|
+
public static deleteAppSkin(
|
|
200
|
+
xStudioId: string,
|
|
201
|
+
): CancelablePromise<SuccessResponse> {
|
|
202
|
+
return __request(OpenAPI, {
|
|
203
|
+
method: 'DELETE',
|
|
204
|
+
url: '/client-tools/theme-builder/app-skin',
|
|
205
|
+
headers: {
|
|
206
|
+
'x-studio-id': xStudioId,
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
}
|
|
150
210
|
}
|
|
@@ -6,11 +6,14 @@ import type { BulkEditCouponRequestDto } from '../models/BulkEditCouponRequestDt
|
|
|
6
6
|
import type { CouponDataResponseDto } from '../models/CouponDataResponseDto';
|
|
7
7
|
import type { CouponDetailResponseDto } from '../models/CouponDetailResponseDto';
|
|
8
8
|
import type { CouponFilterResponseDto } from '../models/CouponFilterResponseDto';
|
|
9
|
+
import type { CouponImportCheckResponseDto } from '../models/CouponImportCheckResponseDto';
|
|
9
10
|
import type { CreateCodesResponseDto } from '../models/CreateCodesResponseDto';
|
|
10
11
|
import type { CustomLogicResponseDto } from '../models/CustomLogicResponseDto';
|
|
11
12
|
import type { GenerateCodeRequestDto } from '../models/GenerateCodeRequestDto';
|
|
12
13
|
import type { GenerateGroupCodeRequestDto } from '../models/GenerateGroupCodeRequestDto';
|
|
13
14
|
import type { GroupCodeResponseDto } from '../models/GroupCodeResponseDto';
|
|
15
|
+
import type { ImportCheckRequestDto } from '../models/ImportCheckRequestDto';
|
|
16
|
+
import type { ImportFormatResponseDto } from '../models/ImportFormatResponseDto';
|
|
14
17
|
import type { ResendMailRequestDto } from '../models/ResendMailRequestDto';
|
|
15
18
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
16
19
|
import type { UpdateDiscountCodeRequestDto } from '../models/UpdateDiscountCodeRequestDto';
|
|
@@ -103,6 +106,46 @@ export class FeaturesDiscountsService {
|
|
|
103
106
|
},
|
|
104
107
|
});
|
|
105
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Coupon spreadsheet format
|
|
111
|
+
* 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).
|
|
112
|
+
* @param xStudioId The ID of the studio
|
|
113
|
+
* @returns ImportFormatResponseDto The coupon spreadsheet columns and the exact options each accepts
|
|
114
|
+
* @throws ApiError
|
|
115
|
+
*/
|
|
116
|
+
public static getCouponImportFormat(
|
|
117
|
+
xStudioId: string,
|
|
118
|
+
): CancelablePromise<ImportFormatResponseDto> {
|
|
119
|
+
return __request(OpenAPI, {
|
|
120
|
+
method: 'GET',
|
|
121
|
+
url: '/features/discounts/import-format',
|
|
122
|
+
headers: {
|
|
123
|
+
'x-studio-id': xStudioId,
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Check a coupon spreadsheet
|
|
129
|
+
* 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.
|
|
130
|
+
* @param xStudioId The ID of the studio
|
|
131
|
+
* @param requestBody The coupon spreadsheet, every row as text
|
|
132
|
+
* @returns CouponImportCheckResponseDto Every row of the file checked; nothing is written
|
|
133
|
+
* @throws ApiError
|
|
134
|
+
*/
|
|
135
|
+
public static checkCouponImport(
|
|
136
|
+
xStudioId: string,
|
|
137
|
+
requestBody: ImportCheckRequestDto,
|
|
138
|
+
): CancelablePromise<CouponImportCheckResponseDto> {
|
|
139
|
+
return __request(OpenAPI, {
|
|
140
|
+
method: 'POST',
|
|
141
|
+
url: '/features/discounts/import-check',
|
|
142
|
+
headers: {
|
|
143
|
+
'x-studio-id': xStudioId,
|
|
144
|
+
},
|
|
145
|
+
body: requestBody,
|
|
146
|
+
mediaType: 'application/json',
|
|
147
|
+
});
|
|
148
|
+
}
|
|
106
149
|
/**
|
|
107
150
|
* Fetch the available coupon data
|
|
108
151
|
* Fetch the available coupon data details
|
|
@@ -10,6 +10,9 @@ import type { CreatePriorityCodeRequestDto } from '../models/CreatePriorityCodeR
|
|
|
10
10
|
import type { DeleteCodesRequestDto } from '../models/DeleteCodesRequestDto';
|
|
11
11
|
import type { ExpireHiddenCodesRequestDto } from '../models/ExpireHiddenCodesRequestDto';
|
|
12
12
|
import type { HiddenCodeResponseDto } from '../models/HiddenCodeResponseDto';
|
|
13
|
+
import type { ImportCheckRequestDto } from '../models/ImportCheckRequestDto';
|
|
14
|
+
import type { ImportFormatResponseDto } from '../models/ImportFormatResponseDto';
|
|
15
|
+
import type { PriorityImportCheckResponseDto } from '../models/PriorityImportCheckResponseDto';
|
|
13
16
|
import type { SettingsAndWavesResponseDto } from '../models/SettingsAndWavesResponseDto';
|
|
14
17
|
import type { ShowAndGroupResponseDto } from '../models/ShowAndGroupResponseDto';
|
|
15
18
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
@@ -121,6 +124,46 @@ export class FeaturesPriorityService {
|
|
|
121
124
|
},
|
|
122
125
|
});
|
|
123
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Priority code spreadsheet format
|
|
129
|
+
* Every column the priority code import reads, with the exact text each choice cell may hold for this studio (its shows, groups and waves).
|
|
130
|
+
* @param xStudioId The ID of the studio
|
|
131
|
+
* @returns ImportFormatResponseDto The priority code spreadsheet columns and the exact options each accepts
|
|
132
|
+
* @throws ApiError
|
|
133
|
+
*/
|
|
134
|
+
public static getPriorityImportFormat(
|
|
135
|
+
xStudioId: string,
|
|
136
|
+
): CancelablePromise<ImportFormatResponseDto> {
|
|
137
|
+
return __request(OpenAPI, {
|
|
138
|
+
method: 'GET',
|
|
139
|
+
url: '/features/priority/import-format',
|
|
140
|
+
headers: {
|
|
141
|
+
'x-studio-id': xStudioId,
|
|
142
|
+
},
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Check a priority code spreadsheet
|
|
147
|
+
* 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.
|
|
148
|
+
* @param xStudioId The ID of the studio
|
|
149
|
+
* @param requestBody The priority code spreadsheet, every row as text
|
|
150
|
+
* @returns PriorityImportCheckResponseDto Every row of the file checked; nothing is written
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
public static checkPriorityImport(
|
|
154
|
+
xStudioId: string,
|
|
155
|
+
requestBody: ImportCheckRequestDto,
|
|
156
|
+
): CancelablePromise<PriorityImportCheckResponseDto> {
|
|
157
|
+
return __request(OpenAPI, {
|
|
158
|
+
method: 'POST',
|
|
159
|
+
url: '/features/priority/import-check',
|
|
160
|
+
headers: {
|
|
161
|
+
'x-studio-id': xStudioId,
|
|
162
|
+
},
|
|
163
|
+
body: requestBody,
|
|
164
|
+
mediaType: 'application/json',
|
|
165
|
+
});
|
|
166
|
+
}
|
|
124
167
|
/**
|
|
125
168
|
* Create new code
|
|
126
169
|
* Create new priority code
|