@pushwoosh/rpc-v2-http-api-data 0.2.5 → 0.2.7

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/accounts.d.ts CHANGED
@@ -346,6 +346,14 @@ export type EmailContent_Smartcards = {
346
346
  /** Smartcards editor content */
347
347
  content: object;
348
348
  };
349
+ export type EmailContent_Vibeblocks = {
350
+ /** Raw html */
351
+ html: string;
352
+ /** Localization map {"en": {"variable":"value"}...} */
353
+ localizationData: object;
354
+ /** Vibeblocks editor content */
355
+ content: object;
356
+ };
349
357
  export type EmailContent_kind_unlayer = {
350
358
  type: 'unlayer';
351
359
  data: EmailContent_Unlayer;
@@ -366,7 +374,11 @@ export type EmailContent_kind_smartcards = {
366
374
  type: 'smartcards';
367
375
  data: EmailContent_Smartcards;
368
376
  };
369
- export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw | EmailContent_kind_mjml | EmailContent_kind_smartcards;
377
+ export type EmailContent_kind_vibeblocks = {
378
+ type: 'vibeblocks';
379
+ data: EmailContent_Vibeblocks;
380
+ };
381
+ export type EmailContent_kind = EmailContent_kind_unlayer | EmailContent_kind_pushwoosh | EmailContent_kind_raw | EmailContent_kind_mjml | EmailContent_kind_smartcards | EmailContent_kind_vibeblocks;
370
382
  export type EmailContent = {
371
383
  senderInfo: EmailContent_SenderInfo;
372
384
  /** subject map {"en": "subject_content"...} */
package/data.js CHANGED
@@ -7630,6 +7630,20 @@ export const data = {
7630
7630
  }
7631
7631
  }
7632
7632
  },
7633
+ "pushwoosh.rpc_v2.accounts.EmailContent.Vibeblocks": {
7634
+ "type": "I",
7635
+ "fields": {
7636
+ "html": {
7637
+ "type": "string"
7638
+ },
7639
+ "localizationData": {
7640
+ "type": "object"
7641
+ },
7642
+ "content": {
7643
+ "type": "object"
7644
+ }
7645
+ }
7646
+ },
7633
7647
  "pushwoosh.rpc_v2.accounts.EmailContent": {
7634
7648
  "type": "I",
7635
7649
  "fields": {
@@ -7654,6 +7668,9 @@ export const data = {
7654
7668
  },
7655
7669
  "smartcards": {
7656
7670
  "type": "pushwoosh.rpc_v2.accounts.EmailContent.Smartcards"
7671
+ },
7672
+ "vibeblocks": {
7673
+ "type": "pushwoosh.rpc_v2.accounts.EmailContent.Vibeblocks"
7657
7674
  }
7658
7675
  },
7659
7676
  "oneofs": {
@@ -7663,7 +7680,8 @@ export const data = {
7663
7680
  "pushwoosh",
7664
7681
  "raw",
7665
7682
  "mjml",
7666
- "smartcards"
7683
+ "smartcards",
7684
+ "vibeblocks"
7667
7685
  ]
7668
7686
  }
7669
7687
  }
@@ -15584,20 +15602,6 @@ export const data = {
15584
15602
  }
15585
15603
  }
15586
15604
  },
15587
- "pushwoosh.objects.filters.v1.__filter_collection_internal": {
15588
- "type": "I",
15589
- "fields": {
15590
- "f1": {
15591
- "type": "string"
15592
- },
15593
- "f2": {
15594
- "type": "Date"
15595
- },
15596
- "f3": {
15597
- "type": "pushwoosh.objects.filters.v1.Filter"
15598
- }
15599
- }
15600
- },
15601
15605
  "pushwoosh.objects.filters.v1.LogicExpression.Binary.Operator": {
15602
15606
  "type": "E",
15603
15607
  "values": [
@@ -16112,691 +16116,6 @@ export const data = {
16112
16116
  }
16113
16117
  }
16114
16118
  },
