@handsondigital/idplugger-admin 2.1.0 → 2.1.1

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.
@@ -12,7 +12,6 @@ docs/AdminPromotionCacheClear200ResponseContent.md
12
12
  docs/AdminPromotionCacheClear500Response.md
13
13
  docs/ApiLog.md
14
14
  docs/ApiLogPaginated.md
15
- docs/ApiLogPaginatedResult.md
16
15
  docs/ApiLogsApi.md
17
16
  docs/AuthApi.md
18
17
  docs/AuthLogin200Response.md
@@ -25,13 +24,14 @@ docs/AuthMe200ResponsePromotionsInner.md
25
24
  docs/AuthRefreshTokenRequest.md
26
25
  docs/ErrorReport.md
27
26
  docs/ErrorReportPaginated.md
28
- docs/ErrorReportPaginatedResult.md
29
27
  docs/ErrorReportsApi.md
30
28
  docs/ErrorResponse.md
31
29
  docs/Metrics200Response.md
32
30
  docs/Metrics200ResponseUsersInner.md
33
31
  docs/Metrics400Response.md
34
32
  docs/MetricsApi.md
33
+ docs/Pagination.md
34
+ docs/PaginationLinksInner.md
35
35
  docs/PromotionApi.md
36
36
  docs/PromotionPullConfiguration200Response.md
37
37
  docs/PromotionPullConfiguration500Response.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @handsondigital/idplugger-admin@2.1.0
1
+ ## @handsondigital/idplugger-admin@2.1.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @handsondigital/idplugger-admin@2.1.0 --save
39
+ npm install @handsondigital/idplugger-admin@2.1.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -90,7 +90,6 @@ Class | Method | HTTP request | Description
90
90
  - [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
91
91
  - [ApiLog](docs/ApiLog.md)
92
92
  - [ApiLogPaginated](docs/ApiLogPaginated.md)
93
- - [ApiLogPaginatedResult](docs/ApiLogPaginatedResult.md)
94
93
  - [AuthLogin200Response](docs/AuthLogin200Response.md)
95
94
  - [AuthLogin401Response](docs/AuthLogin401Response.md)
96
95
  - [AuthLoginByToken200Response](docs/AuthLoginByToken200Response.md)
@@ -101,11 +100,12 @@ Class | Method | HTTP request | Description
101
100
  - [AuthRefreshTokenRequest](docs/AuthRefreshTokenRequest.md)
102
101
  - [ErrorReport](docs/ErrorReport.md)
103
102
  - [ErrorReportPaginated](docs/ErrorReportPaginated.md)
104
- - [ErrorReportPaginatedResult](docs/ErrorReportPaginatedResult.md)
105
103
  - [ErrorResponse](docs/ErrorResponse.md)
106
104
  - [Metrics200Response](docs/Metrics200Response.md)
107
105
  - [Metrics200ResponseUsersInner](docs/Metrics200ResponseUsersInner.md)
108
106
  - [Metrics400Response](docs/Metrics400Response.md)
107
+ - [Pagination](docs/Pagination.md)
108
+ - [PaginationLinksInner](docs/PaginationLinksInner.md)
109
109
  - [PromotionPullConfiguration200Response](docs/PromotionPullConfiguration200Response.md)
110
110
  - [PromotionPullConfiguration500Response](docs/PromotionPullConfiguration500Response.md)
111
111
  - [PromotionPullConfigurationRequest](docs/PromotionPullConfigurationRequest.md)
package/api.ts CHANGED
@@ -209,49 +209,18 @@ export interface ApiLogPaginated {
209
209
  * @memberof ApiLogPaginated
210
210
  */
211
211
  'message'?: string;
212
- /**
213
- *
214
- * @type {ApiLogPaginatedResult}
215
- * @memberof ApiLogPaginated
216
- */
217
- 'result'?: ApiLogPaginatedResult;
218
- }
219
- /**
220
- *
221
- * @export
222
- * @interface ApiLogPaginatedResult
223
- */
224
- export interface ApiLogPaginatedResult {
225
212
  /**
226
213
  *
227
214
  * @type {Array<ApiLog>}
228
- * @memberof ApiLogPaginatedResult
229
- */
230
- 'data'?: Array<ApiLog>;
231
- /**
232
- *
233
- * @type {number}
234
- * @memberof ApiLogPaginatedResult
235
- */
236
- 'current_page'?: number;
237
- /**
238
- *
239
- * @type {number}
240
- * @memberof ApiLogPaginatedResult
241
- */
242
- 'last_page'?: number;
243
- /**
244
- *
245
- * @type {number}
246
- * @memberof ApiLogPaginatedResult
215
+ * @memberof ApiLogPaginated
247
216
  */
248
- 'per_page'?: number;
217
+ 'content'?: Array<ApiLog>;
249
218
  /**
250
219
  *
251
- * @type {number}
252
- * @memberof ApiLogPaginatedResult
220
+ * @type {Pagination}
221
+ * @memberof ApiLogPaginated
253
222
  */
254
- 'total'?: number;
223
+ 'paging'?: Pagination;
255
224
  }
256
225
  /**
257
226
  *
@@ -496,49 +465,18 @@ export interface ErrorReportPaginated {
496
465
  * @memberof ErrorReportPaginated
497
466
  */
498
467
  'message'?: string;
499
- /**
500
- *
501
- * @type {ErrorReportPaginatedResult}
502
- * @memberof ErrorReportPaginated
503
- */
504
- 'result'?: ErrorReportPaginatedResult;
505
- }
506
- /**
507
- *
508
- * @export
509
- * @interface ErrorReportPaginatedResult
510
- */
511
- export interface ErrorReportPaginatedResult {
512
468
  /**
513
469
  *
514
470
  * @type {Array<ErrorReport>}
515
- * @memberof ErrorReportPaginatedResult
516
- */
517
- 'data'?: Array<ErrorReport>;
518
- /**
519
- *
520
- * @type {number}
521
- * @memberof ErrorReportPaginatedResult
522
- */
523
- 'current_page'?: number;
524
- /**
525
- *
526
- * @type {number}
527
- * @memberof ErrorReportPaginatedResult
528
- */
529
- 'last_page'?: number;
530
- /**
531
- *
532
- * @type {number}
533
- * @memberof ErrorReportPaginatedResult
471
+ * @memberof ErrorReportPaginated
534
472
  */
535
- 'per_page'?: number;
473
+ 'content'?: Array<ErrorReport>;
536
474
  /**
537
475
  *
538
- * @type {number}
539
- * @memberof ErrorReportPaginatedResult
476
+ * @type {Pagination}
477
+ * @memberof ErrorReportPaginated
540
478
  */
541
- 'total'?: number;
479
+ 'paging'?: Pagination;
542
480
  }
