@moxi.gmbh/moxi-typescriptmodels 0.42.0 → 0.43.0

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.
@@ -65,6 +65,7 @@ export namespace com.moxi.api.account {
65
65
  export interface FindAccountsV2 {
66
66
  filter?: com.moxi.api.account.common.AccountFilter;
67
67
  pagination?: com.moxi.api.common.Pagination;
68
+ sortings?: com.moxi.api.account.common.Account.AccountSortItem[];
68
69
  term?: string;
69
70
  }
70
71
 
@@ -219,6 +220,15 @@ export namespace com.moxi.api.account.common {
219
220
 
220
221
  }
221
222
 
223
+ export namespace com.moxi.api.account.common.Account {
224
+
225
+ export interface AccountSortItem {
226
+ descending?: boolean;
227
+ item?: com.moxi.api.account.common.Account.AccountSortOption;
228
+ }
229
+
230
+ }
231
+
222
232
  export namespace com.moxi.api.account.common {
223
233
 
224
234
  export interface AccountFilter {
@@ -3623,6 +3633,12 @@ export namespace health.moxi.optimizer.common.planning {
3623
3633
 
3624
3634
  }
3625
3635
 
3636
+ export namespace com.moxi.api.account.common.Account {
3637
+
3638
+ export type AccountSortOption = "confirmed" | "name";
3639
+
3640
+ }
3641
+
3626
3642
  export namespace com.moxi.api.authentication.common {
3627
3643
 
3628
3644
  export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
package/common.d.ts CHANGED
@@ -118,6 +118,11 @@ export interface AccountRef {
118
118
  name?: string;
119
119
  }
120
120
 
121
+ export interface AccountSortItem {
122
+ descending?: boolean;
123
+ item?: AccountSortOption;
124
+ }
125
+
121
126
  export interface AccountUpcaster {
122
127
  }
123
128
 
@@ -582,6 +587,7 @@ export interface FindAccountsResult {
582
587
  export interface FindAccountsV2 {
583
588
  filter?: AccountFilter;
584
589
  pagination?: Pagination;
590
+ sortings?: AccountSortItem[];
585
591
  term?: string;
586
592
  }
587
593
 
@@ -2075,6 +2081,8 @@ export interface ZonedTimeRange {
2075
2081
 
2076
2082
  export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
2077
2083
 
2084
+ export type AccountSortOption = "confirmed" | "name";
2085
+
2078
2086
  export type ActualAccuracy = "actually_on_time" | "actually_later";
2079
2087
 
2080
2088
  export type AgeCategory = "adult" | "child" | "toddler" | "baby";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "types": "common.d.ts"
5
5
  }