@flipdish/authorization 0.0.419-rc.1788177721 → 0.0.421-rc.1788183054

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
@@ -2318,7 +2318,7 @@ export interface RematerializeRoleAssignmentRequestBody {
2318
2318
  'sk': string;
2319
2319
  }
2320
2320
  /**
2321
- * Successful role assignment rematerialization response (reconcile: add missing + revoke leftovers)
2321
+ * Successful role assignment rematerialization response
2322
2322
  * @export
2323
2323
  * @interface RematerializeRoleAssignmentSuccessResponse
2324
2324
  */
@@ -2334,19 +2334,44 @@ export interface RematerializeRoleAssignmentSuccessResponse {
2334
2334
  * @type {number}
2335
2335
  * @memberof RematerializeRoleAssignmentSuccessResponse
2336
2336
  */
2337
- 'added': number;
2337
+ 'materialized': number;
2338
2338
  /**
2339
2339
  *
2340
2340
  * @type {number}
2341
2341
  * @memberof RematerializeRoleAssignmentSuccessResponse
2342
2342
  */
2343
- 'revoked': number;
2343
+ 'applied': number;
2344
2344
  /**
2345
2345
  *
2346
- * @type {number}
2346
+ * @type {Array<RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner>}
2347
2347
  * @memberof RematerializeRoleAssignmentSuccessResponse
2348
2348
  */
2349
- 'unchanged': number;
2349
+ 'policyAssignments': Array<RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner>;
2350
+ }
2351
+ /**
2352
+ *
2353
+ * @export
2354
+ * @interface RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2355
+ */
2356
+ export interface RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner {
2357
+ /**
2358
+ *
2359
+ * @type {string}
2360
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2361
+ */
2362
+ 'policyId': string;
2363
+ /**
2364
+ *
2365
+ * @type {string}
2366
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2367
+ */
2368
+ 'assignmentPk': string;
2369
+ /**
2370
+ *
2371
+ * @type {string}
2372
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2373
+ */
2374
+ 'assignmentSk': string;
2350
2375
  }
2351
2376
  /**
2352
2377
  *
@@ -5374,7 +5399,7 @@ export const RoleAssignmentApiAxiosParamCreator = function (configuration?: Conf
5374
5399
  };
5375
5400
  },
5376
5401
  /**
5377
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
5402
+ * Rematerializes a role assignment and applies the resulting policy assignments
5378
5403
  * @summary Rematerialize Role Assignment
5379
5404
  * @param {string} orgId
5380
5405
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -5480,7 +5505,7 @@ export const RoleAssignmentApiFp = function(configuration?: Configuration) {
5480
5505
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5481
5506
  },
5482
5507
  /**
5483
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
5508
+ * Rematerializes a role assignment and applies the resulting policy assignments
5484
5509
  * @summary Rematerialize Role Assignment
5485
5510
  * @param {string} orgId
5486
5511
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -5529,7 +5554,7 @@ export const RoleAssignmentApiFactory = function (configuration?: Configuration,
5529
5554
  return localVarFp.applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then((request) => request(axios, basePath));
5530
5555
  },
5531
5556
  /**
5532
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
5557
+ * Rematerializes a role assignment and applies the resulting policy assignments
5533
5558
  * @summary Rematerialize Role Assignment
5534
5559
  * @param {string} orgId
5535
5560
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -5574,7 +5599,7 @@ export class RoleAssignmentApi extends BaseAPI {
5574
5599
  }
5575
5600
 
5576
5601
  /**
5577
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
5602
+ * Rematerializes a role assignment and applies the resulting policy assignments
5578
5603
  * @summary Rematerialize Role Assignment
5579
5604
  * @param {string} orgId
5580
5605
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
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.419-rc.1788177721"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.421-rc.1788183054"
104
104
  }
105
105
  };
106
106
 
package/dist/api.d.ts CHANGED
@@ -2231,7 +2231,7 @@ export interface RematerializeRoleAssignmentRequestBody {
2231
2231
  'sk': string;
2232
2232
  }
2233
2233
  /**
2234
- * Successful role assignment rematerialization response (reconcile: add missing + revoke leftovers)
2234
+ * Successful role assignment rematerialization response
2235
2235
  * @export
2236
2236
  * @interface RematerializeRoleAssignmentSuccessResponse
2237
2237
  */
