@applite/js-sdk 0.0.1 → 0.0.3

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/README.md CHANGED
@@ -1,137 +1,254 @@
1
1
  # @applite/js-sdk
2
2
 
3
- A lightweight JavaScript SDK for interacting with Applite UI customer APIs.
3
+ A comprehensive JavaScript/TypeScript SDK for interacting with the Applite Customer API. This library provides a structured, typed interface to manage application data, e-commerce operations, and service bookings.
4
+
5
+ > **Full Documentation**: For detailed API references and guides, visit [docs.appliteui.com/sdk](https://docs.appliteui.com/sdk).
4
6
 
5
7
  ## Installation
6
8
 
7
9
  ```bash
8
10
  pnpm add @applite/js-sdk
11
+ # or
12
+ npm install @applite/js-sdk
13
+ # or
14
+ yarn add @applite/js-sdk
9
15
  ```
10
16
 
11
- ## Usage
12
-
13
- Each method accepts a **single object** that always includes `appId` and `apiKey`, plus fields required by the specific route.
17
+ ## Quick Start
14
18
 
15
- ### Instantiate the client
19
+ Initialize the client with your API base URL (optional if using relative paths in a same-origin environment).
16
20
 
17
21
  ```ts
18
22
  import { AppliteUI } from "@applite/js-sdk";
19
23
 
20
24
  const client = new AppliteUI({
21
- baseUrl: "https://api.example.com", // optional, defaults to relative paths
25
+ baseUrl: "https://api.applite.com", // Optional: Defaults to relative path
22
26
  });
23
27
  ```
24
28
 
25
- ### List customers
29
+ ## Core Concepts
30
+
31
+ ### Authentication & Context
32
+
33
+ Every request requires two key parameters to identify the context and authorize the user:
34
+
35
+ - **`appId`**: The unique identifier of your application (e.g., used in URL paths).
36
+ - **`apiKey`**: The secret key used to authenticate requests.
37
+
38
+ ### Method Signature
39
+
40
+ All SDK methods accept a **single object** containing all parameters. This ensures better type safety and extensibility.
26
41
 
27
42
  ```ts
28
- await client.app.customer.list({
29
- appId: "app_123", // required for the URL path
30
- apiKey: "api_key_abc", // required for verification
31
- plateformType: ["STORE", "TRANSPORT"], // optional filter
43
+ // Example signature
44
+ await client.module.resource.action({
45
+ appId: "...",
46
+ apiKey: "...",
47
+ ...specificParams,
32
48
  });
33
49
  ```
34
50
 
35
- ### List a few recent customers
51
+ ## Architecture
52
+
53
+ The SDK is organized into three main modules:
54
+
55
+ 1. **App Module (`client.app`)**: Core application logic (Customers, Stats, Finance).
56
+ 2. **Store Module (`client.app.store`)**: E-commerce functionality (Products, Orders, Sellers).
57
+ 3. **Multi-Service Module (`client.app.multiService`)**: Service booking and appointments.
58
+
59
+ ---
60
+
61
+ ## App Management (`client.app`)
62
+
63
+ Manage your application's users and core settings.
64
+
65
+ ### Customers
66
+
67
+ Manage end-users of your application.
68
+
69
+ #### Authenticate / Register a Customer
70
+
71
+ Checks if a user exists; if not, creates a new one.
36
72
 
37
73
  ```ts
38
- await client.app.customer.listFew({
74
+ const user = await client.app.customer.auth({
39
75
  appId: "app_123",
40
- apiKey: "api_key_abc",
41
- plateformType: ["STORE"],
76
+ apiKey: "your_api_key",
77
+ fullname: "John Doe",
78
+ telephone: "+2250700000000",
79
+ email: "john@example.com", // Optional
80
+ plateform: "STORE", // Optional: "STORE", "MULTI_SERVICE", etc.
42
81
  });
43
82
  ```
44
83
 
45
- ### Authenticate or register a customer
84
+ #### Check Customer Existence
85
+
86
+ Verify if a phone number is already registered.
46
87
 
47
88
  ```ts
48
- await client.app.customer.auth({
89
+ const user = await client.app.customer.check({
49
90
  appId: "app_123",
50
- apiKey: "api_key_abc",
51
- fullname: "Ada Lovelace",
91
+ apiKey: "your_api_key",
52
92
  telephone: "+2250700000000",
53
- email: "ada@example.com", // optional
54
- plateform: "STORE", // optional
55
93
  });
56
94
  ```
57
95
 
58
- ### Check if a customer exists
96
+ #### List Customers
97
+
98
+ Retrieve a list of customers with optional filtering.
59
99
 
60
100
  ```ts
61
- await client.app.customer.check({
101
+ const customers = await client.app.customer.list({
62
102
  appId: "app_123",
63
- apiKey: "api_key_abc",
64
- telephone: "+2250700000000",
65
- plateform: "STORE", // optional
103
+ apiKey: "your_api_key",
104
+ plateformType: ["STORE"], // Optional filter
66
105
  });
67
106
  ```
68
107
 
69
- ### Get a customer by id
108
+ #### Get & Update Customer
109
+
110
+ Retrieve details or update profile information.
70
111
 
71
112
  ```ts
72
- await client.app.customer.get({
113
+ // Get details
114
+ const detail = await client.app.customer.get({
115
+ appId: "app_123",
116
+ apiKey: "your_api_key",
117
+ id: "customer_id",
118
+ });
119
+
120
+ // Update profile
121
+ await client.app.customer.update({
73
122
  appId: "app_123",
74
- apiKey: "api_key_abc",
75
- id: "customer_456",
123
+ apiKey: "your_api_key",
124
+ id: "customer_id",
125
+ fullname: "Jane Doe",
126
+ email: "jane@example.com",
76
127
  });
77
128
  ```
78
129
 
79
- ### Update a customer profile
130
+ ### Other App Resources
131
+
132
+ - **Stats**: `client.app.stats.create(...)`
133
+ - **Finance**: `client.app.finance.balance(...)`
134
+ - **Info**: `client.app.info.list(...)`
135
+
136
+ ---
137
+
138
+ ## E-Commerce (`client.app.store`)
139
+
140
+ Full-featured e-commerce management.
141
+
142
+ ### Products
143
+
144
+ Create and manage products.
80
145
 
81
146
  ```ts
82
- await client.app.customer.update({
147
+ // Create a product
148
+ await client.app.store.product.create({
149
+ appId: "app_123",
150
+ apiKey: "your_api_key",
151
+ name: "Premium T-Shirt",
152
+ price: 2500,
153
+ sellerId: "seller_123",
154
+ categoryId: "category_123",
155
+ variants: [], // Array of product variants
156
+ });
157
+
158
+ // List products
159
+ await client.app.store.product.list({
83
160
  appId: "app_123",
84
- apiKey: "api_key_abc",
85
- id: "customer_456",
86
- fullname: "New Name", // optional
87
- email: "new-email@example.com", // optional
88
- photoUrl: "https://cdn.example.com/avatar.png", // optional
89
- gender: "F", // optional, "M" | "F"
90
- dob: "1990-01-01", // optional
91
- country: "CI", // optional
161
+ apiKey: "your_api_key",
92
162
  });
93
163
  ```
94
164
 
95
- ### Work with other app modules
165
+ ### Orders
96
166
 
97
- Additional helpers map to the remaining API routes using the same single-object parameter style:
167
+ Handle customer orders.
98
168
 
99
169
  ```ts
100
- // List all apps for the authenticated user
101
- await client.app.info.list({ apiKey: "api_key_abc" });
102
-
103
- // Create a product inside the store module
104
- await client.app.store.product.create({
170
+ // Create an order
171
+ await client.app.store.order.create({
105
172
  appId: "app_123",
106
- apiKey: "api_key_abc",
107
- name: "T-shirt",
108
- sellerId: "seller_1",
109
- categoryId: "cat_1",
110
- variants: [{ price: 20, quantity: 5, images: [], valueIds: [] }],
173
+ apiKey: "your_api_key",
174
+ items: [
175
+ { productId: "prod_1", quantity: 2 }
176
+ ],
177
+ customerId: "cust_1",
178
+ totalAmount: 5000,
179
+ shippingAddress: { ... }
111
180
  });
112
181
 
113
- // Record statistics or query balances
114
- await client.app.stats.create({
182
+ // List orders
183
+ await client.app.store.order.list({
115
184
  appId: "app_123",
116
- apiKey: "api_key_abc",
117
- type: "ORDERS",
118
- year: 2024,
119
- month: "JANUARY",
120
- amount: 10,
185
+ apiKey: "your_api_key",
121
186
  });
187
+ ```
188
+
189
+ ### Available Store Modules
190
+
191
+ - `badge`
192
+ - `category`
193
+ - `collection`
194
+ - `discount`
195
+ - `option`
196
+ - `seller`
197
+ - `shipping`
198
+ - `tag`
199
+ - `tax`
200
+
201
+ ---
202
+
203
+ ## Multi-Service (`client.app.multiService`)
122
204
 
123
- await client.app.finance.balance({ appId: "app_123", apiKey: "api_key_abc" });
205
+ Booking system for service-based applications.
124
206
 
125
- // Manage welcome screen items
126
- await client.app.welcomeItem.create({
207
+ ### Appointments
208
+
209
+ Manage bookings between customers and agents/companies.
210
+
211
+ ```ts
212
+ // Create an appointment
213
+ await client.app.multiService.appointment.create({
127
214
  appId: "app_123",
128
- apiKey: "api_key_abc",
129
- fileUrl: "https://cdn.example.com/banner.png",
130
- plateformType: "STORE",
215
+ apiKey: "your_api_key",
216
+ serviceId: "srv_123",
217
+ customerId: "cust_123",
218
+ date: "2024-12-25T10:00:00Z",
219
+ status: "PENDING",
131
220
  });
221
+
222
+ // Update status
223
+ await client.app.multiService.appointment.updateStatus({
224
+ appId: "app_123",
225
+ apiKey: "your_api_key",
226
+ id: "apt_123",
227
+ status: "CONFIRMED",
228
+ });
229
+ ```
230
+
231
+ ### Available Service Modules
232
+
233
+ - `company`: Manage service providers.
234
+ - `service`: Define services offered.
235
+ - `agent`: Manage individual staff members.
236
+
237
+ ---
238
+
239
+ ## TypeScript Support
240
+
241
+ The SDK is written in TypeScript and ships with full type definitions. You can import types directly to type your application logic.
242
+
243
+ ```ts
244
+ import {
245
+ AppCustomer,
246
+ CreateProductParams,
247
+ AppCustomerAuthParams,
248
+ } from "@applite/js-sdk";
132
249
  ```
133
250
 
134
251
  ## Scripts
135
252
 
136
- - `pnpm build` build CJS/ESM bundles with type declarations.
137
- - `pnpm test` run the build with declaration output to validate types.
253
+ - `pnpm build`: Build the SDK (ESM/CJS).
254
+ - `pnpm test`: Run type checks.
package/dist/index.d.mts CHANGED
@@ -1,3 +1,6 @@
1
+ import { CreateAppWithdraw, CreateAppSchema, CreateAgentSchema, UpdateAgentSchema, CreateAppointmentSchema, UpdateAppointmentStatusSchema, CreateCompanySchema, UpdateCompanySchema, CreateServiceSchema, UpdateServiceSchema } from '@applite/db';
2
+ import { z } from 'zod';
3
+
1
4
  interface HttpClientConfig {
2
5
  /**
3
6
  * Base URL used for every request. Defaults to an empty string so that
@@ -131,12 +134,9 @@ interface TransactionListParams extends AppScopedParams {
131
134
  interface TransactionGetParams extends AppScopedParams {
132
135
  id: string;
133
136
  }
134
- interface WithdrawParams extends AppScopedParams {
135
- amount: number;
136
- phoneNumber: string;
137
- password: string;
138
- paymentMethod: string;
139
- }
137
+ type WithdrawParams = z.infer<typeof CreateAppWithdraw> & {
138
+ appId: string;
139
+ };
140
140
  declare class AppFinanceModule {
141
141
  private readonly http;
142
142
  constructor(http: HttpClient);
@@ -146,11 +146,7 @@ declare class AppFinanceModule {
146
146
  withdraw(params: WithdrawParams): Promise<ApiSuccessResponse<unknown>>;
147
147
  }
148
148
 
149
- interface CreateAppParams extends ApiKeyParams {
150
- name: string;
151
- description?: string | null;
152
- planId: string;
153
- }
149
+ type CreateAppParams = z.infer<typeof CreateAppSchema>;
154
150
  interface AppSummary {
155
151
  id: string;
156
152
  name: string;
@@ -165,10 +161,6 @@ interface AppSummary {
165
161
  totalOrders: number;
166
162
  ownerId: string;
167
163
  balance: number;
168
- plan: {
169
- id: string;
170
- name: string;
171
- };
172
164
  }
173
165
  interface AppDetail extends AppSummary {
174
166
  callbackUrl?: string | null;
@@ -553,7 +545,6 @@ declare class StoreTaxModule {
553
545
  delete(params: GetTaxParams): Promise<ApiSuccessResponse<unknown>>;
554
546
  }
555
547
  declare class StoreModule {
556
- private readonly http;
557
548
  readonly badge: StoreBadgeModule;
558
549
  readonly category: StoreCategoryModule;
559
550
  readonly collection: StoreCollectionModule;
@@ -598,111 +589,109 @@ declare class AppWelcomeItemModule {
598
589
  delete(params: WelcomeItemGetParams): Promise<ApiSuccessResponse<unknown>>;
599
590
  }
600
591
 
601
- interface ListServicesParams extends AppScopedParams {
602
- companyId?: string | null;
603
- }
604
- interface ListCompaniesParams extends AppScopedParams {
605
- }
606
- interface CreateCompanyParams extends AppScopedParams {
607
- name: string;
608
- description?: string | null;
609
- email?: string | null;
610
- telephone?: string | null;
611
- address?: string | null;
612
- logo?: string | null;
613
- logoId?: string | null;
614
- isDefault?: boolean;
615
- }
616
- interface GetCompanyParams extends AppScopedParams {
592
+ type CreateAgentParams = z.infer<typeof CreateAgentSchema> & {
593
+ appId: string;
594
+ };
595
+ type EditAgentParams = z.infer<typeof UpdateAgentSchema> & {
596
+ appId: string;
617
597
  id: string;
618
- }
619
- interface UpdateCompanyParams extends CreateCompanyParams {
598
+ };
599
+ interface GetAgentParams extends AppScopedParams {
620
600
  id: string;
621
- }
622
- interface CreateServiceParams extends AppScopedParams {
623
- name: string;
624
- description?: string | null;
625
- icon?: string | null;
626
- iconId?: string | null;
627
- basePrice?: number | null;
628
- categories?: string[];
629
- fields?: any[];
630
601
  companyId?: string | null;
631
602
  }
632
- interface GetServiceParams extends AppScopedParams {
633
- id: string;
603
+ interface ListAgentsParams extends AppScopedParams {
634
604
  companyId?: string | null;
605
+ serviceId?: string;
606
+ isActive?: boolean;
635
607
  }
636
- interface UpdateServiceParams extends CreateServiceParams {
637
- id: string;
638
- }
639
- interface CreateAppointmentParams extends AppScopedParams {
640
- serviceId: string;
641
- agentId?: string | null;
642
- userId?: string;
643
- filledFields: Record<string, any>;
644
- totalPrice: number;
645
- date: Date | string;
646
- commune: string;
608
+ declare class MultiServiceAgentModule {
609
+ private readonly http;
610
+ constructor(http: HttpClient);
611
+ list(params: ListAgentsParams): Promise<ApiSuccessResponse<unknown>>;
612
+ create(params: CreateAgentParams): Promise<ApiSuccessResponse<unknown>>;
613
+ get(params: GetAgentParams): Promise<ApiSuccessResponse<unknown>>;
614
+ update(params: EditAgentParams): Promise<ApiSuccessResponse<unknown>>;
615
+ delete(params: GetAgentParams): Promise<ApiSuccessResponse<unknown>>;
647
616
  }
617
+
618
+ type CreateAppointmentParams = z.infer<typeof CreateAppointmentSchema> & {
619
+ appId: string;
620
+ };
621
+ type UpdateAppointmentStatusParams = z.infer<typeof UpdateAppointmentStatusSchema> & {
622
+ appId: string;
623
+ id: string;
624
+ companyId?: string | null;
625
+ };
648
626
  interface ListAppointmentsParams extends AppScopedParams {
649
627
  companyId?: string | null;
650
628
  serviceId?: string;
651
629
  status?: string;
652
630
  }
653
- interface UpdateAppointmentStatusParams extends AppScopedParams {
631
+ declare class MultiServiceAppointmentModule {
632
+ private readonly http;
633
+ constructor(http: HttpClient);
634
+ create(params: CreateAppointmentParams): Promise<ApiSuccessResponse<unknown>>;
635
+ list(params: ListAppointmentsParams): Promise<ApiSuccessResponse<unknown>>;
636
+ updateStatus(params: UpdateAppointmentStatusParams): Promise<ApiSuccessResponse<unknown>>;
637
+ }
638
+
639
+ type CreateCompanyParams = z.infer<typeof CreateCompanySchema> & {
640
+ appId: string;
641
+ };
642
+ type EditCompanyParams = z.infer<typeof UpdateCompanySchema> & {
643
+ appId: string;
644
+ id: string;
645
+ };
646
+ interface GetCompanyParams extends AppScopedParams {
654
647
  id: string;
655
- status: string;
656
- companyId?: string | null;
657
648
  }
658
- interface ListAgentsParams extends AppScopedParams {
659
- companyId?: string | null;
660
- serviceId?: string;
661
- isActive?: boolean;
649
+ interface ListCompaniesParams extends AppScopedParams {
662
650
  }
663
- interface CreateAgentParams extends AppScopedParams {
664
- companyId?: string | null;
665
- serviceIds?: string[];
666
- fullname: string;
667
- email?: string | null;
668
- telephone?: string | null;
669
- bio?: string | null;
670
- photo?: string | null;
671
- photoId?: string | null;
672
- isActive?: boolean;
651
+ declare class MultiServiceCompanyModule {
652
+ private readonly http;
653
+ constructor(http: HttpClient);
654
+ list(params: ListCompaniesParams): Promise<ApiSuccessResponse<unknown>>;
655
+ create(params: CreateCompanyParams): Promise<ApiSuccessResponse<unknown>>;
656
+ get(params: GetCompanyParams): Promise<ApiSuccessResponse<unknown>>;
657
+ update(params: EditCompanyParams): Promise<ApiSuccessResponse<unknown>>;
658
+ delete(params: GetCompanyParams): Promise<ApiSuccessResponse<unknown>>;
673
659
  }
674
- interface GetAgentParams extends AppScopedParams {
660
+
661
+ type CreateServiceParams = z.infer<typeof CreateServiceSchema> & {
662
+ appId: string;
663
+ };
664
+ type EditServiceParams = z.infer<typeof UpdateServiceSchema> & {
665
+ appId: string;
666
+ id: string;
667
+ };
668
+ interface GetServiceParams extends AppScopedParams {
675
669
  id: string;
676
670
  companyId?: string | null;
677
671
  }
678
- interface UpdateAgentParams extends CreateAgentParams {
679
- id: string;
672
+ interface ListServicesParams extends AppScopedParams {
673
+ companyId?: string | null;
680
674
  }
675
+ declare class MultiServiceServiceModule {
676
+ private readonly http;
677
+ constructor(http: HttpClient);
678
+ list(params: ListServicesParams): Promise<ApiSuccessResponse<unknown>>;
679
+ create(params: CreateServiceParams): Promise<ApiSuccessResponse<unknown>>;
680
+ get(params: GetServiceParams): Promise<ApiSuccessResponse<unknown>>;
681
+ update(params: EditServiceParams): Promise<ApiSuccessResponse<unknown>>;
682
+ delete(params: GetServiceParams): Promise<ApiSuccessResponse<unknown>>;
683
+ }
684
+
681
685
  declare class MultiServiceModule {
682
686
  private readonly http;
687
+ readonly company: MultiServiceCompanyModule;
688
+ readonly service: MultiServiceServiceModule;
689
+ readonly appointment: MultiServiceAppointmentModule;
690
+ readonly agent: MultiServiceAgentModule;
683
691
  constructor(http: HttpClient);
684
- listCompanies(params: ListCompaniesParams): Promise<ApiSuccessResponse<unknown>>;
685
- createCompany(params: CreateCompanyParams): Promise<ApiSuccessResponse<unknown>>;
686
- getCompany(params: GetCompanyParams): Promise<ApiSuccessResponse<unknown>>;
687
- updateCompany(params: UpdateCompanyParams): Promise<ApiSuccessResponse<unknown>>;
688
- deleteCompany(params: GetCompanyParams): Promise<ApiSuccessResponse<unknown>>;
689
- listServices(params: ListServicesParams): Promise<ApiSuccessResponse<unknown>>;
690
- createService(params: CreateServiceParams): Promise<ApiSuccessResponse<unknown>>;
691
- getService(params: GetServiceParams): Promise<ApiSuccessResponse<unknown>>;
692
- updateService(params: UpdateServiceParams): Promise<ApiSuccessResponse<unknown>>;
693
- deleteService(params: GetServiceParams): Promise<ApiSuccessResponse<unknown>>;
694
- createAppointment(params: CreateAppointmentParams): Promise<ApiSuccessResponse<unknown>>;
695
- listAppointments(params: ListAppointmentsParams): Promise<ApiSuccessResponse<unknown>>;
696
- updateAppointmentStatus(params: UpdateAppointmentStatusParams): Promise<ApiSuccessResponse<unknown>>;
697
- listAgents(params: ListAgentsParams): Promise<ApiSuccessResponse<unknown>>;
698
- createAgent(params: CreateAgentParams): Promise<ApiSuccessResponse<unknown>>;
699
- getAgent(params: GetAgentParams): Promise<ApiSuccessResponse<unknown>>;
700
- updateAgent(params: UpdateAgentParams): Promise<ApiSuccessResponse<unknown>>;
701
- deleteAgent(params: GetAgentParams): Promise<ApiSuccessResponse<unknown>>;
702
692
  }
703
693
 
704
694
  declare class AppModule {
705
- private readonly http;
706
695
  readonly customer: AppCustomerModule;
707
696
  readonly stats: AppStatsModule;
708
697
  readonly finance: AppFinanceModule;
@@ -721,4 +710,4 @@ declare class AppliteUI {
721
710
  constructor(config?: AppliteUIConfig);
722
711
  }
723
712
 
724
- export { type ApiErrorResponse, type ApiKeyParams, type ApiResponse, type ApiSuccessResponse, type AppCustomer, type AppCustomerAuthParams, type AppCustomerCheckParams, type AppCustomerDetail, type AppCustomerGetParams, type AppCustomerListFewItem, type AppCustomerListItem, type AppCustomerListParams, AppCustomerModule, type AppCustomerUpdateParams, type AppDetail, AppFinanceModule, AppInfoModule, AppModule, type AppScopedParams, AppStatsModule, type AppSummary, AppWelcomeItemModule, AppliteUI, type AppliteUIConfig, type BalanceParams, type CreateAgentParams, type CreateAppParams, type CreateAppointmentParams, type CreateBadgeParams, type CreateCategoryParams, type CreateCollectionParams, type CreateCompanyParams, type CreateDiscountParams, type CreateOptionParams, type CreateOrderParams, type CreateProductParams, type CreateSellerParams, type CreateServiceParams, type CreateShippingProfileParams, type CreateStatisticParams, type CreateTagParams, type CreateTaxParams, type CreateWelcomeItemParams, type DeleteBadgeParams, type EditBadgeParams, type EditCategoryParams, type EditCollectionParams, type EditDiscountParams, type EditOptionParams, type EditOrderParams, type EditProductParams, type EditSellerParams, type EditShippingProfileParams, type EditTagParams, type EditTaxParams, type EditWelcomeItemParams, type GetAgentParams, type GetAppBySlugParams, type GetCategoryParams, type GetCollectionParams, type GetCompanyParams, type GetDiscountParams, type GetOptionParams, type GetOrderParams, type GetProductParams, type GetSellerParams, type GetServiceParams, type GetShippingProfileParams, type GetStatisticParams, type GetTagParams, type GetTaxParams, HttpClient, type HttpClientConfig, type ListAgentsParams, type ListAppointmentsParams, type ListCompaniesParams, type ListServicesParams, MultiServiceModule, type PlateformType, type Sexe, StoreBadgeModule, StoreCategoryModule, StoreCollectionModule, StoreDiscountModule, StoreModule, StoreOptionModule, StoreOrderModule, StoreProductModule, StoreSellerModule, StoreShippingModule, StoreTagModule, StoreTaxModule, type TransactionGetParams, type TransactionListParams, type UpdateAgentParams, type UpdateAppointmentStatusParams, type UpdateCompanyParams, type UpdateServiceParams, type UpdateStatisticParams, type WelcomeItemGetParams, type WelcomeItemParams, type WithdrawParams, plateformTypes, sexes };
713
+ export { type ApiErrorResponse, type ApiKeyParams, type ApiResponse, type ApiSuccessResponse, type AppCustomer, type AppCustomerAuthParams, type AppCustomerCheckParams, type AppCustomerDetail, type AppCustomerGetParams, type AppCustomerListFewItem, type AppCustomerListItem, type AppCustomerListParams, AppCustomerModule, type AppCustomerUpdateParams, type AppDetail, AppFinanceModule, AppInfoModule, AppModule, type AppScopedParams, AppStatsModule, type AppSummary, AppWelcomeItemModule, AppliteUI, type AppliteUIConfig, type BalanceParams, type CreateAgentParams, type CreateAppParams, type CreateAppointmentParams, type CreateBadgeParams, type CreateCategoryParams, type CreateCollectionParams, type CreateCompanyParams, type CreateDiscountParams, type CreateOptionParams, type CreateOrderParams, type CreateProductParams, type CreateSellerParams, type CreateServiceParams, type CreateShippingProfileParams, type CreateStatisticParams, type CreateTagParams, type CreateTaxParams, type CreateWelcomeItemParams, type DeleteBadgeParams, type EditAgentParams, type EditBadgeParams, type EditCategoryParams, type EditCollectionParams, type EditCompanyParams, type EditDiscountParams, type EditOptionParams, type EditOrderParams, type EditProductParams, type EditSellerParams, type EditServiceParams, type EditShippingProfileParams, type EditTagParams, type EditTaxParams, type EditWelcomeItemParams, type GetAgentParams, type GetAppBySlugParams, type GetCategoryParams, type GetCollectionParams, type GetCompanyParams, type GetDiscountParams, type GetOptionParams, type GetOrderParams, type GetProductParams, type GetSellerParams, type GetServiceParams, type GetShippingProfileParams, type GetStatisticParams, type GetTagParams, type GetTaxParams, HttpClient, type HttpClientConfig, type ListAgentsParams, type ListAppointmentsParams, type ListCompaniesParams, type ListServicesParams, MultiServiceAgentModule, MultiServiceAppointmentModule, MultiServiceCompanyModule, MultiServiceModule, MultiServiceServiceModule, type PlateformType, type Sexe, StoreBadgeModule, StoreCategoryModule, StoreCollectionModule, StoreDiscountModule, StoreModule, StoreOptionModule, StoreOrderModule, StoreProductModule, StoreSellerModule, StoreShippingModule, StoreTagModule, StoreTaxModule, type TransactionGetParams, type TransactionListParams, type UpdateAppointmentStatusParams, type UpdateStatisticParams, type WelcomeItemGetParams, type WelcomeItemParams, type WithdrawParams, plateformTypes, sexes };