diff --git a/README.md b/README.md index 7567481f..59ffd44c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kaltura OTT Typescript Client -Compatible with Kaltura OTT server version 7.9.0.30000 and above. +Compatible with Kaltura OTT server version 8.0.0.30023 and above. [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![Gitter chat](https://badges.gitter.im/kaltura-ng/kaltura-ng.png)](https://gitter.im/kaltura-ng/kaltura-ng) [![Build Status](https://travis-ci.org/kaltura/KalturaOttGeneratedAPIClientsTypescript.svg?branch=master)](https://travis-ci.org/kaltura/KalturaOttGeneratedAPIClientsTypescript) @@ -16,7 +16,7 @@ To keep being update review the [changelog](CHANGELOG.md) frequently. You can install this client library using npm with: ``` -npm install kaltura-ott-typescript-client@7.9.0-30000 +npm install kaltura-ott-typescript-client@8.0.0-30023 ``` **Found a bug?** create [kaltura/clients-generator issue](https://github.com/kaltura/clients-generator/issues) diff --git a/package.json b/package.json index c56d8b0a..464d28a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kaltura-ott-typescript-client", "private": true, - "version": "7.9.0-30000", + "version": "8.0.0-30023", "description": "Kaltura OTT Typescript client", "keywords": [ "Kaltura" diff --git a/src/api/types/KalturaBaseBulkSegments.ts b/src/api/types/KalturaBaseBulkSegments.ts new file mode 100644 index 00000000..5f860f56 --- /dev/null +++ b/src/api/types/KalturaBaseBulkSegments.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBulkUploadObjectData, KalturaBulkUploadObjectDataArgs } from './KalturaBulkUploadObjectData'; + +export interface KalturaBaseBulkSegmentsArgs extends KalturaBulkUploadObjectDataArgs { + segmentId? : number; +} + + +export class KalturaBaseBulkSegments extends KalturaBulkUploadObjectData { + + segmentId : number; + + constructor(data? : KalturaBaseBulkSegmentsArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBaseBulkSegments' }, + segmentId : { type : 'n' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBaseBulkSegments',KalturaBaseBulkSegments); diff --git a/src/api/types/KalturaBaseBulkUploadSegmentsResult.ts b/src/api/types/KalturaBaseBulkUploadSegmentsResult.ts new file mode 100644 index 00000000..e5b5b320 --- /dev/null +++ b/src/api/types/KalturaBaseBulkUploadSegmentsResult.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBulkUploadResult, KalturaBulkUploadResultArgs } from './KalturaBulkUploadResult'; + +export interface KalturaBaseBulkUploadSegmentsResultArgs extends KalturaBulkUploadResultArgs { + segmentId? : number; +} + + +export class KalturaBaseBulkUploadSegmentsResult extends KalturaBulkUploadResult { + + segmentId : number; + + constructor(data? : KalturaBaseBulkUploadSegmentsResultArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBaseBulkUploadSegmentsResult' }, + segmentId : { type : 'n' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBaseBulkUploadSegmentsResult',KalturaBaseBulkUploadSegmentsResult); diff --git a/src/api/types/KalturaBooleanOperator.ts b/src/api/types/KalturaBooleanOperator.ts new file mode 100644 index 00000000..b069b287 --- /dev/null +++ b/src/api/types/KalturaBooleanOperator.ts @@ -0,0 +1,6 @@ + + +export enum KalturaBooleanOperator { + and = 'And', + or = 'Or' +} \ No newline at end of file diff --git a/src/api/types/KalturaBulkSegmentedHouseholdsData.ts b/src/api/types/KalturaBulkSegmentedHouseholdsData.ts new file mode 100644 index 00000000..4f7657cd --- /dev/null +++ b/src/api/types/KalturaBulkSegmentedHouseholdsData.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBaseBulkSegments, KalturaBaseBulkSegmentsArgs } from './KalturaBaseBulkSegments'; + +export interface KalturaBulkSegmentedHouseholdsDataArgs extends KalturaBaseBulkSegmentsArgs { + +} + + +export class KalturaBulkSegmentedHouseholdsData extends KalturaBaseBulkSegments { + + + + constructor(data? : KalturaBulkSegmentedHouseholdsDataArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBulkSegmentedHouseholdsData' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBulkSegmentedHouseholdsData',KalturaBulkSegmentedHouseholdsData); diff --git a/src/api/types/KalturaBulkSegmentedHouseholdsResult.ts b/src/api/types/KalturaBulkSegmentedHouseholdsResult.ts new file mode 100644 index 00000000..1c1f32e2 --- /dev/null +++ b/src/api/types/KalturaBulkSegmentedHouseholdsResult.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBaseBulkUploadSegmentsResult, KalturaBaseBulkUploadSegmentsResultArgs } from './KalturaBaseBulkUploadSegmentsResult'; + +export interface KalturaBulkSegmentedHouseholdsResultArgs extends KalturaBaseBulkUploadSegmentsResultArgs { + +} + + +export class KalturaBulkSegmentedHouseholdsResult extends KalturaBaseBulkUploadSegmentsResult { + + + + constructor(data? : KalturaBulkSegmentedHouseholdsResultArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBulkSegmentedHouseholdsResult' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBulkSegmentedHouseholdsResult',KalturaBulkSegmentedHouseholdsResult); diff --git a/src/api/types/KalturaBulkSegmentedUsersResult.ts b/src/api/types/KalturaBulkSegmentedUsersResult.ts new file mode 100644 index 00000000..d69c48e6 --- /dev/null +++ b/src/api/types/KalturaBulkSegmentedUsersResult.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBaseBulkUploadSegmentsResult, KalturaBaseBulkUploadSegmentsResultArgs } from './KalturaBaseBulkUploadSegmentsResult'; + +export interface KalturaBulkSegmentedUsersResultArgs extends KalturaBaseBulkUploadSegmentsResultArgs { + +} + + +export class KalturaBulkSegmentedUsersResult extends KalturaBaseBulkUploadSegmentsResult { + + + + constructor(data? : KalturaBulkSegmentedUsersResultArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBulkSegmentedUsersResult' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBulkSegmentedUsersResult',KalturaBulkSegmentedUsersResult); diff --git a/src/api/types/KalturaBulkSegmentedusersData.ts b/src/api/types/KalturaBulkSegmentedusersData.ts new file mode 100644 index 00000000..64e72c4d --- /dev/null +++ b/src/api/types/KalturaBulkSegmentedusersData.ts @@ -0,0 +1,33 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBaseBulkSegments, KalturaBaseBulkSegmentsArgs } from './KalturaBaseBulkSegments'; + +export interface KalturaBulkSegmentedusersDataArgs extends KalturaBaseBulkSegmentsArgs { + +} + + +export class KalturaBulkSegmentedusersData extends KalturaBaseBulkSegments { + + + + constructor(data? : KalturaBulkSegmentedusersDataArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaBulkSegmentedusersData' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaBulkSegmentedusersData',KalturaBulkSegmentedusersData); diff --git a/src/api/types/KalturaBulkUploadObjectData.ts b/src/api/types/KalturaBulkUploadObjectData.ts index 5816519a..6cf39075 100644 --- a/src/api/types/KalturaBulkUploadObjectData.ts +++ b/src/api/types/KalturaBulkUploadObjectData.ts @@ -1,16 +1,17 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaBulkUploadJobAction } from './KalturaBulkUploadJobAction'; import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; export interface KalturaBulkUploadObjectDataArgs extends KalturaObjectBaseArgs { - + action? : KalturaBulkUploadJobAction; } export class KalturaBulkUploadObjectData extends KalturaObjectBase { - + action : KalturaBulkUploadJobAction; constructor(data? : KalturaBulkUploadObjectDataArgs) { @@ -23,7 +24,8 @@ export class KalturaBulkUploadObjectData extends KalturaObjectBase { Object.assign( result.properties, { - objectType : { type : 'c', default : 'KalturaBulkUploadObjectData' } + objectType : { type : 'c', default : 'KalturaBulkUploadObjectData' }, + action : { type : 'es', subTypeConstructor : KalturaBulkUploadJobAction, subType : 'KalturaBulkUploadJobAction' } } ); return result; diff --git a/src/api/types/KalturaCampaignSegmentFilter.ts b/src/api/types/KalturaCampaignSegmentFilter.ts new file mode 100644 index 00000000..3a576f70 --- /dev/null +++ b/src/api/types/KalturaCampaignSegmentFilter.ts @@ -0,0 +1,34 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaCampaignSearchFilter, KalturaCampaignSearchFilterArgs } from './KalturaCampaignSearchFilter'; + +export interface KalturaCampaignSegmentFilterArgs extends KalturaCampaignSearchFilterArgs { + segmentIdIn? : string; +} + + +export class KalturaCampaignSegmentFilter extends KalturaCampaignSearchFilter { + + segmentIdIn : string; + + constructor(data? : KalturaCampaignSegmentFilterArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaCampaignSegmentFilter' }, + segmentIdIn : { type : 's' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaCampaignSegmentFilter',KalturaCampaignSegmentFilter); diff --git a/src/api/types/KalturaMonetizationCondition.ts b/src/api/types/KalturaMonetizationCondition.ts index 3998de48..7f5d04d9 100644 --- a/src/api/types/KalturaMonetizationCondition.ts +++ b/src/api/types/KalturaMonetizationCondition.ts @@ -12,6 +12,7 @@ export interface KalturaMonetizationConditionArgs extends KalturaBaseSegmentCon type? : KalturaMonetizationType; operator? : KalturaMathemticalOperatorType; businessModuleIdIn? : string; + currencyCode? : string; } @@ -23,6 +24,7 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition { type : KalturaMonetizationType; operator : KalturaMathemticalOperatorType; businessModuleIdIn : string; + currencyCode : string; constructor(data? : KalturaMonetizationConditionArgs) { @@ -41,7 +43,8 @@ export class KalturaMonetizationCondition extends KalturaBaseSegmentCondition { days : { type : 'n' }, type : { type : 'es', subTypeConstructor : KalturaMonetizationType, subType : 'KalturaMonetizationType' }, operator : { type : 'es', subTypeConstructor : KalturaMathemticalOperatorType, subType : 'KalturaMathemticalOperatorType' }, - businessModuleIdIn : { type : 's' } + businessModuleIdIn : { type : 's' }, + currencyCode : { type : 's' } } ); return result; diff --git a/src/api/types/KalturaMonetizationType.ts b/src/api/types/KalturaMonetizationType.ts index cc2a9118..39e092ee 100644 --- a/src/api/types/KalturaMonetizationType.ts +++ b/src/api/types/KalturaMonetizationType.ts @@ -1,7 +1,9 @@ export enum KalturaMonetizationType { - boxset = 'boxset', + any = 'any', + boxset = 'boxset', ppv = 'ppv', + ppvLive = 'ppv_live', subscription = 'subscription' } \ No newline at end of file diff --git a/src/api/types/KalturaSegmentationPartnerConfiguration.ts b/src/api/types/KalturaSegmentationPartnerConfiguration.ts new file mode 100644 index 00000000..44f9aa73 --- /dev/null +++ b/src/api/types/KalturaSegmentationPartnerConfiguration.ts @@ -0,0 +1,37 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaTypesFactory } from '../kaltura-types-factory'; +import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; + +export interface KalturaSegmentationPartnerConfigurationArgs extends KalturaObjectBaseArgs { + maxCalculatedPeriod? : number; + maxDynamicSegments? : number; +} + + +export class KalturaSegmentationPartnerConfiguration extends KalturaObjectBase { + + maxCalculatedPeriod : number; + maxDynamicSegments : number; + + constructor(data? : KalturaSegmentationPartnerConfigurationArgs) + { + super(data); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + objectType : { type : 'c', default : 'KalturaSegmentationPartnerConfiguration' }, + maxCalculatedPeriod : { type : 'n' }, + maxDynamicSegments : { type : 'n' } + } + ); + return result; + } +} + +KalturaTypesFactory.registerType('KalturaSegmentationPartnerConfiguration',KalturaSegmentationPartnerConfiguration); diff --git a/src/api/types/KalturaSegmentationType.ts b/src/api/types/KalturaSegmentationType.ts index 586050ad..81a89e94 100644 --- a/src/api/types/KalturaSegmentationType.ts +++ b/src/api/types/KalturaSegmentationType.ts @@ -2,6 +2,7 @@ import { KalturaObjectMetadata } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaBaseSegmentCondition } from './KalturaBaseSegmentCondition'; +import { KalturaBooleanOperator } from './KalturaBooleanOperator'; import { KalturaBaseSegmentAction } from './KalturaBaseSegmentAction'; import { KalturaBaseSegmentValue } from './KalturaBaseSegmentValue'; import { KalturaObjectBase, KalturaObjectBaseArgs } from '../kaltura-object-base'; @@ -10,6 +11,7 @@ export interface KalturaSegmentationTypeArgs extends KalturaObjectBaseArgs { name? : string; description? : string; conditions? : KalturaBaseSegmentCondition[]; + conditionsOperator? : KalturaBooleanOperator; actions? : KalturaBaseSegmentAction[]; value? : KalturaBaseSegmentValue; } @@ -21,9 +23,12 @@ export class KalturaSegmentationType extends KalturaObjectBase { name : string; description : string; conditions : KalturaBaseSegmentCondition[]; + conditionsOperator : KalturaBooleanOperator; actions : KalturaBaseSegmentAction[]; value : KalturaBaseSegmentValue; readonly createDate : number; + readonly updateDate : number; + readonly executeDate : number; readonly version : number; constructor(data? : KalturaSegmentationTypeArgs) @@ -44,9 +49,12 @@ export class KalturaSegmentationType extends KalturaObjectBase { name : { type : 's' }, description : { type : 's' }, conditions : { type : 'a', subTypeConstructor : KalturaBaseSegmentCondition, subType : 'KalturaBaseSegmentCondition' }, + conditionsOperator : { type : 'es', subTypeConstructor : KalturaBooleanOperator, subType : 'KalturaBooleanOperator' }, actions : { type : 'a', subTypeConstructor : KalturaBaseSegmentAction, subType : 'KalturaBaseSegmentAction' }, value : { type : 'o', subTypeConstructor : KalturaBaseSegmentValue, subType : 'KalturaBaseSegmentValue' }, createDate : { type : 'n', readOnly : true }, + updateDate : { type : 'n', readOnly : true }, + executeDate : { type : 'n', readOnly : true }, version : { type : 'n', readOnly : true } } ); diff --git a/src/api/types/KalturaSegmentationTypeFilter.ts b/src/api/types/KalturaSegmentationTypeFilter.ts index 01bc7225..2c760c67 100644 --- a/src/api/types/KalturaSegmentationTypeFilter.ts +++ b/src/api/types/KalturaSegmentationTypeFilter.ts @@ -6,6 +6,7 @@ import { KalturaBaseSegmentationTypeFilter, KalturaBaseSegmentationTypeFilterArg export interface KalturaSegmentationTypeFilterArgs extends KalturaBaseSegmentationTypeFilterArgs { idIn? : string; kSql? : string; + nameContain? : string; } @@ -13,6 +14,7 @@ export class KalturaSegmentationTypeFilter extends KalturaBaseSegmentationTypeFi idIn : string; kSql : string; + nameContain : string; constructor(data? : KalturaSegmentationTypeFilterArgs) { @@ -27,7 +29,8 @@ export class KalturaSegmentationTypeFilter extends KalturaBaseSegmentationTypeFi { objectType : { type : 'c', default : 'KalturaSegmentationTypeFilter' }, idIn : { type : 's' }, - kSql : { type : 's' } + kSql : { type : 's' }, + nameContain : { type : 's' } } ); return result; diff --git a/src/api/types/KalturaSegmentationTypeOrderBy.ts b/src/api/types/KalturaSegmentationTypeOrderBy.ts new file mode 100644 index 00000000..7c2108ca --- /dev/null +++ b/src/api/types/KalturaSegmentationTypeOrderBy.ts @@ -0,0 +1,12 @@ + + +export enum KalturaSegmentationTypeOrderBy { + affectedUsersAsc = 'AFFECTED_USERS_ASC', + affectedUsersDesc = 'AFFECTED_USERS_DESC', + createDateAsc = 'CREATE_DATE_ASC', + createDateDesc = 'CREATE_DATE_DESC', + executeDateAsc = 'EXECUTE_DATE_ASC', + executeDateDesc = 'EXECUTE_DATE_DESC', + updateDateAsc = 'UPDATE_DATE_ASC', + updateDateDesc = 'UPDATE_DATE_DESC' +} \ No newline at end of file diff --git a/src/api/types/KalturaSingleSegmentValue.ts b/src/api/types/KalturaSingleSegmentValue.ts index 80a9634f..091d4655 100644 --- a/src/api/types/KalturaSingleSegmentValue.ts +++ b/src/api/types/KalturaSingleSegmentValue.ts @@ -12,6 +12,7 @@ export class KalturaSingleSegmentValue extends KalturaBaseSegmentValue { readonly id : number; readonly affectedUsers : number; + readonly affectedHouseholds : number; constructor(data? : KalturaSingleSegmentValueArgs) { @@ -26,7 +27,8 @@ export class KalturaSingleSegmentValue extends KalturaBaseSegmentValue { { objectType : { type : 'c', default : 'KalturaSingleSegmentValue' }, id : { type : 'n', readOnly : true }, - affectedUsers : { type : 'n', readOnly : true } + affectedUsers : { type : 'n', readOnly : true }, + affectedHouseholds : { type : 'n', readOnly : true } } ); return result; diff --git a/src/api/types/SegmentationTypeGetPartnerConfigurationAction.ts b/src/api/types/SegmentationTypeGetPartnerConfigurationAction.ts new file mode 100644 index 00000000..c6ddc7c0 --- /dev/null +++ b/src/api/types/SegmentationTypeGetPartnerConfigurationAction.ts @@ -0,0 +1,43 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaSegmentationPartnerConfiguration } from './KalturaSegmentationPartnerConfiguration'; + +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface SegmentationTypeGetPartnerConfigurationActionArgs extends KalturaRequestArgs { + +} + +/** + * Build request payload for service 'segmentationType' action 'getPartnerConfiguration'. + * + * Usage: Get existing segmentation partner configuration + * + * Server response type: KalturaSegmentationPartnerConfiguration + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class SegmentationTypeGetPartnerConfigurationAction extends KalturaRequest { + + + + constructor(data? : SegmentationTypeGetPartnerConfigurationActionArgs) + { + super(data, {responseType : 'o', responseSubType : 'KalturaSegmentationPartnerConfiguration', responseConstructor : KalturaSegmentationPartnerConfiguration }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'segmentationtype' }, + action : { type : 'c', default : 'getPartnerConfiguration' } + } + ); + return result; + } +} + diff --git a/src/api/types/SegmentationTypeUpdatePartnerConfigurationAction.ts b/src/api/types/SegmentationTypeUpdatePartnerConfigurationAction.ts new file mode 100644 index 00000000..93a73861 --- /dev/null +++ b/src/api/types/SegmentationTypeUpdatePartnerConfigurationAction.ts @@ -0,0 +1,44 @@ + +import { KalturaObjectMetadata } from '../kaltura-object-base'; +import { KalturaSegmentationPartnerConfiguration } from './KalturaSegmentationPartnerConfiguration'; + +import { KalturaRequest, KalturaRequestArgs } from '../kaltura-request'; + +export interface SegmentationTypeUpdatePartnerConfigurationActionArgs extends KalturaRequestArgs { + configuration : KalturaSegmentationPartnerConfiguration; +} + +/** + * Build request payload for service 'segmentationType' action 'updatePartnerConfiguration'. + * + * Usage: Set segmentation configuration on partner level + * + * Server response type: KalturaSegmentationPartnerConfiguration + * Server failure response type: KalturaAPIException + * @class + * @extends KalturaRequest + */ +export class SegmentationTypeUpdatePartnerConfigurationAction extends KalturaRequest { + + configuration : KalturaSegmentationPartnerConfiguration; + + constructor(data : SegmentationTypeUpdatePartnerConfigurationActionArgs) + { + super(data, {responseType : 'o', responseSubType : 'KalturaSegmentationPartnerConfiguration', responseConstructor : KalturaSegmentationPartnerConfiguration }); + } + + protected _getMetadata() : KalturaObjectMetadata + { + const result = super._getMetadata(); + Object.assign( + result.properties, + { + service : { type : 'c', default : 'segmentationtype' }, + action : { type : 'c', default : 'updatePartnerConfiguration' }, + configuration : { type : 'o', subTypeConstructor : KalturaSegmentationPartnerConfiguration, subType : 'KalturaSegmentationPartnerConfiguration' } + } + ); + return result; + } +} + diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 6235b762..c760f070 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -159,6 +159,7 @@ export { KalturaCampaignFilter, KalturaCampaignFilterArgs } from './KalturaCampa export { KalturaCampaignSearchFilter, KalturaCampaignSearchFilterArgs } from './KalturaCampaignSearchFilter' export { KalturaBatchCampaignSearchFilter, KalturaBatchCampaignSearchFilterArgs } from './KalturaBatchCampaignSearchFilter' export { KalturaCampaignIdInFilter, KalturaCampaignIdInFilterArgs } from './KalturaCampaignIdInFilter' +export { KalturaCampaignSegmentFilter, KalturaCampaignSegmentFilterArgs } from './KalturaCampaignSegmentFilter' export { KalturaTriggerCampaignSearchFilter, KalturaTriggerCampaignSearchFilterArgs } from './KalturaTriggerCampaignSearchFilter' export { KalturaBusinessModuleRuleFilter, KalturaBusinessModuleRuleFilterArgs } from './KalturaBusinessModuleRuleFilter' export { KalturaCountryFilter, KalturaCountryFilterArgs } from './KalturaCountryFilter' @@ -365,6 +366,9 @@ export { KalturaMessage, KalturaMessageArgs } from './KalturaMessage' export { KalturaBulkUploadResult, KalturaBulkUploadResultArgs } from './KalturaBulkUploadResult' export { KalturaBulkUpload, KalturaBulkUploadArgs } from './KalturaBulkUpload' export { KalturaBulkUploadListResponse, KalturaBulkUploadListResponseArgs } from './KalturaBulkUploadListResponse' +export { KalturaBaseBulkUploadSegmentsResult, KalturaBaseBulkUploadSegmentsResultArgs } from './KalturaBaseBulkUploadSegmentsResult' +export { KalturaBulkSegmentedHouseholdsResult, KalturaBulkSegmentedHouseholdsResultArgs } from './KalturaBulkSegmentedHouseholdsResult' +export { KalturaBulkSegmentedUsersResult, KalturaBulkSegmentedUsersResultArgs } from './KalturaBulkSegmentedUsersResult' export { KalturaBulkUploadAssetResult, KalturaBulkUploadAssetResultArgs } from './KalturaBulkUploadAssetResult' export { KalturaBulkUploadMediaAssetResult, KalturaBulkUploadMediaAssetResultArgs } from './KalturaBulkUploadMediaAssetResult' export { KalturaBulkUploadLiveAssetResult, KalturaBulkUploadLiveAssetResultArgs } from './KalturaBulkUploadLiveAssetResult' @@ -698,6 +702,9 @@ export { KalturaBulkUploadExcelJobData, KalturaBulkUploadExcelJobDataArgs } from export { KalturaBulkUploadIngestJobData, KalturaBulkUploadIngestJobDataArgs } from './KalturaBulkUploadIngestJobData' export { KalturaBulkUploadObjectData, KalturaBulkUploadObjectDataArgs } from './KalturaBulkUploadObjectData' export { KalturaBulkUploadAssetData, KalturaBulkUploadAssetDataArgs } from './KalturaBulkUploadAssetData' +export { KalturaBaseBulkSegments, KalturaBaseBulkSegmentsArgs } from './KalturaBaseBulkSegments' +export { KalturaBulkSegmentedHouseholdsData, KalturaBulkSegmentedHouseholdsDataArgs } from './KalturaBulkSegmentedHouseholdsData' +export { KalturaBulkSegmentedusersData, KalturaBulkSegmentedusersDataArgs } from './KalturaBulkSegmentedusersData' export { KalturaBulkUploadDynamicListData, KalturaBulkUploadDynamicListDataArgs } from './KalturaBulkUploadDynamicListData' export { KalturaBulkUploadUdidDynamicListData, KalturaBulkUploadUdidDynamicListDataArgs } from './KalturaBulkUploadUdidDynamicListData' export { KalturaBulkUploadMediaAssetData, KalturaBulkUploadMediaAssetDataArgs } from './KalturaBulkUploadMediaAssetData' @@ -762,6 +769,7 @@ export { KalturaActionResult, KalturaActionResultArgs } from './KalturaActionRes export { KalturaRegionChannelNumber, KalturaRegionChannelNumberArgs } from './KalturaRegionChannelNumber' export { KalturaRegionChannelNumberMultiLcns, KalturaRegionChannelNumberMultiLcnsArgs } from './KalturaRegionChannelNumberMultiLcns' export { KalturaSearchPriorityGroupOrderedIdsSet, KalturaSearchPriorityGroupOrderedIdsSetArgs } from './KalturaSearchPriorityGroupOrderedIdsSet' +export { KalturaSegmentationPartnerConfiguration, KalturaSegmentationPartnerConfigurationArgs } from './KalturaSegmentationPartnerConfiguration' export { KalturaNetworkActionStatus, KalturaNetworkActionStatusArgs } from './KalturaNetworkActionStatus' export { KalturaUserSocialActionResponse, KalturaUserSocialActionResponseArgs } from './KalturaUserSocialActionResponse' export { KalturaSocial, KalturaSocialArgs } from './KalturaSocial' @@ -818,6 +826,7 @@ export { KalturaBillingItemsType } from './KalturaBillingItemsType' export { KalturaBillingPriceType } from './KalturaBillingPriceType' export { KalturaBookmarkActionType } from './KalturaBookmarkActionType' export { KalturaBookmarkOrderBy } from './KalturaBookmarkOrderBy' +export { KalturaBooleanOperator } from './KalturaBooleanOperator' export { KalturaBulkUploadJobAction } from './KalturaBulkUploadJobAction' export { KalturaBulkUploadJobStatus } from './KalturaBulkUploadJobStatus' export { KalturaBulkUploadOrderBy } from './KalturaBulkUploadOrderBy' @@ -966,6 +975,7 @@ export { KalturaScheduledRecordingAssetType } from './KalturaScheduledRecordingA export { KalturaSearchHistoryOrderBy } from './KalturaSearchHistoryOrderBy' export { KalturaSearchPriorityCriteriaType } from './KalturaSearchPriorityCriteriaType' export { KalturaSearchPriorityGroupOrderBy } from './KalturaSearchPriorityGroupOrderBy' +export { KalturaSegmentationTypeOrderBy } from './KalturaSegmentationTypeOrderBy' export { KalturaSeriesRecordingOrderBy } from './KalturaSeriesRecordingOrderBy' export { KalturaSeriesReminderOrderBy } from './KalturaSeriesReminderOrderBy' export { KalturaSkipOperators } from './KalturaSkipOperators' @@ -1466,8 +1476,10 @@ export { SearchPriorityGroupOrderedIdsSetGetAction, SearchPriorityGroupOrderedId export { SearchPriorityGroupOrderedIdsSetSetAction, SearchPriorityGroupOrderedIdsSetSetActionArgs } from './SearchPriorityGroupOrderedIdsSetSetAction' export { SegmentationTypeAddAction, SegmentationTypeAddActionArgs } from './SegmentationTypeAddAction' export { SegmentationTypeDeleteAction, SegmentationTypeDeleteActionArgs } from './SegmentationTypeDeleteAction' +export { SegmentationTypeGetPartnerConfigurationAction, SegmentationTypeGetPartnerConfigurationActionArgs } from './SegmentationTypeGetPartnerConfigurationAction' export { SegmentationTypeListAction, SegmentationTypeListActionArgs } from './SegmentationTypeListAction' export { SegmentationTypeUpdateAction, SegmentationTypeUpdateActionArgs } from './SegmentationTypeUpdateAction' +export { SegmentationTypeUpdatePartnerConfigurationAction, SegmentationTypeUpdatePartnerConfigurationActionArgs } from './SegmentationTypeUpdatePartnerConfigurationAction' export { SeriesRecordingAddAction, SeriesRecordingAddActionArgs } from './SeriesRecordingAddAction' export { SeriesRecordingCancelAction, SeriesRecordingCancelActionArgs } from './SeriesRecordingCancelAction' export { SeriesRecordingCancelByEpgIdAction, SeriesRecordingCancelByEpgIdActionArgs } from './SeriesRecordingCancelByEpgIdAction' diff --git a/src/environment.ts b/src/environment.ts index 1901b5e7..4289d666 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -12,7 +12,7 @@ export interface Environment { export const environment: Environment = { request: { - apiVersion: '7.9.0.30000', + apiVersion: '8.0.0.30023', ottMode: true, fileFormatValue: 20 },