@compassdigital/sdk.typescript 3.18.0 → 3.19.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.
Files changed (50) hide show
  1. package/lib/index.d.ts +0 -300
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +0 -334
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/task.d.ts +1 -0
  6. package/lib/interface/task.d.ts.map +1 -1
  7. package/manifest.json +4 -36
  8. package/package.json +7 -7
  9. package/src/index.ts +0 -733
  10. package/src/interface/task.ts +1 -0
  11. package/lib/interface/brand.d.ts +0 -16
  12. package/lib/interface/brand.d.ts.map +0 -1
  13. package/lib/interface/brand.js +0 -4
  14. package/lib/interface/brand.js.map +0 -1
  15. package/lib/interface/delivery.d.ts +0 -34
  16. package/lib/interface/delivery.d.ts.map +0 -1
  17. package/lib/interface/delivery.js +0 -4
  18. package/lib/interface/delivery.js.map +0 -1
  19. package/lib/interface/dh.d.ts +0 -9
  20. package/lib/interface/dh.d.ts.map +0 -1
  21. package/lib/interface/dh.js +0 -4
  22. package/lib/interface/dh.js.map +0 -1
  23. package/lib/interface/logger.d.ts +0 -30
  24. package/lib/interface/logger.d.ts.map +0 -1
  25. package/lib/interface/logger.js +0 -4
  26. package/lib/interface/logger.js.map +0 -1
  27. package/lib/interface/loyalty.d.ts +0 -351
  28. package/lib/interface/loyalty.d.ts.map +0 -1
  29. package/lib/interface/loyalty.js +0 -4
  30. package/lib/interface/loyalty.js.map +0 -1
  31. package/lib/interface/message.d.ts +0 -42
  32. package/lib/interface/message.d.ts.map +0 -1
  33. package/lib/interface/message.js +0 -4
  34. package/lib/interface/message.js.map +0 -1
  35. package/lib/interface/schedule.d.ts +0 -96
  36. package/lib/interface/schedule.d.ts.map +0 -1
  37. package/lib/interface/schedule.js +0 -4
  38. package/lib/interface/schedule.js.map +0 -1
  39. package/lib/interface/vote.d.ts +0 -57
  40. package/lib/interface/vote.d.ts.map +0 -1
  41. package/lib/interface/vote.js +0 -4
  42. package/lib/interface/vote.js.map +0 -1
  43. package/src/interface/brand.ts +0 -29
  44. package/src/interface/delivery.ts +0 -52
  45. package/src/interface/dh.ts +0 -16
  46. package/src/interface/logger.ts +0 -48
  47. package/src/interface/loyalty.ts +0 -545
  48. package/src/interface/message.ts +0 -58
  49. package/src/interface/schedule.ts +0 -139
  50. package/src/interface/vote.ts +0 -75
package/src/index.ts CHANGED
@@ -293,8 +293,6 @@ import {
293
293
  GetPromoVoucherifyActivityConfigResponse,
294
294
  } from "./interface/promo";
295
295
 
