@deliverart/sdk-js-company 0.1.2 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @deliverart/sdk-js-company
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 90a4505: update version pkg
8
+
3
9
  ## 0.1.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -133,7 +133,7 @@ declare const companyDetailsSchema: z.ZodObject<{
133
133
  sdi?: string | null | undefined;
134
134
  pec?: string | null | undefined;
135
135
  }>;
136
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
136
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  id: string;
139
139
  businessName: string;
@@ -189,7 +189,7 @@ declare const companyDetailsSchema: z.ZodObject<{
189
189
  sdi?: string | null | undefined;
190
190
  pec?: string | null | undefined;
191
191
  };
192
- adminBy: string;
192
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
193
193
  }>;
194
194
  type CompanyDetails = z.infer<typeof companyDetailsSchema>;
195
195
  declare const writableCompanySchema: z.ZodObject<Pick<{
@@ -260,7 +260,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
260
260
  sdi?: string | null | undefined;
261
261
  pec?: string | null | undefined;
262
262
  }>;
263
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
263
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
264
264
  }, "businessName" | "vat" | "taxCode" | "operationalAddress" | "billingAddress" | "billingData" | "adminBy">, "strip", z.ZodTypeAny, {
265
265
  businessName: string;
266
266
  vat: string;
@@ -310,7 +310,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
310
310
  sdi?: string | null | undefined;
311
311
  pec?: string | null | undefined;
312
312
  };
313
- adminBy: string;
313
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
314
314
  }>;
315
315
  declare const companiesQuerySchema: z.ZodObject<{
316
316
  businessName: z.ZodOptional<z.ZodString>;
@@ -415,7 +415,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
415
415
  sdi?: string | null | undefined;
416
416
  pec?: string | null | undefined;
417
417
  }>;
418
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
418
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  businessName: string;
421
421
  vat: string;
@@ -465,7 +465,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
465
465
  sdi?: string | null | undefined;
466
466
  pec?: string | null | undefined;
467
467
  };
468
- adminBy: string;
468
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
469
469
  }>;
470
470
  type CreateCompanyInput = z.input<typeof createCompanyInputSchema>;
471
471
  declare const createCompanyResponseSchema: z.ZodObject<{
@@ -536,7 +536,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
536
536
  sdi?: string | null | undefined;
537
537
  pec?: string | null | undefined;
538
538
  }>;
539
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
539
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
541
  id: string;
542
542
  businessName: string;
@@ -592,7 +592,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
592
592
  sdi?: string | null | undefined;
593
593
  pec?: string | null | undefined;
594
594
  };
595
- adminBy: string;
595
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
596
596
  }>;
597
597
  type CreateCompanyResponse = z.infer<typeof createCompanyResponseSchema>;
598
598
  declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInputSchema, typeof createCompanyResponseSchema> {
@@ -663,7 +663,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
663
663
  sdi?: string | null | undefined;
664
664
  pec?: string | null | undefined;
665
665
  }>;
666
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
666
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
667
667
  }, "strip", z.ZodTypeAny, {
668
668
  businessName: string;
669
669
  vat: string;
@@ -713,7 +713,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
713
713
  sdi?: string | null | undefined;
714
714
  pec?: string | null | undefined;
715
715
  };
716
- adminBy: string;
716
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
717
717
  }>;
718
718
  readonly outputSchema: z.ZodObject<{
719
719
  id: z.ZodString;
@@ -783,7 +783,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
783
783
  sdi?: string | null | undefined;
784
784
  pec?: string | null | undefined;
785
785
  }>;
786
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
786
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
787
787
  }, "strip", z.ZodTypeAny, {
788
788
  id: string;
789
789
  businessName: string;
@@ -839,7 +839,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
839
839
  sdi?: string | null | undefined;
840
840
  pec?: string | null | undefined;
841
841
  };
842
- adminBy: string;
842
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
843
843
  }>;
844
844
  readonly querySchema: undefined;
845
845
  readonly headersSchema: undefined;
@@ -1291,7 +1291,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
1291
1291
  sdi?: string | null | undefined;
1292
1292
  pec?: string | null | undefined;
1293
1293
  }>;
