@forwardslashns/taskit-validation-messages 1.0.40 → 1.0.42

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.
@@ -56,6 +56,32 @@ export declare const VALIDATION_MESSAGES: {
56
56
  readonly message: "Zip codes with ids {ids} do not exist";
57
57
  readonly params: readonly ["ids"];
58
58
  };
59
+ readonly ADDRESS_TYPES_NOT_FOUND: {
60
+ readonly message: "Address types with ids {ids} do not exist";
61
+ readonly params: readonly ["ids"];
62
+ };
63
+ readonly CONTACT_TYPES_NOT_FOUND: {
64
+ readonly message: "Contact types with ids {ids} do not exist";
65
+ readonly params: readonly ["ids"];
66
+ };
67
+ readonly LEGAL_ADDRESS_MUST_BE_PROVIDED: {
68
+ readonly message: "The client must have a legal address. Please set the address type to 'Legal'.";
69
+ };
70
+ readonly MULTIPLE_LEGAL_ADDRESSES_PROVIDED: {
71
+ readonly message: "The client must have only one legal address. Please ensure only one address is set to 'Legal'.";
72
+ };
73
+ readonly BILLING_ADDRESS_MUST_BE_PROVIDED: {
74
+ readonly message: "The client must have a billing address. Please set the address type to 'Billing'.";
75
+ };
76
+ readonly MULTIPLE_BILLING_ADDRESSES_PROVIDED: {
77
+ readonly message: "The client must have only one billing address. Please ensure only one address is set to 'Billing'.";
78
+ };
79
+ readonly PRIMARY_ADDRESS_MUST_BE_PROVIDED: {
80
+ readonly message: "The client must have a primary address. Please set the address type to 'Primary'.";
81
+ };
82
+ readonly MULTIPLE_PRIMARY_ADDRESSES_PROVIDED: {
83
+ readonly message: "The client must have only one primary address. Please ensure only one address is set to 'Primary'.";
84
+ };
59
85
  };
60
86
  readonly BUSINESS_ACTIVITY: {
61
87
  readonly INVALID_REQUEST: {
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;CAmftB,CAAC"}
@@ -59,6 +59,32 @@ exports.VALIDATION_MESSAGES = {
59
59
  message: `Zip codes with ids {ids} do not exist`,
60
60
  params: ['ids'],
61
61
  },
62
+ ADDRESS_TYPES_NOT_FOUND: {
63
+ message: `Address types with ids {ids} do not exist`,
64
+ params: ['ids'],
65
+ },
66
+ CONTACT_TYPES_NOT_FOUND: {
67
+ message: `Contact types with ids {ids} do not exist`,
68
+ params: ['ids'],
69
+ },
70
+ LEGAL_ADDRESS_MUST_BE_PROVIDED: {
71
+ message: `The client must have a legal address. Please set the address type to 'Legal'.`,
72
+ },
73
+ MULTIPLE_LEGAL_ADDRESSES_PROVIDED: {
74
+ message: `The client must have only one legal address. Please ensure only one address is set to 'Legal'.`,
75
+ },
76
+ BILLING_ADDRESS_MUST_BE_PROVIDED: {
77
+ message: `The client must have a billing address. Please set the address type to 'Billing'.`,
78
+ },
79
+ MULTIPLE_BILLING_ADDRESSES_PROVIDED: {
80
+ message: `The client must have only one billing address. Please ensure only one address is set to 'Billing'.`,
81
+ },
82
+ PRIMARY_ADDRESS_MUST_BE_PROVIDED: {
83
+ message: `The client must have a primary address. Please set the address type to 'Primary'.`,
84
+ },
85
+ MULTIPLE_PRIMARY_ADDRESSES_PROVIDED: {
86
+ message: `The client must have only one primary address. Please ensure only one address is set to 'Primary'.`,
87
+ },
62
88
  },
63
89
  BUSINESS_ACTIVITY: {
64
90
  INVALID_REQUEST: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -56,6 +56,32 @@ export const VALIDATION_MESSAGES = {
56
56
  message: `Zip codes with ids {ids} do not exist`,
57
57
  params: ['ids'],
58
58
  },
59
+ ADDRESS_TYPES_NOT_FOUND: {
60
+ message: `Address types with ids {ids} do not exist`,
61
+ params: ['ids'],
62
+ },
63
+ CONTACT_TYPES_NOT_FOUND: {
64
+ message: `Contact types with ids {ids} do not exist`,
65
+ params: ['ids'],
66
+ },
67
+ LEGAL_ADDRESS_MUST_BE_PROVIDED: {
68
+ message: `The client must have a legal address. Please set the address type to 'Legal'.`,
69
+ },
70
+ MULTIPLE_LEGAL_ADDRESSES_PROVIDED: {
71
+ message: `The client must have only one legal address. Please ensure only one address is set to 'Legal'.`,
72
+ },
73
+ BILLING_ADDRESS_MUST_BE_PROVIDED: {
74
+ message: `The client must have a billing address. Please set the address type to 'Billing'.`,
75
+ },
76
+ MULTIPLE_BILLING_ADDRESSES_PROVIDED: {
77
+ message: `The client must have only one billing address. Please ensure only one address is set to 'Billing'.`,
78
+ },
79
+ PRIMARY_ADDRESS_MUST_BE_PROVIDED: {
80
+ message: `The client must have a primary address. Please set the address type to 'Primary'.`,
81
+ },
82
+ MULTIPLE_PRIMARY_ADDRESSES_PROVIDED: {
83
+ message: `The client must have only one primary address. Please ensure only one address is set to 'Primary'.`,
84
+ },
59
85
  },
60
86
  BUSINESS_ACTIVITY: {
61
87
  INVALID_REQUEST: {