296
- import { PostDhSqlResponse } from "./interface/dh";
297
-
298
296
  import {
299
297
  GetConfigAppconfigResponse,
300
298
  GetConfigResponse,
@@ -399,45 +397,6 @@ import {
399
397
  PutUserVerificationPhoneResponse,
400
398
  } from "./interface/user";
401
399
 
402
- import {
403
- PostLoyaltyEnrollQuery,
404
- PostLoyaltyEnrollResponse,
405
- GetLoyaltyPointsQuery,
406
- GetLoyaltyPointsResponse,
407
- GetLoyaltyOffersResponse,
408
- GetLoyaltyEnrollmentstatusResponse,
409
- GetLoyaltyBalanceResponse,
410
- GetLoyaltyOpportunitiesQuery,
411
- GetLoyaltyOpportunitiesResponse,
412
- PostLoyaltyOpportunitiesQuery,
413
- PostLoyaltyOpportunitiesResponse,
414
- GetLoyaltyRewardsResponse,
415
- GetLoyaltyCouponsResponse,
416
- GetLoyaltyOrderpointsQuery,
417
- GetLoyaltyOrderpointsResponse,
418
- PostLoyaltyOrderpointsBody,
419
- PostLoyaltyOrderpointsResponse,
420
- PostLoyaltyPurchaseQuery,
421
- PostLoyaltyPurchaseBody,
422
- PostLoyaltyPurchaseResponse,
423
- PostLoyaltyBuyrewardQuery,
424
- PostLoyaltyBuyrewardBody,
425
- PostLoyaltyBuyrewardResponse,
426
- GetLoyaltyHistoryQuery,
427
- GetLoyaltyHistoryResponse,
428
- GetLoyaltyCouponResponse,
429
- PatchLoyaltyCouponBody,
430
- PatchLoyaltyCouponResponse,
431
- GetLoyaltySearchQuery,
432
- GetLoyaltySearchResponse,
433
- GetLoyaltyUsersQuery,
434
- GetLoyaltyUsersResponse,
435
- GetLoyaltyEventsQuery,
436
- GetLoyaltyEventsResponse,
437
- } from "./interface/loyalty";
438
-
439
- import { GetBrandResponse, GetBrandsResponse } from "./interface/brand";
440
-
441
400
  import {
442
401
  GetCalendarQuery,
443
402
  GetCalendarResponse,
@@ -450,31 +409,6 @@ import {
450
409
  PostCalendarSyncResponse,
451
410
  } from "./interface/calendar";
452
411
 
453
- import {
454
- PostDeliveryOrderBody,
455
- PostDeliveryOrderResponse,
456
- PatchDeliveryOrderResponse,
457
- GetDeliveryOrderResponse,
458
- } from "./interface/delivery";
459
-
460
- import {
461
- PostScheduleBody,
462
- PostScheduleResponse,
463
- GetSchedulesQuery,
464
- GetSchedulesResponse,
465
- GetScheduleResponse,
466
- PutScheduleBody,
467
- PutScheduleResponse,
468
- DeleteScheduleResponse,
469
- } from "./interface/schedule";
470
-
471
- import {
472
- PostVoteBody,
473
- PostVoteResponse,
474
- GetVoteIdfaQuery,
475
- GetVoteIdfaResponse,
476
- } from "./interface/vote";
477
-
478
412
  import {
479
413
  PostFileBody,
480
414
  PostFileResponse,
@@ -482,10 +416,6 @@ import {
482
416
  DeleteFileResponse,
483
417
  } from "./interface/file";
484
418
 
485
- import { PostMessageBody, PostMessageResponse, GetMessageResponse } from "./interface/message";
486
-
487
- import { GetLoggerBrandStatusQuery, GetLoggerBrandStatusResponse } from "./interface/logger";
488
-
489
419
  import {
490
420
  GetMenuClientResponse,
491
421
  GetMenusQuery,
@@ -3372,15 +3302,6 @@ export class ServiceClient extends BaseServiceClient {
3372
3302
  );
3373
3303
  }
3374
3304
 
3375
- /**
3376
- * POST /dh/sql
3377
- *
3378
- * @param options - additional request options
3379
- */
3380
- post_dh_sql(options?: RequestOptions): ResponsePromise<PostDhSqlResponse> {
3381
- return this.request("dh", "post_dh_sql", "post", `/dh/sql`, null, options);
3382
- }
3383
-
3384
3305
  /**
3385
3306
  * GET /config/appconfig - get appconfig - an object with data for clients including minimum versions apps (boost, thrive, J&J) should be running and a link to the respective app store
3386
3307
  *
@@ -4322,469 +4243,6 @@ export class ServiceClient extends BaseServiceClient {
4322
4243
  );
4323
4244
  }
4324
4245
 
4325
- /**
4326
- * POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
4327
- *
4328
- * @param id - Loyalty Provider id
4329
- * @param user_id - CompassDigital User id
4330
- * @param options - additional request options
4331
- */
4332
- post_loyalty_enroll(
4333
- id: string,
4334
- user_id: string,
4335
- options?: {
4336
- query?: PostLoyaltyEnrollQuery;
4337
- } & RequestOptions
4338
- ): ResponsePromise<PostLoyaltyEnrollResponse> {
4339
- return this.request(
4340
- "loyalty",
4341
- "post_loyalty_enroll",
4342
- "post",
4343
- `/loyalty/${id}/enroll/${user_id}`,
4344
- null,
4345
- options
4346
- );
4347
- }
4348
-
4349
- /**
4350
- * GET /loyalty/{id}/points - Get potential points user could earn from certain event in Loyalty program
4351
- *
4352
- * @param id - Loyalty Provider id
4353
- * @param options - additional request options
4354
- */
4355
- get_loyalty_points(
4356
- id: string,
4357
- options: {
4358
- query: GetLoyaltyPointsQuery;
4359
- } & RequestOptions
4360
- ): ResponsePromise<GetLoyaltyPointsResponse> {
4361
- return this.request(
4362
- "loyalty",
4363
- "get_loyalty_points",
4364
- "get",
4365
- `/loyalty/${id}/points`,
4366
- null,
4367
- options
4368
- );
4369
- }
4370
-
4371
- /**
4372
- * GET /loyalty/{id}/offers/{user_id} - Get offers for the logged in user
4373
- *
4374
- * @param id - Loyalty Provider id
4375
- * @param user_id - CompassDigital User id
4376
- * @param options - additional request options
4377
- */
4378
- get_loyalty_offers(
4379
- id: string,
4380
- user_id: string,
4381
- options?: RequestOptions
4382
- ): ResponsePromise<GetLoyaltyOffersResponse> {
4383
- return this.request(
4384
- "loyalty",
4385
- "get_loyalty_offers",
4386
- "get",
4387
- `/loyalty/${id}/offers/${user_id}`,
4388
- null,
4389
- options
4390
- );
4391
- }
4392
-
4393
- /**
4394
- * GET /loyalty/{id}/enrollmentstatus/{user_id} - Get enrollment status for logged in user
4395
- *
4396
- * @param id - Loyalty Provider id
4397
- * @param user_id - CompassDigital User id
4398
- * @param options - additional request options
4399
- */
4400
- get_loyalty_enrollmentstatus(
4401
- id: string,
4402
- user_id: string,
4403
- options?: RequestOptions
4404
- ): ResponsePromise<GetLoyaltyEnrollmentstatusResponse> {
4405
- return this.request(
4406
- "loyalty",
4407
- "get_loyalty_enrollmentstatus",
4408
- "get",
4409
- `/loyalty/${id}/enrollmentstatus/${user_id}`,
4410
- null,
4411
- options
4412
- );
4413
- }
4414
-
4415
- /**
4416
- * GET /loyalty/{id}/balance/{user_id} - Get loyalty point balance for logged in user
4417
- *
4418
- * @param id - Loyalty Provider id
4419
- * @param user_id - CompassDigital User id
4420
- * @param options - additional request options
4421
- */
4422
- get_loyalty_balance(
4423
- id: string,
4424
- user_id: string,
4425
- options?: RequestOptions
4426
- ): ResponsePromise<GetLoyaltyBalanceResponse> {
4427
- return this.request(
4428
- "loyalty",
4429
- "get_loyalty_balance",
4430
- "get",
4431
- `/loyalty/${id}/balance/${user_id}`,
4432
- null,
4433
- options
4434
- );
4435
- }
4436
-
4437
- /**
4438
- * GET /loyalty/{id}/opportunities/{user_id} - Get earning opportunities for the logged in user
4439
- *
4440
- * @param id - Loyalty Provider id
4441
- * @param user_id - CompassDigital User id
4442
- * @param options - additional request options
4443
- */
4444
- get_loyalty_opportunities(
4445
- id: string,
4446
- user_id: string,
4447
- options?: {
4448
- query?: GetLoyaltyOpportunitiesQuery;
4449
- } & RequestOptions
4450
- ): ResponsePromise<GetLoyaltyOpportunitiesResponse> {
4451
- return this.request(
4452
- "loyalty",
4453
- "get_loyalty_opportunities",
4454
- "get",
4455
- `/loyalty/${id}/opportunities/${user_id}`,
4456
- null,
4457
- options
4458
- );
4459
- }
4460
-
4461
- /**
4462
- * POST /loyalty/{id}/opportunities/{user_id} - Record an event for the logged in user
4463
- *
4464
- * @param id - Loyalty Provider id
4465
- * @param user_id - CompassDigital User id
4466
- * @param options - additional request options
4467
- */
4468
- post_loyalty_opportunities(
4469
- id: string,
4470
- user_id: string,
4471
- options: {
4472
- query: PostLoyaltyOpportunitiesQuery;
4473
- } & RequestOptions
4474
- ): ResponsePromise<PostLoyaltyOpportunitiesResponse> {
4475
- return this.request(
4476
- "loyalty",
4477
- "post_loyalty_opportunities",
4478
- "post",
4479
- `/loyalty/${id}/opportunities/${user_id}`,
4480
- null,
4481
- options
4482
- );
4483
- }
4484
-
4485
- /**
4486
- * GET /loyalty/{id}/rewards/{user_id} - Get rewards available for the logged in user
4487
- *
4488
- * @param id - Loyalty Provider id
4489
- * @param user_id - CompassDigital User id
4490
- * @param options - additional request options
4491
- */
4492
- get_loyalty_rewards(
4493
- id: string,
4494
- user_id: string,
4495
- options?: RequestOptions
4496
- ): ResponsePromise<GetLoyaltyRewardsResponse> {
4497
- return this.request(
4498
- "loyalty",
4499
- "get_loyalty_rewards",
4500
- "get",
4501
- `/loyalty/${id}/rewards/${user_id}`,
4502
- null,
4503
- options
4504
- );
4505
- }
4506
-
4507
- /**
4508
- * GET /loyalty/{id}/coupons/{user_id} - Get coupons available for the logged in user
4509
- *
4510
- * @param id - Loyalty Provider id
4511
- * @param user_id - CompassDigital User id
4512
- * @param options - additional request options
4513
- */
4514
- get_loyalty_coupons(
4515
- id: string,
4516
- user_id: string,
4517
- options?: RequestOptions
4518
- ): ResponsePromise<GetLoyaltyCouponsResponse> {
4519
- return this.request(
4520
- "loyalty",
4521
- "get_loyalty_coupons",
4522
- "get",
4523
- `/loyalty/${id}/coupons/${user_id}`,
4524
- null,
4525
- options
4526
- );
4527
- }
4528
-
4529
- /**
4530
- * GET /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for an order based on amount.
4531
- *
4532
- * @param id - Loyalty Provider id
4533
- * @param user_id - CompassDigital User id
4534
- * @param options - additional request options
4535
- */
4536
- get_loyalty_orderpoints(
4537
- id: string,
4538
- user_id: string,
4539
- options: {
4540
- query: GetLoyaltyOrderpointsQuery;
4541
- } & RequestOptions
4542
- ): ResponsePromise<GetLoyaltyOrderpointsResponse> {
4543
- return this.request(
4544
- "loyalty",
4545
- "get_loyalty_orderpoints",
4546
- "get",
4547
- `/loyalty/${id}/orderpoints/${user_id}`,
4548
- null,
4549
- options
4550
- );
4551
- }
4552
-
4553
- /**
4554
- * POST /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for a order based on amount and items
4555
- *
4556
- * @param id - Loyalty Provider id
4557
- * @param user_id - CompassDigital User id
4558
- * @param body
4559
- * @param options - additional request options
4560
- */
4561
- post_loyalty_orderpoints(
4562
- id: string,
4563
- user_id: string,
4564
- body: PostLoyaltyOrderpointsBody,
4565
- options?: RequestOptions
4566
- ): ResponsePromise<PostLoyaltyOrderpointsResponse> {
4567
- return this.request(
4568
- "loyalty",
4569
- "post_loyalty_orderpoints",
4570
- "post",
4571
- `/loyalty/${id}/orderpoints/${user_id}`,
4572
- body,
4573
- options
4574
- );
4575
- }
4576
-
4577
- /**
4578
- * POST /loyalty/{id}/purchase/{user_id} - Record purchase event
4579
- *
4580
- * @param id - Loyalty Provider id
4581
- * @param user_id - CompassDigital User id
4582
- * @param body
4583
- * @param options - additional request options
4584
- */
4585
- post_loyalty_purchase(
4586
- id: string,
4587
- user_id: string,
4588
- body: PostLoyaltyPurchaseBody,
4589
- options?: {
4590
- query?: PostLoyaltyPurchaseQuery;
4591
- } & RequestOptions
4592
- ): ResponsePromise<PostLoyaltyPurchaseResponse> {
4593
- return this.request(
4594
- "loyalty",
4595
- "post_loyalty_purchase",
4596
- "post",
4597
- `/loyalty/${id}/purchase/${user_id}`,
4598
- body,
4599
- options
4600
- );
4601
- }
4602
-
4603
- /**
4604
- * POST /loyalty/{id}/buyreward/{user_id} - Redeem rewards to coupons
4605
- *
4606
- * @param id - Loyalty Provider id
4607
- * @param user_id - CompassDigital User id
4608
- * @param body
4609
- * @param options - additional request options
4610
- */
4611
- post_loyalty_buyreward(
4612
- id: string,
4613
- user_id: string,
4614
- body: PostLoyaltyBuyrewardBody,
4615
- options?: {
4616
- query?: PostLoyaltyBuyrewardQuery;
4617
- } & RequestOptions
4618
- ): ResponsePromise<PostLoyaltyBuyrewardResponse> {
4619
- return this.request(
4620
- "loyalty",
4621
- "post_loyalty_buyreward",
4622
- "post",
4623
- `/loyalty/${id}/buyreward/${user_id}`,
4624
- body,
4625
- options
4626
- );
4627
- }
4628
-
4629
- /**
4630
- * GET /loyalty/{id}/history/{user_id} - Get history of loyalty transactions for user
4631
- *
4632
- * @param id - Loyalty Provider id
4633
- * @param user_id - CompassDigital User id
4634
- * @param options - additional request options
4635
- */
4636
- get_loyalty_history(
4637
- id: string,
4638
- user_id: string,
4639
- options?: {
4640
- query?: GetLoyaltyHistoryQuery;
4641
- } & RequestOptions
4642
- ): ResponsePromise<GetLoyaltyHistoryResponse> {
4643
- return this.request(
4644
- "loyalty",
4645
- "get_loyalty_history",
4646
- "get",
4647
- `/loyalty/${id}/history/${user_id}`,
4648
- null,
4649
- options
4650
- );
4651
- }
4652
-
4653
- /**
4654
- * GET /loyalty/{id}/coupon/{user_id}/{coupon_id} - get coupon's information
4655
- *
4656
- * @param id - Loyalty Provider id
4657
- * @param user_id - CompassDigital User id
4658
- * @param coupon_id - Coupon code to get coupon information
4659
- * @param options - additional request options
4660
- */
4661
- get_loyalty_coupon(
4662
- id: string,
4663
- user_id: string,
4664
- coupon_id: string,
4665
- options?: RequestOptions
4666
- ): ResponsePromise<GetLoyaltyCouponResponse> {
4667
- return this.request(
4668
- "loyalty",
4669
- "get_loyalty_coupon",
4670
- "get",
4671
- `/loyalty/${id}/coupon/${user_id}/${coupon_id}`,
4672
- null,
4673
- options
4674
- );
4675
- }
4676
-
4677
- /**
4678
- * PATCH /loyalty/{id}/coupon/{user_id}/{coupon_id} - Update coupon's status
4679
- *
4680
- * @param id - Loyalty Provider id
4681
- * @param user_id - CompassDigital User id
4682
- * @param coupon_id - Coupon code to update
4683
- * @param body
4684
- * @param options - additional request options
4685
- */
4686
- patch_loyalty_coupon(
4687
- id: string,
4688
- user_id: string,
4689
- coupon_id: string,
4690
- body: PatchLoyaltyCouponBody,
4691
- options?: RequestOptions
4692
- ): ResponsePromise<PatchLoyaltyCouponResponse> {
4693
- return this.request(
4694
- "loyalty",
4695
- "patch_loyalty_coupon",
4696
- "patch",
4697
- `/loyalty/${id}/coupon/${user_id}/${coupon_id}`,
4698
- body,
4699
- options
4700
- );
4701
- }
4702
-
4703
- /**
4704
- * GET /loyalty/{id}/search - Search CDL user id by internal 500friends id
4705
- *
4706
- * @param id - Loyalty Provider id
4707
- * @param options - additional request options
4708
- */
4709
- get_loyalty_search(
4710
- id: string,
4711
- options: {
4712
- query: GetLoyaltySearchQuery;
4713
- } & RequestOptions
4714
- ): ResponsePromise<GetLoyaltySearchResponse> {
4715
- return this.request(
4716
- "loyalty",
4717
- "get_loyalty_search",
4718
- "get",
4719
- `/loyalty/${id}/search`,
4720
- null,
4721
- options
4722
- );
4723
- }
4724
-
4725
- /**
4726
- * GET /loyalty/{id}/users - Get all loyalty users updated after specific date
4727
- *
4728
- * @param id - Loyalty Provider id
4729
- * @param options - additional request options
4730
- */
4731
- get_loyalty_users(
4732
- id: string,
4733
- options: {
4734
- query: GetLoyaltyUsersQuery;
4735
- } & RequestOptions
4736
- ): ResponsePromise<GetLoyaltyUsersResponse> {
4737
- return this.request(
4738
- "loyalty",
4739
- "get_loyalty_users",
4740
- "get",
4741
- `/loyalty/${id}/users`,
4742
- null,
4743
- options
4744
- );
4745
- }
4746
-
4747
- /**
4748
- * GET /loyalty/{id}/events - Get all loyalty events updated after specific date
4749
- *
4750
- * @param id - Loyalty Provider id
4751
- * @param options - additional request options
4752
- */
4753
- get_loyalty_events(
4754
- id: string,
4755
- options: {
4756
- query: GetLoyaltyEventsQuery;
4757
- } & RequestOptions
4758
- ): ResponsePromise<GetLoyaltyEventsResponse> {
4759
- return this.request(
4760
- "loyalty",
4761
- "get_loyalty_events",
4762
- "get",
4763
- `/loyalty/${id}/events`,
4764
- null,
4765
- options
4766
- );
4767
- }
4768
-
4769
- /**
4770
- * GET /brand/{id}
4771
- *
4772
- * @param id - TODO: add parameter to swagger.json
4773
- * @param options - additional request options
4774
- */
4775
- get_brand(id: string, options?: RequestOptions): ResponsePromise<GetBrandResponse> {
4776
- return this.request("brand", "get_brand", "get", `/brand/${id}`, null, options);
4777
- }
4778
-
4779
- /**
4780
- * GET /brand
4781
- *
4782
- * @param options - additional request options
4783
- */
4784
- get_brands(options?: RequestOptions): ResponsePromise<GetBrandsResponse> {
4785
- return this.request("brand", "get_brands", "get", `/brand`, null, options);
4786
- }
4787
-
4788
4246
  /**
4789
4247
  * GET /calendar/{id}
4790
4248
  *
@@ -4883,152 +4341,6 @@ export class ServiceClient extends BaseServiceClient {
4883
4341
  );
4884
4342
  }
4885
4343
 
4886
- /**
4887
- * POST /delivery/order - make reservation
4888
- *
4889
- * @param body - reservation
4890
- * @param options - additional request options
4891
- */
4892
- post_delivery_order(
4893
- body: PostDeliveryOrderBody,
4894
- options?: RequestOptions
4895
- ): ResponsePromise<PostDeliveryOrderResponse> {
4896
- return this.request(
4897
- "delivery",
4898
- "post_delivery_order",
4899
- "post",
4900
- `/delivery/order`,
4901
- body,
4902
- options
4903
- );
4904
- }
4905
-
4906
- /**
4907
- * PATCH /delivery/order/{order_id} - confirm order
4908
- *
4909
- * @param order_id - TODO: add parameter to swagger.json
4910
- * @param options - additional request options
4911
- */
4912
- patch_delivery_order(
4913
- order_id: string,
4914
- options?: RequestOptions
4915
- ): ResponsePromise<PatchDeliveryOrderResponse> {
4916
- return this.request(
4917
- "delivery",
4918
- "patch_delivery_order",
4919
- "patch",
4920
- `/delivery/order/${order_id}`,
4921
- null,
4922
- options
4923
- );
4924
- }
4925
-
4926
- /**
4927
- * GET /delivery/order/{order_id} - get order
4928
- *
4929
- * @param order_id - TODO: add parameter to swagger.json
4930
- * @param options - additional request options
4931
- */
4932
- get_delivery_order(
4933
- order_id: string,
4934
- options?: RequestOptions
4935
- ): ResponsePromise<GetDeliveryOrderResponse> {
4936
- return this.request(
4937
- "delivery",
4938
- "get_delivery_order",
4939
- "get",
4940
- `/delivery/order/${order_id}`,
4941
- null,
4942
- options
4943
- );
4944
- }
4945
-
4946
- /**
4947
- * POST /schedule - Create a new schedule
4948
- *
4949
- * @param body
4950
- * @param options - additional request options
4951
- */
4952
- post_schedule(
4953
- body: PostScheduleBody,
4954
- options?: RequestOptions
4955
- ): ResponsePromise<PostScheduleResponse> {
4956
- return this.request("schedule", "post_schedule", "post", `/schedule`, body, options);
4957
- }
4958
-
4959
- /**
4960
- * GET /schedule - Get schedule
4961
- *
4962
- * @param options - additional request options
4963
- */
4964
- get_schedules(
4965
- options: {
4966
- query: GetSchedulesQuery;
4967
- } & RequestOptions
4968
- ): ResponsePromise<GetSchedulesResponse> {
4969
- return this.request("schedule", "get_schedules", "get", `/schedule`, null, options);
4970
- }
4971
-
4972
- /**
4973
- * GET /schedule/{id} - Get an individual schedule
4974
- *
4975
- * @param id - schedule id
4976
- * @param options - additional request options
4977
- */
4978
- get_schedule(id: string, options?: RequestOptions): ResponsePromise<GetScheduleResponse> {
4979
- return this.request("schedule", "get_schedule", "get", `/schedule/${id}`, null, options);
4980
- }
4981
-
4982
- /**
4983
- * PUT /schedule/{id} - Update a schedule
4984
- *
4985
- * @param id - Id of a schedule
4986
- * @param body
4987
- * @param options - additional request options
4988
- */
4989
- put_schedule(
4990
- id: string,
4991
- body: PutScheduleBody,
4992
- options?: RequestOptions
4993
- ): ResponsePromise<PutScheduleResponse> {
4994
- return this.request("schedule", "put_schedule", "put", `/schedule/${id}`, body, options);
4995
- }
4996
-
4997
- /**
4998
- * DELETE /schedule/{id} - Delete schedule
4999
- *
5000
- * @param id - Id of a schedule
5001
- * @param options - additional request options
5002
- */
5003
- delete_schedule(id: string, options?: RequestOptions): ResponsePromise<DeleteScheduleResponse> {
5004
- return this.request("schedule", "delete_schedule", "delete", `/schedule/${id}`, null, options);
5005
- }
5006
-
5007
- /**
5008
- * POST /vote - Submit a vote for an item
5009
- *
5010
- * @param body
5011
- * @param options - additional request options
5012
- */
5013
- post_vote(body: PostVoteBody, options?: RequestOptions): ResponsePromise<PostVoteResponse> {
5014
- return this.request("vote", "post_vote", "post", `/vote`, body, options);
5015
- }
5016
-
5017
- /**
5018
- * GET /vote/idfa/{idfa} - Get votes for an idfa
5019
- *
5020
- * @param idfa - TODO: add parameter to swagger.json
5021
- * @param options - additional request options
5022
- */
5023
- get_vote_idfa(
5024
- idfa: string,
5025
- options?: {
5026
- query?: GetVoteIdfaQuery;
5027
- } & RequestOptions
5028
- ): ResponsePromise<GetVoteIdfaResponse> {
5029
- return this.request("vote", "get_vote_idfa", "get", `/vote/idfa/${idfa}`, null, options);
5030
- }
5031
-
5032
4344
  /**
5033
4345
  * POST /file - Upload a file to CDL S3
5034
4346
  *
@@ -5049,51 +4361,6 @@ export class ServiceClient extends BaseServiceClient {
5049
4361
  return this.request("file", "delete_file", "delete", `/file`, body, options);
5050
4362
  }
5051
4363
 
5052
- /**
5053
- * POST /message - Create a Message
5054
- *
5055
- * @param body - Message object that needs to be created
5056
- * @param options - additional request options
5057
- */
5058
- post_message(
5059
- body: PostMessageBody,
5060
- options?: RequestOptions
5061
- ): ResponsePromise<PostMessageResponse> {
5062
- return this.request("message", "post_message", "post", `/message`, body, options);
5063
- }
5064
-
5065
- /**
5066
- * GET /message/{id} - Get a Message
5067
- *
5068
- * @param id - Message CDL encoded id
5069
- * @param options - additional request options
5070
- */
5071
- get_message(id: string, options?: RequestOptions): ResponsePromise<GetMessageResponse> {
5072
- return this.request("message", "get_message", "get", `/message/${id}`, null, options);
5073
- }
5074
-
5075
- /**
5076
- * GET /logger/{id}/brand/status - Get status changes of all brands
5077
- *
5078
- * @param id - action
5079
- * @param options - additional request options
5080
- */
5081
- get_logger_brand_status(
5082
- id: string,
5083
- options?: {
5084
- query?: GetLoggerBrandStatusQuery;
5085
- } & RequestOptions
5086
- ): ResponsePromise<GetLoggerBrandStatusResponse> {
5087
- return this.request(
5088
- "logger",
5089
- "get_logger_brand_status",
5090
- "get",
5091
- `/logger/${id}/brand/status`,
5092
- null,
5093
- options
5094
- );
5095
- }
5096
-
5097
4364
  /**
5098
4365
  * GET /menu/client/{client_id} - Get menu client
5099
4366
  *