@bzbs/react-api-client 0.1.8 → 0.1.10

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
@@ -2470,4 +2470,4 @@ declare class BzbsService {
2470
2470
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
2471
2471
  }
2472
2472
 
2473
- 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 District, 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 Province, 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 SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
2473
+ export { type Address, AddressApi, AuthenticateApi, type Badge, BadgeApi, BaseService, 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, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, ForumApi, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, 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, 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
@@ -2470,4 +2470,4 @@ declare class BzbsService {
2470
2470
  constructor(client: AxiosInstance, baseUrl: string, baseLineUrl: string);
2471
2471
  }
2472
2472
 
2473
- 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 District, 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 Province, 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 SubDistrict, type SuccessResponse, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version, type ZipCode };
2473
+ export { type Address, AddressApi, AuthenticateApi, type Badge, BadgeApi, BaseService, 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, CouponApi, type CouponResponse, type CouponResponseData, type CreateStampResponse, type Dashboard, DashboardApi, type Detail, type District, type ErrorResponse, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, ForumApi, HistoryApi, type LikeForumResponse, LineApi, type LineAuthResponse, type LoginResponse, 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, 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
@@ -57,8 +57,26 @@ var __async = (__this, __arguments, generator) => {
57
57
  // src/index.ts
58
58
  var src_exports = {};
59
59
  __export(src_exports, {
60
+ AddressApi: () => AddressApi,
61
+ AuthenticateApi: () => AuthenticateApi,
62
+ BadgeApi: () => BadgeApi,
60
63
  BaseService: () => BaseService,
61
- BzbsService: () => BzbsService
64
+ BzbsService: () => BzbsService,
65
+ CampaignApi: () => CampaignApi,
66
+ CartApi: () => CartApi,
67
+ CategoryApi: () => CategoryApi,
68
+ ConsentApi: () => ConsentApi,
69
+ CouponApi: () => CouponApi,
70
+ DashboardApi: () => DashboardApi,
71
+ ForumApi: () => ForumApi,
72
+ HistoryApi: () => HistoryApi,
73
+ LineApi: () => LineApi,
74
+ NotificationApi: () => NotificationApi,
75
+ PlaceApi: () => PlaceApi,
76
+ PointLogApi: () => PointLogApi,
77
+ ProfileApi: () => ProfileApi,
78
+ RegistrationApi: () => RegistrationApi,
79
+ StampApi: () => StampApi
62
80
  });
63
81
  module.exports = __toCommonJS(src_exports);
64
82
 
@@ -1757,7 +1775,13 @@ var AddressApi = class extends BaseService {
1757
1775
  isDefault: params.isDefault,
1758
1776
  key: params.rowKey
1759
1777
  },
1760
- requestOptions
1778
+ {
1779
+ headers: __spreadValues({
1780
+ "Content-Type": "application/x-www-form-urlencoded"
1781
+ }, requestOptions == null ? void 0 : requestOptions.headers),
1782
+ data: requestOptions == null ? void 0 : requestOptions.data,
1783
+ params: requestOptions == null ? void 0 : requestOptions.params
1784
+ }
1761
1785
  );
1762
1786
  });
1763
1787
  }
@@ -1801,7 +1825,7 @@ var AddressApi = class extends BaseService {
1801
1825
  {
1802
1826
  key: params.rowKey,
1803
1827
  taxId: params.taxId,
1804
- isdefault: params.isDefault,
1828
+ isDefault: params.isDefault,
1805
1829
  personType: params.personType,
1806
1830
  title: params.title,
1807
1831
  firstname: params.firstName,
@@ -1826,7 +1850,13 @@ var AddressApi = class extends BaseService {
1826
1850
  subdistrict_name: params.subDistrictName,
1827
1851
  zipcode: params.zipCode
1828
1852
  },
1829
- requestOptions
1853
+ {
1854
+ headers: __spreadValues({
1855
+ "Content-Type": "application/x-www-form-urlencoded"
1856
+ }, requestOptions == null ? void 0 : requestOptions.headers),
1857
+ data: requestOptions == null ? void 0 : requestOptions.data,
1858
+ params: requestOptions == null ? void 0 : requestOptions.params
1859
+ }
1830
1860
  );
1831
1861
  });
1832
1862
  }
@@ -2065,7 +2095,25 @@ var BzbsService = class {
2065
2095
  };
2066
2096
  // Annotate the CommonJS export names for ESM import in node:
2067
2097
  0 && (module.exports = {
2098
+ AddressApi,
2099
+ AuthenticateApi,
2100
+ BadgeApi,
2068
2101
  BaseService,
2069
- BzbsService
2102
+ BzbsService,
2103
+ CampaignApi,
2104
+ CartApi,
2105
+ CategoryApi,
2106
+ ConsentApi,
2107
+ CouponApi,
2108
+ DashboardApi,
2109
+ ForumApi,
2110
+ HistoryApi,
2111
+ LineApi,
2112
+ NotificationApi,
2113
+ PlaceApi,
2114
+ PointLogApi,
2115
+ ProfileApi,
2116
+ RegistrationApi,
2117
+ StampApi
2070
2118
  });
2071
2119
  //# sourceMappingURL=index.js.map