@boxyhq/saml-jackson 1.37.0 → 1.38.0
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/dist/controller/api.d.ts +521 -474
- package/dist/controller/api.js +521 -474
- package/dist/controller/api.js.map +1 -1
- package/dist/controller/oauth.d.ts +88 -87
- package/dist/controller/oauth.js +146 -101
- package/dist/controller/oauth.js.map +1 -1
- package/dist/controller/setup-link.d.ts +343 -234
- package/dist/controller/setup-link.js +343 -234
- package/dist/controller/setup-link.js.map +1 -1
- package/dist/directory-sync/non-scim/google/api.js +1 -1
- package/dist/directory-sync/non-scim/google/api.js.map +1 -1
- package/dist/directory-sync/scim/DirectoryConfig.d.ts +259 -225
- package/dist/directory-sync/scim/DirectoryConfig.js +261 -227
- package/dist/directory-sync/scim/DirectoryConfig.js.map +1 -1
- package/dist/directory-sync/scim/Groups.d.ts +82 -87
- package/dist/directory-sync/scim/Groups.js +82 -87
- package/dist/directory-sync/scim/Groups.js.map +1 -1
- package/dist/directory-sync/scim/Users.d.ts +63 -49
- package/dist/directory-sync/scim/Users.js +63 -49
- package/dist/directory-sync/scim/Users.js.map +1 -1
- package/dist/directory-sync/scim/WebhookEventsLogger.d.ts +52 -61
- package/dist/directory-sync/scim/WebhookEventsLogger.js +52 -61
- package/dist/directory-sync/scim/WebhookEventsLogger.js.map +1 -1
- package/dist/directory-sync/types.d.ts +0 -1
- package/dist/ee/identity-federation/app.d.ts +292 -212
- package/dist/ee/identity-federation/app.js +292 -212
- package/dist/ee/identity-federation/app.js.map +1 -1
- package/dist/ee/identity-federation/idp-login.js +1 -1
- package/dist/ee/identity-federation/idp-login.js.map +1 -1
- package/dist/sso-traces/index.d.ts +67 -66
- package/dist/sso-traces/index.js +67 -66
- package/dist/sso-traces/index.js.map +1 -1
- package/dist/sso-traces/types.d.ts +1 -0
- package/package.json +10 -10
@@ -59,152 +59,218 @@ const calculateExpiryTimestamp = (expiryDays) => {
|
|
59
59
|
const currentTimestamp = Date.now();
|
60
60
|
return currentTimestamp + expiryDays * 24 * 60 * 60 * 1000;
|
61
61
|
};
|
62
|
-
/**
|
63
|
-
* @swagger
|
64
|
-
* definitions:
|
65
|
-
* SetupLink:
|
66
|
-
* type: object
|
67
|
-
* properties:
|
68
|
-
* setupID:
|
69
|
-
* type: string
|
70
|
-
* description: Setup link ID
|
71
|
-
* tenant:
|
72
|
-
* type: string
|
73
|
-
* description: Tenant
|
74
|
-
* product:
|
75
|
-
* type: string
|
76
|
-
* description: Product
|
77
|
-
* validTill:
|
78
|
-
* type: string
|
79
|
-
* description: Valid till timestamp
|
80
|
-
* url:
|
81
|
-
* type: string
|
82
|
-
* description: Setup link URL
|
83
|
-
*/
|
84
62
|
class SetupLinkController {
|
85
63
|
constructor({ setupLinkStore, opts }) {
|
86
64
|
this.setupLinkStore = setupLinkStore;
|
87
65
|
this.opts = opts;
|
88
66
|
}
|
89
67
|
/**
|
90
|
-
* @
|
91
|
-
*
|
92
|
-
*
|
93
|
-
*
|
94
|
-
*
|
95
|
-
*
|
96
|
-
*
|
97
|
-
*
|
98
|
-
*
|
99
|
-
*
|
100
|
-
*
|
101
|
-
*
|
102
|
-
*
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
111
|
-
*
|
112
|
-
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
*
|
131
|
-
*
|
132
|
-
*
|
133
|
-
|
134
|
-
|
135
|
-
*
|
136
|
-
* webhookSecretParamPost:
|
137
|
-
* name: webhook_secret
|
138
|
-
* description: The secret to sign the directory sync events
|
139
|
-
* in: formData
|
140
|
-
* type: string
|
141
|
-
* required: true
|
142
|
-
* nameParamPost:
|
143
|
-
* name: name
|
144
|
-
* description: Name of connection
|
145
|
-
* in: formData
|
146
|
-
* type: string
|
147
|
-
* required: false
|
148
|
-
* expiryDaysParamPost:
|
149
|
-
* name: expiryDays
|
150
|
-
* description: Days in number for the setup link to expire
|
151
|
-
* default: 3
|
152
|
-
* in: formData
|
153
|
-
* type: number
|
154
|
-
* required: false
|
155
|
-
* regenerateParamPost:
|
156
|
-
* name: regenerate
|
157
|
-
* description: If passed as true, it will remove the existing setup link and create a new one.
|
158
|
-
* in: formData
|
159
|
-
* default: false
|
160
|
-
* type: boolean
|
161
|
-
* required: false
|
68
|
+
* @openapi
|
69
|
+
* components:
|
70
|
+
* schemas:
|
71
|
+
* SetupLink:
|
72
|
+
* type: object
|
73
|
+
* properties:
|
74
|
+
* setupID:
|
75
|
+
* type: string
|
76
|
+
* description: Setup link ID
|
77
|
+
* tenant:
|
78
|
+
* type: string
|
79
|
+
* description: Tenant
|
80
|
+
* product:
|
81
|
+
* type: string
|
82
|
+
* description: Product
|
83
|
+
* validTill:
|
84
|
+
* type: string
|
85
|
+
* description: Valid till timestamp
|
86
|
+
* url:
|
87
|
+
* type: string
|
88
|
+
* description: Setup link URL
|
89
|
+
* example:
|
90
|
+
* data:
|
91
|
+
* setupID: 0689f76f7b5aa22f00381a124cb4b153fc1a8c08
|
92
|
+
* tenant: acme
|
93
|
+
* product: my-app
|
94
|
+
* service: sso
|
95
|
+
* validTill: 1689849146690
|
96
|
+
* url: http://localhost:5225/setup/0b96a483ebfe0af0b561dda35a96647074d944631ff9e070
|
97
|
+
* parameters:
|
98
|
+
* setupLinkId:
|
99
|
+
* name: id
|
100
|
+
* in: query
|
101
|
+
* description: Setup link ID
|
102
|
+
* schema:
|
103
|
+
* type: string
|
104
|
+
* idParamGet:
|
105
|
+
* name: id
|
106
|
+
* in: query
|
107
|
+
* description: Setup Link ID
|
108
|
+
* schema:
|
109
|
+
* type: string
|
110
|
+
*
|
111
|
+
*/
|
112
|
+
/**
|
113
|
+
* @openapi
|
162
114
|
* /api/v1/sso/setuplinks:
|
163
115
|
* post:
|
164
|
-
*
|
165
|
-
*
|
166
|
-
*
|
167
|
-
*
|
168
|
-
*
|
169
|
-
*
|
170
|
-
*
|
171
|
-
*
|
172
|
-
*
|
173
|
-
*
|
174
|
-
*
|
175
|
-
*
|
176
|
-
*
|
177
|
-
*
|
178
|
-
*
|
179
|
-
*
|
180
|
-
*
|
181
|
-
*
|
182
|
-
*
|
183
|
-
*
|
184
|
-
*
|
116
|
+
* tags:
|
117
|
+
* - Setup Links | Single Sign On
|
118
|
+
* summary: Create a Setup Link
|
119
|
+
* operationId: create-sso-setup-link
|
120
|
+
* requestBody:
|
121
|
+
* content:
|
122
|
+
* application/x-www-form-urlencoded:
|
123
|
+
* schema:
|
124
|
+
* required:
|
125
|
+
* - defaultRedirectUrl
|
126
|
+
* - product
|
127
|
+
* - redirectUrl
|
128
|
+
* - tenant
|
129
|
+
* type: object
|
130
|
+
* properties:
|
131
|
+
* name:
|
132
|
+
* type: string
|
133
|
+
* description: Name of connection
|
134
|
+
* tenant:
|
135
|
+
* type: string
|
136
|
+
* description: Tenant
|
137
|
+
* product:
|
138
|
+
* type: string
|
139
|
+
* description: Product
|
140
|
+
* defaultRedirectUrl:
|
141
|
+
* type: string
|
142
|
+
* description: The redirect URL to use in the IdP login flow
|
143
|
+
* redirectUrl:
|
144
|
+
* type: string
|
145
|
+
* description: JSON encoded array containing a list of allowed redirect URLs
|
146
|
+
* expiryDays:
|
147
|
+
* type: number
|
148
|
+
* description: Days in number for the setup link to expire
|
149
|
+
* default: 3
|
150
|
+
* regenerate:
|
151
|
+
* type: boolean
|
152
|
+
* description: If passed as true, it will remove the existing setup link and create a new one.
|
153
|
+
* default: false
|
154
|
+
* application/json:
|
155
|
+
* schema:
|
156
|
+
* required:
|
157
|
+
* - defaultRedirectUrl
|
158
|
+
* - product
|
159
|
+
* - redirectUrl
|
160
|
+
* - tenant
|
161
|
+
* type: object
|
162
|
+
* properties:
|
163
|
+
* name:
|
164
|
+
* type: string
|
165
|
+
* description: Name of connection
|
166
|
+
* tenant:
|
167
|
+
* type: string
|
168
|
+
* description: Tenant
|
169
|
+
* product:
|
170
|
+
* type: string
|
171
|
+
* description: Product
|
172
|
+
* defaultRedirectUrl:
|
173
|
+
* type: string
|
174
|
+
* description: The redirect URL to use in the IdP login flow
|
175
|
+
* redirectUrl:
|
176
|
+
* type: string
|
177
|
+
* description: JSON encoded array containing a list of allowed redirect URLs
|
178
|
+
* expiryDays:
|
179
|
+
* type: number
|
180
|
+
* description: Days in number for the setup link to expire
|
181
|
+
* default: 3
|
182
|
+
* regenerate:
|
183
|
+
* type: boolean
|
184
|
+
* description: If passed as true, it will remove the existing setup link and create a new one.
|
185
|
+
* default: false
|
186
|
+
* required: true
|
187
|
+
* responses:
|
188
|
+
* 200:
|
189
|
+
* description: Success
|
190
|
+
* content:
|
191
|
+
* application/json:
|
192
|
+
* schema:
|
193
|
+
* $ref: "#/components/schemas/SetupLink"
|
185
194
|
* /api/v1/dsync/setuplinks:
|
186
195
|
* post:
|
187
|
-
*
|
188
|
-
*
|
189
|
-
*
|
190
|
-
*
|
191
|
-
*
|
192
|
-
*
|
193
|
-
*
|
194
|
-
*
|
195
|
-
*
|
196
|
-
*
|
197
|
-
*
|
198
|
-
*
|
199
|
-
*
|
200
|
-
*
|
201
|
-
*
|
202
|
-
*
|
203
|
-
*
|
204
|
-
*
|
205
|
-
*
|
206
|
-
*
|
207
|
-
*
|
196
|
+
* tags:
|
197
|
+
* - Setup Links | Directory Sync
|
198
|
+
* summary: Create a Setup Link
|
199
|
+
* operationId: create-dsync-setup-link
|
200
|
+
* requestBody:
|
201
|
+
* content:
|
202
|
+
* application/x-www-form-urlencoded:
|
203
|
+
* schema:
|
204
|
+
* required:
|
205
|
+
* - product
|
206
|
+
* - tenant
|
207
|
+
* - webhook_secret
|
208
|
+
* - webhook_url
|
209
|
+
* type: object
|
210
|
+
* properties:
|
211
|
+
* name:
|
212
|
+
* type: string
|
213
|
+
* description: Name of connection
|
214
|
+
* tenant:
|
215
|
+
* type: string
|
216
|
+
* description: Tenant
|
217
|
+
* product:
|
218
|
+
* type: string
|
219
|
+
* description: Product
|
220
|
+
* webhook_url:
|
221
|
+
* type: string
|
222
|
+
* description: The URL to send the directory sync events to
|
223
|
+
* webhook_secret:
|
224
|
+
* type: string
|
225
|
+
* description: The secret to sign the directory sync events
|
226
|
+
* expiryDays:
|
227
|
+
* type: number
|
228
|
+
* description: Days in number for the setup link to expire
|
229
|
+
* default: 3
|
230
|
+
* regenerate:
|
231
|
+
* type: boolean
|
232
|
+
* description: If passed as true, it will remove the existing setup link and create a new one.
|
233
|
+
* default: false
|
234
|
+
* application/json:
|
235
|
+
* schema:
|
236
|
+
* required:
|
237
|
+
* - product
|
238
|
+
* - tenant
|
239
|
+
* - webhook_secret
|
240
|
+
* - webhook_url
|
241
|
+
* type: object
|
242
|
+
* properties:
|
243
|
+
* name:
|
244
|
+
* type: string
|
245
|
+
* description: Name of connection
|
246
|
+
* tenant:
|
247
|
+
* type: string
|
248
|
+
* description: Tenant
|
249
|
+
* product:
|
250
|
+
* type: string
|
251
|
+
* description: Product
|
252
|
+
* webhook_url:
|
253
|
+
* type: string
|
254
|
+
* description: The URL to send the directory sync events to
|
255
|
+
* webhook_secret:
|
256
|
+
* type: string
|
257
|
+
* description: The secret to sign the directory sync events
|
258
|
+
* expiryDays:
|
259
|
+
* type: number
|
260
|
+
* description: Days in number for the setup link to expire
|
261
|
+
* default: 3
|
262
|
+
* regenerate:
|
263
|
+
* type: boolean
|
264
|
+
* description: If passed as true, it will remove the existing setup link and create a new one.
|
265
|
+
* default: false
|
266
|
+
* required: true
|
267
|
+
* responses:
|
268
|
+
* 200:
|
269
|
+
* description: Success
|
270
|
+
* content:
|
271
|
+
* application/json:
|
272
|
+
* schema:
|
273
|
+
* $ref: "#/components/schemas/SetupLink"
|
208
274
|
*/
|
209
275
|
create(body) {
|
210
276
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -297,50 +363,73 @@ class SetupLinkController {
|
|
297
363
|
});
|
298
364
|
}
|
299
365
|
/**
|
300
|
-
* @
|
301
|
-
* parameters:
|
302
|
-
* setupLinkId:
|
303
|
-
* name: id
|
304
|
-
* description: Setup link ID
|
305
|
-
* in: query
|
306
|
-
* required: false
|
307
|
-
* type: string
|
366
|
+
* @openapi
|
308
367
|
* /api/v1/sso/setuplinks:
|
309
368
|
* delete:
|
369
|
+
* tags:
|
370
|
+
* - Setup Links | Single Sign On
|
310
371
|
* summary: Delete the Setup Link
|
311
|
-
* parameters:
|
312
|
-
* - $ref: '#/parameters/tenantParamGet'
|
313
|
-
* - $ref: '#/parameters/productParamGet'
|
314
|
-
* - $ref: '#/parameters/setupLinkId'
|
315
372
|
* operationId: delete-sso-setup-link
|
316
|
-
*
|
373
|
+
* parameters:
|
374
|
+
* - name: tenant
|
375
|
+
* in: query
|
376
|
+
* description: Tenant
|
377
|
+
* required: true
|
378
|
+
* schema:
|
379
|
+
* type: string
|
380
|
+
* - name: product
|
381
|
+
* in: query
|
382
|
+
* description: Product
|
383
|
+
* required: true
|
384
|
+
* schema:
|
385
|
+
* type: string
|
386
|
+
* - name: id
|
387
|
+
* in: query
|
388
|
+
* description: Setup link ID
|
389
|
+
* schema:
|
390
|
+
* type: string
|
317
391
|
* responses:
|
318
|
-
*
|
319
|
-
*
|
320
|
-
*
|
321
|
-
*
|
322
|
-
*
|
323
|
-
*
|
324
|
-
*
|
325
|
-
*
|
392
|
+
* 200:
|
393
|
+
* description: Success
|
394
|
+
* content:
|
395
|
+
* application/json:
|
396
|
+
* schema:
|
397
|
+
* type: object
|
398
|
+
* example:
|
399
|
+
* data: {}
|
326
400
|
* /api/v1/dsync/setuplinks:
|
327
401
|
* delete:
|
402
|
+
* tags:
|
403
|
+
* - Setup Links | Directory Sync
|
328
404
|
* summary: Delete the Setup Link
|
329
|
-
* parameters:
|
330
|
-
* - $ref: '#/parameters/tenantParamGet'
|
331
|
-
* - $ref: '#/parameters/productParamGet'
|
332
|
-
* - $ref: '#/parameters/setupLinkId'
|
333
405
|
* operationId: delete-dsync-setup-link
|
334
|
-
*
|
406
|
+
* parameters:
|
407
|
+
* - name: tenant
|
408
|
+
* in: query
|
409
|
+
* description: Tenant
|
410
|
+
* required: true
|
411
|
+
* schema:
|
412
|
+
* type: string
|
413
|
+
* - name: product
|
414
|
+
* in: query
|
415
|
+
* description: Product
|
416
|
+
* required: true
|
417
|
+
* schema:
|
418
|
+
* type: string
|
419
|
+
* - name: id
|
420
|
+
* in: query
|
421
|
+
* description: Setup link ID
|
422
|
+
* schema:
|
423
|
+
* type: string
|
335
424
|
* responses:
|
336
|
-
*
|
337
|
-
*
|
338
|
-
*
|
339
|
-
*
|
340
|
-
*
|
341
|
-
*
|
342
|
-
*
|
343
|
-
*
|
425
|
+
* 200:
|
426
|
+
* description: Success
|
427
|
+
* content:
|
428
|
+
* application/json:
|
429
|
+
* schema:
|
430
|
+
* type: object
|
431
|
+
* example:
|
432
|
+
* data: {}
|
344
433
|
*/
|
345
434
|
remove(params) {
|
346
435
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -363,54 +452,47 @@ class SetupLinkController {
|
|
363
452
|
return setupLink.validTill < +new Date();
|
364
453
|
}
|
365
454
|
/**
|
366
|
-
* @
|
367
|
-
* parameters:
|
368
|
-
* tenantParamGet:
|
369
|
-
* name: tenant
|
370
|
-
* description: Tenant
|
371
|
-
* in: query
|
372
|
-
* required: true
|
373
|
-
* type: string
|
374
|
-
* productParamGet:
|
375
|
-
* name: product
|
376
|
-
* description: Product
|
377
|
-
* in: query
|
378
|
-
* required: true
|
379
|
-
* type: string
|
455
|
+
* @openapi
|
380
456
|
* /api/v1/sso/setuplinks/product:
|
381
457
|
* get:
|
458
|
+
* tags:
|
459
|
+
* - Setup Links | Single Sign On
|
382
460
|
* summary: Get the Setup Links by product
|
383
|
-
* parameters:
|
384
|
-
* - $ref: '#/parameters/productParamGet'
|
385
|
-
* - $ref: '#/parameters/pageOffset'
|
386
|
-
* - $ref: '#/parameters/pageLimit'
|
387
|
-
* - $ref: '#/parameters/pageToken'
|
388
461
|
* operationId: get-sso-setup-link-by-product
|
389
|
-
*
|
462
|
+
* parameters:
|
463
|
+
* - $ref: '#/components/parameters/productParamGet'
|
464
|
+
* - $ref: '#/components/parameters/pageOffset'
|
465
|
+
* - $ref: '#/components/parameters/pageLimit'
|
466
|
+
* - $ref: '#/components/parameters/pageToken'
|
390
467
|
* responses:
|
391
|
-
*
|
392
|
-
*
|
393
|
-
*
|
394
|
-
*
|
395
|
-
*
|
396
|
-
*
|
468
|
+
* 200:
|
469
|
+
* description: Success
|
470
|
+
* content:
|
471
|
+
* application/json:
|
472
|
+
* schema:
|
473
|
+
* type: array
|
474
|
+
* items:
|
475
|
+
* $ref: "#/components/schemas/SetupLink"
|
397
476
|
* /api/v1/dsync/setuplinks/product:
|
398
477
|
* get:
|
478
|
+
* tags:
|
479
|
+
* - Setup Links | Directory Sync
|
399
480
|
* summary: Get the Setup Links by product
|
400
|
-
* parameters:
|
401
|
-
* - $ref: '#/parameters/productParamGet'
|
402
|
-
* - $ref: '#/parameters/pageOffset'
|
403
|
-
* - $ref: '#/parameters/pageLimit'
|
404
|
-
* - $ref: '#/parameters/pageToken'
|
405
481
|
* operationId: get-dsync-setup-link-by-product
|
406
|
-
*
|
482
|
+
* parameters:
|
483
|
+
* - $ref: '#/components/parameters/productParamGet'
|
484
|
+
* - $ref: '#/components/parameters/pageOffset'
|
485
|
+
* - $ref: '#/components/parameters/pageLimit'
|
486
|
+
* - $ref: '#/components/parameters/pageToken'
|
407
487
|
* responses:
|
408
|
-
*
|
409
|
-
*
|
410
|
-
*
|
411
|
-
*
|
412
|
-
*
|
413
|
-
*
|
488
|
+
* 200:
|
489
|
+
* description: Success
|
490
|
+
* content:
|
491
|
+
* application/json:
|
492
|
+
* schema:
|
493
|
+
* type: array
|
494
|
+
* items:
|
495
|
+
* $ref: "#/components/schemas/SetupLink"
|
414
496
|
*/
|
415
497
|
filterBy(params) {
|
416
498
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -448,42 +530,69 @@ class SetupLinkController {
|
|
448
530
|
});
|
449
531
|
}
|
450
532
|
/**
|
451
|
-
* @
|
452
|
-
* parameters:
|
453
|
-
* idParamGet:
|
454
|
-
* name: id
|
455
|
-
* description: Setup Link ID
|
456
|
-
* in: query
|
457
|
-
* required: false
|
458
|
-
* type: string
|
533
|
+
* @openapi
|
459
534
|
* /api/v1/sso/setuplinks:
|
460
535
|
* get:
|
536
|
+
* tags:
|
537
|
+
* - Setup Links | Single Sign On
|
461
538
|
* summary: Get the Setup Link
|
462
|
-
* parameters:
|
463
|
-
* - $ref: '#/parameters/tenantParamGet'
|
464
|
-
* - $ref: '#/parameters/productParamGet'
|
465
|
-
* - $ref: '#/parameters/idParamGet'
|
466
539
|
* operationId: get-sso-setup-link
|
467
|
-
*
|
540
|
+
* parameters:
|
541
|
+
* - name: tenant
|
542
|
+
* in: query
|
543
|
+
* description: Tenant
|
544
|
+
* required: true
|
545
|
+
* schema:
|
546
|
+
* type: string
|
547
|
+
* - name: product
|
548
|
+
* in: query
|
549
|
+
* description: Product
|
550
|
+
* required: true
|
551
|
+
* schema:
|
552
|
+
* type: string
|
553
|
+
* - name: id
|
554
|
+
* in: query
|
555
|
+
* description: Setup Link ID
|
556
|
+
* schema:
|
557
|
+
* type: string
|
468
558
|
* responses:
|
469
|
-
*
|
470
|
-
*
|
471
|
-
*
|
472
|
-
*
|
559
|
+
* 200:
|
560
|
+
* description: Success
|
561
|
+
* content:
|
562
|
+
* application/json:
|
563
|
+
* schema:
|
564
|
+
* $ref: "#/components/schemas/SetupLink"
|
473
565
|
* /api/v1/dsync/setuplinks:
|
474
566
|
* get:
|
567
|
+
* tags:
|
568
|
+
* - Setup Links | Directory Sync
|
475
569
|
* summary: Get the Setup Link
|
476
|
-
* parameters:
|
477
|
-
* - $ref: '#/parameters/tenantParamGet'
|
478
|
-
* - $ref: '#/parameters/productParamGet'
|
479
|
-
* - $ref: '#/parameters/idParamGet'
|
480
570
|
* operationId: get-dsync-setup-link
|
481
|
-
*
|
571
|
+
* parameters:
|
572
|
+
* - name: tenant
|
573
|
+
* in: query
|
574
|
+
* description: Tenant
|
575
|
+
* required: true
|
576
|
+
* schema:
|
577
|
+
* type: string
|
578
|
+
* - name: product
|
579
|
+
* in: query
|
580
|
+
* description: Product
|
581
|
+
* required: true
|
582
|
+
* schema:
|
583
|
+
* type: string
|
584
|
+
* - name: id
|
585
|
+
* in: query
|
586
|
+
* description: Setup Link ID
|
587
|
+
* schema:
|
588
|
+
* type: string
|
482
589
|
* responses:
|
483
|
-
*
|
484
|
-
*
|
485
|
-
*
|
486
|
-
*
|
590
|
+
* 200:
|
591
|
+
* description: Success
|
592
|
+
* content:
|
593
|
+
* application/json:
|
594
|
+
* schema:
|
595
|
+
* $ref: "#/components/schemas/SetupLink"
|
487
596
|
*/
|
488
597
|
get(id) {
|
489
598
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"setup-link.js","sourceRoot":"","sources":["../../src/controller/setup-link.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,qDAAuC;AACvC,mCAAyG;AACzG,oDAA4B;AAC5B,mCAAuC;AAkBvC,MAAM,qBAAqB,GAAG,CAAC,OAAe,EAAE,EAAE;IAChD,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,oBAAY,CAAC,4DAA4D,EAAE,GAAG,CAAC,CAAC;IAC5F,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAAC,UAAkB,EAAU,EAAE;IAC9D,MAAM,gBAAgB,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IACpC,OA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