@vendasta/social-posts 5.46.0 → 5.48.0
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/esm2020/lib/_internal/blog-website.api.service.mjs +40 -0
- package/esm2020/lib/_internal/drafts.api.service.mjs +82 -0
- package/esm2020/lib/_internal/enums/drafts-api.enum.mjs +14 -0
- package/esm2020/lib/_internal/enums/drafts.enum.mjs +27 -0
- package/esm2020/lib/_internal/enums/engagement.enum.mjs +13 -0
- package/esm2020/lib/_internal/enums/index.mjs +7 -1
- package/esm2020/lib/_internal/enums/provisioning.enum.mjs +14 -0
- package/esm2020/lib/_internal/enums/social-content.enum.mjs +51 -0
- package/esm2020/lib/_internal/enums/stock-image.enum.mjs +19 -0
- package/esm2020/lib/_internal/image-library.api.service.mjs +40 -0
- package/esm2020/lib/_internal/index.mjs +7 -1
- package/esm2020/lib/_internal/interfaces/blog-website-info.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/drafts-api.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/drafts.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/engagement.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/provisioning.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-content.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/social-post-stats.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/stock-image.interface.mjs +8 -0
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +2 -3
- package/esm2020/lib/_internal/objects/blog-website-info.mjs +149 -0
- package/esm2020/lib/_internal/objects/drafts-api.mjs +622 -0
- package/esm2020/lib/_internal/objects/drafts.mjs +446 -0
- package/esm2020/lib/_internal/objects/engagement.mjs +221 -0
- package/esm2020/lib/_internal/objects/index.mjs +9 -2
- package/esm2020/lib/_internal/objects/provisioning.mjs +43 -0
- package/esm2020/lib/_internal/objects/social-content.mjs +384 -0
- package/esm2020/lib/_internal/objects/social-post-stats.mjs +7 -1
- package/esm2020/lib/_internal/objects/stock-image.mjs +168 -0
- package/esm2020/lib/_internal/provisioning.api.service.mjs +38 -0
- package/esm2020/lib/_internal/social-content.api.service.mjs +40 -0
- package/esm2020/lib/_internal/social-post-engagements.api.service.mjs +40 -0
- package/esm2020/lib/drafts.service.mjs +46 -0
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/multilocation-posts.service.mjs +1 -1
- package/fesm2015/vendasta-social-posts.mjs +4202 -1755
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +4202 -1755
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/blog-website.api.service.d.ts +13 -0
- package/lib/_internal/drafts.api.service.d.ts +23 -0
- package/lib/_internal/enums/drafts-api.enum.d.ts +6 -0
- package/lib/_internal/enums/drafts.enum.d.ts +18 -0
- package/lib/_internal/enums/engagement.enum.d.ts +5 -0
- package/lib/_internal/enums/index.d.ts +6 -0
- package/lib/_internal/enums/provisioning.enum.d.ts +6 -0
- package/lib/_internal/enums/social-content.enum.d.ts +39 -0
- package/lib/_internal/enums/stock-image.enum.d.ts +10 -0
- package/lib/_internal/image-library.api.service.d.ts +13 -0
- package/lib/_internal/index.d.ts +6 -0
- package/lib/_internal/interfaces/blog-website-info.interface.d.ts +24 -0
- package/lib/_internal/interfaces/drafts-api.interface.d.ts +109 -0
- package/lib/_internal/interfaces/drafts.interface.d.ts +82 -0
- package/lib/_internal/interfaces/engagement.interface.d.ts +37 -0
- package/lib/_internal/interfaces/index.d.ts +8 -1
- package/lib/_internal/interfaces/provisioning.interface.d.ts +8 -0
- package/lib/_internal/interfaces/social-content.interface.d.ts +71 -0
- package/lib/_internal/interfaces/social-post-stats.interface.d.ts +1 -0
- package/lib/_internal/interfaces/stock-image.interface.d.ts +30 -0
- package/lib/_internal/multilocation-post.api.service.d.ts +1 -1
- package/lib/_internal/objects/blog-website-info.d.ts +41 -0
- package/lib/_internal/objects/drafts-api.d.ts +162 -0
- package/lib/_internal/objects/drafts.d.ts +120 -0
- package/lib/_internal/objects/engagement.d.ts +60 -0
- package/lib/_internal/objects/index.d.ts +8 -1
- package/lib/_internal/objects/provisioning.d.ts +13 -0
- package/lib/_internal/objects/social-content.d.ts +103 -0
- package/lib/_internal/objects/social-post-stats.d.ts +1 -0
- package/lib/_internal/objects/stock-image.d.ts +47 -0
- package/lib/_internal/provisioning.api.service.d.ts +14 -0
- package/lib/_internal/social-content.api.service.d.ts +13 -0
- package/lib/_internal/social-post-engagements.api.service.d.ts +13 -0
- package/lib/drafts.service.d.ts +20 -0
- package/lib/index.d.ts +1 -0
- package/lib/multilocation-posts.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { GMBPostCustomization, DraftMedia, DraftMetaData, DraftYoutubeCustomization, SSIDDraftType, DraftTikTokCustomization, DraftBlogPostCustomization, CampaignCustomization, Draft, MlDraftPost } from './drafts';
|
|
3
|
+
import * as e from '../enums';
|
|
4
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
|
+
export declare class CreateDraftRequest implements i.CreateDraftRequestInterface {
|
|
6
|
+
accountGroupId: string;
|
|
7
|
+
draftText: string;
|
|
8
|
+
postDateTime: Date;
|
|
9
|
+
gmbPostCustomization: GMBPostCustomization;
|
|
10
|
+
previews: string;
|
|
11
|
+
options: string[];
|
|
12
|
+
media: DraftMedia[];
|
|
13
|
+
ssids: string[];
|
|
14
|
+
draftType: e.DraftType;
|
|
15
|
+
metadata: DraftMetaData[];
|
|
16
|
+
youtubeCustomization: DraftYoutubeCustomization;
|
|
17
|
+
ssidDraftTypes: SSIDDraftType[];
|
|
18
|
+
isHidden: boolean;
|
|
19
|
+
tiktokCustomization: DraftTikTokCustomization;
|
|
20
|
+
blogPostCustomization: DraftBlogPostCustomization;
|
|
21
|
+
campaignCustomization: CampaignCustomization;
|
|
22
|
+
brandId: string;
|
|
23
|
+
multilocationPostId: string;
|
|
24
|
+
socialNetworkIdentifier: string;
|
|
25
|
+
static fromProto(proto: any): CreateDraftRequest;
|
|
26
|
+
constructor(kwargs?: i.CreateDraftRequestInterface);
|
|
27
|
+
toApiJson(): object;
|
|
28
|
+
}
|
|
29
|
+
export declare class CreateDraftResponse implements i.CreateDraftResponseInterface {
|
|
30
|
+
draft: Draft;
|
|
31
|
+
static fromProto(proto: any): CreateDraftResponse;
|
|
32
|
+
constructor(kwargs?: i.CreateDraftResponseInterface);
|
|
33
|
+
toApiJson(): object;
|
|
34
|
+
}
|
|
35
|
+
export declare class CreateMultiDraftsRequest implements i.CreateMultiDraftsRequestInterface {
|
|
36
|
+
drafts: CreateDraftRequest[];
|
|
37
|
+
static fromProto(proto: any): CreateMultiDraftsRequest;
|
|
38
|
+
constructor(kwargs?: i.CreateMultiDraftsRequestInterface);
|
|
39
|
+
toApiJson(): object;
|
|
40
|
+
}
|
|
41
|
+
export declare class CreateMultiDraftsResponse implements i.CreateMultiDraftsResponseInterface {
|
|
42
|
+
drafts: Draft[];
|
|
43
|
+
static fromProto(proto: any): CreateMultiDraftsResponse;
|
|
44
|
+
constructor(kwargs?: i.CreateMultiDraftsResponseInterface);
|
|
45
|
+
toApiJson(): object;
|
|
46
|
+
}
|
|
47
|
+
export declare class DeleteDraftRequest implements i.DeleteDraftRequestInterface {
|
|
48
|
+
accountGroupId: string;
|
|
49
|
+
draftId: string;
|
|
50
|
+
static fromProto(proto: any): DeleteDraftRequest;
|
|
51
|
+
constructor(kwargs?: i.DeleteDraftRequestInterface);
|
|
52
|
+
toApiJson(): object;
|
|
53
|
+
}
|
|
54
|
+
export declare class GetDraftRequest implements i.GetDraftRequestInterface {
|
|
55
|
+
accountGroupId: string;
|
|
56
|
+
draftId: string;
|
|
57
|
+
static fromProto(proto: any): GetDraftRequest;
|
|
58
|
+
constructor(kwargs?: i.GetDraftRequestInterface);
|
|
59
|
+
toApiJson(): object;
|
|
60
|
+
}
|
|
61
|
+
export declare class GetDraftResponse implements i.GetDraftResponseInterface {
|
|
62
|
+
draft: Draft;
|
|
63
|
+
static fromProto(proto: any): GetDraftResponse;
|
|
64
|
+
constructor(kwargs?: i.GetDraftResponseInterface);
|
|
65
|
+
toApiJson(): object;
|
|
66
|
+
}
|
|
67
|
+
export declare class ListDraftsByNetworkIdentifierRequest implements i.ListDraftsByNetworkIdentifierRequestInterface {
|
|
68
|
+
accountGroupId: string;
|
|
69
|
+
socialNetworkIdentifier: string;
|
|
70
|
+
cursor: string;
|
|
71
|
+
pageSize: number;
|
|
72
|
+
static fromProto(proto: any): ListDraftsByNetworkIdentifierRequest;
|
|
73
|
+
constructor(kwargs?: i.ListDraftsByNetworkIdentifierRequestInterface);
|
|
74
|
+
toApiJson(): object;
|
|
75
|
+
}
|
|
76
|
+
export declare class ListDraftsByNetworkIdentifierResponse implements i.ListDraftsByNetworkIdentifierResponseInterface {
|
|
77
|
+
drafts: Draft[];
|
|
78
|
+
nextCursor: string;
|
|
79
|
+
hasMore: boolean;
|
|
80
|
+
static fromProto(proto: any): ListDraftsByNetworkIdentifierResponse;
|
|
81
|
+
constructor(kwargs?: i.ListDraftsByNetworkIdentifierResponseInterface);
|
|
82
|
+
toApiJson(): object;
|
|
83
|
+
}
|
|
84
|
+
export declare class ListDraftsRequest implements i.ListDraftsRequestInterface {
|
|
85
|
+
accountGroupId: string;
|
|
86
|
+
cursor: string;
|
|
87
|
+
pageSize: number;
|
|
88
|
+
start: Date;
|
|
89
|
+
end: Date;
|
|
90
|
+
searchTerm: string;
|
|
91
|
+
networks: string[];
|
|
92
|
+
visibilityType: e.VisibilityType;
|
|
93
|
+
static fromProto(proto: any): ListDraftsRequest;
|
|
94
|
+
constructor(kwargs?: i.ListDraftsRequestInterface);
|
|
95
|
+
toApiJson(): object;
|
|
96
|
+
}
|
|
97
|
+
export declare class ListDraftsResponse implements i.ListDraftsResponseInterface {
|
|
98
|
+
drafts: Draft[];
|
|
99
|
+
nextCursor: string;
|
|
100
|
+
hasMore: boolean;
|
|
101
|
+
static fromProto(proto: any): ListDraftsResponse;
|
|
102
|
+
constructor(kwargs?: i.ListDraftsResponseInterface);
|
|
103
|
+
toApiJson(): object;
|
|
104
|
+
}
|
|
105
|
+
export declare class ListMultilocationDraftsRequest implements i.ListMultilocationDraftsRequestInterface {
|
|
106
|
+
brandId: string;
|
|
107
|
+
multilocationPostId: string;
|
|
108
|
+
accountGroupIds: string[];
|
|
109
|
+
static fromProto(proto: any): ListMultilocationDraftsRequest;
|
|
110
|
+
constructor(kwargs?: i.ListMultilocationDraftsRequestInterface);
|
|
111
|
+
toApiJson(): object;
|
|
112
|
+
}
|
|
113
|
+
export declare class ListMultilocationDraftsResponse implements i.ListMultilocationDraftsResponseInterface {
|
|
114
|
+
drafts: Draft[];
|
|
115
|
+
static fromProto(proto: any): ListMultilocationDraftsResponse;
|
|
116
|
+
constructor(kwargs?: i.ListMultilocationDraftsResponseInterface);
|
|
117
|
+
toApiJson(): object;
|
|
118
|
+
}
|
|
119
|
+
export declare class MultiDeleteMLDraftPostsRequest implements i.MultiDeleteMLDraftPostsRequestInterface {
|
|
120
|
+
mlDraftPosts: MlDraftPost[];
|
|
121
|
+
brandId: string;
|
|
122
|
+
static fromProto(proto: any): MultiDeleteMLDraftPostsRequest;
|
|
123
|
+
constructor(kwargs?: i.MultiDeleteMLDraftPostsRequestInterface);
|
|
124
|
+
toApiJson(): object;
|
|
125
|
+
}
|
|
126
|
+
export declare class UpdateDraftRequest implements i.UpdateDraftRequestInterface {
|
|
127
|
+
accountGroupId: string;
|
|
128
|
+
draftId: string;
|
|
129
|
+
draftText: string;
|
|
130
|
+
postDateTime: Date;
|
|
131
|
+
gmbPostCustomization: GMBPostCustomization;
|
|
132
|
+
previews: string;
|
|
133
|
+
options: string[];
|
|
134
|
+
media: DraftMedia[];
|
|
135
|
+
ssids: string[];
|
|
136
|
+
draftType: e.DraftType;
|
|
137
|
+
metadata: DraftMetaData[];
|
|
138
|
+
youtubeCustomization: DraftYoutubeCustomization;
|
|
139
|
+
ssidDraftTypes: SSIDDraftType[];
|
|
140
|
+
isHidden: boolean;
|
|
141
|
+
tiktokCustomization: DraftTikTokCustomization;
|
|
142
|
+
blogPostCustomization: DraftBlogPostCustomization;
|
|
143
|
+
campaignCustomization: CampaignCustomization;
|
|
144
|
+
brandId: string;
|
|
145
|
+
multilocationPostId: string;
|
|
146
|
+
socialNetworkIdentifier: string;
|
|
147
|
+
static fromProto(proto: any): UpdateDraftRequest;
|
|
148
|
+
constructor(kwargs?: i.UpdateDraftRequestInterface);
|
|
149
|
+
toApiJson(): object;
|
|
150
|
+
}
|
|
151
|
+
export declare class UpdateDraftResponse implements i.UpdateDraftResponseInterface {
|
|
152
|
+
draft: Draft;
|
|
153
|
+
static fromProto(proto: any): UpdateDraftResponse;
|
|
154
|
+
constructor(kwargs?: i.UpdateDraftResponseInterface);
|
|
155
|
+
toApiJson(): object;
|
|
156
|
+
}
|
|
157
|
+
export declare class UpdateMultiMLDraftsRequest implements i.UpdateMultiMLDraftsRequestInterface {
|
|
158
|
+
drafts: UpdateDraftRequest[];
|
|
159
|
+
static fromProto(proto: any): UpdateMultiMLDraftsRequest;
|
|
160
|
+
constructor(kwargs?: i.UpdateMultiMLDraftsRequestInterface);
|
|
161
|
+
toApiJson(): object;
|
|
162
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class CampaignCustomization implements i.CampaignCustomizationInterface {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
shortCode: string;
|
|
8
|
+
static fromProto(proto: any): CampaignCustomization;
|
|
9
|
+
constructor(kwargs?: i.CampaignCustomizationInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
12
|
+
export declare class Categories implements i.CategoriesInterface {
|
|
13
|
+
id: number;
|
|
14
|
+
name: string;
|
|
15
|
+
static fromProto(proto: any): Categories;
|
|
16
|
+
constructor(kwargs?: i.CategoriesInterface);
|
|
17
|
+
toApiJson(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class Draft implements i.DraftInterface {
|
|
20
|
+
accountGroupId: string;
|
|
21
|
+
draftId: string;
|
|
22
|
+
created: Date;
|
|
23
|
+
updated: Date;
|
|
24
|
+
draftText: string;
|
|
25
|
+
postDateTime: Date;
|
|
26
|
+
gmbPostCustomization: GMBPostCustomization;
|
|
27
|
+
previews: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
media: DraftMedia[];
|
|
30
|
+
ssids: string[];
|
|
31
|
+
draftType: e.DraftType;
|
|
32
|
+
metadata: DraftMetaData[];
|
|
33
|
+
youtubeCustomization: DraftYoutubeCustomization;
|
|
34
|
+
ssidDraftTypes: SSIDDraftType[];
|
|
35
|
+
isHidden: boolean;
|
|
36
|
+
tiktokCustomization: DraftTikTokCustomization;
|
|
37
|
+
blogPostCustomization: DraftBlogPostCustomization;
|
|
38
|
+
campaignCustomization: CampaignCustomization;
|
|
39
|
+
brandId: string;
|
|
40
|
+
multilocationPostId: string;
|
|
41
|
+
socialNetworkIdentifier: string;
|
|
42
|
+
static fromProto(proto: any): Draft;
|
|
43
|
+
constructor(kwargs?: i.DraftInterface);
|
|
44
|
+
toApiJson(): object;
|
|
45
|
+
}
|
|
46
|
+
export declare class DraftAuthor implements i.DraftAuthorInterface {
|
|
47
|
+
id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
static fromProto(proto: any): DraftAuthor;
|
|
50
|
+
constructor(kwargs?: i.DraftAuthorInterface);
|
|
51
|
+
toApiJson(): object;
|
|
52
|
+
}
|
|
53
|
+
export declare class DraftBlogPostCustomization implements i.DraftBlogPostCustomizationInterface {
|
|
54
|
+
title: string;
|
|
55
|
+
author: DraftAuthor;
|
|
56
|
+
categories: Categories[];
|
|
57
|
+
tags: string[];
|
|
58
|
+
siteType: string;
|
|
59
|
+
static fromProto(proto: any): DraftBlogPostCustomization;
|
|
60
|
+
constructor(kwargs?: i.DraftBlogPostCustomizationInterface);
|
|
61
|
+
toApiJson(): object;
|
|
62
|
+
}
|
|
63
|
+
export declare class DraftMedia implements i.DraftMediaInterface {
|
|
64
|
+
imageUrl: string;
|
|
65
|
+
videoUrl: string;
|
|
66
|
+
gifUrl: string;
|
|
67
|
+
mediaId: string;
|
|
68
|
+
metaData: DraftMetaData[];
|
|
69
|
+
static fromProto(proto: any): DraftMedia;
|
|
70
|
+
constructor(kwargs?: i.DraftMediaInterface);
|
|
71
|
+
toApiJson(): object;
|
|
72
|
+
}
|
|
73
|
+
export declare class DraftMetaData implements i.DraftMetaDataInterface {
|
|
74
|
+
propertyName: string;
|
|
75
|
+
propertyValue: string;
|
|
76
|
+
static fromProto(proto: any): DraftMetaData;
|
|
77
|
+
constructor(kwargs?: i.DraftMetaDataInterface);
|
|
78
|
+
toApiJson(): object;
|
|
79
|
+
}
|
|
80
|
+
export declare class DraftTikTokCustomization implements i.DraftTikTokCustomizationInterface {
|
|
81
|
+
allowComment: boolean;
|
|
82
|
+
allowDuet: boolean;
|
|
83
|
+
allowStitch: boolean;
|
|
84
|
+
isBrandOrganic: boolean;
|
|
85
|
+
isBrandedContent: boolean;
|
|
86
|
+
static fromProto(proto: any): DraftTikTokCustomization;
|
|
87
|
+
constructor(kwargs?: i.DraftTikTokCustomizationInterface);
|
|
88
|
+
toApiJson(): object;
|
|
89
|
+
}
|
|
90
|
+
export declare class DraftYoutubeCustomization implements i.DraftYoutubeCustomizationInterface {
|
|
91
|
+
title: string;
|
|
92
|
+
privacyStatus: e.DraftYoutubeCustomizationPrivacyStatus;
|
|
93
|
+
static fromProto(proto: any): DraftYoutubeCustomization;
|
|
94
|
+
constructor(kwargs?: i.DraftYoutubeCustomizationInterface);
|
|
95
|
+
toApiJson(): object;
|
|
96
|
+
}
|
|
97
|
+
export declare class GMBPostCustomization implements i.GMBPostCustomizationInterface {
|
|
98
|
+
title: string;
|
|
99
|
+
eventStart: Date;
|
|
100
|
+
eventEnd: Date;
|
|
101
|
+
ctaType: string;
|
|
102
|
+
linkUrl: string;
|
|
103
|
+
static fromProto(proto: any): GMBPostCustomization;
|
|
104
|
+
constructor(kwargs?: i.GMBPostCustomizationInterface);
|
|
105
|
+
toApiJson(): object;
|
|
106
|
+
}
|
|
107
|
+
export declare class MlDraftPost implements i.MlDraftPostInterface {
|
|
108
|
+
multilocationPostId: string;
|
|
109
|
+
accountGroupIds: string[];
|
|
110
|
+
static fromProto(proto: any): MlDraftPost;
|
|
111
|
+
constructor(kwargs?: i.MlDraftPostInterface);
|
|
112
|
+
toApiJson(): object;
|
|
113
|
+
}
|
|
114
|
+
export declare class SSIDDraftType implements i.SSIDDraftTypeInterface {
|
|
115
|
+
ssid: string;
|
|
116
|
+
draftType: e.DraftType;
|
|
117
|
+
static fromProto(proto: any): SSIDDraftType;
|
|
118
|
+
constructor(kwargs?: i.SSIDDraftTypeInterface);
|
|
119
|
+
toApiJson(): object;
|
|
120
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { SocialPost } from './social-posts';
|
|
3
|
+
import * as e from '../enums';
|
|
4
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
|
+
export declare class DateRange implements i.DateRangeInterface {
|
|
6
|
+
start: Date;
|
|
7
|
+
end: Date;
|
|
8
|
+
static fromProto(proto: any): DateRange;
|
|
9
|
+
constructor(kwargs?: i.DateRangeInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
12
|
+
export declare class EngagementParameter implements i.EngagementParameterInterface {
|
|
13
|
+
engagementParameter: string;
|
|
14
|
+
value: string;
|
|
15
|
+
static fromProto(proto: any): EngagementParameter;
|
|
16
|
+
constructor(kwargs?: i.EngagementParameterInterface);
|
|
17
|
+
toApiJson(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class ListSocialPostEngagementsRequest implements i.ListSocialPostEngagementsRequestInterface {
|
|
20
|
+
accountGroupId: string;
|
|
21
|
+
networks: string[];
|
|
22
|
+
dateRange: DateRange;
|
|
23
|
+
sortBy: SortBy[];
|
|
24
|
+
limit: number;
|
|
25
|
+
isPostDataNeeded: boolean;
|
|
26
|
+
cursor: string;
|
|
27
|
+
static fromProto(proto: any): ListSocialPostEngagementsRequest;
|
|
28
|
+
constructor(kwargs?: i.ListSocialPostEngagementsRequestInterface);
|
|
29
|
+
toApiJson(): object;
|
|
30
|
+
}
|
|
31
|
+
export declare class ListSocialPostEngagementsResponse implements i.ListSocialPostEngagementsResponseInterface {
|
|
32
|
+
socialPostEngagements: SocialPostEngagement[];
|
|
33
|
+
cursor: string;
|
|
34
|
+
static fromProto(proto: any): ListSocialPostEngagementsResponse;
|
|
35
|
+
constructor(kwargs?: i.ListSocialPostEngagementsResponseInterface);
|
|
36
|
+
toApiJson(): object;
|
|
37
|
+
}
|
|
38
|
+
export declare class SocialEngagement implements i.SocialEngagementInterface {
|
|
39
|
+
calculatedEngagementRate: string;
|
|
40
|
+
engagementParameters: EngagementParameter[];
|
|
41
|
+
static fromProto(proto: any): SocialEngagement;
|
|
42
|
+
constructor(kwargs?: i.SocialEngagementInterface);
|
|
43
|
+
toApiJson(): object;
|
|
44
|
+
}
|
|
45
|
+
export declare class SocialPostEngagement implements i.SocialPostEngagementInterface {
|
|
46
|
+
socialPost: SocialPost;
|
|
47
|
+
socialEngagement: SocialEngagement;
|
|
48
|
+
network: string;
|
|
49
|
+
errorMessage: string;
|
|
50
|
+
static fromProto(proto: any): SocialPostEngagement;
|
|
51
|
+
constructor(kwargs?: i.SocialPostEngagementInterface);
|
|
52
|
+
toApiJson(): object;
|
|
53
|
+
}
|
|
54
|
+
export declare class SortBy implements i.SortByInterface {
|
|
55
|
+
field: string;
|
|
56
|
+
sortDirection: e.SortBySortDirection;
|
|
57
|
+
static fromProto(proto: any): SortBy;
|
|
58
|
+
constructor(kwargs?: i.SortByInterface);
|
|
59
|
+
toApiJson(): object;
|
|
60
|
+
}
|
|
@@ -6,14 +6,21 @@ export { PixabayImage, } from './pixabay-image';
|
|
|
6
6
|
export { FacebookPostStats, InstagramPostStats, LinkedInPostStats, SocialPostStats, TikTokPostStats, TwitterPostStats, YoutubePostStats, } from './social-post-stats';
|
|
7
7
|
export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
|
|
8
8
|
export { PexelsImage, } from './pexels-image';
|
|
9
|
+
export { DateRange, EngagementParameter, ListSocialPostEngagementsRequest, ListSocialPostEngagementsResponse, SocialEngagement, SocialPostEngagement, SortBy, } from './engagement';
|
|
10
|
+
export { ListStockImagesRequest, ListStockImagesResponse, Namespace, StockImage, StockImageError, } from './stock-image';
|
|
11
|
+
export { BlogAuthor, BlogCategory, BlogWebsiteDetails, GetBlogWebsiteDetailsRequest, GetBlogWebsiteDetailsResponse, } from './blog-website-info';
|
|
9
12
|
export { Access, MCPOptions, } from './annotations';
|
|
10
13
|
export { BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, FetchFacebookMentionInfoRequest, FetchFacebookMentionInfoResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPexelsImagesRequest, ListPexelsImagesResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, FetchFacebookMentionInfoResponsePageInfoEntry, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
|
|
11
14
|
export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, TikTokCustomizationV2, YoutubeCustomizationV2, } from './social-post-v2';
|
|
12
15
|
export { Media, } from './linkedin-v2';
|
|
13
16
|
export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
|
|
17
|
+
export { ProvisionRequest, } from './provisioning';
|
|
14
18
|
export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, ImageBlob, ImageCreated, GeneratePostsResponseImageResponse, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, Post, GeneratePostsResponsePost, PostContent, PostsGeneration, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialService, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
|
|
15
19
|
export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
|
|
16
20
|
export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
|
|
17
21
|
export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
|
|
18
|
-
export {
|
|
22
|
+
export { AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
|
|
19
23
|
export { Campaign, CreateCampaignRequest, CreateCampaignResponse, DeleteCampaignRequest, GetCampaignRequest, GetCampaignResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, UpdateCampaignIdRequest, UpdateCampaignRequest, } from './campaign';
|
|
24
|
+
export { CampaignCustomization, Categories, Draft, DraftAuthor, DraftBlogPostCustomization, DraftMedia, DraftMetaData, DraftTikTokCustomization, DraftYoutubeCustomization, GMBPostCustomization, MlDraftPost, SSIDDraftType, } from './drafts';
|
|
25
|
+
export { CreateDraftRequest, CreateDraftResponse, CreateMultiDraftsRequest, CreateMultiDraftsResponse, DeleteDraftRequest, GetDraftRequest, GetDraftResponse, ListDraftsByNetworkIdentifierRequest, ListDraftsByNetworkIdentifierResponse, ListDraftsRequest, ListDraftsResponse, ListMultilocationDraftsRequest, ListMultilocationDraftsResponse, MultiDeleteMLDraftPostsRequest, UpdateDraftRequest, UpdateDraftResponse, UpdateMultiMLDraftsRequest, } from './drafts-api';
|
|
26
|
+
export { BlogPostOptions, ContentMetadata, CreateContentRequest, CreateContentResponse, GMBCustomization, Link, MediaItem, SocialContentItem, SocialContentResult, SsidPostType, } from './social-content';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class ProvisionRequest implements i.ProvisionRequestInterface {
|
|
5
|
+
action: e.ProvisionAction;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
businessId: string;
|
|
8
|
+
activationId: string;
|
|
9
|
+
editionId: string;
|
|
10
|
+
static fromProto(proto: any): ProvisionRequest;
|
|
11
|
+
constructor(kwargs?: i.ProvisionRequestInterface);
|
|
12
|
+
toApiJson(): object;
|
|
13
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { BlogAuthor, BlogCategory } from './blog-website-info';
|
|
3
|
+
import { YoutubeCustomization, TikTokCustomization } from './social-posts';
|
|
4
|
+
import * as e from '../enums';
|
|
5
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
6
|
+
export declare class BlogPostOptions implements i.BlogPostOptionsInterface {
|
|
7
|
+
title: string;
|
|
8
|
+
author: BlogAuthor;
|
|
9
|
+
categories: BlogCategory[];
|
|
10
|
+
tags: string[];
|
|
11
|
+
siteType: string;
|
|
12
|
+
static fromProto(proto: any): BlogPostOptions;
|
|
13
|
+
constructor(kwargs?: i.BlogPostOptionsInterface);
|
|
14
|
+
toApiJson(): object;
|
|
15
|
+
}
|
|
16
|
+
export declare class ContentMetadata implements i.ContentMetadataInterface {
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
static fromProto(proto: any): ContentMetadata;
|
|
20
|
+
constructor(kwargs?: i.ContentMetadataInterface);
|
|
21
|
+
toApiJson(): object;
|
|
22
|
+
}
|
|
23
|
+
export declare class CreateContentRequest implements i.CreateContentRequestInterface {
|
|
24
|
+
accountGroupId: string;
|
|
25
|
+
username: string;
|
|
26
|
+
userId: string;
|
|
27
|
+
items: SocialContentItem[];
|
|
28
|
+
static fromProto(proto: any): CreateContentRequest;
|
|
29
|
+
constructor(kwargs?: i.CreateContentRequestInterface);
|
|
30
|
+
toApiJson(): object;
|
|
31
|
+
}
|
|
32
|
+
export declare class CreateContentResponse implements i.CreateContentResponseInterface {
|
|
33
|
+
results: SocialContentResult[];
|
|
34
|
+
static fromProto(proto: any): CreateContentResponse;
|
|
35
|
+
constructor(kwargs?: i.CreateContentResponseInterface);
|
|
36
|
+
toApiJson(): object;
|
|
37
|
+
}
|
|
38
|
+
export declare class GMBCustomization implements i.GMBCustomizationInterface {
|
|
39
|
+
title: string;
|
|
40
|
+
eventStart: Date;
|
|
41
|
+
eventEnd: Date;
|
|
42
|
+
ctaType: e.CallToActionType;
|
|
43
|
+
linkUrl: string;
|
|
44
|
+
static fromProto(proto: any): GMBCustomization;
|
|
45
|
+
constructor(kwargs?: i.GMBCustomizationInterface);
|
|
46
|
+
toApiJson(): object;
|
|
47
|
+
}
|
|
48
|
+
export declare class Link implements i.LinkInterface {
|
|
49
|
+
name: string;
|
|
50
|
+
picture: string;
|
|
51
|
+
description: string;
|
|
52
|
+
title: string;
|
|
53
|
+
url: string;
|
|
54
|
+
shortcode: string;
|
|
55
|
+
static fromProto(proto: any): Link;
|
|
56
|
+
constructor(kwargs?: i.LinkInterface);
|
|
57
|
+
toApiJson(): object;
|
|
58
|
+
}
|
|
59
|
+
export declare class MediaItem implements i.MediaItemInterface {
|
|
60
|
+
mediaId: string;
|
|
61
|
+
mediaType: e.MediaType;
|
|
62
|
+
path: string;
|
|
63
|
+
url: string;
|
|
64
|
+
static fromProto(proto: any): MediaItem;
|
|
65
|
+
constructor(kwargs?: i.MediaItemInterface);
|
|
66
|
+
toApiJson(): object;
|
|
67
|
+
}
|
|
68
|
+
export declare class SocialContentItem implements i.SocialContentItemInterface {
|
|
69
|
+
type: e.SocialContentType;
|
|
70
|
+
mode: e.PublishMode;
|
|
71
|
+
ssidTypes: SsidPostType[];
|
|
72
|
+
text: string;
|
|
73
|
+
description: string;
|
|
74
|
+
media: MediaItem[];
|
|
75
|
+
links: Link[];
|
|
76
|
+
scheduleAt: Date;
|
|
77
|
+
gmbCustomization: GMBCustomization;
|
|
78
|
+
youtubeCustomization: YoutubeCustomization;
|
|
79
|
+
tiktokCustomization: TikTokCustomization;
|
|
80
|
+
blogPostOptions: BlogPostOptions;
|
|
81
|
+
campaignId: string;
|
|
82
|
+
contentMetadata: ContentMetadata[];
|
|
83
|
+
static fromProto(proto: any): SocialContentItem;
|
|
84
|
+
constructor(kwargs?: i.SocialContentItemInterface);
|
|
85
|
+
toApiJson(): object;
|
|
86
|
+
}
|
|
87
|
+
export declare class SocialContentResult implements i.SocialContentResultInterface {
|
|
88
|
+
postId: string;
|
|
89
|
+
ssid: string;
|
|
90
|
+
network: string;
|
|
91
|
+
status: string;
|
|
92
|
+
errorMessage: string;
|
|
93
|
+
static fromProto(proto: any): SocialContentResult;
|
|
94
|
+
constructor(kwargs?: i.SocialContentResultInterface);
|
|
95
|
+
toApiJson(): object;
|
|
96
|
+
}
|
|
97
|
+
export declare class SsidPostType implements i.SsidPostTypeInterface {
|
|
98
|
+
ssid: string;
|
|
99
|
+
mediaContentType: e.MediaContentType;
|
|
100
|
+
static fromProto(proto: any): SsidPostType;
|
|
101
|
+
constructor(kwargs?: i.SsidPostTypeInterface);
|
|
102
|
+
toApiJson(): object;
|
|
103
|
+
}
|
|
@@ -68,6 +68,7 @@ export declare class YoutubePostStats implements i.YoutubePostStatsInterface {
|
|
|
68
68
|
favourites: number;
|
|
69
69
|
views: number;
|
|
70
70
|
videoViews: number;
|
|
71
|
+
dislikeCount: number;
|
|
71
72
|
static fromProto(proto: any): YoutubePostStats;
|
|
72
73
|
constructor(kwargs?: i.YoutubePostStatsInterface);
|
|
73
74
|
toApiJson(): object;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class ListStockImagesRequest implements i.ListStockImagesRequestInterface {
|
|
5
|
+
namespace: Namespace;
|
|
6
|
+
keywords: string[];
|
|
7
|
+
imageCount: number;
|
|
8
|
+
imageSource: e.ImageSource;
|
|
9
|
+
orientation: string;
|
|
10
|
+
size: string;
|
|
11
|
+
page: number;
|
|
12
|
+
perPage: number;
|
|
13
|
+
static fromProto(proto: any): ListStockImagesRequest;
|
|
14
|
+
constructor(kwargs?: i.ListStockImagesRequestInterface);
|
|
15
|
+
toApiJson(): object;
|
|
16
|
+
}
|
|
17
|
+
export declare class ListStockImagesResponse implements i.ListStockImagesResponseInterface {
|
|
18
|
+
images: StockImage[];
|
|
19
|
+
error: StockImageError;
|
|
20
|
+
static fromProto(proto: any): ListStockImagesResponse;
|
|
21
|
+
constructor(kwargs?: i.ListStockImagesResponseInterface);
|
|
22
|
+
toApiJson(): object;
|
|
23
|
+
}
|
|
24
|
+
export declare class Namespace implements i.NamespaceInterface {
|
|
25
|
+
namespaceId: string;
|
|
26
|
+
namespaceType: e.NamespaceType;
|
|
27
|
+
static fromProto(proto: any): Namespace;
|
|
28
|
+
constructor(kwargs?: i.NamespaceInterface);
|
|
29
|
+
toApiJson(): object;
|
|
30
|
+
}
|
|
31
|
+
export declare class StockImage implements i.StockImageInterface {
|
|
32
|
+
publicUrl: string;
|
|
33
|
+
imageId: string;
|
|
34
|
+
source: e.ImageSource;
|
|
35
|
+
photographerName: string;
|
|
36
|
+
photographerUrl: string;
|
|
37
|
+
static fromProto(proto: any): StockImage;
|
|
38
|
+
constructor(kwargs?: i.StockImageInterface);
|
|
39
|
+
toApiJson(): object;
|
|
40
|
+
}
|
|
41
|
+
export declare class StockImageError implements i.StockImageErrorInterface {
|
|
42
|
+
code: string;
|
|
43
|
+
message: string;
|
|
44
|
+
static fromProto(proto: any): StockImageError;
|
|
45
|
+
constructor(kwargs?: i.StockImageErrorInterface);
|
|
46
|
+
toApiJson(): object;
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProvisionRequest } from './objects/';
|
|
2
|
+
import { ProvisionRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProvisioningApiService {
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private _host;
|
|
10
|
+
private apiOptions;
|
|
11
|
+
provision(r: ProvisionRequest | ProvisionRequestInterface): Observable<HttpResponse<null>>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProvisioningApiService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProvisioningApiService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreateContentRequest, CreateContentResponse } from './objects/';
|
|
2
|
+
import { CreateContentRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SocialContentApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
create(r: CreateContentRequest | CreateContentRequestInterface): Observable<CreateContentResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SocialContentApiService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SocialContentApiService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListSocialPostEngagementsRequest, ListSocialPostEngagementsResponse } from './objects/';
|
|
2
|
+
import { ListSocialPostEngagementsRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SocialPostEngagementsApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
listSocialPostEngagements(r: ListSocialPostEngagementsRequest | ListSocialPostEngagementsRequestInterface): Observable<ListSocialPostEngagementsResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostEngagementsApiService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostEngagementsApiService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpResponse } from '@angular/common/http';
|
|
3
|
+
import { CreateDraftRequest, CreateDraftRequestInterface, CreateDraftResponse, CreateMultiDraftsRequest, CreateMultiDraftsRequestInterface, CreateMultiDraftsResponse, DeleteDraftRequest, DeleteDraftRequestInterface, DraftsApiService, GetDraftRequest, GetDraftRequestInterface, GetDraftResponse, ListDraftsByNetworkIdentifierRequest, ListDraftsByNetworkIdentifierRequestInterface, ListDraftsByNetworkIdentifierResponse, ListDraftsRequest, ListDraftsRequestInterface, ListDraftsResponse, ListMultilocationDraftsRequest, ListMultilocationDraftsRequestInterface, ListMultilocationDraftsResponse, MultiDeleteMLDraftPostsRequest, MultiDeleteMLDraftPostsRequestInterface, UpdateDraftRequest, UpdateDraftRequestInterface, UpdateDraftResponse, UpdateMultiMLDraftsRequest, UpdateMultiMLDraftsRequestInterface } from './_internal';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DraftsService {
|
|
6
|
+
private draftsApiService;
|
|
7
|
+
constructor(draftsApiService: DraftsApiService);
|
|
8
|
+
createDraft(r: CreateDraftRequest | CreateDraftRequestInterface): Observable<CreateDraftResponse>;
|
|
9
|
+
createMultiDrafts(r: CreateMultiDraftsRequest | CreateMultiDraftsRequestInterface): Observable<CreateMultiDraftsResponse>;
|
|
10
|
+
getDraft(r: GetDraftRequest | GetDraftRequestInterface): Observable<GetDraftResponse>;
|
|
11
|
+
updateDraft(r: UpdateDraftRequest | UpdateDraftRequestInterface): Observable<UpdateDraftResponse>;
|
|
12
|
+
deleteDraft(r: DeleteDraftRequest | DeleteDraftRequestInterface): Observable<HttpResponse<null>>;
|
|
13
|
+
listDrafts(r: ListDraftsRequest | ListDraftsRequestInterface): Observable<ListDraftsResponse>;
|
|
14
|
+
listDraftsByNetworkIdentifier(r: ListDraftsByNetworkIdentifierRequest | ListDraftsByNetworkIdentifierRequestInterface): Observable<ListDraftsByNetworkIdentifierResponse>;
|
|
15
|
+
listMultilocationDrafts(r: ListMultilocationDraftsRequest | ListMultilocationDraftsRequestInterface): Observable<ListMultilocationDraftsResponse>;
|
|
16
|
+
updateMultiMlDrafts(r: UpdateMultiMLDraftsRequest | UpdateMultiMLDraftsRequestInterface): Observable<HttpResponse<null>>;
|
|
17
|
+
deleteMultiMlDrafts(r: MultiDeleteMLDraftPostsRequest | MultiDeleteMLDraftPostsRequestInterface): Observable<HttpResponse<null>>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DraftsService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DraftsService>;
|
|
20
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export { BlogConnectionService } from './blog-connection.service';
|
|
|
21
21
|
export { WordpressPluginService } from './wordpress-plugin.service';
|
|
22
22
|
export { BlogPostsService } from './blog-posts.service';
|
|
23
23
|
export { CampaignService } from './campaign.service';
|
|
24
|
+
export { DraftsService } from './drafts.service';
|
|
@@ -12,7 +12,7 @@ export declare class MultilocationPostsService {
|
|
|
12
12
|
constructor(multilocationApiService: MultilocationPostApiService);
|
|
13
13
|
createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[], postCategory?: MLPostCategory, postCustomizationByLocation?: PostCustomizationByLocationInterface): Observable<CreateMultilocationPostResponse>;
|
|
14
14
|
editMultilocationPost(brandId: string, multilocationId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], fieldMask: FieldMask, mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[], postCategory?: MLPostCategory, newServices?: MultilocationServices[], deletedServices?: MultilocationServices[], postCustomizationByLocation?: PostCustomizationByLocationInterface): Observable<EditMultilocationPostResponse>;
|
|
15
|
-
editMultilocationPostV2(req: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<
|
|
15
|
+
editMultilocationPostV2(req: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
16
16
|
removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string, locations: Location[]): Observable<HttpResponse<null>>;
|
|
17
17
|
listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
|
|
18
18
|
deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>>;
|