yellowgrid-api-ts 3.2.276 → 3.2.277

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/api.js CHANGED
@@ -84,10 +84,10 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockReportItemModelCurrencyEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
88
- exports.MiscApi = exports.MiscApiFactory = exports.MiscApiFp = exports.MiscApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetServicesPlanDetailsTypeEnum = exports.GetGetConnectionsTypeEnum = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = void 0;
89
- exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = void 0;
90
- exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = void 0;
87
+ exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockReportItemModelCurrencyEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.BrandedVideoSummaryDTOStatusEnum = exports.BrandedVideoSummaryDTOTypeEnum = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
88
+ exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetBrandedVideosTypeEnum = exports.BrandedVideosApi = exports.BrandedVideosApiFactory = exports.BrandedVideosApiFp = exports.BrandedVideosApiAxiosParamCreator = exports.GetGetServicesPlanDetailsTypeEnum = exports.GetGetConnectionsTypeEnum = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = void 0;
89
+ exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.MiscApi = exports.MiscApiFactory = exports.MiscApiFp = exports.MiscApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = void 0;
90
+ exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = void 0;
91
91
  var axios_1 = require("axios");
92
92
  // Some imports not used depending on template conditions
93
93
  // @ts-ignore
@@ -197,6 +197,7 @@ exports.AuditLogEntityTypeEnum = {
197
197
  Pops3cxSipTrunks: 'pops_3cx_sip_trunks',
198
198
  Pops3cxUsers: 'pops_3cx_users',
199
199
  PopsUsers: 'pops_users',
200
+ PopsVideoRequests: 'pops_video_requests',
200
201
  Webhook: 'webhook',
201
202
  PopsXeroLog: 'pops_xero_log',
202
203
  Oauth2Clients: 'oauth2_clients',
@@ -208,6 +209,17 @@ exports.AxisDataDTOTypeEnum = {
208
209
  Time: 'time',
209
210
  Log: 'log',
210
211
  };
212
+ exports.BrandedVideoSummaryDTOTypeEnum = {
213
+ Paid: 'paid',
214
+ Reward: 'reward',
215
+ Sample: 'sample',
216
+ };
217
+ exports.BrandedVideoSummaryDTOStatusEnum = {
218
+ Pending: 'pending',
219
+ Complete: 'complete',
220
+ Incomplete: 'incomplete',
221
+ Unpaid: 'unpaid',
222
+ };
211
223
  exports.CustomerRateType = {
212
224
  Fixed: 'FIXED',
213
225
  MarkupPercent: 'MARKUP_PERCENT',
@@ -10071,6 +10083,690 @@ exports.GetGetServicesPlanDetailsTypeEnum = {
10071
10083
  Cfd: 'CFD',
10072
10084
  EdTechPro: 'EdTechPro',
10073
10085
  };
10086
+ /**
10087
+ * BrandedVideosApi - axios parameter creator
10088
+ */
10089
+ var BrandedVideosApiAxiosParamCreator = function (configuration) {
10090
+ var _this = this;
10091
+ return {
10092
+ /**
10093
+ * Send Branded Video Email
10094
+ * @param {number} id Video ID
10095
+ * @param {number} [customerId] Customer ID
10096
+ * @param {*} [options] Override http request option.
10097
+ * @throws {RequiredError}
10098
+ */
10099
+ deleteDeleteVideoRequest: function (id_1, customerId_1) {
10100
+ var args_1 = [];
10101
+ for (var _i = 2; _i < arguments.length; _i++) {
10102
+ args_1[_i - 2] = arguments[_i];
10103
+ }
10104
+ return __awaiter(_this, __spreadArray([id_1, customerId_1], args_1, true), void 0, function (id, customerId, options) {
10105
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10106
+ if (options === void 0) { options = {}; }
10107
+ return __generator(this, function (_a) {
10108
+ // verify required parameter 'id' is not null or undefined
10109
+ (0, common_1.assertParamExists)('deleteDeleteVideoRequest', 'id', id);
10110
+ localVarPath = "/marketing/videos/{id}"
10111
+ .replace('{id}', encodeURIComponent(String(id)));
10112
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10113
+ if (configuration) {
10114
+ baseOptions = configuration.baseOptions;
10115
+ }
10116
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
10117
+ localVarHeaderParameter = {};
10118
+ localVarQueryParameter = {};
10119
+ if (customerId !== undefined) {
10120
+ localVarQueryParameter['customerId'] = customerId;
10121
+ }
10122
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10123
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10124
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10125
+ return [2 /*return*/, {
10126
+ url: (0, common_1.toPathString)(localVarUrlObj),
10127
+ options: localVarRequestOptions,
10128
+ }];
10129
+ });
10130
+ });
10131
+ },
10132
+ /**
10133
+ * Get Customer Logo
10134
+ * @param {number} [customerId] Customer ID
10135
+ * @param {*} [options] Override http request option.
10136
+ * @throws {RequiredError}
10137
+ */
10138
+ getDownloadLogo: function (customerId_1) {
10139
+ var args_1 = [];
10140
+ for (var _i = 1; _i < arguments.length; _i++) {
10141
+ args_1[_i - 1] = arguments[_i];
10142
+ }
10143
+ return __awaiter(_this, __spreadArray([customerId_1], args_1, true), void 0, function (customerId, options) {
10144
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10145
+ if (options === void 0) { options = {}; }
10146
+ return __generator(this, function (_a) {
10147
+ localVarPath = "/marketing/videos/logo";
10148
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10149
+ if (configuration) {
10150
+ baseOptions = configuration.baseOptions;
10151
+ }
10152
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10153
+ localVarHeaderParameter = {};
10154
+ localVarQueryParameter = {};
10155
+ if (customerId !== undefined) {
10156
+ localVarQueryParameter['customerId'] = customerId;
10157
+ }
10158
+ localVarHeaderParameter['Accept'] = 'application/json';
10159
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10160
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10161
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10162
+ return [2 /*return*/, {
10163
+ url: (0, common_1.toPathString)(localVarUrlObj),
10164
+ options: localVarRequestOptions,
10165
+ }];
10166
+ });
10167
+ });
10168
+ },
10169
+ /**
10170
+ * Get Branded Videos
10171
+ * @param {number} [pageSize] Number Of Results
10172
+ * @param {number} [page] Page Number
10173
+ * @param {string} [search] Search
10174
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
10175
+ * @param {boolean} [outstanding] Outstanding
10176
+ * @param {boolean} [overdue] Overdue
10177
+ * @param {number} [customerId] Customer ID
10178
+ * @param {*} [options] Override http request option.
10179
+ * @throws {RequiredError}
10180
+ */
10181
+ getGetBrandedVideos: function (pageSize_1, page_1, search_1, type_1, outstanding_1, overdue_1, customerId_1) {
10182
+ var args_1 = [];
10183
+ for (var _i = 7; _i < arguments.length; _i++) {
10184
+ args_1[_i - 7] = arguments[_i];
10185
+ }
10186
+ return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1, type_1, outstanding_1, overdue_1, customerId_1], args_1, true), void 0, function (pageSize, page, search, type, outstanding, overdue, customerId, options) {
10187
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10188
+ if (options === void 0) { options = {}; }
10189
+ return __generator(this, function (_a) {
10190
+ localVarPath = "/marketing/videos";
10191
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10192
+ if (configuration) {
10193
+ baseOptions = configuration.baseOptions;
10194
+ }
10195
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10196
+ localVarHeaderParameter = {};
10197
+ localVarQueryParameter = {};
10198
+ if (pageSize !== undefined) {
10199
+ localVarQueryParameter['pageSize'] = pageSize;
10200
+ }
10201
+ if (page !== undefined) {
10202
+ localVarQueryParameter['page'] = page;
10203
+ }
10204
+ if (search !== undefined) {
10205
+ localVarQueryParameter['search'] = search;
10206
+ }
10207
+ if (type !== undefined) {
10208
+ localVarQueryParameter['type'] = type;
10209
+ }
10210
+ if (outstanding !== undefined) {
10211
+ localVarQueryParameter['outstanding'] = outstanding;
10212
+ }
10213
+ if (overdue !== undefined) {
10214
+ localVarQueryParameter['overdue'] = overdue;
10215
+ }
10216
+ if (customerId !== undefined) {
10217
+ localVarQueryParameter['customerId'] = customerId;
10218
+ }
10219
+ localVarHeaderParameter['Accept'] = 'application/json';
10220
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10221
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10222
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10223
+ return [2 /*return*/, {
10224
+ url: (0, common_1.toPathString)(localVarUrlObj),
10225
+ options: localVarRequestOptions,
10226
+ }];
10227
+ });
10228
+ });
10229
+ },
10230
+ /**
10231
+ * Get Thumbnails
10232
+ * @param {*} [options] Override http request option.
10233
+ * @throws {RequiredError}
10234
+ */
10235
+ getGetThumbnails: function () {
10236
+ var args_1 = [];
10237
+ for (var _i = 0; _i < arguments.length; _i++) {
10238
+ args_1[_i] = arguments[_i];
10239
+ }
10240
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
10241
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10242
+ if (options === void 0) { options = {}; }
10243
+ return __generator(this, function (_a) {
10244
+ localVarPath = "/marketing/videos/thumbnails";
10245
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10246
+ if (configuration) {
10247
+ baseOptions = configuration.baseOptions;
10248
+ }
10249
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10250
+ localVarHeaderParameter = {};
10251
+ localVarQueryParameter = {};
10252
+ localVarHeaderParameter['Accept'] = 'application/json';
10253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10254
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10255
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10256
+ return [2 /*return*/, {
10257
+ url: (0, common_1.toPathString)(localVarUrlObj),
10258
+ options: localVarRequestOptions,
10259
+ }];
10260
+ });
10261
+ });
10262
+ },
10263
+ /**
10264
+ * Upload logo
10265
+ * @param {File} logo Logo
10266
+ * @param {number} [customerId] Customer ID
10267
+ * @param {*} [options] Override http request option.
10268
+ * @throws {RequiredError}
10269
+ */
10270
+ postDownloadLogo: function (logo_1, customerId_1) {
10271
+ var args_1 = [];
10272
+ for (var _i = 2; _i < arguments.length; _i++) {
10273
+ args_1[_i - 2] = arguments[_i];
10274
+ }
10275
+ return __awaiter(_this, __spreadArray([logo_1, customerId_1], args_1, true), void 0, function (logo, customerId, options) {
10276
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
10277
+ if (options === void 0) { options = {}; }
10278
+ return __generator(this, function (_a) {
10279
+ // verify required parameter 'logo' is not null or undefined
10280
+ (0, common_1.assertParamExists)('postDownloadLogo', 'logo', logo);
10281
+ localVarPath = "/marketing/videos/logo";
10282
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10283
+ if (configuration) {
10284
+ baseOptions = configuration.baseOptions;
10285
+ }
10286
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
10287
+ localVarHeaderParameter = {};
10288
+ localVarQueryParameter = {};
10289
+ localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
10290
+ if (customerId !== undefined) {
10291
+ localVarQueryParameter['customerId'] = customerId;
10292
+ }
10293
+ if (logo !== undefined) {
10294
+ localVarFormParams.append('logo', logo);
10295
+ }
10296
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
10297
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10298
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10299
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10300
+ localVarRequestOptions.data = localVarFormParams;
10301
+ return [2 /*return*/, {
10302
+ url: (0, common_1.toPathString)(localVarUrlObj),
10303
+ options: localVarRequestOptions,
10304
+ }];
10305
+ });
10306
+ });
10307
+ },
10308
+ /**
10309
+ * Send Branded Video Email
10310
+ * @param {string} email Email
10311
+ * @param {number} id Video ID
10312
+ * @param {number} [customerId] Customer ID
10313
+ * @param {*} [options] Override http request option.
10314
+ * @throws {RequiredError}
10315
+ */
10316
+ postSendBrandedVideoEmail: function (email_1, id_1, customerId_1) {
10317
+ var args_1 = [];
10318
+ for (var _i = 3; _i < arguments.length; _i++) {
10319
+ args_1[_i - 3] = arguments[_i];
10320
+ }
10321
+ return __awaiter(_this, __spreadArray([email_1, id_1, customerId_1], args_1, true), void 0, function (email, id, customerId, options) {
10322
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10323
+ if (options === void 0) { options = {}; }
10324
+ return __generator(this, function (_a) {
10325
+ // verify required parameter 'email' is not null or undefined
10326
+ (0, common_1.assertParamExists)('postSendBrandedVideoEmail', 'email', email);
10327
+ // verify required parameter 'id' is not null or undefined
10328
+ (0, common_1.assertParamExists)('postSendBrandedVideoEmail', 'id', id);
10329
+ localVarPath = "/marketing/videos/{id}/send"
10330
+ .replace('{id}', encodeURIComponent(String(id)));
10331
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10332
+ if (configuration) {
10333
+ baseOptions = configuration.baseOptions;
10334
+ }
10335
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
10336
+ localVarHeaderParameter = {};
10337
+ localVarQueryParameter = {};
10338
+ if (customerId !== undefined) {
10339
+ localVarQueryParameter['customerId'] = customerId;
10340
+ }
10341
+ if (email !== undefined) {
10342
+ localVarQueryParameter['email'] = email;
10343
+ }
10344
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10345
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10346
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10347
+ return [2 /*return*/, {
10348
+ url: (0, common_1.toPathString)(localVarUrlObj),
10349
+ options: localVarRequestOptions,
10350
+ }];
10351
+ });
10352
+ });
10353
+ },
10354
+ /**
10355
+ * Upload Video
10356
+ * @param {string} thumbnailId Thumbnail ID
10357
+ * @param {number} id Video ID
10358
+ * @param {File} video Video
10359
+ * @param {number} [customerId] Customer ID
10360
+ * @param {*} [options] Override http request option.
10361
+ * @throws {RequiredError}
10362
+ */
10363
+ postUploadVideo: function (thumbnailId_1, id_1, video_1, customerId_1) {
10364
+ var args_1 = [];
10365
+ for (var _i = 4; _i < arguments.length; _i++) {
10366
+ args_1[_i - 4] = arguments[_i];
10367
+ }
10368
+ return __awaiter(_this, __spreadArray([thumbnailId_1, id_1, video_1, customerId_1], args_1, true), void 0, function (thumbnailId, id, video, customerId, options) {
10369
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
10370
+ if (options === void 0) { options = {}; }
10371
+ return __generator(this, function (_a) {
10372
+ // verify required parameter 'thumbnailId' is not null or undefined
10373
+ (0, common_1.assertParamExists)('postUploadVideo', 'thumbnailId', thumbnailId);
10374
+ // verify required parameter 'id' is not null or undefined
10375
+ (0, common_1.assertParamExists)('postUploadVideo', 'id', id);
10376
+ // verify required parameter 'video' is not null or undefined
10377
+ (0, common_1.assertParamExists)('postUploadVideo', 'video', video);
10378
+ localVarPath = "/marketing/videos/{id}/upload"
10379
+ .replace('{id}', encodeURIComponent(String(id)));
10380
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10381
+ if (configuration) {
10382
+ baseOptions = configuration.baseOptions;
10383
+ }
10384
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
10385
+ localVarHeaderParameter = {};
10386
+ localVarQueryParameter = {};
10387
+ localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
10388
+ if (customerId !== undefined) {
10389
+ localVarQueryParameter['customerId'] = customerId;
10390
+ }
10391
+ if (thumbnailId !== undefined) {
10392
+ localVarQueryParameter['thumbnailId'] = thumbnailId;
10393
+ }
10394
+ if (video !== undefined) {
10395
+ localVarFormParams.append('video', video);
10396
+ }
10397
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
10398
+ localVarHeaderParameter['Accept'] = 'application/json';
10399
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10400
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10401
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10402
+ localVarRequestOptions.data = localVarFormParams;
10403
+ return [2 /*return*/, {
10404
+ url: (0, common_1.toPathString)(localVarUrlObj),
10405
+ options: localVarRequestOptions,
10406
+ }];
10407
+ });
10408
+ });
10409
+ },
10410
+ };
10411
+ };
10412
+ exports.BrandedVideosApiAxiosParamCreator = BrandedVideosApiAxiosParamCreator;
10413
+ /**
10414
+ * BrandedVideosApi - functional programming interface
10415
+ */
10416
+ var BrandedVideosApiFp = function (configuration) {
10417
+ var localVarAxiosParamCreator = (0, exports.BrandedVideosApiAxiosParamCreator)(configuration);
10418
+ return {
10419
+ /**
10420
+ * Send Branded Video Email
10421
+ * @param {number} id Video ID
10422
+ * @param {number} [customerId] Customer ID
10423
+ * @param {*} [options] Override http request option.
10424
+ * @throws {RequiredError}
10425
+ */
10426
+ deleteDeleteVideoRequest: function (id, customerId, options) {
10427
+ return __awaiter(this, void 0, void 0, function () {
10428
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10429
+ var _a, _b, _c;
10430
+ return __generator(this, function (_d) {
10431
+ switch (_d.label) {
10432
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDeleteVideoRequest(id, customerId, options)];
10433
+ case 1:
10434
+ localVarAxiosArgs = _d.sent();
10435
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10436
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.deleteDeleteVideoRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10437
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10438
+ }
10439
+ });
10440
+ });
10441
+ },
10442
+ /**
10443
+ * Get Customer Logo
10444
+ * @param {number} [customerId] Customer ID
10445
+ * @param {*} [options] Override http request option.
10446
+ * @throws {RequiredError}
10447
+ */
10448
+ getDownloadLogo: function (customerId, options) {
10449
+ return __awaiter(this, void 0, void 0, function () {
10450
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10451
+ var _a, _b, _c;
10452
+ return __generator(this, function (_d) {
10453
+ switch (_d.label) {
10454
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDownloadLogo(customerId, options)];
10455
+ case 1:
10456
+ localVarAxiosArgs = _d.sent();
10457
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10458
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.getDownloadLogo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10459
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10460
+ }
10461
+ });
10462
+ });
10463
+ },
10464
+ /**
10465
+ * Get Branded Videos
10466
+ * @param {number} [pageSize] Number Of Results
10467
+ * @param {number} [page] Page Number
10468
+ * @param {string} [search] Search
10469
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
10470
+ * @param {boolean} [outstanding] Outstanding
10471
+ * @param {boolean} [overdue] Overdue
10472
+ * @param {number} [customerId] Customer ID
10473
+ * @param {*} [options] Override http request option.
10474
+ * @throws {RequiredError}
10475
+ */
10476
+ getGetBrandedVideos: function (pageSize, page, search, type, outstanding, overdue, customerId, options) {
10477
+ return __awaiter(this, void 0, void 0, function () {
10478
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10479
+ var _a, _b, _c;
10480
+ return __generator(this, function (_d) {
10481
+ switch (_d.label) {
10482
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options)];
10483
+ case 1:
10484
+ localVarAxiosArgs = _d.sent();
10485
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10486
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.getGetBrandedVideos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10487
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10488
+ }
10489
+ });
10490
+ });
10491
+ },
10492
+ /**
10493
+ * Get Thumbnails
10494
+ * @param {*} [options] Override http request option.
10495
+ * @throws {RequiredError}
10496
+ */
10497
+ getGetThumbnails: function (options) {
10498
+ return __awaiter(this, void 0, void 0, function () {
10499
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10500
+ var _a, _b, _c;
10501
+ return __generator(this, function (_d) {
10502
+ switch (_d.label) {
10503
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetThumbnails(options)];
10504
+ case 1:
10505
+ localVarAxiosArgs = _d.sent();
10506
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10507
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.getGetThumbnails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10508
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10509
+ }
10510
+ });
10511
+ });
10512
+ },
10513
+ /**
10514
+ * Upload logo
10515
+ * @param {File} logo Logo
10516
+ * @param {number} [customerId] Customer ID
10517
+ * @param {*} [options] Override http request option.
10518
+ * @throws {RequiredError}
10519
+ */
10520
+ postDownloadLogo: function (logo, customerId, options) {
10521
+ return __awaiter(this, void 0, void 0, function () {
10522
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10523
+ var _a, _b, _c;
10524
+ return __generator(this, function (_d) {
10525
+ switch (_d.label) {
10526
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postDownloadLogo(logo, customerId, options)];
10527
+ case 1:
10528
+ localVarAxiosArgs = _d.sent();
10529
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10530
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.postDownloadLogo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10531
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10532
+ }
10533
+ });
10534
+ });
10535
+ },
10536
+ /**
10537
+ * Send Branded Video Email
10538
+ * @param {string} email Email
10539
+ * @param {number} id Video ID
10540
+ * @param {number} [customerId] Customer ID
10541
+ * @param {*} [options] Override http request option.
10542
+ * @throws {RequiredError}
10543
+ */
10544
+ postSendBrandedVideoEmail: function (email, id, customerId, options) {
10545
+ return __awaiter(this, void 0, void 0, function () {
10546
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10547
+ var _a, _b, _c;
10548
+ return __generator(this, function (_d) {
10549
+ switch (_d.label) {
10550
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSendBrandedVideoEmail(email, id, customerId, options)];
10551
+ case 1:
10552
+ localVarAxiosArgs = _d.sent();
10553
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10554
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.postSendBrandedVideoEmail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10555
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10556
+ }
10557
+ });
10558
+ });
10559
+ },
10560
+ /**
10561
+ * Upload Video
10562
+ * @param {string} thumbnailId Thumbnail ID
10563
+ * @param {number} id Video ID
10564
+ * @param {File} video Video
10565
+ * @param {number} [customerId] Customer ID
10566
+ * @param {*} [options] Override http request option.
10567
+ * @throws {RequiredError}
10568
+ */
10569
+ postUploadVideo: function (thumbnailId, id, video, customerId, options) {
10570
+ return __awaiter(this, void 0, void 0, function () {
10571
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10572
+ var _a, _b, _c;
10573
+ return __generator(this, function (_d) {
10574
+ switch (_d.label) {
10575
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUploadVideo(thumbnailId, id, video, customerId, options)];
10576
+ case 1:
10577
+ localVarAxiosArgs = _d.sent();
10578
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10579
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrandedVideosApi.postUploadVideo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10580
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10581
+ }
10582
+ });
10583
+ });
10584
+ },
10585
+ };
10586
+ };
10587
+ exports.BrandedVideosApiFp = BrandedVideosApiFp;
10588
+ /**
10589
+ * BrandedVideosApi - factory interface
10590
+ */
10591
+ var BrandedVideosApiFactory = function (configuration, basePath, axios) {
10592
+ var localVarFp = (0, exports.BrandedVideosApiFp)(configuration);
10593
+ return {
10594
+ /**
10595
+ * Send Branded Video Email
10596
+ * @param {number} id Video ID
10597
+ * @param {number} [customerId] Customer ID
10598
+ * @param {*} [options] Override http request option.
10599
+ * @throws {RequiredError}
10600
+ */
10601
+ deleteDeleteVideoRequest: function (id, customerId, options) {
10602
+ return localVarFp.deleteDeleteVideoRequest(id, customerId, options).then(function (request) { return request(axios, basePath); });
10603
+ },
10604
+ /**
10605
+ * Get Customer Logo
10606
+ * @param {number} [customerId] Customer ID
10607
+ * @param {*} [options] Override http request option.
10608
+ * @throws {RequiredError}
10609
+ */
10610
+ getDownloadLogo: function (customerId, options) {
10611
+ return localVarFp.getDownloadLogo(customerId, options).then(function (request) { return request(axios, basePath); });
10612
+ },
10613
+ /**
10614
+ * Get Branded Videos
10615
+ * @param {number} [pageSize] Number Of Results
10616
+ * @param {number} [page] Page Number
10617
+ * @param {string} [search] Search
10618
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
10619
+ * @param {boolean} [outstanding] Outstanding
10620
+ * @param {boolean} [overdue] Overdue
10621
+ * @param {number} [customerId] Customer ID
10622
+ * @param {*} [options] Override http request option.
10623
+ * @throws {RequiredError}
10624
+ */
10625
+ getGetBrandedVideos: function (pageSize, page, search, type, outstanding, overdue, customerId, options) {
10626
+ return localVarFp.getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options).then(function (request) { return request(axios, basePath); });
10627
+ },
10628
+ /**
10629
+ * Get Thumbnails
10630
+ * @param {*} [options] Override http request option.
10631
+ * @throws {RequiredError}
10632
+ */
10633
+ getGetThumbnails: function (options) {
10634
+ return localVarFp.getGetThumbnails(options).then(function (request) { return request(axios, basePath); });
10635
+ },
10636
+ /**
10637
+ * Upload logo
10638
+ * @param {File} logo Logo
10639
+ * @param {number} [customerId] Customer ID
10640
+ * @param {*} [options] Override http request option.
10641
+ * @throws {RequiredError}
10642
+ */
10643
+ postDownloadLogo: function (logo, customerId, options) {
10644
+ return localVarFp.postDownloadLogo(logo, customerId, options).then(function (request) { return request(axios, basePath); });
10645
+ },
10646
+ /**
10647
+ * Send Branded Video Email
10648
+ * @param {string} email Email
10649
+ * @param {number} id Video ID
10650
+ * @param {number} [customerId] Customer ID
10651
+ * @param {*} [options] Override http request option.
10652
+ * @throws {RequiredError}
10653
+ */
10654
+ postSendBrandedVideoEmail: function (email, id, customerId, options) {
10655
+ return localVarFp.postSendBrandedVideoEmail(email, id, customerId, options).then(function (request) { return request(axios, basePath); });
10656
+ },
10657
+ /**
10658
+ * Upload Video
10659
+ * @param {string} thumbnailId Thumbnail ID
10660
+ * @param {number} id Video ID
10661
+ * @param {File} video Video
10662
+ * @param {number} [customerId] Customer ID
10663
+ * @param {*} [options] Override http request option.
10664
+ * @throws {RequiredError}
10665
+ */
10666
+ postUploadVideo: function (thumbnailId, id, video, customerId, options) {
10667
+ return localVarFp.postUploadVideo(thumbnailId, id, video, customerId, options).then(function (request) { return request(axios, basePath); });
10668
+ },
10669
+ };
10670
+ };
10671
+ exports.BrandedVideosApiFactory = BrandedVideosApiFactory;
10672
+ /**
10673
+ * BrandedVideosApi - object-oriented interface
10674
+ */
10675
+ var BrandedVideosApi = /** @class */ (function (_super) {
10676
+ __extends(BrandedVideosApi, _super);
10677
+ function BrandedVideosApi() {
10678
+ return _super !== null && _super.apply(this, arguments) || this;
10679
+ }
10680
+ /**
10681
+ * Send Branded Video Email
10682
+ * @param {number} id Video ID
10683
+ * @param {number} [customerId] Customer ID
10684
+ * @param {*} [options] Override http request option.
10685
+ * @throws {RequiredError}
10686
+ */
10687
+ BrandedVideosApi.prototype.deleteDeleteVideoRequest = function (id, customerId, options) {
10688
+ var _this = this;
10689
+ return (0, exports.BrandedVideosApiFp)(this.configuration).deleteDeleteVideoRequest(id, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10690
+ };
10691
+ /**
10692
+ * Get Customer Logo
10693
+ * @param {number} [customerId] Customer ID
10694
+ * @param {*} [options] Override http request option.
10695
+ * @throws {RequiredError}
10696
+ */
10697
+ BrandedVideosApi.prototype.getDownloadLogo = function (customerId, options) {
10698
+ var _this = this;
10699
+ return (0, exports.BrandedVideosApiFp)(this.configuration).getDownloadLogo(customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10700
+ };
10701
+ /**
10702
+ * Get Branded Videos
10703
+ * @param {number} [pageSize] Number Of Results
10704
+ * @param {number} [page] Page Number
10705
+ * @param {string} [search] Search
10706
+ * @param {GetGetBrandedVideosTypeEnum} [type] Type
10707
+ * @param {boolean} [outstanding] Outstanding
10708
+ * @param {boolean} [overdue] Overdue
10709
+ * @param {number} [customerId] Customer ID
10710
+ * @param {*} [options] Override http request option.
10711
+ * @throws {RequiredError}
10712
+ */
10713
+ BrandedVideosApi.prototype.getGetBrandedVideos = function (pageSize, page, search, type, outstanding, overdue, customerId, options) {
10714
+ var _this = this;
10715
+ return (0, exports.BrandedVideosApiFp)(this.configuration).getGetBrandedVideos(pageSize, page, search, type, outstanding, overdue, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10716
+ };
10717
+ /**
10718
+ * Get Thumbnails
10719
+ * @param {*} [options] Override http request option.
10720
+ * @throws {RequiredError}
10721
+ */
10722
+ BrandedVideosApi.prototype.getGetThumbnails = function (options) {
10723
+ var _this = this;
10724
+ return (0, exports.BrandedVideosApiFp)(this.configuration).getGetThumbnails(options).then(function (request) { return request(_this.axios, _this.basePath); });
10725
+ };
10726
+ /**
10727
+ * Upload logo
10728
+ * @param {File} logo Logo
10729
+ * @param {number} [customerId] Customer ID
10730
+ * @param {*} [options] Override http request option.
10731
+ * @throws {RequiredError}
10732
+ */
10733
+ BrandedVideosApi.prototype.postDownloadLogo = function (logo, customerId, options) {
10734
+ var _this = this;
10735
+ return (0, exports.BrandedVideosApiFp)(this.configuration).postDownloadLogo(logo, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10736
+ };
10737
+ /**
10738
+ * Send Branded Video Email
10739
+ * @param {string} email Email
10740
+ * @param {number} id Video ID
10741
+ * @param {number} [customerId] Customer ID
10742
+ * @param {*} [options] Override http request option.
10743
+ * @throws {RequiredError}
10744
+ */
10745
+ BrandedVideosApi.prototype.postSendBrandedVideoEmail = function (email, id, customerId, options) {
10746
+ var _this = this;
10747
+ return (0, exports.BrandedVideosApiFp)(this.configuration).postSendBrandedVideoEmail(email, id, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10748
+ };
10749
+ /**
10750
+ * Upload Video
10751
+ * @param {string} thumbnailId Thumbnail ID
10752
+ * @param {number} id Video ID
10753
+ * @param {File} video Video
10754
+ * @param {number} [customerId] Customer ID
10755
+ * @param {*} [options] Override http request option.
10756
+ * @throws {RequiredError}
10757
+ */
10758
+ BrandedVideosApi.prototype.postUploadVideo = function (thumbnailId, id, video, customerId, options) {
10759
+ var _this = this;
10760
+ return (0, exports.BrandedVideosApiFp)(this.configuration).postUploadVideo(thumbnailId, id, video, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10761
+ };
10762
+ return BrandedVideosApi;
10763
+ }(base_1.BaseAPI));
10764
+ exports.BrandedVideosApi = BrandedVideosApi;
10765
+ exports.GetGetBrandedVideosTypeEnum = {
10766
+ Paid: 'paid',
10767
+ Reward: 'reward',
10768
+ Sample: 'sample',
10769
+ };
10074
10770
  /**
10075
10771
  * CRMApi - axios parameter creator
10076
10772
  */
@@ -19081,6 +19777,8 @@ exports.PostAccessTokenScopeEnum = {
19081
19777
  TcxWizard: 'tcx_wizard',
19082
19778
  AccountsRead: 'accounts.read',
19083
19779
  AccountsWrite: 'accounts.write',
19780
+ BrandedVideosread: 'branded_videosread',
19781
+ BrandedVideoswrite: 'branded_videoswrite',
19084
19782
  NumberPortingRead: 'number_porting.read',
19085
19783
  NumberPortingWrite: 'number_porting.write',
19086
19784
  PricingRead: 'pricing.read',
@@ -19115,6 +19813,8 @@ exports.PostAuthoriseScopeEnum = {
19115
19813
  TcxWizard: 'tcx_wizard',
19116
19814
  AccountsRead: 'accounts.read',
19117
19815
  AccountsWrite: 'accounts.write',
19816
+ BrandedVideosread: 'branded_videosread',
19817
+ BrandedVideoswrite: 'branded_videoswrite',
19118
19818
  NumberPortingRead: 'number_porting.read',
19119
19819
  NumberPortingWrite: 'number_porting.write',
19120
19820
  PricingRead: 'pricing.read',