@drttix/drt-sdk 0.2.5 → 0.2.7
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/models/NotificationSettingsResponseDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/ShowsList.d.ts +2 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDiscountsService.d.ts +4 -4
- package/dist/cjs/src/generated/portal/services/FeaturesDiscountsService.js +6 -6
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/models/NotificationSettingsResponseDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/ShowsList.d.ts +2 -0
- package/dist/esm/src/generated/portal/services/FeaturesDiscountsService.d.ts +4 -4
- package/dist/esm/src/generated/portal/services/FeaturesDiscountsService.js +6 -6
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/models/NotificationSettingsResponseDto.ts +1 -0
- package/src/generated/portal/models/ShowsList.ts +2 -0
- package/src/generated/portal/services/FeaturesDiscountsService.ts +7 -7
|
@@ -110,14 +110,14 @@ export declare class FeaturesDiscountsService {
|
|
|
110
110
|
*/
|
|
111
111
|
static updateCode(xStudioId: string, requestBody: UpdateDiscountCodeRequestDto): CancelablePromise<SuccessResponse>;
|
|
112
112
|
/**
|
|
113
|
-
* Expire a
|
|
114
|
-
* Expire a
|
|
113
|
+
* Expire a group code
|
|
114
|
+
* Expire a group code for the studio
|
|
115
115
|
* @param xStudioId The ID of the studio
|
|
116
|
-
* @param
|
|
116
|
+
* @param groupCodeId The ID of the group code
|
|
117
117
|
* @returns SuccessResponse Coupon codes expiration updated successfully
|
|
118
118
|
* @throws ApiError
|
|
119
119
|
*/
|
|
120
|
-
static
|
|
120
|
+
static expireGroupCode(xStudioId: string, groupCodeId: string): CancelablePromise<SuccessResponse>;
|
|
121
121
|
/**
|
|
122
122
|
* Expire all coupon codes
|
|
123
123
|
* Expire all coupon codes for the studio
|
|
@@ -208,19 +208,19 @@ class FeaturesDiscountsService {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Expire a
|
|
212
|
-
* Expire a
|
|
211
|
+
* Expire a group code
|
|
212
|
+
* Expire a group code for the studio
|
|
213
213
|
* @param xStudioId The ID of the studio
|
|
214
|
-
* @param
|
|
214
|
+
* @param groupCodeId The ID of the group code
|
|
215
215
|
* @returns SuccessResponse Coupon codes expiration updated successfully
|
|
216
216
|
* @throws ApiError
|
|
217
217
|
*/
|
|
218
|
-
static
|
|
218
|
+
static expireGroupCode(xStudioId, groupCodeId) {
|
|
219
219
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
220
220
|
method: 'PUT',
|
|
221
|
-
url: '/features/discounts/{
|
|
221
|
+
url: '/features/discounts/{groupCodeId}/expire',
|
|
222
222
|
path: {
|
|
223
|
-
'
|
|
223
|
+
'groupCodeId': groupCodeId,
|
|
224
224
|
},
|
|
225
225
|
headers: {
|
|
226
226
|
'x-studio-id': xStudioId,
|
|
@@ -110,14 +110,14 @@ export declare class FeaturesDiscountsService {
|
|
|
110
110
|
*/
|
|
111
111
|
static updateCode(xStudioId: string, requestBody: UpdateDiscountCodeRequestDto): CancelablePromise<SuccessResponse>;
|
|
112
112
|
/**
|
|
113
|
-
* Expire a
|
|
114
|
-
* Expire a
|
|
113
|
+
* Expire a group code
|
|
114
|
+
* Expire a group code for the studio
|
|
115
115
|
* @param xStudioId The ID of the studio
|
|
116
|
-
* @param
|
|
116
|
+
* @param groupCodeId The ID of the group code
|
|
117
117
|
* @returns SuccessResponse Coupon codes expiration updated successfully
|
|
118
118
|
* @throws ApiError
|
|
119
119
|
*/
|
|
120
|
-
static
|
|
120
|
+
static expireGroupCode(xStudioId: string, groupCodeId: string): CancelablePromise<SuccessResponse>;
|
|
121
121
|
/**
|
|
122
122
|
* Expire all coupon codes
|
|
123
123
|
* Expire all coupon codes for the studio
|
|
@@ -205,19 +205,19 @@ export class FeaturesDiscountsService {
|
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
|
-
* Expire a
|
|
209
|
-
* Expire a
|
|
208
|
+
* Expire a group code
|
|
209
|
+
* Expire a group code for the studio
|
|
210
210
|
* @param xStudioId The ID of the studio
|
|
211
|
-
* @param
|
|
211
|
+
* @param groupCodeId The ID of the group code
|
|
212
212
|
* @returns SuccessResponse Coupon codes expiration updated successfully
|
|
213
213
|
* @throws ApiError
|
|
214
214
|
*/
|
|
215
|
-
static
|
|
215
|
+
static expireGroupCode(xStudioId, groupCodeId) {
|
|
216
216
|
return __request(OpenAPI, {
|
|
217
217
|
method: 'PUT',
|
|
218
|
-
url: '/features/discounts/{
|
|
218
|
+
url: '/features/discounts/{groupCodeId}/expire',
|
|
219
219
|
path: {
|
|
220
|
-
'
|
|
220
|
+
'groupCodeId': groupCodeId,
|
|
221
221
|
},
|
|
222
222
|
headers: {
|
|
223
223
|
'x-studio-id': xStudioId,
|
package/package.json
CHANGED
|
@@ -253,22 +253,22 @@ export class FeaturesDiscountsService {
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* Expire a
|
|
257
|
-
* Expire a
|
|
256
|
+
* Expire a group code
|
|
257
|
+
* Expire a group code for the studio
|
|
258
258
|
* @param xStudioId The ID of the studio
|
|
259
|
-
* @param
|
|
259
|
+
* @param groupCodeId The ID of the group code
|
|
260
260
|
* @returns SuccessResponse Coupon codes expiration updated successfully
|
|
261
261
|
* @throws ApiError
|
|
262
262
|
*/
|
|
263
|
-
public static
|
|
263
|
+
public static expireGroupCode(
|
|
264
264
|
xStudioId: string,
|
|
265
|
-
|
|
265
|
+
groupCodeId: string,
|
|
266
266
|
): CancelablePromise<SuccessResponse> {
|
|
267
267
|
return __request(OpenAPI, {
|
|
268
268
|
method: 'PUT',
|
|
269
|
-
url: '/features/discounts/{
|
|
269
|
+
url: '/features/discounts/{groupCodeId}/expire',
|
|
270
270
|
path: {
|
|
271
|
-
'
|
|
271
|
+
'groupCodeId': groupCodeId,
|
|
272
272
|
},
|
|
273
273
|
headers: {
|
|
274
274
|
'x-studio-id': xStudioId,
|