@flipdish/authorization 0.0.613-rc.1793106969 → 0.0.615-rc.1793109943

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
@@ -580,18 +580,6 @@ export interface AuthorizationBatchResponseAllowedResourcesInnerPrincipal {
580
580
  * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
581
581
  */
582
582
  'name'?: string;
583
- /**
584
- *
585
- * @type {string}
586
- * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
587
- */
588
- 'givenName'?: string;
589
- /**
590
- *
591
- * @type {string}
592
- * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
593
- */
594
- 'familyName'?: string;
595
583
  /**
596
584
  *
597
585
  * @type {string}
@@ -751,18 +739,6 @@ export interface AuthorizationRequestPrincipal {
751
739
  * @memberof AuthorizationRequestPrincipal
752
740
  */
753
741
  'name'?: string;
754
- /**
755
- *
756
- * @type {string}
757
- * @memberof AuthorizationRequestPrincipal
758
- */
759
- 'givenName'?: string;
760
- /**
761
- *
762
- * @type {string}
763
- * @memberof AuthorizationRequestPrincipal
764
- */
765
- 'familyName'?: string;
766
742
  /**
767
743
  *
768
744
  * @type {string}
@@ -1209,18 +1185,6 @@ export interface GetAuthorizedOrgsRequestPrincipal {
1209
1185
  * @memberof GetAuthorizedOrgsRequestPrincipal
1210
1186
  */
1211
1187
  'name'?: string;
1212
- /**
1213
- *
1214
- * @type {string}
1215
- * @memberof GetAuthorizedOrgsRequestPrincipal
1216
- */
1217
- 'givenName'?: string;
1218
- /**
1219
- *
1220
- * @type {string}
1221
- * @memberof GetAuthorizedOrgsRequestPrincipal
1222
- */
1223
- 'familyName'?: string;
1224
1188
  /**
1225
1189
  *
1226
1190
  * @type {string}
@@ -2586,18 +2550,6 @@ export interface PrincipalInOrg {
2586
2550
  * @memberof PrincipalInOrg
2587
2551
  */
2588
2552
  'name'?: string;
2589
- /**
2590
- *
2591
- * @type {string}
2592
- * @memberof PrincipalInOrg
2593
- */
2594
- 'givenName'?: string;
2595
- /**
2596
- *
2597
- * @type {string}
2598
- * @memberof PrincipalInOrg
2599
- */
2600
- 'familyName'?: string;
2601
2553
  /**
2602
2554
  *
2603
2555
  * @type {string}
@@ -2804,18 +2756,6 @@ export interface RemoveTeammateRequestBodyActor {
2804
2756
  * @memberof RemoveTeammateRequestBodyActor
2805
2757
  */
2806
2758
  'name'?: string;
2807
- /**
2808
- *
2809
- * @type {string}
2810
- * @memberof RemoveTeammateRequestBodyActor
2811
- */
2812
- 'givenName'?: string;
2813
- /**
2814
- *
2815
- * @type {string}
2816
- * @memberof RemoveTeammateRequestBodyActor
2817
- */
2818
- 'familyName'?: string;
2819
2759
  /**
2820
2760
  *
2821
2761
  * @type {string}
@@ -2863,18 +2803,6 @@ export interface RemoveTeammateRequestBodyPrincipal {
2863
2803
  * @memberof RemoveTeammateRequestBodyPrincipal
2864
2804
  */
2865
2805
  'name'?: string;
2866
- /**
2867
- *
2868
- * @type {string}
2869
- * @memberof RemoveTeammateRequestBodyPrincipal
2870
- */
2871
- 'givenName'?: string;
2872
- /**
2873
- *
2874
- * @type {string}
2875
- * @memberof RemoveTeammateRequestBodyPrincipal
2876
- */
2877
- 'familyName'?: string;
2878
2806
  /**
2879
2807
  *
2880
2808
  * @type {string}
@@ -3000,18 +2928,6 @@ export interface RoleAssignmentRequestBodyActor {
3000
2928
  * @memberof RoleAssignmentRequestBodyActor
3001
2929
  */
3002
2930
  'name'?: string;
3003
- /**
3004
- *
3005
- * @type {string}
3006
- * @memberof RoleAssignmentRequestBodyActor
3007
- */
3008
- 'givenName'?: string;
3009
- /**
3010
- *
3011
- * @type {string}
3012
- * @memberof RoleAssignmentRequestBodyActor
3013
- */
3014
- 'familyName'?: string;
3015
2931
  /**
3016
2932
  *
3017
2933
  * @type {string}
@@ -3059,18 +2975,6 @@ export interface RoleAssignmentRequestBodyPrincipal {
3059
2975
  * @memberof RoleAssignmentRequestBodyPrincipal
3060
2976
  */
3061
2977
  'name'?: string;
3062
- /**
3063
- *
3064
- * @type {string}
3065
- * @memberof RoleAssignmentRequestBodyPrincipal
3066
- */
3067
- 'givenName'?: string;
3068
- /**
3069
- *
3070
- * @type {string}
3071
- * @memberof RoleAssignmentRequestBodyPrincipal
3072
- */
3073
- 'familyName'?: string;
3074
2978
  /**
3075
2979
  *
3076
2980
  * @type {string}
@@ -3193,32 +3097,6 @@ export const RoleNames = {
3193
3097
  export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
3194
3098
 
3195
3099
 
3196
- /**
3197
- *
3198
- * @export
3199
- * @interface StartAuth0NameBackfill202Response
3200
- */
3201
- export interface StartAuth0NameBackfill202Response {
3202
- /**
3203
- *
3204
- * @type {string}
3205
- * @memberof StartAuth0NameBackfill202Response
3206
- */
3207
- 'jobId': string;
3208
- /**
3209
- *
3210
- * @type {string}
3211
- * @memberof StartAuth0NameBackfill202Response
3212
- */
3213
- 'status': StartAuth0NameBackfill202ResponseStatusEnum;
3214
- }
3215
-
3216
- export const StartAuth0NameBackfill202ResponseStatusEnum = {
3217
- Accepted: 'ACCEPTED'
3218
- } as const;
3219
-
3220
- export type StartAuth0NameBackfill202ResponseStatusEnum = typeof StartAuth0NameBackfill202ResponseStatusEnum[keyof typeof StartAuth0NameBackfill202ResponseStatusEnum];
3221
-
3222
3100
  /**
3223
3101
  * A temporary timed access grant
3224
3102
  * @export
@@ -4053,110 +3931,6 @@ export const ListGlobalApiKeysStatusEnum = {
4053
3931
  export type ListGlobalApiKeysStatusEnum = typeof ListGlobalApiKeysStatusEnum[keyof typeof ListGlobalApiKeysStatusEnum];
4054
3932
 
4055
3933
 
4056
- /**
4057
- * AdminApi - axios parameter creator
4058
- * @export
4059
- */
4060
- export const AdminApiAxiosParamCreator = function (configuration?: Configuration) {
4061
- return {
4062
- /**
4063
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
4064
- * @summary Start an Auth0 name backfill
4065
- * @param {*} [options] Override http request option.
4066
- * @throws {RequiredError}
4067
- */
4068
- startAuth0NameBackfill: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4069
- const localVarPath = `/admin/auth0/nameBackfills`;
4070
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4071
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4072
- let baseOptions;
4073
- if (configuration) {
4074
- baseOptions = configuration.baseOptions;
4075
- }
4076
-
4077
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4078
- const localVarHeaderParameter = {} as any;
4079
- const localVarQueryParameter = {} as any;
4080
-
4081
- // authentication ApiKeyAuth required
4082
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4083
-
4084
-
4085
-
4086
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4087
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4088
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4089
-
4090
- return {
4091
- url: toPathString(localVarUrlObj),
4092
- options: localVarRequestOptions,
4093
- };
4094
- },
4095
- }
4096
- };
4097
-
4098
- /**
4099
- * AdminApi - functional programming interface
4100
- * @export
4101
- */
4102
- export const AdminApiFp = function(configuration?: Configuration) {
4103
- const localVarAxiosParamCreator = AdminApiAxiosParamCreator(configuration)
4104
- return {
4105
- /**
4106
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
4107
- * @summary Start an Auth0 name backfill
4108
- * @param {*} [options] Override http request option.
4109
- * @throws {RequiredError}
4110
- */
4111
- async startAuth0NameBackfill(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartAuth0NameBackfill202Response>> {
4112
- const localVarAxiosArgs = await localVarAxiosParamCreator.startAuth0NameBackfill(options);
4113
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4114
- const localVarOperationServerBasePath = operationServerMap['AdminApi.startAuth0NameBackfill']?.[localVarOperationServerIndex]?.url;
4115
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4116
- },
4117
- }
4118
- };
4119
-
4120
- /**
4121
- * AdminApi - factory interface
4122
- * @export
4123
- */
4124
- export const AdminApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4125
- const localVarFp = AdminApiFp(configuration)
4126
- return {
4127
- /**
4128
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
4129
- * @summary Start an Auth0 name backfill
4130
- * @param {*} [options] Override http request option.
4131
- * @throws {RequiredError}
4132
- */
4133
- startAuth0NameBackfill(options?: RawAxiosRequestConfig): AxiosPromise<StartAuth0NameBackfill202Response> {
4134
- return localVarFp.startAuth0NameBackfill(options).then((request) => request(axios, basePath));
4135
- },
4136
- };
4137
- };
4138
-
4139
- /**
4140
- * AdminApi - object-oriented interface
4141
- * @export
4142
- * @class AdminApi
4143
- * @extends {BaseAPI}
4144
- */
4145
- export class AdminApi extends BaseAPI {
4146
- /**
4147
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
4148
- * @summary Start an Auth0 name backfill
4149
- * @param {*} [options] Override http request option.
4150
- * @throws {RequiredError}
4151
- * @memberof AdminApi
4152
- */
4153
- public startAuth0NameBackfill(options?: RawAxiosRequestConfig) {
4154
- return AdminApiFp(this.configuration).startAuth0NameBackfill(options).then((request) => request(this.axios, this.basePath));
4155
- }
4156
- }
4157
-
4158
-
4159
-
4160
3934
  /**
4161
3935
  * AuthenticationApi - axios parameter creator
4162
3936
  * @export
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.613-rc.1793106969"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.615-rc.1793109943"
104
104
  }
105
105
  };
106
106
 
package/dist/api.d.ts CHANGED
@@ -549,18 +549,6 @@ export interface AuthorizationBatchResponseAllowedResourcesInnerPrincipal {
549
549
  * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
550
550
  */
