Skip to content

Commit

Permalink
feat: update client all
Browse files Browse the repository at this point in the history
  • Loading branch information
maratsh committed Sep 23, 2024
1 parent 4f327e3 commit 0dbc2ae
Show file tree
Hide file tree
Showing 35 changed files with 145 additions and 253 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,13 @@ class CreateIssuanceConfigInputFormatEnum {

static const ldpVc = CreateIssuanceConfigInputFormatEnum._(r'ldp_vc');
static const jwtVcJsonLd = CreateIssuanceConfigInputFormatEnum._(r'jwt_vc_json-ld');
static const sdJwtVcJsonLd = CreateIssuanceConfigInputFormatEnum._(r'sd_jwt_vc_json-ld');

/// List of all possible values in this [enum][CreateIssuanceConfigInputFormatEnum].
static const values = <CreateIssuanceConfigInputFormatEnum>[
ldpVc,
jwtVcJsonLd,
sdJwtVcJsonLd,
];

static CreateIssuanceConfigInputFormatEnum? fromJson(dynamic value) => CreateIssuanceConfigInputFormatEnumTypeTransformer().decode(value);
Expand Down Expand Up @@ -251,6 +253,7 @@ class CreateIssuanceConfigInputFormatEnumTypeTransformer {
switch (data) {
case r'ldp_vc': return CreateIssuanceConfigInputFormatEnum.ldpVc;
case r'jwt_vc_json-ld': return CreateIssuanceConfigInputFormatEnum.jwtVcJsonLd;
case r'sd_jwt_vc_json-ld': return CreateIssuanceConfigInputFormatEnum.sdJwtVcJsonLd;
default:
if (!allowNull) {
throw ArgumentError('Unknown enum value to decode: $data');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,13 @@ class IssuanceConfigDtoFormatEnum {

static const ldpVc = IssuanceConfigDtoFormatEnum._(r'ldp_vc');
static const jwtVcJsonLd = IssuanceConfigDtoFormatEnum._(r'jwt_vc_json-ld');
static const sdJwtVcJsonLd = IssuanceConfigDtoFormatEnum._(r'sd_jwt_vc_json-ld');

/// List of all possible values in this [enum][IssuanceConfigDtoFormatEnum].
static const values = <IssuanceConfigDtoFormatEnum>[
ldpVc,
jwtVcJsonLd,
sdJwtVcJsonLd,
];

static IssuanceConfigDtoFormatEnum? fromJson(dynamic value) => IssuanceConfigDtoFormatEnumTypeTransformer().decode(value);
Expand Down Expand Up @@ -344,6 +346,7 @@ class IssuanceConfigDtoFormatEnumTypeTransformer {
switch (data) {
case r'ldp_vc': return IssuanceConfigDtoFormatEnum.ldpVc;
case r'jwt_vc_json-ld': return IssuanceConfigDtoFormatEnum.jwtVcJsonLd;
case r'sd_jwt_vc_json-ld': return IssuanceConfigDtoFormatEnum.sdJwtVcJsonLd;
default:
if (!allowNull) {
throw ArgumentError('Unknown enum value to decode: $data');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,13 @@ class IssuanceConfigMiniDtoFormatEnum {

static const ldpVc = IssuanceConfigMiniDtoFormatEnum._(r'ldp_vc');
static const jwtVcJsonLd = IssuanceConfigMiniDtoFormatEnum._(r'jwt_vc_json-ld');
static const sdJwtVcJsonLd = IssuanceConfigMiniDtoFormatEnum._(r'sd_jwt_vc_json-ld');

/// List of all possible values in this [enum][IssuanceConfigMiniDtoFormatEnum].
static const values = <IssuanceConfigMiniDtoFormatEnum>[
ldpVc,
jwtVcJsonLd,
sdJwtVcJsonLd,
];

static IssuanceConfigMiniDtoFormatEnum? fromJson(dynamic value) => IssuanceConfigMiniDtoFormatEnumTypeTransformer().decode(value);
Expand Down Expand Up @@ -311,6 +313,7 @@ class IssuanceConfigMiniDtoFormatEnumTypeTransformer {
switch (data) {
case r'ldp_vc': return IssuanceConfigMiniDtoFormatEnum.ldpVc;
case r'jwt_vc_json-ld': return IssuanceConfigMiniDtoFormatEnum.jwtVcJsonLd;
case r'sd_jwt_vc_json-ld': return IssuanceConfigMiniDtoFormatEnum.sdJwtVcJsonLd;
default:
if (!allowNull) {
throw ArgumentError('Unknown enum value to decode: $data');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,13 @@ class UpdateIssuanceConfigInputFormatEnum {

static const ldpVc = UpdateIssuanceConfigInputFormatEnum._(r'ldp_vc');
static const jwtVcJsonLd = UpdateIssuanceConfigInputFormatEnum._(r'jwt_vc_json-ld');
static const sdJwtVcJsonLd = UpdateIssuanceConfigInputFormatEnum._(r'sd_jwt_vc_json-ld');

/// List of all possible values in this [enum][UpdateIssuanceConfigInputFormatEnum].
static const values = <UpdateIssuanceConfigInputFormatEnum>[
ldpVc,
jwtVcJsonLd,
sdJwtVcJsonLd,
];

static UpdateIssuanceConfigInputFormatEnum? fromJson(dynamic value) => UpdateIssuanceConfigInputFormatEnumTypeTransformer().decode(value);
Expand Down Expand Up @@ -277,6 +279,7 @@ class UpdateIssuanceConfigInputFormatEnumTypeTransformer {
switch (data) {
case r'ldp_vc': return UpdateIssuanceConfigInputFormatEnum.ldpVc;
case r'jwt_vc_json-ld': return UpdateIssuanceConfigInputFormatEnum.jwtVcJsonLd;
case r'sd_jwt_vc_json-ld': return UpdateIssuanceConfigInputFormatEnum.sdJwtVcJsonLd;
default:
if (!allowNull) {
throw ArgumentError('Unknown enum value to decode: $data');
Expand Down
2 changes: 0 additions & 2 deletions clients/dart/iam_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ doc/CreateTokenInput.md
doc/DefaultApi.md
doc/GetWellKnownDidOK.md
doc/InvalidDIDError.md
doc/InvalidDidError.md
doc/InvalidJwtTokenError.md
doc/InvalidParameterError.md
doc/JsonWebKeyDto.md
Expand Down Expand Up @@ -78,7 +77,6 @@ lib/model/create_project_scoped_token_output.dart
lib/model/create_token_input.dart
lib/model/get_well_known_did_ok.dart
lib/model/invalid_did_error.dart
lib/model/invalid_did_error.dart
lib/model/invalid_jwt_token_error.dart
lib/model/invalid_parameter_error.dart
lib/model/json_web_key_dto.dart
Expand Down
1 change: 0 additions & 1 deletion clients/dart/iam_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ All URIs are relative to *https://apse1.api.affinidi.io/iam*
- [CreateTokenInput](doc//CreateTokenInput.md)
- [GetWellKnownDidOK](doc//GetWellKnownDidOK.md)
- [InvalidDIDError](doc//InvalidDIDError.md)
- [InvalidDidError](doc//InvalidDidError.md)
- [InvalidJwtTokenError](doc//InvalidJwtTokenError.md)
- [InvalidParameterError](doc//InvalidParameterError.md)
- [JsonWebKeyDto](doc//JsonWebKeyDto.md)
Expand Down
19 changes: 0 additions & 19 deletions clients/dart/iam_client/doc/InvalidDidError.md

This file was deleted.

1 change: 0 additions & 1 deletion clients/dart/iam_client/lib/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ part 'model/create_project_scoped_token_output.dart';
part 'model/create_token_input.dart';
part 'model/get_well_known_did_ok.dart';
part 'model/invalid_did_error.dart';
part 'model/invalid_did_error.dart';
part 'model/invalid_jwt_token_error.dart';
part 'model/invalid_parameter_error.dart';
part 'model/json_web_key_dto.dart';
Expand Down
2 changes: 0 additions & 2 deletions clients/dart/iam_client/lib/api_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ class ApiClient {
return GetWellKnownDidOK.fromJson(value);
case 'InvalidDIDError':
return InvalidDIDError.fromJson(value);
case 'InvalidDidError':
return InvalidDidError.fromJson(value);
case 'InvalidJwtTokenError':
return InvalidJwtTokenError.fromJson(value);
case 'InvalidParameterError':
Expand Down
Loading

0 comments on commit 0dbc2ae

Please sign in to comment.