@revxui/intellibid-client-ts 1.0.0 → 1.0.2

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.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +15 -13
  3. package/api/businessGeoController.service.d.ts +28 -28
  4. package/api/campaignController.service.d.ts +67 -56
  5. package/api/countryController.service.d.ts +28 -28
  6. package/api/dpaCampaignController.service.d.ts +52 -52
  7. package/api/dpaEngagementController.service.d.ts +126 -83
  8. package/api/facebookEngagementController.service.d.ts +77 -0
  9. package/api/packageDetailController.service.d.ts +45 -45
  10. package/api.module.d.ts +11 -11
  11. package/configuration.d.ts +48 -48
  12. package/encoder.d.ts +10 -10
  13. package/esm2020/api/api.mjs +16 -14
  14. package/esm2020/api/businessGeoController.service.mjs +77 -77
  15. package/esm2020/api/campaignController.service.mjs +179 -152
  16. package/esm2020/api/countryController.service.mjs +77 -77
  17. package/esm2020/api/dpaCampaignController.service.mjs +145 -145
  18. package/esm2020/api/dpaEngagementController.service.mjs +327 -224
  19. package/esm2020/api/facebookEngagementController.service.mjs +214 -0
  20. package/esm2020/api/packageDetailController.service.mjs +122 -122
  21. package/esm2020/api.module.mjs +63 -60
  22. package/esm2020/configuration.mjs +58 -58
  23. package/esm2020/encoder.mjs +16 -16
  24. package/esm2020/index.mjs +5 -5
  25. package/esm2020/model/adSetDetails.mjs +19 -19
  26. package/esm2020/model/audienceDetails.mjs +12 -12
  27. package/esm2020/model/businessGeoResponse.mjs +12 -12
  28. package/esm2020/model/campaignResponse.mjs +31 -31
  29. package/esm2020/model/countryResponse.mjs +12 -12
  30. package/esm2020/model/createCampaignRequest.mjs +12 -12
  31. package/esm2020/model/creativeDetails.mjs +1 -1
  32. package/esm2020/model/dpaCampaignRequest.mjs +1 -1
  33. package/esm2020/model/dpaCampaignResponse.mjs +11 -11
  34. package/esm2020/model/dpaEngagementRequest.mjs +1 -1
  35. package/esm2020/model/dpaEngagementResponse.mjs +32 -32
  36. package/esm2020/model/entitySearchResponse.mjs +13 -0
  37. package/esm2020/model/exclusionRule.mjs +12 -12
  38. package/esm2020/model/facebookDetails.mjs +2 -2
  39. package/esm2020/model/facebookEngagementRequest.mjs +13 -0
  40. package/esm2020/model/facebookEngagementResponse.mjs +21 -0
  41. package/esm2020/model/imageOverlaySpecDetails.mjs +12 -12
  42. package/esm2020/model/models.mjs +26 -21
  43. package/esm2020/model/packageDetailResponse.mjs +12 -12
  44. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  45. package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
  46. package/esm2020/model/pageFacebookEngagementResponse.mjs +2 -0
  47. package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
  48. package/esm2020/model/pageableObject.mjs +2 -2
  49. package/esm2020/model/sortObject.mjs +12 -12
  50. package/esm2020/model/updateDailyBudgetRequest.mjs +13 -0
  51. package/esm2020/revxui-intellibid-client-ts.mjs +4 -4
  52. package/esm2020/variables.mjs +8 -8
  53. package/fesm2015/revxui-intellibid-client-ts.mjs +1334 -973
  54. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  55. package/fesm2020/revxui-intellibid-client-ts.mjs +1434 -1039
  56. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  57. package/index.d.ts +5 -5
  58. package/model/adSetDetails.d.ts +28 -28
  59. package/model/audienceDetails.d.ts +22 -22
  60. package/model/businessGeoResponse.d.ts +15 -15
  61. package/model/campaignResponse.d.ts +117 -117
  62. package/model/countryResponse.d.ts +16 -16
  63. package/model/createCampaignRequest.d.ts +16 -16
  64. package/model/creativeDetails.d.ts +21 -21
  65. package/model/dpaCampaignRequest.d.ts +17 -17
  66. package/model/dpaCampaignResponse.d.ts +35 -35
  67. package/model/dpaEngagementRequest.d.ts +29 -29
  68. package/model/dpaEngagementResponse.d.ts +90 -90
  69. package/model/entitySearchResponse.d.ts +15 -0
  70. package/model/exclusionRule.d.ts +15 -15
  71. package/model/facebookDetails.d.ts +27 -27
  72. package/model/facebookEngagementRequest.d.ts +24 -0
  73. package/model/facebookEngagementResponse.d.ts +39 -0
  74. package/model/imageOverlaySpecDetails.d.ts +20 -20
  75. package/model/models.d.ts +25 -20
  76. package/model/packageDetailResponse.d.ts +16 -16
  77. package/model/pageCampaignResponse.d.ts +27 -27
  78. package/model/pageDpaEngagementResponse.d.ts +27 -27
  79. package/model/pageFacebookEngagementResponse.d.ts +27 -0
  80. package/model/pagePackageDetailResponse.d.ts +27 -27
  81. package/model/pageableObject.d.ts +20 -20
  82. package/model/sortObject.d.ts +18 -18
  83. package/model/updateDailyBudgetRequest.d.ts +14 -0
  84. package/package.json +1 -1
  85. package/variables.d.ts +8 -8