1294
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1294
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1295
1295
  }, "strip", z.ZodTypeAny, {
1296
1296
  id: string;
1297
1297
  businessName: string;
@@ -1347,7 +1347,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
1347
1347
  sdi?: string | null | undefined;
1348
1348
  pec?: string | null | undefined;
1349
1349
  };
1350
- adminBy: string;
1350
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1351
1351
  }>;
1352
1352
  type GetCompanyDetailsResponse = CompanyDetails;
1353
1353
  declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDetailsInputSchema, typeof getCompanyDetailsResponseSchema> {
@@ -1423,7 +1423,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
1423
1423
  sdi?: string | null | undefined;
1424
1424
  pec?: string | null | undefined;
1425
1425
  }>;
1426
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1426
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1427
1427
  }, "strip", z.ZodTypeAny, {
1428
1428
  id: string;
1429
1429
  businessName: string;
@@ -1479,7 +1479,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
1479
1479
  sdi?: string | null | undefined;
1480
1480
  pec?: string | null | undefined;
1481
1481
  };
1482
- adminBy: string;
1482
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1483
1483
  }>;
1484
1484
  readonly querySchema: undefined;
1485
1485
  readonly headersSchema: undefined;
@@ -1552,7 +1552,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
1552
1552
  sdi?: string | null | undefined;
1553
1553
  pec?: string | null | undefined;
1554
1554
  }>>;
1555
- adminBy: z.ZodOptional<z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>>;
1555
+ adminBy: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>>;
1556
1556
  }, "strip", z.ZodTypeAny, {
1557
1557
  businessName?: string | undefined;
1558
1558
  vat?: string | undefined;
@@ -1602,7 +1602,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
1602
1602
  sdi?: string | null | undefined;
1603
1603
  pec?: string | null | undefined;
1604
1604
  } | undefined;
1605
- adminBy?: string | undefined;
1605
+ adminBy?: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id"> | undefined;
1606
1606
  }>;
1607
1607
  type UpdateCompanyInput = z.input<typeof updateCompanyInputSchema>;
1608
1608
  declare const updateCompanyResponseSchema: z.ZodObject<{
@@ -1673,7 +1673,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
1673
1673
  sdi?: string | null | undefined;
1674
1674
  pec?: string | null | undefined;
1675
1675
  }>;
1676
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1676
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1677
1677
  }, "strip", z.ZodTypeAny, {
1678
1678
  id: string;
1679
1679
  businessName: string;
@@ -1729,7 +1729,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
1729
1729
  sdi?: string | null | undefined;
1730
1730
  pec?: string | null | undefined;
1731
1731
  };
1732
- adminBy: string;
1732
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1733
1733
  }>;
1734
1734
  type UpdateCompanyResponse = z.infer<typeof updateCompanyResponseSchema>;
1735
1735
  declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInputSchema, typeof updateCompanyResponseSchema> {
@@ -1800,7 +1800,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1800
1800
  sdi?: string | null | undefined;
1801
1801
  pec?: string | null | undefined;
1802
1802
  }>>;
1803
- adminBy: z.ZodOptional<z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>>;
1803
+ adminBy: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>>;
1804
1804
  }, "strip", z.ZodTypeAny, {
1805
1805
  businessName?: string | undefined;
1806
1806
  vat?: string | undefined;
@@ -1850,7 +1850,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1850
1850
  sdi?: string | null | undefined;
1851
1851
  pec?: string | null | undefined;
1852
1852
  } | undefined;
1853
- adminBy?: string | undefined;
1853
+ adminBy?: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id"> | undefined;
1854
1854
  }>;
1855
1855
  readonly outputSchema: z.ZodObject<{
1856
1856
  id: z.ZodString;
@@ -1920,7 +1920,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1920
1920
  sdi?: string | null | undefined;
1921
1921
  pec?: string | null | undefined;
1922
1922
  }>;
1923
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1923
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1924
1924
  }, "strip", z.ZodTypeAny, {
1925
1925
  id: string;
1926
1926
  businessName: string;
@@ -1976,7 +1976,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1976
1976
  sdi?: string | null | undefined;
1977
1977
  pec?: string | null | undefined;
1978
1978
  };
1979
- adminBy: string;
1979
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1980
1980
  }>;
1981
1981
  readonly querySchema: undefined;
