@retailcrm/embed-ui-v1-contexts 0.5.2-alpha.2 → 0.5.2-alpha.4

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/meta.json CHANGED
@@ -307,6 +307,16 @@
307
307
  },
308
308
  "readonly": false
309
309
  },
310
+ {
311
+ "name": "company.KPP",
312
+ "type": "string | null",
313
+ "description": {
314
+ "en-GB": "Counterparty's KPP",
315
+ "es-ES": "KPP del contraparte",
316
+ "ru-RU": "КПП контрагента"
317
+ },
318
+ "readonly": false
319
+ },
310
320
  {
311
321
  "name": "company.OKPO",
312
322
  "type": "string | null",
@@ -126,6 +126,11 @@ const schema = {
126
126
  defaults: () => null,
127
127
  readonly: false
128
128
  },
129
+ "company.KPP": {
130
+ accepts: predicates.oneOf(predicates.isString, predicates.isNull),
131
+ defaults: () => null,
132
+ readonly: false
133
+ },
129
134
  "company.OKPO": {
130
135
  accepts: predicates.oneOf(predicates.isString, predicates.isNull),
131
136
  defaults: () => null,
@@ -8,5 +8,5 @@ export declare const useContext: StoreDefinition<"order/card", Context<Schema>,
8
8
  schema: () => Schema;
9
9
  }, {
10
10
  initialize(): Promise<void>;
11
- set<F extends "customer.lastName" | "customer.firstName" | "customer.patronymic" | "customer.email" | "customer.phone" | "company.certificateNumber" | "company.certificateDate" | "company.OGRN" | "company.OGRNIP" | "company.name" | "company.legalName" | "company.legalAddress" | "company.INN" | "company.OKPO" | "company.BIK" | "company.bank" | "company.bankAddress" | "company.corrAccount" | "company.bankAccount" | "delivery.address">(field: F, value: TypeOf< Schema[F]>, onReject?: Maybe<RejectionHandler>): void;
11
+ set<F extends "customer.lastName" | "customer.firstName" | "customer.patronymic" | "customer.email" | "customer.phone" | "company.certificateNumber" | "company.certificateDate" | "company.OGRN" | "company.OGRNIP" | "company.name" | "company.legalName" | "company.legalAddress" | "company.INN" | "company.KPP" | "company.OKPO" | "company.BIK" | "company.bank" | "company.bankAddress" | "company.corrAccount" | "company.bankAccount" | "delivery.address">(field: F, value: TypeOf< Schema[F]>, onReject?: Maybe<RejectionHandler>): void;
12
12
  }>;
@@ -124,6 +124,11 @@ const schema = {
124
124
  defaults: () => null,
125
125
  readonly: false
126
126
  },
127
+ "company.KPP": {
128
+ accepts: oneOf(isString, isNull),
129
+ defaults: () => null,
130
+ readonly: false
131
+ },
127
132
  "company.OKPO": {
128
133
  accepts: oneOf(isString, isNull),
129
134
  defaults: () => null,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@retailcrm/embed-ui-v1-contexts",
3
3
  "description": "Reactive contexts for RetailCRM JS API",
4
4
  "type": "module",
5
- "version": "0.5.2-alpha.2",
5
+ "version": "0.5.2-alpha.4",
6
6
  "license": "MIT",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
8
8
  "repository": "git@github.com:retailcrm/embed-ui.git",
@@ -102,10 +102,10 @@
102
102
  "pinia": "^2.2"
103
103
  },
104
104
  "dependencies": {
105
- "@retailcrm/embed-ui-v1-types": "^0.5.2-alpha.2"
105
+ "@retailcrm/embed-ui-v1-types": "^0.5.2-alpha.4"
106
106
  },
107
107
  "devDependencies": {
108
- "@retailcrm/embed-ui-v1-testing": "^0.5.2-alpha.2",
108
+ "@retailcrm/embed-ui-v1-testing": "^0.5.2-alpha.4",
109
109
  "tsx": "^4.19.2",
110
110
  "typescript": "^5.6.3",
111
111
  "vite": "^5.4.11",
@@ -24,6 +24,7 @@ export type Schema = {
24
24
  'company.legalName': Field<string | null>;
25
25
  'company.legalAddress': Field<string | null>;
26
26
  'company.INN': Field<string | null>;
27
+ 'company.KPP': Field<string | null>;
27
28
  'company.OKPO': Field<string | null>;
28
29
  'company.BIK': Field<string | null>;
29
30
  'company.bank': Field<string | null>;