@indigina/myseko-api 0.0.3 → 0.0.5

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/myseko-api@0.0.3
1
+ # @indigina/myseko-api@0.0.5
2
2
 
3
3
  MySeko API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/myseko-api@0.0.3 --save
27
+ npm install @indigina/myseko-api@0.0.5 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule, makeEnvironmentProviders } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
- import { HttpHeaders, HttpContext } from '@angular/common/http';
4
+ import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
5
5
 
6
6
  const BASE_PATH = new InjectionToken('basePath');
7
7
  const COLLECTION_FORMATS = {
@@ -243,6 +243,140 @@ class BaseService {
243
243
  }
244
244
  }
245
245
 
246
+ /**
247
+ * MySeko.API.Client
248
+ *
249
+ *
250
+ *
251
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
252
+ * https://openapi-generator.tech
253
+ * Do not edit the class manually.
254
+ */
255
+ /* tslint:disable:no-unused-variable member-ordering */
256
+ class AuthService extends BaseService {
257
+ httpClient;
258
+ constructor(httpClient, basePath, configuration) {
259
+ super(basePath, configuration);
260
+ this.httpClient = httpClient;
261
+ }
262
+ userLogin(observe = 'body', reportProgress = false, options) {
263
+ let localVarHeaders = this.defaultHeaders;
264
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
265
+ 'application/json'
266
+ ]);
267
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
268
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
269
+ }
270
+ const localVarHttpContext = options?.context ?? new HttpContext();
271
+ const localVarTransferCache = options?.transferCache ?? true;
272
+ let responseType_ = 'json';
273
+ if (localVarHttpHeaderAcceptSelected) {
274
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
275
+ responseType_ = 'text';
276
+ }
277
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
278
+ responseType_ = 'json';
279
+ }
280
+ else {
281
+ responseType_ = 'blob';
282
+ }
283
+ }
284
+ let localVarPath = `/myseko/auth/login`;
285
+ const { basePath, withCredentials } = this.configuration;
286
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
287
+ context: localVarHttpContext,
288
+ responseType: responseType_,
289
+ ...(withCredentials ? { withCredentials } : {}),
290
+ headers: localVarHeaders,
291
+ observe: observe,
292
+ transferCache: localVarTransferCache,
293
+ reportProgress: reportProgress
294
+ });
295
+ }
296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
297
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AuthService, providedIn: 'root' });
298
+ }
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AuthService, decorators: [{
300
+ type: Injectable,
301
+ args: [{
302
+ providedIn: 'root'
303
+ }]
304
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
305
+ type: Optional
306
+ }, {
307
+ type: Inject,
308
+ args: [BASE_PATH]
309
+ }] }, { type: Configuration, decorators: [{
310
+ type: Optional
311
+ }] }] });
312
+
313
+ /**
314
+ * MySeko.API.Client
315
+ *
316
+ *
317
+ *
318
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
319
+ * https://openapi-generator.tech
320
+ * Do not edit the class manually.
321
+ */
322
+ /* tslint:disable:no-unused-variable member-ordering */
323
+ class DashboardService extends BaseService {
324
+ httpClient;
325
+ constructor(httpClient, basePath, configuration) {
326
+ super(basePath, configuration);
327
+ this.httpClient = httpClient;
328
+ }
329
+ getActiveShipments(observe = 'body', reportProgress = false, options) {
330
+ let localVarHeaders = this.defaultHeaders;
331
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
332
+ 'application/json'
333
+ ]);
334
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
335
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
336
+ }
337
+ const localVarHttpContext = options?.context ?? new HttpContext();
338
+ const localVarTransferCache = options?.transferCache ?? true;
339
+ let responseType_ = 'json';
340
+ if (localVarHttpHeaderAcceptSelected) {
341
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
342
+ responseType_ = 'text';
343
+ }
344
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
345
+ responseType_ = 'json';
346
+ }
347
+ else {
348
+ responseType_ = 'blob';
349
+ }
350
+ }
351
+ let localVarPath = `/myseko/dashboard/active-shipments`;
352
+ const { basePath, withCredentials } = this.configuration;
353
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
354
+ context: localVarHttpContext,
355
+ responseType: responseType_,
356
+ ...(withCredentials ? { withCredentials } : {}),
357
+ headers: localVarHeaders,
358
+ observe: observe,
359
+ transferCache: localVarTransferCache,
360
+ reportProgress: reportProgress
361
+ });
362
+ }
363
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DashboardService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
364
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DashboardService, providedIn: 'root' });
365
+ }
366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DashboardService, decorators: [{
367
+ type: Injectable,
368
+ args: [{
369
+ providedIn: 'root'
370
+ }]
371
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
372
+ type: Optional
373
+ }, {
374
+ type: Inject,
375
+ args: [BASE_PATH]
376
+ }] }, { type: Configuration, decorators: [{
377
+ type: Optional
378
+ }] }] });
379
+
246
380
  /**
247
381
  * MySeko.API.Client
248
382
  *
@@ -311,7 +445,211 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
311
445
  type: Optional
312
446
  }] }] });
313
447
 
314
- const APIS = [HealthService];
448
+ /**
449
+ * MySeko.API.Client
450
+ *
451
+ *
452
+ *
453
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
454
+ * https://openapi-generator.tech
455
+ * Do not edit the class manually.
456
+ */
457
+ /* tslint:disable:no-unused-variable member-ordering */
458
+ class UserService extends BaseService {
459
+ httpClient;
460
+ constructor(httpClient, basePath, configuration) {
461
+ super(basePath, configuration);
462
+ this.httpClient = httpClient;
463
+ }
464
+ getUser(observe = 'body', reportProgress = false, options) {
465
+ let localVarHeaders = this.defaultHeaders;
466
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
467
+ 'application/json'
468
+ ]);
469
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
470
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
471
+ }
472
+ const localVarHttpContext = options?.context ?? new HttpContext();
473
+ const localVarTransferCache = options?.transferCache ?? true;
474
+ let responseType_ = 'json';
475
+ if (localVarHttpHeaderAcceptSelected) {
476
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
477
+ responseType_ = 'text';
478
+ }
479
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
480
+ responseType_ = 'json';
481
+ }
482
+ else {
483
+ responseType_ = 'blob';
484
+ }
485
+ }
486
+ let localVarPath = `/myseko/users/me`;
487
+ const { basePath, withCredentials } = this.configuration;
488
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
489
+ context: localVarHttpContext,
490
+ responseType: responseType_,
491
+ ...(withCredentials ? { withCredentials } : {}),
492
+ headers: localVarHeaders,
493
+ observe: observe,
494
+ transferCache: localVarTransferCache,
495
+ reportProgress: reportProgress
496
+ });
497
+ }
498
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
499
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UserService, providedIn: 'root' });
500
+ }
501
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UserService, decorators: [{
502
+ type: Injectable,
503
+ args: [{
504
+ providedIn: 'root'
505
+ }]
506
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
507
+ type: Optional
508
+ }, {
509
+ type: Inject,
510
+ args: [BASE_PATH]
511
+ }] }, { type: Configuration, decorators: [{
512
+ type: Optional
513
+ }] }] });
514
+
515
+ /**
516
+ * MySeko.API.Client
517
+ *
518
+ *
519
+ *
520
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
521
+ * https://openapi-generator.tech
522
+ * Do not edit the class manually.
523
+ */
524
+ /* tslint:disable:no-unused-variable member-ordering */
525
+ class UsergroupService extends BaseService {
526
+ httpClient;
527
+ constructor(httpClient, basePath, configuration) {
528
+ super(basePath, configuration);
529
+ this.httpClient = httpClient;
530
+ }
531
+ getUserGroup(observe = 'body', reportProgress = false, options) {
532
+ let localVarHeaders = this.defaultHeaders;
533
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
534
+ 'application/json'
535
+ ]);
536
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
537
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
538
+ }
539
+ const localVarHttpContext = options?.context ?? new HttpContext();
540
+ const localVarTransferCache = options?.transferCache ?? true;
541
+ let responseType_ = 'json';
542
+ if (localVarHttpHeaderAcceptSelected) {
543
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
544
+ responseType_ = 'text';
545
+ }
546
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
547
+ responseType_ = 'json';
548
+ }
549
+ else {
550
+ responseType_ = 'blob';
551
+ }
552
+ }
553
+ let localVarPath = `/myseko/users/me/group`;
554
+ const { basePath, withCredentials } = this.configuration;
555
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
556
+ context: localVarHttpContext,
557
+ responseType: responseType_,
558
+ ...(withCredentials ? { withCredentials } : {}),
559
+ headers: localVarHeaders,
560
+ observe: observe,
561
+ transferCache: localVarTransferCache,
562
+ reportProgress: reportProgress
563
+ });
564
+ }
565
+ setUserGroup(regGroupID, observe = 'body', reportProgress = false, options) {
566
+ if (regGroupID === null || regGroupID === undefined) {
567
+ throw new Error('Required parameter regGroupID was null or undefined when calling setUserGroup.');
568
+ }
569
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
570
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, regGroupID, 'regGroupID');
571
+ let localVarHeaders = this.defaultHeaders;
572
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
573
+ 'application/json'
574
+ ]);
575
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
576
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
577
+ }
578
+ const localVarHttpContext = options?.context ?? new HttpContext();
579
+ const localVarTransferCache = options?.transferCache ?? true;
580
+ let responseType_ = 'json';
581
+ if (localVarHttpHeaderAcceptSelected) {
582
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
583
+ responseType_ = 'text';
584
+ }
585
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
586
+ responseType_ = 'json';
587
+ }
588
+ else {
589
+ responseType_ = 'blob';
590
+ }
591
+ }
592
+ let localVarPath = `/myseko/users/me/group`;
593
+ const { basePath, withCredentials } = this.configuration;
594
+ return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
595
+ context: localVarHttpContext,
596
+ params: localVarQueryParameters,
597
+ responseType: responseType_,
598
+ ...(withCredentials ? { withCredentials } : {}),
599
+ headers: localVarHeaders,
600
+ observe: observe,
601
+ transferCache: localVarTransferCache,
602
+ reportProgress: reportProgress
603
+ });
604
+ }
605
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsergroupService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
606
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsergroupService, providedIn: 'root' });
607
+ }
608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: UsergroupService, decorators: [{
609
+ type: Injectable,
610
+ args: [{
611
+ providedIn: 'root'
612
+ }]
613
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
614
+ type: Optional
615
+ }, {
616
+ type: Inject,
617
+ args: [BASE_PATH]
618
+ }] }, { type: Configuration, decorators: [{
619
+ type: Optional
620
+ }] }] });
621
+
622
+ const APIS = [AuthService, DashboardService, HealthService, UserService, UsergroupService];
623
+
624
+ /**
625
+ * MySeko.API.Client
626
+ *
627
+ *
628
+ *
629
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
630
+ * https://openapi-generator.tech
631
+ * Do not edit the class manually.
632
+ */
633
+
634
+ /**
635
+ * MySeko.API.Client
636
+ *
637
+ *
638
+ *
639
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
640
+ * https://openapi-generator.tech
641
+ * Do not edit the class manually.
642
+ */
643
+
644
+ /**
645
+ * MySeko.API.Client
646
+ *
647
+ *
648
+ *
649
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
650
+ * https://openapi-generator.tech
651
+ * Do not edit the class manually.
652
+ */
315
653
 
