Example configs

Example runtime config:

{
    "limetypesConfig": {
        "smsSendoutLimetype": {
            "propertyName": "name",
            "propertyMessage": "message",
            "propertySendDate": "send_date",
            "propertyStatus": "smssendoutstatus",
            "propertyBwSmsmessageId": "bw_sms_message_id",
            "propertySmsrecipient": "smsrecipient",
            "limetype": "smssendout"
        },
        "smsTemplateLimetype": {
            "propertyName": "name",
            "propertyInactive": "inactive",
            "propertyForTable": "fortable",
            "propertyDefault": "default",
            "propertyMessage": "message",
            "limetype": "smstemplate"
        },
        "smsRecipientLimetype": {
            "propertySmssendout": "smssendout",
            "propertyStatus": "smsrecipientstatus",
            "propertyBwSmsrecipientId": "bw_smsrecipient_id",
            "propertyPhonenumber": "phoneno",
            "limetype": "smsrecipient"
        }
    },
    "addonConfig": {
        "senders": [
            {
                "displayname": "Internal communication",
                "sendername": "Lime"
            },
            {
                "displayname": "External communication",
                "sendername": "Lime Tech"
            }
        ],
        "mergeVariables": [
            {
                "limetype": "person",
                "propertyPath": "firstname",
                "bwRecipientProperty": "firstname",
                "description": "person firstname"
            },
            {
                "limetype": "person",
                "propertyPath": "lastname",
                "bwRecipientProperty": "lastname",
                "description": "person lastname"
            }
        ],
        "receiverConfigs": [
            {
                "extraRelations": [
                    {
                        "smsRecipientRelation": "coworker",
                        "receiverRelationPath": "company.coworker"
                    }
                ],
                "limetypeName": "person",
                "namePropertyPath": "name",
                "phonenumberPropertyPath": "mobilephone"
            }
        ]
    },
    "lime_marketing": {
        "settings": {
            "publication_id": null,
            "transactionhandler_id": null,
            "mobilenumber_property_name": null
        },
        "app_cfg":{

        }
    }
}

Example smssendout webclient view:

{
  "id": "webclient_view.smssendout",
  "version": null,
  "config": {
    "card": {
      "sections": [
        {
          "collapsed": true,
          "layout": {
            "columns": 5,
            "dense": true
          },
          "controls": [
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "name",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "message",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "send_date",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "smssendoutstatus",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "bw_sms_message_id",
              "readonly": true
            }
          ],
          "title": "untitled"
        }
      ],
      "relations": [
        {
          "property": "smsrecipient"
        }
      ]
    },
    "list": null,
    "search": null,
    "table": {
      "columns": [
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "name"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "message"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "send_date"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "smssendoutstatus"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "bw_sms_message_id"
        },
        {
          "isDefault": false,
          "component": {
            "props": {}
          },
          "property": "id"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "createdtime"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "timestamp"
        }
      ],
      "actions": [
        {
          "params": {},
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-xlsx"
        },
        {
          "params": {
            "exportFormat": "csv"
          },
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-csv"
        }
      ]
    },
    "general": {
      "icon": "multiple_smartphones",
      "color": "rgb(var(--color-magenta-lighter))",
      "create": false,
      "views": [
        {
          "view": {
            "props": {},
            "name": "limec-table-view"
          },
          "title": "Table",
          "icon": "insert_table"
        }
      ],
      "enableGlobalSearch": false,
      "globalTablesMenu": true,
      "primaryTitle":[
        {
          "property": "name"
        }
      ]
    }
  }
}

Example smsrecipient webclient view:

{
  "id": "webclient_view.smsrecipient",
  "version": null,
  "config": {
    "card": {
      "sections": [
        {
          "collapsed": true,
          "layout": {
            "columns": 5,
            "dense": true
          },
          "controls": [
            {
              "layout": {},
              "query": {
                "filter": {}
              },
              "component": {
                "props": {}
              },
              "property": "smssendout",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "smsrecipientstatus",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "bw_smsrecipient_id",
              "readonly": true
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "phoneno",
              "readonly": true
            }
          ],
          "title": "untitled"
        }
      ],
      "relations": []
    },
    "list": null,
    "search": null,
    "table": {
      "columns": [
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "smsrecipientstatus"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "bw_smsrecipient_id"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "phoneno"
        },
        {
          "isDefault": false,
          "component": {
            "props": {}
          },
          "property": "id"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "createdtime"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "timestamp"
        }
      ],
      "actions": [
        {
          "params": {},
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-xlsx"
        },
        {
          "params": {
            "exportFormat": "csv"
          },
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-csv"
        }
      ]
    },
    "general": {
      "icon": "cell_phone",
      "color": "rgb(var(--color-magenta-lighter))",
      "create": false,
      "views": [
        {
          "view": {
            "props": {},
            "name": "limec-table-view"
          },
          "title": "Table",
          "icon": "insert_table"
        }
      ],
      "enableGlobalSearch": false,
      "globalTablesMenu": true,
      "primaryTitle": [
        {
          "property": "smssendout"
        }
      ]
    }
  }
}

Example smstemplate webclient view:

{
  "id": "webclient_view.smstemplate",
  "version": null,
  "config": {
    "card": {
      "sections": [
        {
          "collapsed": true,
          "layout": {
            "columns": 5,
            "dense": true
          },
          "controls": [
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "name",
              "readonly": false
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "inactive",
              "readonly": false
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "fortable",
              "readonly": false
            },
            {
              "layout": {},
              "component": {
                "props": {}
              },
              "property": "default",
              "readonly": false
            },
            {
              "layout": {},
              "component": {
                "name": "lwc-addon-manual-sms-template-editor",
                "props": {}
              },
              "property": "message",
              "readonly": false
            },
            {
              "property": "templatesender",
              "layout": {},
              "readonly": false,
              "component": {
                "name": "lwc-addon-manual-sms-template-sender-picker",
                "props": {}
              }
            }
          ],
          "title": "untitled"
        }
      ],
      "relations": []
    },
    "list": null,
    "search": null,
    "table": {
      "columns": [
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "name"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "inactive"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "fortable"
        },
        {
          "isDefault": false,
          "component": {
            "props": {}
          },
          "property": "default"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "message"
        },
        {
          "isDefault": false,
          "component": {
            "props": {}
          },
          "property": "id"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "createdtime"
        },
        {
          "isDefault": true,
          "component": {
            "props": {}
          },
          "property": "timestamp"
        }
      ],
      "actions": [
        {
          "params": {},
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-xlsx"
        },
        {
          "params": {
            "exportFormat": "csv"
          },
          "id": "limepkg_bulk_export.export-data",
          "label": "limepkg_bulk_export.export-data-csv"
        }
      ]
    },
    "general": {
      "icon": "template",
      "color": "rgb(var(--color-magenta-lighter))",
      "create": true,
      "views": [
        {
          "view": {
            "props": {},
            "name": "limec-table-view"
          },
          "title": "Table",
          "icon": "insert_table"
        }
      ],
      "enableGlobalSearch": false,
      "globalTablesMenu": true,
      "primaryTitle": [
        {
          "property": "name"
        }
      ]
    }
  }
}