1982
1982
  readonly headersSchema: undefined;
@@ -1985,7 +1985,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1985
1985
  getPath(): string;
1986
1986
  }
1987
1987
 
1988
- declare const companyIriSchema: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/companies/:id">, string>;
1988
+ declare const companyIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/companies/:id">>;
1989
1989
  type CompanyIri = z.infer<typeof companyIriSchema>;
1990
1990
 
1991
1991
  export { type CompaniesQueryParams, type Company, type CompanyDetails, type CompanyIri, CreateCompany, type CreateCompanyInput, type CreateCompanyResponse, DeleteCompany, GetCompanies, type GetCompaniesInput, type GetCompaniesQueryParams, type GetCompaniesResponse, GetCompanyDetails, type GetCompanyDetailsInput, type GetCompanyDetailsResponse, UpdateCompany, type UpdateCompanyInput, type UpdateCompanyResponse, companiesQuerySchema, companyDetailsSchema, companyIriSchema, companySchema, createCompanyInputSchema, createCompanyResponseSchema, deleteCompanyInputSchema, deleteCompanyResponseSchema, getCompaniesInputSchema, getCompaniesQuerySchema, getCompaniesResponseSchema, getCompanyDetailsInputSchema, getCompanyDetailsResponseSchema, updateCompanyInputSchema, updateCompanyResponseSchema, writableCompanySchema };
package/dist/index.d.ts CHANGED
@@ -133,7 +133,7 @@ declare const companyDetailsSchema: z.ZodObject<{
133
133
  sdi?: string | null | undefined;
134
134
  pec?: string | null | undefined;
135
135
  }>;
136
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
136
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  id: string;
139
139
  businessName: string;
@@ -189,7 +189,7 @@ declare const companyDetailsSchema: z.ZodObject<{
189
189
  sdi?: string | null | undefined;
190
190
  pec?: string | null | undefined;
191
191
  };
192
- adminBy: string;
192
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
193
193
  }>;
194
194
  type CompanyDetails = z.infer<typeof companyDetailsSchema>;
195
195
  declare const writableCompanySchema: z.ZodObject<Pick<{
@@ -260,7 +260,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
260
260
  sdi?: string | null | undefined;
261
261
  pec?: string | null | undefined;
262
262
  }>;
263
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
263
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
264
264
  }, "businessName" | "vat" | "taxCode" | "operationalAddress" | "billingAddress" | "billingData" | "adminBy">, "strip", z.ZodTypeAny, {
265
265
  businessName: string;
266
266
  vat: string;
@@ -310,7 +310,7 @@ declare const writableCompanySchema: z.ZodObject<Pick<{
310
310
  sdi?: string | null | undefined;
311
311
  pec?: string | null | undefined;
312
312
  };
313
- adminBy: string;
313
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
314
314
  }>;
315
315
  declare const companiesQuerySchema: z.ZodObject<{
316
316
  businessName: z.ZodOptional<z.ZodString>;
@@ -415,7 +415,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
415
415
  sdi?: string | null | undefined;
416
416
  pec?: string | null | undefined;
417
417
  }>;
418
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
418
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  businessName: string;
421
421
  vat: string;
@@ -465,7 +465,7 @@ declare const createCompanyInputSchema: z.ZodObject<{
465
465
  sdi?: string | null | undefined;
466
466
  pec?: string | null | undefined;
467
467
  };
468
- adminBy: string;
468
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
469
469
  }>;
470
470
  type CreateCompanyInput = z.input<typeof createCompanyInputSchema>;
471
471
  declare const createCompanyResponseSchema: z.ZodObject<{
@@ -536,7 +536,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
536
536
  sdi?: string | null | undefined;
537
537
  pec?: string | null | undefined;
538
538
  }>;
539
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
539
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
540
540
  }, "strip", z.ZodTypeAny, {
541
541
  id: string;
542
542
  businessName: string;
@@ -592,7 +592,7 @@ declare const createCompanyResponseSchema: z.ZodObject<{
592
592
  sdi?: string | null | undefined;
593
593
  pec?: string | null | undefined;
594
594
  };
595
- adminBy: string;
595
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
596
596
  }>;
