@axinom/mosaic-messages 0.29.0-rc.5 → 0.29.0-rc.6

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.
Files changed (46) hide show
  1. package/dist/generated/schemas/payloads/ax-auth/index.d.ts +1 -0
  2. package/dist/generated/schemas/payloads/ax-auth/index.d.ts.map +1 -1
  3. package/dist/generated/schemas/payloads/ax-auth/index.js +1 -0
  4. package/dist/generated/schemas/payloads/ax-auth/index.js.map +1 -1
  5. package/dist/generated/schemas/payloads/ax-auth/types/index.d.ts +63 -0
  6. package/dist/generated/schemas/payloads/ax-auth/types/index.d.ts.map +1 -0
  7. package/dist/generated/schemas/payloads/ax-auth/types/index.js +8 -0
  8. package/dist/generated/schemas/payloads/ax-auth/types/index.js.map +1 -0
  9. package/dist/generated/schemas/payloads/ax-auth/types/password-reset-webhook-payload.json +34 -0
  10. package/dist/generated/schemas/payloads/ax-auth/types/user-sign-up-webhook-payload.json +34 -0
  11. package/dist/generated/schemas/payloads/user/index.d.ts +1 -0
  12. package/dist/generated/schemas/payloads/user/index.d.ts.map +1 -1
  13. package/dist/generated/schemas/payloads/user/index.js +1 -0
  14. package/dist/generated/schemas/payloads/user/index.js.map +1 -1
  15. package/dist/generated/schemas/payloads/user/types/access-token-enrichment-webhook-request-payload.json +62 -0
  16. package/dist/generated/schemas/payloads/user/types/access-token-enrichment-webhook-response-payload.json +8 -0
  17. package/dist/generated/schemas/payloads/user/types/index.d.ts +245 -0
  18. package/dist/generated/schemas/payloads/user/types/index.d.ts.map +1 -0
  19. package/dist/generated/schemas/payloads/user/types/index.js +14 -0
  20. package/dist/generated/schemas/payloads/user/types/index.js.map +1 -0
  21. package/dist/generated/schemas/payloads/user/types/user-created-webhook-request-payload.json +42 -0
  22. package/dist/generated/schemas/payloads/user/types/user-info-webhook-request-payload.json +16 -0
  23. package/dist/generated/schemas/payloads/user/types/user-info-webhook-response-payload.json +150 -0
  24. package/dist/generated/schemas/payloads/video/types/entitlement-webhook-response-payload.json +30 -0
  25. package/dist/generated/schemas/payloads/video/types/index.d.ts +365 -0
  26. package/dist/generated/schemas/payloads/video/types/index.d.ts.map +1 -1
  27. package/dist/generated/schemas/payloads/video/types/index.js +7 -1
  28. package/dist/generated/schemas/payloads/video/types/index.js.map +1 -1
  29. package/dist/generated/schemas/payloads/video/types/manifest-webhook-response-payload.json +24 -0
  30. package/dist/generated/schemas/payloads/video/types/playback-video-webhook-request-payload.json +476 -0
  31. package/package.json +4 -4
  32. package/src/generated/schemas/payloads/ax-auth/index.ts +2 -1
  33. package/src/generated/schemas/payloads/ax-auth/types/index.ts +5 -0
  34. package/src/generated/schemas/payloads/ax-auth/types/password-reset-webhook-payload.json +34 -0
  35. package/src/generated/schemas/payloads/ax-auth/types/user-sign-up-webhook-payload.json +34 -0
  36. package/src/generated/schemas/payloads/user/index.ts +2 -1
  37. package/src/generated/schemas/payloads/user/types/access-token-enrichment-webhook-request-payload.json +62 -0
  38. package/src/generated/schemas/payloads/user/types/access-token-enrichment-webhook-response-payload.json +8 -0
  39. package/src/generated/schemas/payloads/user/types/index.ts +11 -0
  40. package/src/generated/schemas/payloads/user/types/user-created-webhook-request-payload.json +42 -0
  41. package/src/generated/schemas/payloads/user/types/user-info-webhook-request-payload.json +16 -0
  42. package/src/generated/schemas/payloads/user/types/user-info-webhook-response-payload.json +150 -0
  43. package/src/generated/schemas/payloads/video/types/entitlement-webhook-response-payload.json +30 -0
  44. package/src/generated/schemas/payloads/video/types/index.ts +7 -1
  45. package/src/generated/schemas/payloads/video/types/manifest-webhook-response-payload.json +24 -0
  46. package/src/generated/schemas/payloads/video/types/playback-video-webhook-request-payload.json +476 -0
