gap-nodejs-sdk 1.0.318 → 1.0.320
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/api/go_check_in_api/1.0.0/api/campaign.d.ts +8 -0
- package/dist/api/go_check_in_api/1.0.0/api/campaign.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/campaign.js +87 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/campaign.d.ts +8 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/campaign.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/campaign.js +8 -0
- package/dist/api/go_check_in_api/1.0.0/models/campaign.d.ts +147 -0
- package/dist/api/go_check_in_api/1.0.0/models/campaign.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/campaign.js +131 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +37 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +123 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/income.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/api/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +9 -8
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +1 -0
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -1
- package/dist/types/meta.d.ts +4 -0
- package/dist/types/meta.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -15,5 +15,13 @@ export default class Campaign extends Base implements CampaignAbstractClass {
|
|
|
15
15
|
static createCampaignPromotion(data: Request.CreateCampaignPromotionRequest): Promise<Response.CreateCampaignPromotionResponse>;
|
|
16
16
|
static getCampaignPromotionHistory(query: Request.GetCampaignPromotionHistoryRequest): Promise<DataWithMetaResponse<Response.GetCampaignPromotionHistoryResponse>>;
|
|
17
17
|
static sendCampaignPromotionTest(data: Request.SendCampaignPromotionTestRequest): Promise<Response.SendCampaignPromotionTestResponse>;
|
|
18
|
+
static getCampaignReminderList(query?: Request.GetCampaignReminderListRequest): Promise<DataWithMetaResponse<Response.GetCampaignReminderListResponse>>;
|
|
19
|
+
static getCampaignReminderDetail(query: Request.GetCampaignReminderDetailRequest): Promise<Response.GetCampaignReminderDetailResponse>;
|
|
20
|
+
static updateCampaignReminder(data: Request.UpdateCampaignReminderRequest): Promise<Response.UpdateCampaignReminderResponse>;
|
|
21
|
+
static getCampaignBirthdayList(query?: Request.GetCampaignBirthdayListRequest): Promise<DataWithMetaResponse<Response.GetCampaignBirthdayListResponse>>;
|
|
22
|
+
static getCampaignBirthdayDetail(query: Request.GetCampaignBirthdayDetailRequest): Promise<Response.GetCampaignBirthdayDetailResponse>;
|
|
23
|
+
static updateCampaignBirthday(data: Request.UpdateCampaignBirthdayRequest): Promise<Response.UpdateCampaignBirthdayResponse>;
|
|
24
|
+
static getCampaignFirstSignUp(query?: Request.GetCampaignFirstSignUpRequest): Promise<Response.GetCampaignFirstSignUpResponse>;
|
|
25
|
+
static updateCampaignFirstSignUp(data: Request.UpdateCampaignFirstSignUpRequest): Promise<Response.UpdateCampaignFirstSignUpResponse>;
|
|
18
26
|
}
|
|
19
27
|
//# sourceMappingURL=campaign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAk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iVersion } from "../../../../base_type";
|
|
|
4
4
|
import * as Model from "../models";
|
|
5
5
|
import campaign from "../endpoints/campaign";
|
|
6
6
|
import { DataWithMetaModel } from "../../../../models";
|
|
7
|
+
import { objectToFormData } from "../../../../utils/form-data";
|
|
7
8
|
export default class Campaign extends Base {
|
|
8
9
|
static getCampaignPromotionGroup(query) {
|
|
9
10
|
var _a;
|
|
@@ -64,9 +65,10 @@ export default class Campaign extends Base {
|
|
|
64
65
|
static createCampaignPromotion(data) {
|
|
65
66
|
var _a;
|
|
66
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const formData = objectToFormData(data);
|
|
67
69
|
const response = yield this.client.post({
|
|
68
70
|
path: campaign.CREATE_CAMPAIGN_PROMOTION,
|
|
69
|
-
data:
|
|
71
|
+
data: formData
|
|
70
72
|
});
|
|
71
73
|
return Model.CampaignPromotionItemModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
72
74
|
});
|
|
@@ -89,5 +91,89 @@ export default class Campaign extends Base {
|
|
|
89
91
|
return response === null || response === void 0 ? void 0 : response.result.status;
|
|
90
92
|
});
|
|
91
93
|
}
|
|
94
|
+
static getCampaignReminderList(query) {
|
|
95
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
+
const response = yield this.client.get({
|
|
97
|
+
path: campaign.GET_CAMPAIGN_REMINDER_LIST,
|
|
98
|
+
query: query
|
|
99
|
+
});
|
|
100
|
+
return DataWithMetaModel(response, Model.CampaignReminderItemModel);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
static getCampaignReminderDetail(query) {
|
|
104
|
+
var _a;
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const response = yield this.client.get({
|
|
107
|
+
path: campaign.GET_CAMPAIGN_REMINDER_DETAIL,
|
|
108
|
+
query: query
|
|
109
|
+
});
|
|
110
|
+
return Model.CampaignReminderItemModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
static updateCampaignReminder(data) {
|
|
114
|
+
var _a;
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const formData = objectToFormData(data);
|
|
117
|
+
const response = yield this.client.post({
|
|
118
|
+
path: campaign.UPDATE_CAMPAIGN_REMINDER,
|
|
119
|
+
data: formData
|
|
120
|
+
});
|
|
121
|
+
return Model.CampaignReminderItemModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
static getCampaignBirthdayList(query) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const response = yield this.client.get({
|
|
127
|
+
path: campaign.GET_CAMPAIGN_BIRTHDAY_LIST,
|
|
128
|
+
query: query
|
|
129
|
+
});
|
|
130
|
+
return DataWithMetaModel(response, Model.CampaignBirthdayItemModel);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
static getCampaignBirthdayDetail(query) {
|
|
134
|
+
var _a;
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
const response = yield this.client.get({
|
|
137
|
+
path: campaign.GET_CAMPAIGN_BIRTHDAY_DETAIL,
|
|
138
|
+
query: query
|
|
139
|
+
});
|
|
140
|
+
return Model.CampaignBirthdayItemModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
static updateCampaignBirthday(data) {
|
|
144
|
+
var _a;
|
|
145
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
const formData = objectToFormData(data);
|
|
147
|
+
const response = yield this.client.post({
|
|
148
|
+
path: campaign.UPDATE_CAMPAIGN_BIRTHDAY,
|
|
149
|
+
data: formData,
|
|
150
|
+
query: {
|
|
151
|
+
id: data.id,
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
return Model.CampaignBirthdayItemModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
static getCampaignFirstSignUp(query) {
|
|
158
|
+
var _a;
|
|
159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
const response = yield this.client.get({
|
|
161
|
+
path: campaign.GET_CAMPAIGN_FIRST_SIGN_UP,
|
|
162
|
+
query: query
|
|
163
|
+
});
|
|
164
|
+
return Model.CampaignFirstSignUpModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
static updateCampaignFirstSignUp(data) {
|
|
168
|
+
var _a;
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const formData = objectToFormData(data);
|
|
171
|
+
const response = yield this.client.post({
|
|
172
|
+
path: campaign.UPDATE_CAMPAIGN_FIRST_SIGN_UP,
|
|
173
|
+
data: formData
|
|
174
|
+
});
|
|
175
|
+
return Model.CampaignFirstSignUpModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
92
178
|
}
|
|
93
179
|
Campaign.API_VERSION = GapApiVersion.V1;
|
|
@@ -8,6 +8,14 @@ declare const _default: {
|
|
|
8
8
|
CREATE_CAMPAIGN_PROMOTION: string;
|
|
9
9
|
GET_CAMPAIGN_PROMOTION_HISTORY: string;
|
|
10
10
|
SEND_CAMPAIGN_PROMOTION_TEST: string;
|
|
11
|
+
GET_CAMPAIGN_REMINDER_LIST: string;
|
|
12
|
+
GET_CAMPAIGN_REMINDER_DETAIL: string;
|
|
13
|
+
UPDATE_CAMPAIGN_REMINDER: string;
|
|
14
|
+
GET_CAMPAIGN_BIRTHDAY_LIST: string;
|
|
15
|
+
GET_CAMPAIGN_BIRTHDAY_DETAIL: string;
|
|
16
|
+
UPDATE_CAMPAIGN_BIRTHDAY: string;
|
|
17
|
+
GET_CAMPAIGN_FIRST_SIGN_UP: string;
|
|
18
|
+
UPDATE_CAMPAIGN_FIRST_SIGN_UP: string;
|
|
11
19
|
};
|
|
12
20
|
export default _default;
|
|
13
21
|
//# sourceMappingURL=campaign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/campaign.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/campaign.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,wBAqBC"}
|
|
@@ -8,4 +8,12 @@ export default {
|
|
|
8
8
|
CREATE_CAMPAIGN_PROMOTION: '/v1/gocheckin/campaign/promotion/create',
|
|
9
9
|
GET_CAMPAIGN_PROMOTION_HISTORY: '/v1/gocheckin/campaign/site/get-history',
|
|
10
10
|
SEND_CAMPAIGN_PROMOTION_TEST: '/v1/gocheckin/campaign/promotion/send-test',
|
|
11
|
+
GET_CAMPAIGN_REMINDER_LIST: '/v1/gocheckin/campaign/reminder/list',
|
|
12
|
+
GET_CAMPAIGN_REMINDER_DETAIL: '/v1/gocheckin/campaign/reminder/get',
|
|
13
|
+
UPDATE_CAMPAIGN_REMINDER: '/v1/gocheckin/campaign/reminder/update',
|
|
14
|
+
GET_CAMPAIGN_BIRTHDAY_LIST: '/v1/gocheckin/campaign/birthday/list',
|
|
15
|
+
GET_CAMPAIGN_BIRTHDAY_DETAIL: '/v1/gocheckin/campaign/birthday/get',
|
|
16
|
+
UPDATE_CAMPAIGN_BIRTHDAY: '/v1/gocheckin/campaign/birthday/update',
|
|
17
|
+
GET_CAMPAIGN_FIRST_SIGN_UP: '/v1/gocheckin/campaign/first-sign-up/get',
|
|
18
|
+
UPDATE_CAMPAIGN_FIRST_SIGN_UP: '/v1/gocheckin/campaign/first-sign-up/update',
|
|
11
19
|
};
|
|
@@ -72,4 +72,151 @@ export declare const CampaignPromotionHistory: (data: any) => {
|
|
|
72
72
|
limit_used: any;
|
|
73
73
|
total_used: any;
|
|
74
74
|
};
|
|
75
|
+
export declare const CampaignReminderItemModel: (data: any) => {
|
|
76
|
+
id: any;
|
|
77
|
+
name: any;
|
|
78
|
+
type: any;
|
|
79
|
+
created_at: any;
|
|
80
|
+
updated_at: any;
|
|
81
|
+
is_active: any;
|
|
82
|
+
delivery_time: any;
|
|
83
|
+
read_tracking: any;
|
|
84
|
+
link_tracking: any;
|
|
85
|
+
reply_tracking: any;
|
|
86
|
+
google_analytics: any;
|
|
87
|
+
expired_date: any;
|
|
88
|
+
usable_limit: any;
|
|
89
|
+
start_date: any;
|
|
90
|
+
sent_at: any;
|
|
91
|
+
total_delivered_email: any;
|
|
92
|
+
total_delivered_push: any;
|
|
93
|
+
total_delivered_sms: any;
|
|
94
|
+
total_open: any;
|
|
95
|
+
total_optout: any;
|
|
96
|
+
total_sent: any;
|
|
97
|
+
total_visits: any;
|
|
98
|
+
tracker_id: any;
|
|
99
|
+
groups: any;
|
|
100
|
+
has_promotion: any;
|
|
101
|
+
expired_day_in: any;
|
|
102
|
+
logic_type: any;
|
|
103
|
+
logic_value: any;
|
|
104
|
+
is_show_exp: any;
|
|
105
|
+
business_name: any;
|
|
106
|
+
is_sent_opt_out: any;
|
|
107
|
+
email_subject: any;
|
|
108
|
+
campaign_report: {
|
|
109
|
+
total_email_sent: any;
|
|
110
|
+
total_sms_sent: any;
|
|
111
|
+
total_receive_message: any;
|
|
112
|
+
total_claim: any;
|
|
113
|
+
total_redemption: any;
|
|
114
|
+
claim_percent: any;
|
|
115
|
+
redemption_percent: any;
|
|
116
|
+
total_income: any;
|
|
117
|
+
total_expense: any;
|
|
118
|
+
percent_expense: any;
|
|
119
|
+
};
|
|
120
|
+
remind_campaign: {
|
|
121
|
+
after_date: any;
|
|
122
|
+
content: any;
|
|
123
|
+
expired_in: any;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
export declare const CampaignBirthdayItemModel: (data: any) => {
|
|
127
|
+
id: any;
|
|
128
|
+
name: any;
|
|
129
|
+
type: any;
|
|
130
|
+
created_at: any;
|
|
131
|
+
updated_at: any;
|
|
132
|
+
is_active: any;
|
|
133
|
+
delivery_time: any;
|
|
134
|
+
read_tracking: any;
|
|
135
|
+
link_tracking: any;
|
|
136
|
+
reply_tracking: any;
|
|
137
|
+
google_analytics: any;
|
|
138
|
+
expired_date: any;
|
|
139
|
+
usable_limit: any;
|
|
140
|
+
start_date: any;
|
|
141
|
+
sent_at: any;
|
|
142
|
+
total_delivered_email: any;
|
|
143
|
+
total_delivered_push: any;
|
|
144
|
+
total_delivered_sms: any;
|
|
145
|
+
total_open: any;
|
|
146
|
+
total_optout: any;
|
|
147
|
+
total_sent: any;
|
|
148
|
+
total_visits: any;
|
|
149
|
+
tracker_id: any;
|
|
150
|
+
groups: any;
|
|
151
|
+
has_promotion: any;
|
|
152
|
+
expired_day_in: any;
|
|
153
|
+
logic_type: any;
|
|
154
|
+
logic_value: any;
|
|
155
|
+
is_show_exp: any;
|
|
156
|
+
business_name: any;
|
|
157
|
+
is_sent_opt_out: any;
|
|
158
|
+
email_subject: any;
|
|
159
|
+
campaign_report: {
|
|
160
|
+
total_email_sent: any;
|
|
161
|
+
total_sms_sent: any;
|
|
162
|
+
total_receive_message: any;
|
|
163
|
+
total_claim: any;
|
|
164
|
+
total_redemption: any;
|
|
165
|
+
claim_percent: any;
|
|
166
|
+
redemption_percent: any;
|
|
167
|
+
total_income: any;
|
|
168
|
+
total_expense: any;
|
|
169
|
+
percent_expense: any;
|
|
170
|
+
};
|
|
171
|
+
birthday_campaign: {
|
|
172
|
+
before_date: any;
|
|
173
|
+
content: any;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
export declare const CampaignFirstSignUpModel: (data: any) => {
|
|
177
|
+
id: any;
|
|
178
|
+
name: any;
|
|
179
|
+
type: any;
|
|
180
|
+
created_at: any;
|
|
181
|
+
updated_at: any;
|
|
182
|
+
is_active: any;
|
|
183
|
+
delivery_time: any;
|
|
184
|
+
read_tracking: any;
|
|
185
|
+
link_tracking: any;
|
|
186
|
+
reply_tracking: any;
|
|
187
|
+
google_analytics: any;
|
|
188
|
+
expired_date: any;
|
|
189
|
+
usable_limit: any;
|
|
190
|
+
start_date: any;
|
|
191
|
+
sent_at: any;
|
|
192
|
+
total_delivered_email: any;
|
|
193
|
+
total_delivered_push: any;
|
|
194
|
+
total_delivered_sms: any;
|
|
195
|
+
total_open: any;
|
|
196
|
+
total_optout: any;
|
|
197
|
+
total_sent: any;
|
|
198
|
+
total_visits: any;
|
|
199
|
+
tracker_id: any;
|
|
200
|
+
groups: any;
|
|
201
|
+
has_promotion: any;
|
|
202
|
+
expired_day_in: any;
|
|
203
|
+
logic_type: any;
|
|
204
|
+
logic_value: any;
|
|
205
|
+
is_show_exp: any;
|
|
206
|
+
business_name: any;
|
|
207
|
+
is_sent_opt_out: any;
|
|
208
|
+
email_subject: any;
|
|
209
|
+
campaign_report: {
|
|
210
|
+
total_email_sent: any;
|
|
211
|
+
total_sms_sent: any;
|
|
212
|
+
total_receive_message: any;
|
|
213
|
+
total_claim: any;
|
|
214
|
+
total_redemption: any;
|
|
215
|
+
claim_percent: any;
|
|
216
|
+
redemption_percent: any;
|
|
217
|
+
total_income: any;
|
|
218
|
+
total_expense: any;
|
|
219
|
+
percent_expense: any;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
75
222
|
//# sourceMappingURL=campaign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/campaign.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,SAAU,GAAG;;;;CAMpD,CAAA;
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/campaign.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,SAAU,GAAG;;;;CAMpD,CAAA;AAqBD,eAAO,MAAM,0BAA0B,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCnD,CAAA;AAgBD,eAAO,MAAM,wBAAwB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;CAUjD,CAAA;AASD,eAAO,MAAM,yBAAyB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClD,CAAC;AAQF,eAAO,MAAM,yBAAyB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClD,CAAC;AAEF,eAAO,MAAM,wBAAwB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCjD,CAAC"}
|
|
@@ -93,3 +93,134 @@ export const CampaignPromotionHistory = (data) => {
|
|
|
93
93
|
total_used: (_f = data === null || data === void 0 ? void 0 : data.total_used) !== null && _f !== void 0 ? _f : null,
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
+
const ReminderCampaignModel = (data) => {
|
|
97
|
+
var _a, _b, _c;
|
|
98
|
+
return {
|
|
99
|
+
after_date: (_a = data === null || data === void 0 ? void 0 : data.after_date) !== null && _a !== void 0 ? _a : null,
|
|
100
|
+
content: (_b = data === null || data === void 0 ? void 0 : data.content) !== null && _b !== void 0 ? _b : null,
|
|
101
|
+
expired_in: (_c = data === null || data === void 0 ? void 0 : data.expired_in) !== null && _c !== void 0 ? _c : null,
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
export const CampaignReminderItemModel = (data) => {
|
|
105
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
106
|
+
return {
|
|
107
|
+
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
108
|
+
name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
|
|
109
|
+
type: (_c = data === null || data === void 0 ? void 0 : data.type) !== null && _c !== void 0 ? _c : null,
|
|
110
|
+
created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
|
|
111
|
+
updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
|
|
112
|
+
is_active: (_f = data === null || data === void 0 ? void 0 : data.is_active) !== null && _f !== void 0 ? _f : null,
|
|
113
|
+
delivery_time: (_g = data === null || data === void 0 ? void 0 : data.delivery_time) !== null && _g !== void 0 ? _g : null,
|
|
114
|
+
read_tracking: (_h = data === null || data === void 0 ? void 0 : data.read_tracking) !== null && _h !== void 0 ? _h : null,
|
|
115
|
+
link_tracking: (_j = data === null || data === void 0 ? void 0 : data.link_tracking) !== null && _j !== void 0 ? _j : null,
|
|
116
|
+
reply_tracking: (_k = data === null || data === void 0 ? void 0 : data.reply_tracking) !== null && _k !== void 0 ? _k : null,
|
|
117
|
+
google_analytics: (_l = data === null || data === void 0 ? void 0 : data.google_analytics) !== null && _l !== void 0 ? _l : null,
|
|
118
|
+
expired_date: (_m = data === null || data === void 0 ? void 0 : data.expired_date) !== null && _m !== void 0 ? _m : null,
|
|
119
|
+
usable_limit: (_o = data === null || data === void 0 ? void 0 : data.usable_limit) !== null && _o !== void 0 ? _o : null,
|
|
120
|
+
start_date: (_p = data === null || data === void 0 ? void 0 : data.start_date) !== null && _p !== void 0 ? _p : null,
|
|
121
|
+
sent_at: (_q = data === null || data === void 0 ? void 0 : data.sent_at) !== null && _q !== void 0 ? _q : null,
|
|
122
|
+
total_delivered_email: (_r = data === null || data === void 0 ? void 0 : data.total_delivered_email) !== null && _r !== void 0 ? _r : null,
|
|
123
|
+
total_delivered_push: (_s = data === null || data === void 0 ? void 0 : data.total_delivered_push) !== null && _s !== void 0 ? _s : null,
|
|
124
|
+
total_delivered_sms: (_t = data === null || data === void 0 ? void 0 : data.total_delivered_sms) !== null && _t !== void 0 ? _t : null,
|
|
125
|
+
total_open: (_u = data === null || data === void 0 ? void 0 : data.total_open) !== null && _u !== void 0 ? _u : null,
|
|
126
|
+
total_optout: (_v = data === null || data === void 0 ? void 0 : data.total_optout) !== null && _v !== void 0 ? _v : null,
|
|
127
|
+
total_sent: (_w = data === null || data === void 0 ? void 0 : data.total_sent) !== null && _w !== void 0 ? _w : null,
|
|
128
|
+
total_visits: (_x = data === null || data === void 0 ? void 0 : data.total_visits) !== null && _x !== void 0 ? _x : null,
|
|
129
|
+
tracker_id: (_y = data === null || data === void 0 ? void 0 : data.tracker_id) !== null && _y !== void 0 ? _y : null,
|
|
130
|
+
groups: (_z = data === null || data === void 0 ? void 0 : data.groups) !== null && _z !== void 0 ? _z : null,
|
|
131
|
+
has_promotion: (_0 = data === null || data === void 0 ? void 0 : data.has_promotion) !== null && _0 !== void 0 ? _0 : null,
|
|
132
|
+
expired_day_in: (_1 = data === null || data === void 0 ? void 0 : data.expired_day_in) !== null && _1 !== void 0 ? _1 : null,
|
|
133
|
+
logic_type: (_2 = data === null || data === void 0 ? void 0 : data.logic_type) !== null && _2 !== void 0 ? _2 : null,
|
|
134
|
+
logic_value: (_3 = data === null || data === void 0 ? void 0 : data.logic_value) !== null && _3 !== void 0 ? _3 : null,
|
|
135
|
+
is_show_exp: (_4 = data === null || data === void 0 ? void 0 : data.is_show_exp) !== null && _4 !== void 0 ? _4 : null,
|
|
136
|
+
business_name: (_5 = data === null || data === void 0 ? void 0 : data.business_name) !== null && _5 !== void 0 ? _5 : null,
|
|
137
|
+
is_sent_opt_out: (_6 = data === null || data === void 0 ? void 0 : data.is_sent_opt_out) !== null && _6 !== void 0 ? _6 : null,
|
|
138
|
+
email_subject: (_7 = data === null || data === void 0 ? void 0 : data.email_subject) !== null && _7 !== void 0 ? _7 : null,
|
|
139
|
+
campaign_report: CampaignReportModel(data === null || data === void 0 ? void 0 : data.campaign_report),
|
|
140
|
+
remind_campaign: ReminderCampaignModel(data === null || data === void 0 ? void 0 : data.remind_campaign),
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
const BirthdayCampaignModel = (data) => {
|
|
144
|
+
var _a, _b;
|
|
145
|
+
return {
|
|
146
|
+
before_date: (_a = data === null || data === void 0 ? void 0 : data.before_date) !== null && _a !== void 0 ? _a : null,
|
|
147
|
+
content: (_b = data === null || data === void 0 ? void 0 : data.content) !== null && _b !== void 0 ? _b : null,
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export const CampaignBirthdayItemModel = (data) => {
|
|
151
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
152
|
+
return {
|
|
153
|
+
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
154
|
+
name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
|
|
155
|
+
type: (_c = data === null || data === void 0 ? void 0 : data.type) !== null && _c !== void 0 ? _c : null,
|
|
156
|
+
created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
|
|
157
|
+
updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
|
|
158
|
+
is_active: (_f = data === null || data === void 0 ? void 0 : data.is_active) !== null && _f !== void 0 ? _f : null,
|
|
159
|
+
delivery_time: (_g = data === null || data === void 0 ? void 0 : data.delivery_time) !== null && _g !== void 0 ? _g : null,
|
|
160
|
+
read_tracking: (_h = data === null || data === void 0 ? void 0 : data.read_tracking) !== null && _h !== void 0 ? _h : null,
|
|
161
|
+
link_tracking: (_j = data === null || data === void 0 ? void 0 : data.link_tracking) !== null && _j !== void 0 ? _j : null,
|
|
162
|
+
reply_tracking: (_k = data === null || data === void 0 ? void 0 : data.reply_tracking) !== null && _k !== void 0 ? _k : null,
|
|
163
|
+
google_analytics: (_l = data === null || data === void 0 ? void 0 : data.google_analytics) !== null && _l !== void 0 ? _l : null,
|
|
164
|
+
expired_date: (_m = data === null || data === void 0 ? void 0 : data.expired_date) !== null && _m !== void 0 ? _m : null,
|
|
165
|
+
usable_limit: (_o = data === null || data === void 0 ? void 0 : data.usable_limit) !== null && _o !== void 0 ? _o : null,
|
|
166
|
+
start_date: (_p = data === null || data === void 0 ? void 0 : data.start_date) !== null && _p !== void 0 ? _p : null,
|
|
167
|
+
sent_at: (_q = data === null || data === void 0 ? void 0 : data.sent_at) !== null && _q !== void 0 ? _q : null,
|
|
168
|
+
total_delivered_email: (_r = data === null || data === void 0 ? void 0 : data.total_delivered_email) !== null && _r !== void 0 ? _r : null,
|
|
169
|
+
total_delivered_push: (_s = data === null || data === void 0 ? void 0 : data.total_delivered_push) !== null && _s !== void 0 ? _s : null,
|
|
170
|
+
total_delivered_sms: (_t = data === null || data === void 0 ? void 0 : data.total_delivered_sms) !== null && _t !== void 0 ? _t : null,
|
|
171
|
+
total_open: (_u = data === null || data === void 0 ? void 0 : data.total_open) !== null && _u !== void 0 ? _u : null,
|
|
172
|
+
total_optout: (_v = data === null || data === void 0 ? void 0 : data.total_optout) !== null && _v !== void 0 ? _v : null,
|
|
173
|
+
total_sent: (_w = data === null || data === void 0 ? void 0 : data.total_sent) !== null && _w !== void 0 ? _w : null,
|
|
174
|
+
total_visits: (_x = data === null || data === void 0 ? void 0 : data.total_visits) !== null && _x !== void 0 ? _x : null,
|
|
175
|
+
tracker_id: (_y = data === null || data === void 0 ? void 0 : data.tracker_id) !== null && _y !== void 0 ? _y : null,
|
|
176
|
+
groups: (_z = data === null || data === void 0 ? void 0 : data.groups) !== null && _z !== void 0 ? _z : null,
|
|
177
|
+
has_promotion: (_0 = data === null || data === void 0 ? void 0 : data.has_promotion) !== null && _0 !== void 0 ? _0 : null,
|
|
178
|
+
expired_day_in: (_1 = data === null || data === void 0 ? void 0 : data.expired_day_in) !== null && _1 !== void 0 ? _1 : null,
|
|
179
|
+
logic_type: (_2 = data === null || data === void 0 ? void 0 : data.logic_type) !== null && _2 !== void 0 ? _2 : null,
|
|
180
|
+
logic_value: (_3 = data === null || data === void 0 ? void 0 : data.logic_value) !== null && _3 !== void 0 ? _3 : null,
|
|
181
|
+
is_show_exp: (_4 = data === null || data === void 0 ? void 0 : data.is_show_exp) !== null && _4 !== void 0 ? _4 : null,
|
|
182
|
+
business_name: (_5 = data === null || data === void 0 ? void 0 : data.business_name) !== null && _5 !== void 0 ? _5 : null,
|
|
183
|
+
is_sent_opt_out: (_6 = data === null || data === void 0 ? void 0 : data.is_sent_opt_out) !== null && _6 !== void 0 ? _6 : null,
|
|
184
|
+
email_subject: (_7 = data === null || data === void 0 ? void 0 : data.email_subject) !== null && _7 !== void 0 ? _7 : null,
|
|
185
|
+
campaign_report: CampaignReportModel(data === null || data === void 0 ? void 0 : data.campaign_report),
|
|
186
|
+
birthday_campaign: BirthdayCampaignModel(data === null || data === void 0 ? void 0 : data.birthday_campaign),
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
export const CampaignFirstSignUpModel = (data) => {
|
|
190
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
191
|
+
return {
|
|
192
|
+
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
193
|
+
name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
|
|
194
|
+
type: (_c = data === null || data === void 0 ? void 0 : data.type) !== null && _c !== void 0 ? _c : null,
|
|
195
|
+
created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
|
|
196
|
+
updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
|
|
197
|
+
is_active: (_f = data === null || data === void 0 ? void 0 : data.is_active) !== null && _f !== void 0 ? _f : null,
|
|
198
|
+
delivery_time: (_g = data === null || data === void 0 ? void 0 : data.delivery_time) !== null && _g !== void 0 ? _g : null,
|
|
199
|
+
read_tracking: (_h = data === null || data === void 0 ? void 0 : data.read_tracking) !== null && _h !== void 0 ? _h : null,
|
|
200
|
+
link_tracking: (_j = data === null || data === void 0 ? void 0 : data.link_tracking) !== null && _j !== void 0 ? _j : null,
|
|
201
|
+
reply_tracking: (_k = data === null || data === void 0 ? void 0 : data.reply_tracking) !== null && _k !== void 0 ? _k : null,
|
|
202
|
+
google_analytics: (_l = data === null || data === void 0 ? void 0 : data.google_analytics) !== null && _l !== void 0 ? _l : null,
|
|
203
|
+
expired_date: (_m = data === null || data === void 0 ? void 0 : data.expired_date) !== null && _m !== void 0 ? _m : null,
|
|
204
|
+
usable_limit: (_o = data === null || data === void 0 ? void 0 : data.usable_limit) !== null && _o !== void 0 ? _o : null,
|
|
205
|
+
start_date: (_p = data === null || data === void 0 ? void 0 : data.start_date) !== null && _p !== void 0 ? _p : null,
|
|
206
|
+
sent_at: (_q = data === null || data === void 0 ? void 0 : data.sent_at) !== null && _q !== void 0 ? _q : null,
|
|
207
|
+
total_delivered_email: (_r = data === null || data === void 0 ? void 0 : data.total_delivered_email) !== null && _r !== void 0 ? _r : null,
|
|
208
|
+
total_delivered_push: (_s = data === null || data === void 0 ? void 0 : data.total_delivered_push) !== null && _s !== void 0 ? _s : null,
|
|
209
|
+
total_delivered_sms: (_t = data === null || data === void 0 ? void 0 : data.total_delivered_sms) !== null && _t !== void 0 ? _t : null,
|
|
210
|
+
total_open: (_u = data === null || data === void 0 ? void 0 : data.total_open) !== null && _u !== void 0 ? _u : null,
|
|
211
|
+
total_optout: (_v = data === null || data === void 0 ? void 0 : data.total_optout) !== null && _v !== void 0 ? _v : null,
|
|
212
|
+
total_sent: (_w = data === null || data === void 0 ? void 0 : data.total_sent) !== null && _w !== void 0 ? _w : null,
|
|
213
|
+
total_visits: (_x = data === null || data === void 0 ? void 0 : data.total_visits) !== null && _x !== void 0 ? _x : null,
|
|
214
|
+
tracker_id: (_y = data === null || data === void 0 ? void 0 : data.tracker_id) !== null && _y !== void 0 ? _y : null,
|
|
215
|
+
groups: (_z = data === null || data === void 0 ? void 0 : data.groups) !== null && _z !== void 0 ? _z : null,
|
|
216
|
+
has_promotion: (_0 = data === null || data === void 0 ? void 0 : data.has_promotion) !== null && _0 !== void 0 ? _0 : null,
|
|
217
|
+
expired_day_in: (_1 = data === null || data === void 0 ? void 0 : data.expired_day_in) !== null && _1 !== void 0 ? _1 : null,
|
|
218
|
+
logic_type: (_2 = data === null || data === void 0 ? void 0 : data.logic_type) !== null && _2 !== void 0 ? _2 : null,
|
|
219
|
+
logic_value: (_3 = data === null || data === void 0 ? void 0 : data.logic_value) !== null && _3 !== void 0 ? _3 : null,
|
|
220
|
+
is_show_exp: (_4 = data === null || data === void 0 ? void 0 : data.is_show_exp) !== null && _4 !== void 0 ? _4 : null,
|
|
221
|
+
business_name: (_5 = data === null || data === void 0 ? void 0 : data.business_name) !== null && _5 !== void 0 ? _5 : null,
|
|
222
|
+
is_sent_opt_out: (_6 = data === null || data === void 0 ? void 0 : data.is_sent_opt_out) !== null && _6 !== void 0 ? _6 : null,
|
|
223
|
+
email_subject: (_7 = data === null || data === void 0 ? void 0 : data.email_subject) !== null && _7 !== void 0 ? _7 : null,
|
|
224
|
+
campaign_report: CampaignReportModel(data === null || data === void 0 ? void 0 : data.campaign_report),
|
|
225
|
+
};
|
|
226
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaginationQueryRequest } from "../../../../../types";
|
|
1
2
|
export declare type GetCampaignPromotionGroupRequest = {};
|
|
2
3
|
export declare type GetCampaignPromotionListRequest = {
|
|
3
4
|
page?: number;
|
|
@@ -48,4 +49,40 @@ export declare type SendCampaignPromotionTestRequest = {
|
|
|
48
49
|
type: string;
|
|
49
50
|
campaign_name: string;
|
|
50
51
|
};
|
|
52
|
+
export declare type GetCampaignReminderListRequest = PaginationQueryRequest;
|
|
53
|
+
export declare type GetCampaignReminderDetailRequest = {
|
|
54
|
+
id: number;
|
|
55
|
+
};
|
|
56
|
+
export declare type UpdateCampaignReminderRequest = {
|
|
57
|
+
id: number;
|
|
58
|
+
name: string;
|
|
59
|
+
content: string;
|
|
60
|
+
is_active: number;
|
|
61
|
+
logic_value: number;
|
|
62
|
+
logic_type: string;
|
|
63
|
+
expired_day_in: number;
|
|
64
|
+
after_date: number;
|
|
65
|
+
};
|
|
66
|
+
export declare type GetCampaignBirthdayListRequest = PaginationQueryRequest;
|
|
67
|
+
export declare type GetCampaignBirthdayDetailRequest = {
|
|
68
|
+
id: number;
|
|
69
|
+
};
|
|
70
|
+
export declare type UpdateCampaignBirthdayRequest = {
|
|
71
|
+
id: number;
|
|
72
|
+
name: string;
|
|
73
|
+
content: string;
|
|
74
|
+
is_active: number;
|
|
75
|
+
logic_value: number;
|
|
76
|
+
logic_type: string;
|
|
77
|
+
before_date: number;
|
|
78
|
+
expired_day_in: number;
|
|
79
|
+
};
|
|
80
|
+
export declare type GetCampaignFirstSignUpRequest = {};
|
|
81
|
+
export declare type UpdateCampaignFirstSignUpRequest = {
|
|
82
|
+
id: number;
|
|
83
|
+
name: string;
|
|
84
|
+
is_active: number;
|
|
85
|
+
logic_value: number;
|
|
86
|
+
logic_type: string;
|
|
87
|
+
};
|
|
51
88
|
//# sourceMappingURL=campaign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/campaign.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC,GAAG,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAE5D,oBAAY,gCAAgC,GAAG,EAAE,CAAA;AACjD,oBAAY,+BAA+B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,oBAAY,sCAAsC,GAAG;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,oBAAY,iCAAiC,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AACD,oBAAY,kCAAkC,GAAG,EAAE,CAAA;AACnD,oBAAY,mCAAmC,GAAG,EAAE,CAAA;AACpD,oBAAY,8BAA8B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAA;CACd,CAAA;AACD,oBAAY,kCAAkC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC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A;AAC9C,oBAAY,gCAAgC,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA"}
|
|
@@ -83,5 +83,128 @@ export declare type GetCampaignPromotionHistoryResponse = Nullable<{
|
|
|
83
83
|
total_used: number;
|
|
84
84
|
}[]>;
|
|
85
85
|
export declare type SendCampaignPromotionTestResponse = Nullable<{}>;
|
|
86
|
+
declare type RemindCampaign = {
|
|
87
|
+
after_date: number;
|
|
88
|
+
content: string;
|
|
89
|
+
expired_in: any;
|
|
90
|
+
};
|
|
91
|
+
declare type CampaignReminderItem = Nullable<{
|
|
92
|
+
id: number;
|
|
93
|
+
name: string;
|
|
94
|
+
type: string;
|
|
95
|
+
created_at: string;
|
|
96
|
+
updated_at: string;
|
|
97
|
+
is_active: number;
|
|
98
|
+
delivery_time: any;
|
|
99
|
+
read_tracking: any;
|
|
100
|
+
link_tracking: any;
|
|
101
|
+
reply_tracking: any;
|
|
102
|
+
google_analytics: any;
|
|
103
|
+
expired_date: string;
|
|
104
|
+
usable_limit: any;
|
|
105
|
+
start_date: string;
|
|
106
|
+
sent_at: any;
|
|
107
|
+
total_delivered_email: number;
|
|
108
|
+
total_delivered_push: number;
|
|
109
|
+
total_delivered_sms: number;
|
|
110
|
+
total_open: number;
|
|
111
|
+
total_optout: number;
|
|
112
|
+
total_sent: number;
|
|
113
|
+
total_visits: number;
|
|
114
|
+
tracker_id: any;
|
|
115
|
+
groups: any;
|
|
116
|
+
has_promotion: number;
|
|
117
|
+
expired_day_in: number;
|
|
118
|
+
logic_type: string;
|
|
119
|
+
logic_value: string;
|
|
120
|
+
is_show_exp: number;
|
|
121
|
+
business_name: any;
|
|
122
|
+
is_sent_opt_out: number;
|
|
123
|
+
email_subject: string;
|
|
124
|
+
campaign_report: CampaignReport;
|
|
125
|
+
remind_campaign: RemindCampaign;
|
|
126
|
+
}>;
|
|
127
|
+
export declare type GetCampaignReminderListResponse = CampaignReminderItem[];
|
|
128
|
+
export declare type GetCampaignReminderDetailResponse = CampaignReminderItem;
|
|
129
|
+
export declare type UpdateCampaignReminderResponse = CampaignReminderItem;
|
|
130
|
+
declare type BirthdayCampaign = {
|
|
131
|
+
before_date: number;
|
|
132
|
+
content: string;
|
|
133
|
+
};
|
|
134
|
+
declare type CampaignBirthdayItem = Nullable<{
|
|
135
|
+
id: number;
|
|
136
|
+
name: string;
|
|
137
|
+
type: string;
|
|
138
|
+
created_at: string;
|
|
139
|
+
updated_at: string;
|
|
140
|
+
is_active: number;
|
|
141
|
+
delivery_time: any;
|
|
142
|
+
read_tracking: any;
|
|
143
|
+
link_tracking: any;
|
|
144
|
+
reply_tracking: any;
|
|
145
|
+
google_analytics: any;
|
|
146
|
+
expired_date: string;
|
|
147
|
+
usable_limit: any;
|
|
148
|
+
start_date: string;
|
|
149
|
+
sent_at: any;
|
|
150
|
+
total_delivered_email: number;
|
|
151
|
+
total_delivered_push: number;
|
|
152
|
+
total_delivered_sms: number;
|
|
153
|
+
total_open: number;
|
|
154
|
+
total_optout: number;
|
|
155
|
+
total_sent: number;
|
|
156
|
+
total_visits: number;
|
|
157
|
+
tracker_id: any;
|
|
158
|
+
groups: any;
|
|
159
|
+
has_promotion: number;
|
|
160
|
+
expired_day_in: number;
|
|
161
|
+
logic_type: string;
|
|
162
|
+
logic_value: string;
|
|
163
|
+
is_show_exp: number;
|
|
164
|
+
business_name: any;
|
|
165
|
+
is_sent_opt_out: number;
|
|
166
|
+
email_subject: string;
|
|
167
|
+
campaign_report: CampaignReport;
|
|
168
|
+
birthday_campaign: BirthdayCampaign;
|
|
169
|
+
}>;
|
|
170
|
+
export declare type GetCampaignBirthdayListResponse = CampaignBirthdayItem[];
|
|
171
|
+
export declare type GetCampaignBirthdayDetailResponse = CampaignBirthdayItem;
|
|
172
|
+
export declare type UpdateCampaignBirthdayResponse = CampaignBirthdayItem;
|
|
173
|
+
export declare type GetCampaignFirstSignUpResponse = Nullable<{
|
|
174
|
+
id: number;
|
|
175
|
+
name: string;
|
|
176
|
+
type: string;
|
|
177
|
+
created_at: string;
|
|
178
|
+
updated_at: any;
|
|
179
|
+
is_active: number;
|
|
180
|
+
delivery_time: any;
|
|
181
|
+
read_tracking: any;
|
|
182
|
+
link_tracking: any;
|
|
183
|
+
reply_tracking: any;
|
|
184
|
+
google_analytics: any;
|
|
185
|
+
expired_date: string;
|
|
186
|
+
usable_limit: any;
|
|
187
|
+
start_date: string;
|
|
188
|
+
sent_at: any;
|
|
189
|
+
total_delivered_email: number;
|
|
190
|
+
total_delivered_push: number;
|
|
191
|
+
total_delivered_sms: number;
|
|
192
|
+
total_open: number;
|
|
193
|
+
total_optout: number;
|
|
194
|
+
total_sent: number;
|
|
195
|
+
total_visits: number;
|
|
196
|
+
tracker_id: any;
|
|
197
|
+
groups: any;
|
|
198
|
+
has_promotion: number;
|
|
199
|
+
expired_day_in: number;
|
|
200
|
+
logic_type: string;
|
|
201
|
+
logic_value: string;
|
|
202
|
+
is_show_exp: number;
|
|
203
|
+
business_name: any;
|
|
204
|
+
is_sent_opt_out: number;
|
|
205
|
+
email_subject: string;
|
|
206
|
+
campaign_report: CampaignReport;
|
|
207
|
+
}>;
|
|
208
|
+
export declare type UpdateCampaignFirstSignUpResponse = GetCampaignFirstSignUpResponse;
|
|
86
209
|
export {};
|
|
87
210
|
//# sourceMappingURL=campaign.d.ts.map
|