@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,3173 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantsService = void 0;
|
|
4
|
-
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
-
const request_1 = require("../core/request");
|
|
6
|
-
class TenantsService {
|
|
7
|
-
/**
|
|
8
|
-
* Create a new tenant department
|
|
9
|
-
* Create a new tenant department
|
|
10
|
-
* @param tenantId
|
|
11
|
-
* @param xApiVersion
|
|
12
|
-
* @param requestBody
|
|
13
|
-
* @returns EmptyEnvelope Created
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
static createTenantDepartment(tenantId, xApiVersion, requestBody) {
|
|
17
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
18
|
-
method: 'POST',
|
|
19
|
-
url: '/api/v2/Departments',
|
|
20
|
-
headers: {
|
|
21
|
-
'x-api-version': xApiVersion,
|
|
22
|
-
},
|
|
23
|
-
query: {
|
|
24
|
-
'tenantId': tenantId,
|
|
25
|
-
},
|
|
26
|
-
body: requestBody,
|
|
27
|
-
mediaType: 'application/json',
|
|
28
|
-
errors: {
|
|
29
|
-
401: `Unauthorized`,
|
|
30
|
-
403: `Forbidden`,
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve a list of tenant departments
|
|
36
|
-
* Retrieve a list of tenant departments
|
|
37
|
-
* @param tenantId
|
|
38
|
-
* @param xApiVersion
|
|
39
|
-
* @returns TenantDepartmentDtoListEnvelope OK
|
|
40
|
-
* @throws ApiError
|
|
41
|
-
*/
|
|
42
|
-
static getTenantDepartments(tenantId, xApiVersion) {
|
|
43
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
44
|
-
method: 'GET',
|
|
45
|
-
url: '/api/v2/Departments',
|
|
46
|
-
headers: {
|
|
47
|
-
'x-api-version': xApiVersion,
|
|
48
|
-
},
|
|
49
|
-
query: {
|
|
50
|
-
'tenantId': tenantId,
|
|
51
|
-
},
|
|
52
|
-
errors: {
|
|
53
|
-
401: `Unauthorized`,
|
|
54
|
-
403: `Forbidden`,
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Retrieve a single tenant department by its ID
|
|
60
|
-
* Retrieve a single tenant department by its ID
|
|
61
|
-
* @param tenantDepartmentId
|
|
62
|
-
* @param xApiVersion
|
|
63
|
-
* @returns TenantDepartmentDtoEnvelope OK
|
|
64
|
-
* @throws ApiError
|
|
65
|
-
*/
|
|
66
|
-
static getTenantDepartmentById(tenantDepartmentId, xApiVersion) {
|
|
67
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
68
|
-
method: 'GET',
|
|
69
|
-
url: '/api/v2/Departments/{tenantDepartmentId}',
|
|
70
|
-
path: {
|
|
71
|
-
'tenantDepartmentId': tenantDepartmentId,
|
|
72
|
-
},
|
|
73
|
-
headers: {
|
|
74
|
-
'x-api-version': xApiVersion,
|
|
75
|
-
},
|
|
76
|
-
errors: {
|
|
77
|
-
401: `Unauthorized`,
|
|
78
|
-
403: `Forbidden`,
|
|
79
|
-
},
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Update a tenant department
|
|
84
|
-
* Update a tenant department
|
|
85
|
-
* @param tenantId
|
|
86
|
-
* @param tenantDepartmentId
|
|
87
|
-
* @param xApiVersion
|
|
88
|
-
* @param requestBody
|
|
89
|
-
* @returns EmptyEnvelope OK
|
|
90
|
-
* @throws ApiError
|
|
91
|
-
*/
|
|
92
|
-
static updateTenantDepartment(tenantId, tenantDepartmentId, xApiVersion, requestBody) {
|
|
93
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
94
|
-
method: 'PUT',
|
|
95
|
-
url: '/api/v2/Departments/{tenantDepartmentId}',
|
|
96
|
-
path: {
|
|
97
|
-
'tenantDepartmentId': tenantDepartmentId,
|
|
98
|
-
},
|
|
99
|
-
headers: {
|
|
100
|
-
'x-api-version': xApiVersion,
|
|
101
|
-
},
|
|
102
|
-
query: {
|
|
103
|
-
'tenantId': tenantId,
|
|
104
|
-
},
|
|
105
|
-
body: requestBody,
|
|
106
|
-
mediaType: 'application/json',
|
|
107
|
-
errors: {
|
|
108
|
-
401: `Unauthorized`,
|
|
109
|
-
403: `Forbidden`,
|
|
110
|
-
},
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Delete a tenant department
|
|
115
|
-
* Delete a tenant department
|
|
116
|
-
* @param tenantId
|
|
117
|
-
* @param tenantDepartmentId
|
|
118
|
-
* @param xApiVersion
|
|
119
|
-
* @returns EmptyEnvelope OK
|
|
120
|
-
* @throws ApiError
|
|
121
|
-
*/
|
|
122
|
-
static deleteTenantDepartment(tenantId, tenantDepartmentId, xApiVersion) {
|
|
123
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
124
|
-
method: 'DELETE',
|
|
125
|
-
url: '/api/v2/Departments/{tenantDepartmentId}',
|
|
126
|
-
path: {
|
|
127
|
-
'tenantDepartmentId': tenantDepartmentId,
|
|
128
|
-
},
|
|
129
|
-
headers: {
|
|
130
|
-
'x-api-version': xApiVersion,
|
|
131
|
-
},
|
|
132
|
-
query: {
|
|
133
|
-
'tenantId': tenantId,
|
|
134
|
-
},
|
|
135
|
-
errors: {
|
|
136
|
-
401: `Unauthorized`,
|
|
137
|
-
403: `Forbidden`,
|
|
138
|
-
},
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Partially update a tenant department
|
|
143
|
-
* Partially update a tenant department
|
|
144
|
-
* @param tenantId
|
|
145
|
-
* @param tenantDepartmentId
|
|
146
|
-
* @param xApiVersion
|
|
147
|
-
* @param requestBody
|
|
148
|
-
* @returns EmptyEnvelope OK
|
|
149
|
-
* @throws ApiError
|
|
150
|
-
*/
|
|
151
|
-
static patchTenantDepartment(tenantId, tenantDepartmentId, xApiVersion, requestBody) {
|
|
152
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
153
|
-
method: 'PATCH',
|
|
154
|
-
url: '/api/v2/Departments/{tenantDepartmentId}',
|
|
155
|
-
path: {
|
|
156
|
-
'tenantDepartmentId': tenantDepartmentId,
|
|
157
|
-
},
|
|
158
|
-
headers: {
|
|
159
|
-
'x-api-version': xApiVersion,
|
|
160
|
-
},
|
|
161
|
-
query: {
|
|
162
|
-
'tenantId': tenantId,
|
|
163
|
-
},
|
|
164
|
-
body: requestBody,
|
|
165
|
-
mediaType: 'application/json',
|
|
166
|
-
errors: {
|
|
167
|
-
401: `Unauthorized`,
|
|
168
|
-
403: `Forbidden`,
|
|
169
|
-
},
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Create a new tenant team employee enrollment
|
|
174
|
-
* Create a new tenant team employee enrollment
|
|
175
|
-
* @param tenantId
|
|
176
|
-
* @param xApiVersion
|
|
177
|
-
* @param requestBody
|
|
178
|
-
* @returns TenantTeamEmployeeEnrollmentDtoEnvelope Created
|
|
179
|
-
* @throws ApiError
|
|
180
|
-
*/
|
|
181
|
-
static createTenantTeamEmployeeEnrollment(tenantId, xApiVersion, requestBody) {
|
|
182
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
183
|
-
method: 'POST',
|
|
184
|
-
url: '/api/v2/EmployeeEnrollments',
|
|
185
|
-
headers: {
|
|
186
|
-
'x-api-version': xApiVersion,
|
|
187
|
-
},
|
|
188
|
-
query: {
|
|
189
|
-
'tenantId': tenantId,
|
|
190
|
-
},
|
|
191
|
-
body: requestBody,
|
|
192
|
-
mediaType: 'application/json',
|
|
193
|
-
errors: {
|
|
194
|
-
401: `Unauthorized`,
|
|
195
|
-
403: `Forbidden`,
|
|
196
|
-
},
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Retrieve a list of tenant team employee enrollments
|
|
201
|
-
* Retrieve a list of tenant team employee enrollments
|
|
202
|
-
* @param tenantId
|
|
203
|
-
* @param xApiVersion
|
|
204
|
-
* @returns TenantTeamEmployeeEnrollmentDtoListEnvelope OK
|
|
205
|
-
* @throws ApiError
|
|
206
|
-
*/
|
|
207
|
-
static getTenantTeamEmployeeEnrollments(tenantId, xApiVersion) {
|
|
208
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
209
|
-
method: 'GET',
|
|
210
|
-
url: '/api/v2/EmployeeEnrollments',
|
|
211
|
-
headers: {
|
|
212
|
-
'x-api-version': xApiVersion,
|
|
213
|
-
},
|
|
214
|
-
query: {
|
|
215
|
-
'tenantId': tenantId,
|
|
216
|
-
},
|
|
217
|
-
errors: {
|
|
218
|
-
401: `Unauthorized`,
|
|
219
|
-
403: `Forbidden`,
|
|
220
|
-
},
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Retrieve a single tenant team employee enrollment by its ID
|
|
225
|
-
* Retrieve a single tenant team employee enrollment by its ID
|
|
226
|
-
* @param tenantTeamId
|
|
227
|
-
* @param xApiVersion
|
|
228
|
-
* @returns TenantTeamEmployeeEnrollmentDtoEnvelope OK
|
|
229
|
-
* @throws ApiError
|
|
230
|
-
*/
|
|
231
|
-
static getTenantTeamEmployeeEnrollmentById(tenantTeamId, xApiVersion) {
|
|
232
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
233
|
-
method: 'GET',
|
|
234
|
-
url: '/api/v2/EmployeeEnrollments/{tenantTeamId}',
|
|
235
|
-
path: {
|
|
236
|
-
'tenantTeamId': tenantTeamId,
|
|
237
|
-
},
|
|
238
|
-
headers: {
|
|
239
|
-
'x-api-version': xApiVersion,
|
|
240
|
-
},
|
|
241
|
-
errors: {
|
|
242
|
-
401: `Unauthorized`,
|
|
243
|
-
403: `Forbidden`,
|
|
244
|
-
},
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Deletes a tenant team employee enrollment
|
|
249
|
-
* Deletes a tenant team employee enrollment
|
|
250
|
-
* @param tenantId
|
|
251
|
-
* @param tenantTeamId
|
|
252
|
-
* @param xApiVersion
|
|
253
|
-
* @returns TenantTeamEmployeeEnrollmentDtoEnvelope OK
|
|
254
|
-
* @throws ApiError
|
|
255
|
-
*/
|
|
256
|
-
static deleteTenantTeamEmployeeEnrollment(tenantId, tenantTeamId, xApiVersion) {
|
|
257
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
258
|
-
method: 'DELETE',
|
|
259
|
-
url: '/api/v2/EmployeeEnrollments/{tenantTeamId}',
|
|
260
|
-
path: {
|
|
261
|
-
'tenantTeamId': tenantTeamId,
|
|
262
|
-
},
|
|
263
|
-
headers: {
|
|
264
|
-
'x-api-version': xApiVersion,
|
|
265
|
-
},
|
|
266
|
-
query: {
|
|
267
|
-
'tenantId': tenantId,
|
|
268
|
-
},
|
|
269
|
-
errors: {
|
|
270
|
-
401: `Unauthorized`,
|
|
271
|
-
403: `Forbidden`,
|
|
272
|
-
},
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Update a tenant team employee enrollment
|
|
277
|
-
* Update a tenant team employee enrollment
|
|
278
|
-
* @param tenantTeamId
|
|
279
|
-
* @param xApiVersion
|
|
280
|
-
* @param requestBody
|
|
281
|
-
* @returns TenantTeamEmployeeEnrollmentDtoEnvelope OK
|
|
282
|
-
* @throws ApiError
|
|
283
|
-
*/
|
|
284
|
-
static updateTenantTeamEmployeeEnrollment(tenantTeamId, xApiVersion, requestBody) {
|
|
285
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
286
|
-
method: 'PUT',
|
|
287
|
-
url: '/api/v2/EmployeeEnrollments/{tenantTeamId}',
|
|
288
|
-
path: {
|
|
289
|
-
'tenantTeamId': tenantTeamId,
|
|
290
|
-
},
|
|
291
|
-
headers: {
|
|
292
|
-
'x-api-version': xApiVersion,
|
|
293
|
-
},
|
|
294
|
-
body: requestBody,
|
|
295
|
-
mediaType: 'application/json',
|
|
296
|
-
errors: {
|
|
297
|
-
401: `Unauthorized`,
|
|
298
|
-
403: `Forbidden`,
|
|
299
|
-
},
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* Partially update a tenant team employee enrollment
|
|
304
|
-
* Partially update a tenant team employee enrollment
|
|
305
|
-
* @param tenantTeamId
|
|
306
|
-
* @param xApiVersion
|
|
307
|
-
* @param requestBody
|
|
308
|
-
* @returns TenantTeamEmployeeEnrollmentDtoEnvelope OK
|
|
309
|
-
* @throws ApiError
|
|
310
|
-
*/
|
|
311
|
-
static patchTenantTeamEmployeeEnrollment(tenantTeamId, xApiVersion, requestBody) {
|
|
312
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
313
|
-
method: 'PATCH',
|
|
314
|
-
url: '/api/v2/EmployeeEnrollments/{tenantTeamId}',
|
|
315
|
-
path: {
|
|
316
|
-
'tenantTeamId': tenantTeamId,
|
|
317
|
-
},
|
|
318
|
-
headers: {
|
|
319
|
-
'x-api-version': xApiVersion,
|
|
320
|
-
},
|
|
321
|
-
body: requestBody,
|
|
322
|
-
mediaType: 'application/json',
|
|
323
|
-
errors: {
|
|
324
|
-
401: `Unauthorized`,
|
|
325
|
-
403: `Forbidden`,
|
|
326
|
-
},
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Create a new tenant enrollment
|
|
331
|
-
* Create a new tenant enrollment
|
|
332
|
-
* @param tenantId
|
|
333
|
-
* @param xApiVersion
|
|
334
|
-
* @param requestBody
|
|
335
|
-
* @returns EmptyEnvelope Created
|
|
336
|
-
* @throws ApiError
|
|
337
|
-
*/
|
|
338
|
-
static createTenantEnrollment(tenantId, xApiVersion, requestBody) {
|
|
339
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
340
|
-
method: 'POST',
|
|
341
|
-
url: '/api/v2/Enrollments',
|
|
342
|
-
headers: {
|
|
343
|
-
'x-api-version': xApiVersion,
|
|
344
|
-
},
|
|
345
|
-
query: {
|
|
346
|
-
'tenantId': tenantId,
|
|
347
|
-
},
|
|
348
|
-
body: requestBody,
|
|
349
|
-
mediaType: 'application/json',
|
|
350
|
-
errors: {
|
|
351
|
-
401: `Unauthorized`,
|
|
352
|
-
403: `Forbidden`,
|
|
353
|
-
},
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Retrieve a list of tenant enrollments
|
|
358
|
-
* Retrieve a list of tenant enrollments
|
|
359
|
-
* @param tenantId
|
|
360
|
-
* @param xApiVersion
|
|
361
|
-
* @returns TenantEnrolmentDtoListEnvelope OK
|
|
362
|
-
* @throws ApiError
|
|
363
|
-
*/
|
|
364
|
-
static getTenantEnrollments(tenantId, xApiVersion) {
|
|
365
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
366
|
-
method: 'GET',
|
|
367
|
-
url: '/api/v2/Enrollments',
|
|
368
|
-
headers: {
|
|
369
|
-
'x-api-version': xApiVersion,
|
|
370
|
-
},
|
|
371
|
-
query: {
|
|
372
|
-
'tenantId': tenantId,
|
|
373
|
-
},
|
|
374
|
-
errors: {
|
|
375
|
-
401: `Unauthorized`,
|
|
376
|
-
403: `Forbidden`,
|
|
377
|
-
},
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* Retrieve a single tenant enrollment by its ID
|
|
382
|
-
* Retrieve a single tenant enrollment by its ID
|
|
383
|
-
* @param tenantId
|
|
384
|
-
* @param userId
|
|
385
|
-
* @param xApiVersion
|
|
386
|
-
* @returns TenantEnrolmentDtoEnvelope OK
|
|
387
|
-
* @throws ApiError
|
|
388
|
-
*/
|
|
389
|
-
static getTenantEnrollmentById(tenantId, userId, xApiVersion) {
|
|
390
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
391
|
-
method: 'GET',
|
|
392
|
-
url: '/api/v2/Enrollments/{tenantId}',
|
|
393
|
-
headers: {
|
|
394
|
-
'x-api-version': xApiVersion,
|
|
395
|
-
},
|
|
396
|
-
query: {
|
|
397
|
-
'tenantId': tenantId,
|
|
398
|
-
'userId': userId,
|
|
399
|
-
},
|
|
400
|
-
errors: {
|
|
401
|
-
401: `Unauthorized`,
|
|
402
|
-
403: `Forbidden`,
|
|
403
|
-
},
|
|
404
|
-
});
|
|
405
|
-
}
|
|
406
|
-
/**
|
|
407
|
-
* Update a tenant enrollment
|
|
408
|
-
* Update a tenant enrollment
|
|
409
|
-
* @param tenantId
|
|
410
|
-
* @param tenantEnrollmentId
|
|
411
|
-
* @param xApiVersion
|
|
412
|
-
* @param requestBody
|
|
413
|
-
* @returns EmptyEnvelope OK
|
|
414
|
-
* @throws ApiError
|
|
415
|
-
*/
|
|
416
|
-
static updateTenantEnrollment(tenantId, tenantEnrollmentId, xApiVersion, requestBody) {
|
|
417
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
418
|
-
method: 'PUT',
|
|
419
|
-
url: '/api/v2/Enrollments/{tenantEnrollmentId}',
|
|
420
|
-
path: {
|
|
421
|
-
'tenantEnrollmentId': tenantEnrollmentId,
|
|
422
|
-
},
|
|
423
|
-
headers: {
|
|
424
|
-
'x-api-version': xApiVersion,
|
|
425
|
-
},
|
|
426
|
-
query: {
|
|
427
|
-
'tenantId': tenantId,
|
|
428
|
-
},
|
|
429
|
-
body: requestBody,
|
|
430
|
-
mediaType: 'application/json',
|
|
431
|
-
errors: {
|
|
432
|
-
401: `Unauthorized`,
|
|
433
|
-
403: `Forbidden`,
|
|
434
|
-
},
|
|
435
|
-
});
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Partially update a tenant enrollment
|
|
439
|
-
* Partially update a tenant enrollment
|
|
440
|
-
* @param tenantId
|
|
441
|
-
* @param tenantEnrollmentId
|
|
442
|
-
* @param xApiVersion
|
|
443
|
-
* @param requestBody
|
|
444
|
-
* @returns EmptyEnvelope OK
|
|
445
|
-
* @throws ApiError
|
|
446
|
-
*/
|
|
447
|
-
static patchTenantEnrollment(tenantId, tenantEnrollmentId, xApiVersion, requestBody) {
|
|
448
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
449
|
-
method: 'PATCH',
|
|
450
|
-
url: '/api/v2/Enrollments/{tenantEnrollmentId}',
|
|
451
|
-
path: {
|
|
452
|
-
'tenantEnrollmentId': tenantEnrollmentId,
|
|
453
|
-
},
|
|
454
|
-
headers: {
|
|
455
|
-
'x-api-version': xApiVersion,
|
|
456
|
-
},
|
|
457
|
-
query: {
|
|
458
|
-
'tenantId': tenantId,
|
|
459
|
-
},
|
|
460
|
-
body: requestBody,
|
|
461
|
-
mediaType: 'application/json',
|
|
462
|
-
errors: {
|
|
463
|
-
401: `Unauthorized`,
|
|
464
|
-
403: `Forbidden`,
|
|
465
|
-
},
|
|
466
|
-
});
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* Delete a tenant enrollment
|
|
470
|
-
* Delete a tenant enrollment
|
|
471
|
-
* @param tenantId
|
|
472
|
-
* @param tenantEnrollmentId
|
|
473
|
-
* @param xApiVersion
|
|
474
|
-
* @returns EmptyEnvelope OK
|
|
475
|
-
* @throws ApiError
|
|
476
|
-
*/
|
|
477
|
-
static deleteTenantEnrollment(tenantId, tenantEnrollmentId, xApiVersion) {
|
|
478
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
479
|
-
method: 'DELETE',
|
|
480
|
-
url: '/api/v2/Enrollments/{tenantEnrollmentId}',
|
|
481
|
-
path: {
|
|
482
|
-
'tenantEnrollmentId': tenantEnrollmentId,
|
|
483
|
-
},
|
|
484
|
-
headers: {
|
|
485
|
-
'x-api-version': xApiVersion,
|
|
486
|
-
},
|
|
487
|
-
query: {
|
|
488
|
-
'tenantId': tenantId,
|
|
489
|
-
},
|
|
490
|
-
errors: {
|
|
491
|
-
401: `Unauthorized`,
|
|
492
|
-
403: `Forbidden`,
|
|
493
|
-
},
|
|
494
|
-
});
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* Create a new tenant industry
|
|
498
|
-
* Create a new tenant industry
|
|
499
|
-
* @param tenantId
|
|
500
|
-
* @param xApiVersion
|
|
501
|
-
* @param requestBody
|
|
502
|
-
* @returns TenantIndustryDtoEnvelope Created
|
|
503
|
-
* @throws ApiError
|
|
504
|
-
*/
|
|
505
|
-
static createTenantIndustry(tenantId, xApiVersion, requestBody) {
|
|
506
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
507
|
-
method: 'POST',
|
|
508
|
-
url: '/api/v2/Industries',
|
|
509
|
-
headers: {
|
|
510
|
-
'x-api-version': xApiVersion,
|
|
511
|
-
},
|
|
512
|
-
query: {
|
|
513
|
-
'tenantId': tenantId,
|
|
514
|
-
},
|
|
515
|
-
body: requestBody,
|
|
516
|
-
mediaType: 'application/json',
|
|
517
|
-
errors: {
|
|
518
|
-
401: `Unauthorized`,
|
|
519
|
-
403: `Forbidden`,
|
|
520
|
-
},
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
* Retrieve a list of tenant industries
|
|
525
|
-
* Retrieve a list of tenant industries
|
|
526
|
-
* @param tenantId
|
|
527
|
-
* @param xApiVersion
|
|
528
|
-
* @returns TenantIndustryDtoListEnvelope OK
|
|
529
|
-
* @throws ApiError
|
|
530
|
-
*/
|
|
531
|
-
static getTenantIndustries(tenantId, xApiVersion) {
|
|
532
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
533
|
-
method: 'GET',
|
|
534
|
-
url: '/api/v2/Industries',
|
|
535
|
-
headers: {
|
|
536
|
-
'x-api-version': xApiVersion,
|
|
537
|
-
},
|
|
538
|
-
query: {
|
|
539
|
-
'tenantId': tenantId,
|
|
540
|
-
},
|
|
541
|
-
errors: {
|
|
542
|
-
401: `Unauthorized`,
|
|
543
|
-
403: `Forbidden`,
|
|
544
|
-
},
|
|
545
|
-
});
|
|
546
|
-
}
|
|
547
|
-
/**
|
|
548
|
-
* Retrieve a single tenant industry by its ID
|
|
549
|
-
* Retrieve a single tenant industry by its ID
|
|
550
|
-
* @param tenantIndustryId
|
|
551
|
-
* @param xApiVersion
|
|
552
|
-
* @returns TenantIndustryDtoEnvelope OK
|
|
553
|
-
* @throws ApiError
|
|
554
|
-
*/
|
|
555
|
-
static getTenantIndustryById(tenantIndustryId, xApiVersion) {
|
|
556
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
557
|
-
method: 'GET',
|
|
558
|
-
url: '/api/v2/Industries/{tenantIndustryId}',
|
|
559
|
-
path: {
|
|
560
|
-
'tenantIndustryId': tenantIndustryId,
|
|
561
|
-
},
|
|
562
|
-
headers: {
|
|
563
|
-
'x-api-version': xApiVersion,
|
|
564
|
-
},
|
|
565
|
-
errors: {
|
|
566
|
-
401: `Unauthorized`,
|
|
567
|
-
403: `Forbidden`,
|
|
568
|
-
},
|
|
569
|
-
});
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Delete a tenant industry
|
|
573
|
-
* Delete a tenant industry
|
|
574
|
-
* @param tenantId
|
|
575
|
-
* @param tenantIndustryId
|
|
576
|
-
* @param xApiVersion
|
|
577
|
-
* @returns TenantIndustryDtoEnvelope OK
|
|
578
|
-
* @throws ApiError
|
|
579
|
-
*/
|
|
580
|
-
static deleteTenantIndustry(tenantId, tenantIndustryId, xApiVersion) {
|
|
581
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
582
|
-
method: 'DELETE',
|
|
583
|
-
url: '/api/v2/Industries/{tenantIndustryId}',
|
|
584
|
-
path: {
|
|
585
|
-
'tenantIndustryId': tenantIndustryId,
|
|
586
|
-
},
|
|
587
|
-
headers: {
|
|
588
|
-
'x-api-version': xApiVersion,
|
|
589
|
-
},
|
|
590
|
-
query: {
|
|
591
|
-
'tenantId': tenantId,
|
|
592
|
-
},
|
|
593
|
-
errors: {
|
|
594
|
-
401: `Unauthorized`,
|
|
595
|
-
403: `Forbidden`,
|
|
596
|
-
},
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
|
-
/**
|
|
600
|
-
* Update a tenant industry
|
|
601
|
-
* Update a tenant industry
|
|
602
|
-
* @param tenantId
|
|
603
|
-
* @param tenantIndustryId
|
|
604
|
-
* @param xApiVersion
|
|
605
|
-
* @param requestBody
|
|
606
|
-
* @returns TenantIndustryDtoEnvelope OK
|
|
607
|
-
* @throws ApiError
|
|
608
|
-
*/
|
|
609
|
-
static updateTenantIndustry(tenantId, tenantIndustryId, xApiVersion, requestBody) {
|
|
610
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
611
|
-
method: 'PUT',
|
|
612
|
-
url: '/api/v2/Industries/{tenantIndustryId}',
|
|
613
|
-
path: {
|
|
614
|
-
'tenantIndustryId': tenantIndustryId,
|
|
615
|
-
},
|
|
616
|
-
headers: {
|
|
617
|
-
'x-api-version': xApiVersion,
|
|
618
|
-
},
|
|
619
|
-
query: {
|
|
620
|
-
'tenantId': tenantId,
|
|
621
|
-
},
|
|
622
|
-
body: requestBody,
|
|
623
|
-
mediaType: 'application/json',
|
|
624
|
-
errors: {
|
|
625
|
-
401: `Unauthorized`,
|
|
626
|
-
403: `Forbidden`,
|
|
627
|
-
},
|
|
628
|
-
});
|
|
629
|
-
}
|
|
630
|
-
/**
|
|
631
|
-
* Partially update a tenant industry
|
|
632
|
-
* Partially update a tenant industry
|
|
633
|
-
* @param tenantId
|
|
634
|
-
* @param tenantIndustryId
|
|
635
|
-
* @param xApiVersion
|
|
636
|
-
* @param requestBody
|
|
637
|
-
* @returns TenantIndustryDtoEnvelope OK
|
|
638
|
-
* @throws ApiError
|
|
639
|
-
*/
|
|
640
|
-
static patchTenantIndustry(tenantId, tenantIndustryId, xApiVersion, requestBody) {
|
|
641
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
642
|
-
method: 'PATCH',
|
|
643
|
-
url: '/api/v2/Industries/{tenantIndustryId}',
|
|
644
|
-
path: {
|
|
645
|
-
'tenantIndustryId': tenantIndustryId,
|
|
646
|
-
},
|
|
647
|
-
headers: {
|
|
648
|
-
'x-api-version': xApiVersion,
|
|
649
|
-
},
|
|
650
|
-
query: {
|
|
651
|
-
'tenantId': tenantId,
|
|
652
|
-
},
|
|
653
|
-
body: requestBody,
|
|
654
|
-
mediaType: 'application/json',
|
|
655
|
-
errors: {
|
|
656
|
-
401: `Unauthorized`,
|
|
657
|
-
403: `Forbidden`,
|
|
658
|
-
},
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Get an invitation by its ID
|
|
663
|
-
* Get an invitation by its ID
|
|
664
|
-
* @param invitationId
|
|
665
|
-
* @param xApiVersion
|
|
666
|
-
* @param requestBody
|
|
667
|
-
* @returns TenantInvitationDtoEnvelope OK
|
|
668
|
-
* @throws ApiError
|
|
669
|
-
*/
|
|
670
|
-
static getInvitation(invitationId, xApiVersion, requestBody) {
|
|
671
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
672
|
-
method: 'GET',
|
|
673
|
-
url: '/api/v2/TenantService/Invitations/{invitationId}',
|
|
674
|
-
path: {
|
|
675
|
-
'invitationId': invitationId,
|
|
676
|
-
},
|
|
677
|
-
headers: {
|
|
678
|
-
'x-api-version': xApiVersion,
|
|
679
|
-
},
|
|
680
|
-
body: requestBody,
|
|
681
|
-
mediaType: 'application/json',
|
|
682
|
-
errors: {
|
|
683
|
-
401: `Unauthorized`,
|
|
684
|
-
403: `Forbidden`,
|
|
685
|
-
},
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
/**
|
|
689
|
-
* Delete an invitation
|
|
690
|
-
* Delete an invitation
|
|
691
|
-
* @param invitationId
|
|
692
|
-
* @param tenantId
|
|
693
|
-
* @param xApiVersion
|
|
694
|
-
* @returns TenantDtoEnvelope OK
|
|
695
|
-
* @throws ApiError
|
|
696
|
-
*/
|
|
697
|
-
static deleteInvitation(invitationId, tenantId, xApiVersion) {
|
|
698
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
699
|
-
method: 'DELETE',
|
|
700
|
-
url: '/api/v2/TenantService/Invitations/{invitationId}',
|
|
701
|
-
path: {
|
|
702
|
-
'invitationId': invitationId,
|
|
703
|
-
},
|
|
704
|
-
headers: {
|
|
705
|
-
'x-api-version': xApiVersion,
|
|
706
|
-
},
|
|
707
|
-
query: {
|
|
708
|
-
'tenantId': tenantId,
|
|
709
|
-
},
|
|
710
|
-
errors: {
|
|
711
|
-
401: `Unauthorized`,
|
|
712
|
-
403: `Forbidden`,
|
|
713
|
-
},
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
/**
|
|
717
|
-
* Send an invitation to a user to join a tenant
|
|
718
|
-
* Send an invitation to a user to join a tenant
|
|
719
|
-
* @param tenantId
|
|
720
|
-
* @param xApiVersion
|
|
721
|
-
* @param requestBody
|
|
722
|
-
* @returns TenantDtoEnvelope OK
|
|
723
|
-
* @throws ApiError
|
|
724
|
-
*/
|
|
725
|
-
static sendInvitation(tenantId, xApiVersion, requestBody) {
|
|
726
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
727
|
-
method: 'POST',
|
|
728
|
-
url: '/api/v2/TenantService/Invitations',
|
|
729
|
-
headers: {
|
|
730
|
-
'x-api-version': xApiVersion,
|
|
731
|
-
},
|
|
732
|
-
query: {
|
|
733
|
-
'tenantId': tenantId,
|
|
734
|
-
},
|
|
735
|
-
body: requestBody,
|
|
736
|
-
mediaType: 'application/json',
|
|
737
|
-
errors: {
|
|
738
|
-
401: `Unauthorized`,
|
|
739
|
-
403: `Forbidden`,
|
|
740
|
-
},
|
|
741
|
-
});
|
|
742
|
-
}
|
|
743
|
-
/**
|
|
744
|
-
* Decline an invitation to join a tenant
|
|
745
|
-
* Decline an invitation to join a tenant
|
|
746
|
-
* @param invitationId
|
|
747
|
-
* @param xApiVersion
|
|
748
|
-
* @returns TenantDtoEnvelope OK
|
|
749
|
-
* @throws ApiError
|
|
750
|
-
*/
|
|
751
|
-
static declineInvitation(invitationId, xApiVersion) {
|
|
752
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
753
|
-
method: 'POST',
|
|
754
|
-
url: '/api/v2/TenantService/Invitations/{invitationId}/Decline',
|
|
755
|
-
path: {
|
|
756
|
-
'invitationId': invitationId,
|
|
757
|
-
},
|
|
758
|
-
headers: {
|
|
759
|
-
'x-api-version': xApiVersion,
|
|
760
|
-
},
|
|
761
|
-
errors: {
|
|
762
|
-
401: `Unauthorized`,
|
|
763
|
-
403: `Forbidden`,
|
|
764
|
-
},
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
/**
|
|
768
|
-
* Accept an invitation to join a tenant
|
|
769
|
-
* Accept an invitation to join a tenant
|
|
770
|
-
* @param invitationId
|
|
771
|
-
* @param xApiVersion
|
|
772
|
-
* @returns TenantDtoEnvelope OK
|
|
773
|
-
* @throws ApiError
|
|
774
|
-
*/
|
|
775
|
-
static acceptInvitation(invitationId, xApiVersion) {
|
|
776
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
777
|
-
method: 'POST',
|
|
778
|
-
url: '/api/v2/TenantService/Invitations/{invitationId}/Accept',
|
|
779
|
-
path: {
|
|
780
|
-
'invitationId': invitationId,
|
|
781
|
-
},
|
|
782
|
-
headers: {
|
|
783
|
-
'x-api-version': xApiVersion,
|
|
784
|
-
},
|
|
785
|
-
errors: {
|
|
786
|
-
401: `Unauthorized`,
|
|
787
|
-
403: `Forbidden`,
|
|
788
|
-
},
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Create a new tenant position
|
|
793
|
-
* Create a new tenant position
|
|
794
|
-
* @param tenantId
|
|
795
|
-
* @param xApiVersion
|
|
796
|
-
* @param requestBody
|
|
797
|
-
* @returns EmptyEnvelope Created
|
|
798
|
-
* @throws ApiError
|
|
799
|
-
*/
|
|
800
|
-
static createTenantPosition(tenantId, xApiVersion, requestBody) {
|
|
801
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
802
|
-
method: 'POST',
|
|
803
|
-
url: '/api/v2/Positions',
|
|
804
|
-
headers: {
|
|
805
|
-
'x-api-version': xApiVersion,
|
|
806
|
-
},
|
|
807
|
-
query: {
|
|
808
|
-
'tenantId': tenantId,
|
|
809
|
-
},
|
|
810
|
-
body: requestBody,
|
|
811
|
-
mediaType: 'application/json',
|
|
812
|
-
errors: {
|
|
813
|
-
401: `Unauthorized`,
|
|
814
|
-
403: `Forbidden`,
|
|
815
|
-
},
|
|
816
|
-
});
|
|
817
|
-
}
|
|
818
|
-
/**
|
|
819
|
-
* Retrieve a list of tenant positions
|
|
820
|
-
* Retrieve a list of tenant positions
|
|
821
|
-
* @param tenantId
|
|
822
|
-
* @param xApiVersion
|
|
823
|
-
* @returns TenantPositionDtoListEnvelope OK
|
|
824
|
-
* @throws ApiError
|
|
825
|
-
*/
|
|
826
|
-
static getTenantPositions(tenantId, xApiVersion) {
|
|
827
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
828
|
-
method: 'GET',
|
|
829
|
-
url: '/api/v2/Positions',
|
|
830
|
-
headers: {
|
|
831
|
-
'x-api-version': xApiVersion,
|
|
832
|
-
},
|
|
833
|
-
query: {
|
|
834
|
-
'tenantId': tenantId,
|
|
835
|
-
},
|
|
836
|
-
errors: {
|
|
837
|
-
401: `Unauthorized`,
|
|
838
|
-
403: `Forbidden`,
|
|
839
|
-
},
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
/**
|
|
843
|
-
* Retrieve a single tenant position by its ID
|
|
844
|
-
* Retrieve a single tenant position by its ID
|
|
845
|
-
* @param tenantPositionId
|
|
846
|
-
* @param xApiVersion
|
|
847
|
-
* @returns TenantPositionDtoEnvelope OK
|
|
848
|
-
* @throws ApiError
|
|
849
|
-
*/
|
|
850
|
-
static getTenantPositionById(tenantPositionId, xApiVersion) {
|
|
851
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
852
|
-
method: 'GET',
|
|
853
|
-
url: '/api/v2/Positions/{tenantPositionId}',
|
|
854
|
-
path: {
|
|
855
|
-
'tenantPositionId': tenantPositionId,
|
|
856
|
-
},
|
|
857
|
-
headers: {
|
|
858
|
-
'x-api-version': xApiVersion,
|
|
859
|
-
},
|
|
860
|
-
errors: {
|
|
861
|
-
401: `Unauthorized`,
|
|
862
|
-
403: `Forbidden`,
|
|
863
|
-
},
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* Update a tenant position
|
|
868
|
-
* Update a tenant position
|
|
869
|
-
* @param tenantId
|
|
870
|
-
* @param tenantPositionId
|
|
871
|
-
* @param xApiVersion
|
|
872
|
-
* @param requestBody
|
|
873
|
-
* @returns EmptyEnvelope OK
|
|
874
|
-
* @throws ApiError
|
|
875
|
-
*/
|
|
876
|
-
static updateTenantPosition(tenantId, tenantPositionId, xApiVersion, requestBody) {
|
|
877
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
878
|
-
method: 'PUT',
|
|
879
|
-
url: '/api/v2/Positions/{tenantPositionId}',
|
|
880
|
-
path: {
|
|
881
|
-
'tenantPositionId': tenantPositionId,
|
|
882
|
-
},
|
|
883
|
-
headers: {
|
|
884
|
-
'x-api-version': xApiVersion,
|
|
885
|
-
},
|
|
886
|
-
query: {
|
|
887
|
-
'tenantId': tenantId,
|
|
888
|
-
},
|
|
889
|
-
body: requestBody,
|
|
890
|
-
mediaType: 'application/json',
|
|
891
|
-
errors: {
|
|
892
|
-
401: `Unauthorized`,
|
|
893
|
-
403: `Forbidden`,
|
|
894
|
-
},
|
|
895
|
-
});
|
|
896
|
-
}
|
|
897
|
-
/**
|
|
898
|
-
* Delete a tenant position
|
|
899
|
-
* Delete a tenant position
|
|
900
|
-
* @param tenantId
|
|
901
|
-
* @param tenantPositionId
|
|
902
|
-
* @param xApiVersion
|
|
903
|
-
* @returns EmptyEnvelope OK
|
|
904
|
-
* @throws ApiError
|
|
905
|
-
*/
|
|
906
|
-
static deleteTenantPosition(tenantId, tenantPositionId, xApiVersion) {
|
|
907
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
908
|
-
method: 'DELETE',
|
|
909
|
-
url: '/api/v2/Positions/{tenantPositionId}',
|
|
910
|
-
path: {
|
|
911
|
-
'tenantPositionId': tenantPositionId,
|
|
912
|
-
},
|
|
913
|
-
headers: {
|
|
914
|
-
'x-api-version': xApiVersion,
|
|
915
|
-
},
|
|
916
|
-
query: {
|
|
917
|
-
'tenantId': tenantId,
|
|
918
|
-
},
|
|
919
|
-
errors: {
|
|
920
|
-
401: `Unauthorized`,
|
|
921
|
-
403: `Forbidden`,
|
|
922
|
-
},
|
|
923
|
-
});
|
|
924
|
-
}
|
|
925
|
-
/**
|
|
926
|
-
* Partially update a tenant position
|
|
927
|
-
* Partially update a tenant position
|
|
928
|
-
* @param tenantId
|
|
929
|
-
* @param tenantPositionId
|
|
930
|
-
* @param xApiVersion
|
|
931
|
-
* @param requestBody
|
|
932
|
-
* @returns EmptyEnvelope OK
|
|
933
|
-
* @throws ApiError
|
|
934
|
-
*/
|
|
935
|
-
static patchTenantPosition(tenantId, tenantPositionId, xApiVersion, requestBody) {
|
|
936
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
937
|
-
method: 'PATCH',
|
|
938
|
-
url: '/api/v2/Positions/{tenantPositionId}',
|
|
939
|
-
path: {
|
|
940
|
-
'tenantPositionId': tenantPositionId,
|
|
941
|
-
},
|
|
942
|
-
headers: {
|
|
943
|
-
'x-api-version': xApiVersion,
|
|
944
|
-
},
|
|
945
|
-
query: {
|
|
946
|
-
'tenantId': tenantId,
|
|
947
|
-
},
|
|
948
|
-
body: requestBody,
|
|
949
|
-
mediaType: 'application/json',
|
|
950
|
-
errors: {
|
|
951
|
-
401: `Unauthorized`,
|
|
952
|
-
403: `Forbidden`,
|
|
953
|
-
},
|
|
954
|
-
});
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* Create a new tenant segment
|
|
958
|
-
* Create a new tenant segment
|
|
959
|
-
* @param tenantId
|
|
960
|
-
* @param xApiVersion
|
|
961
|
-
* @param requestBody
|
|
962
|
-
* @returns TenantSegmentDtoEnvelope Created
|
|
963
|
-
* @throws ApiError
|
|
964
|
-
*/
|
|
965
|
-
static createTenantSegment(tenantId, xApiVersion, requestBody) {
|
|
966
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
967
|
-
method: 'POST',
|
|
968
|
-
url: '/api/v2/Segments',
|
|
969
|
-
headers: {
|
|
970
|
-
'x-api-version': xApiVersion,
|
|
971
|
-
},
|
|
972
|
-
query: {
|
|
973
|
-
'tenantId': tenantId,
|
|
974
|
-
},
|
|
975
|
-
body: requestBody,
|
|
976
|
-
mediaType: 'application/json',
|
|
977
|
-
errors: {
|
|
978
|
-
401: `Unauthorized`,
|
|
979
|
-
403: `Forbidden`,
|
|
980
|
-
},
|
|
981
|
-
});
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* Retrieve a list of tenant segments for a specific tenant
|
|
985
|
-
* Retrieve a list of tenant segments for a specific tenant
|
|
986
|
-
* @param tenantId
|
|
987
|
-
* @param xApiVersion
|
|
988
|
-
* @returns TenantSegmentDtoListEnvelope OK
|
|
989
|
-
* @throws ApiError
|
|
990
|
-
*/
|
|
991
|
-
static getTenantSegments(tenantId, xApiVersion) {
|
|
992
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
993
|
-
method: 'GET',
|
|
994
|
-
url: '/api/v2/Segments',
|
|
995
|
-
headers: {
|
|
996
|
-
'x-api-version': xApiVersion,
|
|
997
|
-
},
|
|
998
|
-
query: {
|
|
999
|
-
'tenantId': tenantId,
|
|
1000
|
-
},
|
|
1001
|
-
errors: {
|
|
1002
|
-
401: `Unauthorized`,
|
|
1003
|
-
403: `Forbidden`,
|
|
1004
|
-
},
|
|
1005
|
-
});
|
|
1006
|
-
}
|
|
1007
|
-
/**
|
|
1008
|
-
* Retrieve a single tenant segment by its ID
|
|
1009
|
-
* Retrieve a single tenant segment by its ID
|
|
1010
|
-
* @param tenantSegmentId
|
|
1011
|
-
* @param xApiVersion
|
|
1012
|
-
* @returns TenantSegmentDtoEnvelope OK
|
|
1013
|
-
* @throws ApiError
|
|
1014
|
-
*/
|
|
1015
|
-
static getTenantSegmentById(tenantSegmentId, xApiVersion) {
|
|
1016
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1017
|
-
method: 'GET',
|
|
1018
|
-
url: '/api/v2/Segments/{tenantSegmentId}',
|
|
1019
|
-
path: {
|
|
1020
|
-
'tenantSegmentId': tenantSegmentId,
|
|
1021
|
-
},
|
|
1022
|
-
headers: {
|
|
1023
|
-
'x-api-version': xApiVersion,
|
|
1024
|
-
},
|
|
1025
|
-
errors: {
|
|
1026
|
-
401: `Unauthorized`,
|
|
1027
|
-
403: `Forbidden`,
|
|
1028
|
-
},
|
|
1029
|
-
});
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
* Delete a tenant segment
|
|
1033
|
-
* Delete a tenant segment
|
|
1034
|
-
* @param tenantId
|
|
1035
|
-
* @param tenantSegmentId
|
|
1036
|
-
* @param xApiVersion
|
|
1037
|
-
* @returns TenantSegmentDtoEnvelope OK
|
|
1038
|
-
* @throws ApiError
|
|
1039
|
-
*/
|
|
1040
|
-
static deleteTenantSegment(tenantId, tenantSegmentId, xApiVersion) {
|
|
1041
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1042
|
-
method: 'DELETE',
|
|
1043
|
-
url: '/api/v2/Segments/{tenantSegmentId}',
|
|
1044
|
-
path: {
|
|
1045
|
-
'tenantSegmentId': tenantSegmentId,
|
|
1046
|
-
},
|
|
1047
|
-
headers: {
|
|
1048
|
-
'x-api-version': xApiVersion,
|
|
1049
|
-
},
|
|
1050
|
-
query: {
|
|
1051
|
-
'tenantId': tenantId,
|
|
1052
|
-
},
|
|
1053
|
-
errors: {
|
|
1054
|
-
401: `Unauthorized`,
|
|
1055
|
-
403: `Forbidden`,
|
|
1056
|
-
},
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
/**
|
|
1060
|
-
* Update a tenant segment
|
|
1061
|
-
* Update a tenant segment
|
|
1062
|
-
* @param tenantId
|
|
1063
|
-
* @param tenantSegmentId
|
|
1064
|
-
* @param xApiVersion
|
|
1065
|
-
* @param requestBody
|
|
1066
|
-
* @returns TenantSegmentDtoEnvelope OK
|
|
1067
|
-
* @throws ApiError
|
|
1068
|
-
*/
|
|
1069
|
-
static updateTenantSegment(tenantId, tenantSegmentId, xApiVersion, requestBody) {
|
|
1070
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1071
|
-
method: 'PUT',
|
|
1072
|
-
url: '/api/v2/Segments/{tenantSegmentId}',
|
|
1073
|
-
path: {
|
|
1074
|
-
'tenantSegmentId': tenantSegmentId,
|
|
1075
|
-
},
|
|
1076
|
-
headers: {
|
|
1077
|
-
'x-api-version': xApiVersion,
|
|
1078
|
-
},
|
|
1079
|
-
query: {
|
|
1080
|
-
'tenantId': tenantId,
|
|
1081
|
-
},
|
|
1082
|
-
body: requestBody,
|
|
1083
|
-
mediaType: 'application/json',
|
|
1084
|
-
errors: {
|
|
1085
|
-
401: `Unauthorized`,
|
|
1086
|
-
403: `Forbidden`,
|
|
1087
|
-
},
|
|
1088
|
-
});
|
|
1089
|
-
}
|
|
1090
|
-
/**
|
|
1091
|
-
* Partially update a tenant segment
|
|
1092
|
-
* Partially update a tenant segment
|
|
1093
|
-
* @param tenantId
|
|
1094
|
-
* @param tenantSegmentId
|
|
1095
|
-
* @param xApiVersion
|
|
1096
|
-
* @param requestBody
|
|
1097
|
-
* @returns TenantSegmentDtoEnvelope OK
|
|
1098
|
-
* @throws ApiError
|
|
1099
|
-
*/
|
|
1100
|
-
static patchTenantSegment(tenantId, tenantSegmentId, xApiVersion, requestBody) {
|
|
1101
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1102
|
-
method: 'PATCH',
|
|
1103
|
-
url: '/api/v2/Segments/{tenantSegmentId}',
|
|
1104
|
-
path: {
|
|
1105
|
-
'tenantSegmentId': tenantSegmentId,
|
|
1106
|
-
},
|
|
1107
|
-
headers: {
|
|
1108
|
-
'x-api-version': xApiVersion,
|
|
1109
|
-
},
|
|
1110
|
-
query: {
|
|
1111
|
-
'tenantId': tenantId,
|
|
1112
|
-
},
|
|
1113
|
-
body: requestBody,
|
|
1114
|
-
mediaType: 'application/json',
|
|
1115
|
-
errors: {
|
|
1116
|
-
401: `Unauthorized`,
|
|
1117
|
-
403: `Forbidden`,
|
|
1118
|
-
},
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* Create a new tenant team contact enrollment
|
|
1123
|
-
* Create a new tenant team contact enrollment
|
|
1124
|
-
* @param tenantId
|
|
1125
|
-
* @param xApiVersion
|
|
1126
|
-
* @param requestBody
|
|
1127
|
-
* @returns TenantTeamContactEnrollmentDtoEnvelope Created
|
|
1128
|
-
* @throws ApiError
|
|
1129
|
-
*/
|
|
1130
|
-
static createTenantContactEnrollmentAsync(tenantId, xApiVersion, requestBody) {
|
|
1131
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1132
|
-
method: 'POST',
|
|
1133
|
-
url: '/api/v2/TeamContactEnrollments',
|
|
1134
|
-
headers: {
|
|
1135
|
-
'x-api-version': xApiVersion,
|
|
1136
|
-
},
|
|
1137
|
-
query: {
|
|
1138
|
-
'tenantId': tenantId,
|
|
1139
|
-
},
|
|
1140
|
-
body: requestBody,
|
|
1141
|
-
mediaType: 'application/json',
|
|
1142
|
-
errors: {
|
|
1143
|
-
401: `Unauthorized`,
|
|
1144
|
-
403: `Forbidden`,
|
|
1145
|
-
},
|
|
1146
|
-
});
|
|
1147
|
-
}
|
|
1148
|
-
/**
|
|
1149
|
-
* Retrieve a list of tenant team contact enrollments for a specific tenant
|
|
1150
|
-
* Retrieve a list of tenant team contact enrollments for a specific tenant
|
|
1151
|
-
* @param tenantId
|
|
1152
|
-
* @param xApiVersion
|
|
1153
|
-
* @returns TenantTeamContactEnrollmentDtoListEnvelope OK
|
|
1154
|
-
* @throws ApiError
|
|
1155
|
-
*/
|
|
1156
|
-
static getTenantTeamContactEnrollmentsAsync(tenantId, xApiVersion) {
|
|
1157
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1158
|
-
method: 'GET',
|
|
1159
|
-
url: '/api/v2/TeamContactEnrollments',
|
|
1160
|
-
headers: {
|
|
1161
|
-
'x-api-version': xApiVersion,
|
|
1162
|
-
},
|
|
1163
|
-
query: {
|
|
1164
|
-
'tenantId': tenantId,
|
|
1165
|
-
},
|
|
1166
|
-
errors: {
|
|
1167
|
-
401: `Unauthorized`,
|
|
1168
|
-
403: `Forbidden`,
|
|
1169
|
-
},
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
/**
|
|
1173
|
-
* Retrieve a single tenant team contact enrollment by its ID
|
|
1174
|
-
* Retrieve a single tenant team contact enrollment by its ID
|
|
1175
|
-
* @param tenantTeamContactEnrollmentId
|
|
1176
|
-
* @param xApiVersion
|
|
1177
|
-
* @returns TenantTeamContactEnrollmentDtoEnvelope OK
|
|
1178
|
-
* @throws ApiError
|
|
1179
|
-
*/
|
|
1180
|
-
static getTenantTeamContactEnrollmentByIdAsync(tenantTeamContactEnrollmentId, xApiVersion) {
|
|
1181
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1182
|
-
method: 'GET',
|
|
1183
|
-
url: '/api/v2/TeamContactEnrollments/{tenantTeamContactEnrollmentId}',
|
|
1184
|
-
path: {
|
|
1185
|
-
'tenantTeamContactEnrollmentId': tenantTeamContactEnrollmentId,
|
|
1186
|
-
},
|
|
1187
|
-
headers: {
|
|
1188
|
-
'x-api-version': xApiVersion,
|
|
1189
|
-
},
|
|
1190
|
-
errors: {
|
|
1191
|
-
401: `Unauthorized`,
|
|
1192
|
-
403: `Forbidden`,
|
|
1193
|
-
},
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
/**
|
|
1197
|
-
* Delete a tenant team contact enrollment
|
|
1198
|
-
* Delete a tenant team contact enrollment
|
|
1199
|
-
* @param tenantId
|
|
1200
|
-
* @param tenantTeamContactEnrollmentId
|
|
1201
|
-
* @param xApiVersion
|
|
1202
|
-
* @returns TenantTeamContactEnrollmentDtoEnvelope OK
|
|
1203
|
-
* @throws ApiError
|
|
1204
|
-
*/
|
|
1205
|
-
static deleteTenantTeamContactEnrollmentAsync(tenantId, tenantTeamContactEnrollmentId, xApiVersion) {
|
|
1206
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1207
|
-
method: 'DELETE',
|
|
1208
|
-
url: '/api/v2/TeamContactEnrollments/{tenantTeamContactEnrollmentId}',
|
|
1209
|
-
path: {
|
|
1210
|
-
'tenantTeamContactEnrollmentId': tenantTeamContactEnrollmentId,
|
|
1211
|
-
},
|
|
1212
|
-
headers: {
|
|
1213
|
-
'x-api-version': xApiVersion,
|
|
1214
|
-
},
|
|
1215
|
-
query: {
|
|
1216
|
-
'tenantId': tenantId,
|
|
1217
|
-
},
|
|
1218
|
-
errors: {
|
|
1219
|
-
401: `Unauthorized`,
|
|
1220
|
-
403: `Forbidden`,
|
|
1221
|
-
},
|
|
1222
|
-
});
|
|
1223
|
-
}
|
|
1224
|
-
/**
|
|
1225
|
-
* Partially updates a tenant team contact enrollment by its ID
|
|
1226
|
-
* Partially updates a tenant team contact enrollment by its ID
|
|
1227
|
-
* @param tenantId
|
|
1228
|
-
* @param tenantTeamContactEnrollmentId
|
|
1229
|
-
* @param xApiVersion
|
|
1230
|
-
* @param requestBody
|
|
1231
|
-
* @returns TenantTeamContactEnrollmentDtoEnvelope OK
|
|
1232
|
-
* @throws ApiError
|
|
1233
|
-
*/
|
|
1234
|
-
static patchTenantTeamContactEnrollmentAsync(tenantId, tenantTeamContactEnrollmentId, xApiVersion, requestBody) {
|
|
1235
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1236
|
-
method: 'PATCH',
|
|
1237
|
-
url: '/api/v2/TeamContactEnrollments/{tenantTeamContactEnrollmentId}',
|
|
1238
|
-
path: {
|
|
1239
|
-
'tenantTeamContactEnrollmentId': tenantTeamContactEnrollmentId,
|
|
1240
|
-
},
|
|
1241
|
-
headers: {
|
|
1242
|
-
'x-api-version': xApiVersion,
|
|
1243
|
-
},
|
|
1244
|
-
query: {
|
|
1245
|
-
'tenantId': tenantId,
|
|
1246
|
-
},
|
|
1247
|
-
body: requestBody,
|
|
1248
|
-
mediaType: 'application/json',
|
|
1249
|
-
errors: {
|
|
1250
|
-
401: `Unauthorized`,
|
|
1251
|
-
403: `Forbidden`,
|
|
1252
|
-
},
|
|
1253
|
-
});
|
|
1254
|
-
}
|
|
1255
|
-
/**
|
|
1256
|
-
* Update a tenant team contact enrollment by its ID
|
|
1257
|
-
* Update a tenant team contact enrollment by its ID
|
|
1258
|
-
* @param tenantId
|
|
1259
|
-
* @param tenantTeamContactEnrollmentId
|
|
1260
|
-
* @param xApiVersion
|
|
1261
|
-
* @param requestBody
|
|
1262
|
-
* @returns TenantTeamContactEnrollmentDtoEnvelope OK
|
|
1263
|
-
* @throws ApiError
|
|
1264
|
-
*/
|
|
1265
|
-
static updateTenantTeamContactEnrollmentAsync(tenantId, tenantTeamContactEnrollmentId, xApiVersion, requestBody) {
|
|
1266
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1267
|
-
method: 'PUT',
|
|
1268
|
-
url: '/api/v2/TeamContactEnrollments/{tenantTeamContactEnrollmentId}',
|
|
1269
|
-
path: {
|
|
1270
|
-
'tenantTeamContactEnrollmentId': tenantTeamContactEnrollmentId,
|
|
1271
|
-
},
|
|
1272
|
-
headers: {
|
|
1273
|
-
'x-api-version': xApiVersion,
|
|
1274
|
-
},
|
|
1275
|
-
query: {
|
|
1276
|
-
'tenantId': tenantId,
|
|
1277
|
-
},
|
|
1278
|
-
body: requestBody,
|
|
1279
|
-
mediaType: 'application/json',
|
|
1280
|
-
errors: {
|
|
1281
|
-
401: `Unauthorized`,
|
|
1282
|
-
403: `Forbidden`,
|
|
1283
|
-
},
|
|
1284
|
-
});
|
|
1285
|
-
}
|
|
1286
|
-
/**
|
|
1287
|
-
* Create a new tenant team project enrollment
|
|
1288
|
-
* Create a new tenant team project enrollment
|
|
1289
|
-
* @param tenantId
|
|
1290
|
-
* @param xApiVersion
|
|
1291
|
-
* @param requestBody
|
|
1292
|
-
* @returns TenantTeamProjectEnrollmentDtoEnvelope Created
|
|
1293
|
-
* @throws ApiError
|
|
1294
|
-
*/
|
|
1295
|
-
static createTenantTeamProjectEnrollmentAsync(tenantId, xApiVersion, requestBody) {
|
|
1296
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1297
|
-
method: 'POST',
|
|
1298
|
-
url: '/api/v2/TeamProjectEnrollment',
|
|
1299
|
-
headers: {
|
|
1300
|
-
'x-api-version': xApiVersion,
|
|
1301
|
-
},
|
|
1302
|
-
query: {
|
|
1303
|
-
'tenantId': tenantId,
|
|
1304
|
-
},
|
|
1305
|
-
body: requestBody,
|
|
1306
|
-
mediaType: 'application/json',
|
|
1307
|
-
errors: {
|
|
1308
|
-
401: `Unauthorized`,
|
|
1309
|
-
403: `Forbidden`,
|
|
1310
|
-
},
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
/**
|
|
1314
|
-
* Retrieve a list of tenant team project enrollments by tenant ID
|
|
1315
|
-
* Retrieve a list of tenant team project enrollments by tenant ID
|
|
1316
|
-
* @param tenantId
|
|
1317
|
-
* @param xApiVersion
|
|
1318
|
-
* @returns TenantTeamProjectEnrollmentDtoListEnvelope OK
|
|
1319
|
-
* @throws ApiError
|
|
1320
|
-
*/
|
|
1321
|
-
static getTenantTeamProjectEnrollmentsAsync(tenantId, xApiVersion) {
|
|
1322
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1323
|
-
method: 'GET',
|
|
1324
|
-
url: '/api/v2/TeamProjectEnrollment',
|
|
1325
|
-
headers: {
|
|
1326
|
-
'x-api-version': xApiVersion,
|
|
1327
|
-
},
|
|
1328
|
-
query: {
|
|
1329
|
-
'tenantId': tenantId,
|
|
1330
|
-
},
|
|
1331
|
-
errors: {
|
|
1332
|
-
401: `Unauthorized`,
|
|
1333
|
-
403: `Forbidden`,
|
|
1334
|
-
},
|
|
1335
|
-
});
|
|
1336
|
-
}
|
|
1337
|
-
/**
|
|
1338
|
-
* Retrieve a single tenant team project enrollment by its ID
|
|
1339
|
-
* Retrieve a single tenant team project enrollment by its ID
|
|
1340
|
-
* @param tenantTeamId
|
|
1341
|
-
* @param xApiVersion
|
|
1342
|
-
* @returns TenantTeamProjectEnrollmentDtoEnvelope OK
|
|
1343
|
-
* @throws ApiError
|
|
1344
|
-
*/
|
|
1345
|
-
static getTenantTeamProjectEnrollmentByIdAsync(tenantTeamId, xApiVersion) {
|
|
1346
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1347
|
-
method: 'GET',
|
|
1348
|
-
url: '/api/v2/TeamProjectEnrollment/{tenantTeamId}',
|
|
1349
|
-
path: {
|
|
1350
|
-
'tenantTeamId': tenantTeamId,
|
|
1351
|
-
},
|
|
1352
|
-
headers: {
|
|
1353
|
-
'x-api-version': xApiVersion,
|
|
1354
|
-
},
|
|
1355
|
-
errors: {
|
|
1356
|
-
401: `Unauthorized`,
|
|
1357
|
-
403: `Forbidden`,
|
|
1358
|
-
},
|
|
1359
|
-
});
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* Delete a tenant team project enrollment
|
|
1363
|
-
* Delete a tenant team project enrollment
|
|
1364
|
-
* @param tenantId
|
|
1365
|
-
* @param tenantTeamId
|
|
1366
|
-
* @param xApiVersion
|
|
1367
|
-
* @returns TenantTeamProjectEnrollmentDtoEnvelope OK
|
|
1368
|
-
* @throws ApiError
|
|
1369
|
-
*/
|
|
1370
|
-
static deleteTenantTeamProjectEnrollmentAsync(tenantId, tenantTeamId, xApiVersion) {
|
|
1371
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1372
|
-
method: 'DELETE',
|
|
1373
|
-
url: '/api/v2/TeamProjectEnrollment/{tenantTeamId}',
|
|
1374
|
-
path: {
|
|
1375
|
-
'tenantTeamId': tenantTeamId,
|
|
1376
|
-
},
|
|
1377
|
-
headers: {
|
|
1378
|
-
'x-api-version': xApiVersion,
|
|
1379
|
-
},
|
|
1380
|
-
query: {
|
|
1381
|
-
'tenantId': tenantId,
|
|
1382
|
-
},
|
|
1383
|
-
errors: {
|
|
1384
|
-
401: `Unauthorized`,
|
|
1385
|
-
403: `Forbidden`,
|
|
1386
|
-
},
|
|
1387
|
-
});
|
|
1388
|
-
}
|
|
1389
|
-
/**
|
|
1390
|
-
* Partially updates a tenant team project enrollment
|
|
1391
|
-
* Partially updates a tenant team project enrollment
|
|
1392
|
-
* @param tenantTeamId
|
|
1393
|
-
* @param xApiVersion
|
|
1394
|
-
* @param requestBody
|
|
1395
|
-
* @returns TenantTeamProjectEnrollmentDtoEnvelope OK
|
|
1396
|
-
* @throws ApiError
|
|
1397
|
-
*/
|
|
1398
|
-
static patchTenantTeamProjectEnrollmentAsync(tenantTeamId, xApiVersion, requestBody) {
|
|
1399
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1400
|
-
method: 'PATCH',
|
|
1401
|
-
url: '/api/v2/TeamProjectEnrollment/{tenantTeamId}',
|
|
1402
|
-
path: {
|
|
1403
|
-
'tenantTeamId': tenantTeamId,
|
|
1404
|
-
},
|
|
1405
|
-
headers: {
|
|
1406
|
-
'x-api-version': xApiVersion,
|
|
1407
|
-
},
|
|
1408
|
-
body: requestBody,
|
|
1409
|
-
mediaType: 'application/json',
|
|
1410
|
-
errors: {
|
|
1411
|
-
401: `Unauthorized`,
|
|
1412
|
-
403: `Forbidden`,
|
|
1413
|
-
},
|
|
1414
|
-
});
|
|
1415
|
-
}
|
|
1416
|
-
/**
|
|
1417
|
-
* Update a tenant team project enrollment
|
|
1418
|
-
* Update a tenant team project enrollment
|
|
1419
|
-
* @param tenantTeamId
|
|
1420
|
-
* @param xApiVersion
|
|
1421
|
-
* @param requestBody
|
|
1422
|
-
* @returns TenantTeamProjectEnrollmentDtoEnvelope OK
|
|
1423
|
-
* @throws ApiError
|
|
1424
|
-
*/
|
|
1425
|
-
static updateTenantTeamProjectEnrollmentAsync(tenantTeamId, xApiVersion, requestBody) {
|
|
1426
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1427
|
-
method: 'PUT',
|
|
1428
|
-
url: '/api/v2/TeamProjectEnrollment/{tenantTeamId}',
|
|
1429
|
-
path: {
|
|
1430
|
-
'tenantTeamId': tenantTeamId,
|
|
1431
|
-
},
|
|
1432
|
-
headers: {
|
|
1433
|
-
'x-api-version': xApiVersion,
|
|
1434
|
-
},
|
|
1435
|
-
body: requestBody,
|
|
1436
|
-
mediaType: 'application/json',
|
|
1437
|
-
errors: {
|
|
1438
|
-
401: `Unauthorized`,
|
|
1439
|
-
403: `Forbidden`,
|
|
1440
|
-
},
|
|
1441
|
-
});
|
|
1442
|
-
}
|
|
1443
|
-
/**
|
|
1444
|
-
* Create a new tenant team record
|
|
1445
|
-
* Create a new tenant team record
|
|
1446
|
-
* @param tenantId
|
|
1447
|
-
* @param xApiVersion
|
|
1448
|
-
* @param requestBody
|
|
1449
|
-
* @returns TenantTeamRecordDtoEnvelope Created
|
|
1450
|
-
* @throws ApiError
|
|
1451
|
-
*/
|
|
1452
|
-
static createTenantTeamRecordAsync(tenantId, xApiVersion, requestBody) {
|
|
1453
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1454
|
-
method: 'POST',
|
|
1455
|
-
url: '/api/v2/TeamRecords',
|
|
1456
|
-
headers: {
|
|
1457
|
-
'x-api-version': xApiVersion,
|
|
1458
|
-
},
|
|
1459
|
-
query: {
|
|
1460
|
-
'tenantId': tenantId,
|
|
1461
|
-
},
|
|
1462
|
-
body: requestBody,
|
|
1463
|
-
mediaType: 'application/json',
|
|
1464
|
-
errors: {
|
|
1465
|
-
401: `Unauthorized`,
|
|
1466
|
-
403: `Forbidden`,
|
|
1467
|
-
},
|
|
1468
|
-
});
|
|
1469
|
-
}
|
|
1470
|
-
/**
|
|
1471
|
-
* Retrieve a list of tenant team records related to a specific tenant
|
|
1472
|
-
* Retrieve a list of tenant team records related to a specific tenant
|
|
1473
|
-
* @param tenantId
|
|
1474
|
-
* @param xApiVersion
|
|
1475
|
-
* @returns TenantTeamRecordDtoListEnvelope OK
|
|
1476
|
-
* @throws ApiError
|
|
1477
|
-
*/
|
|
1478
|
-
static getTenantTeamRecordsAsync(tenantId, xApiVersion) {
|
|
1479
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1480
|
-
method: 'GET',
|
|
1481
|
-
url: '/api/v2/TeamRecords',
|
|
1482
|
-
headers: {
|
|
1483
|
-
'x-api-version': xApiVersion,
|
|
1484
|
-
},
|
|
1485
|
-
query: {
|
|
1486
|
-
'tenantId': tenantId,
|
|
1487
|
-
},
|
|
1488
|
-
errors: {
|
|
1489
|
-
401: `Unauthorized`,
|
|
1490
|
-
403: `Forbidden`,
|
|
1491
|
-
},
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
/**
|
|
1495
|
-
* Retrieve a single tenant team record by its ID
|
|
1496
|
-
* Retrieve a single tenant team record by its ID
|
|
1497
|
-
* @param tenantTeamId
|
|
1498
|
-
* @param xApiVersion
|
|
1499
|
-
* @returns TenantTeamRecordDtoEnvelope OK
|
|
1500
|
-
* @throws ApiError
|
|
1501
|
-
*/
|
|
1502
|
-
static getTenantTeamRecordByIdAsync(tenantTeamId, xApiVersion) {
|
|
1503
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1504
|
-
method: 'GET',
|
|
1505
|
-
url: '/api/v2/TeamRecords/{tenantTeamId}',
|
|
1506
|
-
path: {
|
|
1507
|
-
'tenantTeamId': tenantTeamId,
|
|
1508
|
-
},
|
|
1509
|
-
headers: {
|
|
1510
|
-
'x-api-version': xApiVersion,
|
|
1511
|
-
},
|
|
1512
|
-
errors: {
|
|
1513
|
-
401: `Unauthorized`,
|
|
1514
|
-
403: `Forbidden`,
|
|
1515
|
-
},
|
|
1516
|
-
});
|
|
1517
|
-
}
|
|
1518
|
-
/**
|
|
1519
|
-
* Delete a tenant team record by its ID
|
|
1520
|
-
* Delete a tenant team record by its ID
|
|
1521
|
-
* @param tenantId
|
|
1522
|
-
* @param tenantTeamId
|
|
1523
|
-
* @param xApiVersion
|
|
1524
|
-
* @returns TenantTeamRecordDtoEnvelope OK
|
|
1525
|
-
* @throws ApiError
|
|
1526
|
-
*/
|
|
1527
|
-
static deleteTenantTeamRecordAsync(tenantId, tenantTeamId, xApiVersion) {
|
|
1528
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1529
|
-
method: 'DELETE',
|
|
1530
|
-
url: '/api/v2/TeamRecords/{tenantTeamId}',
|
|
1531
|
-
path: {
|
|
1532
|
-
'tenantTeamId': tenantTeamId,
|
|
1533
|
-
},
|
|
1534
|
-
headers: {
|
|
1535
|
-
'x-api-version': xApiVersion,
|
|
1536
|
-
},
|
|
1537
|
-
query: {
|
|
1538
|
-
'tenantId': tenantId,
|
|
1539
|
-
},
|
|
1540
|
-
errors: {
|
|
1541
|
-
401: `Unauthorized`,
|
|
1542
|
-
403: `Forbidden`,
|
|
1543
|
-
},
|
|
1544
|
-
});
|
|
1545
|
-
}
|
|
1546
|
-
/**
|
|
1547
|
-
* Partially updates a tenant team record
|
|
1548
|
-
* Partially updates a tenant team record
|
|
1549
|
-
* @param tenantId
|
|
1550
|
-
* @param tenantTeamId
|
|
1551
|
-
* @param xApiVersion
|
|
1552
|
-
* @param requestBody
|
|
1553
|
-
* @returns EmptyEnvelope OK
|
|
1554
|
-
* @throws ApiError
|
|
1555
|
-
*/
|
|
1556
|
-
static patchTenantTeamRecordAsync(tenantId, tenantTeamId, xApiVersion, requestBody) {
|
|
1557
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1558
|
-
method: 'PATCH',
|
|
1559
|
-
url: '/api/v2/TeamRecords/{tenantTeamId}',
|
|
1560
|
-
path: {
|
|
1561
|
-
'tenantTeamId': tenantTeamId,
|
|
1562
|
-
},
|
|
1563
|
-
headers: {
|
|
1564
|
-
'x-api-version': xApiVersion,
|
|
1565
|
-
},
|
|
1566
|
-
query: {
|
|
1567
|
-
'tenantId': tenantId,
|
|
1568
|
-
},
|
|
1569
|
-
body: requestBody,
|
|
1570
|
-
mediaType: 'application/json',
|
|
1571
|
-
errors: {
|
|
1572
|
-
401: `Unauthorized`,
|
|
1573
|
-
403: `Forbidden`,
|
|
1574
|
-
},
|
|
1575
|
-
});
|
|
1576
|
-
}
|
|
1577
|
-
/**
|
|
1578
|
-
* Updates a tenant team record
|
|
1579
|
-
* Updates a tenant team record
|
|
1580
|
-
* @param tenantId
|
|
1581
|
-
* @param tenantTeamId
|
|
1582
|
-
* @param xApiVersion
|
|
1583
|
-
* @param requestBody
|
|
1584
|
-
* @returns TenantTeamRecordDtoEnvelope OK
|
|
1585
|
-
* @throws ApiError
|
|
1586
|
-
*/
|
|
1587
|
-
static updateTenantTeamRecordAsync(tenantId, tenantTeamId, xApiVersion, requestBody) {
|
|
1588
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1589
|
-
method: 'PUT',
|
|
1590
|
-
url: '/api/v2/TeamRecords/{tenantTeamId}',
|
|
1591
|
-
path: {
|
|
1592
|
-
'tenantTeamId': tenantTeamId,
|
|
1593
|
-
},
|
|
1594
|
-
headers: {
|
|
1595
|
-
'x-api-version': xApiVersion,
|
|
1596
|
-
},
|
|
1597
|
-
query: {
|
|
1598
|
-
'tenantId': tenantId,
|
|
1599
|
-
},
|
|
1600
|
-
body: requestBody,
|
|
1601
|
-
mediaType: 'application/json',
|
|
1602
|
-
errors: {
|
|
1603
|
-
401: `Unauthorized`,
|
|
1604
|
-
403: `Forbidden`,
|
|
1605
|
-
},
|
|
1606
|
-
});
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* Create a new tenant team
|
|
1610
|
-
* Create a new tenant team
|
|
1611
|
-
* @param tenantId
|
|
1612
|
-
* @param xApiVersion
|
|
1613
|
-
* @param requestBody
|
|
1614
|
-
* @returns TenantTeamDtoEnvelope Created
|
|
1615
|
-
* @throws ApiError
|
|
1616
|
-
*/
|
|
1617
|
-
static createTenantTeamAsync(tenantId, xApiVersion, requestBody) {
|
|
1618
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1619
|
-
method: 'POST',
|
|
1620
|
-
url: '/api/v2/Teams',
|
|
1621
|
-
headers: {
|
|
1622
|
-
'x-api-version': xApiVersion,
|
|
1623
|
-
},
|
|
1624
|
-
query: {
|
|
1625
|
-
'tenantId': tenantId,
|
|
1626
|
-
},
|
|
1627
|
-
body: requestBody,
|
|
1628
|
-
mediaType: 'application/json',
|
|
1629
|
-
errors: {
|
|
1630
|
-
401: `Unauthorized`,
|
|
1631
|
-
403: `Forbidden`,
|
|
1632
|
-
},
|
|
1633
|
-
});
|
|
1634
|
-
}
|
|
1635
|
-
/**
|
|
1636
|
-
* Retrieve a list of tenant teams related to a specific tenant
|
|
1637
|
-
* Retrieve a list of tenant teams related to a specific tenant
|
|
1638
|
-
* @param tenantId
|
|
1639
|
-
* @param xApiVersion
|
|
1640
|
-
* @returns TenantTeamDtoListEnvelope OK
|
|
1641
|
-
* @throws ApiError
|
|
1642
|
-
*/
|
|
1643
|
-
static getTenantTeamsAsync(tenantId, xApiVersion) {
|
|
1644
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1645
|
-
method: 'GET',
|
|
1646
|
-
url: '/api/v2/Teams',
|
|
1647
|
-
headers: {
|
|
1648
|
-
'x-api-version': xApiVersion,
|
|
1649
|
-
},
|
|
1650
|
-
query: {
|
|
1651
|
-
'tenantId': tenantId,
|
|
1652
|
-
},
|
|
1653
|
-
errors: {
|
|
1654
|
-
401: `Unauthorized`,
|
|
1655
|
-
403: `Forbidden`,
|
|
1656
|
-
},
|
|
1657
|
-
});
|
|
1658
|
-
}
|
|
1659
|
-
/**
|
|
1660
|
-
* Retrieve a single tenant team by its ID
|
|
1661
|
-
* Retrieve a single tenant team by its ID
|
|
1662
|
-
* @param tenantTeamId
|
|
1663
|
-
* @param xApiVersion
|
|
1664
|
-
* @returns TenantTeamDtoEnvelope OK
|
|
1665
|
-
* @throws ApiError
|
|
1666
|
-
*/
|
|
1667
|
-
static getTenantTeamByIdAsync(tenantTeamId, xApiVersion) {
|
|
1668
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1669
|
-
method: 'GET',
|
|
1670
|
-
url: '/api/v2/Teams/{tenantTeamId}',
|
|
1671
|
-
path: {
|
|
1672
|
-
'tenantTeamId': tenantTeamId,
|
|
1673
|
-
},
|
|
1674
|
-
headers: {
|
|
1675
|
-
'x-api-version': xApiVersion,
|
|
1676
|
-
},
|
|
1677
|
-
errors: {
|
|
1678
|
-
401: `Unauthorized`,
|
|
1679
|
-
403: `Forbidden`,
|
|
1680
|
-
},
|
|
1681
|
-
});
|
|
1682
|
-
}
|
|
1683
|
-
/**
|
|
1684
|
-
* Delete a tenant team by its ID
|
|
1685
|
-
* Delete a tenant team by its ID
|
|
1686
|
-
* @param tenantId
|
|
1687
|
-
* @param tenantTeamId
|
|
1688
|
-
* @param xApiVersion
|
|
1689
|
-
* @returns TenantTeamDtoEnvelope OK
|
|
1690
|
-
* @throws ApiError
|
|
1691
|
-
*/
|
|
1692
|
-
static deleteTenantTeamAsync(tenantId, tenantTeamId, xApiVersion) {
|
|
1693
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1694
|
-
method: 'DELETE',
|
|
1695
|
-
url: '/api/v2/Teams/{tenantTeamId}',
|
|
1696
|
-
path: {
|
|
1697
|
-
'tenantTeamId': tenantTeamId,
|
|
1698
|
-
},
|
|
1699
|
-
headers: {
|
|
1700
|
-
'x-api-version': xApiVersion,
|
|
1701
|
-
},
|
|
1702
|
-
query: {
|
|
1703
|
-
'tenantId': tenantId,
|
|
1704
|
-
},
|
|
1705
|
-
errors: {
|
|
1706
|
-
401: `Unauthorized`,
|
|
1707
|
-
403: `Forbidden`,
|
|
1708
|
-
},
|
|
1709
|
-
});
|
|
1710
|
-
}
|
|
1711
|
-
/**
|
|
1712
|
-
* Partially updates a tenant team by its ID
|
|
1713
|
-
* Partially updates a tenant team by its ID
|
|
1714
|
-
* @param tenantId
|
|
1715
|
-
* @param tenantTeamId
|
|
1716
|
-
* @param xApiVersion
|
|
1717
|
-
* @param requestBody
|
|
1718
|
-
* @returns EmptyEnvelope OK
|
|
1719
|
-
* @throws ApiError
|
|
1720
|
-
*/
|
|
1721
|
-
static patchTenantTeamAsync(tenantId, tenantTeamId, xApiVersion, requestBody) {
|
|
1722
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1723
|
-
method: 'PATCH',
|
|
1724
|
-
url: '/api/v2/Teams/{tenantTeamId}',
|
|
1725
|
-
path: {
|
|
1726
|
-
'tenantTeamId': tenantTeamId,
|
|
1727
|
-
},
|
|
1728
|
-
headers: {
|
|
1729
|
-
'x-api-version': xApiVersion,
|
|
1730
|
-
},
|
|
1731
|
-
query: {
|
|
1732
|
-
'tenantId': tenantId,
|
|
1733
|
-
},
|
|
1734
|
-
body: requestBody,
|
|
1735
|
-
mediaType: 'application/json',
|
|
1736
|
-
errors: {
|
|
1737
|
-
401: `Unauthorized`,
|
|
1738
|
-
403: `Forbidden`,
|
|
1739
|
-
},
|
|
1740
|
-
});
|
|
1741
|
-
}
|
|
1742
|
-
/**
|
|
1743
|
-
* Updates a tenant team
|
|
1744
|
-
* Updates a tenant team and returns an envelope.
|
|
1745
|
-
* @param tenantId
|
|
1746
|
-
* @param tenantTeamId
|
|
1747
|
-
* @param xApiVersion
|
|
1748
|
-
* @param requestBody
|
|
1749
|
-
* @returns TenantTeamDtoEnvelope OK
|
|
1750
|
-
* @throws ApiError
|
|
1751
|
-
*/
|
|
1752
|
-
static updateTenantTeamAsync(tenantId, tenantTeamId, xApiVersion, requestBody) {
|
|
1753
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1754
|
-
method: 'PUT',
|
|
1755
|
-
url: '/api/v2/Teams/{tenantTeamId}',
|
|
1756
|
-
path: {
|
|
1757
|
-
'tenantTeamId': tenantTeamId,
|
|
1758
|
-
},
|
|
1759
|
-
headers: {
|
|
1760
|
-
'x-api-version': xApiVersion,
|
|
1761
|
-
},
|
|
1762
|
-
query: {
|
|
1763
|
-
'tenantId': tenantId,
|
|
1764
|
-
},
|
|
1765
|
-
body: requestBody,
|
|
1766
|
-
mediaType: 'application/json',
|
|
1767
|
-
errors: {
|
|
1768
|
-
401: `Unauthorized`,
|
|
1769
|
-
403: `Forbidden`,
|
|
1770
|
-
},
|
|
1771
|
-
});
|
|
1772
|
-
}
|
|
1773
|
-
/**
|
|
1774
|
-
* Get the root tenant of the platform
|
|
1775
|
-
* Get the root tenant of the platform
|
|
1776
|
-
* @param xApiVersion
|
|
1777
|
-
* @returns TenantDtoEnvelope OK
|
|
1778
|
-
* @throws ApiError
|
|
1779
|
-
*/
|
|
1780
|
-
static getRootTenantAsync(xApiVersion) {
|
|
1781
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1782
|
-
method: 'GET',
|
|
1783
|
-
url: '/api/v2/Tenants/Root',
|
|
1784
|
-
headers: {
|
|
1785
|
-
'x-api-version': xApiVersion,
|
|
1786
|
-
},
|
|
1787
|
-
errors: {
|
|
1788
|
-
401: `Unauthorized`,
|
|
1789
|
-
403: `Forbidden`,
|
|
1790
|
-
},
|
|
1791
|
-
});
|
|
1792
|
-
}
|
|
1793
|
-
/**
|
|
1794
|
-
* Get the user's current default tenant
|
|
1795
|
-
* Get the user's current default tenant
|
|
1796
|
-
* @param tenantId
|
|
1797
|
-
* @param xApiVersion
|
|
1798
|
-
* @returns TenantDtoEnvelope OK
|
|
1799
|
-
* @throws ApiError
|
|
1800
|
-
*/
|
|
1801
|
-
static getCurrentTenantAsync(tenantId, xApiVersion) {
|
|
1802
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1803
|
-
method: 'GET',
|
|
1804
|
-
url: '/api/v2/Tenants/Current',
|
|
1805
|
-
headers: {
|
|
1806
|
-
'x-api-version': xApiVersion,
|
|
1807
|
-
},
|
|
1808
|
-
query: {
|
|
1809
|
-
'tenantId': tenantId,
|
|
1810
|
-
},
|
|
1811
|
-
errors: {
|
|
1812
|
-
401: `Unauthorized`,
|
|
1813
|
-
403: `Forbidden`,
|
|
1814
|
-
},
|
|
1815
|
-
});
|
|
1816
|
-
}
|
|
1817
|
-
/**
|
|
1818
|
-
* Get a specific tenant by ID
|
|
1819
|
-
* Get a specific tenant by ID
|
|
1820
|
-
* @param tenantId
|
|
1821
|
-
* @param xApiVersion
|
|
1822
|
-
* @returns TenantDtoEnvelope OK
|
|
1823
|
-
* @throws ApiError
|
|
1824
|
-
*/
|
|
1825
|
-
static getTenantAsync(tenantId, xApiVersion) {
|
|
1826
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1827
|
-
method: 'GET',
|
|
1828
|
-
url: '/api/v2/Tenants/{tenantId}',
|
|
1829
|
-
path: {
|
|
1830
|
-
'tenantId': tenantId,
|
|
1831
|
-
},
|
|
1832
|
-
headers: {
|
|
1833
|
-
'x-api-version': xApiVersion,
|
|
1834
|
-
},
|
|
1835
|
-
errors: {
|
|
1836
|
-
401: `Unauthorized`,
|
|
1837
|
-
403: `Forbidden`,
|
|
1838
|
-
},
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
/**
|
|
1842
|
-
* Update a tenant's profile
|
|
1843
|
-
* Update a tenant's profile
|
|
1844
|
-
* @param tenantId
|
|
1845
|
-
* @param xApiVersion
|
|
1846
|
-
* @param requestBody
|
|
1847
|
-
* @returns EmptyEnvelope OK
|
|
1848
|
-
* @throws ApiError
|
|
1849
|
-
*/
|
|
1850
|
-
static updateTenantAsync(tenantId, xApiVersion, requestBody) {
|
|
1851
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1852
|
-
method: 'PUT',
|
|
1853
|
-
url: '/api/v2/Tenants/{tenantId}',
|
|
1854
|
-
path: {
|
|
1855
|
-
'tenantId': tenantId,
|
|
1856
|
-
},
|
|
1857
|
-
headers: {
|
|
1858
|
-
'x-api-version': xApiVersion,
|
|
1859
|
-
},
|
|
1860
|
-
body: requestBody,
|
|
1861
|
-
mediaType: 'application/json',
|
|
1862
|
-
errors: {
|
|
1863
|
-
401: `Unauthorized`,
|
|
1864
|
-
403: `Forbidden`,
|
|
1865
|
-
},
|
|
1866
|
-
});
|
|
1867
|
-
}
|
|
1868
|
-
/**
|
|
1869
|
-
* Patch a tenant's profile
|
|
1870
|
-
* Patch a tenant's profile
|
|
1871
|
-
* @param tenantId
|
|
1872
|
-
* @param xApiVersion
|
|
1873
|
-
* @param requestBody
|
|
1874
|
-
* @returns EmptyEnvelope OK
|
|
1875
|
-
* @throws ApiError
|
|
1876
|
-
*/
|
|
1877
|
-
static patchTenantAsync(tenantId, xApiVersion, requestBody) {
|
|
1878
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1879
|
-
method: 'PATCH',
|
|
1880
|
-
url: '/api/v2/Tenants/{tenantId}',
|
|
1881
|
-
path: {
|
|
1882
|
-
'tenantId': tenantId,
|
|
1883
|
-
},
|
|
1884
|
-
headers: {
|
|
1885
|
-
'x-api-version': xApiVersion,
|
|
1886
|
-
},
|
|
1887
|
-
body: requestBody,
|
|
1888
|
-
mediaType: 'application/json',
|
|
1889
|
-
errors: {
|
|
1890
|
-
401: `Unauthorized`,
|
|
1891
|
-
403: `Forbidden`,
|
|
1892
|
-
},
|
|
1893
|
-
});
|
|
1894
|
-
}
|
|
1895
|
-
/**
|
|
1896
|
-
* Get an extended tenant's business profile
|
|
1897
|
-
* Get an extended tenant's business profile
|
|
1898
|
-
* @param tenantId
|
|
1899
|
-
* @param xApiVersion
|
|
1900
|
-
* @returns ExtendedTenantDtoEnvelope OK
|
|
1901
|
-
* @throws ApiError
|
|
1902
|
-
*/
|
|
1903
|
-
static getExtendedTenantAsync(tenantId, xApiVersion) {
|
|
1904
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1905
|
-
method: 'GET',
|
|
1906
|
-
url: '/api/v2/Tenants/{tenantId}/Extended',
|
|
1907
|
-
path: {
|
|
1908
|
-
'tenantId': tenantId,
|
|
1909
|
-
},
|
|
1910
|
-
headers: {
|
|
1911
|
-
'x-api-version': xApiVersion,
|
|
1912
|
-
},
|
|
1913
|
-
errors: {
|
|
1914
|
-
401: `Unauthorized`,
|
|
1915
|
-
403: `Forbidden`,
|
|
1916
|
-
},
|
|
1917
|
-
});
|
|
1918
|
-
}
|
|
1919
|
-
/**
|
|
1920
|
-
* Get a tenant's avatar
|
|
1921
|
-
* Get a tenant's avatar
|
|
1922
|
-
* @param tenantId
|
|
1923
|
-
* @param xApiVersion
|
|
1924
|
-
* @returns EmptyEnvelope OK
|
|
1925
|
-
* @throws ApiError
|
|
1926
|
-
*/
|
|
1927
|
-
static getTenantAvatarAsync(tenantId, xApiVersion) {
|
|
1928
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1929
|
-
method: 'GET',
|
|
1930
|
-
url: '/api/v2/Tenants/{tenantId}/Avatar',
|
|
1931
|
-
path: {
|
|
1932
|
-
'tenantId': tenantId,
|
|
1933
|
-
},
|
|
1934
|
-
headers: {
|
|
1935
|
-
'x-api-version': xApiVersion,
|
|
1936
|
-
},
|
|
1937
|
-
errors: {
|
|
1938
|
-
401: `Unauthorized`,
|
|
1939
|
-
403: `Forbidden`,
|
|
1940
|
-
},
|
|
1941
|
-
});
|
|
1942
|
-
}
|
|
1943
|
-
/**
|
|
1944
|
-
* Update a tenant's avatar
|
|
1945
|
-
* Update a tenant's avatar
|
|
1946
|
-
* @param tenantId
|
|
1947
|
-
* @param xApiVersion
|
|
1948
|
-
* @param formData
|
|
1949
|
-
* @returns EmptyEnvelope OK
|
|
1950
|
-
* @throws ApiError
|
|
1951
|
-
*/
|
|
1952
|
-
static updateAvatarAsync(tenantId, xApiVersion, formData) {
|
|
1953
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1954
|
-
method: 'POST',
|
|
1955
|
-
url: '/api/v2/Tenants/{tenantId}/Avatar',
|
|
1956
|
-
path: {
|
|
1957
|
-
'tenantId': tenantId,
|
|
1958
|
-
},
|
|
1959
|
-
headers: {
|
|
1960
|
-
'x-api-version': xApiVersion,
|
|
1961
|
-
},
|
|
1962
|
-
formData: formData,
|
|
1963
|
-
mediaType: 'multipart/form-data',
|
|
1964
|
-
errors: {
|
|
1965
|
-
401: `Unauthorized`,
|
|
1966
|
-
403: `Forbidden`,
|
|
1967
|
-
},
|
|
1968
|
-
});
|
|
1969
|
-
}
|
|
1970
|
-
/**
|
|
1971
|
-
* Get a tenant's billing profile (A.K.A. Wallet Account)
|
|
1972
|
-
* Get a tenant's billing profile (A.K.A. Wallet Account)
|
|
1973
|
-
* @param tenantId
|
|
1974
|
-
* @param xApiVersion
|
|
1975
|
-
* @returns WalletDtoEnvelope OK
|
|
1976
|
-
* @throws ApiError
|
|
1977
|
-
*/
|
|
1978
|
-
static getTenantWalletAsync(tenantId, xApiVersion) {
|
|
1979
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1980
|
-
method: 'GET',
|
|
1981
|
-
url: '/api/v2/Tenants/{tenantId}/Wallet',
|
|
1982
|
-
path: {
|
|
1983
|
-
'tenantId': tenantId,
|
|
1984
|
-
},
|
|
1985
|
-
headers: {
|
|
1986
|
-
'x-api-version': xApiVersion,
|
|
1987
|
-
},
|
|
1988
|
-
errors: {
|
|
1989
|
-
401: `Unauthorized`,
|
|
1990
|
-
403: `Forbidden`,
|
|
1991
|
-
},
|
|
1992
|
-
});
|
|
1993
|
-
}
|
|
1994
|
-
/**
|
|
1995
|
-
* Get a tenant's social profile
|
|
1996
|
-
* Get a tenant's social profile
|
|
1997
|
-
* @param tenantId
|
|
1998
|
-
* @param xApiVersion
|
|
1999
|
-
* @returns SocialProfileDtoEnvelope OK
|
|
2000
|
-
* @throws ApiError
|
|
2001
|
-
*/
|
|
2002
|
-
static getTenantSocialProfileAsync(tenantId, xApiVersion) {
|
|
2003
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2004
|
-
method: 'GET',
|
|
2005
|
-
url: '/api/v2/Tenants/{tenantId}/SocialProfile',
|
|
2006
|
-
path: {
|
|
2007
|
-
'tenantId': tenantId,
|
|
2008
|
-
},
|
|
2009
|
-
headers: {
|
|
2010
|
-
'x-api-version': xApiVersion,
|
|
2011
|
-
},
|
|
2012
|
-
errors: {
|
|
2013
|
-
401: `Unauthorized`,
|
|
2014
|
-
403: `Forbidden`,
|
|
2015
|
-
},
|
|
2016
|
-
});
|
|
2017
|
-
}
|
|
2018
|
-
/**
|
|
2019
|
-
* Get a tenant's default cart
|
|
2020
|
-
* Get a tenant's default cart
|
|
2021
|
-
* @param tenantId
|
|
2022
|
-
* @param xApiVersion
|
|
2023
|
-
* @returns CartDtoEnvelope OK
|
|
2024
|
-
* @throws ApiError
|
|
2025
|
-
*/
|
|
2026
|
-
static getTenantCartAsync(tenantId, xApiVersion) {
|
|
2027
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2028
|
-
method: 'GET',
|
|
2029
|
-
url: '/api/v2/Tenants/{tenantId}/Cart',
|
|
2030
|
-
path: {
|
|
2031
|
-
'tenantId': tenantId,
|
|
2032
|
-
},
|
|
2033
|
-
headers: {
|
|
2034
|
-
'x-api-version': xApiVersion,
|
|
2035
|
-
},
|
|
2036
|
-
errors: {
|
|
2037
|
-
401: `Unauthorized`,
|
|
2038
|
-
403: `Forbidden`,
|
|
2039
|
-
},
|
|
2040
|
-
});
|
|
2041
|
-
}
|
|
2042
|
-
/**
|
|
2043
|
-
* Get the list of users enrolled in a tenant
|
|
2044
|
-
* Get the list of users enrolled in a tenant
|
|
2045
|
-
* @param tenantId
|
|
2046
|
-
* @param xApiVersion
|
|
2047
|
-
* @returns UserDtoListEnvelope OK
|
|
2048
|
-
* @throws ApiError
|
|
2049
|
-
*/
|
|
2050
|
-
static getTenantUsersAsync(tenantId, xApiVersion) {
|
|
2051
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2052
|
-
method: 'GET',
|
|
2053
|
-
url: '/api/v2/Tenants/{tenantId}/Users',
|
|
2054
|
-
path: {
|
|
2055
|
-
'tenantId': tenantId,
|
|
2056
|
-
},
|
|
2057
|
-
headers: {
|
|
2058
|
-
'x-api-version': xApiVersion,
|
|
2059
|
-
},
|
|
2060
|
-
errors: {
|
|
2061
|
-
401: `Unauthorized`,
|
|
2062
|
-
403: `Forbidden`,
|
|
2063
|
-
},
|
|
2064
|
-
});
|
|
2065
|
-
}
|
|
2066
|
-
/**
|
|
2067
|
-
* Get the list of user enrollments for a tenant
|
|
2068
|
-
* Get the list of user enrollments for a tenant
|
|
2069
|
-
* @param tenantId
|
|
2070
|
-
* @param xApiVersion
|
|
2071
|
-
* @returns TenantEnrolmentDtoListEnvelope OK
|
|
2072
|
-
* @throws ApiError
|
|
2073
|
-
*/
|
|
2074
|
-
static getTenantEnrollmentsAsync(tenantId, xApiVersion) {
|
|
2075
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2076
|
-
method: 'GET',
|
|
2077
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments',
|
|
2078
|
-
path: {
|
|
2079
|
-
'tenantId': tenantId,
|
|
2080
|
-
},
|
|
2081
|
-
headers: {
|
|
2082
|
-
'x-api-version': xApiVersion,
|
|
2083
|
-
},
|
|
2084
|
-
errors: {
|
|
2085
|
-
401: `Unauthorized`,
|
|
2086
|
-
403: `Forbidden`,
|
|
2087
|
-
},
|
|
2088
|
-
});
|
|
2089
|
-
}
|
|
2090
|
-
/**
|
|
2091
|
-
* Get a specific tenant enrollment
|
|
2092
|
-
* Get a specific tenant enrollment
|
|
2093
|
-
* @param tenantId
|
|
2094
|
-
* @param enrollmentId
|
|
2095
|
-
* @param xApiVersion
|
|
2096
|
-
* @returns TenantEnrolmentDtoEnvelope OK
|
|
2097
|
-
* @throws ApiError
|
|
2098
|
-
*/
|
|
2099
|
-
static getTenantEnrollmentAsync(tenantId, enrollmentId, xApiVersion) {
|
|
2100
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2101
|
-
method: 'GET',
|
|
2102
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}',
|
|
2103
|
-
path: {
|
|
2104
|
-
'tenantId': tenantId,
|
|
2105
|
-
'enrollmentId': enrollmentId,
|
|
2106
|
-
},
|
|
2107
|
-
headers: {
|
|
2108
|
-
'x-api-version': xApiVersion,
|
|
2109
|
-
},
|
|
2110
|
-
errors: {
|
|
2111
|
-
401: `Unauthorized`,
|
|
2112
|
-
403: `Forbidden`,
|
|
2113
|
-
},
|
|
2114
|
-
});
|
|
2115
|
-
}
|
|
2116
|
-
/**
|
|
2117
|
-
* Get a specific tenant enrollment
|
|
2118
|
-
* Get a specific tenant enrollment
|
|
2119
|
-
* @param tenantId
|
|
2120
|
-
* @param enrollmentId
|
|
2121
|
-
* @param xApiVersion
|
|
2122
|
-
* @returns ExtendedTenantEnrolmentDtoEnvelope OK
|
|
2123
|
-
* @throws ApiError
|
|
2124
|
-
*/
|
|
2125
|
-
static getExtendedTenantEnrollmentAsync(tenantId, enrollmentId, xApiVersion) {
|
|
2126
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2127
|
-
method: 'GET',
|
|
2128
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}/Extended',
|
|
2129
|
-
path: {
|
|
2130
|
-
'tenantId': tenantId,
|
|
2131
|
-
'enrollmentId': enrollmentId,
|
|
2132
|
-
},
|
|
2133
|
-
headers: {
|
|
2134
|
-
'x-api-version': xApiVersion,
|
|
2135
|
-
},
|
|
2136
|
-
errors: {
|
|
2137
|
-
401: `Unauthorized`,
|
|
2138
|
-
403: `Forbidden`,
|
|
2139
|
-
},
|
|
2140
|
-
});
|
|
2141
|
-
}
|
|
2142
|
-
/**
|
|
2143
|
-
* Get a specific tenant enrollment's permissions list
|
|
2144
|
-
* Get a specific tenant enrollment's permissions list
|
|
2145
|
-
* @param tenantId
|
|
2146
|
-
* @param enrollmentId
|
|
2147
|
-
* @param xApiVersion
|
|
2148
|
-
* @returns StringListEnvelope OK
|
|
2149
|
-
* @throws ApiError
|
|
2150
|
-
*/
|
|
2151
|
-
static getEnrollmentPermissionsAsync(tenantId, enrollmentId, xApiVersion) {
|
|
2152
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2153
|
-
method: 'GET',
|
|
2154
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}/Permissions',
|
|
2155
|
-
path: {
|
|
2156
|
-
'tenantId': tenantId,
|
|
2157
|
-
'enrollmentId': enrollmentId,
|
|
2158
|
-
},
|
|
2159
|
-
headers: {
|
|
2160
|
-
'x-api-version': xApiVersion,
|
|
2161
|
-
},
|
|
2162
|
-
errors: {
|
|
2163
|
-
401: `Unauthorized`,
|
|
2164
|
-
403: `Forbidden`,
|
|
2165
|
-
},
|
|
2166
|
-
});
|
|
2167
|
-
}
|
|
2168
|
-
/**
|
|
2169
|
-
* Validate the existence of a list of roles and permissions for a specific enrollment
|
|
2170
|
-
* Validate the existence of a list of roles and permissions for a specific enrollment
|
|
2171
|
-
* @param tenantId
|
|
2172
|
-
* @param enrollmentId
|
|
2173
|
-
* @param roles
|
|
2174
|
-
* @param permissions
|
|
2175
|
-
* @param xApiVersion
|
|
2176
|
-
* @returns BooleanEnvelope OK
|
|
2177
|
-
* @throws ApiError
|
|
2178
|
-
*/
|
|
2179
|
-
static getEnrollmentPermissionsAsync1(tenantId, enrollmentId, roles, permissions, xApiVersion) {
|
|
2180
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2181
|
-
method: 'GET',
|
|
2182
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentID}/Permissions/Validate',
|
|
2183
|
-
path: {
|
|
2184
|
-
'tenantId': tenantId,
|
|
2185
|
-
'enrollmentId': enrollmentId,
|
|
2186
|
-
},
|
|
2187
|
-
headers: {
|
|
2188
|
-
'x-api-version': xApiVersion,
|
|
2189
|
-
},
|
|
2190
|
-
query: {
|
|
2191
|
-
'roles': roles,
|
|
2192
|
-
'permissions': permissions,
|
|
2193
|
-
},
|
|
2194
|
-
errors: {
|
|
2195
|
-
401: `Unauthorized`,
|
|
2196
|
-
403: `Forbidden`,
|
|
2197
|
-
},
|
|
2198
|
-
});
|
|
2199
|
-
}
|
|
2200
|
-
/**
|
|
2201
|
-
* Get the list of invitations issued by a tenant
|
|
2202
|
-
* Get the list of invitations issued by a tenant
|
|
2203
|
-
* @param tenantId
|
|
2204
|
-
* @param xApiVersion
|
|
2205
|
-
* @returns TenantInvitationDtoListEnvelope OK
|
|
2206
|
-
* @throws ApiError
|
|
2207
|
-
*/
|
|
2208
|
-
static getTenantInvitationsAsync(tenantId, xApiVersion) {
|
|
2209
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2210
|
-
method: 'GET',
|
|
2211
|
-
url: '/api/v2/Tenants/{tenantId}/Invitations',
|
|
2212
|
-
path: {
|
|
2213
|
-
'tenantId': tenantId,
|
|
2214
|
-
},
|
|
2215
|
-
headers: {
|
|
2216
|
-
'x-api-version': xApiVersion,
|
|
2217
|
-
},
|
|
2218
|
-
errors: {
|
|
2219
|
-
401: `Unauthorized`,
|
|
2220
|
-
403: `Forbidden`,
|
|
2221
|
-
},
|
|
2222
|
-
});
|
|
2223
|
-
}
|
|
2224
|
-
/**
|
|
2225
|
-
* Get the list of invitations issued by a tenant that are pending
|
|
2226
|
-
* Get the list of invitations issued by a tenant that are pending
|
|
2227
|
-
* @param tenantId
|
|
2228
|
-
* @param xApiVersion
|
|
2229
|
-
* @returns TenantInvitationDtoListEnvelope OK
|
|
2230
|
-
* @throws ApiError
|
|
2231
|
-
*/
|
|
2232
|
-
static getTenantPendingInvitationsAsync(tenantId, xApiVersion) {
|
|
2233
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2234
|
-
method: 'GET',
|
|
2235
|
-
url: '/api/v2/Tenants/{tenantId}/Invitations/Pending',
|
|
2236
|
-
path: {
|
|
2237
|
-
'tenantId': tenantId,
|
|
2238
|
-
},
|
|
2239
|
-
headers: {
|
|
2240
|
-
'x-api-version': xApiVersion,
|
|
2241
|
-
},
|
|
2242
|
-
errors: {
|
|
2243
|
-
401: `Unauthorized`,
|
|
2244
|
-
403: `Forbidden`,
|
|
2245
|
-
},
|
|
2246
|
-
});
|
|
2247
|
-
}
|
|
2248
|
-
/**
|
|
2249
|
-
* Get the list of invitations issued by a tenant that have been redeemed
|
|
2250
|
-
* Get the list of invitations issued by a tenant that have been redeemed
|
|
2251
|
-
* @param tenantId
|
|
2252
|
-
* @param xApiVersion
|
|
2253
|
-
* @returns TenantInvitationDtoListEnvelope OK
|
|
2254
|
-
* @throws ApiError
|
|
2255
|
-
*/
|
|
2256
|
-
static getTenantRedeemedInvitationsAsync(tenantId, xApiVersion) {
|
|
2257
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2258
|
-
method: 'GET',
|
|
2259
|
-
url: '/api/v2/Tenants/{tenantId}/Invitations/Redeemed',
|
|
2260
|
-
path: {
|
|
2261
|
-
'tenantId': tenantId,
|
|
2262
|
-
},
|
|
2263
|
-
headers: {
|
|
2264
|
-
'x-api-version': xApiVersion,
|
|
2265
|
-
},
|
|
2266
|
-
errors: {
|
|
2267
|
-
401: `Unauthorized`,
|
|
2268
|
-
403: `Forbidden`,
|
|
2269
|
-
},
|
|
2270
|
-
});
|
|
2271
|
-
}
|
|
2272
|
-
/**
|
|
2273
|
-
* Get the list of invitations issued by a tenant that have been revoked
|
|
2274
|
-
* Get the list of invitations issued by a tenant that have been revoked
|
|
2275
|
-
* @param tenantId
|
|
2276
|
-
* @param xApiVersion
|
|
2277
|
-
* @returns TenantInvitationDtoListEnvelope OK
|
|
2278
|
-
* @throws ApiError
|
|
2279
|
-
*/
|
|
2280
|
-
static getTenantRevokedInvitationsAsync(tenantId, xApiVersion) {
|
|
2281
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2282
|
-
method: 'GET',
|
|
2283
|
-
url: '/api/v2/Tenants/{tenantId}/Invitations/Revoked',
|
|
2284
|
-
path: {
|
|
2285
|
-
'tenantId': tenantId,
|
|
2286
|
-
},
|
|
2287
|
-
headers: {
|
|
2288
|
-
'x-api-version': xApiVersion,
|
|
2289
|
-
},
|
|
2290
|
-
errors: {
|
|
2291
|
-
401: `Unauthorized`,
|
|
2292
|
-
403: `Forbidden`,
|
|
2293
|
-
},
|
|
2294
|
-
});
|
|
2295
|
-
}
|
|
2296
|
-
/**
|
|
2297
|
-
* Get the list of licenses available to a tenant
|
|
2298
|
-
* Get the list of licenses available to a tenant
|
|
2299
|
-
* @param tenantId
|
|
2300
|
-
* @param xApiVersion
|
|
2301
|
-
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2302
|
-
* @throws ApiError
|
|
2303
|
-
*/
|
|
2304
|
-
static getTenantLicensesAsync(tenantId, xApiVersion) {
|
|
2305
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2306
|
-
method: 'GET',
|
|
2307
|
-
url: '/api/v2/Tenants/{tenantId}/Licenses',
|
|
2308
|
-
path: {
|
|
2309
|
-
'tenantId': tenantId,
|
|
2310
|
-
},
|
|
2311
|
-
headers: {
|
|
2312
|
-
'x-api-version': xApiVersion,
|
|
2313
|
-
},
|
|
2314
|
-
errors: {
|
|
2315
|
-
401: `Unauthorized`,
|
|
2316
|
-
403: `Forbidden`,
|
|
2317
|
-
},
|
|
2318
|
-
});
|
|
2319
|
-
}
|
|
2320
|
-
/**
|
|
2321
|
-
* Get the list of licenses available to a specific enrollment
|
|
2322
|
-
* Get the list of licenses available to a specific enrollment
|
|
2323
|
-
* @param tenantId
|
|
2324
|
-
* @param enrollmentId
|
|
2325
|
-
* @param xApiVersion
|
|
2326
|
-
* @returns SuiteLicenseAssignmentDtoListEnvelope OK
|
|
2327
|
-
* @throws ApiError
|
|
2328
|
-
*/
|
|
2329
|
-
static getEnrollmentLicensesAsync(tenantId, enrollmentId, xApiVersion) {
|
|
2330
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2331
|
-
method: 'GET',
|
|
2332
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentId}/Licenses',
|
|
2333
|
-
path: {
|
|
2334
|
-
'tenantId': tenantId,
|
|
2335
|
-
'enrollmentId': enrollmentId,
|
|
2336
|
-
},
|
|
2337
|
-
headers: {
|
|
2338
|
-
'x-api-version': xApiVersion,
|
|
2339
|
-
},
|
|
2340
|
-
errors: {
|
|
2341
|
-
401: `Unauthorized`,
|
|
2342
|
-
403: `Forbidden`,
|
|
2343
|
-
},
|
|
2344
|
-
});
|
|
2345
|
-
}
|
|
2346
|
-
/**
|
|
2347
|
-
* Get the list of licenses available to a specific enrollment
|
|
2348
|
-
* Get the list of licenses available to a specific enrollment
|
|
2349
|
-
* @param tenantId
|
|
2350
|
-
* @param enrollmentId
|
|
2351
|
-
* @param licenseId
|
|
2352
|
-
* @param xApiVersion
|
|
2353
|
-
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2354
|
-
* @throws ApiError
|
|
2355
|
-
*/
|
|
2356
|
-
static getEnrollmentLicensesAsync1(tenantId, enrollmentId, licenseId, xApiVersion) {
|
|
2357
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2358
|
-
method: 'GET',
|
|
2359
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentId}/Licenses/{licenseId}',
|
|
2360
|
-
path: {
|
|
2361
|
-
'tenantId': tenantId,
|
|
2362
|
-
'enrollmentId': enrollmentId,
|
|
2363
|
-
'licenseId': licenseId,
|
|
2364
|
-
},
|
|
2365
|
-
headers: {
|
|
2366
|
-
'x-api-version': xApiVersion,
|
|
2367
|
-
},
|
|
2368
|
-
errors: {
|
|
2369
|
-
401: `Unauthorized`,
|
|
2370
|
-
403: `Forbidden`,
|
|
2371
|
-
},
|
|
2372
|
-
});
|
|
2373
|
-
}
|
|
2374
|
-
/**
|
|
2375
|
-
* Assign a license to a specific enrollment
|
|
2376
|
-
* Assign a license to a specific enrollment
|
|
2377
|
-
* @param tenantId
|
|
2378
|
-
* @param enrollmentId
|
|
2379
|
-
* @param licenseId
|
|
2380
|
-
* @param xApiVersion
|
|
2381
|
-
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2382
|
-
* @throws ApiError
|
|
2383
|
-
*/
|
|
2384
|
-
static assignLicenseAsync(tenantId, enrollmentId, licenseId, xApiVersion) {
|
|
2385
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2386
|
-
method: 'POST',
|
|
2387
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentId}/Licenses/{licenseId}',
|
|
2388
|
-
path: {
|
|
2389
|
-
'tenantId': tenantId,
|
|
2390
|
-
'enrollmentId': enrollmentId,
|
|
2391
|
-
'licenseId': licenseId,
|
|
2392
|
-
},
|
|
2393
|
-
headers: {
|
|
2394
|
-
'x-api-version': xApiVersion,
|
|
2395
|
-
},
|
|
2396
|
-
errors: {
|
|
2397
|
-
401: `Unauthorized`,
|
|
2398
|
-
403: `Forbidden`,
|
|
2399
|
-
},
|
|
2400
|
-
});
|
|
2401
|
-
}
|
|
2402
|
-
/**
|
|
2403
|
-
* Revoke a license from a specific enrollment
|
|
2404
|
-
* Revoke a license from a specific enrollment
|
|
2405
|
-
* @param tenantId
|
|
2406
|
-
* @param enrollmentId
|
|
2407
|
-
* @param licenseId
|
|
2408
|
-
* @param xApiVersion
|
|
2409
|
-
* @returns SuiteLicenseDtoListEnvelope OK
|
|
2410
|
-
* @throws ApiError
|
|
2411
|
-
*/
|
|
2412
|
-
static revokeLicenseAsync(tenantId, enrollmentId, licenseId, xApiVersion) {
|
|
2413
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2414
|
-
method: 'DELETE',
|
|
2415
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentId}/Licenses/{licenseId}',
|
|
2416
|
-
path: {
|
|
2417
|
-
'tenantId': tenantId,
|
|
2418
|
-
'enrollmentId': enrollmentId,
|
|
2419
|
-
'licenseId': licenseId,
|
|
2420
|
-
},
|
|
2421
|
-
headers: {
|
|
2422
|
-
'x-api-version': xApiVersion,
|
|
2423
|
-
},
|
|
2424
|
-
errors: {
|
|
2425
|
-
401: `Unauthorized`,
|
|
2426
|
-
403: `Forbidden`,
|
|
2427
|
-
},
|
|
2428
|
-
});
|
|
2429
|
-
}
|
|
2430
|
-
/**
|
|
2431
|
-
* Get the list of features accessible to a specific enrollment
|
|
2432
|
-
* Get the list of features accessible to a specific enrollment
|
|
2433
|
-
* @param tenantId
|
|
2434
|
-
* @param enrollmentId
|
|
2435
|
-
* @param xApiVersion
|
|
2436
|
-
* @returns SuiteLicenseFeatureDtoListEnvelope OK
|
|
2437
|
-
* @throws ApiError
|
|
2438
|
-
*/
|
|
2439
|
-
static getAccessibleFeaturesAsync(tenantId, enrollmentId, xApiVersion) {
|
|
2440
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2441
|
-
method: 'GET',
|
|
2442
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}/Features',
|
|
2443
|
-
path: {
|
|
2444
|
-
'tenantId': tenantId,
|
|
2445
|
-
'enrollmentId': enrollmentId,
|
|
2446
|
-
},
|
|
2447
|
-
headers: {
|
|
2448
|
-
'x-api-version': xApiVersion,
|
|
2449
|
-
},
|
|
2450
|
-
errors: {
|
|
2451
|
-
403: `Forbidden`,
|
|
2452
|
-
},
|
|
2453
|
-
});
|
|
2454
|
-
}
|
|
2455
|
-
/**
|
|
2456
|
-
* Validate the access to a specific feature for a specific enrollment
|
|
2457
|
-
* Validate the access to a specific feature for a specific enrollment
|
|
2458
|
-
* @param tenantId
|
|
2459
|
-
* @param enrollmentId
|
|
2460
|
-
* @param feature
|
|
2461
|
-
* @param xApiVersion
|
|
2462
|
-
* @returns BooleanEnvelope OK
|
|
2463
|
-
* @throws ApiError
|
|
2464
|
-
*/
|
|
2465
|
-
static validateEnrollmentFeatureAccess(tenantId, enrollmentId, feature, xApiVersion) {
|
|
2466
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2467
|
-
method: 'GET',
|
|
2468
|
-
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}/HasAccess',
|
|
2469
|
-
path: {
|
|
2470
|
-
'tenantId': tenantId,
|
|
2471
|
-
'enrollmentId': enrollmentId,
|
|
2472
|
-
},
|
|
2473
|
-
headers: {
|
|
2474
|
-
'x-api-version': xApiVersion,
|
|
2475
|
-
},
|
|
2476
|
-
query: {
|
|
2477
|
-
'feature': feature,
|
|
2478
|
-
},
|
|
2479
|
-
errors: {
|
|
2480
|
-
403: `Forbidden`,
|
|
2481
|
-
},
|
|
2482
|
-
});
|
|
2483
|
-
}
|
|
2484
|
-
/**
|
|
2485
|
-
* Create a new business tenant
|
|
2486
|
-
* Create a new business tenant
|
|
2487
|
-
* @param xApiVersion
|
|
2488
|
-
* @param requestBody
|
|
2489
|
-
* @returns EmptyEnvelope OK
|
|
2490
|
-
* @throws ApiError
|
|
2491
|
-
*/
|
|
2492
|
-
static createTenantAsync(xApiVersion, requestBody) {
|
|
2493
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2494
|
-
method: 'POST',
|
|
2495
|
-
url: '/api/v2/Tenants',
|
|
2496
|
-
headers: {
|
|
2497
|
-
'x-api-version': xApiVersion,
|
|
2498
|
-
},
|
|
2499
|
-
body: requestBody,
|
|
2500
|
-
mediaType: 'application/json',
|
|
2501
|
-
errors: {
|
|
2502
|
-
401: `Unauthorized`,
|
|
2503
|
-
403: `Forbidden`,
|
|
2504
|
-
},
|
|
2505
|
-
});
|
|
2506
|
-
}
|
|
2507
|
-
/**
|
|
2508
|
-
* Delete a tenant
|
|
2509
|
-
* Delete a business tenant
|
|
2510
|
-
* @param tenantId
|
|
2511
|
-
* @param xApiVersion
|
|
2512
|
-
* @returns EmptyEnvelope OK
|
|
2513
|
-
* @throws ApiError
|
|
2514
|
-
*/
|
|
2515
|
-
static deleteTenantAsync(tenantId, xApiVersion) {
|
|
2516
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2517
|
-
method: 'DELETE',
|
|
2518
|
-
url: '/api/v2/Tenants',
|
|
2519
|
-
headers: {
|
|
2520
|
-
'x-api-version': xApiVersion,
|
|
2521
|
-
},
|
|
2522
|
-
query: {
|
|
2523
|
-
'tenantId': tenantId,
|
|
2524
|
-
},
|
|
2525
|
-
errors: {
|
|
2526
|
-
401: `Unauthorized`,
|
|
2527
|
-
403: `Forbidden`,
|
|
2528
|
-
},
|
|
2529
|
-
});
|
|
2530
|
-
}
|
|
2531
|
-
/**
|
|
2532
|
-
* Select a business tenant as the user's default tenant
|
|
2533
|
-
* Select a business tenant as the user's default tenant
|
|
2534
|
-
* @param tenantId
|
|
2535
|
-
* @param xApiVersion
|
|
2536
|
-
* @returns EmptyEnvelope OK
|
|
2537
|
-
* @throws ApiError
|
|
2538
|
-
*/
|
|
2539
|
-
static selectTenantAsync(tenantId, xApiVersion) {
|
|
2540
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2541
|
-
method: 'GET',
|
|
2542
|
-
url: '/api/v2/Tenants/{tenantId}/Select',
|
|
2543
|
-
path: {
|
|
2544
|
-
'tenantId': tenantId,
|
|
2545
|
-
},
|
|
2546
|
-
headers: {
|
|
2547
|
-
'x-api-version': xApiVersion,
|
|
2548
|
-
},
|
|
2549
|
-
errors: {
|
|
2550
|
-
401: `Unauthorized`,
|
|
2551
|
-
403: `Forbidden`,
|
|
2552
|
-
},
|
|
2553
|
-
});
|
|
2554
|
-
}
|
|
2555
|
-
/**
|
|
2556
|
-
* Select a business tenant as the user's default tenant
|
|
2557
|
-
* Select a business tenant as the user's default tenant
|
|
2558
|
-
* @param tenantId
|
|
2559
|
-
* @param xApiVersion
|
|
2560
|
-
* @returns EmptyEnvelope OK
|
|
2561
|
-
* @throws ApiError
|
|
2562
|
-
*/
|
|
2563
|
-
static selectTenantAsync1(tenantId, xApiVersion) {
|
|
2564
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2565
|
-
method: 'POST',
|
|
2566
|
-
url: '/api/v2/Tenants/{tenantId}/Select',
|
|
2567
|
-
path: {
|
|
2568
|
-
'tenantId': tenantId,
|
|
2569
|
-
},
|
|
2570
|
-
headers: {
|
|
2571
|
-
'x-api-version': xApiVersion,
|
|
2572
|
-
},
|
|
2573
|
-
errors: {
|
|
2574
|
-
401: `Unauthorized`,
|
|
2575
|
-
403: `Forbidden`,
|
|
2576
|
-
},
|
|
2577
|
-
});
|
|
2578
|
-
}
|
|
2579
|
-
/**
|
|
2580
|
-
* Deselect the user's default tenant
|
|
2581
|
-
* Deselect the user's default tenant
|
|
2582
|
-
* @param xApiVersion
|
|
2583
|
-
* @returns EmptyEnvelope OK
|
|
2584
|
-
* @throws ApiError
|
|
2585
|
-
*/
|
|
2586
|
-
static deSelectTenantAsync(xApiVersion) {
|
|
2587
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2588
|
-
method: 'GET',
|
|
2589
|
-
url: '/api/v2/Tenants/Deselect',
|
|
2590
|
-
headers: {
|
|
2591
|
-
'x-api-version': xApiVersion,
|
|
2592
|
-
},
|
|
2593
|
-
errors: {
|
|
2594
|
-
401: `Unauthorized`,
|
|
2595
|
-
403: `Forbidden`,
|
|
2596
|
-
},
|
|
2597
|
-
});
|
|
2598
|
-
}
|
|
2599
|
-
/**
|
|
2600
|
-
* Deselect the user's default tenant
|
|
2601
|
-
* Deselect the user's default tenant
|
|
2602
|
-
* @param xApiVersion
|
|
2603
|
-
* @returns EmptyEnvelope OK
|
|
2604
|
-
* @throws ApiError
|
|
2605
|
-
*/
|
|
2606
|
-
static deSelectTenantAsync1(xApiVersion) {
|
|
2607
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2608
|
-
method: 'POST',
|
|
2609
|
-
url: '/api/v2/Tenants/Deselect',
|
|
2610
|
-
headers: {
|
|
2611
|
-
'x-api-version': xApiVersion,
|
|
2612
|
-
},
|
|
2613
|
-
errors: {
|
|
2614
|
-
401: `Unauthorized`,
|
|
2615
|
-
403: `Forbidden`,
|
|
2616
|
-
},
|
|
2617
|
-
});
|
|
2618
|
-
}
|
|
2619
|
-
/**
|
|
2620
|
-
* Get the list of web portals for a tenant
|
|
2621
|
-
* Get the list of web portals for a tenant
|
|
2622
|
-
* @param tenantId
|
|
2623
|
-
* @param xApiVersion
|
|
2624
|
-
* @returns WebPortalDtoListEnvelope OK
|
|
2625
|
-
* @throws ApiError
|
|
2626
|
-
*/
|
|
2627
|
-
static getTenantWebPortalsAsync(tenantId, xApiVersion) {
|
|
2628
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2629
|
-
method: 'GET',
|
|
2630
|
-
url: '/api/v2/Tenants/{tenantId}/WebPortals',
|
|
2631
|
-
path: {
|
|
2632
|
-
'tenantId': tenantId,
|
|
2633
|
-
},
|
|
2634
|
-
headers: {
|
|
2635
|
-
'x-api-version': xApiVersion,
|
|
2636
|
-
},
|
|
2637
|
-
errors: {
|
|
2638
|
-
401: `Unauthorized`,
|
|
2639
|
-
403: `Forbidden`,
|
|
2640
|
-
},
|
|
2641
|
-
});
|
|
2642
|
-
}
|
|
2643
|
-
/**
|
|
2644
|
-
* Get the list of notifications for a tenant
|
|
2645
|
-
* Get the list of notifications for a tenant
|
|
2646
|
-
* @param tenantId
|
|
2647
|
-
* @param xApiVersion
|
|
2648
|
-
* @returns NotificationDtoListEnvelope OK
|
|
2649
|
-
* @throws ApiError
|
|
2650
|
-
*/
|
|
2651
|
-
static getTenantNotificationsAsync(tenantId, xApiVersion) {
|
|
2652
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2653
|
-
method: 'GET',
|
|
2654
|
-
url: '/api/v2/Tenants/{tenantId}/Notifications',
|
|
2655
|
-
path: {
|
|
2656
|
-
'tenantId': tenantId,
|
|
2657
|
-
},
|
|
2658
|
-
headers: {
|
|
2659
|
-
'x-api-version': xApiVersion,
|
|
2660
|
-
},
|
|
2661
|
-
errors: {
|
|
2662
|
-
401: `Unauthorized`,
|
|
2663
|
-
403: `Forbidden`,
|
|
2664
|
-
},
|
|
2665
|
-
});
|
|
2666
|
-
}
|
|
2667
|
-
/**
|
|
2668
|
-
* Get the count of notifications for a tenant
|
|
2669
|
-
* Get the count of notifications for a tenant
|
|
2670
|
-
* @param tenantId
|
|
2671
|
-
* @param xApiVersion
|
|
2672
|
-
* @returns Int32Envelope OK
|
|
2673
|
-
* @throws ApiError
|
|
2674
|
-
*/
|
|
2675
|
-
static getTenantNotificationsCountAsync(tenantId, xApiVersion) {
|
|
2676
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2677
|
-
method: 'GET',
|
|
2678
|
-
url: '/api/v2/Tenants/{tenantId}/Notifications/Count',
|
|
2679
|
-
path: {
|
|
2680
|
-
'tenantId': tenantId,
|
|
2681
|
-
},
|
|
2682
|
-
headers: {
|
|
2683
|
-
'x-api-version': xApiVersion,
|
|
2684
|
-
},
|
|
2685
|
-
errors: {
|
|
2686
|
-
401: `Unauthorized`,
|
|
2687
|
-
403: `Forbidden`,
|
|
2688
|
-
},
|
|
2689
|
-
});
|
|
2690
|
-
}
|
|
2691
|
-
/**
|
|
2692
|
-
* Create a new tenant territory
|
|
2693
|
-
* Create a new tenant territory
|
|
2694
|
-
* @param tenantId
|
|
2695
|
-
* @param xApiVersion
|
|
2696
|
-
* @param requestBody
|
|
2697
|
-
* @returns EmptyEnvelope Created
|
|
2698
|
-
* @throws ApiError
|
|
2699
|
-
*/
|
|
2700
|
-
static createTenantTerritoryAsync(tenantId, xApiVersion, requestBody) {
|
|
2701
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2702
|
-
method: 'POST',
|
|
2703
|
-
url: '/api/v2/Territories',
|
|
2704
|
-
headers: {
|
|
2705
|
-
'x-api-version': xApiVersion,
|
|
2706
|
-
},
|
|
2707
|
-
query: {
|
|
2708
|
-
'tenantId': tenantId,
|
|
2709
|
-
},
|
|
2710
|
-
body: requestBody,
|
|
2711
|
-
mediaType: 'application/json',
|
|
2712
|
-
errors: {
|
|
2713
|
-
401: `Unauthorized`,
|
|
2714
|
-
403: `Forbidden`,
|
|
2715
|
-
},
|
|
2716
|
-
});
|
|
2717
|
-
}
|
|
2718
|
-
/**
|
|
2719
|
-
* Retrieve a list of tenant territories for a specific tenant
|
|
2720
|
-
* Retrieve a list of tenant territories for a specific tenant
|
|
2721
|
-
* @param tenantId
|
|
2722
|
-
* @param xApiVersion
|
|
2723
|
-
* @returns TenantTerritoryDtoListEnvelope OK
|
|
2724
|
-
* @throws ApiError
|
|
2725
|
-
*/
|
|
2726
|
-
static getTenantTerritoriesAsync(tenantId, xApiVersion) {
|
|
2727
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2728
|
-
method: 'GET',
|
|
2729
|
-
url: '/api/v2/Territories',
|
|
2730
|
-
headers: {
|
|
2731
|
-
'x-api-version': xApiVersion,
|
|
2732
|
-
},
|
|
2733
|
-
query: {
|
|
2734
|
-
'tenantId': tenantId,
|
|
2735
|
-
},
|
|
2736
|
-
errors: {
|
|
2737
|
-
401: `Unauthorized`,
|
|
2738
|
-
403: `Forbidden`,
|
|
2739
|
-
},
|
|
2740
|
-
});
|
|
2741
|
-
}
|
|
2742
|
-
/**
|
|
2743
|
-
* Retrieve a single tenant territory by its ID
|
|
2744
|
-
* Retrieve a single tenant territory by its ID
|
|
2745
|
-
* @param tenantTerritoryId
|
|
2746
|
-
* @param xApiVersion
|
|
2747
|
-
* @returns TenantTerritoryDtoEnvelope OK
|
|
2748
|
-
* @throws ApiError
|
|
2749
|
-
*/
|
|
2750
|
-
static getTenantTerritoryByIdAsync(tenantTerritoryId, xApiVersion) {
|
|
2751
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2752
|
-
method: 'GET',
|
|
2753
|
-
url: '/api/v2/Territories/{tenantTerritoryId}',
|
|
2754
|
-
path: {
|
|
2755
|
-
'tenantTerritoryId': tenantTerritoryId,
|
|
2756
|
-
},
|
|
2757
|
-
headers: {
|
|
2758
|
-
'x-api-version': xApiVersion,
|
|
2759
|
-
},
|
|
2760
|
-
errors: {
|
|
2761
|
-
401: `Unauthorized`,
|
|
2762
|
-
403: `Forbidden`,
|
|
2763
|
-
},
|
|
2764
|
-
});
|
|
2765
|
-
}
|
|
2766
|
-
/**
|
|
2767
|
-
* Partially update a tenant territory
|
|
2768
|
-
* Partially update a tenant territory
|
|
2769
|
-
* @param tenantId
|
|
2770
|
-
* @param tenantTerritoryId
|
|
2771
|
-
* @param xApiVersion
|
|
2772
|
-
* @param requestBody
|
|
2773
|
-
* @returns EmptyEnvelope OK
|
|
2774
|
-
* @throws ApiError
|
|
2775
|
-
*/
|
|
2776
|
-
static patchTenantTerritoryAsync(tenantId, tenantTerritoryId, xApiVersion, requestBody) {
|
|
2777
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2778
|
-
method: 'PATCH',
|
|
2779
|
-
url: '/api/v2/Territories/{tenantTerritoryId}',
|
|
2780
|
-
path: {
|
|
2781
|
-
'tenantTerritoryId': tenantTerritoryId,
|
|
2782
|
-
},
|
|
2783
|
-
headers: {
|
|
2784
|
-
'x-api-version': xApiVersion,
|
|
2785
|
-
},
|
|
2786
|
-
query: {
|
|
2787
|
-
'tenantId': tenantId,
|
|
2788
|
-
},
|
|
2789
|
-
body: requestBody,
|
|
2790
|
-
mediaType: 'application/json',
|
|
2791
|
-
errors: {
|
|
2792
|
-
401: `Unauthorized`,
|
|
2793
|
-
403: `Forbidden`,
|
|
2794
|
-
},
|
|
2795
|
-
});
|
|
2796
|
-
}
|
|
2797
|
-
/**
|
|
2798
|
-
* Update a tenant territory
|
|
2799
|
-
* Update a tenant territory
|
|
2800
|
-
* @param tenantId
|
|
2801
|
-
* @param tenantTerritoryId
|
|
2802
|
-
* @param xApiVersion
|
|
2803
|
-
* @param requestBody
|
|
2804
|
-
* @returns EmptyEnvelope OK
|
|
2805
|
-
* @throws ApiError
|
|
2806
|
-
*/
|
|
2807
|
-
static putTenantTerritoryAsync(tenantId, tenantTerritoryId, xApiVersion, requestBody) {
|
|
2808
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2809
|
-
method: 'PUT',
|
|
2810
|
-
url: '/api/v2/Territories/{tenantTerritoryId}',
|
|
2811
|
-
path: {
|
|
2812
|
-
'tenantTerritoryId': tenantTerritoryId,
|
|
2813
|
-
},
|
|
2814
|
-
headers: {
|
|
2815
|
-
'x-api-version': xApiVersion,
|
|
2816
|
-
},
|
|
2817
|
-
query: {
|
|
2818
|
-
'tenantId': tenantId,
|
|
2819
|
-
},
|
|
2820
|
-
body: requestBody,
|
|
2821
|
-
mediaType: 'application/json',
|
|
2822
|
-
errors: {
|
|
2823
|
-
401: `Unauthorized`,
|
|
2824
|
-
403: `Forbidden`,
|
|
2825
|
-
},
|
|
2826
|
-
});
|
|
2827
|
-
}
|
|
2828
|
-
/**
|
|
2829
|
-
* Delete a tenant territory
|
|
2830
|
-
* Delete a tenant territory
|
|
2831
|
-
* @param tenantId
|
|
2832
|
-
* @param tenantTerritoryId
|
|
2833
|
-
* @param xApiVersion
|
|
2834
|
-
* @returns EmptyEnvelope OK
|
|
2835
|
-
* @throws ApiError
|
|
2836
|
-
*/
|
|
2837
|
-
static deleteTenantTerritoryAsync(tenantId, tenantTerritoryId, xApiVersion) {
|
|
2838
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2839
|
-
method: 'DELETE',
|
|
2840
|
-
url: '/api/v2/Territories/{tenantTerritoryId}',
|
|
2841
|
-
path: {
|
|
2842
|
-
'tenantTerritoryId': tenantTerritoryId,
|
|
2843
|
-
},
|
|
2844
|
-
headers: {
|
|
2845
|
-
'x-api-version': xApiVersion,
|
|
2846
|
-
},
|
|
2847
|
-
query: {
|
|
2848
|
-
'tenantId': tenantId,
|
|
2849
|
-
},
|
|
2850
|
-
errors: {
|
|
2851
|
-
401: `Unauthorized`,
|
|
2852
|
-
403: `Forbidden`,
|
|
2853
|
-
},
|
|
2854
|
-
});
|
|
2855
|
-
}
|
|
2856
|
-
/**
|
|
2857
|
-
* Create a new tenant type
|
|
2858
|
-
* Create a new tenant type
|
|
2859
|
-
* @param tenantId
|
|
2860
|
-
* @param xApiVersion
|
|
2861
|
-
* @param requestBody
|
|
2862
|
-
* @returns TenantTypeDtoEnvelope Created
|
|
2863
|
-
* @throws ApiError
|
|
2864
|
-
*/
|
|
2865
|
-
static createTenantTypeAsync(tenantId, xApiVersion, requestBody) {
|
|
2866
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2867
|
-
method: 'POST',
|
|
2868
|
-
url: '/api/v2/Types',
|
|
2869
|
-
headers: {
|
|
2870
|
-
'x-api-version': xApiVersion,
|
|
2871
|
-
},
|
|
2872
|
-
query: {
|
|
2873
|
-
'tenantId': tenantId,
|
|
2874
|
-
},
|
|
2875
|
-
body: requestBody,
|
|
2876
|
-
mediaType: 'application/json',
|
|
2877
|
-
errors: {
|
|
2878
|
-
401: `Unauthorized`,
|
|
2879
|
-
403: `Forbidden`,
|
|
2880
|
-
},
|
|
2881
|
-
});
|
|
2882
|
-
}
|
|
2883
|
-
/**
|
|
2884
|
-
* Retrieve a list of tenant types for a specific tenant
|
|
2885
|
-
* Retrieve a list of tenant types for a specific tenant
|
|
2886
|
-
* @param tenantId
|
|
2887
|
-
* @param xApiVersion
|
|
2888
|
-
* @returns TenantTypeDtoListEnvelope OK
|
|
2889
|
-
* @throws ApiError
|
|
2890
|
-
*/
|
|
2891
|
-
static getTenantTypesAsync(tenantId, xApiVersion) {
|
|
2892
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2893
|
-
method: 'GET',
|
|
2894
|
-
url: '/api/v2/Types',
|
|
2895
|
-
headers: {
|
|
2896
|
-
'x-api-version': xApiVersion,
|
|
2897
|
-
},
|
|
2898
|
-
query: {
|
|
2899
|
-
'tenantId': tenantId,
|
|
2900
|
-
},
|
|
2901
|
-
errors: {
|
|
2902
|
-
401: `Unauthorized`,
|
|
2903
|
-
403: `Forbidden`,
|
|
2904
|
-
},
|
|
2905
|
-
});
|
|
2906
|
-
}
|
|
2907
|
-
/**
|
|
2908
|
-
* Retrieve a single tenant type by its ID
|
|
2909
|
-
* Retrieve a single tenant type by its ID
|
|
2910
|
-
* @param tenantTypeId
|
|
2911
|
-
* @param xApiVersion
|
|
2912
|
-
* @returns TenantTypeDtoEnvelope OK
|
|
2913
|
-
* @throws ApiError
|
|
2914
|
-
*/
|
|
2915
|
-
static getTenantTypeByIdAsync(tenantTypeId, xApiVersion) {
|
|
2916
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2917
|
-
method: 'GET',
|
|
2918
|
-
url: '/api/v2/Types/{tenantTypeId}',
|
|
2919
|
-
path: {
|
|
2920
|
-
'tenantTypeId': tenantTypeId,
|
|
2921
|
-
},
|
|
2922
|
-
headers: {
|
|
2923
|
-
'x-api-version': xApiVersion,
|
|
2924
|
-
},
|
|
2925
|
-
errors: {
|
|
2926
|
-
401: `Unauthorized`,
|
|
2927
|
-
403: `Forbidden`,
|
|
2928
|
-
},
|
|
2929
|
-
});
|
|
2930
|
-
}
|
|
2931
|
-
/**
|
|
2932
|
-
* Partially updates a tenant type by its ID
|
|
2933
|
-
* Partially updates a tenant type by its ID
|
|
2934
|
-
* @param tenantTypeId
|
|
2935
|
-
* @param xApiVersion
|
|
2936
|
-
* @param requestBody
|
|
2937
|
-
* @returns TenantTypeDtoEnvelope OK
|
|
2938
|
-
* @throws ApiError
|
|
2939
|
-
*/
|
|
2940
|
-
static patchTenantTypeAsync(tenantTypeId, xApiVersion, requestBody) {
|
|
2941
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2942
|
-
method: 'PATCH',
|
|
2943
|
-
url: '/api/v2/Types/{tenantTypeId}',
|
|
2944
|
-
path: {
|
|
2945
|
-
'tenantTypeId': tenantTypeId,
|
|
2946
|
-
},
|
|
2947
|
-
headers: {
|
|
2948
|
-
'x-api-version': xApiVersion,
|
|
2949
|
-
},
|
|
2950
|
-
body: requestBody,
|
|
2951
|
-
mediaType: 'application/json',
|
|
2952
|
-
errors: {
|
|
2953
|
-
401: `Unauthorized`,
|
|
2954
|
-
403: `Forbidden`,
|
|
2955
|
-
},
|
|
2956
|
-
});
|
|
2957
|
-
}
|
|
2958
|
-
/**
|
|
2959
|
-
* Delete a tenant type by its ID
|
|
2960
|
-
* Delete a tenant type by its ID
|
|
2961
|
-
* @param tenantTypeId
|
|
2962
|
-
* @param xApiVersion
|
|
2963
|
-
* @returns TenantTypeDtoEnvelope OK
|
|
2964
|
-
* @throws ApiError
|
|
2965
|
-
*/
|
|
2966
|
-
static deleteTenantTypeAsync(tenantTypeId, xApiVersion) {
|
|
2967
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2968
|
-
method: 'DELETE',
|
|
2969
|
-
url: '/api/v2/Types/{tenantTypeId}',
|
|
2970
|
-
path: {
|
|
2971
|
-
'tenantTypeId': tenantTypeId,
|
|
2972
|
-
},
|
|
2973
|
-
headers: {
|
|
2974
|
-
'x-api-version': xApiVersion,
|
|
2975
|
-
},
|
|
2976
|
-
errors: {
|
|
2977
|
-
401: `Unauthorized`,
|
|
2978
|
-
403: `Forbidden`,
|
|
2979
|
-
},
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
/**
|
|
2983
|
-
* Updates a tenant type
|
|
2984
|
-
* Updates a tenant type and returns an envelope
|
|
2985
|
-
* @param tenantTypeId
|
|
2986
|
-
* @param xApiVersion
|
|
2987
|
-
* @param requestBody
|
|
2988
|
-
* @returns TenantTypeDtoEnvelope OK
|
|
2989
|
-
* @throws ApiError
|
|
2990
|
-
*/
|
|
2991
|
-
static updateTenantTypeAsync(tenantTypeId, xApiVersion, requestBody) {
|
|
2992
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
2993
|
-
method: 'PUT',
|
|
2994
|
-
url: '/api/v2/Types/{tenantTypeId}',
|
|
2995
|
-
path: {
|
|
2996
|
-
'tenantTypeId': tenantTypeId,
|
|
2997
|
-
},
|
|
2998
|
-
headers: {
|
|
2999
|
-
'x-api-version': xApiVersion,
|
|
3000
|
-
},
|
|
3001
|
-
body: requestBody,
|
|
3002
|
-
mediaType: 'application/json',
|
|
3003
|
-
errors: {
|
|
3004
|
-
401: `Unauthorized`,
|
|
3005
|
-
403: `Forbidden`,
|
|
3006
|
-
},
|
|
3007
|
-
});
|
|
3008
|
-
}
|
|
3009
|
-
/**
|
|
3010
|
-
* Create a new tenant unit
|
|
3011
|
-
* Create a new tenant unit
|
|
3012
|
-
* @param tenantId
|
|
3013
|
-
* @param xApiVersion
|
|
3014
|
-
* @param requestBody
|
|
3015
|
-
* @returns EmptyEnvelope Created
|
|
3016
|
-
* @throws ApiError
|
|
3017
|
-
*/
|
|
3018
|
-
static createTenantUnitAsync(tenantId, xApiVersion, requestBody) {
|
|
3019
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3020
|
-
method: 'POST',
|
|
3021
|
-
url: '/api/v2/Units',
|
|
3022
|
-
headers: {
|
|
3023
|
-
'x-api-version': xApiVersion,
|
|
3024
|
-
},
|
|
3025
|
-
query: {
|
|
3026
|
-
'tenantId': tenantId,
|
|
3027
|
-
},
|
|
3028
|
-
body: requestBody,
|
|
3029
|
-
mediaType: 'application/json',
|
|
3030
|
-
errors: {
|
|
3031
|
-
401: `Unauthorized`,
|
|
3032
|
-
403: `Forbidden`,
|
|
3033
|
-
},
|
|
3034
|
-
});
|
|
3035
|
-
}
|
|
3036
|
-
/**
|
|
3037
|
-
* Get list of tenant units related to a tenant
|
|
3038
|
-
* Get list of tenant units related to a tenant
|
|
3039
|
-
* @param tenantId
|
|
3040
|
-
* @param xApiVersion
|
|
3041
|
-
* @returns TenantUnitDtoListEnvelope OK
|
|
3042
|
-
* @throws ApiError
|
|
3043
|
-
*/
|
|
3044
|
-
static getTenantUnitsAsync(tenantId, xApiVersion) {
|
|
3045
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3046
|
-
method: 'GET',
|
|
3047
|
-
url: '/api/v2/Units',
|
|
3048
|
-
headers: {
|
|
3049
|
-
'x-api-version': xApiVersion,
|
|
3050
|
-
},
|
|
3051
|
-
query: {
|
|
3052
|
-
'tenantId': tenantId,
|
|
3053
|
-
},
|
|
3054
|
-
errors: {
|
|
3055
|
-
401: `Unauthorized`,
|
|
3056
|
-
403: `Forbidden`,
|
|
3057
|
-
},
|
|
3058
|
-
});
|
|
3059
|
-
}
|
|
3060
|
-
/**
|
|
3061
|
-
* Partially updates a tenant unit
|
|
3062
|
-
* Partially updates a tenant unit
|
|
3063
|
-
* @param tenantId
|
|
3064
|
-
* @param tenantUnitId
|
|
3065
|
-
* @param xApiVersion
|
|
3066
|
-
* @param requestBody
|
|
3067
|
-
* @returns EmptyEnvelope OK
|
|
3068
|
-
* @throws ApiError
|
|
3069
|
-
*/
|
|
3070
|
-
static patchTenantUnitAsync(tenantId, tenantUnitId, xApiVersion, requestBody) {
|
|
3071
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3072
|
-
method: 'PATCH',
|
|
3073
|
-
url: '/api/v2/Units',
|
|
3074
|
-
headers: {
|
|
3075
|
-
'x-api-version': xApiVersion,
|
|
3076
|
-
},
|
|
3077
|
-
query: {
|
|
3078
|
-
'tenantId': tenantId,
|
|
3079
|
-
'tenantUnitId': tenantUnitId,
|
|
3080
|
-
},
|
|
3081
|
-
body: requestBody,
|
|
3082
|
-
mediaType: 'application/json',
|
|
3083
|
-
errors: {
|
|
3084
|
-
401: `Unauthorized`,
|
|
3085
|
-
403: `Forbidden`,
|
|
3086
|
-
},
|
|
3087
|
-
});
|
|
3088
|
-
}
|
|
3089
|
-
/**
|
|
3090
|
-
* Get single tenant unit by ID
|
|
3091
|
-
* Get single tenant unit by ID
|
|
3092
|
-
* @param tenantUnitId
|
|
3093
|
-
* @param xApiVersion
|
|
3094
|
-
* @returns TenantUnitDtoEnvelope OK
|
|
3095
|
-
* @throws ApiError
|
|
3096
|
-
*/
|
|
3097
|
-
static getTenantUnitByIdAsync(tenantUnitId, xApiVersion) {
|
|
3098
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3099
|
-
method: 'GET',
|
|
3100
|
-
url: '/api/v2/Units/{tenantUnitId}',
|
|
3101
|
-
path: {
|
|
3102
|
-
'tenantUnitId': tenantUnitId,
|
|
3103
|
-
},
|
|
3104
|
-
headers: {
|
|
3105
|
-
'x-api-version': xApiVersion,
|
|
3106
|
-
},
|
|
3107
|
-
errors: {
|
|
3108
|
-
401: `Unauthorized`,
|
|
3109
|
-
403: `Forbidden`,
|
|
3110
|
-
},
|
|
3111
|
-
});
|
|
3112
|
-
}
|
|
3113
|
-
/**
|
|
3114
|
-
* Update tenant unit details
|
|
3115
|
-
* Update tenant unit details
|
|
3116
|
-
* @param tenantId
|
|
3117
|
-
* @param tenantUnitId
|
|
3118
|
-
* @param xApiVersion
|
|
3119
|
-
* @param requestBody
|
|
3120
|
-
* @returns EmptyEnvelope OK
|
|
3121
|
-
* @throws ApiError
|
|
3122
|
-
*/
|
|
3123
|
-
static putTenantUnitAsync(tenantId, tenantUnitId, xApiVersion, requestBody) {
|
|
3124
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3125
|
-
method: 'PUT',
|
|
3126
|
-
url: '/api/v2/Units/{tenantUnitId}',
|
|
3127
|
-
path: {
|
|
3128
|
-
'tenantUnitId': tenantUnitId,
|
|
3129
|
-
},
|
|
3130
|
-
headers: {
|
|
3131
|
-
'x-api-version': xApiVersion,
|
|
3132
|
-
},
|
|
3133
|
-
query: {
|
|
3134
|
-
'tenantId': tenantId,
|
|
3135
|
-
},
|
|
3136
|
-
body: requestBody,
|
|
3137
|
-
mediaType: 'application/json',
|
|
3138
|
-
errors: {
|
|
3139
|
-
401: `Unauthorized`,
|
|
3140
|
-
403: `Forbidden`,
|
|
3141
|
-
},
|
|
3142
|
-
});
|
|
3143
|
-
}
|
|
3144
|
-
/**
|
|
3145
|
-
* Delete tenant unit by ID
|
|
3146
|
-
* Delete tenant unit by ID
|
|
3147
|
-
* @param tenantId
|
|
3148
|
-
* @param tenantUnitId
|
|
3149
|
-
* @param xApiVersion
|
|
3150
|
-
* @returns EmptyEnvelope OK
|
|
3151
|
-
* @throws ApiError
|
|
3152
|
-
*/
|
|
3153
|
-
static deleteTenantUnitAsync(tenantId, tenantUnitId, xApiVersion) {
|
|
3154
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
3155
|
-
method: 'DELETE',
|
|
3156
|
-
url: '/api/v2/Units/{tenantUnitId}',
|
|
3157
|
-
path: {
|
|
3158
|
-
'tenantUnitId': tenantUnitId,
|
|
3159
|
-
},
|
|
3160
|
-
headers: {
|
|
3161
|
-
'x-api-version': xApiVersion,
|
|
3162
|
-
},
|
|
3163
|
-
query: {
|
|
3164
|
-
'tenantId': tenantId,
|
|
3165
|
-
},
|
|
3166
|
-
errors: {
|
|
3167
|
-
401: `Unauthorized`,
|
|
3168
|
-
403: `Forbidden`,
|
|
3169
|
-
},
|
|
3170
|
-
});
|
|
3171
|
-
}
|
|
3172
|
-
}
|
|
3173
|
-
exports.TenantsService = TenantsService;
|