@plyaz/config 1.9.0 → 1.9.2

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.
@@ -0,0 +1,16 @@
1
+ import type { PayoutAccountCapabilities, UserTypeKycConfig } from '@plyaz/types';
2
+ import { ONBOARD_LINK_TYPE, type ProviderCapabilities, USER_TYPE } from '@plyaz/types';
3
+ export declare const providerCapabilities: ProviderCapabilities;
4
+ /**
5
+ * Default payout/account capabilities configuration for a provider.
6
+ * This object defines which features are supported at account level.
7
+ */
8
+ export declare const payoutAccountCapabilities: PayoutAccountCapabilities;
9
+ /**
10
+ * Mapping of user types to KYC configuration.
11
+ * - `kycRequired` determines if the user must go through KYC.
12
+ * - `entityType` defines the KYC entity (INDIVIDUAL | COMPANY), or null if not applicable.
13
+ */
14
+ export declare const USER_TYPE_KYC_MAPPING: Record<USER_TYPE, UserTypeKycConfig>;
15
+ export declare const stripeLinkTypeMap: Record<ONBOARD_LINK_TYPE, 'account_onboarding' | 'account_update'>;
16
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/payments/providers/stripe/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAEL,iBAAiB,EACjB,KAAK,oBAAoB,EACzB,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,eAAO,MAAM,oBAAoB,EAAE,oBA2BlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,yBAwCvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,SAAS,EAAE,iBAAiB,CAQtE,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,GAAG,gBAAgB,CAI9F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/payments/providers/stripe/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAMvD,eAAO,MAAM,YAAY,EAAE,kBA6T1B,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/payments/providers/stripe/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAMvD,eAAO,MAAM,YAAY,EAAE,kBAib1B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './constant';
2
2
  export * from './config';
3
+ export * from './capabilities';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/payments/providers/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/payments/providers/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PAYMENT_METHOD } from '@plyaz/types';
2
+ /** Generate a default map of all PAYMENTMETHODs to a value */
3
+ export declare function createDefaultPaymentMethodMap<T>(defaultValue: T): Record<PAYMENT_METHOD, T>;
4
+ //# sourceMappingURL=paymentMapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentMapping.d.ts","sourceRoot":"","sources":["../../../src/utils/mapping/paymentMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,8DAA8D;AAC9D,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,GAAG,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAQ3F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/config",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared configs and constants for @playz ecosystem.",
@@ -139,7 +139,7 @@
139
139
  "packageManager": "pnpm@10.11.0",
140
140
  "dependencies": {
141
141
  "@plyaz/devtools": "^1.9.4",
142
- "@plyaz/types": "^1.19.0",
142
+ "@plyaz/types": "^1.27.6",
143
143
  "globals": "^16.4.0",
144
144
  "viem": "^2.31.7"
145
145
  },