fix: allow handling of new api version
This commit is contained in:
parent
5c9f493b67
commit
9d49764b84
4 changed files with 4 additions and 0 deletions
|
@ -2,4 +2,5 @@ export enum ApiVersion {
|
|||
v20161215 = '20161215',
|
||||
v20190520 = '20190520',
|
||||
v20200115 = '20200115',
|
||||
v20240226 = '20240226',
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ export class AuthResponseFactoryResolver implements AuthResponseFactoryResolverI
|
|||
case ApiVersion.v20190520:
|
||||
return this.authResponseFactory20190520
|
||||
case ApiVersion.v20200115:
|
||||
case ApiVersion.v20240226:
|
||||
return this.authResponseFactory20200115
|
||||
default:
|
||||
return this.authResponseFactory20161215
|
||||
|
|
|
@ -2,4 +2,5 @@ export enum ApiVersion {
|
|||
v20161215 = '20161215',
|
||||
v20190520 = '20190520',
|
||||
v20200115 = '20200115',
|
||||
v20240226 = '20240226',
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ export class SyncResponseFactoryResolver implements SyncResponseFactoryResolverI
|
|||
switch (apiVersion) {
|
||||
case ApiVersion.v20190520:
|
||||
case ApiVersion.v20200115:
|
||||
case ApiVersion.v20240226:
|
||||
return this.syncResponseFactory20200115
|
||||
default:
|
||||
return this.syncResponseFactory20161215
|
||||
|
|
Loading…
Reference in a new issue