543
481
  /**
544
482
  *
@@ -616,6 +554,110 @@ export interface Metrics400Response {
616
554
  */
617
555
  'message'?: string;
618
556
  }
557
+ /**
558
+ *
559
+ * @export
560
+ * @interface Pagination
561
+ */
562
+ export interface Pagination {
563
+ /**
564
+ *
565
+ * @type {number}
566
+ * @memberof Pagination
567
+ */
568
+ 'current_page'?: number;
569
+ /**
570
+ *
571
+ * @type {string}
572
+ * @memberof Pagination
573
+ */
574
+ 'first_page_url'?: string;
575
+ /**
576
+ *
577
+ * @type {number}
578
+ * @memberof Pagination
579
+ */
580
+ 'from'?: number;
581
+ /**
582
+ *
583
+ * @type {number}
584
+ * @memberof Pagination
585
+ */
586
+ 'last_page'?: number;
587
+ /**
588
+ *
589
+ * @type {string}
590
+ * @memberof Pagination
591
+ */
592
+ 'last_page_url'?: string;
593
+ /**
594
+ *
595
+ * @type {Array<PaginationLinksInner>}
596
+ * @memberof Pagination
597
+ */
598
+ 'links'?: Array<PaginationLinksInner>;
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof Pagination
603
+ */
604
+ 'next_page_url'?: string;
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof Pagination
609
+ */
610
+ 'path'?: string;
611
+ /**
612
+ *
613
+ * @type {string}
614
+ * @memberof Pagination
615
+ */
616
+ 'per_page'?: string;
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof Pagination
621
+ */
622
+ 'prev_page_url'?: string;
623
+ /**
624
+ *
625
+ * @type {number}
626
+ * @memberof Pagination
627
+ */
628
+ 'to'?: number;
629
+ /**
630
+ *
631
+ * @type {number}
632
+ * @memberof Pagination
633
+ */
634
+ 'total'?: number;
635
+ }
636
+ /**
637
+ *
638
+ * @export
639
+ * @interface PaginationLinksInner
640
+ */
641
+ export interface PaginationLinksInner {
642
+ /**
643
+ *
644
+ * @type {string}
645
+ * @memberof PaginationLinksInner
646
+ */
647
+ 'url'?: string;
648
+ /**
649
+ *
650
+ * @type {string}
651
+ * @memberof PaginationLinksInner
652
+ */
653
+ 'label'?: string;
654
+ /**
655
+ *
656
+ * @type {string}
657
+ * @memberof PaginationLinksInner
658
+ */
659
+ 'active'?: string;
660
+ }
619
661
  /**
620
662
  *
621
663
  * @export
package/dist/api.d.ts CHANGED
@@ -199,49 +199,18 @@ export interface ApiLogPaginated {
199
199
  * @memberof ApiLogPaginated
200
200
  */