551
551
  'name'?: string;
552
- /**
553
- *
554
- * @type {string}
555
- * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
556
- */
557
- 'givenName'?: string;
558
- /**
559
- *
560
- * @type {string}
561
- * @memberof AuthorizationBatchResponseAllowedResourcesInnerPrincipal
562
- */
563
- 'familyName'?: string;
564
552
  /**
565
553
  *
566
554
  * @type {string}
@@ -711,18 +699,6 @@ export interface AuthorizationRequestPrincipal {
711
699
  * @memberof AuthorizationRequestPrincipal
712
700
  */
713
701
  'name'?: string;
714
- /**
715
- *
716
- * @type {string}
717
- * @memberof AuthorizationRequestPrincipal
718
- */
719
- 'givenName'?: string;
720
- /**
721
- *
722
- * @type {string}
723
- * @memberof AuthorizationRequestPrincipal
724
- */
725
- 'familyName'?: string;
726
702
  /**
727
703
  *
728
704
  * @type {string}
@@ -1152,18 +1128,6 @@ export interface GetAuthorizedOrgsRequestPrincipal {
1152
1128
  * @memberof GetAuthorizedOrgsRequestPrincipal
1153
1129
  */
1154
1130
  'name'?: string;
1155
- /**
1156
- *
1157
- * @type {string}
1158
- * @memberof GetAuthorizedOrgsRequestPrincipal
1159
- */
1160
- 'givenName'?: string;
1161
- /**
1162
- *
1163
- * @type {string}
1164
- * @memberof GetAuthorizedOrgsRequestPrincipal
1165
- */
1166
- 'familyName'?: string;
1167
1131
  /**
1168
1132
  *
1169
1133
  * @type {string}
@@ -2488,18 +2452,6 @@ export interface PrincipalInOrg {
2488
2452
  * @memberof PrincipalInOrg
2489
2453
  */
