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