@brightinteractive/platform-api 0.1.72-SNAPSHOT → 0.1.72

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/api/api.d.ts CHANGED
@@ -104,6 +104,8 @@ export * from './subdomains.service';
104
104
  import { SubdomainsService } from './subdomains.service';
105
105
  export * from './subscription.service';
106
106
  import { SubscriptionService } from './subscription.service';
107
+ export * from './termsAndConditions.service';
108
+ import { TermsAndConditionsService } from './termsAndConditions.service';
107
109
  export * from './textInImageSettings.service';
108
110
  import { TextInImageSettingsService } from './textInImageSettings.service';
109
111
  export * from './theme.service';
@@ -116,4 +118,4 @@ export * from './users.service';
116
118
  import { UsersService } from './users.service';
117
119
  export * from './wordPress.service';
118
120
  import { WordPressService } from './wordPress.service';
119
- export declare const APIS: (typeof AIImageGenerationsService | typeof AccountSecurityService | typeof AccountsService | typeof AllowedLoginMethodsService | typeof AssetCommentsService | typeof AssetDeduplicationService | typeof AssetDownloadEventsService | typeof AssetEmbeddableLinksService | typeof AssetMetadataExportService | typeof AssetSavedCropAreaSummariesService | typeof AssetSavedCropAreasService | typeof AssetShareAccessTokensService | typeof AssetShareEmailsService | typeof AssetSharesService | typeof AssetsService | typeof AutoTaggingImageSettingsService | typeof CloudConnectionsService | typeof CloudImportJobsService | typeof CloudObjectsService | typeof CollectionShareAccessTokensService | typeof CollectionSharesService | typeof CollectionsService | typeof CorebookService | typeof CustomService | typeof DefaultService | typeof EntityQuotaOverridesService | typeof ExternalAppService | typeof FieldOptionImagesService | typeof FieldOptionsService | typeof FieldViewsService | typeof FieldsService | typeof FolderSettingsService | typeof GroupsService | typeof GuestUploadAccessTokensService | typeof GuestUploadEmailsService | typeof GuestUploadsService | typeof OnboardingChecklistService | typeof PingService | typeof PortalAccessTokensService | typeof PortalEmailsService | typeof PortalsService | typeof PresetTransformationsService | typeof PubliclyAvailableGuestUploadDataService | typeof PubliclyAvailablePortalDatasService | typeof ReferenceImageUploadsService | typeof SavedSearchService | typeof SavedSearchesService | typeof SearchFiltersService | typeof ShopifyService | typeof ShopifySKUSettingsService | typeof StaffMembersService | typeof SubdomainsService | typeof SubscriptionService | typeof TextInImageSettingsService | typeof ThemeService | typeof UserPreferencesService | typeof UserReferrerService | typeof UsersService | typeof WordPressService)[];
121
+ export declare const APIS: (typeof AllowedLoginMethodsService | typeof AIImageGenerationsService | typeof AccountSecurityService | typeof AccountsService | typeof AssetCommentsService | typeof AssetDeduplicationService | typeof AssetDownloadEventsService | typeof AssetEmbeddableLinksService | typeof AssetMetadataExportService | typeof AssetSavedCropAreaSummariesService | typeof AssetSavedCropAreasService | typeof AssetShareAccessTokensService | typeof AssetShareEmailsService | typeof AssetSharesService | typeof AssetsService | typeof AutoTaggingImageSettingsService | typeof CloudConnectionsService | typeof CloudImportJobsService | typeof CloudObjectsService | typeof CollectionShareAccessTokensService | typeof CollectionSharesService | typeof CollectionsService | typeof CorebookService | typeof CustomService | typeof DefaultService | typeof EntityQuotaOverridesService | typeof ExternalAppService | typeof FieldOptionImagesService | typeof FieldOptionsService | typeof FieldViewsService | typeof FieldsService | typeof FolderSettingsService | typeof GroupsService | typeof GuestUploadAccessTokensService | typeof GuestUploadEmailsService | typeof GuestUploadsService | typeof OnboardingChecklistService | typeof PingService | typeof PortalAccessTokensService | typeof PortalEmailsService | typeof PortalsService | typeof PresetTransformationsService | typeof PubliclyAvailableGuestUploadDataService | typeof PubliclyAvailablePortalDatasService | typeof ReferenceImageUploadsService | typeof SavedSearchService | typeof SavedSearchesService | typeof SearchFiltersService | typeof ShopifyService | typeof ShopifySKUSettingsService | typeof StaffMembersService | typeof SubdomainsService | typeof SubscriptionService | typeof TermsAndConditionsService | typeof TextInImageSettingsService | typeof ThemeService | typeof UserPreferencesService | typeof UserReferrerService | typeof UsersService | typeof WordPressService)[];
@@ -0,0 +1,106 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { AccountTermsAndConditions } from '../model/accountTermsAndConditions';
4
+ import { AccountTermsAndConditionsRequest } from '../model/accountTermsAndConditionsRequest';
5
+ import { Configuration } from '../configuration';
6
+ import * as i0 from "@angular/core";
7
+ export declare class TermsAndConditionsService {
8
+ protected httpClient: HttpClient;
9
+ protected basePath: string;
10
+ defaultHeaders: HttpHeaders;
11
+ configuration: Configuration;
12
+ encoder: HttpParameterCodec;
13
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
14
+ private addToHttpParams;
15
+ private addToHttpParamsRecursive;
16
+ /**
17
+ * Delete account terms and conditions
18
+ * Delete an [`AccountTermsAndConditions`](#operation/getAccountTermsAndConditions)
19
+ * @param id The unique ID of the [`AccountTermsAndConditions`](#operation/getAccountTermsAndConditions)
20
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
21
+ * @param reportProgress flag to report request and response progress.
22
+ */
23
+ deleteAccountTermsAndConditions(id: string, observe?: 'body', reportProgress?: boolean, options?: {
24
+ httpHeaderAccept?: 'application/json';
25
+ context?: HttpContext;
26
+ transferCache?: boolean;
27
+ }): Observable<any>;
28
+ deleteAccountTermsAndConditions(id: string, observe?: 'response', reportProgress?: boolean, options?: {
29
+ httpHeaderAccept?: 'application/json';
30
+ context?: HttpContext;
31
+ transferCache?: boolean;
32
+ }): Observable<HttpResponse<any>>;
33
+ deleteAccountTermsAndConditions(id: string, observe?: 'events', reportProgress?: boolean, options?: {
34
+ httpHeaderAccept?: 'application/json';
35
+ context?: HttpContext;
36
+ transferCache?: boolean;
37
+ }): Observable<HttpEvent<any>>;
38
+ /**
39
+ * Get account terms and conditions
40
+ * Get an [&#x60;AccountTermsAndConditions&#x60;](#operation/getAccountTermsAndConditions) **This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header**
41
+ * @param id The unique ID of the [&#x60;AccountTermsAndConditions&#x60;](#operation/getAccountTermsAndConditions)
42
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
43
+ * @param reportProgress flag to report request and response progress.
44
+ */
45
+ getAccountTermsAndConditions(id: string, observe?: 'body', reportProgress?: boolean, options?: {
46
+ httpHeaderAccept?: 'application/json';
47
+ context?: HttpContext;
48
+ transferCache?: boolean;
49
+ }): Observable<AccountTermsAndConditions>;
50
+ getAccountTermsAndConditions(id: string, observe?: 'response', reportProgress?: boolean, options?: {
51
+ httpHeaderAccept?: 'application/json';
52
+ context?: HttpContext;
53
+ transferCache?: boolean;
54
+ }): Observable<HttpResponse<AccountTermsAndConditions>>;
55
+ getAccountTermsAndConditions(id: string, observe?: 'events', reportProgress?: boolean, options?: {
56
+ httpHeaderAccept?: 'application/json';
57
+ context?: HttpContext;
58
+ transferCache?: boolean;
59
+ }): Observable<HttpEvent<AccountTermsAndConditions>>;
60
+ /**
61
+ * Get the account terms and conditions in effect
62
+ * Get the latest [&#x60;AccountTermsAndConditions&#x60;](#operation/getAccountTermsAndConditions) in effect **This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header**
63
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
64
+ * @param reportProgress flag to report request and response progress.
65
+ */
66
+ getAccountTermsAndConditionsInEffect(observe?: 'body', reportProgress?: boolean, options?: {
67
+ httpHeaderAccept?: 'application/json';
68
+ context?: HttpContext;
69
+ transferCache?: boolean;
70
+ }): Observable<AccountTermsAndConditions>;
71
+ getAccountTermsAndConditionsInEffect(observe?: 'response', reportProgress?: boolean, options?: {
72
+ httpHeaderAccept?: 'application/json';
73
+ context?: HttpContext;
74
+ transferCache?: boolean;
75
+ }): Observable<HttpResponse<AccountTermsAndConditions>>;
76
+ getAccountTermsAndConditionsInEffect(observe?: 'events', reportProgress?: boolean, options?: {
77
+ httpHeaderAccept?: 'application/json';
78
+ context?: HttpContext;
79
+ transferCache?: boolean;
80
+ }): Observable<HttpEvent<AccountTermsAndConditions>>;
81
+ /**
82
+ * Create or update account terms and conditions
83
+ * Create or update an [&#x60;AccountTermsAndConditions&#x60;](#operation/getAccountTermsAndConditions)
84
+ * @param id The unique ID of the [&#x60;AccountTermsAndConditions&#x60;](#operation/getAccountTermsAndConditions)
85
+ * @param accountTermsAndConditionsRequest
86
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
87
+ * @param reportProgress flag to report request and response progress.
88
+ */
89
+ putAccountTermsAndConditions(id: string, accountTermsAndConditionsRequest?: AccountTermsAndConditionsRequest, observe?: 'body', reportProgress?: boolean, options?: {
90
+ httpHeaderAccept?: 'application/json';
91
+ context?: HttpContext;
92
+ transferCache?: boolean;
93
+ }): Observable<AccountTermsAndConditions>;
94
+ putAccountTermsAndConditions(id: string, accountTermsAndConditionsRequest?: AccountTermsAndConditionsRequest, observe?: 'response', reportProgress?: boolean, options?: {
95
+ httpHeaderAccept?: 'application/json';
96
+ context?: HttpContext;
97
+ transferCache?: boolean;
98
+ }): Observable<HttpResponse<AccountTermsAndConditions>>;
99
+ putAccountTermsAndConditions(id: string, accountTermsAndConditionsRequest?: AccountTermsAndConditionsRequest, observe?: 'events', reportProgress?: boolean, options?: {
100
+ httpHeaderAccept?: 'application/json';
101
+ context?: HttpContext;
102
+ transferCache?: boolean;
103
+ }): Observable<HttpEvent<AccountTermsAndConditions>>;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermsAndConditionsService, [null, { optional: true; }, { optional: true; }]>;
105
+ static ɵprov: i0.ɵɵInjectableDeclaration<TermsAndConditionsService>;
106
+ }