@kl1/contracts 1.1.47-uat → 1.1.48-uat
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/dist/index.js +52 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +47 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +4053 -3
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +0 -3
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +0 -3
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +3 -0
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +3 -0
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -58521,6 +58521,7 @@ export declare const ticketContract: {
|
|
58521
58521
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
58522
58522
|
status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58523
58523
|
priority: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58524
|
+
assignee: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58524
58525
|
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58525
58526
|
type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
58526
58527
|
ticketType: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -58548,6 +58549,7 @@ export declare const ticketContract: {
|
|
58548
58549
|
description?: string | undefined;
|
58549
58550
|
status?: string[] | undefined;
|
58550
58551
|
priority?: string[] | undefined;
|
58552
|
+
assignee?: string[] | undefined;
|
58551
58553
|
channel?: string[] | undefined;
|
58552
58554
|
type?: string[] | undefined;
|
58553
58555
|
ticketType?: string[] | undefined;
|
@@ -58567,6 +58569,7 @@ export declare const ticketContract: {
|
|
58567
58569
|
description?: string | undefined;
|
58568
58570
|
status?: string[] | undefined;
|
58569
58571
|
priority?: string[] | undefined;
|
58572
|
+
assignee?: string[] | undefined;
|
58570
58573
|
channel?: string[] | undefined;
|
58571
58574
|
type?: string[] | undefined;
|
58572
58575
|
ticketType?: string[] | undefined;
|
@@ -92888,13 +92891,10 @@ export declare const platformContract: {
|
|
92888
92891
|
};
|
92889
92892
|
setBotPersistentMenu: {
|
92890
92893
|
body: import("zod").ZodObject<{
|
92891
|
-
psid: import("zod").ZodString;
|
92892
92894
|
pageAccessToken: import("zod").ZodString;
|
92893
92895
|
}, "strip", import("zod").ZodTypeAny, {
|
92894
|
-
psid: string;
|
92895
92896
|
pageAccessToken: string;
|
92896
92897
|
}, {
|
92897
|
-
psid: string;
|
92898
92898
|
pageAccessToken: string;
|
92899
92899
|
}>;
|
92900
92900
|
method: "POST";
|
@@ -177358,4 +177358,4054 @@ export declare const workflowContract: {
|
|
177358
177358
|
};
|
177359
177359
|
};
|
177360
177360
|
};
|
177361
|
+
export declare const attributeSettingContact: {
|
177362
|
+
attribute: {
|
177363
|
+
createAttribute: {
|
177364
|
+
body: import("zod").ZodObject<{
|
177365
|
+
name: import("zod").ZodString;
|
177366
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
177367
|
+
isRequired: import("zod").ZodBoolean;
|
177368
|
+
isVisible: import("zod").ZodBoolean;
|
177369
|
+
group: import("zod").ZodString;
|
177370
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
177371
|
+
label: import("zod").ZodString;
|
177372
|
+
value: import("zod").ZodString;
|
177373
|
+
isDefault: import("zod").ZodBoolean;
|
177374
|
+
position: import("zod").ZodNumber;
|
177375
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177376
|
+
position: number;
|
177377
|
+
value: string;
|
177378
|
+
label: string;
|
177379
|
+
isDefault: boolean;
|
177380
|
+
}, {
|
177381
|
+
position: number;
|
177382
|
+
value: string;
|
177383
|
+
label: string;
|
177384
|
+
isDefault: boolean;
|
177385
|
+
}>, "many">;
|
177386
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177387
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177388
|
+
name: string;
|
177389
|
+
options: {
|
177390
|
+
position: number;
|
177391
|
+
value: string;
|
177392
|
+
label: string;
|
177393
|
+
isDefault: boolean;
|
177394
|
+
}[];
|
177395
|
+
group: string;
|
177396
|
+
isRequired: boolean;
|
177397
|
+
isVisible: boolean;
|
177398
|
+
}, {
|
177399
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177400
|
+
name: string;
|
177401
|
+
options: {
|
177402
|
+
position: number;
|
177403
|
+
value: string;
|
177404
|
+
label: string;
|
177405
|
+
isDefault: boolean;
|
177406
|
+
}[];
|
177407
|
+
group: string;
|
177408
|
+
isRequired: boolean;
|
177409
|
+
isVisible: boolean;
|
177410
|
+
}>;
|
177411
|
+
method: "POST";
|
177412
|
+
responses: {
|
177413
|
+
201: import("zod").ZodObject<{
|
177414
|
+
requestId: import("zod").ZodString;
|
177415
|
+
attribute: import("zod").ZodObject<{
|
177416
|
+
id: import("zod").ZodString;
|
177417
|
+
createdAt: import("zod").ZodDate;
|
177418
|
+
updatedAt: import("zod").ZodDate;
|
177419
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177420
|
+
systemName: import("zod").ZodString;
|
177421
|
+
displayName: import("zod").ZodString;
|
177422
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
177423
|
+
position: import("zod").ZodNumber;
|
177424
|
+
isDefault: import("zod").ZodBoolean;
|
177425
|
+
isArchived: import("zod").ZodBoolean;
|
177426
|
+
isRequired: import("zod").ZodBoolean;
|
177427
|
+
isUnique: import("zod").ZodBoolean;
|
177428
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
177429
|
+
position: import("zod").ZodNumber;
|
177430
|
+
value: import("zod").ZodString;
|
177431
|
+
label: import("zod").ZodString;
|
177432
|
+
isDefault: import("zod").ZodBoolean;
|
177433
|
+
id: import("zod").ZodString;
|
177434
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177435
|
+
id: string;
|
177436
|
+
position: number;
|
177437
|
+
value: string;
|
177438
|
+
label: string;
|
177439
|
+
isDefault: boolean;
|
177440
|
+
}, {
|
177441
|
+
id: string;
|
177442
|
+
position: number;
|
177443
|
+
value: string;
|
177444
|
+
label: string;
|
177445
|
+
isDefault: boolean;
|
177446
|
+
}>, "many">;
|
177447
|
+
group: import("zod").ZodObject<{
|
177448
|
+
id: import("zod").ZodString;
|
177449
|
+
createdAt: import("zod").ZodDate;
|
177450
|
+
updatedAt: import("zod").ZodDate;
|
177451
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177452
|
+
systemName: import("zod").ZodString;
|
177453
|
+
displayName: import("zod").ZodString;
|
177454
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177455
|
+
id: string;
|
177456
|
+
createdAt: Date;
|
177457
|
+
updatedAt: Date;
|
177458
|
+
deletedAt: Date | null;
|
177459
|
+
systemName: string;
|
177460
|
+
displayName: string;
|
177461
|
+
}, {
|
177462
|
+
id: string;
|
177463
|
+
createdAt: Date;
|
177464
|
+
updatedAt: Date;
|
177465
|
+
deletedAt: Date | null;
|
177466
|
+
systemName: string;
|
177467
|
+
displayName: string;
|
177468
|
+
}>;
|
177469
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177470
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177471
|
+
id: string;
|
177472
|
+
position: number;
|
177473
|
+
options: {
|
177474
|
+
id: string;
|
177475
|
+
position: number;
|
177476
|
+
value: string;
|
177477
|
+
label: string;
|
177478
|
+
isDefault: boolean;
|
177479
|
+
}[];
|
177480
|
+
group: {
|
177481
|
+
id: string;
|
177482
|
+
createdAt: Date;
|
177483
|
+
updatedAt: Date;
|
177484
|
+
deletedAt: Date | null;
|
177485
|
+
systemName: string;
|
177486
|
+
displayName: string;
|
177487
|
+
};
|
177488
|
+
createdAt: Date;
|
177489
|
+
updatedAt: Date;
|
177490
|
+
deletedAt: Date | null;
|
177491
|
+
systemName: string;
|
177492
|
+
displayName: string;
|
177493
|
+
isDefault: boolean;
|
177494
|
+
isArchived: boolean;
|
177495
|
+
isRequired: boolean;
|
177496
|
+
isUnique: boolean;
|
177497
|
+
}, {
|
177498
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177499
|
+
id: string;
|
177500
|
+
position: number;
|
177501
|
+
options: {
|
177502
|
+
id: string;
|
177503
|
+
position: number;
|
177504
|
+
value: string;
|
177505
|
+
label: string;
|
177506
|
+
isDefault: boolean;
|
177507
|
+
}[];
|
177508
|
+
group: {
|
177509
|
+
id: string;
|
177510
|
+
createdAt: Date;
|
177511
|
+
updatedAt: Date;
|
177512
|
+
deletedAt: Date | null;
|
177513
|
+
systemName: string;
|
177514
|
+
displayName: string;
|
177515
|
+
};
|
177516
|
+
createdAt: Date;
|
177517
|
+
updatedAt: Date;
|
177518
|
+
deletedAt: Date | null;
|
177519
|
+
systemName: string;
|
177520
|
+
displayName: string;
|
177521
|
+
isDefault: boolean;
|
177522
|
+
isArchived: boolean;
|
177523
|
+
isRequired: boolean;
|
177524
|
+
isUnique: boolean;
|
177525
|
+
}>;
|
177526
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177527
|
+
requestId: string;
|
177528
|
+
attribute: {
|
177529
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177530
|
+
id: string;
|
177531
|
+
position: number;
|
177532
|
+
options: {
|
177533
|
+
id: string;
|
177534
|
+
position: number;
|
177535
|
+
value: string;
|
177536
|
+
label: string;
|
177537
|
+
isDefault: boolean;
|
177538
|
+
}[];
|
177539
|
+
group: {
|
177540
|
+
id: string;
|
177541
|
+
createdAt: Date;
|
177542
|
+
updatedAt: Date;
|
177543
|
+
deletedAt: Date | null;
|
177544
|
+
systemName: string;
|
177545
|
+
displayName: string;
|
177546
|
+
};
|
177547
|
+
createdAt: Date;
|
177548
|
+
updatedAt: Date;
|
177549
|
+
deletedAt: Date | null;
|
177550
|
+
systemName: string;
|
177551
|
+
displayName: string;
|
177552
|
+
isDefault: boolean;
|
177553
|
+
isArchived: boolean;
|
177554
|
+
isRequired: boolean;
|
177555
|
+
isUnique: boolean;
|
177556
|
+
};
|
177557
|
+
}, {
|
177558
|
+
requestId: string;
|
177559
|
+
attribute: {
|
177560
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177561
|
+
id: string;
|
177562
|
+
position: number;
|
177563
|
+
options: {
|
177564
|
+
id: string;
|
177565
|
+
position: number;
|
177566
|
+
value: string;
|
177567
|
+
label: string;
|
177568
|
+
isDefault: boolean;
|
177569
|
+
}[];
|
177570
|
+
group: {
|
177571
|
+
id: string;
|
177572
|
+
createdAt: Date;
|
177573
|
+
updatedAt: Date;
|
177574
|
+
deletedAt: Date | null;
|
177575
|
+
systemName: string;
|
177576
|
+
displayName: string;
|
177577
|
+
};
|
177578
|
+
createdAt: Date;
|
177579
|
+
updatedAt: Date;
|
177580
|
+
deletedAt: Date | null;
|
177581
|
+
systemName: string;
|
177582
|
+
displayName: string;
|
177583
|
+
isDefault: boolean;
|
177584
|
+
isArchived: boolean;
|
177585
|
+
isRequired: boolean;
|
177586
|
+
isUnique: boolean;
|
177587
|
+
};
|
177588
|
+
}>;
|
177589
|
+
500: import("zod").ZodObject<{
|
177590
|
+
message: import("zod").ZodString;
|
177591
|
+
error: import("zod").ZodAny;
|
177592
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177593
|
+
message: string;
|
177594
|
+
error?: any;
|
177595
|
+
}, {
|
177596
|
+
message: string;
|
177597
|
+
error?: any;
|
177598
|
+
}>;
|
177599
|
+
};
|
177600
|
+
path: "settings/attributes";
|
177601
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
177602
|
+
'x-tenant': import("zod").ZodString;
|
177603
|
+
authorization: import("zod").ZodString;
|
177604
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
177605
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
177606
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177607
|
+
'x-tenant': string;
|
177608
|
+
authorization: string;
|
177609
|
+
'x-client-timezone': string;
|
177610
|
+
'x-code'?: string | undefined;
|
177611
|
+
}, {
|
177612
|
+
'x-tenant': string;
|
177613
|
+
authorization: string;
|
177614
|
+
'x-code'?: string | undefined;
|
177615
|
+
'x-client-timezone'?: string | undefined;
|
177616
|
+
}>>>;
|
177617
|
+
};
|
177618
|
+
getAttributes: {
|
177619
|
+
method: "GET";
|
177620
|
+
query: import("zod").ZodObject<{
|
177621
|
+
group: import("zod").ZodString;
|
177622
|
+
visibleOnly: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
177623
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177624
|
+
group: string;
|
177625
|
+
visibleOnly: boolean;
|
177626
|
+
}, {
|
177627
|
+
group: string;
|
177628
|
+
visibleOnly?: boolean | undefined;
|
177629
|
+
}>;
|
177630
|
+
responses: {
|
177631
|
+
200: import("zod").ZodObject<{
|
177632
|
+
requestId: import("zod").ZodString;
|
177633
|
+
attributes: import("zod").ZodArray<import("zod").ZodObject<{
|
177634
|
+
id: import("zod").ZodString;
|
177635
|
+
createdAt: import("zod").ZodDate;
|
177636
|
+
updatedAt: import("zod").ZodDate;
|
177637
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177638
|
+
systemName: import("zod").ZodString;
|
177639
|
+
displayName: import("zod").ZodString;
|
177640
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
177641
|
+
position: import("zod").ZodNumber;
|
177642
|
+
isDefault: import("zod").ZodBoolean;
|
177643
|
+
isArchived: import("zod").ZodBoolean;
|
177644
|
+
isRequired: import("zod").ZodBoolean;
|
177645
|
+
isUnique: import("zod").ZodBoolean;
|
177646
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
177647
|
+
position: import("zod").ZodNumber;
|
177648
|
+
value: import("zod").ZodString;
|
177649
|
+
label: import("zod").ZodString;
|
177650
|
+
isDefault: import("zod").ZodBoolean;
|
177651
|
+
id: import("zod").ZodString;
|
177652
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177653
|
+
id: string;
|
177654
|
+
position: number;
|
177655
|
+
value: string;
|
177656
|
+
label: string;
|
177657
|
+
isDefault: boolean;
|
177658
|
+
}, {
|
177659
|
+
id: string;
|
177660
|
+
position: number;
|
177661
|
+
value: string;
|
177662
|
+
label: string;
|
177663
|
+
isDefault: boolean;
|
177664
|
+
}>, "many">;
|
177665
|
+
group: import("zod").ZodObject<{
|
177666
|
+
id: import("zod").ZodString;
|
177667
|
+
createdAt: import("zod").ZodDate;
|
177668
|
+
updatedAt: import("zod").ZodDate;
|
177669
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177670
|
+
systemName: import("zod").ZodString;
|
177671
|
+
displayName: import("zod").ZodString;
|
177672
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177673
|
+
id: string;
|
177674
|
+
createdAt: Date;
|
177675
|
+
updatedAt: Date;
|
177676
|
+
deletedAt: Date | null;
|
177677
|
+
systemName: string;
|
177678
|
+
displayName: string;
|
177679
|
+
}, {
|
177680
|
+
id: string;
|
177681
|
+
createdAt: Date;
|
177682
|
+
updatedAt: Date;
|
177683
|
+
deletedAt: Date | null;
|
177684
|
+
systemName: string;
|
177685
|
+
displayName: string;
|
177686
|
+
}>;
|
177687
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177688
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177689
|
+
id: string;
|
177690
|
+
position: number;
|
177691
|
+
options: {
|
177692
|
+
id: string;
|
177693
|
+
position: number;
|
177694
|
+
value: string;
|
177695
|
+
label: string;
|
177696
|
+
isDefault: boolean;
|
177697
|
+
}[];
|
177698
|
+
group: {
|
177699
|
+
id: string;
|
177700
|
+
createdAt: Date;
|
177701
|
+
updatedAt: Date;
|
177702
|
+
deletedAt: Date | null;
|
177703
|
+
systemName: string;
|
177704
|
+
displayName: string;
|
177705
|
+
};
|
177706
|
+
createdAt: Date;
|
177707
|
+
updatedAt: Date;
|
177708
|
+
deletedAt: Date | null;
|
177709
|
+
systemName: string;
|
177710
|
+
displayName: string;
|
177711
|
+
isDefault: boolean;
|
177712
|
+
isArchived: boolean;
|
177713
|
+
isRequired: boolean;
|
177714
|
+
isUnique: boolean;
|
177715
|
+
}, {
|
177716
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177717
|
+
id: string;
|
177718
|
+
position: number;
|
177719
|
+
options: {
|
177720
|
+
id: string;
|
177721
|
+
position: number;
|
177722
|
+
value: string;
|
177723
|
+
label: string;
|
177724
|
+
isDefault: boolean;
|
177725
|
+
}[];
|
177726
|
+
group: {
|
177727
|
+
id: string;
|
177728
|
+
createdAt: Date;
|
177729
|
+
updatedAt: Date;
|
177730
|
+
deletedAt: Date | null;
|
177731
|
+
systemName: string;
|
177732
|
+
displayName: string;
|
177733
|
+
};
|
177734
|
+
createdAt: Date;
|
177735
|
+
updatedAt: Date;
|
177736
|
+
deletedAt: Date | null;
|
177737
|
+
systemName: string;
|
177738
|
+
displayName: string;
|
177739
|
+
isDefault: boolean;
|
177740
|
+
isArchived: boolean;
|
177741
|
+
isRequired: boolean;
|
177742
|
+
isUnique: boolean;
|
177743
|
+
}>, "many">;
|
177744
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177745
|
+
attributes: {
|
177746
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177747
|
+
id: string;
|
177748
|
+
position: number;
|
177749
|
+
options: {
|
177750
|
+
id: string;
|
177751
|
+
position: number;
|
177752
|
+
value: string;
|
177753
|
+
label: string;
|
177754
|
+
isDefault: boolean;
|
177755
|
+
}[];
|
177756
|
+
group: {
|
177757
|
+
id: string;
|
177758
|
+
createdAt: Date;
|
177759
|
+
updatedAt: Date;
|
177760
|
+
deletedAt: Date | null;
|
177761
|
+
systemName: string;
|
177762
|
+
displayName: string;
|
177763
|
+
};
|
177764
|
+
createdAt: Date;
|
177765
|
+
updatedAt: Date;
|
177766
|
+
deletedAt: Date | null;
|
177767
|
+
systemName: string;
|
177768
|
+
displayName: string;
|
177769
|
+
isDefault: boolean;
|
177770
|
+
isArchived: boolean;
|
177771
|
+
isRequired: boolean;
|
177772
|
+
isUnique: boolean;
|
177773
|
+
}[];
|
177774
|
+
requestId: string;
|
177775
|
+
}, {
|
177776
|
+
attributes: {
|
177777
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177778
|
+
id: string;
|
177779
|
+
position: number;
|
177780
|
+
options: {
|
177781
|
+
id: string;
|
177782
|
+
position: number;
|
177783
|
+
value: string;
|
177784
|
+
label: string;
|
177785
|
+
isDefault: boolean;
|
177786
|
+
}[];
|
177787
|
+
group: {
|
177788
|
+
id: string;
|
177789
|
+
createdAt: Date;
|
177790
|
+
updatedAt: Date;
|
177791
|
+
deletedAt: Date | null;
|
177792
|
+
systemName: string;
|
177793
|
+
displayName: string;
|
177794
|
+
};
|
177795
|
+
createdAt: Date;
|
177796
|
+
updatedAt: Date;
|
177797
|
+
deletedAt: Date | null;
|
177798
|
+
systemName: string;
|
177799
|
+
displayName: string;
|
177800
|
+
isDefault: boolean;
|
177801
|
+
isArchived: boolean;
|
177802
|
+
isRequired: boolean;
|
177803
|
+
isUnique: boolean;
|
177804
|
+
}[];
|
177805
|
+
requestId: string;
|
177806
|
+
}>;
|
177807
|
+
500: import("zod").ZodObject<{
|
177808
|
+
message: import("zod").ZodString;
|
177809
|
+
error: import("zod").ZodAny;
|
177810
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177811
|
+
message: string;
|
177812
|
+
error?: any;
|
177813
|
+
}, {
|
177814
|
+
message: string;
|
177815
|
+
error?: any;
|
177816
|
+
}>;
|
177817
|
+
};
|
177818
|
+
path: "settings/attributes";
|
177819
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
177820
|
+
'x-tenant': import("zod").ZodString;
|
177821
|
+
authorization: import("zod").ZodString;
|
177822
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
177823
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
177824
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177825
|
+
'x-tenant': string;
|
177826
|
+
authorization: string;
|
177827
|
+
'x-client-timezone': string;
|
177828
|
+
'x-code'?: string | undefined;
|
177829
|
+
}, {
|
177830
|
+
'x-tenant': string;
|
177831
|
+
authorization: string;
|
177832
|
+
'x-code'?: string | undefined;
|
177833
|
+
'x-client-timezone'?: string | undefined;
|
177834
|
+
}>>>;
|
177835
|
+
};
|
177836
|
+
updateAttribute: {
|
177837
|
+
body: import("zod").ZodObject<{
|
177838
|
+
name: import("zod").ZodString;
|
177839
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
177840
|
+
isRequired: import("zod").ZodBoolean;
|
177841
|
+
isVisible: import("zod").ZodBoolean;
|
177842
|
+
group: import("zod").ZodString;
|
177843
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
177844
|
+
label: import("zod").ZodString;
|
177845
|
+
value: import("zod").ZodString;
|
177846
|
+
isDefault: import("zod").ZodBoolean;
|
177847
|
+
position: import("zod").ZodNumber;
|
177848
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177849
|
+
position: number;
|
177850
|
+
value: string;
|
177851
|
+
label: string;
|
177852
|
+
isDefault: boolean;
|
177853
|
+
}, {
|
177854
|
+
position: number;
|
177855
|
+
value: string;
|
177856
|
+
label: string;
|
177857
|
+
isDefault: boolean;
|
177858
|
+
}>, "many">;
|
177859
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177860
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177861
|
+
name: string;
|
177862
|
+
options: {
|
177863
|
+
position: number;
|
177864
|
+
value: string;
|
177865
|
+
label: string;
|
177866
|
+
isDefault: boolean;
|
177867
|
+
}[];
|
177868
|
+
group: string;
|
177869
|
+
isRequired: boolean;
|
177870
|
+
isVisible: boolean;
|
177871
|
+
}, {
|
177872
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177873
|
+
name: string;
|
177874
|
+
options: {
|
177875
|
+
position: number;
|
177876
|
+
value: string;
|
177877
|
+
label: string;
|
177878
|
+
isDefault: boolean;
|
177879
|
+
}[];
|
177880
|
+
group: string;
|
177881
|
+
isRequired: boolean;
|
177882
|
+
isVisible: boolean;
|
177883
|
+
}>;
|
177884
|
+
method: "PATCH";
|
177885
|
+
pathParams: import("zod").ZodObject<{
|
177886
|
+
id: import("zod").ZodString;
|
177887
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177888
|
+
id: string;
|
177889
|
+
}, {
|
177890
|
+
id: string;
|
177891
|
+
}>;
|
177892
|
+
responses: {
|
177893
|
+
200: import("zod").ZodObject<{
|
177894
|
+
requestId: import("zod").ZodString;
|
177895
|
+
attribute: import("zod").ZodObject<{
|
177896
|
+
id: import("zod").ZodString;
|
177897
|
+
createdAt: import("zod").ZodDate;
|
177898
|
+
updatedAt: import("zod").ZodDate;
|
177899
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177900
|
+
systemName: import("zod").ZodString;
|
177901
|
+
displayName: import("zod").ZodString;
|
177902
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
|
177903
|
+
position: import("zod").ZodNumber;
|
177904
|
+
isDefault: import("zod").ZodBoolean;
|
177905
|
+
isArchived: import("zod").ZodBoolean;
|
177906
|
+
isRequired: import("zod").ZodBoolean;
|
177907
|
+
isUnique: import("zod").ZodBoolean;
|
177908
|
+
options: import("zod").ZodArray<import("zod").ZodObject<{
|
177909
|
+
position: import("zod").ZodNumber;
|
177910
|
+
value: import("zod").ZodString;
|
177911
|
+
label: import("zod").ZodString;
|
177912
|
+
isDefault: import("zod").ZodBoolean;
|
177913
|
+
id: import("zod").ZodString;
|
177914
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177915
|
+
id: string;
|
177916
|
+
position: number;
|
177917
|
+
value: string;
|
177918
|
+
label: string;
|
177919
|
+
isDefault: boolean;
|
177920
|
+
}, {
|
177921
|
+
id: string;
|
177922
|
+
position: number;
|
177923
|
+
value: string;
|
177924
|
+
label: string;
|
177925
|
+
isDefault: boolean;
|
177926
|
+
}>, "many">;
|
177927
|
+
group: import("zod").ZodObject<{
|
177928
|
+
id: import("zod").ZodString;
|
177929
|
+
createdAt: import("zod").ZodDate;
|
177930
|
+
updatedAt: import("zod").ZodDate;
|
177931
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
177932
|
+
systemName: import("zod").ZodString;
|
177933
|
+
displayName: import("zod").ZodString;
|
177934
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177935
|
+
id: string;
|
177936
|
+
createdAt: Date;
|
177937
|
+
updatedAt: Date;
|
177938
|
+
deletedAt: Date | null;
|
177939
|
+
systemName: string;
|
177940
|
+
displayName: string;
|
177941
|
+
}, {
|
177942
|
+
id: string;
|
177943
|
+
createdAt: Date;
|
177944
|
+
updatedAt: Date;
|
177945
|
+
deletedAt: Date | null;
|
177946
|
+
systemName: string;
|
177947
|
+
displayName: string;
|
177948
|
+
}>;
|
177949
|
+
}, "strip", import("zod").ZodTypeAny, {
|
177950
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177951
|
+
id: string;
|
177952
|
+
position: number;
|
177953
|
+
options: {
|
177954
|
+
id: string;
|
177955
|
+
position: number;
|
177956
|
+
value: string;
|
177957
|
+
label: string;
|
177958
|
+
isDefault: boolean;
|
177959
|
+
}[];
|
177960
|
+
group: {
|
177961
|
+
id: string;
|
177962
|
+
createdAt: Date;
|
177963
|
+
updatedAt: Date;
|
177964
|
+
deletedAt: Date | null;
|
177965
|
+
systemName: string;
|
177966
|
+
displayName: string;
|
177967
|
+
};
|
177968
|
+
createdAt: Date;
|
177969
|
+
updatedAt: Date;
|
177970
|
+
deletedAt: Date | null;
|
177971
|
+
systemName: string;
|
177972
|
+
displayName: string;
|
177973
|
+
isDefault: boolean;
|
177974
|
+
isArchived: boolean;
|
177975
|
+
isRequired: boolean;
|
177976
|
+
isUnique: boolean;
|
177977
|
+
}, {
|
177978
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177979
|
+
id: string;
|
177980
|
+
position: number;
|
177981
|
+
options: {
|
177982
|
+
id: string;
|
177983
|
+
position: number;
|
177984
|
+
value: string;
|
177985
|
+
label: string;
|
177986
|
+
isDefault: boolean;
|
177987
|
+
}[];
|
177988
|
+
group: {
|
177989
|
+
id: string;
|
177990
|
+
createdAt: Date;
|
177991
|
+
updatedAt: Date;
|
177992
|
+
deletedAt: Date | null;
|
177993
|
+
systemName: string;
|
177994
|
+
displayName: string;
|
177995
|
+
};
|
177996
|
+
createdAt: Date;
|
177997
|
+
updatedAt: Date;
|
177998
|
+
deletedAt: Date | null;
|
177999
|
+
systemName: string;
|
178000
|
+
displayName: string;
|
178001
|
+
isDefault: boolean;
|
178002
|
+
isArchived: boolean;
|
178003
|
+
isRequired: boolean;
|
178004
|
+
isUnique: boolean;
|
178005
|
+
}>;
|
178006
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178007
|
+
requestId: string;
|
178008
|
+
attribute: {
|
178009
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
178010
|
+
id: string;
|
178011
|
+
position: number;
|
178012
|
+
options: {
|
178013
|
+
id: string;
|
178014
|
+
position: number;
|
178015
|
+
value: string;
|
178016
|
+
label: string;
|
178017
|
+
isDefault: boolean;
|
178018
|
+
}[];
|
178019
|
+
group: {
|
178020
|
+
id: string;
|
178021
|
+
createdAt: Date;
|
178022
|
+
updatedAt: Date;
|
178023
|
+
deletedAt: Date | null;
|
178024
|
+
systemName: string;
|
178025
|
+
displayName: string;
|
178026
|
+
};
|
178027
|
+
createdAt: Date;
|
178028
|
+
updatedAt: Date;
|
178029
|
+
deletedAt: Date | null;
|
178030
|
+
systemName: string;
|
178031
|
+
displayName: string;
|
178032
|
+
isDefault: boolean;
|
178033
|
+
isArchived: boolean;
|
178034
|
+
isRequired: boolean;
|
178035
|
+
isUnique: boolean;
|
178036
|
+
};
|
178037
|
+
}, {
|
178038
|
+
requestId: string;
|
178039
|
+
attribute: {
|
178040
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
178041
|
+
id: string;
|
178042
|
+
position: number;
|
178043
|
+
options: {
|
178044
|
+
id: string;
|
178045
|
+
position: number;
|
178046
|
+
value: string;
|
178047
|
+
label: string;
|
178048
|
+
isDefault: boolean;
|
178049
|
+
}[];
|
178050
|
+
group: {
|
178051
|
+
id: string;
|
178052
|
+
createdAt: Date;
|
178053
|
+
updatedAt: Date;
|
178054
|
+
deletedAt: Date | null;
|
178055
|
+
systemName: string;
|
178056
|
+
displayName: string;
|
178057
|
+
};
|
178058
|
+
createdAt: Date;
|
178059
|
+
updatedAt: Date;
|
178060
|
+
deletedAt: Date | null;
|
178061
|
+
systemName: string;
|
178062
|
+
displayName: string;
|
178063
|
+
isDefault: boolean;
|
178064
|
+
isArchived: boolean;
|
178065
|
+
isRequired: boolean;
|
178066
|
+
isUnique: boolean;
|
178067
|
+
};
|
178068
|
+
}>;
|
178069
|
+
500: import("zod").ZodObject<{
|
178070
|
+
message: import("zod").ZodString;
|
178071
|
+
error: import("zod").ZodAny;
|
178072
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178073
|
+
message: string;
|
178074
|
+
error?: any;
|
178075
|
+
}, {
|
178076
|
+
message: string;
|
178077
|
+
error?: any;
|
178078
|
+
}>;
|
178079
|
+
};
|
178080
|
+
path: "settings/attributes/:id";
|
178081
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178082
|
+
'x-tenant': import("zod").ZodString;
|
178083
|
+
authorization: import("zod").ZodString;
|
178084
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178085
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178086
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178087
|
+
'x-tenant': string;
|
178088
|
+
authorization: string;
|
178089
|
+
'x-client-timezone': string;
|
178090
|
+
'x-code'?: string | undefined;
|
178091
|
+
}, {
|
178092
|
+
'x-tenant': string;
|
178093
|
+
authorization: string;
|
178094
|
+
'x-code'?: string | undefined;
|
178095
|
+
'x-client-timezone'?: string | undefined;
|
178096
|
+
}>>>;
|
178097
|
+
};
|
178098
|
+
changeVisibility: {
|
178099
|
+
body: import("zod").ZodObject<{
|
178100
|
+
isVisible: import("zod").ZodBoolean;
|
178101
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178102
|
+
isVisible: boolean;
|
178103
|
+
}, {
|
178104
|
+
isVisible: boolean;
|
178105
|
+
}>;
|
178106
|
+
method: "PATCH";
|
178107
|
+
pathParams: import("zod").ZodObject<{
|
178108
|
+
id: import("zod").ZodString;
|
178109
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178110
|
+
id: string;
|
178111
|
+
}, {
|
178112
|
+
id: string;
|
178113
|
+
}>;
|
178114
|
+
responses: {
|
178115
|
+
200: import("zod").ZodObject<{
|
178116
|
+
requestId: import("zod").ZodString;
|
178117
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
178118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178119
|
+
requestId: string;
|
178120
|
+
message?: string | undefined;
|
178121
|
+
}, {
|
178122
|
+
requestId: string;
|
178123
|
+
message?: string | undefined;
|
178124
|
+
}>;
|
178125
|
+
500: import("zod").ZodObject<{
|
178126
|
+
message: import("zod").ZodString;
|
178127
|
+
error: import("zod").ZodAny;
|
178128
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178129
|
+
message: string;
|
178130
|
+
error?: any;
|
178131
|
+
}, {
|
178132
|
+
message: string;
|
178133
|
+
error?: any;
|
178134
|
+
}>;
|
178135
|
+
};
|
178136
|
+
path: "settings/attributes/visibility/:id";
|
178137
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178138
|
+
'x-tenant': import("zod").ZodString;
|
178139
|
+
authorization: import("zod").ZodString;
|
178140
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178141
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178143
|
+
'x-tenant': string;
|
178144
|
+
authorization: string;
|
178145
|
+
'x-client-timezone': string;
|
178146
|
+
'x-code'?: string | undefined;
|
178147
|
+
}, {
|
178148
|
+
'x-tenant': string;
|
178149
|
+
authorization: string;
|
178150
|
+
'x-code'?: string | undefined;
|
178151
|
+
'x-client-timezone'?: string | undefined;
|
178152
|
+
}>>>;
|
178153
|
+
};
|
178154
|
+
changeRequired: {
|
178155
|
+
body: import("zod").ZodObject<{
|
178156
|
+
isRequired: import("zod").ZodBoolean;
|
178157
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178158
|
+
isRequired: boolean;
|
178159
|
+
}, {
|
178160
|
+
isRequired: boolean;
|
178161
|
+
}>;
|
178162
|
+
method: "PATCH";
|
178163
|
+
pathParams: import("zod").ZodObject<{
|
178164
|
+
id: import("zod").ZodString;
|
178165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178166
|
+
id: string;
|
178167
|
+
}, {
|
178168
|
+
id: string;
|
178169
|
+
}>;
|
178170
|
+
responses: {
|
178171
|
+
200: import("zod").ZodObject<{
|
178172
|
+
requestId: import("zod").ZodString;
|
178173
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
178174
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178175
|
+
requestId: string;
|
178176
|
+
message?: string | undefined;
|
178177
|
+
}, {
|
178178
|
+
requestId: string;
|
178179
|
+
message?: string | undefined;
|
178180
|
+
}>;
|
178181
|
+
500: import("zod").ZodObject<{
|
178182
|
+
message: import("zod").ZodString;
|
178183
|
+
error: import("zod").ZodAny;
|
178184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178185
|
+
message: string;
|
178186
|
+
error?: any;
|
178187
|
+
}, {
|
178188
|
+
message: string;
|
178189
|
+
error?: any;
|
178190
|
+
}>;
|
178191
|
+
};
|
178192
|
+
path: "settings/attributes/required/:id";
|
178193
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178194
|
+
'x-tenant': import("zod").ZodString;
|
178195
|
+
authorization: import("zod").ZodString;
|
178196
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178197
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178198
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178199
|
+
'x-tenant': string;
|
178200
|
+
authorization: string;
|
178201
|
+
'x-client-timezone': string;
|
178202
|
+
'x-code'?: string | undefined;
|
178203
|
+
}, {
|
178204
|
+
'x-tenant': string;
|
178205
|
+
authorization: string;
|
178206
|
+
'x-code'?: string | undefined;
|
178207
|
+
'x-client-timezone'?: string | undefined;
|
178208
|
+
}>>>;
|
178209
|
+
};
|
178210
|
+
updatePosition: {
|
178211
|
+
body: import("zod").ZodObject<{
|
178212
|
+
attributes: import("zod").ZodArray<import("zod").ZodObject<{
|
178213
|
+
attributeId: import("zod").ZodString;
|
178214
|
+
position: import("zod").ZodNumber;
|
178215
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178216
|
+
position: number;
|
178217
|
+
attributeId: string;
|
178218
|
+
}, {
|
178219
|
+
position: number;
|
178220
|
+
attributeId: string;
|
178221
|
+
}>, "many">;
|
178222
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178223
|
+
attributes: {
|
178224
|
+
position: number;
|
178225
|
+
attributeId: string;
|
178226
|
+
}[];
|
178227
|
+
}, {
|
178228
|
+
attributes: {
|
178229
|
+
position: number;
|
178230
|
+
attributeId: string;
|
178231
|
+
}[];
|
178232
|
+
}>;
|
178233
|
+
method: "POST";
|
178234
|
+
responses: {
|
178235
|
+
200: import("zod").ZodObject<{
|
178236
|
+
requestId: import("zod").ZodString;
|
178237
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
178238
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178239
|
+
requestId: string;
|
178240
|
+
message?: string | undefined;
|
178241
|
+
}, {
|
178242
|
+
requestId: string;
|
178243
|
+
message?: string | undefined;
|
178244
|
+
}>;
|
178245
|
+
500: import("zod").ZodObject<{
|
178246
|
+
message: import("zod").ZodString;
|
178247
|
+
error: import("zod").ZodAny;
|
178248
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178249
|
+
message: string;
|
178250
|
+
error?: any;
|
178251
|
+
}, {
|
178252
|
+
message: string;
|
178253
|
+
error?: any;
|
178254
|
+
}>;
|
178255
|
+
};
|
178256
|
+
path: "settings/attributes/position";
|
178257
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178258
|
+
'x-tenant': import("zod").ZodString;
|
178259
|
+
authorization: import("zod").ZodString;
|
178260
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178261
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178262
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178263
|
+
'x-tenant': string;
|
178264
|
+
authorization: string;
|
178265
|
+
'x-client-timezone': string;
|
178266
|
+
'x-code'?: string | undefined;
|
178267
|
+
}, {
|
178268
|
+
'x-tenant': string;
|
178269
|
+
authorization: string;
|
178270
|
+
'x-code'?: string | undefined;
|
178271
|
+
'x-client-timezone'?: string | undefined;
|
178272
|
+
}>>>;
|
178273
|
+
};
|
178274
|
+
deleteAttribute: {
|
178275
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
178276
|
+
method: "DELETE";
|
178277
|
+
pathParams: import("zod").ZodObject<{
|
178278
|
+
id: import("zod").ZodString;
|
178279
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178280
|
+
id: string;
|
178281
|
+
}, {
|
178282
|
+
id: string;
|
178283
|
+
}>;
|
178284
|
+
responses: {
|
178285
|
+
200: import("zod").ZodObject<{
|
178286
|
+
requestId: import("zod").ZodString;
|
178287
|
+
message: import("zod").ZodString;
|
178288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178289
|
+
message: string;
|
178290
|
+
requestId: string;
|
178291
|
+
}, {
|
178292
|
+
message: string;
|
178293
|
+
requestId: string;
|
178294
|
+
}>;
|
178295
|
+
500: import("zod").ZodObject<{
|
178296
|
+
message: import("zod").ZodString;
|
178297
|
+
error: import("zod").ZodAny;
|
178298
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178299
|
+
message: string;
|
178300
|
+
error?: any;
|
178301
|
+
}, {
|
178302
|
+
message: string;
|
178303
|
+
error?: any;
|
178304
|
+
}>;
|
178305
|
+
};
|
178306
|
+
path: "settings/attributes/:id";
|
178307
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178308
|
+
'x-tenant': import("zod").ZodString;
|
178309
|
+
authorization: import("zod").ZodString;
|
178310
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178311
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178312
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178313
|
+
'x-tenant': string;
|
178314
|
+
authorization: string;
|
178315
|
+
'x-client-timezone': string;
|
178316
|
+
'x-code'?: string | undefined;
|
178317
|
+
}, {
|
178318
|
+
'x-tenant': string;
|
178319
|
+
authorization: string;
|
178320
|
+
'x-code'?: string | undefined;
|
178321
|
+
'x-client-timezone'?: string | undefined;
|
178322
|
+
}>>>;
|
178323
|
+
};
|
178324
|
+
};
|
178325
|
+
};
|
178326
|
+
export declare const tagSettingContract: {
|
178327
|
+
tag: {
|
178328
|
+
createTag: {
|
178329
|
+
body: import("zod").ZodObject<{
|
178330
|
+
name: import("zod").ZodString;
|
178331
|
+
group: import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>;
|
178332
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178333
|
+
name: string;
|
178334
|
+
group: "general" | "contact";
|
178335
|
+
}, {
|
178336
|
+
name: string;
|
178337
|
+
group: "general" | "contact";
|
178338
|
+
}>;
|
178339
|
+
method: "POST";
|
178340
|
+
responses: {
|
178341
|
+
201: import("zod").ZodObject<{
|
178342
|
+
requestId: import("zod").ZodString;
|
178343
|
+
tag: import("zod").ZodObject<{
|
178344
|
+
id: import("zod").ZodString;
|
178345
|
+
createdAt: import("zod").ZodDate;
|
178346
|
+
updatedAt: import("zod").ZodDate;
|
178347
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
178348
|
+
name: import("zod").ZodString;
|
178349
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178350
|
+
id: string;
|
178351
|
+
name: string;
|
178352
|
+
createdAt: Date;
|
178353
|
+
updatedAt: Date;
|
178354
|
+
deletedAt: Date | null;
|
178355
|
+
}, {
|
178356
|
+
id: string;
|
178357
|
+
name: string;
|
178358
|
+
createdAt: Date;
|
178359
|
+
updatedAt: Date;
|
178360
|
+
deletedAt: Date | null;
|
178361
|
+
}>;
|
178362
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178363
|
+
requestId: string;
|
178364
|
+
tag: {
|
178365
|
+
id: string;
|
178366
|
+
name: string;
|
178367
|
+
createdAt: Date;
|
178368
|
+
updatedAt: Date;
|
178369
|
+
deletedAt: Date | null;
|
178370
|
+
};
|
178371
|
+
}, {
|
178372
|
+
requestId: string;
|
178373
|
+
tag: {
|
178374
|
+
id: string;
|
178375
|
+
name: string;
|
178376
|
+
createdAt: Date;
|
178377
|
+
updatedAt: Date;
|
178378
|
+
deletedAt: Date | null;
|
178379
|
+
};
|
178380
|
+
}>;
|
178381
|
+
500: import("zod").ZodObject<{
|
178382
|
+
message: import("zod").ZodString;
|
178383
|
+
error: import("zod").ZodAny;
|
178384
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178385
|
+
message: string;
|
178386
|
+
error?: any;
|
178387
|
+
}, {
|
178388
|
+
message: string;
|
178389
|
+
error?: any;
|
178390
|
+
}>;
|
178391
|
+
};
|
178392
|
+
path: "settings/tags";
|
178393
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178394
|
+
'x-tenant': import("zod").ZodString;
|
178395
|
+
authorization: import("zod").ZodString;
|
178396
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178397
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178398
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178399
|
+
'x-tenant': string;
|
178400
|
+
authorization: string;
|
178401
|
+
'x-client-timezone': string;
|
178402
|
+
'x-code'?: string | undefined;
|
178403
|
+
}, {
|
178404
|
+
'x-tenant': string;
|
178405
|
+
authorization: string;
|
178406
|
+
'x-code'?: string | undefined;
|
178407
|
+
'x-client-timezone'?: string | undefined;
|
178408
|
+
}>>>;
|
178409
|
+
};
|
178410
|
+
getTags: {
|
178411
|
+
method: "GET";
|
178412
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
178413
|
+
group: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"general">, import("zod").ZodLiteral<"contact">]>>>;
|
178414
|
+
keyword: import("zod").ZodOptional<import("zod").ZodString>;
|
178415
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178416
|
+
group?: "general" | "contact" | undefined;
|
178417
|
+
keyword?: string | undefined;
|
178418
|
+
}, {
|
178419
|
+
group?: "general" | "contact" | undefined;
|
178420
|
+
keyword?: string | undefined;
|
178421
|
+
}>>;
|
178422
|
+
responses: {
|
178423
|
+
200: import("zod").ZodObject<{
|
178424
|
+
requestId: import("zod").ZodString;
|
178425
|
+
tags: import("zod").ZodArray<import("zod").ZodObject<{
|
178426
|
+
id: import("zod").ZodString;
|
178427
|
+
createdAt: import("zod").ZodDate;
|
178428
|
+
updatedAt: import("zod").ZodDate;
|
178429
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
178430
|
+
name: import("zod").ZodString;
|
178431
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178432
|
+
id: string;
|
178433
|
+
name: string;
|
178434
|
+
createdAt: Date;
|
178435
|
+
updatedAt: Date;
|
178436
|
+
deletedAt: Date | null;
|
178437
|
+
}, {
|
178438
|
+
id: string;
|
178439
|
+
name: string;
|
178440
|
+
createdAt: Date;
|
178441
|
+
updatedAt: Date;
|
178442
|
+
deletedAt: Date | null;
|
178443
|
+
}>, "many">;
|
178444
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178445
|
+
requestId: string;
|
178446
|
+
tags: {
|
178447
|
+
id: string;
|
178448
|
+
name: string;
|
178449
|
+
createdAt: Date;
|
178450
|
+
updatedAt: Date;
|
178451
|
+
deletedAt: Date | null;
|
178452
|
+
}[];
|
178453
|
+
}, {
|
178454
|
+
requestId: string;
|
178455
|
+
tags: {
|
178456
|
+
id: string;
|
178457
|
+
name: string;
|
178458
|
+
createdAt: Date;
|
178459
|
+
updatedAt: Date;
|
178460
|
+
deletedAt: Date | null;
|
178461
|
+
}[];
|
178462
|
+
}>;
|
178463
|
+
500: import("zod").ZodObject<{
|
178464
|
+
message: import("zod").ZodString;
|
178465
|
+
error: import("zod").ZodAny;
|
178466
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178467
|
+
message: string;
|
178468
|
+
error?: any;
|
178469
|
+
}, {
|
178470
|
+
message: string;
|
178471
|
+
error?: any;
|
178472
|
+
}>;
|
178473
|
+
};
|
178474
|
+
path: "settings/tags";
|
178475
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178476
|
+
'x-tenant': import("zod").ZodString;
|
178477
|
+
authorization: import("zod").ZodString;
|
178478
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178479
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178480
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178481
|
+
'x-tenant': string;
|
178482
|
+
authorization: string;
|
178483
|
+
'x-client-timezone': string;
|
178484
|
+
'x-code'?: string | undefined;
|
178485
|
+
}, {
|
178486
|
+
'x-tenant': string;
|
178487
|
+
authorization: string;
|
178488
|
+
'x-code'?: string | undefined;
|
178489
|
+
'x-client-timezone'?: string | undefined;
|
178490
|
+
}>>>;
|
178491
|
+
};
|
178492
|
+
updateTag: {
|
178493
|
+
body: import("zod").ZodObject<{
|
178494
|
+
name: import("zod").ZodString;
|
178495
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178496
|
+
name: string;
|
178497
|
+
}, {
|
178498
|
+
name: string;
|
178499
|
+
}>;
|
178500
|
+
method: "PATCH";
|
178501
|
+
pathParams: import("zod").ZodObject<{
|
178502
|
+
id: import("zod").ZodString;
|
178503
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178504
|
+
id: string;
|
178505
|
+
}, {
|
178506
|
+
id: string;
|
178507
|
+
}>;
|
178508
|
+
responses: {
|
178509
|
+
200: import("zod").ZodObject<{
|
178510
|
+
requestId: import("zod").ZodString;
|
178511
|
+
tag: import("zod").ZodObject<{
|
178512
|
+
id: import("zod").ZodString;
|
178513
|
+
createdAt: import("zod").ZodDate;
|
178514
|
+
updatedAt: import("zod").ZodDate;
|
178515
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
178516
|
+
name: import("zod").ZodString;
|
178517
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178518
|
+
id: string;
|
178519
|
+
name: string;
|
178520
|
+
createdAt: Date;
|
178521
|
+
updatedAt: Date;
|
178522
|
+
deletedAt: Date | null;
|
178523
|
+
}, {
|
178524
|
+
id: string;
|
178525
|
+
name: string;
|
178526
|
+
createdAt: Date;
|
178527
|
+
updatedAt: Date;
|
178528
|
+
deletedAt: Date | null;
|
178529
|
+
}>;
|
178530
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178531
|
+
requestId: string;
|
178532
|
+
tag: {
|
178533
|
+
id: string;
|
178534
|
+
name: string;
|
178535
|
+
createdAt: Date;
|
178536
|
+
updatedAt: Date;
|
178537
|
+
deletedAt: Date | null;
|
178538
|
+
};
|
178539
|
+
}, {
|
178540
|
+
requestId: string;
|
178541
|
+
tag: {
|
178542
|
+
id: string;
|
178543
|
+
name: string;
|
178544
|
+
createdAt: Date;
|
178545
|
+
updatedAt: Date;
|
178546
|
+
deletedAt: Date | null;
|
178547
|
+
};
|
178548
|
+
}>;
|
178549
|
+
500: import("zod").ZodObject<{
|
178550
|
+
message: import("zod").ZodString;
|
178551
|
+
error: import("zod").ZodAny;
|
178552
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178553
|
+
message: string;
|
178554
|
+
error?: any;
|
178555
|
+
}, {
|
178556
|
+
message: string;
|
178557
|
+
error?: any;
|
178558
|
+
}>;
|
178559
|
+
};
|
178560
|
+
path: "settings/tags/:id";
|
178561
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178562
|
+
'x-tenant': import("zod").ZodString;
|
178563
|
+
authorization: import("zod").ZodString;
|
178564
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178565
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178566
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178567
|
+
'x-tenant': string;
|
178568
|
+
authorization: string;
|
178569
|
+
'x-client-timezone': string;
|
178570
|
+
'x-code'?: string | undefined;
|
178571
|
+
}, {
|
178572
|
+
'x-tenant': string;
|
178573
|
+
authorization: string;
|
178574
|
+
'x-code'?: string | undefined;
|
178575
|
+
'x-client-timezone'?: string | undefined;
|
178576
|
+
}>>>;
|
178577
|
+
};
|
178578
|
+
deleteTag: {
|
178579
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
178580
|
+
method: "DELETE";
|
178581
|
+
pathParams: import("zod").ZodObject<{
|
178582
|
+
id: import("zod").ZodString;
|
178583
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178584
|
+
id: string;
|
178585
|
+
}, {
|
178586
|
+
id: string;
|
178587
|
+
}>;
|
178588
|
+
responses: {
|
178589
|
+
200: import("zod").ZodObject<{
|
178590
|
+
requestId: import("zod").ZodString;
|
178591
|
+
message: import("zod").ZodString;
|
178592
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178593
|
+
message: string;
|
178594
|
+
requestId: string;
|
178595
|
+
}, {
|
178596
|
+
message: string;
|
178597
|
+
requestId: string;
|
178598
|
+
}>;
|
178599
|
+
500: import("zod").ZodObject<{
|
178600
|
+
message: import("zod").ZodString;
|
178601
|
+
error: import("zod").ZodAny;
|
178602
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178603
|
+
message: string;
|
178604
|
+
error?: any;
|
178605
|
+
}, {
|
178606
|
+
message: string;
|
178607
|
+
error?: any;
|
178608
|
+
}>;
|
178609
|
+
};
|
178610
|
+
path: "settings/tags/:id";
|
178611
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178612
|
+
'x-tenant': import("zod").ZodString;
|
178613
|
+
authorization: import("zod").ZodString;
|
178614
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178615
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178616
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178617
|
+
'x-tenant': string;
|
178618
|
+
authorization: string;
|
178619
|
+
'x-client-timezone': string;
|
178620
|
+
'x-code'?: string | undefined;
|
178621
|
+
}, {
|
178622
|
+
'x-tenant': string;
|
178623
|
+
authorization: string;
|
178624
|
+
'x-code'?: string | undefined;
|
178625
|
+
'x-client-timezone'?: string | undefined;
|
178626
|
+
}>>>;
|
178627
|
+
};
|
178628
|
+
};
|
178629
|
+
};
|
178630
|
+
export declare const categorySettingContract: {
|
178631
|
+
category: {
|
178632
|
+
createCategory: {
|
178633
|
+
body: import("zod").ZodObject<{
|
178634
|
+
value: import("zod").ZodString;
|
178635
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
178636
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
178637
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178638
|
+
value: string;
|
178639
|
+
level: 2 | 1 | 3;
|
178640
|
+
parentId: string | null;
|
178641
|
+
}, {
|
178642
|
+
value: string;
|
178643
|
+
level: 2 | 1 | 3;
|
178644
|
+
parentId: string | null;
|
178645
|
+
}>;
|
178646
|
+
method: "POST";
|
178647
|
+
responses: {
|
178648
|
+
201: import("zod").ZodObject<{
|
178649
|
+
requestId: import("zod").ZodString;
|
178650
|
+
category: import("zod").ZodObject<{
|
178651
|
+
id: import("zod").ZodString;
|
178652
|
+
createdAt: import("zod").ZodDate;
|
178653
|
+
updatedAt: import("zod").ZodDate;
|
178654
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
178655
|
+
value: import("zod").ZodString;
|
178656
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
178657
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
178658
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
178659
|
+
id: import("zod").ZodString;
|
178660
|
+
value: import("zod").ZodString;
|
178661
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
178662
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
178663
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
178664
|
+
id: import("zod").ZodString;
|
178665
|
+
value: import("zod").ZodString;
|
178666
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
178667
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
178668
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
178669
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178670
|
+
id: string;
|
178671
|
+
value: string;
|
178672
|
+
level: 2 | 1 | 3;
|
178673
|
+
parentId: string | null;
|
178674
|
+
childCategoryList: any[];
|
178675
|
+
}, {
|
178676
|
+
id: string;
|
178677
|
+
value: string;
|
178678
|
+
level: 2 | 1 | 3;
|
178679
|
+
parentId: string | null;
|
178680
|
+
childCategoryList: any[];
|
178681
|
+
}>, "many">;
|
178682
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178683
|
+
id: string;
|
178684
|
+
value: string;
|
178685
|
+
level: 2 | 1 | 3;
|
178686
|
+
parentId: string | null;
|
178687
|
+
childCategoryList: {
|
178688
|
+
id: string;
|
178689
|
+
value: string;
|
178690
|
+
level: 2 | 1 | 3;
|
178691
|
+
parentId: string | null;
|
178692
|
+
childCategoryList: any[];
|
178693
|
+
}[];
|
178694
|
+
}, {
|
178695
|
+
id: string;
|
178696
|
+
value: string;
|
178697
|
+
level: 2 | 1 | 3;
|
178698
|
+
parentId: string | null;
|
178699
|
+
childCategoryList: {
|
178700
|
+
id: string;
|
178701
|
+
value: string;
|
178702
|
+
level: 2 | 1 | 3;
|
178703
|
+
parentId: string | null;
|
178704
|
+
childCategoryList: any[];
|
178705
|
+
}[];
|
178706
|
+
}>, "many">;
|
178707
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178708
|
+
id: string;
|
178709
|
+
value: string;
|
178710
|
+
createdAt: Date;
|
178711
|
+
updatedAt: Date;
|
178712
|
+
deletedAt: Date | null;
|
178713
|
+
level: 2 | 1 | 3;
|
178714
|
+
parentId: string | null;
|
178715
|
+
childCategoryList: {
|
178716
|
+
id: string;
|
178717
|
+
value: string;
|
178718
|
+
level: 2 | 1 | 3;
|
178719
|
+
parentId: string | null;
|
178720
|
+
childCategoryList: {
|
178721
|
+
id: string;
|
178722
|
+
value: string;
|
178723
|
+
level: 2 | 1 | 3;
|
178724
|
+
parentId: string | null;
|
178725
|
+
childCategoryList: any[];
|
178726
|
+
}[];
|
178727
|
+
}[];
|
178728
|
+
}, {
|
178729
|
+
id: string;
|
178730
|
+
value: string;
|
178731
|
+
createdAt: Date;
|
178732
|
+
updatedAt: Date;
|
178733
|
+
deletedAt: Date | null;
|
178734
|
+
level: 2 | 1 | 3;
|
178735
|
+
parentId: string | null;
|
178736
|
+
childCategoryList: {
|
178737
|
+
id: string;
|
178738
|
+
value: string;
|
178739
|
+
level: 2 | 1 | 3;
|
178740
|
+
parentId: string | null;
|
178741
|
+
childCategoryList: {
|
178742
|
+
id: string;
|
178743
|
+
value: string;
|
178744
|
+
level: 2 | 1 | 3;
|
178745
|
+
parentId: string | null;
|
178746
|
+
childCategoryList: any[];
|
178747
|
+
}[];
|
178748
|
+
}[];
|
178749
|
+
}>;
|
178750
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178751
|
+
requestId: string;
|
178752
|
+
category: {
|
178753
|
+
id: string;
|
178754
|
+
value: string;
|
178755
|
+
createdAt: Date;
|
178756
|
+
updatedAt: Date;
|
178757
|
+
deletedAt: Date | null;
|
178758
|
+
level: 2 | 1 | 3;
|
178759
|
+
parentId: string | null;
|
178760
|
+
childCategoryList: {
|
178761
|
+
id: string;
|
178762
|
+
value: string;
|
178763
|
+
level: 2 | 1 | 3;
|
178764
|
+
parentId: string | null;
|
178765
|
+
childCategoryList: {
|
178766
|
+
id: string;
|
178767
|
+
value: string;
|
178768
|
+
level: 2 | 1 | 3;
|
178769
|
+
parentId: string | null;
|
178770
|
+
childCategoryList: any[];
|
178771
|
+
}[];
|
178772
|
+
}[];
|
178773
|
+
};
|
178774
|
+
}, {
|
178775
|
+
requestId: string;
|
178776
|
+
category: {
|
178777
|
+
id: string;
|
178778
|
+
value: string;
|
178779
|
+
createdAt: Date;
|
178780
|
+
updatedAt: Date;
|
178781
|
+
deletedAt: Date | null;
|
178782
|
+
level: 2 | 1 | 3;
|
178783
|
+
parentId: string | null;
|
178784
|
+
childCategoryList: {
|
178785
|
+
id: string;
|
178786
|
+
value: string;
|
178787
|
+
level: 2 | 1 | 3;
|
178788
|
+
parentId: string | null;
|
178789
|
+
childCategoryList: {
|
178790
|
+
id: string;
|
178791
|
+
value: string;
|
178792
|
+
level: 2 | 1 | 3;
|
178793
|
+
parentId: string | null;
|
178794
|
+
childCategoryList: any[];
|
178795
|
+
}[];
|
178796
|
+
}[];
|
178797
|
+
};
|
178798
|
+
}>;
|
178799
|
+
500: import("zod").ZodObject<{
|
178800
|
+
message: import("zod").ZodString;
|
178801
|
+
error: import("zod").ZodAny;
|
178802
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178803
|
+
message: string;
|
178804
|
+
error?: any;
|
178805
|
+
}, {
|
178806
|
+
message: string;
|
178807
|
+
error?: any;
|
178808
|
+
}>;
|
178809
|
+
};
|
178810
|
+
path: "settings/categories";
|
178811
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178812
|
+
'x-tenant': import("zod").ZodString;
|
178813
|
+
authorization: import("zod").ZodString;
|
178814
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178815
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178816
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178817
|
+
'x-tenant': string;
|
178818
|
+
authorization: string;
|
178819
|
+
'x-client-timezone': string;
|
178820
|
+
'x-code'?: string | undefined;
|
178821
|
+
}, {
|
178822
|
+
'x-tenant': string;
|
178823
|
+
authorization: string;
|
178824
|
+
'x-code'?: string | undefined;
|
178825
|
+
'x-client-timezone'?: string | undefined;
|
178826
|
+
}>>>;
|
178827
|
+
};
|
178828
|
+
getCategories: {
|
178829
|
+
method: "GET";
|
178830
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
178831
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
178832
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
178833
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178834
|
+
page?: number | undefined;
|
178835
|
+
pageSize?: number | undefined;
|
178836
|
+
}, {
|
178837
|
+
page?: number | undefined;
|
178838
|
+
pageSize?: number | undefined;
|
178839
|
+
}>>;
|
178840
|
+
responses: {
|
178841
|
+
200: import("zod").ZodObject<{
|
178842
|
+
total: import("zod").ZodNumber;
|
178843
|
+
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
178844
|
+
pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
178845
|
+
lastPage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
178846
|
+
data: import("zod").ZodArray<import("zod").ZodType<{
|
178847
|
+
id: string;
|
178848
|
+
value: string;
|
178849
|
+
createdAt: Date;
|
178850
|
+
updatedAt: Date;
|
178851
|
+
deletedAt: Date | null;
|
178852
|
+
level: 2 | 1 | 3;
|
178853
|
+
parentId: string | null;
|
178854
|
+
childCategoryList: {
|
178855
|
+
id: string;
|
178856
|
+
value: string;
|
178857
|
+
level: 2 | 1 | 3;
|
178858
|
+
parentId: string | null;
|
178859
|
+
childCategoryList: {
|
178860
|
+
id: string;
|
178861
|
+
value: string;
|
178862
|
+
level: 2 | 1 | 3;
|
178863
|
+
parentId: string | null;
|
178864
|
+
childCategoryList: any[];
|
178865
|
+
}[];
|
178866
|
+
}[];
|
178867
|
+
}, import("zod").ZodTypeDef, {
|
178868
|
+
id: string;
|
178869
|
+
value: string;
|
178870
|
+
createdAt: Date;
|
178871
|
+
updatedAt: Date;
|
178872
|
+
deletedAt: Date | null;
|
178873
|
+
level: 2 | 1 | 3;
|
178874
|
+
parentId: string | null;
|
178875
|
+
childCategoryList: {
|
178876
|
+
id: string;
|
178877
|
+
value: string;
|
178878
|
+
level: 2 | 1 | 3;
|
178879
|
+
parentId: string | null;
|
178880
|
+
childCategoryList: {
|
178881
|
+
id: string;
|
178882
|
+
value: string;
|
178883
|
+
level: 2 | 1 | 3;
|
178884
|
+
parentId: string | null;
|
178885
|
+
childCategoryList: any[];
|
178886
|
+
}[];
|
178887
|
+
}[];
|
178888
|
+
}>, "many">;
|
178889
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178890
|
+
data: {
|
178891
|
+
id: string;
|
178892
|
+
value: string;
|
178893
|
+
createdAt: Date;
|
178894
|
+
updatedAt: Date;
|
178895
|
+
deletedAt: Date | null;
|
178896
|
+
level: 2 | 1 | 3;
|
178897
|
+
parentId: string | null;
|
178898
|
+
childCategoryList: {
|
178899
|
+
id: string;
|
178900
|
+
value: string;
|
178901
|
+
level: 2 | 1 | 3;
|
178902
|
+
parentId: string | null;
|
178903
|
+
childCategoryList: {
|
178904
|
+
id: string;
|
178905
|
+
value: string;
|
178906
|
+
level: 2 | 1 | 3;
|
178907
|
+
parentId: string | null;
|
178908
|
+
childCategoryList: any[];
|
178909
|
+
}[];
|
178910
|
+
}[];
|
178911
|
+
}[];
|
178912
|
+
total: number;
|
178913
|
+
page: number;
|
178914
|
+
pageSize: number;
|
178915
|
+
lastPage?: number | null | undefined;
|
178916
|
+
}, {
|
178917
|
+
data: {
|
178918
|
+
id: string;
|
178919
|
+
value: string;
|
178920
|
+
createdAt: Date;
|
178921
|
+
updatedAt: Date;
|
178922
|
+
deletedAt: Date | null;
|
178923
|
+
level: 2 | 1 | 3;
|
178924
|
+
parentId: string | null;
|
178925
|
+
childCategoryList: {
|
178926
|
+
id: string;
|
178927
|
+
value: string;
|
178928
|
+
level: 2 | 1 | 3;
|
178929
|
+
parentId: string | null;
|
178930
|
+
childCategoryList: {
|
178931
|
+
id: string;
|
178932
|
+
value: string;
|
178933
|
+
level: 2 | 1 | 3;
|
178934
|
+
parentId: string | null;
|
178935
|
+
childCategoryList: any[];
|
178936
|
+
}[];
|
178937
|
+
}[];
|
178938
|
+
}[];
|
178939
|
+
total: number;
|
178940
|
+
page?: number | undefined;
|
178941
|
+
pageSize?: number | undefined;
|
178942
|
+
lastPage?: number | null | undefined;
|
178943
|
+
}>;
|
178944
|
+
500: import("zod").ZodObject<{
|
178945
|
+
message: import("zod").ZodString;
|
178946
|
+
error: import("zod").ZodAny;
|
178947
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178948
|
+
message: string;
|
178949
|
+
error?: any;
|
178950
|
+
}, {
|
178951
|
+
message: string;
|
178952
|
+
error?: any;
|
178953
|
+
}>;
|
178954
|
+
};
|
178955
|
+
path: "settings/categories";
|
178956
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
178957
|
+
'x-tenant': import("zod").ZodString;
|
178958
|
+
authorization: import("zod").ZodString;
|
178959
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
178960
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
178961
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178962
|
+
'x-tenant': string;
|
178963
|
+
authorization: string;
|
178964
|
+
'x-client-timezone': string;
|
178965
|
+
'x-code'?: string | undefined;
|
178966
|
+
}, {
|
178967
|
+
'x-tenant': string;
|
178968
|
+
authorization: string;
|
178969
|
+
'x-code'?: string | undefined;
|
178970
|
+
'x-client-timezone'?: string | undefined;
|
178971
|
+
}>>>;
|
178972
|
+
};
|
178973
|
+
updateCategory: {
|
178974
|
+
body: import("zod").ZodObject<{
|
178975
|
+
value: import("zod").ZodString;
|
178976
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178977
|
+
value: string;
|
178978
|
+
}, {
|
178979
|
+
value: string;
|
178980
|
+
}>;
|
178981
|
+
method: "PATCH";
|
178982
|
+
pathParams: import("zod").ZodObject<{
|
178983
|
+
id: import("zod").ZodString;
|
178984
|
+
}, "strip", import("zod").ZodTypeAny, {
|
178985
|
+
id: string;
|
178986
|
+
}, {
|
178987
|
+
id: string;
|
178988
|
+
}>;
|
178989
|
+
responses: {
|
178990
|
+
200: import("zod").ZodObject<{
|
178991
|
+
requestId: import("zod").ZodString;
|
178992
|
+
category: import("zod").ZodObject<{
|
178993
|
+
id: import("zod").ZodString;
|
178994
|
+
createdAt: import("zod").ZodDate;
|
178995
|
+
updatedAt: import("zod").ZodDate;
|
178996
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
178997
|
+
value: import("zod").ZodString;
|
178998
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
178999
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
179000
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
179001
|
+
id: import("zod").ZodString;
|
179002
|
+
value: import("zod").ZodString;
|
179003
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179004
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
179005
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodObject<{
|
179006
|
+
id: import("zod").ZodString;
|
179007
|
+
value: import("zod").ZodString;
|
179008
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179009
|
+
parentId: import("zod").ZodNullable<import("zod").ZodString>;
|
179010
|
+
childCategoryList: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
179011
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179012
|
+
id: string;
|
179013
|
+
value: string;
|
179014
|
+
level: 2 | 1 | 3;
|
179015
|
+
parentId: string | null;
|
179016
|
+
childCategoryList: any[];
|
179017
|
+
}, {
|
179018
|
+
id: string;
|
179019
|
+
value: string;
|
179020
|
+
level: 2 | 1 | 3;
|
179021
|
+
parentId: string | null;
|
179022
|
+
childCategoryList: any[];
|
179023
|
+
}>, "many">;
|
179024
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179025
|
+
id: string;
|
179026
|
+
value: string;
|
179027
|
+
level: 2 | 1 | 3;
|
179028
|
+
parentId: string | null;
|
179029
|
+
childCategoryList: {
|
179030
|
+
id: string;
|
179031
|
+
value: string;
|
179032
|
+
level: 2 | 1 | 3;
|
179033
|
+
parentId: string | null;
|
179034
|
+
childCategoryList: any[];
|
179035
|
+
}[];
|
179036
|
+
}, {
|
179037
|
+
id: string;
|
179038
|
+
value: string;
|
179039
|
+
level: 2 | 1 | 3;
|
179040
|
+
parentId: string | null;
|
179041
|
+
childCategoryList: {
|
179042
|
+
id: string;
|
179043
|
+
value: string;
|
179044
|
+
level: 2 | 1 | 3;
|
179045
|
+
parentId: string | null;
|
179046
|
+
childCategoryList: any[];
|
179047
|
+
}[];
|
179048
|
+
}>, "many">;
|
179049
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179050
|
+
id: string;
|
179051
|
+
value: string;
|
179052
|
+
createdAt: Date;
|
179053
|
+
updatedAt: Date;
|
179054
|
+
deletedAt: Date | null;
|
179055
|
+
level: 2 | 1 | 3;
|
179056
|
+
parentId: string | null;
|
179057
|
+
childCategoryList: {
|
179058
|
+
id: string;
|
179059
|
+
value: string;
|
179060
|
+
level: 2 | 1 | 3;
|
179061
|
+
parentId: string | null;
|
179062
|
+
childCategoryList: {
|
179063
|
+
id: string;
|
179064
|
+
value: string;
|
179065
|
+
level: 2 | 1 | 3;
|
179066
|
+
parentId: string | null;
|
179067
|
+
childCategoryList: any[];
|
179068
|
+
}[];
|
179069
|
+
}[];
|
179070
|
+
}, {
|
179071
|
+
id: string;
|
179072
|
+
value: string;
|
179073
|
+
createdAt: Date;
|
179074
|
+
updatedAt: Date;
|
179075
|
+
deletedAt: Date | null;
|
179076
|
+
level: 2 | 1 | 3;
|
179077
|
+
parentId: string | null;
|
179078
|
+
childCategoryList: {
|
179079
|
+
id: string;
|
179080
|
+
value: string;
|
179081
|
+
level: 2 | 1 | 3;
|
179082
|
+
parentId: string | null;
|
179083
|
+
childCategoryList: {
|
179084
|
+
id: string;
|
179085
|
+
value: string;
|
179086
|
+
level: 2 | 1 | 3;
|
179087
|
+
parentId: string | null;
|
179088
|
+
childCategoryList: any[];
|
179089
|
+
}[];
|
179090
|
+
}[];
|
179091
|
+
}>;
|
179092
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179093
|
+
requestId: string;
|
179094
|
+
category: {
|
179095
|
+
id: string;
|
179096
|
+
value: string;
|
179097
|
+
createdAt: Date;
|
179098
|
+
updatedAt: Date;
|
179099
|
+
deletedAt: Date | null;
|
179100
|
+
level: 2 | 1 | 3;
|
179101
|
+
parentId: string | null;
|
179102
|
+
childCategoryList: {
|
179103
|
+
id: string;
|
179104
|
+
value: string;
|
179105
|
+
level: 2 | 1 | 3;
|
179106
|
+
parentId: string | null;
|
179107
|
+
childCategoryList: {
|
179108
|
+
id: string;
|
179109
|
+
value: string;
|
179110
|
+
level: 2 | 1 | 3;
|
179111
|
+
parentId: string | null;
|
179112
|
+
childCategoryList: any[];
|
179113
|
+
}[];
|
179114
|
+
}[];
|
179115
|
+
};
|
179116
|
+
}, {
|
179117
|
+
requestId: string;
|
179118
|
+
category: {
|
179119
|
+
id: string;
|
179120
|
+
value: string;
|
179121
|
+
createdAt: Date;
|
179122
|
+
updatedAt: Date;
|
179123
|
+
deletedAt: Date | null;
|
179124
|
+
level: 2 | 1 | 3;
|
179125
|
+
parentId: string | null;
|
179126
|
+
childCategoryList: {
|
179127
|
+
id: string;
|
179128
|
+
value: string;
|
179129
|
+
level: 2 | 1 | 3;
|
179130
|
+
parentId: string | null;
|
179131
|
+
childCategoryList: {
|
179132
|
+
id: string;
|
179133
|
+
value: string;
|
179134
|
+
level: 2 | 1 | 3;
|
179135
|
+
parentId: string | null;
|
179136
|
+
childCategoryList: any[];
|
179137
|
+
}[];
|
179138
|
+
}[];
|
179139
|
+
};
|
179140
|
+
}>;
|
179141
|
+
500: import("zod").ZodObject<{
|
179142
|
+
message: import("zod").ZodString;
|
179143
|
+
error: import("zod").ZodAny;
|
179144
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179145
|
+
message: string;
|
179146
|
+
error?: any;
|
179147
|
+
}, {
|
179148
|
+
message: string;
|
179149
|
+
error?: any;
|
179150
|
+
}>;
|
179151
|
+
};
|
179152
|
+
path: "settings/categories/:id";
|
179153
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
179154
|
+
'x-tenant': import("zod").ZodString;
|
179155
|
+
authorization: import("zod").ZodString;
|
179156
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
179157
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
179158
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179159
|
+
'x-tenant': string;
|
179160
|
+
authorization: string;
|
179161
|
+
'x-client-timezone': string;
|
179162
|
+
'x-code'?: string | undefined;
|
179163
|
+
}, {
|
179164
|
+
'x-tenant': string;
|
179165
|
+
authorization: string;
|
179166
|
+
'x-code'?: string | undefined;
|
179167
|
+
'x-client-timezone'?: string | undefined;
|
179168
|
+
}>>>;
|
179169
|
+
};
|
179170
|
+
deleteCategory: {
|
179171
|
+
body: import("zod").ZodOptional<import("zod").ZodAny>;
|
179172
|
+
method: "DELETE";
|
179173
|
+
pathParams: import("zod").ZodObject<{
|
179174
|
+
id: import("zod").ZodString;
|
179175
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179176
|
+
id: string;
|
179177
|
+
}, {
|
179178
|
+
id: string;
|
179179
|
+
}>;
|
179180
|
+
responses: {
|
179181
|
+
200: import("zod").ZodObject<{
|
179182
|
+
requestId: import("zod").ZodString;
|
179183
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
179184
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179185
|
+
requestId: string;
|
179186
|
+
message?: string | undefined;
|
179187
|
+
}, {
|
179188
|
+
requestId: string;
|
179189
|
+
message?: string | undefined;
|
179190
|
+
}>;
|
179191
|
+
500: import("zod").ZodObject<{
|
179192
|
+
message: import("zod").ZodString;
|
179193
|
+
error: import("zod").ZodAny;
|
179194
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179195
|
+
message: string;
|
179196
|
+
error?: any;
|
179197
|
+
}, {
|
179198
|
+
message: string;
|
179199
|
+
error?: any;
|
179200
|
+
}>;
|
179201
|
+
};
|
179202
|
+
path: "settings/categories/:id";
|
179203
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
179204
|
+
'x-tenant': import("zod").ZodString;
|
179205
|
+
authorization: import("zod").ZodString;
|
179206
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
179207
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
179208
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179209
|
+
'x-tenant': string;
|
179210
|
+
authorization: string;
|
179211
|
+
'x-client-timezone': string;
|
179212
|
+
'x-code'?: string | undefined;
|
179213
|
+
}, {
|
179214
|
+
'x-tenant': string;
|
179215
|
+
authorization: string;
|
179216
|
+
'x-code'?: string | undefined;
|
179217
|
+
'x-client-timezone'?: string | undefined;
|
179218
|
+
}>>>;
|
179219
|
+
};
|
179220
|
+
createCategoryLevel: {
|
179221
|
+
body: import("zod").ZodObject<{
|
179222
|
+
name: import("zod").ZodString;
|
179223
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179224
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179225
|
+
name: string;
|
179226
|
+
level: 2 | 1 | 3;
|
179227
|
+
}, {
|
179228
|
+
name: string;
|
179229
|
+
level: 2 | 1 | 3;
|
179230
|
+
}>;
|
179231
|
+
method: "POST";
|
179232
|
+
responses: {
|
179233
|
+
200: import("zod").ZodObject<{
|
179234
|
+
requestId: import("zod").ZodString;
|
179235
|
+
categoryLevel: import("zod").ZodObject<{
|
179236
|
+
id: import("zod").ZodString;
|
179237
|
+
name: import("zod").ZodString;
|
179238
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179239
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179240
|
+
id: string;
|
179241
|
+
name: string;
|
179242
|
+
level: 2 | 1 | 3;
|
179243
|
+
}, {
|
179244
|
+
id: string;
|
179245
|
+
name: string;
|
179246
|
+
level: 2 | 1 | 3;
|
179247
|
+
}>;
|
179248
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179249
|
+
requestId: string;
|
179250
|
+
categoryLevel: {
|
179251
|
+
id: string;
|
179252
|
+
name: string;
|
179253
|
+
level: 2 | 1 | 3;
|
179254
|
+
};
|
179255
|
+
}, {
|
179256
|
+
requestId: string;
|
179257
|
+
categoryLevel: {
|
179258
|
+
id: string;
|
179259
|
+
name: string;
|
179260
|
+
level: 2 | 1 | 3;
|
179261
|
+
};
|
179262
|
+
}>;
|
179263
|
+
500: import("zod").ZodObject<{
|
179264
|
+
message: import("zod").ZodString;
|
179265
|
+
error: import("zod").ZodAny;
|
179266
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179267
|
+
message: string;
|
179268
|
+
error?: any;
|
179269
|
+
}, {
|
179270
|
+
message: string;
|
179271
|
+
error?: any;
|
179272
|
+
}>;
|
179273
|
+
};
|
179274
|
+
path: "settings/categories/level";
|
179275
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
179276
|
+
'x-tenant': import("zod").ZodString;
|
179277
|
+
authorization: import("zod").ZodString;
|
179278
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
179279
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
179280
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179281
|
+
'x-tenant': string;
|
179282
|
+
authorization: string;
|
179283
|
+
'x-client-timezone': string;
|
179284
|
+
'x-code'?: string | undefined;
|
179285
|
+
}, {
|
179286
|
+
'x-tenant': string;
|
179287
|
+
authorization: string;
|
179288
|
+
'x-code'?: string | undefined;
|
179289
|
+
'x-client-timezone'?: string | undefined;
|
179290
|
+
}>>>;
|
179291
|
+
};
|
179292
|
+
getCategoryLevels: {
|
179293
|
+
method: "GET";
|
179294
|
+
responses: {
|
179295
|
+
200: import("zod").ZodObject<{
|
179296
|
+
requestId: import("zod").ZodString;
|
179297
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
179298
|
+
id: import("zod").ZodString;
|
179299
|
+
name: import("zod").ZodString;
|
179300
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179301
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179302
|
+
id: string;
|
179303
|
+
name: string;
|
179304
|
+
level: 2 | 1 | 3;
|
179305
|
+
}, {
|
179306
|
+
id: string;
|
179307
|
+
name: string;
|
179308
|
+
level: 2 | 1 | 3;
|
179309
|
+
}>, "many">;
|
179310
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179311
|
+
data: {
|
179312
|
+
id: string;
|
179313
|
+
name: string;
|
179314
|
+
level: 2 | 1 | 3;
|
179315
|
+
}[];
|
179316
|
+
requestId: string;
|
179317
|
+
}, {
|
179318
|
+
data: {
|
179319
|
+
id: string;
|
179320
|
+
name: string;
|
179321
|
+
level: 2 | 1 | 3;
|
179322
|
+
}[];
|
179323
|
+
requestId: string;
|
179324
|
+
}>;
|
179325
|
+
500: import("zod").ZodObject<{
|
179326
|
+
message: import("zod").ZodString;
|
179327
|
+
error: import("zod").ZodAny;
|
179328
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179329
|
+
message: string;
|
179330
|
+
error?: any;
|
179331
|
+
}, {
|
179332
|
+
message: string;
|
179333
|
+
error?: any;
|
179334
|
+
}>;
|
179335
|
+
};
|
179336
|
+
path: "settings/categories/level";
|
179337
|
+
};
|
179338
|
+
updateCategoryLevel: {
|
179339
|
+
body: import("zod").ZodObject<{
|
179340
|
+
name: import("zod").ZodString;
|
179341
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179342
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179343
|
+
name: string;
|
179344
|
+
level: 2 | 1 | 3;
|
179345
|
+
}, {
|
179346
|
+
name: string;
|
179347
|
+
level: 2 | 1 | 3;
|
179348
|
+
}>;
|
179349
|
+
method: "PATCH";
|
179350
|
+
pathParams: import("zod").ZodObject<{
|
179351
|
+
id: import("zod").ZodString;
|
179352
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179353
|
+
id: string;
|
179354
|
+
}, {
|
179355
|
+
id: string;
|
179356
|
+
}>;
|
179357
|
+
responses: {
|
179358
|
+
200: import("zod").ZodObject<{
|
179359
|
+
requestId: import("zod").ZodString;
|
179360
|
+
categoryLevel: import("zod").ZodObject<{
|
179361
|
+
id: import("zod").ZodString;
|
179362
|
+
name: import("zod").ZodString;
|
179363
|
+
level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
|
179364
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179365
|
+
id: string;
|
179366
|
+
name: string;
|
179367
|
+
level: 2 | 1 | 3;
|
179368
|
+
}, {
|
179369
|
+
id: string;
|
179370
|
+
name: string;
|
179371
|
+
level: 2 | 1 | 3;
|
179372
|
+
}>;
|
179373
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179374
|
+
requestId: string;
|
179375
|
+
categoryLevel: {
|
179376
|
+
id: string;
|
179377
|
+
name: string;
|
179378
|
+
level: 2 | 1 | 3;
|
179379
|
+
};
|
179380
|
+
}, {
|
179381
|
+
requestId: string;
|
179382
|
+
categoryLevel: {
|
179383
|
+
id: string;
|
179384
|
+
name: string;
|
179385
|
+
level: 2 | 1 | 3;
|
179386
|
+
};
|
179387
|
+
}>;
|
179388
|
+
500: import("zod").ZodObject<{
|
179389
|
+
message: import("zod").ZodString;
|
179390
|
+
error: import("zod").ZodAny;
|
179391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179392
|
+
message: string;
|
179393
|
+
error?: any;
|
179394
|
+
}, {
|
179395
|
+
message: string;
|
179396
|
+
error?: any;
|
179397
|
+
}>;
|
179398
|
+
};
|
179399
|
+
path: "settings/categories/level/:id";
|
179400
|
+
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
179401
|
+
'x-tenant': import("zod").ZodString;
|
179402
|
+
authorization: import("zod").ZodString;
|
179403
|
+
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
179404
|
+
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
179405
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179406
|
+
'x-tenant': string;
|
179407
|
+
authorization: string;
|
179408
|
+
'x-client-timezone': string;
|
179409
|
+
'x-code'?: string | undefined;
|
179410
|
+
}, {
|
179411
|
+
'x-tenant': string;
|
179412
|
+
authorization: string;
|
179413
|
+
'x-code'?: string | undefined;
|
179414
|
+
'x-client-timezone'?: string | undefined;
|
179415
|
+
}>>>;
|
179416
|
+
};
|
179417
|
+
};
|
179418
|
+
};
|
179419
|
+
export declare const snippetSettingContract: {
|
179420
|
+
snippet: {
|
179421
|
+
createSnippetGroup: {
|
179422
|
+
body: import("zod").ZodObject<{
|
179423
|
+
name: import("zod").ZodString;
|
179424
|
+
platformType: import("zod").ZodString;
|
179425
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179426
|
+
name: string;
|
179427
|
+
platformType: string;
|
179428
|
+
}, {
|
179429
|
+
name: string;
|
179430
|
+
platformType: string;
|
179431
|
+
}>;
|
179432
|
+
method: "POST";
|
179433
|
+
responses: {
|
179434
|
+
201: import("zod").ZodObject<{
|
179435
|
+
requestId: import("zod").ZodString;
|
179436
|
+
snippetgroup: import("zod").ZodObject<{
|
179437
|
+
id: import("zod").ZodString;
|
179438
|
+
createdAt: import("zod").ZodDate;
|
179439
|
+
updatedAt: import("zod").ZodDate;
|
179440
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179441
|
+
name: import("zod").ZodString;
|
179442
|
+
platformType: import("zod").ZodString;
|
179443
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179444
|
+
id: string;
|
179445
|
+
name: string;
|
179446
|
+
createdAt: Date;
|
179447
|
+
updatedAt: Date;
|
179448
|
+
deletedAt: Date | null;
|
179449
|
+
platformType: string;
|
179450
|
+
}, {
|
179451
|
+
id: string;
|
179452
|
+
name: string;
|
179453
|
+
createdAt: Date;
|
179454
|
+
updatedAt: Date;
|
179455
|
+
deletedAt: Date | null;
|
179456
|
+
platformType: string;
|
179457
|
+
}>;
|
179458
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179459
|
+
requestId: string;
|
179460
|
+
snippetgroup: {
|
179461
|
+
id: string;
|
179462
|
+
name: string;
|
179463
|
+
createdAt: Date;
|
179464
|
+
updatedAt: Date;
|
179465
|
+
deletedAt: Date | null;
|
179466
|
+
platformType: string;
|
179467
|
+
};
|
179468
|
+
}, {
|
179469
|
+
requestId: string;
|
179470
|
+
snippetgroup: {
|
179471
|
+
id: string;
|
179472
|
+
name: string;
|
179473
|
+
createdAt: Date;
|
179474
|
+
updatedAt: Date;
|
179475
|
+
deletedAt: Date | null;
|
179476
|
+
platformType: string;
|
179477
|
+
};
|
179478
|
+
}>;
|
179479
|
+
500: import("zod").ZodObject<{
|
179480
|
+
message: import("zod").ZodString;
|
179481
|
+
error: import("zod").ZodAny;
|
179482
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179483
|
+
message: string;
|
179484
|
+
error?: any;
|
179485
|
+
}, {
|
179486
|
+
message: string;
|
179487
|
+
error?: any;
|
179488
|
+
}>;
|
179489
|
+
};
|
179490
|
+
path: "settings/snippets/groups";
|
179491
|
+
};
|
179492
|
+
getSnippetGroups: {
|
179493
|
+
method: "GET";
|
179494
|
+
query: null;
|
179495
|
+
responses: {
|
179496
|
+
200: import("zod").ZodObject<{
|
179497
|
+
requestId: import("zod").ZodString;
|
179498
|
+
snippetgroups: import("zod").ZodArray<import("zod").ZodObject<{
|
179499
|
+
id: import("zod").ZodString;
|
179500
|
+
createdAt: import("zod").ZodDate;
|
179501
|
+
updatedAt: import("zod").ZodDate;
|
179502
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179503
|
+
name: import("zod").ZodString;
|
179504
|
+
platformType: import("zod").ZodString;
|
179505
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179506
|
+
id: string;
|
179507
|
+
name: string;
|
179508
|
+
createdAt: Date;
|
179509
|
+
updatedAt: Date;
|
179510
|
+
deletedAt: Date | null;
|
179511
|
+
platformType: string;
|
179512
|
+
}, {
|
179513
|
+
id: string;
|
179514
|
+
name: string;
|
179515
|
+
createdAt: Date;
|
179516
|
+
updatedAt: Date;
|
179517
|
+
deletedAt: Date | null;
|
179518
|
+
platformType: string;
|
179519
|
+
}>, "many">;
|
179520
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179521
|
+
requestId: string;
|
179522
|
+
snippetgroups: {
|
179523
|
+
id: string;
|
179524
|
+
name: string;
|
179525
|
+
createdAt: Date;
|
179526
|
+
updatedAt: Date;
|
179527
|
+
deletedAt: Date | null;
|
179528
|
+
platformType: string;
|
179529
|
+
}[];
|
179530
|
+
}, {
|
179531
|
+
requestId: string;
|
179532
|
+
snippetgroups: {
|
179533
|
+
id: string;
|
179534
|
+
name: string;
|
179535
|
+
createdAt: Date;
|
179536
|
+
updatedAt: Date;
|
179537
|
+
deletedAt: Date | null;
|
179538
|
+
platformType: string;
|
179539
|
+
}[];
|
179540
|
+
}>;
|
179541
|
+
500: import("zod").ZodObject<{
|
179542
|
+
message: import("zod").ZodString;
|
179543
|
+
error: import("zod").ZodAny;
|
179544
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179545
|
+
message: string;
|
179546
|
+
error?: any;
|
179547
|
+
}, {
|
179548
|
+
message: string;
|
179549
|
+
error?: any;
|
179550
|
+
}>;
|
179551
|
+
};
|
179552
|
+
path: "settings/snippets/groups";
|
179553
|
+
};
|
179554
|
+
updateSnippetGroup: {
|
179555
|
+
body: import("zod").ZodObject<{
|
179556
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
179557
|
+
platformType: import("zod").ZodOptional<import("zod").ZodString>;
|
179558
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179559
|
+
name?: string | undefined;
|
179560
|
+
platformType?: string | undefined;
|
179561
|
+
}, {
|
179562
|
+
name?: string | undefined;
|
179563
|
+
platformType?: string | undefined;
|
179564
|
+
}>;
|
179565
|
+
method: "PATCH";
|
179566
|
+
pathParams: import("zod").ZodObject<{
|
179567
|
+
id: import("zod").ZodString;
|
179568
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179569
|
+
id: string;
|
179570
|
+
}, {
|
179571
|
+
id: string;
|
179572
|
+
}>;
|
179573
|
+
responses: {
|
179574
|
+
200: import("zod").ZodObject<{
|
179575
|
+
requestId: import("zod").ZodString;
|
179576
|
+
snippetgroup: import("zod").ZodObject<{
|
179577
|
+
id: import("zod").ZodString;
|
179578
|
+
createdAt: import("zod").ZodDate;
|
179579
|
+
updatedAt: import("zod").ZodDate;
|
179580
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179581
|
+
name: import("zod").ZodString;
|
179582
|
+
platformType: import("zod").ZodString;
|
179583
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179584
|
+
id: string;
|
179585
|
+
name: string;
|
179586
|
+
createdAt: Date;
|
179587
|
+
updatedAt: Date;
|
179588
|
+
deletedAt: Date | null;
|
179589
|
+
platformType: string;
|
179590
|
+
}, {
|
179591
|
+
id: string;
|
179592
|
+
name: string;
|
179593
|
+
createdAt: Date;
|
179594
|
+
updatedAt: Date;
|
179595
|
+
deletedAt: Date | null;
|
179596
|
+
platformType: string;
|
179597
|
+
}>;
|
179598
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179599
|
+
requestId: string;
|
179600
|
+
snippetgroup: {
|
179601
|
+
id: string;
|
179602
|
+
name: string;
|
179603
|
+
createdAt: Date;
|
179604
|
+
updatedAt: Date;
|
179605
|
+
deletedAt: Date | null;
|
179606
|
+
platformType: string;
|
179607
|
+
};
|
179608
|
+
}, {
|
179609
|
+
requestId: string;
|
179610
|
+
snippetgroup: {
|
179611
|
+
id: string;
|
179612
|
+
name: string;
|
179613
|
+
createdAt: Date;
|
179614
|
+
updatedAt: Date;
|
179615
|
+
deletedAt: Date | null;
|
179616
|
+
platformType: string;
|
179617
|
+
};
|
179618
|
+
}>;
|
179619
|
+
500: import("zod").ZodObject<{
|
179620
|
+
message: import("zod").ZodString;
|
179621
|
+
error: import("zod").ZodAny;
|
179622
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179623
|
+
message: string;
|
179624
|
+
error?: any;
|
179625
|
+
}, {
|
179626
|
+
message: string;
|
179627
|
+
error?: any;
|
179628
|
+
}>;
|
179629
|
+
};
|
179630
|
+
path: "settings/snippets/groups/:id";
|
179631
|
+
};
|
179632
|
+
deleteSnippetGroup: {
|
179633
|
+
body: null;
|
179634
|
+
method: "DELETE";
|
179635
|
+
pathParams: import("zod").ZodObject<{
|
179636
|
+
id: import("zod").ZodString;
|
179637
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179638
|
+
id: string;
|
179639
|
+
}, {
|
179640
|
+
id: string;
|
179641
|
+
}>;
|
179642
|
+
responses: {
|
179643
|
+
200: import("zod").ZodObject<{
|
179644
|
+
requestId: import("zod").ZodString;
|
179645
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179646
|
+
requestId: string;
|
179647
|
+
}, {
|
179648
|
+
requestId: string;
|
179649
|
+
}>;
|
179650
|
+
500: import("zod").ZodObject<{
|
179651
|
+
message: import("zod").ZodString;
|
179652
|
+
error: import("zod").ZodAny;
|
179653
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179654
|
+
message: string;
|
179655
|
+
error?: any;
|
179656
|
+
}, {
|
179657
|
+
message: string;
|
179658
|
+
error?: any;
|
179659
|
+
}>;
|
179660
|
+
};
|
179661
|
+
path: "settings/snippets/groups/:id";
|
179662
|
+
};
|
179663
|
+
getSnippets: {
|
179664
|
+
method: "GET";
|
179665
|
+
responses: {
|
179666
|
+
200: import("zod").ZodObject<{
|
179667
|
+
requestId: import("zod").ZodString;
|
179668
|
+
snippets: import("zod").ZodArray<import("zod").ZodObject<{
|
179669
|
+
id: import("zod").ZodString;
|
179670
|
+
createdAt: import("zod").ZodDate;
|
179671
|
+
updatedAt: import("zod").ZodDate;
|
179672
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179673
|
+
name: import("zod").ZodString;
|
179674
|
+
snippetGroup: import("zod").ZodObject<{
|
179675
|
+
id: import("zod").ZodString;
|
179676
|
+
createdAt: import("zod").ZodDate;
|
179677
|
+
updatedAt: import("zod").ZodDate;
|
179678
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179679
|
+
name: import("zod").ZodString;
|
179680
|
+
platformType: import("zod").ZodString;
|
179681
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179682
|
+
id: string;
|
179683
|
+
name: string;
|
179684
|
+
createdAt: Date;
|
179685
|
+
updatedAt: Date;
|
179686
|
+
deletedAt: Date | null;
|
179687
|
+
platformType: string;
|
179688
|
+
}, {
|
179689
|
+
id: string;
|
179690
|
+
name: string;
|
179691
|
+
createdAt: Date;
|
179692
|
+
updatedAt: Date;
|
179693
|
+
deletedAt: Date | null;
|
179694
|
+
platformType: string;
|
179695
|
+
}>;
|
179696
|
+
snippetContent: import("zod").ZodObject<{
|
179697
|
+
id: import("zod").ZodString;
|
179698
|
+
createdAt: import("zod").ZodDate;
|
179699
|
+
updatedAt: import("zod").ZodDate;
|
179700
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179701
|
+
contentType: import("zod").ZodString;
|
179702
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
179703
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
179704
|
+
order: import("zod").ZodNumber;
|
179705
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
179706
|
+
id: import("zod").ZodString;
|
179707
|
+
createdAt: import("zod").ZodDate;
|
179708
|
+
updatedAt: import("zod").ZodDate;
|
179709
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179710
|
+
bucketName: import("zod").ZodString;
|
179711
|
+
fileName: import("zod").ZodString;
|
179712
|
+
fileSize: import("zod").ZodNumber;
|
179713
|
+
fileKey: import("zod").ZodString;
|
179714
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
179715
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
179716
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179717
|
+
id: string;
|
179718
|
+
status: string | null;
|
179719
|
+
createdAt: Date;
|
179720
|
+
updatedAt: Date;
|
179721
|
+
deletedAt: Date | null;
|
179722
|
+
fileName: string;
|
179723
|
+
fileKey: string;
|
179724
|
+
bucketName: string;
|
179725
|
+
fileSize: number;
|
179726
|
+
fileUrl: string | null;
|
179727
|
+
}, {
|
179728
|
+
id: string;
|
179729
|
+
status: string | null;
|
179730
|
+
createdAt: Date;
|
179731
|
+
updatedAt: Date;
|
179732
|
+
deletedAt: Date | null;
|
179733
|
+
fileName: string;
|
179734
|
+
fileKey: string;
|
179735
|
+
bucketName: string;
|
179736
|
+
fileSize: number;
|
179737
|
+
fileUrl: string | null;
|
179738
|
+
}>>;
|
179739
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179740
|
+
id: string;
|
179741
|
+
order: number;
|
179742
|
+
createdAt: Date;
|
179743
|
+
updatedAt: Date;
|
179744
|
+
deletedAt: Date | null;
|
179745
|
+
contentType: string;
|
179746
|
+
upload: {
|
179747
|
+
id: string;
|
179748
|
+
status: string | null;
|
179749
|
+
createdAt: Date;
|
179750
|
+
updatedAt: Date;
|
179751
|
+
deletedAt: Date | null;
|
179752
|
+
fileName: string;
|
179753
|
+
fileKey: string;
|
179754
|
+
bucketName: string;
|
179755
|
+
fileSize: number;
|
179756
|
+
fileUrl: string | null;
|
179757
|
+
} | null;
|
179758
|
+
contentValue: string | null;
|
179759
|
+
contentTemplate?: any;
|
179760
|
+
}, {
|
179761
|
+
id: string;
|
179762
|
+
order: number;
|
179763
|
+
createdAt: Date;
|
179764
|
+
updatedAt: Date;
|
179765
|
+
deletedAt: Date | null;
|
179766
|
+
contentType: string;
|
179767
|
+
upload: {
|
179768
|
+
id: string;
|
179769
|
+
status: string | null;
|
179770
|
+
createdAt: Date;
|
179771
|
+
updatedAt: Date;
|
179772
|
+
deletedAt: Date | null;
|
179773
|
+
fileName: string;
|
179774
|
+
fileKey: string;
|
179775
|
+
bucketName: string;
|
179776
|
+
fileSize: number;
|
179777
|
+
fileUrl: string | null;
|
179778
|
+
} | null;
|
179779
|
+
contentValue: string | null;
|
179780
|
+
contentTemplate?: any;
|
179781
|
+
}>;
|
179782
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179783
|
+
id: string;
|
179784
|
+
name: string;
|
179785
|
+
createdAt: Date;
|
179786
|
+
updatedAt: Date;
|
179787
|
+
deletedAt: Date | null;
|
179788
|
+
snippetGroup: {
|
179789
|
+
id: string;
|
179790
|
+
name: string;
|
179791
|
+
createdAt: Date;
|
179792
|
+
updatedAt: Date;
|
179793
|
+
deletedAt: Date | null;
|
179794
|
+
platformType: string;
|
179795
|
+
};
|
179796
|
+
snippetContent: {
|
179797
|
+
id: string;
|
179798
|
+
order: number;
|
179799
|
+
createdAt: Date;
|
179800
|
+
updatedAt: Date;
|
179801
|
+
deletedAt: Date | null;
|
179802
|
+
contentType: string;
|
179803
|
+
upload: {
|
179804
|
+
id: string;
|
179805
|
+
status: string | null;
|
179806
|
+
createdAt: Date;
|
179807
|
+
updatedAt: Date;
|
179808
|
+
deletedAt: Date | null;
|
179809
|
+
fileName: string;
|
179810
|
+
fileKey: string;
|
179811
|
+
bucketName: string;
|
179812
|
+
fileSize: number;
|
179813
|
+
fileUrl: string | null;
|
179814
|
+
} | null;
|
179815
|
+
contentValue: string | null;
|
179816
|
+
contentTemplate?: any;
|
179817
|
+
};
|
179818
|
+
}, {
|
179819
|
+
id: string;
|
179820
|
+
name: string;
|
179821
|
+
createdAt: Date;
|
179822
|
+
updatedAt: Date;
|
179823
|
+
deletedAt: Date | null;
|
179824
|
+
snippetGroup: {
|
179825
|
+
id: string;
|
179826
|
+
name: string;
|
179827
|
+
createdAt: Date;
|
179828
|
+
updatedAt: Date;
|
179829
|
+
deletedAt: Date | null;
|
179830
|
+
platformType: string;
|
179831
|
+
};
|
179832
|
+
snippetContent: {
|
179833
|
+
id: string;
|
179834
|
+
order: number;
|
179835
|
+
createdAt: Date;
|
179836
|
+
updatedAt: Date;
|
179837
|
+
deletedAt: Date | null;
|
179838
|
+
contentType: string;
|
179839
|
+
upload: {
|
179840
|
+
id: string;
|
179841
|
+
status: string | null;
|
179842
|
+
createdAt: Date;
|
179843
|
+
updatedAt: Date;
|
179844
|
+
deletedAt: Date | null;
|
179845
|
+
fileName: string;
|
179846
|
+
fileKey: string;
|
179847
|
+
bucketName: string;
|
179848
|
+
fileSize: number;
|
179849
|
+
fileUrl: string | null;
|
179850
|
+
} | null;
|
179851
|
+
contentValue: string | null;
|
179852
|
+
contentTemplate?: any;
|
179853
|
+
};
|
179854
|
+
}>, "many">;
|
179855
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179856
|
+
requestId: string;
|
179857
|
+
snippets: {
|
179858
|
+
id: string;
|
179859
|
+
name: string;
|
179860
|
+
createdAt: Date;
|
179861
|
+
updatedAt: Date;
|
179862
|
+
deletedAt: Date | null;
|
179863
|
+
snippetGroup: {
|
179864
|
+
id: string;
|
179865
|
+
name: string;
|
179866
|
+
createdAt: Date;
|
179867
|
+
updatedAt: Date;
|
179868
|
+
deletedAt: Date | null;
|
179869
|
+
platformType: string;
|
179870
|
+
};
|
179871
|
+
snippetContent: {
|
179872
|
+
id: string;
|
179873
|
+
order: number;
|
179874
|
+
createdAt: Date;
|
179875
|
+
updatedAt: Date;
|
179876
|
+
deletedAt: Date | null;
|
179877
|
+
contentType: string;
|
179878
|
+
upload: {
|
179879
|
+
id: string;
|
179880
|
+
status: string | null;
|
179881
|
+
createdAt: Date;
|
179882
|
+
updatedAt: Date;
|
179883
|
+
deletedAt: Date | null;
|
179884
|
+
fileName: string;
|
179885
|
+
fileKey: string;
|
179886
|
+
bucketName: string;
|
179887
|
+
fileSize: number;
|
179888
|
+
fileUrl: string | null;
|
179889
|
+
} | null;
|
179890
|
+
contentValue: string | null;
|
179891
|
+
contentTemplate?: any;
|
179892
|
+
};
|
179893
|
+
}[];
|
179894
|
+
}, {
|
179895
|
+
requestId: string;
|
179896
|
+
snippets: {
|
179897
|
+
id: string;
|
179898
|
+
name: string;
|
179899
|
+
createdAt: Date;
|
179900
|
+
updatedAt: Date;
|
179901
|
+
deletedAt: Date | null;
|
179902
|
+
snippetGroup: {
|
179903
|
+
id: string;
|
179904
|
+
name: string;
|
179905
|
+
createdAt: Date;
|
179906
|
+
updatedAt: Date;
|
179907
|
+
deletedAt: Date | null;
|
179908
|
+
platformType: string;
|
179909
|
+
};
|
179910
|
+
snippetContent: {
|
179911
|
+
id: string;
|
179912
|
+
order: number;
|
179913
|
+
createdAt: Date;
|
179914
|
+
updatedAt: Date;
|
179915
|
+
deletedAt: Date | null;
|
179916
|
+
contentType: string;
|
179917
|
+
upload: {
|
179918
|
+
id: string;
|
179919
|
+
status: string | null;
|
179920
|
+
createdAt: Date;
|
179921
|
+
updatedAt: Date;
|
179922
|
+
deletedAt: Date | null;
|
179923
|
+
fileName: string;
|
179924
|
+
fileKey: string;
|
179925
|
+
bucketName: string;
|
179926
|
+
fileSize: number;
|
179927
|
+
fileUrl: string | null;
|
179928
|
+
} | null;
|
179929
|
+
contentValue: string | null;
|
179930
|
+
contentTemplate?: any;
|
179931
|
+
};
|
179932
|
+
}[];
|
179933
|
+
}>;
|
179934
|
+
500: import("zod").ZodObject<{
|
179935
|
+
message: import("zod").ZodString;
|
179936
|
+
error: import("zod").ZodAny;
|
179937
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179938
|
+
message: string;
|
179939
|
+
error?: any;
|
179940
|
+
}, {
|
179941
|
+
message: string;
|
179942
|
+
error?: any;
|
179943
|
+
}>;
|
179944
|
+
};
|
179945
|
+
path: "settings/snippets";
|
179946
|
+
};
|
179947
|
+
createSnippet: {
|
179948
|
+
body: import("zod").ZodObject<{
|
179949
|
+
shortcutName: import("zod").ZodString;
|
179950
|
+
contentType: import("zod").ZodString;
|
179951
|
+
contentValue: import("zod").ZodOptional<import("zod").ZodString>;
|
179952
|
+
snippetGroupId: import("zod").ZodString;
|
179953
|
+
platformType: import("zod").ZodString;
|
179954
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179955
|
+
contentType: string;
|
179956
|
+
platformType: string;
|
179957
|
+
snippetGroupId: string;
|
179958
|
+
shortcutName: string;
|
179959
|
+
contentValue?: string | undefined;
|
179960
|
+
}, {
|
179961
|
+
contentType: string;
|
179962
|
+
platformType: string;
|
179963
|
+
snippetGroupId: string;
|
179964
|
+
shortcutName: string;
|
179965
|
+
contentValue?: string | undefined;
|
179966
|
+
}>;
|
179967
|
+
method: "POST";
|
179968
|
+
responses: {
|
179969
|
+
201: import("zod").ZodObject<{
|
179970
|
+
requestId: import("zod").ZodString;
|
179971
|
+
snippet: import("zod").ZodObject<{
|
179972
|
+
id: import("zod").ZodString;
|
179973
|
+
createdAt: import("zod").ZodDate;
|
179974
|
+
updatedAt: import("zod").ZodDate;
|
179975
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179976
|
+
name: import("zod").ZodString;
|
179977
|
+
snippetGroup: import("zod").ZodObject<{
|
179978
|
+
id: import("zod").ZodString;
|
179979
|
+
createdAt: import("zod").ZodDate;
|
179980
|
+
updatedAt: import("zod").ZodDate;
|
179981
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
179982
|
+
name: import("zod").ZodString;
|
179983
|
+
platformType: import("zod").ZodString;
|
179984
|
+
}, "strip", import("zod").ZodTypeAny, {
|
179985
|
+
id: string;
|
179986
|
+
name: string;
|
179987
|
+
createdAt: Date;
|
179988
|
+
updatedAt: Date;
|
179989
|
+
deletedAt: Date | null;
|
179990
|
+
platformType: string;
|
179991
|
+
}, {
|
179992
|
+
id: string;
|
179993
|
+
name: string;
|
179994
|
+
createdAt: Date;
|
179995
|
+
updatedAt: Date;
|
179996
|
+
deletedAt: Date | null;
|
179997
|
+
platformType: string;
|
179998
|
+
}>;
|
179999
|
+
snippetContent: import("zod").ZodObject<{
|
180000
|
+
id: import("zod").ZodString;
|
180001
|
+
createdAt: import("zod").ZodDate;
|
180002
|
+
updatedAt: import("zod").ZodDate;
|
180003
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180004
|
+
contentType: import("zod").ZodString;
|
180005
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
180006
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
180007
|
+
order: import("zod").ZodNumber;
|
180008
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
180009
|
+
id: import("zod").ZodString;
|
180010
|
+
createdAt: import("zod").ZodDate;
|
180011
|
+
updatedAt: import("zod").ZodDate;
|
180012
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180013
|
+
bucketName: import("zod").ZodString;
|
180014
|
+
fileName: import("zod").ZodString;
|
180015
|
+
fileSize: import("zod").ZodNumber;
|
180016
|
+
fileKey: import("zod").ZodString;
|
180017
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
180018
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
180019
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180020
|
+
id: string;
|
180021
|
+
status: string | null;
|
180022
|
+
createdAt: Date;
|
180023
|
+
updatedAt: Date;
|
180024
|
+
deletedAt: Date | null;
|
180025
|
+
fileName: string;
|
180026
|
+
fileKey: string;
|
180027
|
+
bucketName: string;
|
180028
|
+
fileSize: number;
|
180029
|
+
fileUrl: string | null;
|
180030
|
+
}, {
|
180031
|
+
id: string;
|
180032
|
+
status: string | null;
|
180033
|
+
createdAt: Date;
|
180034
|
+
updatedAt: Date;
|
180035
|
+
deletedAt: Date | null;
|
180036
|
+
fileName: string;
|
180037
|
+
fileKey: string;
|
180038
|
+
bucketName: string;
|
180039
|
+
fileSize: number;
|
180040
|
+
fileUrl: string | null;
|
180041
|
+
}>>;
|
180042
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180043
|
+
id: string;
|
180044
|
+
order: number;
|
180045
|
+
createdAt: Date;
|
180046
|
+
updatedAt: Date;
|
180047
|
+
deletedAt: Date | null;
|
180048
|
+
contentType: string;
|
180049
|
+
upload: {
|
180050
|
+
id: string;
|
180051
|
+
status: string | null;
|
180052
|
+
createdAt: Date;
|
180053
|
+
updatedAt: Date;
|
180054
|
+
deletedAt: Date | null;
|
180055
|
+
fileName: string;
|
180056
|
+
fileKey: string;
|
180057
|
+
bucketName: string;
|
180058
|
+
fileSize: number;
|
180059
|
+
fileUrl: string | null;
|
180060
|
+
} | null;
|
180061
|
+
contentValue: string | null;
|
180062
|
+
contentTemplate?: any;
|
180063
|
+
}, {
|
180064
|
+
id: string;
|
180065
|
+
order: number;
|
180066
|
+
createdAt: Date;
|
180067
|
+
updatedAt: Date;
|
180068
|
+
deletedAt: Date | null;
|
180069
|
+
contentType: string;
|
180070
|
+
upload: {
|
180071
|
+
id: string;
|
180072
|
+
status: string | null;
|
180073
|
+
createdAt: Date;
|
180074
|
+
updatedAt: Date;
|
180075
|
+
deletedAt: Date | null;
|
180076
|
+
fileName: string;
|
180077
|
+
fileKey: string;
|
180078
|
+
bucketName: string;
|
180079
|
+
fileSize: number;
|
180080
|
+
fileUrl: string | null;
|
180081
|
+
} | null;
|
180082
|
+
contentValue: string | null;
|
180083
|
+
contentTemplate?: any;
|
180084
|
+
}>;
|
180085
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180086
|
+
id: string;
|
180087
|
+
name: string;
|
180088
|
+
createdAt: Date;
|
180089
|
+
updatedAt: Date;
|
180090
|
+
deletedAt: Date | null;
|
180091
|
+
snippetGroup: {
|
180092
|
+
id: string;
|
180093
|
+
name: string;
|
180094
|
+
createdAt: Date;
|
180095
|
+
updatedAt: Date;
|
180096
|
+
deletedAt: Date | null;
|
180097
|
+
platformType: string;
|
180098
|
+
};
|
180099
|
+
snippetContent: {
|
180100
|
+
id: string;
|
180101
|
+
order: number;
|
180102
|
+
createdAt: Date;
|
180103
|
+
updatedAt: Date;
|
180104
|
+
deletedAt: Date | null;
|
180105
|
+
contentType: string;
|
180106
|
+
upload: {
|
180107
|
+
id: string;
|
180108
|
+
status: string | null;
|
180109
|
+
createdAt: Date;
|
180110
|
+
updatedAt: Date;
|
180111
|
+
deletedAt: Date | null;
|
180112
|
+
fileName: string;
|
180113
|
+
fileKey: string;
|
180114
|
+
bucketName: string;
|
180115
|
+
fileSize: number;
|
180116
|
+
fileUrl: string | null;
|
180117
|
+
} | null;
|
180118
|
+
contentValue: string | null;
|
180119
|
+
contentTemplate?: any;
|
180120
|
+
};
|
180121
|
+
}, {
|
180122
|
+
id: string;
|
180123
|
+
name: string;
|
180124
|
+
createdAt: Date;
|
180125
|
+
updatedAt: Date;
|
180126
|
+
deletedAt: Date | null;
|
180127
|
+
snippetGroup: {
|
180128
|
+
id: string;
|
180129
|
+
name: string;
|
180130
|
+
createdAt: Date;
|
180131
|
+
updatedAt: Date;
|
180132
|
+
deletedAt: Date | null;
|
180133
|
+
platformType: string;
|
180134
|
+
};
|
180135
|
+
snippetContent: {
|
180136
|
+
id: string;
|
180137
|
+
order: number;
|
180138
|
+
createdAt: Date;
|
180139
|
+
updatedAt: Date;
|
180140
|
+
deletedAt: Date | null;
|
180141
|
+
contentType: string;
|
180142
|
+
upload: {
|
180143
|
+
id: string;
|
180144
|
+
status: string | null;
|
180145
|
+
createdAt: Date;
|
180146
|
+
updatedAt: Date;
|
180147
|
+
deletedAt: Date | null;
|
180148
|
+
fileName: string;
|
180149
|
+
fileKey: string;
|
180150
|
+
bucketName: string;
|
180151
|
+
fileSize: number;
|
180152
|
+
fileUrl: string | null;
|
180153
|
+
} | null;
|
180154
|
+
contentValue: string | null;
|
180155
|
+
contentTemplate?: any;
|
180156
|
+
};
|
180157
|
+
}>;
|
180158
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180159
|
+
requestId: string;
|
180160
|
+
snippet: {
|
180161
|
+
id: string;
|
180162
|
+
name: string;
|
180163
|
+
createdAt: Date;
|
180164
|
+
updatedAt: Date;
|
180165
|
+
deletedAt: Date | null;
|
180166
|
+
snippetGroup: {
|
180167
|
+
id: string;
|
180168
|
+
name: string;
|
180169
|
+
createdAt: Date;
|
180170
|
+
updatedAt: Date;
|
180171
|
+
deletedAt: Date | null;
|
180172
|
+
platformType: string;
|
180173
|
+
};
|
180174
|
+
snippetContent: {
|
180175
|
+
id: string;
|
180176
|
+
order: number;
|
180177
|
+
createdAt: Date;
|
180178
|
+
updatedAt: Date;
|
180179
|
+
deletedAt: Date | null;
|
180180
|
+
contentType: string;
|
180181
|
+
upload: {
|
180182
|
+
id: string;
|
180183
|
+
status: string | null;
|
180184
|
+
createdAt: Date;
|
180185
|
+
updatedAt: Date;
|
180186
|
+
deletedAt: Date | null;
|
180187
|
+
fileName: string;
|
180188
|
+
fileKey: string;
|
180189
|
+
bucketName: string;
|
180190
|
+
fileSize: number;
|
180191
|
+
fileUrl: string | null;
|
180192
|
+
} | null;
|
180193
|
+
contentValue: string | null;
|
180194
|
+
contentTemplate?: any;
|
180195
|
+
};
|
180196
|
+
};
|
180197
|
+
}, {
|
180198
|
+
requestId: string;
|
180199
|
+
snippet: {
|
180200
|
+
id: string;
|
180201
|
+
name: string;
|
180202
|
+
createdAt: Date;
|
180203
|
+
updatedAt: Date;
|
180204
|
+
deletedAt: Date | null;
|
180205
|
+
snippetGroup: {
|
180206
|
+
id: string;
|
180207
|
+
name: string;
|
180208
|
+
createdAt: Date;
|
180209
|
+
updatedAt: Date;
|
180210
|
+
deletedAt: Date | null;
|
180211
|
+
platformType: string;
|
180212
|
+
};
|
180213
|
+
snippetContent: {
|
180214
|
+
id: string;
|
180215
|
+
order: number;
|
180216
|
+
createdAt: Date;
|
180217
|
+
updatedAt: Date;
|
180218
|
+
deletedAt: Date | null;
|
180219
|
+
contentType: string;
|
180220
|
+
upload: {
|
180221
|
+
id: string;
|
180222
|
+
status: string | null;
|
180223
|
+
createdAt: Date;
|
180224
|
+
updatedAt: Date;
|
180225
|
+
deletedAt: Date | null;
|
180226
|
+
fileName: string;
|
180227
|
+
fileKey: string;
|
180228
|
+
bucketName: string;
|
180229
|
+
fileSize: number;
|
180230
|
+
fileUrl: string | null;
|
180231
|
+
} | null;
|
180232
|
+
contentValue: string | null;
|
180233
|
+
contentTemplate?: any;
|
180234
|
+
};
|
180235
|
+
};
|
180236
|
+
}>;
|
180237
|
+
500: import("zod").ZodObject<{
|
180238
|
+
message: import("zod").ZodString;
|
180239
|
+
error: import("zod").ZodAny;
|
180240
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180241
|
+
message: string;
|
180242
|
+
error?: any;
|
180243
|
+
}, {
|
180244
|
+
message: string;
|
180245
|
+
error?: any;
|
180246
|
+
}>;
|
180247
|
+
};
|
180248
|
+
path: "settings/snippets";
|
180249
|
+
};
|
180250
|
+
updateSnippet: {
|
180251
|
+
body: import("zod").ZodObject<{
|
180252
|
+
contentType: import("zod").ZodString;
|
180253
|
+
platformType: import("zod").ZodString;
|
180254
|
+
contentValue: import("zod").ZodOptional<import("zod").ZodString>;
|
180255
|
+
snippetGroupId: import("zod").ZodString;
|
180256
|
+
shortcutName: import("zod").ZodString;
|
180257
|
+
snippetContentId: import("zod").ZodString;
|
180258
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180259
|
+
contentType: string;
|
180260
|
+
platformType: string;
|
180261
|
+
snippetGroupId: string;
|
180262
|
+
shortcutName: string;
|
180263
|
+
snippetContentId: string;
|
180264
|
+
contentValue?: string | undefined;
|
180265
|
+
}, {
|
180266
|
+
contentType: string;
|
180267
|
+
platformType: string;
|
180268
|
+
snippetGroupId: string;
|
180269
|
+
shortcutName: string;
|
180270
|
+
snippetContentId: string;
|
180271
|
+
contentValue?: string | undefined;
|
180272
|
+
}>;
|
180273
|
+
method: "PATCH";
|
180274
|
+
pathParams: import("zod").ZodObject<{
|
180275
|
+
id: import("zod").ZodString;
|
180276
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180277
|
+
id: string;
|
180278
|
+
}, {
|
180279
|
+
id: string;
|
180280
|
+
}>;
|
180281
|
+
responses: {
|
180282
|
+
200: import("zod").ZodObject<{
|
180283
|
+
requestId: import("zod").ZodString;
|
180284
|
+
snippet: import("zod").ZodObject<{
|
180285
|
+
id: import("zod").ZodString;
|
180286
|
+
createdAt: import("zod").ZodDate;
|
180287
|
+
updatedAt: import("zod").ZodDate;
|
180288
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180289
|
+
name: import("zod").ZodString;
|
180290
|
+
snippetGroup: import("zod").ZodObject<{
|
180291
|
+
id: import("zod").ZodString;
|
180292
|
+
createdAt: import("zod").ZodDate;
|
180293
|
+
updatedAt: import("zod").ZodDate;
|
180294
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180295
|
+
name: import("zod").ZodString;
|
180296
|
+
platformType: import("zod").ZodString;
|
180297
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180298
|
+
id: string;
|
180299
|
+
name: string;
|
180300
|
+
createdAt: Date;
|
180301
|
+
updatedAt: Date;
|
180302
|
+
deletedAt: Date | null;
|
180303
|
+
platformType: string;
|
180304
|
+
}, {
|
180305
|
+
id: string;
|
180306
|
+
name: string;
|
180307
|
+
createdAt: Date;
|
180308
|
+
updatedAt: Date;
|
180309
|
+
deletedAt: Date | null;
|
180310
|
+
platformType: string;
|
180311
|
+
}>;
|
180312
|
+
snippetContent: import("zod").ZodObject<{
|
180313
|
+
id: import("zod").ZodString;
|
180314
|
+
createdAt: import("zod").ZodDate;
|
180315
|
+
updatedAt: import("zod").ZodDate;
|
180316
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180317
|
+
contentType: import("zod").ZodString;
|
180318
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
180319
|
+
contentTemplate: import("zod").ZodNullable<import("zod").ZodAny>;
|
180320
|
+
order: import("zod").ZodNumber;
|
180321
|
+
upload: import("zod").ZodNullable<import("zod").ZodObject<{
|
180322
|
+
id: import("zod").ZodString;
|
180323
|
+
createdAt: import("zod").ZodDate;
|
180324
|
+
updatedAt: import("zod").ZodDate;
|
180325
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180326
|
+
bucketName: import("zod").ZodString;
|
180327
|
+
fileName: import("zod").ZodString;
|
180328
|
+
fileSize: import("zod").ZodNumber;
|
180329
|
+
fileKey: import("zod").ZodString;
|
180330
|
+
fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
180331
|
+
status: import("zod").ZodNullable<import("zod").ZodString>;
|
180332
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180333
|
+
id: string;
|
180334
|
+
status: string | null;
|
180335
|
+
createdAt: Date;
|
180336
|
+
updatedAt: Date;
|
180337
|
+
deletedAt: Date | null;
|
180338
|
+
fileName: string;
|
180339
|
+
fileKey: string;
|
180340
|
+
bucketName: string;
|
180341
|
+
fileSize: number;
|
180342
|
+
fileUrl: string | null;
|
180343
|
+
}, {
|
180344
|
+
id: string;
|
180345
|
+
status: string | null;
|
180346
|
+
createdAt: Date;
|
180347
|
+
updatedAt: Date;
|
180348
|
+
deletedAt: Date | null;
|
180349
|
+
fileName: string;
|
180350
|
+
fileKey: string;
|
180351
|
+
bucketName: string;
|
180352
|
+
fileSize: number;
|
180353
|
+
fileUrl: string | null;
|
180354
|
+
}>>;
|
180355
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180356
|
+
id: string;
|
180357
|
+
order: number;
|
180358
|
+
createdAt: Date;
|
180359
|
+
updatedAt: Date;
|
180360
|
+
deletedAt: Date | null;
|
180361
|
+
contentType: string;
|
180362
|
+
upload: {
|
180363
|
+
id: string;
|
180364
|
+
status: string | null;
|
180365
|
+
createdAt: Date;
|
180366
|
+
updatedAt: Date;
|
180367
|
+
deletedAt: Date | null;
|
180368
|
+
fileName: string;
|
180369
|
+
fileKey: string;
|
180370
|
+
bucketName: string;
|
180371
|
+
fileSize: number;
|
180372
|
+
fileUrl: string | null;
|
180373
|
+
} | null;
|
180374
|
+
contentValue: string | null;
|
180375
|
+
contentTemplate?: any;
|
180376
|
+
}, {
|
180377
|
+
id: string;
|
180378
|
+
order: number;
|
180379
|
+
createdAt: Date;
|
180380
|
+
updatedAt: Date;
|
180381
|
+
deletedAt: Date | null;
|
180382
|
+
contentType: string;
|
180383
|
+
upload: {
|
180384
|
+
id: string;
|
180385
|
+
status: string | null;
|
180386
|
+
createdAt: Date;
|
180387
|
+
updatedAt: Date;
|
180388
|
+
deletedAt: Date | null;
|
180389
|
+
fileName: string;
|
180390
|
+
fileKey: string;
|
180391
|
+
bucketName: string;
|
180392
|
+
fileSize: number;
|
180393
|
+
fileUrl: string | null;
|
180394
|
+
} | null;
|
180395
|
+
contentValue: string | null;
|
180396
|
+
contentTemplate?: any;
|
180397
|
+
}>;
|
180398
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180399
|
+
id: string;
|
180400
|
+
name: string;
|
180401
|
+
createdAt: Date;
|
180402
|
+
updatedAt: Date;
|
180403
|
+
deletedAt: Date | null;
|
180404
|
+
snippetGroup: {
|
180405
|
+
id: string;
|
180406
|
+
name: string;
|
180407
|
+
createdAt: Date;
|
180408
|
+
updatedAt: Date;
|
180409
|
+
deletedAt: Date | null;
|
180410
|
+
platformType: string;
|
180411
|
+
};
|
180412
|
+
snippetContent: {
|
180413
|
+
id: string;
|
180414
|
+
order: number;
|
180415
|
+
createdAt: Date;
|
180416
|
+
updatedAt: Date;
|
180417
|
+
deletedAt: Date | null;
|
180418
|
+
contentType: string;
|
180419
|
+
upload: {
|
180420
|
+
id: string;
|
180421
|
+
status: string | null;
|
180422
|
+
createdAt: Date;
|
180423
|
+
updatedAt: Date;
|
180424
|
+
deletedAt: Date | null;
|
180425
|
+
fileName: string;
|
180426
|
+
fileKey: string;
|
180427
|
+
bucketName: string;
|
180428
|
+
fileSize: number;
|
180429
|
+
fileUrl: string | null;
|
180430
|
+
} | null;
|
180431
|
+
contentValue: string | null;
|
180432
|
+
contentTemplate?: any;
|
180433
|
+
};
|
180434
|
+
}, {
|
180435
|
+
id: string;
|
180436
|
+
name: string;
|
180437
|
+
createdAt: Date;
|
180438
|
+
updatedAt: Date;
|
180439
|
+
deletedAt: Date | null;
|
180440
|
+
snippetGroup: {
|
180441
|
+
id: string;
|
180442
|
+
name: string;
|
180443
|
+
createdAt: Date;
|
180444
|
+
updatedAt: Date;
|
180445
|
+
deletedAt: Date | null;
|
180446
|
+
platformType: string;
|
180447
|
+
};
|
180448
|
+
snippetContent: {
|
180449
|
+
id: string;
|
180450
|
+
order: number;
|
180451
|
+
createdAt: Date;
|
180452
|
+
updatedAt: Date;
|
180453
|
+
deletedAt: Date | null;
|
180454
|
+
contentType: string;
|
180455
|
+
upload: {
|
180456
|
+
id: string;
|
180457
|
+
status: string | null;
|
180458
|
+
createdAt: Date;
|
180459
|
+
updatedAt: Date;
|
180460
|
+
deletedAt: Date | null;
|
180461
|
+
fileName: string;
|
180462
|
+
fileKey: string;
|
180463
|
+
bucketName: string;
|
180464
|
+
fileSize: number;
|
180465
|
+
fileUrl: string | null;
|
180466
|
+
} | null;
|
180467
|
+
contentValue: string | null;
|
180468
|
+
contentTemplate?: any;
|
180469
|
+
};
|
180470
|
+
}>;
|
180471
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180472
|
+
requestId: string;
|
180473
|
+
snippet: {
|
180474
|
+
id: string;
|
180475
|
+
name: string;
|
180476
|
+
createdAt: Date;
|
180477
|
+
updatedAt: Date;
|
180478
|
+
deletedAt: Date | null;
|
180479
|
+
snippetGroup: {
|
180480
|
+
id: string;
|
180481
|
+
name: string;
|
180482
|
+
createdAt: Date;
|
180483
|
+
updatedAt: Date;
|
180484
|
+
deletedAt: Date | null;
|
180485
|
+
platformType: string;
|
180486
|
+
};
|
180487
|
+
snippetContent: {
|
180488
|
+
id: string;
|
180489
|
+
order: number;
|
180490
|
+
createdAt: Date;
|
180491
|
+
updatedAt: Date;
|
180492
|
+
deletedAt: Date | null;
|
180493
|
+
contentType: string;
|
180494
|
+
upload: {
|
180495
|
+
id: string;
|
180496
|
+
status: string | null;
|
180497
|
+
createdAt: Date;
|
180498
|
+
updatedAt: Date;
|
180499
|
+
deletedAt: Date | null;
|
180500
|
+
fileName: string;
|
180501
|
+
fileKey: string;
|
180502
|
+
bucketName: string;
|
180503
|
+
fileSize: number;
|
180504
|
+
fileUrl: string | null;
|
180505
|
+
} | null;
|
180506
|
+
contentValue: string | null;
|
180507
|
+
contentTemplate?: any;
|
180508
|
+
};
|
180509
|
+
};
|
180510
|
+
}, {
|
180511
|
+
requestId: string;
|
180512
|
+
snippet: {
|
180513
|
+
id: string;
|
180514
|
+
name: string;
|
180515
|
+
createdAt: Date;
|
180516
|
+
updatedAt: Date;
|
180517
|
+
deletedAt: Date | null;
|
180518
|
+
snippetGroup: {
|
180519
|
+
id: string;
|
180520
|
+
name: string;
|
180521
|
+
createdAt: Date;
|
180522
|
+
updatedAt: Date;
|
180523
|
+
deletedAt: Date | null;
|
180524
|
+
platformType: string;
|
180525
|
+
};
|
180526
|
+
snippetContent: {
|
180527
|
+
id: string;
|
180528
|
+
order: number;
|
180529
|
+
createdAt: Date;
|
180530
|
+
updatedAt: Date;
|
180531
|
+
deletedAt: Date | null;
|
180532
|
+
contentType: string;
|
180533
|
+
upload: {
|
180534
|
+
id: string;
|
180535
|
+
status: string | null;
|
180536
|
+
createdAt: Date;
|
180537
|
+
updatedAt: Date;
|
180538
|
+
deletedAt: Date | null;
|
180539
|
+
fileName: string;
|
180540
|
+
fileKey: string;
|
180541
|
+
bucketName: string;
|
180542
|
+
fileSize: number;
|
180543
|
+
fileUrl: string | null;
|
180544
|
+
} | null;
|
180545
|
+
contentValue: string | null;
|
180546
|
+
contentTemplate?: any;
|
180547
|
+
};
|
180548
|
+
};
|
180549
|
+
}>;
|
180550
|
+
500: import("zod").ZodObject<{
|
180551
|
+
message: import("zod").ZodString;
|
180552
|
+
error: import("zod").ZodAny;
|
180553
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180554
|
+
message: string;
|
180555
|
+
error?: any;
|
180556
|
+
}, {
|
180557
|
+
message: string;
|
180558
|
+
error?: any;
|
180559
|
+
}>;
|
180560
|
+
};
|
180561
|
+
path: "settings/snippets/:id";
|
180562
|
+
};
|
180563
|
+
deleteSnippet: {
|
180564
|
+
body: null;
|
180565
|
+
method: "DELETE";
|
180566
|
+
pathParams: import("zod").ZodObject<{
|
180567
|
+
id: import("zod").ZodString;
|
180568
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180569
|
+
id: string;
|
180570
|
+
}, {
|
180571
|
+
id: string;
|
180572
|
+
}>;
|
180573
|
+
responses: {
|
180574
|
+
200: import("zod").ZodObject<{
|
180575
|
+
requestId: import("zod").ZodString;
|
180576
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180577
|
+
requestId: string;
|
180578
|
+
}, {
|
180579
|
+
requestId: string;
|
180580
|
+
}>;
|
180581
|
+
500: import("zod").ZodObject<{
|
180582
|
+
message: import("zod").ZodString;
|
180583
|
+
error: import("zod").ZodAny;
|
180584
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180585
|
+
message: string;
|
180586
|
+
error?: any;
|
180587
|
+
}, {
|
180588
|
+
message: string;
|
180589
|
+
error?: any;
|
180590
|
+
}>;
|
180591
|
+
};
|
180592
|
+
path: "settings/snippets/:id";
|
180593
|
+
};
|
180594
|
+
};
|
180595
|
+
};
|
180596
|
+
export declare const businessCalendarSettingContract: {
|
180597
|
+
businessCalendar: {
|
180598
|
+
createBusinessCalendar: {
|
180599
|
+
body: import("zod").ZodObject<{
|
180600
|
+
name: import("zod").ZodString;
|
180601
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
180602
|
+
timeZone: import("zod").ZodString;
|
180603
|
+
isEnabled: import("zod").ZodBoolean;
|
180604
|
+
channelIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
180605
|
+
businessHours: import("zod").ZodArray<import("zod").ZodObject<{
|
180606
|
+
day: import("zod").ZodString;
|
180607
|
+
isEnabled: import("zod").ZodBoolean;
|
180608
|
+
timeSlots: import("zod").ZodAny;
|
180609
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180610
|
+
day: string;
|
180611
|
+
isEnabled: boolean;
|
180612
|
+
timeSlots?: any;
|
180613
|
+
}, {
|
180614
|
+
day: string;
|
180615
|
+
isEnabled: boolean;
|
180616
|
+
timeSlots?: any;
|
180617
|
+
}>, "many">;
|
180618
|
+
holidays: import("zod").ZodArray<import("zod").ZodObject<{
|
180619
|
+
name: import("zod").ZodString;
|
180620
|
+
date: import("zod").ZodString;
|
180621
|
+
isEnabled: import("zod").ZodBoolean;
|
180622
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180623
|
+
name: string;
|
180624
|
+
date: string;
|
180625
|
+
isEnabled: boolean;
|
180626
|
+
}, {
|
180627
|
+
name: string;
|
180628
|
+
date: string;
|
180629
|
+
isEnabled: boolean;
|
180630
|
+
}>, "many">;
|
180631
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180632
|
+
name: string;
|
180633
|
+
timeZone: string;
|
180634
|
+
channelIds: string[];
|
180635
|
+
isEnabled: boolean;
|
180636
|
+
businessHours: {
|
180637
|
+
day: string;
|
180638
|
+
isEnabled: boolean;
|
180639
|
+
timeSlots?: any;
|
180640
|
+
}[];
|
180641
|
+
holidays: {
|
180642
|
+
name: string;
|
180643
|
+
date: string;
|
180644
|
+
isEnabled: boolean;
|
180645
|
+
}[];
|
180646
|
+
description?: string | undefined;
|
180647
|
+
}, {
|
180648
|
+
name: string;
|
180649
|
+
timeZone: string;
|
180650
|
+
channelIds: string[];
|
180651
|
+
isEnabled: boolean;
|
180652
|
+
businessHours: {
|
180653
|
+
day: string;
|
180654
|
+
isEnabled: boolean;
|
180655
|
+
timeSlots?: any;
|
180656
|
+
}[];
|
180657
|
+
holidays: {
|
180658
|
+
name: string;
|
180659
|
+
date: string;
|
180660
|
+
isEnabled: boolean;
|
180661
|
+
}[];
|
180662
|
+
description?: string | undefined;
|
180663
|
+
}>;
|
180664
|
+
method: "POST";
|
180665
|
+
responses: {
|
180666
|
+
201: import("zod").ZodObject<{
|
180667
|
+
requestId: import("zod").ZodString;
|
180668
|
+
businessCalendar: import("zod").ZodObject<{
|
180669
|
+
id: import("zod").ZodString;
|
180670
|
+
createdAt: import("zod").ZodDate;
|
180671
|
+
updatedAt: import("zod").ZodDate;
|
180672
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180673
|
+
name: import("zod").ZodString;
|
180674
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
180675
|
+
timeZone: import("zod").ZodString;
|
180676
|
+
isEnabled: import("zod").ZodBoolean;
|
180677
|
+
isDefault: import("zod").ZodBoolean;
|
180678
|
+
channelIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
180679
|
+
businessHours: import("zod").ZodArray<import("zod").ZodObject<{
|
180680
|
+
id: import("zod").ZodString;
|
180681
|
+
createdAt: import("zod").ZodDate;
|
180682
|
+
updatedAt: import("zod").ZodDate;
|
180683
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180684
|
+
day: import("zod").ZodString;
|
180685
|
+
isEnabled: import("zod").ZodBoolean;
|
180686
|
+
timeSlots: import("zod").ZodAny;
|
180687
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180688
|
+
id: string;
|
180689
|
+
day: string;
|
180690
|
+
createdAt: Date;
|
180691
|
+
updatedAt: Date;
|
180692
|
+
deletedAt: Date | null;
|
180693
|
+
isEnabled: boolean;
|
180694
|
+
timeSlots?: any;
|
180695
|
+
}, {
|
180696
|
+
id: string;
|
180697
|
+
day: string;
|
180698
|
+
createdAt: Date;
|
180699
|
+
updatedAt: Date;
|
180700
|
+
deletedAt: Date | null;
|
180701
|
+
isEnabled: boolean;
|
180702
|
+
timeSlots?: any;
|
180703
|
+
}>, "many">;
|
180704
|
+
holidays: import("zod").ZodArray<import("zod").ZodObject<{
|
180705
|
+
id: import("zod").ZodString;
|
180706
|
+
createdAt: import("zod").ZodDate;
|
180707
|
+
updatedAt: import("zod").ZodDate;
|
180708
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180709
|
+
name: import("zod").ZodString;
|
180710
|
+
date: import("zod").ZodString;
|
180711
|
+
isEnabled: import("zod").ZodBoolean;
|
180712
|
+
isDefault: import("zod").ZodBoolean;
|
180713
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180714
|
+
id: string;
|
180715
|
+
name: string;
|
180716
|
+
date: string;
|
180717
|
+
createdAt: Date;
|
180718
|
+
updatedAt: Date;
|
180719
|
+
deletedAt: Date | null;
|
180720
|
+
isDefault: boolean;
|
180721
|
+
isEnabled: boolean;
|
180722
|
+
}, {
|
180723
|
+
id: string;
|
180724
|
+
name: string;
|
180725
|
+
date: string;
|
180726
|
+
createdAt: Date;
|
180727
|
+
updatedAt: Date;
|
180728
|
+
deletedAt: Date | null;
|
180729
|
+
isDefault: boolean;
|
180730
|
+
isEnabled: boolean;
|
180731
|
+
}>, "many">;
|
180732
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180733
|
+
id: string;
|
180734
|
+
name: string;
|
180735
|
+
timeZone: string;
|
180736
|
+
createdAt: Date;
|
180737
|
+
updatedAt: Date;
|
180738
|
+
deletedAt: Date | null;
|
180739
|
+
isDefault: boolean;
|
180740
|
+
channelIds: string[];
|
180741
|
+
isEnabled: boolean;
|
180742
|
+
businessHours: {
|
180743
|
+
id: string;
|
180744
|
+
day: string;
|
180745
|
+
createdAt: Date;
|
180746
|
+
updatedAt: Date;
|
180747
|
+
deletedAt: Date | null;
|
180748
|
+
isEnabled: boolean;
|
180749
|
+
timeSlots?: any;
|
180750
|
+
}[];
|
180751
|
+
holidays: {
|
180752
|
+
id: string;
|
180753
|
+
name: string;
|
180754
|
+
date: string;
|
180755
|
+
createdAt: Date;
|
180756
|
+
updatedAt: Date;
|
180757
|
+
deletedAt: Date | null;
|
180758
|
+
isDefault: boolean;
|
180759
|
+
isEnabled: boolean;
|
180760
|
+
}[];
|
180761
|
+
description?: string | undefined;
|
180762
|
+
}, {
|
180763
|
+
id: string;
|
180764
|
+
name: string;
|
180765
|
+
timeZone: string;
|
180766
|
+
createdAt: Date;
|
180767
|
+
updatedAt: Date;
|
180768
|
+
deletedAt: Date | null;
|
180769
|
+
isDefault: boolean;
|
180770
|
+
channelIds: string[];
|
180771
|
+
isEnabled: boolean;
|
180772
|
+
businessHours: {
|
180773
|
+
id: string;
|
180774
|
+
day: string;
|
180775
|
+
createdAt: Date;
|
180776
|
+
updatedAt: Date;
|
180777
|
+
deletedAt: Date | null;
|
180778
|
+
isEnabled: boolean;
|
180779
|
+
timeSlots?: any;
|
180780
|
+
}[];
|
180781
|
+
holidays: {
|
180782
|
+
id: string;
|
180783
|
+
name: string;
|
180784
|
+
date: string;
|
180785
|
+
createdAt: Date;
|
180786
|
+
updatedAt: Date;
|
180787
|
+
deletedAt: Date | null;
|
180788
|
+
isDefault: boolean;
|
180789
|
+
isEnabled: boolean;
|
180790
|
+
}[];
|
180791
|
+
description?: string | undefined;
|
180792
|
+
}>;
|
180793
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180794
|
+
requestId: string;
|
180795
|
+
businessCalendar: {
|
180796
|
+
id: string;
|
180797
|
+
name: string;
|
180798
|
+
timeZone: string;
|
180799
|
+
createdAt: Date;
|
180800
|
+
updatedAt: Date;
|
180801
|
+
deletedAt: Date | null;
|
180802
|
+
isDefault: boolean;
|
180803
|
+
channelIds: string[];
|
180804
|
+
isEnabled: boolean;
|
180805
|
+
businessHours: {
|
180806
|
+
id: string;
|
180807
|
+
day: string;
|
180808
|
+
createdAt: Date;
|
180809
|
+
updatedAt: Date;
|
180810
|
+
deletedAt: Date | null;
|
180811
|
+
isEnabled: boolean;
|
180812
|
+
timeSlots?: any;
|
180813
|
+
}[];
|
180814
|
+
holidays: {
|
180815
|
+
id: string;
|
180816
|
+
name: string;
|
180817
|
+
date: string;
|
180818
|
+
createdAt: Date;
|
180819
|
+
updatedAt: Date;
|
180820
|
+
deletedAt: Date | null;
|
180821
|
+
isDefault: boolean;
|
180822
|
+
isEnabled: boolean;
|
180823
|
+
}[];
|
180824
|
+
description?: string | undefined;
|
180825
|
+
};
|
180826
|
+
}, {
|
180827
|
+
requestId: string;
|
180828
|
+
businessCalendar: {
|
180829
|
+
id: string;
|
180830
|
+
name: string;
|
180831
|
+
timeZone: string;
|
180832
|
+
createdAt: Date;
|
180833
|
+
updatedAt: Date;
|
180834
|
+
deletedAt: Date | null;
|
180835
|
+
isDefault: boolean;
|
180836
|
+
channelIds: string[];
|
180837
|
+
isEnabled: boolean;
|
180838
|
+
businessHours: {
|
180839
|
+
id: string;
|
180840
|
+
day: string;
|
180841
|
+
createdAt: Date;
|
180842
|
+
updatedAt: Date;
|
180843
|
+
deletedAt: Date | null;
|
180844
|
+
isEnabled: boolean;
|
180845
|
+
timeSlots?: any;
|
180846
|
+
}[];
|
180847
|
+
holidays: {
|
180848
|
+
id: string;
|
180849
|
+
name: string;
|
180850
|
+
date: string;
|
180851
|
+
createdAt: Date;
|
180852
|
+
updatedAt: Date;
|
180853
|
+
deletedAt: Date | null;
|
180854
|
+
isDefault: boolean;
|
180855
|
+
isEnabled: boolean;
|
180856
|
+
}[];
|
180857
|
+
description?: string | undefined;
|
180858
|
+
};
|
180859
|
+
}>;
|
180860
|
+
500: import("zod").ZodObject<{
|
180861
|
+
message: import("zod").ZodString;
|
180862
|
+
error: import("zod").ZodAny;
|
180863
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180864
|
+
message: string;
|
180865
|
+
error?: any;
|
180866
|
+
}, {
|
180867
|
+
message: string;
|
180868
|
+
error?: any;
|
180869
|
+
}>;
|
180870
|
+
};
|
180871
|
+
path: "settings/business-calendar";
|
180872
|
+
};
|
180873
|
+
getAllBusinessCalendar: {
|
180874
|
+
method: "GET";
|
180875
|
+
responses: {
|
180876
|
+
200: import("zod").ZodObject<{
|
180877
|
+
requestId: import("zod").ZodString;
|
180878
|
+
businessCalendars: import("zod").ZodArray<import("zod").ZodObject<{
|
180879
|
+
id: import("zod").ZodString;
|
180880
|
+
createdAt: import("zod").ZodDate;
|
180881
|
+
updatedAt: import("zod").ZodDate;
|
180882
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180883
|
+
name: import("zod").ZodString;
|
180884
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
180885
|
+
timeZone: import("zod").ZodString;
|
180886
|
+
isEnabled: import("zod").ZodBoolean;
|
180887
|
+
isDefault: import("zod").ZodBoolean;
|
180888
|
+
channelIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
180889
|
+
businessHours: import("zod").ZodArray<import("zod").ZodObject<{
|
180890
|
+
id: import("zod").ZodString;
|
180891
|
+
createdAt: import("zod").ZodDate;
|
180892
|
+
updatedAt: import("zod").ZodDate;
|
180893
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180894
|
+
day: import("zod").ZodString;
|
180895
|
+
isEnabled: import("zod").ZodBoolean;
|
180896
|
+
timeSlots: import("zod").ZodAny;
|
180897
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180898
|
+
id: string;
|
180899
|
+
day: string;
|
180900
|
+
createdAt: Date;
|
180901
|
+
updatedAt: Date;
|
180902
|
+
deletedAt: Date | null;
|
180903
|
+
isEnabled: boolean;
|
180904
|
+
timeSlots?: any;
|
180905
|
+
}, {
|
180906
|
+
id: string;
|
180907
|
+
day: string;
|
180908
|
+
createdAt: Date;
|
180909
|
+
updatedAt: Date;
|
180910
|
+
deletedAt: Date | null;
|
180911
|
+
isEnabled: boolean;
|
180912
|
+
timeSlots?: any;
|
180913
|
+
}>, "many">;
|
180914
|
+
holidays: import("zod").ZodArray<import("zod").ZodObject<{
|
180915
|
+
id: import("zod").ZodString;
|
180916
|
+
createdAt: import("zod").ZodDate;
|
180917
|
+
updatedAt: import("zod").ZodDate;
|
180918
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
180919
|
+
name: import("zod").ZodString;
|
180920
|
+
date: import("zod").ZodString;
|
180921
|
+
isEnabled: import("zod").ZodBoolean;
|
180922
|
+
isDefault: import("zod").ZodBoolean;
|
180923
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180924
|
+
id: string;
|
180925
|
+
name: string;
|
180926
|
+
date: string;
|
180927
|
+
createdAt: Date;
|
180928
|
+
updatedAt: Date;
|
180929
|
+
deletedAt: Date | null;
|
180930
|
+
isDefault: boolean;
|
180931
|
+
isEnabled: boolean;
|
180932
|
+
}, {
|
180933
|
+
id: string;
|
180934
|
+
name: string;
|
180935
|
+
date: string;
|
180936
|
+
createdAt: Date;
|
180937
|
+
updatedAt: Date;
|
180938
|
+
deletedAt: Date | null;
|
180939
|
+
isDefault: boolean;
|
180940
|
+
isEnabled: boolean;
|
180941
|
+
}>, "many">;
|
180942
|
+
}, "strip", import("zod").ZodTypeAny, {
|
180943
|
+
id: string;
|
180944
|
+
name: string;
|
180945
|
+
timeZone: string;
|
180946
|
+
createdAt: Date;
|
180947
|
+
updatedAt: Date;
|
180948
|
+
deletedAt: Date | null;
|
180949
|
+
isDefault: boolean;
|
180950
|
+
channelIds: string[];
|
180951
|
+
isEnabled: boolean;
|
180952
|
+
businessHours: {
|
180953
|
+
id: string;
|
180954
|
+
day: string;
|
180955
|
+
createdAt: Date;
|
180956
|
+
updatedAt: Date;
|
180957
|
+
deletedAt: Date | null;
|
180958
|
+
isEnabled: boolean;
|
180959
|
+
timeSlots?: any;
|
180960
|
+
}[];
|
180961
|
+
holidays: {
|
180962
|
+
id: string;
|
180963
|
+
name: string;
|
180964
|
+
date: string;
|
180965
|
+
createdAt: Date;
|
180966
|
+
updatedAt: Date;
|
180967
|
+
deletedAt: Date | null;
|
180968
|
+
isDefault: boolean;
|
180969
|
+
isEnabled: boolean;
|
180970
|
+
}[];
|
180971
|
+
description?: string | undefined;
|
180972
|
+
}, {
|
180973
|
+
id: string;
|
180974
|
+
name: string;
|
180975
|
+
timeZone: string;
|
180976
|
+
createdAt: Date;
|
180977
|
+
updatedAt: Date;
|
180978
|
+
deletedAt: Date | null;
|
180979
|
+
isDefault: boolean;
|
180980
|
+
channelIds: string[];
|
180981
|
+
isEnabled: boolean;
|
180982
|
+
businessHours: {
|
180983
|
+
id: string;
|
180984
|
+
day: string;
|
180985
|
+
createdAt: Date;
|
180986
|
+
updatedAt: Date;
|
180987
|
+
deletedAt: Date | null;
|
180988
|
+
isEnabled: boolean;
|
180989
|
+
timeSlots?: any;
|
180990
|
+
}[];
|
180991
|
+
holidays: {
|
180992
|
+
id: string;
|
180993
|
+
name: string;
|
180994
|
+
date: string;
|
180995
|
+
createdAt: Date;
|
180996
|
+
updatedAt: Date;
|
180997
|
+
deletedAt: Date | null;
|
180998
|
+
isDefault: boolean;
|
180999
|
+
isEnabled: boolean;
|
181000
|
+
}[];
|
181001
|
+
description?: string | undefined;
|
181002
|
+
}>, "many">;
|
181003
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181004
|
+
requestId: string;
|
181005
|
+
businessCalendars: {
|
181006
|
+
id: string;
|
181007
|
+
name: string;
|
181008
|
+
timeZone: string;
|
181009
|
+
createdAt: Date;
|
181010
|
+
updatedAt: Date;
|
181011
|
+
deletedAt: Date | null;
|
181012
|
+
isDefault: boolean;
|
181013
|
+
channelIds: string[];
|
181014
|
+
isEnabled: boolean;
|
181015
|
+
businessHours: {
|
181016
|
+
id: string;
|
181017
|
+
day: string;
|
181018
|
+
createdAt: Date;
|
181019
|
+
updatedAt: Date;
|
181020
|
+
deletedAt: Date | null;
|
181021
|
+
isEnabled: boolean;
|
181022
|
+
timeSlots?: any;
|
181023
|
+
}[];
|
181024
|
+
holidays: {
|
181025
|
+
id: string;
|
181026
|
+
name: string;
|
181027
|
+
date: string;
|
181028
|
+
createdAt: Date;
|
181029
|
+
updatedAt: Date;
|
181030
|
+
deletedAt: Date | null;
|
181031
|
+
isDefault: boolean;
|
181032
|
+
isEnabled: boolean;
|
181033
|
+
}[];
|
181034
|
+
description?: string | undefined;
|
181035
|
+
}[];
|
181036
|
+
}, {
|
181037
|
+
requestId: string;
|
181038
|
+
businessCalendars: {
|
181039
|
+
id: string;
|
181040
|
+
name: string;
|
181041
|
+
timeZone: string;
|
181042
|
+
createdAt: Date;
|
181043
|
+
updatedAt: Date;
|
181044
|
+
deletedAt: Date | null;
|
181045
|
+
isDefault: boolean;
|
181046
|
+
channelIds: string[];
|
181047
|
+
isEnabled: boolean;
|
181048
|
+
businessHours: {
|
181049
|
+
id: string;
|
181050
|
+
day: string;
|
181051
|
+
createdAt: Date;
|
181052
|
+
updatedAt: Date;
|
181053
|
+
deletedAt: Date | null;
|
181054
|
+
isEnabled: boolean;
|
181055
|
+
timeSlots?: any;
|
181056
|
+
}[];
|
181057
|
+
holidays: {
|
181058
|
+
id: string;
|
181059
|
+
name: string;
|
181060
|
+
date: string;
|
181061
|
+
createdAt: Date;
|
181062
|
+
updatedAt: Date;
|
181063
|
+
deletedAt: Date | null;
|
181064
|
+
isDefault: boolean;
|
181065
|
+
isEnabled: boolean;
|
181066
|
+
}[];
|
181067
|
+
description?: string | undefined;
|
181068
|
+
}[];
|
181069
|
+
}>;
|
181070
|
+
500: import("zod").ZodObject<{
|
181071
|
+
message: import("zod").ZodString;
|
181072
|
+
error: import("zod").ZodAny;
|
181073
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181074
|
+
message: string;
|
181075
|
+
error?: any;
|
181076
|
+
}, {
|
181077
|
+
message: string;
|
181078
|
+
error?: any;
|
181079
|
+
}>;
|
181080
|
+
};
|
181081
|
+
path: "settings/business-calendars";
|
181082
|
+
};
|
181083
|
+
updateBusinessCalendar: {
|
181084
|
+
body: import("zod").ZodObject<{
|
181085
|
+
id: import("zod").ZodString;
|
181086
|
+
name: import("zod").ZodString;
|
181087
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
181088
|
+
timeZone: import("zod").ZodString;
|
181089
|
+
isEnabled: import("zod").ZodBoolean;
|
181090
|
+
channelIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
181091
|
+
businessHours: import("zod").ZodArray<import("zod").ZodObject<{
|
181092
|
+
id: import("zod").ZodString;
|
181093
|
+
day: import("zod").ZodString;
|
181094
|
+
isEnabled: import("zod").ZodBoolean;
|
181095
|
+
timeSlots: import("zod").ZodAny;
|
181096
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181097
|
+
id: string;
|
181098
|
+
day: string;
|
181099
|
+
isEnabled: boolean;
|
181100
|
+
timeSlots?: any;
|
181101
|
+
}, {
|
181102
|
+
id: string;
|
181103
|
+
day: string;
|
181104
|
+
isEnabled: boolean;
|
181105
|
+
timeSlots?: any;
|
181106
|
+
}>, "many">;
|
181107
|
+
holidays: import("zod").ZodArray<import("zod").ZodObject<{
|
181108
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
181109
|
+
name: import("zod").ZodString;
|
181110
|
+
date: import("zod").ZodString;
|
181111
|
+
isEnabled: import("zod").ZodBoolean;
|
181112
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181113
|
+
name: string;
|
181114
|
+
date: string;
|
181115
|
+
isEnabled: boolean;
|
181116
|
+
id?: string | undefined;
|
181117
|
+
}, {
|
181118
|
+
name: string;
|
181119
|
+
date: string;
|
181120
|
+
isEnabled: boolean;
|
181121
|
+
id?: string | undefined;
|
181122
|
+
}>, "many">;
|
181123
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181124
|
+
id: string;
|
181125
|
+
name: string;
|
181126
|
+
timeZone: string;
|
181127
|
+
channelIds: string[];
|
181128
|
+
isEnabled: boolean;
|
181129
|
+
businessHours: {
|
181130
|
+
id: string;
|
181131
|
+
day: string;
|
181132
|
+
isEnabled: boolean;
|
181133
|
+
timeSlots?: any;
|
181134
|
+
}[];
|
181135
|
+
holidays: {
|
181136
|
+
name: string;
|
181137
|
+
date: string;
|
181138
|
+
isEnabled: boolean;
|
181139
|
+
id?: string | undefined;
|
181140
|
+
}[];
|
181141
|
+
description?: string | undefined;
|
181142
|
+
}, {
|
181143
|
+
id: string;
|
181144
|
+
name: string;
|
181145
|
+
timeZone: string;
|
181146
|
+
channelIds: string[];
|
181147
|
+
isEnabled: boolean;
|
181148
|
+
businessHours: {
|
181149
|
+
id: string;
|
181150
|
+
day: string;
|
181151
|
+
isEnabled: boolean;
|
181152
|
+
timeSlots?: any;
|
181153
|
+
}[];
|
181154
|
+
holidays: {
|
181155
|
+
name: string;
|
181156
|
+
date: string;
|
181157
|
+
isEnabled: boolean;
|
181158
|
+
id?: string | undefined;
|
181159
|
+
}[];
|
181160
|
+
description?: string | undefined;
|
181161
|
+
}>;
|
181162
|
+
method: "POST";
|
181163
|
+
pathParams: import("zod").ZodObject<{
|
181164
|
+
id: import("zod").ZodString;
|
181165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181166
|
+
id: string;
|
181167
|
+
}, {
|
181168
|
+
id: string;
|
181169
|
+
}>;
|
181170
|
+
responses: {
|
181171
|
+
201: import("zod").ZodObject<{
|
181172
|
+
requestId: import("zod").ZodString;
|
181173
|
+
businessCalendar: import("zod").ZodObject<{
|
181174
|
+
id: import("zod").ZodString;
|
181175
|
+
createdAt: import("zod").ZodDate;
|
181176
|
+
updatedAt: import("zod").ZodDate;
|
181177
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
181178
|
+
name: import("zod").ZodString;
|
181179
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
181180
|
+
timeZone: import("zod").ZodString;
|
181181
|
+
isEnabled: import("zod").ZodBoolean;
|
181182
|
+
isDefault: import("zod").ZodBoolean;
|
181183
|
+
channelIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
181184
|
+
businessHours: import("zod").ZodArray<import("zod").ZodObject<{
|
181185
|
+
id: import("zod").ZodString;
|
181186
|
+
createdAt: import("zod").ZodDate;
|
181187
|
+
updatedAt: import("zod").ZodDate;
|
181188
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
181189
|
+
day: import("zod").ZodString;
|
181190
|
+
isEnabled: import("zod").ZodBoolean;
|
181191
|
+
timeSlots: import("zod").ZodAny;
|
181192
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181193
|
+
id: string;
|
181194
|
+
day: string;
|
181195
|
+
createdAt: Date;
|
181196
|
+
updatedAt: Date;
|
181197
|
+
deletedAt: Date | null;
|
181198
|
+
isEnabled: boolean;
|
181199
|
+
timeSlots?: any;
|
181200
|
+
}, {
|
181201
|
+
id: string;
|
181202
|
+
day: string;
|
181203
|
+
createdAt: Date;
|
181204
|
+
updatedAt: Date;
|
181205
|
+
deletedAt: Date | null;
|
181206
|
+
isEnabled: boolean;
|
181207
|
+
timeSlots?: any;
|
181208
|
+
}>, "many">;
|
181209
|
+
holidays: import("zod").ZodArray<import("zod").ZodObject<{
|
181210
|
+
id: import("zod").ZodString;
|
181211
|
+
createdAt: import("zod").ZodDate;
|
181212
|
+
updatedAt: import("zod").ZodDate;
|
181213
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
181214
|
+
name: import("zod").ZodString;
|
181215
|
+
date: import("zod").ZodString;
|
181216
|
+
isEnabled: import("zod").ZodBoolean;
|
181217
|
+
isDefault: import("zod").ZodBoolean;
|
181218
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181219
|
+
id: string;
|
181220
|
+
name: string;
|
181221
|
+
date: string;
|
181222
|
+
createdAt: Date;
|
181223
|
+
updatedAt: Date;
|
181224
|
+
deletedAt: Date | null;
|
181225
|
+
isDefault: boolean;
|
181226
|
+
isEnabled: boolean;
|
181227
|
+
}, {
|
181228
|
+
id: string;
|
181229
|
+
name: string;
|
181230
|
+
date: string;
|
181231
|
+
createdAt: Date;
|
181232
|
+
updatedAt: Date;
|
181233
|
+
deletedAt: Date | null;
|
181234
|
+
isDefault: boolean;
|
181235
|
+
isEnabled: boolean;
|
181236
|
+
}>, "many">;
|
181237
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181238
|
+
id: string;
|
181239
|
+
name: string;
|
181240
|
+
timeZone: string;
|
181241
|
+
createdAt: Date;
|
181242
|
+
updatedAt: Date;
|
181243
|
+
deletedAt: Date | null;
|
181244
|
+
isDefault: boolean;
|
181245
|
+
channelIds: string[];
|
181246
|
+
isEnabled: boolean;
|
181247
|
+
businessHours: {
|
181248
|
+
id: string;
|
181249
|
+
day: string;
|
181250
|
+
createdAt: Date;
|
181251
|
+
updatedAt: Date;
|
181252
|
+
deletedAt: Date | null;
|
181253
|
+
isEnabled: boolean;
|
181254
|
+
timeSlots?: any;
|
181255
|
+
}[];
|
181256
|
+
holidays: {
|
181257
|
+
id: string;
|
181258
|
+
name: string;
|
181259
|
+
date: string;
|
181260
|
+
createdAt: Date;
|
181261
|
+
updatedAt: Date;
|
181262
|
+
deletedAt: Date | null;
|
181263
|
+
isDefault: boolean;
|
181264
|
+
isEnabled: boolean;
|
181265
|
+
}[];
|
181266
|
+
description?: string | undefined;
|
181267
|
+
}, {
|
181268
|
+
id: string;
|
181269
|
+
name: string;
|
181270
|
+
timeZone: string;
|
181271
|
+
createdAt: Date;
|
181272
|
+
updatedAt: Date;
|
181273
|
+
deletedAt: Date | null;
|
181274
|
+
isDefault: boolean;
|
181275
|
+
channelIds: string[];
|
181276
|
+
isEnabled: boolean;
|
181277
|
+
businessHours: {
|
181278
|
+
id: string;
|
181279
|
+
day: string;
|
181280
|
+
createdAt: Date;
|
181281
|
+
updatedAt: Date;
|
181282
|
+
deletedAt: Date | null;
|
181283
|
+
isEnabled: boolean;
|
181284
|
+
timeSlots?: any;
|
181285
|
+
}[];
|
181286
|
+
holidays: {
|
181287
|
+
id: string;
|
181288
|
+
name: string;
|
181289
|
+
date: string;
|
181290
|
+
createdAt: Date;
|
181291
|
+
updatedAt: Date;
|
181292
|
+
deletedAt: Date | null;
|
181293
|
+
isDefault: boolean;
|
181294
|
+
isEnabled: boolean;
|
181295
|
+
}[];
|
181296
|
+
description?: string | undefined;
|
181297
|
+
}>;
|
181298
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181299
|
+
requestId: string;
|
181300
|
+
businessCalendar: {
|
181301
|
+
id: string;
|
181302
|
+
name: string;
|
181303
|
+
timeZone: string;
|
181304
|
+
createdAt: Date;
|
181305
|
+
updatedAt: Date;
|
181306
|
+
deletedAt: Date | null;
|
181307
|
+
isDefault: boolean;
|
181308
|
+
channelIds: string[];
|
181309
|
+
isEnabled: boolean;
|
181310
|
+
businessHours: {
|
181311
|
+
id: string;
|
181312
|
+
day: string;
|
181313
|
+
createdAt: Date;
|
181314
|
+
updatedAt: Date;
|
181315
|
+
deletedAt: Date | null;
|
181316
|
+
isEnabled: boolean;
|
181317
|
+
timeSlots?: any;
|
181318
|
+
}[];
|
181319
|
+
holidays: {
|
181320
|
+
id: string;
|
181321
|
+
name: string;
|
181322
|
+
date: string;
|
181323
|
+
createdAt: Date;
|
181324
|
+
updatedAt: Date;
|
181325
|
+
deletedAt: Date | null;
|
181326
|
+
isDefault: boolean;
|
181327
|
+
isEnabled: boolean;
|
181328
|
+
}[];
|
181329
|
+
description?: string | undefined;
|
181330
|
+
};
|
181331
|
+
}, {
|
181332
|
+
requestId: string;
|
181333
|
+
businessCalendar: {
|
181334
|
+
id: string;
|
181335
|
+
name: string;
|
181336
|
+
timeZone: string;
|
181337
|
+
createdAt: Date;
|
181338
|
+
updatedAt: Date;
|
181339
|
+
deletedAt: Date | null;
|
181340
|
+
isDefault: boolean;
|
181341
|
+
channelIds: string[];
|
181342
|
+
isEnabled: boolean;
|
181343
|
+
businessHours: {
|
181344
|
+
id: string;
|
181345
|
+
day: string;
|
181346
|
+
createdAt: Date;
|
181347
|
+
updatedAt: Date;
|
181348
|
+
deletedAt: Date | null;
|
181349
|
+
isEnabled: boolean;
|
181350
|
+
timeSlots?: any;
|
181351
|
+
}[];
|
181352
|
+
holidays: {
|
181353
|
+
id: string;
|
181354
|
+
name: string;
|
181355
|
+
date: string;
|
181356
|
+
createdAt: Date;
|
181357
|
+
updatedAt: Date;
|
181358
|
+
deletedAt: Date | null;
|
181359
|
+
isDefault: boolean;
|
181360
|
+
isEnabled: boolean;
|
181361
|
+
}[];
|
181362
|
+
description?: string | undefined;
|
181363
|
+
};
|
181364
|
+
}>;
|
181365
|
+
500: import("zod").ZodObject<{
|
181366
|
+
message: import("zod").ZodString;
|
181367
|
+
error: import("zod").ZodAny;
|
181368
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181369
|
+
message: string;
|
181370
|
+
error?: any;
|
181371
|
+
}, {
|
181372
|
+
message: string;
|
181373
|
+
error?: any;
|
181374
|
+
}>;
|
181375
|
+
};
|
181376
|
+
path: "settings/business-calendars/:id";
|
181377
|
+
};
|
181378
|
+
deleteBusinessCalendar: {
|
181379
|
+
body: null;
|
181380
|
+
method: "DELETE";
|
181381
|
+
pathParams: import("zod").ZodObject<{
|
181382
|
+
id: import("zod").ZodString;
|
181383
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181384
|
+
id: string;
|
181385
|
+
}, {
|
181386
|
+
id: string;
|
181387
|
+
}>;
|
181388
|
+
responses: {
|
181389
|
+
200: import("zod").ZodObject<{
|
181390
|
+
requestId: import("zod").ZodString;
|
181391
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181392
|
+
requestId: string;
|
181393
|
+
}, {
|
181394
|
+
requestId: string;
|
181395
|
+
}>;
|
181396
|
+
500: import("zod").ZodObject<{
|
181397
|
+
message: import("zod").ZodString;
|
181398
|
+
error: import("zod").ZodAny;
|
181399
|
+
}, "strip", import("zod").ZodTypeAny, {
|
181400
|
+
message: string;
|
181401
|
+
error?: any;
|
181402
|
+
}, {
|
181403
|
+
message: string;
|
181404
|
+
error?: any;
|
181405
|
+
}>;
|
181406
|
+
};
|
181407
|
+
path: "settings/business-calendars/:id";
|
181408
|
+
};
|
181409
|
+
};
|
181410
|
+
};
|
177361
181411
|
//# sourceMappingURL=contract.d.ts.map
|