@bzbs/react-api-client 1.0.12 → 1.1.0

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.d.mts CHANGED
@@ -121,71 +121,85 @@ interface ForgetPasswordResponse {
121
121
  }
122
122
 
123
123
  interface Badge {
124
- name?: string;
125
- description?: string;
126
- fbDescription?: string;
127
- points?: number;
128
- active?: boolean;
129
- maxLevels?: number;
130
- startDate?: any;
131
- endDate?: any;
132
- period?: string;
133
- isSpecific?: boolean;
134
- isSkipNoti?: boolean;
135
- grouping?: string;
136
- autoRedeemCampaignId?: any;
137
- autoRedeemBadgeLevel?: any;
138
- autoRedeemContinueEveryLevel?: boolean;
139
- agencyId?: any;
140
- appId?: any;
141
- dependencyBadge?: any;
142
- dependencyBadgeType?: any;
143
- userLevel?: number;
144
- userLevelExpireDate?: any;
145
- userLevelExpireIn?: any;
146
- userLevelExpirePeriod?: any;
147
- userLevelExpireInRounding?: boolean;
148
- customInfo?: any;
149
- sequence?: number;
150
- nextNotificationDate?: any;
151
- nextNotificationPeriod?: any;
152
- nextNotification?: any;
153
- nextNotificationRounding?: boolean;
154
- reset?: boolean;
155
- redeemMedia?: any;
156
- isSkipNotiWhenNotEarnPoints?: boolean;
157
- level?: number;
158
- isSkipNotiAutoRedeem?: boolean;
159
- pushNotiMessage?: any;
160
- lineMessageSetting?: any;
161
- pushCampaignId?: any;
162
- pushCampaignMessage?: any;
163
- deleted?: boolean;
164
- refreshFromTraceProfile?: boolean;
165
- missions?: Mission[];
166
- partitionKey?: string;
167
- rowKey?: string;
168
- timestamp?: number;
169
- eTag?: string;
170
- isObtain?: boolean;
171
- obtainOn?: any;
172
- percentage?: number;
173
- id?: string;
124
+ Name?: string;
125
+ Description?: string;
126
+ FbDescription?: string;
127
+ Points?: number;
128
+ Active?: boolean;
129
+ MaxLevels?: number;
130
+ StartDate?: any;
131
+ EndDate?: any;
132
+ Period?: string;
133
+ IsSpecific?: boolean;
134
+ IsSkipNoti?: boolean;
135
+ Grouping?: string;
136
+ AutoRedeemCampaignId?: any;
137
+ AutoRedeemBadgeLevel?: any;
138
+ AutoRedeemContinueEveryLevel?: boolean;
139
+ AgencyId?: any;
140
+ AppId?: any;
141
+ DependencyBadge?: any;
142
+ DependencyBadgeType?: any;
143
+ UserLevel?: number;
144
+ UserLevelExpireDate?: any;
145
+ UserLevelExpireIn?: any;
146
+ UserLevelExpirePeriod?: any;
147
+ UserLevelExpireInRounding?: boolean;
148
+ CustomInfo?: any;
149
+ Sequence?: number;
150
+ NextNotificationDate?: any;
151
+ NextNotificationPeriod?: any;
152
+ NextNotification?: any;
153
+ NextNotificationRounding?: boolean;
154
+ Reset?: boolean;
155
+ RedeemMedia?: any;
156
+ IsSkipNotiWhenNotEarnPoints?: boolean;
157
+ Level?: number;
158
+ IsSkipNotiAutoRedeem?: boolean;
159
+ PushNotiMessage?: any;
160
+ LineMessageSetting?: any;
161
+ PushCampaignId?: any;
162
+ PushCampaignMessage?: any;
163
+ Deleted?: boolean;
164
+ RefreshFromTraceProfile?: boolean;
165
+ Missions?: Mission[];
166
+ PartitionKey?: string;
167
+ RowKey?: string;
168
+ Timestamp?: number;
169
+ ETag?: string;
170
+ IsObtain?: boolean;
171
+ ObtainOn?: any;
172
+ Percentage?: number;
173
+ Id?: string;
174
174
  unlocked_by_others?: boolean;
175
175
  auto_redeem?: any;
176
176
  fb_description?: string;
177
- IsSkipNoti?: boolean;
178
- CustomInfo?: any;
179
- UserLevel?: number;
180
177
  IsSkipNextNoti?: boolean;
181
- error?: any;
182
- LineMessageSetting?: any;
178
+ Error?: any;
183
179
  }