201
201
  'message'?: string;
202
- /**
203
- *
204
- * @type {ApiLogPaginatedResult}
205
- * @memberof ApiLogPaginated
206
- */
207
- 'result'?: ApiLogPaginatedResult;
208
- }
209
- /**
210
- *
211
- * @export
212
- * @interface ApiLogPaginatedResult
213
- */
214
- export interface ApiLogPaginatedResult {
215
202
  /**
216
203
  *
217
204
  * @type {Array<ApiLog>}
218
- * @memberof ApiLogPaginatedResult
219
- */
220
- 'data'?: Array<ApiLog>;
221
- /**
222
- *
223
- * @type {number}
224
- * @memberof ApiLogPaginatedResult
225
- */
226
- 'current_page'?: number;
227
- /**
228
- *
229
- * @type {number}
230
- * @memberof ApiLogPaginatedResult
231
- */
232
- 'last_page'?: number;
233
- /**
234
- *
235
- * @type {number}
236
- * @memberof ApiLogPaginatedResult
205
+ * @memberof ApiLogPaginated
237
206
  */
238
- 'per_page'?: number;
207
+ 'content'?: Array<ApiLog>;
239
208
  /**
240
209
  *
241
- * @type {number}
242
- * @memberof ApiLogPaginatedResult
210
+ * @type {Pagination}
211
+ * @memberof ApiLogPaginated
243
212
  */
244
- 'total'?: number;
213
+ 'paging'?: Pagination;
245
214
  }
246
215
  /**
247
216
  *
@@ -486,49 +455,18 @@ export interface ErrorReportPaginated {
486
455
  * @memberof ErrorReportPaginated
487
456
  */
488
457
  'message'?: string;
489
- /**
490
- *
491
- * @type {ErrorReportPaginatedResult}
492
- * @memberof ErrorReportPaginated
493
- */
494
- 'result'?: ErrorReportPaginatedResult;
495
- }
496
- /**
497
- *
498
- * @export
499
- * @interface ErrorReportPaginatedResult
500
- */
501
- export interface ErrorReportPaginatedResult {
502
458
  /**
503
459
  *
504
460
  * @type {Array<ErrorReport>}
505
- * @memberof ErrorReportPaginatedResult
506
- */
507
- 'data'?: Array<ErrorReport>;
508
- /**
509
- *
510
- * @type {number}
511
- * @memberof ErrorReportPaginatedResult
512
- */
513
- 'current_page'?: number;
514
- /**
515
- *
516
- * @type {number}
517
- * @memberof ErrorReportPaginatedResult
518
- */
519
- 'last_page'?: number;
520
- /**
521
- *
522
- * @type {number}
523
- * @memberof ErrorReportPaginatedResult
461
+ * @memberof ErrorReportPaginated
524
462
  */
525
- 'per_page'?: number;
463
+ 'content'?: Array<ErrorReport>;
526
464
  /**
527
465
  *
528
- * @type {number}
529
- * @memberof ErrorReportPaginatedResult
466
+ * @type {Pagination}
467
+ * @memberof ErrorReportPaginated
530
468
  */
531
- 'total'?: number;
469
+ 'paging'?: Pagination;
532
470
  }
533
471
  /**
534
472
  *
@@ -608,6 +546,110 @@ export interface Metrics400Response {
608
546
  */
609
547
  'message'?: string;
610
548
  }
