@flipdish/authorization 0.2.31 → 0.2.32

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/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.31"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.2.32"
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
@@ -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.31"
39
+ "user-agent": "Flipdish authorization typescript SDK / 0.2.32"
40
40
  }
41
41
  };
42
42
  this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/authorization",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "description": "OpenAPI client for @flipdish/authorization",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {