@brightinteractive/platform-api 0.1.0 → 0.1.1
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/accountSecurity.service.d.ts +53 -0
- package/api/accounts.service.d.ts +41 -3
- package/api/api.d.ts +49 -1
- package/api/assetComments.service.d.ts +97 -0
- package/api/assetDeduplication.service.d.ts +35 -0
- package/api/assetDownloadEvents.service.d.ts +0 -3
- package/api/assetEmbeddableLinks.service.d.ts +19 -12
- package/api/assetMetadataExport.service.d.ts +94 -0
- package/api/assetSavedCropAreaSummaries.service.d.ts +21 -3
- package/api/assetSavedCropAreas.service.d.ts +0 -12
- package/api/assetShareAccessTokens.service.d.ts +0 -3
- package/api/assetShareEmails.service.d.ts +0 -3
- package/api/assetShares.service.d.ts +21 -12
- package/api/assets.service.d.ts +80 -51
- package/api/autoTaggingImageSettings.service.d.ts +53 -0
- package/api/cloudConnections.service.d.ts +111 -0
- package/api/cloudImportJobs.service.d.ts +115 -0
- package/api/cloudObjects.service.d.ts +57 -0
- package/api/collectionShareAccessTokens.service.d.ts +0 -3
- package/api/collectionShares.service.d.ts +20 -15
- package/api/collections.service.d.ts +0 -9
- package/api/corebook.service.d.ts +0 -6
- package/api/custom.service.d.ts +0 -12
- package/api/externalApp.service.d.ts +76 -0
- package/api/fieldOptionImages.service.d.ts +76 -0
- package/api/fieldOptions.service.d.ts +0 -15
- package/api/fieldViews.service.d.ts +0 -3
- package/api/fields.service.d.ts +0 -9
- package/api/folderSettings.service.d.ts +0 -3
- package/api/groups.service.d.ts +0 -3
- package/api/guestUploadAccessTokens.service.d.ts +37 -0
- package/api/guestUploadEmails.service.d.ts +36 -0
- package/api/guestUploads.service.d.ts +117 -0
- package/api/onboardingChecklist.service.d.ts +53 -0
- package/api/ping.service.d.ts +34 -0
- package/api/portalAccessTokens.service.d.ts +0 -3
- package/api/portalEmails.service.d.ts +0 -3
- package/api/portals.service.d.ts +0 -15
- package/api/presetTransformations.service.d.ts +39 -3
- package/api/publiclyAvailableGuestUploadData.service.d.ts +37 -0
- package/api/publiclyAvailablePortalDatas.service.d.ts +37 -0
- package/api/savedSearch.service.d.ts +0 -3
- package/api/savedSearches.service.d.ts +0 -12
- package/api/searchFilters.service.d.ts +19 -3
- package/api/shopify.service.d.ts +102 -0
- package/api/staffMembers.service.d.ts +74 -0
- package/api/subdomains.service.d.ts +0 -3
- package/api/subscription.service.d.ts +152 -0
- package/api/textInImageSettings.service.d.ts +53 -0
- package/api/theme.service.d.ts +132 -3
- package/api/userPreferences.service.d.ts +55 -0
- package/api/userReferrer.service.d.ts +35 -0
- package/api/users.service.d.ts +241 -9
- package/api/wordPress.service.d.ts +89 -0
- package/esm2022/api/accountSecurity.service.mjs +198 -0
- package/esm2022/api/accounts.service.mjs +117 -9
- package/esm2022/api/api.mjs +50 -2
- package/esm2022/api/assetComments.service.mjs +312 -0
- package/esm2022/api/assetDeduplication.service.mjs +141 -0
- package/esm2022/api/assetDownloadEvents.service.mjs +3 -9
- package/esm2022/api/assetEmbeddableLinks.service.mjs +51 -24
- package/esm2022/api/assetMetadataExport.service.mjs +297 -0
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +60 -9
- package/esm2022/api/assetSavedCropAreas.service.mjs +3 -24
- package/esm2022/api/assetShareAccessTokens.service.mjs +3 -9
- package/esm2022/api/assetShareEmails.service.mjs +3 -9
- package/esm2022/api/assetShares.service.mjs +60 -24
- package/esm2022/api/assets.service.mjs +222 -89
- package/esm2022/api/autoTaggingImageSettings.service.mjs +198 -0
- package/esm2022/api/cloudConnections.service.mjs +333 -0
- package/esm2022/api/cloudImportJobs.service.mjs +359 -0
- package/esm2022/api/cloudObjects.service.mjs +204 -0
- package/esm2022/api/collectionShareAccessTokens.service.mjs +3 -9
- package/esm2022/api/collectionShares.service.mjs +60 -29
- package/esm2022/api/collections.service.mjs +3 -19
- package/esm2022/api/corebook.service.mjs +3 -14
- package/esm2022/api/custom.service.mjs +3 -24
- package/esm2022/api/externalApp.service.mjs +267 -0
- package/esm2022/api/fieldOptionImages.service.mjs +258 -0
- package/esm2022/api/fieldOptions.service.mjs +3 -29
- package/esm2022/api/fieldViews.service.mjs +3 -9
- package/esm2022/api/fields.service.mjs +3 -19
- package/esm2022/api/folderSettings.service.mjs +3 -9
- package/esm2022/api/groups.service.mjs +3 -9
- package/esm2022/api/guestUploadAccessTokens.service.mjs +147 -0
- package/esm2022/api/guestUploadEmails.service.mjs +153 -0
- package/esm2022/api/guestUploads.service.mjs +366 -0
- package/esm2022/api/onboardingChecklist.service.mjs +198 -0
- package/esm2022/api/ping.service.mjs +135 -0
- package/esm2022/api/portalAccessTokens.service.mjs +3 -9
- package/esm2022/api/portalEmails.service.mjs +3 -9
- package/esm2022/api/portals.service.mjs +3 -29
- package/esm2022/api/presetTransformations.service.mjs +105 -9
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +147 -0
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +147 -0
- package/esm2022/api/savedSearch.service.mjs +3 -9
- package/esm2022/api/savedSearches.service.mjs +3 -24
- package/esm2022/api/searchFilters.service.mjs +48 -9
- package/esm2022/api/shopify.service.mjs +320 -0
- package/esm2022/api/staffMembers.service.mjs +246 -0
- package/esm2022/api/subdomains.service.mjs +3 -9
- package/esm2022/api/subscription.service.mjs +441 -0
- package/esm2022/api/textInImageSettings.service.mjs +198 -0
- package/esm2022/api/theme.service.mjs +342 -9
- package/esm2022/api/userPreferences.service.mjs +198 -0
- package/esm2022/api/userReferrer.service.mjs +141 -0
- package/esm2022/api/users.service.mjs +643 -23
- package/esm2022/api/wordPress.service.mjs +300 -0
- package/esm2022/model/account.mjs +1 -1
- package/esm2022/model/accountRequest.mjs +1 -1
- package/esm2022/model/accountRequestAttribution.mjs +13 -0
- package/esm2022/model/assetFile.mjs +1 -1
- package/esm2022/model/assetFileDimensions.mjs +13 -0
- package/esm2022/model/assetFileGpsLocation.mjs +13 -0
- package/esm2022/model/cloudObjectPagedSearch.mjs +1 -1
- package/esm2022/model/cloudObjectPagedSearchNextPage.mjs +2 -0
- package/esm2022/model/fieldOption.mjs +1 -1
- package/esm2022/model/fieldOptionParent.mjs +2 -0
- package/esm2022/model/models.mjs +9 -1
- package/esm2022/model/portalPatchRequest.mjs +1 -1
- package/esm2022/model/portalPatchRequestWelcomeMessage.mjs +13 -0
- package/esm2022/model/userPreferences.mjs +1 -1
- package/esm2022/model/userPreferencesDefaultSort.mjs +2 -0
- package/esm2022/model/userPreferencesPatchRequest.mjs +1 -1
- package/esm2022/model/userPreferencesPatchRequestDefaultSort.mjs +2 -0
- package/fesm2022/brightinteractive-platform-api.mjs +8964 -2178
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/model/account.d.ts +2 -2
- package/model/accountRequest.d.ts +2 -2
- package/model/accountRequestAttribution.d.ts +15 -0
- package/model/assetFile.d.ts +4 -16
- package/model/assetFileDimensions.d.ts +24 -0
- package/model/assetFileGpsLocation.d.ts +24 -0
- package/model/cloudObjectPagedSearch.d.ts +2 -2
- package/model/cloudObjectPagedSearchNextPage.d.ts +27 -0
- package/model/fieldOption.d.ts +2 -5
- package/model/fieldOptionParent.d.ts +23 -0
- package/model/models.d.ts +8 -0
- package/model/portalPatchRequest.d.ts +2 -2
- package/model/portalPatchRequestWelcomeMessage.d.ts +21 -0
- package/model/userPreferences.d.ts +2 -2
- package/model/userPreferencesDefaultSort.d.ts +19 -0
- package/model/userPreferencesPatchRequest.d.ts +2 -2
- package/model/userPreferencesPatchRequestDefaultSort.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CreatedSubscriptionWithPermittedActions } from '../model/createdSubscriptionWithPermittedActions';
|
|
4
|
+
import { SubscriptionIntentPatchRequest } from '../model/subscriptionIntentPatchRequest';
|
|
5
|
+
import { SubscriptionIntentRequest } from '../model/subscriptionIntentRequest';
|
|
6
|
+
import { SubscriptionIntentWithPermittedActions } from '../model/subscriptionIntentWithPermittedActions';
|
|
7
|
+
import { SubscriptionUsage } from '../model/subscriptionUsage';
|
|
8
|
+
import { SubscriptionWithPermittedActions } from '../model/subscriptionWithPermittedActions';
|
|
9
|
+
import { Configuration } from '../configuration';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class SubscriptionService {
|
|
12
|
+
protected httpClient: HttpClient;
|
|
13
|
+
protected basePath: string;
|
|
14
|
+
defaultHeaders: HttpHeaders;
|
|
15
|
+
configuration: Configuration;
|
|
16
|
+
encoder: HttpParameterCodec;
|
|
17
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
18
|
+
private addToHttpParams;
|
|
19
|
+
private addToHttpParamsRecursive;
|
|
20
|
+
/**
|
|
21
|
+
* Delete the account subscription
|
|
22
|
+
* Delete the Subscription associated with your account
|
|
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
|
+
deleteSubscription(observe?: 'body', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
}): Observable<any>;
|
|
30
|
+
deleteSubscription(observe?: 'response', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
}): Observable<HttpResponse<any>>;
|
|
34
|
+
deleteSubscription(observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
httpHeaderAccept?: 'application/json';
|
|
36
|
+
context?: HttpContext;
|
|
37
|
+
}): Observable<HttpEvent<any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Get the account subscription
|
|
40
|
+
* Get the Subscription associated with your account
|
|
41
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
42
|
+
* @param reportProgress flag to report request and response progress.
|
|
43
|
+
*/
|
|
44
|
+
getSubscription(observe?: 'body', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: 'application/json';
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
}): Observable<SubscriptionWithPermittedActions>;
|
|
48
|
+
getSubscription(observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
|
+
httpHeaderAccept?: 'application/json';
|
|
50
|
+
context?: HttpContext;
|
|
51
|
+
}): Observable<HttpResponse<SubscriptionWithPermittedActions>>;
|
|
52
|
+
getSubscription(observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
}): Observable<HttpEvent<SubscriptionWithPermittedActions>>;
|
|
56
|
+
/**
|
|
57
|
+
* Get the subscription estimate
|
|
58
|
+
* Get an estimate of the upcoming subscription based on current usage
|
|
59
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
60
|
+
* @param reportProgress flag to report request and response progress.
|
|
61
|
+
*/
|
|
62
|
+
getSubscriptionEstimate(observe?: 'body', reportProgress?: boolean, options?: {
|
|
63
|
+
httpHeaderAccept?: 'application/json';
|
|
64
|
+
context?: HttpContext;
|
|
65
|
+
}): Observable<CreatedSubscriptionWithPermittedActions>;
|
|
66
|
+
getSubscriptionEstimate(observe?: 'response', reportProgress?: boolean, options?: {
|
|
67
|
+
httpHeaderAccept?: 'application/json';
|
|
68
|
+
context?: HttpContext;
|
|
69
|
+
}): Observable<HttpResponse<CreatedSubscriptionWithPermittedActions>>;
|
|
70
|
+
getSubscriptionEstimate(observe?: 'events', reportProgress?: boolean, options?: {
|
|
71
|
+
httpHeaderAccept?: 'application/json';
|
|
72
|
+
context?: HttpContext;
|
|
73
|
+
}): Observable<HttpEvent<CreatedSubscriptionWithPermittedActions>>;
|
|
74
|
+
/**
|
|
75
|
+
* Get a subscription intent
|
|
76
|
+
* Get a Subscription Intent resource
|
|
77
|
+
* @param id The unique ID of the SubscriptionIntent
|
|
78
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
79
|
+
* @param reportProgress flag to report request and response progress.
|
|
80
|
+
*/
|
|
81
|
+
getSubscriptionIntent(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
82
|
+
httpHeaderAccept?: 'application/json';
|
|
83
|
+
context?: HttpContext;
|
|
84
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
85
|
+
getSubscriptionIntent(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
86
|
+
httpHeaderAccept?: 'application/json';
|
|
87
|
+
context?: HttpContext;
|
|
88
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
89
|
+
getSubscriptionIntent(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
90
|
+
httpHeaderAccept?: 'application/json';
|
|
91
|
+
context?: HttpContext;
|
|
92
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
93
|
+
/**
|
|
94
|
+
* Get subscription usage
|
|
95
|
+
* Get a summary of your subscription usage for the last six months. If you are on a tiered subscription (Starting, Growing or Dashing), the download counts will be bucketed by calendar month. For example, the last counts will include all downloads this calendar month up to today. If you are on the new value-based pricing (Startup, Small Team, Growing Brand or Established Brand), then the download counts are bucketed based on your billing month.
|
|
96
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
97
|
+
* @param reportProgress flag to report request and response progress.
|
|
98
|
+
*/
|
|
99
|
+
getSubscriptionUsage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
100
|
+
httpHeaderAccept?: 'application/json';
|
|
101
|
+
context?: HttpContext;
|
|
102
|
+
}): Observable<SubscriptionUsage>;
|
|
103
|
+
getSubscriptionUsage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
104
|
+
httpHeaderAccept?: 'application/json';
|
|
105
|
+
context?: HttpContext;
|
|
106
|
+
}): Observable<HttpResponse<SubscriptionUsage>>;
|
|
107
|
+
getSubscriptionUsage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
108
|
+
httpHeaderAccept?: 'application/json';
|
|
109
|
+
context?: HttpContext;
|
|
110
|
+
}): Observable<HttpEvent<SubscriptionUsage>>;
|
|
111
|
+
/**
|
|
112
|
+
* Update a subscription intent
|
|
113
|
+
* Update a Subscription Intent resource
|
|
114
|
+
* @param id The unique ID of the SubscriptionIntent
|
|
115
|
+
* @param subscriptionIntentPatchRequest
|
|
116
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
117
|
+
* @param reportProgress flag to report request and response progress.
|
|
118
|
+
*/
|
|
119
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
120
|
+
httpHeaderAccept?: 'application/json';
|
|
121
|
+
context?: HttpContext;
|
|
122
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
123
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
124
|
+
httpHeaderAccept?: 'application/json';
|
|
125
|
+
context?: HttpContext;
|
|
126
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
127
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
128
|
+
httpHeaderAccept?: 'application/json';
|
|
129
|
+
context?: HttpContext;
|
|
130
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
131
|
+
/**
|
|
132
|
+
* Create a subscription intent
|
|
133
|
+
* Create a new Subscription Intent resource to indicate intent to subscribe to a paid plan
|
|
134
|
+
* @param subscriptionIntentRequest
|
|
135
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
136
|
+
* @param reportProgress flag to report request and response progress.
|
|
137
|
+
*/
|
|
138
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
139
|
+
httpHeaderAccept?: 'application/json';
|
|
140
|
+
context?: HttpContext;
|
|
141
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
142
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
143
|
+
httpHeaderAccept?: 'application/json';
|
|
144
|
+
context?: HttpContext;
|
|
145
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
146
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
147
|
+
httpHeaderAccept?: 'application/json';
|
|
148
|
+
context?: HttpContext;
|
|
149
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, [null, { optional: true; }, { optional: true; }]>;
|
|
151
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
|
|
152
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { TextInImageSettingsPatchRequest } from '../model/textInImageSettingsPatchRequest';
|
|
4
|
+
import { TextInImageSettingsWithPermittedActions } from '../model/textInImageSettingsWithPermittedActions';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TextInImageSettingsService {
|
|
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
|
+
* Get the account text in image settings
|
|
18
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
+
* @param reportProgress flag to report request and response progress.
|
|
20
|
+
*/
|
|
21
|
+
getTextInImageSettings(observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
+
httpHeaderAccept?: 'application/json';
|
|
23
|
+
context?: HttpContext;
|
|
24
|
+
}): Observable<TextInImageSettingsWithPermittedActions>;
|
|
25
|
+
getTextInImageSettings(observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
}): Observable<HttpResponse<TextInImageSettingsWithPermittedActions>>;
|
|
29
|
+
getTextInImageSettings(observe?: 'events', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
}): Observable<HttpEvent<TextInImageSettingsWithPermittedActions>>;
|
|
33
|
+
/**
|
|
34
|
+
* Update the account text in image settings
|
|
35
|
+
* @param textInImageSettingsPatchRequest
|
|
36
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
37
|
+
* @param reportProgress flag to report request and response progress.
|
|
38
|
+
*/
|
|
39
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
40
|
+
httpHeaderAccept?: 'application/json';
|
|
41
|
+
context?: HttpContext;
|
|
42
|
+
}): Observable<TextInImageSettingsWithPermittedActions>;
|
|
43
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
44
|
+
httpHeaderAccept?: 'application/json';
|
|
45
|
+
context?: HttpContext;
|
|
46
|
+
}): Observable<HttpResponse<TextInImageSettingsWithPermittedActions>>;
|
|
47
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
}): Observable<HttpEvent<TextInImageSettingsWithPermittedActions>>;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInImageSettingsService, [null, { optional: true; }, { optional: true; }]>;
|
|
52
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TextInImageSettingsService>;
|
|
53
|
+
}
|
package/api/theme.service.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { ThemeImageUpload } from '../model/themeImageUpload';
|
|
4
|
+
import { ThemeImageUploadRequest } from '../model/themeImageUploadRequest';
|
|
5
|
+
import { ThemePatchRequest } from '../model/themePatchRequest';
|
|
3
6
|
import { ThemeSearch } from '../model/themeSearch';
|
|
4
7
|
import { ThemeSearchRequest } from '../model/themeSearchRequest';
|
|
8
|
+
import { ThemeWithPermittedActions } from '../model/themeWithPermittedActions';
|
|
5
9
|
import { Configuration } from '../configuration';
|
|
6
10
|
import * as i0 from "@angular/core";
|
|
7
11
|
export declare class ThemeService {
|
|
@@ -13,6 +17,134 @@ export declare class ThemeService {
|
|
|
13
17
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
14
18
|
private addToHttpParams;
|
|
15
19
|
private addToHttpParamsRecursive;
|
|
20
|
+
/**
|
|
21
|
+
* Delete the account theme favicon
|
|
22
|
+
* Delete the favicon from the [`Theme`](#tag/Theme)
|
|
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
|
+
deleteThemeFavicon(observe?: 'body', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
}): Observable<any>;
|
|
30
|
+
deleteThemeFavicon(observe?: 'response', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
}): Observable<HttpResponse<any>>;
|
|
34
|
+
deleteThemeFavicon(observe?: 'events', reportProgress?: boolean, options?: {
|
|
35
|
+
httpHeaderAccept?: 'application/json';
|
|
36
|
+
context?: HttpContext;
|
|
37
|
+
}): Observable<HttpEvent<any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete the account theme homepage image
|
|
40
|
+
* Delete the homepage image from the [`Theme`](#tag/Theme)
|
|
41
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
42
|
+
* @param reportProgress flag to report request and response progress.
|
|
43
|
+
*/
|
|
44
|
+
deleteThemeHomepageImage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: 'application/json';
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
}): Observable<any>;
|
|
48
|
+
deleteThemeHomepageImage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
49
|
+
httpHeaderAccept?: 'application/json';
|
|
50
|
+
context?: HttpContext;
|
|
51
|
+
}): Observable<HttpResponse<any>>;
|
|
52
|
+
deleteThemeHomepageImage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
}): Observable<HttpEvent<any>>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete the account theme login image
|
|
58
|
+
* Delete the login image from the [`Theme`](#tag/Theme)
|
|
59
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
60
|
+
* @param reportProgress flag to report request and response progress.
|
|
61
|
+
*/
|
|
62
|
+
deleteThemeLoginImage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
63
|
+
httpHeaderAccept?: 'application/json';
|
|
64
|
+
context?: HttpContext;
|
|
65
|
+
}): Observable<any>;
|
|
66
|
+
deleteThemeLoginImage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
67
|
+
httpHeaderAccept?: 'application/json';
|
|
68
|
+
context?: HttpContext;
|
|
69
|
+
}): Observable<HttpResponse<any>>;
|
|
70
|
+
deleteThemeLoginImage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
71
|
+
httpHeaderAccept?: 'application/json';
|
|
72
|
+
context?: HttpContext;
|
|
73
|
+
}): Observable<HttpEvent<any>>;
|
|
74
|
+
/**
|
|
75
|
+
* Delete the account theme logo
|
|
76
|
+
* Delete the logo from the [`Theme`](#tag/Theme)
|
|
77
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
78
|
+
* @param reportProgress flag to report request and response progress.
|
|
79
|
+
*/
|
|
80
|
+
deleteThemeLogo(observe?: 'body', reportProgress?: boolean, options?: {
|
|
81
|
+
httpHeaderAccept?: 'application/json';
|
|
82
|
+
context?: HttpContext;
|
|
83
|
+
}): Observable<any>;
|
|
84
|
+
deleteThemeLogo(observe?: 'response', reportProgress?: boolean, options?: {
|
|
85
|
+
httpHeaderAccept?: 'application/json';
|
|
86
|
+
context?: HttpContext;
|
|
87
|
+
}): Observable<HttpResponse<any>>;
|
|
88
|
+
deleteThemeLogo(observe?: 'events', reportProgress?: boolean, options?: {
|
|
89
|
+
httpHeaderAccept?: 'application/json';
|
|
90
|
+
context?: HttpContext;
|
|
91
|
+
}): Observable<HttpEvent<any>>;
|
|
92
|
+
/**
|
|
93
|
+
* Get the account theme
|
|
94
|
+
* Get the account\'s [`Theme`](#tag/Theme)
|
|
95
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
96
|
+
* @param reportProgress flag to report request and response progress.
|
|
97
|
+
*/
|
|
98
|
+
getTheme(observe?: 'body', reportProgress?: boolean, options?: {
|
|
99
|
+
httpHeaderAccept?: 'application/json';
|
|
100
|
+
context?: HttpContext;
|
|
101
|
+
}): Observable<ThemeWithPermittedActions>;
|
|
102
|
+
getTheme(observe?: 'response', reportProgress?: boolean, options?: {
|
|
103
|
+
httpHeaderAccept?: 'application/json';
|
|
104
|
+
context?: HttpContext;
|
|
105
|
+
}): Observable<HttpResponse<ThemeWithPermittedActions>>;
|
|
106
|
+
getTheme(observe?: 'events', reportProgress?: boolean, options?: {
|
|
107
|
+
httpHeaderAccept?: 'application/json';
|
|
108
|
+
context?: HttpContext;
|
|
109
|
+
}): Observable<HttpEvent<ThemeWithPermittedActions>>;
|
|
110
|
+
/**
|
|
111
|
+
* Update the account theme
|
|
112
|
+
* Update the [`Theme`](#tag/Theme) of the account.
|
|
113
|
+
* @param themePatchRequest
|
|
114
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
115
|
+
* @param reportProgress flag to report request and response progress.
|
|
116
|
+
*/
|
|
117
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
118
|
+
httpHeaderAccept?: 'application/json';
|
|
119
|
+
context?: HttpContext;
|
|
120
|
+
}): Observable<ThemeWithPermittedActions>;
|
|
121
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
}): Observable<HttpResponse<ThemeWithPermittedActions>>;
|
|
125
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
126
|
+
httpHeaderAccept?: 'application/json';
|
|
127
|
+
context?: HttpContext;
|
|
128
|
+
}): Observable<HttpEvent<ThemeWithPermittedActions>>;
|
|
129
|
+
/**
|
|
130
|
+
* Upload a theme image
|
|
131
|
+
* Post an upload object for one of the images in the account\'s [`Theme`](#tag/Theme)
|
|
132
|
+
* @param themeImageUploadRequest
|
|
133
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
134
|
+
* @param reportProgress flag to report request and response progress.
|
|
135
|
+
*/
|
|
136
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
137
|
+
httpHeaderAccept?: 'application/json';
|
|
138
|
+
context?: HttpContext;
|
|
139
|
+
}): Observable<ThemeImageUpload>;
|
|
140
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
141
|
+
httpHeaderAccept?: 'application/json';
|
|
142
|
+
context?: HttpContext;
|
|
143
|
+
}): Observable<HttpResponse<ThemeImageUpload>>;
|
|
144
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
145
|
+
httpHeaderAccept?: 'application/json';
|
|
146
|
+
context?: HttpContext;
|
|
147
|
+
}): Observable<HttpEvent<ThemeImageUpload>>;
|
|
16
148
|
/**
|
|
17
149
|
* Search for account themes
|
|
18
150
|
* Create a new [`ThemeSearch`](#operation/postThemeSearch). This can be used to search for a theme by subdomain. **This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header**
|
|
@@ -23,17 +155,14 @@ export declare class ThemeService {
|
|
|
23
155
|
postThemeSearch(themeSearchRequest: ThemeSearchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
156
|
httpHeaderAccept?: 'application/json';
|
|
25
157
|
context?: HttpContext;
|
|
26
|
-
transferCache?: boolean;
|
|
27
158
|
}): Observable<ThemeSearch>;
|
|
28
159
|
postThemeSearch(themeSearchRequest: ThemeSearchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
160
|
httpHeaderAccept?: 'application/json';
|
|
30
161
|
context?: HttpContext;
|
|
31
|
-
transferCache?: boolean;
|
|
32
162
|
}): Observable<HttpResponse<ThemeSearch>>;
|
|
33
163
|
postThemeSearch(themeSearchRequest: ThemeSearchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
164
|
httpHeaderAccept?: 'application/json';
|
|
35
165
|
context?: HttpContext;
|
|
36
|
-
transferCache?: boolean;
|
|
37
166
|
}): Observable<HttpEvent<ThemeSearch>>;
|
|
38
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [null, { optional: true; }, { optional: true; }]>;
|
|
39
168
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { UserPreferencesPatchRequest } from '../model/userPreferencesPatchRequest';
|
|
4
|
+
import { UserPreferencesWithPermittedActions } from '../model/userPreferencesWithPermittedActions';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UserPreferencesService {
|
|
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
|
+
* Get the current user\'s preferences
|
|
18
|
+
* Get the currently authenticated [`User`](#tag/Users)\'s preferences
|
|
19
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
20
|
+
* @param reportProgress flag to report request and response progress.
|
|
21
|
+
*/
|
|
22
|
+
getCurrentUserPreferences(observe?: 'body', reportProgress?: boolean, options?: {
|
|
23
|
+
httpHeaderAccept?: 'application/json';
|
|
24
|
+
context?: HttpContext;
|
|
25
|
+
}): Observable<UserPreferencesWithPermittedActions>;
|
|
26
|
+
getCurrentUserPreferences(observe?: 'response', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
}): Observable<HttpResponse<UserPreferencesWithPermittedActions>>;
|
|
30
|
+
getCurrentUserPreferences(observe?: 'events', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
}): Observable<HttpEvent<UserPreferencesWithPermittedActions>>;
|
|
34
|
+
/**
|
|
35
|
+
* Update the current user\'s preferences
|
|
36
|
+
* Update the currently authenticated [`User`](#tag/Users)\'s preferences
|
|
37
|
+
* @param userPreferencesPatchRequest
|
|
38
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
39
|
+
* @param reportProgress flag to report request and response progress.
|
|
40
|
+
*/
|
|
41
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
42
|
+
httpHeaderAccept?: 'application/json';
|
|
43
|
+
context?: HttpContext;
|
|
44
|
+
}): Observable<UserPreferencesWithPermittedActions>;
|
|
45
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
46
|
+
httpHeaderAccept?: 'application/json';
|
|
47
|
+
context?: HttpContext;
|
|
48
|
+
}): Observable<HttpResponse<UserPreferencesWithPermittedActions>>;
|
|
49
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: 'application/json';
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
}): Observable<HttpEvent<UserPreferencesWithPermittedActions>>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferencesService, [null, { optional: true; }, { optional: true; }]>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferencesService>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ReferrerWithPermittedActions } from '../model/referrerWithPermittedActions';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserReferrerService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Get the current user\'s referrer code
|
|
17
|
+
* Get the currently authenticated [`User`](#tag/Users)\'s referrer code
|
|
18
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
19
|
+
* @param reportProgress flag to report request and response progress.
|
|
20
|
+
*/
|
|
21
|
+
getCurrentUserReferrer(observe?: 'body', reportProgress?: boolean, options?: {
|
|
22
|
+
httpHeaderAccept?: 'application/json';
|
|
23
|
+
context?: HttpContext;
|
|
24
|
+
}): Observable<ReferrerWithPermittedActions>;
|
|
25
|
+
getCurrentUserReferrer(observe?: 'response', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
}): Observable<HttpResponse<ReferrerWithPermittedActions>>;
|
|
29
|
+
getCurrentUserReferrer(observe?: 'events', reportProgress?: boolean, options?: {
|
|
30
|
+
httpHeaderAccept?: 'application/json';
|
|
31
|
+
context?: HttpContext;
|
|
32
|
+
}): Observable<HttpEvent<ReferrerWithPermittedActions>>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserReferrerService, [null, { optional: true; }, { optional: true; }]>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserReferrerService>;
|
|
35
|
+
}
|