16115
- "pushwoosh.objects.filters.v1.__filter_crud_service_internal": {
16116
- "type": "I",
16117
- "fields": {
16118
- "f1": {
16119
- "type": "string"
16120
- },
16121
- "f2": {
16122
- "type": "Date"
16123
- },
16124
- "f3": {
16125
- "type": "{}"
16126
- }
16127
- }
16128
- },
16129
- "pushwoosh.objects.filters.v1.FiltersCrudService": {
16130
- "type": "S",
16131
- "key": "filtersCrud",
16132
- "methods": {
16133
- "Create": {
16134
- "request": "pushwoosh.objects.filters.v1.CreateRequest",
16135
- "response": "pushwoosh.objects.filters.v1.CreateResponse",
16136
- "method": "post",
16137
- "path": "/v1/objects/filters"
16138
- },
16139
- "CreateMany": {
16140
- "request": "pushwoosh.objects.filters.v1.CreateManyRequest",
16141
- "response": "pushwoosh.objects.filters.v1.CreateManyResponse",
16142
- "method": "post",
16143
- "path": "/v1/objects/filters:many"
16144
- },
16145
- "Get": {
16146
- "request": "pushwoosh.objects.filters.v1.GetRequest",
16147
- "response": "pushwoosh.objects.filters.v1.GetResponse",
16148
- "method": "get",
16149
- "path": "/v1/objects/filters/ID/{ID}"
16150
- },
16151
- "LoadByCode": {
16152
- "request": "pushwoosh.objects.filters.v1.LoadByCodeRequest",
16153
- "response": "pushwoosh.objects.filters.v1.LoadByCodeResponse",
16154
- "method": "get",
16155
- "path": "/v1/objects/filters/Code/{Code}"
16156
- },
16157
- "LoadByAccountIDName": {
16158
- "request": "pushwoosh.objects.filters.v1.LoadByAccountIDNameRequest",
16159
- "response": "pushwoosh.objects.filters.v1.LoadByAccountIDNameResponse",
16160
- "method": "get",
16161
- "path": "/v1/objects/filters/AccountID/{AccountID}/Name/{Name}"
16162
- },
16163
- "Delete": {
16164
- "request": "pushwoosh.objects.filters.v1.DeleteRequest",
16165
- "response": "{}",
16166
- "method": "delete",
16167
- "path": "/v1/objects/filters/ID/{ID}"
16168
- },
16169
- "DeleteMany": {
16170
- "request": "pushwoosh.objects.filters.v1.DeleteManyRequest",
16171
- "response": "pushwoosh.objects.filters.v1.DeleteManyResponse",
16172
- "method": "delete",
16173
- "path": "/v1/objects/filters:deleteMany"
16174
- },
16175
- "Count": {
16176
- "request": "pushwoosh.objects.filters.v1.CountRequest",
16177
- "response": "pushwoosh.objects.filters.v1.CountResponse",
16178
- "method": "get",
16179
- "path": "/v1/objects/filters:count"
16180
- },
16181
- "GetPage": {
16182
- "request": "pushwoosh.objects.filters.v1.GetPageRequest",
16183
- "response": "pushwoosh.objects.filters.v1.GetPageResponse",
16184
- "method": "get",
16185
- "path": "/v1/objects/filters:getPage"
16186
- },
16187
- "List": {
16188
- "request": "pushwoosh.objects.filters.v1.ListRequest",
16189
- "response": "pushwoosh.objects.filters.v1.ListResponse",
16190
- "method": "get",
16191
- "path": "/v1/objects/filters:list"
16192
- },
16193
- "Paginate": {
16194
- "request": "pushwoosh.objects.filters.v1.PaginateRequest",
16195
- "response": "pushwoosh.objects.filters.v1.PaginateResponse",
16196
- "method": "get",
16197
- "path": "/v1/objects/filters:paginate"
16198
- },
16199
- "UpdateCode": {
16200
- "request": "pushwoosh.objects.filters.v1.UpdateCodeRequest",
16201
- "response": "{}",
16202
- "method": "patch",
16203
- "path": "/v1/objects/filters/ID/{ID}/update/Code"
16204
- },
16205
- "UpdateAccountID": {
16206
- "request": "pushwoosh.objects.filters.v1.UpdateAccountIDRequest",
16207
- "response": "{}",
16208
- "method": "patch",
16209
- "path": "/v1/objects/filters/ID/{ID}/update/AccountID"
16210
- },
16211
- "UpdateName": {
16212
- "request": "pushwoosh.objects.filters.v1.UpdateNameRequest",
16213
- "response": "{}",
16214
- "method": "patch",
16215
- "path": "/v1/objects/filters/ID/{ID}/update/Name"
16216
- },
16217
- "UpdateApplicationID": {
16218
- "request": "pushwoosh.objects.filters.v1.UpdateApplicationIDRequest",
16219
- "response": "{}",
16220
- "method": "patch",
16221
- "path": "/v1/objects/filters/ID/{ID}/update/ApplicationID"
16222
- },
16223
- "UpdateIsFiltrationInProgress": {
16224
- "request": "pushwoosh.objects.filters.v1.UpdateIsFiltrationInProgressRequest",
16225
- "response": "{}",
16226
- "method": "patch",
16227
- "path": "/v1/objects/filters/ID/{ID}/update/IsFiltrationInProgress"
16228
- },
16229
- "UpdateFiltrationStartedAt": {
16230
- "request": "pushwoosh.objects.filters.v1.UpdateFiltrationStartedAtRequest",
16231
- "response": "{}",
16232
- "method": "patch",
16233
- "path": "/v1/objects/filters/ID/{ID}/update/FiltrationStartedAt"
16234
- },
16235
- "UpdateFiltrationLastFilteredAt": {
16236
- "request": "pushwoosh.objects.filters.v1.UpdateFiltrationLastFilteredAtRequest",
16237
- "response": "{}",
16238
- "method": "patch",
16239
- "path": "/v1/objects/filters/ID/{ID}/update/FiltrationLastFilteredAt"
16240
- },
16241
- "UpdateFiltrationLastCheckedAt": {
16242
- "request": "pushwoosh.objects.filters.v1.UpdateFiltrationLastCheckedAtRequest",
16243
- "response": "{}",
16244
- "method": "patch",
16245
- "path": "/v1/objects/filters/ID/{ID}/update/FiltrationLastCheckedAt"
16246
- },
16247
- "UpdateFiltrationScheduledAt": {
16248
- "request": "pushwoosh.objects.filters.v1.UpdateFiltrationScheduledAtRequest",
16249
- "response": "{}",
16250
- "method": "patch",
16251
- "path": "/v1/objects/filters/ID/{ID}/update/FiltrationScheduledAt"
16252
- },
16253
- "UpdateCheckerScheduledAt": {
16254
- "request": "pushwoosh.objects.filters.v1.UpdateCheckerScheduledAtRequest",
16255
- "response": "{}",
16256
- "method": "patch",
16257
- "path": "/v1/objects/filters/ID/{ID}/update/CheckerScheduledAt"
16258
- },
16259
- "UpdateIsSystem": {
16260
- "request": "pushwoosh.objects.filters.v1.UpdateIsSystemRequest",
16261
- "response": "{}",
16262
- "method": "patch",
16263
- "path": "/v1/objects/filters/ID/{ID}/update/IsSystem"
16264
- },
16265
- "UpdateExpirationDate": {
16266
- "request": "pushwoosh.objects.filters.v1.UpdateExpirationDateRequest",
16267
- "response": "{}",
16268
- "method": "patch",
16269
- "path": "/v1/objects/filters/ID/{ID}/update/ExpirationDate"
16270
- },
16271
- "UpdateCreated": {
16272
- "request": "pushwoosh.objects.filters.v1.UpdateCreatedRequest",
16273
- "response": "{}",
16274
- "method": "patch",
16275
- "path": "/v1/objects/filters/ID/{ID}/update/Created"
16276
- },
16277
- "UpdateFilterExpressionRaw": {
16278
- "request": "pushwoosh.objects.filters.v1.UpdateFilterExpressionRawRequest",
16279
- "response": "{}",
16280
- "method": "patch",
16281
- "path": "/v1/objects/filters/ID/{ID}/update/FilterExpressionRaw"
16282
- },
16283
- "UpdateFiltrationID": {
16284
- "request": "pushwoosh.objects.filters.v1.UpdateFiltrationIDRequest",
16285
- "response": "{}",
16286
- "method": "patch",
16287
- "path": "/v1/objects/filters/ID/{ID}/update/FiltrationID"
16288
- },
16289
- "UpdateUpdated": {
16290
- "request": "pushwoosh.objects.filters.v1.UpdateUpdatedRequest",
16291
- "response": "{}",
16292
- "method": "patch",
16293
- "path": "/v1/objects/filters/ID/{ID}/update/Updated"
16294
- },
16295
- "UpdateDescription": {
16296
- "request": "pushwoosh.objects.filters.v1.UpdateDescriptionRequest",
16297
- "response": "{}",
16298
- "method": "patch",
16299
- "path": "/v1/objects/filters/ID/{ID}/update/Description"
16300
- },
16301
- "UpdateDeviceLoadPolicy": {
16302
- "request": "pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest",
16303
- "response": "{}",
16304
- "method": "patch",
16305
- "path": "/v1/objects/filters/ID/{ID}/update/DeviceLoadPolicy"
16306
- },
16307
- "UpdateHighSpeed": {
16308
- "request": "pushwoosh.objects.filters.v1.UpdateHighSpeedRequest",
16309
- "response": "{}",
16310
- "method": "patch",
16311
- "path": "/v1/objects/filters/ID/{ID}/update/HighSpeed"
16312
- }
16313
- }
16314
- },
16315
- "pushwoosh.objects.filters.v1.CreateRequest": {
16316
- "type": "I",
16317
- "fields": {
16318
- "Code": {
16319
- "type": "string"
16320
- },
16321
- "AccountID": {
16322
- "type": "number"
16323
- },
16324
- "Name": {
16325
- "type": "string"
16326
- },
16327
- "ApplicationID": {
16328
- "type": "number"
16329
- },
16330
- "IsFiltrationInProgress": {
16331
- "type": "boolean"
16332
- },
16333
- "FiltrationStartedAt": {
16334
- "type": "Date"
16335
- },
16336
- "FiltrationLastFilteredAt": {
16337
- "type": "Date"
16338
- },
16339
- "FiltrationLastCheckedAt": {
16340
- "type": "Date"
16341
- },
16342
- "FiltrationScheduledAt": {
16343
- "type": "Date"
16344
- },
16345
- "CheckerScheduledAt": {
16346
- "type": "Date"
16347
- },
16348
- "IsSystem": {
16349
- "type": "boolean"
16350
- },
16351
- "ExpirationDate": {
16352
- "type": "Date"
16353
- },
16354
- "Created": {
16355
- "type": "Date"
16356
- },
16357
- "FilterExpressionRaw": {
16358
- "type": "string"
16359
- },
16360
- "FiltrationID": {
16361
- "type": "string"
16362
- },
16363
- "Updated": {
16364
- "type": "Date"
16365
- },
16366
- "Description": {
16367
- "type": "string"
16368
- },
16369
- "DeviceLoadPolicy": {
16370
- "type": "string"
16371
- },
16372
- "HighSpeed": {
16373
- "type": "boolean"
16374
- }
16375
- }
16376
- },
16377
- "pushwoosh.objects.filters.v1.CreateResponse": {
16378
- "type": "I",
16379
- "fields": {
16380
- "filter": {
16381
- "type": "pushwoosh.objects.filters.v1.Filter"
16382
- }
16383
- }
16384
- },
16385
- "pushwoosh.objects.filters.v1.CreateManyRequest": {
16386
- "type": "I",
16387
- "fields": {
16388
- "filters": {
16389
- "type": "pushwoosh.objects.filters.v1.CreateRequest",
16390
- "array": true
16391
- }
16392
- }
16393
- },
16394
- "pushwoosh.objects.filters.v1.CreateManyResponse": {
16395
- "type": "I",
16396
- "fields": {
16397
- "filters": {
16398
- "type": "pushwoosh.objects.filters.v1.CreateResponse",
16399
- "array": true
16400
- }
16401
- }
16402
- },
16403
- "pushwoosh.objects.filters.v1.DeleteRequest": {
16404
- "type": "I",
16405
- "fields": {
16406
- "ID": {
16407
- "type": "number"
16408
- }
16409
- }
16410
- },
16411
- "pushwoosh.objects.filters.v1.DeleteManyRequest": {
16412
- "type": "I",
16413
- "fields": {
16414
- "where": {
16415
- "type": "pushwoosh.objects.filters.v1.LogicExpression"
16416
- }
16417
- }
16418
- },
16419
- "pushwoosh.objects.filters.v1.DeleteManyResponse": {
16420
- "type": "I",
16421
- "fields": {
16422
- "count": {
16423
- "type": "number"
16424
- }
16425
- }
16426
- },
16427
- "pushwoosh.objects.filters.v1.CountRequest": {
16428
- "type": "I",
16429
- "fields": {
16430
- "where": {
16431
- "type": "pushwoosh.objects.filters.v1.LogicExpression"
16432
- }
16433
- }
16434
- },
16435
- "pushwoosh.objects.filters.v1.CountResponse": {
16436
- "type": "I",
16437
- "fields": {
16438
- "count": {
16439
- "type": "number"
16440
- }
16441
- }
16442
- },
16443
- "pushwoosh.objects.filters.v1.GetPageRequest": {
16444
- "type": "I",
16445
- "fields": {
16446
- "where": {
16447
- "type": "pushwoosh.objects.filters.v1.LogicExpression"
16448
- },
16449
- "sort": {
16450
- "type": "pushwoosh.objects.filters.v1.SortExpression"
16451
- },
16452
- "pageSize": {
16453
- "type": "number"
16454
- },
16455
- "pageNum": {
16456
- "type": "number"
16457
- },
16458
- "forLock": {
16459
- "type": "pushwoosh.objects.filters.v1.ForExpression"
16460
- }
16461
- }
16462
- },
16463
- "pushwoosh.objects.filters.v1.GetPageResponse": {
16464
- "type": "I",
16465
- "fields": {
16466
- "filters": {
16467
- "type": "pushwoosh.objects.filters.v1.Filter",
16468
- "array": true
16469
- },
16470
- "total": {
16471
- "type": "number"
16472
- }
16473
- }
16474
- },
16475
- "pushwoosh.objects.filters.v1.ListRequest": {
16476
- "type": "I",
16477
- "fields": {
16478
- "where": {
16479
- "type": "pushwoosh.objects.filters.v1.LogicExpression"
16480
- },
16481
- "sort": {
16482
- "type": "pushwoosh.objects.filters.v1.SortExpression"
16483
- },
16484
- "pageSize": {
16485
- "type": "number"
16486
- },
16487
- "forLock": {
16488
- "type": "pushwoosh.objects.filters.v1.ForExpression"
16489
- }
16490
- }
16491
- },
16492
- "pushwoosh.objects.filters.v1.ListResponse": {
16493
- "type": "I",
16494
- "fields": {
16495
- "paginationToken": {
16496
- "type": "string"
16497
- }
16498
- }
16499
- },
16500
- "pushwoosh.objects.filters.v1.PaginateRequest": {
16501
- "type": "I",
16502
- "fields": {
16503
- "nextPageToken": {
16504
- "type": "string"
16505
- }
16506
- }
16507
- },
16508
- "pushwoosh.objects.filters.v1.PaginateResponse": {
16509
- "type": "I",
16510
- "fields": {
16511
- "filters": {
16512
- "type": "pushwoosh.objects.filters.v1.Filter",
16513
- "array": true
16514
- },
16515
- "nextPageToken": {
16516
- "type": "string"
16517
- }
16518
- }
16519
- },
16520
- "pushwoosh.objects.filters.v1.UpdateCodeRequest": {
16521
- "type": "I",
16522
- "fields": {
16523
- "ID": {
16524
- "type": "number"
16525
- },
16526
- "value": {
16527
- "type": "string"
16528
- }
16529
- }
16530
- },
16531
- "pushwoosh.objects.filters.v1.UpdateAccountIDRequest": {
16532
- "type": "I",
16533
- "fields": {
16534
- "ID": {
16535
- "type": "number"
16536
- },
16537
- "value": {
16538
- "type": "number"
16539
- }
16540
- }
16541
- },
16542
- "pushwoosh.objects.filters.v1.UpdateNameRequest": {
16543
- "type": "I",
16544
- "fields": {
16545
- "ID": {
16546
- "type": "number"
16547
- },
16548
- "value": {
16549
- "type": "string"
16550
- }
16551
- }
16552
- },
16553
- "pushwoosh.objects.filters.v1.UpdateApplicationIDRequest": {
16554
- "type": "I",
16555
- "fields": {
16556
- "ID": {
16557
- "type": "number"
16558
- },
16559
- "value": {
16560
- "type": "number"
16561
- }
16562
- }
16563
- },
16564
- "pushwoosh.objects.filters.v1.UpdateIsFiltrationInProgressRequest": {
16565
- "type": "I",
16566
- "fields": {
16567
- "ID": {
16568
- "type": "number"
16569
- },
16570
- "value": {
16571
- "type": "boolean"
16572
- }
16573
- }
16574
- },
16575
- "pushwoosh.objects.filters.v1.UpdateFiltrationStartedAtRequest": {
16576
- "type": "I",
16577
- "fields": {
16578
- "ID": {
16579
- "type": "number"
16580
- },
16581
- "value": {
16582
- "type": "Date"
16583
- }
16584
- }
16585
- },
16586
- "pushwoosh.objects.filters.v1.UpdateFiltrationLastFilteredAtRequest": {
16587
- "type": "I",
16588
- "fields": {
16589
- "ID": {
16590
- "type": "number"
16591
- },
16592
- "value": {
16593
- "type": "Date"
16594
- }
16595
- }
16596
- },
16597
- "pushwoosh.objects.filters.v1.UpdateFiltrationLastCheckedAtRequest": {
16598
- "type": "I",
16599
- "fields": {
16600
- "ID": {
16601
- "type": "number"
16602
- },
16603
- "value": {
16604
- "type": "Date"
16605
- }
16606
- }
16607
- },
16608
- "pushwoosh.objects.filters.v1.UpdateFiltrationScheduledAtRequest": {
16609
- "type": "I",
16610
- "fields": {
16611
- "ID": {
16612
- "type": "number"
16613
- },
16614
- "value": {
16615
- "type": "Date"
16616
- }
16617
- }
16618
- },
16619
- "pushwoosh.objects.filters.v1.UpdateCheckerScheduledAtRequest": {
16620
- "type": "I",
16621
- "fields": {
16622
- "ID": {
16623
- "type": "number"
16624
- },
16625
- "value": {
16626
- "type": "Date"
16627
- }
16628
- }
16629
- },
16630
- "pushwoosh.objects.filters.v1.UpdateIsSystemRequest": {
16631
- "type": "I",
16632
- "fields": {
16633
- "ID": {
16634
- "type": "number"
16635
- },
16636
- "value": {
16637
- "type": "boolean"
16638
- }
16639
- }
16640
- },
16641
- "pushwoosh.objects.filters.v1.UpdateExpirationDateRequest": {
16642
- "type": "I",
16643
- "fields": {
16644
- "ID": {
16645
- "type": "number"
16646
- },
16647
- "value": {
16648
- "type": "Date"
16649
- }
16650
- }
16651
- },
16652
- "pushwoosh.objects.filters.v1.UpdateCreatedRequest": {
16653
- "type": "I",
16654
- "fields": {
16655
- "ID": {
16656
- "type": "number"
16657
- },
16658
- "value": {
16659
- "type": "Date"
16660
- }
16661
- }
16662
- },
16663
- "pushwoosh.objects.filters.v1.UpdateFilterExpressionRawRequest": {
16664
- "type": "I",
16665
- "fields": {
16666
- "ID": {
16667
- "type": "number"
16668
- },
16669
- "value": {
16670
- "type": "string"
16671
- }
16672
- }
16673
- },
16674
- "pushwoosh.objects.filters.v1.UpdateFiltrationIDRequest": {
16675
- "type": "I",
16676
- "fields": {
16677
- "ID": {
16678
- "type": "number"
16679
- },
16680
- "value": {
16681
- "type": "string"
16682
- }
16683
- }
16684
- },
16685
- "pushwoosh.objects.filters.v1.UpdateUpdatedRequest": {
16686
- "type": "I",
16687
- "fields": {
16688
- "ID": {
16689
- "type": "number"
16690
- },
16691
- "value": {
16692
- "type": "Date"
16693
- }
16694
- }
16695
- },
16696
- "pushwoosh.objects.filters.v1.UpdateDescriptionRequest": {
16697
- "type": "I",
16698
- "fields": {
16699
- "ID": {
16700
- "type": "number"
16701
- },
16702
- "value": {
16703
- "type": "string"
16704
- }
16705
- }
16706
- },
16707
- "pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest": {
16708
- "type": "I",
16709
- "fields": {
16710
- "ID": {
16711
- "type": "number"
16712
- },
16713
- "value": {
16714
- "type": "string"
16715
- }
16716
- }
16717
- },
16718
- "pushwoosh.objects.filters.v1.UpdateHighSpeedRequest": {
16719
- "type": "I",
16720
- "fields": {
16721
- "ID": {
16722
- "type": "number"
16723
- },
16724
- "value": {
16725
- "type": "boolean"
16726
- }
16727
- }
16728
- },
16729
- "pushwoosh.objects.filters.v1.GetRequest": {
16730
- "type": "I",
16731
- "fields": {
16732
- "ID": {
16733
- "type": "number"
16734
- }
16735
- }
16736
- },
16737
- "pushwoosh.objects.filters.v1.GetResponse": {
16738
- "type": "I",
16739
- "fields": {
16740
- "filter": {
16741
- "type": "pushwoosh.objects.filters.v1.Filter"
16742
- }
16743
- }
16744
- },
16745
- "pushwoosh.objects.filters.v1.LoadByCodeRequest": {
16746
- "type": "I",
16747
- "fields": {
16748
- "Code": {
16749
- "type": "string"
16750
- }
16751
- }
16752
- },
16753
- "pushwoosh.objects.filters.v1.LoadByCodeResponse": {
16754
- "type": "I",
16755
- "fields": {
16756
- "filter": {
16757
- "type": "pushwoosh.objects.filters.v1.Filter"
16758
- }
16759
- }
16760
- },
16761
- "pushwoosh.objects.filters.v1.LoadByAccountIDNameRequest": {
16762
- "type": "I",
16763
- "fields": {
16764
- "AccountID": {
16765
- "type": "number"
16766
- },
16767
- "Name": {
16768
- "type": "string"
16769
- }
16770
- }
16771
- },
16772
- "pushwoosh.objects.filters.v1.LoadByAccountIDNameResponse": {
16773
- "type": "I",
16774
- "fields": {
16775
- "filter": {
16776
- "type": "pushwoosh.objects.filters.v1.Filter"
16777
- }
16778
- }
16779
- },
16780
- "pushwoosh.objects.filters.v1.JoinType": {
16781
- "type": "E",
16782
- "values": [
16783
- "JOIN_INVALID",
16784
- "JOIN_INNER",
16785
- "JOIN_LEFT",
16786
- "JOIN_RIGHT"
16787
- ]
16788
- },
16789
- "pushwoosh.objects.filters.v1.__filter_model_internal": {
16790
- "type": "I",
16791
- "fields": {
16792
- "f1": {
16793
- "type": "string"
16794
- },
16795
- "f2": {
16796
- "type": "Date"
16797
- }
16798
- }
16799
- },
16800
16119
  "pushwoosh.objects.filters.v1.Filter": {
16801
16120
  "type": "I",
16802
16121
  "fields": {
package/index.d.ts CHANGED
@@ -42,7 +42,6 @@ import { KakaoPresetsService as pushwoosh_rpc_v2_kakao_presets_KakaoPresetsServi
42
42
  import { linePresetsService as pushwoosh_rpc_v2_line_presets_linePresetsService } from './line_presets';
43
43
  import { MediaFilesService as pushwoosh_rpc_v2_media_files_MediaFilesService } from './media_files';
44
44
  import { MessagesService as pushwoosh_rpc_v2_messages_MessagesService } from './messages';
45
- import { FiltersCrudService as pushwoosh_objects_filters_v1_FiltersCrudService } from './pushwoosh_objects_filters_v1';
46
45
  import { RestrictionValuesCrudService as pushwoosh_objects_restrictionValues_v1_RestrictionValuesCrudService } from './pushwoosh_objects_restrictionValues_v1';
47
46
  import { PopupFormsService as pushwoosh_rpc_popup_forms_v3_PopupFormsService } from './pushwoosh_rpc_popup_forms_v3';
48
47
  import { PopupFormsContentsService as pushwoosh_rpc_popup_forms_contents_v3_PopupFormsContentsService } from './pushwoosh_rpc_popup_forms_contents_v3';
@@ -108,7 +107,6 @@ export type API = {
108
107
  linePresets: pushwoosh_rpc_v2_line_presets_linePresetsService;
109
108
  mediaFiles: pushwoosh_rpc_v2_media_files_MediaFilesService;
110
109
  messages: pushwoosh_rpc_v2_messages_MessagesService;
111
- filtersCrud: pushwoosh_objects_filters_v1_FiltersCrudService;
112
110
  restrictionValuesCrud: pushwoosh_objects_restrictionValues_v1_RestrictionValuesCrudService;
113
111
  popupForms: pushwoosh_rpc_popup_forms_v3_PopupFormsService;
114
112
  popupFormsContents: pushwoosh_rpc_popup_forms_contents_v3_PopupFormsContentsService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,14 +1,3 @@
1
- import { RpcMethod } from './commonTypes';
2
- /**
3
- * This struct is used to avoid protoc compiler warnings about unused includes in case when
4
- * there are no usage for timestamp.* and wrappers.*
5
- * This can be removed if you figure out how to remove unused includes.
6
- */
7
- export type __filter_collection_internal = {
8
- f1: string;
9
- f2: Date;
10
- f3: Filter;
11
- };
12
1
  export type LogicExpression_Binary_Operator = 'INVALID' | 'AND' | 'OR';
13
2
  /**
14
3
  * BinaryExpression is a kind of expression that allows to combine
@@ -261,255 +250,6 @@ export type ForExpression = {
261
250
  level: LockLevel;
262
251
  waiting: LockWaitingOption;
263
252
  };
264
- /**
265
- * This struct is used to avoid protoc compiler warnings about unused includes in case when
266
- * there are no usage for timestamp.* and wrappers.*
267
- * This can be removed if you figure out how to remove unused includes.
268
- */
269
- export type __filter_crud_service_internal = {
270
- f1: string;
271
- f2: Date;
272
- f3: {};
273
- };
274
- export type FiltersCrudService_Create = RpcMethod<CreateRequest, CreateResponse>;
275
- export type FiltersCrudService_CreateMany = RpcMethod<CreateManyRequest, CreateManyResponse>;
276
- export type FiltersCrudService_Get = RpcMethod<GetRequest, GetResponse>;
277
- export type FiltersCrudService_LoadByCode = RpcMethod<LoadByCodeRequest, LoadByCodeResponse>;
278
- export type FiltersCrudService_LoadByAccountIDName = RpcMethod<LoadByAccountIDNameRequest, LoadByAccountIDNameResponse>;
279
- export type FiltersCrudService_Delete = RpcMethod<DeleteRequest, {}>;
280
- export type FiltersCrudService_DeleteMany = RpcMethod<DeleteManyRequest, DeleteManyResponse>;
281
- export type FiltersCrudService_Count = RpcMethod<CountRequest, CountResponse>;
282
- export type FiltersCrudService_GetPage = RpcMethod<GetPageRequest, GetPageResponse>;
283
- export type FiltersCrudService_List = RpcMethod<ListRequest, ListResponse>;
284
- export type FiltersCrudService_Paginate = RpcMethod<PaginateRequest, PaginateResponse>;
285
- export type FiltersCrudService_UpdateCode = RpcMethod<UpdateCodeRequest, {}>;
286
- export type FiltersCrudService_UpdateAccountID = RpcMethod<UpdateAccountIDRequest, {}>;
287
- export type FiltersCrudService_UpdateName = RpcMethod<UpdateNameRequest, {}>;
288
- export type FiltersCrudService_UpdateApplicationID = RpcMethod<UpdateApplicationIDRequest, {}>;
289
- export type FiltersCrudService_UpdateIsFiltrationInProgress = RpcMethod<UpdateIsFiltrationInProgressRequest, {}>;
290
- export type FiltersCrudService_UpdateFiltrationStartedAt = RpcMethod<UpdateFiltrationStartedAtRequest, {}>;
291
- export type FiltersCrudService_UpdateFiltrationLastFilteredAt = RpcMethod<UpdateFiltrationLastFilteredAtRequest, {}>;
292
- export type FiltersCrudService_UpdateFiltrationLastCheckedAt = RpcMethod<UpdateFiltrationLastCheckedAtRequest, {}>;
293
- export type FiltersCrudService_UpdateFiltrationScheduledAt = RpcMethod<UpdateFiltrationScheduledAtRequest, {}>;
294
- export type FiltersCrudService_UpdateCheckerScheduledAt = RpcMethod<UpdateCheckerScheduledAtRequest, {}>;
295
- export type FiltersCrudService_UpdateIsSystem = RpcMethod<UpdateIsSystemRequest, {}>;
296
- export type FiltersCrudService_UpdateExpirationDate = RpcMethod<UpdateExpirationDateRequest, {}>;
297
- export type FiltersCrudService_UpdateCreated = RpcMethod<UpdateCreatedRequest, {}>;
298
- export type FiltersCrudService_UpdateFilterExpressionRaw = RpcMethod<UpdateFilterExpressionRawRequest, {}>;
299
- export type FiltersCrudService_UpdateFiltrationID = RpcMethod<UpdateFiltrationIDRequest, {}>;
300
- export type FiltersCrudService_UpdateUpdated = RpcMethod<UpdateUpdatedRequest, {}>;
301
- export type FiltersCrudService_UpdateDescription = RpcMethod<UpdateDescriptionRequest, {}>;
302
- export type FiltersCrudService_UpdateDeviceLoadPolicy = RpcMethod<UpdateDeviceLoadPolicyRequest, {}>;
303
- export type FiltersCrudService_UpdateHighSpeed = RpcMethod<UpdateHighSpeedRequest, {}>;
304
- export interface FiltersCrudService {
305
- Create: FiltersCrudService_Create;
306
- CreateMany: FiltersCrudService_CreateMany;
307
- Get: FiltersCrudService_Get;
308
- LoadByCode: FiltersCrudService_LoadByCode;
309
- LoadByAccountIDName: FiltersCrudService_LoadByAccountIDName;
310
- Delete: FiltersCrudService_Delete;
311
- DeleteMany: FiltersCrudService_DeleteMany;
312
- Count: FiltersCrudService_Count;
313
- GetPage: FiltersCrudService_GetPage;
314
- List: FiltersCrudService_List;
315
- Paginate: FiltersCrudService_Paginate;
316
- UpdateCode: FiltersCrudService_UpdateCode;
317
- UpdateAccountID: FiltersCrudService_UpdateAccountID;
318
- UpdateName: FiltersCrudService_UpdateName;
319
- UpdateApplicationID: FiltersCrudService_UpdateApplicationID;
320
- UpdateIsFiltrationInProgress: FiltersCrudService_UpdateIsFiltrationInProgress;
321
- UpdateFiltrationStartedAt: FiltersCrudService_UpdateFiltrationStartedAt;
322
- UpdateFiltrationLastFilteredAt: FiltersCrudService_UpdateFiltrationLastFilteredAt;
323
- UpdateFiltrationLastCheckedAt: FiltersCrudService_UpdateFiltrationLastCheckedAt;
324
- UpdateFiltrationScheduledAt: FiltersCrudService_UpdateFiltrationScheduledAt;
325
- UpdateCheckerScheduledAt: FiltersCrudService_UpdateCheckerScheduledAt;
326
- UpdateIsSystem: FiltersCrudService_UpdateIsSystem;
327
- UpdateExpirationDate: FiltersCrudService_UpdateExpirationDate;
328
- UpdateCreated: FiltersCrudService_UpdateCreated;
329
- UpdateFilterExpressionRaw: FiltersCrudService_UpdateFilterExpressionRaw;
330
- UpdateFiltrationID: FiltersCrudService_UpdateFiltrationID;
331
- UpdateUpdated: FiltersCrudService_UpdateUpdated;
332
- UpdateDescription: FiltersCrudService_UpdateDescription;
333
- UpdateDeviceLoadPolicy: FiltersCrudService_UpdateDeviceLoadPolicy;
334
- UpdateHighSpeed: FiltersCrudService_UpdateHighSpeed;
335
- }
336
- export type CreateRequest = {
337
- Code?: string;
338
- AccountID?: number;
339
- Name?: string;
340
- ApplicationID?: number;
341
- IsFiltrationInProgress?: boolean;
342
- FiltrationStartedAt?: Date;
343
- FiltrationLastFilteredAt?: Date;
344
- FiltrationLastCheckedAt?: Date;
345
- FiltrationScheduledAt?: Date;
346
- CheckerScheduledAt?: Date;
347
- IsSystem?: boolean;
348
- ExpirationDate?: Date;
349
- Created?: Date;
350
- FilterExpressionRaw?: string;
351
- FiltrationID?: string;
352
- Updated?: Date;
353
- Description?: string;
354
- DeviceLoadPolicy?: string;
355
- HighSpeed?: boolean;
356
- };
357
- export type CreateResponse = {
358
- filter: Filter;
359
- };
360
- export type CreateManyRequest = {
361
- filters?: CreateRequest[];
362
- };
363
- export type CreateManyResponse = {
364
- filters: CreateResponse[];
365
- };
366
- export type DeleteRequest = {
367
- ID?: number;
368
- };
369
- export type DeleteManyRequest = {
370
- where?: LogicExpression;
371
- };
372
- export type DeleteManyResponse = {
373
- count: number;
374
- };
375
- export type CountRequest = {
376
- where?: LogicExpression;
377
- };
378
- export type CountResponse = {
379
- count: number;
380
- };
381
- export type GetPageRequest = {
382
- where?: LogicExpression;
383
- sort?: SortExpression;
384
- pageSize?: number;
385
- pageNum?: number;
386
- forLock?: ForExpression;
387
- };
388
- export type GetPageResponse = {
389
- filters: Filter[];
390
- total: number;
391
- };
392
- export type ListRequest = {
393
- where?: LogicExpression;
394
- sort?: SortExpression;
395
- pageSize?: number;
396
- forLock?: ForExpression;
397
- };
398
- export type ListResponse = {
399
- paginationToken: string;
400
- };
401
- export type PaginateRequest = {
402
- nextPageToken?: string;
403
- };
404
- export type PaginateResponse = {
405
- filters: Filter[];
406
- nextPageToken: string;
407
- };
408
- export type UpdateCodeRequest = {
409
- ID?: number;
410
- value?: string;
411
- };
412
- export type UpdateAccountIDRequest = {
413
- ID?: number;
414
- value?: number;
415
- };
416
- export type UpdateNameRequest = {
417
- ID?: number;
418
- value?: string;
419
- };
420
- export type UpdateApplicationIDRequest = {
421
- ID?: number;
422
- value?: number;
423
- };
424
- export type UpdateIsFiltrationInProgressRequest = {
425
- ID?: number;
426
- value?: boolean;
427
- };
428
- export type UpdateFiltrationStartedAtRequest = {
429
- ID?: number;
430
- value?: Date;
431
- };
432
- export type UpdateFiltrationLastFilteredAtRequest = {
433
- ID?: number;
434
- value?: Date;
435
- };
436
- export type UpdateFiltrationLastCheckedAtRequest = {
437
- ID?: number;
438
- value?: Date;
439
- };
440
- export type UpdateFiltrationScheduledAtRequest = {
441
- ID?: number;
442
- value?: Date;
443
- };
444
- export type UpdateCheckerScheduledAtRequest = {
445
- ID?: number;
446
- value?: Date;
447
- };
448
- export type UpdateIsSystemRequest = {
449
- ID?: number;
450
- value?: boolean;
451
- };
452
- export type UpdateExpirationDateRequest = {
453
- ID?: number;
454
- value?: Date;
455
- };
456
- export type UpdateCreatedRequest = {
457
- ID?: number;
458
- value?: Date;
459
- };
460
- export type UpdateFilterExpressionRawRequest = {
461
- ID?: number;
462
- value?: string;
463
- };
464
- export type UpdateFiltrationIDRequest = {
465
- ID?: number;
466
- value?: string;
467
- };
468
- export type UpdateUpdatedRequest = {
469
- ID?: number;
470
- value?: Date;
471
- };
472
- export type UpdateDescriptionRequest = {
473
- ID?: number;
474
- value?: string;
475
- };
476
- export type UpdateDeviceLoadPolicyRequest = {
477
- ID?: number;
478
- value?: string;
479
- };
480
- export type UpdateHighSpeedRequest = {
481
- ID?: number;
482
- value?: boolean;
483
- };
484
- export type GetRequest = {
485
- ID?: number;
486
- };
487
- export type GetResponse = {
488
- filter: Filter;
489
- };
490
- export type LoadByCodeRequest = {
491
- Code?: string;
492
- };
493
- export type LoadByCodeResponse = {
494
- filter: Filter;
495
- };
496
- export type LoadByAccountIDNameRequest = {
497
- AccountID?: number;
498
- Name?: string;
499
- };
500
- export type LoadByAccountIDNameResponse = {
501
- filter: Filter;
502
- };
503
- export type JoinType = 'JOIN_INVALID' | 'JOIN_INNER' | 'JOIN_LEFT' | 'JOIN_RIGHT';
504
- /**
505
- * This struct is used to avoid protoc compiler warnings about unused includes in case when
506
- * there are no usage for timestamp.* and wrappers.*
507
- * This can be removed if you figure out how to remove unused includes.
508
- */
509
- export type __filter_model_internal = {
510
- f1: string;
511
- f2: Date;
512
- };
513
253
  export type Filter = {
514
254
  ID: number;
515
255
  Code: string;