597
597
  type CreateCompanyResponse = z.infer<typeof createCompanyResponseSchema>;
598
598
  declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInputSchema, typeof createCompanyResponseSchema> {
@@ -663,7 +663,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
663
663
  sdi?: string | null | undefined;
664
664
  pec?: string | null | undefined;
665
665
  }>;
666
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
666
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
667
667
  }, "strip", z.ZodTypeAny, {
668
668
  businessName: string;
669
669
  vat: string;
@@ -713,7 +713,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
713
713
  sdi?: string | null | undefined;
714
714
  pec?: string | null | undefined;
715
715
  };
716
- adminBy: string;
716
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
717
717
  }>;
718
718
  readonly outputSchema: z.ZodObject<{
719
719
  id: z.ZodString;
@@ -783,7 +783,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
783
783
  sdi?: string | null | undefined;
784
784
  pec?: string | null | undefined;
785
785
  }>;
786
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
786
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
787
787
  }, "strip", z.ZodTypeAny, {
788
788
  id: string;
789
789
  businessName: string;
@@ -839,7 +839,7 @@ declare class CreateCompany extends AbstractApiRequest<typeof createCompanyInput
839
839
  sdi?: string | null | undefined;
840
840
  pec?: string | null | undefined;
841
841
  };
842
- adminBy: string;
842
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
843
843
  }>;
844
844
  readonly querySchema: undefined;
845
845
  readonly headersSchema: undefined;
@@ -1291,7 +1291,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
1291
1291
  sdi?: string | null | undefined;
1292
1292
  pec?: string | null | undefined;
1293
1293
  }>;
1294
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1294
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1295
1295
  }, "strip", z.ZodTypeAny, {
1296
1296
  id: string;
1297
1297
  businessName: string;
@@ -1347,7 +1347,7 @@ declare const getCompanyDetailsResponseSchema: z.ZodObject<{
1347
1347
  sdi?: string | null | undefined;
1348
1348
  pec?: string | null | undefined;
1349
1349
  };
1350
- adminBy: string;
1350
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1351
1351
  }>;
1352
1352
  type GetCompanyDetailsResponse = CompanyDetails;
1353
1353
  declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDetailsInputSchema, typeof getCompanyDetailsResponseSchema> {
@@ -1423,7 +1423,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
1423
1423
  sdi?: string | null | undefined;
1424
1424
  pec?: string | null | undefined;
1425
1425
  }>;
1426
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1426
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1427
1427
  }, "strip", z.ZodTypeAny, {
1428
1428
  id: string;
1429
1429
  businessName: string;
@@ -1479,7 +1479,7 @@ declare class GetCompanyDetails extends AbstractApiRequest<typeof getCompanyDeta
1479
1479
  sdi?: string | null | undefined;
1480
1480
  pec?: string | null | undefined;
1481
1481
  };
1482
- adminBy: string;
1482
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1483
1483
  }>;
1484
1484
  readonly querySchema: undefined;
1485
1485
  readonly headersSchema: undefined;
@@ -1552,7 +1552,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
1552
1552
  sdi?: string | null | undefined;
1553
1553
  pec?: string | null | undefined;
1554
1554
  }>>;
1555
- adminBy: z.ZodOptional<z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>>;
1555
+ adminBy: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>>;
1556
1556
  }, "strip", z.ZodTypeAny, {
1557
1557
  businessName?: string | undefined;
1558
1558
  vat?: string | undefined;
@@ -1602,7 +1602,7 @@ declare const updateCompanyInputSchema: z.ZodObject<{
1602
1602
  sdi?: string | null | undefined;
1603
1603
  pec?: string | null | undefined;
1604
1604
  } | undefined;
1605
- adminBy?: string | undefined;
1605
+ adminBy?: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id"> | undefined;
1606
1606
  }>;
1607
1607
  type UpdateCompanyInput = z.input<typeof updateCompanyInputSchema>;
1608
1608
  declare const updateCompanyResponseSchema: z.ZodObject<{
@@ -1673,7 +1673,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
1673
1673
  sdi?: string | null | undefined;
1674
1674
  pec?: string | null | undefined;
1675
1675
  }>;