@@ -1,3 +1,4 @@
1
1
  export * from './commands';
2
2
  export * from './events';
3
+ export * from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/ax-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/ax-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./commands"), exports);
18
18
  __exportStar(require("./events"), exports);
19
+ __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/ax-auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/ax-auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB"}
@@ -0,0 +1,63 @@
1
+ export declare const PasswordResetWebhookPayloadSchema: {
2
+ $schema: string;
3
+ type: string;
4
+ title: string;
5
+ description: string;
6
+ additionalProperties: boolean;
7
+ required: string[];
8
+ properties: {
9
+ email: {
10
+ type: string;
11
+ description: string;
12
+ };
13
+ reset_otp: {
14
+ type: string;
15
+ description: string;
16
+ };
17
+ first_name: {
18
+ type: string;
19
+ description: string;
20
+ };
21
+ last_name: {
22
+ type: string;
23
+ description: string;
24
+ };
25
+ custom_data: {
26
+ type: string;
27
+ title: string;
28
+ description: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const UserSignUpWebhookPayloadSchema: {
33
+ $schema: string;
34
+ type: string;
35
+ title: string;
36
+ description: string;
37
+ additionalProperties: boolean;
38
+ required: string[];
39
+ properties: {
40
+ email: {
41
+ type: string;
42
+ description: string;
43
+ };
44
+ sign_up_otp: {
45
+ type: string;
46
+ description: string;
47
+ };
48
+ first_name: {
49
+ type: string;
50
+ description: string;
51
+ };
52
+ last_name: {
53
+ type: string;
54
+ description: string;
55
+ };
56
+ custom_data: {
57
+ type: string;
58
+ title: string;
59
+ description: string;
60
+ };
61
+ };
62
+ };
63
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAC;AAC7E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserSignUpWebhookPayloadSchema = exports.PasswordResetWebhookPayloadSchema = void 0;
4
+ const PasswordResetWebhookPayload = require("./password-reset-webhook-payload.json");
5
+ const UserSignUpWebhookPayload = require("./user-sign-up-webhook-payload.json");
6
+ exports.PasswordResetWebhookPayloadSchema = PasswordResetWebhookPayload;
7
+ exports.UserSignUpWebhookPayloadSchema = UserSignUpWebhookPayload;
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/ax-auth/types/index.ts"],"names":[],"mappings":";;;AAAA,qFAAqF;AACrF,gFAAgF;AAEnE,QAAA,iCAAiC,GAAG,2BAA2B,CAAC;AAChE,QAAA,8BAA8B,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "password_reset_webhook_payload",
5
+ "description": "The webhook payload schema for password reset.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "email",
9
+ "reset_otp"
10
+ ],
11
+ "properties": {
12
+ "email": {
13
+ "type": "string",
14
+ "description": "Email of the user resetting the password."
15
+ },
16
+ "reset_otp": {
17
+ "type": "string",
18
+ "description": "OTP that must be used to confirm the password reset."
19
+ },
20
+ "first_name": {
21
+ "type": "string",
22
+ "description": "First name."
23
+ },
24
+ "last_name": {
25
+ "type": "string",
26
+ "description": "Last name."
27
+ },
28
+ "custom_data": {
29
+ "type": "object",
30
+ "title": "custom_data",
31
+ "description": "Any custom data that will be passed on to the webhook, coming with the Sign Up request."
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "user_sign_up_webhook_payload",
5
+ "description": "The webhook payload schema for end user sign up.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "email",
9
+ "sign_up_otp"
10
+ ],
11
+ "properties": {
12
+ "email": {
13
+ "type": "string",
14
+ "description": "Email of the user signing up."
15
+ },
16
+ "sign_up_otp": {
17
+ "type": "string",
18
+ "description": "OTP that must be used to confirm the user sign up."
19
+ },
20
+ "first_name": {
21
+ "type": "string",
22
+ "description": "First name."
23
+ },
24
+ "last_name": {
25
+ "type": "string",
26
+ "description": "Last name."
27
+ },
28
+ "custom_data": {
29
+ "type": "object",
30
+ "title": "custom_data",
31
+ "description": "Any custom data that will be passed on to the webhook, coming with the Sign Up request."
32
+ }
33
+ }
34
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './commands';
2
2
  export * from './events';
3
+ export * from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./commands"), exports);
18
18
  __exportStar(require("./events"), exports);
19
+ __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB"}
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "access_token_enrichment_webhook_request_payload",
5
+ "description": "The request payload schema for Access Token Enrichment webhook.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "tenant_id",
9
+ "environment_id",
10
+ "application_id",
11
+ "session_id",
12
+ "subject_type",
13
+ "profile_id",
14
+ "name",
15
+ "email"
16
+ ],
17
+ "properties": {
18
+ "tenant_id": {
19
+ "type": "string",
20
+ "description": "Tenant ID"
21
+ },
22
+ "environment_id": {
23
+ "type": "string",
24
+ "description": "Environment ID"
25
+ },
26
+ "application_id": {
27
+ "type": "string",
28
+ "description": "Application ID"
29
+ },
30
+ "session_id": {
31
+ "type": "string",
32
+ "description": "Session ID"
33
+ },
34
+ "subject_type": {
35
+ "title": "TokenSubjectType",
36
+ "type": "string",
37
+ "enum": [
38
+ "EndUserAccount",
39
+ "EndUserApplication"
40
+ ],
41
+ "description": "Subject Type"
42
+ },
43
+ "profile_id": {
44
+ "type": "string",
45
+ "description": "Profile ID"
46
+ },
47
+ "name": {
48
+ "type": [
49
+ "string",
50
+ "null"
51
+ ],
52
+ "description": "Name"
53
+ },
54
+ "email": {
55
+ "type": [
56
+ "string",
57
+ "null"
58
+ ],
59
+ "description": "Email"
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "access_token_enrichment_webhook_response_payload",
5
+ "description": "The response payload schema for Access Token Enrichment webhook.",
6
+ "additionalProperties": true,
7
+ "properties": {}
8
+ }
@@ -0,0 +1,245 @@
1
+ export declare const AccessTokenEnrichmentWebhookRequestPayloadSchema: {
2
+ $schema: string;
3
+ type: string;
4
+ title: string;
5
+ description: string;
6
+ additionalProperties: boolean;
7
+ required: string[];
8
+ properties: {
9
+ tenant_id: {
10
+ type: string;
11
+ description: string;
12
+ };
13
+ environment_id: {
14
+ type: string;
15
+ description: string;
16
+ };
17
+ application_id: {
18
+ type: string;
19
+ description: string;
20
+ };
21
+ session_id: {
22
+ type: string;
23
+ description: string;
24
+ };
25
+ subject_type: {
26
+ title: string;
27
+ type: string;
28
+ enum: string[];
29
+ description: string;
30
+ };
31
+ profile_id: {
32
+ type: string;
33
+ description: string;
34
+ };
35
+ name: {
36
+ type: string[];
37
+ description: string;
38
+ };
39
+ email: {
40
+ type: string[];
41
+ description: string;
42
+ };
43
+ };
44
+ };
45
+ export declare const AccessTokenEnrichmentWebhookResponsePayloadSchema: {
46
+ $schema: string;
47
+ type: string;
48
+ title: string;
49
+ description: string;
50
+ additionalProperties: boolean;
51
+ properties: {};
52
+ };
53
+ export declare const UserCreatedWebhookRequestPayloadSchema: {
54
+ $schema: string;
55
+ type: string;
56
+ title: string;
57
+ description: string;
58
+ additionalProperties: boolean;
59
+ required: string[];
60
+ properties: {
61
+ tenant_id: {
62
+ type: string;
63
+ description: string;
64
+ };
65
+ environment_id: {
66
+ type: string;
67
+ description: string;
68
+ };
69
+ user_id: {
70
+ type: string;
71
+ description: string;
72
+ };
73
+ email: {
74
+ type: string[];
75
+ description: string;
76
+ };
77
+ name: {
78
+ type: string[];
79
+ description: string;
80
+ };
81
+ };
82
+ };
83
+ export declare const UserInfoWebhookRequestPayloadSchema: {
84
+ $schema: string;
85
+ type: string;
86
+ title: string;
87
+ description: string;
88
+ additionalProperties: boolean;
89
+ required: string[];
90
+ properties: {
91
+ access_token: {
92
+ type: string;
93
+ description: string;
94
+ };
95
+ };
96
+ };
97
+ export declare const UserInfoWebhookResponsePayloadSchema: {
98
+ $schema: string;
99
+ type: string;
100
+ title: string;
101
+ description: string;
102
+ additionalProperties: boolean;
103
+ required: string[];
104
+ properties: {
105
+ sub: {
106
+ type: string;
107
+ description: string;
108
+ };
109
+ name: {
110
+ type: string;
111
+ description: string;
112
+ };
113
+ given_name: {
114
+ type: string;
115
+ description: string;
116
+ };
117
+ family_name: {
118
+ type: string;
119
+ description: string;
120
+ };
121
+ middle_name: {
122
+ type: string;
123
+ description: string;
124
+ };
125
+ nickname: {
126
+ type: string;
127
+ description: string;
128
+ };
129
+ preferred_username: {
130
+ type: string;
131
+ description: string;
132
+ };
133
+ profile: {
134
+ type: string;
135
+ description: string;
136
+ };
137
+ picture: {
138
+ type: string;
139
+ description: string;
140
+ };
141
+ website: {
142
+ type: string;
143
+ description: string;
144
+ };
145
+ email: {
146
+ type: string;
147
+ description: string;
148
+ };
149
+ email_verified: {
150
+ type: string;
151
+ description: string;
152
+ };
153
+ gender: {
154
+ type: string;
155
+ description: string;
156
+ };
157
+ birthdate: {
158
+ type: string;
159
+ description: string;
160
+ };
161
+ zoneinfo: {
162
+ type: string;
163
+ description: string;
164
+ };
165
+ locale: {
166
+ type: string;
167
+ description: string;
168
+ };
169
+ phone_number: {
170
+ type: string;
171
+ description: string;
172
+ };
173
+ updated_at: {
174
+ type: string;
175
+ description: string;
176
+ };
177
+ address: {
178
+ title: string;
179
+ type: string;
180
+ description: string;
181
+ additionalProperties: boolean;
182
+ properties: {
183
+ formatted: {
184
+ type: string;
185
+ description: string;
186
+ };
187
+ street_address: {
188
+ type: string;
189
+ description: string;
190
+ };
191
+ locality: {
192
+ type: string;
193
+ description: string;
194
+ };
195
+ region: {
196
+ type: string;
197
+ description: string;
198
+ };
199
+ postal_code: {
200
+ type: string;
201
+ description: string;
202
+ };
203
+ country: {
204
+ type: string;
205
+ description: string;
206
+ };
207
+ };
208
+ };
209
+ };
210
+ definitions: {
211
+ address: {
212
+ title: string;
213
+ type: string;
214
+ description: string;
215
+ additionalProperties: boolean;
216
+ properties: {
217
+ formatted: {
218
+ type: string;
219
+ description: string;
220
+ };
221
+ street_address: {
222
+ type: string;
223
+ description: string;
224
+ };
225
+ locality: {
226
+ type: string;
227
+ description: string;
228
+ };
229
+ region: {
230
+ type: string;
231
+ description: string;
232
+ };
233
+ postal_code: {
234
+ type: string;
235
+ description: string;
236
+ };
237
+ country: {
238
+ type: string;
239
+ description: string;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ };
245
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/user/types/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAC;AAC3G,eAAO,MAAM,iDAAiD;;;;;;;CAA8C,CAAC;AAC7G,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserInfoWebhookResponsePayloadSchema = exports.UserInfoWebhookRequestPayloadSchema = exports.UserCreatedWebhookRequestPayloadSchema = exports.AccessTokenEnrichmentWebhookResponsePayloadSchema = exports.AccessTokenEnrichmentWebhookRequestPayloadSchema = void 0;
4
+ const AccessTokenEnrichmentWebhookRequestPayload = require("./access-token-enrichment-webhook-request-payload.json");
5
+ const AccessTokenEnrichmentWebhookResponsePayload = require("./access-token-enrichment-webhook-response-payload.json");
6
+ const UserCreatedWebhookRequestPayload = require("./user-created-webhook-request-payload.json");
7
+ const UserInfoWebhookRequestPayload = require("./user-info-webhook-request-payload.json");
8
+ const UserInfoWebhookResponsePayload = require("./user-info-webhook-response-payload.json");
9
+ exports.AccessTokenEnrichmentWebhookRequestPayloadSchema = AccessTokenEnrichmentWebhookRequestPayload;
10
+ exports.AccessTokenEnrichmentWebhookResponsePayloadSchema = AccessTokenEnrichmentWebhookResponsePayload;
11
+ exports.UserCreatedWebhookRequestPayloadSchema = UserCreatedWebhookRequestPayload;
12
+ exports.UserInfoWebhookRequestPayloadSchema = UserInfoWebhookRequestPayload;
13
+ exports.UserInfoWebhookResponsePayloadSchema = UserInfoWebhookResponsePayload;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/user/types/index.ts"],"names":[],"mappings":";;;AAAA,qHAAqH;AACrH,uHAAuH;AACvH,gGAAgG;AAChG,0FAA0F;AAC1F,4FAA4F;AAE/E,QAAA,gDAAgD,GAAG,0CAA0C,CAAC;AAC9F,QAAA,iDAAiD,GAAG,2CAA2C,CAAC;AAChG,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,mCAAmC,GAAG,6BAA6B,CAAC;AACpE,QAAA,oCAAoC,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "user_created_webhook_request_payload",
5
+ "description": "The request payload schema for User Created webhook.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "tenant_id",
9
+ "environment_id",
10
+ "user_id",
11
+ "email",
12
+ "name"
13
+ ],
14
+ "properties": {
15
+ "tenant_id": {
16
+ "type": "string",
17
+ "description": "Tenant ID"
18
+ },
19
+ "environment_id": {
20
+ "type": "string",
21
+ "description": "Environment ID"
22
+ },
23
+ "user_id": {
24
+ "type": "string",
25
+ "description": "User ID"
26
+ },
27
+ "email": {
28
+ "type": [
29
+ "string",
30
+ "null"
31
+ ],
32
+ "description": "Email"
33
+ },
34
+ "name": {
35
+ "type": [
36
+ "string",
37
+ "null"
38
+ ],
39
+ "description": "Name"
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "user_info_webhook_request_payload",
5
+ "description": "The request payload schema for User Info webhook.",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "access_token"
9
+ ],
10
+ "properties": {
11
+ "access_token": {
12
+ "type": "string",
13
+ "description": "Access Token"
14
+ }
15
+ }
16
+ }