@dangl/avacloud-client-node 1.45.0-beta0010-avacloud-preview → 1.46.0-beta0013-avacloud-preview
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/.swagger-codegen/VERSION +1 -1
- package/api.d.ts +48 -2
- package/api.js +131 -5
- package/api.js.map +1 -1
- package/api.ts +147 -2
- package/package.json +1 -1
package/.swagger-codegen/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.37
|
package/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.46.0-beta0013
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.46.0-beta0013
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -311,6 +311,22 @@ export declare class CatalogueTypeDto {
|
|
|
311
311
|
type: string;
|
|
312
312
|
}[];
|
|
313
313
|
}
|
|
314
|
+
export declare class ClaimGet {
|
|
315
|
+
'issuer'?: string;
|
|
316
|
+
'type'?: string;
|
|
317
|
+
'value'?: string;
|
|
318
|
+
static discriminator: string | undefined;
|
|
319
|
+
static attributeTypeMap: Array<{
|
|
320
|
+
name: string;
|
|
321
|
+
baseName: string;
|
|
322
|
+
type: string;
|
|
323
|
+
}>;
|
|
324
|
+
static getAttributeTypeMap(): {
|
|
325
|
+
name: string;
|
|
326
|
+
baseName: string;
|
|
327
|
+
type: string;
|
|
328
|
+
}[];
|
|
329
|
+
}
|
|
314
330
|
/**
|
|
315
331
|
* Indicates if this service specification item is commissioned (and therefore should be executed), postponed for later or undefined.
|
|
316
332
|
*/
|
|
@@ -2888,6 +2904,28 @@ export declare class UglDestinationVersion {
|
|
|
2888
2904
|
type: string;
|
|
2889
2905
|
}[];
|
|
2890
2906
|
}
|
|
2907
|
+
export declare class UserInfoGet {
|
|
2908
|
+
'userIsAuthenticated': boolean;
|
|
2909
|
+
'clientIsAuthenticated': boolean;
|
|
2910
|
+
'currentUserId'?: string;
|
|
2911
|
+
'currentUserIdenticonId'?: string;
|
|
2912
|
+
'currentUserName'?: string;
|
|
2913
|
+
'currentUserEmail'?: string;
|
|
2914
|
+
'currentClientId'?: string;
|
|
2915
|
+
'userClaims'?: Array<ClaimGet>;
|
|
2916
|
+
'clientClaims'?: Array<ClaimGet>;
|
|
2917
|
+
static discriminator: string | undefined;
|
|
2918
|
+
static attributeTypeMap: Array<{
|
|
2919
|
+
name: string;
|
|
2920
|
+
baseName: string;
|
|
2921
|
+
type: string;
|
|
2922
|
+
}>;
|
|
2923
|
+
static getAttributeTypeMap(): {
|
|
2924
|
+
name: string;
|
|
2925
|
+
baseName: string;
|
|
2926
|
+
type: string;
|
|
2927
|
+
}[];
|
|
2928
|
+
}
|
|
2891
2929
|
/**
|
|
2892
2930
|
* This class models the results of a single check performed during a validation action
|
|
2893
2931
|
*/
|
|
@@ -3479,6 +3517,14 @@ export declare class DanglIdentityApi {
|
|
|
3479
3517
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3480
3518
|
setApiKey(key: DanglIdentityApiApiKeys, value: string): void;
|
|
3481
3519
|
set accessToken(token: string);
|
|
3520
|
+
/**
|
|
3521
|
+
*
|
|
3522
|
+
* @param {*} [options] Override http request options.
|
|
3523
|
+
*/
|
|
3524
|
+
danglIdentityGetUserInfo(options?: any): Promise<{
|
|
3525
|
+
response: http.IncomingMessage;
|
|
3526
|
+
body: UserInfoGet;
|
|
3527
|
+
}>;
|
|
3482
3528
|
/**
|
|
3483
3529
|
*
|
|
3484
3530
|
* @param model
|
package/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* AVACloud API 1.
|
|
3
|
+
* AVACloud API 1.46.0-beta0013
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.46.0-beta0013
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.ValidationApi = exports.ValidationApiApiKeys = exports.UglConversionApi = exports.UglConversionApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.IdsConnectConversionApi = exports.IdsConnectConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DatanormConversionApi = exports.DatanormConversionApiApiKeys = void 0;
|
|
14
|
+
exports.PositionHoldOutPropertiesDto = exports.PositionDto = exports.PositionComplementingTypeDto = exports.PartyInformationDto = exports.OriginDto = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.ObjectValidationCheckDetails = exports.NoteTextDto = exports.LoginPost = exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.IdsConnectVersion = exports.HttpStatusCode = exports.HoldOutTypeDto = exports.HoldOutDurationUnitDto = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.FileValidationSourceType = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.DatanormDestinationVersion = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.CommerceInquiryTypeDto = exports.ComissionStatusDto = exports.ClaimGet = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
|
|
15
|
+
exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.UserInfoGet = exports.UglDestinationVersion = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = exports.SiaDestinationType = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.ServiceSpecificationCommercePropertiesDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.QuantityAssignmentDto = exports.ProjectValidationCheckDetails = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PriceCatalogueDataDto = exports.PostOenormDestinationOptions = exports.PostGaebDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.PositionTypeDto = void 0;
|
|
16
|
+
exports.ValidationApi = exports.ValidationApiApiKeys = exports.UglConversionApi = exports.UglConversionApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.IdsConnectConversionApi = exports.IdsConnectConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DatanormConversionApi = exports.DatanormConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = void 0;
|
|
17
17
|
const localVarRequest = require("request");
|
|
18
18
|
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
19
19
|
// ===============================================
|
|
@@ -428,6 +428,30 @@ class CatalogueTypeDto {
|
|
|
428
428
|
exports.CatalogueTypeDto = CatalogueTypeDto;
|
|
429
429
|
CatalogueTypeDto.discriminator = undefined;
|
|
430
430
|
CatalogueTypeDto.attributeTypeMap = [];
|
|
431
|
+
class ClaimGet {
|
|
432
|
+
static getAttributeTypeMap() {
|
|
433
|
+
return ClaimGet.attributeTypeMap;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
exports.ClaimGet = ClaimGet;
|
|
437
|
+
ClaimGet.discriminator = undefined;
|
|
438
|
+
ClaimGet.attributeTypeMap = [
|
|
439
|
+
{
|
|
440
|
+
"name": "issuer",
|
|
441
|
+
"baseName": "issuer",
|
|
442
|
+
"type": "string"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "type",
|
|
446
|
+
"baseName": "type",
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "value",
|
|
451
|
+
"baseName": "value",
|
|
452
|
+
"type": "string"
|
|
453
|
+
}
|
|
454
|
+
];
|
|
431
455
|
/**
|
|
432
456
|
* Indicates if this service specification item is commissioned (and therefore should be executed), postponed for later or undefined.
|
|
433
457
|
*/
|
|
@@ -3180,6 +3204,60 @@ class UglDestinationVersion {
|
|
|
3180
3204
|
exports.UglDestinationVersion = UglDestinationVersion;
|
|
3181
3205
|
UglDestinationVersion.discriminator = undefined;
|
|
3182
3206
|
UglDestinationVersion.attributeTypeMap = [];
|
|
3207
|
+
class UserInfoGet {
|
|
3208
|
+
static getAttributeTypeMap() {
|
|
3209
|
+
return UserInfoGet.attributeTypeMap;
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
exports.UserInfoGet = UserInfoGet;
|
|
3213
|
+
UserInfoGet.discriminator = undefined;
|
|
3214
|
+
UserInfoGet.attributeTypeMap = [
|
|
3215
|
+
{
|
|
3216
|
+
"name": "userIsAuthenticated",
|
|
3217
|
+
"baseName": "userIsAuthenticated",
|
|
3218
|
+
"type": "boolean"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "clientIsAuthenticated",
|
|
3222
|
+
"baseName": "clientIsAuthenticated",
|
|
3223
|
+
"type": "boolean"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"name": "currentUserId",
|
|
3227
|
+
"baseName": "currentUserId",
|
|
3228
|
+
"type": "string"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"name": "currentUserIdenticonId",
|
|
3232
|
+
"baseName": "currentUserIdenticonId",
|
|
3233
|
+
"type": "string"
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"name": "currentUserName",
|
|
3237
|
+
"baseName": "currentUserName",
|
|
3238
|
+
"type": "string"
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"name": "currentUserEmail",
|
|
3242
|
+
"baseName": "currentUserEmail",
|
|
3243
|
+
"type": "string"
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
"name": "currentClientId",
|
|
3247
|
+
"baseName": "currentClientId",
|
|
3248
|
+
"type": "string"
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"name": "userClaims",
|
|
3252
|
+
"baseName": "userClaims",
|
|
3253
|
+
"type": "Array<ClaimGet>"
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"name": "clientClaims",
|
|
3257
|
+
"baseName": "clientClaims",
|
|
3258
|
+
"type": "Array<ClaimGet>"
|
|
3259
|
+
}
|
|
3260
|
+
];
|
|
3183
3261
|
/**
|
|
3184
3262
|
* This class models the results of a single check performed during a validation action
|
|
3185
3263
|
*/
|
|
@@ -3343,6 +3421,7 @@ let typeMap = {
|
|
|
3343
3421
|
"CatalogueDto": CatalogueDto,
|
|
3344
3422
|
"CatalogueReferenceDto": CatalogueReferenceDto,
|
|
3345
3423
|
"CatalogueTypeDto": CatalogueTypeDto,
|
|
3424
|
+
"ClaimGet": ClaimGet,
|
|
3346
3425
|
"ComissionStatusDto": ComissionStatusDto,
|
|
3347
3426
|
"CommerceInquiryTypeDto": CommerceInquiryTypeDto,
|
|
3348
3427
|
"CommercePropertiesDto": CommercePropertiesDto,
|
|
@@ -3416,6 +3495,7 @@ let typeMap = {
|
|
|
3416
3495
|
"TokenResponseGet": TokenResponseGet,
|
|
3417
3496
|
"TradeDiscountDto": TradeDiscountDto,
|
|
3418
3497
|
"UglDestinationVersion": UglDestinationVersion,
|
|
3498
|
+
"UserInfoGet": UserInfoGet,
|
|
3419
3499
|
"ValidationCheckResult": ValidationCheckResult,
|
|
3420
3500
|
"ValidationCheckType": ValidationCheckType,
|
|
3421
3501
|
"ValidationResult": ValidationResult,
|
|
@@ -4563,6 +4643,52 @@ class DanglIdentityApi {
|
|
|
4563
4643
|
set accessToken(token) {
|
|
4564
4644
|
this.authentications['Dangl.Identity'].accessToken = token;
|
|
4565
4645
|
}
|
|
4646
|
+
/**
|
|
4647
|
+
*
|
|
4648
|
+
* @param {*} [options] Override http request options.
|
|
4649
|
+
*/
|
|
4650
|
+
danglIdentityGetUserInfo(options = {}) {
|
|
4651
|
+
const localVarPath = this.basePath + '/identity/user-info';
|
|
4652
|
+
let localVarQueryParameters = {};
|
|
4653
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
4654
|
+
let localVarFormParams = {};
|
|
4655
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
4656
|
+
let localVarUseFormData = false;
|
|
4657
|
+
let localVarRequestOptions = {
|
|
4658
|
+
method: 'GET',
|
|
4659
|
+
qs: localVarQueryParameters,
|
|
4660
|
+
headers: localVarHeaderParams,
|
|
4661
|
+
uri: localVarPath,
|
|
4662
|
+
useQuerystring: this._useQuerystring,
|
|
4663
|
+
json: true,
|
|
4664
|
+
};
|
|
4665
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
4666
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
4667
|
+
if (Object.keys(localVarFormParams).length) {
|
|
4668
|
+
if (localVarUseFormData) {
|
|
4669
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
4670
|
+
}
|
|
4671
|
+
else {
|
|
4672
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
return new Promise((resolve, reject) => {
|
|
4676
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
4677
|
+
if (error) {
|
|
4678
|
+
reject(error);
|
|
4679
|
+
}
|
|
4680
|
+
else {
|
|
4681
|
+
body = ObjectSerializer.deserialize(body, "UserInfoGet");
|
|
4682
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4683
|
+
resolve({ response: response, body: body });
|
|
4684
|
+
}
|
|
4685
|
+
else {
|
|
4686
|
+
reject({ response: response, body: body });
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4689
|
+
});
|
|
4690
|
+
});
|
|
4691
|
+
}
|
|
4566
4692
|
/**
|
|
4567
4693
|
*
|
|
4568
4694
|
* @param model
|