@pushwoosh/rpc-v2-http-api-data 0.1.878 → 0.1.879
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/data.js +274 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/pushwoosh_rpc_popup_forms_contents_v3.d.ts +175 -0
- package/pushwoosh_rpc_popup_forms_contents_v3.js +3 -0
package/data.js
CHANGED
|
@@ -21466,6 +21466,280 @@ export const data = {
|
|
|
21466
21466
|
"type": "I",
|
|
21467
21467
|
"fields": {}
|
|
21468
21468
|
},
|
|
21469
|
+
"pushwoosh.rpc.popup_forms_contents.v3.PopupFormsContentsService_Save_FieldViolations": {
|
|
21470
|
+
"type": "E",
|
|
21471
|
+
"values": [
|
|
21472
|
+
"FV_SAVE_UNSPECIFIED",
|
|
21473
|
+
"NAME_EMPTY",
|
|
21474
|
+
"NAME_TOO_LONG",
|
|
21475
|
+
"NAME_ALREADY_EXISTS",
|
|
21476
|
+
"JSON_EMPTY",
|
|
21477
|
+
"JSON_INVALID"
|
|
21478
|
+
],
|
|
21479
|
+
"valuesArgs": {
|
|
21480
|
+
"NAME_TOO_LONG": [
|
|
21481
|
+
"max_length"
|
|
21482
|
+
],
|
|
21483
|
+
"NAME_ALREADY_EXISTS": [
|
|
21484
|
+
"name"
|
|
21485
|
+
]
|
|
21486
|
+
}
|
|
21487
|
+
},
|
|
21488
|
+
"pushwoosh.rpc.popup_forms_contents.v3.PopupFormsContentsService_List_FieldViolations": {
|
|
21489
|
+
"type": "E",
|
|
21490
|
+
"values": [
|
|
21491
|
+
"FV_LIST_UNSPECIFIED",
|
|
21492
|
+
"PER_PAGE_TOO_LARGE"
|
|
21493
|
+
],
|
|
21494
|
+
"valuesArgs": {
|
|
21495
|
+
"PER_PAGE_TOO_LARGE": [
|
|
21496
|
+
"max_per_page"
|
|
21497
|
+
]
|
|
21498
|
+
}
|
|
21499
|
+
},
|
|
21500
|
+
"pushwoosh.rpc.popup_forms_contents.v3.PopupFormsContentsService_Common_FailedPreconditions": {
|
|
21501
|
+
"type": "E",
|
|
21502
|
+
"values": [
|
|
21503
|
+
"FP_UNSPECIFIED",
|
|
21504
|
+
"POPUP_FORM_CONTENT_NOT_FOUND",
|
|
21505
|
+
"POPUP_FORM_CONTENT_IN_USE"
|
|
21506
|
+
]
|
|
21507
|
+
},
|
|
21508
|
+
"pushwoosh.rpc.popup_forms_contents.v3.PopupFormsContentsService": {
|
|
21509
|
+
"type": "S",
|
|
21510
|
+
"key": "popupFormsContents",
|
|
21511
|
+
"methods": {
|
|
21512
|
+
"List": {
|
|
21513
|
+
"request": "pushwoosh.rpc.popup_forms_contents.v3.ListRequest",
|
|
21514
|
+
"response": "pushwoosh.rpc.popup_forms_contents.v3.ListResponse",
|
|
21515
|
+
"method": "get",
|
|
21516
|
+
"path": "/api/v3/popup_forms_contents",
|
|
21517
|
+
"errors": {
|
|
21518
|
+
"fieldViolations": "pushwoosh.rpc.popup_forms_contents.v3.PopupFormsContentsService_List_FieldViolations",
|
|
21519
|
+
"commonFailedPreconditions": "pushwoosh.rpc.errors.v3.Common_FailedPreconditions"
|
|
21520
|
+
}
|
|
21521
|
+
},
|
|
21522
|
+
"Get": {
|
|
21523
|
+
"request": "pushwoosh.rpc.popup_forms_contents.v3.GetRequest",
|
|
21524
|
+
"response": "pushwoosh.rpc.popup_forms_contents.v3.GetResponse",
|
|
21525
|
+
"method": "get",
|
|
21526
|
+
"path": "/api/v3/popup_forms_contents/{code}",
|
|
21527
|
+
"errors": {
|
|
21528
|
+
"commonFailedPreconditions": "pushwoosh.rpc.errors.v3.Common_FailedPreconditions"
|
|
21529
|
+
}
|
|
21530
|
+
},
|
|
21531
|
+
"Create": {
|
|
21532
|
+
"request": "pushwoosh.rpc.popup_forms_contents.v3.CreateRequest",
|
|
21533
|
+
"response": "pushwoosh.rpc.popup_forms_contents.v3.CreateResponse",
|
|
21534
|
+
"method": "post",
|
|
21535
|
+
"path": "/api/v3/popup_forms_contents:create",
|
|
21536
|
+
"errors": {
|
|
21537
|
+
"commonFailedPreconditions": "pushwoosh.rpc.errors.v3.Common_FailedPreconditions"
|
|
21538
|
+
}
|
|
21539
|
+
},
|
|
21540
|
+
"Update": {
|
|
21541
|
+
"request": "pushwoosh.rpc.popup_forms_contents.v3.UpdateRequest",
|
|
21542
|
+
"response": "pushwoosh.rpc.popup_forms_contents.v3.UpdateResponse",
|
|
21543
|
+
"method": "put",
|
|
21544
|
+
"path": "/api/v3/popup_forms_contents/{code}",
|
|
21545
|
+
"errors": {
|
|
21546
|
+
"commonFailedPreconditions": "pushwoosh.rpc.errors.v3.Common_FailedPreconditions"
|
|
21547
|
+
}
|
|
21548
|
+
},
|
|
21549
|
+
"Delete": {
|
|
21550
|
+
"request": "pushwoosh.rpc.popup_forms_contents.v3.DeleteRequest",
|
|
21551
|
+
"response": "pushwoosh.rpc.popup_forms_contents.v3.DeleteResponse",
|
|
21552
|
+
"method": "delete",
|
|
21553
|
+
"path": "/api/v3/popup_forms_contents/{code}",
|
|
21554
|
+
"errors": {
|
|
21555
|
+
"commonFailedPreconditions": "pushwoosh.rpc.errors.v3.Common_FailedPreconditions"
|
|
21556
|
+
}
|
|
21557
|
+
}
|
|
21558
|
+
}
|
|
21559
|
+
},
|
|
21560
|
+
"pushwoosh.rpc.popup_forms_contents.v3.PopupFormContent": {
|
|
21561
|
+
"type": "I",
|
|
21562
|
+
"fields": {
|
|
21563
|
+
"code": {
|
|
21564
|
+
"type": "string"
|
|
21565
|
+
},
|
|
21566
|
+
"name": {
|
|
21567
|
+
"type": "string"
|
|
21568
|
+
},
|
|
21569
|
+
"json": {
|
|
21570
|
+
"type": "string"
|
|
21571
|
+
},
|
|
21572
|
+
"html": {
|
|
21573
|
+
"type": "string",
|
|
21574
|
+
"optional": true
|
|
21575
|
+
},
|
|
21576
|
+
"created": {
|
|
21577
|
+
"type": "Date"
|
|
21578
|
+
},
|
|
21579
|
+
"updated": {
|
|
21580
|
+
"type": "Date"
|
|
21581
|
+
}
|
|
21582
|
+
},
|
|
21583
|
+
"oneofs": {}
|
|
21584
|
+
},
|
|
21585
|
+
"pushwoosh.rpc.popup_forms_contents.v3.ListRequest.OrderBy": {
|
|
21586
|
+
"type": "E",
|
|
21587
|
+
"values": [
|
|
21588
|
+
"UPDATED",
|
|
21589
|
+
"NAME"
|
|
21590
|
+
]
|
|
21591
|
+
},
|
|
21592
|
+
"pushwoosh.rpc.popup_forms_contents.v3.ListRequest.OrderDirection": {
|
|
21593
|
+
"type": "E",
|
|
21594
|
+
"values": [
|
|
21595
|
+
"DESC",
|
|
21596
|
+
"ASC"
|
|
21597
|
+
]
|
|
21598
|
+
},
|
|
21599
|
+
"pushwoosh.rpc.popup_forms_contents.v3.ListRequest": {
|
|
21600
|
+
"type": "I",
|
|
21601
|
+
"fields": {
|
|
21602
|
+
"application": {
|
|
21603
|
+
"type": "string"
|
|
21604
|
+
},
|
|
21605
|
+
"search": {
|
|
21606
|
+
"type": "string"
|
|
21607
|
+
},
|
|
21608
|
+
"orderBy": {
|
|
21609
|
+
"type": "pushwoosh.rpc.popup_forms_contents.v3.ListRequest.OrderBy"
|
|
21610
|
+
},
|
|
21611
|
+
"orderDirection": {
|
|
21612
|
+
"type": "pushwoosh.rpc.popup_forms_contents.v3.ListRequest.OrderDirection"
|
|
21613
|
+
},
|
|
21614
|
+
"page": {
|
|
21615
|
+
"type": "number"
|
|
21616
|
+
},
|
|
21617
|
+
"perPage": {
|
|
21618
|
+
"type": "number"
|
|
21619
|
+
}
|
|
21620
|
+
}
|
|
21621
|
+
},
|
|
21622
|
+
"pushwoosh.rpc.popup_forms_contents.v3.ListResponse.ListItem": {
|
|
21623
|
+
"type": "I",
|
|
21624
|
+
"fields": {
|
|
21625
|
+
"code": {
|
|
21626
|
+
"type": "string"
|
|
21627
|
+
},
|
|
21628
|
+
"name": {
|
|
21629
|
+
"type": "string"
|
|
21630
|
+
},
|
|
21631
|
+
"json": {
|
|
21632
|
+
"type": "string"
|
|
21633
|
+
},
|
|
21634
|
+
"html": {
|
|
21635
|
+
"type": "string",
|
|
21636
|
+
"optional": true
|
|
21637
|
+
},
|
|
21638
|
+
"updated": {
|
|
21639
|
+
"type": "Date"
|
|
21640
|
+
}
|
|
21641
|
+
},
|
|
21642
|
+
"oneofs": {}
|
|
21643
|
+
},
|
|
21644
|
+
"pushwoosh.rpc.popup_forms_contents.v3.ListResponse": {
|
|
21645
|
+
"type": "I",
|
|
21646
|
+
"fields": {
|
|
21647
|
+
"items": {
|
|
21648
|
+
"type": "pushwoosh.rpc.popup_forms_contents.v3.ListResponse.ListItem",
|
|
21649
|
+
"array": true
|
|
21650
|
+
},
|
|
21651
|
+
"page": {
|
|
21652
|
+
"type": "number"
|
|
21653
|
+
},
|
|
21654
|
+
"perPage": {
|
|
21655
|
+
"type": "number"
|
|
21656
|
+
},
|
|
21657
|
+
"totalPages": {
|
|
21658
|
+
"type": "number"
|
|
21659
|
+
},
|
|
21660
|
+
"total": {
|
|
21661
|
+
"type": "number"
|
|
21662
|
+
}
|
|
21663
|
+
}
|
|
21664
|
+
},
|
|
21665
|
+
"pushwoosh.rpc.popup_forms_contents.v3.GetRequest": {
|
|
21666
|
+
"type": "I",
|
|
21667
|
+
"fields": {
|
|
21668
|
+
"code": {
|
|
21669
|
+
"type": "string"
|
|
21670
|
+
}
|
|
21671
|
+
}
|
|
21672
|
+
},
|
|
21673
|
+
"pushwoosh.rpc.popup_forms_contents.v3.GetResponse": {
|
|
21674
|
+
"type": "I",
|
|
21675
|
+
"fields": {
|
|
21676
|
+
"item": {
|
|
21677
|
+
"type": "pushwoosh.rpc.popup_forms_contents.v3.PopupFormContent"
|
|
21678
|
+
}
|
|
21679
|
+
}
|
|
21680
|
+
},
|
|
21681
|
+
"pushwoosh.rpc.popup_forms_contents.v3.CreateRequest": {
|
|
21682
|
+
"type": "I",
|
|
21683
|
+
"fields": {
|
|
21684
|
+
"application": {
|
|
21685
|
+
"type": "string"
|
|
21686
|
+
},
|
|
21687
|
+
"name": {
|
|
21688
|
+
"type": "string"
|
|
21689
|
+
},
|
|
21690
|
+
"json": {
|
|
21691
|
+
"type": "string"
|
|
21692
|
+
},
|
|
21693
|
+
"html": {
|
|
21694
|
+
"type": "string",
|
|
21695
|
+
"optional": true
|
|
21696
|
+
}
|
|
21697
|
+
},
|
|
21698
|
+
"oneofs": {}
|
|
21699
|
+
},
|
|
21700
|
+
"pushwoosh.rpc.popup_forms_contents.v3.CreateResponse": {
|
|
21701
|
+
"type": "I",
|
|
21702
|
+
"fields": {
|
|
21703
|
+
"code": {
|
|
21704
|
+
"type": "string"
|
|
21705
|
+
}
|
|
21706
|
+
}
|
|
21707
|
+
},
|
|
21708
|
+
"pushwoosh.rpc.popup_forms_contents.v3.UpdateRequest": {
|
|
21709
|
+
"type": "I",
|
|
21710
|
+
"fields": {
|
|
21711
|
+
"code": {
|
|
21712
|
+
"type": "string"
|
|
21713
|
+
},
|
|
21714
|
+
"name": {
|
|
21715
|
+
"type": "string"
|
|
21716
|
+
},
|
|
21717
|
+
"json": {
|
|
21718
|
+
"type": "string"
|
|
21719
|
+
},
|
|
21720
|
+
"html": {
|
|
21721
|
+
"type": "string",
|
|
21722
|
+
"optional": true
|
|
21723
|
+
}
|
|
21724
|
+
},
|
|
21725
|
+
"oneofs": {}
|
|
21726
|
+
},
|
|
21727
|
+
"pushwoosh.rpc.popup_forms_contents.v3.UpdateResponse": {
|
|
21728
|
+
"type": "I",
|
|
21729
|
+
"fields": {}
|
|
21730
|
+
},
|
|
21731
|
+
"pushwoosh.rpc.popup_forms_contents.v3.DeleteRequest": {
|
|
21732
|
+
"type": "I",
|
|
21733
|
+
"fields": {
|
|
21734
|
+
"code": {
|
|
21735
|
+
"type": "string"
|
|
21736
|
+
}
|
|
21737
|
+
}
|
|
21738
|
+
},
|
|
21739
|
+
"pushwoosh.rpc.popup_forms_contents.v3.DeleteResponse": {
|
|
21740
|
+
"type": "I",
|
|
21741
|
+
"fields": {}
|
|
21742
|
+
},
|
|
21469
21743
|
"pushwoosh.rpc_v2.presets.presetsService": {
|
|
21470
21744
|
"type": "S",
|
|
21471
21745
|
"key": "presets",
|
package/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ import { MessagesService as pushwoosh_rpc_v2_messages_MessagesService } from './
|
|
|
41
41
|
import { FiltersCrudService as pushwoosh_objects_filters_v1_FiltersCrudService } from './pushwoosh_objects_filters_v1';
|
|
42
42
|
import { RestrictionValuesCrudService as pushwoosh_objects_restrictionValues_v1_RestrictionValuesCrudService } from './pushwoosh_objects_restrictionValues_v1';
|
|
43
43
|
import { PopupFormsService as pushwoosh_rpc_v2_popup_forms_PopupFormsService } from './popup_forms';
|
|
44
|
+
import { PopupFormsContentsService as pushwoosh_rpc_popup_forms_contents_v3_PopupFormsContentsService } from './pushwoosh_rpc_popup_forms_contents_v3';
|
|
44
45
|
import { presetsService as pushwoosh_rpc_v2_presets_presetsService } from './presets';
|
|
45
46
|
import { ReferralPartnerService as pushwoosh_rpc_v2_referral_partners_ReferralPartnerService } from './referral_partners';
|
|
46
47
|
import { RestrictionsService as pushwoosh_rpc_v2_restrictions_RestrictionsService } from './restrictions';
|
|
@@ -102,6 +103,7 @@ export type API = {
|
|
|
102
103
|
filtersCrud: pushwoosh_objects_filters_v1_FiltersCrudService;
|
|
103
104
|
restrictionValuesCrud: pushwoosh_objects_restrictionValues_v1_RestrictionValuesCrudService;
|
|
104
105
|
popupForms: pushwoosh_rpc_v2_popup_forms_PopupFormsService;
|
|
106
|
+
popupFormsContents: pushwoosh_rpc_popup_forms_contents_v3_PopupFormsContentsService;
|
|
105
107
|
presets: pushwoosh_rpc_v2_presets_presetsService;
|
|
106
108
|
referralPartner: pushwoosh_rpc_v2_referral_partners_ReferralPartnerService;
|
|
107
109
|
restrictions: pushwoosh_rpc_v2_restrictions_RestrictionsService;
|
package/package.json
CHANGED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { RpcMethodV3 } from './commonTypes';
|
|
2
|
+
import { Common_FailedPreconditions as pushwoosh_rpc_errors_v3_Common_FailedPreconditions } from './pushwoosh_rpc_errors_v3';
|
|
3
|
+
export type PopupFormsContentsService_Save_FieldViolations = {
|
|
4
|
+
reason: 'FV_SAVE_UNSPECIFIED';
|
|
5
|
+
field: string;
|
|
6
|
+
description: string;
|
|
7
|
+
} | {
|
|
8
|
+
reason: 'NAME_EMPTY';
|
|
9
|
+
field: string;
|
|
10
|
+
description: string;
|
|
11
|
+
} | {
|
|
12
|
+
reason: 'NAME_TOO_LONG';
|
|
13
|
+
field: string;
|
|
14
|
+
description: string;
|
|
15
|
+
args: {
|
|
16
|
+
max_length: string;
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
reason: 'NAME_ALREADY_EXISTS';
|
|
20
|
+
field: string;
|
|
21
|
+
description: string;
|
|
22
|
+
args: {
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
reason: 'JSON_EMPTY';
|
|
27
|
+
field: string;
|
|
28
|
+
description: string;
|
|
29
|
+
} | {
|
|
30
|
+
reason: 'JSON_INVALID';
|
|
31
|
+
field: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
export type PopupFormsContentsService_List_FieldViolations = {
|
|
35
|
+
reason: 'FV_LIST_UNSPECIFIED';
|
|
36
|
+
field: string;
|
|
37
|
+
description: string;
|
|
38
|
+
} | {
|
|
39
|
+
reason: 'PER_PAGE_TOO_LARGE';
|
|
40
|
+
field: string;
|
|
41
|
+
description: string;
|
|
42
|
+
args: {
|
|
43
|
+
max_per_page: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type PopupFormsContentsService_Common_FailedPreconditions = {
|
|
47
|
+
type: 'FP_UNSPECIFIED';
|
|
48
|
+
description: string;
|
|
49
|
+
} | {
|
|
50
|
+
type: 'POPUP_FORM_CONTENT_NOT_FOUND';
|
|
51
|
+
description: string;
|
|
52
|
+
} | {
|
|
53
|
+
type: 'POPUP_FORM_CONTENT_IN_USE';
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
export type PopupFormsContentsService_List = RpcMethodV3<ListRequest, ListResponse, {
|
|
57
|
+
error: unknown;
|
|
58
|
+
fieldViolations?: undefined;
|
|
59
|
+
failedPreconditions?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
error?: undefined;
|
|
62
|
+
fieldViolations?: PopupFormsContentsService_List_FieldViolations[];
|
|
63
|
+
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
64
|
+
}>;
|
|
65
|
+
export type PopupFormsContentsService_Get = RpcMethodV3<GetRequest, GetResponse, {
|
|
66
|
+
error: unknown;
|
|
67
|
+
failedPreconditions?: undefined;
|
|
68
|
+
} | {
|
|
69
|
+
error?: undefined;
|
|
70
|
+
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
71
|
+
}>;
|
|
72
|
+
export type PopupFormsContentsService_Create = RpcMethodV3<CreateRequest, CreateResponse, {
|
|
73
|
+
error: unknown;
|
|
74
|
+
failedPreconditions?: undefined;
|
|
75
|
+
} | {
|
|
76
|
+
error?: undefined;
|
|
77
|
+
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
78
|
+
}>;
|
|
79
|
+
export type PopupFormsContentsService_Update = RpcMethodV3<UpdateRequest, UpdateResponse, {
|
|
80
|
+
error: unknown;
|
|
81
|
+
failedPreconditions?: undefined;
|
|
82
|
+
} | {
|
|
83
|
+
error?: undefined;
|
|
84
|
+
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
85
|
+
}>;
|
|
86
|
+
export type PopupFormsContentsService_Delete = RpcMethodV3<DeleteRequest, DeleteResponse, {
|
|
87
|
+
error: unknown;
|
|
88
|
+
failedPreconditions?: undefined;
|
|
89
|
+
} | {
|
|
90
|
+
error?: undefined;
|
|
91
|
+
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
92
|
+
}>;
|
|
93
|
+
export interface PopupFormsContentsService {
|
|
94
|
+
List: PopupFormsContentsService_List;
|
|
95
|
+
Get: PopupFormsContentsService_Get;
|
|
96
|
+
Create: PopupFormsContentsService_Create;
|
|
97
|
+
Update: PopupFormsContentsService_Update;
|
|
98
|
+
Delete: PopupFormsContentsService_Delete;
|
|
99
|
+
}
|
|
100
|
+
export type PopupFormsContentsService_Errors = {
|
|
101
|
+
List: {
|
|
102
|
+
fieldViolations: PopupFormsContentsService_List_FieldViolations[];
|
|
103
|
+
failedPreconditions: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
104
|
+
};
|
|
105
|
+
Get: {
|
|
106
|
+
failedPreconditions: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
107
|
+
};
|
|
108
|
+
Create: {
|
|
109
|
+
failedPreconditions: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
110
|
+
};
|
|
111
|
+
Update: {
|
|
112
|
+
failedPreconditions: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
113
|
+
};
|
|
114
|
+
Delete: {
|
|
115
|
+
failedPreconditions: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export type PopupFormContent = {
|
|
119
|
+
code: string;
|
|
120
|
+
name: string;
|
|
121
|
+
json: string;
|
|
122
|
+
html?: string;
|
|
123
|
+
created: Date;
|
|
124
|
+
updated: Date;
|
|
125
|
+
};
|
|
126
|
+
export type ListRequest_OrderBy = 'UPDATED' | 'NAME';
|
|
127
|
+
export type ListRequest_OrderDirection = 'DESC' | 'ASC';
|
|
128
|
+
export type ListRequest = {
|
|
129
|
+
application?: string;
|
|
130
|
+
search?: string;
|
|
131
|
+
orderBy?: ListRequest_OrderBy;
|
|
132
|
+
orderDirection?: ListRequest_OrderDirection;
|
|
133
|
+
page?: number;
|
|
134
|
+
perPage?: number;
|
|
135
|
+
};
|
|
136
|
+
export type ListResponse_ListItem = {
|
|
137
|
+
code: string;
|
|
138
|
+
name: string;
|
|
139
|
+
json: string;
|
|
140
|
+
html?: string;
|
|
141
|
+
updated: Date;
|
|
142
|
+
};
|
|
143
|
+
export type ListResponse = {
|
|
144
|
+
items: ListResponse_ListItem[];
|
|
145
|
+
page: number;
|
|
146
|
+
perPage: number;
|
|
147
|
+
totalPages: number;
|
|
148
|
+
total: number;
|
|
149
|
+
};
|
|
150
|
+
export type GetRequest = {
|
|
151
|
+
code?: string;
|
|
152
|
+
};
|
|
153
|
+
export type GetResponse = {
|
|
154
|
+
item: PopupFormContent;
|
|
155
|
+
};
|
|
156
|
+
export type CreateRequest = {
|
|
157
|
+
application?: string;
|
|
158
|
+
name?: string;
|
|
159
|
+
json?: string;
|
|
160
|
+
html?: string;
|
|
161
|
+
};
|
|
162
|
+
export type CreateResponse = {
|
|
163
|
+
code: string;
|
|
164
|
+
};
|
|
165
|
+
export type UpdateRequest = {
|
|
166
|
+
code?: string;
|
|
167
|
+
name?: string;
|
|
168
|
+
json?: string;
|
|
169
|
+
html?: string;
|
|
170
|
+
};
|
|
171
|
+
export type UpdateResponse = {};
|
|
172
|
+
export type DeleteRequest = {
|
|
173
|
+
code?: string;
|
|
174
|
+
};
|
|
175
|
+
export type DeleteResponse = {};
|