@flipdish/authorization 0.0.464-rc.1788960745 → 0.0.466-rc.1788965672
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 +14 -25
- package/configuration.ts +1 -1
- package/dist/api.d.ts +13 -25
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -986,10 +986,10 @@ export interface CreateGlobalApiKeyRequest {
|
|
|
986
986
|
'permissions': Array<string>;
|
|
987
987
|
/**
|
|
988
988
|
*
|
|
989
|
-
* @type {
|
|
989
|
+
* @type {CreateGlobalApiKeyRequestResource}
|
|
990
990
|
* @memberof CreateGlobalApiKeyRequest
|
|
991
991
|
*/
|
|
992
|
-
'
|
|
992
|
+
'resource'?: CreateGlobalApiKeyRequestResource;
|
|
993
993
|
/**
|
|
994
994
|
*
|
|
995
995
|
* @type {boolean}
|
|
@@ -1009,6 +1009,13 @@ export interface CreateGlobalApiKeyRequest {
|
|
|
1009
1009
|
*/
|
|
1010
1010
|
'orgId'?: string;
|
|
1011
1011
|
}
|
|
1012
|
+
/**
|
|
1013
|
+
* @type CreateGlobalApiKeyRequestResource
|
|
1014
|
+
* Single resource the key is scoped to (required when global is false)
|
|
1015
|
+
* @export
|
|
1016
|
+
*/
|
|
1017
|
+
export type CreateGlobalApiKeyRequestResource = AuthorizationRequestResourceOneOf | AuthorizationRequestResourceOneOf1 | AuthorizationRequestResourceOneOf2 | AuthorizationRequestResourceOneOf3;
|
|
1018
|
+
|
|
1012
1019
|
/**
|
|
1013
1020
|
*
|
|
1014
1021
|
* @export
|
|
@@ -1501,17 +1508,11 @@ export interface GlobalApiKeyStateResponse {
|
|
|
1501
1508
|
*/
|
|
1502
1509
|
'global': boolean;
|
|
1503
1510
|
/**
|
|
1504
|
-
*
|
|
1511
|
+
*
|
|
1505
1512
|
* @type {string}
|
|
1506
1513
|
* @memberof GlobalApiKeyStateResponse
|
|
1507
1514
|
*/
|
|
1508
1515
|
'avpPolicyId': string;
|
|
1509
|
-
/**
|
|
1510
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1511
|
-
* @type {Array<string>}
|
|
1512
|
-
* @memberof GlobalApiKeyStateResponse
|
|
1513
|
-
*/
|
|
1514
|
-
'avpPolicyIds': Array<string>;
|
|
1515
1516
|
/**
|
|
1516
1517
|
*
|
|
1517
1518
|
* @type {string}
|
|
@@ -1600,17 +1601,11 @@ export interface GlobalApiKeyStateResponseRevoked {
|
|
|
1600
1601
|
*/
|
|
1601
1602
|
'global': boolean;
|
|
1602
1603
|
/**
|
|
1603
|
-
*
|
|
1604
|
+
*
|
|
1604
1605
|
* @type {string}
|
|
1605
1606
|
* @memberof GlobalApiKeyStateResponseRevoked
|
|
1606
1607
|
*/
|
|
1607
1608
|
'avpPolicyId': string;
|
|
1608
|
-
/**
|
|
1609
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1610
|
-
* @type {Array<string>}
|
|
1611
|
-
* @memberof GlobalApiKeyStateResponseRevoked
|
|
1612
|
-
*/
|
|
1613
|
-
'avpPolicyIds': Array<string>;
|
|
1614
1609
|
/**
|
|
1615
1610
|
*
|
|
1616
1611
|
* @type {string}
|
|
@@ -1699,17 +1694,11 @@ export interface GlobalApiKeyStateResponseUpdated {
|
|
|
1699
1694
|
*/
|
|
1700
1695
|
'global': boolean;
|
|
1701
1696
|
/**
|
|
1702
|
-
*
|
|
1697
|
+
*
|
|
1703
1698
|
* @type {string}
|
|
1704
1699
|
* @memberof GlobalApiKeyStateResponseUpdated
|
|
1705
1700
|
*/
|
|
1706
1701
|
'avpPolicyId': string;
|
|
1707
|
-
/**
|
|
1708
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1709
|
-
* @type {Array<string>}
|
|
1710
|
-
* @memberof GlobalApiKeyStateResponseUpdated
|
|
1711
|
-
*/
|
|
1712
|
-
'avpPolicyIds': Array<string>;
|
|
1713
1702
|
/**
|
|
1714
1703
|
*
|
|
1715
1704
|
* @type {string}
|
|
@@ -3287,10 +3276,10 @@ export interface UpdateGlobalApiKeyRequest {
|
|
|
3287
3276
|
'permissions'?: Array<string>;
|
|
3288
3277
|
/**
|
|
3289
3278
|
*
|
|
3290
|
-
* @type {
|
|
3279
|
+
* @type {AuthorizationRequestResource}
|
|
3291
3280
|
* @memberof UpdateGlobalApiKeyRequest
|
|
3292
3281
|
*/
|
|
3293
|
-
'
|
|
3282
|
+
'resource'?: AuthorizationRequestResource;
|
|
3294
3283
|
/**
|
|
3295
3284
|
*
|
|
3296
3285
|
* @type {boolean}
|
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.0.
|
|
103
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.466-rc.1788965672"
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
package/dist/api.d.ts
CHANGED
|
@@ -930,10 +930,10 @@ export interface CreateGlobalApiKeyRequest {
|
|
|
930
930
|
'permissions': Array<string>;
|
|
931
931
|
/**
|
|
932
932
|
*
|
|
933
|
-
* @type {
|
|
933
|
+
* @type {CreateGlobalApiKeyRequestResource}
|
|
934
934
|
* @memberof CreateGlobalApiKeyRequest
|
|
935
935
|
*/
|
|
936
|
-
'
|
|
936
|
+
'resource'?: CreateGlobalApiKeyRequestResource;
|
|
937
937
|
/**
|
|
938
938
|
*
|
|
939
939
|
* @type {boolean}
|
|
@@ -953,6 +953,12 @@ export interface CreateGlobalApiKeyRequest {
|
|
|
953
953
|
*/
|
|
954
954
|
'orgId'?: string;
|
|
955
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* @type CreateGlobalApiKeyRequestResource
|
|
958
|
+
* Single resource the key is scoped to (required when global is false)
|
|
959
|
+
* @export
|
|
960
|
+
*/
|
|
961
|
+
export type CreateGlobalApiKeyRequestResource = AuthorizationRequestResourceOneOf | AuthorizationRequestResourceOneOf1 | AuthorizationRequestResourceOneOf2 | AuthorizationRequestResourceOneOf3;
|
|
956
962
|
/**
|
|
957
963
|
*
|
|
958
964
|
* @export
|
|
@@ -1437,17 +1443,11 @@ export interface GlobalApiKeyStateResponse {
|
|
|
1437
1443
|
*/
|
|
1438
1444
|
'global': boolean;
|
|
1439
1445
|
/**
|
|
1440
|
-
*
|
|
1446
|
+
*
|
|
1441
1447
|
* @type {string}
|
|
1442
1448
|
* @memberof GlobalApiKeyStateResponse
|
|
1443
1449
|
*/
|
|
1444
1450
|
'avpPolicyId': string;
|
|
1445
|
-
/**
|
|
1446
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1447
|
-
* @type {Array<string>}
|
|
1448
|
-
* @memberof GlobalApiKeyStateResponse
|
|
1449
|
-
*/
|
|
1450
|
-
'avpPolicyIds': Array<string>;
|
|
1451
1451
|
/**
|
|
1452
1452
|
*
|
|
1453
1453
|
* @type {string}
|
|
@@ -1533,17 +1533,11 @@ export interface GlobalApiKeyStateResponseRevoked {
|
|
|
1533
1533
|
*/
|
|
1534
1534
|
'global': boolean;
|
|
1535
1535
|
/**
|
|
1536
|
-
*
|
|
1536
|
+
*
|
|
1537
1537
|
* @type {string}
|
|
1538
1538
|
* @memberof GlobalApiKeyStateResponseRevoked
|
|
1539
1539
|
*/
|
|
1540
1540
|
'avpPolicyId': string;
|
|
1541
|
-
/**
|
|
1542
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1543
|
-
* @type {Array<string>}
|
|
1544
|
-
* @memberof GlobalApiKeyStateResponseRevoked
|
|
1545
|
-
*/
|
|
1546
|
-
'avpPolicyIds': Array<string>;
|
|
1547
1541
|
/**
|
|
1548
1542
|
*
|
|
1549
1543
|
* @type {string}
|
|
@@ -1629,17 +1623,11 @@ export interface GlobalApiKeyStateResponseUpdated {
|
|
|
1629
1623
|
*/
|
|
1630
1624
|
'global': boolean;
|
|
1631
1625
|
/**
|
|
1632
|
-
*
|
|
1626
|
+
*
|
|
1633
1627
|
* @type {string}
|
|
1634
1628
|
* @memberof GlobalApiKeyStateResponseUpdated
|
|
1635
1629
|
*/
|
|
1636
1630
|
'avpPolicyId': string;
|
|
1637
|
-
/**
|
|
1638
|
-
* AVP static policy IDs backing this key (one per scoped resource)
|
|
1639
|
-
* @type {Array<string>}
|
|
1640
|
-
* @memberof GlobalApiKeyStateResponseUpdated
|
|
1641
|
-
*/
|
|
1642
|
-
'avpPolicyIds': Array<string>;
|
|
1643
1631
|
/**
|
|
1644
1632
|
*
|
|
1645
1633
|
* @type {string}
|
|
@@ -3152,10 +3140,10 @@ export interface UpdateGlobalApiKeyRequest {
|
|
|
3152
3140
|
'permissions'?: Array<string>;
|
|
3153
3141
|
/**
|
|
3154
3142
|
*
|
|
3155
|
-
* @type {
|
|
3143
|
+
* @type {AuthorizationRequestResource}
|
|
3156
3144
|
* @memberof UpdateGlobalApiKeyRequest
|
|
3157
3145
|
*/
|
|
3158
|
-
'
|
|
3146
|
+
'resource'?: AuthorizationRequestResource;
|
|
3159
3147
|
/**
|
|
3160
3148
|
*
|
|
3161
3149
|
* @type {boolean}
|
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.0.
|
|
39
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.466-rc.1788965672"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
|
package/package.json
CHANGED