1676
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1676
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1677
1677
  }, "strip", z.ZodTypeAny, {
1678
1678
  id: string;
1679
1679
  businessName: string;
@@ -1729,7 +1729,7 @@ declare const updateCompanyResponseSchema: z.ZodObject<{
1729
1729
  sdi?: string | null | undefined;
1730
1730
  pec?: string | null | undefined;
1731
1731
  };
1732
- adminBy: string;
1732
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1733
1733
  }>;
1734
1734
  type UpdateCompanyResponse = z.infer<typeof updateCompanyResponseSchema>;
1735
1735
  declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInputSchema, typeof updateCompanyResponseSchema> {
@@ -1800,7 +1800,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1800
1800
  sdi?: string | null | undefined;
1801
1801
  pec?: string | null | undefined;
1802
1802
  }>>;
1803
- adminBy: z.ZodOptional<z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>>;
1803
+ adminBy: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>>;
1804
1804
  }, "strip", z.ZodTypeAny, {
1805
1805
  businessName?: string | undefined;
1806
1806
  vat?: string | undefined;
@@ -1850,7 +1850,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1850
1850
  sdi?: string | null | undefined;
1851
1851
  pec?: string | null | undefined;
1852
1852
  } | undefined;
1853
- adminBy?: string | undefined;
1853
+ adminBy?: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id"> | undefined;
1854
1854
  }>;
1855
1855
  readonly outputSchema: z.ZodObject<{
1856
1856
  id: z.ZodString;
@@ -1920,7 +1920,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1920
1920
  sdi?: string | null | undefined;
1921
1921
  pec?: string | null | undefined;
1922
1922
  }>;
1923
- adminBy: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/users/:id">, string>;
1923
+ adminBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">>;
1924
1924
  }, "strip", z.ZodTypeAny, {
1925
1925
  id: string;
1926
1926
  businessName: string;
@@ -1976,7 +1976,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1976
1976
  sdi?: string | null | undefined;
1977
1977
  pec?: string | null | undefined;
1978
1978
  };
1979
- adminBy: string;
1979
+ adminBy: string | _deliverart_sdk_js_global_types.IriObject<"/users/:id">;
1980
1980
  }>;
1981
1981
  readonly querySchema: undefined;
1982
1982
  readonly headersSchema: undefined;
@@ -1985,7 +1985,7 @@ declare class UpdateCompany extends AbstractApiRequest<typeof updateCompanyInput
1985
1985
  getPath(): string;
1986
1986
  }
1987
1987
 
1988
- declare const companyIriSchema: z.ZodEffects<z.ZodString, _deliverart_sdk_js_global_types.IriObject<"/companies/:id">, string>;
1988
+ declare const companyIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/companies/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/companies/:id">>;
1989
1989
  type CompanyIri = z.infer<typeof companyIriSchema>;
1990
1990
 
1991
1991
  export { type CompaniesQueryParams, type Company, type CompanyDetails, type CompanyIri, CreateCompany, type CreateCompanyInput, type CreateCompanyResponse, DeleteCompany, GetCompanies, type GetCompaniesInput, type GetCompaniesQueryParams, type GetCompaniesResponse, GetCompanyDetails, type GetCompanyDetailsInput, type GetCompanyDetailsResponse, UpdateCompany, type UpdateCompanyInput, type UpdateCompanyResponse, companiesQuerySchema, companyDetailsSchema, companyIriSchema, companySchema, createCompanyInputSchema, createCompanyResponseSchema, deleteCompanyInputSchema, deleteCompanyResponseSchema, getCompaniesInputSchema, getCompaniesQuerySchema, getCompaniesResponseSchema, getCompanyDetailsInputSchema, getCompanyDetailsResponseSchema, updateCompanyInputSchema, updateCompanyResponseSchema, writableCompanySchema };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-company",
3
3
  "description": "Deliverart JavaScript SDK for User Management",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@deliverart/sdk-js-core": "0.2.0",
16
- "@deliverart/sdk-js-global-types": "0.0.17",
17
- "@deliverart/sdk-js-user": "0.3.0",
16
+ "@deliverart/sdk-js-global-types": "0.0.18",
17
+ "@deliverart/sdk-js-user": "0.3.1",
18
18
  "axios": "1.9.0",
19
19
  "zod": "3.25.67"
20
20
  },