repzo 1.0.60 → 1.0.62

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/lib/index.d.ts CHANGED
@@ -627,6 +627,19 @@ export default class Repzo {
627
627
  body: Service.Settlement.Update.Body
628
628
  ) => Promise<Service.Settlement.Update.Result>;
629
629
  };
630
+ check: {
631
+ _path: string;
632
+ find: (
633
+ params?: Service.Check.Find.Params
634
+ ) => Promise<Service.Check.Find.Result>;
635
+ get: (
636
+ id: Service.Check.Get.ID,
637
+ params?: Service.Check.Get.Params
638
+ ) => Promise<Service.Check.Get.Result>;
639
+ create: (
640
+ body: Service.Check.Create.Body
641
+ ) => Promise<Service.Check.Create.Result>;
642
+ };
630
643
  transfer: {
631
644
  _path: string;
632
645
  find: (
package/lib/index.js CHANGED
@@ -1290,6 +1290,32 @@ export default class Repzo {
1290
1290
  return res;
1291
1291
  },
1292
1292
  };
1293
+ this.check = {
1294
+ _path: "/checks",
1295
+ find: async (params) => {
1296
+ let res = await this._fetch(
1297
+ this.svAPIEndpoint,
1298
+ this.check._path,
1299
+ params
1300
+ );
1301
+ return res;
1302
+ },
1303
+ get: async (id, params) => {
1304
+ return await this._fetch(
1305
+ this.svAPIEndpoint,
1306
+ this.check._path + `/${id}`,
1307
+ params
1308
+ );
1309
+ },
1310
+ create: async (body) => {
1311
+ let res = await this._create(
1312
+ this.svAPIEndpoint,
1313
+ this.check._path,
1314
+ body
1315
+ );
1316
+ return res;
1317
+ },
1318
+ };
1293
1319
  this.transfer = {
1294
1320
  _path: "/transfer",
1295
1321
  find: async (params) => {
@@ -3301,10 +3301,8 @@ export declare namespace Service {
3301
3301
  meta: VisitMeta;
3302
3302
  lines?: string[];
3303
3303
  client_geo_location: {
3304
- type: {
3305
- lat: Number;
3306
- lng: Number;
3307
- };
3304
+ lat: Number;
3305
+ lng: Number;
3308
3306
  };
3309
3307
  geofencing_radius?: number;
3310
3308
  availability?: string[];
@@ -3318,6 +3316,24 @@ export declare namespace Service {
3318
3316
  | "low_accuracy"
3319
3317
  | "location_turned_off";
3320
3318
  company_namespace: string[];
3319
+ option_id?: string;
3320
+ invoice_total?: number;
3321
+ invoice_pre_total?: number;
3322
+ invoice_return_total?: number;
3323
+ proforma_total?: number;
3324
+ proforma_pre_total?: number;
3325
+ proforma_return_total?: number;
3326
+ payment_total?: number;
3327
+ refund_total?: number;
3328
+ geo_tag?: {
3329
+ lat: number;
3330
+ lng: number;
3331
+ formatted_address?: string;
3332
+ extra?: {};
3333
+ };
3334
+ delayed?: boolean;
3335
+ createdAt: Date;
3336
+ updatedAt: Date;
3321
3337
  }
3322
3338
  export interface CreateBody {
3323
3339
  geoPoint: {
@@ -3357,10 +3373,8 @@ export declare namespace Service {
3357
3373
  meta: VisitMeta;
3358
3374
  lines?: string[];
3359
3375
  client_geo_location: {
3360
- type: {
3361
- lat: Number;
3362
- lng: Number;
3363
- };
3376
+ lat: Number;
3377
+ lng: Number;
3364
3378
  };
3365
3379
  geofencing_radius?: number;
3366
3380
  availability?: string[];
@@ -3368,6 +3382,22 @@ export declare namespace Service {
3368
3382
  asset?: string;
3369
3383
  asset_unit?: string;
3370
3384
  company_namespace: string[];
3385
+ option_id?: string;
3386
+ invoice_total?: number;
3387
+ invoice_pre_total?: number;
3388
+ invoice_return_total?: number;
3389
+ proforma_total?: number;
3390
+ proforma_pre_total?: number;
3391
+ proforma_return_total?: number;
3392
+ payment_total?: number;
3393
+ refund_total?: number;
3394
+ geo_tag?: {
3395
+ lat: number;
3396
+ lng: number;
3397
+ formatted_address?: string;
3398
+ extra?: {};
3399
+ };
3400
+ delayed?: boolean;
3371
3401
  }
3372
3402
  export interface UpdateBody {
3373
3403
  geoPoint?: {
@@ -3420,10 +3450,8 @@ export declare namespace Service {
3420
3450
  meta: VisitMeta;
3421
3451
  lines?: string[];
3422
3452
  client_geo_location?: {
3423
- type: {
3424
- lat: Number;
3425
- lng: Number;
3426
- };
3453
+ lat: Number;
3454
+ lng: Number;
3427
3455
  };
3428
3456
  geofencing_radius?: number;
3429
3457
  availability?: string[];
@@ -3436,9 +3464,25 @@ export declare namespace Service {
3436
3464
  | "out_of_geofence"
3437
3465
  | "low_accuracy"
3438
3466
  | "location_turned_off";
3439
- company_namespace: string[];
3467
+ company_namespace?: string[];
3468
+ option_id?: string;
3469
+ invoice_total?: number;
3470
+ invoice_pre_total?: number;
3471
+ invoice_return_total?: number;
3472
+ proforma_total?: number;
3473
+ proforma_pre_total?: number;
3474
+ proforma_return_total?: number;
3475
+ payment_total?: number;
3476
+ refund_total?: number;
3477
+ geo_tag?: {
3478
+ lat: number;
3479
+ lng: number;
3480
+ formatted_address?: string;
3481
+ extra?: {};
3482
+ };
3483
+ delayed?: boolean;
3440
3484
  }
3441
- type VisitSchemaWithPopulatedKeys = {
3485
+ type VisitSchemaWithPopulatedKeys = VisitSchema & {
3442
3486
  notes: {
3443
3487
  content: string;
3444
3488
  geo_tag: GeoTag;
@@ -3512,8 +3556,22 @@ export declare namespace Service {
3512
3556
  battery_level: number;
3513
3557
  comment: ActivityComment[];
3514
3558
  };
3515
- tags: string | Tag.TagSchema;
3559
+ tags?: string[] | Tag.TagSchema[];
3560
+ teams?: string[] | Team.TeamSchema[];
3561
+ user?: string | Rep.RepSchema;
3562
+ client?: string | Client.ClientSchema;
3516
3563
  };
3564
+ type PopulatedKeys =
3565
+ | "notes"
3566
+ | "tasks"
3567
+ | "photos"
3568
+ | "forms"
3569
+ | "audits"
3570
+ | "tags"
3571
+ | "availability"
3572
+ | "teams"
3573
+ | "client"
3574
+ | "user";
3517
3575
  export namespace Find {
3518
3576
  type Params = DefaultPaginationQueryParams & {
3519
3577
  user?: string;
@@ -3531,21 +3589,16 @@ export declare namespace Service {
3531
3589
  from_total_time?: number;
3532
3590
  to_total_time?: number;
3533
3591
  closed_by_system?: boolean;
3592
+ from_updatedAt?: number;
3593
+ [key: string]: any;
3594
+ populatedKeys?: PopulatedKeys[];
3534
3595
  };
3535
3596
  interface Result extends DefaultPaginationResult {
3536
- data: VisitSchema[];
3597
+ data: VisitSchemaWithPopulatedKeys[];
3537
3598
  absolute_total: number;
3538
3599
  page_total: number;
3539
3600
  }
3540
3601
  }
3541
- type PopulatedKeys =
3542
- | "notes"
3543
- | "tasks"
3544
- | "photos"
3545
- | "forms"
3546
- | "audits"
3547
- | "tags"
3548
- | "availability";
3549
3602
  export namespace Create {
3550
3603
  type Body = CreateBody;
3551
3604
  type Result = VisitSchema;
@@ -5267,8 +5320,9 @@ export declare namespace Service {
5267
5320
  }
5268
5321
  type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
5269
5322
  teams_populated?: string[] | Team.TeamSchema[];
5323
+ check_populated?: string | Check.CheckSchema;
5270
5324
  };
5271
- type PopulatedKeys = "teams";
5325
+ type PopulatedKeys = "teams" | "check_id";
5272
5326
  export namespace Find {
5273
5327
  type Params = DefaultPaginationQueryParams & {
5274
5328
  _id?: string[] | string;
@@ -5306,6 +5360,118 @@ export declare namespace Service {
5306
5360
  }
5307
5361
  export {};
5308
5362
  }
5363
+ namespace Check {
5364
+ export interface CheckSchema {
5365
+ _id: string;
5366
+ drawer_name: string;
5367
+ bank: string;
5368
+ bank_branch: string;
5369
+ check_number: number;
5370
+ amount: number;
5371
+ check_date: string;
5372
+ photo?: string;
5373
+ media?: string[];
5374
+ caption?: string;
5375
+ photo_meta?: {
5376
+ device_orientation?: 1 | 2 | 3 | 4;
5377
+ height?: 1 | 2 | 3 | 4;
5378
+ width?: 1 | 2 | 3 | 4;
5379
+ };
5380
+ paytime: string;
5381
+ client_id: string;
5382
+ client_name: string;
5383
+ creator: {
5384
+ _id: string;
5385
+ type: "rep" | "admin";
5386
+ rep?: string;
5387
+ admin?: string;
5388
+ name?: string;
5389
+ };
5390
+ sync_id: string;
5391
+ payment_serial_number: SerialNumber;
5392
+ refund_serial_number?: SerialNumber;
5393
+ disabled: boolean;
5394
+ settled?: boolean;
5395
+ teams?: string[];
5396
+ company_namespace: string[];
5397
+ createdAt: Date;
5398
+ updatedAt: Date;
5399
+ }
5400
+ export interface CreateBody {
5401
+ drawer_name: string;
5402
+ bank: string;
5403
+ bank_branch: string;
5404
+ check_number: number;
5405
+ amount: number;
5406
+ check_date: string;
5407
+ photo?: string;
5408
+ media?: string[];
5409
+ caption?: string;
5410
+ photo_meta?: {
5411
+ device_orientation?: 1 | 2 | 3 | 4;
5412
+ height?: 1 | 2 | 3 | 4;
5413
+ width?: 1 | 2 | 3 | 4;
5414
+ };
5415
+ paytime: string;
5416
+ client_id: string;
5417
+ client_name: string;
5418
+ creator: {
5419
+ _id: string;
5420
+ type: "rep" | "admin";
5421
+ rep?: string;
5422
+ admin?: string;
5423
+ name?: string;
5424
+ };
5425
+ sync_id: string;
5426
+ payment_serial_number: SerialNumber;
5427
+ refund_serial_number?: SerialNumber;
5428
+ disabled: boolean;
5429
+ settled?: boolean;
5430
+ teams?: string[];
5431
+ company_namespace: string[];
5432
+ }
5433
+ type CheckSchemaWithPopulatedKeys = CheckSchema & {
5434
+ teams?: string[] | Team.TeamSchema[];
5435
+ bank?: string | Bank.BankSchema;
5436
+ client_id?: string | Client.ClientSchema;
5437
+ };
5438
+ type PopulatedKeys = "bank" | "teams" | "client_id";
5439
+ export namespace Find {
5440
+ type Params = DefaultPaginationQueryParams & {
5441
+ _id?: string[] | string;
5442
+ "creator._id"?: string[] | string;
5443
+ client_id?: string[] | string;
5444
+ check_number?: number;
5445
+ client_name?: string;
5446
+ rep_name?: string;
5447
+ drawer_name?: string;
5448
+ bank_name?: string;
5449
+ amount?: number;
5450
+ settled?: boolean;
5451
+ from_updatedAt?: number;
5452
+ [key: string]: any;
5453
+ populatedKeys?: PopulatedKeys[];
5454
+ };
5455
+ interface Result extends DefaultPaginationResult {
5456
+ data: CheckSchemaWithPopulatedKeys[];
5457
+ absolute_total: number;
5458
+ page_total: number;
5459
+ }
5460
+ }
5461
+ export namespace Get {
5462
+ type ID = string;
5463
+ interface Params {
5464
+ withPrintDetails?: boolean;
5465
+ populatedKeys?: PopulatedKeys[];
5466
+ }
5467
+ type Result = CheckSchemaWithPopulatedKeys;
5468
+ }
5469
+ export namespace Create {
5470
+ type Body = CreateBody;
5471
+ type Result = CheckSchema;
5472
+ }
5473
+ export {};
5474
+ }
5309
5475
  namespace Cycle {
5310
5476
  type CycleStatus = "pending" | "approved" | "processing" | "rejected";
5311
5477
  export interface Schema {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -1841,6 +1841,39 @@ export default class Repzo {
1841
1841
  },
1842
1842
  };
1843
1843
 
1844
+ check = {
1845
+ _path: "/checks",
1846
+
1847
+ find: async (
1848
+ params?: Service.Check.Find.Params
1849
+ ): Promise<Service.Check.Find.Result> => {
1850
+ let res: Service.Check.Find.Result = await this._fetch(
1851
+ this.svAPIEndpoint,
1852
+ this.check._path,
1853
+ params
1854
+ );
1855
+ return res;
1856
+ },
1857
+
1858
+ get: async (
1859
+ id: Service.Check.Get.ID,
1860
+ params?: Service.Check.Get.Params
1861
+ ): Promise<Service.Check.Get.Result> => {
1862
+ return await this._fetch(
1863
+ this.svAPIEndpoint,
1864
+ this.check._path + `/${id}`,
1865
+ params
1866
+ );
1867
+ },
1868
+
1869
+ create: async (
1870
+ body: Service.Check.Create.Body
1871
+ ): Promise<Service.Check.Create.Result> => {
1872
+ let res = await this._create(this.svAPIEndpoint, this.check._path, body);
1873
+ return res;
1874
+ },
1875
+ };
1876
+
1844
1877
  transfer = {
1845
1878
  _path: "/transfer",
1846
1879
  find: async (
@@ -3329,10 +3329,8 @@ export namespace Service {
3329
3329
  meta: VisitMeta;
3330
3330
  lines?: string[];
3331
3331
  client_geo_location: {
3332
- type: {
3333
- lat: Number;
3334
- lng: Number;
3335
- };
3332
+ lat: Number;
3333
+ lng: Number;
3336
3334
  };
3337
3335
  geofencing_radius?: number;
3338
3336
  availability?: string[];
@@ -3346,6 +3344,24 @@ export namespace Service {
3346
3344
  | "low_accuracy"
3347
3345
  | "location_turned_off";
3348
3346
  company_namespace: string[];
3347
+ option_id?: string;
3348
+ invoice_total?: number;
3349
+ invoice_pre_total?: number;
3350
+ invoice_return_total?: number;
3351
+ proforma_total?: number;
3352
+ proforma_pre_total?: number;
3353
+ proforma_return_total?: number;
3354
+ payment_total?: number;
3355
+ refund_total?: number;
3356
+ geo_tag?: {
3357
+ lat: number;
3358
+ lng: number;
3359
+ formatted_address?: string;
3360
+ extra?: {};
3361
+ };
3362
+ delayed?: boolean;
3363
+ createdAt: Date;
3364
+ updatedAt: Date;
3349
3365
  }
3350
3366
  export interface CreateBody {
3351
3367
  geoPoint: {
@@ -3385,10 +3401,8 @@ export namespace Service {
3385
3401
  meta: VisitMeta;
3386
3402
  lines?: string[];
3387
3403
  client_geo_location: {
3388
- type: {
3389
- lat: Number;
3390
- lng: Number;
3391
- };
3404
+ lat: Number;
3405
+ lng: Number;
3392
3406
  };
3393
3407
  geofencing_radius?: number;
3394
3408
  availability?: string[];
@@ -3396,6 +3410,22 @@ export namespace Service {
3396
3410
  asset?: string;
3397
3411
  asset_unit?: string;
3398
3412
  company_namespace: string[];
3413
+ option_id?: string;
3414
+ invoice_total?: number;
3415
+ invoice_pre_total?: number;
3416
+ invoice_return_total?: number;
3417
+ proforma_total?: number;
3418
+ proforma_pre_total?: number;
3419
+ proforma_return_total?: number;
3420
+ payment_total?: number;
3421
+ refund_total?: number;
3422
+ geo_tag?: {
3423
+ lat: number;
3424
+ lng: number;
3425
+ formatted_address?: string;
3426
+ extra?: {};
3427
+ };
3428
+ delayed?: boolean;
3399
3429
  }
3400
3430
  export interface UpdateBody {
3401
3431
  geoPoint?: {
@@ -3448,10 +3478,8 @@ export namespace Service {
3448
3478
  meta: VisitMeta;
3449
3479
  lines?: string[];
3450
3480
  client_geo_location?: {
3451
- type: {
3452
- lat: Number;
3453
- lng: Number;
3454
- };
3481
+ lat: Number;
3482
+ lng: Number;
3455
3483
  };
3456
3484
  geofencing_radius?: number;
3457
3485
  availability?: string[];
@@ -3464,9 +3492,25 @@ export namespace Service {
3464
3492
  | "out_of_geofence"
3465
3493
  | "low_accuracy"
3466
3494
  | "location_turned_off";
3467
- company_namespace: string[];
3495
+ company_namespace?: string[];
3496
+ option_id?: string;
3497
+ invoice_total?: number;
3498
+ invoice_pre_total?: number;
3499
+ invoice_return_total?: number;
3500
+ proforma_total?: number;
3501
+ proforma_pre_total?: number;
3502
+ proforma_return_total?: number;
3503
+ payment_total?: number;
3504
+ refund_total?: number;
3505
+ geo_tag?: {
3506
+ lat: number;
3507
+ lng: number;
3508
+ formatted_address?: string;
3509
+ extra?: {};
3510
+ };
3511
+ delayed?: boolean;
3468
3512
  }
3469
- type VisitSchemaWithPopulatedKeys = {
3513
+ type VisitSchemaWithPopulatedKeys = VisitSchema & {
3470
3514
  notes: {
3471
3515
  content: string;
3472
3516
  geo_tag: GeoTag;
@@ -3538,8 +3582,22 @@ export namespace Service {
3538
3582
  battery_level: number;
3539
3583
  comment: ActivityComment[];
3540
3584
  };
3541
- tags: string | Tag.TagSchema;
3585
+ tags?: string[] | Tag.TagSchema[];
3586
+ teams?: string[] | Team.TeamSchema[];
3587
+ user?: string | Rep.RepSchema;
3588
+ client?: string | Client.ClientSchema;
3542
3589
  };
3590
+ type PopulatedKeys =
3591
+ | "notes"
3592
+ | "tasks"
3593
+ | "photos"
3594
+ | "forms"
3595
+ | "audits"
3596
+ | "tags"
3597
+ | "availability"
3598
+ | "teams"
3599
+ | "client"
3600
+ | "user";
3543
3601
  export namespace Find {
3544
3602
  export type Params = DefaultPaginationQueryParams & {
3545
3603
  user?: string;
@@ -3557,21 +3615,17 @@ export namespace Service {
3557
3615
  from_total_time?: number;
3558
3616
  to_total_time?: number;
3559
3617
  closed_by_system?: boolean;
3618
+ from_updatedAt?: number;
3619
+ [key: string]: any; // integration_meta.
3620
+ populatedKeys?: PopulatedKeys[];
3560
3621
  };
3561
3622
  export interface Result extends DefaultPaginationResult {
3562
- data: VisitSchema[];
3623
+ data: VisitSchemaWithPopulatedKeys[];
3563
3624
  absolute_total: number;
3564
3625
  page_total: number;
3565
3626
  }
3566
3627
  }
3567
- type PopulatedKeys =
3568
- | "notes"
3569
- | "tasks"
3570
- | "photos"
3571
- | "forms"
3572
- | "audits"
3573
- | "tags"
3574
- | "availability";
3628
+
3575
3629
  export namespace Create {
3576
3630
  export type Body = CreateBody;
3577
3631
  export type Result = VisitSchema;
@@ -5269,8 +5323,9 @@ export namespace Service {
5269
5323
 
5270
5324
  type SettlementSchemaWithPopulatedKeys = SettlementSchema & {
5271
5325
  teams_populated?: string[] | Team.TeamSchema[];
5326
+ check_populated?: string | Check.CheckSchema;
5272
5327
  };
5273
- type PopulatedKeys = "teams";
5328
+ type PopulatedKeys = "teams" | "check_id";
5274
5329
  export namespace Find {
5275
5330
  export type Params = DefaultPaginationQueryParams & {
5276
5331
  _id?: string[] | string;
@@ -5310,6 +5365,121 @@ export namespace Service {
5310
5365
  export type Result = SettlementSchema;
5311
5366
  }
5312
5367
  }
5368
+
5369
+ export namespace Check {
5370
+ export interface CheckSchema {
5371
+ _id: string;
5372
+ drawer_name: string;
5373
+ bank: string;
5374
+ bank_branch: string;
5375
+ check_number: number;
5376
+ amount: number;
5377
+ check_date: string;
5378
+ photo?: string;
5379
+ media?: string[];
5380
+ caption?: string;
5381
+ photo_meta?: {
5382
+ device_orientation?: 1 | 2 | 3 | 4;
5383
+ height?: 1 | 2 | 3 | 4;
5384
+ width?: 1 | 2 | 3 | 4;
5385
+ };
5386
+ paytime: string;
5387
+ client_id: string;
5388
+ client_name: string;
5389
+ creator: {
5390
+ _id: string;
5391
+ type: "rep" | "admin";
5392
+ rep?: string;
5393
+ admin?: string;
5394
+ name?: string;
5395
+ };
5396
+ sync_id: string;
5397
+ payment_serial_number: SerialNumber;
5398
+ refund_serial_number?: SerialNumber;
5399
+ disabled: boolean;
5400
+ settled?: boolean;
5401
+ teams?: string[];
5402
+ company_namespace: string[];
5403
+ createdAt: Date;
5404
+ updatedAt: Date;
5405
+ }
5406
+ export interface CreateBody {
5407
+ drawer_name: string;
5408
+ bank: string;
5409
+ bank_branch: string;
5410
+ check_number: number;
5411
+ amount: number;
5412
+ check_date: string;
5413
+ photo?: string;
5414
+ media?: string[];
5415
+ caption?: string;
5416
+ photo_meta?: {
5417
+ device_orientation?: 1 | 2 | 3 | 4;
5418
+ height?: 1 | 2 | 3 | 4;
5419
+ width?: 1 | 2 | 3 | 4;
5420
+ };
5421
+ paytime: string;
5422
+ client_id: string;
5423
+ client_name: string;
5424
+ creator: {
5425
+ _id: string;
5426
+ type: "rep" | "admin";
5427
+ rep?: string;
5428
+ admin?: string;
5429
+ name?: string;
5430
+ };
5431
+ sync_id: string;
5432
+ payment_serial_number: SerialNumber;
5433
+ refund_serial_number?: SerialNumber;
5434
+ disabled: boolean;
5435
+ settled?: boolean;
5436
+ teams?: string[];
5437
+ company_namespace: string[];
5438
+ }
5439
+ type CheckSchemaWithPopulatedKeys = CheckSchema & {
5440
+ teams?: string[] | Team.TeamSchema[];
5441
+ bank?: string | Bank.BankSchema;
5442
+ client_id?: string | Client.ClientSchema;
5443
+ };
5444
+ type PopulatedKeys = "bank" | "teams" | "client_id";
5445
+ export namespace Find {
5446
+ export type Params = DefaultPaginationQueryParams & {
5447
+ _id?: string[] | string;
5448
+ "creator._id"?: string[] | string;
5449
+ client_id?: string[] | string;
5450
+ check_number?: number;
5451
+ client_name?: string;
5452
+ rep_name?: string;
5453
+ drawer_name?: string;
5454
+ bank_name?: string;
5455
+ amount?: number;
5456
+ settled?: boolean;
5457
+ from_updatedAt?: number;
5458
+ [key: string]: any; // integration_meta.
5459
+ populatedKeys?: PopulatedKeys[];
5460
+ };
5461
+ export interface Result extends DefaultPaginationResult {
5462
+ data: CheckSchemaWithPopulatedKeys[];
5463
+ absolute_total: number;
5464
+ page_total: number;
5465
+ }
5466
+ }
5467
+
5468
+ export namespace Get {
5469
+ export type ID = string;
5470
+ export interface Params {
5471
+ withPrintDetails?: boolean;
5472
+ populatedKeys?: PopulatedKeys[];
5473
+ }
5474
+ export type Result = CheckSchemaWithPopulatedKeys;
5475
+ }
5476
+
5477
+ export namespace Create {
5478
+ export type Body = CreateBody;
5479
+ export type Result = CheckSchema;
5480
+ }
5481
+ }
5482
+
5313
5483
  export namespace Cycle {
5314
5484
  type CycleStatus = "pending" | "approved" | "processing" | "rejected";
5315
5485
  export interface Schema {