2490
2454
  'name'?: string;
2491
- /**
2492
- *
2493
- * @type {string}
2494
- * @memberof PrincipalInOrg
2495
- */
2496
- 'givenName'?: string;
2497
- /**
2498
- *
2499
- * @type {string}
2500
- * @memberof PrincipalInOrg
2501
- */
2502
- 'familyName'?: string;
2503
2455
  /**
2504
2456
  *
2505
2457
  * @type {string}
@@ -2701,18 +2653,6 @@ export interface RemoveTeammateRequestBodyActor {
2701
2653
  * @memberof RemoveTeammateRequestBodyActor
2702
2654
  */
2703
2655
  'name'?: string;
2704
- /**
2705
- *
2706
- * @type {string}
2707
- * @memberof RemoveTeammateRequestBodyActor
2708
- */
2709
- 'givenName'?: string;
2710
- /**
2711
- *
2712
- * @type {string}
2713
- * @memberof RemoveTeammateRequestBodyActor
2714
- */
2715
- 'familyName'?: string;
2716
2656
  /**
2717
2657
  *
2718
2658
  * @type {string}
@@ -2757,18 +2697,6 @@ export interface RemoveTeammateRequestBodyPrincipal {
2757
2697
  * @memberof RemoveTeammateRequestBodyPrincipal
2758
2698
  */
