-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-generated by Jenkins job OTT-Generate-ClientLibs/1271, branch BE…
…O-14417_add-rsp-strategies
- Loading branch information
Backend CI
committed
Jan 15, 2024
1 parent
bdf1d97
commit 13411f1
Showing
18 changed files
with
504 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaCouponFilesLinks } from './KalturaCouponFilesLinks'; | ||
|
||
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; | ||
|
||
export interface CouponGetFilesLinksActionArgs extends KalturaRequestArgs { | ||
couponsGroupId : number; | ||
} | ||
|
||
/** | ||
* Build request payload for service 'coupon' action 'getFilesLinks'. | ||
* | ||
* Usage: get all coupon codes of a specific couponGroup | ||
* | ||
* Server response type: KalturaCouponFilesLinks | ||
* Server failure response type: KalturaAPIException | ||
* @class | ||
* @extends KalturaRequest | ||
*/ | ||
export class CouponGetFilesLinksAction extends KalturaRequest<KalturaCouponFilesLinks> { | ||
|
||
couponsGroupId : number; | ||
|
||
constructor(data : CouponGetFilesLinksActionArgs) | ||
{ | ||
super(data, {responseType : 'o', responseSubType : 'KalturaCouponFilesLinks', responseConstructor : KalturaCouponFilesLinks }); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
service : { type : 'c', default : 'coupon' }, | ||
action : { type : 'c', default : 'getFilesLinks' }, | ||
couponsGroupId : { type : 'n' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
|
||
|
||
import { KalturaRetryDeleteRequest } from './KalturaRetryDeleteRequest'; | ||
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; | ||
|
||
export interface HouseholdDeviceRetryDeleteActionArgs extends KalturaRequestArgs { | ||
request : KalturaRetryDeleteRequest; | ||
} | ||
|
||
/** | ||
* Build request payload for service 'householdDevice' action 'retryDelete'. | ||
* | ||
* Usage: Retry delete household device entities by retention | ||
* | ||
* Server response type: void | ||
* Server failure response type: KalturaAPIException | ||
* @class | ||
* @extends KalturaRequest | ||
*/ | ||
export class HouseholdDeviceRetryDeleteAction extends KalturaRequest<void> { | ||
|
||
request : KalturaRetryDeleteRequest; | ||
|
||
constructor(data : HouseholdDeviceRetryDeleteActionArgs) | ||
{ | ||
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null }); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
service : { type : 'c', default : 'householddevice' }, | ||
action : { type : 'c', default : 'retryDelete' }, | ||
request : { type : 'o', subTypeConstructor : KalturaRetryDeleteRequest, subType : 'KalturaRetryDeleteRequest' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaHouseholdPartnerConfiguration } from './KalturaHouseholdPartnerConfiguration'; | ||
|
||
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; | ||
|
||
export interface HouseholdGetPartnerConfigurationActionArgs extends KalturaRequestArgs { | ||
|
||
} | ||
|
||
/** | ||
* Build request payload for service 'household' action 'getPartnerConfiguration'. | ||
* | ||
* Usage: Get household partner configuration | ||
* | ||
* Server response type: KalturaHouseholdPartnerConfiguration | ||
* Server failure response type: KalturaAPIException | ||
* @class | ||
* @extends KalturaRequest | ||
*/ | ||
export class HouseholdGetPartnerConfigurationAction extends KalturaRequest<KalturaHouseholdPartnerConfiguration> { | ||
|
||
|
||
|
||
constructor(data? : HouseholdGetPartnerConfigurationActionArgs) | ||
{ | ||
super(data, {responseType : 'o', responseSubType : 'KalturaHouseholdPartnerConfiguration', responseConstructor : KalturaHouseholdPartnerConfiguration }); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
service : { type : 'c', default : 'household' }, | ||
action : { type : 'c', default : 'getPartnerConfiguration' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
|
||
|
||
import { KalturaRetryDeleteRequest } from './KalturaRetryDeleteRequest'; | ||
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; | ||
|
||
export interface HouseholdRetryDeleteActionArgs extends KalturaRequestArgs { | ||
request : KalturaRetryDeleteRequest; | ||
} | ||
|
||
/** | ||
* Build request payload for service 'household' action 'retryDelete'. | ||
* | ||
* Usage: Retry delete household entities by retention | ||
* | ||
* Server response type: void | ||
* Server failure response type: KalturaAPIException | ||
* @class | ||
* @extends KalturaRequest | ||
*/ | ||
export class HouseholdRetryDeleteAction extends KalturaRequest<void> { | ||
|
||
request : KalturaRetryDeleteRequest; | ||
|
||
constructor(data : HouseholdRetryDeleteActionArgs) | ||
{ | ||
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null }); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
service : { type : 'c', default : 'household' }, | ||
action : { type : 'c', default : 'retryDelete' }, | ||
request : { type : 'o', subTypeConstructor : KalturaRetryDeleteRequest, subType : 'KalturaRetryDeleteRequest' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
45 changes: 45 additions & 0 deletions
45
src/api/types/HouseholdUpdatePartnerConfigurationAction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
|
||
|
||
import { KalturaHouseholdPartnerConfiguration } from './KalturaHouseholdPartnerConfiguration'; | ||
import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; | ||
|
||
export interface HouseholdUpdatePartnerConfigurationActionArgs extends KalturaRequestArgs { | ||
configuration : KalturaHouseholdPartnerConfiguration; | ||
} | ||
|
||
/** | ||
* Build request payload for service 'household' action 'updatePartnerConfiguration'. | ||
* | ||
* Usage: Update household partner configuration | ||
* | ||
* Server response type: void | ||
* Server failure response type: KalturaAPIException | ||
* @class | ||
* @extends KalturaRequest | ||
*/ | ||
export class HouseholdUpdatePartnerConfigurationAction extends KalturaRequest<void> { | ||
|
||
configuration : KalturaHouseholdPartnerConfiguration; | ||
|
||
constructor(data : HouseholdUpdatePartnerConfigurationActionArgs) | ||
{ | ||
super(data, {responseType : 'v', responseSubType : '', responseConstructor : null }); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
service : { type : 'c', default : 'household' }, | ||
action : { type : 'c', default : 'updatePartnerConfiguration' }, | ||
configuration : { type : 'o', subTypeConstructor : KalturaHouseholdPartnerConfiguration, subType : 'KalturaHouseholdPartnerConfiguration' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaPartnerConfiguration, KalturaPartnerConfigurationArgs } from './KalturaPartnerConfiguration'; | ||
|
||
export interface KalturaCloudUploadSettingsConfigurationArgs extends KalturaPartnerConfigurationArgs { | ||
customAllowedFileExtensions? : string; | ||
} | ||
|
||
|
||
export class KalturaCloudUploadSettingsConfiguration extends KalturaPartnerConfiguration { | ||
|
||
readonly defaultAllowedFileExtensions : string; | ||
customAllowedFileExtensions : string; | ||
|
||
constructor(data? : KalturaCloudUploadSettingsConfigurationArgs) | ||
{ | ||
super(data); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaCloudUploadSettingsConfiguration' }, | ||
defaultAllowedFileExtensions : { type : 's', readOnly : true }, | ||
customAllowedFileExtensions : { type : 's' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaCloudUploadSettingsConfiguration',KalturaCloudUploadSettingsConfiguration); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaStringValue } from './KalturaStringValue'; | ||
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; | ||
|
||
export interface KalturaCouponFilesLinksArgs extends KalturaObjectBaseArgs { | ||
totalCount? : number; | ||
objects? : KalturaStringValue[]; | ||
} | ||
|
||
|
||
export class KalturaCouponFilesLinks extends KalturaObjectBase { | ||
|
||
totalCount : number; | ||
objects : KalturaStringValue[]; | ||
|
||
constructor(data? : KalturaCouponFilesLinksArgs) | ||
{ | ||
super(data); | ||
if (typeof this.objects === 'undefined') this.objects = []; | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaCouponFilesLinks' }, | ||
totalCount : { type : 'n' }, | ||
objects : { type : 'a', subTypeConstructor : KalturaStringValue, subType : 'KalturaStringValue' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaCouponFilesLinks',KalturaCouponFilesLinks); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import { KalturaObjectMetadata } from '../kaltura-object-base'; | ||
import { KalturaTypesFactory } from '../kaltura-types-factory'; | ||
import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; | ||
|
||
export interface KalturaHouseholdPartnerConfigurationArgs extends KalturaObjectBaseArgs { | ||
retentionPeriodDays? : number; | ||
} | ||
|
||
|
||
export class KalturaHouseholdPartnerConfiguration extends KalturaObjectBase { | ||
|
||
retentionPeriodDays : number; | ||
|
||
constructor(data? : KalturaHouseholdPartnerConfigurationArgs) | ||
{ | ||
super(data); | ||
} | ||
|
||
protected _getMetadata() : KalturaObjectMetadata | ||
{ | ||
const result = super._getMetadata(); | ||
Object.assign( | ||
result.properties, | ||
{ | ||
objectType : { type : 'c', default : 'KalturaHouseholdPartnerConfiguration' }, | ||
retentionPeriodDays : { type : 'n' } | ||
} | ||
); | ||
return result; | ||
} | ||
} | ||
|
||
KalturaTypesFactory.registerType('KalturaHouseholdPartnerConfiguration',KalturaHouseholdPartnerConfiguration); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.