@boxyhq/saml-jackson 0.3.8-beta.762 → 0.3.8-beta.763

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.
@@ -22,7 +22,6 @@ export declare class APIController implements IAPIController {
22
22
  * description: Name/identifier for the config
23
23
  * type: string
24
24
  * in: formData
25
- * required: true
26
25
  * example: cal-saml-config
27
26
  * - name: description
28
27
  * description: A short description for the config not more than 100 characters
@@ -109,7 +108,6 @@ export declare class APIController implements IAPIController {
109
108
  * description: Name/identifier for the config
110
109
  * type: string
111
110
  * in: formData
112
- * required: true
113
111
  * example: cal-saml-config
114
112
  * - name: description
115
113
  * description: A short description for the config not more than 100 characters
@@ -55,7 +55,7 @@ class APIController {
55
55
  this.configStore = configStore;
56
56
  }
57
57
  _validateIdPConfig(body) {
58
- const { encodedRawMetadata, rawMetadata, defaultRedirectUrl, redirectUrl, tenant, product, name, description, } = body;
58
+ const { encodedRawMetadata, rawMetadata, defaultRedirectUrl, redirectUrl, tenant, product, description } = body;
59
59
  if (!rawMetadata && !encodedRawMetadata) {
60
60
  throw new error_1.JacksonError('Please provide rawMetadata or encodedRawMetadata', 400);
61
61
  }
@@ -71,9 +71,6 @@ class APIController {
71
71
  if (!product) {
72
72
  throw new error_1.JacksonError('Please provide product', 400);
73
73
  }
74
- if (!name) {
75
- throw new error_1.JacksonError('Please provide a friendly name', 400);
76
- }
77
74
  if (description && description.length > 100) {
78
75
  throw new error_1.JacksonError('Description should not exceed 100 characters', 400);
79
76
  }
@@ -95,7 +92,6 @@ class APIController {
95
92
  * description: Name/identifier for the config
96
93
  * type: string
97
94
  * in: formData
98
- * required: true
99
95
  * example: cal-saml-config
100
96
  * - name: description
101
97
  * description: A short description for the config not more than 100 characters
@@ -237,7 +233,6 @@ class APIController {
237
233
  * description: Name/identifier for the config
238
234
  * type: string
239
235
  * in: formData
240
- * required: true
241
236
  * example: cal-saml-config
242
237
  * - name: description
243
238
  * description: A short description for the config not more than 100 characters
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "0.3.8-beta.762",
3
+ "version": "0.3.8-beta.763",
4
4
  "description": "SAML 2.0 service",
5
5
  "keywords": [
6
6
  "SAML 2.0"