@devite/shopware-client 1.5.9 → 1.6.1
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.cjs +825 -12110
- package/dist/index.d.cts +4319 -5694
- package/dist/index.d.mts +4319 -5694
- package/dist/index.d.ts +4319 -5694
- package/dist/index.mjs +825 -12110
- package/dist/src/payloads/Payload.d.ts +1 -1
- package/dist/types/ClientRequestOptions.d.ts +0 -2
- package/dist/types/api/admin/{SystemConfig.d.ts → SystemConfigEntry.d.ts} +1 -1
- package/dist/types/api/admin/index.d.ts +1 -1
- package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +2 -2
- package/dist/types/clients/admin/CustomerClient.d.ts +0 -176
- package/dist/types/clients/admin/DocumentClient.d.ts +1 -118
- package/dist/types/clients/admin/MailClient.d.ts +0 -89
- package/dist/types/clients/admin/OrderClient.d.ts +0 -322
- package/dist/types/clients/admin/SystemClient.d.ts +0 -118
- package/dist/types/clients/admin/index.d.ts +0 -33
- package/dist/types/clients/store/DocumentClient.d.ts +1 -4
- package/package.json +1 -1
- package/dist/types/clients/admin/AppClient.d.ts +0 -292
- package/dist/types/clients/admin/CategoryClient.d.ts +0 -60
- package/dist/types/clients/admin/ContentClient.d.ts +0 -176
- package/dist/types/clients/admin/CountryClient.d.ts +0 -60
- package/dist/types/clients/admin/CurrencyClient.d.ts +0 -60
- package/dist/types/clients/admin/CustomDataClient.d.ts +0 -118
- package/dist/types/clients/admin/DeliveryTimeClient.d.ts +0 -30
- package/dist/types/clients/admin/FlowClient.d.ts +0 -89
- package/dist/types/clients/admin/ImportExportClient.d.ts +0 -89
- package/dist/types/clients/admin/IntegrationClient.d.ts +0 -30
- package/dist/types/clients/admin/LocaleClient.d.ts +0 -60
- package/dist/types/clients/admin/MediaClient.d.ts +0 -176
- package/dist/types/clients/admin/NewsletterClient.d.ts +0 -30
- package/dist/types/clients/admin/NumberRangeClient.d.ts +0 -118
- package/dist/types/clients/admin/PaymentMethodClient.d.ts +0 -30
- package/dist/types/clients/admin/PluginClient.d.ts +0 -30
- package/dist/types/clients/admin/ProductClient.d.ts +0 -553
- package/dist/types/clients/admin/PromotionClient.d.ts +0 -176
- package/dist/types/clients/admin/PropertyGroupClient.d.ts +0 -60
- package/dist/types/clients/admin/RuleClient.d.ts +0 -60
- package/dist/types/clients/admin/SalesChannelClient.d.ts +0 -118
- package/dist/types/clients/admin/SalutationClient.d.ts +0 -30
- package/dist/types/clients/admin/ScriptClient.d.ts +0 -30
- package/dist/types/clients/admin/SecurityClient.d.ts +0 -30
- package/dist/types/clients/admin/SeoClient.d.ts +0 -60
- package/dist/types/clients/admin/ShippingMethodClient.d.ts +0 -60
- package/dist/types/clients/admin/SnippetClient.d.ts +0 -60
- package/dist/types/clients/admin/StateMachineClient.d.ts +0 -89
- package/dist/types/clients/admin/TagClient.d.ts +0 -30
- package/dist/types/clients/admin/TaxClient.d.ts +0 -118
- package/dist/types/clients/admin/UnitClient.d.ts +0 -30
- package/dist/types/clients/admin/UserClient.d.ts +0 -118
- package/dist/types/clients/admin/WebhookClient.d.ts +0 -60
|
@@ -40,6 +40,6 @@ export { Salutation } from "./Salutation";
|
|
|
40
40
|
export { ScheduledTask } from "./ScheduledTask";
|
|
41
41
|
export { Script } from "./Script";
|
|
42
42
|
export { ShopwarePlugin } from "./ShopwarePlugin";
|
|
43
|
-
export {
|
|
43
|
+
export { SystemConfigEntry } from "./SystemConfigEntry";
|
|
44
44
|
export { Tag } from "./Tag";
|
|
45
45
|
export { Unit } from "./Unit";
|
|
@@ -12,7 +12,7 @@ import { Order } from "../order/Order";
|
|
|
12
12
|
import { Customer } from "../customer/Customer";
|
|
13
13
|
import { CmsPage } from "../cms/CmsPage";
|
|
14
14
|
import { SalesChannelDomain } from "./SalesChannelDomain";
|
|
15
|
-
import {
|
|
15
|
+
import { SystemConfigEntry } from "../SystemConfigEntry";
|
|
16
16
|
import { Category } from "../category/Category";
|
|
17
17
|
import { ProductVisibility } from "../product/ProductVisibility";
|
|
18
18
|
import { MailHeaderFooter } from "../mail/MailHeaderFooter";
|
|
@@ -79,7 +79,7 @@ export type SalesChannel = StoreApiSalesChannel & {
|
|
|
79
79
|
customers?: Array<Customer>;
|
|
80
80
|
homeCmsPage?: CmsPage;
|
|
81
81
|
domains?: Array<SalesChannelDomain>;
|
|
82
|
-
systemConfigs?: Array<
|
|
82
|
+
systemConfigs?: Array<SystemConfigEntry>;
|
|
83
83
|
navigationCategory?: Category;
|
|
84
84
|
footerCategory?: Category;
|
|
85
85
|
serviceCategory?: Category;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import { Customer } from "#types/api/admin/customer/Customer";
|
|
2
|
-
import { CustomerAddress } from "#types/api/admin/customer/CustomerAddress";
|
|
3
|
-
import { CustomerRecovery } from "#types/api/admin/customer/CustomerRecovery";
|
|
4
|
-
import { CustomerGroup } from "#types/api/admin/customer/group/CustomerGroup";
|
|
5
|
-
import { CustomerWishlist } from "#types/api/admin/customer/wishlist/CustomerWishlist";
|
|
6
|
-
import { CustomerWishlistProduct } from "#types/api/admin/customer/wishlist/CustomerWishlistProduct";
|
|
7
|
-
import { Criteria } from "#types/api/global/query/Criteria";
|
|
8
|
-
import { Aggregation } from "#types/api/global/aggregation/Aggregation";
|
|
9
1
|
/** Impersonation **/
|
|
10
2
|
export interface ImpersonationTokenRequest {
|
|
11
3
|
customerId: string;
|
|
@@ -14,171 +6,3 @@ export interface ImpersonationTokenRequest {
|
|
|
14
6
|
export interface ImpersonationTokenResponse {
|
|
15
7
|
token?: string;
|
|
16
8
|
}
|
|
17
|
-
/** Customers **/
|
|
18
|
-
export interface CustomerListResponse {
|
|
19
|
-
total?: number;
|
|
20
|
-
data?: Array<Customer>;
|
|
21
|
-
}
|
|
22
|
-
export type CustomerCreateRequest = Customer;
|
|
23
|
-
export type CustomerCreateResponse = {
|
|
24
|
-
data: Customer;
|
|
25
|
-
};
|
|
26
|
-
export type CustomerListSearchRequest = Criteria;
|
|
27
|
-
export interface CustomerListSearchResponse {
|
|
28
|
-
total?: number;
|
|
29
|
-
data?: Array<Customer>;
|
|
30
|
-
}
|
|
31
|
-
export interface CustomerSingleResponse {
|
|
32
|
-
data: Customer;
|
|
33
|
-
}
|
|
34
|
-
export type CustomerUpdateRequest = Customer;
|
|
35
|
-
export type CustomerUpdateResponse = {
|
|
36
|
-
data: Customer;
|
|
37
|
-
};
|
|
38
|
-
export interface CustomerAggregationRequest {
|
|
39
|
-
aggregations: Array<Aggregation>;
|
|
40
|
-
}
|
|
41
|
-
export interface CustomerAggregationResponse {
|
|
42
|
-
total?: number;
|
|
43
|
-
data?: Array<Customer>;
|
|
44
|
-
}
|
|
45
|
-
/** Addresses **/
|
|
46
|
-
export interface AddressListResponse {
|
|
47
|
-
total?: number;
|
|
48
|
-
data?: Array<CustomerAddress>;
|
|
49
|
-
}
|
|
50
|
-
export type AddressCreateRequest = CustomerAddress;
|
|
51
|
-
export type AddressCreateResponse = {
|
|
52
|
-
data: CustomerAddress;
|
|
53
|
-
};
|
|
54
|
-
export type AddressListSearchRequest = Criteria;
|
|
55
|
-
export interface AddressListSearchResponse {
|
|
56
|
-
total?: number;
|
|
57
|
-
data?: Array<CustomerAddress>;
|
|
58
|
-
}
|
|
59
|
-
export interface AddressSingleResponse {
|
|
60
|
-
data: CustomerAddress;
|
|
61
|
-
}
|
|
62
|
-
export type AddressUpdateRequest = CustomerAddress;
|
|
63
|
-
export type AddressUpdateResponse = {
|
|
64
|
-
data: CustomerAddress;
|
|
65
|
-
};
|
|
66
|
-
export interface AddressAggregationRequest {
|
|
67
|
-
aggregations: Array<Aggregation>;
|
|
68
|
-
}
|
|
69
|
-
export interface AddressAggregationResponse {
|
|
70
|
-
total?: number;
|
|
71
|
-
data?: Array<CustomerAddress>;
|
|
72
|
-
}
|
|
73
|
-
/** Groups **/
|
|
74
|
-
export interface GroupListResponse {
|
|
75
|
-
total?: number;
|
|
76
|
-
data?: Array<CustomerGroup>;
|
|
77
|
-
}
|
|
78
|
-
export type GroupCreateRequest = CustomerGroup;
|
|
79
|
-
export type GroupCreateResponse = {
|
|
80
|
-
data: CustomerGroup;
|
|
81
|
-
};
|
|
82
|
-
export type GroupListSearchRequest = Criteria;
|
|
83
|
-
export interface GroupListSearchResponse {
|
|
84
|
-
total?: number;
|
|
85
|
-
data?: Array<CustomerGroup>;
|
|
86
|
-
}
|
|
87
|
-
export interface GroupSingleResponse {
|
|
88
|
-
data: CustomerGroup;
|
|
89
|
-
}
|
|
90
|
-
export type GroupUpdateRequest = CustomerGroup;
|
|
91
|
-
export type GroupUpdateResponse = {
|
|
92
|
-
data: CustomerGroup;
|
|
93
|
-
};
|
|
94
|
-
export interface GroupAggregationRequest {
|
|
95
|
-
aggregations: Array<Aggregation>;
|
|
96
|
-
}
|
|
97
|
-
export interface GroupAggregationResponse {
|
|
98
|
-
total?: number;
|
|
99
|
-
data?: Array<CustomerGroup>;
|
|
100
|
-
}
|
|
101
|
-
/** Recoveries **/
|
|
102
|
-
export interface RecoveryListResponse {
|
|
103
|
-
total?: number;
|
|
104
|
-
data?: Array<CustomerRecovery>;
|
|
105
|
-
}
|
|
106
|
-
export type RecoveryCreateRequest = CustomerRecovery;
|
|
107
|
-
export type RecoveryCreateResponse = {
|
|
108
|
-
data: CustomerRecovery;
|
|
109
|
-
};
|
|
110
|
-
export type RecoveryListSearchRequest = Criteria;
|
|
111
|
-
export interface RecoveryListSearchResponse {
|
|
112
|
-
total?: number;
|
|
113
|
-
data?: Array<CustomerRecovery>;
|
|
114
|
-
}
|
|
115
|
-
export interface RecoverySingleResponse {
|
|
116
|
-
data: CustomerRecovery;
|
|
117
|
-
}
|
|
118
|
-
export type RecoveryUpdateRequest = CustomerRecovery;
|
|
119
|
-
export type RecoveryUpdateResponse = {
|
|
120
|
-
data: CustomerRecovery;
|
|
121
|
-
};
|
|
122
|
-
export interface RecoveryAggregationRequest {
|
|
123
|
-
aggregations: Array<Aggregation>;
|
|
124
|
-
}
|
|
125
|
-
export interface RecoveryAggregationResponse {
|
|
126
|
-
total?: number;
|
|
127
|
-
data?: Array<CustomerRecovery>;
|
|
128
|
-
}
|
|
129
|
-
/** Wishlists **/
|
|
130
|
-
export interface WishlistListResponse {
|
|
131
|
-
total?: number;
|
|
132
|
-
data?: Array<CustomerWishlist>;
|
|
133
|
-
}
|
|
134
|
-
export type WishlistCreateRequest = CustomerWishlist;
|
|
135
|
-
export type WishlistCreateResponse = {
|
|
136
|
-
data: CustomerWishlist;
|
|
137
|
-
};
|
|
138
|
-
export type WishlistListSearchRequest = Criteria;
|
|
139
|
-
export interface WishlistListSearchResponse {
|
|
140
|
-
total?: number;
|
|
141
|
-
data?: Array<CustomerWishlist>;
|
|
142
|
-
}
|
|
143
|
-
export interface WishlistSingleResponse {
|
|
144
|
-
data: CustomerWishlist;
|
|
145
|
-
}
|
|
146
|
-
export type WishlistUpdateRequest = CustomerWishlist;
|
|
147
|
-
export type WishlistUpdateResponse = {
|
|
148
|
-
data: CustomerWishlist;
|
|
149
|
-
};
|
|
150
|
-
export interface WishlistAggregationRequest {
|
|
151
|
-
aggregations: Array<Aggregation>;
|
|
152
|
-
}
|
|
153
|
-
export interface WishlistAggregationResponse {
|
|
154
|
-
total?: number;
|
|
155
|
-
data?: Array<CustomerWishlist>;
|
|
156
|
-
}
|
|
157
|
-
/** Wishlist Products **/
|
|
158
|
-
export interface WishlistProductListResponse {
|
|
159
|
-
total?: number;
|
|
160
|
-
data?: Array<CustomerWishlistProduct>;
|
|
161
|
-
}
|
|
162
|
-
export type WishlistProductCreateRequest = CustomerWishlistProduct;
|
|
163
|
-
export type WishlistProductCreateResponse = {
|
|
164
|
-
data: CustomerWishlistProduct;
|
|
165
|
-
};
|
|
166
|
-
export type WishlistProductListSearchRequest = Criteria;
|
|
167
|
-
export interface WishlistProductListSearchResponse {
|
|
168
|
-
total?: number;
|
|
169
|
-
data?: Array<CustomerWishlistProduct>;
|
|
170
|
-
}
|
|
171
|
-
export interface WishlistProductSingleResponse {
|
|
172
|
-
data: CustomerWishlistProduct;
|
|
173
|
-
}
|
|
174
|
-
export type WishlistProductUpdateRequest = CustomerWishlistProduct;
|
|
175
|
-
export type WishlistProductUpdateResponse = {
|
|
176
|
-
data: CustomerWishlistProduct;
|
|
177
|
-
};
|
|
178
|
-
export interface WishlistProductAggregationRequest {
|
|
179
|
-
aggregations: Array<Aggregation>;
|
|
180
|
-
}
|
|
181
|
-
export interface WishlistProductAggregationResponse {
|
|
182
|
-
total?: number;
|
|
183
|
-
data?: Array<CustomerWishlistProduct>;
|
|
184
|
-
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { ShopwareDocument } from "#types/api/admin/document/ShopwareDocument";
|
|
2
|
-
import { ShopwareDocumentBaseConfig } from "#types/api/admin/document/baseConfig/ShopwareDocumentBaseConfig";
|
|
3
|
-
import { ShopwareDocumentBaseConfigSalesChannel } from "#types/api/admin/document/baseConfig/ShopwareDocumentBaseConfigSalesChannel";
|
|
4
|
-
import { ShopwareDocumentType } from "#types/api/admin/document/ShopwareDocumentType";
|
|
5
|
-
import { Criteria } from "#types/api/global/query/Criteria";
|
|
6
|
-
import { Aggregation } from "#types/api/global/aggregation/Aggregation";
|
|
7
1
|
/** Document Management **/
|
|
8
2
|
export interface NumberReservationResponse {
|
|
9
3
|
number?: string;
|
|
@@ -12,115 +6,4 @@ export interface UploadResponse {
|
|
|
12
6
|
documentId?: string;
|
|
13
7
|
documentDeepLink?: string;
|
|
14
8
|
}
|
|
15
|
-
|
|
16
|
-
export interface DocumentListResponse {
|
|
17
|
-
total?: number;
|
|
18
|
-
data?: Array<ShopwareDocument>;
|
|
19
|
-
}
|
|
20
|
-
export type DocumentCreateRequest = ShopwareDocument;
|
|
21
|
-
export type DocumentCreateResponse = {
|
|
22
|
-
data: ShopwareDocument;
|
|
23
|
-
};
|
|
24
|
-
export type DocumentListSearchRequest = Criteria;
|
|
25
|
-
export interface DocumentListSearchResponse {
|
|
26
|
-
total?: number;
|
|
27
|
-
data?: Array<ShopwareDocument>;
|
|
28
|
-
}
|
|
29
|
-
export interface DocumentSingleResponse {
|
|
30
|
-
data: ShopwareDocument;
|
|
31
|
-
}
|
|
32
|
-
export type DocumentUpdateRequest = ShopwareDocument;
|
|
33
|
-
export type DocumentUpdateResponse = {
|
|
34
|
-
data: ShopwareDocument;
|
|
35
|
-
};
|
|
36
|
-
export interface DocumentAggregationRequest {
|
|
37
|
-
aggregations: Array<Aggregation>;
|
|
38
|
-
}
|
|
39
|
-
export interface DocumentAggregationResponse {
|
|
40
|
-
total?: number;
|
|
41
|
-
data?: Array<ShopwareDocument>;
|
|
42
|
-
}
|
|
43
|
-
/** Document Base Configs **/
|
|
44
|
-
export interface BaseConfigListResponse {
|
|
45
|
-
total?: number;
|
|
46
|
-
data?: Array<ShopwareDocumentBaseConfig>;
|
|
47
|
-
}
|
|
48
|
-
export type BaseConfigCreateRequest = ShopwareDocumentBaseConfig;
|
|
49
|
-
export type BaseConfigCreateResponse = {
|
|
50
|
-
data: ShopwareDocumentBaseConfig;
|
|
51
|
-
};
|
|
52
|
-
export type BaseConfigListSearchRequest = Criteria;
|
|
53
|
-
export interface BaseConfigListSearchResponse {
|
|
54
|
-
total?: number;
|
|
55
|
-
data?: Array<ShopwareDocumentBaseConfig>;
|
|
56
|
-
}
|
|
57
|
-
export interface BaseConfigSingleResponse {
|
|
58
|
-
data: ShopwareDocumentBaseConfig;
|
|
59
|
-
}
|
|
60
|
-
export type BaseConfigUpdateRequest = ShopwareDocumentBaseConfig;
|
|
61
|
-
export type BaseConfigUpdateResponse = {
|
|
62
|
-
data: ShopwareDocumentBaseConfig;
|
|
63
|
-
};
|
|
64
|
-
export interface BaseConfigAggregationRequest {
|
|
65
|
-
aggregations: Array<Aggregation>;
|
|
66
|
-
}
|
|
67
|
-
export interface BaseConfigAggregationResponse {
|
|
68
|
-
total?: number;
|
|
69
|
-
data?: Array<ShopwareDocumentBaseConfig>;
|
|
70
|
-
}
|
|
71
|
-
/** Document Base Config Sales Channels **/
|
|
72
|
-
export interface BaseConfigSalesChannelListResponse {
|
|
73
|
-
total?: number;
|
|
74
|
-
data?: Array<ShopwareDocumentBaseConfigSalesChannel>;
|
|
75
|
-
}
|
|
76
|
-
export type BaseConfigSalesChannelCreateRequest = ShopwareDocumentBaseConfigSalesChannel;
|
|
77
|
-
export type BaseConfigSalesChannelCreateResponse = {
|
|
78
|
-
data: ShopwareDocumentBaseConfigSalesChannel;
|
|
79
|
-
};
|
|
80
|
-
export type BaseConfigSalesChannelListSearchRequest = Criteria;
|
|
81
|
-
export interface BaseConfigSalesChannelListSearchResponse {
|
|
82
|
-
total?: number;
|
|
83
|
-
data?: Array<ShopwareDocumentBaseConfigSalesChannel>;
|
|
84
|
-
}
|
|
85
|
-
export interface BaseConfigSalesChannelSingleResponse {
|
|
86
|
-
data: ShopwareDocumentBaseConfigSalesChannel;
|
|
87
|
-
}
|
|
88
|
-
export type BaseConfigSalesChannelUpdateRequest = ShopwareDocumentBaseConfigSalesChannel;
|
|
89
|
-
export type BaseConfigSalesChannelUpdateResponse = {
|
|
90
|
-
data: ShopwareDocumentBaseConfigSalesChannel;
|
|
91
|
-
};
|
|
92
|
-
export interface BaseConfigSalesChannelAggregationRequest {
|
|
93
|
-
aggregations: Array<Aggregation>;
|
|
94
|
-
}
|
|
95
|
-
export interface BaseConfigSalesChannelAggregationResponse {
|
|
96
|
-
total?: number;
|
|
97
|
-
data?: Array<ShopwareDocumentBaseConfigSalesChannel>;
|
|
98
|
-
}
|
|
99
|
-
/** Document Types **/
|
|
100
|
-
export interface DocumentTypeListResponse {
|
|
101
|
-
total?: number;
|
|
102
|
-
data?: Array<ShopwareDocumentType>;
|
|
103
|
-
}
|
|
104
|
-
export type DocumentTypeCreateRequest = ShopwareDocumentType;
|
|
105
|
-
export type DocumentTypeCreateResponse = {
|
|
106
|
-
data: ShopwareDocumentType;
|
|
107
|
-
};
|
|
108
|
-
export type DocumentTypeListSearchRequest = Criteria;
|
|
109
|
-
export interface DocumentTypeListSearchResponse {
|
|
110
|
-
total?: number;
|
|
111
|
-
data?: Array<ShopwareDocumentType>;
|
|
112
|
-
}
|
|
113
|
-
export interface DocumentTypeSingleResponse {
|
|
114
|
-
data: ShopwareDocumentType;
|
|
115
|
-
}
|
|
116
|
-
export type DocumentTypeUpdateRequest = ShopwareDocumentType;
|
|
117
|
-
export type DocumentTypeUpdateResponse = {
|
|
118
|
-
data: ShopwareDocumentType;
|
|
119
|
-
};
|
|
120
|
-
export interface DocumentTypeAggregationRequest {
|
|
121
|
-
aggregations: Array<Aggregation>;
|
|
122
|
-
}
|
|
123
|
-
export interface DocumentTypeAggregationResponse {
|
|
124
|
-
total?: number;
|
|
125
|
-
data?: Array<ShopwareDocumentType>;
|
|
126
|
-
}
|
|
9
|
+
export type DownloadResponse = Blob;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { MailHeaderFooter } from "#types/api/admin/mail/MailHeaderFooter";
|
|
2
|
-
import { MailTemplate } from "#types/api/admin/mail/template/MailTemplate";
|
|
3
|
-
import { MailTemplateType } from "#types/api/admin/mail/template/MailTemplateType";
|
|
4
|
-
import { Criteria } from "#types/api/global/query/Criteria";
|
|
5
|
-
import { Aggregation } from "#types/api/global/aggregation/Aggregation";
|
|
6
1
|
/** Operations **/
|
|
7
2
|
export interface MailSendRequest {
|
|
8
3
|
recipients: Record<string, string>;
|
|
@@ -39,87 +34,3 @@ export interface TemplatePreviewRequest {
|
|
|
39
34
|
};
|
|
40
35
|
}
|
|
41
36
|
export type TemplatePreviewResponse = string;
|
|
42
|
-
/** Header Footers **/
|
|
43
|
-
export interface HeaderFooterListResponse {
|
|
44
|
-
total?: number;
|
|
45
|
-
data?: Array<MailHeaderFooter>;
|
|
46
|
-
}
|
|
47
|
-
export type HeaderFooterCreateRequest = MailHeaderFooter;
|
|
48
|
-
export type HeaderFooterCreateResponse = {
|
|
49
|
-
data: MailHeaderFooter;
|
|
50
|
-
};
|
|
51
|
-
export type HeaderFooterListSearchRequest = Criteria;
|
|
52
|
-
export interface HeaderFooterListSearchResponse {
|
|
53
|
-
total?: number;
|
|
54
|
-
data?: Array<MailHeaderFooter>;
|
|
55
|
-
}
|
|
56
|
-
export interface HeaderFooterSingleResponse {
|
|
57
|
-
data: MailHeaderFooter;
|
|
58
|
-
}
|
|
59
|
-
export type HeaderFooterUpdateRequest = MailHeaderFooter;
|
|
60
|
-
export type HeaderFooterUpdateResponse = {
|
|
61
|
-
data: MailHeaderFooter;
|
|
62
|
-
};
|
|
63
|
-
export interface HeaderFooterAggregationRequest {
|
|
64
|
-
aggregations: Array<Aggregation>;
|
|
65
|
-
}
|
|
66
|
-
export interface HeaderFooterAggregationResponse {
|
|
67
|
-
total?: number;
|
|
68
|
-
data?: Array<MailHeaderFooter>;
|
|
69
|
-
}
|
|
70
|
-
/** Templates **/
|
|
71
|
-
export interface TemplateListResponse {
|
|
72
|
-
total?: number;
|
|
73
|
-
data?: Array<MailTemplate>;
|
|
74
|
-
}
|
|
75
|
-
export type TemplateCreateRequest = MailTemplate;
|
|
76
|
-
export type TemplateCreateResponse = {
|
|
77
|
-
data: MailTemplate;
|
|
78
|
-
};
|
|
79
|
-
export type TemplateListSearchRequest = Criteria;
|
|
80
|
-
export interface TemplateListSearchResponse {
|
|
81
|
-
total?: number;
|
|
82
|
-
data?: Array<MailTemplate>;
|
|
83
|
-
}
|
|
84
|
-
export interface TemplateSingleResponse {
|
|
85
|
-
data: MailTemplate;
|
|
86
|
-
}
|
|
87
|
-
export type TemplateUpdateRequest = MailTemplate;
|
|
88
|
-
export type TemplateUpdateResponse = {
|
|
89
|
-
data: MailTemplate;
|
|
90
|
-
};
|
|
91
|
-
export interface TemplateAggregationRequest {
|
|
92
|
-
aggregations: Array<Aggregation>;
|
|
93
|
-
}
|
|
94
|
-
export interface TemplateAggregationResponse {
|
|
95
|
-
total?: number;
|
|
96
|
-
data?: Array<MailTemplate>;
|
|
97
|
-
}
|
|
98
|
-
/** Template Types **/
|
|
99
|
-
export interface TemplateTypeListResponse {
|
|
100
|
-
total?: number;
|
|
101
|
-
data?: Array<MailTemplateType>;
|
|
102
|
-
}
|
|
103
|
-
export type TemplateTypeCreateRequest = MailTemplateType;
|
|
104
|
-
export type TemplateTypeCreateResponse = {
|
|
105
|
-
data: MailTemplateType;
|
|
106
|
-
};
|
|
107
|
-
export type TemplateTypeListSearchRequest = Criteria;
|
|
108
|
-
export interface TemplateTypeListSearchResponse {
|
|
109
|
-
total?: number;
|
|
110
|
-
data?: Array<MailTemplateType>;
|
|
111
|
-
}
|
|
112
|
-
export interface TemplateTypeSingleResponse {
|
|
113
|
-
data: MailTemplateType;
|
|
114
|
-
}
|
|
115
|
-
export type TemplateTypeUpdateRequest = MailTemplateType;
|
|
116
|
-
export type TemplateTypeUpdateResponse = {
|
|
117
|
-
data: MailTemplateType;
|
|
118
|
-
};
|
|
119
|
-
export interface TemplateTypeAggregationRequest {
|
|
120
|
-
aggregations: Array<Aggregation>;
|
|
121
|
-
}
|
|
122
|
-
export interface TemplateTypeAggregationResponse {
|
|
123
|
-
total?: number;
|
|
124
|
-
data?: Array<MailTemplateType>;
|
|
125
|
-
}
|