sociova 1.2.2 → 1.2.3
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/dist/client.d.ts +13 -1
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -113,6 +113,15 @@ export type SendGenericTemplatePayload = {
|
|
|
113
113
|
|
|
114
114
|
export type SendGenericTemplateResponse = Record<string, any>;
|
|
115
115
|
|
|
116
|
+
export interface MediaResponse {
|
|
117
|
+
id: string;
|
|
118
|
+
status?: string;
|
|
119
|
+
[key: string]: any; // in case Instagram returns extra fields
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface PublishPostResumePayload {
|
|
123
|
+
creation_id: string;
|
|
124
|
+
}
|
|
116
125
|
export declare class InstaClient {
|
|
117
126
|
Config: {
|
|
118
127
|
auth: string;
|
|
@@ -133,4 +142,7 @@ export declare class InstaClient {
|
|
|
133
142
|
sendButtonTemplate(payload: SendButtonTemplatePayload): Promise<SendButtonTemplateResponse>;
|
|
134
143
|
sendPublishedPosts(payload: SendMediaPayload): Promise<SendMediaResponse>;
|
|
135
144
|
sendGenericTemplate(payload: SendGenericTemplatePayload): Promise<SendGenericTemplateResponse>;
|
|
136
|
-
|
|
145
|
+
directPublishPost(payload: DirectPublishPayload): Promise<MediaResponse>;
|
|
146
|
+
createMedia(payload: DirectPublishPayload): Promise<MediaResponse>;
|
|
147
|
+
publishPostResume(payload: PublishPostResumePayload): Promise<MediaResponse>;
|
|
148
|
+
}
|
package/dist/client.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./client"
|
|
1
|
+
export * from "./client"
|