@flipdish/authorization 0.2.31 → 0.2.32-rc.1776269082
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/api.ts +16 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +14 -0
- package/dist/api.js +4 -2
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -196,6 +196,12 @@ export interface AuthenticateAndAuthorizeResponse {
|
|
|
196
196
|
* @memberof AuthenticateAndAuthorizeResponse
|
|
197
197
|
*/
|
|
198
198
|
'authentication': AuthenticateAndCheckIsInRoleResponseAuthentication;
|
|
199
|
+
/**
|
|
200
|
+
* Opaque credential to forward to downstream services. Callers should propagate this value without inspecting it.
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof AuthenticateAndAuthorizeResponse
|
|
203
|
+
*/
|
|
204
|
+
'forwardableCredential'?: string;
|
|
199
205
|
/**
|
|
200
206
|
*
|
|
201
207
|
* @type {AuthorizationResponse}
|
|
@@ -1433,7 +1439,8 @@ export const Permissions = {
|
|
|
1433
1439
|
ViewWebhooks: 'ViewWebhooks',
|
|
1434
1440
|
EditWebhooks: 'EditWebhooks',
|
|
1435
1441
|
RoleAdmin: 'RoleAdmin',
|
|
1436
|
-
RoleFactory: 'RoleFactory'
|
|
1442
|
+
RoleFactory: 'RoleFactory',
|
|
1443
|
+
RoleAuthDeveloper: 'RoleAuthDeveloper'
|
|
1437
1444
|
} as const;
|
|
1438
1445
|
|
|
1439
1446
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
@@ -1476,6 +1483,12 @@ export interface RevokeForbiddenRoleRequestBody {
|
|
|
1476
1483
|
* @memberof RevokeForbiddenRoleRequestBody
|
|
1477
1484
|
*/
|
|
1478
1485
|
'compensatingRole': RevokeForbiddenRoleRequestBodyCompensatingRoleEnum;
|
|
1486
|
+
/**
|
|
1487
|
+
* Brand ID to scope the revocation to
|
|
1488
|
+
* @type {string}
|
|
1489
|
+
* @memberof RevokeForbiddenRoleRequestBody
|
|
1490
|
+
*/
|
|
1491
|
+
'brandId'?: string;
|
|
1479
1492
|
}
|
|
1480
1493
|
|
|
1481
1494
|
export const RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = {
|
|
@@ -1619,7 +1632,8 @@ export interface RevokeRoleSuccessResponse {
|
|
|
1619
1632
|
|
|
1620
1633
|
export const RoleNames = {
|
|
1621
1634
|
Admin: 'Admin',
|
|
1622
|
-
Factory: 'Factory'
|
|
1635
|
+
Factory: 'Factory',
|
|
1636
|
+
AuthDeveloper: 'AuthDeveloper'
|
|
1623
1637
|
} as const;
|
|
1624
1638
|
|
|
1625
1639
|
export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
|
package/configuration.ts
CHANGED
|
@@ -100,7 +100,7 @@ export class Configuration {
|
|
|
100
100
|
|
|
101
101
|
const extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
102
102
|
headers: {
|
|
103
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.2.
|
|
103
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.2.32-rc.1776269082"
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
package/dist/api.d.ts
CHANGED
|
@@ -182,6 +182,12 @@ export interface AuthenticateAndAuthorizeResponse {
|
|
|
182
182
|
* @memberof AuthenticateAndAuthorizeResponse
|
|
183
183
|
*/
|
|
184
184
|
'authentication': AuthenticateAndCheckIsInRoleResponseAuthentication;
|
|
185
|
+
/**
|
|
186
|
+
* Opaque credential to forward to downstream services. Callers should propagate this value without inspecting it.
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof AuthenticateAndAuthorizeResponse
|
|
189
|
+
*/
|
|
190
|
+
'forwardableCredential'?: string;
|
|
185
191
|
/**
|
|
186
192
|
*
|
|
187
193
|
* @type {AuthorizationResponse}
|
|
@@ -1380,6 +1386,7 @@ export declare const Permissions: {
|
|
|
1380
1386
|
readonly EditWebhooks: "EditWebhooks";
|
|
1381
1387
|
readonly RoleAdmin: "RoleAdmin";
|
|
1382
1388
|
readonly RoleFactory: "RoleFactory";
|
|
1389
|
+
readonly RoleAuthDeveloper: "RoleAuthDeveloper";
|
|
1383
1390
|
};
|
|
1384
1391
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
1385
1392
|
/**
|
|
@@ -1419,6 +1426,12 @@ export interface RevokeForbiddenRoleRequestBody {
|
|
|
1419
1426
|
* @memberof RevokeForbiddenRoleRequestBody
|
|
1420
1427
|
*/
|
|
1421
1428
|
'compensatingRole': RevokeForbiddenRoleRequestBodyCompensatingRoleEnum;
|
|
1429
|
+
/**
|
|
1430
|
+
* Brand ID to scope the revocation to
|
|
1431
|
+
* @type {string}
|
|
1432
|
+
* @memberof RevokeForbiddenRoleRequestBody
|
|
1433
|
+
*/
|
|
1434
|
+
'brandId'?: string;
|
|
1422
1435
|
}
|
|
1423
1436
|
export declare const RevokeForbiddenRoleRequestBodyCompensatingRoleEnum: {
|
|
1424
1437
|
readonly OwnerCompensating: "OwnerCompensating";
|
|
@@ -1556,6 +1569,7 @@ export interface RevokeRoleSuccessResponse {
|
|
|
1556
1569
|
export declare const RoleNames: {
|
|
1557
1570
|
readonly Admin: "Admin";
|
|
1558
1571
|
readonly Factory: "Factory";
|
|
1572
|
+
readonly AuthDeveloper: "AuthDeveloper";
|
|
1559
1573
|
};
|
|
1560
1574
|
export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
|
|
1561
1575
|
/**
|
package/dist/api.js
CHANGED
|
@@ -537,7 +537,8 @@ exports.Permissions = {
|
|
|
537
537
|
ViewWebhooks: 'ViewWebhooks',
|
|
538
538
|
EditWebhooks: 'EditWebhooks',
|
|
539
539
|
RoleAdmin: 'RoleAdmin',
|
|
540
|
-
RoleFactory: 'RoleFactory'
|
|
540
|
+
RoleFactory: 'RoleFactory',
|
|
541
|
+
RoleAuthDeveloper: 'RoleAuthDeveloper'
|
|
541
542
|
};
|
|
542
543
|
exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = {
|
|
543
544
|
OwnerCompensating: 'OwnerCompensating',
|
|
@@ -628,7 +629,8 @@ exports.RevokeRoleRequestBodyRoleEnum = {
|
|
|
628
629
|
*/
|
|
629
630
|
exports.RoleNames = {
|
|
630
631
|
Admin: 'Admin',
|
|
631
|
-
Factory: 'Factory'
|
|
632
|
+
Factory: 'Factory',
|
|
633
|
+
AuthDeveloper: 'AuthDeveloper'
|
|
632
634
|
};
|
|
633
635
|
/**
|
|
634
636
|
* AuthenticationApi - axios parameter creator
|
package/dist/configuration.js
CHANGED
|
@@ -36,7 +36,7 @@ var Configuration = /** @class */ (function () {
|
|
|
36
36
|
this.serverIndex = param.serverIndex;
|
|
37
37
|
var extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
38
38
|
headers: {
|
|
39
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.2.
|
|
39
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.2.32-rc.1776269082"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
|