@bzbs/react-api-client 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/dist/index.d.mts +243 -243
  2. package/dist/index.d.ts +243 -243
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -840,6 +840,248 @@ interface CartAccessResponse {
840
840
  };
841
841
  }
842
842
 
843
+ interface Address {
844
+ active?: boolean;
845
+ isDefault?: boolean;
846
+ isDefaultTax?: boolean;
847
+ createDate?: number;
848
+ modifyDate?: number;
849
+ addressName?: string;
850
+ title?: string;
851
+ firstName?: string;
852
+ lastName?: string;
853
+ name?: string;
854
+ companyName?: string;
855
+ contactNumber?: string;
856
+ homeContactNumber?: string;
857
+ alternateContactNumber?: string;
858
+ email?: string;
859
+ idCard?: any;
860
+ type?: any;
861
+ address?: any;
862
+ village?: string;
863
+ building?: any;
864
+ number?: any;
865
+ moo?: any;
866
+ room?: any;
867
+ floor?: any;
868
+ soi?: string;
869
+ city?: string;
870
+ road?: string;
871
+ subDistrictCode?: number;
872
+ subDistrictName?: string;
873
+ districtCode?: number;
874
+ districtName?: string;
875
+ provinceCode?: number;
876
+ provinceName?: string;
877
+ countryId?: number;
878
+ countryCode?: number;
879
+ countryName?: string;
880
+ zipcode?: any;
881
+ remark?: any;
882
+ landmark?: any;
883
+ latitude?: any;
884
+ longitude?: any;
885
+ isTax?: boolean;
886
+ taxName?: string;
887
+ taxId?: any;
888
+ taxAddressName?: string;
889
+ taxNumber?: string;
890
+ taxSoi?: any;
891
+ taxSubDistrictCode?: number;
892
+ taxSubDistrictName?: string;
893
+ taxDistrictCode?: number;
894
+ taxDistrictName?: string;
895
+ taxProvinceCode?: number;
896
+ taxProvinceName?: string;
897
+ taxZipcode?: any;
898
+ taxDetail?: any;
899
+ personType?: string;
900
+ branchName?: string;
901
+ blockNumber?: any;
902
+ house?: any;
903
+ street?: string;
904
+ ward?: any;
905
+ greaterArea?: any;
906
+ state?: any;
907
+ customInfo1?: any;
908
+ customInfo2?: any;
909
+ customInfo3?: any;
910
+ customInfo4?: any;
911
+ customInfo5?: any;
912
+ extra?: any;
913
+ partitionKey?: string;
914
+ rowKey?: string;
915
+ timestamp?: number;
916
+ eTag?: string;
917
+ }
918
+
919
+ interface ZipCode {
920
+ cityId?: string;
921
+ subDistrictCode?: string;
922
+ subDistrictName?: string;
923
+ subDistrictNameEN?: string;
924
+ zipCode?: string;
925
+ districtCode?: string;
926
+ districtName?: string;
927
+ districtNameEN?: string;
928
+ provinceCode?: string;
929
+ provinceName?: string;
930
+ provinceNameEN?: string;
931
+ active?: boolean;
932
+ createDate?: number;
933
+ createBy?: string;
934
+ modifyDate?: number;
935
+ modifyBy?: string;
936
+ zone?: string;
937
+ }
938
+
939
+ interface Stamp {
940
+ amount?: number;
941
+ agencyId?: number;
942
+ cardId?: string;
943
+ issuer?: string;
944
+ stampId?: string;
945
+ imageUrl?: string;
946
+ owner?: string;
947
+ timestamp?: number;
948
+ active?: boolean;
949
+ name?: string;
950
+ description?: string;
951
+ stampImageUrl?: string;
952
+ maxQuantity?: number;
953
+ currentQuantity?: number;
954
+ pricePerStamp?: number;
955
+ codeExpireIn?: number;
956
+ stampRawScore?: number;
957
+ stampScore?: number;
958
+ stampSpecialScore?: number;
959
+ }
960
+
961
+ interface StampProfileResponse {
962
+ id?: string;
963
+ agencyId?: number;
964
+ cardId?: string;
965
+ name?: string;
966
+ description?: string;
967
+ imageUrl?: string;
968
+ backgroundUrl?: string;
969
+ maxQuantity?: number;
970
+ currentQuantity?: number;
971
+ expireDate?: number;
972
+ pricePerStamp?: number;
973
+ otherPromotions?: any;
974
+ otherStamps?: Stamp[];
975
+ campaigns?: StampCampaign[];
976
+ history?: StampHistory[];
977
+ }
978
+ interface StampCampaign {
979
+ id?: number;
980
+ imgUrl?: string;
981
+ qty?: number;
982
+ }
983
+ interface StampHistory {
984
+ amount?: number;
985
+ terminalId?: string;
986
+ branchId?: string;
987
+ branchName?: string;
988
+ brandId?: string;
989
+ customerId?: string;
990
+ customerName?: any;
991
+ campaignId?: any;
992
+ description?: string;
993
+ issuer?: string;
994
+ issuerName?: string;
995
+ imageUrl?: string;
996
+ merchant?: string;
997
+ merchantName?: string;
998
+ status?: number;
999
+ timestamp?: number;
1000
+ type?: string;
1001
+ stampCount?: number;
1002
+ createDate?: number;
1003
+ name?: string;
1004
+ backgroundUrl?: string;
1005
+ }
1006
+
1007
+ interface CreateStampResponse {
1008
+ success?: boolean;
1009
+ balance?: number;
1010
+ cardId?: string;
1011
+ userId?: string;
1012
+ imei?: string;
1013
+ appId?: string;
1014
+ issuer?: string;
1015
+ stampId?: string;
1016
+ sponsorId?: number;
1017
+ }
1018
+
1019
+ interface RequestHelpCode {
1020
+ code?: string;
1021
+ }
1022
+
1023
+ interface ChatMessage {
1024
+ userId?: string;
1025
+ name?: string;
1026
+ message?: string;
1027
+ placeId?: any;
1028
+ placeName?: any;
1029
+ imageUrl?: any;
1030
+ rating?: any;
1031
+ postId?: any;
1032
+ width?: number;
1033
+ height?: number;
1034
+ photoId?: any;
1035
+ type?: string;
1036
+ agencyId?: any;
1037
+ agencyName?: any;
1038
+ likes?: number;
1039
+ isLiked?: boolean;
1040
+ isApproved?: boolean;
1041
+ isReply?: boolean;
1042
+ sticker?: any;
1043
+ commentCount?: number;
1044
+ latestCommentDate?: any;
1045
+ latestCommentBy?: any;
1046
+ latestAdminCommentDate?: any;
1047
+ latestAdminGroupId?: any;
1048
+ latestAdminCommentBy?: any;
1049
+ subject?: any;
1050
+ isRead?: boolean;
1051
+ isHidden?: boolean;
1052
+ readCount?: number;
1053
+ unReadCount?: number;
1054
+ hiddenCount?: number;
1055
+ createdTime?: number;
1056
+ buzzKey?: string;
1057
+ appId?: string;
1058
+ os?: any;
1059
+ locationAgencyId?: any;
1060
+ campaignId?: any;
1061
+ lineChannelId?: any;
1062
+ lineChatRoomId?: any;
1063
+ lineUserId?: any;
1064
+ lineProfileDisplayName?: any;
1065
+ lineProfilePictureUrl?: any;
1066
+ lineChatRepliedRoomAdminGroupId?: any;
1067
+ lineChatRepliedRoomAdminId?: any;
1068
+ lineChatRepliedRoomPartitionKey?: any;
1069
+ lineChatRepliedRoomRowKey?: any;
1070
+ lineChatMessagePartitionKey?: any;
1071
+ lineChatMessageRowKey?: any;
1072
+ lineChatMessageEventTimestamp?: any;
1073
+ lineChatMessageUtcDate?: any;
1074
+ lineChatMessageJson?: any;
1075
+ partitionKey?: string;
1076
+ rowKey?: string;
1077
+ timestamp?: number;
1078
+ eTag?: string;
1079
+ }
1080
+
1081
+ interface LikeForumResponse {
1082
+ result?: boolean;
1083
+ }
1084
+
843
1085
  declare class AuthenticateApi extends BaseService {
844
1086
  constructor(client: AxiosInstance, baseUrl: string);
845
1087
  /**
@@ -1914,102 +2156,6 @@ declare class RegistrationApi extends BaseService {
1914
2156
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RegistrationResponse>>;
1915
2157
  }
1916
2158
 
1917
- interface ZipCode {
1918
- cityId?: string;
1919
- subDistrictCode?: string;
1920
- subDistrictName?: string;
1921
- subDistrictNameEN?: string;
1922
- zipCode?: string;
1923
- districtCode?: string;
1924
- districtName?: string;
1925
- districtNameEN?: string;
1926
- provinceCode?: string;
1927
- provinceName?: string;
1928
- provinceNameEN?: string;
1929
- active?: boolean;
1930
- createDate?: number;
1931
- createBy?: string;
1932
- modifyDate?: number;
1933
- modifyBy?: string;
1934
- zone?: string;
1935
- }
1936
-
1937
- interface Address {
1938
- active?: boolean;
1939
- isDefault?: boolean;
1940
- isDefaultTax?: boolean;
1941
- createDate?: number;
1942
- modifyDate?: number;
1943
- addressName?: string;
1944
- title?: string;
1945
- firstName?: string;
1946
- lastName?: string;
1947
- name?: string;
1948
- companyName?: string;
1949
- contactNumber?: string;
1950
- homeContactNumber?: string;
1951
- alternateContactNumber?: string;
1952
- email?: string;
1953
- idCard?: any;
1954
- type?: any;
1955
- address?: any;
1956
- village?: string;
1957
- building?: any;
1958
- number?: any;
1959
- moo?: any;
1960
- room?: any;
1961
- floor?: any;
1962
- soi?: string;
1963
- city?: string;
1964
- road?: string;
1965
- subDistrictCode?: number;
1966
- subDistrictName?: string;
1967
- districtCode?: number;
1968
- districtName?: string;
1969
- provinceCode?: number;
1970
- provinceName?: string;
1971
- countryId?: number;
1972
- countryCode?: number;
1973
- countryName?: string;
1974
- zipcode?: any;
1975
- remark?: any;
1976
- landmark?: any;
1977
- latitude?: any;
1978
- longitude?: any;
1979
- isTax?: boolean;
1980
- taxName?: string;
1981
- taxId?: any;
1982
- taxAddressName?: string;
1983
- taxNumber?: string;
1984
- taxSoi?: any;
1985
- taxSubDistrictCode?: number;
1986
- taxSubDistrictName?: string;
1987
- taxDistrictCode?: number;
1988
- taxDistrictName?: string;
1989
- taxProvinceCode?: number;
1990
- taxProvinceName?: string;
1991
- taxZipcode?: any;
1992
- taxDetail?: any;
1993
- personType?: string;
1994
- branchName?: string;
1995
- blockNumber?: any;
1996
- house?: any;
1997
- street?: string;
1998
- ward?: any;
1999
- greaterArea?: any;
2000
- state?: any;
2001
- customInfo1?: any;
2002
- customInfo2?: any;
2003
- customInfo3?: any;
2004
- customInfo4?: any;
2005
- customInfo5?: any;
2006
- extra?: any;
2007
- partitionKey?: string;
2008
- rowKey?: string;
2009
- timestamp?: number;
2010
- eTag?: string;
2011
- }
2012
-
2013
2159
  declare class AddressApi extends BaseService {
2014
2160
  constructor(client: AxiosInstance, baseUrl: string);
2015
2161
  /**
@@ -2147,86 +2293,6 @@ declare class AddressApi extends BaseService {
2147
2293
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2148
2294
  }
2149
2295
 
2150
- interface CreateStampResponse {
2151
- success?: boolean;
2152
- balance?: number;
2153
- cardId?: string;
2154
- userId?: string;
2155
- imei?: string;
2156
- appId?: string;
2157
- issuer?: string;
2158
- stampId?: string;
2159
- sponsorId?: number;
2160
- }
2161
-
2162
- interface Stamp {
2163
- amount?: number;
2164
- agencyId?: number;
2165
- cardId?: string;
2166
- issuer?: string;
2167
- stampId?: string;
2168
- imageUrl?: string;
2169
- owner?: string;
2170
- timestamp?: number;
2171
- active?: boolean;
2172
- name?: string;
2173
- description?: string;
2174
- stampImageUrl?: string;
2175
- maxQuantity?: number;
2176
- currentQuantity?: number;
2177
- pricePerStamp?: number;
2178
- codeExpireIn?: number;
2179
- stampRawScore?: number;
2180
- stampScore?: number;
2181
- stampSpecialScore?: number;
2182
- }
2183
-
2184
- interface StampProfileResponse {
2185
- id?: string;
2186
- agencyId?: number;
2187
- cardId?: string;
2188
- name?: string;
2189
- description?: string;
2190
- imageUrl?: string;
2191
- backgroundUrl?: string;
2192
- maxQuantity?: number;
2193
- currentQuantity?: number;
2194
- expireDate?: number;
2195
- pricePerStamp?: number;
2196
- otherPromotions?: any;
2197
- otherStamps?: Stamp[];
2198
- campaigns?: StampCampaign[];
2199
- history?: StampHistory[];
2200
- }
2201
- interface StampCampaign {
2202
- id?: number;
2203
- imgUrl?: string;
2204
- qty?: number;
2205
- }
2206
- interface StampHistory {
2207
- amount?: number;
2208
- terminalId?: string;
2209
- branchId?: string;
2210
- branchName?: string;
2211
- brandId?: string;
2212
- customerId?: string;
2213
- customerName?: any;
2214
- campaignId?: any;
2215
- description?: string;
2216
- issuer?: string;
2217
- issuerName?: string;
2218
- imageUrl?: string;
2219
- merchant?: string;
2220
- merchantName?: string;
2221
- status?: number;
2222
- timestamp?: number;
2223
- type?: string;
2224
- stampCount?: number;
2225
- createDate?: number;
2226
- name?: string;
2227
- backgroundUrl?: string;
2228
- }
2229
-
2230
2296
  declare class StampApi extends BaseService {
2231
2297
  constructor(client: AxiosInstance, baseUrl: string);
2232
2298
  /**
@@ -2263,72 +2329,6 @@ declare class StampApi extends BaseService {
2263
2329
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<StampProfileResponse>>;
2264
2330
  }
2265
2331
 
2266
- interface RequestHelpCode {
2267
- code?: string;
2268
- }
2269
-
2270
- interface ChatMessage {
2271
- userId?: string;
2272
- name?: string;
2273
- message?: string;
2274
- placeId?: any;
2275
- placeName?: any;
2276
- imageUrl?: any;
2277
- rating?: any;
2278
- postId?: any;
2279
- width?: number;
2280
- height?: number;
2281
- photoId?: any;
2282
- type?: string;
2283
- agencyId?: any;
2284
- agencyName?: any;
2285
- likes?: number;
2286
- isLiked?: boolean;
2287
- isApproved?: boolean;
2288
- isReply?: boolean;
2289
- sticker?: any;
2290
- commentCount?: number;
2291
- latestCommentDate?: any;
2292
- latestCommentBy?: any;
2293
- latestAdminCommentDate?: any;
2294
- latestAdminGroupId?: any;
2295
- latestAdminCommentBy?: any;
2296
- subject?: any;
2297
- isRead?: boolean;
2298
- isHidden?: boolean;
2299
- readCount?: number;
2300
- unReadCount?: number;
2301
- hiddenCount?: number;
2302
- createdTime?: number;
2303
- buzzKey?: string;
2304
- appId?: string;
2305
- os?: any;
2306
- locationAgencyId?: any;
2307
- campaignId?: any;
2308
- lineChannelId?: any;
2309
- lineChatRoomId?: any;
2310
- lineUserId?: any;
2311
- lineProfileDisplayName?: any;
2312
- lineProfilePictureUrl?: any;
2313
- lineChatRepliedRoomAdminGroupId?: any;
2314
- lineChatRepliedRoomAdminId?: any;
2315
- lineChatRepliedRoomPartitionKey?: any;
2316
- lineChatRepliedRoomRowKey?: any;
2317
- lineChatMessagePartitionKey?: any;
2318
- lineChatMessageRowKey?: any;
2319
- lineChatMessageEventTimestamp?: any;
2320
- lineChatMessageUtcDate?: any;
2321
- lineChatMessageJson?: any;
2322
- partitionKey?: string;
2323
- rowKey?: string;
2324
- timestamp?: number;
2325
- eTag?: string;
2326
- }
2327
-
2328
- interface LikeForumResponse {
2329
- result?: boolean;
2330
- }
2331
-
2332
2332
  declare class ForumApi extends BaseService {
2333
2333
  constructor(client: AxiosInstance, baseUrl: string);
2334
2334
  /**
@@ -2445,4 +2445,4 @@ declare class BzbsService {
2445
2445
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
2446
2446
  }
2447
2447
 
2448
- export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartAccessResponse, type CartCountResponse, type Category, type ClientError, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version };
2448
+ export { type Address, type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartAccessResponse, type CartCountResponse, type Category, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, type Detail, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LikeForumResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
package/dist/index.d.ts CHANGED
@@ -840,6 +840,248 @@ interface CartAccessResponse {
840
840
  };
841
841
  }
842
842
 
843
+ interface Address {
844
+ active?: boolean;
845
+ isDefault?: boolean;
846
+ isDefaultTax?: boolean;
847
+ createDate?: number;
848
+ modifyDate?: number;
849
+ addressName?: string;
850
+ title?: string;
851
+ firstName?: string;
852
+ lastName?: string;
853
+ name?: string;
854
+ companyName?: string;
855
+ contactNumber?: string;
856
+ homeContactNumber?: string;
857
+ alternateContactNumber?: string;
858
+ email?: string;
859
+ idCard?: any;
860
+ type?: any;
861
+ address?: any;
862
+ village?: string;
863
+ building?: any;
864
+ number?: any;
865
+ moo?: any;
866
+ room?: any;
867
+ floor?: any;
868
+ soi?: string;
869
+ city?: string;
870
+ road?: string;
871
+ subDistrictCode?: number;
872
+ subDistrictName?: string;
873
+ districtCode?: number;
874
+ districtName?: string;
875
+ provinceCode?: number;
876
+ provinceName?: string;
877
+ countryId?: number;
878
+ countryCode?: number;
879
+ countryName?: string;
880
+ zipcode?: any;
881
+ remark?: any;
882
+ landmark?: any;
883
+ latitude?: any;
884
+ longitude?: any;
885
+ isTax?: boolean;
886
+ taxName?: string;
887
+ taxId?: any;
888
+ taxAddressName?: string;
889
+ taxNumber?: string;
890
+ taxSoi?: any;
891
+ taxSubDistrictCode?: number;
892
+ taxSubDistrictName?: string;
893
+ taxDistrictCode?: number;
894
+ taxDistrictName?: string;
895
+ taxProvinceCode?: number;
896
+ taxProvinceName?: string;
897
+ taxZipcode?: any;
898
+ taxDetail?: any;
899
+ personType?: string;
900
+ branchName?: string;
901
+ blockNumber?: any;
902
+ house?: any;
903
+ street?: string;
904
+ ward?: any;
905
+ greaterArea?: any;
906
+ state?: any;
907
+ customInfo1?: any;
908
+ customInfo2?: any;
909
+ customInfo3?: any;
910
+ customInfo4?: any;
911
+ customInfo5?: any;
912
+ extra?: any;
913
+ partitionKey?: string;
914
+ rowKey?: string;
915
+ timestamp?: number;
916
+ eTag?: string;
917
+ }
918
+
919
+ interface ZipCode {
920
+ cityId?: string;
921
+ subDistrictCode?: string;
922
+ subDistrictName?: string;
923
+ subDistrictNameEN?: string;
924
+ zipCode?: string;
925
+ districtCode?: string;
926
+ districtName?: string;
927
+ districtNameEN?: string;
928
+ provinceCode?: string;
929
+ provinceName?: string;
930
+ provinceNameEN?: string;
931
+ active?: boolean;
932
+ createDate?: number;
933
+ createBy?: string;
934
+ modifyDate?: number;
935
+ modifyBy?: string;
936
+ zone?: string;
937
+ }
938
+
939
+ interface Stamp {
940
+ amount?: number;
941
+ agencyId?: number;
942
+ cardId?: string;
943
+ issuer?: string;
944
+ stampId?: string;
945
+ imageUrl?: string;
946
+ owner?: string;
947
+ timestamp?: number;
948
+ active?: boolean;
949
+ name?: string;
950
+ description?: string;
951
+ stampImageUrl?: string;
952
+ maxQuantity?: number;
953
+ currentQuantity?: number;
954
+ pricePerStamp?: number;
955
+ codeExpireIn?: number;
956
+ stampRawScore?: number;
957
+ stampScore?: number;
958
+ stampSpecialScore?: number;
959
+ }
960
+
961
+ interface StampProfileResponse {
962
+ id?: string;
963
+ agencyId?: number;
964
+ cardId?: string;
965
+ name?: string;
966
+ description?: string;
967
+ imageUrl?: string;
968
+ backgroundUrl?: string;
969
+ maxQuantity?: number;
970
+ currentQuantity?: number;
971
+ expireDate?: number;
972
+ pricePerStamp?: number;
973
+ otherPromotions?: any;
974
+ otherStamps?: Stamp[];
975
+ campaigns?: StampCampaign[];
976
+ history?: StampHistory[];
977
+ }
978
+ interface StampCampaign {
979
+ id?: number;
980
+ imgUrl?: string;
981
+ qty?: number;
982
+ }
983
+ interface StampHistory {
984
+ amount?: number;
985
+ terminalId?: string;
986
+ branchId?: string;
987
+ branchName?: string;
988
+ brandId?: string;
989
+ customerId?: string;
990
+ customerName?: any;
991
+ campaignId?: any;
992
+ description?: string;
993
+ issuer?: string;
994
+ issuerName?: string;
995
+ imageUrl?: string;
996
+ merchant?: string;
997
+ merchantName?: string;
998
+ status?: number;
999
+ timestamp?: number;
1000
+ type?: string;
1001
+ stampCount?: number;
1002
+ createDate?: number;
1003
+ name?: string;
1004
+ backgroundUrl?: string;
1005
+ }
1006
+
1007
+ interface CreateStampResponse {
1008
+ success?: boolean;
1009
+ balance?: number;
1010
+ cardId?: string;
1011
+ userId?: string;
1012
+ imei?: string;
1013
+ appId?: string;
1014
+ issuer?: string;
1015
+ stampId?: string;
1016
+ sponsorId?: number;
1017
+ }
1018
+
1019
+ interface RequestHelpCode {
1020
+ code?: string;
1021
+ }
1022
+
1023
+ interface ChatMessage {
1024
+ userId?: string;
1025
+ name?: string;
1026
+ message?: string;
1027
+ placeId?: any;
1028
+ placeName?: any;
1029
+ imageUrl?: any;
1030
+ rating?: any;
1031
+ postId?: any;
1032
+ width?: number;
1033
+ height?: number;
1034
+ photoId?: any;
1035
+ type?: string;
1036
+ agencyId?: any;
1037
+ agencyName?: any;
1038
+ likes?: number;
1039
+ isLiked?: boolean;
1040
+ isApproved?: boolean;
1041
+ isReply?: boolean;
1042
+ sticker?: any;
1043
+ commentCount?: number;
1044
+ latestCommentDate?: any;
1045
+ latestCommentBy?: any;
1046
+ latestAdminCommentDate?: any;
1047
+ latestAdminGroupId?: any;
1048
+ latestAdminCommentBy?: any;
1049
+ subject?: any;
1050
+ isRead?: boolean;
1051
+ isHidden?: boolean;
1052
+ readCount?: number;
1053
+ unReadCount?: number;
1054
+ hiddenCount?: number;
1055
+ createdTime?: number;
1056
+ buzzKey?: string;
1057
+ appId?: string;
1058
+ os?: any;
1059
+ locationAgencyId?: any;
1060
+ campaignId?: any;
1061
+ lineChannelId?: any;
1062
+ lineChatRoomId?: any;
1063
+ lineUserId?: any;
1064
+ lineProfileDisplayName?: any;
1065
+ lineProfilePictureUrl?: any;
1066
+ lineChatRepliedRoomAdminGroupId?: any;
1067
+ lineChatRepliedRoomAdminId?: any;
1068
+ lineChatRepliedRoomPartitionKey?: any;
1069
+ lineChatRepliedRoomRowKey?: any;
1070
+ lineChatMessagePartitionKey?: any;
1071
+ lineChatMessageRowKey?: any;
1072
+ lineChatMessageEventTimestamp?: any;
1073
+ lineChatMessageUtcDate?: any;
1074
+ lineChatMessageJson?: any;
1075
+ partitionKey?: string;
1076
+ rowKey?: string;
1077
+ timestamp?: number;
1078
+ eTag?: string;
1079
+ }
1080
+
1081
+ interface LikeForumResponse {
1082
+ result?: boolean;
1083
+ }
1084
+
843
1085
  declare class AuthenticateApi extends BaseService {
844
1086
  constructor(client: AxiosInstance, baseUrl: string);
845
1087
  /**
@@ -1914,102 +2156,6 @@ declare class RegistrationApi extends BaseService {
1914
2156
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<RegistrationResponse>>;
1915
2157
  }
1916
2158
 
1917
- interface ZipCode {
1918
- cityId?: string;
1919
- subDistrictCode?: string;
1920
- subDistrictName?: string;
1921
- subDistrictNameEN?: string;
1922
- zipCode?: string;
1923
- districtCode?: string;
1924
- districtName?: string;
1925
- districtNameEN?: string;
1926
- provinceCode?: string;
1927
- provinceName?: string;
1928
- provinceNameEN?: string;
1929
- active?: boolean;
1930
- createDate?: number;
1931
- createBy?: string;
1932
- modifyDate?: number;
1933
- modifyBy?: string;
1934
- zone?: string;
1935
- }
1936
-
1937
- interface Address {
1938
- active?: boolean;
1939
- isDefault?: boolean;
1940
- isDefaultTax?: boolean;
1941
- createDate?: number;
1942
- modifyDate?: number;
1943
- addressName?: string;
1944
- title?: string;
1945
- firstName?: string;
1946
- lastName?: string;
1947
- name?: string;
1948
- companyName?: string;
1949
- contactNumber?: string;
1950
- homeContactNumber?: string;
1951
- alternateContactNumber?: string;
1952
- email?: string;
1953
- idCard?: any;
1954
- type?: any;
1955
- address?: any;
1956
- village?: string;
1957
- building?: any;
1958
- number?: any;
1959
- moo?: any;
1960
- room?: any;
1961
- floor?: any;
1962
- soi?: string;
1963
- city?: string;
1964
- road?: string;
1965
- subDistrictCode?: number;
1966
- subDistrictName?: string;
1967
- districtCode?: number;
1968
- districtName?: string;
1969
- provinceCode?: number;
1970
- provinceName?: string;
1971
- countryId?: number;
1972
- countryCode?: number;
1973
- countryName?: string;
1974
- zipcode?: any;
1975
- remark?: any;
1976
- landmark?: any;
1977
- latitude?: any;
1978
- longitude?: any;
1979
- isTax?: boolean;
1980
- taxName?: string;
1981
- taxId?: any;
1982
- taxAddressName?: string;
1983
- taxNumber?: string;
1984
- taxSoi?: any;
1985
- taxSubDistrictCode?: number;
1986
- taxSubDistrictName?: string;
1987
- taxDistrictCode?: number;
1988
- taxDistrictName?: string;
1989
- taxProvinceCode?: number;
1990
- taxProvinceName?: string;
1991
- taxZipcode?: any;
1992
- taxDetail?: any;
1993
- personType?: string;
1994
- branchName?: string;
1995
- blockNumber?: any;
1996
- house?: any;
1997
- street?: string;
1998
- ward?: any;
1999
- greaterArea?: any;
2000
- state?: any;
2001
- customInfo1?: any;
2002
- customInfo2?: any;
2003
- customInfo3?: any;
2004
- customInfo4?: any;
2005
- customInfo5?: any;
2006
- extra?: any;
2007
- partitionKey?: string;
2008
- rowKey?: string;
2009
- timestamp?: number;
2010
- eTag?: string;
2011
- }
2012
-
2013
2159
  declare class AddressApi extends BaseService {
2014
2160
  constructor(client: AxiosInstance, baseUrl: string);
2015
2161
  /**
@@ -2147,86 +2293,6 @@ declare class AddressApi extends BaseService {
2147
2293
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<any>>;
2148
2294
  }
2149
2295
 
2150
- interface CreateStampResponse {
2151
- success?: boolean;
2152
- balance?: number;
2153
- cardId?: string;
2154
- userId?: string;
2155
- imei?: string;
2156
- appId?: string;
2157
- issuer?: string;
2158
- stampId?: string;
2159
- sponsorId?: number;
2160
- }
2161
-
2162
- interface Stamp {
2163
- amount?: number;
2164
- agencyId?: number;
2165
- cardId?: string;
2166
- issuer?: string;
2167
- stampId?: string;
2168
- imageUrl?: string;
2169
- owner?: string;
2170
- timestamp?: number;
2171
- active?: boolean;
2172
- name?: string;
2173
- description?: string;
2174
- stampImageUrl?: string;
2175
- maxQuantity?: number;
2176
- currentQuantity?: number;
2177
- pricePerStamp?: number;
2178
- codeExpireIn?: number;
2179
- stampRawScore?: number;
2180
- stampScore?: number;
2181
- stampSpecialScore?: number;
2182
- }
2183
-
2184
- interface StampProfileResponse {
2185
- id?: string;
2186
- agencyId?: number;
2187
- cardId?: string;
2188
- name?: string;
2189
- description?: string;
2190
- imageUrl?: string;
2191
- backgroundUrl?: string;
2192
- maxQuantity?: number;
2193
- currentQuantity?: number;
2194
- expireDate?: number;
2195
- pricePerStamp?: number;
2196
- otherPromotions?: any;
2197
- otherStamps?: Stamp[];
2198
- campaigns?: StampCampaign[];
2199
- history?: StampHistory[];
2200
- }
2201
- interface StampCampaign {
2202
- id?: number;
2203
- imgUrl?: string;
2204
- qty?: number;
2205
- }
2206
- interface StampHistory {
2207
- amount?: number;
2208
- terminalId?: string;
2209
- branchId?: string;
2210
- branchName?: string;
2211
- brandId?: string;
2212
- customerId?: string;
2213
- customerName?: any;
2214
- campaignId?: any;
2215
- description?: string;
2216
- issuer?: string;
2217
- issuerName?: string;
2218
- imageUrl?: string;
2219
- merchant?: string;
2220
- merchantName?: string;
2221
- status?: number;
2222
- timestamp?: number;
2223
- type?: string;
2224
- stampCount?: number;
2225
- createDate?: number;
2226
- name?: string;
2227
- backgroundUrl?: string;
2228
- }
2229
-
2230
2296
  declare class StampApi extends BaseService {
2231
2297
  constructor(client: AxiosInstance, baseUrl: string);
2232
2298
  /**
@@ -2263,72 +2329,6 @@ declare class StampApi extends BaseService {
2263
2329
  }, requestOptions?: RequestOptions): Promise<ServiceResponse<StampProfileResponse>>;
2264
2330
  }
2265
2331
 
2266
- interface RequestHelpCode {
2267
- code?: string;
2268
- }
2269
-
2270
- interface ChatMessage {
2271
- userId?: string;
2272
- name?: string;
2273
- message?: string;
2274
- placeId?: any;
2275
- placeName?: any;
2276
- imageUrl?: any;
2277
- rating?: any;
2278
- postId?: any;
2279
- width?: number;
2280
- height?: number;
2281
- photoId?: any;
2282
- type?: string;
2283
- agencyId?: any;
2284
- agencyName?: any;
2285
- likes?: number;
2286
- isLiked?: boolean;
2287
- isApproved?: boolean;
2288
- isReply?: boolean;
2289
- sticker?: any;
2290
- commentCount?: number;
2291
- latestCommentDate?: any;
2292
- latestCommentBy?: any;
2293
- latestAdminCommentDate?: any;
2294
- latestAdminGroupId?: any;
2295
- latestAdminCommentBy?: any;
2296
- subject?: any;
2297
- isRead?: boolean;
2298
- isHidden?: boolean;
2299
- readCount?: number;
2300
- unReadCount?: number;
2301
- hiddenCount?: number;
2302
- createdTime?: number;
2303
- buzzKey?: string;
2304
- appId?: string;
2305
- os?: any;
2306
- locationAgencyId?: any;
2307
- campaignId?: any;
2308
- lineChannelId?: any;
2309
- lineChatRoomId?: any;
2310
- lineUserId?: any;
2311
- lineProfileDisplayName?: any;
2312
- lineProfilePictureUrl?: any;
2313
- lineChatRepliedRoomAdminGroupId?: any;
2314
- lineChatRepliedRoomAdminId?: any;
2315
- lineChatRepliedRoomPartitionKey?: any;
2316
- lineChatRepliedRoomRowKey?: any;
2317
- lineChatMessagePartitionKey?: any;
2318
- lineChatMessageRowKey?: any;
2319
- lineChatMessageEventTimestamp?: any;
2320
- lineChatMessageUtcDate?: any;
2321
- lineChatMessageJson?: any;
2322
- partitionKey?: string;
2323
- rowKey?: string;
2324
- timestamp?: number;
2325
- eTag?: string;
2326
- }
2327
-
2328
- interface LikeForumResponse {
2329
- result?: boolean;
2330
- }
2331
-
2332
2332
  declare class ForumApi extends BaseService {
2333
2333
  constructor(client: AxiosInstance, baseUrl: string);
2334
2334
  /**
@@ -2445,4 +2445,4 @@ declare class BzbsService {
2445
2445
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
2446
2446
  }
2447
2447
 
2448
- export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartAccessResponse, type CartCountResponse, type Category, type ClientError, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version };
2448
+ export { type Address, type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartAccessResponse, type CartCountResponse, type Category, type ChatMessage, type ClientError, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, type Detail, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LikeForumResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestHelpCode, type RequestOptions, type ResumeResponse, type ServerError, type ServiceResponse, type Stamp, type StampCampaign, type StampHistory, type StampProfileResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bzbs/react-api-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "React API Client for Buzzebees",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",