@@ -2247,19 +2247,44 @@ export interface RematerializeRoleAssignmentSuccessResponse {
2247
2247
  * @type {number}
2248
2248
  * @memberof RematerializeRoleAssignmentSuccessResponse
2249
2249
  */
2250
- 'added': number;
2250
+ 'materialized': number;
2251
2251
  /**
2252
2252
  *
2253
2253
  * @type {number}
2254
2254
  * @memberof RematerializeRoleAssignmentSuccessResponse
2255
2255
  */
2256
- 'revoked': number;
2256
+ 'applied': number;
2257
2257
  /**
2258
2258
  *
2259
- * @type {number}
2259
+ * @type {Array<RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner>}
2260
2260
  * @memberof RematerializeRoleAssignmentSuccessResponse
2261
2261
  */
2262
- 'unchanged': number;
2262
+ 'policyAssignments': Array<RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner>;
2263
+ }
2264
+ /**
2265
+ *
2266
+ * @export
2267
+ * @interface RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2268
+ */
2269
+ export interface RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner {
2270
+ /**
2271
+ *
2272
+ * @type {string}
2273
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2274
+ */
2275
+ 'policyId': string;
2276
+ /**
2277
+ *
2278
+ * @type {string}
2279
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2280
+ */
2281
+ 'assignmentPk': string;
2282
+ /**
2283
+ *
2284
+ * @type {string}
2285
+ * @memberof RematerializeRoleAssignmentSuccessResponsePolicyAssignmentsInner
2286
+ */
2287
+ 'assignmentSk': string;
2263
2288
  }
2264
2289
  /**
2265
2290
  *
@@ -4035,7 +4060,7 @@ export declare const RoleAssignmentApiAxiosParamCreator: (configuration?: Config
4035
4060
  */
4036
4061
  applyRoleAssignment: (orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4037
4062
  /**
4038
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
4063
+ * Rematerializes a role assignment and applies the resulting policy assignments
4039
4064
  * @summary Rematerialize Role Assignment
4040
4065
  * @param {string} orgId
4041
4066
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -4068,7 +4093,7 @@ export declare const RoleAssignmentApiFp: (configuration?: Configuration) => {
4068
4093
  */
4069
4094
  applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleAssignmentSuccessResponse>>;
4070
4095
  /**
4071
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
4096
+ * Rematerializes a role assignment and applies the resulting policy assignments
4072
4097
  * @summary Rematerialize Role Assignment
4073
4098
  * @param {string} orgId
4074
4099
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -4101,7 +4126,7 @@ export declare const RoleAssignmentApiFactory: (configuration?: Configuration, b
4101
4126
  */
4102
4127
  applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<RoleAssignmentSuccessResponse>;
4103
4128
  /**
4104
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
4129
+ * Rematerializes a role assignment and applies the resulting policy assignments
4105
4130
  * @summary Rematerialize Role Assignment
4106
4131
  * @param {string} orgId
4107
4132
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -4137,7 +4162,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
4137
4162
  */
4138
4163
  applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleAssignmentSuccessResponse, any, {}, any>>;
4139
4164
  /**
4140
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
4165
+ * Rematerializes a role assignment and applies the resulting policy assignments
4141
4166
  * @summary Rematerialize Role Assignment
4142
4167
  * @param {string} orgId
4143
4168
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
package/dist/api.js CHANGED
@@ -3428,7 +3428,7 @@ var RoleAssignmentApiAxiosParamCreator = function (configuration) {
3428
3428
  });
3429
3429
  },
3430
3430
  /**
3431
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
3431
+ * Rematerializes a role assignment and applies the resulting policy assignments
3432
3432
  * @summary Rematerialize Role Assignment
3433
3433
  * @param {string} orgId
3434
3434
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -3558,7 +3558,7 @@ var RoleAssignmentApiFp = function (configuration) {
3558
3558
  });
3559
3559
  },
3560
3560
  /**
3561
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
3561
+ * Rematerializes a role assignment and applies the resulting policy assignments
3562
3562
  * @summary Rematerialize Role Assignment
3563
3563
  * @param {string} orgId
3564
3564
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -3627,7 +3627,7 @@ var RoleAssignmentApiFactory = function (configuration, basePath, axios) {
3627
3627
  return localVarFp.applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then(function (request) { return request(axios, basePath); });
3628
3628
  },
3629
3629
  /**
3630
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
3630
+ * Rematerializes a role assignment and applies the resulting policy assignments
3631
3631
  * @summary Rematerialize Role Assignment
3632
3632
  * @param {string} orgId
3633
3633
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -3676,7 +3676,7 @@ var RoleAssignmentApi = /** @class */ (function (_super) {
3676
3676
  return (0, exports.RoleAssignmentApiFp)(this.configuration).applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
3677
3677
  };
3678
3678
  /**
3679
- * Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
3679
+ * Rematerializes a role assignment and applies the resulting policy assignments
3680
3680
  * @summary Rematerialize Role Assignment
3681
3681
  * @param {string} orgId
3682
3682
  * @param {RematerializeRoleAssignmentRequestBody} [rematerializeRoleAssignmentRequestBody]
@@ -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.419-rc.1788177721"
39
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.421-rc.1788183054"
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.0.419-rc.1788177721",
3
+ "version": "0.0.421-rc.1788183054",
4
4
  "description": "OpenAPI client for @flipdish/authorization",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {