@pushwoosh/rpc-gateway-journey-data 0.26.321 → 0.26.323

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/commonTypes.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
package/data.js CHANGED
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export const data = {
4
3
  "pushwoosh.cj.journey.Journey": {
5
4
  "type": "S",
@@ -799,7 +798,7 @@ export const data = {
799
798
  "type": "number"
800
799
  },
801
800
  "avrCTR": {
802
- "type": "number"
801
+ "type": "google.protobuf.DoubleValue"
803
802
  }
804
803
  }
805
804
  },
@@ -3925,10 +3924,6 @@ export const data = {
3925
3924
  },
3926
3925
  "timezone": {
3927
3926
  "type": "string"
3928
- },
3929
- "channels": {
3930
- "type": "pushwoosh.cj.journey.Channel",
3931
- "array": true
3932
3927
  }
3933
3928
  }
3934
3929
  },
@@ -4011,10 +4006,6 @@ export const data = {
4011
4006
  "pushwoosh.cj.journey.GetJourneyMetricsResponse.InAppMetrics": {
4012
4007
  "type": "I",
4013
4008
  "fields": {
4014
- "sends": {
4015
- "type": "number",
4016
- "array": true
4017
- },
4018
4009
  "impressions": {
4019
4010
  "type": "number",
4020
4011
  "array": true
@@ -4135,9 +4126,6 @@ export const data = {
4135
4126
  "pushwoosh.cj.journey.GetJourneyMetricsResponse.InAppTotals": {
4136
4127
  "type": "I",
4137
4128
  "fields": {
4138
- "sent": {
4139
- "type": "number"
4140
- },
4141
4129
  "impressions": {
4142
4130
  "type": "number"
4143
4131
  },
@@ -4201,10 +4189,6 @@ export const data = {
4201
4189
  },
4202
4190
  "timezone": {
4203
4191
  "type": "string"
4204
- },
4205
- "channels": {
4206
- "type": "pushwoosh.cj.journey.Channel",
4207
- "array": true
4208
4192
  }
4209
4193
  }
4210
4194
  },
@@ -4222,23 +4206,27 @@ export const data = {
4222
4206
  }
4223
4207
  }
4224
4208
  },
4225
- "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.ChannelDeliveryReport": {
4209
+ "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse": {
4226
4210
  "type": "I",
4227
4211
  "fields": {
4228
- "channel": {
4229
- "type": "string"
4212
+ "push": {
4213
+ "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.DeliveryError",
4214
+ "array": true
4230
4215
  },
4231
- "errors": {
4216
+ "email": {
4232
4217
  "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.DeliveryError",
4233
4218
  "array": true
4234
- }
4235
- }
4236
- },
4237
- "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse": {
4238
- "type": "I",
4239
- "fields": {
4240
- "channels": {
4241
- "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.ChannelDeliveryReport",
4219
+ },
4220
+ "whatsapp": {
4221
+ "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.DeliveryError",
4222
+ "array": true
4223
+ },
4224
+ "sms": {
4225
+ "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.DeliveryError",
4226
+ "array": true
4227
+ },
4228
+ "inApp": {
4229
+ "type": "pushwoosh.cj.journey.GetJourneyDeliveryReportResponse.DeliveryError",
4242
4230
  "array": true
4243
4231
  }
4244
4232
  }
package/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export { data } from './data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.321",
3
+ "version": "0.26.323",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,3 +1,4 @@
1
+ import { DoubleValue as google_protobuf_DoubleValue } from './google_protobuf';
1
2
  import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
2
3
  export interface Journey {
3
4
  GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
@@ -45,7 +46,7 @@ export interface Journey {
45
46
  GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
46
47
  }
47
48
  export type GetPlaceholdersRequest = {
48
- templateCode: string;
49
+ templateCode?: string;
49
50
  };
50
51
  export type GetPlaceholdersResponse = {
51
52
  items: string[];
@@ -63,9 +64,9 @@ export type GetTagsResponse = {
63
64
  payload: TagResponse[];
64
65
  };
65
66
  export type TagsAutocompleteRequest = {
66
- query: string;
67
- tagName: string;
68
- tagType: TagType;
67
+ query?: string;
68
+ tagName?: string;
69
+ tagType?: TagType;
69
70
  };
70
71
  export type TagsAutocompleteResponse = {
71
72
  payload: TagsAutocompleteResponsePayload;
@@ -95,19 +96,19 @@ export type AutocompleteValue = {
95
96
  };
96
97
  export type WinnerStrategy = 'ANY_GOAL' | 'SPECIFIC_GOAL';
97
98
  export type UpdateABSSplitterParamsRequest = {
98
- journeyUuid: string;
99
- pointUuid: string;
100
- params: number[];
101
- autoSelectWinner: boolean;
102
- winnerStrategy: WinnerStrategy;
103
- goalUuid: string;
99
+ journeyUuid?: string;
100
+ pointUuid?: string;
101
+ params?: number[];
102
+ autoSelectWinner?: boolean;
103
+ winnerStrategy?: WinnerStrategy;
104
+ goalUuid?: string;
104
105
  };
105
106
  export type CloneJourneysRequest = {
106
- journeyUuids: string[];
107
- sourceAppCode: string;
108
- destAppCodes: string[];
109
- cloneWithContent: boolean;
110
- title: string;
107
+ journeyUuids?: string[];
108
+ sourceAppCode?: string;
109
+ destAppCodes?: string[];
110
+ cloneWithContent?: boolean;
111
+ title?: string;
111
112
  };
112
113
  export type CloneJourneysResponse = {
113
114
  clonedJourneys: Record<string, JourneyUUIDs>;
@@ -116,9 +117,9 @@ export type JourneyUUIDs = {
116
117
  journeyUuids: string[];
117
118
  };
118
119
  export type GetJourneyQuickStatsByPointsRequest = {
119
- uuid: string;
120
- fromDate: string;
121
- toDate: string;
120
+ uuid?: string;
121
+ fromDate?: string;
122
+ toDate?: string;
122
123
  };
123
124
  export type GetJourneyQuickStatsByPointsResponse = {
124
125
  metadata: JourneyStatsByPointMeta;
@@ -254,7 +255,7 @@ export type PointStatDelay = {};
254
255
  export type PointStatBooleanSplitter = {};
255
256
  export type PointStatWaitEvent = {};
256
257
  export type GetJourneyStatsRequest = {
257
- journeyIds: string[];
258
+ journeyIds?: string[];
258
259
  };
259
260
  export type GetJourneyStatsResponse = {
260
261
  metadata: JourneyStatsMeta;
@@ -269,26 +270,26 @@ export type JourneyStatsPayloadGet = {
269
270
  export type JourneySummaryStats = {
270
271
  in: number;
271
272
  goals: number;
272
- avrCTR: number;
273
+ avrCTR: google_protobuf_DoubleValue;
273
274
  };
274
275
  export type RenameRequest = {
275
- uuid: string;
276
- title: string;
276
+ uuid?: string;
277
+ title?: string;
277
278
  };
278
279
  export type DeleteRequest = {
279
- uuid: string;
280
+ uuid?: string;
280
281
  };
281
282
  export type CreateRequest = {
282
- title: string;
283
- params: JourneyParams;
284
- points: Point[];
285
- comments: JourneyComment[];
283
+ title?: string;
284
+ params?: JourneyParams;
285
+ points?: Point[];
286
+ comments?: JourneyComment[];
286
287
  };
287
288
  export type GetHistoryRequest = {
288
- uuid: string;
289
- userId: number;
290
- pageSize: number;
291
- page: number;
289
+ uuid?: string;
290
+ userId?: number;
291
+ pageSize?: number;
292
+ page?: number;
292
293
  };
293
294
  export type GetHistoryResponse = {
294
295
  items: HistoryItem[];
@@ -407,30 +408,30 @@ export type CommentsChangelog = {
407
408
  commentPositions: ChangelogRecords;
408
409
  };
409
410
  export type UpdateJourneyRequest = {
410
- uuid: string;
411
- title: string;
412
- params: JourneyParams;
413
- points: Point[];
414
- comments: JourneyComment[];
415
- autosave: boolean;
411
+ uuid?: string;
412
+ title?: string;
413
+ params?: JourneyParams;
414
+ points?: Point[];
415
+ comments?: JourneyComment[];
416
+ autosave?: boolean;
416
417
  };
417
418
  export type GetJourneysListRequest = {
418
- applicationCode: string;
419
- statuses: JourneyStatus[];
420
- categoryUuids: string[];
421
- filterTitle: string;
422
- sorting: Sorting[];
423
- page: number;
424
- pageSize: number;
425
- campaignTypes: CampaignType[];
426
- uuidList: string[];
419
+ applicationCode?: string;
420
+ statuses?: JourneyStatus[];
421
+ categoryUuids?: string[];
422
+ filterTitle?: string;
423
+ sorting?: Sorting[];
424
+ page?: number;
425
+ pageSize?: number;
426
+ campaignTypes?: CampaignType[];
427
+ uuidList?: string[];
427
428
  };
428
429
  export type GetJourneysListResponse = {
429
430
  journeys: Info[];
430
431
  total: number;
431
432
  };
432
433
  export type GetJourneyByUUIDRequest = {
433
- uuid: string;
434
+ uuid?: string;
434
435
  };
435
436
  export type GetJourneyByUUIDResponse = {
436
437
  info: Info;
@@ -496,61 +497,61 @@ export type UpdateAndResumeJourneyResponseV2 = {
496
497
  validation: ValidateJourneyResponse;
497
498
  };
498
499
  export type StartJourneyV2Request = {
499
- uuid: string;
500
+ uuid?: string;
500
501
  };
501
502
  export type PauseJourneyV2Request = {
502
- uuid: string;
503
+ uuid?: string;
503
504
  };
504
505
  export type FinishJourneyV2Request = {
505
- uuid: string;
506
+ uuid?: string;
506
507
  };
507
508
  export type DraftJourneyV2Request = {
508
- uuid: string;
509
+ uuid?: string;
509
510
  };
510
511
  export type ArchiveJourneyV2Request = {
511
- uuid: string;
512
+ uuid?: string;
512
513
  };
513
514
  export type UpdateJourneyV2Request = {
514
- uuid: string;
515
- title: string;
516
- params: JourneyParams;
517
- points: Point[];
518
- comments: JourneyComment[];
519
- autosave: boolean;
515
+ uuid?: string;
516
+ title?: string;
517
+ params?: JourneyParams;
518
+ points?: Point[];
519
+ comments?: JourneyComment[];
520
+ autosave?: boolean;
520
521
  };
521
522
  export type UpdateAndResumeJourneyV2Request = {
522
- uuid: string;
523
- title: string;
524
- params: JourneyParams;
525
- points: Point[];
526
- comments: JourneyComment[];
527
- autosave: boolean;
523
+ uuid?: string;
524
+ title?: string;
525
+ params?: JourneyParams;
526
+ points?: Point[];
527
+ comments?: JourneyComment[];
528
+ autosave?: boolean;
528
529
  };
529
530
  export type CreateV2Request = {
530
- title: string;
531
- params: JourneyParams;
532
- points: Point[];
533
- comments: JourneyComment[];
531
+ title?: string;
532
+ params?: JourneyParams;
533
+ points?: Point[];
534
+ comments?: JourneyComment[];
534
535
  };
535
536
  export type RenameV2Request = {
536
- uuid: string;
537
- title: string;
537
+ uuid?: string;
538
+ title?: string;
538
539
  };
539
540
  export type UpdateABSSplitterParamsV2Request = {
540
- journeyUuid: string;
541
- pointUuid: string;
542
- params: number[];
543
- autoSelectWinner: boolean;
544
- winnerStrategy: WinnerStrategy;
545
- goalUuid: string;
541
+ journeyUuid?: string;
542
+ pointUuid?: string;
543
+ params?: number[];
544
+ autoSelectWinner?: boolean;
545
+ winnerStrategy?: WinnerStrategy;
546
+ goalUuid?: string;
546
547
  };
547
548
  export type ValidateJourneyV2Request = {
548
- uuid: string;
549
+ uuid?: string;
549
550
  };
550
551
  export type MoveJourneysToCategoryRequest = {
551
- journeyUuids: string[];
552
- categoryUuid: string;
553
- applicationCode: string;
552
+ journeyUuids?: string[];
553
+ categoryUuid?: string;
554
+ applicationCode?: string;
554
555
  };
555
556
  export type MoveJourneysToCategoryResponse = {
556
557
  journeys: Info[];
@@ -568,8 +569,8 @@ export type PointValidationError = {
568
569
  message: string;
569
570
  };
570
571
  export type GetUserFlowRequest = {
571
- uuid: string;
572
- userId: string;
572
+ uuid?: string;
573
+ userId?: string;
573
574
  };
574
575
  export type GetUserFlowResponse_Status = 'success' | 'error' | 'break_path';
575
576
  export type GetUserFlowResponse_Point = {
@@ -1278,9 +1279,9 @@ export type InboxOptions = {
1278
1279
  richMediaCode: string;
1279
1280
  };
1280
1281
  export type GetJourneyStatsByPointsExternalRequest = {
1281
- uuid: string;
1282
- fromDate: string;
1283
- toDate: string;
1282
+ uuid?: string;
1283
+ fromDate?: string;
1284
+ toDate?: string;
1284
1285
  };
1285
1286
  export type GetJourneyStatsByPointsExternalResponse = {
1286
1287
  payload: JourneyStatsByPointsExternalResponsePayload;
@@ -1296,9 +1297,9 @@ export type JourneyStatsByPointsExternalItemGet = {
1296
1297
  pointStat: PointStat;
1297
1298
  };
1298
1299
  export type GetJourneyStatsByPointRequest = {
1299
- uuid: string;
1300
- fromDate: string;
1301
- toDate: string;
1300
+ uuid?: string;
1301
+ fromDate?: string;
1302
+ toDate?: string;
1302
1303
  };
1303
1304
  export type GetJourneyStatsByPointResponse = {
1304
1305
  metadata: JourneyStatsByPointMeta;
@@ -1395,10 +1396,10 @@ export type AccountRestrictionValues = {
1395
1396
  allowCjLine: boolean;
1396
1397
  };
1397
1398
  export type GetJourneyGeneralTimeStatisticsRequest = {
1398
- uuid: string;
1399
- application: string;
1400
- timestampFrom: string;
1401
- timestampTo: string;
1399
+ uuid?: string;
1400
+ application?: string;
1401
+ timestampFrom?: string;
1402
+ timestampTo?: string;
1402
1403
  };
1403
1404
  export type GetJourneyGeneralTimeStatisticsResponse_MetricTimeseries = {
1404
1405
  breakdown: string;
@@ -1417,13 +1418,13 @@ export type GetJourneyGeneralTimeStatisticsResponse = {
1417
1418
  recipients: number;
1418
1419
  };
1419
1420
  export type GetJourneyUsersRequest = {
1420
- uuid: string;
1421
- application: string;
1422
- search: string;
1423
- timestampFrom: string;
1424
- timestampTo: string;
1425
- pageSize: number;
1426
- page: number;
1421
+ uuid?: string;
1422
+ application?: string;
1423
+ search?: string;
1424
+ timestampFrom?: string;
1425
+ timestampTo?: string;
1426
+ pageSize?: number;
1427
+ page?: number;
1427
1428
  };
1428
1429
  export type UserStatus = 'unknown' | 'inJourneyNow' | 'exited' | 'droppedOff' | 'goalReached';
1429
1430
  export type GetJourneyUsersResponse_UserPoint = {
@@ -1440,12 +1441,11 @@ export type GetJourneyUsersResponse = {
1440
1441
  };
1441
1442
  export type Channel = 'CHANNEL_UNSPECIFIED' | 'PUSH' | 'EMAIL' | 'WHATSAPP' | 'SMS' | 'IN_APP';
1442
1443
  export type GetJourneyMetricsRequest = {
1443
- uuid: string;
1444
- application: string;
1445
- timestampFrom: Date;
1446
- timestampTo: Date;
1447
- timezone: string;
1448
- channels: Channel[];
1444
+ uuid?: string;
1445
+ application?: string;
1446
+ timestampFrom?: Date;
1447
+ timestampTo?: Date;
1448
+ timezone?: string;
1449
1449
  };
1450
1450
  export type GetJourneyMetricsResponse_PushMetrics = {
1451
1451
  sends: number[];
@@ -1470,7 +1470,6 @@ export type GetJourneyMetricsResponse_SMSMetrics = {
1470
1470
  deliveryIssues: number[];
1471
1471
  };
1472
1472
  export type GetJourneyMetricsResponse_InAppMetrics = {
1473
- sends: number[];
1474
1473
  impressions: number[];
1475
1474
  interactions: number[];
1476
1475
  deliveryIssues: number[];
@@ -1512,7 +1511,6 @@ export type GetJourneyMetricsResponse_SMSTotals = {
1512
1511
  errors: number;
1513
1512
  };
1514
1513
  export type GetJourneyMetricsResponse_InAppTotals = {
1515
- sent: number;
1516
1514
  impressions: number;
1517
1515
  interactions: number;
1518
1516
  errors: number;
@@ -1530,24 +1528,23 @@ export type GetJourneyMetricsResponse = {
1530
1528
  totals: GetJourneyMetricsResponse_ChannelTotals;
1531
1529
  };
1532
1530
  export type GetJourneyDeliveryReportRequest = {
1533
- application: string;
1534
- uuid: string;
1535
- timestampFrom: Date;
1536
- timestampTo: Date;
1537
- timezone: string;
1538
- channels: Channel[];
1531
+ application?: string;
1532
+ uuid?: string;
1533
+ timestampFrom?: Date;
1534
+ timestampTo?: Date;
1535
+ timezone?: string;
1539
1536
  };
1540
1537
  export type GetJourneyDeliveryReportResponse_DeliveryError = {
1541
1538
  name: string;
1542
1539
  description: string;
1543
1540
  count: number;
1544
1541
  };
1545
- export type GetJourneyDeliveryReportResponse_ChannelDeliveryReport = {
1546
- channel: string;
1547
- errors: GetJourneyDeliveryReportResponse_DeliveryError[];
1548
- };
1549
1542
  export type GetJourneyDeliveryReportResponse = {
1550
- channels: GetJourneyDeliveryReportResponse_ChannelDeliveryReport[];
1543
+ push: GetJourneyDeliveryReportResponse_DeliveryError[];
1544
+ email: GetJourneyDeliveryReportResponse_DeliveryError[];
1545
+ whatsapp: GetJourneyDeliveryReportResponse_DeliveryError[];
1546
+ sms: GetJourneyDeliveryReportResponse_DeliveryError[];
1547
+ inApp: GetJourneyDeliveryReportResponse_DeliveryError[];
1551
1548
  };
1552
1549
  export type MultiEntry = {
1553
1550
  enabled: boolean;
@@ -1558,7 +1555,7 @@ export type AttributeEntry = {
1558
1555
  attributeName: string;
1559
1556
  };
1560
1557
  export type GetVoucherPoolsRequest = {
1561
- applicationCode: string;
1558
+ applicationCode?: string;
1562
1559
  };
1563
1560
  export type GetVoucherPoolsResponse = {
1564
1561
  payload: VoucherPool[];
@@ -1567,7 +1564,7 @@ export type VoucherPool = {
1567
1564
  name: string;
1568
1565
  };
1569
1566
  export type GetWhatsAppPresetsByAppCodeRequest = {
1570
- code: string;
1567
+ code?: string;
1571
1568
  };
1572
1569
  export type GetWhatsAppPresetsByAppCodeResponse = {
1573
1570
  payload: WhatsAppPresetsByAppCodePayload;
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -5,30 +5,30 @@ export interface Category {
5
5
  DeleteCategory(request: DeleteCategoryRequest): Promise<DeleteCategoryResponse>;
6
6
  }
7
7
  export type GetCategoriesListRequest = {
8
- applicationCode: string;
9
- page: number;
10
- pageSize: number;
8
+ applicationCode?: string;
9
+ page?: number;
10
+ pageSize?: number;
11
11
  };
12
12
  export type GetCategoriesListResponse = {
13
13
  categories: Info[];
14
14
  };
15
15
  export type CreateCategoryRequest = {
16
- applicationCode: string;
17
- title: string;
16
+ applicationCode?: string;
17
+ title?: string;
18
18
  };
19
19
  export type CreateCategoryResponse = {
20
20
  category: Info;
21
21
  };
22
22
  export type UpdateCategoryRequest = {
23
- applicationCode: string;
24
- title: string;
25
- uuid: string;
23
+ applicationCode?: string;
24
+ title?: string;
25
+ uuid?: string;
26
26
  };
27
27
  export type UpdateCategoryResponse = {
28
28
  category: Info;
29
29
  };
30
30
  export type DeleteCategoryRequest = {
31
- uuid: string;
31
+ uuid?: string;
32
32
  };
33
33
  export type DeleteCategoryResponse = {
34
34
  affectedJourneyUuids: string[];
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -248,163 +248,163 @@ export interface FiltersCrudService {
248
248
  UpdateDeviceLoadPolicy(request: UpdateDeviceLoadPolicyRequest): Promise<{}>;
249
249
  }
250
250
  export type CreateRequest = {
251
- Code: string;
252
- AccountID: number;
253
- Name: string;
254
- ApplicationID: number;
255
- IsFiltrationInProgress: boolean;
256
- FiltrationStartedAt: Date;
257
- FiltrationLastFilteredAt: Date;
258
- FiltrationLastCheckedAt: Date;
259
- FiltrationScheduledAt: Date;
260
- CheckerScheduledAt: Date;
261
- IsSystem: boolean;
262
- ExpirationDate: Date;
263
- Created: Date;
264
- FilterExpressionRaw: string;
265
- FiltrationID: string;
266
- Updated: Date;
267
- Description: string;
268
- DeviceLoadPolicy: string;
251
+ Code?: string;
252
+ AccountID?: number;
253
+ Name?: string;
254
+ ApplicationID?: number;
255
+ IsFiltrationInProgress?: boolean;
256
+ FiltrationStartedAt?: Date;
257
+ FiltrationLastFilteredAt?: Date;
258
+ FiltrationLastCheckedAt?: Date;
259
+ FiltrationScheduledAt?: Date;
260
+ CheckerScheduledAt?: Date;
261
+ IsSystem?: boolean;
262
+ ExpirationDate?: Date;
263
+ Created?: Date;
264
+ FilterExpressionRaw?: string;
265
+ FiltrationID?: string;
266
+ Updated?: Date;
267
+ Description?: string;
268
+ DeviceLoadPolicy?: string;
269
269
  };
270
270
  export type CreateResponse = {
271
271
  filter: Filter;
272
272
  };
273
273
  export type CreateManyRequest = {
274
- filters: CreateRequest[];
274
+ filters?: CreateRequest[];
275
275
  };
276
276
  export type CreateManyResponse = {
277
277
  filters: CreateResponse[];
278
278
  };
279
279
  export type DeleteRequest = {
280
- ID: number;
280
+ ID?: number;
281
281
  };
282
282
  export type DeleteManyRequest = {
283
- where: LogicExpression;
283
+ where?: LogicExpression;
284
284
  };
285
285
  export type DeleteManyResponse = {
286
286
  count: number;
287
287
  };
288
288
  export type CountRequest = {
289
- where: LogicExpression;
289
+ where?: LogicExpression;
290
290
  };
291
291
  export type CountResponse = {
292
292
  count: number;
293
293
  };
294
294
  export type GetPageRequest = {
295
- where: LogicExpression;
296
- sort: SortExpression;
297
- pageSize: number;
298
- pageNum: number;
299
- forLock: ForExpression;
295
+ where?: LogicExpression;
296
+ sort?: SortExpression;
297
+ pageSize?: number;
298
+ pageNum?: number;
299
+ forLock?: ForExpression;
300
300
  };
301
301
  export type GetPageResponse = {
302
302
  filters: Filter[];
303
303
  total: number;
304
304
  };
305
305
  export type ListRequest = {
306
- where: LogicExpression;
307
- sort: SortExpression;
308
- pageSize: number;
309
- forLock: ForExpression;
306
+ where?: LogicExpression;
307
+ sort?: SortExpression;
308
+ pageSize?: number;
309
+ forLock?: ForExpression;
310
310
  };
311
311
  export type ListResponse = {
312
312
  paginationToken: string;
313
313
  };
314
314
  export type PaginateRequest = {
315
- nextPageToken: string;
315
+ nextPageToken?: string;
316
316
  };
317
317
  export type PaginateResponse = {
318
318
  filters: Filter[];
319
319
  nextPageToken: string;
320
320
  };
321
321
  export type UpdateCodeRequest = {
322
- ID: number;
323
- value: string;
322
+ ID?: number;
323
+ value?: string;
324
324
  };
325
325
  export type UpdateAccountIDRequest = {
326
- ID: number;
327
- value: number;
326
+ ID?: number;
327
+ value?: number;
328
328
  };
329
329
  export type UpdateNameRequest = {
330
- ID: number;
331
- value: string;
330
+ ID?: number;
331
+ value?: string;
332
332
  };
333
333
  export type UpdateApplicationIDRequest = {
334
- ID: number;
335
- value: number;
334
+ ID?: number;
335
+ value?: number;
336
336
  };
337
337
  export type UpdateIsFiltrationInProgressRequest = {
338
- ID: number;
339
- value: boolean;
338
+ ID?: number;
339
+ value?: boolean;
340
340
  };
341
341
  export type UpdateFiltrationStartedAtRequest = {
342
- ID: number;
343
- value: Date;
342
+ ID?: number;
343
+ value?: Date;
344
344
  };
345
345
  export type UpdateFiltrationLastFilteredAtRequest = {
346
- ID: number;
347
- value: Date;
346
+ ID?: number;
347
+ value?: Date;
348
348
  };
349
349
  export type UpdateFiltrationLastCheckedAtRequest = {
350
- ID: number;
351
- value: Date;
350
+ ID?: number;
351
+ value?: Date;
352
352
  };
353
353
  export type UpdateFiltrationScheduledAtRequest = {
354
- ID: number;
355
- value: Date;
354
+ ID?: number;
355
+ value?: Date;
356
356
  };
357
357
  export type UpdateCheckerScheduledAtRequest = {
358
- ID: number;
359
- value: Date;
358
+ ID?: number;
359
+ value?: Date;
360
360
  };
361
361
  export type UpdateIsSystemRequest = {
362
- ID: number;
363
- value: boolean;
362
+ ID?: number;
363
+ value?: boolean;
364
364
  };
365
365
  export type UpdateExpirationDateRequest = {
366
- ID: number;
367
- value: Date;
366
+ ID?: number;
367
+ value?: Date;
368
368
  };
369
369
  export type UpdateCreatedRequest = {
370
- ID: number;
371
- value: Date;
370
+ ID?: number;
371
+ value?: Date;
372
372
  };
373
373
  export type UpdateFilterExpressionRawRequest = {
374
- ID: number;
375
- value: string;
374
+ ID?: number;
375
+ value?: string;
376
376
  };
377
377
  export type UpdateFiltrationIDRequest = {
378
- ID: number;
379
- value: string;
378
+ ID?: number;
379
+ value?: string;
380
380
  };
381
381
  export type UpdateUpdatedRequest = {
382
- ID: number;
383
- value: Date;
382
+ ID?: number;
383
+ value?: Date;
384
384
  };
385
385
  export type UpdateDescriptionRequest = {
386
- ID: number;
387
- value: string;
386
+ ID?: number;
387
+ value?: string;
388
388
  };
389
389
  export type UpdateDeviceLoadPolicyRequest = {
390
- ID: number;
391
- value: string;
390
+ ID?: number;
391
+ value?: string;
392
392
  };
393
393
  export type GetRequest = {
394
- ID: number;
394
+ ID?: number;
395
395
  };
396
396
  export type GetResponse = {
397
397
  filter: Filter;
398
398
  };
399
399
  export type LoadByCodeRequest = {
400
- Code: string;
400
+ Code?: string;
401
401
  };
402
402
  export type LoadByCodeResponse = {
403
403
  filter: Filter;
404
404
  };
405
405
  export type LoadByAccountIDNameRequest = {
406
- AccountID: number;
407
- Name: string;
406
+ AccountID?: number;
407
+ Name?: string;
408
408
  };
409
409
  export type LoadByAccountIDNameResponse = {
410
410
  filter: Filter;
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};