@fenixalliance/abs-api-client 1.0.16 → 1.1.0
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.ts +74 -5
- package/clients/accountingService/sdk.gen.ts +409 -137
- package/clients/accountingService/types.gen.ts +678 -1006
- package/clients/assetsService/client.gen.ts +18 -0
- package/clients/assetsService/index.ts +3 -0
- package/clients/assetsService/sdk.gen.ts +808 -0
- package/clients/assetsService/types.gen.ts +2762 -0
- package/clients/cartService/sdk.gen.ts +181 -77
- package/clients/cartService/types.gen.ts +328 -198
- package/clients/catalogService/sdk.gen.ts +353 -121
- package/clients/catalogService/types.gen.ts +371 -706
- package/clients/contentService/sdk.gen.ts +129 -49
- package/clients/contentService/types.gen.ts +154 -281
- package/clients/crmService/sdk.gen.ts +125 -9
- package/clients/crmService/types.gen.ts +432 -38
- package/clients/dealsService/sdk.gen.ts +203 -63
- package/clients/dealsService/types.gen.ts +413 -273
- package/clients/emailTemplates/client.gen.ts +18 -0
- package/clients/emailTemplates/index.ts +3 -0
- package/clients/emailTemplates/sdk.gen.ts +142 -0
- package/clients/emailTemplates/types.gen.ts +354 -0
- package/clients/forexService/sdk.gen.ts +49 -17
- package/clients/forexService/types.gen.ts +68 -51
- package/clients/globeService/sdk.gen.ts +121 -41
- package/clients/globeService/types.gen.ts +100 -100
- package/clients/hrmsService/client.gen.ts +18 -0
- package/clients/hrmsService/index.ts +3 -0
- package/clients/hrmsService/sdk.gen.ts +438 -0
- package/clients/hrmsService/types.gen.ts +1498 -0
- package/clients/identityService/sdk.gen.ts +84 -28
- package/clients/identityService/types.gen.ts +65 -93
- package/clients/inventoryService/sdk.gen.ts +6 -2
- package/clients/inventoryService/types.gen.ts +2 -2
- package/clients/invoicingService/types.gen.ts +241 -157
- package/clients/learningService/sdk.gen.ts +5 -5
- package/clients/learningService/types.gen.ts +97 -378
- package/clients/locationsService/client.gen.ts +18 -0
- package/clients/locationsService/index.ts +3 -0
- package/clients/locationsService/sdk.gen.ts +290 -0
- package/clients/locationsService/types.gen.ts +885 -0
- package/clients/logisticsService/client.gen.ts +18 -0
- package/clients/logisticsService/index.ts +3 -0
- package/clients/logisticsService/sdk.gen.ts +153 -0
- package/clients/logisticsService/types.gen.ts +540 -0
- package/clients/marketingService/sdk.gen.ts +295 -99
- package/clients/marketingService/types.gen.ts +279 -349
- package/clients/marketplaceService/client.gen.ts +18 -0
- package/clients/marketplaceService/index.ts +3 -0
- package/clients/marketplaceService/sdk.gen.ts +142 -0
- package/clients/marketplaceService/types.gen.ts +354 -0
- package/clients/ordersService/types.gen.ts +184 -103
- package/clients/paymentsService/sdk.gen.ts +35 -13
- package/clients/paymentsService/types.gen.ts +46 -135
- package/clients/pricingService/sdk.gen.ts +153 -45
- package/clients/pricingService/types.gen.ts +164 -197
- package/clients/projectsService/sdk.gen.ts +181 -61
- package/clients/projectsService/types.gen.ts +170 -203
- package/clients/quotesService/types.gen.ts +198 -88
- package/clients/salesService/sdk.gen.ts +6 -2
- package/clients/salesService/types.gen.ts +2 -2
- package/clients/securityService/sdk.gen.ts +13 -13
- package/clients/securityService/types.gen.ts +32 -84
- package/clients/servicesService/client.gen.ts +18 -0
- package/clients/servicesService/index.ts +3 -0
- package/clients/servicesService/sdk.gen.ts +608 -0
- package/clients/servicesService/types.gen.ts +3093 -0
- package/clients/shipmentsService/sdk.gen.ts +7 -3
- package/clients/shipmentsService/types.gen.ts +5 -5
- package/clients/socialService/sdk.gen.ts +205 -73
- package/clients/socialService/types.gen.ts +190 -296
- package/clients/storageService/sdk.gen.ts +32 -8
- package/clients/storageService/types.gen.ts +21 -87
- package/clients/subscriptionsService/client.gen.ts +18 -0
- package/clients/subscriptionsService/index.ts +3 -0
- package/clients/subscriptionsService/sdk.gen.ts +290 -0
- package/clients/subscriptionsService/types.gen.ts +1435 -0
- package/clients/supportService/sdk.gen.ts +277 -93
- package/clients/supportService/types.gen.ts +257 -414
- package/clients/systemService/sdk.gen.ts +223 -39
- package/clients/systemService/types.gen.ts +454 -154
- package/clients/tenantsService/sdk.gen.ts +186 -60
- package/clients/tenantsService/types.gen.ts +507 -361
- package/clients/timeTrackerService/sdk.gen.ts +73 -25
- package/clients/timeTrackerService/types.gen.ts +62 -80
- package/clients/usersService/sdk.gen.ts +101 -1
- package/clients/usersService/types.gen.ts +352 -0
- package/clients/walletsService/types.gen.ts +52 -29
- package/package.json +4 -2
- package/schemas/accountingService/schema.s.ts +5580 -4955
- package/schemas/assetsService/schema.s.ts +3385 -0
- package/schemas/cartService/schema.s.ts +1478 -1190
- package/schemas/catalogService/schema.s.ts +3323 -2795
- package/schemas/contentService/schema.s.ts +1445 -1194
- package/schemas/crmService/schema.s.ts +657 -146
- package/schemas/dealsService/schema.s.ts +2243 -1842
- package/schemas/emailTemplates/schema.s.ts +335 -0
- package/schemas/forexService/schema.s.ts +343 -270
- package/schemas/globeService/schema.s.ts +1143 -963
- package/schemas/identityService/schema.s.ts +490 -364
- package/schemas/inventoryService/schema.s.ts +28 -19
- package/schemas/invoicingService/schema.s.ts +73 -0
- package/schemas/learningService/schema.s.ts +2 -2
- package/schemas/locationsService/schema.s.ts +980 -0
- package/schemas/logisticsService/schema.s.ts +474 -0
- package/schemas/marketingService/schema.s.ts +3361 -2908
- package/schemas/marketplaceService/schema.s.ts +335 -0
- package/schemas/ordersService/schema.s.ts +90 -0
- package/schemas/paymentsService/schema.s.ts +282 -227
- package/schemas/pricingService/schema.s.ts +1043 -804
- package/schemas/projectsService/schema.s.ts +1452 -1184
- package/schemas/quotesService/schema.s.ts +104 -0
- package/schemas/salesService/schema.s.ts +28 -19
- package/schemas/securityService/schema.s.ts +112 -14
- package/schemas/servicesService/schema.s.ts +3681 -0
- package/schemas/shipmentsService/schema.s.ts +43 -34
- package/schemas/socialService/schema.s.ts +1665 -1246
- package/schemas/storageService/schema.s.ts +260 -239
- package/schemas/subscriptionsService/schema.s.ts +1651 -0
- package/schemas/supportService/schema.s.ts +2420 -2039
- package/schemas/systemService/schema.s.ts +2107 -1479
- package/schemas/tenantsService/schema.s.ts +1588 -960
- package/schemas/timeTrackerService/schema.s.ts +550 -444
- package/schemas/usersService/schema.s.ts +440 -0
- package/schemas/walletsService/schema.s.ts +36 -0
- package/vite.config.js +1 -0
- package/wwwroot/build/bundle.js +1 -1
- package/clients/authService/core/ApiError.js +0 -20
- package/clients/authService/core/ApiError.ts +0 -25
- package/clients/authService/core/ApiRequestOptions.js +0 -2
- package/clients/authService/core/ApiRequestOptions.ts +0 -17
- package/clients/authService/core/ApiResult.js +0 -2
- package/clients/authService/core/ApiResult.ts +0 -11
- package/clients/authService/core/CancelablePromise.js +0 -104
- package/clients/authService/core/CancelablePromise.ts +0 -131
- package/clients/authService/core/OpenAPI.js +0 -14
- package/clients/authService/core/OpenAPI.ts +0 -32
- package/clients/authService/core/request.js +0 -294
- package/clients/authService/core/request.ts +0 -322
- package/clients/authService/index.js +0 -28
- package/clients/authService/index.ts +0 -48
- package/clients/authService/models/AccessTokenResponse.js +0 -2
- package/clients/authService/models/AccessTokenResponse.ts +0 -11
- package/clients/authService/models/AccountHolderCreateDto.js +0 -12
- package/clients/authService/models/AccountHolderCreateDto.ts +0 -41
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +0 -2
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +0 -14
- package/clients/authService/models/ApiAuthorizationResult.js +0 -2
- package/clients/authService/models/ApiAuthorizationResult.ts +0 -17
- package/clients/authService/models/ApiAuthorizationResultEnvelope.js +0 -2
- package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +0 -14
- package/clients/authService/models/EnrollmentId.js +0 -2
- package/clients/authService/models/EnrollmentId.ts +0 -5
- package/clients/authService/models/ErrorEnvelope.js +0 -2
- package/clients/authService/models/ErrorEnvelope.ts +0 -12
- package/clients/authService/models/ForgotPasswordRequest.js +0 -2
- package/clients/authService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/authService/models/HttpValidationProblemDetails.js +0 -2
- package/clients/authService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/authService/models/InfoRequest.js +0 -2
- package/clients/authService/models/InfoRequest.ts +0 -10
- package/clients/authService/models/InfoResponse.js +0 -2
- package/clients/authService/models/InfoResponse.ts +0 -9
- package/clients/authService/models/JsonWebKey.js +0 -2
- package/clients/authService/models/JsonWebKey.ts +0 -13
- package/clients/authService/models/JsonWebKeySet.js +0 -2
- package/clients/authService/models/JsonWebKeySet.ts +0 -9
- package/clients/authService/models/JsonWebKeySetEnvelope.js +0 -2
- package/clients/authService/models/JsonWebKeySetEnvelope.ts +0 -14
- package/clients/authService/models/JsonWebToken.js +0 -2
- package/clients/authService/models/JsonWebToken.ts +0 -15
- package/clients/authService/models/JsonWebTokenEnvelope.js +0 -2
- package/clients/authService/models/JsonWebTokenEnvelope.ts +0 -14
- package/clients/authService/models/JsonWebTokenHeader.js +0 -2
- package/clients/authService/models/JsonWebTokenHeader.ts +0 -11
- package/clients/authService/models/JsonWebTokenPayload.js +0 -2
- package/clients/authService/models/JsonWebTokenPayload.ts +0 -17
- package/clients/authService/models/LoginRequest.js +0 -2
- package/clients/authService/models/LoginRequest.ts +0 -11
- package/clients/authService/models/OAuthTokenRequest.js +0 -2
- package/clients/authService/models/OAuthTokenRequest.ts +0 -12
- package/clients/authService/models/OpenIdConfiguration.js +0 -2
- package/clients/authService/models/OpenIdConfiguration.ts +0 -19
- package/clients/authService/models/OpenIdConfigurationEnvelope.js +0 -2
- package/clients/authService/models/OpenIdConfigurationEnvelope.ts +0 -14
- package/clients/authService/models/RefreshRequest.js +0 -2
- package/clients/authService/models/RefreshRequest.ts +0 -8
- package/clients/authService/models/RegisterRequest.js +0 -2
- package/clients/authService/models/RegisterRequest.ts +0 -9
- package/clients/authService/models/ResendConfirmationEmailRequest.js +0 -2
- package/clients/authService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/authService/models/ResetPasswordRequest.js +0 -2
- package/clients/authService/models/ResetPasswordRequest.ts +0 -10
- package/clients/authService/models/SigninModel.js +0 -2
- package/clients/authService/models/SigninModel.ts +0 -9
- package/clients/authService/models/StringListEnvelope.js +0 -2
- package/clients/authService/models/StringListEnvelope.ts +0 -13
- package/clients/authService/models/TenantId.js +0 -2
- package/clients/authService/models/TenantId.ts +0 -5
- package/clients/authService/models/TwoFactorRequest.js +0 -2
- package/clients/authService/models/TwoFactorRequest.ts +0 -12
- package/clients/authService/models/TwoFactorResponse.js +0 -2
- package/clients/authService/models/TwoFactorResponse.ts +0 -12
- package/clients/authService/models/UserId.js +0 -2
- package/clients/authService/models/UserId.ts +0 -5
- package/clients/authService/services/ApplicationsService.js +0 -112
- package/clients/authService/services/ApplicationsService.ts +0 -132
- package/clients/authService/services/AuthService.js +0 -246
- package/clients/authService/services/AuthService.ts +0 -293
- package/clients/authService/services/CheckerService.js +0 -22
- package/clients/authService/services/CheckerService.ts +0 -25
- package/clients/authService/services/OAuthService.js +0 -152
- package/clients/authService/services/OAuthService.ts +0 -183
- package/clients/authService/services/ResourceService.js +0 -22
- package/clients/authService/services/ResourceService.ts +0 -25
- package/clients/authService/services/UserInfoService.js +0 -36
- package/clients/authService/services/UserInfoService.ts +0 -41
- package/clients/holderService/core/ApiError.js +0 -20
- package/clients/holderService/core/ApiError.ts +0 -25
- package/clients/holderService/core/ApiRequestOptions.js +0 -2
- package/clients/holderService/core/ApiRequestOptions.ts +0 -17
- package/clients/holderService/core/ApiResult.js +0 -2
- package/clients/holderService/core/ApiResult.ts +0 -11
- package/clients/holderService/core/CancelablePromise.js +0 -104
- package/clients/holderService/core/CancelablePromise.ts +0 -131
- package/clients/holderService/core/OpenAPI.js +0 -14
- package/clients/holderService/core/OpenAPI.ts +0 -32
- package/clients/holderService/core/request.js +0 -294
- package/clients/holderService/core/request.ts +0 -322
- package/clients/holderService/index.js +0 -30
- package/clients/holderService/index.ts +0 -47
- package/clients/holderService/models/AddressDto.js +0 -2
- package/clients/holderService/models/AddressDto.ts +0 -31
- package/clients/holderService/models/AddressDtoListEnvelope.js +0 -2
- package/clients/holderService/models/AddressDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/CartDto.js +0 -2
- package/clients/holderService/models/CartDto.ts +0 -18
- package/clients/holderService/models/CartDtoEnvelope.js +0 -2
- package/clients/holderService/models/CartDtoEnvelope.ts +0 -14
- package/clients/holderService/models/EmptyEnvelope.js +0 -2
- package/clients/holderService/models/EmptyEnvelope.ts +0 -12
- package/clients/holderService/models/EnrollmentId.js +0 -2
- package/clients/holderService/models/EnrollmentId.ts +0 -5
- package/clients/holderService/models/ErrorEnvelope.js +0 -2
- package/clients/holderService/models/ErrorEnvelope.ts +0 -12
- package/clients/holderService/models/ExtendedTenantDto.js +0 -2
- package/clients/holderService/models/ExtendedTenantDto.ts +0 -51
- package/clients/holderService/models/ExtendedTenantDtoListEnvelope.js +0 -2
- package/clients/holderService/models/ExtendedTenantDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/ExtendedTenantEnrolmentDto.js +0 -2
- package/clients/holderService/models/ExtendedTenantEnrolmentDto.ts +0 -19
- package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.js +0 -2
- package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/ExtendedUserDto.js +0 -26
- package/clients/holderService/models/ExtendedUserDto.ts +0 -80
- package/clients/holderService/models/ExtendedUserDtoEnvelope.js +0 -2
- package/clients/holderService/models/ExtendedUserDtoEnvelope.ts +0 -14
- package/clients/holderService/models/FollowRecordDto.js +0 -2
- package/clients/holderService/models/FollowRecordDto.ts +0 -12
- package/clients/holderService/models/FollowRecordDtoListEnvelope.js +0 -2
- package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/Int32Envelope.js +0 -2
- package/clients/holderService/models/Int32Envelope.ts +0 -13
- package/clients/holderService/models/NotificationDto.js +0 -2
- package/clients/holderService/models/NotificationDto.ts +0 -16
- package/clients/holderService/models/NotificationDtoListEnvelope.js +0 -2
- package/clients/holderService/models/NotificationDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/Operation.js +0 -16
- package/clients/holderService/models/Operation.ts +0 -23
- package/clients/holderService/models/SocialProfileDto.js +0 -12
- package/clients/holderService/models/SocialProfileDto.ts +0 -40
- package/clients/holderService/models/SocialProfileDtoEnvelope.js +0 -2
- package/clients/holderService/models/SocialProfileDtoEnvelope.ts +0 -14
- package/clients/holderService/models/TenantDto.js +0 -2
- package/clients/holderService/models/TenantDto.ts +0 -45
- package/clients/holderService/models/TenantDtoListEnvelope.js +0 -2
- package/clients/holderService/models/TenantDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/TenantEnrolmentDto.js +0 -2
- package/clients/holderService/models/TenantEnrolmentDto.ts +0 -15
- package/clients/holderService/models/TenantEnrolmentDtoEnvelope.js +0 -2
- package/clients/holderService/models/TenantEnrolmentDtoEnvelope.ts +0 -14
- package/clients/holderService/models/TenantEnrolmentDtoListEnvelope.js +0 -2
- package/clients/holderService/models/TenantEnrolmentDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/TenantInvitationDto.js +0 -2
- package/clients/holderService/models/TenantInvitationDto.ts +0 -16
- package/clients/holderService/models/TenantInvitationDtoListEnvelope.js +0 -2
- package/clients/holderService/models/TenantInvitationDtoListEnvelope.ts +0 -14
- package/clients/holderService/models/UserDto.js +0 -26
- package/clients/holderService/models/UserDto.ts +0 -72
- package/clients/holderService/models/UserDtoEnvelope.js +0 -2
- package/clients/holderService/models/UserDtoEnvelope.ts +0 -14
- package/clients/holderService/models/UserSettingsDto.js +0 -12
- package/clients/holderService/models/UserSettingsDto.ts +0 -21
- package/clients/holderService/models/UserSettingsDtoEnvelope.js +0 -2
- package/clients/holderService/models/UserSettingsDtoEnvelope.ts +0 -14
- package/clients/holderService/models/UserSettingsUpdateDto.js +0 -12
- package/clients/holderService/models/UserSettingsUpdateDto.ts +0 -19
- package/clients/holderService/models/UserUpdateDto.js +0 -14
- package/clients/holderService/models/UserUpdateDto.ts +0 -43
- package/clients/holderService/models/WalletDto.js +0 -2
- package/clients/holderService/models/WalletDto.ts +0 -22
- package/clients/holderService/models/WalletDtoEnvelope.js +0 -2
- package/clients/holderService/models/WalletDtoEnvelope.ts +0 -14
- package/clients/holderService/services/UserService.js +0 -507
- package/clients/holderService/services/UserService.ts +0 -587
- package/clients/tenantService/core/ApiError.js +0 -20
- package/clients/tenantService/core/ApiError.ts +0 -25
- package/clients/tenantService/core/ApiRequestOptions.js +0 -2
- package/clients/tenantService/core/ApiRequestOptions.ts +0 -17
- package/clients/tenantService/core/ApiResult.js +0 -2
- package/clients/tenantService/core/ApiResult.ts +0 -11
- package/clients/tenantService/core/CancelablePromise.js +0 -104
- package/clients/tenantService/core/CancelablePromise.ts +0 -131
- package/clients/tenantService/core/OpenAPI.js +0 -14
- package/clients/tenantService/core/OpenAPI.ts +0 -32
- package/clients/tenantService/core/request.js +0 -294
- package/clients/tenantService/core/request.ts +0 -322
- package/clients/tenantService/index.js +0 -24
- package/clients/tenantService/index.ts +0 -118
- package/clients/tenantService/models/BooleanEnvelope.js +0 -2
- package/clients/tenantService/models/BooleanEnvelope.ts +0 -13
- package/clients/tenantService/models/CartDto.js +0 -2
- package/clients/tenantService/models/CartDto.ts +0 -18
- package/clients/tenantService/models/CartDtoEnvelope.js +0 -2
- package/clients/tenantService/models/CartDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/EmptyEnvelope.js +0 -2
- package/clients/tenantService/models/EmptyEnvelope.ts +0 -12
- package/clients/tenantService/models/ErrorEnvelope.js +0 -2
- package/clients/tenantService/models/ErrorEnvelope.ts +0 -12
- package/clients/tenantService/models/ExtendedTenantDto.js +0 -2
- package/clients/tenantService/models/ExtendedTenantDto.ts +0 -51
- package/clients/tenantService/models/ExtendedTenantDtoEnvelope.js +0 -2
- package/clients/tenantService/models/ExtendedTenantDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/ExtendedTenantEnrolmentDto.js +0 -2
- package/clients/tenantService/models/ExtendedTenantEnrolmentDto.ts +0 -19
- package/clients/tenantService/models/ExtendedTenantEnrolmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/ExtendedTenantEnrolmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/Int32Envelope.js +0 -2
- package/clients/tenantService/models/Int32Envelope.ts +0 -13
- package/clients/tenantService/models/NotificationDto.js +0 -2
- package/clients/tenantService/models/NotificationDto.ts +0 -16
- package/clients/tenantService/models/NotificationDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/NotificationDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/Operation.js +0 -16
- package/clients/tenantService/models/Operation.ts +0 -23
- package/clients/tenantService/models/SocialProfileDto.js +0 -12
- package/clients/tenantService/models/SocialProfileDto.ts +0 -40
- package/clients/tenantService/models/SocialProfileDtoEnvelope.js +0 -2
- package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/StringListEnvelope.js +0 -2
- package/clients/tenantService/models/StringListEnvelope.ts +0 -13
- package/clients/tenantService/models/SuiteLicenseAssignmentDto.js +0 -2
- package/clients/tenantService/models/SuiteLicenseAssignmentDto.ts +0 -16
- package/clients/tenantService/models/SuiteLicenseAssignmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/SuiteLicenseDto.js +0 -2
- package/clients/tenantService/models/SuiteLicenseDto.ts +0 -15
- package/clients/tenantService/models/SuiteLicenseDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/SuiteLicenseDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/SuiteLicenseFeatureDto.js +0 -2
- package/clients/tenantService/models/SuiteLicenseFeatureDto.ts +0 -9
- package/clients/tenantService/models/SuiteLicenseFeatureDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/SuiteLicenseFeatureDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantCreateDto.js +0 -2
- package/clients/tenantService/models/TenantCreateDto.ts +0 -25
- package/clients/tenantService/models/TenantDepartmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantDepartmentCreateDto.ts +0 -16
- package/clients/tenantService/models/TenantDepartmentDto.js +0 -2
- package/clients/tenantService/models/TenantDepartmentDto.ts +0 -16
- package/clients/tenantService/models/TenantDepartmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantDepartmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantDepartmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantDepartmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantDepartmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantDepartmentUpdateDto.ts +0 -12
- package/clients/tenantService/models/TenantDto.js +0 -2
- package/clients/tenantService/models/TenantDto.ts +0 -45
- package/clients/tenantService/models/TenantDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantEnrollmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantEnrollmentCreateDto.ts +0 -11
- package/clients/tenantService/models/TenantEnrollmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantEnrollmentUpdateDto.ts +0 -9
- package/clients/tenantService/models/TenantEnrolmentDto.js +0 -2
- package/clients/tenantService/models/TenantEnrolmentDto.ts +0 -15
- package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantEnrolmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantEnrolmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantIndustryCreateDto.js +0 -2
- package/clients/tenantService/models/TenantIndustryCreateDto.ts +0 -12
- package/clients/tenantService/models/TenantIndustryDto.js +0 -2
- package/clients/tenantService/models/TenantIndustryDto.ts +0 -12
- package/clients/tenantService/models/TenantIndustryDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantIndustryDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantIndustryDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantIndustryDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantIndustryUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantIndustryUpdateDto.ts +0 -10
- package/clients/tenantService/models/TenantInvitationCreateDto.js +0 -2
- package/clients/tenantService/models/TenantInvitationCreateDto.ts +0 -12
- package/clients/tenantService/models/TenantInvitationDto.js +0 -2
- package/clients/tenantService/models/TenantInvitationDto.ts +0 -16
- package/clients/tenantService/models/TenantInvitationDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantInvitationDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantInvitationDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantInvitationDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantPositionCreateDto.js +0 -2
- package/clients/tenantService/models/TenantPositionCreateDto.ts +0 -13
- package/clients/tenantService/models/TenantPositionDto.js +0 -2
- package/clients/tenantService/models/TenantPositionDto.ts +0 -13
- package/clients/tenantService/models/TenantPositionDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantPositionDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantPositionDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantPositionDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantPositionUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantPositionUpdateDto.ts +0 -9
- package/clients/tenantService/models/TenantSegmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantSegmentCreateDto.ts +0 -12
- package/clients/tenantService/models/TenantSegmentDto.js +0 -2
- package/clients/tenantService/models/TenantSegmentDto.ts +0 -12
- package/clients/tenantService/models/TenantSegmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantSegmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantSegmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantSegmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantSegmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantSegmentUpdateDto.ts +0 -10
- package/clients/tenantService/models/TenantSizeCreateDto.js +0 -2
- package/clients/tenantService/models/TenantSizeCreateDto.ts +0 -12
- package/clients/tenantService/models/TenantSizeDto.js +0 -2
- package/clients/tenantService/models/TenantSizeDto.ts +0 -12
- package/clients/tenantService/models/TenantSizeDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantSizeDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantSizeDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantSizeDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantSizeUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantSizeUpdateDto.ts +0 -10
- package/clients/tenantService/models/TenantTeamContactEnrollmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamContactEnrollmentCreateDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamContactEnrollmentDto.js +0 -2
- package/clients/tenantService/models/TenantTeamContactEnrollmentDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamContactEnrollmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamContactEnrollmentUpdateDto.ts +0 -11
- package/clients/tenantService/models/TenantTeamCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamCreateDto.ts +0 -17
- package/clients/tenantService/models/TenantTeamDto.js +0 -2
- package/clients/tenantService/models/TenantTeamDto.ts +0 -17
- package/clients/tenantService/models/TenantTeamDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentCreateDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDto.js +0 -2
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentUpdateDto.ts +0 -11
- package/clients/tenantService/models/TenantTeamProjectEnrollmentCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamProjectEnrollmentCreateDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDto.js +0 -2
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDto.ts +0 -13
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamProjectEnrollmentUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamProjectEnrollmentUpdateDto.ts +0 -11
- package/clients/tenantService/models/TenantTeamRecordCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamRecordCreateDto.ts +0 -12
- package/clients/tenantService/models/TenantTeamRecordDto.js +0 -2
- package/clients/tenantService/models/TenantTeamRecordDto.ts +0 -12
- package/clients/tenantService/models/TenantTeamRecordDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamRecordDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamRecordDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTeamRecordDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTeamRecordUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamRecordUpdateDto.ts +0 -10
- package/clients/tenantService/models/TenantTeamUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTeamUpdateDto.ts +0 -17
- package/clients/tenantService/models/TenantTerritoryCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTerritoryCreateDto.ts +0 -14
- package/clients/tenantService/models/TenantTerritoryDto.js +0 -2
- package/clients/tenantService/models/TenantTerritoryDto.ts +0 -14
- package/clients/tenantService/models/TenantTerritoryDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTerritoryDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTerritoryDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTerritoryDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTerritoryUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTerritoryUpdateDto.ts +0 -9
- package/clients/tenantService/models/TenantTypeCreateDto.js +0 -2
- package/clients/tenantService/models/TenantTypeCreateDto.ts +0 -11
- package/clients/tenantService/models/TenantTypeDto.js +0 -2
- package/clients/tenantService/models/TenantTypeDto.ts +0 -11
- package/clients/tenantService/models/TenantTypeDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTypeDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTypeDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantTypeDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantTypeUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantTypeUpdateDto.ts +0 -9
- package/clients/tenantService/models/TenantUnitCreateDto.js +0 -2
- package/clients/tenantService/models/TenantUnitCreateDto.ts +0 -18
- package/clients/tenantService/models/TenantUnitDto.js +0 -2
- package/clients/tenantService/models/TenantUnitDto.ts +0 -18
- package/clients/tenantService/models/TenantUnitDtoEnvelope.js +0 -2
- package/clients/tenantService/models/TenantUnitDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantUnitDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/TenantUnitDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/TenantUnitUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantUnitUpdateDto.ts +0 -14
- package/clients/tenantService/models/TenantUpdateDto.js +0 -2
- package/clients/tenantService/models/TenantUpdateDto.ts +0 -31
- package/clients/tenantService/models/UserDto.js +0 -26
- package/clients/tenantService/models/UserDto.ts +0 -72
- package/clients/tenantService/models/UserDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/UserDtoListEnvelope.ts +0 -14
- package/clients/tenantService/models/WalletDto.js +0 -2
- package/clients/tenantService/models/WalletDto.ts +0 -22
- package/clients/tenantService/models/WalletDtoEnvelope.js +0 -2
- package/clients/tenantService/models/WalletDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/WebPortalDto.js +0 -2
- package/clients/tenantService/models/WebPortalDto.ts +0 -19
- package/clients/tenantService/models/WebPortalDtoListEnvelope.js +0 -2
- package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +0 -14
- package/clients/tenantService/services/SizesService.js +0 -173
- package/clients/tenantService/services/SizesService.ts +0 -204
- package/clients/tenantService/services/TenantsService.js +0 -3173
- package/clients/tenantService/services/TenantsService.ts +0 -3701
- package/openapi-ts-error-1774919197061.log +0 -12
- package/openapi-ts-error-1774919206848.log +0 -12
- package/openapi-ts-error-1774919211413.log +0 -12
- package/openapi-ts-error-1774919234889.log +0 -12
- package/openapi-ts-error-1774919238790.log +0 -12
- package/openapi-ts-error-1774919250450.log +0 -12
- package/openapi-ts-error-1774919289933.log +0 -12
- package/openapi-ts-error-1774919293886.log +0 -12
- package/openapi-ts-error-1774919297530.log +0 -12
- package/openapi-ts-error-1774952133757.log +0 -12
- package/openapi-ts-error-1774952145095.log +0 -12
- package/openapi-ts-error-1774952149289.log +0 -12
- package/openapi-ts-error-1774952170560.log +0 -12
- package/openapi-ts-error-1774952173946.log +0 -12
- package/openapi-ts-error-1774952221374.log +0 -12
- package/openapi-ts-error-1774952225129.log +0 -12
- package/openapi-ts-error-1774952228932.log +0 -12
- package/openapi-ts-error-1774955105047.log +0 -12
- package/output.txt +0 -1831
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
4
|
-
import type {
|
|
4
|
+
import type { GetApplicationData, GetRequiredPermissionsData, GetGrantedTenantPermissionsData, GetGrantedTenantRolesData, GetGrantedEnrollmentPermissionsData, IsAuthenticatedData, IsAuthenticatedResponse, GetVersionData, GetHealthData, GetHelloData, PostRegisterData, PostRegisterError, PostLoginData, PostLoginResponse, PostRefreshData, PostRefreshResponse, MapIdentityApiConfirmEmailData, PostResendConfirmationEmailData, PostForgotPasswordData, PostForgotPasswordError, PostResetPasswordData, PostResetPasswordError, PostManage2FaData, PostManage2FaResponse, PostManage2FaError, GetManageInfoData, GetManageInfoResponse, GetManageInfoError, PostManageInfoData, PostManageInfoResponse, PostManageInfoError, GetData, GetResponse, GetError, TokenData, TokenResponse, TokenError, GetPermissionsData, GetPermissionsResponse, GetPermissionsError, CheckPasswordSignInAsyncData, CheckPasswordSignInAsyncResponse, CheckPasswordSignInAsyncError, PasswordSignInAsyncData, PasswordSignInAsyncResponse, PasswordSignInAsyncError, GetJwKsData, GetJwKsResponse, GetOpenIdConfigurationData, GetOpenIdConfigurationResponse, GetMessageData, GetConnectUserinfoData, PostConnectUserinfoData } from './types.gen';
|
|
5
5
|
import { client as _heyApiClient } from './client.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
@@ -18,43 +18,67 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
18
18
|
meta?: Record<string, unknown>;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Get application by ID
|
|
23
|
+
* Retrieves an application by its unique identifier.
|
|
24
|
+
*/
|
|
25
|
+
export const getApplication = <ThrowOnError extends boolean = false>(options: Options<GetApplicationData, ThrowOnError>) => {
|
|
22
26
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
23
|
-
url: '/api/v2/Applications/{
|
|
27
|
+
url: '/api/v2/Applications/{appId}',
|
|
24
28
|
...options
|
|
25
29
|
});
|
|
26
30
|
};
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Get required permissions for an application
|
|
34
|
+
* Retrieves the list of permissions required by the specified application.
|
|
35
|
+
*/
|
|
36
|
+
export const getRequiredPermissions = <ThrowOnError extends boolean = false>(options: Options<GetRequiredPermissionsData, ThrowOnError>) => {
|
|
29
37
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
30
|
-
url: '/api/v2/Applications/{
|
|
38
|
+
url: '/api/v2/Applications/{appId}/RequiredPermissions',
|
|
31
39
|
...options
|
|
32
40
|
});
|
|
33
41
|
};
|
|
34
42
|
|
|
35
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Get granted tenant permissions for an application
|
|
45
|
+
* Retrieves the list of permissions granted to the specified application within a tenant context.
|
|
46
|
+
*/
|
|
47
|
+
export const getGrantedTenantPermissions = <ThrowOnError extends boolean = false>(options: Options<GetGrantedTenantPermissionsData, ThrowOnError>) => {
|
|
36
48
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
37
|
-
url: '/api/v2/Applications/{
|
|
49
|
+
url: '/api/v2/Applications/{appId}/GrantedPermissions',
|
|
38
50
|
...options
|
|
39
51
|
});
|
|
40
52
|
};
|
|
41
53
|
|
|
42
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Get granted tenant roles for an application
|
|
56
|
+
* Retrieves the list of security roles granted to the specified application within a tenant context.
|
|
57
|
+
*/
|
|
58
|
+
export const getGrantedTenantRoles = <ThrowOnError extends boolean = false>(options: Options<GetGrantedTenantRolesData, ThrowOnError>) => {
|
|
43
59
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
44
|
-
url: '/api/v2/Applications/{
|
|
60
|
+
url: '/api/v2/Applications/{appId}/GrantedRoles',
|
|
45
61
|
...options
|
|
46
62
|
});
|
|
47
63
|
};
|
|
48
64
|
|
|
49
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Get granted permissions for an application role
|
|
67
|
+
* Retrieves the list of permissions granted through a specific security role for the specified application.
|
|
68
|
+
*/
|
|
69
|
+
export const getGrantedEnrollmentPermissions = <ThrowOnError extends boolean = false>(options: Options<GetGrantedEnrollmentPermissionsData, ThrowOnError>) => {
|
|
50
70
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
51
|
-
url: '/api/v2/Applications/{
|
|
71
|
+
url: '/api/v2/Applications/{appId}/GrantedRoles/{securityRoleId}/GrantedPermissions',
|
|
52
72
|
...options
|
|
53
73
|
});
|
|
54
74
|
};
|
|
55
75
|
|
|
56
|
-
|
|
57
|
-
|
|
76
|
+
/**
|
|
77
|
+
* Check if user is authenticated
|
|
78
|
+
* Returns whether the current user is authenticated.
|
|
79
|
+
*/
|
|
80
|
+
export const isAuthenticated = <ThrowOnError extends boolean = false>(options?: Options<IsAuthenticatedData, ThrowOnError>) => {
|
|
81
|
+
return (options?.client ?? _heyApiClient).get<IsAuthenticatedResponse, unknown, ThrowOnError>({
|
|
58
82
|
url: '/api/v2/Auth/Checker/IsAuthenticated',
|
|
59
83
|
...options
|
|
60
84
|
});
|
|
@@ -183,15 +207,23 @@ export const postManageInfo = <ThrowOnError extends boolean = false>(options: Op
|
|
|
183
207
|
});
|
|
184
208
|
};
|
|
185
209
|
|
|
186
|
-
|
|
187
|
-
|
|
210
|
+
/**
|
|
211
|
+
* Get current user identity
|
|
212
|
+
* Returns the authorization result for the authenticated user, including identity and tenant context.
|
|
213
|
+
*/
|
|
214
|
+
export const get = <ThrowOnError extends boolean = false>(options?: Options<GetData, ThrowOnError>) => {
|
|
215
|
+
return (options?.client ?? _heyApiClient).get<GetResponse, GetError, ThrowOnError>({
|
|
188
216
|
url: '/api/v2/OAuth/WhoAmI',
|
|
189
217
|
...options
|
|
190
218
|
});
|
|
191
219
|
};
|
|
192
220
|
|
|
193
|
-
|
|
194
|
-
|
|
221
|
+
/**
|
|
222
|
+
* Get OAuth token
|
|
223
|
+
* Generates an OAuth token based on the provided credentials or grant type.
|
|
224
|
+
*/
|
|
225
|
+
export const token = <ThrowOnError extends boolean = false>(options?: Options<TokenData, ThrowOnError>) => {
|
|
226
|
+
return (options?.client ?? _heyApiClient).post<TokenResponse, TokenError, ThrowOnError>({
|
|
195
227
|
url: '/api/v2/OAuth/Token',
|
|
196
228
|
...options,
|
|
197
229
|
headers: {
|
|
@@ -201,22 +233,34 @@ export const postApiV2OAuthToken = <ThrowOnError extends boolean = false>(option
|
|
|
201
233
|
});
|
|
202
234
|
};
|
|
203
235
|
|
|
204
|
-
|
|
205
|
-
|
|
236
|
+
/**
|
|
237
|
+
* Get user permissions
|
|
238
|
+
* Retrieves the list of permission identifiers for a specific user within a tenant context.
|
|
239
|
+
*/
|
|
240
|
+
export const getPermissions = <ThrowOnError extends boolean = false>(options: Options<GetPermissionsData, ThrowOnError>) => {
|
|
241
|
+
return (options.client ?? _heyApiClient).get<GetPermissionsResponse, GetPermissionsError, ThrowOnError>({
|
|
206
242
|
url: '/api/v2/OAuth/Permissions',
|
|
207
243
|
...options
|
|
208
244
|
});
|
|
209
245
|
};
|
|
210
246
|
|
|
211
|
-
|
|
212
|
-
|
|
247
|
+
/**
|
|
248
|
+
* Check password sign-in
|
|
249
|
+
* Verifies sign-in credentials and returns user details without creating a session.
|
|
250
|
+
*/
|
|
251
|
+
export const checkPasswordSignInAsync = <ThrowOnError extends boolean = false>(options?: Options<CheckPasswordSignInAsyncData, ThrowOnError>) => {
|
|
252
|
+
return (options?.client ?? _heyApiClient).get<CheckPasswordSignInAsyncResponse, CheckPasswordSignInAsyncError, ThrowOnError>({
|
|
213
253
|
url: '/api/v2/OAuth/SignIn',
|
|
214
254
|
...options
|
|
215
255
|
});
|
|
216
256
|
};
|
|
217
257
|
|
|
218
|
-
|
|
219
|
-
|
|
258
|
+
/**
|
|
259
|
+
* Sign in with password
|
|
260
|
+
* Authenticates a user using email and password credentials.
|
|
261
|
+
*/
|
|
262
|
+
export const passwordSignInAsync = <ThrowOnError extends boolean = false>(options?: Options<PasswordSignInAsyncData, ThrowOnError>) => {
|
|
263
|
+
return (options?.client ?? _heyApiClient).post<PasswordSignInAsyncResponse, PasswordSignInAsyncError, ThrowOnError>({
|
|
220
264
|
url: '/api/v2/OAuth/SignIn',
|
|
221
265
|
...options,
|
|
222
266
|
headers: {
|
|
@@ -226,21 +270,33 @@ export const postApiV2OAuthSignIn = <ThrowOnError extends boolean = false>(optio
|
|
|
226
270
|
});
|
|
227
271
|
};
|
|
228
272
|
|
|
229
|
-
|
|
230
|
-
|
|
273
|
+
/**
|
|
274
|
+
* Get JSON Web Key Set
|
|
275
|
+
* Retrieves the signing keys (JWKS) for a specific application.
|
|
276
|
+
*/
|
|
277
|
+
export const getJwKs = <ThrowOnError extends boolean = false>(options: Options<GetJwKsData, ThrowOnError>) => {
|
|
278
|
+
return (options.client ?? _heyApiClient).get<GetJwKsResponse, unknown, ThrowOnError>({
|
|
231
279
|
url: '/api/v2/OAuth/{applicationId}/Keys',
|
|
232
280
|
...options
|
|
233
281
|
});
|
|
234
282
|
};
|
|
235
283
|
|
|
236
|
-
|
|
237
|
-
|
|
284
|
+
/**
|
|
285
|
+
* Get OpenID configuration
|
|
286
|
+
* Retrieves the OpenID Connect discovery document for a specific application within a tenant.
|
|
287
|
+
*/
|
|
288
|
+
export const getOpenIdConfiguration = <ThrowOnError extends boolean = false>(options: Options<GetOpenIdConfigurationData, ThrowOnError>) => {
|
|
289
|
+
return (options.client ?? _heyApiClient).get<GetOpenIdConfigurationResponse, unknown, ThrowOnError>({
|
|
238
290
|
url: '/api/v2/OAuth/{tenantId}/{applicationId}/.Well-Known/OpenId-Configuration',
|
|
239
291
|
...options
|
|
240
292
|
});
|
|
241
293
|
};
|
|
242
294
|
|
|
243
|
-
|
|
295
|
+
/**
|
|
296
|
+
* Get authenticated resource message
|
|
297
|
+
* Returns a message confirming the authenticated user's identity. Requires the 'abs_api' scope.
|
|
298
|
+
*/
|
|
299
|
+
export const getMessage = <ThrowOnError extends boolean = false>(options?: Options<GetMessageData, ThrowOnError>) => {
|
|
244
300
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
245
301
|
url: '/api/v2/IdentityService/Resource/message',
|
|
246
302
|
...options
|
|
@@ -261,37 +261,9 @@ export type TwoFactorResponse = {
|
|
|
261
261
|
isMachineRemembered: boolean;
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export type
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
qualifiedName?: string | null;
|
|
268
|
-
birthday?: string;
|
|
269
|
-
firstName?: string | null;
|
|
270
|
-
lastName?: string | null;
|
|
271
|
-
publicName?: string | null;
|
|
272
|
-
idProvider?: string | null;
|
|
273
|
-
gender?: 'Unknown' | 'Male' | 'Female' | 'PreferNotToSay';
|
|
274
|
-
email?: string | null;
|
|
275
|
-
about?: string | null;
|
|
276
|
-
status?: string | null;
|
|
277
|
-
jobTitle?: string | null;
|
|
278
|
-
gitHubUrl?: string | null;
|
|
279
|
-
websiteUrl?: string | null;
|
|
280
|
-
twitterUrl?: string | null;
|
|
281
|
-
facebookUrl?: string | null;
|
|
282
|
-
youTubeUrl?: string | null;
|
|
283
|
-
linkedInUrl?: string | null;
|
|
284
|
-
instagramUrl?: string | null;
|
|
285
|
-
timezoneId?: string | null;
|
|
286
|
-
languageId?: string | null;
|
|
287
|
-
currencyId?: string | null;
|
|
288
|
-
countryId?: string | null;
|
|
289
|
-
stateId?: string | null;
|
|
290
|
-
cityId?: string | null;
|
|
291
|
-
password?: string | null;
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
export type UserCreateDtoWritable = {
|
|
264
|
+
export type UserCreateDto = {
|
|
265
|
+
id?: string;
|
|
266
|
+
timestamp?: string;
|
|
295
267
|
qualifiedName?: string | null;
|
|
296
268
|
birthday?: string;
|
|
297
269
|
firstName?: string | null;
|
|
@@ -325,127 +297,127 @@ export type UserCreateDtoEnvelopeReadable = {
|
|
|
325
297
|
correlationId?: string | null;
|
|
326
298
|
readonly timestamp?: string;
|
|
327
299
|
readonly activityId?: string | null;
|
|
328
|
-
result?:
|
|
300
|
+
result?: UserCreateDto;
|
|
329
301
|
};
|
|
330
302
|
|
|
331
303
|
export type UserCreateDtoEnvelopeWritable = {
|
|
332
304
|
errorMessage?: string | null;
|
|
333
305
|
correlationId?: string | null;
|
|
334
|
-
result?:
|
|
306
|
+
result?: UserCreateDto;
|
|
335
307
|
};
|
|
336
308
|
|
|
337
309
|
export type UserId = string;
|
|
338
310
|
|
|
339
|
-
export type
|
|
311
|
+
export type GetApplicationData = {
|
|
340
312
|
body?: never;
|
|
341
313
|
headers?: {
|
|
342
314
|
'x-api-version'?: string;
|
|
343
315
|
};
|
|
344
316
|
path: {
|
|
345
|
-
|
|
317
|
+
appId: string;
|
|
346
318
|
};
|
|
347
319
|
query?: {
|
|
348
320
|
'api-version'?: string;
|
|
349
321
|
};
|
|
350
|
-
url: '/api/v2/Applications/{
|
|
322
|
+
url: '/api/v2/Applications/{appId}';
|
|
351
323
|
};
|
|
352
324
|
|
|
353
|
-
export type
|
|
325
|
+
export type GetApplicationResponses = {
|
|
354
326
|
/**
|
|
355
327
|
* OK
|
|
356
328
|
*/
|
|
357
329
|
200: unknown;
|
|
358
330
|
};
|
|
359
331
|
|
|
360
|
-
export type
|
|
332
|
+
export type GetRequiredPermissionsData = {
|
|
361
333
|
body?: never;
|
|
362
334
|
headers?: {
|
|
363
335
|
'x-api-version'?: string;
|
|
364
336
|
};
|
|
365
337
|
path: {
|
|
366
|
-
|
|
338
|
+
appId: string;
|
|
367
339
|
};
|
|
368
340
|
query?: {
|
|
369
341
|
'api-version'?: string;
|
|
370
342
|
};
|
|
371
|
-
url: '/api/v2/Applications/{
|
|
343
|
+
url: '/api/v2/Applications/{appId}/RequiredPermissions';
|
|
372
344
|
};
|
|
373
345
|
|
|
374
|
-
export type
|
|
346
|
+
export type GetRequiredPermissionsResponses = {
|
|
375
347
|
/**
|
|
376
348
|
* OK
|
|
377
349
|
*/
|
|
378
350
|
200: unknown;
|
|
379
351
|
};
|
|
380
352
|
|
|
381
|
-
export type
|
|
353
|
+
export type GetGrantedTenantPermissionsData = {
|
|
382
354
|
body?: never;
|
|
383
355
|
headers?: {
|
|
384
356
|
'x-api-version'?: string;
|
|
385
357
|
};
|
|
386
358
|
path: {
|
|
387
|
-
|
|
359
|
+
appId: string;
|
|
388
360
|
};
|
|
389
361
|
query?: {
|
|
390
|
-
|
|
362
|
+
tenantId?: string;
|
|
391
363
|
'api-version'?: string;
|
|
392
364
|
};
|
|
393
|
-
url: '/api/v2/Applications/{
|
|
365
|
+
url: '/api/v2/Applications/{appId}/GrantedPermissions';
|
|
394
366
|
};
|
|
395
367
|
|
|
396
|
-
export type
|
|
368
|
+
export type GetGrantedTenantPermissionsResponses = {
|
|
397
369
|
/**
|
|
398
370
|
* OK
|
|
399
371
|
*/
|
|
400
372
|
200: unknown;
|
|
401
373
|
};
|
|
402
374
|
|
|
403
|
-
export type
|
|
375
|
+
export type GetGrantedTenantRolesData = {
|
|
404
376
|
body?: never;
|
|
405
377
|
headers?: {
|
|
406
378
|
'x-api-version'?: string;
|
|
407
379
|
};
|
|
408
380
|
path: {
|
|
409
|
-
|
|
381
|
+
appId: string;
|
|
410
382
|
};
|
|
411
383
|
query?: {
|
|
412
|
-
|
|
384
|
+
tenantId?: string;
|
|
413
385
|
'api-version'?: string;
|
|
414
386
|
};
|
|
415
|
-
url: '/api/v2/Applications/{
|
|
387
|
+
url: '/api/v2/Applications/{appId}/GrantedRoles';
|
|
416
388
|
};
|
|
417
389
|
|
|
418
|
-
export type
|
|
390
|
+
export type GetGrantedTenantRolesResponses = {
|
|
419
391
|
/**
|
|
420
392
|
* OK
|
|
421
393
|
*/
|
|
422
394
|
200: unknown;
|
|
423
395
|
};
|
|
424
396
|
|
|
425
|
-
export type
|
|
397
|
+
export type GetGrantedEnrollmentPermissionsData = {
|
|
426
398
|
body?: never;
|
|
427
399
|
headers?: {
|
|
428
400
|
'x-api-version'?: string;
|
|
429
401
|
};
|
|
430
402
|
path: {
|
|
431
|
-
|
|
432
|
-
|
|
403
|
+
appId: string;
|
|
404
|
+
securityRoleId: string;
|
|
433
405
|
};
|
|
434
406
|
query?: {
|
|
435
|
-
|
|
407
|
+
enrollmentId?: string;
|
|
436
408
|
'api-version'?: string;
|
|
437
409
|
};
|
|
438
|
-
url: '/api/v2/Applications/{
|
|
410
|
+
url: '/api/v2/Applications/{appId}/GrantedRoles/{securityRoleId}/GrantedPermissions';
|
|
439
411
|
};
|
|
440
412
|
|
|
441
|
-
export type
|
|
413
|
+
export type GetGrantedEnrollmentPermissionsResponses = {
|
|
442
414
|
/**
|
|
443
415
|
* OK
|
|
444
416
|
*/
|
|
445
417
|
200: unknown;
|
|
446
418
|
};
|
|
447
419
|
|
|
448
|
-
export type
|
|
420
|
+
export type IsAuthenticatedData = {
|
|
449
421
|
body?: never;
|
|
450
422
|
headers?: {
|
|
451
423
|
'x-api-version'?: string;
|
|
@@ -457,14 +429,14 @@ export type GetApiV2AuthCheckerIsAuthenticatedData = {
|
|
|
457
429
|
url: '/api/v2/Auth/Checker/IsAuthenticated';
|
|
458
430
|
};
|
|
459
431
|
|
|
460
|
-
export type
|
|
432
|
+
export type IsAuthenticatedResponses = {
|
|
461
433
|
/**
|
|
462
434
|
* OK
|
|
463
435
|
*/
|
|
464
436
|
200: boolean;
|
|
465
437
|
};
|
|
466
438
|
|
|
467
|
-
export type
|
|
439
|
+
export type IsAuthenticatedResponse = IsAuthenticatedResponses[keyof IsAuthenticatedResponses];
|
|
468
440
|
|
|
469
441
|
export type GetVersionData = {
|
|
470
442
|
body?: never;
|
|
@@ -731,7 +703,7 @@ export type PostManageInfoResponses = {
|
|
|
731
703
|
|
|
732
704
|
export type PostManageInfoResponse = PostManageInfoResponses[keyof PostManageInfoResponses];
|
|
733
705
|
|
|
734
|
-
export type
|
|
706
|
+
export type GetData = {
|
|
735
707
|
body?: never;
|
|
736
708
|
headers?: {
|
|
737
709
|
'x-api-version'?: string;
|
|
@@ -744,7 +716,7 @@ export type GetApiV2oAuthWhoAmIData = {
|
|
|
744
716
|
url: '/api/v2/OAuth/WhoAmI';
|
|
745
717
|
};
|
|
746
718
|
|
|
747
|
-
export type
|
|
719
|
+
export type GetErrors = {
|
|
748
720
|
/**
|
|
749
721
|
* Unauthorized
|
|
750
722
|
*/
|
|
@@ -755,18 +727,18 @@ export type GetApiV2oAuthWhoAmIErrors = {
|
|
|
755
727
|
403: ErrorEnvelopeReadable;
|
|
756
728
|
};
|
|
757
729
|
|
|
758
|
-
export type
|
|
730
|
+
export type GetError = GetErrors[keyof GetErrors];
|
|
759
731
|
|
|
760
|
-
export type
|
|
732
|
+
export type GetResponses = {
|
|
761
733
|
/**
|
|
762
734
|
* OK
|
|
763
735
|
*/
|
|
764
736
|
200: AuthorizationResultEnvelopeReadable;
|
|
765
737
|
};
|
|
766
738
|
|
|
767
|
-
export type
|
|
739
|
+
export type GetResponse = GetResponses[keyof GetResponses];
|
|
768
740
|
|
|
769
|
-
export type
|
|
741
|
+
export type TokenData = {
|
|
770
742
|
body?: OAuthTokenRequest;
|
|
771
743
|
headers?: {
|
|
772
744
|
'x-api-version'?: string;
|
|
@@ -778,7 +750,7 @@ export type PostApiV2oAuthTokenData = {
|
|
|
778
750
|
url: '/api/v2/OAuth/Token';
|
|
779
751
|
};
|
|
780
752
|
|
|
781
|
-
export type
|
|
753
|
+
export type TokenErrors = {
|
|
782
754
|
/**
|
|
783
755
|
* Unauthorized
|
|
784
756
|
*/
|
|
@@ -789,18 +761,18 @@ export type PostApiV2oAuthTokenErrors = {
|
|
|
789
761
|
403: ErrorEnvelopeReadable;
|
|
790
762
|
};
|
|
791
763
|
|
|
792
|
-
export type
|
|
764
|
+
export type TokenError = TokenErrors[keyof TokenErrors];
|
|
793
765
|
|
|
794
|
-
export type
|
|
766
|
+
export type TokenResponses = {
|
|
795
767
|
/**
|
|
796
768
|
* OK
|
|
797
769
|
*/
|
|
798
770
|
200: JsonWebTokenEnvelopeReadable;
|
|
799
771
|
};
|
|
800
772
|
|
|
801
|
-
export type
|
|
773
|
+
export type TokenResponse = TokenResponses[keyof TokenResponses];
|
|
802
774
|
|
|
803
|
-
export type
|
|
775
|
+
export type GetPermissionsData = {
|
|
804
776
|
body?: never;
|
|
805
777
|
headers?: {
|
|
806
778
|
'x-api-version'?: string;
|
|
@@ -814,7 +786,7 @@ export type GetApiV2oAuthPermissionsData = {
|
|
|
814
786
|
url: '/api/v2/OAuth/Permissions';
|
|
815
787
|
};
|
|
816
788
|
|
|
817
|
-
export type
|
|
789
|
+
export type GetPermissionsErrors = {
|
|
818
790
|
/**
|
|
819
791
|
* Unauthorized
|
|
820
792
|
*/
|
|
@@ -825,18 +797,18 @@ export type GetApiV2oAuthPermissionsErrors = {
|
|
|
825
797
|
403: ErrorEnvelopeReadable;
|
|
826
798
|
};
|
|
827
799
|
|
|
828
|
-
export type
|
|
800
|
+
export type GetPermissionsError = GetPermissionsErrors[keyof GetPermissionsErrors];
|
|
829
801
|
|
|
830
|
-
export type
|
|
802
|
+
export type GetPermissionsResponses = {
|
|
831
803
|
/**
|
|
832
804
|
* OK
|
|
833
805
|
*/
|
|
834
806
|
200: StringListEnvelopeReadable;
|
|
835
807
|
};
|
|
836
808
|
|
|
837
|
-
export type
|
|
809
|
+
export type GetPermissionsResponse = GetPermissionsResponses[keyof GetPermissionsResponses];
|
|
838
810
|
|
|
839
|
-
export type
|
|
811
|
+
export type CheckPasswordSignInAsyncData = {
|
|
840
812
|
body?: never;
|
|
841
813
|
headers?: {
|
|
842
814
|
'x-api-version'?: string;
|
|
@@ -848,7 +820,7 @@ export type GetApiV2oAuthSignInData = {
|
|
|
848
820
|
url: '/api/v2/OAuth/SignIn';
|
|
849
821
|
};
|
|
850
822
|
|
|
851
|
-
export type
|
|
823
|
+
export type CheckPasswordSignInAsyncErrors = {
|
|
852
824
|
/**
|
|
853
825
|
* Bad Request
|
|
854
826
|
*/
|
|
@@ -859,18 +831,18 @@ export type GetApiV2oAuthSignInErrors = {
|
|
|
859
831
|
401: ErrorEnvelopeReadable;
|
|
860
832
|
};
|
|
861
833
|
|
|
862
|
-
export type
|
|
834
|
+
export type CheckPasswordSignInAsyncError = CheckPasswordSignInAsyncErrors[keyof CheckPasswordSignInAsyncErrors];
|
|
863
835
|
|
|
864
|
-
export type
|
|
836
|
+
export type CheckPasswordSignInAsyncResponses = {
|
|
865
837
|
/**
|
|
866
838
|
* OK
|
|
867
839
|
*/
|
|
868
840
|
200: UserCreateDtoEnvelopeReadable;
|
|
869
841
|
};
|
|
870
842
|
|
|
871
|
-
export type
|
|
843
|
+
export type CheckPasswordSignInAsyncResponse = CheckPasswordSignInAsyncResponses[keyof CheckPasswordSignInAsyncResponses];
|
|
872
844
|
|
|
873
|
-
export type
|
|
845
|
+
export type PasswordSignInAsyncData = {
|
|
874
846
|
body?: SigninModel;
|
|
875
847
|
headers?: {
|
|
876
848
|
'x-api-version'?: string;
|
|
@@ -882,7 +854,7 @@ export type PostApiV2oAuthSignInData = {
|
|
|
882
854
|
url: '/api/v2/OAuth/SignIn';
|
|
883
855
|
};
|
|
884
856
|
|
|
885
|
-
export type
|
|
857
|
+
export type PasswordSignInAsyncErrors = {
|
|
886
858
|
/**
|
|
887
859
|
* Bad Request
|
|
888
860
|
*/
|
|
@@ -893,18 +865,18 @@ export type PostApiV2oAuthSignInErrors = {
|
|
|
893
865
|
401: ErrorEnvelopeReadable;
|
|
894
866
|
};
|
|
895
867
|
|
|
896
|
-
export type
|
|
868
|
+
export type PasswordSignInAsyncError = PasswordSignInAsyncErrors[keyof PasswordSignInAsyncErrors];
|
|
897
869
|
|
|
898
|
-
export type
|
|
870
|
+
export type PasswordSignInAsyncResponses = {
|
|
899
871
|
/**
|
|
900
872
|
* OK
|
|
901
873
|
*/
|
|
902
874
|
200: JsonWebTokenEnvelopeReadable;
|
|
903
875
|
};
|
|
904
876
|
|
|
905
|
-
export type
|
|
877
|
+
export type PasswordSignInAsyncResponse = PasswordSignInAsyncResponses[keyof PasswordSignInAsyncResponses];
|
|
906
878
|
|
|
907
|
-
export type
|
|
879
|
+
export type GetJwKsData = {
|
|
908
880
|
body?: never;
|
|
909
881
|
headers?: {
|
|
910
882
|
'x-api-version'?: string;
|
|
@@ -918,16 +890,16 @@ export type GetApiV2oAuthByApplicationIdKeysData = {
|
|
|
918
890
|
url: '/api/v2/OAuth/{applicationId}/Keys';
|
|
919
891
|
};
|
|
920
892
|
|
|
921
|
-
export type
|
|
893
|
+
export type GetJwKsResponses = {
|
|
922
894
|
/**
|
|
923
895
|
* OK
|
|
924
896
|
*/
|
|
925
897
|
200: JsonWebKeySetEnvelopeReadable;
|
|
926
898
|
};
|
|
927
899
|
|
|
928
|
-
export type
|
|
900
|
+
export type GetJwKsResponse = GetJwKsResponses[keyof GetJwKsResponses];
|
|
929
901
|
|
|
930
|
-
export type
|
|
902
|
+
export type GetOpenIdConfigurationData = {
|
|
931
903
|
body?: never;
|
|
932
904
|
headers?: {
|
|
933
905
|
'x-api-version'?: string;
|
|
@@ -942,16 +914,16 @@ export type GetApiV2oAuthByTenantIdByApplicationIdWellKnownOpenIdConfigurationDa
|
|
|
942
914
|
url: '/api/v2/OAuth/{tenantId}/{applicationId}/.Well-Known/OpenId-Configuration';
|
|
943
915
|
};
|
|
944
916
|
|
|
945
|
-
export type
|
|
917
|
+
export type GetOpenIdConfigurationResponses = {
|
|
946
918
|
/**
|
|
947
919
|
* OK
|
|
948
920
|
*/
|
|
949
921
|
200: OpenIdConfigurationEnvelopeReadable;
|
|
950
922
|
};
|
|
951
923
|
|
|
952
|
-
export type
|
|
924
|
+
export type GetOpenIdConfigurationResponse = GetOpenIdConfigurationResponses[keyof GetOpenIdConfigurationResponses];
|
|
953
925
|
|
|
954
|
-
export type
|
|
926
|
+
export type GetMessageData = {
|
|
955
927
|
body?: never;
|
|
956
928
|
headers?: {
|
|
957
929
|
'x-api-version'?: string;
|
|
@@ -963,7 +935,7 @@ export type GetApiV2IdentityServiceResourceMessageData = {
|
|
|
963
935
|
url: '/api/v2/IdentityService/Resource/message';
|
|
964
936
|
};
|
|
965
937
|
|
|
966
|
-
export type
|
|
938
|
+
export type GetMessageResponses = {
|
|
967
939
|
/**
|
|
968
940
|
* OK
|
|
969
941
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
4
|
-
import type { GetVersionData, GetHealthData, GetHelloData, PostRegisterData, PostRegisterError, PostLoginData, PostLoginResponse, PostRefreshData, PostRefreshResponse, MapIdentityApiConfirmEmailData, PostResendConfirmationEmailData, PostForgotPasswordData, PostForgotPasswordError, PostResetPasswordData, PostResetPasswordError, PostManage2FaData, PostManage2FaResponse, PostManage2FaError, GetManageInfoData, GetManageInfoResponse, GetManageInfoError, PostManageInfoData, PostManageInfoResponse, PostManageInfoError,
|
|
4
|
+
import type { GetVersionData, GetHealthData, GetHelloData, PostRegisterData, PostRegisterError, PostLoginData, PostLoginResponse, PostRefreshData, PostRefreshResponse, MapIdentityApiConfirmEmailData, PostResendConfirmationEmailData, PostForgotPasswordData, PostForgotPasswordError, PostResetPasswordData, PostResetPasswordError, PostManage2FaData, PostManage2FaResponse, PostManage2FaError, GetManageInfoData, GetManageInfoResponse, GetManageInfoError, PostManageInfoData, PostManageInfoResponse, PostManageInfoError, GetInventoryDetailsAsyncData } from './types.gen';
|
|
5
5
|
import { client as _heyApiClient } from './client.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
@@ -141,7 +141,11 @@ export const postManageInfo = <ThrowOnError extends boolean = false>(options: Op
|
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Get inventory details for a stock item
|
|
146
|
+
* Retrieves the inventory details for a specific stock item by its ID.
|
|
147
|
+
*/
|
|
148
|
+
export const getInventoryDetailsAsync = <ThrowOnError extends boolean = false>(options: Options<GetInventoryDetailsAsyncData, ThrowOnError>) => {
|
|
145
149
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
146
150
|
url: '/api/v2/InventoryService/Inventory/{stockItemId}/Details',
|
|
147
151
|
...options
|
|
@@ -349,7 +349,7 @@ export type PostManageInfoResponses = {
|
|
|
349
349
|
|
|
350
350
|
export type PostManageInfoResponse = PostManageInfoResponses[keyof PostManageInfoResponses];
|
|
351
351
|
|
|
352
|
-
export type
|
|
352
|
+
export type GetInventoryDetailsAsyncData = {
|
|
353
353
|
body?: never;
|
|
354
354
|
headers?: {
|
|
355
355
|
'x-api-version'?: string;
|
|
@@ -363,7 +363,7 @@ export type GetApiV2InventoryServiceInventoryByStockItemIdDetailsData = {
|
|
|
363
363
|
url: '/api/v2/InventoryService/Inventory/{stockItemId}/Details';
|
|
364
364
|
};
|
|
365
365
|
|
|
366
|
-
export type
|
|
366
|
+
export type GetInventoryDetailsAsyncResponses = {
|
|
367
367
|
/**
|
|
368
368
|
* OK
|
|
369
369
|
*/
|