@flipdish/authorization 0.0.612-rc.1792677538 → 0.0.613-rc.1793106969

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,6 +580,18 @@ 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;
583
595
  /**
584
596
  *
585
597
  * @type {string}
@@ -739,6 +751,18 @@ export interface AuthorizationRequestPrincipal {
739
751
  * @memberof AuthorizationRequestPrincipal
740
752
  */
741
753
  '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;
742
766
  /**
743
767
  *
744
768
  * @type {string}
@@ -1185,6 +1209,18 @@ export interface GetAuthorizedOrgsRequestPrincipal {
1185
1209
  * @memberof GetAuthorizedOrgsRequestPrincipal
1186
1210
  */
1187
1211
  '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;
1188
1224
  /**
1189
1225
  *
1190
1226
  * @type {string}
@@ -2550,6 +2586,18 @@ export interface PrincipalInOrg {
2550
2586
  * @memberof PrincipalInOrg
2551
2587
  */
2552
2588
  '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;
2553
2601
  /**
2554
2602
  *
2555
2603
  * @type {string}
@@ -2756,6 +2804,18 @@ export interface RemoveTeammateRequestBodyActor {
2756
2804
  * @memberof RemoveTeammateRequestBodyActor
2757
2805
  */
2758
2806
  '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;
2759
2819
  /**
2760
2820
  *
2761
2821
  * @type {string}
@@ -2803,6 +2863,18 @@ export interface RemoveTeammateRequestBodyPrincipal {
2803
2863
  * @memberof RemoveTeammateRequestBodyPrincipal
2804
2864
  */
2805
2865
  '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;
2806
2878
  /**
2807
2879
  *
2808
2880
  * @type {string}
@@ -2928,6 +3000,18 @@ export interface RoleAssignmentRequestBodyActor {
2928
3000
  * @memberof RoleAssignmentRequestBodyActor
2929
3001
  */
2930
3002
  '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;
2931
3015
  /**
2932
3016
  *
2933
3017
  * @type {string}
@@ -2975,6 +3059,18 @@ export interface RoleAssignmentRequestBodyPrincipal {
2975
3059
  * @memberof RoleAssignmentRequestBodyPrincipal
2976
3060
  */
2977
3061
  '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;
2978
3074
  /**
2979
3075
  *
2980
3076
  * @type {string}
@@ -3097,6 +3193,32 @@ export const RoleNames = {
3097
3193
  export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
3098
3194
 
3099
3195
 
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
+
3100
3222
  /**
3101
3223
  * A temporary timed access grant
3102
3224
  * @export
@@ -3931,6 +4053,110 @@ export const ListGlobalApiKeysStatusEnum = {
3931
4053
  export type ListGlobalApiKeysStatusEnum = typeof ListGlobalApiKeysStatusEnum[keyof typeof ListGlobalApiKeysStatusEnum];
3932
4054
 
3933
4055
 
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
+
3934
4160
  /**
3935
4161
  * AuthenticationApi - axios parameter creator
3936
4162
  * @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.612-rc.1792677538"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.613-rc.1793106969"
104
104
  }
105
105
  };
106
106
 
package/dist/api.d.ts CHANGED
@@ -549,6 +549,18 @@ 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;
552
564
  /**
553
565
  *
554
566
  * @type {string}
@@ -699,6 +711,18 @@ export interface AuthorizationRequestPrincipal {
699
711
  * @memberof AuthorizationRequestPrincipal
700
712
  */
701
713
  '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;
702
726
  /**
703
727
  *
704
728
  * @type {string}
@@ -1128,6 +1152,18 @@ export interface GetAuthorizedOrgsRequestPrincipal {
1128
1152
  * @memberof GetAuthorizedOrgsRequestPrincipal
1129
1153
  */
1130
1154
  '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;
1131
1167
  /**
1132
1168
  *
1133
1169
  * @type {string}
@@ -2452,6 +2488,18 @@ export interface PrincipalInOrg {
2452
2488
  * @memberof PrincipalInOrg
2453
2489
  */
2454
2490
  '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;
2455
2503
  /**
2456
2504
  *
2457
2505
  * @type {string}
@@ -2653,6 +2701,18 @@ export interface RemoveTeammateRequestBodyActor {
2653
2701
  * @memberof RemoveTeammateRequestBodyActor
2654
2702
  */
2655
2703
  '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;
2656
2716
  /**
2657
2717
  *
2658
2718
  * @type {string}
@@ -2697,6 +2757,18 @@ export interface RemoveTeammateRequestBodyPrincipal {
2697
2757
  * @memberof RemoveTeammateRequestBodyPrincipal
2698
2758
  */
2699
2759
  '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;
2700
2772
  /**
2701
2773
  *
2702
2774
  * @type {string}
@@ -2816,6 +2888,18 @@ export interface RoleAssignmentRequestBodyActor {
2816
2888
  * @memberof RoleAssignmentRequestBodyActor
2817
2889
  */
2818
2890
  '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;
2819
2903
  /**
2820
2904
  *
2821
2905
  * @type {string}
@@ -2860,6 +2944,18 @@ export interface RoleAssignmentRequestBodyPrincipal {
2860
2944
  * @memberof RoleAssignmentRequestBodyPrincipal
2861
2945
  */
2862
2946
  '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;
2863
2959
  /**
2864
2960
  *
2865
2961
  * @type {string}
@@ -2972,6 +3068,29 @@ export declare const RoleNames: {
2972
3068
  readonly FlipdishStaff: "FlipdishStaff";
2973
3069
  };
2974
3070
  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];
2975
3094
  /**
2976
3095
  * A temporary timed access grant
2977
3096
  * @export
@@ -3546,6 +3665,61 @@ export declare const ListGlobalApiKeysStatusEnum: {
3546
3665
  readonly Revoked: "revoked";
3547
3666
  };
3548
3667
  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
+ }
3549
3723
  /**
3550
3724
  * AuthenticationApi - axios parameter creator
3551
3725
  * @export
package/dist/api.js CHANGED
@@ -84,8 +84,9 @@ 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.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;
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;
89
90
  var axios_1 = require("axios");
90
91
  // Some imports not used depending on template conditions
91
92
  // @ts-ignore
@@ -590,6 +591,9 @@ exports.RoleNames = {
590
591
  AuthDeveloper: 'AuthDeveloper',
591
592
  FlipdishStaff: 'FlipdishStaff'
592
593
  };
594
+ exports.StartAuth0NameBackfill202ResponseStatusEnum = {
595
+ Accepted: 'ACCEPTED'
596
+ };
593
597
  exports.TimedAccessGrantPrincipalTypeEnum = {
594
598
  User: 'User',
595
599
  Automation: 'Automation',
@@ -1199,6 +1203,133 @@ exports.ListGlobalApiKeysStatusEnum = {
1199
1203
  Active: 'active',
1200
1204
  Revoked: 'revoked'
1201
1205
  };
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;
1202
1333
  /**
1203
1334
  * AuthenticationApi - axios parameter creator
1204
1335
  * @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.612-rc.1792677538"
39
+ "user-agent": "Flipdish authorization typescript SDK / 0.0.613-rc.1793106969"
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.612-rc.1792677538",
3
+ "version": "0.0.613-rc.1793106969",
4
4
  "description": "OpenAPI client for @flipdish/authorization",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {