import { AbstractSchema } from "../abstract.schema";

class SocialNetworkWhatsappsSchema extends AbstractSchema {
  parentSchema = {};
  responseSchema = {};
  connectSchema = {};
  constructor(schemas) {
    super(schemas);
  }
}
export const parentSchema = {
  store_id: "000111222333444555666777",
  user_id: "000111222333444555666777",
  provider_id: "000111222333444555666777",
  campaign_id: "000111222333444555666777",
  username: "",
  list: [{ number: "", message: "" }],
  response: [{}],
};
export const responseSchema = {
  store_id: "000111222333444555666777",
  user_id: "000111222333444555666777",
  provider_id: "000111222333444555666777",
  campaign_id: "000111222333444555666777",
  username: "",
  list: [{ number: "", message: "" }],
  response: [{}],
};
export const sendMessageSchema = {
  store_id: "000111222333444555666777",
  user_id: "000111222333444555666777",
  provider_id: "000111222333444555666777",
  username: "",
  list: [
    {
      number: "",
      message: "",
      options: {
        media: "",
        location: { lat: "", lon: "" },
        buttons: [
          {
            buttonId: "",
            buttonText: { displayText: "" },
            type: 1,
          },
        ],
      },
    },
  ],
};
export const connectSchema = {
  store_id: "000111222333444555666777",
  user_id: "000111222333444555666777",
  provider_id: "000111222333444555666777",
  username: "",
};
export const disconnectSchema = {
  store_id: "000111222333444555666777",
  user_id: "000111222333444555666777",
  provider_id: "000111222333444555666777",
  username: "",
};

export const schema = new SocialNetworkWhatsappsSchema({
  parentSchema,
  responseSchema,
  sendMessageSchema,
  connectSchema,
  disconnectSchema,
});
