diff --git a/api/api.gen.go b/api/api.gen.go index ad97c309a..1dbce6988 100644 --- a/api/api.gen.go +++ b/api/api.gen.go @@ -10729,88 +10729,88 @@ var swaggerSpec = []string{ "7z99/nnnx/bb47e/Pnvy/sXup/2nda2C16qbNLXd+uXwJXv0UckLkRmeJCP2Ucn/ywX7RVzKSPcynvZl", "hD+c6MziAn+IcNWVInvcQqP8W9wgXXUEiiP86UHwP4Qu/v3nH3748fcX7afP/nXS/vHHDwd/nLpxmEx3", "snO88+b5q0/vn+0ev9l9sv/83bN/1Q3FeB3fiNH4Jv0nUEzdiPdEfU636TuBtSDPCdpC0xaazC1pB0me", - "EzOeEyJszG5i87j9Ff96K8tlTQ/wnSUND1CgLaW19zWZq7O/TbMAV3OSvCR5SfKS8pqU14QeG24IILwo", - "vx54ZHkiVlVa4zuLddbHmPV1QnFgQfc9DseSjbiTIBwrqre3b1m3fbNauzO1z87FCNYjznL3qkPXgrBy", - "4+BKutdGzmnWwQA0+/To5dGe86rBXMbrlNFJ7tZszUyepjqzrKNtn2GtuYrZWyha4Xpn+EAwk4oIhVyk", - "Y9ETCj6ou40Pd1Wlr5vuPJp04qrXAO8ff37y/uWrt6cnn74/Pn79+tdnz988fb3/qUIDvPvH09+/f//+", - "za8nT3YPXv+489vzp6+eXEkDfF9VqrCK3ohGtTaj21SoQiVIn0q7OtrVkT6VNjWkT53Rp2Z+07CuMDSQ", - "/zIxaI7dwf66jYShmG8m+gy2mULPkOwm2U2ym2Q3ye4rhJ7xBnE3oJTc/gp/rhpxBk0B54ebcdaCNxFr", - "xsPC4kNV1yKKMkMIQAhAh7J0KEsMRAz08KLMrMRAy4eYKSHNIjOvhwQk7W9D10G6CwIXAhcCFwIXApcH", - "aE22IrMsHVOm+rxlNqDMPSeWb/KUiMiJyInIiciJyInIichprUFk1nDstW2FM22pNnE5hYGq0RAZoWKY", - "lTCAxnoHwaG0fZZxFesBi7nls1QGWT5ULdLOHToikpkMARMBEwETARMB06ZdCn41EhqKTl/r821zI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/WZO5tvjkXUgCkgQkCUgSkCQgb3RjXBseezmh90bY", - "O5N4N2fpVOwgacdIApEEIjkvkfMSEQFtmeu2zNuwstlEDKBui2+wL6eesnRir3XGor6IzmG6lRIyHoHk", - "asL2Ewdx+4InuSj5yitjBY/nHju/KldzzXjSXM6TSqooyWPhdAVxtUuVf92X0NE6EVzdlu9Uqc9IoU54", - "RHhE+gKig82mg7IYXf529KNUKIwiguuE7WdCMJAmhunuBBLsuQA5Im4yL+uaeLu2AVKPWgxGE15k3mB7", - "xGJIP5BKuKUbf5zM1L2Fn2wygrnaFdzmmbuj263f0H/cSpgQxWl7GUAwV5OKSHZhXZNqYrb45Z6Huk+8", - "qoSIDeNFodwYHcnxwb5/6zFaFGyxF67Vk5wUi65UwnfCOCdPRVA6O2scwMdrBDs5OZpaYc8aLcj6xL0+", - "kXMiLBvpnKXcGMYTrXrO660re7njKJjViWC9jCsQPtOlfjTu65emqBc263f2BzPCwivmrMEeQQHjnnMl", - "PMZqvZvtNMP6/EKwAVcjbFLEjTBNt+b4TFmeshxk5laHQ8auWjCccpC6XCAVDGwiLlHGSJC/Brinxdgr", - "F/9xD+dGlBurB44LsMCddrvdZvuHwSQ/zrOwyGGhAABSxzDRpqYKDuM+68kLoQq1GWSrVTJyzYItI49Q", - "sj9SWm3523cfT0ybVGShQ9+KUYsddnGcbDbCGFDBQVGJ4cRrjqjHL7qVmyeZ4PEIJzxXofDSe82J+Ywr", - "WJfLJMzQ79vP3aJQulR4Yori0uovuodqer4a6Fh2R0zapmu+aylKw2oXyjJw3oYK8eZdNEstcE06VGlu", - "zXL2MDu3U40lqR0XXjfFCo0IJEDEC6MNMwp+zhNLlE+UT5QPLXh+4y040KqbyMiuOF6RzpPYj5iXhfDR", - "Fngb+WzH1BM0pMAaIsi3qnGivQztZe59YNEQ6GECZhrL7nZWVo9ufy39C1K8LkDtn20k7CU0qC4dk8bk", - "wpnuTFbfbXfKcAb42RF+FxEzIW1fZKwDYGaYxFlQQs1KJWqpI964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XyJde39bq+EfoT+hP6E/pPoD866tXatExCr+njZ+vC", - "zHjLFnf+gk6BjuyF6uos8icV+5MOhd6lwPR55uZCn5t9f4IT3AWcAbrMmHMhDD3kIt4M8sTKNBEerMdB", - "4RnkmAmbZwpEH1qca1XpJoA0/9rd73shlESFfia40co0g+fiUGfn/jQJz0UmehDbOc8g540o2+N8wi6+", - "3+Y4VbYxsAeZMIzxJyaNvcZue/fJVntnq71z2t7Zw/9a7fbO50azAVDGbWOvEXMrtnwetxk+YmZkyDyG", - "YJpgmmCa4kgQZhJm3hRmLg7VWKFNzsSFPgeaK5wFYShLHpmeulps34zNfOq9+Ood9prOluCsMZA9IDfV", - "O2uEn52NULAO8j5xqBpOprwguWFDkSStM7VfVDp4w+YFFnujnr40Vmcy4ok3XjBNl3lFR6Q6zRMelONe", - "c71vGfCSsXyQtthvUH9vBeFNseBX1kHbDfzOmzMALA0zFmZ1pJWRsVsp0FCoWfYLxLZnwmbaWzeVVNjB", - "v9R9ItIwOcDrkZy+vsn4QKueB3RkDdNkPIfVR/Xq4nB+Wwpriu1JCEoISghKCEoISgh6lybqtfFOy0zT", - "GTEZryM42aQa7/6DSfvOz65JfUbsQuxC7ELsQuxC6rO56rNtpy4a1Z7NHuNppymrlYIXDVexdyqLueX1", - "TmRBe+SLQkWVSTEAVZRpY8bnrehQxHDWO0ewF3mmYj1UP/tXM18btN2wUuncFNnqLjOih61EtZs//A3P", - "8OzWCEQvkBUjX473iPNORT4ogi183zq+BmMvNN/McgAwrOtvEhKKeLquQ/+8qq98/DChMglT3B8FBy8l", - "5U4xYUGAvoYXEmns2IXM1X0ITXVObFBbi6ab7oQbfsXiF2Gnr/R9o8/m9HQ9sTzDDkIlpXPgtBqn4Kg8", - "M/dYcTAMPXX8+oA9efLkOXM93mIv3SpRKIcTbmzwd3sj4HmWK+dq6lPAiOQJd1PEGQ6VYg1ij8IgVB1x", - "w9q+piPumQ56peIb7h6lh+5GQ5DMSg+h6Yr1brqTrL6tLnIfspH/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lwqmHp3Vn6tB6jZfxtZZdGEh3MMWTTPB4VBzkKZ+RzpirBIu1cF9wJroi", + "Eypy06BOwTYLZ+/F8CXkSXq0jdSjkYkUQShBKEEoQShBKEHoLULo+4IKr0mhaZ+bZa5fdumAIautt4Pj", + "5AeX373U1M1zeoNmbaAT4LfjSIfz6uqudPWv34ozHRRPHnXEr8SvZOJP+EYedehRN4FU13WtQ8c6yLGe", + "0cYedveZ0tZ4nordcncuglg8KcEIIggiCCIIIggilvITnBH819YGuX+jNHorRnMdCYOp/wR4lD0I3Q/X", + "cSG85xqlmmqG3p1b2TUoeci3kZiDmIMO3ujgjaCLoOvqvo3INV1vSXUdL8cFOhvvo0gQtGYIat+xJoc0", + "M0RJRElESURJREkPxC1wVUSa6yA4n5LGPoIESjcPSms8bLs7D0ZCNEI0QjRCNEI0QrQNdmO8sZND5ytY", + "79D4wSWYGwLcp6HAoXS4RkxCTEJMQkxCTLJBTBIY4ZoskquFNPIxJJnLI0UqIhIiEiISIhIiEiISIpJN", + "0pIUnLAyk+jM8mTb+x9/xb8nSd77Z9s5jNd53P8KvzJMjh9jpJXJByJjLsMWOwVhLFScaqmcgIIaRsmI", + "ictUmzDQ4T3TYjef5QwpYREfMLt3UM5SsFT0ya0fay12GMdWYKta8PU3VnvF6hVfGEoV6+GyzvAzL57K", + "gfis1aovdzG+wZtM5+mL0Yrv9sJb67SlGpd3jP5r+HVacWm3I3Mxmc30ENO5HhErESsRKxErEesGEKuI", + "8kzaEaKW47BTfS7Ufg6g9OcXkO0Hic7jqt++lLAWf64kWQvvLIgU5dLURIcal1xhnyUu00THorHX5YkR", + "1aGVEjmQdiK4UjE6u08xJJIc5IPG3k67jZzo/1XgH8yFnshuwP67COo018po3OCK4ErEJ8QnxCfktE/i", + "eQPE84x4XXhP/pSOxknW2pA+JUmzJoPdsiy7ZWPd6aJJbJLYJLFJYpPE5saJzbpd6bZf27iLUVMtWw+L", + "NKZavBrWGbHDl9jZeeffIrKzAnecydR+9qpSN82gAC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b0WHIoaz3jmCvcgzFeuh+tm/mvnaoO2GlUrnpshWd5kRPWwlqt384W94", + "hme3RiB6gawY+XK8R5x3KvJBEWzh+9bxNRh7oflmlgOAYV1/k5BQxNN1HfrnVX3l44cJlUmY4v4oOHgp", + "KXeKCQsC9DW8kEhjxy5kru5DaKpzYoPaWjTddCfc8CsWvwg7faXvG302p6frieUZdhAqKZ0Dp9U4BUfl", + "mbnHioNh6Knj1wfsyZMnz5nr8RZ76VaJQjmccGODv9sbAc+zXDlXU58CRiRPuJsiznCoFGsQexQGoeqI", + "G9b2NR1xz3TQKxXfcPcoPXQ3GoJkVnoITVesd9OdZPVtdZH7kI38j6ipivukTlyC+sk6T1r8Ns6iogYY", + "3lIOxH+AZ9AKBo8RIp5EecJtkP+uHqY1t5qnciA+ayWqA5c0Pp4e3LJlRFgnvRdoWHlog0cbPNrg0QaP", + "Nni0waMN3s1t8BBa0eWuMhCLC9cw4Nm5E1UmALTz/ZkIc1yxw3MxP5S0Es0I3J4pRJ9osX07nanPyuUr", + "DfqaxUznLie/rUEzW53AfMBwFWVLW5nNRrdosUPLhmg2bEepD7HSESAeo/LN2aELWcd/ZL426DKHBsW+", + "YlMFmrxT9Bnu9T6G6vtYH75It3+FbqqK0zKda7lvw3F82RCaJ4ke4sLvgogUBUgXf0ONEBK9jUasoUFG", + "l/eVXEV9F1PHVscCDNte2cUA5VWBLnCClCYpNv1enlLcvI9fZd+sEOWCbDgIkwmTCZMJkwmTCZOvg8n/", + "NBtGRHkm7QhwBADiINF5fKrPhdrPbb+x9+eX4umB1udSFI+/wMswUg5lJquILzSajTxLGnuNvrWp2dve", + "1qlQTl0Z4e+zOrxfdMSTmfd2dn9otVvt1s7ejz/++GMDivYt/Boo54POLE8wR/9kP01N+d/vtZXdsIxP", + "9UUp2bwuKyU78LeeTBTxwn9e9a99SPjcwvFwpfzknYPF0pOXopP3yg+KOwf/+fLP/wsAAP//oIj/VUwO", "BgA=", } diff --git a/api/openapi.yaml b/api/openapi.yaml index a12142bb5..c24a682b0 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4060,7 +4060,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Event' + $ref: '#/components/schemas/NotificationEvent' '400': description: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). content: @@ -4481,7 +4481,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Event' + $ref: '#/components/schemas/NotificationEvent' '400': description: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). content: diff --git a/api/spec/src/cloud/subjects.tsp b/api/spec/src/cloud/subjects.tsp index c5623a516..a2ad56356 100644 --- a/api/spec/src/cloud/subjects.tsp +++ b/api/spec/src/cloud/subjects.tsp @@ -59,30 +59,4 @@ interface Subjects { currentPeriodEnd: DateTime.fromISO("2023-02-01T00:00:00Z"), stripeCustomerId: "cus_JMOlctsKV8", }) -model SubjectUpsert { - /** - * A unique, human-readable identifier for the subject. - */ - @example("customer-id") - key: string; - - /** - * A human-readable display name for the subject. - */ - @example("Customer Name") - displayName?: string; - - // TODO: figure out if we want to support arbitrary values or string only - - @example(#{ hubspotId: "123456" }) - metadata?: Record | null; - - @example(DateTime.fromISO("2023-01-01T00:00:00Z")) - currentPeriodStart?: DateTime; - - @example(DateTime.fromISO("2023-02-01T00:00:00Z")) - currentPeriodEnd?: DateTime; - - @example("cus_JMOlctsKV8") - stripeCustomerId?: string | null; -} +model SubjectUpsert is Rest.Resource.ResourceCreateModel; diff --git a/api/spec/src/notification/event.tsp b/api/spec/src/notification/event.tsp index c165d142c..0594b3d72 100644 --- a/api/spec/src/notification/event.tsp +++ b/api/spec/src/notification/event.tsp @@ -283,5 +283,5 @@ interface Events { @summary("Get notification event") get( @path eventId: string, - ): Event | OpenMeter.NotFoundError | OpenMeter.CommonErrors; + ): NotificationEvent | OpenMeter.NotFoundError | OpenMeter.CommonErrors; } diff --git a/api/spec/src/notification/rule.tsp b/api/spec/src/notification/rule.tsp index 89c45cf92..9f508dd5e 100644 --- a/api/spec/src/notification/rule.tsp +++ b/api/spec/src/notification/rule.tsp @@ -308,6 +308,6 @@ interface Rules { @operationId("testNotificationRule") test(@path ruleId: ULID): { @statusCode _: 201; - @body body: Event; + @body body: NotificationEvent; } | OpenMeter.NotFoundError | OpenMeter.CommonErrors; }