yellowgrid-api-ts 3.2.246-dev.0 → 3.2.248-dev.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/.openapi-generator/FILES +5 -0
- package/README.md +13 -0
- package/api.ts +899 -8
- package/dist/api.d.ts +562 -8
- package/dist/api.js +716 -4
- package/docs/BrandedVideoSummaryDTO.md +45 -0
- package/docs/BrandedVideosApi.md +424 -0
- package/docs/BrandedVideosSummariesModel.md +27 -0
- package/docs/OAuth20Api.md +3 -3
- package/docs/PromoCodesEntity.md +5 -5
- package/docs/PromoModel.md +5 -5
- package/docs/PromoSummaryDTO.md +2 -0
- package/docs/ThumbnailDTO.md +25 -0
- package/docs/VideoRequestEntity.md +51 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1478,6 +1478,7 @@ export const AuditLogEntityTypeEnum = {
|
|
|
1478
1478
|
Pops3cxSipTrunks: 'pops_3cx_sip_trunks',
|
|
1479
1479
|
Pops3cxUsers: 'pops_3cx_users',
|
|
1480
1480
|
PopsUsers: 'pops_users',
|
|
1481
|
+
PopsVideoRequests: 'pops_video_requests',
|
|
1481
1482
|
Webhook: 'webhook',
|
|
1482
1483
|
PopsXeroLog: 'pops_xero_log',
|
|
1483
1484
|
Oauth2Clients: 'oauth2_clients',
|
|
@@ -1881,6 +1882,139 @@ export interface BatchEntity {
|
|
|
1881
1882
|
*/
|
|
1882
1883
|
'mac'?: string;
|
|
1883
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
* Branded Video Summary
|
|
1887
|
+
* @export
|
|
1888
|
+
* @interface BrandedVideoSummaryDTO
|
|
1889
|
+
*/
|
|
1890
|
+
export interface BrandedVideoSummaryDTO {
|
|
1891
|
+
/**
|
|
1892
|
+
* ID
|
|
1893
|
+
* @type {number}
|
|
1894
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1895
|
+
*/
|
|
1896
|
+
'id'?: number;
|
|
1897
|
+
/**
|
|
1898
|
+
* Company
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1901
|
+
*/
|
|
1902
|
+
'company'?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Type
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1907
|
+
*/
|
|
1908
|
+
'type'?: BrandedVideoSummaryDTOTypeEnum;
|
|
1909
|
+
/**
|
|
1910
|
+
* Video
|
|
1911
|
+
* @type {string}
|
|
1912
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1913
|
+
*/
|
|
1914
|
+
'video'?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* Email
|
|
1917
|
+
* @type {string}
|
|
1918
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1919
|
+
*/
|
|
1920
|
+
'email'?: string;
|
|
1921
|
+
/**
|
|
1922
|
+
* Website
|
|
1923
|
+
* @type {string}
|
|
1924
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1925
|
+
*/
|
|
1926
|
+
'website'?: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* Telephone
|
|
1929
|
+
* @type {string}
|
|
1930
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1931
|
+
*/
|
|
1932
|
+
'telephone'?: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* Invoice Number
|
|
1935
|
+
* @type {string}
|
|
1936
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1937
|
+
*/
|
|
1938
|
+
'invoiceNumber'?: string | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Date Time
|
|
1941
|
+
* @type {string}
|
|
1942
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1943
|
+
*/
|
|
1944
|
+
'requestDate'?: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* Date Time
|
|
1947
|
+
* @type {string}
|
|
1948
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1949
|
+
*/
|
|
1950
|
+
'dueDate'?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* OneDrive ID
|
|
1953
|
+
* @type {string}
|
|
1954
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1955
|
+
*/
|
|
1956
|
+
'oneDriveId'?: string | null;
|
|
1957
|
+
/**
|
|
1958
|
+
* Status
|
|
1959
|
+
* @type {string}
|
|
1960
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1961
|
+
*/
|
|
1962
|
+
'status'?: BrandedVideoSummaryDTOStatusEnum;
|
|
1963
|
+
/**
|
|
1964
|
+
* Notes
|
|
1965
|
+
* @type {string}
|
|
1966
|
+
* @memberof BrandedVideoSummaryDTO
|
|
1967
|
+
*/
|
|
1968
|
+
'notes'?: string;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
export const BrandedVideoSummaryDTOTypeEnum = {
|
|
1972
|
+
Paid: 'paid',
|
|
1973
|
+
Reward: 'reward',
|
|
1974
|
+
Sample: 'sample'
|
|
1975
|
+
} as const;
|
|
1976
|
+
|
|
1977
|
+
export type BrandedVideoSummaryDTOTypeEnum = typeof BrandedVideoSummaryDTOTypeEnum[keyof typeof BrandedVideoSummaryDTOTypeEnum];
|
|
1978
|
+
export const BrandedVideoSummaryDTOStatusEnum = {
|
|
1979
|
+
Pending: 'pending',
|
|
1980
|
+
Complete: 'complete',
|
|
1981
|
+
Incomplete: 'incomplete',
|
|
1982
|
+
Unpaid: 'unpaid'
|
|
1983
|
+
} as const;
|
|
1984
|
+
|
|
1985
|
+
export type BrandedVideoSummaryDTOStatusEnum = typeof BrandedVideoSummaryDTOStatusEnum[keyof typeof BrandedVideoSummaryDTOStatusEnum];
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* Promotions
|
|
1989
|
+
* @export
|
|
1990
|
+
* @interface BrandedVideosSummariesModel
|
|
1991
|
+
*/
|
|
1992
|
+
export interface BrandedVideosSummariesModel {
|
|
1993
|
+
/**
|
|
1994
|
+
* Results
|
|
1995
|
+
* @type {Array<BrandedVideoSummaryDTO>}
|
|
1996
|
+
* @memberof BrandedVideosSummariesModel
|
|
1997
|
+
*/
|
|
1998
|
+
'results'?: Array<BrandedVideoSummaryDTO>;
|
|
1999
|
+
/**
|
|
2000
|
+
* Page
|
|
2001
|
+
* @type {number}
|
|
2002
|
+
* @memberof BrandedVideosSummariesModel
|
|
2003
|
+
*/
|
|
2004
|
+
'page'?: number;
|
|
2005
|
+
/**
|
|
2006
|
+
* Per Page
|
|
2007
|
+
* @type {number}
|
|
2008
|
+
* @memberof BrandedVideosSummariesModel
|
|
2009
|
+
*/
|
|
2010
|
+
'perPage'?: number;
|
|
2011
|
+
/**
|
|
2012
|
+
* Total Results
|
|
2013
|
+
* @type {number}
|
|
2014
|
+
* @memberof BrandedVideosSummariesModel
|
|
2015
|
+
*/
|
|
2016
|
+
'totalResults'?: number;
|
|
2017
|
+
}
|
|
1884
2018
|
/**
|
|
1885
2019
|
*
|
|
1886
2020
|
* @export
|
|
@@ -10008,13 +10142,13 @@ export interface PromoCodesEntity {
|
|
|
10008
10142
|
* @type {string}
|
|
10009
10143
|
* @memberof PromoCodesEntity
|
|
10010
10144
|
*/
|
|
10011
|
-
'
|
|
10145
|
+
'startDate'?: string;
|
|
10012
10146
|
/**
|
|
10013
10147
|
* Date Time
|
|
10014
10148
|
* @type {string}
|
|
10015
10149
|
* @memberof PromoCodesEntity
|
|
10016
10150
|
*/
|
|
10017
|
-
'
|
|
10151
|
+
'endDate'?: string;
|
|
10018
10152
|
/**
|
|
10019
10153
|
* customerLimit
|
|
10020
10154
|
* @type {number}
|
|
@@ -10029,10 +10163,10 @@ export interface PromoCodesEntity {
|
|
|
10029
10163
|
'globalLimit'?: number;
|
|
10030
10164
|
/**
|
|
10031
10165
|
* orderRestrictions
|
|
10032
|
-
* @type {string}
|
|
10166
|
+
* @type {Array<string>}
|
|
10033
10167
|
* @memberof PromoCodesEntity
|
|
10034
10168
|
*/
|
|
10035
|
-
'orderRestrictions'?: string
|
|
10169
|
+
'orderRestrictions'?: Array<string>;
|
|
10036
10170
|
/**
|
|
10037
10171
|
* includeDistribution
|
|
10038
10172
|
* @type {boolean}
|
|
@@ -10197,13 +10331,13 @@ export interface PromoModel {
|
|
|
10197
10331
|
* @type {string}
|
|
10198
10332
|
* @memberof PromoModel
|
|
10199
10333
|
*/
|
|
10200
|
-
'
|
|
10334
|
+
'startDate'?: string;
|
|
10201
10335
|
/**
|
|
10202
10336
|
* Date Time
|
|
10203
10337
|
* @type {string}
|
|
10204
10338
|
* @memberof PromoModel
|
|
10205
10339
|
*/
|
|
10206
|
-
'
|
|
10340
|
+
'endDate'?: string;
|
|
10207
10341
|
/**
|
|
10208
10342
|
* customerLimit
|
|
10209
10343
|
* @type {number}
|
|
@@ -10218,10 +10352,10 @@ export interface PromoModel {
|
|
|
10218
10352
|
'globalLimit'?: number;
|
|
10219
10353
|
/**
|
|
10220
10354
|
* orderRestrictions
|
|
10221
|
-
* @type {string}
|
|
10355
|
+
* @type {Array<string>}
|
|
10222
10356
|
* @memberof PromoModel
|
|
10223
10357
|
*/
|
|
10224
|
-
'orderRestrictions'?: string
|
|
10358
|
+
'orderRestrictions'?: Array<string>;
|
|
10225
10359
|
/**
|
|
10226
10360
|
* includeDistribution
|
|
10227
10361
|
* @type {boolean}
|
|
@@ -10290,6 +10424,12 @@ export interface PromoSummariesModel {
|
|
|
10290
10424
|
* @interface PromoSummaryDTO
|
|
10291
10425
|
*/
|
|
10292
10426
|
export interface PromoSummaryDTO {
|
|
10427
|
+
/**
|
|
10428
|
+
* ID
|
|
10429
|
+
* @type {number}
|
|
10430
|
+
* @memberof PromoSummaryDTO
|
|
10431
|
+
*/
|
|
10432
|
+
'id'?: number | null;
|
|
10293
10433
|
/**
|
|
10294
10434
|
* Description
|
|
10295
10435
|
* @type {string}
|
|
@@ -16609,6 +16749,31 @@ export interface TechSupportCompanySummaryDTO {
|
|
|
16609
16749
|
*/
|
|
16610
16750
|
'monthlyReportEmailAddress'?: string;
|
|
16611
16751
|
}
|
|
16752
|
+
/**
|
|
16753
|
+
* Thumbnail
|
|
16754
|
+
* @export
|
|
16755
|
+
* @interface ThumbnailDTO
|
|
16756
|
+
*/
|
|
16757
|
+
export interface ThumbnailDTO {
|
|
16758
|
+
/**
|
|
16759
|
+
* ID
|
|
16760
|
+
* @type {string}
|
|
16761
|
+
* @memberof ThumbnailDTO
|
|
16762
|
+
*/
|
|
16763
|
+
'id'?: string;
|
|
16764
|
+
/**
|
|
16765
|
+
* Name
|
|
16766
|
+
* @type {string}
|
|
16767
|
+
* @memberof ThumbnailDTO
|
|
16768
|
+
*/
|
|
16769
|
+
'name'?: string;
|
|
16770
|
+
/**
|
|
16771
|
+
* URL
|
|
16772
|
+
* @type {string}
|
|
16773
|
+
* @memberof ThumbnailDTO
|
|
16774
|
+
*/
|
|
16775
|
+
'url'?: string;
|
|
16776
|
+
}
|
|
16612
16777
|
/**
|
|
16613
16778
|
* Ticket Summary Model
|
|
16614
16779
|
* @export
|
|
@@ -17050,6 +17215,109 @@ export interface UserEntity {
|
|
|
17050
17215
|
*/
|
|
17051
17216
|
'secondaryHex'?: number | null;
|
|
17052
17217
|
}
|
|
17218
|
+
/**
|
|
17219
|
+
* VideoRequestsEntity
|
|
17220
|
+
* @export
|
|
17221
|
+
* @interface VideoRequestEntity
|
|
17222
|
+
*/
|
|
17223
|
+
export interface VideoRequestEntity {
|
|
17224
|
+
/**
|
|
17225
|
+
* id
|
|
17226
|
+
* @type {number}
|
|
17227
|
+
* @memberof VideoRequestEntity
|
|
17228
|
+
*/
|
|
17229
|
+
'id'?: number;
|
|
17230
|
+
/**
|
|
17231
|
+
* userId
|
|
17232
|
+
* @type {number}
|
|
17233
|
+
* @memberof VideoRequestEntity
|
|
17234
|
+
*/
|
|
17235
|
+
'userId'?: number;
|
|
17236
|
+
/**
|
|
17237
|
+
* type
|
|
17238
|
+
* @type {string}
|
|
17239
|
+
* @memberof VideoRequestEntity
|
|
17240
|
+
*/
|
|
17241
|
+
'type'?: string;
|
|
17242
|
+
/**
|
|
17243
|
+
* status
|
|
17244
|
+
* @type {string}
|
|
17245
|
+
* @memberof VideoRequestEntity
|
|
17246
|
+
*/
|
|
17247
|
+
'status'?: string;
|
|
17248
|
+
/**
|
|
17249
|
+
* video
|
|
17250
|
+
* @type {string}
|
|
17251
|
+
* @memberof VideoRequestEntity
|
|
17252
|
+
*/
|
|
17253
|
+
'video'?: string;
|
|
17254
|
+
/**
|
|
17255
|
+
* company
|
|
17256
|
+
* @type {string}
|
|
17257
|
+
* @memberof VideoRequestEntity
|
|
17258
|
+
*/
|
|
17259
|
+
'company'?: string;
|
|
17260
|
+
/**
|
|
17261
|
+
* email
|
|
17262
|
+
* @type {string}
|
|
17263
|
+
* @memberof VideoRequestEntity
|
|
17264
|
+
*/
|
|
17265
|
+
'email'?: string;
|
|
17266
|
+
/**
|
|
17267
|
+
* website
|
|
17268
|
+
* @type {string}
|
|
17269
|
+
* @memberof VideoRequestEntity
|
|
17270
|
+
*/
|
|
17271
|
+
'website'?: string;
|
|
17272
|
+
/**
|
|
17273
|
+
* telephone
|
|
17274
|
+
* @type {string}
|
|
17275
|
+
* @memberof VideoRequestEntity
|
|
17276
|
+
*/
|
|
17277
|
+
'telephone'?: string;
|
|
17278
|
+
/**
|
|
17279
|
+
* notes
|
|
17280
|
+
* @type {string}
|
|
17281
|
+
* @memberof VideoRequestEntity
|
|
17282
|
+
*/
|
|
17283
|
+
'notes'?: string;
|
|
17284
|
+
/**
|
|
17285
|
+
* requestDate
|
|
17286
|
+
* @type {string}
|
|
17287
|
+
* @memberof VideoRequestEntity
|
|
17288
|
+
*/
|
|
17289
|
+
'requestDate'?: string;
|
|
17290
|
+
/**
|
|
17291
|
+
* dueDate
|
|
17292
|
+
* @type {string}
|
|
17293
|
+
* @memberof VideoRequestEntity
|
|
17294
|
+
*/
|
|
17295
|
+
'dueDate'?: string;
|
|
17296
|
+
/**
|
|
17297
|
+
* invId
|
|
17298
|
+
* @type {string}
|
|
17299
|
+
* @memberof VideoRequestEntity
|
|
17300
|
+
*/
|
|
17301
|
+
'invId'?: string | null;
|
|
17302
|
+
/**
|
|
17303
|
+
* invNo
|
|
17304
|
+
* @type {string}
|
|
17305
|
+
* @memberof VideoRequestEntity
|
|
17306
|
+
*/
|
|
17307
|
+
'invNo'?: string | null;
|
|
17308
|
+
/**
|
|
17309
|
+
* onedriveId
|
|
17310
|
+
* @type {string}
|
|
17311
|
+
* @memberof VideoRequestEntity
|
|
17312
|
+
*/
|
|
17313
|
+
'onedriveId'?: string | null;
|
|
17314
|
+
/**
|
|
17315
|
+
* thumbnailId
|
|
17316
|
+
* @type {string}
|
|
17317
|
+
* @memberof VideoRequestEntity
|
|
17318
|
+
*/
|
|
17319
|
+
'thumbnailId'?: string;
|
|
17320
|
+
}
|
|
17053
17321
|
/**
|
|
17054
17322
|
* XeroLogEntity
|
|
17055
17323
|
* @export
|
|
@@ -25269,6 +25537,625 @@ export const GetGetServicesPlanDetailsTypeEnum = {
|
|
|
25269
25537
|
export type GetGetServicesPlanDetailsTypeEnum = typeof GetGetServicesPlanDetailsTypeEnum[keyof typeof GetGetServicesPlanDetailsTypeEnum];
|
|
25270
25538
|
|
|
25271
25539
|
|
|
25540
|
+
/**
|
|
25541
|
+
* BrandedVideosApi - axios parameter creator
|
|
25542
|
+
* @export
|
|
25543
|
+
*/
|
|
25544
|
+
export const BrandedVideosApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
25545
|
+
return {
|
|
25546
|
+
/**
|
|
25547
|
+
* Send Branded Video Email
|
|
25548
|
+
* @param {number} id Video ID
|
|
25549
|
+
* @param {number} [customerId] Customer ID
|
|
25550
|
+
* @param {*} [options] Override http request option.
|
|
25551
|
+
* @throws {RequiredError}
|
|
25552
|
+
*/
|
|
25553
|
+
deleteDeleteVideoRequest: async (id: number, customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25554
|
+
// verify required parameter 'id' is not null or undefined
|
|
25555
|
+
assertParamExists('deleteDeleteVideoRequest', 'id', id)
|
|
25556
|
+
const localVarPath = `/marketing/videos/{id}`
|
|
25557
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
25558
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25559
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25560
|
+
let baseOptions;
|
|
25561
|
+
if (configuration) {
|
|
25562
|
+
baseOptions = configuration.baseOptions;
|
|
25563
|
+
}
|
|
25564
|
+
|
|
25565
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
25566
|
+
const localVarHeaderParameter = {} as any;
|
|
25567
|
+
const localVarQueryParameter = {} as any;
|
|
25568
|
+
|
|
25569
|
+
if (customerId !== undefined) {
|
|
25570
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25571
|
+
}
|
|
25572
|
+
|
|
25573
|
+
|
|
25574
|
+
|
|
25575
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25577
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25578
|
+
|
|
25579
|
+
return {
|
|
25580
|
+
url: toPathString(localVarUrlObj),
|
|
25581
|
+
options: localVarRequestOptions,
|
|
25582
|
+
};
|
|
25583
|
+
},
|
|
25584
|
+
/**
|
|
25585
|
+
* Get Customer Logo
|
|
25586
|
+
* @param {number} [customerId] Customer ID
|
|
25587
|
+
* @param {*} [options] Override http request option.
|
|
25588
|
+
* @throws {RequiredError}
|
|
25589
|
+
*/
|
|
25590
|
+
getDownloadLogo: async (customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25591
|
+
const localVarPath = `/marketing/videos/logo`;
|
|
25592
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25593
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25594
|
+
let baseOptions;
|
|
25595
|
+
if (configuration) {
|
|
25596
|
+
baseOptions = configuration.baseOptions;
|
|
25597
|
+
}
|
|
25598
|
+
|
|
25599
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25600
|
+
const localVarHeaderParameter = {} as any;
|
|
25601
|
+
const localVarQueryParameter = {} as any;
|
|
25602
|
+
|
|
25603
|
+
if (customerId !== undefined) {
|
|
25604
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25605
|
+
}
|
|
25606
|
+
|
|
25607
|
+
|
|
25608
|
+
|
|
25609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25611
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25612
|
+
|
|
25613
|
+
return {
|
|
25614
|
+
url: toPathString(localVarUrlObj),
|
|
25615
|
+
options: localVarRequestOptions,
|
|
25616
|
+
};
|
|
25617
|
+
},
|
|
25618
|
+
/**
|
|
25619
|
+
* Get Branded Videos
|
|
25620
|
+
* @param {number} [pageSize] Number Of Results
|
|
25621
|
+
* @param {number} [page] Page Number
|
|
25622
|
+
* @param {string} [search] Search
|
|
25623
|
+
* @param {GetGetBrandedVideosTypeEnum} [type] Type
|
|
25624
|
+
* @param {boolean} [outstanding] Outstanding
|
|
25625
|
+
* @param {boolean} [overdue] Overdue
|
|
25626
|
+
* @param {number} [customerId] Customer ID
|
|
25627
|
+
* @param {*} [options] Override http request option.
|
|
25628
|
+
* @throws {RequiredError}
|
|
25629
|
+
*/
|
|
25630
|
+
getGetBrandedVideos: async (pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25631
|
+
const localVarPath = `/marketing/videos`;
|
|
25632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25634
|
+
let baseOptions;
|
|
25635
|
+
if (configuration) {
|
|
25636
|
+
baseOptions = configuration.baseOptions;
|
|
25637
|
+
}
|
|
25638
|
+
|
|
25639
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25640
|
+
const localVarHeaderParameter = {} as any;
|
|
25641
|
+
const localVarQueryParameter = {} as any;
|
|
25642
|
+
|
|
25643
|
+
if (pageSize !== undefined) {
|
|
25644
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
25645
|
+
}
|
|
25646
|
+
|
|
25647
|
+
if (page !== undefined) {
|
|
25648
|
+
localVarQueryParameter['page'] = page;
|
|
25649
|
+
}
|
|
25650
|
+
|
|
25651
|
+
if (search !== undefined) {
|
|
25652
|
+
localVarQueryParameter['search'] = search;
|
|
25653
|
+
}
|
|
25654
|
+
|
|
25655
|
+
if (type !== undefined) {
|
|
25656
|
+
localVarQueryParameter['type'] = type;
|
|
25657
|
+
}
|
|
25658
|
+
|
|
25659
|
+
if (outstanding !== undefined) {
|
|
25660
|
+
localVarQueryParameter['outstanding'] = outstanding;
|
|
25661
|
+
}
|
|
25662
|
+
|
|
25663
|
+
if (overdue !== undefined) {
|
|
25664
|
+
localVarQueryParameter['overdue'] = overdue;
|
|
25665
|
+
}
|
|
25666
|
+
|
|
25667
|
+
if (customerId !== undefined) {
|
|
25668
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25669
|
+
}
|
|
25670
|
+
|
|
25671
|
+
|
|
25672
|
+
|
|
25673
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25675
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25676
|
+
|
|
25677
|
+
return {
|
|
25678
|
+
url: toPathString(localVarUrlObj),
|
|
25679
|
+
options: localVarRequestOptions,
|
|
25680
|
+
};
|
|
25681
|
+
},
|
|
25682
|
+
/**
|
|
25683
|
+
* Get Thumbnails
|
|
25684
|
+
* @param {*} [options] Override http request option.
|
|
25685
|
+
* @throws {RequiredError}
|
|
25686
|
+
*/
|
|
25687
|
+
getGetThumbnails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25688
|
+
const localVarPath = `/marketing/videos/thumbnails`;
|
|
25689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25690
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25691
|
+
let baseOptions;
|
|
25692
|
+
if (configuration) {
|
|
25693
|
+
baseOptions = configuration.baseOptions;
|
|
25694
|
+
}
|
|
25695
|
+
|
|
25696
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25697
|
+
const localVarHeaderParameter = {} as any;
|
|
25698
|
+
const localVarQueryParameter = {} as any;
|
|
25699
|
+
|
|
25700
|
+
|
|
25701
|
+
|
|
25702
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25704
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25705
|
+
|
|
25706
|
+
return {
|
|
25707
|
+
url: toPathString(localVarUrlObj),
|
|
25708
|
+
options: localVarRequestOptions,
|
|
25709
|
+
};
|
|
25710
|
+
},
|
|
25711
|
+
/**
|
|
25712
|
+
* Upload logo
|
|
25713
|
+
* @param {File} logo Logo
|
|
25714
|
+
* @param {number} [customerId] Customer ID
|
|
25715
|
+
* @param {*} [options] Override http request option.
|
|
25716
|
+
* @throws {RequiredError}
|
|
25717
|
+
*/
|
|
25718
|
+
postDownloadLogo: async (logo: File, customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25719
|
+
// verify required parameter 'logo' is not null or undefined
|
|
25720
|
+
assertParamExists('postDownloadLogo', 'logo', logo)
|
|
25721
|
+
const localVarPath = `/marketing/videos/logo`;
|
|
25722
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25723
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25724
|
+
let baseOptions;
|
|
25725
|
+
if (configuration) {
|
|
25726
|
+
baseOptions = configuration.baseOptions;
|
|
25727
|
+
}
|
|
25728
|
+
|
|
25729
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25730
|
+
const localVarHeaderParameter = {} as any;
|
|
25731
|
+
const localVarQueryParameter = {} as any;
|
|
25732
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
25733
|
+
|
|
25734
|
+
if (customerId !== undefined) {
|
|
25735
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25736
|
+
}
|
|
25737
|
+
|
|
25738
|
+
|
|
25739
|
+
if (logo !== undefined) {
|
|
25740
|
+
localVarFormParams.append('logo', logo as any);
|
|
25741
|
+
}
|
|
25742
|
+
|
|
25743
|
+
|
|
25744
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
25745
|
+
|
|
25746
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25748
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25749
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
25750
|
+
|
|
25751
|
+
return {
|
|
25752
|
+
url: toPathString(localVarUrlObj),
|
|
25753
|
+
options: localVarRequestOptions,
|
|
25754
|
+
};
|
|
25755
|
+
},
|
|
25756
|
+
/**
|
|
25757
|
+
* Send Branded Video Email
|
|
25758
|
+
* @param {string} email Email
|
|
25759
|
+
* @param {number} id Video ID
|
|
25760
|
+
* @param {number} [customerId] Customer ID
|
|
25761
|
+
* @param {*} [options] Override http request option.
|
|
25762
|
+
* @throws {RequiredError}
|
|
25763
|
+
*/
|
|
25764
|
+
postSendBrandedVideoEmail: async (email: string, id: number, customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25765
|
+
// verify required parameter 'email' is not null or undefined
|
|
25766
|
+
assertParamExists('postSendBrandedVideoEmail', 'email', email)
|
|
25767
|
+
// verify required parameter 'id' is not null or undefined
|
|
25768
|
+
assertParamExists('postSendBrandedVideoEmail', 'id', id)
|
|
25769
|
+
const localVarPath = `/marketing/videos/{id}/send`
|
|
25770
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
25771
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25772
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25773
|
+
let baseOptions;
|
|
25774
|
+
if (configuration) {
|
|
25775
|
+
baseOptions = configuration.baseOptions;
|
|
25776
|
+
}
|
|
25777
|
+
|
|
25778
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25779
|
+
const localVarHeaderParameter = {} as any;
|
|
25780
|
+
const localVarQueryParameter = {} as any;
|
|
25781
|
+
|
|
25782
|
+
if (customerId !== undefined) {
|
|
25783
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25784
|
+
}
|
|
25785
|
+
|
|
25786
|
+
if (email !== undefined) {
|
|
25787
|
+
localVarQueryParameter['email'] = email;
|
|
25788
|
+
}
|
|
25789
|
+
|
|
25790
|
+
|
|
25791
|
+
|
|
25792
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25794
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25795
|
+
|
|
25796
|
+
return {
|
|
25797
|
+
url: toPathString(localVarUrlObj),
|
|
25798
|
+
options: localVarRequestOptions,
|
|
25799
|
+
};
|
|
25800
|
+
},
|
|
25801
|
+
/**
|
|
25802
|
+
* Upload Video
|
|
25803
|
+
* @param {string} thumbnailId Thumbnail ID
|
|
25804
|
+
* @param {number} id Video ID
|
|
25805
|
+
* @param {File} video Video
|
|
25806
|
+
* @param {number} [customerId] Customer ID
|
|
25807
|
+
* @param {*} [options] Override http request option.
|
|
25808
|
+
* @throws {RequiredError}
|
|
25809
|
+
*/
|
|
25810
|
+
postUploadVideo: async (thumbnailId: string, id: number, video: File, customerId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25811
|
+
// verify required parameter 'thumbnailId' is not null or undefined
|
|
25812
|
+
assertParamExists('postUploadVideo', 'thumbnailId', thumbnailId)
|
|
25813
|
+
// verify required parameter 'id' is not null or undefined
|
|
25814
|
+
assertParamExists('postUploadVideo', 'id', id)
|
|
25815
|
+
// verify required parameter 'video' is not null or undefined
|
|
25816
|
+
assertParamExists('postUploadVideo', 'video', video)
|
|
25817
|
+
const localVarPath = `/marketing/videos/{id}/upload`
|
|
25818
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
25819
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25820
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25821
|
+
let baseOptions;
|
|
25822
|
+
if (configuration) {
|
|
25823
|
+
baseOptions = configuration.baseOptions;
|
|
25824
|
+
}
|
|
25825
|
+
|
|
25826
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25827
|
+
const localVarHeaderParameter = {} as any;
|
|
25828
|
+
const localVarQueryParameter = {} as any;
|
|
25829
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
25830
|
+
|
|
25831
|
+
if (customerId !== undefined) {
|
|
25832
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
25833
|
+
}
|
|
25834
|
+
|
|
25835
|
+
if (thumbnailId !== undefined) {
|
|
25836
|
+
localVarQueryParameter['thumbnailId'] = thumbnailId;
|
|
25837
|
+
}
|
|
25838
|
+
|
|
25839
|
+
|
|
25840
|
+
if (video !== undefined) {
|
|
25841
|
+
localVarFormParams.append('video', video as any);
|
|
25842
|
+
}
|
|
25843
|
+
|
|
25844
|
+
|
|
25845
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
25846
|
+
|
|
25847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25850
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
25851
|
+
|
|
25852
|
+
return {
|
|
25853
|
+
url: toPathString(localVarUrlObj),
|
|
25854
|
+
options: localVarRequestOptions,
|
|
25855
|
+
};
|
|
25856
|
+
},
|
|
25857
|
+
}
|
|
25858
|
+
};
|
|
25859
|
+
|
|
25860
|
+
/**
|
|
25861
|
+
* BrandedVideosApi - functional programming interface
|
|
25862
|
+
* @export
|
|
25863
|
+
*/
|
|
25864
|
+
export const BrandedVideosApiFp = function(configuration?: Configuration) {
|
|
25865
|
+
const localVarAxiosParamCreator = BrandedVideosApiAxiosParamCreator(configuration)
|
|
25866
|
+
return {
|
|
25867
|
+
/**
|
|
25868
|
+
* Send Branded Video Email
|
|
25869
|
+
* @param {number} id Video ID
|
|
25870
|
+
* @param {number} [customerId] Customer ID
|
|
25871
|
+
* @param {*} [options] Override http request option.
|
|
25872
|
+
* @throws {RequiredError}
|
|
25873
|
+
*/
|
|
25874
|
+
async deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
25875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteVideoRequest(id, customerId, options);
|
|
25876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25877
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.deleteDeleteVideoRequest']?.[localVarOperationServerIndex]?.url;
|
|
25878
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25879
|
+
},
|
|
25880
|
+
/**
|
|
25881
|
+
* Get Customer Logo
|
|
25882
|
+
* @param {number} [customerId] Customer ID
|
|
25883
|
+
* @param {*} [options] Override http request option.
|
|
25884
|
+
* @throws {RequiredError}
|
|
25885
|
+
*/
|
|
25886
|
+
async getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
25887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDownloadLogo(customerId, options);
|
|
25888
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25889
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.getDownloadLogo']?.[localVarOperationServerIndex]?.url;
|
|
25890
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25891
|
+
},
|
|
25892
|
+
/**
|
|
25893
|
+
* Get Branded Videos
|
|
25894
|
+
* @param {number} [pageSize] Number Of Results
|
|
25895
|
+
* @param {number} [page] Page Number
|
|
25896
|
+
* @param {string} [search] Search
|
|
25897
|
+
* @param {GetGetBrandedVideosTypeEnum} [type] Type
|
|
25898
|
+
* @param {boolean} [outstanding] Outstanding
|
|
25899
|
+
* @param {boolean} [overdue] Overdue
|
|
25900
|
+
* @param {number} [customerId] Customer ID
|
|
25901
|
+
* @param {*} [options] Override http request option.
|
|
25902
|
+
* @throws {RequiredError}
|
|
25903
|
+
*/
|
|
25904
|
+
async getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandedVideosSummariesModel>> {
|
|
25905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options);
|
|
25906
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25907
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.getGetBrandedVideos']?.[localVarOperationServerIndex]?.url;
|
|
25908
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25909
|
+
},
|
|
25910
|
+
/**
|
|
25911
|
+
* Get Thumbnails
|
|
25912
|
+
* @param {*} [options] Override http request option.
|
|
25913
|
+
* @throws {RequiredError}
|
|
25914
|
+
*/
|
|
25915
|
+
async getGetThumbnails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ThumbnailDTO>>> {
|
|
25916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetThumbnails(options);
|
|
25917
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25918
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.getGetThumbnails']?.[localVarOperationServerIndex]?.url;
|
|
25919
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25920
|
+
},
|
|
25921
|
+
/**
|
|
25922
|
+
* Upload logo
|
|
25923
|
+
* @param {File} logo Logo
|
|
25924
|
+
* @param {number} [customerId] Customer ID
|
|
25925
|
+
* @param {*} [options] Override http request option.
|
|
25926
|
+
* @throws {RequiredError}
|
|
25927
|
+
*/
|
|
25928
|
+
async postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
25929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postDownloadLogo(logo, customerId, options);
|
|
25930
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25931
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.postDownloadLogo']?.[localVarOperationServerIndex]?.url;
|
|
25932
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25933
|
+
},
|
|
25934
|
+
/**
|
|
25935
|
+
* Send Branded Video Email
|
|
25936
|
+
* @param {string} email Email
|
|
25937
|
+
* @param {number} id Video ID
|
|
25938
|
+
* @param {number} [customerId] Customer ID
|
|
25939
|
+
* @param {*} [options] Override http request option.
|
|
25940
|
+
* @throws {RequiredError}
|
|
25941
|
+
*/
|
|
25942
|
+
async postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
25943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSendBrandedVideoEmail(email, id, customerId, options);
|
|
25944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25945
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.postSendBrandedVideoEmail']?.[localVarOperationServerIndex]?.url;
|
|
25946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25947
|
+
},
|
|
25948
|
+
/**
|
|
25949
|
+
* Upload Video
|
|
25950
|
+
* @param {string} thumbnailId Thumbnail ID
|
|
25951
|
+
* @param {number} id Video ID
|
|
25952
|
+
* @param {File} video Video
|
|
25953
|
+
* @param {number} [customerId] Customer ID
|
|
25954
|
+
* @param {*} [options] Override http request option.
|
|
25955
|
+
* @throws {RequiredError}
|
|
25956
|
+
*/
|
|
25957
|
+
async postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandedVideoSummaryDTO>> {
|
|
25958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postUploadVideo(thumbnailId, id, video, customerId, options);
|
|
25959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25960
|
+
const localVarOperationServerBasePath = operationServerMap['BrandedVideosApi.postUploadVideo']?.[localVarOperationServerIndex]?.url;
|
|
25961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25962
|
+
},
|
|
25963
|
+
}
|
|
25964
|
+
};
|
|
25965
|
+
|
|
25966
|
+
/**
|
|
25967
|
+
* BrandedVideosApi - factory interface
|
|
25968
|
+
* @export
|
|
25969
|
+
*/
|
|
25970
|
+
export const BrandedVideosApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
25971
|
+
const localVarFp = BrandedVideosApiFp(configuration)
|
|
25972
|
+
return {
|
|
25973
|
+
/**
|
|
25974
|
+
* Send Branded Video Email
|
|
25975
|
+
* @param {number} id Video ID
|
|
25976
|
+
* @param {number} [customerId] Customer ID
|
|
25977
|
+
* @param {*} [options] Override http request option.
|
|
25978
|
+
* @throws {RequiredError}
|
|
25979
|
+
*/
|
|
25980
|
+
deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25981
|
+
return localVarFp.deleteDeleteVideoRequest(id, customerId, options).then((request) => request(axios, basePath));
|
|
25982
|
+
},
|
|
25983
|
+
/**
|
|
25984
|
+
* Get Customer Logo
|
|
25985
|
+
* @param {number} [customerId] Customer ID
|
|
25986
|
+
* @param {*} [options] Override http request option.
|
|
25987
|
+
* @throws {RequiredError}
|
|
25988
|
+
*/
|
|
25989
|
+
getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
25990
|
+
return localVarFp.getDownloadLogo(customerId, options).then((request) => request(axios, basePath));
|
|
25991
|
+
},
|
|
25992
|
+
/**
|
|
25993
|
+
* Get Branded Videos
|
|
25994
|
+
* @param {number} [pageSize] Number Of Results
|
|
25995
|
+
* @param {number} [page] Page Number
|
|
25996
|
+
* @param {string} [search] Search
|
|
25997
|
+
* @param {GetGetBrandedVideosTypeEnum} [type] Type
|
|
25998
|
+
* @param {boolean} [outstanding] Outstanding
|
|
25999
|
+
* @param {boolean} [overdue] Overdue
|
|
26000
|
+
* @param {number} [customerId] Customer ID
|
|
26001
|
+
* @param {*} [options] Override http request option.
|
|
26002
|
+
* @throws {RequiredError}
|
|
26003
|
+
*/
|
|
26004
|
+
getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<BrandedVideosSummariesModel> {
|
|
26005
|
+
return localVarFp.getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options).then((request) => request(axios, basePath));
|
|
26006
|
+
},
|
|
26007
|
+
/**
|
|
26008
|
+
* Get Thumbnails
|
|
26009
|
+
* @param {*} [options] Override http request option.
|
|
26010
|
+
* @throws {RequiredError}
|
|
26011
|
+
*/
|
|
26012
|
+
getGetThumbnails(options?: RawAxiosRequestConfig): AxiosPromise<Array<ThumbnailDTO>> {
|
|
26013
|
+
return localVarFp.getGetThumbnails(options).then((request) => request(axios, basePath));
|
|
26014
|
+
},
|
|
26015
|
+
/**
|
|
26016
|
+
* Upload logo
|
|
26017
|
+
* @param {File} logo Logo
|
|
26018
|
+
* @param {number} [customerId] Customer ID
|
|
26019
|
+
* @param {*} [options] Override http request option.
|
|
26020
|
+
* @throws {RequiredError}
|
|
26021
|
+
*/
|
|
26022
|
+
postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26023
|
+
return localVarFp.postDownloadLogo(logo, customerId, options).then((request) => request(axios, basePath));
|
|
26024
|
+
},
|
|
26025
|
+
/**
|
|
26026
|
+
* Send Branded Video Email
|
|
26027
|
+
* @param {string} email Email
|
|
26028
|
+
* @param {number} id Video ID
|
|
26029
|
+
* @param {number} [customerId] Customer ID
|
|
26030
|
+
* @param {*} [options] Override http request option.
|
|
26031
|
+
* @throws {RequiredError}
|
|
26032
|
+
*/
|
|
26033
|
+
postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26034
|
+
return localVarFp.postSendBrandedVideoEmail(email, id, customerId, options).then((request) => request(axios, basePath));
|
|
26035
|
+
},
|
|
26036
|
+
/**
|
|
26037
|
+
* Upload Video
|
|
26038
|
+
* @param {string} thumbnailId Thumbnail ID
|
|
26039
|
+
* @param {number} id Video ID
|
|
26040
|
+
* @param {File} video Video
|
|
26041
|
+
* @param {number} [customerId] Customer ID
|
|
26042
|
+
* @param {*} [options] Override http request option.
|
|
26043
|
+
* @throws {RequiredError}
|
|
26044
|
+
*/
|
|
26045
|
+
postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig): AxiosPromise<BrandedVideoSummaryDTO> {
|
|
26046
|
+
return localVarFp.postUploadVideo(thumbnailId, id, video, customerId, options).then((request) => request(axios, basePath));
|
|
26047
|
+
},
|
|
26048
|
+
};
|
|
26049
|
+
};
|
|
26050
|
+
|
|
26051
|
+
/**
|
|
26052
|
+
* BrandedVideosApi - object-oriented interface
|
|
26053
|
+
* @export
|
|
26054
|
+
* @class BrandedVideosApi
|
|
26055
|
+
* @extends {BaseAPI}
|
|
26056
|
+
*/
|
|
26057
|
+
export class BrandedVideosApi extends BaseAPI {
|
|
26058
|
+
/**
|
|
26059
|
+
* Send Branded Video Email
|
|
26060
|
+
* @param {number} id Video ID
|
|
26061
|
+
* @param {number} [customerId] Customer ID
|
|
26062
|
+
* @param {*} [options] Override http request option.
|
|
26063
|
+
* @throws {RequiredError}
|
|
26064
|
+
* @memberof BrandedVideosApi
|
|
26065
|
+
*/
|
|
26066
|
+
public deleteDeleteVideoRequest(id: number, customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26067
|
+
return BrandedVideosApiFp(this.configuration).deleteDeleteVideoRequest(id, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26068
|
+
}
|
|
26069
|
+
|
|
26070
|
+
/**
|
|
26071
|
+
* Get Customer Logo
|
|
26072
|
+
* @param {number} [customerId] Customer ID
|
|
26073
|
+
* @param {*} [options] Override http request option.
|
|
26074
|
+
* @throws {RequiredError}
|
|
26075
|
+
* @memberof BrandedVideosApi
|
|
26076
|
+
*/
|
|
26077
|
+
public getDownloadLogo(customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26078
|
+
return BrandedVideosApiFp(this.configuration).getDownloadLogo(customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26079
|
+
}
|
|
26080
|
+
|
|
26081
|
+
/**
|
|
26082
|
+
* Get Branded Videos
|
|
26083
|
+
* @param {number} [pageSize] Number Of Results
|
|
26084
|
+
* @param {number} [page] Page Number
|
|
26085
|
+
* @param {string} [search] Search
|
|
26086
|
+
* @param {GetGetBrandedVideosTypeEnum} [type] Type
|
|
26087
|
+
* @param {boolean} [outstanding] Outstanding
|
|
26088
|
+
* @param {boolean} [overdue] Overdue
|
|
26089
|
+
* @param {number} [customerId] Customer ID
|
|
26090
|
+
* @param {*} [options] Override http request option.
|
|
26091
|
+
* @throws {RequiredError}
|
|
26092
|
+
* @memberof BrandedVideosApi
|
|
26093
|
+
*/
|
|
26094
|
+
public getGetBrandedVideos(pageSize?: number, page?: number, search?: string, type?: GetGetBrandedVideosTypeEnum, outstanding?: boolean, overdue?: boolean, customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26095
|
+
return BrandedVideosApiFp(this.configuration).getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26096
|
+
}
|
|
26097
|
+
|
|
26098
|
+
/**
|
|
26099
|
+
* Get Thumbnails
|
|
26100
|
+
* @param {*} [options] Override http request option.
|
|
26101
|
+
* @throws {RequiredError}
|
|
26102
|
+
* @memberof BrandedVideosApi
|
|
26103
|
+
*/
|
|
26104
|
+
public getGetThumbnails(options?: RawAxiosRequestConfig) {
|
|
26105
|
+
return BrandedVideosApiFp(this.configuration).getGetThumbnails(options).then((request) => request(this.axios, this.basePath));
|
|
26106
|
+
}
|
|
26107
|
+
|
|
26108
|
+
/**
|
|
26109
|
+
* Upload logo
|
|
26110
|
+
* @param {File} logo Logo
|
|
26111
|
+
* @param {number} [customerId] Customer ID
|
|
26112
|
+
* @param {*} [options] Override http request option.
|
|
26113
|
+
* @throws {RequiredError}
|
|
26114
|
+
* @memberof BrandedVideosApi
|
|
26115
|
+
*/
|
|
26116
|
+
public postDownloadLogo(logo: File, customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26117
|
+
return BrandedVideosApiFp(this.configuration).postDownloadLogo(logo, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26118
|
+
}
|
|
26119
|
+
|
|
26120
|
+
/**
|
|
26121
|
+
* Send Branded Video Email
|
|
26122
|
+
* @param {string} email Email
|
|
26123
|
+
* @param {number} id Video ID
|
|
26124
|
+
* @param {number} [customerId] Customer ID
|
|
26125
|
+
* @param {*} [options] Override http request option.
|
|
26126
|
+
* @throws {RequiredError}
|
|
26127
|
+
* @memberof BrandedVideosApi
|
|
26128
|
+
*/
|
|
26129
|
+
public postSendBrandedVideoEmail(email: string, id: number, customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26130
|
+
return BrandedVideosApiFp(this.configuration).postSendBrandedVideoEmail(email, id, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26131
|
+
}
|
|
26132
|
+
|
|
26133
|
+
/**
|
|
26134
|
+
* Upload Video
|
|
26135
|
+
* @param {string} thumbnailId Thumbnail ID
|
|
26136
|
+
* @param {number} id Video ID
|
|
26137
|
+
* @param {File} video Video
|
|
26138
|
+
* @param {number} [customerId] Customer ID
|
|
26139
|
+
* @param {*} [options] Override http request option.
|
|
26140
|
+
* @throws {RequiredError}
|
|
26141
|
+
* @memberof BrandedVideosApi
|
|
26142
|
+
*/
|
|
26143
|
+
public postUploadVideo(thumbnailId: string, id: number, video: File, customerId?: number, options?: RawAxiosRequestConfig) {
|
|
26144
|
+
return BrandedVideosApiFp(this.configuration).postUploadVideo(thumbnailId, id, video, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
26145
|
+
}
|
|
26146
|
+
}
|
|
26147
|
+
|
|
26148
|
+
/**
|
|
26149
|
+
* @export
|
|
26150
|
+
*/
|
|
26151
|
+
export const GetGetBrandedVideosTypeEnum = {
|
|
26152
|
+
Paid: 'paid',
|
|
26153
|
+
Reward: 'reward',
|
|
26154
|
+
Sample: 'sample'
|
|
26155
|
+
} as const;
|
|
26156
|
+
export type GetGetBrandedVideosTypeEnum = typeof GetGetBrandedVideosTypeEnum[keyof typeof GetGetBrandedVideosTypeEnum];
|
|
26157
|
+
|
|
26158
|
+
|
|
25272
26159
|
/**
|
|
25273
26160
|
* CRMApi - axios parameter creator
|
|
25274
26161
|
* @export
|
|
@@ -33229,6 +34116,8 @@ export const PostAccessTokenScopeEnum = {
|
|
|
33229
34116
|
TcxWizard: 'tcx_wizard',
|
|
33230
34117
|
AccountsRead: 'accounts.read',
|
|
33231
34118
|
AccountsWrite: 'accounts.write',
|
|
34119
|
+
BrandedVideosread: 'branded_videosread',
|
|
34120
|
+
BrandedVideoswrite: 'branded_videoswrite',
|
|
33232
34121
|
NumberPortingRead: 'number_porting.read',
|
|
33233
34122
|
NumberPortingWrite: 'number_porting.write',
|
|
33234
34123
|
PricingRead: 'pricing.read',
|
|
@@ -33271,6 +34160,8 @@ export const PostAuthoriseScopeEnum = {
|
|
|
33271
34160
|
TcxWizard: 'tcx_wizard',
|
|
33272
34161
|
AccountsRead: 'accounts.read',
|
|
33273
34162
|
AccountsWrite: 'accounts.write',
|
|
34163
|
+
BrandedVideosread: 'branded_videosread',
|
|
34164
|
+
BrandedVideoswrite: 'branded_videoswrite',
|
|
33274
34165
|
NumberPortingRead: 'number_porting.read',
|
|
33275
34166
|
NumberPortingWrite: 'number_porting.write',
|
|
33276
34167
|
PricingRead: 'pricing.read',
|