@flipdish/authorization 0.0.3 → 0.0.6-rc.1764848040
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/.openapi-generator/FILES +1 -0
- package/README.md +162 -105
- package/api.ts +2690 -538
- package/base.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1887 -243
- package/dist/api.js +2425 -431
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -133,18 +133,18 @@ export interface AssignRoleSuccessResponse {
|
|
|
133
133
|
'message': string;
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* Request to check if a user is authorized to perform an action(s). If you pass in an array of permissions, you will receive a single allow / deny response (based on an AND of the result for each permission). For a granular response to multiple permissions, call the /authorize/batch endpoint.
|
|
137
137
|
* @export
|
|
138
138
|
* @interface AuthenticateAndAuthorizeRequest
|
|
139
139
|
*/
|
|
140
140
|
export interface AuthenticateAndAuthorizeRequest {
|
|
141
141
|
/**
|
|
142
142
|
* Incoming request headers to be used for authentication
|
|
143
|
-
* @type {{ [key: string]:
|
|
143
|
+
* @type {{ [key: string]: string; }}
|
|
144
144
|
* @memberof AuthenticateAndAuthorizeRequest
|
|
145
145
|
*/
|
|
146
146
|
'headers': {
|
|
147
|
-
[key: string]:
|
|
147
|
+
[key: string]: string;
|
|
148
148
|
};
|
|
149
149
|
/**
|
|
150
150
|
*
|
|
@@ -167,10 +167,10 @@ export interface AuthenticateAndAuthorizeRequest {
|
|
|
167
167
|
export interface AuthenticateAndAuthorizeResponse {
|
|
168
168
|
/**
|
|
169
169
|
*
|
|
170
|
-
* @type {
|
|
170
|
+
* @type {AuthenticateAndCheckIsInRoleResponseAuthentication}
|
|
171
171
|
* @memberof AuthenticateAndAuthorizeResponse
|
|
172
172
|
*/
|
|
173
|
-
'authentication':
|
|
173
|
+
'authentication': AuthenticateAndCheckIsInRoleResponseAuthentication;
|
|
174
174
|
/**
|
|
175
175
|
*
|
|
176
176
|
* @type {AuthorizationResponse}
|
|
@@ -181,30 +181,167 @@ export interface AuthenticateAndAuthorizeResponse {
|
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
183
|
* @export
|
|
184
|
-
* @interface
|
|
184
|
+
* @interface AuthenticateAndCheckIsInRoleRequest
|
|
185
|
+
*/
|
|
186
|
+
export interface AuthenticateAndCheckIsInRoleRequest {
|
|
187
|
+
/**
|
|
188
|
+
* Incoming request headers to be used for authentication
|
|
189
|
+
* @type {{ [key: string]: string; }}
|
|
190
|
+
* @memberof AuthenticateAndCheckIsInRoleRequest
|
|
191
|
+
*/
|
|
192
|
+
'headers': {
|
|
193
|
+
[key: string]: string;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Array of roles to check if the principal is in
|
|
197
|
+
* @type {Array<string>}
|
|
198
|
+
* @memberof AuthenticateAndCheckIsInRoleRequest
|
|
199
|
+
*/
|
|
200
|
+
'roles': Array<AuthenticateAndCheckIsInRoleRequestRolesEnum>;
|
|
201
|
+
/**
|
|
202
|
+
* How to check if the principal is in any/all of the roles
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof AuthenticateAndCheckIsInRoleRequest
|
|
205
|
+
*/
|
|
206
|
+
'checkMode'?: AuthenticateAndCheckIsInRoleRequestCheckModeEnum;
|
|
207
|
+
}
|
|
208
|
+
export declare const AuthenticateAndCheckIsInRoleRequestRolesEnum: {
|
|
209
|
+
readonly Admin: "Admin";
|
|
210
|
+
readonly Factory: "Factory";
|
|
211
|
+
};
|
|
212
|
+
export type AuthenticateAndCheckIsInRoleRequestRolesEnum = typeof AuthenticateAndCheckIsInRoleRequestRolesEnum[keyof typeof AuthenticateAndCheckIsInRoleRequestRolesEnum];
|
|
213
|
+
export declare const AuthenticateAndCheckIsInRoleRequestCheckModeEnum: {
|
|
214
|
+
readonly Any: "any";
|
|
215
|
+
readonly All: "all";
|
|
216
|
+
};
|
|
217
|
+
export type AuthenticateAndCheckIsInRoleRequestCheckModeEnum = typeof AuthenticateAndCheckIsInRoleRequestCheckModeEnum[keyof typeof AuthenticateAndCheckIsInRoleRequestCheckModeEnum];
|
|
218
|
+
/**
|
|
219
|
+
* Response containing whether the principal is in any/all of the roles
|
|
220
|
+
* @export
|
|
221
|
+
* @interface AuthenticateAndCheckIsInRoleResponse
|
|
222
|
+
*/
|
|
223
|
+
export interface AuthenticateAndCheckIsInRoleResponse {
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {AuthenticateAndCheckIsInRoleResponseAuthentication}
|
|
227
|
+
* @memberof AuthenticateAndCheckIsInRoleResponse
|
|
228
|
+
*/
|
|
229
|
+
'authentication': AuthenticateAndCheckIsInRoleResponseAuthentication;
|
|
230
|
+
/**
|
|
231
|
+
* result of the check - whether the principal is in any/all of the roles
|
|
232
|
+
* @type {boolean}
|
|
233
|
+
* @memberof AuthenticateAndCheckIsInRoleResponse
|
|
234
|
+
*/
|
|
235
|
+
'authorized': boolean;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @export
|
|
240
|
+
* @interface AuthenticateAndCheckIsInRoleResponseAuthentication
|
|
185
241
|
*/
|
|
186
|
-
export interface
|
|
242
|
+
export interface AuthenticateAndCheckIsInRoleResponseAuthentication {
|
|
187
243
|
/**
|
|
188
244
|
*
|
|
189
245
|
* @type {AuthorizationRequestPrincipal}
|
|
190
|
-
* @memberof
|
|
246
|
+
* @memberof AuthenticateAndCheckIsInRoleResponseAuthentication
|
|
191
247
|
*/
|
|
192
248
|
'principal': AuthorizationRequestPrincipal;
|
|
193
249
|
/**
|
|
194
250
|
* Whether the user is authenticated
|
|
195
251
|
* @type {boolean}
|
|
196
|
-
* @memberof
|
|
252
|
+
* @memberof AuthenticateAndCheckIsInRoleResponseAuthentication
|
|
197
253
|
*/
|
|
198
254
|
'authenticated': boolean;
|
|
199
255
|
/**
|
|
200
256
|
* The reason for the authentication failure
|
|
201
257
|
* @type {string}
|
|
202
|
-
* @memberof
|
|
258
|
+
* @memberof AuthenticateAndCheckIsInRoleResponseAuthentication
|
|
203
259
|
*/
|
|
204
260
|
'reason'?: string;
|
|
205
261
|
}
|
|
206
262
|
/**
|
|
207
|
-
*
|
|
263
|
+
*
|
|
264
|
+
* @export
|
|
265
|
+
* @interface AuthorizationBatchRequest
|
|
266
|
+
*/
|
|
267
|
+
export interface AuthorizationBatchRequest {
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @type {AuthorizationRequestPrincipal}
|
|
271
|
+
* @memberof AuthorizationBatchRequest
|
|
272
|
+
*/
|
|
273
|
+
'principal': AuthorizationRequestPrincipal;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {Permissions}
|
|
277
|
+
* @memberof AuthorizationBatchRequest
|
|
278
|
+
*/
|
|
279
|
+
'action': Permissions;
|
|
280
|
+
/**
|
|
281
|
+
* Array of resources to check authorisation for
|
|
282
|
+
* @type {Array<AuthorizationRequestResource>}
|
|
283
|
+
* @memberof AuthorizationBatchRequest
|
|
284
|
+
*/
|
|
285
|
+
'resources': Array<AuthorizationRequestResource>;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @export
|
|
290
|
+
* @interface AuthorizationBatchResponse
|
|
291
|
+
*/
|
|
292
|
+
export interface AuthorizationBatchResponse {
|
|
293
|
+
/**
|
|
294
|
+
* Array of allowed resources
|
|
295
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
296
|
+
* @memberof AuthorizationBatchResponse
|
|
297
|
+
*/
|
|
298
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
299
|
+
/**
|
|
300
|
+
* Array of denied resources
|
|
301
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
302
|
+
* @memberof AuthorizationBatchResponse
|
|
303
|
+
*/
|
|
304
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @export
|
|
309
|
+
* @interface AuthorizationBatchResponseAllowedResourcesInner
|
|
310
|
+
*/
|
|
311
|
+
export interface AuthorizationBatchResponseAllowedResourcesInner {
|
|
312
|
+
/**
|
|
313
|
+
* The authorization decision
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof AuthorizationBatchResponseAllowedResourcesInner
|
|
316
|
+
*/
|
|
317
|
+
'decision': string;
|
|
318
|
+
/**
|
|
319
|
+
* Whether the action is allowed
|
|
320
|
+
* @type {boolean}
|
|
321
|
+
* @memberof AuthorizationBatchResponseAllowedResourcesInner
|
|
322
|
+
*/
|
|
323
|
+
'allowed': boolean;
|
|
324
|
+
/**
|
|
325
|
+
* The policy IDs that were used to make the decision
|
|
326
|
+
* @type {Array<string>}
|
|
327
|
+
* @memberof AuthorizationBatchResponseAllowedResourcesInner
|
|
328
|
+
*/
|
|
329
|
+
'policyIds': Array<string>;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {AuthorizationBatchResponseAllowedResourcesInnerResource}
|
|
333
|
+
* @memberof AuthorizationBatchResponseAllowedResourcesInner
|
|
334
|
+
*/
|
|
335
|
+
'resource': AuthorizationBatchResponseAllowedResourcesInnerResource;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @type AuthorizationBatchResponseAllowedResourcesInnerResource
|
|
339
|
+
*
|
|
340
|
+
* @export
|
|
341
|
+
*/
|
|
342
|
+
export type AuthorizationBatchResponseAllowedResourcesInnerResource = AuthorizationRequestResourceOneOf | AuthorizationRequestResourceOneOf1 | AuthorizationRequestResourceOneOf2 | AuthorizationRequestResourceOneOf3;
|
|
343
|
+
/**
|
|
344
|
+
* Request to check if a user is authorized to perform an action(s). If you pass in an array of permissions, you will receive a single allow / deny response (based on an AND of the result for each permission).
|
|
208
345
|
* @export
|
|
209
346
|
* @interface AuthorizationRequest
|
|
210
347
|
*/
|
|
@@ -413,199 +550,52 @@ export interface ErrorResponse {
|
|
|
413
550
|
'message': string;
|
|
414
551
|
}
|
|
415
552
|
/**
|
|
416
|
-
*
|
|
417
|
-
* @export
|
|
418
|
-
* @interface GetPermissionsSuccessResponse
|
|
419
|
-
*/
|
|
420
|
-
export interface GetPermissionsSuccessResponse {
|
|
421
|
-
/**
|
|
422
|
-
*
|
|
423
|
-
* @type {Permissions & Array<string>}
|
|
424
|
-
* @memberof GetPermissionsSuccessResponse
|
|
425
|
-
*/
|
|
426
|
-
'permissions': Permissions & Array<string>;
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* Details for getting roles for a principal
|
|
430
|
-
* @export
|
|
431
|
-
* @interface GetPrincipalRolesRequestBody
|
|
432
|
-
*/
|
|
433
|
-
export interface GetPrincipalRolesRequestBody {
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {AuthorizationRequestPrincipal}
|
|
437
|
-
* @memberof GetPrincipalRolesRequestBody
|
|
438
|
-
*/
|
|
439
|
-
'principal': AuthorizationRequestPrincipal;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {AuthorizationRequestResource}
|
|
443
|
-
* @memberof GetPrincipalRolesRequestBody
|
|
444
|
-
*/
|
|
445
|
-
'resource'?: AuthorizationRequestResource;
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* Successful roles retrieval response
|
|
449
|
-
* @export
|
|
450
|
-
* @interface GetPrincipalRolesSuccessResponse
|
|
451
|
-
*/
|
|
452
|
-
export interface GetPrincipalRolesSuccessResponse {
|
|
453
|
-
/**
|
|
454
|
-
* List of roles assigned to the principal
|
|
455
|
-
* @type {Array<GetPrincipalRolesSuccessResponseRolesInner>}
|
|
456
|
-
* @memberof GetPrincipalRolesSuccessResponse
|
|
457
|
-
*/
|
|
458
|
-
'roles': Array<GetPrincipalRolesSuccessResponseRolesInner>;
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
*
|
|
553
|
+
* Feature based role and its permissions
|
|
462
554
|
* @export
|
|
463
|
-
* @interface
|
|
555
|
+
* @interface FeatureBasedRole
|
|
464
556
|
*/
|
|
465
|
-
export interface
|
|
557
|
+
export interface FeatureBasedRole {
|
|
466
558
|
/**
|
|
467
|
-
*
|
|
559
|
+
* Name of the role
|
|
468
560
|
* @type {string}
|
|
469
|
-
* @memberof
|
|
561
|
+
* @memberof FeatureBasedRole
|
|
470
562
|
*/
|
|
471
|
-
'
|
|
563
|
+
'name': string;
|
|
472
564
|
/**
|
|
473
565
|
*
|
|
474
|
-
* @type {
|
|
475
|
-
* @memberof
|
|
476
|
-
*/
|
|
477
|
-
'roleName': GetPrincipalRolesSuccessResponseRolesInnerRoleName;
|
|
478
|
-
/**
|
|
479
|
-
* Policy type
|
|
480
|
-
* @type {string}
|
|
481
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
482
|
-
*/
|
|
483
|
-
'policyType': GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum;
|
|
484
|
-
/**
|
|
485
|
-
* Date and time the role was assigned
|
|
486
|
-
* @type {string}
|
|
487
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
488
|
-
*/
|
|
489
|
-
'assignedAt': string;
|
|
490
|
-
/**
|
|
491
|
-
* User who assigned the role
|
|
492
|
-
* @type {string}
|
|
493
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
494
|
-
*/
|
|
495
|
-
'assignedBy': string;
|
|
496
|
-
/**
|
|
497
|
-
* Type of resource the role is assigned to
|
|
498
|
-
* @type {string}
|
|
499
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
500
|
-
*/
|
|
501
|
-
'resourceType': GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum;
|
|
502
|
-
/**
|
|
503
|
-
* Organization ID
|
|
504
|
-
* @type {string}
|
|
505
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
506
|
-
*/
|
|
507
|
-
'orgId'?: string;
|
|
508
|
-
/**
|
|
509
|
-
* Property ID
|
|
510
|
-
* @type {string}
|
|
511
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
512
|
-
*/
|
|
513
|
-
'propertyId'?: string;
|
|
514
|
-
/**
|
|
515
|
-
* Brand ID this role is scoped to
|
|
516
|
-
* @type {string}
|
|
517
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
518
|
-
*/
|
|
519
|
-
'brandId'?: string;
|
|
520
|
-
/**
|
|
521
|
-
* Sales channel ID this role is scoped to
|
|
522
|
-
* @type {string}
|
|
523
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
566
|
+
* @type {Permissions & Array<string>}
|
|
567
|
+
* @memberof FeatureBasedRole
|
|
524
568
|
*/
|
|
525
|
-
'
|
|
526
|
-
}
|
|
527
|
-
export declare const GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum: {
|
|
528
|
-
readonly Main: "Main";
|
|
529
|
-
readonly BrandOverride: "BrandOverride";
|
|
530
|
-
readonly OrgOverride: "OrgOverride";
|
|
531
|
-
readonly Forbidden: "Forbidden";
|
|
532
|
-
};
|
|
533
|
-
export type GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum];
|
|
534
|
-
export declare const GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum: {
|
|
535
|
-
readonly Property: "Property";
|
|
536
|
-
readonly Org: "Org";
|
|
537
|
-
readonly Brand: "Brand";
|
|
538
|
-
readonly SalesChannel: "SalesChannel";
|
|
539
|
-
};
|
|
540
|
-
export type GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum];
|
|
541
|
-
/**
|
|
542
|
-
* Role name
|
|
543
|
-
* @export
|
|
544
|
-
* @interface GetPrincipalRolesSuccessResponseRolesInnerRoleName
|
|
545
|
-
*/
|
|
546
|
-
export interface GetPrincipalRolesSuccessResponseRolesInnerRoleName {
|
|
569
|
+
'permissions': Permissions & Array<string>;
|
|
547
570
|
}
|
|
548
571
|
/**
|
|
549
|
-
*
|
|
572
|
+
* Request to get authorized brands for a principal or the authenticated user based on the headers. Either principal or headers must be provided, but not both. If both are provided, the principal will be used.
|
|
550
573
|
* @export
|
|
551
|
-
* @interface
|
|
574
|
+
* @interface GetAuthorizedBrandsRequest
|
|
552
575
|
*/
|
|
553
|
-
export interface
|
|
576
|
+
export interface GetAuthorizedBrandsRequest {
|
|
554
577
|
/**
|
|
555
|
-
*
|
|
556
|
-
* @type {
|
|
557
|
-
* @memberof
|
|
578
|
+
*
|
|
579
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
580
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
558
581
|
*/
|
|
559
|
-
'
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* Successful user permissions retrieval response
|
|
563
|
-
* @export
|
|
564
|
-
* @interface GetUserPermissionsSuccessResponse
|
|
565
|
-
*/
|
|
566
|
-
export interface GetUserPermissionsSuccessResponse {
|
|
582
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
567
583
|
/**
|
|
568
|
-
*
|
|
569
|
-
* @type {{ [key: string]:
|
|
570
|
-
* @memberof
|
|
584
|
+
* Incoming request headers to be used for authentication
|
|
585
|
+
* @type {{ [key: string]: string; }}
|
|
586
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
571
587
|
*/
|
|
572
|
-
'
|
|
573
|
-
[key: string]:
|
|
588
|
+
'headers'?: {
|
|
589
|
+
[key: string]: string;
|
|
574
590
|
};
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
*
|
|
578
|
-
* @export
|
|
579
|
-
* @interface GetUserPermissionsSuccessResponseResourcesValue
|
|
580
|
-
*/
|
|
581
|
-
export interface GetUserPermissionsSuccessResponseResourcesValue {
|
|
582
591
|
/**
|
|
583
|
-
*
|
|
592
|
+
* The action to check authorisation for
|
|
584
593
|
* @type {string}
|
|
585
|
-
* @memberof
|
|
586
|
-
*/
|
|
587
|
-
'resourceType': GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum;
|
|
588
|
-
/**
|
|
589
|
-
*
|
|
590
|
-
* @type {GetUserPermissionsSuccessResponseResourcesValueResourceId}
|
|
591
|
-
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
592
|
-
*/
|
|
593
|
-
'resourceId': GetUserPermissionsSuccessResponseResourcesValueResourceId;
|
|
594
|
-
/**
|
|
595
|
-
* List of permissions that are assigned to the user for the resource
|
|
596
|
-
* @type {Array<string>}
|
|
597
|
-
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
594
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
598
595
|
*/
|
|
599
|
-
'
|
|
596
|
+
'action': GetAuthorizedBrandsRequestActionEnum;
|
|
600
597
|
}
|
|
601
|
-
export declare const
|
|
602
|
-
readonly Property: "Property";
|
|
603
|
-
readonly Org: "Org";
|
|
604
|
-
readonly Brand: "Brand";
|
|
605
|
-
readonly SalesChannel: "SalesChannel";
|
|
606
|
-
};
|
|
607
|
-
export type GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum[keyof typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum];
|
|
608
|
-
export declare const GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum: {
|
|
598
|
+
export declare const GetAuthorizedBrandsRequestActionEnum: {
|
|
609
599
|
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
610
600
|
readonly ViewApp: "ViewApp";
|
|
611
601
|
readonly CreateApp: "CreateApp";
|
|
@@ -830,47 +820,1249 @@ export declare const GetUserPermissionsSuccessResponseResourcesValuePermissionsE
|
|
|
830
820
|
readonly CreateOrg: "CreateOrg";
|
|
831
821
|
readonly EditOrg: "EditOrg";
|
|
832
822
|
readonly ViewOrg: "ViewOrg";
|
|
823
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
824
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
825
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
826
|
+
readonly RoleFactory: "RoleFactory";
|
|
833
827
|
};
|
|
834
|
-
export type
|
|
828
|
+
export type GetAuthorizedBrandsRequestActionEnum = typeof GetAuthorizedBrandsRequestActionEnum[keyof typeof GetAuthorizedBrandsRequestActionEnum];
|
|
835
829
|
/**
|
|
836
|
-
*
|
|
830
|
+
* Response containing the authorized brands
|
|
837
831
|
* @export
|
|
838
|
-
* @interface
|
|
832
|
+
* @interface GetAuthorizedBrandsResponse
|
|
839
833
|
*/
|
|
840
|
-
export interface
|
|
841
|
-
|
|
842
|
-
|
|
834
|
+
export interface GetAuthorizedBrandsResponse {
|
|
835
|
+
/**
|
|
836
|
+
* Array of allowed resources
|
|
837
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
838
|
+
* @memberof GetAuthorizedBrandsResponse
|
|
839
|
+
*/
|
|
840
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
841
|
+
/**
|
|
842
|
+
* Array of denied resources
|
|
843
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
844
|
+
* @memberof GetAuthorizedBrandsResponse
|
|
845
|
+
*/
|
|
846
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* Request to get authorized orgs for a principal or the authenticated user based on the headers. Either principal or headers must be provided, but not both. If both are provided, the principal will be used.
|
|
850
|
+
* @export
|
|
851
|
+
* @interface GetAuthorizedOrgsRequest
|
|
852
|
+
*/
|
|
853
|
+
export interface GetAuthorizedOrgsRequest {
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
857
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
858
|
+
*/
|
|
859
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
860
|
+
/**
|
|
861
|
+
* Incoming request headers to be used for authentication
|
|
862
|
+
* @type {{ [key: string]: string; }}
|
|
863
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
864
|
+
*/
|
|
865
|
+
'headers'?: {
|
|
866
|
+
[key: string]: string;
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* The action to check authorisation for
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
872
|
+
*/
|
|
873
|
+
'action': GetAuthorizedOrgsRequestActionEnum;
|
|
874
|
+
}
|
|
875
|
+
export declare const GetAuthorizedOrgsRequestActionEnum: {
|
|
876
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
877
|
+
readonly ViewApp: "ViewApp";
|
|
878
|
+
readonly CreateApp: "CreateApp";
|
|
879
|
+
readonly UpdateApp: "UpdateApp";
|
|
880
|
+
readonly ViewAppName: "ViewAppName";
|
|
881
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
882
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
883
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
884
|
+
readonly EditTeammates: "EditTeammates";
|
|
885
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
886
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
887
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
888
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
889
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
890
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
891
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
892
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
893
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
894
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
895
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
896
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
897
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
898
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
899
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
900
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
901
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
902
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
903
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
904
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
905
|
+
readonly ViewOrders: "ViewOrders";
|
|
906
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
907
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
908
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
909
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
910
|
+
readonly ViewStores: "ViewStores";
|
|
911
|
+
readonly CreateStores: "CreateStores";
|
|
912
|
+
readonly EditStores: "EditStores";
|
|
913
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
914
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
915
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
916
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
917
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
918
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
919
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
920
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
921
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
922
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
923
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
924
|
+
readonly PublishStores: "PublishStores";
|
|
925
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
926
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
927
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
928
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
929
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
930
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
931
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
932
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
933
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
934
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
935
|
+
readonly ViewMenu: "ViewMenu";
|
|
936
|
+
readonly CreateMenu: "CreateMenu";
|
|
937
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
938
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
939
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
940
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
941
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
942
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
943
|
+
readonly EditVouchers: "EditVouchers";
|
|
944
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
945
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
946
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
947
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
948
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
949
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
950
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
951
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
952
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
953
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
954
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
955
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
956
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
957
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
958
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
959
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
960
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
961
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
962
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
963
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
964
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
965
|
+
readonly EditCustomers: "EditCustomers";
|
|
966
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
967
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
968
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
969
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
970
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
971
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
972
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
973
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
974
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
975
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
976
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
977
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
978
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
979
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
980
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
981
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
982
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
983
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
984
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
985
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
986
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
987
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
988
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
989
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
990
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
991
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
992
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
993
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
994
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
995
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
996
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
997
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
998
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
999
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
1000
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
1001
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
1002
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
1003
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
1004
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
1005
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
1006
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
1007
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
1008
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
1009
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
1010
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
1011
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
1012
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
1013
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
1014
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
1015
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
1016
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
1017
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
1018
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
1019
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
1020
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
1021
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
1022
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
1023
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
1024
|
+
readonly ViewChannels: "ViewChannels";
|
|
1025
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
1026
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
1027
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
1028
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
1029
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
1030
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
1031
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
1032
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
1033
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
1034
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
1035
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
1036
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
1037
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
1038
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
1039
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
1040
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
1041
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
1042
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
1043
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
1044
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
1045
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
1046
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
1047
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
1048
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
1049
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
1050
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1051
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1052
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1053
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1054
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1055
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1056
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1057
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1058
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1059
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1060
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1061
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1062
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1063
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1064
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1065
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1066
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1067
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1068
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1069
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1070
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1071
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1072
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1073
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1074
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1075
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1076
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1077
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1078
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1079
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1080
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1081
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1082
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1083
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1084
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1085
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1086
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1087
|
+
readonly ViewBrand: "ViewBrand";
|
|
1088
|
+
readonly EditBrand: "EditBrand";
|
|
1089
|
+
readonly CreateBrand: "CreateBrand";
|
|
1090
|
+
readonly TransferBrand: "TransferBrand";
|
|
1091
|
+
readonly ViewProperty: "ViewProperty";
|
|
1092
|
+
readonly EditProperty: "EditProperty";
|
|
1093
|
+
readonly CreateProperty: "CreateProperty";
|
|
1094
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1095
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1096
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1097
|
+
readonly CreateOrg: "CreateOrg";
|
|
1098
|
+
readonly EditOrg: "EditOrg";
|
|
1099
|
+
readonly ViewOrg: "ViewOrg";
|
|
1100
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1101
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1102
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
1103
|
+
readonly RoleFactory: "RoleFactory";
|
|
1104
|
+
};
|
|
1105
|
+
export type GetAuthorizedOrgsRequestActionEnum = typeof GetAuthorizedOrgsRequestActionEnum[keyof typeof GetAuthorizedOrgsRequestActionEnum];
|
|
1106
|
+
/**
|
|
1107
|
+
* The principal to get authorized entities for
|
|
1108
|
+
* @export
|
|
1109
|
+
* @interface GetAuthorizedOrgsRequestPrincipal
|
|
1110
|
+
*/
|
|
1111
|
+
export interface GetAuthorizedOrgsRequestPrincipal {
|
|
1112
|
+
/**
|
|
1113
|
+
*
|
|
1114
|
+
* @type {string}
|
|
1115
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1116
|
+
*/
|
|
1117
|
+
'type': GetAuthorizedOrgsRequestPrincipalTypeEnum;
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @type {string}
|
|
1121
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1122
|
+
*/
|
|
1123
|
+
'id': string;
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {string}
|
|
1127
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1128
|
+
*/
|
|
1129
|
+
'name'?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @type {string}
|
|
1133
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1134
|
+
*/
|
|
1135
|
+
'email'?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* @type {string}
|
|
1139
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1140
|
+
*/
|
|
1141
|
+
'phone'?: string;
|
|
1142
|
+
}
|
|
1143
|
+
export declare const GetAuthorizedOrgsRequestPrincipalTypeEnum: {
|
|
1144
|
+
readonly User: "User";
|
|
1145
|
+
readonly Automation: "Automation";
|
|
1146
|
+
};
|
|
1147
|
+
export type GetAuthorizedOrgsRequestPrincipalTypeEnum = typeof GetAuthorizedOrgsRequestPrincipalTypeEnum[keyof typeof GetAuthorizedOrgsRequestPrincipalTypeEnum];
|
|
1148
|
+
/**
|
|
1149
|
+
* Response containing the authorized orgs
|
|
1150
|
+
* @export
|
|
1151
|
+
* @interface GetAuthorizedOrgsResponse
|
|
1152
|
+
*/
|
|
1153
|
+
export interface GetAuthorizedOrgsResponse {
|
|
1154
|
+
/**
|
|
1155
|
+
* Array of allowed resources
|
|
1156
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1157
|
+
* @memberof GetAuthorizedOrgsResponse
|
|
1158
|
+
*/
|
|
1159
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Array of denied resources
|
|
1162
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1163
|
+
* @memberof GetAuthorizedOrgsResponse
|
|
1164
|
+
*/
|
|
1165
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* Request to get authorized properties for a principal or the authenticated user based on the headers. Either principal or headers must be provided, but not both. If both are provided, the principal will be used.
|
|
1169
|
+
* @export
|
|
1170
|
+
* @interface GetAuthorizedPropertiesRequest
|
|
1171
|
+
*/
|
|
1172
|
+
export interface GetAuthorizedPropertiesRequest {
|
|
1173
|
+
/**
|
|
1174
|
+
*
|
|
1175
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
1176
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1177
|
+
*/
|
|
1178
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
1179
|
+
/**
|
|
1180
|
+
* Incoming request headers to be used for authentication
|
|
1181
|
+
* @type {{ [key: string]: string; }}
|
|
1182
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1183
|
+
*/
|
|
1184
|
+
'headers'?: {
|
|
1185
|
+
[key: string]: string;
|
|
1186
|
+
};
|
|
1187
|
+
/**
|
|
1188
|
+
* The action to check authorisation for
|
|
1189
|
+
* @type {string}
|
|
1190
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1191
|
+
*/
|
|
1192
|
+
'action': GetAuthorizedPropertiesRequestActionEnum;
|
|
1193
|
+
}
|
|
1194
|
+
export declare const GetAuthorizedPropertiesRequestActionEnum: {
|
|
1195
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
1196
|
+
readonly ViewApp: "ViewApp";
|
|
1197
|
+
readonly CreateApp: "CreateApp";
|
|
1198
|
+
readonly UpdateApp: "UpdateApp";
|
|
1199
|
+
readonly ViewAppName: "ViewAppName";
|
|
1200
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
1201
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
1202
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
1203
|
+
readonly EditTeammates: "EditTeammates";
|
|
1204
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
1205
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
1206
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
1207
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
1208
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
1209
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
1210
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
1211
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
1212
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
1213
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
1214
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
1215
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
1216
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
1217
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
1218
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
1219
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
1220
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
1221
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
1222
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
1223
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
1224
|
+
readonly ViewOrders: "ViewOrders";
|
|
1225
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
1226
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
1227
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
1228
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
1229
|
+
readonly ViewStores: "ViewStores";
|
|
1230
|
+
readonly CreateStores: "CreateStores";
|
|
1231
|
+
readonly EditStores: "EditStores";
|
|
1232
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
1233
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
1234
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
1235
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
1236
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
1237
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
1238
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
1239
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
1240
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
1241
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
1242
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
1243
|
+
readonly PublishStores: "PublishStores";
|
|
1244
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
1245
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
1246
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
1247
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
1248
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
1249
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
1250
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
1251
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
1252
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
1253
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
1254
|
+
readonly ViewMenu: "ViewMenu";
|
|
1255
|
+
readonly CreateMenu: "CreateMenu";
|
|
1256
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
1257
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
1258
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
1259
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
1260
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
1261
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
1262
|
+
readonly EditVouchers: "EditVouchers";
|
|
1263
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
1264
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
1265
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
1266
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
1267
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
1268
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
1269
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
1270
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
1271
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
1272
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
1273
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
1274
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
1275
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
1276
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
1277
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
1278
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
1279
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
1280
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
1281
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
1282
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
1283
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
1284
|
+
readonly EditCustomers: "EditCustomers";
|
|
1285
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
1286
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
1287
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
1288
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
1289
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
1290
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
1291
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
1292
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
1293
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
1294
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
1295
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
1296
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
1297
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
1298
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
1299
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
1300
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
1301
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
1302
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
1303
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
1304
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
1305
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
1306
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
1307
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
1308
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
1309
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
1310
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
1311
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
1312
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
1313
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
1314
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
1315
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
1316
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
1317
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
1318
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
1319
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
1320
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
1321
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
1322
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
1323
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
1324
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
1325
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
1326
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
1327
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
1328
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
1329
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
1330
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
1331
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
1332
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
1333
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
1334
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
1335
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
1336
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
1337
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
1338
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
1339
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
1340
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
1341
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
1342
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
1343
|
+
readonly ViewChannels: "ViewChannels";
|
|
1344
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
1345
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
1346
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
1347
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
1348
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
1349
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
1350
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
1351
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
1352
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
1353
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
1354
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
1355
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
1356
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
1357
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
1358
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
1359
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
1360
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
1361
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
1362
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
1363
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
1364
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
1365
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
1366
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
1367
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
1368
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
1369
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1370
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1371
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1372
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1373
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1374
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1375
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1376
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1377
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1378
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1379
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1380
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1381
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1382
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1383
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1384
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1385
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1386
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1387
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1388
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1389
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1390
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1391
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1392
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1393
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1394
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1395
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1396
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1397
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1398
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1399
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1400
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1401
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1402
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1403
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1404
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1405
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1406
|
+
readonly ViewBrand: "ViewBrand";
|
|
1407
|
+
readonly EditBrand: "EditBrand";
|
|
1408
|
+
readonly CreateBrand: "CreateBrand";
|
|
1409
|
+
readonly TransferBrand: "TransferBrand";
|
|
1410
|
+
readonly ViewProperty: "ViewProperty";
|
|
1411
|
+
readonly EditProperty: "EditProperty";
|
|
1412
|
+
readonly CreateProperty: "CreateProperty";
|
|
1413
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1414
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1415
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1416
|
+
readonly CreateOrg: "CreateOrg";
|
|
1417
|
+
readonly EditOrg: "EditOrg";
|
|
1418
|
+
readonly ViewOrg: "ViewOrg";
|
|
1419
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1420
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1421
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
1422
|
+
readonly RoleFactory: "RoleFactory";
|
|
1423
|
+
};
|
|
1424
|
+
export type GetAuthorizedPropertiesRequestActionEnum = typeof GetAuthorizedPropertiesRequestActionEnum[keyof typeof GetAuthorizedPropertiesRequestActionEnum];
|
|
1425
|
+
/**
|
|
1426
|
+
* Response containing the authorized properties
|
|
1427
|
+
* @export
|
|
1428
|
+
* @interface GetAuthorizedPropertiesResponse
|
|
1429
|
+
*/
|
|
1430
|
+
export interface GetAuthorizedPropertiesResponse {
|
|
1431
|
+
/**
|
|
1432
|
+
* Array of allowed resources
|
|
1433
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1434
|
+
* @memberof GetAuthorizedPropertiesResponse
|
|
1435
|
+
*/
|
|
1436
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Array of denied resources
|
|
1439
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1440
|
+
* @memberof GetAuthorizedPropertiesResponse
|
|
1441
|
+
*/
|
|
1442
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* Details for getting roles for a principal
|
|
1446
|
+
* @export
|
|
1447
|
+
* @interface GetPrincipalRolesRequestBody
|
|
1448
|
+
*/
|
|
1449
|
+
export interface GetPrincipalRolesRequestBody {
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @type {AuthorizationRequestPrincipal}
|
|
1453
|
+
* @memberof GetPrincipalRolesRequestBody
|
|
1454
|
+
*/
|
|
1455
|
+
'principal': AuthorizationRequestPrincipal;
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {AuthorizationRequestResource}
|
|
1459
|
+
* @memberof GetPrincipalRolesRequestBody
|
|
1460
|
+
*/
|
|
1461
|
+
'resource'?: AuthorizationRequestResource;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Successful roles retrieval response
|
|
1465
|
+
* @export
|
|
1466
|
+
* @interface GetPrincipalRolesSuccessResponse
|
|
1467
|
+
*/
|
|
1468
|
+
export interface GetPrincipalRolesSuccessResponse {
|
|
1469
|
+
/**
|
|
1470
|
+
* List of roles assigned to the principal
|
|
1471
|
+
* @type {Array<GetPrincipalRolesSuccessResponseRolesInner>}
|
|
1472
|
+
* @memberof GetPrincipalRolesSuccessResponse
|
|
1473
|
+
*/
|
|
1474
|
+
'roles': Array<GetPrincipalRolesSuccessResponseRolesInner>;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
*
|
|
1478
|
+
* @export
|
|
1479
|
+
* @interface GetPrincipalRolesSuccessResponseRolesInner
|
|
1480
|
+
*/
|
|
1481
|
+
export interface GetPrincipalRolesSuccessResponseRolesInner {
|
|
1482
|
+
/**
|
|
1483
|
+
* Policy ID
|
|
1484
|
+
* @type {string}
|
|
1485
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1486
|
+
*/
|
|
1487
|
+
'policyId': string;
|
|
1488
|
+
/**
|
|
1489
|
+
*
|
|
1490
|
+
* @type {GetPrincipalRolesSuccessResponseRolesInnerRoleName}
|
|
1491
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1492
|
+
*/
|
|
1493
|
+
'roleName': GetPrincipalRolesSuccessResponseRolesInnerRoleName;
|
|
1494
|
+
/**
|
|
1495
|
+
* Policy type
|
|
1496
|
+
* @type {string}
|
|
1497
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1498
|
+
*/
|
|
1499
|
+
'policyType': GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum;
|
|
1500
|
+
/**
|
|
1501
|
+
* Date and time the role was assigned
|
|
1502
|
+
* @type {string}
|
|
1503
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1504
|
+
*/
|
|
1505
|
+
'assignedAt': string;
|
|
1506
|
+
/**
|
|
1507
|
+
* User who assigned the role
|
|
1508
|
+
* @type {string}
|
|
1509
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1510
|
+
*/
|
|
1511
|
+
'assignedBy': string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Type of resource the role is assigned to
|
|
1514
|
+
* @type {string}
|
|
1515
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1516
|
+
*/
|
|
1517
|
+
'resourceType'?: GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum;
|
|
1518
|
+
/**
|
|
1519
|
+
* Organization ID
|
|
1520
|
+
* @type {string}
|
|
1521
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1522
|
+
*/
|
|
1523
|
+
'orgId'?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Property ID
|
|
1526
|
+
* @type {string}
|
|
1527
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1528
|
+
*/
|
|
1529
|
+
'propertyId'?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* Brand ID this role is scoped to
|
|
1532
|
+
* @type {string}
|
|
1533
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1534
|
+
*/
|
|
1535
|
+
'brandId'?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Sales channel ID this role is scoped to
|
|
1538
|
+
* @type {string}
|
|
1539
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1540
|
+
*/
|
|
1541
|
+
'salesChannelId'?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* Principal ID this role is assigned to
|
|
1544
|
+
* @type {string}
|
|
1545
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1546
|
+
*/
|
|
1547
|
+
'principalId': string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Type of principal this role is assigned to
|
|
1550
|
+
* @type {string}
|
|
1551
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
1552
|
+
*/
|
|
1553
|
+
'principalType': GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum;
|
|
1554
|
+
}
|
|
1555
|
+
export declare const GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum: {
|
|
1556
|
+
readonly Main: "Main";
|
|
1557
|
+
readonly BrandOverride: "BrandOverride";
|
|
1558
|
+
readonly OrgOverride: "OrgOverride";
|
|
1559
|
+
readonly Forbidden: "Forbidden";
|
|
1560
|
+
readonly NamedRole: "NamedRole";
|
|
1561
|
+
};
|
|
1562
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum];
|
|
1563
|
+
export declare const GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum: {
|
|
1564
|
+
readonly Property: "Property";
|
|
1565
|
+
readonly Org: "Org";
|
|
1566
|
+
readonly Brand: "Brand";
|
|
1567
|
+
readonly SalesChannel: "SalesChannel";
|
|
1568
|
+
};
|
|
1569
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum];
|
|
1570
|
+
export declare const GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum: {
|
|
1571
|
+
readonly User: "User";
|
|
1572
|
+
readonly Automation: "Automation";
|
|
1573
|
+
};
|
|
1574
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum];
|
|
1575
|
+
/**
|
|
1576
|
+
* Role name
|
|
1577
|
+
* @export
|
|
1578
|
+
* @interface GetPrincipalRolesSuccessResponseRolesInnerRoleName
|
|
1579
|
+
*/
|
|
1580
|
+
export interface GetPrincipalRolesSuccessResponseRolesInnerRoleName {
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* Successful user permissions retrieval response
|
|
1584
|
+
* @export
|
|
1585
|
+
* @interface GetUserPermissionsSuccessResponse
|
|
1586
|
+
*/
|
|
1587
|
+
export interface GetUserPermissionsSuccessResponse {
|
|
1588
|
+
/**
|
|
1589
|
+
* Map of resource IDs to permissions
|
|
1590
|
+
* @type {{ [key: string]: GetUserPermissionsSuccessResponseResourcesValue; }}
|
|
1591
|
+
* @memberof GetUserPermissionsSuccessResponse
|
|
1592
|
+
*/
|
|
1593
|
+
'resources': {
|
|
1594
|
+
[key: string]: GetUserPermissionsSuccessResponseResourcesValue;
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @export
|
|
1600
|
+
* @interface GetUserPermissionsSuccessResponseResourcesValue
|
|
1601
|
+
*/
|
|
1602
|
+
export interface GetUserPermissionsSuccessResponseResourcesValue {
|
|
1603
|
+
/**
|
|
1604
|
+
* Type of resource the permissions are assigned to
|
|
1605
|
+
* @type {string}
|
|
1606
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
1607
|
+
*/
|
|
1608
|
+
'resourceType': GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {GetUserPermissionsSuccessResponseResourcesValueResourceId}
|
|
1612
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
1613
|
+
*/
|
|
1614
|
+
'resourceId': GetUserPermissionsSuccessResponseResourcesValueResourceId;
|
|
1615
|
+
/**
|
|
1616
|
+
* List of permissions that are assigned to the user for the resource
|
|
1617
|
+
* @type {Array<string>}
|
|
1618
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
1619
|
+
*/
|
|
1620
|
+
'permissions': Array<GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum>;
|
|
1621
|
+
}
|
|
1622
|
+
export declare const GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum: {
|
|
1623
|
+
readonly Property: "Property";
|
|
1624
|
+
readonly Org: "Org";
|
|
1625
|
+
readonly Brand: "Brand";
|
|
1626
|
+
readonly SalesChannel: "SalesChannel";
|
|
1627
|
+
};
|
|
1628
|
+
export type GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum[keyof typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum];
|
|
1629
|
+
export declare const GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum: {
|
|
1630
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
1631
|
+
readonly ViewApp: "ViewApp";
|
|
1632
|
+
readonly CreateApp: "CreateApp";
|
|
1633
|
+
readonly UpdateApp: "UpdateApp";
|
|
1634
|
+
readonly ViewAppName: "ViewAppName";
|
|
1635
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
1636
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
1637
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
1638
|
+
readonly EditTeammates: "EditTeammates";
|
|
1639
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
1640
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
1641
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
1642
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
1643
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
1644
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
1645
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
1646
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
1647
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
1648
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
1649
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
1650
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
1651
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
1652
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
1653
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
1654
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
1655
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
1656
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
1657
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
1658
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
1659
|
+
readonly ViewOrders: "ViewOrders";
|
|
1660
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
1661
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
1662
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
1663
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
1664
|
+
readonly ViewStores: "ViewStores";
|
|
1665
|
+
readonly CreateStores: "CreateStores";
|
|
1666
|
+
readonly EditStores: "EditStores";
|
|
1667
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
1668
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
1669
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
1670
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
1671
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
1672
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
1673
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
1674
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
1675
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
1676
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
1677
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
1678
|
+
readonly PublishStores: "PublishStores";
|
|
1679
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
1680
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
1681
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
1682
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
1683
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
1684
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
1685
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
1686
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
1687
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
1688
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
1689
|
+
readonly ViewMenu: "ViewMenu";
|
|
1690
|
+
readonly CreateMenu: "CreateMenu";
|
|
1691
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
1692
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
1693
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
1694
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
1695
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
1696
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
1697
|
+
readonly EditVouchers: "EditVouchers";
|
|
1698
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
1699
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
1700
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
1701
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
1702
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
1703
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
1704
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
1705
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
1706
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
1707
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
1708
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
1709
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
1710
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
1711
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
1712
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
1713
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
1714
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
1715
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
1716
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
1717
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
1718
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
1719
|
+
readonly EditCustomers: "EditCustomers";
|
|
1720
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
1721
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
1722
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
1723
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
1724
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
1725
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
1726
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
1727
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
1728
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
1729
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
1730
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
1731
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
1732
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
1733
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
1734
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
1735
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
1736
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
1737
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
1738
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
1739
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
1740
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
1741
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
1742
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
1743
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
1744
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
1745
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
1746
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
1747
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
1748
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
1749
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
1750
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
1751
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
1752
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
1753
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
1754
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
1755
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
1756
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
1757
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
1758
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
1759
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
1760
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
1761
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
1762
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
1763
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
1764
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
1765
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
1766
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
1767
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
1768
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
1769
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
1770
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
1771
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
1772
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
1773
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
1774
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
1775
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
1776
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
1777
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
1778
|
+
readonly ViewChannels: "ViewChannels";
|
|
1779
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
1780
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
1781
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
1782
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
1783
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
1784
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
1785
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
1786
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
1787
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
1788
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
1789
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
1790
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
1791
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
1792
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
1793
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
1794
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
1795
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
1796
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
1797
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
1798
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
1799
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
1800
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
1801
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
1802
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
1803
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
1804
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1805
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1806
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1807
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1808
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1809
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1810
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1811
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1812
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1813
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1814
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1815
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1816
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1817
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1818
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1819
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1820
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1821
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1822
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1823
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1824
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1825
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1826
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1827
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1828
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1829
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1830
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1831
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1832
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1833
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1834
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1835
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1836
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1837
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1838
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1839
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1840
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1841
|
+
readonly ViewBrand: "ViewBrand";
|
|
1842
|
+
readonly EditBrand: "EditBrand";
|
|
1843
|
+
readonly CreateBrand: "CreateBrand";
|
|
1844
|
+
readonly TransferBrand: "TransferBrand";
|
|
1845
|
+
readonly ViewProperty: "ViewProperty";
|
|
1846
|
+
readonly EditProperty: "EditProperty";
|
|
1847
|
+
readonly CreateProperty: "CreateProperty";
|
|
1848
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1849
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1850
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1851
|
+
readonly CreateOrg: "CreateOrg";
|
|
1852
|
+
readonly EditOrg: "EditOrg";
|
|
1853
|
+
readonly ViewOrg: "ViewOrg";
|
|
1854
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1855
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1856
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
1857
|
+
readonly RoleFactory: "RoleFactory";
|
|
1858
|
+
};
|
|
1859
|
+
export type GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = typeof GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum[keyof typeof GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum];
|
|
1860
|
+
/**
|
|
1861
|
+
* ID of the resource the permissions are assigned to
|
|
1862
|
+
* @export
|
|
1863
|
+
* @interface GetUserPermissionsSuccessResponseResourcesValueResourceId
|
|
1864
|
+
*/
|
|
1865
|
+
export interface GetUserPermissionsSuccessResponseResourcesValueResourceId {
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
843
1868
|
*
|
|
844
1869
|
* @export
|
|
845
|
-
* @interface
|
|
1870
|
+
* @interface IsInRoleRequest
|
|
846
1871
|
*/
|
|
847
|
-
export interface
|
|
1872
|
+
export interface IsInRoleRequest {
|
|
848
1873
|
/**
|
|
849
1874
|
*
|
|
1875
|
+
* @type {AuthorizationRequestPrincipal}
|
|
1876
|
+
* @memberof IsInRoleRequest
|
|
1877
|
+
*/
|
|
1878
|
+
'principal': AuthorizationRequestPrincipal;
|
|
1879
|
+
/**
|
|
1880
|
+
* Array of roles to check if the principal is in
|
|
1881
|
+
* @type {Array<string>}
|
|
1882
|
+
* @memberof IsInRoleRequest
|
|
1883
|
+
*/
|
|
1884
|
+
'roles': Array<IsInRoleRequestRolesEnum>;
|
|
1885
|
+
/**
|
|
1886
|
+
* How to check if the principal is in any/all of the roles
|
|
850
1887
|
* @type {string}
|
|
851
|
-
* @memberof
|
|
1888
|
+
* @memberof IsInRoleRequest
|
|
852
1889
|
*/
|
|
853
|
-
'
|
|
1890
|
+
'checkMode'?: IsInRoleRequestCheckModeEnum;
|
|
854
1891
|
}
|
|
1892
|
+
export declare const IsInRoleRequestRolesEnum: {
|
|
1893
|
+
readonly Admin: "Admin";
|
|
1894
|
+
readonly Factory: "Factory";
|
|
1895
|
+
};
|
|
1896
|
+
export type IsInRoleRequestRolesEnum = typeof IsInRoleRequestRolesEnum[keyof typeof IsInRoleRequestRolesEnum];
|
|
1897
|
+
export declare const IsInRoleRequestCheckModeEnum: {
|
|
1898
|
+
readonly Any: "any";
|
|
1899
|
+
readonly All: "all";
|
|
1900
|
+
};
|
|
1901
|
+
export type IsInRoleRequestCheckModeEnum = typeof IsInRoleRequestCheckModeEnum[keyof typeof IsInRoleRequestCheckModeEnum];
|
|
855
1902
|
/**
|
|
856
|
-
*
|
|
1903
|
+
* Response containing whether the principal is in any/all of the roles
|
|
1904
|
+
* @export
|
|
1905
|
+
* @interface IsInRoleResponse
|
|
1906
|
+
*/
|
|
1907
|
+
export interface IsInRoleResponse {
|
|
1908
|
+
/**
|
|
1909
|
+
* result of the check - whether the principal is in any/all of the roles
|
|
1910
|
+
* @type {boolean}
|
|
1911
|
+
* @memberof IsInRoleResponse
|
|
1912
|
+
*/
|
|
1913
|
+
'authorized': boolean;
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
* Successful feature based roles retrieval response
|
|
857
1917
|
* @export
|
|
858
|
-
* @interface
|
|
1918
|
+
* @interface ListFeatureBasedRolesSuccessResponse
|
|
859
1919
|
*/
|
|
860
|
-
export interface
|
|
1920
|
+
export interface ListFeatureBasedRolesSuccessResponse {
|
|
861
1921
|
/**
|
|
862
1922
|
*
|
|
1923
|
+
* @type {Array<FeatureBasedRole>}
|
|
1924
|
+
* @memberof ListFeatureBasedRolesSuccessResponse
|
|
1925
|
+
*/
|
|
1926
|
+
'roles': Array<FeatureBasedRole>;
|
|
1927
|
+
}
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @export
|
|
1931
|
+
* @interface ListOrgRolesSuccessResponseValueValue
|
|
1932
|
+
*/
|
|
1933
|
+
export interface ListOrgRolesSuccessResponseValueValue {
|
|
1934
|
+
/**
|
|
1935
|
+
* Type of resource the permissions are assigned to
|
|
863
1936
|
* @type {string}
|
|
864
|
-
* @memberof
|
|
1937
|
+
* @memberof ListOrgRolesSuccessResponseValueValue
|
|
865
1938
|
*/
|
|
866
|
-
'
|
|
1939
|
+
'resourceType': ListOrgRolesSuccessResponseValueValueResourceTypeEnum;
|
|
867
1940
|
/**
|
|
868
1941
|
*
|
|
869
|
-
* @type {
|
|
870
|
-
* @memberof
|
|
1942
|
+
* @type {GetUserPermissionsSuccessResponseResourcesValueResourceId}
|
|
1943
|
+
* @memberof ListOrgRolesSuccessResponseValueValue
|
|
1944
|
+
*/
|
|
1945
|
+
'resourceId': GetUserPermissionsSuccessResponseResourcesValueResourceId;
|
|
1946
|
+
/**
|
|
1947
|
+
* List of roles that are assigned to the user for the resource
|
|
1948
|
+
* @type {Array<string>}
|
|
1949
|
+
* @memberof ListOrgRolesSuccessResponseValueValue
|
|
1950
|
+
*/
|
|
1951
|
+
'roles': Array<ListOrgRolesSuccessResponseValueValueRolesEnum>;
|
|
1952
|
+
}
|
|
1953
|
+
export declare const ListOrgRolesSuccessResponseValueValueResourceTypeEnum: {
|
|
1954
|
+
readonly Property: "Property";
|
|
1955
|
+
readonly Org: "Org";
|
|
1956
|
+
readonly Brand: "Brand";
|
|
1957
|
+
readonly SalesChannel: "SalesChannel";
|
|
1958
|
+
};
|
|
1959
|
+
export type ListOrgRolesSuccessResponseValueValueResourceTypeEnum = typeof ListOrgRolesSuccessResponseValueValueResourceTypeEnum[keyof typeof ListOrgRolesSuccessResponseValueValueResourceTypeEnum];
|
|
1960
|
+
export declare const ListOrgRolesSuccessResponseValueValueRolesEnum: {
|
|
1961
|
+
readonly OrgViewer: "OrgViewer";
|
|
1962
|
+
readonly OrgManager: "OrgManager";
|
|
1963
|
+
readonly OrgAdmin: "OrgAdmin";
|
|
1964
|
+
readonly BrandViewer: "BrandViewer";
|
|
1965
|
+
readonly BrandManager: "BrandManager";
|
|
1966
|
+
readonly BrandAdmin: "BrandAdmin";
|
|
1967
|
+
readonly StoreViewer: "StoreViewer";
|
|
1968
|
+
readonly StoreEditor: "StoreEditor";
|
|
1969
|
+
readonly StoreManager: "StoreManager";
|
|
1970
|
+
readonly CustomerViewer: "CustomerViewer";
|
|
1971
|
+
readonly CustomerManager: "CustomerManager";
|
|
1972
|
+
readonly VoucherViewer: "VoucherViewer";
|
|
1973
|
+
readonly VoucherEditor: "VoucherEditor";
|
|
1974
|
+
readonly VoucherManager: "VoucherManager";
|
|
1975
|
+
readonly VoucherCampaignManager: "VoucherCampaignManager";
|
|
1976
|
+
readonly VoucherStatisticsViewer: "VoucherStatisticsViewer";
|
|
1977
|
+
readonly AnalyticsViewer: "AnalyticsViewer";
|
|
1978
|
+
readonly ReportsViewer: "ReportsViewer";
|
|
1979
|
+
readonly FinanceViewer: "FinanceViewer";
|
|
1980
|
+
readonly FinanceManager: "FinanceManager";
|
|
1981
|
+
readonly TeamViewer: "TeamViewer";
|
|
1982
|
+
readonly TeamManager: "TeamManager";
|
|
1983
|
+
readonly TeamAdmin: "TeamAdmin";
|
|
1984
|
+
readonly TechViewer: "TechViewer";
|
|
1985
|
+
readonly TechManager: "TechManager";
|
|
1986
|
+
readonly AppStoreViewer: "AppStoreViewer";
|
|
1987
|
+
readonly AppStoreManager: "AppStoreManager";
|
|
1988
|
+
readonly SalesChannelViewer: "SalesChannelViewer";
|
|
1989
|
+
readonly SalesChannelEditor: "SalesChannelEditor";
|
|
1990
|
+
readonly SalesChannelManager: "SalesChannelManager";
|
|
1991
|
+
readonly DeliveryViewer: "DeliveryViewer";
|
|
1992
|
+
readonly DeliveryManager: "DeliveryManager";
|
|
1993
|
+
readonly DriverManager: "DriverManager";
|
|
1994
|
+
readonly AuditViewer: "AuditViewer";
|
|
1995
|
+
readonly AuditManager: "AuditManager";
|
|
1996
|
+
readonly AccountsViewer: "AccountsViewer";
|
|
1997
|
+
readonly AccountsEditor: "AccountsEditor";
|
|
1998
|
+
readonly DocumentExplorerViewer: "DocumentExplorerViewer";
|
|
1999
|
+
readonly DocumentExplorerEditor: "DocumentExplorerEditor";
|
|
2000
|
+
readonly PayrollViewer: "PayrollViewer";
|
|
2001
|
+
readonly PayrollEditor: "PayrollEditor";
|
|
2002
|
+
readonly PropertyViewer: "PropertyViewer";
|
|
2003
|
+
readonly PropertyManager: "PropertyManager";
|
|
2004
|
+
readonly PropertyAdmin: "PropertyAdmin";
|
|
2005
|
+
readonly WebsiteContentEditor: "WebsiteContentEditor";
|
|
2006
|
+
readonly WebsiteContentViewer: "WebsiteContentViewer";
|
|
2007
|
+
readonly WebsiteTechViewer: "WebsiteTechViewer";
|
|
2008
|
+
readonly MenuViewer: "MenuViewer";
|
|
2009
|
+
readonly MenuEditor: "MenuEditor";
|
|
2010
|
+
readonly MenuManager: "MenuManager";
|
|
2011
|
+
readonly MenuMetaFieldManager: "MenuMetaFieldManager";
|
|
2012
|
+
readonly MenuMetaFieldEditor: "MenuMetaFieldEditor";
|
|
2013
|
+
readonly MenuMetaFieldViewer: "MenuMetaFieldViewer";
|
|
2014
|
+
readonly StoreDeliveryZoneManager: "StoreDeliveryZoneManager";
|
|
2015
|
+
readonly StoreDeliveryZoneEditor: "StoreDeliveryZoneEditor";
|
|
2016
|
+
readonly StoreDeliveryZoneViewer: "StoreDeliveryZoneViewer";
|
|
2017
|
+
readonly OrderFulfillmentManager: "OrderFulfillmentManager";
|
|
2018
|
+
readonly OrderManager: "OrderManager";
|
|
2019
|
+
readonly OrderEditor: "OrderEditor";
|
|
2020
|
+
readonly OrderViewer: "OrderViewer";
|
|
2021
|
+
readonly InventoryManager: "InventoryManager";
|
|
2022
|
+
readonly InventoryEditor: "InventoryEditor";
|
|
2023
|
+
readonly InventoryViewer: "InventoryViewer";
|
|
2024
|
+
readonly PaymentManager: "PaymentManager";
|
|
2025
|
+
readonly OnboardingManager: "OnboardingManager";
|
|
2026
|
+
readonly FeatureFlagManager: "FeatureFlagManager";
|
|
2027
|
+
readonly PropertyOwnerMisc: "PropertyOwnerMisc";
|
|
2028
|
+
readonly ManagedOwnerMisc: "ManagedOwnerMisc";
|
|
2029
|
+
readonly IntegratorMisc: "IntegratorMisc";
|
|
2030
|
+
readonly PropertyManagerMisc: "PropertyManagerMisc";
|
|
2031
|
+
readonly FinanceManagerMisc: "FinanceManagerMisc";
|
|
2032
|
+
readonly SupportMisc: "SupportMisc";
|
|
2033
|
+
};
|
|
2034
|
+
export type ListOrgRolesSuccessResponseValueValueRolesEnum = typeof ListOrgRolesSuccessResponseValueValueRolesEnum[keyof typeof ListOrgRolesSuccessResponseValueValueRolesEnum];
|
|
2035
|
+
/**
|
|
2036
|
+
* Successful permissions retrieval response
|
|
2037
|
+
* @export
|
|
2038
|
+
* @interface ListPermissionsSuccessResponse
|
|
2039
|
+
*/
|
|
2040
|
+
export interface ListPermissionsSuccessResponse {
|
|
2041
|
+
/**
|
|
2042
|
+
*
|
|
2043
|
+
* @type {Permissions & Array<string>}
|
|
2044
|
+
* @memberof ListPermissionsSuccessResponse
|
|
2045
|
+
*/
|
|
2046
|
+
'permissions': Permissions & Array<string>;
|
|
2047
|
+
}
|
|
2048
|
+
/**
|
|
2049
|
+
* Successful roles retrieval response
|
|
2050
|
+
* @export
|
|
2051
|
+
* @interface ListRolesSuccessResponse
|
|
2052
|
+
*/
|
|
2053
|
+
export interface ListRolesSuccessResponse {
|
|
2054
|
+
/**
|
|
2055
|
+
* List of named roles
|
|
2056
|
+
* @type {Array<string>}
|
|
2057
|
+
* @memberof ListRolesSuccessResponse
|
|
871
2058
|
*/
|
|
872
|
-
'
|
|
2059
|
+
'roles': Array<ListRolesSuccessResponseRolesEnum>;
|
|
873
2060
|
}
|
|
2061
|
+
export declare const ListRolesSuccessResponseRolesEnum: {
|
|
2062
|
+
readonly Admin: "Admin";
|
|
2063
|
+
readonly Factory: "Factory";
|
|
2064
|
+
};
|
|
2065
|
+
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
874
2066
|
/**
|
|
875
2067
|
*
|
|
876
2068
|
* @export
|
|
@@ -1101,6 +2293,10 @@ export declare const Permissions: {
|
|
|
1101
2293
|
readonly CreateOrg: "CreateOrg";
|
|
1102
2294
|
readonly EditOrg: "EditOrg";
|
|
1103
2295
|
readonly ViewOrg: "ViewOrg";
|
|
2296
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
2297
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
2298
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
2299
|
+
readonly RoleFactory: "RoleFactory";
|
|
1104
2300
|
};
|
|
1105
2301
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
1106
2302
|
/**
|
|
@@ -1250,25 +2446,6 @@ export interface RevokeRoleSuccessResponse {
|
|
|
1250
2446
|
*/
|
|
1251
2447
|
'message': string;
|
|
1252
2448
|
}
|
|
1253
|
-
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @export
|
|
1256
|
-
* @interface RolesInner
|
|
1257
|
-
*/
|
|
1258
|
-
export interface RolesInner {
|
|
1259
|
-
/**
|
|
1260
|
-
* Name of the role
|
|
1261
|
-
* @type {string}
|
|
1262
|
-
* @memberof RolesInner
|
|
1263
|
-
*/
|
|
1264
|
-
'name': string;
|
|
1265
|
-
/**
|
|
1266
|
-
*
|
|
1267
|
-
* @type {Permissions & Array<string>}
|
|
1268
|
-
* @memberof RolesInner
|
|
1269
|
-
*/
|
|
1270
|
-
'permissions': Permissions & Array<string>;
|
|
1271
|
-
}
|
|
1272
2449
|
/**
|
|
1273
2450
|
*
|
|
1274
2451
|
* @export
|
|
@@ -1352,7 +2529,7 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
1352
2529
|
* @throws {RequiredError}
|
|
1353
2530
|
* @memberof AuthenticationApi
|
|
1354
2531
|
*/
|
|
1355
|
-
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any>>;
|
|
2532
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}>>;
|
|
1356
2533
|
}
|
|
1357
2534
|
/**
|
|
1358
2535
|
* AuthorizationApi - axios parameter creator
|
|
@@ -1366,7 +2543,15 @@ export declare const AuthorizationApiAxiosParamCreator: (configuration?: Configu
|
|
|
1366
2543
|
* @param {*} [options] Override http request option.
|
|
1367
2544
|
* @throws {RequiredError}
|
|
1368
2545
|
*/
|
|
1369
|
-
authenticateAndAuthorize: (authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2546
|
+
authenticateAndAuthorize: (authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2547
|
+
/**
|
|
2548
|
+
* Authenticate and check if a user is in any/all of the roles
|
|
2549
|
+
* @summary Authenticate and Check Is In Role
|
|
2550
|
+
* @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
|
|
2551
|
+
* @param {*} [options] Override http request option.
|
|
2552
|
+
* @throws {RequiredError}
|
|
2553
|
+
*/
|
|
2554
|
+
authenticateAndCheckIsInRole: (authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1370
2555
|
/**
|
|
1371
2556
|
* Check if a user is authorized to perform an action
|
|
1372
2557
|
* @summary Authorize Request
|
|
@@ -1375,6 +2560,22 @@ export declare const AuthorizationApiAxiosParamCreator: (configuration?: Configu
|
|
|
1375
2560
|
* @throws {RequiredError}
|
|
1376
2561
|
*/
|
|
1377
2562
|
authorize: (authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2563
|
+
/**
|
|
2564
|
+
* Check if a user is authorized to perform an action on multiple resources
|
|
2565
|
+
* @summary Authorize Batch Request
|
|
2566
|
+
* @param {AuthorizationBatchRequest} [authorizationBatchRequest]
|
|
2567
|
+
* @param {*} [options] Override http request option.
|
|
2568
|
+
* @throws {RequiredError}
|
|
2569
|
+
*/
|
|
2570
|
+
authorizeBatch: (authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2571
|
+
/**
|
|
2572
|
+
* Check if a user is in any/all of the roles
|
|
2573
|
+
* @summary Check Is In Role
|
|
2574
|
+
* @param {IsInRoleRequest} [isInRoleRequest]
|
|
2575
|
+
* @param {*} [options] Override http request option.
|
|
2576
|
+
* @throws {RequiredError}
|
|
2577
|
+
*/
|
|
2578
|
+
checkIsInRole: (isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1378
2579
|
};
|
|
1379
2580
|
/**
|
|
1380
2581
|
* AuthorizationApi - functional programming interface
|
|
@@ -1389,6 +2590,14 @@ export declare const AuthorizationApiFp: (configuration?: Configuration) => {
|
|
|
1389
2590
|
* @throws {RequiredError}
|
|
1390
2591
|
*/
|
|
1391
2592
|
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticateAndAuthorizeResponse>>;
|
|
2593
|
+
/**
|
|
2594
|
+
* Authenticate and check if a user is in any/all of the roles
|
|
2595
|
+
* @summary Authenticate and Check Is In Role
|
|
2596
|
+
* @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
|
|
2597
|
+
* @param {*} [options] Override http request option.
|
|
2598
|
+
* @throws {RequiredError}
|
|
2599
|
+
*/
|
|
2600
|
+
authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticateAndCheckIsInRoleResponse>>;
|
|
1392
2601
|
/**
|
|
1393
2602
|
* Check if a user is authorized to perform an action
|
|
1394
2603
|
* @summary Authorize Request
|
|
@@ -1397,6 +2606,22 @@ export declare const AuthorizationApiFp: (configuration?: Configuration) => {
|
|
|
1397
2606
|
* @throws {RequiredError}
|
|
1398
2607
|
*/
|
|
1399
2608
|
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizationResponse>>;
|
|
2609
|
+
/**
|
|
2610
|
+
* Check if a user is authorized to perform an action on multiple resources
|
|
2611
|
+
* @summary Authorize Batch Request
|
|
2612
|
+
* @param {AuthorizationBatchRequest} [authorizationBatchRequest]
|
|
2613
|
+
* @param {*} [options] Override http request option.
|
|
2614
|
+
* @throws {RequiredError}
|
|
2615
|
+
*/
|
|
2616
|
+
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizationBatchResponse>>;
|
|
2617
|
+
/**
|
|
2618
|
+
* Check if a user is in any/all of the roles
|
|
2619
|
+
* @summary Check Is In Role
|
|
2620
|
+
* @param {IsInRoleRequest} [isInRoleRequest]
|
|
2621
|
+
* @param {*} [options] Override http request option.
|
|
2622
|
+
* @throws {RequiredError}
|
|
2623
|
+
*/
|
|
2624
|
+
checkIsInRole(isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IsInRoleResponse>>;
|
|
1400
2625
|
};
|
|
1401
2626
|
/**
|
|
1402
2627
|
* AuthorizationApi - factory interface
|
|
@@ -1411,6 +2636,14 @@ export declare const AuthorizationApiFactory: (configuration?: Configuration, ba
|
|
|
1411
2636
|
* @throws {RequiredError}
|
|
1412
2637
|
*/
|
|
1413
2638
|
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticateAndAuthorizeResponse>;
|
|
2639
|
+
/**
|
|
2640
|
+
* Authenticate and check if a user is in any/all of the roles
|
|
2641
|
+
* @summary Authenticate and Check Is In Role
|
|
2642
|
+
* @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
|
|
2643
|
+
* @param {*} [options] Override http request option.
|
|
2644
|
+
* @throws {RequiredError}
|
|
2645
|
+
*/
|
|
2646
|
+
authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthenticateAndCheckIsInRoleResponse>;
|
|
1414
2647
|
/**
|
|
1415
2648
|
* Check if a user is authorized to perform an action
|
|
1416
2649
|
* @summary Authorize Request
|
|
@@ -1419,6 +2652,22 @@ export declare const AuthorizationApiFactory: (configuration?: Configuration, ba
|
|
|
1419
2652
|
* @throws {RequiredError}
|
|
1420
2653
|
*/
|
|
1421
2654
|
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizationResponse>;
|
|
2655
|
+
/**
|
|
2656
|
+
* Check if a user is authorized to perform an action on multiple resources
|
|
2657
|
+
* @summary Authorize Batch Request
|
|
2658
|
+
* @param {AuthorizationBatchRequest} [authorizationBatchRequest]
|
|
2659
|
+
* @param {*} [options] Override http request option.
|
|
2660
|
+
* @throws {RequiredError}
|
|
2661
|
+
*/
|
|
2662
|
+
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizationBatchResponse>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Check if a user is in any/all of the roles
|
|
2665
|
+
* @summary Check Is In Role
|
|
2666
|
+
* @param {IsInRoleRequest} [isInRoleRequest]
|
|
2667
|
+
* @param {*} [options] Override http request option.
|
|
2668
|
+
* @throws {RequiredError}
|
|
2669
|
+
*/
|
|
2670
|
+
checkIsInRole(isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<IsInRoleResponse>;
|
|
1422
2671
|
};
|
|
1423
2672
|
/**
|
|
1424
2673
|
* AuthorizationApi - object-oriented interface
|
|
@@ -1435,7 +2684,16 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1435
2684
|
* @throws {RequiredError}
|
|
1436
2685
|
* @memberof AuthorizationApi
|
|
1437
2686
|
*/
|
|
1438
|
-
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any>>;
|
|
2687
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}>>;
|
|
2688
|
+
/**
|
|
2689
|
+
* Authenticate and check if a user is in any/all of the roles
|
|
2690
|
+
* @summary Authenticate and Check Is In Role
|
|
2691
|
+
* @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
|
|
2692
|
+
* @param {*} [options] Override http request option.
|
|
2693
|
+
* @throws {RequiredError}
|
|
2694
|
+
* @memberof AuthorizationApi
|
|
2695
|
+
*/
|
|
2696
|
+
authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndCheckIsInRoleResponse, any, {}>>;
|
|
1439
2697
|
/**
|
|
1440
2698
|
* Check if a user is authorized to perform an action
|
|
1441
2699
|
* @summary Authorize Request
|
|
@@ -1444,13 +2702,192 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1444
2702
|
* @throws {RequiredError}
|
|
1445
2703
|
* @memberof AuthorizationApi
|
|
1446
2704
|
*/
|
|
1447
|
-
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationResponse, any>>;
|
|
2705
|
+
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationResponse, any, {}>>;
|
|
2706
|
+
/**
|
|
2707
|
+
* Check if a user is authorized to perform an action on multiple resources
|
|
2708
|
+
* @summary Authorize Batch Request
|
|
2709
|
+
* @param {AuthorizationBatchRequest} [authorizationBatchRequest]
|
|
2710
|
+
* @param {*} [options] Override http request option.
|
|
2711
|
+
* @throws {RequiredError}
|
|
2712
|
+
* @memberof AuthorizationApi
|
|
2713
|
+
*/
|
|
2714
|
+
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationBatchResponse, any, {}>>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Check if a user is in any/all of the roles
|
|
2717
|
+
* @summary Check Is In Role
|
|
2718
|
+
* @param {IsInRoleRequest} [isInRoleRequest]
|
|
2719
|
+
* @param {*} [options] Override http request option.
|
|
2720
|
+
* @throws {RequiredError}
|
|
2721
|
+
* @memberof AuthorizationApi
|
|
2722
|
+
*/
|
|
2723
|
+
checkIsInRole(isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IsInRoleResponse, any, {}>>;
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
* AuthorizedEntitiesApi - axios parameter creator
|
|
2727
|
+
* @export
|
|
2728
|
+
*/
|
|
2729
|
+
export declare const AuthorizedEntitiesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2730
|
+
/**
|
|
2731
|
+
* Get the authorized brands for a given org
|
|
2732
|
+
* @summary Get Authorized Brands
|
|
2733
|
+
* @param {string} orgId
|
|
2734
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2735
|
+
* @param {*} [options] Override http request option.
|
|
2736
|
+
* @throws {RequiredError}
|
|
2737
|
+
*/
|
|
2738
|
+
getAuthorizedBrands: (orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2739
|
+
/**
|
|
2740
|
+
* Get the authorized orgs for a given principal
|
|
2741
|
+
* @summary Get Authorized Orgs
|
|
2742
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2743
|
+
* @param {*} [options] Override http request option.
|
|
2744
|
+
* @throws {RequiredError}
|
|
2745
|
+
*/
|
|
2746
|
+
getAuthorizedOrgs: (getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2747
|
+
/**
|
|
2748
|
+
* Get the authorized properties for a given org
|
|
2749
|
+
* @summary Get Authorized Properties
|
|
2750
|
+
* @param {string} orgId
|
|
2751
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2752
|
+
* @param {*} [options] Override http request option.
|
|
2753
|
+
* @throws {RequiredError}
|
|
2754
|
+
*/
|
|
2755
|
+
getAuthorizedProperties: (orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2756
|
+
};
|
|
2757
|
+
/**
|
|
2758
|
+
* AuthorizedEntitiesApi - functional programming interface
|
|
2759
|
+
* @export
|
|
2760
|
+
*/
|
|
2761
|
+
export declare const AuthorizedEntitiesApiFp: (configuration?: Configuration) => {
|
|
2762
|
+
/**
|
|
2763
|
+
* Get the authorized brands for a given org
|
|
2764
|
+
* @summary Get Authorized Brands
|
|
2765
|
+
* @param {string} orgId
|
|
2766
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2767
|
+
* @param {*} [options] Override http request option.
|
|
2768
|
+
* @throws {RequiredError}
|
|
2769
|
+
*/
|
|
2770
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedBrandsResponse>>;
|
|
2771
|
+
/**
|
|
2772
|
+
* Get the authorized orgs for a given principal
|
|
2773
|
+
* @summary Get Authorized Orgs
|
|
2774
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2775
|
+
* @param {*} [options] Override http request option.
|
|
2776
|
+
* @throws {RequiredError}
|
|
2777
|
+
*/
|
|
2778
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedOrgsResponse>>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Get the authorized properties for a given org
|
|
2781
|
+
* @summary Get Authorized Properties
|
|
2782
|
+
* @param {string} orgId
|
|
2783
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2784
|
+
* @param {*} [options] Override http request option.
|
|
2785
|
+
* @throws {RequiredError}
|
|
2786
|
+
*/
|
|
2787
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedPropertiesResponse>>;
|
|
2788
|
+
};
|
|
2789
|
+
/**
|
|
2790
|
+
* AuthorizedEntitiesApi - factory interface
|
|
2791
|
+
* @export
|
|
2792
|
+
*/
|
|
2793
|
+
export declare const AuthorizedEntitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2794
|
+
/**
|
|
2795
|
+
* Get the authorized brands for a given org
|
|
2796
|
+
* @summary Get Authorized Brands
|
|
2797
|
+
* @param {string} orgId
|
|
2798
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2799
|
+
* @param {*} [options] Override http request option.
|
|
2800
|
+
* @throws {RequiredError}
|
|
2801
|
+
*/
|
|
2802
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedBrandsResponse>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Get the authorized orgs for a given principal
|
|
2805
|
+
* @summary Get Authorized Orgs
|
|
2806
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2807
|
+
* @param {*} [options] Override http request option.
|
|
2808
|
+
* @throws {RequiredError}
|
|
2809
|
+
*/
|
|
2810
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedOrgsResponse>;
|
|
2811
|
+
/**
|
|
2812
|
+
* Get the authorized properties for a given org
|
|
2813
|
+
* @summary Get Authorized Properties
|
|
2814
|
+
* @param {string} orgId
|
|
2815
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2816
|
+
* @param {*} [options] Override http request option.
|
|
2817
|
+
* @throws {RequiredError}
|
|
2818
|
+
*/
|
|
2819
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedPropertiesResponse>;
|
|
2820
|
+
};
|
|
2821
|
+
/**
|
|
2822
|
+
* AuthorizedEntitiesApi - object-oriented interface
|
|
2823
|
+
* @export
|
|
2824
|
+
* @class AuthorizedEntitiesApi
|
|
2825
|
+
* @extends {BaseAPI}
|
|
2826
|
+
*/
|
|
2827
|
+
export declare class AuthorizedEntitiesApi extends BaseAPI {
|
|
2828
|
+
/**
|
|
2829
|
+
* Get the authorized brands for a given org
|
|
2830
|
+
* @summary Get Authorized Brands
|
|
2831
|
+
* @param {string} orgId
|
|
2832
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2833
|
+
* @param {*} [options] Override http request option.
|
|
2834
|
+
* @throws {RequiredError}
|
|
2835
|
+
* @memberof AuthorizedEntitiesApi
|
|
2836
|
+
*/
|
|
2837
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedBrandsResponse, any, {}>>;
|
|
2838
|
+
/**
|
|
2839
|
+
* Get the authorized orgs for a given principal
|
|
2840
|
+
* @summary Get Authorized Orgs
|
|
2841
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2842
|
+
* @param {*} [options] Override http request option.
|
|
2843
|
+
* @throws {RequiredError}
|
|
2844
|
+
* @memberof AuthorizedEntitiesApi
|
|
2845
|
+
*/
|
|
2846
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedOrgsResponse, any, {}>>;
|
|
2847
|
+
/**
|
|
2848
|
+
* Get the authorized properties for a given org
|
|
2849
|
+
* @summary Get Authorized Properties
|
|
2850
|
+
* @param {string} orgId
|
|
2851
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2852
|
+
* @param {*} [options] Override http request option.
|
|
2853
|
+
* @throws {RequiredError}
|
|
2854
|
+
* @memberof AuthorizedEntitiesApi
|
|
2855
|
+
*/
|
|
2856
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedPropertiesResponse, any, {}>>;
|
|
1448
2857
|
}
|
|
1449
2858
|
/**
|
|
1450
|
-
*
|
|
2859
|
+
* ConfigurationDataApi - axios parameter creator
|
|
1451
2860
|
* @export
|
|
1452
2861
|
*/
|
|
1453
|
-
export declare const
|
|
2862
|
+
export declare const ConfigurationDataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2863
|
+
/**
|
|
2864
|
+
* List the available feature based roles
|
|
2865
|
+
* @summary List Feature Based Roles
|
|
2866
|
+
* @param {*} [options] Override http request option.
|
|
2867
|
+
* @throws {RequiredError}
|
|
2868
|
+
*/
|
|
2869
|
+
configListFeatureBasedRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2870
|
+
/**
|
|
2871
|
+
* List the available permissions
|
|
2872
|
+
* @summary List Permissions
|
|
2873
|
+
* @param {*} [options] Override http request option.
|
|
2874
|
+
* @throws {RequiredError}
|
|
2875
|
+
*/
|
|
2876
|
+
configListPermissions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2877
|
+
/**
|
|
2878
|
+
* List the available roles
|
|
2879
|
+
* @summary List Roles
|
|
2880
|
+
* @param {*} [options] Override http request option.
|
|
2881
|
+
* @throws {RequiredError}
|
|
2882
|
+
*/
|
|
2883
|
+
configListRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2884
|
+
/**
|
|
2885
|
+
* List the available feature based roles
|
|
2886
|
+
* @summary List Feature Based Roles
|
|
2887
|
+
* @param {*} [options] Override http request option.
|
|
2888
|
+
* @throws {RequiredError}
|
|
2889
|
+
*/
|
|
2890
|
+
listFeatureBasedRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1454
2891
|
/**
|
|
1455
2892
|
* List the available permissions
|
|
1456
2893
|
* @summary List Permissions
|
|
@@ -1458,48 +2895,165 @@ export declare const PermissionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
1458
2895
|
* @throws {RequiredError}
|
|
1459
2896
|
*/
|
|
1460
2897
|
listPermissions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2898
|
+
/**
|
|
2899
|
+
* List the available roles
|
|
2900
|
+
* @summary List Roles
|
|
2901
|
+
* @param {*} [options] Override http request option.
|
|
2902
|
+
* @throws {RequiredError}
|
|
2903
|
+
*/
|
|
2904
|
+
listRoles: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1461
2905
|
};
|
|
1462
2906
|
/**
|
|
1463
|
-
*
|
|
2907
|
+
* ConfigurationDataApi - functional programming interface
|
|
1464
2908
|
* @export
|
|
1465
2909
|
*/
|
|
1466
|
-
export declare const
|
|
2910
|
+
export declare const ConfigurationDataApiFp: (configuration?: Configuration) => {
|
|
2911
|
+
/**
|
|
2912
|
+
* List the available feature based roles
|
|
2913
|
+
* @summary List Feature Based Roles
|
|
2914
|
+
* @param {*} [options] Override http request option.
|
|
2915
|
+
* @throws {RequiredError}
|
|
2916
|
+
*/
|
|
2917
|
+
configListFeatureBasedRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFeatureBasedRolesSuccessResponse>>;
|
|
2918
|
+
/**
|
|
2919
|
+
* List the available permissions
|
|
2920
|
+
* @summary List Permissions
|
|
2921
|
+
* @param {*} [options] Override http request option.
|
|
2922
|
+
* @throws {RequiredError}
|
|
2923
|
+
*/
|
|
2924
|
+
configListPermissions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPermissionsSuccessResponse>>;
|
|
2925
|
+
/**
|
|
2926
|
+
* List the available roles
|
|
2927
|
+
* @summary List Roles
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
*/
|
|
2931
|
+
configListRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesSuccessResponse>>;
|
|
2932
|
+
/**
|
|
2933
|
+
* List the available feature based roles
|
|
2934
|
+
* @summary List Feature Based Roles
|
|
2935
|
+
* @param {*} [options] Override http request option.
|
|
2936
|
+
* @throws {RequiredError}
|
|
2937
|
+
*/
|
|
2938
|
+
listFeatureBasedRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFeatureBasedRolesSuccessResponse>>;
|
|
1467
2939
|
/**
|
|
1468
2940
|
* List the available permissions
|
|
1469
2941
|
* @summary List Permissions
|
|
1470
2942
|
* @param {*} [options] Override http request option.
|
|
1471
2943
|
* @throws {RequiredError}
|
|
1472
2944
|
*/
|
|
1473
|
-
listPermissions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2945
|
+
listPermissions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPermissionsSuccessResponse>>;
|
|
2946
|
+
/**
|
|
2947
|
+
* List the available roles
|
|
2948
|
+
* @summary List Roles
|
|
2949
|
+
* @param {*} [options] Override http request option.
|
|
2950
|
+
* @throws {RequiredError}
|
|
2951
|
+
*/
|
|
2952
|
+
listRoles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesSuccessResponse>>;
|
|
1474
2953
|
};
|
|
1475
2954
|
/**
|
|
1476
|
-
*
|
|
2955
|
+
* ConfigurationDataApi - factory interface
|
|
1477
2956
|
* @export
|
|
1478
2957
|
*/
|
|
1479
|
-
export declare const
|
|
2958
|
+
export declare const ConfigurationDataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2959
|
+
/**
|
|
2960
|
+
* List the available feature based roles
|
|
2961
|
+
* @summary List Feature Based Roles
|
|
2962
|
+
* @param {*} [options] Override http request option.
|
|
2963
|
+
* @throws {RequiredError}
|
|
2964
|
+
*/
|
|
2965
|
+
configListFeatureBasedRoles(options?: RawAxiosRequestConfig): AxiosPromise<ListFeatureBasedRolesSuccessResponse>;
|
|
2966
|
+
/**
|
|
2967
|
+
* List the available permissions
|
|
2968
|
+
* @summary List Permissions
|
|
2969
|
+
* @param {*} [options] Override http request option.
|
|
2970
|
+
* @throws {RequiredError}
|
|
2971
|
+
*/
|
|
2972
|
+
configListPermissions(options?: RawAxiosRequestConfig): AxiosPromise<ListPermissionsSuccessResponse>;
|
|
2973
|
+
/**
|
|
2974
|
+
* List the available roles
|
|
2975
|
+
* @summary List Roles
|
|
2976
|
+
* @param {*} [options] Override http request option.
|
|
2977
|
+
* @throws {RequiredError}
|
|
2978
|
+
*/
|
|
2979
|
+
configListRoles(options?: RawAxiosRequestConfig): AxiosPromise<ListRolesSuccessResponse>;
|
|
2980
|
+
/**
|
|
2981
|
+
* List the available feature based roles
|
|
2982
|
+
* @summary List Feature Based Roles
|
|
2983
|
+
* @param {*} [options] Override http request option.
|
|
2984
|
+
* @throws {RequiredError}
|
|
2985
|
+
*/
|
|
2986
|
+
listFeatureBasedRoles(options?: RawAxiosRequestConfig): AxiosPromise<ListFeatureBasedRolesSuccessResponse>;
|
|
1480
2987
|
/**
|
|
1481
2988
|
* List the available permissions
|
|
1482
2989
|
* @summary List Permissions
|
|
1483
2990
|
* @param {*} [options] Override http request option.
|
|
1484
2991
|
* @throws {RequiredError}
|
|
1485
2992
|
*/
|
|
1486
|
-
listPermissions(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2993
|
+
listPermissions(options?: RawAxiosRequestConfig): AxiosPromise<ListPermissionsSuccessResponse>;
|
|
2994
|
+
/**
|
|
2995
|
+
* List the available roles
|
|
2996
|
+
* @summary List Roles
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
*/
|
|
3000
|
+
listRoles(options?: RawAxiosRequestConfig): AxiosPromise<ListRolesSuccessResponse>;
|
|
1487
3001
|
};
|
|
1488
3002
|
/**
|
|
1489
|
-
*
|
|
3003
|
+
* ConfigurationDataApi - object-oriented interface
|
|
1490
3004
|
* @export
|
|
1491
|
-
* @class
|
|
3005
|
+
* @class ConfigurationDataApi
|
|
1492
3006
|
* @extends {BaseAPI}
|
|
1493
3007
|
*/
|
|
1494
|
-
export declare class
|
|
3008
|
+
export declare class ConfigurationDataApi extends BaseAPI {
|
|
3009
|
+
/**
|
|
3010
|
+
* List the available feature based roles
|
|
3011
|
+
* @summary List Feature Based Roles
|
|
3012
|
+
* @param {*} [options] Override http request option.
|
|
3013
|
+
* @throws {RequiredError}
|
|
3014
|
+
* @memberof ConfigurationDataApi
|
|
3015
|
+
*/
|
|
3016
|
+
configListFeatureBasedRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFeatureBasedRolesSuccessResponse, any, {}>>;
|
|
1495
3017
|
/**
|
|
1496
3018
|
* List the available permissions
|
|
1497
3019
|
* @summary List Permissions
|
|
1498
3020
|
* @param {*} [options] Override http request option.
|
|
1499
3021
|
* @throws {RequiredError}
|
|
1500
|
-
* @memberof
|
|
3022
|
+
* @memberof ConfigurationDataApi
|
|
1501
3023
|
*/
|
|
1502
|
-
|
|
3024
|
+
configListPermissions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPermissionsSuccessResponse, any, {}>>;
|
|
3025
|
+
/**
|
|
3026
|
+
* List the available roles
|
|
3027
|
+
* @summary List Roles
|
|
3028
|
+
* @param {*} [options] Override http request option.
|
|
3029
|
+
* @throws {RequiredError}
|
|
3030
|
+
* @memberof ConfigurationDataApi
|
|
3031
|
+
*/
|
|
3032
|
+
configListRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesSuccessResponse, any, {}>>;
|
|
3033
|
+
/**
|
|
3034
|
+
* List the available feature based roles
|
|
3035
|
+
* @summary List Feature Based Roles
|
|
3036
|
+
* @param {*} [options] Override http request option.
|
|
3037
|
+
* @throws {RequiredError}
|
|
3038
|
+
* @memberof ConfigurationDataApi
|
|
3039
|
+
*/
|
|
3040
|
+
listFeatureBasedRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFeatureBasedRolesSuccessResponse, any, {}>>;
|
|
3041
|
+
/**
|
|
3042
|
+
* List the available permissions
|
|
3043
|
+
* @summary List Permissions
|
|
3044
|
+
* @param {*} [options] Override http request option.
|
|
3045
|
+
* @throws {RequiredError}
|
|
3046
|
+
* @memberof ConfigurationDataApi
|
|
3047
|
+
*/
|
|
3048
|
+
listPermissions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPermissionsSuccessResponse, any, {}>>;
|
|
3049
|
+
/**
|
|
3050
|
+
* List the available roles
|
|
3051
|
+
* @summary List Roles
|
|
3052
|
+
* @param {*} [options] Override http request option.
|
|
3053
|
+
* @throws {RequiredError}
|
|
3054
|
+
* @memberof ConfigurationDataApi
|
|
3055
|
+
*/
|
|
3056
|
+
listRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesSuccessResponse, any, {}>>;
|
|
1503
3057
|
}
|
|
1504
3058
|
/**
|
|
1505
3059
|
* RoleAssignmentApi - axios parameter creator
|
|
@@ -1643,7 +3197,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
1643
3197
|
* @throws {RequiredError}
|
|
1644
3198
|
* @memberof RoleAssignmentApi
|
|
1645
3199
|
*/
|
|
1646
|
-
assignRoleToPrincipal(orgId: string, assignRoleRequestBody?: AssignRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignRoleSuccessResponse, any>>;
|
|
3200
|
+
assignRoleToPrincipal(orgId: string, assignRoleRequestBody?: AssignRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignRoleSuccessResponse, any, {}>>;
|
|
1647
3201
|
/**
|
|
1648
3202
|
* Get the active roles for a given principal
|
|
1649
3203
|
* @summary Get Principal Roles
|
|
@@ -1653,7 +3207,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
1653
3207
|
* @throws {RequiredError}
|
|
1654
3208
|
* @memberof RoleAssignmentApi
|
|
1655
3209
|
*/
|
|
1656
|
-
getPrincipalRoles(orgId: string, getPrincipalRolesRequestBody?: GetPrincipalRolesRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPrincipalRolesSuccessResponse, any>>;
|
|
3210
|
+
getPrincipalRoles(orgId: string, getPrincipalRolesRequestBody?: GetPrincipalRolesRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPrincipalRolesSuccessResponse, any, {}>>;
|
|
1657
3211
|
/**
|
|
1658
3212
|
* Revokes a forbidden role from a given principal (user, group, etc.)
|
|
1659
3213
|
* @summary Revoke Forbidden Role from Principal
|
|
@@ -1663,7 +3217,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
1663
3217
|
* @throws {RequiredError}
|
|
1664
3218
|
* @memberof RoleAssignmentApi
|
|
1665
3219
|
*/
|
|
1666
|
-
revokeForbiddenRoleFromPrincipal(orgId: string, revokeForbiddenRoleRequestBody?: RevokeForbiddenRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any>>;
|
|
3220
|
+
revokeForbiddenRoleFromPrincipal(orgId: string, revokeForbiddenRoleRequestBody?: RevokeForbiddenRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any, {}>>;
|
|
1667
3221
|
/**
|
|
1668
3222
|
* Revokes a specified role from a given principal (user, group, etc.)
|
|
1669
3223
|
* @summary Revoke Role from Principal
|
|
@@ -1673,13 +3227,29 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
1673
3227
|
* @throws {RequiredError}
|
|
1674
3228
|
* @memberof RoleAssignmentApi
|
|
1675
3229
|
*/
|
|
1676
|
-
revokeRoleFromPrincipal(orgId: string, revokeRoleRequestBody?: RevokeRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any>>;
|
|
3230
|
+
revokeRoleFromPrincipal(orgId: string, revokeRoleRequestBody?: RevokeRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any, {}>>;
|
|
1677
3231
|
}
|
|
1678
3232
|
/**
|
|
1679
3233
|
* UserPermissionsApi - axios parameter creator
|
|
1680
3234
|
* @export
|
|
1681
3235
|
*/
|
|
1682
3236
|
export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3237
|
+
/**
|
|
3238
|
+
* List the available permissions for the current user
|
|
3239
|
+
* @summary List Org Permissions
|
|
3240
|
+
* @param {string} orgId
|
|
3241
|
+
* @param {*} [options] Override http request option.
|
|
3242
|
+
* @throws {RequiredError}
|
|
3243
|
+
*/
|
|
3244
|
+
listOrgPermissions: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3245
|
+
/**
|
|
3246
|
+
* List the available roles for the current user
|
|
3247
|
+
* @summary List Org Roles
|
|
3248
|
+
* @param {string} orgId
|
|
3249
|
+
* @param {*} [options] Override http request option.
|
|
3250
|
+
* @throws {RequiredError}
|
|
3251
|
+
*/
|
|
3252
|
+
listOrgRoles: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1683
3253
|
/**
|
|
1684
3254
|
* List the available permissions for the current user
|
|
1685
3255
|
* @summary List Own Permissions
|
|
@@ -1703,6 +3273,30 @@ export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
1703
3273
|
* @export
|
|
1704
3274
|
*/
|
|
1705
3275
|
export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
|
|
3276
|
+
/**
|
|
3277
|
+
* List the available permissions for the current user
|
|
3278
|
+
* @summary List Org Permissions
|
|
3279
|
+
* @param {string} orgId
|
|
3280
|
+
* @param {*} [options] Override http request option.
|
|
3281
|
+
* @throws {RequiredError}
|
|
3282
|
+
*/
|
|
3283
|
+
listOrgPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
3284
|
+
[key: string]: {
|
|
3285
|
+
[key: string]: GetUserPermissionsSuccessResponseResourcesValue;
|
|
3286
|
+
};
|
|
3287
|
+
}>>;
|
|
3288
|
+
/**
|
|
3289
|
+
* List the available roles for the current user
|
|
3290
|
+
* @summary List Org Roles
|
|
3291
|
+
* @param {string} orgId
|
|
3292
|
+
* @param {*} [options] Override http request option.
|
|
3293
|
+
* @throws {RequiredError}
|
|
3294
|
+
*/
|
|
3295
|
+
listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
3296
|
+
[key: string]: {
|
|
3297
|
+
[key: string]: ListOrgRolesSuccessResponseValueValue;
|
|
3298
|
+
};
|
|
3299
|
+
}>>;
|
|
1706
3300
|
/**
|
|
1707
3301
|
* List the available permissions for the current user
|
|
1708
3302
|
* @summary List Own Permissions
|
|
@@ -1726,6 +3320,30 @@ export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
|
|
|
1726
3320
|
* @export
|
|
1727
3321
|
*/
|
|
1728
3322
|
export declare const UserPermissionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3323
|
+
/**
|
|
3324
|
+
* List the available permissions for the current user
|
|
3325
|
+
* @summary List Org Permissions
|
|
3326
|
+
* @param {string} orgId
|
|
3327
|
+
* @param {*} [options] Override http request option.
|
|
3328
|
+
* @throws {RequiredError}
|
|
3329
|
+
*/
|
|
3330
|
+
listOrgPermissions(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
3331
|
+
[key: string]: {
|
|
3332
|
+
[key: string]: GetUserPermissionsSuccessResponseResourcesValue;
|
|
3333
|
+
};
|
|
3334
|
+
}>;
|
|
3335
|
+
/**
|
|
3336
|
+
* List the available roles for the current user
|
|
3337
|
+
* @summary List Org Roles
|
|
3338
|
+
* @param {string} orgId
|
|
3339
|
+
* @param {*} [options] Override http request option.
|
|
3340
|
+
* @throws {RequiredError}
|
|
3341
|
+
*/
|
|
3342
|
+
listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
3343
|
+
[key: string]: {
|
|
3344
|
+
[key: string]: ListOrgRolesSuccessResponseValueValue;
|
|
3345
|
+
};
|
|
3346
|
+
}>;
|
|
1729
3347
|
/**
|
|
1730
3348
|
* List the available permissions for the current user
|
|
1731
3349
|
* @summary List Own Permissions
|
|
@@ -1751,6 +3369,32 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
|
|
|
1751
3369
|
* @extends {BaseAPI}
|
|
1752
3370
|
*/
|
|
1753
3371
|
export declare class UserPermissionsApi extends BaseAPI {
|
|
3372
|
+
/**
|
|
3373
|
+
* List the available permissions for the current user
|
|
3374
|
+
* @summary List Org Permissions
|
|
3375
|
+
* @param {string} orgId
|
|
3376
|
+
* @param {*} [options] Override http request option.
|
|
3377
|
+
* @throws {RequiredError}
|
|
3378
|
+
* @memberof UserPermissionsApi
|
|
3379
|
+
*/
|
|
3380
|
+
listOrgPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3381
|
+
[key: string]: {
|
|
3382
|
+
[key: string]: GetUserPermissionsSuccessResponseResourcesValue;
|
|
3383
|
+
};
|
|
3384
|
+
}, any, {}>>;
|
|
3385
|
+
/**
|
|
3386
|
+
* List the available roles for the current user
|
|
3387
|
+
* @summary List Org Roles
|
|
3388
|
+
* @param {string} orgId
|
|
3389
|
+
* @param {*} [options] Override http request option.
|
|
3390
|
+
* @throws {RequiredError}
|
|
3391
|
+
* @memberof UserPermissionsApi
|
|
3392
|
+
*/
|
|
3393
|
+
listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3394
|
+
[key: string]: {
|
|
3395
|
+
[key: string]: ListOrgRolesSuccessResponseValueValue;
|
|
3396
|
+
};
|
|
3397
|
+
}, any, {}>>;
|
|
1754
3398
|
/**
|
|
1755
3399
|
* List the available permissions for the current user
|
|
1756
3400
|
* @summary List Own Permissions
|
|
@@ -1759,7 +3403,7 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
1759
3403
|
* @throws {RequiredError}
|
|
1760
3404
|
* @memberof UserPermissionsApi
|
|
1761
3405
|
*/
|
|
1762
|
-
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any>>;
|
|
3406
|
+
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
|
|
1763
3407
|
/**
|
|
1764
3408
|
* List the available permissions for a given user
|
|
1765
3409
|
* @summary List User Permissions
|
|
@@ -1769,5 +3413,5 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
1769
3413
|
* @throws {RequiredError}
|
|
1770
3414
|
* @memberof UserPermissionsApi
|
|
1771
3415
|
*/
|
|
1772
|
-
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any>>;
|
|
3416
|
+
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
|
|
1773
3417
|
}
|