@zyacreatives/shared 2.2.83 → 2.2.84

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.
@@ -21,14 +21,14 @@ export declare const EXPERIENCE_LEVELS: {
21
21
  readonly YEAR_5_PLUS: "5+ years";
22
22
  };
23
23
  export declare const SELLER_STATUS: {
24
- ACTIVE: string;
25
- PENDING: string;
26
- SUSPENDED: string;
24
+ readonly ACTIVE: "ACTIVE";
25
+ readonly PENDING: "PENDING";
26
+ readonly SUSPENDED: "SUSPENDED";
27
27
  };
28
28
  export declare const PAYMENT_METHOD_STATUS: {
29
- VERIFIED: string;
30
- PENDING: string;
31
- REJECTED: string;
29
+ readonly VERIFIED: "VERIFIED";
30
+ readonly PENDING: "PENDING";
31
+ readonly REJECTED: "REJECTED";
32
32
  };
33
33
  export declare const ONBOARDING_PAGES: {
34
34
  readonly EMAIL_VERIFICATION: "EMAIL_VERIFICATION";
@@ -269,12 +269,12 @@ export declare const SIGNAL_STATUS: {
269
269
  readonly ARCHIVED: "ARCHIVED";
270
270
  };
271
271
  export declare const COUNTRY_OF_OPERATION: {
272
- NG: string;
273
- GB: string;
272
+ readonly NG: "NG";
273
+ readonly GB: "GB";
274
274
  };
275
275
  export declare const GATEWAY_PROVIDER: {
276
- PAYSTACK: string;
277
- STRIPE: string;
276
+ readonly PAYSTACK: "PAYSTACK";
277
+ readonly STRIPE: "STRIPE";
278
278
  };
279
279
  export type SignalInterestType = (typeof SIGNAL_INTEREST_TYPES)[keyof typeof SIGNAL_INTEREST_TYPES];
280
280
  export type SignalStatus = (typeof SIGNAL_STATUS)[keyof typeof SIGNAL_STATUS];
@@ -3,8 +3,8 @@ export declare const PayoutMethodEntitySchema: z.ZodObject<{
3
3
  id: z.ZodCUID2;
4
4
  sellerId: z.ZodCUID2;
5
5
  provider: z.ZodEnum<{
6
- PAYSTACK: string;
7
- STRIPE: string;
6
+ readonly PAYSTACK: "PAYSTACK";
7
+ readonly STRIPE: "STRIPE";
8
8
  }>;
9
9
  currency: z.ZodString;
10
10
  bankName: z.ZodString;
@@ -13,9 +13,9 @@ export declare const PayoutMethodEntitySchema: z.ZodObject<{
13
13
  externalBankId: z.ZodString;
14
14
  isDefault: z.ZodBoolean;
15
15
  status: z.ZodDefault<z.ZodEnum<{
16
- VERIFIED: string;
17
- PENDING: string;
18
- REJECTED: string;
16
+ readonly VERIFIED: "VERIFIED";
17
+ readonly PENDING: "PENDING";
18
+ readonly REJECTED: "REJECTED";
19
19
  }>>;
20
20
  createdAt: z.ZodCoercedDate<unknown>;
21
21
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -23,8 +23,8 @@ export declare const PayoutMethodEntitySchema: z.ZodObject<{
23
23
  export type PayoutMethodEntity = z.infer<typeof PayoutMethodEntitySchema>;
24
24
  export declare const CreatePayoutMethodEntitySchema: z.ZodObject<{
25
25
  provider: z.ZodEnum<{
26
- PAYSTACK: string;
27
- STRIPE: string;
26
+ readonly PAYSTACK: "PAYSTACK";
27
+ readonly STRIPE: "STRIPE";
28
28
  }>;
29
29
  bankName: z.ZodString;
30
30
  accountLast4: z.ZodString;
@@ -3,15 +3,15 @@ export declare const SellerEntitySchema: z.ZodObject<{
3
3
  id: z.ZodCUID2;
4
4
  businessName: z.ZodString;
5
5
  countryOfOperation: z.ZodEnum<{
6
- NG: string;
7
- GB: string;
6
+ readonly NG: "NG";
7
+ readonly GB: "GB";
8
8
  }>;
9
9
  stripeConnectId: z.ZodNullable<z.ZodString>;
10
10
  paystackSubaccountCode: z.ZodNullable<z.ZodString>;
11
11
  status: z.ZodDefault<z.ZodEnum<{
12
- ACTIVE: string;
13
- PENDING: string;
14
- SUSPENDED: string;
12
+ readonly ACTIVE: "ACTIVE";
13
+ readonly PENDING: "PENDING";
14
+ readonly SUSPENDED: "SUSPENDED";
15
15
  }>>;
16
16
  createdAt: z.ZodCoercedDate<unknown>;
17
17
  updatedAt: z.ZodCoercedDate<unknown>;
@@ -20,8 +20,8 @@ export type SellerEntity = z.infer<typeof SellerEntitySchema>;
20
20
  export declare const CreateSellerEntityInputSchema: z.ZodObject<{
21
21
  businessName: z.ZodString;
22
22
  countryOfOperation: z.ZodEnum<{
23
- NG: string;
24
- GB: string;
23
+ readonly NG: "NG";
24
+ readonly GB: "GB";
25
25
  }>;
26
26
  bankCode: z.ZodNullable<z.ZodString>;
27
27
  accountNumber: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.83",
3
+ "version": "2.2.84",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -28,13 +28,13 @@ export const SELLER_STATUS = {
28
28
  ACTIVE: "ACTIVE",
29
29
  PENDING: "PENDING",
30
30
  SUSPENDED: "SUSPENDED",
31
- };
31
+ } as const;
32
32
 
33
33
  export const PAYMENT_METHOD_STATUS = {
34
34
  VERIFIED: "VERIFIED",
35
35
  PENDING: "PENDING",
36
36
  REJECTED: "REJECTED",
37
- };
37
+ } as const;
38
38
 
39
39
  export const ONBOARDING_PAGES = {
40
40
  EMAIL_VERIFICATION: "EMAIL_VERIFICATION",
@@ -306,12 +306,12 @@ export const SIGNAL_STATUS = {
306
306
  export const COUNTRY_OF_OPERATION = {
307
307
  NG: "NG",
308
308
  GB: "GB",
309
- };
309
+ } as const;
310
310
 
311
311
  export const GATEWAY_PROVIDER = {
312
312
  PAYSTACK: "PAYSTACK",
313
313
  STRIPE: "STRIPE",
314
- };
314
+ } as const;
315
315
 
316
316
  export type SignalInterestType =
317
317
  (typeof SIGNAL_INTEREST_TYPES)[keyof typeof SIGNAL_INTEREST_TYPES];