549
+ /**
550
+ *
551
+ * @export
552
+ * @interface Pagination
553
+ */
554
+ export interface Pagination {
555
+ /**
556
+ *
557
+ * @type {number}
558
+ * @memberof Pagination
559
+ */
560
+ 'current_page'?: number;
561
+ /**
562
+ *
563
+ * @type {string}
564
+ * @memberof Pagination
565
+ */
566
+ 'first_page_url'?: string;
567
+ /**
568
+ *
569
+ * @type {number}
570
+ * @memberof Pagination
571
+ */
572
+ 'from'?: number;
573
+ /**
574
+ *
575
+ * @type {number}
576
+ * @memberof Pagination
577
+ */
578
+ 'last_page'?: number;
579
+ /**
580
+ *
581
+ * @type {string}
582
+ * @memberof Pagination
583
+ */
584
+ 'last_page_url'?: string;
585
+ /**
586
+ *
587
+ * @type {Array<PaginationLinksInner>}
588
+ * @memberof Pagination
589
+ */
590
+ 'links'?: Array<PaginationLinksInner>;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof Pagination
595
+ */
596
+ 'next_page_url'?: string;
597
+ /**
598
+ *
599
+ * @type {string}
600
+ * @memberof Pagination
601
+ */
602
+ 'path'?: string;
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof Pagination
607
+ */
608
+ 'per_page'?: string;
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof Pagination
613
+ */
614
+ 'prev_page_url'?: string;
615
+ /**
616
+ *
617
+ * @type {number}
618
+ * @memberof Pagination
619
+ */
620
+ 'to'?: number;
621
+ /**
622
+ *
623
+ * @type {number}
624
+ * @memberof Pagination
625
+ */
626
+ 'total'?: number;
627
+ }
628
+ /**
629
+ *
630
+ * @export
631
+ * @interface PaginationLinksInner
632
+ */
633
+ export interface PaginationLinksInner {
634
+ /**
635
+ *
636
+ * @type {string}
637
+ * @memberof PaginationLinksInner
638
+ */
639
+ 'url'?: string;
640
+ /**
641
+ *
642
+ * @type {string}
643
+ * @memberof PaginationLinksInner
644
+ */
645
+ 'label'?: string;
646
+ /**
647
+ *
648
+ * @type {string}
649
+ * @memberof PaginationLinksInner
650
+ */
651
+ 'active'?: string;
652
+ }
611
653
  /**
612
654
  *
613
655
  * @export
@@ -6,7 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **message** | **string** | | [optional] [default to undefined]
9
- **result** | [**ApiLogPaginatedResult**](ApiLogPaginatedResult.md) | | [optional] [default to undefined]
9
+ **content** | [**Array&lt;ApiLog&gt;**](ApiLog.md) | | [optional] [default to undefined]
10
+ **paging** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -15,7 +16,8 @@ import { ApiLogPaginated } from '@handsondigital/idplugger-admin';
15
16
 
16
17
  const instance: ApiLogPaginated = {
17
18
  message,
18
- result,
19
+ content,
20
+ paging,
19
21
  };
20
22
  ```
21
23
 
@@ -6,7 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **message** | **string** | | [optional] [default to undefined]
9
- **result** | [**ErrorReportPaginatedResult**](ErrorReportPaginatedResult.md) | | [optional] [default to undefined]
9
+ **content** | [**Array&lt;ErrorReport&gt;**](ErrorReport.md) | | [optional] [default to undefined]
10
+ **paging** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -15,7 +16,8 @@ import { ErrorReportPaginated } from '@handsondigital/idplugger-admin';
15
16
 
16
17
  const instance: ErrorReportPaginated = {
17
18
  message,
18
- result,
19
+ content,
20
+ paging,
19
21
  };
20
22
  ```
21
23
 
@@ -0,0 +1,42 @@
1
+ # Pagination
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **current_page** | **number** | | [optional] [default to undefined]
9
+ **first_page_url** | **string** | | [optional] [default to undefined]
10
+ **from** | **number** | | [optional] [default to undefined]
11
+ **last_page** | **number** | | [optional] [default to undefined]
12
+ **last_page_url** | **string** | | [optional] [default to undefined]
13
+ **links** | [**Array&lt;PaginationLinksInner&gt;**](PaginationLinksInner.md) | | [optional] [default to undefined]
14
+ **next_page_url** | **string** | | [optional] [default to undefined]
15
+ **path** | **string** | | [optional] [default to undefined]
16
+ **per_page** | **string** | | [optional] [default to undefined]
17
+ **prev_page_url** | **string** | | [optional] [default to undefined]
18
+ **to** | **number** | | [optional] [default to undefined]
19
+ **total** | **number** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { Pagination } from '@handsondigital/idplugger-admin';
25
+
26
+ const instance: Pagination = {
27
+ current_page,
28
+ first_page_url,
29
+ from,
30
+ last_page,
31
+ last_page_url,
32
+ links,
33
+ next_page_url,
34
+ path,
35
+ per_page,
36
+ prev_page_url,
37
+ to,
38
+ total,
39
+ };
40
+ ```
41
+
42
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PaginationLinksInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **url** | **string** | | [optional] [default to undefined]
9
+ **label** | **string** | | [optional] [default to undefined]
10
+ **active** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PaginationLinksInner } from '@handsondigital/idplugger-admin';
16
+
17
+ const instance: PaginationLinksInner = {
18
+ url,
19
+ label,
20
+ active,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handsondigital/idplugger-admin",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "OpenAPI client for @handsondigital/idplugger-admin",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {