@revxui/api-clients-ts 0.10.179 → 0.10.180
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/README.md +2 -2
- package/api/api.d.ts +3 -1
- package/api/notificationsController.service.d.ts +77 -0
- package/bundles/revxui-api-clients-ts.umd.js +221 -1
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
- package/esm2015/api/api.js +4 -2
- package/esm2015/api/notificationsController.service.js +187 -0
- package/esm2015/api.module.js +3 -1
- package/esm2015/model/apiResponseObjectResponseMessage.js +1 -0
- package/esm2015/model/models.js +2 -1
- package/esm2015/model/notificationListResponseNotificationResponse.js +1 -0
- package/esm2015/model/notificationResponse.js +19 -0
- package/esm5/api/api.js +4 -2
- package/esm5/api/notificationsController.service.js +207 -0
- package/esm5/api.module.js +3 -1
- package/esm5/model/apiResponseObjectResponseMessage.js +1 -0
- package/esm5/model/models.js +2 -1
- package/esm5/model/notificationListResponseNotificationResponse.js +1 -0
- package/esm5/model/notificationResponse.js +19 -0
- package/fesm2015/revxui-api-clients-ts.js +201 -2
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +221 -2
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/apiResponseObjectResponseMessage.d.ts +17 -0
- package/model/models.d.ts +3 -0
- package/model/notificationListResponseNotificationResponse.d.ts +17 -0
- package/model/notificationResponse.d.ts +31 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
|
@@ -4565,6 +4565,185 @@ DashboardControllerService = __decorate([
|
|
|
4565
4565
|
__param(1, Optional()), __param(1, Inject(BASE_PATH)), __param(2, Optional())
|
|
4566
4566
|
], DashboardControllerService);
|
|
4567
4567
|
|
|
4568
|
+
/**
|
|
4569
|
+
* Api Documentation
|
|
4570
|
+
* Api Documentation
|
|
4571
|
+
*
|
|
4572
|
+
* OpenAPI spec version: 1.0
|
|
4573
|
+
*
|
|
4574
|
+
*
|
|
4575
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4576
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4577
|
+
* Do not edit the class manually.
|
|
4578
|
+
*/
|
|
4579
|
+
let NotificationsControllerService = class NotificationsControllerService {
|
|
4580
|
+
constructor(httpClient, basePath, configuration) {
|
|
4581
|
+
this.httpClient = httpClient;
|
|
4582
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
4583
|
+
this.defaultHeaders = new HttpHeaders();
|
|
4584
|
+
this.configuration = new Configuration();
|
|
4585
|
+
if (basePath) {
|
|
4586
|
+
this.basePath = basePath;
|
|
4587
|
+
}
|
|
4588
|
+
if (configuration) {
|
|
4589
|
+
this.configuration = configuration;
|
|
4590
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
4591
|
+
}
|
|
4592
|
+
}
|
|
4593
|
+
/**
|
|
4594
|
+
* @param consumes string[] mime-types
|
|
4595
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
4596
|
+
*/
|
|
4597
|
+
canConsumeForm(consumes) {
|
|
4598
|
+
const form = 'multipart/form-data';
|
|
4599
|
+
for (const consume of consumes) {
|
|
4600
|
+
if (form === consume) {
|
|
4601
|
+
return true;
|
|
4602
|
+
}
|
|
4603
|
+
}
|
|
4604
|
+
return false;
|
|
4605
|
+
}
|
|
4606
|
+
getNotificationUsingGET(pageNumber, pageSize, reqId, token, observe = 'body', reportProgress = false) {
|
|
4607
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
4608
|
+
if (pageNumber !== undefined && pageNumber !== null) {
|
|
4609
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
4610
|
+
}
|
|
4611
|
+
if (pageSize !== undefined && pageSize !== null) {
|
|
4612
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
4613
|
+
}
|
|
4614
|
+
let headers = this.defaultHeaders;
|
|
4615
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4616
|
+
headers = headers.set('reqId', String(reqId));
|
|
4617
|
+
}
|
|
4618
|
+
if (token !== undefined && token !== null) {
|
|
4619
|
+
headers = headers.set('token', String(token));
|
|
4620
|
+
}
|
|
4621
|
+
// to determine the Accept header
|
|
4622
|
+
let httpHeaderAccepts = [
|
|
4623
|
+
'application/json'
|
|
4624
|
+
];
|
|
4625
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4626
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4627
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4628
|
+
}
|
|
4629
|
+
// to determine the Content-Type header
|
|
4630
|
+
const consumes = [];
|
|
4631
|
+
return this.httpClient.get(`${this.basePath}/v2/api/notifications`, {
|
|
4632
|
+
params: queryParameters,
|
|
4633
|
+
withCredentials: this.configuration.withCredentials,
|
|
4634
|
+
headers: headers,
|
|
4635
|
+
observe: observe,
|
|
4636
|
+
reportProgress: reportProgress
|
|
4637
|
+
});
|
|
4638
|
+
}
|
|
4639
|
+
markAllSeenUsingPOST(reqId, token, observe = 'body', reportProgress = false) {
|
|
4640
|
+
let headers = this.defaultHeaders;
|
|
4641
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4642
|
+
headers = headers.set('reqId', String(reqId));
|
|
4643
|
+
}
|
|
4644
|
+
if (token !== undefined && token !== null) {
|
|
4645
|
+
headers = headers.set('token', String(token));
|
|
4646
|
+
}
|
|
4647
|
+
// to determine the Accept header
|
|
4648
|
+
let httpHeaderAccepts = [
|
|
4649
|
+
'application/json'
|
|
4650
|
+
];
|
|
4651
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4652
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4653
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4654
|
+
}
|
|
4655
|
+
// to determine the Content-Type header
|
|
4656
|
+
const consumes = [
|
|
4657
|
+
'application/json'
|
|
4658
|
+
];
|
|
4659
|
+
return this.httpClient.post(`${this.basePath}/v2/api/notifications/v2/api/notifications/seenAll`, null, {
|
|
4660
|
+
withCredentials: this.configuration.withCredentials,
|
|
4661
|
+
headers: headers,
|
|
4662
|
+
observe: observe,
|
|
4663
|
+
reportProgress: reportProgress
|
|
4664
|
+
});
|
|
4665
|
+
}
|
|
4666
|
+
markSeenUsingPOST(commaSeparatedIds, reqId, token, observe = 'body', reportProgress = false) {
|
|
4667
|
+
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
4668
|
+
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.');
|
|
4669
|
+
}
|
|
4670
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
4671
|
+
if (commaSeparatedIds !== undefined && commaSeparatedIds !== null) {
|
|
4672
|
+
queryParameters = queryParameters.set('commaSeparatedIds', commaSeparatedIds);
|
|
4673
|
+
}
|
|
4674
|
+
let headers = this.defaultHeaders;
|
|
4675
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4676
|
+
headers = headers.set('reqId', String(reqId));
|
|
4677
|
+
}
|
|
4678
|
+
if (token !== undefined && token !== null) {
|
|
4679
|
+
headers = headers.set('token', String(token));
|
|
4680
|
+
}
|
|
4681
|
+
// to determine the Accept header
|
|
4682
|
+
let httpHeaderAccepts = [
|
|
4683
|
+
'application/json'
|
|
4684
|
+
];
|
|
4685
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4686
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4687
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4688
|
+
}
|
|
4689
|
+
// to determine the Content-Type header
|
|
4690
|
+
const consumes = [
|
|
4691
|
+
'application/json'
|
|
4692
|
+
];
|
|
4693
|
+
return this.httpClient.post(`${this.basePath}/v2/api/notifications/v2/api/notifications/seen/${encodeURIComponent(String(commaSeparatedIds))}`, null, {
|
|
4694
|
+
params: queryParameters,
|
|
4695
|
+
withCredentials: this.configuration.withCredentials,
|
|
4696
|
+
headers: headers,
|
|
4697
|
+
observe: observe,
|
|
4698
|
+
reportProgress: reportProgress
|
|
4699
|
+
});
|
|
4700
|
+
}
|
|
4701
|
+
resolveNotificationUsingPOST(id, reqId, token, observe = 'body', reportProgress = false) {
|
|
4702
|
+
if (id === null || id === undefined) {
|
|
4703
|
+
throw new Error('Required parameter id was null or undefined when calling resolveNotificationUsingPOST.');
|
|
4704
|
+
}
|
|
4705
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
4706
|
+
if (id !== undefined && id !== null) {
|
|
4707
|
+
queryParameters = queryParameters.set('id', id);
|
|
4708
|
+
}
|
|
4709
|
+
let headers = this.defaultHeaders;
|
|
4710
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4711
|
+
headers = headers.set('reqId', String(reqId));
|
|
4712
|
+
}
|
|
4713
|
+
if (token !== undefined && token !== null) {
|
|
4714
|
+
headers = headers.set('token', String(token));
|
|
4715
|
+
}
|
|
4716
|
+
// to determine the Accept header
|
|
4717
|
+
let httpHeaderAccepts = [
|
|
4718
|
+
'application/json'
|
|
4719
|
+
];
|
|
4720
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4721
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4722
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4723
|
+
}
|
|
4724
|
+
// to determine the Content-Type header
|
|
4725
|
+
const consumes = [
|
|
4726
|
+
'application/json'
|
|
4727
|
+
];
|
|
4728
|
+
return this.httpClient.post(`${this.basePath}/v2/api/notifications/v2/api/notifications/resolve/${encodeURIComponent(String(id))}`, null, {
|
|
4729
|
+
params: queryParameters,
|
|
4730
|
+
withCredentials: this.configuration.withCredentials,
|
|
4731
|
+
headers: headers,
|
|
4732
|
+
observe: observe,
|
|
4733
|
+
reportProgress: reportProgress
|
|
4734
|
+
});
|
|
4735
|
+
}
|
|
4736
|
+
};
|
|
4737
|
+
NotificationsControllerService.ctorParameters = () => [
|
|
4738
|
+
{ type: HttpClient },
|
|
4739
|
+
{ type: String, decorators: [{ type: Optional }, { type: Inject, args: [BASE_PATH,] }] },
|
|
4740
|
+
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
4741
|
+
];
|
|
4742
|
+
NotificationsControllerService = __decorate([
|
|
4743
|
+
Injectable(),
|
|
4744
|
+
__param(1, Optional()), __param(1, Inject(BASE_PATH)), __param(2, Optional())
|
|
4745
|
+
], NotificationsControllerService);
|
|
4746
|
+
|
|
4568
4747
|
/**
|
|
4569
4748
|
* Api Documentation
|
|
4570
4749
|
* Api Documentation
|
|
@@ -5911,7 +6090,7 @@ UserPreferenceControllerService = __decorate([
|
|
|
5911
6090
|
__param(1, Optional()), __param(1, Inject(BASE_PATH)), __param(2, Optional())
|
|
5912
6091
|
], UserPreferenceControllerService);
|
|
5913
6092
|
|
|
5914
|
-
const APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
6093
|
+
const APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
5915
6094
|
|
|
5916
6095
|
var ActivityLogsStrategyBulkUpdateDTO;
|
|
5917
6096
|
(function (ActivityLogsStrategyBulkUpdateDTO) {
|
|
@@ -6343,6 +6522,25 @@ var MetaRuleDto;
|
|
|
6343
6522
|
};
|
|
6344
6523
|
})(MetaRuleDto || (MetaRuleDto = {}));
|
|
6345
6524
|
|
|
6525
|
+
/**
|
|
6526
|
+
* Api Documentation
|
|
6527
|
+
* Api Documentation
|
|
6528
|
+
*
|
|
6529
|
+
* OpenAPI spec version: 1.0
|
|
6530
|
+
*
|
|
6531
|
+
*
|
|
6532
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6533
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
6534
|
+
* Do not edit the class manually.
|
|
6535
|
+
*/
|
|
6536
|
+
var NotificationResponse;
|
|
6537
|
+
(function (NotificationResponse) {
|
|
6538
|
+
NotificationResponse.TypeEnum = {
|
|
6539
|
+
STATIC: 'STATIC',
|
|
6540
|
+
ACTIONABLE: 'ACTIONABLE'
|
|
6541
|
+
};
|
|
6542
|
+
})(NotificationResponse || (NotificationResponse = {}));
|
|
6543
|
+
|
|
6346
6544
|
/**
|
|
6347
6545
|
* Api Documentation
|
|
6348
6546
|
* Api Documentation
|
|
@@ -6720,6 +6918,7 @@ ApiModule = ApiModule_1 = __decorate([
|
|
|
6720
6918
|
CreativeTemplateVariablesControllerService,
|
|
6721
6919
|
CreativeTemplatesControllerService,
|
|
6722
6920
|
DashboardControllerService,
|
|
6921
|
+
NotificationsControllerService,
|
|
6723
6922
|
PixelControllerService,
|
|
6724
6923
|
ReportingControllerService,
|
|
6725
6924
|
SliceXControllerService,
|
|
@@ -6736,5 +6935,5 @@ ApiModule = ApiModule_1 = __decorate([
|
|
|
6736
6935
|
* Generated bundle index. Do not edit.
|
|
6737
6936
|
*/
|
|
6738
6937
|
|
|
6739
|
-
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
6938
|
+
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
6740
6939
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|