@parra/parra-js-sdk 0.3.462 → 0.3.463
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/ParraAPI.d.ts +11 -23
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1215,7 +1215,7 @@ export interface CreateMessageAttachment {
|
|
1215
1215
|
image_asset_id?: string;
|
1216
1216
|
}
|
1217
1217
|
export interface CreateMessageRequestBody {
|
1218
|
-
content
|
1218
|
+
content?: string | null;
|
1219
1219
|
attachments?: Array<CreateMessageAttachment>;
|
1220
1220
|
}
|
1221
1221
|
export interface FlagMessageRequestBody {
|
@@ -4807,7 +4807,7 @@ declare class ParraAPI {
|
|
4807
4807
|
sort?: string;
|
4808
4808
|
created_at?: string;
|
4809
4809
|
}, options?: Options) => Promise<MessageCollectionResponse>;
|
4810
|
-
createMessageForChatChannel: (tenant_id: string, channel_id: string, body
|
4810
|
+
createMessageForChatChannel: (tenant_id: string, channel_id: string, body?: CreateMessageRequestBody, options?: Options) => Promise<Message>;
|
4811
4811
|
deleteChatMessage: (tenant_id: string, message_id: string, options?: Options) => Promise<Response>;
|
4812
4812
|
flagChatMessage: (tenant_id: string, message_id: string, body?: FlagMessageRequestBody, options?: Options) => Promise<Response>;
|
4813
4813
|
addReactionToChatMessage: (tenant_id: string, message_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
@@ -4836,38 +4836,26 @@ declare class ParraAPI {
|
|
4836
4836
|
updateContentCardById: (tenant_id: string, content_card_id: string, body?: UpdateContentCardRequestBody, options?: Options) => Promise<ContentCard>;
|
4837
4837
|
deleteContentCardById: (tenant_id: string, content_card_id: string, options?: Options) => Promise<Response>;
|
4838
4838
|
paginateCreatorUpdateSendersForTenant: (tenant_id: string, query?: {
|
4839
|
-
|
4840
|
-
|
4841
|
-
$skip?: number;
|
4842
|
-
$orderby?: string;
|
4843
|
-
$filter?: string;
|
4844
|
-
$expand?: string;
|
4845
|
-
$search?: string;
|
4839
|
+
limit?: number;
|
4840
|
+
offset?: number;
|
4846
4841
|
}, options?: Options) => Promise<CreatorUpdateSenderCollectionResponse>;
|
4847
4842
|
createCreatorUpdateSenderForTenant: (tenant_id: string, body: CreateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4848
4843
|
updateCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, body?: UpdateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4849
4844
|
deleteCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, options?: Options) => Promise<Response>;
|
4850
4845
|
createCreatorUpdateTemplateForTenant: (tenant_id: string, body: CreateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
|
4851
4846
|
paginateCreatorUpdateTemplatesForTenant: (tenant_id: string, query?: {
|
4852
|
-
|
4853
|
-
|
4854
|
-
$skip?: number;
|
4855
|
-
$orderby?: string;
|
4856
|
-
$filter?: string;
|
4857
|
-
$expand?: string;
|
4858
|
-
$search?: string;
|
4847
|
+
limit?: number;
|
4848
|
+
offset?: number;
|
4859
4849
|
}, options?: Options) => Promise<CreatorUpdateTemplateCollectionResponse>;
|
4860
4850
|
updateCreatorUpdateTemplateById: (tenant_id: string, creator_update_template_id: string, body?: UpdateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
|
4861
4851
|
deleteCreatorUpdateTemplateById: (tenant_id: string, creator_update_template_id: string, options?: Options) => Promise<Response>;
|
4862
4852
|
createCreatorUpdateForTenant: (tenant_id: string, body?: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
4863
4853
|
paginateCreatorUpdatesForTenant: (tenant_id: string, query?: {
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4868
|
-
|
4869
|
-
$expand?: string;
|
4870
|
-
$search?: string;
|
4854
|
+
limit?: number;
|
4855
|
+
offset?: number;
|
4856
|
+
topic?: string;
|
4857
|
+
search?: string;
|
4858
|
+
status?: string;
|
4871
4859
|
}, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
4872
4860
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
4873
4861
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|