flexinet-api 0.0.749-prerelease0 → 0.0.750-prerelease0
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 +2 -2
- package/api.ts +18 -6
- package/dist/api.d.ts +22 -6
- package/dist/esm/api.d.ts +22 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.750-prerelease0
|
|
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 flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.750-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -814,25 +814,31 @@ export interface CustomDealRestrictionsResponse {
|
|
|
814
814
|
/**
|
|
815
815
|
*
|
|
816
816
|
* @export
|
|
817
|
-
* @interface
|
|
817
|
+
* @interface CustomerUserDetails
|
|
818
818
|
*/
|
|
819
|
-
export interface
|
|
819
|
+
export interface CustomerUserDetails {
|
|
820
820
|
/**
|
|
821
821
|
*
|
|
822
822
|
* @type {string}
|
|
823
|
-
* @memberof
|
|
823
|
+
* @memberof CustomerUserDetails
|
|
824
|
+
*/
|
|
825
|
+
'source': string;
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @type {string}
|
|
829
|
+
* @memberof CustomerUserDetails
|
|
824
830
|
*/
|
|
825
831
|
'email': string;
|
|
826
832
|
/**
|
|
827
833
|
*
|
|
828
834
|
* @type {string}
|
|
829
|
-
* @memberof
|
|
835
|
+
* @memberof CustomerUserDetails
|
|
830
836
|
*/
|
|
831
837
|
'firstName'?: string;
|
|
832
838
|
/**
|
|
833
839
|
*
|
|
834
840
|
* @type {string}
|
|
835
|
-
* @memberof
|
|
841
|
+
* @memberof CustomerUserDetails
|
|
836
842
|
*/
|
|
837
843
|
'lastName'?: string;
|
|
838
844
|
}
|
|
@@ -2550,6 +2556,12 @@ export type SortDirection = typeof SortDirection[keyof typeof SortDirection];
|
|
|
2550
2556
|
* @interface SystemUserDetails
|
|
2551
2557
|
*/
|
|
2552
2558
|
export interface SystemUserDetails {
|
|
2559
|
+
/**
|
|
2560
|
+
*
|
|
2561
|
+
* @type {string}
|
|
2562
|
+
* @memberof SystemUserDetails
|
|
2563
|
+
*/
|
|
2564
|
+
'source': string;
|
|
2553
2565
|
/**
|
|
2554
2566
|
*
|
|
2555
2567
|
* @type {string}
|
|
@@ -3479,7 +3491,7 @@ export interface UserBalance {
|
|
|
3479
3491
|
* @type UserDetails
|
|
3480
3492
|
* @export
|
|
3481
3493
|
*/
|
|
3482
|
-
export type UserDetails =
|
|
3494
|
+
export type UserDetails = { source: 'customer' } & CustomerUserDetails | { source: 'system' } & SystemUserDetails;
|
|
3483
3495
|
|
|
3484
3496
|
/**
|
|
3485
3497
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -761,25 +761,31 @@ export interface CustomDealRestrictionsResponse {
|
|
|
761
761
|
/**
|
|
762
762
|
*
|
|
763
763
|
* @export
|
|
764
|
-
* @interface
|
|
764
|
+
* @interface CustomerUserDetails
|
|
765
765
|
*/
|
|
766
|
-
export interface
|
|
766
|
+
export interface CustomerUserDetails {
|
|
767
767
|
/**
|
|
768
768
|
*
|
|
769
769
|
* @type {string}
|
|
770
|
-
* @memberof
|
|
770
|
+
* @memberof CustomerUserDetails
|
|
771
|
+
*/
|
|
772
|
+
'source': string;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof CustomerUserDetails
|
|
771
777
|
*/
|
|
772
778
|
'email': string;
|
|
773
779
|
/**
|
|
774
780
|
*
|
|
775
781
|
* @type {string}
|
|
776
|
-
* @memberof
|
|
782
|
+
* @memberof CustomerUserDetails
|
|
777
783
|
*/
|
|
778
784
|
'firstName'?: string;
|
|
779
785
|
/**
|
|
780
786
|
*
|
|
781
787
|
* @type {string}
|
|
782
|
-
* @memberof
|
|
788
|
+
* @memberof CustomerUserDetails
|
|
783
789
|
*/
|
|
784
790
|
'lastName'?: string;
|
|
785
791
|
}
|
|
@@ -2413,6 +2419,12 @@ export type SortDirection = typeof SortDirection[keyof typeof SortDirection];
|
|
|
2413
2419
|
* @interface SystemUserDetails
|
|
2414
2420
|
*/
|
|
2415
2421
|
export interface SystemUserDetails {
|
|
2422
|
+
/**
|
|
2423
|
+
*
|
|
2424
|
+
* @type {string}
|
|
2425
|
+
* @memberof SystemUserDetails
|
|
2426
|
+
*/
|
|
2427
|
+
'source': string;
|
|
2416
2428
|
/**
|
|
2417
2429
|
*
|
|
2418
2430
|
* @type {string}
|
|
@@ -3300,7 +3312,11 @@ export interface UserBalance {
|
|
|
3300
3312
|
* @type UserDetails
|
|
3301
3313
|
* @export
|
|
3302
3314
|
*/
|
|
3303
|
-
export type UserDetails =
|
|
3315
|
+
export type UserDetails = {
|
|
3316
|
+
source: 'customer';
|
|
3317
|
+
} & CustomerUserDetails | {
|
|
3318
|
+
source: 'system';
|
|
3319
|
+
} & SystemUserDetails;
|
|
3304
3320
|
/**
|
|
3305
3321
|
*
|
|
3306
3322
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -761,25 +761,31 @@ export interface CustomDealRestrictionsResponse {
|
|
|
761
761
|
/**
|
|
762
762
|
*
|
|
763
763
|
* @export
|
|
764
|
-
* @interface
|
|
764
|
+
* @interface CustomerUserDetails
|
|
765
765
|
*/
|
|
766
|
-
export interface
|
|
766
|
+
export interface CustomerUserDetails {
|
|
767
767
|
/**
|
|
768
768
|
*
|
|
769
769
|
* @type {string}
|
|
770
|
-
* @memberof
|
|
770
|
+
* @memberof CustomerUserDetails
|
|
771
|
+
*/
|
|
772
|
+
'source': string;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof CustomerUserDetails
|
|
771
777
|
*/
|
|
772
778
|
'email': string;
|
|
773
779
|
/**
|
|
774
780
|
*
|
|
775
781
|
* @type {string}
|
|
776
|
-
* @memberof
|
|
782
|
+
* @memberof CustomerUserDetails
|
|
777
783
|
*/
|
|
778
784
|
'firstName'?: string;
|
|
779
785
|
/**
|
|
780
786
|
*
|
|
781
787
|
* @type {string}
|
|
782
|
-
* @memberof
|
|
788
|
+
* @memberof CustomerUserDetails
|
|
783
789
|
*/
|
|
784
790
|
'lastName'?: string;
|
|
785
791
|
}
|
|
@@ -2413,6 +2419,12 @@ export type SortDirection = typeof SortDirection[keyof typeof SortDirection];
|
|
|
2413
2419
|
* @interface SystemUserDetails
|
|
2414
2420
|
*/
|
|
2415
2421
|
export interface SystemUserDetails {
|
|
2422
|
+
/**
|
|
2423
|
+
*
|
|
2424
|
+
* @type {string}
|
|
2425
|
+
* @memberof SystemUserDetails
|
|
2426
|
+
*/
|
|
2427
|
+
'source': string;
|
|
2416
2428
|
/**
|
|
2417
2429
|
*
|
|
2418
2430
|
* @type {string}
|
|
@@ -3300,7 +3312,11 @@ export interface UserBalance {
|
|
|
3300
3312
|
* @type UserDetails
|
|
3301
3313
|
* @export
|
|
3302
3314
|
*/
|
|
3303
|
-
export type UserDetails =
|
|
3315
|
+
export type UserDetails = {
|
|
3316
|
+
source: 'customer';
|
|
3317
|
+
} & CustomerUserDetails | {
|
|
3318
|
+
source: 'system';
|
|
3319
|
+
} & SystemUserDetails;
|
|
3304
3320
|
/**
|
|
3305
3321
|
*
|
|
3306
3322
|
* @export
|