@indigina/myseko-api 0.0.2 → 0.0.4
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/README.md +75 -126
- package/fesm2022/indigina-myseko-api.mjs +422 -78
- package/fesm2022/indigina-myseko-api.mjs.map +1 -1
- package/index.d.ts +421 -6
- package/package.json +2 -2
- package/api/api.d.ts +0 -3
- package/api/health.service.d.ts +0 -36
- package/api.module.d.ts +0 -11
- package/configuration.d.ts +0 -104
- package/encoder.d.ts +0 -11
- package/model/failures.d.ts +0 -16
- package/model/modelError.d.ts +0 -15
- package/model/models.d.ts +0 -2
- package/param.d.ts +0 -37
- package/variables.d.ts +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indigina-myseko-api.mjs","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/health.service.ts","../../api/api.ts","../../model/failures.ts","../../api.module.ts","../../indigina-myseko-api.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\nimport { Param } from './param';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.encodeParam) {\n this.encodeParam = configurationParameters.encodeParam;\n }\n else {\n this.encodeParam = param => this.defaultEncodeParam(param);\n }\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value = param.dataFormat === 'date-time' && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HealthService {\n\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n // @ts-ignore\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Api health check\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getHealth(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<string>;\n public getHealth(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<string>>;\n public getHealth(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<string>>;\n public getHealth(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (localVarHttpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'text/plain',\n 'application/json'\n ];\n localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n let localVarHttpContext: HttpContext | undefined = options && options.context;\n if (localVarHttpContext === undefined) {\n localVarHttpContext = new HttpContext();\n }\n\n let localVarTransferCache: boolean | undefined = options && options.transferCache;\n if (localVarTransferCache === undefined) {\n localVarTransferCache = true;\n }\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/health`;\n return this.httpClient.request<string>('get', `${this.configuration.basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './health.service';\nimport { HealthService } from './health.service';\nexport const APIS = [HealthService];\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * @type Failures\n * @export\n */\nexport type Failures = { [key: string]: Array<string>; };\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class ApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('ApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;AAEA;;;AAGG;MACU,wBAA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,oBAAA,UAAU,EAAE;AACb,iBAAA;;0BAQkD;;0BAAW,MAAM;2BAAC,SAAS;;0BAA8B;;;ACjC/F,MAAA,IAAI,GAAG,CAAC,aAAa;;ACFlC;;;;;;;;AAQG;;MCGU,SAAS,CAAA;IACX,OAAO,OAAO,CAAC,oBAAyC,EAAA;QAC3D,OAAO;AACH,YAAA,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,CAAE,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE;SAC5E;;IAGL,WAAqC,CAAA,YAAuB,EACnC,IAAgB,EAAA;QACrC,IAAI,YAAY,EAAE;AACd,YAAA,MAAM,IAAI,KAAK,CAAC,kEAAkE,CAAC;;QAEvF,IAAI,CAAC,IAAI,EAAE;YACP,MAAM,IAAI,KAAK,CAAC,+DAA+D;AAC/E,gBAAA,0DAA0D,CAAC;;;uGAf1D,SAAS,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAT,SAAS,EAAA,CAAA;wGAAT,SAAS,EAAA,CAAA;;2FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAO,EAAE;AAChB,oBAAA,SAAS,EAAE;AACZ,iBAAA;;0BASiB;;0BAAY;;0BACZ;;;ACpBlB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"indigina-myseko-api.mjs","sources":["../../variables.ts","../../encoder.ts","../../configuration.ts","../../api.base.service.ts","../../api/dashboard.service.ts","../../api/health.service.ts","../../api/user.service.ts","../../api/usergroup.service.ts","../../api/api.ts","../../model/activeShipment.ts","../../model/modelError.ts","../../model/regGroup.ts","../../model/userAccount.ts","../../api.module.ts","../../provide-api.ts","../../indigina-myseko-api.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http';\nimport { Param } from './param';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\nconstructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }: ConfigurationParameters = {}) {\n if (apiKeys) {\n this.apiKeys = apiKeys;\n }\n if (username !== undefined) {\n this.username = username;\n }\n if (password !== undefined) {\n this.password = password;\n }\n if (accessToken !== undefined) {\n this.accessToken = accessToken;\n }\n if (basePath !== undefined) {\n this.basePath = basePath;\n }\n if (withCredentials !== undefined) {\n this.withCredentials = withCredentials;\n }\n if (encoder) {\n this.encoder = encoder;\n }\n this.encodeParam = encodeParam ?? (param => this.defaultEncodeParam(param));\n this.credentials = credentials ?? {};\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n\n public addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders {\n const value = this.lookupCredential(credentialKey);\n return value\n ? headers.set(headerName, (prefix ?? '') + value)\n : headers;\n }\n\n public addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams {\n const value = this.lookupCredential(credentialKey);\n return value\n ? query.set(paramName, value)\n : query;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value = param.dataFormat === 'date-time' && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from './encoder';\nimport { Configuration } from './configuration';\n\nexport class BaseService {\n protected basePath = 'http://localhost';\n public defaultHeaders = new HttpHeaders();\n public configuration: Configuration;\n public encoder: HttpParameterCodec;\n\n constructor(basePath?: string|string[], configuration?: Configuration) {\n this.configuration = configuration || new Configuration();\n if (typeof this.configuration.basePath !== 'string') {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n protected canConsumeForm(consumes: string[]): boolean {\n return consumes.indexOf('multipart/form-data') !== -1;\n }\n\n protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep: boolean = false): HttpParams {\n // If the value is an object (but not a Date), recursively add its keys.\n if (typeof value === 'object' && !(value instanceof Date)) {\n return this.addToHttpParamsRecursive(httpParams, value, isDeep ? key : undefined, isDeep);\n }\n return this.addToHttpParamsRecursive(httpParams, value, key);\n }\n\n protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep: boolean = false): HttpParams {\n if (value === null || value === undefined) {\n return httpParams;\n }\n if (typeof value === 'object') {\n // If JSON format is preferred, key must be provided.\n if (key != null) {\n return isDeep\n ? Object.keys(value as Record<string, any>).reduce(\n (hp, k) => hp.append(`${key}[${k}]`, value[k]),\n httpParams,\n )\n : httpParams.append(key, JSON.stringify(value));\n }\n // Otherwise, if it's an array, add each element.\n if (Array.isArray(value)) {\n value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, value.toISOString());\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach(k => {\n const paramKey = key ? `${key}.${k}` : k;\n httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);\n });\n }\n return httpParams;\n } else if (key != null) {\n return httpParams.append(key, value);\n }\n throw Error(\"key may not be null if value is not object or array\");\n }\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { ActiveShipment } from '../model/activeShipment';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport { BaseService } from '../api.base.service';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DashboardService extends BaseService {\n\n constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) {\n super(basePath, configuration);\n }\n\n /**\n * Get active shipments statistics\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getActiveShipments(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ActiveShipment>;\n public getActiveShipments(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ActiveShipment>>;\n public getActiveShipments(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ActiveShipment>>;\n public getActiveShipments(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/dashboard/activeShipments`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<ActiveShipment>('get', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport { BaseService } from '../api.base.service';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HealthService extends BaseService {\n\n constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) {\n super(basePath, configuration);\n }\n\n /**\n * Api health check\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getHealth(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<string>;\n public getHealth(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<string>>;\n public getHealth(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<string>>;\n public getHealth(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'text/plain' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'text/plain',\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/health`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<string>('get', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { User } from '../model/user';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport { BaseService } from '../api.base.service';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UserService extends BaseService {\n\n constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) {\n super(basePath, configuration);\n }\n\n /**\n * Get current user information\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getUser(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<User>;\n public getUser(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<User>>;\n public getUser(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<User>>;\n public getUser(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/user/getUser`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<User>('get', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * User login\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public userLogin(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>;\n public userLogin(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;\n public userLogin(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;\n public userLogin(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/user/login`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>('post', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec, HttpContext \n } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\n// @ts-ignore\nimport { RegGroup } from '../model/regGroup';\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport { BaseService } from '../api.base.service';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UsergroupService extends BaseService {\n\n constructor(protected httpClient: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string|string[], @Optional() configuration?: Configuration) {\n super(basePath, configuration);\n }\n\n /**\n * Get user groups\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public getUserGroups(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<RegGroup>>;\n public getUserGroups(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<RegGroup>>>;\n public getUserGroups(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<RegGroup>>>;\n public getUserGroups(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/userGroup/getUserGroups`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<Array<RegGroup>>('get', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Set user group\n * @param regGroupID \n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public setUserGroup(regGroupID: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>;\n public setUserGroup(regGroupID: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;\n public setUserGroup(regGroupID: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;\n public setUserGroup(regGroupID: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {\n if (regGroupID === null || regGroupID === undefined) {\n throw new Error('Required parameter regGroupID was null or undefined when calling setUserGroup.');\n }\n\n let localVarQueryParameters = new HttpParams({encoder: this.encoder});\n localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,\n <any>regGroupID, 'regGroupID');\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([\n 'application/json'\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);\n }\n\n const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n\n let responseType_: 'text' | 'json' | 'blob' = 'json';\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {\n responseType_ = 'json';\n } else {\n responseType_ = 'blob';\n }\n }\n\n let localVarPath = `/userGroup/setUserGroup`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>('patch', `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n params: localVarQueryParameters,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './dashboard.service';\nimport { DashboardService } from './dashboard.service';\nexport * from './health.service';\nimport { HealthService } from './health.service';\nexport * from './user.service';\nimport { UserService } from './user.service';\nexport * from './usergroup.service';\nimport { UsergroupService } from './usergroup.service';\nexport const APIS = [DashboardService, HealthService, UserService, UsergroupService];\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ActiveShipment { \n internationalCount?: number;\n domesticUSCount?: number;\n}\n\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ModelError { \n title: string;\n status: number;\n errors: { [key: string]: Array<string>; } | null;\n}\n\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface RegGroup { \n name?: string | null;\n regGroupID?: string | null;\n regGroupParentID?: string | null;\n level?: number | null;\n}\n\n","/**\n * MySeko.API.Client\n *\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface UserAccount { \n sysSystemKey?: string | null;\n id?: string | null;\n name?: string | null;\n}\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class ApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('ApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","import { EnvironmentProviders, makeEnvironmentProviders } from \"@angular/core\";\nimport { Configuration, ConfigurationParameters } from './configuration';\nimport { BASE_PATH } from './variables';\n\n// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).\nexport function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders {\n return makeEnvironmentProviders([\n typeof configOrBasePath === \"string\"\n ? { provide: BASE_PATH, useValue: configOrBasePath }\n : {\n provide: Configuration,\n useValue: new Configuration({ ...configOrBasePath }),\n },\n ]);\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;MAEa,SAAS,GAAG,IAAI,cAAc,CAAS,UAAU;AACjD,MAAA,kBAAkB,GAAG;AAC9B,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,KAAK,EAAE,GAAG;AACV,IAAA,OAAO,EAAE;;;ACLb;;;AAGG;MACU,wBAAwB,CAAA;AACjC,IAAA,SAAS,CAAC,CAAS,EAAA;AACf,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;;AAEhC,IAAA,WAAW,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;;AAEhC,IAAA,SAAS,CAAC,CAAS,EAAA;AACf,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;;AAEhC,IAAA,WAAW,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;;AAEnC;;MCiBY,aAAa,CAAA;AAC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,EAAE;AACZ,iBAAA;;0BASiB;;0BAAY;;0BACZ;;;AChBlB;AACM,SAAU,UAAU,CAAC,gBAAkD,EAAA;AACzE,IAAA,OAAO,wBAAwB,CAAC;QAC5B,OAAO,gBAAgB,KAAK;cACtB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB;AAClD,cAAE;AACE,gBAAA,OAAO,EAAE,aAAa;gBACtB,QAAQ,EAAE,IAAI,aAAa,CAAC,EAAE,GAAG,gBAAgB,EAAE,CAAC;AACvD,aAAA;AACR,KAAA,CAAC;AACN;;ACdA;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,421 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* MySeko.API.Client
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
interface ActiveShipment {
|
|
16
|
+
internationalCount?: number;
|
|
17
|
+
domesticUSCount?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
22
|
+
*/
|
|
23
|
+
type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
24
|
+
/**
|
|
25
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
26
|
+
*/
|
|
27
|
+
type ParamStyle = StandardParamStyle | string;
|
|
28
|
+
/**
|
|
29
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
30
|
+
*/
|
|
31
|
+
type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
32
|
+
/**
|
|
33
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
34
|
+
*/
|
|
35
|
+
type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
36
|
+
/**
|
|
37
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
38
|
+
*/
|
|
39
|
+
type DataType = StandardDataType | string;
|
|
40
|
+
/**
|
|
41
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
42
|
+
*/
|
|
43
|
+
type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
44
|
+
type DataFormat = StandardDataFormat | string;
|
|
45
|
+
/**
|
|
46
|
+
* The parameter to encode.
|
|
47
|
+
*/
|
|
48
|
+
interface Param {
|
|
49
|
+
name: string;
|
|
50
|
+
value: unknown;
|
|
51
|
+
in: ParamLocation;
|
|
52
|
+
style: ParamStyle;
|
|
53
|
+
explode: boolean;
|
|
54
|
+
dataType: DataType;
|
|
55
|
+
dataFormat: DataFormat | undefined;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface ConfigurationParameters {
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
61
|
+
*/
|
|
62
|
+
apiKeys?: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
username?: string;
|
|
66
|
+
password?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
69
|
+
*/
|
|
70
|
+
accessToken?: string | (() => string);
|
|
71
|
+
basePath?: string;
|
|
72
|
+
withCredentials?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Takes care of encoding query- and form-parameters.
|
|
75
|
+
*/
|
|
76
|
+
encoder?: HttpParameterCodec;
|
|
77
|
+
/**
|
|
78
|
+
* Override the default method for encoding path parameters in various
|
|
79
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
80
|
+
* <p>
|
|
81
|
+
* See {@link README.md} for more details
|
|
82
|
+
* </p>
|
|
83
|
+
*/
|
|
84
|
+
encodeParam?: (param: Param) => string;
|
|
85
|
+
/**
|
|
86
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
87
|
+
* document. They should map to the value used for authentication
|
|
88
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
89
|
+
*/
|
|
90
|
+
credentials?: {
|
|
91
|
+
[key: string]: string | (() => string | undefined);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
declare class Configuration {
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
97
|
+
*/
|
|
98
|
+
apiKeys?: {
|
|
99
|
+
[key: string]: string;
|
|
100
|
+
};
|
|
101
|
+
username?: string;
|
|
102
|
+
password?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
105
|
+
*/
|
|
106
|
+
accessToken?: string | (() => string);
|
|
107
|
+
basePath?: string;
|
|
108
|
+
withCredentials?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Takes care of encoding query- and form-parameters.
|
|
111
|
+
*/
|
|
112
|
+
encoder?: HttpParameterCodec;
|
|
113
|
+
/**
|
|
114
|
+
* Encoding of various path parameter
|
|
115
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
116
|
+
* <p>
|
|
117
|
+
* See {@link README.md} for more details
|
|
118
|
+
* </p>
|
|
119
|
+
*/
|
|
120
|
+
encodeParam: (param: Param) => string;
|
|
121
|
+
/**
|
|
122
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
123
|
+
* document. They should map to the value used for authentication
|
|
124
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
125
|
+
*/
|
|
126
|
+
credentials: {
|
|
127
|
+
[key: string]: string | (() => string | undefined);
|
|
128
|
+
};
|
|
129
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
|
|
130
|
+
/**
|
|
131
|
+
* Select the correct content-type to use for a request.
|
|
132
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
133
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
134
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
135
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
136
|
+
*/
|
|
137
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Select the correct accept content-type to use for a request.
|
|
140
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
141
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
142
|
+
* @param accepts - the array of content types that are available for selection.
|
|
143
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
144
|
+
*/
|
|
145
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Check if the given MIME is a JSON MIME.
|
|
148
|
+
* JSON MIME examples:
|
|
149
|
+
* application/json
|
|
150
|
+
* application/json; charset=UTF8
|
|
151
|
+
* APPLICATION/JSON
|
|
152
|
+
* application/vnd.company+json
|
|
153
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
154
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
155
|
+
*/
|
|
156
|
+
isJsonMime(mime: string): boolean;
|
|
157
|
+
lookupCredential(key: string): string | undefined;
|
|
158
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
159
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
|
|
160
|
+
private defaultEncodeParam;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* MySeko.API.Client
|
|
165
|
+
*
|
|
166
|
+
*
|
|
167
|
+
*
|
|
168
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
169
|
+
* https://openapi-generator.tech
|
|
170
|
+
* Do not edit the class manually.
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
declare class BaseService {
|
|
174
|
+
protected basePath: string;
|
|
175
|
+
defaultHeaders: HttpHeaders;
|
|
176
|
+
configuration: Configuration;
|
|
177
|
+
encoder: HttpParameterCodec;
|
|
178
|
+
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
179
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
180
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
|
|
181
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare class DashboardService extends BaseService {
|
|
185
|
+
protected httpClient: HttpClient;
|
|
186
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
187
|
+
/**
|
|
188
|
+
* Get active shipments statistics
|
|
189
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
190
|
+
* @param reportProgress flag to report request and response progress.
|
|
191
|
+
*/
|
|
192
|
+
getActiveShipments(observe?: 'body', reportProgress?: boolean, options?: {
|
|
193
|
+
httpHeaderAccept?: 'application/json';
|
|
194
|
+
context?: HttpContext;
|
|
195
|
+
transferCache?: boolean;
|
|
196
|
+
}): Observable<ActiveShipment>;
|
|
197
|
+
getActiveShipments(observe?: 'response', reportProgress?: boolean, options?: {
|
|
198
|
+
httpHeaderAccept?: 'application/json';
|
|
199
|
+
context?: HttpContext;
|
|
200
|
+
transferCache?: boolean;
|
|
201
|
+
}): Observable<HttpResponse<ActiveShipment>>;
|
|
202
|
+
getActiveShipments(observe?: 'events', reportProgress?: boolean, options?: {
|
|
203
|
+
httpHeaderAccept?: 'application/json';
|
|
204
|
+
context?: HttpContext;
|
|
205
|
+
transferCache?: boolean;
|
|
206
|
+
}): Observable<HttpEvent<ActiveShipment>>;
|
|
207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, [null, { optional: true; }, { optional: true; }]>;
|
|
208
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class HealthService extends BaseService {
|
|
212
|
+
protected httpClient: HttpClient;
|
|
213
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
214
|
+
/**
|
|
215
|
+
* Api health check
|
|
216
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
217
|
+
* @param reportProgress flag to report request and response progress.
|
|
218
|
+
*/
|
|
219
|
+
getHealth(observe?: 'body', reportProgress?: boolean, options?: {
|
|
220
|
+
httpHeaderAccept?: 'text/plain' | 'application/json';
|
|
221
|
+
context?: HttpContext;
|
|
222
|
+
transferCache?: boolean;
|
|
223
|
+
}): Observable<string>;
|
|
224
|
+
getHealth(observe?: 'response', reportProgress?: boolean, options?: {
|
|
225
|
+
httpHeaderAccept?: 'text/plain' | 'application/json';
|
|
226
|
+
context?: HttpContext;
|
|
227
|
+
transferCache?: boolean;
|
|
228
|
+
}): Observable<HttpResponse<string>>;
|
|
229
|
+
getHealth(observe?: 'events', reportProgress?: boolean, options?: {
|
|
230
|
+
httpHeaderAccept?: 'text/plain' | 'application/json';
|
|
231
|
+
context?: HttpContext;
|
|
232
|
+
transferCache?: boolean;
|
|
233
|
+
}): Observable<HttpEvent<string>>;
|
|
234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HealthService, [null, { optional: true; }, { optional: true; }]>;
|
|
235
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* MySeko.API.Client
|
|
240
|
+
*
|
|
241
|
+
*
|
|
242
|
+
*
|
|
243
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
244
|
+
* https://openapi-generator.tech
|
|
245
|
+
* Do not edit the class manually.
|
|
246
|
+
*/
|
|
247
|
+
interface RegGroup {
|
|
248
|
+
name?: string | null;
|
|
249
|
+
regGroupID?: string | null;
|
|
250
|
+
regGroupParentID?: string | null;
|
|
251
|
+
level?: number | null;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* MySeko.API.Client
|
|
256
|
+
*
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
260
|
+
* https://openapi-generator.tech
|
|
261
|
+
* Do not edit the class manually.
|
|
262
|
+
*/
|
|
263
|
+
interface UserAccount {
|
|
264
|
+
sysSystemKey?: string | null;
|
|
265
|
+
id?: string | null;
|
|
266
|
+
name?: string | null;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* MySeko.API.Client
|
|
271
|
+
*
|
|
272
|
+
*
|
|
273
|
+
*
|
|
274
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
275
|
+
* https://openapi-generator.tech
|
|
276
|
+
* Do not edit the class manually.
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
interface User {
|
|
280
|
+
regUserID: string;
|
|
281
|
+
regGroupID: string;
|
|
282
|
+
username?: string | null;
|
|
283
|
+
email?: string | null;
|
|
284
|
+
regGroups?: Array<RegGroup> | null;
|
|
285
|
+
accounts?: Array<UserAccount> | null;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
declare class UserService extends BaseService {
|
|
289
|
+
protected httpClient: HttpClient;
|
|
290
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
291
|
+
/**
|
|
292
|
+
* Get current user information
|
|
293
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
294
|
+
* @param reportProgress flag to report request and response progress.
|
|
295
|
+
*/
|
|
296
|
+
getUser(observe?: 'body', reportProgress?: boolean, options?: {
|
|
297
|
+
httpHeaderAccept?: 'application/json';
|
|
298
|
+
context?: HttpContext;
|
|
299
|
+
transferCache?: boolean;
|
|
300
|
+
}): Observable<User>;
|
|
301
|
+
getUser(observe?: 'response', reportProgress?: boolean, options?: {
|
|
302
|
+
httpHeaderAccept?: 'application/json';
|
|
303
|
+
context?: HttpContext;
|
|
304
|
+
transferCache?: boolean;
|
|
305
|
+
}): Observable<HttpResponse<User>>;
|
|
306
|
+
getUser(observe?: 'events', reportProgress?: boolean, options?: {
|
|
307
|
+
httpHeaderAccept?: 'application/json';
|
|
308
|
+
context?: HttpContext;
|
|
309
|
+
transferCache?: boolean;
|
|
310
|
+
}): Observable<HttpEvent<User>>;
|
|
311
|
+
/**
|
|
312
|
+
* User login
|
|
313
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
314
|
+
* @param reportProgress flag to report request and response progress.
|
|
315
|
+
*/
|
|
316
|
+
userLogin(observe?: 'body', reportProgress?: boolean, options?: {
|
|
317
|
+
httpHeaderAccept?: 'application/json';
|
|
318
|
+
context?: HttpContext;
|
|
319
|
+
transferCache?: boolean;
|
|
320
|
+
}): Observable<any>;
|
|
321
|
+
userLogin(observe?: 'response', reportProgress?: boolean, options?: {
|
|
322
|
+
httpHeaderAccept?: 'application/json';
|
|
323
|
+
context?: HttpContext;
|
|
324
|
+
transferCache?: boolean;
|
|
325
|
+
}): Observable<HttpResponse<any>>;
|
|
326
|
+
userLogin(observe?: 'events', reportProgress?: boolean, options?: {
|
|
327
|
+
httpHeaderAccept?: 'application/json';
|
|
328
|
+
context?: HttpContext;
|
|
329
|
+
transferCache?: boolean;
|
|
330
|
+
}): Observable<HttpEvent<any>>;
|
|
331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, [null, { optional: true; }, { optional: true; }]>;
|
|
332
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare class UsergroupService extends BaseService {
|
|
336
|
+
protected httpClient: HttpClient;
|
|
337
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
338
|
+
/**
|
|
339
|
+
* Get user groups
|
|
340
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
341
|
+
* @param reportProgress flag to report request and response progress.
|
|
342
|
+
*/
|
|
343
|
+
getUserGroups(observe?: 'body', reportProgress?: boolean, options?: {
|
|
344
|
+
httpHeaderAccept?: 'application/json';
|
|
345
|
+
context?: HttpContext;
|
|
346
|
+
transferCache?: boolean;
|
|
347
|
+
}): Observable<Array<RegGroup>>;
|
|
348
|
+
getUserGroups(observe?: 'response', reportProgress?: boolean, options?: {
|
|
349
|
+
httpHeaderAccept?: 'application/json';
|
|
350
|
+
context?: HttpContext;
|
|
351
|
+
transferCache?: boolean;
|
|
352
|
+
}): Observable<HttpResponse<Array<RegGroup>>>;
|
|
353
|
+
getUserGroups(observe?: 'events', reportProgress?: boolean, options?: {
|
|
354
|
+
httpHeaderAccept?: 'application/json';
|
|
355
|
+
context?: HttpContext;
|
|
356
|
+
transferCache?: boolean;
|
|
357
|
+
}): Observable<HttpEvent<Array<RegGroup>>>;
|
|
358
|
+
/**
|
|
359
|
+
* Set user group
|
|
360
|
+
* @param regGroupID
|
|
361
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
362
|
+
* @param reportProgress flag to report request and response progress.
|
|
363
|
+
*/
|
|
364
|
+
setUserGroup(regGroupID: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
365
|
+
httpHeaderAccept?: 'application/json';
|
|
366
|
+
context?: HttpContext;
|
|
367
|
+
transferCache?: boolean;
|
|
368
|
+
}): Observable<any>;
|
|
369
|
+
setUserGroup(regGroupID: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
370
|
+
httpHeaderAccept?: 'application/json';
|
|
371
|
+
context?: HttpContext;
|
|
372
|
+
transferCache?: boolean;
|
|
373
|
+
}): Observable<HttpResponse<any>>;
|
|
374
|
+
setUserGroup(regGroupID: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
375
|
+
httpHeaderAccept?: 'application/json';
|
|
376
|
+
context?: HttpContext;
|
|
377
|
+
transferCache?: boolean;
|
|
378
|
+
}): Observable<HttpEvent<any>>;
|
|
379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UsergroupService, [null, { optional: true; }, { optional: true; }]>;
|
|
380
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare const APIS: (typeof DashboardService | typeof HealthService | typeof UserService | typeof UsergroupService)[];
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* MySeko.API.Client
|
|
387
|
+
*
|
|
388
|
+
*
|
|
389
|
+
*
|
|
390
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
391
|
+
* https://openapi-generator.tech
|
|
392
|
+
* Do not edit the class manually.
|
|
393
|
+
*/
|
|
394
|
+
interface ModelError {
|
|
395
|
+
title: string;
|
|
396
|
+
status: number;
|
|
397
|
+
errors: {
|
|
398
|
+
[key: string]: Array<string>;
|
|
399
|
+
} | null;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
declare const BASE_PATH: InjectionToken<string>;
|
|
403
|
+
declare const COLLECTION_FORMATS: {
|
|
404
|
+
csv: string;
|
|
405
|
+
tsv: string;
|
|
406
|
+
ssv: string;
|
|
407
|
+
pipes: string;
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
declare class ApiModule {
|
|
411
|
+
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
|
|
412
|
+
constructor(parentModule: ApiModule, http: HttpClient);
|
|
413
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
414
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
|
|
415
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
419
|
+
|
|
420
|
+
export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, UserService, UsergroupService, provideApi };
|
|
421
|
+
export type { ActiveShipment, ConfigurationParameters, DataFormat, DataType, ModelError, Param, ParamLocation, ParamStyle, RegGroup, StandardDataFormat, StandardDataType, StandardParamStyle, User, UserAccount };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indigina/myseko-api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "OpenAPI client for @indigina/myseko-api",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "Unlicense",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/core": "^
|
|
16
|
+
"@angular/core": "^20.1.3",
|
|
17
17
|
"rxjs": "^7.4.0"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2022/indigina-myseko-api.mjs",
|
package/api/api.d.ts
DELETED