1
- // Package docs Code generated by swaggo/swag at 2024-02-07 21:23:57.74884 +0000 GMT m=+2.717224376 . DO NOT EDIT
1
+ // Package docs Code generated by swaggo/swag at 2024-02-13 10:04:04.243863 +0000 GMT m=+5.458650126 . DO NOT EDIT
2
2
package docs
3
3
4
4
import "github.com/swaggo/swag"
@@ -2072,12 +2072,12 @@ const docTemplate = `{
2072
2072
"required": true
2073
2073
},
2074
2074
{
2075
- "description": "Event Details",
2075
+ "description": "Broadcast Event Details",
2076
2076
"name": "event",
2077
2077
"in": "body",
2078
2078
"required": true,
2079
2079
"schema": {
2080
- "$ref": "#/definitions/models.CreateEvent "
2080
+ "$ref": "#/definitions/models.BroadcastEvent "
2081
2081
}
2082
2082
}
2083
2083
],
@@ -5277,6 +5277,46 @@ const docTemplate = `{
5277
5277
}
5278
5278
}
5279
5279
},
5280
+ "datastore.AmqpCredentials": {
5281
+ "type": "object",
5282
+ "properties": {
5283
+ "password": {
5284
+ "type": "string"
5285
+ },
5286
+ "user": {
5287
+ "type": "string"
5288
+ }
5289
+ }
5290
+ },
5291
+ "datastore.AmqpPubSubConfig": {
5292
+ "type": "object",
5293
+ "properties": {
5294
+ "auth": {
5295
+ "$ref": "#/definitions/datastore.AmqpCredentials"
5296
+ },
5297
+ "bindedExchange": {
5298
+ "type": "string"
5299
+ },
5300
+ "deadLetterExchange": {
5301
+ "type": "string"
5302
+ },
5303
+ "host": {
5304
+ "type": "string"
5305
+ },
5306
+ "port": {
5307
+ "type": "string"
5308
+ },
5309
+ "queue": {
5310
+ "type": "string"
5311
+ },
5312
+ "routingKey": {
5313
+ "type": "string"
5314
+ },
5315
+ "schema": {
5316
+ "type": "string"
5317
+ }
5318
+ }
5319
+ },
5280
5320
"datastore.ApiKey": {
5281
5321
"type": "object",
5282
5322
"properties": {
@@ -5812,6 +5852,9 @@ const docTemplate = `{
5812
5852
"datastore.PubSubConfig": {
5813
5853
"type": "object",
5814
5854
"properties": {
5855
+ "amqp": {
5856
+ "$ref": "#/definitions/datastore.AmqpPubSubConfig"
5857
+ },
5815
5858
"google": {
5816
5859
"$ref": "#/definitions/datastore.GooglePubSubConfig"
5817
5860
},
@@ -5834,12 +5877,14 @@ const docTemplate = `{
5834
5877
"enum": [
5835
5878
"sqs",
5836
5879
"google",
5837
- "kafka"
5880
+ "kafka",
5881
+ "amqp"
5838
5882
],
5839
5883
"x-enum-varnames": [
5840
5884
"SqsPubSub",
5841
5885
"GooglePubSub",
5842
- "KafkaPubSub"
5886
+ "KafkaPubSub",
5887
+ "AmqpPubSub"
5843
5888
]
5844
5889
},
5845
5890
"datastore.RateLimitConfiguration": {
@@ -6084,6 +6129,54 @@ const docTemplate = `{
6084
6129
}
6085
6130
}
6086
6131
},
6132
+ "models.AmqpAuth": {
6133
+ "type": "object",
6134
+ "properties": {
6135
+ "password": {
6136
+ "type": "string"
6137
+ },
6138
+ "user": {
6139
+ "type": "string"
6140
+ }
6141
+ }
6142
+ },
6143
+ "models.AmqpExchange": {
6144
+ "type": "object",
6145
+ "properties": {
6146
+ "exchange": {
6147
+ "type": "string"
6148
+ },
6149
+ "routingKey": {
6150
+ "type": "string"
6151
+ }
6152
+ }
6153
+ },
6154
+ "models.AmqpPubSubconfig": {
6155
+ "type": "object",
6156
+ "properties": {
6157
+ "auth": {
6158
+ "$ref": "#/definitions/models.AmqpAuth"
6159
+ },
6160
+ "bindExchange": {
6161
+ "$ref": "#/definitions/models.AmqpExchange"
6162
+ },
6163
+ "deadLetterExchange": {
6164
+ "type": "string"
6165
+ },
6166
+ "host": {
6167
+ "type": "string"
6168
+ },
6169
+ "port": {
6170
+ "type": "string"
6171
+ },
6172
+ "queue": {
6173
+ "type": "string"
6174
+ },
6175
+ "schema": {
6176
+ "type": "string"
6177
+ }
6178
+ }
6179
+ },
6087
6180
"models.ApiKey": {
6088
6181
"type": "object",
6089
6182
"properties": {
@@ -6106,6 +6199,30 @@ const docTemplate = `{
6106
6199
}
6107
6200
}
6108
6201
},
6202
+ "models.BroadcastEvent": {
6203
+ "type": "object",
6204
+ "properties": {
6205
+ "custom_headers": {
6206
+ "type": "object",
6207
+ "additionalProperties": {
6208
+ "type": "string"
6209
+ }
6210
+ },
6211
+ "data": {
6212
+ "description": "Data is an arbitrary JSON value that gets sent as the body of the\nwebhook to the endpoints",
6213
+ "type": "array",
6214
+ "items": {
6215
+ "type": "integer"
6216
+ }
6217
+ },
6218
+ "event_type": {
6219
+ "type": "string"
6220
+ },
6221
+ "idempotency_key": {
6222
+ "type": "string"
6223
+ }
6224
+ }
6225
+ },
6109
6226
"models.CreateEndpoint": {
6110
6227
"type": "object",
6111
6228
"properties": {
@@ -6822,6 +6939,9 @@ const docTemplate = `{
6822
6939
"models.PubSubConfig": {
6823
6940
"type": "object",
6824
6941
"properties": {
6942
+ "amqp": {
6943
+ "$ref": "#/definitions/models.AmqpPubSubconfig"
6944
+ },
6825
6945
"google": {
6826
6946
"$ref": "#/definitions/models.GooglePubSubConfig"
6827
6947
},
0 commit comments