@fenixalliance/abs-api-client 1.0.12 → 1.0.13
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/app/index.js +3 -3
- package/app/index.ts +1 -1
- package/clients/cartService/index.js +3 -7
- package/clients/cartService/index.ts +1 -3
- package/clients/cartService/services/{CartService.js → CartsService.js} +3 -3
- package/clients/cartService/services/{CartService.ts → CartsService.ts} +1 -1
- package/clients/cartService/services/WishListsService.js +0 -321
- package/clients/cartService/services/WishListsService.ts +0 -373
- package/clients/holderService/index.js +1 -5
- package/clients/holderService/index.ts +0 -2
- package/clients/holderService/services/UserService.js +143 -0
- package/clients/holderService/services/UserService.ts +166 -0
- package/clients/tenantService/services/TenantsService.js +33 -57
- package/clients/tenantService/services/TenantsService.ts +33 -65
- package/package.json +1 -1
- package/schemas/tenantService/schema.s.ts +144 -70
- package/tsconfig.json +1 -1
- package/clients/cartService/services/CartLinesService.js +0 -173
- package/clients/cartService/services/CartLinesService.ts +0 -203
- package/clients/cartService/services/ECommerceService.js +0 -1104
- package/clients/cartService/services/ECommerceService.ts +0 -1289
- package/clients/holderService/services/IdentityService.js +0 -364
- package/clients/holderService/services/IdentityService.ts +0 -421
- package/clients/holderService/services/TenantsService.js +0 -151
- package/clients/holderService/services/TenantsService.ts +0 -176
|
@@ -2131,7 +2131,7 @@ export class TenantsService {
|
|
|
2131
2131
|
* @returns TenantDtoEnvelope OK
|
|
2132
2132
|
* @throws ApiError
|
|
2133
2133
|
*/
|
|
2134
|
-
public static
|
|
2134
|
+
public static getCurrentTenantAsync(
|
|
2135
2135
|
tenantId: string,
|
|
2136
2136
|
xApiVersion?: string,
|
|
2137
2137
|
): CancelablePromise<TenantDtoEnvelope> {
|
|
@@ -2158,7 +2158,7 @@ export class TenantsService {
|
|
|
2158
2158
|
* @returns TenantDtoEnvelope OK
|
|
2159
2159
|
* @throws ApiError
|
|
2160
2160
|
*/
|
|
2161
|
-
public static
|
|
2161
|
+
public static getTenantAsync(
|
|
2162
2162
|
tenantId: string,
|
|
2163
2163
|
xApiVersion?: string,
|
|
2164
2164
|
): CancelablePromise<TenantDtoEnvelope> {
|
|
@@ -2186,7 +2186,7 @@ export class TenantsService {
|
|
|
2186
2186
|
* @returns EmptyEnvelope OK
|
|
2187
2187
|
* @throws ApiError
|
|
2188
2188
|
*/
|
|
2189
|
-
public static
|
|
2189
|
+
public static updateTenantAsync(
|
|
2190
2190
|
tenantId: string,
|
|
2191
2191
|
xApiVersion?: string,
|
|
2192
2192
|
requestBody?: TenantUpdateDto,
|
|
@@ -2217,7 +2217,7 @@ export class TenantsService {
|
|
|
2217
2217
|
* @returns EmptyEnvelope OK
|
|
2218
2218
|
* @throws ApiError
|
|
2219
2219
|
*/
|
|
2220
|
-
public static
|
|
2220
|
+
public static patchTenantAsync(
|
|
2221
2221
|
tenantId: string,
|
|
2222
2222
|
xApiVersion?: string,
|
|
2223
2223
|
requestBody?: Array<Operation>,
|
|
@@ -2247,7 +2247,7 @@ export class TenantsService {
|
|
|
2247
2247
|
* @returns ExtendedTenantDtoEnvelope OK
|
|
2248
2248
|
* @throws ApiError
|
|
2249
2249
|
*/
|
|
2250
|
-
public static
|
|
2250
|
+
public static getExtendedTenantAsync(
|
|
2251
2251
|
tenantId: string,
|
|
2252
2252
|
xApiVersion?: string,
|
|
2253
2253
|
): CancelablePromise<ExtendedTenantDtoEnvelope> {
|
|
@@ -2334,7 +2334,7 @@ export class TenantsService {
|
|
|
2334
2334
|
* @returns WalletDtoEnvelope OK
|
|
2335
2335
|
* @throws ApiError
|
|
2336
2336
|
*/
|
|
2337
|
-
public static
|
|
2337
|
+
public static getTenantWalletAsync(
|
|
2338
2338
|
tenantId: string,
|
|
2339
2339
|
xApiVersion?: string,
|
|
2340
2340
|
): CancelablePromise<WalletDtoEnvelope> {
|
|
@@ -2361,7 +2361,7 @@ export class TenantsService {
|
|
|
2361
2361
|
* @returns SocialProfileDtoEnvelope OK
|
|
2362
2362
|
* @throws ApiError
|
|
2363
2363
|
*/
|
|
2364
|
-
public static
|
|
2364
|
+
public static getTenantSocialProfileAsync(
|
|
2365
2365
|
tenantId: string,
|
|
2366
2366
|
xApiVersion?: string,
|
|
2367
2367
|
): CancelablePromise<SocialProfileDtoEnvelope> {
|
|
@@ -2388,7 +2388,7 @@ export class TenantsService {
|
|
|
2388
2388
|
* @returns CartDtoEnvelope OK
|
|
2389
2389
|
* @throws ApiError
|
|
2390
2390
|
*/
|
|
2391
|
-
public static
|
|
2391
|
+
public static getTenantCartAsync(
|
|
2392
2392
|
tenantId: string,
|
|
2393
2393
|
xApiVersion?: string,
|
|
2394
2394
|
): CancelablePromise<CartDtoEnvelope> {
|
|
@@ -2415,7 +2415,7 @@ export class TenantsService {
|
|
|
2415
2415
|
* @returns UserDtoListEnvelope OK
|
|
2416
2416
|
* @throws ApiError
|
|
2417
2417
|
*/
|
|
2418
|
-
public static
|
|
2418
|
+
public static getTenantUsersAsync(
|
|
2419
2419
|
tenantId: string,
|
|
2420
2420
|
xApiVersion?: string,
|
|
2421
2421
|
): CancelablePromise<UserDtoListEnvelope> {
|
|
@@ -2442,7 +2442,7 @@ export class TenantsService {
|
|
|
2442
2442
|
* @returns TenantEnrolmentDtoListEnvelope OK
|
|
2443
2443
|
* @throws ApiError
|
|
2444
2444
|
*/
|
|
2445
|
-
public static
|
|
2445
|
+
public static getTenantEnrollmentsAsync(
|
|
2446
2446
|
tenantId: string,
|
|
2447
2447
|
xApiVersion?: string,
|
|
2448
2448
|
): CancelablePromise<TenantEnrolmentDtoListEnvelope> {
|
|
@@ -2470,7 +2470,7 @@ export class TenantsService {
|
|
|
2470
2470
|
* @returns TenantEnrolmentDtoEnvelope OK
|
|
2471
2471
|
* @throws ApiError
|
|
2472
2472
|
*/
|
|
2473
|
-
public static
|
|
2473
|
+
public static getTenantEnrollmentAsync(
|
|
2474
2474
|
tenantId: string,
|
|
2475
2475
|
enrollmentId: string,
|
|
2476
2476
|
xApiVersion?: string,
|
|
@@ -2500,7 +2500,7 @@ export class TenantsService {
|
|
|
2500
2500
|
* @returns ExtendedTenantEnrolmentDtoEnvelope OK
|
|
2501
2501
|
* @throws ApiError
|
|
2502
2502
|
*/
|
|
2503
|
-
public static
|
|
2503
|
+
public static getExtendedTenantEnrollmentAsync(
|
|
2504
2504
|
tenantId: string,
|
|
2505
2505
|
enrollmentId: string,
|
|
2506
2506
|
xApiVersion?: string,
|
|
@@ -2530,7 +2530,7 @@ export class TenantsService {
|
|
|
2530
2530
|
* @returns StringListEnvelope OK
|
|
2531
2531
|
* @throws ApiError
|
|
2532
2532
|
*/
|
|
2533
|
-
public static
|
|
2533
|
+
public static getEnrollmentPermissionsAsync(
|
|
2534
2534
|
tenantId: string,
|
|
2535
2535
|
enrollmentId: string,
|
|
2536
2536
|
xApiVersion?: string,
|
|
@@ -2562,7 +2562,7 @@ export class TenantsService {
|
|
|
2562
2562
|
* @returns BooleanEnvelope OK
|
|
2563
2563
|
* @throws ApiError
|
|
2564
2564
|
*/
|
|
2565
|
-
public static
|
|
2565
|
+
public static getEnrollmentPermissionsAsync1(
|
|
2566
2566
|
tenantId: string,
|
|
2567
2567
|
enrollmentId: string,
|
|
2568
2568
|
roles?: Array<string>,
|
|
@@ -2597,7 +2597,7 @@ export class TenantsService {
|
|
|
2597
2597
|
* @returns TenantInvitationDtoListEnvelope OK
|
|
2598
2598
|
* @throws ApiError
|
|
2599
2599
|
*/
|
|
2600
|
-
public static
|
|
2600
|
+
public static getTenantInvitationsAsync(
|
|
2601
2601
|
tenantId: string,
|
|
2602
2602
|
xApiVersion?: string,
|
|
2603
2603
|
): CancelablePromise<TenantInvitationDtoListEnvelope> {
|
|
@@ -2624,7 +2624,7 @@ export class TenantsService {
|
|
|
2624
2624
|
* @returns TenantInvitationDtoListEnvelope OK
|
|
2625
2625
|
* @throws ApiError
|
|
2626
2626
|
*/
|
|
2627
|
-
public static
|
|
2627
|
+
public static getTenantPendingInvitationsAsync(
|
|
2628
2628
|
tenantId: string,
|
|
2629
2629
|
xApiVersion?: string,
|
|
2630
2630
|
): CancelablePromise<TenantInvitationDtoListEnvelope> {
|
|
@@ -2651,7 +2651,7 @@ export class TenantsService {
|
|
|
2651
2651
|
* @returns TenantInvitationDtoListEnvelope OK
|
|
2652
2652
|
* @throws ApiError
|
|
2653
2653
|
*/
|
|
2654
|
-
public static
|
|
2654
|
+
public static getTenantRedeemedInvitationsAsync(
|
|
2655
2655
|
tenantId: string,
|
|
2656
2656
|
xApiVersion?: string,
|
|
2657
2657
|
): CancelablePromise<TenantInvitationDtoListEnvelope> {
|
|
@@ -2678,7 +2678,7 @@ export class TenantsService {
|
|
|
2678
2678
|
* @returns TenantInvitationDtoListEnvelope OK
|
|
2679
2679
|
* @throws ApiError
|
|
2680
2680
|
*/
|
|
2681
|
-
public static
|
|
2681
|
+
public static getTenantRevokedInvitationsAsync(
|
|
2682
2682
|
tenantId: string,
|
|
2683
2683
|
xApiVersion?: string,
|
|
2684
2684
|
): CancelablePromise<TenantInvitationDtoListEnvelope> {
|
|
@@ -2705,7 +2705,7 @@ export class TenantsService {
|
|
|
2705
2705
|
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2706
2706
|
* @throws ApiError
|
|
2707
2707
|
*/
|
|
2708
|
-
public static
|
|
2708
|
+
public static getTenantLicensesAsync(
|
|
2709
2709
|
tenantId: string,
|
|
2710
2710
|
xApiVersion?: string,
|
|
2711
2711
|
): CancelablePromise<SuiteLicenseDtoListEnvelope> {
|
|
@@ -2733,7 +2733,7 @@ export class TenantsService {
|
|
|
2733
2733
|
* @returns SuiteLicenseAssignmentDtoListEnvelope OK
|
|
2734
2734
|
* @throws ApiError
|
|
2735
2735
|
*/
|
|
2736
|
-
public static
|
|
2736
|
+
public static getEnrollmentLicensesAsync(
|
|
2737
2737
|
tenantId: string,
|
|
2738
2738
|
enrollmentId: string,
|
|
2739
2739
|
xApiVersion?: string,
|
|
@@ -2764,7 +2764,7 @@ export class TenantsService {
|
|
|
2764
2764
|
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2765
2765
|
* @throws ApiError
|
|
2766
2766
|
*/
|
|
2767
|
-
public static
|
|
2767
|
+
public static getEnrollmentLicensesAsync1(
|
|
2768
2768
|
tenantId: string,
|
|
2769
2769
|
enrollmentId: string,
|
|
2770
2770
|
licenseId: string,
|
|
@@ -2797,7 +2797,7 @@ export class TenantsService {
|
|
|
2797
2797
|
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2798
2798
|
* @throws ApiError
|
|
2799
2799
|
*/
|
|
2800
|
-
public static
|
|
2800
|
+
public static assignLicenseAsync(
|
|
2801
2801
|
tenantId: string,
|
|
2802
2802
|
enrollmentId: string,
|
|
2803
2803
|
licenseId: string,
|
|
@@ -2830,7 +2830,7 @@ export class TenantsService {
|
|
|
2830
2830
|
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2831
2831
|
* @throws ApiError
|
|
2832
2832
|
*/
|
|
2833
|
-
public static
|
|
2833
|
+
public static revokeLicenseAsync(
|
|
2834
2834
|
tenantId: string,
|
|
2835
2835
|
enrollmentId: string,
|
|
2836
2836
|
licenseId: string,
|
|
@@ -2862,7 +2862,7 @@ export class TenantsService {
|
|
|
2862
2862
|
* @returns SuiteLicenseFeatureDtoListEnvelope OK
|
|
2863
2863
|
* @throws ApiError
|
|
2864
2864
|
*/
|
|
2865
|
-
public static
|
|
2865
|
+
public static getAccessibleFeaturesAsync(
|
|
2866
2866
|
tenantId: string,
|
|
2867
2867
|
enrollmentId: string,
|
|
2868
2868
|
xApiVersion?: string,
|
|
@@ -2924,7 +2924,7 @@ export class TenantsService {
|
|
|
2924
2924
|
* @returns EmptyEnvelope OK
|
|
2925
2925
|
* @throws ApiError
|
|
2926
2926
|
*/
|
|
2927
|
-
public static
|
|
2927
|
+
public static createTenantAsync(
|
|
2928
2928
|
xApiVersion?: string,
|
|
2929
2929
|
requestBody?: TenantCreateDto,
|
|
2930
2930
|
): CancelablePromise<EmptyEnvelope> {
|
|
@@ -2950,7 +2950,7 @@ export class TenantsService {
|
|
|
2950
2950
|
* @returns EmptyEnvelope OK
|
|
2951
2951
|
* @throws ApiError
|
|
2952
2952
|
*/
|
|
2953
|
-
public static
|
|
2953
|
+
public static deleteTenantAsync(
|
|
2954
2954
|
tenantId: string,
|
|
2955
2955
|
xApiVersion?: string,
|
|
2956
2956
|
): CancelablePromise<EmptyEnvelope> {
|
|
@@ -2973,16 +2973,12 @@ export class TenantsService {
|
|
|
2973
2973
|
* Select a business tenant as the user's default tenant
|
|
2974
2974
|
* Select a business tenant as the user's default tenant
|
|
2975
2975
|
* @param tenantId
|
|
2976
|
-
* @param backTo
|
|
2977
|
-
* @param enableRedirect
|
|
2978
2976
|
* @param xApiVersion
|
|
2979
2977
|
* @returns EmptyEnvelope OK
|
|
2980
2978
|
* @throws ApiError
|
|
2981
2979
|
*/
|
|
2982
|
-
public static
|
|
2980
|
+
public static selectTenantAsync(
|
|
2983
2981
|
tenantId: string,
|
|
2984
|
-
backTo?: string,
|
|
2985
|
-
enableRedirect: boolean = true,
|
|
2986
2982
|
xApiVersion?: string,
|
|
2987
2983
|
): CancelablePromise<EmptyEnvelope> {
|
|
2988
2984
|
return __request(OpenAPI, {
|
|
@@ -2994,10 +2990,6 @@ export class TenantsService {
|
|
|
2994
2990
|
headers: {
|
|
2995
2991
|
'x-api-version': xApiVersion,
|
|
2996
2992
|
},
|
|
2997
|
-
query: {
|
|
2998
|
-
'backTo': backTo,
|
|
2999
|
-
'enableRedirect': enableRedirect,
|
|
3000
|
-
},
|
|
3001
2993
|
errors: {
|
|
3002
2994
|
401: `Unauthorized`,
|
|
3003
2995
|
403: `Forbidden`,
|
|
@@ -3008,16 +3000,12 @@ export class TenantsService {
|
|
|
3008
3000
|
* Select a business tenant as the user's default tenant
|
|
3009
3001
|
* Select a business tenant as the user's default tenant
|
|
3010
3002
|
* @param tenantId
|
|
3011
|
-
* @param backTo
|
|
3012
|
-
* @param enableRedirect
|
|
3013
3003
|
* @param xApiVersion
|
|
3014
3004
|
* @returns EmptyEnvelope OK
|
|
3015
3005
|
* @throws ApiError
|
|
3016
3006
|
*/
|
|
3017
|
-
public static
|
|
3007
|
+
public static selectTenantAsync1(
|
|
3018
3008
|
tenantId: string,
|
|
3019
|
-
backTo?: string,
|
|
3020
|
-
enableRedirect: boolean = true,
|
|
3021
3009
|
xApiVersion?: string,
|
|
3022
3010
|
): CancelablePromise<EmptyEnvelope> {
|
|
3023
3011
|
return __request(OpenAPI, {
|
|
@@ -3029,10 +3017,6 @@ export class TenantsService {
|
|
|
3029
3017
|
headers: {
|
|
3030
3018
|
'x-api-version': xApiVersion,
|
|
3031
3019
|
},
|
|
3032
|
-
query: {
|
|
3033
|
-
'backTo': backTo,
|
|
3034
|
-
'enableRedirect': enableRedirect,
|
|
3035
|
-
},
|
|
3036
3020
|
errors: {
|
|
3037
3021
|
401: `Unauthorized`,
|
|
3038
3022
|
403: `Forbidden`,
|
|
@@ -3042,15 +3026,11 @@ export class TenantsService {
|
|
|
3042
3026
|
/**
|
|
3043
3027
|
* Deselect the user's default tenant
|
|
3044
3028
|
* Deselect the user's default tenant
|
|
3045
|
-
* @param backTo
|
|
3046
|
-
* @param enableRedirect
|
|
3047
3029
|
* @param xApiVersion
|
|
3048
3030
|
* @returns EmptyEnvelope OK
|
|
3049
3031
|
* @throws ApiError
|
|
3050
3032
|
*/
|
|
3051
|
-
public static
|
|
3052
|
-
backTo?: string,
|
|
3053
|
-
enableRedirect: boolean = true,
|
|
3033
|
+
public static deSelectTenantAsync(
|
|
3054
3034
|
xApiVersion?: string,
|
|
3055
3035
|
): CancelablePromise<EmptyEnvelope> {
|
|
3056
3036
|
return __request(OpenAPI, {
|
|
@@ -3059,10 +3039,6 @@ export class TenantsService {
|
|
|
3059
3039
|
headers: {
|
|
3060
3040
|
'x-api-version': xApiVersion,
|
|
3061
3041
|
},
|
|
3062
|
-
query: {
|
|
3063
|
-
'backTo': backTo,
|
|
3064
|
-
'enableRedirect': enableRedirect,
|
|
3065
|
-
},
|
|
3066
3042
|
errors: {
|
|
3067
3043
|
401: `Unauthorized`,
|
|
3068
3044
|
403: `Forbidden`,
|
|
@@ -3072,15 +3048,11 @@ export class TenantsService {
|
|
|
3072
3048
|
/**
|
|
3073
3049
|
* Deselect the user's default tenant
|
|
3074
3050
|
* Deselect the user's default tenant
|
|
3075
|
-
* @param backTo
|
|
3076
|
-
* @param enableRedirect
|
|
3077
3051
|
* @param xApiVersion
|
|
3078
3052
|
* @returns EmptyEnvelope OK
|
|
3079
3053
|
* @throws ApiError
|
|
3080
3054
|
*/
|
|
3081
|
-
public static
|
|
3082
|
-
backTo?: string,
|
|
3083
|
-
enableRedirect: boolean = true,
|
|
3055
|
+
public static deSelectTenantAsync1(
|
|
3084
3056
|
xApiVersion?: string,
|
|
3085
3057
|
): CancelablePromise<EmptyEnvelope> {
|
|
3086
3058
|
return __request(OpenAPI, {
|
|
@@ -3089,10 +3061,6 @@ export class TenantsService {
|
|
|
3089
3061
|
headers: {
|
|
3090
3062
|
'x-api-version': xApiVersion,
|
|
3091
3063
|
},
|
|
3092
|
-
query: {
|
|
3093
|
-
'backTo': backTo,
|
|
3094
|
-
'enableRedirect': enableRedirect,
|
|
3095
|
-
},
|
|
3096
3064
|
errors: {
|
|
3097
3065
|
401: `Unauthorized`,
|
|
3098
3066
|
403: `Forbidden`,
|
|
@@ -3107,7 +3075,7 @@ export class TenantsService {
|
|
|
3107
3075
|
* @returns WebPortalDtoListEnvelope OK
|
|
3108
3076
|
* @throws ApiError
|
|
3109
3077
|
*/
|
|
3110
|
-
public static
|
|
3078
|
+
public static getTenantWebPortalsAsync(
|
|
3111
3079
|
tenantId: string,
|
|
3112
3080
|
xApiVersion?: string,
|
|
3113
3081
|
): CancelablePromise<WebPortalDtoListEnvelope> {
|
|
@@ -3134,7 +3102,7 @@ export class TenantsService {
|
|
|
3134
3102
|
* @returns NotificationDtoListEnvelope OK
|
|
3135
3103
|
* @throws ApiError
|
|
3136
3104
|
*/
|
|
3137
|
-
public static
|
|
3105
|
+
public static getTenantNotificationsAsync(
|
|
3138
3106
|
tenantId: string,
|
|
3139
3107
|
xApiVersion?: string,
|
|
3140
3108
|
): CancelablePromise<NotificationDtoListEnvelope> {
|
|
@@ -3161,7 +3129,7 @@ export class TenantsService {
|
|
|
3161
3129
|
* @returns Int32Envelope OK
|
|
3162
3130
|
* @throws ApiError
|
|
3163
3131
|
*/
|
|
3164
|
-
public static
|
|
3132
|
+
public static getTenantNotificationsCountAsync(
|
|
3165
3133
|
tenantId: string,
|
|
3166
3134
|
xApiVersion?: string,
|
|
3167
3135
|
): CancelablePromise<Int32Envelope> {
|