2759
2699
  'name'?: string;
2760
- /**
2761
- *
2762
- * @type {string}
2763
- * @memberof RemoveTeammateRequestBodyPrincipal
2764
- */
2765
- 'givenName'?: string;
2766
- /**
2767
- *
2768
- * @type {string}
2769
- * @memberof RemoveTeammateRequestBodyPrincipal
2770
- */
2771
- 'familyName'?: string;
2772
2700
  /**
2773
2701
  *
2774
2702
  * @type {string}
@@ -2888,18 +2816,6 @@ export interface RoleAssignmentRequestBodyActor {
2888
2816
  * @memberof RoleAssignmentRequestBodyActor
2889
2817
  */
2890
2818
  'name'?: string;
2891
- /**
2892
- *
2893
- * @type {string}
2894
- * @memberof RoleAssignmentRequestBodyActor
2895
- */
2896
- 'givenName'?: string;
2897
- /**
2898
- *
2899
- * @type {string}
2900
- * @memberof RoleAssignmentRequestBodyActor
2901
- */
2902
- 'familyName'?: string;
2903
2819
  /**
2904
2820
  *
2905
2821
  * @type {string}
@@ -2944,18 +2860,6 @@ export interface RoleAssignmentRequestBodyPrincipal {
2944
2860
  * @memberof RoleAssignmentRequestBodyPrincipal
2945
2861
  */
2946
2862
  'name'?: string;