184
180
  interface Mission {
185
- tracePlanId?: string;
186
- value?: number;
187
- current?: number;
188
- isComplete?: boolean;
181
+ TracePlanId?: string;
182
+ Value?: number;
183
+ Current?: number;
184
+ IsComplete?: boolean;
185
+ }
186
+
187
+ interface PointUnit {
188
+ Active?: boolean;
189
+ CampaignId?: number;
190
+ AppId?: string;
191
+ Unit?: string;
192
+ AmountPerUnit?: number;
193
+ Earn?: boolean;
194
+ CustomizeAmount?: boolean;
195
+ Divisible?: boolean;
196
+ Id?: string;
197
+ Meta?: {
198
+ CreatedAt?: number;
199
+ ModifiedAt?: number;
200
+ CreatedBy?: string | null;
201
+ ModifiedBy?: string | null;
202
+ };
189
203
  }
190
204
 
191
205
  interface CampaignDetail {
@@ -260,7 +274,7 @@ interface CampaignDetail {
260
274
  Keyword?: string;
261
275
  CustomCaption?: string;
262
276
  CustomFacebookMessage?: string;
263
- Extra?: any;
277
+ Extra?: unknown;
264
278
  InterfaceDisplay?: string;
265
279
  PointType?: string;
266
280
  AgencyEmail?: string;
@@ -273,15 +287,18 @@ interface CampaignDetail {
273
287
  Qty?: number;
274
288
  FullImageUrl?: string;
275
289
  SubCampaignStyles?: SubCampaignStyle;
276
- Related?: any[];
290
+ Related?: unknown[];
277
291
  AgencyLogoUrl?: string;
278
292
  IsFavourite?: boolean;
279
293
  SubCampaigns?: SubCampaign[];
294
+ PointServices?: {
295
+ [unit: string]: PointUnit;
296
+ };
280
297
  }
281
298
  interface SubCampaign {
282
299
  CampaignId?: number;
283
- Type?: any;
284
- Size?: any;
300
+ Type?: unknown;
301
+ Size?: unknown;
285
302
  Quantity?: number;
286
303
  RedeemMostPerPerson?: number;
287
304
  ItemCountSold?: number;
@@ -333,8 +350,8 @@ interface Campaign {
333
350
  RedeemCount?: number;
334
351
  CurrentDate?: number;
335
352
  NextRedeemDate?: number;
336
- TracesJson?: any;
337
- Rating?: any;
353
+ TracesJson?: unknown;
354
+ Rating?: unknown;
338
355
  UserLevel?: number;
339
356
  UserVisibility?: number;
340
357
  PointPerUnit?: number;
@@ -359,24 +376,27 @@ interface Campaign {
359
376
  CategorySequence?: number;
360
377
  ParentCategoryId?: number;
361
378
  MasterCampaignId?: number;
362
- RankVote?: any;
379
+ RankVote?: unknown;
363
380
  Vote?: number;
364
381
  Like?: number;
365
382
  OtherPointPerUnit?: number;
366
383
  Website?: string;
367
384
  ItemCountSold?: number;
368
385
  RedeemMostPerCard?: number;
369
- RedeemCountPerCard?: any;
386
+ RedeemCountPerCard?: unknown;
370
387
  NextRedeemDatePerCard?: number;
371
388
  PriceSold?: number;
372
389
  LocationAgencyId?: number;
373
390
  SubscriptionPeriod?: number;
374
391
  SubscriptionTime?: number;
375
- PartialPoints?: any;
376
- SubCampaigns?: any;
377
- MinSubCampaignPricePerUnit?: any;
378
- MaxSubCampaignPricePerUnit?: any;
392
+ PartialPoints?: unknown;
393
+ SubCampaigns?: unknown;
394
+ MinSubCampaignPricePerUnit?: unknown;
395
+ MaxSubCampaignPricePerUnit?: unknown;
379
396
  CustomFacebookMessage?: string;
397
+ PointServices?: {
398
+ [unit: string]: PointUnit;
399
+ };
380
400
  }
381
401
 
382
402
  interface CartCountResponse {
@@ -699,6 +719,7 @@ interface ProfileResponse {
699
719
  NotificationMarketing?: number;
700
720
  LineMarketing?: number;
701
721
  updated_points?: UpdatedPoints;
722
+ usercode?: string;
702
723
  Token?: string;
703
724
  Jwt?: string;
704
725
  Info1?: string;
@@ -784,6 +805,10 @@ interface Purchase {
784
805
  Info5?: string;
785
806
  Detail?: string;
786
807
  ArrangedDate?: number;
808
+ PointServiceUnit?: string;
809
+ PointServiceAmount?: number;
810
+ PointServiceTranId?: string;
811
+ PointServiceRef?: string;
787
812
  }
788
813
 
789
814
  interface RegistrationResponse {
@@ -1643,6 +1668,7 @@ declare class CampaignApi extends BaseService {
1643
1668
  id: string;
1644
1669
  addressKey?: string;
1645
1670
  contactNumber?: string;
1671
+ pointUnit?: string;
1646
1672
  options?: {
1647
1673
  [key: string]: unknown;
1648
1674
  };
@@ -2742,4 +2768,4 @@ declare class BzbsService {
2742
2768
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string | "", baseBlobUrl: string);
2743
2769
  }
2744
2770
 
2745
- export { type Address, AddressApi, type ApiResponse, AuthenticateApi, type Badge, BadgeApi, BaseService, Blob, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, type ConsentVersion, type ConsentVersionValue, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Maintenance, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, RequestHelpApi, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
2771
+ export { type Address, AddressApi, type ApiResponse, AuthenticateApi, type Badge, BadgeApi, BaseService, Blob, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, type ConsentVersion, type ConsentVersionValue, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Maintenance, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, type PointUnit, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, RequestHelpApi, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
package/dist/index.d.ts CHANGED
@@ -121,71 +121,85 @@ interface ForgetPasswordResponse {
121
121
  }
122
122
 
123
123
  interface Badge {
124
- name?: string;
125
- description?: string;
126
- fbDescription?: string;
127
- points?: number;
128
- active?: boolean;
129
- maxLevels?: number;
130
- startDate?: any;
131
- endDate?: any;
132
- period?: string;
133
- isSpecific?: boolean;
134
- isSkipNoti?: boolean;
135
- grouping?: string;
136
- autoRedeemCampaignId?: any;
137
- autoRedeemBadgeLevel?: any;
138
- autoRedeemContinueEveryLevel?: boolean;
139
- agencyId?: any;
140
- appId?: any;
141
- dependencyBadge?: any;
142
- dependencyBadgeType?: any;
143
- userLevel?: number;
144
- userLevelExpireDate?: any;
145
- userLevelExpireIn?: any;
146
- userLevelExpirePeriod?: any;
147
- userLevelExpireInRounding?: boolean;
148
- customInfo?: any;
149
- sequence?: number;
150
- nextNotificationDate?: any;
151
- nextNotificationPeriod?: any;
152
- nextNotification?: any;
153
- nextNotificationRounding?: boolean;
154
- reset?: boolean;
155
- redeemMedia?: any;
156
- isSkipNotiWhenNotEarnPoints?: boolean;
157
- level?: number;
158
- isSkipNotiAutoRedeem?: boolean;
159
- pushNotiMessage?: any;
160
- lineMessageSetting?: any;
161
- pushCampaignId?: any;
162
- pushCampaignMessage?: any;
163
- deleted?: boolean;
164
- refreshFromTraceProfile?: boolean;
165
- missions?: Mission[];
166
- partitionKey?: string;
167
- rowKey?: string;
168
- timestamp?: number;
169
- eTag?: string;
170
- isObtain?: boolean;
171
- obtainOn?: any;
172
- percentage?: number;
173
- id?: string;
124
+ Name?: string;
125
+ Description?: string;
126
+ FbDescription?: string;
127
+ Points?: number;
128
+ Active?: boolean;
129
+ MaxLevels?: number;
130
+ StartDate?: any;
131
+ EndDate?: any;
132
+ Period?: string;
133
+ IsSpecific?: boolean;
134
+ IsSkipNoti?: boolean;
135
+ Grouping?: string;
136
+ AutoRedeemCampaignId?: any;
137
+ AutoRedeemBadgeLevel?: any;
138
+ AutoRedeemContinueEveryLevel?: boolean;
139
+ AgencyId?: any;
140
+ AppId?: any;
141
+ DependencyBadge?: any;
142
+ DependencyBadgeType?: any;
143
+ UserLevel?: number;
144
+ UserLevelExpireDate?: any;
145
+ UserLevelExpireIn?: any;
146
+ UserLevelExpirePeriod?: any;
147
+ UserLevelExpireInRounding?: boolean;
148
+ CustomInfo?: any;
149
+ Sequence?: number;
150
+ NextNotificationDate?: any;
151
+ NextNotificationPeriod?: any;
152
+ NextNotification?: any;
153
+ NextNotificationRounding?: boolean;
154
+ Reset?: boolean;
155
+ RedeemMedia?: any;
156
+ IsSkipNotiWhenNotEarnPoints?: boolean;
157
+ Level?: number;
158
+ IsSkipNotiAutoRedeem?: boolean;
159
+ PushNotiMessage?: any;
160
+ LineMessageSetting?: any;
161
+ PushCampaignId?: any;
162
+ PushCampaignMessage?: any;
163
+ Deleted?: boolean;
164
+ RefreshFromTraceProfile?: boolean;
165
+ Missions?: Mission[];
166
+ PartitionKey?: string;
167
+ RowKey?: string;
168
+ Timestamp?: number;
169
+ ETag?: string;
170
+ IsObtain?: boolean;
171
+ ObtainOn?: any;
172
+ Percentage?: number;
173
+ Id?: string;
174
174
  unlocked_by_others?: boolean;
175
175
  auto_redeem?: any;
176
176
  fb_description?: string;
177
- IsSkipNoti?: boolean;
178
- CustomInfo?: any;
179
- UserLevel?: number;
180
177
  IsSkipNextNoti?: boolean;
181
- error?: any;
182
- LineMessageSetting?: any;
178
+ Error?: any;
183
179
  }
184
180
  interface Mission {
185
- tracePlanId?: string;
186
- value?: number;
187
- current?: number;
188
- isComplete?: boolean;
181
+ TracePlanId?: string;
182
+ Value?: number;
183
+ Current?: number;
184
+ IsComplete?: boolean;
185
+ }
186
+
187
+ interface PointUnit {
188
+ Active?: boolean;
189
+ CampaignId?: number;
190
+ AppId?: string;
191
+ Unit?: string;
192
+ AmountPerUnit?: number;
193
+ Earn?: boolean;
194
+ CustomizeAmount?: boolean;
195
+ Divisible?: boolean;
196
+ Id?: string;
197
+ Meta?: {
198
+ CreatedAt?: number;
199
+ ModifiedAt?: number;
200
+ CreatedBy?: string | null;
201
+ ModifiedBy?: string | null;
202
+ };
189
203
  }
190
204
 
191
205
  interface CampaignDetail {
@@ -260,7 +274,7 @@ interface CampaignDetail {
260
274
  Keyword?: string;
261
275
  CustomCaption?: string;
262
276
  CustomFacebookMessage?: string;
263
- Extra?: any;
277
+ Extra?: unknown;
264
278
  InterfaceDisplay?: string;
265
279
  PointType?: string;
266
280
  AgencyEmail?: string;
@@ -273,15 +287,18 @@ interface CampaignDetail {
273
287
  Qty?: number;
274
288
  FullImageUrl?: string;
275
289
  SubCampaignStyles?: SubCampaignStyle;
276
- Related?: any[];
290
+ Related?: unknown[];
277
291
  AgencyLogoUrl?: string;
278
292
  IsFavourite?: boolean;
279
293
  SubCampaigns?: SubCampaign[];
294
+ PointServices?: {
295
+ [unit: string]: PointUnit;
296
+ };
280
297
  }
281
298
  interface SubCampaign {
282
299
  CampaignId?: number;
283
- Type?: any;
284
- Size?: any;
300
+ Type?: unknown;
301
+ Size?: unknown;
285
302
  Quantity?: number;
286
303
  RedeemMostPerPerson?: number;
287
304
  ItemCountSold?: number;
@@ -333,8 +350,8 @@ interface Campaign {
333
350
  RedeemCount?: number;
334
351
  CurrentDate?: number;
335
352
  NextRedeemDate?: number;
336
- TracesJson?: any;
337
- Rating?: any;
353
+ TracesJson?: unknown;
354
+ Rating?: unknown;
338
355
  UserLevel?: number;
339
356
  UserVisibility?: number;
340
357
  PointPerUnit?: number;
@@ -359,24 +376,27 @@ interface Campaign {
359
376
  CategorySequence?: number;
360
377
  ParentCategoryId?: number;
361
378
  MasterCampaignId?: number;
362
- RankVote?: any;
379
+ RankVote?: unknown;
363
380
  Vote?: number;
364
381
  Like?: number;
365
382
  OtherPointPerUnit?: number;
366
383
  Website?: string;
367
384
  ItemCountSold?: number;
368
385
  RedeemMostPerCard?: number;
369
- RedeemCountPerCard?: any;
386
+ RedeemCountPerCard?: unknown;
370
387
  NextRedeemDatePerCard?: number;
371
388
  PriceSold?: number;
372
389
  LocationAgencyId?: number;
373
390
  SubscriptionPeriod?: number;
374
391
  SubscriptionTime?: number;
375
- PartialPoints?: any;
376
- SubCampaigns?: any;
377
- MinSubCampaignPricePerUnit?: any;
378
- MaxSubCampaignPricePerUnit?: any;
392
+ PartialPoints?: unknown;
393
+ SubCampaigns?: unknown;
394
+ MinSubCampaignPricePerUnit?: unknown;
395
+ MaxSubCampaignPricePerUnit?: unknown;
379
396
  CustomFacebookMessage?: string;
397
+ PointServices?: {
398
+ [unit: string]: PointUnit;
399
+ };
380
400
  }
381
401
 
382
402
  interface CartCountResponse {
@@ -699,6 +719,7 @@ interface ProfileResponse {
699
719
  NotificationMarketing?: number;
700
720
  LineMarketing?: number;
701
721
  updated_points?: UpdatedPoints;
722
+ usercode?: string;
702
723
  Token?: string;
703
724
  Jwt?: string;
704
725
  Info1?: string;
@@ -784,6 +805,10 @@ interface Purchase {
784
805
  Info5?: string;
785
806
  Detail?: string;
786
807
  ArrangedDate?: number;
808
+ PointServiceUnit?: string;
809
+ PointServiceAmount?: number;
810
+ PointServiceTranId?: string;
811
+ PointServiceRef?: string;
787
812
  }
788
813
 
789
814
  interface RegistrationResponse {
@@ -1643,6 +1668,7 @@ declare class CampaignApi extends BaseService {
1643
1668
  id: string;
1644
1669
  addressKey?: string;
1645
1670
  contactNumber?: string;
1671
+ pointUnit?: string;
1646
1672
  options?: {
1647
1673
  [key: string]: unknown;
1648
1674
  };
@@ -2742,4 +2768,4 @@ declare class BzbsService {
2742
2768
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string | "", baseBlobUrl: string);
2743
2769
  }
2744
2770
 
2745
- export { type Address, AddressApi, type ApiResponse, AuthenticateApi, type Badge, BadgeApi, BaseService, Blob, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, type ConsentVersion, type ConsentVersionValue, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Maintenance, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, RequestHelpApi, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
2771
+ export { type Address, AddressApi, type ApiResponse, AuthenticateApi, type Badge, BadgeApi, BaseService, Blob, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, CampaignApi, type CampaignDetail, type CartAccessResponse, CartApi, type CartCountResponse, type Category, CategoryApi, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, ConsentApi, type ConsentVersion, type ConsentVersionValue, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, type Maintenance, type Mission, type Notification, NotificationApi, type OtpResponse, type Picture, type Place, PlaceApi, type PlaceService, type PointLog, PointLogApi, type PointUnit, ProfileApi, type ProfileResponse, type Province, type Purchase, type RedeemResponse, RegistrationApi, type RegistrationResponse, RequestHelpApi, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, StampApi, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
package/dist/index.js CHANGED
@@ -855,7 +855,8 @@ var CampaignApi = class extends BaseService {
855
855
  `campaign/${params.id}/redeem`,
856
856
  __spreadValues({
857
857
  address_key: params.addressKey,
858
- contact_number: params.contactNumber
858
+ contact_number: params.contactNumber,
859
+ point_unit: params.pointUnit
859
860
  }, params.options),
860
861
  {
861
862
  headers: __spreadValues({