@floristcloud/api-lib 1.2.188 → 1.2.189
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/build/schemas/company-legal-profile/company-legal-profile-integration-link.schema.js +2 -1
- package/build/schemas/company-legal-profile/save-company-legal-profile-integration-link-request.schema.js +2 -1
- package/package.json +1 -1
- package/schemas/company-legal-profile/company-legal-profile-integration-link.schema.ts +2 -1
- package/schemas/company-legal-profile/save-company-legal-profile-integration-link-request.schema.ts +2 -1
package/build/schemas/company-legal-profile/company-legal-profile-integration-link.schema.js
CHANGED
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CompanyLegalProfileIntegrationLinkSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
5
|
+
// Идентификаторы МойСклада — 8-4-4-4-12, но не RFC 9562 (вариант `0`, например `…-0a80-…`): z.uuid() их отклоняет.
|
|
6
|
+
exports.CompanyLegalProfileIntegrationLinkSchema = zod_1.z.object({ profileUUID: zod_1.z.uuid(), externalId: zod_1.z.guid() });
|
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SaveCompanyLegalProfileIntegrationLinkRequestSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
5
|
+
// Идентификаторы МойСклада — 8-4-4-4-12, но не RFC 9562 (вариант `0`, например `…-0a80-…`): z.uuid() их отклоняет.
|
|
6
|
+
exports.SaveCompanyLegalProfileIntegrationLinkRequestSchema = zod_1.z.object({ profileUUID: zod_1.z.uuid(), externalId: zod_1.z.guid().nullable() });
|
package/package.json
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
// Идентификаторы МойСклада — 8-4-4-4-12, но не RFC 9562 (вариант `0`, например `…-0a80-…`): z.uuid() их отклоняет.
|
|
3
|
+
export const CompanyLegalProfileIntegrationLinkSchema = z.object({ profileUUID: z.uuid(), externalId: z.guid() });
|
package/schemas/company-legal-profile/save-company-legal-profile-integration-link-request.schema.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
// Идентификаторы МойСклада — 8-4-4-4-12, но не RFC 9562 (вариант `0`, например `…-0a80-…`): z.uuid() их отклоняет.
|
|
3
|
+
export const SaveCompanyLegalProfileIntegrationLinkRequestSchema = z.object({ profileUUID: z.uuid(), externalId: z.guid().nullable() });
|