2947
- /**
2948
- *
2949
- * @type {string}
2950
- * @memberof RoleAssignmentRequestBodyPrincipal
2951
- */
2952
- 'givenName'?: string;
2953
- /**
2954
- *
2955
- * @type {string}
2956
- * @memberof RoleAssignmentRequestBodyPrincipal
2957
- */
2958
- 'familyName'?: string;
2959
2863
  /**
2960
2864
  *
2961
2865
  * @type {string}
@@ -3068,29 +2972,6 @@ export declare const RoleNames: {
3068
2972
  readonly FlipdishStaff: "FlipdishStaff";
3069
2973
  };
3070
2974
  export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
3071
- /**
3072
- *
3073
- * @export
3074
- * @interface StartAuth0NameBackfill202Response
3075
- */
3076
- export interface StartAuth0NameBackfill202Response {
3077
- /**
3078
- *
3079
- * @type {string}
3080
- * @memberof StartAuth0NameBackfill202Response
3081
- */
3082
- 'jobId': string;
3083
- /**
3084
- *
3085
- * @type {string}
3086
- * @memberof StartAuth0NameBackfill202Response
3087
- */
3088
- 'status': StartAuth0NameBackfill202ResponseStatusEnum;
3089
- }
3090
- export declare const StartAuth0NameBackfill202ResponseStatusEnum: {
3091
- readonly Accepted: "ACCEPTED";
3092
- };
3093
- export type StartAuth0NameBackfill202ResponseStatusEnum = typeof StartAuth0NameBackfill202ResponseStatusEnum[keyof typeof StartAuth0NameBackfill202ResponseStatusEnum];
3094
2975
  /**
3095
2976
  * A temporary timed access grant
3096
2977
  * @export
@@ -3665,61 +3546,6 @@ export declare const ListGlobalApiKeysStatusEnum: {
3665
3546
  readonly Revoked: "revoked";
3666
3547
  };
3667
3548
  export type ListGlobalApiKeysStatusEnum = typeof ListGlobalApiKeysStatusEnum[keyof typeof ListGlobalApiKeysStatusEnum];
3668
- /**
3669
- * AdminApi - axios parameter creator
3670
- * @export
3671
- */
3672
- export declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => {
3673
- /**
3674
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
3675
- * @summary Start an Auth0 name backfill
3676
- * @param {*} [options] Override http request option.
3677
- * @throws {RequiredError}
3678
- */
3679
- startAuth0NameBackfill: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3680
- };
3681
- /**
3682
- * AdminApi - functional programming interface
3683
- * @export
3684
- */
3685
- export declare const AdminApiFp: (configuration?: Configuration) => {
3686
- /**
3687
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
3688
- * @summary Start an Auth0 name backfill
3689
- * @param {*} [options] Override http request option.
3690
- * @throws {RequiredError}
3691
- */
3692
- startAuth0NameBackfill(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartAuth0NameBackfill202Response>>;
3693
- };
3694
- /**
3695
- * AdminApi - factory interface
3696
- * @export
3697
- */
3698
- export declare const AdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3699
- /**
3700
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
3701
- * @summary Start an Auth0 name backfill
3702
- * @param {*} [options] Override http request option.
3703
- * @throws {RequiredError}
3704
- */
3705
- startAuth0NameBackfill(options?: RawAxiosRequestConfig): AxiosPromise<StartAuth0NameBackfill202Response>;
3706
- };
3707
- /**
3708
- * AdminApi - object-oriented interface
3709
- * @export
3710
- * @class AdminApi
3711
- * @extends {BaseAPI}
3712
- */
3713
- export declare class AdminApi extends BaseAPI {
3714
- /**
3715
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
3716
- * @summary Start an Auth0 name backfill
3717
- * @param {*} [options] Override http request option.
3718
- * @throws {RequiredError}
3719
- * @memberof AdminApi
3720
- */
3721
- startAuth0NameBackfill(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StartAuth0NameBackfill202Response, any, {}, any>>;
3722
- }
3723
3549
  /**
3724
3550
  * AuthenticationApi - axios parameter creator
3725
3551
  * @export
package/dist/api.js CHANGED
@@ -84,9 +84,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.AdminApiFp = exports.AdminApiAxiosParamCreator = exports.ListGlobalApiKeysStatusEnum = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.UnblockPrincipalAccessResponseStatusEnum = exports.TimedAccessGrantResponseStatusEnum = exports.TimedAccessGrantResponsePrincipalTypeEnum = exports.TimedAccessGrantRequestBodyRoleNameEnum = exports.TimedAccessGrantStatusEnum = exports.TimedAccessGrantPrincipalTypeEnum = exports.StartAuth0NameBackfill202ResponseStatusEnum = exports.RoleNames = exports.RoleLevelDefinitionScopeEnum = exports.RoleAssignmentRequestBodyPrincipalTypeEnum = exports.RoleAssignmentRequestBodyActorTypeEnum = exports.RoleAssignmentRequestBodyRoleNameEnum = exports.RemoveTeammateRequestBodyPrincipalTypeEnum = exports.RemoveTeammateRequestBodyActorTypeEnum = exports.PrincipalInOrgTypeEnum = exports.Permissions = exports.ListRoleDefinitionsSuccessResponseRolesInnerNameEnum = exports.ListOrgRolesSuccessResponseValueRolesEnum = exports.JoinAccessErrorResponseCodeEnum = exports.IsInRoleRequestCheckModeEnum = exports.InviteTokenResponseRoleNameEnum = exports.GlobalApiKeyStateResponseUpdatedStatusEnum = exports.GlobalApiKeyStateResponseRevokedStatusEnum = exports.GlobalApiKeyStateResponseStatusEnum = exports.GetUserRolesSuccessResponseRolesEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetJoinAccessRequest200ResponseRoleNameEnum = exports.GetJoinAccessRequest200ResponseStateEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthorizationBatchResponseAllowedResourcesInnerPrincipalTypeEnum = exports.AuthenticateApiKey200ResponseOkEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = exports.AccessRequestResponseRoleNameEnum = exports.AccessRequestResponseStateEnum = exports.AccessBlockStateResponseBlockedPrincipalTypeEnum = exports.AcceptJoinRequestRoleNameEnum = void 0;
88
- exports.UserPermissionsApiAxiosParamCreator = exports.UserManagementApi = exports.UserManagementApiFactory = exports.UserManagementApiFp = exports.UserManagementApiAxiosParamCreator = exports.ListMyTimedAccessGrantsStatusEnum = exports.TimedAccessApi = exports.TimedAccessApiFactory = exports.TimedAccessApiFp = exports.TimedAccessApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.PrincipalsApi = exports.PrincipalsApiFactory = exports.PrincipalsApiFp = exports.PrincipalsApiAxiosParamCreator = exports.ListPrincipalAccessBlocksTypeEnum = exports.GetPrincipalAccessBlockTypeEnum = exports.PrincipalAccessBlockApi = exports.PrincipalAccessBlockApiFactory = exports.PrincipalAccessBlockApiFp = exports.PrincipalAccessBlockApiAxiosParamCreator = exports.NamedRolesApi = exports.NamedRolesApiFactory = exports.NamedRolesApiFp = exports.NamedRolesApiAxiosParamCreator = exports.JoinAccessApi = exports.JoinAccessApiFactory = exports.JoinAccessApiFp = exports.JoinAccessApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.AdminApi = exports.AdminApiFactory = void 0;
89
- exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = void 0;
87
+ exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.ListGlobalApiKeysStatusEnum = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.UnblockPrincipalAccessResponseStatusEnum = exports.TimedAccessGrantResponseStatusEnum = exports.TimedAccessGrantResponsePrincipalTypeEnum = exports.TimedAccessGrantRequestBodyRoleNameEnum = exports.TimedAccessGrantStatusEnum = exports.TimedAccessGrantPrincipalTypeEnum = exports.RoleNames = exports.RoleLevelDefinitionScopeEnum = exports.RoleAssignmentRequestBodyPrincipalTypeEnum = exports.RoleAssignmentRequestBodyActorTypeEnum = exports.RoleAssignmentRequestBodyRoleNameEnum = exports.RemoveTeammateRequestBodyPrincipalTypeEnum = exports.RemoveTeammateRequestBodyActorTypeEnum = exports.PrincipalInOrgTypeEnum = exports.Permissions = exports.ListRoleDefinitionsSuccessResponseRolesInnerNameEnum = exports.ListOrgRolesSuccessResponseValueRolesEnum = exports.JoinAccessErrorResponseCodeEnum = exports.IsInRoleRequestCheckModeEnum = exports.InviteTokenResponseRoleNameEnum = exports.GlobalApiKeyStateResponseUpdatedStatusEnum = exports.GlobalApiKeyStateResponseRevokedStatusEnum = exports.GlobalApiKeyStateResponseStatusEnum = exports.GetUserRolesSuccessResponseRolesEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetJoinAccessRequest200ResponseRoleNameEnum = exports.GetJoinAccessRequest200ResponseStateEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthorizationBatchResponseAllowedResourcesInnerPrincipalTypeEnum = exports.AuthenticateApiKey200ResponseOkEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = exports.AccessRequestResponseRoleNameEnum = exports.AccessRequestResponseStateEnum = exports.AccessBlockStateResponseBlockedPrincipalTypeEnum = exports.AcceptJoinRequestRoleNameEnum = void 0;
88
+ exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = exports.UserPermissionsApiAxiosParamCreator = exports.UserManagementApi = exports.UserManagementApiFactory = exports.UserManagementApiFp = exports.UserManagementApiAxiosParamCreator = exports.ListMyTimedAccessGrantsStatusEnum = exports.TimedAccessApi = exports.TimedAccessApiFactory = exports.TimedAccessApiFp = exports.TimedAccessApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.PrincipalsApi = exports.PrincipalsApiFactory = exports.PrincipalsApiFp = exports.PrincipalsApiAxiosParamCreator = exports.ListPrincipalAccessBlocksTypeEnum = exports.GetPrincipalAccessBlockTypeEnum = exports.PrincipalAccessBlockApi = exports.PrincipalAccessBlockApiFactory = exports.PrincipalAccessBlockApiFp = exports.PrincipalAccessBlockApiAxiosParamCreator = exports.NamedRolesApi = exports.NamedRolesApiFactory = exports.NamedRolesApiFp = exports.NamedRolesApiAxiosParamCreator = exports.JoinAccessApi = exports.JoinAccessApiFactory = exports.JoinAccessApiFp = exports.JoinAccessApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = void 0;
90
89
  var axios_1 = require("axios");
91
90
  // Some imports not used depending on template conditions
92
91
  // @ts-ignore
@@ -591,9 +590,6 @@ exports.RoleNames = {
591
590
  AuthDeveloper: 'AuthDeveloper',
592
591
  FlipdishStaff: 'FlipdishStaff'
593
592
  };
594
- exports.StartAuth0NameBackfill202ResponseStatusEnum = {
595
- Accepted: 'ACCEPTED'
596
- };
597
593
  exports.TimedAccessGrantPrincipalTypeEnum = {
598
594
  User: 'User',
599
595
  Automation: 'Automation',
@@ -1203,133 +1199,6 @@ exports.ListGlobalApiKeysStatusEnum = {
1203
1199
  Active: 'active',
1204
1200
  Revoked: 'revoked'
1205
1201
  };
1206
- /**
1207
- * AdminApi - axios parameter creator
1208
- * @export
1209
- */
1210
- var AdminApiAxiosParamCreator = function (configuration) {
1211
- var _this = this;
1212
- return {
1213
- /**
1214
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
1215
- * @summary Start an Auth0 name backfill
1216
- * @param {*} [options] Override http request option.
1217
- * @throws {RequiredError}
1218
- */
1219
- startAuth0NameBackfill: function () {
1220
- var args_1 = [];
1221
- for (var _i = 0; _i < arguments.length; _i++) {
1222
- args_1[_i] = arguments[_i];
1223
- }
1224
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1225
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1226
- if (options === void 0) { options = {}; }
1227
- return __generator(this, function (_a) {
1228
- switch (_a.label) {
1229
- case 0:
1230
- localVarPath = "/admin/auth0/nameBackfills";
1231
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1232
- if (configuration) {
1233
- baseOptions = configuration.baseOptions;
1234
- }
1235
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1236
- localVarHeaderParameter = {};
1237
- localVarQueryParameter = {};
1238
- // authentication ApiKeyAuth required
1239
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
1240
- case 1:
1241
- // authentication ApiKeyAuth required
1242
- _a.sent();
1243
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1244
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1245
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1246
- return [2 /*return*/, {
1247
- url: (0, common_1.toPathString)(localVarUrlObj),
1248
- options: localVarRequestOptions,
1249
- }];
1250
- }
1251
- });
1252
- });
1253
- },
1254
- };
1255
- };
1256
- exports.AdminApiAxiosParamCreator = AdminApiAxiosParamCreator;
1257
- /**
1258
- * AdminApi - functional programming interface
1259
- * @export
1260
- */
1261
- var AdminApiFp = function (configuration) {
1262
- var localVarAxiosParamCreator = (0, exports.AdminApiAxiosParamCreator)(configuration);
1263
- return {
1264
- /**
1265
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
1266
- * @summary Start an Auth0 name backfill
1267
- * @param {*} [options] Override http request option.
1268
- * @throws {RequiredError}
1269
- */
1270
- startAuth0NameBackfill: function (options) {
1271
- return __awaiter(this, void 0, void 0, function () {
1272
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1273
- var _a, _b, _c;
1274
- return __generator(this, function (_d) {
1275
- switch (_d.label) {
1276
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.startAuth0NameBackfill(options)];
1277
- case 1:
1278
- localVarAxiosArgs = _d.sent();
1279
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1280
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminApi.startAuth0NameBackfill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1281
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1282
- }
1283
- });
1284
- });
1285
- },
1286
- };
1287
- };
1288
- exports.AdminApiFp = AdminApiFp;
1289
- /**
1290
- * AdminApi - factory interface
1291
- * @export
1292
- */
1293
- var AdminApiFactory = function (configuration, basePath, axios) {
1294
- var localVarFp = (0, exports.AdminApiFp)(configuration);
1295
- return {
1296
- /**
1297
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
1298
- * @summary Start an Auth0 name backfill
1299
- * @param {*} [options] Override http request option.
1300
- * @throws {RequiredError}
1301
- */
1302
- startAuth0NameBackfill: function (options) {
1303
- return localVarFp.startAuth0NameBackfill(options).then(function (request) { return request(axios, basePath); });
1304
- },
1305
- };
1306
- };
1307
- exports.AdminApiFactory = AdminApiFactory;
1308
- /**
1309
- * AdminApi - object-oriented interface
1310
- * @export
1311
- * @class AdminApi
1312
- * @extends {BaseAPI}
1313
- */
1314
- var AdminApi = /** @class */ (function (_super) {
1315
- __extends(AdminApi, _super);
1316
- function AdminApi() {
1317
- return _super !== null && _super.apply(this, arguments) || this;
1318
- }
1319
- /**
1320
- * Admin-only one-off background job that syncs givenName and familyName for existing users. Requires Auth0LoginSyncLive. Returns a job ID for tracking progress and counts in worker logs.
1321
- * @summary Start an Auth0 name backfill
1322
- * @param {*} [options] Override http request option.
1323
- * @throws {RequiredError}
1324
- * @memberof AdminApi
1325
- */
1326
- AdminApi.prototype.startAuth0NameBackfill = function (options) {
1327
- var _this = this;
1328
- return (0, exports.AdminApiFp)(this.configuration).startAuth0NameBackfill(options).then(function (request) { return request(_this.axios, _this.basePath); });
1329
- };
1330
- return AdminApi;
1331
- }(base_1.BaseAPI));
1332
- exports.AdminApi = AdminApi;
1333
1202
  /**
1334
1203
  * AuthenticationApi - axios parameter creator
1335
1204
  * @export
@@ -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.613-rc.1793106969"
39
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.615-rc.1793109943"
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.613-rc.1793106969",
3
+ "version": "0.0.615-rc.1793109943",
4
4
  "description": "OpenAPI client for @flipdish/authorization",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {