@kl1/contracts 1.4.24 → 1.4.25

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/index.mjs CHANGED
@@ -8497,10 +8497,11 @@ var ContactContractValidationSchema2 = {
8497
8497
  response: CustomFieldSchema
8498
8498
  }
8499
8499
  };
8500
- var SendLineMessageSchema = z109.object({
8500
+ var SendMessageSchema2 = z109.object({
8501
8501
  channelId: z109.string(),
8502
8502
  message: z109.string(),
8503
- contactId: z109.string()
8503
+ contactId: z109.string().optional(),
8504
+ platformUserId: z109.string().optional()
8504
8505
  });
8505
8506
 
8506
8507
  // src/public-api/index.ts
@@ -8510,7 +8511,7 @@ var publicApiContract = initContract38().router(
8510
8511
  sendMessage: {
8511
8512
  method: "POST",
8512
8513
  path: "/message/send",
8513
- body: SendLineMessageSchema,
8514
+ body: SendMessageSchema2,
8514
8515
  responses: {
8515
8516
  201: z110.object({
8516
8517
  status: z110.string(),