@brightinteractive/platform-api 0.1.0 → 0.1.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.
- package/api/accountSecurity.service.d.ts +59 -0
- package/api/accounts.service.d.ts +47 -0
- package/api/api.d.ts +49 -1
- package/api/assetComments.service.d.ts +109 -0
- package/api/assetDeduplication.service.d.ts +38 -0
- package/api/assetEmbeddableLinks.service.d.ts +22 -0
- package/api/assetMetadataExport.service.d.ts +106 -0
- package/api/assetSavedCropAreaSummaries.service.d.ts +24 -0
- package/api/assetShares.service.d.ts +24 -0
- package/api/assets.service.d.ts +92 -0
- package/api/autoTaggingImageSettings.service.d.ts +59 -0
- package/api/cloudConnections.service.d.ts +126 -0
- package/api/cloudImportJobs.service.d.ts +130 -0
- package/api/cloudObjects.service.d.ts +63 -0
- package/api/collectionShares.service.d.ts +23 -0
- package/api/externalApp.service.d.ts +85 -0
- package/api/fieldOptionImages.service.d.ts +85 -0
- package/api/guestUploadAccessTokens.service.d.ts +40 -0
- package/api/guestUploadEmails.service.d.ts +39 -0
- package/api/guestUploads.service.d.ts +132 -0
- package/api/onboardingChecklist.service.d.ts +59 -0
- package/api/ping.service.d.ts +37 -0
- package/api/presetTransformations.service.d.ts +45 -0
- package/api/publiclyAvailableGuestUploadData.service.d.ts +40 -0
- package/api/publiclyAvailablePortalDatas.service.d.ts +40 -0
- package/api/searchFilters.service.d.ts +22 -0
- package/api/shopify.service.d.ts +114 -0
- package/api/staffMembers.service.d.ts +83 -0
- package/api/subscription.service.d.ts +173 -0
- package/api/textInImageSettings.service.d.ts +59 -0
- package/api/theme.service.d.ts +153 -0
- package/api/userPreferences.service.d.ts +61 -0
- package/api/userReferrer.service.d.ts +38 -0
- package/api/users.service.d.ts +277 -0
- package/api/wordPress.service.d.ts +101 -0
- package/esm2022/api/accountSecurity.service.mjs +209 -0
- package/esm2022/api/accounts.service.mjs +125 -1
- package/esm2022/api/api.mjs +50 -2
- package/esm2022/api/assetComments.service.mjs +333 -0
- package/esm2022/api/assetDeduplication.service.mjs +147 -0
- package/esm2022/api/assetEmbeddableLinks.service.mjs +54 -1
- package/esm2022/api/assetMetadataExport.service.mjs +318 -0
- package/esm2022/api/assetSavedCropAreaSummaries.service.mjs +63 -1
- package/esm2022/api/assetShares.service.mjs +63 -1
- package/esm2022/api/assets.service.mjs +240 -1
- package/esm2022/api/autoTaggingImageSettings.service.mjs +209 -0
- package/esm2022/api/cloudConnections.service.mjs +359 -0
- package/esm2022/api/cloudImportJobs.service.mjs +385 -0
- package/esm2022/api/cloudObjects.service.mjs +215 -0
- package/esm2022/api/collectionShares.service.mjs +63 -1
- package/esm2022/api/externalApp.service.mjs +283 -0
- package/esm2022/api/fieldOptionImages.service.mjs +274 -0
- package/esm2022/api/guestUploadAccessTokens.service.mjs +153 -0
- package/esm2022/api/guestUploadEmails.service.mjs +159 -0
- package/esm2022/api/guestUploads.service.mjs +392 -0
- package/esm2022/api/onboardingChecklist.service.mjs +209 -0
- package/esm2022/api/ping.service.mjs +141 -0
- package/esm2022/api/presetTransformations.service.mjs +113 -1
- package/esm2022/api/publiclyAvailableGuestUploadData.service.mjs +153 -0
- package/esm2022/api/publiclyAvailablePortalDatas.service.mjs +153 -0
- package/esm2022/api/searchFilters.service.mjs +51 -1
- package/esm2022/api/shopify.service.mjs +341 -0
- package/esm2022/api/staffMembers.service.mjs +262 -0
- package/esm2022/api/subscription.service.mjs +477 -0
- package/esm2022/api/textInImageSettings.service.mjs +209 -0
- package/esm2022/api/theme.service.mjs +375 -1
- package/esm2022/api/userPreferences.service.mjs +209 -0
- package/esm2022/api/userReferrer.service.mjs +147 -0
- package/esm2022/api/users.service.mjs +702 -6
- package/esm2022/api/wordPress.service.mjs +321 -0
- package/fesm2022/brightinteractive-platform-api.mjs +9376 -1700
- package/fesm2022/brightinteractive-platform-api.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CreateShopifyImageBatchRequest } from '../model/createShopifyImageBatchRequest';
|
|
4
|
+
import { CreateShopifyProductImageBatchRequest } from '../model/createShopifyProductImageBatchRequest';
|
|
5
|
+
import { NoResultJob } from '../model/noResultJob';
|
|
6
|
+
import { ShopifyConnectionWithPermittedActions } from '../model/shopifyConnectionWithPermittedActions';
|
|
7
|
+
import { Configuration } from '../configuration';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ShopifyService {
|
|
10
|
+
protected httpClient: HttpClient;
|
|
11
|
+
protected basePath: string;
|
|
12
|
+
defaultHeaders: HttpHeaders;
|
|
13
|
+
configuration: Configuration;
|
|
14
|
+
encoder: HttpParameterCodec;
|
|
15
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
16
|
+
private addToHttpParams;
|
|
17
|
+
private addToHttpParamsRecursive;
|
|
18
|
+
/**
|
|
19
|
+
* Callback required to install Dash with Shopify
|
|
20
|
+
* This is quite an internal endpoint and is only really in the API due to needing to be on the dash.app domain.
|
|
21
|
+
* @param shop The shop name that uniquely identifies a Shopify connection
|
|
22
|
+
* @param hmac A hash of all other parameters created by using the Shopify secret key as the key
|
|
23
|
+
* @param session The current session
|
|
24
|
+
* @param timestamp
|
|
25
|
+
* @param locale
|
|
26
|
+
* @param host
|
|
27
|
+
* @param embedded
|
|
28
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
29
|
+
* @param reportProgress flag to report request and response progress.
|
|
30
|
+
*/
|
|
31
|
+
getShopifyCallback(shop: string, hmac: string, session?: string, timestamp?: string, locale?: string, host?: string, embedded?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<any>;
|
|
36
|
+
getShopifyCallback(shop: string, hmac: string, session?: string, timestamp?: string, locale?: string, host?: string, embedded?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
transferCache?: boolean;
|
|
40
|
+
}): Observable<HttpResponse<any>>;
|
|
41
|
+
getShopifyCallback(shop: string, hmac: string, session?: string, timestamp?: string, locale?: string, host?: string, embedded?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
42
|
+
httpHeaderAccept?: 'application/json';
|
|
43
|
+
context?: HttpContext;
|
|
44
|
+
transferCache?: boolean;
|
|
45
|
+
}): Observable<HttpEvent<any>>;
|
|
46
|
+
/**
|
|
47
|
+
* Get a Shopify connection
|
|
48
|
+
* Get details about a particular connection to Shopify
|
|
49
|
+
* @param id The shop name that uniquely identifies a Shopify connection
|
|
50
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
51
|
+
* @param reportProgress flag to report request and response progress.
|
|
52
|
+
*/
|
|
53
|
+
getShopifyConnection(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
54
|
+
httpHeaderAccept?: 'application/json';
|
|
55
|
+
context?: HttpContext;
|
|
56
|
+
transferCache?: boolean;
|
|
57
|
+
}): Observable<ShopifyConnectionWithPermittedActions>;
|
|
58
|
+
getShopifyConnection(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
59
|
+
httpHeaderAccept?: 'application/json';
|
|
60
|
+
context?: HttpContext;
|
|
61
|
+
transferCache?: boolean;
|
|
62
|
+
}): Observable<HttpResponse<ShopifyConnectionWithPermittedActions>>;
|
|
63
|
+
getShopifyConnection(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
64
|
+
httpHeaderAccept?: 'application/json';
|
|
65
|
+
context?: HttpContext;
|
|
66
|
+
transferCache?: boolean;
|
|
67
|
+
}): Observable<HttpEvent<ShopifyConnectionWithPermittedActions>>;
|
|
68
|
+
/**
|
|
69
|
+
* Send images to Shopify
|
|
70
|
+
* See [`AssetDownloadBatchJob`](#operation/postAssetDownloadBatchJob) for an idea of how to use this endpoint
|
|
71
|
+
* @param createShopifyImageBatchRequest
|
|
72
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
73
|
+
* @param reportProgress flag to report request and response progress.
|
|
74
|
+
*/
|
|
75
|
+
postCreateShopifyImageBatchJob(createShopifyImageBatchRequest: CreateShopifyImageBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
76
|
+
httpHeaderAccept?: 'application/json';
|
|
77
|
+
context?: HttpContext;
|
|
78
|
+
transferCache?: boolean;
|
|
79
|
+
}): Observable<NoResultJob>;
|
|
80
|
+
postCreateShopifyImageBatchJob(createShopifyImageBatchRequest: CreateShopifyImageBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
81
|
+
httpHeaderAccept?: 'application/json';
|
|
82
|
+
context?: HttpContext;
|
|
83
|
+
transferCache?: boolean;
|
|
84
|
+
}): Observable<HttpResponse<NoResultJob>>;
|
|
85
|
+
postCreateShopifyImageBatchJob(createShopifyImageBatchRequest: CreateShopifyImageBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
86
|
+
httpHeaderAccept?: 'application/json';
|
|
87
|
+
context?: HttpContext;
|
|
88
|
+
transferCache?: boolean;
|
|
89
|
+
}): Observable<HttpEvent<NoResultJob>>;
|
|
90
|
+
/**
|
|
91
|
+
* Send product images to Shopify
|
|
92
|
+
* See [`AssetDownloadBatchJob`](#operation/postAssetDownloadBatchJob) for an idea of how to use this endpoint
|
|
93
|
+
* @param createShopifyProductImageBatchRequest
|
|
94
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
95
|
+
* @param reportProgress flag to report request and response progress.
|
|
96
|
+
*/
|
|
97
|
+
postCreateShopifyProductImageBatchJob(createShopifyProductImageBatchRequest: CreateShopifyProductImageBatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
98
|
+
httpHeaderAccept?: 'application/json';
|
|
99
|
+
context?: HttpContext;
|
|
100
|
+
transferCache?: boolean;
|
|
101
|
+
}): Observable<NoResultJob>;
|
|
102
|
+
postCreateShopifyProductImageBatchJob(createShopifyProductImageBatchRequest: CreateShopifyProductImageBatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
103
|
+
httpHeaderAccept?: 'application/json';
|
|
104
|
+
context?: HttpContext;
|
|
105
|
+
transferCache?: boolean;
|
|
106
|
+
}): Observable<HttpResponse<NoResultJob>>;
|
|
107
|
+
postCreateShopifyProductImageBatchJob(createShopifyProductImageBatchRequest: CreateShopifyProductImageBatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
108
|
+
httpHeaderAccept?: 'application/json';
|
|
109
|
+
context?: HttpContext;
|
|
110
|
+
transferCache?: boolean;
|
|
111
|
+
}): Observable<HttpEvent<NoResultJob>>;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShopifyService, [null, { optional: true; }, { optional: true; }]>;
|
|
113
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShopifyService>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { StaffMember } from '../model/staffMember';
|
|
4
|
+
import { StaffMemberRequest } from '../model/staffMemberRequest';
|
|
5
|
+
import { Configuration } from '../configuration';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class StaffMembersService {
|
|
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 a staff member
|
|
18
|
+
* Delete [`Staff Member`](#tag/Staff-Members) with the specified ID.
|
|
19
|
+
* @param id The unique ID of the [`Staff Member`](#tag/Staff-Members)
|
|
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
|
+
deleteStaffMember(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: 'application/json';
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
transferCache?: boolean;
|
|
27
|
+
}): Observable<any>;
|
|
28
|
+
deleteStaffMember(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
29
|
+
httpHeaderAccept?: 'application/json';
|
|
30
|
+
context?: HttpContext;
|
|
31
|
+
transferCache?: boolean;
|
|
32
|
+
}): Observable<HttpResponse<any>>;
|
|
33
|
+
deleteStaffMember(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
34
|
+
httpHeaderAccept?: 'application/json';
|
|
35
|
+
context?: HttpContext;
|
|
36
|
+
transferCache?: boolean;
|
|
37
|
+
}): Observable<HttpEvent<any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Get all staff members
|
|
40
|
+
* Get all [`Staff Members`](#tag/Staff-Members).
|
|
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
|
+
getStaffMembers(observe?: 'body', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: 'application/json';
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
transferCache?: boolean;
|
|
48
|
+
}): Observable<Array<StaffMember>>;
|
|
49
|
+
getStaffMembers(observe?: 'response', reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: 'application/json';
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
transferCache?: boolean;
|
|
53
|
+
}): Observable<HttpResponse<Array<StaffMember>>>;
|
|
54
|
+
getStaffMembers(observe?: 'events', reportProgress?: boolean, options?: {
|
|
55
|
+
httpHeaderAccept?: 'application/json';
|
|
56
|
+
context?: HttpContext;
|
|
57
|
+
transferCache?: boolean;
|
|
58
|
+
}): Observable<HttpEvent<Array<StaffMember>>>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a staff member
|
|
61
|
+
* Create a new [`Staff Member`](#tag/Staff-Members). Staff Members can log in to any Dash account.
|
|
62
|
+
* @param staffMemberRequest
|
|
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
|
+
postStaffMember(staffMemberRequest: StaffMemberRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
67
|
+
httpHeaderAccept?: 'application/json';
|
|
68
|
+
context?: HttpContext;
|
|
69
|
+
transferCache?: boolean;
|
|
70
|
+
}): Observable<StaffMember>;
|
|
71
|
+
postStaffMember(staffMemberRequest: StaffMemberRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
72
|
+
httpHeaderAccept?: 'application/json';
|
|
73
|
+
context?: HttpContext;
|
|
74
|
+
transferCache?: boolean;
|
|
75
|
+
}): Observable<HttpResponse<StaffMember>>;
|
|
76
|
+
postStaffMember(staffMemberRequest: StaffMemberRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
77
|
+
httpHeaderAccept?: 'application/json';
|
|
78
|
+
context?: HttpContext;
|
|
79
|
+
transferCache?: boolean;
|
|
80
|
+
}): Observable<HttpEvent<StaffMember>>;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StaffMembersService, [null, { optional: true; }, { optional: true; }]>;
|
|
82
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StaffMembersService>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
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
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<any>;
|
|
31
|
+
deleteSubscription(observe?: 'response', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpResponse<any>>;
|
|
36
|
+
deleteSubscription(observe?: 'events', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
transferCache?: boolean;
|
|
40
|
+
}): Observable<HttpEvent<any>>;
|
|
41
|
+
/**
|
|
42
|
+
* Get the account subscription
|
|
43
|
+
* Get the Subscription associated with your account
|
|
44
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
45
|
+
* @param reportProgress flag to report request and response progress.
|
|
46
|
+
*/
|
|
47
|
+
getSubscription(observe?: 'body', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
transferCache?: boolean;
|
|
51
|
+
}): Observable<SubscriptionWithPermittedActions>;
|
|
52
|
+
getSubscription(observe?: 'response', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<HttpResponse<SubscriptionWithPermittedActions>>;
|
|
57
|
+
getSubscription(observe?: 'events', reportProgress?: boolean, options?: {
|
|
58
|
+
httpHeaderAccept?: 'application/json';
|
|
59
|
+
context?: HttpContext;
|
|
60
|
+
transferCache?: boolean;
|
|
61
|
+
}): Observable<HttpEvent<SubscriptionWithPermittedActions>>;
|
|
62
|
+
/**
|
|
63
|
+
* Get the subscription estimate
|
|
64
|
+
* Get an estimate of the upcoming subscription based on current usage
|
|
65
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
66
|
+
* @param reportProgress flag to report request and response progress.
|
|
67
|
+
*/
|
|
68
|
+
getSubscriptionEstimate(observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<CreatedSubscriptionWithPermittedActions>;
|
|
73
|
+
getSubscriptionEstimate(observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/json';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpResponse<CreatedSubscriptionWithPermittedActions>>;
|
|
78
|
+
getSubscriptionEstimate(observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
|
+
httpHeaderAccept?: 'application/json';
|
|
80
|
+
context?: HttpContext;
|
|
81
|
+
transferCache?: boolean;
|
|
82
|
+
}): Observable<HttpEvent<CreatedSubscriptionWithPermittedActions>>;
|
|
83
|
+
/**
|
|
84
|
+
* Get a subscription intent
|
|
85
|
+
* Get a Subscription Intent resource
|
|
86
|
+
* @param id The unique ID of the SubscriptionIntent
|
|
87
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
88
|
+
* @param reportProgress flag to report request and response progress.
|
|
89
|
+
*/
|
|
90
|
+
getSubscriptionIntent(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
91
|
+
httpHeaderAccept?: 'application/json';
|
|
92
|
+
context?: HttpContext;
|
|
93
|
+
transferCache?: boolean;
|
|
94
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
95
|
+
getSubscriptionIntent(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
96
|
+
httpHeaderAccept?: 'application/json';
|
|
97
|
+
context?: HttpContext;
|
|
98
|
+
transferCache?: boolean;
|
|
99
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
100
|
+
getSubscriptionIntent(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
101
|
+
httpHeaderAccept?: 'application/json';
|
|
102
|
+
context?: HttpContext;
|
|
103
|
+
transferCache?: boolean;
|
|
104
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
105
|
+
/**
|
|
106
|
+
* Get subscription usage
|
|
107
|
+
* 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.
|
|
108
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
109
|
+
* @param reportProgress flag to report request and response progress.
|
|
110
|
+
*/
|
|
111
|
+
getSubscriptionUsage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
112
|
+
httpHeaderAccept?: 'application/json';
|
|
113
|
+
context?: HttpContext;
|
|
114
|
+
transferCache?: boolean;
|
|
115
|
+
}): Observable<SubscriptionUsage>;
|
|
116
|
+
getSubscriptionUsage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
117
|
+
httpHeaderAccept?: 'application/json';
|
|
118
|
+
context?: HttpContext;
|
|
119
|
+
transferCache?: boolean;
|
|
120
|
+
}): Observable<HttpResponse<SubscriptionUsage>>;
|
|
121
|
+
getSubscriptionUsage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
122
|
+
httpHeaderAccept?: 'application/json';
|
|
123
|
+
context?: HttpContext;
|
|
124
|
+
transferCache?: boolean;
|
|
125
|
+
}): Observable<HttpEvent<SubscriptionUsage>>;
|
|
126
|
+
/**
|
|
127
|
+
* Update a subscription intent
|
|
128
|
+
* Update a Subscription Intent resource
|
|
129
|
+
* @param id The unique ID of the SubscriptionIntent
|
|
130
|
+
* @param subscriptionIntentPatchRequest
|
|
131
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
132
|
+
* @param reportProgress flag to report request and response progress.
|
|
133
|
+
*/
|
|
134
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
135
|
+
httpHeaderAccept?: 'application/json';
|
|
136
|
+
context?: HttpContext;
|
|
137
|
+
transferCache?: boolean;
|
|
138
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
139
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
140
|
+
httpHeaderAccept?: 'application/json';
|
|
141
|
+
context?: HttpContext;
|
|
142
|
+
transferCache?: boolean;
|
|
143
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
144
|
+
patchSubscriptionIntent(id: string, subscriptionIntentPatchRequest: SubscriptionIntentPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
145
|
+
httpHeaderAccept?: 'application/json';
|
|
146
|
+
context?: HttpContext;
|
|
147
|
+
transferCache?: boolean;
|
|
148
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
149
|
+
/**
|
|
150
|
+
* Create a subscription intent
|
|
151
|
+
* Create a new Subscription Intent resource to indicate intent to subscribe to a paid plan
|
|
152
|
+
* @param subscriptionIntentRequest
|
|
153
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
154
|
+
* @param reportProgress flag to report request and response progress.
|
|
155
|
+
*/
|
|
156
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
157
|
+
httpHeaderAccept?: 'application/json';
|
|
158
|
+
context?: HttpContext;
|
|
159
|
+
transferCache?: boolean;
|
|
160
|
+
}): Observable<SubscriptionIntentWithPermittedActions>;
|
|
161
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
162
|
+
httpHeaderAccept?: 'application/json';
|
|
163
|
+
context?: HttpContext;
|
|
164
|
+
transferCache?: boolean;
|
|
165
|
+
}): Observable<HttpResponse<SubscriptionIntentWithPermittedActions>>;
|
|
166
|
+
postSubscriptionIntent(subscriptionIntentRequest: SubscriptionIntentRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
167
|
+
httpHeaderAccept?: 'application/json';
|
|
168
|
+
context?: HttpContext;
|
|
169
|
+
transferCache?: boolean;
|
|
170
|
+
}): Observable<HttpEvent<SubscriptionIntentWithPermittedActions>>;
|
|
171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, [null, { optional: true; }, { optional: true; }]>;
|
|
172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
transferCache?: boolean;
|
|
25
|
+
}): Observable<TextInImageSettingsWithPermittedActions>;
|
|
26
|
+
getTextInImageSettings(observe?: 'response', reportProgress?: boolean, options?: {
|
|
27
|
+
httpHeaderAccept?: 'application/json';
|
|
28
|
+
context?: HttpContext;
|
|
29
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<HttpResponse<TextInImageSettingsWithPermittedActions>>;
|
|
31
|
+
getTextInImageSettings(observe?: 'events', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpEvent<TextInImageSettingsWithPermittedActions>>;
|
|
36
|
+
/**
|
|
37
|
+
* Update the account text in image settings
|
|
38
|
+
* @param textInImageSettingsPatchRequest
|
|
39
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
40
|
+
* @param reportProgress flag to report request and response progress.
|
|
41
|
+
*/
|
|
42
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
43
|
+
httpHeaderAccept?: 'application/json';
|
|
44
|
+
context?: HttpContext;
|
|
45
|
+
transferCache?: boolean;
|
|
46
|
+
}): Observable<TextInImageSettingsWithPermittedActions>;
|
|
47
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
transferCache?: boolean;
|
|
51
|
+
}): Observable<HttpResponse<TextInImageSettingsWithPermittedActions>>;
|
|
52
|
+
patchTextInImageSettings(textInImageSettingsPatchRequest: TextInImageSettingsPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<HttpEvent<TextInImageSettingsWithPermittedActions>>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInImageSettingsService, [null, { optional: true; }, { optional: true; }]>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TextInImageSettingsService>;
|
|
59
|
+
}
|
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,155 @@ 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
|
+
transferCache?: boolean;
|
|
30
|
+
}): Observable<any>;
|
|
31
|
+
deleteThemeFavicon(observe?: 'response', reportProgress?: boolean, options?: {
|
|
32
|
+
httpHeaderAccept?: 'application/json';
|
|
33
|
+
context?: HttpContext;
|
|
34
|
+
transferCache?: boolean;
|
|
35
|
+
}): Observable<HttpResponse<any>>;
|
|
36
|
+
deleteThemeFavicon(observe?: 'events', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
transferCache?: boolean;
|
|
40
|
+
}): Observable<HttpEvent<any>>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete the account theme homepage image
|
|
43
|
+
* Delete the homepage image from the [`Theme`](#tag/Theme)
|
|
44
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
45
|
+
* @param reportProgress flag to report request and response progress.
|
|
46
|
+
*/
|
|
47
|
+
deleteThemeHomepageImage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
48
|
+
httpHeaderAccept?: 'application/json';
|
|
49
|
+
context?: HttpContext;
|
|
50
|
+
transferCache?: boolean;
|
|
51
|
+
}): Observable<any>;
|
|
52
|
+
deleteThemeHomepageImage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
53
|
+
httpHeaderAccept?: 'application/json';
|
|
54
|
+
context?: HttpContext;
|
|
55
|
+
transferCache?: boolean;
|
|
56
|
+
}): Observable<HttpResponse<any>>;
|
|
57
|
+
deleteThemeHomepageImage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
58
|
+
httpHeaderAccept?: 'application/json';
|
|
59
|
+
context?: HttpContext;
|
|
60
|
+
transferCache?: boolean;
|
|
61
|
+
}): Observable<HttpEvent<any>>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete the account theme login image
|
|
64
|
+
* Delete the login image from the [`Theme`](#tag/Theme)
|
|
65
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
66
|
+
* @param reportProgress flag to report request and response progress.
|
|
67
|
+
*/
|
|
68
|
+
deleteThemeLoginImage(observe?: 'body', reportProgress?: boolean, options?: {
|
|
69
|
+
httpHeaderAccept?: 'application/json';
|
|
70
|
+
context?: HttpContext;
|
|
71
|
+
transferCache?: boolean;
|
|
72
|
+
}): Observable<any>;
|
|
73
|
+
deleteThemeLoginImage(observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/json';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
transferCache?: boolean;
|
|
77
|
+
}): Observable<HttpResponse<any>>;
|
|
78
|
+
deleteThemeLoginImage(observe?: 'events', reportProgress?: boolean, options?: {
|
|
79
|
+
httpHeaderAccept?: 'application/json';
|
|
80
|
+
context?: HttpContext;
|
|
81
|
+
transferCache?: boolean;
|
|
82
|
+
}): Observable<HttpEvent<any>>;
|
|
83
|
+
/**
|
|
84
|
+
* Delete the account theme logo
|
|
85
|
+
* Delete the logo from the [`Theme`](#tag/Theme)
|
|
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
|
+
deleteThemeLogo(observe?: 'body', reportProgress?: boolean, options?: {
|
|
90
|
+
httpHeaderAccept?: 'application/json';
|
|
91
|
+
context?: HttpContext;
|
|
92
|
+
transferCache?: boolean;
|
|
93
|
+
}): Observable<any>;
|
|
94
|
+
deleteThemeLogo(observe?: 'response', reportProgress?: boolean, options?: {
|
|
95
|
+
httpHeaderAccept?: 'application/json';
|
|
96
|
+
context?: HttpContext;
|
|
97
|
+
transferCache?: boolean;
|
|
98
|
+
}): Observable<HttpResponse<any>>;
|
|
99
|
+
deleteThemeLogo(observe?: 'events', reportProgress?: boolean, options?: {
|
|
100
|
+
httpHeaderAccept?: 'application/json';
|
|
101
|
+
context?: HttpContext;
|
|
102
|
+
transferCache?: boolean;
|
|
103
|
+
}): Observable<HttpEvent<any>>;
|
|
104
|
+
/**
|
|
105
|
+
* Get the account theme
|
|
106
|
+
* Get the account\'s [`Theme`](#tag/Theme)
|
|
107
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
108
|
+
* @param reportProgress flag to report request and response progress.
|
|
109
|
+
*/
|
|
110
|
+
getTheme(observe?: 'body', reportProgress?: boolean, options?: {
|
|
111
|
+
httpHeaderAccept?: 'application/json';
|
|
112
|
+
context?: HttpContext;
|
|
113
|
+
transferCache?: boolean;
|
|
114
|
+
}): Observable<ThemeWithPermittedActions>;
|
|
115
|
+
getTheme(observe?: 'response', reportProgress?: boolean, options?: {
|
|
116
|
+
httpHeaderAccept?: 'application/json';
|
|
117
|
+
context?: HttpContext;
|
|
118
|
+
transferCache?: boolean;
|
|
119
|
+
}): Observable<HttpResponse<ThemeWithPermittedActions>>;
|
|
120
|
+
getTheme(observe?: 'events', reportProgress?: boolean, options?: {
|
|
121
|
+
httpHeaderAccept?: 'application/json';
|
|
122
|
+
context?: HttpContext;
|
|
123
|
+
transferCache?: boolean;
|
|
124
|
+
}): Observable<HttpEvent<ThemeWithPermittedActions>>;
|
|
125
|
+
/**
|
|
126
|
+
* Update the account theme
|
|
127
|
+
* Update the [`Theme`](#tag/Theme) of the account.
|
|
128
|
+
* @param themePatchRequest
|
|
129
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
130
|
+
* @param reportProgress flag to report request and response progress.
|
|
131
|
+
*/
|
|
132
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
133
|
+
httpHeaderAccept?: 'application/json';
|
|
134
|
+
context?: HttpContext;
|
|
135
|
+
transferCache?: boolean;
|
|
136
|
+
}): Observable<ThemeWithPermittedActions>;
|
|
137
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
138
|
+
httpHeaderAccept?: 'application/json';
|
|
139
|
+
context?: HttpContext;
|
|
140
|
+
transferCache?: boolean;
|
|
141
|
+
}): Observable<HttpResponse<ThemeWithPermittedActions>>;
|
|
142
|
+
patchTheme(themePatchRequest: ThemePatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
143
|
+
httpHeaderAccept?: 'application/json';
|
|
144
|
+
context?: HttpContext;
|
|
145
|
+
transferCache?: boolean;
|
|
146
|
+
}): Observable<HttpEvent<ThemeWithPermittedActions>>;
|
|
147
|
+
/**
|
|
148
|
+
* Upload a theme image
|
|
149
|
+
* Post an upload object for one of the images in the account\'s [`Theme`](#tag/Theme)
|
|
150
|
+
* @param themeImageUploadRequest
|
|
151
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
152
|
+
* @param reportProgress flag to report request and response progress.
|
|
153
|
+
*/
|
|
154
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
155
|
+
httpHeaderAccept?: 'application/json';
|
|
156
|
+
context?: HttpContext;
|
|
157
|
+
transferCache?: boolean;
|
|
158
|
+
}): Observable<ThemeImageUpload>;
|
|
159
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
160
|
+
httpHeaderAccept?: 'application/json';
|
|
161
|
+
context?: HttpContext;
|
|
162
|
+
transferCache?: boolean;
|
|
163
|
+
}): Observable<HttpResponse<ThemeImageUpload>>;
|
|
164
|
+
postThemeImageUpload(themeImageUploadRequest: ThemeImageUploadRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
165
|
+
httpHeaderAccept?: 'application/json';
|
|
166
|
+
context?: HttpContext;
|
|
167
|
+
transferCache?: boolean;
|
|
168
|
+
}): Observable<HttpEvent<ThemeImageUpload>>;
|
|
16
169
|
/**
|
|
17
170
|
* Search for account themes
|
|
18
171
|
* 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**
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
transferCache?: boolean;
|
|
26
|
+
}): Observable<UserPreferencesWithPermittedActions>;
|
|
27
|
+
getCurrentUserPreferences(observe?: 'response', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: 'application/json';
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
transferCache?: boolean;
|
|
31
|
+
}): Observable<HttpResponse<UserPreferencesWithPermittedActions>>;
|
|
32
|
+
getCurrentUserPreferences(observe?: 'events', reportProgress?: boolean, options?: {
|
|
33
|
+
httpHeaderAccept?: 'application/json';
|
|
34
|
+
context?: HttpContext;
|
|
35
|
+
transferCache?: boolean;
|
|
36
|
+
}): Observable<HttpEvent<UserPreferencesWithPermittedActions>>;
|
|
37
|
+
/**
|
|
38
|
+
* Update the current user\'s preferences
|
|
39
|
+
* Update the currently authenticated [`User`](#tag/Users)\'s preferences
|
|
40
|
+
* @param userPreferencesPatchRequest
|
|
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
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
45
|
+
httpHeaderAccept?: 'application/json';
|
|
46
|
+
context?: HttpContext;
|
|
47
|
+
transferCache?: boolean;
|
|
48
|
+
}): Observable<UserPreferencesWithPermittedActions>;
|
|
49
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
50
|
+
httpHeaderAccept?: 'application/json';
|
|
51
|
+
context?: HttpContext;
|
|
52
|
+
transferCache?: boolean;
|
|
53
|
+
}): Observable<HttpResponse<UserPreferencesWithPermittedActions>>;
|
|
54
|
+
patchCurrentUserPreferences(userPreferencesPatchRequest: UserPreferencesPatchRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
55
|
+
httpHeaderAccept?: 'application/json';
|
|
56
|
+
context?: HttpContext;
|
|
57
|
+
transferCache?: boolean;
|
|
58
|
+
}): Observable<HttpEvent<UserPreferencesWithPermittedActions>>;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferencesService, [null, { optional: true; }, { optional: true; }]>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferencesService>;
|
|
61
|
+
}
|