@getlatedev/node 0.2.1319 → 0.2.1320
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 +62 -1
- package/dist/index.d.ts +62 -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 +67 -0
|
@@ -31589,6 +31589,73 @@ export type AcceptConversationRequestResponse = ({
|
|
|
31589
31589
|
|
|
31590
31590
|
export type AcceptConversationRequestError = (ErrorResponse | unknown);
|
|
31591
31591
|
|
|
31592
|
+
export type ListInboxLabelsData = {
|
|
31593
|
+
query: {
|
|
31594
|
+
/**
|
|
31595
|
+
* Facebook social account ID
|
|
31596
|
+
*/
|
|
31597
|
+
accountId: string;
|
|
31598
|
+
};
|
|
31599
|
+
};
|
|
31600
|
+
|
|
31601
|
+
export type ListInboxLabelsResponse = ({
|
|
31602
|
+
labels?: Array<{
|
|
31603
|
+
/**
|
|
31604
|
+
* Meta label id
|
|
31605
|
+
*/
|
|
31606
|
+
id?: string;
|
|
31607
|
+
name?: string;
|
|
31608
|
+
}>;
|
|
31609
|
+
});
|
|
31610
|
+
|
|
31611
|
+
export type ListInboxLabelsError = (ErrorResponse | unknown);
|
|
31612
|
+
|
|
31613
|
+
export type CreateInboxLabelData = {
|
|
31614
|
+
body: {
|
|
31615
|
+
/**
|
|
31616
|
+
* Facebook social account ID
|
|
31617
|
+
*/
|
|
31618
|
+
accountId: string;
|
|
31619
|
+
/**
|
|
31620
|
+
* Label name
|
|
31621
|
+
*/
|
|
31622
|
+
name: string;
|
|
31623
|
+
};
|
|
31624
|
+
};
|
|
31625
|
+
|
|
31626
|
+
export type CreateInboxLabelResponse = ({
|
|
31627
|
+
label?: {
|
|
31628
|
+
/**
|
|
31629
|
+
* Meta label id
|
|
31630
|
+
*/
|
|
31631
|
+
id?: string;
|
|
31632
|
+
name?: string;
|
|
31633
|
+
};
|
|
31634
|
+
});
|
|
31635
|
+
|
|
31636
|
+
export type CreateInboxLabelError = (ErrorResponse | unknown);
|
|
31637
|
+
|
|
31638
|
+
export type DeleteInboxLabelData = {
|
|
31639
|
+
path: {
|
|
31640
|
+
/**
|
|
31641
|
+
* Meta label id
|
|
31642
|
+
*/
|
|
31643
|
+
labelId: string;
|
|
31644
|
+
};
|
|
31645
|
+
query: {
|
|
31646
|
+
/**
|
|
31647
|
+
* Facebook social account ID
|
|
31648
|
+
*/
|
|
31649
|
+
accountId: string;
|
|
31650
|
+
};
|
|
31651
|
+
};
|
|
31652
|
+
|
|
31653
|
+
export type DeleteInboxLabelResponse = ({
|
|
31654
|
+
success?: boolean;
|
|
31655
|
+
});
|
|
31656
|
+
|
|
31657
|
+
export type DeleteInboxLabelError = (ErrorResponse | unknown);
|
|
31658
|
+
|
|
31592
31659
|
export type MarkConversationReadData = {
|
|
31593
31660
|
body: {
|
|
31594
31661
|
/**
|