@shakerquiz/contracts 0.0.185 → 0.0.187

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/contracts",
4
- "version": "0.0.185",
4
+ "version": "0.0.187",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -19,6 +19,6 @@
19
19
  "@types/bun": "1.3.7"
20
20
  },
21
21
  "dependencies": {
22
- "@shakerquiz/utilities": "4.0.80"
22
+ "@shakerquiz/utilities": "4.0.81"
23
23
  }
24
24
  }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "template": {
12
+ "type": "string",
13
+ "enum": [
14
+ "default",
15
+ "verified-registration-any",
16
+ "verified-registration-cash"
17
+ ]
18
+ },
19
+ "message": {
20
+ "type": "string"
21
+ }
22
+ },
23
+ "required": [
24
+ "id",
25
+ "template",
26
+ "message"
27
+ ],
28
+ "additionalProperties": false
29
+ },
30
+ "uniqueItems": true
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "array",
4
+ "items": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "format": "uuid"
10
+ },
11
+ "template": {
12
+ "type": "string",
13
+ "enum": [
14
+ "default",
15
+ "verified-registration-any",
16
+ "verified-registration-cash"
17
+ ]
18
+ },
19
+ "message": {
20
+ "type": "string"
21
+ }
22
+ },
23
+ "required": [
24
+ "id",
25
+ "template",
26
+ "message"
27
+ ],
28
+ "additionalProperties": false
29
+ },
30
+ "uniqueItems": true
31
+ }
package/source/index.js CHANGED
@@ -70,6 +70,8 @@ import POST_registrations_venue_search_Service from './contracts/POST/registrati
70
70
  import POST_registrations_venue_search_Organizer from './contracts/POST/registrations/venue/search/Organizer.json' with { type: 'json' }
71
71
  import POST_registrations_venue_search_Admin from './contracts/POST/registrations/venue/search/Admin.json' with { type: 'json' }
72
72
  import POST_registrations_venue_search_Unknown from './contracts/POST/registrations/venue/search/Unknown.json' with { type: 'json' }
73
+ import POST_registrations_mailing_Organizer from './contracts/POST/registrations/mailing/Organizer.json' with { type: 'json' }
74
+ import POST_registrations_mailing_Admin from './contracts/POST/registrations/mailing/Admin.json' with { type: 'json' }
73
75
  import POST_registrations_status_search_Service from './contracts/POST/registrations/status/search/Service.json' with { type: 'json' }
74
76
  import POST_registrations_status_search_Organizer from './contracts/POST/registrations/status/search/Organizer.json' with { type: 'json' }
75
77
  import POST_registrations_status_search_Admin from './contracts/POST/registrations/status/search/Admin.json' with { type: 'json' }
@@ -232,6 +234,8 @@ export const Contracts = Object.freeze(
232
234
  'POST/registrations/venue/search/Organizer',
233
235
  'POST/registrations/venue/search/Admin',
234
236
  'POST/registrations/venue/search/Unknown',
237
+ 'POST/registrations/mailing/Organizer',
238
+ 'POST/registrations/mailing/Admin',
235
239
  'POST/registrations/status/search/Service',
236
240
  'POST/registrations/status/search/Organizer',
237
241
  'POST/registrations/status/search/Admin',
@@ -396,6 +400,8 @@ export const Schemas = Object.freeze(
396
400
  POST_registrations_venue_search_Organizer,
397
401
  POST_registrations_venue_search_Admin,
398
402
  POST_registrations_venue_search_Unknown,
403
+ POST_registrations_mailing_Organizer,
404
+ POST_registrations_mailing_Admin,
399
405
  POST_registrations_status_search_Service,
400
406
  POST_registrations_status_search_Organizer,
401
407
  POST_registrations_status_search_Admin,
@@ -560,6 +566,8 @@ export const ContractSchema = Object.freeze(
560
566
  'POST/registrations/venue/search/Organizer': POST_registrations_venue_search_Organizer,
561
567
  'POST/registrations/venue/search/Admin': POST_registrations_venue_search_Admin,
562
568
  'POST/registrations/venue/search/Unknown': POST_registrations_venue_search_Unknown,
569
+ 'POST/registrations/mailing/Organizer': POST_registrations_mailing_Organizer,
570
+ 'POST/registrations/mailing/Admin': POST_registrations_mailing_Admin,
563
571
  'POST/registrations/status/search/Service': POST_registrations_status_search_Service,
564
572
  'POST/registrations/status/search/Organizer': POST_registrations_status_search_Organizer,
565
573
  'POST/registrations/status/search/Admin': POST_registrations_status_search_Admin,