@vendasta/social-posts 5.25.0 → 5.26.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/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +8 -0
- package/esm2020/lib/_internal/objects/index.mjs +2 -1
- package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +62 -0
- package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +41 -0
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/wordpress-plugin.service.mjs +19 -0
- package/fesm2015/vendasta-social-posts.mjs +148 -38
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +148 -38
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +1 -0
- package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +11 -0
- package/lib/_internal/objects/index.d.ts +1 -0
- package/lib/_internal/objects/wordpress-plugin.d.ts +19 -0
- package/lib/_internal/wordpress-plugin.api.service.d.ts +16 -0
- package/lib/index.d.ts +1 -0
- package/lib/wordpress-plugin.service.d.ts +10 -0
- package/package.json +1 -1
package/lib/_internal/index.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export { SocialPostsApiService } from './social-posts.api.service';
|
|
|
18
18
|
export { SocialPostsV2ApiService } from './social-posts-v2.api.service';
|
|
19
19
|
export { TenorGifsApiService } from './tenor-gifs.api.service';
|
|
20
20
|
export { UnsplashApiService } from './unsplash.api.service';
|
|
21
|
+
export { WordpressPluginApiService } from './wordpress-plugin.api.service';
|
|
@@ -14,3 +14,4 @@ export { AiInstructionsInterface, CreateCommonAiInstructionsRequestInterface, Cr
|
|
|
14
14
|
export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
|
|
15
15
|
export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
|
|
16
16
|
export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
|
|
17
|
+
export { StatusRequestInterface, StatusResponseInterface, } from './wordpress-plugin.interface';
|
|
@@ -14,3 +14,4 @@ export { AiInstructions, CreateCommonAiInstructionsRequest, CreateCommonAiInstru
|
|
|
14
14
|
export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
|
|
15
15
|
export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
|
|
16
16
|
export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
|
|
17
|
+
export { StatusRequest, StatusResponse, } from './wordpress-plugin';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class StatusRequest implements i.StatusRequestInterface {
|
|
4
|
+
businessId: string;
|
|
5
|
+
apiKey: string;
|
|
6
|
+
siteUrl: string;
|
|
7
|
+
static fromProto(proto: any): StatusRequest;
|
|
8
|
+
constructor(kwargs?: i.StatusRequestInterface);
|
|
9
|
+
toApiJson(): object;
|
|
10
|
+
}
|
|
11
|
+
export declare class StatusResponse implements i.StatusResponseInterface {
|
|
12
|
+
status: boolean;
|
|
13
|
+
version: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
name: string;
|
|
16
|
+
static fromProto(proto: any): StatusResponse;
|
|
17
|
+
constructor(kwargs?: i.StatusResponseInterface);
|
|
18
|
+
toApiJson(): object;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StatusRequest, StatusResponse } from './objects/';
|
|
2
|
+
import { StatusRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class WordpressPluginApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
status(r: StatusRequest | StatusRequestInterface): Observable<StatusResponse>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WordpressPluginApiService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WordpressPluginApiService>;
|
|
16
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export { UnsplashImageService } from './unsplash-image.service';
|
|
|
16
16
|
export { ChatBotService } from './chat-bot.service';
|
|
17
17
|
export { ChatBotV2Service } from './chat-bot-v2.service';
|
|
18
18
|
export { BlogConnectionService } from './blog-connection.service';
|
|
19
|
+
export { WordpressPluginService } from './wordpress-plugin.service';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { StatusRequestInterface, StatusResponse, WordpressPluginApiService } from './_internal';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WordpressPluginService {
|
|
5
|
+
private wordpressPluginApiService;
|
|
6
|
+
constructor(wordpressPluginApiService: WordpressPluginApiService);
|
|
7
|
+
status(statusRequestInterface: StatusRequestInterface): Observable<StatusResponse>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WordpressPluginService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WordpressPluginService>;
|
|
10
|
+
}
|