@@ -0,0 +1,77 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { FacebookEngagementRequest } from '../model/facebookEngagementRequest';
4
+ import { FacebookEngagementResponse } from '../model/facebookEngagementResponse';
5
+ import { PageFacebookEngagementResponse } from '../model/pageFacebookEngagementResponse';
6
+ import { Configuration } from '../configuration';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FacebookEngagementControllerService {
9
+ protected httpClient: HttpClient;
10
+ protected basePath: string;
11
+ defaultHeaders: HttpHeaders;
12
+ configuration: Configuration;
13
+ constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
14
+ /**
15
+ * @param consumes string[] mime-types
16
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
17
+ */
18
+ private canConsumeForm;
19
+ /**
20
+ *
21
+ *
22
+ * @param body
23
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
24
+ * @param reportProgress flag to report request and response progress.
25
+ */
26
+ createFacebookEngagement(body: FacebookEngagementRequest, observe?: 'body', reportProgress?: boolean): Observable<FacebookEngagementResponse>;
27
+ createFacebookEngagement(body: FacebookEngagementRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<FacebookEngagementResponse>>;
28
+ createFacebookEngagement(body: FacebookEngagementRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<FacebookEngagementResponse>>;
29
+ /**
30
+ *
31
+ *
32
+ * @param id
33
+ * @param campaignId
34
+ * @param facebookAccountId
35
+ * @param facebookFanPageId
36
+ * @param facebookCatalogId
37
+ * @param facebookCatalogType
38
+ * @param instagramActorId
39
+ * @param facebookPixelId
40
+ * @param facebookAppId
41
+ * @param facebookProductSetId
42
+ * @param tosAccepted
43
+ * @param eventSourceGroupId
44
+ * @param audienceDsdo
45
+ * @param page Zero-based page index (0..N)
46
+ * @param size The size of the page to be returned
47
+ * @param sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
48
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
49
+ * @param reportProgress flag to report request and response progress.
50
+ */
51
+ getAllFacebookEngagements(id?: number, campaignId?: number, facebookAccountId?: string, facebookFanPageId?: string, facebookCatalogId?: string, facebookCatalogType?: string, instagramActorId?: string, facebookPixelId?: string, facebookAppId?: string, facebookProductSetId?: string, tosAccepted?: boolean, eventSourceGroupId?: string, audienceDsdo?: string, page?: number, size?: number, sort?: Array<string>, observe?: 'body', reportProgress?: boolean): Observable<PageFacebookEngagementResponse>;
52
+ getAllFacebookEngagements(id?: number, campaignId?: number, facebookAccountId?: string, facebookFanPageId?: string, facebookCatalogId?: string, facebookCatalogType?: string, instagramActorId?: string, facebookPixelId?: string, facebookAppId?: string, facebookProductSetId?: string, tosAccepted?: boolean, eventSourceGroupId?: string, audienceDsdo?: string, page?: number, size?: number, sort?: Array<string>, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PageFacebookEngagementResponse>>;
53
+ getAllFacebookEngagements(id?: number, campaignId?: number, facebookAccountId?: string, facebookFanPageId?: string, facebookCatalogId?: string, facebookCatalogType?: string, instagramActorId?: string, facebookPixelId?: string, facebookAppId?: string, facebookProductSetId?: string, tosAccepted?: boolean, eventSourceGroupId?: string, audienceDsdo?: string, page?: number, size?: number, sort?: Array<string>, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PageFacebookEngagementResponse>>;
54
+ /**
55
+ *
56
+ *
57
+ * @param id
58
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
59
+ * @param reportProgress flag to report request and response progress.
60
+ */
61
+ getFacebookEngagement(id: number, observe?: 'body', reportProgress?: boolean): Observable<FacebookEngagementResponse>;
62
+ getFacebookEngagement(id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<FacebookEngagementResponse>>;
63
+ getFacebookEngagement(id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<FacebookEngagementResponse>>;
64
+ /**
65
+ *
66
+ *
67
+ * @param body
68
+ * @param id
69
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
70
+ * @param reportProgress flag to report request and response progress.
71
+ */
72
+ updateFacebookEngagement(body: FacebookEngagementRequest, id: number, observe?: 'body', reportProgress?: boolean): Observable<FacebookEngagementResponse>;
73
+ updateFacebookEngagement(body: FacebookEngagementRequest, id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<FacebookEngagementResponse>>;
74
+ updateFacebookEngagement(body: FacebookEngagementRequest, id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<FacebookEngagementResponse>>;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<FacebookEngagementControllerService, [null, { optional: true; }, { optional: true; }]>;
76
+ static ɵprov: i0.ɵɵInjectableDeclaration<FacebookEngagementControllerService>;
77
+ }
@@ -1,45 +1,45 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { PackageDetailResponse } from '../model/packageDetailResponse';
4
- import { PagePackageDetailResponse } from '../model/pagePackageDetailResponse';
5
- import { Configuration } from '../configuration';
6
- import * as i0 from "@angular/core";
7
- export declare class PackageDetailControllerService {
8
- protected httpClient: HttpClient;
9
- protected basePath: string;
10
- defaultHeaders: HttpHeaders;
11
- configuration: Configuration;
12
- constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
13
- /**
14
- * @param consumes string[] mime-types
15
- * @return true: consumes contains 'multipart/form-data', false: otherwise
16
- */
17
- private canConsumeForm;
18
- /**
19
- *
20
- *
21
- * @param id
22
- * @param name
23
- * @param isActive
24
- * @param page Zero-based page index (0..N)
25
- * @param size The size of the page to be returned
26
- * @param sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
27
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
28
- * @param reportProgress flag to report request and response progress.
29
- */
30
- getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'body', reportProgress?: boolean): Observable<PagePackageDetailResponse>;
31
- getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PagePackageDetailResponse>>;
32
- getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PagePackageDetailResponse>>;
33
- /**
34
- *
35
- *
36
- * @param id
37
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
38
- * @param reportProgress flag to report request and response progress.
39
- */
40
- getPackageDetail(id: number, observe?: 'body', reportProgress?: boolean): Observable<PackageDetailResponse>;
41
- getPackageDetail(id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PackageDetailResponse>>;
42
- getPackageDetail(id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PackageDetailResponse>>;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<PackageDetailControllerService, [null, { optional: true; }, { optional: true; }]>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<PackageDetailControllerService>;
45
- }
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { PackageDetailResponse } from '../model/packageDetailResponse';
4
+ import { PagePackageDetailResponse } from '../model/pagePackageDetailResponse';
5
+ import { Configuration } from '../configuration';
6
+ import * as i0 from "@angular/core";
7
+ export declare class PackageDetailControllerService {
8
+ protected httpClient: HttpClient;
9
+ protected basePath: string;
10
+ defaultHeaders: HttpHeaders;
11
+ configuration: Configuration;
12
+ constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
13
+ /**
14
+ * @param consumes string[] mime-types
15
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
16
+ */
17
+ private canConsumeForm;
18
+ /**
19
+ *
20
+ *
21
+ * @param id
22
+ * @param name
23
+ * @param isActive
24
+ * @param page Zero-based page index (0..N)
25
+ * @param size The size of the page to be returned
26
+ * @param sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
27
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
28
+ * @param reportProgress flag to report request and response progress.
29
+ */
30
+ getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'body', reportProgress?: boolean): Observable<PagePackageDetailResponse>;
31
+ getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PagePackageDetailResponse>>;
32
+ getAllPackageDetails(id?: number, name?: string, isActive?: boolean, page?: number, size?: number, sort?: Array<string>, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PagePackageDetailResponse>>;
33
+ /**
34
+ *
35
+ *
36
+ * @param id
37
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
38
+ * @param reportProgress flag to report request and response progress.
39
+ */
40
+ getPackageDetail(id: number, observe?: 'body', reportProgress?: boolean): Observable<PackageDetailResponse>;
41
+ getPackageDetail(id: number, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PackageDetailResponse>>;
42
+ getPackageDetail(id: number, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PackageDetailResponse>>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<PackageDetailControllerService, [null, { optional: true; }, { optional: true; }]>;
44
+ static ɵprov: i0.ɵɵInjectableDeclaration<PackageDetailControllerService>;
45
+ }
package/api.module.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Configuration } from './configuration';
3
- import { HttpClient } from '@angular/common/http';
4
- import * as i0 from "@angular/core";
5
- export declare class ApiModule {
6
- static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
- constructor(parentModule: ApiModule, http: HttpClient);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Configuration } from './configuration';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiModule {
6
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
+ constructor(parentModule: ApiModule, http: HttpClient);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
+ }
@@ -1,48 +1,48 @@
1
- export interface ConfigurationParameters {
2
- apiKeys?: {
3
- [key: string]: string;
4
- };
5
- username?: string;
6
- password?: string;
7
- accessToken?: string | (() => string);
8
- basePath?: string;
9
- withCredentials?: boolean;
10
- }
11
- export declare class Configuration {
12
- apiKeys?: {
13
- [key: string]: string;
14
- };
15
- username?: string;
16
- password?: string;
17
- accessToken?: string | (() => string);
18
- basePath?: string;
19
- withCredentials?: boolean;
20
- constructor(configurationParameters?: ConfigurationParameters);
21
- /**
22
- * Select the correct content-type to use for a request.
23
- * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
24
- * If no content type is found return the first found type if the contentTypes is not empty
25
- * @param contentTypes - the array of content types that are available for selection
26
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
27
- */
28
- selectHeaderContentType(contentTypes: string[]): string | undefined;
29
- /**
30
- * Select the correct accept content-type to use for a request.
31
- * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
32
- * If no content type is found return the first found type if the contentTypes is not empty
33
- * @param accepts - the array of content types that are available for selection.
34
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
35
- */
36
- selectHeaderAccept(accepts: string[]): string | undefined;
37
- /**
38
- * Check if the given MIME is a JSON MIME.
39
- * JSON MIME examples:
40
- * application/json
41
- * application/json; charset=UTF8
42
- * APPLICATION/JSON
43
- * application/vnd.company+json
44
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
45
- * @return True if the given MIME is JSON, false otherwise.
46
- */
47
- isJsonMime(mime: string): boolean;
48
- }
1
+ export interface ConfigurationParameters {
2
+ apiKeys?: {
3
+ [key: string]: string;
4
+ };
5
+ username?: string;
6
+ password?: string;
7
+ accessToken?: string | (() => string);
8
+ basePath?: string;
9
+ withCredentials?: boolean;
10
+ }
11
+ export declare class Configuration {
12
+ apiKeys?: {
13
+ [key: string]: string;
14
+ };
15
+ username?: string;
16
+ password?: string;
17
+ accessToken?: string | (() => string);
18
+ basePath?: string;
19
+ withCredentials?: boolean;
20
+ constructor(configurationParameters?: ConfigurationParameters);
21
+ /**
22
+ * Select the correct content-type to use for a request.
23
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
24
+ * If no content type is found return the first found type if the contentTypes is not empty
25
+ * @param contentTypes - the array of content types that are available for selection
26
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
27
+ */
28
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
29
+ /**
30
+ * Select the correct accept content-type to use for a request.
31
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
32
+ * If no content type is found return the first found type if the contentTypes is not empty
33
+ * @param accepts - the array of content types that are available for selection.
34
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
35
+ */
36
+ selectHeaderAccept(accepts: string[]): string | undefined;
37
+ /**
38
+ * Check if the given MIME is a JSON MIME.
39
+ * JSON MIME examples:
40
+ * application/json
41
+ * application/json; charset=UTF8
42
+ * APPLICATION/JSON
43
+ * application/vnd.company+json
44
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
45
+ * @return True if the given MIME is JSON, false otherwise.
46
+ */
47
+ isJsonMime(mime: string): boolean;
48
+ }
package/encoder.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { HttpUrlEncodingCodec } from '@angular/common/http';
2
- /**
3
- * CustomHttpUrlEncodingCodec
4
- * Fix plus sign (+) not encoding, so sent as blank space
5
- * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
6
- */
7
- export declare class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
8
- encodeKey(k: string): string;
9
- encodeValue(v: string): string;
10
- }
1
+ import { HttpUrlEncodingCodec } from '@angular/common/http';
2
+ /**
3
+ * CustomHttpUrlEncodingCodec
4
+ * Fix plus sign (+) not encoding, so sent as blank space
5
+ * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
6
+ */
7
+ export declare class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
8
+ encodeKey(k: string): string;
9
+ encodeValue(v: string): string;
10
+ }
@@ -1,14 +1,16 @@
1
- export * from './businessGeoController.service';
2
- import { BusinessGeoControllerService } from './businessGeoController.service';
3
- export * from './campaignController.service';
4
- import { CampaignControllerService } from './campaignController.service';
5
- export * from './countryController.service';
6
- import { CountryControllerService } from './countryController.service';
7
- export * from './dpaCampaignController.service';
8
- import { DpaCampaignControllerService } from './dpaCampaignController.service';
9
- export * from './dpaEngagementController.service';
10
- import { DpaEngagementControllerService } from './dpaEngagementController.service';
11
- export * from './packageDetailController.service';
12
- import { PackageDetailControllerService } from './packageDetailController.service';
13
- export const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, PackageDetailControllerService];
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9FLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDekUsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUN2RSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9FLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDbkYsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNuRixNQUFNLENBQUMsTUFBTSxJQUFJLEdBQUcsQ0FBQyw0QkFBNEIsRUFBRSx5QkFBeUIsRUFBRSx3QkFBd0IsRUFBRSw0QkFBNEIsRUFBRSw4QkFBOEIsRUFBRSw4QkFBOEIsQ0FBQyxDQUFDIiwic291cmNlc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BbQnVzaW5lc3NHZW9Db250cm9sbGVyU2VydmljZSwgQ2FtcGFpZ25Db250cm9sbGVyU2VydmljZSwgQ291bnRyeUNvbnRyb2xsZXJTZXJ2aWNlLCBEcGFDYW1wYWlnbkNvbnRyb2xsZXJTZXJ2aWNlLCBEcGFFbmdhZ2VtZW50Q29udHJvbGxlclNlcnZpY2UsIFBhY2thZ2VEZXRhaWxDb250cm9sbGVyU2VydmljZV07XG4iXX0=
1
+ export * from './businessGeoController.service';
2
+ import { BusinessGeoControllerService } from './businessGeoController.service';
3
+ export * from './campaignController.service';
4
+ import { CampaignControllerService } from './campaignController.service';
5
+ export * from './countryController.service';
6
+ import { CountryControllerService } from './countryController.service';
7
+ export * from './dpaCampaignController.service';
8
+ import { DpaCampaignControllerService } from './dpaCampaignController.service';
9
+ export * from './dpaEngagementController.service';
10
+ import { DpaEngagementControllerService } from './dpaEngagementController.service';
11
+ export * from './facebookEngagementController.service';
12
+ import { FacebookEngagementControllerService } from './facebookEngagementController.service';
13
+ export * from './packageDetailController.service';
14
+ import { PackageDetailControllerService } from './packageDetailController.service';
15
+ export const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vYXBpL2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9FLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDekUsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxPQ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==
@@ -1,78 +1,78 @@
1
- /**
2
- *
3
- *
4
- *
5
- *
6
- *
7
- *
8
- * NOTE: This class is auto generated by the swagger code generator program.
9
- * https://github.com/swagger-api/swagger-codegen.git
10
- * Do not edit the class manually.
11
- */ /* tslint:disable:no-unused-variable member-ordering */
12
- import { Inject, Injectable, Optional } from '@angular/core';
13
- import { HttpHeaders } from '@angular/common/http';
14
- import { BASE_PATH } from '../variables';
15
- import { Configuration } from '../configuration';
16
- import * as i0 from "@angular/core";
17
- import * as i1 from "@angular/common/http";
18
- import * as i2 from "../configuration";
19
- export class BusinessGeoControllerService {
20
- constructor(httpClient, basePath, configuration) {
21
- this.httpClient = httpClient;
22
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
23
- this.defaultHeaders = new HttpHeaders();
24
- this.configuration = new Configuration();
25
- if (basePath) {
26
- this.basePath = basePath;
27
- }
28
- if (configuration) {
29
- this.configuration = configuration;
30
- this.basePath = basePath || configuration.basePath || this.basePath;
31
- }
32
- }
33
- /**
34
- * @param consumes string[] mime-types
35
- * @return true: consumes contains 'multipart/form-data', false: otherwise
36
- */
37
- canConsumeForm(consumes) {
38
- const form = 'multipart/form-data';
39
- for (const consume of consumes) {
40
- if (form === consume) {
41
- return true;
42
- }
43
- }
44
- return false;
45
- }
46
- getAllBusinessGeos(observe = 'body', reportProgress = false) {
47
- let headers = this.defaultHeaders;
48
- // to determine the Accept header
49
- let httpHeaderAccepts = [
50
- '*/*'
51
- ];
52
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
53
- if (httpHeaderAcceptSelected != undefined) {
54
- headers = headers.set('Accept', httpHeaderAcceptSelected);
55
- }
56
- // to determine the Content-Type header
57
- const consumes = [];
58
- return this.httpClient.request('get', `${this.basePath}/business-geo`, {
59
- withCredentials: this.configuration.withCredentials,
60
- headers: headers,
61
- observe: observe,
62
- reportProgress: reportProgress
63
- });
64
- }
65
- }
66
- BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: i2.Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
67
- BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
69
- type: Injectable
70
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
71
- type: Optional
72
- }, {
73
- type: Inject,
74
- args: [BASE_PATH]
75
- }] }, { type: i2.Configuration, decorators: [{
76
- type: Optional
77
- }] }]; } });
1
+ /**
2
+ *
3
+ *
4
+ *
5
+ *
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */ /* tslint:disable:no-unused-variable member-ordering */
12
+ import { Inject, Injectable, Optional } from '@angular/core';
13
+ import { HttpHeaders } from '@angular/common/http';
14
+ import { BASE_PATH } from '../variables';
15
+ import { Configuration } from '../configuration';
16
+ import * as i0 from "@angular/core";
17
+ import * as i1 from "@angular/common/http";
18
+ import * as i2 from "../configuration";
19
+ export class BusinessGeoControllerService {
20
+ constructor(httpClient, basePath, configuration) {
21
+ this.httpClient = httpClient;
22
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
23
+ this.defaultHeaders = new HttpHeaders();
24
+ this.configuration = new Configuration();
25
+ if (basePath) {
26
+ this.basePath = basePath;
27
+ }
28
+ if (configuration) {
29
+ this.configuration = configuration;
30
+ this.basePath = basePath || configuration.basePath || this.basePath;
31
+ }
32
+ }
33
+ /**
34
+ * @param consumes string[] mime-types
35
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
36
+ */
37
+ canConsumeForm(consumes) {
38
+ const form = 'multipart/form-data';
39
+ for (const consume of consumes) {
40
+ if (form === consume) {
41
+ return true;
42
+ }
43
+ }
44
+ return false;
45
+ }
46
+ getAllBusinessGeos(observe = 'body', reportProgress = false) {
47
+ let headers = this.defaultHeaders;
48
+ // to determine the Accept header
49
+ let httpHeaderAccepts = [
50
+ '*/*'
51
+ ];
52
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
53
+ if (httpHeaderAcceptSelected != undefined) {
54
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
55
+ }
56
+ // to determine the Content-Type header
57
+ const consumes = [];
58
+ return this.httpClient.request('get', `${this.basePath}/business-geo`, {
59
+ withCredentials: this.configuration.withCredentials,
60
+ headers: headers,
61
+ observe: observe,
62
+ reportProgress: reportProgress
63
+ });
64
+ }
65
+ }
66
+ BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: i2.Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
67
+ BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
69
+ type: Injectable
70
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
71
+ type: Optional
72
+ }, {
73
+ type: Inject,
74
+ args: [BASE_PATH]
75
+ }] }, { type: i2.Configuration, decorators: [{
76
+ type: Optional
77
+ }] }]; } });
78
78
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVzaW5lc3NHZW9Db250cm9sbGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiI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0JyxgJHt0aGlzLmJhc2VQYXRofS9idXNpbmVzcy1nZW9gLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHdpdGhDcmVkZW50aWFsczogdGhpcy5jb25maWd1cmF0aW9uLndpdGhDcmVkZW50aWFscyxcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiBoZWFkZXJzLFxuICAgICAgICAgICAgICAgIG9ic2VydmU6IG9ic2VydmUsXG4gICAgICAgICAgICAgICAgcmVwb3J0UHJvZ3Jlc3M6IHJlcG9ydFByb2dyZXNzXG4gICAgICAgICAgICB9XG4gICAgICAgICk7XG4gICAgfVxuXG59XG4iXX0=