@getlatedev/node 0.2.1320 → 0.2.1321
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/README.md +3 -0
- package/dist/index.d.mts +72 -1
- package/dist/index.d.ts +72 -1
- package/dist/index.js +22 -1
- package/dist/index.mjs +22 -1
- package/package.json +1 -1
- package/src/client.ts +6 -0
- package/src/generated/sdk.gen.ts +34 -1
- package/src/generated/types.gen.ts +77 -0
|
@@ -31656,6 +31656,83 @@ export type DeleteInboxLabelResponse = ({
|
|
|
31656
31656
|
|
|
31657
31657
|
export type DeleteInboxLabelError = (ErrorResponse | unknown);
|
|
31658
31658
|
|
|
31659
|
+
export type ListConversationLabelsData = {
|
|
31660
|
+
path: {
|
|
31661
|
+
/**
|
|
31662
|
+
* Conversation ID (Zernio id or Meta platform conversation id)
|
|
31663
|
+
*/
|
|
31664
|
+
conversationId: string;
|
|
31665
|
+
};
|
|
31666
|
+
query: {
|
|
31667
|
+
/**
|
|
31668
|
+
* Facebook social account ID
|
|
31669
|
+
*/
|
|
31670
|
+
accountId: string;
|
|
31671
|
+
};
|
|
31672
|
+
};
|
|
31673
|
+
|
|
31674
|
+
export type ListConversationLabelsResponse = ({
|
|
31675
|
+
labels?: Array<{
|
|
31676
|
+
/**
|
|
31677
|
+
* Meta label id
|
|
31678
|
+
*/
|
|
31679
|
+
id?: string;
|
|
31680
|
+
name?: string;
|
|
31681
|
+
}>;
|
|
31682
|
+
});
|
|
31683
|
+
|
|
31684
|
+
export type ListConversationLabelsError = (ErrorResponse | unknown);
|
|
31685
|
+
|
|
31686
|
+
export type AddConversationLabelData = {
|
|
31687
|
+
body: {
|
|
31688
|
+
/**
|
|
31689
|
+
* Facebook social account ID
|
|
31690
|
+
*/
|
|
31691
|
+
accountId: string;
|
|
31692
|
+
/**
|
|
31693
|
+
* Meta label id from listInboxLabels
|
|
31694
|
+
*/
|
|
31695
|
+
labelId: string;
|
|
31696
|
+
};
|
|
31697
|
+
path: {
|
|
31698
|
+
/**
|
|
31699
|
+
* Conversation ID (Zernio id or Meta platform conversation id)
|
|
31700
|
+
*/
|
|
31701
|
+
conversationId: string;
|
|
31702
|
+
};
|
|
31703
|
+
};
|
|
31704
|
+
|
|
31705
|
+
export type AddConversationLabelResponse = ({
|
|
31706
|
+
success?: boolean;
|
|
31707
|
+
});
|
|
31708
|
+
|
|
31709
|
+
export type AddConversationLabelError = (ErrorResponse | unknown);
|
|
31710
|
+
|
|
31711
|
+
export type RemoveConversationLabelData = {
|
|
31712
|
+
path: {
|
|
31713
|
+
/**
|
|
31714
|
+
* Conversation ID (Zernio id or Meta platform conversation id)
|
|
31715
|
+
*/
|
|
31716
|
+
conversationId: string;
|
|
31717
|
+
/**
|
|
31718
|
+
* Meta label id
|
|
31719
|
+
*/
|
|
31720
|
+
labelId: string;
|
|
31721
|
+
};
|
|
31722
|
+
query: {
|
|
31723
|
+
/**
|
|
31724
|
+
* Facebook social account ID
|
|
31725
|
+
*/
|
|
31726
|
+
accountId: string;
|
|
31727
|
+
};
|
|
31728
|
+
};
|
|
31729
|
+
|
|
31730
|
+
export type RemoveConversationLabelResponse = ({
|
|
31731
|
+
success?: boolean;
|
|
31732
|
+
});
|
|
31733
|
+
|
|
31734
|
+
export type RemoveConversationLabelError = (ErrorResponse | unknown);
|
|
31735
|
+
|
|
31659
31736
|
export type MarkConversationReadData = {
|
|
31660
31737
|
body: {
|
|
31661
31738
|
/**
|