316
654
  /**
317
655
  * MySeko.API.Client
@@ -375,5 +713,5 @@ function provideApi(configOrBasePath) {
375
713
  * Generated bundle index. Do not edit.
376
714
  */
377
715
 
378
- export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, HealthService, provideApi };
716
+ export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, UserService, UsergroupService, provideApi };
379
717
  //# sourceMappingURL=indigina-myseko-api.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"indigina-myseko-api.mjs","sources":["../../variables.ts","../../encoder.ts","../../configuration.ts","../../api.base.service.ts","../../api/health.service.ts","../../api/api.ts","../../model/modelError.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\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","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\nexport interface ModelError { \n title: string;\n status: number;\n errors: { [key: string]: Array<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}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AAgB,EAAE,CAAC;AACvD,aAAA;AACR,KAAA,CAAC;AACN;;ACdA;;AAEG;;;;"}
1
+ {"version":3,"file":"indigina-myseko-api.mjs","sources":["../../variables.ts","../../encoder.ts","../../configuration.ts","../../api.base.service.ts","../../api/auth.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\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 AuthService 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 * 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 = `/myseko/auth/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 { 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 = `/myseko/dashboard/active-shipments`;\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 = `/myseko/users/me`;\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","/**\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 group for current user\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 getUserGroup(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<RegGroup>;\n public getUserGroup(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<RegGroup>>;\n public getUserGroup(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<RegGroup>>;\n public getUserGroup(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 = `/myseko/users/me/group`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<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 for current user\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 = `/myseko/users/me/group`;\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 './auth.service';\nimport { AuthService } from './auth.service';\nexport * 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 = [AuthService, 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;AACtB;;AAEG;AACH,IAAA,OAAO;AACP,IAAA,QAAQ;AACR,IAAA,QAAQ;AACR;;AAEG;AACH,IAAA,WAAW;AACX,IAAA,QAAQ;AACR,IAAA,eAAe;AACf;;AAEG;AACH,IAAA,OAAO;AACP;;;;;;AAMG;AACH,IAAA,WAAW;AACX;;;;AAIG;AACH,IAAA,WAAW;AAEf,IAAA,WAAA,CAAY,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,KAA8B,EAAE,EAAA;QAC5I,IAAI,OAAO,EAAE;AACT,YAAA,IAAI,CAAC,OAAO,GAAG,OAAO;;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AAA,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;;;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
@@ -167,6 +167,74 @@ declare class BaseService {
167
167
  protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
168
168
  }
169
169
 
170
+ declare class AuthService extends BaseService {
171
+ protected httpClient: HttpClient;
172
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
173
+ /**
174
+ * User login
175
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
176
+ * @param reportProgress flag to report request and response progress.
177
+ */
178
+ userLogin(observe?: 'body', reportProgress?: boolean, options?: {
179
+ httpHeaderAccept?: 'application/json';
180
+ context?: HttpContext;
181
+ transferCache?: boolean;
182
+ }): Observable<any>;
183
+ userLogin(observe?: 'response', reportProgress?: boolean, options?: {
184
+ httpHeaderAccept?: 'application/json';
185
+ context?: HttpContext;
186
+ transferCache?: boolean;
187
+ }): Observable<HttpResponse<any>>;
188
+ userLogin(observe?: 'events', reportProgress?: boolean, options?: {
189
+ httpHeaderAccept?: 'application/json';
190
+ context?: HttpContext;
191
+ transferCache?: boolean;
192
+ }): Observable<HttpEvent<any>>;
193
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, [null, { optional: true; }, { optional: true; }]>;
194
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
195
+ }
196
+
197
+ /**
198
+ * MySeko.API.Client
199
+ *
200
+ *
201
+ *
202
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
203
+ * https://openapi-generator.tech
204
+ * Do not edit the class manually.
205
+ */
206
+ interface ActiveShipment {
207
+ internationalCount?: number;
208
+ domesticUSCount?: number;
209
+ }
210
+
211
+ declare class DashboardService extends BaseService {
212
+ protected httpClient: HttpClient;
213
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
214
+ /**
215
+ * Get active shipments statistics
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
+ getActiveShipments(observe?: 'body', reportProgress?: boolean, options?: {
220
+ httpHeaderAccept?: 'application/json';
221
+ context?: HttpContext;
222
+ transferCache?: boolean;
223
+ }): Observable<ActiveShipment>;
224
+ getActiveShipments(observe?: 'response', reportProgress?: boolean, options?: {
225
+ httpHeaderAccept?: 'application/json';
226
+ context?: HttpContext;
227
+ transferCache?: boolean;
228
+ }): Observable<HttpResponse<ActiveShipment>>;
229
+ getActiveShipments(observe?: 'events', reportProgress?: boolean, options?: {
230
+ httpHeaderAccept?: 'application/json';
231
+ context?: HttpContext;
232
+ transferCache?: boolean;
233
+ }): Observable<HttpEvent<ActiveShipment>>;
234
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, [null, { optional: true; }, { optional: true; }]>;
235
+ static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
236
+ }
237
+
170
238
  declare class HealthService extends BaseService {
171
239
  protected httpClient: HttpClient;
172
240
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
@@ -194,7 +262,132 @@ declare class HealthService extends BaseService {
194
262
  static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
195
263
  }
196
264
 
197
- declare const APIS: (typeof HealthService)[];
265
+ /**
266
+ * MySeko.API.Client
267
+ *
268
+ *
269
+ *
270
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
271
+ * https://openapi-generator.tech
272
+ * Do not edit the class manually.
273
+ */
274
+ interface RegGroup {
275
+ name?: string | null;
276
+ regGroupID?: string | null;
277
+ regGroupParentID?: string | null;
278
+ level?: number | null;
279
+ }
280
+
281
+ /**
282
+ * MySeko.API.Client
283
+ *
284
+ *
285
+ *
286
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
287
+ * https://openapi-generator.tech
288
+ * Do not edit the class manually.
289
+ */
290
+ interface UserAccount {
291
+ sysSystemKey?: string | null;
292
+ id?: string | null;
293
+ name?: string | null;
294
+ }
295
+
296
+ /**
297
+ * MySeko.API.Client
298
+ *
299
+ *
300
+ *
301
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
302
+ * https://openapi-generator.tech
303
+ * Do not edit the class manually.
304
+ */
305
+
306
+ interface User {
307
+ regUserID: string;
308
+ regGroupID: string;
309
+ username?: string | null;
310
+ email?: string | null;
311
+ regGroups?: Array<RegGroup> | null;
312
+ accounts?: Array<UserAccount> | null;
313
+ }
314
+
315
+ declare class UserService extends BaseService {
316
+ protected httpClient: HttpClient;
317
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
318
+ /**
319
+ * Get current user information
320
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
321
+ * @param reportProgress flag to report request and response progress.
322
+ */
323
+ getUser(observe?: 'body', reportProgress?: boolean, options?: {
324
+ httpHeaderAccept?: 'application/json';
325
+ context?: HttpContext;
326
+ transferCache?: boolean;
327
+ }): Observable<User>;
328
+ getUser(observe?: 'response', reportProgress?: boolean, options?: {
329
+ httpHeaderAccept?: 'application/json';
330
+ context?: HttpContext;
331
+ transferCache?: boolean;
332
+ }): Observable<HttpResponse<User>>;
333
+ getUser(observe?: 'events', reportProgress?: boolean, options?: {
334
+ httpHeaderAccept?: 'application/json';
335
+ context?: HttpContext;
336
+ transferCache?: boolean;
337
+ }): Observable<HttpEvent<User>>;
338
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserService, [null, { optional: true; }, { optional: true; }]>;
339
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
340
+ }
341
+
342
+ declare class UsergroupService extends BaseService {
343
+ protected httpClient: HttpClient;
344
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
345
+ /**
346
+ * Get user group for current user
347
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
348
+ * @param reportProgress flag to report request and response progress.
349
+ */
350
+ getUserGroup(observe?: 'body', reportProgress?: boolean, options?: {
351
+ httpHeaderAccept?: 'application/json';
352
+ context?: HttpContext;
353
+ transferCache?: boolean;
354
+ }): Observable<RegGroup>;
355
+ getUserGroup(observe?: 'response', reportProgress?: boolean, options?: {
356
+ httpHeaderAccept?: 'application/json';
357
+ context?: HttpContext;
358
+ transferCache?: boolean;
359
+ }): Observable<HttpResponse<RegGroup>>;
360
+ getUserGroup(observe?: 'events', reportProgress?: boolean, options?: {
361
+ httpHeaderAccept?: 'application/json';
362
+ context?: HttpContext;
363
+ transferCache?: boolean;
364
+ }): Observable<HttpEvent<RegGroup>>;
365
+ /**
366
+ * Set user group for current user
367
+ * @param regGroupID
368
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
369
+ * @param reportProgress flag to report request and response progress.
370
+ */
371
+ setUserGroup(regGroupID: string, observe?: 'body', reportProgress?: boolean, options?: {
372
+ httpHeaderAccept?: 'application/json';
373
+ context?: HttpContext;
374
+ transferCache?: boolean;
375
+ }): Observable<any>;
376
+ setUserGroup(regGroupID: string, observe?: 'response', reportProgress?: boolean, options?: {
377
+ httpHeaderAccept?: 'application/json';
378
+ context?: HttpContext;
379
+ transferCache?: boolean;
380
+ }): Observable<HttpResponse<any>>;
381
+ setUserGroup(regGroupID: string, observe?: 'events', reportProgress?: boolean, options?: {
382
+ httpHeaderAccept?: 'application/json';
383
+ context?: HttpContext;
384
+ transferCache?: boolean;
385
+ }): Observable<HttpEvent<any>>;
386
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsergroupService, [null, { optional: true; }, { optional: true; }]>;
387
+ static ɵprov: i0.ɵɵInjectableDeclaration<UsergroupService>;
388
+ }
389
+
390
+ declare const APIS: (typeof AuthService | typeof DashboardService | typeof HealthService | typeof UserService | typeof UsergroupService)[];
198
391
 
199
392
  /**
200
393
  * MySeko.API.Client
@@ -231,5 +424,5 @@ declare class ApiModule {
231
424
 
232
425
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
233
426
 
234
- export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, Configuration, HealthService, provideApi };
235
- export type { ConfigurationParameters, DataFormat, DataType, ModelError, Param, ParamLocation, ParamStyle, StandardDataFormat, StandardDataType, StandardParamStyle };
427
+ export { APIS, ApiModule, AuthService, BASE_PATH, COLLECTION_FORMATS, Configuration, DashboardService, HealthService, UserService, UsergroupService, provideApi };
428
+ 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",
3
+ "version": "0.0.5",
4
4
  "description": "OpenAPI client for @indigina/myseko-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {